[2026-08-28 00:00:10] local.INFO: TCP Data received {"connection_id":165774,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a04477ad68012d34c14006aa4818000900e62d..."} 
[2026-08-28 00:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04477ad68012d34c14006aa4818000900e62d..."} 
[2026-08-28 00:00:10] local.INFO: Processing buffer {"connection_id":165774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04477ad68012d34c14006aa4818000900e62d..."} 
[2026-08-28 00:00:10] local.INFO: Packet analysis {"connection_id":165774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04477"} 
[2026-08-28 00:00:10] local.INFO: Extracted packet for processing {"connection_id":165774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04477"} 
[2026-08-28 00:00:10] 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-28 00:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 00:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457690825728001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:00:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:00:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:00:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 00:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787855089000,"timestamp_ms":1787855089000,"timestamp_seconds":1787855089,"priority":1,"record_length":96,"hex_timestamp":"000001a04477ad68"} 
[2026-08-28 00:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 00:00:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 00:00:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 00:00:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 00:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 00:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":165774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":165774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":165774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:00:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 00:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457690825728001,"66":25321,"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-28 00:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457690825728001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:00:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 00:00:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457690825728001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":165774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":705923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:00:10] local.INFO: GPS data processed {"connection_id":165774,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:00:10] local.INFO: Acknowledgment sent {"connection_id":165774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:00:32] local.INFO: TCP Data received {"connection_id":163417,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:00:32] local.INFO: Processing buffer {"connection_id":163417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:00:32] local.INFO: IMEI packet received {"connection_id":163417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 00:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":163417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 00:00:37] local.INFO: TCP Data received {"connection_id":163417,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:00:37] local.INFO: Processing buffer {"connection_id":163417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:00:37] local.INFO: IMEI packet received {"connection_id":163417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 00:00:37] local.INFO: IMEI acknowledgment sent {"connection_id":163417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 00:00:38] local.INFO: TCP Data received {"connection_id":163417,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0447c4530012d34c14006aa4818000a00e62e..."} 
[2026-08-28 00:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0447c4530012d34c14006aa4818000a00e62e..."} 
[2026-08-28 00:00:38] local.INFO: Processing buffer {"connection_id":163417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0447c4530012d34c14006aa4818000a00e62e..."} 
[2026-08-28 00:00:38] local.INFO: Packet analysis {"connection_id":163417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0447c"} 
[2026-08-28 00:00:38] local.INFO: Extracted packet for processing {"connection_id":163417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0447c"} 
[2026-08-28 00:00:38] 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-28 00:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 00:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457690902784001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:00:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:00: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-28 00:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787855390000,"timestamp_ms":1787855390000,"timestamp_seconds":1787855390,"priority":1,"record_length":96,"hex_timestamp":"000001a0447c4530"} 
[2026-08-28 00:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 00:00:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 00:00:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 00:00:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 00:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 00:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:00:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 00:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457690902784001,"66":25343,"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-28 00:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457690902784001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:00:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00:00: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-28 00:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457690902784001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:00:39] 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":705924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:00:39] local.INFO: GPS data processed {"connection_id":163417,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:00:39] local.INFO: Acknowledgment sent {"connection_id":163417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:01:12] local.INFO: TCP Data received {"connection_id":163417,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0447c4530012d34c14006aa4818000a00e62e..."} 
[2026-08-28 00:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0447c4530012d34c14006aa4818000a00e62e..."} 
[2026-08-28 00:01:12] local.INFO: Processing buffer {"connection_id":163417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0447c4530012d34c14006aa4818000a00e62e..."} 
[2026-08-28 00:01:12] local.INFO: Packet analysis {"connection_id":163417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0447c"} 
[2026-08-28 00:01:12] local.INFO: Extracted packet for processing {"connection_id":163417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0447c"} 
[2026-08-28 00:01:12] 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-28 00:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 00:01:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457690902784001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:01:12] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:01:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:01:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:01:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 00:01:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787855390000,"timestamp_ms":1787855390000,"timestamp_seconds":1787855390,"priority":1,"record_length":96,"hex_timestamp":"000001a0447c4530"} 
[2026-08-28 00:01:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 00:01:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 00:01: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-28 00:01:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 00:01:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 00:01:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:01:12] local.INFO: Teltonika packet parsed successfully {"connection_id":163417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:01:12] local.INFO: Passing IMEI to GPS processor {"connection_id":163417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:01:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":163417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:01:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 00:01:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:01:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:01:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457690902784001,"66":25343,"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-28 00:01:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:01:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:01:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457690902784001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:01:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00:01: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-28 00:01:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:01:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457690902784001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:01:12] 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":705925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:01:12] local.INFO: GPS data processed {"connection_id":163417,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:01:12] local.INFO: Acknowledgment sent {"connection_id":163417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:01:32] local.INFO: TCP Data received {"connection_id":164433,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:01:32] local.INFO: Processing buffer {"connection_id":164433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:01:32] local.INFO: IMEI packet received {"connection_id":164433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 00:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":164433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 00:01:38] local.INFO: TCP Data received {"connection_id":164433,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:01:38] local.INFO: Processing buffer {"connection_id":164433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:01:38] local.INFO: IMEI packet received {"connection_id":164433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 00:01:38] local.INFO: IMEI acknowledgment sent {"connection_id":164433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 00:01:39] local.INFO: TCP Data received {"connection_id":164433,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0447c4530012d34c14006aa4818000a00e62e..."} 
[2026-08-28 00:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0447c4530012d34c14006aa4818000a00e62e..."} 
[2026-08-28 00:01:39] local.INFO: Processing buffer {"connection_id":164433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0447c4530012d34c14006aa4818000a00e62e..."} 
[2026-08-28 00:01:39] local.INFO: Packet analysis {"connection_id":164433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0447c"} 
[2026-08-28 00:01:39] local.INFO: Extracted packet for processing {"connection_id":164433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0447c"} 
[2026-08-28 00:01:39] 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-28 00:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 00:01:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457690902784001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:01:39] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:01:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:01:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:01:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 00:01:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787855390000,"timestamp_ms":1787855390000,"timestamp_seconds":1787855390,"priority":1,"record_length":96,"hex_timestamp":"000001a0447c4530"} 
[2026-08-28 00:01:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 00:01:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 00:01:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 00:01:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 00:01:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 00:01:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:01:39] local.INFO: Teltonika packet parsed successfully {"connection_id":164433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:01:39] local.INFO: Passing IMEI to GPS processor {"connection_id":164433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:01:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":164433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:01:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 00:01:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:01:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:01:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457690902784001,"66":25343,"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-28 00:01:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:01:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:01:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457690902784001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:01:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00:01:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 00:01:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:01:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457690902784001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:01:39] local.INFO: DEBUG: GPS processor result {"connection_id":164433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":705926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:01:39] local.INFO: GPS data processed {"connection_id":164433,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:01:39] local.INFO: Acknowledgment sent {"connection_id":164433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:02:11] local.INFO: TCP Data received {"connection_id":164433,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0447c4530012d34c14006aa4818000a00e62e..."} 
[2026-08-28 00:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0447c4530012d34c14006aa4818000a00e62e..."} 
[2026-08-28 00:02:11] local.INFO: Processing buffer {"connection_id":164433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0447c4530012d34c14006aa4818000a00e62e..."} 
[2026-08-28 00:02:11] local.INFO: Packet analysis {"connection_id":164433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0447c"} 
[2026-08-28 00:02:11] local.INFO: Extracted packet for processing {"connection_id":164433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0447c"} 
[2026-08-28 00:02:11] 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-28 00:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 00:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457690902784001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:02:11] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:02:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:02: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-28 00:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787855390000,"timestamp_ms":1787855390000,"timestamp_seconds":1787855390,"priority":1,"record_length":96,"hex_timestamp":"000001a0447c4530"} 
[2026-08-28 00:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 00:02:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 00:02: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-28 00:02:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 00:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 00:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":164433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":164433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":164433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:02:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 00:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457690902784001,"66":25343,"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-28 00:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457690902784001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:02:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00:02: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-28 00:02:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457690902784001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":164433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":705927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:02:11] local.INFO: GPS data processed {"connection_id":164433,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:02:11] local.INFO: Acknowledgment sent {"connection_id":164433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:02:32] local.INFO: TCP Data received {"connection_id":163170,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:02:32] local.INFO: Processing buffer {"connection_id":163170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:02:32] local.INFO: IMEI packet received {"connection_id":163170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 00:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":163170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 00:02:37] local.INFO: TCP Data received {"connection_id":163170,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:02:37] local.INFO: Processing buffer {"connection_id":163170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:02:37] local.INFO: IMEI packet received {"connection_id":163170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 00:02:37] local.INFO: IMEI acknowledgment sent {"connection_id":163170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 00:02:38] local.INFO: TCP Data received {"connection_id":163170,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0447c4530012d34c14006aa4818000a00e62e..."} 
[2026-08-28 00:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0447c4530012d34c14006aa4818000a00e62e..."} 
[2026-08-28 00:02:38] local.INFO: Processing buffer {"connection_id":163170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0447c4530012d34c14006aa4818000a00e62e..."} 
[2026-08-28 00:02:38] local.INFO: Packet analysis {"connection_id":163170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0447c"} 
[2026-08-28 00:02:38] local.INFO: Extracted packet for processing {"connection_id":163170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0447c"} 
[2026-08-28 00:02:38] 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-28 00:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 00:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457690902784001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:02:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:02: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-28 00:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787855390000,"timestamp_ms":1787855390000,"timestamp_seconds":1787855390,"priority":1,"record_length":96,"hex_timestamp":"000001a0447c4530"} 
[2026-08-28 00:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 00:02:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 00:02:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 00:02:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 00:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 00:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:02:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 00:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457690902784001,"66":25343,"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-28 00:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457690902784001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:02:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00:02: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-28 00:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457690902784001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":163170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":705928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:02:38] local.INFO: GPS data processed {"connection_id":163170,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:02:38] local.INFO: Acknowledgment sent {"connection_id":163170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:03:10] local.INFO: TCP Data received {"connection_id":163170,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0447c4530012d34c14006aa4818000a00e62e..."} 
[2026-08-28 00:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0447c4530012d34c14006aa4818000a00e62e..."} 
[2026-08-28 00:03:10] local.INFO: Processing buffer {"connection_id":163170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0447c4530012d34c14006aa4818000a00e62e..."} 
[2026-08-28 00:03:10] local.INFO: Packet analysis {"connection_id":163170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0447c"} 
[2026-08-28 00:03:10] local.INFO: Extracted packet for processing {"connection_id":163170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0447c"} 
[2026-08-28 00:03:10] 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-28 00:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 00:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457690902784001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:03:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:03:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:03:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 00:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787855390000,"timestamp_ms":1787855390000,"timestamp_seconds":1787855390,"priority":1,"record_length":96,"hex_timestamp":"000001a0447c4530"} 
[2026-08-28 00:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 00:03:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 00:03:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 00:03:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 00:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 00:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:03:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 00:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457690902784001,"66":25343,"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-28 00:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457690902784001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:03:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 00:03:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457690902784001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":163170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":705929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:03:10] local.INFO: GPS data processed {"connection_id":163170,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:03:10] local.INFO: Acknowledgment sent {"connection_id":163170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:03:37] local.INFO: TCP Data received {"connection_id":164435,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:03:37] local.INFO: Processing buffer {"connection_id":164435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:03:37] local.INFO: IMEI packet received {"connection_id":164435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 00:03:37] local.INFO: IMEI acknowledgment sent {"connection_id":164435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 00:03:42] local.INFO: TCP Data received {"connection_id":164435,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:03:42] local.INFO: Processing buffer {"connection_id":164435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:03:42] local.INFO: IMEI packet received {"connection_id":164435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 00:03:42] local.INFO: IMEI acknowledgment sent {"connection_id":164435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 00:03:43] local.INFO: TCP Data received {"connection_id":164435,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0447c4530012d34c14006aa4818000a00e62e..."} 
[2026-08-28 00:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0447c4530012d34c14006aa4818000a00e62e..."} 
[2026-08-28 00:03:43] local.INFO: Processing buffer {"connection_id":164435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0447c4530012d34c14006aa4818000a00e62e..."} 
[2026-08-28 00:03:43] local.INFO: Packet analysis {"connection_id":164435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0447c"} 
[2026-08-28 00:03:43] local.INFO: Extracted packet for processing {"connection_id":164435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0447c"} 
[2026-08-28 00: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":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-28 00: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-28 00:03:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457690902784001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:03:43] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:03:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:03:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:03: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-28 00:03:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787855390000,"timestamp_ms":1787855390000,"timestamp_seconds":1787855390,"priority":1,"record_length":96,"hex_timestamp":"000001a0447c4530"} 
[2026-08-28 00: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-28 00:03:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00: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-28 00: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-28 00: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-28 00: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-28 00:03:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:03:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:03:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:03:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:03: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-28 00:03:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:03:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:03:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457690902784001,"66":25343,"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-28 00:03:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:03:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:03:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457690902784001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:03:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00: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-28 00:03:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:03:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457690902784001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:03:43] local.INFO: DEBUG: GPS processor result {"connection_id":164435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":705930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:03:43] local.INFO: GPS data processed {"connection_id":164435,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:03:43] local.INFO: Acknowledgment sent {"connection_id":164435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:03:48] local.INFO: TCP Data received {"connection_id":164435,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0447c4530012d34c14006aa4818000a00e62e..."} 
[2026-08-28 00:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0447c4530012d34c14006aa4818000a00e62e..."} 
[2026-08-28 00:03:48] local.INFO: Processing buffer {"connection_id":164435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0447c4530012d34c14006aa4818000a00e62e..."} 
[2026-08-28 00:03:48] local.INFO: Packet analysis {"connection_id":164435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0447c"} 
[2026-08-28 00:03:48] local.INFO: Extracted packet for processing {"connection_id":164435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0447c"} 
[2026-08-28 00: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":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-28 00: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-28 00:03:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457690902784001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:03:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:03:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:03:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:03: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-28 00:03:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787855390000,"timestamp_ms":1787855390000,"timestamp_seconds":1787855390,"priority":1,"record_length":96,"hex_timestamp":"000001a0447c4530"} 
[2026-08-28 00: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-28 00:03:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00: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-28 00: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-28 00: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-28 00: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-28 00:03:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:03:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:03:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:03:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:03:48] 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-28 00:03:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:03:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:03:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457690902784001,"66":25343,"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-28 00:03:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:03:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:03:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457690902784001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:03:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00: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-28 00:03:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:03:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457690902784001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:03:48] local.INFO: DEBUG: GPS processor result {"connection_id":164435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":705931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:03:48] local.INFO: GPS data processed {"connection_id":164435,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:03:48] local.INFO: Acknowledgment sent {"connection_id":164435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:04:32] local.INFO: TCP Data received {"connection_id":164436,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:04:32] local.INFO: Processing buffer {"connection_id":164436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:04:32] local.INFO: IMEI packet received {"connection_id":164436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 00:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":164436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 00:04:34] local.INFO: TCP Data received {"connection_id":164434,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 00:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164434,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 00:04:34] local.INFO: Processing buffer {"connection_id":164434,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 00:04:34] local.INFO: IMEI packet received {"connection_id":164434,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 00:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":164434,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 00:04:37] local.INFO: TCP Data received {"connection_id":164436,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:04:37] local.INFO: Processing buffer {"connection_id":164436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:04:37] local.INFO: IMEI packet received {"connection_id":164436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 00:04:37] local.INFO: IMEI acknowledgment sent {"connection_id":164436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 00:04:38] local.INFO: TCP Data received {"connection_id":164436,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0447c4530012d34c14006aa4818000a00e62e..."} 
[2026-08-28 00:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0447c4530012d34c14006aa4818000a00e62e..."} 
[2026-08-28 00:04:38] local.INFO: Processing buffer {"connection_id":164436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0447c4530012d34c14006aa4818000a00e62e..."} 
[2026-08-28 00:04:38] local.INFO: Packet analysis {"connection_id":164436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0447c"} 
[2026-08-28 00:04:38] local.INFO: Extracted packet for processing {"connection_id":164436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0447c"} 
[2026-08-28 00:04:38] 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-28 00:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 00:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457690902784001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:04:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:04: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-28 00:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787855390000,"timestamp_ms":1787855390000,"timestamp_seconds":1787855390,"priority":1,"record_length":96,"hex_timestamp":"000001a0447c4530"} 
[2026-08-28 00:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 00:04:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 00:04:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 00:04:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 00:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 00:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:04:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 00:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457690902784001,"66":25343,"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-28 00:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457690902784001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:04:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00:04: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-28 00:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457690902784001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":164436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":705932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:04:39] local.INFO: GPS data processed {"connection_id":164436,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:04:39] local.INFO: Acknowledgment sent {"connection_id":164436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:04:43] local.INFO: TCP Data received {"connection_id":164436,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0447c4530012d34c14006aa4818000a00e62e..."} 
[2026-08-28 00:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0447c4530012d34c14006aa4818000a00e62e..."} 
[2026-08-28 00:04:43] local.INFO: Processing buffer {"connection_id":164436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0447c4530012d34c14006aa4818000a00e62e..."} 
[2026-08-28 00:04:43] local.INFO: Packet analysis {"connection_id":164436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0447c"} 
[2026-08-28 00:04:43] local.INFO: Extracted packet for processing {"connection_id":164436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0447c"} 
[2026-08-28 00:04: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-28 00: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-28 00:04:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457690902784001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:04:43] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:04:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:04:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:04: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-28 00:04:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787855390000,"timestamp_ms":1787855390000,"timestamp_seconds":1787855390,"priority":1,"record_length":96,"hex_timestamp":"000001a0447c4530"} 
[2026-08-28 00: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-28 00:04:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00: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-28 00: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-28 00: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-28 00: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-28 00:04:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:04:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:04:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:04:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:04: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-28 00:04:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:04:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:04:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457690902784001,"66":25343,"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-28 00:04:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:04:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:04:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457690902784001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:04:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00: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-28 00:04:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:04:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457690902784001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:04:43] local.INFO: DEBUG: GPS processor result {"connection_id":164436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":705933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:04:43] local.INFO: GPS data processed {"connection_id":164436,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:04:43] local.INFO: Acknowledgment sent {"connection_id":164436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:05:14] local.INFO: TCP Data received {"connection_id":164436,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0447c4530012d34c14006aa4818000a00e62e..."} 
[2026-08-28 00:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0447c4530012d34c14006aa4818000a00e62e..."} 
[2026-08-28 00:05:14] local.INFO: Processing buffer {"connection_id":164436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0447c4530012d34c14006aa4818000a00e62e..."} 
[2026-08-28 00:05:14] local.INFO: Packet analysis {"connection_id":164436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0447c"} 
[2026-08-28 00:05:14] local.INFO: Extracted packet for processing {"connection_id":164436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0447c"} 
[2026-08-28 00:05: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-28 00: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-28 00:05:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457690902784001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:05:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:05:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:05:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:05: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-28 00:05:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787855390000,"timestamp_ms":1787855390000,"timestamp_seconds":1787855390,"priority":1,"record_length":96,"hex_timestamp":"000001a0447c4530"} 
[2026-08-28 00: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-28 00:05:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00: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-28 00: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-28 00: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-28 00: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-28 00:05:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:05:14] local.INFO: Teltonika packet parsed successfully {"connection_id":164436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:05:14] local.INFO: Passing IMEI to GPS processor {"connection_id":164436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:05:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":164436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:05: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-28 00:05:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:05:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:05:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457690902784001,"66":25343,"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-28 00:05:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:05:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:05:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457690902784001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:05:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00: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-28 00:05:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:05:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457690902784001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:05:14] local.INFO: DEBUG: GPS processor result {"connection_id":164436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":705934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:05:14] local.INFO: GPS data processed {"connection_id":164436,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:05:14] local.INFO: Acknowledgment sent {"connection_id":164436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:05:29] local.INFO: TCP Data received {"connection_id":165775,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:05:29] local.INFO: Processing buffer {"connection_id":165775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:05:29] local.INFO: IMEI packet received {"connection_id":165775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 00:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":165775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 00:05:36] local.INFO: TCP Data received {"connection_id":165775,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:05:36] local.INFO: Processing buffer {"connection_id":165775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:05:36] local.INFO: IMEI packet received {"connection_id":165775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 00:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":165775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 00:05:37] local.INFO: TCP Data received {"connection_id":165775,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:05:37] local.INFO: Processing buffer {"connection_id":165775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:05:37] local.INFO: IMEI packet received {"connection_id":165775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 00:05:37] local.INFO: IMEI acknowledgment sent {"connection_id":165775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 00:05:38] local.INFO: TCP Data received {"connection_id":165775,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a04480dcf8012d34c14006aa4818000400e62d..."} 
[2026-08-28 00:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04480dcf8012d34c14006aa4818000400e62d..."} 
[2026-08-28 00:05:38] local.INFO: Processing buffer {"connection_id":165775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04480dcf8012d34c14006aa4818000400e62d..."} 
[2026-08-28 00:05:38] local.INFO: Packet analysis {"connection_id":165775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04480"} 
[2026-08-28 00:05:38] local.INFO: Extracted packet for processing {"connection_id":165775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04480"} 
[2026-08-28 00:05: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-28 00:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 00:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457690979840001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:05:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:05: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-28 00:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787855691000,"timestamp_ms":1787855691000,"timestamp_seconds":1787855691,"priority":1,"record_length":96,"hex_timestamp":"000001a04480dcf8"} 
[2026-08-28 00:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 00:05:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 00:05:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 00:05:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 00:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 00:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":165775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":165775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":165775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:05:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 00:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457690979840001,"66":25321,"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-28 00:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457690979840001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:05:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00:05: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-28 00:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457690979840001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":165775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":705935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:05:38] local.INFO: GPS data processed {"connection_id":165775,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:05:38] local.INFO: Acknowledgment sent {"connection_id":165775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:05:43] local.INFO: TCP Data received {"connection_id":165775,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a04480dcf8012d34c14006aa4818000400e62d..."} 
[2026-08-28 00:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04480dcf8012d34c14006aa4818000400e62d..."} 
[2026-08-28 00:05:43] local.INFO: Processing buffer {"connection_id":165775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04480dcf8012d34c14006aa4818000400e62d..."} 
[2026-08-28 00:05:43] local.INFO: Packet analysis {"connection_id":165775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04480"} 
[2026-08-28 00:05:43] local.INFO: Extracted packet for processing {"connection_id":165775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04480"} 
[2026-08-28 00:05: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-28 00: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-28 00:05:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457690979840001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:05:43] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:05:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:05:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:05: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-28 00:05:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787855691000,"timestamp_ms":1787855691000,"timestamp_seconds":1787855691,"priority":1,"record_length":96,"hex_timestamp":"000001a04480dcf8"} 
[2026-08-28 00: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-28 00:05:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00: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":255,"data_length":795,"current_offset":136} 
[2026-08-28 00:05: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-28 00: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-28 00: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-28 00:05:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:05:43] local.INFO: Teltonika packet parsed successfully {"connection_id":165775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:05:43] local.INFO: Passing IMEI to GPS processor {"connection_id":165775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:05:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":165775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:05: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-28 00:05:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:05:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:05:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457690979840001,"66":25321,"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-28 00:05:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:05:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:05:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457690979840001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:05:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00: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-28 00:05:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:05:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457690979840001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:05:43] local.INFO: DEBUG: GPS processor result {"connection_id":165775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":705936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:05:43] local.INFO: GPS data processed {"connection_id":165775,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:05:43] local.INFO: Acknowledgment sent {"connection_id":165775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:06:14] local.INFO: TCP Data received {"connection_id":165775,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a04480dcf8012d34c14006aa4818000400e62d..."} 
[2026-08-28 00:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04480dcf8012d34c14006aa4818000400e62d..."} 
[2026-08-28 00:06:14] local.INFO: Processing buffer {"connection_id":165775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04480dcf8012d34c14006aa4818000400e62d..."} 
[2026-08-28 00:06:14] local.INFO: Packet analysis {"connection_id":165775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04480"} 
[2026-08-28 00:06:14] local.INFO: Extracted packet for processing {"connection_id":165775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04480"} 
[2026-08-28 00:06: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-28 00: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-28 00:06:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457690979840001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:06:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:06:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:06:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:06: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-28 00:06:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787855691000,"timestamp_ms":1787855691000,"timestamp_seconds":1787855691,"priority":1,"record_length":96,"hex_timestamp":"000001a04480dcf8"} 
[2026-08-28 00: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-28 00:06:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 00:06: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-28 00: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-28 00: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-28 00:06:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:06:14] local.INFO: Teltonika packet parsed successfully {"connection_id":165775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:06:14] local.INFO: Passing IMEI to GPS processor {"connection_id":165775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:06:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":165775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:06: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-28 00:06:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:06:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:06:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457690979840001,"66":25321,"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-28 00:06:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:06:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:06:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457690979840001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:06:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00: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-28 00:06:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:06:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457690979840001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:06:14] local.INFO: DEBUG: GPS processor result {"connection_id":165775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":705937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:06:14] local.INFO: GPS data processed {"connection_id":165775,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:06:14] local.INFO: Acknowledgment sent {"connection_id":165775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:06:32] local.INFO: TCP Data received {"connection_id":163418,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:06:32] local.INFO: Processing buffer {"connection_id":163418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:06:32] local.INFO: IMEI packet received {"connection_id":163418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 00:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":163418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 00:06:37] local.INFO: TCP Data received {"connection_id":163418,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:06:37] local.INFO: Processing buffer {"connection_id":163418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:06:37] local.INFO: IMEI packet received {"connection_id":163418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 00:06:37] local.INFO: IMEI acknowledgment sent {"connection_id":163418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 00:06:38] local.INFO: TCP Data received {"connection_id":163418,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a04480dcf8012d34c14006aa4818000400e62d..."} 
[2026-08-28 00:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04480dcf8012d34c14006aa4818000400e62d..."} 
[2026-08-28 00:06:38] local.INFO: Processing buffer {"connection_id":163418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04480dcf8012d34c14006aa4818000400e62d..."} 
[2026-08-28 00:06:38] local.INFO: Packet analysis {"connection_id":163418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04480"} 
[2026-08-28 00:06:38] local.INFO: Extracted packet for processing {"connection_id":163418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04480"} 
[2026-08-28 00:06: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-28 00:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 00:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457690979840001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:06:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:06: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-28 00:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787855691000,"timestamp_ms":1787855691000,"timestamp_seconds":1787855691,"priority":1,"record_length":96,"hex_timestamp":"000001a04480dcf8"} 
[2026-08-28 00:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 00:06:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 00:06:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 00:06:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 00:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 00:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:06:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 00:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457690979840001,"66":25321,"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-28 00:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457690979840001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:06:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00:06: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-28 00:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457690979840001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":163418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":705938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:06:38] local.INFO: GPS data processed {"connection_id":163418,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:06:38] local.INFO: Acknowledgment sent {"connection_id":163418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:07:10] local.INFO: TCP Data received {"connection_id":163418,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a04480dcf8012d34c14006aa4818000400e62d..."} 
[2026-08-28 00:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04480dcf8012d34c14006aa4818000400e62d..."} 
[2026-08-28 00:07:10] local.INFO: Processing buffer {"connection_id":163418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04480dcf8012d34c14006aa4818000400e62d..."} 
[2026-08-28 00:07:10] local.INFO: Packet analysis {"connection_id":163418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04480"} 
[2026-08-28 00:07:10] local.INFO: Extracted packet for processing {"connection_id":163418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04480"} 
[2026-08-28 00:07:10] 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-28 00:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 00:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457690979840001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:07:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:07:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:07:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 00:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787855691000,"timestamp_ms":1787855691000,"timestamp_seconds":1787855691,"priority":1,"record_length":96,"hex_timestamp":"000001a04480dcf8"} 
[2026-08-28 00:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 00:07:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 00:07:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 00:07:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 00:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 00:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:07:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 00:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457690979840001,"66":25321,"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-28 00:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457690979840001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:07:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 00:07:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457690979840001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":163418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":705939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:07:10] local.INFO: GPS data processed {"connection_id":163418,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:07:10] local.INFO: Acknowledgment sent {"connection_id":163418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:07:32] local.INFO: TCP Data received {"connection_id":165776,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:07:32] local.INFO: Processing buffer {"connection_id":165776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:07:32] local.INFO: IMEI packet received {"connection_id":165776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 00:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":165776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 00:07:41] local.INFO: TCP Data received {"connection_id":165776,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:07:41] local.INFO: Processing buffer {"connection_id":165776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:07:41] local.INFO: IMEI packet received {"connection_id":165776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 00:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":165776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 00:07:42] local.INFO: TCP Data received {"connection_id":165776,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a04480dcf8012d34c14006aa4818000400e62d..."} 
[2026-08-28 00:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04480dcf8012d34c14006aa4818000400e62d..."} 
[2026-08-28 00:07:42] local.INFO: Processing buffer {"connection_id":165776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04480dcf8012d34c14006aa4818000400e62d..."} 
[2026-08-28 00:07:42] local.INFO: Packet analysis {"connection_id":165776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04480"} 
[2026-08-28 00:07:42] local.INFO: Extracted packet for processing {"connection_id":165776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04480"} 
[2026-08-28 00:07: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":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-28 00: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-28 00:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457690979840001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:07:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:07:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:07:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 00:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787855691000,"timestamp_ms":1787855691000,"timestamp_seconds":1787855691,"priority":1,"record_length":96,"hex_timestamp":"000001a04480dcf8"} 
[2026-08-28 00: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-28 00:07:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00: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-28 00: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-28 00: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-28 00: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-28 00:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:07: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-28 00:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457690979840001,"66":25321,"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-28 00:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457690979840001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:07:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00: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-28 00:07:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457690979840001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":165776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":705940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:07:42] local.INFO: GPS data processed {"connection_id":165776,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:07:42] local.INFO: Acknowledgment sent {"connection_id":165776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:08:14] local.INFO: TCP Data received {"connection_id":165776,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a04480dcf8012d34c14006aa4818000400e62d..."} 
[2026-08-28 00:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04480dcf8012d34c14006aa4818000400e62d..."} 
[2026-08-28 00:08:14] local.INFO: Processing buffer {"connection_id":165776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04480dcf8012d34c14006aa4818000400e62d..."} 
[2026-08-28 00:08:14] local.INFO: Packet analysis {"connection_id":165776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04480"} 
[2026-08-28 00:08:14] local.INFO: Extracted packet for processing {"connection_id":165776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04480"} 
[2026-08-28 00: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":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-28 00: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-28 00:08:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457690979840001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:08:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:08:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:08:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:08: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-28 00:08:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787855691000,"timestamp_ms":1787855691000,"timestamp_seconds":1787855691,"priority":1,"record_length":96,"hex_timestamp":"000001a04480dcf8"} 
[2026-08-28 00: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-28 00:08:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00: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":255,"data_length":795,"current_offset":136} 
[2026-08-28 00:08: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-28 00: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-28 00: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-28 00:08:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:08:14] local.INFO: Teltonika packet parsed successfully {"connection_id":165776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:08:14] local.INFO: Passing IMEI to GPS processor {"connection_id":165776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:08:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":165776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:08: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-28 00:08:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:08:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:08:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457690979840001,"66":25321,"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-28 00:08:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:08:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:08:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457690979840001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:08:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00: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-28 00:08:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:08:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457690979840001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:08:14] local.INFO: DEBUG: GPS processor result {"connection_id":165776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":705941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:08:14] local.INFO: GPS data processed {"connection_id":165776,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:08:14] local.INFO: Acknowledgment sent {"connection_id":165776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:08:32] local.INFO: TCP Data received {"connection_id":163171,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:08:32] local.INFO: Processing buffer {"connection_id":163171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:08:32] local.INFO: IMEI packet received {"connection_id":163171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 00:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":163171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 00:08:37] local.INFO: TCP Data received {"connection_id":163171,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:08:37] local.INFO: Processing buffer {"connection_id":163171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:08:37] local.INFO: IMEI packet received {"connection_id":163171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 00:08:37] local.INFO: IMEI acknowledgment sent {"connection_id":163171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 00:08:38] local.INFO: TCP Data received {"connection_id":163171,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a04480dcf8012d34c14006aa4818000400e62d..."} 
[2026-08-28 00:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04480dcf8012d34c14006aa4818000400e62d..."} 
[2026-08-28 00:08:38] local.INFO: Processing buffer {"connection_id":163171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04480dcf8012d34c14006aa4818000400e62d..."} 
[2026-08-28 00:08:38] local.INFO: Packet analysis {"connection_id":163171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04480"} 
[2026-08-28 00:08:38] local.INFO: Extracted packet for processing {"connection_id":163171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04480"} 
[2026-08-28 00:08: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-28 00:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 00:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457690979840001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:08:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:08: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-28 00:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787855691000,"timestamp_ms":1787855691000,"timestamp_seconds":1787855691,"priority":1,"record_length":96,"hex_timestamp":"000001a04480dcf8"} 
[2026-08-28 00:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 00:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 00:08:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 00:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 00:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 00:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 00:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457690979840001,"66":25321,"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-28 00:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457690979840001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:08:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00:08: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-28 00:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457690979840001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":163171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":705942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:08:38] local.INFO: GPS data processed {"connection_id":163171,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:08:38] local.INFO: Acknowledgment sent {"connection_id":163171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:09:11] local.INFO: TCP Data received {"connection_id":163171,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a04480dcf8012d34c14006aa4818000400e62d..."} 
[2026-08-28 00:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04480dcf8012d34c14006aa4818000400e62d..."} 
[2026-08-28 00:09:11] local.INFO: Processing buffer {"connection_id":163171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04480dcf8012d34c14006aa4818000400e62d..."} 
[2026-08-28 00:09:11] local.INFO: Packet analysis {"connection_id":163171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04480"} 
[2026-08-28 00:09:11] local.INFO: Extracted packet for processing {"connection_id":163171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04480"} 
[2026-08-28 00:09:11] 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-28 00:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 00:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457690979840001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:09:11] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:09:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:09: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-28 00:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787855691000,"timestamp_ms":1787855691000,"timestamp_seconds":1787855691,"priority":1,"record_length":96,"hex_timestamp":"000001a04480dcf8"} 
[2026-08-28 00:09:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 00:09:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 00:09: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-28 00:09:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 00:09:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 00:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":163171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":163171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":163171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:09: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-28 00:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457690979840001,"66":25321,"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-28 00:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457690979840001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:09:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00:09: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-28 00:09:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457690979840001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":163171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":705943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:09:11] local.INFO: GPS data processed {"connection_id":163171,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:09:11] local.INFO: Acknowledgment sent {"connection_id":163171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:09:37] local.INFO: TCP Data received {"connection_id":163420,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:09:37] local.INFO: Processing buffer {"connection_id":163420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:09:37] local.INFO: IMEI packet received {"connection_id":163420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 00:09:37] local.INFO: IMEI acknowledgment sent {"connection_id":163420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 00:09:42] local.INFO: TCP Data received {"connection_id":163420,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:09:42] local.INFO: Processing buffer {"connection_id":163420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:09:42] local.INFO: IMEI packet received {"connection_id":163420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 00:09:42] local.INFO: IMEI acknowledgment sent {"connection_id":163420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 00:09:44] local.INFO: TCP Data received {"connection_id":163420,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a04480dcf8012d34c14006aa4818000400e62d..."} 
[2026-08-28 00:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04480dcf8012d34c14006aa4818000400e62d..."} 
[2026-08-28 00:09:44] local.INFO: Processing buffer {"connection_id":163420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04480dcf8012d34c14006aa4818000400e62d..."} 
[2026-08-28 00:09:44] local.INFO: Packet analysis {"connection_id":163420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04480"} 
[2026-08-28 00:09:44] local.INFO: Extracted packet for processing {"connection_id":163420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04480"} 
[2026-08-28 00: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":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-28 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-28 00:09:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457690979840001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:09:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:09:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:09:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 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-28 00:09:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787855691000,"timestamp_ms":1787855691000,"timestamp_seconds":1787855691,"priority":1,"record_length":96,"hex_timestamp":"000001a04480dcf8"} 
[2026-08-28 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-28 00:09:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 00: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-28 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-28 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-28 00:09:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:09:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:09:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:09:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:09: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-28 00:09:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:09:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:09:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457690979840001,"66":25321,"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-28 00:09:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:09:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:09:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457690979840001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:09:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 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-28 00:09:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:09:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457690979840001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:09: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":705944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:09:44] local.INFO: GPS data processed {"connection_id":163420,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:09:44] local.INFO: Acknowledgment sent {"connection_id":163420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:09:48] local.INFO: TCP Data received {"connection_id":163420,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a04480dcf8012d34c14006aa4818000400e62d..."} 
[2026-08-28 00:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04480dcf8012d34c14006aa4818000400e62d..."} 
[2026-08-28 00:09:48] local.INFO: Processing buffer {"connection_id":163420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04480dcf8012d34c14006aa4818000400e62d..."} 
[2026-08-28 00:09:48] local.INFO: Packet analysis {"connection_id":163420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04480"} 
[2026-08-28 00:09:48] local.INFO: Extracted packet for processing {"connection_id":163420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04480"} 
[2026-08-28 00:09: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-28 00: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-28 00:09:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457690979840001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:09:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:09:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:09:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:09: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-28 00:09:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787855691000,"timestamp_ms":1787855691000,"timestamp_seconds":1787855691,"priority":1,"record_length":96,"hex_timestamp":"000001a04480dcf8"} 
[2026-08-28 00: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-28 00:09:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 00:09: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-28 00: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-28 00: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-28 00:09:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:09:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:09:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:09:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00: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-28 00:09:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:09:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:09:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457690979840001,"66":25321,"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-28 00:09:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:09:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:09:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457690979840001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:09:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00: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-28 00:09:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:09:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457690979840001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:09:48] 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":705945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:09:48] local.INFO: GPS data processed {"connection_id":163420,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:09:48] local.INFO: Acknowledgment sent {"connection_id":163420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:10:16] local.INFO: TCP Data received {"connection_id":163419,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 00:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163419,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 00:10:16] local.INFO: Processing buffer {"connection_id":163419,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 00:10:16] local.INFO: IMEI packet received {"connection_id":163419,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 00:10:16] local.INFO: IMEI acknowledgment sent {"connection_id":163419,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 00:10:30] local.INFO: TCP Data received {"connection_id":165777,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:10:30] local.INFO: Processing buffer {"connection_id":165777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:10:30] local.INFO: IMEI packet received {"connection_id":165777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 00:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":165777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 00:10:32] local.INFO: TCP Data received {"connection_id":165777,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:10:32] local.INFO: Processing buffer {"connection_id":165777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:10:32] local.INFO: IMEI packet received {"connection_id":165777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 00:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":165777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 00:10:37] local.INFO: TCP Data received {"connection_id":165777,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:10:37] local.INFO: Processing buffer {"connection_id":165777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:10:37] local.INFO: IMEI packet received {"connection_id":165777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 00:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":165777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 00:10:38] local.INFO: TCP Data received {"connection_id":165777,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0448574c0012d34c14006aa4818000b00e62d..."} 
[2026-08-28 00:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0448574c0012d34c14006aa4818000b00e62d..."} 
[2026-08-28 00:10:38] local.INFO: Processing buffer {"connection_id":165777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0448574c0012d34c14006aa4818000b00e62d..."} 
[2026-08-28 00:10:38] local.INFO: Packet analysis {"connection_id":165777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04485"} 
[2026-08-28 00:10:38] local.INFO: Extracted packet for processing {"connection_id":165777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04485"} 
[2026-08-28 00:10:38] 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-28 00:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 00:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691056896001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:10:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:10: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-28 00:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787855992000,"timestamp_ms":1787855992000,"timestamp_seconds":1787855992,"priority":1,"record_length":96,"hex_timestamp":"000001a0448574c0"} 
[2026-08-28 00:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 00:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 00:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 00:10:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 00:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 00:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":165777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":165777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":165777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 00:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691056896001,"66":25321,"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-28 00:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691056896001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:10:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00:10: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-28 00:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691056896001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":165777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":705946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:10:38] local.INFO: GPS data processed {"connection_id":165777,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:10:38] local.INFO: Acknowledgment sent {"connection_id":165777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:11:09] local.INFO: TCP Data received {"connection_id":165777,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0448574c0012d34c14006aa4818000b00e62d..."} 
[2026-08-28 00:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0448574c0012d34c14006aa4818000b00e62d..."} 
[2026-08-28 00:11:09] local.INFO: Processing buffer {"connection_id":165777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0448574c0012d34c14006aa4818000b00e62d..."} 
[2026-08-28 00:11:09] local.INFO: Packet analysis {"connection_id":165777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04485"} 
[2026-08-28 00:11:09] local.INFO: Extracted packet for processing {"connection_id":165777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04485"} 
[2026-08-28 00:11:09] 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-28 00:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 00:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691056896001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:11:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:11:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:11: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-28 00:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787855992000,"timestamp_ms":1787855992000,"timestamp_seconds":1787855992,"priority":1,"record_length":96,"hex_timestamp":"000001a0448574c0"} 
[2026-08-28 00:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 00:11:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 00:11:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 00:11:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 00:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 00:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":165777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":165777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":165777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:11:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 00:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691056896001,"66":25321,"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-28 00:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691056896001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:11:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00:11: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-28 00:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691056896001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":165777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":705947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:11:09] local.INFO: GPS data processed {"connection_id":165777,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:11:09] local.INFO: Acknowledgment sent {"connection_id":165777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:11:32] local.INFO: TCP Data received {"connection_id":163421,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:11:32] local.INFO: Processing buffer {"connection_id":163421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:11:32] local.INFO: IMEI packet received {"connection_id":163421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 00:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":163421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 00:11:41] local.INFO: TCP Data received {"connection_id":163421,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:11:41] local.INFO: Processing buffer {"connection_id":163421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:11:41] local.INFO: IMEI packet received {"connection_id":163421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 00:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":163421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 00:11:42] local.INFO: TCP Data received {"connection_id":163421,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0448574c0012d34c14006aa4818000b00e62d..."} 
[2026-08-28 00:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0448574c0012d34c14006aa4818000b00e62d..."} 
[2026-08-28 00:11:42] local.INFO: Processing buffer {"connection_id":163421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0448574c0012d34c14006aa4818000b00e62d..."} 
[2026-08-28 00:11:42] local.INFO: Packet analysis {"connection_id":163421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04485"} 
[2026-08-28 00:11:42] local.INFO: Extracted packet for processing {"connection_id":163421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04485"} 
[2026-08-28 00:11: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-28 00: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-28 00:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691056896001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:11:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:11:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:11:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 00:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787855992000,"timestamp_ms":1787855992000,"timestamp_seconds":1787855992,"priority":1,"record_length":96,"hex_timestamp":"000001a0448574c0"} 
[2026-08-28 00: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-28 00:11:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 00:11: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-28 00: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-28 00: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-28 00:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00: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-28 00:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691056896001,"66":25321,"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-28 00:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691056896001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:11:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00: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-28 00:11:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691056896001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:11:42] 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":705948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:11:42] local.INFO: GPS data processed {"connection_id":163421,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:11:42] local.INFO: Acknowledgment sent {"connection_id":163421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:12:13] local.INFO: TCP Data received {"connection_id":163421,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0448574c0012d34c14006aa4818000b00e62d..."} 
[2026-08-28 00:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0448574c0012d34c14006aa4818000b00e62d..."} 
[2026-08-28 00:12:13] local.INFO: Processing buffer {"connection_id":163421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0448574c0012d34c14006aa4818000b00e62d..."} 
[2026-08-28 00:12:13] local.INFO: Packet analysis {"connection_id":163421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04485"} 
[2026-08-28 00:12:13] local.INFO: Extracted packet for processing {"connection_id":163421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04485"} 
[2026-08-28 00:12: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-28 00: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-28 00:12:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691056896001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:12:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:12:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:12:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:12: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-28 00:12:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787855992000,"timestamp_ms":1787855992000,"timestamp_seconds":1787855992,"priority":1,"record_length":96,"hex_timestamp":"000001a0448574c0"} 
[2026-08-28 00: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-28 00:12:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 00:12: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-28 00: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-28 00: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-28 00:12:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:12:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:12:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:12:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:12: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-28 00:12:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:12:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:12:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691056896001,"66":25321,"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-28 00:12:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:12:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:12:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691056896001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:12:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00: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-28 00:12:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:12:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691056896001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:12:13] 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":705949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:12:13] local.INFO: GPS data processed {"connection_id":163421,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:12:13] local.INFO: Acknowledgment sent {"connection_id":163421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:12:32] local.INFO: TCP Data received {"connection_id":163422,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:12:32] local.INFO: Processing buffer {"connection_id":163422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:12:32] local.INFO: IMEI packet received {"connection_id":163422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 00:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":163422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 00:12:37] local.INFO: TCP Data received {"connection_id":163422,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:12:37] local.INFO: Processing buffer {"connection_id":163422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:12:37] local.INFO: IMEI packet received {"connection_id":163422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 00:12:37] local.INFO: IMEI acknowledgment sent {"connection_id":163422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 00:12:38] local.INFO: TCP Data received {"connection_id":163422,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0448574c0012d34c14006aa4818000b00e62d..."} 
[2026-08-28 00:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0448574c0012d34c14006aa4818000b00e62d..."} 
[2026-08-28 00:12:38] local.INFO: Processing buffer {"connection_id":163422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0448574c0012d34c14006aa4818000b00e62d..."} 
[2026-08-28 00:12:38] local.INFO: Packet analysis {"connection_id":163422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04485"} 
[2026-08-28 00:12:38] local.INFO: Extracted packet for processing {"connection_id":163422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04485"} 
[2026-08-28 00:12:38] 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-28 00:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 00:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691056896001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:12:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00: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-28 00:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787855992000,"timestamp_ms":1787855992000,"timestamp_seconds":1787855992,"priority":1,"record_length":96,"hex_timestamp":"000001a0448574c0"} 
[2026-08-28 00:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 00:12:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 00:12:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 00:12:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 00:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 00:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 00:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691056896001,"66":25321,"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-28 00:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691056896001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:12:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00: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-28 00:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691056896001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":163422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":705950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:12:38] local.INFO: GPS data processed {"connection_id":163422,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:12:38] local.INFO: Acknowledgment sent {"connection_id":163422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:13:10] local.INFO: TCP Data received {"connection_id":163422,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0448574c0012d34c14006aa4818000b00e62d..."} 
[2026-08-28 00:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0448574c0012d34c14006aa4818000b00e62d..."} 
[2026-08-28 00:13:10] local.INFO: Processing buffer {"connection_id":163422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0448574c0012d34c14006aa4818000b00e62d..."} 
[2026-08-28 00:13:10] local.INFO: Packet analysis {"connection_id":163422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04485"} 
[2026-08-28 00:13:10] local.INFO: Extracted packet for processing {"connection_id":163422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04485"} 
[2026-08-28 00:13:10] 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-28 00:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 00:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691056896001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:13:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:13:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:13:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 00:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787855992000,"timestamp_ms":1787855992000,"timestamp_seconds":1787855992,"priority":1,"record_length":96,"hex_timestamp":"000001a0448574c0"} 
[2026-08-28 00:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 00:13:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 00:13:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 00:13:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 00:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 00:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:13:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 00:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691056896001,"66":25321,"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-28 00:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691056896001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:13:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 00:13:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691056896001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":163422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":705951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:13:10] local.INFO: GPS data processed {"connection_id":163422,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:13:10] local.INFO: Acknowledgment sent {"connection_id":163422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:13:32] local.INFO: TCP Data received {"connection_id":164438,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:13:32] local.INFO: Processing buffer {"connection_id":164438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:13:32] local.INFO: IMEI packet received {"connection_id":164438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 00:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":164438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 00:13:42] local.INFO: TCP Data received {"connection_id":164438,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:13:42] local.INFO: Processing buffer {"connection_id":164438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:13:42] local.INFO: IMEI packet received {"connection_id":164438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 00:13:42] local.INFO: IMEI acknowledgment sent {"connection_id":164438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 00:13:42] local.INFO: TCP Data received {"connection_id":164438,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0448574c0012d34c14006aa4818000b00e62d..."} 
[2026-08-28 00:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0448574c0012d34c14006aa4818000b00e62d..."} 
[2026-08-28 00:13:42] local.INFO: Processing buffer {"connection_id":164438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0448574c0012d34c14006aa4818000b00e62d..."} 
[2026-08-28 00:13:42] local.INFO: Packet analysis {"connection_id":164438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04485"} 
[2026-08-28 00:13:42] local.INFO: Extracted packet for processing {"connection_id":164438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04485"} 
[2026-08-28 00: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":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-28 00: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-28 00:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691056896001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:13:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:13:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:13:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 00:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787855992000,"timestamp_ms":1787855992000,"timestamp_seconds":1787855992,"priority":1,"record_length":96,"hex_timestamp":"000001a0448574c0"} 
[2026-08-28 00: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-28 00:13:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 00:13: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-28 00: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-28 00: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-28 00:13:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":164438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":164438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":164438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:13: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-28 00:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:13:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691056896001,"66":25321,"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-28 00:13:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:13:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:13:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691056896001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:13:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00: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-28 00:13:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:13:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691056896001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:13:43] local.INFO: DEBUG: GPS processor result {"connection_id":164438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":705952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:13:43] local.INFO: GPS data processed {"connection_id":164438,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:13:43] local.INFO: Acknowledgment sent {"connection_id":164438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:14:14] local.INFO: TCP Data received {"connection_id":164438,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0448574c0012d34c14006aa4818000b00e62d..."} 
[2026-08-28 00:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0448574c0012d34c14006aa4818000b00e62d..."} 
[2026-08-28 00:14:14] local.INFO: Processing buffer {"connection_id":164438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0448574c0012d34c14006aa4818000b00e62d..."} 
[2026-08-28 00:14:14] local.INFO: Packet analysis {"connection_id":164438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04485"} 
[2026-08-28 00:14:14] local.INFO: Extracted packet for processing {"connection_id":164438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04485"} 
[2026-08-28 00: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":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-28 00: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-28 00:14:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691056896001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:14:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:14:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:14:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:14: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-28 00:14:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787855992000,"timestamp_ms":1787855992000,"timestamp_seconds":1787855992,"priority":1,"record_length":96,"hex_timestamp":"000001a0448574c0"} 
[2026-08-28 00: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-28 00:14:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 00:14: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-28 00: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-28 00: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-28 00:14:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:14:14] local.INFO: Teltonika packet parsed successfully {"connection_id":164438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:14:14] local.INFO: Passing IMEI to GPS processor {"connection_id":164438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:14:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":164438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:14: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-28 00:14:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:14:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:14:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691056896001,"66":25321,"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-28 00:14:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:14:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:14:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691056896001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:14:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00: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-28 00:14:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:14:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691056896001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:14:14] local.INFO: DEBUG: GPS processor result {"connection_id":164438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":705953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:14:14] local.INFO: GPS data processed {"connection_id":164438,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:14:14] local.INFO: Acknowledgment sent {"connection_id":164438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:14:32] local.INFO: TCP Data received {"connection_id":165778,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:14:32] local.INFO: Processing buffer {"connection_id":165778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:14:32] local.INFO: IMEI packet received {"connection_id":165778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 00:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":165778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 00:14:37] local.INFO: TCP Data received {"connection_id":165778,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:14:37] local.INFO: Processing buffer {"connection_id":165778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:14:37] local.INFO: IMEI packet received {"connection_id":165778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 00:14:37] local.INFO: IMEI acknowledgment sent {"connection_id":165778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 00:14:38] local.INFO: TCP Data received {"connection_id":165778,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0448574c0012d34c14006aa4818000b00e62d..."} 
[2026-08-28 00:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0448574c0012d34c14006aa4818000b00e62d..."} 
[2026-08-28 00:14:38] local.INFO: Processing buffer {"connection_id":165778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0448574c0012d34c14006aa4818000b00e62d..."} 
[2026-08-28 00:14:38] local.INFO: Packet analysis {"connection_id":165778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04485"} 
[2026-08-28 00:14:38] local.INFO: Extracted packet for processing {"connection_id":165778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04485"} 
[2026-08-28 00:14:38] 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-28 00:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 00:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691056896001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:14:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:14: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-28 00:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787855992000,"timestamp_ms":1787855992000,"timestamp_seconds":1787855992,"priority":1,"record_length":96,"hex_timestamp":"000001a0448574c0"} 
[2026-08-28 00:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 00:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 00:14:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 00:14:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 00:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 00:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":165778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":165778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":165778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 00:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691056896001,"66":25321,"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-28 00:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691056896001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:14:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00:14: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-28 00:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691056896001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":165778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":705954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:14:38] local.INFO: GPS data processed {"connection_id":165778,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:14:38] local.INFO: Acknowledgment sent {"connection_id":165778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:14:43] local.INFO: TCP Data received {"connection_id":165778,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0448574c0012d34c14006aa4818000b00e62d..."} 
[2026-08-28 00:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0448574c0012d34c14006aa4818000b00e62d..."} 
[2026-08-28 00:14:43] local.INFO: Processing buffer {"connection_id":165778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0448574c0012d34c14006aa4818000b00e62d..."} 
[2026-08-28 00:14:43] local.INFO: Packet analysis {"connection_id":165778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04485"} 
[2026-08-28 00:14:43] local.INFO: Extracted packet for processing {"connection_id":165778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04485"} 
[2026-08-28 00:14: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-28 00: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-28 00:14:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691056896001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:14:43] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:14:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:14:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00: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-28 00:14:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787855992000,"timestamp_ms":1787855992000,"timestamp_seconds":1787855992,"priority":1,"record_length":96,"hex_timestamp":"000001a0448574c0"} 
[2026-08-28 00: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-28 00:14:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 00:14: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-28 00: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-28 00: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-28 00:14:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:14:43] local.INFO: Teltonika packet parsed successfully {"connection_id":165778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:14:43] local.INFO: Passing IMEI to GPS processor {"connection_id":165778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:14:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":165778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:14: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-28 00:14:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:14:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:14:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691056896001,"66":25321,"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-28 00:14:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:14:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:14:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691056896001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:14:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00: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-28 00:14:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:14:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691056896001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:14:43] local.INFO: DEBUG: GPS processor result {"connection_id":165778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":705955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:14:43] local.INFO: GPS data processed {"connection_id":165778,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:14:43] local.INFO: Acknowledgment sent {"connection_id":165778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:15:14] local.INFO: TCP Data received {"connection_id":165778,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0448574c0012d34c14006aa4818000b00e62d..."} 
[2026-08-28 00:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0448574c0012d34c14006aa4818000b00e62d..."} 
[2026-08-28 00:15:14] local.INFO: Processing buffer {"connection_id":165778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0448574c0012d34c14006aa4818000b00e62d..."} 
[2026-08-28 00:15:14] local.INFO: Packet analysis {"connection_id":165778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04485"} 
[2026-08-28 00:15:14] local.INFO: Extracted packet for processing {"connection_id":165778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04485"} 
[2026-08-28 00:15: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-28 00: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-28 00:15:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691056896001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:15:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:15:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:15:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:15: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-28 00:15:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787855992000,"timestamp_ms":1787855992000,"timestamp_seconds":1787855992,"priority":1,"record_length":96,"hex_timestamp":"000001a0448574c0"} 
[2026-08-28 00: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-28 00:15:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 00:15: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-28 00: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-28 00: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-28 00:15:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:15:14] local.INFO: Teltonika packet parsed successfully {"connection_id":165778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:15:14] local.INFO: Passing IMEI to GPS processor {"connection_id":165778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:15:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":165778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:15: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-28 00:15:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:15:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:15:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691056896001,"66":25321,"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-28 00:15:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:15:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:15:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691056896001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:15:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00: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-28 00:15:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:15:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691056896001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:15:14] local.INFO: DEBUG: GPS processor result {"connection_id":165778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":705956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:15:14] local.INFO: GPS data processed {"connection_id":165778,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:15:14] local.INFO: Acknowledgment sent {"connection_id":165778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:15:31] local.INFO: TCP Data received {"connection_id":163423,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:15:31] local.INFO: Processing buffer {"connection_id":163423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:15:31] local.INFO: IMEI packet received {"connection_id":163423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 00:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":163423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 00:15:32] local.INFO: TCP Data received {"connection_id":163423,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:15:32] local.INFO: Processing buffer {"connection_id":163423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:15:32] local.INFO: IMEI packet received {"connection_id":163423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 00:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":163423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 00:15:38] local.INFO: TCP Data received {"connection_id":163423,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:15:38] local.INFO: Processing buffer {"connection_id":163423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:15:38] local.INFO: IMEI packet received {"connection_id":163423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 00:15:38] local.INFO: IMEI acknowledgment sent {"connection_id":163423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 00:15:38] local.INFO: TCP Data received {"connection_id":163423,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0448a0c88012d34c14006aa4818000600e62d..."} 
[2026-08-28 00:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0448a0c88012d34c14006aa4818000600e62d..."} 
[2026-08-28 00:15:38] local.INFO: Processing buffer {"connection_id":163423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0448a0c88012d34c14006aa4818000600e62d..."} 
[2026-08-28 00:15:38] local.INFO: Packet analysis {"connection_id":163423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0448a"} 
[2026-08-28 00:15:38] local.INFO: Extracted packet for processing {"connection_id":163423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0448a"} 
[2026-08-28 00:15:38] 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-28 00:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 00:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691133952001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:15:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:15: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-28 00:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787856293000,"timestamp_ms":1787856293000,"timestamp_seconds":1787856293,"priority":1,"record_length":96,"hex_timestamp":"000001a0448a0c88"} 
[2026-08-28 00:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 00:15:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 00:15:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 00:15:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 00:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 00:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:15:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 00:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691133952001,"66":25060,"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-28 00:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691133952001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:15:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00:15: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-28 00:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691133952001,"power":25060,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:15:38] 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":705957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:15:38] local.INFO: GPS data processed {"connection_id":163423,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:15:38] local.INFO: Acknowledgment sent {"connection_id":163423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:16:10] local.INFO: TCP Data received {"connection_id":163423,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0448a0c88012d34c14006aa4818000600e62d..."} 
[2026-08-28 00:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0448a0c88012d34c14006aa4818000600e62d..."} 
[2026-08-28 00:16:10] local.INFO: Processing buffer {"connection_id":163423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0448a0c88012d34c14006aa4818000600e62d..."} 
[2026-08-28 00:16:10] local.INFO: Packet analysis {"connection_id":163423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0448a"} 
[2026-08-28 00:16:10] local.INFO: Extracted packet for processing {"connection_id":163423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0448a"} 
[2026-08-28 00:16:10] 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-28 00:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 00:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691133952001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:16:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:16:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 00:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787856293000,"timestamp_ms":1787856293000,"timestamp_seconds":1787856293,"priority":1,"record_length":96,"hex_timestamp":"000001a0448a0c88"} 
[2026-08-28 00:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 00:16:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 00:16:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 00:16:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 00:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 00:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:16:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 00:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691133952001,"66":25060,"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-28 00:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691133952001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:16:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 00:16:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691133952001,"power":25060,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:16:10] 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":705958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:16:10] local.INFO: GPS data processed {"connection_id":163423,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:16:10] local.INFO: Acknowledgment sent {"connection_id":163423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:16:32] local.INFO: TCP Data received {"connection_id":163172,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:16:32] local.INFO: Processing buffer {"connection_id":163172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:16:32] local.INFO: IMEI packet received {"connection_id":163172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 00:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":163172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 00:16:37] local.INFO: TCP Data received {"connection_id":163172,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:16:37] local.INFO: Processing buffer {"connection_id":163172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:16:37] local.INFO: IMEI packet received {"connection_id":163172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 00:16:37] local.INFO: IMEI acknowledgment sent {"connection_id":163172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 00:16:38] local.INFO: TCP Data received {"connection_id":163172,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0448a0c88012d34c14006aa4818000600e62d..."} 
[2026-08-28 00:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0448a0c88012d34c14006aa4818000600e62d..."} 
[2026-08-28 00:16:38] local.INFO: Processing buffer {"connection_id":163172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0448a0c88012d34c14006aa4818000600e62d..."} 
[2026-08-28 00:16:38] local.INFO: Packet analysis {"connection_id":163172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0448a"} 
[2026-08-28 00:16:38] local.INFO: Extracted packet for processing {"connection_id":163172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0448a"} 
[2026-08-28 00:16:38] 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-28 00:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 00:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691133952001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:16:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:16:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:16: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-28 00:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787856293000,"timestamp_ms":1787856293000,"timestamp_seconds":1787856293,"priority":1,"record_length":96,"hex_timestamp":"000001a0448a0c88"} 
[2026-08-28 00:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 00:16:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 00:16:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 00:16:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 00:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 00:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:16:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 00:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691133952001,"66":25060,"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-28 00:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691133952001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:16:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00:16: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-28 00:16:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691133952001,"power":25060,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":163172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":705959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:16:38] local.INFO: GPS data processed {"connection_id":163172,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:16:38] local.INFO: Acknowledgment sent {"connection_id":163172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:16:51] local.INFO: TCP Data received {"connection_id":164437,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 00:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164437,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 00:16:51] local.INFO: Processing buffer {"connection_id":164437,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 00:16:51] local.INFO: IMEI packet received {"connection_id":164437,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 00:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":164437,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 00:17:09] local.INFO: TCP Data received {"connection_id":163172,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0448a0c88012d34c14006aa4818000600e62d..."} 
[2026-08-28 00:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0448a0c88012d34c14006aa4818000600e62d..."} 
[2026-08-28 00:17:09] local.INFO: Processing buffer {"connection_id":163172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0448a0c88012d34c14006aa4818000600e62d..."} 
[2026-08-28 00:17:09] local.INFO: Packet analysis {"connection_id":163172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0448a"} 
[2026-08-28 00:17:09] local.INFO: Extracted packet for processing {"connection_id":163172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0448a"} 
[2026-08-28 00:17: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":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-28 00:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 00:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691133952001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:17:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:17:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:17: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-28 00:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787856293000,"timestamp_ms":1787856293000,"timestamp_seconds":1787856293,"priority":1,"record_length":96,"hex_timestamp":"000001a0448a0c88"} 
[2026-08-28 00:17:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 00:17:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 00:17:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 00:17:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 00:17:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 00:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:17:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 00:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691133952001,"66":25060,"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-28 00:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691133952001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:17:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00:17: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-28 00:17:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:17:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691133952001,"power":25060,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":163172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":705960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:17:10] local.INFO: GPS data processed {"connection_id":163172,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:17:10] local.INFO: Acknowledgment sent {"connection_id":163172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:17:32] local.INFO: TCP Data received {"connection_id":164439,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:17:32] local.INFO: Processing buffer {"connection_id":164439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:17:32] local.INFO: IMEI packet received {"connection_id":164439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 00:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":164439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 00:17:42] local.INFO: TCP Data received {"connection_id":164439,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:17:42] local.INFO: Processing buffer {"connection_id":164439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:17:42] local.INFO: IMEI packet received {"connection_id":164439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 00:17:42] local.INFO: IMEI acknowledgment sent {"connection_id":164439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 00:17:42] local.INFO: TCP Data received {"connection_id":164439,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0448a0c88012d34c14006aa4818000600e62d..."} 
[2026-08-28 00:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0448a0c88012d34c14006aa4818000600e62d..."} 
[2026-08-28 00:17:42] local.INFO: Processing buffer {"connection_id":164439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0448a0c88012d34c14006aa4818000600e62d..."} 
[2026-08-28 00:17:42] local.INFO: Packet analysis {"connection_id":164439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0448a"} 
[2026-08-28 00:17:42] local.INFO: Extracted packet for processing {"connection_id":164439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0448a"} 
[2026-08-28 00:17: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-28 00: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-28 00:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691133952001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:17:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:17:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 00:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787856293000,"timestamp_ms":1787856293000,"timestamp_seconds":1787856293,"priority":1,"record_length":96,"hex_timestamp":"000001a0448a0c88"} 
[2026-08-28 00: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-28 00:17:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 00:17: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-28 00: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-28 00: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-28 00:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":164439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":164439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":164439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:17: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-28 00:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691133952001,"66":25060,"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-28 00:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691133952001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:17:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00: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-28 00:17:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691133952001,"power":25060,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":164439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":705961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:17:42] local.INFO: GPS data processed {"connection_id":164439,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:17:42] local.INFO: Acknowledgment sent {"connection_id":164439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:18:14] local.INFO: TCP Data received {"connection_id":164439,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0448a0c88012d34c14006aa4818000600e62d..."} 
[2026-08-28 00:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0448a0c88012d34c14006aa4818000600e62d..."} 
[2026-08-28 00:18:14] local.INFO: Processing buffer {"connection_id":164439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0448a0c88012d34c14006aa4818000600e62d..."} 
[2026-08-28 00:18:14] local.INFO: Packet analysis {"connection_id":164439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0448a"} 
[2026-08-28 00:18:14] local.INFO: Extracted packet for processing {"connection_id":164439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0448a"} 
[2026-08-28 00:18: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-28 00: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-28 00:18:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691133952001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:18:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:18:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:18:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00: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-28 00:18:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787856293000,"timestamp_ms":1787856293000,"timestamp_seconds":1787856293,"priority":1,"record_length":96,"hex_timestamp":"000001a0448a0c88"} 
[2026-08-28 00: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-28 00:18:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 00:18: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-28 00: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-28 00: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-28 00:18:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:18:14] local.INFO: Teltonika packet parsed successfully {"connection_id":164439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:18:14] local.INFO: Passing IMEI to GPS processor {"connection_id":164439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:18:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":164439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:18: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-28 00:18:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:18:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:18:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691133952001,"66":25060,"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-28 00:18:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:18:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:18:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691133952001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:18:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00: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-28 00:18:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:18:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691133952001,"power":25060,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:18:14] local.INFO: DEBUG: GPS processor result {"connection_id":164439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":705962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:18:14] local.INFO: GPS data processed {"connection_id":164439,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:18:14] local.INFO: Acknowledgment sent {"connection_id":164439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:18:37] local.INFO: TCP Data received {"connection_id":163173,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:18:37] local.INFO: Processing buffer {"connection_id":163173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:18:37] local.INFO: IMEI packet received {"connection_id":163173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 00:18:37] local.INFO: IMEI acknowledgment sent {"connection_id":163173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 00:18:42] local.INFO: TCP Data received {"connection_id":163173,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:18:42] local.INFO: Processing buffer {"connection_id":163173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:18:42] local.INFO: IMEI packet received {"connection_id":163173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 00:18:42] local.INFO: IMEI acknowledgment sent {"connection_id":163173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 00:18:43] local.INFO: TCP Data received {"connection_id":163173,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0448a0c88012d34c14006aa4818000600e62d..."} 
[2026-08-28 00:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0448a0c88012d34c14006aa4818000600e62d..."} 
[2026-08-28 00:18:43] local.INFO: Processing buffer {"connection_id":163173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0448a0c88012d34c14006aa4818000600e62d..."} 
[2026-08-28 00:18:43] local.INFO: Packet analysis {"connection_id":163173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0448a"} 
[2026-08-28 00:18:43] local.INFO: Extracted packet for processing {"connection_id":163173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0448a"} 
[2026-08-28 00:18: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":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-28 00: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-28 00:18:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691133952001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:18:43] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:18:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:18:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:18: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-28 00:18:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787856293000,"timestamp_ms":1787856293000,"timestamp_seconds":1787856293,"priority":1,"record_length":96,"hex_timestamp":"000001a0448a0c88"} 
[2026-08-28 00: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-28 00:18:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00: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-28 00: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-28 00: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-28 00: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-28 00:18:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:18:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:18:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:18:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:18: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-28 00:18:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:18:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:18:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691133952001,"66":25060,"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-28 00:18:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:18:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:18:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691133952001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:18:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00: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-28 00:18:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:18:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691133952001,"power":25060,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:18:43] local.INFO: DEBUG: GPS processor result {"connection_id":163173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":705963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:18:43] local.INFO: GPS data processed {"connection_id":163173,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:18:43] local.INFO: Acknowledgment sent {"connection_id":163173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:18:48] local.INFO: TCP Data received {"connection_id":163173,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0448a0c88012d34c14006aa4818000600e62d..."} 
[2026-08-28 00:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0448a0c88012d34c14006aa4818000600e62d..."} 
[2026-08-28 00:18:48] local.INFO: Processing buffer {"connection_id":163173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0448a0c88012d34c14006aa4818000600e62d..."} 
[2026-08-28 00:18:48] local.INFO: Packet analysis {"connection_id":163173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0448a"} 
[2026-08-28 00:18:48] local.INFO: Extracted packet for processing {"connection_id":163173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0448a"} 
[2026-08-28 00:18: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":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-28 00: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-28 00:18:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691133952001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:18:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:18:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:18:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:18: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-28 00:18:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787856293000,"timestamp_ms":1787856293000,"timestamp_seconds":1787856293,"priority":1,"record_length":96,"hex_timestamp":"000001a0448a0c88"} 
[2026-08-28 00: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-28 00:18:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 00:18: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-28 00: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-28 00: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-28 00:18:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:18:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:18:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:18:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00: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-28 00:18:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:18:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:18:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691133952001,"66":25060,"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-28 00:18:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:18:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:18:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691133952001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:18:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00: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-28 00:18:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:18:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691133952001,"power":25060,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:18:48] local.INFO: DEBUG: GPS processor result {"connection_id":163173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":705964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:18:48] local.INFO: GPS data processed {"connection_id":163173,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:18:48] local.INFO: Acknowledgment sent {"connection_id":163173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:19:32] local.INFO: TCP Data received {"connection_id":164440,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:19:32] local.INFO: Processing buffer {"connection_id":164440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:19:32] local.INFO: IMEI packet received {"connection_id":164440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 00:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":164440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 00:19:42] local.INFO: TCP Data received {"connection_id":164440,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:19:42] local.INFO: Processing buffer {"connection_id":164440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:19:42] local.INFO: IMEI packet received {"connection_id":164440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 00:19:42] local.INFO: IMEI acknowledgment sent {"connection_id":164440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 00:19:43] local.INFO: TCP Data received {"connection_id":164440,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0448a0c88012d34c14006aa4818000600e62d..."} 
[2026-08-28 00:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0448a0c88012d34c14006aa4818000600e62d..."} 
[2026-08-28 00:19:43] local.INFO: Processing buffer {"connection_id":164440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0448a0c88012d34c14006aa4818000600e62d..."} 
[2026-08-28 00:19:43] local.INFO: Packet analysis {"connection_id":164440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0448a"} 
[2026-08-28 00:19:43] local.INFO: Extracted packet for processing {"connection_id":164440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0448a"} 
[2026-08-28 00:19: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":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-28 00:19:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 00:19:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691133952001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:19:43] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:19:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:19:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:19: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-28 00:19:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787856293000,"timestamp_ms":1787856293000,"timestamp_seconds":1787856293,"priority":1,"record_length":96,"hex_timestamp":"000001a0448a0c88"} 
[2026-08-28 00:19:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 00:19:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00:19:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 00: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-28 00:19:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 00:19:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 00:19:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:19:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:19:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:19:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00: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-28 00:19:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:19:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:19:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691133952001,"66":25060,"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-28 00:19:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:19:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:19:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691133952001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:19:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00: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-28 00:19:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:19:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691133952001,"power":25060,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:19:43] local.INFO: DEBUG: GPS processor result {"connection_id":164440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":705965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:19:43] local.INFO: GPS data processed {"connection_id":164440,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:19:43] local.INFO: Acknowledgment sent {"connection_id":164440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:20:15] local.INFO: TCP Data received {"connection_id":164440,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0448a0c88012d34c14006aa4818000600e62d..."} 
[2026-08-28 00:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0448a0c88012d34c14006aa4818000600e62d..."} 
[2026-08-28 00:20:15] local.INFO: Processing buffer {"connection_id":164440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0448a0c88012d34c14006aa4818000600e62d..."} 
[2026-08-28 00:20:15] local.INFO: Packet analysis {"connection_id":164440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0448a"} 
[2026-08-28 00:20:15] local.INFO: Extracted packet for processing {"connection_id":164440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0448a"} 
[2026-08-28 00:20: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-28 00: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-28 00:20:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691133952001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:20:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:20:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:20:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:20: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-28 00:20:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787856293000,"timestamp_ms":1787856293000,"timestamp_seconds":1787856293,"priority":1,"record_length":96,"hex_timestamp":"000001a0448a0c88"} 
[2026-08-28 00: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-28 00:20:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00: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-28 00: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-28 00: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-28 00: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-28 00:20:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:20:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:20:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:20:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:20: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-28 00:20:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:20:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:20:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691133952001,"66":25060,"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-28 00:20:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:20:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:20:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691133952001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:20:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00: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-28 00:20:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:20:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691133952001,"power":25060,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:20:15] local.INFO: DEBUG: GPS processor result {"connection_id":164440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":705966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:20:15] local.INFO: GPS data processed {"connection_id":164440,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:20:15] local.INFO: Acknowledgment sent {"connection_id":164440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:20:33] local.INFO: TCP Data received {"connection_id":163174,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:20:33] local.INFO: Processing buffer {"connection_id":163174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:20:33] local.INFO: IMEI packet received {"connection_id":163174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 00:20:33] local.INFO: IMEI acknowledgment sent {"connection_id":163174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 00:20:33] local.INFO: TCP Data received {"connection_id":163174,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:20:33] local.INFO: Processing buffer {"connection_id":163174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:20:33] local.INFO: IMEI packet received {"connection_id":163174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 00:20:33] local.INFO: IMEI acknowledgment sent {"connection_id":163174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 00:20:37] local.INFO: TCP Data received {"connection_id":163174,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:20:37] local.INFO: Processing buffer {"connection_id":163174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:20:37] local.INFO: IMEI packet received {"connection_id":163174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 00:20:37] local.INFO: IMEI acknowledgment sent {"connection_id":163174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 00:20:40] local.INFO: TCP Data received {"connection_id":163174,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0448ea450012d34c14006aa4818000000e62c..."} 
[2026-08-28 00:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0448ea450012d34c14006aa4818000000e62c..."} 
[2026-08-28 00:20:40] local.INFO: Processing buffer {"connection_id":163174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0448ea450012d34c14006aa4818000000e62c..."} 
[2026-08-28 00:20:40] local.INFO: Packet analysis {"connection_id":163174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0448e"} 
[2026-08-28 00:20:40] local.INFO: Extracted packet for processing {"connection_id":163174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0448e"} 
[2026-08-28 00:20:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":0,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-28 00:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 00:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691211008001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:20:40] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:20:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:20:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 00:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787856594000,"timestamp_ms":1787856594000,"timestamp_seconds":1787856594,"priority":1,"record_length":96,"hex_timestamp":"000001a0448ea450"} 
[2026-08-28 00:20:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 00:20:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-28 00:20:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 00:20:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 00:20:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 00:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:20:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 00:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691211008001,"66":25321,"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-28 00:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691211008001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:20:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00:20: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-28 00:20:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691211008001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":163174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":705967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:20:40] local.INFO: GPS data processed {"connection_id":163174,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:20:40] local.INFO: Acknowledgment sent {"connection_id":163174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:21:11] local.INFO: TCP Data received {"connection_id":163174,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0448ea450012d34c14006aa4818000000e62c..."} 
[2026-08-28 00:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0448ea450012d34c14006aa4818000000e62c..."} 
[2026-08-28 00:21:11] local.INFO: Processing buffer {"connection_id":163174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0448ea450012d34c14006aa4818000000e62c..."} 
[2026-08-28 00:21:11] local.INFO: Packet analysis {"connection_id":163174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0448e"} 
[2026-08-28 00:21:11] local.INFO: Extracted packet for processing {"connection_id":163174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0448e"} 
[2026-08-28 00:21:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":0,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-28 00:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 00:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691211008001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:21:11] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:21: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-28 00:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787856594000,"timestamp_ms":1787856594000,"timestamp_seconds":1787856594,"priority":1,"record_length":96,"hex_timestamp":"000001a0448ea450"} 
[2026-08-28 00:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 00:21:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-28 00:21:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 00:21:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 00:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 00:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":163174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":163174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":163174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:21: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-28 00:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691211008001,"66":25321,"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-28 00:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691211008001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:21:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00:21: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-28 00:21:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691211008001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":163174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":705968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:21:11] local.INFO: GPS data processed {"connection_id":163174,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:21:11] local.INFO: Acknowledgment sent {"connection_id":163174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:21:32] local.INFO: TCP Data received {"connection_id":163424,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:21:32] local.INFO: Processing buffer {"connection_id":163424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:21:32] local.INFO: IMEI packet received {"connection_id":163424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 00:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":163424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 00:21:37] local.INFO: TCP Data received {"connection_id":163424,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:21:37] local.INFO: Processing buffer {"connection_id":163424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:21:37] local.INFO: IMEI packet received {"connection_id":163424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 00:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":163424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 00:21:38] local.INFO: TCP Data received {"connection_id":163424,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0448ea450012d34c14006aa4818000000e62c..."} 
[2026-08-28 00:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0448ea450012d34c14006aa4818000000e62c..."} 
[2026-08-28 00:21:38] local.INFO: Processing buffer {"connection_id":163424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0448ea450012d34c14006aa4818000000e62c..."} 
[2026-08-28 00:21:38] local.INFO: Packet analysis {"connection_id":163424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0448e"} 
[2026-08-28 00:21:38] local.INFO: Extracted packet for processing {"connection_id":163424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0448e"} 
[2026-08-28 00:21:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":0,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-28 00:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 00:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691211008001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:21:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:21: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-28 00:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787856594000,"timestamp_ms":1787856594000,"timestamp_seconds":1787856594,"priority":1,"record_length":96,"hex_timestamp":"000001a0448ea450"} 
[2026-08-28 00:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 00:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-28 00:21:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 00:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 00:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 00:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 00:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691211008001,"66":25321,"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-28 00:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691211008001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:21:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00:21: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-28 00:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691211008001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:21:38] 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":705969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:21:38] local.INFO: GPS data processed {"connection_id":163424,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:21:38] local.INFO: Acknowledgment sent {"connection_id":163424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:22:10] local.INFO: TCP Data received {"connection_id":163424,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0448ea450012d34c14006aa4818000000e62c..."} 
[2026-08-28 00:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0448ea450012d34c14006aa4818000000e62c..."} 
[2026-08-28 00:22:10] local.INFO: Processing buffer {"connection_id":163424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0448ea450012d34c14006aa4818000000e62c..."} 
[2026-08-28 00:22:10] local.INFO: Packet analysis {"connection_id":163424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0448e"} 
[2026-08-28 00:22:10] local.INFO: Extracted packet for processing {"connection_id":163424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0448e"} 
[2026-08-28 00:22:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":0,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-28 00:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 00:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691211008001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:22:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:22:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 00:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787856594000,"timestamp_ms":1787856594000,"timestamp_seconds":1787856594,"priority":1,"record_length":96,"hex_timestamp":"000001a0448ea450"} 
[2026-08-28 00:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 00:22:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-28 00:22:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 00:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 00:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 00:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 00:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691211008001,"66":25321,"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-28 00:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691211008001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:22:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 00:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691211008001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:22:10] 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":705970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:22:10] local.INFO: GPS data processed {"connection_id":163424,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:22:10] local.INFO: Acknowledgment sent {"connection_id":163424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:22:24] local.INFO: TCP Data received {"connection_id":165779,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 00:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165779,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 00:22:24] local.INFO: Processing buffer {"connection_id":165779,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 00:22:24] local.INFO: IMEI packet received {"connection_id":165779,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 00:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":165779,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 00:22:37] local.INFO: TCP Data received {"connection_id":163175,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:22:37] local.INFO: Processing buffer {"connection_id":163175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:22:37] local.INFO: IMEI packet received {"connection_id":163175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 00:22:37] local.INFO: IMEI acknowledgment sent {"connection_id":163175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 00:22:42] local.INFO: TCP Data received {"connection_id":163175,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:22:42] local.INFO: Processing buffer {"connection_id":163175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:22:42] local.INFO: IMEI packet received {"connection_id":163175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 00:22:42] local.INFO: IMEI acknowledgment sent {"connection_id":163175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 00:22:47] local.INFO: TCP Data received {"connection_id":163175,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:22:47] local.INFO: Processing buffer {"connection_id":163175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:22:47] local.INFO: IMEI packet received {"connection_id":163175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 00:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":163175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 00:22:48] local.INFO: TCP Data received {"connection_id":163175,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0448ea450012d34c14006aa4818000000e62c..."} 
[2026-08-28 00:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0448ea450012d34c14006aa4818000000e62c..."} 
[2026-08-28 00:22:48] local.INFO: Processing buffer {"connection_id":163175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0448ea450012d34c14006aa4818000000e62c..."} 
[2026-08-28 00:22:48] local.INFO: Packet analysis {"connection_id":163175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0448e"} 
[2026-08-28 00:22:48] local.INFO: Extracted packet for processing {"connection_id":163175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0448e"} 
[2026-08-28 00:22:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":0,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-28 00: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-28 00:22:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691211008001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:22:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:22:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:22:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:22: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-28 00:22:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787856594000,"timestamp_ms":1787856594000,"timestamp_seconds":1787856594,"priority":1,"record_length":96,"hex_timestamp":"000001a0448ea450"} 
[2026-08-28 00: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-28 00:22:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-28 00:22:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 00: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-28 00: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-28 00:22:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:22:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:22:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:22:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:22: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-28 00:22:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:22:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:22:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691211008001,"66":25321,"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-28 00:22:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:22:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:22:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691211008001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:22:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00: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-28 00:22:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:22:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691211008001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:22:48] local.INFO: DEBUG: GPS processor result {"connection_id":163175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":705971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:22:48] local.INFO: GPS data processed {"connection_id":163175,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:22:48] local.INFO: Acknowledgment sent {"connection_id":163175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:22:53] local.INFO: TCP Data received {"connection_id":163175,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0448ea450012d34c14006aa4818000000e62c..."} 
[2026-08-28 00:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0448ea450012d34c14006aa4818000000e62c..."} 
[2026-08-28 00:22:53] local.INFO: Processing buffer {"connection_id":163175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0448ea450012d34c14006aa4818000000e62c..."} 
[2026-08-28 00:22:53] local.INFO: Packet analysis {"connection_id":163175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0448e"} 
[2026-08-28 00:22:53] local.INFO: Extracted packet for processing {"connection_id":163175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0448e"} 
[2026-08-28 00:22:53] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":0,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-28 00: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-28 00:22:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691211008001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:22:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:22:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:22:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:22: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-28 00:22:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787856594000,"timestamp_ms":1787856594000,"timestamp_seconds":1787856594,"priority":1,"record_length":96,"hex_timestamp":"000001a0448ea450"} 
[2026-08-28 00: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-28 00:22:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-28 00:22:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 00: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-28 00: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-28 00:22:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:22:53] local.INFO: Teltonika packet parsed successfully {"connection_id":163175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:22:53] local.INFO: Passing IMEI to GPS processor {"connection_id":163175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:22:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":163175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:22: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-28 00:22:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:22:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:22:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691211008001,"66":25321,"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-28 00:22:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:22:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:22:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691211008001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:22:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00: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-28 00:22:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:22:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691211008001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:22:53] local.INFO: DEBUG: GPS processor result {"connection_id":163175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":705972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:22:53] local.INFO: GPS data processed {"connection_id":163175,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:22:53] local.INFO: Acknowledgment sent {"connection_id":163175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:22:58] local.INFO: TCP Data received {"connection_id":164441,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 00:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164441,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 00:22:58] local.INFO: Processing buffer {"connection_id":164441,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 00:22:58] local.INFO: IMEI packet received {"connection_id":164441,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 00:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":164441,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 00:23:06] local.INFO: TCP Data received {"connection_id":164441,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 00:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164441,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 00:23:06] local.INFO: Processing buffer {"connection_id":164441,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 00:23:06] local.INFO: IMEI packet received {"connection_id":164441,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 00:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":164441,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 00:23:08] local.INFO: TCP Data received {"connection_id":164441,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0446a7698012d34c14006aa41b8000c00002c..."} 
[2026-08-28 00:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0446a7698012d34c14006aa41b8000c00002c..."} 
[2026-08-28 00:23:08] local.INFO: Processing buffer {"connection_id":164441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0446a7698012d34c14006aa41b8000c00002c..."} 
[2026-08-28 00:23:08] local.INFO: Packet analysis {"connection_id":164441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0446a"} 
[2026-08-28 00:23:08] local.INFO: Extracted packet for processing {"connection_id":164441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0446a"} 
[2026-08-28 00:23:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821240,"longitude_deg":75.8432064,"latitude_deg":11.182124,"altitude":12,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-08-28 00:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 00:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457690604032001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 00:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847824384,"note":"Value kept but may cause issues"} 
[2026-08-28 00:23:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 00:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787854223000,"timestamp_ms":1787854223000,"timestamp_seconds":1787854223,"priority":1,"record_length":96,"hex_timestamp":"000001a0446a7698"} 
[2026-08-28 00:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 00:23:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 00:23:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 00:23:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 00:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 00:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164441,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 00:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164441,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 00:23:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 00:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 00:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 00:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457690604032001,"66":25299,"97":206,"81":23296,"24":0,"16":144336670949376,"45":3801389957847824384},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-28 00:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 00:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 00:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457690604032001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:23:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 00:23:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 00:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847824384,"description":"Unknown IO ID 45"} 
[2026-08-28 00:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457690604032001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847824384}} 
[2026-08-28 00:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":164441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":705973,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:23:08] local.INFO: GPS data processed {"connection_id":164441,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:23:08] local.INFO: Acknowledgment sent {"connection_id":164441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:23:32] local.INFO: TCP Data received {"connection_id":164442,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:23:32] local.INFO: Processing buffer {"connection_id":164442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:23:32] local.INFO: IMEI packet received {"connection_id":164442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 00:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":164442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 00:23:41] local.INFO: TCP Data received {"connection_id":164442,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:23:41] local.INFO: Processing buffer {"connection_id":164442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:23:41] local.INFO: IMEI packet received {"connection_id":164442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 00:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":164442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 00:23:42] local.INFO: TCP Data received {"connection_id":164442,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0448ea450012d34c14006aa4818000000e62c..."} 
[2026-08-28 00:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0448ea450012d34c14006aa4818000000e62c..."} 
[2026-08-28 00:23:42] local.INFO: Processing buffer {"connection_id":164442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0448ea450012d34c14006aa4818000000e62c..."} 
[2026-08-28 00:23:42] local.INFO: Packet analysis {"connection_id":164442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0448e"} 
[2026-08-28 00:23:42] local.INFO: Extracted packet for processing {"connection_id":164442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0448e"} 
[2026-08-28 00:23:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":0,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-28 00: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-28 00:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691211008001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:23:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:23:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:23:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 00:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787856594000,"timestamp_ms":1787856594000,"timestamp_seconds":1787856594,"priority":1,"record_length":96,"hex_timestamp":"000001a0448ea450"} 
[2026-08-28 00: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-28 00:23:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-28 00:23:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 00: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-28 00: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-28 00:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":164442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":164442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":164442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:23: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-28 00:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691211008001,"66":25321,"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-28 00:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691211008001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:23:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00: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-28 00:23:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691211008001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":164442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":705974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:23:42] local.INFO: GPS data processed {"connection_id":164442,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:23:42] local.INFO: Acknowledgment sent {"connection_id":164442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:24:13] local.INFO: TCP Data received {"connection_id":164442,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0448ea450012d34c14006aa4818000000e62c..."} 
[2026-08-28 00:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0448ea450012d34c14006aa4818000000e62c..."} 
[2026-08-28 00:24:13] local.INFO: Processing buffer {"connection_id":164442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0448ea450012d34c14006aa4818000000e62c..."} 
[2026-08-28 00:24:13] local.INFO: Packet analysis {"connection_id":164442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0448e"} 
[2026-08-28 00:24:13] local.INFO: Extracted packet for processing {"connection_id":164442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0448e"} 
[2026-08-28 00:24:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":0,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-28 00: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-28 00:24:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691211008001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:24:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:24:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:24:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:24: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-28 00:24:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787856594000,"timestamp_ms":1787856594000,"timestamp_seconds":1787856594,"priority":1,"record_length":96,"hex_timestamp":"000001a0448ea450"} 
[2026-08-28 00: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-28 00:24:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-28 00:24:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 00: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-28 00: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-28 00:24:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:24:13] local.INFO: Teltonika packet parsed successfully {"connection_id":164442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:24:13] local.INFO: Passing IMEI to GPS processor {"connection_id":164442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:24:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":164442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:24: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-28 00:24:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:24:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:24:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691211008001,"66":25321,"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-28 00:24:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:24:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:24:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691211008001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:24:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00: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-28 00:24:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:24:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691211008001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:24:13] local.INFO: DEBUG: GPS processor result {"connection_id":164442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":705975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:24:13] local.INFO: GPS data processed {"connection_id":164442,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:24:13] local.INFO: Acknowledgment sent {"connection_id":164442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:24:32] local.INFO: TCP Data received {"connection_id":163176,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:24:32] local.INFO: Processing buffer {"connection_id":163176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:24:32] local.INFO: IMEI packet received {"connection_id":163176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 00:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":163176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 00:24:34] local.INFO: TCP Data received {"connection_id":163177,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 00:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163177,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 00:24:34] local.INFO: Processing buffer {"connection_id":163177,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 00:24:34] local.INFO: IMEI packet received {"connection_id":163177,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 00:24:34] local.INFO: IMEI acknowledgment sent {"connection_id":163177,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 00:24:39] local.INFO: TCP Data received {"connection_id":163176,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:24:39] local.INFO: Processing buffer {"connection_id":163176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:24:39] local.INFO: IMEI packet received {"connection_id":163176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 00:24:39] local.INFO: IMEI acknowledgment sent {"connection_id":163176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 00:24:40] local.INFO: TCP Data received {"connection_id":163176,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0448ea450012d34c14006aa4818000000e62c..."} 
[2026-08-28 00:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0448ea450012d34c14006aa4818000000e62c..."} 
[2026-08-28 00:24:40] local.INFO: Processing buffer {"connection_id":163176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0448ea450012d34c14006aa4818000000e62c..."} 
[2026-08-28 00:24:40] local.INFO: Packet analysis {"connection_id":163176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0448e"} 
[2026-08-28 00:24:40] local.INFO: Extracted packet for processing {"connection_id":163176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0448e"} 
[2026-08-28 00:24:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":0,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-28 00:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 00:24:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691211008001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:24:40] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:24:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:24:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:24:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 00:24:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787856594000,"timestamp_ms":1787856594000,"timestamp_seconds":1787856594,"priority":1,"record_length":96,"hex_timestamp":"000001a0448ea450"} 
[2026-08-28 00:24:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 00:24:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-28 00:24:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 00:24:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 00:24:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 00:24:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:24:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:24:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:24:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:24: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-28 00:24:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:24:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:24:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691211008001,"66":25321,"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-28 00:24:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:24:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:24:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691211008001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:24:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00:24: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-28 00:24:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:24:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691211008001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:24:40] local.INFO: DEBUG: GPS processor result {"connection_id":163176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":705976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:24:40] local.INFO: GPS data processed {"connection_id":163176,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:24:40] local.INFO: Acknowledgment sent {"connection_id":163176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:24:43] local.INFO: TCP Data received {"connection_id":163176,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0448ea450012d34c14006aa4818000000e62c..."} 
[2026-08-28 00:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0448ea450012d34c14006aa4818000000e62c..."} 
[2026-08-28 00:24:43] local.INFO: Processing buffer {"connection_id":163176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0448ea450012d34c14006aa4818000000e62c..."} 
[2026-08-28 00:24:43] local.INFO: Packet analysis {"connection_id":163176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0448e"} 
[2026-08-28 00:24:43] local.INFO: Extracted packet for processing {"connection_id":163176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0448e"} 
[2026-08-28 00:24:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":0,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-28 00: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-28 00:24:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691211008001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:24:43] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:24:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:24:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:24: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-28 00:24:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787856594000,"timestamp_ms":1787856594000,"timestamp_seconds":1787856594,"priority":1,"record_length":96,"hex_timestamp":"000001a0448ea450"} 
[2026-08-28 00: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-28 00:24:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-28 00:24:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 00: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-28 00: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-28 00:24:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:24:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:24:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:24:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:24: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-28 00:24:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:24:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:24:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691211008001,"66":25321,"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-28 00:24:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:24:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:24:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691211008001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:24:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00: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-28 00:24:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:24:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691211008001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:24:43] local.INFO: DEBUG: GPS processor result {"connection_id":163176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":705977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:24:43] local.INFO: GPS data processed {"connection_id":163176,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:24:43] local.INFO: Acknowledgment sent {"connection_id":163176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:25:14] local.INFO: TCP Data received {"connection_id":163176,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0448ea450012d34c14006aa4818000000e62c..."} 
[2026-08-28 00:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0448ea450012d34c14006aa4818000000e62c..."} 
[2026-08-28 00:25:14] local.INFO: Processing buffer {"connection_id":163176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0448ea450012d34c14006aa4818000000e62c..."} 
[2026-08-28 00:25:14] local.INFO: Packet analysis {"connection_id":163176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0448e"} 
[2026-08-28 00:25:14] local.INFO: Extracted packet for processing {"connection_id":163176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0448e"} 
[2026-08-28 00:25:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":0,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-28 00: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-28 00:25:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691211008001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:25:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:25:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:25:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:25: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-28 00:25:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787856594000,"timestamp_ms":1787856594000,"timestamp_seconds":1787856594,"priority":1,"record_length":96,"hex_timestamp":"000001a0448ea450"} 
[2026-08-28 00: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-28 00:25:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-28 00:25:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 00: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-28 00: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-28 00:25:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:25:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:25:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:25:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:25: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-28 00:25:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:25:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:25:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691211008001,"66":25321,"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-28 00:25:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:25:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:25:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691211008001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:25:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00: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-28 00:25:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:25:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691211008001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:25:14] local.INFO: DEBUG: GPS processor result {"connection_id":163176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":705978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:25:14] local.INFO: GPS data processed {"connection_id":163176,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:25:14] local.INFO: Acknowledgment sent {"connection_id":163176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:25:32] local.INFO: TCP Data received {"connection_id":164443,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:25:32] local.INFO: Processing buffer {"connection_id":164443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:25:32] local.INFO: IMEI packet received {"connection_id":164443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 00:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":164443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 00:25:33] local.INFO: TCP Data received {"connection_id":164443,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:25:33] local.INFO: Processing buffer {"connection_id":164443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:25:33] local.INFO: IMEI packet received {"connection_id":164443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 00:25:33] local.INFO: IMEI acknowledgment sent {"connection_id":164443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 00:25:38] local.INFO: TCP Data received {"connection_id":164443,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:25:38] local.INFO: Processing buffer {"connection_id":164443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:25:38] local.INFO: IMEI packet received {"connection_id":164443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 00:25:38] local.INFO: IMEI acknowledgment sent {"connection_id":164443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 00:25:39] local.INFO: TCP Data received {"connection_id":164443,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a044933c18012d34c14006aa4818000300e62c..."} 
[2026-08-28 00:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044933c18012d34c14006aa4818000300e62c..."} 
[2026-08-28 00:25:39] local.INFO: Processing buffer {"connection_id":164443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044933c18012d34c14006aa4818000300e62c..."} 
[2026-08-28 00:25:39] local.INFO: Packet analysis {"connection_id":164443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04493"} 
[2026-08-28 00:25:39] local.INFO: Extracted packet for processing {"connection_id":164443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04493"} 
[2026-08-28 00:25:39] 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-28 00:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 00:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691288064001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:25:39] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:25:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:25:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 00:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787856895000,"timestamp_ms":1787856895000,"timestamp_seconds":1787856895,"priority":1,"record_length":96,"hex_timestamp":"000001a044933c18"} 
[2026-08-28 00:25:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 00:25:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 00:25:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 00:25:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 00:25:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 00:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":164443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":164443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":164443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:25:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 00:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691288064001,"66":25288,"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-28 00:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691288064001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:25:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 00:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691288064001,"power":25288,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":164443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":705979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:25:39] local.INFO: GPS data processed {"connection_id":164443,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:25:39] local.INFO: Acknowledgment sent {"connection_id":164443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:26:11] local.INFO: TCP Data received {"connection_id":164443,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a044933c18012d34c14006aa4818000300e62c..."} 
[2026-08-28 00:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044933c18012d34c14006aa4818000300e62c..."} 
[2026-08-28 00:26:11] local.INFO: Processing buffer {"connection_id":164443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044933c18012d34c14006aa4818000300e62c..."} 
[2026-08-28 00:26:11] local.INFO: Packet analysis {"connection_id":164443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04493"} 
[2026-08-28 00:26:11] local.INFO: Extracted packet for processing {"connection_id":164443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04493"} 
[2026-08-28 00:26:11] 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-28 00:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 00:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691288064001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:26:11] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:26: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-28 00:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787856895000,"timestamp_ms":1787856895000,"timestamp_seconds":1787856895,"priority":1,"record_length":96,"hex_timestamp":"000001a044933c18"} 
[2026-08-28 00:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 00:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 00:26: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-28 00:26:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 00:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 00:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":164443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":164443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":164443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 00:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691288064001,"66":25288,"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-28 00:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691288064001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:26:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00:26: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-28 00:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691288064001,"power":25288,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":164443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":705980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:26:11] local.INFO: GPS data processed {"connection_id":164443,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:26:11] local.INFO: Acknowledgment sent {"connection_id":164443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:26:37] local.INFO: TCP Data received {"connection_id":163425,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:26:37] local.INFO: Processing buffer {"connection_id":163425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:26:37] local.INFO: IMEI packet received {"connection_id":163425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 00:26:37] local.INFO: IMEI acknowledgment sent {"connection_id":163425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 00:26:42] local.INFO: TCP Data received {"connection_id":163425,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:26:42] local.INFO: Processing buffer {"connection_id":163425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:26:42] local.INFO: IMEI packet received {"connection_id":163425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 00:26:42] local.INFO: IMEI acknowledgment sent {"connection_id":163425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 00:26:43] local.INFO: TCP Data received {"connection_id":163425,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a044933c18012d34c14006aa4818000300e62c..."} 
[2026-08-28 00:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044933c18012d34c14006aa4818000300e62c..."} 
[2026-08-28 00:26:43] local.INFO: Processing buffer {"connection_id":163425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044933c18012d34c14006aa4818000300e62c..."} 
[2026-08-28 00:26:43] local.INFO: Packet analysis {"connection_id":163425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04493"} 
[2026-08-28 00:26:43] local.INFO: Extracted packet for processing {"connection_id":163425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04493"} 
[2026-08-28 00: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":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-28 00: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-28 00:26:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691288064001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:26:43] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:26:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:26:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:26: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-28 00:26:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787856895000,"timestamp_ms":1787856895000,"timestamp_seconds":1787856895,"priority":1,"record_length":96,"hex_timestamp":"000001a044933c18"} 
[2026-08-28 00: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-28 00:26:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 00:26: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-28 00: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-28 00: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-28 00:26:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:26:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:26:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:26:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00: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-28 00:26:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:26:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:26:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691288064001,"66":25288,"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-28 00:26:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:26:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:26:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691288064001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:26:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00: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-28 00:26:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:26:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691288064001,"power":25288,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:26:43] local.INFO: DEBUG: GPS processor result {"connection_id":163425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":705981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:26:43] local.INFO: GPS data processed {"connection_id":163425,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:26:43] local.INFO: Acknowledgment sent {"connection_id":163425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:26:48] local.INFO: TCP Data received {"connection_id":163425,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a044933c18012d34c14006aa4818000300e62c..."} 
[2026-08-28 00:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044933c18012d34c14006aa4818000300e62c..."} 
[2026-08-28 00:26:48] local.INFO: Processing buffer {"connection_id":163425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044933c18012d34c14006aa4818000300e62c..."} 
[2026-08-28 00:26:48] local.INFO: Packet analysis {"connection_id":163425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04493"} 
[2026-08-28 00:26:48] local.INFO: Extracted packet for processing {"connection_id":163425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04493"} 
[2026-08-28 00:26: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-28 00:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 00:26:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691288064001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:26:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:26:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:26:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:26: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-28 00:26:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787856895000,"timestamp_ms":1787856895000,"timestamp_seconds":1787856895,"priority":1,"record_length":96,"hex_timestamp":"000001a044933c18"} 
[2026-08-28 00:26:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 00:26:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 00:26: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-28 00:26:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 00:26:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 00:26:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:26:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:26:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:26:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:26: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-28 00:26:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:26:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:26:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691288064001,"66":25288,"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-28 00:26:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:26:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:26:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691288064001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:26:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00:26: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-28 00:26:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:26:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691288064001,"power":25288,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:26:48] local.INFO: DEBUG: GPS processor result {"connection_id":163425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":705982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:26:48] local.INFO: GPS data processed {"connection_id":163425,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:26:48] local.INFO: Acknowledgment sent {"connection_id":163425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:26:53] local.INFO: TCP Data received {"connection_id":163425,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a044933c18012d34c14006aa4818000300e62c..."} 
[2026-08-28 00:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044933c18012d34c14006aa4818000300e62c..."} 
[2026-08-28 00:26:53] local.INFO: Processing buffer {"connection_id":163425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044933c18012d34c14006aa4818000300e62c..."} 
[2026-08-28 00:26:53] local.INFO: Packet analysis {"connection_id":163425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04493"} 
[2026-08-28 00:26:53] local.INFO: Extracted packet for processing {"connection_id":163425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04493"} 
[2026-08-28 00:26: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-28 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-28 00:26:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691288064001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:26:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:26:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:26:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:26: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-28 00:26:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787856895000,"timestamp_ms":1787856895000,"timestamp_seconds":1787856895,"priority":1,"record_length":96,"hex_timestamp":"000001a044933c18"} 
[2026-08-28 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-28 00:26:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 00:26: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-28 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-28 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-28 00:26:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:26:53] local.INFO: Teltonika packet parsed successfully {"connection_id":163425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:26:53] local.INFO: Passing IMEI to GPS processor {"connection_id":163425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:26:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":163425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:26: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-28 00:26:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:26:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:26:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691288064001,"66":25288,"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-28 00:26:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:26:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:26:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691288064001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:26:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00:26: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-28 00:26:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:26:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691288064001,"power":25288,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:26:53] local.INFO: DEBUG: GPS processor result {"connection_id":163425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":705983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:26:53] local.INFO: GPS data processed {"connection_id":163425,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:26:53] local.INFO: Acknowledgment sent {"connection_id":163425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:27:32] local.INFO: TCP Data received {"connection_id":163178,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:27:32] local.INFO: Processing buffer {"connection_id":163178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:27:32] local.INFO: IMEI packet received {"connection_id":163178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 00:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":163178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 00:27:38] local.INFO: TCP Data received {"connection_id":163178,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:27:38] local.INFO: Processing buffer {"connection_id":163178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:27:38] local.INFO: IMEI packet received {"connection_id":163178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 00:27:38] local.INFO: IMEI acknowledgment sent {"connection_id":163178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 00:27:39] local.INFO: TCP Data received {"connection_id":163178,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a044933c18012d34c14006aa4818000300e62c..."} 
[2026-08-28 00:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044933c18012d34c14006aa4818000300e62c..."} 
[2026-08-28 00:27:39] local.INFO: Processing buffer {"connection_id":163178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044933c18012d34c14006aa4818000300e62c..."} 
[2026-08-28 00:27:39] local.INFO: Packet analysis {"connection_id":163178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04493"} 
[2026-08-28 00:27:39] local.INFO: Extracted packet for processing {"connection_id":163178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04493"} 
[2026-08-28 00:27:39] 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-28 00:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 00:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691288064001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:27:39] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:27:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:27:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 00:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787856895000,"timestamp_ms":1787856895000,"timestamp_seconds":1787856895,"priority":1,"record_length":96,"hex_timestamp":"000001a044933c18"} 
[2026-08-28 00:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 00:27:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 00:27:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 00:27:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 00:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 00:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":163178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":163178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":163178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:27:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 00:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691288064001,"66":25288,"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-28 00:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691288064001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:27:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 00:27:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691288064001,"power":25288,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":163178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":705984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:27:39] local.INFO: GPS data processed {"connection_id":163178,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:27:39] local.INFO: Acknowledgment sent {"connection_id":163178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:28:11] local.INFO: TCP Data received {"connection_id":163178,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a044933c18012d34c14006aa4818000300e62c..."} 
[2026-08-28 00:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044933c18012d34c14006aa4818000300e62c..."} 
[2026-08-28 00:28:11] local.INFO: Processing buffer {"connection_id":163178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044933c18012d34c14006aa4818000300e62c..."} 
[2026-08-28 00:28:11] local.INFO: Packet analysis {"connection_id":163178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04493"} 
[2026-08-28 00:28:11] local.INFO: Extracted packet for processing {"connection_id":163178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04493"} 
[2026-08-28 00:28:11] 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-28 00:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 00:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691288064001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:28:11] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:28:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:28: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-28 00:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787856895000,"timestamp_ms":1787856895000,"timestamp_seconds":1787856895,"priority":1,"record_length":96,"hex_timestamp":"000001a044933c18"} 
[2026-08-28 00:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 00:28:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 00:28:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 00:28:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 00:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 00:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":163178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":163178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":163178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:28:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 00:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691288064001,"66":25288,"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-28 00:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691288064001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:28:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00:28: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-28 00:28:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691288064001,"power":25288,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":163178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":705985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:28:11] local.INFO: GPS data processed {"connection_id":163178,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:28:11] local.INFO: Acknowledgment sent {"connection_id":163178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:28:32] local.INFO: TCP Data received {"connection_id":165780,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:28:32] local.INFO: Processing buffer {"connection_id":165780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:28:32] local.INFO: IMEI packet received {"connection_id":165780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 00:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":165780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 00:28:37] local.INFO: TCP Data received {"connection_id":165780,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:28:37] local.INFO: Processing buffer {"connection_id":165780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:28:37] local.INFO: IMEI packet received {"connection_id":165780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 00:28:37] local.INFO: IMEI acknowledgment sent {"connection_id":165780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 00:28:38] local.INFO: TCP Data received {"connection_id":165780,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a044933c18012d34c14006aa4818000300e62c..."} 
[2026-08-28 00:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044933c18012d34c14006aa4818000300e62c..."} 
[2026-08-28 00:28:38] local.INFO: Processing buffer {"connection_id":165780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044933c18012d34c14006aa4818000300e62c..."} 
[2026-08-28 00:28:38] local.INFO: Packet analysis {"connection_id":165780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04493"} 
[2026-08-28 00:28:38] local.INFO: Extracted packet for processing {"connection_id":165780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04493"} 
[2026-08-28 00:28:38] 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-28 00:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 00:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691288064001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:28:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:28: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-28 00:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787856895000,"timestamp_ms":1787856895000,"timestamp_seconds":1787856895,"priority":1,"record_length":96,"hex_timestamp":"000001a044933c18"} 
[2026-08-28 00:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 00:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 00:28:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 00:28:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 00:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 00:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":165780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":165780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":165780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 00:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691288064001,"66":25288,"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-28 00:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691288064001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:28:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00:28: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-28 00:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691288064001,"power":25288,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":165780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":705986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:28:38] local.INFO: GPS data processed {"connection_id":165780,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:28:38] local.INFO: Acknowledgment sent {"connection_id":165780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:29:11] local.INFO: TCP Data received {"connection_id":165780,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a044933c18012d34c14006aa4818000300e62c..."} 
[2026-08-28 00:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044933c18012d34c14006aa4818000300e62c..."} 
[2026-08-28 00:29:11] local.INFO: Processing buffer {"connection_id":165780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044933c18012d34c14006aa4818000300e62c..."} 
[2026-08-28 00:29:11] local.INFO: Packet analysis {"connection_id":165780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04493"} 
[2026-08-28 00:29:11] local.INFO: Extracted packet for processing {"connection_id":165780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04493"} 
[2026-08-28 00:29:11] 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-28 00: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-28 00:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691288064001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:29:11] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:29:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:29: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-28 00:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787856895000,"timestamp_ms":1787856895000,"timestamp_seconds":1787856895,"priority":1,"record_length":96,"hex_timestamp":"000001a044933c18"} 
[2026-08-28 00: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-28 00:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 00:29:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 00: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-28 00: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-28 00:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":165780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":165780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":165780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 00:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691288064001,"66":25288,"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-28 00:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691288064001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:29:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00: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-28 00:29:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691288064001,"power":25288,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":165780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":705987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:29:11] local.INFO: GPS data processed {"connection_id":165780,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:29:11] local.INFO: Acknowledgment sent {"connection_id":165780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:29:33] local.INFO: TCP Data received {"connection_id":163426,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:29:33] local.INFO: Processing buffer {"connection_id":163426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:29:33] local.INFO: IMEI packet received {"connection_id":163426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 00:29:33] local.INFO: IMEI acknowledgment sent {"connection_id":163426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 00:29:37] local.INFO: TCP Data received {"connection_id":163426,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:29:37] local.INFO: Processing buffer {"connection_id":163426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:29:37] local.INFO: IMEI packet received {"connection_id":163426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 00:29:37] local.INFO: IMEI acknowledgment sent {"connection_id":163426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 00:29:38] local.INFO: TCP Data received {"connection_id":163426,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a044933c18012d34c14006aa4818000300e62c..."} 
[2026-08-28 00:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044933c18012d34c14006aa4818000300e62c..."} 
[2026-08-28 00:29:38] local.INFO: Processing buffer {"connection_id":163426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044933c18012d34c14006aa4818000300e62c..."} 
[2026-08-28 00:29:38] local.INFO: Packet analysis {"connection_id":163426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04493"} 
[2026-08-28 00:29:38] local.INFO: Extracted packet for processing {"connection_id":163426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04493"} 
[2026-08-28 00:29:38] 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-28 00:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 00:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691288064001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:29:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:29:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:29: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-28 00:29:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787856895000,"timestamp_ms":1787856895000,"timestamp_seconds":1787856895,"priority":1,"record_length":96,"hex_timestamp":"000001a044933c18"} 
[2026-08-28 00:29:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 00:29:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 00:29:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 00:29:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 00:29:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 00:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:29:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:29:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:29:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:29:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 00:29:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:29:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:29:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691288064001,"66":25288,"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-28 00:29:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:29:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:29:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691288064001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:29:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00:29: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-28 00:29:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:29:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691288064001,"power":25288,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:29:38] 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":705988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:29:38] local.INFO: GPS data processed {"connection_id":163426,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:29:38] local.INFO: Acknowledgment sent {"connection_id":163426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:30:10] local.INFO: TCP Data received {"connection_id":163426,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a044933c18012d34c14006aa4818000300e62c..."} 
[2026-08-28 00:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044933c18012d34c14006aa4818000300e62c..."} 
[2026-08-28 00:30:10] local.INFO: Processing buffer {"connection_id":163426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044933c18012d34c14006aa4818000300e62c..."} 
[2026-08-28 00:30:10] local.INFO: Packet analysis {"connection_id":163426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04493"} 
[2026-08-28 00:30:10] local.INFO: Extracted packet for processing {"connection_id":163426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04493"} 
[2026-08-28 00:30:10] 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-28 00:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 00:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691288064001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:30:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:30:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 00:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787856895000,"timestamp_ms":1787856895000,"timestamp_seconds":1787856895,"priority":1,"record_length":96,"hex_timestamp":"000001a044933c18"} 
[2026-08-28 00:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 00:30:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 00:30:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 00:30:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 00:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 00:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:30:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 00:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691288064001,"66":25288,"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-28 00:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691288064001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:30:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 00:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691288064001,"power":25288,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:30:10] 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":705989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:30:10] local.INFO: GPS data processed {"connection_id":163426,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:30:10] local.INFO: Acknowledgment sent {"connection_id":163426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:30:40] local.INFO: TCP Data received {"connection_id":165781,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:30:40] local.INFO: Processing buffer {"connection_id":165781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:30:40] local.INFO: IMEI packet received {"connection_id":165781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 00:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":165781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 00:30:42] local.INFO: TCP Data received {"connection_id":165781,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:30:42] local.INFO: Processing buffer {"connection_id":165781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:30:42] local.INFO: IMEI packet received {"connection_id":165781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 00:30:42] local.INFO: IMEI acknowledgment sent {"connection_id":165781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 00:30:59] local.INFO: TCP Data received {"connection_id":165781,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a04497d3e0012d34c14006aa4818000500e62b..."} 
[2026-08-28 00:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04497d3e0012d34c14006aa4818000500e62b..."} 
[2026-08-28 00:30:59] local.INFO: Processing buffer {"connection_id":165781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04497d3e0012d34c14006aa4818000500e62b..."} 
[2026-08-28 00:30:59] local.INFO: Packet analysis {"connection_id":165781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04497"} 
[2026-08-28 00:30:59] local.INFO: Extracted packet for processing {"connection_id":165781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04497"} 
[2026-08-28 00:30:59] 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-28 00:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 00:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691365120001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:30:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:30: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-28 00:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787857196000,"timestamp_ms":1787857196000,"timestamp_seconds":1787857196,"priority":1,"record_length":96,"hex_timestamp":"000001a04497d3e0"} 
[2026-08-28 00:30:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 00:30:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 00:30:59] 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-28 00:30:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 00:30:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 00:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":165781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":165781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":165781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:30:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 00:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691365120001,"66":25343,"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-28 00:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691365120001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:30:59] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 00:30:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00:30: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-28 00:30:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691365120001,"power":25343,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:30:59] local.INFO: DEBUG: GPS processor result {"connection_id":165781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":705990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:30:59] local.INFO: GPS data processed {"connection_id":165781,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:30:59] local.INFO: Acknowledgment sent {"connection_id":165781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:31:10] local.INFO: TCP Data received {"connection_id":165781,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a04497d3e0012d34c14006aa4818000500e62b..."} 
[2026-08-28 00:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04497d3e0012d34c14006aa4818000500e62b..."} 
[2026-08-28 00:31:10] local.INFO: Processing buffer {"connection_id":165781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04497d3e0012d34c14006aa4818000500e62b..."} 
[2026-08-28 00:31:10] local.INFO: Packet analysis {"connection_id":165781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04497"} 
[2026-08-28 00:31:10] local.INFO: Extracted packet for processing {"connection_id":165781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04497"} 
[2026-08-28 00:31:10] 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-28 00:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 00:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691365120001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:31:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:31:10] 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-28 00:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787857196000,"timestamp_ms":1787857196000,"timestamp_seconds":1787857196,"priority":1,"record_length":96,"hex_timestamp":"000001a04497d3e0"} 
[2026-08-28 00:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 00:31:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 00:31:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 00:31:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 00:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 00:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":165781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":165781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":165781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:31:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 00:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691365120001,"66":25343,"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-28 00:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691365120001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:31:10] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 00:31:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 00:31:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691365120001,"power":25343,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":165781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":705991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:31:10] local.INFO: GPS data processed {"connection_id":165781,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:31:10] local.INFO: Acknowledgment sent {"connection_id":165781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:31:32] local.INFO: TCP Data received {"connection_id":163179,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:31:32] local.INFO: Processing buffer {"connection_id":163179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:31:32] local.INFO: IMEI packet received {"connection_id":163179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 00:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":163179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 00:31:33] local.INFO: TCP Data received {"connection_id":163427,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 00:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163427,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 00:31:33] local.INFO: Processing buffer {"connection_id":163427,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 00:31:33] local.INFO: IMEI packet received {"connection_id":163427,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 00:31:33] local.INFO: IMEI acknowledgment sent {"connection_id":163427,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 00:31:37] local.INFO: TCP Data received {"connection_id":163179,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:31:37] local.INFO: Processing buffer {"connection_id":163179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:31:37] local.INFO: IMEI packet received {"connection_id":163179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 00:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":163179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 00:31:41] local.INFO: TCP Data received {"connection_id":163179,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a04497d3e0012d34c14006aa4818000500e62b..."} 
[2026-08-28 00:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04497d3e0012d34c14006aa4818000500e62b..."} 
[2026-08-28 00:31:41] local.INFO: Processing buffer {"connection_id":163179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04497d3e0012d34c14006aa4818000500e62b..."} 
[2026-08-28 00:31:41] local.INFO: Packet analysis {"connection_id":163179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04497"} 
[2026-08-28 00:31:41] local.INFO: Extracted packet for processing {"connection_id":163179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04497"} 
[2026-08-28 00:31:41] 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-28 00:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 00:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691365120001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:31:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:31:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:31:41] 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-28 00:31:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787857196000,"timestamp_ms":1787857196000,"timestamp_seconds":1787857196,"priority":1,"record_length":96,"hex_timestamp":"000001a04497d3e0"} 
[2026-08-28 00:31:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 00:31:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 00:31:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 00:31:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 00:31:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 00:31:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:31:41] local.INFO: Teltonika packet parsed successfully {"connection_id":163179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:31:41] local.INFO: Passing IMEI to GPS processor {"connection_id":163179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:31:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":163179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:31:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 00:31:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:31:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:31:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691365120001,"66":25343,"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-28 00:31:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:31:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:31:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691365120001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:31:41] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 00:31:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00:31: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-28 00:31:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:31:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691365120001,"power":25343,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":163179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":705992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:31:41] local.INFO: GPS data processed {"connection_id":163179,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:31:41] local.INFO: Acknowledgment sent {"connection_id":163179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:32:14] local.INFO: TCP Data received {"connection_id":163179,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a04497d3e0012d34c14006aa4818000500e62b..."} 
[2026-08-28 00:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04497d3e0012d34c14006aa4818000500e62b..."} 
[2026-08-28 00:32:14] local.INFO: Processing buffer {"connection_id":163179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04497d3e0012d34c14006aa4818000500e62b..."} 
[2026-08-28 00:32:14] local.INFO: Packet analysis {"connection_id":163179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04497"} 
[2026-08-28 00:32:14] local.INFO: Extracted packet for processing {"connection_id":163179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04497"} 
[2026-08-28 00:32: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-28 00: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-28 00:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691365120001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:32:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:32: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-28 00:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787857196000,"timestamp_ms":1787857196000,"timestamp_seconds":1787857196,"priority":1,"record_length":96,"hex_timestamp":"000001a04497d3e0"} 
[2026-08-28 00: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-28 00:32:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00: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":200,"data_length":795,"current_offset":136} 
[2026-08-28 00:32:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 00: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-28 00: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-28 00:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:32: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-28 00:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691365120001,"66":25343,"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-28 00:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691365120001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:32:14] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 00:32:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00: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-28 00:32:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691365120001,"power":25343,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":163179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":705993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:32:14] local.INFO: GPS data processed {"connection_id":163179,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:32:14] local.INFO: Acknowledgment sent {"connection_id":163179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:35:03] local.INFO: TCP Data received {"connection_id":163428,"ip":"42.109.136.2","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-28 00:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163428,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-28 00:35:03] local.INFO: Processing buffer {"connection_id":163428,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-28 00:35:03] local.INFO: IMEI packet received {"connection_id":163428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 00:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":163428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 00:35:14] local.INFO: TCP Data received {"connection_id":164444,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:35:14] local.INFO: Processing buffer {"connection_id":164444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:35:14] local.INFO: IMEI packet received {"connection_id":164444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 00:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":164444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 00:37:51] local.INFO: TCP Data received {"connection_id":165782,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 00:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165782,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 00:37:51] local.INFO: Processing buffer {"connection_id":165782,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 00:37:51] local.INFO: IMEI packet received {"connection_id":165782,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 00:37:51] local.INFO: IMEI acknowledgment sent {"connection_id":165782,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 00:38:03] local.INFO: TCP Data received {"connection_id":164445,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 00:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164445,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 00:38:03] local.INFO: Processing buffer {"connection_id":164445,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 00:38:03] local.INFO: IMEI packet received {"connection_id":164445,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 00:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":164445,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 00:40:13] local.INFO: TCP Data received {"connection_id":164446,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:40:13] local.INFO: Processing buffer {"connection_id":164446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:40:13] local.INFO: IMEI packet received {"connection_id":164446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 00:40:13] local.INFO: IMEI acknowledgment sent {"connection_id":164446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 00:40:20] local.INFO: TCP Data received {"connection_id":164446,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0449c6ba8012d34c14006aa4818000900e62d..."} 
[2026-08-28 00:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0449c6ba8012d34c14006aa4818000900e62d..."} 
[2026-08-28 00:40:20] local.INFO: Processing buffer {"connection_id":164446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0449c6ba8012d34c14006aa4818000900e62d..."} 
[2026-08-28 00:40:20] local.INFO: Packet analysis {"connection_id":164446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0449c"} 
[2026-08-28 00:40:20] local.INFO: Extracted packet for processing {"connection_id":164446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0449c"} 
[2026-08-28 00:40: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":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-28 00:40:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 00:40:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691442176001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:40:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:40:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:40: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-28 00:40:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787857497000,"timestamp_ms":1787857497000,"timestamp_seconds":1787857497,"priority":1,"record_length":96,"hex_timestamp":"000001a0449c6ba8"} 
[2026-08-28 00:40:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 00:40:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00:40:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 00:40: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-28 00:40:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 00:40:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 00:40:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:40:20] local.INFO: Teltonika packet parsed successfully {"connection_id":164446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:40:20] local.INFO: Passing IMEI to GPS processor {"connection_id":164446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:40:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":164446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:40: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-28 00:40:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:40:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:40:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691442176001,"66":25321,"32":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,32,81,24,16,45]} 
[2026-08-28 00:40:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:40:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:40:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691442176001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:40:20] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 00:40:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00:40: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-28 00:40:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:40:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691442176001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:40:20] local.INFO: DEBUG: GPS processor result {"connection_id":164446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":705994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:40:20] local.INFO: GPS data processed {"connection_id":164446,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:40:20] local.INFO: Acknowledgment sent {"connection_id":164446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:40:37] local.INFO: TCP Data received {"connection_id":163183,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:40:37] local.INFO: Processing buffer {"connection_id":163183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:40:37] local.INFO: IMEI packet received {"connection_id":163183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 00:40:37] local.INFO: IMEI acknowledgment sent {"connection_id":163183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 00:40:38] local.INFO: TCP Data received {"connection_id":163183,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:40:38] local.INFO: Processing buffer {"connection_id":163183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:40:38] local.INFO: IMEI packet received {"connection_id":163183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 00:40:38] local.INFO: IMEI acknowledgment sent {"connection_id":163183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 00:40:45] local.INFO: TCP Data received {"connection_id":163183,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:40:45] local.INFO: Processing buffer {"connection_id":163183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:40:45] local.INFO: IMEI packet received {"connection_id":163183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 00:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":163183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 00:40:49] local.INFO: TCP Data received {"connection_id":163183,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a044a10370012d34c14006aa4818000500e62d..."} 
[2026-08-28 00:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044a10370012d34c14006aa4818000500e62d..."} 
[2026-08-28 00:40:49] local.INFO: Processing buffer {"connection_id":163183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044a10370012d34c14006aa4818000500e62d..."} 
[2026-08-28 00:40:49] local.INFO: Packet analysis {"connection_id":163183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044a1"} 
[2026-08-28 00:40:49] local.INFO: Extracted packet for processing {"connection_id":163183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044a1"} 
[2026-08-28 00:40: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":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-28 00: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-28 00:40:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691519232001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:40:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:40:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:40: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-28 00:40:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787857798000,"timestamp_ms":1787857798000,"timestamp_seconds":1787857798,"priority":1,"record_length":96,"hex_timestamp":"000001a044a10370"} 
[2026-08-28 00: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-28 00:40:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00: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-28 00: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-28 00: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-28 00: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-28 00:40:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:40:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:40:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:40:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:40: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-28 00:40:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:40:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:40:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691519232001,"66":25321,"32":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,32,81,24,16,45]} 
[2026-08-28 00:40:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:40:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:40:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691519232001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:40:49] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 00:40:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00: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-28 00:40:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:40:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691519232001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:40:49] local.INFO: DEBUG: GPS processor result {"connection_id":163183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":705995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:40:49] local.INFO: GPS data processed {"connection_id":163183,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:40:49] local.INFO: Acknowledgment sent {"connection_id":163183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:41:41] local.INFO: TCP Data received {"connection_id":165783,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:41:41] local.INFO: Processing buffer {"connection_id":165783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:41:41] local.INFO: IMEI packet received {"connection_id":165783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 00:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":165783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 00:41:42] local.INFO: TCP Data received {"connection_id":165783,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:41:42] local.INFO: Processing buffer {"connection_id":165783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:41:42] local.INFO: IMEI packet received {"connection_id":165783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 00:41:42] local.INFO: IMEI acknowledgment sent {"connection_id":165783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 00:41:44] local.INFO: TCP Data received {"connection_id":165783,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a044a10370012d34c14006aa4818000500e62d..."} 
[2026-08-28 00:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044a10370012d34c14006aa4818000500e62d..."} 
[2026-08-28 00:41:44] local.INFO: Processing buffer {"connection_id":165783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044a10370012d34c14006aa4818000500e62d..."} 
[2026-08-28 00:41:44] local.INFO: Packet analysis {"connection_id":165783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044a1"} 
[2026-08-28 00:41:44] local.INFO: Extracted packet for processing {"connection_id":165783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044a1"} 
[2026-08-28 00:41: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-28 00: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-28 00:41:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691519232001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:41:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:41:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:41: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-28 00:41:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787857798000,"timestamp_ms":1787857798000,"timestamp_seconds":1787857798,"priority":1,"record_length":96,"hex_timestamp":"000001a044a10370"} 
[2026-08-28 00: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-28 00:41:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00: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-28 00: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-28 00: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-28 00: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-28 00:41:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:41:44] local.INFO: Teltonika packet parsed successfully {"connection_id":165783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:41:44] local.INFO: Passing IMEI to GPS processor {"connection_id":165783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:41:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":165783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:41: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-28 00:41:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:41:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:41:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691519232001,"66":25321,"32":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,32,81,24,16,45]} 
[2026-08-28 00:41:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:41:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:41:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691519232001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:41:44] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 00:41:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00: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-28 00:41:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:41:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691519232001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:41:44] local.INFO: DEBUG: GPS processor result {"connection_id":165783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":705996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:41:44] local.INFO: GPS data processed {"connection_id":165783,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:41:44] local.INFO: Acknowledgment sent {"connection_id":165783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:41:51] local.INFO: TCP Data received {"connection_id":165783,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a044a10370012d34c14006aa4818000500e62d..."} 
[2026-08-28 00:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044a10370012d34c14006aa4818000500e62d..."} 
[2026-08-28 00:41:51] local.INFO: Processing buffer {"connection_id":165783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044a10370012d34c14006aa4818000500e62d..."} 
[2026-08-28 00:41:51] local.INFO: Packet analysis {"connection_id":165783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044a1"} 
[2026-08-28 00:41:51] local.INFO: Extracted packet for processing {"connection_id":165783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044a1"} 
[2026-08-28 00:41:51] 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-28 00:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 00:41:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691519232001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:41:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:41:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:41: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-28 00:41:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787857798000,"timestamp_ms":1787857798000,"timestamp_seconds":1787857798,"priority":1,"record_length":96,"hex_timestamp":"000001a044a10370"} 
[2026-08-28 00:41:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 00:41:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 00:41: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-28 00:41:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 00:41:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 00:41:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:41:51] local.INFO: Teltonika packet parsed successfully {"connection_id":165783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:41:51] local.INFO: Passing IMEI to GPS processor {"connection_id":165783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:41:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":165783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:41: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-28 00:41:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:41:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:41:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691519232001,"66":25321,"32":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,32,81,24,16,45]} 
[2026-08-28 00:41:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:41:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:41:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691519232001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:41:51] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 00:41:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00:41: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-28 00:41:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:41:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691519232001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":165783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":705997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:41:51] local.INFO: GPS data processed {"connection_id":165783,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:41:51] local.INFO: Acknowledgment sent {"connection_id":165783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:42:33] local.INFO: TCP Data received {"connection_id":163429,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:42:33] local.INFO: Processing buffer {"connection_id":163429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:42:33] local.INFO: IMEI packet received {"connection_id":163429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 00:42:33] local.INFO: IMEI acknowledgment sent {"connection_id":163429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 00:42:37] local.INFO: TCP Data received {"connection_id":163429,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:42:37] local.INFO: Processing buffer {"connection_id":163429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:42:37] local.INFO: IMEI packet received {"connection_id":163429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 00:42:37] local.INFO: IMEI acknowledgment sent {"connection_id":163429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 00:42:40] local.INFO: TCP Data received {"connection_id":163429,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a044a10370012d34c14006aa4818000500e62d..."} 
[2026-08-28 00:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044a10370012d34c14006aa4818000500e62d..."} 
[2026-08-28 00:42:40] local.INFO: Processing buffer {"connection_id":163429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044a10370012d34c14006aa4818000500e62d..."} 
[2026-08-28 00:42:40] local.INFO: Packet analysis {"connection_id":163429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044a1"} 
[2026-08-28 00:42:40] local.INFO: Extracted packet for processing {"connection_id":163429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044a1"} 
[2026-08-28 00:42:40] 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-28 00:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 00:42:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691519232001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:42:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:42:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:42: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-28 00:42:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787857798000,"timestamp_ms":1787857798000,"timestamp_seconds":1787857798,"priority":1,"record_length":96,"hex_timestamp":"000001a044a10370"} 
[2026-08-28 00:42:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 00:42:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 00:42:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 00:42:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 00:42:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 00:42:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:42:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:42:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:42:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:42:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 00:42:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:42:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:42:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691519232001,"66":25321,"32":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,32,81,24,16,45]} 
[2026-08-28 00:42:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:42:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:42:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691519232001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:42:40] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 00:42:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00:42: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-28 00:42:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:42:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691519232001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:42:40] 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":705998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:42:40] local.INFO: GPS data processed {"connection_id":163429,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:42:40] local.INFO: Acknowledgment sent {"connection_id":163429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:42:44] local.INFO: TCP Data received {"connection_id":163429,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a044a10370012d34c14006aa4818000500e62d..."} 
[2026-08-28 00:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044a10370012d34c14006aa4818000500e62d..."} 
[2026-08-28 00:42:44] local.INFO: Processing buffer {"connection_id":163429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044a10370012d34c14006aa4818000500e62d..."} 
[2026-08-28 00:42:44] local.INFO: Packet analysis {"connection_id":163429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044a1"} 
[2026-08-28 00:42:44] local.INFO: Extracted packet for processing {"connection_id":163429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044a1"} 
[2026-08-28 00: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":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-28 00: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-28 00:42:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691519232001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:42:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:42:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:42: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-28 00:42:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787857798000,"timestamp_ms":1787857798000,"timestamp_seconds":1787857798,"priority":1,"record_length":96,"hex_timestamp":"000001a044a10370"} 
[2026-08-28 00: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-28 00:42:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00: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":233,"data_length":795,"current_offset":136} 
[2026-08-28 00:42: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-28 00: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-28 00: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-28 00:42:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:42:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:42:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:42:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:42: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-28 00:42:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:42:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:42:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691519232001,"66":25321,"32":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,32,81,24,16,45]} 
[2026-08-28 00:42:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:42:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:42:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691519232001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:42:44] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 00:42:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00: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-28 00:42:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:42:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691519232001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:42: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":705999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:42:44] local.INFO: GPS data processed {"connection_id":163429,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:42:44] local.INFO: Acknowledgment sent {"connection_id":163429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:43:19] local.INFO: TCP Data received {"connection_id":163429,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a044a10370012d34c14006aa4818000500e62d..."} 
[2026-08-28 00:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044a10370012d34c14006aa4818000500e62d..."} 
[2026-08-28 00:43:19] local.INFO: Processing buffer {"connection_id":163429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044a10370012d34c14006aa4818000500e62d..."} 
[2026-08-28 00:43:19] local.INFO: Packet analysis {"connection_id":163429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044a1"} 
[2026-08-28 00:43:19] local.INFO: Extracted packet for processing {"connection_id":163429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044a1"} 
[2026-08-28 00:43: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-28 00: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-28 00:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691519232001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:43:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:43:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:43: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-28 00:43:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787857798000,"timestamp_ms":1787857798000,"timestamp_seconds":1787857798,"priority":1,"record_length":96,"hex_timestamp":"000001a044a10370"} 
[2026-08-28 00: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-28 00:43:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 00:43:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 00: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-28 00: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-28 00:43:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:43:19] local.INFO: Teltonika packet parsed successfully {"connection_id":163429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:43:19] local.INFO: Passing IMEI to GPS processor {"connection_id":163429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:43:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":163429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:43: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-28 00:43:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:43:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:43:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691519232001,"66":25321,"32":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,32,81,24,16,45]} 
[2026-08-28 00:43:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:43:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:43:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691519232001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:43:19] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 00:43:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00: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-28 00:43:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:43:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691519232001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:43:19] 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":706000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:43:19] local.INFO: GPS data processed {"connection_id":163429,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:43:19] local.INFO: Acknowledgment sent {"connection_id":163429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:43:23] local.INFO: TCP Data received {"connection_id":163184,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 00:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163184,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 00:43:23] local.INFO: Processing buffer {"connection_id":163184,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 00:43:23] local.INFO: IMEI packet received {"connection_id":163184,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 00:43:23] local.INFO: IMEI acknowledgment sent {"connection_id":163184,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 00:43:32] local.INFO: TCP Data received {"connection_id":164447,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:43:32] local.INFO: Processing buffer {"connection_id":164447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:43:32] local.INFO: IMEI packet received {"connection_id":164447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 00:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":164447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 00:43:37] local.INFO: TCP Data received {"connection_id":164447,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:43:37] local.INFO: Processing buffer {"connection_id":164447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:43:37] local.INFO: IMEI packet received {"connection_id":164447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 00:43:37] local.INFO: IMEI acknowledgment sent {"connection_id":164447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 00:43:38] local.INFO: TCP Data received {"connection_id":164447,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a044a10370012d34c14006aa4818000500e62d..."} 
[2026-08-28 00:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044a10370012d34c14006aa4818000500e62d..."} 
[2026-08-28 00:43:38] local.INFO: Processing buffer {"connection_id":164447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044a10370012d34c14006aa4818000500e62d..."} 
[2026-08-28 00:43:38] local.INFO: Packet analysis {"connection_id":164447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044a1"} 
[2026-08-28 00:43:38] local.INFO: Extracted packet for processing {"connection_id":164447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044a1"} 
[2026-08-28 00:43:38] 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-28 00:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 00:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691519232001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:43: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-28 00:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787857798000,"timestamp_ms":1787857798000,"timestamp_seconds":1787857798,"priority":1,"record_length":96,"hex_timestamp":"000001a044a10370"} 
[2026-08-28 00:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 00:43:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 00:43:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 00:43:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 00:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 00:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:43:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 00:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691519232001,"66":25321,"32":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,32,81,24,16,45]} 
[2026-08-28 00:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691519232001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:43:38] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 00:43:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00:43: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-28 00:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691519232001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":164447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:43:38] local.INFO: GPS data processed {"connection_id":164447,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:43:38] local.INFO: Acknowledgment sent {"connection_id":164447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:44:13] local.INFO: TCP Data received {"connection_id":164447,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a044a10370012d34c14006aa4818000500e62d..."} 
[2026-08-28 00:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044a10370012d34c14006aa4818000500e62d..."} 
[2026-08-28 00:44:13] local.INFO: Processing buffer {"connection_id":164447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044a10370012d34c14006aa4818000500e62d..."} 
[2026-08-28 00:44:13] local.INFO: Packet analysis {"connection_id":164447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044a1"} 
[2026-08-28 00:44:13] local.INFO: Extracted packet for processing {"connection_id":164447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044a1"} 
[2026-08-28 00:44: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":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-28 00: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-28 00:44:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691519232001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:44:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:44:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:44: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-28 00:44:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787857798000,"timestamp_ms":1787857798000,"timestamp_seconds":1787857798,"priority":1,"record_length":96,"hex_timestamp":"000001a044a10370"} 
[2026-08-28 00: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-28 00:44:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00: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":233,"data_length":795,"current_offset":136} 
[2026-08-28 00:44: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-28 00: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-28 00: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-28 00:44:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:44:13] local.INFO: Teltonika packet parsed successfully {"connection_id":164447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:44:13] local.INFO: Passing IMEI to GPS processor {"connection_id":164447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:44:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":164447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:44: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-28 00:44:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:44:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:44:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691519232001,"66":25321,"32":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,32,81,24,16,45]} 
[2026-08-28 00:44:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:44:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:44:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691519232001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:44:13] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 00:44:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00: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-28 00:44:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:44:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691519232001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:44:13] local.INFO: DEBUG: GPS processor result {"connection_id":164447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:44:13] local.INFO: GPS data processed {"connection_id":164447,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:44:13] local.INFO: Acknowledgment sent {"connection_id":164447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:44:42] local.INFO: TCP Data received {"connection_id":163185,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:44:42] local.INFO: Processing buffer {"connection_id":163185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:44:42] local.INFO: IMEI packet received {"connection_id":163185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 00:44:42] local.INFO: IMEI acknowledgment sent {"connection_id":163185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 00:44:49] local.INFO: TCP Data received {"connection_id":163185,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:44:49] local.INFO: Processing buffer {"connection_id":163185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:44:49] local.INFO: IMEI packet received {"connection_id":163185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 00:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":163185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 00:44:50] local.INFO: TCP Data received {"connection_id":163185,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a044a10370012d34c14006aa4818000500e62d..."} 
[2026-08-28 00:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044a10370012d34c14006aa4818000500e62d..."} 
[2026-08-28 00:44:50] local.INFO: Processing buffer {"connection_id":163185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044a10370012d34c14006aa4818000500e62d..."} 
[2026-08-28 00:44:50] local.INFO: Packet analysis {"connection_id":163185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044a1"} 
[2026-08-28 00:44:50] local.INFO: Extracted packet for processing {"connection_id":163185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044a1"} 
[2026-08-28 00:44: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-28 00:44:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 00:44:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691519232001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:44:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:44:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:44: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-28 00:44:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787857798000,"timestamp_ms":1787857798000,"timestamp_seconds":1787857798,"priority":1,"record_length":96,"hex_timestamp":"000001a044a10370"} 
[2026-08-28 00:44:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 00:44:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00:44:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 00:44: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-28 00:44:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 00:44:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 00:44:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:44:50] local.INFO: Teltonika packet parsed successfully {"connection_id":163185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:44:50] local.INFO: Passing IMEI to GPS processor {"connection_id":163185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:44:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":163185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:44: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-28 00:44:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:44:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:44:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691519232001,"66":25321,"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-28 00:44:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:44:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:44:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691519232001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:44:50] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 00:44:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00:44: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-28 00:44:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:44:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691519232001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:44:50] local.INFO: DEBUG: GPS processor result {"connection_id":163185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:44:50] local.INFO: GPS data processed {"connection_id":163185,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:44:50] local.INFO: Acknowledgment sent {"connection_id":163185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:45:33] local.INFO: TCP Data received {"connection_id":163430,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:45:33] local.INFO: Processing buffer {"connection_id":163430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:45:33] local.INFO: IMEI packet received {"connection_id":163430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 00:45:33] local.INFO: IMEI acknowledgment sent {"connection_id":163430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 00:45:38] local.INFO: TCP Data received {"connection_id":163430,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:45:38] local.INFO: Processing buffer {"connection_id":163430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:45:38] local.INFO: IMEI packet received {"connection_id":163430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 00:45:38] local.INFO: IMEI acknowledgment sent {"connection_id":163430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 00:46:13] local.INFO: TCP Data received {"connection_id":163430,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a044a59b38012d34c14006aa4818000600e62b..."} 
[2026-08-28 00:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044a59b38012d34c14006aa4818000600e62b..."} 
[2026-08-28 00:46:13] local.INFO: Processing buffer {"connection_id":163430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044a59b38012d34c14006aa4818000600e62b..."} 
[2026-08-28 00:46:13] local.INFO: Packet analysis {"connection_id":163430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044a5"} 
[2026-08-28 00:46:13] local.INFO: Extracted packet for processing {"connection_id":163430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044a5"} 
[2026-08-28 00:46: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-28 00:46:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 00:46:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691596288001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:46:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:46:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:46: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-28 00:46:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787858099000,"timestamp_ms":1787858099000,"timestamp_seconds":1787858099,"priority":1,"record_length":96,"hex_timestamp":"000001a044a59b38"} 
[2026-08-28 00:46:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 00:46:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00:46:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 00:46: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-28 00:46:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 00:46:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 00:46:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:46:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:46:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:46:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:46: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-28 00:46:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:46:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:46:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691596288001,"66":25299,"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-28 00:46:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:46:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:46:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691596288001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:46:13] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 00:46:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00:46: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-28 00:46:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:46:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691596288001,"power":25299,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:46:13] 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":706004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:46:13] local.INFO: GPS data processed {"connection_id":163430,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:46:13] local.INFO: Acknowledgment sent {"connection_id":163430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:46:18] local.INFO: TCP Data received {"connection_id":163430,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a044a59b38012d34c14006aa4818000600e62b..."} 
[2026-08-28 00:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044a59b38012d34c14006aa4818000600e62b..."} 
[2026-08-28 00:46:18] local.INFO: Processing buffer {"connection_id":163430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044a59b38012d34c14006aa4818000600e62b..."} 
[2026-08-28 00:46:18] local.INFO: Packet analysis {"connection_id":163430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044a5"} 
[2026-08-28 00:46:18] local.INFO: Extracted packet for processing {"connection_id":163430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044a5"} 
[2026-08-28 00:46: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-28 00: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-28 00:46:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691596288001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:46:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:46:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:46: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-28 00:46:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787858099000,"timestamp_ms":1787858099000,"timestamp_seconds":1787858099,"priority":1,"record_length":96,"hex_timestamp":"000001a044a59b38"} 
[2026-08-28 00: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-28 00:46:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 00:46: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-28 00: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-28 00: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-28 00:46:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:46:18] local.INFO: Teltonika packet parsed successfully {"connection_id":163430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:46:18] local.INFO: Passing IMEI to GPS processor {"connection_id":163430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:46:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":163430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:46: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-28 00:46:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:46:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:46:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691596288001,"66":25299,"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-28 00:46:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:46:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:46:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691596288001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:46:18] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 00:46:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00:46: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-28 00:46:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:46:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691596288001,"power":25299,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:46:18] 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":706005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:46:18] local.INFO: GPS data processed {"connection_id":163430,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:46:18] local.INFO: Acknowledgment sent {"connection_id":163430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:46:32] local.INFO: TCP Data received {"connection_id":163431,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:46:32] local.INFO: Processing buffer {"connection_id":163431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:46:32] local.INFO: IMEI packet received {"connection_id":163431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 00:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":163431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 00:46:38] local.INFO: TCP Data received {"connection_id":163431,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:46:38] local.INFO: Processing buffer {"connection_id":163431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:46:38] local.INFO: IMEI packet received {"connection_id":163431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 00:46:38] local.INFO: IMEI acknowledgment sent {"connection_id":163431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 00:46:40] local.INFO: TCP Data received {"connection_id":163431,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a044a59b38012d34c14006aa4818000600e62b..."} 
[2026-08-28 00:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044a59b38012d34c14006aa4818000600e62b..."} 
[2026-08-28 00:46:40] local.INFO: Processing buffer {"connection_id":163431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044a59b38012d34c14006aa4818000600e62b..."} 
[2026-08-28 00:46:40] local.INFO: Packet analysis {"connection_id":163431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044a5"} 
[2026-08-28 00:46:40] local.INFO: Extracted packet for processing {"connection_id":163431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044a5"} 
[2026-08-28 00:46: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-28 00:46:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 00:46:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691596288001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:46:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:46:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:46: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-28 00:46:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787858099000,"timestamp_ms":1787858099000,"timestamp_seconds":1787858099,"priority":1,"record_length":96,"hex_timestamp":"000001a044a59b38"} 
[2026-08-28 00:46:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 00:46:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00:46:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 00:46: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-28 00:46:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 00:46:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 00:46:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:46:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:46:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:46:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:46:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 00:46:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:46:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:46:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691596288001,"66":25299,"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-28 00:46:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:46:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:46:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691596288001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:46:40] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 00:46:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00:46: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-28 00:46:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:46:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691596288001,"power":25299,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:46:40] 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":706006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:46:40] local.INFO: GPS data processed {"connection_id":163431,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:46:40] local.INFO: Acknowledgment sent {"connection_id":163431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:47:16] local.INFO: TCP Data received {"connection_id":163431,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a044a59b38012d34c14006aa4818000600e62b..."} 
[2026-08-28 00:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044a59b38012d34c14006aa4818000600e62b..."} 
[2026-08-28 00:47:16] local.INFO: Processing buffer {"connection_id":163431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044a59b38012d34c14006aa4818000600e62b..."} 
[2026-08-28 00:47:16] local.INFO: Packet analysis {"connection_id":163431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044a5"} 
[2026-08-28 00:47:16] local.INFO: Extracted packet for processing {"connection_id":163431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044a5"} 
[2026-08-28 00:47: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-28 00: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-28 00:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691596288001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:47:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00: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-28 00:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787858099000,"timestamp_ms":1787858099000,"timestamp_seconds":1787858099,"priority":1,"record_length":96,"hex_timestamp":"000001a044a59b38"} 
[2026-08-28 00: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-28 00:47:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 00:47: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-28 00: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-28 00: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-28 00:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:47: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-28 00:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691596288001,"66":25299,"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-28 00:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691596288001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:47:16] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 00:47:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00: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-28 00:47:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691596288001,"power":25299,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:47:16] 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":706007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:47:16] local.INFO: GPS data processed {"connection_id":163431,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:47:16] local.INFO: Acknowledgment sent {"connection_id":163431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:47:47] local.INFO: TCP Data received {"connection_id":163432,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:47:47] local.INFO: Processing buffer {"connection_id":163432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:47:47] local.INFO: IMEI packet received {"connection_id":163432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 00:47:47] local.INFO: IMEI acknowledgment sent {"connection_id":163432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 00:47:56] local.INFO: TCP Data received {"connection_id":163432,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:47:56] local.INFO: Processing buffer {"connection_id":163432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:47:56] local.INFO: IMEI packet received {"connection_id":163432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 00:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":163432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 00:47:59] local.INFO: TCP Data received {"connection_id":163432,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a044a59b38012d34c14006aa4818000600e62b..."} 
[2026-08-28 00:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044a59b38012d34c14006aa4818000600e62b..."} 
[2026-08-28 00:47:59] local.INFO: Processing buffer {"connection_id":163432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044a59b38012d34c14006aa4818000600e62b..."} 
[2026-08-28 00:47:59] local.INFO: Packet analysis {"connection_id":163432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044a5"} 
[2026-08-28 00:47:59] local.INFO: Extracted packet for processing {"connection_id":163432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044a5"} 
[2026-08-28 00:47:59] 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-28 00:47:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 00:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691596288001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:47:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:47: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-28 00:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787858099000,"timestamp_ms":1787858099000,"timestamp_seconds":1787858099,"priority":1,"record_length":96,"hex_timestamp":"000001a044a59b38"} 
[2026-08-28 00:47:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 00:47:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00:47:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 00:47:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 00:47:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 00:47:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 00:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":163432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":163432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":163432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:47:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 00:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691596288001,"66":25299,"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-28 00:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691596288001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:47:59] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 00:47:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00:47: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-28 00:47:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691596288001,"power":25299,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:47:59] 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":706008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:47:59] local.INFO: GPS data processed {"connection_id":163432,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:47:59] local.INFO: Acknowledgment sent {"connection_id":163432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:48:33] local.INFO: TCP Data received {"connection_id":163187,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:48:33] local.INFO: Processing buffer {"connection_id":163187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:48:33] local.INFO: IMEI packet received {"connection_id":163187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 00:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":163187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 00:48:38] local.INFO: TCP Data received {"connection_id":163187,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:48:38] local.INFO: Processing buffer {"connection_id":163187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:48:38] local.INFO: IMEI packet received {"connection_id":163187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 00:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":163187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 00:48:41] local.INFO: TCP Data received {"connection_id":163187,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a044a59b38012d34c14006aa4818000600e62b..."} 
[2026-08-28 00:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044a59b38012d34c14006aa4818000600e62b..."} 
[2026-08-28 00:48:41] local.INFO: Processing buffer {"connection_id":163187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044a59b38012d34c14006aa4818000600e62b..."} 
[2026-08-28 00:48:41] local.INFO: Packet analysis {"connection_id":163187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044a5"} 
[2026-08-28 00:48:41] local.INFO: Extracted packet for processing {"connection_id":163187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044a5"} 
[2026-08-28 00:48: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-28 00: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-28 00:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691596288001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:48:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:48:41] 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-28 00:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787858099000,"timestamp_ms":1787858099000,"timestamp_seconds":1787858099,"priority":1,"record_length":96,"hex_timestamp":"000001a044a59b38"} 
[2026-08-28 00: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-28 00:48:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00: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":233,"data_length":795,"current_offset":136} 
[2026-08-28 00:48: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-28 00: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-28 00: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-28 00:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":163187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":163187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":163187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:48:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 00:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691596288001,"66":25299,"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-28 00:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691596288001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:48:41] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 00:48:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00: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-28 00:48:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691596288001,"power":25299,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":163187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:48:41] local.INFO: GPS data processed {"connection_id":163187,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:48:41] local.INFO: Acknowledgment sent {"connection_id":163187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:48:58] local.INFO: TCP Data received {"connection_id":163186,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 00:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163186,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 00:48:58] local.INFO: Processing buffer {"connection_id":163186,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 00:48:58] local.INFO: IMEI packet received {"connection_id":163186,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 00:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":163186,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 00:49:19] local.INFO: TCP Data received {"connection_id":163187,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a044a59b38012d34c14006aa4818000600e62b..."} 
[2026-08-28 00:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044a59b38012d34c14006aa4818000600e62b..."} 
[2026-08-28 00:49:19] local.INFO: Processing buffer {"connection_id":163187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044a59b38012d34c14006aa4818000600e62b..."} 
[2026-08-28 00:49:19] local.INFO: Packet analysis {"connection_id":163187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044a5"} 
[2026-08-28 00:49:19] local.INFO: Extracted packet for processing {"connection_id":163187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044a5"} 
[2026-08-28 00:49: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":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-28 00:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 00:49:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691596288001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:49:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:49:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:49: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-28 00:49:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787858099000,"timestamp_ms":1787858099000,"timestamp_seconds":1787858099,"priority":1,"record_length":96,"hex_timestamp":"000001a044a59b38"} 
[2026-08-28 00:49:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 00:49:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 00:49:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 00:49:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 00:49:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 00:49:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:49:19] local.INFO: Teltonika packet parsed successfully {"connection_id":163187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:49:19] local.INFO: Passing IMEI to GPS processor {"connection_id":163187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:49:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":163187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:49: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-28 00:49:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:49:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:49:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691596288001,"66":25299,"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-28 00:49:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:49:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:49:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691596288001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:49:19] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 00:49:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00:49: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-28 00:49:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:49:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691596288001,"power":25299,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:49:19] local.INFO: DEBUG: GPS processor result {"connection_id":163187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:49:19] local.INFO: GPS data processed {"connection_id":163187,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:49:19] local.INFO: Acknowledgment sent {"connection_id":163187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:49:51] local.INFO: TCP Data received {"connection_id":165784,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:49:51] local.INFO: Processing buffer {"connection_id":165784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:49:51] local.INFO: IMEI packet received {"connection_id":165784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 00:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":165784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 00:49:52] local.INFO: TCP Data received {"connection_id":165784,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:49:52] local.INFO: Processing buffer {"connection_id":165784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:49:52] local.INFO: IMEI packet received {"connection_id":165784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 00:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":165784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 00:49:53] local.INFO: TCP Data received {"connection_id":165784,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a044a59b38012d34c14006aa4818000600e62b..."} 
[2026-08-28 00:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044a59b38012d34c14006aa4818000600e62b..."} 
[2026-08-28 00:49:53] local.INFO: Processing buffer {"connection_id":165784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044a59b38012d34c14006aa4818000600e62b..."} 
[2026-08-28 00:49:53] local.INFO: Packet analysis {"connection_id":165784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044a5"} 
[2026-08-28 00:49:53] local.INFO: Extracted packet for processing {"connection_id":165784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044a5"} 
[2026-08-28 00:49: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-28 00: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-28 00:49:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691596288001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:49:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:49:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00: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-28 00:49:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787858099000,"timestamp_ms":1787858099000,"timestamp_seconds":1787858099,"priority":1,"record_length":96,"hex_timestamp":"000001a044a59b38"} 
[2026-08-28 00: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-28 00:49:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 00:49: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-28 00: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-28 00: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-28 00:49:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:49:53] local.INFO: Teltonika packet parsed successfully {"connection_id":165784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:49:53] local.INFO: Passing IMEI to GPS processor {"connection_id":165784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:49:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":165784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:49: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-28 00:49:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:49:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:49:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691596288001,"66":25299,"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-28 00:49:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:49:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:49:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691596288001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:49:53] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 00:49:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00: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-28 00:49:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:49:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691596288001,"power":25299,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:49:53] local.INFO: DEBUG: GPS processor result {"connection_id":165784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:49:53] local.INFO: GPS data processed {"connection_id":165784,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:49:53] local.INFO: Acknowledgment sent {"connection_id":165784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:50:01] local.INFO: TCP Data received {"connection_id":165784,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a044a59b38012d34c14006aa4818000600e62b..."} 
[2026-08-28 00:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044a59b38012d34c14006aa4818000600e62b..."} 
[2026-08-28 00:50:01] local.INFO: Processing buffer {"connection_id":165784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044a59b38012d34c14006aa4818000600e62b..."} 
[2026-08-28 00:50:01] local.INFO: Packet analysis {"connection_id":165784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044a5"} 
[2026-08-28 00:50:01] local.INFO: Extracted packet for processing {"connection_id":165784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044a5"} 
[2026-08-28 00:50:01] 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-28 00:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 00:50:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691596288001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:50:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:50:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:50:01] 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-28 00:50:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787858099000,"timestamp_ms":1787858099000,"timestamp_seconds":1787858099,"priority":1,"record_length":96,"hex_timestamp":"000001a044a59b38"} 
[2026-08-28 00:50:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 00:50:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 00:50:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 00:50:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 00:50:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 00:50:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:50:01] local.INFO: Teltonika packet parsed successfully {"connection_id":165784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:50:01] local.INFO: Passing IMEI to GPS processor {"connection_id":165784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:50:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":165784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:50:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 00:50:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:50:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:50:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691596288001,"66":25299,"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-28 00:50:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:50:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:50:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691596288001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:50:01] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 00:50:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00:50: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-28 00:50:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:50:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691596288001,"power":25299,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:50:01] local.INFO: DEBUG: GPS processor result {"connection_id":165784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:50:01] local.INFO: GPS data processed {"connection_id":165784,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:50:01] local.INFO: Acknowledgment sent {"connection_id":165784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:52:04] local.INFO: TCP Data received {"connection_id":163433,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:52:04] local.INFO: Processing buffer {"connection_id":163433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:52:04] local.INFO: IMEI packet received {"connection_id":163433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 00:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":163433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 00:52:09] local.INFO: TCP Data received {"connection_id":163433,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:52:09] local.INFO: Processing buffer {"connection_id":163433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:52:09] local.INFO: IMEI packet received {"connection_id":163433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 00:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":163433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 00:52:10] local.INFO: TCP Data received {"connection_id":163433,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a044aa3300012d34c14006aa4818000d00e62a..."} 
[2026-08-28 00:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044aa3300012d34c14006aa4818000d00e62a..."} 
[2026-08-28 00:52:10] local.INFO: Processing buffer {"connection_id":163433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044aa3300012d34c14006aa4818000d00e62a..."} 
[2026-08-28 00:52:10] local.INFO: Packet analysis {"connection_id":163433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044aa"} 
[2026-08-28 00:52:10] local.INFO: Extracted packet for processing {"connection_id":163433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044aa"} 
[2026-08-28 00:52:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-28 00:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 00:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691673344001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:52:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:52:10] 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-28 00:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787858400000,"timestamp_ms":1787858400000,"timestamp_seconds":1787858400,"priority":1,"record_length":96,"hex_timestamp":"000001a044aa3300"} 
[2026-08-28 00:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 00:52:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 00:52:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 00:52:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 00:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 00:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:52:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 00:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691673344001,"66":25321,"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-28 00:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691673344001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:52:10] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 00:52:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 00:52:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691673344001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:52:10] 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":706013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:52:10] local.INFO: GPS data processed {"connection_id":163433,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:52:10] local.INFO: Acknowledgment sent {"connection_id":163433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:52:13] local.INFO: TCP Data received {"connection_id":163433,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a044aa3300012d34c14006aa4818000d00e62a..."} 
[2026-08-28 00:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044aa3300012d34c14006aa4818000d00e62a..."} 
[2026-08-28 00:52:13] local.INFO: Processing buffer {"connection_id":163433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044aa3300012d34c14006aa4818000d00e62a..."} 
[2026-08-28 00:52:13] local.INFO: Packet analysis {"connection_id":163433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044aa"} 
[2026-08-28 00:52:13] local.INFO: Extracted packet for processing {"connection_id":163433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044aa"} 
[2026-08-28 00:52: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-28 00:52:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 00:52:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691673344001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:52:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:52:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:52: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-28 00:52:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787858400000,"timestamp_ms":1787858400000,"timestamp_seconds":1787858400,"priority":1,"record_length":96,"hex_timestamp":"000001a044aa3300"} 
[2026-08-28 00:52:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 00:52:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00:52:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 00:52: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-28 00:52:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 00:52:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 00:52:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:52:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:52:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:52:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:52: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-28 00:52:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:52:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:52:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691673344001,"66":25321,"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-28 00:52:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:52:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:52:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691673344001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:52:13] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 00:52:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00:52: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-28 00:52:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:52:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691673344001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:52:13] 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":706014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:52:13] local.INFO: GPS data processed {"connection_id":163433,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:52:13] local.INFO: Acknowledgment sent {"connection_id":163433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:52:37] local.INFO: TCP Data received {"connection_id":164448,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:52:37] local.INFO: Processing buffer {"connection_id":164448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:52:37] local.INFO: IMEI packet received {"connection_id":164448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 00:52:37] local.INFO: IMEI acknowledgment sent {"connection_id":164448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 00:52:45] local.INFO: TCP Data received {"connection_id":164448,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:52:45] local.INFO: Processing buffer {"connection_id":164448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:52:45] local.INFO: IMEI packet received {"connection_id":164448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 00:52:45] local.INFO: IMEI acknowledgment sent {"connection_id":164448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 00:52:48] local.INFO: TCP Data received {"connection_id":164448,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a044aa3300012d34c14006aa4818000d00e62a..."} 
[2026-08-28 00:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044aa3300012d34c14006aa4818000d00e62a..."} 
[2026-08-28 00:52:48] local.INFO: Processing buffer {"connection_id":164448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044aa3300012d34c14006aa4818000d00e62a..."} 
[2026-08-28 00:52:48] local.INFO: Packet analysis {"connection_id":164448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044aa"} 
[2026-08-28 00:52:48] local.INFO: Extracted packet for processing {"connection_id":164448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044aa"} 
[2026-08-28 00:52: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-28 00: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-28 00:52:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691673344001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:52:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:52:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00: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-28 00:52:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787858400000,"timestamp_ms":1787858400000,"timestamp_seconds":1787858400,"priority":1,"record_length":96,"hex_timestamp":"000001a044aa3300"} 
[2026-08-28 00: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-28 00:52:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 00:52:48] 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-28 00: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-28 00: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-28 00:52:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:52:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:52:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:52:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:52: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-28 00:52:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:52:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:52:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691673344001,"66":25321,"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-28 00:52:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:52:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:52:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691673344001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:52:48] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 00:52:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00: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-28 00:52:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:52:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691673344001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:52:48] local.INFO: DEBUG: GPS processor result {"connection_id":164448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:52:48] local.INFO: GPS data processed {"connection_id":164448,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:52:48] local.INFO: Acknowledgment sent {"connection_id":164448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:52:52] local.INFO: TCP Data received {"connection_id":164448,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a044aa3300012d34c14006aa4818000d00e62a..."} 
[2026-08-28 00:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044aa3300012d34c14006aa4818000d00e62a..."} 
[2026-08-28 00:52:52] local.INFO: Processing buffer {"connection_id":164448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044aa3300012d34c14006aa4818000d00e62a..."} 
[2026-08-28 00:52:52] local.INFO: Packet analysis {"connection_id":164448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044aa"} 
[2026-08-28 00:52:52] local.INFO: Extracted packet for processing {"connection_id":164448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044aa"} 
[2026-08-28 00:52: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-28 00: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-28 00:52:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691673344001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:52:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:52: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-28 00:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787858400000,"timestamp_ms":1787858400000,"timestamp_seconds":1787858400,"priority":1,"record_length":96,"hex_timestamp":"000001a044aa3300"} 
[2026-08-28 00: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-28 00:52:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 00:52: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-28 00: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-28 00: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-28 00:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":164448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":164448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":164448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:52: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-28 00:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:52:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691673344001,"66":25321,"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-28 00:52:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:52:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:52:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691673344001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:52:52] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 00:52:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00: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-28 00:52:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:52:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691673344001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:52:52] local.INFO: DEBUG: GPS processor result {"connection_id":164448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:52:52] local.INFO: GPS data processed {"connection_id":164448,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:52:52] local.INFO: Acknowledgment sent {"connection_id":164448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:54:02] local.INFO: TCP Data received {"connection_id":163435,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:54:02] local.INFO: Processing buffer {"connection_id":163435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:54:02] local.INFO: IMEI packet received {"connection_id":163435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 00:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":163435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 00:54:07] local.INFO: TCP Data received {"connection_id":163435,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:54:07] local.INFO: Processing buffer {"connection_id":163435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:54:07] local.INFO: IMEI packet received {"connection_id":163435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 00:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":163435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 00:54:09] local.INFO: TCP Data received {"connection_id":163435,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a044aa3300012d34c14006aa4818000d00e62a..."} 
[2026-08-28 00:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044aa3300012d34c14006aa4818000d00e62a..."} 
[2026-08-28 00:54:09] local.INFO: Processing buffer {"connection_id":163435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044aa3300012d34c14006aa4818000d00e62a..."} 
[2026-08-28 00:54:09] local.INFO: Packet analysis {"connection_id":163435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044aa"} 
[2026-08-28 00:54:09] local.INFO: Extracted packet for processing {"connection_id":163435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044aa"} 
[2026-08-28 00:54:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-28 00:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 00:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691673344001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:54:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:54: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-28 00:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787858400000,"timestamp_ms":1787858400000,"timestamp_seconds":1787858400,"priority":1,"record_length":96,"hex_timestamp":"000001a044aa3300"} 
[2026-08-28 00:54:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 00:54:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 00:54:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 00:54:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 00:54:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 00:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:54:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 00:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691673344001,"66":25321,"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-28 00:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691673344001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:54:09] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 00:54:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00:54: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-28 00:54:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691673344001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:54:09] 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":706017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:54:09] local.INFO: GPS data processed {"connection_id":163435,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:54:09] local.INFO: Acknowledgment sent {"connection_id":163435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:54:33] local.INFO: TCP Data received {"connection_id":163434,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 00:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163434,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 00:54:33] local.INFO: Processing buffer {"connection_id":163434,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 00:54:33] local.INFO: IMEI packet received {"connection_id":163434,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 00:54:33] local.INFO: IMEI acknowledgment sent {"connection_id":163434,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 00:54:37] local.INFO: TCP Data received {"connection_id":164449,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:54:37] local.INFO: Processing buffer {"connection_id":164449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:54:37] local.INFO: IMEI packet received {"connection_id":164449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 00:54:37] local.INFO: IMEI acknowledgment sent {"connection_id":164449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 00:54:42] local.INFO: TCP Data received {"connection_id":164449,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:54:42] local.INFO: Processing buffer {"connection_id":164449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:54:42] local.INFO: IMEI packet received {"connection_id":164449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 00:54:42] local.INFO: IMEI acknowledgment sent {"connection_id":164449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 00:54:43] local.INFO: TCP Data received {"connection_id":164449,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a044aa3300012d34c14006aa4818000d00e62a..."} 
[2026-08-28 00:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044aa3300012d34c14006aa4818000d00e62a..."} 
[2026-08-28 00:54:43] local.INFO: Processing buffer {"connection_id":164449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044aa3300012d34c14006aa4818000d00e62a..."} 
[2026-08-28 00:54:43] local.INFO: Packet analysis {"connection_id":164449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044aa"} 
[2026-08-28 00:54:43] local.INFO: Extracted packet for processing {"connection_id":164449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044aa"} 
[2026-08-28 00:54: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-28 00: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-28 00:54:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691673344001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:54:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:54:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:54: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-28 00:54:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787858400000,"timestamp_ms":1787858400000,"timestamp_seconds":1787858400,"priority":1,"record_length":96,"hex_timestamp":"000001a044aa3300"} 
[2026-08-28 00: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-28 00:54:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00: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":211,"data_length":795,"current_offset":136} 
[2026-08-28 00:54:43] 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-28 00: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-28 00: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-28 00:54:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:54:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:54:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:54:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00: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-28 00:54:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:54:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:54:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691673344001,"66":25321,"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-28 00:54:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:54:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:54:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691673344001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:54:43] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 00:54:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00: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-28 00:54:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:54:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691673344001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:54:43] local.INFO: DEBUG: GPS processor result {"connection_id":164449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:54:43] local.INFO: GPS data processed {"connection_id":164449,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:54:43] local.INFO: Acknowledgment sent {"connection_id":164449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:54:48] local.INFO: TCP Data received {"connection_id":164449,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a044aa3300012d34c14006aa4818000d00e62a..."} 
[2026-08-28 00:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044aa3300012d34c14006aa4818000d00e62a..."} 
[2026-08-28 00:54:48] local.INFO: Processing buffer {"connection_id":164449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044aa3300012d34c14006aa4818000d00e62a..."} 
[2026-08-28 00:54:48] local.INFO: Packet analysis {"connection_id":164449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044aa"} 
[2026-08-28 00:54:48] local.INFO: Extracted packet for processing {"connection_id":164449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044aa"} 
[2026-08-28 00:54: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":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-28 00:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 00:54:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691673344001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:54:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:54:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:54: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-28 00:54:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787858400000,"timestamp_ms":1787858400000,"timestamp_seconds":1787858400,"priority":1,"record_length":96,"hex_timestamp":"000001a044aa3300"} 
[2026-08-28 00:54:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 00:54:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 00:54:48] 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-28 00:54:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 00:54:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 00:54:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:54:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:54:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:54:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:54: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-28 00:54:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:54:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:54:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691673344001,"66":25321,"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-28 00:54:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:54:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:54:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691673344001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:54:48] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 00:54:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00:54: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-28 00:54:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:54:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691673344001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:54:48] local.INFO: DEBUG: GPS processor result {"connection_id":164449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:54:48] local.INFO: GPS data processed {"connection_id":164449,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:54:48] local.INFO: Acknowledgment sent {"connection_id":164449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:55:32] local.INFO: TCP Data received {"connection_id":165786,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:55:32] local.INFO: Processing buffer {"connection_id":165786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:55:32] local.INFO: IMEI packet received {"connection_id":165786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 00:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":165786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 00:55:38] local.INFO: TCP Data received {"connection_id":165786,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:55:38] local.INFO: Processing buffer {"connection_id":165786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:55:38] local.INFO: IMEI packet received {"connection_id":165786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 00:55:38] local.INFO: IMEI acknowledgment sent {"connection_id":165786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 00:55:38] local.INFO: TCP Data received {"connection_id":165786,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a044aa3300012d34c14006aa4818000d00e62a..."} 
[2026-08-28 00:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044aa3300012d34c14006aa4818000d00e62a..."} 
[2026-08-28 00:55:38] local.INFO: Processing buffer {"connection_id":165786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044aa3300012d34c14006aa4818000d00e62a..."} 
[2026-08-28 00:55:38] local.INFO: Packet analysis {"connection_id":165786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044aa"} 
[2026-08-28 00:55:38] local.INFO: Extracted packet for processing {"connection_id":165786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044aa"} 
[2026-08-28 00:55:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822872,"longitude_deg":75.8432064,"latitude_deg":11.1822872,"altitude":13,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4818","is_valid_coordinates":true} 
[2026-08-28 00:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 00:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691673344001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:55: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-28 00:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787858400000,"timestamp_ms":1787858400000,"timestamp_seconds":1787858400,"priority":1,"record_length":96,"hex_timestamp":"000001a044aa3300"} 
[2026-08-28 00:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 00:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 00:55:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 00:55:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 00:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 00:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":165786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":165786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":165786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:55:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 00:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691673344001,"66":25321,"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-28 00:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691673344001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:55:38] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 00:55:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00:55: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-28 00:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691673344001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":165786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:55:38] local.INFO: GPS data processed {"connection_id":165786,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:55:38] local.INFO: Acknowledgment sent {"connection_id":165786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:56:10] local.INFO: TCP Data received {"connection_id":165786,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a044aecac8012d34c14006aa4818000a00e62a..."} 
[2026-08-28 00:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044aecac8012d34c14006aa4818000a00e62a..."} 
[2026-08-28 00:56:10] local.INFO: Processing buffer {"connection_id":165786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044aecac8012d34c14006aa4818000a00e62a..."} 
[2026-08-28 00:56:10] local.INFO: Packet analysis {"connection_id":165786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044ae"} 
[2026-08-28 00:56:10] local.INFO: Extracted packet for processing {"connection_id":165786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044ae"} 
[2026-08-28 00:56:10] 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-28 00:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 00:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691750400001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:56:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:56:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 00:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787858701000,"timestamp_ms":1787858701000,"timestamp_seconds":1787858701,"priority":1,"record_length":96,"hex_timestamp":"000001a044aecac8"} 
[2026-08-28 00:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 00:56:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 00:56:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 00:56:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 00:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 00:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":165786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":165786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":165786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:56:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 00:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691750400001,"66":25223,"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-28 00:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691750400001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:56:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 00:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691750400001,"power":25223,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":165786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:56:10] local.INFO: GPS data processed {"connection_id":165786,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:56:10] local.INFO: Acknowledgment sent {"connection_id":165786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:56:32] local.INFO: TCP Data received {"connection_id":164450,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:56:32] local.INFO: Processing buffer {"connection_id":164450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:56:32] local.INFO: IMEI packet received {"connection_id":164450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 00:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":164450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 00:56:37] local.INFO: TCP Data received {"connection_id":164450,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:56:37] local.INFO: Processing buffer {"connection_id":164450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:56:37] local.INFO: IMEI packet received {"connection_id":164450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 00:56:37] local.INFO: IMEI acknowledgment sent {"connection_id":164450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 00:56:38] local.INFO: TCP Data received {"connection_id":164450,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a044aecac8012d34c14006aa4818000a00e62a..."} 
[2026-08-28 00:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044aecac8012d34c14006aa4818000a00e62a..."} 
[2026-08-28 00:56:38] local.INFO: Processing buffer {"connection_id":164450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044aecac8012d34c14006aa4818000a00e62a..."} 
[2026-08-28 00:56:38] local.INFO: Packet analysis {"connection_id":164450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044ae"} 
[2026-08-28 00:56:38] local.INFO: Extracted packet for processing {"connection_id":164450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044ae"} 
[2026-08-28 00:56:38] 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-28 00:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 00:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691750400001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:56:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:56: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-28 00:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787858701000,"timestamp_ms":1787858701000,"timestamp_seconds":1787858701,"priority":1,"record_length":96,"hex_timestamp":"000001a044aecac8"} 
[2026-08-28 00:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 00:56:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 00:56:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 00:56:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 00:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 00:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:56:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 00:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691750400001,"66":25223,"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-28 00:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691750400001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:56:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00:56: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-28 00:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691750400001,"power":25223,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":164450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:56:38] local.INFO: GPS data processed {"connection_id":164450,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:56:38] local.INFO: Acknowledgment sent {"connection_id":164450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:57:09] local.INFO: TCP Data received {"connection_id":164450,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a044aecac8012d34c14006aa4818000a00e62a..."} 
[2026-08-28 00:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044aecac8012d34c14006aa4818000a00e62a..."} 
[2026-08-28 00:57:09] local.INFO: Processing buffer {"connection_id":164450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044aecac8012d34c14006aa4818000a00e62a..."} 
[2026-08-28 00:57:09] local.INFO: Packet analysis {"connection_id":164450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044ae"} 
[2026-08-28 00:57:09] local.INFO: Extracted packet for processing {"connection_id":164450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044ae"} 
[2026-08-28 00:57:09] 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-28 00:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 00:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691750400001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:57:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:57:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:57: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-28 00:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787858701000,"timestamp_ms":1787858701000,"timestamp_seconds":1787858701,"priority":1,"record_length":96,"hex_timestamp":"000001a044aecac8"} 
[2026-08-28 00:57:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 00:57:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 00:57:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 00:57:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 00:57:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 00:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:57: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-28 00:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691750400001,"66":25223,"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-28 00:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691750400001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:57:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00:57: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-28 00:57:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691750400001,"power":25223,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":164450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:57:09] local.INFO: GPS data processed {"connection_id":164450,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:57:09] local.INFO: Acknowledgment sent {"connection_id":164450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:57:32] local.INFO: TCP Data received {"connection_id":165787,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:57:32] local.INFO: Processing buffer {"connection_id":165787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:57:32] local.INFO: IMEI packet received {"connection_id":165787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 00:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":165787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 00:57:37] local.INFO: TCP Data received {"connection_id":165787,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:57:37] local.INFO: Processing buffer {"connection_id":165787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:57:37] local.INFO: IMEI packet received {"connection_id":165787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 00:57:37] local.INFO: IMEI acknowledgment sent {"connection_id":165787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 00:57:38] local.INFO: TCP Data received {"connection_id":165787,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a044aecac8012d34c14006aa4818000a00e62a..."} 
[2026-08-28 00:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044aecac8012d34c14006aa4818000a00e62a..."} 
[2026-08-28 00:57:38] local.INFO: Processing buffer {"connection_id":165787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044aecac8012d34c14006aa4818000a00e62a..."} 
[2026-08-28 00:57:38] local.INFO: Packet analysis {"connection_id":165787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044ae"} 
[2026-08-28 00:57:38] local.INFO: Extracted packet for processing {"connection_id":165787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044ae"} 
[2026-08-28 00:57:38] 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-28 00:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 00:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691750400001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:57:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00: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-28 00:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787858701000,"timestamp_ms":1787858701000,"timestamp_seconds":1787858701,"priority":1,"record_length":96,"hex_timestamp":"000001a044aecac8"} 
[2026-08-28 00:57:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 00:57:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 00:57:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 00:57:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 00:57:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 00:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":165787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":165787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":165787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:57:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 00:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691750400001,"66":25223,"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-28 00:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691750400001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:57:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00: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-28 00:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691750400001,"power":25223,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:57:39] local.INFO: DEBUG: GPS processor result {"connection_id":165787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:57:39] local.INFO: GPS data processed {"connection_id":165787,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:57:39] local.INFO: Acknowledgment sent {"connection_id":165787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:58:10] local.INFO: TCP Data received {"connection_id":165787,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a044aecac8012d34c14006aa4818000a00e62a..."} 
[2026-08-28 00:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044aecac8012d34c14006aa4818000a00e62a..."} 
[2026-08-28 00:58:10] local.INFO: Processing buffer {"connection_id":165787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044aecac8012d34c14006aa4818000a00e62a..."} 
[2026-08-28 00:58:10] local.INFO: Packet analysis {"connection_id":165787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044ae"} 
[2026-08-28 00:58:10] local.INFO: Extracted packet for processing {"connection_id":165787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044ae"} 
[2026-08-28 00:58:10] 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-28 00:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 00:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691750400001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:58:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:58:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:58:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 00:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787858701000,"timestamp_ms":1787858701000,"timestamp_seconds":1787858701,"priority":1,"record_length":96,"hex_timestamp":"000001a044aecac8"} 
[2026-08-28 00:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 00:58:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 00:58:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 00:58:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 00:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 00:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":165787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":165787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":165787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:58:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 00:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691750400001,"66":25223,"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-28 00:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691750400001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:58:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 00:58:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691750400001,"power":25223,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":165787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:58:10] local.INFO: GPS data processed {"connection_id":165787,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:58:10] local.INFO: Acknowledgment sent {"connection_id":165787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:58:32] local.INFO: TCP Data received {"connection_id":163188,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:58:32] local.INFO: Processing buffer {"connection_id":163188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:58:32] local.INFO: IMEI packet received {"connection_id":163188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 00:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":163188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 00:58:37] local.INFO: TCP Data received {"connection_id":163188,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:58:37] local.INFO: Processing buffer {"connection_id":163188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:58:37] local.INFO: IMEI packet received {"connection_id":163188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 00:58:37] local.INFO: IMEI acknowledgment sent {"connection_id":163188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 00:58:38] local.INFO: TCP Data received {"connection_id":163188,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a044aecac8012d34c14006aa4818000a00e62a..."} 
[2026-08-28 00:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044aecac8012d34c14006aa4818000a00e62a..."} 
[2026-08-28 00:58:38] local.INFO: Processing buffer {"connection_id":163188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044aecac8012d34c14006aa4818000a00e62a..."} 
[2026-08-28 00:58:38] local.INFO: Packet analysis {"connection_id":163188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044ae"} 
[2026-08-28 00:58:38] local.INFO: Extracted packet for processing {"connection_id":163188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044ae"} 
[2026-08-28 00:58:38] 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-28 00:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 00:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691750400001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:58:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:58: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-28 00:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787858701000,"timestamp_ms":1787858701000,"timestamp_seconds":1787858701,"priority":1,"record_length":96,"hex_timestamp":"000001a044aecac8"} 
[2026-08-28 00:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 00:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 00:58:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 00:58:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 00:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 00:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 00:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691750400001,"66":25223,"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-28 00:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691750400001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:58:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00:58: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-28 00:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691750400001,"power":25223,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":163188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:58:38] local.INFO: GPS data processed {"connection_id":163188,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:58:38] local.INFO: Acknowledgment sent {"connection_id":163188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:59:11] local.INFO: TCP Data received {"connection_id":163188,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a044aecac8012d34c14006aa4818000a00e62a..."} 
[2026-08-28 00:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044aecac8012d34c14006aa4818000a00e62a..."} 
[2026-08-28 00:59:11] local.INFO: Processing buffer {"connection_id":163188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044aecac8012d34c14006aa4818000a00e62a..."} 
[2026-08-28 00:59:11] local.INFO: Packet analysis {"connection_id":163188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044ae"} 
[2026-08-28 00:59:11] local.INFO: Extracted packet for processing {"connection_id":163188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044ae"} 
[2026-08-28 00:59:11] 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-28 00: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-28 00:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691750400001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:59:11] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:59:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:59: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-28 00:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787858701000,"timestamp_ms":1787858701000,"timestamp_seconds":1787858701,"priority":1,"record_length":96,"hex_timestamp":"000001a044aecac8"} 
[2026-08-28 00: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-28 00:59:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 00:59: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-28 00: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-28 00: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-28 00:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":163188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":163188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":163188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 00:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691750400001,"66":25223,"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-28 00:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691750400001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:59:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00: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-28 00:59:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691750400001,"power":25223,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":163188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:59:11] local.INFO: GPS data processed {"connection_id":163188,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:59:11] local.INFO: Acknowledgment sent {"connection_id":163188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 00:59:37] local.INFO: TCP Data received {"connection_id":163189,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:59:37] local.INFO: Processing buffer {"connection_id":163189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:59:37] local.INFO: IMEI packet received {"connection_id":163189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 00:59:37] local.INFO: IMEI acknowledgment sent {"connection_id":163189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 00:59:42] local.INFO: TCP Data received {"connection_id":163189,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:59:42] local.INFO: Processing buffer {"connection_id":163189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 00:59:42] local.INFO: IMEI packet received {"connection_id":163189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 00:59:42] local.INFO: IMEI acknowledgment sent {"connection_id":163189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 00:59:55] local.INFO: TCP Data received {"connection_id":163189,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a044aecac8012d34c14006aa4818000a00e62a..."} 
[2026-08-28 00:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044aecac8012d34c14006aa4818000a00e62a..."} 
[2026-08-28 00:59:55] local.INFO: Processing buffer {"connection_id":163189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044aecac8012d34c14006aa4818000a00e62a..."} 
[2026-08-28 00:59:55] local.INFO: Packet analysis {"connection_id":163189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044ae"} 
[2026-08-28 00:59:55] local.INFO: Extracted packet for processing {"connection_id":163189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044ae"} 
[2026-08-28 00:59:55] 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-28 00:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 00:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691750400001,"note":"Value kept but may cause issues"} 
[2026-08-28 00:59:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 00:59:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 00:59:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 00:59:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 00:59:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787858701000,"timestamp_ms":1787858701000,"timestamp_seconds":1787858701,"priority":1,"record_length":96,"hex_timestamp":"000001a044aecac8"} 
[2026-08-28 00:59:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 00:59:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 00:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 00:59:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 00:59:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 00:59:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 00:59:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 00:59:55] local.INFO: Teltonika packet parsed successfully {"connection_id":163189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 00:59:55] local.INFO: Passing IMEI to GPS processor {"connection_id":163189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:59:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":163189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 00:59:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 00:59:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 00:59:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 00:59:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691750400001,"66":25223,"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-28 00:59:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 00:59:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 00:59:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691750400001,"description":"Unknown IO ID 0"} 
[2026-08-28 00:59:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 00:59: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-28 00:59:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 00:59:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691750400001,"power":25223,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 00:59:55] local.INFO: DEBUG: GPS processor result {"connection_id":163189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 00:59:55] local.INFO: GPS data processed {"connection_id":163189,"processed":1,"errors":0,"total":1} 
[2026-08-28 00:59:55] local.INFO: Acknowledgment sent {"connection_id":163189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 01:00:08] local.INFO: TCP Data received {"connection_id":165788,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 01:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165788,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 01:00:08] local.INFO: Processing buffer {"connection_id":165788,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 01:00:08] local.INFO: IMEI packet received {"connection_id":165788,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 01:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":165788,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 01:00:33] local.INFO: TCP Data received {"connection_id":163436,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:00:33] local.INFO: Processing buffer {"connection_id":163436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:00:33] local.INFO: IMEI packet received {"connection_id":163436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 01:00:33] local.INFO: IMEI acknowledgment sent {"connection_id":163436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 01:00:42] local.INFO: TCP Data received {"connection_id":163436,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:00:42] local.INFO: Processing buffer {"connection_id":163436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:00:42] local.INFO: IMEI packet received {"connection_id":163436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 01:00:42] local.INFO: IMEI acknowledgment sent {"connection_id":163436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 01:01:07] local.INFO: TCP Data received {"connection_id":163436,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a044b36290012d34c14006aa4818000300e62b..."} 
[2026-08-28 01:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044b36290012d34c14006aa4818000300e62b..."} 
[2026-08-28 01:01:07] local.INFO: Processing buffer {"connection_id":163436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044b36290012d34c14006aa4818000300e62b..."} 
[2026-08-28 01:01:07] local.INFO: Packet analysis {"connection_id":163436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044b3"} 
[2026-08-28 01:01:07] local.INFO: Extracted packet for processing {"connection_id":163436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044b3"} 
[2026-08-28 01:01:07] 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-28 01:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 01:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691827456001,"note":"Value kept but may cause issues"} 
[2026-08-28 01:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 01:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 01:01: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-28 01:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787859002000,"timestamp_ms":1787859002000,"timestamp_seconds":1787859002,"priority":1,"record_length":96,"hex_timestamp":"000001a044b36290"} 
[2026-08-28 01:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 01:01:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 01:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 01:01:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 01:01:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 01:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 01:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 01:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":163436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 01:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":163436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":163436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:01:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 01:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 01:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 01:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691827456001,"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-28 01:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 01:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 01:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691827456001,"description":"Unknown IO ID 0"} 
[2026-08-28 01:01:07] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 01:01:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 01:01: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-28 01:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 01:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691827456001,"power":25288,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 01:01:07] 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":706029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 01:01:07] local.INFO: GPS data processed {"connection_id":163436,"processed":1,"errors":0,"total":1} 
[2026-08-28 01:01:07] local.INFO: Acknowledgment sent {"connection_id":163436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 01:02:46] local.INFO: TCP Data received {"connection_id":163437,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:02:46] local.INFO: Processing buffer {"connection_id":163437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:02:46] local.INFO: IMEI packet received {"connection_id":163437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 01:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":163437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 01:02:48] local.INFO: TCP Data received {"connection_id":163437,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:02:48] local.INFO: Processing buffer {"connection_id":163437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:02:48] local.INFO: IMEI packet received {"connection_id":163437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 01:02:48] local.INFO: IMEI acknowledgment sent {"connection_id":163437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 01:03:07] local.INFO: TCP Data received {"connection_id":163437,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a044b36290012d34c14006aa4818000300e62b..."} 
[2026-08-28 01:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044b36290012d34c14006aa4818000300e62b..."} 
[2026-08-28 01:03:07] local.INFO: Processing buffer {"connection_id":163437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044b36290012d34c14006aa4818000300e62b..."} 
[2026-08-28 01:03:07] local.INFO: Packet analysis {"connection_id":163437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044b3"} 
[2026-08-28 01:03:07] local.INFO: Extracted packet for processing {"connection_id":163437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044b3"} 
[2026-08-28 01:03:07] 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-28 01:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 01:03:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691827456001,"note":"Value kept but may cause issues"} 
[2026-08-28 01:03:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 01:03:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 01:03: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-28 01:03:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787859002000,"timestamp_ms":1787859002000,"timestamp_seconds":1787859002,"priority":1,"record_length":96,"hex_timestamp":"000001a044b36290"} 
[2026-08-28 01:03:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 01:03:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 01:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 01:03:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 01:03:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 01:03:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 01:03:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 01:03:07] local.INFO: Teltonika packet parsed successfully {"connection_id":163437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 01:03:07] local.INFO: Passing IMEI to GPS processor {"connection_id":163437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:03:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":163437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:03:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 01:03:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 01:03:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 01:03:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691827456001,"66":25288,"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-28 01:03:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 01:03:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 01:03:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691827456001,"description":"Unknown IO ID 0"} 
[2026-08-28 01:03:07] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 01:03:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 01:03: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-28 01:03:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 01:03:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691827456001,"power":25288,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 01:03:07] 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":706030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 01:03:07] local.INFO: GPS data processed {"connection_id":163437,"processed":1,"errors":0,"total":1} 
[2026-08-28 01:03:07] local.INFO: Acknowledgment sent {"connection_id":163437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 01:03:13] local.INFO: TCP Data received {"connection_id":163437,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a044b36290012d34c14006aa4818000300e62b..."} 
[2026-08-28 01:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044b36290012d34c14006aa4818000300e62b..."} 
[2026-08-28 01:03:13] local.INFO: Processing buffer {"connection_id":163437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044b36290012d34c14006aa4818000300e62b..."} 
[2026-08-28 01:03:13] local.INFO: Packet analysis {"connection_id":163437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044b3"} 
[2026-08-28 01:03:13] local.INFO: Extracted packet for processing {"connection_id":163437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044b3"} 
[2026-08-28 01:03:13] 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-28 01: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-28 01:03:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691827456001,"note":"Value kept but may cause issues"} 
[2026-08-28 01:03:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 01:03:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 01:03: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-28 01:03:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787859002000,"timestamp_ms":1787859002000,"timestamp_seconds":1787859002,"priority":1,"record_length":96,"hex_timestamp":"000001a044b36290"} 
[2026-08-28 01: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-28 01:03:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 01: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 01:03:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 01: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-28 01: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-28 01:03:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 01:03:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 01:03:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:03:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:03: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-28 01:03:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 01:03:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 01:03:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691827456001,"66":25288,"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-28 01:03:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 01:03:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 01:03:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691827456001,"description":"Unknown IO ID 0"} 
[2026-08-28 01:03:13] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 01:03:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 01: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-28 01:03:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 01:03:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691827456001,"power":25288,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 01:03:13] 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":706031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 01:03:13] local.INFO: GPS data processed {"connection_id":163437,"processed":1,"errors":0,"total":1} 
[2026-08-28 01:03:13] local.INFO: Acknowledgment sent {"connection_id":163437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 01:03:52] local.INFO: TCP Data received {"connection_id":165789,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:03:52] local.INFO: Processing buffer {"connection_id":165789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:03:52] local.INFO: IMEI packet received {"connection_id":165789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 01:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":165789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 01:03:55] local.INFO: TCP Data received {"connection_id":165789,"ip":"42.109.136.0","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-28 01:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165789,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-28 01:03:55] local.INFO: Processing buffer {"connection_id":165789,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-28 01:03:55] local.INFO: IMEI packet received {"connection_id":165789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 01:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":165789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 01:05:43] local.INFO: TCP Data received {"connection_id":164451,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 01:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164451,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 01:05:43] local.INFO: Processing buffer {"connection_id":164451,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 01:05:43] local.INFO: IMEI packet received {"connection_id":164451,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 01:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":164451,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 01:07:23] local.INFO: TCP Data received {"connection_id":163190,"ip":"42.109.136.4","data_length":18,"data_hex":"55aa5501000a3102000310800c16387b63c9..."} 
[2026-08-28 01:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163190,"packet_length":18,"packet_hex":"55aa5501000a3102000310800c16387b63c9..."} 
[2026-08-28 01:07:23] local.INFO: Processing buffer {"connection_id":163190,"buffer_length":18,"buffer_hex":"55aa5501000a3102000310800c16387b63c9..."} 
[2026-08-28 01:07:23] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":163190,"buffer_length":18,"first_bytes_hex":"55aa5501000a3102000310800c16387b"} 
[2026-08-28 01:07:35] local.INFO: TCP Data received {"connection_id":163190,"ip":"42.109.136.4","data_length":18,"data_hex":"55aa5501000a3102000310800c16387b63c9..."} 
[2026-08-28 01:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163190,"packet_length":18,"packet_hex":"55aa5501000a3102000310800c16387b63c9..."} 
[2026-08-28 01:07:35] local.INFO: Processing buffer {"connection_id":163190,"buffer_length":18,"buffer_hex":"55aa5501000a3102000310800c16387b63c9..."} 
[2026-08-28 01:07:35] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":163190,"buffer_length":18,"first_bytes_hex":"55aa5501000a3102000310800c16387b"} 
[2026-08-28 01:08:00] local.INFO: TCP Data received {"connection_id":163190,"ip":"42.109.136.4","data_length":18,"data_hex":"55aa5501000a3102000310800c16387b63c9..."} 
[2026-08-28 01:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163190,"packet_length":18,"packet_hex":"55aa5501000a3102000310800c16387b63c9..."} 
[2026-08-28 01:08:00] local.INFO: Processing buffer {"connection_id":163190,"buffer_length":18,"buffer_hex":"55aa5501000a3102000310800c16387b63c9..."} 
[2026-08-28 01:08:00] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":163190,"buffer_length":18,"first_bytes_hex":"55aa5501000a3102000310800c16387b"} 
[2026-08-28 01:08:31] local.INFO: TCP Data received {"connection_id":163190,"ip":"42.109.136.4","data_length":18,"data_hex":"55aa5501000a3102000310800c16387b63c9..."} 
[2026-08-28 01:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163190,"packet_length":18,"packet_hex":"55aa5501000a3102000310800c16387b63c9..."} 
[2026-08-28 01:08:31] local.INFO: Processing buffer {"connection_id":163190,"buffer_length":18,"buffer_hex":"55aa5501000a3102000310800c16387b63c9..."} 
[2026-08-28 01:08:31] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":163190,"buffer_length":18,"first_bytes_hex":"55aa5501000a3102000310800c16387b"} 
[2026-08-28 01:09:21] local.INFO: TCP Data received {"connection_id":163439,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:09:21] local.INFO: Processing buffer {"connection_id":163439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:09:21] local.INFO: IMEI packet received {"connection_id":163439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 01:09:21] local.INFO: IMEI acknowledgment sent {"connection_id":163439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 01:09:33] local.INFO: TCP Data received {"connection_id":163191,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:09:33] local.INFO: Processing buffer {"connection_id":163191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:09:33] local.INFO: IMEI packet received {"connection_id":163191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 01:09:33] local.INFO: IMEI acknowledgment sent {"connection_id":163191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 01:09:40] local.INFO: TCP Data received {"connection_id":163191,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:09:40] local.INFO: Processing buffer {"connection_id":163191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:09:40] local.INFO: IMEI packet received {"connection_id":163191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 01:09:40] local.INFO: IMEI acknowledgment sent {"connection_id":163191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 01:09:43] local.INFO: TCP Data received {"connection_id":163191,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a044b7fa58012d34c14006aa4818000300e62a..."} 
[2026-08-28 01:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044b7fa58012d34c14006aa4818000300e62a..."} 
[2026-08-28 01:09:43] local.INFO: Processing buffer {"connection_id":163191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044b7fa58012d34c14006aa4818000300e62a..."} 
[2026-08-28 01:09:43] local.INFO: Packet analysis {"connection_id":163191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044b7"} 
[2026-08-28 01:09:43] local.INFO: Extracted packet for processing {"connection_id":163191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044b7"} 
[2026-08-28 01:09: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-28 01: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-28 01:09:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691904512001,"note":"Value kept but may cause issues"} 
[2026-08-28 01:09:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 01:09:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 01: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-28 01:09:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787859303000,"timestamp_ms":1787859303000,"timestamp_seconds":1787859303,"priority":1,"record_length":96,"hex_timestamp":"000001a044b7fa58"} 
[2026-08-28 01: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-28 01:09:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 01: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 01:09:43] 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-28 01: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-28 01: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-28 01:09:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 01:09:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 01:09:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:09:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:09: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-28 01:09:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 01:09:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 01:09:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691904512001,"66":25321,"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-28 01:09:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 01:09:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 01:09:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691904512001,"description":"Unknown IO ID 0"} 
[2026-08-28 01:09:43] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 01:09:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 01: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-28 01:09:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 01:09:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691904512001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 01:09:43] local.INFO: DEBUG: GPS processor result {"connection_id":163191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 01:09:43] local.INFO: GPS data processed {"connection_id":163191,"processed":1,"errors":0,"total":1} 
[2026-08-28 01:09:43] local.INFO: Acknowledgment sent {"connection_id":163191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 01:09:45] local.INFO: TCP Data received {"connection_id":163191,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a044b7fa58012d34c14006aa4818000300e62a..."} 
[2026-08-28 01:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044b7fa58012d34c14006aa4818000300e62a..."} 
[2026-08-28 01:09:45] local.INFO: Processing buffer {"connection_id":163191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044b7fa58012d34c14006aa4818000300e62a..."} 
[2026-08-28 01:09:45] local.INFO: Packet analysis {"connection_id":163191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044b7"} 
[2026-08-28 01:09:45] local.INFO: Extracted packet for processing {"connection_id":163191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044b7"} 
[2026-08-28 01:09: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-28 01: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-28 01:09:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691904512001,"note":"Value kept but may cause issues"} 
[2026-08-28 01:09:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 01:09:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 01:09: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-28 01:09:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787859303000,"timestamp_ms":1787859303000,"timestamp_seconds":1787859303,"priority":1,"record_length":96,"hex_timestamp":"000001a044b7fa58"} 
[2026-08-28 01: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-28 01:09:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 01: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 01:09:45] 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-28 01: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-28 01: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-28 01:09:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 01:09:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 01:09:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:09:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:09: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-28 01:09:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 01:09:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 01:09:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691904512001,"66":25321,"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-28 01:09:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 01:09:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 01:09:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691904512001,"description":"Unknown IO ID 0"} 
[2026-08-28 01:09:45] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 01:09:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 01: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-28 01:09:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 01:09:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691904512001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 01:09:45] local.INFO: DEBUG: GPS processor result {"connection_id":163191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 01:09:45] local.INFO: GPS data processed {"connection_id":163191,"processed":1,"errors":0,"total":1} 
[2026-08-28 01:09:45] local.INFO: Acknowledgment sent {"connection_id":163191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 01:10:58] local.INFO: TCP Data received {"connection_id":163191,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a044b7fa58012d34c14006aa4818000300e62a..."} 
[2026-08-28 01:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044b7fa58012d34c14006aa4818000300e62a..."} 
[2026-08-28 01:10:58] local.INFO: Processing buffer {"connection_id":163191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044b7fa58012d34c14006aa4818000300e62a..."} 
[2026-08-28 01:10:58] local.INFO: Packet analysis {"connection_id":163191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044b7"} 
[2026-08-28 01:10:58] local.INFO: Extracted packet for processing {"connection_id":163191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044b7"} 
[2026-08-28 01:10:58] 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-28 01:10:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 01:10:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691904512001,"note":"Value kept but may cause issues"} 
[2026-08-28 01:10:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 01:10:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 01:10: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-28 01:10:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787859303000,"timestamp_ms":1787859303000,"timestamp_seconds":1787859303,"priority":1,"record_length":96,"hex_timestamp":"000001a044b7fa58"} 
[2026-08-28 01:10:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 01:10:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 01:10:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 01:10:58] 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-28 01:10:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 01:10:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 01:10:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 01:10:58] local.INFO: Teltonika packet parsed successfully {"connection_id":163191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 01:10:58] local.INFO: Passing IMEI to GPS processor {"connection_id":163191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:10:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":163191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:10: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-28 01:10:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 01:10:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 01:10:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691904512001,"66":25321,"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-28 01:10:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 01:10:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 01:10:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691904512001,"description":"Unknown IO ID 0"} 
[2026-08-28 01:10:58] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 01:10:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 01:10: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-28 01:10:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 01:10:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691904512001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 01:10:58] local.INFO: DEBUG: GPS processor result {"connection_id":163191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 01:10:58] local.INFO: GPS data processed {"connection_id":163191,"processed":1,"errors":0,"total":1} 
[2026-08-28 01:10:58] local.INFO: Acknowledgment sent {"connection_id":163191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 01:11:18] local.INFO: TCP Data received {"connection_id":165790,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 01:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165790,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 01:11:18] local.INFO: Processing buffer {"connection_id":165790,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 01:11:18] local.INFO: IMEI packet received {"connection_id":165790,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 01:11:18] local.INFO: IMEI acknowledgment sent {"connection_id":165790,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 01:14:37] local.INFO: TCP Data received {"connection_id":164453,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:14:37] local.INFO: Processing buffer {"connection_id":164453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:14:37] local.INFO: IMEI packet received {"connection_id":164453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 01:14:37] local.INFO: IMEI acknowledgment sent {"connection_id":164453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 01:14:46] local.INFO: TCP Data received {"connection_id":164453,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:14:46] local.INFO: Processing buffer {"connection_id":164453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:14:46] local.INFO: IMEI packet received {"connection_id":164453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 01:14:46] local.INFO: IMEI acknowledgment sent {"connection_id":164453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 01:15:06] local.INFO: TCP Data received {"connection_id":164453,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:15:06] local.INFO: Processing buffer {"connection_id":164453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:15:06] local.INFO: IMEI packet received {"connection_id":164453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 01:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":164453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 01:15:15] local.INFO: TCP Data received {"connection_id":164453,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:15:15] local.INFO: Processing buffer {"connection_id":164453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:15:15] local.INFO: IMEI packet received {"connection_id":164453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 01:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":164453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 01:15:16] local.INFO: TCP Data received {"connection_id":164453,"ip":"42.109.136.5","data_length":1348,"data_hex":"000000000000030f8e0a000001a044bc9220012d34c18006aa4910000100e62c..."} 
[2026-08-28 01:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164453,"packet_length":1348,"packet_hex":"000000000000030f8e0a000001a044bc9220012d34c18006aa4910000100e62c..."} 
[2026-08-28 01:15:16] local.INFO: Processing buffer {"connection_id":164453,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a000001a044bc9220012d34c18006aa4910000100e62c..."} 
[2026-08-28 01:15:16] local.INFO: Packet analysis {"connection_id":164453,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a000001a044bc"} 
[2026-08-28 01:15:16] local.INFO: Extracted packet for processing {"connection_id":164453,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a044bc"} 
[2026-08-28 01:15:16] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":1,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 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-28 01:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691981568001,"note":"Value kept but may cause issues"} 
[2026-08-28 01:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 01:15:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 01:15: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-28 01:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787859604000,"timestamp_ms":1787859604000,"timestamp_seconds":1787859604,"priority":1,"record_length":96,"hex_timestamp":"000001a044bc9220"} 
[2026-08-28 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-28 01:15:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 01:15: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-28 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-28 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-28 01:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 01:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 01:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:15: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-28 01:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 01:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 01:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691981568001,"66":25191,"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-28 01:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 01:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 01:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691981568001,"description":"Unknown IO ID 0"} 
[2026-08-28 01:15:16] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 01:15:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 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-28 01:15:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 01:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691981568001,"power":25191,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 01:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":164453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 01:15:16] local.INFO: GPS data processed {"connection_id":164453,"processed":1,"errors":0,"total":1} 
[2026-08-28 01:15:16] local.INFO: Acknowledgment sent {"connection_id":164453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 01:15:16] local.INFO: Packet analysis {"connection_id":164453,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a044bc"} 
[2026-08-28 01:15:16] local.INFO: Incomplete packet, waiting for more data {"connection_id":164453,"needed":795,"available":553} 
[2026-08-28 01:15:18] local.INFO: TCP Data received {"connection_id":164453,"ip":"42.109.136.5","data_length":1037,"data_hex":"000000000001a0449c6ba8012d34c14006aa4818000900e62d00000000000a00..."} 
[2026-08-28 01:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164453,"packet_length":1037,"packet_hex":"000000000001a0449c6ba8012d34c14006aa4818000900e62d00000000000a00..."} 
[2026-08-28 01:15:18] local.INFO: Processing buffer {"connection_id":164453,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a044bc9220012d34c18006aa4910000100e62c..."} 
[2026-08-28 01:15:18] local.INFO: Packet analysis {"connection_id":164453,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a044bc"} 
[2026-08-28 01:15:18] local.INFO: Extracted packet for processing {"connection_id":164453,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044bc"} 
[2026-08-28 01:15:18] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":1,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 01:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 01:15:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691981568001,"note":"Value kept but may cause issues"} 
[2026-08-28 01:15:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 01:15:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 01:15: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-28 01:15:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787859604000,"timestamp_ms":1787859604000,"timestamp_seconds":1787859604,"priority":1,"record_length":96,"hex_timestamp":"000001a044bc9220"} 
[2026-08-28 01:15:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 01:15:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 01:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 01:15: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-28 01:15:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 01:15:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 01:15:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 01:15:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 01:15:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:15:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:15:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 01:15:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 01:15:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 01:15:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691981568001,"66":25191,"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-28 01:15:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 01:15:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 01:15:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691981568001,"description":"Unknown IO ID 0"} 
[2026-08-28 01:15:18] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 01:15:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 01:15: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-28 01:15:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 01:15:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691981568001,"power":25191,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 01:15:18] local.INFO: DEBUG: GPS processor result {"connection_id":164453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 01:15:18] local.INFO: GPS data processed {"connection_id":164453,"processed":1,"errors":0,"total":1} 
[2026-08-28 01:15:18] local.INFO: Acknowledgment sent {"connection_id":164453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 01:15:18] local.INFO: Packet analysis {"connection_id":164453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044bc"} 
[2026-08-28 01:15:18] local.INFO: Extracted packet for processing {"connection_id":164453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044bc"} 
[2026-08-28 01:15:18] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":1,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 01:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 01:15:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457691981568001,"note":"Value kept but may cause issues"} 
[2026-08-28 01:15:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 01:15:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848242176,"note":"Value kept but may cause issues"} 
[2026-08-28 01:15: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-28 01:15:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787859604000,"timestamp_ms":1787859604000,"timestamp_seconds":1787859604,"priority":1,"record_length":96,"hex_timestamp":"000001a044bc9220"} 
[2026-08-28 01:15:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 01:15:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 01:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 01:15: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-28 01:15:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 01:15:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 01:15:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 01:15:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 01:15:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:15:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:15:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 01:15:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 01:15:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 01:15:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457691981568001,"66":25191,"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-28 01:15:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 01:15:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 01:15:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457691981568001,"description":"Unknown IO ID 0"} 
[2026-08-28 01:15:18] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 01:15:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 01:15: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-28 01:15:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848242176,"description":"Unknown IO ID 45"} 
[2026-08-28 01:15:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457691981568001,"power":25191,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848242176}} 
[2026-08-28 01:15:18] local.INFO: DEBUG: GPS processor result {"connection_id":164453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 01:15:18] local.INFO: GPS data processed {"connection_id":164453,"processed":1,"errors":0,"total":1} 
[2026-08-28 01:15:18] local.INFO: Acknowledgment sent {"connection_id":164453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 01:15:55] local.INFO: TCP Data received {"connection_id":163192,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:15:55] local.INFO: Processing buffer {"connection_id":163192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:15:55] local.INFO: IMEI packet received {"connection_id":163192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 01:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":163192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 01:16:28] local.INFO: TCP Data received {"connection_id":163192,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:16:28] local.INFO: Processing buffer {"connection_id":163192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:16:28] local.INFO: IMEI packet received {"connection_id":163192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 01:16:28] local.INFO: IMEI acknowledgment sent {"connection_id":163192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 01:16:29] local.INFO: TCP Data received {"connection_id":163192,"ip":"42.109.136.3","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-28 01:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163192,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-28 01:16:29] local.INFO: Processing buffer {"connection_id":163192,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-28 01:16:29] local.INFO: IMEI packet received {"connection_id":163192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 01:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":163192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 01:16:54] local.INFO: TCP Data received {"connection_id":165792,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 01:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165792,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 01:16:54] local.INFO: Processing buffer {"connection_id":165792,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 01:16:54] local.INFO: IMEI packet received {"connection_id":165792,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 01:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":165792,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 01:21:20] local.INFO: TCP Data received {"connection_id":163196,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:21:20] local.INFO: Processing buffer {"connection_id":163196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:21:20] local.INFO: IMEI packet received {"connection_id":163196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 01:21:20] local.INFO: IMEI acknowledgment sent {"connection_id":163196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 01:21:33] local.INFO: TCP Data received {"connection_id":165793,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:21:33] local.INFO: Processing buffer {"connection_id":165793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:21:33] local.INFO: IMEI packet received {"connection_id":165793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 01:21:33] local.INFO: IMEI acknowledgment sent {"connection_id":165793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 01:21:39] local.INFO: TCP Data received {"connection_id":165793,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:21:39] local.INFO: Processing buffer {"connection_id":165793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:21:39] local.INFO: IMEI packet received {"connection_id":165793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 01:21:39] local.INFO: IMEI acknowledgment sent {"connection_id":165793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 01:21:52] local.INFO: TCP Data received {"connection_id":165793,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:21:52] local.INFO: Processing buffer {"connection_id":165793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:21:52] local.INFO: IMEI packet received {"connection_id":165793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 01:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":165793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 01:21:54] local.INFO: TCP Data received {"connection_id":165793,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a044c129e8012d34c18006aa4910000900e62b..."} 
[2026-08-28 01:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044c129e8012d34c18006aa4910000900e62b..."} 
[2026-08-28 01:21:54] local.INFO: Processing buffer {"connection_id":165793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044c129e8012d34c18006aa4910000900e62b..."} 
[2026-08-28 01:21:54] local.INFO: Packet analysis {"connection_id":165793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044c1"} 
[2026-08-28 01:21:54] local.INFO: Extracted packet for processing {"connection_id":165793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044c1"} 
[2026-08-28 01:21:54] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 01: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-28 01:21:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692058624001,"note":"Value kept but may cause issues"} 
[2026-08-28 01:21:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 01:21:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 01:21: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-28 01:21:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787859905000,"timestamp_ms":1787859905000,"timestamp_seconds":1787859905,"priority":1,"record_length":96,"hex_timestamp":"000001a044c129e8"} 
[2026-08-28 01: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-28 01:21:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 01: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-28 01:21:54] 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-28 01: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-28 01: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-28 01:21:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 01:21:54] local.INFO: Teltonika packet parsed successfully {"connection_id":165793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 01:21:54] local.INFO: Passing IMEI to GPS processor {"connection_id":165793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:21:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":165793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:21:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 01:21:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 01:21:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 01:21:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692058624001,"66":25321,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-28 01:21:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 01:21:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 01:21:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692058624001,"description":"Unknown IO ID 0"} 
[2026-08-28 01:21:54] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 01:21:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 01:21: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-28 01:21:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 01:21:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692058624001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 01:21:54] local.INFO: DEBUG: GPS processor result {"connection_id":165793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 01:21:54] local.INFO: GPS data processed {"connection_id":165793,"processed":1,"errors":0,"total":1} 
[2026-08-28 01:21:54] local.INFO: Acknowledgment sent {"connection_id":165793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 01:22:00] local.INFO: TCP Data received {"connection_id":165793,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a044c5c1b0012d34c18006aa4910000500e62c..."} 
[2026-08-28 01:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044c5c1b0012d34c18006aa4910000500e62c..."} 
[2026-08-28 01:22:00] local.INFO: Processing buffer {"connection_id":165793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044c5c1b0012d34c18006aa4910000500e62c..."} 
[2026-08-28 01:22:00] local.INFO: Packet analysis {"connection_id":165793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044c5"} 
[2026-08-28 01:22:00] local.INFO: Extracted packet for processing {"connection_id":165793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044c5"} 
[2026-08-28 01:22:00] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":5,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 01:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 01:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692135680001,"note":"Value kept but may cause issues"} 
[2026-08-28 01:22:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 01:22:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 01:22: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-28 01:22:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787860206000,"timestamp_ms":1787860206000,"timestamp_seconds":1787860206,"priority":1,"record_length":96,"hex_timestamp":"000001a044c5c1b0"} 
[2026-08-28 01:22:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 01:22:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 01:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 01:22:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 01:22:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 01:22:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 01:22:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 01:22:00] local.INFO: Teltonika packet parsed successfully {"connection_id":165793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 01:22:00] local.INFO: Passing IMEI to GPS processor {"connection_id":165793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:22:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":165793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:22:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 01:22:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 01:22:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 01:22:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692135680001,"66":25343,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-28 01:22:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 01:22:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 01:22:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692135680001,"description":"Unknown IO ID 0"} 
[2026-08-28 01:22:00] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 01:22:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 01:22: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-28 01:22:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 01:22:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692135680001,"power":25343,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 01:22:00] local.INFO: DEBUG: GPS processor result {"connection_id":165793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 01:22:00] local.INFO: GPS data processed {"connection_id":165793,"processed":1,"errors":0,"total":1} 
[2026-08-28 01:22:00] local.INFO: Acknowledgment sent {"connection_id":165793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 01:22:28] local.INFO: TCP Data received {"connection_id":163193,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 01:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163193,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 01:22:28] local.INFO: Processing buffer {"connection_id":163193,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 01:22:28] local.INFO: IMEI packet received {"connection_id":163193,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 01:22:28] local.INFO: IMEI acknowledgment sent {"connection_id":163193,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 01:22:33] local.INFO: TCP Data received {"connection_id":163440,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:22:33] local.INFO: Processing buffer {"connection_id":163440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:22:33] local.INFO: IMEI packet received {"connection_id":163440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 01:22:33] local.INFO: IMEI acknowledgment sent {"connection_id":163440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 01:22:37] local.INFO: TCP Data received {"connection_id":163440,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:22:37] local.INFO: Processing buffer {"connection_id":163440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:22:37] local.INFO: IMEI packet received {"connection_id":163440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 01:22:37] local.INFO: IMEI acknowledgment sent {"connection_id":163440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 01:22:40] local.INFO: TCP Data received {"connection_id":163440,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a044c5c1b0012d34c18006aa4910000500e62c..."} 
[2026-08-28 01:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044c5c1b0012d34c18006aa4910000500e62c..."} 
[2026-08-28 01:22:40] local.INFO: Processing buffer {"connection_id":163440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044c5c1b0012d34c18006aa4910000500e62c..."} 
[2026-08-28 01:22:40] local.INFO: Packet analysis {"connection_id":163440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044c5"} 
[2026-08-28 01:22:40] local.INFO: Extracted packet for processing {"connection_id":163440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044c5"} 
[2026-08-28 01:22:40] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":5,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 01:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 01:22:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692135680001,"note":"Value kept but may cause issues"} 
[2026-08-28 01:22:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 01:22:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 01:22: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-28 01:22:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787860206000,"timestamp_ms":1787860206000,"timestamp_seconds":1787860206,"priority":1,"record_length":96,"hex_timestamp":"000001a044c5c1b0"} 
[2026-08-28 01:22:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 01:22:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 01:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 01:22: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-28 01:22:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 01:22:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 01:22:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 01:22:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 01:22:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:22:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:22:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 01:22:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 01:22:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 01:22:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692135680001,"66":25343,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-28 01:22:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 01:22:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 01:22:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692135680001,"description":"Unknown IO ID 0"} 
[2026-08-28 01:22:40] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 01:22:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 01:22: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-28 01:22:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 01:22:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692135680001,"power":25343,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 01:22:40] 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":706040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 01:22:40] local.INFO: GPS data processed {"connection_id":163440,"processed":1,"errors":0,"total":1} 
[2026-08-28 01:22:40] local.INFO: Acknowledgment sent {"connection_id":163440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 01:22:58] local.INFO: TCP Data received {"connection_id":163441,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 01:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163441,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 01:22:58] local.INFO: Processing buffer {"connection_id":163441,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 01:22:58] local.INFO: IMEI packet received {"connection_id":163441,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 01:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":163441,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 01:23:14] local.INFO: TCP Data received {"connection_id":163440,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a044c5c1b0012d34c18006aa4910000500e62c..."} 
[2026-08-28 01:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044c5c1b0012d34c18006aa4910000500e62c..."} 
[2026-08-28 01:23:14] local.INFO: Processing buffer {"connection_id":163440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044c5c1b0012d34c18006aa4910000500e62c..."} 
[2026-08-28 01:23:14] local.INFO: Packet analysis {"connection_id":163440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044c5"} 
[2026-08-28 01:23:14] local.INFO: Extracted packet for processing {"connection_id":163440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044c5"} 
[2026-08-28 01:23:14] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":5,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 01: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-28 01:23:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692135680001,"note":"Value kept but may cause issues"} 
[2026-08-28 01:23:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 01:23:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 01:23: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-28 01:23:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787860206000,"timestamp_ms":1787860206000,"timestamp_seconds":1787860206,"priority":1,"record_length":96,"hex_timestamp":"000001a044c5c1b0"} 
[2026-08-28 01: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-28 01:23:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 01:23: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-28 01: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-28 01: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-28 01:23:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 01:23:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 01:23:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:23:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:23: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-28 01:23:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 01:23:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 01:23:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692135680001,"66":25343,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-28 01:23:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 01:23:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 01:23:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692135680001,"description":"Unknown IO ID 0"} 
[2026-08-28 01:23:14] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 01:23:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 01: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-28 01:23:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 01:23:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692135680001,"power":25343,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 01:23:14] 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":706041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 01:23:14] local.INFO: GPS data processed {"connection_id":163440,"processed":1,"errors":0,"total":1} 
[2026-08-28 01:23:14] local.INFO: Acknowledgment sent {"connection_id":163440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 01:23:37] local.INFO: TCP Data received {"connection_id":164455,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:23:37] local.INFO: Processing buffer {"connection_id":164455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:23:37] local.INFO: IMEI packet received {"connection_id":164455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 01:23:37] local.INFO: IMEI acknowledgment sent {"connection_id":164455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 01:23:42] local.INFO: TCP Data received {"connection_id":164455,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:23:42] local.INFO: Processing buffer {"connection_id":164455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:23:42] local.INFO: IMEI packet received {"connection_id":164455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 01:23:42] local.INFO: IMEI acknowledgment sent {"connection_id":164455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 01:23:46] local.INFO: TCP Data received {"connection_id":164455,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a044c5c1b0012d34c18006aa4910000500e62c..."} 
[2026-08-28 01:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044c5c1b0012d34c18006aa4910000500e62c..."} 
[2026-08-28 01:23:46] local.INFO: Processing buffer {"connection_id":164455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044c5c1b0012d34c18006aa4910000500e62c..."} 
[2026-08-28 01:23:46] local.INFO: Packet analysis {"connection_id":164455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044c5"} 
[2026-08-28 01:23:46] local.INFO: Extracted packet for processing {"connection_id":164455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044c5"} 
[2026-08-28 01:23:46] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":5,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 01: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-28 01:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692135680001,"note":"Value kept but may cause issues"} 
[2026-08-28 01:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 01:23:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 01:23: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-28 01:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787860206000,"timestamp_ms":1787860206000,"timestamp_seconds":1787860206,"priority":1,"record_length":96,"hex_timestamp":"000001a044c5c1b0"} 
[2026-08-28 01: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-28 01:23:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 01:23: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-28 01: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-28 01: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-28 01:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 01:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 01:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:23:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 01:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 01:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 01:23:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692135680001,"66":25343,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-28 01:23:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 01:23:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 01:23:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692135680001,"description":"Unknown IO ID 0"} 
[2026-08-28 01:23:46] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 01:23:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 01: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-28 01:23:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 01:23:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692135680001,"power":25343,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 01:23:46] local.INFO: DEBUG: GPS processor result {"connection_id":164455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 01:23:46] local.INFO: GPS data processed {"connection_id":164455,"processed":1,"errors":0,"total":1} 
[2026-08-28 01:23:46] local.INFO: Acknowledgment sent {"connection_id":164455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 01:24:48] local.INFO: TCP Data received {"connection_id":164455,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a044c5c1b0012d34c18006aa4910000500e62c..."} 
[2026-08-28 01:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044c5c1b0012d34c18006aa4910000500e62c..."} 
[2026-08-28 01:24:48] local.INFO: Processing buffer {"connection_id":164455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044c5c1b0012d34c18006aa4910000500e62c..."} 
[2026-08-28 01:24:48] local.INFO: Packet analysis {"connection_id":164455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044c5"} 
[2026-08-28 01:24:48] local.INFO: Extracted packet for processing {"connection_id":164455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044c5"} 
[2026-08-28 01:24:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":5,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 01: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-28 01:24:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692135680001,"note":"Value kept but may cause issues"} 
[2026-08-28 01:24:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 01:24:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 01: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-28 01:24:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787860206000,"timestamp_ms":1787860206000,"timestamp_seconds":1787860206,"priority":1,"record_length":96,"hex_timestamp":"000001a044c5c1b0"} 
[2026-08-28 01: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-28 01:24:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 01:24: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-28 01: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-28 01: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-28 01:24:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 01:24:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 01:24:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:24:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:24: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-28 01:24:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 01:24:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 01:24:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692135680001,"66":25343,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-28 01:24:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 01:24:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 01:24:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692135680001,"description":"Unknown IO ID 0"} 
[2026-08-28 01:24:48] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 01:24:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 01: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-28 01:24:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 01:24:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692135680001,"power":25343,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 01:24:48] local.INFO: DEBUG: GPS processor result {"connection_id":164455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 01:24:48] local.INFO: GPS data processed {"connection_id":164455,"processed":1,"errors":0,"total":1} 
[2026-08-28 01:24:48] local.INFO: Acknowledgment sent {"connection_id":164455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 01:25:45] local.INFO: TCP Data received {"connection_id":165794,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:25:45] local.INFO: Processing buffer {"connection_id":165794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:25:45] local.INFO: IMEI packet received {"connection_id":165794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 01:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":165794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 01:25:47] local.INFO: TCP Data received {"connection_id":165794,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:25:47] local.INFO: Processing buffer {"connection_id":165794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:25:47] local.INFO: IMEI packet received {"connection_id":165794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 01:25:47] local.INFO: IMEI acknowledgment sent {"connection_id":165794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 01:25:52] local.INFO: TCP Data received {"connection_id":165794,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:25:52] local.INFO: Processing buffer {"connection_id":165794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:25:52] local.INFO: IMEI packet received {"connection_id":165794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 01:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":165794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 01:25:53] local.INFO: TCP Data received {"connection_id":165794,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a044ca5978012d34c18006aa4910000700e62c..."} 
[2026-08-28 01:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044ca5978012d34c18006aa4910000700e62c..."} 
[2026-08-28 01:25:53] local.INFO: Processing buffer {"connection_id":165794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044ca5978012d34c18006aa4910000700e62c..."} 
[2026-08-28 01:25:53] local.INFO: Packet analysis {"connection_id":165794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044ca"} 
[2026-08-28 01:25:53] local.INFO: Extracted packet for processing {"connection_id":165794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044ca"} 
[2026-08-28 01:25:53] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":7,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 01: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-28 01:25:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692212736001,"note":"Value kept but may cause issues"} 
[2026-08-28 01:25:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 01:25:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 01:25: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-28 01:25:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787860507000,"timestamp_ms":1787860507000,"timestamp_seconds":1787860507,"priority":1,"record_length":96,"hex_timestamp":"000001a044ca5978"} 
[2026-08-28 01: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-28 01:25:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 01: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 01:25:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 01: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-28 01: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-28 01:25:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 01:25:53] local.INFO: Teltonika packet parsed successfully {"connection_id":165794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 01:25:53] local.INFO: Passing IMEI to GPS processor {"connection_id":165794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:25:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":165794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:25: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-28 01:25:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 01:25:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 01:25:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692212736001,"66":25321,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-28 01:25:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 01:25:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 01:25:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692212736001,"description":"Unknown IO ID 0"} 
[2026-08-28 01:25:53] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 01:25:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 01: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-28 01:25:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 01:25:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692212736001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 01:25:53] local.INFO: DEBUG: GPS processor result {"connection_id":165794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 01:25:53] local.INFO: GPS data processed {"connection_id":165794,"processed":1,"errors":0,"total":1} 
[2026-08-28 01:25:53] local.INFO: Acknowledgment sent {"connection_id":165794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 01:26:32] local.INFO: TCP Data received {"connection_id":163197,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:26:32] local.INFO: Processing buffer {"connection_id":163197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:26:32] local.INFO: IMEI packet received {"connection_id":163197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 01:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":163197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 01:26:37] local.INFO: TCP Data received {"connection_id":163197,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:26:37] local.INFO: Processing buffer {"connection_id":163197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:26:37] local.INFO: IMEI packet received {"connection_id":163197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 01:26:37] local.INFO: IMEI acknowledgment sent {"connection_id":163197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 01:26:39] local.INFO: TCP Data received {"connection_id":163197,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a044ca5978012d34c18006aa4910000700e62c..."} 
[2026-08-28 01:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044ca5978012d34c18006aa4910000700e62c..."} 
[2026-08-28 01:26:39] local.INFO: Processing buffer {"connection_id":163197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044ca5978012d34c18006aa4910000700e62c..."} 
[2026-08-28 01:26:39] local.INFO: Packet analysis {"connection_id":163197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044ca"} 
[2026-08-28 01:26:39] local.INFO: Extracted packet for processing {"connection_id":163197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044ca"} 
[2026-08-28 01:26:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":7,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 01:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 01:26:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692212736001,"note":"Value kept but may cause issues"} 
[2026-08-28 01:26:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 01:26:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 01:26:39] 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-28 01:26:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787860507000,"timestamp_ms":1787860507000,"timestamp_seconds":1787860507,"priority":1,"record_length":96,"hex_timestamp":"000001a044ca5978"} 
[2026-08-28 01:26:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 01:26:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 01:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 01:26:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 01:26:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 01:26:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 01:26:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 01:26:39] local.INFO: Teltonika packet parsed successfully {"connection_id":163197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 01:26:39] local.INFO: Passing IMEI to GPS processor {"connection_id":163197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:26:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":163197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:26:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 01:26:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 01:26:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 01:26:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692212736001,"66":25321,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 01:26:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 01:26:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 01:26:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692212736001,"description":"Unknown IO ID 0"} 
[2026-08-28 01:26:39] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 01:26:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 01:26:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 01:26:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 01:26:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692212736001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 01:26:39] local.INFO: DEBUG: GPS processor result {"connection_id":163197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 01:26:39] local.INFO: GPS data processed {"connection_id":163197,"processed":1,"errors":0,"total":1} 
[2026-08-28 01:26:39] local.INFO: Acknowledgment sent {"connection_id":163197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 01:27:10] local.INFO: TCP Data received {"connection_id":163197,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a044ca5978012d34c18006aa4910000700e62c..."} 
[2026-08-28 01:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044ca5978012d34c18006aa4910000700e62c..."} 
[2026-08-28 01:27:10] local.INFO: Processing buffer {"connection_id":163197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044ca5978012d34c18006aa4910000700e62c..."} 
[2026-08-28 01:27:10] local.INFO: Packet analysis {"connection_id":163197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044ca"} 
[2026-08-28 01:27:10] local.INFO: Extracted packet for processing {"connection_id":163197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044ca"} 
[2026-08-28 01:27:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":7,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 01:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 01:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692212736001,"note":"Value kept but may cause issues"} 
[2026-08-28 01:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 01:27:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 01:27:10] 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-28 01:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787860507000,"timestamp_ms":1787860507000,"timestamp_seconds":1787860507,"priority":1,"record_length":96,"hex_timestamp":"000001a044ca5978"} 
[2026-08-28 01:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 01:27:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 01:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 01:27:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 01:27:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 01:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 01:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 01:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 01:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:27:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 01:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 01:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 01:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692212736001,"66":25321,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 01:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 01:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 01:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692212736001,"description":"Unknown IO ID 0"} 
[2026-08-28 01:27:10] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 01:27:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 01:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 01:27:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 01:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692212736001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 01:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":163197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 01:27:10] local.INFO: GPS data processed {"connection_id":163197,"processed":1,"errors":0,"total":1} 
[2026-08-28 01:27:10] local.INFO: Acknowledgment sent {"connection_id":163197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 01:27:32] local.INFO: TCP Data received {"connection_id":163442,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:27:32] local.INFO: Processing buffer {"connection_id":163442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:27:32] local.INFO: IMEI packet received {"connection_id":163442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 01:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":163442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 01:27:40] local.INFO: TCP Data received {"connection_id":163442,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:27:40] local.INFO: Processing buffer {"connection_id":163442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:27:40] local.INFO: IMEI packet received {"connection_id":163442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 01:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":163442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 01:27:41] local.INFO: TCP Data received {"connection_id":163442,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a044ca5978012d34c18006aa4910000700e62c..."} 
[2026-08-28 01:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044ca5978012d34c18006aa4910000700e62c..."} 
[2026-08-28 01:27:41] local.INFO: Processing buffer {"connection_id":163442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044ca5978012d34c18006aa4910000700e62c..."} 
[2026-08-28 01:27:41] local.INFO: Packet analysis {"connection_id":163442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044ca"} 
[2026-08-28 01:27:41] local.INFO: Extracted packet for processing {"connection_id":163442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044ca"} 
[2026-08-28 01:27:41] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":7,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 01: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-28 01:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692212736001,"note":"Value kept but may cause issues"} 
[2026-08-28 01:27:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 01:27:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 01:27:41] 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-28 01:27:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787860507000,"timestamp_ms":1787860507000,"timestamp_seconds":1787860507,"priority":1,"record_length":96,"hex_timestamp":"000001a044ca5978"} 
[2026-08-28 01: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-28 01:27:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 01: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":255,"data_length":795,"current_offset":136} 
[2026-08-28 01:27: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-28 01: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-28 01: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-28 01:27:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 01:27:41] local.INFO: Teltonika packet parsed successfully {"connection_id":163442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 01:27:41] local.INFO: Passing IMEI to GPS processor {"connection_id":163442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:27:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":163442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:27:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 01:27:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 01:27:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 01:27:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692212736001,"66":25321,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 01:27:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 01:27:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 01:27:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692212736001,"description":"Unknown IO ID 0"} 
[2026-08-28 01:27:41] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 01:27:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 01: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-28 01:27:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 01:27:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692212736001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 01:27:41] 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":706047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 01:27:41] local.INFO: GPS data processed {"connection_id":163442,"processed":1,"errors":0,"total":1} 
[2026-08-28 01:27:41] local.INFO: Acknowledgment sent {"connection_id":163442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 01:28:12] local.INFO: TCP Data received {"connection_id":163442,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a044ca5978012d34c18006aa4910000700e62c..."} 
[2026-08-28 01:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044ca5978012d34c18006aa4910000700e62c..."} 
[2026-08-28 01:28:12] local.INFO: Processing buffer {"connection_id":163442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044ca5978012d34c18006aa4910000700e62c..."} 
[2026-08-28 01:28:12] local.INFO: Packet analysis {"connection_id":163442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044ca"} 
[2026-08-28 01:28:12] local.INFO: Extracted packet for processing {"connection_id":163442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044ca"} 
[2026-08-28 01:28:12] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":7,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 01:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 01:28:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692212736001,"note":"Value kept but may cause issues"} 
[2026-08-28 01:28:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 01:28:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 01:28: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-28 01:28:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787860507000,"timestamp_ms":1787860507000,"timestamp_seconds":1787860507,"priority":1,"record_length":96,"hex_timestamp":"000001a044ca5978"} 
[2026-08-28 01:28:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 01:28:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 01:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 01:28:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 01:28:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 01:28:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 01:28:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 01:28:12] local.INFO: Teltonika packet parsed successfully {"connection_id":163442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 01:28:12] local.INFO: Passing IMEI to GPS processor {"connection_id":163442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:28:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":163442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:28:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 01:28:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 01:28:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 01:28:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692212736001,"66":25321,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 01:28:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 01:28:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 01:28:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692212736001,"description":"Unknown IO ID 0"} 
[2026-08-28 01:28:12] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 01:28:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 01:28: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-28 01:28:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 01:28:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692212736001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 01:28:12] 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":706048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 01:28:12] local.INFO: GPS data processed {"connection_id":163442,"processed":1,"errors":0,"total":1} 
[2026-08-28 01:28:12] local.INFO: Acknowledgment sent {"connection_id":163442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 01:28:18] local.INFO: TCP Data received {"connection_id":165795,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 01:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165795,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 01:28:18] local.INFO: Processing buffer {"connection_id":165795,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 01:28:18] local.INFO: IMEI packet received {"connection_id":165795,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 01:28:18] local.INFO: IMEI acknowledgment sent {"connection_id":165795,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 01:28:37] local.INFO: TCP Data received {"connection_id":164456,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:28:37] local.INFO: Processing buffer {"connection_id":164456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:28:37] local.INFO: IMEI packet received {"connection_id":164456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 01:28:37] local.INFO: IMEI acknowledgment sent {"connection_id":164456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 01:28:42] local.INFO: TCP Data received {"connection_id":164456,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:28:42] local.INFO: Processing buffer {"connection_id":164456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:28:42] local.INFO: IMEI packet received {"connection_id":164456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 01:28:42] local.INFO: IMEI acknowledgment sent {"connection_id":164456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 01:28:43] local.INFO: TCP Data received {"connection_id":164456,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a044ca5978012d34c18006aa4910000700e62c..."} 
[2026-08-28 01:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044ca5978012d34c18006aa4910000700e62c..."} 
[2026-08-28 01:28:43] local.INFO: Processing buffer {"connection_id":164456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044ca5978012d34c18006aa4910000700e62c..."} 
[2026-08-28 01:28:43] local.INFO: Packet analysis {"connection_id":164456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044ca"} 
[2026-08-28 01:28:43] local.INFO: Extracted packet for processing {"connection_id":164456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044ca"} 
[2026-08-28 01:28:43] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":7,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 01: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-28 01:28:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692212736001,"note":"Value kept but may cause issues"} 
[2026-08-28 01:28:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 01:28:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 01:28: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-28 01:28:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787860507000,"timestamp_ms":1787860507000,"timestamp_seconds":1787860507,"priority":1,"record_length":96,"hex_timestamp":"000001a044ca5978"} 
[2026-08-28 01: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-28 01:28:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 01: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 01:28: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-28 01: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-28 01: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-28 01:28:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 01:28:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 01:28:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:28:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:28: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-28 01:28:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 01:28:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 01:28:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692212736001,"66":25321,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 01:28:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 01:28:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 01:28:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692212736001,"description":"Unknown IO ID 0"} 
[2026-08-28 01:28:43] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 01:28:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 01: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-28 01:28:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 01:28:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692212736001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 01:28:43] local.INFO: DEBUG: GPS processor result {"connection_id":164456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 01:28:43] local.INFO: GPS data processed {"connection_id":164456,"processed":1,"errors":0,"total":1} 
[2026-08-28 01:28:43] local.INFO: Acknowledgment sent {"connection_id":164456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 01:28:48] local.INFO: TCP Data received {"connection_id":164456,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a044ca5978012d34c18006aa4910000700e62c..."} 
[2026-08-28 01:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044ca5978012d34c18006aa4910000700e62c..."} 
[2026-08-28 01:28:48] local.INFO: Processing buffer {"connection_id":164456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044ca5978012d34c18006aa4910000700e62c..."} 
[2026-08-28 01:28:48] local.INFO: Packet analysis {"connection_id":164456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044ca"} 
[2026-08-28 01:28:48] local.INFO: Extracted packet for processing {"connection_id":164456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044ca"} 
[2026-08-28 01:28:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":7,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 01: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-28 01:28:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692212736001,"note":"Value kept but may cause issues"} 
[2026-08-28 01:28:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 01:28:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 01:28: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-28 01:28:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787860507000,"timestamp_ms":1787860507000,"timestamp_seconds":1787860507,"priority":1,"record_length":96,"hex_timestamp":"000001a044ca5978"} 
[2026-08-28 01: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-28 01:28:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 01: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 01:28: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-28 01: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-28 01: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-28 01:28:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 01:28:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 01:28:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:28:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:28: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-28 01:28:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 01:28:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 01:28:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692212736001,"66":25321,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 01:28:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 01:28:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 01:28:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692212736001,"description":"Unknown IO ID 0"} 
[2026-08-28 01:28:48] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 01:28:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 01: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-28 01:28:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 01:28:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692212736001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 01:28:48] local.INFO: DEBUG: GPS processor result {"connection_id":164456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 01:28:48] local.INFO: GPS data processed {"connection_id":164456,"processed":1,"errors":0,"total":1} 
[2026-08-28 01:28:48] local.INFO: Acknowledgment sent {"connection_id":164456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 01:29:32] local.INFO: TCP Data received {"connection_id":163198,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:29:32] local.INFO: Processing buffer {"connection_id":163198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:29:32] local.INFO: IMEI packet received {"connection_id":163198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 01:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":163198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 01:29:37] local.INFO: TCP Data received {"connection_id":163198,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:29:37] local.INFO: Processing buffer {"connection_id":163198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:29:37] local.INFO: IMEI packet received {"connection_id":163198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 01:29:37] local.INFO: IMEI acknowledgment sent {"connection_id":163198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 01:29:38] local.INFO: TCP Data received {"connection_id":163198,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a044ca5978012d34c18006aa4910000700e62c..."} 
[2026-08-28 01:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044ca5978012d34c18006aa4910000700e62c..."} 
[2026-08-28 01:29:38] local.INFO: Processing buffer {"connection_id":163198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044ca5978012d34c18006aa4910000700e62c..."} 
[2026-08-28 01:29:38] local.INFO: Packet analysis {"connection_id":163198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044ca"} 
[2026-08-28 01:29:38] local.INFO: Extracted packet for processing {"connection_id":163198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044ca"} 
[2026-08-28 01:29:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":7,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 01:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 01:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692212736001,"note":"Value kept but may cause issues"} 
[2026-08-28 01:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 01:29:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 01:29: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-28 01:29:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787860507000,"timestamp_ms":1787860507000,"timestamp_seconds":1787860507,"priority":1,"record_length":96,"hex_timestamp":"000001a044ca5978"} 
[2026-08-28 01:29:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 01:29:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 01:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 01:29:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 01:29:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 01:29:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 01:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 01:29:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 01:29:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:29:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:29:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 01:29:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 01:29:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 01:29:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692212736001,"66":25321,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 01:29:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 01:29:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 01:29:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692212736001,"description":"Unknown IO ID 0"} 
[2026-08-28 01:29:38] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 01:29:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 01:29: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-28 01:29:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 01:29:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692212736001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 01:29:38] local.INFO: DEBUG: GPS processor result {"connection_id":163198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 01:29:38] local.INFO: GPS data processed {"connection_id":163198,"processed":1,"errors":0,"total":1} 
[2026-08-28 01:29:38] local.INFO: Acknowledgment sent {"connection_id":163198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 01:30:11] local.INFO: TCP Data received {"connection_id":163198,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a044ca5978012d34c18006aa4910000700e62c..."} 
[2026-08-28 01:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044ca5978012d34c18006aa4910000700e62c..."} 
[2026-08-28 01:30:11] local.INFO: Processing buffer {"connection_id":163198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044ca5978012d34c18006aa4910000700e62c..."} 
[2026-08-28 01:30:11] local.INFO: Packet analysis {"connection_id":163198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044ca"} 
[2026-08-28 01:30:11] local.INFO: Extracted packet for processing {"connection_id":163198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044ca"} 
[2026-08-28 01:30:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":7,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 01:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 01:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692212736001,"note":"Value kept but may cause issues"} 
[2026-08-28 01:30:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 01:30:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 01:30: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-28 01:30:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787860507000,"timestamp_ms":1787860507000,"timestamp_seconds":1787860507,"priority":1,"record_length":96,"hex_timestamp":"000001a044ca5978"} 
[2026-08-28 01:30:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 01:30:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 01:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 01:30: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-28 01:30:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 01:30:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 01:30:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 01:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":163198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 01:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":163198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":163198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:30:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 01:30:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 01:30:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 01:30:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692212736001,"66":25321,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 01:30:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 01:30:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 01:30:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692212736001,"description":"Unknown IO ID 0"} 
[2026-08-28 01:30:11] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 01:30:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 01:30: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-28 01:30:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 01:30:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692212736001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 01:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":163198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 01:30:11] local.INFO: GPS data processed {"connection_id":163198,"processed":1,"errors":0,"total":1} 
[2026-08-28 01:30:11] local.INFO: Acknowledgment sent {"connection_id":163198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 01:30:32] local.INFO: TCP Data received {"connection_id":165796,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:30:32] local.INFO: Processing buffer {"connection_id":165796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:30:32] local.INFO: IMEI packet received {"connection_id":165796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 01:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":165796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 01:30:37] local.INFO: TCP Data received {"connection_id":165796,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:30:37] local.INFO: Processing buffer {"connection_id":165796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:30:37] local.INFO: IMEI packet received {"connection_id":165796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 01:30:37] local.INFO: IMEI acknowledgment sent {"connection_id":165796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 01:30:38] local.INFO: TCP Data received {"connection_id":165796,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a044ca5978012d34c18006aa4910000700e62c..."} 
[2026-08-28 01:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044ca5978012d34c18006aa4910000700e62c..."} 
[2026-08-28 01:30:38] local.INFO: Processing buffer {"connection_id":165796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044ca5978012d34c18006aa4910000700e62c..."} 
[2026-08-28 01:30:38] local.INFO: Packet analysis {"connection_id":165796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044ca"} 
[2026-08-28 01:30:38] local.INFO: Extracted packet for processing {"connection_id":165796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044ca"} 
[2026-08-28 01:30:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":7,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 01:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 01:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692212736001,"note":"Value kept but may cause issues"} 
[2026-08-28 01:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 01:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 01:30: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-28 01:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787860507000,"timestamp_ms":1787860507000,"timestamp_seconds":1787860507,"priority":1,"record_length":96,"hex_timestamp":"000001a044ca5978"} 
[2026-08-28 01:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 01:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 01:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 01:30:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 01:30:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 01:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 01:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 01:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":165796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 01:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":165796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":165796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 01:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 01:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 01:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692212736001,"66":25321,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 01:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 01:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 01:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692212736001,"description":"Unknown IO ID 0"} 
[2026-08-28 01:30:38] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 01:30:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 01:30: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-28 01:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 01:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692212736001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 01:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":165796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 01:30:38] local.INFO: GPS data processed {"connection_id":165796,"processed":1,"errors":0,"total":1} 
[2026-08-28 01:30:38] local.INFO: Acknowledgment sent {"connection_id":165796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 01:31:10] local.INFO: TCP Data received {"connection_id":165796,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a044cef140012d34c18006aa4910000700e62a..."} 
[2026-08-28 01:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044cef140012d34c18006aa4910000700e62a..."} 
[2026-08-28 01:31:10] local.INFO: Processing buffer {"connection_id":165796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044cef140012d34c18006aa4910000700e62a..."} 
[2026-08-28 01:31:10] local.INFO: Packet analysis {"connection_id":165796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044ce"} 
[2026-08-28 01:31:10] local.INFO: Extracted packet for processing {"connection_id":165796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044ce"} 
[2026-08-28 01:31:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":7,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 01:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 01:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692289792001,"note":"Value kept but may cause issues"} 
[2026-08-28 01:31:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 01:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 01:31:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 01:31:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 01:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787860808000,"timestamp_ms":1787860808000,"timestamp_seconds":1787860808,"priority":1,"record_length":96,"hex_timestamp":"000001a044cef140"} 
[2026-08-28 01:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 01:31:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 01:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 01:31:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 01:31:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 01:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 01:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 01:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":165796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 01:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":165796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":165796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:31:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 01:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 01:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 01:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692289792001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 01:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 01:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 01:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692289792001,"description":"Unknown IO ID 0"} 
[2026-08-28 01:31:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 01:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 01:31:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 01:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692289792001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 01:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":165796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 01:31:10] local.INFO: GPS data processed {"connection_id":165796,"processed":1,"errors":0,"total":1} 
[2026-08-28 01:31:10] local.INFO: Acknowledgment sent {"connection_id":165796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 01:31:32] local.INFO: TCP Data received {"connection_id":165797,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:31:32] local.INFO: Processing buffer {"connection_id":165797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:31:32] local.INFO: IMEI packet received {"connection_id":165797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 01:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":165797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 01:31:37] local.INFO: TCP Data received {"connection_id":165797,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:31:37] local.INFO: Processing buffer {"connection_id":165797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:31:37] local.INFO: IMEI packet received {"connection_id":165797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 01:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":165797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 01:31:38] local.INFO: TCP Data received {"connection_id":165797,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a044cef140012d34c18006aa4910000700e62a..."} 
[2026-08-28 01:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044cef140012d34c18006aa4910000700e62a..."} 
[2026-08-28 01:31:38] local.INFO: Processing buffer {"connection_id":165797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044cef140012d34c18006aa4910000700e62a..."} 
[2026-08-28 01:31:38] local.INFO: Packet analysis {"connection_id":165797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044ce"} 
[2026-08-28 01:31:38] local.INFO: Extracted packet for processing {"connection_id":165797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044ce"} 
[2026-08-28 01:31:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":7,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 01:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 01:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692289792001,"note":"Value kept but may cause issues"} 
[2026-08-28 01:31:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 01:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 01:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 01:31: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-28 01:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787860808000,"timestamp_ms":1787860808000,"timestamp_seconds":1787860808,"priority":1,"record_length":96,"hex_timestamp":"000001a044cef140"} 
[2026-08-28 01:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 01:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 01:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 01:31:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 01:31:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 01:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 01:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 01:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":165797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 01:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":165797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":165797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 01:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 01:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 01:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692289792001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 01:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 01:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 01:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692289792001,"description":"Unknown IO ID 0"} 
[2026-08-28 01:31:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 01:31: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-28 01:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 01:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692289792001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 01:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":165797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 01:31:38] local.INFO: GPS data processed {"connection_id":165797,"processed":1,"errors":0,"total":1} 
[2026-08-28 01:31:38] local.INFO: Acknowledgment sent {"connection_id":165797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 01:32:10] local.INFO: TCP Data received {"connection_id":165797,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a044cef140012d34c18006aa4910000700e62a..."} 
[2026-08-28 01:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044cef140012d34c18006aa4910000700e62a..."} 
[2026-08-28 01:32:10] local.INFO: Processing buffer {"connection_id":165797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044cef140012d34c18006aa4910000700e62a..."} 
[2026-08-28 01:32:10] local.INFO: Packet analysis {"connection_id":165797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044ce"} 
[2026-08-28 01:32:10] local.INFO: Extracted packet for processing {"connection_id":165797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044ce"} 
[2026-08-28 01:32:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":7,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 01:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 01:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692289792001,"note":"Value kept but may cause issues"} 
[2026-08-28 01:32:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 01:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 01:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 01:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 01:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787860808000,"timestamp_ms":1787860808000,"timestamp_seconds":1787860808,"priority":1,"record_length":96,"hex_timestamp":"000001a044cef140"} 
[2026-08-28 01:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 01:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 01:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 01:32:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 01:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 01:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 01:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 01:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":165797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 01:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":165797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":165797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 01:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 01:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 01:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692289792001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 01:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 01:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 01:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692289792001,"description":"Unknown IO ID 0"} 
[2026-08-28 01:32:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 01:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 01:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 01:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692289792001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 01:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":165797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 01:32:10] local.INFO: GPS data processed {"connection_id":165797,"processed":1,"errors":0,"total":1} 
[2026-08-28 01:32:10] local.INFO: Acknowledgment sent {"connection_id":165797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 01:33:22] local.INFO: TCP Data received {"connection_id":165798,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:33:22] local.INFO: Processing buffer {"connection_id":165798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:33:22] local.INFO: IMEI packet received {"connection_id":165798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 01:33:22] local.INFO: IMEI acknowledgment sent {"connection_id":165798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 01:33:27] local.INFO: TCP Data received {"connection_id":165798,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:33:27] local.INFO: Processing buffer {"connection_id":165798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:33:27] local.INFO: IMEI packet received {"connection_id":165798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 01:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":165798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 01:33:28] local.INFO: TCP Data received {"connection_id":165798,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a044cef140012d34c18006aa4910000700e62a..."} 
[2026-08-28 01:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044cef140012d34c18006aa4910000700e62a..."} 
[2026-08-28 01:33:28] local.INFO: Processing buffer {"connection_id":165798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044cef140012d34c18006aa4910000700e62a..."} 
[2026-08-28 01:33:28] local.INFO: Packet analysis {"connection_id":165798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044ce"} 
[2026-08-28 01:33:28] local.INFO: Extracted packet for processing {"connection_id":165798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044ce"} 
[2026-08-28 01:33:28] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":7,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 01:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 01:33:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692289792001,"note":"Value kept but may cause issues"} 
[2026-08-28 01:33:28] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 01:33:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 01:33:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 01:33:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 01:33:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787860808000,"timestamp_ms":1787860808000,"timestamp_seconds":1787860808,"priority":1,"record_length":96,"hex_timestamp":"000001a044cef140"} 
[2026-08-28 01:33:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 01:33:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 01:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 01:33:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 01:33:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 01:33:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 01:33:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 01:33:28] local.INFO: Teltonika packet parsed successfully {"connection_id":165798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 01:33:28] local.INFO: Passing IMEI to GPS processor {"connection_id":165798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:33:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":165798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:33:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 01:33:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 01:33:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 01:33:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692289792001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 01:33:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 01:33:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 01:33:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692289792001,"description":"Unknown IO ID 0"} 
[2026-08-28 01:33:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 01:33:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 01:33:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 01:33:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692289792001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 01:33:28] local.INFO: DEBUG: GPS processor result {"connection_id":165798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 01:33:28] local.INFO: GPS data processed {"connection_id":165798,"processed":1,"errors":0,"total":1} 
[2026-08-28 01:33:28] local.INFO: Acknowledgment sent {"connection_id":165798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 01:33:53] local.INFO: TCP Data received {"connection_id":163443,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 01:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163443,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 01:33:53] local.INFO: Processing buffer {"connection_id":163443,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 01:33:53] local.INFO: IMEI packet received {"connection_id":163443,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 01:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":163443,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 01:34:00] local.INFO: TCP Data received {"connection_id":165798,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a044cef140012d34c18006aa4910000700e62a..."} 
[2026-08-28 01:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044cef140012d34c18006aa4910000700e62a..."} 
[2026-08-28 01:34:00] local.INFO: Processing buffer {"connection_id":165798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044cef140012d34c18006aa4910000700e62a..."} 
[2026-08-28 01:34:00] local.INFO: Packet analysis {"connection_id":165798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044ce"} 
[2026-08-28 01:34:00] local.INFO: Extracted packet for processing {"connection_id":165798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044ce"} 
[2026-08-28 01:34:00] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":7,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 01:34:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 01:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692289792001,"note":"Value kept but may cause issues"} 
[2026-08-28 01:34:00] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 01:34:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 01:34:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 01:34:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 01:34:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787860808000,"timestamp_ms":1787860808000,"timestamp_seconds":1787860808,"priority":1,"record_length":96,"hex_timestamp":"000001a044cef140"} 
[2026-08-28 01:34:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 01:34:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 01:34:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 01:34:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 01:34:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 01:34:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 01:34:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 01:34:00] local.INFO: Teltonika packet parsed successfully {"connection_id":165798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 01:34:00] local.INFO: Passing IMEI to GPS processor {"connection_id":165798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:34:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":165798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:34:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 01:34:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 01:34:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 01:34:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692289792001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 01:34:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 01:34:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 01:34:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692289792001,"description":"Unknown IO ID 0"} 
[2026-08-28 01:34:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 01:34: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-28 01:34:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 01:34:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692289792001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 01:34:00] local.INFO: DEBUG: GPS processor result {"connection_id":165798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 01:34:00] local.INFO: GPS data processed {"connection_id":165798,"processed":1,"errors":0,"total":1} 
[2026-08-28 01:34:00] local.INFO: Acknowledgment sent {"connection_id":165798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 01:34:32] local.INFO: TCP Data received {"connection_id":163199,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:34:32] local.INFO: Processing buffer {"connection_id":163199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:34:32] local.INFO: IMEI packet received {"connection_id":163199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 01:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":163199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 01:34:37] local.INFO: TCP Data received {"connection_id":163199,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:34:37] local.INFO: Processing buffer {"connection_id":163199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:34:37] local.INFO: IMEI packet received {"connection_id":163199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 01:34:37] local.INFO: IMEI acknowledgment sent {"connection_id":163199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 01:34:38] local.INFO: TCP Data received {"connection_id":163199,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a044cef140012d34c18006aa4910000700e62a..."} 
[2026-08-28 01:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044cef140012d34c18006aa4910000700e62a..."} 
[2026-08-28 01:34:38] local.INFO: Processing buffer {"connection_id":163199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044cef140012d34c18006aa4910000700e62a..."} 
[2026-08-28 01:34:38] local.INFO: Packet analysis {"connection_id":163199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044ce"} 
[2026-08-28 01:34:38] local.INFO: Extracted packet for processing {"connection_id":163199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044ce"} 
[2026-08-28 01:34:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":7,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 01:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 01:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692289792001,"note":"Value kept but may cause issues"} 
[2026-08-28 01:34:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 01:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 01:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 01:34: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-28 01:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787860808000,"timestamp_ms":1787860808000,"timestamp_seconds":1787860808,"priority":1,"record_length":96,"hex_timestamp":"000001a044cef140"} 
[2026-08-28 01:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 01:34:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 01:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 01:34:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 01:34:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 01:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 01:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 01:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 01:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:34:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 01:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 01:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 01:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692289792001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 01:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 01:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 01:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692289792001,"description":"Unknown IO ID 0"} 
[2026-08-28 01:34:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 01:34: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-28 01:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 01:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692289792001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 01:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":163199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 01:34:38] local.INFO: GPS data processed {"connection_id":163199,"processed":1,"errors":0,"total":1} 
[2026-08-28 01:34:38] local.INFO: Acknowledgment sent {"connection_id":163199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 01:35:10] local.INFO: TCP Data received {"connection_id":163199,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a044cef140012d34c18006aa4910000700e62a..."} 
[2026-08-28 01:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044cef140012d34c18006aa4910000700e62a..."} 
[2026-08-28 01:35:10] local.INFO: Processing buffer {"connection_id":163199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044cef140012d34c18006aa4910000700e62a..."} 
[2026-08-28 01:35:10] local.INFO: Packet analysis {"connection_id":163199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044ce"} 
[2026-08-28 01:35:10] local.INFO: Extracted packet for processing {"connection_id":163199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044ce"} 
[2026-08-28 01:35:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":7,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 01:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 01:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692289792001,"note":"Value kept but may cause issues"} 
[2026-08-28 01:35:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 01:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 01:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 01:35:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 01:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787860808000,"timestamp_ms":1787860808000,"timestamp_seconds":1787860808,"priority":1,"record_length":96,"hex_timestamp":"000001a044cef140"} 
[2026-08-28 01:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 01:35:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 01:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 01:35:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 01:35:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 01:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 01:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 01:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 01:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:35:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 01:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 01:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 01:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692289792001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 01:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 01:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 01:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692289792001,"description":"Unknown IO ID 0"} 
[2026-08-28 01:35:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 01:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 01:35:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 01:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692289792001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 01:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":163199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 01:35:10] local.INFO: GPS data processed {"connection_id":163199,"processed":1,"errors":0,"total":1} 
[2026-08-28 01:35:10] local.INFO: Acknowledgment sent {"connection_id":163199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 01:35:40] local.INFO: TCP Data received {"connection_id":163200,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:35:40] local.INFO: Processing buffer {"connection_id":163200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:35:40] local.INFO: IMEI packet received {"connection_id":163200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 01:35:40] local.INFO: IMEI acknowledgment sent {"connection_id":163200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 01:35:42] local.INFO: TCP Data received {"connection_id":163200,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:35:42] local.INFO: Processing buffer {"connection_id":163200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:35:42] local.INFO: IMEI packet received {"connection_id":163200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 01:35:42] local.INFO: IMEI acknowledgment sent {"connection_id":163200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 01:35:43] local.INFO: TCP Data received {"connection_id":163200,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a044cef140012d34c18006aa4910000700e62a..."} 
[2026-08-28 01:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044cef140012d34c18006aa4910000700e62a..."} 
[2026-08-28 01:35:43] local.INFO: Processing buffer {"connection_id":163200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044cef140012d34c18006aa4910000700e62a..."} 
[2026-08-28 01:35:43] local.INFO: Packet analysis {"connection_id":163200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044ce"} 
[2026-08-28 01:35:43] local.INFO: Extracted packet for processing {"connection_id":163200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044ce"} 
[2026-08-28 01:35:43] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":7,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 01: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-28 01:35:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692289792001,"note":"Value kept but may cause issues"} 
[2026-08-28 01:35:43] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 01:35:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 01:35:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 01: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-28 01:35:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787860808000,"timestamp_ms":1787860808000,"timestamp_seconds":1787860808,"priority":1,"record_length":96,"hex_timestamp":"000001a044cef140"} 
[2026-08-28 01: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-28 01:35:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 01:35: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-28 01: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-28 01: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-28 01:35:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 01:35:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 01:35:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:35:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01: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-28 01:35:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 01:35:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 01:35:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692289792001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 01:35:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 01:35:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 01:35:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692289792001,"description":"Unknown IO ID 0"} 
[2026-08-28 01:35:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 01: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-28 01:35:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 01:35:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692289792001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 01:35:43] local.INFO: DEBUG: GPS processor result {"connection_id":163200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 01:35:43] local.INFO: GPS data processed {"connection_id":163200,"processed":1,"errors":0,"total":1} 
[2026-08-28 01:35:43] local.INFO: Acknowledgment sent {"connection_id":163200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 01:35:48] local.INFO: TCP Data received {"connection_id":163200,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a044cef140012d34c18006aa4910000700e62a..."} 
[2026-08-28 01:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044cef140012d34c18006aa4910000700e62a..."} 
[2026-08-28 01:35:48] local.INFO: Processing buffer {"connection_id":163200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044cef140012d34c18006aa4910000700e62a..."} 
[2026-08-28 01:35:48] local.INFO: Packet analysis {"connection_id":163200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044ce"} 
[2026-08-28 01:35:48] local.INFO: Extracted packet for processing {"connection_id":163200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044ce"} 
[2026-08-28 01:35:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":7,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 01: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-28 01:35:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692289792001,"note":"Value kept but may cause issues"} 
[2026-08-28 01:35:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 01:35:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 01:35:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 01:35: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-28 01:35:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787860808000,"timestamp_ms":1787860808000,"timestamp_seconds":1787860808,"priority":1,"record_length":96,"hex_timestamp":"000001a044cef140"} 
[2026-08-28 01: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-28 01:35:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 01:35: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-28 01: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-28 01: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-28 01:35:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 01:35:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 01:35:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:35:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:35: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-28 01:35:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 01:35:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 01:35:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692289792001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 01:35:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 01:35:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 01:35:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692289792001,"description":"Unknown IO ID 0"} 
[2026-08-28 01:35:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 01: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-28 01:35:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 01:35:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692289792001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 01:35:48] local.INFO: DEBUG: GPS processor result {"connection_id":163200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 01:35:48] local.INFO: GPS data processed {"connection_id":163200,"processed":1,"errors":0,"total":1} 
[2026-08-28 01:35:48] local.INFO: Acknowledgment sent {"connection_id":163200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 01:36:33] local.INFO: TCP Data received {"connection_id":163444,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:36:33] local.INFO: Processing buffer {"connection_id":163444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:36:33] local.INFO: IMEI packet received {"connection_id":163444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 01:36:33] local.INFO: IMEI acknowledgment sent {"connection_id":163444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 01:36:37] local.INFO: TCP Data received {"connection_id":163444,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:36:37] local.INFO: Processing buffer {"connection_id":163444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:36:37] local.INFO: IMEI packet received {"connection_id":163444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 01:36:37] local.INFO: IMEI acknowledgment sent {"connection_id":163444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 01:36:38] local.INFO: TCP Data received {"connection_id":163444,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a044d38908012d34c18006aa4910000300e62c..."} 
[2026-08-28 01:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044d38908012d34c18006aa4910000300e62c..."} 
[2026-08-28 01:36:38] local.INFO: Processing buffer {"connection_id":163444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044d38908012d34c18006aa4910000300e62c..."} 
[2026-08-28 01:36:38] local.INFO: Packet analysis {"connection_id":163444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044d3"} 
[2026-08-28 01:36:38] local.INFO: Extracted packet for processing {"connection_id":163444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044d3"} 
[2026-08-28 01:36:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":3,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 01:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 01:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692366848001,"note":"Value kept but may cause issues"} 
[2026-08-28 01:36:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 01:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 01:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 01:36: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-28 01:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787861109000,"timestamp_ms":1787861109000,"timestamp_seconds":1787861109,"priority":1,"record_length":96,"hex_timestamp":"000001a044d38908"} 
[2026-08-28 01:36:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 01:36:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 01:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 01:36:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 01:36:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 01:36:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 01:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 01:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 01:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:36:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 01:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 01:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 01:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692366848001,"66":25299,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 01:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 01:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 01:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692366848001,"description":"Unknown IO ID 0"} 
[2026-08-28 01:36:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 01:36: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-28 01:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 01:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692366848001,"power":25299,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 01:36:38] 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":706063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 01:36:38] local.INFO: GPS data processed {"connection_id":163444,"processed":1,"errors":0,"total":1} 
[2026-08-28 01:36:38] local.INFO: Acknowledgment sent {"connection_id":163444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 01:37:10] local.INFO: TCP Data received {"connection_id":163444,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a044d38908012d34c18006aa4910000300e62c..."} 
[2026-08-28 01:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044d38908012d34c18006aa4910000300e62c..."} 
[2026-08-28 01:37:10] local.INFO: Processing buffer {"connection_id":163444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044d38908012d34c18006aa4910000300e62c..."} 
[2026-08-28 01:37:10] local.INFO: Packet analysis {"connection_id":163444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044d3"} 
[2026-08-28 01:37:10] local.INFO: Extracted packet for processing {"connection_id":163444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044d3"} 
[2026-08-28 01:37:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":3,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 01:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 01:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692366848001,"note":"Value kept but may cause issues"} 
[2026-08-28 01:37:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 01:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 01:37:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 01:37:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 01:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787861109000,"timestamp_ms":1787861109000,"timestamp_seconds":1787861109,"priority":1,"record_length":96,"hex_timestamp":"000001a044d38908"} 
[2026-08-28 01:37:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 01:37:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 01:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 01:37:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 01:37:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 01:37:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 01:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 01:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 01:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:37:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 01:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 01:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 01:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692366848001,"66":25299,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 01:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 01:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 01:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692366848001,"description":"Unknown IO ID 0"} 
[2026-08-28 01:37:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 01:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 01:37:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 01:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692366848001,"power":25299,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 01:37:10] 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":706064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 01:37:10] local.INFO: GPS data processed {"connection_id":163444,"processed":1,"errors":0,"total":1} 
[2026-08-28 01:37:10] local.INFO: Acknowledgment sent {"connection_id":163444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 01:37:32] local.INFO: TCP Data received {"connection_id":163445,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:37:32] local.INFO: Processing buffer {"connection_id":163445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:37:32] local.INFO: IMEI packet received {"connection_id":163445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 01:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":163445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 01:37:38] local.INFO: TCP Data received {"connection_id":163445,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:37:38] local.INFO: Processing buffer {"connection_id":163445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:37:38] local.INFO: IMEI packet received {"connection_id":163445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 01:37:38] local.INFO: IMEI acknowledgment sent {"connection_id":163445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 01:37:39] local.INFO: TCP Data received {"connection_id":163445,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a044d38908012d34c18006aa4910000300e62c..."} 
[2026-08-28 01:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044d38908012d34c18006aa4910000300e62c..."} 
[2026-08-28 01:37:39] local.INFO: Processing buffer {"connection_id":163445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044d38908012d34c18006aa4910000300e62c..."} 
[2026-08-28 01:37:39] local.INFO: Packet analysis {"connection_id":163445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044d3"} 
[2026-08-28 01:37:39] local.INFO: Extracted packet for processing {"connection_id":163445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044d3"} 
[2026-08-28 01:37:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":3,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 01:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 01:37:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692366848001,"note":"Value kept but may cause issues"} 
[2026-08-28 01:37:39] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 01:37:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 01:37:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 01:37:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 01:37:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787861109000,"timestamp_ms":1787861109000,"timestamp_seconds":1787861109,"priority":1,"record_length":96,"hex_timestamp":"000001a044d38908"} 
[2026-08-28 01:37:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 01:37:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 01:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 01:37:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 01:37:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 01:37:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 01:37:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 01:37:39] local.INFO: Teltonika packet parsed successfully {"connection_id":163445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 01:37:39] local.INFO: Passing IMEI to GPS processor {"connection_id":163445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:37:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":163445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:37:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 01:37:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 01:37:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 01:37:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692366848001,"66":25299,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 01:37:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 01:37:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 01:37:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692366848001,"description":"Unknown IO ID 0"} 
[2026-08-28 01:37:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 01:37:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 01:37:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 01:37:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692366848001,"power":25299,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 01:37:39] 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":706065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 01:37:39] local.INFO: GPS data processed {"connection_id":163445,"processed":1,"errors":0,"total":1} 
[2026-08-28 01:37:39] local.INFO: Acknowledgment sent {"connection_id":163445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 01:38:10] local.INFO: TCP Data received {"connection_id":163445,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a044d38908012d34c18006aa4910000300e62c..."} 
[2026-08-28 01:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044d38908012d34c18006aa4910000300e62c..."} 
[2026-08-28 01:38:10] local.INFO: Processing buffer {"connection_id":163445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044d38908012d34c18006aa4910000300e62c..."} 
[2026-08-28 01:38:10] local.INFO: Packet analysis {"connection_id":163445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044d3"} 
[2026-08-28 01:38:10] local.INFO: Extracted packet for processing {"connection_id":163445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044d3"} 
[2026-08-28 01:38:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":3,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 01:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 01:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692366848001,"note":"Value kept but may cause issues"} 
[2026-08-28 01:38:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 01:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 01:38:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 01:38:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 01:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787861109000,"timestamp_ms":1787861109000,"timestamp_seconds":1787861109,"priority":1,"record_length":96,"hex_timestamp":"000001a044d38908"} 
[2026-08-28 01:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 01:38:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 01:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 01:38:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 01:38:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 01:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 01:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 01:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 01:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:38:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 01:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 01:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 01:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692366848001,"66":25299,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 01:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 01:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 01:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692366848001,"description":"Unknown IO ID 0"} 
[2026-08-28 01:38:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 01:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 01:38:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 01:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692366848001,"power":25299,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 01:38:10] 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":706066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 01:38:10] local.INFO: GPS data processed {"connection_id":163445,"processed":1,"errors":0,"total":1} 
[2026-08-28 01:38:10] local.INFO: Acknowledgment sent {"connection_id":163445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 01:38:32] local.INFO: TCP Data received {"connection_id":164457,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:38:32] local.INFO: Processing buffer {"connection_id":164457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:38:32] local.INFO: IMEI packet received {"connection_id":164457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 01:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":164457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 01:38:37] local.INFO: TCP Data received {"connection_id":164457,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:38:37] local.INFO: Processing buffer {"connection_id":164457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:38:37] local.INFO: IMEI packet received {"connection_id":164457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 01:38:37] local.INFO: IMEI acknowledgment sent {"connection_id":164457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 01:38:38] local.INFO: TCP Data received {"connection_id":164457,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a044d38908012d34c18006aa4910000300e62c..."} 
[2026-08-28 01:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044d38908012d34c18006aa4910000300e62c..."} 
[2026-08-28 01:38:38] local.INFO: Processing buffer {"connection_id":164457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044d38908012d34c18006aa4910000300e62c..."} 
[2026-08-28 01:38:38] local.INFO: Packet analysis {"connection_id":164457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044d3"} 
[2026-08-28 01:38:38] local.INFO: Extracted packet for processing {"connection_id":164457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044d3"} 
[2026-08-28 01:38:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":3,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 01:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 01:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692366848001,"note":"Value kept but may cause issues"} 
[2026-08-28 01:38:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 01:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 01:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 01:38: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-28 01:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787861109000,"timestamp_ms":1787861109000,"timestamp_seconds":1787861109,"priority":1,"record_length":96,"hex_timestamp":"000001a044d38908"} 
[2026-08-28 01:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 01:38:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 01:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 01:38:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 01:38:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 01:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 01:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 01:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 01:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:38:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 01:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 01:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 01:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692366848001,"66":25299,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 01:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 01:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 01:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692366848001,"description":"Unknown IO ID 0"} 
[2026-08-28 01:38:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 01:38: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-28 01:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 01:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692366848001,"power":25299,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 01:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":164457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 01:38:38] local.INFO: GPS data processed {"connection_id":164457,"processed":1,"errors":0,"total":1} 
[2026-08-28 01:38:38] local.INFO: Acknowledgment sent {"connection_id":164457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 01:39:28] local.INFO: TCP Data received {"connection_id":163446,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 01:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163446,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 01:39:28] local.INFO: Processing buffer {"connection_id":163446,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 01:39:28] local.INFO: IMEI packet received {"connection_id":163446,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 01:39:28] local.INFO: IMEI acknowledgment sent {"connection_id":163446,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 01:39:32] local.INFO: TCP Data received {"connection_id":165799,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:39:32] local.INFO: Processing buffer {"connection_id":165799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:39:32] local.INFO: IMEI packet received {"connection_id":165799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 01:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":165799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 01:39:38] local.INFO: TCP Data received {"connection_id":165799,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:39:38] local.INFO: Processing buffer {"connection_id":165799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:39:38] local.INFO: IMEI packet received {"connection_id":165799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 01:39:38] local.INFO: IMEI acknowledgment sent {"connection_id":165799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 01:39:39] local.INFO: TCP Data received {"connection_id":165799,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a044d38908012d34c18006aa4910000300e62c..."} 
[2026-08-28 01:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044d38908012d34c18006aa4910000300e62c..."} 
[2026-08-28 01:39:39] local.INFO: Processing buffer {"connection_id":165799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044d38908012d34c18006aa4910000300e62c..."} 
[2026-08-28 01:39:39] local.INFO: Packet analysis {"connection_id":165799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044d3"} 
[2026-08-28 01:39:39] local.INFO: Extracted packet for processing {"connection_id":165799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044d3"} 
[2026-08-28 01:39:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":3,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 01:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 01:39:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692366848001,"note":"Value kept but may cause issues"} 
[2026-08-28 01:39:39] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 01:39:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 01:39:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 01:39:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 01:39:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787861109000,"timestamp_ms":1787861109000,"timestamp_seconds":1787861109,"priority":1,"record_length":96,"hex_timestamp":"000001a044d38908"} 
[2026-08-28 01:39:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 01:39:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 01:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 01:39:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 01:39:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 01:39:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 01:39:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 01:39:39] local.INFO: Teltonika packet parsed successfully {"connection_id":165799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 01:39:39] local.INFO: Passing IMEI to GPS processor {"connection_id":165799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:39:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":165799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:39:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 01:39:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 01:39:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 01:39:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692366848001,"66":25299,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 01:39:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 01:39:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 01:39:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692366848001,"description":"Unknown IO ID 0"} 
[2026-08-28 01:39:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 01:39:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 01:39:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 01:39:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692366848001,"power":25299,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 01:39:39] local.INFO: DEBUG: GPS processor result {"connection_id":165799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 01:39:39] local.INFO: GPS data processed {"connection_id":165799,"processed":1,"errors":0,"total":1} 
[2026-08-28 01:39:39] local.INFO: Acknowledgment sent {"connection_id":165799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 01:40:11] local.INFO: TCP Data received {"connection_id":165799,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a044d38908012d34c18006aa4910000300e62c..."} 
[2026-08-28 01:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044d38908012d34c18006aa4910000300e62c..."} 
[2026-08-28 01:40:11] local.INFO: Processing buffer {"connection_id":165799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044d38908012d34c18006aa4910000300e62c..."} 
[2026-08-28 01:40:11] local.INFO: Packet analysis {"connection_id":165799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044d3"} 
[2026-08-28 01:40:11] local.INFO: Extracted packet for processing {"connection_id":165799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044d3"} 
[2026-08-28 01:40:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":3,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 01:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 01:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692366848001,"note":"Value kept but may cause issues"} 
[2026-08-28 01:40:11] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 01:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 01:40:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 01:40: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-28 01:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787861109000,"timestamp_ms":1787861109000,"timestamp_seconds":1787861109,"priority":1,"record_length":96,"hex_timestamp":"000001a044d38908"} 
[2026-08-28 01:40:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 01:40:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 01:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 01:40:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 01:40:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 01:40:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 01:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 01:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":165799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 01:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":165799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":165799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:40:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 01:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 01:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 01:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692366848001,"66":25299,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 01:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 01:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 01:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692366848001,"description":"Unknown IO ID 0"} 
[2026-08-28 01:40:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 01:40: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-28 01:40:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 01:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692366848001,"power":25299,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 01:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":165799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 01:40:11] local.INFO: GPS data processed {"connection_id":165799,"processed":1,"errors":0,"total":1} 
[2026-08-28 01:40:11] local.INFO: Acknowledgment sent {"connection_id":165799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 01:40:37] local.INFO: TCP Data received {"connection_id":164458,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:40:37] local.INFO: Processing buffer {"connection_id":164458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:40:37] local.INFO: IMEI packet received {"connection_id":164458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 01:40:37] local.INFO: IMEI acknowledgment sent {"connection_id":164458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 01:40:42] local.INFO: TCP Data received {"connection_id":164458,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:40:42] local.INFO: Processing buffer {"connection_id":164458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:40:42] local.INFO: IMEI packet received {"connection_id":164458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 01:40:42] local.INFO: IMEI acknowledgment sent {"connection_id":164458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 01:40:43] local.INFO: TCP Data received {"connection_id":164458,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a044d38908012d34c18006aa4910000300e62c..."} 
[2026-08-28 01:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044d38908012d34c18006aa4910000300e62c..."} 
[2026-08-28 01:40:43] local.INFO: Processing buffer {"connection_id":164458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044d38908012d34c18006aa4910000300e62c..."} 
[2026-08-28 01:40:43] local.INFO: Packet analysis {"connection_id":164458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044d3"} 
[2026-08-28 01:40:43] local.INFO: Extracted packet for processing {"connection_id":164458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044d3"} 
[2026-08-28 01:40:43] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":3,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 01: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-28 01:40:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692366848001,"note":"Value kept but may cause issues"} 
[2026-08-28 01:40:43] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 01:40:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 01:40:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 01: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-28 01:40:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787861109000,"timestamp_ms":1787861109000,"timestamp_seconds":1787861109,"priority":1,"record_length":96,"hex_timestamp":"000001a044d38908"} 
[2026-08-28 01: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-28 01:40:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 01:40: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-28 01: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-28 01: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-28 01:40:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 01:40:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 01:40:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:40:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01: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-28 01:40:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 01:40:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 01:40:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692366848001,"66":25299,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 01:40:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 01:40:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 01:40:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692366848001,"description":"Unknown IO ID 0"} 
[2026-08-28 01:40:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 01: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-28 01:40:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 01:40:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692366848001,"power":25299,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 01:40:43] local.INFO: DEBUG: GPS processor result {"connection_id":164458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 01:40:43] local.INFO: GPS data processed {"connection_id":164458,"processed":1,"errors":0,"total":1} 
[2026-08-28 01:40:43] local.INFO: Acknowledgment sent {"connection_id":164458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 01:40:48] local.INFO: TCP Data received {"connection_id":164458,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a044d38908012d34c18006aa4910000300e62c..."} 
[2026-08-28 01:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044d38908012d34c18006aa4910000300e62c..."} 
[2026-08-28 01:40:48] local.INFO: Processing buffer {"connection_id":164458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044d38908012d34c18006aa4910000300e62c..."} 
[2026-08-28 01:40:48] local.INFO: Packet analysis {"connection_id":164458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044d3"} 
[2026-08-28 01:40:48] local.INFO: Extracted packet for processing {"connection_id":164458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044d3"} 
[2026-08-28 01:40:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":3,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 01: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-28 01:40:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692366848001,"note":"Value kept but may cause issues"} 
[2026-08-28 01:40:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 01:40:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 01:40:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 01:40: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-28 01:40:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787861109000,"timestamp_ms":1787861109000,"timestamp_seconds":1787861109,"priority":1,"record_length":96,"hex_timestamp":"000001a044d38908"} 
[2026-08-28 01: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-28 01:40:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 01:40: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-28 01: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-28 01: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-28 01:40:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 01:40:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 01:40:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:40:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:40: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-28 01:40:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 01:40:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 01:40:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692366848001,"66":25299,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 01:40:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 01:40:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 01:40:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692366848001,"description":"Unknown IO ID 0"} 
[2026-08-28 01:40:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 01: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-28 01:40:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 01:40:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692366848001,"power":25299,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 01:40:48] local.INFO: DEBUG: GPS processor result {"connection_id":164458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 01:40:48] local.INFO: GPS data processed {"connection_id":164458,"processed":1,"errors":0,"total":1} 
[2026-08-28 01:40:48] local.INFO: Acknowledgment sent {"connection_id":164458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 01:41:32] local.INFO: TCP Data received {"connection_id":163201,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:41:32] local.INFO: Processing buffer {"connection_id":163201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:41:32] local.INFO: IMEI packet received {"connection_id":163201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 01:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":163201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 01:41:37] local.INFO: TCP Data received {"connection_id":163201,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:41:37] local.INFO: Processing buffer {"connection_id":163201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:41:37] local.INFO: IMEI packet received {"connection_id":163201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 01:41:37] local.INFO: IMEI acknowledgment sent {"connection_id":163201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 01:41:39] local.INFO: TCP Data received {"connection_id":163201,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a044d820d0012d34c18006aa4910000700e62b..."} 
[2026-08-28 01:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044d820d0012d34c18006aa4910000700e62b..."} 
[2026-08-28 01:41:39] local.INFO: Processing buffer {"connection_id":163201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044d820d0012d34c18006aa4910000700e62b..."} 
[2026-08-28 01:41:39] local.INFO: Packet analysis {"connection_id":163201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044d8"} 
[2026-08-28 01:41:39] local.INFO: Extracted packet for processing {"connection_id":163201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044d8"} 
[2026-08-28 01:41:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 01:41:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 01:41:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692443904001,"note":"Value kept but may cause issues"} 
[2026-08-28 01:41:39] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 01:41:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 01:41:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 01:41:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 01:41:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787861410000,"timestamp_ms":1787861410000,"timestamp_seconds":1787861410,"priority":1,"record_length":96,"hex_timestamp":"000001a044d820d0"} 
[2026-08-28 01:41:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 01:41:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 01:41:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 01:41:39] 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-28 01:41:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 01:41:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 01:41:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 01:41:39] local.INFO: Teltonika packet parsed successfully {"connection_id":163201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 01:41:39] local.INFO: Passing IMEI to GPS processor {"connection_id":163201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:41:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":163201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:41:39] 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-28 01:41:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 01:41:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 01:41:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692443904001,"66":25299,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 01:41:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 01:41:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 01:41:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692443904001,"description":"Unknown IO ID 0"} 
[2026-08-28 01:41:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 01:41:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 01:41:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 01:41:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692443904001,"power":25299,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 01:41:39] local.INFO: DEBUG: GPS processor result {"connection_id":163201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 01:41:39] local.INFO: GPS data processed {"connection_id":163201,"processed":1,"errors":0,"total":1} 
[2026-08-28 01:41:39] local.INFO: Acknowledgment sent {"connection_id":163201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 01:42:10] local.INFO: TCP Data received {"connection_id":163201,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a044d820d0012d34c18006aa4910000700e62b..."} 
[2026-08-28 01:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044d820d0012d34c18006aa4910000700e62b..."} 
[2026-08-28 01:42:10] local.INFO: Processing buffer {"connection_id":163201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044d820d0012d34c18006aa4910000700e62b..."} 
[2026-08-28 01:42:10] local.INFO: Packet analysis {"connection_id":163201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044d8"} 
[2026-08-28 01:42:10] local.INFO: Extracted packet for processing {"connection_id":163201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044d8"} 
[2026-08-28 01:42:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 01:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 01:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692443904001,"note":"Value kept but may cause issues"} 
[2026-08-28 01:42:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 01:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 01:42:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 01:42:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 01:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787861410000,"timestamp_ms":1787861410000,"timestamp_seconds":1787861410,"priority":1,"record_length":96,"hex_timestamp":"000001a044d820d0"} 
[2026-08-28 01:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 01:42:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 01:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 01:42:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 01:42:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 01:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 01:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 01:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 01:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:42:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 01:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 01:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 01:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692443904001,"66":25299,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 01:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 01:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 01:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692443904001,"description":"Unknown IO ID 0"} 
[2026-08-28 01:42:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 01:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 01:42:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 01:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692443904001,"power":25299,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 01:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":163201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 01:42:10] local.INFO: GPS data processed {"connection_id":163201,"processed":1,"errors":0,"total":1} 
[2026-08-28 01:42:10] local.INFO: Acknowledgment sent {"connection_id":163201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 01:42:32] local.INFO: TCP Data received {"connection_id":165800,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:42:32] local.INFO: Processing buffer {"connection_id":165800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:42:32] local.INFO: IMEI packet received {"connection_id":165800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 01:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":165800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 01:42:37] local.INFO: TCP Data received {"connection_id":165800,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:42:37] local.INFO: Processing buffer {"connection_id":165800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:42:37] local.INFO: IMEI packet received {"connection_id":165800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 01:42:37] local.INFO: IMEI acknowledgment sent {"connection_id":165800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 01:42:38] local.INFO: TCP Data received {"connection_id":165800,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a044d820d0012d34c18006aa4910000700e62b..."} 
[2026-08-28 01:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044d820d0012d34c18006aa4910000700e62b..."} 
[2026-08-28 01:42:38] local.INFO: Processing buffer {"connection_id":165800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044d820d0012d34c18006aa4910000700e62b..."} 
[2026-08-28 01:42:38] local.INFO: Packet analysis {"connection_id":165800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044d8"} 
[2026-08-28 01:42:38] local.INFO: Extracted packet for processing {"connection_id":165800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044d8"} 
[2026-08-28 01:42:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 01:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 01:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692443904001,"note":"Value kept but may cause issues"} 
[2026-08-28 01:42:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 01:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 01:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 01:42: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-28 01:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787861410000,"timestamp_ms":1787861410000,"timestamp_seconds":1787861410,"priority":1,"record_length":96,"hex_timestamp":"000001a044d820d0"} 
[2026-08-28 01:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 01:42:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 01:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 01:42:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 01:42:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 01:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 01:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 01:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":165800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 01:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":165800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":165800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:42:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 01:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 01:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 01:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692443904001,"66":25299,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 01:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 01:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 01:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692443904001,"description":"Unknown IO ID 0"} 
[2026-08-28 01:42:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 01:42: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-28 01:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 01:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692443904001,"power":25299,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 01:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":165800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 01:42:38] local.INFO: GPS data processed {"connection_id":165800,"processed":1,"errors":0,"total":1} 
[2026-08-28 01:42:38] local.INFO: Acknowledgment sent {"connection_id":165800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 01:43:10] local.INFO: TCP Data received {"connection_id":165800,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a044d820d0012d34c18006aa4910000700e62b..."} 
[2026-08-28 01:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044d820d0012d34c18006aa4910000700e62b..."} 
[2026-08-28 01:43:10] local.INFO: Processing buffer {"connection_id":165800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044d820d0012d34c18006aa4910000700e62b..."} 
[2026-08-28 01:43:10] local.INFO: Packet analysis {"connection_id":165800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044d8"} 
[2026-08-28 01:43:10] local.INFO: Extracted packet for processing {"connection_id":165800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044d8"} 
[2026-08-28 01:43:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 01:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 01:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692443904001,"note":"Value kept but may cause issues"} 
[2026-08-28 01:43:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 01:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 01:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 01:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 01:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787861410000,"timestamp_ms":1787861410000,"timestamp_seconds":1787861410,"priority":1,"record_length":96,"hex_timestamp":"000001a044d820d0"} 
[2026-08-28 01:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 01:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 01:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 01:43:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 01:43:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 01:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 01:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 01:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":165800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 01:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":165800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":165800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 01:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 01:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 01:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692443904001,"66":25299,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 01:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 01:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 01:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692443904001,"description":"Unknown IO ID 0"} 
[2026-08-28 01:43:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 01:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 01:43:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 01:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692443904001,"power":25299,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 01:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":165800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 01:43:10] local.INFO: GPS data processed {"connection_id":165800,"processed":1,"errors":0,"total":1} 
[2026-08-28 01:43:10] local.INFO: Acknowledgment sent {"connection_id":165800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 01:43:32] local.INFO: TCP Data received {"connection_id":164460,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:43:32] local.INFO: Processing buffer {"connection_id":164460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:43:32] local.INFO: IMEI packet received {"connection_id":164460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 01:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":164460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 01:43:37] local.INFO: TCP Data received {"connection_id":164460,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:43:37] local.INFO: Processing buffer {"connection_id":164460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:43:37] local.INFO: IMEI packet received {"connection_id":164460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 01:43:37] local.INFO: IMEI acknowledgment sent {"connection_id":164460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 01:43:38] local.INFO: TCP Data received {"connection_id":164460,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a044d820d0012d34c18006aa4910000700e62b..."} 
[2026-08-28 01:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044d820d0012d34c18006aa4910000700e62b..."} 
[2026-08-28 01:43:38] local.INFO: Processing buffer {"connection_id":164460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044d820d0012d34c18006aa4910000700e62b..."} 
[2026-08-28 01:43:38] local.INFO: Packet analysis {"connection_id":164460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044d8"} 
[2026-08-28 01:43:38] local.INFO: Extracted packet for processing {"connection_id":164460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044d8"} 
[2026-08-28 01:43:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 01:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 01:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692443904001,"note":"Value kept but may cause issues"} 
[2026-08-28 01:43:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 01:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 01:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 01:43: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-28 01:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787861410000,"timestamp_ms":1787861410000,"timestamp_seconds":1787861410,"priority":1,"record_length":96,"hex_timestamp":"000001a044d820d0"} 
[2026-08-28 01:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 01:43:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 01:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 01:43:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 01:43:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 01:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 01:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 01:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 01:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:43:38] 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-28 01:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 01:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 01:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692443904001,"66":25299,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 01:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 01:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 01:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692443904001,"description":"Unknown IO ID 0"} 
[2026-08-28 01:43:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 01:43: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-28 01:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 01:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692443904001,"power":25299,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 01:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":164460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 01:43:38] local.INFO: GPS data processed {"connection_id":164460,"processed":1,"errors":0,"total":1} 
[2026-08-28 01:43:38] local.INFO: Acknowledgment sent {"connection_id":164460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 01:44:10] local.INFO: TCP Data received {"connection_id":164460,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a044d820d0012d34c18006aa4910000700e62b..."} 
[2026-08-28 01:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044d820d0012d34c18006aa4910000700e62b..."} 
[2026-08-28 01:44:10] local.INFO: Processing buffer {"connection_id":164460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044d820d0012d34c18006aa4910000700e62b..."} 
[2026-08-28 01:44:10] local.INFO: Packet analysis {"connection_id":164460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044d8"} 
[2026-08-28 01:44:10] local.INFO: Extracted packet for processing {"connection_id":164460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044d8"} 
[2026-08-28 01:44:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 01:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 01:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692443904001,"note":"Value kept but may cause issues"} 
[2026-08-28 01:44:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 01:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 01:44:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 01:44:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 01:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787861410000,"timestamp_ms":1787861410000,"timestamp_seconds":1787861410,"priority":1,"record_length":96,"hex_timestamp":"000001a044d820d0"} 
[2026-08-28 01:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 01:44:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 01:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 01:44:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 01:44:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 01:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 01:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 01:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":164460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 01:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":164460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":164460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:44:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 01:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 01:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 01:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692443904001,"66":25299,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 01:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 01:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 01:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692443904001,"description":"Unknown IO ID 0"} 
[2026-08-28 01:44:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 01:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 01:44:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 01:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692443904001,"power":25299,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 01:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":164460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 01:44:10] local.INFO: GPS data processed {"connection_id":164460,"processed":1,"errors":0,"total":1} 
[2026-08-28 01:44:10] local.INFO: Acknowledgment sent {"connection_id":164460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 01:44:37] local.INFO: TCP Data received {"connection_id":163202,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:44:37] local.INFO: Processing buffer {"connection_id":163202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:44:37] local.INFO: IMEI packet received {"connection_id":163202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 01:44:37] local.INFO: IMEI acknowledgment sent {"connection_id":163202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 01:44:42] local.INFO: TCP Data received {"connection_id":163202,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:44:42] local.INFO: Processing buffer {"connection_id":163202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:44:42] local.INFO: IMEI packet received {"connection_id":163202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 01:44:42] local.INFO: IMEI acknowledgment sent {"connection_id":163202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 01:44:44] local.INFO: TCP Data received {"connection_id":163202,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a044d820d0012d34c18006aa4910000700e62b..."} 
[2026-08-28 01:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044d820d0012d34c18006aa4910000700e62b..."} 
[2026-08-28 01:44:44] local.INFO: Processing buffer {"connection_id":163202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044d820d0012d34c18006aa4910000700e62b..."} 
[2026-08-28 01:44:44] local.INFO: Packet analysis {"connection_id":163202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044d8"} 
[2026-08-28 01:44:44] local.INFO: Extracted packet for processing {"connection_id":163202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044d8"} 
[2026-08-28 01:44:44] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 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-28 01:44:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692443904001,"note":"Value kept but may cause issues"} 
[2026-08-28 01:44:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 01:44:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 01:44:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 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-28 01:44:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787861410000,"timestamp_ms":1787861410000,"timestamp_seconds":1787861410,"priority":1,"record_length":96,"hex_timestamp":"000001a044d820d0"} 
[2026-08-28 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-28 01:44:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 01:44:44] 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-28 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-28 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-28 01:44:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 01:44:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 01:44:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:44:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01: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-28 01:44:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 01:44:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 01:44:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692443904001,"66":25299,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 01:44:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 01:44:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 01:44:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692443904001,"description":"Unknown IO ID 0"} 
[2026-08-28 01:44:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 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-28 01:44:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 01:44:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692443904001,"power":25299,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 01:44:44] local.INFO: DEBUG: GPS processor result {"connection_id":163202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 01:44:44] local.INFO: GPS data processed {"connection_id":163202,"processed":1,"errors":0,"total":1} 
[2026-08-28 01:44:44] local.INFO: Acknowledgment sent {"connection_id":163202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 01:44:48] local.INFO: TCP Data received {"connection_id":163202,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a044d820d0012d34c18006aa4910000700e62b..."} 
[2026-08-28 01:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044d820d0012d34c18006aa4910000700e62b..."} 
[2026-08-28 01:44:48] local.INFO: Processing buffer {"connection_id":163202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044d820d0012d34c18006aa4910000700e62b..."} 
[2026-08-28 01:44:48] local.INFO: Packet analysis {"connection_id":163202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044d8"} 
[2026-08-28 01:44:48] local.INFO: Extracted packet for processing {"connection_id":163202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044d8"} 
[2026-08-28 01:44:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 01: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-28 01:44:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692443904001,"note":"Value kept but may cause issues"} 
[2026-08-28 01:44:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 01:44:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 01:44:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 01:44: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-28 01:44:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787861410000,"timestamp_ms":1787861410000,"timestamp_seconds":1787861410,"priority":1,"record_length":96,"hex_timestamp":"000001a044d820d0"} 
[2026-08-28 01: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-28 01:44:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 01: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 01:44:48] 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-28 01: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-28 01: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-28 01:44:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 01:44:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 01:44:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:44:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:44: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-28 01:44:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 01:44:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 01:44:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692443904001,"66":25299,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 01:44:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 01:44:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 01:44:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692443904001,"description":"Unknown IO ID 0"} 
[2026-08-28 01:44:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 01: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-28 01:44:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 01:44:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692443904001,"power":25299,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 01:44:48] local.INFO: DEBUG: GPS processor result {"connection_id":163202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 01:44:48] local.INFO: GPS data processed {"connection_id":163202,"processed":1,"errors":0,"total":1} 
[2026-08-28 01:44:48] local.INFO: Acknowledgment sent {"connection_id":163202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 01:45:03] local.INFO: TCP Data received {"connection_id":164459,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 01:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164459,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 01:45:03] local.INFO: Processing buffer {"connection_id":164459,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 01:45:03] local.INFO: IMEI packet received {"connection_id":164459,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 01:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":164459,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 01:45:32] local.INFO: TCP Data received {"connection_id":165801,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:45:32] local.INFO: Processing buffer {"connection_id":165801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:45:32] local.INFO: IMEI packet received {"connection_id":165801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 01:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":165801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 01:45:37] local.INFO: TCP Data received {"connection_id":165801,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:45:37] local.INFO: Processing buffer {"connection_id":165801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:45:37] local.INFO: IMEI packet received {"connection_id":165801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 01:45:37] local.INFO: IMEI acknowledgment sent {"connection_id":165801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 01:45:38] local.INFO: TCP Data received {"connection_id":165801,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a044d820d0012d34c18006aa4910000700e62b..."} 
[2026-08-28 01:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044d820d0012d34c18006aa4910000700e62b..."} 
[2026-08-28 01:45:38] local.INFO: Processing buffer {"connection_id":165801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044d820d0012d34c18006aa4910000700e62b..."} 
[2026-08-28 01:45:38] local.INFO: Packet analysis {"connection_id":165801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044d8"} 
[2026-08-28 01:45:38] local.INFO: Extracted packet for processing {"connection_id":165801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044d8"} 
[2026-08-28 01:45:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 01:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 01:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692443904001,"note":"Value kept but may cause issues"} 
[2026-08-28 01:45:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 01:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 01:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 01:45: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-28 01:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787861410000,"timestamp_ms":1787861410000,"timestamp_seconds":1787861410,"priority":1,"record_length":96,"hex_timestamp":"000001a044d820d0"} 
[2026-08-28 01:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 01:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 01:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 01:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 01:45:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 01:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 01:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 01:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":165801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 01:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":165801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":165801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 01:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 01:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 01:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692443904001,"66":25299,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 01:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 01:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 01:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692443904001,"description":"Unknown IO ID 0"} 
[2026-08-28 01:45:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 01:45: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-28 01:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 01:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692443904001,"power":25299,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 01:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":165801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 01:45:38] local.INFO: GPS data processed {"connection_id":165801,"processed":1,"errors":0,"total":1} 
[2026-08-28 01:45:38] local.INFO: Acknowledgment sent {"connection_id":165801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 01:45:53] local.INFO: TCP Data received {"connection_id":163447,"ip":"88.214.25.123","data_length":47,"data_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-08-28 01:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163447,"packet_length":47,"packet_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-08-28 01:45:53] local.INFO: Processing buffer {"connection_id":163447,"buffer_length":47,"buffer_hex":"0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-08-28 01:45:53] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":163447,"buffer_length":47,"first_bytes_hex":"0300002f2ae00000000000436f6f6b69"} 
[2026-08-28 01:46:09] local.INFO: TCP Data received {"connection_id":165801,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a044dcb898012d34c18006aa4910000500e62b..."} 
[2026-08-28 01:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044dcb898012d34c18006aa4910000500e62b..."} 
[2026-08-28 01:46:09] local.INFO: Processing buffer {"connection_id":165801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044dcb898012d34c18006aa4910000500e62b..."} 
[2026-08-28 01:46:09] local.INFO: Packet analysis {"connection_id":165801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044dc"} 
[2026-08-28 01:46:09] local.INFO: Extracted packet for processing {"connection_id":165801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044dc"} 
[2026-08-28 01:46:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 01:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 01:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692520960001,"note":"Value kept but may cause issues"} 
[2026-08-28 01:46:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 01:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 01:46:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 01:46: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-28 01:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787861711000,"timestamp_ms":1787861711000,"timestamp_seconds":1787861711,"priority":1,"record_length":96,"hex_timestamp":"000001a044dcb898"} 
[2026-08-28 01:46:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 01:46:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 01:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 01:46:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 01:46:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 01:46:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 01:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 01:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":165801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 01:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":165801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":165801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:46:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 01:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 01:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 01:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692520960001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 01:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 01:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 01:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692520960001,"description":"Unknown IO ID 0"} 
[2026-08-28 01:46:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 01:46: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-28 01:46:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 01:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692520960001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 01:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":165801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 01:46:09] local.INFO: GPS data processed {"connection_id":165801,"processed":1,"errors":0,"total":1} 
[2026-08-28 01:46:09] local.INFO: Acknowledgment sent {"connection_id":165801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 01:46:32] local.INFO: TCP Data received {"connection_id":163203,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:46:32] local.INFO: Processing buffer {"connection_id":163203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:46:32] local.INFO: IMEI packet received {"connection_id":163203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 01:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":163203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 01:46:37] local.INFO: TCP Data received {"connection_id":163203,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:46:37] local.INFO: Processing buffer {"connection_id":163203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:46:37] local.INFO: IMEI packet received {"connection_id":163203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 01:46:37] local.INFO: IMEI acknowledgment sent {"connection_id":163203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 01:46:38] local.INFO: TCP Data received {"connection_id":163203,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a044dcb898012d34c18006aa4910000500e62b..."} 
[2026-08-28 01:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044dcb898012d34c18006aa4910000500e62b..."} 
[2026-08-28 01:46:38] local.INFO: Processing buffer {"connection_id":163203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044dcb898012d34c18006aa4910000500e62b..."} 
[2026-08-28 01:46:38] local.INFO: Packet analysis {"connection_id":163203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044dc"} 
[2026-08-28 01:46:38] local.INFO: Extracted packet for processing {"connection_id":163203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044dc"} 
[2026-08-28 01:46:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 01:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 01:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692520960001,"note":"Value kept but may cause issues"} 
[2026-08-28 01:46:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 01:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 01:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 01:46: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-28 01:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787861711000,"timestamp_ms":1787861711000,"timestamp_seconds":1787861711,"priority":1,"record_length":96,"hex_timestamp":"000001a044dcb898"} 
[2026-08-28 01:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 01:46:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 01:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 01:46:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 01:46:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 01:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 01:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 01:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 01:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:46:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 01:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 01:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 01:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692520960001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 01:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 01:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 01:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692520960001,"description":"Unknown IO ID 0"} 
[2026-08-28 01:46:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 01:46: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-28 01:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 01:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692520960001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 01:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":163203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 01:46:38] local.INFO: GPS data processed {"connection_id":163203,"processed":1,"errors":0,"total":1} 
[2026-08-28 01:46:38] local.INFO: Acknowledgment sent {"connection_id":163203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 01:47:10] local.INFO: TCP Data received {"connection_id":163203,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a044dcb898012d34c18006aa4910000500e62b..."} 
[2026-08-28 01:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044dcb898012d34c18006aa4910000500e62b..."} 
[2026-08-28 01:47:10] local.INFO: Processing buffer {"connection_id":163203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044dcb898012d34c18006aa4910000500e62b..."} 
[2026-08-28 01:47:10] local.INFO: Packet analysis {"connection_id":163203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044dc"} 
[2026-08-28 01:47:10] local.INFO: Extracted packet for processing {"connection_id":163203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044dc"} 
[2026-08-28 01:47:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 01:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 01:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692520960001,"note":"Value kept but may cause issues"} 
[2026-08-28 01:47:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 01:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 01:47:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 01:47:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 01:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787861711000,"timestamp_ms":1787861711000,"timestamp_seconds":1787861711,"priority":1,"record_length":96,"hex_timestamp":"000001a044dcb898"} 
[2026-08-28 01:47:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 01:47:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 01:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 01:47:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 01:47:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 01:47:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 01:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 01:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 01:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:47:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 01:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 01:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 01:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692520960001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 01:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 01:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 01:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692520960001,"description":"Unknown IO ID 0"} 
[2026-08-28 01:47:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 01:47:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 01:47:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 01:47:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692520960001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 01:47:10] local.INFO: DEBUG: GPS processor result {"connection_id":163203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 01:47:10] local.INFO: GPS data processed {"connection_id":163203,"processed":1,"errors":0,"total":1} 
[2026-08-28 01:47:10] local.INFO: Acknowledgment sent {"connection_id":163203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 01:47:32] local.INFO: TCP Data received {"connection_id":165802,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:47:32] local.INFO: Processing buffer {"connection_id":165802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:47:32] local.INFO: IMEI packet received {"connection_id":165802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 01:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":165802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 01:47:38] local.INFO: TCP Data received {"connection_id":165802,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:47:38] local.INFO: Processing buffer {"connection_id":165802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:47:38] local.INFO: IMEI packet received {"connection_id":165802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 01:47:38] local.INFO: IMEI acknowledgment sent {"connection_id":165802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 01:48:16] local.INFO: TCP Data received {"connection_id":165802,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a044dcb898012d34c18006aa4910000500e62b..."} 
[2026-08-28 01:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044dcb898012d34c18006aa4910000500e62b..."} 
[2026-08-28 01:48:16] local.INFO: Processing buffer {"connection_id":165802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044dcb898012d34c18006aa4910000500e62b..."} 
[2026-08-28 01:48:16] local.INFO: Packet analysis {"connection_id":165802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044dc"} 
[2026-08-28 01:48:16] local.INFO: Extracted packet for processing {"connection_id":165802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044dc"} 
[2026-08-28 01:48:16] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 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-28 01:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692520960001,"note":"Value kept but may cause issues"} 
[2026-08-28 01:48:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 01:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 01:48:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 01:48: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-28 01:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787861711000,"timestamp_ms":1787861711000,"timestamp_seconds":1787861711,"priority":1,"record_length":96,"hex_timestamp":"000001a044dcb898"} 
[2026-08-28 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-28 01:48:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 01:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 01:48:16] 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-28 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-28 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-28 01:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 01:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":165802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 01:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":165802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":165802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:48: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-28 01:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 01:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 01:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692520960001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 01:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 01:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 01:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692520960001,"description":"Unknown IO ID 0"} 
[2026-08-28 01:48:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 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-28 01:48:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 01:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692520960001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 01:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":165802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 01:48:16] local.INFO: GPS data processed {"connection_id":165802,"processed":1,"errors":0,"total":1} 
[2026-08-28 01:48:16] local.INFO: Acknowledgment sent {"connection_id":165802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 01:49:53] local.INFO: TCP Data received {"connection_id":165804,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:49:53] local.INFO: Processing buffer {"connection_id":165804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:49:53] local.INFO: IMEI packet received {"connection_id":165804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 01:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":165804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 01:49:57] local.INFO: TCP Data received {"connection_id":165804,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:49:57] local.INFO: Processing buffer {"connection_id":165804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:49:57] local.INFO: IMEI packet received {"connection_id":165804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 01:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":165804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 01:50:00] local.INFO: TCP Data received {"connection_id":165804,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a044dcb898012d34c18006aa4910000500e62b..."} 
[2026-08-28 01:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044dcb898012d34c18006aa4910000500e62b..."} 
[2026-08-28 01:50:00] local.INFO: Processing buffer {"connection_id":165804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044dcb898012d34c18006aa4910000500e62b..."} 
[2026-08-28 01:50:00] local.INFO: Packet analysis {"connection_id":165804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044dc"} 
[2026-08-28 01:50:00] local.INFO: Extracted packet for processing {"connection_id":165804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044dc"} 
[2026-08-28 01:50:00] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 01:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 01:50:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692520960001,"note":"Value kept but may cause issues"} 
[2026-08-28 01:50:00] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 01:50:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 01:50:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 01:50:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 01:50:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787861711000,"timestamp_ms":1787861711000,"timestamp_seconds":1787861711,"priority":1,"record_length":96,"hex_timestamp":"000001a044dcb898"} 
[2026-08-28 01:50:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 01:50:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 01:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 01:50:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 01:50:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 01:50:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 01:50:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 01:50:00] local.INFO: Teltonika packet parsed successfully {"connection_id":165804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 01:50:00] local.INFO: Passing IMEI to GPS processor {"connection_id":165804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:50:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":165804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:50:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 01:50:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 01:50:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 01:50:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692520960001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 01:50:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 01:50:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 01:50:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692520960001,"description":"Unknown IO ID 0"} 
[2026-08-28 01:50:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 01:50: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-28 01:50:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 01:50:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692520960001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 01:50:00] local.INFO: DEBUG: GPS processor result {"connection_id":165804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 01:50:00] local.INFO: GPS data processed {"connection_id":165804,"processed":1,"errors":0,"total":1} 
[2026-08-28 01:50:00] local.INFO: Acknowledgment sent {"connection_id":165804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 01:50:37] local.INFO: TCP Data received {"connection_id":164461,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:50:37] local.INFO: Processing buffer {"connection_id":164461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:50:37] local.INFO: IMEI packet received {"connection_id":164461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 01:50:37] local.INFO: IMEI acknowledgment sent {"connection_id":164461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 01:50:38] local.INFO: TCP Data received {"connection_id":165803,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 01:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165803,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 01:50:38] local.INFO: Processing buffer {"connection_id":165803,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 01:50:38] local.INFO: IMEI packet received {"connection_id":165803,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 01:50:38] local.INFO: IMEI acknowledgment sent {"connection_id":165803,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 01:50:43] local.INFO: TCP Data received {"connection_id":164461,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:50:43] local.INFO: Processing buffer {"connection_id":164461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:50:43] local.INFO: IMEI packet received {"connection_id":164461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 01:50:43] local.INFO: IMEI acknowledgment sent {"connection_id":164461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 01:50:48] local.INFO: TCP Data received {"connection_id":164461,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a044dcb898012d34c18006aa4910000500e62b..."} 
[2026-08-28 01:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044dcb898012d34c18006aa4910000500e62b..."} 
[2026-08-28 01:50:48] local.INFO: Processing buffer {"connection_id":164461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044dcb898012d34c18006aa4910000500e62b..."} 
[2026-08-28 01:50:48] local.INFO: Packet analysis {"connection_id":164461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044dc"} 
[2026-08-28 01:50:48] local.INFO: Extracted packet for processing {"connection_id":164461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044dc"} 
[2026-08-28 01:50:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 01:50:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 01:50:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692520960001,"note":"Value kept but may cause issues"} 
[2026-08-28 01:50:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 01:50:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 01:50:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 01:50: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-28 01:50:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787861711000,"timestamp_ms":1787861711000,"timestamp_seconds":1787861711,"priority":1,"record_length":96,"hex_timestamp":"000001a044dcb898"} 
[2026-08-28 01:50:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 01:50:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 01:50:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 01:50:48] 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-28 01:50:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 01:50:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 01:50:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 01:50:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 01:50:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:50:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:50: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-28 01:50:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 01:50:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 01:50:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692520960001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 01:50:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 01:50:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 01:50:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692520960001,"description":"Unknown IO ID 0"} 
[2026-08-28 01:50:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 01:50: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-28 01:50:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 01:50:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692520960001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 01:50:48] local.INFO: DEBUG: GPS processor result {"connection_id":164461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 01:50:48] local.INFO: GPS data processed {"connection_id":164461,"processed":1,"errors":0,"total":1} 
[2026-08-28 01:50:48] local.INFO: Acknowledgment sent {"connection_id":164461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 01:51:32] local.INFO: TCP Data received {"connection_id":163448,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:51:32] local.INFO: Processing buffer {"connection_id":163448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:51:32] local.INFO: IMEI packet received {"connection_id":163448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 01:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":163448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 01:51:38] local.INFO: TCP Data received {"connection_id":163448,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:51:38] local.INFO: Processing buffer {"connection_id":163448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:51:38] local.INFO: IMEI packet received {"connection_id":163448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 01:51:38] local.INFO: IMEI acknowledgment sent {"connection_id":163448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 01:51:39] local.INFO: TCP Data received {"connection_id":163448,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a044e15060012d34c18006aa4910000200e62c..."} 
[2026-08-28 01:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044e15060012d34c18006aa4910000200e62c..."} 
[2026-08-28 01:51:39] local.INFO: Processing buffer {"connection_id":163448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044e15060012d34c18006aa4910000200e62c..."} 
[2026-08-28 01:51:39] local.INFO: Packet analysis {"connection_id":163448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044e1"} 
[2026-08-28 01:51:39] local.INFO: Extracted packet for processing {"connection_id":163448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044e1"} 
[2026-08-28 01:51:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":2,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 01:51:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 01:51:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692598016001,"note":"Value kept but may cause issues"} 
[2026-08-28 01:51:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 01:51:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 01:51:39] 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-28 01:51:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787862012000,"timestamp_ms":1787862012000,"timestamp_seconds":1787862012,"priority":1,"record_length":96,"hex_timestamp":"000001a044e15060"} 
[2026-08-28 01:51:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 01:51:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 01:51:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 01:51:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 01:51:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 01:51:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 01:51:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 01:51:39] local.INFO: Teltonika packet parsed successfully {"connection_id":163448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 01:51:39] local.INFO: Passing IMEI to GPS processor {"connection_id":163448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:51:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":163448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:51:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 01:51:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 01:51:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 01:51:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692598016001,"66":25288,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-28 01:51:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 01:51:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 01:51:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692598016001,"description":"Unknown IO ID 0"} 
[2026-08-28 01:51:39] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 01:51:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 01:51:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 01:51:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 01:51:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692598016001,"power":25288,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 01:51:39] 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":706087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 01:51:39] local.INFO: GPS data processed {"connection_id":163448,"processed":1,"errors":0,"total":1} 
[2026-08-28 01:51:39] local.INFO: Acknowledgment sent {"connection_id":163448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 01:52:32] local.INFO: TCP Data received {"connection_id":163448,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a044e15060012d34c18006aa4910000200e62c..."} 
[2026-08-28 01:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044e15060012d34c18006aa4910000200e62c..."} 
[2026-08-28 01:52:32] local.INFO: Processing buffer {"connection_id":163448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044e15060012d34c18006aa4910000200e62c..."} 
[2026-08-28 01:52:32] local.INFO: Packet analysis {"connection_id":163448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044e1"} 
[2026-08-28 01:52:32] local.INFO: Extracted packet for processing {"connection_id":163448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044e1"} 
[2026-08-28 01:52:32] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":2,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 01:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 01:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692598016001,"note":"Value kept but may cause issues"} 
[2026-08-28 01:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 01:52:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 01:52: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-28 01:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787862012000,"timestamp_ms":1787862012000,"timestamp_seconds":1787862012,"priority":1,"record_length":96,"hex_timestamp":"000001a044e15060"} 
[2026-08-28 01:52:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 01:52:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 01:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 01:52:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 01:52:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 01:52:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 01:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 01:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":163448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 01:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":163448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":163448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:52:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 01:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 01:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 01:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692598016001,"66":25288,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-28 01:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 01:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 01:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692598016001,"description":"Unknown IO ID 0"} 
[2026-08-28 01:52:32] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 01:52:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 01:52: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-28 01:52:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 01:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692598016001,"power":25288,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 01:52:32] 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":706088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 01:52:32] local.INFO: GPS data processed {"connection_id":163448,"processed":1,"errors":0,"total":1} 
[2026-08-28 01:52:32] local.INFO: Acknowledgment sent {"connection_id":163448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 01:52:41] local.INFO: TCP Data received {"connection_id":163449,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:52:41] local.INFO: Processing buffer {"connection_id":163449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:52:41] local.INFO: IMEI packet received {"connection_id":163449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 01:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":163449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 01:52:42] local.INFO: TCP Data received {"connection_id":163449,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:52:42] local.INFO: Processing buffer {"connection_id":163449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:52:42] local.INFO: IMEI packet received {"connection_id":163449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 01:52:42] local.INFO: IMEI acknowledgment sent {"connection_id":163449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 01:52:44] local.INFO: TCP Data received {"connection_id":163449,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a044e15060012d34c18006aa4910000200e62c..."} 
[2026-08-28 01:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044e15060012d34c18006aa4910000200e62c..."} 
[2026-08-28 01:52:44] local.INFO: Processing buffer {"connection_id":163449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044e15060012d34c18006aa4910000200e62c..."} 
[2026-08-28 01:52:44] local.INFO: Packet analysis {"connection_id":163449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044e1"} 
[2026-08-28 01:52:44] local.INFO: Extracted packet for processing {"connection_id":163449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044e1"} 
[2026-08-28 01:52:44] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":2,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 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-28 01:52:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692598016001,"note":"Value kept but may cause issues"} 
[2026-08-28 01:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 01:52:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 01: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-28 01:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787862012000,"timestamp_ms":1787862012000,"timestamp_seconds":1787862012,"priority":1,"record_length":96,"hex_timestamp":"000001a044e15060"} 
[2026-08-28 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-28 01:52:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 01:52: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-28 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-28 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-28 01:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 01:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 01:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:52: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-28 01:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 01:52:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 01:52:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692598016001,"66":25288,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-28 01:52:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 01:52:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 01:52:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692598016001,"description":"Unknown IO ID 0"} 
[2026-08-28 01:52:44] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 01:52:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 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-28 01:52:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 01:52:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692598016001,"power":25288,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 01:52: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":706089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 01:52:44] local.INFO: GPS data processed {"connection_id":163449,"processed":1,"errors":0,"total":1} 
[2026-08-28 01:52:44] local.INFO: Acknowledgment sent {"connection_id":163449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 01:52:52] local.INFO: TCP Data received {"connection_id":163449,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a044e15060012d34c18006aa4910000200e62c..."} 
[2026-08-28 01:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044e15060012d34c18006aa4910000200e62c..."} 
[2026-08-28 01:52:52] local.INFO: Processing buffer {"connection_id":163449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044e15060012d34c18006aa4910000200e62c..."} 
[2026-08-28 01:52:52] local.INFO: Packet analysis {"connection_id":163449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044e1"} 
[2026-08-28 01:52:52] local.INFO: Extracted packet for processing {"connection_id":163449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044e1"} 
[2026-08-28 01:52:52] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":2,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 01: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-28 01:52:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692598016001,"note":"Value kept but may cause issues"} 
[2026-08-28 01:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 01:52:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 01:52: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-28 01:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787862012000,"timestamp_ms":1787862012000,"timestamp_seconds":1787862012,"priority":1,"record_length":96,"hex_timestamp":"000001a044e15060"} 
[2026-08-28 01: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-28 01:52:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 01:52: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-28 01: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-28 01: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-28 01:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 01:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 01:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:52: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-28 01:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 01:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 01:52:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692598016001,"66":25288,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-28 01:52:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 01:52:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 01:52:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692598016001,"description":"Unknown IO ID 0"} 
[2026-08-28 01:52:52] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 01:52:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 01: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-28 01:52:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 01:52:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692598016001,"power":25288,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 01:52:52] 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":706090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 01:52:52] local.INFO: GPS data processed {"connection_id":163449,"processed":1,"errors":0,"total":1} 
[2026-08-28 01:52:52] local.INFO: Acknowledgment sent {"connection_id":163449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 01:53:32] local.INFO: TCP Data received {"connection_id":165806,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:53:32] local.INFO: Processing buffer {"connection_id":165806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:53:32] local.INFO: IMEI packet received {"connection_id":165806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 01:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":165806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 01:53:41] local.INFO: TCP Data received {"connection_id":165806,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:53:41] local.INFO: Processing buffer {"connection_id":165806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:53:41] local.INFO: IMEI packet received {"connection_id":165806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 01:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":165806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 01:54:00] local.INFO: TCP Data received {"connection_id":165806,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a044e15060012d34c18006aa4910000200e62c..."} 
[2026-08-28 01:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044e15060012d34c18006aa4910000200e62c..."} 
[2026-08-28 01:54:00] local.INFO: Processing buffer {"connection_id":165806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044e15060012d34c18006aa4910000200e62c..."} 
[2026-08-28 01:54:00] local.INFO: Packet analysis {"connection_id":165806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044e1"} 
[2026-08-28 01:54:00] local.INFO: Extracted packet for processing {"connection_id":165806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044e1"} 
[2026-08-28 01:54:00] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":2,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 01:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 01:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692598016001,"note":"Value kept but may cause issues"} 
[2026-08-28 01:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 01:54:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 01:54: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-28 01:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787862012000,"timestamp_ms":1787862012000,"timestamp_seconds":1787862012,"priority":1,"record_length":96,"hex_timestamp":"000001a044e15060"} 
[2026-08-28 01:54:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 01:54:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 01:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 01:54:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 01:54:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 01:54:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 01:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 01:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":165806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 01:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":165806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":165806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:54:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 01:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 01:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 01:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692598016001,"66":25288,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-28 01:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 01:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 01:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692598016001,"description":"Unknown IO ID 0"} 
[2026-08-28 01:54:00] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 01:54:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 01:54: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-28 01:54:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 01:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692598016001,"power":25288,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 01:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":165806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 01:54:00] local.INFO: GPS data processed {"connection_id":165806,"processed":1,"errors":0,"total":1} 
[2026-08-28 01:54:00] local.INFO: Acknowledgment sent {"connection_id":165806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 01:54:38] local.INFO: TCP Data received {"connection_id":163450,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:54:38] local.INFO: Processing buffer {"connection_id":163450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:54:38] local.INFO: IMEI packet received {"connection_id":163450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 01:54:38] local.INFO: IMEI acknowledgment sent {"connection_id":163450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 01:54:44] local.INFO: TCP Data received {"connection_id":163450,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:54:44] local.INFO: Processing buffer {"connection_id":163450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:54:44] local.INFO: IMEI packet received {"connection_id":163450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 01:54:44] local.INFO: IMEI acknowledgment sent {"connection_id":163450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 01:54:54] local.INFO: TCP Data received {"connection_id":163450,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a044e15060012d34c18006aa4910000200e62c..."} 
[2026-08-28 01:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044e15060012d34c18006aa4910000200e62c..."} 
[2026-08-28 01:54:54] local.INFO: Processing buffer {"connection_id":163450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044e15060012d34c18006aa4910000200e62c..."} 
[2026-08-28 01:54:54] local.INFO: Packet analysis {"connection_id":163450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044e1"} 
[2026-08-28 01:54:54] local.INFO: Extracted packet for processing {"connection_id":163450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044e1"} 
[2026-08-28 01:54:54] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":2,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 01:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 01:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692598016001,"note":"Value kept but may cause issues"} 
[2026-08-28 01:54:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 01:54:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 01:54: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-28 01:54:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787862012000,"timestamp_ms":1787862012000,"timestamp_seconds":1787862012,"priority":1,"record_length":96,"hex_timestamp":"000001a044e15060"} 
[2026-08-28 01:54:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 01:54:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 01:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 01:54:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 01:54:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 01:54:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 01:54:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 01:54:54] local.INFO: Teltonika packet parsed successfully {"connection_id":163450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 01:54:54] local.INFO: Passing IMEI to GPS processor {"connection_id":163450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:54:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":163450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:54: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-28 01:54:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 01:54:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 01:54:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692598016001,"66":25288,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-28 01:54:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 01:54:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 01:54:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692598016001,"description":"Unknown IO ID 0"} 
[2026-08-28 01:54:54] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 01:54:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 01:54: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-28 01:54:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 01:54:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692598016001,"power":25288,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 01:54:54] 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":706092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 01:54:54] local.INFO: GPS data processed {"connection_id":163450,"processed":1,"errors":0,"total":1} 
[2026-08-28 01:54:54] local.INFO: Acknowledgment sent {"connection_id":163450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 01:55:32] local.INFO: TCP Data received {"connection_id":164462,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:55:32] local.INFO: Processing buffer {"connection_id":164462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:55:32] local.INFO: IMEI packet received {"connection_id":164462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 01:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":164462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 01:55:40] local.INFO: TCP Data received {"connection_id":164462,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:55:40] local.INFO: Processing buffer {"connection_id":164462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:55:40] local.INFO: IMEI packet received {"connection_id":164462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 01:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":164462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 01:55:42] local.INFO: TCP Data received {"connection_id":164462,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a044e15060012d34c18006aa4910000200e62c..."} 
[2026-08-28 01:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044e15060012d34c18006aa4910000200e62c..."} 
[2026-08-28 01:55:42] local.INFO: Processing buffer {"connection_id":164462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044e15060012d34c18006aa4910000200e62c..."} 
[2026-08-28 01:55:42] local.INFO: Packet analysis {"connection_id":164462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044e1"} 
[2026-08-28 01:55:42] local.INFO: Extracted packet for processing {"connection_id":164462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044e1"} 
[2026-08-28 01:55:42] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":2,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 01: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-28 01:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692598016001,"note":"Value kept but may cause issues"} 
[2026-08-28 01:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 01:55:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 01:55:42] 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-28 01:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787862012000,"timestamp_ms":1787862012000,"timestamp_seconds":1787862012,"priority":1,"record_length":96,"hex_timestamp":"000001a044e15060"} 
[2026-08-28 01: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-28 01:55:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 01: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 01:55: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-28 01: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-28 01: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-28 01:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 01:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":164462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 01:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":164462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":164462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:55: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-28 01:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 01:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 01:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692598016001,"66":25288,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 01:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 01:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 01:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692598016001,"description":"Unknown IO ID 0"} 
[2026-08-28 01:55:42] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 01:55:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 01: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-28 01:55:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 01:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692598016001,"power":25288,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 01:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":164462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 01:55:42] local.INFO: GPS data processed {"connection_id":164462,"processed":1,"errors":0,"total":1} 
[2026-08-28 01:55:42] local.INFO: Acknowledgment sent {"connection_id":164462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 01:56:14] local.INFO: TCP Data received {"connection_id":165805,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 01:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165805,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 01:56:14] local.INFO: Processing buffer {"connection_id":165805,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 01:56:14] local.INFO: IMEI packet received {"connection_id":165805,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 01:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":165805,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 01:56:22] local.INFO: TCP Data received {"connection_id":164462,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a044e5e828012d34c18006aa4910000300e62d..."} 
[2026-08-28 01:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044e5e828012d34c18006aa4910000300e62d..."} 
[2026-08-28 01:56:22] local.INFO: Processing buffer {"connection_id":164462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044e5e828012d34c18006aa4910000300e62d..."} 
[2026-08-28 01:56:22] local.INFO: Packet analysis {"connection_id":164462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044e5"} 
[2026-08-28 01:56:22] local.INFO: Extracted packet for processing {"connection_id":164462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044e5"} 
[2026-08-28 01:56:22] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":3,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 01:56: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-28 01:56:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692675072001,"note":"Value kept but may cause issues"} 
[2026-08-28 01:56:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 01:56:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 01:56: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-28 01:56:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787862313000,"timestamp_ms":1787862313000,"timestamp_seconds":1787862313,"priority":1,"record_length":96,"hex_timestamp":"000001a044e5e828"} 
[2026-08-28 01:56:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 01:56:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 01:56: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":200,"data_length":795,"current_offset":136} 
[2026-08-28 01:56:22] 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-28 01:56: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-28 01:56:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 01:56:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 01:56:22] local.INFO: Teltonika packet parsed successfully {"connection_id":164462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 01:56:22] local.INFO: Passing IMEI to GPS processor {"connection_id":164462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:56:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":164462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:56:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 01:56:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 01:56:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 01:56:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692675072001,"66":25321,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 01:56:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 01:56:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 01:56:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692675072001,"description":"Unknown IO ID 0"} 
[2026-08-28 01:56:22] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 01:56:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 01:56: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-28 01:56:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 01:56:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692675072001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 01:56:22] local.INFO: DEBUG: GPS processor result {"connection_id":164462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 01:56:22] local.INFO: GPS data processed {"connection_id":164462,"processed":1,"errors":0,"total":1} 
[2026-08-28 01:56:22] local.INFO: Acknowledgment sent {"connection_id":164462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 01:56:38] local.INFO: TCP Data received {"connection_id":163204,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:56:38] local.INFO: Processing buffer {"connection_id":163204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:56:38] local.INFO: IMEI packet received {"connection_id":163204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 01:56:38] local.INFO: IMEI acknowledgment sent {"connection_id":163204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 01:56:42] local.INFO: TCP Data received {"connection_id":163204,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:56:42] local.INFO: Processing buffer {"connection_id":163204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:56:42] local.INFO: IMEI packet received {"connection_id":163204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 01:56:42] local.INFO: IMEI acknowledgment sent {"connection_id":163204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 01:56:46] local.INFO: TCP Data received {"connection_id":163204,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a044e5e828012d34c18006aa4910000300e62d..."} 
[2026-08-28 01:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044e5e828012d34c18006aa4910000300e62d..."} 
[2026-08-28 01:56:46] local.INFO: Processing buffer {"connection_id":163204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044e5e828012d34c18006aa4910000300e62d..."} 
[2026-08-28 01:56:46] local.INFO: Packet analysis {"connection_id":163204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044e5"} 
[2026-08-28 01:56:46] local.INFO: Extracted packet for processing {"connection_id":163204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044e5"} 
[2026-08-28 01:56:46] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":3,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 01: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-28 01:56:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692675072001,"note":"Value kept but may cause issues"} 
[2026-08-28 01:56:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 01:56:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 01:56: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-28 01:56:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787862313000,"timestamp_ms":1787862313000,"timestamp_seconds":1787862313,"priority":1,"record_length":96,"hex_timestamp":"000001a044e5e828"} 
[2026-08-28 01: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-28 01:56:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 01: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 01:56:46] 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-28 01: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-28 01: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-28 01:56:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 01:56:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 01:56:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:56:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:56: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-28 01:56:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 01:56:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 01:56:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692675072001,"66":25321,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 01:56:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 01:56:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 01:56:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692675072001,"description":"Unknown IO ID 0"} 
[2026-08-28 01:56:46] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 01:56:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 01:56: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-28 01:56:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 01:56:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692675072001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 01:56:46] local.INFO: DEBUG: GPS processor result {"connection_id":163204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 01:56:46] local.INFO: GPS data processed {"connection_id":163204,"processed":1,"errors":0,"total":1} 
[2026-08-28 01:56:46] local.INFO: Acknowledgment sent {"connection_id":163204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 01:58:08] local.INFO: TCP Data received {"connection_id":163204,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a044e5e828012d34c18006aa4910000300e62d..."} 
[2026-08-28 01:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044e5e828012d34c18006aa4910000300e62d..."} 
[2026-08-28 01:58:08] local.INFO: Processing buffer {"connection_id":163204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044e5e828012d34c18006aa4910000300e62d..."} 
[2026-08-28 01:58:08] local.INFO: Packet analysis {"connection_id":163204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044e5"} 
[2026-08-28 01:58:08] local.INFO: Extracted packet for processing {"connection_id":163204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044e5"} 
[2026-08-28 01:58:08] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":3,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 01:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 01:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692675072001,"note":"Value kept but may cause issues"} 
[2026-08-28 01:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 01:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 01:58:08] 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-28 01:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787862313000,"timestamp_ms":1787862313000,"timestamp_seconds":1787862313,"priority":1,"record_length":96,"hex_timestamp":"000001a044e5e828"} 
[2026-08-28 01:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 01:58:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 01:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 01:58:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 01:58:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 01:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 01:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 01:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 01:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:58:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 01:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 01:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 01:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692675072001,"66":25321,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 01:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 01:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 01:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692675072001,"description":"Unknown IO ID 0"} 
[2026-08-28 01:58:08] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 01:58:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 01:58: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-28 01:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 01:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692675072001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 01:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":163204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 01:58:08] local.INFO: GPS data processed {"connection_id":163204,"processed":1,"errors":0,"total":1} 
[2026-08-28 01:58:08] local.INFO: Acknowledgment sent {"connection_id":163204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 01:59:26] local.INFO: TCP Data received {"connection_id":165807,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:59:26] local.INFO: Processing buffer {"connection_id":165807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:59:26] local.INFO: IMEI packet received {"connection_id":165807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 01:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":165807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 01:59:28] local.INFO: TCP Data received {"connection_id":165807,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:59:28] local.INFO: Processing buffer {"connection_id":165807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 01:59:28] local.INFO: IMEI packet received {"connection_id":165807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 01:59:28] local.INFO: IMEI acknowledgment sent {"connection_id":165807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 01:59:33] local.INFO: TCP Data received {"connection_id":165807,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a044e5e828012d34c18006aa4910000300e62d..."} 
[2026-08-28 01:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044e5e828012d34c18006aa4910000300e62d..."} 
[2026-08-28 01:59:33] local.INFO: Processing buffer {"connection_id":165807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044e5e828012d34c18006aa4910000300e62d..."} 
[2026-08-28 01:59:33] local.INFO: Packet analysis {"connection_id":165807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044e5"} 
[2026-08-28 01:59:33] local.INFO: Extracted packet for processing {"connection_id":165807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044e5"} 
[2026-08-28 01:59:33] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":3,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 01:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 01:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692675072001,"note":"Value kept but may cause issues"} 
[2026-08-28 01:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 01:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 01:59: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-28 01:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787862313000,"timestamp_ms":1787862313000,"timestamp_seconds":1787862313,"priority":1,"record_length":96,"hex_timestamp":"000001a044e5e828"} 
[2026-08-28 01:59:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 01:59:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 01:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 01:59: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-28 01:59:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 01:59:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 01:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 01:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":165807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 01:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":165807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":165807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:59:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 01:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 01:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 01:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692675072001,"66":25321,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 01:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 01:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 01:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692675072001,"description":"Unknown IO ID 0"} 
[2026-08-28 01:59:33] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 01:59:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 01:59: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-28 01:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 01:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692675072001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 01:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":165807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 01:59:33] local.INFO: GPS data processed {"connection_id":165807,"processed":1,"errors":0,"total":1} 
[2026-08-28 01:59:33] local.INFO: Acknowledgment sent {"connection_id":165807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 01:59:39] local.INFO: TCP Data received {"connection_id":165807,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a044e5e828012d34c18006aa4910000300e62d..."} 
[2026-08-28 01:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044e5e828012d34c18006aa4910000300e62d..."} 
[2026-08-28 01:59:39] local.INFO: Processing buffer {"connection_id":165807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044e5e828012d34c18006aa4910000300e62d..."} 
[2026-08-28 01:59:39] local.INFO: Packet analysis {"connection_id":165807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044e5"} 
[2026-08-28 01:59:39] local.INFO: Extracted packet for processing {"connection_id":165807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044e5"} 
[2026-08-28 01:59:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":3,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 01:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 01:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692675072001,"note":"Value kept but may cause issues"} 
[2026-08-28 01:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 01:59:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 01:59:39] 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-28 01:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787862313000,"timestamp_ms":1787862313000,"timestamp_seconds":1787862313,"priority":1,"record_length":96,"hex_timestamp":"000001a044e5e828"} 
[2026-08-28 01:59:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 01:59:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 01:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 01:59:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 01:59:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 01:59:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 01:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 01:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":165807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 01:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":165807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":165807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 01:59:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 01:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 01:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 01:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692675072001,"66":25321,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 01:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 01:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 01:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692675072001,"description":"Unknown IO ID 0"} 
[2026-08-28 01:59:39] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 01:59:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 01:59:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 01:59:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 01:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692675072001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 01:59:39] local.INFO: DEBUG: GPS processor result {"connection_id":165807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 01:59:39] local.INFO: GPS data processed {"connection_id":165807,"processed":1,"errors":0,"total":1} 
[2026-08-28 01:59:39] local.INFO: Acknowledgment sent {"connection_id":165807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:00:18] local.INFO: TCP Data received {"connection_id":165807,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a044e5e828012d34c18006aa4910000300e62d..."} 
[2026-08-28 02:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044e5e828012d34c18006aa4910000300e62d..."} 
[2026-08-28 02:00:18] local.INFO: Processing buffer {"connection_id":165807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044e5e828012d34c18006aa4910000300e62d..."} 
[2026-08-28 02:00:18] local.INFO: Packet analysis {"connection_id":165807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044e5"} 
[2026-08-28 02:00:18] local.INFO: Extracted packet for processing {"connection_id":165807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044e5"} 
[2026-08-28 02:00:18] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":3,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02: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-28 02:00:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692675072001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:00:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:00:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:00: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-28 02:00:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787862313000,"timestamp_ms":1787862313000,"timestamp_seconds":1787862313,"priority":1,"record_length":96,"hex_timestamp":"000001a044e5e828"} 
[2026-08-28 02: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-28 02:00:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 02:00:18] 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-28 02: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-28 02: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-28 02:00:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:00:18] local.INFO: Teltonika packet parsed successfully {"connection_id":165807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:00:18] local.INFO: Passing IMEI to GPS processor {"connection_id":165807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:00:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":165807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:00: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-28 02:00:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:00:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:00:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692675072001,"66":25321,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:00:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:00:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:00:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692675072001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:00:18] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 02:00:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02:00: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-28 02:00:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:00:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692675072001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:00:18] local.INFO: DEBUG: GPS processor result {"connection_id":165807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:00:18] local.INFO: GPS data processed {"connection_id":165807,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:00:18] local.INFO: Acknowledgment sent {"connection_id":165807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:00:37] local.INFO: TCP Data received {"connection_id":163452,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:00:37] local.INFO: Processing buffer {"connection_id":163452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:00:37] local.INFO: IMEI packet received {"connection_id":163452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 02:00:37] local.INFO: IMEI acknowledgment sent {"connection_id":163452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 02:00:43] local.INFO: TCP Data received {"connection_id":163452,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:00:43] local.INFO: Processing buffer {"connection_id":163452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:00:43] local.INFO: IMEI packet received {"connection_id":163452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 02:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":163452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 02:00:48] local.INFO: TCP Data received {"connection_id":163452,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a044e5e828012d34c18006aa4910000300e62d..."} 
[2026-08-28 02:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044e5e828012d34c18006aa4910000300e62d..."} 
[2026-08-28 02:00:48] local.INFO: Processing buffer {"connection_id":163452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044e5e828012d34c18006aa4910000300e62d..."} 
[2026-08-28 02:00:48] local.INFO: Packet analysis {"connection_id":163452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044e5"} 
[2026-08-28 02:00:48] local.INFO: Extracted packet for processing {"connection_id":163452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044e5"} 
[2026-08-28 02:00:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":3,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02: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-28 02:00:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692675072001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:00:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:00:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:00: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-28 02:00:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787862313000,"timestamp_ms":1787862313000,"timestamp_seconds":1787862313,"priority":1,"record_length":96,"hex_timestamp":"000001a044e5e828"} 
[2026-08-28 02: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-28 02:00:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 02:00:48] 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-28 02: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-28 02: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-28 02:00:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:00:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:00:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:00:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:00: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-28 02:00:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:00:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:00:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692675072001,"66":25321,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:00:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:00:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:00:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692675072001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:00:48] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 02:00:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02: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-28 02:00:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:00:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692675072001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:00:48] 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":706100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:00:48] local.INFO: GPS data processed {"connection_id":163452,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:00:48] local.INFO: Acknowledgment sent {"connection_id":163452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:01:48] local.INFO: TCP Data received {"connection_id":163451,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 02:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163451,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 02:01:48] local.INFO: Processing buffer {"connection_id":163451,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 02:01:48] local.INFO: IMEI packet received {"connection_id":163451,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 02:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":163451,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 02:02:29] local.INFO: TCP Data received {"connection_id":165808,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:02:29] local.INFO: Processing buffer {"connection_id":165808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:02:29] local.INFO: IMEI packet received {"connection_id":165808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 02:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":165808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 02:02:37] local.INFO: TCP Data received {"connection_id":165809,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:02:37] local.INFO: Processing buffer {"connection_id":165809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:02:37] local.INFO: IMEI packet received {"connection_id":165809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 02:02:37] local.INFO: IMEI acknowledgment sent {"connection_id":165809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 02:02:47] local.INFO: TCP Data received {"connection_id":165809,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:02:47] local.INFO: Processing buffer {"connection_id":165809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:02:47] local.INFO: IMEI packet received {"connection_id":165809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 02:02:47] local.INFO: IMEI acknowledgment sent {"connection_id":165809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 02:03:01] local.INFO: TCP Data received {"connection_id":165809,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a044ea7ff0012d34c18006aa4910000300e62d..."} 
[2026-08-28 02:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044ea7ff0012d34c18006aa4910000300e62d..."} 
[2026-08-28 02:03:01] local.INFO: Processing buffer {"connection_id":165809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044ea7ff0012d34c18006aa4910000300e62d..."} 
[2026-08-28 02:03:01] local.INFO: Packet analysis {"connection_id":165809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044ea"} 
[2026-08-28 02:03:01] local.INFO: Extracted packet for processing {"connection_id":165809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044ea"} 
[2026-08-28 02:03:01] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":3,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02:03:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 02:03:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692752128001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:03:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:03:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:03:01] 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-28 02:03:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787862614000,"timestamp_ms":1787862614000,"timestamp_seconds":1787862614,"priority":1,"record_length":96,"hex_timestamp":"000001a044ea7ff0"} 
[2026-08-28 02:03:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 02:03:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02:03:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 02:03:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 02:03:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 02:03:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 02:03:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:03:01] local.INFO: Teltonika packet parsed successfully {"connection_id":165809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:03:01] local.INFO: Passing IMEI to GPS processor {"connection_id":165809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:03:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":165809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:03:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 02:03:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:03:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:03:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692752128001,"66":25299,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:03:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:03:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:03:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692752128001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:03:01] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 02:03:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02:03: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-28 02:03:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:03:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692752128001,"power":25299,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":165809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:03:01] local.INFO: GPS data processed {"connection_id":165809,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:03:01] local.INFO: Acknowledgment sent {"connection_id":165809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:03:04] local.INFO: TCP Data received {"connection_id":165809,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a044ea7ff0012d34c18006aa4910000300e62d..."} 
[2026-08-28 02:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044ea7ff0012d34c18006aa4910000300e62d..."} 
[2026-08-28 02:03:04] local.INFO: Processing buffer {"connection_id":165809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044ea7ff0012d34c18006aa4910000300e62d..."} 
[2026-08-28 02:03:04] local.INFO: Packet analysis {"connection_id":165809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044ea"} 
[2026-08-28 02:03:04] local.INFO: Extracted packet for processing {"connection_id":165809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044ea"} 
[2026-08-28 02:03:04] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":3,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 02:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692752128001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:03: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-28 02:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787862614000,"timestamp_ms":1787862614000,"timestamp_seconds":1787862614,"priority":1,"record_length":96,"hex_timestamp":"000001a044ea7ff0"} 
[2026-08-28 02:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 02:03:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 02:03:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 02:03:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 02:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 02:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":165809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":165809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":165809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 02:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692752128001,"66":25299,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692752128001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:03:04] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 02:03:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02:03: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-28 02:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692752128001,"power":25299,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":165809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:03:04] local.INFO: GPS data processed {"connection_id":165809,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:03:04] local.INFO: Acknowledgment sent {"connection_id":165809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:04:07] local.INFO: TCP Data received {"connection_id":163205,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:04:07] local.INFO: Processing buffer {"connection_id":163205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:04:07] local.INFO: IMEI packet received {"connection_id":163205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 02:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":163205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 02:04:12] local.INFO: TCP Data received {"connection_id":163205,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:04:12] local.INFO: Processing buffer {"connection_id":163205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:04:12] local.INFO: IMEI packet received {"connection_id":163205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 02:04:12] local.INFO: IMEI acknowledgment sent {"connection_id":163205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 02:04:13] local.INFO: TCP Data received {"connection_id":163205,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a044ea7ff0012d34c18006aa4910000300e62d..."} 
[2026-08-28 02:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044ea7ff0012d34c18006aa4910000300e62d..."} 
[2026-08-28 02:04:13] local.INFO: Processing buffer {"connection_id":163205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044ea7ff0012d34c18006aa4910000300e62d..."} 
[2026-08-28 02:04:13] local.INFO: Packet analysis {"connection_id":163205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044ea"} 
[2026-08-28 02:04:13] local.INFO: Extracted packet for processing {"connection_id":163205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044ea"} 
[2026-08-28 02:04:13] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":3,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02: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-28 02:04:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692752128001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:04:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:04:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:04: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-28 02:04:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787862614000,"timestamp_ms":1787862614000,"timestamp_seconds":1787862614,"priority":1,"record_length":96,"hex_timestamp":"000001a044ea7ff0"} 
[2026-08-28 02: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-28 02:04:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 02:04: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-28 02: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-28 02: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-28 02:04:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:04:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:04:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:04:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:04: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-28 02:04:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:04:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:04:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692752128001,"66":25299,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:04:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:04:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:04:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692752128001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:04:13] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 02:04:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02: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-28 02:04:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:04:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692752128001,"power":25299,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:04:13] local.INFO: DEBUG: GPS processor result {"connection_id":163205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:04:13] local.INFO: GPS data processed {"connection_id":163205,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:04:13] local.INFO: Acknowledgment sent {"connection_id":163205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:04:32] local.INFO: TCP Data received {"connection_id":164463,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:04:32] local.INFO: Processing buffer {"connection_id":164463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:04:32] local.INFO: IMEI packet received {"connection_id":164463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 02:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":164463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 02:04:41] local.INFO: TCP Data received {"connection_id":164463,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:04:41] local.INFO: Processing buffer {"connection_id":164463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:04:41] local.INFO: IMEI packet received {"connection_id":164463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 02:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":164463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 02:05:21] local.INFO: TCP Data received {"connection_id":164463,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a044ea7ff0012d34c18006aa4910000300e62d..."} 
[2026-08-28 02:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044ea7ff0012d34c18006aa4910000300e62d..."} 
[2026-08-28 02:05:21] local.INFO: Processing buffer {"connection_id":164463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044ea7ff0012d34c18006aa4910000300e62d..."} 
[2026-08-28 02:05:21] local.INFO: Packet analysis {"connection_id":164463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044ea"} 
[2026-08-28 02:05:21] local.INFO: Extracted packet for processing {"connection_id":164463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044ea"} 
[2026-08-28 02:05:21] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":3,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 02:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692752128001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:05:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:05:21] 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-28 02:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787862614000,"timestamp_ms":1787862614000,"timestamp_seconds":1787862614,"priority":1,"record_length":96,"hex_timestamp":"000001a044ea7ff0"} 
[2026-08-28 02:05:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 02:05:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 02:05:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 02:05:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 02:05:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 02:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":164463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":164463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":164463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:05:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 02:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692752128001,"66":25299,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692752128001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:05:21] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 02:05:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02:05: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-28 02:05:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692752128001,"power":25299,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":164463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:05:21] local.INFO: GPS data processed {"connection_id":164463,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:05:21] local.INFO: Acknowledgment sent {"connection_id":164463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:05:26] local.INFO: TCP Data received {"connection_id":164463,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a044ea7ff0012d34c18006aa4910000300e62d..."} 
[2026-08-28 02:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044ea7ff0012d34c18006aa4910000300e62d..."} 
[2026-08-28 02:05:26] local.INFO: Processing buffer {"connection_id":164463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044ea7ff0012d34c18006aa4910000300e62d..."} 
[2026-08-28 02:05:26] local.INFO: Packet analysis {"connection_id":164463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044ea"} 
[2026-08-28 02:05:26] local.INFO: Extracted packet for processing {"connection_id":164463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044ea"} 
[2026-08-28 02:05:26] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":3,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 02:05:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692752128001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:05:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:05:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:05:26] 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-28 02:05:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787862614000,"timestamp_ms":1787862614000,"timestamp_seconds":1787862614,"priority":1,"record_length":96,"hex_timestamp":"000001a044ea7ff0"} 
[2026-08-28 02:05:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 02:05:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 02:05:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 02:05:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 02:05:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 02:05:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:05:26] local.INFO: Teltonika packet parsed successfully {"connection_id":164463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:05:26] local.INFO: Passing IMEI to GPS processor {"connection_id":164463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:05:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":164463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:05:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 02:05:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:05:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:05:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692752128001,"66":25299,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:05:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:05:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:05:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692752128001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:05:26] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 02:05:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02:05:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 02:05:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:05:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692752128001,"power":25299,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:05:26] local.INFO: DEBUG: GPS processor result {"connection_id":164463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:05:26] local.INFO: GPS data processed {"connection_id":164463,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:05:26] local.ERROR: TCP Connection error {"connection_id":164463,"code":2,"message":"client closed"} 
[2026-08-28 02:05:26] local.INFO: Acknowledgment sent {"connection_id":164463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:05:32] local.INFO: TCP Data received {"connection_id":163453,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:05:32] local.INFO: Processing buffer {"connection_id":163453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:05:32] local.INFO: IMEI packet received {"connection_id":163453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 02:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":163453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 02:05:37] local.INFO: TCP Data received {"connection_id":163453,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:05:37] local.INFO: Processing buffer {"connection_id":163453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:05:37] local.INFO: IMEI packet received {"connection_id":163453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 02:05:37] local.INFO: IMEI acknowledgment sent {"connection_id":163453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 02:05:39] local.INFO: TCP Data received {"connection_id":163453,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a044ea7ff0012d34c18006aa4910000300e62d..."} 
[2026-08-28 02:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044ea7ff0012d34c18006aa4910000300e62d..."} 
[2026-08-28 02:05:39] local.INFO: Processing buffer {"connection_id":163453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044ea7ff0012d34c18006aa4910000300e62d..."} 
[2026-08-28 02:05:39] local.INFO: Packet analysis {"connection_id":163453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044ea"} 
[2026-08-28 02:05:39] local.INFO: Extracted packet for processing {"connection_id":163453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044ea"} 
[2026-08-28 02:05:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":3,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02:05:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 02:05:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692752128001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:05:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:05:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:05:39] 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-28 02:05:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787862614000,"timestamp_ms":1787862614000,"timestamp_seconds":1787862614,"priority":1,"record_length":96,"hex_timestamp":"000001a044ea7ff0"} 
[2026-08-28 02:05:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 02:05:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02:05:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 02:05:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 02:05:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 02:05:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 02:05:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:05:39] local.INFO: Teltonika packet parsed successfully {"connection_id":163453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:05:39] local.INFO: Passing IMEI to GPS processor {"connection_id":163453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:05:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":163453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:05:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 02:05:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:05:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:05:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692752128001,"66":25299,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:05:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:05:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:05:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692752128001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:05:39] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 02:05:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02:05:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 02:05:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:05:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692752128001,"power":25299,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:05:39] local.INFO: DEBUG: GPS processor result {"connection_id":163453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:05:39] local.INFO: GPS data processed {"connection_id":163453,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:05:39] local.INFO: Acknowledgment sent {"connection_id":163453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:06:22] local.INFO: TCP Data received {"connection_id":163453,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a044ef17b8012d34c18006aa4910000400e629..."} 
[2026-08-28 02:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044ef17b8012d34c18006aa4910000400e629..."} 
[2026-08-28 02:06:22] local.INFO: Processing buffer {"connection_id":163453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044ef17b8012d34c18006aa4910000400e629..."} 
[2026-08-28 02:06:22] local.INFO: Packet analysis {"connection_id":163453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044ef"} 
[2026-08-28 02:06:22] local.INFO: Extracted packet for processing {"connection_id":163453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044ef"} 
[2026-08-28 02:06:22] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":4,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02:06:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 02:06:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692829184001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:06:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:06:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:06: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-28 02:06:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787862915000,"timestamp_ms":1787862915000,"timestamp_seconds":1787862915,"priority":1,"record_length":96,"hex_timestamp":"000001a044ef17b8"} 
[2026-08-28 02:06:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 02:06:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02:06:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 02:06:22] 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-28 02:06:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 02:06:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 02:06:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:06:22] local.INFO: Teltonika packet parsed successfully {"connection_id":163453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:06:22] local.INFO: Passing IMEI to GPS processor {"connection_id":163453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:06:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":163453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:06: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-28 02:06:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:06:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:06:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692829184001,"66":25321,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:06:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:06:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:06:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692829184001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:06:22] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 02:06:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02:06: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-28 02:06:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:06:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692829184001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:06:22] local.INFO: DEBUG: GPS processor result {"connection_id":163453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:06:22] local.INFO: GPS data processed {"connection_id":163453,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:06:22] local.INFO: Acknowledgment sent {"connection_id":163453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:06:38] local.INFO: TCP Data received {"connection_id":165811,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:06:38] local.INFO: Processing buffer {"connection_id":165811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:06:38] local.INFO: IMEI packet received {"connection_id":165811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 02:06:38] local.INFO: IMEI acknowledgment sent {"connection_id":165811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 02:06:46] local.INFO: TCP Data received {"connection_id":165811,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:06:46] local.INFO: Processing buffer {"connection_id":165811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:06:46] local.INFO: IMEI packet received {"connection_id":165811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 02:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":165811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 02:06:53] local.INFO: TCP Data received {"connection_id":165811,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a044ef17b8012d34c18006aa4910000400e629..."} 
[2026-08-28 02:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044ef17b8012d34c18006aa4910000400e629..."} 
[2026-08-28 02:06:53] local.INFO: Processing buffer {"connection_id":165811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044ef17b8012d34c18006aa4910000400e629..."} 
[2026-08-28 02:06:53] local.INFO: Packet analysis {"connection_id":165811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044ef"} 
[2026-08-28 02:06:53] local.INFO: Extracted packet for processing {"connection_id":165811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044ef"} 
[2026-08-28 02:06:53] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":4,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 02:06:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692829184001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:06:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:06:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:06: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-28 02:06:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787862915000,"timestamp_ms":1787862915000,"timestamp_seconds":1787862915,"priority":1,"record_length":96,"hex_timestamp":"000001a044ef17b8"} 
[2026-08-28 02:06:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 02:06:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 02:06:53] 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-28 02:06:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 02:06:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 02:06:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:06:53] local.INFO: Teltonika packet parsed successfully {"connection_id":165811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:06:53] local.INFO: Passing IMEI to GPS processor {"connection_id":165811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:06:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":165811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:06: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-28 02:06:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:06:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:06:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692829184001,"66":25321,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:06:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:06:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:06:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692829184001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:06:53] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 02:06:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02:06: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-28 02:06:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:06:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692829184001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:06:53] local.INFO: DEBUG: GPS processor result {"connection_id":165811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:06:53] local.INFO: GPS data processed {"connection_id":165811,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:06:53] local.INFO: Acknowledgment sent {"connection_id":165811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:07:23] local.INFO: TCP Data received {"connection_id":165810,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 02:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165810,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 02:07:23] local.INFO: Processing buffer {"connection_id":165810,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 02:07:23] local.INFO: IMEI packet received {"connection_id":165810,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 02:07:23] local.INFO: IMEI acknowledgment sent {"connection_id":165810,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 02:07:43] local.INFO: TCP Data received {"connection_id":165812,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:07:43] local.INFO: Processing buffer {"connection_id":165812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:07:43] local.INFO: IMEI packet received {"connection_id":165812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 02:07:43] local.INFO: IMEI acknowledgment sent {"connection_id":165812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 02:07:51] local.INFO: TCP Data received {"connection_id":165812,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:07:51] local.INFO: Processing buffer {"connection_id":165812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:07:51] local.INFO: IMEI packet received {"connection_id":165812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 02:07:51] local.INFO: IMEI acknowledgment sent {"connection_id":165812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 02:07:55] local.INFO: TCP Data received {"connection_id":165812,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a044ef17b8012d34c18006aa4910000400e629..."} 
[2026-08-28 02:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044ef17b8012d34c18006aa4910000400e629..."} 
[2026-08-28 02:07:55] local.INFO: Processing buffer {"connection_id":165812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044ef17b8012d34c18006aa4910000400e629..."} 
[2026-08-28 02:07:55] local.INFO: Packet analysis {"connection_id":165812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044ef"} 
[2026-08-28 02:07:55] local.INFO: Extracted packet for processing {"connection_id":165812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044ef"} 
[2026-08-28 02:07:55] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":4,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02:07:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 02:07:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692829184001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:07:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:07:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:07: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-28 02:07:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787862915000,"timestamp_ms":1787862915000,"timestamp_seconds":1787862915,"priority":1,"record_length":96,"hex_timestamp":"000001a044ef17b8"} 
[2026-08-28 02:07:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 02:07:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02:07:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 02:07:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 02:07:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 02:07:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 02:07:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:07:55] local.INFO: Teltonika packet parsed successfully {"connection_id":165812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:07:55] local.INFO: Passing IMEI to GPS processor {"connection_id":165812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:07:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":165812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:07:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 02:07:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:07:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:07:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692829184001,"66":25321,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:07:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:07:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:07:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692829184001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:07:55] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 02:07:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02:07: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-28 02:07:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:07:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692829184001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:07:55] local.INFO: DEBUG: GPS processor result {"connection_id":165812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:07:55] local.INFO: GPS data processed {"connection_id":165812,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:07:55] local.INFO: Acknowledgment sent {"connection_id":165812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:08:08] local.INFO: TCP Data received {"connection_id":163454,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 02:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163454,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 02:08:08] local.INFO: Processing buffer {"connection_id":163454,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 02:08:08] local.INFO: IMEI packet received {"connection_id":163454,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 02:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":163454,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 02:08:28] local.INFO: TCP Data received {"connection_id":165812,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a044ef17b8012d34c18006aa4910000400e629..."} 
[2026-08-28 02:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044ef17b8012d34c18006aa4910000400e629..."} 
[2026-08-28 02:08:28] local.INFO: Processing buffer {"connection_id":165812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044ef17b8012d34c18006aa4910000400e629..."} 
[2026-08-28 02:08:28] local.INFO: Packet analysis {"connection_id":165812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044ef"} 
[2026-08-28 02:08:28] local.INFO: Extracted packet for processing {"connection_id":165812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044ef"} 
[2026-08-28 02:08:28] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":4,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02:08:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 02:08:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692829184001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:08:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:08:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:08:28] 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-28 02:08:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787862915000,"timestamp_ms":1787862915000,"timestamp_seconds":1787862915,"priority":1,"record_length":96,"hex_timestamp":"000001a044ef17b8"} 
[2026-08-28 02:08:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 02:08:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02:08:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 02:08:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 02:08:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 02:08:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 02:08:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:08:28] local.INFO: Teltonika packet parsed successfully {"connection_id":165812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:08:28] local.INFO: Passing IMEI to GPS processor {"connection_id":165812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:08:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":165812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:08:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 02:08:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:08:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:08:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692829184001,"66":25321,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:08:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:08:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:08:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692829184001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:08:28] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 02:08:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02:08:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 02:08:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:08:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692829184001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:08:28] local.INFO: DEBUG: GPS processor result {"connection_id":165812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:08:28] local.INFO: GPS data processed {"connection_id":165812,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:08:28] local.INFO: Acknowledgment sent {"connection_id":165812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:08:38] local.INFO: TCP Data received {"connection_id":163455,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:08:38] local.INFO: Processing buffer {"connection_id":163455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:08:38] local.INFO: IMEI packet received {"connection_id":163455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 02:08:38] local.INFO: IMEI acknowledgment sent {"connection_id":163455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 02:08:43] local.INFO: TCP Data received {"connection_id":163455,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:08:43] local.INFO: Processing buffer {"connection_id":163455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:08:43] local.INFO: IMEI packet received {"connection_id":163455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 02:08:43] local.INFO: IMEI acknowledgment sent {"connection_id":163455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 02:08:49] local.INFO: TCP Data received {"connection_id":163455,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a044ef17b8012d34c18006aa4910000400e629..."} 
[2026-08-28 02:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044ef17b8012d34c18006aa4910000400e629..."} 
[2026-08-28 02:08:49] local.INFO: Processing buffer {"connection_id":163455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044ef17b8012d34c18006aa4910000400e629..."} 
[2026-08-28 02:08:49] local.INFO: Packet analysis {"connection_id":163455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044ef"} 
[2026-08-28 02:08:49] local.INFO: Extracted packet for processing {"connection_id":163455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044ef"} 
[2026-08-28 02:08:49] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":4,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02: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-28 02:08:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692829184001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:08:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:08:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:08: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-28 02:08:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787862915000,"timestamp_ms":1787862915000,"timestamp_seconds":1787862915,"priority":1,"record_length":96,"hex_timestamp":"000001a044ef17b8"} 
[2026-08-28 02: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-28 02:08:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 02:08:49] 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-28 02: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-28 02: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-28 02:08:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:08:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:08:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:08:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:08: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-28 02:08:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:08:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:08:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692829184001,"66":25321,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:08:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:08:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:08:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692829184001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:08:49] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 02:08:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02: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-28 02:08:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:08:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692829184001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:08:49] local.INFO: DEBUG: GPS processor result {"connection_id":163455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:08:49] local.INFO: GPS data processed {"connection_id":163455,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:08:49] local.INFO: Acknowledgment sent {"connection_id":163455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:08:59] local.INFO: TCP Data received {"connection_id":163455,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a044ef17b8012d34c18006aa4910000400e629..."} 
[2026-08-28 02:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044ef17b8012d34c18006aa4910000400e629..."} 
[2026-08-28 02:08:59] local.INFO: Processing buffer {"connection_id":163455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044ef17b8012d34c18006aa4910000400e629..."} 
[2026-08-28 02:08:59] local.INFO: Packet analysis {"connection_id":163455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044ef"} 
[2026-08-28 02:08:59] local.INFO: Extracted packet for processing {"connection_id":163455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044ef"} 
[2026-08-28 02:08:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":4,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02:08:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 02:08:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692829184001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:08:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:08:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:08: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-28 02:08:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787862915000,"timestamp_ms":1787862915000,"timestamp_seconds":1787862915,"priority":1,"record_length":96,"hex_timestamp":"000001a044ef17b8"} 
[2026-08-28 02:08:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 02:08:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02:08:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 02:08:59] 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-28 02:08:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 02:08:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 02:08:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":163455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":163455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":163455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:08:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 02:08:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:08:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:08:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692829184001,"66":25321,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:08:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:08:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:08:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692829184001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:08:59] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 02:08:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02:08: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-28 02:08:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:08:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692829184001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:08:59] local.INFO: DEBUG: GPS processor result {"connection_id":163455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:08:59] local.INFO: GPS data processed {"connection_id":163455,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:08:59] local.INFO: Acknowledgment sent {"connection_id":163455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:09:46] local.INFO: TCP Data received {"connection_id":164464,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:09:46] local.INFO: Processing buffer {"connection_id":164464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:09:46] local.INFO: IMEI packet received {"connection_id":164464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 02:09:46] local.INFO: IMEI acknowledgment sent {"connection_id":164464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 02:09:47] local.INFO: TCP Data received {"connection_id":164464,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:09:47] local.INFO: Processing buffer {"connection_id":164464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:09:47] local.INFO: IMEI packet received {"connection_id":164464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 02:09:47] local.INFO: IMEI acknowledgment sent {"connection_id":164464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 02:09:52] local.INFO: TCP Data received {"connection_id":164464,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a044ef17b8012d34c18006aa4910000400e629..."} 
[2026-08-28 02:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044ef17b8012d34c18006aa4910000400e629..."} 
[2026-08-28 02:09:52] local.INFO: Processing buffer {"connection_id":164464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044ef17b8012d34c18006aa4910000400e629..."} 
[2026-08-28 02:09:52] local.INFO: Packet analysis {"connection_id":164464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044ef"} 
[2026-08-28 02:09:52] local.INFO: Extracted packet for processing {"connection_id":164464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044ef"} 
[2026-08-28 02:09:52] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":4,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02: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-28 02:09:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692829184001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:09:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:09:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:09: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-28 02:09:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787862915000,"timestamp_ms":1787862915000,"timestamp_seconds":1787862915,"priority":1,"record_length":96,"hex_timestamp":"000001a044ef17b8"} 
[2026-08-28 02: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-28 02:09:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 02:09: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-28 02: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-28 02: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-28 02:09:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:09:52] local.INFO: Teltonika packet parsed successfully {"connection_id":164464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:09:52] local.INFO: Passing IMEI to GPS processor {"connection_id":164464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:09:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":164464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:09: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-28 02:09:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:09:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:09:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692829184001,"66":25321,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:09:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:09:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:09:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692829184001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:09:52] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 02:09:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02: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-28 02:09:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:09:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692829184001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:09:52] local.INFO: DEBUG: GPS processor result {"connection_id":164464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:09:52] local.INFO: GPS data processed {"connection_id":164464,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:09:52] local.INFO: Acknowledgment sent {"connection_id":164464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:09:56] local.INFO: TCP Data received {"connection_id":164464,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a044ef17b8012d34c18006aa4910000400e629..."} 
[2026-08-28 02:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044ef17b8012d34c18006aa4910000400e629..."} 
[2026-08-28 02:09:56] local.INFO: Processing buffer {"connection_id":164464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044ef17b8012d34c18006aa4910000400e629..."} 
[2026-08-28 02:09:56] local.INFO: Packet analysis {"connection_id":164464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044ef"} 
[2026-08-28 02:09:56] local.INFO: Extracted packet for processing {"connection_id":164464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044ef"} 
[2026-08-28 02:09:56] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":4,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02:09:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 02:09:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692829184001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:09:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:09:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02: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-28 02:09:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787862915000,"timestamp_ms":1787862915000,"timestamp_seconds":1787862915,"priority":1,"record_length":96,"hex_timestamp":"000001a044ef17b8"} 
[2026-08-28 02:09:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 02:09:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02:09:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 02:09:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 02:09:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 02:09:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 02:09:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:09:56] local.INFO: Teltonika packet parsed successfully {"connection_id":164464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:09:56] local.INFO: Passing IMEI to GPS processor {"connection_id":164464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:09:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":164464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:09:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 02:09:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:09:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:09:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692829184001,"66":25321,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:09:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:09:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:09:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692829184001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:09:56] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 02:09:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02: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-28 02:09:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:09:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692829184001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:09:56] local.INFO: DEBUG: GPS processor result {"connection_id":164464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:09:56] local.INFO: GPS data processed {"connection_id":164464,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:09:56] local.INFO: Acknowledgment sent {"connection_id":164464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:10:32] local.INFO: TCP Data received {"connection_id":163456,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:10:32] local.INFO: Processing buffer {"connection_id":163456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:10:32] local.INFO: IMEI packet received {"connection_id":163456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 02:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":163456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 02:10:38] local.INFO: TCP Data received {"connection_id":163456,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:10:38] local.INFO: Processing buffer {"connection_id":163456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:10:38] local.INFO: IMEI packet received {"connection_id":163456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 02:10:38] local.INFO: IMEI acknowledgment sent {"connection_id":163456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 02:10:40] local.INFO: TCP Data received {"connection_id":163456,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a044ef17b8012d34c18006aa4910000400e629..."} 
[2026-08-28 02:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044ef17b8012d34c18006aa4910000400e629..."} 
[2026-08-28 02:10:40] local.INFO: Processing buffer {"connection_id":163456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044ef17b8012d34c18006aa4910000400e629..."} 
[2026-08-28 02:10:40] local.INFO: Packet analysis {"connection_id":163456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044ef"} 
[2026-08-28 02:10:40] local.INFO: Extracted packet for processing {"connection_id":163456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044ef"} 
[2026-08-28 02:10:40] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":4,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02:10:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 02:10:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692829184001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:10:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:10:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:10: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-28 02:10:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787862915000,"timestamp_ms":1787862915000,"timestamp_seconds":1787862915,"priority":1,"record_length":96,"hex_timestamp":"000001a044ef17b8"} 
[2026-08-28 02:10:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 02:10:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02:10:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 02:10:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 02:10:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 02:10:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 02:10:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:10:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:10:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:10:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:10:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 02:10:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:10:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:10:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692829184001,"66":25321,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:10:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:10:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:10:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692829184001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:10:40] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 02:10:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02:10: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-28 02:10:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:10:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692829184001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:10:40] 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":706115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:10:40] local.INFO: GPS data processed {"connection_id":163456,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:10:40] local.INFO: Acknowledgment sent {"connection_id":163456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:11:18] local.INFO: TCP Data received {"connection_id":163456,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a044f3af80012d34c18006aa4910000600e62b..."} 
[2026-08-28 02:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044f3af80012d34c18006aa4910000600e62b..."} 
[2026-08-28 02:11:18] local.INFO: Processing buffer {"connection_id":163456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044f3af80012d34c18006aa4910000600e62b..."} 
[2026-08-28 02:11:18] local.INFO: Packet analysis {"connection_id":163456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044f3"} 
[2026-08-28 02:11:18] local.INFO: Extracted packet for processing {"connection_id":163456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044f3"} 
[2026-08-28 02:11:18] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02: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-28 02:11:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692906240001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:11:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:11:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:11: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-28 02:11:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787863216000,"timestamp_ms":1787863216000,"timestamp_seconds":1787863216,"priority":1,"record_length":96,"hex_timestamp":"000001a044f3af80"} 
[2026-08-28 02: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-28 02:11:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 02:11: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-28 02:11:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 02: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-28 02:11:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:11:18] local.INFO: Teltonika packet parsed successfully {"connection_id":163456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:11:18] local.INFO: Passing IMEI to GPS processor {"connection_id":163456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:11:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":163456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:11:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 02:11:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:11:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:11:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692906240001,"66":24984,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:11:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:11:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:11:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692906240001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:11:18] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 02:11:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02:11: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-28 02:11:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:11:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692906240001,"power":24984,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:11:18] 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":706116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:11:18] local.INFO: GPS data processed {"connection_id":163456,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:11:18] local.INFO: Acknowledgment sent {"connection_id":163456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:11:42] local.INFO: TCP Data received {"connection_id":165813,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:11:42] local.INFO: Processing buffer {"connection_id":165813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:11:42] local.INFO: IMEI packet received {"connection_id":165813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 02:11:42] local.INFO: IMEI acknowledgment sent {"connection_id":165813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 02:11:48] local.INFO: TCP Data received {"connection_id":165813,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:11:48] local.INFO: Processing buffer {"connection_id":165813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:11:48] local.INFO: IMEI packet received {"connection_id":165813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 02:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":165813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 02:12:04] local.INFO: TCP Data received {"connection_id":165813,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a044f3af80012d34c18006aa4910000600e62b..."} 
[2026-08-28 02:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044f3af80012d34c18006aa4910000600e62b..."} 
[2026-08-28 02:12:04] local.INFO: Processing buffer {"connection_id":165813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044f3af80012d34c18006aa4910000600e62b..."} 
[2026-08-28 02:12:04] local.INFO: Packet analysis {"connection_id":165813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044f3"} 
[2026-08-28 02:12:04] local.INFO: Extracted packet for processing {"connection_id":165813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044f3"} 
[2026-08-28 02:12:04] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 02:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692906240001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:12: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-28 02:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787863216000,"timestamp_ms":1787863216000,"timestamp_seconds":1787863216,"priority":1,"record_length":96,"hex_timestamp":"000001a044f3af80"} 
[2026-08-28 02:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 02:12:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 02:12:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 02:12:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 02:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 02:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":165813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":165813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":165813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:12:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 02:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692906240001,"66":24984,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692906240001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:12:04] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 02:12:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02:12: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-28 02:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692906240001,"power":24984,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":165813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:12:04] local.INFO: GPS data processed {"connection_id":165813,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:12:04] local.INFO: Acknowledgment sent {"connection_id":165813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:12:38] local.INFO: TCP Data received {"connection_id":163206,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:12:38] local.INFO: Processing buffer {"connection_id":163206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:12:38] local.INFO: IMEI packet received {"connection_id":163206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 02:12:38] local.INFO: IMEI acknowledgment sent {"connection_id":163206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 02:12:42] local.INFO: TCP Data received {"connection_id":163206,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:12:43] local.INFO: Processing buffer {"connection_id":163206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:12:43] local.INFO: IMEI packet received {"connection_id":163206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 02:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":163206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 02:12:44] local.INFO: TCP Data received {"connection_id":163206,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a044f3af80012d34c18006aa4910000600e62b..."} 
[2026-08-28 02:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044f3af80012d34c18006aa4910000600e62b..."} 
[2026-08-28 02:12:44] local.INFO: Processing buffer {"connection_id":163206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044f3af80012d34c18006aa4910000600e62b..."} 
[2026-08-28 02:12:44] local.INFO: Packet analysis {"connection_id":163206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044f3"} 
[2026-08-28 02:12:44] local.INFO: Extracted packet for processing {"connection_id":163206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044f3"} 
[2026-08-28 02:12:44] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 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-28 02:12:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692906240001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:12:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:12:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:12: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-28 02:12:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787863216000,"timestamp_ms":1787863216000,"timestamp_seconds":1787863216,"priority":1,"record_length":96,"hex_timestamp":"000001a044f3af80"} 
[2026-08-28 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-28 02:12:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 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":233,"data_length":795,"current_offset":136} 
[2026-08-28 02:12: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-28 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-28 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-28 02:12:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:12:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:12:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:12:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:12: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-28 02:12:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:12:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:12:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692906240001,"66":24984,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:12:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:12:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:12:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692906240001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:12:44] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 02:12:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 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-28 02:12:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:12:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692906240001,"power":24984,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:12:44] local.INFO: DEBUG: GPS processor result {"connection_id":163206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:12:44] local.INFO: GPS data processed {"connection_id":163206,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:12:44] local.INFO: Acknowledgment sent {"connection_id":163206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:13:18] local.INFO: TCP Data received {"connection_id":163206,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a044f3af80012d34c18006aa4910000600e62b..."} 
[2026-08-28 02:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044f3af80012d34c18006aa4910000600e62b..."} 
[2026-08-28 02:13:18] local.INFO: Processing buffer {"connection_id":163206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044f3af80012d34c18006aa4910000600e62b..."} 
[2026-08-28 02:13:18] local.INFO: Packet analysis {"connection_id":163206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044f3"} 
[2026-08-28 02:13:18] local.INFO: Extracted packet for processing {"connection_id":163206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044f3"} 
[2026-08-28 02:13:18] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 02:13:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692906240001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:13:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:13:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:13: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-28 02:13:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787863216000,"timestamp_ms":1787863216000,"timestamp_seconds":1787863216,"priority":1,"record_length":96,"hex_timestamp":"000001a044f3af80"} 
[2026-08-28 02:13:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 02:13:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 02:13: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-28 02:13:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 02:13:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 02:13:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:13:18] local.INFO: Teltonika packet parsed successfully {"connection_id":163206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:13:18] local.INFO: Passing IMEI to GPS processor {"connection_id":163206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:13:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":163206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:13: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-28 02:13:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:13:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:13:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692906240001,"66":24984,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:13:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:13:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:13:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692906240001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:13:18] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 02:13:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02:13: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-28 02:13:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:13:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692906240001,"power":24984,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:13:18] local.INFO: DEBUG: GPS processor result {"connection_id":163206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:13:18] local.INFO: GPS data processed {"connection_id":163206,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:13:18] local.INFO: Acknowledgment sent {"connection_id":163206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:13:29] local.INFO: TCP Data received {"connection_id":163457,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 02:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163457,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 02:13:29] local.INFO: Processing buffer {"connection_id":163457,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 02:13:29] local.INFO: IMEI packet received {"connection_id":163457,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 02:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":163457,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 02:13:40] local.INFO: TCP Data received {"connection_id":163458,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:13:40] local.INFO: Processing buffer {"connection_id":163458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:13:40] local.INFO: IMEI packet received {"connection_id":163458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 02:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":163458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 02:13:43] local.INFO: TCP Data received {"connection_id":163458,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:13:43] local.INFO: Processing buffer {"connection_id":163458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:13:43] local.INFO: IMEI packet received {"connection_id":163458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 02:13:43] local.INFO: IMEI acknowledgment sent {"connection_id":163458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 02:13:44] local.INFO: TCP Data received {"connection_id":163458,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a044f3af80012d34c18006aa4910000600e62b..."} 
[2026-08-28 02:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044f3af80012d34c18006aa4910000600e62b..."} 
[2026-08-28 02:13:44] local.INFO: Processing buffer {"connection_id":163458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044f3af80012d34c18006aa4910000600e62b..."} 
[2026-08-28 02:13:44] local.INFO: Packet analysis {"connection_id":163458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044f3"} 
[2026-08-28 02:13:44] local.INFO: Extracted packet for processing {"connection_id":163458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044f3"} 
[2026-08-28 02:13:44] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02: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-28 02:13:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692906240001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:13:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:13:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:13: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-28 02:13:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787863216000,"timestamp_ms":1787863216000,"timestamp_seconds":1787863216,"priority":1,"record_length":96,"hex_timestamp":"000001a044f3af80"} 
[2026-08-28 02: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-28 02:13:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02: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-28 02: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-28 02: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-28 02: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-28 02:13:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:13:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:13:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:13:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:13: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-28 02:13:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:13:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:13:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692906240001,"66":24984,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-28 02:13:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:13:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:13:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692906240001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:13:44] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 02:13:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02: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-28 02:13:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:13:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692906240001,"power":24984,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:13: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":706120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:13:44] local.INFO: GPS data processed {"connection_id":163458,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:13:44] local.INFO: Acknowledgment sent {"connection_id":163458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:14:08] local.INFO: TCP Data received {"connection_id":163458,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a044f3af80012d34c18006aa4910000600e62b..."} 
[2026-08-28 02:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044f3af80012d34c18006aa4910000600e62b..."} 
[2026-08-28 02:14:08] local.INFO: Processing buffer {"connection_id":163458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044f3af80012d34c18006aa4910000600e62b..."} 
[2026-08-28 02:14:08] local.INFO: Packet analysis {"connection_id":163458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044f3"} 
[2026-08-28 02:14:08] local.INFO: Extracted packet for processing {"connection_id":163458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044f3"} 
[2026-08-28 02:14:08] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02: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-28 02:14:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692906240001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:14:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:14:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:14:08] 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-28 02:14:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787863216000,"timestamp_ms":1787863216000,"timestamp_seconds":1787863216,"priority":1,"record_length":96,"hex_timestamp":"000001a044f3af80"} 
[2026-08-28 02: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-28 02:14:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 02:14:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 02: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-28 02: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-28 02:14:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:14:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:14:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:14:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:14:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 02:14:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:14:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:14:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692906240001,"66":24984,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-28 02:14:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:14:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:14:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692906240001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:14:08] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 02:14:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02: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-28 02:14:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:14:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692906240001,"power":24984,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:14:08] 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":706121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:14:08] local.INFO: GPS data processed {"connection_id":163458,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:14:08] local.INFO: Acknowledgment sent {"connection_id":163458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:14:53] local.INFO: TCP Data received {"connection_id":164465,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:14:53] local.INFO: Processing buffer {"connection_id":164465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:14:53] local.INFO: IMEI packet received {"connection_id":164465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 02:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":164465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 02:14:55] local.INFO: TCP Data received {"connection_id":164465,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:14:55] local.INFO: Processing buffer {"connection_id":164465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:14:55] local.INFO: IMEI packet received {"connection_id":164465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 02:14:55] local.INFO: IMEI acknowledgment sent {"connection_id":164465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 02:15:11] local.INFO: TCP Data received {"connection_id":164465,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a044f3af80012d34c18006aa4910000600e62b..."} 
[2026-08-28 02:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044f3af80012d34c18006aa4910000600e62b..."} 
[2026-08-28 02:15:11] local.INFO: Processing buffer {"connection_id":164465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044f3af80012d34c18006aa4910000600e62b..."} 
[2026-08-28 02:15:11] local.INFO: Packet analysis {"connection_id":164465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044f3"} 
[2026-08-28 02:15:11] local.INFO: Extracted packet for processing {"connection_id":164465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044f3"} 
[2026-08-28 02:15:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 02:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692906240001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:15:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:15: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-28 02:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787863216000,"timestamp_ms":1787863216000,"timestamp_seconds":1787863216,"priority":1,"record_length":96,"hex_timestamp":"000001a044f3af80"} 
[2026-08-28 02:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 02:15:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 02:15: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-28 02:15:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 02:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 02:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":164465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":164465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":164465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:15:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 02:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692906240001,"66":24984,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-28 02:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692906240001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:15:11] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 02:15:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02:15: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-28 02:15:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692906240001,"power":24984,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":164465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:15:11] local.INFO: GPS data processed {"connection_id":164465,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:15:11] local.INFO: Acknowledgment sent {"connection_id":164465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:15:17] local.INFO: TCP Data received {"connection_id":164465,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a044f3af80012d34c18006aa4910000600e62b..."} 
[2026-08-28 02:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044f3af80012d34c18006aa4910000600e62b..."} 
[2026-08-28 02:15:17] local.INFO: Processing buffer {"connection_id":164465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044f3af80012d34c18006aa4910000600e62b..."} 
[2026-08-28 02:15:17] local.INFO: Packet analysis {"connection_id":164465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044f3"} 
[2026-08-28 02:15:17] local.INFO: Extracted packet for processing {"connection_id":164465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044f3"} 
[2026-08-28 02:15:17] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02: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-28 02:15:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692906240001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:15:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:15:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:15:17] 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-28 02:15:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787863216000,"timestamp_ms":1787863216000,"timestamp_seconds":1787863216,"priority":1,"record_length":96,"hex_timestamp":"000001a044f3af80"} 
[2026-08-28 02: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-28 02:15:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 02:15: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-28 02: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-28 02: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-28 02:15:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:15:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:15:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:15:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:15: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-28 02:15:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:15:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:15:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692906240001,"66":24984,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-28 02:15:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:15:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:15:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692906240001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:15:17] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 02:15:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02: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-28 02:15:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:15:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692906240001,"power":24984,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:15:17] local.INFO: DEBUG: GPS processor result {"connection_id":164465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:15:17] local.INFO: GPS data processed {"connection_id":164465,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:15:17] local.INFO: Acknowledgment sent {"connection_id":164465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:15:42] local.INFO: TCP Data received {"connection_id":165814,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:15:42] local.INFO: Processing buffer {"connection_id":165814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:15:42] local.INFO: IMEI packet received {"connection_id":165814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 02:15:42] local.INFO: IMEI acknowledgment sent {"connection_id":165814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 02:15:57] local.INFO: TCP Data received {"connection_id":165814,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:15:57] local.INFO: Processing buffer {"connection_id":165814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:15:57] local.INFO: IMEI packet received {"connection_id":165814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 02:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":165814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 02:16:12] local.INFO: TCP Data received {"connection_id":165814,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a044f3af80012d34c18006aa4910000600e62b..."} 
[2026-08-28 02:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044f3af80012d34c18006aa4910000600e62b..."} 
[2026-08-28 02:16:12] local.INFO: Processing buffer {"connection_id":165814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044f3af80012d34c18006aa4910000600e62b..."} 
[2026-08-28 02:16:12] local.INFO: Packet analysis {"connection_id":165814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044f3"} 
[2026-08-28 02:16:12] local.INFO: Extracted packet for processing {"connection_id":165814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044f3"} 
[2026-08-28 02:16:12] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 02:16:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692906240001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:16:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:16:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:16: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-28 02:16:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787863216000,"timestamp_ms":1787863216000,"timestamp_seconds":1787863216,"priority":1,"record_length":96,"hex_timestamp":"000001a044f3af80"} 
[2026-08-28 02:16:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 02:16:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 02:16: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-28 02:16:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 02:16:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 02:16:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:16:12] local.INFO: Teltonika packet parsed successfully {"connection_id":165814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:16:12] local.INFO: Passing IMEI to GPS processor {"connection_id":165814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:16:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":165814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:16:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 02:16:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:16:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:16:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692906240001,"66":24984,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-28 02:16:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:16:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:16:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692906240001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:16:12] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 02:16:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02:16: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-28 02:16:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:16:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692906240001,"power":24984,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:16:12] local.INFO: DEBUG: GPS processor result {"connection_id":165814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:16:12] local.INFO: GPS data processed {"connection_id":165814,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:16:12] local.INFO: Acknowledgment sent {"connection_id":165814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:16:15] local.INFO: TCP Data received {"connection_id":165814,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a044f84748012d34c18006aa4910000400e62a..."} 
[2026-08-28 02:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044f84748012d34c18006aa4910000400e62a..."} 
[2026-08-28 02:16:15] local.INFO: Processing buffer {"connection_id":165814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044f84748012d34c18006aa4910000400e62a..."} 
[2026-08-28 02:16:15] local.INFO: Packet analysis {"connection_id":165814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044f8"} 
[2026-08-28 02:16:15] local.INFO: Extracted packet for processing {"connection_id":165814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044f8"} 
[2026-08-28 02:16:15] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":4,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02: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-28 02:16:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692983296001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:16:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:16:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:16: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-28 02:16:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787863517000,"timestamp_ms":1787863517000,"timestamp_seconds":1787863517,"priority":1,"record_length":96,"hex_timestamp":"000001a044f84748"} 
[2026-08-28 02: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-28 02:16:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02: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":97,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-28 02:16:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2051,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 02: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-28 02: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-28 02:16:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:16:15] local.INFO: Teltonika packet parsed successfully {"connection_id":165814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:16:15] local.INFO: Passing IMEI to GPS processor {"connection_id":165814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:16:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":165814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:16: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-28 02:16:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:16:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:16:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692983296001,"66":25321,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-28 02:16:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:16:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:16:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692983296001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:16:15] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 02:16:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02: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-28 02:16:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:16:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692983296001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:16:15] local.INFO: DEBUG: GPS processor result {"connection_id":165814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:16:15] local.INFO: GPS data processed {"connection_id":165814,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:16:15] local.INFO: Acknowledgment sent {"connection_id":165814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:16:32] local.INFO: TCP Data received {"connection_id":163207,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:16:32] local.INFO: Processing buffer {"connection_id":163207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:16:32] local.INFO: IMEI packet received {"connection_id":163207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 02:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":163207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 02:16:39] local.INFO: TCP Data received {"connection_id":163207,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:16:39] local.INFO: Processing buffer {"connection_id":163207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:16:39] local.INFO: IMEI packet received {"connection_id":163207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 02:16:39] local.INFO: IMEI acknowledgment sent {"connection_id":163207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 02:16:44] local.INFO: TCP Data received {"connection_id":163207,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a044f84748012d34c18006aa4910000400e62a..."} 
[2026-08-28 02:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044f84748012d34c18006aa4910000400e62a..."} 
[2026-08-28 02:16:44] local.INFO: Processing buffer {"connection_id":163207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044f84748012d34c18006aa4910000400e62a..."} 
[2026-08-28 02:16:44] local.INFO: Packet analysis {"connection_id":163207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044f8"} 
[2026-08-28 02:16:44] local.INFO: Extracted packet for processing {"connection_id":163207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044f8"} 
[2026-08-28 02:16:44] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":4,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02: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-28 02:16:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692983296001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:16:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:16:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:16: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-28 02:16:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787863517000,"timestamp_ms":1787863517000,"timestamp_seconds":1787863517,"priority":1,"record_length":96,"hex_timestamp":"000001a044f84748"} 
[2026-08-28 02: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-28 02:16:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02: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":97,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-28 02:16:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2051,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 02: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-28 02: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-28 02:16:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:16:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:16:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:16:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02: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-28 02:16:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:16:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:16:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692983296001,"66":25321,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:16:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:16:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:16:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692983296001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:16:44] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 02:16:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02: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-28 02:16:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:16:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692983296001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:16:44] local.INFO: DEBUG: GPS processor result {"connection_id":163207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:16:44] local.INFO: GPS data processed {"connection_id":163207,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:16:44] local.INFO: Acknowledgment sent {"connection_id":163207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:18:28] local.INFO: TCP Data received {"connection_id":163207,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a044f84748012d34c18006aa4910000400e62a..."} 
[2026-08-28 02:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044f84748012d34c18006aa4910000400e62a..."} 
[2026-08-28 02:18:28] local.INFO: Processing buffer {"connection_id":163207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044f84748012d34c18006aa4910000400e62a..."} 
[2026-08-28 02:18:28] local.INFO: Packet analysis {"connection_id":163207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044f8"} 
[2026-08-28 02:18:28] local.INFO: Extracted packet for processing {"connection_id":163207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044f8"} 
[2026-08-28 02:18:28] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":4,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02: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-28 02:18:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692983296001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:18:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:18:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:18:28] 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-28 02:18:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787863517000,"timestamp_ms":1787863517000,"timestamp_seconds":1787863517,"priority":1,"record_length":96,"hex_timestamp":"000001a044f84748"} 
[2026-08-28 02: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-28 02:18:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02: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":97,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-28 02:18:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2051,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 02: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-28 02: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-28 02:18:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:18:28] local.INFO: Teltonika packet parsed successfully {"connection_id":163207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:18:28] local.INFO: Passing IMEI to GPS processor {"connection_id":163207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:18:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":163207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:18:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 02:18:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:18:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:18:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692983296001,"66":25321,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:18:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:18:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:18:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692983296001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:18:28] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 02:18:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02:18:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 02:18:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:18:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692983296001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:18:28] local.INFO: DEBUG: GPS processor result {"connection_id":163207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:18:28] local.INFO: GPS data processed {"connection_id":163207,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:18:28] local.INFO: Acknowledgment sent {"connection_id":163207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:18:44] local.INFO: TCP Data received {"connection_id":163459,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:18:44] local.INFO: Processing buffer {"connection_id":163459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:18:44] local.INFO: IMEI packet received {"connection_id":163459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 02:18:44] local.INFO: IMEI acknowledgment sent {"connection_id":163459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 02:18:49] local.INFO: TCP Data received {"connection_id":163459,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:18:49] local.INFO: Processing buffer {"connection_id":163459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:18:49] local.INFO: IMEI packet received {"connection_id":163459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 02:18:49] local.INFO: IMEI acknowledgment sent {"connection_id":163459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 02:19:01] local.INFO: TCP Data received {"connection_id":163459,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a044f84748012d34c18006aa4910000400e62a..."} 
[2026-08-28 02:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044f84748012d34c18006aa4910000400e62a..."} 
[2026-08-28 02:19:01] local.INFO: Processing buffer {"connection_id":163459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044f84748012d34c18006aa4910000400e62a..."} 
[2026-08-28 02:19:01] local.INFO: Packet analysis {"connection_id":163459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044f8"} 
[2026-08-28 02:19:01] local.INFO: Extracted packet for processing {"connection_id":163459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044f8"} 
[2026-08-28 02:19:01] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":4,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 02:19:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692983296001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:19:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:19:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:19:01] 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-28 02:19:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787863517000,"timestamp_ms":1787863517000,"timestamp_seconds":1787863517,"priority":1,"record_length":96,"hex_timestamp":"000001a044f84748"} 
[2026-08-28 02:19:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 02:19:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-28 02:19:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2051,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 02:19:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 02:19:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 02:19:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:19:01] local.INFO: Teltonika packet parsed successfully {"connection_id":163459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:19:01] local.INFO: Passing IMEI to GPS processor {"connection_id":163459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:19:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":163459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:19:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 02:19:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:19:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:19:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692983296001,"66":25321,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:19:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:19:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:19:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692983296001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:19:01] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 02:19:01] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02:19: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-28 02:19:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:19:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692983296001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:19:01] 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":706128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:19:01] local.INFO: GPS data processed {"connection_id":163459,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:19:01] local.INFO: Acknowledgment sent {"connection_id":163459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:19:02] local.INFO: TCP Data received {"connection_id":163459,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a044f84748012d34c18006aa4910000400e62a..."} 
[2026-08-28 02:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044f84748012d34c18006aa4910000400e62a..."} 
[2026-08-28 02:19:02] local.INFO: Processing buffer {"connection_id":163459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044f84748012d34c18006aa4910000400e62a..."} 
[2026-08-28 02:19:02] local.INFO: Packet analysis {"connection_id":163459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044f8"} 
[2026-08-28 02:19:02] local.INFO: Extracted packet for processing {"connection_id":163459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044f8"} 
[2026-08-28 02:19:02] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":4,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 02:19:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692983296001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:19:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:19:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:19: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-28 02:19:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787863517000,"timestamp_ms":1787863517000,"timestamp_seconds":1787863517,"priority":1,"record_length":96,"hex_timestamp":"000001a044f84748"} 
[2026-08-28 02:19:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 02:19:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-28 02:19:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2051,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 02:19:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 02:19:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 02:19:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:19:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:19:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:19:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:19:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 02:19:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:19:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:19:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692983296001,"66":25321,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:19:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:19:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:19:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692983296001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:19:02] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 02:19:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02:19: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-28 02:19:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:19:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692983296001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:19:02] 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":706129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:19:02] local.INFO: GPS data processed {"connection_id":163459,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:19:02] local.INFO: Acknowledgment sent {"connection_id":163459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:19:04] local.INFO: TCP Data received {"connection_id":165815,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 02:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165815,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 02:19:04] local.INFO: Processing buffer {"connection_id":165815,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 02:19:04] local.INFO: IMEI packet received {"connection_id":165815,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 02:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":165815,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 02:19:28] local.INFO: TCP Data received {"connection_id":164466,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:19:28] local.INFO: Processing buffer {"connection_id":164466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:19:28] local.INFO: IMEI packet received {"connection_id":164466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 02:19:28] local.INFO: IMEI acknowledgment sent {"connection_id":164466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 02:19:37] local.INFO: TCP Data received {"connection_id":164466,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:19:37] local.INFO: Processing buffer {"connection_id":164466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:19:37] local.INFO: IMEI packet received {"connection_id":164466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 02:19:37] local.INFO: IMEI acknowledgment sent {"connection_id":164466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 02:19:38] local.INFO: TCP Data received {"connection_id":164466,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:19:38] local.INFO: Processing buffer {"connection_id":164466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:19:38] local.INFO: IMEI packet received {"connection_id":164466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 02:19:38] local.INFO: IMEI acknowledgment sent {"connection_id":164466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 02:19:42] local.INFO: TCP Data received {"connection_id":164466,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:19:42] local.INFO: Processing buffer {"connection_id":164466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:19:42] local.INFO: IMEI packet received {"connection_id":164466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 02:19:42] local.INFO: IMEI acknowledgment sent {"connection_id":164466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 02:19:44] local.INFO: TCP Data received {"connection_id":164466,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a044f84748012d34c18006aa4910000400e62a..."} 
[2026-08-28 02:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044f84748012d34c18006aa4910000400e62a..."} 
[2026-08-28 02:19:44] local.INFO: Processing buffer {"connection_id":164466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044f84748012d34c18006aa4910000400e62a..."} 
[2026-08-28 02:19:44] local.INFO: Packet analysis {"connection_id":164466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044f8"} 
[2026-08-28 02:19:44] local.INFO: Extracted packet for processing {"connection_id":164466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044f8"} 
[2026-08-28 02:19:44] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":4,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02: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-28 02:19:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692983296001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:19:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:19:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:19: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-28 02:19:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787863517000,"timestamp_ms":1787863517000,"timestamp_seconds":1787863517,"priority":1,"record_length":96,"hex_timestamp":"000001a044f84748"} 
[2026-08-28 02: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-28 02:19:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02: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":97,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-28 02:19:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2051,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 02: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-28 02: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-28 02:19:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:19:44] local.INFO: Teltonika packet parsed successfully {"connection_id":164466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:19:44] local.INFO: Passing IMEI to GPS processor {"connection_id":164466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:19:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":164466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:19: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-28 02:19:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:19:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:19:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692983296001,"66":25321,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:19:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:19:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:19:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692983296001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:19:44] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 02:19:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02: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-28 02:19:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:19:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692983296001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:19:44] local.INFO: DEBUG: GPS processor result {"connection_id":164466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:19:44] local.INFO: GPS data processed {"connection_id":164466,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:19:44] local.INFO: Acknowledgment sent {"connection_id":164466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:20:19] local.INFO: TCP Data received {"connection_id":164466,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a044f84748012d34c18006aa4910000400e62a..."} 
[2026-08-28 02:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044f84748012d34c18006aa4910000400e62a..."} 
[2026-08-28 02:20:19] local.INFO: Processing buffer {"connection_id":164466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044f84748012d34c18006aa4910000400e62a..."} 
[2026-08-28 02:20:19] local.INFO: Packet analysis {"connection_id":164466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044f8"} 
[2026-08-28 02:20:19] local.INFO: Extracted packet for processing {"connection_id":164466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044f8"} 
[2026-08-28 02:20:19] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":4,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 02:20:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692983296001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:20:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:20:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:20: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-28 02:20:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787863517000,"timestamp_ms":1787863517000,"timestamp_seconds":1787863517,"priority":1,"record_length":96,"hex_timestamp":"000001a044f84748"} 
[2026-08-28 02:20:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 02:20:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-28 02:20:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2051,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 02:20:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 02:20:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 02:20:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:20:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:20:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:20:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:20: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-28 02:20:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:20:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:20:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692983296001,"66":25321,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:20:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:20:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:20:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692983296001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:20:19] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 02:20:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02:20: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-28 02:20:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:20:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692983296001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:20:19] local.INFO: DEBUG: GPS processor result {"connection_id":164466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:20:19] local.INFO: GPS data processed {"connection_id":164466,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:20:19] local.INFO: Acknowledgment sent {"connection_id":164466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:20:34] local.INFO: TCP Data received {"connection_id":164467,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:20:34] local.INFO: Processing buffer {"connection_id":164467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:20:34] local.INFO: IMEI packet received {"connection_id":164467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 02:20:34] local.INFO: IMEI acknowledgment sent {"connection_id":164467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 02:20:41] local.INFO: TCP Data received {"connection_id":164467,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:20:41] local.INFO: Processing buffer {"connection_id":164467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:20:41] local.INFO: IMEI packet received {"connection_id":164467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 02:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":164467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 02:20:48] local.INFO: TCP Data received {"connection_id":164467,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a044f84748012d34c18006aa4910000400e62a..."} 
[2026-08-28 02:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044f84748012d34c18006aa4910000400e62a..."} 
[2026-08-28 02:20:48] local.INFO: Processing buffer {"connection_id":164467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044f84748012d34c18006aa4910000400e62a..."} 
[2026-08-28 02:20:48] local.INFO: Packet analysis {"connection_id":164467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044f8"} 
[2026-08-28 02:20:48] local.INFO: Extracted packet for processing {"connection_id":164467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044f8"} 
[2026-08-28 02:20:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":4,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02: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-28 02:20:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692983296001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:20:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:20:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:20: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-28 02:20:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787863517000,"timestamp_ms":1787863517000,"timestamp_seconds":1787863517,"priority":1,"record_length":96,"hex_timestamp":"000001a044f84748"} 
[2026-08-28 02: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-28 02:20:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02: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":97,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-28 02:20:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2051,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 02: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-28 02: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-28 02:20:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:20:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:20:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:20:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:20: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-28 02:20:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:20:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:20:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692983296001,"66":25321,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:20:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:20:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:20:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692983296001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:20:48] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 02:20:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02: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-28 02:20:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:20:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692983296001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:20:48] local.INFO: DEBUG: GPS processor result {"connection_id":164467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:20:48] local.INFO: GPS data processed {"connection_id":164467,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:20:48] local.INFO: Acknowledgment sent {"connection_id":164467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:21:38] local.INFO: TCP Data received {"connection_id":165816,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:21:38] local.INFO: Processing buffer {"connection_id":165816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:21:38] local.INFO: IMEI packet received {"connection_id":165816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 02:21:38] local.INFO: IMEI acknowledgment sent {"connection_id":165816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 02:21:43] local.INFO: TCP Data received {"connection_id":165816,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:21:43] local.INFO: Processing buffer {"connection_id":165816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:21:43] local.INFO: IMEI packet received {"connection_id":165816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 02:21:43] local.INFO: IMEI acknowledgment sent {"connection_id":165816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 02:21:53] local.INFO: TCP Data received {"connection_id":165816,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a044fcdf10012d34c18006aa4910000300e62a..."} 
[2026-08-28 02:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044fcdf10012d34c18006aa4910000300e62a..."} 
[2026-08-28 02:21:53] local.INFO: Processing buffer {"connection_id":165816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044fcdf10012d34c18006aa4910000300e62a..."} 
[2026-08-28 02:21:53] local.INFO: Packet analysis {"connection_id":165816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044fc"} 
[2026-08-28 02:21:53] local.INFO: Extracted packet for processing {"connection_id":165816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044fc"} 
[2026-08-28 02:21:53] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":3,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02: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-28 02:21:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457693060352001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:21:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:21:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02: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-28 02:21:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787863818000,"timestamp_ms":1787863818000,"timestamp_seconds":1787863818,"priority":1,"record_length":96,"hex_timestamp":"000001a044fcdf10"} 
[2026-08-28 02: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-28 02:21:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02: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-28 02: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-28 02: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-28 02: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-28 02:21:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:21:53] local.INFO: Teltonika packet parsed successfully {"connection_id":165816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:21:53] local.INFO: Passing IMEI to GPS processor {"connection_id":165816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:21:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":165816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:21: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-28 02:21:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:21:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:21:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457693060352001,"66":25343,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:21:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:21:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:21:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457693060352001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:21:53] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 02:21:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02: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-28 02:21:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:21:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457693060352001,"power":25343,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:21:53] local.INFO: DEBUG: GPS processor result {"connection_id":165816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:21:53] local.INFO: GPS data processed {"connection_id":165816,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:21:53] local.INFO: Acknowledgment sent {"connection_id":165816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:23:00] local.INFO: TCP Data received {"connection_id":163208,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:23:00] local.INFO: Processing buffer {"connection_id":163208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:23:00] local.INFO: IMEI packet received {"connection_id":163208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 02:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":163208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 02:23:03] local.INFO: TCP Data received {"connection_id":163208,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:23:03] local.INFO: Processing buffer {"connection_id":163208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:23:03] local.INFO: IMEI packet received {"connection_id":163208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 02:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":163208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 02:23:03] local.INFO: TCP Data received {"connection_id":163208,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:23:03] local.INFO: Processing buffer {"connection_id":163208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:23:03] local.INFO: IMEI packet received {"connection_id":163208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 02:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":163208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 02:23:17] local.INFO: TCP Data received {"connection_id":163208,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:23:17] local.INFO: Processing buffer {"connection_id":163208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:23:17] local.INFO: IMEI packet received {"connection_id":163208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 02:23:17] local.INFO: IMEI acknowledgment sent {"connection_id":163208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 02:23:21] local.INFO: TCP Data received {"connection_id":163208,"ip":"42.109.136.7","data_length":1348,"data_hex":"000000000000030f8e0a000001a044fcdf10012d34c18006aa4910000300e62a..."} 
[2026-08-28 02:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163208,"packet_length":1348,"packet_hex":"000000000000030f8e0a000001a044fcdf10012d34c18006aa4910000300e62a..."} 
[2026-08-28 02:23:21] local.INFO: Processing buffer {"connection_id":163208,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a000001a044fcdf10012d34c18006aa4910000300e62a..."} 
[2026-08-28 02:23:21] local.INFO: Packet analysis {"connection_id":163208,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a000001a044fc"} 
[2026-08-28 02:23:21] local.INFO: Extracted packet for processing {"connection_id":163208,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a044fc"} 
[2026-08-28 02:23:21] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":3,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 02:23:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457693060352001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:23:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:23:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:23:21] 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-28 02:23:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787863818000,"timestamp_ms":1787863818000,"timestamp_seconds":1787863818,"priority":1,"record_length":96,"hex_timestamp":"000001a044fcdf10"} 
[2026-08-28 02:23:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 02:23:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 02:23:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 02:23:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 02:23:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 02:23:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:23:21] local.INFO: Teltonika packet parsed successfully {"connection_id":163208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:23:21] local.INFO: Passing IMEI to GPS processor {"connection_id":163208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:23:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":163208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:23: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-28 02:23:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:23:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:23:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457693060352001,"66":25343,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:23:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:23:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:23:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457693060352001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:23:21] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 02:23:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02:23: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-28 02:23:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:23:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457693060352001,"power":25343,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:23:21] local.INFO: DEBUG: GPS processor result {"connection_id":163208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:23:21] local.INFO: GPS data processed {"connection_id":163208,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:23:21] local.ERROR: TCP Connection error {"connection_id":163208,"code":2,"message":"client closed"} 
[2026-08-28 02:23:21] local.INFO: Acknowledgment sent {"connection_id":163208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:23:21] local.INFO: Packet analysis {"connection_id":163208,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a044fc"} 
[2026-08-28 02:23:21] local.INFO: Incomplete packet, waiting for more data {"connection_id":163208,"needed":795,"available":553} 
[2026-08-28 02:23:40] local.INFO: TCP Data received {"connection_id":164469,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:23:40] local.INFO: Processing buffer {"connection_id":164469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:23:40] local.INFO: IMEI packet received {"connection_id":164469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 02:23:40] local.INFO: IMEI acknowledgment sent {"connection_id":164469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 02:23:42] local.INFO: TCP Data received {"connection_id":164469,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:23:42] local.INFO: Processing buffer {"connection_id":164469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:23:42] local.INFO: IMEI packet received {"connection_id":164469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 02:23:42] local.INFO: IMEI acknowledgment sent {"connection_id":164469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 02:23:49] local.INFO: TCP Data received {"connection_id":164469,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a044fcdf10012d34c18006aa4910000300e62a..."} 
[2026-08-28 02:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044fcdf10012d34c18006aa4910000300e62a..."} 
[2026-08-28 02:23:49] local.INFO: Processing buffer {"connection_id":164469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044fcdf10012d34c18006aa4910000300e62a..."} 
[2026-08-28 02:23:49] local.INFO: Packet analysis {"connection_id":164469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044fc"} 
[2026-08-28 02:23:49] local.INFO: Extracted packet for processing {"connection_id":164469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044fc"} 
[2026-08-28 02:23:49] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":3,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02: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-28 02:23:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457693060352001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:23:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:23:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:23: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-28 02:23:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787863818000,"timestamp_ms":1787863818000,"timestamp_seconds":1787863818,"priority":1,"record_length":96,"hex_timestamp":"000001a044fcdf10"} 
[2026-08-28 02: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-28 02:23:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 02:23: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-28 02: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-28 02: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-28 02:23:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:23:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:23:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:23:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:23: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-28 02:23:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:23:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:23:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457693060352001,"66":25343,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:23:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:23:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:23:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457693060352001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:23:49] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 02:23:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02: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-28 02:23:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:23:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457693060352001,"power":25343,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:23:49] local.INFO: DEBUG: GPS processor result {"connection_id":164469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:23:49] local.INFO: GPS data processed {"connection_id":164469,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:23:49] local.INFO: Acknowledgment sent {"connection_id":164469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:24:37] local.INFO: TCP Data received {"connection_id":163209,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:24:37] local.INFO: Processing buffer {"connection_id":163209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:24:37] local.INFO: IMEI packet received {"connection_id":163209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 02:24:37] local.INFO: IMEI acknowledgment sent {"connection_id":163209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 02:24:39] local.INFO: TCP Data received {"connection_id":164468,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 02:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164468,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 02:24:39] local.INFO: Processing buffer {"connection_id":164468,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 02:24:39] local.INFO: IMEI packet received {"connection_id":164468,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 02:24:39] local.INFO: IMEI acknowledgment sent {"connection_id":164468,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 02:24:43] local.INFO: TCP Data received {"connection_id":163209,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:24:43] local.INFO: Processing buffer {"connection_id":163209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:24:43] local.INFO: IMEI packet received {"connection_id":163209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 02:24:43] local.INFO: IMEI acknowledgment sent {"connection_id":163209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 02:24:45] local.INFO: TCP Data received {"connection_id":163209,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a044fcdf10012d34c18006aa4910000300e62a..."} 
[2026-08-28 02:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044fcdf10012d34c18006aa4910000300e62a..."} 
[2026-08-28 02:24:45] local.INFO: Processing buffer {"connection_id":163209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044fcdf10012d34c18006aa4910000300e62a..."} 
[2026-08-28 02:24:45] local.INFO: Packet analysis {"connection_id":163209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044fc"} 
[2026-08-28 02:24:45] local.INFO: Extracted packet for processing {"connection_id":163209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044fc"} 
[2026-08-28 02:24:45] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":3,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02: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-28 02:24:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457693060352001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:24:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:24:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:24: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-28 02:24:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787863818000,"timestamp_ms":1787863818000,"timestamp_seconds":1787863818,"priority":1,"record_length":96,"hex_timestamp":"000001a044fcdf10"} 
[2026-08-28 02: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-28 02:24:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 02:24: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-28 02: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-28 02: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-28 02:24:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:24:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:24:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:24:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:24: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-28 02:24:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:24:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:24:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457693060352001,"66":25343,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:24:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:24:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:24:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457693060352001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:24:45] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 02:24:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02: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-28 02:24:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:24:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457693060352001,"power":25343,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:24:45] local.INFO: DEBUG: GPS processor result {"connection_id":163209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:24:45] local.INFO: GPS data processed {"connection_id":163209,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:24:45] local.INFO: Acknowledgment sent {"connection_id":163209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:24:54] local.INFO: TCP Data received {"connection_id":163209,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a044fcdf10012d34c18006aa4910000300e62a..."} 
[2026-08-28 02:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044fcdf10012d34c18006aa4910000300e62a..."} 
[2026-08-28 02:24:54] local.INFO: Processing buffer {"connection_id":163209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044fcdf10012d34c18006aa4910000300e62a..."} 
[2026-08-28 02:24:54] local.INFO: Packet analysis {"connection_id":163209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044fc"} 
[2026-08-28 02:24:54] local.INFO: Extracted packet for processing {"connection_id":163209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044fc"} 
[2026-08-28 02:24:54] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":3,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 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-28 02:24:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457693060352001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:24:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:24:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:24: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-28 02:24:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787863818000,"timestamp_ms":1787863818000,"timestamp_seconds":1787863818,"priority":1,"record_length":96,"hex_timestamp":"000001a044fcdf10"} 
[2026-08-28 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-28 02:24:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 02:24: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-28 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-28 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-28 02:24:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:24:54] local.INFO: Teltonika packet parsed successfully {"connection_id":163209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:24:54] local.INFO: Passing IMEI to GPS processor {"connection_id":163209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:24:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":163209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:24: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-28 02:24:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:24:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:24:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457693060352001,"66":25343,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:24:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:24:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:24:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457693060352001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:24:54] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 02:24:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 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-28 02:24:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:24:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457693060352001,"power":25343,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:24:54] local.INFO: DEBUG: GPS processor result {"connection_id":163209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:24:54] local.INFO: GPS data processed {"connection_id":163209,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:24:54] local.INFO: Acknowledgment sent {"connection_id":163209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:26:47] local.INFO: TCP Data received {"connection_id":163460,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:26:47] local.INFO: Processing buffer {"connection_id":163460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:26:47] local.INFO: IMEI packet received {"connection_id":163460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 02:26:47] local.INFO: IMEI acknowledgment sent {"connection_id":163460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 02:26:52] local.INFO: TCP Data received {"connection_id":163460,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:26:52] local.INFO: Processing buffer {"connection_id":163460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:26:52] local.INFO: IMEI packet received {"connection_id":163460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 02:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":163460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 02:26:53] local.INFO: TCP Data received {"connection_id":163460,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0450176d8012d34c18006aa4910000500e62a..."} 
[2026-08-28 02:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0450176d8012d34c18006aa4910000500e62a..."} 
[2026-08-28 02:26:53] local.INFO: Processing buffer {"connection_id":163460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0450176d8012d34c18006aa4910000500e62a..."} 
[2026-08-28 02:26:53] local.INFO: Packet analysis {"connection_id":163460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04501"} 
[2026-08-28 02:26:53] local.INFO: Extracted packet for processing {"connection_id":163460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04501"} 
[2026-08-28 02:26:53] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":5,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02: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-28 02:26:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457693137408001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:26:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:26:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:26: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-28 02:26:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787864119000,"timestamp_ms":1787864119000,"timestamp_seconds":1787864119,"priority":1,"record_length":96,"hex_timestamp":"000001a0450176d8"} 
[2026-08-28 02: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-28 02:26:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 02:26:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 02: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-28 02: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-28 02:26:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:26:53] local.INFO: Teltonika packet parsed successfully {"connection_id":163460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:26:53] local.INFO: Passing IMEI to GPS processor {"connection_id":163460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:26:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":163460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:26:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 02:26:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:26:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:26:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457693137408001,"66":25321,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:26:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:26:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:26:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457693137408001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:26:53] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 02:26:53] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02:26: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-28 02:26:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:26:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457693137408001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:26:53] 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":706138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:26:53] local.INFO: GPS data processed {"connection_id":163460,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:26:53] local.INFO: Acknowledgment sent {"connection_id":163460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:27:32] local.INFO: TCP Data received {"connection_id":164470,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:27:32] local.INFO: Processing buffer {"connection_id":164470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:27:32] local.INFO: IMEI packet received {"connection_id":164470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 02:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":164470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 02:27:37] local.INFO: TCP Data received {"connection_id":164470,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:27:37] local.INFO: Processing buffer {"connection_id":164470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:27:37] local.INFO: IMEI packet received {"connection_id":164470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 02:27:37] local.INFO: IMEI acknowledgment sent {"connection_id":164470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 02:27:38] local.INFO: TCP Data received {"connection_id":164470,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0450176d8012d34c18006aa4910000500e62a..."} 
[2026-08-28 02:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0450176d8012d34c18006aa4910000500e62a..."} 
[2026-08-28 02:27:38] local.INFO: Processing buffer {"connection_id":164470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0450176d8012d34c18006aa4910000500e62a..."} 
[2026-08-28 02:27:38] local.INFO: Packet analysis {"connection_id":164470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04501"} 
[2026-08-28 02:27:38] local.INFO: Extracted packet for processing {"connection_id":164470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04501"} 
[2026-08-28 02:27:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":5,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 02:27:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457693137408001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:27:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:27:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:27: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-28 02:27:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787864119000,"timestamp_ms":1787864119000,"timestamp_seconds":1787864119,"priority":1,"record_length":96,"hex_timestamp":"000001a0450176d8"} 
[2026-08-28 02:27:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 02:27:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 02:27:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 02:27:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 02:27:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 02:27:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:27:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:27:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:27:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:27:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 02:27:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:27:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:27:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457693137408001,"66":25321,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:27:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:27:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:27:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457693137408001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:27:38] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 02:27:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02:27: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-28 02:27:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:27:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457693137408001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:27:38] local.INFO: DEBUG: GPS processor result {"connection_id":164470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:27:38] local.INFO: GPS data processed {"connection_id":164470,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:27:38] local.INFO: Acknowledgment sent {"connection_id":164470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:28:10] local.INFO: TCP Data received {"connection_id":164470,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0450176d8012d34c18006aa4910000500e62a..."} 
[2026-08-28 02:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0450176d8012d34c18006aa4910000500e62a..."} 
[2026-08-28 02:28:10] local.INFO: Processing buffer {"connection_id":164470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0450176d8012d34c18006aa4910000500e62a..."} 
[2026-08-28 02:28:10] local.INFO: Packet analysis {"connection_id":164470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04501"} 
[2026-08-28 02:28:10] local.INFO: Extracted packet for processing {"connection_id":164470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04501"} 
[2026-08-28 02:28:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":5,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 02:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457693137408001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:28:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:28:10] 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-28 02:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787864119000,"timestamp_ms":1787864119000,"timestamp_seconds":1787864119,"priority":1,"record_length":96,"hex_timestamp":"000001a0450176d8"} 
[2026-08-28 02:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 02:28:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 02:28:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 02:28:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 02:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 02:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":164470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":164470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":164470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:28:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 02:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457693137408001,"66":25321,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457693137408001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:28:10] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 02:28:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 02:28:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457693137408001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":164470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:28:10] local.INFO: GPS data processed {"connection_id":164470,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:28:10] local.INFO: Acknowledgment sent {"connection_id":164470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:28:37] local.INFO: TCP Data received {"connection_id":163462,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:28:37] local.INFO: Processing buffer {"connection_id":163462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:28:37] local.INFO: IMEI packet received {"connection_id":163462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 02:28:37] local.INFO: IMEI acknowledgment sent {"connection_id":163462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 02:28:42] local.INFO: TCP Data received {"connection_id":163462,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:28:42] local.INFO: Processing buffer {"connection_id":163462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:28:42] local.INFO: IMEI packet received {"connection_id":163462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 02:28:42] local.INFO: IMEI acknowledgment sent {"connection_id":163462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 02:28:43] local.INFO: TCP Data received {"connection_id":163462,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0450176d8012d34c18006aa4910000500e62a..."} 
[2026-08-28 02:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0450176d8012d34c18006aa4910000500e62a..."} 
[2026-08-28 02:28:43] local.INFO: Processing buffer {"connection_id":163462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0450176d8012d34c18006aa4910000500e62a..."} 
[2026-08-28 02:28:43] local.INFO: Packet analysis {"connection_id":163462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04501"} 
[2026-08-28 02:28:43] local.INFO: Extracted packet for processing {"connection_id":163462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04501"} 
[2026-08-28 02:28:43] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":5,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02: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-28 02:28:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457693137408001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:28:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:28:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:28: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-28 02:28:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787864119000,"timestamp_ms":1787864119000,"timestamp_seconds":1787864119,"priority":1,"record_length":96,"hex_timestamp":"000001a0450176d8"} 
[2026-08-28 02: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-28 02:28:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 02:28: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-28 02: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-28 02: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-28 02:28:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:28:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:28:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:28:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02: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-28 02:28:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:28:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:28:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457693137408001,"66":25321,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:28:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:28:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:28:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457693137408001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:28:43] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 02:28:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02: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-28 02:28:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:28:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457693137408001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:28:43] 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":706141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:28:43] local.INFO: GPS data processed {"connection_id":163462,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:28:43] local.INFO: Acknowledgment sent {"connection_id":163462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:28:48] local.INFO: TCP Data received {"connection_id":163462,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0450176d8012d34c18006aa4910000500e62a..."} 
[2026-08-28 02:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0450176d8012d34c18006aa4910000500e62a..."} 
[2026-08-28 02:28:48] local.INFO: Processing buffer {"connection_id":163462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0450176d8012d34c18006aa4910000500e62a..."} 
[2026-08-28 02:28:48] local.INFO: Packet analysis {"connection_id":163462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04501"} 
[2026-08-28 02:28:48] local.INFO: Extracted packet for processing {"connection_id":163462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04501"} 
[2026-08-28 02:28:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":5,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02: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-28 02:28:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457693137408001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:28:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:28:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:28: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-28 02:28:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787864119000,"timestamp_ms":1787864119000,"timestamp_seconds":1787864119,"priority":1,"record_length":96,"hex_timestamp":"000001a0450176d8"} 
[2026-08-28 02: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-28 02:28:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 02:28: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-28 02: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-28 02: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-28 02:28:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:28:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:28:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:28:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:28: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-28 02:28:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:28:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:28:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457693137408001,"66":25321,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:28:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:28:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:28:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457693137408001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:28:48] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 02:28:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02: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-28 02:28:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:28:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457693137408001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:28:48] 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":706142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:28:48] local.INFO: GPS data processed {"connection_id":163462,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:28:48] local.INFO: Acknowledgment sent {"connection_id":163462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:29:32] local.INFO: TCP Data received {"connection_id":163463,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:29:32] local.INFO: Processing buffer {"connection_id":163463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:29:32] local.INFO: IMEI packet received {"connection_id":163463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 02:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":163463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 02:29:37] local.INFO: TCP Data received {"connection_id":163463,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:29:37] local.INFO: Processing buffer {"connection_id":163463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:29:37] local.INFO: IMEI packet received {"connection_id":163463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 02:29:37] local.INFO: IMEI acknowledgment sent {"connection_id":163463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 02:29:38] local.INFO: TCP Data received {"connection_id":163463,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0450176d8012d34c18006aa4910000500e62a..."} 
[2026-08-28 02:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0450176d8012d34c18006aa4910000500e62a..."} 
[2026-08-28 02:29:38] local.INFO: Processing buffer {"connection_id":163463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0450176d8012d34c18006aa4910000500e62a..."} 
[2026-08-28 02:29:38] local.INFO: Packet analysis {"connection_id":163463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04501"} 
[2026-08-28 02:29:38] local.INFO: Extracted packet for processing {"connection_id":163463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04501"} 
[2026-08-28 02:29:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":5,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 02:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457693137408001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:29:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:29: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-28 02:29:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787864119000,"timestamp_ms":1787864119000,"timestamp_seconds":1787864119,"priority":1,"record_length":96,"hex_timestamp":"000001a0450176d8"} 
[2026-08-28 02:29:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 02:29:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 02:29:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 02:29:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 02:29:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 02:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:29:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:29:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:29:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:29:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 02:29:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:29:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:29:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457693137408001,"66":25321,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:29:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:29:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:29:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457693137408001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:29:38] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 02:29:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02:29: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-28 02:29:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:29:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457693137408001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:29:38] 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":706143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:29:38] local.INFO: GPS data processed {"connection_id":163463,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:29:38] local.INFO: Acknowledgment sent {"connection_id":163463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:30:10] local.INFO: TCP Data received {"connection_id":163463,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0450176d8012d34c18006aa4910000500e62a..."} 
[2026-08-28 02:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0450176d8012d34c18006aa4910000500e62a..."} 
[2026-08-28 02:30:10] local.INFO: Processing buffer {"connection_id":163463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0450176d8012d34c18006aa4910000500e62a..."} 
[2026-08-28 02:30:10] local.INFO: Packet analysis {"connection_id":163463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04501"} 
[2026-08-28 02:30:10] local.INFO: Extracted packet for processing {"connection_id":163463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04501"} 
[2026-08-28 02:30:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":5,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 02:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457693137408001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:30:10] 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-28 02:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787864119000,"timestamp_ms":1787864119000,"timestamp_seconds":1787864119,"priority":1,"record_length":96,"hex_timestamp":"000001a0450176d8"} 
[2026-08-28 02:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 02:30:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 02:30:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 02:30:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 02:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 02:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:30:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 02:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457693137408001,"66":25321,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457693137408001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:30:10] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 02:30:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 02:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457693137408001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:30:10] 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":706144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:30:10] local.INFO: GPS data processed {"connection_id":163463,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:30:10] local.INFO: Acknowledgment sent {"connection_id":163463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:30:13] local.INFO: TCP Data received {"connection_id":163461,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 02:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163461,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 02:30:13] local.INFO: Processing buffer {"connection_id":163461,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 02:30:13] local.INFO: IMEI packet received {"connection_id":163461,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 02:30:13] local.INFO: IMEI acknowledgment sent {"connection_id":163461,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 02:30:32] local.INFO: TCP Data received {"connection_id":165817,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:30:32] local.INFO: Processing buffer {"connection_id":165817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:30:32] local.INFO: IMEI packet received {"connection_id":165817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 02:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":165817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 02:30:37] local.INFO: TCP Data received {"connection_id":165817,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:30:37] local.INFO: Processing buffer {"connection_id":165817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:30:37] local.INFO: IMEI packet received {"connection_id":165817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 02:30:37] local.INFO: IMEI acknowledgment sent {"connection_id":165817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 02:30:38] local.INFO: TCP Data received {"connection_id":165817,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0450176d8012d34c18006aa4910000500e62a..."} 
[2026-08-28 02:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0450176d8012d34c18006aa4910000500e62a..."} 
[2026-08-28 02:30:38] local.INFO: Processing buffer {"connection_id":165817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0450176d8012d34c18006aa4910000500e62a..."} 
[2026-08-28 02:30:38] local.INFO: Packet analysis {"connection_id":165817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04501"} 
[2026-08-28 02:30:38] local.INFO: Extracted packet for processing {"connection_id":165817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04501"} 
[2026-08-28 02:30:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":5,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 02:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457693137408001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:30: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-28 02:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787864119000,"timestamp_ms":1787864119000,"timestamp_seconds":1787864119,"priority":1,"record_length":96,"hex_timestamp":"000001a0450176d8"} 
[2026-08-28 02:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 02:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 02:30:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 02:30:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 02:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 02:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":165817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":165817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":165817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 02:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457693137408001,"66":25321,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457693137408001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:30:38] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 02:30:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02:30: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-28 02:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457693137408001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":165817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:30:38] local.INFO: GPS data processed {"connection_id":165817,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:30:38] local.INFO: Acknowledgment sent {"connection_id":165817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:31:09] local.INFO: TCP Data received {"connection_id":165817,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0450176d8012d34c18006aa4910000500e62a..."} 
[2026-08-28 02:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0450176d8012d34c18006aa4910000500e62a..."} 
[2026-08-28 02:31:10] local.INFO: Processing buffer {"connection_id":165817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0450176d8012d34c18006aa4910000500e62a..."} 
[2026-08-28 02:31:10] local.INFO: Packet analysis {"connection_id":165817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04501"} 
[2026-08-28 02:31:10] local.INFO: Extracted packet for processing {"connection_id":165817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04501"} 
[2026-08-28 02:31:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":5,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 02:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457693137408001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:31:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:31:10] 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-28 02:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787864119000,"timestamp_ms":1787864119000,"timestamp_seconds":1787864119,"priority":1,"record_length":96,"hex_timestamp":"000001a0450176d8"} 
[2026-08-28 02:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 02:31:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 02:31:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 02:31:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 02:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 02:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":165817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":165817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":165817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:31:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 02:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457693137408001,"66":25321,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457693137408001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:31:10] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 02:31:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 02:31:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457693137408001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":165817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:31:10] local.INFO: GPS data processed {"connection_id":165817,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:31:10] local.INFO: Acknowledgment sent {"connection_id":165817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:31:32] local.INFO: TCP Data received {"connection_id":164471,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:31:32] local.INFO: Processing buffer {"connection_id":164471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:31:32] local.INFO: IMEI packet received {"connection_id":164471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 02:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":164471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 02:31:33] local.INFO: TCP Data received {"connection_id":164471,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:31:33] local.INFO: Processing buffer {"connection_id":164471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:31:33] local.INFO: IMEI packet received {"connection_id":164471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 02:31:33] local.INFO: IMEI acknowledgment sent {"connection_id":164471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 02:31:37] local.INFO: TCP Data received {"connection_id":164471,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:31:37] local.INFO: Processing buffer {"connection_id":164471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:31:37] local.INFO: IMEI packet received {"connection_id":164471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 02:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":164471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 02:31:38] local.INFO: TCP Data received {"connection_id":164471,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a045069758012d34c18006aa4910000900e629..."} 
[2026-08-28 02:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045069758012d34c18006aa4910000900e629..."} 
[2026-08-28 02:31:38] local.INFO: Processing buffer {"connection_id":164471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045069758012d34c18006aa4910000900e629..."} 
[2026-08-28 02:31:38] local.INFO: Packet analysis {"connection_id":164471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04506"} 
[2026-08-28 02:31:38] local.INFO: Extracted packet for processing {"connection_id":164471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04506"} 
[2026-08-28 02:31:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 02:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457693214464001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 02:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787864455000,"timestamp_ms":1787864455000,"timestamp_seconds":1787864455,"priority":1,"record_length":96,"hex_timestamp":"000001a045069758"} 
[2026-08-28 02:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 02:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 02:31:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 02:31:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 02:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 02:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 02:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457693214464001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457693214464001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:31:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 02:31:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02:31: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-28 02:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457693214464001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":164471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:31:38] local.INFO: GPS data processed {"connection_id":164471,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:31:38] local.INFO: Acknowledgment sent {"connection_id":164471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:32:10] local.INFO: TCP Data received {"connection_id":164471,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a045069758012d34c18006aa4910000900e629..."} 
[2026-08-28 02:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045069758012d34c18006aa4910000900e629..."} 
[2026-08-28 02:32:10] local.INFO: Processing buffer {"connection_id":164471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045069758012d34c18006aa4910000900e629..."} 
[2026-08-28 02:32:10] local.INFO: Packet analysis {"connection_id":164471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04506"} 
[2026-08-28 02:32:10] local.INFO: Extracted packet for processing {"connection_id":164471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04506"} 
[2026-08-28 02:32:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 02:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457693214464001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 02:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787864455000,"timestamp_ms":1787864455000,"timestamp_seconds":1787864455,"priority":1,"record_length":96,"hex_timestamp":"000001a045069758"} 
[2026-08-28 02:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 02:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 02:32:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 02:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 02:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 02:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":164471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":164471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":164471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 02:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457693214464001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457693214464001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:32:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 02:32:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 02:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457693214464001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":164471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:32:10] local.INFO: GPS data processed {"connection_id":164471,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:32:10] local.INFO: Acknowledgment sent {"connection_id":164471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:32:37] local.INFO: TCP Data received {"connection_id":163210,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:32:37] local.INFO: Processing buffer {"connection_id":163210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:32:37] local.INFO: IMEI packet received {"connection_id":163210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 02:32:37] local.INFO: IMEI acknowledgment sent {"connection_id":163210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 02:32:42] local.INFO: TCP Data received {"connection_id":163210,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:32:42] local.INFO: Processing buffer {"connection_id":163210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:32:42] local.INFO: IMEI packet received {"connection_id":163210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 02:32:42] local.INFO: IMEI acknowledgment sent {"connection_id":163210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 02:32:43] local.INFO: TCP Data received {"connection_id":163210,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a045069758012d34c18006aa4910000900e629..."} 
[2026-08-28 02:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045069758012d34c18006aa4910000900e629..."} 
[2026-08-28 02:32:43] local.INFO: Processing buffer {"connection_id":163210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045069758012d34c18006aa4910000900e629..."} 
[2026-08-28 02:32:43] local.INFO: Packet analysis {"connection_id":163210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04506"} 
[2026-08-28 02:32:43] local.INFO: Extracted packet for processing {"connection_id":163210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04506"} 
[2026-08-28 02:32:43] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02: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-28 02:32:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457693214464001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:32:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:32:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02: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-28 02:32:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787864455000,"timestamp_ms":1787864455000,"timestamp_seconds":1787864455,"priority":1,"record_length":96,"hex_timestamp":"000001a045069758"} 
[2026-08-28 02: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-28 02:32:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 02:32: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-28 02: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-28 02: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-28 02:32:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:32:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:32:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:32:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:32: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-28 02:32:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:32:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:32:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457693214464001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:32:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:32:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:32:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457693214464001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:32:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 02:32:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02: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-28 02:32:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:32:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457693214464001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:32:43] local.INFO: DEBUG: GPS processor result {"connection_id":163210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:32:43] local.INFO: GPS data processed {"connection_id":163210,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:32:43] local.INFO: Acknowledgment sent {"connection_id":163210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:32:47] local.INFO: TCP Data received {"connection_id":163210,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a045069758012d34c18006aa4910000900e629..."} 
[2026-08-28 02:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045069758012d34c18006aa4910000900e629..."} 
[2026-08-28 02:32:47] local.INFO: Processing buffer {"connection_id":163210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045069758012d34c18006aa4910000900e629..."} 
[2026-08-28 02:32:47] local.INFO: Packet analysis {"connection_id":163210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04506"} 
[2026-08-28 02:32:47] local.INFO: Extracted packet for processing {"connection_id":163210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04506"} 
[2026-08-28 02:32:47] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02: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-28 02:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457693214464001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:32:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02: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-28 02:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787864455000,"timestamp_ms":1787864455000,"timestamp_seconds":1787864455,"priority":1,"record_length":96,"hex_timestamp":"000001a045069758"} 
[2026-08-28 02: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-28 02:32:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 02:32: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-28 02: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-28 02: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-28 02:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:32: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-28 02:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457693214464001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457693214464001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:32:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 02:32:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02: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-28 02:32:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457693214464001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":163210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:32:47] local.INFO: GPS data processed {"connection_id":163210,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:32:47] local.INFO: Acknowledgment sent {"connection_id":163210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:33:32] local.INFO: TCP Data received {"connection_id":164473,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:33:32] local.INFO: Processing buffer {"connection_id":164473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:33:32] local.INFO: IMEI packet received {"connection_id":164473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 02:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":164473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 02:33:37] local.INFO: TCP Data received {"connection_id":164473,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:33:37] local.INFO: Processing buffer {"connection_id":164473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:33:37] local.INFO: IMEI packet received {"connection_id":164473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 02:33:37] local.INFO: IMEI acknowledgment sent {"connection_id":164473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 02:33:38] local.INFO: TCP Data received {"connection_id":164473,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a045069758012d34c18006aa4910000900e629..."} 
[2026-08-28 02:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045069758012d34c18006aa4910000900e629..."} 
[2026-08-28 02:33:38] local.INFO: Processing buffer {"connection_id":164473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045069758012d34c18006aa4910000900e629..."} 
[2026-08-28 02:33:38] local.INFO: Packet analysis {"connection_id":164473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04506"} 
[2026-08-28 02:33:38] local.INFO: Extracted packet for processing {"connection_id":164473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04506"} 
[2026-08-28 02:33:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 02:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457693214464001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:33:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 02:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787864455000,"timestamp_ms":1787864455000,"timestamp_seconds":1787864455,"priority":1,"record_length":96,"hex_timestamp":"000001a045069758"} 
[2026-08-28 02:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 02:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 02:33:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 02:33:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 02:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 02:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 02:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457693214464001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457693214464001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:33:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 02:33:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02:33: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-28 02:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457693214464001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":164473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:33:38] local.INFO: GPS data processed {"connection_id":164473,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:33:38] local.INFO: Acknowledgment sent {"connection_id":164473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:34:09] local.INFO: TCP Data received {"connection_id":164473,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a045069758012d34c18006aa4910000900e629..."} 
[2026-08-28 02:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045069758012d34c18006aa4910000900e629..."} 
[2026-08-28 02:34:09] local.INFO: Processing buffer {"connection_id":164473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045069758012d34c18006aa4910000900e629..."} 
[2026-08-28 02:34:09] local.INFO: Packet analysis {"connection_id":164473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04506"} 
[2026-08-28 02:34:09] local.INFO: Extracted packet for processing {"connection_id":164473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04506"} 
[2026-08-28 02:34:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 02:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457693214464001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:34:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 02:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787864455000,"timestamp_ms":1787864455000,"timestamp_seconds":1787864455,"priority":1,"record_length":96,"hex_timestamp":"000001a045069758"} 
[2026-08-28 02:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 02:34:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 02:34:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 02:34:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 02:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 02:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:34:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 02:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457693214464001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457693214464001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:34:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 02:34:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02:34: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-28 02:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457693214464001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":164473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:34:09] local.INFO: GPS data processed {"connection_id":164473,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:34:09] local.INFO: Acknowledgment sent {"connection_id":164473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:34:32] local.INFO: TCP Data received {"connection_id":163211,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:34:32] local.INFO: Processing buffer {"connection_id":163211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:34:32] local.INFO: IMEI packet received {"connection_id":163211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 02:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":163211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 02:34:37] local.INFO: TCP Data received {"connection_id":163211,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:34:37] local.INFO: Processing buffer {"connection_id":163211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:34:37] local.INFO: IMEI packet received {"connection_id":163211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 02:34:37] local.INFO: IMEI acknowledgment sent {"connection_id":163211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 02:34:38] local.INFO: TCP Data received {"connection_id":163211,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a045069758012d34c18006aa4910000900e629..."} 
[2026-08-28 02:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045069758012d34c18006aa4910000900e629..."} 
[2026-08-28 02:34:38] local.INFO: Processing buffer {"connection_id":163211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045069758012d34c18006aa4910000900e629..."} 
[2026-08-28 02:34:38] local.INFO: Packet analysis {"connection_id":163211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04506"} 
[2026-08-28 02:34:38] local.INFO: Extracted packet for processing {"connection_id":163211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04506"} 
[2026-08-28 02:34:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 02:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457693214464001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:34:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 02:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787864455000,"timestamp_ms":1787864455000,"timestamp_seconds":1787864455,"priority":1,"record_length":96,"hex_timestamp":"000001a045069758"} 
[2026-08-28 02:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 02:34:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 02:34:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 02:34:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 02:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 02:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:34:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 02:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457693214464001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457693214464001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:34:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 02:34:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02:34: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-28 02:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457693214464001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":163211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:34:38] local.INFO: GPS data processed {"connection_id":163211,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:34:38] local.INFO: Acknowledgment sent {"connection_id":163211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:35:09] local.INFO: TCP Data received {"connection_id":163211,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a045069758012d34c18006aa4910000900e629..."} 
[2026-08-28 02:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045069758012d34c18006aa4910000900e629..."} 
[2026-08-28 02:35:09] local.INFO: Processing buffer {"connection_id":163211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045069758012d34c18006aa4910000900e629..."} 
[2026-08-28 02:35:09] local.INFO: Packet analysis {"connection_id":163211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04506"} 
[2026-08-28 02:35:09] local.INFO: Extracted packet for processing {"connection_id":163211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04506"} 
[2026-08-28 02:35:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 02:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457693214464001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:35:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 02:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787864455000,"timestamp_ms":1787864455000,"timestamp_seconds":1787864455,"priority":1,"record_length":96,"hex_timestamp":"000001a045069758"} 
[2026-08-28 02:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 02:35:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 02:35:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 02:35:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 02:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 02:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:35:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 02:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457693214464001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457693214464001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:35:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 02:35:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02:35: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-28 02:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457693214464001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":163211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:35:09] local.INFO: GPS data processed {"connection_id":163211,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:35:09] local.INFO: Acknowledgment sent {"connection_id":163211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:35:32] local.INFO: TCP Data received {"connection_id":165818,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:35:32] local.INFO: Processing buffer {"connection_id":165818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:35:32] local.INFO: IMEI packet received {"connection_id":165818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 02:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":165818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 02:35:37] local.INFO: TCP Data received {"connection_id":165818,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:35:37] local.INFO: Processing buffer {"connection_id":165818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:35:37] local.INFO: IMEI packet received {"connection_id":165818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 02:35:37] local.INFO: IMEI acknowledgment sent {"connection_id":165818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 02:35:38] local.INFO: TCP Data received {"connection_id":165818,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a045069758012d34c18006aa4910000900e629..."} 
[2026-08-28 02:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045069758012d34c18006aa4910000900e629..."} 
[2026-08-28 02:35:38] local.INFO: Processing buffer {"connection_id":165818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045069758012d34c18006aa4910000900e629..."} 
[2026-08-28 02:35:38] local.INFO: Packet analysis {"connection_id":165818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04506"} 
[2026-08-28 02:35:38] local.INFO: Extracted packet for processing {"connection_id":165818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04506"} 
[2026-08-28 02:35:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 02:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457693214464001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:35:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 02:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787864455000,"timestamp_ms":1787864455000,"timestamp_seconds":1787864455,"priority":1,"record_length":96,"hex_timestamp":"000001a045069758"} 
[2026-08-28 02:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 02:35:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 02:35:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 02:35:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 02:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 02:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":165818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":165818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":165818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:35:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 02:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457693214464001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457693214464001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:35:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 02:35:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02:35: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-28 02:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457693214464001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":165818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:35:38] local.INFO: GPS data processed {"connection_id":165818,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:35:38] local.INFO: Acknowledgment sent {"connection_id":165818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:35:48] local.INFO: TCP Data received {"connection_id":164472,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 02:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164472,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 02:35:48] local.INFO: Processing buffer {"connection_id":164472,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 02:35:48] local.INFO: IMEI packet received {"connection_id":164472,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 02:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":164472,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 02:36:09] local.INFO: TCP Data received {"connection_id":165818,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a045069758012d34c18006aa4910000900e629..."} 
[2026-08-28 02:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045069758012d34c18006aa4910000900e629..."} 
[2026-08-28 02:36:09] local.INFO: Processing buffer {"connection_id":165818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045069758012d34c18006aa4910000900e629..."} 
[2026-08-28 02:36:09] local.INFO: Packet analysis {"connection_id":165818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04506"} 
[2026-08-28 02:36:09] local.INFO: Extracted packet for processing {"connection_id":165818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04506"} 
[2026-08-28 02:36:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 02:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457693214464001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:36:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 02:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787864455000,"timestamp_ms":1787864455000,"timestamp_seconds":1787864455,"priority":1,"record_length":96,"hex_timestamp":"000001a045069758"} 
[2026-08-28 02:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 02:36:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 02:36:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 02:36:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 02:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 02:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":165818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":165818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":165818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:36:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 02:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457693214464001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457693214464001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:36:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 02:36:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02:36: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-28 02:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457693214464001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":165818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:36:09] local.INFO: GPS data processed {"connection_id":165818,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:36:09] local.INFO: Acknowledgment sent {"connection_id":165818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:36:32] local.INFO: TCP Data received {"connection_id":163212,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:36:32] local.INFO: Processing buffer {"connection_id":163212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:36:32] local.INFO: IMEI packet received {"connection_id":163212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 02:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":163212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 02:36:34] local.INFO: TCP Data received {"connection_id":163212,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:36:34] local.INFO: Processing buffer {"connection_id":163212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:36:34] local.INFO: IMEI packet received {"connection_id":163212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 02:36:34] local.INFO: IMEI acknowledgment sent {"connection_id":163212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 02:36:37] local.INFO: TCP Data received {"connection_id":163212,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:36:37] local.INFO: Processing buffer {"connection_id":163212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:36:37] local.INFO: IMEI packet received {"connection_id":163212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 02:36:37] local.INFO: IMEI acknowledgment sent {"connection_id":163212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 02:36:38] local.INFO: TCP Data received {"connection_id":163212,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0450b2f20012d34c18006aa4910000400e62d..."} 
[2026-08-28 02:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0450b2f20012d34c18006aa4910000400e62d..."} 
[2026-08-28 02:36:38] local.INFO: Processing buffer {"connection_id":163212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0450b2f20012d34c18006aa4910000400e62d..."} 
[2026-08-28 02:36:38] local.INFO: Packet analysis {"connection_id":163212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0450b"} 
[2026-08-28 02:36:38] local.INFO: Extracted packet for processing {"connection_id":163212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0450b"} 
[2026-08-28 02:36:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 02:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457693300480001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:36:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 02:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787864756000,"timestamp_ms":1787864756000,"timestamp_seconds":1787864756,"priority":1,"record_length":96,"hex_timestamp":"000001a0450b2f20"} 
[2026-08-28 02:36:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 02:36:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 02:36:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 02:36:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 02:36:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 02:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:36:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 02:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457693300480001,"66":25223,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457693300480001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:36:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 02:36:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02:36: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-28 02:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457693300480001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:36:38] local.INFO: DEBUG: GPS processor result {"connection_id":163212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:36:38] local.INFO: GPS data processed {"connection_id":163212,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:36:38] local.INFO: Acknowledgment sent {"connection_id":163212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:37:10] local.INFO: TCP Data received {"connection_id":163212,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0450b2f20012d34c18006aa4910000400e62d..."} 
[2026-08-28 02:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0450b2f20012d34c18006aa4910000400e62d..."} 
[2026-08-28 02:37:10] local.INFO: Processing buffer {"connection_id":163212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0450b2f20012d34c18006aa4910000400e62d..."} 
[2026-08-28 02:37:10] local.INFO: Packet analysis {"connection_id":163212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0450b"} 
[2026-08-28 02:37:10] local.INFO: Extracted packet for processing {"connection_id":163212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0450b"} 
[2026-08-28 02:37:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 02:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457693300480001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:37:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:37:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 02:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787864756000,"timestamp_ms":1787864756000,"timestamp_seconds":1787864756,"priority":1,"record_length":96,"hex_timestamp":"000001a0450b2f20"} 
[2026-08-28 02:37:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 02:37:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 02:37:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 02:37:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 02:37:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 02:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:37:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 02:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457693300480001,"66":25223,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457693300480001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:37:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 02:37:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 02:37:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457693300480001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":163212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:37:10] local.INFO: GPS data processed {"connection_id":163212,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:37:10] local.INFO: Acknowledgment sent {"connection_id":163212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:37:37] local.INFO: TCP Data received {"connection_id":163213,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:37:37] local.INFO: Processing buffer {"connection_id":163213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:37:37] local.INFO: IMEI packet received {"connection_id":163213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 02:37:37] local.INFO: IMEI acknowledgment sent {"connection_id":163213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 02:37:42] local.INFO: TCP Data received {"connection_id":163213,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:37:42] local.INFO: Processing buffer {"connection_id":163213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:37:42] local.INFO: IMEI packet received {"connection_id":163213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 02:37:42] local.INFO: IMEI acknowledgment sent {"connection_id":163213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 02:37:43] local.INFO: TCP Data received {"connection_id":163213,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0450b2f20012d34c18006aa4910000400e62d..."} 
[2026-08-28 02:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0450b2f20012d34c18006aa4910000400e62d..."} 
[2026-08-28 02:37:43] local.INFO: Processing buffer {"connection_id":163213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0450b2f20012d34c18006aa4910000400e62d..."} 
[2026-08-28 02:37:43] local.INFO: Packet analysis {"connection_id":163213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0450b"} 
[2026-08-28 02:37:43] local.INFO: Extracted packet for processing {"connection_id":163213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0450b"} 
[2026-08-28 02:37:43] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02: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-28 02:37:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457693300480001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:37:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:37:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02: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-28 02:37:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787864756000,"timestamp_ms":1787864756000,"timestamp_seconds":1787864756,"priority":1,"record_length":96,"hex_timestamp":"000001a0450b2f20"} 
[2026-08-28 02: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-28 02:37:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 02:37: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-28 02: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-28 02: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-28 02:37:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:37:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:37:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:37:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:37: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-28 02:37:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:37:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:37:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457693300480001,"66":25223,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:37:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:37:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:37:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457693300480001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:37:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 02:37:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02: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-28 02:37:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:37:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457693300480001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:37:43] local.INFO: DEBUG: GPS processor result {"connection_id":163213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:37:43] local.INFO: GPS data processed {"connection_id":163213,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:37:43] local.INFO: Acknowledgment sent {"connection_id":163213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:37:47] local.INFO: TCP Data received {"connection_id":163213,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0450b2f20012d34c18006aa4910000400e62d..."} 
[2026-08-28 02:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0450b2f20012d34c18006aa4910000400e62d..."} 
[2026-08-28 02:37:47] local.INFO: Processing buffer {"connection_id":163213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0450b2f20012d34c18006aa4910000400e62d..."} 
[2026-08-28 02:37:47] local.INFO: Packet analysis {"connection_id":163213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0450b"} 
[2026-08-28 02:37:47] local.INFO: Extracted packet for processing {"connection_id":163213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0450b"} 
[2026-08-28 02:37:47] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02: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-28 02:37:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457693300480001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:37:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02: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-28 02:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787864756000,"timestamp_ms":1787864756000,"timestamp_seconds":1787864756,"priority":1,"record_length":96,"hex_timestamp":"000001a0450b2f20"} 
[2026-08-28 02: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-28 02:37:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 02:37: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-28 02: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-28 02: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-28 02:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:37: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-28 02:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457693300480001,"66":25223,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457693300480001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:37:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 02:37:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02: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-28 02:37:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457693300480001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":163213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:37:47] local.INFO: GPS data processed {"connection_id":163213,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:37:47] local.INFO: Acknowledgment sent {"connection_id":163213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:38:32] local.INFO: TCP Data received {"connection_id":163214,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:38:32] local.INFO: Processing buffer {"connection_id":163214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:38:32] local.INFO: IMEI packet received {"connection_id":163214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 02:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":163214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 02:38:37] local.INFO: TCP Data received {"connection_id":163214,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:38:37] local.INFO: Processing buffer {"connection_id":163214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:38:37] local.INFO: IMEI packet received {"connection_id":163214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 02:38:37] local.INFO: IMEI acknowledgment sent {"connection_id":163214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 02:38:38] local.INFO: TCP Data received {"connection_id":163214,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0450b2f20012d34c18006aa4910000400e62d..."} 
[2026-08-28 02:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0450b2f20012d34c18006aa4910000400e62d..."} 
[2026-08-28 02:38:38] local.INFO: Processing buffer {"connection_id":163214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0450b2f20012d34c18006aa4910000400e62d..."} 
[2026-08-28 02:38:38] local.INFO: Packet analysis {"connection_id":163214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0450b"} 
[2026-08-28 02:38:38] local.INFO: Extracted packet for processing {"connection_id":163214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0450b"} 
[2026-08-28 02:38:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 02:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457693300480001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:38:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 02:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787864756000,"timestamp_ms":1787864756000,"timestamp_seconds":1787864756,"priority":1,"record_length":96,"hex_timestamp":"000001a0450b2f20"} 
[2026-08-28 02:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 02:38:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 02:38:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 02:38:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 02:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 02:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:38:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 02:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457693300480001,"66":25223,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457693300480001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:38:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 02:38:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02:38: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-28 02:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457693300480001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":163214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:38:38] local.INFO: GPS data processed {"connection_id":163214,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:38:38] local.INFO: Acknowledgment sent {"connection_id":163214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:39:09] local.INFO: TCP Data received {"connection_id":163214,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0450b2f20012d34c18006aa4910000400e62d..."} 
[2026-08-28 02:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0450b2f20012d34c18006aa4910000400e62d..."} 
[2026-08-28 02:39:09] local.INFO: Processing buffer {"connection_id":163214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0450b2f20012d34c18006aa4910000400e62d..."} 
[2026-08-28 02:39:09] local.INFO: Packet analysis {"connection_id":163214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0450b"} 
[2026-08-28 02:39:09] local.INFO: Extracted packet for processing {"connection_id":163214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0450b"} 
[2026-08-28 02:39:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 02:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457693300480001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:39:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:39:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 02:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787864756000,"timestamp_ms":1787864756000,"timestamp_seconds":1787864756,"priority":1,"record_length":96,"hex_timestamp":"000001a0450b2f20"} 
[2026-08-28 02:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 02:39:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 02:39:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 02:39:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 02:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 02:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:39:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 02:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457693300480001,"66":25223,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457693300480001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:39:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 02:39:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02:39: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-28 02:39:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457693300480001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":163214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:39:09] local.INFO: GPS data processed {"connection_id":163214,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:39:09] local.INFO: Acknowledgment sent {"connection_id":163214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:39:32] local.INFO: TCP Data received {"connection_id":165820,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:39:32] local.INFO: Processing buffer {"connection_id":165820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:39:32] local.INFO: IMEI packet received {"connection_id":165820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 02:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":165820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 02:39:37] local.INFO: TCP Data received {"connection_id":165820,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:39:37] local.INFO: Processing buffer {"connection_id":165820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:39:37] local.INFO: IMEI packet received {"connection_id":165820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 02:39:37] local.INFO: IMEI acknowledgment sent {"connection_id":165820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 02:39:38] local.INFO: TCP Data received {"connection_id":165820,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0450b2f20012d34c18006aa4910000400e62d..."} 
[2026-08-28 02:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0450b2f20012d34c18006aa4910000400e62d..."} 
[2026-08-28 02:39:38] local.INFO: Processing buffer {"connection_id":165820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0450b2f20012d34c18006aa4910000400e62d..."} 
[2026-08-28 02:39:38] local.INFO: Packet analysis {"connection_id":165820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0450b"} 
[2026-08-28 02:39:38] local.INFO: Extracted packet for processing {"connection_id":165820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0450b"} 
[2026-08-28 02:39:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 02:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457693300480001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:39:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 02:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787864756000,"timestamp_ms":1787864756000,"timestamp_seconds":1787864756,"priority":1,"record_length":96,"hex_timestamp":"000001a0450b2f20"} 
[2026-08-28 02:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 02:39:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 02:39:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 02:39:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 02:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 02:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":165820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":165820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":165820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:39:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 02:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457693300480001,"66":25223,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457693300480001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:39:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 02:39:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02:39: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-28 02:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457693300480001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":165820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:39:38] local.INFO: GPS data processed {"connection_id":165820,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:39:38] local.INFO: Acknowledgment sent {"connection_id":165820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:40:09] local.INFO: TCP Data received {"connection_id":165820,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0450b2f20012d34c18006aa4910000400e62d..."} 
[2026-08-28 02:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0450b2f20012d34c18006aa4910000400e62d..."} 
[2026-08-28 02:40:09] local.INFO: Processing buffer {"connection_id":165820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0450b2f20012d34c18006aa4910000400e62d..."} 
[2026-08-28 02:40:09] local.INFO: Packet analysis {"connection_id":165820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0450b"} 
[2026-08-28 02:40:09] local.INFO: Extracted packet for processing {"connection_id":165820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0450b"} 
[2026-08-28 02:40:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 02:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457693300480001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:40:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 02:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787864756000,"timestamp_ms":1787864756000,"timestamp_seconds":1787864756,"priority":1,"record_length":96,"hex_timestamp":"000001a0450b2f20"} 
[2026-08-28 02:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 02:40:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 02:40:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 02:40:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 02:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 02:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":165820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":165820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":165820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:40:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 02:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457693300480001,"66":25223,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457693300480001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:40:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 02:40:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02:40: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-28 02:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457693300480001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":165820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:40:09] local.INFO: GPS data processed {"connection_id":165820,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:40:09] local.INFO: Acknowledgment sent {"connection_id":165820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:40:32] local.INFO: TCP Data received {"connection_id":165821,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:40:32] local.INFO: Processing buffer {"connection_id":165821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:40:32] local.INFO: IMEI packet received {"connection_id":165821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 02:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":165821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 02:40:37] local.INFO: TCP Data received {"connection_id":165821,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:40:37] local.INFO: Processing buffer {"connection_id":165821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:40:37] local.INFO: IMEI packet received {"connection_id":165821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 02:40:37] local.INFO: IMEI acknowledgment sent {"connection_id":165821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 02:40:38] local.INFO: TCP Data received {"connection_id":165821,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0450b2f20012d34c18006aa4910000400e62d..."} 
[2026-08-28 02:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0450b2f20012d34c18006aa4910000400e62d..."} 
[2026-08-28 02:40:38] local.INFO: Processing buffer {"connection_id":165821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0450b2f20012d34c18006aa4910000400e62d..."} 
[2026-08-28 02:40:38] local.INFO: Packet analysis {"connection_id":165821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0450b"} 
[2026-08-28 02:40:38] local.INFO: Extracted packet for processing {"connection_id":165821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0450b"} 
[2026-08-28 02:40:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 02:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457693300480001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:40:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 02:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787864756000,"timestamp_ms":1787864756000,"timestamp_seconds":1787864756,"priority":1,"record_length":96,"hex_timestamp":"000001a0450b2f20"} 
[2026-08-28 02:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 02:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 02:40:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 02:40:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 02:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 02:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":165821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":165821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":165821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:40:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 02:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457693300480001,"66":25223,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457693300480001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:40:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 02:40:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02:40: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-28 02:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457693300480001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":165821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:40:38] local.INFO: GPS data processed {"connection_id":165821,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:40:38] local.INFO: Acknowledgment sent {"connection_id":165821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:41:10] local.INFO: TCP Data received {"connection_id":165821,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0450b2f20012d34c18006aa4910000400e62d..."} 
[2026-08-28 02:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0450b2f20012d34c18006aa4910000400e62d..."} 
[2026-08-28 02:41:10] local.INFO: Processing buffer {"connection_id":165821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0450b2f20012d34c18006aa4910000400e62d..."} 
[2026-08-28 02:41:10] local.INFO: Packet analysis {"connection_id":165821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0450b"} 
[2026-08-28 02:41:10] local.INFO: Extracted packet for processing {"connection_id":165821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0450b"} 
[2026-08-28 02:41:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 02:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457693300480001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:41:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:41:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 02:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787864756000,"timestamp_ms":1787864756000,"timestamp_seconds":1787864756,"priority":1,"record_length":96,"hex_timestamp":"000001a0450b2f20"} 
[2026-08-28 02:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 02:41:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 02:41:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 02:41:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 02:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 02:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":165821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":165821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":165821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:41:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 02:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457693300480001,"66":25223,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457693300480001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:41:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 02:41:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 02:41:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457693300480001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":165821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:41:10] local.INFO: GPS data processed {"connection_id":165821,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:41:10] local.INFO: Acknowledgment sent {"connection_id":165821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:41:24] local.INFO: TCP Data received {"connection_id":165822,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 02:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165822,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 02:41:24] local.INFO: Processing buffer {"connection_id":165822,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 02:41:24] local.INFO: IMEI packet received {"connection_id":165822,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 02:41:24] local.INFO: IMEI acknowledgment sent {"connection_id":165822,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 02:41:32] local.INFO: TCP Data received {"connection_id":164474,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:41:32] local.INFO: Processing buffer {"connection_id":164474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:41:32] local.INFO: IMEI packet received {"connection_id":164474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 02:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":164474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 02:41:35] local.INFO: TCP Data received {"connection_id":164474,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:41:35] local.INFO: Processing buffer {"connection_id":164474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:41:35] local.INFO: IMEI packet received {"connection_id":164474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 02:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":164474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 02:41:37] local.INFO: TCP Data received {"connection_id":164474,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:41:37] local.INFO: Processing buffer {"connection_id":164474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:41:37] local.INFO: IMEI packet received {"connection_id":164474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 02:41:37] local.INFO: IMEI acknowledgment sent {"connection_id":164474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 02:41:38] local.INFO: TCP Data received {"connection_id":164474,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0450fc6e8012d34c18006aa4910000500e62a..."} 
[2026-08-28 02:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0450fc6e8012d34c18006aa4910000500e62a..."} 
[2026-08-28 02:41:38] local.INFO: Processing buffer {"connection_id":164474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0450fc6e8012d34c18006aa4910000500e62a..."} 
[2026-08-28 02:41:38] local.INFO: Packet analysis {"connection_id":164474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0450f"} 
[2026-08-28 02:41:38] local.INFO: Extracted packet for processing {"connection_id":164474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0450f"} 
[2026-08-28 02:41:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":5,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 02:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457693377536001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:41:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 02:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787865057000,"timestamp_ms":1787865057000,"timestamp_seconds":1787865057,"priority":1,"record_length":96,"hex_timestamp":"000001a0450fc6e8"} 
[2026-08-28 02:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 02:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 02:41:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 02:41:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 02:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 02:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 02:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457693377536001,"66":25212,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457693377536001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:41:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 02:41:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02:41: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-28 02:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457693377536001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":164474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:41:38] local.INFO: GPS data processed {"connection_id":164474,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:41:38] local.INFO: Acknowledgment sent {"connection_id":164474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:41:42] local.INFO: TCP Data received {"connection_id":164474,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0450fc6e8012d34c18006aa4910000500e62a..."} 
[2026-08-28 02:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0450fc6e8012d34c18006aa4910000500e62a..."} 
[2026-08-28 02:41:42] local.INFO: Processing buffer {"connection_id":164474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0450fc6e8012d34c18006aa4910000500e62a..."} 
[2026-08-28 02:41:42] local.INFO: Packet analysis {"connection_id":164474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0450f"} 
[2026-08-28 02:41:42] local.INFO: Extracted packet for processing {"connection_id":164474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0450f"} 
[2026-08-28 02:41:42] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":5,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02: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-28 02:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457693377536001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:41:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02: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-28 02:41:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787865057000,"timestamp_ms":1787865057000,"timestamp_seconds":1787865057,"priority":1,"record_length":96,"hex_timestamp":"000001a0450fc6e8"} 
[2026-08-28 02: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-28 02:41:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 02:41:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 02: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-28 02: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-28 02:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":164474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":164474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":164474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:41: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-28 02:41:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:41:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:41:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457693377536001,"66":25212,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:41:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:41:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:41:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457693377536001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:41:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 02:41:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02: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-28 02:41:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:41:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457693377536001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:41:43] local.INFO: DEBUG: GPS processor result {"connection_id":164474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:41:43] local.INFO: GPS data processed {"connection_id":164474,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:41:43] local.INFO: Acknowledgment sent {"connection_id":164474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:42:15] local.INFO: TCP Data received {"connection_id":164474,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0450fc6e8012d34c18006aa4910000500e62a..."} 
[2026-08-28 02:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0450fc6e8012d34c18006aa4910000500e62a..."} 
[2026-08-28 02:42:15] local.INFO: Processing buffer {"connection_id":164474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0450fc6e8012d34c18006aa4910000500e62a..."} 
[2026-08-28 02:42:15] local.INFO: Packet analysis {"connection_id":164474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0450f"} 
[2026-08-28 02:42:15] local.INFO: Extracted packet for processing {"connection_id":164474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0450f"} 
[2026-08-28 02:42:15] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":5,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02: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-28 02:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457693377536001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:42:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02: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-28 02:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787865057000,"timestamp_ms":1787865057000,"timestamp_seconds":1787865057,"priority":1,"record_length":96,"hex_timestamp":"000001a0450fc6e8"} 
[2026-08-28 02: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-28 02:42:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02: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":135,"data_length":795,"current_offset":136} 
[2026-08-28 02:42:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 02: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-28 02: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-28 02:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02: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-28 02:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457693377536001,"66":25212,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457693377536001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:42:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 02:42:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02: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-28 02:42:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457693377536001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":164474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:42:15] local.INFO: GPS data processed {"connection_id":164474,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:42:15] local.INFO: Acknowledgment sent {"connection_id":164474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:42:37] local.INFO: TCP Data received {"connection_id":165823,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:42:37] local.INFO: Processing buffer {"connection_id":165823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:42:37] local.INFO: IMEI packet received {"connection_id":165823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 02:42:37] local.INFO: IMEI acknowledgment sent {"connection_id":165823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 02:42:42] local.INFO: TCP Data received {"connection_id":165823,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:42:42] local.INFO: Processing buffer {"connection_id":165823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:42:42] local.INFO: IMEI packet received {"connection_id":165823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 02:42:42] local.INFO: IMEI acknowledgment sent {"connection_id":165823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 02:42:43] local.INFO: TCP Data received {"connection_id":165823,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0450fc6e8012d34c18006aa4910000500e62a..."} 
[2026-08-28 02:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0450fc6e8012d34c18006aa4910000500e62a..."} 
[2026-08-28 02:42:43] local.INFO: Processing buffer {"connection_id":165823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0450fc6e8012d34c18006aa4910000500e62a..."} 
[2026-08-28 02:42:43] local.INFO: Packet analysis {"connection_id":165823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0450f"} 
[2026-08-28 02:42:43] local.INFO: Extracted packet for processing {"connection_id":165823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0450f"} 
[2026-08-28 02:42:43] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":5,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 02:42:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457693377536001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:42:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:42:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:42:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 02:42:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787865057000,"timestamp_ms":1787865057000,"timestamp_seconds":1787865057,"priority":1,"record_length":96,"hex_timestamp":"000001a0450fc6e8"} 
[2026-08-28 02:42:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 02:42:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 02:42:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 02:42:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 02:42:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 02:42:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:42:43] local.INFO: Teltonika packet parsed successfully {"connection_id":165823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:42:43] local.INFO: Passing IMEI to GPS processor {"connection_id":165823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:42:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":165823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:42: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-28 02:42:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:42:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:42:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457693377536001,"66":25212,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:42:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:42:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:42:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457693377536001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:42:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 02:42:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02: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-28 02:42:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:42:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457693377536001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:42:43] local.INFO: DEBUG: GPS processor result {"connection_id":165823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:42:43] local.INFO: GPS data processed {"connection_id":165823,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:42:43] local.INFO: Acknowledgment sent {"connection_id":165823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:42:48] local.INFO: TCP Data received {"connection_id":165823,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0450fc6e8012d34c18006aa4910000500e62a..."} 
[2026-08-28 02:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0450fc6e8012d34c18006aa4910000500e62a..."} 
[2026-08-28 02:42:48] local.INFO: Processing buffer {"connection_id":165823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0450fc6e8012d34c18006aa4910000500e62a..."} 
[2026-08-28 02:42:48] local.INFO: Packet analysis {"connection_id":165823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0450f"} 
[2026-08-28 02:42:48] local.INFO: Extracted packet for processing {"connection_id":165823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0450f"} 
[2026-08-28 02:42:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":5,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 02:42:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457693377536001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:42:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:42:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:42: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-28 02:42:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787865057000,"timestamp_ms":1787865057000,"timestamp_seconds":1787865057,"priority":1,"record_length":96,"hex_timestamp":"000001a0450fc6e8"} 
[2026-08-28 02:42:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 02:42:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 02:42:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 02:42:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 02:42:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 02:42:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:42:48] local.INFO: Teltonika packet parsed successfully {"connection_id":165823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:42:48] local.INFO: Passing IMEI to GPS processor {"connection_id":165823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:42:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":165823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:42: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-28 02:42:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:42:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:42:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457693377536001,"66":25212,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:42:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:42:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:42:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457693377536001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:42:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 02:42:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02:42: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-28 02:42:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:42:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457693377536001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:42:48] local.INFO: DEBUG: GPS processor result {"connection_id":165823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:42:48] local.INFO: GPS data processed {"connection_id":165823,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:42:48] local.INFO: Acknowledgment sent {"connection_id":165823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:43:32] local.INFO: TCP Data received {"connection_id":164475,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:43:32] local.INFO: Processing buffer {"connection_id":164475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:43:32] local.INFO: IMEI packet received {"connection_id":164475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 02:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":164475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 02:43:37] local.INFO: TCP Data received {"connection_id":164475,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:43:37] local.INFO: Processing buffer {"connection_id":164475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:43:37] local.INFO: IMEI packet received {"connection_id":164475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 02:43:37] local.INFO: IMEI acknowledgment sent {"connection_id":164475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 02:43:38] local.INFO: TCP Data received {"connection_id":164475,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0450fc6e8012d34c18006aa4910000500e62a..."} 
[2026-08-28 02:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0450fc6e8012d34c18006aa4910000500e62a..."} 
[2026-08-28 02:43:38] local.INFO: Processing buffer {"connection_id":164475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0450fc6e8012d34c18006aa4910000500e62a..."} 
[2026-08-28 02:43:38] local.INFO: Packet analysis {"connection_id":164475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0450f"} 
[2026-08-28 02:43:38] local.INFO: Extracted packet for processing {"connection_id":164475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0450f"} 
[2026-08-28 02:43:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":5,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 02:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457693377536001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:43:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 02:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787865057000,"timestamp_ms":1787865057000,"timestamp_seconds":1787865057,"priority":1,"record_length":96,"hex_timestamp":"000001a0450fc6e8"} 
[2026-08-28 02:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 02:43:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 02:43:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 02:43:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 02:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 02:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:43:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 02:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457693377536001,"66":25212,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457693377536001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:43:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 02:43:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02:43: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-28 02:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457693377536001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":164475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:43:38] local.INFO: GPS data processed {"connection_id":164475,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:43:38] local.INFO: Acknowledgment sent {"connection_id":164475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:44:10] local.INFO: TCP Data received {"connection_id":164475,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0450fc6e8012d34c18006aa4910000500e62a..."} 
[2026-08-28 02:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0450fc6e8012d34c18006aa4910000500e62a..."} 
[2026-08-28 02:44:10] local.INFO: Processing buffer {"connection_id":164475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0450fc6e8012d34c18006aa4910000500e62a..."} 
[2026-08-28 02:44:10] local.INFO: Packet analysis {"connection_id":164475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0450f"} 
[2026-08-28 02:44:10] local.INFO: Extracted packet for processing {"connection_id":164475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0450f"} 
[2026-08-28 02:44:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":5,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 02:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457693377536001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:44:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:44:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 02:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787865057000,"timestamp_ms":1787865057000,"timestamp_seconds":1787865057,"priority":1,"record_length":96,"hex_timestamp":"000001a0450fc6e8"} 
[2026-08-28 02:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 02:44:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 02:44:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 02:44:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 02:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 02:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":164475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":164475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":164475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:44:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 02:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457693377536001,"66":25212,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457693377536001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:44:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 02:44:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 02:44:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457693377536001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":164475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:44:10] local.INFO: GPS data processed {"connection_id":164475,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:44:10] local.INFO: Acknowledgment sent {"connection_id":164475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:44:32] local.INFO: TCP Data received {"connection_id":164476,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:44:32] local.INFO: Processing buffer {"connection_id":164476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:44:32] local.INFO: IMEI packet received {"connection_id":164476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 02:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":164476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 02:44:37] local.INFO: TCP Data received {"connection_id":164476,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:44:37] local.INFO: Processing buffer {"connection_id":164476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:44:37] local.INFO: IMEI packet received {"connection_id":164476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 02:44:37] local.INFO: IMEI acknowledgment sent {"connection_id":164476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 02:44:38] local.INFO: TCP Data received {"connection_id":164476,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0450fc6e8012d34c18006aa4910000500e62a..."} 
[2026-08-28 02:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0450fc6e8012d34c18006aa4910000500e62a..."} 
[2026-08-28 02:44:38] local.INFO: Processing buffer {"connection_id":164476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0450fc6e8012d34c18006aa4910000500e62a..."} 
[2026-08-28 02:44:38] local.INFO: Packet analysis {"connection_id":164476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0450f"} 
[2026-08-28 02:44:38] local.INFO: Extracted packet for processing {"connection_id":164476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0450f"} 
[2026-08-28 02:44:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":5,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 02:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457693377536001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:44:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 02:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787865057000,"timestamp_ms":1787865057000,"timestamp_seconds":1787865057,"priority":1,"record_length":96,"hex_timestamp":"000001a0450fc6e8"} 
[2026-08-28 02:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 02:44:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 02:44:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 02:44:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 02:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 02:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:44:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 02:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457693377536001,"66":25212,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457693377536001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:44:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 02:44:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02:44: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-28 02:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457693377536001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":164476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:44:38] local.INFO: GPS data processed {"connection_id":164476,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:44:38] local.INFO: Acknowledgment sent {"connection_id":164476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:45:09] local.INFO: TCP Data received {"connection_id":164476,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0450fc6e8012d34c18006aa4910000500e62a..."} 
[2026-08-28 02:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0450fc6e8012d34c18006aa4910000500e62a..."} 
[2026-08-28 02:45:09] local.INFO: Processing buffer {"connection_id":164476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0450fc6e8012d34c18006aa4910000500e62a..."} 
[2026-08-28 02:45:09] local.INFO: Packet analysis {"connection_id":164476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0450f"} 
[2026-08-28 02:45:09] local.INFO: Extracted packet for processing {"connection_id":164476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0450f"} 
[2026-08-28 02:45:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":5,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 02:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457693377536001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:45:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 02:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787865057000,"timestamp_ms":1787865057000,"timestamp_seconds":1787865057,"priority":1,"record_length":96,"hex_timestamp":"000001a0450fc6e8"} 
[2026-08-28 02:45:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 02:45:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 02:45:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 02:45:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 02:45:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 02:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:45:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 02:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457693377536001,"66":25212,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457693377536001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:45:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 02:45:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02:45: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-28 02:45:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457693377536001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":164476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:45:09] local.INFO: GPS data processed {"connection_id":164476,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:45:09] local.INFO: Acknowledgment sent {"connection_id":164476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:45:32] local.INFO: TCP Data received {"connection_id":165824,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:45:32] local.INFO: Processing buffer {"connection_id":165824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:45:32] local.INFO: IMEI packet received {"connection_id":165824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 02:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":165824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 02:45:37] local.INFO: TCP Data received {"connection_id":165824,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:45:37] local.INFO: Processing buffer {"connection_id":165824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:45:37] local.INFO: IMEI packet received {"connection_id":165824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 02:45:37] local.INFO: IMEI acknowledgment sent {"connection_id":165824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 02:45:38] local.INFO: TCP Data received {"connection_id":165824,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0450fc6e8012d34c18006aa4910000500e62a..."} 
[2026-08-28 02:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0450fc6e8012d34c18006aa4910000500e62a..."} 
[2026-08-28 02:45:38] local.INFO: Processing buffer {"connection_id":165824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0450fc6e8012d34c18006aa4910000500e62a..."} 
[2026-08-28 02:45:38] local.INFO: Packet analysis {"connection_id":165824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0450f"} 
[2026-08-28 02:45:38] local.INFO: Extracted packet for processing {"connection_id":165824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0450f"} 
[2026-08-28 02:45:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":5,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 02:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457693377536001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 02:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787865057000,"timestamp_ms":1787865057000,"timestamp_seconds":1787865057,"priority":1,"record_length":96,"hex_timestamp":"000001a0450fc6e8"} 
[2026-08-28 02:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 02:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 02:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 02:45:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 02:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 02:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":165824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":165824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":165824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 02:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457693377536001,"66":25212,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457693377536001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:45:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 02:45:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02:45: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-28 02:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457693377536001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":165824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:45:38] local.INFO: GPS data processed {"connection_id":165824,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:45:38] local.INFO: Acknowledgment sent {"connection_id":165824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:46:09] local.INFO: TCP Data received {"connection_id":165824,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0450fc6e8012d34c18006aa4910000500e62a..."} 
[2026-08-28 02:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0450fc6e8012d34c18006aa4910000500e62a..."} 
[2026-08-28 02:46:09] local.INFO: Processing buffer {"connection_id":165824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0450fc6e8012d34c18006aa4910000500e62a..."} 
[2026-08-28 02:46:09] local.INFO: Packet analysis {"connection_id":165824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0450f"} 
[2026-08-28 02:46:09] local.INFO: Extracted packet for processing {"connection_id":165824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0450f"} 
[2026-08-28 02:46:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":5,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 02:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457693377536001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:46:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:46:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 02:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787865057000,"timestamp_ms":1787865057000,"timestamp_seconds":1787865057,"priority":1,"record_length":96,"hex_timestamp":"000001a0450fc6e8"} 
[2026-08-28 02:46:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 02:46:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 02:46:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 02:46:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 02:46:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 02:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":165824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":165824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":165824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:46:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 02:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457693377536001,"66":25212,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457693377536001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:46:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 02:46:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02:46: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-28 02:46:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457693377536001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":165824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:46:09] local.INFO: GPS data processed {"connection_id":165824,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:46:09] local.INFO: Acknowledgment sent {"connection_id":165824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:46:32] local.INFO: TCP Data received {"connection_id":163216,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:46:32] local.INFO: Processing buffer {"connection_id":163216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:46:32] local.INFO: IMEI packet received {"connection_id":163216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 02:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":163216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 02:46:36] local.INFO: TCP Data received {"connection_id":163216,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:46:36] local.INFO: Processing buffer {"connection_id":163216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:46:36] local.INFO: IMEI packet received {"connection_id":163216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 02:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":163216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 02:46:37] local.INFO: TCP Data received {"connection_id":163216,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a045145eb0012d34c18006aa4910000800e62c..."} 
[2026-08-28 02:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045145eb0012d34c18006aa4910000800e62c..."} 
[2026-08-28 02:46:37] local.INFO: Processing buffer {"connection_id":163216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045145eb0012d34c18006aa4910000800e62c..."} 
[2026-08-28 02:46:37] local.INFO: Packet analysis {"connection_id":163216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04514"} 
[2026-08-28 02:46:37] local.INFO: Extracted packet for processing {"connection_id":163216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04514"} 
[2026-08-28 02:46:37] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":8,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 02:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457693454592001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:46:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 02:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:46: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-28 02:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787865358000,"timestamp_ms":1787865358000,"timestamp_seconds":1787865358,"priority":1,"record_length":96,"hex_timestamp":"000001a045145eb0"} 
[2026-08-28 02:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 02:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 02:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 02:46:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 02:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 02:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 02:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457693454592001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457693454592001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:46:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02:46: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-28 02:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457693454592001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":163216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:46:37] local.INFO: GPS data processed {"connection_id":163216,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:46:37] local.INFO: Acknowledgment sent {"connection_id":163216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:46:58] local.INFO: TCP Data received {"connection_id":163215,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 02:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163215,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 02:46:58] local.INFO: Processing buffer {"connection_id":163215,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 02:46:58] local.INFO: IMEI packet received {"connection_id":163215,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 02:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":163215,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 02:47:09] local.INFO: TCP Data received {"connection_id":163216,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a045145eb0012d34c18006aa4910000800e62c..."} 
[2026-08-28 02:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045145eb0012d34c18006aa4910000800e62c..."} 
[2026-08-28 02:47:09] local.INFO: Processing buffer {"connection_id":163216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045145eb0012d34c18006aa4910000800e62c..."} 
[2026-08-28 02:47:09] local.INFO: Packet analysis {"connection_id":163216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04514"} 
[2026-08-28 02:47:09] local.INFO: Extracted packet for processing {"connection_id":163216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04514"} 
[2026-08-28 02:47:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":8,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 02:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457693454592001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:47:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 02:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:47: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-28 02:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787865358000,"timestamp_ms":1787865358000,"timestamp_seconds":1787865358,"priority":1,"record_length":96,"hex_timestamp":"000001a045145eb0"} 
[2026-08-28 02:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 02:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 02:47:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 02:47:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 02:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 02:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:47:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 02:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457693454592001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457693454592001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:47:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02:47: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-28 02:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457693454592001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":163216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:47:09] local.INFO: GPS data processed {"connection_id":163216,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:47:09] local.INFO: Acknowledgment sent {"connection_id":163216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:47:37] local.INFO: TCP Data received {"connection_id":164477,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:47:37] local.INFO: Processing buffer {"connection_id":164477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:47:37] local.INFO: IMEI packet received {"connection_id":164477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 02:47:37] local.INFO: IMEI acknowledgment sent {"connection_id":164477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 02:47:45] local.INFO: TCP Data received {"connection_id":164477,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:47:45] local.INFO: Processing buffer {"connection_id":164477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:47:45] local.INFO: IMEI packet received {"connection_id":164477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 02:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":164477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 02:48:04] local.INFO: TCP Data received {"connection_id":164477,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a045145eb0012d34c18006aa4910000800e62c..."} 
[2026-08-28 02:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045145eb0012d34c18006aa4910000800e62c..."} 
[2026-08-28 02:48:04] local.INFO: Processing buffer {"connection_id":164477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045145eb0012d34c18006aa4910000800e62c..."} 
[2026-08-28 02:48:04] local.INFO: Packet analysis {"connection_id":164477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04514"} 
[2026-08-28 02:48:04] local.INFO: Extracted packet for processing {"connection_id":164477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04514"} 
[2026-08-28 02:48:04] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":8,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 02:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457693454592001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:48:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 02:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:48:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 02:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787865358000,"timestamp_ms":1787865358000,"timestamp_seconds":1787865358,"priority":1,"record_length":96,"hex_timestamp":"000001a045145eb0"} 
[2026-08-28 02:48:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 02:48:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 02:48:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 02:48:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 02:48:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 02:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":164477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":164477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":164477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:48:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 02:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457693454592001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457693454592001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:48:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02:48: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-28 02:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457693454592001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":164477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:48:04] local.INFO: GPS data processed {"connection_id":164477,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:48:04] local.INFO: Acknowledgment sent {"connection_id":164477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:48:25] local.INFO: TCP Data received {"connection_id":164477,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a045145eb0012d34c18006aa4910000800e62c..."} 
[2026-08-28 02:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045145eb0012d34c18006aa4910000800e62c..."} 
[2026-08-28 02:48:25] local.INFO: Processing buffer {"connection_id":164477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045145eb0012d34c18006aa4910000800e62c..."} 
[2026-08-28 02:48:25] local.INFO: Packet analysis {"connection_id":164477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04514"} 
[2026-08-28 02:48:25] local.INFO: Extracted packet for processing {"connection_id":164477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04514"} 
[2026-08-28 02:48:25] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":8,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02:48:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 02:48:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457693454592001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:48:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 02:48:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:48:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:48:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 02:48:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787865358000,"timestamp_ms":1787865358000,"timestamp_seconds":1787865358,"priority":1,"record_length":96,"hex_timestamp":"000001a045145eb0"} 
[2026-08-28 02:48:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 02:48:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02:48:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 02:48:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 02:48:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 02:48:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 02:48:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:48:26] local.INFO: Teltonika packet parsed successfully {"connection_id":164477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:48:26] local.INFO: Passing IMEI to GPS processor {"connection_id":164477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:48:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":164477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:48:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 02:48:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:48:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:48:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457693454592001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:48:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:48:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:48:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457693454592001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:48:26] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02:48:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 02:48:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:48:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457693454592001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:48:26] local.INFO: DEBUG: GPS processor result {"connection_id":164477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:48:26] local.INFO: GPS data processed {"connection_id":164477,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:48:26] local.INFO: Acknowledgment sent {"connection_id":164477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:48:32] local.INFO: TCP Data received {"connection_id":163464,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:48:32] local.INFO: Processing buffer {"connection_id":163464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:48:32] local.INFO: IMEI packet received {"connection_id":163464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 02:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":163464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 02:48:37] local.INFO: TCP Data received {"connection_id":163464,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:48:37] local.INFO: Processing buffer {"connection_id":163464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:48:37] local.INFO: IMEI packet received {"connection_id":163464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 02:48:37] local.INFO: IMEI acknowledgment sent {"connection_id":163464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 02:48:39] local.INFO: TCP Data received {"connection_id":163464,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a045145eb0012d34c18006aa4910000800e62c..."} 
[2026-08-28 02:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045145eb0012d34c18006aa4910000800e62c..."} 
[2026-08-28 02:48:39] local.INFO: Processing buffer {"connection_id":163464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045145eb0012d34c18006aa4910000800e62c..."} 
[2026-08-28 02:48:39] local.INFO: Packet analysis {"connection_id":163464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04514"} 
[2026-08-28 02:48:39] local.INFO: Extracted packet for processing {"connection_id":163464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04514"} 
[2026-08-28 02:48:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":8,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 02:48:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457693454592001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:48:39] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 02:48:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:48:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:48:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 02:48:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787865358000,"timestamp_ms":1787865358000,"timestamp_seconds":1787865358,"priority":1,"record_length":96,"hex_timestamp":"000001a045145eb0"} 
[2026-08-28 02:48:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 02:48:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 02:48:39] 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-28 02:48:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 02:48:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 02:48:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:48:39] local.INFO: Teltonika packet parsed successfully {"connection_id":163464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:48:39] local.INFO: Passing IMEI to GPS processor {"connection_id":163464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:48:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":163464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:48:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 02:48:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:48:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:48:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457693454592001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:48:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:48:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:48:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457693454592001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:48:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02:48:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 02:48:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:48:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457693454592001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:48:39] 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":706182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:48:39] local.INFO: GPS data processed {"connection_id":163464,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:48:39] local.INFO: Acknowledgment sent {"connection_id":163464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:49:23] local.INFO: TCP Data received {"connection_id":163464,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a045145eb0012d34c18006aa4910000800e62c..."} 
[2026-08-28 02:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045145eb0012d34c18006aa4910000800e62c..."} 
[2026-08-28 02:49:23] local.INFO: Processing buffer {"connection_id":163464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045145eb0012d34c18006aa4910000800e62c..."} 
[2026-08-28 02:49:23] local.INFO: Packet analysis {"connection_id":163464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04514"} 
[2026-08-28 02:49:23] local.INFO: Extracted packet for processing {"connection_id":163464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04514"} 
[2026-08-28 02:49:23] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":8,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 02:49:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457693454592001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:49:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 02:49:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:49:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:49: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-28 02:49:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787865358000,"timestamp_ms":1787865358000,"timestamp_seconds":1787865358,"priority":1,"record_length":96,"hex_timestamp":"000001a045145eb0"} 
[2026-08-28 02:49:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 02:49:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 02:49:23] 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-28 02:49:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 02:49:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 02:49:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:49:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:49:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:49:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:49:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 02:49:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:49:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:49:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457693454592001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:49:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:49:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:49:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457693454592001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:49:23] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02:49: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-28 02:49:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:49:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457693454592001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:49:23] 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":706183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:49:23] local.INFO: GPS data processed {"connection_id":163464,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:49:23] local.INFO: Acknowledgment sent {"connection_id":163464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:49:32] local.INFO: TCP Data received {"connection_id":165826,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:49:32] local.INFO: Processing buffer {"connection_id":165826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:49:32] local.INFO: IMEI packet received {"connection_id":165826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 02:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":165826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 02:49:38] local.INFO: TCP Data received {"connection_id":165826,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:49:38] local.INFO: Processing buffer {"connection_id":165826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:49:38] local.INFO: IMEI packet received {"connection_id":165826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 02:49:38] local.INFO: IMEI acknowledgment sent {"connection_id":165826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 02:49:39] local.INFO: TCP Data received {"connection_id":165826,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a045145eb0012d34c18006aa4910000800e62c..."} 
[2026-08-28 02:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045145eb0012d34c18006aa4910000800e62c..."} 
[2026-08-28 02:49:39] local.INFO: Processing buffer {"connection_id":165826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045145eb0012d34c18006aa4910000800e62c..."} 
[2026-08-28 02:49:39] local.INFO: Packet analysis {"connection_id":165826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04514"} 
[2026-08-28 02:49:39] local.INFO: Extracted packet for processing {"connection_id":165826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04514"} 
[2026-08-28 02:49:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":8,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 02:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457693454592001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:49:39] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 02:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:49:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:49:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 02:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787865358000,"timestamp_ms":1787865358000,"timestamp_seconds":1787865358,"priority":1,"record_length":96,"hex_timestamp":"000001a045145eb0"} 
[2026-08-28 02:49:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 02:49:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 02:49:39] 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-28 02:49:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 02:49:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 02:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":165826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":165826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":165826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:49:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 02:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457693454592001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457693454592001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:49:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 02:49:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457693454592001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":165826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:49:39] local.INFO: GPS data processed {"connection_id":165826,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:49:39] local.INFO: Acknowledgment sent {"connection_id":165826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:50:42] local.INFO: TCP Data received {"connection_id":165826,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a045145eb0012d34c18006aa4910000800e62c..."} 
[2026-08-28 02:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045145eb0012d34c18006aa4910000800e62c..."} 
[2026-08-28 02:50:42] local.INFO: Processing buffer {"connection_id":165826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045145eb0012d34c18006aa4910000800e62c..."} 
[2026-08-28 02:50:42] local.INFO: Packet analysis {"connection_id":165826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04514"} 
[2026-08-28 02:50:42] local.INFO: Extracted packet for processing {"connection_id":165826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04514"} 
[2026-08-28 02:50:42] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":8,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02: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-28 02:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457693454592001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:50:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 02:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:50:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:50:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 02:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787865358000,"timestamp_ms":1787865358000,"timestamp_seconds":1787865358,"priority":1,"record_length":96,"hex_timestamp":"000001a045145eb0"} 
[2026-08-28 02: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-28 02:50:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02: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":124,"data_length":795,"current_offset":136} 
[2026-08-28 02:50: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-28 02: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-28 02: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-28 02:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:50: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-28 02:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457693454592001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457693454592001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:50:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02: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-28 02:50:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457693454592001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":165826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:50:42] local.INFO: GPS data processed {"connection_id":165826,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:50:42] local.INFO: Acknowledgment sent {"connection_id":165826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:50:49] local.INFO: TCP Data received {"connection_id":163465,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:50:49] local.INFO: Processing buffer {"connection_id":163465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:50:49] local.INFO: IMEI packet received {"connection_id":163465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 02:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":163465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 02:50:57] local.INFO: TCP Data received {"connection_id":163465,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:50:57] local.INFO: Processing buffer {"connection_id":163465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:50:57] local.INFO: IMEI packet received {"connection_id":163465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 02:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":163465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 02:51:03] local.INFO: TCP Data received {"connection_id":163465,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a045145eb0012d34c18006aa4910000800e62c..."} 
[2026-08-28 02:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045145eb0012d34c18006aa4910000800e62c..."} 
[2026-08-28 02:51:03] local.INFO: Processing buffer {"connection_id":163465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045145eb0012d34c18006aa4910000800e62c..."} 
[2026-08-28 02:51:03] local.INFO: Packet analysis {"connection_id":163465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04514"} 
[2026-08-28 02:51:03] local.INFO: Extracted packet for processing {"connection_id":163465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04514"} 
[2026-08-28 02:51:03] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":8,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 02:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457693454592001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:51:03] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 02:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:51:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 02:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787865358000,"timestamp_ms":1787865358000,"timestamp_seconds":1787865358,"priority":1,"record_length":96,"hex_timestamp":"000001a045145eb0"} 
[2026-08-28 02:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 02:51:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 02:51:03] 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-28 02:51:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 02:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 02:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:51:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 02:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457693454592001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457693454592001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:51:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 02:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457693454592001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:51:03] 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":706186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:51:03] local.INFO: GPS data processed {"connection_id":163465,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:51:03] local.INFO: Acknowledgment sent {"connection_id":163465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:51:39] local.INFO: TCP Data received {"connection_id":163465,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a045145eb0012d34c18006aa4910000800e62c..."} 
[2026-08-28 02:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045145eb0012d34c18006aa4910000800e62c..."} 
[2026-08-28 02:51:39] local.INFO: Processing buffer {"connection_id":163465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045145eb0012d34c18006aa4910000800e62c..."} 
[2026-08-28 02:51:39] local.INFO: Packet analysis {"connection_id":163465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04514"} 
[2026-08-28 02:51:39] local.INFO: Extracted packet for processing {"connection_id":163465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04514"} 
[2026-08-28 02:51:39] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":8,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02:51:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 02:51:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457693454592001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:51:39] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 02:51:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:51:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:51:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 02:51:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787865358000,"timestamp_ms":1787865358000,"timestamp_seconds":1787865358,"priority":1,"record_length":96,"hex_timestamp":"000001a045145eb0"} 
[2026-08-28 02:51:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 02:51:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02:51:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 02:51:39] 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-28 02:51:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 02:51:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 02:51:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:51:39] local.INFO: Teltonika packet parsed successfully {"connection_id":163465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:51:39] local.INFO: Passing IMEI to GPS processor {"connection_id":163465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:51:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":163465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:51:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 02:51:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:51:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:51:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457693454592001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:51:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:51:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:51:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457693454592001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:51:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02:51:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 02:51:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:51:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457693454592001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:51:39] 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":706187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:51:39] local.INFO: GPS data processed {"connection_id":163465,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:51:39] local.INFO: Acknowledgment sent {"connection_id":163465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:51:45] local.INFO: TCP Data received {"connection_id":163466,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:51:45] local.INFO: Processing buffer {"connection_id":163466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:51:45] local.INFO: IMEI packet received {"connection_id":163466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 02:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":163466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 02:52:33] local.INFO: TCP Data received {"connection_id":165825,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 02:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165825,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 02:52:33] local.INFO: Processing buffer {"connection_id":165825,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 02:52:33] local.INFO: IMEI packet received {"connection_id":165825,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 02:52:33] local.INFO: IMEI acknowledgment sent {"connection_id":165825,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 02:53:03] local.INFO: TCP Data received {"connection_id":163467,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 02:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163467,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 02:53:03] local.INFO: Processing buffer {"connection_id":163467,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 02:53:03] local.INFO: IMEI packet received {"connection_id":163467,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 02:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":163467,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 02:53:08] local.INFO: TCP Data received {"connection_id":163467,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 02:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163467,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 02:53:08] local.INFO: Processing buffer {"connection_id":163467,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 02:53:08] local.INFO: IMEI packet received {"connection_id":163467,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 02:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":163467,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 02:53:10] local.INFO: TCP Data received {"connection_id":163467,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a044efa840012d34c14006aa41b8000c00002c..."} 
[2026-08-28 02:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a044efa840012d34c14006aa41b8000c00002c..."} 
[2026-08-28 02:53:10] local.INFO: Processing buffer {"connection_id":163467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a044efa840012d34c14006aa41b8000c00002c..."} 
[2026-08-28 02:53:10] local.INFO: Packet analysis {"connection_id":163467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a044ef"} 
[2026-08-28 02:53:10] local.INFO: Extracted packet for processing {"connection_id":163467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a044ef"} 
[2026-08-28 02:53:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111821240,"longitude_deg":75.8432064,"latitude_deg":11.182124,"altitude":12,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa41b8","is_valid_coordinates":true} 
[2026-08-28 02:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 02:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457692838656001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 02:53:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847824384,"note":"Value kept but may cause issues"} 
[2026-08-28 02:53:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 02:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787862952000,"timestamp_ms":1787862952000,"timestamp_seconds":1787862952,"priority":1,"record_length":96,"hex_timestamp":"000001a044efa840"} 
[2026-08-28 02:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 02:53:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 02:53:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 02:53:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 02:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 02:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163467,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 02:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163467,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 02:53:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 02:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 02:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 02:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457692838656001,"66":25321,"97":206,"81":23296,"24":0,"16":144336670949376,"45":3801389957847824384},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-28 02:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 02:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 02:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457692838656001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:53:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 02:53:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 02:53:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847824384,"description":"Unknown IO ID 45"} 
[2026-08-28 02:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457692838656001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847824384}} 
[2026-08-28 02:53:10] 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":706188,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:53:10] local.INFO: GPS data processed {"connection_id":163467,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:53:10] local.INFO: Acknowledgment sent {"connection_id":163467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 02:53:53] local.INFO: TCP Data received {"connection_id":165827,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 02:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165827,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 02:53:53] local.INFO: Processing buffer {"connection_id":165827,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 02:53:53] local.INFO: IMEI packet received {"connection_id":165827,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 02:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":165827,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 02:54:07] local.INFO: TCP Data received {"connection_id":163466,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:54:07] local.INFO: Processing buffer {"connection_id":163466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:54:07] local.INFO: IMEI packet received {"connection_id":163466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 02:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":163466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 02:54:12] local.INFO: TCP Data received {"connection_id":165828,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:54:12] local.INFO: Processing buffer {"connection_id":165828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:54:12] local.INFO: IMEI packet received {"connection_id":165828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 02:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":165828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 02:54:42] local.INFO: TCP Data received {"connection_id":163217,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:54:42] local.INFO: Processing buffer {"connection_id":163217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:54:42] local.INFO: IMEI packet received {"connection_id":163217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 02:54:42] local.INFO: IMEI acknowledgment sent {"connection_id":163217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 02:59:43] local.INFO: TCP Data received {"connection_id":163470,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 02:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163470,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 02:59:43] local.INFO: Processing buffer {"connection_id":163470,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 02:59:43] local.INFO: IMEI packet received {"connection_id":163470,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 02:59:43] local.ERROR: TCP Connection error {"connection_id":163470,"code":2,"message":"client closed"} 
[2026-08-28 02:59:43] local.INFO: IMEI acknowledgment sent {"connection_id":163470,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 02:59:47] local.INFO: TCP Data received {"connection_id":163469,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:59:47] local.INFO: Processing buffer {"connection_id":163469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 02:59:47] local.INFO: IMEI packet received {"connection_id":163469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 02:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":163469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 02:59:48] local.INFO: TCP Data received {"connection_id":163469,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a04518f678012d34c18006aa4910000400e62c..."} 
[2026-08-28 02:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04518f678012d34c18006aa4910000400e62c..."} 
[2026-08-28 02:59:48] local.INFO: Processing buffer {"connection_id":163469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04518f678012d34c18006aa4910000400e62c..."} 
[2026-08-28 02:59:48] local.INFO: Packet analysis {"connection_id":163469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04518"} 
[2026-08-28 02:59:48] local.INFO: Extracted packet for processing {"connection_id":163469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04518"} 
[2026-08-28 02:59:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 02:59:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 02:59:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457693531648001,"note":"Value kept but may cause issues"} 
[2026-08-28 02:59:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 02:59:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 02:59: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-28 02:59:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787865659000,"timestamp_ms":1787865659000,"timestamp_seconds":1787865659,"priority":1,"record_length":96,"hex_timestamp":"000001a04518f678"} 
[2026-08-28 02:59:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 02:59:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 02:59:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 02:59: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-28 02:59:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 02:59:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 02:59:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 02:59:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 02:59:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:59:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 02:59: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-28 02:59:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 02:59:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 02:59:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457693531648001,"66":25299,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 02:59:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 02:59:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 02:59:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457693531648001,"description":"Unknown IO ID 0"} 
[2026-08-28 02:59:48] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 02:59:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 02:59: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-28 02:59:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 02:59:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457693531648001,"power":25299,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 02:59:48] 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":706189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 02:59:48] local.INFO: GPS data processed {"connection_id":163469,"processed":1,"errors":0,"total":1} 
[2026-08-28 02:59:48] local.INFO: Acknowledgment sent {"connection_id":163469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 03:00:32] local.INFO: TCP Data received {"connection_id":163471,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:00:32] local.INFO: Processing buffer {"connection_id":163471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:00:32] local.INFO: IMEI packet received {"connection_id":163471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 03:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":163471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 03:00:37] local.INFO: TCP Data received {"connection_id":163471,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:00:37] local.INFO: Processing buffer {"connection_id":163471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:00:37] local.INFO: IMEI packet received {"connection_id":163471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 03:00:37] local.INFO: IMEI acknowledgment sent {"connection_id":163471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 03:00:40] local.INFO: TCP Data received {"connection_id":163471,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0451d8e40012d34c18006aa4910000300e62b..."} 
[2026-08-28 03:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0451d8e40012d34c18006aa4910000300e62b..."} 
[2026-08-28 03:00:40] local.INFO: Processing buffer {"connection_id":163471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0451d8e40012d34c18006aa4910000300e62b..."} 
[2026-08-28 03:00:40] local.INFO: Packet analysis {"connection_id":163471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0451d"} 
[2026-08-28 03:00:40] local.INFO: Extracted packet for processing {"connection_id":163471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0451d"} 
[2026-08-28 03:00:40] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":3,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 03:00:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 03:00:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457693608704001,"note":"Value kept but may cause issues"} 
[2026-08-28 03:00:40] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 03:00:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 03:00:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 03:00:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 03:00:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787865960000,"timestamp_ms":1787865960000,"timestamp_seconds":1787865960,"priority":1,"record_length":96,"hex_timestamp":"000001a0451d8e40"} 
[2026-08-28 03:00:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 03:00:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 03:00:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 03:00:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 03:00:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 03:00:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 03:00:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 03:00:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 03:00:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:00:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:00:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 03:00:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 03:00:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 03:00:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457693608704001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 03:00:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 03:00:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 03:00:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457693608704001,"description":"Unknown IO ID 0"} 
[2026-08-28 03:00:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 03:00: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-28 03:00:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 03:00:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457693608704001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 03:00:40] 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":706190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 03:00:40] local.INFO: GPS data processed {"connection_id":163471,"processed":1,"errors":0,"total":1} 
[2026-08-28 03:00:40] local.INFO: Acknowledgment sent {"connection_id":163471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 03:01:43] local.INFO: TCP Data received {"connection_id":163471,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0451d8e40012d34c18006aa4910000300e62b..."} 
[2026-08-28 03:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0451d8e40012d34c18006aa4910000300e62b..."} 
[2026-08-28 03:01:43] local.INFO: Processing buffer {"connection_id":163471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0451d8e40012d34c18006aa4910000300e62b..."} 
[2026-08-28 03:01:43] local.INFO: Packet analysis {"connection_id":163471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0451d"} 
[2026-08-28 03:01:43] local.INFO: Extracted packet for processing {"connection_id":163471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0451d"} 
[2026-08-28 03:01:43] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":3,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 03: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-28 03:01:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457693608704001,"note":"Value kept but may cause issues"} 
[2026-08-28 03:01:43] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 03:01:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 03:01:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 03:01: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-28 03:01:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787865960000,"timestamp_ms":1787865960000,"timestamp_seconds":1787865960,"priority":1,"record_length":96,"hex_timestamp":"000001a0451d8e40"} 
[2026-08-28 03: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-28 03:01:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 03: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 03:01:43] 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-28 03: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-28 03: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-28 03:01:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 03:01:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 03:01:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:01:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:01: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-28 03:01:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 03:01:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 03:01:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457693608704001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 03:01:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 03:01:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 03:01:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457693608704001,"description":"Unknown IO ID 0"} 
[2026-08-28 03:01:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 03: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-28 03:01:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 03:01:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457693608704001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 03:01:43] 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":706191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 03:01:43] local.INFO: GPS data processed {"connection_id":163471,"processed":1,"errors":0,"total":1} 
[2026-08-28 03:01:43] local.INFO: Acknowledgment sent {"connection_id":163471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 03:02:43] local.INFO: TCP Data received {"connection_id":163219,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:02:43] local.INFO: Processing buffer {"connection_id":163219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:02:43] local.INFO: IMEI packet received {"connection_id":163219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 03:02:43] local.INFO: IMEI acknowledgment sent {"connection_id":163219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 03:02:59] local.INFO: TCP Data received {"connection_id":163219,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:02:59] local.INFO: Processing buffer {"connection_id":163219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:02:59] local.INFO: IMEI packet received {"connection_id":163219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 03:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":163219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 03:03:16] local.INFO: TCP Data received {"connection_id":163219,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a045222608012d34c18006aa4910000400e62c..."} 
[2026-08-28 03:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045222608012d34c18006aa4910000400e62c..."} 
[2026-08-28 03:03:16] local.INFO: Processing buffer {"connection_id":163219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045222608012d34c18006aa4910000400e62c..."} 
[2026-08-28 03:03:16] local.INFO: Packet analysis {"connection_id":163219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04522"} 
[2026-08-28 03:03:16] local.INFO: Extracted packet for processing {"connection_id":163219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04522"} 
[2026-08-28 03:03:16] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 03: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-28 03:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457693685760001,"note":"Value kept but may cause issues"} 
[2026-08-28 03:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 03:03:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 03:03: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-28 03:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787866261000,"timestamp_ms":1787866261000,"timestamp_seconds":1787866261,"priority":1,"record_length":96,"hex_timestamp":"000001a045222608"} 
[2026-08-28 03: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-28 03:03:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 03:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 03:03:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 03: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-28 03: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-28 03:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 03:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 03:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:03: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-28 03:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 03:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 03:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457693685760001,"66":25321,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 03:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 03:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 03:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457693685760001,"description":"Unknown IO ID 0"} 
[2026-08-28 03:03:16] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 03:03:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 03: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-28 03:03:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 03:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457693685760001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 03:03:16] local.INFO: DEBUG: GPS processor result {"connection_id":163219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 03:03:16] local.INFO: GPS data processed {"connection_id":163219,"processed":1,"errors":0,"total":1} 
[2026-08-28 03:03:16] local.INFO: Acknowledgment sent {"connection_id":163219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 03:04:04] local.INFO: TCP Data received {"connection_id":163472,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:04:04] local.INFO: Processing buffer {"connection_id":163472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:04:04] local.INFO: IMEI packet received {"connection_id":163472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 03:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":163472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 03:04:40] local.INFO: TCP Data received {"connection_id":163472,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:04:40] local.INFO: Processing buffer {"connection_id":163472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:04:40] local.INFO: IMEI packet received {"connection_id":163472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 03:04:40] local.INFO: IMEI acknowledgment sent {"connection_id":163472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 03:04:42] local.INFO: TCP Data received {"connection_id":163220,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:04:42] local.INFO: Processing buffer {"connection_id":163220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:04:42] local.INFO: IMEI packet received {"connection_id":163220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 03:04:42] local.INFO: IMEI acknowledgment sent {"connection_id":163220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 03:04:47] local.INFO: TCP Data received {"connection_id":163220,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:04:47] local.INFO: Processing buffer {"connection_id":163220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:04:47] local.INFO: IMEI packet received {"connection_id":163220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 03:04:47] local.INFO: IMEI acknowledgment sent {"connection_id":163220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 03:05:25] local.INFO: TCP Data received {"connection_id":163220,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a045222608012d34c18006aa4910000400e62c..."} 
[2026-08-28 03:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045222608012d34c18006aa4910000400e62c..."} 
[2026-08-28 03:05:25] local.INFO: Processing buffer {"connection_id":163220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045222608012d34c18006aa4910000400e62c..."} 
[2026-08-28 03:05:25] local.INFO: Packet analysis {"connection_id":163220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04522"} 
[2026-08-28 03:05:25] local.INFO: Extracted packet for processing {"connection_id":163220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04522"} 
[2026-08-28 03:05:25] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 03:05:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 03:05:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457693685760001,"note":"Value kept but may cause issues"} 
[2026-08-28 03:05:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 03:05:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 03:05: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-28 03:05:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787866261000,"timestamp_ms":1787866261000,"timestamp_seconds":1787866261,"priority":1,"record_length":96,"hex_timestamp":"000001a045222608"} 
[2026-08-28 03:05:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 03:05:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 03:05:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 03:05:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 03:05:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 03:05:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 03:05:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 03:05:25] local.INFO: Teltonika packet parsed successfully {"connection_id":163220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 03:05:25] local.INFO: Passing IMEI to GPS processor {"connection_id":163220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:05:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":163220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:05: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-28 03:05:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 03:05:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 03:05:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457693685760001,"66":25321,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 03:05:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 03:05:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 03:05:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457693685760001,"description":"Unknown IO ID 0"} 
[2026-08-28 03:05:25] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 03:05:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 03:05: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-28 03:05:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 03:05:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457693685760001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 03:05:25] local.INFO: DEBUG: GPS processor result {"connection_id":163220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 03:05:25] local.INFO: GPS data processed {"connection_id":163220,"processed":1,"errors":0,"total":1} 
[2026-08-28 03:05:25] local.INFO: Acknowledgment sent {"connection_id":163220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 03:05:37] local.INFO: TCP Data received {"connection_id":163473,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:05:37] local.INFO: Processing buffer {"connection_id":163473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:05:37] local.INFO: IMEI packet received {"connection_id":163473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 03:05:37] local.INFO: IMEI acknowledgment sent {"connection_id":163473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 03:05:42] local.INFO: TCP Data received {"connection_id":163473,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:05:42] local.INFO: Processing buffer {"connection_id":163473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:05:42] local.INFO: IMEI packet received {"connection_id":163473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 03:05:42] local.INFO: IMEI acknowledgment sent {"connection_id":163473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 03:06:03] local.INFO: TCP Data received {"connection_id":163221,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 03:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163221,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 03:06:03] local.INFO: Processing buffer {"connection_id":163221,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 03:06:03] local.INFO: IMEI packet received {"connection_id":163221,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 03:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":163221,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 03:06:22] local.INFO: TCP Data received {"connection_id":163473,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a045222608012d34c18006aa4910000400e62c..."} 
[2026-08-28 03:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045222608012d34c18006aa4910000400e62c..."} 
[2026-08-28 03:06:22] local.INFO: Processing buffer {"connection_id":163473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045222608012d34c18006aa4910000400e62c..."} 
[2026-08-28 03:06:22] local.INFO: Packet analysis {"connection_id":163473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04522"} 
[2026-08-28 03:06:22] local.INFO: Extracted packet for processing {"connection_id":163473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04522"} 
[2026-08-28 03:06:22] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 03:06:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 03:06:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457693685760001,"note":"Value kept but may cause issues"} 
[2026-08-28 03:06:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 03:06:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 03:06: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-28 03:06:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787866261000,"timestamp_ms":1787866261000,"timestamp_seconds":1787866261,"priority":1,"record_length":96,"hex_timestamp":"000001a045222608"} 
[2026-08-28 03:06:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 03:06:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 03:06:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 03:06: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-28 03:06:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 03:06:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 03:06:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 03:06:22] local.INFO: Teltonika packet parsed successfully {"connection_id":163473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 03:06:22] local.INFO: Passing IMEI to GPS processor {"connection_id":163473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:06:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":163473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:06: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-28 03:06:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 03:06:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 03:06:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457693685760001,"66":25321,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 03:06:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 03:06:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 03:06:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457693685760001,"description":"Unknown IO ID 0"} 
[2026-08-28 03:06:22] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 03:06:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 03:06: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-28 03:06:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 03:06:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457693685760001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 03:06:22] 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":706194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 03:06:22] local.INFO: GPS data processed {"connection_id":163473,"processed":1,"errors":0,"total":1} 
[2026-08-28 03:06:22] local.INFO: Acknowledgment sent {"connection_id":163473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 03:09:45] local.INFO: TCP Data received {"connection_id":163474,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:09:45] local.INFO: Processing buffer {"connection_id":163474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:09:45] local.INFO: IMEI packet received {"connection_id":163474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 03:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":163474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 03:09:52] local.INFO: TCP Data received {"connection_id":163474,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:09:52] local.INFO: Processing buffer {"connection_id":163474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:09:52] local.INFO: IMEI packet received {"connection_id":163474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 03:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":163474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 03:09:59] local.INFO: TCP Data received {"connection_id":163474,"ip":"42.109.136.0","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-28 03:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163474,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-28 03:09:59] local.INFO: Processing buffer {"connection_id":163474,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-28 03:09:59] local.INFO: IMEI packet received {"connection_id":163474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 03:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":163474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 03:11:28] local.INFO: TCP Data received {"connection_id":165830,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 03:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165830,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 03:11:28] local.INFO: Processing buffer {"connection_id":165830,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 03:11:28] local.INFO: IMEI packet received {"connection_id":165830,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 03:11:28] local.INFO: IMEI acknowledgment sent {"connection_id":165830,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 03:15:37] local.INFO: TCP Data received {"connection_id":164480,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:15:37] local.INFO: Processing buffer {"connection_id":164480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:15:37] local.INFO: IMEI packet received {"connection_id":164480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 03:15:37] local.INFO: IMEI acknowledgment sent {"connection_id":164480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 03:15:42] local.INFO: TCP Data received {"connection_id":165833,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:15:42] local.INFO: Processing buffer {"connection_id":165833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:15:42] local.INFO: IMEI packet received {"connection_id":165833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 03:15:42] local.INFO: IMEI acknowledgment sent {"connection_id":165833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 03:15:47] local.INFO: TCP Data received {"connection_id":165833,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:15:47] local.INFO: Processing buffer {"connection_id":165833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:15:47] local.INFO: IMEI packet received {"connection_id":165833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 03:15:47] local.INFO: IMEI acknowledgment sent {"connection_id":165833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 03:15:48] local.INFO: TCP Data received {"connection_id":165833,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a04526bdd0012d34c18006aa4910000500e62c..."} 
[2026-08-28 03:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04526bdd0012d34c18006aa4910000500e62c..."} 
[2026-08-28 03:15:48] local.INFO: Processing buffer {"connection_id":165833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04526bdd0012d34c18006aa4910000500e62c..."} 
[2026-08-28 03:15:48] local.INFO: Packet analysis {"connection_id":165833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04526"} 
[2026-08-28 03:15:48] local.INFO: Extracted packet for processing {"connection_id":165833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04526"} 
[2026-08-28 03:15:48] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":5,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 03: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-28 03:15:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457693762816001,"note":"Value kept but may cause issues"} 
[2026-08-28 03:15:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 03:15:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 03:15: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-28 03:15:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787866562000,"timestamp_ms":1787866562000,"timestamp_seconds":1787866562,"priority":1,"record_length":96,"hex_timestamp":"000001a04526bdd0"} 
[2026-08-28 03: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-28 03:15:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 03:15: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-28 03: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-28 03: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-28 03:15:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 03:15:48] local.INFO: Teltonika packet parsed successfully {"connection_id":165833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 03:15:48] local.INFO: Passing IMEI to GPS processor {"connection_id":165833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:15:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":165833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:15: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-28 03:15:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 03:15:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 03:15:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457693762816001,"66":25288,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 03:15:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 03:15:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 03:15:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457693762816001,"description":"Unknown IO ID 0"} 
[2026-08-28 03:15:48] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 03:15:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 03: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-28 03:15:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 03:15:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457693762816001,"power":25288,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 03:15:48] local.INFO: DEBUG: GPS processor result {"connection_id":165833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 03:15:48] local.INFO: GPS data processed {"connection_id":165833,"processed":1,"errors":0,"total":1} 
[2026-08-28 03:15:48] local.INFO: Acknowledgment sent {"connection_id":165833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 03:16:32] local.INFO: TCP Data received {"connection_id":163222,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:16:32] local.INFO: Processing buffer {"connection_id":163222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:16:32] local.INFO: IMEI packet received {"connection_id":163222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 03:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":163222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 03:16:37] local.INFO: TCP Data received {"connection_id":163222,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:16:37] local.INFO: Processing buffer {"connection_id":163222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:16:37] local.INFO: IMEI packet received {"connection_id":163222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 03:16:37] local.INFO: IMEI acknowledgment sent {"connection_id":163222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 03:16:38] local.INFO: TCP Data received {"connection_id":163222,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0452b5598012d34c18006aa4910000500e62c..."} 
[2026-08-28 03:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0452b5598012d34c18006aa4910000500e62c..."} 
[2026-08-28 03:16:38] local.INFO: Processing buffer {"connection_id":163222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0452b5598012d34c18006aa4910000500e62c..."} 
[2026-08-28 03:16:38] local.INFO: Packet analysis {"connection_id":163222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0452b"} 
[2026-08-28 03:16:38] local.INFO: Extracted packet for processing {"connection_id":163222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0452b"} 
[2026-08-28 03:16:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":5,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 03:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 03:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457693839872001,"note":"Value kept but may cause issues"} 
[2026-08-28 03:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 03:16:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 03:16: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-28 03:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787866863000,"timestamp_ms":1787866863000,"timestamp_seconds":1787866863,"priority":1,"record_length":96,"hex_timestamp":"000001a0452b5598"} 
[2026-08-28 03:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 03:16:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 03:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 03:16:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 03:16:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 03:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 03:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 03:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 03:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:16:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 03:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 03:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 03:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457693839872001,"66":25223,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 03:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 03:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 03:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457693839872001,"description":"Unknown IO ID 0"} 
[2026-08-28 03:16:38] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 03:16:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 03:16: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-28 03:16:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 03:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457693839872001,"power":25223,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 03:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":163222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 03:16:38] local.INFO: GPS data processed {"connection_id":163222,"processed":1,"errors":0,"total":1} 
[2026-08-28 03:16:38] local.INFO: Acknowledgment sent {"connection_id":163222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 03:17:02] local.INFO: TCP Data received {"connection_id":164479,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 03:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164479,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 03:17:02] local.INFO: Processing buffer {"connection_id":164479,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 03:17:02] local.INFO: IMEI packet received {"connection_id":164479,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 03:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":164479,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 03:17:09] local.INFO: TCP Data received {"connection_id":163222,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0452fed60012d34c18006aa4910000600e62b..."} 
[2026-08-28 03:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0452fed60012d34c18006aa4910000600e62b..."} 
[2026-08-28 03:17:09] local.INFO: Processing buffer {"connection_id":163222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0452fed60012d34c18006aa4910000600e62b..."} 
[2026-08-28 03:17:09] local.INFO: Packet analysis {"connection_id":163222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0452f"} 
[2026-08-28 03:17:09] local.INFO: Extracted packet for processing {"connection_id":163222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0452f"} 
[2026-08-28 03:17:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 03:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 03:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457693916928001,"note":"Value kept but may cause issues"} 
[2026-08-28 03:17:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 03:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 03:17:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 03:17: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-28 03:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787867164000,"timestamp_ms":1787867164000,"timestamp_seconds":1787867164,"priority":1,"record_length":96,"hex_timestamp":"000001a0452fed60"} 
[2026-08-28 03:17:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 03:17:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 03:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 03:17:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 03:17:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 03:17:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 03:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 03:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 03:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:17:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 03:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 03:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 03:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457693916928001,"66":25223,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 03:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 03:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 03:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457693916928001,"description":"Unknown IO ID 0"} 
[2026-08-28 03:17:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 03:17: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-28 03:17:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 03:17:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457693916928001,"power":25223,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 03:17:09] local.INFO: DEBUG: GPS processor result {"connection_id":163222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 03:17:09] local.INFO: GPS data processed {"connection_id":163222,"processed":1,"errors":0,"total":1} 
[2026-08-28 03:17:09] local.INFO: Acknowledgment sent {"connection_id":163222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 03:19:47] local.INFO: TCP Data received {"connection_id":163223,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:19:47] local.INFO: Processing buffer {"connection_id":163223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:19:47] local.INFO: IMEI packet received {"connection_id":163223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 03:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":163223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 03:20:21] local.INFO: TCP Data received {"connection_id":163223,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:20:21] local.INFO: Processing buffer {"connection_id":163223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:20:21] local.INFO: IMEI packet received {"connection_id":163223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 03:20:21] local.INFO: IMEI acknowledgment sent {"connection_id":163223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 03:20:32] local.INFO: TCP Data received {"connection_id":163476,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:20:32] local.INFO: Processing buffer {"connection_id":163476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:20:32] local.INFO: IMEI packet received {"connection_id":163476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 03:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":163476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 03:20:45] local.INFO: TCP Data received {"connection_id":163476,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:20:45] local.INFO: Processing buffer {"connection_id":163476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:20:45] local.INFO: IMEI packet received {"connection_id":163476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 03:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":163476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 03:21:04] local.INFO: TCP Data received {"connection_id":163476,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0452fed60012d34c18006aa4910000600e62b..."} 
[2026-08-28 03:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0452fed60012d34c18006aa4910000600e62b..."} 
[2026-08-28 03:21:04] local.INFO: Processing buffer {"connection_id":163476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0452fed60012d34c18006aa4910000600e62b..."} 
[2026-08-28 03:21:04] local.INFO: Packet analysis {"connection_id":163476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0452f"} 
[2026-08-28 03:21:04] local.INFO: Extracted packet for processing {"connection_id":163476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0452f"} 
[2026-08-28 03:21:04] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 03:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 03:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457693916928001,"note":"Value kept but may cause issues"} 
[2026-08-28 03:21:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 03:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 03:21:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 03:21:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 03:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787867164000,"timestamp_ms":1787867164000,"timestamp_seconds":1787867164,"priority":1,"record_length":96,"hex_timestamp":"000001a0452fed60"} 
[2026-08-28 03:21:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 03:21:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 03:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 03:21:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 03:21:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 03:21:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 03:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 03:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":163476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 03:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":163476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":163476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:21: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-28 03:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 03:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 03:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457693916928001,"66":25223,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 03:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 03:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 03:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457693916928001,"description":"Unknown IO ID 0"} 
[2026-08-28 03:21:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 03:21: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-28 03:21:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 03:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457693916928001,"power":25223,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 03:21:04] 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":706198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 03:21:04] local.INFO: GPS data processed {"connection_id":163476,"processed":1,"errors":0,"total":1} 
[2026-08-28 03:21:04] local.INFO: Acknowledgment sent {"connection_id":163476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 03:21:55] local.INFO: TCP Data received {"connection_id":163224,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:21:55] local.INFO: Processing buffer {"connection_id":163224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:21:55] local.INFO: IMEI packet received {"connection_id":163224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 03:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":163224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 03:22:15] local.INFO: TCP Data received {"connection_id":163224,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:22:15] local.INFO: Processing buffer {"connection_id":163224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:22:15] local.INFO: IMEI packet received {"connection_id":163224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 03:22:15] local.INFO: IMEI acknowledgment sent {"connection_id":163224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 03:22:17] local.INFO: TCP Data received {"connection_id":163224,"ip":"42.109.136.8","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-28 03:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163224,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-28 03:22:17] local.INFO: Processing buffer {"connection_id":163224,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-28 03:22:17] local.INFO: IMEI packet received {"connection_id":163224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 03:22:17] local.INFO: IMEI acknowledgment sent {"connection_id":163224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 03:22:38] local.INFO: TCP Data received {"connection_id":164481,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 03:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164481,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 03:22:38] local.INFO: Processing buffer {"connection_id":164481,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 03:22:38] local.INFO: IMEI packet received {"connection_id":164481,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 03:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":164481,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 03:22:57] local.INFO: TCP Data received {"connection_id":163225,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 03:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163225,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 03:22:57] local.INFO: Processing buffer {"connection_id":163225,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 03:22:57] local.INFO: IMEI packet received {"connection_id":163225,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 03:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":163225,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 03:28:24] local.INFO: TCP Data received {"connection_id":165835,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 03:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165835,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 03:28:24] local.INFO: Processing buffer {"connection_id":165835,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 03:28:24] local.INFO: IMEI packet received {"connection_id":165835,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 03:28:24] local.INFO: IMEI acknowledgment sent {"connection_id":165835,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 03:29:00] local.INFO: TCP Data received {"connection_id":165836,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:29:00] local.INFO: Processing buffer {"connection_id":165836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:29:00] local.INFO: IMEI packet received {"connection_id":165836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 03:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":165836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 03:29:02] local.INFO: TCP Data received {"connection_id":165836,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:29:02] local.INFO: Processing buffer {"connection_id":165836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:29:02] local.INFO: IMEI packet received {"connection_id":165836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 03:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":165836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 03:29:11] local.INFO: TCP Data received {"connection_id":165836,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a045348528012d34c18006aa4910000300e62f..."} 
[2026-08-28 03:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045348528012d34c18006aa4910000300e62f..."} 
[2026-08-28 03:29:11] local.INFO: Processing buffer {"connection_id":165836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045348528012d34c18006aa4910000300e62f..."} 
[2026-08-28 03:29:11] local.INFO: Packet analysis {"connection_id":165836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04534"} 
[2026-08-28 03:29:11] local.INFO: Extracted packet for processing {"connection_id":165836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04534"} 
[2026-08-28 03:29:11] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":3,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 03:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 03:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457693993984001,"note":"Value kept but may cause issues"} 
[2026-08-28 03:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 03:29:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 03:29: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-28 03:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787867465000,"timestamp_ms":1787867465000,"timestamp_seconds":1787867465,"priority":1,"record_length":96,"hex_timestamp":"000001a045348528"} 
[2026-08-28 03:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 03:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 03:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 03:29:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 03:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 03:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 03:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 03:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":165836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 03:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":165836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":165836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 03:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 03:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 03:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457693993984001,"66":25299,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 03:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 03:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 03:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457693993984001,"description":"Unknown IO ID 0"} 
[2026-08-28 03:29:11] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 03:29:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 03: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-28 03:29:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 03:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457693993984001,"power":25299,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 03:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":165836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 03:29:11] local.INFO: GPS data processed {"connection_id":165836,"processed":1,"errors":0,"total":1} 
[2026-08-28 03:29:11] local.INFO: Acknowledgment sent {"connection_id":165836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 03:29:16] local.INFO: TCP Data received {"connection_id":165836,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a045391cf0012d34c18006aa4910000500e62e..."} 
[2026-08-28 03:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045391cf0012d34c18006aa4910000500e62e..."} 
[2026-08-28 03:29:16] local.INFO: Processing buffer {"connection_id":165836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045391cf0012d34c18006aa4910000500e62e..."} 
[2026-08-28 03:29:16] local.INFO: Packet analysis {"connection_id":165836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04539"} 
[2026-08-28 03:29:16] local.INFO: Extracted packet for processing {"connection_id":165836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04539"} 
[2026-08-28 03:29:16] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 03: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-28 03:29:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694071040001,"note":"Value kept but may cause issues"} 
[2026-08-28 03:29:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 03:29:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 03:29: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-28 03:29:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787867766000,"timestamp_ms":1787867766000,"timestamp_seconds":1787867766,"priority":1,"record_length":96,"hex_timestamp":"000001a045391cf0"} 
[2026-08-28 03: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-28 03:29:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 03: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 03:29:16] 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-28 03: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-28 03: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-28 03:29:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 03:29:16] local.INFO: Teltonika packet parsed successfully {"connection_id":165836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 03:29:16] local.INFO: Passing IMEI to GPS processor {"connection_id":165836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:29:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":165836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:29: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-28 03:29:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 03:29:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 03:29:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694071040001,"66":25343,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 03:29:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 03:29:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 03:29:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694071040001,"description":"Unknown IO ID 0"} 
[2026-08-28 03:29:16] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 03:29:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 03: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-28 03:29:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 03:29:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694071040001,"power":25343,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 03:29:17] local.INFO: DEBUG: GPS processor result {"connection_id":165836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 03:29:17] local.INFO: GPS data processed {"connection_id":165836,"processed":1,"errors":0,"total":1} 
[2026-08-28 03:29:17] local.INFO: Acknowledgment sent {"connection_id":165836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 03:29:40] local.INFO: TCP Data received {"connection_id":163479,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:29:40] local.INFO: Processing buffer {"connection_id":163479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:29:40] local.INFO: IMEI packet received {"connection_id":163479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 03:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":163479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 03:29:42] local.INFO: TCP Data received {"connection_id":163479,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:29:42] local.INFO: Processing buffer {"connection_id":163479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:29:42] local.INFO: IMEI packet received {"connection_id":163479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 03:29:42] local.INFO: IMEI acknowledgment sent {"connection_id":163479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 03:30:02] local.INFO: TCP Data received {"connection_id":163479,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a045391cf0012d34c18006aa4910000500e62e..."} 
[2026-08-28 03:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045391cf0012d34c18006aa4910000500e62e..."} 
[2026-08-28 03:30:02] local.INFO: Processing buffer {"connection_id":163479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045391cf0012d34c18006aa4910000500e62e..."} 
[2026-08-28 03:30:02] local.INFO: Packet analysis {"connection_id":163479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04539"} 
[2026-08-28 03:30:02] local.INFO: Extracted packet for processing {"connection_id":163479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04539"} 
[2026-08-28 03:30:02] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 03:30:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 03:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694071040001,"note":"Value kept but may cause issues"} 
[2026-08-28 03:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 03:30:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 03:30: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-28 03:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787867766000,"timestamp_ms":1787867766000,"timestamp_seconds":1787867766,"priority":1,"record_length":96,"hex_timestamp":"000001a045391cf0"} 
[2026-08-28 03:30:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 03:30:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 03:30:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 03:30:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 03:30:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 03:30:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 03:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 03:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 03:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:30:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 03:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 03:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 03:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694071040001,"66":25343,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 03:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 03:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 03:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694071040001,"description":"Unknown IO ID 0"} 
[2026-08-28 03:30:02] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 03:30:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 03:30: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-28 03:30:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 03:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694071040001,"power":25343,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 03:30:02] 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":706201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 03:30:02] local.INFO: GPS data processed {"connection_id":163479,"processed":1,"errors":0,"total":1} 
[2026-08-28 03:30:02] local.INFO: Acknowledgment sent {"connection_id":163479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 03:30:34] local.INFO: TCP Data received {"connection_id":163226,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:30:34] local.INFO: Processing buffer {"connection_id":163226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:30:34] local.INFO: IMEI packet received {"connection_id":163226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 03:30:34] local.INFO: IMEI acknowledgment sent {"connection_id":163226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 03:30:39] local.INFO: TCP Data received {"connection_id":163226,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:30:39] local.INFO: Processing buffer {"connection_id":163226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:30:39] local.INFO: IMEI packet received {"connection_id":163226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 03:30:39] local.INFO: IMEI acknowledgment sent {"connection_id":163226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 03:30:41] local.INFO: TCP Data received {"connection_id":163226,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a045391cf0012d34c18006aa4910000500e62e..."} 
[2026-08-28 03:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045391cf0012d34c18006aa4910000500e62e..."} 
[2026-08-28 03:30:41] local.INFO: Processing buffer {"connection_id":163226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045391cf0012d34c18006aa4910000500e62e..."} 
[2026-08-28 03:30:41] local.INFO: Packet analysis {"connection_id":163226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04539"} 
[2026-08-28 03:30:41] local.INFO: Extracted packet for processing {"connection_id":163226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04539"} 
[2026-08-28 03:30:41] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 03:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 03:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694071040001,"note":"Value kept but may cause issues"} 
[2026-08-28 03:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 03:30:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 03:30:41] 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-28 03:30:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787867766000,"timestamp_ms":1787867766000,"timestamp_seconds":1787867766,"priority":1,"record_length":96,"hex_timestamp":"000001a045391cf0"} 
[2026-08-28 03:30:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 03:30:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 03:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 03:30: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-28 03:30:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 03:30:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 03:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 03:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":163226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 03:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":163226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":163226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:30:41] local.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-28 03:30:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 03:30:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 03:30:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694071040001,"66":25343,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 03:30:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 03:30:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 03:30:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694071040001,"description":"Unknown IO ID 0"} 
[2026-08-28 03:30:41] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 03:30:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 03:30: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-28 03:30:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 03:30:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694071040001,"power":25343,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 03:30:41] local.INFO: DEBUG: GPS processor result {"connection_id":163226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 03:30:41] local.INFO: GPS data processed {"connection_id":163226,"processed":1,"errors":0,"total":1} 
[2026-08-28 03:30:41] local.INFO: Acknowledgment sent {"connection_id":163226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 03:30:45] local.INFO: TCP Data received {"connection_id":163226,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a045391cf0012d34c18006aa4910000500e62e..."} 
[2026-08-28 03:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045391cf0012d34c18006aa4910000500e62e..."} 
[2026-08-28 03:30:45] local.INFO: Processing buffer {"connection_id":163226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045391cf0012d34c18006aa4910000500e62e..."} 
[2026-08-28 03:30:45] local.INFO: Packet analysis {"connection_id":163226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04539"} 
[2026-08-28 03:30:45] local.INFO: Extracted packet for processing {"connection_id":163226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04539"} 
[2026-08-28 03:30:45] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 03: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-28 03:30:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694071040001,"note":"Value kept but may cause issues"} 
[2026-08-28 03:30:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 03:30:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 03:30: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-28 03:30:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787867766000,"timestamp_ms":1787867766000,"timestamp_seconds":1787867766,"priority":1,"record_length":96,"hex_timestamp":"000001a045391cf0"} 
[2026-08-28 03: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-28 03:30:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 03: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 03:30:45] 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-28 03: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-28 03: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-28 03:30:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 03:30:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 03:30:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:30:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:30: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-28 03:30:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 03:30:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 03:30:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694071040001,"66":25343,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 03:30:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 03:30:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 03:30:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694071040001,"description":"Unknown IO ID 0"} 
[2026-08-28 03:30:45] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 03:30:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 03: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-28 03:30:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 03:30:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694071040001,"power":25343,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 03:30:45] local.INFO: DEBUG: GPS processor result {"connection_id":163226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 03:30:45] local.INFO: GPS data processed {"connection_id":163226,"processed":1,"errors":0,"total":1} 
[2026-08-28 03:30:45] local.INFO: Acknowledgment sent {"connection_id":163226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 03:31:37] local.INFO: TCP Data received {"connection_id":163226,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a045391cf0012d34c18006aa4910000500e62e..."} 
[2026-08-28 03:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045391cf0012d34c18006aa4910000500e62e..."} 
[2026-08-28 03:31:37] local.INFO: Processing buffer {"connection_id":163226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045391cf0012d34c18006aa4910000500e62e..."} 
[2026-08-28 03:31:37] local.INFO: Packet analysis {"connection_id":163226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04539"} 
[2026-08-28 03:31:37] local.INFO: Extracted packet for processing {"connection_id":163226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04539"} 
[2026-08-28 03:31:37] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":5,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 03:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 03:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694071040001,"note":"Value kept but may cause issues"} 
[2026-08-28 03:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 03:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 03:31:37] 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-28 03:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787867766000,"timestamp_ms":1787867766000,"timestamp_seconds":1787867766,"priority":1,"record_length":96,"hex_timestamp":"000001a045391cf0"} 
[2026-08-28 03:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 03:31:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 03:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 03:31:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 03:31:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 03:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 03:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 03:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 03:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:31:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 03:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 03:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 03:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694071040001,"66":25343,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 03:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 03:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 03:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694071040001,"description":"Unknown IO ID 0"} 
[2026-08-28 03:31:37] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 03:31:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 03:31: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-28 03:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 03:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694071040001,"power":25343,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 03:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":163226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 03:31:37] local.INFO: GPS data processed {"connection_id":163226,"processed":1,"errors":0,"total":1} 
[2026-08-28 03:31:37] local.INFO: Acknowledgment sent {"connection_id":163226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 03:31:44] local.INFO: TCP Data received {"connection_id":165837,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:31:44] local.INFO: Processing buffer {"connection_id":165837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:31:44] local.INFO: IMEI packet received {"connection_id":165837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 03:31:44] local.INFO: IMEI acknowledgment sent {"connection_id":165837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 03:31:47] local.INFO: TCP Data received {"connection_id":165837,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:31:47] local.INFO: Processing buffer {"connection_id":165837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:31:47] local.INFO: IMEI packet received {"connection_id":165837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 03:31:47] local.INFO: IMEI acknowledgment sent {"connection_id":165837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 03:31:48] local.INFO: TCP Data received {"connection_id":165837,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:31:48] local.INFO: Processing buffer {"connection_id":165837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:31:48] local.INFO: IMEI packet received {"connection_id":165837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 03:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":165837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 03:31:52] local.INFO: TCP Data received {"connection_id":165837,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0453db4b8012d34c18006aa4910000700e62f..."} 
[2026-08-28 03:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0453db4b8012d34c18006aa4910000700e62f..."} 
[2026-08-28 03:31:52] local.INFO: Processing buffer {"connection_id":165837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0453db4b8012d34c18006aa4910000700e62f..."} 
[2026-08-28 03:31:52] local.INFO: Packet analysis {"connection_id":165837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0453d"} 
[2026-08-28 03:31:52] local.INFO: Extracted packet for processing {"connection_id":165837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0453d"} 
[2026-08-28 03:31:52] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":7,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 03: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-28 03:31:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694148096001,"note":"Value kept but may cause issues"} 
[2026-08-28 03:31:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 03:31:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 03:31: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-28 03:31:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787868067000,"timestamp_ms":1787868067000,"timestamp_seconds":1787868067,"priority":1,"record_length":96,"hex_timestamp":"000001a0453db4b8"} 
[2026-08-28 03: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-28 03:31:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 03: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 03:31: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-28 03: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-28 03: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-28 03:31:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 03:31:52] local.INFO: Teltonika packet parsed successfully {"connection_id":165837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 03:31:52] local.INFO: Passing IMEI to GPS processor {"connection_id":165837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:31:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":165837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03: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-28 03:31:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 03:31:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 03:31:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694148096001,"66":25223,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 03:31:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 03:31:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 03:31:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694148096001,"description":"Unknown IO ID 0"} 
[2026-08-28 03:31:52] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 03:31:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 03: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-28 03:31:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 03:31:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694148096001,"power":25223,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 03:31:52] local.INFO: DEBUG: GPS processor result {"connection_id":165837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 03:31:52] local.INFO: GPS data processed {"connection_id":165837,"processed":1,"errors":0,"total":1} 
[2026-08-28 03:31:52] local.INFO: Acknowledgment sent {"connection_id":165837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 03:31:59] local.INFO: TCP Data received {"connection_id":165837,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0453db4b8012d34c18006aa4910000700e62f..."} 
[2026-08-28 03:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0453db4b8012d34c18006aa4910000700e62f..."} 
[2026-08-28 03:31:59] local.INFO: Processing buffer {"connection_id":165837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0453db4b8012d34c18006aa4910000700e62f..."} 
[2026-08-28 03:31:59] local.INFO: Packet analysis {"connection_id":165837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0453d"} 
[2026-08-28 03:31:59] local.INFO: Extracted packet for processing {"connection_id":165837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0453d"} 
[2026-08-28 03:31:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":7,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 03:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 03:31:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694148096001,"note":"Value kept but may cause issues"} 
[2026-08-28 03:31:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 03:31:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 03:31: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-28 03:31:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787868067000,"timestamp_ms":1787868067000,"timestamp_seconds":1787868067,"priority":1,"record_length":96,"hex_timestamp":"000001a0453db4b8"} 
[2026-08-28 03:31:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 03:31:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 03:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 03:31:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 03:31:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 03:31:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 03:31:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 03:31:59] local.INFO: Teltonika packet parsed successfully {"connection_id":165837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 03:31:59] local.INFO: Passing IMEI to GPS processor {"connection_id":165837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:31:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":165837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:31:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 03:31:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 03:31:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 03:31:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694148096001,"66":25223,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 03:31:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 03:31:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 03:31:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694148096001,"description":"Unknown IO ID 0"} 
[2026-08-28 03:31:59] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 03:31:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 03:31: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-28 03:31:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 03:31:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694148096001,"power":25223,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 03:31:59] local.INFO: DEBUG: GPS processor result {"connection_id":165837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 03:31:59] local.INFO: GPS data processed {"connection_id":165837,"processed":1,"errors":0,"total":1} 
[2026-08-28 03:31:59] local.INFO: Acknowledgment sent {"connection_id":165837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 03:32:32] local.INFO: TCP Data received {"connection_id":163480,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:32:32] local.INFO: Processing buffer {"connection_id":163480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:32:32] local.INFO: IMEI packet received {"connection_id":163480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 03:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":163480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 03:32:38] local.INFO: TCP Data received {"connection_id":163480,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:32:38] local.INFO: Processing buffer {"connection_id":163480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:32:38] local.INFO: IMEI packet received {"connection_id":163480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 03:32:38] local.INFO: IMEI acknowledgment sent {"connection_id":163480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 03:32:46] local.INFO: TCP Data received {"connection_id":163480,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0453db4b8012d34c18006aa4910000700e62f..."} 
[2026-08-28 03:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0453db4b8012d34c18006aa4910000700e62f..."} 
[2026-08-28 03:32:46] local.INFO: Processing buffer {"connection_id":163480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0453db4b8012d34c18006aa4910000700e62f..."} 
[2026-08-28 03:32:46] local.INFO: Packet analysis {"connection_id":163480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0453d"} 
[2026-08-28 03:32:46] local.INFO: Extracted packet for processing {"connection_id":163480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0453d"} 
[2026-08-28 03:32:46] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":7,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 03: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-28 03:32:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694148096001,"note":"Value kept but may cause issues"} 
[2026-08-28 03:32:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 03:32:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 03:32: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-28 03:32:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787868067000,"timestamp_ms":1787868067000,"timestamp_seconds":1787868067,"priority":1,"record_length":96,"hex_timestamp":"000001a0453db4b8"} 
[2026-08-28 03: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-28 03:32:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 03: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 03:32: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-28 03: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-28 03: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-28 03:32:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 03:32:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 03:32:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:32:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:32: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-28 03:32:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 03:32:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 03:32:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694148096001,"66":25223,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 03:32:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 03:32:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 03:32:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694148096001,"description":"Unknown IO ID 0"} 
[2026-08-28 03:32:46] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 03:32:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 03:32: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-28 03:32:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 03:32:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694148096001,"power":25223,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 03:32:46] 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":706207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 03:32:46] local.INFO: GPS data processed {"connection_id":163480,"processed":1,"errors":0,"total":1} 
[2026-08-28 03:32:46] local.INFO: Acknowledgment sent {"connection_id":163480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 03:33:35] local.INFO: TCP Data received {"connection_id":163480,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0453db4b8012d34c18006aa4910000700e62f..."} 
[2026-08-28 03:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0453db4b8012d34c18006aa4910000700e62f..."} 
[2026-08-28 03:33:35] local.INFO: Processing buffer {"connection_id":163480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0453db4b8012d34c18006aa4910000700e62f..."} 
[2026-08-28 03:33:35] local.INFO: Packet analysis {"connection_id":163480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0453d"} 
[2026-08-28 03:33:35] local.INFO: Extracted packet for processing {"connection_id":163480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0453d"} 
[2026-08-28 03:33:35] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":7,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 03:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 03:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694148096001,"note":"Value kept but may cause issues"} 
[2026-08-28 03:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 03:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 03:33: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-28 03:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787868067000,"timestamp_ms":1787868067000,"timestamp_seconds":1787868067,"priority":1,"record_length":96,"hex_timestamp":"000001a0453db4b8"} 
[2026-08-28 03:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 03:33:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 03:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 03:33:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 03:33:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 03:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 03:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 03:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 03:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:33:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 03:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 03:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 03:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694148096001,"66":25223,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 03:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 03:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 03:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694148096001,"description":"Unknown IO ID 0"} 
[2026-08-28 03:33:35] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 03:33:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 03:33: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-28 03:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 03:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694148096001,"power":25223,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 03:33:35] 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":706208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 03:33:35] local.INFO: GPS data processed {"connection_id":163480,"processed":1,"errors":0,"total":1} 
[2026-08-28 03:33:35] local.INFO: Acknowledgment sent {"connection_id":163480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 03:33:37] local.INFO: TCP Data received {"connection_id":164485,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:33:37] local.INFO: Processing buffer {"connection_id":164485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:33:37] local.INFO: IMEI packet received {"connection_id":164485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 03:33:37] local.INFO: IMEI acknowledgment sent {"connection_id":164485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 03:33:43] local.INFO: TCP Data received {"connection_id":164485,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:33:43] local.INFO: Processing buffer {"connection_id":164485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:33:43] local.INFO: IMEI packet received {"connection_id":164485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 03:33:43] local.INFO: IMEI acknowledgment sent {"connection_id":164485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 03:33:45] local.INFO: TCP Data received {"connection_id":164485,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0453db4b8012d34c18006aa4910000700e62f..."} 
[2026-08-28 03:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0453db4b8012d34c18006aa4910000700e62f..."} 
[2026-08-28 03:33:45] local.INFO: Processing buffer {"connection_id":164485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0453db4b8012d34c18006aa4910000700e62f..."} 
[2026-08-28 03:33:45] local.INFO: Packet analysis {"connection_id":164485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0453d"} 
[2026-08-28 03:33:45] local.INFO: Extracted packet for processing {"connection_id":164485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0453d"} 
[2026-08-28 03:33:45] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":7,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 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-28 03:33:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694148096001,"note":"Value kept but may cause issues"} 
[2026-08-28 03:33:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 03:33:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 03:33: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-28 03:33:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787868067000,"timestamp_ms":1787868067000,"timestamp_seconds":1787868067,"priority":1,"record_length":96,"hex_timestamp":"000001a0453db4b8"} 
[2026-08-28 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-28 03:33:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 03:33: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-28 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-28 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-28 03:33:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 03:33:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 03:33:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:33:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:33: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-28 03:33:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 03:33:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 03:33:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694148096001,"66":25223,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 03:33:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 03:33:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 03:33:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694148096001,"description":"Unknown IO ID 0"} 
[2026-08-28 03:33:45] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 03:33:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 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-28 03:33:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 03:33:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694148096001,"power":25223,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 03:33:45] local.INFO: DEBUG: GPS processor result {"connection_id":164485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 03:33:45] local.INFO: GPS data processed {"connection_id":164485,"processed":1,"errors":0,"total":1} 
[2026-08-28 03:33:45] local.INFO: Acknowledgment sent {"connection_id":164485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 03:33:58] local.INFO: TCP Data received {"connection_id":164484,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 03:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164484,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 03:33:58] local.INFO: Processing buffer {"connection_id":164484,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 03:33:58] local.INFO: IMEI packet received {"connection_id":164484,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 03:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":164484,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 03:34:21] local.INFO: TCP Data received {"connection_id":164485,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0453db4b8012d34c18006aa4910000700e62f..."} 
[2026-08-28 03:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0453db4b8012d34c18006aa4910000700e62f..."} 
[2026-08-28 03:34:21] local.INFO: Processing buffer {"connection_id":164485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0453db4b8012d34c18006aa4910000700e62f..."} 
[2026-08-28 03:34:21] local.INFO: Packet analysis {"connection_id":164485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0453d"} 
[2026-08-28 03:34:21] local.INFO: Extracted packet for processing {"connection_id":164485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0453d"} 
[2026-08-28 03:34:21] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":7,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 03:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 03:34:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694148096001,"note":"Value kept but may cause issues"} 
[2026-08-28 03:34:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 03:34:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 03:34:21] 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-28 03:34:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787868067000,"timestamp_ms":1787868067000,"timestamp_seconds":1787868067,"priority":1,"record_length":96,"hex_timestamp":"000001a0453db4b8"} 
[2026-08-28 03:34:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 03:34:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 03:34:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 03:34: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-28 03:34:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 03:34:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 03:34:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 03:34:21] local.INFO: Teltonika packet parsed successfully {"connection_id":164485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 03:34:21] local.INFO: Passing IMEI to GPS processor {"connection_id":164485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:34:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":164485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:34: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-28 03:34:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 03:34:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 03:34:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694148096001,"66":25223,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 03:34:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 03:34:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 03:34:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694148096001,"description":"Unknown IO ID 0"} 
[2026-08-28 03:34:21] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 03:34:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 03:34: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-28 03:34:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 03:34:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694148096001,"power":25223,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 03:34:21] local.INFO: DEBUG: GPS processor result {"connection_id":164485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 03:34:21] local.INFO: GPS data processed {"connection_id":164485,"processed":1,"errors":0,"total":1} 
[2026-08-28 03:34:21] local.INFO: Acknowledgment sent {"connection_id":164485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 03:35:47] local.INFO: TCP Data received {"connection_id":163227,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:35:47] local.INFO: Processing buffer {"connection_id":163227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:35:47] local.INFO: IMEI packet received {"connection_id":163227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 03:35:47] local.INFO: IMEI acknowledgment sent {"connection_id":163227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 03:35:52] local.INFO: TCP Data received {"connection_id":163227,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:35:52] local.INFO: Processing buffer {"connection_id":163227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:35:52] local.INFO: IMEI packet received {"connection_id":163227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 03:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":163227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 03:36:32] local.INFO: TCP Data received {"connection_id":163227,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0453db4b8012d34c18006aa4910000700e62f..."} 
[2026-08-28 03:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0453db4b8012d34c18006aa4910000700e62f..."} 
[2026-08-28 03:36:32] local.INFO: Processing buffer {"connection_id":163227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0453db4b8012d34c18006aa4910000700e62f..."} 
[2026-08-28 03:36:32] local.INFO: Packet analysis {"connection_id":163227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0453d"} 
[2026-08-28 03:36:32] local.INFO: Extracted packet for processing {"connection_id":163227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0453d"} 
[2026-08-28 03:36:32] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":7,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 03:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 03:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694148096001,"note":"Value kept but may cause issues"} 
[2026-08-28 03:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 03:36:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 03:36: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-28 03:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787868067000,"timestamp_ms":1787868067000,"timestamp_seconds":1787868067,"priority":1,"record_length":96,"hex_timestamp":"000001a0453db4b8"} 
[2026-08-28 03:36:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 03:36:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 03:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 03:36:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 03:36:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 03:36:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 03:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 03:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":163227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 03:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":163227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":163227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:36:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 03:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 03:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 03:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694148096001,"66":25223,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-28 03:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 03:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 03:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694148096001,"description":"Unknown IO ID 0"} 
[2026-08-28 03:36:32] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 03:36:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 03: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-28 03:36:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 03:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694148096001,"power":25223,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 03:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":163227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 03:36:32] local.INFO: GPS data processed {"connection_id":163227,"processed":1,"errors":0,"total":1} 
[2026-08-28 03:36:32] local.INFO: Acknowledgment sent {"connection_id":163227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 03:36:44] local.INFO: TCP Data received {"connection_id":163227,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0453db4b8012d34c18006aa4910000700e62f..."} 
[2026-08-28 03:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0453db4b8012d34c18006aa4910000700e62f..."} 
[2026-08-28 03:36:44] local.INFO: Processing buffer {"connection_id":163227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0453db4b8012d34c18006aa4910000700e62f..."} 
[2026-08-28 03:36:44] local.INFO: Packet analysis {"connection_id":163227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0453d"} 
[2026-08-28 03:36:44] local.INFO: Extracted packet for processing {"connection_id":163227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0453d"} 
[2026-08-28 03:36:44] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":7,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 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-28 03:36:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694148096001,"note":"Value kept but may cause issues"} 
[2026-08-28 03:36:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 03:36:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 03:36: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-28 03:36:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787868067000,"timestamp_ms":1787868067000,"timestamp_seconds":1787868067,"priority":1,"record_length":96,"hex_timestamp":"000001a0453db4b8"} 
[2026-08-28 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-28 03:36:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 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":255,"data_length":795,"current_offset":136} 
[2026-08-28 03:36: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-28 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-28 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-28 03:36:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 03:36:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 03:36:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:36:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:36: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-28 03:36:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 03:36:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 03:36:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694148096001,"66":25223,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-28 03:36:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 03:36:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 03:36:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694148096001,"description":"Unknown IO ID 0"} 
[2026-08-28 03:36:44] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 03:36:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 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-28 03:36:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 03:36:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694148096001,"power":25223,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 03:36:44] local.INFO: DEBUG: GPS processor result {"connection_id":163227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 03:36:44] local.INFO: GPS data processed {"connection_id":163227,"processed":1,"errors":0,"total":1} 
[2026-08-28 03:36:44] local.ERROR: TCP Connection error {"connection_id":163227,"code":2,"message":"client closed"} 
[2026-08-28 03:36:44] local.INFO: Acknowledgment sent {"connection_id":163227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 03:36:45] local.INFO: TCP Data received {"connection_id":164486,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:36:45] local.INFO: Processing buffer {"connection_id":164486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:36:45] local.INFO: IMEI packet received {"connection_id":164486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 03:36:45] local.INFO: IMEI acknowledgment sent {"connection_id":164486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 03:36:46] local.INFO: TCP Data received {"connection_id":164486,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:36:46] local.INFO: Processing buffer {"connection_id":164486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:36:46] local.INFO: IMEI packet received {"connection_id":164486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 03:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":164486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 03:36:47] local.INFO: TCP Data received {"connection_id":164486,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:36:47] local.INFO: Processing buffer {"connection_id":164486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:36:47] local.INFO: IMEI packet received {"connection_id":164486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 03:36:47] local.INFO: IMEI acknowledgment sent {"connection_id":164486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 03:36:52] local.INFO: TCP Data received {"connection_id":164486,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:36:52] local.INFO: Processing buffer {"connection_id":164486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:36:52] local.INFO: IMEI packet received {"connection_id":164486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 03:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":164486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 03:36:54] local.INFO: TCP Data received {"connection_id":164486,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a045424c80012d34c18006aa4910000b00e630..."} 
[2026-08-28 03:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045424c80012d34c18006aa4910000b00e630..."} 
[2026-08-28 03:36:54] local.INFO: Processing buffer {"connection_id":164486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045424c80012d34c18006aa4910000b00e630..."} 
[2026-08-28 03:36:54] local.INFO: Packet analysis {"connection_id":164486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04542"} 
[2026-08-28 03:36:54] local.INFO: Extracted packet for processing {"connection_id":164486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04542"} 
[2026-08-28 03:36:54] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":11,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 03: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-28 03:36:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694225152001,"note":"Value kept but may cause issues"} 
[2026-08-28 03:36:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 03:36:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 03:36: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-28 03:36:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787868368000,"timestamp_ms":1787868368000,"timestamp_seconds":1787868368,"priority":1,"record_length":96,"hex_timestamp":"000001a045424c80"} 
[2026-08-28 03: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-28 03:36:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 03: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 03:36:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 03: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-28 03: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-28 03:36:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 03:36:54] local.INFO: Teltonika packet parsed successfully {"connection_id":164486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 03:36:54] local.INFO: Passing IMEI to GPS processor {"connection_id":164486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:36:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":164486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:36: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-28 03:36:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 03:36:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 03:36:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694225152001,"66":25299,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-28 03:36:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 03:36:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 03:36:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694225152001,"description":"Unknown IO ID 0"} 
[2026-08-28 03:36:54] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 03:36:54] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 03: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-28 03:36:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 03:36:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694225152001,"power":25299,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 03:36:54] local.INFO: DEBUG: GPS processor result {"connection_id":164486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 03:36:54] local.INFO: GPS data processed {"connection_id":164486,"processed":1,"errors":0,"total":1} 
[2026-08-28 03:36:54] local.INFO: Acknowledgment sent {"connection_id":164486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 03:36:59] local.INFO: TCP Data received {"connection_id":164486,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a045424c80012d34c18006aa4910000b00e630..."} 
[2026-08-28 03:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045424c80012d34c18006aa4910000b00e630..."} 
[2026-08-28 03:36:59] local.INFO: Processing buffer {"connection_id":164486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045424c80012d34c18006aa4910000b00e630..."} 
[2026-08-28 03:36:59] local.INFO: Packet analysis {"connection_id":164486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04542"} 
[2026-08-28 03:36:59] local.INFO: Extracted packet for processing {"connection_id":164486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04542"} 
[2026-08-28 03:36:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":11,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 03:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 03:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694225152001,"note":"Value kept but may cause issues"} 
[2026-08-28 03:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 03:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 03:36: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-28 03:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787868368000,"timestamp_ms":1787868368000,"timestamp_seconds":1787868368,"priority":1,"record_length":96,"hex_timestamp":"000001a045424c80"} 
[2026-08-28 03:36:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 03:36:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 03:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 03:36:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 03:36:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 03:36:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 03:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 03:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":164486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 03:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":164486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":164486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:36:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 03:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 03:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 03:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694225152001,"66":25299,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-28 03:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 03:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 03:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694225152001,"description":"Unknown IO ID 0"} 
[2026-08-28 03:36:59] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 03:36:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 03:36: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-28 03:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 03:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694225152001,"power":25299,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 03:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":164486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 03:36:59] local.INFO: GPS data processed {"connection_id":164486,"processed":1,"errors":0,"total":1} 
[2026-08-28 03:36:59] local.INFO: Acknowledgment sent {"connection_id":164486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 03:38:02] local.INFO: TCP Data received {"connection_id":165839,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:38:02] local.INFO: Processing buffer {"connection_id":165839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:38:02] local.INFO: IMEI packet received {"connection_id":165839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 03:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":165839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 03:38:04] local.INFO: TCP Data received {"connection_id":165839,"ip":"42.109.136.8","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-28 03:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165839,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-28 03:38:04] local.INFO: Processing buffer {"connection_id":165839,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-28 03:38:04] local.INFO: IMEI packet received {"connection_id":165839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 03:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":165839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 03:38:15] local.INFO: TCP Data received {"connection_id":165839,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:38:15] local.INFO: Processing buffer {"connection_id":165839,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-28 03:38:15] local.INFO: IMEI packet received {"connection_id":165839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 03:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":165839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 03:39:33] local.INFO: TCP Data received {"connection_id":165838,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 03:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165838,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 03:39:33] local.INFO: Processing buffer {"connection_id":165838,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 03:39:33] local.INFO: IMEI packet received {"connection_id":165838,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 03:39:33] local.INFO: IMEI acknowledgment sent {"connection_id":165838,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 03:39:43] local.INFO: TCP Data received {"connection_id":165839,"ip":"42.109.136.8","data_length":1348,"data_hex":"000000000000030f8e0a000001a045424c80012d34c18006aa4910000b00e630..."} 
[2026-08-28 03:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165839,"packet_length":1348,"packet_hex":"000000000000030f8e0a000001a045424c80012d34c18006aa4910000b00e630..."} 
[2026-08-28 03:39:43] local.INFO: Processing buffer {"connection_id":165839,"buffer_length":1365,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a045..."} 
[2026-08-28 03:39:43] local.INFO: IMEI packet received {"connection_id":165839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 03:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":165839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 03:41:47] local.INFO: TCP Data received {"connection_id":163481,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:41:47] local.INFO: Processing buffer {"connection_id":163481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:41:47] local.INFO: IMEI packet received {"connection_id":163481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 03:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":163481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 03:41:48] local.INFO: TCP Data received {"connection_id":163481,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:41:48] local.INFO: Processing buffer {"connection_id":163481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:41:48] local.INFO: IMEI packet received {"connection_id":163481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 03:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":163481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 03:41:55] local.INFO: TCP Data received {"connection_id":163481,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:41:55] local.INFO: Processing buffer {"connection_id":163481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:41:55] local.INFO: IMEI packet received {"connection_id":163481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 03:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":163481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 03:42:33] local.INFO: TCP Data received {"connection_id":163481,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a04546e448012d34c18006aa4910000600e62e..."} 
[2026-08-28 03:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04546e448012d34c18006aa4910000600e62e..."} 
[2026-08-28 03:42:33] local.INFO: Processing buffer {"connection_id":163481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04546e448012d34c18006aa4910000600e62e..."} 
[2026-08-28 03:42:33] local.INFO: Packet analysis {"connection_id":163481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04546"} 
[2026-08-28 03:42:33] local.INFO: Extracted packet for processing {"connection_id":163481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04546"} 
[2026-08-28 03:42:33] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 03:42:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 03:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694302208001,"note":"Value kept but may cause issues"} 
[2026-08-28 03:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 03:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 03:42: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-28 03:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787868669000,"timestamp_ms":1787868669000,"timestamp_seconds":1787868669,"priority":1,"record_length":96,"hex_timestamp":"000001a04546e448"} 
[2026-08-28 03:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 03:42:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 03:42:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 03:42:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 03:42:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 03:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 03:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 03:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":163481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 03:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":163481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":163481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 03:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 03:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 03:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694302208001,"66":25299,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 03:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 03:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 03:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694302208001,"description":"Unknown IO ID 0"} 
[2026-08-28 03:42:33] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 03:42:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 03:42: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-28 03:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 03:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694302208001,"power":25299,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 03:42:33] 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":706215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 03:42:33] local.INFO: GPS data processed {"connection_id":163481,"processed":1,"errors":0,"total":1} 
[2026-08-28 03:42:33] local.INFO: Acknowledgment sent {"connection_id":163481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 03:42:52] local.INFO: TCP Data received {"connection_id":163481,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a04546e448012d34c18006aa4910000600e62e..."} 
[2026-08-28 03:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04546e448012d34c18006aa4910000600e62e..."} 
[2026-08-28 03:42:52] local.INFO: Processing buffer {"connection_id":163481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04546e448012d34c18006aa4910000600e62e..."} 
[2026-08-28 03:42:52] local.INFO: Packet analysis {"connection_id":163481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04546"} 
[2026-08-28 03:42:52] local.INFO: Extracted packet for processing {"connection_id":163481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04546"} 
[2026-08-28 03:42:52] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 03:42:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 03:42:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694302208001,"note":"Value kept but may cause issues"} 
[2026-08-28 03:42:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 03:42:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 03:42: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-28 03:42:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787868669000,"timestamp_ms":1787868669000,"timestamp_seconds":1787868669,"priority":1,"record_length":96,"hex_timestamp":"000001a04546e448"} 
[2026-08-28 03:42:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 03:42:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 03:42:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 03:42: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-28 03:42:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 03:42:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 03:42:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 03:42:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 03:42:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:42:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:42: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-28 03:42:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 03:42:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 03:42:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694302208001,"66":25299,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 03:42:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 03:42:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 03:42:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694302208001,"description":"Unknown IO ID 0"} 
[2026-08-28 03:42:52] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 03:42:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 03:42: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-28 03:42:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 03:42:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694302208001,"power":25299,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 03:42:52] 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":706216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 03:42:52] local.INFO: GPS data processed {"connection_id":163481,"processed":1,"errors":0,"total":1} 
[2026-08-28 03:42:52] local.INFO: Acknowledgment sent {"connection_id":163481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 03:45:08] local.INFO: TCP Data received {"connection_id":164487,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 03:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164487,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 03:45:08] local.INFO: Processing buffer {"connection_id":164487,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 03:45:08] local.INFO: IMEI packet received {"connection_id":164487,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 03:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":164487,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 03:45:32] local.INFO: TCP Data received {"connection_id":163482,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:45:32] local.INFO: Processing buffer {"connection_id":163482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:45:32] local.INFO: IMEI packet received {"connection_id":163482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 03:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":163482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 03:45:37] local.INFO: TCP Data received {"connection_id":163482,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:45:37] local.INFO: Processing buffer {"connection_id":163482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:45:37] local.INFO: IMEI packet received {"connection_id":163482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 03:45:37] local.INFO: IMEI acknowledgment sent {"connection_id":163482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 03:45:38] local.INFO: TCP Data received {"connection_id":163482,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a04546e448012d34c18006aa4910000600e62e..."} 
[2026-08-28 03:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04546e448012d34c18006aa4910000600e62e..."} 
[2026-08-28 03:45:38] local.INFO: Processing buffer {"connection_id":163482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04546e448012d34c18006aa4910000600e62e..."} 
[2026-08-28 03:45:38] local.INFO: Packet analysis {"connection_id":163482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04546"} 
[2026-08-28 03:45:38] local.INFO: Extracted packet for processing {"connection_id":163482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04546"} 
[2026-08-28 03:45:38] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 03:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 03:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694302208001,"note":"Value kept but may cause issues"} 
[2026-08-28 03:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 03:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 03:45: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-28 03:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787868669000,"timestamp_ms":1787868669000,"timestamp_seconds":1787868669,"priority":1,"record_length":96,"hex_timestamp":"000001a04546e448"} 
[2026-08-28 03:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 03:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 03:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 03:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 03:45:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 03:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 03:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 03:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 03:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 03:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 03:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 03:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694302208001,"66":25299,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 03:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 03:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 03:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694302208001,"description":"Unknown IO ID 0"} 
[2026-08-28 03:45:38] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 03:45:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 03:45: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-28 03:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 03:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694302208001,"power":25299,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 03:45:38] 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":706217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 03:45:38] local.INFO: GPS data processed {"connection_id":163482,"processed":1,"errors":0,"total":1} 
[2026-08-28 03:45:38] local.INFO: Acknowledgment sent {"connection_id":163482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 03:46:10] local.INFO: TCP Data received {"connection_id":163482,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a04546e448012d34c18006aa4910000600e62e..."} 
[2026-08-28 03:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04546e448012d34c18006aa4910000600e62e..."} 
[2026-08-28 03:46:10] local.INFO: Processing buffer {"connection_id":163482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04546e448012d34c18006aa4910000600e62e..."} 
[2026-08-28 03:46:10] local.INFO: Packet analysis {"connection_id":163482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04546"} 
[2026-08-28 03:46:10] local.INFO: Extracted packet for processing {"connection_id":163482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04546"} 
[2026-08-28 03:46:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111823120,"longitude_deg":75.8432128,"latitude_deg":11.182312,"altitude":6,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 03:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 03:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694302208001,"note":"Value kept but may cause issues"} 
[2026-08-28 03:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 03:46:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 03:46:10] 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-28 03:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787868669000,"timestamp_ms":1787868669000,"timestamp_seconds":1787868669,"priority":1,"record_length":96,"hex_timestamp":"000001a04546e448"} 
[2026-08-28 03:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 03:46:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 03:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 03:46:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 03:46:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 03:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 03:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 03:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 03:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:46:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 03:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 03:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 03:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694302208001,"66":25299,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 03:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 03:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 03:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694302208001,"description":"Unknown IO ID 0"} 
[2026-08-28 03:46:10] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 03:46:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 03:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 03:46:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 03:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694302208001,"power":25299,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 03:46:10] 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":706218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 03:46:10] local.INFO: GPS data processed {"connection_id":163482,"processed":1,"errors":0,"total":1} 
[2026-08-28 03:46:10] local.INFO: Acknowledgment sent {"connection_id":163482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 03:47:27] local.INFO: TCP Data received {"connection_id":165840,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:47:27] local.INFO: Processing buffer {"connection_id":165840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:47:27] local.INFO: IMEI packet received {"connection_id":165840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 03:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":165840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 03:47:32] local.INFO: TCP Data received {"connection_id":165840,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:47:32] local.INFO: Processing buffer {"connection_id":165840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:47:32] local.INFO: IMEI packet received {"connection_id":165840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 03:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":165840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 03:47:33] local.INFO: TCP Data received {"connection_id":165840,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0454b7c10012d34c14006aa4840000400e62e..."} 
[2026-08-28 03:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0454b7c10012d34c14006aa4840000400e62e..."} 
[2026-08-28 03:47:33] local.INFO: Processing buffer {"connection_id":165840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0454b7c10012d34c14006aa4840000400e62e..."} 
[2026-08-28 03:47:33] local.INFO: Packet analysis {"connection_id":165840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0454b"} 
[2026-08-28 03:47:33] local.INFO: Extracted packet for processing {"connection_id":165840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0454b"} 
[2026-08-28 03:47:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":4,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 03:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 03:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694379264001,"note":"Value kept but may cause issues"} 
[2026-08-28 03:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 03:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 03:47: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-28 03:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787868970000,"timestamp_ms":1787868970000,"timestamp_seconds":1787868970,"priority":1,"record_length":96,"hex_timestamp":"000001a0454b7c10"} 
[2026-08-28 03:47:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 03:47:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 03:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 03:47:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 03:47:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 03:47:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 03:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 03:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":165840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 03:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":165840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":165840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:47:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 03:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 03:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 03:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694379264001,"66":25321,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 03:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 03:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 03:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694379264001,"description":"Unknown IO ID 0"} 
[2026-08-28 03:47:33] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 03:47:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 03:47: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-28 03:47:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 03:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694379264001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 03:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":165840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 03:47:33] local.INFO: GPS data processed {"connection_id":165840,"processed":1,"errors":0,"total":1} 
[2026-08-28 03:47:33] local.INFO: Acknowledgment sent {"connection_id":165840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 03:48:05] local.INFO: TCP Data received {"connection_id":165840,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0454b7c10012d34c14006aa4840000400e62e..."} 
[2026-08-28 03:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0454b7c10012d34c14006aa4840000400e62e..."} 
[2026-08-28 03:48:05] local.INFO: Processing buffer {"connection_id":165840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0454b7c10012d34c14006aa4840000400e62e..."} 
[2026-08-28 03:48:05] local.INFO: Packet analysis {"connection_id":165840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0454b"} 
[2026-08-28 03:48:05] local.INFO: Extracted packet for processing {"connection_id":165840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0454b"} 
[2026-08-28 03:48:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":4,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 03:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 03:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694379264001,"note":"Value kept but may cause issues"} 
[2026-08-28 03:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 03:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 03:48: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-28 03:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787868970000,"timestamp_ms":1787868970000,"timestamp_seconds":1787868970,"priority":1,"record_length":96,"hex_timestamp":"000001a0454b7c10"} 
[2026-08-28 03:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 03:48:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 03:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 03:48:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 03:48:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 03:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 03:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 03:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":165840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 03:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":165840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":165840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:48:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 03:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 03:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 03:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694379264001,"66":25321,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 03:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 03:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 03:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694379264001,"description":"Unknown IO ID 0"} 
[2026-08-28 03:48:05] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 03:48:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 03:48: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-28 03:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 03:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694379264001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 03:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":165840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 03:48:05] local.INFO: GPS data processed {"connection_id":165840,"processed":1,"errors":0,"total":1} 
[2026-08-28 03:48:05] local.INFO: Acknowledgment sent {"connection_id":165840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 03:48:32] local.INFO: TCP Data received {"connection_id":164489,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:48:32] local.INFO: Processing buffer {"connection_id":164489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:48:32] local.INFO: IMEI packet received {"connection_id":164489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 03:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":164489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 03:48:37] local.INFO: TCP Data received {"connection_id":164489,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:48:37] local.INFO: Processing buffer {"connection_id":164489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:48:37] local.INFO: IMEI packet received {"connection_id":164489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 03:48:37] local.INFO: IMEI acknowledgment sent {"connection_id":164489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 03:48:38] local.INFO: TCP Data received {"connection_id":164489,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0454b7c10012d34c14006aa4840000400e62e..."} 
[2026-08-28 03:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0454b7c10012d34c14006aa4840000400e62e..."} 
[2026-08-28 03:48:38] local.INFO: Processing buffer {"connection_id":164489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0454b7c10012d34c14006aa4840000400e62e..."} 
[2026-08-28 03:48:38] local.INFO: Packet analysis {"connection_id":164489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0454b"} 
[2026-08-28 03:48:38] local.INFO: Extracted packet for processing {"connection_id":164489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0454b"} 
[2026-08-28 03:48:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":4,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 03:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 03:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694379264001,"note":"Value kept but may cause issues"} 
[2026-08-28 03:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 03:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 03:48: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-28 03:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787868970000,"timestamp_ms":1787868970000,"timestamp_seconds":1787868970,"priority":1,"record_length":96,"hex_timestamp":"000001a0454b7c10"} 
[2026-08-28 03:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 03:48:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 03:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 03:48:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 03:48:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 03:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 03:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 03:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 03:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 03:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 03:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 03:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694379264001,"66":25321,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 03:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 03:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 03:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694379264001,"description":"Unknown IO ID 0"} 
[2026-08-28 03:48:38] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 03:48:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 03:48: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-28 03:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 03:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694379264001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 03:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":164489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 03:48:38] local.INFO: GPS data processed {"connection_id":164489,"processed":1,"errors":0,"total":1} 
[2026-08-28 03:48:38] local.INFO: Acknowledgment sent {"connection_id":164489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 03:49:09] local.INFO: TCP Data received {"connection_id":164489,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0454b7c10012d34c14006aa4840000400e62e..."} 
[2026-08-28 03:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0454b7c10012d34c14006aa4840000400e62e..."} 
[2026-08-28 03:49:09] local.INFO: Processing buffer {"connection_id":164489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0454b7c10012d34c14006aa4840000400e62e..."} 
[2026-08-28 03:49:09] local.INFO: Packet analysis {"connection_id":164489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0454b"} 
[2026-08-28 03:49:09] local.INFO: Extracted packet for processing {"connection_id":164489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0454b"} 
[2026-08-28 03:49:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":4,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 03:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 03:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694379264001,"note":"Value kept but may cause issues"} 
[2026-08-28 03:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 03:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 03:49: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-28 03:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787868970000,"timestamp_ms":1787868970000,"timestamp_seconds":1787868970,"priority":1,"record_length":96,"hex_timestamp":"000001a0454b7c10"} 
[2026-08-28 03:49:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 03:49:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 03:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 03:49:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 03:49:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 03:49:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 03:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 03:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 03:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:49:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 03:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 03:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 03:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694379264001,"66":25321,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 03:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 03:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 03:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694379264001,"description":"Unknown IO ID 0"} 
[2026-08-28 03:49:09] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 03:49:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 03:49: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-28 03:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 03:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694379264001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 03:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":164489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 03:49:09] local.INFO: GPS data processed {"connection_id":164489,"processed":1,"errors":0,"total":1} 
[2026-08-28 03:49:09] local.INFO: Acknowledgment sent {"connection_id":164489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 03:49:32] local.INFO: TCP Data received {"connection_id":164490,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:49:32] local.INFO: Processing buffer {"connection_id":164490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:49:32] local.INFO: IMEI packet received {"connection_id":164490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 03:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":164490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 03:49:38] local.INFO: TCP Data received {"connection_id":164490,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:49:38] local.INFO: Processing buffer {"connection_id":164490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:49:38] local.INFO: IMEI packet received {"connection_id":164490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 03:49:38] local.INFO: IMEI acknowledgment sent {"connection_id":164490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 03:49:39] local.INFO: TCP Data received {"connection_id":164490,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0454b7c10012d34c14006aa4840000400e62e..."} 
[2026-08-28 03:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0454b7c10012d34c14006aa4840000400e62e..."} 
[2026-08-28 03:49:39] local.INFO: Processing buffer {"connection_id":164490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0454b7c10012d34c14006aa4840000400e62e..."} 
[2026-08-28 03:49:39] local.INFO: Packet analysis {"connection_id":164490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0454b"} 
[2026-08-28 03:49:39] local.INFO: Extracted packet for processing {"connection_id":164490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0454b"} 
[2026-08-28 03:49:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":4,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 03:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 03:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694379264001,"note":"Value kept but may cause issues"} 
[2026-08-28 03:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 03:49:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 03:49:39] 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-28 03:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787868970000,"timestamp_ms":1787868970000,"timestamp_seconds":1787868970,"priority":1,"record_length":96,"hex_timestamp":"000001a0454b7c10"} 
[2026-08-28 03:49:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 03:49:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 03:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 03:49:39] 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-28 03:49:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 03:49:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 03:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 03:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":164490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 03:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":164490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":164490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:49:39] 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-28 03:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 03:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 03:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694379264001,"66":25321,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-28 03:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 03:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 03:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694379264001,"description":"Unknown IO ID 0"} 
[2026-08-28 03:49:39] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 03:49:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 03:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 03:49:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 03:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694379264001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 03:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":164490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 03:49:39] local.INFO: GPS data processed {"connection_id":164490,"processed":1,"errors":0,"total":1} 
[2026-08-28 03:49:39] local.INFO: Acknowledgment sent {"connection_id":164490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 03:50:11] local.INFO: TCP Data received {"connection_id":164490,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0454b7c10012d34c14006aa4840000400e62e..."} 
[2026-08-28 03:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0454b7c10012d34c14006aa4840000400e62e..."} 
[2026-08-28 03:50:11] local.INFO: Processing buffer {"connection_id":164490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0454b7c10012d34c14006aa4840000400e62e..."} 
[2026-08-28 03:50:11] local.INFO: Packet analysis {"connection_id":164490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0454b"} 
[2026-08-28 03:50:11] local.INFO: Extracted packet for processing {"connection_id":164490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0454b"} 
[2026-08-28 03:50:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":4,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 03:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 03:50:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694379264001,"note":"Value kept but may cause issues"} 
[2026-08-28 03:50:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 03:50:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 03:50: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-28 03:50:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787868970000,"timestamp_ms":1787868970000,"timestamp_seconds":1787868970,"priority":1,"record_length":96,"hex_timestamp":"000001a0454b7c10"} 
[2026-08-28 03:50:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 03:50:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 03:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 03:50:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 03:50:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 03:50:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 03:50:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 03:50:11] local.INFO: Teltonika packet parsed successfully {"connection_id":164490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 03:50:11] local.INFO: Passing IMEI to GPS processor {"connection_id":164490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:50:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":164490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:50:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 03:50:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 03:50:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 03:50:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694379264001,"66":25321,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-28 03:50:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 03:50:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 03:50:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694379264001,"description":"Unknown IO ID 0"} 
[2026-08-28 03:50:11] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 03:50:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 03:50: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-28 03:50:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 03:50:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694379264001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 03:50:11] local.INFO: DEBUG: GPS processor result {"connection_id":164490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 03:50:11] local.INFO: GPS data processed {"connection_id":164490,"processed":1,"errors":0,"total":1} 
[2026-08-28 03:50:11] local.INFO: Acknowledgment sent {"connection_id":164490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 03:50:32] local.INFO: TCP Data received {"connection_id":163483,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:50:32] local.INFO: Processing buffer {"connection_id":163483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:50:32] local.INFO: IMEI packet received {"connection_id":163483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 03:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":163483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 03:50:37] local.INFO: TCP Data received {"connection_id":163483,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:50:37] local.INFO: Processing buffer {"connection_id":163483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:50:37] local.INFO: IMEI packet received {"connection_id":163483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 03:50:37] local.INFO: IMEI acknowledgment sent {"connection_id":163483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 03:50:38] local.INFO: TCP Data received {"connection_id":163483,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0454b7c10012d34c14006aa4840000400e62e..."} 
[2026-08-28 03:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0454b7c10012d34c14006aa4840000400e62e..."} 
[2026-08-28 03:50:38] local.INFO: Processing buffer {"connection_id":163483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0454b7c10012d34c14006aa4840000400e62e..."} 
[2026-08-28 03:50:38] local.INFO: Packet analysis {"connection_id":163483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0454b"} 
[2026-08-28 03:50:38] local.INFO: Extracted packet for processing {"connection_id":163483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0454b"} 
[2026-08-28 03:50:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":4,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 03:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 03:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694379264001,"note":"Value kept but may cause issues"} 
[2026-08-28 03:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 03:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 03:50: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-28 03:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787868970000,"timestamp_ms":1787868970000,"timestamp_seconds":1787868970,"priority":1,"record_length":96,"hex_timestamp":"000001a0454b7c10"} 
[2026-08-28 03:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 03:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 03:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 03:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 03:50:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 03:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 03:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 03:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 03:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 03:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 03:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 03:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694379264001,"66":25321,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 03:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 03:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 03:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694379264001,"description":"Unknown IO ID 0"} 
[2026-08-28 03:50:38] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 03:50:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 03:50: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-28 03:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 03:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694379264001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 03:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":163483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 03:50:38] local.INFO: GPS data processed {"connection_id":163483,"processed":1,"errors":0,"total":1} 
[2026-08-28 03:50:38] local.INFO: Acknowledgment sent {"connection_id":163483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 03:50:44] local.INFO: TCP Data received {"connection_id":164488,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 03:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164488,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 03:50:44] local.INFO: Processing buffer {"connection_id":164488,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 03:50:44] local.INFO: IMEI packet received {"connection_id":164488,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 03:50:44] local.INFO: IMEI acknowledgment sent {"connection_id":164488,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 03:51:10] local.INFO: TCP Data received {"connection_id":163483,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0454b7c10012d34c14006aa4840000400e62e..."} 
[2026-08-28 03:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0454b7c10012d34c14006aa4840000400e62e..."} 
[2026-08-28 03:51:10] local.INFO: Processing buffer {"connection_id":163483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0454b7c10012d34c14006aa4840000400e62e..."} 
[2026-08-28 03:51:10] local.INFO: Packet analysis {"connection_id":163483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0454b"} 
[2026-08-28 03:51:10] local.INFO: Extracted packet for processing {"connection_id":163483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0454b"} 
[2026-08-28 03:51:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":4,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 03:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 03:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694379264001,"note":"Value kept but may cause issues"} 
[2026-08-28 03:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 03:51:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 03:51:10] 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-28 03:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787868970000,"timestamp_ms":1787868970000,"timestamp_seconds":1787868970,"priority":1,"record_length":96,"hex_timestamp":"000001a0454b7c10"} 
[2026-08-28 03:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 03:51:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 03:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 03:51:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 03:51:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 03:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 03:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 03:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 03:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:51:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 03:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 03:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 03:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694379264001,"66":25321,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 03:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 03:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 03:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694379264001,"description":"Unknown IO ID 0"} 
[2026-08-28 03:51:10] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 03:51:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 03:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 03:51:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 03:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694379264001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 03:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":163483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 03:51:10] local.INFO: GPS data processed {"connection_id":163483,"processed":1,"errors":0,"total":1} 
[2026-08-28 03:51:10] local.INFO: Acknowledgment sent {"connection_id":163483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 03:51:37] local.INFO: TCP Data received {"connection_id":163484,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:51:37] local.INFO: Processing buffer {"connection_id":163484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:51:37] local.INFO: IMEI packet received {"connection_id":163484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 03:51:37] local.INFO: IMEI acknowledgment sent {"connection_id":163484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 03:51:42] local.INFO: TCP Data received {"connection_id":163484,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:51:42] local.INFO: Processing buffer {"connection_id":163484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:51:42] local.INFO: IMEI packet received {"connection_id":163484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 03:51:42] local.INFO: IMEI acknowledgment sent {"connection_id":163484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 03:51:43] local.INFO: TCP Data received {"connection_id":163484,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0454b7c10012d34c14006aa4840000400e62e..."} 
[2026-08-28 03:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0454b7c10012d34c14006aa4840000400e62e..."} 
[2026-08-28 03:51:43] local.INFO: Processing buffer {"connection_id":163484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0454b7c10012d34c14006aa4840000400e62e..."} 
[2026-08-28 03:51:43] local.INFO: Packet analysis {"connection_id":163484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0454b"} 
[2026-08-28 03:51:43] local.INFO: Extracted packet for processing {"connection_id":163484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0454b"} 
[2026-08-28 03:51:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":4,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 03: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-28 03:51:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694379264001,"note":"Value kept but may cause issues"} 
[2026-08-28 03:51:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 03:51:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592483328,"note":"Value kept but may cause issues"} 
[2026-08-28 03:51: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-28 03:51:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787868970000,"timestamp_ms":1787868970000,"timestamp_seconds":1787868970,"priority":1,"record_length":96,"hex_timestamp":"000001a0454b7c10"} 
[2026-08-28 03: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-28 03:51:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 03:51:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 03:51:43] 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-28 03: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-28 03: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-28 03:51:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 03:51:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 03:51:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:51:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:51: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-28 03:51:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 03:51:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 03:51:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694379264001,"66":25321,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801460326592483328},"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-28 03:51:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 03:51:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 03:51:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694379264001,"description":"Unknown IO ID 0"} 
[2026-08-28 03:51:43] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 03:51:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 03: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-28 03:51:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592483328,"description":"Unknown IO ID 45"} 
[2026-08-28 03:51:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694379264001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801460326592483328}} 
[2026-08-28 03:51:43] 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":706227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 03:51:43] local.INFO: GPS data processed {"connection_id":163484,"processed":1,"errors":0,"total":1} 
[2026-08-28 03:51:43] local.INFO: Acknowledgment sent {"connection_id":163484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 03:52:14] local.INFO: TCP Data received {"connection_id":163484,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0455013d8012d34c14006aa4840000300e62d..."} 
[2026-08-28 03:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0455013d8012d34c14006aa4840000300e62d..."} 
[2026-08-28 03:52:14] local.INFO: Processing buffer {"connection_id":163484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0455013d8012d34c14006aa4840000300e62d..."} 
[2026-08-28 03:52:14] local.INFO: Packet analysis {"connection_id":163484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04550"} 
[2026-08-28 03:52:14] local.INFO: Extracted packet for processing {"connection_id":163484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04550"} 
[2026-08-28 03:52:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 03: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-28 03:52:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694456320001,"note":"Value kept but may cause issues"} 
[2026-08-28 03:52:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 03:52:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 03:52:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 03:52: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-28 03:52:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787869271000,"timestamp_ms":1787869271000,"timestamp_seconds":1787869271,"priority":1,"record_length":96,"hex_timestamp":"000001a0455013d8"} 
[2026-08-28 03: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-28 03:52:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 03:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 03:52: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-28 03: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-28 03: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-28 03:52:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 03:52:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 03:52:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:52:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:52: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-28 03:52:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 03:52:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 03:52:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694456320001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 03:52:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 03:52:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 03:52:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694456320001,"description":"Unknown IO ID 0"} 
[2026-08-28 03:52:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 03: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-28 03:52:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 03:52:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694456320001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 03:52:14] 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":706228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 03:52:14] local.INFO: GPS data processed {"connection_id":163484,"processed":1,"errors":0,"total":1} 
[2026-08-28 03:52:14] local.INFO: Acknowledgment sent {"connection_id":163484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 03:53:14] local.INFO: TCP Data received {"connection_id":164491,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:53:14] local.INFO: Processing buffer {"connection_id":164491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:53:14] local.INFO: IMEI packet received {"connection_id":164491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 03:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":164491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 03:54:22] local.INFO: TCP Data received {"connection_id":163228,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:54:22] local.INFO: Processing buffer {"connection_id":163228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:54:22] local.INFO: IMEI packet received {"connection_id":163228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 03:54:22] local.INFO: IMEI acknowledgment sent {"connection_id":163228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 03:54:27] local.INFO: TCP Data received {"connection_id":163228,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:54:27] local.INFO: Processing buffer {"connection_id":163228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:54:27] local.INFO: IMEI packet received {"connection_id":163228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 03:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":163228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 03:54:28] local.INFO: TCP Data received {"connection_id":163228,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0455013d8012d34c14006aa4840000300e62d..."} 
[2026-08-28 03:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0455013d8012d34c14006aa4840000300e62d..."} 
[2026-08-28 03:54:28] local.INFO: Processing buffer {"connection_id":163228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0455013d8012d34c14006aa4840000300e62d..."} 
[2026-08-28 03:54:28] local.INFO: Packet analysis {"connection_id":163228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04550"} 
[2026-08-28 03:54:28] local.INFO: Extracted packet for processing {"connection_id":163228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04550"} 
[2026-08-28 03:54:28] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 03:54:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 03:54:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694456320001,"note":"Value kept but may cause issues"} 
[2026-08-28 03:54:28] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 03:54:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 03:54:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 03:54:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 03:54:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787869271000,"timestamp_ms":1787869271000,"timestamp_seconds":1787869271,"priority":1,"record_length":96,"hex_timestamp":"000001a0455013d8"} 
[2026-08-28 03:54:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 03:54:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 03:54:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 03:54:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 03:54:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 03:54:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 03:54:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 03:54:28] local.INFO: Teltonika packet parsed successfully {"connection_id":163228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 03:54:28] local.INFO: Passing IMEI to GPS processor {"connection_id":163228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:54:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":163228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:54:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 03:54:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 03:54:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 03:54:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694456320001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 03:54:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 03:54:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 03:54:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694456320001,"description":"Unknown IO ID 0"} 
[2026-08-28 03:54:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 03:54:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 03:54:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 03:54:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694456320001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 03:54:28] local.INFO: DEBUG: GPS processor result {"connection_id":163228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 03:54:28] local.INFO: GPS data processed {"connection_id":163228,"processed":1,"errors":0,"total":1} 
[2026-08-28 03:54:28] local.INFO: Acknowledgment sent {"connection_id":163228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 03:55:00] local.INFO: TCP Data received {"connection_id":163228,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0455013d8012d34c14006aa4840000300e62d..."} 
[2026-08-28 03:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0455013d8012d34c14006aa4840000300e62d..."} 
[2026-08-28 03:55:00] local.INFO: Processing buffer {"connection_id":163228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0455013d8012d34c14006aa4840000300e62d..."} 
[2026-08-28 03:55:00] local.INFO: Packet analysis {"connection_id":163228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04550"} 
[2026-08-28 03:55:00] local.INFO: Extracted packet for processing {"connection_id":163228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04550"} 
[2026-08-28 03:55:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 03:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 03:55:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694456320001,"note":"Value kept but may cause issues"} 
[2026-08-28 03:55:00] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 03:55:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 03:55:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 03:55:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 03:55:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787869271000,"timestamp_ms":1787869271000,"timestamp_seconds":1787869271,"priority":1,"record_length":96,"hex_timestamp":"000001a0455013d8"} 
[2026-08-28 03:55:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 03:55:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 03:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 03:55:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 03:55:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 03:55:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 03:55:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 03:55:00] local.INFO: Teltonika packet parsed successfully {"connection_id":163228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 03:55:00] local.INFO: Passing IMEI to GPS processor {"connection_id":163228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:55:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":163228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:55:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 03:55:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 03:55:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 03:55:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694456320001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 03:55:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 03:55:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 03:55:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694456320001,"description":"Unknown IO ID 0"} 
[2026-08-28 03:55:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 03:55: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-28 03:55:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 03:55:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694456320001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 03:55:00] local.INFO: DEBUG: GPS processor result {"connection_id":163228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 03:55:00] local.INFO: GPS data processed {"connection_id":163228,"processed":1,"errors":0,"total":1} 
[2026-08-28 03:55:00] local.INFO: Acknowledgment sent {"connection_id":163228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 03:55:32] local.INFO: TCP Data received {"connection_id":163485,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:55:32] local.INFO: Processing buffer {"connection_id":163485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:55:32] local.INFO: IMEI packet received {"connection_id":163485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 03:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":163485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 03:55:37] local.INFO: TCP Data received {"connection_id":163485,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:55:37] local.INFO: Processing buffer {"connection_id":163485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:55:37] local.INFO: IMEI packet received {"connection_id":163485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 03:55:37] local.INFO: IMEI acknowledgment sent {"connection_id":163485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 03:55:38] local.INFO: TCP Data received {"connection_id":163485,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0455013d8012d34c14006aa4840000300e62d..."} 
[2026-08-28 03:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0455013d8012d34c14006aa4840000300e62d..."} 
[2026-08-28 03:55:38] local.INFO: Processing buffer {"connection_id":163485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0455013d8012d34c14006aa4840000300e62d..."} 
[2026-08-28 03:55:38] local.INFO: Packet analysis {"connection_id":163485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04550"} 
[2026-08-28 03:55:38] local.INFO: Extracted packet for processing {"connection_id":163485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04550"} 
[2026-08-28 03:55:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 03:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 03:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694456320001,"note":"Value kept but may cause issues"} 
[2026-08-28 03:55:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 03:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 03:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 03:55: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-28 03:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787869271000,"timestamp_ms":1787869271000,"timestamp_seconds":1787869271,"priority":1,"record_length":96,"hex_timestamp":"000001a0455013d8"} 
[2026-08-28 03:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 03:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 03:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 03:55:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 03:55:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 03:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 03:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 03:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 03:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:55:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 03:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 03:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 03:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694456320001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 03:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 03:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 03:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694456320001,"description":"Unknown IO ID 0"} 
[2026-08-28 03:55:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 03:55: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-28 03:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 03:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694456320001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 03:55:38] 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":706231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 03:55:38] local.INFO: GPS data processed {"connection_id":163485,"processed":1,"errors":0,"total":1} 
[2026-08-28 03:55:38] local.INFO: Acknowledgment sent {"connection_id":163485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 03:56:09] local.INFO: TCP Data received {"connection_id":163485,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0455013d8012d34c14006aa4840000300e62d..."} 
[2026-08-28 03:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0455013d8012d34c14006aa4840000300e62d..."} 
[2026-08-28 03:56:09] local.INFO: Processing buffer {"connection_id":163485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0455013d8012d34c14006aa4840000300e62d..."} 
[2026-08-28 03:56:09] local.INFO: Packet analysis {"connection_id":163485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04550"} 
[2026-08-28 03:56:09] local.INFO: Extracted packet for processing {"connection_id":163485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04550"} 
[2026-08-28 03:56:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 03:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 03:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694456320001,"note":"Value kept but may cause issues"} 
[2026-08-28 03:56:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 03:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 03:56:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 03:56: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-28 03:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787869271000,"timestamp_ms":1787869271000,"timestamp_seconds":1787869271,"priority":1,"record_length":96,"hex_timestamp":"000001a0455013d8"} 
[2026-08-28 03:56:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 03:56:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 03:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 03:56:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 03:56:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 03:56:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 03:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 03:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 03:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:56:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 03:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 03:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 03:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694456320001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 03:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 03:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 03:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694456320001,"description":"Unknown IO ID 0"} 
[2026-08-28 03:56:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 03:56: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-28 03:56:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 03:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694456320001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 03:56:10] 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":706232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 03:56:10] local.INFO: GPS data processed {"connection_id":163485,"processed":1,"errors":0,"total":1} 
[2026-08-28 03:56:10] local.INFO: Acknowledgment sent {"connection_id":163485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 03:56:17] local.INFO: TCP Data received {"connection_id":165841,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 03:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165841,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 03:56:17] local.INFO: Processing buffer {"connection_id":165841,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 03:56:17] local.INFO: IMEI packet received {"connection_id":165841,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 03:56:17] local.INFO: IMEI acknowledgment sent {"connection_id":165841,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 03:56:32] local.INFO: TCP Data received {"connection_id":163229,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:56:32] local.INFO: Processing buffer {"connection_id":163229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:56:32] local.INFO: IMEI packet received {"connection_id":163229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 03:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":163229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 03:56:37] local.INFO: TCP Data received {"connection_id":163229,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:56:37] local.INFO: Processing buffer {"connection_id":163229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:56:37] local.INFO: IMEI packet received {"connection_id":163229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 03:56:37] local.INFO: IMEI acknowledgment sent {"connection_id":163229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 03:56:38] local.INFO: TCP Data received {"connection_id":163229,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0455013d8012d34c14006aa4840000300e62d..."} 
[2026-08-28 03:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0455013d8012d34c14006aa4840000300e62d..."} 
[2026-08-28 03:56:38] local.INFO: Processing buffer {"connection_id":163229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0455013d8012d34c14006aa4840000300e62d..."} 
[2026-08-28 03:56:38] local.INFO: Packet analysis {"connection_id":163229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04550"} 
[2026-08-28 03:56:38] local.INFO: Extracted packet for processing {"connection_id":163229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04550"} 
[2026-08-28 03:56:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 03:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 03:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694456320001,"note":"Value kept but may cause issues"} 
[2026-08-28 03:56:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 03:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 03:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 03:56: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-28 03:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787869271000,"timestamp_ms":1787869271000,"timestamp_seconds":1787869271,"priority":1,"record_length":96,"hex_timestamp":"000001a0455013d8"} 
[2026-08-28 03:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 03:56:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 03:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 03:56:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 03:56:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 03:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 03:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 03:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 03:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:56:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 03:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 03:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 03:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694456320001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 03:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 03:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 03:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694456320001,"description":"Unknown IO ID 0"} 
[2026-08-28 03:56:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 03:56: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-28 03:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 03:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694456320001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 03:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":163229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 03:56:38] local.INFO: GPS data processed {"connection_id":163229,"processed":1,"errors":0,"total":1} 
[2026-08-28 03:56:38] local.INFO: Acknowledgment sent {"connection_id":163229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 03:57:09] local.INFO: TCP Data received {"connection_id":163229,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a04554aba0012d34c14006aa4840000300e62e..."} 
[2026-08-28 03:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04554aba0012d34c14006aa4840000300e62e..."} 
[2026-08-28 03:57:09] local.INFO: Processing buffer {"connection_id":163229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04554aba0012d34c14006aa4840000300e62e..."} 
[2026-08-28 03:57:09] local.INFO: Packet analysis {"connection_id":163229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04554"} 
[2026-08-28 03:57:09] local.INFO: Extracted packet for processing {"connection_id":163229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04554"} 
[2026-08-28 03:57:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 03:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 03:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694533376001,"note":"Value kept but may cause issues"} 
[2026-08-28 03:57:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 03:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 03:57:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 03:57: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-28 03:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787869572000,"timestamp_ms":1787869572000,"timestamp_seconds":1787869572,"priority":1,"record_length":96,"hex_timestamp":"000001a04554aba0"} 
[2026-08-28 03:57:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 03:57:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 03:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 03:57:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 03:57:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 03:57:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 03:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 03:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 03:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:57:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 03:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 03:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 03:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694533376001,"66":25343,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 03:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 03:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 03:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694533376001,"description":"Unknown IO ID 0"} 
[2026-08-28 03:57:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 03:57: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-28 03:57:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 03:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694533376001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 03:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":163229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 03:57:09] local.INFO: GPS data processed {"connection_id":163229,"processed":1,"errors":0,"total":1} 
[2026-08-28 03:57:09] local.INFO: Acknowledgment sent {"connection_id":163229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 03:57:37] local.INFO: TCP Data received {"connection_id":164492,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:57:37] local.INFO: Processing buffer {"connection_id":164492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:57:37] local.INFO: IMEI packet received {"connection_id":164492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 03:57:37] local.INFO: IMEI acknowledgment sent {"connection_id":164492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 03:57:46] local.INFO: TCP Data received {"connection_id":164492,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:57:46] local.INFO: Processing buffer {"connection_id":164492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:57:46] local.INFO: IMEI packet received {"connection_id":164492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 03:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":164492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 03:57:56] local.INFO: TCP Data received {"connection_id":164492,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a04554aba0012d34c14006aa4840000300e62e..."} 
[2026-08-28 03:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04554aba0012d34c14006aa4840000300e62e..."} 
[2026-08-28 03:57:56] local.INFO: Processing buffer {"connection_id":164492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04554aba0012d34c14006aa4840000300e62e..."} 
[2026-08-28 03:57:56] local.INFO: Packet analysis {"connection_id":164492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04554"} 
[2026-08-28 03:57:56] local.INFO: Extracted packet for processing {"connection_id":164492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04554"} 
[2026-08-28 03:57:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 03:57:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 03:57:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694533376001,"note":"Value kept but may cause issues"} 
[2026-08-28 03:57:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 03:57:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 03:57:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 03:57:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 03:57:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787869572000,"timestamp_ms":1787869572000,"timestamp_seconds":1787869572,"priority":1,"record_length":96,"hex_timestamp":"000001a04554aba0"} 
[2026-08-28 03:57:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 03:57:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 03:57:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 03:57:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 03:57:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 03:57:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 03:57:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 03:57:56] local.INFO: Teltonika packet parsed successfully {"connection_id":164492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 03:57:56] local.INFO: Passing IMEI to GPS processor {"connection_id":164492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:57:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":164492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:57:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 03:57:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 03:57:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 03:57:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694533376001,"66":25343,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 03:57:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 03:57:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 03:57:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694533376001,"description":"Unknown IO ID 0"} 
[2026-08-28 03:57:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 03:57: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-28 03:57:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 03:57:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694533376001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 03:57:56] local.INFO: DEBUG: GPS processor result {"connection_id":164492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 03:57:56] local.INFO: GPS data processed {"connection_id":164492,"processed":1,"errors":0,"total":1} 
[2026-08-28 03:57:56] local.INFO: Acknowledgment sent {"connection_id":164492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 03:59:37] local.INFO: TCP Data received {"connection_id":163230,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:59:37] local.INFO: Processing buffer {"connection_id":163230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:59:37] local.INFO: IMEI packet received {"connection_id":163230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 03:59:37] local.INFO: IMEI acknowledgment sent {"connection_id":163230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 03:59:42] local.INFO: TCP Data received {"connection_id":163230,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:59:42] local.INFO: Processing buffer {"connection_id":163230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 03:59:42] local.INFO: IMEI packet received {"connection_id":163230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 03:59:42] local.INFO: IMEI acknowledgment sent {"connection_id":163230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 03:59:43] local.INFO: TCP Data received {"connection_id":163230,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a04554aba0012d34c14006aa4840000300e62e..."} 
[2026-08-28 03:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04554aba0012d34c14006aa4840000300e62e..."} 
[2026-08-28 03:59:43] local.INFO: Processing buffer {"connection_id":163230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04554aba0012d34c14006aa4840000300e62e..."} 
[2026-08-28 03:59:43] local.INFO: Packet analysis {"connection_id":163230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04554"} 
[2026-08-28 03:59:43] local.INFO: Extracted packet for processing {"connection_id":163230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04554"} 
[2026-08-28 03:59:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 03: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-28 03:59:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694533376001,"note":"Value kept but may cause issues"} 
[2026-08-28 03:59:43] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 03:59:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 03:59:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 03:59: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-28 03:59:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787869572000,"timestamp_ms":1787869572000,"timestamp_seconds":1787869572,"priority":1,"record_length":96,"hex_timestamp":"000001a04554aba0"} 
[2026-08-28 03: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-28 03:59:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 03: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 03:59: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-28 03: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-28 03: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-28 03:59:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 03:59:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 03:59:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:59:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 03:59: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-28 03:59:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 03:59:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 03:59:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694533376001,"66":25343,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 03:59:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 03:59:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 03:59:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694533376001,"description":"Unknown IO ID 0"} 
[2026-08-28 03:59:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 03: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-28 03:59:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 03:59:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694533376001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 03:59:43] local.INFO: DEBUG: GPS processor result {"connection_id":163230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 03:59:43] local.INFO: GPS data processed {"connection_id":163230,"processed":1,"errors":0,"total":1} 
[2026-08-28 03:59:43] local.INFO: Acknowledgment sent {"connection_id":163230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:00:15] local.INFO: TCP Data received {"connection_id":163230,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a04554aba0012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04554aba0012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:00:15] local.INFO: Processing buffer {"connection_id":163230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04554aba0012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:00:15] local.INFO: Packet analysis {"connection_id":163230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04554"} 
[2026-08-28 04:00:15] local.INFO: Extracted packet for processing {"connection_id":163230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04554"} 
[2026-08-28 04:00:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04: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-28 04:00:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694533376001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:00:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:00:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:00:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:00: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-28 04:00:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787869572000,"timestamp_ms":1787869572000,"timestamp_seconds":1787869572,"priority":1,"record_length":96,"hex_timestamp":"000001a04554aba0"} 
[2026-08-28 04: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-28 04:00:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:00: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-28 04: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-28 04: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-28 04:00:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:00:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:00:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:00:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:00: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-28 04:00:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:00:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:00:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694533376001,"66":25343,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:00:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:00:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:00:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694533376001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:00:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04: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-28 04:00:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:00:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694533376001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:00:15] local.INFO: DEBUG: GPS processor result {"connection_id":163230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:00:15] local.INFO: GPS data processed {"connection_id":163230,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:00:15] local.INFO: Acknowledgment sent {"connection_id":163230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:00:37] local.INFO: TCP Data received {"connection_id":163486,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:00:37] local.INFO: Processing buffer {"connection_id":163486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:00:37] local.INFO: IMEI packet received {"connection_id":163486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 04:00:37] local.INFO: IMEI acknowledgment sent {"connection_id":163486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:00:42] local.INFO: TCP Data received {"connection_id":163486,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:00:42] local.INFO: Processing buffer {"connection_id":163486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:00:42] local.INFO: IMEI packet received {"connection_id":163486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 04:00:42] local.INFO: IMEI acknowledgment sent {"connection_id":163486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 04:00:43] local.INFO: TCP Data received {"connection_id":163486,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a04554aba0012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04554aba0012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:00:43] local.INFO: Processing buffer {"connection_id":163486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04554aba0012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:00:43] local.INFO: Packet analysis {"connection_id":163486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04554"} 
[2026-08-28 04:00:43] local.INFO: Extracted packet for processing {"connection_id":163486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04554"} 
[2026-08-28 04:00:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04: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-28 04:00:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694533376001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:00:43] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:00:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:00:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:00: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-28 04:00:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787869572000,"timestamp_ms":1787869572000,"timestamp_seconds":1787869572,"priority":1,"record_length":96,"hex_timestamp":"000001a04554aba0"} 
[2026-08-28 04: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-28 04:00:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:00: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-28 04: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-28 04: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-28 04:00:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:00:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:00:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:00:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:00: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-28 04:00:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:00:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:00:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694533376001,"66":25343,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:00:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:00:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:00:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694533376001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:00:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04: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-28 04:00:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:00:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694533376001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:00:43] 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":706238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:00:43] local.INFO: GPS data processed {"connection_id":163486,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:00:43] local.INFO: Acknowledgment sent {"connection_id":163486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:00:47] local.INFO: TCP Data received {"connection_id":163486,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a04554aba0012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04554aba0012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:00:47] local.INFO: Processing buffer {"connection_id":163486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04554aba0012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:00:47] local.INFO: Packet analysis {"connection_id":163486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04554"} 
[2026-08-28 04:00:47] local.INFO: Extracted packet for processing {"connection_id":163486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04554"} 
[2026-08-28 04:00:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04: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-28 04:00:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694533376001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:00:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:00:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:00:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:00: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-28 04:00:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787869572000,"timestamp_ms":1787869572000,"timestamp_seconds":1787869572,"priority":1,"record_length":96,"hex_timestamp":"000001a04554aba0"} 
[2026-08-28 04: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-28 04:00:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:00: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-28 04: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-28 04: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-28 04:00:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:00:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:00:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:00:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:00: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-28 04:00:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:00:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:00:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694533376001,"66":25343,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:00:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:00:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:00:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694533376001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:00:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04: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-28 04:00:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:00:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694533376001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:00:47] 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":706239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:00:47] local.INFO: GPS data processed {"connection_id":163486,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:00:47] local.INFO: Acknowledgment sent {"connection_id":163486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:01:32] local.INFO: TCP Data received {"connection_id":163231,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:01:32] local.INFO: Processing buffer {"connection_id":163231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:01:32] local.INFO: IMEI packet received {"connection_id":163231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 04:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":163231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:01:37] local.INFO: TCP Data received {"connection_id":163231,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:01:37] local.INFO: Processing buffer {"connection_id":163231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:01:37] local.INFO: IMEI packet received {"connection_id":163231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 04:01:37] local.INFO: IMEI acknowledgment sent {"connection_id":163231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 04:01:38] local.INFO: TCP Data received {"connection_id":163231,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a04554aba0012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04554aba0012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:01:38] local.INFO: Processing buffer {"connection_id":163231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04554aba0012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:01:38] local.INFO: Packet analysis {"connection_id":163231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04554"} 
[2026-08-28 04:01:38] local.INFO: Extracted packet for processing {"connection_id":163231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04554"} 
[2026-08-28 04:01:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694533376001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:01:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:01: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-28 04:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787869572000,"timestamp_ms":1787869572000,"timestamp_seconds":1787869572,"priority":1,"record_length":96,"hex_timestamp":"000001a04554aba0"} 
[2026-08-28 04:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:01:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:01:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:01:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694533376001,"66":25343,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694533376001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:01:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04: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-28 04:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694533376001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":163231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:01:38] local.INFO: GPS data processed {"connection_id":163231,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:01:38] local.INFO: Acknowledgment sent {"connection_id":163231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:01:53] local.INFO: TCP Data received {"connection_id":163487,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 04:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163487,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 04:01:53] local.INFO: Processing buffer {"connection_id":163487,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 04:01:53] local.INFO: IMEI packet received {"connection_id":163487,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 04:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":163487,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:02:09] local.INFO: TCP Data received {"connection_id":163231,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a045594368012d34c14006aa4840000100e62f..."} 
[2026-08-28 04:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045594368012d34c14006aa4840000100e62f..."} 
[2026-08-28 04:02:09] local.INFO: Processing buffer {"connection_id":163231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045594368012d34c14006aa4840000100e62f..."} 
[2026-08-28 04:02:09] local.INFO: Packet analysis {"connection_id":163231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04559"} 
[2026-08-28 04:02:09] local.INFO: Extracted packet for processing {"connection_id":163231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04559"} 
[2026-08-28 04:02:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":1,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04: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-28 04:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694610432001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:02:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:02:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:02: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-28 04:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787869873000,"timestamp_ms":1787869873000,"timestamp_seconds":1787869873,"priority":1,"record_length":96,"hex_timestamp":"000001a045594368"} 
[2026-08-28 04: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-28 04:02:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 04:02:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04: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-28 04: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-28 04:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:02: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-28 04:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694610432001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694610432001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:02:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04: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-28 04:02:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694610432001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":163231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:02:09] local.INFO: GPS data processed {"connection_id":163231,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:02:09] local.INFO: Acknowledgment sent {"connection_id":163231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:02:32] local.INFO: TCP Data received {"connection_id":164494,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:02:32] local.INFO: Processing buffer {"connection_id":164494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:02:32] local.INFO: IMEI packet received {"connection_id":164494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 04:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":164494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:02:37] local.INFO: TCP Data received {"connection_id":164494,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:02:37] local.INFO: Processing buffer {"connection_id":164494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:02:37] local.INFO: IMEI packet received {"connection_id":164494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 04:02:37] local.INFO: IMEI acknowledgment sent {"connection_id":164494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 04:02:38] local.INFO: TCP Data received {"connection_id":164494,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a045594368012d34c14006aa4840000100e62f..."} 
[2026-08-28 04:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045594368012d34c14006aa4840000100e62f..."} 
[2026-08-28 04:02:38] local.INFO: Processing buffer {"connection_id":164494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045594368012d34c14006aa4840000100e62f..."} 
[2026-08-28 04:02:38] local.INFO: Packet analysis {"connection_id":164494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04559"} 
[2026-08-28 04:02:38] local.INFO: Extracted packet for processing {"connection_id":164494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04559"} 
[2026-08-28 04:02:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":1,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694610432001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:02:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:02: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-28 04:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787869873000,"timestamp_ms":1787869873000,"timestamp_seconds":1787869873,"priority":1,"record_length":96,"hex_timestamp":"000001a045594368"} 
[2026-08-28 04:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:02:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 04:02:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:02:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:02:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694610432001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694610432001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:02:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:02: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-28 04:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694610432001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":164494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:02:38] local.INFO: GPS data processed {"connection_id":164494,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:02:38] local.INFO: Acknowledgment sent {"connection_id":164494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:03:10] local.INFO: TCP Data received {"connection_id":164494,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a045594368012d34c14006aa4840000100e62f..."} 
[2026-08-28 04:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045594368012d34c14006aa4840000100e62f..."} 
[2026-08-28 04:03:10] local.INFO: Processing buffer {"connection_id":164494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045594368012d34c14006aa4840000100e62f..."} 
[2026-08-28 04:03:10] local.INFO: Packet analysis {"connection_id":164494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04559"} 
[2026-08-28 04:03:10] local.INFO: Extracted packet for processing {"connection_id":164494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04559"} 
[2026-08-28 04:03:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":1,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694610432001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:03:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:03:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:03:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 04:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787869873000,"timestamp_ms":1787869873000,"timestamp_seconds":1787869873,"priority":1,"record_length":96,"hex_timestamp":"000001a045594368"} 
[2026-08-28 04:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:03:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 04:03:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:03:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":164494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":164494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":164494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:03:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694610432001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694610432001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:03:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 04:03:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694610432001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":164494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:03:10] local.INFO: GPS data processed {"connection_id":164494,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:03:10] local.INFO: Acknowledgment sent {"connection_id":164494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:03:32] local.INFO: TCP Data received {"connection_id":165844,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:03:32] local.INFO: Processing buffer {"connection_id":165844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:03:32] local.INFO: IMEI packet received {"connection_id":165844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 04:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":165844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:03:37] local.INFO: TCP Data received {"connection_id":165844,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:03:37] local.INFO: Processing buffer {"connection_id":165844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:03:37] local.INFO: IMEI packet received {"connection_id":165844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 04:03:37] local.INFO: IMEI acknowledgment sent {"connection_id":165844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 04:03:38] local.INFO: TCP Data received {"connection_id":165844,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a045594368012d34c14006aa4840000100e62f..."} 
[2026-08-28 04:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045594368012d34c14006aa4840000100e62f..."} 
[2026-08-28 04:03:38] local.INFO: Processing buffer {"connection_id":165844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045594368012d34c14006aa4840000100e62f..."} 
[2026-08-28 04:03:38] local.INFO: Packet analysis {"connection_id":165844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04559"} 
[2026-08-28 04:03:38] local.INFO: Extracted packet for processing {"connection_id":165844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04559"} 
[2026-08-28 04:03:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":1,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694610432001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:03:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:03: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-28 04:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787869873000,"timestamp_ms":1787869873000,"timestamp_seconds":1787869873,"priority":1,"record_length":96,"hex_timestamp":"000001a045594368"} 
[2026-08-28 04:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 04:03:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:03:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":165844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":165844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":165844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:03:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694610432001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694610432001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:03:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:03: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-28 04:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694610432001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":165844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:03:38] local.INFO: GPS data processed {"connection_id":165844,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:03:38] local.INFO: Acknowledgment sent {"connection_id":165844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:04:11] local.INFO: TCP Data received {"connection_id":165844,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a045594368012d34c14006aa4840000100e62f..."} 
[2026-08-28 04:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045594368012d34c14006aa4840000100e62f..."} 
[2026-08-28 04:04:11] local.INFO: Processing buffer {"connection_id":165844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045594368012d34c14006aa4840000100e62f..."} 
[2026-08-28 04:04:11] local.INFO: Packet analysis {"connection_id":165844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04559"} 
[2026-08-28 04:04:11] local.INFO: Extracted packet for processing {"connection_id":165844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04559"} 
[2026-08-28 04:04:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":1,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694610432001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:04:11] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:04:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:04: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-28 04:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787869873000,"timestamp_ms":1787869873000,"timestamp_seconds":1787869873,"priority":1,"record_length":96,"hex_timestamp":"000001a045594368"} 
[2026-08-28 04:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:04:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 04:04: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-28 04:04:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":165844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":165844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":165844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:04:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694610432001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694610432001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:04:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:04: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-28 04:04:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694610432001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":165844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:04:11] local.INFO: GPS data processed {"connection_id":165844,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:04:11] local.INFO: Acknowledgment sent {"connection_id":165844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:04:37] local.INFO: TCP Data received {"connection_id":165845,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:04:37] local.INFO: Processing buffer {"connection_id":165845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:04:37] local.INFO: IMEI packet received {"connection_id":165845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 04:04:37] local.INFO: IMEI acknowledgment sent {"connection_id":165845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:04:42] local.INFO: TCP Data received {"connection_id":165845,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:04:42] local.INFO: Processing buffer {"connection_id":165845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:04:42] local.INFO: IMEI packet received {"connection_id":165845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 04:04:42] local.INFO: IMEI acknowledgment sent {"connection_id":165845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 04:04:43] local.INFO: TCP Data received {"connection_id":165845,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a045594368012d34c14006aa4840000100e62f..."} 
[2026-08-28 04:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045594368012d34c14006aa4840000100e62f..."} 
[2026-08-28 04:04:43] local.INFO: Processing buffer {"connection_id":165845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045594368012d34c14006aa4840000100e62f..."} 
[2026-08-28 04:04:43] local.INFO: Packet analysis {"connection_id":165845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04559"} 
[2026-08-28 04:04:43] local.INFO: Extracted packet for processing {"connection_id":165845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04559"} 
[2026-08-28 04:04:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":1,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04: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-28 04:04:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694610432001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:04:43] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:04:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:04:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:04: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-28 04:04:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787869873000,"timestamp_ms":1787869873000,"timestamp_seconds":1787869873,"priority":1,"record_length":96,"hex_timestamp":"000001a045594368"} 
[2026-08-28 04: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-28 04:04:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04: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":255,"data_length":795,"current_offset":136} 
[2026-08-28 04:04: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-28 04: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-28 04: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-28 04:04:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:04:43] local.INFO: Teltonika packet parsed successfully {"connection_id":165845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:04:43] local.INFO: Passing IMEI to GPS processor {"connection_id":165845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:04:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":165845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:04: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-28 04:04:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:04:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:04:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694610432001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:04:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:04:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:04:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694610432001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:04:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04: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-28 04:04:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:04:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694610432001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:04:43] local.INFO: DEBUG: GPS processor result {"connection_id":165845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:04:43] local.INFO: GPS data processed {"connection_id":165845,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:04:43] local.INFO: Acknowledgment sent {"connection_id":165845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:04:48] local.INFO: TCP Data received {"connection_id":165845,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a045594368012d34c14006aa4840000100e62f..."} 
[2026-08-28 04:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045594368012d34c14006aa4840000100e62f..."} 
[2026-08-28 04:04:48] local.INFO: Processing buffer {"connection_id":165845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045594368012d34c14006aa4840000100e62f..."} 
[2026-08-28 04:04:48] local.INFO: Packet analysis {"connection_id":165845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04559"} 
[2026-08-28 04:04:48] local.INFO: Extracted packet for processing {"connection_id":165845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04559"} 
[2026-08-28 04:04:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":1,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04: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-28 04:04:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694610432001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:04:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:04:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:04:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:04: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-28 04:04:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787869873000,"timestamp_ms":1787869873000,"timestamp_seconds":1787869873,"priority":1,"record_length":96,"hex_timestamp":"000001a045594368"} 
[2026-08-28 04: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-28 04:04:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 04:04: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-28 04: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-28 04: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-28 04:04:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:04:48] local.INFO: Teltonika packet parsed successfully {"connection_id":165845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:04:48] local.INFO: Passing IMEI to GPS processor {"connection_id":165845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:04:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":165845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:04: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-28 04:04:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:04:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:04:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694610432001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:04:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:04:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:04:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694610432001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:04:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04: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-28 04:04:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:04:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694610432001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:04:48] local.INFO: DEBUG: GPS processor result {"connection_id":165845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:04:48] local.INFO: GPS data processed {"connection_id":165845,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:04:48] local.INFO: Acknowledgment sent {"connection_id":165845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:05:32] local.INFO: TCP Data received {"connection_id":163488,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:05:32] local.INFO: Processing buffer {"connection_id":163488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:05:32] local.INFO: IMEI packet received {"connection_id":163488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 04:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":163488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:05:38] local.INFO: TCP Data received {"connection_id":163488,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:05:38] local.INFO: Processing buffer {"connection_id":163488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:05:38] local.INFO: IMEI packet received {"connection_id":163488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 04:05:38] local.INFO: IMEI acknowledgment sent {"connection_id":163488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 04:05:39] local.INFO: TCP Data received {"connection_id":163488,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a045594368012d34c14006aa4840000100e62f..."} 
[2026-08-28 04:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045594368012d34c14006aa4840000100e62f..."} 
[2026-08-28 04:05:39] local.INFO: Processing buffer {"connection_id":163488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045594368012d34c14006aa4840000100e62f..."} 
[2026-08-28 04:05:39] local.INFO: Packet analysis {"connection_id":163488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04559"} 
[2026-08-28 04:05:39] local.INFO: Extracted packet for processing {"connection_id":163488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04559"} 
[2026-08-28 04:05:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":1,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:05:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:05:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694610432001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:05:39] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:05:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:05:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:05:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 04:05:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787869873000,"timestamp_ms":1787869873000,"timestamp_seconds":1787869873,"priority":1,"record_length":96,"hex_timestamp":"000001a045594368"} 
[2026-08-28 04:05:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:05:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:05:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 04:05:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:05:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:05:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:05:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:05:39] local.INFO: Teltonika packet parsed successfully {"connection_id":163488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:05:39] local.INFO: Passing IMEI to GPS processor {"connection_id":163488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:05:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":163488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:05:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:05:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:05:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:05:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694610432001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:05:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:05:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:05:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694610432001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:05:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:05:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 04:05:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:05:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694610432001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:05:39] 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":706248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:05:39] local.INFO: GPS data processed {"connection_id":163488,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:05:39] local.INFO: Acknowledgment sent {"connection_id":163488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:06:10] local.INFO: TCP Data received {"connection_id":163488,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a045594368012d34c14006aa4840000100e62f..."} 
[2026-08-28 04:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045594368012d34c14006aa4840000100e62f..."} 
[2026-08-28 04:06:10] local.INFO: Processing buffer {"connection_id":163488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045594368012d34c14006aa4840000100e62f..."} 
[2026-08-28 04:06:10] local.INFO: Packet analysis {"connection_id":163488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04559"} 
[2026-08-28 04:06:10] local.INFO: Extracted packet for processing {"connection_id":163488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04559"} 
[2026-08-28 04:06:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":1,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694610432001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:06:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:06:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:06:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 04:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787869873000,"timestamp_ms":1787869873000,"timestamp_seconds":1787869873,"priority":1,"record_length":96,"hex_timestamp":"000001a045594368"} 
[2026-08-28 04:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:06:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 04:06:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:06:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:06:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694610432001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694610432001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:06:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 04:06:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694610432001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:06:10] 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":706249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:06:10] local.INFO: GPS data processed {"connection_id":163488,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:06:10] local.INFO: Acknowledgment sent {"connection_id":163488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:06:35] local.INFO: TCP Data received {"connection_id":163232,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:06:35] local.INFO: Processing buffer {"connection_id":163232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:06:35] local.INFO: IMEI packet received {"connection_id":163232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 04:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":163232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:06:37] local.INFO: TCP Data received {"connection_id":163232,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:06:37] local.INFO: Processing buffer {"connection_id":163232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:06:37] local.INFO: IMEI packet received {"connection_id":163232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 04:06:37] local.INFO: IMEI acknowledgment sent {"connection_id":163232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 04:06:42] local.INFO: TCP Data received {"connection_id":163232,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a045594368012d34c14006aa4840000100e62f..."} 
[2026-08-28 04:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045594368012d34c14006aa4840000100e62f..."} 
[2026-08-28 04:06:42] local.INFO: Processing buffer {"connection_id":163232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045594368012d34c14006aa4840000100e62f..."} 
[2026-08-28 04:06:42] local.INFO: Packet analysis {"connection_id":163232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04559"} 
[2026-08-28 04:06:42] local.INFO: Extracted packet for processing {"connection_id":163232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04559"} 
[2026-08-28 04:06:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":1,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04: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-28 04:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694610432001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:06:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:06:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:06:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 04:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787869873000,"timestamp_ms":1787869873000,"timestamp_seconds":1787869873,"priority":1,"record_length":96,"hex_timestamp":"000001a045594368"} 
[2026-08-28 04: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-28 04:06:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04: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-28 04: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-28 04: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-28 04: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-28 04:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04: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-28 04:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694610432001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694610432001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:06:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04: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-28 04:06:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694610432001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:06:42] local.INFO: DEBUG: GPS processor result {"connection_id":163232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:06:42] local.INFO: GPS data processed {"connection_id":163232,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:06:42] local.INFO: Acknowledgment sent {"connection_id":163232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:07:13] local.INFO: TCP Data received {"connection_id":165843,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 04:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165843,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 04:07:13] local.INFO: Processing buffer {"connection_id":165843,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 04:07:13] local.INFO: IMEI packet received {"connection_id":165843,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 04:07:13] local.INFO: IMEI acknowledgment sent {"connection_id":165843,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:07:14] local.INFO: TCP Data received {"connection_id":163232,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0455ddb30012d34c14006aa4840000600e630..."} 
[2026-08-28 04:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0455ddb30012d34c14006aa4840000600e630..."} 
[2026-08-28 04:07:14] local.INFO: Processing buffer {"connection_id":163232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0455ddb30012d34c14006aa4840000600e630..."} 
[2026-08-28 04:07:14] local.INFO: Packet analysis {"connection_id":163232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0455d"} 
[2026-08-28 04:07:14] local.INFO: Extracted packet for processing {"connection_id":163232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0455d"} 
[2026-08-28 04:07:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":6,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04: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-28 04:07:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694687488001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:07:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:07:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:07:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:07: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-28 04:07:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787870174000,"timestamp_ms":1787870174000,"timestamp_seconds":1787870174,"priority":1,"record_length":96,"hex_timestamp":"000001a0455ddb30"} 
[2026-08-28 04: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-28 04:07:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04: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-28 04: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-28 04: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-28 04: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-28 04:07:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:07:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:07:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:07:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04: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-28 04:07:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:07:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:07:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694687488001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:07:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:07:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:07:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694687488001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:07:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04: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-28 04:07:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:07:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694687488001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:07:14] local.INFO: DEBUG: GPS processor result {"connection_id":163232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:07:14] local.INFO: GPS data processed {"connection_id":163232,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:07:14] local.INFO: Acknowledgment sent {"connection_id":163232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:07:32] local.INFO: TCP Data received {"connection_id":164495,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:07:32] local.INFO: Processing buffer {"connection_id":164495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:07:32] local.INFO: IMEI packet received {"connection_id":164495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 04:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":164495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:07:37] local.INFO: TCP Data received {"connection_id":164495,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:07:37] local.INFO: Processing buffer {"connection_id":164495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:07:37] local.INFO: IMEI packet received {"connection_id":164495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 04:07:37] local.INFO: IMEI acknowledgment sent {"connection_id":164495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 04:07:38] local.INFO: TCP Data received {"connection_id":164495,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0455ddb30012d34c14006aa4840000600e630..."} 
[2026-08-28 04:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0455ddb30012d34c14006aa4840000600e630..."} 
[2026-08-28 04:07:38] local.INFO: Processing buffer {"connection_id":164495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0455ddb30012d34c14006aa4840000600e630..."} 
[2026-08-28 04:07:38] local.INFO: Packet analysis {"connection_id":164495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0455d"} 
[2026-08-28 04:07:38] local.INFO: Extracted packet for processing {"connection_id":164495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0455d"} 
[2026-08-28 04:07:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":6,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694687488001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:07:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:07: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-28 04:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787870174000,"timestamp_ms":1787870174000,"timestamp_seconds":1787870174,"priority":1,"record_length":96,"hex_timestamp":"000001a0455ddb30"} 
[2026-08-28 04:07:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:07:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:07:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:07:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:07:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:07:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694687488001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694687488001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:07:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:07: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-28 04:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694687488001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":164495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:07:38] local.INFO: GPS data processed {"connection_id":164495,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:07:38] local.INFO: Acknowledgment sent {"connection_id":164495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:07:58] local.INFO: TCP Data received {"connection_id":163233,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 04:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163233,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 04:07:58] local.INFO: Processing buffer {"connection_id":163233,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 04:07:58] local.INFO: IMEI packet received {"connection_id":163233,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 04:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":163233,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:08:09] local.INFO: TCP Data received {"connection_id":164495,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0455ddb30012d34c14006aa4840000600e630..."} 
[2026-08-28 04:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0455ddb30012d34c14006aa4840000600e630..."} 
[2026-08-28 04:08:10] local.INFO: Processing buffer {"connection_id":164495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0455ddb30012d34c14006aa4840000600e630..."} 
[2026-08-28 04:08:10] local.INFO: Packet analysis {"connection_id":164495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0455d"} 
[2026-08-28 04:08:10] local.INFO: Extracted packet for processing {"connection_id":164495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0455d"} 
[2026-08-28 04:08:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":6,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694687488001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:08:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 04:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787870174000,"timestamp_ms":1787870174000,"timestamp_seconds":1787870174,"priority":1,"record_length":96,"hex_timestamp":"000001a0455ddb30"} 
[2026-08-28 04:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:08:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:08:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":164495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":164495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":164495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:08:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694687488001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694687488001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:08:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 04:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694687488001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":164495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:08:10] local.INFO: GPS data processed {"connection_id":164495,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:08:10] local.INFO: Acknowledgment sent {"connection_id":164495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:08:32] local.INFO: TCP Data received {"connection_id":164496,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:08:32] local.INFO: Processing buffer {"connection_id":164496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:08:32] local.INFO: IMEI packet received {"connection_id":164496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 04:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":164496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:08:37] local.INFO: TCP Data received {"connection_id":164496,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:08:37] local.INFO: Processing buffer {"connection_id":164496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:08:37] local.INFO: IMEI packet received {"connection_id":164496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 04:08:37] local.INFO: IMEI acknowledgment sent {"connection_id":164496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 04:08:38] local.INFO: TCP Data received {"connection_id":164496,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0455ddb30012d34c14006aa4840000600e630..."} 
[2026-08-28 04:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0455ddb30012d34c14006aa4840000600e630..."} 
[2026-08-28 04:08:38] local.INFO: Processing buffer {"connection_id":164496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0455ddb30012d34c14006aa4840000600e630..."} 
[2026-08-28 04:08:38] local.INFO: Packet analysis {"connection_id":164496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0455d"} 
[2026-08-28 04:08:38] local.INFO: Extracted packet for processing {"connection_id":164496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0455d"} 
[2026-08-28 04:08:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":6,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694687488001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:08:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:08: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-28 04:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787870174000,"timestamp_ms":1787870174000,"timestamp_seconds":1787870174,"priority":1,"record_length":96,"hex_timestamp":"000001a0455ddb30"} 
[2026-08-28 04:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:08:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694687488001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694687488001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:08:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:08: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-28 04:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694687488001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":164496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:08:38] local.INFO: GPS data processed {"connection_id":164496,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:08:38] local.INFO: Acknowledgment sent {"connection_id":164496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:09:10] local.INFO: TCP Data received {"connection_id":164496,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0455ddb30012d34c14006aa4840000600e630..."} 
[2026-08-28 04:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0455ddb30012d34c14006aa4840000600e630..."} 
[2026-08-28 04:09:10] local.INFO: Processing buffer {"connection_id":164496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0455ddb30012d34c14006aa4840000600e630..."} 
[2026-08-28 04:09:10] local.INFO: Packet analysis {"connection_id":164496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0455d"} 
[2026-08-28 04:09:10] local.INFO: Extracted packet for processing {"connection_id":164496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0455d"} 
[2026-08-28 04:09:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":6,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694687488001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:09:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:09:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 04:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787870174000,"timestamp_ms":1787870174000,"timestamp_seconds":1787870174,"priority":1,"record_length":96,"hex_timestamp":"000001a0455ddb30"} 
[2026-08-28 04:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:09:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:09:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:09:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":164496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":164496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":164496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:09:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694687488001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694687488001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:09:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 04:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694687488001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":164496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:09:10] local.INFO: GPS data processed {"connection_id":164496,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:09:10] local.INFO: Acknowledgment sent {"connection_id":164496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:09:38] local.INFO: TCP Data received {"connection_id":163489,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:09:38] local.INFO: Processing buffer {"connection_id":163489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:09:38] local.INFO: IMEI packet received {"connection_id":163489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 04:09:38] local.INFO: IMEI acknowledgment sent {"connection_id":163489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:09:42] local.INFO: TCP Data received {"connection_id":163489,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:09:42] local.INFO: Processing buffer {"connection_id":163489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:09:42] local.INFO: IMEI packet received {"connection_id":163489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 04:09:42] local.INFO: IMEI acknowledgment sent {"connection_id":163489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 04:09:43] local.INFO: TCP Data received {"connection_id":163489,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0455ddb30012d34c14006aa4840000600e630..."} 
[2026-08-28 04:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0455ddb30012d34c14006aa4840000600e630..."} 
[2026-08-28 04:09:43] local.INFO: Processing buffer {"connection_id":163489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0455ddb30012d34c14006aa4840000600e630..."} 
[2026-08-28 04:09:43] local.INFO: Packet analysis {"connection_id":163489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0455d"} 
[2026-08-28 04:09:43] local.INFO: Extracted packet for processing {"connection_id":163489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0455d"} 
[2026-08-28 04:09:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":6,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04: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-28 04:09:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694687488001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:09:43] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:09:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:09:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:09: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-28 04:09:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787870174000,"timestamp_ms":1787870174000,"timestamp_seconds":1787870174,"priority":1,"record_length":96,"hex_timestamp":"000001a0455ddb30"} 
[2026-08-28 04: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-28 04:09:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:09: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-28 04: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-28 04: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-28 04:09:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:09:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:09:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:09:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:09: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-28 04:09:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:09:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:09:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694687488001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:09:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:09:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:09:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694687488001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:09:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04: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-28 04:09:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:09:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694687488001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:09:43] local.INFO: DEBUG: GPS processor result {"connection_id":163489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:09:43] local.INFO: GPS data processed {"connection_id":163489,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:09:43] local.INFO: Acknowledgment sent {"connection_id":163489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:09:47] local.INFO: TCP Data received {"connection_id":163489,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0455ddb30012d34c14006aa4840000600e630..."} 
[2026-08-28 04:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0455ddb30012d34c14006aa4840000600e630..."} 
[2026-08-28 04:09:47] local.INFO: Processing buffer {"connection_id":163489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0455ddb30012d34c14006aa4840000600e630..."} 
[2026-08-28 04:09:47] local.INFO: Packet analysis {"connection_id":163489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0455d"} 
[2026-08-28 04:09:47] local.INFO: Extracted packet for processing {"connection_id":163489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0455d"} 
[2026-08-28 04:09:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":6,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04: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-28 04:09:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694687488001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:09:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:09:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:09:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:09: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-28 04:09:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787870174000,"timestamp_ms":1787870174000,"timestamp_seconds":1787870174,"priority":1,"record_length":96,"hex_timestamp":"000001a0455ddb30"} 
[2026-08-28 04: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-28 04:09:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04: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":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:09: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-28 04: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-28 04: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-28 04:09:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:09:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:09:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:09:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04: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-28 04:09:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:09:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:09:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694687488001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:09:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:09:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:09:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694687488001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:09:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04: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-28 04:09:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:09:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694687488001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:09:47] local.INFO: DEBUG: GPS processor result {"connection_id":163489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:09:47] local.INFO: GPS data processed {"connection_id":163489,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:09:47] local.INFO: Acknowledgment sent {"connection_id":163489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:10:32] local.INFO: TCP Data received {"connection_id":163234,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:10:32] local.INFO: Processing buffer {"connection_id":163234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:10:32] local.INFO: IMEI packet received {"connection_id":163234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 04:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":163234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:10:37] local.INFO: TCP Data received {"connection_id":163234,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:10:37] local.INFO: Processing buffer {"connection_id":163234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:10:37] local.INFO: IMEI packet received {"connection_id":163234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 04:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":163234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 04:10:38] local.INFO: TCP Data received {"connection_id":163234,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0455ddb30012d34c14006aa4840000600e630..."} 
[2026-08-28 04:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0455ddb30012d34c14006aa4840000600e630..."} 
[2026-08-28 04:10:38] local.INFO: Processing buffer {"connection_id":163234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0455ddb30012d34c14006aa4840000600e630..."} 
[2026-08-28 04:10:38] local.INFO: Packet analysis {"connection_id":163234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0455d"} 
[2026-08-28 04:10:38] local.INFO: Extracted packet for processing {"connection_id":163234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0455d"} 
[2026-08-28 04:10:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":6,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694687488001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:10:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:10: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-28 04:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787870174000,"timestamp_ms":1787870174000,"timestamp_seconds":1787870174,"priority":1,"record_length":96,"hex_timestamp":"000001a0455ddb30"} 
[2026-08-28 04:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:10:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694687488001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694687488001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:10:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:10: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-28 04:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694687488001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":163234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:10:38] local.INFO: GPS data processed {"connection_id":163234,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:10:38] local.INFO: Acknowledgment sent {"connection_id":163234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:11:10] local.INFO: TCP Data received {"connection_id":163234,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0455ddb30012d34c14006aa4840000600e630..."} 
[2026-08-28 04:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0455ddb30012d34c14006aa4840000600e630..."} 
[2026-08-28 04:11:10] local.INFO: Processing buffer {"connection_id":163234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0455ddb30012d34c14006aa4840000600e630..."} 
[2026-08-28 04:11:10] local.INFO: Packet analysis {"connection_id":163234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0455d"} 
[2026-08-28 04:11:10] local.INFO: Extracted packet for processing {"connection_id":163234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0455d"} 
[2026-08-28 04:11:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":6,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694687488001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:11:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:11:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 04:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787870174000,"timestamp_ms":1787870174000,"timestamp_seconds":1787870174,"priority":1,"record_length":96,"hex_timestamp":"000001a0455ddb30"} 
[2026-08-28 04:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:11:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:11:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:11:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:11:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694687488001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694687488001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:11:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 04:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694687488001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":163234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:11:10] local.INFO: GPS data processed {"connection_id":163234,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:11:10] local.INFO: Acknowledgment sent {"connection_id":163234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:11:32] local.INFO: TCP Data received {"connection_id":164498,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:11:32] local.INFO: Processing buffer {"connection_id":164498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:11:32] local.INFO: IMEI packet received {"connection_id":164498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 04:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":164498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:11:37] local.INFO: TCP Data received {"connection_id":164498,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:11:37] local.INFO: Processing buffer {"connection_id":164498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:11:37] local.INFO: IMEI packet received {"connection_id":164498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 04:11:37] local.INFO: IMEI acknowledgment sent {"connection_id":164498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 04:11:38] local.INFO: TCP Data received {"connection_id":164498,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0455ddb30012d34c14006aa4840000600e630..."} 
[2026-08-28 04:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0455ddb30012d34c14006aa4840000600e630..."} 
[2026-08-28 04:11:38] local.INFO: Processing buffer {"connection_id":164498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0455ddb30012d34c14006aa4840000600e630..."} 
[2026-08-28 04:11:38] local.INFO: Packet analysis {"connection_id":164498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0455d"} 
[2026-08-28 04:11:38] local.INFO: Extracted packet for processing {"connection_id":164498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0455d"} 
[2026-08-28 04:11:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":6,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694687488001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:11:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:11: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-28 04:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787870174000,"timestamp_ms":1787870174000,"timestamp_seconds":1787870174,"priority":1,"record_length":96,"hex_timestamp":"000001a0455ddb30"} 
[2026-08-28 04:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:11:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:11:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:11:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694687488001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694687488001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:11:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:11: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-28 04:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694687488001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":164498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:11:38] local.INFO: GPS data processed {"connection_id":164498,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:11:38] local.INFO: Acknowledgment sent {"connection_id":164498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:12:10] local.INFO: TCP Data received {"connection_id":164498,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0456272f8012d34c14006aa4840000800e631..."} 
[2026-08-28 04:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0456272f8012d34c14006aa4840000800e631..."} 
[2026-08-28 04:12:10] local.INFO: Processing buffer {"connection_id":164498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0456272f8012d34c14006aa4840000800e631..."} 
[2026-08-28 04:12:10] local.INFO: Packet analysis {"connection_id":164498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04562"} 
[2026-08-28 04:12:10] local.INFO: Extracted packet for processing {"connection_id":164498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04562"} 
[2026-08-28 04:12:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":8,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694764544001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:12:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:12:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:12:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 04:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787870475000,"timestamp_ms":1787870475000,"timestamp_seconds":1787870475,"priority":1,"record_length":96,"hex_timestamp":"000001a0456272f8"} 
[2026-08-28 04:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:12:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:12:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:12:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":164498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":164498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":164498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:12:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694764544001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694764544001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:12:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 04:12:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694764544001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":164498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:12:10] local.INFO: GPS data processed {"connection_id":164498,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:12:10] local.INFO: Acknowledgment sent {"connection_id":164498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:12:32] local.INFO: TCP Data received {"connection_id":165846,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:12:32] local.INFO: Processing buffer {"connection_id":165846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:12:32] local.INFO: IMEI packet received {"connection_id":165846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 04:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":165846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:12:37] local.INFO: TCP Data received {"connection_id":165846,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:12:37] local.INFO: Processing buffer {"connection_id":165846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:12:37] local.INFO: IMEI packet received {"connection_id":165846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 04:12:37] local.INFO: IMEI acknowledgment sent {"connection_id":165846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 04:12:38] local.INFO: TCP Data received {"connection_id":165846,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0456272f8012d34c14006aa4840000800e631..."} 
[2026-08-28 04:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0456272f8012d34c14006aa4840000800e631..."} 
[2026-08-28 04:12:38] local.INFO: Processing buffer {"connection_id":165846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0456272f8012d34c14006aa4840000800e631..."} 
[2026-08-28 04:12:38] local.INFO: Packet analysis {"connection_id":165846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04562"} 
[2026-08-28 04:12:38] local.INFO: Extracted packet for processing {"connection_id":165846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04562"} 
[2026-08-28 04:12:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":8,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04: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-28 04:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694764544001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:12:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04: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-28 04:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787870475000,"timestamp_ms":1787870475000,"timestamp_seconds":1787870475,"priority":1,"record_length":96,"hex_timestamp":"000001a0456272f8"} 
[2026-08-28 04: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-28 04:12:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:12:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04: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-28 04: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-28 04:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":165846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":165846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":165846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694764544001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694764544001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:12:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04: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-28 04:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694764544001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":165846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:12:38] local.INFO: GPS data processed {"connection_id":165846,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:12:38] local.INFO: Acknowledgment sent {"connection_id":165846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:13:10] local.INFO: TCP Data received {"connection_id":165846,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0456272f8012d34c14006aa4840000800e631..."} 
[2026-08-28 04:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0456272f8012d34c14006aa4840000800e631..."} 
[2026-08-28 04:13:10] local.INFO: Processing buffer {"connection_id":165846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0456272f8012d34c14006aa4840000800e631..."} 
[2026-08-28 04:13:10] local.INFO: Packet analysis {"connection_id":165846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04562"} 
[2026-08-28 04:13:10] local.INFO: Extracted packet for processing {"connection_id":165846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04562"} 
[2026-08-28 04:13:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":8,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694764544001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:13:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:13:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:13:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 04:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787870475000,"timestamp_ms":1787870475000,"timestamp_seconds":1787870475,"priority":1,"record_length":96,"hex_timestamp":"000001a0456272f8"} 
[2026-08-28 04:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:13:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:13:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:13:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":165846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":165846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":165846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:13:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694764544001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694764544001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:13:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 04:13:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694764544001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":165846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:13:10] local.INFO: GPS data processed {"connection_id":165846,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:13:10] local.INFO: Acknowledgment sent {"connection_id":165846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:13:33] local.INFO: TCP Data received {"connection_id":165847,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 04:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165847,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 04:13:33] local.INFO: Processing buffer {"connection_id":165847,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 04:13:33] local.INFO: IMEI packet received {"connection_id":165847,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 04:13:33] local.INFO: IMEI acknowledgment sent {"connection_id":165847,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:13:37] local.INFO: TCP Data received {"connection_id":163235,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:13:37] local.INFO: Processing buffer {"connection_id":163235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:13:37] local.INFO: IMEI packet received {"connection_id":163235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 04:13:37] local.INFO: IMEI acknowledgment sent {"connection_id":163235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:13:42] local.INFO: TCP Data received {"connection_id":163235,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:13:42] local.INFO: Processing buffer {"connection_id":163235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:13:42] local.INFO: IMEI packet received {"connection_id":163235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 04:13:42] local.INFO: IMEI acknowledgment sent {"connection_id":163235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 04:13:43] local.INFO: TCP Data received {"connection_id":163235,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0456272f8012d34c14006aa4840000800e631..."} 
[2026-08-28 04:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0456272f8012d34c14006aa4840000800e631..."} 
[2026-08-28 04:13:43] local.INFO: Processing buffer {"connection_id":163235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0456272f8012d34c14006aa4840000800e631..."} 
[2026-08-28 04:13:43] local.INFO: Packet analysis {"connection_id":163235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04562"} 
[2026-08-28 04:13:43] local.INFO: Extracted packet for processing {"connection_id":163235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04562"} 
[2026-08-28 04:13:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":8,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04: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-28 04:13:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694764544001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:13:43] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:13:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:13:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:13: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-28 04:13:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787870475000,"timestamp_ms":1787870475000,"timestamp_seconds":1787870475,"priority":1,"record_length":96,"hex_timestamp":"000001a0456272f8"} 
[2026-08-28 04: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-28 04:13:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04: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":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:13: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-28 04: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-28 04: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-28 04:13:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:13:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:13:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:13:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04: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-28 04:13:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:13:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:13:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694764544001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:13:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:13:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:13:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694764544001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:13:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04: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-28 04:13:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:13:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694764544001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:13:43] local.INFO: DEBUG: GPS processor result {"connection_id":163235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:13:43] local.INFO: GPS data processed {"connection_id":163235,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:13:43] local.INFO: Acknowledgment sent {"connection_id":163235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:13:47] local.INFO: TCP Data received {"connection_id":163235,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0456272f8012d34c14006aa4840000800e631..."} 
[2026-08-28 04:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0456272f8012d34c14006aa4840000800e631..."} 
[2026-08-28 04:13:47] local.INFO: Processing buffer {"connection_id":163235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0456272f8012d34c14006aa4840000800e631..."} 
[2026-08-28 04:13:47] local.INFO: Packet analysis {"connection_id":163235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04562"} 
[2026-08-28 04:13:47] local.INFO: Extracted packet for processing {"connection_id":163235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04562"} 
[2026-08-28 04:13:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":8,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04: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-28 04:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694764544001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:13:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:13:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:13: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-28 04:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787870475000,"timestamp_ms":1787870475000,"timestamp_seconds":1787870475,"priority":1,"record_length":96,"hex_timestamp":"000001a0456272f8"} 
[2026-08-28 04: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-28 04:13:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:13: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-28 04: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-28 04: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-28 04:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:13: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-28 04:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694764544001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694764544001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:13:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04: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-28 04:13:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694764544001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":163235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:13:47] local.INFO: GPS data processed {"connection_id":163235,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:13:47] local.INFO: Acknowledgment sent {"connection_id":163235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:14:32] local.INFO: TCP Data received {"connection_id":163490,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:14:32] local.INFO: Processing buffer {"connection_id":163490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:14:32] local.INFO: IMEI packet received {"connection_id":163490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 04:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":163490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:14:37] local.INFO: TCP Data received {"connection_id":163490,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:14:37] local.INFO: Processing buffer {"connection_id":163490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:14:37] local.INFO: IMEI packet received {"connection_id":163490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 04:14:37] local.INFO: IMEI acknowledgment sent {"connection_id":163490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 04:14:38] local.INFO: TCP Data received {"connection_id":163490,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0456272f8012d34c14006aa4840000800e631..."} 
[2026-08-28 04:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0456272f8012d34c14006aa4840000800e631..."} 
[2026-08-28 04:14:38] local.INFO: Processing buffer {"connection_id":163490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0456272f8012d34c14006aa4840000800e631..."} 
[2026-08-28 04:14:38] local.INFO: Packet analysis {"connection_id":163490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04562"} 
[2026-08-28 04:14:38] local.INFO: Extracted packet for processing {"connection_id":163490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04562"} 
[2026-08-28 04:14:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":8,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694764544001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:14:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:14: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-28 04:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787870475000,"timestamp_ms":1787870475000,"timestamp_seconds":1787870475,"priority":1,"record_length":96,"hex_timestamp":"000001a0456272f8"} 
[2026-08-28 04:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:14:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:14:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694764544001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694764544001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:14:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:14: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-28 04:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694764544001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:14:38] 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":706266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:14:38] local.INFO: GPS data processed {"connection_id":163490,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:14:38] local.INFO: Acknowledgment sent {"connection_id":163490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:15:10] local.INFO: TCP Data received {"connection_id":163490,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0456272f8012d34c14006aa4840000800e631..."} 
[2026-08-28 04:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0456272f8012d34c14006aa4840000800e631..."} 
[2026-08-28 04:15:10] local.INFO: Processing buffer {"connection_id":163490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0456272f8012d34c14006aa4840000800e631..."} 
[2026-08-28 04:15:10] local.INFO: Packet analysis {"connection_id":163490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04562"} 
[2026-08-28 04:15:10] local.INFO: Extracted packet for processing {"connection_id":163490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04562"} 
[2026-08-28 04:15:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":8,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694764544001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:15:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:15:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 04:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787870475000,"timestamp_ms":1787870475000,"timestamp_seconds":1787870475,"priority":1,"record_length":96,"hex_timestamp":"000001a0456272f8"} 
[2026-08-28 04:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:15:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:15:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:15:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:15:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694764544001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694764544001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:15:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 04:15:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694764544001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:15:10] 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":706267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:15:10] local.INFO: GPS data processed {"connection_id":163490,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:15:10] local.INFO: Acknowledgment sent {"connection_id":163490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:15:32] local.INFO: TCP Data received {"connection_id":164499,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:15:32] local.INFO: Processing buffer {"connection_id":164499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:15:32] local.INFO: IMEI packet received {"connection_id":164499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 04:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":164499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:15:38] local.INFO: TCP Data received {"connection_id":164499,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:15:38] local.INFO: Processing buffer {"connection_id":164499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:15:38] local.INFO: IMEI packet received {"connection_id":164499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 04:15:38] local.INFO: IMEI acknowledgment sent {"connection_id":164499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 04:15:39] local.INFO: TCP Data received {"connection_id":164499,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0456272f8012d34c14006aa4840000800e631..."} 
[2026-08-28 04:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0456272f8012d34c14006aa4840000800e631..."} 
[2026-08-28 04:15:39] local.INFO: Processing buffer {"connection_id":164499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0456272f8012d34c14006aa4840000800e631..."} 
[2026-08-28 04:15:39] local.INFO: Packet analysis {"connection_id":164499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04562"} 
[2026-08-28 04:15:39] local.INFO: Extracted packet for processing {"connection_id":164499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04562"} 
[2026-08-28 04:15:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":8,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694764544001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:15:39] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:15:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:15:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 04:15:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787870475000,"timestamp_ms":1787870475000,"timestamp_seconds":1787870475,"priority":1,"record_length":96,"hex_timestamp":"000001a0456272f8"} 
[2026-08-28 04:15:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:15:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:15:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:15:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:15:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":164499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":164499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":164499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:15:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:15:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:15:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:15:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694764544001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:15:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:15:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:15:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694764544001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:15:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:15:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 04:15:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:15:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694764544001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:15:39] local.INFO: DEBUG: GPS processor result {"connection_id":164499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:15:39] local.INFO: GPS data processed {"connection_id":164499,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:15:39] local.INFO: Acknowledgment sent {"connection_id":164499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:16:11] local.INFO: TCP Data received {"connection_id":164499,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0456272f8012d34c14006aa4840000800e631..."} 
[2026-08-28 04:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0456272f8012d34c14006aa4840000800e631..."} 
[2026-08-28 04:16:11] local.INFO: Processing buffer {"connection_id":164499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0456272f8012d34c14006aa4840000800e631..."} 
[2026-08-28 04:16:11] local.INFO: Packet analysis {"connection_id":164499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04562"} 
[2026-08-28 04:16:11] local.INFO: Extracted packet for processing {"connection_id":164499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04562"} 
[2026-08-28 04:16:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":8,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694764544001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:16:11] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:16:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:16: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-28 04:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787870475000,"timestamp_ms":1787870475000,"timestamp_seconds":1787870475,"priority":1,"record_length":96,"hex_timestamp":"000001a0456272f8"} 
[2026-08-28 04:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:16:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:16: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-28 04:16:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":164499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":164499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":164499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:16:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694764544001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694764544001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:16:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:16: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-28 04:16:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694764544001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":164499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:16:11] local.INFO: GPS data processed {"connection_id":164499,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:16:11] local.INFO: Acknowledgment sent {"connection_id":164499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:16:32] local.INFO: TCP Data received {"connection_id":165848,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:16:32] local.INFO: Processing buffer {"connection_id":165848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:16:32] local.INFO: IMEI packet received {"connection_id":165848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 04:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":165848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:16:37] local.INFO: TCP Data received {"connection_id":165848,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:16:37] local.INFO: Processing buffer {"connection_id":165848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:16:37] local.INFO: IMEI packet received {"connection_id":165848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 04:16:37] local.INFO: IMEI acknowledgment sent {"connection_id":165848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 04:16:38] local.INFO: TCP Data received {"connection_id":165848,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0456272f8012d34c14006aa4840000800e631..."} 
[2026-08-28 04:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0456272f8012d34c14006aa4840000800e631..."} 
[2026-08-28 04:16:38] local.INFO: Processing buffer {"connection_id":165848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0456272f8012d34c14006aa4840000800e631..."} 
[2026-08-28 04:16:38] local.INFO: Packet analysis {"connection_id":165848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04562"} 
[2026-08-28 04:16:38] local.INFO: Extracted packet for processing {"connection_id":165848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04562"} 
[2026-08-28 04:16:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":8,"angle":230,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694764544001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:16:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:16:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:16: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-28 04:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787870475000,"timestamp_ms":1787870475000,"timestamp_seconds":1787870475,"priority":1,"record_length":96,"hex_timestamp":"000001a0456272f8"} 
[2026-08-28 04:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:16:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:16:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:16:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":165848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":165848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":165848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:16:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694764544001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694764544001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:16:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:16: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-28 04:16:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694764544001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":165848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:16:38] local.INFO: GPS data processed {"connection_id":165848,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:16:38] local.INFO: Acknowledgment sent {"connection_id":165848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:17:12] local.INFO: TCP Data received {"connection_id":165848,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a045670ac0012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045670ac0012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:17:12] local.INFO: Processing buffer {"connection_id":165848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045670ac0012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:17:12] local.INFO: Packet analysis {"connection_id":165848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04567"} 
[2026-08-28 04:17:12] local.INFO: Extracted packet for processing {"connection_id":165848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04567"} 
[2026-08-28 04:17:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694841600001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:17:12] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:17:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:17:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 04:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787870776000,"timestamp_ms":1787870776000,"timestamp_seconds":1787870776,"priority":1,"record_length":96,"hex_timestamp":"000001a045670ac0"} 
[2026-08-28 04:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:17:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:17: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-28 04:17:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":165848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":165848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":165848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:17:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694841600001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694841600001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:17:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:17: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-28 04:17:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694841600001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:17:12] local.INFO: DEBUG: GPS processor result {"connection_id":165848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:17:12] local.INFO: GPS data processed {"connection_id":165848,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:17:12] local.INFO: Acknowledgment sent {"connection_id":165848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:17:32] local.INFO: TCP Data received {"connection_id":163491,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:17:32] local.INFO: Processing buffer {"connection_id":163491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:17:32] local.INFO: IMEI packet received {"connection_id":163491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 04:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":163491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:17:37] local.INFO: TCP Data received {"connection_id":163491,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:17:37] local.INFO: Processing buffer {"connection_id":163491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:17:37] local.INFO: IMEI packet received {"connection_id":163491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 04:17:37] local.INFO: IMEI acknowledgment sent {"connection_id":163491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 04:17:38] local.INFO: TCP Data received {"connection_id":163491,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a045670ac0012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045670ac0012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:17:38] local.INFO: Processing buffer {"connection_id":163491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045670ac0012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:17:38] local.INFO: Packet analysis {"connection_id":163491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04567"} 
[2026-08-28 04:17:38] local.INFO: Extracted packet for processing {"connection_id":163491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04567"} 
[2026-08-28 04:17:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694841600001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:17:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:17: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-28 04:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787870776000,"timestamp_ms":1787870776000,"timestamp_seconds":1787870776,"priority":1,"record_length":96,"hex_timestamp":"000001a045670ac0"} 
[2026-08-28 04:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:17:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:17:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:17:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694841600001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694841600001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:17:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:17: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-28 04:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694841600001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:17:38] 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":706272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:17:38] local.INFO: GPS data processed {"connection_id":163491,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:17:38] local.INFO: Acknowledgment sent {"connection_id":163491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:18:10] local.INFO: TCP Data received {"connection_id":163491,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a045670ac0012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045670ac0012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:18:10] local.INFO: Processing buffer {"connection_id":163491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045670ac0012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:18:10] local.INFO: Packet analysis {"connection_id":163491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04567"} 
[2026-08-28 04:18:10] local.INFO: Extracted packet for processing {"connection_id":163491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04567"} 
[2026-08-28 04:18:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694841600001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:18:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:18:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 04:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787870776000,"timestamp_ms":1787870776000,"timestamp_seconds":1787870776,"priority":1,"record_length":96,"hex_timestamp":"000001a045670ac0"} 
[2026-08-28 04:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:18:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:18:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:18:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:18:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694841600001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694841600001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:18:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 04:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694841600001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:18:10] 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":706273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:18:10] local.INFO: GPS data processed {"connection_id":163491,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:18:10] local.INFO: Acknowledgment sent {"connection_id":163491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:18:37] local.INFO: TCP Data received {"connection_id":165849,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:18:37] local.INFO: Processing buffer {"connection_id":165849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:18:37] local.INFO: IMEI packet received {"connection_id":165849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 04:18:37] local.INFO: IMEI acknowledgment sent {"connection_id":165849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:18:42] local.INFO: TCP Data received {"connection_id":165849,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:18:42] local.INFO: Processing buffer {"connection_id":165849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:18:42] local.INFO: IMEI packet received {"connection_id":165849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 04:18:42] local.INFO: IMEI acknowledgment sent {"connection_id":165849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 04:18:43] local.INFO: TCP Data received {"connection_id":165849,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a045670ac0012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045670ac0012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:18:43] local.INFO: Processing buffer {"connection_id":165849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045670ac0012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:18:43] local.INFO: Packet analysis {"connection_id":165849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04567"} 
[2026-08-28 04:18:43] local.INFO: Extracted packet for processing {"connection_id":165849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04567"} 
[2026-08-28 04:18:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04: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-28 04:18:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694841600001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:18:43] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:18:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:18:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:18: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-28 04:18:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787870776000,"timestamp_ms":1787870776000,"timestamp_seconds":1787870776,"priority":1,"record_length":96,"hex_timestamp":"000001a045670ac0"} 
[2026-08-28 04: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-28 04:18:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04: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-28 04: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-28 04: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-28 04: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-28 04:18:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:18:43] local.INFO: Teltonika packet parsed successfully {"connection_id":165849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:18:43] local.INFO: Passing IMEI to GPS processor {"connection_id":165849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:18:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":165849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:18: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-28 04:18:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:18:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:18:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694841600001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:18:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:18:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:18:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694841600001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:18:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04: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-28 04:18:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:18:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694841600001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:18:43] local.INFO: DEBUG: GPS processor result {"connection_id":165849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:18:43] local.INFO: GPS data processed {"connection_id":165849,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:18:43] local.INFO: Acknowledgment sent {"connection_id":165849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:18:47] local.INFO: TCP Data received {"connection_id":165849,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a045670ac0012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045670ac0012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:18:47] local.INFO: Processing buffer {"connection_id":165849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045670ac0012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:18:47] local.INFO: Packet analysis {"connection_id":165849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04567"} 
[2026-08-28 04:18:47] local.INFO: Extracted packet for processing {"connection_id":165849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04567"} 
[2026-08-28 04:18:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04: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-28 04:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694841600001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:18:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:18:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:18: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-28 04:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787870776000,"timestamp_ms":1787870776000,"timestamp_seconds":1787870776,"priority":1,"record_length":96,"hex_timestamp":"000001a045670ac0"} 
[2026-08-28 04: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-28 04:18:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:18: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-28 04: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-28 04: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-28 04:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":165849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":165849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":165849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:18: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-28 04:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694841600001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694841600001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:18:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04: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-28 04:18:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694841600001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":165849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:18:47] local.INFO: GPS data processed {"connection_id":165849,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:18:47] local.INFO: Acknowledgment sent {"connection_id":165849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:19:08] local.INFO: TCP Data received {"connection_id":163492,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 04:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163492,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 04:19:08] local.INFO: Processing buffer {"connection_id":163492,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 04:19:08] local.INFO: IMEI packet received {"connection_id":163492,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 04:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":163492,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:19:32] local.INFO: TCP Data received {"connection_id":164500,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:19:32] local.INFO: Processing buffer {"connection_id":164500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:19:32] local.INFO: IMEI packet received {"connection_id":164500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 04:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":164500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:19:37] local.INFO: TCP Data received {"connection_id":164500,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:19:37] local.INFO: Processing buffer {"connection_id":164500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:19:37] local.INFO: IMEI packet received {"connection_id":164500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 04:19:37] local.INFO: IMEI acknowledgment sent {"connection_id":164500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 04:19:38] local.INFO: TCP Data received {"connection_id":164500,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a045670ac0012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045670ac0012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:19:38] local.INFO: Processing buffer {"connection_id":164500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045670ac0012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:19:38] local.INFO: Packet analysis {"connection_id":164500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04567"} 
[2026-08-28 04:19:38] local.INFO: Extracted packet for processing {"connection_id":164500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04567"} 
[2026-08-28 04:19:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694841600001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:19:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:19: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-28 04:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787870776000,"timestamp_ms":1787870776000,"timestamp_seconds":1787870776,"priority":1,"record_length":96,"hex_timestamp":"000001a045670ac0"} 
[2026-08-28 04:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:19:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:19:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:19:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:19:38] 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-28 04:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694841600001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694841600001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:19:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:19: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-28 04:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694841600001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":164500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:19:38] local.INFO: GPS data processed {"connection_id":164500,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:19:38] local.INFO: Acknowledgment sent {"connection_id":164500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:20:09] local.INFO: TCP Data received {"connection_id":164500,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a045670ac0012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045670ac0012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:20:09] local.INFO: Processing buffer {"connection_id":164500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045670ac0012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:20:09] local.INFO: Packet analysis {"connection_id":164500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04567"} 
[2026-08-28 04:20:09] local.INFO: Extracted packet for processing {"connection_id":164500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04567"} 
[2026-08-28 04:20:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694841600001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:20:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:20: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-28 04:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787870776000,"timestamp_ms":1787870776000,"timestamp_seconds":1787870776,"priority":1,"record_length":96,"hex_timestamp":"000001a045670ac0"} 
[2026-08-28 04:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:20:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:20:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:20:09] 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-28 04:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694841600001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694841600001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:20:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:20: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-28 04:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694841600001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":164500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:20:09] local.INFO: GPS data processed {"connection_id":164500,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:20:09] local.INFO: Acknowledgment sent {"connection_id":164500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:20:32] local.INFO: TCP Data received {"connection_id":163493,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:20:32] local.INFO: Processing buffer {"connection_id":163493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:20:32] local.INFO: IMEI packet received {"connection_id":163493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 04:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":163493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:20:37] local.INFO: TCP Data received {"connection_id":163493,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:20:37] local.INFO: Processing buffer {"connection_id":163493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:20:37] local.INFO: IMEI packet received {"connection_id":163493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 04:20:37] local.INFO: IMEI acknowledgment sent {"connection_id":163493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 04:20:38] local.INFO: TCP Data received {"connection_id":163493,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a045670ac0012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045670ac0012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:20:38] local.INFO: Processing buffer {"connection_id":163493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045670ac0012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:20:38] local.INFO: Packet analysis {"connection_id":163493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04567"} 
[2026-08-28 04:20:38] local.INFO: Extracted packet for processing {"connection_id":163493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04567"} 
[2026-08-28 04:20:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694841600001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:20:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:20: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-28 04:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787870776000,"timestamp_ms":1787870776000,"timestamp_seconds":1787870776,"priority":1,"record_length":96,"hex_timestamp":"000001a045670ac0"} 
[2026-08-28 04:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:20:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:20:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694841600001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694841600001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:20:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:20: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-28 04:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694841600001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:20:38] 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":706278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:20:38] local.INFO: GPS data processed {"connection_id":163493,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:20:38] local.INFO: Acknowledgment sent {"connection_id":163493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:21:09] local.INFO: TCP Data received {"connection_id":163493,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a045670ac0012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045670ac0012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:21:09] local.INFO: Processing buffer {"connection_id":163493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045670ac0012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:21:09] local.INFO: Packet analysis {"connection_id":163493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04567"} 
[2026-08-28 04:21:09] local.INFO: Extracted packet for processing {"connection_id":163493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04567"} 
[2026-08-28 04:21:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694841600001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:21:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:21: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-28 04:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787870776000,"timestamp_ms":1787870776000,"timestamp_seconds":1787870776,"priority":1,"record_length":96,"hex_timestamp":"000001a045670ac0"} 
[2026-08-28 04:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:21:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:21:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:21: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-28 04:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694841600001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694841600001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:21:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:21: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-28 04:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694841600001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:21:09] 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":706279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:21:09] local.INFO: GPS data processed {"connection_id":163493,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:21:09] local.INFO: Acknowledgment sent {"connection_id":163493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:21:32] local.INFO: TCP Data received {"connection_id":163236,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:21:32] local.INFO: Processing buffer {"connection_id":163236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:21:32] local.INFO: IMEI packet received {"connection_id":163236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 04:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":163236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:21:37] local.INFO: TCP Data received {"connection_id":163236,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:21:37] local.INFO: Processing buffer {"connection_id":163236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:21:37] local.INFO: IMEI packet received {"connection_id":163236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 04:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":163236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 04:21:38] local.INFO: TCP Data received {"connection_id":163236,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a045670ac0012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045670ac0012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:21:38] local.INFO: Processing buffer {"connection_id":163236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045670ac0012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:21:38] local.INFO: Packet analysis {"connection_id":163236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04567"} 
[2026-08-28 04:21:38] local.INFO: Extracted packet for processing {"connection_id":163236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04567"} 
[2026-08-28 04:21:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694841600001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:21:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:21: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-28 04:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787870776000,"timestamp_ms":1787870776000,"timestamp_seconds":1787870776,"priority":1,"record_length":96,"hex_timestamp":"000001a045670ac0"} 
[2026-08-28 04:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:21:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694841600001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694841600001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:21:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:21: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-28 04:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694841600001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":163236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:21:38] local.INFO: GPS data processed {"connection_id":163236,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:21:38] local.INFO: Acknowledgment sent {"connection_id":163236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:22:09] local.INFO: TCP Data received {"connection_id":163236,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0456ba288012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0456ba288012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:22:09] local.INFO: Processing buffer {"connection_id":163236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0456ba288012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:22:09] local.INFO: Packet analysis {"connection_id":163236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0456b"} 
[2026-08-28 04:22:09] local.INFO: Extracted packet for processing {"connection_id":163236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0456b"} 
[2026-08-28 04:22:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694918656001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:22:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:22:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:22: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-28 04:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787871077000,"timestamp_ms":1787871077000,"timestamp_seconds":1787871077,"priority":1,"record_length":96,"hex_timestamp":"000001a0456ba288"} 
[2026-08-28 04:22:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:22:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:22:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:22:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:22:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:22: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-28 04:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694918656001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694918656001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:22:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:22: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-28 04:22:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694918656001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":163236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:22:09] local.INFO: GPS data processed {"connection_id":163236,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:22:09] local.INFO: Acknowledgment sent {"connection_id":163236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:22:37] local.INFO: TCP Data received {"connection_id":163494,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:22:37] local.INFO: Processing buffer {"connection_id":163494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:22:37] local.INFO: IMEI packet received {"connection_id":163494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 04:22:37] local.INFO: IMEI acknowledgment sent {"connection_id":163494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:22:42] local.INFO: TCP Data received {"connection_id":163494,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:22:42] local.INFO: Processing buffer {"connection_id":163494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:22:42] local.INFO: IMEI packet received {"connection_id":163494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 04:22:42] local.INFO: IMEI acknowledgment sent {"connection_id":163494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 04:22:43] local.INFO: TCP Data received {"connection_id":163494,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0456ba288012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0456ba288012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:22:43] local.INFO: Processing buffer {"connection_id":163494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0456ba288012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:22:43] local.INFO: Packet analysis {"connection_id":163494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0456b"} 
[2026-08-28 04:22:43] local.INFO: Extracted packet for processing {"connection_id":163494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0456b"} 
[2026-08-28 04:22:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04: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-28 04:22:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694918656001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:22:43] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:22:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:22:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:22: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-28 04:22:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787871077000,"timestamp_ms":1787871077000,"timestamp_seconds":1787871077,"priority":1,"record_length":96,"hex_timestamp":"000001a0456ba288"} 
[2026-08-28 04: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-28 04:22:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:22: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-28 04: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-28 04: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-28 04:22:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:22:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:22:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:22:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:22: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-28 04:22:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:22:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:22:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694918656001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:22:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:22:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:22:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694918656001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:22:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04: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-28 04:22:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:22:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694918656001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:22: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":706282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:22:43] local.INFO: GPS data processed {"connection_id":163494,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:22:43] local.INFO: Acknowledgment sent {"connection_id":163494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:22:47] local.INFO: TCP Data received {"connection_id":163494,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0456ba288012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0456ba288012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:22:47] local.INFO: Processing buffer {"connection_id":163494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0456ba288012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:22:47] local.INFO: Packet analysis {"connection_id":163494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0456b"} 
[2026-08-28 04:22:47] local.INFO: Extracted packet for processing {"connection_id":163494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0456b"} 
[2026-08-28 04:22:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04: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-28 04:22:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694918656001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:22:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:22:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:22:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:22: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-28 04:22:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787871077000,"timestamp_ms":1787871077000,"timestamp_seconds":1787871077,"priority":1,"record_length":96,"hex_timestamp":"000001a0456ba288"} 
[2026-08-28 04: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-28 04:22:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:22: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-28 04: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-28 04: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-28 04:22:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:22:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:22:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:22:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:22: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-28 04:22:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:22:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:22:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694918656001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:22:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:22:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:22:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694918656001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:22:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04: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-28 04:22:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:22:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694918656001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:22:47] 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":706283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:22:47] local.INFO: GPS data processed {"connection_id":163494,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:22:47] local.INFO: Acknowledgment sent {"connection_id":163494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:23:32] local.INFO: TCP Data received {"connection_id":163237,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:23:32] local.INFO: Processing buffer {"connection_id":163237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:23:32] local.INFO: IMEI packet received {"connection_id":163237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 04:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":163237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:23:37] local.INFO: TCP Data received {"connection_id":163237,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:23:37] local.INFO: Processing buffer {"connection_id":163237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:23:37] local.INFO: IMEI packet received {"connection_id":163237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 04:23:37] local.INFO: IMEI acknowledgment sent {"connection_id":163237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 04:23:38] local.INFO: TCP Data received {"connection_id":163237,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0456ba288012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0456ba288012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:23:38] local.INFO: Processing buffer {"connection_id":163237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0456ba288012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:23:38] local.INFO: Packet analysis {"connection_id":163237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0456b"} 
[2026-08-28 04:23:38] local.INFO: Extracted packet for processing {"connection_id":163237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0456b"} 
[2026-08-28 04:23:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694918656001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:23:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:23:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:23: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-28 04:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787871077000,"timestamp_ms":1787871077000,"timestamp_seconds":1787871077,"priority":1,"record_length":96,"hex_timestamp":"000001a0456ba288"} 
[2026-08-28 04:23:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:23:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:23:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:23:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:23:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:23:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694918656001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694918656001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:23:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:23: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-28 04:23:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694918656001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:23:38] local.INFO: DEBUG: GPS processor result {"connection_id":163237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:23:38] local.INFO: GPS data processed {"connection_id":163237,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:23:38] local.INFO: Acknowledgment sent {"connection_id":163237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:24:09] local.INFO: TCP Data received {"connection_id":163237,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0456ba288012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0456ba288012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:24:09] local.INFO: Processing buffer {"connection_id":163237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0456ba288012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:24:09] local.INFO: Packet analysis {"connection_id":163237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0456b"} 
[2026-08-28 04:24:09] local.INFO: Extracted packet for processing {"connection_id":163237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0456b"} 
[2026-08-28 04:24:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694918656001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:24:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:24:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:24: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-28 04:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787871077000,"timestamp_ms":1787871077000,"timestamp_seconds":1787871077,"priority":1,"record_length":96,"hex_timestamp":"000001a0456ba288"} 
[2026-08-28 04:24:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:24:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:24:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:24:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:24:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:24:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694918656001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694918656001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:24:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:24: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-28 04:24:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694918656001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":163237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:24:09] local.INFO: GPS data processed {"connection_id":163237,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:24:09] local.INFO: Acknowledgment sent {"connection_id":163237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:24:32] local.INFO: TCP Data received {"connection_id":165851,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:24:32] local.INFO: Processing buffer {"connection_id":165851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:24:32] local.INFO: IMEI packet received {"connection_id":165851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 04:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":165851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:24:37] local.INFO: TCP Data received {"connection_id":165851,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:24:37] local.INFO: Processing buffer {"connection_id":165851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:24:37] local.INFO: IMEI packet received {"connection_id":165851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 04:24:37] local.INFO: IMEI acknowledgment sent {"connection_id":165851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 04:24:38] local.INFO: TCP Data received {"connection_id":165851,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0456ba288012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0456ba288012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:24:38] local.INFO: Processing buffer {"connection_id":165851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0456ba288012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:24:38] local.INFO: Packet analysis {"connection_id":165851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0456b"} 
[2026-08-28 04:24:38] local.INFO: Extracted packet for processing {"connection_id":165851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0456b"} 
[2026-08-28 04:24:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694918656001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:24:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:24: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-28 04:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787871077000,"timestamp_ms":1787871077000,"timestamp_seconds":1787871077,"priority":1,"record_length":96,"hex_timestamp":"000001a0456ba288"} 
[2026-08-28 04:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:24:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:24:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:24:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":165851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":165851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":165851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:24:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694918656001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694918656001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:24:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:24: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-28 04:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694918656001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":165851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:24:38] local.INFO: GPS data processed {"connection_id":165851,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:24:38] local.INFO: Acknowledgment sent {"connection_id":165851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:24:43] local.INFO: TCP Data received {"connection_id":165850,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 04:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165850,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 04:24:43] local.INFO: Processing buffer {"connection_id":165850,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 04:24:43] local.INFO: IMEI packet received {"connection_id":165850,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 04:24:43] local.INFO: IMEI acknowledgment sent {"connection_id":165850,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:25:11] local.INFO: TCP Data received {"connection_id":165851,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0456ba288012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0456ba288012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:25:11] local.INFO: Processing buffer {"connection_id":165851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0456ba288012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:25:11] local.INFO: Packet analysis {"connection_id":165851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0456b"} 
[2026-08-28 04:25:11] local.INFO: Extracted packet for processing {"connection_id":165851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0456b"} 
[2026-08-28 04:25:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694918656001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:25:11] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:25:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:25: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-28 04:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787871077000,"timestamp_ms":1787871077000,"timestamp_seconds":1787871077,"priority":1,"record_length":96,"hex_timestamp":"000001a0456ba288"} 
[2026-08-28 04:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:25:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:25: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-28 04:25:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":165851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":165851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":165851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:25: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-28 04:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694918656001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694918656001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:25:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:25: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-28 04:25:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694918656001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":165851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:25:11] local.INFO: GPS data processed {"connection_id":165851,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:25:11] local.INFO: Acknowledgment sent {"connection_id":165851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:25:32] local.INFO: TCP Data received {"connection_id":163495,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:25:32] local.INFO: Processing buffer {"connection_id":163495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:25:32] local.INFO: IMEI packet received {"connection_id":163495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 04:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":163495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:25:37] local.INFO: TCP Data received {"connection_id":163495,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:25:37] local.INFO: Processing buffer {"connection_id":163495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:25:37] local.INFO: IMEI packet received {"connection_id":163495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 04:25:37] local.INFO: IMEI acknowledgment sent {"connection_id":163495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 04:25:38] local.INFO: TCP Data received {"connection_id":163495,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0456ba288012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0456ba288012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:25:38] local.INFO: Processing buffer {"connection_id":163495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0456ba288012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:25:38] local.INFO: Packet analysis {"connection_id":163495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0456b"} 
[2026-08-28 04:25:38] local.INFO: Extracted packet for processing {"connection_id":163495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0456b"} 
[2026-08-28 04:25:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694918656001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:25:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:25: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-28 04:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787871077000,"timestamp_ms":1787871077000,"timestamp_seconds":1787871077,"priority":1,"record_length":96,"hex_timestamp":"000001a0456ba288"} 
[2026-08-28 04:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:25:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:25:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:25:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:25:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694918656001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694918656001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:25:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:25: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-28 04:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694918656001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":163495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:25:38] local.INFO: GPS data processed {"connection_id":163495,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:25:38] local.INFO: Acknowledgment sent {"connection_id":163495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:26:10] local.INFO: TCP Data received {"connection_id":163495,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0456ba288012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0456ba288012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:26:10] local.INFO: Processing buffer {"connection_id":163495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0456ba288012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:26:10] local.INFO: Packet analysis {"connection_id":163495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0456b"} 
[2026-08-28 04:26:10] local.INFO: Extracted packet for processing {"connection_id":163495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0456b"} 
[2026-08-28 04:26:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694918656001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:26:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 04:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787871077000,"timestamp_ms":1787871077000,"timestamp_seconds":1787871077,"priority":1,"record_length":96,"hex_timestamp":"000001a0456ba288"} 
[2026-08-28 04:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:26:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:26:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:26:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694918656001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694918656001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:26:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 04:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694918656001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":163495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:26:10] local.INFO: GPS data processed {"connection_id":163495,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:26:10] local.INFO: Acknowledgment sent {"connection_id":163495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:26:31] local.INFO: TCP Data received {"connection_id":165852,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:26:31] local.INFO: Processing buffer {"connection_id":165852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:26:31] local.INFO: IMEI packet received {"connection_id":165852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 04:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":165852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:26:37] local.INFO: TCP Data received {"connection_id":165852,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:26:37] local.INFO: Processing buffer {"connection_id":165852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:26:37] local.INFO: IMEI packet received {"connection_id":165852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 04:26:37] local.INFO: IMEI acknowledgment sent {"connection_id":165852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 04:26:38] local.INFO: TCP Data received {"connection_id":165852,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0456ba288012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0456ba288012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:26:38] local.INFO: Processing buffer {"connection_id":165852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0456ba288012d34c14006aa4840000300e62e..."} 
[2026-08-28 04:26:38] local.INFO: Packet analysis {"connection_id":165852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0456b"} 
[2026-08-28 04:26:38] local.INFO: Extracted packet for processing {"connection_id":165852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0456b"} 
[2026-08-28 04:26:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694918656001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:26:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:26:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:26: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-28 04:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787871077000,"timestamp_ms":1787871077000,"timestamp_seconds":1787871077,"priority":1,"record_length":96,"hex_timestamp":"000001a0456ba288"} 
[2026-08-28 04:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:26:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:26:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:26:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":165852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":165852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":165852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:26:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694918656001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694918656001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:26:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:26: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-28 04:26:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694918656001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":165852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:26:38] local.INFO: GPS data processed {"connection_id":165852,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:26:38] local.INFO: Acknowledgment sent {"connection_id":165852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:27:10] local.INFO: TCP Data received {"connection_id":165852,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a045703a50012d34c14006aa4840000400e630..."} 
[2026-08-28 04:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045703a50012d34c14006aa4840000400e630..."} 
[2026-08-28 04:27:10] local.INFO: Processing buffer {"connection_id":165852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045703a50012d34c14006aa4840000400e630..."} 
[2026-08-28 04:27:10] local.INFO: Packet analysis {"connection_id":165852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04570"} 
[2026-08-28 04:27:10] local.INFO: Extracted packet for processing {"connection_id":165852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04570"} 
[2026-08-28 04:27:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":4,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694995712001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:27:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:27:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:27:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 04:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787871378000,"timestamp_ms":1787871378000,"timestamp_seconds":1787871378,"priority":1,"record_length":96,"hex_timestamp":"000001a045703a50"} 
[2026-08-28 04:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:27:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:27:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:27:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":165852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":165852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":165852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:27:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694995712001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694995712001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:27:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 04:27:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694995712001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":165852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:27:10] local.INFO: GPS data processed {"connection_id":165852,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:27:10] local.INFO: Acknowledgment sent {"connection_id":165852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:27:40] local.INFO: TCP Data received {"connection_id":165853,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:27:40] local.INFO: Processing buffer {"connection_id":165853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:27:40] local.INFO: IMEI packet received {"connection_id":165853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 04:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":165853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:27:42] local.INFO: TCP Data received {"connection_id":165853,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:27:42] local.INFO: Processing buffer {"connection_id":165853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:27:42] local.INFO: IMEI packet received {"connection_id":165853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 04:27:42] local.INFO: IMEI acknowledgment sent {"connection_id":165853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 04:27:43] local.INFO: TCP Data received {"connection_id":165853,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a045703a50012d34c14006aa4840000400e630..."} 
[2026-08-28 04:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045703a50012d34c14006aa4840000400e630..."} 
[2026-08-28 04:27:43] local.INFO: Processing buffer {"connection_id":165853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045703a50012d34c14006aa4840000400e630..."} 
[2026-08-28 04:27:43] local.INFO: Packet analysis {"connection_id":165853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04570"} 
[2026-08-28 04:27:43] local.INFO: Extracted packet for processing {"connection_id":165853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04570"} 
[2026-08-28 04:27:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":4,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04: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-28 04:27:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694995712001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:27:43] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:27:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:27:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:27: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-28 04:27:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787871378000,"timestamp_ms":1787871378000,"timestamp_seconds":1787871378,"priority":1,"record_length":96,"hex_timestamp":"000001a045703a50"} 
[2026-08-28 04: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-28 04:27:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04: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":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:27: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-28 04: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-28 04: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-28 04:27:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:27:43] local.INFO: Teltonika packet parsed successfully {"connection_id":165853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:27:43] local.INFO: Passing IMEI to GPS processor {"connection_id":165853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:27:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":165853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:27: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-28 04:27:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:27:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:27:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694995712001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:27:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:27:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:27:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694995712001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:27:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04: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-28 04:27:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:27:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694995712001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:27:43] local.INFO: DEBUG: GPS processor result {"connection_id":165853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:27:43] local.INFO: GPS data processed {"connection_id":165853,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:27:43] local.INFO: Acknowledgment sent {"connection_id":165853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:27:47] local.INFO: TCP Data received {"connection_id":165853,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a045703a50012d34c14006aa4840000400e630..."} 
[2026-08-28 04:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045703a50012d34c14006aa4840000400e630..."} 
[2026-08-28 04:27:47] local.INFO: Processing buffer {"connection_id":165853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045703a50012d34c14006aa4840000400e630..."} 
[2026-08-28 04:27:47] local.INFO: Packet analysis {"connection_id":165853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04570"} 
[2026-08-28 04:27:47] local.INFO: Extracted packet for processing {"connection_id":165853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04570"} 
[2026-08-28 04:27:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":4,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04: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-28 04:27:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694995712001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:27:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:27:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:27:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:27: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-28 04:27:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787871378000,"timestamp_ms":1787871378000,"timestamp_seconds":1787871378,"priority":1,"record_length":96,"hex_timestamp":"000001a045703a50"} 
[2026-08-28 04: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-28 04:27:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:27: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-28 04: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-28 04: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-28 04:27:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:27:47] local.INFO: Teltonika packet parsed successfully {"connection_id":165853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:27:47] local.INFO: Passing IMEI to GPS processor {"connection_id":165853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:27:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":165853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:27: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-28 04:27:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:27:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:27:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694995712001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:27:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:27:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:27:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694995712001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:27:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04: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-28 04:27:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:27:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694995712001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:27:47] local.INFO: DEBUG: GPS processor result {"connection_id":165853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:27:47] local.INFO: GPS data processed {"connection_id":165853,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:27:47] local.INFO: Acknowledgment sent {"connection_id":165853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:28:32] local.INFO: TCP Data received {"connection_id":163496,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:28:32] local.INFO: Processing buffer {"connection_id":163496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:28:32] local.INFO: IMEI packet received {"connection_id":163496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 04:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":163496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:28:37] local.INFO: TCP Data received {"connection_id":163496,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:28:37] local.INFO: Processing buffer {"connection_id":163496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:28:37] local.INFO: IMEI packet received {"connection_id":163496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 04:28:37] local.INFO: IMEI acknowledgment sent {"connection_id":163496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 04:28:38] local.INFO: TCP Data received {"connection_id":163496,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a045703a50012d34c14006aa4840000400e630..."} 
[2026-08-28 04:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045703a50012d34c14006aa4840000400e630..."} 
[2026-08-28 04:28:38] local.INFO: Processing buffer {"connection_id":163496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045703a50012d34c14006aa4840000400e630..."} 
[2026-08-28 04:28:38] local.INFO: Packet analysis {"connection_id":163496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04570"} 
[2026-08-28 04:28:38] local.INFO: Extracted packet for processing {"connection_id":163496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04570"} 
[2026-08-28 04:28:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":4,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694995712001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:28:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:28: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-28 04:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787871378000,"timestamp_ms":1787871378000,"timestamp_seconds":1787871378,"priority":1,"record_length":96,"hex_timestamp":"000001a045703a50"} 
[2026-08-28 04:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:28:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:28:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694995712001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694995712001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:28:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:28: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-28 04:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694995712001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:28:38] 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":706294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:28:38] local.INFO: GPS data processed {"connection_id":163496,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:28:38] local.INFO: Acknowledgment sent {"connection_id":163496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:29:09] local.INFO: TCP Data received {"connection_id":163496,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a045703a50012d34c14006aa4840000400e630..."} 
[2026-08-28 04:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045703a50012d34c14006aa4840000400e630..."} 
[2026-08-28 04:29:09] local.INFO: Processing buffer {"connection_id":163496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045703a50012d34c14006aa4840000400e630..."} 
[2026-08-28 04:29:09] local.INFO: Packet analysis {"connection_id":163496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04570"} 
[2026-08-28 04:29:09] local.INFO: Extracted packet for processing {"connection_id":163496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04570"} 
[2026-08-28 04:29:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":4,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694995712001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:29:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:29:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:29: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-28 04:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787871378000,"timestamp_ms":1787871378000,"timestamp_seconds":1787871378,"priority":1,"record_length":96,"hex_timestamp":"000001a045703a50"} 
[2026-08-28 04:29:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:29:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:29:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:29:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:29:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:29:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:29:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694995712001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:29:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:29:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:29:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694995712001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:29:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:29: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-28 04:29:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:29:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694995712001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:29:09] 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":706295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:29:09] local.INFO: GPS data processed {"connection_id":163496,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:29:09] local.INFO: Acknowledgment sent {"connection_id":163496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:29:32] local.INFO: TCP Data received {"connection_id":163238,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:29:32] local.INFO: Processing buffer {"connection_id":163238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:29:32] local.INFO: IMEI packet received {"connection_id":163238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 04:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":163238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:29:37] local.INFO: TCP Data received {"connection_id":163238,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:29:37] local.INFO: Processing buffer {"connection_id":163238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:29:37] local.INFO: IMEI packet received {"connection_id":163238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 04:29:37] local.INFO: IMEI acknowledgment sent {"connection_id":163238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 04:29:38] local.INFO: TCP Data received {"connection_id":163238,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a045703a50012d34c14006aa4840000400e630..."} 
[2026-08-28 04:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045703a50012d34c14006aa4840000400e630..."} 
[2026-08-28 04:29:38] local.INFO: Processing buffer {"connection_id":163238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045703a50012d34c14006aa4840000400e630..."} 
[2026-08-28 04:29:38] local.INFO: Packet analysis {"connection_id":163238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04570"} 
[2026-08-28 04:29:38] local.INFO: Extracted packet for processing {"connection_id":163238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04570"} 
[2026-08-28 04:29:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":4,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694995712001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:29:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:29:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:29: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-28 04:29:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787871378000,"timestamp_ms":1787871378000,"timestamp_seconds":1787871378,"priority":1,"record_length":96,"hex_timestamp":"000001a045703a50"} 
[2026-08-28 04:29:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:29:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:29:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:29:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:29:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:29:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:29:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:29:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:29:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:29:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:29:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:29:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694995712001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:29:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:29:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:29:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694995712001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:29:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:29: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-28 04:29:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:29:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694995712001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:29:38] local.INFO: DEBUG: GPS processor result {"connection_id":163238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:29:38] local.INFO: GPS data processed {"connection_id":163238,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:29:38] local.INFO: Acknowledgment sent {"connection_id":163238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:30:09] local.INFO: TCP Data received {"connection_id":163238,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a045703a50012d34c14006aa4840000400e630..."} 
[2026-08-28 04:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045703a50012d34c14006aa4840000400e630..."} 
[2026-08-28 04:30:09] local.INFO: Processing buffer {"connection_id":163238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045703a50012d34c14006aa4840000400e630..."} 
[2026-08-28 04:30:09] local.INFO: Packet analysis {"connection_id":163238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04570"} 
[2026-08-28 04:30:09] local.INFO: Extracted packet for processing {"connection_id":163238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04570"} 
[2026-08-28 04:30:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":4,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694995712001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:30:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:30:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:30:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:30: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-28 04:30:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787871378000,"timestamp_ms":1787871378000,"timestamp_seconds":1787871378,"priority":1,"record_length":96,"hex_timestamp":"000001a045703a50"} 
[2026-08-28 04:30:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:30:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:30:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:30:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:30:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:30:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:30:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:30:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:30:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:30: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-28 04:30:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:30:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694995712001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694995712001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:30:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:30: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-28 04:30:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:30:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694995712001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:30:09] local.INFO: DEBUG: GPS processor result {"connection_id":163238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:30:09] local.INFO: GPS data processed {"connection_id":163238,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:30:09] local.INFO: Acknowledgment sent {"connection_id":163238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:30:18] local.INFO: TCP Data received {"connection_id":164501,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 04:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164501,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 04:30:18] local.INFO: Processing buffer {"connection_id":164501,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 04:30:18] local.INFO: IMEI packet received {"connection_id":164501,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 04:30:18] local.INFO: IMEI acknowledgment sent {"connection_id":164501,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:30:32] local.INFO: TCP Data received {"connection_id":163497,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:30:32] local.INFO: Processing buffer {"connection_id":163497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:30:32] local.INFO: IMEI packet received {"connection_id":163497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 04:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":163497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:30:37] local.INFO: TCP Data received {"connection_id":163497,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:30:37] local.INFO: Processing buffer {"connection_id":163497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:30:37] local.INFO: IMEI packet received {"connection_id":163497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 04:30:37] local.INFO: IMEI acknowledgment sent {"connection_id":163497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 04:30:38] local.INFO: TCP Data received {"connection_id":163497,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a045703a50012d34c14006aa4840000400e630..."} 
[2026-08-28 04:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045703a50012d34c14006aa4840000400e630..."} 
[2026-08-28 04:30:38] local.INFO: Processing buffer {"connection_id":163497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045703a50012d34c14006aa4840000400e630..."} 
[2026-08-28 04:30:38] local.INFO: Packet analysis {"connection_id":163497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04570"} 
[2026-08-28 04:30:38] local.INFO: Extracted packet for processing {"connection_id":163497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04570"} 
[2026-08-28 04:30:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":4,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694995712001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:30:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:30: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-28 04:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787871378000,"timestamp_ms":1787871378000,"timestamp_seconds":1787871378,"priority":1,"record_length":96,"hex_timestamp":"000001a045703a50"} 
[2026-08-28 04:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:30:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:30:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694995712001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694995712001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:30:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:30: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-28 04:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694995712001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:30:38] 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":706298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:30:38] local.INFO: GPS data processed {"connection_id":163497,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:30:38] local.INFO: Acknowledgment sent {"connection_id":163497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:31:09] local.INFO: TCP Data received {"connection_id":163497,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a045703a50012d34c14006aa4840000400e630..."} 
[2026-08-28 04:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045703a50012d34c14006aa4840000400e630..."} 
[2026-08-28 04:31:09] local.INFO: Processing buffer {"connection_id":163497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045703a50012d34c14006aa4840000400e630..."} 
[2026-08-28 04:31:09] local.INFO: Packet analysis {"connection_id":163497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04570"} 
[2026-08-28 04:31:09] local.INFO: Extracted packet for processing {"connection_id":163497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04570"} 
[2026-08-28 04:31:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":4,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694995712001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:31:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:31: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-28 04:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787871378000,"timestamp_ms":1787871378000,"timestamp_seconds":1787871378,"priority":1,"record_length":96,"hex_timestamp":"000001a045703a50"} 
[2026-08-28 04:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:31:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:31:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:31:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694995712001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694995712001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:31:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:31: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-28 04:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694995712001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:31:09] 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":706299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:31:09] local.INFO: GPS data processed {"connection_id":163497,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:31:09] local.INFO: Acknowledgment sent {"connection_id":163497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:31:32] local.INFO: TCP Data received {"connection_id":164502,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:31:32] local.INFO: Processing buffer {"connection_id":164502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:31:32] local.INFO: IMEI packet received {"connection_id":164502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 04:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":164502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:31:37] local.INFO: TCP Data received {"connection_id":164502,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:31:37] local.INFO: Processing buffer {"connection_id":164502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:31:37] local.INFO: IMEI packet received {"connection_id":164502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 04:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":164502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 04:31:38] local.INFO: TCP Data received {"connection_id":164502,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a045703a50012d34c14006aa4840000400e630..."} 
[2026-08-28 04:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045703a50012d34c14006aa4840000400e630..."} 
[2026-08-28 04:31:38] local.INFO: Processing buffer {"connection_id":164502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045703a50012d34c14006aa4840000400e630..."} 
[2026-08-28 04:31:38] local.INFO: Packet analysis {"connection_id":164502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04570"} 
[2026-08-28 04:31:38] local.INFO: Extracted packet for processing {"connection_id":164502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04570"} 
[2026-08-28 04:31:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":4,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04: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-28 04:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457694995712001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:31:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:31: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-28 04:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787871378000,"timestamp_ms":1787871378000,"timestamp_seconds":1787871378,"priority":1,"record_length":96,"hex_timestamp":"000001a045703a50"} 
[2026-08-28 04:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:31:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:31:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457694995712001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457694995712001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:31:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:31: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-28 04:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457694995712001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":164502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:31:38] local.INFO: GPS data processed {"connection_id":164502,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:31:38] local.INFO: Acknowledgment sent {"connection_id":164502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:32:09] local.INFO: TCP Data received {"connection_id":164502,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a04574d218012d34c14006aa4840000200e630..."} 
[2026-08-28 04:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04574d218012d34c14006aa4840000200e630..."} 
[2026-08-28 04:32:09] local.INFO: Processing buffer {"connection_id":164502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04574d218012d34c14006aa4840000200e630..."} 
[2026-08-28 04:32:09] local.INFO: Packet analysis {"connection_id":164502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04574"} 
[2026-08-28 04:32:09] local.INFO: Extracted packet for processing {"connection_id":164502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04574"} 
[2026-08-28 04:32:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":2,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04: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-28 04:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695072768001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:32:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:32:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:32: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-28 04:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787871679000,"timestamp_ms":1787871679000,"timestamp_seconds":1787871679,"priority":1,"record_length":96,"hex_timestamp":"000001a04574d218"} 
[2026-08-28 04: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-28 04:32:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:32:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04: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-28 04: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-28 04:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:32: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-28 04:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695072768001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695072768001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:32:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:32: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-28 04:32:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695072768001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":164502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:32:09] local.INFO: GPS data processed {"connection_id":164502,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:32:09] local.INFO: Acknowledgment sent {"connection_id":164502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:32:32] local.INFO: TCP Data received {"connection_id":163239,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:32:32] local.INFO: Processing buffer {"connection_id":163239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:32:32] local.INFO: IMEI packet received {"connection_id":163239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 04:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":163239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:32:37] local.INFO: TCP Data received {"connection_id":163239,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:32:37] local.INFO: Processing buffer {"connection_id":163239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:32:37] local.INFO: IMEI packet received {"connection_id":163239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 04:32:37] local.INFO: IMEI acknowledgment sent {"connection_id":163239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 04:32:38] local.INFO: TCP Data received {"connection_id":163239,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a04574d218012d34c14006aa4840000200e630..."} 
[2026-08-28 04:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04574d218012d34c14006aa4840000200e630..."} 
[2026-08-28 04:32:38] local.INFO: Processing buffer {"connection_id":163239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04574d218012d34c14006aa4840000200e630..."} 
[2026-08-28 04:32:38] local.INFO: Packet analysis {"connection_id":163239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04574"} 
[2026-08-28 04:32:38] local.INFO: Extracted packet for processing {"connection_id":163239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04574"} 
[2026-08-28 04:32:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":2,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695072768001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:32:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:32: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-28 04:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787871679000,"timestamp_ms":1787871679000,"timestamp_seconds":1787871679,"priority":1,"record_length":96,"hex_timestamp":"000001a04574d218"} 
[2026-08-28 04:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:32:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:32:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:32:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:32:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695072768001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695072768001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:32:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:32: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-28 04:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695072768001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":163239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:32:38] local.INFO: GPS data processed {"connection_id":163239,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:32:38] local.INFO: Acknowledgment sent {"connection_id":163239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:33:09] local.INFO: TCP Data received {"connection_id":163239,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a04574d218012d34c14006aa4840000200e630..."} 
[2026-08-28 04:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04574d218012d34c14006aa4840000200e630..."} 
[2026-08-28 04:33:09] local.INFO: Processing buffer {"connection_id":163239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04574d218012d34c14006aa4840000200e630..."} 
[2026-08-28 04:33:09] local.INFO: Packet analysis {"connection_id":163239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04574"} 
[2026-08-28 04:33:09] local.INFO: Extracted packet for processing {"connection_id":163239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04574"} 
[2026-08-28 04:33:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":2,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695072768001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:33:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:33: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-28 04:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787871679000,"timestamp_ms":1787871679000,"timestamp_seconds":1787871679,"priority":1,"record_length":96,"hex_timestamp":"000001a04574d218"} 
[2026-08-28 04:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:33:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:33:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:33:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:33: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-28 04:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695072768001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695072768001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:33:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:33: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-28 04:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695072768001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":163239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:33:09] local.INFO: GPS data processed {"connection_id":163239,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:33:09] local.INFO: Acknowledgment sent {"connection_id":163239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:33:32] local.INFO: TCP Data received {"connection_id":163498,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:33:32] local.INFO: Processing buffer {"connection_id":163498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:33:32] local.INFO: IMEI packet received {"connection_id":163498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 04:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":163498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:33:37] local.INFO: TCP Data received {"connection_id":163498,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:33:37] local.INFO: Processing buffer {"connection_id":163498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:33:37] local.INFO: IMEI packet received {"connection_id":163498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 04:33:37] local.INFO: IMEI acknowledgment sent {"connection_id":163498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 04:33:38] local.INFO: TCP Data received {"connection_id":163498,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a04574d218012d34c14006aa4840000200e630..."} 
[2026-08-28 04:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04574d218012d34c14006aa4840000200e630..."} 
[2026-08-28 04:33:38] local.INFO: Processing buffer {"connection_id":163498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04574d218012d34c14006aa4840000200e630..."} 
[2026-08-28 04:33:38] local.INFO: Packet analysis {"connection_id":163498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04574"} 
[2026-08-28 04:33:38] local.INFO: Extracted packet for processing {"connection_id":163498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04574"} 
[2026-08-28 04:33:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":2,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695072768001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:33:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:33: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-28 04:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787871679000,"timestamp_ms":1787871679000,"timestamp_seconds":1787871679,"priority":1,"record_length":96,"hex_timestamp":"000001a04574d218"} 
[2026-08-28 04:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:33:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:33:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695072768001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695072768001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:33:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:33: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-28 04:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695072768001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:33:38] 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":706304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:33:38] local.INFO: GPS data processed {"connection_id":163498,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:33:38] local.INFO: Acknowledgment sent {"connection_id":163498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:34:10] local.INFO: TCP Data received {"connection_id":163498,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a04574d218012d34c14006aa4840000200e630..."} 
[2026-08-28 04:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04574d218012d34c14006aa4840000200e630..."} 
[2026-08-28 04:34:10] local.INFO: Processing buffer {"connection_id":163498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04574d218012d34c14006aa4840000200e630..."} 
[2026-08-28 04:34:10] local.INFO: Packet analysis {"connection_id":163498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04574"} 
[2026-08-28 04:34:10] local.INFO: Extracted packet for processing {"connection_id":163498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04574"} 
[2026-08-28 04:34:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":2,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695072768001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:34:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 04:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787871679000,"timestamp_ms":1787871679000,"timestamp_seconds":1787871679,"priority":1,"record_length":96,"hex_timestamp":"000001a04574d218"} 
[2026-08-28 04:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:34:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:34:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:34:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:34:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695072768001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695072768001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:34:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 04:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695072768001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:34:10] 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":706305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:34:10] local.INFO: GPS data processed {"connection_id":163498,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:34:10] local.INFO: Acknowledgment sent {"connection_id":163498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:34:32] local.INFO: TCP Data received {"connection_id":165855,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:34:32] local.INFO: Processing buffer {"connection_id":165855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:34:32] local.INFO: IMEI packet received {"connection_id":165855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 04:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":165855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:34:37] local.INFO: TCP Data received {"connection_id":165855,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:34:37] local.INFO: Processing buffer {"connection_id":165855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:34:37] local.INFO: IMEI packet received {"connection_id":165855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 04:34:37] local.INFO: IMEI acknowledgment sent {"connection_id":165855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 04:34:38] local.INFO: TCP Data received {"connection_id":165855,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a04574d218012d34c14006aa4840000200e630..."} 
[2026-08-28 04:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04574d218012d34c14006aa4840000200e630..."} 
[2026-08-28 04:34:38] local.INFO: Processing buffer {"connection_id":165855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04574d218012d34c14006aa4840000200e630..."} 
[2026-08-28 04:34:38] local.INFO: Packet analysis {"connection_id":165855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04574"} 
[2026-08-28 04:34:38] local.INFO: Extracted packet for processing {"connection_id":165855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04574"} 
[2026-08-28 04:34:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":2,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695072768001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:34:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:34: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-28 04:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787871679000,"timestamp_ms":1787871679000,"timestamp_seconds":1787871679,"priority":1,"record_length":96,"hex_timestamp":"000001a04574d218"} 
[2026-08-28 04:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:34:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:34:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:34:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":165855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":165855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":165855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:34:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695072768001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695072768001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:34:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:34: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-28 04:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695072768001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":165855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:34:38] local.INFO: GPS data processed {"connection_id":165855,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:34:38] local.INFO: Acknowledgment sent {"connection_id":165855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:35:10] local.INFO: TCP Data received {"connection_id":165855,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a04574d218012d34c14006aa4840000200e630..."} 
[2026-08-28 04:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04574d218012d34c14006aa4840000200e630..."} 
[2026-08-28 04:35:10] local.INFO: Processing buffer {"connection_id":165855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04574d218012d34c14006aa4840000200e630..."} 
[2026-08-28 04:35:10] local.INFO: Packet analysis {"connection_id":165855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04574"} 
[2026-08-28 04:35:10] local.INFO: Extracted packet for processing {"connection_id":165855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04574"} 
[2026-08-28 04:35:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":2,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695072768001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:35:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:35:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 04:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787871679000,"timestamp_ms":1787871679000,"timestamp_seconds":1787871679,"priority":1,"record_length":96,"hex_timestamp":"000001a04574d218"} 
[2026-08-28 04:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:35:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:35:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:35:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":165855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":165855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":165855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:35:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695072768001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695072768001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:35:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 04:35:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695072768001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":165855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:35:10] local.INFO: GPS data processed {"connection_id":165855,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:35:10] local.INFO: Acknowledgment sent {"connection_id":165855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:35:32] local.INFO: TCP Data received {"connection_id":163240,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:35:32] local.INFO: Processing buffer {"connection_id":163240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:35:32] local.INFO: IMEI packet received {"connection_id":163240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 04:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":163240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:35:37] local.INFO: TCP Data received {"connection_id":163240,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:35:37] local.INFO: Processing buffer {"connection_id":163240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:35:37] local.INFO: IMEI packet received {"connection_id":163240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 04:35:37] local.INFO: IMEI acknowledgment sent {"connection_id":163240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 04:35:38] local.INFO: TCP Data received {"connection_id":163240,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a04574d218012d34c14006aa4840000200e630..."} 
[2026-08-28 04:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04574d218012d34c14006aa4840000200e630..."} 
[2026-08-28 04:35:38] local.INFO: Processing buffer {"connection_id":163240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04574d218012d34c14006aa4840000200e630..."} 
[2026-08-28 04:35:38] local.INFO: Packet analysis {"connection_id":163240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04574"} 
[2026-08-28 04:35:38] local.INFO: Extracted packet for processing {"connection_id":163240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04574"} 
[2026-08-28 04:35:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":2,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695072768001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:35:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:35: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-28 04:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787871679000,"timestamp_ms":1787871679000,"timestamp_seconds":1787871679,"priority":1,"record_length":96,"hex_timestamp":"000001a04574d218"} 
[2026-08-28 04:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:35:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:35:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:35:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:35:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695072768001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695072768001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:35:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:35: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-28 04:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695072768001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":163240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:35:38] local.INFO: GPS data processed {"connection_id":163240,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:35:38] local.INFO: Acknowledgment sent {"connection_id":163240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:35:53] local.INFO: TCP Data received {"connection_id":165854,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 04:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165854,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 04:35:53] local.INFO: Processing buffer {"connection_id":165854,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 04:35:53] local.INFO: IMEI packet received {"connection_id":165854,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 04:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":165854,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:36:09] local.INFO: TCP Data received {"connection_id":163240,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a04574d218012d34c14006aa4840000200e630..."} 
[2026-08-28 04:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04574d218012d34c14006aa4840000200e630..."} 
[2026-08-28 04:36:09] local.INFO: Processing buffer {"connection_id":163240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04574d218012d34c14006aa4840000200e630..."} 
[2026-08-28 04:36:09] local.INFO: Packet analysis {"connection_id":163240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04574"} 
[2026-08-28 04:36:09] local.INFO: Extracted packet for processing {"connection_id":163240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04574"} 
[2026-08-28 04:36:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":2,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695072768001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:36:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:36: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-28 04:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787871679000,"timestamp_ms":1787871679000,"timestamp_seconds":1787871679,"priority":1,"record_length":96,"hex_timestamp":"000001a04574d218"} 
[2026-08-28 04:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:36:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:36:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:36:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:36: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-28 04:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695072768001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695072768001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:36:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:36: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-28 04:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695072768001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":163240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:36:09] local.INFO: GPS data processed {"connection_id":163240,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:36:09] local.INFO: Acknowledgment sent {"connection_id":163240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:36:32] local.INFO: TCP Data received {"connection_id":163499,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:36:32] local.INFO: Processing buffer {"connection_id":163499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:36:32] local.INFO: IMEI packet received {"connection_id":163499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 04:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":163499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:36:37] local.INFO: TCP Data received {"connection_id":163499,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:36:37] local.INFO: Processing buffer {"connection_id":163499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:36:37] local.INFO: IMEI packet received {"connection_id":163499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 04:36:37] local.INFO: IMEI acknowledgment sent {"connection_id":163499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 04:36:38] local.INFO: TCP Data received {"connection_id":163499,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a04574d218012d34c14006aa4840000200e630..."} 
[2026-08-28 04:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04574d218012d34c14006aa4840000200e630..."} 
[2026-08-28 04:36:38] local.INFO: Processing buffer {"connection_id":163499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04574d218012d34c14006aa4840000200e630..."} 
[2026-08-28 04:36:38] local.INFO: Packet analysis {"connection_id":163499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04574"} 
[2026-08-28 04:36:38] local.INFO: Extracted packet for processing {"connection_id":163499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04574"} 
[2026-08-28 04:36:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":2,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695072768001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:36:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:36: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-28 04:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787871679000,"timestamp_ms":1787871679000,"timestamp_seconds":1787871679,"priority":1,"record_length":96,"hex_timestamp":"000001a04574d218"} 
[2026-08-28 04:36:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:36:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:36:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:36:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:36:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:36:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695072768001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695072768001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:36:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:36: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-28 04:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695072768001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:36:38] 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":706310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:36:38] local.INFO: GPS data processed {"connection_id":163499,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:36:38] local.INFO: Acknowledgment sent {"connection_id":163499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:37:10] local.INFO: TCP Data received {"connection_id":163499,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0457969e0012d34c14006aa4840000300e630..."} 
[2026-08-28 04:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0457969e0012d34c14006aa4840000300e630..."} 
[2026-08-28 04:37:10] local.INFO: Processing buffer {"connection_id":163499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0457969e0012d34c14006aa4840000300e630..."} 
[2026-08-28 04:37:10] local.INFO: Packet analysis {"connection_id":163499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04579"} 
[2026-08-28 04:37:10] local.INFO: Extracted packet for processing {"connection_id":163499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04579"} 
[2026-08-28 04:37:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695149824001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:37:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:37:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:37:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 04:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787871980000,"timestamp_ms":1787871980000,"timestamp_seconds":1787871980,"priority":1,"record_length":96,"hex_timestamp":"000001a0457969e0"} 
[2026-08-28 04:37:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:37:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:37:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:37:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:37:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:37:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695149824001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695149824001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:37:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 04:37:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695149824001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:37:10] 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":706311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:37:10] local.INFO: GPS data processed {"connection_id":163499,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:37:10] local.INFO: Acknowledgment sent {"connection_id":163499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:38:51] local.INFO: TCP Data received {"connection_id":165856,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:38:51] local.INFO: Processing buffer {"connection_id":165856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:38:51] local.INFO: IMEI packet received {"connection_id":165856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 04:38:51] local.INFO: IMEI acknowledgment sent {"connection_id":165856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:38:57] local.INFO: TCP Data received {"connection_id":165856,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:38:57] local.INFO: Processing buffer {"connection_id":165856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:38:57] local.INFO: IMEI packet received {"connection_id":165856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 04:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":165856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 04:38:59] local.INFO: TCP Data received {"connection_id":165856,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:38:59] local.INFO: Processing buffer {"connection_id":165856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:38:59] local.INFO: IMEI packet received {"connection_id":165856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 04:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":165856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 04:39:00] local.INFO: TCP Data received {"connection_id":165856,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0457969e0012d34c14006aa4840000300e630..."} 
[2026-08-28 04:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0457969e0012d34c14006aa4840000300e630..."} 
[2026-08-28 04:39:00] local.INFO: Processing buffer {"connection_id":165856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0457969e0012d34c14006aa4840000300e630..."} 
[2026-08-28 04:39:00] local.INFO: Packet analysis {"connection_id":165856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04579"} 
[2026-08-28 04:39:00] local.INFO: Extracted packet for processing {"connection_id":165856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04579"} 
[2026-08-28 04:39:00] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:39:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:39:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695149824001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:39:00] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:39:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:39:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:39:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 04:39:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787871980000,"timestamp_ms":1787871980000,"timestamp_seconds":1787871980,"priority":1,"record_length":96,"hex_timestamp":"000001a0457969e0"} 
[2026-08-28 04:39:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:39:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:39:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:39:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:39:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:39:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:39:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:39:00] local.INFO: Teltonika packet parsed successfully {"connection_id":165856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:39:00] local.INFO: Passing IMEI to GPS processor {"connection_id":165856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:39:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":165856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:39:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:39:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:39:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:39:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695149824001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:39:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:39:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:39:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695149824001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:39:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:39: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-28 04:39:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:39:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695149824001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:39:00] local.INFO: DEBUG: GPS processor result {"connection_id":165856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:39:00] local.INFO: GPS data processed {"connection_id":165856,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:39:00] local.INFO: Acknowledgment sent {"connection_id":165856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:39:02] local.INFO: TCP Data received {"connection_id":165856,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0457969e0012d34c14006aa4840000300e630..."} 
[2026-08-28 04:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0457969e0012d34c14006aa4840000300e630..."} 
[2026-08-28 04:39:02] local.INFO: Processing buffer {"connection_id":165856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0457969e0012d34c14006aa4840000300e630..."} 
[2026-08-28 04:39:02] local.INFO: Packet analysis {"connection_id":165856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04579"} 
[2026-08-28 04:39:02] local.INFO: Extracted packet for processing {"connection_id":165856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04579"} 
[2026-08-28 04:39:02] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695149824001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:39:02] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:39:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:39:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 04:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787871980000,"timestamp_ms":1787871980000,"timestamp_seconds":1787871980,"priority":1,"record_length":96,"hex_timestamp":"000001a0457969e0"} 
[2026-08-28 04:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:39:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:39:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:39:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":165856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":165856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":165856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:39:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695149824001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695149824001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:39:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:39: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-28 04:39:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695149824001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":165856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:39:02] local.INFO: GPS data processed {"connection_id":165856,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:39:02] local.INFO: Acknowledgment sent {"connection_id":165856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:39:31] local.INFO: TCP Data received {"connection_id":165857,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:39:31] local.INFO: Processing buffer {"connection_id":165857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:39:31] local.INFO: IMEI packet received {"connection_id":165857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 04:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":165857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:39:37] local.INFO: TCP Data received {"connection_id":165857,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:39:37] local.INFO: Processing buffer {"connection_id":165857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:39:37] local.INFO: IMEI packet received {"connection_id":165857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 04:39:37] local.INFO: IMEI acknowledgment sent {"connection_id":165857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 04:39:38] local.INFO: TCP Data received {"connection_id":165857,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0457969e0012d34c14006aa4840000300e630..."} 
[2026-08-28 04:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0457969e0012d34c14006aa4840000300e630..."} 
[2026-08-28 04:39:38] local.INFO: Processing buffer {"connection_id":165857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0457969e0012d34c14006aa4840000300e630..."} 
[2026-08-28 04:39:38] local.INFO: Packet analysis {"connection_id":165857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04579"} 
[2026-08-28 04:39:38] local.INFO: Extracted packet for processing {"connection_id":165857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04579"} 
[2026-08-28 04:39:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695149824001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:39:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:39: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-28 04:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787871980000,"timestamp_ms":1787871980000,"timestamp_seconds":1787871980,"priority":1,"record_length":96,"hex_timestamp":"000001a0457969e0"} 
[2026-08-28 04:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:39:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:39:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:39:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":165857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":165857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":165857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:39:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695149824001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695149824001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:39:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:39: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-28 04:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695149824001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":165857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:39:38] local.INFO: GPS data processed {"connection_id":165857,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:39:38] local.INFO: Acknowledgment sent {"connection_id":165857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:40:10] local.INFO: TCP Data received {"connection_id":165857,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0457969e0012d34c14006aa4840000300e630..."} 
[2026-08-28 04:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0457969e0012d34c14006aa4840000300e630..."} 
[2026-08-28 04:40:10] local.INFO: Processing buffer {"connection_id":165857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0457969e0012d34c14006aa4840000300e630..."} 
[2026-08-28 04:40:10] local.INFO: Packet analysis {"connection_id":165857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04579"} 
[2026-08-28 04:40:10] local.INFO: Extracted packet for processing {"connection_id":165857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04579"} 
[2026-08-28 04:40:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695149824001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:40:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:40:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 04:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787871980000,"timestamp_ms":1787871980000,"timestamp_seconds":1787871980,"priority":1,"record_length":96,"hex_timestamp":"000001a0457969e0"} 
[2026-08-28 04:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:40:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:40:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:40:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":165857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":165857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":165857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695149824001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695149824001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:40:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 04:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695149824001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":165857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:40:10] local.INFO: GPS data processed {"connection_id":165857,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:40:10] local.INFO: Acknowledgment sent {"connection_id":165857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:40:31] local.INFO: TCP Data received {"connection_id":164503,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:40:31] local.INFO: Processing buffer {"connection_id":164503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:40:31] local.INFO: IMEI packet received {"connection_id":164503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 04:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":164503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:40:37] local.INFO: TCP Data received {"connection_id":164503,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:40:37] local.INFO: Processing buffer {"connection_id":164503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:40:37] local.INFO: IMEI packet received {"connection_id":164503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 04:40:37] local.INFO: IMEI acknowledgment sent {"connection_id":164503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 04:40:38] local.INFO: TCP Data received {"connection_id":164503,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0457969e0012d34c14006aa4840000300e630..."} 
[2026-08-28 04:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0457969e0012d34c14006aa4840000300e630..."} 
[2026-08-28 04:40:38] local.INFO: Processing buffer {"connection_id":164503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0457969e0012d34c14006aa4840000300e630..."} 
[2026-08-28 04:40:38] local.INFO: Packet analysis {"connection_id":164503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04579"} 
[2026-08-28 04:40:38] local.INFO: Extracted packet for processing {"connection_id":164503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04579"} 
[2026-08-28 04:40:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695149824001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:40:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:40: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-28 04:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787871980000,"timestamp_ms":1787871980000,"timestamp_seconds":1787871980,"priority":1,"record_length":96,"hex_timestamp":"000001a0457969e0"} 
[2026-08-28 04:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:40:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:40:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:40:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695149824001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695149824001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:40:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:40: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-28 04:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695149824001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":164503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:40:38] local.INFO: GPS data processed {"connection_id":164503,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:40:38] local.INFO: Acknowledgment sent {"connection_id":164503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:41:09] local.INFO: TCP Data received {"connection_id":164503,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0457969e0012d34c14006aa4840000300e630..."} 
[2026-08-28 04:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0457969e0012d34c14006aa4840000300e630..."} 
[2026-08-28 04:41:09] local.INFO: Processing buffer {"connection_id":164503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0457969e0012d34c14006aa4840000300e630..."} 
[2026-08-28 04:41:09] local.INFO: Packet analysis {"connection_id":164503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04579"} 
[2026-08-28 04:41:09] local.INFO: Extracted packet for processing {"connection_id":164503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04579"} 
[2026-08-28 04:41:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:41:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695149824001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:41:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:41:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:41:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:41: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-28 04:41:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787871980000,"timestamp_ms":1787871980000,"timestamp_seconds":1787871980,"priority":1,"record_length":96,"hex_timestamp":"000001a0457969e0"} 
[2026-08-28 04:41:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:41:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:41:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:41:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:41:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:41:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:41:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:41:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:41:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:41:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:41:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:41:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:41:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695149824001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:41:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:41:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:41:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695149824001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:41:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:41: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-28 04:41:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:41:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695149824001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:41:09] local.INFO: DEBUG: GPS processor result {"connection_id":164503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:41:09] local.INFO: GPS data processed {"connection_id":164503,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:41:09] local.INFO: Acknowledgment sent {"connection_id":164503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:41:28] local.INFO: TCP Data received {"connection_id":163500,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 04:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163500,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 04:41:28] local.INFO: Processing buffer {"connection_id":163500,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 04:41:28] local.INFO: IMEI packet received {"connection_id":163500,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 04:41:28] local.INFO: IMEI acknowledgment sent {"connection_id":163500,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:41:37] local.INFO: TCP Data received {"connection_id":164504,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:41:37] local.INFO: Processing buffer {"connection_id":164504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:41:37] local.INFO: IMEI packet received {"connection_id":164504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 04:41:37] local.INFO: IMEI acknowledgment sent {"connection_id":164504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:41:42] local.INFO: TCP Data received {"connection_id":164504,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:41:42] local.INFO: Processing buffer {"connection_id":164504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:41:42] local.INFO: IMEI packet received {"connection_id":164504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 04:41:42] local.INFO: IMEI acknowledgment sent {"connection_id":164504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 04:41:43] local.INFO: TCP Data received {"connection_id":164504,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0457969e0012d34c14006aa4840000300e630..."} 
[2026-08-28 04:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0457969e0012d34c14006aa4840000300e630..."} 
[2026-08-28 04:41:43] local.INFO: Processing buffer {"connection_id":164504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0457969e0012d34c14006aa4840000300e630..."} 
[2026-08-28 04:41:43] local.INFO: Packet analysis {"connection_id":164504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04579"} 
[2026-08-28 04:41:43] local.INFO: Extracted packet for processing {"connection_id":164504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04579"} 
[2026-08-28 04:41:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04: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-28 04:41:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695149824001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:41:43] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:41:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:41:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:41: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-28 04:41:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787871980000,"timestamp_ms":1787871980000,"timestamp_seconds":1787871980,"priority":1,"record_length":96,"hex_timestamp":"000001a0457969e0"} 
[2026-08-28 04: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-28 04:41:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:41: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-28 04: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-28 04: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-28 04:41:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:41:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:41:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:41:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:41: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-28 04:41:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:41:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:41:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695149824001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:41:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:41:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:41:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695149824001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:41:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04: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-28 04:41:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:41:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695149824001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:41:43] local.INFO: DEBUG: GPS processor result {"connection_id":164504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:41:43] local.INFO: GPS data processed {"connection_id":164504,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:41:43] local.INFO: Acknowledgment sent {"connection_id":164504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:41:47] local.INFO: TCP Data received {"connection_id":164504,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0457969e0012d34c14006aa4840000300e630..."} 
[2026-08-28 04:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0457969e0012d34c14006aa4840000300e630..."} 
[2026-08-28 04:41:47] local.INFO: Processing buffer {"connection_id":164504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0457969e0012d34c14006aa4840000300e630..."} 
[2026-08-28 04:41:47] local.INFO: Packet analysis {"connection_id":164504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04579"} 
[2026-08-28 04:41:47] local.INFO: Extracted packet for processing {"connection_id":164504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04579"} 
[2026-08-28 04:41:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04: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-28 04:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695149824001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:41:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:41:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:41:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:41: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-28 04:41:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787871980000,"timestamp_ms":1787871980000,"timestamp_seconds":1787871980,"priority":1,"record_length":96,"hex_timestamp":"000001a0457969e0"} 
[2026-08-28 04: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-28 04:41:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:41: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-28 04: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-28 04: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-28 04:41:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:41:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:41:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:41:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:41: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-28 04:41:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:41:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:41:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695149824001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:41:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:41:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:41:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695149824001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:41:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04: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-28 04:41:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:41:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695149824001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:41:47] local.INFO: DEBUG: GPS processor result {"connection_id":164504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:41:47] local.INFO: GPS data processed {"connection_id":164504,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:41:47] local.INFO: Acknowledgment sent {"connection_id":164504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:42:32] local.INFO: TCP Data received {"connection_id":164505,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:42:32] local.INFO: Processing buffer {"connection_id":164505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:42:32] local.INFO: IMEI packet received {"connection_id":164505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 04:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":164505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:42:37] local.INFO: TCP Data received {"connection_id":164505,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:42:37] local.INFO: Processing buffer {"connection_id":164505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:42:37] local.INFO: IMEI packet received {"connection_id":164505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 04:42:37] local.INFO: IMEI acknowledgment sent {"connection_id":164505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 04:42:38] local.INFO: TCP Data received {"connection_id":164505,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0457e01a8012d34c14006aa4840000400e630..."} 
[2026-08-28 04:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0457e01a8012d34c14006aa4840000400e630..."} 
[2026-08-28 04:42:38] local.INFO: Processing buffer {"connection_id":164505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0457e01a8012d34c14006aa4840000400e630..."} 
[2026-08-28 04:42:38] local.INFO: Packet analysis {"connection_id":164505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0457e"} 
[2026-08-28 04:42:38] local.INFO: Extracted packet for processing {"connection_id":164505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0457e"} 
[2026-08-28 04:42:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":4,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695226880001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:42:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:42: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-28 04:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787872281000,"timestamp_ms":1787872281000,"timestamp_seconds":1787872281,"priority":1,"record_length":96,"hex_timestamp":"000001a0457e01a8"} 
[2026-08-28 04:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:42:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:42:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:42:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:42:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695226880001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695226880001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:42:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:42: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-28 04:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695226880001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":164505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:42:38] local.INFO: GPS data processed {"connection_id":164505,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:42:38] local.INFO: Acknowledgment sent {"connection_id":164505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:43:09] local.INFO: TCP Data received {"connection_id":164505,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0457e01a8012d34c14006aa4840000400e630..."} 
[2026-08-28 04:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0457e01a8012d34c14006aa4840000400e630..."} 
[2026-08-28 04:43:09] local.INFO: Processing buffer {"connection_id":164505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0457e01a8012d34c14006aa4840000400e630..."} 
[2026-08-28 04:43:09] local.INFO: Packet analysis {"connection_id":164505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0457e"} 
[2026-08-28 04:43:09] local.INFO: Extracted packet for processing {"connection_id":164505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0457e"} 
[2026-08-28 04:43:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":4,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:43:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695226880001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:43:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:43:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:43:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:43: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-28 04:43:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787872281000,"timestamp_ms":1787872281000,"timestamp_seconds":1787872281,"priority":1,"record_length":96,"hex_timestamp":"000001a0457e01a8"} 
[2026-08-28 04:43:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:43:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:43:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:43:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:43:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:43:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:43:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:43:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:43:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:43:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:43:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:43:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:43:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695226880001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:43:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695226880001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:43:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:43: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-28 04:43:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:43:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695226880001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:43:09] local.INFO: DEBUG: GPS processor result {"connection_id":164505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:43:09] local.INFO: GPS data processed {"connection_id":164505,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:43:09] local.INFO: Acknowledgment sent {"connection_id":164505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:43:31] local.INFO: TCP Data received {"connection_id":165858,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:43:31] local.INFO: Processing buffer {"connection_id":165858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:43:31] local.INFO: IMEI packet received {"connection_id":165858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 04:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":165858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:43:37] local.INFO: TCP Data received {"connection_id":165858,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:43:37] local.INFO: Processing buffer {"connection_id":165858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:43:37] local.INFO: IMEI packet received {"connection_id":165858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 04:43:37] local.INFO: IMEI acknowledgment sent {"connection_id":165858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 04:43:38] local.INFO: TCP Data received {"connection_id":165858,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0457e01a8012d34c14006aa4840000400e630..."} 
[2026-08-28 04:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0457e01a8012d34c14006aa4840000400e630..."} 
[2026-08-28 04:43:38] local.INFO: Processing buffer {"connection_id":165858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0457e01a8012d34c14006aa4840000400e630..."} 
[2026-08-28 04:43:38] local.INFO: Packet analysis {"connection_id":165858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0457e"} 
[2026-08-28 04:43:38] local.INFO: Extracted packet for processing {"connection_id":165858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0457e"} 
[2026-08-28 04:43:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":4,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695226880001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:43:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:43: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-28 04:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787872281000,"timestamp_ms":1787872281000,"timestamp_seconds":1787872281,"priority":1,"record_length":96,"hex_timestamp":"000001a0457e01a8"} 
[2026-08-28 04:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:43:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:43:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:43:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":165858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":165858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":165858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:43:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695226880001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695226880001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:43:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:43: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-28 04:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695226880001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":165858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:43:38] local.INFO: GPS data processed {"connection_id":165858,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:43:38] local.INFO: Acknowledgment sent {"connection_id":165858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:44:09] local.INFO: TCP Data received {"connection_id":165858,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0457e01a8012d34c14006aa4840000400e630..."} 
[2026-08-28 04:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0457e01a8012d34c14006aa4840000400e630..."} 
[2026-08-28 04:44:09] local.INFO: Processing buffer {"connection_id":165858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0457e01a8012d34c14006aa4840000400e630..."} 
[2026-08-28 04:44:09] local.INFO: Packet analysis {"connection_id":165858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0457e"} 
[2026-08-28 04:44:09] local.INFO: Extracted packet for processing {"connection_id":165858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0457e"} 
[2026-08-28 04:44:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":4,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:44:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695226880001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:44:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:44: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-28 04:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787872281000,"timestamp_ms":1787872281000,"timestamp_seconds":1787872281,"priority":1,"record_length":96,"hex_timestamp":"000001a0457e01a8"} 
[2026-08-28 04:44:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:44:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:44:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:44:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:44:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:44:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":165858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":165858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":165858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:44:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695226880001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695226880001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:44:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:44: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-28 04:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695226880001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":165858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:44:09] local.INFO: GPS data processed {"connection_id":165858,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:44:09] local.INFO: Acknowledgment sent {"connection_id":165858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:44:31] local.INFO: TCP Data received {"connection_id":163501,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:44:31] local.INFO: Processing buffer {"connection_id":163501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:44:31] local.INFO: IMEI packet received {"connection_id":163501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 04:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":163501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:44:37] local.INFO: TCP Data received {"connection_id":163501,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:44:37] local.INFO: Processing buffer {"connection_id":163501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:44:37] local.INFO: IMEI packet received {"connection_id":163501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 04:44:37] local.INFO: IMEI acknowledgment sent {"connection_id":163501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 04:44:39] local.INFO: TCP Data received {"connection_id":163501,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0457e01a8012d34c14006aa4840000400e630..."} 
[2026-08-28 04:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0457e01a8012d34c14006aa4840000400e630..."} 
[2026-08-28 04:44:39] local.INFO: Processing buffer {"connection_id":163501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0457e01a8012d34c14006aa4840000400e630..."} 
[2026-08-28 04:44:39] local.INFO: Packet analysis {"connection_id":163501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0457e"} 
[2026-08-28 04:44:39] local.INFO: Extracted packet for processing {"connection_id":163501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0457e"} 
[2026-08-28 04:44:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":4,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:44:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695226880001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:44:39] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:44:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:44:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:44:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 04:44:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787872281000,"timestamp_ms":1787872281000,"timestamp_seconds":1787872281,"priority":1,"record_length":96,"hex_timestamp":"000001a0457e01a8"} 
[2026-08-28 04:44:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:44:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:44:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:44:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:44:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:44:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:44:39] local.INFO: Teltonika packet parsed successfully {"connection_id":163501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:44:39] local.INFO: Passing IMEI to GPS processor {"connection_id":163501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:44:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":163501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:44:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:44:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:44:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:44:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695226880001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:44:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:44:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:44:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695226880001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:44:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:44:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 04:44:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:44:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695226880001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:44:39] 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":706324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:44:39] local.INFO: GPS data processed {"connection_id":163501,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:44:39] local.INFO: Acknowledgment sent {"connection_id":163501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:45:10] local.INFO: TCP Data received {"connection_id":163501,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0457e01a8012d34c14006aa4840000400e630..."} 
[2026-08-28 04:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0457e01a8012d34c14006aa4840000400e630..."} 
[2026-08-28 04:45:10] local.INFO: Processing buffer {"connection_id":163501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0457e01a8012d34c14006aa4840000400e630..."} 
[2026-08-28 04:45:10] local.INFO: Packet analysis {"connection_id":163501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0457e"} 
[2026-08-28 04:45:10] local.INFO: Extracted packet for processing {"connection_id":163501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0457e"} 
[2026-08-28 04:45:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":4,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695226880001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:45:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:45:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:45:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 04:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787872281000,"timestamp_ms":1787872281000,"timestamp_seconds":1787872281,"priority":1,"record_length":96,"hex_timestamp":"000001a0457e01a8"} 
[2026-08-28 04:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:45:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:45:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:45:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:45:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695226880001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695226880001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:45:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 04:45:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695226880001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:45:10] 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":706325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:45:10] local.INFO: GPS data processed {"connection_id":163501,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:45:10] local.INFO: Acknowledgment sent {"connection_id":163501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:45:37] local.INFO: TCP Data received {"connection_id":163241,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:45:37] local.INFO: Processing buffer {"connection_id":163241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:45:37] local.INFO: IMEI packet received {"connection_id":163241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 04:45:37] local.INFO: IMEI acknowledgment sent {"connection_id":163241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:45:42] local.INFO: TCP Data received {"connection_id":163241,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:45:42] local.INFO: Processing buffer {"connection_id":163241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:45:42] local.INFO: IMEI packet received {"connection_id":163241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 04:45:42] local.INFO: IMEI acknowledgment sent {"connection_id":163241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 04:45:43] local.INFO: TCP Data received {"connection_id":163241,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0457e01a8012d34c14006aa4840000400e630..."} 
[2026-08-28 04:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0457e01a8012d34c14006aa4840000400e630..."} 
[2026-08-28 04:45:43] local.INFO: Processing buffer {"connection_id":163241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0457e01a8012d34c14006aa4840000400e630..."} 
[2026-08-28 04:45:43] local.INFO: Packet analysis {"connection_id":163241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0457e"} 
[2026-08-28 04:45:43] local.INFO: Extracted packet for processing {"connection_id":163241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0457e"} 
[2026-08-28 04:45:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":4,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04: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-28 04:45:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695226880001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:45:43] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:45:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:45:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:45: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-28 04:45:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787872281000,"timestamp_ms":1787872281000,"timestamp_seconds":1787872281,"priority":1,"record_length":96,"hex_timestamp":"000001a0457e01a8"} 
[2026-08-28 04: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-28 04:45:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:45: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-28 04: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-28 04: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-28 04:45:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:45:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:45:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:45:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:45: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-28 04:45:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:45:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:45:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695226880001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:45:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:45:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:45:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695226880001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:45:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04: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-28 04:45:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:45:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695226880001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:45:43] local.INFO: DEBUG: GPS processor result {"connection_id":163241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:45:43] local.INFO: GPS data processed {"connection_id":163241,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:45:43] local.INFO: Acknowledgment sent {"connection_id":163241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:45:48] local.INFO: TCP Data received {"connection_id":163241,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0457e01a8012d34c14006aa4840000400e630..."} 
[2026-08-28 04:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0457e01a8012d34c14006aa4840000400e630..."} 
[2026-08-28 04:45:48] local.INFO: Processing buffer {"connection_id":163241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0457e01a8012d34c14006aa4840000400e630..."} 
[2026-08-28 04:45:48] local.INFO: Packet analysis {"connection_id":163241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0457e"} 
[2026-08-28 04:45:48] local.INFO: Extracted packet for processing {"connection_id":163241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0457e"} 
[2026-08-28 04:45:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":4,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04: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-28 04:45:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695226880001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:45:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:45:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:45:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:45: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-28 04:45:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787872281000,"timestamp_ms":1787872281000,"timestamp_seconds":1787872281,"priority":1,"record_length":96,"hex_timestamp":"000001a0457e01a8"} 
[2026-08-28 04: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-28 04:45:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:45: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-28 04: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-28 04: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-28 04:45:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:45:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:45:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:45:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:45: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-28 04:45:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:45:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:45:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695226880001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:45:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:45:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:45:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695226880001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:45:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04: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-28 04:45:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:45:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695226880001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:45:48] local.INFO: DEBUG: GPS processor result {"connection_id":163241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:45:48] local.INFO: GPS data processed {"connection_id":163241,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:45:48] local.INFO: Acknowledgment sent {"connection_id":163241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:46:32] local.INFO: TCP Data received {"connection_id":165859,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:46:32] local.INFO: Processing buffer {"connection_id":165859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:46:32] local.INFO: IMEI packet received {"connection_id":165859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 04:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":165859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:46:37] local.INFO: TCP Data received {"connection_id":165859,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:46:37] local.INFO: Processing buffer {"connection_id":165859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:46:37] local.INFO: IMEI packet received {"connection_id":165859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 04:46:37] local.INFO: IMEI acknowledgment sent {"connection_id":165859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 04:46:38] local.INFO: TCP Data received {"connection_id":165859,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0457e01a8012d34c14006aa4840000400e630..."} 
[2026-08-28 04:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0457e01a8012d34c14006aa4840000400e630..."} 
[2026-08-28 04:46:38] local.INFO: Processing buffer {"connection_id":165859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0457e01a8012d34c14006aa4840000400e630..."} 
[2026-08-28 04:46:38] local.INFO: Packet analysis {"connection_id":165859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0457e"} 
[2026-08-28 04:46:38] local.INFO: Extracted packet for processing {"connection_id":165859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0457e"} 
[2026-08-28 04:46:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":4,"angle":230,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695226880001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:46:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:46: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-28 04:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787872281000,"timestamp_ms":1787872281000,"timestamp_seconds":1787872281,"priority":1,"record_length":96,"hex_timestamp":"000001a0457e01a8"} 
[2026-08-28 04:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:46:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:46:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:46:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":165859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":165859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":165859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:46:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695226880001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695226880001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:46:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:46: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-28 04:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695226880001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":165859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:46:38] local.INFO: GPS data processed {"connection_id":165859,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:46:38] local.INFO: Acknowledgment sent {"connection_id":165859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:47:02] local.INFO: TCP Data received {"connection_id":164506,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 04:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164506,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 04:47:02] local.INFO: Processing buffer {"connection_id":164506,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 04:47:02] local.INFO: IMEI packet received {"connection_id":164506,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 04:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":164506,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:47:09] local.INFO: TCP Data received {"connection_id":165859,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a045829970012d34c14006aa4840000400e62f..."} 
[2026-08-28 04:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045829970012d34c14006aa4840000400e62f..."} 
[2026-08-28 04:47:09] local.INFO: Processing buffer {"connection_id":165859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045829970012d34c14006aa4840000400e62f..."} 
[2026-08-28 04:47:09] local.INFO: Packet analysis {"connection_id":165859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04582"} 
[2026-08-28 04:47:09] local.INFO: Extracted packet for processing {"connection_id":165859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04582"} 
[2026-08-28 04:47:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":4,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695303936001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:47:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:47: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-28 04:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787872582000,"timestamp_ms":1787872582000,"timestamp_seconds":1787872582,"priority":1,"record_length":96,"hex_timestamp":"000001a045829970"} 
[2026-08-28 04:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:47:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:47:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":165859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":165859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":165859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:47:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695303936001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695303936001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:47:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:47: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-28 04:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695303936001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":165859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:47:09] local.INFO: GPS data processed {"connection_id":165859,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:47:09] local.INFO: Acknowledgment sent {"connection_id":165859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:47:32] local.INFO: TCP Data received {"connection_id":164507,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:47:32] local.INFO: Processing buffer {"connection_id":164507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:47:32] local.INFO: IMEI packet received {"connection_id":164507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 04:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":164507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:47:37] local.INFO: TCP Data received {"connection_id":164507,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:47:37] local.INFO: Processing buffer {"connection_id":164507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:47:37] local.INFO: IMEI packet received {"connection_id":164507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 04:47:37] local.INFO: IMEI acknowledgment sent {"connection_id":164507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 04:47:38] local.INFO: TCP Data received {"connection_id":164507,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a045829970012d34c14006aa4840000400e62f..."} 
[2026-08-28 04:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045829970012d34c14006aa4840000400e62f..."} 
[2026-08-28 04:47:38] local.INFO: Processing buffer {"connection_id":164507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045829970012d34c14006aa4840000400e62f..."} 
[2026-08-28 04:47:38] local.INFO: Packet analysis {"connection_id":164507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04582"} 
[2026-08-28 04:47:38] local.INFO: Extracted packet for processing {"connection_id":164507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04582"} 
[2026-08-28 04:47:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":4,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695303936001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:47:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:47: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-28 04:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787872582000,"timestamp_ms":1787872582000,"timestamp_seconds":1787872582,"priority":1,"record_length":96,"hex_timestamp":"000001a045829970"} 
[2026-08-28 04:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:47:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695303936001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695303936001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:47:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:47: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-28 04:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695303936001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":164507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:47:38] local.INFO: GPS data processed {"connection_id":164507,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:47:38] local.INFO: Acknowledgment sent {"connection_id":164507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:48:09] local.INFO: TCP Data received {"connection_id":164507,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a045829970012d34c14006aa4840000400e62f..."} 
[2026-08-28 04:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045829970012d34c14006aa4840000400e62f..."} 
[2026-08-28 04:48:09] local.INFO: Processing buffer {"connection_id":164507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045829970012d34c14006aa4840000400e62f..."} 
[2026-08-28 04:48:09] local.INFO: Packet analysis {"connection_id":164507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04582"} 
[2026-08-28 04:48:09] local.INFO: Extracted packet for processing {"connection_id":164507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04582"} 
[2026-08-28 04:48:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":4,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695303936001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:48:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:48:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:48: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-28 04:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787872582000,"timestamp_ms":1787872582000,"timestamp_seconds":1787872582,"priority":1,"record_length":96,"hex_timestamp":"000001a045829970"} 
[2026-08-28 04:48:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:48:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:48:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:48:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:48:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:48:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695303936001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695303936001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:48:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:48: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-28 04:48:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695303936001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":164507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:48:09] local.INFO: GPS data processed {"connection_id":164507,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:48:09] local.INFO: Acknowledgment sent {"connection_id":164507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:48:31] local.INFO: TCP Data received {"connection_id":163502,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:48:31] local.INFO: Processing buffer {"connection_id":163502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:48:31] local.INFO: IMEI packet received {"connection_id":163502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 04:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":163502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:48:37] local.INFO: TCP Data received {"connection_id":163502,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:48:37] local.INFO: Processing buffer {"connection_id":163502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:48:37] local.INFO: IMEI packet received {"connection_id":163502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 04:48:37] local.INFO: IMEI acknowledgment sent {"connection_id":163502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 04:48:38] local.INFO: TCP Data received {"connection_id":163502,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a045829970012d34c14006aa4840000400e62f..."} 
[2026-08-28 04:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045829970012d34c14006aa4840000400e62f..."} 
[2026-08-28 04:48:38] local.INFO: Processing buffer {"connection_id":163502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045829970012d34c14006aa4840000400e62f..."} 
[2026-08-28 04:48:38] local.INFO: Packet analysis {"connection_id":163502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04582"} 
[2026-08-28 04:48:38] local.INFO: Extracted packet for processing {"connection_id":163502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04582"} 
[2026-08-28 04:48:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":4,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695303936001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:48:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:48: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-28 04:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787872582000,"timestamp_ms":1787872582000,"timestamp_seconds":1787872582,"priority":1,"record_length":96,"hex_timestamp":"000001a045829970"} 
[2026-08-28 04:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:48:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:48:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:48:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695303936001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695303936001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:48:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:48: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-28 04:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695303936001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:48:38] 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":706332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:48:38] local.INFO: GPS data processed {"connection_id":163502,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:48:38] local.INFO: Acknowledgment sent {"connection_id":163502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:49:09] local.INFO: TCP Data received {"connection_id":163502,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a045829970012d34c14006aa4840000400e62f..."} 
[2026-08-28 04:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045829970012d34c14006aa4840000400e62f..."} 
[2026-08-28 04:49:09] local.INFO: Processing buffer {"connection_id":163502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045829970012d34c14006aa4840000400e62f..."} 
[2026-08-28 04:49:09] local.INFO: Packet analysis {"connection_id":163502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04582"} 
[2026-08-28 04:49:09] local.INFO: Extracted packet for processing {"connection_id":163502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04582"} 
[2026-08-28 04:49:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":4,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695303936001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:49:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:49: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-28 04:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787872582000,"timestamp_ms":1787872582000,"timestamp_seconds":1787872582,"priority":1,"record_length":96,"hex_timestamp":"000001a045829970"} 
[2026-08-28 04:49:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:49:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:49:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:49:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:49:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:49:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695303936001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695303936001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:49:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:49: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-28 04:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695303936001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:49:09] 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":706333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:49:09] local.INFO: GPS data processed {"connection_id":163502,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:49:09] local.INFO: Acknowledgment sent {"connection_id":163502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:49:31] local.INFO: TCP Data received {"connection_id":165861,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:49:31] local.INFO: Processing buffer {"connection_id":165861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:49:31] local.INFO: IMEI packet received {"connection_id":165861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 04:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":165861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:49:37] local.INFO: TCP Data received {"connection_id":165861,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:49:37] local.INFO: Processing buffer {"connection_id":165861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:49:37] local.INFO: IMEI packet received {"connection_id":165861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 04:49:37] local.INFO: IMEI acknowledgment sent {"connection_id":165861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 04:49:38] local.INFO: TCP Data received {"connection_id":165861,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a045829970012d34c14006aa4840000400e62f..."} 
[2026-08-28 04:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045829970012d34c14006aa4840000400e62f..."} 
[2026-08-28 04:49:38] local.INFO: Processing buffer {"connection_id":165861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045829970012d34c14006aa4840000400e62f..."} 
[2026-08-28 04:49:38] local.INFO: Packet analysis {"connection_id":165861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04582"} 
[2026-08-28 04:49:38] local.INFO: Extracted packet for processing {"connection_id":165861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04582"} 
[2026-08-28 04:49:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":4,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695303936001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:49:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:49: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-28 04:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787872582000,"timestamp_ms":1787872582000,"timestamp_seconds":1787872582,"priority":1,"record_length":96,"hex_timestamp":"000001a045829970"} 
[2026-08-28 04:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:49:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:49:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:49:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":165861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":165861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":165861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:49:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695303936001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695303936001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:49:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:49: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-28 04:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695303936001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":165861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:49:38] local.INFO: GPS data processed {"connection_id":165861,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:49:38] local.INFO: Acknowledgment sent {"connection_id":165861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:50:09] local.INFO: TCP Data received {"connection_id":165861,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a045829970012d34c14006aa4840000400e62f..."} 
[2026-08-28 04:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045829970012d34c14006aa4840000400e62f..."} 
[2026-08-28 04:50:09] local.INFO: Processing buffer {"connection_id":165861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045829970012d34c14006aa4840000400e62f..."} 
[2026-08-28 04:50:09] local.INFO: Packet analysis {"connection_id":165861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04582"} 
[2026-08-28 04:50:09] local.INFO: Extracted packet for processing {"connection_id":165861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04582"} 
[2026-08-28 04:50:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":4,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695303936001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:50:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:50: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-28 04:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787872582000,"timestamp_ms":1787872582000,"timestamp_seconds":1787872582,"priority":1,"record_length":96,"hex_timestamp":"000001a045829970"} 
[2026-08-28 04:50:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:50:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:50:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:50:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:50:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":165861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":165861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":165861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:50:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695303936001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695303936001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:50:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:50: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-28 04:50:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695303936001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":165861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:50:09] local.INFO: GPS data processed {"connection_id":165861,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:50:09] local.INFO: Acknowledgment sent {"connection_id":165861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:50:31] local.INFO: TCP Data received {"connection_id":163503,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:50:31] local.INFO: Processing buffer {"connection_id":163503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:50:31] local.INFO: IMEI packet received {"connection_id":163503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 04:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":163503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:50:37] local.INFO: TCP Data received {"connection_id":163503,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:50:37] local.INFO: Processing buffer {"connection_id":163503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:50:37] local.INFO: IMEI packet received {"connection_id":163503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 04:50:37] local.INFO: IMEI acknowledgment sent {"connection_id":163503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 04:50:38] local.INFO: TCP Data received {"connection_id":163503,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a045829970012d34c14006aa4840000400e62f..."} 
[2026-08-28 04:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045829970012d34c14006aa4840000400e62f..."} 
[2026-08-28 04:50:38] local.INFO: Processing buffer {"connection_id":163503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045829970012d34c14006aa4840000400e62f..."} 
[2026-08-28 04:50:38] local.INFO: Packet analysis {"connection_id":163503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04582"} 
[2026-08-28 04:50:38] local.INFO: Extracted packet for processing {"connection_id":163503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04582"} 
[2026-08-28 04:50:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":4,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695303936001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:50:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:50: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-28 04:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787872582000,"timestamp_ms":1787872582000,"timestamp_seconds":1787872582,"priority":1,"record_length":96,"hex_timestamp":"000001a045829970"} 
[2026-08-28 04:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:50:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695303936001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695303936001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:50:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:50: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-28 04:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695303936001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:50:38] 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":706336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:50:38] local.INFO: GPS data processed {"connection_id":163503,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:50:38] local.INFO: Acknowledgment sent {"connection_id":163503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:51:10] local.INFO: TCP Data received {"connection_id":163503,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a045829970012d34c14006aa4840000400e62f..."} 
[2026-08-28 04:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045829970012d34c14006aa4840000400e62f..."} 
[2026-08-28 04:51:10] local.INFO: Processing buffer {"connection_id":163503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045829970012d34c14006aa4840000400e62f..."} 
[2026-08-28 04:51:10] local.INFO: Packet analysis {"connection_id":163503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04582"} 
[2026-08-28 04:51:10] local.INFO: Extracted packet for processing {"connection_id":163503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04582"} 
[2026-08-28 04:51:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":4,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695303936001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:51:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:51:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:51:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 04:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787872582000,"timestamp_ms":1787872582000,"timestamp_seconds":1787872582,"priority":1,"record_length":96,"hex_timestamp":"000001a045829970"} 
[2026-08-28 04:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:51:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:51:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:51:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:51:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695303936001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695303936001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:51:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 04:51:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695303936001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:51:10] 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":706337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:51:10] local.INFO: GPS data processed {"connection_id":163503,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:51:10] local.INFO: Acknowledgment sent {"connection_id":163503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:51:36] local.INFO: TCP Data received {"connection_id":165862,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:51:36] local.INFO: Processing buffer {"connection_id":165862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:51:36] local.INFO: IMEI packet received {"connection_id":165862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 04:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":165862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:51:42] local.INFO: TCP Data received {"connection_id":165862,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:51:42] local.INFO: Processing buffer {"connection_id":165862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:51:42] local.INFO: IMEI packet received {"connection_id":165862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 04:51:42] local.INFO: IMEI acknowledgment sent {"connection_id":165862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 04:51:43] local.INFO: TCP Data received {"connection_id":165862,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a045829970012d34c14006aa4840000400e62f..."} 
[2026-08-28 04:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045829970012d34c14006aa4840000400e62f..."} 
[2026-08-28 04:51:43] local.INFO: Processing buffer {"connection_id":165862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045829970012d34c14006aa4840000400e62f..."} 
[2026-08-28 04:51:43] local.INFO: Packet analysis {"connection_id":165862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04582"} 
[2026-08-28 04:51:43] local.INFO: Extracted packet for processing {"connection_id":165862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04582"} 
[2026-08-28 04:51:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":4,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 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-28 04:51:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695303936001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:51:43] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:51:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:51:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:51: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-28 04:51:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787872582000,"timestamp_ms":1787872582000,"timestamp_seconds":1787872582,"priority":1,"record_length":96,"hex_timestamp":"000001a045829970"} 
[2026-08-28 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-28 04:51:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:51:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:51: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-28 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-28 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-28 04:51:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:51:43] local.INFO: Teltonika packet parsed successfully {"connection_id":165862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:51:43] local.INFO: Passing IMEI to GPS processor {"connection_id":165862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:51:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":165862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:51: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-28 04:51:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:51:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:51:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695303936001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:51:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:51:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:51:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695303936001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:51:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 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-28 04:51:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:51:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695303936001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:51:43] local.INFO: DEBUG: GPS processor result {"connection_id":165862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:51:43] local.INFO: GPS data processed {"connection_id":165862,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:51:43] local.INFO: Acknowledgment sent {"connection_id":165862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:52:14] local.INFO: TCP Data received {"connection_id":165862,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a045873138012d34c14006aa4840000000e62e..."} 
[2026-08-28 04:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045873138012d34c14006aa4840000000e62e..."} 
[2026-08-28 04:52:14] local.INFO: Processing buffer {"connection_id":165862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045873138012d34c14006aa4840000000e62e..."} 
[2026-08-28 04:52:14] local.INFO: Packet analysis {"connection_id":165862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04587"} 
[2026-08-28 04:52:14] local.INFO: Extracted packet for processing {"connection_id":165862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04587"} 
[2026-08-28 04:52:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":0,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04: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-28 04:52:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695380992001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:52:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:52:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:52:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:52: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-28 04:52:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787872883000,"timestamp_ms":1787872883000,"timestamp_seconds":1787872883,"priority":1,"record_length":96,"hex_timestamp":"000001a045873138"} 
[2026-08-28 04: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-28 04:52:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:52: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-28 04: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-28 04: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-28 04:52:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:52:14] local.INFO: Teltonika packet parsed successfully {"connection_id":165862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:52:14] local.INFO: Passing IMEI to GPS processor {"connection_id":165862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:52:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":165862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:52: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-28 04:52:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:52:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:52:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695380992001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:52:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:52:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:52:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695380992001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:52:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04: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-28 04:52:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:52:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695380992001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:52:14] local.INFO: DEBUG: GPS processor result {"connection_id":165862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:52:14] local.INFO: GPS data processed {"connection_id":165862,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:52:14] local.INFO: Acknowledgment sent {"connection_id":165862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:52:31] local.INFO: TCP Data received {"connection_id":163504,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:52:31] local.INFO: Processing buffer {"connection_id":163504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:52:31] local.INFO: IMEI packet received {"connection_id":163504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 04:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":163504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:52:33] local.INFO: TCP Data received {"connection_id":165860,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 04:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165860,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 04:52:33] local.INFO: Processing buffer {"connection_id":165860,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 04:52:33] local.INFO: IMEI packet received {"connection_id":165860,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 04:52:33] local.INFO: IMEI acknowledgment sent {"connection_id":165860,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:52:37] local.INFO: TCP Data received {"connection_id":163504,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:52:37] local.INFO: Processing buffer {"connection_id":163504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:52:37] local.INFO: IMEI packet received {"connection_id":163504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 04:52:37] local.INFO: IMEI acknowledgment sent {"connection_id":163504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 04:52:38] local.INFO: TCP Data received {"connection_id":163504,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a045873138012d34c14006aa4840000000e62e..."} 
[2026-08-28 04:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045873138012d34c14006aa4840000000e62e..."} 
[2026-08-28 04:52:38] local.INFO: Processing buffer {"connection_id":163504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045873138012d34c14006aa4840000000e62e..."} 
[2026-08-28 04:52:38] local.INFO: Packet analysis {"connection_id":163504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04587"} 
[2026-08-28 04:52:38] local.INFO: Extracted packet for processing {"connection_id":163504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04587"} 
[2026-08-28 04:52:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":0,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695380992001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:52:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:52: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-28 04:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787872883000,"timestamp_ms":1787872883000,"timestamp_seconds":1787872883,"priority":1,"record_length":96,"hex_timestamp":"000001a045873138"} 
[2026-08-28 04:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:52:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695380992001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695380992001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:52:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:52: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-28 04:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695380992001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:52:38] 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":706340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:52:38] local.INFO: GPS data processed {"connection_id":163504,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:52:38] local.INFO: Acknowledgment sent {"connection_id":163504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:52:58] local.INFO: TCP Data received {"connection_id":165863,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 04:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165863,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 04:52:58] local.INFO: Processing buffer {"connection_id":165863,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 04:52:58] local.INFO: IMEI packet received {"connection_id":165863,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 04:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":165863,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:53:09] local.INFO: TCP Data received {"connection_id":163504,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a045873138012d34c14006aa4840000000e62e..."} 
[2026-08-28 04:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045873138012d34c14006aa4840000000e62e..."} 
[2026-08-28 04:53:09] local.INFO: Processing buffer {"connection_id":163504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045873138012d34c14006aa4840000000e62e..."} 
[2026-08-28 04:53:09] local.INFO: Packet analysis {"connection_id":163504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04587"} 
[2026-08-28 04:53:09] local.INFO: Extracted packet for processing {"connection_id":163504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04587"} 
[2026-08-28 04:53:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":0,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695380992001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:53:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:53:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:53: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-28 04:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787872883000,"timestamp_ms":1787872883000,"timestamp_seconds":1787872883,"priority":1,"record_length":96,"hex_timestamp":"000001a045873138"} 
[2026-08-28 04:53:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:53:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:53:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:53:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:53:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:53:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695380992001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695380992001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:53:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:53: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-28 04:53:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695380992001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:53:09] 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":706341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:53:09] local.INFO: GPS data processed {"connection_id":163504,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:53:09] local.INFO: Acknowledgment sent {"connection_id":163504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:53:36] local.INFO: TCP Data received {"connection_id":164508,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:53:36] local.INFO: Processing buffer {"connection_id":164508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:53:36] local.INFO: IMEI packet received {"connection_id":164508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 04:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":164508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:53:42] local.INFO: TCP Data received {"connection_id":164508,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:53:42] local.INFO: Processing buffer {"connection_id":164508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:53:42] local.INFO: IMEI packet received {"connection_id":164508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 04:53:42] local.INFO: IMEI acknowledgment sent {"connection_id":164508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 04:53:43] local.INFO: TCP Data received {"connection_id":164508,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a045873138012d34c14006aa4840000000e62e..."} 
[2026-08-28 04:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045873138012d34c14006aa4840000000e62e..."} 
[2026-08-28 04:53:43] local.INFO: Processing buffer {"connection_id":164508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045873138012d34c14006aa4840000000e62e..."} 
[2026-08-28 04:53:43] local.INFO: Packet analysis {"connection_id":164508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04587"} 
[2026-08-28 04:53:43] local.INFO: Extracted packet for processing {"connection_id":164508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04587"} 
[2026-08-28 04:53:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":0,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04: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-28 04:53:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695380992001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:53:43] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:53:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:53:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04: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-28 04:53:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787872883000,"timestamp_ms":1787872883000,"timestamp_seconds":1787872883,"priority":1,"record_length":96,"hex_timestamp":"000001a045873138"} 
[2026-08-28 04: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-28 04:53:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04: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-28 04: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-28 04: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-28 04: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-28 04:53:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:53:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:53:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:53:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:53: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-28 04:53:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:53:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:53:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695380992001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:53:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:53:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:53:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695380992001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:53:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04: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-28 04:53:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:53:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695380992001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:53:43] local.INFO: DEBUG: GPS processor result {"connection_id":164508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:53:43] local.INFO: GPS data processed {"connection_id":164508,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:53:43] local.INFO: Acknowledgment sent {"connection_id":164508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:53:47] local.INFO: TCP Data received {"connection_id":164508,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a045873138012d34c14006aa4840000000e62e..."} 
[2026-08-28 04:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045873138012d34c14006aa4840000000e62e..."} 
[2026-08-28 04:53:47] local.INFO: Processing buffer {"connection_id":164508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045873138012d34c14006aa4840000000e62e..."} 
[2026-08-28 04:53:47] local.INFO: Packet analysis {"connection_id":164508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04587"} 
[2026-08-28 04:53:47] local.INFO: Extracted packet for processing {"connection_id":164508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04587"} 
[2026-08-28 04:53:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":0,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04: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-28 04:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695380992001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:53:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:53:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:53: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-28 04:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787872883000,"timestamp_ms":1787872883000,"timestamp_seconds":1787872883,"priority":1,"record_length":96,"hex_timestamp":"000001a045873138"} 
[2026-08-28 04: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-28 04:53:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:53: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-28 04: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-28 04: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-28 04:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:53: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-28 04:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695380992001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695380992001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:53:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04: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-28 04:53:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695380992001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":164508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:53:47] local.INFO: GPS data processed {"connection_id":164508,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:53:47] local.INFO: Acknowledgment sent {"connection_id":164508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:54:32] local.INFO: TCP Data received {"connection_id":165864,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:54:32] local.INFO: Processing buffer {"connection_id":165864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:54:32] local.INFO: IMEI packet received {"connection_id":165864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 04:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":165864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:54:37] local.INFO: TCP Data received {"connection_id":165864,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:54:37] local.INFO: Processing buffer {"connection_id":165864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:54:37] local.INFO: IMEI packet received {"connection_id":165864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 04:54:37] local.INFO: IMEI acknowledgment sent {"connection_id":165864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 04:54:38] local.INFO: TCP Data received {"connection_id":165864,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a045873138012d34c14006aa4840000000e62e..."} 
[2026-08-28 04:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045873138012d34c14006aa4840000000e62e..."} 
[2026-08-28 04:54:38] local.INFO: Processing buffer {"connection_id":165864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045873138012d34c14006aa4840000000e62e..."} 
[2026-08-28 04:54:38] local.INFO: Packet analysis {"connection_id":165864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04587"} 
[2026-08-28 04:54:38] local.INFO: Extracted packet for processing {"connection_id":165864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04587"} 
[2026-08-28 04:54:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":0,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695380992001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:54:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:54: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-28 04:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787872883000,"timestamp_ms":1787872883000,"timestamp_seconds":1787872883,"priority":1,"record_length":96,"hex_timestamp":"000001a045873138"} 
[2026-08-28 04:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:54:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":165864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":165864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":165864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695380992001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695380992001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:54:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:54: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-28 04:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695380992001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":165864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:54:38] local.INFO: GPS data processed {"connection_id":165864,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:54:38] local.INFO: Acknowledgment sent {"connection_id":165864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:55:09] local.INFO: TCP Data received {"connection_id":165864,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a045873138012d34c14006aa4840000000e62e..."} 
[2026-08-28 04:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045873138012d34c14006aa4840000000e62e..."} 
[2026-08-28 04:55:09] local.INFO: Processing buffer {"connection_id":165864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045873138012d34c14006aa4840000000e62e..."} 
[2026-08-28 04:55:09] local.INFO: Packet analysis {"connection_id":165864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04587"} 
[2026-08-28 04:55:09] local.INFO: Extracted packet for processing {"connection_id":165864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04587"} 
[2026-08-28 04:55:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":0,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:55:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695380992001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:55:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:55:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:55: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-28 04:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787872883000,"timestamp_ms":1787872883000,"timestamp_seconds":1787872883,"priority":1,"record_length":96,"hex_timestamp":"000001a045873138"} 
[2026-08-28 04:55:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:55:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:55:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:55:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:55:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:55:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":165864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":165864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":165864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:55:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695380992001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695380992001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:55:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:55: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-28 04:55:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695380992001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:55:09] local.INFO: DEBUG: GPS processor result {"connection_id":165864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:55:09] local.INFO: GPS data processed {"connection_id":165864,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:55:09] local.INFO: Acknowledgment sent {"connection_id":165864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:55:32] local.INFO: TCP Data received {"connection_id":165865,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:55:32] local.INFO: Processing buffer {"connection_id":165865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:55:32] local.INFO: IMEI packet received {"connection_id":165865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 04:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":165865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:55:37] local.INFO: TCP Data received {"connection_id":165865,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:55:37] local.INFO: Processing buffer {"connection_id":165865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:55:37] local.INFO: IMEI packet received {"connection_id":165865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 04:55:37] local.INFO: IMEI acknowledgment sent {"connection_id":165865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 04:55:38] local.INFO: TCP Data received {"connection_id":165865,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a045873138012d34c14006aa4840000000e62e..."} 
[2026-08-28 04:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045873138012d34c14006aa4840000000e62e..."} 
[2026-08-28 04:55:38] local.INFO: Processing buffer {"connection_id":165865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045873138012d34c14006aa4840000000e62e..."} 
[2026-08-28 04:55:38] local.INFO: Packet analysis {"connection_id":165865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04587"} 
[2026-08-28 04:55:38] local.INFO: Extracted packet for processing {"connection_id":165865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04587"} 
[2026-08-28 04:55:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":0,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695380992001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:55:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:55: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-28 04:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787872883000,"timestamp_ms":1787872883000,"timestamp_seconds":1787872883,"priority":1,"record_length":96,"hex_timestamp":"000001a045873138"} 
[2026-08-28 04:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:55:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:55:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":165865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":165865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":165865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:55:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695380992001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695380992001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:55:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:55: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-28 04:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695380992001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":165865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:55:38] local.INFO: GPS data processed {"connection_id":165865,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:55:38] local.INFO: Acknowledgment sent {"connection_id":165865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:56:09] local.INFO: TCP Data received {"connection_id":165865,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a045873138012d34c14006aa4840000000e62e..."} 
[2026-08-28 04:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045873138012d34c14006aa4840000000e62e..."} 
[2026-08-28 04:56:09] local.INFO: Processing buffer {"connection_id":165865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045873138012d34c14006aa4840000000e62e..."} 
[2026-08-28 04:56:09] local.INFO: Packet analysis {"connection_id":165865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04587"} 
[2026-08-28 04:56:09] local.INFO: Extracted packet for processing {"connection_id":165865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04587"} 
[2026-08-28 04:56:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":0,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695380992001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:56:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:56:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:56: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-28 04:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787872883000,"timestamp_ms":1787872883000,"timestamp_seconds":1787872883,"priority":1,"record_length":96,"hex_timestamp":"000001a045873138"} 
[2026-08-28 04:56:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:56:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:56:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:56:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:56:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":165865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":165865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":165865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:56:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695380992001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695380992001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:56:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:56: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-28 04:56:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695380992001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":165865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:56:09] local.INFO: GPS data processed {"connection_id":165865,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:56:09] local.INFO: Acknowledgment sent {"connection_id":165865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:56:32] local.INFO: TCP Data received {"connection_id":165866,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:56:32] local.INFO: Processing buffer {"connection_id":165866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:56:32] local.INFO: IMEI packet received {"connection_id":165866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 04:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":165866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:56:37] local.INFO: TCP Data received {"connection_id":165866,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:56:37] local.INFO: Processing buffer {"connection_id":165866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:56:37] local.INFO: IMEI packet received {"connection_id":165866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 04:56:37] local.INFO: IMEI acknowledgment sent {"connection_id":165866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 04:56:38] local.INFO: TCP Data received {"connection_id":165866,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a045873138012d34c14006aa4840000000e62e..."} 
[2026-08-28 04:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045873138012d34c14006aa4840000000e62e..."} 
[2026-08-28 04:56:38] local.INFO: Processing buffer {"connection_id":165866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045873138012d34c14006aa4840000000e62e..."} 
[2026-08-28 04:56:38] local.INFO: Packet analysis {"connection_id":165866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04587"} 
[2026-08-28 04:56:38] local.INFO: Extracted packet for processing {"connection_id":165866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04587"} 
[2026-08-28 04:56:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":0,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695380992001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:56:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:56: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-28 04:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787872883000,"timestamp_ms":1787872883000,"timestamp_seconds":1787872883,"priority":1,"record_length":96,"hex_timestamp":"000001a045873138"} 
[2026-08-28 04:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:56:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:56:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:56:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":165866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":165866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":165866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:56:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695380992001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695380992001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:56:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:56: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-28 04:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695380992001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":165866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:56:38] local.INFO: GPS data processed {"connection_id":165866,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:56:38] local.INFO: Acknowledgment sent {"connection_id":165866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:57:10] local.INFO: TCP Data received {"connection_id":165866,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0458bc900012d34c14006aa4840000000e62e..."} 
[2026-08-28 04:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0458bc900012d34c14006aa4840000000e62e..."} 
[2026-08-28 04:57:10] local.INFO: Processing buffer {"connection_id":165866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0458bc900012d34c14006aa4840000000e62e..."} 
[2026-08-28 04:57:10] local.INFO: Packet analysis {"connection_id":165866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0458b"} 
[2026-08-28 04:57:10] local.INFO: Extracted packet for processing {"connection_id":165866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0458b"} 
[2026-08-28 04:57:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":0,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695458048001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:57:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:57:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:57:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 04:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787873184000,"timestamp_ms":1787873184000,"timestamp_seconds":1787873184,"priority":1,"record_length":96,"hex_timestamp":"000001a0458bc900"} 
[2026-08-28 04:57:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:57:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:57:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:57:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:57:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":165866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":165866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":165866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:57:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695458048001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695458048001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:57:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 04:57:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695458048001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":165866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:57:10] local.INFO: GPS data processed {"connection_id":165866,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:57:10] local.INFO: Acknowledgment sent {"connection_id":165866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:57:31] local.INFO: TCP Data received {"connection_id":163242,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:57:31] local.INFO: Processing buffer {"connection_id":163242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:57:31] local.INFO: IMEI packet received {"connection_id":163242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 04:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":163242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:57:37] local.INFO: TCP Data received {"connection_id":163242,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:57:37] local.INFO: Processing buffer {"connection_id":163242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:57:37] local.INFO: IMEI packet received {"connection_id":163242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 04:57:37] local.INFO: IMEI acknowledgment sent {"connection_id":163242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 04:57:37] local.INFO: TCP Data received {"connection_id":163242,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0458bc900012d34c14006aa4840000000e62e..."} 
[2026-08-28 04:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0458bc900012d34c14006aa4840000000e62e..."} 
[2026-08-28 04:57:37] local.INFO: Processing buffer {"connection_id":163242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0458bc900012d34c14006aa4840000000e62e..."} 
[2026-08-28 04:57:37] local.INFO: Packet analysis {"connection_id":163242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0458b"} 
[2026-08-28 04:57:37] local.INFO: Extracted packet for processing {"connection_id":163242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0458b"} 
[2026-08-28 04:57:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":0,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695458048001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:57:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:57: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-28 04:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787873184000,"timestamp_ms":1787873184000,"timestamp_seconds":1787873184,"priority":1,"record_length":96,"hex_timestamp":"000001a0458bc900"} 
[2026-08-28 04:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:57:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:57:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695458048001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695458048001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:57:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:57: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-28 04:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695458048001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":163242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:57:37] local.INFO: GPS data processed {"connection_id":163242,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:57:37] local.INFO: Acknowledgment sent {"connection_id":163242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:58:09] local.INFO: TCP Data received {"connection_id":163242,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0458bc900012d34c14006aa4840000000e62e..."} 
[2026-08-28 04:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0458bc900012d34c14006aa4840000000e62e..."} 
[2026-08-28 04:58:09] local.INFO: Processing buffer {"connection_id":163242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0458bc900012d34c14006aa4840000000e62e..."} 
[2026-08-28 04:58:09] local.INFO: Packet analysis {"connection_id":163242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0458b"} 
[2026-08-28 04:58:09] local.INFO: Extracted packet for processing {"connection_id":163242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0458b"} 
[2026-08-28 04:58:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":0,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695458048001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:58:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:58:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:58:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:58: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-28 04:58:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787873184000,"timestamp_ms":1787873184000,"timestamp_seconds":1787873184,"priority":1,"record_length":96,"hex_timestamp":"000001a0458bc900"} 
[2026-08-28 04:58:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:58:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:58:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:58:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:58:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:58:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:58:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:58:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:58:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:58:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:58:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:58:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:58:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695458048001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:58:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:58:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:58:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695458048001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:58:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:58: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-28 04:58:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:58:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695458048001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:58:09] local.INFO: DEBUG: GPS processor result {"connection_id":163242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:58:09] local.INFO: GPS data processed {"connection_id":163242,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:58:09] local.INFO: Acknowledgment sent {"connection_id":163242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:58:23] local.INFO: TCP Data received {"connection_id":164509,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 04:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164509,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 04:58:23] local.INFO: Processing buffer {"connection_id":164509,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 04:58:23] local.INFO: IMEI packet received {"connection_id":164509,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 04:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":164509,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:58:37] local.INFO: TCP Data received {"connection_id":163505,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:58:37] local.INFO: Processing buffer {"connection_id":163505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:58:37] local.INFO: IMEI packet received {"connection_id":163505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 04:58:37] local.INFO: IMEI acknowledgment sent {"connection_id":163505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:58:42] local.INFO: TCP Data received {"connection_id":163505,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:58:42] local.INFO: Processing buffer {"connection_id":163505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:58:42] local.INFO: IMEI packet received {"connection_id":163505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 04:58:42] local.INFO: IMEI acknowledgment sent {"connection_id":163505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 04:58:43] local.INFO: TCP Data received {"connection_id":163505,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0458bc900012d34c14006aa4840000000e62e..."} 
[2026-08-28 04:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0458bc900012d34c14006aa4840000000e62e..."} 
[2026-08-28 04:58:43] local.INFO: Processing buffer {"connection_id":163505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0458bc900012d34c14006aa4840000000e62e..."} 
[2026-08-28 04:58:43] local.INFO: Packet analysis {"connection_id":163505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0458b"} 
[2026-08-28 04:58:43] local.INFO: Extracted packet for processing {"connection_id":163505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0458b"} 
[2026-08-28 04:58:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":0,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04: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-28 04:58:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695458048001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:58:43] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:58:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:58:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:58: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-28 04:58:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787873184000,"timestamp_ms":1787873184000,"timestamp_seconds":1787873184,"priority":1,"record_length":96,"hex_timestamp":"000001a0458bc900"} 
[2026-08-28 04: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-28 04:58:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:58: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-28 04: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-28 04: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-28 04:58:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:58:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:58:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:58:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:58: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-28 04:58:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:58:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:58:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695458048001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:58:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:58:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:58:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695458048001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:58:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04: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-28 04:58:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:58:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695458048001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:58: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":706352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:58:43] local.INFO: GPS data processed {"connection_id":163505,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:58:43] local.INFO: Acknowledgment sent {"connection_id":163505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:58:47] local.INFO: TCP Data received {"connection_id":163505,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0458bc900012d34c14006aa4840000000e62e..."} 
[2026-08-28 04:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0458bc900012d34c14006aa4840000000e62e..."} 
[2026-08-28 04:58:47] local.INFO: Processing buffer {"connection_id":163505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0458bc900012d34c14006aa4840000000e62e..."} 
[2026-08-28 04:58:47] local.INFO: Packet analysis {"connection_id":163505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0458b"} 
[2026-08-28 04:58:47] local.INFO: Extracted packet for processing {"connection_id":163505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0458b"} 
[2026-08-28 04:58:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":0,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04: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-28 04:58:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695458048001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:58:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:58:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:58:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:58: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-28 04:58:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787873184000,"timestamp_ms":1787873184000,"timestamp_seconds":1787873184,"priority":1,"record_length":96,"hex_timestamp":"000001a0458bc900"} 
[2026-08-28 04: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-28 04:58:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:58: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-28 04: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-28 04: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-28 04:58:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:58:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:58:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:58:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:58: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-28 04:58:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:58:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:58:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695458048001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:58:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:58:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:58:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695458048001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:58:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04: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-28 04:58:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:58:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695458048001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:58:47] 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":706353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:58:47] local.INFO: GPS data processed {"connection_id":163505,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:58:47] local.INFO: Acknowledgment sent {"connection_id":163505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 04:59:32] local.INFO: TCP Data received {"connection_id":163506,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:59:32] local.INFO: Processing buffer {"connection_id":163506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:59:32] local.INFO: IMEI packet received {"connection_id":163506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 04:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":163506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 04:59:38] local.INFO: TCP Data received {"connection_id":163506,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:59:38] local.INFO: Processing buffer {"connection_id":163506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 04:59:38] local.INFO: IMEI packet received {"connection_id":163506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 04:59:38] local.INFO: IMEI acknowledgment sent {"connection_id":163506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 04:59:39] local.INFO: TCP Data received {"connection_id":163506,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0458bc900012d34c14006aa4840000000e62e..."} 
[2026-08-28 04:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0458bc900012d34c14006aa4840000000e62e..."} 
[2026-08-28 04:59:39] local.INFO: Processing buffer {"connection_id":163506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0458bc900012d34c14006aa4840000000e62e..."} 
[2026-08-28 04:59:39] local.INFO: Packet analysis {"connection_id":163506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0458b"} 
[2026-08-28 04:59:39] local.INFO: Extracted packet for processing {"connection_id":163506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0458b"} 
[2026-08-28 04:59:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":0,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 04:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 04:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695458048001,"note":"Value kept but may cause issues"} 
[2026-08-28 04:59:39] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 04:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 04:59:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 04:59:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 04:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787873184000,"timestamp_ms":1787873184000,"timestamp_seconds":1787873184,"priority":1,"record_length":96,"hex_timestamp":"000001a0458bc900"} 
[2026-08-28 04:59:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 04:59:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 04:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 04:59:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 04:59:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 04:59:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 04:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 04:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":163506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 04:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":163506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":163506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 04:59:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 04:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 04:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 04:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695458048001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 04:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 04:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 04:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695458048001,"description":"Unknown IO ID 0"} 
[2026-08-28 04:59:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 04:59:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 04:59:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 04:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695458048001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 04:59:39] 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":706354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 04:59:39] local.INFO: GPS data processed {"connection_id":163506,"processed":1,"errors":0,"total":1} 
[2026-08-28 04:59:39] local.INFO: Acknowledgment sent {"connection_id":163506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:00:11] local.INFO: TCP Data received {"connection_id":163506,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0458bc900012d34c14006aa4840000000e62e..."} 
[2026-08-28 05:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0458bc900012d34c14006aa4840000000e62e..."} 
[2026-08-28 05:00:11] local.INFO: Processing buffer {"connection_id":163506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0458bc900012d34c14006aa4840000000e62e..."} 
[2026-08-28 05:00:11] local.INFO: Packet analysis {"connection_id":163506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0458b"} 
[2026-08-28 05:00:11] local.INFO: Extracted packet for processing {"connection_id":163506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0458b"} 
[2026-08-28 05:00:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":0,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695458048001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:00:11] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 05:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:00:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:00: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-28 05:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787873184000,"timestamp_ms":1787873184000,"timestamp_seconds":1787873184,"priority":1,"record_length":96,"hex_timestamp":"000001a0458bc900"} 
[2026-08-28 05:00:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:00:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:00: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-28 05:00:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:00:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":163506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":163506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":163506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:00:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695458048001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695458048001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:00:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:00: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-28 05:00:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695458048001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:00:11] 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":706355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:00:11] local.INFO: GPS data processed {"connection_id":163506,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:00:11] local.INFO: Acknowledgment sent {"connection_id":163506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:00:32] local.INFO: TCP Data received {"connection_id":163243,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:00:32] local.INFO: Processing buffer {"connection_id":163243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:00:32] local.INFO: IMEI packet received {"connection_id":163243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 05:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":163243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 05:00:40] local.INFO: TCP Data received {"connection_id":163243,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:00:40] local.INFO: Processing buffer {"connection_id":163243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:00:40] local.INFO: IMEI packet received {"connection_id":163243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 05:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":163243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 05:00:43] local.INFO: TCP Data received {"connection_id":163243,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0458bc900012d34c14006aa4840000000e62e..."} 
[2026-08-28 05:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0458bc900012d34c14006aa4840000000e62e..."} 
[2026-08-28 05:00:43] local.INFO: Processing buffer {"connection_id":163243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0458bc900012d34c14006aa4840000000e62e..."} 
[2026-08-28 05:00:43] local.INFO: Packet analysis {"connection_id":163243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0458b"} 
[2026-08-28 05:00:43] local.INFO: Extracted packet for processing {"connection_id":163243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0458b"} 
[2026-08-28 05:00:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":0,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05: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-28 05:00:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695458048001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:00:43] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 05:00:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:00:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:00: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-28 05:00:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787873184000,"timestamp_ms":1787873184000,"timestamp_seconds":1787873184,"priority":1,"record_length":96,"hex_timestamp":"000001a0458bc900"} 
[2026-08-28 05: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-28 05:00:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:00: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-28 05: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-28 05: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-28 05:00:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:00:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:00:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:00:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:00: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-28 05:00:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:00:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:00:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695458048001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:00:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:00:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:00:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695458048001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:00:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05: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-28 05:00:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:00:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695458048001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:00:43] local.INFO: DEBUG: GPS processor result {"connection_id":163243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:00:43] local.INFO: GPS data processed {"connection_id":163243,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:00:43] local.INFO: Acknowledgment sent {"connection_id":163243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:01:59] local.INFO: TCP Data received {"connection_id":163243,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0458bc900012d34c14006aa4840000000e62e..."} 
[2026-08-28 05:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0458bc900012d34c14006aa4840000000e62e..."} 
[2026-08-28 05:01:59] local.INFO: Processing buffer {"connection_id":163243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0458bc900012d34c14006aa4840000000e62e..."} 
[2026-08-28 05:01:59] local.INFO: Packet analysis {"connection_id":163243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0458b"} 
[2026-08-28 05:01:59] local.INFO: Extracted packet for processing {"connection_id":163243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0458b"} 
[2026-08-28 05:01:59] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":0,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695458048001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:01:59] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 05:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:01:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 05:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787873184000,"timestamp_ms":1787873184000,"timestamp_seconds":1787873184,"priority":1,"record_length":96,"hex_timestamp":"000001a0458bc900"} 
[2026-08-28 05:01:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:01:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:01:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:01:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:01:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":163243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":163243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":163243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:01:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695458048001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695458048001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:01:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:01: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-28 05:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695458048001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":163243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:01:59] local.INFO: GPS data processed {"connection_id":163243,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:01:59] local.INFO: Acknowledgment sent {"connection_id":163243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:03:57] local.INFO: TCP Data received {"connection_id":165867,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 05:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165867,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 05:03:57] local.INFO: Processing buffer {"connection_id":165867,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 05:03:57] local.INFO: IMEI packet received {"connection_id":165867,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 05:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":165867,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 05:05:02] local.INFO: TCP Data received {"connection_id":163244,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:05:02] local.INFO: Processing buffer {"connection_id":163244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:05:02] local.INFO: IMEI packet received {"connection_id":163244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 05:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":163244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 05:05:07] local.INFO: TCP Data received {"connection_id":163244,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:05:07] local.INFO: Processing buffer {"connection_id":163244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:05:07] local.INFO: IMEI packet received {"connection_id":163244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 05:05:07] local.INFO: IMEI acknowledgment sent {"connection_id":163244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 05:05:07] local.INFO: TCP Data received {"connection_id":163244,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0459060c8012d34c14006aa4840000500e62f..."} 
[2026-08-28 05:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0459060c8012d34c14006aa4840000500e62f..."} 
[2026-08-28 05:05:07] local.INFO: Processing buffer {"connection_id":163244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0459060c8012d34c14006aa4840000500e62f..."} 
[2026-08-28 05:05:07] local.INFO: Packet analysis {"connection_id":163244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04590"} 
[2026-08-28 05:05:07] local.INFO: Extracted packet for processing {"connection_id":163244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04590"} 
[2026-08-28 05:05:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695535104001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:05: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-28 05:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787873485000,"timestamp_ms":1787873485000,"timestamp_seconds":1787873485,"priority":1,"record_length":96,"hex_timestamp":"000001a0459060c8"} 
[2026-08-28 05:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:05:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:05:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:05:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":163244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":163244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":163244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695535104001,"66":25299,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695535104001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:05:07] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 05:05:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:05: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-28 05:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695535104001,"power":25299,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":163244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:05:07] local.INFO: GPS data processed {"connection_id":163244,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:05:07] local.INFO: Acknowledgment sent {"connection_id":163244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:05:31] local.INFO: TCP Data received {"connection_id":165868,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:05:31] local.INFO: Processing buffer {"connection_id":165868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:05:31] local.INFO: IMEI packet received {"connection_id":165868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 05:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":165868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 05:05:37] local.INFO: TCP Data received {"connection_id":165868,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:05:37] local.INFO: Processing buffer {"connection_id":165868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:05:37] local.INFO: IMEI packet received {"connection_id":165868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 05:05:37] local.INFO: IMEI acknowledgment sent {"connection_id":165868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 05:05:38] local.INFO: TCP Data received {"connection_id":165868,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0459060c8012d34c14006aa4840000500e62f..."} 
[2026-08-28 05:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0459060c8012d34c14006aa4840000500e62f..."} 
[2026-08-28 05:05:38] local.INFO: Processing buffer {"connection_id":165868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0459060c8012d34c14006aa4840000500e62f..."} 
[2026-08-28 05:05:38] local.INFO: Packet analysis {"connection_id":165868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04590"} 
[2026-08-28 05:05:38] local.INFO: Extracted packet for processing {"connection_id":165868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04590"} 
[2026-08-28 05:05:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695535104001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:05: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-28 05:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787873485000,"timestamp_ms":1787873485000,"timestamp_seconds":1787873485,"priority":1,"record_length":96,"hex_timestamp":"000001a0459060c8"} 
[2026-08-28 05:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:05:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:05:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:05:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":165868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":165868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":165868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:05:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695535104001,"66":25299,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695535104001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:05:38] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 05:05:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:05: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-28 05:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695535104001,"power":25299,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":165868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:05:38] local.INFO: GPS data processed {"connection_id":165868,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:05:38] local.INFO: Acknowledgment sent {"connection_id":165868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:06:09] local.INFO: TCP Data received {"connection_id":165868,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0459060c8012d34c14006aa4840000500e62f..."} 
[2026-08-28 05:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0459060c8012d34c14006aa4840000500e62f..."} 
[2026-08-28 05:06:09] local.INFO: Processing buffer {"connection_id":165868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0459060c8012d34c14006aa4840000500e62f..."} 
[2026-08-28 05:06:09] local.INFO: Packet analysis {"connection_id":165868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04590"} 
[2026-08-28 05:06:09] local.INFO: Extracted packet for processing {"connection_id":165868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04590"} 
[2026-08-28 05:06:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695535104001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:06:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:06: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-28 05:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787873485000,"timestamp_ms":1787873485000,"timestamp_seconds":1787873485,"priority":1,"record_length":96,"hex_timestamp":"000001a0459060c8"} 
[2026-08-28 05:06:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:06:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:06:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:06:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:06:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":165868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":165868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":165868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:06:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695535104001,"66":25299,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695535104001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:06:09] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 05:06:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:06: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-28 05:06:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695535104001,"power":25299,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:06:09] local.INFO: DEBUG: GPS processor result {"connection_id":165868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:06:09] local.INFO: GPS data processed {"connection_id":165868,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:06:09] local.INFO: Acknowledgment sent {"connection_id":165868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:06:37] local.INFO: TCP Data received {"connection_id":163245,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:06:37] local.INFO: Processing buffer {"connection_id":163245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:06:37] local.INFO: IMEI packet received {"connection_id":163245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 05:06:37] local.INFO: IMEI acknowledgment sent {"connection_id":163245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 05:06:42] local.INFO: TCP Data received {"connection_id":163245,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:06:42] local.INFO: Processing buffer {"connection_id":163245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:06:42] local.INFO: IMEI packet received {"connection_id":163245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 05:06:42] local.INFO: IMEI acknowledgment sent {"connection_id":163245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 05:06:42] local.INFO: TCP Data received {"connection_id":163245,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0459060c8012d34c14006aa4840000500e62f..."} 
[2026-08-28 05:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0459060c8012d34c14006aa4840000500e62f..."} 
[2026-08-28 05:06:42] local.INFO: Processing buffer {"connection_id":163245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0459060c8012d34c14006aa4840000500e62f..."} 
[2026-08-28 05:06:42] local.INFO: Packet analysis {"connection_id":163245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04590"} 
[2026-08-28 05:06:42] local.INFO: Extracted packet for processing {"connection_id":163245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04590"} 
[2026-08-28 05:06:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05: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-28 05:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695535104001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:06:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:06:42] 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-28 05:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787873485000,"timestamp_ms":1787873485000,"timestamp_seconds":1787873485,"priority":1,"record_length":96,"hex_timestamp":"000001a0459060c8"} 
[2026-08-28 05: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-28 05:06:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05: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-28 05: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-28 05: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-28 05: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-28 05:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05: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-28 05:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695535104001,"66":25299,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695535104001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:06:42] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 05:06:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05: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-28 05:06:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695535104001,"power":25299,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:06:43] local.INFO: DEBUG: GPS processor result {"connection_id":163245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:06:43] local.INFO: GPS data processed {"connection_id":163245,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:06:43] local.INFO: Acknowledgment sent {"connection_id":163245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:06:47] local.INFO: TCP Data received {"connection_id":163245,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0459060c8012d34c14006aa4840000500e62f..."} 
[2026-08-28 05:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0459060c8012d34c14006aa4840000500e62f..."} 
[2026-08-28 05:06:47] local.INFO: Processing buffer {"connection_id":163245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0459060c8012d34c14006aa4840000500e62f..."} 
[2026-08-28 05:06:47] local.INFO: Packet analysis {"connection_id":163245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04590"} 
[2026-08-28 05:06:47] local.INFO: Extracted packet for processing {"connection_id":163245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04590"} 
[2026-08-28 05:06:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:06:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695535104001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:06:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:06:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:06: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-28 05:06:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787873485000,"timestamp_ms":1787873485000,"timestamp_seconds":1787873485,"priority":1,"record_length":96,"hex_timestamp":"000001a0459060c8"} 
[2026-08-28 05:06:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:06:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:06: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-28 05:06:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:06:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:06:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:06:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:06:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:06:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:06: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-28 05:06:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:06:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:06:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695535104001,"66":25299,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:06:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:06:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:06:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695535104001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:06:47] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 05:06:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:06: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-28 05:06:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:06:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695535104001,"power":25299,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:06:47] local.INFO: DEBUG: GPS processor result {"connection_id":163245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:06:47] local.INFO: GPS data processed {"connection_id":163245,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:06:47] local.INFO: Acknowledgment sent {"connection_id":163245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:07:32] local.INFO: TCP Data received {"connection_id":165869,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:07:32] local.INFO: Processing buffer {"connection_id":165869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:07:32] local.INFO: IMEI packet received {"connection_id":165869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 05:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":165869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 05:07:37] local.INFO: TCP Data received {"connection_id":165869,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:07:37] local.INFO: Processing buffer {"connection_id":165869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:07:37] local.INFO: IMEI packet received {"connection_id":165869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 05:07:37] local.INFO: IMEI acknowledgment sent {"connection_id":165869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 05:07:38] local.INFO: TCP Data received {"connection_id":165869,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a04594f890012d34c14006aa4840000800e62e..."} 
[2026-08-28 05:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04594f890012d34c14006aa4840000800e62e..."} 
[2026-08-28 05:07:38] local.INFO: Processing buffer {"connection_id":165869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04594f890012d34c14006aa4840000800e62e..."} 
[2026-08-28 05:07:38] local.INFO: Packet analysis {"connection_id":165869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04594"} 
[2026-08-28 05:07:38] local.INFO: Extracted packet for processing {"connection_id":165869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04594"} 
[2026-08-28 05:07:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695612160001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:07:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787873786000,"timestamp_ms":1787873786000,"timestamp_seconds":1787873786,"priority":1,"record_length":96,"hex_timestamp":"000001a04594f890"} 
[2026-08-28 05:07:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:07:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 05:07:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:07:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:07:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":165869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":165869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":165869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:07:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695612160001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695612160001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:07:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:07:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:07: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-28 05:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695612160001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":165869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:07:38] local.INFO: GPS data processed {"connection_id":165869,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:07:38] local.INFO: Acknowledgment sent {"connection_id":165869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:08:09] local.INFO: TCP Data received {"connection_id":165869,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a04594f890012d34c14006aa4840000800e62e..."} 
[2026-08-28 05:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04594f890012d34c14006aa4840000800e62e..."} 
[2026-08-28 05:08:09] local.INFO: Processing buffer {"connection_id":165869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04594f890012d34c14006aa4840000800e62e..."} 
[2026-08-28 05:08:09] local.INFO: Packet analysis {"connection_id":165869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04594"} 
[2026-08-28 05:08:09] local.INFO: Extracted packet for processing {"connection_id":165869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04594"} 
[2026-08-28 05:08:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695612160001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:08:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:08:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787873786000,"timestamp_ms":1787873786000,"timestamp_seconds":1787873786,"priority":1,"record_length":96,"hex_timestamp":"000001a04594f890"} 
[2026-08-28 05:08:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:08:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 05:08:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:08:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:08:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":165869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":165869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":165869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:08:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695612160001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695612160001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:08:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:08:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:08: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-28 05:08:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695612160001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:08:09] local.INFO: DEBUG: GPS processor result {"connection_id":165869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:08:09] local.INFO: GPS data processed {"connection_id":165869,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:08:09] local.INFO: Acknowledgment sent {"connection_id":165869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:08:32] local.INFO: TCP Data received {"connection_id":163246,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:08:32] local.INFO: Processing buffer {"connection_id":163246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:08:32] local.INFO: IMEI packet received {"connection_id":163246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 05:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":163246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 05:08:37] local.INFO: TCP Data received {"connection_id":163246,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:08:37] local.INFO: Processing buffer {"connection_id":163246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:08:37] local.INFO: IMEI packet received {"connection_id":163246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 05:08:37] local.INFO: IMEI acknowledgment sent {"connection_id":163246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 05:08:38] local.INFO: TCP Data received {"connection_id":163246,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a04594f890012d34c14006aa4840000800e62e..."} 
[2026-08-28 05:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04594f890012d34c14006aa4840000800e62e..."} 
[2026-08-28 05:08:38] local.INFO: Processing buffer {"connection_id":163246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04594f890012d34c14006aa4840000800e62e..."} 
[2026-08-28 05:08:38] local.INFO: Packet analysis {"connection_id":163246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04594"} 
[2026-08-28 05:08:38] local.INFO: Extracted packet for processing {"connection_id":163246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04594"} 
[2026-08-28 05:08:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695612160001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787873786000,"timestamp_ms":1787873786000,"timestamp_seconds":1787873786,"priority":1,"record_length":96,"hex_timestamp":"000001a04594f890"} 
[2026-08-28 05:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 05:08:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695612160001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695612160001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:08:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:08:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:08: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-28 05:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695612160001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":163246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:08:38] local.INFO: GPS data processed {"connection_id":163246,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:08:38] local.INFO: Acknowledgment sent {"connection_id":163246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:09:09] local.INFO: TCP Data received {"connection_id":163246,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a04594f890012d34c14006aa4840000800e62e..."} 
[2026-08-28 05:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04594f890012d34c14006aa4840000800e62e..."} 
[2026-08-28 05:09:09] local.INFO: Processing buffer {"connection_id":163246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04594f890012d34c14006aa4840000800e62e..."} 
[2026-08-28 05:09:09] local.INFO: Packet analysis {"connection_id":163246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04594"} 
[2026-08-28 05:09:09] local.INFO: Extracted packet for processing {"connection_id":163246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04594"} 
[2026-08-28 05:09:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695612160001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:09:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:09:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:09:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:09:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787873786000,"timestamp_ms":1787873786000,"timestamp_seconds":1787873786,"priority":1,"record_length":96,"hex_timestamp":"000001a04594f890"} 
[2026-08-28 05:09:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:09:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 05:09:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:09:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:09:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:09:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:09:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:09:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:09:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:09:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:09:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:09:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:09:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695612160001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:09:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:09:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:09:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695612160001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:09:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:09:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:09: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-28 05:09:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:09:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695612160001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":163246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:09:09] local.INFO: GPS data processed {"connection_id":163246,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:09:09] local.INFO: Acknowledgment sent {"connection_id":163246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:09:31] local.INFO: TCP Data received {"connection_id":165870,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:09:31] local.INFO: Processing buffer {"connection_id":165870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:09:31] local.INFO: IMEI packet received {"connection_id":165870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 05:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":165870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 05:09:33] local.INFO: TCP Data received {"connection_id":163507,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 05:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163507,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 05:09:33] local.INFO: Processing buffer {"connection_id":163507,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 05:09:33] local.INFO: IMEI packet received {"connection_id":163507,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 05:09:33] local.INFO: IMEI acknowledgment sent {"connection_id":163507,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 05:09:37] local.INFO: TCP Data received {"connection_id":165870,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:09:37] local.INFO: Processing buffer {"connection_id":165870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:09:37] local.INFO: IMEI packet received {"connection_id":165870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 05:09:37] local.INFO: IMEI acknowledgment sent {"connection_id":165870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 05:09:38] local.INFO: TCP Data received {"connection_id":165870,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a04594f890012d34c14006aa4840000800e62e..."} 
[2026-08-28 05:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04594f890012d34c14006aa4840000800e62e..."} 
[2026-08-28 05:09:38] local.INFO: Processing buffer {"connection_id":165870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04594f890012d34c14006aa4840000800e62e..."} 
[2026-08-28 05:09:38] local.INFO: Packet analysis {"connection_id":165870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04594"} 
[2026-08-28 05:09:38] local.INFO: Extracted packet for processing {"connection_id":165870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04594"} 
[2026-08-28 05:09:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695612160001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787873786000,"timestamp_ms":1787873786000,"timestamp_seconds":1787873786,"priority":1,"record_length":96,"hex_timestamp":"000001a04594f890"} 
[2026-08-28 05:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 05:09:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:09:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":165870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":165870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":165870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695612160001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695612160001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:09:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:09:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:09: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-28 05:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695612160001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":165870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:09:38] local.INFO: GPS data processed {"connection_id":165870,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:09:38] local.INFO: Acknowledgment sent {"connection_id":165870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:10:09] local.INFO: TCP Data received {"connection_id":165870,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a04594f890012d34c14006aa4840000800e62e..."} 
[2026-08-28 05:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04594f890012d34c14006aa4840000800e62e..."} 
[2026-08-28 05:10:09] local.INFO: Processing buffer {"connection_id":165870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04594f890012d34c14006aa4840000800e62e..."} 
[2026-08-28 05:10:09] local.INFO: Packet analysis {"connection_id":165870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04594"} 
[2026-08-28 05:10:09] local.INFO: Extracted packet for processing {"connection_id":165870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04594"} 
[2026-08-28 05:10:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695612160001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:10:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:10:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787873786000,"timestamp_ms":1787873786000,"timestamp_seconds":1787873786,"priority":1,"record_length":96,"hex_timestamp":"000001a04594f890"} 
[2026-08-28 05:10:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:10:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 05:10:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:10:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:10:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":165870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":165870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":165870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:10:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695612160001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695612160001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:10:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:10:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:10: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-28 05:10:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695612160001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":165870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:10:09] local.INFO: GPS data processed {"connection_id":165870,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:10:09] local.INFO: Acknowledgment sent {"connection_id":165870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:10:31] local.INFO: TCP Data received {"connection_id":163508,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:10:31] local.INFO: Processing buffer {"connection_id":163508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:10:31] local.INFO: IMEI packet received {"connection_id":163508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 05:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":163508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 05:10:37] local.INFO: TCP Data received {"connection_id":163508,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:10:37] local.INFO: Processing buffer {"connection_id":163508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:10:37] local.INFO: IMEI packet received {"connection_id":163508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 05:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":163508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 05:10:38] local.INFO: TCP Data received {"connection_id":163508,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a04594f890012d34c14006aa4840000800e62e..."} 
[2026-08-28 05:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04594f890012d34c14006aa4840000800e62e..."} 
[2026-08-28 05:10:38] local.INFO: Processing buffer {"connection_id":163508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04594f890012d34c14006aa4840000800e62e..."} 
[2026-08-28 05:10:38] local.INFO: Packet analysis {"connection_id":163508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04594"} 
[2026-08-28 05:10:38] local.INFO: Extracted packet for processing {"connection_id":163508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04594"} 
[2026-08-28 05:10:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695612160001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787873786000,"timestamp_ms":1787873786000,"timestamp_seconds":1787873786,"priority":1,"record_length":96,"hex_timestamp":"000001a04594f890"} 
[2026-08-28 05:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 05:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:10:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695612160001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695612160001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:10:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:10:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:10: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-28 05:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695612160001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":163508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:10:38] local.INFO: GPS data processed {"connection_id":163508,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:10:38] local.INFO: Acknowledgment sent {"connection_id":163508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:11:09] local.INFO: TCP Data received {"connection_id":163508,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a04594f890012d34c14006aa4840000800e62e..."} 
[2026-08-28 05:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04594f890012d34c14006aa4840000800e62e..."} 
[2026-08-28 05:11:09] local.INFO: Processing buffer {"connection_id":163508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04594f890012d34c14006aa4840000800e62e..."} 
[2026-08-28 05:11:09] local.INFO: Packet analysis {"connection_id":163508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04594"} 
[2026-08-28 05:11:09] local.INFO: Extracted packet for processing {"connection_id":163508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04594"} 
[2026-08-28 05:11:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695612160001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:11:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:11:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787873786000,"timestamp_ms":1787873786000,"timestamp_seconds":1787873786,"priority":1,"record_length":96,"hex_timestamp":"000001a04594f890"} 
[2026-08-28 05:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:11:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 05:11:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:11:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:11:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695612160001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695612160001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:11:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:11:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:11: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-28 05:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695612160001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":163508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:11:09] local.INFO: GPS data processed {"connection_id":163508,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:11:09] local.INFO: Acknowledgment sent {"connection_id":163508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:11:31] local.INFO: TCP Data received {"connection_id":164510,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:11:31] local.INFO: Processing buffer {"connection_id":164510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:11:31] local.INFO: IMEI packet received {"connection_id":164510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 05:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":164510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 05:11:37] local.INFO: TCP Data received {"connection_id":164510,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:11:37] local.INFO: Processing buffer {"connection_id":164510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:11:37] local.INFO: IMEI packet received {"connection_id":164510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 05:11:37] local.INFO: IMEI acknowledgment sent {"connection_id":164510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 05:11:38] local.INFO: TCP Data received {"connection_id":164510,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a04594f890012d34c14006aa4840000800e62e..."} 
[2026-08-28 05:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04594f890012d34c14006aa4840000800e62e..."} 
[2026-08-28 05:11:38] local.INFO: Processing buffer {"connection_id":164510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04594f890012d34c14006aa4840000800e62e..."} 
[2026-08-28 05:11:38] local.INFO: Packet analysis {"connection_id":164510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04594"} 
[2026-08-28 05:11:38] local.INFO: Extracted packet for processing {"connection_id":164510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04594"} 
[2026-08-28 05:11:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695612160001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:11:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787873786000,"timestamp_ms":1787873786000,"timestamp_seconds":1787873786,"priority":1,"record_length":96,"hex_timestamp":"000001a04594f890"} 
[2026-08-28 05:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:11:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 05:11:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:11:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695612160001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695612160001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:11:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:11:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:11: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-28 05:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695612160001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":164510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:11:38] local.INFO: GPS data processed {"connection_id":164510,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:11:38] local.INFO: Acknowledgment sent {"connection_id":164510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:12:09] local.INFO: TCP Data received {"connection_id":164510,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a045999058012d34c14006aa4840000800e62e..."} 
[2026-08-28 05:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045999058012d34c14006aa4840000800e62e..."} 
[2026-08-28 05:12:09] local.INFO: Processing buffer {"connection_id":164510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045999058012d34c14006aa4840000800e62e..."} 
[2026-08-28 05:12:09] local.INFO: Packet analysis {"connection_id":164510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04599"} 
[2026-08-28 05:12:09] local.INFO: Extracted packet for processing {"connection_id":164510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04599"} 
[2026-08-28 05:12:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05: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-28 05:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695689216001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:12:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787874087000,"timestamp_ms":1787874087000,"timestamp_seconds":1787874087,"priority":1,"record_length":96,"hex_timestamp":"000001a045999058"} 
[2026-08-28 05: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-28 05:12:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:12:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05: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-28 05: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-28 05:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:12:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695689216001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695689216001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:12:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:12:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:12: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-28 05:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695689216001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":164510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:12:09] local.INFO: GPS data processed {"connection_id":164510,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:12:09] local.INFO: Acknowledgment sent {"connection_id":164510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:12:37] local.INFO: TCP Data received {"connection_id":165871,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:12:37] local.INFO: Processing buffer {"connection_id":165871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:12:37] local.INFO: IMEI packet received {"connection_id":165871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 05:12:37] local.INFO: IMEI acknowledgment sent {"connection_id":165871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 05:12:41] local.INFO: TCP Data received {"connection_id":163247,"ip":"194.164.107.6","data_length":241,"data_hex":"16030100ec010000e80303afad11e97cfc35c57e443d42535a58339cf5a07f4f..."} 
[2026-08-28 05:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163247,"packet_length":241,"packet_hex":"16030100ec010000e80303afad11e97cfc35c57e443d42535a58339cf5a07f4f..."} 
[2026-08-28 05:12:41] local.INFO: Processing buffer {"connection_id":163247,"buffer_length":241,"buffer_hex":"16030100ec010000e80303afad11e97cfc35c57e443d42535a58339cf5a07f4f..."} 
[2026-08-28 05:12:41] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":163247,"buffer_length":241,"first_bytes_hex":"16030100ec010000e80303afad11e97c"} 
[2026-08-28 05:12:42] local.INFO: TCP Data received {"connection_id":165871,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:12:42] local.INFO: Processing buffer {"connection_id":165871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:12:42] local.INFO: IMEI packet received {"connection_id":165871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 05:12:42] local.INFO: IMEI acknowledgment sent {"connection_id":165871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 05:12:47] local.INFO: TCP Data received {"connection_id":165871,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:12:47] local.INFO: Processing buffer {"connection_id":165871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:12:47] local.INFO: IMEI packet received {"connection_id":165871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 05:12:47] local.INFO: IMEI acknowledgment sent {"connection_id":165871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 05:12:48] local.INFO: TCP Data received {"connection_id":165871,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a045999058012d34c14006aa4840000800e62e..."} 
[2026-08-28 05:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045999058012d34c14006aa4840000800e62e..."} 
[2026-08-28 05:12:48] local.INFO: Processing buffer {"connection_id":165871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045999058012d34c14006aa4840000800e62e..."} 
[2026-08-28 05:12:48] local.INFO: Packet analysis {"connection_id":165871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04599"} 
[2026-08-28 05:12:48] local.INFO: Extracted packet for processing {"connection_id":165871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04599"} 
[2026-08-28 05:12:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05: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-28 05:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695689216001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:12:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:12:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05: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-28 05:12:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787874087000,"timestamp_ms":1787874087000,"timestamp_seconds":1787874087,"priority":1,"record_length":96,"hex_timestamp":"000001a045999058"} 
[2026-08-28 05: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-28 05:12:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:12: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-28 05: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-28 05: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-28 05:12:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:12:48] local.INFO: Teltonika packet parsed successfully {"connection_id":165871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:12:48] local.INFO: Passing IMEI to GPS processor {"connection_id":165871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:12:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":165871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:12: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-28 05:12:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:12:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:12:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695689216001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:12:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:12:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:12:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695689216001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:12:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:12:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05: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-28 05:12:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:12:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695689216001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:12:48] local.INFO: DEBUG: GPS processor result {"connection_id":165871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:12:48] local.INFO: GPS data processed {"connection_id":165871,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:12:48] local.INFO: Acknowledgment sent {"connection_id":165871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:13:32] local.INFO: TCP Data received {"connection_id":163249,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:13:32] local.INFO: Processing buffer {"connection_id":163249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:13:32] local.INFO: IMEI packet received {"connection_id":163249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 05:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":163249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 05:13:36] local.INFO: TCP Data received {"connection_id":163249,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:13:36] local.INFO: Processing buffer {"connection_id":163249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:13:36] local.INFO: IMEI packet received {"connection_id":163249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 05:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":163249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 05:13:38] local.INFO: TCP Data received {"connection_id":163249,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a045999058012d34c14006aa4840000800e62e..."} 
[2026-08-28 05:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045999058012d34c14006aa4840000800e62e..."} 
[2026-08-28 05:13:38] local.INFO: Processing buffer {"connection_id":163249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045999058012d34c14006aa4840000800e62e..."} 
[2026-08-28 05:13:38] local.INFO: Packet analysis {"connection_id":163249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04599"} 
[2026-08-28 05:13:38] local.INFO: Extracted packet for processing {"connection_id":163249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04599"} 
[2026-08-28 05:13:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695689216001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:13:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:13:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787874087000,"timestamp_ms":1787874087000,"timestamp_seconds":1787874087,"priority":1,"record_length":96,"hex_timestamp":"000001a045999058"} 
[2026-08-28 05:13:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:13:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:13:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:13:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:13:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:13:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695689216001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695689216001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:13:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:13:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:13: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-28 05:13:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695689216001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":163249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:13:38] local.INFO: GPS data processed {"connection_id":163249,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:13:38] local.INFO: Acknowledgment sent {"connection_id":163249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:14:09] local.INFO: TCP Data received {"connection_id":163249,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a045999058012d34c14006aa4840000800e62e..."} 
[2026-08-28 05:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045999058012d34c14006aa4840000800e62e..."} 
[2026-08-28 05:14:09] local.INFO: Processing buffer {"connection_id":163249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045999058012d34c14006aa4840000800e62e..."} 
[2026-08-28 05:14:09] local.INFO: Packet analysis {"connection_id":163249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04599"} 
[2026-08-28 05:14:09] local.INFO: Extracted packet for processing {"connection_id":163249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04599"} 
[2026-08-28 05:14:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695689216001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:14:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787874087000,"timestamp_ms":1787874087000,"timestamp_seconds":1787874087,"priority":1,"record_length":96,"hex_timestamp":"000001a045999058"} 
[2026-08-28 05:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:14:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:14:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:14:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695689216001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695689216001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:14:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:14:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:14: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-28 05:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695689216001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":163249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:14:09] local.INFO: GPS data processed {"connection_id":163249,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:14:09] local.INFO: Acknowledgment sent {"connection_id":163249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:14:31] local.INFO: TCP Data received {"connection_id":163509,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:14:31] local.INFO: Processing buffer {"connection_id":163509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:14:31] local.INFO: IMEI packet received {"connection_id":163509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 05:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":163509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 05:14:37] local.INFO: TCP Data received {"connection_id":163509,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:14:37] local.INFO: Processing buffer {"connection_id":163509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:14:37] local.INFO: IMEI packet received {"connection_id":163509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 05:14:37] local.INFO: IMEI acknowledgment sent {"connection_id":163509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 05:14:38] local.INFO: TCP Data received {"connection_id":163509,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a045999058012d34c14006aa4840000800e62e..."} 
[2026-08-28 05:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045999058012d34c14006aa4840000800e62e..."} 
[2026-08-28 05:14:38] local.INFO: Processing buffer {"connection_id":163509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045999058012d34c14006aa4840000800e62e..."} 
[2026-08-28 05:14:38] local.INFO: Packet analysis {"connection_id":163509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04599"} 
[2026-08-28 05:14:38] local.INFO: Extracted packet for processing {"connection_id":163509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04599"} 
[2026-08-28 05:14:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695689216001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787874087000,"timestamp_ms":1787874087000,"timestamp_seconds":1787874087,"priority":1,"record_length":96,"hex_timestamp":"000001a045999058"} 
[2026-08-28 05:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:14:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:14:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695689216001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695689216001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:14:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:14:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:14: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-28 05:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695689216001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":163509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:14:38] local.INFO: GPS data processed {"connection_id":163509,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:14:38] local.INFO: Acknowledgment sent {"connection_id":163509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:15:10] local.INFO: TCP Data received {"connection_id":163509,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a045999058012d34c14006aa4840000800e62e..."} 
[2026-08-28 05:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045999058012d34c14006aa4840000800e62e..."} 
[2026-08-28 05:15:10] local.INFO: Processing buffer {"connection_id":163509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045999058012d34c14006aa4840000800e62e..."} 
[2026-08-28 05:15:10] local.INFO: Packet analysis {"connection_id":163509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04599"} 
[2026-08-28 05:15:10] local.INFO: Extracted packet for processing {"connection_id":163509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04599"} 
[2026-08-28 05:15:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695689216001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:15:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787874087000,"timestamp_ms":1787874087000,"timestamp_seconds":1787874087,"priority":1,"record_length":96,"hex_timestamp":"000001a045999058"} 
[2026-08-28 05:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:15:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:15:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:15:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:15:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695689216001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695689216001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:15:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:15:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 05:15:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695689216001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":163509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:15:10] local.INFO: GPS data processed {"connection_id":163509,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:15:10] local.INFO: Acknowledgment sent {"connection_id":163509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:15:11] local.INFO: TCP Data received {"connection_id":163248,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 05:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163248,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 05:15:11] local.INFO: Processing buffer {"connection_id":163248,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 05:15:11] local.INFO: IMEI packet received {"connection_id":163248,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 05:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":163248,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 05:15:31] local.INFO: TCP Data received {"connection_id":163510,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:15:31] local.INFO: Processing buffer {"connection_id":163510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:15:31] local.INFO: IMEI packet received {"connection_id":163510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 05:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":163510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 05:15:37] local.INFO: TCP Data received {"connection_id":163510,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:15:37] local.INFO: Processing buffer {"connection_id":163510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:15:37] local.INFO: IMEI packet received {"connection_id":163510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 05:15:37] local.INFO: IMEI acknowledgment sent {"connection_id":163510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 05:15:38] local.INFO: TCP Data received {"connection_id":163510,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a045999058012d34c14006aa4840000800e62e..."} 
[2026-08-28 05:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045999058012d34c14006aa4840000800e62e..."} 
[2026-08-28 05:15:38] local.INFO: Processing buffer {"connection_id":163510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045999058012d34c14006aa4840000800e62e..."} 
[2026-08-28 05:15:38] local.INFO: Packet analysis {"connection_id":163510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04599"} 
[2026-08-28 05:15:38] local.INFO: Extracted packet for processing {"connection_id":163510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04599"} 
[2026-08-28 05:15:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695689216001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:15:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787874087000,"timestamp_ms":1787874087000,"timestamp_seconds":1787874087,"priority":1,"record_length":96,"hex_timestamp":"000001a045999058"} 
[2026-08-28 05:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:15:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:15:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:15:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:15:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695689216001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695689216001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:15:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:15:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:15: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-28 05:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695689216001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:15:38] 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":706378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:15:38] local.INFO: GPS data processed {"connection_id":163510,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:15:38] local.INFO: Acknowledgment sent {"connection_id":163510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:16:09] local.INFO: TCP Data received {"connection_id":163510,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a045999058012d34c14006aa4840000800e62e..."} 
[2026-08-28 05:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045999058012d34c14006aa4840000800e62e..."} 
[2026-08-28 05:16:09] local.INFO: Processing buffer {"connection_id":163510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045999058012d34c14006aa4840000800e62e..."} 
[2026-08-28 05:16:09] local.INFO: Packet analysis {"connection_id":163510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04599"} 
[2026-08-28 05:16:09] local.INFO: Extracted packet for processing {"connection_id":163510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04599"} 
[2026-08-28 05:16:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695689216001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:16:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787874087000,"timestamp_ms":1787874087000,"timestamp_seconds":1787874087,"priority":1,"record_length":96,"hex_timestamp":"000001a045999058"} 
[2026-08-28 05:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:16:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:16:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:16:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695689216001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695689216001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:16:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:16:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:16: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-28 05:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695689216001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:16:09] 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":706379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:16:09] local.INFO: GPS data processed {"connection_id":163510,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:16:09] local.INFO: Acknowledgment sent {"connection_id":163510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:16:31] local.INFO: TCP Data received {"connection_id":164511,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:16:31] local.INFO: Processing buffer {"connection_id":164511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:16:31] local.INFO: IMEI packet received {"connection_id":164511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 05:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":164511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 05:16:37] local.INFO: TCP Data received {"connection_id":164511,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:16:37] local.INFO: Processing buffer {"connection_id":164511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:16:37] local.INFO: IMEI packet received {"connection_id":164511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 05:16:37] local.INFO: IMEI acknowledgment sent {"connection_id":164511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 05:16:38] local.INFO: TCP Data received {"connection_id":164511,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a045999058012d34c14006aa4840000800e62e..."} 
[2026-08-28 05:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045999058012d34c14006aa4840000800e62e..."} 
[2026-08-28 05:16:38] local.INFO: Processing buffer {"connection_id":164511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045999058012d34c14006aa4840000800e62e..."} 
[2026-08-28 05:16:38] local.INFO: Packet analysis {"connection_id":164511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04599"} 
[2026-08-28 05:16:38] local.INFO: Extracted packet for processing {"connection_id":164511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04599"} 
[2026-08-28 05:16:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":8,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695689216001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:16:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:16:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787874087000,"timestamp_ms":1787874087000,"timestamp_seconds":1787874087,"priority":1,"record_length":96,"hex_timestamp":"000001a045999058"} 
[2026-08-28 05:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:16:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:16:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:16:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:16:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695689216001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695689216001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:16:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:16:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:16: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-28 05:16:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695689216001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":164511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:16:38] local.INFO: GPS data processed {"connection_id":164511,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:16:38] local.INFO: Acknowledgment sent {"connection_id":164511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:17:10] local.INFO: TCP Data received {"connection_id":164511,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0459e2820012d34c14006aa4840000300e62e..."} 
[2026-08-28 05:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0459e2820012d34c14006aa4840000300e62e..."} 
[2026-08-28 05:17:10] local.INFO: Processing buffer {"connection_id":164511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0459e2820012d34c14006aa4840000300e62e..."} 
[2026-08-28 05:17:10] local.INFO: Packet analysis {"connection_id":164511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0459e"} 
[2026-08-28 05:17:10] local.INFO: Extracted packet for processing {"connection_id":164511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0459e"} 
[2026-08-28 05:17:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695766272001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:17:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:17:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787874388000,"timestamp_ms":1787874388000,"timestamp_seconds":1787874388,"priority":1,"record_length":96,"hex_timestamp":"000001a0459e2820"} 
[2026-08-28 05:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:17:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:17:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:17:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":164511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":164511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":164511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:17:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695766272001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695766272001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:17:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:17:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 05:17:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695766272001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":164511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:17:10] local.INFO: GPS data processed {"connection_id":164511,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:17:10] local.INFO: Acknowledgment sent {"connection_id":164511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:17:37] local.INFO: TCP Data received {"connection_id":165872,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:17:37] local.INFO: Processing buffer {"connection_id":165872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:17:37] local.INFO: IMEI packet received {"connection_id":165872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 05:17:37] local.INFO: IMEI acknowledgment sent {"connection_id":165872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 05:17:42] local.INFO: TCP Data received {"connection_id":165872,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:17:42] local.INFO: Processing buffer {"connection_id":165872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:17:42] local.INFO: IMEI packet received {"connection_id":165872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 05:17:42] local.INFO: IMEI acknowledgment sent {"connection_id":165872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 05:17:43] local.INFO: TCP Data received {"connection_id":165872,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0459e2820012d34c14006aa4840000300e62e..."} 
[2026-08-28 05:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0459e2820012d34c14006aa4840000300e62e..."} 
[2026-08-28 05:17:43] local.INFO: Processing buffer {"connection_id":165872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0459e2820012d34c14006aa4840000300e62e..."} 
[2026-08-28 05:17:43] local.INFO: Packet analysis {"connection_id":165872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0459e"} 
[2026-08-28 05:17:43] local.INFO: Extracted packet for processing {"connection_id":165872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0459e"} 
[2026-08-28 05:17:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05: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-28 05:17:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695766272001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:17:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:17:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05: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-28 05:17:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787874388000,"timestamp_ms":1787874388000,"timestamp_seconds":1787874388,"priority":1,"record_length":96,"hex_timestamp":"000001a0459e2820"} 
[2026-08-28 05: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-28 05:17:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05: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":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:17: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-28 05: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-28 05: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-28 05:17:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:17:43] local.INFO: Teltonika packet parsed successfully {"connection_id":165872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:17:43] local.INFO: Passing IMEI to GPS processor {"connection_id":165872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:17:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":165872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:17: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-28 05:17:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:17:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:17:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695766272001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:17:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:17:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:17:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695766272001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:17:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:17:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05: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-28 05:17:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:17:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695766272001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:17:43] local.INFO: DEBUG: GPS processor result {"connection_id":165872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:17:43] local.INFO: GPS data processed {"connection_id":165872,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:17:43] local.INFO: Acknowledgment sent {"connection_id":165872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:18:14] local.INFO: TCP Data received {"connection_id":165872,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0459e2820012d34c14006aa4840000300e62e..."} 
[2026-08-28 05:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0459e2820012d34c14006aa4840000300e62e..."} 
[2026-08-28 05:18:14] local.INFO: Processing buffer {"connection_id":165872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0459e2820012d34c14006aa4840000300e62e..."} 
[2026-08-28 05:18:14] local.INFO: Packet analysis {"connection_id":165872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0459e"} 
[2026-08-28 05:18:14] local.INFO: Extracted packet for processing {"connection_id":165872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0459e"} 
[2026-08-28 05:18:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05: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-28 05:18:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695766272001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:18:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:18:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05: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-28 05:18:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787874388000,"timestamp_ms":1787874388000,"timestamp_seconds":1787874388,"priority":1,"record_length":96,"hex_timestamp":"000001a0459e2820"} 
[2026-08-28 05: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-28 05:18:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:18: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-28 05: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-28 05: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-28 05:18:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:18:14] local.INFO: Teltonika packet parsed successfully {"connection_id":165872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:18:14] local.INFO: Passing IMEI to GPS processor {"connection_id":165872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:18:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":165872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:18: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-28 05:18:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:18:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:18:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695766272001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:18:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:18:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:18:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695766272001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:18:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:18:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05: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-28 05:18:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:18:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695766272001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:18:14] local.INFO: DEBUG: GPS processor result {"connection_id":165872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:18:14] local.INFO: GPS data processed {"connection_id":165872,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:18:14] local.INFO: Acknowledgment sent {"connection_id":165872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:18:32] local.INFO: TCP Data received {"connection_id":163512,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:18:32] local.INFO: Processing buffer {"connection_id":163512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:18:32] local.INFO: IMEI packet received {"connection_id":163512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 05:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":163512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 05:18:37] local.INFO: TCP Data received {"connection_id":163512,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:18:37] local.INFO: Processing buffer {"connection_id":163512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:18:37] local.INFO: IMEI packet received {"connection_id":163512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 05:18:37] local.INFO: IMEI acknowledgment sent {"connection_id":163512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 05:18:38] local.INFO: TCP Data received {"connection_id":163512,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0459e2820012d34c14006aa4840000300e62e..."} 
[2026-08-28 05:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0459e2820012d34c14006aa4840000300e62e..."} 
[2026-08-28 05:18:38] local.INFO: Processing buffer {"connection_id":163512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0459e2820012d34c14006aa4840000300e62e..."} 
[2026-08-28 05:18:38] local.INFO: Packet analysis {"connection_id":163512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0459e"} 
[2026-08-28 05:18:38] local.INFO: Extracted packet for processing {"connection_id":163512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0459e"} 
[2026-08-28 05:18:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:18:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695766272001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:18:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:18:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:18:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:18:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787874388000,"timestamp_ms":1787874388000,"timestamp_seconds":1787874388,"priority":1,"record_length":96,"hex_timestamp":"000001a0459e2820"} 
[2026-08-28 05:18:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:18:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:18:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:18:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:18:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:18:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:18:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:18:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:18:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:18:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:18:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:18:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:18:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695766272001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:18:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:18:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:18:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695766272001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:18:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:18:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:18: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-28 05:18:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:18:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695766272001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:18:38] 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":706384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:18:38] local.INFO: GPS data processed {"connection_id":163512,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:18:38] local.INFO: Acknowledgment sent {"connection_id":163512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:19:09] local.INFO: TCP Data received {"connection_id":163512,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0459e2820012d34c14006aa4840000300e62e..."} 
[2026-08-28 05:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0459e2820012d34c14006aa4840000300e62e..."} 
[2026-08-28 05:19:09] local.INFO: Processing buffer {"connection_id":163512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0459e2820012d34c14006aa4840000300e62e..."} 
[2026-08-28 05:19:09] local.INFO: Packet analysis {"connection_id":163512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0459e"} 
[2026-08-28 05:19:09] local.INFO: Extracted packet for processing {"connection_id":163512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0459e"} 
[2026-08-28 05:19:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695766272001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787874388000,"timestamp_ms":1787874388000,"timestamp_seconds":1787874388,"priority":1,"record_length":96,"hex_timestamp":"000001a0459e2820"} 
[2026-08-28 05:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:19:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:19:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:19:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695766272001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695766272001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:19:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:19:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:19: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-28 05:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695766272001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:19:09] 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":706385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:19:09] local.INFO: GPS data processed {"connection_id":163512,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:19:09] local.INFO: Acknowledgment sent {"connection_id":163512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:19:32] local.INFO: TCP Data received {"connection_id":163513,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:19:32] local.INFO: Processing buffer {"connection_id":163513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:19:32] local.INFO: IMEI packet received {"connection_id":163513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 05:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":163513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 05:19:37] local.INFO: TCP Data received {"connection_id":163513,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:19:37] local.INFO: Processing buffer {"connection_id":163513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:19:37] local.INFO: IMEI packet received {"connection_id":163513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 05:19:37] local.INFO: IMEI acknowledgment sent {"connection_id":163513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 05:19:38] local.INFO: TCP Data received {"connection_id":163513,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0459e2820012d34c14006aa4840000300e62e..."} 
[2026-08-28 05:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0459e2820012d34c14006aa4840000300e62e..."} 
[2026-08-28 05:19:38] local.INFO: Processing buffer {"connection_id":163513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0459e2820012d34c14006aa4840000300e62e..."} 
[2026-08-28 05:19:38] local.INFO: Packet analysis {"connection_id":163513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0459e"} 
[2026-08-28 05:19:38] local.INFO: Extracted packet for processing {"connection_id":163513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0459e"} 
[2026-08-28 05:19:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695766272001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:19:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787874388000,"timestamp_ms":1787874388000,"timestamp_seconds":1787874388,"priority":1,"record_length":96,"hex_timestamp":"000001a0459e2820"} 
[2026-08-28 05:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:19:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:19:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:19:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:19:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695766272001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695766272001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:19:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:19:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:19: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-28 05:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695766272001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:19:38] 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":706386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:19:38] local.INFO: GPS data processed {"connection_id":163513,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:19:38] local.INFO: Acknowledgment sent {"connection_id":163513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:20:09] local.INFO: TCP Data received {"connection_id":163513,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0459e2820012d34c14006aa4840000300e62e..."} 
[2026-08-28 05:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0459e2820012d34c14006aa4840000300e62e..."} 
[2026-08-28 05:20:09] local.INFO: Processing buffer {"connection_id":163513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0459e2820012d34c14006aa4840000300e62e..."} 
[2026-08-28 05:20:09] local.INFO: Packet analysis {"connection_id":163513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0459e"} 
[2026-08-28 05:20:09] local.INFO: Extracted packet for processing {"connection_id":163513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0459e"} 
[2026-08-28 05:20:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695766272001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:20:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787874388000,"timestamp_ms":1787874388000,"timestamp_seconds":1787874388,"priority":1,"record_length":96,"hex_timestamp":"000001a0459e2820"} 
[2026-08-28 05:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:20:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:20:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:20:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695766272001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695766272001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:20:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:20:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:20: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-28 05:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695766272001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:20:09] 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":706387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:20:09] local.INFO: GPS data processed {"connection_id":163513,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:20:09] local.INFO: Acknowledgment sent {"connection_id":163513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:20:31] local.INFO: TCP Data received {"connection_id":163250,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:20:31] local.INFO: Processing buffer {"connection_id":163250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:20:31] local.INFO: IMEI packet received {"connection_id":163250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 05:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":163250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 05:20:37] local.INFO: TCP Data received {"connection_id":163250,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:20:37] local.INFO: Processing buffer {"connection_id":163250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:20:37] local.INFO: IMEI packet received {"connection_id":163250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 05:20:37] local.INFO: IMEI acknowledgment sent {"connection_id":163250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 05:20:38] local.INFO: TCP Data received {"connection_id":163250,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0459e2820012d34c14006aa4840000300e62e..."} 
[2026-08-28 05:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0459e2820012d34c14006aa4840000300e62e..."} 
[2026-08-28 05:20:38] local.INFO: Processing buffer {"connection_id":163250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0459e2820012d34c14006aa4840000300e62e..."} 
[2026-08-28 05:20:38] local.INFO: Packet analysis {"connection_id":163250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0459e"} 
[2026-08-28 05:20:38] local.INFO: Extracted packet for processing {"connection_id":163250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0459e"} 
[2026-08-28 05:20:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695766272001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:20:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787874388000,"timestamp_ms":1787874388000,"timestamp_seconds":1787874388,"priority":1,"record_length":96,"hex_timestamp":"000001a0459e2820"} 
[2026-08-28 05:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:20:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:20:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695766272001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695766272001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:20:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:20:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:20: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-28 05:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695766272001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":163250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:20:38] local.INFO: GPS data processed {"connection_id":163250,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:20:38] local.INFO: Acknowledgment sent {"connection_id":163250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:21:09] local.INFO: TCP Data received {"connection_id":163250,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0459e2820012d34c14006aa4840000300e62e..."} 
[2026-08-28 05:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0459e2820012d34c14006aa4840000300e62e..."} 
[2026-08-28 05:21:09] local.INFO: Processing buffer {"connection_id":163250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0459e2820012d34c14006aa4840000300e62e..."} 
[2026-08-28 05:21:09] local.INFO: Packet analysis {"connection_id":163250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0459e"} 
[2026-08-28 05:21:09] local.INFO: Extracted packet for processing {"connection_id":163250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0459e"} 
[2026-08-28 05:21:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695766272001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:21:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787874388000,"timestamp_ms":1787874388000,"timestamp_seconds":1787874388,"priority":1,"record_length":96,"hex_timestamp":"000001a0459e2820"} 
[2026-08-28 05:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:21:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:21:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:21: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-28 05:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695766272001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695766272001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:21:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:21:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:21: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-28 05:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695766272001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":163250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:21:09] local.INFO: GPS data processed {"connection_id":163250,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:21:09] local.INFO: Acknowledgment sent {"connection_id":163250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:21:21] local.INFO: TCP Data received {"connection_id":163511,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 05:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163511,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 05:21:21] local.INFO: Processing buffer {"connection_id":163511,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 05:21:21] local.INFO: IMEI packet received {"connection_id":163511,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 05:21:21] local.INFO: IMEI acknowledgment sent {"connection_id":163511,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 05:21:31] local.INFO: TCP Data received {"connection_id":164512,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:21:31] local.INFO: Processing buffer {"connection_id":164512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:21:31] local.INFO: IMEI packet received {"connection_id":164512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 05:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":164512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 05:21:37] local.INFO: TCP Data received {"connection_id":164512,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:21:37] local.INFO: Processing buffer {"connection_id":164512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:21:37] local.INFO: IMEI packet received {"connection_id":164512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 05:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":164512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 05:21:38] local.INFO: TCP Data received {"connection_id":164512,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0459e2820012d34c14006aa4840000300e62e..."} 
[2026-08-28 05:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0459e2820012d34c14006aa4840000300e62e..."} 
[2026-08-28 05:21:38] local.INFO: Processing buffer {"connection_id":164512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0459e2820012d34c14006aa4840000300e62e..."} 
[2026-08-28 05:21:38] local.INFO: Packet analysis {"connection_id":164512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0459e"} 
[2026-08-28 05:21:38] local.INFO: Extracted packet for processing {"connection_id":164512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0459e"} 
[2026-08-28 05:21:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695766272001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787874388000,"timestamp_ms":1787874388000,"timestamp_seconds":1787874388,"priority":1,"record_length":96,"hex_timestamp":"000001a0459e2820"} 
[2026-08-28 05:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:21:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695766272001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695766272001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:21:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:21:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:21: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-28 05:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695766272001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":164512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:21:38] local.INFO: GPS data processed {"connection_id":164512,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:21:38] local.INFO: Acknowledgment sent {"connection_id":164512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:22:09] local.INFO: TCP Data received {"connection_id":164512,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a045a2bfe8012d34c14006aa4840000200e62e..."} 
[2026-08-28 05:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045a2bfe8012d34c14006aa4840000200e62e..."} 
[2026-08-28 05:22:09] local.INFO: Processing buffer {"connection_id":164512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045a2bfe8012d34c14006aa4840000200e62e..."} 
[2026-08-28 05:22:09] local.INFO: Packet analysis {"connection_id":164512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045a2"} 
[2026-08-28 05:22:09] local.INFO: Extracted packet for processing {"connection_id":164512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045a2"} 
[2026-08-28 05:22:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":2,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695843328001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:22:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:22:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787874689000,"timestamp_ms":1787874689000,"timestamp_seconds":1787874689,"priority":1,"record_length":96,"hex_timestamp":"000001a045a2bfe8"} 
[2026-08-28 05:22:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:22:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:22:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:22:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:22:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:22:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695843328001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695843328001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:22:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:22:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:22: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-28 05:22:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695843328001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":164512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:22:09] local.INFO: GPS data processed {"connection_id":164512,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:22:09] local.INFO: Acknowledgment sent {"connection_id":164512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:22:37] local.INFO: TCP Data received {"connection_id":164513,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:22:37] local.INFO: Processing buffer {"connection_id":164513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:22:37] local.INFO: IMEI packet received {"connection_id":164513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 05:22:37] local.INFO: IMEI acknowledgment sent {"connection_id":164513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 05:22:42] local.INFO: TCP Data received {"connection_id":164513,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:22:42] local.INFO: Processing buffer {"connection_id":164513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:22:42] local.INFO: IMEI packet received {"connection_id":164513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 05:22:42] local.INFO: IMEI acknowledgment sent {"connection_id":164513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 05:22:43] local.INFO: TCP Data received {"connection_id":164513,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a045a2bfe8012d34c14006aa4840000200e62e..."} 
[2026-08-28 05:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045a2bfe8012d34c14006aa4840000200e62e..."} 
[2026-08-28 05:22:43] local.INFO: Processing buffer {"connection_id":164513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045a2bfe8012d34c14006aa4840000200e62e..."} 
[2026-08-28 05:22:43] local.INFO: Packet analysis {"connection_id":164513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045a2"} 
[2026-08-28 05:22:43] local.INFO: Extracted packet for processing {"connection_id":164513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045a2"} 
[2026-08-28 05:22:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":2,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05: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-28 05:22:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695843328001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:22:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:22:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05: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-28 05:22:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787874689000,"timestamp_ms":1787874689000,"timestamp_seconds":1787874689,"priority":1,"record_length":96,"hex_timestamp":"000001a045a2bfe8"} 
[2026-08-28 05: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-28 05:22:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:22: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-28 05: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-28 05: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-28 05:22:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:22:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:22:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:22:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:22: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-28 05:22:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:22:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:22:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695843328001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:22:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:22:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:22:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695843328001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:22:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:22:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05: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-28 05:22:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:22:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695843328001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:22:43] local.INFO: DEBUG: GPS processor result {"connection_id":164513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:22:43] local.INFO: GPS data processed {"connection_id":164513,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:22:43] local.INFO: Acknowledgment sent {"connection_id":164513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:23:14] local.INFO: TCP Data received {"connection_id":164513,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a045a2bfe8012d34c14006aa4840000200e62e..."} 
[2026-08-28 05:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045a2bfe8012d34c14006aa4840000200e62e..."} 
[2026-08-28 05:23:14] local.INFO: Processing buffer {"connection_id":164513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045a2bfe8012d34c14006aa4840000200e62e..."} 
[2026-08-28 05:23:14] local.INFO: Packet analysis {"connection_id":164513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045a2"} 
[2026-08-28 05:23:14] local.INFO: Extracted packet for processing {"connection_id":164513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045a2"} 
[2026-08-28 05:23:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":2,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05: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-28 05:23:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695843328001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:23:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:23:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05: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-28 05:23:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787874689000,"timestamp_ms":1787874689000,"timestamp_seconds":1787874689,"priority":1,"record_length":96,"hex_timestamp":"000001a045a2bfe8"} 
[2026-08-28 05: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-28 05:23:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:23: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-28 05: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-28 05: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-28 05:23:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:23:14] local.INFO: Teltonika packet parsed successfully {"connection_id":164513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:23:14] local.INFO: Passing IMEI to GPS processor {"connection_id":164513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:23:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":164513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:23: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-28 05:23:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:23:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:23:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695843328001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:23:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:23:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:23:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695843328001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:23:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:23:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05: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-28 05:23:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:23:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695843328001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:23:14] local.INFO: DEBUG: GPS processor result {"connection_id":164513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:23:14] local.INFO: GPS data processed {"connection_id":164513,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:23:14] local.INFO: Acknowledgment sent {"connection_id":164513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:23:32] local.INFO: TCP Data received {"connection_id":163251,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:23:32] local.INFO: Processing buffer {"connection_id":163251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:23:32] local.INFO: IMEI packet received {"connection_id":163251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 05:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":163251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 05:23:37] local.INFO: TCP Data received {"connection_id":163251,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:23:37] local.INFO: Processing buffer {"connection_id":163251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:23:37] local.INFO: IMEI packet received {"connection_id":163251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 05:23:37] local.INFO: IMEI acknowledgment sent {"connection_id":163251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 05:23:38] local.INFO: TCP Data received {"connection_id":163251,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a045a2bfe8012d34c14006aa4840000200e62e..."} 
[2026-08-28 05:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045a2bfe8012d34c14006aa4840000200e62e..."} 
[2026-08-28 05:23:38] local.INFO: Processing buffer {"connection_id":163251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045a2bfe8012d34c14006aa4840000200e62e..."} 
[2026-08-28 05:23:38] local.INFO: Packet analysis {"connection_id":163251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045a2"} 
[2026-08-28 05:23:38] local.INFO: Extracted packet for processing {"connection_id":163251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045a2"} 
[2026-08-28 05:23:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":2,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695843328001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:23:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:23:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787874689000,"timestamp_ms":1787874689000,"timestamp_seconds":1787874689,"priority":1,"record_length":96,"hex_timestamp":"000001a045a2bfe8"} 
[2026-08-28 05:23:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:23:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:23:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:23:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:23:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:23:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695843328001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695843328001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:23:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:23:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:23: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-28 05:23:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695843328001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:23:38] local.INFO: DEBUG: GPS processor result {"connection_id":163251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:23:38] local.INFO: GPS data processed {"connection_id":163251,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:23:38] local.INFO: Acknowledgment sent {"connection_id":163251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:24:09] local.INFO: TCP Data received {"connection_id":163251,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a045a2bfe8012d34c14006aa4840000200e62e..."} 
[2026-08-28 05:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045a2bfe8012d34c14006aa4840000200e62e..."} 
[2026-08-28 05:24:09] local.INFO: Processing buffer {"connection_id":163251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045a2bfe8012d34c14006aa4840000200e62e..."} 
[2026-08-28 05:24:09] local.INFO: Packet analysis {"connection_id":163251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045a2"} 
[2026-08-28 05:24:09] local.INFO: Extracted packet for processing {"connection_id":163251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045a2"} 
[2026-08-28 05:24:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":2,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695843328001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:24:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:24:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787874689000,"timestamp_ms":1787874689000,"timestamp_seconds":1787874689,"priority":1,"record_length":96,"hex_timestamp":"000001a045a2bfe8"} 
[2026-08-28 05:24:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:24:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:24:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:24:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:24:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:24: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-28 05:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695843328001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695843328001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:24:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:24:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:24: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-28 05:24:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695843328001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":163251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:24:09] local.INFO: GPS data processed {"connection_id":163251,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:24:09] local.INFO: Acknowledgment sent {"connection_id":163251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:24:32] local.INFO: TCP Data received {"connection_id":163515,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:24:32] local.INFO: Processing buffer {"connection_id":163515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:24:32] local.INFO: IMEI packet received {"connection_id":163515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 05:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":163515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 05:24:37] local.INFO: TCP Data received {"connection_id":163515,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:24:37] local.INFO: Processing buffer {"connection_id":163515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:24:37] local.INFO: IMEI packet received {"connection_id":163515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 05:24:37] local.INFO: IMEI acknowledgment sent {"connection_id":163515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 05:24:37] local.INFO: TCP Data received {"connection_id":163515,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a045a2bfe8012d34c14006aa4840000200e62e..."} 
[2026-08-28 05:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045a2bfe8012d34c14006aa4840000200e62e..."} 
[2026-08-28 05:24:37] local.INFO: Processing buffer {"connection_id":163515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045a2bfe8012d34c14006aa4840000200e62e..."} 
[2026-08-28 05:24:37] local.INFO: Packet analysis {"connection_id":163515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045a2"} 
[2026-08-28 05:24:37] local.INFO: Extracted packet for processing {"connection_id":163515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045a2"} 
[2026-08-28 05:24:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":2,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695843328001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787874689000,"timestamp_ms":1787874689000,"timestamp_seconds":1787874689,"priority":1,"record_length":96,"hex_timestamp":"000001a045a2bfe8"} 
[2026-08-28 05:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:24:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695843328001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695843328001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:24:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:24:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:24: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-28 05:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695843328001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:24:37] 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":706396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:24:37] local.INFO: GPS data processed {"connection_id":163515,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:24:37] local.INFO: Acknowledgment sent {"connection_id":163515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:25:09] local.INFO: TCP Data received {"connection_id":163515,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a045a2bfe8012d34c14006aa4840000200e62e..."} 
[2026-08-28 05:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045a2bfe8012d34c14006aa4840000200e62e..."} 
[2026-08-28 05:25:09] local.INFO: Processing buffer {"connection_id":163515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045a2bfe8012d34c14006aa4840000200e62e..."} 
[2026-08-28 05:25:09] local.INFO: Packet analysis {"connection_id":163515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045a2"} 
[2026-08-28 05:25:09] local.INFO: Extracted packet for processing {"connection_id":163515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045a2"} 
[2026-08-28 05:25:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":2,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:25:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695843328001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:25:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:25:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:25:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:25:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787874689000,"timestamp_ms":1787874689000,"timestamp_seconds":1787874689,"priority":1,"record_length":96,"hex_timestamp":"000001a045a2bfe8"} 
[2026-08-28 05:25:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:25:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:25:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:25:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:25:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:25:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:25:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:25:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:25:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:25:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695843328001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:25:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:25:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:25:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695843328001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:25:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:25:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:25: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-28 05:25:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:25:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695843328001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:25:09] 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":706397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:25:09] local.INFO: GPS data processed {"connection_id":163515,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:25:09] local.INFO: Acknowledgment sent {"connection_id":163515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:25:31] local.INFO: TCP Data received {"connection_id":163516,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:25:31] local.INFO: Processing buffer {"connection_id":163516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:25:31] local.INFO: IMEI packet received {"connection_id":163516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 05:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":163516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 05:25:37] local.INFO: TCP Data received {"connection_id":163516,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:25:37] local.INFO: Processing buffer {"connection_id":163516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:25:37] local.INFO: IMEI packet received {"connection_id":163516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 05:25:37] local.INFO: IMEI acknowledgment sent {"connection_id":163516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 05:25:38] local.INFO: TCP Data received {"connection_id":163516,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a045a2bfe8012d34c14006aa4840000200e62e..."} 
[2026-08-28 05:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045a2bfe8012d34c14006aa4840000200e62e..."} 
[2026-08-28 05:25:38] local.INFO: Processing buffer {"connection_id":163516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045a2bfe8012d34c14006aa4840000200e62e..."} 
[2026-08-28 05:25:38] local.INFO: Packet analysis {"connection_id":163516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045a2"} 
[2026-08-28 05:25:38] local.INFO: Extracted packet for processing {"connection_id":163516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045a2"} 
[2026-08-28 05:25:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":2,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695843328001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:25:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787874689000,"timestamp_ms":1787874689000,"timestamp_seconds":1787874689,"priority":1,"record_length":96,"hex_timestamp":"000001a045a2bfe8"} 
[2026-08-28 05:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:25:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:25:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:25:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:25:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695843328001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695843328001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:25:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:25:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:25: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-28 05:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695843328001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:25:38] 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":706398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:25:38] local.INFO: GPS data processed {"connection_id":163516,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:25:38] local.INFO: Acknowledgment sent {"connection_id":163516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:26:09] local.INFO: TCP Data received {"connection_id":163516,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a045a2bfe8012d34c14006aa4840000200e62e..."} 
[2026-08-28 05:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045a2bfe8012d34c14006aa4840000200e62e..."} 
[2026-08-28 05:26:09] local.INFO: Processing buffer {"connection_id":163516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045a2bfe8012d34c14006aa4840000200e62e..."} 
[2026-08-28 05:26:09] local.INFO: Packet analysis {"connection_id":163516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045a2"} 
[2026-08-28 05:26:09] local.INFO: Extracted packet for processing {"connection_id":163516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045a2"} 
[2026-08-28 05:26:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":2,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695843328001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:26:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787874689000,"timestamp_ms":1787874689000,"timestamp_seconds":1787874689,"priority":1,"record_length":96,"hex_timestamp":"000001a045a2bfe8"} 
[2026-08-28 05:26:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:26:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:26:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:26:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:26:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:26:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695843328001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695843328001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:26:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:26:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:26: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-28 05:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695843328001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:26:09] 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":706399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:26:09] local.INFO: GPS data processed {"connection_id":163516,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:26:09] local.INFO: Acknowledgment sent {"connection_id":163516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:26:31] local.INFO: TCP Data received {"connection_id":165873,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:26:31] local.INFO: Processing buffer {"connection_id":165873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:26:31] local.INFO: IMEI packet received {"connection_id":165873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 05:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":165873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 05:26:37] local.INFO: TCP Data received {"connection_id":165873,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:26:37] local.INFO: Processing buffer {"connection_id":165873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:26:37] local.INFO: IMEI packet received {"connection_id":165873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 05:26:37] local.INFO: IMEI acknowledgment sent {"connection_id":165873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 05:26:38] local.INFO: TCP Data received {"connection_id":165873,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a045a2bfe8012d34c14006aa4840000200e62e..."} 
[2026-08-28 05:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045a2bfe8012d34c14006aa4840000200e62e..."} 
[2026-08-28 05:26:38] local.INFO: Processing buffer {"connection_id":165873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045a2bfe8012d34c14006aa4840000200e62e..."} 
[2026-08-28 05:26:38] local.INFO: Packet analysis {"connection_id":165873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045a2"} 
[2026-08-28 05:26:38] local.INFO: Extracted packet for processing {"connection_id":165873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045a2"} 
[2026-08-28 05:26:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":2,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695843328001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:26:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:26:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787874689000,"timestamp_ms":1787874689000,"timestamp_seconds":1787874689,"priority":1,"record_length":96,"hex_timestamp":"000001a045a2bfe8"} 
[2026-08-28 05:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:26:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:26:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:26:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":165873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":165873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":165873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:26:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695843328001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695843328001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:26:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:26:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:26: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-28 05:26:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695843328001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":165873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:26:38] local.INFO: GPS data processed {"connection_id":165873,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:26:38] local.INFO: Acknowledgment sent {"connection_id":165873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:26:53] local.INFO: TCP Data received {"connection_id":163514,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 05:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163514,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 05:26:53] local.INFO: Processing buffer {"connection_id":163514,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 05:26:53] local.INFO: IMEI packet received {"connection_id":163514,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 05:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":163514,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 05:27:09] local.INFO: TCP Data received {"connection_id":165873,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a045a757b0012d34c14006aa4840000100e62d..."} 
[2026-08-28 05:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045a757b0012d34c14006aa4840000100e62d..."} 
[2026-08-28 05:27:09] local.INFO: Processing buffer {"connection_id":165873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045a757b0012d34c14006aa4840000100e62d..."} 
[2026-08-28 05:27:09] local.INFO: Packet analysis {"connection_id":165873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045a7"} 
[2026-08-28 05:27:09] local.INFO: Extracted packet for processing {"connection_id":165873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045a7"} 
[2026-08-28 05:27:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":1,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695920384001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:27:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:27:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787874990000,"timestamp_ms":1787874990000,"timestamp_seconds":1787874990,"priority":1,"record_length":96,"hex_timestamp":"000001a045a757b0"} 
[2026-08-28 05:27:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:27:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 05:27:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:27:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:27:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":165873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":165873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":165873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:27:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695920384001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695920384001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:27:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:27:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:27: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-28 05:27:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695920384001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":165873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:27:09] local.INFO: GPS data processed {"connection_id":165873,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:27:09] local.INFO: Acknowledgment sent {"connection_id":165873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:27:37] local.INFO: TCP Data received {"connection_id":163517,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:27:37] local.INFO: Processing buffer {"connection_id":163517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:27:37] local.INFO: IMEI packet received {"connection_id":163517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 05:27:37] local.INFO: IMEI acknowledgment sent {"connection_id":163517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 05:27:42] local.INFO: TCP Data received {"connection_id":163517,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:27:42] local.INFO: Processing buffer {"connection_id":163517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:27:42] local.INFO: IMEI packet received {"connection_id":163517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 05:27:42] local.INFO: IMEI acknowledgment sent {"connection_id":163517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 05:27:43] local.INFO: TCP Data received {"connection_id":163517,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a045a757b0012d34c14006aa4840000100e62d..."} 
[2026-08-28 05:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045a757b0012d34c14006aa4840000100e62d..."} 
[2026-08-28 05:27:43] local.INFO: Processing buffer {"connection_id":163517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045a757b0012d34c14006aa4840000100e62d..."} 
[2026-08-28 05:27:43] local.INFO: Packet analysis {"connection_id":163517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045a7"} 
[2026-08-28 05:27:43] local.INFO: Extracted packet for processing {"connection_id":163517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045a7"} 
[2026-08-28 05:27:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":1,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05: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-28 05:27:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695920384001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:27:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:27:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05: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-28 05:27:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787874990000,"timestamp_ms":1787874990000,"timestamp_seconds":1787874990,"priority":1,"record_length":96,"hex_timestamp":"000001a045a757b0"} 
[2026-08-28 05: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-28 05:27:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05: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":211,"data_length":795,"current_offset":136} 
[2026-08-28 05:27:43] 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-28 05: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-28 05: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-28 05:27:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:27:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:27:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:27:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:27: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-28 05:27:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:27:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:27:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695920384001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-28 05:27:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:27:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:27:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695920384001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:27:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:27:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05: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-28 05:27:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:27:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695920384001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:27:43] 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":706402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:27:43] local.INFO: GPS data processed {"connection_id":163517,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:27:43] local.INFO: Acknowledgment sent {"connection_id":163517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:28:15] local.INFO: TCP Data received {"connection_id":163517,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a045a757b0012d34c14006aa4840000100e62d..."} 
[2026-08-28 05:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045a757b0012d34c14006aa4840000100e62d..."} 
[2026-08-28 05:28:15] local.INFO: Processing buffer {"connection_id":163517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045a757b0012d34c14006aa4840000100e62d..."} 
[2026-08-28 05:28:15] local.INFO: Packet analysis {"connection_id":163517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045a7"} 
[2026-08-28 05:28:15] local.INFO: Extracted packet for processing {"connection_id":163517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045a7"} 
[2026-08-28 05:28:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":1,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 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-28 05:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695920384001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:28:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 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-28 05:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787874990000,"timestamp_ms":1787874990000,"timestamp_seconds":1787874990,"priority":1,"record_length":96,"hex_timestamp":"000001a045a757b0"} 
[2026-08-28 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-28 05:28:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 05:28:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 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-28 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-28 05:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:28: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-28 05:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695920384001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-28 05:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695920384001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:28:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:28:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 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-28 05:28:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695920384001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:28: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":706403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:28:15] local.INFO: GPS data processed {"connection_id":163517,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:28:15] local.INFO: Acknowledgment sent {"connection_id":163517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:28:31] local.INFO: TCP Data received {"connection_id":163252,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:28:31] local.INFO: Processing buffer {"connection_id":163252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:28:31] local.INFO: IMEI packet received {"connection_id":163252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 05:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":163252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 05:28:37] local.INFO: TCP Data received {"connection_id":163252,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:28:37] local.INFO: Processing buffer {"connection_id":163252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:28:37] local.INFO: IMEI packet received {"connection_id":163252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 05:28:37] local.INFO: IMEI acknowledgment sent {"connection_id":163252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 05:28:38] local.INFO: TCP Data received {"connection_id":163252,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a045a757b0012d34c14006aa4840000100e62d..."} 
[2026-08-28 05:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045a757b0012d34c14006aa4840000100e62d..."} 
[2026-08-28 05:28:38] local.INFO: Processing buffer {"connection_id":163252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045a757b0012d34c14006aa4840000100e62d..."} 
[2026-08-28 05:28:38] local.INFO: Packet analysis {"connection_id":163252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045a7"} 
[2026-08-28 05:28:38] local.INFO: Extracted packet for processing {"connection_id":163252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045a7"} 
[2026-08-28 05:28:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":1,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695920384001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787874990000,"timestamp_ms":1787874990000,"timestamp_seconds":1787874990,"priority":1,"record_length":96,"hex_timestamp":"000001a045a757b0"} 
[2026-08-28 05:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 05:28:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:28:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695920384001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695920384001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:28:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:28:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:28: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-28 05:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695920384001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":163252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:28:38] local.INFO: GPS data processed {"connection_id":163252,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:28:38] local.INFO: Acknowledgment sent {"connection_id":163252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:29:09] local.INFO: TCP Data received {"connection_id":163252,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a045a757b0012d34c14006aa4840000100e62d..."} 
[2026-08-28 05:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045a757b0012d34c14006aa4840000100e62d..."} 
[2026-08-28 05:29:09] local.INFO: Processing buffer {"connection_id":163252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045a757b0012d34c14006aa4840000100e62d..."} 
[2026-08-28 05:29:09] local.INFO: Packet analysis {"connection_id":163252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045a7"} 
[2026-08-28 05:29:09] local.INFO: Extracted packet for processing {"connection_id":163252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045a7"} 
[2026-08-28 05:29:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":1,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695920384001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:29:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:29:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787874990000,"timestamp_ms":1787874990000,"timestamp_seconds":1787874990,"priority":1,"record_length":96,"hex_timestamp":"000001a045a757b0"} 
[2026-08-28 05:29:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:29:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 05:29:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:29:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:29:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:29:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:29:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695920384001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:29:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:29:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:29:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695920384001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:29:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:29:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:29: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-28 05:29:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:29:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695920384001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":163252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:29:09] local.INFO: GPS data processed {"connection_id":163252,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:29:09] local.INFO: Acknowledgment sent {"connection_id":163252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:29:31] local.INFO: TCP Data received {"connection_id":163519,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:29:31] local.INFO: Processing buffer {"connection_id":163519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:29:31] local.INFO: IMEI packet received {"connection_id":163519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 05:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":163519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 05:29:37] local.INFO: TCP Data received {"connection_id":163519,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:29:37] local.INFO: Processing buffer {"connection_id":163519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:29:37] local.INFO: IMEI packet received {"connection_id":163519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 05:29:37] local.INFO: IMEI acknowledgment sent {"connection_id":163519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 05:29:37] local.INFO: TCP Data received {"connection_id":163519,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a045a757b0012d34c14006aa4840000100e62d..."} 
[2026-08-28 05:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045a757b0012d34c14006aa4840000100e62d..."} 
[2026-08-28 05:29:37] local.INFO: Processing buffer {"connection_id":163519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045a757b0012d34c14006aa4840000100e62d..."} 
[2026-08-28 05:29:37] local.INFO: Packet analysis {"connection_id":163519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045a7"} 
[2026-08-28 05:29:37] local.INFO: Extracted packet for processing {"connection_id":163519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045a7"} 
[2026-08-28 05:29:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":1,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695920384001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787874990000,"timestamp_ms":1787874990000,"timestamp_seconds":1787874990,"priority":1,"record_length":96,"hex_timestamp":"000001a045a757b0"} 
[2026-08-28 05:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 05:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695920384001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695920384001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:29:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:29:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:29: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-28 05:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695920384001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:29:37] 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":706406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:29:37] local.INFO: GPS data processed {"connection_id":163519,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:29:37] local.INFO: Acknowledgment sent {"connection_id":163519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:30:10] local.INFO: TCP Data received {"connection_id":163519,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a045a757b0012d34c14006aa4840000100e62d..."} 
[2026-08-28 05:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045a757b0012d34c14006aa4840000100e62d..."} 
[2026-08-28 05:30:10] local.INFO: Processing buffer {"connection_id":163519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045a757b0012d34c14006aa4840000100e62d..."} 
[2026-08-28 05:30:10] local.INFO: Packet analysis {"connection_id":163519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045a7"} 
[2026-08-28 05:30:10] local.INFO: Extracted packet for processing {"connection_id":163519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045a7"} 
[2026-08-28 05:30:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":1,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695920384001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:30:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787874990000,"timestamp_ms":1787874990000,"timestamp_seconds":1787874990,"priority":1,"record_length":96,"hex_timestamp":"000001a045a757b0"} 
[2026-08-28 05:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:30:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 05:30:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:30:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:30:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695920384001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695920384001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:30:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:30:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 05:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695920384001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:30:10] 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":706407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:30:10] local.INFO: GPS data processed {"connection_id":163519,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:30:10] local.INFO: Acknowledgment sent {"connection_id":163519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:30:31] local.INFO: TCP Data received {"connection_id":163253,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:30:31] local.INFO: Processing buffer {"connection_id":163253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:30:31] local.INFO: IMEI packet received {"connection_id":163253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 05:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":163253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 05:30:37] local.INFO: TCP Data received {"connection_id":163253,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:30:37] local.INFO: Processing buffer {"connection_id":163253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:30:37] local.INFO: IMEI packet received {"connection_id":163253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 05:30:37] local.INFO: IMEI acknowledgment sent {"connection_id":163253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 05:30:37] local.INFO: TCP Data received {"connection_id":163253,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a045a757b0012d34c14006aa4840000100e62d..."} 
[2026-08-28 05:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045a757b0012d34c14006aa4840000100e62d..."} 
[2026-08-28 05:30:37] local.INFO: Processing buffer {"connection_id":163253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045a757b0012d34c14006aa4840000100e62d..."} 
[2026-08-28 05:30:37] local.INFO: Packet analysis {"connection_id":163253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045a7"} 
[2026-08-28 05:30:37] local.INFO: Extracted packet for processing {"connection_id":163253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045a7"} 
[2026-08-28 05:30:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":1,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695920384001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787874990000,"timestamp_ms":1787874990000,"timestamp_seconds":1787874990,"priority":1,"record_length":96,"hex_timestamp":"000001a045a757b0"} 
[2026-08-28 05:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 05:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:30: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-28 05:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695920384001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695920384001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:30:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:30:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:30: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-28 05:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695920384001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":163253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:30:37] local.INFO: GPS data processed {"connection_id":163253,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:30:37] local.INFO: Acknowledgment sent {"connection_id":163253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:31:09] local.INFO: TCP Data received {"connection_id":163253,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a045a757b0012d34c14006aa4840000100e62d..."} 
[2026-08-28 05:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045a757b0012d34c14006aa4840000100e62d..."} 
[2026-08-28 05:31:09] local.INFO: Processing buffer {"connection_id":163253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045a757b0012d34c14006aa4840000100e62d..."} 
[2026-08-28 05:31:09] local.INFO: Packet analysis {"connection_id":163253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045a7"} 
[2026-08-28 05:31:09] local.INFO: Extracted packet for processing {"connection_id":163253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045a7"} 
[2026-08-28 05:31:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":1,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695920384001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:31:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787874990000,"timestamp_ms":1787874990000,"timestamp_seconds":1787874990,"priority":1,"record_length":96,"hex_timestamp":"000001a045a757b0"} 
[2026-08-28 05:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 05:31:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:31:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:31: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-28 05:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695920384001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695920384001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:31:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:31:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:31: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-28 05:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695920384001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":163253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:31:09] local.INFO: GPS data processed {"connection_id":163253,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:31:09] local.INFO: Acknowledgment sent {"connection_id":163253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:31:36] local.INFO: TCP Data received {"connection_id":163254,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:31:36] local.INFO: Processing buffer {"connection_id":163254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:31:36] local.INFO: IMEI packet received {"connection_id":163254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 05:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":163254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 05:31:41] local.INFO: TCP Data received {"connection_id":163254,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:31:41] local.INFO: Processing buffer {"connection_id":163254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:31:41] local.INFO: IMEI packet received {"connection_id":163254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 05:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":163254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 05:31:42] local.INFO: TCP Data received {"connection_id":163254,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a045a757b0012d34c14006aa4840000100e62d..."} 
[2026-08-28 05:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045a757b0012d34c14006aa4840000100e62d..."} 
[2026-08-28 05:31:42] local.INFO: Processing buffer {"connection_id":163254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045a757b0012d34c14006aa4840000100e62d..."} 
[2026-08-28 05:31:42] local.INFO: Packet analysis {"connection_id":163254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045a7"} 
[2026-08-28 05:31:42] local.INFO: Extracted packet for processing {"connection_id":163254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045a7"} 
[2026-08-28 05:31:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":1,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05: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-28 05:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695920384001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:31:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05: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-28 05:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787874990000,"timestamp_ms":1787874990000,"timestamp_seconds":1787874990,"priority":1,"record_length":96,"hex_timestamp":"000001a045a757b0"} 
[2026-08-28 05: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-28 05:31:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05: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":211,"data_length":795,"current_offset":136} 
[2026-08-28 05:31: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-28 05: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-28 05: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-28 05:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:31: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-28 05:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695920384001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695920384001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:31:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:31:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05: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-28 05:31:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695920384001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":163254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:31:42] local.INFO: GPS data processed {"connection_id":163254,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:31:42] local.INFO: Acknowledgment sent {"connection_id":163254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:31:47] local.INFO: TCP Data received {"connection_id":163254,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a045a757b0012d34c14006aa4840000100e62d..."} 
[2026-08-28 05:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045a757b0012d34c14006aa4840000100e62d..."} 
[2026-08-28 05:31:47] local.INFO: Processing buffer {"connection_id":163254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045a757b0012d34c14006aa4840000100e62d..."} 
[2026-08-28 05:31:47] local.INFO: Packet analysis {"connection_id":163254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045a7"} 
[2026-08-28 05:31:47] local.INFO: Extracted packet for processing {"connection_id":163254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045a7"} 
[2026-08-28 05:31:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":1,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05: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-28 05:31:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695920384001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:31:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:31:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05: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-28 05:31:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787874990000,"timestamp_ms":1787874990000,"timestamp_seconds":1787874990,"priority":1,"record_length":96,"hex_timestamp":"000001a045a757b0"} 
[2026-08-28 05: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-28 05:31:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05: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":211,"data_length":795,"current_offset":136} 
[2026-08-28 05:31: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-28 05: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-28 05: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-28 05:31:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:31:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:31:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:31:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:31: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-28 05:31:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:31:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:31:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695920384001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:31:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:31:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:31:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695920384001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:31:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:31:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05: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-28 05:31:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:31:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695920384001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:31:47] local.INFO: DEBUG: GPS processor result {"connection_id":163254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:31:47] local.INFO: GPS data processed {"connection_id":163254,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:31:47] local.INFO: Acknowledgment sent {"connection_id":163254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:32:27] local.INFO: TCP Data received {"connection_id":163518,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 05:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163518,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 05:32:27] local.INFO: Processing buffer {"connection_id":163518,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 05:32:27] local.INFO: IMEI packet received {"connection_id":163518,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 05:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":163518,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 05:32:32] local.INFO: TCP Data received {"connection_id":163520,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:32:32] local.INFO: Processing buffer {"connection_id":163520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:32:32] local.INFO: IMEI packet received {"connection_id":163520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 05:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":163520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 05:32:37] local.INFO: TCP Data received {"connection_id":163520,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:32:37] local.INFO: Processing buffer {"connection_id":163520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:32:37] local.INFO: IMEI packet received {"connection_id":163520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 05:32:37] local.INFO: IMEI acknowledgment sent {"connection_id":163520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 05:32:37] local.INFO: TCP Data received {"connection_id":163520,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a045abeb90012d34c14006aa4840000000e62d..."} 
[2026-08-28 05:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045abeb90012d34c14006aa4840000000e62d..."} 
[2026-08-28 05:32:37] local.INFO: Processing buffer {"connection_id":163520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045abeb90012d34c14006aa4840000000e62d..."} 
[2026-08-28 05:32:37] local.INFO: Packet analysis {"connection_id":163520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045ab"} 
[2026-08-28 05:32:37] local.INFO: Extracted packet for processing {"connection_id":163520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045ab"} 
[2026-08-28 05:32:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":0,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695997440001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787875290000,"timestamp_ms":1787875290000,"timestamp_seconds":1787875290,"priority":1,"record_length":96,"hex_timestamp":"000001a045abeb90"} 
[2026-08-28 05:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:32:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:32:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695997440001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695997440001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:32:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:32:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:32: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-28 05:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695997440001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":163520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:32:37] local.INFO: GPS data processed {"connection_id":163520,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:32:37] local.INFO: Acknowledgment sent {"connection_id":163520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:32:58] local.INFO: TCP Data received {"connection_id":163521,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 05:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163521,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 05:32:58] local.INFO: Processing buffer {"connection_id":163521,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 05:32:58] local.INFO: IMEI packet received {"connection_id":163521,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 05:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":163521,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 05:33:10] local.INFO: TCP Data received {"connection_id":163520,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a045abeb90012d34c14006aa4840000000e62d..."} 
[2026-08-28 05:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045abeb90012d34c14006aa4840000000e62d..."} 
[2026-08-28 05:33:10] local.INFO: Processing buffer {"connection_id":163520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045abeb90012d34c14006aa4840000000e62d..."} 
[2026-08-28 05:33:10] local.INFO: Packet analysis {"connection_id":163520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045ab"} 
[2026-08-28 05:33:10] local.INFO: Extracted packet for processing {"connection_id":163520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045ab"} 
[2026-08-28 05:33:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":0,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695997440001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:33:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:33:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787875290000,"timestamp_ms":1787875290000,"timestamp_seconds":1787875290,"priority":1,"record_length":96,"hex_timestamp":"000001a045abeb90"} 
[2026-08-28 05:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:33:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:33:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:33:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:33:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695997440001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695997440001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:33:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:33:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 05:33:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695997440001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":163520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:33:10] local.INFO: GPS data processed {"connection_id":163520,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:33:10] local.INFO: Acknowledgment sent {"connection_id":163520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:33:32] local.INFO: TCP Data received {"connection_id":165875,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:33:32] local.INFO: Processing buffer {"connection_id":165875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:33:32] local.INFO: IMEI packet received {"connection_id":165875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 05:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":165875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 05:33:37] local.INFO: TCP Data received {"connection_id":165875,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:33:37] local.INFO: Processing buffer {"connection_id":165875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:33:37] local.INFO: IMEI packet received {"connection_id":165875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 05:33:37] local.INFO: IMEI acknowledgment sent {"connection_id":165875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 05:33:37] local.INFO: TCP Data received {"connection_id":165875,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a045abeb90012d34c14006aa4840000000e62d..."} 
[2026-08-28 05:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045abeb90012d34c14006aa4840000000e62d..."} 
[2026-08-28 05:33:37] local.INFO: Processing buffer {"connection_id":165875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045abeb90012d34c14006aa4840000000e62d..."} 
[2026-08-28 05:33:37] local.INFO: Packet analysis {"connection_id":165875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045ab"} 
[2026-08-28 05:33:37] local.INFO: Extracted packet for processing {"connection_id":165875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045ab"} 
[2026-08-28 05:33:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":0,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695997440001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787875290000,"timestamp_ms":1787875290000,"timestamp_seconds":1787875290,"priority":1,"record_length":96,"hex_timestamp":"000001a045abeb90"} 
[2026-08-28 05:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:33:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":165875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":165875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":165875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:33: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-28 05:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695997440001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695997440001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:33:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:33:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:33: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-28 05:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695997440001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":165875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:33:38] local.INFO: GPS data processed {"connection_id":165875,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:33:38] local.INFO: Acknowledgment sent {"connection_id":165875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:34:09] local.INFO: TCP Data received {"connection_id":165875,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a045abeb90012d34c14006aa4840000000e62d..."} 
[2026-08-28 05:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045abeb90012d34c14006aa4840000000e62d..."} 
[2026-08-28 05:34:09] local.INFO: Processing buffer {"connection_id":165875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045abeb90012d34c14006aa4840000000e62d..."} 
[2026-08-28 05:34:09] local.INFO: Packet analysis {"connection_id":165875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045ab"} 
[2026-08-28 05:34:09] local.INFO: Extracted packet for processing {"connection_id":165875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045ab"} 
[2026-08-28 05:34:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":0,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695997440001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:34:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787875290000,"timestamp_ms":1787875290000,"timestamp_seconds":1787875290,"priority":1,"record_length":96,"hex_timestamp":"000001a045abeb90"} 
[2026-08-28 05:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:34:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:34:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:34:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":165875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":165875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":165875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:34: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-28 05:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695997440001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695997440001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:34:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:34:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:34: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-28 05:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695997440001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":165875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:34:09] local.INFO: GPS data processed {"connection_id":165875,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:34:09] local.INFO: Acknowledgment sent {"connection_id":165875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:34:31] local.INFO: TCP Data received {"connection_id":164514,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:34:31] local.INFO: Processing buffer {"connection_id":164514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:34:31] local.INFO: IMEI packet received {"connection_id":164514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 05:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":164514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 05:34:37] local.INFO: TCP Data received {"connection_id":164514,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:34:37] local.INFO: Processing buffer {"connection_id":164514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:34:37] local.INFO: IMEI packet received {"connection_id":164514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 05:34:37] local.INFO: IMEI acknowledgment sent {"connection_id":164514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 05:34:38] local.INFO: TCP Data received {"connection_id":164514,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a045abeb90012d34c14006aa4840000000e62d..."} 
[2026-08-28 05:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045abeb90012d34c14006aa4840000000e62d..."} 
[2026-08-28 05:34:38] local.INFO: Processing buffer {"connection_id":164514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045abeb90012d34c14006aa4840000000e62d..."} 
[2026-08-28 05:34:38] local.INFO: Packet analysis {"connection_id":164514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045ab"} 
[2026-08-28 05:34:38] local.INFO: Extracted packet for processing {"connection_id":164514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045ab"} 
[2026-08-28 05:34:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":0,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695997440001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:34:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787875290000,"timestamp_ms":1787875290000,"timestamp_seconds":1787875290,"priority":1,"record_length":96,"hex_timestamp":"000001a045abeb90"} 
[2026-08-28 05:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:34:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:34:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:34:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:34:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695997440001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695997440001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:34:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:34:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:34: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-28 05:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695997440001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":164514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:34:38] local.INFO: GPS data processed {"connection_id":164514,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:34:38] local.INFO: Acknowledgment sent {"connection_id":164514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:35:09] local.INFO: TCP Data received {"connection_id":164514,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a045abeb90012d34c14006aa4840000000e62d..."} 
[2026-08-28 05:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045abeb90012d34c14006aa4840000000e62d..."} 
[2026-08-28 05:35:09] local.INFO: Processing buffer {"connection_id":164514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045abeb90012d34c14006aa4840000000e62d..."} 
[2026-08-28 05:35:09] local.INFO: Packet analysis {"connection_id":164514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045ab"} 
[2026-08-28 05:35:09] local.INFO: Extracted packet for processing {"connection_id":164514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045ab"} 
[2026-08-28 05:35:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":0,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695997440001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:35:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787875290000,"timestamp_ms":1787875290000,"timestamp_seconds":1787875290,"priority":1,"record_length":96,"hex_timestamp":"000001a045abeb90"} 
[2026-08-28 05:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:35:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:35:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:35:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:35:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695997440001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695997440001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:35:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:35:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:35: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-28 05:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695997440001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":164514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:35:09] local.INFO: GPS data processed {"connection_id":164514,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:35:09] local.INFO: Acknowledgment sent {"connection_id":164514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:35:31] local.INFO: TCP Data received {"connection_id":163256,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:35:31] local.INFO: Processing buffer {"connection_id":163256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:35:31] local.INFO: IMEI packet received {"connection_id":163256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 05:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":163256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 05:35:37] local.INFO: TCP Data received {"connection_id":163256,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:35:37] local.INFO: Processing buffer {"connection_id":163256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:35:37] local.INFO: IMEI packet received {"connection_id":163256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 05:35:37] local.INFO: IMEI acknowledgment sent {"connection_id":163256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 05:35:38] local.INFO: TCP Data received {"connection_id":163256,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a045abeb90012d34c14006aa4840000000e62d..."} 
[2026-08-28 05:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045abeb90012d34c14006aa4840000000e62d..."} 
[2026-08-28 05:35:38] local.INFO: Processing buffer {"connection_id":163256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045abeb90012d34c14006aa4840000000e62d..."} 
[2026-08-28 05:35:38] local.INFO: Packet analysis {"connection_id":163256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045ab"} 
[2026-08-28 05:35:38] local.INFO: Extracted packet for processing {"connection_id":163256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045ab"} 
[2026-08-28 05:35:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":0,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695997440001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:35:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787875290000,"timestamp_ms":1787875290000,"timestamp_seconds":1787875290,"priority":1,"record_length":96,"hex_timestamp":"000001a045abeb90"} 
[2026-08-28 05:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:35:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:35:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:35:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:35:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695997440001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695997440001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:35:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:35:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:35: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-28 05:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695997440001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":163256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:35:38] local.INFO: GPS data processed {"connection_id":163256,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:35:38] local.INFO: Acknowledgment sent {"connection_id":163256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:36:09] local.INFO: TCP Data received {"connection_id":163256,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a045abeb90012d34c14006aa4840000000e62d..."} 
[2026-08-28 05:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045abeb90012d34c14006aa4840000000e62d..."} 
[2026-08-28 05:36:09] local.INFO: Processing buffer {"connection_id":163256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045abeb90012d34c14006aa4840000000e62d..."} 
[2026-08-28 05:36:09] local.INFO: Packet analysis {"connection_id":163256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045ab"} 
[2026-08-28 05:36:09] local.INFO: Extracted packet for processing {"connection_id":163256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045ab"} 
[2026-08-28 05:36:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":0,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695997440001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:36:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787875290000,"timestamp_ms":1787875290000,"timestamp_seconds":1787875290,"priority":1,"record_length":96,"hex_timestamp":"000001a045abeb90"} 
[2026-08-28 05:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:36:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:36:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:36:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:36:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695997440001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695997440001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:36:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:36:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:36: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-28 05:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695997440001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":163256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:36:09] local.INFO: GPS data processed {"connection_id":163256,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:36:09] local.INFO: Acknowledgment sent {"connection_id":163256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:36:37] local.INFO: TCP Data received {"connection_id":164515,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:36:37] local.INFO: Processing buffer {"connection_id":164515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:36:37] local.INFO: IMEI packet received {"connection_id":164515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 05:36:37] local.INFO: IMEI acknowledgment sent {"connection_id":164515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 05:36:42] local.INFO: TCP Data received {"connection_id":164515,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:36:42] local.INFO: Processing buffer {"connection_id":164515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:36:42] local.INFO: IMEI packet received {"connection_id":164515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 05:36:42] local.INFO: IMEI acknowledgment sent {"connection_id":164515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 05:36:42] local.INFO: TCP Data received {"connection_id":164515,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a045abeb90012d34c14006aa4840000000e62d..."} 
[2026-08-28 05:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045abeb90012d34c14006aa4840000000e62d..."} 
[2026-08-28 05:36:42] local.INFO: Processing buffer {"connection_id":164515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045abeb90012d34c14006aa4840000000e62d..."} 
[2026-08-28 05:36:42] local.INFO: Packet analysis {"connection_id":164515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045ab"} 
[2026-08-28 05:36:42] local.INFO: Extracted packet for processing {"connection_id":164515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045ab"} 
[2026-08-28 05:36:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":0,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05: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-28 05:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695997440001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:36:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05: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-28 05:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787875290000,"timestamp_ms":1787875290000,"timestamp_seconds":1787875290,"priority":1,"record_length":96,"hex_timestamp":"000001a045abeb90"} 
[2026-08-28 05: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-28 05:36:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:36: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-28 05: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-28 05: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-28 05:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":164515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":164515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":164515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:36: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-28 05:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695997440001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695997440001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:36:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:36:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05: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-28 05:36:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695997440001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":164515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:36:42] local.INFO: GPS data processed {"connection_id":164515,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:36:42] local.INFO: Acknowledgment sent {"connection_id":164515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:36:47] local.INFO: TCP Data received {"connection_id":164515,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a045abeb90012d34c14006aa4840000000e62d..."} 
[2026-08-28 05:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045abeb90012d34c14006aa4840000000e62d..."} 
[2026-08-28 05:36:47] local.INFO: Processing buffer {"connection_id":164515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045abeb90012d34c14006aa4840000000e62d..."} 
[2026-08-28 05:36:47] local.INFO: Packet analysis {"connection_id":164515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045ab"} 
[2026-08-28 05:36:47] local.INFO: Extracted packet for processing {"connection_id":164515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045ab"} 
[2026-08-28 05:36:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":0,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:36:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457695997440001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:36:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:36: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-28 05:36:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787875290000,"timestamp_ms":1787875290000,"timestamp_seconds":1787875290,"priority":1,"record_length":96,"hex_timestamp":"000001a045abeb90"} 
[2026-08-28 05:36:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:36:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:36: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-28 05:36:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:36:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:36: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-28 05:36:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:36:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:36:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457695997440001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:36:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:36:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:36:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457695997440001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:36:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:36:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:36: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-28 05:36:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:36:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457695997440001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:36:47] local.INFO: DEBUG: GPS processor result {"connection_id":164515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:36:47] local.INFO: GPS data processed {"connection_id":164515,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:36:47] local.INFO: Acknowledgment sent {"connection_id":164515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:37:32] local.INFO: TCP Data received {"connection_id":163257,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:37:32] local.INFO: Processing buffer {"connection_id":163257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:37:32] local.INFO: IMEI packet received {"connection_id":163257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 05:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":163257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 05:37:37] local.INFO: TCP Data received {"connection_id":163257,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:37:37] local.INFO: Processing buffer {"connection_id":163257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:37:37] local.INFO: IMEI packet received {"connection_id":163257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 05:37:37] local.INFO: IMEI acknowledgment sent {"connection_id":163257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 05:37:38] local.INFO: TCP Data received {"connection_id":163257,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a045b08358012d34c14006aa4840000000e62c..."} 
[2026-08-28 05:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045b08358012d34c14006aa4840000000e62c..."} 
[2026-08-28 05:37:38] local.INFO: Processing buffer {"connection_id":163257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045b08358012d34c14006aa4840000000e62c..."} 
[2026-08-28 05:37:38] local.INFO: Packet analysis {"connection_id":163257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045b0"} 
[2026-08-28 05:37:38] local.INFO: Extracted packet for processing {"connection_id":163257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045b0"} 
[2026-08-28 05:37:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":0,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696074240001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:37:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787875591000,"timestamp_ms":1787875591000,"timestamp_seconds":1787875591,"priority":1,"record_length":96,"hex_timestamp":"000001a045b08358"} 
[2026-08-28 05:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:37:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:37:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:37:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:37:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696074240001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696074240001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:37:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:37:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:37: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-28 05:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696074240001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":163257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:37:38] local.INFO: GPS data processed {"connection_id":163257,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:37:38] local.INFO: Acknowledgment sent {"connection_id":163257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:38:09] local.INFO: TCP Data received {"connection_id":163257,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a045b08358012d34c14006aa4840000000e62c..."} 
[2026-08-28 05:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045b08358012d34c14006aa4840000000e62c..."} 
[2026-08-28 05:38:09] local.INFO: Processing buffer {"connection_id":163257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045b08358012d34c14006aa4840000000e62c..."} 
[2026-08-28 05:38:09] local.INFO: Packet analysis {"connection_id":163257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045b0"} 
[2026-08-28 05:38:09] local.INFO: Extracted packet for processing {"connection_id":163257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045b0"} 
[2026-08-28 05:38:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":0,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696074240001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:38:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:38:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787875591000,"timestamp_ms":1787875591000,"timestamp_seconds":1787875591,"priority":1,"record_length":96,"hex_timestamp":"000001a045b08358"} 
[2026-08-28 05:38:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:38:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:38:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:38:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:38:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:38: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-28 05:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:38:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696074240001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:38:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:38:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:38:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696074240001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:38:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:38:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:38: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-28 05:38:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:38:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696074240001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":163257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:38:09] local.INFO: GPS data processed {"connection_id":163257,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:38:09] local.INFO: Acknowledgment sent {"connection_id":163257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:38:28] local.INFO: TCP Data received {"connection_id":164516,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 05:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164516,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 05:38:28] local.INFO: Processing buffer {"connection_id":164516,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 05:38:28] local.INFO: IMEI packet received {"connection_id":164516,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 05:38:28] local.INFO: IMEI acknowledgment sent {"connection_id":164516,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 05:38:31] local.INFO: TCP Data received {"connection_id":163522,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:38:31] local.INFO: Processing buffer {"connection_id":163522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:38:31] local.INFO: IMEI packet received {"connection_id":163522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 05:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":163522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 05:38:37] local.INFO: TCP Data received {"connection_id":163522,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:38:37] local.INFO: Processing buffer {"connection_id":163522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:38:37] local.INFO: IMEI packet received {"connection_id":163522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 05:38:37] local.INFO: IMEI acknowledgment sent {"connection_id":163522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 05:38:38] local.INFO: TCP Data received {"connection_id":163522,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a045b08358012d34c14006aa4840000000e62c..."} 
[2026-08-28 05:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045b08358012d34c14006aa4840000000e62c..."} 
[2026-08-28 05:38:38] local.INFO: Processing buffer {"connection_id":163522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045b08358012d34c14006aa4840000000e62c..."} 
[2026-08-28 05:38:38] local.INFO: Packet analysis {"connection_id":163522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045b0"} 
[2026-08-28 05:38:38] local.INFO: Extracted packet for processing {"connection_id":163522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045b0"} 
[2026-08-28 05:38:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":0,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696074240001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:38:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787875591000,"timestamp_ms":1787875591000,"timestamp_seconds":1787875591,"priority":1,"record_length":96,"hex_timestamp":"000001a045b08358"} 
[2026-08-28 05:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:38:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:38:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:38:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:38:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696074240001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696074240001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:38:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:38:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:38: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-28 05:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696074240001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":163522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:38:38] local.INFO: GPS data processed {"connection_id":163522,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:38:38] local.INFO: Acknowledgment sent {"connection_id":163522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:39:09] local.INFO: TCP Data received {"connection_id":163522,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a045b08358012d34c14006aa4840000000e62c..."} 
[2026-08-28 05:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045b08358012d34c14006aa4840000000e62c..."} 
[2026-08-28 05:39:09] local.INFO: Processing buffer {"connection_id":163522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045b08358012d34c14006aa4840000000e62c..."} 
[2026-08-28 05:39:09] local.INFO: Packet analysis {"connection_id":163522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045b0"} 
[2026-08-28 05:39:09] local.INFO: Extracted packet for processing {"connection_id":163522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045b0"} 
[2026-08-28 05:39:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":0,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696074240001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:39:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:39:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787875591000,"timestamp_ms":1787875591000,"timestamp_seconds":1787875591,"priority":1,"record_length":96,"hex_timestamp":"000001a045b08358"} 
[2026-08-28 05:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:39:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:39:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:39:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:39:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696074240001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696074240001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:39:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:39:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:39: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-28 05:39:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696074240001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":163522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:39:09] local.INFO: GPS data processed {"connection_id":163522,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:39:09] local.INFO: Acknowledgment sent {"connection_id":163522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:39:31] local.INFO: TCP Data received {"connection_id":163258,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:39:31] local.INFO: Processing buffer {"connection_id":163258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:39:31] local.INFO: IMEI packet received {"connection_id":163258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 05:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":163258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 05:39:37] local.INFO: TCP Data received {"connection_id":163258,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:39:37] local.INFO: Processing buffer {"connection_id":163258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:39:37] local.INFO: IMEI packet received {"connection_id":163258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 05:39:37] local.INFO: IMEI acknowledgment sent {"connection_id":163258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 05:39:38] local.INFO: TCP Data received {"connection_id":163258,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a045b08358012d34c14006aa4840000000e62c..."} 
[2026-08-28 05:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045b08358012d34c14006aa4840000000e62c..."} 
[2026-08-28 05:39:38] local.INFO: Processing buffer {"connection_id":163258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045b08358012d34c14006aa4840000000e62c..."} 
[2026-08-28 05:39:38] local.INFO: Packet analysis {"connection_id":163258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045b0"} 
[2026-08-28 05:39:38] local.INFO: Extracted packet for processing {"connection_id":163258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045b0"} 
[2026-08-28 05:39:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":0,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696074240001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:39:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787875591000,"timestamp_ms":1787875591000,"timestamp_seconds":1787875591,"priority":1,"record_length":96,"hex_timestamp":"000001a045b08358"} 
[2026-08-28 05:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:39:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:39:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:39:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:39:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696074240001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696074240001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:39:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:39:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:39: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-28 05:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696074240001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":163258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:39:38] local.INFO: GPS data processed {"connection_id":163258,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:39:38] local.INFO: Acknowledgment sent {"connection_id":163258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:40:09] local.INFO: TCP Data received {"connection_id":163258,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a045b08358012d34c14006aa4840000000e62c..."} 
[2026-08-28 05:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045b08358012d34c14006aa4840000000e62c..."} 
[2026-08-28 05:40:09] local.INFO: Processing buffer {"connection_id":163258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045b08358012d34c14006aa4840000000e62c..."} 
[2026-08-28 05:40:09] local.INFO: Packet analysis {"connection_id":163258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045b0"} 
[2026-08-28 05:40:09] local.INFO: Extracted packet for processing {"connection_id":163258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045b0"} 
[2026-08-28 05:40:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":0,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696074240001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:40:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787875591000,"timestamp_ms":1787875591000,"timestamp_seconds":1787875591,"priority":1,"record_length":96,"hex_timestamp":"000001a045b08358"} 
[2026-08-28 05:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:40:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:40:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:40:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:40:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696074240001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696074240001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:40:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:40:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:40: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-28 05:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696074240001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":163258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:40:09] local.INFO: GPS data processed {"connection_id":163258,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:40:09] local.INFO: Acknowledgment sent {"connection_id":163258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:40:31] local.INFO: TCP Data received {"connection_id":163259,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:40:31] local.INFO: Processing buffer {"connection_id":163259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:40:31] local.INFO: IMEI packet received {"connection_id":163259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 05:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":163259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 05:40:37] local.INFO: TCP Data received {"connection_id":163259,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:40:37] local.INFO: Processing buffer {"connection_id":163259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:40:37] local.INFO: IMEI packet received {"connection_id":163259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 05:40:37] local.INFO: IMEI acknowledgment sent {"connection_id":163259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 05:40:38] local.INFO: TCP Data received {"connection_id":163259,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a045b08358012d34c14006aa4840000000e62c..."} 
[2026-08-28 05:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045b08358012d34c14006aa4840000000e62c..."} 
[2026-08-28 05:40:38] local.INFO: Processing buffer {"connection_id":163259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045b08358012d34c14006aa4840000000e62c..."} 
[2026-08-28 05:40:38] local.INFO: Packet analysis {"connection_id":163259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045b0"} 
[2026-08-28 05:40:38] local.INFO: Extracted packet for processing {"connection_id":163259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045b0"} 
[2026-08-28 05:40:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":0,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696074240001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:40:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787875591000,"timestamp_ms":1787875591000,"timestamp_seconds":1787875591,"priority":1,"record_length":96,"hex_timestamp":"000001a045b08358"} 
[2026-08-28 05:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:40:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:40:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:40:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696074240001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696074240001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:40:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:40:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:40: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-28 05:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696074240001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":163259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:40:38] local.INFO: GPS data processed {"connection_id":163259,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:40:38] local.INFO: Acknowledgment sent {"connection_id":163259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:41:09] local.INFO: TCP Data received {"connection_id":163259,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a045b08358012d34c14006aa4840000000e62c..."} 
[2026-08-28 05:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045b08358012d34c14006aa4840000000e62c..."} 
[2026-08-28 05:41:09] local.INFO: Processing buffer {"connection_id":163259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045b08358012d34c14006aa4840000000e62c..."} 
[2026-08-28 05:41:09] local.INFO: Packet analysis {"connection_id":163259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045b0"} 
[2026-08-28 05:41:09] local.INFO: Extracted packet for processing {"connection_id":163259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045b0"} 
[2026-08-28 05:41:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":0,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:41:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696074240001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:41:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:41:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:41:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:41:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787875591000,"timestamp_ms":1787875591000,"timestamp_seconds":1787875591,"priority":1,"record_length":96,"hex_timestamp":"000001a045b08358"} 
[2026-08-28 05:41:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:41:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:41:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:41:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:41:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:41:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:41:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:41:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:41:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:41:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:41:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:41:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:41:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696074240001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:41:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:41:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:41:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696074240001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:41:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:41:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:41: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-28 05:41:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:41:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696074240001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:41:09] local.INFO: DEBUG: GPS processor result {"connection_id":163259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:41:09] local.INFO: GPS data processed {"connection_id":163259,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:41:09] local.INFO: Acknowledgment sent {"connection_id":163259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:41:31] local.INFO: TCP Data received {"connection_id":165876,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:41:31] local.INFO: Processing buffer {"connection_id":165876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:41:31] local.INFO: IMEI packet received {"connection_id":165876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 05:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":165876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 05:41:37] local.INFO: TCP Data received {"connection_id":165876,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:41:37] local.INFO: Processing buffer {"connection_id":165876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:41:37] local.INFO: IMEI packet received {"connection_id":165876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 05:41:37] local.INFO: IMEI acknowledgment sent {"connection_id":165876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 05:41:38] local.INFO: TCP Data received {"connection_id":165876,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a045b08358012d34c14006aa4840000000e62c..."} 
[2026-08-28 05:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045b08358012d34c14006aa4840000000e62c..."} 
[2026-08-28 05:41:38] local.INFO: Processing buffer {"connection_id":165876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045b08358012d34c14006aa4840000000e62c..."} 
[2026-08-28 05:41:38] local.INFO: Packet analysis {"connection_id":165876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045b0"} 
[2026-08-28 05:41:38] local.INFO: Extracted packet for processing {"connection_id":165876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045b0"} 
[2026-08-28 05:41:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":0,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696074240001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:41:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787875591000,"timestamp_ms":1787875591000,"timestamp_seconds":1787875591,"priority":1,"record_length":96,"hex_timestamp":"000001a045b08358"} 
[2026-08-28 05:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:41:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:41:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":165876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":165876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":165876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696074240001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696074240001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:41:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:41:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:41: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-28 05:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696074240001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":165876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:41:38] local.INFO: GPS data processed {"connection_id":165876,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:41:38] local.INFO: Acknowledgment sent {"connection_id":165876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:42:09] local.INFO: TCP Data received {"connection_id":165876,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a045b08358012d34c14006aa4840000000e62c..."} 
[2026-08-28 05:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045b08358012d34c14006aa4840000000e62c..."} 
[2026-08-28 05:42:09] local.INFO: Processing buffer {"connection_id":165876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045b08358012d34c14006aa4840000000e62c..."} 
[2026-08-28 05:42:09] local.INFO: Packet analysis {"connection_id":165876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045b0"} 
[2026-08-28 05:42:09] local.INFO: Extracted packet for processing {"connection_id":165876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045b0"} 
[2026-08-28 05:42:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":0,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696074240001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:42:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787875591000,"timestamp_ms":1787875591000,"timestamp_seconds":1787875591,"priority":1,"record_length":96,"hex_timestamp":"000001a045b08358"} 
[2026-08-28 05:42:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:42:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:42:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:42:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:42:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":165876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":165876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":165876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:42: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-28 05:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696074240001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696074240001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:42:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:42:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:42: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-28 05:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696074240001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":165876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:42:09] local.INFO: GPS data processed {"connection_id":165876,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:42:09] local.INFO: Acknowledgment sent {"connection_id":165876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:42:37] local.INFO: TCP Data received {"connection_id":163523,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:42:37] local.INFO: Processing buffer {"connection_id":163523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:42:37] local.INFO: IMEI packet received {"connection_id":163523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 05:42:37] local.INFO: IMEI acknowledgment sent {"connection_id":163523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 05:42:42] local.INFO: TCP Data received {"connection_id":163523,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:42:42] local.INFO: Processing buffer {"connection_id":163523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:42:42] local.INFO: IMEI packet received {"connection_id":163523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 05:42:42] local.INFO: IMEI acknowledgment sent {"connection_id":163523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 05:42:43] local.INFO: TCP Data received {"connection_id":163523,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a045b51b20012d34c14006aa4840000400e62d..."} 
[2026-08-28 05:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045b51b20012d34c14006aa4840000400e62d..."} 
[2026-08-28 05:42:43] local.INFO: Processing buffer {"connection_id":163523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045b51b20012d34c14006aa4840000400e62d..."} 
[2026-08-28 05:42:43] local.INFO: Packet analysis {"connection_id":163523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045b5"} 
[2026-08-28 05:42:43] local.INFO: Extracted packet for processing {"connection_id":163523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045b5"} 
[2026-08-28 05:42:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05: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-28 05:42:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696151296001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:42:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:42:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05: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-28 05:42:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787875892000,"timestamp_ms":1787875892000,"timestamp_seconds":1787875892,"priority":1,"record_length":96,"hex_timestamp":"000001a045b51b20"} 
[2026-08-28 05: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-28 05:42:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:42: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-28 05: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-28 05: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-28 05:42:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:42:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:42:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:42:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:42: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-28 05:42:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:42:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:42:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696151296001,"66":25223,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:42:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:42:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:42:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696151296001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:42:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:42:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05: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-28 05:42:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:42:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696151296001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:42: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":706432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:42:43] local.INFO: GPS data processed {"connection_id":163523,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:42:43] local.INFO: Acknowledgment sent {"connection_id":163523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:43:15] local.INFO: TCP Data received {"connection_id":163523,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a045b51b20012d34c14006aa4840000400e62d..."} 
[2026-08-28 05:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045b51b20012d34c14006aa4840000400e62d..."} 
[2026-08-28 05:43:15] local.INFO: Processing buffer {"connection_id":163523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045b51b20012d34c14006aa4840000400e62d..."} 
[2026-08-28 05:43:15] local.INFO: Packet analysis {"connection_id":163523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045b5"} 
[2026-08-28 05:43:15] local.INFO: Extracted packet for processing {"connection_id":163523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045b5"} 
[2026-08-28 05:43:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 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-28 05:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696151296001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 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-28 05:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787875892000,"timestamp_ms":1787875892000,"timestamp_seconds":1787875892,"priority":1,"record_length":96,"hex_timestamp":"000001a045b51b20"} 
[2026-08-28 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-28 05:43:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 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":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:43: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-28 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-28 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-28 05:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05: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-28 05:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696151296001,"66":25223,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696151296001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:43:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:43:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 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-28 05:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696151296001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:43: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":706433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:43:15] local.INFO: GPS data processed {"connection_id":163523,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:43:15] local.INFO: Acknowledgment sent {"connection_id":163523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:43:32] local.INFO: TCP Data received {"connection_id":165877,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:43:32] local.INFO: Processing buffer {"connection_id":165877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:43:32] local.INFO: IMEI packet received {"connection_id":165877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 05:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":165877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 05:43:37] local.INFO: TCP Data received {"connection_id":165877,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:43:37] local.INFO: Processing buffer {"connection_id":165877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:43:37] local.INFO: IMEI packet received {"connection_id":165877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 05:43:37] local.INFO: IMEI acknowledgment sent {"connection_id":165877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 05:43:38] local.INFO: TCP Data received {"connection_id":165877,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a045b51b20012d34c14006aa4840000400e62d..."} 
[2026-08-28 05:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045b51b20012d34c14006aa4840000400e62d..."} 
[2026-08-28 05:43:38] local.INFO: Processing buffer {"connection_id":165877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045b51b20012d34c14006aa4840000400e62d..."} 
[2026-08-28 05:43:38] local.INFO: Packet analysis {"connection_id":165877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045b5"} 
[2026-08-28 05:43:38] local.INFO: Extracted packet for processing {"connection_id":165877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045b5"} 
[2026-08-28 05:43:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696151296001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:43:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787875892000,"timestamp_ms":1787875892000,"timestamp_seconds":1787875892,"priority":1,"record_length":96,"hex_timestamp":"000001a045b51b20"} 
[2026-08-28 05:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:43:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:43:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:43:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":165877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":165877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":165877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:43:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696151296001,"66":25223,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-28 05:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696151296001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:43:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:43:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:43: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-28 05:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696151296001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":165877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:43:38] local.INFO: GPS data processed {"connection_id":165877,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:43:38] local.INFO: Acknowledgment sent {"connection_id":165877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:44:03] local.INFO: TCP Data received {"connection_id":163524,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 05:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163524,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 05:44:03] local.INFO: Processing buffer {"connection_id":163524,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 05:44:03] local.INFO: IMEI packet received {"connection_id":163524,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 05:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":163524,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 05:44:09] local.INFO: TCP Data received {"connection_id":165877,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a045b51b20012d34c14006aa4840000400e62d..."} 
[2026-08-28 05:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045b51b20012d34c14006aa4840000400e62d..."} 
[2026-08-28 05:44:09] local.INFO: Processing buffer {"connection_id":165877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045b51b20012d34c14006aa4840000400e62d..."} 
[2026-08-28 05:44:09] local.INFO: Packet analysis {"connection_id":165877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045b5"} 
[2026-08-28 05:44:09] local.INFO: Extracted packet for processing {"connection_id":165877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045b5"} 
[2026-08-28 05:44:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:44:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696151296001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:44:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787875892000,"timestamp_ms":1787875892000,"timestamp_seconds":1787875892,"priority":1,"record_length":96,"hex_timestamp":"000001a045b51b20"} 
[2026-08-28 05:44:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:44:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:44:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:44:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:44:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:44:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":165877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":165877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":165877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:44: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-28 05:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696151296001,"66":25223,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-28 05:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696151296001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:44:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:44:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:44: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-28 05:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696151296001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":165877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:44:09] local.INFO: GPS data processed {"connection_id":165877,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:44:09] local.INFO: Acknowledgment sent {"connection_id":165877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:44:31] local.INFO: TCP Data received {"connection_id":163260,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:44:31] local.INFO: Processing buffer {"connection_id":163260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:44:31] local.INFO: IMEI packet received {"connection_id":163260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 05:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":163260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 05:44:37] local.INFO: TCP Data received {"connection_id":163260,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:44:37] local.INFO: Processing buffer {"connection_id":163260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:44:37] local.INFO: IMEI packet received {"connection_id":163260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 05:44:37] local.INFO: IMEI acknowledgment sent {"connection_id":163260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 05:44:38] local.INFO: TCP Data received {"connection_id":163260,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a045b51b20012d34c14006aa4840000400e62d..."} 
[2026-08-28 05:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045b51b20012d34c14006aa4840000400e62d..."} 
[2026-08-28 05:44:38] local.INFO: Processing buffer {"connection_id":163260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045b51b20012d34c14006aa4840000400e62d..."} 
[2026-08-28 05:44:38] local.INFO: Packet analysis {"connection_id":163260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045b5"} 
[2026-08-28 05:44:38] local.INFO: Extracted packet for processing {"connection_id":163260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045b5"} 
[2026-08-28 05:44:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696151296001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:44:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787875892000,"timestamp_ms":1787875892000,"timestamp_seconds":1787875892,"priority":1,"record_length":96,"hex_timestamp":"000001a045b51b20"} 
[2026-08-28 05:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:44:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:44:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:44:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:44:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696151296001,"66":25223,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696151296001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:44:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:44:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:44: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-28 05:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696151296001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":163260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:44:38] local.INFO: GPS data processed {"connection_id":163260,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:44:38] local.INFO: Acknowledgment sent {"connection_id":163260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:45:09] local.INFO: TCP Data received {"connection_id":163260,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a045b51b20012d34c14006aa4840000400e62d..."} 
[2026-08-28 05:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045b51b20012d34c14006aa4840000400e62d..."} 
[2026-08-28 05:45:09] local.INFO: Processing buffer {"connection_id":163260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045b51b20012d34c14006aa4840000400e62d..."} 
[2026-08-28 05:45:09] local.INFO: Packet analysis {"connection_id":163260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045b5"} 
[2026-08-28 05:45:09] local.INFO: Extracted packet for processing {"connection_id":163260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045b5"} 
[2026-08-28 05:45:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696151296001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:45:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787875892000,"timestamp_ms":1787875892000,"timestamp_seconds":1787875892,"priority":1,"record_length":96,"hex_timestamp":"000001a045b51b20"} 
[2026-08-28 05:45:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:45:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:45:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:45:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:45:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:45:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696151296001,"66":25223,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696151296001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:45:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:45:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:45: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-28 05:45:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696151296001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":163260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:45:09] local.INFO: GPS data processed {"connection_id":163260,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:45:09] local.INFO: Acknowledgment sent {"connection_id":163260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:45:31] local.INFO: TCP Data received {"connection_id":164517,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:45:31] local.INFO: Processing buffer {"connection_id":164517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:45:31] local.INFO: IMEI packet received {"connection_id":164517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 05:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":164517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 05:45:37] local.INFO: TCP Data received {"connection_id":164517,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:45:37] local.INFO: Processing buffer {"connection_id":164517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:45:37] local.INFO: IMEI packet received {"connection_id":164517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 05:45:37] local.INFO: IMEI acknowledgment sent {"connection_id":164517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 05:45:38] local.INFO: TCP Data received {"connection_id":164517,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a045b51b20012d34c14006aa4840000400e62d..."} 
[2026-08-28 05:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045b51b20012d34c14006aa4840000400e62d..."} 
[2026-08-28 05:45:38] local.INFO: Processing buffer {"connection_id":164517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045b51b20012d34c14006aa4840000400e62d..."} 
[2026-08-28 05:45:38] local.INFO: Packet analysis {"connection_id":164517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045b5"} 
[2026-08-28 05:45:38] local.INFO: Extracted packet for processing {"connection_id":164517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045b5"} 
[2026-08-28 05:45:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696151296001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787875892000,"timestamp_ms":1787875892000,"timestamp_seconds":1787875892,"priority":1,"record_length":96,"hex_timestamp":"000001a045b51b20"} 
[2026-08-28 05:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:45:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696151296001,"66":25223,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696151296001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:45:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:45:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:45: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-28 05:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696151296001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":164517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:45:38] local.INFO: GPS data processed {"connection_id":164517,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:45:38] local.INFO: Acknowledgment sent {"connection_id":164517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:46:10] local.INFO: TCP Data received {"connection_id":164517,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a045b51b20012d34c14006aa4840000400e62d..."} 
[2026-08-28 05:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045b51b20012d34c14006aa4840000400e62d..."} 
[2026-08-28 05:46:10] local.INFO: Processing buffer {"connection_id":164517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045b51b20012d34c14006aa4840000400e62d..."} 
[2026-08-28 05:46:10] local.INFO: Packet analysis {"connection_id":164517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045b5"} 
[2026-08-28 05:46:10] local.INFO: Extracted packet for processing {"connection_id":164517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045b5"} 
[2026-08-28 05:46:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696151296001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:46:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:46:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787875892000,"timestamp_ms":1787875892000,"timestamp_seconds":1787875892,"priority":1,"record_length":96,"hex_timestamp":"000001a045b51b20"} 
[2026-08-28 05:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:46:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:46:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:46:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":164517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":164517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":164517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:46:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696151296001,"66":25223,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696151296001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:46:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:46:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 05:46:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696151296001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":164517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:46:10] local.INFO: GPS data processed {"connection_id":164517,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:46:10] local.INFO: Acknowledgment sent {"connection_id":164517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:46:31] local.INFO: TCP Data received {"connection_id":163525,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:46:31] local.INFO: Processing buffer {"connection_id":163525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:46:31] local.INFO: IMEI packet received {"connection_id":163525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 05:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":163525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 05:46:37] local.INFO: TCP Data received {"connection_id":163525,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:46:37] local.INFO: Processing buffer {"connection_id":163525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:46:37] local.INFO: IMEI packet received {"connection_id":163525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 05:46:37] local.INFO: IMEI acknowledgment sent {"connection_id":163525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 05:46:37] local.INFO: TCP Data received {"connection_id":163525,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a045b51b20012d34c14006aa4840000400e62d..."} 
[2026-08-28 05:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045b51b20012d34c14006aa4840000400e62d..."} 
[2026-08-28 05:46:37] local.INFO: Processing buffer {"connection_id":163525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045b51b20012d34c14006aa4840000400e62d..."} 
[2026-08-28 05:46:37] local.INFO: Packet analysis {"connection_id":163525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045b5"} 
[2026-08-28 05:46:37] local.INFO: Extracted packet for processing {"connection_id":163525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045b5"} 
[2026-08-28 05:46:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696151296001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787875892000,"timestamp_ms":1787875892000,"timestamp_seconds":1787875892,"priority":1,"record_length":96,"hex_timestamp":"000001a045b51b20"} 
[2026-08-28 05:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:46:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696151296001,"66":25223,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696151296001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:46:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:46:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:46: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-28 05:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696151296001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:46:37] 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":706440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:46:37] local.INFO: GPS data processed {"connection_id":163525,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:46:37] local.INFO: Acknowledgment sent {"connection_id":163525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:47:09] local.INFO: TCP Data received {"connection_id":163525,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a045b51b20012d34c14006aa4840000400e62d..."} 
[2026-08-28 05:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045b51b20012d34c14006aa4840000400e62d..."} 
[2026-08-28 05:47:09] local.INFO: Processing buffer {"connection_id":163525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045b51b20012d34c14006aa4840000400e62d..."} 
[2026-08-28 05:47:09] local.INFO: Packet analysis {"connection_id":163525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045b5"} 
[2026-08-28 05:47:09] local.INFO: Extracted packet for processing {"connection_id":163525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045b5"} 
[2026-08-28 05:47:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":4,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696151296001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787875892000,"timestamp_ms":1787875892000,"timestamp_seconds":1787875892,"priority":1,"record_length":96,"hex_timestamp":"000001a045b51b20"} 
[2026-08-28 05:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:47:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:47:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:47:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696151296001,"66":25223,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696151296001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:47:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:47:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:47: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-28 05:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696151296001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:47:09] 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":706441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:47:09] local.INFO: GPS data processed {"connection_id":163525,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:47:09] local.INFO: Acknowledgment sent {"connection_id":163525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:47:37] local.INFO: TCP Data received {"connection_id":163261,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:47:37] local.INFO: Processing buffer {"connection_id":163261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:47:37] local.INFO: IMEI packet received {"connection_id":163261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 05:47:37] local.INFO: IMEI acknowledgment sent {"connection_id":163261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 05:47:42] local.INFO: TCP Data received {"connection_id":163261,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:47:42] local.INFO: Processing buffer {"connection_id":163261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:47:42] local.INFO: IMEI packet received {"connection_id":163261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 05:47:42] local.INFO: IMEI acknowledgment sent {"connection_id":163261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 05:47:42] local.INFO: TCP Data received {"connection_id":163261,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a045b9b2e8012d34c14006aa4840000300e62d..."} 
[2026-08-28 05:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045b9b2e8012d34c14006aa4840000300e62d..."} 
[2026-08-28 05:47:42] local.INFO: Processing buffer {"connection_id":163261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045b9b2e8012d34c14006aa4840000300e62d..."} 
[2026-08-28 05:47:42] local.INFO: Packet analysis {"connection_id":163261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045b9"} 
[2026-08-28 05:47:42] local.INFO: Extracted packet for processing {"connection_id":163261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045b9"} 
[2026-08-28 05:47:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05: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-28 05:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696228352001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:47:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05: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-28 05:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787876193000,"timestamp_ms":1787876193000,"timestamp_seconds":1787876193,"priority":1,"record_length":96,"hex_timestamp":"000001a045b9b2e8"} 
[2026-08-28 05: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-28 05:47:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05: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":135,"data_length":795,"current_offset":136} 
[2026-08-28 05:47:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05: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-28 05: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-28 05:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05: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-28 05:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696228352001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696228352001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:47:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:47:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05: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-28 05:47:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696228352001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:47:43] local.INFO: DEBUG: GPS processor result {"connection_id":163261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:47:43] local.INFO: GPS data processed {"connection_id":163261,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:47:43] local.INFO: Acknowledgment sent {"connection_id":163261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:48:15] local.INFO: TCP Data received {"connection_id":163261,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a045b9b2e8012d34c14006aa4840000300e62d..."} 
[2026-08-28 05:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045b9b2e8012d34c14006aa4840000300e62d..."} 
[2026-08-28 05:48:15] local.INFO: Processing buffer {"connection_id":163261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045b9b2e8012d34c14006aa4840000300e62d..."} 
[2026-08-28 05:48:15] local.INFO: Packet analysis {"connection_id":163261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045b9"} 
[2026-08-28 05:48:15] local.INFO: Extracted packet for processing {"connection_id":163261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045b9"} 
[2026-08-28 05:48:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05: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-28 05:48:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696228352001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:48:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:48:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05: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-28 05:48:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787876193000,"timestamp_ms":1787876193000,"timestamp_seconds":1787876193,"priority":1,"record_length":96,"hex_timestamp":"000001a045b9b2e8"} 
[2026-08-28 05: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-28 05:48:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05: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":135,"data_length":795,"current_offset":136} 
[2026-08-28 05:48:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05: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-28 05: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-28 05:48:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:48:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:48:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:48:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05: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-28 05:48:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:48:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:48:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696228352001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:48:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:48:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:48:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696228352001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:48:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:48:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05: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-28 05:48:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:48:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696228352001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:48:15] local.INFO: DEBUG: GPS processor result {"connection_id":163261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:48:15] local.INFO: GPS data processed {"connection_id":163261,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:48:15] local.INFO: Acknowledgment sent {"connection_id":163261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:48:32] local.INFO: TCP Data received {"connection_id":165878,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:48:32] local.INFO: Processing buffer {"connection_id":165878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:48:32] local.INFO: IMEI packet received {"connection_id":165878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 05:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":165878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 05:48:37] local.INFO: TCP Data received {"connection_id":165878,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:48:37] local.INFO: Processing buffer {"connection_id":165878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:48:37] local.INFO: IMEI packet received {"connection_id":165878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 05:48:37] local.INFO: IMEI acknowledgment sent {"connection_id":165878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 05:48:38] local.INFO: TCP Data received {"connection_id":165878,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a045b9b2e8012d34c14006aa4840000300e62d..."} 
[2026-08-28 05:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045b9b2e8012d34c14006aa4840000300e62d..."} 
[2026-08-28 05:48:38] local.INFO: Processing buffer {"connection_id":165878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045b9b2e8012d34c14006aa4840000300e62d..."} 
[2026-08-28 05:48:38] local.INFO: Packet analysis {"connection_id":165878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045b9"} 
[2026-08-28 05:48:38] local.INFO: Extracted packet for processing {"connection_id":165878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045b9"} 
[2026-08-28 05:48:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696228352001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:48:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787876193000,"timestamp_ms":1787876193000,"timestamp_seconds":1787876193,"priority":1,"record_length":96,"hex_timestamp":"000001a045b9b2e8"} 
[2026-08-28 05:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:48:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 05:48:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:48:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":165878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":165878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":165878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696228352001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696228352001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:48:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:48:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:48: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-28 05:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696228352001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":165878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:48:38] local.INFO: GPS data processed {"connection_id":165878,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:48:38] local.INFO: Acknowledgment sent {"connection_id":165878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:49:09] local.INFO: TCP Data received {"connection_id":165878,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a045b9b2e8012d34c14006aa4840000300e62d..."} 
[2026-08-28 05:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045b9b2e8012d34c14006aa4840000300e62d..."} 
[2026-08-28 05:49:09] local.INFO: Processing buffer {"connection_id":165878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045b9b2e8012d34c14006aa4840000300e62d..."} 
[2026-08-28 05:49:09] local.INFO: Packet analysis {"connection_id":165878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045b9"} 
[2026-08-28 05:49:09] local.INFO: Extracted packet for processing {"connection_id":165878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045b9"} 
[2026-08-28 05:49:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696228352001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:49:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787876193000,"timestamp_ms":1787876193000,"timestamp_seconds":1787876193,"priority":1,"record_length":96,"hex_timestamp":"000001a045b9b2e8"} 
[2026-08-28 05:49:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:49:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 05:49:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:49:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:49:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":165878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":165878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":165878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:49:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696228352001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 05:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696228352001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:49:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:49:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:49: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-28 05:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696228352001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":165878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:49:09] local.INFO: GPS data processed {"connection_id":165878,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:49:09] local.INFO: Acknowledgment sent {"connection_id":165878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:49:31] local.INFO: TCP Data received {"connection_id":163262,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:49:31] local.INFO: Processing buffer {"connection_id":163262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:49:31] local.INFO: IMEI packet received {"connection_id":163262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 05:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":163262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 05:49:37] local.INFO: TCP Data received {"connection_id":163262,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:49:37] local.INFO: Processing buffer {"connection_id":163262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:49:37] local.INFO: IMEI packet received {"connection_id":163262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 05:49:37] local.INFO: IMEI acknowledgment sent {"connection_id":163262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 05:49:38] local.INFO: TCP Data received {"connection_id":163262,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a045b9b2e8012d34c14006aa4840000300e62d..."} 
[2026-08-28 05:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045b9b2e8012d34c14006aa4840000300e62d..."} 
[2026-08-28 05:49:38] local.INFO: Processing buffer {"connection_id":163262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045b9b2e8012d34c14006aa4840000300e62d..."} 
[2026-08-28 05:49:38] local.INFO: Packet analysis {"connection_id":163262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045b9"} 
[2026-08-28 05:49:38] local.INFO: Extracted packet for processing {"connection_id":163262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045b9"} 
[2026-08-28 05:49:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696228352001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:49:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787876193000,"timestamp_ms":1787876193000,"timestamp_seconds":1787876193,"priority":1,"record_length":96,"hex_timestamp":"000001a045b9b2e8"} 
[2026-08-28 05:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:49:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 05:49:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:49:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:49:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696228352001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-28 05:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696228352001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:49:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:49:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:49: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-28 05:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696228352001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":163262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:49:38] local.INFO: GPS data processed {"connection_id":163262,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:49:38] local.INFO: Acknowledgment sent {"connection_id":163262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:49:38] local.INFO: TCP Data received {"connection_id":164518,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 05:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164518,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 05:49:38] local.INFO: Processing buffer {"connection_id":164518,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 05:49:38] local.INFO: IMEI packet received {"connection_id":164518,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 05:49:38] local.INFO: IMEI acknowledgment sent {"connection_id":164518,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 05:50:09] local.INFO: TCP Data received {"connection_id":163262,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a045b9b2e8012d34c14006aa4840000300e62d..."} 
[2026-08-28 05:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045b9b2e8012d34c14006aa4840000300e62d..."} 
[2026-08-28 05:50:09] local.INFO: Processing buffer {"connection_id":163262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045b9b2e8012d34c14006aa4840000300e62d..."} 
[2026-08-28 05:50:09] local.INFO: Packet analysis {"connection_id":163262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045b9"} 
[2026-08-28 05:50:09] local.INFO: Extracted packet for processing {"connection_id":163262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045b9"} 
[2026-08-28 05:50:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696228352001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:50:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787876193000,"timestamp_ms":1787876193000,"timestamp_seconds":1787876193,"priority":1,"record_length":96,"hex_timestamp":"000001a045b9b2e8"} 
[2026-08-28 05:50:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:50:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 05:50:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:50:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:50:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:50: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-28 05:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696228352001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-28 05:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696228352001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:50:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:50:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:50: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-28 05:50:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696228352001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":163262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:50:09] local.INFO: GPS data processed {"connection_id":163262,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:50:09] local.INFO: Acknowledgment sent {"connection_id":163262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:50:31] local.INFO: TCP Data received {"connection_id":164519,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:50:31] local.INFO: Processing buffer {"connection_id":164519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:50:31] local.INFO: IMEI packet received {"connection_id":164519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 05:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":164519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 05:50:37] local.INFO: TCP Data received {"connection_id":164519,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:50:37] local.INFO: Processing buffer {"connection_id":164519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:50:37] local.INFO: IMEI packet received {"connection_id":164519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 05:50:37] local.INFO: IMEI acknowledgment sent {"connection_id":164519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 05:50:38] local.INFO: TCP Data received {"connection_id":164519,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a045b9b2e8012d34c14006aa4840000300e62d..."} 
[2026-08-28 05:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045b9b2e8012d34c14006aa4840000300e62d..."} 
[2026-08-28 05:50:38] local.INFO: Processing buffer {"connection_id":164519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045b9b2e8012d34c14006aa4840000300e62d..."} 
[2026-08-28 05:50:38] local.INFO: Packet analysis {"connection_id":164519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045b9"} 
[2026-08-28 05:50:38] local.INFO: Extracted packet for processing {"connection_id":164519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045b9"} 
[2026-08-28 05:50:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696228352001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787876193000,"timestamp_ms":1787876193000,"timestamp_seconds":1787876193,"priority":1,"record_length":96,"hex_timestamp":"000001a045b9b2e8"} 
[2026-08-28 05:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 05:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:50:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696228352001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-28 05:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696228352001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:50:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:50:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:50: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-28 05:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696228352001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":164519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:50:38] local.INFO: GPS data processed {"connection_id":164519,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:50:38] local.INFO: Acknowledgment sent {"connection_id":164519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:51:10] local.INFO: TCP Data received {"connection_id":164519,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a045b9b2e8012d34c14006aa4840000300e62d..."} 
[2026-08-28 05:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045b9b2e8012d34c14006aa4840000300e62d..."} 
[2026-08-28 05:51:10] local.INFO: Processing buffer {"connection_id":164519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045b9b2e8012d34c14006aa4840000300e62d..."} 
[2026-08-28 05:51:10] local.INFO: Packet analysis {"connection_id":164519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045b9"} 
[2026-08-28 05:51:10] local.INFO: Extracted packet for processing {"connection_id":164519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045b9"} 
[2026-08-28 05:51:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696228352001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:51:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:51:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787876193000,"timestamp_ms":1787876193000,"timestamp_seconds":1787876193,"priority":1,"record_length":96,"hex_timestamp":"000001a045b9b2e8"} 
[2026-08-28 05:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:51:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 05:51:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:51:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":164519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":164519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":164519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:51:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696228352001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-28 05:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696228352001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:51:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:51:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 05:51:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696228352001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":164519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:51:10] local.INFO: GPS data processed {"connection_id":164519,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:51:10] local.INFO: Acknowledgment sent {"connection_id":164519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:51:37] local.INFO: TCP Data received {"connection_id":163263,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:51:37] local.INFO: Processing buffer {"connection_id":163263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:51:37] local.INFO: IMEI packet received {"connection_id":163263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 05:51:37] local.INFO: IMEI acknowledgment sent {"connection_id":163263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 05:51:42] local.INFO: TCP Data received {"connection_id":163263,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:51:42] local.INFO: Processing buffer {"connection_id":163263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:51:42] local.INFO: IMEI packet received {"connection_id":163263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 05:51:42] local.INFO: IMEI acknowledgment sent {"connection_id":163263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 05:51:43] local.INFO: TCP Data received {"connection_id":163263,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a045b9b2e8012d34c14006aa4840000300e62d..."} 
[2026-08-28 05:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045b9b2e8012d34c14006aa4840000300e62d..."} 
[2026-08-28 05:51:43] local.INFO: Processing buffer {"connection_id":163263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045b9b2e8012d34c14006aa4840000300e62d..."} 
[2026-08-28 05:51:43] local.INFO: Packet analysis {"connection_id":163263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045b9"} 
[2026-08-28 05:51:43] local.INFO: Extracted packet for processing {"connection_id":163263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045b9"} 
[2026-08-28 05:51:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05: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-28 05:51:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696228352001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:51:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:51:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05: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-28 05:51:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787876193000,"timestamp_ms":1787876193000,"timestamp_seconds":1787876193,"priority":1,"record_length":96,"hex_timestamp":"000001a045b9b2e8"} 
[2026-08-28 05: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-28 05:51:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:51:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 05:51:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05: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-28 05: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-28 05:51:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:51:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:51:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:51:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05: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-28 05:51:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:51:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:51:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696228352001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-28 05:51:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:51:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:51:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696228352001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:51:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:51:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05: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-28 05:51:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:51:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696228352001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:51:43] local.INFO: DEBUG: GPS processor result {"connection_id":163263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:51:43] local.INFO: GPS data processed {"connection_id":163263,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:51:43] local.INFO: Acknowledgment sent {"connection_id":163263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:51:47] local.INFO: TCP Data received {"connection_id":163263,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a045b9b2e8012d34c14006aa4840000300e62d..."} 
[2026-08-28 05:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045b9b2e8012d34c14006aa4840000300e62d..."} 
[2026-08-28 05:51:47] local.INFO: Processing buffer {"connection_id":163263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045b9b2e8012d34c14006aa4840000300e62d..."} 
[2026-08-28 05:51:47] local.INFO: Packet analysis {"connection_id":163263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045b9"} 
[2026-08-28 05:51:47] local.INFO: Extracted packet for processing {"connection_id":163263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045b9"} 
[2026-08-28 05:51:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05: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-28 05:51:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696228352001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:51:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:51:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05: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-28 05:51:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787876193000,"timestamp_ms":1787876193000,"timestamp_seconds":1787876193,"priority":1,"record_length":96,"hex_timestamp":"000001a045b9b2e8"} 
[2026-08-28 05: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-28 05:51:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 05:51:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05: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-28 05: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-28 05:51:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:51:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:51:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:51:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:51: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-28 05:51:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:51:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:51:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696228352001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-28 05:51:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:51:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:51:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696228352001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:51:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:51:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05: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-28 05:51:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:51:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696228352001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:51:47] local.INFO: DEBUG: GPS processor result {"connection_id":163263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:51:47] local.INFO: GPS data processed {"connection_id":163263,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:51:47] local.INFO: Acknowledgment sent {"connection_id":163263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:52:32] local.INFO: TCP Data received {"connection_id":163526,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:52:32] local.INFO: Processing buffer {"connection_id":163526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:52:32] local.INFO: IMEI packet received {"connection_id":163526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 05:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":163526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 05:52:37] local.INFO: TCP Data received {"connection_id":163526,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:52:37] local.INFO: Processing buffer {"connection_id":163526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:52:37] local.INFO: IMEI packet received {"connection_id":163526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 05:52:37] local.INFO: IMEI acknowledgment sent {"connection_id":163526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 05:52:37] local.INFO: TCP Data received {"connection_id":163526,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a045be4ab0012d34c14006aa4840000200e62c..."} 
[2026-08-28 05:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045be4ab0012d34c14006aa4840000200e62c..."} 
[2026-08-28 05:52:37] local.INFO: Processing buffer {"connection_id":163526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045be4ab0012d34c14006aa4840000200e62c..."} 
[2026-08-28 05:52:37] local.INFO: Packet analysis {"connection_id":163526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045be"} 
[2026-08-28 05:52:37] local.INFO: Extracted packet for processing {"connection_id":163526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045be"} 
[2026-08-28 05:52:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":2,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696305408001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787876494000,"timestamp_ms":1787876494000,"timestamp_seconds":1787876494,"priority":1,"record_length":96,"hex_timestamp":"000001a045be4ab0"} 
[2026-08-28 05:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696305408001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-28 05:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696305408001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:52:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:52:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:52: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-28 05:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696305408001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:52:37] 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":706452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:52:37] local.INFO: GPS data processed {"connection_id":163526,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:52:37] local.INFO: Acknowledgment sent {"connection_id":163526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:53:09] local.INFO: TCP Data received {"connection_id":163526,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a045be4ab0012d34c14006aa4840000200e62c..."} 
[2026-08-28 05:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045be4ab0012d34c14006aa4840000200e62c..."} 
[2026-08-28 05:53:09] local.INFO: Processing buffer {"connection_id":163526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045be4ab0012d34c14006aa4840000200e62c..."} 
[2026-08-28 05:53:09] local.INFO: Packet analysis {"connection_id":163526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045be"} 
[2026-08-28 05:53:09] local.INFO: Extracted packet for processing {"connection_id":163526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045be"} 
[2026-08-28 05:53:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":2,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696305408001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:53:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:53:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787876494000,"timestamp_ms":1787876494000,"timestamp_seconds":1787876494,"priority":1,"record_length":96,"hex_timestamp":"000001a045be4ab0"} 
[2026-08-28 05:53:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:53:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:53:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:53:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:53:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:53: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-28 05:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696305408001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-28 05:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696305408001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:53:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:53:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:53: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-28 05:53:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696305408001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:53:09] 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":706453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:53:09] local.INFO: GPS data processed {"connection_id":163526,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:53:09] local.INFO: Acknowledgment sent {"connection_id":163526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:53:32] local.INFO: TCP Data received {"connection_id":165880,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:53:32] local.INFO: Processing buffer {"connection_id":165880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:53:32] local.INFO: IMEI packet received {"connection_id":165880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 05:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":165880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 05:53:37] local.INFO: TCP Data received {"connection_id":165880,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:53:37] local.INFO: Processing buffer {"connection_id":165880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:53:37] local.INFO: IMEI packet received {"connection_id":165880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 05:53:37] local.INFO: IMEI acknowledgment sent {"connection_id":165880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 05:53:38] local.INFO: TCP Data received {"connection_id":165880,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a045be4ab0012d34c14006aa4840000200e62c..."} 
[2026-08-28 05:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045be4ab0012d34c14006aa4840000200e62c..."} 
[2026-08-28 05:53:38] local.INFO: Processing buffer {"connection_id":165880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045be4ab0012d34c14006aa4840000200e62c..."} 
[2026-08-28 05:53:38] local.INFO: Packet analysis {"connection_id":165880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045be"} 
[2026-08-28 05:53:38] local.INFO: Extracted packet for processing {"connection_id":165880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045be"} 
[2026-08-28 05:53:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":2,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696305408001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787876494000,"timestamp_ms":1787876494000,"timestamp_seconds":1787876494,"priority":1,"record_length":96,"hex_timestamp":"000001a045be4ab0"} 
[2026-08-28 05:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:53:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:53:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":165880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":165880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":165880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696305408001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-28 05:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696305408001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:53:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:53:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:53: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-28 05:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696305408001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":165880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:53:38] local.INFO: GPS data processed {"connection_id":165880,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:53:38] local.INFO: Acknowledgment sent {"connection_id":165880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:54:09] local.INFO: TCP Data received {"connection_id":165880,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a045be4ab0012d34c14006aa4840000200e62c..."} 
[2026-08-28 05:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045be4ab0012d34c14006aa4840000200e62c..."} 
[2026-08-28 05:54:09] local.INFO: Processing buffer {"connection_id":165880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045be4ab0012d34c14006aa4840000200e62c..."} 
[2026-08-28 05:54:09] local.INFO: Packet analysis {"connection_id":165880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045be"} 
[2026-08-28 05:54:09] local.INFO: Extracted packet for processing {"connection_id":165880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045be"} 
[2026-08-28 05:54:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":2,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696305408001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:54:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:54:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787876494000,"timestamp_ms":1787876494000,"timestamp_seconds":1787876494,"priority":1,"record_length":96,"hex_timestamp":"000001a045be4ab0"} 
[2026-08-28 05:54:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:54:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:54:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:54:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:54:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":165880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":165880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":165880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:54: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-28 05:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696305408001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-28 05:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696305408001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:54:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:54:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:54: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-28 05:54:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696305408001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":165880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:54:10] local.INFO: GPS data processed {"connection_id":165880,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:54:10] local.INFO: Acknowledgment sent {"connection_id":165880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:54:32] local.INFO: TCP Data received {"connection_id":163527,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:54:32] local.INFO: Processing buffer {"connection_id":163527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:54:32] local.INFO: IMEI packet received {"connection_id":163527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 05:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":163527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 05:54:37] local.INFO: TCP Data received {"connection_id":163527,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:54:37] local.INFO: Processing buffer {"connection_id":163527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:54:37] local.INFO: IMEI packet received {"connection_id":163527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 05:54:37] local.INFO: IMEI acknowledgment sent {"connection_id":163527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 05:54:38] local.INFO: TCP Data received {"connection_id":163527,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a045be4ab0012d34c14006aa4840000200e62c..."} 
[2026-08-28 05:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045be4ab0012d34c14006aa4840000200e62c..."} 
[2026-08-28 05:54:38] local.INFO: Processing buffer {"connection_id":163527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045be4ab0012d34c14006aa4840000200e62c..."} 
[2026-08-28 05:54:38] local.INFO: Packet analysis {"connection_id":163527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045be"} 
[2026-08-28 05:54:38] local.INFO: Extracted packet for processing {"connection_id":163527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045be"} 
[2026-08-28 05:54:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":2,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696305408001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787876494000,"timestamp_ms":1787876494000,"timestamp_seconds":1787876494,"priority":1,"record_length":96,"hex_timestamp":"000001a045be4ab0"} 
[2026-08-28 05:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:54:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696305408001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-28 05:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696305408001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:54:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:54:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:54: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-28 05:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696305408001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:54:38] 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":706456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:54:38] local.INFO: GPS data processed {"connection_id":163527,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:54:38] local.INFO: Acknowledgment sent {"connection_id":163527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:55:09] local.INFO: TCP Data received {"connection_id":163527,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a045be4ab0012d34c14006aa4840000200e62c..."} 
[2026-08-28 05:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045be4ab0012d34c14006aa4840000200e62c..."} 
[2026-08-28 05:55:09] local.INFO: Processing buffer {"connection_id":163527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045be4ab0012d34c14006aa4840000200e62c..."} 
[2026-08-28 05:55:09] local.INFO: Packet analysis {"connection_id":163527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045be"} 
[2026-08-28 05:55:09] local.INFO: Extracted packet for processing {"connection_id":163527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045be"} 
[2026-08-28 05:55:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":2,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:55:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696305408001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:55:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:55:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787876494000,"timestamp_ms":1787876494000,"timestamp_seconds":1787876494,"priority":1,"record_length":96,"hex_timestamp":"000001a045be4ab0"} 
[2026-08-28 05:55:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:55:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:55:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:55:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:55:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:55:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:55: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-28 05:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696305408001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-28 05:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696305408001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:55:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:55:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:55: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-28 05:55:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696305408001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:55:09] 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":706457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:55:09] local.INFO: GPS data processed {"connection_id":163527,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:55:09] local.INFO: Acknowledgment sent {"connection_id":163527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:55:13] local.INFO: TCP Data received {"connection_id":165879,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 05:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165879,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 05:55:13] local.INFO: Processing buffer {"connection_id":165879,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 05:55:13] local.INFO: IMEI packet received {"connection_id":165879,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 05:55:13] local.INFO: IMEI acknowledgment sent {"connection_id":165879,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 05:55:31] local.INFO: TCP Data received {"connection_id":164520,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:55:31] local.INFO: Processing buffer {"connection_id":164520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:55:31] local.INFO: IMEI packet received {"connection_id":164520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 05:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":164520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 05:55:37] local.INFO: TCP Data received {"connection_id":164520,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:55:37] local.INFO: Processing buffer {"connection_id":164520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:55:37] local.INFO: IMEI packet received {"connection_id":164520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 05:55:37] local.INFO: IMEI acknowledgment sent {"connection_id":164520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 05:55:37] local.INFO: TCP Data received {"connection_id":164520,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a045be4ab0012d34c14006aa4840000200e62c..."} 
[2026-08-28 05:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045be4ab0012d34c14006aa4840000200e62c..."} 
[2026-08-28 05:55:37] local.INFO: Processing buffer {"connection_id":164520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045be4ab0012d34c14006aa4840000200e62c..."} 
[2026-08-28 05:55:37] local.INFO: Packet analysis {"connection_id":164520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045be"} 
[2026-08-28 05:55:37] local.INFO: Extracted packet for processing {"connection_id":164520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045be"} 
[2026-08-28 05:55:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":2,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696305408001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787876494000,"timestamp_ms":1787876494000,"timestamp_seconds":1787876494,"priority":1,"record_length":96,"hex_timestamp":"000001a045be4ab0"} 
[2026-08-28 05:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696305408001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-28 05:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696305408001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:55:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:55:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:55: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-28 05:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696305408001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":164520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:55:37] local.INFO: GPS data processed {"connection_id":164520,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:55:37] local.INFO: Acknowledgment sent {"connection_id":164520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:56:09] local.INFO: TCP Data received {"connection_id":164520,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a045be4ab0012d34c14006aa4840000200e62c..."} 
[2026-08-28 05:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045be4ab0012d34c14006aa4840000200e62c..."} 
[2026-08-28 05:56:09] local.INFO: Processing buffer {"connection_id":164520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045be4ab0012d34c14006aa4840000200e62c..."} 
[2026-08-28 05:56:09] local.INFO: Packet analysis {"connection_id":164520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045be"} 
[2026-08-28 05:56:09] local.INFO: Extracted packet for processing {"connection_id":164520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045be"} 
[2026-08-28 05:56:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":2,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696305408001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:56:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:56:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787876494000,"timestamp_ms":1787876494000,"timestamp_seconds":1787876494,"priority":1,"record_length":96,"hex_timestamp":"000001a045be4ab0"} 
[2026-08-28 05:56:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:56:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:56:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:56:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:56:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:56: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-28 05:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696305408001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-28 05:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696305408001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:56:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:56:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:56: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-28 05:56:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696305408001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":164520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:56:09] local.INFO: GPS data processed {"connection_id":164520,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:56:09] local.INFO: Acknowledgment sent {"connection_id":164520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:56:37] local.INFO: TCP Data received {"connection_id":165881,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:56:37] local.INFO: Processing buffer {"connection_id":165881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:56:37] local.INFO: IMEI packet received {"connection_id":165881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 05:56:37] local.INFO: IMEI acknowledgment sent {"connection_id":165881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 05:56:42] local.INFO: TCP Data received {"connection_id":165881,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:56:42] local.INFO: Processing buffer {"connection_id":165881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:56:42] local.INFO: IMEI packet received {"connection_id":165881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 05:56:42] local.INFO: IMEI acknowledgment sent {"connection_id":165881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 05:56:42] local.INFO: TCP Data received {"connection_id":165881,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a045be4ab0012d34c14006aa4840000200e62c..."} 
[2026-08-28 05:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045be4ab0012d34c14006aa4840000200e62c..."} 
[2026-08-28 05:56:42] local.INFO: Processing buffer {"connection_id":165881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045be4ab0012d34c14006aa4840000200e62c..."} 
[2026-08-28 05:56:42] local.INFO: Packet analysis {"connection_id":165881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045be"} 
[2026-08-28 05:56:42] local.INFO: Extracted packet for processing {"connection_id":165881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045be"} 
[2026-08-28 05:56:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":2,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05: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-28 05:56:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696305408001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:56:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:56:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05: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-28 05:56:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787876494000,"timestamp_ms":1787876494000,"timestamp_seconds":1787876494,"priority":1,"record_length":96,"hex_timestamp":"000001a045be4ab0"} 
[2026-08-28 05: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-28 05:56:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:56: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-28 05: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-28 05: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-28 05:56:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:56:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:56:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:56:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:56: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-28 05:56:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:56:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:56:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696305408001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-28 05:56:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:56:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:56:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696305408001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:56:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:56:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05: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-28 05:56:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:56:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696305408001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:56:42] local.INFO: DEBUG: GPS processor result {"connection_id":165881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:56:42] local.INFO: GPS data processed {"connection_id":165881,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:56:42] local.INFO: Acknowledgment sent {"connection_id":165881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:56:47] local.INFO: TCP Data received {"connection_id":165881,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a045be4ab0012d34c14006aa4840000200e62c..."} 
[2026-08-28 05:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045be4ab0012d34c14006aa4840000200e62c..."} 
[2026-08-28 05:56:47] local.INFO: Processing buffer {"connection_id":165881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045be4ab0012d34c14006aa4840000200e62c..."} 
[2026-08-28 05:56:47] local.INFO: Packet analysis {"connection_id":165881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045be"} 
[2026-08-28 05:56:47] local.INFO: Extracted packet for processing {"connection_id":165881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045be"} 
[2026-08-28 05:56:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":2,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05: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-28 05:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696305408001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:56:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05: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-28 05:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787876494000,"timestamp_ms":1787876494000,"timestamp_seconds":1787876494,"priority":1,"record_length":96,"hex_timestamp":"000001a045be4ab0"} 
[2026-08-28 05: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-28 05:56:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:56: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-28 05: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-28 05: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-28 05:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":165881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":165881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":165881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05: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-28 05:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696305408001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-28 05:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696305408001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:56:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:56:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05: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-28 05:56:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:56:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696305408001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":165881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:56:47] local.INFO: GPS data processed {"connection_id":165881,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:56:47] local.INFO: Acknowledgment sent {"connection_id":165881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:57:31] local.INFO: TCP Data received {"connection_id":163528,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:57:31] local.INFO: Processing buffer {"connection_id":163528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:57:31] local.INFO: IMEI packet received {"connection_id":163528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 05:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":163528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 05:57:37] local.INFO: TCP Data received {"connection_id":163528,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:57:37] local.INFO: Processing buffer {"connection_id":163528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:57:37] local.INFO: IMEI packet received {"connection_id":163528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 05:57:37] local.INFO: IMEI acknowledgment sent {"connection_id":163528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 05:57:38] local.INFO: TCP Data received {"connection_id":163528,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a045c2e278012d34c14006aa4840000600e62b..."} 
[2026-08-28 05:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045c2e278012d34c14006aa4840000600e62b..."} 
[2026-08-28 05:57:38] local.INFO: Processing buffer {"connection_id":163528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045c2e278012d34c14006aa4840000600e62b..."} 
[2026-08-28 05:57:38] local.INFO: Packet analysis {"connection_id":163528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045c2"} 
[2026-08-28 05:57:38] local.INFO: Extracted packet for processing {"connection_id":163528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045c2"} 
[2026-08-28 05:57:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05: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-28 05:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696382464001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:57:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787876795000,"timestamp_ms":1787876795000,"timestamp_seconds":1787876795,"priority":1,"record_length":96,"hex_timestamp":"000001a045c2e278"} 
[2026-08-28 05: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-28 05:57:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:57:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05: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-28 05: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-28 05:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:57:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696382464001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-28 05:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696382464001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:57:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:57:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05: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-28 05:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696382464001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:57:38] 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":706462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:57:38] local.INFO: GPS data processed {"connection_id":163528,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:57:38] local.INFO: Acknowledgment sent {"connection_id":163528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:58:10] local.INFO: TCP Data received {"connection_id":163528,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a045c2e278012d34c14006aa4840000600e62b..."} 
[2026-08-28 05:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045c2e278012d34c14006aa4840000600e62b..."} 
[2026-08-28 05:58:10] local.INFO: Processing buffer {"connection_id":163528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045c2e278012d34c14006aa4840000600e62b..."} 
[2026-08-28 05:58:10] local.INFO: Packet analysis {"connection_id":163528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045c2"} 
[2026-08-28 05:58:10] local.INFO: Extracted packet for processing {"connection_id":163528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045c2"} 
[2026-08-28 05:58:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696382464001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:58:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:58:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787876795000,"timestamp_ms":1787876795000,"timestamp_seconds":1787876795,"priority":1,"record_length":96,"hex_timestamp":"000001a045c2e278"} 
[2026-08-28 05:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:58:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:58:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:58:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:58:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696382464001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-28 05:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696382464001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:58:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:58:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 05:58:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696382464001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:58:10] 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":706463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:58:10] local.INFO: GPS data processed {"connection_id":163528,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:58:10] local.INFO: Acknowledgment sent {"connection_id":163528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:58:32] local.INFO: TCP Data received {"connection_id":164521,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:58:32] local.INFO: Processing buffer {"connection_id":164521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:58:32] local.INFO: IMEI packet received {"connection_id":164521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 05:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":164521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 05:58:37] local.INFO: TCP Data received {"connection_id":164521,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:58:37] local.INFO: Processing buffer {"connection_id":164521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:58:37] local.INFO: IMEI packet received {"connection_id":164521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 05:58:37] local.INFO: IMEI acknowledgment sent {"connection_id":164521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 05:58:38] local.INFO: TCP Data received {"connection_id":164521,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a045c2e278012d34c14006aa4840000600e62b..."} 
[2026-08-28 05:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045c2e278012d34c14006aa4840000600e62b..."} 
[2026-08-28 05:58:38] local.INFO: Processing buffer {"connection_id":164521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045c2e278012d34c14006aa4840000600e62b..."} 
[2026-08-28 05:58:38] local.INFO: Packet analysis {"connection_id":164521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045c2"} 
[2026-08-28 05:58:38] local.INFO: Extracted packet for processing {"connection_id":164521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045c2"} 
[2026-08-28 05:58:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696382464001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787876795000,"timestamp_ms":1787876795000,"timestamp_seconds":1787876795,"priority":1,"record_length":96,"hex_timestamp":"000001a045c2e278"} 
[2026-08-28 05:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:58:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:58:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696382464001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-28 05:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696382464001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:58:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:58:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05:58: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-28 05:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696382464001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":164521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:58:38] local.INFO: GPS data processed {"connection_id":164521,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:58:38] local.INFO: Acknowledgment sent {"connection_id":164521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:59:09] local.INFO: TCP Data received {"connection_id":164521,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a045c2e278012d34c14006aa4840000600e62b..."} 
[2026-08-28 05:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045c2e278012d34c14006aa4840000600e62b..."} 
[2026-08-28 05:59:09] local.INFO: Processing buffer {"connection_id":164521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045c2e278012d34c14006aa4840000600e62b..."} 
[2026-08-28 05:59:09] local.INFO: Packet analysis {"connection_id":164521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045c2"} 
[2026-08-28 05:59:09] local.INFO: Extracted packet for processing {"connection_id":164521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045c2"} 
[2026-08-28 05:59:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05: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-28 05:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696382464001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:59:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787876795000,"timestamp_ms":1787876795000,"timestamp_seconds":1787876795,"priority":1,"record_length":96,"hex_timestamp":"000001a045c2e278"} 
[2026-08-28 05:59:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:59:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:59:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:59:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:59:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05: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-28 05:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696382464001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-28 05:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696382464001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:59:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:59:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05: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-28 05:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696382464001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":164521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:59:09] local.INFO: GPS data processed {"connection_id":164521,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:59:09] local.INFO: Acknowledgment sent {"connection_id":164521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 05:59:32] local.INFO: TCP Data received {"connection_id":164522,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:59:32] local.INFO: Processing buffer {"connection_id":164522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:59:32] local.INFO: IMEI packet received {"connection_id":164522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 05:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":164522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 05:59:37] local.INFO: TCP Data received {"connection_id":164522,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:59:37] local.INFO: Processing buffer {"connection_id":164522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 05:59:37] local.INFO: IMEI packet received {"connection_id":164522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 05:59:37] local.INFO: IMEI acknowledgment sent {"connection_id":164522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 05:59:38] local.INFO: TCP Data received {"connection_id":164522,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a045c2e278012d34c14006aa4840000600e62b..."} 
[2026-08-28 05:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045c2e278012d34c14006aa4840000600e62b..."} 
[2026-08-28 05:59:38] local.INFO: Processing buffer {"connection_id":164522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045c2e278012d34c14006aa4840000600e62b..."} 
[2026-08-28 05:59:38] local.INFO: Packet analysis {"connection_id":164522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045c2"} 
[2026-08-28 05:59:38] local.INFO: Extracted packet for processing {"connection_id":164522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045c2"} 
[2026-08-28 05:59:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 05:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 05:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696382464001,"note":"Value kept but may cause issues"} 
[2026-08-28 05:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 05:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 05:59:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 05:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787876795000,"timestamp_ms":1787876795000,"timestamp_seconds":1787876795,"priority":1,"record_length":96,"hex_timestamp":"000001a045c2e278"} 
[2026-08-28 05:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 05:59:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 05:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 05:59:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 05:59:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 05:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 05:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 05:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 05:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 05:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 05:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 05:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 05:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696382464001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-28 05:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 05:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 05:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696382464001,"description":"Unknown IO ID 0"} 
[2026-08-28 05:59:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 05:59:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 05: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-28 05:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 05:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696382464001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 05:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":164522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 05:59:38] local.INFO: GPS data processed {"connection_id":164522,"processed":1,"errors":0,"total":1} 
[2026-08-28 05:59:38] local.INFO: Acknowledgment sent {"connection_id":164522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:00:09] local.INFO: TCP Data received {"connection_id":164522,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a045c2e278012d34c14006aa4840000600e62b..."} 
[2026-08-28 06:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045c2e278012d34c14006aa4840000600e62b..."} 
[2026-08-28 06:00:09] local.INFO: Processing buffer {"connection_id":164522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045c2e278012d34c14006aa4840000600e62b..."} 
[2026-08-28 06:00:09] local.INFO: Packet analysis {"connection_id":164522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045c2"} 
[2026-08-28 06:00:09] local.INFO: Extracted packet for processing {"connection_id":164522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045c2"} 
[2026-08-28 06:00:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:00:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696382464001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:00:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:00:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:00:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787876795000,"timestamp_ms":1787876795000,"timestamp_seconds":1787876795,"priority":1,"record_length":96,"hex_timestamp":"000001a045c2e278"} 
[2026-08-28 06:00:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:00:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:00:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:00:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:00:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:00: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-28 06:00:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:00:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:00:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696382464001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-28 06:00:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:00:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:00:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696382464001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:00:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:00:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:00: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-28 06:00:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:00:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696382464001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:00:09] local.INFO: DEBUG: GPS processor result {"connection_id":164522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:00:09] local.INFO: GPS data processed {"connection_id":164522,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:00:09] local.INFO: Acknowledgment sent {"connection_id":164522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:00:31] local.INFO: TCP Data received {"connection_id":164523,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:00:31] local.INFO: Processing buffer {"connection_id":164523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:00:31] local.INFO: IMEI packet received {"connection_id":164523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 06:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":164523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:00:37] local.INFO: TCP Data received {"connection_id":164523,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:00:37] local.INFO: Processing buffer {"connection_id":164523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:00:37] local.INFO: IMEI packet received {"connection_id":164523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 06:00:37] local.INFO: IMEI acknowledgment sent {"connection_id":164523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 06:00:37] local.INFO: TCP Data received {"connection_id":164523,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a045c2e278012d34c14006aa4840000600e62b..."} 
[2026-08-28 06:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045c2e278012d34c14006aa4840000600e62b..."} 
[2026-08-28 06:00:37] local.INFO: Processing buffer {"connection_id":164523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045c2e278012d34c14006aa4840000600e62b..."} 
[2026-08-28 06:00:37] local.INFO: Packet analysis {"connection_id":164523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045c2"} 
[2026-08-28 06:00:37] local.INFO: Extracted packet for processing {"connection_id":164523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045c2"} 
[2026-08-28 06:00:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696382464001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787876795000,"timestamp_ms":1787876795000,"timestamp_seconds":1787876795,"priority":1,"record_length":96,"hex_timestamp":"000001a045c2e278"} 
[2026-08-28 06:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696382464001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-28 06:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696382464001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:00:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:00:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:00: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-28 06:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696382464001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":164523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:00:37] local.INFO: GPS data processed {"connection_id":164523,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:00:37] local.INFO: Acknowledgment sent {"connection_id":164523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:00:47] local.INFO: TCP Data received {"connection_id":163264,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 06:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163264,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 06:00:47] local.INFO: Processing buffer {"connection_id":163264,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 06:00:47] local.INFO: IMEI packet received {"connection_id":163264,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 06:00:47] local.INFO: IMEI acknowledgment sent {"connection_id":163264,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:01:09] local.INFO: TCP Data received {"connection_id":164523,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a045c2e278012d34c14006aa4840000600e62b..."} 
[2026-08-28 06:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045c2e278012d34c14006aa4840000600e62b..."} 
[2026-08-28 06:01:09] local.INFO: Processing buffer {"connection_id":164523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045c2e278012d34c14006aa4840000600e62b..."} 
[2026-08-28 06:01:09] local.INFO: Packet analysis {"connection_id":164523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045c2"} 
[2026-08-28 06:01:09] local.INFO: Extracted packet for processing {"connection_id":164523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045c2"} 
[2026-08-28 06:01:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696382464001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:01:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787876795000,"timestamp_ms":1787876795000,"timestamp_seconds":1787876795,"priority":1,"record_length":96,"hex_timestamp":"000001a045c2e278"} 
[2026-08-28 06:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:01:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:01:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:01:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:01: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-28 06:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696382464001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-28 06:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696382464001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:01:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:01:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:01: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-28 06:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696382464001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":164523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:01:09] local.INFO: GPS data processed {"connection_id":164523,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:01:09] local.INFO: Acknowledgment sent {"connection_id":164523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:01:31] local.INFO: TCP Data received {"connection_id":165882,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:01:31] local.INFO: Processing buffer {"connection_id":165882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:01:31] local.INFO: IMEI packet received {"connection_id":165882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 06:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":165882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:01:37] local.INFO: TCP Data received {"connection_id":165882,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:01:37] local.INFO: Processing buffer {"connection_id":165882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:01:37] local.INFO: IMEI packet received {"connection_id":165882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 06:01:37] local.INFO: IMEI acknowledgment sent {"connection_id":165882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 06:01:38] local.INFO: TCP Data received {"connection_id":165882,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a045c2e278012d34c14006aa4840000600e62b..."} 
[2026-08-28 06:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045c2e278012d34c14006aa4840000600e62b..."} 
[2026-08-28 06:01:38] local.INFO: Processing buffer {"connection_id":165882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045c2e278012d34c14006aa4840000600e62b..."} 
[2026-08-28 06:01:38] local.INFO: Packet analysis {"connection_id":165882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045c2"} 
[2026-08-28 06:01:38] local.INFO: Extracted packet for processing {"connection_id":165882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045c2"} 
[2026-08-28 06:01:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696382464001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:01:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787876795000,"timestamp_ms":1787876795000,"timestamp_seconds":1787876795,"priority":1,"record_length":96,"hex_timestamp":"000001a045c2e278"} 
[2026-08-28 06:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:01:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:01:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":165882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":165882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":165882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:01:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696382464001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-28 06:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696382464001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:01:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:01:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06: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-28 06:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696382464001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":165882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:01:38] local.INFO: GPS data processed {"connection_id":165882,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:01:38] local.INFO: Acknowledgment sent {"connection_id":165882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:02:09] local.INFO: TCP Data received {"connection_id":165882,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a045c2e278012d34c14006aa4840000600e62b..."} 
[2026-08-28 06:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045c2e278012d34c14006aa4840000600e62b..."} 
[2026-08-28 06:02:09] local.INFO: Processing buffer {"connection_id":165882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045c2e278012d34c14006aa4840000600e62b..."} 
[2026-08-28 06:02:09] local.INFO: Packet analysis {"connection_id":165882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045c2"} 
[2026-08-28 06:02:09] local.INFO: Extracted packet for processing {"connection_id":165882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045c2"} 
[2026-08-28 06:02:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06: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-28 06:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696382464001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:02:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:02:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787876795000,"timestamp_ms":1787876795000,"timestamp_seconds":1787876795,"priority":1,"record_length":96,"hex_timestamp":"000001a045c2e278"} 
[2026-08-28 06: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-28 06:02:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:02:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06: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-28 06: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-28 06:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":165882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":165882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":165882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:02: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-28 06:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696382464001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-28 06:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696382464001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:02:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:02:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06: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-28 06:02:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696382464001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":165882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:02:09] local.INFO: GPS data processed {"connection_id":165882,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:02:09] local.INFO: Acknowledgment sent {"connection_id":165882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:02:37] local.INFO: TCP Data received {"connection_id":163265,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:02:37] local.INFO: Processing buffer {"connection_id":163265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:02:37] local.INFO: IMEI packet received {"connection_id":163265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 06:02:37] local.INFO: IMEI acknowledgment sent {"connection_id":163265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:02:42] local.INFO: TCP Data received {"connection_id":163265,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:02:42] local.INFO: Processing buffer {"connection_id":163265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:02:42] local.INFO: IMEI packet received {"connection_id":163265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 06:02:42] local.INFO: IMEI acknowledgment sent {"connection_id":163265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 06:02:42] local.INFO: TCP Data received {"connection_id":163265,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a045c77a40012d34c14006aa4840000100e62c..."} 
[2026-08-28 06:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045c77a40012d34c14006aa4840000100e62c..."} 
[2026-08-28 06:02:43] local.INFO: Processing buffer {"connection_id":163265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045c77a40012d34c14006aa4840000100e62c..."} 
[2026-08-28 06:02:43] local.INFO: Packet analysis {"connection_id":163265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045c7"} 
[2026-08-28 06:02:43] local.INFO: Extracted packet for processing {"connection_id":163265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045c7"} 
[2026-08-28 06:02:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":1,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06: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-28 06:02:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696459520001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:02:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:02:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06: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-28 06:02:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787877096000,"timestamp_ms":1787877096000,"timestamp_seconds":1787877096,"priority":1,"record_length":96,"hex_timestamp":"000001a045c77a40"} 
[2026-08-28 06: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-28 06:02:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:02: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-28 06: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-28 06: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-28 06:02:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:02:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:02:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:02:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:02: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-28 06:02:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:02:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:02:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696459520001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-28 06:02:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:02:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:02:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696459520001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:02:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:02:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06: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-28 06:02:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:02:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696459520001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:02:43] local.INFO: DEBUG: GPS processor result {"connection_id":163265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:02:43] local.INFO: GPS data processed {"connection_id":163265,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:02:43] local.INFO: Acknowledgment sent {"connection_id":163265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:03:14] local.INFO: TCP Data received {"connection_id":163265,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a045c77a40012d34c14006aa4840000100e62c..."} 
[2026-08-28 06:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045c77a40012d34c14006aa4840000100e62c..."} 
[2026-08-28 06:03:14] local.INFO: Processing buffer {"connection_id":163265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045c77a40012d34c14006aa4840000100e62c..."} 
[2026-08-28 06:03:14] local.INFO: Packet analysis {"connection_id":163265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045c7"} 
[2026-08-28 06:03:14] local.INFO: Extracted packet for processing {"connection_id":163265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045c7"} 
[2026-08-28 06:03:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":1,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06: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-28 06:03:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696459520001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:03:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:03:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06: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-28 06:03:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787877096000,"timestamp_ms":1787877096000,"timestamp_seconds":1787877096,"priority":1,"record_length":96,"hex_timestamp":"000001a045c77a40"} 
[2026-08-28 06: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-28 06:03:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06: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-28 06: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-28 06: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-28 06: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-28 06:03:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:03:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:03:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:03:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06: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-28 06:03:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:03:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:03:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696459520001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-28 06:03:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:03:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:03:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696459520001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:03:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:03:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06: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-28 06:03:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:03:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696459520001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:03:14] local.INFO: DEBUG: GPS processor result {"connection_id":163265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:03:14] local.INFO: GPS data processed {"connection_id":163265,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:03:14] local.INFO: Acknowledgment sent {"connection_id":163265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:03:32] local.INFO: TCP Data received {"connection_id":164524,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:03:32] local.INFO: Processing buffer {"connection_id":164524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:03:32] local.INFO: IMEI packet received {"connection_id":164524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 06:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":164524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:03:37] local.INFO: TCP Data received {"connection_id":164524,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:03:37] local.INFO: Processing buffer {"connection_id":164524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:03:37] local.INFO: IMEI packet received {"connection_id":164524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 06:03:37] local.INFO: IMEI acknowledgment sent {"connection_id":164524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 06:03:38] local.INFO: TCP Data received {"connection_id":164524,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a045c77a40012d34c14006aa4840000100e62c..."} 
[2026-08-28 06:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045c77a40012d34c14006aa4840000100e62c..."} 
[2026-08-28 06:03:38] local.INFO: Processing buffer {"connection_id":164524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045c77a40012d34c14006aa4840000100e62c..."} 
[2026-08-28 06:03:38] local.INFO: Packet analysis {"connection_id":164524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045c7"} 
[2026-08-28 06:03:38] local.INFO: Extracted packet for processing {"connection_id":164524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045c7"} 
[2026-08-28 06:03:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":1,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696459520001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:03:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787877096000,"timestamp_ms":1787877096000,"timestamp_seconds":1787877096,"priority":1,"record_length":96,"hex_timestamp":"000001a045c77a40"} 
[2026-08-28 06:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:03:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:03:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:03:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696459520001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-28 06:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696459520001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:03:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:03:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:03: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-28 06:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696459520001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":164524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:03:38] local.INFO: GPS data processed {"connection_id":164524,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:03:38] local.INFO: Acknowledgment sent {"connection_id":164524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:04:09] local.INFO: TCP Data received {"connection_id":164524,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a045c77a40012d34c14006aa4840000100e62c..."} 
[2026-08-28 06:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045c77a40012d34c14006aa4840000100e62c..."} 
[2026-08-28 06:04:09] local.INFO: Processing buffer {"connection_id":164524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045c77a40012d34c14006aa4840000100e62c..."} 
[2026-08-28 06:04:09] local.INFO: Packet analysis {"connection_id":164524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045c7"} 
[2026-08-28 06:04:09] local.INFO: Extracted packet for processing {"connection_id":164524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045c7"} 
[2026-08-28 06:04:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":1,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696459520001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:04:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:04:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787877096000,"timestamp_ms":1787877096000,"timestamp_seconds":1787877096,"priority":1,"record_length":96,"hex_timestamp":"000001a045c77a40"} 
[2026-08-28 06:04:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:04:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:04:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:04:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:04:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:04: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-28 06:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696459520001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-28 06:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696459520001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:04:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:04:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:04: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-28 06:04:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696459520001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":164524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:04:09] local.INFO: GPS data processed {"connection_id":164524,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:04:09] local.INFO: Acknowledgment sent {"connection_id":164524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:04:31] local.INFO: TCP Data received {"connection_id":164525,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:04:31] local.INFO: Processing buffer {"connection_id":164525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:04:31] local.INFO: IMEI packet received {"connection_id":164525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 06:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":164525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:04:37] local.INFO: TCP Data received {"connection_id":164525,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:04:37] local.INFO: Processing buffer {"connection_id":164525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:04:37] local.INFO: IMEI packet received {"connection_id":164525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 06:04:37] local.INFO: IMEI acknowledgment sent {"connection_id":164525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 06:04:38] local.INFO: TCP Data received {"connection_id":164525,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a045c77a40012d34c14006aa4840000100e62c..."} 
[2026-08-28 06:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045c77a40012d34c14006aa4840000100e62c..."} 
[2026-08-28 06:04:38] local.INFO: Processing buffer {"connection_id":164525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045c77a40012d34c14006aa4840000100e62c..."} 
[2026-08-28 06:04:38] local.INFO: Packet analysis {"connection_id":164525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045c7"} 
[2026-08-28 06:04:38] local.INFO: Extracted packet for processing {"connection_id":164525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045c7"} 
[2026-08-28 06:04:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":1,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696459520001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:04:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787877096000,"timestamp_ms":1787877096000,"timestamp_seconds":1787877096,"priority":1,"record_length":96,"hex_timestamp":"000001a045c77a40"} 
[2026-08-28 06:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:04:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:04:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:04:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:04:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696459520001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-28 06:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696459520001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:04:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:04:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:04: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-28 06:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696459520001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":164525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:04:38] local.INFO: GPS data processed {"connection_id":164525,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:04:38] local.INFO: Acknowledgment sent {"connection_id":164525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:05:09] local.INFO: TCP Data received {"connection_id":164525,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a045c77a40012d34c14006aa4840000100e62c..."} 
[2026-08-28 06:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045c77a40012d34c14006aa4840000100e62c..."} 
[2026-08-28 06:05:09] local.INFO: Processing buffer {"connection_id":164525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045c77a40012d34c14006aa4840000100e62c..."} 
[2026-08-28 06:05:09] local.INFO: Packet analysis {"connection_id":164525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045c7"} 
[2026-08-28 06:05:09] local.INFO: Extracted packet for processing {"connection_id":164525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045c7"} 
[2026-08-28 06:05:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":1,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696459520001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:05:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:05:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:05:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:05:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787877096000,"timestamp_ms":1787877096000,"timestamp_seconds":1787877096,"priority":1,"record_length":96,"hex_timestamp":"000001a045c77a40"} 
[2026-08-28 06:05:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:05:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:05:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:05:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:05:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:05:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:05:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:05:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:05:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:05: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-28 06:05:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:05:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:05:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696459520001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-28 06:05:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:05:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:05:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696459520001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:05:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:05:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:05: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-28 06:05:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:05:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696459520001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:05:09] local.INFO: DEBUG: GPS processor result {"connection_id":164525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:05:09] local.INFO: GPS data processed {"connection_id":164525,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:05:09] local.INFO: Acknowledgment sent {"connection_id":164525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:05:32] local.INFO: TCP Data received {"connection_id":163268,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:05:32] local.INFO: Processing buffer {"connection_id":163268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:05:32] local.INFO: IMEI packet received {"connection_id":163268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 06:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":163268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:05:37] local.INFO: TCP Data received {"connection_id":163268,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:05:37] local.INFO: Processing buffer {"connection_id":163268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:05:37] local.INFO: IMEI packet received {"connection_id":163268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 06:05:37] local.INFO: IMEI acknowledgment sent {"connection_id":163268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 06:05:38] local.INFO: TCP Data received {"connection_id":163268,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a045c77a40012d34c14006aa4840000100e62c..."} 
[2026-08-28 06:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045c77a40012d34c14006aa4840000100e62c..."} 
[2026-08-28 06:05:38] local.INFO: Processing buffer {"connection_id":163268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045c77a40012d34c14006aa4840000100e62c..."} 
[2026-08-28 06:05:38] local.INFO: Packet analysis {"connection_id":163268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045c7"} 
[2026-08-28 06:05:38] local.INFO: Extracted packet for processing {"connection_id":163268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045c7"} 
[2026-08-28 06:05:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":1,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696459520001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:05:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787877096000,"timestamp_ms":1787877096000,"timestamp_seconds":1787877096,"priority":1,"record_length":96,"hex_timestamp":"000001a045c77a40"} 
[2026-08-28 06:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:05:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:05:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:05:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:05:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696459520001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-28 06:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696459520001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:05:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:05:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:05: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-28 06:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696459520001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":163268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:05:38] local.INFO: GPS data processed {"connection_id":163268,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:05:38] local.INFO: Acknowledgment sent {"connection_id":163268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:06:09] local.INFO: TCP Data received {"connection_id":163268,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a045c77a40012d34c14006aa4840000100e62c..."} 
[2026-08-28 06:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045c77a40012d34c14006aa4840000100e62c..."} 
[2026-08-28 06:06:09] local.INFO: Processing buffer {"connection_id":163268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045c77a40012d34c14006aa4840000100e62c..."} 
[2026-08-28 06:06:09] local.INFO: Packet analysis {"connection_id":163268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045c7"} 
[2026-08-28 06:06:09] local.INFO: Extracted packet for processing {"connection_id":163268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045c7"} 
[2026-08-28 06:06:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":1,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696459520001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:06:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:06:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787877096000,"timestamp_ms":1787877096000,"timestamp_seconds":1787877096,"priority":1,"record_length":96,"hex_timestamp":"000001a045c77a40"} 
[2026-08-28 06:06:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:06:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:06:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:06:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:06:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:06: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-28 06:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696459520001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-28 06:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696459520001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:06:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:06:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:06: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-28 06:06:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696459520001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:06:09] local.INFO: DEBUG: GPS processor result {"connection_id":163268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:06:09] local.INFO: GPS data processed {"connection_id":163268,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:06:09] local.INFO: Acknowledgment sent {"connection_id":163268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:06:23] local.INFO: TCP Data received {"connection_id":163267,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 06:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163267,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 06:06:23] local.INFO: Processing buffer {"connection_id":163267,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 06:06:23] local.INFO: IMEI packet received {"connection_id":163267,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 06:06:23] local.INFO: IMEI acknowledgment sent {"connection_id":163267,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:06:37] local.INFO: TCP Data received {"connection_id":163529,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:06:37] local.INFO: Processing buffer {"connection_id":163529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:06:37] local.INFO: IMEI packet received {"connection_id":163529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 06:06:37] local.INFO: IMEI acknowledgment sent {"connection_id":163529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:06:42] local.INFO: TCP Data received {"connection_id":163529,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:06:42] local.INFO: Processing buffer {"connection_id":163529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:06:42] local.INFO: IMEI packet received {"connection_id":163529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 06:06:42] local.INFO: IMEI acknowledgment sent {"connection_id":163529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 06:06:43] local.INFO: TCP Data received {"connection_id":163529,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a045c77a40012d34c14006aa4840000100e62c..."} 
[2026-08-28 06:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045c77a40012d34c14006aa4840000100e62c..."} 
[2026-08-28 06:06:43] local.INFO: Processing buffer {"connection_id":163529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045c77a40012d34c14006aa4840000100e62c..."} 
[2026-08-28 06:06:43] local.INFO: Packet analysis {"connection_id":163529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045c7"} 
[2026-08-28 06:06:43] local.INFO: Extracted packet for processing {"connection_id":163529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045c7"} 
[2026-08-28 06:06:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":1,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06: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-28 06:06:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696459520001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:06:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:06:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06: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-28 06:06:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787877096000,"timestamp_ms":1787877096000,"timestamp_seconds":1787877096,"priority":1,"record_length":96,"hex_timestamp":"000001a045c77a40"} 
[2026-08-28 06: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-28 06:06:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06: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-28 06: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-28 06: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-28 06: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-28 06:06:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:06:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:06:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:06:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:06: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-28 06:06:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:06:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:06:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696459520001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-28 06:06:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:06:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:06:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696459520001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:06:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:06:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06: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-28 06:06:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:06:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696459520001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:06: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":706480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:06:43] local.INFO: GPS data processed {"connection_id":163529,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:06:43] local.INFO: Acknowledgment sent {"connection_id":163529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:07:14] local.INFO: TCP Data received {"connection_id":163529,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a045c77a40012d34c14006aa4840000100e62c..."} 
[2026-08-28 06:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045c77a40012d34c14006aa4840000100e62c..."} 
[2026-08-28 06:07:14] local.INFO: Processing buffer {"connection_id":163529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045c77a40012d34c14006aa4840000100e62c..."} 
[2026-08-28 06:07:14] local.INFO: Packet analysis {"connection_id":163529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045c7"} 
[2026-08-28 06:07:14] local.INFO: Extracted packet for processing {"connection_id":163529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045c7"} 
[2026-08-28 06:07:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":1,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06: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-28 06:07:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696459520001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:07:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:07:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06: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-28 06:07:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787877096000,"timestamp_ms":1787877096000,"timestamp_seconds":1787877096,"priority":1,"record_length":96,"hex_timestamp":"000001a045c77a40"} 
[2026-08-28 06: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-28 06:07:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06: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-28 06: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-28 06: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-28 06: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-28 06:07:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:07:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:07:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:07:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:07: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-28 06:07:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:07:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:07:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696459520001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-28 06:07:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:07:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:07:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696459520001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:07:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:07:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06: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-28 06:07:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:07:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696459520001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:07:14] 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":706481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:07:14] local.INFO: GPS data processed {"connection_id":163529,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:07:14] local.INFO: Acknowledgment sent {"connection_id":163529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:07:32] local.INFO: TCP Data received {"connection_id":163530,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:07:32] local.INFO: Processing buffer {"connection_id":163530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:07:32] local.INFO: IMEI packet received {"connection_id":163530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 06:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":163530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:07:36] local.INFO: TCP Data received {"connection_id":163530,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:07:36] local.INFO: Processing buffer {"connection_id":163530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:07:36] local.INFO: IMEI packet received {"connection_id":163530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 06:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":163530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 06:07:37] local.INFO: TCP Data received {"connection_id":163530,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a045cc1208012d34c14006aa4840000400e62c..."} 
[2026-08-28 06:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045cc1208012d34c14006aa4840000400e62c..."} 
[2026-08-28 06:07:37] local.INFO: Processing buffer {"connection_id":163530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045cc1208012d34c14006aa4840000400e62c..."} 
[2026-08-28 06:07:37] local.INFO: Packet analysis {"connection_id":163530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045cc"} 
[2026-08-28 06:07:37] local.INFO: Extracted packet for processing {"connection_id":163530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045cc"} 
[2026-08-28 06:07:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696536576001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787877397000,"timestamp_ms":1787877397000,"timestamp_seconds":1787877397,"priority":1,"record_length":96,"hex_timestamp":"000001a045cc1208"} 
[2026-08-28 06:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696536576001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-28 06:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696536576001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:07:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:07:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:07: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-28 06:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696536576001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:07:37] 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":706482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:07:37] local.INFO: GPS data processed {"connection_id":163530,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:07:37] local.INFO: Acknowledgment sent {"connection_id":163530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:08:08] local.INFO: TCP Data received {"connection_id":163530,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a045cc1208012d34c14006aa4840000400e62c..."} 
[2026-08-28 06:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045cc1208012d34c14006aa4840000400e62c..."} 
[2026-08-28 06:08:08] local.INFO: Processing buffer {"connection_id":163530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045cc1208012d34c14006aa4840000400e62c..."} 
[2026-08-28 06:08:08] local.INFO: Packet analysis {"connection_id":163530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045cc"} 
[2026-08-28 06:08:08] local.INFO: Extracted packet for processing {"connection_id":163530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045cc"} 
[2026-08-28 06:08:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696536576001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:08: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-28 06:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787877397000,"timestamp_ms":1787877397000,"timestamp_seconds":1787877397,"priority":1,"record_length":96,"hex_timestamp":"000001a045cc1208"} 
[2026-08-28 06:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:08:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:08:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:08:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:08: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-28 06:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696536576001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-28 06:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696536576001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:08:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:08:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:08: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-28 06:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696536576001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:08:08] 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":706483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:08:08] local.INFO: GPS data processed {"connection_id":163530,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:08:08] local.INFO: Acknowledgment sent {"connection_id":163530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:08:31] local.INFO: TCP Data received {"connection_id":163531,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:08:31] local.INFO: Processing buffer {"connection_id":163531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:08:31] local.INFO: IMEI packet received {"connection_id":163531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 06:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":163531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:08:37] local.INFO: TCP Data received {"connection_id":163531,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:08:37] local.INFO: Processing buffer {"connection_id":163531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:08:37] local.INFO: IMEI packet received {"connection_id":163531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 06:08:37] local.INFO: IMEI acknowledgment sent {"connection_id":163531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 06:08:38] local.INFO: TCP Data received {"connection_id":163531,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a045cc1208012d34c14006aa4840000400e62c..."} 
[2026-08-28 06:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045cc1208012d34c14006aa4840000400e62c..."} 
[2026-08-28 06:08:38] local.INFO: Processing buffer {"connection_id":163531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045cc1208012d34c14006aa4840000400e62c..."} 
[2026-08-28 06:08:38] local.INFO: Packet analysis {"connection_id":163531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045cc"} 
[2026-08-28 06:08:38] local.INFO: Extracted packet for processing {"connection_id":163531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045cc"} 
[2026-08-28 06:08:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696536576001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787877397000,"timestamp_ms":1787877397000,"timestamp_seconds":1787877397,"priority":1,"record_length":96,"hex_timestamp":"000001a045cc1208"} 
[2026-08-28 06:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:08:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696536576001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-28 06:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696536576001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:08:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:08:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:08: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-28 06:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696536576001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:08:38] 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":706484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:08:38] local.INFO: GPS data processed {"connection_id":163531,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:08:38] local.INFO: Acknowledgment sent {"connection_id":163531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:09:10] local.INFO: TCP Data received {"connection_id":163531,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a045cc1208012d34c14006aa4840000400e62c..."} 
[2026-08-28 06:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045cc1208012d34c14006aa4840000400e62c..."} 
[2026-08-28 06:09:10] local.INFO: Processing buffer {"connection_id":163531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045cc1208012d34c14006aa4840000400e62c..."} 
[2026-08-28 06:09:10] local.INFO: Packet analysis {"connection_id":163531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045cc"} 
[2026-08-28 06:09:10] local.INFO: Extracted packet for processing {"connection_id":163531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045cc"} 
[2026-08-28 06:09:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696536576001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:09:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787877397000,"timestamp_ms":1787877397000,"timestamp_seconds":1787877397,"priority":1,"record_length":96,"hex_timestamp":"000001a045cc1208"} 
[2026-08-28 06:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:09:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:09:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:09:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:09:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696536576001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-28 06:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696536576001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:09:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:09:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 06:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696536576001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:09:10] 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":706485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:09:10] local.INFO: GPS data processed {"connection_id":163531,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:09:10] local.INFO: Acknowledgment sent {"connection_id":163531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:09:31] local.INFO: TCP Data received {"connection_id":163532,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:09:31] local.INFO: Processing buffer {"connection_id":163532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:09:31] local.INFO: IMEI packet received {"connection_id":163532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 06:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":163532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:09:37] local.INFO: TCP Data received {"connection_id":163532,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:09:37] local.INFO: Processing buffer {"connection_id":163532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:09:37] local.INFO: IMEI packet received {"connection_id":163532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 06:09:37] local.INFO: IMEI acknowledgment sent {"connection_id":163532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 06:09:38] local.INFO: TCP Data received {"connection_id":163532,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a045cc1208012d34c14006aa4840000400e62c..."} 
[2026-08-28 06:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045cc1208012d34c14006aa4840000400e62c..."} 
[2026-08-28 06:09:38] local.INFO: Processing buffer {"connection_id":163532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045cc1208012d34c14006aa4840000400e62c..."} 
[2026-08-28 06:09:38] local.INFO: Packet analysis {"connection_id":163532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045cc"} 
[2026-08-28 06:09:38] local.INFO: Extracted packet for processing {"connection_id":163532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045cc"} 
[2026-08-28 06:09:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696536576001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787877397000,"timestamp_ms":1787877397000,"timestamp_seconds":1787877397,"priority":1,"record_length":96,"hex_timestamp":"000001a045cc1208"} 
[2026-08-28 06:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:09:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:09:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696536576001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-28 06:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696536576001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:09:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:09:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:09: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-28 06:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696536576001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:09:38] 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":706486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:09:38] local.INFO: GPS data processed {"connection_id":163532,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:09:38] local.INFO: Acknowledgment sent {"connection_id":163532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:10:09] local.INFO: TCP Data received {"connection_id":163532,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a045cc1208012d34c14006aa4840000400e62c..."} 
[2026-08-28 06:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045cc1208012d34c14006aa4840000400e62c..."} 
[2026-08-28 06:10:09] local.INFO: Processing buffer {"connection_id":163532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045cc1208012d34c14006aa4840000400e62c..."} 
[2026-08-28 06:10:09] local.INFO: Packet analysis {"connection_id":163532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045cc"} 
[2026-08-28 06:10:09] local.INFO: Extracted packet for processing {"connection_id":163532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045cc"} 
[2026-08-28 06:10:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696536576001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:10:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:10:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787877397000,"timestamp_ms":1787877397000,"timestamp_seconds":1787877397,"priority":1,"record_length":96,"hex_timestamp":"000001a045cc1208"} 
[2026-08-28 06:10:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:10:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:10:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:10:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:10:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:10: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-28 06:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696536576001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-28 06:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696536576001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:10:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:10:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:10: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-28 06:10:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696536576001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:10:09] 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":706487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:10:09] local.INFO: GPS data processed {"connection_id":163532,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:10:09] local.INFO: Acknowledgment sent {"connection_id":163532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:10:37] local.INFO: TCP Data received {"connection_id":163269,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:10:37] local.INFO: Processing buffer {"connection_id":163269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:10:37] local.INFO: IMEI packet received {"connection_id":163269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 06:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":163269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:10:42] local.INFO: TCP Data received {"connection_id":163269,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:10:42] local.INFO: Processing buffer {"connection_id":163269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:10:42] local.INFO: IMEI packet received {"connection_id":163269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 06:10:42] local.INFO: IMEI acknowledgment sent {"connection_id":163269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 06:10:43] local.INFO: TCP Data received {"connection_id":163269,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a045cc1208012d34c14006aa4840000400e62c..."} 
[2026-08-28 06:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045cc1208012d34c14006aa4840000400e62c..."} 
[2026-08-28 06:10:43] local.INFO: Processing buffer {"connection_id":163269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045cc1208012d34c14006aa4840000400e62c..."} 
[2026-08-28 06:10:43] local.INFO: Packet analysis {"connection_id":163269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045cc"} 
[2026-08-28 06:10:43] local.INFO: Extracted packet for processing {"connection_id":163269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045cc"} 
[2026-08-28 06:10:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06: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-28 06:10:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696536576001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:10:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:10:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06: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-28 06:10:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787877397000,"timestamp_ms":1787877397000,"timestamp_seconds":1787877397,"priority":1,"record_length":96,"hex_timestamp":"000001a045cc1208"} 
[2026-08-28 06: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-28 06:10:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:10: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-28 06: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-28 06: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-28 06:10:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:10:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:10:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:10:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:10: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-28 06:10:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:10:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:10:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696536576001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-28 06:10:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:10:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:10:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696536576001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:10:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:10:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06: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-28 06:10:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:10:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696536576001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:10:43] local.INFO: DEBUG: GPS processor result {"connection_id":163269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:10:43] local.INFO: GPS data processed {"connection_id":163269,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:10:43] local.INFO: Acknowledgment sent {"connection_id":163269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:10:47] local.INFO: TCP Data received {"connection_id":163269,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a045cc1208012d34c14006aa4840000400e62c..."} 
[2026-08-28 06:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045cc1208012d34c14006aa4840000400e62c..."} 
[2026-08-28 06:10:47] local.INFO: Processing buffer {"connection_id":163269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045cc1208012d34c14006aa4840000400e62c..."} 
[2026-08-28 06:10:47] local.INFO: Packet analysis {"connection_id":163269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045cc"} 
[2026-08-28 06:10:47] local.INFO: Extracted packet for processing {"connection_id":163269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045cc"} 
[2026-08-28 06:10:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06: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-28 06:10:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696536576001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:10:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:10:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06: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-28 06:10:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787877397000,"timestamp_ms":1787877397000,"timestamp_seconds":1787877397,"priority":1,"record_length":96,"hex_timestamp":"000001a045cc1208"} 
[2026-08-28 06: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-28 06:10:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:10: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-28 06: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-28 06: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-28 06:10:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:10:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:10:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:10:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06: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-28 06:10:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:10:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:10:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696536576001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-28 06:10:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:10:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:10:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696536576001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:10:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:10:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06: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-28 06:10:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:10:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696536576001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:10:47] local.INFO: DEBUG: GPS processor result {"connection_id":163269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:10:47] local.INFO: GPS data processed {"connection_id":163269,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:10:47] local.INFO: Acknowledgment sent {"connection_id":163269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:11:32] local.INFO: TCP Data received {"connection_id":165884,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:11:32] local.INFO: Processing buffer {"connection_id":165884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:11:32] local.INFO: IMEI packet received {"connection_id":165884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 06:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":165884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:11:37] local.INFO: TCP Data received {"connection_id":165884,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:11:37] local.INFO: Processing buffer {"connection_id":165884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:11:37] local.INFO: IMEI packet received {"connection_id":165884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 06:11:37] local.INFO: IMEI acknowledgment sent {"connection_id":165884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 06:11:38] local.INFO: TCP Data received {"connection_id":165884,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a045cc1208012d34c14006aa4840000400e62c..."} 
[2026-08-28 06:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045cc1208012d34c14006aa4840000400e62c..."} 
[2026-08-28 06:11:38] local.INFO: Processing buffer {"connection_id":165884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045cc1208012d34c14006aa4840000400e62c..."} 
[2026-08-28 06:11:38] local.INFO: Packet analysis {"connection_id":165884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045cc"} 
[2026-08-28 06:11:38] local.INFO: Extracted packet for processing {"connection_id":165884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045cc"} 
[2026-08-28 06:11:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696536576001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:11:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787877397000,"timestamp_ms":1787877397000,"timestamp_seconds":1787877397,"priority":1,"record_length":96,"hex_timestamp":"000001a045cc1208"} 
[2026-08-28 06:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:11:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:11:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:11:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":165884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":165884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":165884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696536576001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-28 06:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696536576001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:11:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:11:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:11: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-28 06:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696536576001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":165884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:11:38] local.INFO: GPS data processed {"connection_id":165884,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:11:38] local.INFO: Acknowledgment sent {"connection_id":165884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:11:58] local.INFO: TCP Data received {"connection_id":165883,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 06:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165883,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 06:11:58] local.INFO: Processing buffer {"connection_id":165883,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 06:11:58] local.INFO: IMEI packet received {"connection_id":165883,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 06:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":165883,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:12:09] local.INFO: TCP Data received {"connection_id":165884,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a045cc1208012d34c14006aa4840000400e62c..."} 
[2026-08-28 06:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045cc1208012d34c14006aa4840000400e62c..."} 
[2026-08-28 06:12:09] local.INFO: Processing buffer {"connection_id":165884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045cc1208012d34c14006aa4840000400e62c..."} 
[2026-08-28 06:12:09] local.INFO: Packet analysis {"connection_id":165884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045cc"} 
[2026-08-28 06:12:09] local.INFO: Extracted packet for processing {"connection_id":165884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045cc"} 
[2026-08-28 06:12:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":4,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06: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-28 06:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696536576001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:12:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787877397000,"timestamp_ms":1787877397000,"timestamp_seconds":1787877397,"priority":1,"record_length":96,"hex_timestamp":"000001a045cc1208"} 
[2026-08-28 06: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-28 06:12:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:12:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06: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-28 06: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-28 06:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":165884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":165884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":165884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:12: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-28 06:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696536576001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-28 06:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696536576001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:12:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:12:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:12: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-28 06:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696536576001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":165884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:12:09] local.INFO: GPS data processed {"connection_id":165884,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:12:09] local.INFO: Acknowledgment sent {"connection_id":165884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:12:32] local.INFO: TCP Data received {"connection_id":165885,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:12:32] local.INFO: Processing buffer {"connection_id":165885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:12:32] local.INFO: IMEI packet received {"connection_id":165885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 06:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":165885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:12:36] local.INFO: TCP Data received {"connection_id":165885,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:12:36] local.INFO: Processing buffer {"connection_id":165885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:12:36] local.INFO: IMEI packet received {"connection_id":165885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 06:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":165885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 06:12:37] local.INFO: TCP Data received {"connection_id":165885,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a045d0a9d0012d34c14006aa4840000200e62d..."} 
[2026-08-28 06:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045d0a9d0012d34c14006aa4840000200e62d..."} 
[2026-08-28 06:12:37] local.INFO: Processing buffer {"connection_id":165885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045d0a9d0012d34c14006aa4840000200e62d..."} 
[2026-08-28 06:12:37] local.INFO: Packet analysis {"connection_id":165885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045d0"} 
[2026-08-28 06:12:37] local.INFO: Extracted packet for processing {"connection_id":165885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045d0"} 
[2026-08-28 06:12:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":2,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696613632001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787877698000,"timestamp_ms":1787877698000,"timestamp_seconds":1787877698,"priority":1,"record_length":96,"hex_timestamp":"000001a045d0a9d0"} 
[2026-08-28 06:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:12:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:12:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":165885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":165885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":165885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696613632001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696613632001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:12:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:12:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:12: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-28 06:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696613632001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":165885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:12:37] local.INFO: GPS data processed {"connection_id":165885,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:12:37] local.INFO: Acknowledgment sent {"connection_id":165885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:13:09] local.INFO: TCP Data received {"connection_id":165885,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a045d0a9d0012d34c14006aa4840000200e62d..."} 
[2026-08-28 06:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045d0a9d0012d34c14006aa4840000200e62d..."} 
[2026-08-28 06:13:09] local.INFO: Processing buffer {"connection_id":165885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045d0a9d0012d34c14006aa4840000200e62d..."} 
[2026-08-28 06:13:09] local.INFO: Packet analysis {"connection_id":165885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045d0"} 
[2026-08-28 06:13:09] local.INFO: Extracted packet for processing {"connection_id":165885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045d0"} 
[2026-08-28 06:13:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":2,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696613632001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:13:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:13:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787877698000,"timestamp_ms":1787877698000,"timestamp_seconds":1787877698,"priority":1,"record_length":96,"hex_timestamp":"000001a045d0a9d0"} 
[2026-08-28 06:13:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:13:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:13:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:13:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:13:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":165885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":165885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":165885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:13:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696613632001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696613632001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:13:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:13:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:13: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-28 06:13:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696613632001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:13:09] local.INFO: DEBUG: GPS processor result {"connection_id":165885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:13:09] local.INFO: GPS data processed {"connection_id":165885,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:13:09] local.INFO: Acknowledgment sent {"connection_id":165885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:13:31] local.INFO: TCP Data received {"connection_id":163270,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:13:31] local.INFO: Processing buffer {"connection_id":163270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:13:31] local.INFO: IMEI packet received {"connection_id":163270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 06:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":163270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:13:37] local.INFO: TCP Data received {"connection_id":163270,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:13:37] local.INFO: Processing buffer {"connection_id":163270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:13:37] local.INFO: IMEI packet received {"connection_id":163270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 06:13:37] local.INFO: IMEI acknowledgment sent {"connection_id":163270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 06:13:37] local.INFO: TCP Data received {"connection_id":163270,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a045d0a9d0012d34c14006aa4840000200e62d..."} 
[2026-08-28 06:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045d0a9d0012d34c14006aa4840000200e62d..."} 
[2026-08-28 06:13:37] local.INFO: Processing buffer {"connection_id":163270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045d0a9d0012d34c14006aa4840000200e62d..."} 
[2026-08-28 06:13:37] local.INFO: Packet analysis {"connection_id":163270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045d0"} 
[2026-08-28 06:13:37] local.INFO: Extracted packet for processing {"connection_id":163270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045d0"} 
[2026-08-28 06:13:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":2,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696613632001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787877698000,"timestamp_ms":1787877698000,"timestamp_seconds":1787877698,"priority":1,"record_length":96,"hex_timestamp":"000001a045d0a9d0"} 
[2026-08-28 06:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696613632001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696613632001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:13:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:13:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:13: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-28 06:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696613632001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":163270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:13:37] local.INFO: GPS data processed {"connection_id":163270,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:13:37] local.INFO: Acknowledgment sent {"connection_id":163270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:14:09] local.INFO: TCP Data received {"connection_id":163270,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a045d0a9d0012d34c14006aa4840000200e62d..."} 
[2026-08-28 06:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045d0a9d0012d34c14006aa4840000200e62d..."} 
[2026-08-28 06:14:09] local.INFO: Processing buffer {"connection_id":163270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045d0a9d0012d34c14006aa4840000200e62d..."} 
[2026-08-28 06:14:09] local.INFO: Packet analysis {"connection_id":163270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045d0"} 
[2026-08-28 06:14:09] local.INFO: Extracted packet for processing {"connection_id":163270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045d0"} 
[2026-08-28 06:14:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":2,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696613632001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:14:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787877698000,"timestamp_ms":1787877698000,"timestamp_seconds":1787877698,"priority":1,"record_length":96,"hex_timestamp":"000001a045d0a9d0"} 
[2026-08-28 06:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:14:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:14:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:14:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696613632001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696613632001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:14:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:14:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:14: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-28 06:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696613632001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":163270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:14:09] local.INFO: GPS data processed {"connection_id":163270,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:14:09] local.INFO: Acknowledgment sent {"connection_id":163270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:14:31] local.INFO: TCP Data received {"connection_id":164526,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:14:31] local.INFO: Processing buffer {"connection_id":164526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:14:31] local.INFO: IMEI packet received {"connection_id":164526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 06:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":164526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:14:37] local.INFO: TCP Data received {"connection_id":164526,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:14:37] local.INFO: Processing buffer {"connection_id":164526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:14:37] local.INFO: IMEI packet received {"connection_id":164526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 06:14:37] local.INFO: IMEI acknowledgment sent {"connection_id":164526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 06:14:37] local.INFO: TCP Data received {"connection_id":164526,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a045d0a9d0012d34c14006aa4840000200e62d..."} 
[2026-08-28 06:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045d0a9d0012d34c14006aa4840000200e62d..."} 
[2026-08-28 06:14:37] local.INFO: Processing buffer {"connection_id":164526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045d0a9d0012d34c14006aa4840000200e62d..."} 
[2026-08-28 06:14:37] local.INFO: Packet analysis {"connection_id":164526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045d0"} 
[2026-08-28 06:14:37] local.INFO: Extracted packet for processing {"connection_id":164526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045d0"} 
[2026-08-28 06:14:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":2,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696613632001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787877698000,"timestamp_ms":1787877698000,"timestamp_seconds":1787877698,"priority":1,"record_length":96,"hex_timestamp":"000001a045d0a9d0"} 
[2026-08-28 06:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:14:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:14:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696613632001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696613632001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:14:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:14:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:14: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-28 06:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696613632001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":164526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:14:37] local.INFO: GPS data processed {"connection_id":164526,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:14:37] local.INFO: Acknowledgment sent {"connection_id":164526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:15:09] local.INFO: TCP Data received {"connection_id":164526,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a045d0a9d0012d34c14006aa4840000200e62d..."} 
[2026-08-28 06:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045d0a9d0012d34c14006aa4840000200e62d..."} 
[2026-08-28 06:15:09] local.INFO: Processing buffer {"connection_id":164526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045d0a9d0012d34c14006aa4840000200e62d..."} 
[2026-08-28 06:15:09] local.INFO: Packet analysis {"connection_id":164526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045d0"} 
[2026-08-28 06:15:09] local.INFO: Extracted packet for processing {"connection_id":164526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045d0"} 
[2026-08-28 06:15:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":2,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696613632001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:15:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:15:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787877698000,"timestamp_ms":1787877698000,"timestamp_seconds":1787877698,"priority":1,"record_length":96,"hex_timestamp":"000001a045d0a9d0"} 
[2026-08-28 06:15:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:15:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:15:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:15:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:15:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:15:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696613632001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696613632001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:15:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:15:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:15: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-28 06:15:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696613632001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":164526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:15:09] local.INFO: GPS data processed {"connection_id":164526,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:15:09] local.INFO: Acknowledgment sent {"connection_id":164526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:15:37] local.INFO: TCP Data received {"connection_id":163534,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:15:37] local.INFO: Processing buffer {"connection_id":163534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:15:37] local.INFO: IMEI packet received {"connection_id":163534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 06:15:37] local.INFO: IMEI acknowledgment sent {"connection_id":163534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:15:42] local.INFO: TCP Data received {"connection_id":163534,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:15:42] local.INFO: Processing buffer {"connection_id":163534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:15:42] local.INFO: IMEI packet received {"connection_id":163534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 06:15:42] local.INFO: IMEI acknowledgment sent {"connection_id":163534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 06:15:43] local.INFO: TCP Data received {"connection_id":163534,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a045d0a9d0012d34c14006aa4840000200e62d..."} 
[2026-08-28 06:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045d0a9d0012d34c14006aa4840000200e62d..."} 
[2026-08-28 06:15:43] local.INFO: Processing buffer {"connection_id":163534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045d0a9d0012d34c14006aa4840000200e62d..."} 
[2026-08-28 06:15:43] local.INFO: Packet analysis {"connection_id":163534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045d0"} 
[2026-08-28 06:15:43] local.INFO: Extracted packet for processing {"connection_id":163534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045d0"} 
[2026-08-28 06:15:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":2,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06: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-28 06:15:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696613632001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:15:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:15:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06: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-28 06:15:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787877698000,"timestamp_ms":1787877698000,"timestamp_seconds":1787877698,"priority":1,"record_length":96,"hex_timestamp":"000001a045d0a9d0"} 
[2026-08-28 06: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-28 06:15:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06: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":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:15: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-28 06: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-28 06: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-28 06:15:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:15:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:15:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:15:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:15: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-28 06:15:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:15:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:15:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696613632001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:15:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:15:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:15:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696613632001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:15:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:15:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06: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-28 06:15:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:15:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696613632001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:15: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":706498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:15:43] local.INFO: GPS data processed {"connection_id":163534,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:15:43] local.INFO: Acknowledgment sent {"connection_id":163534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:15:47] local.INFO: TCP Data received {"connection_id":163534,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a045d0a9d0012d34c14006aa4840000200e62d..."} 
[2026-08-28 06:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045d0a9d0012d34c14006aa4840000200e62d..."} 
[2026-08-28 06:15:47] local.INFO: Processing buffer {"connection_id":163534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045d0a9d0012d34c14006aa4840000200e62d..."} 
[2026-08-28 06:15:47] local.INFO: Packet analysis {"connection_id":163534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045d0"} 
[2026-08-28 06:15:47] local.INFO: Extracted packet for processing {"connection_id":163534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045d0"} 
[2026-08-28 06:15:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":2,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06: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-28 06:15:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696613632001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:15:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:15:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06: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-28 06:15:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787877698000,"timestamp_ms":1787877698000,"timestamp_seconds":1787877698,"priority":1,"record_length":96,"hex_timestamp":"000001a045d0a9d0"} 
[2026-08-28 06: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-28 06:15:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:15: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-28 06: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-28 06: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-28 06:15:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:15:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:15:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:15:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:15: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-28 06:15:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:15:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:15:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696613632001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:15:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:15:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:15:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696613632001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:15:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:15:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06: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-28 06:15:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:15:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696613632001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:15:47] 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":706499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:15:47] local.INFO: GPS data processed {"connection_id":163534,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:15:47] local.INFO: Acknowledgment sent {"connection_id":163534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:16:32] local.INFO: TCP Data received {"connection_id":164527,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:16:32] local.INFO: Processing buffer {"connection_id":164527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:16:32] local.INFO: IMEI packet received {"connection_id":164527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 06:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":164527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:16:37] local.INFO: TCP Data received {"connection_id":164527,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:16:37] local.INFO: Processing buffer {"connection_id":164527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:16:37] local.INFO: IMEI packet received {"connection_id":164527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 06:16:37] local.INFO: IMEI acknowledgment sent {"connection_id":164527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 06:16:38] local.INFO: TCP Data received {"connection_id":164527,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a045d0a9d0012d34c14006aa4840000200e62d..."} 
[2026-08-28 06:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045d0a9d0012d34c14006aa4840000200e62d..."} 
[2026-08-28 06:16:38] local.INFO: Processing buffer {"connection_id":164527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045d0a9d0012d34c14006aa4840000200e62d..."} 
[2026-08-28 06:16:38] local.INFO: Packet analysis {"connection_id":164527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045d0"} 
[2026-08-28 06:16:38] local.INFO: Extracted packet for processing {"connection_id":164527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045d0"} 
[2026-08-28 06:16:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":2,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696613632001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:16:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:16:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787877698000,"timestamp_ms":1787877698000,"timestamp_seconds":1787877698,"priority":1,"record_length":96,"hex_timestamp":"000001a045d0a9d0"} 
[2026-08-28 06:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:16:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:16:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:16:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:16:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696613632001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696613632001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:16:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:16:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:16: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-28 06:16:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696613632001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":164527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:16:38] local.INFO: GPS data processed {"connection_id":164527,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:16:38] local.INFO: Acknowledgment sent {"connection_id":164527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:17:09] local.INFO: TCP Data received {"connection_id":164527,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a045d0a9d0012d34c14006aa4840000200e62d..."} 
[2026-08-28 06:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045d0a9d0012d34c14006aa4840000200e62d..."} 
[2026-08-28 06:17:09] local.INFO: Processing buffer {"connection_id":164527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045d0a9d0012d34c14006aa4840000200e62d..."} 
[2026-08-28 06:17:09] local.INFO: Packet analysis {"connection_id":164527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045d0"} 
[2026-08-28 06:17:09] local.INFO: Extracted packet for processing {"connection_id":164527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045d0"} 
[2026-08-28 06:17:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":2,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696613632001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:17:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:17:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787877698000,"timestamp_ms":1787877698000,"timestamp_seconds":1787877698,"priority":1,"record_length":96,"hex_timestamp":"000001a045d0a9d0"} 
[2026-08-28 06:17:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:17:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:17:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:17:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:17:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:17: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-28 06:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696613632001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696613632001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:17:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:17:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:17: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-28 06:17:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:17:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696613632001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:17:09] local.INFO: DEBUG: GPS processor result {"connection_id":164527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:17:09] local.INFO: GPS data processed {"connection_id":164527,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:17:09] local.INFO: Acknowledgment sent {"connection_id":164527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:17:32] local.INFO: TCP Data received {"connection_id":164528,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:17:32] local.INFO: Processing buffer {"connection_id":164528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:17:32] local.INFO: IMEI packet received {"connection_id":164528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 06:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":164528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:17:33] local.INFO: TCP Data received {"connection_id":163533,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 06:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163533,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 06:17:33] local.INFO: Processing buffer {"connection_id":163533,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 06:17:33] local.INFO: IMEI packet received {"connection_id":163533,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 06:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":163533,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:17:37] local.INFO: TCP Data received {"connection_id":164528,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:17:37] local.INFO: Processing buffer {"connection_id":164528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:17:37] local.INFO: IMEI packet received {"connection_id":164528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 06:17:37] local.INFO: IMEI acknowledgment sent {"connection_id":164528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 06:17:38] local.INFO: TCP Data received {"connection_id":164528,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a045d54198012d34c14006aa4840000100e62b..."} 
[2026-08-28 06:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045d54198012d34c14006aa4840000100e62b..."} 
[2026-08-28 06:17:38] local.INFO: Processing buffer {"connection_id":164528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045d54198012d34c14006aa4840000100e62b..."} 
[2026-08-28 06:17:38] local.INFO: Packet analysis {"connection_id":164528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045d5"} 
[2026-08-28 06:17:38] local.INFO: Extracted packet for processing {"connection_id":164528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045d5"} 
[2026-08-28 06:17:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":1,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696690688001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787877999000,"timestamp_ms":1787877999000,"timestamp_seconds":1787877999,"priority":1,"record_length":96,"hex_timestamp":"000001a045d54198"} 
[2026-08-28 06:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:17:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:17:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:17:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696690688001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696690688001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:17:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:17:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:17: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-28 06:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696690688001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":164528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:17:38] local.INFO: GPS data processed {"connection_id":164528,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:17:38] local.INFO: Acknowledgment sent {"connection_id":164528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:17:57] local.INFO: TCP Data received {"connection_id":163535,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 06:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163535,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 06:17:57] local.INFO: Processing buffer {"connection_id":163535,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 06:17:57] local.INFO: IMEI packet received {"connection_id":163535,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 06:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":163535,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:18:09] local.INFO: TCP Data received {"connection_id":164528,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a045d54198012d34c14006aa4840000100e62b..."} 
[2026-08-28 06:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045d54198012d34c14006aa4840000100e62b..."} 
[2026-08-28 06:18:09] local.INFO: Processing buffer {"connection_id":164528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045d54198012d34c14006aa4840000100e62b..."} 
[2026-08-28 06:18:09] local.INFO: Packet analysis {"connection_id":164528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045d5"} 
[2026-08-28 06:18:09] local.INFO: Extracted packet for processing {"connection_id":164528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045d5"} 
[2026-08-28 06:18:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":1,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:18:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696690688001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:18:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:18:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:18:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:18:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787877999000,"timestamp_ms":1787877999000,"timestamp_seconds":1787877999,"priority":1,"record_length":96,"hex_timestamp":"000001a045d54198"} 
[2026-08-28 06:18:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:18:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:18:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:18:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:18:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:18:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:18:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:18:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:18:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:18: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-28 06:18:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:18:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:18:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696690688001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:18:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:18:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:18:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696690688001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:18:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:18:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:18: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-28 06:18:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:18:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696690688001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:18:09] local.INFO: DEBUG: GPS processor result {"connection_id":164528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:18:09] local.INFO: GPS data processed {"connection_id":164528,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:18:09] local.INFO: Acknowledgment sent {"connection_id":164528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:18:31] local.INFO: TCP Data received {"connection_id":164529,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:18:31] local.INFO: Processing buffer {"connection_id":164529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:18:31] local.INFO: IMEI packet received {"connection_id":164529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 06:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":164529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:18:37] local.INFO: TCP Data received {"connection_id":164529,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:18:37] local.INFO: Processing buffer {"connection_id":164529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:18:37] local.INFO: IMEI packet received {"connection_id":164529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 06:18:37] local.INFO: IMEI acknowledgment sent {"connection_id":164529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 06:18:37] local.INFO: TCP Data received {"connection_id":164529,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a045d54198012d34c14006aa4840000100e62b..."} 
[2026-08-28 06:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045d54198012d34c14006aa4840000100e62b..."} 
[2026-08-28 06:18:37] local.INFO: Processing buffer {"connection_id":164529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045d54198012d34c14006aa4840000100e62b..."} 
[2026-08-28 06:18:37] local.INFO: Packet analysis {"connection_id":164529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045d5"} 
[2026-08-28 06:18:37] local.INFO: Extracted packet for processing {"connection_id":164529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045d5"} 
[2026-08-28 06:18:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":1,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696690688001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787877999000,"timestamp_ms":1787877999000,"timestamp_seconds":1787877999,"priority":1,"record_length":96,"hex_timestamp":"000001a045d54198"} 
[2026-08-28 06:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696690688001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696690688001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:18:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:18:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:18: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-28 06:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696690688001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":164529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:18:37] local.INFO: GPS data processed {"connection_id":164529,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:18:37] local.INFO: Acknowledgment sent {"connection_id":164529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:19:09] local.INFO: TCP Data received {"connection_id":164529,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a045d54198012d34c14006aa4840000100e62b..."} 
[2026-08-28 06:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045d54198012d34c14006aa4840000100e62b..."} 
[2026-08-28 06:19:09] local.INFO: Processing buffer {"connection_id":164529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045d54198012d34c14006aa4840000100e62b..."} 
[2026-08-28 06:19:09] local.INFO: Packet analysis {"connection_id":164529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045d5"} 
[2026-08-28 06:19:09] local.INFO: Extracted packet for processing {"connection_id":164529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045d5"} 
[2026-08-28 06:19:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":1,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696690688001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787877999000,"timestamp_ms":1787877999000,"timestamp_seconds":1787877999,"priority":1,"record_length":96,"hex_timestamp":"000001a045d54198"} 
[2026-08-28 06:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:19:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:19:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:19:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696690688001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696690688001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:19:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:19:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:19: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-28 06:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696690688001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":164529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:19:09] local.INFO: GPS data processed {"connection_id":164529,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:19:09] local.INFO: Acknowledgment sent {"connection_id":164529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:19:31] local.INFO: TCP Data received {"connection_id":165887,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:19:31] local.INFO: Processing buffer {"connection_id":165887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:19:31] local.INFO: IMEI packet received {"connection_id":165887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 06:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":165887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:19:37] local.INFO: TCP Data received {"connection_id":165887,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:19:37] local.INFO: Processing buffer {"connection_id":165887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:19:37] local.INFO: IMEI packet received {"connection_id":165887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 06:19:37] local.INFO: IMEI acknowledgment sent {"connection_id":165887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 06:19:37] local.INFO: TCP Data received {"connection_id":165887,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a045d54198012d34c14006aa4840000100e62b..."} 
[2026-08-28 06:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045d54198012d34c14006aa4840000100e62b..."} 
[2026-08-28 06:19:37] local.INFO: Processing buffer {"connection_id":165887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045d54198012d34c14006aa4840000100e62b..."} 
[2026-08-28 06:19:37] local.INFO: Packet analysis {"connection_id":165887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045d5"} 
[2026-08-28 06:19:37] local.INFO: Extracted packet for processing {"connection_id":165887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045d5"} 
[2026-08-28 06:19:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":1,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696690688001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787877999000,"timestamp_ms":1787877999000,"timestamp_seconds":1787877999,"priority":1,"record_length":96,"hex_timestamp":"000001a045d54198"} 
[2026-08-28 06:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":165887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":165887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":165887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:19: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-28 06:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696690688001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696690688001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:19:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:19:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:19: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-28 06:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696690688001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":165887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:19:37] local.INFO: GPS data processed {"connection_id":165887,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:19:37] local.INFO: Acknowledgment sent {"connection_id":165887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:20:09] local.INFO: TCP Data received {"connection_id":165887,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a045d54198012d34c14006aa4840000100e62b..."} 
[2026-08-28 06:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045d54198012d34c14006aa4840000100e62b..."} 
[2026-08-28 06:20:09] local.INFO: Processing buffer {"connection_id":165887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045d54198012d34c14006aa4840000100e62b..."} 
[2026-08-28 06:20:09] local.INFO: Packet analysis {"connection_id":165887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045d5"} 
[2026-08-28 06:20:09] local.INFO: Extracted packet for processing {"connection_id":165887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045d5"} 
[2026-08-28 06:20:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":1,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696690688001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:20:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787877999000,"timestamp_ms":1787877999000,"timestamp_seconds":1787877999,"priority":1,"record_length":96,"hex_timestamp":"000001a045d54198"} 
[2026-08-28 06:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:20:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:20:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":165887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":165887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":165887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:20: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-28 06:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696690688001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696690688001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:20:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:20:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:20: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-28 06:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696690688001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":165887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:20:09] local.INFO: GPS data processed {"connection_id":165887,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:20:09] local.INFO: Acknowledgment sent {"connection_id":165887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:20:31] local.INFO: TCP Data received {"connection_id":164530,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:20:31] local.INFO: Processing buffer {"connection_id":164530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:20:31] local.INFO: IMEI packet received {"connection_id":164530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 06:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":164530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:20:36] local.INFO: TCP Data received {"connection_id":164530,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:20:37] local.INFO: Processing buffer {"connection_id":164530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:20:37] local.INFO: IMEI packet received {"connection_id":164530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 06:20:37] local.INFO: IMEI acknowledgment sent {"connection_id":164530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 06:20:37] local.INFO: TCP Data received {"connection_id":164530,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a045d54198012d34c14006aa4840000100e62b..."} 
[2026-08-28 06:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045d54198012d34c14006aa4840000100e62b..."} 
[2026-08-28 06:20:37] local.INFO: Processing buffer {"connection_id":164530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045d54198012d34c14006aa4840000100e62b..."} 
[2026-08-28 06:20:37] local.INFO: Packet analysis {"connection_id":164530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045d5"} 
[2026-08-28 06:20:37] local.INFO: Extracted packet for processing {"connection_id":164530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045d5"} 
[2026-08-28 06:20:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":1,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696690688001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787877999000,"timestamp_ms":1787877999000,"timestamp_seconds":1787877999,"priority":1,"record_length":96,"hex_timestamp":"000001a045d54198"} 
[2026-08-28 06:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696690688001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696690688001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:20:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:20:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:20: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-28 06:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696690688001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":164530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:20:37] local.INFO: GPS data processed {"connection_id":164530,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:20:37] local.INFO: Acknowledgment sent {"connection_id":164530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:21:09] local.INFO: TCP Data received {"connection_id":164530,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a045d54198012d34c14006aa4840000100e62b..."} 
[2026-08-28 06:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045d54198012d34c14006aa4840000100e62b..."} 
[2026-08-28 06:21:09] local.INFO: Processing buffer {"connection_id":164530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045d54198012d34c14006aa4840000100e62b..."} 
[2026-08-28 06:21:09] local.INFO: Packet analysis {"connection_id":164530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045d5"} 
[2026-08-28 06:21:09] local.INFO: Extracted packet for processing {"connection_id":164530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045d5"} 
[2026-08-28 06:21:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":1,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696690688001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:21:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787877999000,"timestamp_ms":1787877999000,"timestamp_seconds":1787877999,"priority":1,"record_length":96,"hex_timestamp":"000001a045d54198"} 
[2026-08-28 06:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:21:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:21:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:21:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696690688001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696690688001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:21:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:21:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:21: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-28 06:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696690688001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":164530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:21:09] local.INFO: GPS data processed {"connection_id":164530,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:21:09] local.INFO: Acknowledgment sent {"connection_id":164530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:21:37] local.INFO: TCP Data received {"connection_id":163271,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:21:37] local.INFO: Processing buffer {"connection_id":163271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:21:37] local.INFO: IMEI packet received {"connection_id":163271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 06:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":163271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:21:42] local.INFO: TCP Data received {"connection_id":163271,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:21:42] local.INFO: Processing buffer {"connection_id":163271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:21:42] local.INFO: IMEI packet received {"connection_id":163271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 06:21:42] local.INFO: IMEI acknowledgment sent {"connection_id":163271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 06:21:42] local.INFO: TCP Data received {"connection_id":163271,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a045d54198012d34c14006aa4840000100e62b..."} 
[2026-08-28 06:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045d54198012d34c14006aa4840000100e62b..."} 
[2026-08-28 06:21:42] local.INFO: Processing buffer {"connection_id":163271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045d54198012d34c14006aa4840000100e62b..."} 
[2026-08-28 06:21:42] local.INFO: Packet analysis {"connection_id":163271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045d5"} 
[2026-08-28 06:21:42] local.INFO: Extracted packet for processing {"connection_id":163271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045d5"} 
[2026-08-28 06:21:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":1,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06: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-28 06:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696690688001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:21:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06: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-28 06:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787877999000,"timestamp_ms":1787877999000,"timestamp_seconds":1787877999,"priority":1,"record_length":96,"hex_timestamp":"000001a045d54198"} 
[2026-08-28 06: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-28 06:21:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:21: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-28 06: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-28 06: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-28 06:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06: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-28 06:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696690688001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696690688001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:21:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:21:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06: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-28 06:21:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696690688001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":163271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:21:42] local.INFO: GPS data processed {"connection_id":163271,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:21:42] local.INFO: Acknowledgment sent {"connection_id":163271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:21:47] local.INFO: TCP Data received {"connection_id":163271,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a045d54198012d34c14006aa4840000100e62b..."} 
[2026-08-28 06:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045d54198012d34c14006aa4840000100e62b..."} 
[2026-08-28 06:21:47] local.INFO: Processing buffer {"connection_id":163271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045d54198012d34c14006aa4840000100e62b..."} 
[2026-08-28 06:21:47] local.INFO: Packet analysis {"connection_id":163271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045d5"} 
[2026-08-28 06:21:47] local.INFO: Extracted packet for processing {"connection_id":163271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045d5"} 
[2026-08-28 06:21:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":1,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696690688001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:21:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:21: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-28 06:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787877999000,"timestamp_ms":1787877999000,"timestamp_seconds":1787877999,"priority":1,"record_length":96,"hex_timestamp":"000001a045d54198"} 
[2026-08-28 06:21:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:21:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:21: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-28 06:21:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:21:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:21: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-28 06:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696690688001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696690688001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:21:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:21:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:21: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-28 06:21:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696690688001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":163271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:21:47] local.INFO: GPS data processed {"connection_id":163271,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:21:47] local.INFO: Acknowledgment sent {"connection_id":163271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:22:32] local.INFO: TCP Data received {"connection_id":164531,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:22:32] local.INFO: Processing buffer {"connection_id":164531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:22:32] local.INFO: IMEI packet received {"connection_id":164531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 06:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":164531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:22:37] local.INFO: TCP Data received {"connection_id":164531,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:22:37] local.INFO: Processing buffer {"connection_id":164531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:22:37] local.INFO: IMEI packet received {"connection_id":164531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 06:22:37] local.INFO: IMEI acknowledgment sent {"connection_id":164531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 06:22:38] local.INFO: TCP Data received {"connection_id":164531,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a045d9d960012d34c14006aa4840000500e62c..."} 
[2026-08-28 06:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045d9d960012d34c14006aa4840000500e62c..."} 
[2026-08-28 06:22:38] local.INFO: Processing buffer {"connection_id":164531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045d9d960012d34c14006aa4840000500e62c..."} 
[2026-08-28 06:22:38] local.INFO: Packet analysis {"connection_id":164531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045d9"} 
[2026-08-28 06:22:38] local.INFO: Extracted packet for processing {"connection_id":164531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045d9"} 
[2026-08-28 06:22:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696767744001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:22:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787878300000,"timestamp_ms":1787878300000,"timestamp_seconds":1787878300,"priority":1,"record_length":96,"hex_timestamp":"000001a045d9d960"} 
[2026-08-28 06:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:22:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:22:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696767744001,"66":25223,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696767744001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:22:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:22:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:22: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-28 06:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696767744001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":164531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:22:38] local.INFO: GPS data processed {"connection_id":164531,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:22:38] local.INFO: Acknowledgment sent {"connection_id":164531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:23:09] local.INFO: TCP Data received {"connection_id":164531,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a045d9d960012d34c14006aa4840000500e62c..."} 
[2026-08-28 06:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045d9d960012d34c14006aa4840000500e62c..."} 
[2026-08-28 06:23:09] local.INFO: Processing buffer {"connection_id":164531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045d9d960012d34c14006aa4840000500e62c..."} 
[2026-08-28 06:23:09] local.INFO: Packet analysis {"connection_id":164531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045d9"} 
[2026-08-28 06:23:09] local.INFO: Extracted packet for processing {"connection_id":164531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045d9"} 
[2026-08-28 06:23:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696767744001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:23:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:23:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787878300000,"timestamp_ms":1787878300000,"timestamp_seconds":1787878300,"priority":1,"record_length":96,"hex_timestamp":"000001a045d9d960"} 
[2026-08-28 06:23:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:23:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:23:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:23:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:23:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:23:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696767744001,"66":25223,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696767744001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:23:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:23:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:23: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-28 06:23:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696767744001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":164531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:23:09] local.INFO: GPS data processed {"connection_id":164531,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:23:09] local.INFO: Acknowledgment sent {"connection_id":164531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:23:31] local.INFO: TCP Data received {"connection_id":163537,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:23:31] local.INFO: Processing buffer {"connection_id":163537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:23:31] local.INFO: IMEI packet received {"connection_id":163537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 06:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":163537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:23:37] local.INFO: TCP Data received {"connection_id":163537,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:23:37] local.INFO: Processing buffer {"connection_id":163537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:23:37] local.INFO: IMEI packet received {"connection_id":163537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 06:23:37] local.INFO: IMEI acknowledgment sent {"connection_id":163537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 06:23:38] local.INFO: TCP Data received {"connection_id":163537,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a045d9d960012d34c14006aa4840000500e62c..."} 
[2026-08-28 06:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045d9d960012d34c14006aa4840000500e62c..."} 
[2026-08-28 06:23:38] local.INFO: Processing buffer {"connection_id":163537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045d9d960012d34c14006aa4840000500e62c..."} 
[2026-08-28 06:23:38] local.INFO: Packet analysis {"connection_id":163537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045d9"} 
[2026-08-28 06:23:38] local.INFO: Extracted packet for processing {"connection_id":163537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045d9"} 
[2026-08-28 06:23:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696767744001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:23:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:23:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787878300000,"timestamp_ms":1787878300000,"timestamp_seconds":1787878300,"priority":1,"record_length":96,"hex_timestamp":"000001a045d9d960"} 
[2026-08-28 06:23:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:23:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:23:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:23:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:23:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:23:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696767744001,"66":25223,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696767744001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:23:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:23:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:23: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-28 06:23:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696767744001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:23:38] 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":706514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:23:38] local.INFO: GPS data processed {"connection_id":163537,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:23:38] local.INFO: Acknowledgment sent {"connection_id":163537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:23:42] local.INFO: TCP Data received {"connection_id":163536,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 06:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163536,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 06:23:42] local.INFO: Processing buffer {"connection_id":163536,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 06:23:42] local.INFO: IMEI packet received {"connection_id":163536,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 06:23:42] local.INFO: IMEI acknowledgment sent {"connection_id":163536,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:24:09] local.INFO: TCP Data received {"connection_id":163537,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a045d9d960012d34c14006aa4840000500e62c..."} 
[2026-08-28 06:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045d9d960012d34c14006aa4840000500e62c..."} 
[2026-08-28 06:24:09] local.INFO: Processing buffer {"connection_id":163537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045d9d960012d34c14006aa4840000500e62c..."} 
[2026-08-28 06:24:09] local.INFO: Packet analysis {"connection_id":163537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045d9"} 
[2026-08-28 06:24:09] local.INFO: Extracted packet for processing {"connection_id":163537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045d9"} 
[2026-08-28 06:24:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696767744001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:24:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:24:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787878300000,"timestamp_ms":1787878300000,"timestamp_seconds":1787878300,"priority":1,"record_length":96,"hex_timestamp":"000001a045d9d960"} 
[2026-08-28 06:24:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:24:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:24:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:24:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:24:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:24:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696767744001,"66":25223,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696767744001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:24:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:24:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:24: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-28 06:24:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696767744001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:24:09] 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":706515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:24:09] local.INFO: GPS data processed {"connection_id":163537,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:24:09] local.INFO: Acknowledgment sent {"connection_id":163537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:24:31] local.INFO: TCP Data received {"connection_id":164532,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:24:31] local.INFO: Processing buffer {"connection_id":164532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:24:31] local.INFO: IMEI packet received {"connection_id":164532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 06:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":164532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:24:37] local.INFO: TCP Data received {"connection_id":164532,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:24:37] local.INFO: Processing buffer {"connection_id":164532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:24:37] local.INFO: IMEI packet received {"connection_id":164532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 06:24:37] local.INFO: IMEI acknowledgment sent {"connection_id":164532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 06:24:37] local.INFO: TCP Data received {"connection_id":164532,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a045d9d960012d34c14006aa4840000500e62c..."} 
[2026-08-28 06:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045d9d960012d34c14006aa4840000500e62c..."} 
[2026-08-28 06:24:37] local.INFO: Processing buffer {"connection_id":164532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045d9d960012d34c14006aa4840000500e62c..."} 
[2026-08-28 06:24:37] local.INFO: Packet analysis {"connection_id":164532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045d9"} 
[2026-08-28 06:24:37] local.INFO: Extracted packet for processing {"connection_id":164532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045d9"} 
[2026-08-28 06:24:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696767744001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787878300000,"timestamp_ms":1787878300000,"timestamp_seconds":1787878300,"priority":1,"record_length":96,"hex_timestamp":"000001a045d9d960"} 
[2026-08-28 06:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:24:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696767744001,"66":25223,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696767744001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:24:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:24:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:24: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-28 06:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696767744001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":164532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:24:37] local.INFO: GPS data processed {"connection_id":164532,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:24:37] local.INFO: Acknowledgment sent {"connection_id":164532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:25:10] local.INFO: TCP Data received {"connection_id":164532,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a045d9d960012d34c14006aa4840000500e62c..."} 
[2026-08-28 06:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045d9d960012d34c14006aa4840000500e62c..."} 
[2026-08-28 06:25:10] local.INFO: Processing buffer {"connection_id":164532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045d9d960012d34c14006aa4840000500e62c..."} 
[2026-08-28 06:25:10] local.INFO: Packet analysis {"connection_id":164532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045d9"} 
[2026-08-28 06:25:10] local.INFO: Extracted packet for processing {"connection_id":164532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045d9"} 
[2026-08-28 06:25:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696767744001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:25:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787878300000,"timestamp_ms":1787878300000,"timestamp_seconds":1787878300,"priority":1,"record_length":96,"hex_timestamp":"000001a045d9d960"} 
[2026-08-28 06:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:25:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:25:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:25:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":164532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":164532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":164532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:25:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696767744001,"66":25223,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696767744001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:25:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:25:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 06:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696767744001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":164532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:25:10] local.INFO: GPS data processed {"connection_id":164532,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:25:10] local.INFO: Acknowledgment sent {"connection_id":164532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:25:37] local.INFO: TCP Data received {"connection_id":165888,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:25:37] local.INFO: Processing buffer {"connection_id":165888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:25:37] local.INFO: IMEI packet received {"connection_id":165888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 06:25:37] local.INFO: IMEI acknowledgment sent {"connection_id":165888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:25:42] local.INFO: TCP Data received {"connection_id":165888,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:25:42] local.INFO: Processing buffer {"connection_id":165888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:25:42] local.INFO: IMEI packet received {"connection_id":165888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 06:25:42] local.INFO: IMEI acknowledgment sent {"connection_id":165888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 06:25:43] local.INFO: TCP Data received {"connection_id":165888,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a045d9d960012d34c14006aa4840000500e62c..."} 
[2026-08-28 06:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045d9d960012d34c14006aa4840000500e62c..."} 
[2026-08-28 06:25:43] local.INFO: Processing buffer {"connection_id":165888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045d9d960012d34c14006aa4840000500e62c..."} 
[2026-08-28 06:25:43] local.INFO: Packet analysis {"connection_id":165888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045d9"} 
[2026-08-28 06:25:43] local.INFO: Extracted packet for processing {"connection_id":165888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045d9"} 
[2026-08-28 06:25:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06: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-28 06:25:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696767744001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:25:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:25:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06: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-28 06:25:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787878300000,"timestamp_ms":1787878300000,"timestamp_seconds":1787878300,"priority":1,"record_length":96,"hex_timestamp":"000001a045d9d960"} 
[2026-08-28 06: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-28 06:25:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:25: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-28 06: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-28 06: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-28 06:25:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:25:43] local.INFO: Teltonika packet parsed successfully {"connection_id":165888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:25:43] local.INFO: Passing IMEI to GPS processor {"connection_id":165888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:25:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":165888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:25: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-28 06:25:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:25:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:25:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696767744001,"66":25223,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:25:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:25:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:25:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696767744001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:25:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:25:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06: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-28 06:25:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:25:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696767744001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:25:43] local.INFO: DEBUG: GPS processor result {"connection_id":165888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:25:43] local.INFO: GPS data processed {"connection_id":165888,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:25:43] local.INFO: Acknowledgment sent {"connection_id":165888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:25:47] local.INFO: TCP Data received {"connection_id":165888,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a045d9d960012d34c14006aa4840000500e62c..."} 
[2026-08-28 06:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045d9d960012d34c14006aa4840000500e62c..."} 
[2026-08-28 06:25:47] local.INFO: Processing buffer {"connection_id":165888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045d9d960012d34c14006aa4840000500e62c..."} 
[2026-08-28 06:25:47] local.INFO: Packet analysis {"connection_id":165888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045d9"} 
[2026-08-28 06:25:47] local.INFO: Extracted packet for processing {"connection_id":165888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045d9"} 
[2026-08-28 06:25:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06: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-28 06:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696767744001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:25:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06: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-28 06:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787878300000,"timestamp_ms":1787878300000,"timestamp_seconds":1787878300,"priority":1,"record_length":96,"hex_timestamp":"000001a045d9d960"} 
[2026-08-28 06: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-28 06:25:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06: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":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:25: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-28 06: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-28 06: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-28 06:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":165888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":165888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":165888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06: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-28 06:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696767744001,"66":25223,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696767744001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:25:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:25:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06: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-28 06:25:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696767744001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":165888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:25:47] local.INFO: GPS data processed {"connection_id":165888,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:25:47] local.INFO: Acknowledgment sent {"connection_id":165888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:26:31] local.INFO: TCP Data received {"connection_id":163538,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:26:31] local.INFO: Processing buffer {"connection_id":163538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:26:31] local.INFO: IMEI packet received {"connection_id":163538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 06:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":163538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:26:37] local.INFO: TCP Data received {"connection_id":163538,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:26:37] local.INFO: Processing buffer {"connection_id":163538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:26:37] local.INFO: IMEI packet received {"connection_id":163538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 06:26:37] local.INFO: IMEI acknowledgment sent {"connection_id":163538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 06:26:37] local.INFO: TCP Data received {"connection_id":163538,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a045d9d960012d34c14006aa4840000500e62c..."} 
[2026-08-28 06:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045d9d960012d34c14006aa4840000500e62c..."} 
[2026-08-28 06:26:37] local.INFO: Processing buffer {"connection_id":163538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045d9d960012d34c14006aa4840000500e62c..."} 
[2026-08-28 06:26:37] local.INFO: Packet analysis {"connection_id":163538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045d9"} 
[2026-08-28 06:26:37] local.INFO: Extracted packet for processing {"connection_id":163538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045d9"} 
[2026-08-28 06:26:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696767744001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787878300000,"timestamp_ms":1787878300000,"timestamp_seconds":1787878300,"priority":1,"record_length":96,"hex_timestamp":"000001a045d9d960"} 
[2026-08-28 06:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696767744001,"66":25223,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-28 06:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696767744001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:26:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:26:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:26: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-28 06:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696767744001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:26:37] 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":706520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:26:37] local.INFO: GPS data processed {"connection_id":163538,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:26:37] local.INFO: Acknowledgment sent {"connection_id":163538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:27:32] local.INFO: TCP Data received {"connection_id":164533,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:27:32] local.INFO: Processing buffer {"connection_id":164533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:27:32] local.INFO: IMEI packet received {"connection_id":164533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 06:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":164533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:27:37] local.INFO: TCP Data received {"connection_id":164533,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:27:37] local.INFO: Processing buffer {"connection_id":164533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:27:37] local.INFO: IMEI packet received {"connection_id":164533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 06:27:37] local.INFO: IMEI acknowledgment sent {"connection_id":164533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 06:27:38] local.INFO: TCP Data received {"connection_id":164533,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a045de7128012d34c14006aa4840000500e62d..."} 
[2026-08-28 06:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045de7128012d34c14006aa4840000500e62d..."} 
[2026-08-28 06:27:38] local.INFO: Processing buffer {"connection_id":164533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045de7128012d34c14006aa4840000500e62d..."} 
[2026-08-28 06:27:38] local.INFO: Packet analysis {"connection_id":164533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045de"} 
[2026-08-28 06:27:38] local.INFO: Extracted packet for processing {"connection_id":164533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045de"} 
[2026-08-28 06:27:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:27:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696844800001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:27:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:27:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:27:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:27:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787878601000,"timestamp_ms":1787878601000,"timestamp_seconds":1787878601,"priority":1,"record_length":96,"hex_timestamp":"000001a045de7128"} 
[2026-08-28 06:27:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:27:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 06:27:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:27:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:27:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:27:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:27:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:27:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:27:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:27:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:27:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:27:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:27:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696844800001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:27:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:27:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:27:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696844800001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:27:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:27:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:27: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-28 06:27:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:27:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696844800001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:27:38] local.INFO: DEBUG: GPS processor result {"connection_id":164533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:27:38] local.INFO: GPS data processed {"connection_id":164533,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:27:38] local.INFO: Acknowledgment sent {"connection_id":164533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:28:09] local.INFO: TCP Data received {"connection_id":164533,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a045de7128012d34c14006aa4840000500e62d..."} 
[2026-08-28 06:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045de7128012d34c14006aa4840000500e62d..."} 
[2026-08-28 06:28:09] local.INFO: Processing buffer {"connection_id":164533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045de7128012d34c14006aa4840000500e62d..."} 
[2026-08-28 06:28:09] local.INFO: Packet analysis {"connection_id":164533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045de"} 
[2026-08-28 06:28:09] local.INFO: Extracted packet for processing {"connection_id":164533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045de"} 
[2026-08-28 06:28:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696844800001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787878601000,"timestamp_ms":1787878601000,"timestamp_seconds":1787878601,"priority":1,"record_length":96,"hex_timestamp":"000001a045de7128"} 
[2026-08-28 06:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 06:28:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:28:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:28:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696844800001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696844800001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:28:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:28:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:28: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-28 06:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696844800001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":164533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:28:09] local.INFO: GPS data processed {"connection_id":164533,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:28:09] local.INFO: Acknowledgment sent {"connection_id":164533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:28:32] local.INFO: TCP Data received {"connection_id":165889,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:28:32] local.INFO: Processing buffer {"connection_id":165889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:28:32] local.INFO: IMEI packet received {"connection_id":165889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 06:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":165889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:28:37] local.INFO: TCP Data received {"connection_id":165889,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:28:37] local.INFO: Processing buffer {"connection_id":165889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:28:37] local.INFO: IMEI packet received {"connection_id":165889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 06:28:37] local.INFO: IMEI acknowledgment sent {"connection_id":165889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 06:28:37] local.INFO: TCP Data received {"connection_id":165889,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a045de7128012d34c14006aa4840000500e62d..."} 
[2026-08-28 06:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045de7128012d34c14006aa4840000500e62d..."} 
[2026-08-28 06:28:37] local.INFO: Processing buffer {"connection_id":165889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045de7128012d34c14006aa4840000500e62d..."} 
[2026-08-28 06:28:37] local.INFO: Packet analysis {"connection_id":165889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045de"} 
[2026-08-28 06:28:37] local.INFO: Extracted packet for processing {"connection_id":165889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045de"} 
[2026-08-28 06:28:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696844800001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787878601000,"timestamp_ms":1787878601000,"timestamp_seconds":1787878601,"priority":1,"record_length":96,"hex_timestamp":"000001a045de7128"} 
[2026-08-28 06:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 06:28:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":165889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":165889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":165889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696844800001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696844800001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:28:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:28:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:28: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-28 06:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696844800001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":165889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:28:37] local.INFO: GPS data processed {"connection_id":165889,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:28:37] local.INFO: Acknowledgment sent {"connection_id":165889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:29:12] local.INFO: TCP Data received {"connection_id":165889,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a045de7128012d34c14006aa4840000500e62d..."} 
[2026-08-28 06:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045de7128012d34c14006aa4840000500e62d..."} 
[2026-08-28 06:29:12] local.INFO: Processing buffer {"connection_id":165889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045de7128012d34c14006aa4840000500e62d..."} 
[2026-08-28 06:29:12] local.INFO: Packet analysis {"connection_id":165889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045de"} 
[2026-08-28 06:29:12] local.INFO: Extracted packet for processing {"connection_id":165889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045de"} 
[2026-08-28 06:29:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:29:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696844800001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:29:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:29:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:29: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-28 06:29:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787878601000,"timestamp_ms":1787878601000,"timestamp_seconds":1787878601,"priority":1,"record_length":96,"hex_timestamp":"000001a045de7128"} 
[2026-08-28 06:29:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:29:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 06:29:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:29:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:29:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:29:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:29:12] local.INFO: Teltonika packet parsed successfully {"connection_id":165889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:29:12] local.INFO: Passing IMEI to GPS processor {"connection_id":165889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:29:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":165889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:29:12] 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-28 06:29:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:29:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:29:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696844800001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:29:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:29:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:29:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696844800001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:29:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:29:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:29: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-28 06:29:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:29:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696844800001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:29:12] local.INFO: DEBUG: GPS processor result {"connection_id":165889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:29:12] local.INFO: GPS data processed {"connection_id":165889,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:29:12] local.INFO: Acknowledgment sent {"connection_id":165889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:29:30] local.INFO: TCP Data received {"connection_id":163272,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 06:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163272,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 06:29:30] local.INFO: Processing buffer {"connection_id":163272,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 06:29:30] local.INFO: IMEI packet received {"connection_id":163272,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 06:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":163272,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:29:31] local.INFO: TCP Data received {"connection_id":164534,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:29:31] local.INFO: Processing buffer {"connection_id":164534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:29:31] local.INFO: IMEI packet received {"connection_id":164534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 06:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":164534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:29:37] local.INFO: TCP Data received {"connection_id":164534,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:29:37] local.INFO: Processing buffer {"connection_id":164534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:29:37] local.INFO: IMEI packet received {"connection_id":164534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 06:29:37] local.INFO: IMEI acknowledgment sent {"connection_id":164534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 06:29:38] local.INFO: TCP Data received {"connection_id":164534,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a045de7128012d34c14006aa4840000500e62d..."} 
[2026-08-28 06:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045de7128012d34c14006aa4840000500e62d..."} 
[2026-08-28 06:29:38] local.INFO: Processing buffer {"connection_id":164534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045de7128012d34c14006aa4840000500e62d..."} 
[2026-08-28 06:29:38] local.INFO: Packet analysis {"connection_id":164534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045de"} 
[2026-08-28 06:29:38] local.INFO: Extracted packet for processing {"connection_id":164534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045de"} 
[2026-08-28 06:29:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696844800001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:29:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:29:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:29:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787878601000,"timestamp_ms":1787878601000,"timestamp_seconds":1787878601,"priority":1,"record_length":96,"hex_timestamp":"000001a045de7128"} 
[2026-08-28 06:29:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:29:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 06:29:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:29:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:29:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:29:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:29:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:29:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:29:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:29:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:29:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:29:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696844800001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:29:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:29:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:29:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696844800001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:29:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:29:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:29: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-28 06:29:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:29:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696844800001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:29:38] local.INFO: DEBUG: GPS processor result {"connection_id":164534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:29:38] local.INFO: GPS data processed {"connection_id":164534,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:29:38] local.INFO: Acknowledgment sent {"connection_id":164534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:30:10] local.INFO: TCP Data received {"connection_id":164534,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a045de7128012d34c14006aa4840000500e62d..."} 
[2026-08-28 06:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045de7128012d34c14006aa4840000500e62d..."} 
[2026-08-28 06:30:10] local.INFO: Processing buffer {"connection_id":164534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045de7128012d34c14006aa4840000500e62d..."} 
[2026-08-28 06:30:10] local.INFO: Packet analysis {"connection_id":164534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045de"} 
[2026-08-28 06:30:10] local.INFO: Extracted packet for processing {"connection_id":164534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045de"} 
[2026-08-28 06:30:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696844800001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:30:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787878601000,"timestamp_ms":1787878601000,"timestamp_seconds":1787878601,"priority":1,"record_length":96,"hex_timestamp":"000001a045de7128"} 
[2026-08-28 06:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:30:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 06:30:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:30:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":164534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":164534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":164534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:30:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696844800001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696844800001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:30:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:30:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 06:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696844800001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":164534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:30:10] local.INFO: GPS data processed {"connection_id":164534,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:30:10] local.INFO: Acknowledgment sent {"connection_id":164534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:30:31] local.INFO: TCP Data received {"connection_id":163273,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:30:31] local.INFO: Processing buffer {"connection_id":163273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:30:31] local.INFO: IMEI packet received {"connection_id":163273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 06:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":163273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:30:37] local.INFO: TCP Data received {"connection_id":163273,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:30:37] local.INFO: Processing buffer {"connection_id":163273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:30:37] local.INFO: IMEI packet received {"connection_id":163273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 06:30:37] local.INFO: IMEI acknowledgment sent {"connection_id":163273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 06:30:37] local.INFO: TCP Data received {"connection_id":163273,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a045de7128012d34c14006aa4840000500e62d..."} 
[2026-08-28 06:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045de7128012d34c14006aa4840000500e62d..."} 
[2026-08-28 06:30:37] local.INFO: Processing buffer {"connection_id":163273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045de7128012d34c14006aa4840000500e62d..."} 
[2026-08-28 06:30:37] local.INFO: Packet analysis {"connection_id":163273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045de"} 
[2026-08-28 06:30:37] local.INFO: Extracted packet for processing {"connection_id":163273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045de"} 
[2026-08-28 06:30:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696844800001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787878601000,"timestamp_ms":1787878601000,"timestamp_seconds":1787878601,"priority":1,"record_length":96,"hex_timestamp":"000001a045de7128"} 
[2026-08-28 06:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 06:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696844800001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696844800001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:30:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:30:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:30: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-28 06:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696844800001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":163273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:30:37] local.INFO: GPS data processed {"connection_id":163273,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:30:37] local.INFO: Acknowledgment sent {"connection_id":163273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:31:19] local.INFO: TCP Data received {"connection_id":163273,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a045de7128012d34c14006aa4840000500e62d..."} 
[2026-08-28 06:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045de7128012d34c14006aa4840000500e62d..."} 
[2026-08-28 06:31:19] local.INFO: Processing buffer {"connection_id":163273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045de7128012d34c14006aa4840000500e62d..."} 
[2026-08-28 06:31:19] local.INFO: Packet analysis {"connection_id":163273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045de"} 
[2026-08-28 06:31:19] local.INFO: Extracted packet for processing {"connection_id":163273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045de"} 
[2026-08-28 06:31:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:31:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:31:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696844800001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:31:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:31:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:31: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-28 06:31:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787878601000,"timestamp_ms":1787878601000,"timestamp_seconds":1787878601,"priority":1,"record_length":96,"hex_timestamp":"000001a045de7128"} 
[2026-08-28 06:31:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:31:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:31:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 06:31:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:31:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:31:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:31:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:31:19] local.INFO: Teltonika packet parsed successfully {"connection_id":163273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:31:19] local.INFO: Passing IMEI to GPS processor {"connection_id":163273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:31:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":163273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:31:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:31:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:31:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:31:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696844800001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:31:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:31:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:31:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696844800001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:31:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:31:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:31: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-28 06:31:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:31:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696844800001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:31:19] local.INFO: DEBUG: GPS processor result {"connection_id":163273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:31:19] local.INFO: GPS data processed {"connection_id":163273,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:31:19] local.INFO: Acknowledgment sent {"connection_id":163273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:31:31] local.INFO: TCP Data received {"connection_id":164535,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:31:31] local.INFO: Processing buffer {"connection_id":164535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:31:31] local.INFO: IMEI packet received {"connection_id":164535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 06:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":164535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:31:37] local.INFO: TCP Data received {"connection_id":164535,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:31:37] local.INFO: Processing buffer {"connection_id":164535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:31:37] local.INFO: IMEI packet received {"connection_id":164535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 06:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":164535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 06:31:37] local.INFO: TCP Data received {"connection_id":164535,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a045de7128012d34c14006aa4840000500e62d..."} 
[2026-08-28 06:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045de7128012d34c14006aa4840000500e62d..."} 
[2026-08-28 06:31:37] local.INFO: Processing buffer {"connection_id":164535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045de7128012d34c14006aa4840000500e62d..."} 
[2026-08-28 06:31:37] local.INFO: Packet analysis {"connection_id":164535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045de"} 
[2026-08-28 06:31:37] local.INFO: Extracted packet for processing {"connection_id":164535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045de"} 
[2026-08-28 06:31:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696844800001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:31:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787878601000,"timestamp_ms":1787878601000,"timestamp_seconds":1787878601,"priority":1,"record_length":96,"hex_timestamp":"000001a045de7128"} 
[2026-08-28 06:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:31:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 06:31:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:31:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:31:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696844800001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696844800001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:31:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:31:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:31: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-28 06:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696844800001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":164535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:31:37] local.INFO: GPS data processed {"connection_id":164535,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:31:37] local.INFO: Acknowledgment sent {"connection_id":164535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:32:09] local.INFO: TCP Data received {"connection_id":164535,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a045de7128012d34c14006aa4840000500e62d..."} 
[2026-08-28 06:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045de7128012d34c14006aa4840000500e62d..."} 
[2026-08-28 06:32:09] local.INFO: Processing buffer {"connection_id":164535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045de7128012d34c14006aa4840000500e62d..."} 
[2026-08-28 06:32:09] local.INFO: Packet analysis {"connection_id":164535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045de"} 
[2026-08-28 06:32:09] local.INFO: Extracted packet for processing {"connection_id":164535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045de"} 
[2026-08-28 06:32:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06: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-28 06:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696844800001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:32:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:32:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787878601000,"timestamp_ms":1787878601000,"timestamp_seconds":1787878601,"priority":1,"record_length":96,"hex_timestamp":"000001a045de7128"} 
[2026-08-28 06: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-28 06:32:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 06:32:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06: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-28 06: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-28 06:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:32:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696844800001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696844800001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:32:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:32:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:32: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-28 06:32:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696844800001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":164535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:32:09] local.INFO: GPS data processed {"connection_id":164535,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:32:09] local.INFO: Acknowledgment sent {"connection_id":164535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:32:37] local.INFO: TCP Data received {"connection_id":164536,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:32:37] local.INFO: Processing buffer {"connection_id":164536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:32:37] local.INFO: IMEI packet received {"connection_id":164536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 06:32:37] local.INFO: IMEI acknowledgment sent {"connection_id":164536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:32:42] local.INFO: TCP Data received {"connection_id":164536,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:32:42] local.INFO: Processing buffer {"connection_id":164536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:32:42] local.INFO: IMEI packet received {"connection_id":164536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 06:32:42] local.INFO: IMEI acknowledgment sent {"connection_id":164536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 06:32:43] local.INFO: TCP Data received {"connection_id":164536,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a045e308f0012d34c14006aa4840000300e62d..."} 
[2026-08-28 06:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045e308f0012d34c14006aa4840000300e62d..."} 
[2026-08-28 06:32:43] local.INFO: Processing buffer {"connection_id":164536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045e308f0012d34c14006aa4840000300e62d..."} 
[2026-08-28 06:32:43] local.INFO: Packet analysis {"connection_id":164536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045e3"} 
[2026-08-28 06:32:43] local.INFO: Extracted packet for processing {"connection_id":164536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045e3"} 
[2026-08-28 06:32:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06: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-28 06:32:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696921856001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:32:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:32:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06: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-28 06:32:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787878902000,"timestamp_ms":1787878902000,"timestamp_seconds":1787878902,"priority":1,"record_length":96,"hex_timestamp":"000001a045e308f0"} 
[2026-08-28 06: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-28 06:32:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:32: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-28 06: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-28 06: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-28 06:32:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:32:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:32:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:32:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:32: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-28 06:32:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:32:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:32:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696921856001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:32:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:32:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:32:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696921856001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:32:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:32:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06: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-28 06:32:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:32:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696921856001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:32:43] local.INFO: DEBUG: GPS processor result {"connection_id":164536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:32:43] local.INFO: GPS data processed {"connection_id":164536,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:32:43] local.INFO: Acknowledgment sent {"connection_id":164536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:32:47] local.INFO: TCP Data received {"connection_id":164536,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a045e308f0012d34c14006aa4840000300e62d..."} 
[2026-08-28 06:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045e308f0012d34c14006aa4840000300e62d..."} 
[2026-08-28 06:32:47] local.INFO: Processing buffer {"connection_id":164536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045e308f0012d34c14006aa4840000300e62d..."} 
[2026-08-28 06:32:47] local.INFO: Packet analysis {"connection_id":164536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045e3"} 
[2026-08-28 06:32:47] local.INFO: Extracted packet for processing {"connection_id":164536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045e3"} 
[2026-08-28 06:32:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06: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-28 06:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696921856001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:32:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06: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-28 06:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787878902000,"timestamp_ms":1787878902000,"timestamp_seconds":1787878902,"priority":1,"record_length":96,"hex_timestamp":"000001a045e308f0"} 
[2026-08-28 06: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-28 06:32:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:32: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-28 06: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-28 06: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-28 06:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:32:47] 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-28 06:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696921856001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696921856001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:32:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:32:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06: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-28 06:32:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696921856001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":164536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:32:47] local.INFO: GPS data processed {"connection_id":164536,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:32:47] local.INFO: Acknowledgment sent {"connection_id":164536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:33:31] local.INFO: TCP Data received {"connection_id":164537,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:33:31] local.INFO: Processing buffer {"connection_id":164537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:33:31] local.INFO: IMEI packet received {"connection_id":164537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 06:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":164537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:33:37] local.INFO: TCP Data received {"connection_id":164537,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:33:37] local.INFO: Processing buffer {"connection_id":164537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:33:37] local.INFO: IMEI packet received {"connection_id":164537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 06:33:37] local.INFO: IMEI acknowledgment sent {"connection_id":164537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 06:33:37] local.INFO: TCP Data received {"connection_id":164537,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a045e308f0012d34c14006aa4840000300e62d..."} 
[2026-08-28 06:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045e308f0012d34c14006aa4840000300e62d..."} 
[2026-08-28 06:33:37] local.INFO: Processing buffer {"connection_id":164537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045e308f0012d34c14006aa4840000300e62d..."} 
[2026-08-28 06:33:37] local.INFO: Packet analysis {"connection_id":164537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045e3"} 
[2026-08-28 06:33:37] local.INFO: Extracted packet for processing {"connection_id":164537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045e3"} 
[2026-08-28 06:33:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696921856001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787878902000,"timestamp_ms":1787878902000,"timestamp_seconds":1787878902,"priority":1,"record_length":96,"hex_timestamp":"000001a045e308f0"} 
[2026-08-28 06:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:33:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696921856001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696921856001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:33:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:33:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:33: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-28 06:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696921856001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":164537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:33:37] local.INFO: GPS data processed {"connection_id":164537,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:33:37] local.INFO: Acknowledgment sent {"connection_id":164537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:34:09] local.INFO: TCP Data received {"connection_id":164537,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a045e308f0012d34c14006aa4840000300e62d..."} 
[2026-08-28 06:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045e308f0012d34c14006aa4840000300e62d..."} 
[2026-08-28 06:34:09] local.INFO: Processing buffer {"connection_id":164537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045e308f0012d34c14006aa4840000300e62d..."} 
[2026-08-28 06:34:09] local.INFO: Packet analysis {"connection_id":164537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045e3"} 
[2026-08-28 06:34:09] local.INFO: Extracted packet for processing {"connection_id":164537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045e3"} 
[2026-08-28 06:34:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696921856001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:34:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787878902000,"timestamp_ms":1787878902000,"timestamp_seconds":1787878902,"priority":1,"record_length":96,"hex_timestamp":"000001a045e308f0"} 
[2026-08-28 06:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:34:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:34:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:34:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:34:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696921856001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696921856001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:34:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:34:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:34: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-28 06:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696921856001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":164537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:34:09] local.INFO: GPS data processed {"connection_id":164537,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:34:09] local.INFO: Acknowledgment sent {"connection_id":164537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:34:31] local.INFO: TCP Data received {"connection_id":163275,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:34:31] local.INFO: Processing buffer {"connection_id":163275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:34:31] local.INFO: IMEI packet received {"connection_id":163275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 06:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":163275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:34:37] local.INFO: TCP Data received {"connection_id":163275,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:34:37] local.INFO: Processing buffer {"connection_id":163275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:34:37] local.INFO: IMEI packet received {"connection_id":163275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 06:34:37] local.INFO: IMEI acknowledgment sent {"connection_id":163275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 06:34:38] local.INFO: TCP Data received {"connection_id":163275,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a045e308f0012d34c14006aa4840000300e62d..."} 
[2026-08-28 06:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045e308f0012d34c14006aa4840000300e62d..."} 
[2026-08-28 06:34:38] local.INFO: Processing buffer {"connection_id":163275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045e308f0012d34c14006aa4840000300e62d..."} 
[2026-08-28 06:34:38] local.INFO: Packet analysis {"connection_id":163275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045e3"} 
[2026-08-28 06:34:38] local.INFO: Extracted packet for processing {"connection_id":163275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045e3"} 
[2026-08-28 06:34:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696921856001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:34:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787878902000,"timestamp_ms":1787878902000,"timestamp_seconds":1787878902,"priority":1,"record_length":96,"hex_timestamp":"000001a045e308f0"} 
[2026-08-28 06:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:34:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:34:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:34:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:34:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696921856001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696921856001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:34:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:34:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:34: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-28 06:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696921856001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":163275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:34:38] local.INFO: GPS data processed {"connection_id":163275,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:34:38] local.INFO: Acknowledgment sent {"connection_id":163275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:34:52] local.INFO: TCP Data received {"connection_id":163274,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 06:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163274,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 06:34:52] local.INFO: Processing buffer {"connection_id":163274,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 06:34:52] local.INFO: IMEI packet received {"connection_id":163274,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 06:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":163274,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:35:09] local.INFO: TCP Data received {"connection_id":163275,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a045e308f0012d34c14006aa4840000300e62d..."} 
[2026-08-28 06:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045e308f0012d34c14006aa4840000300e62d..."} 
[2026-08-28 06:35:10] local.INFO: Processing buffer {"connection_id":163275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045e308f0012d34c14006aa4840000300e62d..."} 
[2026-08-28 06:35:10] local.INFO: Packet analysis {"connection_id":163275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045e3"} 
[2026-08-28 06:35:10] local.INFO: Extracted packet for processing {"connection_id":163275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045e3"} 
[2026-08-28 06:35:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696921856001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:35:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787878902000,"timestamp_ms":1787878902000,"timestamp_seconds":1787878902,"priority":1,"record_length":96,"hex_timestamp":"000001a045e308f0"} 
[2026-08-28 06:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:35:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:35:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:35:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:35:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696921856001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696921856001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:35:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:35:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 06:35:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696921856001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":163275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:35:10] local.INFO: GPS data processed {"connection_id":163275,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:35:10] local.INFO: Acknowledgment sent {"connection_id":163275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:35:31] local.INFO: TCP Data received {"connection_id":163539,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:35:31] local.INFO: Processing buffer {"connection_id":163539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:35:31] local.INFO: IMEI packet received {"connection_id":163539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 06:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":163539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:35:36] local.INFO: TCP Data received {"connection_id":163539,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:35:36] local.INFO: Processing buffer {"connection_id":163539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:35:36] local.INFO: IMEI packet received {"connection_id":163539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 06:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":163539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 06:35:37] local.INFO: TCP Data received {"connection_id":163539,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a045e308f0012d34c14006aa4840000300e62d..."} 
[2026-08-28 06:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045e308f0012d34c14006aa4840000300e62d..."} 
[2026-08-28 06:35:37] local.INFO: Processing buffer {"connection_id":163539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045e308f0012d34c14006aa4840000300e62d..."} 
[2026-08-28 06:35:37] local.INFO: Packet analysis {"connection_id":163539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045e3"} 
[2026-08-28 06:35:37] local.INFO: Extracted packet for processing {"connection_id":163539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045e3"} 
[2026-08-28 06:35:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696921856001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787878902000,"timestamp_ms":1787878902000,"timestamp_seconds":1787878902,"priority":1,"record_length":96,"hex_timestamp":"000001a045e308f0"} 
[2026-08-28 06:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696921856001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696921856001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:35:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:35:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:35: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-28 06:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696921856001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:35:37] 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":706537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:35:37] local.INFO: GPS data processed {"connection_id":163539,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:35:37] local.INFO: Acknowledgment sent {"connection_id":163539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:36:09] local.INFO: TCP Data received {"connection_id":163539,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a045e308f0012d34c14006aa4840000300e62d..."} 
[2026-08-28 06:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045e308f0012d34c14006aa4840000300e62d..."} 
[2026-08-28 06:36:09] local.INFO: Processing buffer {"connection_id":163539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045e308f0012d34c14006aa4840000300e62d..."} 
[2026-08-28 06:36:09] local.INFO: Packet analysis {"connection_id":163539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045e3"} 
[2026-08-28 06:36:09] local.INFO: Extracted packet for processing {"connection_id":163539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045e3"} 
[2026-08-28 06:36:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696921856001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:36:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787878902000,"timestamp_ms":1787878902000,"timestamp_seconds":1787878902,"priority":1,"record_length":96,"hex_timestamp":"000001a045e308f0"} 
[2026-08-28 06:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:36:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:36:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:36:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:36:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696921856001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696921856001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:36:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:36:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:36: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-28 06:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696921856001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:36:09] 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":706538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:36:09] local.INFO: GPS data processed {"connection_id":163539,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:36:09] local.INFO: Acknowledgment sent {"connection_id":163539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:36:31] local.INFO: TCP Data received {"connection_id":163276,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:36:31] local.INFO: Processing buffer {"connection_id":163276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:36:31] local.INFO: IMEI packet received {"connection_id":163276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 06:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":163276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:36:36] local.INFO: TCP Data received {"connection_id":163276,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:36:36] local.INFO: Processing buffer {"connection_id":163276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:36:36] local.INFO: IMEI packet received {"connection_id":163276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 06:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":163276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 06:36:37] local.INFO: TCP Data received {"connection_id":163276,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a045e308f0012d34c14006aa4840000300e62d..."} 
[2026-08-28 06:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045e308f0012d34c14006aa4840000300e62d..."} 
[2026-08-28 06:36:37] local.INFO: Processing buffer {"connection_id":163276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045e308f0012d34c14006aa4840000300e62d..."} 
[2026-08-28 06:36:37] local.INFO: Packet analysis {"connection_id":163276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045e3"} 
[2026-08-28 06:36:37] local.INFO: Extracted packet for processing {"connection_id":163276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045e3"} 
[2026-08-28 06:36:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696921856001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787878902000,"timestamp_ms":1787878902000,"timestamp_seconds":1787878902,"priority":1,"record_length":96,"hex_timestamp":"000001a045e308f0"} 
[2026-08-28 06:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696921856001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696921856001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:36:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:36:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06: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-28 06:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696921856001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":163276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:36:37] local.INFO: GPS data processed {"connection_id":163276,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:36:37] local.INFO: Acknowledgment sent {"connection_id":163276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:37:09] local.INFO: TCP Data received {"connection_id":163276,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a045e308f0012d34c14006aa4840000300e62d..."} 
[2026-08-28 06:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045e308f0012d34c14006aa4840000300e62d..."} 
[2026-08-28 06:37:09] local.INFO: Processing buffer {"connection_id":163276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045e308f0012d34c14006aa4840000300e62d..."} 
[2026-08-28 06:37:09] local.INFO: Packet analysis {"connection_id":163276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045e3"} 
[2026-08-28 06:37:09] local.INFO: Extracted packet for processing {"connection_id":163276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045e3"} 
[2026-08-28 06:37:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06: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-28 06:37:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696921856001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:37:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:37:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:37:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:37:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787878902000,"timestamp_ms":1787878902000,"timestamp_seconds":1787878902,"priority":1,"record_length":96,"hex_timestamp":"000001a045e308f0"} 
[2026-08-28 06: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-28 06:37:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:37:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06: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-28 06: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-28 06:37:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:37:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:37:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:37:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:37:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:37:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:37:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:37:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696921856001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:37:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:37:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:37:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696921856001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:37:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:37:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06: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-28 06:37:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:37:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696921856001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:37:09] local.INFO: DEBUG: GPS processor result {"connection_id":163276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:37:09] local.INFO: GPS data processed {"connection_id":163276,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:37:09] local.INFO: Acknowledgment sent {"connection_id":163276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:37:37] local.INFO: TCP Data received {"connection_id":165890,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:37:37] local.INFO: Processing buffer {"connection_id":165890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:37:37] local.INFO: IMEI packet received {"connection_id":165890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 06:37:37] local.INFO: IMEI acknowledgment sent {"connection_id":165890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:37:42] local.INFO: TCP Data received {"connection_id":165890,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:37:42] local.INFO: Processing buffer {"connection_id":165890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:37:42] local.INFO: IMEI packet received {"connection_id":165890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 06:37:42] local.INFO: IMEI acknowledgment sent {"connection_id":165890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 06:37:42] local.INFO: TCP Data received {"connection_id":165890,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a045e7a0b8012d34c14006aa4840000100e62e..."} 
[2026-08-28 06:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045e7a0b8012d34c14006aa4840000100e62e..."} 
[2026-08-28 06:37:42] local.INFO: Processing buffer {"connection_id":165890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045e7a0b8012d34c14006aa4840000100e62e..."} 
[2026-08-28 06:37:42] local.INFO: Packet analysis {"connection_id":165890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045e7"} 
[2026-08-28 06:37:42] local.INFO: Extracted packet for processing {"connection_id":165890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045e7"} 
[2026-08-28 06:37:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":1,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06: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-28 06:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696998912001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:37:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06: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-28 06:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787879203000,"timestamp_ms":1787879203000,"timestamp_seconds":1787879203,"priority":1,"record_length":96,"hex_timestamp":"000001a045e7a0b8"} 
[2026-08-28 06: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-28 06:37:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:37: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-28 06: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-28 06: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-28 06:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:37: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-28 06:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696998912001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696998912001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:37:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:37:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06: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-28 06:37:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696998912001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":165890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:37:42] local.INFO: GPS data processed {"connection_id":165890,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:37:42] local.INFO: Acknowledgment sent {"connection_id":165890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:37:47] local.INFO: TCP Data received {"connection_id":165890,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a045e7a0b8012d34c14006aa4840000100e62e..."} 
[2026-08-28 06:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045e7a0b8012d34c14006aa4840000100e62e..."} 
[2026-08-28 06:37:47] local.INFO: Processing buffer {"connection_id":165890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045e7a0b8012d34c14006aa4840000100e62e..."} 
[2026-08-28 06:37:47] local.INFO: Packet analysis {"connection_id":165890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045e7"} 
[2026-08-28 06:37:47] local.INFO: Extracted packet for processing {"connection_id":165890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045e7"} 
[2026-08-28 06:37:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":1,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06: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-28 06:37:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696998912001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:37:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06: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-28 06:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787879203000,"timestamp_ms":1787879203000,"timestamp_seconds":1787879203,"priority":1,"record_length":96,"hex_timestamp":"000001a045e7a0b8"} 
[2026-08-28 06: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-28 06:37:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:37: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-28 06: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-28 06: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-28 06:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":165890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":165890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":165890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:37:47] 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-28 06:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696998912001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696998912001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:37:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:37:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06: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-28 06:37:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696998912001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":165890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:37:47] local.INFO: GPS data processed {"connection_id":165890,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:37:47] local.INFO: Acknowledgment sent {"connection_id":165890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:38:31] local.INFO: TCP Data received {"connection_id":164539,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:38:31] local.INFO: Processing buffer {"connection_id":164539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:38:31] local.INFO: IMEI packet received {"connection_id":164539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 06:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":164539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:38:37] local.INFO: TCP Data received {"connection_id":164539,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:38:37] local.INFO: Processing buffer {"connection_id":164539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:38:37] local.INFO: IMEI packet received {"connection_id":164539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 06:38:37] local.INFO: IMEI acknowledgment sent {"connection_id":164539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 06:38:38] local.INFO: TCP Data received {"connection_id":164539,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a045e7a0b8012d34c14006aa4840000100e62e..."} 
[2026-08-28 06:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045e7a0b8012d34c14006aa4840000100e62e..."} 
[2026-08-28 06:38:38] local.INFO: Processing buffer {"connection_id":164539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045e7a0b8012d34c14006aa4840000100e62e..."} 
[2026-08-28 06:38:38] local.INFO: Packet analysis {"connection_id":164539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045e7"} 
[2026-08-28 06:38:38] local.INFO: Extracted packet for processing {"connection_id":164539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045e7"} 
[2026-08-28 06:38:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":1,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696998912001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:38:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787879203000,"timestamp_ms":1787879203000,"timestamp_seconds":1787879203,"priority":1,"record_length":96,"hex_timestamp":"000001a045e7a0b8"} 
[2026-08-28 06:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:38:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:38:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:38:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:38: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-28 06:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696998912001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696998912001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:38:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:38:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:38: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-28 06:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696998912001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":164539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:38:38] local.INFO: GPS data processed {"connection_id":164539,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:38:38] local.INFO: Acknowledgment sent {"connection_id":164539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:39:11] local.INFO: TCP Data received {"connection_id":164539,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a045e7a0b8012d34c14006aa4840000100e62e..."} 
[2026-08-28 06:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045e7a0b8012d34c14006aa4840000100e62e..."} 
[2026-08-28 06:39:11] local.INFO: Processing buffer {"connection_id":164539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045e7a0b8012d34c14006aa4840000100e62e..."} 
[2026-08-28 06:39:11] local.INFO: Packet analysis {"connection_id":164539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045e7"} 
[2026-08-28 06:39:11] local.INFO: Extracted packet for processing {"connection_id":164539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045e7"} 
[2026-08-28 06:39:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":1,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696998912001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:39: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-28 06:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787879203000,"timestamp_ms":1787879203000,"timestamp_seconds":1787879203,"priority":1,"record_length":96,"hex_timestamp":"000001a045e7a0b8"} 
[2026-08-28 06:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:39:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:39: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-28 06:39:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":164539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":164539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":164539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696998912001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696998912001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:39:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:39:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:39: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-28 06:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696998912001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":164539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:39:11] local.INFO: GPS data processed {"connection_id":164539,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:39:11] local.INFO: Acknowledgment sent {"connection_id":164539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:39:31] local.INFO: TCP Data received {"connection_id":165891,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:39:31] local.INFO: Processing buffer {"connection_id":165891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:39:31] local.INFO: IMEI packet received {"connection_id":165891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 06:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":165891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:39:37] local.INFO: TCP Data received {"connection_id":165891,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:39:37] local.INFO: Processing buffer {"connection_id":165891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:39:37] local.INFO: IMEI packet received {"connection_id":165891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 06:39:37] local.INFO: IMEI acknowledgment sent {"connection_id":165891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 06:39:38] local.INFO: TCP Data received {"connection_id":165891,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a045e7a0b8012d34c14006aa4840000100e62e..."} 
[2026-08-28 06:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045e7a0b8012d34c14006aa4840000100e62e..."} 
[2026-08-28 06:39:38] local.INFO: Processing buffer {"connection_id":165891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045e7a0b8012d34c14006aa4840000100e62e..."} 
[2026-08-28 06:39:38] local.INFO: Packet analysis {"connection_id":165891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045e7"} 
[2026-08-28 06:39:38] local.INFO: Extracted packet for processing {"connection_id":165891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045e7"} 
[2026-08-28 06:39:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":1,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696998912001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:39:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787879203000,"timestamp_ms":1787879203000,"timestamp_seconds":1787879203,"priority":1,"record_length":96,"hex_timestamp":"000001a045e7a0b8"} 
[2026-08-28 06:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:39:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:39:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:39:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":165891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":165891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":165891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:39:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696998912001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696998912001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:39:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:39:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:39: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-28 06:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696998912001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":165891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:39:38] local.INFO: GPS data processed {"connection_id":165891,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:39:38] local.INFO: Acknowledgment sent {"connection_id":165891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:40:10] local.INFO: TCP Data received {"connection_id":165891,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a045e7a0b8012d34c14006aa4840000100e62e..."} 
[2026-08-28 06:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045e7a0b8012d34c14006aa4840000100e62e..."} 
[2026-08-28 06:40:10] local.INFO: Processing buffer {"connection_id":165891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045e7a0b8012d34c14006aa4840000100e62e..."} 
[2026-08-28 06:40:10] local.INFO: Packet analysis {"connection_id":165891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045e7"} 
[2026-08-28 06:40:10] local.INFO: Extracted packet for processing {"connection_id":165891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045e7"} 
[2026-08-28 06:40:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":1,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696998912001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:40:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787879203000,"timestamp_ms":1787879203000,"timestamp_seconds":1787879203,"priority":1,"record_length":96,"hex_timestamp":"000001a045e7a0b8"} 
[2026-08-28 06:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:40:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:40:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:40:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":165891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":165891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":165891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696998912001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696998912001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:40:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:40:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 06:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696998912001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":165891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:40:10] local.INFO: GPS data processed {"connection_id":165891,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:40:10] local.INFO: Acknowledgment sent {"connection_id":165891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:40:27] local.INFO: TCP Data received {"connection_id":164538,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 06:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164538,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 06:40:27] local.INFO: Processing buffer {"connection_id":164538,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 06:40:27] local.INFO: IMEI packet received {"connection_id":164538,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 06:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":164538,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:40:31] local.INFO: TCP Data received {"connection_id":163540,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:40:31] local.INFO: Processing buffer {"connection_id":163540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:40:31] local.INFO: IMEI packet received {"connection_id":163540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 06:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":163540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:40:37] local.INFO: TCP Data received {"connection_id":163540,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:40:37] local.INFO: Processing buffer {"connection_id":163540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:40:37] local.INFO: IMEI packet received {"connection_id":163540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 06:40:37] local.INFO: IMEI acknowledgment sent {"connection_id":163540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 06:40:38] local.INFO: TCP Data received {"connection_id":163540,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a045e7a0b8012d34c14006aa4840000100e62e..."} 
[2026-08-28 06:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045e7a0b8012d34c14006aa4840000100e62e..."} 
[2026-08-28 06:40:38] local.INFO: Processing buffer {"connection_id":163540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045e7a0b8012d34c14006aa4840000100e62e..."} 
[2026-08-28 06:40:38] local.INFO: Packet analysis {"connection_id":163540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045e7"} 
[2026-08-28 06:40:38] local.INFO: Extracted packet for processing {"connection_id":163540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045e7"} 
[2026-08-28 06:40:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":1,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696998912001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:40:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787879203000,"timestamp_ms":1787879203000,"timestamp_seconds":1787879203,"priority":1,"record_length":96,"hex_timestamp":"000001a045e7a0b8"} 
[2026-08-28 06:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:40:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:40:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:40:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696998912001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696998912001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:40:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:40:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:40: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-28 06:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696998912001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":163540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:40:38] local.INFO: GPS data processed {"connection_id":163540,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:40:38] local.INFO: Acknowledgment sent {"connection_id":163540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:41:09] local.INFO: TCP Data received {"connection_id":163540,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a045e7a0b8012d34c14006aa4840000100e62e..."} 
[2026-08-28 06:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045e7a0b8012d34c14006aa4840000100e62e..."} 
[2026-08-28 06:41:09] local.INFO: Processing buffer {"connection_id":163540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045e7a0b8012d34c14006aa4840000100e62e..."} 
[2026-08-28 06:41:09] local.INFO: Packet analysis {"connection_id":163540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045e7"} 
[2026-08-28 06:41:09] local.INFO: Extracted packet for processing {"connection_id":163540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045e7"} 
[2026-08-28 06:41:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":1,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:41:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696998912001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:41:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:41:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:41:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:41:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787879203000,"timestamp_ms":1787879203000,"timestamp_seconds":1787879203,"priority":1,"record_length":96,"hex_timestamp":"000001a045e7a0b8"} 
[2026-08-28 06:41:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:41:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:41:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:41:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:41:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:41:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:41:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:41:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:41:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:41:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:41:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:41:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:41:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696998912001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:41:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:41:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:41:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696998912001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:41:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:41:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:41: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-28 06:41:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:41:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696998912001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:41:09] local.INFO: DEBUG: GPS processor result {"connection_id":163540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:41:09] local.INFO: GPS data processed {"connection_id":163540,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:41:09] local.INFO: Acknowledgment sent {"connection_id":163540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:41:36] local.INFO: TCP Data received {"connection_id":165892,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:41:36] local.INFO: Processing buffer {"connection_id":165892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:41:36] local.INFO: IMEI packet received {"connection_id":165892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 06:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":165892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:41:41] local.INFO: TCP Data received {"connection_id":165892,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:41:42] local.INFO: Processing buffer {"connection_id":165892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:41:42] local.INFO: IMEI packet received {"connection_id":165892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 06:41:42] local.INFO: IMEI acknowledgment sent {"connection_id":165892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 06:41:43] local.INFO: TCP Data received {"connection_id":165892,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a045e7a0b8012d34c14006aa4840000100e62e..."} 
[2026-08-28 06:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045e7a0b8012d34c14006aa4840000100e62e..."} 
[2026-08-28 06:41:43] local.INFO: Processing buffer {"connection_id":165892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045e7a0b8012d34c14006aa4840000100e62e..."} 
[2026-08-28 06:41:43] local.INFO: Packet analysis {"connection_id":165892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045e7"} 
[2026-08-28 06:41:43] local.INFO: Extracted packet for processing {"connection_id":165892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045e7"} 
[2026-08-28 06:41:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":1,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06: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-28 06:41:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696998912001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:41:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:41:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06: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-28 06:41:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787879203000,"timestamp_ms":1787879203000,"timestamp_seconds":1787879203,"priority":1,"record_length":96,"hex_timestamp":"000001a045e7a0b8"} 
[2026-08-28 06: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-28 06:41:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:41: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-28 06: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-28 06: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-28 06:41:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:41:43] local.INFO: Teltonika packet parsed successfully {"connection_id":165892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:41:43] local.INFO: Passing IMEI to GPS processor {"connection_id":165892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:41:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":165892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:41: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-28 06:41:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:41:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:41:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696998912001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:41:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:41:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:41:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696998912001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:41:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:41:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06: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-28 06:41:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:41:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696998912001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:41:43] local.INFO: DEBUG: GPS processor result {"connection_id":165892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:41:43] local.INFO: GPS data processed {"connection_id":165892,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:41:43] local.INFO: Acknowledgment sent {"connection_id":165892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:41:47] local.INFO: TCP Data received {"connection_id":165892,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a045e7a0b8012d34c14006aa4840000100e62e..."} 
[2026-08-28 06:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045e7a0b8012d34c14006aa4840000100e62e..."} 
[2026-08-28 06:41:47] local.INFO: Processing buffer {"connection_id":165892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045e7a0b8012d34c14006aa4840000100e62e..."} 
[2026-08-28 06:41:47] local.INFO: Packet analysis {"connection_id":165892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045e7"} 
[2026-08-28 06:41:47] local.INFO: Extracted packet for processing {"connection_id":165892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045e7"} 
[2026-08-28 06:41:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":1,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06: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-28 06:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457696998912001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:41:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:41:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06: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-28 06:41:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787879203000,"timestamp_ms":1787879203000,"timestamp_seconds":1787879203,"priority":1,"record_length":96,"hex_timestamp":"000001a045e7a0b8"} 
[2026-08-28 06: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-28 06:41:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:41: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-28 06: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-28 06: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-28 06:41:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:41:47] local.INFO: Teltonika packet parsed successfully {"connection_id":165892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:41:47] local.INFO: Passing IMEI to GPS processor {"connection_id":165892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:41:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":165892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:41:47] 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-28 06:41:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:41:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:41:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457696998912001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:41:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:41:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:41:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457696998912001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:41:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:41:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06: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-28 06:41:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:41:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457696998912001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:41:47] local.INFO: DEBUG: GPS processor result {"connection_id":165892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:41:47] local.INFO: GPS data processed {"connection_id":165892,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:41:47] local.INFO: Acknowledgment sent {"connection_id":165892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:42:31] local.INFO: TCP Data received {"connection_id":163541,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:42:31] local.INFO: Processing buffer {"connection_id":163541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:42:31] local.INFO: IMEI packet received {"connection_id":163541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 06:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":163541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:42:36] local.INFO: TCP Data received {"connection_id":163541,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:42:36] local.INFO: Processing buffer {"connection_id":163541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:42:36] local.INFO: IMEI packet received {"connection_id":163541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 06:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":163541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 06:42:38] local.INFO: TCP Data received {"connection_id":163541,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a045ec3880012d34c14006aa4840000100e62d..."} 
[2026-08-28 06:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045ec3880012d34c14006aa4840000100e62d..."} 
[2026-08-28 06:42:38] local.INFO: Processing buffer {"connection_id":163541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045ec3880012d34c14006aa4840000100e62d..."} 
[2026-08-28 06:42:38] local.INFO: Packet analysis {"connection_id":163541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045ec"} 
[2026-08-28 06:42:38] local.INFO: Extracted packet for processing {"connection_id":163541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045ec"} 
[2026-08-28 06:42:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":1,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697075968001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:42:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787879504000,"timestamp_ms":1787879504000,"timestamp_seconds":1787879504,"priority":1,"record_length":96,"hex_timestamp":"000001a045ec3880"} 
[2026-08-28 06:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:42:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:42:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:42:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:42:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697075968001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697075968001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:42:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:42:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:42: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-28 06:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697075968001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:42:39] 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":706551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:42:39] local.INFO: GPS data processed {"connection_id":163541,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:42:39] local.INFO: Acknowledgment sent {"connection_id":163541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:43:10] local.INFO: TCP Data received {"connection_id":163541,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a045ec3880012d34c14006aa4840000100e62d..."} 
[2026-08-28 06:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045ec3880012d34c14006aa4840000100e62d..."} 
[2026-08-28 06:43:10] local.INFO: Processing buffer {"connection_id":163541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045ec3880012d34c14006aa4840000100e62d..."} 
[2026-08-28 06:43:10] local.INFO: Packet analysis {"connection_id":163541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045ec"} 
[2026-08-28 06:43:10] local.INFO: Extracted packet for processing {"connection_id":163541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045ec"} 
[2026-08-28 06:43:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":1,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697075968001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787879504000,"timestamp_ms":1787879504000,"timestamp_seconds":1787879504,"priority":1,"record_length":96,"hex_timestamp":"000001a045ec3880"} 
[2026-08-28 06:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:43:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:43:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697075968001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697075968001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:43:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:43:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 06:43:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697075968001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:43:10] 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":706552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:43:10] local.INFO: GPS data processed {"connection_id":163541,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:43:10] local.INFO: Acknowledgment sent {"connection_id":163541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:43:31] local.INFO: TCP Data received {"connection_id":165894,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:43:31] local.INFO: Processing buffer {"connection_id":165894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:43:31] local.INFO: IMEI packet received {"connection_id":165894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 06:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":165894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:43:37] local.INFO: TCP Data received {"connection_id":165894,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:43:37] local.INFO: Processing buffer {"connection_id":165894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:43:37] local.INFO: IMEI packet received {"connection_id":165894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 06:43:37] local.INFO: IMEI acknowledgment sent {"connection_id":165894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 06:43:38] local.INFO: TCP Data received {"connection_id":165894,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a045ec3880012d34c14006aa4840000100e62d..."} 
[2026-08-28 06:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045ec3880012d34c14006aa4840000100e62d..."} 
[2026-08-28 06:43:38] local.INFO: Processing buffer {"connection_id":165894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045ec3880012d34c14006aa4840000100e62d..."} 
[2026-08-28 06:43:38] local.INFO: Packet analysis {"connection_id":165894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045ec"} 
[2026-08-28 06:43:38] local.INFO: Extracted packet for processing {"connection_id":165894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045ec"} 
[2026-08-28 06:43:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":1,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697075968001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:43:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787879504000,"timestamp_ms":1787879504000,"timestamp_seconds":1787879504,"priority":1,"record_length":96,"hex_timestamp":"000001a045ec3880"} 
[2026-08-28 06:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:43:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:43:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:43:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":165894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":165894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":165894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:43:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697075968001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697075968001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:43:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:43:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:43: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-28 06:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697075968001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":165894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:43:38] local.INFO: GPS data processed {"connection_id":165894,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:43:38] local.INFO: Acknowledgment sent {"connection_id":165894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:44:09] local.INFO: TCP Data received {"connection_id":165894,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a045ec3880012d34c14006aa4840000100e62d..."} 
[2026-08-28 06:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045ec3880012d34c14006aa4840000100e62d..."} 
[2026-08-28 06:44:09] local.INFO: Processing buffer {"connection_id":165894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045ec3880012d34c14006aa4840000100e62d..."} 
[2026-08-28 06:44:09] local.INFO: Packet analysis {"connection_id":165894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045ec"} 
[2026-08-28 06:44:09] local.INFO: Extracted packet for processing {"connection_id":165894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045ec"} 
[2026-08-28 06:44:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":1,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:44:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697075968001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:44:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787879504000,"timestamp_ms":1787879504000,"timestamp_seconds":1787879504,"priority":1,"record_length":96,"hex_timestamp":"000001a045ec3880"} 
[2026-08-28 06:44:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:44:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:44:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:44:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:44:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:44:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":165894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":165894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":165894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:44:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697075968001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697075968001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:44:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:44:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:44: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-28 06:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697075968001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":165894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:44:09] local.INFO: GPS data processed {"connection_id":165894,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:44:09] local.INFO: Acknowledgment sent {"connection_id":165894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:44:31] local.INFO: TCP Data received {"connection_id":163542,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:44:31] local.INFO: Processing buffer {"connection_id":163542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:44:31] local.INFO: IMEI packet received {"connection_id":163542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 06:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":163542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:44:36] local.INFO: TCP Data received {"connection_id":163542,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:44:36] local.INFO: Processing buffer {"connection_id":163542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:44:36] local.INFO: IMEI packet received {"connection_id":163542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 06:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":163542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 06:44:37] local.INFO: TCP Data received {"connection_id":163542,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a045ec3880012d34c14006aa4840000100e62d..."} 
[2026-08-28 06:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045ec3880012d34c14006aa4840000100e62d..."} 
[2026-08-28 06:44:37] local.INFO: Processing buffer {"connection_id":163542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045ec3880012d34c14006aa4840000100e62d..."} 
[2026-08-28 06:44:37] local.INFO: Packet analysis {"connection_id":163542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045ec"} 
[2026-08-28 06:44:37] local.INFO: Extracted packet for processing {"connection_id":163542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045ec"} 
[2026-08-28 06:44:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":1,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697075968001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787879504000,"timestamp_ms":1787879504000,"timestamp_seconds":1787879504,"priority":1,"record_length":96,"hex_timestamp":"000001a045ec3880"} 
[2026-08-28 06:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:44:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697075968001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697075968001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:44:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:44:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:44: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-28 06:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697075968001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:44:37] 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":706555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:44:37] local.INFO: GPS data processed {"connection_id":163542,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:44:37] local.INFO: Acknowledgment sent {"connection_id":163542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:45:09] local.INFO: TCP Data received {"connection_id":163542,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a045ec3880012d34c14006aa4840000100e62d..."} 
[2026-08-28 06:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045ec3880012d34c14006aa4840000100e62d..."} 
[2026-08-28 06:45:09] local.INFO: Processing buffer {"connection_id":163542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045ec3880012d34c14006aa4840000100e62d..."} 
[2026-08-28 06:45:09] local.INFO: Packet analysis {"connection_id":163542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045ec"} 
[2026-08-28 06:45:09] local.INFO: Extracted packet for processing {"connection_id":163542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045ec"} 
[2026-08-28 06:45:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":1,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697075968001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:45:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787879504000,"timestamp_ms":1787879504000,"timestamp_seconds":1787879504,"priority":1,"record_length":96,"hex_timestamp":"000001a045ec3880"} 
[2026-08-28 06:45:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:45:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:45:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:45:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:45:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:45:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697075968001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697075968001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:45:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:45:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:45: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-28 06:45:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697075968001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:45:09] 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":706556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:45:09] local.INFO: GPS data processed {"connection_id":163542,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:45:09] local.INFO: Acknowledgment sent {"connection_id":163542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:45:32] local.INFO: TCP Data received {"connection_id":164541,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:45:32] local.INFO: Processing buffer {"connection_id":164541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:45:32] local.INFO: IMEI packet received {"connection_id":164541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 06:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":164541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:45:37] local.INFO: TCP Data received {"connection_id":164541,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:45:37] local.INFO: Processing buffer {"connection_id":164541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:45:37] local.INFO: IMEI packet received {"connection_id":164541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 06:45:37] local.INFO: IMEI acknowledgment sent {"connection_id":164541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 06:45:38] local.INFO: TCP Data received {"connection_id":164541,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a045ec3880012d34c14006aa4840000100e62d..."} 
[2026-08-28 06:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045ec3880012d34c14006aa4840000100e62d..."} 
[2026-08-28 06:45:38] local.INFO: Processing buffer {"connection_id":164541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045ec3880012d34c14006aa4840000100e62d..."} 
[2026-08-28 06:45:38] local.INFO: Packet analysis {"connection_id":164541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045ec"} 
[2026-08-28 06:45:38] local.INFO: Extracted packet for processing {"connection_id":164541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045ec"} 
[2026-08-28 06:45:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":1,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697075968001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787879504000,"timestamp_ms":1787879504000,"timestamp_seconds":1787879504,"priority":1,"record_length":96,"hex_timestamp":"000001a045ec3880"} 
[2026-08-28 06:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:45:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697075968001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697075968001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:45:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:45:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:45: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-28 06:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697075968001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":164541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:45:38] local.INFO: GPS data processed {"connection_id":164541,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:45:38] local.INFO: Acknowledgment sent {"connection_id":164541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:45:42] local.INFO: TCP Data received {"connection_id":164541,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a045ec3880012d34c14006aa4840000100e62d..."} 
[2026-08-28 06:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045ec3880012d34c14006aa4840000100e62d..."} 
[2026-08-28 06:45:42] local.INFO: Processing buffer {"connection_id":164541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045ec3880012d34c14006aa4840000100e62d..."} 
[2026-08-28 06:45:42] local.INFO: Packet analysis {"connection_id":164541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045ec"} 
[2026-08-28 06:45:42] local.INFO: Extracted packet for processing {"connection_id":164541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045ec"} 
[2026-08-28 06:45:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":1,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06: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-28 06:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697075968001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:45:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06: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-28 06:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787879504000,"timestamp_ms":1787879504000,"timestamp_seconds":1787879504,"priority":1,"record_length":96,"hex_timestamp":"000001a045ec3880"} 
[2026-08-28 06: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-28 06:45:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06: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-28 06: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-28 06: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-28 06: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-28 06:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":164541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":164541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":164541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:45: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-28 06:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697075968001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697075968001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:45:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:45:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06: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-28 06:45:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697075968001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":164541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:45:42] local.INFO: GPS data processed {"connection_id":164541,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:45:42] local.INFO: Acknowledgment sent {"connection_id":164541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:45:47] local.INFO: TCP Data received {"connection_id":165893,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 06:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165893,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 06:45:47] local.INFO: Processing buffer {"connection_id":165893,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 06:45:47] local.INFO: IMEI packet received {"connection_id":165893,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 06:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":165893,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:46:13] local.INFO: TCP Data received {"connection_id":164541,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a045ec3880012d34c14006aa4840000100e62d..."} 
[2026-08-28 06:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045ec3880012d34c14006aa4840000100e62d..."} 
[2026-08-28 06:46:13] local.INFO: Processing buffer {"connection_id":164541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045ec3880012d34c14006aa4840000100e62d..."} 
[2026-08-28 06:46:13] local.INFO: Packet analysis {"connection_id":164541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045ec"} 
[2026-08-28 06:46:13] local.INFO: Extracted packet for processing {"connection_id":164541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045ec"} 
[2026-08-28 06:46:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":1,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:46:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:46:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697075968001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:46:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:46:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:46: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-28 06:46:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787879504000,"timestamp_ms":1787879504000,"timestamp_seconds":1787879504,"priority":1,"record_length":96,"hex_timestamp":"000001a045ec3880"} 
[2026-08-28 06:46:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:46:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:46:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:46: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-28 06:46:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:46:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:46:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:46:13] local.INFO: Teltonika packet parsed successfully {"connection_id":164541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:46:13] local.INFO: Passing IMEI to GPS processor {"connection_id":164541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:46:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":164541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:46: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-28 06:46:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:46:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:46:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697075968001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:46:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:46:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:46:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697075968001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:46:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:46:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:46: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-28 06:46:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:46:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697075968001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:46:13] local.INFO: DEBUG: GPS processor result {"connection_id":164541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:46:13] local.INFO: GPS data processed {"connection_id":164541,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:46:13] local.INFO: Acknowledgment sent {"connection_id":164541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:46:31] local.INFO: TCP Data received {"connection_id":163277,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:46:31] local.INFO: Processing buffer {"connection_id":163277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:46:31] local.INFO: IMEI packet received {"connection_id":163277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 06:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":163277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:46:36] local.INFO: TCP Data received {"connection_id":163277,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:46:36] local.INFO: Processing buffer {"connection_id":163277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:46:36] local.INFO: IMEI packet received {"connection_id":163277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 06:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":163277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 06:46:37] local.INFO: TCP Data received {"connection_id":163277,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a045ec3880012d34c14006aa4840000100e62d..."} 
[2026-08-28 06:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045ec3880012d34c14006aa4840000100e62d..."} 
[2026-08-28 06:46:37] local.INFO: Processing buffer {"connection_id":163277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045ec3880012d34c14006aa4840000100e62d..."} 
[2026-08-28 06:46:37] local.INFO: Packet analysis {"connection_id":163277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045ec"} 
[2026-08-28 06:46:37] local.INFO: Extracted packet for processing {"connection_id":163277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045ec"} 
[2026-08-28 06:46:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":1,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697075968001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787879504000,"timestamp_ms":1787879504000,"timestamp_seconds":1787879504,"priority":1,"record_length":96,"hex_timestamp":"000001a045ec3880"} 
[2026-08-28 06:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:46:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697075968001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697075968001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:46:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:46:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:46: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-28 06:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697075968001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":163277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:46:37] local.INFO: GPS data processed {"connection_id":163277,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:46:37] local.INFO: Acknowledgment sent {"connection_id":163277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:47:12] local.INFO: TCP Data received {"connection_id":163277,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a045ec3880012d34c14006aa4840000100e62d..."} 
[2026-08-28 06:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045ec3880012d34c14006aa4840000100e62d..."} 
[2026-08-28 06:47:12] local.INFO: Processing buffer {"connection_id":163277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045ec3880012d34c14006aa4840000100e62d..."} 
[2026-08-28 06:47:12] local.INFO: Packet analysis {"connection_id":163277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045ec"} 
[2026-08-28 06:47:12] local.INFO: Extracted packet for processing {"connection_id":163277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045ec"} 
[2026-08-28 06:47:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":1,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:47:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697075968001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:47:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:47:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:47: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-28 06:47:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787879504000,"timestamp_ms":1787879504000,"timestamp_seconds":1787879504,"priority":1,"record_length":96,"hex_timestamp":"000001a045ec3880"} 
[2026-08-28 06:47:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:47:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:47: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-28 06:47:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:47:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:47:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:47:12] local.INFO: Teltonika packet parsed successfully {"connection_id":163277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:47:12] local.INFO: Passing IMEI to GPS processor {"connection_id":163277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:47:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":163277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:47:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:47:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:47:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:47:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697075968001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:47:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:47:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:47:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697075968001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:47:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:47:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:47: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-28 06:47:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:47:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697075968001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:47:12] local.INFO: DEBUG: GPS processor result {"connection_id":163277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:47:12] local.INFO: GPS data processed {"connection_id":163277,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:47:12] local.INFO: Acknowledgment sent {"connection_id":163277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:47:32] local.INFO: TCP Data received {"connection_id":164542,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:47:32] local.INFO: Processing buffer {"connection_id":164542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:47:32] local.INFO: IMEI packet received {"connection_id":164542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 06:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":164542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:47:37] local.INFO: TCP Data received {"connection_id":164542,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:47:37] local.INFO: Processing buffer {"connection_id":164542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:47:37] local.INFO: IMEI packet received {"connection_id":164542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 06:47:37] local.INFO: IMEI acknowledgment sent {"connection_id":164542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 06:47:38] local.INFO: TCP Data received {"connection_id":164542,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a045f0d048012d34c14006aa4840000300e62f..."} 
[2026-08-28 06:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045f0d048012d34c14006aa4840000300e62f..."} 
[2026-08-28 06:47:38] local.INFO: Processing buffer {"connection_id":164542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045f0d048012d34c14006aa4840000300e62f..."} 
[2026-08-28 06:47:38] local.INFO: Packet analysis {"connection_id":164542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045f0"} 
[2026-08-28 06:47:38] local.INFO: Extracted packet for processing {"connection_id":164542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045f0"} 
[2026-08-28 06:47:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697153024001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787879805000,"timestamp_ms":1787879805000,"timestamp_seconds":1787879805,"priority":1,"record_length":96,"hex_timestamp":"000001a045f0d048"} 
[2026-08-28 06:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:47:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697153024001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697153024001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:47:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:47:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:47: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-28 06:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697153024001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":164542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:47:38] local.INFO: GPS data processed {"connection_id":164542,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:47:38] local.INFO: Acknowledgment sent {"connection_id":164542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:48:09] local.INFO: TCP Data received {"connection_id":164542,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a045f0d048012d34c14006aa4840000300e62f..."} 
[2026-08-28 06:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045f0d048012d34c14006aa4840000300e62f..."} 
[2026-08-28 06:48:09] local.INFO: Processing buffer {"connection_id":164542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045f0d048012d34c14006aa4840000300e62f..."} 
[2026-08-28 06:48:09] local.INFO: Packet analysis {"connection_id":164542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045f0"} 
[2026-08-28 06:48:09] local.INFO: Extracted packet for processing {"connection_id":164542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045f0"} 
[2026-08-28 06:48:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697153024001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:48:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:48:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787879805000,"timestamp_ms":1787879805000,"timestamp_seconds":1787879805,"priority":1,"record_length":96,"hex_timestamp":"000001a045f0d048"} 
[2026-08-28 06:48:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:48:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:48:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:48:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:48:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:48:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697153024001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697153024001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:48:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:48:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:48: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-28 06:48:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697153024001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":164542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:48:09] local.INFO: GPS data processed {"connection_id":164542,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:48:09] local.INFO: Acknowledgment sent {"connection_id":164542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:48:31] local.INFO: TCP Data received {"connection_id":163279,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:48:31] local.INFO: Processing buffer {"connection_id":163279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:48:31] local.INFO: IMEI packet received {"connection_id":163279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 06:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":163279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:48:36] local.INFO: TCP Data received {"connection_id":163279,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:48:36] local.INFO: Processing buffer {"connection_id":163279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:48:36] local.INFO: IMEI packet received {"connection_id":163279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 06:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":163279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 06:48:37] local.INFO: TCP Data received {"connection_id":163279,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a045f0d048012d34c14006aa4840000300e62f..."} 
[2026-08-28 06:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045f0d048012d34c14006aa4840000300e62f..."} 
[2026-08-28 06:48:37] local.INFO: Processing buffer {"connection_id":163279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045f0d048012d34c14006aa4840000300e62f..."} 
[2026-08-28 06:48:37] local.INFO: Packet analysis {"connection_id":163279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045f0"} 
[2026-08-28 06:48:37] local.INFO: Extracted packet for processing {"connection_id":163279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045f0"} 
[2026-08-28 06:48:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697153024001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787879805000,"timestamp_ms":1787879805000,"timestamp_seconds":1787879805,"priority":1,"record_length":96,"hex_timestamp":"000001a045f0d048"} 
[2026-08-28 06:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697153024001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697153024001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:48:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:48:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:48: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-28 06:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697153024001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":163279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:48:37] local.INFO: GPS data processed {"connection_id":163279,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:48:37] local.INFO: Acknowledgment sent {"connection_id":163279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:49:09] local.INFO: TCP Data received {"connection_id":163279,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a045f0d048012d34c14006aa4840000300e62f..."} 
[2026-08-28 06:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045f0d048012d34c14006aa4840000300e62f..."} 
[2026-08-28 06:49:09] local.INFO: Processing buffer {"connection_id":163279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045f0d048012d34c14006aa4840000300e62f..."} 
[2026-08-28 06:49:09] local.INFO: Packet analysis {"connection_id":163279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045f0"} 
[2026-08-28 06:49:09] local.INFO: Extracted packet for processing {"connection_id":163279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045f0"} 
[2026-08-28 06:49:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697153024001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:49:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787879805000,"timestamp_ms":1787879805000,"timestamp_seconds":1787879805,"priority":1,"record_length":96,"hex_timestamp":"000001a045f0d048"} 
[2026-08-28 06:49:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:49:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:49:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:49:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:49:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:49:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697153024001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697153024001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:49:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:49:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:49: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-28 06:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697153024001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":163279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:49:09] local.INFO: GPS data processed {"connection_id":163279,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:49:09] local.INFO: Acknowledgment sent {"connection_id":163279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:49:31] local.INFO: TCP Data received {"connection_id":163543,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:49:31] local.INFO: Processing buffer {"connection_id":163543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:49:31] local.INFO: IMEI packet received {"connection_id":163543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 06:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":163543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:49:37] local.INFO: TCP Data received {"connection_id":163543,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:49:37] local.INFO: Processing buffer {"connection_id":163543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:49:37] local.INFO: IMEI packet received {"connection_id":163543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 06:49:37] local.INFO: IMEI acknowledgment sent {"connection_id":163543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 06:49:38] local.INFO: TCP Data received {"connection_id":163543,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a045f0d048012d34c14006aa4840000300e62f..."} 
[2026-08-28 06:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045f0d048012d34c14006aa4840000300e62f..."} 
[2026-08-28 06:49:38] local.INFO: Processing buffer {"connection_id":163543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045f0d048012d34c14006aa4840000300e62f..."} 
[2026-08-28 06:49:38] local.INFO: Packet analysis {"connection_id":163543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045f0"} 
[2026-08-28 06:49:38] local.INFO: Extracted packet for processing {"connection_id":163543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045f0"} 
[2026-08-28 06:49:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697153024001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:49:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787879805000,"timestamp_ms":1787879805000,"timestamp_seconds":1787879805,"priority":1,"record_length":96,"hex_timestamp":"000001a045f0d048"} 
[2026-08-28 06:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:49:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:49:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:49:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:49:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697153024001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697153024001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:49:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:49:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:49: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-28 06:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697153024001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:49:38] 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":706566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:49:38] local.INFO: GPS data processed {"connection_id":163543,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:49:38] local.INFO: Acknowledgment sent {"connection_id":163543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:50:09] local.INFO: TCP Data received {"connection_id":163543,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a045f0d048012d34c14006aa4840000300e62f..."} 
[2026-08-28 06:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045f0d048012d34c14006aa4840000300e62f..."} 
[2026-08-28 06:50:09] local.INFO: Processing buffer {"connection_id":163543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045f0d048012d34c14006aa4840000300e62f..."} 
[2026-08-28 06:50:09] local.INFO: Packet analysis {"connection_id":163543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045f0"} 
[2026-08-28 06:50:09] local.INFO: Extracted packet for processing {"connection_id":163543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045f0"} 
[2026-08-28 06:50:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697153024001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:50:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787879805000,"timestamp_ms":1787879805000,"timestamp_seconds":1787879805,"priority":1,"record_length":96,"hex_timestamp":"000001a045f0d048"} 
[2026-08-28 06:50:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:50:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:50:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:50:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:50:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:50:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697153024001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697153024001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:50:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:50:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:50: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-28 06:50:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697153024001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:50:09] 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":706567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:50:09] local.INFO: GPS data processed {"connection_id":163543,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:50:09] local.INFO: Acknowledgment sent {"connection_id":163543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:50:36] local.INFO: TCP Data received {"connection_id":163280,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:50:36] local.INFO: Processing buffer {"connection_id":163280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:50:36] local.INFO: IMEI packet received {"connection_id":163280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 06:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":163280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:50:41] local.INFO: TCP Data received {"connection_id":163280,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:50:41] local.INFO: Processing buffer {"connection_id":163280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:50:41] local.INFO: IMEI packet received {"connection_id":163280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 06:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":163280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 06:50:42] local.INFO: TCP Data received {"connection_id":163280,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a045f0d048012d34c14006aa4840000300e62f..."} 
[2026-08-28 06:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045f0d048012d34c14006aa4840000300e62f..."} 
[2026-08-28 06:50:42] local.INFO: Processing buffer {"connection_id":163280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045f0d048012d34c14006aa4840000300e62f..."} 
[2026-08-28 06:50:42] local.INFO: Packet analysis {"connection_id":163280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045f0"} 
[2026-08-28 06:50:42] local.INFO: Extracted packet for processing {"connection_id":163280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045f0"} 
[2026-08-28 06:50:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06: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-28 06:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697153024001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:50:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06: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-28 06:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787879805000,"timestamp_ms":1787879805000,"timestamp_seconds":1787879805,"priority":1,"record_length":96,"hex_timestamp":"000001a045f0d048"} 
[2026-08-28 06: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-28 06:50:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06: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":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:50: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-28 06: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-28 06: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-28 06:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:50:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697153024001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697153024001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:50:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:50:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06: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-28 06:50:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697153024001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":163280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:50:42] local.INFO: GPS data processed {"connection_id":163280,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:50:42] local.INFO: Acknowledgment sent {"connection_id":163280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:50:47] local.INFO: TCP Data received {"connection_id":163280,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a045f0d048012d34c14006aa4840000300e62f..."} 
[2026-08-28 06:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045f0d048012d34c14006aa4840000300e62f..."} 
[2026-08-28 06:50:47] local.INFO: Processing buffer {"connection_id":163280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045f0d048012d34c14006aa4840000300e62f..."} 
[2026-08-28 06:50:47] local.INFO: Packet analysis {"connection_id":163280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045f0"} 
[2026-08-28 06:50:47] local.INFO: Extracted packet for processing {"connection_id":163280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045f0"} 
[2026-08-28 06:50:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06: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-28 06:50:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697153024001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:50:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:50:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06: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-28 06:50:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787879805000,"timestamp_ms":1787879805000,"timestamp_seconds":1787879805,"priority":1,"record_length":96,"hex_timestamp":"000001a045f0d048"} 
[2026-08-28 06: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-28 06:50:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:50: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-28 06: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-28 06: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-28 06:50:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:50:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:50:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:50:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:50: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-28 06:50:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:50:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:50:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697153024001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:50:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:50:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:50:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697153024001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:50:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:50:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06: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-28 06:50:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:50:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697153024001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:50:47] local.INFO: DEBUG: GPS processor result {"connection_id":163280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:50:47] local.INFO: GPS data processed {"connection_id":163280,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:50:47] local.INFO: Acknowledgment sent {"connection_id":163280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:51:31] local.INFO: TCP Data received {"connection_id":164543,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:51:31] local.INFO: Processing buffer {"connection_id":164543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:51:31] local.INFO: IMEI packet received {"connection_id":164543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 06:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":164543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:51:33] local.INFO: TCP Data received {"connection_id":163278,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 06:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163278,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 06:51:33] local.INFO: Processing buffer {"connection_id":163278,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 06:51:33] local.INFO: IMEI packet received {"connection_id":163278,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 06:51:33] local.INFO: IMEI acknowledgment sent {"connection_id":163278,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:51:37] local.INFO: TCP Data received {"connection_id":164543,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:51:37] local.INFO: Processing buffer {"connection_id":164543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:51:37] local.INFO: IMEI packet received {"connection_id":164543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 06:51:37] local.INFO: IMEI acknowledgment sent {"connection_id":164543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 06:51:38] local.INFO: TCP Data received {"connection_id":164543,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a045f0d048012d34c14006aa4840000300e62f..."} 
[2026-08-28 06:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045f0d048012d34c14006aa4840000300e62f..."} 
[2026-08-28 06:51:38] local.INFO: Processing buffer {"connection_id":164543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045f0d048012d34c14006aa4840000300e62f..."} 
[2026-08-28 06:51:38] local.INFO: Packet analysis {"connection_id":164543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045f0"} 
[2026-08-28 06:51:38] local.INFO: Extracted packet for processing {"connection_id":164543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045f0"} 
[2026-08-28 06:51:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697153024001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:51:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787879805000,"timestamp_ms":1787879805000,"timestamp_seconds":1787879805,"priority":1,"record_length":96,"hex_timestamp":"000001a045f0d048"} 
[2026-08-28 06:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:51:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:51:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:51:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697153024001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697153024001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:51:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:51:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:51: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-28 06:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697153024001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":164543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:51:38] local.INFO: GPS data processed {"connection_id":164543,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:51:38] local.INFO: Acknowledgment sent {"connection_id":164543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:52:09] local.INFO: TCP Data received {"connection_id":164543,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a045f0d048012d34c14006aa4840000300e62f..."} 
[2026-08-28 06:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045f0d048012d34c14006aa4840000300e62f..."} 
[2026-08-28 06:52:09] local.INFO: Processing buffer {"connection_id":164543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045f0d048012d34c14006aa4840000300e62f..."} 
[2026-08-28 06:52:09] local.INFO: Packet analysis {"connection_id":164543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045f0"} 
[2026-08-28 06:52:09] local.INFO: Extracted packet for processing {"connection_id":164543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045f0"} 
[2026-08-28 06:52:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697153024001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:52:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:52:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787879805000,"timestamp_ms":1787879805000,"timestamp_seconds":1787879805,"priority":1,"record_length":96,"hex_timestamp":"000001a045f0d048"} 
[2026-08-28 06:52:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:52:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:52:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:52:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:52:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:52:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697153024001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697153024001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:52:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:52:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:52: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-28 06:52:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697153024001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":164543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:52:09] local.INFO: GPS data processed {"connection_id":164543,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:52:09] local.INFO: Acknowledgment sent {"connection_id":164543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:52:31] local.INFO: TCP Data received {"connection_id":163281,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:52:31] local.INFO: Processing buffer {"connection_id":163281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:52:31] local.INFO: IMEI packet received {"connection_id":163281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 06:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":163281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:52:36] local.INFO: TCP Data received {"connection_id":163281,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:52:36] local.INFO: Processing buffer {"connection_id":163281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:52:36] local.INFO: IMEI packet received {"connection_id":163281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 06:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":163281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 06:52:38] local.INFO: TCP Data received {"connection_id":163281,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a045f56810012d34c14006aa4840000000e62f..."} 
[2026-08-28 06:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045f56810012d34c14006aa4840000000e62f..."} 
[2026-08-28 06:52:38] local.INFO: Processing buffer {"connection_id":163281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045f56810012d34c14006aa4840000000e62f..."} 
[2026-08-28 06:52:38] local.INFO: Packet analysis {"connection_id":163281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045f5"} 
[2026-08-28 06:52:38] local.INFO: Extracted packet for processing {"connection_id":163281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045f5"} 
[2026-08-28 06:52:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":0,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697230080001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787880106000,"timestamp_ms":1787880106000,"timestamp_seconds":1787880106,"priority":1,"record_length":96,"hex_timestamp":"000001a045f56810"} 
[2026-08-28 06:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:52:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697230080001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697230080001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:52:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:52:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:52: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-28 06:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697230080001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":163281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:52:38] local.INFO: GPS data processed {"connection_id":163281,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:52:38] local.INFO: Acknowledgment sent {"connection_id":163281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:53:10] local.INFO: TCP Data received {"connection_id":163281,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a045f56810012d34c14006aa4840000000e62f..."} 
[2026-08-28 06:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045f56810012d34c14006aa4840000000e62f..."} 
[2026-08-28 06:53:10] local.INFO: Processing buffer {"connection_id":163281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045f56810012d34c14006aa4840000000e62f..."} 
[2026-08-28 06:53:10] local.INFO: Packet analysis {"connection_id":163281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045f5"} 
[2026-08-28 06:53:10] local.INFO: Extracted packet for processing {"connection_id":163281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045f5"} 
[2026-08-28 06:53:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":0,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697230080001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:53:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:53:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787880106000,"timestamp_ms":1787880106000,"timestamp_seconds":1787880106,"priority":1,"record_length":96,"hex_timestamp":"000001a045f56810"} 
[2026-08-28 06:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:53:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:53:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:53:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:53:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697230080001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697230080001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:53:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:53:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 06:53:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697230080001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":163281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:53:10] local.INFO: GPS data processed {"connection_id":163281,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:53:10] local.INFO: Acknowledgment sent {"connection_id":163281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:53:31] local.INFO: TCP Data received {"connection_id":163544,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:53:31] local.INFO: Processing buffer {"connection_id":163544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:53:31] local.INFO: IMEI packet received {"connection_id":163544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 06:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":163544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:53:37] local.INFO: TCP Data received {"connection_id":163544,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:53:37] local.INFO: Processing buffer {"connection_id":163544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:53:37] local.INFO: IMEI packet received {"connection_id":163544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 06:53:37] local.INFO: IMEI acknowledgment sent {"connection_id":163544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 06:53:38] local.INFO: TCP Data received {"connection_id":163544,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a045f56810012d34c14006aa4840000000e62f..."} 
[2026-08-28 06:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045f56810012d34c14006aa4840000000e62f..."} 
[2026-08-28 06:53:38] local.INFO: Processing buffer {"connection_id":163544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045f56810012d34c14006aa4840000000e62f..."} 
[2026-08-28 06:53:38] local.INFO: Packet analysis {"connection_id":163544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045f5"} 
[2026-08-28 06:53:38] local.INFO: Extracted packet for processing {"connection_id":163544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045f5"} 
[2026-08-28 06:53:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":0,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697230080001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787880106000,"timestamp_ms":1787880106000,"timestamp_seconds":1787880106,"priority":1,"record_length":96,"hex_timestamp":"000001a045f56810"} 
[2026-08-28 06:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:53:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:53:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697230080001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697230080001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:53:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:53:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:53: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-28 06:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697230080001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:53:38] 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":706574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:53:38] local.INFO: GPS data processed {"connection_id":163544,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:53:38] local.INFO: Acknowledgment sent {"connection_id":163544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:54:11] local.INFO: TCP Data received {"connection_id":163544,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a045f56810012d34c14006aa4840000000e62f..."} 
[2026-08-28 06:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045f56810012d34c14006aa4840000000e62f..."} 
[2026-08-28 06:54:11] local.INFO: Processing buffer {"connection_id":163544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045f56810012d34c14006aa4840000000e62f..."} 
[2026-08-28 06:54:11] local.INFO: Packet analysis {"connection_id":163544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045f5"} 
[2026-08-28 06:54:11] local.INFO: Extracted packet for processing {"connection_id":163544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045f5"} 
[2026-08-28 06:54:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":0,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:54:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697230080001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:54:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:54:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:54: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-28 06:54:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787880106000,"timestamp_ms":1787880106000,"timestamp_seconds":1787880106,"priority":1,"record_length":96,"hex_timestamp":"000001a045f56810"} 
[2026-08-28 06:54:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:54:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:54: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-28 06:54:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:54:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:54:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:54:11] local.INFO: Teltonika packet parsed successfully {"connection_id":163544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:54:11] local.INFO: Passing IMEI to GPS processor {"connection_id":163544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:54:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":163544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:54:11] 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-28 06:54:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:54:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:54:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697230080001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:54:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:54:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:54:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697230080001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:54:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:54:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:54: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-28 06:54:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:54:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697230080001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:54:11] 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":706575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:54:11] local.INFO: GPS data processed {"connection_id":163544,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:54:11] local.INFO: Acknowledgment sent {"connection_id":163544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:54:31] local.INFO: TCP Data received {"connection_id":163545,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:54:31] local.INFO: Processing buffer {"connection_id":163545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:54:31] local.INFO: IMEI packet received {"connection_id":163545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 06:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":163545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:54:36] local.INFO: TCP Data received {"connection_id":163545,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:54:36] local.INFO: Processing buffer {"connection_id":163545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:54:36] local.INFO: IMEI packet received {"connection_id":163545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 06:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":163545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 06:54:38] local.INFO: TCP Data received {"connection_id":163545,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a045f56810012d34c14006aa4840000000e62f..."} 
[2026-08-28 06:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045f56810012d34c14006aa4840000000e62f..."} 
[2026-08-28 06:54:38] local.INFO: Processing buffer {"connection_id":163545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045f56810012d34c14006aa4840000000e62f..."} 
[2026-08-28 06:54:38] local.INFO: Packet analysis {"connection_id":163545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045f5"} 
[2026-08-28 06:54:38] local.INFO: Extracted packet for processing {"connection_id":163545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045f5"} 
[2026-08-28 06:54:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":0,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697230080001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787880106000,"timestamp_ms":1787880106000,"timestamp_seconds":1787880106,"priority":1,"record_length":96,"hex_timestamp":"000001a045f56810"} 
[2026-08-28 06:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:54:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697230080001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697230080001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:54:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:54:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:54: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-28 06:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697230080001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:54:38] 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":706576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:54:38] local.INFO: GPS data processed {"connection_id":163545,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:54:38] local.INFO: Acknowledgment sent {"connection_id":163545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:55:09] local.INFO: TCP Data received {"connection_id":163545,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a045f56810012d34c14006aa4840000000e62f..."} 
[2026-08-28 06:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045f56810012d34c14006aa4840000000e62f..."} 
[2026-08-28 06:55:09] local.INFO: Processing buffer {"connection_id":163545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045f56810012d34c14006aa4840000000e62f..."} 
[2026-08-28 06:55:09] local.INFO: Packet analysis {"connection_id":163545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045f5"} 
[2026-08-28 06:55:09] local.INFO: Extracted packet for processing {"connection_id":163545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045f5"} 
[2026-08-28 06:55:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":0,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:55:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697230080001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:55:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:55:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787880106000,"timestamp_ms":1787880106000,"timestamp_seconds":1787880106,"priority":1,"record_length":96,"hex_timestamp":"000001a045f56810"} 
[2026-08-28 06:55:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:55:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:55:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:55:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:55:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:55:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:55:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697230080001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697230080001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:55:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:55:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:55: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-28 06:55:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697230080001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:55:09] 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":706577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:55:09] local.INFO: GPS data processed {"connection_id":163545,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:55:09] local.INFO: Acknowledgment sent {"connection_id":163545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:55:31] local.INFO: TCP Data received {"connection_id":163546,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:55:31] local.INFO: Processing buffer {"connection_id":163546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:55:31] local.INFO: IMEI packet received {"connection_id":163546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 06:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":163546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:55:37] local.INFO: TCP Data received {"connection_id":163546,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:55:37] local.INFO: Processing buffer {"connection_id":163546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:55:37] local.INFO: IMEI packet received {"connection_id":163546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 06:55:37] local.INFO: IMEI acknowledgment sent {"connection_id":163546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 06:55:37] local.INFO: TCP Data received {"connection_id":163546,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a045f56810012d34c14006aa4840000000e62f..."} 
[2026-08-28 06:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045f56810012d34c14006aa4840000000e62f..."} 
[2026-08-28 06:55:37] local.INFO: Processing buffer {"connection_id":163546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045f56810012d34c14006aa4840000000e62f..."} 
[2026-08-28 06:55:37] local.INFO: Packet analysis {"connection_id":163546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045f5"} 
[2026-08-28 06:55:37] local.INFO: Extracted packet for processing {"connection_id":163546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045f5"} 
[2026-08-28 06:55:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":0,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697230080001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787880106000,"timestamp_ms":1787880106000,"timestamp_seconds":1787880106,"priority":1,"record_length":96,"hex_timestamp":"000001a045f56810"} 
[2026-08-28 06:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697230080001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697230080001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:55:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:55:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:55: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-28 06:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697230080001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:55:37] 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":706578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:55:37] local.INFO: GPS data processed {"connection_id":163546,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:55:37] local.INFO: Acknowledgment sent {"connection_id":163546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:56:09] local.INFO: TCP Data received {"connection_id":163546,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a045f56810012d34c14006aa4840000000e62f..."} 
[2026-08-28 06:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045f56810012d34c14006aa4840000000e62f..."} 
[2026-08-28 06:56:09] local.INFO: Processing buffer {"connection_id":163546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045f56810012d34c14006aa4840000000e62f..."} 
[2026-08-28 06:56:09] local.INFO: Packet analysis {"connection_id":163546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045f5"} 
[2026-08-28 06:56:09] local.INFO: Extracted packet for processing {"connection_id":163546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045f5"} 
[2026-08-28 06:56:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":0,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697230080001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:56:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:56:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787880106000,"timestamp_ms":1787880106000,"timestamp_seconds":1787880106,"priority":1,"record_length":96,"hex_timestamp":"000001a045f56810"} 
[2026-08-28 06:56:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:56:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:56:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:56:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:56:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:56:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697230080001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697230080001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:56:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:56:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:56: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-28 06:56:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697230080001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:56:09] 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":706579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:56:09] local.INFO: GPS data processed {"connection_id":163546,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:56:09] local.INFO: Acknowledgment sent {"connection_id":163546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:56:36] local.INFO: TCP Data received {"connection_id":164544,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:56:36] local.INFO: Processing buffer {"connection_id":164544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:56:36] local.INFO: IMEI packet received {"connection_id":164544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 06:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":164544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:56:42] local.INFO: TCP Data received {"connection_id":164544,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:56:42] local.INFO: Processing buffer {"connection_id":164544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:56:42] local.INFO: IMEI packet received {"connection_id":164544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 06:56:42] local.INFO: IMEI acknowledgment sent {"connection_id":164544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 06:56:43] local.INFO: TCP Data received {"connection_id":164544,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a045f56810012d34c14006aa4840000000e62f..."} 
[2026-08-28 06:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045f56810012d34c14006aa4840000000e62f..."} 
[2026-08-28 06:56:43] local.INFO: Processing buffer {"connection_id":164544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045f56810012d34c14006aa4840000000e62f..."} 
[2026-08-28 06:56:43] local.INFO: Packet analysis {"connection_id":164544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045f5"} 
[2026-08-28 06:56:43] local.INFO: Extracted packet for processing {"connection_id":164544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045f5"} 
[2026-08-28 06:56:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":0,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 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-28 06:56:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697230080001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:56:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:56:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 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-28 06:56:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787880106000,"timestamp_ms":1787880106000,"timestamp_seconds":1787880106,"priority":1,"record_length":96,"hex_timestamp":"000001a045f56810"} 
[2026-08-28 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-28 06:56:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:56: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-28 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-28 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-28 06:56:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:56:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:56:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:56:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:56: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-28 06:56:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:56:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:56:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697230080001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:56:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:56:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:56:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697230080001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:56:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:56:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 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-28 06:56:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:56:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697230080001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:56:43] local.INFO: DEBUG: GPS processor result {"connection_id":164544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:56:43] local.INFO: GPS data processed {"connection_id":164544,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:56:43] local.INFO: Acknowledgment sent {"connection_id":164544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:56:47] local.INFO: TCP Data received {"connection_id":164544,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a045f56810012d34c14006aa4840000000e62f..."} 
[2026-08-28 06:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045f56810012d34c14006aa4840000000e62f..."} 
[2026-08-28 06:56:47] local.INFO: Processing buffer {"connection_id":164544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045f56810012d34c14006aa4840000000e62f..."} 
[2026-08-28 06:56:47] local.INFO: Packet analysis {"connection_id":164544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045f5"} 
[2026-08-28 06:56:47] local.INFO: Extracted packet for processing {"connection_id":164544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045f5"} 
[2026-08-28 06:56:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":0,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06: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-28 06:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697230080001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:56:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06: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-28 06:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787880106000,"timestamp_ms":1787880106000,"timestamp_seconds":1787880106,"priority":1,"record_length":96,"hex_timestamp":"000001a045f56810"} 
[2026-08-28 06: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-28 06:56:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 06:56: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-28 06: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-28 06: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-28 06:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:56:47] 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-28 06:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697230080001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697230080001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:56:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:56:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06: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-28 06:56:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:56:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697230080001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":164544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:56:47] local.INFO: GPS data processed {"connection_id":164544,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:56:47] local.INFO: Acknowledgment sent {"connection_id":164544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:56:57] local.INFO: TCP Data received {"connection_id":165896,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 06:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165896,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 06:56:57] local.INFO: Processing buffer {"connection_id":165896,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 06:56:57] local.INFO: IMEI packet received {"connection_id":165896,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 06:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":165896,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:57:31] local.INFO: TCP Data received {"connection_id":165897,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:57:31] local.INFO: Processing buffer {"connection_id":165897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:57:31] local.INFO: IMEI packet received {"connection_id":165897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 06:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":165897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:57:37] local.INFO: TCP Data received {"connection_id":165897,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:57:37] local.INFO: Processing buffer {"connection_id":165897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:57:37] local.INFO: IMEI packet received {"connection_id":165897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 06:57:37] local.INFO: IMEI acknowledgment sent {"connection_id":165897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 06:57:38] local.INFO: TCP Data received {"connection_id":165897,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a045f9ffd8012d34c14006aa4840000700e62e..."} 
[2026-08-28 06:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045f9ffd8012d34c14006aa4840000700e62e..."} 
[2026-08-28 06:57:38] local.INFO: Processing buffer {"connection_id":165897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045f9ffd8012d34c14006aa4840000700e62e..."} 
[2026-08-28 06:57:38] local.INFO: Packet analysis {"connection_id":165897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045f9"} 
[2026-08-28 06:57:38] local.INFO: Extracted packet for processing {"connection_id":165897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045f9"} 
[2026-08-28 06:57:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":7,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697307136001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:57:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787880407000,"timestamp_ms":1787880407000,"timestamp_seconds":1787880407,"priority":1,"record_length":96,"hex_timestamp":"000001a045f9ffd8"} 
[2026-08-28 06:57:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:57:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 06:57:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:57:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:57:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":165897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":165897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":165897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:57:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697307136001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697307136001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:57:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:57:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06: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-28 06:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697307136001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":165897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:57:38] local.INFO: GPS data processed {"connection_id":165897,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:57:38] local.INFO: Acknowledgment sent {"connection_id":165897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:58:09] local.INFO: TCP Data received {"connection_id":165897,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a045f9ffd8012d34c14006aa4840000700e62e..."} 
[2026-08-28 06:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045f9ffd8012d34c14006aa4840000700e62e..."} 
[2026-08-28 06:58:09] local.INFO: Processing buffer {"connection_id":165897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045f9ffd8012d34c14006aa4840000700e62e..."} 
[2026-08-28 06:58:09] local.INFO: Packet analysis {"connection_id":165897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045f9"} 
[2026-08-28 06:58:09] local.INFO: Extracted packet for processing {"connection_id":165897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045f9"} 
[2026-08-28 06:58:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":7,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697307136001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:58:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:58:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:58:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:58:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787880407000,"timestamp_ms":1787880407000,"timestamp_seconds":1787880407,"priority":1,"record_length":96,"hex_timestamp":"000001a045f9ffd8"} 
[2026-08-28 06:58:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:58:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 06:58:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:58:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:58:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:58:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:58:09] local.INFO: Teltonika packet parsed successfully {"connection_id":165897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:58:09] local.INFO: Passing IMEI to GPS processor {"connection_id":165897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:58:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":165897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:58:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:58:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:58:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:58:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697307136001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:58:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:58:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:58:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697307136001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:58:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:58:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:58: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-28 06:58:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:58:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697307136001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:58:09] local.INFO: DEBUG: GPS processor result {"connection_id":165897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:58:09] local.INFO: GPS data processed {"connection_id":165897,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:58:09] local.INFO: Acknowledgment sent {"connection_id":165897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:58:31] local.INFO: TCP Data received {"connection_id":163282,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:58:31] local.INFO: Processing buffer {"connection_id":163282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:58:31] local.INFO: IMEI packet received {"connection_id":163282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 06:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":163282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:58:36] local.INFO: TCP Data received {"connection_id":163282,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:58:36] local.INFO: Processing buffer {"connection_id":163282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:58:36] local.INFO: IMEI packet received {"connection_id":163282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 06:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":163282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 06:58:37] local.INFO: TCP Data received {"connection_id":163282,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a045f9ffd8012d34c14006aa4840000700e62e..."} 
[2026-08-28 06:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045f9ffd8012d34c14006aa4840000700e62e..."} 
[2026-08-28 06:58:37] local.INFO: Processing buffer {"connection_id":163282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045f9ffd8012d34c14006aa4840000700e62e..."} 
[2026-08-28 06:58:37] local.INFO: Packet analysis {"connection_id":163282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045f9"} 
[2026-08-28 06:58:37] local.INFO: Extracted packet for processing {"connection_id":163282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045f9"} 
[2026-08-28 06:58:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":7,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 06:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697307136001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787880407000,"timestamp_ms":1787880407000,"timestamp_seconds":1787880407,"priority":1,"record_length":96,"hex_timestamp":"000001a045f9ffd8"} 
[2026-08-28 06:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 06:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 06:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 06:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 06:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697307136001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697307136001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:58:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:58:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06:58: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-28 06:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697307136001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":163282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:58:37] local.INFO: GPS data processed {"connection_id":163282,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:58:37] local.INFO: Acknowledgment sent {"connection_id":163282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:59:09] local.INFO: TCP Data received {"connection_id":163282,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a045f9ffd8012d34c14006aa4840000700e62e..."} 
[2026-08-28 06:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045f9ffd8012d34c14006aa4840000700e62e..."} 
[2026-08-28 06:59:09] local.INFO: Processing buffer {"connection_id":163282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045f9ffd8012d34c14006aa4840000700e62e..."} 
[2026-08-28 06:59:09] local.INFO: Packet analysis {"connection_id":163282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045f9"} 
[2026-08-28 06:59:09] local.INFO: Extracted packet for processing {"connection_id":163282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045f9"} 
[2026-08-28 06:59:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":7,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06: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-28 06:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697307136001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:59:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787880407000,"timestamp_ms":1787880407000,"timestamp_seconds":1787880407,"priority":1,"record_length":96,"hex_timestamp":"000001a045f9ffd8"} 
[2026-08-28 06: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-28 06:59:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 06:59:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06: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-28 06: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-28 06:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:59:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697307136001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697307136001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:59:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:59:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06: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-28 06:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697307136001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":163282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:59:09] local.INFO: GPS data processed {"connection_id":163282,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:59:09] local.INFO: Acknowledgment sent {"connection_id":163282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 06:59:31] local.INFO: TCP Data received {"connection_id":163283,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:59:31] local.INFO: Processing buffer {"connection_id":163283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:59:31] local.INFO: IMEI packet received {"connection_id":163283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 06:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":163283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 06:59:37] local.INFO: TCP Data received {"connection_id":163283,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:59:37] local.INFO: Processing buffer {"connection_id":163283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 06:59:37] local.INFO: IMEI packet received {"connection_id":163283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 06:59:37] local.INFO: IMEI acknowledgment sent {"connection_id":163283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 06:59:38] local.INFO: TCP Data received {"connection_id":163283,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a045f9ffd8012d34c14006aa4840000700e62e..."} 
[2026-08-28 06:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045f9ffd8012d34c14006aa4840000700e62e..."} 
[2026-08-28 06:59:38] local.INFO: Processing buffer {"connection_id":163283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045f9ffd8012d34c14006aa4840000700e62e..."} 
[2026-08-28 06:59:38] local.INFO: Packet analysis {"connection_id":163283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045f9"} 
[2026-08-28 06:59:38] local.INFO: Extracted packet for processing {"connection_id":163283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045f9"} 
[2026-08-28 06:59:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":7,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 06: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-28 06:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697307136001,"note":"Value kept but may cause issues"} 
[2026-08-28 06:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 06:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 06:59:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 06:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787880407000,"timestamp_ms":1787880407000,"timestamp_seconds":1787880407,"priority":1,"record_length":96,"hex_timestamp":"000001a045f9ffd8"} 
[2026-08-28 06: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-28 06:59:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 06:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 06:59:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 06: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-28 06: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-28 06:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 06:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 06:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 06:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 06:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 06:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 06:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697307136001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 06:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 06:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 06:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697307136001,"description":"Unknown IO ID 0"} 
[2026-08-28 06:59:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 06:59:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 06: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-28 06:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 06:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697307136001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 06:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":163283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 06:59:38] local.INFO: GPS data processed {"connection_id":163283,"processed":1,"errors":0,"total":1} 
[2026-08-28 06:59:38] local.INFO: Acknowledgment sent {"connection_id":163283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:00:13] local.INFO: TCP Data received {"connection_id":163283,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a045f9ffd8012d34c14006aa4840000700e62e..."} 
[2026-08-28 07:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045f9ffd8012d34c14006aa4840000700e62e..."} 
[2026-08-28 07:00:13] local.INFO: Processing buffer {"connection_id":163283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045f9ffd8012d34c14006aa4840000700e62e..."} 
[2026-08-28 07:00:13] local.INFO: Packet analysis {"connection_id":163283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045f9"} 
[2026-08-28 07:00:13] local.INFO: Extracted packet for processing {"connection_id":163283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045f9"} 
[2026-08-28 07:00:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":7,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07: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-28 07:00:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697307136001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:00:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:00:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07: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-28 07:00:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787880407000,"timestamp_ms":1787880407000,"timestamp_seconds":1787880407,"priority":1,"record_length":96,"hex_timestamp":"000001a045f9ffd8"} 
[2026-08-28 07: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-28 07:00:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07: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":211,"data_length":795,"current_offset":136} 
[2026-08-28 07:00: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-28 07: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-28 07: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-28 07:00:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:00:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:00:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:00:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:00: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-28 07:00:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:00:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:00:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697307136001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:00:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:00:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:00:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697307136001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:00:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:00:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07: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-28 07:00:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:00:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697307136001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:00:13] local.INFO: DEBUG: GPS processor result {"connection_id":163283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:00:13] local.INFO: GPS data processed {"connection_id":163283,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:00:13] local.INFO: Acknowledgment sent {"connection_id":163283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:00:31] local.INFO: TCP Data received {"connection_id":164545,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:00:31] local.INFO: Processing buffer {"connection_id":164545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:00:31] local.INFO: IMEI packet received {"connection_id":164545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 07:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":164545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:00:36] local.INFO: TCP Data received {"connection_id":164545,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:00:36] local.INFO: Processing buffer {"connection_id":164545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:00:36] local.INFO: IMEI packet received {"connection_id":164545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 07:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":164545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 07:00:37] local.INFO: TCP Data received {"connection_id":164545,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a045f9ffd8012d34c14006aa4840000700e62e..."} 
[2026-08-28 07:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045f9ffd8012d34c14006aa4840000700e62e..."} 
[2026-08-28 07:00:37] local.INFO: Processing buffer {"connection_id":164545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045f9ffd8012d34c14006aa4840000700e62e..."} 
[2026-08-28 07:00:37] local.INFO: Packet analysis {"connection_id":164545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045f9"} 
[2026-08-28 07:00:37] local.INFO: Extracted packet for processing {"connection_id":164545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045f9"} 
[2026-08-28 07:00:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":7,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697307136001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787880407000,"timestamp_ms":1787880407000,"timestamp_seconds":1787880407,"priority":1,"record_length":96,"hex_timestamp":"000001a045f9ffd8"} 
[2026-08-28 07:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 07:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697307136001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697307136001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:00:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:00:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:00: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-28 07:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697307136001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":164545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:00:37] local.INFO: GPS data processed {"connection_id":164545,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:00:37] local.INFO: Acknowledgment sent {"connection_id":164545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:01:10] local.INFO: TCP Data received {"connection_id":164545,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a045f9ffd8012d34c14006aa4840000700e62e..."} 
[2026-08-28 07:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045f9ffd8012d34c14006aa4840000700e62e..."} 
[2026-08-28 07:01:10] local.INFO: Processing buffer {"connection_id":164545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045f9ffd8012d34c14006aa4840000700e62e..."} 
[2026-08-28 07:01:10] local.INFO: Packet analysis {"connection_id":164545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045f9"} 
[2026-08-28 07:01:10] local.INFO: Extracted packet for processing {"connection_id":164545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045f9"} 
[2026-08-28 07:01:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":7,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697307136001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:01:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787880407000,"timestamp_ms":1787880407000,"timestamp_seconds":1787880407,"priority":1,"record_length":96,"hex_timestamp":"000001a045f9ffd8"} 
[2026-08-28 07:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:01:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 07:01:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:01:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":164545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":164545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":164545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:01:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697307136001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697307136001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:01:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:01:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 07:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697307136001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":164545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:01:10] local.INFO: GPS data processed {"connection_id":164545,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:01:10] local.INFO: Acknowledgment sent {"connection_id":164545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:01:37] local.INFO: TCP Data received {"connection_id":163284,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:01:37] local.INFO: Processing buffer {"connection_id":163284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:01:37] local.INFO: IMEI packet received {"connection_id":163284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 07:01:37] local.INFO: IMEI acknowledgment sent {"connection_id":163284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:01:41] local.INFO: TCP Data received {"connection_id":163284,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:01:41] local.INFO: Processing buffer {"connection_id":163284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:01:41] local.INFO: IMEI packet received {"connection_id":163284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 07:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":163284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 07:01:42] local.INFO: TCP Data received {"connection_id":163284,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a045f9ffd8012d34c14006aa4840000700e62e..."} 
[2026-08-28 07:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045f9ffd8012d34c14006aa4840000700e62e..."} 
[2026-08-28 07:01:42] local.INFO: Processing buffer {"connection_id":163284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045f9ffd8012d34c14006aa4840000700e62e..."} 
[2026-08-28 07:01:42] local.INFO: Packet analysis {"connection_id":163284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045f9"} 
[2026-08-28 07:01:42] local.INFO: Extracted packet for processing {"connection_id":163284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045f9"} 
[2026-08-28 07:01:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":7,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07: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-28 07:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697307136001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:01:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07: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-28 07:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787880407000,"timestamp_ms":1787880407000,"timestamp_seconds":1787880407,"priority":1,"record_length":96,"hex_timestamp":"000001a045f9ffd8"} 
[2026-08-28 07: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-28 07:01:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07: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":211,"data_length":795,"current_offset":136} 
[2026-08-28 07:01: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-28 07: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-28 07: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-28 07:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:01:42] 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-28 07:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697307136001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697307136001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:01:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:01:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07: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-28 07:01:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697307136001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":163284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:01:42] local.INFO: GPS data processed {"connection_id":163284,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:01:42] local.INFO: Acknowledgment sent {"connection_id":163284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:01:47] local.INFO: TCP Data received {"connection_id":163284,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a045f9ffd8012d34c14006aa4840000700e62e..."} 
[2026-08-28 07:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045f9ffd8012d34c14006aa4840000700e62e..."} 
[2026-08-28 07:01:47] local.INFO: Processing buffer {"connection_id":163284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045f9ffd8012d34c14006aa4840000700e62e..."} 
[2026-08-28 07:01:47] local.INFO: Packet analysis {"connection_id":163284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045f9"} 
[2026-08-28 07:01:47] local.INFO: Extracted packet for processing {"connection_id":163284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045f9"} 
[2026-08-28 07:01:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":7,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:01:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:01:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697307136001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:01:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:01:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07: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-28 07:01:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787880407000,"timestamp_ms":1787880407000,"timestamp_seconds":1787880407,"priority":1,"record_length":96,"hex_timestamp":"000001a045f9ffd8"} 
[2026-08-28 07:01:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:01:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:01:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 07:01: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-28 07:01:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:01:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:01:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:01:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:01:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:01:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:01:47] 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-28 07:01:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:01:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:01:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697307136001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:01:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:01:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:01:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697307136001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:01:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:01:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07: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-28 07:01:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:01:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697307136001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:01:47] local.INFO: DEBUG: GPS processor result {"connection_id":163284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:01:47] local.INFO: GPS data processed {"connection_id":163284,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:01:47] local.INFO: Acknowledgment sent {"connection_id":163284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:02:31] local.INFO: TCP Data received {"connection_id":165899,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:02:31] local.INFO: Processing buffer {"connection_id":165899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:02:31] local.INFO: IMEI packet received {"connection_id":165899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 07:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":165899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:02:32] local.INFO: TCP Data received {"connection_id":163547,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 07:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163547,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 07:02:32] local.INFO: Processing buffer {"connection_id":163547,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 07:02:32] local.INFO: IMEI packet received {"connection_id":163547,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 07:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":163547,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:02:36] local.INFO: TCP Data received {"connection_id":165899,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:02:36] local.INFO: Processing buffer {"connection_id":165899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:02:36] local.INFO: IMEI packet received {"connection_id":165899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 07:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":165899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 07:02:38] local.INFO: TCP Data received {"connection_id":165899,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a045fe97a0012d34c14006aa4840000c00e62f..."} 
[2026-08-28 07:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045fe97a0012d34c14006aa4840000c00e62f..."} 
[2026-08-28 07:02:38] local.INFO: Processing buffer {"connection_id":165899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045fe97a0012d34c14006aa4840000c00e62f..."} 
[2026-08-28 07:02:38] local.INFO: Packet analysis {"connection_id":165899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045fe"} 
[2026-08-28 07:02:38] local.INFO: Extracted packet for processing {"connection_id":165899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045fe"} 
[2026-08-28 07:02:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697384192001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:02:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787880708000,"timestamp_ms":1787880708000,"timestamp_seconds":1787880708,"priority":1,"record_length":96,"hex_timestamp":"000001a045fe97a0"} 
[2026-08-28 07:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:02:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 07:02:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:02:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":165899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":165899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":165899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:02: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-28 07:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697384192001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697384192001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:02:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:02:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:02: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-28 07:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697384192001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":165899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:02:38] local.INFO: GPS data processed {"connection_id":165899,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:02:38] local.INFO: Acknowledgment sent {"connection_id":165899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:03:02] local.INFO: TCP Data received {"connection_id":164547,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 07:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164547,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 07:03:02] local.INFO: Processing buffer {"connection_id":164547,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 07:03:02] local.INFO: IMEI packet received {"connection_id":164547,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 07:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":164547,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:03:09] local.INFO: TCP Data received {"connection_id":165899,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a045fe97a0012d34c14006aa4840000c00e62f..."} 
[2026-08-28 07:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045fe97a0012d34c14006aa4840000c00e62f..."} 
[2026-08-28 07:03:09] local.INFO: Processing buffer {"connection_id":165899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045fe97a0012d34c14006aa4840000c00e62f..."} 
[2026-08-28 07:03:09] local.INFO: Packet analysis {"connection_id":165899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045fe"} 
[2026-08-28 07:03:09] local.INFO: Extracted packet for processing {"connection_id":165899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045fe"} 
[2026-08-28 07:03:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697384192001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:03:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:03:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787880708000,"timestamp_ms":1787880708000,"timestamp_seconds":1787880708,"priority":1,"record_length":96,"hex_timestamp":"000001a045fe97a0"} 
[2026-08-28 07:03:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:03:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 07:03:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:03:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:03:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":165899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":165899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":165899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:03:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697384192001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697384192001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:03:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:03:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:03: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-28 07:03:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697384192001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":165899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:03:09] local.INFO: GPS data processed {"connection_id":165899,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:03:09] local.INFO: Acknowledgment sent {"connection_id":165899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:03:31] local.INFO: TCP Data received {"connection_id":163285,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:03:31] local.INFO: Processing buffer {"connection_id":163285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:03:31] local.INFO: IMEI packet received {"connection_id":163285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 07:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":163285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:03:38] local.INFO: TCP Data received {"connection_id":163285,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:03:38] local.INFO: Processing buffer {"connection_id":163285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:03:38] local.INFO: IMEI packet received {"connection_id":163285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 07:03:38] local.INFO: IMEI acknowledgment sent {"connection_id":163285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 07:03:39] local.INFO: TCP Data received {"connection_id":163285,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a045fe97a0012d34c14006aa4840000c00e62f..."} 
[2026-08-28 07:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045fe97a0012d34c14006aa4840000c00e62f..."} 
[2026-08-28 07:03:39] local.INFO: Processing buffer {"connection_id":163285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045fe97a0012d34c14006aa4840000c00e62f..."} 
[2026-08-28 07:03:39] local.INFO: Packet analysis {"connection_id":163285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045fe"} 
[2026-08-28 07:03:39] local.INFO: Extracted packet for processing {"connection_id":163285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045fe"} 
[2026-08-28 07:03:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:03:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697384192001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:03:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:03:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:03:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:03:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787880708000,"timestamp_ms":1787880708000,"timestamp_seconds":1787880708,"priority":1,"record_length":96,"hex_timestamp":"000001a045fe97a0"} 
[2026-08-28 07:03:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:03:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 07:03:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:03:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:03:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:03:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:03:39] local.INFO: Teltonika packet parsed successfully {"connection_id":163285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:03:39] local.INFO: Passing IMEI to GPS processor {"connection_id":163285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:03:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":163285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:03:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:03:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:03:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:03:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697384192001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:03:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:03:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:03:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697384192001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:03:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:03:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:03:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 07:03:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:03:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697384192001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:03:39] local.INFO: DEBUG: GPS processor result {"connection_id":163285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:03:39] local.INFO: GPS data processed {"connection_id":163285,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:03:39] local.INFO: Acknowledgment sent {"connection_id":163285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:04:10] local.INFO: TCP Data received {"connection_id":163285,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a045fe97a0012d34c14006aa4840000c00e62f..."} 
[2026-08-28 07:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045fe97a0012d34c14006aa4840000c00e62f..."} 
[2026-08-28 07:04:10] local.INFO: Processing buffer {"connection_id":163285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045fe97a0012d34c14006aa4840000c00e62f..."} 
[2026-08-28 07:04:10] local.INFO: Packet analysis {"connection_id":163285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045fe"} 
[2026-08-28 07:04:10] local.INFO: Extracted packet for processing {"connection_id":163285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045fe"} 
[2026-08-28 07:04:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697384192001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:04:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787880708000,"timestamp_ms":1787880708000,"timestamp_seconds":1787880708,"priority":1,"record_length":96,"hex_timestamp":"000001a045fe97a0"} 
[2026-08-28 07:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:04:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 07:04:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:04:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:04:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697384192001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697384192001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:04:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:04:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 07:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697384192001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":163285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:04:10] local.INFO: GPS data processed {"connection_id":163285,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:04:10] local.INFO: Acknowledgment sent {"connection_id":163285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:04:31] local.INFO: TCP Data received {"connection_id":163286,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:04:31] local.INFO: Processing buffer {"connection_id":163286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:04:31] local.INFO: IMEI packet received {"connection_id":163286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 07:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":163286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:04:36] local.INFO: TCP Data received {"connection_id":163286,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:04:36] local.INFO: Processing buffer {"connection_id":163286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:04:36] local.INFO: IMEI packet received {"connection_id":163286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 07:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":163286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 07:04:37] local.INFO: TCP Data received {"connection_id":163286,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a045fe97a0012d34c14006aa4840000c00e62f..."} 
[2026-08-28 07:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045fe97a0012d34c14006aa4840000c00e62f..."} 
[2026-08-28 07:04:37] local.INFO: Processing buffer {"connection_id":163286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045fe97a0012d34c14006aa4840000c00e62f..."} 
[2026-08-28 07:04:37] local.INFO: Packet analysis {"connection_id":163286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045fe"} 
[2026-08-28 07:04:37] local.INFO: Extracted packet for processing {"connection_id":163286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045fe"} 
[2026-08-28 07:04:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697384192001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787880708000,"timestamp_ms":1787880708000,"timestamp_seconds":1787880708,"priority":1,"record_length":96,"hex_timestamp":"000001a045fe97a0"} 
[2026-08-28 07:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 07:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697384192001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697384192001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:04:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:04:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:04: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-28 07:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697384192001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":163286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:04:37] local.INFO: GPS data processed {"connection_id":163286,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:04:37] local.INFO: Acknowledgment sent {"connection_id":163286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:05:08] local.INFO: TCP Data received {"connection_id":163286,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a045fe97a0012d34c14006aa4840000c00e62f..."} 
[2026-08-28 07:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045fe97a0012d34c14006aa4840000c00e62f..."} 
[2026-08-28 07:05:08] local.INFO: Processing buffer {"connection_id":163286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045fe97a0012d34c14006aa4840000c00e62f..."} 
[2026-08-28 07:05:08] local.INFO: Packet analysis {"connection_id":163286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045fe"} 
[2026-08-28 07:05:08] local.INFO: Extracted packet for processing {"connection_id":163286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045fe"} 
[2026-08-28 07:05:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697384192001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:05: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-28 07:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787880708000,"timestamp_ms":1787880708000,"timestamp_seconds":1787880708,"priority":1,"record_length":96,"hex_timestamp":"000001a045fe97a0"} 
[2026-08-28 07:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:05:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 07:05:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:05:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697384192001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697384192001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:05:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:05:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:05: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-28 07:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697384192001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":163286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:05:08] local.INFO: GPS data processed {"connection_id":163286,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:05:08] local.INFO: Acknowledgment sent {"connection_id":163286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:05:31] local.INFO: TCP Data received {"connection_id":164548,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:05:31] local.INFO: Processing buffer {"connection_id":164548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:05:31] local.INFO: IMEI packet received {"connection_id":164548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 07:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":164548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:05:36] local.INFO: TCP Data received {"connection_id":164548,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:05:37] local.INFO: Processing buffer {"connection_id":164548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:05:37] local.INFO: IMEI packet received {"connection_id":164548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 07:05:37] local.INFO: IMEI acknowledgment sent {"connection_id":164548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 07:05:37] local.INFO: TCP Data received {"connection_id":164548,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a045fe97a0012d34c14006aa4840000c00e62f..."} 
[2026-08-28 07:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045fe97a0012d34c14006aa4840000c00e62f..."} 
[2026-08-28 07:05:37] local.INFO: Processing buffer {"connection_id":164548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045fe97a0012d34c14006aa4840000c00e62f..."} 
[2026-08-28 07:05:37] local.INFO: Packet analysis {"connection_id":164548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045fe"} 
[2026-08-28 07:05:37] local.INFO: Extracted packet for processing {"connection_id":164548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045fe"} 
[2026-08-28 07:05:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697384192001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787880708000,"timestamp_ms":1787880708000,"timestamp_seconds":1787880708,"priority":1,"record_length":96,"hex_timestamp":"000001a045fe97a0"} 
[2026-08-28 07:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 07:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697384192001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697384192001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:05:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:05:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:05: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-28 07:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697384192001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":164548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:05:37] local.INFO: GPS data processed {"connection_id":164548,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:05:37] local.INFO: Acknowledgment sent {"connection_id":164548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:06:09] local.INFO: TCP Data received {"connection_id":164548,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a045fe97a0012d34c14006aa4840000c00e62f..."} 
[2026-08-28 07:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045fe97a0012d34c14006aa4840000c00e62f..."} 
[2026-08-28 07:06:09] local.INFO: Processing buffer {"connection_id":164548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045fe97a0012d34c14006aa4840000c00e62f..."} 
[2026-08-28 07:06:09] local.INFO: Packet analysis {"connection_id":164548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045fe"} 
[2026-08-28 07:06:09] local.INFO: Extracted packet for processing {"connection_id":164548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045fe"} 
[2026-08-28 07:06:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697384192001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:06:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:06:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787880708000,"timestamp_ms":1787880708000,"timestamp_seconds":1787880708,"priority":1,"record_length":96,"hex_timestamp":"000001a045fe97a0"} 
[2026-08-28 07:06:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:06:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 07:06:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:06:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:06:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:06:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697384192001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697384192001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:06:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:06:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:06: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-28 07:06:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697384192001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:06:09] local.INFO: DEBUG: GPS processor result {"connection_id":164548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:06:09] local.INFO: GPS data processed {"connection_id":164548,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:06:09] local.INFO: Acknowledgment sent {"connection_id":164548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:06:31] local.INFO: TCP Data received {"connection_id":163287,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:06:31] local.INFO: Processing buffer {"connection_id":163287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:06:31] local.INFO: IMEI packet received {"connection_id":163287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 07:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":163287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:06:36] local.INFO: TCP Data received {"connection_id":163287,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:06:36] local.INFO: Processing buffer {"connection_id":163287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:06:36] local.INFO: IMEI packet received {"connection_id":163287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 07:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":163287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 07:06:37] local.INFO: TCP Data received {"connection_id":163287,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a045fe97a0012d34c14006aa4840000c00e62f..."} 
[2026-08-28 07:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045fe97a0012d34c14006aa4840000c00e62f..."} 
[2026-08-28 07:06:37] local.INFO: Processing buffer {"connection_id":163287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045fe97a0012d34c14006aa4840000c00e62f..."} 
[2026-08-28 07:06:37] local.INFO: Packet analysis {"connection_id":163287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045fe"} 
[2026-08-28 07:06:37] local.INFO: Extracted packet for processing {"connection_id":163287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045fe"} 
[2026-08-28 07:06:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697384192001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787880708000,"timestamp_ms":1787880708000,"timestamp_seconds":1787880708,"priority":1,"record_length":96,"hex_timestamp":"000001a045fe97a0"} 
[2026-08-28 07:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 07:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697384192001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697384192001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:06:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:06:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:06: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-28 07:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697384192001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":163287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:06:37] local.INFO: GPS data processed {"connection_id":163287,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:06:37] local.INFO: Acknowledgment sent {"connection_id":163287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:07:09] local.INFO: TCP Data received {"connection_id":163287,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a045fe97a0012d34c14006aa4840000c00e62f..."} 
[2026-08-28 07:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a045fe97a0012d34c14006aa4840000c00e62f..."} 
[2026-08-28 07:07:09] local.INFO: Processing buffer {"connection_id":163287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a045fe97a0012d34c14006aa4840000c00e62f..."} 
[2026-08-28 07:07:09] local.INFO: Packet analysis {"connection_id":163287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a045fe"} 
[2026-08-28 07:07:09] local.INFO: Extracted packet for processing {"connection_id":163287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a045fe"} 
[2026-08-28 07:07:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07: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-28 07:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697384192001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:07:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787880708000,"timestamp_ms":1787880708000,"timestamp_seconds":1787880708,"priority":1,"record_length":96,"hex_timestamp":"000001a045fe97a0"} 
[2026-08-28 07: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-28 07:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 07:07:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07: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-28 07: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-28 07:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:07:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697384192001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697384192001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:07:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:07:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:07: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-28 07:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697384192001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":163287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:07:09] local.INFO: GPS data processed {"connection_id":163287,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:07:09] local.INFO: Acknowledgment sent {"connection_id":163287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:07:36] local.INFO: TCP Data received {"connection_id":163548,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:07:36] local.INFO: Processing buffer {"connection_id":163548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:07:36] local.INFO: IMEI packet received {"connection_id":163548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 07:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":163548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:07:41] local.INFO: TCP Data received {"connection_id":163548,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:07:41] local.INFO: Processing buffer {"connection_id":163548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:07:41] local.INFO: IMEI packet received {"connection_id":163548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 07:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":163548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 07:07:42] local.INFO: TCP Data received {"connection_id":163548,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a046032f68012d34c14006aa4840000a00e62f..."} 
[2026-08-28 07:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046032f68012d34c14006aa4840000a00e62f..."} 
[2026-08-28 07:07:42] local.INFO: Processing buffer {"connection_id":163548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046032f68012d34c14006aa4840000a00e62f..."} 
[2026-08-28 07:07:42] local.INFO: Packet analysis {"connection_id":163548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04603"} 
[2026-08-28 07:07:42] local.INFO: Extracted packet for processing {"connection_id":163548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04603"} 
[2026-08-28 07:07:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07: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-28 07:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697461248001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:07:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07: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-28 07:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787881009000,"timestamp_ms":1787881009000,"timestamp_seconds":1787881009,"priority":1,"record_length":96,"hex_timestamp":"000001a046032f68"} 
[2026-08-28 07: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-28 07:07:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07: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":211,"data_length":795,"current_offset":136} 
[2026-08-28 07:07: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-28 07: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-28 07: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-28 07:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:07: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-28 07:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697461248001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697461248001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:07:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:07:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07: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-28 07:07:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697461248001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:07:42] 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":706602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:07:42] local.INFO: GPS data processed {"connection_id":163548,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:07:42] local.INFO: Acknowledgment sent {"connection_id":163548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:08:16] local.INFO: TCP Data received {"connection_id":163548,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a046032f68012d34c14006aa4840000a00e62f..."} 
[2026-08-28 07:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046032f68012d34c14006aa4840000a00e62f..."} 
[2026-08-28 07:08:16] local.INFO: Processing buffer {"connection_id":163548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046032f68012d34c14006aa4840000a00e62f..."} 
[2026-08-28 07:08:16] local.INFO: Packet analysis {"connection_id":163548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04603"} 
[2026-08-28 07:08:16] local.INFO: Extracted packet for processing {"connection_id":163548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04603"} 
[2026-08-28 07:08:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 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-28 07:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697461248001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:08:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 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-28 07:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787881009000,"timestamp_ms":1787881009000,"timestamp_seconds":1787881009,"priority":1,"record_length":96,"hex_timestamp":"000001a046032f68"} 
[2026-08-28 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-28 07:08:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 07:08:16] 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-28 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-28 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-28 07:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:08: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-28 07:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697461248001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697461248001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:08:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:08:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 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-28 07:08:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697461248001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:08:16] 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":706603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:08:16] local.INFO: GPS data processed {"connection_id":163548,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:08:16] local.INFO: Acknowledgment sent {"connection_id":163548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:08:31] local.INFO: TCP Data received {"connection_id":164549,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:08:31] local.INFO: Processing buffer {"connection_id":164549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:08:31] local.INFO: IMEI packet received {"connection_id":164549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 07:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":164549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:08:32] local.INFO: TCP Data received {"connection_id":163288,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 07:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163288,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 07:08:32] local.INFO: Processing buffer {"connection_id":163288,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 07:08:32] local.INFO: IMEI packet received {"connection_id":163288,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 07:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":163288,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:08:36] local.INFO: TCP Data received {"connection_id":164549,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:08:36] local.INFO: Processing buffer {"connection_id":164549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:08:36] local.INFO: IMEI packet received {"connection_id":164549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 07:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":164549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 07:08:37] local.INFO: TCP Data received {"connection_id":164549,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a046032f68012d34c14006aa4840000a00e62f..."} 
[2026-08-28 07:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046032f68012d34c14006aa4840000a00e62f..."} 
[2026-08-28 07:08:37] local.INFO: Processing buffer {"connection_id":164549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046032f68012d34c14006aa4840000a00e62f..."} 
[2026-08-28 07:08:37] local.INFO: Packet analysis {"connection_id":164549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04603"} 
[2026-08-28 07:08:37] local.INFO: Extracted packet for processing {"connection_id":164549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04603"} 
[2026-08-28 07:08:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697461248001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787881009000,"timestamp_ms":1787881009000,"timestamp_seconds":1787881009,"priority":1,"record_length":96,"hex_timestamp":"000001a046032f68"} 
[2026-08-28 07:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 07:08:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:08:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:08:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697461248001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697461248001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:08:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:08:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:08: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-28 07:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697461248001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":164549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:08:37] local.INFO: GPS data processed {"connection_id":164549,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:08:37] local.INFO: Acknowledgment sent {"connection_id":164549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:09:09] local.INFO: TCP Data received {"connection_id":164549,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a046032f68012d34c14006aa4840000a00e62f..."} 
[2026-08-28 07:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046032f68012d34c14006aa4840000a00e62f..."} 
[2026-08-28 07:09:09] local.INFO: Processing buffer {"connection_id":164549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046032f68012d34c14006aa4840000a00e62f..."} 
[2026-08-28 07:09:09] local.INFO: Packet analysis {"connection_id":164549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04603"} 
[2026-08-28 07:09:09] local.INFO: Extracted packet for processing {"connection_id":164549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04603"} 
[2026-08-28 07:09:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697461248001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:09:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:09:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:09:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:09:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787881009000,"timestamp_ms":1787881009000,"timestamp_seconds":1787881009,"priority":1,"record_length":96,"hex_timestamp":"000001a046032f68"} 
[2026-08-28 07:09:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:09:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 07:09:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:09:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:09:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:09:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:09:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:09:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:09:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:09:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:09:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:09:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:09:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697461248001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:09:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:09:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:09:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697461248001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:09:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:09:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:09: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-28 07:09:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:09:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697461248001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":164549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:09:09] local.INFO: GPS data processed {"connection_id":164549,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:09:09] local.INFO: Acknowledgment sent {"connection_id":164549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:09:31] local.INFO: TCP Data received {"connection_id":163289,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:09:31] local.INFO: Processing buffer {"connection_id":163289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:09:31] local.INFO: IMEI packet received {"connection_id":163289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 07:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":163289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:09:37] local.INFO: TCP Data received {"connection_id":163289,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:09:37] local.INFO: Processing buffer {"connection_id":163289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:09:37] local.INFO: IMEI packet received {"connection_id":163289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 07:09:37] local.INFO: IMEI acknowledgment sent {"connection_id":163289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 07:09:37] local.INFO: TCP Data received {"connection_id":163289,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a046032f68012d34c14006aa4840000a00e62f..."} 
[2026-08-28 07:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046032f68012d34c14006aa4840000a00e62f..."} 
[2026-08-28 07:09:37] local.INFO: Processing buffer {"connection_id":163289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046032f68012d34c14006aa4840000a00e62f..."} 
[2026-08-28 07:09:37] local.INFO: Packet analysis {"connection_id":163289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04603"} 
[2026-08-28 07:09:37] local.INFO: Extracted packet for processing {"connection_id":163289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04603"} 
[2026-08-28 07:09:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697461248001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787881009000,"timestamp_ms":1787881009000,"timestamp_seconds":1787881009,"priority":1,"record_length":96,"hex_timestamp":"000001a046032f68"} 
[2026-08-28 07:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 07:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697461248001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697461248001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:09:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:09:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:09: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-28 07:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697461248001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":163289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:09:37] local.INFO: GPS data processed {"connection_id":163289,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:09:37] local.INFO: Acknowledgment sent {"connection_id":163289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:10:09] local.INFO: TCP Data received {"connection_id":163289,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a046032f68012d34c14006aa4840000a00e62f..."} 
[2026-08-28 07:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046032f68012d34c14006aa4840000a00e62f..."} 
[2026-08-28 07:10:09] local.INFO: Processing buffer {"connection_id":163289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046032f68012d34c14006aa4840000a00e62f..."} 
[2026-08-28 07:10:09] local.INFO: Packet analysis {"connection_id":163289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04603"} 
[2026-08-28 07:10:09] local.INFO: Extracted packet for processing {"connection_id":163289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04603"} 
[2026-08-28 07:10:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697461248001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:10:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:10:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787881009000,"timestamp_ms":1787881009000,"timestamp_seconds":1787881009,"priority":1,"record_length":96,"hex_timestamp":"000001a046032f68"} 
[2026-08-28 07:10:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:10:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 07:10:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:10:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:10:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:10:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697461248001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697461248001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:10:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:10:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:10: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-28 07:10:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697461248001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":163289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:10:09] local.INFO: GPS data processed {"connection_id":163289,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:10:09] local.INFO: Acknowledgment sent {"connection_id":163289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:10:31] local.INFO: TCP Data received {"connection_id":164550,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:10:31] local.INFO: Processing buffer {"connection_id":164550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:10:31] local.INFO: IMEI packet received {"connection_id":164550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 07:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":164550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:10:36] local.INFO: TCP Data received {"connection_id":164550,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:10:36] local.INFO: Processing buffer {"connection_id":164550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:10:36] local.INFO: IMEI packet received {"connection_id":164550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 07:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":164550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 07:10:38] local.INFO: TCP Data received {"connection_id":164550,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a046032f68012d34c14006aa4840000a00e62f..."} 
[2026-08-28 07:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046032f68012d34c14006aa4840000a00e62f..."} 
[2026-08-28 07:10:38] local.INFO: Processing buffer {"connection_id":164550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046032f68012d34c14006aa4840000a00e62f..."} 
[2026-08-28 07:10:38] local.INFO: Packet analysis {"connection_id":164550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04603"} 
[2026-08-28 07:10:38] local.INFO: Extracted packet for processing {"connection_id":164550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04603"} 
[2026-08-28 07:10:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697461248001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787881009000,"timestamp_ms":1787881009000,"timestamp_seconds":1787881009,"priority":1,"record_length":96,"hex_timestamp":"000001a046032f68"} 
[2026-08-28 07:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 07:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:10:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697461248001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697461248001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:10:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:10:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:10: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-28 07:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697461248001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":164550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:10:38] local.INFO: GPS data processed {"connection_id":164550,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:10:38] local.INFO: Acknowledgment sent {"connection_id":164550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:11:09] local.INFO: TCP Data received {"connection_id":164550,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a046032f68012d34c14006aa4840000a00e62f..."} 
[2026-08-28 07:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046032f68012d34c14006aa4840000a00e62f..."} 
[2026-08-28 07:11:09] local.INFO: Processing buffer {"connection_id":164550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046032f68012d34c14006aa4840000a00e62f..."} 
[2026-08-28 07:11:09] local.INFO: Packet analysis {"connection_id":164550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04603"} 
[2026-08-28 07:11:09] local.INFO: Extracted packet for processing {"connection_id":164550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04603"} 
[2026-08-28 07:11:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697461248001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:11:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:11:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787881009000,"timestamp_ms":1787881009000,"timestamp_seconds":1787881009,"priority":1,"record_length":96,"hex_timestamp":"000001a046032f68"} 
[2026-08-28 07:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:11:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 07:11:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:11:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:11:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697461248001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697461248001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:11:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:11:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:11: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-28 07:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697461248001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":164550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:11:09] local.INFO: GPS data processed {"connection_id":164550,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:11:09] local.INFO: Acknowledgment sent {"connection_id":164550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:11:31] local.INFO: TCP Data received {"connection_id":164551,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:11:31] local.INFO: Processing buffer {"connection_id":164551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:11:31] local.INFO: IMEI packet received {"connection_id":164551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 07:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":164551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:11:36] local.INFO: TCP Data received {"connection_id":164551,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:11:36] local.INFO: Processing buffer {"connection_id":164551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:11:36] local.INFO: IMEI packet received {"connection_id":164551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 07:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":164551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 07:11:37] local.INFO: TCP Data received {"connection_id":164551,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a046032f68012d34c14006aa4840000a00e62f..."} 
[2026-08-28 07:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046032f68012d34c14006aa4840000a00e62f..."} 
[2026-08-28 07:11:37] local.INFO: Processing buffer {"connection_id":164551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046032f68012d34c14006aa4840000a00e62f..."} 
[2026-08-28 07:11:37] local.INFO: Packet analysis {"connection_id":164551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04603"} 
[2026-08-28 07:11:37] local.INFO: Extracted packet for processing {"connection_id":164551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04603"} 
[2026-08-28 07:11:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697461248001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787881009000,"timestamp_ms":1787881009000,"timestamp_seconds":1787881009,"priority":1,"record_length":96,"hex_timestamp":"000001a046032f68"} 
[2026-08-28 07:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 07:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697461248001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697461248001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:11:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:11:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:11: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-28 07:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697461248001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":164551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:11:37] local.INFO: GPS data processed {"connection_id":164551,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:11:37] local.INFO: Acknowledgment sent {"connection_id":164551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:12:09] local.INFO: TCP Data received {"connection_id":164551,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a046032f68012d34c14006aa4840000a00e62f..."} 
[2026-08-28 07:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046032f68012d34c14006aa4840000a00e62f..."} 
[2026-08-28 07:12:09] local.INFO: Processing buffer {"connection_id":164551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046032f68012d34c14006aa4840000a00e62f..."} 
[2026-08-28 07:12:09] local.INFO: Packet analysis {"connection_id":164551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04603"} 
[2026-08-28 07:12:09] local.INFO: Extracted packet for processing {"connection_id":164551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04603"} 
[2026-08-28 07:12:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697461248001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:12:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787881009000,"timestamp_ms":1787881009000,"timestamp_seconds":1787881009,"priority":1,"record_length":96,"hex_timestamp":"000001a046032f68"} 
[2026-08-28 07:12:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:12:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 07:12:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:12:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:12:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:12:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697461248001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697461248001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:12:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:12:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:12: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-28 07:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697461248001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":164551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:12:09] local.INFO: GPS data processed {"connection_id":164551,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:12:09] local.INFO: Acknowledgment sent {"connection_id":164551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:12:39] local.INFO: TCP Data received {"connection_id":165900,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:12:39] local.INFO: Processing buffer {"connection_id":165900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:12:39] local.INFO: IMEI packet received {"connection_id":165900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 07:12:39] local.INFO: IMEI acknowledgment sent {"connection_id":165900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:12:42] local.INFO: TCP Data received {"connection_id":165900,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:12:42] local.INFO: Processing buffer {"connection_id":165900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:12:42] local.INFO: IMEI packet received {"connection_id":165900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 07:12:42] local.INFO: IMEI acknowledgment sent {"connection_id":165900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 07:12:52] local.INFO: TCP Data received {"connection_id":165900,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a04607c730012d34c14006aa4840000500e62d..."} 
[2026-08-28 07:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04607c730012d34c14006aa4840000500e62d..."} 
[2026-08-28 07:12:52] local.INFO: Processing buffer {"connection_id":165900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04607c730012d34c14006aa4840000500e62d..."} 
[2026-08-28 07:12:52] local.INFO: Packet analysis {"connection_id":165900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04607"} 
[2026-08-28 07:12:52] local.INFO: Extracted packet for processing {"connection_id":165900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04607"} 
[2026-08-28 07:12:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:12:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697538304001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:12:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:12:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:12: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-28 07:12:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787881310000,"timestamp_ms":1787881310000,"timestamp_seconds":1787881310,"priority":1,"record_length":96,"hex_timestamp":"000001a04607c730"} 
[2026-08-28 07:12:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:12:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 07:12: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-28 07:12:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:12:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:12:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:12:52] local.INFO: Teltonika packet parsed successfully {"connection_id":165900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:12:52] local.INFO: Passing IMEI to GPS processor {"connection_id":165900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:12:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":165900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:12:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:12:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:12:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:12:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697538304001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:12:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:12:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:12:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697538304001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:12:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:12:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:12: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-28 07:12:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:12:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697538304001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:12:52] local.INFO: DEBUG: GPS processor result {"connection_id":165900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:12:52] local.INFO: GPS data processed {"connection_id":165900,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:12:52] local.INFO: Acknowledgment sent {"connection_id":165900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:13:17] local.INFO: TCP Data received {"connection_id":165900,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a04607c730012d34c14006aa4840000500e62d..."} 
[2026-08-28 07:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04607c730012d34c14006aa4840000500e62d..."} 
[2026-08-28 07:13:17] local.INFO: Processing buffer {"connection_id":165900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04607c730012d34c14006aa4840000500e62d..."} 
[2026-08-28 07:13:17] local.INFO: Packet analysis {"connection_id":165900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04607"} 
[2026-08-28 07:13:17] local.INFO: Extracted packet for processing {"connection_id":165900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04607"} 
[2026-08-28 07:13:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:13:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:13:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697538304001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:13:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:13:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:13: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-28 07:13:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787881310000,"timestamp_ms":1787881310000,"timestamp_seconds":1787881310,"priority":1,"record_length":96,"hex_timestamp":"000001a04607c730"} 
[2026-08-28 07:13:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:13:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:13:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 07:13: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-28 07:13:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:13:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:13:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:13:17] local.INFO: Teltonika packet parsed successfully {"connection_id":165900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:13:17] local.INFO: Passing IMEI to GPS processor {"connection_id":165900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:13:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":165900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:13: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-28 07:13:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:13:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:13:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697538304001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:13:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:13:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:13:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697538304001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:13:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:13:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:13: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-28 07:13:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:13:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697538304001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:13:17] local.INFO: DEBUG: GPS processor result {"connection_id":165900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:13:17] local.INFO: GPS data processed {"connection_id":165900,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:13:17] local.INFO: Acknowledgment sent {"connection_id":165900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:13:31] local.INFO: TCP Data received {"connection_id":163550,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:13:31] local.INFO: Processing buffer {"connection_id":163550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:13:31] local.INFO: IMEI packet received {"connection_id":163550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 07:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":163550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:13:36] local.INFO: TCP Data received {"connection_id":163550,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:13:36] local.INFO: Processing buffer {"connection_id":163550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:13:36] local.INFO: IMEI packet received {"connection_id":163550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 07:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":163550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 07:13:37] local.INFO: TCP Data received {"connection_id":163550,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a04607c730012d34c14006aa4840000500e62d..."} 
[2026-08-28 07:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04607c730012d34c14006aa4840000500e62d..."} 
[2026-08-28 07:13:37] local.INFO: Processing buffer {"connection_id":163550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04607c730012d34c14006aa4840000500e62d..."} 
[2026-08-28 07:13:37] local.INFO: Packet analysis {"connection_id":163550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04607"} 
[2026-08-28 07:13:37] local.INFO: Extracted packet for processing {"connection_id":163550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04607"} 
[2026-08-28 07:13:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697538304001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787881310000,"timestamp_ms":1787881310000,"timestamp_seconds":1787881310,"priority":1,"record_length":96,"hex_timestamp":"000001a04607c730"} 
[2026-08-28 07:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 07:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697538304001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697538304001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:13:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:13:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:13: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-28 07:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697538304001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:13:37] 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":706614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:13:37] local.INFO: GPS data processed {"connection_id":163550,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:13:37] local.INFO: Acknowledgment sent {"connection_id":163550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:14:08] local.INFO: TCP Data received {"connection_id":163549,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 07:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163549,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 07:14:08] local.INFO: Processing buffer {"connection_id":163549,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 07:14:08] local.INFO: IMEI packet received {"connection_id":163549,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 07:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":163549,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:14:09] local.INFO: TCP Data received {"connection_id":163550,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a04607c730012d34c14006aa4840000500e62d..."} 
[2026-08-28 07:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04607c730012d34c14006aa4840000500e62d..."} 
[2026-08-28 07:14:09] local.INFO: Processing buffer {"connection_id":163550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04607c730012d34c14006aa4840000500e62d..."} 
[2026-08-28 07:14:09] local.INFO: Packet analysis {"connection_id":163550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04607"} 
[2026-08-28 07:14:09] local.INFO: Extracted packet for processing {"connection_id":163550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04607"} 
[2026-08-28 07:14:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697538304001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:14:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787881310000,"timestamp_ms":1787881310000,"timestamp_seconds":1787881310,"priority":1,"record_length":96,"hex_timestamp":"000001a04607c730"} 
[2026-08-28 07:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 07:14:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:14:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:14:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697538304001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697538304001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:14:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:14:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:14: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-28 07:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697538304001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:14:09] 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":706615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:14:09] local.INFO: GPS data processed {"connection_id":163550,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:14:09] local.INFO: Acknowledgment sent {"connection_id":163550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:14:31] local.INFO: TCP Data received {"connection_id":163290,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:14:31] local.INFO: Processing buffer {"connection_id":163290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:14:31] local.INFO: IMEI packet received {"connection_id":163290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 07:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":163290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:14:36] local.INFO: TCP Data received {"connection_id":163290,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:14:36] local.INFO: Processing buffer {"connection_id":163290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:14:36] local.INFO: IMEI packet received {"connection_id":163290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 07:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":163290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 07:14:37] local.INFO: TCP Data received {"connection_id":163290,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a04607c730012d34c14006aa4840000500e62d..."} 
[2026-08-28 07:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04607c730012d34c14006aa4840000500e62d..."} 
[2026-08-28 07:14:37] local.INFO: Processing buffer {"connection_id":163290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04607c730012d34c14006aa4840000500e62d..."} 
[2026-08-28 07:14:37] local.INFO: Packet analysis {"connection_id":163290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04607"} 
[2026-08-28 07:14:37] local.INFO: Extracted packet for processing {"connection_id":163290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04607"} 
[2026-08-28 07:14:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697538304001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787881310000,"timestamp_ms":1787881310000,"timestamp_seconds":1787881310,"priority":1,"record_length":96,"hex_timestamp":"000001a04607c730"} 
[2026-08-28 07:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 07:14:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:14:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697538304001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697538304001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:14:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:14:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:14: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-28 07:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697538304001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":163290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:14:37] local.INFO: GPS data processed {"connection_id":163290,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:14:37] local.INFO: Acknowledgment sent {"connection_id":163290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:15:09] local.INFO: TCP Data received {"connection_id":163290,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a04607c730012d34c14006aa4840000500e62d..."} 
[2026-08-28 07:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04607c730012d34c14006aa4840000500e62d..."} 
[2026-08-28 07:15:09] local.INFO: Processing buffer {"connection_id":163290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04607c730012d34c14006aa4840000500e62d..."} 
[2026-08-28 07:15:09] local.INFO: Packet analysis {"connection_id":163290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04607"} 
[2026-08-28 07:15:09] local.INFO: Extracted packet for processing {"connection_id":163290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04607"} 
[2026-08-28 07:15:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697538304001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:15:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:15:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787881310000,"timestamp_ms":1787881310000,"timestamp_seconds":1787881310,"priority":1,"record_length":96,"hex_timestamp":"000001a04607c730"} 
[2026-08-28 07:15:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:15:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 07:15:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:15:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:15:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:15:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697538304001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697538304001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:15:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:15:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:15: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-28 07:15:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697538304001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":163290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:15:09] local.INFO: GPS data processed {"connection_id":163290,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:15:09] local.INFO: Acknowledgment sent {"connection_id":163290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:15:31] local.INFO: TCP Data received {"connection_id":163551,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:15:31] local.INFO: Processing buffer {"connection_id":163551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:15:31] local.INFO: IMEI packet received {"connection_id":163551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 07:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":163551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:15:37] local.INFO: TCP Data received {"connection_id":163551,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:15:37] local.INFO: Processing buffer {"connection_id":163551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:15:37] local.INFO: IMEI packet received {"connection_id":163551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 07:15:37] local.INFO: IMEI acknowledgment sent {"connection_id":163551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 07:15:37] local.INFO: TCP Data received {"connection_id":163551,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a04607c730012d34c14006aa4840000500e62d..."} 
[2026-08-28 07:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04607c730012d34c14006aa4840000500e62d..."} 
[2026-08-28 07:15:37] local.INFO: Processing buffer {"connection_id":163551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04607c730012d34c14006aa4840000500e62d..."} 
[2026-08-28 07:15:37] local.INFO: Packet analysis {"connection_id":163551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04607"} 
[2026-08-28 07:15:37] local.INFO: Extracted packet for processing {"connection_id":163551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04607"} 
[2026-08-28 07:15:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07: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-28 07:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697538304001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787881310000,"timestamp_ms":1787881310000,"timestamp_seconds":1787881310,"priority":1,"record_length":96,"hex_timestamp":"000001a04607c730"} 
[2026-08-28 07: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-28 07:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 07:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07: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-28 07: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-28 07:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697538304001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697538304001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:15:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:15:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:15: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-28 07:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697538304001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:15:37] 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":706618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:15:37] local.INFO: GPS data processed {"connection_id":163551,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:15:37] local.INFO: Acknowledgment sent {"connection_id":163551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:16:09] local.INFO: TCP Data received {"connection_id":163551,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a04607c730012d34c14006aa4840000500e62d..."} 
[2026-08-28 07:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04607c730012d34c14006aa4840000500e62d..."} 
[2026-08-28 07:16:09] local.INFO: Processing buffer {"connection_id":163551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04607c730012d34c14006aa4840000500e62d..."} 
[2026-08-28 07:16:09] local.INFO: Packet analysis {"connection_id":163551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04607"} 
[2026-08-28 07:16:09] local.INFO: Extracted packet for processing {"connection_id":163551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04607"} 
[2026-08-28 07:16:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697538304001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:16:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787881310000,"timestamp_ms":1787881310000,"timestamp_seconds":1787881310,"priority":1,"record_length":96,"hex_timestamp":"000001a04607c730"} 
[2026-08-28 07:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:16:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 07:16:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:16:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697538304001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697538304001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:16:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:16:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:16: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-28 07:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697538304001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:16:09] 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":706619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:16:09] local.INFO: GPS data processed {"connection_id":163551,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:16:09] local.INFO: Acknowledgment sent {"connection_id":163551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:16:36] local.INFO: TCP Data received {"connection_id":163552,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:16:36] local.INFO: Processing buffer {"connection_id":163552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:16:36] local.INFO: IMEI packet received {"connection_id":163552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 07:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":163552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:16:42] local.INFO: TCP Data received {"connection_id":163552,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:16:42] local.INFO: Processing buffer {"connection_id":163552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:16:42] local.INFO: IMEI packet received {"connection_id":163552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 07:16:42] local.INFO: IMEI acknowledgment sent {"connection_id":163552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 07:16:43] local.INFO: TCP Data received {"connection_id":163552,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a04607c730012d34c14006aa4840000500e62d..."} 
[2026-08-28 07:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04607c730012d34c14006aa4840000500e62d..."} 
[2026-08-28 07:16:43] local.INFO: Processing buffer {"connection_id":163552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04607c730012d34c14006aa4840000500e62d..."} 
[2026-08-28 07:16:43] local.INFO: Packet analysis {"connection_id":163552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04607"} 
[2026-08-28 07:16:43] local.INFO: Extracted packet for processing {"connection_id":163552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04607"} 
[2026-08-28 07:16:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07: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-28 07:16:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697538304001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:16:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:16:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07: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-28 07:16:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787881310000,"timestamp_ms":1787881310000,"timestamp_seconds":1787881310,"priority":1,"record_length":96,"hex_timestamp":"000001a04607c730"} 
[2026-08-28 07: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-28 07:16:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07: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":233,"data_length":795,"current_offset":136} 
[2026-08-28 07:16: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-28 07: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-28 07: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-28 07:16:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:16:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:16:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:16:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:16: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-28 07:16:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:16:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:16:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697538304001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:16:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:16:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:16:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697538304001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:16:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:16:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07: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-28 07:16:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:16:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697538304001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:16:43] 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":706620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:16:43] local.INFO: GPS data processed {"connection_id":163552,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:16:43] local.INFO: Acknowledgment sent {"connection_id":163552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:16:47] local.INFO: TCP Data received {"connection_id":163552,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a04607c730012d34c14006aa4840000500e62d..."} 
[2026-08-28 07:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04607c730012d34c14006aa4840000500e62d..."} 
[2026-08-28 07:16:47] local.INFO: Processing buffer {"connection_id":163552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04607c730012d34c14006aa4840000500e62d..."} 
[2026-08-28 07:16:47] local.INFO: Packet analysis {"connection_id":163552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04607"} 
[2026-08-28 07:16:47] local.INFO: Extracted packet for processing {"connection_id":163552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04607"} 
[2026-08-28 07:16:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:16:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697538304001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:16:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:16:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:16: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-28 07:16:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787881310000,"timestamp_ms":1787881310000,"timestamp_seconds":1787881310,"priority":1,"record_length":96,"hex_timestamp":"000001a04607c730"} 
[2026-08-28 07:16:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:16:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 07:16: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-28 07:16:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:16:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:16:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:16:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:16:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:16:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:16:47] 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-28 07:16:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:16:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:16:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697538304001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:16:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:16:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:16:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697538304001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:16:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:16:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:16: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-28 07:16:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:16:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697538304001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:16:47] 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":706621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:16:47] local.INFO: GPS data processed {"connection_id":163552,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:16:47] local.INFO: Acknowledgment sent {"connection_id":163552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:17:29] local.INFO: TCP Data received {"connection_id":164552,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:17:29] local.INFO: Processing buffer {"connection_id":164552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:17:29] local.INFO: IMEI packet received {"connection_id":164552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 07:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":164552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:17:31] local.INFO: TCP Data received {"connection_id":164552,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:17:31] local.INFO: Processing buffer {"connection_id":164552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:17:31] local.INFO: IMEI packet received {"connection_id":164552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 07:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":164552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 07:17:37] local.INFO: TCP Data received {"connection_id":164552,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:17:37] local.INFO: Processing buffer {"connection_id":164552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:17:37] local.INFO: IMEI packet received {"connection_id":164552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 07:17:37] local.INFO: IMEI acknowledgment sent {"connection_id":164552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 07:17:37] local.INFO: TCP Data received {"connection_id":164552,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0460c5ef8012d34c14006aa4840000500e62c..."} 
[2026-08-28 07:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0460c5ef8012d34c14006aa4840000500e62c..."} 
[2026-08-28 07:17:37] local.INFO: Processing buffer {"connection_id":164552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0460c5ef8012d34c14006aa4840000500e62c..."} 
[2026-08-28 07:17:37] local.INFO: Packet analysis {"connection_id":164552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0460c"} 
[2026-08-28 07:17:37] local.INFO: Extracted packet for processing {"connection_id":164552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0460c"} 
[2026-08-28 07:17:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697615360001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787881611000,"timestamp_ms":1787881611000,"timestamp_seconds":1787881611,"priority":1,"record_length":96,"hex_timestamp":"000001a0460c5ef8"} 
[2026-08-28 07:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 07:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697615360001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697615360001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:17:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:17:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:17: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-28 07:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697615360001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":164552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:17:37] local.INFO: GPS data processed {"connection_id":164552,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:17:37] local.INFO: Acknowledgment sent {"connection_id":164552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:18:09] local.INFO: TCP Data received {"connection_id":164552,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0460c5ef8012d34c14006aa4840000500e62c..."} 
[2026-08-28 07:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0460c5ef8012d34c14006aa4840000500e62c..."} 
[2026-08-28 07:18:09] local.INFO: Processing buffer {"connection_id":164552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0460c5ef8012d34c14006aa4840000500e62c..."} 
[2026-08-28 07:18:09] local.INFO: Packet analysis {"connection_id":164552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0460c"} 
[2026-08-28 07:18:09] local.INFO: Extracted packet for processing {"connection_id":164552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0460c"} 
[2026-08-28 07:18:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:18:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697615360001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:18:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:18:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:18:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:18:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787881611000,"timestamp_ms":1787881611000,"timestamp_seconds":1787881611,"priority":1,"record_length":96,"hex_timestamp":"000001a0460c5ef8"} 
[2026-08-28 07:18:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:18:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 07:18:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:18:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:18:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:18:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:18:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:18:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:18:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:18:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:18:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:18:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:18:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697615360001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:18:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:18:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:18:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697615360001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:18:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:18:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:18: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-28 07:18:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:18:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697615360001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:18:09] local.INFO: DEBUG: GPS processor result {"connection_id":164552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:18:09] local.INFO: GPS data processed {"connection_id":164552,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:18:09] local.INFO: Acknowledgment sent {"connection_id":164552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:18:31] local.INFO: TCP Data received {"connection_id":165901,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:18:31] local.INFO: Processing buffer {"connection_id":165901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:18:31] local.INFO: IMEI packet received {"connection_id":165901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 07:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":165901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:18:36] local.INFO: TCP Data received {"connection_id":165901,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:18:36] local.INFO: Processing buffer {"connection_id":165901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:18:36] local.INFO: IMEI packet received {"connection_id":165901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 07:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":165901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 07:18:37] local.INFO: TCP Data received {"connection_id":165901,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0460c5ef8012d34c14006aa4840000500e62c..."} 
[2026-08-28 07:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0460c5ef8012d34c14006aa4840000500e62c..."} 
[2026-08-28 07:18:37] local.INFO: Processing buffer {"connection_id":165901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0460c5ef8012d34c14006aa4840000500e62c..."} 
[2026-08-28 07:18:37] local.INFO: Packet analysis {"connection_id":165901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0460c"} 
[2026-08-28 07:18:37] local.INFO: Extracted packet for processing {"connection_id":165901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0460c"} 
[2026-08-28 07:18:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07: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-28 07:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697615360001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787881611000,"timestamp_ms":1787881611000,"timestamp_seconds":1787881611,"priority":1,"record_length":96,"hex_timestamp":"000001a0460c5ef8"} 
[2026-08-28 07: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-28 07:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 07:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07: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-28 07: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-28 07:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":165901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":165901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":165901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697615360001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697615360001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:18:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:18:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:18: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-28 07:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697615360001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":165901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:18:37] local.INFO: GPS data processed {"connection_id":165901,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:18:37] local.INFO: Acknowledgment sent {"connection_id":165901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:19:09] local.INFO: TCP Data received {"connection_id":165901,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0460c5ef8012d34c14006aa4840000500e62c..."} 
[2026-08-28 07:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0460c5ef8012d34c14006aa4840000500e62c..."} 
[2026-08-28 07:19:09] local.INFO: Processing buffer {"connection_id":165901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0460c5ef8012d34c14006aa4840000500e62c..."} 
[2026-08-28 07:19:09] local.INFO: Packet analysis {"connection_id":165901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0460c"} 
[2026-08-28 07:19:09] local.INFO: Extracted packet for processing {"connection_id":165901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0460c"} 
[2026-08-28 07:19:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697615360001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787881611000,"timestamp_ms":1787881611000,"timestamp_seconds":1787881611,"priority":1,"record_length":96,"hex_timestamp":"000001a0460c5ef8"} 
[2026-08-28 07:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 07:19:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:19:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":165901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":165901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":165901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:19:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697615360001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697615360001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:19:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:19:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:19: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-28 07:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697615360001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":165901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:19:09] local.INFO: GPS data processed {"connection_id":165901,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:19:09] local.INFO: Acknowledgment sent {"connection_id":165901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:19:31] local.INFO: TCP Data received {"connection_id":165902,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:19:31] local.INFO: Processing buffer {"connection_id":165902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:19:31] local.INFO: IMEI packet received {"connection_id":165902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 07:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":165902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:19:37] local.INFO: TCP Data received {"connection_id":165902,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:19:37] local.INFO: Processing buffer {"connection_id":165902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:19:37] local.INFO: IMEI packet received {"connection_id":165902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 07:19:37] local.INFO: IMEI acknowledgment sent {"connection_id":165902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 07:19:37] local.INFO: TCP Data received {"connection_id":165902,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0460c5ef8012d34c14006aa4840000500e62c..."} 
[2026-08-28 07:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0460c5ef8012d34c14006aa4840000500e62c..."} 
[2026-08-28 07:19:37] local.INFO: Processing buffer {"connection_id":165902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0460c5ef8012d34c14006aa4840000500e62c..."} 
[2026-08-28 07:19:37] local.INFO: Packet analysis {"connection_id":165902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0460c"} 
[2026-08-28 07:19:37] local.INFO: Extracted packet for processing {"connection_id":165902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0460c"} 
[2026-08-28 07:19:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697615360001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787881611000,"timestamp_ms":1787881611000,"timestamp_seconds":1787881611,"priority":1,"record_length":96,"hex_timestamp":"000001a0460c5ef8"} 
[2026-08-28 07:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 07:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":165902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":165902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":165902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697615360001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697615360001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:19:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:19:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:19: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-28 07:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697615360001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":165902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:19:37] local.INFO: GPS data processed {"connection_id":165902,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:19:37] local.INFO: Acknowledgment sent {"connection_id":165902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:19:42] local.INFO: TCP Data received {"connection_id":163553,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 07:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163553,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 07:19:42] local.INFO: Processing buffer {"connection_id":163553,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 07:19:42] local.INFO: IMEI packet received {"connection_id":163553,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 07:19:42] local.INFO: IMEI acknowledgment sent {"connection_id":163553,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:20:09] local.INFO: TCP Data received {"connection_id":165902,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0460c5ef8012d34c14006aa4840000500e62c..."} 
[2026-08-28 07:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0460c5ef8012d34c14006aa4840000500e62c..."} 
[2026-08-28 07:20:09] local.INFO: Processing buffer {"connection_id":165902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0460c5ef8012d34c14006aa4840000500e62c..."} 
[2026-08-28 07:20:09] local.INFO: Packet analysis {"connection_id":165902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0460c"} 
[2026-08-28 07:20:09] local.INFO: Extracted packet for processing {"connection_id":165902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0460c"} 
[2026-08-28 07:20:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697615360001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:20:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787881611000,"timestamp_ms":1787881611000,"timestamp_seconds":1787881611,"priority":1,"record_length":96,"hex_timestamp":"000001a0460c5ef8"} 
[2026-08-28 07:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 07:20:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:20:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":165902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":165902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":165902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:20:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697615360001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697615360001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:20:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:20:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:20: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-28 07:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697615360001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":165902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:20:09] local.INFO: GPS data processed {"connection_id":165902,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:20:09] local.INFO: Acknowledgment sent {"connection_id":165902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:20:31] local.INFO: TCP Data received {"connection_id":163554,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:20:31] local.INFO: Processing buffer {"connection_id":163554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:20:31] local.INFO: IMEI packet received {"connection_id":163554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 07:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":163554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:20:36] local.INFO: TCP Data received {"connection_id":163554,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:20:36] local.INFO: Processing buffer {"connection_id":163554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:20:36] local.INFO: IMEI packet received {"connection_id":163554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 07:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":163554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 07:20:37] local.INFO: TCP Data received {"connection_id":163554,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0460c5ef8012d34c14006aa4840000500e62c..."} 
[2026-08-28 07:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0460c5ef8012d34c14006aa4840000500e62c..."} 
[2026-08-28 07:20:37] local.INFO: Processing buffer {"connection_id":163554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0460c5ef8012d34c14006aa4840000500e62c..."} 
[2026-08-28 07:20:37] local.INFO: Packet analysis {"connection_id":163554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0460c"} 
[2026-08-28 07:20:37] local.INFO: Extracted packet for processing {"connection_id":163554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0460c"} 
[2026-08-28 07:20:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697615360001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787881611000,"timestamp_ms":1787881611000,"timestamp_seconds":1787881611,"priority":1,"record_length":96,"hex_timestamp":"000001a0460c5ef8"} 
[2026-08-28 07:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 07:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697615360001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697615360001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:20:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:20:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:20: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-28 07:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697615360001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":163554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:20:37] local.INFO: GPS data processed {"connection_id":163554,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:20:37] local.INFO: Acknowledgment sent {"connection_id":163554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:21:09] local.INFO: TCP Data received {"connection_id":163554,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0460c5ef8012d34c14006aa4840000500e62c..."} 
[2026-08-28 07:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0460c5ef8012d34c14006aa4840000500e62c..."} 
[2026-08-28 07:21:09] local.INFO: Processing buffer {"connection_id":163554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0460c5ef8012d34c14006aa4840000500e62c..."} 
[2026-08-28 07:21:09] local.INFO: Packet analysis {"connection_id":163554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0460c"} 
[2026-08-28 07:21:09] local.INFO: Extracted packet for processing {"connection_id":163554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0460c"} 
[2026-08-28 07:21:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697615360001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:21:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787881611000,"timestamp_ms":1787881611000,"timestamp_seconds":1787881611,"priority":1,"record_length":96,"hex_timestamp":"000001a0460c5ef8"} 
[2026-08-28 07:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 07:21:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:21:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:21:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697615360001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697615360001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:21:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:21:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:21: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-28 07:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697615360001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":163554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:21:09] local.INFO: GPS data processed {"connection_id":163554,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:21:09] local.INFO: Acknowledgment sent {"connection_id":163554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:21:31] local.INFO: TCP Data received {"connection_id":163291,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:21:31] local.INFO: Processing buffer {"connection_id":163291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:21:31] local.INFO: IMEI packet received {"connection_id":163291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 07:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":163291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:21:37] local.INFO: TCP Data received {"connection_id":163291,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:21:37] local.INFO: Processing buffer {"connection_id":163291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:21:37] local.INFO: IMEI packet received {"connection_id":163291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 07:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":163291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 07:21:38] local.INFO: TCP Data received {"connection_id":163291,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0460c5ef8012d34c14006aa4840000500e62c..."} 
[2026-08-28 07:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0460c5ef8012d34c14006aa4840000500e62c..."} 
[2026-08-28 07:21:38] local.INFO: Processing buffer {"connection_id":163291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0460c5ef8012d34c14006aa4840000500e62c..."} 
[2026-08-28 07:21:38] local.INFO: Packet analysis {"connection_id":163291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0460c"} 
[2026-08-28 07:21:38] local.INFO: Extracted packet for processing {"connection_id":163291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0460c"} 
[2026-08-28 07:21:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697615360001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787881611000,"timestamp_ms":1787881611000,"timestamp_seconds":1787881611,"priority":1,"record_length":96,"hex_timestamp":"000001a0460c5ef8"} 
[2026-08-28 07:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 07:21:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697615360001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697615360001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:21:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:21:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:21: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-28 07:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697615360001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":163291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:21:38] local.INFO: GPS data processed {"connection_id":163291,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:21:38] local.INFO: Acknowledgment sent {"connection_id":163291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:22:09] local.INFO: TCP Data received {"connection_id":163291,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0460c5ef8012d34c14006aa4840000500e62c..."} 
[2026-08-28 07:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0460c5ef8012d34c14006aa4840000500e62c..."} 
[2026-08-28 07:22:09] local.INFO: Processing buffer {"connection_id":163291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0460c5ef8012d34c14006aa4840000500e62c..."} 
[2026-08-28 07:22:09] local.INFO: Packet analysis {"connection_id":163291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0460c"} 
[2026-08-28 07:22:09] local.INFO: Extracted packet for processing {"connection_id":163291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0460c"} 
[2026-08-28 07:22:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697615360001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:22:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:22:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787881611000,"timestamp_ms":1787881611000,"timestamp_seconds":1787881611,"priority":1,"record_length":96,"hex_timestamp":"000001a0460c5ef8"} 
[2026-08-28 07:22:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:22:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 07:22:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:22:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:22:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:22:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697615360001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697615360001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:22:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:22:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:22: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-28 07:22:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697615360001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":163291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:22:09] local.INFO: GPS data processed {"connection_id":163291,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:22:09] local.INFO: Acknowledgment sent {"connection_id":163291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:22:36] local.INFO: TCP Data received {"connection_id":165903,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:22:36] local.INFO: Processing buffer {"connection_id":165903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:22:36] local.INFO: IMEI packet received {"connection_id":165903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 07:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":165903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:22:41] local.INFO: TCP Data received {"connection_id":165903,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:22:41] local.INFO: Processing buffer {"connection_id":165903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:22:41] local.INFO: IMEI packet received {"connection_id":165903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 07:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":165903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 07:22:43] local.INFO: TCP Data received {"connection_id":165903,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a04610f6c0012d34c14006aa4840000800e62d..."} 
[2026-08-28 07:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04610f6c0012d34c14006aa4840000800e62d..."} 
[2026-08-28 07:22:43] local.INFO: Processing buffer {"connection_id":165903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04610f6c0012d34c14006aa4840000800e62d..."} 
[2026-08-28 07:22:43] local.INFO: Packet analysis {"connection_id":165903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04610"} 
[2026-08-28 07:22:43] local.INFO: Extracted packet for processing {"connection_id":165903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04610"} 
[2026-08-28 07:22:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":8,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07: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-28 07:22:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697692416001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:22:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:22:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07: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-28 07:22:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787881912000,"timestamp_ms":1787881912000,"timestamp_seconds":1787881912,"priority":1,"record_length":96,"hex_timestamp":"000001a04610f6c0"} 
[2026-08-28 07: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-28 07:22:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 07:22:43] 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-28 07: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-28 07: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-28 07:22:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:22:43] local.INFO: Teltonika packet parsed successfully {"connection_id":165903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:22:43] local.INFO: Passing IMEI to GPS processor {"connection_id":165903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:22:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":165903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:22: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-28 07:22:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:22:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:22:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697692416001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:22:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:22:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:22:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697692416001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:22:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:22:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07: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-28 07:22:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:22:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697692416001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:22:43] local.INFO: DEBUG: GPS processor result {"connection_id":165903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:22:43] local.INFO: GPS data processed {"connection_id":165903,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:22:43] local.INFO: Acknowledgment sent {"connection_id":165903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:22:47] local.INFO: TCP Data received {"connection_id":165903,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a04610f6c0012d34c14006aa4840000800e62d..."} 
[2026-08-28 07:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04610f6c0012d34c14006aa4840000800e62d..."} 
[2026-08-28 07:22:47] local.INFO: Processing buffer {"connection_id":165903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04610f6c0012d34c14006aa4840000800e62d..."} 
[2026-08-28 07:22:47] local.INFO: Packet analysis {"connection_id":165903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04610"} 
[2026-08-28 07:22:47] local.INFO: Extracted packet for processing {"connection_id":165903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04610"} 
[2026-08-28 07:22:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":8,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07: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-28 07:22:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697692416001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:22:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:22:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07: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-28 07:22:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787881912000,"timestamp_ms":1787881912000,"timestamp_seconds":1787881912,"priority":1,"record_length":96,"hex_timestamp":"000001a04610f6c0"} 
[2026-08-28 07: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-28 07:22:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 07:22: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-28 07: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-28 07: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-28 07:22:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:22:47] local.INFO: Teltonika packet parsed successfully {"connection_id":165903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:22:47] local.INFO: Passing IMEI to GPS processor {"connection_id":165903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:22:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":165903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:22:47] 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-28 07:22:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:22:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:22:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697692416001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:22:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:22:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:22:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697692416001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:22:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:22:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07: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-28 07:22:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:22:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697692416001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:22:47] local.INFO: DEBUG: GPS processor result {"connection_id":165903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:22:47] local.INFO: GPS data processed {"connection_id":165903,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:22:47] local.INFO: Acknowledgment sent {"connection_id":165903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:23:31] local.INFO: TCP Data received {"connection_id":163555,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:23:31] local.INFO: Processing buffer {"connection_id":163555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:23:31] local.INFO: IMEI packet received {"connection_id":163555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 07:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":163555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:23:37] local.INFO: TCP Data received {"connection_id":163555,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:23:37] local.INFO: Processing buffer {"connection_id":163555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:23:37] local.INFO: IMEI packet received {"connection_id":163555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 07:23:37] local.INFO: IMEI acknowledgment sent {"connection_id":163555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 07:23:38] local.INFO: TCP Data received {"connection_id":163555,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a04610f6c0012d34c14006aa4840000800e62d..."} 
[2026-08-28 07:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04610f6c0012d34c14006aa4840000800e62d..."} 
[2026-08-28 07:23:38] local.INFO: Processing buffer {"connection_id":163555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04610f6c0012d34c14006aa4840000800e62d..."} 
[2026-08-28 07:23:38] local.INFO: Packet analysis {"connection_id":163555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04610"} 
[2026-08-28 07:23:38] local.INFO: Extracted packet for processing {"connection_id":163555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04610"} 
[2026-08-28 07:23:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":8,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697692416001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:23:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:23:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787881912000,"timestamp_ms":1787881912000,"timestamp_seconds":1787881912,"priority":1,"record_length":96,"hex_timestamp":"000001a04610f6c0"} 
[2026-08-28 07:23:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:23:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 07:23:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:23:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:23:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:23:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697692416001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697692416001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:23:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:23:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:23: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-28 07:23:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697692416001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:23:38] 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":706634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:23:38] local.INFO: GPS data processed {"connection_id":163555,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:23:38] local.INFO: Acknowledgment sent {"connection_id":163555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:24:10] local.INFO: TCP Data received {"connection_id":163555,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a04610f6c0012d34c14006aa4840000800e62d..."} 
[2026-08-28 07:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04610f6c0012d34c14006aa4840000800e62d..."} 
[2026-08-28 07:24:10] local.INFO: Processing buffer {"connection_id":163555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04610f6c0012d34c14006aa4840000800e62d..."} 
[2026-08-28 07:24:10] local.INFO: Packet analysis {"connection_id":163555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04610"} 
[2026-08-28 07:24:10] local.INFO: Extracted packet for processing {"connection_id":163555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04610"} 
[2026-08-28 07:24:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":8,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697692416001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787881912000,"timestamp_ms":1787881912000,"timestamp_seconds":1787881912,"priority":1,"record_length":96,"hex_timestamp":"000001a04610f6c0"} 
[2026-08-28 07:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:24:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 07:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697692416001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697692416001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:24:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:24:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 07:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697692416001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:24:10] 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":706635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:24:10] local.INFO: GPS data processed {"connection_id":163555,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:24:10] local.INFO: Acknowledgment sent {"connection_id":163555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:24:31] local.INFO: TCP Data received {"connection_id":164553,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:24:31] local.INFO: Processing buffer {"connection_id":164553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:24:31] local.INFO: IMEI packet received {"connection_id":164553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 07:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":164553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:24:36] local.INFO: TCP Data received {"connection_id":164553,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:24:36] local.INFO: Processing buffer {"connection_id":164553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:24:36] local.INFO: IMEI packet received {"connection_id":164553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 07:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":164553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 07:24:37] local.INFO: TCP Data received {"connection_id":164553,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a04610f6c0012d34c14006aa4840000800e62d..."} 
[2026-08-28 07:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04610f6c0012d34c14006aa4840000800e62d..."} 
[2026-08-28 07:24:37] local.INFO: Processing buffer {"connection_id":164553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04610f6c0012d34c14006aa4840000800e62d..."} 
[2026-08-28 07:24:37] local.INFO: Packet analysis {"connection_id":164553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04610"} 
[2026-08-28 07:24:37] local.INFO: Extracted packet for processing {"connection_id":164553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04610"} 
[2026-08-28 07:24:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":8,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697692416001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787881912000,"timestamp_ms":1787881912000,"timestamp_seconds":1787881912,"priority":1,"record_length":96,"hex_timestamp":"000001a04610f6c0"} 
[2026-08-28 07:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 07:24:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697692416001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697692416001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:24:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:24:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:24: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-28 07:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697692416001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":164553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:24:37] local.INFO: GPS data processed {"connection_id":164553,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:24:37] local.INFO: Acknowledgment sent {"connection_id":164553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:25:09] local.INFO: TCP Data received {"connection_id":164553,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a04610f6c0012d34c14006aa4840000800e62d..."} 
[2026-08-28 07:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04610f6c0012d34c14006aa4840000800e62d..."} 
[2026-08-28 07:25:09] local.INFO: Processing buffer {"connection_id":164553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04610f6c0012d34c14006aa4840000800e62d..."} 
[2026-08-28 07:25:09] local.INFO: Packet analysis {"connection_id":164553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04610"} 
[2026-08-28 07:25:09] local.INFO: Extracted packet for processing {"connection_id":164553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04610"} 
[2026-08-28 07:25:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":8,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:25:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697692416001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:25:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:25:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:25:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:25:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787881912000,"timestamp_ms":1787881912000,"timestamp_seconds":1787881912,"priority":1,"record_length":96,"hex_timestamp":"000001a04610f6c0"} 
[2026-08-28 07:25:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:25:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 07:25:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:25:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:25:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:25:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:25:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:25:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:25:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:25:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697692416001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:25:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:25:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:25:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697692416001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:25:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:25:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:25: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-28 07:25:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:25:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697692416001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:25:09] local.INFO: DEBUG: GPS processor result {"connection_id":164553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:25:09] local.INFO: GPS data processed {"connection_id":164553,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:25:09] local.INFO: Acknowledgment sent {"connection_id":164553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:25:18] local.INFO: TCP Data received {"connection_id":163292,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 07:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163292,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 07:25:18] local.INFO: Processing buffer {"connection_id":163292,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 07:25:18] local.INFO: IMEI packet received {"connection_id":163292,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 07:25:18] local.INFO: IMEI acknowledgment sent {"connection_id":163292,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:25:37] local.INFO: TCP Data received {"connection_id":164554,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:25:37] local.INFO: Processing buffer {"connection_id":164554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:25:37] local.INFO: IMEI packet received {"connection_id":164554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 07:25:37] local.INFO: IMEI acknowledgment sent {"connection_id":164554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:25:41] local.INFO: TCP Data received {"connection_id":164554,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:25:41] local.INFO: Processing buffer {"connection_id":164554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:25:41] local.INFO: IMEI packet received {"connection_id":164554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 07:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":164554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 07:25:42] local.INFO: TCP Data received {"connection_id":164554,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a04610f6c0012d34c14006aa4840000800e62d..."} 
[2026-08-28 07:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04610f6c0012d34c14006aa4840000800e62d..."} 
[2026-08-28 07:25:42] local.INFO: Processing buffer {"connection_id":164554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04610f6c0012d34c14006aa4840000800e62d..."} 
[2026-08-28 07:25:42] local.INFO: Packet analysis {"connection_id":164554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04610"} 
[2026-08-28 07:25:42] local.INFO: Extracted packet for processing {"connection_id":164554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04610"} 
[2026-08-28 07:25:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":8,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07: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-28 07:25:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697692416001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:25:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:25:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07: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-28 07:25:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787881912000,"timestamp_ms":1787881912000,"timestamp_seconds":1787881912,"priority":1,"record_length":96,"hex_timestamp":"000001a04610f6c0"} 
[2026-08-28 07: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-28 07:25:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07: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":211,"data_length":795,"current_offset":136} 
[2026-08-28 07:25: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-28 07: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-28 07: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-28 07:25:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:25:42] local.INFO: Teltonika packet parsed successfully {"connection_id":164554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:25:42] local.INFO: Passing IMEI to GPS processor {"connection_id":164554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:25:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":164554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:25: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-28 07:25:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:25:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:25:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697692416001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:25:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:25:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:25:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697692416001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:25:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:25:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07: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-28 07:25:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:25:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697692416001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:25:42] local.INFO: DEBUG: GPS processor result {"connection_id":164554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:25:42] local.INFO: GPS data processed {"connection_id":164554,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:25:42] local.INFO: Acknowledgment sent {"connection_id":164554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:25:47] local.INFO: TCP Data received {"connection_id":164554,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a04610f6c0012d34c14006aa4840000800e62d..."} 
[2026-08-28 07:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04610f6c0012d34c14006aa4840000800e62d..."} 
[2026-08-28 07:25:47] local.INFO: Processing buffer {"connection_id":164554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04610f6c0012d34c14006aa4840000800e62d..."} 
[2026-08-28 07:25:47] local.INFO: Packet analysis {"connection_id":164554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04610"} 
[2026-08-28 07:25:47] local.INFO: Extracted packet for processing {"connection_id":164554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04610"} 
[2026-08-28 07:25:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":8,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07: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-28 07:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697692416001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:25:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07: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-28 07:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787881912000,"timestamp_ms":1787881912000,"timestamp_seconds":1787881912,"priority":1,"record_length":96,"hex_timestamp":"000001a04610f6c0"} 
[2026-08-28 07: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-28 07:25:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07: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-28 07: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-28 07: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-28 07: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-28 07:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:25:47] 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-28 07:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697692416001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697692416001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:25:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:25:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07: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-28 07:25:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697692416001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":164554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:25:47] local.INFO: GPS data processed {"connection_id":164554,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:25:47] local.INFO: Acknowledgment sent {"connection_id":164554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:26:31] local.INFO: TCP Data received {"connection_id":163556,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:26:31] local.INFO: Processing buffer {"connection_id":163556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:26:31] local.INFO: IMEI packet received {"connection_id":163556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 07:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":163556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:26:36] local.INFO: TCP Data received {"connection_id":163556,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:26:36] local.INFO: Processing buffer {"connection_id":163556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:26:36] local.INFO: IMEI packet received {"connection_id":163556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 07:26:36] local.INFO: IMEI acknowledgment sent {"connection_id":163556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 07:26:37] local.INFO: TCP Data received {"connection_id":163556,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a04610f6c0012d34c14006aa4840000800e62d..."} 
[2026-08-28 07:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04610f6c0012d34c14006aa4840000800e62d..."} 
[2026-08-28 07:26:37] local.INFO: Processing buffer {"connection_id":163556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04610f6c0012d34c14006aa4840000800e62d..."} 
[2026-08-28 07:26:37] local.INFO: Packet analysis {"connection_id":163556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04610"} 
[2026-08-28 07:26:37] local.INFO: Extracted packet for processing {"connection_id":163556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04610"} 
[2026-08-28 07:26:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":8,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697692416001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787881912000,"timestamp_ms":1787881912000,"timestamp_seconds":1787881912,"priority":1,"record_length":96,"hex_timestamp":"000001a04610f6c0"} 
[2026-08-28 07:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 07:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697692416001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697692416001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:26:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:26:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:26: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-28 07:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697692416001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:26:37] 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":706640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:26:37] local.INFO: GPS data processed {"connection_id":163556,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:26:37] local.INFO: Acknowledgment sent {"connection_id":163556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:27:08] local.INFO: TCP Data received {"connection_id":163556,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a04610f6c0012d34c14006aa4840000800e62d..."} 
[2026-08-28 07:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04610f6c0012d34c14006aa4840000800e62d..."} 
[2026-08-28 07:27:08] local.INFO: Processing buffer {"connection_id":163556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04610f6c0012d34c14006aa4840000800e62d..."} 
[2026-08-28 07:27:08] local.INFO: Packet analysis {"connection_id":163556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04610"} 
[2026-08-28 07:27:08] local.INFO: Extracted packet for processing {"connection_id":163556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04610"} 
[2026-08-28 07:27:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":8,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697692416001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:27:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:27: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-28 07:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787881912000,"timestamp_ms":1787881912000,"timestamp_seconds":1787881912,"priority":1,"record_length":96,"hex_timestamp":"000001a04610f6c0"} 
[2026-08-28 07:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:27:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 07:27:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:27:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:27:08] 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-28 07:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697692416001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697692416001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:27:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:27:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:27: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-28 07:27:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697692416001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:27:08] 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":706641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:27:08] local.INFO: GPS data processed {"connection_id":163556,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:27:08] local.INFO: Acknowledgment sent {"connection_id":163556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:27:32] local.INFO: TCP Data received {"connection_id":164555,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:27:32] local.INFO: Processing buffer {"connection_id":164555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:27:32] local.INFO: IMEI packet received {"connection_id":164555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 07:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":164555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:27:32] local.INFO: TCP Data received {"connection_id":164555,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:27:32] local.INFO: Processing buffer {"connection_id":164555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:27:32] local.INFO: IMEI packet received {"connection_id":164555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 07:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":164555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 07:27:36] local.INFO: TCP Data received {"connection_id":164555,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:27:36] local.INFO: Processing buffer {"connection_id":164555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:27:36] local.INFO: IMEI packet received {"connection_id":164555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 07:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":164555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 07:27:38] local.INFO: TCP Data received {"connection_id":164555,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a046158e88012d34c14006aa4840001000e62b..."} 
[2026-08-28 07:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046158e88012d34c14006aa4840001000e62b..."} 
[2026-08-28 07:27:38] local.INFO: Processing buffer {"connection_id":164555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046158e88012d34c14006aa4840001000e62b..."} 
[2026-08-28 07:27:38] local.INFO: Packet analysis {"connection_id":164555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04615"} 
[2026-08-28 07:27:38] local.INFO: Extracted packet for processing {"connection_id":164555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04615"} 
[2026-08-28 07:27:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:27:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697769472001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:27:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:27:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:27:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:27:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787882213000,"timestamp_ms":1787882213000,"timestamp_seconds":1787882213,"priority":1,"record_length":96,"hex_timestamp":"000001a046158e88"} 
[2026-08-28 07:27:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:27:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 07:27:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:27:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:27:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:27:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:27:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:27:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:27:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:27:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:27:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:27:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:27:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697769472001,"66":25288,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:27:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:27:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:27:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697769472001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:27:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:27:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:27: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-28 07:27:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:27:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697769472001,"power":25288,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:27:38] local.INFO: DEBUG: GPS processor result {"connection_id":164555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:27:38] local.INFO: GPS data processed {"connection_id":164555,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:27:38] local.INFO: Acknowledgment sent {"connection_id":164555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:28:09] local.INFO: TCP Data received {"connection_id":164555,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a046158e88012d34c14006aa4840001000e62b..."} 
[2026-08-28 07:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046158e88012d34c14006aa4840001000e62b..."} 
[2026-08-28 07:28:09] local.INFO: Processing buffer {"connection_id":164555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046158e88012d34c14006aa4840001000e62b..."} 
[2026-08-28 07:28:09] local.INFO: Packet analysis {"connection_id":164555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04615"} 
[2026-08-28 07:28:09] local.INFO: Extracted packet for processing {"connection_id":164555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04615"} 
[2026-08-28 07:28:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697769472001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787882213000,"timestamp_ms":1787882213000,"timestamp_seconds":1787882213,"priority":1,"record_length":96,"hex_timestamp":"000001a046158e88"} 
[2026-08-28 07:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 07:28:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:28:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:28:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697769472001,"66":25288,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697769472001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:28:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:28:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:28: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-28 07:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697769472001,"power":25288,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":164555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:28:09] local.INFO: GPS data processed {"connection_id":164555,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:28:09] local.INFO: Acknowledgment sent {"connection_id":164555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:28:31] local.INFO: TCP Data received {"connection_id":165905,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:28:31] local.INFO: Processing buffer {"connection_id":165905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:28:31] local.INFO: IMEI packet received {"connection_id":165905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 07:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":165905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:28:36] local.INFO: TCP Data received {"connection_id":165905,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:28:36] local.INFO: Processing buffer {"connection_id":165905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:28:36] local.INFO: IMEI packet received {"connection_id":165905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 07:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":165905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 07:28:38] local.INFO: TCP Data received {"connection_id":165905,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a046158e88012d34c14006aa4840001000e62b..."} 
[2026-08-28 07:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046158e88012d34c14006aa4840001000e62b..."} 
[2026-08-28 07:28:38] local.INFO: Processing buffer {"connection_id":165905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046158e88012d34c14006aa4840001000e62b..."} 
[2026-08-28 07:28:38] local.INFO: Packet analysis {"connection_id":165905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04615"} 
[2026-08-28 07:28:38] local.INFO: Extracted packet for processing {"connection_id":165905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04615"} 
[2026-08-28 07:28:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697769472001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787882213000,"timestamp_ms":1787882213000,"timestamp_seconds":1787882213,"priority":1,"record_length":96,"hex_timestamp":"000001a046158e88"} 
[2026-08-28 07:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 07:28:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:28:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":165905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":165905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":165905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697769472001,"66":25288,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697769472001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:28:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:28:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:28: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-28 07:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697769472001,"power":25288,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":165905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:28:38] local.INFO: GPS data processed {"connection_id":165905,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:28:38] local.INFO: Acknowledgment sent {"connection_id":165905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:29:10] local.INFO: TCP Data received {"connection_id":165905,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a046158e88012d34c14006aa4840001000e62b..."} 
[2026-08-28 07:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046158e88012d34c14006aa4840001000e62b..."} 
[2026-08-28 07:29:10] local.INFO: Processing buffer {"connection_id":165905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046158e88012d34c14006aa4840001000e62b..."} 
[2026-08-28 07:29:10] local.INFO: Packet analysis {"connection_id":165905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04615"} 
[2026-08-28 07:29:10] local.INFO: Extracted packet for processing {"connection_id":165905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04615"} 
[2026-08-28 07:29:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697769472001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:29:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:29:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787882213000,"timestamp_ms":1787882213000,"timestamp_seconds":1787882213,"priority":1,"record_length":96,"hex_timestamp":"000001a046158e88"} 
[2026-08-28 07:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:29:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 07:29:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:29:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":165905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":165905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":165905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:29:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697769472001,"66":25288,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697769472001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:29:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:29:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 07:29:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697769472001,"power":25288,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":165905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:29:10] local.INFO: GPS data processed {"connection_id":165905,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:29:10] local.INFO: Acknowledgment sent {"connection_id":165905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:29:31] local.INFO: TCP Data received {"connection_id":165906,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:29:31] local.INFO: Processing buffer {"connection_id":165906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:29:31] local.INFO: IMEI packet received {"connection_id":165906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 07:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":165906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:29:36] local.INFO: TCP Data received {"connection_id":165906,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:29:36] local.INFO: Processing buffer {"connection_id":165906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:29:36] local.INFO: IMEI packet received {"connection_id":165906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 07:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":165906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 07:29:37] local.INFO: TCP Data received {"connection_id":165906,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a046158e88012d34c14006aa4840001000e62b..."} 
[2026-08-28 07:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046158e88012d34c14006aa4840001000e62b..."} 
[2026-08-28 07:29:37] local.INFO: Processing buffer {"connection_id":165906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046158e88012d34c14006aa4840001000e62b..."} 
[2026-08-28 07:29:37] local.INFO: Packet analysis {"connection_id":165906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04615"} 
[2026-08-28 07:29:37] local.INFO: Extracted packet for processing {"connection_id":165906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04615"} 
[2026-08-28 07:29:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697769472001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787882213000,"timestamp_ms":1787882213000,"timestamp_seconds":1787882213,"priority":1,"record_length":96,"hex_timestamp":"000001a046158e88"} 
[2026-08-28 07:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 07:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":165906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":165906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":165906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697769472001,"66":25288,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697769472001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:29:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:29:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:29: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-28 07:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697769472001,"power":25288,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":165906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:29:37] local.INFO: GPS data processed {"connection_id":165906,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:29:37] local.INFO: Acknowledgment sent {"connection_id":165906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:30:08] local.INFO: TCP Data received {"connection_id":165906,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a046158e88012d34c14006aa4840001000e62b..."} 
[2026-08-28 07:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046158e88012d34c14006aa4840001000e62b..."} 
[2026-08-28 07:30:08] local.INFO: Processing buffer {"connection_id":165906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046158e88012d34c14006aa4840001000e62b..."} 
[2026-08-28 07:30:08] local.INFO: Packet analysis {"connection_id":165906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04615"} 
[2026-08-28 07:30:08] local.INFO: Extracted packet for processing {"connection_id":165906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04615"} 
[2026-08-28 07:30:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697769472001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:30: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-28 07:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787882213000,"timestamp_ms":1787882213000,"timestamp_seconds":1787882213,"priority":1,"record_length":96,"hex_timestamp":"000001a046158e88"} 
[2026-08-28 07:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:30:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 07:30:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:30:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":165906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":165906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":165906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:30:08] 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-28 07:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697769472001,"66":25288,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697769472001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:30:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:30:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:30: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-28 07:30:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:30:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697769472001,"power":25288,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:30:09] local.INFO: DEBUG: GPS processor result {"connection_id":165906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:30:09] local.INFO: GPS data processed {"connection_id":165906,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:30:09] local.INFO: Acknowledgment sent {"connection_id":165906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:30:31] local.INFO: TCP Data received {"connection_id":163293,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:30:31] local.INFO: Processing buffer {"connection_id":163293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:30:31] local.INFO: IMEI packet received {"connection_id":163293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 07:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":163293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:30:36] local.INFO: TCP Data received {"connection_id":163293,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:30:36] local.INFO: Processing buffer {"connection_id":163293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:30:36] local.INFO: IMEI packet received {"connection_id":163293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 07:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":163293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 07:30:37] local.INFO: TCP Data received {"connection_id":163293,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a046158e88012d34c14006aa4840001000e62b..."} 
[2026-08-28 07:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046158e88012d34c14006aa4840001000e62b..."} 
[2026-08-28 07:30:37] local.INFO: Processing buffer {"connection_id":163293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046158e88012d34c14006aa4840001000e62b..."} 
[2026-08-28 07:30:37] local.INFO: Packet analysis {"connection_id":163293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04615"} 
[2026-08-28 07:30:37] local.INFO: Extracted packet for processing {"connection_id":163293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04615"} 
[2026-08-28 07:30:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697769472001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787882213000,"timestamp_ms":1787882213000,"timestamp_seconds":1787882213,"priority":1,"record_length":96,"hex_timestamp":"000001a046158e88"} 
[2026-08-28 07:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 07:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:30:37] 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-28 07:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697769472001,"66":25288,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697769472001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:30:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:30:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:30: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-28 07:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697769472001,"power":25288,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":163293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:30:37] local.INFO: GPS data processed {"connection_id":163293,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:30:37] local.INFO: Acknowledgment sent {"connection_id":163293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:30:52] local.INFO: TCP Data received {"connection_id":165904,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 07:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165904,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 07:30:52] local.INFO: Processing buffer {"connection_id":165904,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 07:30:52] local.INFO: IMEI packet received {"connection_id":165904,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 07:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":165904,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:31:10] local.INFO: TCP Data received {"connection_id":163293,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a046158e88012d34c14006aa4840001000e62b..."} 
[2026-08-28 07:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046158e88012d34c14006aa4840001000e62b..."} 
[2026-08-28 07:31:10] local.INFO: Processing buffer {"connection_id":163293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046158e88012d34c14006aa4840001000e62b..."} 
[2026-08-28 07:31:10] local.INFO: Packet analysis {"connection_id":163293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04615"} 
[2026-08-28 07:31:10] local.INFO: Extracted packet for processing {"connection_id":163293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04615"} 
[2026-08-28 07:31:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697769472001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:31:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:31:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787882213000,"timestamp_ms":1787882213000,"timestamp_seconds":1787882213,"priority":1,"record_length":96,"hex_timestamp":"000001a046158e88"} 
[2026-08-28 07:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:31:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 07:31:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:31:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:31:10] 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-28 07:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697769472001,"66":25288,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697769472001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:31:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:31:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 07:31:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697769472001,"power":25288,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":163293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:31:10] local.INFO: GPS data processed {"connection_id":163293,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:31:10] local.INFO: Acknowledgment sent {"connection_id":163293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:31:36] local.INFO: TCP Data received {"connection_id":163557,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:31:36] local.INFO: Processing buffer {"connection_id":163557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:31:36] local.INFO: IMEI packet received {"connection_id":163557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 07:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":163557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:31:41] local.INFO: TCP Data received {"connection_id":163557,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:31:41] local.INFO: Processing buffer {"connection_id":163557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:31:41] local.INFO: IMEI packet received {"connection_id":163557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 07:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":163557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 07:31:43] local.INFO: TCP Data received {"connection_id":163557,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a046158e88012d34c14006aa4840001000e62b..."} 
[2026-08-28 07:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046158e88012d34c14006aa4840001000e62b..."} 
[2026-08-28 07:31:43] local.INFO: Processing buffer {"connection_id":163557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046158e88012d34c14006aa4840001000e62b..."} 
[2026-08-28 07:31:43] local.INFO: Packet analysis {"connection_id":163557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04615"} 
[2026-08-28 07:31:43] local.INFO: Extracted packet for processing {"connection_id":163557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04615"} 
[2026-08-28 07:31:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07: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-28 07:31:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697769472001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:31:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:31:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07: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-28 07:31:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787882213000,"timestamp_ms":1787882213000,"timestamp_seconds":1787882213,"priority":1,"record_length":96,"hex_timestamp":"000001a046158e88"} 
[2026-08-28 07: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-28 07:31:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07: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-28 07: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-28 07: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-28 07: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-28 07:31:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:31:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:31:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:31:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:31: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-28 07:31:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:31:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:31:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697769472001,"66":25288,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:31:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:31:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:31:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697769472001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:31:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:31:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07: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-28 07:31:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:31:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697769472001,"power":25288,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:31: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":706650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:31:43] local.INFO: GPS data processed {"connection_id":163557,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:31:43] local.INFO: Acknowledgment sent {"connection_id":163557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:32:14] local.INFO: TCP Data received {"connection_id":163557,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a046158e88012d34c14006aa4840001000e62b..."} 
[2026-08-28 07:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046158e88012d34c14006aa4840001000e62b..."} 
[2026-08-28 07:32:14] local.INFO: Processing buffer {"connection_id":163557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046158e88012d34c14006aa4840001000e62b..."} 
[2026-08-28 07:32:14] local.INFO: Packet analysis {"connection_id":163557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04615"} 
[2026-08-28 07:32:14] local.INFO: Extracted packet for processing {"connection_id":163557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04615"} 
[2026-08-28 07:32:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07: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-28 07:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697769472001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:32:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07: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-28 07:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787882213000,"timestamp_ms":1787882213000,"timestamp_seconds":1787882213,"priority":1,"record_length":96,"hex_timestamp":"000001a046158e88"} 
[2026-08-28 07: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-28 07:32:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07: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":233,"data_length":795,"current_offset":136} 
[2026-08-28 07:32: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-28 07: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-28 07: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-28 07:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:32: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-28 07:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697769472001,"66":25288,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697769472001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:32:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:32:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07: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-28 07:32:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697769472001,"power":25288,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:32:14] 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":706651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:32:14] local.INFO: GPS data processed {"connection_id":163557,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:32:14] local.INFO: Acknowledgment sent {"connection_id":163557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:32:31] local.INFO: TCP Data received {"connection_id":164556,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:32:31] local.INFO: Processing buffer {"connection_id":164556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:32:31] local.INFO: IMEI packet received {"connection_id":164556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 07:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":164556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:32:32] local.INFO: TCP Data received {"connection_id":164556,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:32:32] local.INFO: Processing buffer {"connection_id":164556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:32:32] local.INFO: IMEI packet received {"connection_id":164556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 07:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":164556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 07:32:36] local.INFO: TCP Data received {"connection_id":164556,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:32:36] local.INFO: Processing buffer {"connection_id":164556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:32:36] local.INFO: IMEI packet received {"connection_id":164556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 07:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":164556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 07:32:37] local.INFO: TCP Data received {"connection_id":164556,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0461a2650012d34c14006aa4840000500e62b..."} 
[2026-08-28 07:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0461a2650012d34c14006aa4840000500e62b..."} 
[2026-08-28 07:32:37] local.INFO: Processing buffer {"connection_id":164556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0461a2650012d34c14006aa4840000500e62b..."} 
[2026-08-28 07:32:37] local.INFO: Packet analysis {"connection_id":164556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0461a"} 
[2026-08-28 07:32:37] local.INFO: Extracted packet for processing {"connection_id":164556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0461a"} 
[2026-08-28 07:32:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07: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-28 07:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697846528001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787882514000,"timestamp_ms":1787882514000,"timestamp_seconds":1787882514,"priority":1,"record_length":96,"hex_timestamp":"000001a0461a2650"} 
[2026-08-28 07: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-28 07:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 07:32:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07: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-28 07: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-28 07:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697846528001,"66":25191,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697846528001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:32:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:32:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:32: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-28 07:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697846528001,"power":25191,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":164556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:32:37] local.INFO: GPS data processed {"connection_id":164556,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:32:37] local.INFO: Acknowledgment sent {"connection_id":164556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:33:09] local.INFO: TCP Data received {"connection_id":164556,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0461a2650012d34c14006aa4840000500e62b..."} 
[2026-08-28 07:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0461a2650012d34c14006aa4840000500e62b..."} 
[2026-08-28 07:33:09] local.INFO: Processing buffer {"connection_id":164556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0461a2650012d34c14006aa4840000500e62b..."} 
[2026-08-28 07:33:09] local.INFO: Packet analysis {"connection_id":164556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0461a"} 
[2026-08-28 07:33:09] local.INFO: Extracted packet for processing {"connection_id":164556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0461a"} 
[2026-08-28 07:33:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697846528001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:33:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787882514000,"timestamp_ms":1787882514000,"timestamp_seconds":1787882514,"priority":1,"record_length":96,"hex_timestamp":"000001a0461a2650"} 
[2026-08-28 07:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:33:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 07:33:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:33:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:33:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697846528001,"66":25191,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697846528001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:33:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:33:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:33: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-28 07:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697846528001,"power":25191,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":164556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:33:09] local.INFO: GPS data processed {"connection_id":164556,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:33:09] local.INFO: Acknowledgment sent {"connection_id":164556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:33:31] local.INFO: TCP Data received {"connection_id":163294,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:33:31] local.INFO: Processing buffer {"connection_id":163294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:33:31] local.INFO: IMEI packet received {"connection_id":163294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 07:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":163294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:33:37] local.INFO: TCP Data received {"connection_id":163294,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:33:37] local.INFO: Processing buffer {"connection_id":163294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:33:37] local.INFO: IMEI packet received {"connection_id":163294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 07:33:37] local.INFO: IMEI acknowledgment sent {"connection_id":163294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 07:33:37] local.INFO: TCP Data received {"connection_id":163294,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0461a2650012d34c14006aa4840000500e62b..."} 
[2026-08-28 07:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0461a2650012d34c14006aa4840000500e62b..."} 
[2026-08-28 07:33:37] local.INFO: Processing buffer {"connection_id":163294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0461a2650012d34c14006aa4840000500e62b..."} 
[2026-08-28 07:33:37] local.INFO: Packet analysis {"connection_id":163294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0461a"} 
[2026-08-28 07:33:37] local.INFO: Extracted packet for processing {"connection_id":163294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0461a"} 
[2026-08-28 07:33:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697846528001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787882514000,"timestamp_ms":1787882514000,"timestamp_seconds":1787882514,"priority":1,"record_length":96,"hex_timestamp":"000001a0461a2650"} 
[2026-08-28 07:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 07:33:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697846528001,"66":25191,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697846528001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:33:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:33:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:33: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-28 07:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697846528001,"power":25191,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":163294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:33:37] local.INFO: GPS data processed {"connection_id":163294,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:33:37] local.INFO: Acknowledgment sent {"connection_id":163294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:34:09] local.INFO: TCP Data received {"connection_id":163294,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0461a2650012d34c14006aa4840000500e62b..."} 
[2026-08-28 07:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0461a2650012d34c14006aa4840000500e62b..."} 
[2026-08-28 07:34:09] local.INFO: Processing buffer {"connection_id":163294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0461a2650012d34c14006aa4840000500e62b..."} 
[2026-08-28 07:34:09] local.INFO: Packet analysis {"connection_id":163294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0461a"} 
[2026-08-28 07:34:09] local.INFO: Extracted packet for processing {"connection_id":163294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0461a"} 
[2026-08-28 07:34:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697846528001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:34:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787882514000,"timestamp_ms":1787882514000,"timestamp_seconds":1787882514,"priority":1,"record_length":96,"hex_timestamp":"000001a0461a2650"} 
[2026-08-28 07:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:34:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 07:34:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:34:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:34:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697846528001,"66":25191,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697846528001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:34:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:34:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:34: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-28 07:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697846528001,"power":25191,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":163294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:34:09] local.INFO: GPS data processed {"connection_id":163294,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:34:09] local.INFO: Acknowledgment sent {"connection_id":163294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:34:31] local.INFO: TCP Data received {"connection_id":163559,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:34:31] local.INFO: Processing buffer {"connection_id":163559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:34:31] local.INFO: IMEI packet received {"connection_id":163559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 07:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":163559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:34:36] local.INFO: TCP Data received {"connection_id":163559,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:34:36] local.INFO: Processing buffer {"connection_id":163559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:34:36] local.INFO: IMEI packet received {"connection_id":163559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 07:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":163559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 07:34:37] local.INFO: TCP Data received {"connection_id":163559,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0461a2650012d34c14006aa4840000500e62b..."} 
[2026-08-28 07:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0461a2650012d34c14006aa4840000500e62b..."} 
[2026-08-28 07:34:37] local.INFO: Processing buffer {"connection_id":163559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0461a2650012d34c14006aa4840000500e62b..."} 
[2026-08-28 07:34:37] local.INFO: Packet analysis {"connection_id":163559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0461a"} 
[2026-08-28 07:34:37] local.INFO: Extracted packet for processing {"connection_id":163559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0461a"} 
[2026-08-28 07:34:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697846528001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787882514000,"timestamp_ms":1787882514000,"timestamp_seconds":1787882514,"priority":1,"record_length":96,"hex_timestamp":"000001a0461a2650"} 
[2026-08-28 07:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 07:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697846528001,"66":25191,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697846528001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:34:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:34:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:34: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-28 07:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697846528001,"power":25191,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":163559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:34:38] local.INFO: GPS data processed {"connection_id":163559,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:34:38] local.INFO: Acknowledgment sent {"connection_id":163559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:35:11] local.INFO: TCP Data received {"connection_id":163559,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0461a2650012d34c14006aa4840000500e62b..."} 
[2026-08-28 07:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0461a2650012d34c14006aa4840000500e62b..."} 
[2026-08-28 07:35:11] local.INFO: Processing buffer {"connection_id":163559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0461a2650012d34c14006aa4840000500e62b..."} 
[2026-08-28 07:35:11] local.INFO: Packet analysis {"connection_id":163559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0461a"} 
[2026-08-28 07:35:11] local.INFO: Extracted packet for processing {"connection_id":163559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0461a"} 
[2026-08-28 07:35:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:35:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697846528001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:35:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:35:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:35: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-28 07:35:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787882514000,"timestamp_ms":1787882514000,"timestamp_seconds":1787882514,"priority":1,"record_length":96,"hex_timestamp":"000001a0461a2650"} 
[2026-08-28 07:35:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:35:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 07:35:11] 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-28 07:35:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:35:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:35:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:35:11] local.INFO: Teltonika packet parsed successfully {"connection_id":163559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:35:11] local.INFO: Passing IMEI to GPS processor {"connection_id":163559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:35:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":163559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:35:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:35:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:35:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:35:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697846528001,"66":25191,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:35:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:35:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:35:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697846528001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:35:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:35:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:35: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-28 07:35:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:35:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697846528001,"power":25191,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:35:11] local.INFO: DEBUG: GPS processor result {"connection_id":163559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:35:11] local.INFO: GPS data processed {"connection_id":163559,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:35:11] local.INFO: Acknowledgment sent {"connection_id":163559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:35:36] local.INFO: TCP Data received {"connection_id":163560,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:35:36] local.INFO: Processing buffer {"connection_id":163560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:35:36] local.INFO: IMEI packet received {"connection_id":163560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 07:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":163560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:35:41] local.INFO: TCP Data received {"connection_id":163560,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:35:41] local.INFO: Processing buffer {"connection_id":163560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:35:41] local.INFO: IMEI packet received {"connection_id":163560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 07:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":163560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 07:35:42] local.INFO: TCP Data received {"connection_id":163560,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0461a2650012d34c14006aa4840000500e62b..."} 
[2026-08-28 07:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0461a2650012d34c14006aa4840000500e62b..."} 
[2026-08-28 07:35:42] local.INFO: Processing buffer {"connection_id":163560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0461a2650012d34c14006aa4840000500e62b..."} 
[2026-08-28 07:35:42] local.INFO: Packet analysis {"connection_id":163560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0461a"} 
[2026-08-28 07:35:42] local.INFO: Extracted packet for processing {"connection_id":163560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0461a"} 
[2026-08-28 07:35:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07: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-28 07:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697846528001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:35:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07: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-28 07:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787882514000,"timestamp_ms":1787882514000,"timestamp_seconds":1787882514,"priority":1,"record_length":96,"hex_timestamp":"000001a0461a2650"} 
[2026-08-28 07: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-28 07:35:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 07:35:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07: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-28 07: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-28 07:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:35: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-28 07:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697846528001,"66":25191,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697846528001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:35:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:35:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07: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-28 07:35:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:35:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697846528001,"power":25191,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:35:42] 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":706658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:35:42] local.INFO: GPS data processed {"connection_id":163560,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:35:42] local.INFO: Acknowledgment sent {"connection_id":163560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:35:47] local.INFO: TCP Data received {"connection_id":163560,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0461a2650012d34c14006aa4840000500e62b..."} 
[2026-08-28 07:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0461a2650012d34c14006aa4840000500e62b..."} 
[2026-08-28 07:35:47] local.INFO: Processing buffer {"connection_id":163560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0461a2650012d34c14006aa4840000500e62b..."} 
[2026-08-28 07:35:47] local.INFO: Packet analysis {"connection_id":163560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0461a"} 
[2026-08-28 07:35:47] local.INFO: Extracted packet for processing {"connection_id":163560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0461a"} 
[2026-08-28 07:35:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07: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-28 07:35:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697846528001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:35:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:35:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07: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-28 07:35:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787882514000,"timestamp_ms":1787882514000,"timestamp_seconds":1787882514,"priority":1,"record_length":96,"hex_timestamp":"000001a0461a2650"} 
[2026-08-28 07: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-28 07:35:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 07:35:47] 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-28 07: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-28 07: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-28 07:35:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:35:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:35:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:35:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:35: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-28 07:35:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:35:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:35:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697846528001,"66":25191,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:35:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:35:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:35:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697846528001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:35:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:35:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07: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-28 07:35:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:35:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697846528001,"power":25191,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:35:47] 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":706659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:35:47] local.INFO: GPS data processed {"connection_id":163560,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:35:47] local.INFO: Acknowledgment sent {"connection_id":163560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:36:27] local.INFO: TCP Data received {"connection_id":163558,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 07:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163558,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 07:36:27] local.INFO: Processing buffer {"connection_id":163558,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 07:36:27] local.INFO: IMEI packet received {"connection_id":163558,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 07:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":163558,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:36:31] local.INFO: TCP Data received {"connection_id":163561,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:36:31] local.INFO: Processing buffer {"connection_id":163561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:36:31] local.INFO: IMEI packet received {"connection_id":163561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 07:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":163561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:36:36] local.INFO: TCP Data received {"connection_id":163561,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:36:36] local.INFO: Processing buffer {"connection_id":163561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:36:36] local.INFO: IMEI packet received {"connection_id":163561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 07:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":163561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 07:36:37] local.INFO: TCP Data received {"connection_id":163561,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0461a2650012d34c14006aa4840000500e62b..."} 
[2026-08-28 07:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0461a2650012d34c14006aa4840000500e62b..."} 
[2026-08-28 07:36:37] local.INFO: Processing buffer {"connection_id":163561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0461a2650012d34c14006aa4840000500e62b..."} 
[2026-08-28 07:36:37] local.INFO: Packet analysis {"connection_id":163561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0461a"} 
[2026-08-28 07:36:37] local.INFO: Extracted packet for processing {"connection_id":163561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0461a"} 
[2026-08-28 07:36:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697846528001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787882514000,"timestamp_ms":1787882514000,"timestamp_seconds":1787882514,"priority":1,"record_length":96,"hex_timestamp":"000001a0461a2650"} 
[2026-08-28 07:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 07:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697846528001,"66":25191,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697846528001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:36:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:36:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07: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-28 07:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697846528001,"power":25191,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:36:37] 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":706660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:36:37] local.INFO: GPS data processed {"connection_id":163561,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:36:37] local.INFO: Acknowledgment sent {"connection_id":163561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:37:09] local.INFO: TCP Data received {"connection_id":163561,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0461a2650012d34c14006aa4840000500e62b..."} 
[2026-08-28 07:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0461a2650012d34c14006aa4840000500e62b..."} 
[2026-08-28 07:37:09] local.INFO: Processing buffer {"connection_id":163561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0461a2650012d34c14006aa4840000500e62b..."} 
[2026-08-28 07:37:09] local.INFO: Packet analysis {"connection_id":163561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0461a"} 
[2026-08-28 07:37:09] local.INFO: Extracted packet for processing {"connection_id":163561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0461a"} 
[2026-08-28 07:37:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07: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-28 07:37:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697846528001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:37:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:37:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:37:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:37:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787882514000,"timestamp_ms":1787882514000,"timestamp_seconds":1787882514,"priority":1,"record_length":96,"hex_timestamp":"000001a0461a2650"} 
[2026-08-28 07: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-28 07:37:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 07:37:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07: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-28 07: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-28 07:37:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:37:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:37:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:37:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:37:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:37:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:37:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:37:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697846528001,"66":25191,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:37:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:37:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:37:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697846528001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:37:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:37:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07: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-28 07:37:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:37:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697846528001,"power":25191,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:37:09] 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":706661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:37:09] local.INFO: GPS data processed {"connection_id":163561,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:37:09] local.INFO: Acknowledgment sent {"connection_id":163561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:37:31] local.INFO: TCP Data received {"connection_id":163295,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:37:31] local.INFO: Processing buffer {"connection_id":163295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:37:31] local.INFO: IMEI packet received {"connection_id":163295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 07:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":163295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:37:33] local.INFO: TCP Data received {"connection_id":163295,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:37:33] local.INFO: Processing buffer {"connection_id":163295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:37:33] local.INFO: IMEI packet received {"connection_id":163295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 07:37:33] local.INFO: IMEI acknowledgment sent {"connection_id":163295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 07:37:34] local.INFO: TCP Data received {"connection_id":163295,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0461ebe18012d34c14006aa4840000e00e62b..."} 
[2026-08-28 07:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0461ebe18012d34c14006aa4840000e00e62b..."} 
[2026-08-28 07:37:34] local.INFO: Processing buffer {"connection_id":163295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0461ebe18012d34c14006aa4840000e00e62b..."} 
[2026-08-28 07:37:34] local.INFO: Packet analysis {"connection_id":163295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0461e"} 
[2026-08-28 07:37:34] local.INFO: Extracted packet for processing {"connection_id":163295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0461e"} 
[2026-08-28 07:37:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697923584001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787882815000,"timestamp_ms":1787882815000,"timestamp_seconds":1787882815,"priority":1,"record_length":96,"hex_timestamp":"000001a0461ebe18"} 
[2026-08-28 07:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:37:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-28 07:37:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:37:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697923584001,"66":25212,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697923584001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:37:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:37:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 07:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697923584001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":163295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:37:34] local.INFO: GPS data processed {"connection_id":163295,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:37:34] local.INFO: Acknowledgment sent {"connection_id":163295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:38:06] local.INFO: TCP Data received {"connection_id":163295,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0461ebe18012d34c14006aa4840000e00e62b..."} 
[2026-08-28 07:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0461ebe18012d34c14006aa4840000e00e62b..."} 
[2026-08-28 07:38:06] local.INFO: Processing buffer {"connection_id":163295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0461ebe18012d34c14006aa4840000e00e62b..."} 
[2026-08-28 07:38:06] local.INFO: Packet analysis {"connection_id":163295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0461e"} 
[2026-08-28 07:38:06] local.INFO: Extracted packet for processing {"connection_id":163295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0461e"} 
[2026-08-28 07:38:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697923584001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787882815000,"timestamp_ms":1787882815000,"timestamp_seconds":1787882815,"priority":1,"record_length":96,"hex_timestamp":"000001a0461ebe18"} 
[2026-08-28 07:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-28 07:38:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:38:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697923584001,"66":25212,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697923584001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:38:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:38:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:38: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-28 07:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697923584001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":163295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:38:06] local.INFO: GPS data processed {"connection_id":163295,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:38:06] local.INFO: Acknowledgment sent {"connection_id":163295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:38:31] local.INFO: TCP Data received {"connection_id":165907,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:38:31] local.INFO: Processing buffer {"connection_id":165907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:38:31] local.INFO: IMEI packet received {"connection_id":165907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 07:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":165907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:38:36] local.INFO: TCP Data received {"connection_id":165907,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:38:36] local.INFO: Processing buffer {"connection_id":165907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:38:36] local.INFO: IMEI packet received {"connection_id":165907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 07:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":165907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 07:38:37] local.INFO: TCP Data received {"connection_id":165907,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0461ebe18012d34c14006aa4840000e00e62b..."} 
[2026-08-28 07:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0461ebe18012d34c14006aa4840000e00e62b..."} 
[2026-08-28 07:38:37] local.INFO: Processing buffer {"connection_id":165907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0461ebe18012d34c14006aa4840000e00e62b..."} 
[2026-08-28 07:38:37] local.INFO: Packet analysis {"connection_id":165907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0461e"} 
[2026-08-28 07:38:37] local.INFO: Extracted packet for processing {"connection_id":165907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0461e"} 
[2026-08-28 07:38:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697923584001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787882815000,"timestamp_ms":1787882815000,"timestamp_seconds":1787882815,"priority":1,"record_length":96,"hex_timestamp":"000001a0461ebe18"} 
[2026-08-28 07:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-28 07:38:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":165907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":165907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":165907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697923584001,"66":25212,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697923584001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:38:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:38:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:38: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-28 07:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697923584001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":165907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:38:37] local.INFO: GPS data processed {"connection_id":165907,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:38:37] local.INFO: Acknowledgment sent {"connection_id":165907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:39:09] local.INFO: TCP Data received {"connection_id":165907,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0461ebe18012d34c14006aa4840000e00e62b..."} 
[2026-08-28 07:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0461ebe18012d34c14006aa4840000e00e62b..."} 
[2026-08-28 07:39:09] local.INFO: Processing buffer {"connection_id":165907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0461ebe18012d34c14006aa4840000e00e62b..."} 
[2026-08-28 07:39:09] local.INFO: Packet analysis {"connection_id":165907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0461e"} 
[2026-08-28 07:39:09] local.INFO: Extracted packet for processing {"connection_id":165907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0461e"} 
[2026-08-28 07:39:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697923584001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:39:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:39:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787882815000,"timestamp_ms":1787882815000,"timestamp_seconds":1787882815,"priority":1,"record_length":96,"hex_timestamp":"000001a0461ebe18"} 
[2026-08-28 07:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:39:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-28 07:39:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:39:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":165907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":165907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":165907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:39:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697923584001,"66":25212,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697923584001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:39:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:39:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:39: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-28 07:39:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697923584001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":165907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:39:09] local.INFO: GPS data processed {"connection_id":165907,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:39:09] local.INFO: Acknowledgment sent {"connection_id":165907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:39:31] local.INFO: TCP Data received {"connection_id":163562,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:39:31] local.INFO: Processing buffer {"connection_id":163562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:39:31] local.INFO: IMEI packet received {"connection_id":163562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 07:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":163562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:39:37] local.INFO: TCP Data received {"connection_id":163562,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:39:37] local.INFO: Processing buffer {"connection_id":163562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:39:37] local.INFO: IMEI packet received {"connection_id":163562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 07:39:37] local.INFO: IMEI acknowledgment sent {"connection_id":163562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 07:39:37] local.INFO: TCP Data received {"connection_id":163562,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0461ebe18012d34c14006aa4840000e00e62b..."} 
[2026-08-28 07:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0461ebe18012d34c14006aa4840000e00e62b..."} 
[2026-08-28 07:39:37] local.INFO: Processing buffer {"connection_id":163562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0461ebe18012d34c14006aa4840000e00e62b..."} 
[2026-08-28 07:39:37] local.INFO: Packet analysis {"connection_id":163562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0461e"} 
[2026-08-28 07:39:37] local.INFO: Extracted packet for processing {"connection_id":163562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0461e"} 
[2026-08-28 07:39:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697923584001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787882815000,"timestamp_ms":1787882815000,"timestamp_seconds":1787882815,"priority":1,"record_length":96,"hex_timestamp":"000001a0461ebe18"} 
[2026-08-28 07:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-28 07:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697923584001,"66":25212,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697923584001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:39:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:39:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:39: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-28 07:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697923584001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":163562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:39:37] local.INFO: GPS data processed {"connection_id":163562,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:39:37] local.INFO: Acknowledgment sent {"connection_id":163562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:40:09] local.INFO: TCP Data received {"connection_id":163562,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0461ebe18012d34c14006aa4840000e00e62b..."} 
[2026-08-28 07:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0461ebe18012d34c14006aa4840000e00e62b..."} 
[2026-08-28 07:40:09] local.INFO: Processing buffer {"connection_id":163562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0461ebe18012d34c14006aa4840000e00e62b..."} 
[2026-08-28 07:40:09] local.INFO: Packet analysis {"connection_id":163562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0461e"} 
[2026-08-28 07:40:09] local.INFO: Extracted packet for processing {"connection_id":163562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0461e"} 
[2026-08-28 07:40:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697923584001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:40:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787882815000,"timestamp_ms":1787882815000,"timestamp_seconds":1787882815,"priority":1,"record_length":96,"hex_timestamp":"000001a0461ebe18"} 
[2026-08-28 07:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:40:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-28 07:40:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:40:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:40:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697923584001,"66":25212,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697923584001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:40:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:40:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:40: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-28 07:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697923584001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":163562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:40:09] local.INFO: GPS data processed {"connection_id":163562,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:40:09] local.INFO: Acknowledgment sent {"connection_id":163562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:40:37] local.INFO: TCP Data received {"connection_id":163563,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:40:37] local.INFO: Processing buffer {"connection_id":163563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:40:37] local.INFO: IMEI packet received {"connection_id":163563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 07:40:37] local.INFO: IMEI acknowledgment sent {"connection_id":163563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:40:41] local.INFO: TCP Data received {"connection_id":163563,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:40:41] local.INFO: Processing buffer {"connection_id":163563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:40:41] local.INFO: IMEI packet received {"connection_id":163563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 07:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":163563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 07:40:43] local.INFO: TCP Data received {"connection_id":163563,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0461ebe18012d34c14006aa4840000e00e62b..."} 
[2026-08-28 07:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0461ebe18012d34c14006aa4840000e00e62b..."} 
[2026-08-28 07:40:43] local.INFO: Processing buffer {"connection_id":163563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0461ebe18012d34c14006aa4840000e00e62b..."} 
[2026-08-28 07:40:43] local.INFO: Packet analysis {"connection_id":163563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0461e"} 
[2026-08-28 07:40:43] local.INFO: Extracted packet for processing {"connection_id":163563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0461e"} 
[2026-08-28 07:40:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07: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-28 07:40:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697923584001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:40:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:40:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07: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-28 07:40:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787882815000,"timestamp_ms":1787882815000,"timestamp_seconds":1787882815,"priority":1,"record_length":96,"hex_timestamp":"000001a0461ebe18"} 
[2026-08-28 07: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-28 07:40:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-28 07:40:43] 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-28 07: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-28 07: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-28 07:40:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:40:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:40:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:40:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:40: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-28 07:40:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:40:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:40:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697923584001,"66":25212,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:40:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:40:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:40:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697923584001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:40:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:40:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07: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-28 07:40:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:40:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697923584001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:40:43] local.INFO: DEBUG: GPS processor result {"connection_id":163563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:40:43] local.INFO: GPS data processed {"connection_id":163563,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:40:43] local.INFO: Acknowledgment sent {"connection_id":163563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:40:47] local.INFO: TCP Data received {"connection_id":163563,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0461ebe18012d34c14006aa4840000e00e62b..."} 
[2026-08-28 07:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0461ebe18012d34c14006aa4840000e00e62b..."} 
[2026-08-28 07:40:47] local.INFO: Processing buffer {"connection_id":163563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0461ebe18012d34c14006aa4840000e00e62b..."} 
[2026-08-28 07:40:47] local.INFO: Packet analysis {"connection_id":163563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0461e"} 
[2026-08-28 07:40:47] local.INFO: Extracted packet for processing {"connection_id":163563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0461e"} 
[2026-08-28 07:40:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07: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-28 07:40:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697923584001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:40:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:40:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07: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-28 07:40:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787882815000,"timestamp_ms":1787882815000,"timestamp_seconds":1787882815,"priority":1,"record_length":96,"hex_timestamp":"000001a0461ebe18"} 
[2026-08-28 07: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-28 07:40:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-28 07:40:47] 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-28 07: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-28 07: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-28 07:40:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:40:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:40:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:40:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:40:47] 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-28 07:40:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:40:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:40:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697923584001,"66":25212,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:40:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:40:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:40:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697923584001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:40:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:40:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07: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-28 07:40:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:40:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697923584001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:40:47] local.INFO: DEBUG: GPS processor result {"connection_id":163563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:40:47] local.INFO: GPS data processed {"connection_id":163563,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:40:47] local.INFO: Acknowledgment sent {"connection_id":163563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:41:31] local.INFO: TCP Data received {"connection_id":163296,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:41:31] local.INFO: Processing buffer {"connection_id":163296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:41:31] local.INFO: IMEI packet received {"connection_id":163296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 07:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":163296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:41:36] local.INFO: TCP Data received {"connection_id":163296,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:41:36] local.INFO: Processing buffer {"connection_id":163296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:41:36] local.INFO: IMEI packet received {"connection_id":163296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 07:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":163296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 07:41:37] local.INFO: TCP Data received {"connection_id":163296,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0461ebe18012d34c14006aa4840000e00e62b..."} 
[2026-08-28 07:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0461ebe18012d34c14006aa4840000e00e62b..."} 
[2026-08-28 07:41:37] local.INFO: Processing buffer {"connection_id":163296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0461ebe18012d34c14006aa4840000e00e62b..."} 
[2026-08-28 07:41:37] local.INFO: Packet analysis {"connection_id":163296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0461e"} 
[2026-08-28 07:41:37] local.INFO: Extracted packet for processing {"connection_id":163296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0461e"} 
[2026-08-28 07:41:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697923584001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787882815000,"timestamp_ms":1787882815000,"timestamp_seconds":1787882815,"priority":1,"record_length":96,"hex_timestamp":"000001a0461ebe18"} 
[2026-08-28 07:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-28 07:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697923584001,"66":25212,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697923584001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:41:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:41:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:41: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-28 07:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697923584001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":163296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:41:37] local.INFO: GPS data processed {"connection_id":163296,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:41:37] local.INFO: Acknowledgment sent {"connection_id":163296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:41:42] local.INFO: TCP Data received {"connection_id":163296,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0461ebe18012d34c14006aa4840000e00e62b..."} 
[2026-08-28 07:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0461ebe18012d34c14006aa4840000e00e62b..."} 
[2026-08-28 07:41:42] local.INFO: Processing buffer {"connection_id":163296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0461ebe18012d34c14006aa4840000e00e62b..."} 
[2026-08-28 07:41:42] local.INFO: Packet analysis {"connection_id":163296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0461e"} 
[2026-08-28 07:41:42] local.INFO: Extracted packet for processing {"connection_id":163296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0461e"} 
[2026-08-28 07:41:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697923584001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:41:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07: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-28 07:41:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787882815000,"timestamp_ms":1787882815000,"timestamp_seconds":1787882815,"priority":1,"record_length":96,"hex_timestamp":"000001a0461ebe18"} 
[2026-08-28 07:41:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:41:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-28 07:41:42] 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-28 07: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-28 07:41:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:41: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-28 07:41:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:41:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:41:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697923584001,"66":25212,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:41:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:41:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:41:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697923584001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:41:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:41:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07: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-28 07:41:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:41:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697923584001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:41:42] local.INFO: DEBUG: GPS processor result {"connection_id":163296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:41:42] local.INFO: GPS data processed {"connection_id":163296,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:41:42] local.INFO: Acknowledgment sent {"connection_id":163296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:42:02] local.INFO: TCP Data received {"connection_id":164557,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 07:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164557,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 07:42:02] local.INFO: Processing buffer {"connection_id":164557,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 07:42:02] local.INFO: IMEI packet received {"connection_id":164557,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 07:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":164557,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:42:14] local.INFO: TCP Data received {"connection_id":163296,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0461ebe18012d34c14006aa4840000e00e62b..."} 
[2026-08-28 07:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0461ebe18012d34c14006aa4840000e00e62b..."} 
[2026-08-28 07:42:14] local.INFO: Processing buffer {"connection_id":163296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0461ebe18012d34c14006aa4840000e00e62b..."} 
[2026-08-28 07:42:14] local.INFO: Packet analysis {"connection_id":163296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0461e"} 
[2026-08-28 07:42:14] local.INFO: Extracted packet for processing {"connection_id":163296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0461e"} 
[2026-08-28 07:42:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07: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-28 07:42:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457697923584001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:42:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:42:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07: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-28 07:42:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787882815000,"timestamp_ms":1787882815000,"timestamp_seconds":1787882815,"priority":1,"record_length":96,"hex_timestamp":"000001a0461ebe18"} 
[2026-08-28 07: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-28 07:42:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:42:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-28 07:42:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07: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-28 07: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-28 07:42:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:42:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:42:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:42:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:42: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-28 07:42:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:42:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:42:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457697923584001,"66":25212,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:42:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:42:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:42:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457697923584001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:42:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:42:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07: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-28 07:42:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:42:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457697923584001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:42:14] local.INFO: DEBUG: GPS processor result {"connection_id":163296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:42:14] local.INFO: GPS data processed {"connection_id":163296,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:42:14] local.INFO: Acknowledgment sent {"connection_id":163296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:42:31] local.INFO: TCP Data received {"connection_id":165908,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:42:31] local.INFO: Processing buffer {"connection_id":165908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:42:31] local.INFO: IMEI packet received {"connection_id":165908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 07:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":165908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:42:35] local.INFO: TCP Data received {"connection_id":165908,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:42:35] local.INFO: Processing buffer {"connection_id":165908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:42:35] local.INFO: IMEI packet received {"connection_id":165908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 07:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":165908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 07:42:36] local.INFO: TCP Data received {"connection_id":165908,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0462355e0012d34c14006aa4840000f00e62a..."} 
[2026-08-28 07:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0462355e0012d34c14006aa4840000f00e62a..."} 
[2026-08-28 07:42:36] local.INFO: Processing buffer {"connection_id":165908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0462355e0012d34c14006aa4840000f00e62a..."} 
[2026-08-28 07:42:36] local.INFO: Packet analysis {"connection_id":165908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04623"} 
[2026-08-28 07:42:36] local.INFO: Extracted packet for processing {"connection_id":165908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04623"} 
[2026-08-28 07:42:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698000640001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:42:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787883116000,"timestamp_ms":1787883116000,"timestamp_seconds":1787883116,"priority":1,"record_length":96,"hex_timestamp":"000001a0462355e0"} 
[2026-08-28 07:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:42:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 07:42:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:42:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":165908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":165908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":165908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:42:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698000640001,"66":25201,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698000640001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:42:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:42:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 07:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698000640001,"power":25201,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":165908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:42:36] local.INFO: GPS data processed {"connection_id":165908,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:42:36] local.INFO: Acknowledgment sent {"connection_id":165908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:43:07] local.INFO: TCP Data received {"connection_id":165908,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0462355e0012d34c14006aa4840000f00e62a..."} 
[2026-08-28 07:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0462355e0012d34c14006aa4840000f00e62a..."} 
[2026-08-28 07:43:07] local.INFO: Processing buffer {"connection_id":165908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0462355e0012d34c14006aa4840000f00e62a..."} 
[2026-08-28 07:43:07] local.INFO: Packet analysis {"connection_id":165908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04623"} 
[2026-08-28 07:43:07] local.INFO: Extracted packet for processing {"connection_id":165908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04623"} 
[2026-08-28 07:43:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698000640001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:43:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:43:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787883116000,"timestamp_ms":1787883116000,"timestamp_seconds":1787883116,"priority":1,"record_length":96,"hex_timestamp":"000001a0462355e0"} 
[2026-08-28 07:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:43:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 07:43:07] 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-28 07:43:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":165908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":165908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":165908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:43: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-28 07:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698000640001,"66":25201,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698000640001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:43:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:43:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:43: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-28 07:43:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698000640001,"power":25201,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":165908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:43:07] local.INFO: GPS data processed {"connection_id":165908,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:43:07] local.INFO: Acknowledgment sent {"connection_id":165908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:43:31] local.INFO: TCP Data received {"connection_id":164559,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:43:31] local.INFO: Processing buffer {"connection_id":164559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:43:31] local.INFO: IMEI packet received {"connection_id":164559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 07:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":164559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:43:36] local.INFO: TCP Data received {"connection_id":164559,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:43:36] local.INFO: Processing buffer {"connection_id":164559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:43:36] local.INFO: IMEI packet received {"connection_id":164559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 07:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":164559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 07:43:37] local.INFO: TCP Data received {"connection_id":164559,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0462355e0012d34c14006aa4840000f00e62a..."} 
[2026-08-28 07:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0462355e0012d34c14006aa4840000f00e62a..."} 
[2026-08-28 07:43:37] local.INFO: Processing buffer {"connection_id":164559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0462355e0012d34c14006aa4840000f00e62a..."} 
[2026-08-28 07:43:37] local.INFO: Packet analysis {"connection_id":164559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04623"} 
[2026-08-28 07:43:37] local.INFO: Extracted packet for processing {"connection_id":164559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04623"} 
[2026-08-28 07:43:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698000640001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787883116000,"timestamp_ms":1787883116000,"timestamp_seconds":1787883116,"priority":1,"record_length":96,"hex_timestamp":"000001a0462355e0"} 
[2026-08-28 07:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 07:43:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698000640001,"66":25201,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698000640001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:43:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:43:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:43: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-28 07:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698000640001,"power":25201,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":164559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:43:37] local.INFO: GPS data processed {"connection_id":164559,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:43:37] local.INFO: Acknowledgment sent {"connection_id":164559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:44:08] local.INFO: TCP Data received {"connection_id":164559,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0462355e0012d34c14006aa4840000f00e62a..."} 
[2026-08-28 07:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0462355e0012d34c14006aa4840000f00e62a..."} 
[2026-08-28 07:44:08] local.INFO: Processing buffer {"connection_id":164559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0462355e0012d34c14006aa4840000f00e62a..."} 
[2026-08-28 07:44:08] local.INFO: Packet analysis {"connection_id":164559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04623"} 
[2026-08-28 07:44:08] local.INFO: Extracted packet for processing {"connection_id":164559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04623"} 
[2026-08-28 07:44:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698000640001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:44: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-28 07:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787883116000,"timestamp_ms":1787883116000,"timestamp_seconds":1787883116,"priority":1,"record_length":96,"hex_timestamp":"000001a0462355e0"} 
[2026-08-28 07:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 07:44:08] 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-28 07:44:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698000640001,"66":25201,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698000640001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:44:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:44:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:44: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-28 07:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698000640001,"power":25201,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":164559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:44:09] local.INFO: GPS data processed {"connection_id":164559,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:44:09] local.INFO: Acknowledgment sent {"connection_id":164559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:44:31] local.INFO: TCP Data received {"connection_id":163297,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:44:31] local.INFO: Processing buffer {"connection_id":163297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:44:31] local.INFO: IMEI packet received {"connection_id":163297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 07:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":163297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:44:36] local.INFO: TCP Data received {"connection_id":163297,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:44:36] local.INFO: Processing buffer {"connection_id":163297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:44:36] local.INFO: IMEI packet received {"connection_id":163297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 07:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":163297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 07:44:37] local.INFO: TCP Data received {"connection_id":163297,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0462355e0012d34c14006aa4840000f00e62a..."} 
[2026-08-28 07:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0462355e0012d34c14006aa4840000f00e62a..."} 
[2026-08-28 07:44:37] local.INFO: Processing buffer {"connection_id":163297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0462355e0012d34c14006aa4840000f00e62a..."} 
[2026-08-28 07:44:37] local.INFO: Packet analysis {"connection_id":163297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04623"} 
[2026-08-28 07:44:37] local.INFO: Extracted packet for processing {"connection_id":163297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04623"} 
[2026-08-28 07:44:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698000640001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787883116000,"timestamp_ms":1787883116000,"timestamp_seconds":1787883116,"priority":1,"record_length":96,"hex_timestamp":"000001a0462355e0"} 
[2026-08-28 07:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 07:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:44:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698000640001,"66":25201,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698000640001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:44:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:44:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:44: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-28 07:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698000640001,"power":25201,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":163297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:44:37] local.INFO: GPS data processed {"connection_id":163297,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:44:37] local.INFO: Acknowledgment sent {"connection_id":163297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:45:08] local.INFO: TCP Data received {"connection_id":163297,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0462355e0012d34c14006aa4840000f00e62a..."} 
[2026-08-28 07:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0462355e0012d34c14006aa4840000f00e62a..."} 
[2026-08-28 07:45:08] local.INFO: Processing buffer {"connection_id":163297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0462355e0012d34c14006aa4840000f00e62a..."} 
[2026-08-28 07:45:08] local.INFO: Packet analysis {"connection_id":163297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04623"} 
[2026-08-28 07:45:08] local.INFO: Extracted packet for processing {"connection_id":163297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04623"} 
[2026-08-28 07:45:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698000640001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:45: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-28 07:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787883116000,"timestamp_ms":1787883116000,"timestamp_seconds":1787883116,"priority":1,"record_length":96,"hex_timestamp":"000001a0462355e0"} 
[2026-08-28 07:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:45:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 07:45:08] 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-28 07:45:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:45:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698000640001,"66":25201,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698000640001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:45:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:45:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:45: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-28 07:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698000640001,"power":25201,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":163297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:45:08] local.INFO: GPS data processed {"connection_id":163297,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:45:08] local.INFO: Acknowledgment sent {"connection_id":163297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:45:31] local.INFO: TCP Data received {"connection_id":165909,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:45:31] local.INFO: Processing buffer {"connection_id":165909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:45:31] local.INFO: IMEI packet received {"connection_id":165909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 07:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":165909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:45:37] local.INFO: TCP Data received {"connection_id":165909,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:45:37] local.INFO: Processing buffer {"connection_id":165909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:45:37] local.INFO: IMEI packet received {"connection_id":165909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 07:45:37] local.INFO: IMEI acknowledgment sent {"connection_id":165909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 07:45:37] local.INFO: TCP Data received {"connection_id":165909,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0462355e0012d34c14006aa4840000f00e62a..."} 
[2026-08-28 07:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0462355e0012d34c14006aa4840000f00e62a..."} 
[2026-08-28 07:45:37] local.INFO: Processing buffer {"connection_id":165909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0462355e0012d34c14006aa4840000f00e62a..."} 
[2026-08-28 07:45:37] local.INFO: Packet analysis {"connection_id":165909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04623"} 
[2026-08-28 07:45:37] local.INFO: Extracted packet for processing {"connection_id":165909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04623"} 
[2026-08-28 07:45:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698000640001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787883116000,"timestamp_ms":1787883116000,"timestamp_seconds":1787883116,"priority":1,"record_length":96,"hex_timestamp":"000001a0462355e0"} 
[2026-08-28 07:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 07:45:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":165909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":165909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":165909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698000640001,"66":25201,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698000640001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:45:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:45:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:45: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-28 07:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698000640001,"power":25201,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":165909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:45:38] local.INFO: GPS data processed {"connection_id":165909,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:45:38] local.INFO: Acknowledgment sent {"connection_id":165909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:46:09] local.INFO: TCP Data received {"connection_id":165909,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0462355e0012d34c14006aa4840000f00e62a..."} 
[2026-08-28 07:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0462355e0012d34c14006aa4840000f00e62a..."} 
[2026-08-28 07:46:09] local.INFO: Processing buffer {"connection_id":165909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0462355e0012d34c14006aa4840000f00e62a..."} 
[2026-08-28 07:46:09] local.INFO: Packet analysis {"connection_id":165909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04623"} 
[2026-08-28 07:46:09] local.INFO: Extracted packet for processing {"connection_id":165909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04623"} 
[2026-08-28 07:46:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698000640001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:46:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:46:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787883116000,"timestamp_ms":1787883116000,"timestamp_seconds":1787883116,"priority":1,"record_length":96,"hex_timestamp":"000001a0462355e0"} 
[2026-08-28 07:46:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:46:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 07:46:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:46:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:46:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":165909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":165909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":165909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:46:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698000640001,"66":25201,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698000640001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:46:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:46:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:46: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-28 07:46:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698000640001,"power":25201,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":165909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:46:09] local.INFO: GPS data processed {"connection_id":165909,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:46:09] local.INFO: Acknowledgment sent {"connection_id":165909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:46:36] local.INFO: TCP Data received {"connection_id":165910,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:46:36] local.INFO: Processing buffer {"connection_id":165910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:46:36] local.INFO: IMEI packet received {"connection_id":165910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 07:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":165910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:46:41] local.INFO: TCP Data received {"connection_id":165910,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:46:41] local.INFO: Processing buffer {"connection_id":165910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:46:41] local.INFO: IMEI packet received {"connection_id":165910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 07:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":165910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 07:46:46] local.INFO: TCP Data received {"connection_id":165910,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0462355e0012d34c14006aa4840000f00e62a..."} 
[2026-08-28 07:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0462355e0012d34c14006aa4840000f00e62a..."} 
[2026-08-28 07:46:46] local.INFO: Processing buffer {"connection_id":165910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0462355e0012d34c14006aa4840000f00e62a..."} 
[2026-08-28 07:46:46] local.INFO: Packet analysis {"connection_id":165910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04623"} 
[2026-08-28 07:46:46] local.INFO: Extracted packet for processing {"connection_id":165910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04623"} 
[2026-08-28 07:46:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:46:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698000640001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:46:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:46:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:46: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-28 07:46:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787883116000,"timestamp_ms":1787883116000,"timestamp_seconds":1787883116,"priority":1,"record_length":96,"hex_timestamp":"000001a0462355e0"} 
[2026-08-28 07:46:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:46:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 07:46:46] 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-28 07:46:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:46:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:46:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:46:46] local.INFO: Teltonika packet parsed successfully {"connection_id":165910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:46:46] local.INFO: Passing IMEI to GPS processor {"connection_id":165910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:46:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":165910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:46:46] 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-28 07:46:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:46:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:46:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698000640001,"66":25201,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:46:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:46:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:46:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698000640001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:46:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:46:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:46: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-28 07:46:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:46:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698000640001,"power":25201,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:46:46] local.INFO: DEBUG: GPS processor result {"connection_id":165910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:46:46] local.INFO: GPS data processed {"connection_id":165910,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:46:46] local.INFO: Acknowledgment sent {"connection_id":165910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:46:47] local.INFO: TCP Data received {"connection_id":165910,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0462355e0012d34c14006aa4840000f00e62a..."} 
[2026-08-28 07:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0462355e0012d34c14006aa4840000f00e62a..."} 
[2026-08-28 07:46:47] local.INFO: Processing buffer {"connection_id":165910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0462355e0012d34c14006aa4840000f00e62a..."} 
[2026-08-28 07:46:47] local.INFO: Packet analysis {"connection_id":165910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04623"} 
[2026-08-28 07:46:47] local.INFO: Extracted packet for processing {"connection_id":165910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04623"} 
[2026-08-28 07:46:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07: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-28 07:46:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698000640001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:46:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:46:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07: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-28 07:46:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787883116000,"timestamp_ms":1787883116000,"timestamp_seconds":1787883116,"priority":1,"record_length":96,"hex_timestamp":"000001a0462355e0"} 
[2026-08-28 07: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-28 07:46:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07: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":124,"data_length":795,"current_offset":136} 
[2026-08-28 07:46: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-28 07: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-28 07: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-28 07:46:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:46:47] local.INFO: Teltonika packet parsed successfully {"connection_id":165910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:46:47] local.INFO: Passing IMEI to GPS processor {"connection_id":165910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:46:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":165910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:46:47] 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-28 07:46:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:46:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:46:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698000640001,"66":25201,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:46:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:46:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:46:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698000640001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:46:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:46:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07: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-28 07:46:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:46:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698000640001,"power":25201,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:46:47] local.INFO: DEBUG: GPS processor result {"connection_id":165910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:46:47] local.INFO: GPS data processed {"connection_id":165910,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:46:47] local.INFO: Acknowledgment sent {"connection_id":165910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:47:31] local.INFO: TCP Data received {"connection_id":164560,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:47:31] local.INFO: Processing buffer {"connection_id":164560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:47:31] local.INFO: IMEI packet received {"connection_id":164560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 07:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":164560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:47:35] local.INFO: TCP Data received {"connection_id":164560,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:47:35] local.INFO: Processing buffer {"connection_id":164560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:47:35] local.INFO: IMEI packet received {"connection_id":164560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 07:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":164560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 07:47:36] local.INFO: TCP Data received {"connection_id":164560,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a04627eda8012d34c14006aa4840000a00e62b..."} 
[2026-08-28 07:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04627eda8012d34c14006aa4840000a00e62b..."} 
[2026-08-28 07:47:36] local.INFO: Processing buffer {"connection_id":164560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04627eda8012d34c14006aa4840000a00e62b..."} 
[2026-08-28 07:47:36] local.INFO: Packet analysis {"connection_id":164560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04627"} 
[2026-08-28 07:47:36] local.INFO: Extracted packet for processing {"connection_id":164560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04627"} 
[2026-08-28 07:47:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698077696001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:47:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787883417000,"timestamp_ms":1787883417000,"timestamp_seconds":1787883417,"priority":1,"record_length":96,"hex_timestamp":"000001a04627eda8"} 
[2026-08-28 07:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:47:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-28 07:47:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:47:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":164560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":164560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":164560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:47:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698077696001,"66":25212,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698077696001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:47:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:47:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 07:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698077696001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":164560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:47:36] local.INFO: GPS data processed {"connection_id":164560,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:47:36] local.INFO: Acknowledgment sent {"connection_id":164560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:47:37] local.INFO: TCP Data received {"connection_id":164558,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 07:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164558,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 07:47:37] local.INFO: Processing buffer {"connection_id":164558,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 07:47:37] local.INFO: IMEI packet received {"connection_id":164558,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 07:47:37] local.INFO: IMEI acknowledgment sent {"connection_id":164558,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:48:07] local.INFO: TCP Data received {"connection_id":164560,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a04627eda8012d34c14006aa4840000a00e62b..."} 
[2026-08-28 07:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04627eda8012d34c14006aa4840000a00e62b..."} 
[2026-08-28 07:48:07] local.INFO: Processing buffer {"connection_id":164560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04627eda8012d34c14006aa4840000a00e62b..."} 
[2026-08-28 07:48:07] local.INFO: Packet analysis {"connection_id":164560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04627"} 
[2026-08-28 07:48:07] local.INFO: Extracted packet for processing {"connection_id":164560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04627"} 
[2026-08-28 07:48:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698077696001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:48:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:48:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787883417000,"timestamp_ms":1787883417000,"timestamp_seconds":1787883417,"priority":1,"record_length":96,"hex_timestamp":"000001a04627eda8"} 
[2026-08-28 07:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:48:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-28 07:48:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:48:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":164560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":164560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":164560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:48:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698077696001,"66":25212,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698077696001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:48:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:48:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:48: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-28 07:48:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698077696001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":164560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:48:07] local.INFO: GPS data processed {"connection_id":164560,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:48:07] local.INFO: Acknowledgment sent {"connection_id":164560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:48:12] local.INFO: TCP Data received {"connection_id":165911,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 07:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165911,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 07:48:12] local.INFO: Processing buffer {"connection_id":165911,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 07:48:12] local.INFO: IMEI packet received {"connection_id":165911,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 07:48:12] local.INFO: IMEI acknowledgment sent {"connection_id":165911,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:48:31] local.INFO: TCP Data received {"connection_id":163564,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:48:31] local.INFO: Processing buffer {"connection_id":163564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:48:31] local.INFO: IMEI packet received {"connection_id":163564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 07:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":163564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:48:36] local.INFO: TCP Data received {"connection_id":163564,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:48:36] local.INFO: Processing buffer {"connection_id":163564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:48:36] local.INFO: IMEI packet received {"connection_id":163564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 07:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":163564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 07:48:37] local.INFO: TCP Data received {"connection_id":163564,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a04627eda8012d34c14006aa4840000a00e62b..."} 
[2026-08-28 07:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04627eda8012d34c14006aa4840000a00e62b..."} 
[2026-08-28 07:48:37] local.INFO: Processing buffer {"connection_id":163564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04627eda8012d34c14006aa4840000a00e62b..."} 
[2026-08-28 07:48:37] local.INFO: Packet analysis {"connection_id":163564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04627"} 
[2026-08-28 07:48:37] local.INFO: Extracted packet for processing {"connection_id":163564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04627"} 
[2026-08-28 07:48:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698077696001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787883417000,"timestamp_ms":1787883417000,"timestamp_seconds":1787883417,"priority":1,"record_length":96,"hex_timestamp":"000001a04627eda8"} 
[2026-08-28 07:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-28 07:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698077696001,"66":25212,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698077696001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:48:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:48:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:48: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-28 07:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698077696001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":163564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:48:37] local.INFO: GPS data processed {"connection_id":163564,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:48:37] local.INFO: Acknowledgment sent {"connection_id":163564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:49:09] local.INFO: TCP Data received {"connection_id":163564,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a04627eda8012d34c14006aa4840000a00e62b..."} 
[2026-08-28 07:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04627eda8012d34c14006aa4840000a00e62b..."} 
[2026-08-28 07:49:09] local.INFO: Processing buffer {"connection_id":163564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04627eda8012d34c14006aa4840000a00e62b..."} 
[2026-08-28 07:49:09] local.INFO: Packet analysis {"connection_id":163564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04627"} 
[2026-08-28 07:49:09] local.INFO: Extracted packet for processing {"connection_id":163564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04627"} 
[2026-08-28 07:49:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698077696001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:49:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787883417000,"timestamp_ms":1787883417000,"timestamp_seconds":1787883417,"priority":1,"record_length":96,"hex_timestamp":"000001a04627eda8"} 
[2026-08-28 07:49:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:49:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-28 07:49:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:49:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:49:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:49: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-28 07:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698077696001,"66":25212,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698077696001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:49:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:49:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:49: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-28 07:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698077696001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":163564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:49:09] local.INFO: GPS data processed {"connection_id":163564,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:49:09] local.INFO: Acknowledgment sent {"connection_id":163564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:49:31] local.INFO: TCP Data received {"connection_id":164561,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:49:31] local.INFO: Processing buffer {"connection_id":164561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:49:31] local.INFO: IMEI packet received {"connection_id":164561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 07:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":164561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:49:37] local.INFO: TCP Data received {"connection_id":164561,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:49:37] local.INFO: Processing buffer {"connection_id":164561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:49:37] local.INFO: IMEI packet received {"connection_id":164561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 07:49:37] local.INFO: IMEI acknowledgment sent {"connection_id":164561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 07:49:37] local.INFO: TCP Data received {"connection_id":164561,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a04627eda8012d34c14006aa4840000a00e62b..."} 
[2026-08-28 07:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04627eda8012d34c14006aa4840000a00e62b..."} 
[2026-08-28 07:49:37] local.INFO: Processing buffer {"connection_id":164561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04627eda8012d34c14006aa4840000a00e62b..."} 
[2026-08-28 07:49:37] local.INFO: Packet analysis {"connection_id":164561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04627"} 
[2026-08-28 07:49:37] local.INFO: Extracted packet for processing {"connection_id":164561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04627"} 
[2026-08-28 07:49:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698077696001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787883417000,"timestamp_ms":1787883417000,"timestamp_seconds":1787883417,"priority":1,"record_length":96,"hex_timestamp":"000001a04627eda8"} 
[2026-08-28 07:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-28 07:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:49:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698077696001,"66":25212,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698077696001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:49:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:49:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:49: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-28 07:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698077696001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":164561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:49:37] local.INFO: GPS data processed {"connection_id":164561,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:49:37] local.INFO: Acknowledgment sent {"connection_id":164561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:50:09] local.INFO: TCP Data received {"connection_id":164561,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a04627eda8012d34c14006aa4840000a00e62b..."} 
[2026-08-28 07:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04627eda8012d34c14006aa4840000a00e62b..."} 
[2026-08-28 07:50:09] local.INFO: Processing buffer {"connection_id":164561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04627eda8012d34c14006aa4840000a00e62b..."} 
[2026-08-28 07:50:09] local.INFO: Packet analysis {"connection_id":164561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04627"} 
[2026-08-28 07:50:09] local.INFO: Extracted packet for processing {"connection_id":164561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04627"} 
[2026-08-28 07:50:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698077696001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:50:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787883417000,"timestamp_ms":1787883417000,"timestamp_seconds":1787883417,"priority":1,"record_length":96,"hex_timestamp":"000001a04627eda8"} 
[2026-08-28 07:50:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:50:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-28 07:50:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:50:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:50:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:50:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698077696001,"66":25212,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698077696001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:50:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:50:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:50: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-28 07:50:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698077696001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":164561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:50:09] local.INFO: GPS data processed {"connection_id":164561,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:50:09] local.INFO: Acknowledgment sent {"connection_id":164561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:50:31] local.INFO: TCP Data received {"connection_id":163565,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:50:31] local.INFO: Processing buffer {"connection_id":163565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:50:31] local.INFO: IMEI packet received {"connection_id":163565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 07:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":163565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:50:36] local.INFO: TCP Data received {"connection_id":163565,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:50:36] local.INFO: Processing buffer {"connection_id":163565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:50:36] local.INFO: IMEI packet received {"connection_id":163565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 07:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":163565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 07:50:37] local.INFO: TCP Data received {"connection_id":163565,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a04627eda8012d34c14006aa4840000a00e62b..."} 
[2026-08-28 07:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04627eda8012d34c14006aa4840000a00e62b..."} 
[2026-08-28 07:50:37] local.INFO: Processing buffer {"connection_id":163565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04627eda8012d34c14006aa4840000a00e62b..."} 
[2026-08-28 07:50:37] local.INFO: Packet analysis {"connection_id":163565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04627"} 
[2026-08-28 07:50:37] local.INFO: Extracted packet for processing {"connection_id":163565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04627"} 
[2026-08-28 07:50:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07: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-28 07:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698077696001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787883417000,"timestamp_ms":1787883417000,"timestamp_seconds":1787883417,"priority":1,"record_length":96,"hex_timestamp":"000001a04627eda8"} 
[2026-08-28 07: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-28 07:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-28 07:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07: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-28 07: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-28 07:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698077696001,"66":25212,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698077696001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:50:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:50:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:50: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-28 07:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698077696001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:50:37] 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":706689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:50:37] local.INFO: GPS data processed {"connection_id":163565,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:50:37] local.INFO: Acknowledgment sent {"connection_id":163565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:51:09] local.INFO: TCP Data received {"connection_id":163565,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a04627eda8012d34c14006aa4840000a00e62b..."} 
[2026-08-28 07:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04627eda8012d34c14006aa4840000a00e62b..."} 
[2026-08-28 07:51:09] local.INFO: Processing buffer {"connection_id":163565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04627eda8012d34c14006aa4840000a00e62b..."} 
[2026-08-28 07:51:09] local.INFO: Packet analysis {"connection_id":163565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04627"} 
[2026-08-28 07:51:09] local.INFO: Extracted packet for processing {"connection_id":163565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04627"} 
[2026-08-28 07:51:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698077696001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:51:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:51:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787883417000,"timestamp_ms":1787883417000,"timestamp_seconds":1787883417,"priority":1,"record_length":96,"hex_timestamp":"000001a04627eda8"} 
[2026-08-28 07:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:51:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-28 07:51:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:51:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:51:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698077696001,"66":25212,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698077696001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:51:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:51:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:51: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-28 07:51:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698077696001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:51:09] 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":706690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:51:09] local.INFO: GPS data processed {"connection_id":163565,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:51:09] local.INFO: Acknowledgment sent {"connection_id":163565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:51:37] local.INFO: TCP Data received {"connection_id":165912,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:51:37] local.INFO: Processing buffer {"connection_id":165912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:51:37] local.INFO: IMEI packet received {"connection_id":165912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 07:51:37] local.INFO: IMEI acknowledgment sent {"connection_id":165912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:51:41] local.INFO: TCP Data received {"connection_id":165912,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:51:41] local.INFO: Processing buffer {"connection_id":165912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:51:41] local.INFO: IMEI packet received {"connection_id":165912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 07:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":165912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 07:51:42] local.INFO: TCP Data received {"connection_id":165912,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a04627eda8012d34c14006aa4840000a00e62b..."} 
[2026-08-28 07:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04627eda8012d34c14006aa4840000a00e62b..."} 
[2026-08-28 07:51:42] local.INFO: Processing buffer {"connection_id":165912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04627eda8012d34c14006aa4840000a00e62b..."} 
[2026-08-28 07:51:42] local.INFO: Packet analysis {"connection_id":165912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04627"} 
[2026-08-28 07:51:42] local.INFO: Extracted packet for processing {"connection_id":165912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04627"} 
[2026-08-28 07:51:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07: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-28 07:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698077696001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:51:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07: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-28 07:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787883417000,"timestamp_ms":1787883417000,"timestamp_seconds":1787883417,"priority":1,"record_length":96,"hex_timestamp":"000001a04627eda8"} 
[2026-08-28 07: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-28 07:51:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07: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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-28 07:51:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07: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-28 07: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-28 07:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:51: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-28 07:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698077696001,"66":25212,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698077696001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:51:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:51:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07: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-28 07:51:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698077696001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:51:43] local.INFO: DEBUG: GPS processor result {"connection_id":165912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:51:43] local.INFO: GPS data processed {"connection_id":165912,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:51:43] local.INFO: Acknowledgment sent {"connection_id":165912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:51:47] local.INFO: TCP Data received {"connection_id":165912,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a04627eda8012d34c14006aa4840000a00e62b..."} 
[2026-08-28 07:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04627eda8012d34c14006aa4840000a00e62b..."} 
[2026-08-28 07:51:47] local.INFO: Processing buffer {"connection_id":165912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04627eda8012d34c14006aa4840000a00e62b..."} 
[2026-08-28 07:51:47] local.INFO: Packet analysis {"connection_id":165912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04627"} 
[2026-08-28 07:51:47] local.INFO: Extracted packet for processing {"connection_id":165912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04627"} 
[2026-08-28 07:51:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07: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-28 07:51:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698077696001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:51:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:51:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07: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-28 07:51:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787883417000,"timestamp_ms":1787883417000,"timestamp_seconds":1787883417,"priority":1,"record_length":96,"hex_timestamp":"000001a04627eda8"} 
[2026-08-28 07: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-28 07:51:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07: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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-28 07:51:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07: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-28 07: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-28 07:51:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:51:47] local.INFO: Teltonika packet parsed successfully {"connection_id":165912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:51:47] local.INFO: Passing IMEI to GPS processor {"connection_id":165912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:51:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":165912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:51: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-28 07:51:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:51:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:51:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698077696001,"66":25212,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:51:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:51:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:51:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698077696001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:51:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:51:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07: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-28 07:51:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:51:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698077696001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:51:47] local.INFO: DEBUG: GPS processor result {"connection_id":165912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:51:47] local.INFO: GPS data processed {"connection_id":165912,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:51:47] local.INFO: Acknowledgment sent {"connection_id":165912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:52:31] local.INFO: TCP Data received {"connection_id":163298,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:52:31] local.INFO: Processing buffer {"connection_id":163298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:52:31] local.INFO: IMEI packet received {"connection_id":163298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 07:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":163298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:52:36] local.INFO: TCP Data received {"connection_id":163298,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:52:36] local.INFO: Processing buffer {"connection_id":163298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:52:36] local.INFO: IMEI packet received {"connection_id":163298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 07:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":163298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 07:52:37] local.INFO: TCP Data received {"connection_id":163298,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0462c8570012d34c14006aa4840000e00e628..."} 
[2026-08-28 07:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0462c8570012d34c14006aa4840000e00e628..."} 
[2026-08-28 07:52:37] local.INFO: Processing buffer {"connection_id":163298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0462c8570012d34c14006aa4840000e00e628..."} 
[2026-08-28 07:52:37] local.INFO: Packet analysis {"connection_id":163298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0462c"} 
[2026-08-28 07:52:37] local.INFO: Extracted packet for processing {"connection_id":163298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0462c"} 
[2026-08-28 07:52:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698154752001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787883718000,"timestamp_ms":1787883718000,"timestamp_seconds":1787883718,"priority":1,"record_length":96,"hex_timestamp":"000001a0462c8570"} 
[2026-08-28 07:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 07:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698154752001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698154752001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:52:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:52:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:52: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-28 07:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698154752001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":163298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:52:37] local.INFO: GPS data processed {"connection_id":163298,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:52:37] local.INFO: Acknowledgment sent {"connection_id":163298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:53:09] local.INFO: TCP Data received {"connection_id":163298,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0462c8570012d34c14006aa4840000e00e628..."} 
[2026-08-28 07:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0462c8570012d34c14006aa4840000e00e628..."} 
[2026-08-28 07:53:09] local.INFO: Processing buffer {"connection_id":163298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0462c8570012d34c14006aa4840000e00e628..."} 
[2026-08-28 07:53:09] local.INFO: Packet analysis {"connection_id":163298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0462c"} 
[2026-08-28 07:53:09] local.INFO: Extracted packet for processing {"connection_id":163298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0462c"} 
[2026-08-28 07:53:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698154752001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:53:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:53:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787883718000,"timestamp_ms":1787883718000,"timestamp_seconds":1787883718,"priority":1,"record_length":96,"hex_timestamp":"000001a0462c8570"} 
[2026-08-28 07:53:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:53:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 07:53:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:53:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:53:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:53:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698154752001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698154752001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:53:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:53:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:53: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-28 07:53:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698154752001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":163298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:53:09] local.INFO: GPS data processed {"connection_id":163298,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:53:09] local.INFO: Acknowledgment sent {"connection_id":163298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:53:27] local.INFO: TCP Data received {"connection_id":165913,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 07:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165913,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 07:53:27] local.INFO: Processing buffer {"connection_id":165913,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 07:53:27] local.INFO: IMEI packet received {"connection_id":165913,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 07:53:27] local.INFO: IMEI acknowledgment sent {"connection_id":165913,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:53:31] local.INFO: TCP Data received {"connection_id":163299,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:53:31] local.INFO: Processing buffer {"connection_id":163299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:53:31] local.INFO: IMEI packet received {"connection_id":163299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 07:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":163299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:53:36] local.INFO: TCP Data received {"connection_id":163299,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:53:36] local.INFO: Processing buffer {"connection_id":163299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:53:36] local.INFO: IMEI packet received {"connection_id":163299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 07:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":163299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 07:53:37] local.INFO: TCP Data received {"connection_id":163299,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0462c8570012d34c14006aa4840000e00e628..."} 
[2026-08-28 07:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0462c8570012d34c14006aa4840000e00e628..."} 
[2026-08-28 07:53:37] local.INFO: Processing buffer {"connection_id":163299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0462c8570012d34c14006aa4840000e00e628..."} 
[2026-08-28 07:53:37] local.INFO: Packet analysis {"connection_id":163299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0462c"} 
[2026-08-28 07:53:37] local.INFO: Extracted packet for processing {"connection_id":163299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0462c"} 
[2026-08-28 07:53:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698154752001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787883718000,"timestamp_ms":1787883718000,"timestamp_seconds":1787883718,"priority":1,"record_length":96,"hex_timestamp":"000001a0462c8570"} 
[2026-08-28 07:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 07:53:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698154752001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698154752001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:53:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:53:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:53: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-28 07:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698154752001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":163299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:53:37] local.INFO: GPS data processed {"connection_id":163299,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:53:37] local.INFO: Acknowledgment sent {"connection_id":163299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:54:08] local.INFO: TCP Data received {"connection_id":163299,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0462c8570012d34c14006aa4840000e00e628..."} 
[2026-08-28 07:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0462c8570012d34c14006aa4840000e00e628..."} 
[2026-08-28 07:54:08] local.INFO: Processing buffer {"connection_id":163299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0462c8570012d34c14006aa4840000e00e628..."} 
[2026-08-28 07:54:08] local.INFO: Packet analysis {"connection_id":163299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0462c"} 
[2026-08-28 07:54:08] local.INFO: Extracted packet for processing {"connection_id":163299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0462c"} 
[2026-08-28 07:54:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698154752001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:54:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:54:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787883718000,"timestamp_ms":1787883718000,"timestamp_seconds":1787883718,"priority":1,"record_length":96,"hex_timestamp":"000001a0462c8570"} 
[2026-08-28 07:54:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:54:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 07:54:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:54:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:54:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:54:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698154752001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698154752001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:54:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:54:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:54: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-28 07:54:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698154752001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:54:09] local.INFO: DEBUG: GPS processor result {"connection_id":163299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:54:09] local.INFO: GPS data processed {"connection_id":163299,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:54:09] local.INFO: Acknowledgment sent {"connection_id":163299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:54:31] local.INFO: TCP Data received {"connection_id":164562,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:54:31] local.INFO: Processing buffer {"connection_id":164562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:54:31] local.INFO: IMEI packet received {"connection_id":164562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 07:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":164562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:54:36] local.INFO: TCP Data received {"connection_id":164562,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:54:36] local.INFO: Processing buffer {"connection_id":164562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:54:36] local.INFO: IMEI packet received {"connection_id":164562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 07:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":164562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 07:54:37] local.INFO: TCP Data received {"connection_id":164562,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0462c8570012d34c14006aa4840000e00e628..."} 
[2026-08-28 07:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0462c8570012d34c14006aa4840000e00e628..."} 
[2026-08-28 07:54:37] local.INFO: Processing buffer {"connection_id":164562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0462c8570012d34c14006aa4840000e00e628..."} 
[2026-08-28 07:54:37] local.INFO: Packet analysis {"connection_id":164562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0462c"} 
[2026-08-28 07:54:37] local.INFO: Extracted packet for processing {"connection_id":164562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0462c"} 
[2026-08-28 07:54:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698154752001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787883718000,"timestamp_ms":1787883718000,"timestamp_seconds":1787883718,"priority":1,"record_length":96,"hex_timestamp":"000001a0462c8570"} 
[2026-08-28 07:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 07:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:54:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698154752001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698154752001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:54:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:54:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:54: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-28 07:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698154752001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":164562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:54:37] local.INFO: GPS data processed {"connection_id":164562,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:54:37] local.INFO: Acknowledgment sent {"connection_id":164562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:55:09] local.INFO: TCP Data received {"connection_id":164562,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0462c8570012d34c14006aa4840000e00e628..."} 
[2026-08-28 07:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0462c8570012d34c14006aa4840000e00e628..."} 
[2026-08-28 07:55:09] local.INFO: Processing buffer {"connection_id":164562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0462c8570012d34c14006aa4840000e00e628..."} 
[2026-08-28 07:55:09] local.INFO: Packet analysis {"connection_id":164562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0462c"} 
[2026-08-28 07:55:09] local.INFO: Extracted packet for processing {"connection_id":164562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0462c"} 
[2026-08-28 07:55:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:55:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698154752001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:55:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:55:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787883718000,"timestamp_ms":1787883718000,"timestamp_seconds":1787883718,"priority":1,"record_length":96,"hex_timestamp":"000001a0462c8570"} 
[2026-08-28 07:55:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:55:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:55:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 07:55:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:55:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:55:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:55:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698154752001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698154752001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:55:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:55:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:55: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-28 07:55:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698154752001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:55:09] local.INFO: DEBUG: GPS processor result {"connection_id":164562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:55:09] local.INFO: GPS data processed {"connection_id":164562,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:55:09] local.INFO: Acknowledgment sent {"connection_id":164562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:55:31] local.INFO: TCP Data received {"connection_id":163566,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:55:31] local.INFO: Processing buffer {"connection_id":163566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:55:31] local.INFO: IMEI packet received {"connection_id":163566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 07:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":163566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:55:37] local.INFO: TCP Data received {"connection_id":163566,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:55:37] local.INFO: Processing buffer {"connection_id":163566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:55:37] local.INFO: IMEI packet received {"connection_id":163566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 07:55:37] local.INFO: IMEI acknowledgment sent {"connection_id":163566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 07:55:38] local.INFO: TCP Data received {"connection_id":163566,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0462c8570012d34c14006aa4840000e00e628..."} 
[2026-08-28 07:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0462c8570012d34c14006aa4840000e00e628..."} 
[2026-08-28 07:55:38] local.INFO: Processing buffer {"connection_id":163566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0462c8570012d34c14006aa4840000e00e628..."} 
[2026-08-28 07:55:38] local.INFO: Packet analysis {"connection_id":163566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0462c"} 
[2026-08-28 07:55:38] local.INFO: Extracted packet for processing {"connection_id":163566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0462c"} 
[2026-08-28 07:55:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698154752001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:55:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787883718000,"timestamp_ms":1787883718000,"timestamp_seconds":1787883718,"priority":1,"record_length":96,"hex_timestamp":"000001a0462c8570"} 
[2026-08-28 07:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 07:55:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:55:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:55:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698154752001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698154752001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:55:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:55:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:55: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-28 07:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698154752001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:55:38] 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":706699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:55:38] local.INFO: GPS data processed {"connection_id":163566,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:55:38] local.INFO: Acknowledgment sent {"connection_id":163566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:56:09] local.INFO: TCP Data received {"connection_id":163566,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0462c8570012d34c14006aa4840000e00e628..."} 
[2026-08-28 07:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0462c8570012d34c14006aa4840000e00e628..."} 
[2026-08-28 07:56:09] local.INFO: Processing buffer {"connection_id":163566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0462c8570012d34c14006aa4840000e00e628..."} 
[2026-08-28 07:56:09] local.INFO: Packet analysis {"connection_id":163566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0462c"} 
[2026-08-28 07:56:09] local.INFO: Extracted packet for processing {"connection_id":163566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0462c"} 
[2026-08-28 07:56:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698154752001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:56:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:56:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787883718000,"timestamp_ms":1787883718000,"timestamp_seconds":1787883718,"priority":1,"record_length":96,"hex_timestamp":"000001a0462c8570"} 
[2026-08-28 07:56:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:56:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 07:56:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:56:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:56:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:56:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698154752001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698154752001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:56:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:56:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:56: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-28 07:56:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698154752001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:56:09] 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":706700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:56:09] local.INFO: GPS data processed {"connection_id":163566,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:56:09] local.INFO: Acknowledgment sent {"connection_id":163566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:56:31] local.INFO: TCP Data received {"connection_id":163567,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:56:31] local.INFO: Processing buffer {"connection_id":163567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:56:31] local.INFO: IMEI packet received {"connection_id":163567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 07:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":163567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:56:36] local.INFO: TCP Data received {"connection_id":163567,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:56:36] local.INFO: Processing buffer {"connection_id":163567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:56:36] local.INFO: IMEI packet received {"connection_id":163567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 07:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":163567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 07:56:45] local.INFO: TCP Data received {"connection_id":163567,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0462c8570012d34c14006aa4840000e00e628..."} 
[2026-08-28 07:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0462c8570012d34c14006aa4840000e00e628..."} 
[2026-08-28 07:56:45] local.INFO: Processing buffer {"connection_id":163567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0462c8570012d34c14006aa4840000e00e628..."} 
[2026-08-28 07:56:45] local.INFO: Packet analysis {"connection_id":163567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0462c"} 
[2026-08-28 07:56:45] local.INFO: Extracted packet for processing {"connection_id":163567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0462c"} 
[2026-08-28 07:56:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:56:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:56:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698154752001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:56:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:56:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:56: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-28 07:56:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787883718000,"timestamp_ms":1787883718000,"timestamp_seconds":1787883718,"priority":1,"record_length":96,"hex_timestamp":"000001a0462c8570"} 
[2026-08-28 07:56:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:56:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:56:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 07:56:45] 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-28 07:56:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:56:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:56:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:56:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:56:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:56:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:56:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:56:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:56:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:56:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698154752001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:56:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:56:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:56:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698154752001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:56:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:56:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:56: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-28 07:56:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:56:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698154752001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:56:45] 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":706701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:56:45] local.INFO: GPS data processed {"connection_id":163567,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:56:45] local.INFO: Acknowledgment sent {"connection_id":163567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:57:16] local.INFO: TCP Data received {"connection_id":163567,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0462c8570012d34c14006aa4840000e00e628..."} 
[2026-08-28 07:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0462c8570012d34c14006aa4840000e00e628..."} 
[2026-08-28 07:57:16] local.INFO: Processing buffer {"connection_id":163567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0462c8570012d34c14006aa4840000e00e628..."} 
[2026-08-28 07:57:16] local.INFO: Packet analysis {"connection_id":163567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0462c"} 
[2026-08-28 07:57:16] local.INFO: Extracted packet for processing {"connection_id":163567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0462c"} 
[2026-08-28 07:57:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07: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-28 07:57:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698154752001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:57:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:57:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07: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-28 07:57:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787883718000,"timestamp_ms":1787883718000,"timestamp_seconds":1787883718,"priority":1,"record_length":96,"hex_timestamp":"000001a0462c8570"} 
[2026-08-28 07: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-28 07:57:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 07:57:16] 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-28 07: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-28 07: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-28 07:57:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:57:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:57:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:57:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:57: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-28 07:57:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:57:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:57:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698154752001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:57:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:57:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:57:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698154752001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:57:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:57:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07: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-28 07:57:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:57:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698154752001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:57:16] 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":706702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:57:16] local.INFO: GPS data processed {"connection_id":163567,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:57:16] local.INFO: Acknowledgment sent {"connection_id":163567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:57:36] local.INFO: TCP Data received {"connection_id":165914,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:57:36] local.INFO: Processing buffer {"connection_id":165914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:57:36] local.INFO: IMEI packet received {"connection_id":165914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 07:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":165914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:57:37] local.INFO: TCP Data received {"connection_id":165914,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:57:37] local.INFO: Processing buffer {"connection_id":165914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:57:37] local.INFO: IMEI packet received {"connection_id":165914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 07:57:37] local.INFO: IMEI acknowledgment sent {"connection_id":165914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 07:57:38] local.INFO: TCP Data received {"connection_id":165914,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a046311d38012d34c14006aa4840001100e62c..."} 
[2026-08-28 07:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046311d38012d34c14006aa4840001100e62c..."} 
[2026-08-28 07:57:38] local.INFO: Processing buffer {"connection_id":165914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046311d38012d34c14006aa4840001100e62c..."} 
[2026-08-28 07:57:38] local.INFO: Packet analysis {"connection_id":165914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04631"} 
[2026-08-28 07:57:38] local.INFO: Extracted packet for processing {"connection_id":165914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04631"} 
[2026-08-28 07:57:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698231808001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:57:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787884019000,"timestamp_ms":1787884019000,"timestamp_seconds":1787884019,"priority":1,"record_length":96,"hex_timestamp":"000001a046311d38"} 
[2026-08-28 07:57:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:57:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 07:57:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:57:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:57:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":165914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":165914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":165914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:57:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698231808001,"66":25212,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698231808001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:57:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:57:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07: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-28 07:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698231808001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":165914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:57:38] local.INFO: GPS data processed {"connection_id":165914,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:57:38] local.INFO: Acknowledgment sent {"connection_id":165914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:57:42] local.INFO: TCP Data received {"connection_id":165914,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a046311d38012d34c14006aa4840001100e62c..."} 
[2026-08-28 07:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046311d38012d34c14006aa4840001100e62c..."} 
[2026-08-28 07:57:42] local.INFO: Processing buffer {"connection_id":165914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046311d38012d34c14006aa4840001100e62c..."} 
[2026-08-28 07:57:42] local.INFO: Packet analysis {"connection_id":165914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04631"} 
[2026-08-28 07:57:42] local.INFO: Extracted packet for processing {"connection_id":165914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04631"} 
[2026-08-28 07:57:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07: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-28 07:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698231808001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:57:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07: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-28 07:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787884019000,"timestamp_ms":1787884019000,"timestamp_seconds":1787884019,"priority":1,"record_length":96,"hex_timestamp":"000001a046311d38"} 
[2026-08-28 07: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-28 07:57:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07: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-28 07: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-28 07: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-28 07: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-28 07:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:57:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698231808001,"66":25212,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698231808001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:57:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:57:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07: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-28 07:57:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698231808001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":165914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:57:42] local.INFO: GPS data processed {"connection_id":165914,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:57:42] local.INFO: Acknowledgment sent {"connection_id":165914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:58:13] local.INFO: TCP Data received {"connection_id":165914,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a046311d38012d34c14006aa4840001100e62c..."} 
[2026-08-28 07:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046311d38012d34c14006aa4840001100e62c..."} 
[2026-08-28 07:58:13] local.INFO: Processing buffer {"connection_id":165914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046311d38012d34c14006aa4840001100e62c..."} 
[2026-08-28 07:58:13] local.INFO: Packet analysis {"connection_id":165914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04631"} 
[2026-08-28 07:58:13] local.INFO: Extracted packet for processing {"connection_id":165914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04631"} 
[2026-08-28 07:58:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07: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-28 07:58:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698231808001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:58:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:58:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07: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-28 07:58:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787884019000,"timestamp_ms":1787884019000,"timestamp_seconds":1787884019,"priority":1,"record_length":96,"hex_timestamp":"000001a046311d38"} 
[2026-08-28 07: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-28 07:58:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07: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-28 07: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-28 07: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-28 07: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-28 07:58:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:58:13] local.INFO: Teltonika packet parsed successfully {"connection_id":165914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:58:13] local.INFO: Passing IMEI to GPS processor {"connection_id":165914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:58:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":165914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:58:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:58:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:58:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:58:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698231808001,"66":25212,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:58:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:58:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:58:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698231808001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:58:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:58:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07: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-28 07:58:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:58:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698231808001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:58:13] local.INFO: DEBUG: GPS processor result {"connection_id":165914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:58:13] local.INFO: GPS data processed {"connection_id":165914,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:58:13] local.INFO: Acknowledgment sent {"connection_id":165914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:58:31] local.INFO: TCP Data received {"connection_id":163568,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:58:31] local.INFO: Processing buffer {"connection_id":163568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:58:31] local.INFO: IMEI packet received {"connection_id":163568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 07:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":163568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:58:36] local.INFO: TCP Data received {"connection_id":163568,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:58:36] local.INFO: Processing buffer {"connection_id":163568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:58:36] local.INFO: IMEI packet received {"connection_id":163568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 07:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":163568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 07:58:37] local.INFO: TCP Data received {"connection_id":163568,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a046311d38012d34c14006aa4840001100e62c..."} 
[2026-08-28 07:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046311d38012d34c14006aa4840001100e62c..."} 
[2026-08-28 07:58:37] local.INFO: Processing buffer {"connection_id":163568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046311d38012d34c14006aa4840001100e62c..."} 
[2026-08-28 07:58:37] local.INFO: Packet analysis {"connection_id":163568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04631"} 
[2026-08-28 07:58:37] local.INFO: Extracted packet for processing {"connection_id":163568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04631"} 
[2026-08-28 07:58:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698231808001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787884019000,"timestamp_ms":1787884019000,"timestamp_seconds":1787884019,"priority":1,"record_length":96,"hex_timestamp":"000001a046311d38"} 
[2026-08-28 07:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 07:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698231808001,"66":25212,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698231808001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:58:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:58:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:58: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-28 07:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698231808001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":163568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:58:37] local.INFO: GPS data processed {"connection_id":163568,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:58:37] local.INFO: Acknowledgment sent {"connection_id":163568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:59:02] local.INFO: TCP Data received {"connection_id":165915,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 07:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165915,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 07:59:02] local.INFO: Processing buffer {"connection_id":165915,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 07:59:02] local.INFO: IMEI packet received {"connection_id":165915,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 07:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":165915,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:59:09] local.INFO: TCP Data received {"connection_id":163568,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a046311d38012d34c14006aa4840001100e62c..."} 
[2026-08-28 07:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046311d38012d34c14006aa4840001100e62c..."} 
[2026-08-28 07:59:09] local.INFO: Processing buffer {"connection_id":163568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046311d38012d34c14006aa4840001100e62c..."} 
[2026-08-28 07:59:09] local.INFO: Packet analysis {"connection_id":163568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04631"} 
[2026-08-28 07:59:09] local.INFO: Extracted packet for processing {"connection_id":163568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04631"} 
[2026-08-28 07:59:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07: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-28 07:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698231808001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:59:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787884019000,"timestamp_ms":1787884019000,"timestamp_seconds":1787884019,"priority":1,"record_length":96,"hex_timestamp":"000001a046311d38"} 
[2026-08-28 07: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-28 07:59:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 07:59:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07: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-28 07: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-28 07:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:59:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698231808001,"66":25212,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698231808001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:59:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:59:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07: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-28 07:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698231808001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":163568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:59:09] local.INFO: GPS data processed {"connection_id":163568,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:59:09] local.INFO: Acknowledgment sent {"connection_id":163568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 07:59:31] local.INFO: TCP Data received {"connection_id":164563,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:59:31] local.INFO: Processing buffer {"connection_id":164563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:59:31] local.INFO: IMEI packet received {"connection_id":164563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 07:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":164563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 07:59:36] local.INFO: TCP Data received {"connection_id":164563,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:59:36] local.INFO: Processing buffer {"connection_id":164563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 07:59:36] local.INFO: IMEI packet received {"connection_id":164563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 07:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":164563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 07:59:37] local.INFO: TCP Data received {"connection_id":164563,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a046311d38012d34c14006aa4840001100e62c..."} 
[2026-08-28 07:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046311d38012d34c14006aa4840001100e62c..."} 
[2026-08-28 07:59:37] local.INFO: Processing buffer {"connection_id":164563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046311d38012d34c14006aa4840001100e62c..."} 
[2026-08-28 07:59:37] local.INFO: Packet analysis {"connection_id":164563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04631"} 
[2026-08-28 07:59:37] local.INFO: Extracted packet for processing {"connection_id":164563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04631"} 
[2026-08-28 07:59:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 07:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 07:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698231808001,"note":"Value kept but may cause issues"} 
[2026-08-28 07:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 07:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 07:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 07:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787884019000,"timestamp_ms":1787884019000,"timestamp_seconds":1787884019,"priority":1,"record_length":96,"hex_timestamp":"000001a046311d38"} 
[2026-08-28 07:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 07:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 07:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 07:59:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 07:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 07:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 07:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 07:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 07:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 07:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 07:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 07:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 07:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698231808001,"66":25212,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 07:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 07:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 07:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698231808001,"description":"Unknown IO ID 0"} 
[2026-08-28 07:59:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 07:59:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 07:59: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-28 07:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 07:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698231808001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 07:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":164563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 07:59:37] local.INFO: GPS data processed {"connection_id":164563,"processed":1,"errors":0,"total":1} 
[2026-08-28 07:59:37] local.INFO: Acknowledgment sent {"connection_id":164563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:00:08] local.INFO: TCP Data received {"connection_id":164563,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a046311d38012d34c14006aa4840001100e62c..."} 
[2026-08-28 08:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046311d38012d34c14006aa4840001100e62c..."} 
[2026-08-28 08:00:08] local.INFO: Processing buffer {"connection_id":164563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046311d38012d34c14006aa4840001100e62c..."} 
[2026-08-28 08:00:08] local.INFO: Packet analysis {"connection_id":164563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04631"} 
[2026-08-28 08:00:08] local.INFO: Extracted packet for processing {"connection_id":164563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04631"} 
[2026-08-28 08:00:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:00:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698231808001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:00:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:00:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:00: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-28 08:00:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787884019000,"timestamp_ms":1787884019000,"timestamp_seconds":1787884019,"priority":1,"record_length":96,"hex_timestamp":"000001a046311d38"} 
[2026-08-28 08:00:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:00:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 08:00:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:00:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:00:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:00:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:00:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:00:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:00:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:00:08] 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-28 08:00:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:00:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:00:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698231808001,"66":25212,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:00:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:00:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:00:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698231808001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:00:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:00:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:00: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-28 08:00:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:00:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698231808001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:00:08] local.INFO: DEBUG: GPS processor result {"connection_id":164563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:00:08] local.INFO: GPS data processed {"connection_id":164563,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:00:08] local.INFO: Acknowledgment sent {"connection_id":164563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:00:31] local.INFO: TCP Data received {"connection_id":163569,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:00:31] local.INFO: Processing buffer {"connection_id":163569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:00:31] local.INFO: IMEI packet received {"connection_id":163569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 08:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":163569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 08:00:36] local.INFO: TCP Data received {"connection_id":163569,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:00:36] local.INFO: Processing buffer {"connection_id":163569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:00:36] local.INFO: IMEI packet received {"connection_id":163569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 08:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":163569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 08:00:37] local.INFO: TCP Data received {"connection_id":163569,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a046311d38012d34c14006aa4840001100e62c..."} 
[2026-08-28 08:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046311d38012d34c14006aa4840001100e62c..."} 
[2026-08-28 08:00:37] local.INFO: Processing buffer {"connection_id":163569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046311d38012d34c14006aa4840001100e62c..."} 
[2026-08-28 08:00:37] local.INFO: Packet analysis {"connection_id":163569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04631"} 
[2026-08-28 08:00:37] local.INFO: Extracted packet for processing {"connection_id":163569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04631"} 
[2026-08-28 08:00:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698231808001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787884019000,"timestamp_ms":1787884019000,"timestamp_seconds":1787884019,"priority":1,"record_length":96,"hex_timestamp":"000001a046311d38"} 
[2026-08-28 08:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 08:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698231808001,"66":25212,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698231808001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:00:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:00:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:00: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-28 08:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698231808001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":163569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:00:37] local.INFO: GPS data processed {"connection_id":163569,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:00:37] local.INFO: Acknowledgment sent {"connection_id":163569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:01:08] local.INFO: TCP Data received {"connection_id":163569,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a046311d38012d34c14006aa4840001100e62c..."} 
[2026-08-28 08:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046311d38012d34c14006aa4840001100e62c..."} 
[2026-08-28 08:01:08] local.INFO: Processing buffer {"connection_id":163569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046311d38012d34c14006aa4840001100e62c..."} 
[2026-08-28 08:01:08] local.INFO: Packet analysis {"connection_id":163569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04631"} 
[2026-08-28 08:01:08] local.INFO: Extracted packet for processing {"connection_id":163569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04631"} 
[2026-08-28 08:01:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698231808001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:01:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:01: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-28 08:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787884019000,"timestamp_ms":1787884019000,"timestamp_seconds":1787884019,"priority":1,"record_length":96,"hex_timestamp":"000001a046311d38"} 
[2026-08-28 08:01:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:01:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 08:01:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:01:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:01:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:01:08] 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-28 08:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698231808001,"66":25212,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698231808001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:01:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:01:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:01: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-28 08:01:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698231808001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":163569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:01:08] local.INFO: GPS data processed {"connection_id":163569,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:01:08] local.INFO: Acknowledgment sent {"connection_id":163569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:01:31] local.INFO: TCP Data received {"connection_id":163570,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:01:31] local.INFO: Processing buffer {"connection_id":163570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:01:31] local.INFO: IMEI packet received {"connection_id":163570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 08:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":163570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 08:01:37] local.INFO: TCP Data received {"connection_id":163570,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:01:37] local.INFO: Processing buffer {"connection_id":163570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:01:37] local.INFO: IMEI packet received {"connection_id":163570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 08:01:37] local.INFO: IMEI acknowledgment sent {"connection_id":163570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 08:01:37] local.INFO: TCP Data received {"connection_id":163570,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a046311d38012d34c14006aa4840001100e62c..."} 
[2026-08-28 08:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046311d38012d34c14006aa4840001100e62c..."} 
[2026-08-28 08:01:37] local.INFO: Processing buffer {"connection_id":163570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046311d38012d34c14006aa4840001100e62c..."} 
[2026-08-28 08:01:37] local.INFO: Packet analysis {"connection_id":163570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04631"} 
[2026-08-28 08:01:37] local.INFO: Extracted packet for processing {"connection_id":163570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04631"} 
[2026-08-28 08:01:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698231808001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787884019000,"timestamp_ms":1787884019000,"timestamp_seconds":1787884019,"priority":1,"record_length":96,"hex_timestamp":"000001a046311d38"} 
[2026-08-28 08:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 08:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698231808001,"66":25212,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698231808001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:01:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:01:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:01: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-28 08:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698231808001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:01:37] 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":706712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:01:37] local.INFO: GPS data processed {"connection_id":163570,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:01:37] local.INFO: Acknowledgment sent {"connection_id":163570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:02:09] local.INFO: TCP Data received {"connection_id":163570,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a046311d38012d34c14006aa4840001100e62c..."} 
[2026-08-28 08:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046311d38012d34c14006aa4840001100e62c..."} 
[2026-08-28 08:02:09] local.INFO: Processing buffer {"connection_id":163570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046311d38012d34c14006aa4840001100e62c..."} 
[2026-08-28 08:02:09] local.INFO: Packet analysis {"connection_id":163570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04631"} 
[2026-08-28 08:02:09] local.INFO: Extracted packet for processing {"connection_id":163570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04631"} 
[2026-08-28 08:02:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08: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-28 08:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698231808001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:02:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:02:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787884019000,"timestamp_ms":1787884019000,"timestamp_seconds":1787884019,"priority":1,"record_length":96,"hex_timestamp":"000001a046311d38"} 
[2026-08-28 08: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-28 08:02:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 08:02:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08: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-28 08: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-28 08:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:02:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698231808001,"66":25212,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698231808001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:02:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:02:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08: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-28 08:02:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698231808001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:02:09] 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":706713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:02:09] local.INFO: GPS data processed {"connection_id":163570,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:02:09] local.INFO: Acknowledgment sent {"connection_id":163570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:02:36] local.INFO: TCP Data received {"connection_id":164564,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:02:36] local.INFO: Processing buffer {"connection_id":164564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:02:36] local.INFO: IMEI packet received {"connection_id":164564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 08:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":164564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 08:02:38] local.INFO: TCP Data received {"connection_id":164564,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:02:38] local.INFO: Processing buffer {"connection_id":164564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:02:38] local.INFO: IMEI packet received {"connection_id":164564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 08:02:38] local.INFO: IMEI acknowledgment sent {"connection_id":164564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 08:02:39] local.INFO: TCP Data received {"connection_id":164564,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a04635b500012d34c14006aa4840001100e62c..."} 
[2026-08-28 08:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04635b500012d34c14006aa4840001100e62c..."} 
[2026-08-28 08:02:39] local.INFO: Processing buffer {"connection_id":164564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04635b500012d34c14006aa4840001100e62c..."} 
[2026-08-28 08:02:39] local.INFO: Packet analysis {"connection_id":164564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04635"} 
[2026-08-28 08:02:39] local.INFO: Extracted packet for processing {"connection_id":164564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04635"} 
[2026-08-28 08:02:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:02:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698308864001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:02:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:02:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:02:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:02:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787884320000,"timestamp_ms":1787884320000,"timestamp_seconds":1787884320,"priority":1,"record_length":96,"hex_timestamp":"000001a04635b500"} 
[2026-08-28 08:02:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:02:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 08:02:39] 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-28 08:02:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:02:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:02:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:02:39] local.INFO: Teltonika packet parsed successfully {"connection_id":164564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:02:39] local.INFO: Passing IMEI to GPS processor {"connection_id":164564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:02:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":164564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:02:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:02:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:02:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:02:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698308864001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:02:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:02:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:02:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698308864001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:02:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:02:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:02:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 08:02:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:02:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698308864001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":164564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:02:39] local.INFO: GPS data processed {"connection_id":164564,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:02:39] local.INFO: Acknowledgment sent {"connection_id":164564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:02:41] local.INFO: TCP Data received {"connection_id":164564,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a04635b500012d34c14006aa4840001100e62c..."} 
[2026-08-28 08:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04635b500012d34c14006aa4840001100e62c..."} 
[2026-08-28 08:02:41] local.INFO: Processing buffer {"connection_id":164564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04635b500012d34c14006aa4840001100e62c..."} 
[2026-08-28 08:02:41] local.INFO: Packet analysis {"connection_id":164564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04635"} 
[2026-08-28 08:02:41] local.INFO: Extracted packet for processing {"connection_id":164564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04635"} 
[2026-08-28 08:02:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08: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-28 08:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698308864001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:02:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08: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-28 08:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787884320000,"timestamp_ms":1787884320000,"timestamp_seconds":1787884320,"priority":1,"record_length":96,"hex_timestamp":"000001a04635b500"} 
[2026-08-28 08: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-28 08:02:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 08:02: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-28 08: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-28 08: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-28 08:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":164564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":164564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":164564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:02:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698308864001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698308864001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:02:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:02:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08: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-28 08:02:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698308864001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":164564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:02:41] local.INFO: GPS data processed {"connection_id":164564,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:02:41] local.INFO: Acknowledgment sent {"connection_id":164564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:03:13] local.INFO: TCP Data received {"connection_id":164564,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a04635b500012d34c14006aa4840001100e62c..."} 
[2026-08-28 08:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04635b500012d34c14006aa4840001100e62c..."} 
[2026-08-28 08:03:13] local.INFO: Processing buffer {"connection_id":164564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04635b500012d34c14006aa4840001100e62c..."} 
[2026-08-28 08:03:13] local.INFO: Packet analysis {"connection_id":164564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04635"} 
[2026-08-28 08:03:13] local.INFO: Extracted packet for processing {"connection_id":164564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04635"} 
[2026-08-28 08:03:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08: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-28 08:03:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698308864001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:03:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:03:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08: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-28 08:03:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787884320000,"timestamp_ms":1787884320000,"timestamp_seconds":1787884320,"priority":1,"record_length":96,"hex_timestamp":"000001a04635b500"} 
[2026-08-28 08: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-28 08:03:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 08:03: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-28 08: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-28 08: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-28 08:03:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:03:13] local.INFO: Teltonika packet parsed successfully {"connection_id":164564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:03:13] local.INFO: Passing IMEI to GPS processor {"connection_id":164564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:03:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":164564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:03:13] 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-28 08:03:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:03:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:03:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698308864001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:03:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:03:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:03:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698308864001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:03:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:03:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08: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-28 08:03:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:03:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698308864001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:03:13] local.INFO: DEBUG: GPS processor result {"connection_id":164564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:03:13] local.INFO: GPS data processed {"connection_id":164564,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:03:13] local.INFO: Acknowledgment sent {"connection_id":164564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:03:32] local.INFO: TCP Data received {"connection_id":163301,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:03:32] local.INFO: Processing buffer {"connection_id":163301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:03:32] local.INFO: IMEI packet received {"connection_id":163301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 08:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":163301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 08:03:36] local.INFO: TCP Data received {"connection_id":163301,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:03:36] local.INFO: Processing buffer {"connection_id":163301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:03:36] local.INFO: IMEI packet received {"connection_id":163301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 08:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":163301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 08:03:37] local.INFO: TCP Data received {"connection_id":163301,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a04635b500012d34c14006aa4840001100e62c..."} 
[2026-08-28 08:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04635b500012d34c14006aa4840001100e62c..."} 
[2026-08-28 08:03:37] local.INFO: Processing buffer {"connection_id":163301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04635b500012d34c14006aa4840001100e62c..."} 
[2026-08-28 08:03:37] local.INFO: Packet analysis {"connection_id":163301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04635"} 
[2026-08-28 08:03:37] local.INFO: Extracted packet for processing {"connection_id":163301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04635"} 
[2026-08-28 08:03:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698308864001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:03:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787884320000,"timestamp_ms":1787884320000,"timestamp_seconds":1787884320,"priority":1,"record_length":96,"hex_timestamp":"000001a04635b500"} 
[2026-08-28 08:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 08:03:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:03:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698308864001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698308864001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:03:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:03:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:03: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-28 08:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698308864001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":163301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:03:37] local.INFO: GPS data processed {"connection_id":163301,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:03:37] local.INFO: Acknowledgment sent {"connection_id":163301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:04:08] local.INFO: TCP Data received {"connection_id":163301,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a04635b500012d34c14006aa4840001100e62c..."} 
[2026-08-28 08:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04635b500012d34c14006aa4840001100e62c..."} 
[2026-08-28 08:04:08] local.INFO: Processing buffer {"connection_id":163301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04635b500012d34c14006aa4840001100e62c..."} 
[2026-08-28 08:04:08] local.INFO: Packet analysis {"connection_id":163301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04635"} 
[2026-08-28 08:04:08] local.INFO: Extracted packet for processing {"connection_id":163301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04635"} 
[2026-08-28 08:04:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698308864001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:04:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787884320000,"timestamp_ms":1787884320000,"timestamp_seconds":1787884320,"priority":1,"record_length":96,"hex_timestamp":"000001a04635b500"} 
[2026-08-28 08:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:04:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 08:04:08] 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-28 08:04:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:04:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698308864001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698308864001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:04:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:04:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:04: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-28 08:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698308864001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":163301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:04:09] local.INFO: GPS data processed {"connection_id":163301,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:04:09] local.INFO: Acknowledgment sent {"connection_id":163301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:04:31] local.INFO: TCP Data received {"connection_id":164565,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:04:31] local.INFO: Processing buffer {"connection_id":164565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:04:31] local.INFO: IMEI packet received {"connection_id":164565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 08:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":164565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 08:04:36] local.INFO: TCP Data received {"connection_id":164565,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:04:36] local.INFO: Processing buffer {"connection_id":164565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:04:36] local.INFO: IMEI packet received {"connection_id":164565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 08:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":164565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 08:04:37] local.INFO: TCP Data received {"connection_id":164565,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a04635b500012d34c14006aa4840001100e62c..."} 
[2026-08-28 08:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04635b500012d34c14006aa4840001100e62c..."} 
[2026-08-28 08:04:37] local.INFO: Processing buffer {"connection_id":164565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04635b500012d34c14006aa4840001100e62c..."} 
[2026-08-28 08:04:37] local.INFO: Packet analysis {"connection_id":164565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04635"} 
[2026-08-28 08:04:37] local.INFO: Extracted packet for processing {"connection_id":164565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04635"} 
[2026-08-28 08:04:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698308864001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787884320000,"timestamp_ms":1787884320000,"timestamp_seconds":1787884320,"priority":1,"record_length":96,"hex_timestamp":"000001a04635b500"} 
[2026-08-28 08:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 08:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698308864001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698308864001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:04:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:04:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:04: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-28 08:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698308864001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":164565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:04:37] local.INFO: GPS data processed {"connection_id":164565,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:04:37] local.INFO: Acknowledgment sent {"connection_id":164565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:04:37] local.INFO: TCP Data received {"connection_id":163300,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 08:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163300,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 08:04:37] local.INFO: Processing buffer {"connection_id":163300,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 08:04:37] local.INFO: IMEI packet received {"connection_id":163300,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 08:04:37] local.INFO: IMEI acknowledgment sent {"connection_id":163300,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 08:05:09] local.INFO: TCP Data received {"connection_id":164565,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a04635b500012d34c14006aa4840001100e62c..."} 
[2026-08-28 08:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04635b500012d34c14006aa4840001100e62c..."} 
[2026-08-28 08:05:09] local.INFO: Processing buffer {"connection_id":164565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04635b500012d34c14006aa4840001100e62c..."} 
[2026-08-28 08:05:09] local.INFO: Packet analysis {"connection_id":164565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04635"} 
[2026-08-28 08:05:09] local.INFO: Extracted packet for processing {"connection_id":164565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04635"} 
[2026-08-28 08:05:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698308864001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:05:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:05:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:05:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:05:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787884320000,"timestamp_ms":1787884320000,"timestamp_seconds":1787884320,"priority":1,"record_length":96,"hex_timestamp":"000001a04635b500"} 
[2026-08-28 08:05:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:05:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 08:05:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:05:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:05:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:05:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:05:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:05:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:05:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:05:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:05:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:05:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:05:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698308864001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:05:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:05:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:05:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698308864001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:05:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:05:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:05: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-28 08:05:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:05:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698308864001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:05:09] local.INFO: DEBUG: GPS processor result {"connection_id":164565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:05:09] local.INFO: GPS data processed {"connection_id":164565,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:05:09] local.INFO: Acknowledgment sent {"connection_id":164565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:05:31] local.INFO: TCP Data received {"connection_id":163302,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:05:31] local.INFO: Processing buffer {"connection_id":163302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:05:31] local.INFO: IMEI packet received {"connection_id":163302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 08:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":163302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 08:05:37] local.INFO: TCP Data received {"connection_id":163302,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:05:37] local.INFO: Processing buffer {"connection_id":163302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:05:37] local.INFO: IMEI packet received {"connection_id":163302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 08:05:37] local.INFO: IMEI acknowledgment sent {"connection_id":163302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 08:05:38] local.INFO: TCP Data received {"connection_id":163302,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a04635b500012d34c14006aa4840001100e62c..."} 
[2026-08-28 08:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04635b500012d34c14006aa4840001100e62c..."} 
[2026-08-28 08:05:38] local.INFO: Processing buffer {"connection_id":163302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04635b500012d34c14006aa4840001100e62c..."} 
[2026-08-28 08:05:38] local.INFO: Packet analysis {"connection_id":163302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04635"} 
[2026-08-28 08:05:38] local.INFO: Extracted packet for processing {"connection_id":163302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04635"} 
[2026-08-28 08:05:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698308864001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:05:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787884320000,"timestamp_ms":1787884320000,"timestamp_seconds":1787884320,"priority":1,"record_length":96,"hex_timestamp":"000001a04635b500"} 
[2026-08-28 08:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:05:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 08:05:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:05:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:05:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698308864001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698308864001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:05:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:05:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:05: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-28 08:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698308864001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":163302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:05:38] local.INFO: GPS data processed {"connection_id":163302,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:05:38] local.INFO: Acknowledgment sent {"connection_id":163302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:06:09] local.INFO: TCP Data received {"connection_id":163302,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a04635b500012d34c14006aa4840001100e62c..."} 
[2026-08-28 08:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04635b500012d34c14006aa4840001100e62c..."} 
[2026-08-28 08:06:09] local.INFO: Processing buffer {"connection_id":163302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04635b500012d34c14006aa4840001100e62c..."} 
[2026-08-28 08:06:09] local.INFO: Packet analysis {"connection_id":163302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04635"} 
[2026-08-28 08:06:09] local.INFO: Extracted packet for processing {"connection_id":163302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04635"} 
[2026-08-28 08:06:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698308864001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:06:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:06:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787884320000,"timestamp_ms":1787884320000,"timestamp_seconds":1787884320,"priority":1,"record_length":96,"hex_timestamp":"000001a04635b500"} 
[2026-08-28 08:06:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:06:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 08:06:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:06:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:06:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:06:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698308864001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698308864001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:06:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:06:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:06: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-28 08:06:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698308864001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:06:09] local.INFO: DEBUG: GPS processor result {"connection_id":163302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:06:09] local.INFO: GPS data processed {"connection_id":163302,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:06:09] local.INFO: Acknowledgment sent {"connection_id":163302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:06:31] local.INFO: TCP Data received {"connection_id":165916,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:06:31] local.INFO: Processing buffer {"connection_id":165916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:06:31] local.INFO: IMEI packet received {"connection_id":165916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 08:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":165916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 08:06:36] local.INFO: TCP Data received {"connection_id":165916,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:06:36] local.INFO: Processing buffer {"connection_id":165916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:06:36] local.INFO: IMEI packet received {"connection_id":165916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 08:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":165916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 08:06:37] local.INFO: TCP Data received {"connection_id":165916,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a04635b500012d34c14006aa4840001100e62c..."} 
[2026-08-28 08:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04635b500012d34c14006aa4840001100e62c..."} 
[2026-08-28 08:06:37] local.INFO: Processing buffer {"connection_id":165916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04635b500012d34c14006aa4840001100e62c..."} 
[2026-08-28 08:06:37] local.INFO: Packet analysis {"connection_id":165916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04635"} 
[2026-08-28 08:06:37] local.INFO: Extracted packet for processing {"connection_id":165916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04635"} 
[2026-08-28 08:06:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698308864001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787884320000,"timestamp_ms":1787884320000,"timestamp_seconds":1787884320,"priority":1,"record_length":96,"hex_timestamp":"000001a04635b500"} 
[2026-08-28 08:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 08:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":165916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":165916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":165916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698308864001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698308864001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:06:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:06:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:06: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-28 08:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698308864001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":165916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:06:37] local.INFO: GPS data processed {"connection_id":165916,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:06:37] local.INFO: Acknowledgment sent {"connection_id":165916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:07:08] local.INFO: TCP Data received {"connection_id":165916,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a04635b500012d34c14006aa4840001100e62c..."} 
[2026-08-28 08:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04635b500012d34c14006aa4840001100e62c..."} 
[2026-08-28 08:07:08] local.INFO: Processing buffer {"connection_id":165916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04635b500012d34c14006aa4840001100e62c..."} 
[2026-08-28 08:07:08] local.INFO: Packet analysis {"connection_id":165916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04635"} 
[2026-08-28 08:07:08] local.INFO: Extracted packet for processing {"connection_id":165916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04635"} 
[2026-08-28 08:07:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698308864001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:07:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787884320000,"timestamp_ms":1787884320000,"timestamp_seconds":1787884320,"priority":1,"record_length":96,"hex_timestamp":"000001a04635b500"} 
[2026-08-28 08:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:07:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 08:07:08] 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-28 08:07:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":165916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":165916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":165916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:07:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698308864001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698308864001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:07:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:07:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:07: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-28 08:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698308864001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":165916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:07:08] local.INFO: GPS data processed {"connection_id":165916,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:07:08] local.INFO: Acknowledgment sent {"connection_id":165916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:07:36] local.INFO: TCP Data received {"connection_id":164566,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:07:36] local.INFO: Processing buffer {"connection_id":164566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:07:36] local.INFO: IMEI packet received {"connection_id":164566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 08:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":164566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 08:07:40] local.INFO: TCP Data received {"connection_id":164566,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:07:40] local.INFO: Processing buffer {"connection_id":164566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:07:40] local.INFO: IMEI packet received {"connection_id":164566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 08:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":164566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 08:07:41] local.INFO: TCP Data received {"connection_id":164566,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0463a4cc8012d34c14006aa4840001100e62b..."} 
[2026-08-28 08:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0463a4cc8012d34c14006aa4840001100e62b..."} 
[2026-08-28 08:07:41] local.INFO: Processing buffer {"connection_id":164566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0463a4cc8012d34c14006aa4840001100e62b..."} 
[2026-08-28 08:07:41] local.INFO: Packet analysis {"connection_id":164566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0463a"} 
[2026-08-28 08:07:41] local.INFO: Extracted packet for processing {"connection_id":164566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0463a"} 
[2026-08-28 08:07:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698385920001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:07:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:07:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787884621000,"timestamp_ms":1787884621000,"timestamp_seconds":1787884621,"priority":1,"record_length":96,"hex_timestamp":"000001a0463a4cc8"} 
[2026-08-28 08:07:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:07:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 08:07: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-28 08:07:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:07:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":164566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":164566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":164566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:07:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698385920001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698385920001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:07:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:07:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:07: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-28 08:07:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698385920001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":164566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:07:41] local.INFO: GPS data processed {"connection_id":164566,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:07:41] local.INFO: Acknowledgment sent {"connection_id":164566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:07:42] local.INFO: TCP Data received {"connection_id":164566,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0463a4cc8012d34c14006aa4840001100e62b..."} 
[2026-08-28 08:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0463a4cc8012d34c14006aa4840001100e62b..."} 
[2026-08-28 08:07:42] local.INFO: Processing buffer {"connection_id":164566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0463a4cc8012d34c14006aa4840001100e62b..."} 
[2026-08-28 08:07:42] local.INFO: Packet analysis {"connection_id":164566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0463a"} 
[2026-08-28 08:07:42] local.INFO: Extracted packet for processing {"connection_id":164566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0463a"} 
[2026-08-28 08:07:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08: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-28 08:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698385920001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:07:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08: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-28 08:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787884621000,"timestamp_ms":1787884621000,"timestamp_seconds":1787884621,"priority":1,"record_length":96,"hex_timestamp":"000001a0463a4cc8"} 
[2026-08-28 08: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-28 08:07:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08: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":211,"data_length":795,"current_offset":136} 
[2026-08-28 08:07: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-28 08: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-28 08: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-28 08:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":164566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":164566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":164566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:07: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-28 08:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698385920001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698385920001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:07:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:07:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08: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-28 08:07:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698385920001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":164566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:07:42] local.INFO: GPS data processed {"connection_id":164566,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:07:42] local.INFO: Acknowledgment sent {"connection_id":164566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:08:13] local.INFO: TCP Data received {"connection_id":164566,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0463a4cc8012d34c14006aa4840001100e62b..."} 
[2026-08-28 08:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0463a4cc8012d34c14006aa4840001100e62b..."} 
[2026-08-28 08:08:13] local.INFO: Processing buffer {"connection_id":164566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0463a4cc8012d34c14006aa4840001100e62b..."} 
[2026-08-28 08:08:13] local.INFO: Packet analysis {"connection_id":164566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0463a"} 
[2026-08-28 08:08:13] local.INFO: Extracted packet for processing {"connection_id":164566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0463a"} 
[2026-08-28 08:08:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08: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-28 08:08:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698385920001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:08:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:08:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08: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-28 08:08:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787884621000,"timestamp_ms":1787884621000,"timestamp_seconds":1787884621,"priority":1,"record_length":96,"hex_timestamp":"000001a0463a4cc8"} 
[2026-08-28 08: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-28 08:08:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08: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":211,"data_length":795,"current_offset":136} 
[2026-08-28 08:08: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-28 08: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-28 08: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-28 08:08:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:08:13] local.INFO: Teltonika packet parsed successfully {"connection_id":164566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:08:13] local.INFO: Passing IMEI to GPS processor {"connection_id":164566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:08:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":164566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:08: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-28 08:08:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:08:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:08:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698385920001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:08:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:08:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:08:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698385920001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:08:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:08:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08: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-28 08:08:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:08:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698385920001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:08:13] local.INFO: DEBUG: GPS processor result {"connection_id":164566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:08:13] local.INFO: GPS data processed {"connection_id":164566,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:08:13] local.INFO: Acknowledgment sent {"connection_id":164566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:08:31] local.INFO: TCP Data received {"connection_id":163572,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:08:31] local.INFO: Processing buffer {"connection_id":163572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:08:31] local.INFO: IMEI packet received {"connection_id":163572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 08:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":163572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 08:08:36] local.INFO: TCP Data received {"connection_id":163572,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:08:36] local.INFO: Processing buffer {"connection_id":163572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:08:36] local.INFO: IMEI packet received {"connection_id":163572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 08:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":163572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 08:08:37] local.INFO: TCP Data received {"connection_id":163572,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0463a4cc8012d34c14006aa4840001100e62b..."} 
[2026-08-28 08:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0463a4cc8012d34c14006aa4840001100e62b..."} 
[2026-08-28 08:08:37] local.INFO: Processing buffer {"connection_id":163572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0463a4cc8012d34c14006aa4840001100e62b..."} 
[2026-08-28 08:08:37] local.INFO: Packet analysis {"connection_id":163572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0463a"} 
[2026-08-28 08:08:37] local.INFO: Extracted packet for processing {"connection_id":163572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0463a"} 
[2026-08-28 08:08:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698385920001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787884621000,"timestamp_ms":1787884621000,"timestamp_seconds":1787884621,"priority":1,"record_length":96,"hex_timestamp":"000001a0463a4cc8"} 
[2026-08-28 08:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 08:08:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:08:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:08:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698385920001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698385920001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:08:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:08:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:08: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-28 08:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698385920001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:08:37] 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":706728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:08:37] local.INFO: GPS data processed {"connection_id":163572,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:08:37] local.INFO: Acknowledgment sent {"connection_id":163572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:09:08] local.INFO: TCP Data received {"connection_id":163572,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0463a4cc8012d34c14006aa4840001100e62b..."} 
[2026-08-28 08:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0463a4cc8012d34c14006aa4840001100e62b..."} 
[2026-08-28 08:09:08] local.INFO: Processing buffer {"connection_id":163572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0463a4cc8012d34c14006aa4840001100e62b..."} 
[2026-08-28 08:09:08] local.INFO: Packet analysis {"connection_id":163572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0463a"} 
[2026-08-28 08:09:08] local.INFO: Extracted packet for processing {"connection_id":163572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0463a"} 
[2026-08-28 08:09:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698385920001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:09: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-28 08:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787884621000,"timestamp_ms":1787884621000,"timestamp_seconds":1787884621,"priority":1,"record_length":96,"hex_timestamp":"000001a0463a4cc8"} 
[2026-08-28 08:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:09:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 08:09:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:09:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:09:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698385920001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698385920001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:09:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:09:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:09: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-28 08:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698385920001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:09:08] 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":706729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:09:08] local.INFO: GPS data processed {"connection_id":163572,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:09:08] local.INFO: Acknowledgment sent {"connection_id":163572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:09:31] local.INFO: TCP Data received {"connection_id":164567,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:09:31] local.INFO: Processing buffer {"connection_id":164567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:09:31] local.INFO: IMEI packet received {"connection_id":164567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 08:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":164567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 08:09:36] local.INFO: TCP Data received {"connection_id":164567,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:09:36] local.INFO: Processing buffer {"connection_id":164567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:09:36] local.INFO: IMEI packet received {"connection_id":164567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 08:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":164567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 08:09:37] local.INFO: TCP Data received {"connection_id":164567,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0463a4cc8012d34c14006aa4840001100e62b..."} 
[2026-08-28 08:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0463a4cc8012d34c14006aa4840001100e62b..."} 
[2026-08-28 08:09:37] local.INFO: Processing buffer {"connection_id":164567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0463a4cc8012d34c14006aa4840001100e62b..."} 
[2026-08-28 08:09:37] local.INFO: Packet analysis {"connection_id":164567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0463a"} 
[2026-08-28 08:09:37] local.INFO: Extracted packet for processing {"connection_id":164567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0463a"} 
[2026-08-28 08:09:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698385920001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787884621000,"timestamp_ms":1787884621000,"timestamp_seconds":1787884621,"priority":1,"record_length":96,"hex_timestamp":"000001a0463a4cc8"} 
[2026-08-28 08:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 08:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698385920001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698385920001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:09:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:09:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:09: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-28 08:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698385920001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":164567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:09:37] local.INFO: GPS data processed {"connection_id":164567,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:09:37] local.INFO: Acknowledgment sent {"connection_id":164567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:10:09] local.INFO: TCP Data received {"connection_id":164567,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0463a4cc8012d34c14006aa4840001100e62b..."} 
[2026-08-28 08:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0463a4cc8012d34c14006aa4840001100e62b..."} 
[2026-08-28 08:10:09] local.INFO: Processing buffer {"connection_id":164567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0463a4cc8012d34c14006aa4840001100e62b..."} 
[2026-08-28 08:10:09] local.INFO: Packet analysis {"connection_id":164567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0463a"} 
[2026-08-28 08:10:09] local.INFO: Extracted packet for processing {"connection_id":164567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0463a"} 
[2026-08-28 08:10:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698385920001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:10:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:10:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787884621000,"timestamp_ms":1787884621000,"timestamp_seconds":1787884621,"priority":1,"record_length":96,"hex_timestamp":"000001a0463a4cc8"} 
[2026-08-28 08:10:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:10:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 08:10:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:10:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:10:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:10:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698385920001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698385920001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:10:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:10:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:10: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-28 08:10:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698385920001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":164567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:10:09] local.INFO: GPS data processed {"connection_id":164567,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:10:09] local.INFO: Acknowledgment sent {"connection_id":164567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:10:12] local.INFO: TCP Data received {"connection_id":163571,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 08:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163571,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 08:10:12] local.INFO: Processing buffer {"connection_id":163571,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 08:10:12] local.INFO: IMEI packet received {"connection_id":163571,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 08:10:12] local.INFO: IMEI acknowledgment sent {"connection_id":163571,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 08:10:31] local.INFO: TCP Data received {"connection_id":163573,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:10:31] local.INFO: Processing buffer {"connection_id":163573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:10:31] local.INFO: IMEI packet received {"connection_id":163573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 08:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":163573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 08:10:36] local.INFO: TCP Data received {"connection_id":163573,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:10:36] local.INFO: Processing buffer {"connection_id":163573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:10:36] local.INFO: IMEI packet received {"connection_id":163573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 08:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":163573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 08:10:37] local.INFO: TCP Data received {"connection_id":163573,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0463a4cc8012d34c14006aa4840001100e62b..."} 
[2026-08-28 08:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0463a4cc8012d34c14006aa4840001100e62b..."} 
[2026-08-28 08:10:37] local.INFO: Processing buffer {"connection_id":163573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0463a4cc8012d34c14006aa4840001100e62b..."} 
[2026-08-28 08:10:37] local.INFO: Packet analysis {"connection_id":163573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0463a"} 
[2026-08-28 08:10:37] local.INFO: Extracted packet for processing {"connection_id":163573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0463a"} 
[2026-08-28 08:10:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698385920001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787884621000,"timestamp_ms":1787884621000,"timestamp_seconds":1787884621,"priority":1,"record_length":96,"hex_timestamp":"000001a0463a4cc8"} 
[2026-08-28 08:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 08:10:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698385920001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698385920001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:10:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:10:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:10: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-28 08:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698385920001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:10:37] 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":706732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:10:37] local.INFO: GPS data processed {"connection_id":163573,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:10:37] local.INFO: Acknowledgment sent {"connection_id":163573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:11:09] local.INFO: TCP Data received {"connection_id":163573,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0463a4cc8012d34c14006aa4840001100e62b..."} 
[2026-08-28 08:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0463a4cc8012d34c14006aa4840001100e62b..."} 
[2026-08-28 08:11:09] local.INFO: Processing buffer {"connection_id":163573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0463a4cc8012d34c14006aa4840001100e62b..."} 
[2026-08-28 08:11:09] local.INFO: Packet analysis {"connection_id":163573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0463a"} 
[2026-08-28 08:11:09] local.INFO: Extracted packet for processing {"connection_id":163573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0463a"} 
[2026-08-28 08:11:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698385920001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:11:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:11:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787884621000,"timestamp_ms":1787884621000,"timestamp_seconds":1787884621,"priority":1,"record_length":96,"hex_timestamp":"000001a0463a4cc8"} 
[2026-08-28 08:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:11:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 08:11:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:11:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:11:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698385920001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698385920001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:11:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:11:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:11: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-28 08:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698385920001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:11:09] 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":706733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:11:09] local.INFO: GPS data processed {"connection_id":163573,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:11:09] local.INFO: Acknowledgment sent {"connection_id":163573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:11:36] local.INFO: TCP Data received {"connection_id":163574,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:11:36] local.INFO: Processing buffer {"connection_id":163574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:11:36] local.INFO: IMEI packet received {"connection_id":163574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 08:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":163574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 08:11:41] local.INFO: TCP Data received {"connection_id":163574,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:11:41] local.INFO: Processing buffer {"connection_id":163574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:11:41] local.INFO: IMEI packet received {"connection_id":163574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 08:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":163574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 08:11:42] local.INFO: TCP Data received {"connection_id":163574,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0463a4cc8012d34c14006aa4840001100e62b..."} 
[2026-08-28 08:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0463a4cc8012d34c14006aa4840001100e62b..."} 
[2026-08-28 08:11:42] local.INFO: Processing buffer {"connection_id":163574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0463a4cc8012d34c14006aa4840001100e62b..."} 
[2026-08-28 08:11:42] local.INFO: Packet analysis {"connection_id":163574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0463a"} 
[2026-08-28 08:11:42] local.INFO: Extracted packet for processing {"connection_id":163574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0463a"} 
[2026-08-28 08:11:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08: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-28 08:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698385920001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:11:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08: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-28 08:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787884621000,"timestamp_ms":1787884621000,"timestamp_seconds":1787884621,"priority":1,"record_length":96,"hex_timestamp":"000001a0463a4cc8"} 
[2026-08-28 08: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-28 08:11:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 08:11:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08: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-28 08: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-28 08:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:11: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-28 08:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698385920001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698385920001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:11:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:11:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08: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-28 08:11:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698385920001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:11:42] 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":706734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:11:42] local.INFO: GPS data processed {"connection_id":163574,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:11:42] local.INFO: Acknowledgment sent {"connection_id":163574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:11:47] local.INFO: TCP Data received {"connection_id":163574,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0463a4cc8012d34c14006aa4840001100e62b..."} 
[2026-08-28 08:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0463a4cc8012d34c14006aa4840001100e62b..."} 
[2026-08-28 08:11:47] local.INFO: Processing buffer {"connection_id":163574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0463a4cc8012d34c14006aa4840001100e62b..."} 
[2026-08-28 08:11:47] local.INFO: Packet analysis {"connection_id":163574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0463a"} 
[2026-08-28 08:11:47] local.INFO: Extracted packet for processing {"connection_id":163574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0463a"} 
[2026-08-28 08:11:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:11:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698385920001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:11:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:11:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:11: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-28 08:11:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787884621000,"timestamp_ms":1787884621000,"timestamp_seconds":1787884621,"priority":1,"record_length":96,"hex_timestamp":"000001a0463a4cc8"} 
[2026-08-28 08:11:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:11:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 08:11: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-28 08:11:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:11:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:11:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:11:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:11:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:11:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:11:47] 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-28 08:11:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:11:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:11:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698385920001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:11:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:11:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:11:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698385920001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:11:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:11:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:11: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-28 08:11:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:11:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698385920001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:11:47] 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":706735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:11:47] local.INFO: GPS data processed {"connection_id":163574,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:11:47] local.INFO: Acknowledgment sent {"connection_id":163574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:12:31] local.INFO: TCP Data received {"connection_id":164568,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:12:31] local.INFO: Processing buffer {"connection_id":164568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:12:31] local.INFO: IMEI packet received {"connection_id":164568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 08:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":164568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 08:12:36] local.INFO: TCP Data received {"connection_id":164568,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:12:36] local.INFO: Processing buffer {"connection_id":164568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:12:36] local.INFO: IMEI packet received {"connection_id":164568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 08:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":164568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 08:12:37] local.INFO: TCP Data received {"connection_id":164568,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0463a4cc8012d34c14006aa4840001100e62b..."} 
[2026-08-28 08:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0463a4cc8012d34c14006aa4840001100e62b..."} 
[2026-08-28 08:12:37] local.INFO: Processing buffer {"connection_id":164568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0463a4cc8012d34c14006aa4840001100e62b..."} 
[2026-08-28 08:12:37] local.INFO: Packet analysis {"connection_id":164568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0463a"} 
[2026-08-28 08:12:37] local.INFO: Extracted packet for processing {"connection_id":164568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0463a"} 
[2026-08-28 08:12:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698385920001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787884621000,"timestamp_ms":1787884621000,"timestamp_seconds":1787884621,"priority":1,"record_length":96,"hex_timestamp":"000001a0463a4cc8"} 
[2026-08-28 08:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 08:12:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:12:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698385920001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698385920001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:12:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:12:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:12: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-28 08:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698385920001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":164568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:12:37] local.INFO: GPS data processed {"connection_id":164568,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:12:37] local.INFO: Acknowledgment sent {"connection_id":164568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:13:14] local.INFO: TCP Data received {"connection_id":164568,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0463ee490012d34c14006aa4840000700e62b..."} 
[2026-08-28 08:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0463ee490012d34c14006aa4840000700e62b..."} 
[2026-08-28 08:13:14] local.INFO: Processing buffer {"connection_id":164568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0463ee490012d34c14006aa4840000700e62b..."} 
[2026-08-28 08:13:14] local.INFO: Packet analysis {"connection_id":164568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0463e"} 
[2026-08-28 08:13:14] local.INFO: Extracted packet for processing {"connection_id":164568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0463e"} 
[2026-08-28 08:13:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08: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-28 08:13:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698462976001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:13:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:13:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08: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-28 08:13:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787884922000,"timestamp_ms":1787884922000,"timestamp_seconds":1787884922,"priority":1,"record_length":96,"hex_timestamp":"000001a0463ee490"} 
[2026-08-28 08: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-28 08:13:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 08:13:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08: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-28 08: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-28 08:13:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:13:14] local.INFO: Teltonika packet parsed successfully {"connection_id":164568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:13:14] local.INFO: Passing IMEI to GPS processor {"connection_id":164568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:13:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":164568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:13: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-28 08:13:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:13:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:13:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698462976001,"66":25212,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:13:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:13:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:13:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698462976001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:13:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:13:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08: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-28 08:13:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:13:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698462976001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:13:14] local.INFO: DEBUG: GPS processor result {"connection_id":164568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:13:14] local.INFO: GPS data processed {"connection_id":164568,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:13:14] local.INFO: Acknowledgment sent {"connection_id":164568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:13:31] local.INFO: TCP Data received {"connection_id":165918,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:13:31] local.INFO: Processing buffer {"connection_id":165918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:13:31] local.INFO: IMEI packet received {"connection_id":165918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 08:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":165918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 08:13:37] local.INFO: TCP Data received {"connection_id":165918,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:13:37] local.INFO: Processing buffer {"connection_id":165918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:13:37] local.INFO: IMEI packet received {"connection_id":165918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 08:13:37] local.INFO: IMEI acknowledgment sent {"connection_id":165918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 08:13:38] local.INFO: TCP Data received {"connection_id":165918,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0463ee490012d34c14006aa4840000700e62b..."} 
[2026-08-28 08:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0463ee490012d34c14006aa4840000700e62b..."} 
[2026-08-28 08:13:38] local.INFO: Processing buffer {"connection_id":165918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0463ee490012d34c14006aa4840000700e62b..."} 
[2026-08-28 08:13:38] local.INFO: Packet analysis {"connection_id":165918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0463e"} 
[2026-08-28 08:13:38] local.INFO: Extracted packet for processing {"connection_id":165918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0463e"} 
[2026-08-28 08:13:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698462976001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:13:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:13:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787884922000,"timestamp_ms":1787884922000,"timestamp_seconds":1787884922,"priority":1,"record_length":96,"hex_timestamp":"000001a0463ee490"} 
[2026-08-28 08:13:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:13:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 08:13:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:13:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:13:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":165918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":165918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":165918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:13:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698462976001,"66":25212,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698462976001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:13:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:13:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:13: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-28 08:13:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698462976001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":165918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:13:38] local.INFO: GPS data processed {"connection_id":165918,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:13:38] local.INFO: Acknowledgment sent {"connection_id":165918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:14:09] local.INFO: TCP Data received {"connection_id":165918,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0463ee490012d34c14006aa4840000700e62b..."} 
[2026-08-28 08:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0463ee490012d34c14006aa4840000700e62b..."} 
[2026-08-28 08:14:09] local.INFO: Processing buffer {"connection_id":165918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0463ee490012d34c14006aa4840000700e62b..."} 
[2026-08-28 08:14:09] local.INFO: Packet analysis {"connection_id":165918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0463e"} 
[2026-08-28 08:14:09] local.INFO: Extracted packet for processing {"connection_id":165918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0463e"} 
[2026-08-28 08:14:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698462976001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:14:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787884922000,"timestamp_ms":1787884922000,"timestamp_seconds":1787884922,"priority":1,"record_length":96,"hex_timestamp":"000001a0463ee490"} 
[2026-08-28 08:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 08:14:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:14:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":165918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":165918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":165918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:14:09] 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-28 08:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698462976001,"66":25212,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698462976001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:14:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:14:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:14: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-28 08:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698462976001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":165918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:14:09] local.INFO: GPS data processed {"connection_id":165918,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:14:09] local.INFO: Acknowledgment sent {"connection_id":165918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:14:31] local.INFO: TCP Data received {"connection_id":164569,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:14:31] local.INFO: Processing buffer {"connection_id":164569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:14:31] local.INFO: IMEI packet received {"connection_id":164569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 08:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":164569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 08:14:36] local.INFO: TCP Data received {"connection_id":164569,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:14:36] local.INFO: Processing buffer {"connection_id":164569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:14:36] local.INFO: IMEI packet received {"connection_id":164569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 08:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":164569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 08:14:37] local.INFO: TCP Data received {"connection_id":164569,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0463ee490012d34c14006aa4840000700e62b..."} 
[2026-08-28 08:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0463ee490012d34c14006aa4840000700e62b..."} 
[2026-08-28 08:14:37] local.INFO: Processing buffer {"connection_id":164569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0463ee490012d34c14006aa4840000700e62b..."} 
[2026-08-28 08:14:37] local.INFO: Packet analysis {"connection_id":164569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0463e"} 
[2026-08-28 08:14:37] local.INFO: Extracted packet for processing {"connection_id":164569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0463e"} 
[2026-08-28 08:14:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08: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-28 08:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698462976001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787884922000,"timestamp_ms":1787884922000,"timestamp_seconds":1787884922,"priority":1,"record_length":96,"hex_timestamp":"000001a0463ee490"} 
[2026-08-28 08: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-28 08:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 08:14:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08: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-28 08: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-28 08:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698462976001,"66":25212,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698462976001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:14:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:14:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:14: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-28 08:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698462976001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":164569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:14:38] local.INFO: GPS data processed {"connection_id":164569,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:14:38] local.INFO: Acknowledgment sent {"connection_id":164569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:15:09] local.INFO: TCP Data received {"connection_id":164569,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0463ee490012d34c14006aa4840000700e62b..."} 
[2026-08-28 08:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0463ee490012d34c14006aa4840000700e62b..."} 
[2026-08-28 08:15:09] local.INFO: Processing buffer {"connection_id":164569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0463ee490012d34c14006aa4840000700e62b..."} 
[2026-08-28 08:15:09] local.INFO: Packet analysis {"connection_id":164569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0463e"} 
[2026-08-28 08:15:09] local.INFO: Extracted packet for processing {"connection_id":164569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0463e"} 
[2026-08-28 08:15:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698462976001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:15:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:15:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787884922000,"timestamp_ms":1787884922000,"timestamp_seconds":1787884922,"priority":1,"record_length":96,"hex_timestamp":"000001a0463ee490"} 
[2026-08-28 08:15:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:15:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 08:15:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:15:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:15:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:15:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698462976001,"66":25212,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698462976001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:15:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:15:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:15: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-28 08:15:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698462976001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":164569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:15:09] local.INFO: GPS data processed {"connection_id":164569,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:15:09] local.INFO: Acknowledgment sent {"connection_id":164569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:15:31] local.INFO: TCP Data received {"connection_id":163575,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:15:31] local.INFO: Processing buffer {"connection_id":163575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:15:31] local.INFO: IMEI packet received {"connection_id":163575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 08:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":163575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 08:15:36] local.INFO: TCP Data received {"connection_id":163575,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:15:36] local.INFO: Processing buffer {"connection_id":163575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:15:36] local.INFO: IMEI packet received {"connection_id":163575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 08:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":163575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 08:15:37] local.INFO: TCP Data received {"connection_id":163575,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0463ee490012d34c14006aa4840000700e62b..."} 
[2026-08-28 08:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0463ee490012d34c14006aa4840000700e62b..."} 
[2026-08-28 08:15:37] local.INFO: Processing buffer {"connection_id":163575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0463ee490012d34c14006aa4840000700e62b..."} 
[2026-08-28 08:15:37] local.INFO: Packet analysis {"connection_id":163575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0463e"} 
[2026-08-28 08:15:37] local.INFO: Extracted packet for processing {"connection_id":163575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0463e"} 
[2026-08-28 08:15:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698462976001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787884922000,"timestamp_ms":1787884922000,"timestamp_seconds":1787884922,"priority":1,"record_length":96,"hex_timestamp":"000001a0463ee490"} 
[2026-08-28 08:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 08:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698462976001,"66":25212,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698462976001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:15:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:15:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:15: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-28 08:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698462976001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:15:37] 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":706742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:15:37] local.INFO: GPS data processed {"connection_id":163575,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:15:37] local.INFO: Acknowledgment sent {"connection_id":163575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:15:52] local.INFO: TCP Data received {"connection_id":165917,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 08:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165917,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 08:15:52] local.INFO: Processing buffer {"connection_id":165917,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 08:15:52] local.INFO: IMEI packet received {"connection_id":165917,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 08:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":165917,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 08:16:08] local.INFO: TCP Data received {"connection_id":163575,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0463ee490012d34c14006aa4840000700e62b..."} 
[2026-08-28 08:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0463ee490012d34c14006aa4840000700e62b..."} 
[2026-08-28 08:16:08] local.INFO: Processing buffer {"connection_id":163575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0463ee490012d34c14006aa4840000700e62b..."} 
[2026-08-28 08:16:08] local.INFO: Packet analysis {"connection_id":163575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0463e"} 
[2026-08-28 08:16:08] local.INFO: Extracted packet for processing {"connection_id":163575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0463e"} 
[2026-08-28 08:16:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08: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-28 08:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698462976001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:16: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-28 08:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787884922000,"timestamp_ms":1787884922000,"timestamp_seconds":1787884922,"priority":1,"record_length":96,"hex_timestamp":"000001a0463ee490"} 
[2026-08-28 08: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-28 08:16:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 08:16:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08: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-28 08: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-28 08:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:16:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698462976001,"66":25212,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698462976001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:16:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:16:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:16: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-28 08:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698462976001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:16:08] 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":706743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:16:08] local.INFO: GPS data processed {"connection_id":163575,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:16:08] local.INFO: Acknowledgment sent {"connection_id":163575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:16:36] local.INFO: TCP Data received {"connection_id":164570,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:16:36] local.INFO: Processing buffer {"connection_id":164570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:16:36] local.INFO: IMEI packet received {"connection_id":164570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 08:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":164570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 08:16:41] local.INFO: TCP Data received {"connection_id":164570,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:16:41] local.INFO: Processing buffer {"connection_id":164570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:16:41] local.INFO: IMEI packet received {"connection_id":164570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 08:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":164570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 08:16:42] local.INFO: TCP Data received {"connection_id":164570,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0463ee490012d34c14006aa4840000700e62b..."} 
[2026-08-28 08:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0463ee490012d34c14006aa4840000700e62b..."} 
[2026-08-28 08:16:42] local.INFO: Processing buffer {"connection_id":164570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0463ee490012d34c14006aa4840000700e62b..."} 
[2026-08-28 08:16:42] local.INFO: Packet analysis {"connection_id":164570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0463e"} 
[2026-08-28 08:16:42] local.INFO: Extracted packet for processing {"connection_id":164570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0463e"} 
[2026-08-28 08:16:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698462976001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08: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-28 08:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787884922000,"timestamp_ms":1787884922000,"timestamp_seconds":1787884922,"priority":1,"record_length":96,"hex_timestamp":"000001a0463ee490"} 
[2026-08-28 08:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:16:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 08:16: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-28 08:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":164570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":164570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":164570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:16: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-28 08:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698462976001,"66":25212,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698462976001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:16:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:16:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08: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-28 08:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698462976001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":164570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:16:42] local.INFO: GPS data processed {"connection_id":164570,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:16:42] local.INFO: Acknowledgment sent {"connection_id":164570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:16:47] local.INFO: TCP Data received {"connection_id":164570,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0463ee490012d34c14006aa4840000700e62b..."} 
[2026-08-28 08:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0463ee490012d34c14006aa4840000700e62b..."} 
[2026-08-28 08:16:47] local.INFO: Processing buffer {"connection_id":164570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0463ee490012d34c14006aa4840000700e62b..."} 
[2026-08-28 08:16:47] local.INFO: Packet analysis {"connection_id":164570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0463e"} 
[2026-08-28 08:16:47] local.INFO: Extracted packet for processing {"connection_id":164570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0463e"} 
[2026-08-28 08:16:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:16:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698462976001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:16:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:16:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:16: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-28 08:16:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787884922000,"timestamp_ms":1787884922000,"timestamp_seconds":1787884922,"priority":1,"record_length":96,"hex_timestamp":"000001a0463ee490"} 
[2026-08-28 08:16:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:16:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 08:16: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-28 08:16:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:16:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:16:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:16:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:16:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:16:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:16:47] 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-28 08:16:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:16:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:16:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698462976001,"66":25212,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:16:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:16:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:16:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698462976001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:16:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:16:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:16: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-28 08:16:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:16:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698462976001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:16:47] local.INFO: DEBUG: GPS processor result {"connection_id":164570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:16:47] local.INFO: GPS data processed {"connection_id":164570,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:16:47] local.INFO: Acknowledgment sent {"connection_id":164570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:17:31] local.INFO: TCP Data received {"connection_id":163303,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:17:31] local.INFO: Processing buffer {"connection_id":163303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:17:31] local.INFO: IMEI packet received {"connection_id":163303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 08:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":163303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 08:17:36] local.INFO: TCP Data received {"connection_id":163303,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:17:36] local.INFO: Processing buffer {"connection_id":163303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:17:36] local.INFO: IMEI packet received {"connection_id":163303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 08:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":163303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 08:17:37] local.INFO: TCP Data received {"connection_id":163303,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0463ee490012d34c14006aa4840000700e62b..."} 
[2026-08-28 08:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0463ee490012d34c14006aa4840000700e62b..."} 
[2026-08-28 08:17:37] local.INFO: Processing buffer {"connection_id":163303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0463ee490012d34c14006aa4840000700e62b..."} 
[2026-08-28 08:17:37] local.INFO: Packet analysis {"connection_id":163303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0463e"} 
[2026-08-28 08:17:37] local.INFO: Extracted packet for processing {"connection_id":163303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0463e"} 
[2026-08-28 08:17:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698462976001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787884922000,"timestamp_ms":1787884922000,"timestamp_seconds":1787884922,"priority":1,"record_length":96,"hex_timestamp":"000001a0463ee490"} 
[2026-08-28 08:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 08:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698462976001,"66":25212,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698462976001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:17:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:17:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:17: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-28 08:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698462976001,"power":25212,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":163303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:17:37] local.INFO: GPS data processed {"connection_id":163303,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:17:37] local.INFO: Acknowledgment sent {"connection_id":163303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:18:09] local.INFO: TCP Data received {"connection_id":163303,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a046437c58012d34c14006aa4840000e00e62c..."} 
[2026-08-28 08:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046437c58012d34c14006aa4840000e00e62c..."} 
[2026-08-28 08:18:09] local.INFO: Processing buffer {"connection_id":163303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046437c58012d34c14006aa4840000e00e62c..."} 
[2026-08-28 08:18:09] local.INFO: Packet analysis {"connection_id":163303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04643"} 
[2026-08-28 08:18:09] local.INFO: Extracted packet for processing {"connection_id":163303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04643"} 
[2026-08-28 08:18:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:18:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698540032001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:18:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:18:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:18:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:18:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787885223000,"timestamp_ms":1787885223000,"timestamp_seconds":1787885223,"priority":1,"record_length":96,"hex_timestamp":"000001a046437c58"} 
[2026-08-28 08:18:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:18:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 08:18:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:18:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:18:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:18:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:18:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:18:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:18:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:18:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:18:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:18:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:18:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698540032001,"66":25288,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:18:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:18:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:18:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698540032001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:18:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:18:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:18: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-28 08:18:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:18:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698540032001,"power":25288,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:18:09] local.INFO: DEBUG: GPS processor result {"connection_id":163303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:18:09] local.INFO: GPS data processed {"connection_id":163303,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:18:09] local.INFO: Acknowledgment sent {"connection_id":163303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:18:31] local.INFO: TCP Data received {"connection_id":163576,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:18:31] local.INFO: Processing buffer {"connection_id":163576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:18:31] local.INFO: IMEI packet received {"connection_id":163576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 08:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":163576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 08:18:36] local.INFO: TCP Data received {"connection_id":163576,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:18:36] local.INFO: Processing buffer {"connection_id":163576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:18:36] local.INFO: IMEI packet received {"connection_id":163576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 08:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":163576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 08:18:37] local.INFO: TCP Data received {"connection_id":163576,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a046437c58012d34c14006aa4840000e00e62c..."} 
[2026-08-28 08:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046437c58012d34c14006aa4840000e00e62c..."} 
[2026-08-28 08:18:37] local.INFO: Processing buffer {"connection_id":163576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046437c58012d34c14006aa4840000e00e62c..."} 
[2026-08-28 08:18:37] local.INFO: Packet analysis {"connection_id":163576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04643"} 
[2026-08-28 08:18:37] local.INFO: Extracted packet for processing {"connection_id":163576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04643"} 
[2026-08-28 08:18:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698540032001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787885223000,"timestamp_ms":1787885223000,"timestamp_seconds":1787885223,"priority":1,"record_length":96,"hex_timestamp":"000001a046437c58"} 
[2026-08-28 08:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 08:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698540032001,"66":25288,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698540032001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:18:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:18:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:18: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-28 08:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698540032001,"power":25288,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":163576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:18:37] local.INFO: GPS data processed {"connection_id":163576,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:18:37] local.INFO: Acknowledgment sent {"connection_id":163576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:19:09] local.INFO: TCP Data received {"connection_id":163576,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a046437c58012d34c14006aa4840000e00e62c..."} 
[2026-08-28 08:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046437c58012d34c14006aa4840000e00e62c..."} 
[2026-08-28 08:19:09] local.INFO: Processing buffer {"connection_id":163576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046437c58012d34c14006aa4840000e00e62c..."} 
[2026-08-28 08:19:09] local.INFO: Packet analysis {"connection_id":163576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04643"} 
[2026-08-28 08:19:09] local.INFO: Extracted packet for processing {"connection_id":163576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04643"} 
[2026-08-28 08:19:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698540032001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787885223000,"timestamp_ms":1787885223000,"timestamp_seconds":1787885223,"priority":1,"record_length":96,"hex_timestamp":"000001a046437c58"} 
[2026-08-28 08:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 08:19:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:19:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:19:09] 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-28 08:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698540032001,"66":25288,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698540032001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:19:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:19:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:19: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-28 08:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698540032001,"power":25288,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":163576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:19:09] local.INFO: GPS data processed {"connection_id":163576,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:19:09] local.INFO: Acknowledgment sent {"connection_id":163576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:19:31] local.INFO: TCP Data received {"connection_id":164571,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:19:31] local.INFO: Processing buffer {"connection_id":164571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:19:31] local.INFO: IMEI packet received {"connection_id":164571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 08:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":164571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 08:19:36] local.INFO: TCP Data received {"connection_id":164571,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:19:36] local.INFO: Processing buffer {"connection_id":164571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:19:36] local.INFO: IMEI packet received {"connection_id":164571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 08:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":164571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 08:19:37] local.INFO: TCP Data received {"connection_id":164571,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a046437c58012d34c14006aa4840000e00e62c..."} 
[2026-08-28 08:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046437c58012d34c14006aa4840000e00e62c..."} 
[2026-08-28 08:19:37] local.INFO: Processing buffer {"connection_id":164571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046437c58012d34c14006aa4840000e00e62c..."} 
[2026-08-28 08:19:37] local.INFO: Packet analysis {"connection_id":164571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04643"} 
[2026-08-28 08:19:37] local.INFO: Extracted packet for processing {"connection_id":164571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04643"} 
[2026-08-28 08:19:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698540032001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787885223000,"timestamp_ms":1787885223000,"timestamp_seconds":1787885223,"priority":1,"record_length":96,"hex_timestamp":"000001a046437c58"} 
[2026-08-28 08:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 08:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698540032001,"66":25288,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698540032001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:19:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:19:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:19: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-28 08:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698540032001,"power":25288,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":164571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:19:37] local.INFO: GPS data processed {"connection_id":164571,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:19:37] local.INFO: Acknowledgment sent {"connection_id":164571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:20:09] local.INFO: TCP Data received {"connection_id":164571,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a046437c58012d34c14006aa4840000e00e62c..."} 
[2026-08-28 08:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046437c58012d34c14006aa4840000e00e62c..."} 
[2026-08-28 08:20:09] local.INFO: Processing buffer {"connection_id":164571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046437c58012d34c14006aa4840000e00e62c..."} 
[2026-08-28 08:20:09] local.INFO: Packet analysis {"connection_id":164571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04643"} 
[2026-08-28 08:20:09] local.INFO: Extracted packet for processing {"connection_id":164571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04643"} 
[2026-08-28 08:20:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698540032001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:20:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787885223000,"timestamp_ms":1787885223000,"timestamp_seconds":1787885223,"priority":1,"record_length":96,"hex_timestamp":"000001a046437c58"} 
[2026-08-28 08:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 08:20:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:20:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:20:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698540032001,"66":25288,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698540032001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:20:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:20:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:20: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-28 08:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698540032001,"power":25288,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":164571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:20:09] local.INFO: GPS data processed {"connection_id":164571,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:20:09] local.INFO: Acknowledgment sent {"connection_id":164571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:20:31] local.INFO: TCP Data received {"connection_id":165919,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:20:31] local.INFO: Processing buffer {"connection_id":165919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:20:31] local.INFO: IMEI packet received {"connection_id":165919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 08:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":165919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 08:20:36] local.INFO: TCP Data received {"connection_id":165919,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:20:36] local.INFO: Processing buffer {"connection_id":165919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:20:36] local.INFO: IMEI packet received {"connection_id":165919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 08:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":165919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 08:20:37] local.INFO: TCP Data received {"connection_id":165919,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a046437c58012d34c14006aa4840000e00e62c..."} 
[2026-08-28 08:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046437c58012d34c14006aa4840000e00e62c..."} 
[2026-08-28 08:20:37] local.INFO: Processing buffer {"connection_id":165919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046437c58012d34c14006aa4840000e00e62c..."} 
[2026-08-28 08:20:37] local.INFO: Packet analysis {"connection_id":165919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04643"} 
[2026-08-28 08:20:37] local.INFO: Extracted packet for processing {"connection_id":165919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04643"} 
[2026-08-28 08:20:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698540032001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787885223000,"timestamp_ms":1787885223000,"timestamp_seconds":1787885223,"priority":1,"record_length":96,"hex_timestamp":"000001a046437c58"} 
[2026-08-28 08:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 08:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":165919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":165919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":165919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698540032001,"66":25288,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698540032001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:20:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:20:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:20: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-28 08:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698540032001,"power":25288,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":165919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:20:37] local.INFO: GPS data processed {"connection_id":165919,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:20:37] local.INFO: Acknowledgment sent {"connection_id":165919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:21:08] local.INFO: TCP Data received {"connection_id":165919,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a046437c58012d34c14006aa4840000e00e62c..."} 
[2026-08-28 08:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046437c58012d34c14006aa4840000e00e62c..."} 
[2026-08-28 08:21:08] local.INFO: Processing buffer {"connection_id":165919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046437c58012d34c14006aa4840000e00e62c..."} 
[2026-08-28 08:21:08] local.INFO: Packet analysis {"connection_id":165919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04643"} 
[2026-08-28 08:21:08] local.INFO: Extracted packet for processing {"connection_id":165919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04643"} 
[2026-08-28 08:21:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:21:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698540032001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:21:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:21: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-28 08:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787885223000,"timestamp_ms":1787885223000,"timestamp_seconds":1787885223,"priority":1,"record_length":96,"hex_timestamp":"000001a046437c58"} 
[2026-08-28 08:21:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:21:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 08:21:08] 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-28 08:21:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:21:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":165919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":165919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":165919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:21:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698540032001,"66":25288,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698540032001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:21:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:21:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:21: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-28 08:21:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698540032001,"power":25288,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:21:08] local.INFO: DEBUG: GPS processor result {"connection_id":165919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:21:08] local.INFO: GPS data processed {"connection_id":165919,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:21:08] local.INFO: Acknowledgment sent {"connection_id":165919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:21:22] local.INFO: TCP Data received {"connection_id":163304,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 08:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163304,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 08:21:22] local.INFO: Processing buffer {"connection_id":163304,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 08:21:22] local.INFO: IMEI packet received {"connection_id":163304,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 08:21:22] local.INFO: IMEI acknowledgment sent {"connection_id":163304,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 08:21:36] local.INFO: TCP Data received {"connection_id":163577,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:21:36] local.INFO: Processing buffer {"connection_id":163577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:21:36] local.INFO: IMEI packet received {"connection_id":163577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 08:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":163577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 08:21:41] local.INFO: TCP Data received {"connection_id":163577,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:21:41] local.INFO: Processing buffer {"connection_id":163577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:21:41] local.INFO: IMEI packet received {"connection_id":163577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 08:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":163577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 08:21:42] local.INFO: TCP Data received {"connection_id":163577,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a046437c58012d34c14006aa4840000e00e62c..."} 
[2026-08-28 08:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046437c58012d34c14006aa4840000e00e62c..."} 
[2026-08-28 08:21:42] local.INFO: Processing buffer {"connection_id":163577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046437c58012d34c14006aa4840000e00e62c..."} 
[2026-08-28 08:21:42] local.INFO: Packet analysis {"connection_id":163577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04643"} 
[2026-08-28 08:21:42] local.INFO: Extracted packet for processing {"connection_id":163577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04643"} 
[2026-08-28 08:21:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08: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-28 08:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698540032001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:21:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08: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-28 08:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787885223000,"timestamp_ms":1787885223000,"timestamp_seconds":1787885223,"priority":1,"record_length":96,"hex_timestamp":"000001a046437c58"} 
[2026-08-28 08: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-28 08:21:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 08:21: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-28 08: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-28 08: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-28 08:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:21:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698540032001,"66":25288,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698540032001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:21:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:21:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08: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-28 08:21:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698540032001,"power":25288,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":163577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:21:42] local.INFO: GPS data processed {"connection_id":163577,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:21:42] local.INFO: Acknowledgment sent {"connection_id":163577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:21:47] local.INFO: TCP Data received {"connection_id":163577,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a046437c58012d34c14006aa4840000e00e62c..."} 
[2026-08-28 08:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046437c58012d34c14006aa4840000e00e62c..."} 
[2026-08-28 08:21:47] local.INFO: Processing buffer {"connection_id":163577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046437c58012d34c14006aa4840000e00e62c..."} 
[2026-08-28 08:21:47] local.INFO: Packet analysis {"connection_id":163577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04643"} 
[2026-08-28 08:21:47] local.INFO: Extracted packet for processing {"connection_id":163577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04643"} 
[2026-08-28 08:21:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698540032001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:21:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:21: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-28 08:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787885223000,"timestamp_ms":1787885223000,"timestamp_seconds":1787885223,"priority":1,"record_length":96,"hex_timestamp":"000001a046437c58"} 
[2026-08-28 08:21:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:21:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 08:21: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-28 08:21:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:21:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:21: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-28 08:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698540032001,"66":25288,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698540032001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:21:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:21:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:21: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-28 08:21:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698540032001,"power":25288,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":163577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:21:47] local.INFO: GPS data processed {"connection_id":163577,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:21:47] local.INFO: Acknowledgment sent {"connection_id":163577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:22:31] local.INFO: TCP Data received {"connection_id":164572,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:22:31] local.INFO: Processing buffer {"connection_id":164572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:22:31] local.INFO: IMEI packet received {"connection_id":164572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 08:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":164572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 08:22:36] local.INFO: TCP Data received {"connection_id":164572,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:22:36] local.INFO: Processing buffer {"connection_id":164572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:22:36] local.INFO: IMEI packet received {"connection_id":164572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 08:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":164572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 08:22:37] local.INFO: TCP Data received {"connection_id":164572,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a046437c58012d34c14006aa4840000e00e62c..."} 
[2026-08-28 08:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046437c58012d34c14006aa4840000e00e62c..."} 
[2026-08-28 08:22:37] local.INFO: Processing buffer {"connection_id":164572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046437c58012d34c14006aa4840000e00e62c..."} 
[2026-08-28 08:22:37] local.INFO: Packet analysis {"connection_id":164572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04643"} 
[2026-08-28 08:22:37] local.INFO: Extracted packet for processing {"connection_id":164572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04643"} 
[2026-08-28 08:22:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698540032001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787885223000,"timestamp_ms":1787885223000,"timestamp_seconds":1787885223,"priority":1,"record_length":96,"hex_timestamp":"000001a046437c58"} 
[2026-08-28 08:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 08:22:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:22:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698540032001,"66":25288,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698540032001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:22:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:22:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:22: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-28 08:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698540032001,"power":25288,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":164572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:22:37] local.INFO: GPS data processed {"connection_id":164572,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:22:37] local.INFO: Acknowledgment sent {"connection_id":164572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:23:08] local.INFO: TCP Data received {"connection_id":164572,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a046481420012d34c14006aa4840000e00e62b..."} 
[2026-08-28 08:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046481420012d34c14006aa4840000e00e62b..."} 
[2026-08-28 08:23:08] local.INFO: Processing buffer {"connection_id":164572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046481420012d34c14006aa4840000e00e62b..."} 
[2026-08-28 08:23:08] local.INFO: Packet analysis {"connection_id":164572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04648"} 
[2026-08-28 08:23:08] local.INFO: Extracted packet for processing {"connection_id":164572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04648"} 
[2026-08-28 08:23:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698617088001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:23:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787885524000,"timestamp_ms":1787885524000,"timestamp_seconds":1787885524,"priority":1,"record_length":96,"hex_timestamp":"000001a046481420"} 
[2026-08-28 08:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:23:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 08:23:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:23:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:23:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698617088001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698617088001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:23:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:23:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:23: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-28 08:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698617088001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":164572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:23:08] local.INFO: GPS data processed {"connection_id":164572,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:23:08] local.INFO: Acknowledgment sent {"connection_id":164572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:23:31] local.INFO: TCP Data received {"connection_id":165921,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:23:31] local.INFO: Processing buffer {"connection_id":165921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:23:31] local.INFO: IMEI packet received {"connection_id":165921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 08:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":165921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 08:23:36] local.INFO: TCP Data received {"connection_id":165921,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:23:36] local.INFO: Processing buffer {"connection_id":165921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:23:36] local.INFO: IMEI packet received {"connection_id":165921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 08:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":165921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 08:23:38] local.INFO: TCP Data received {"connection_id":165921,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a046481420012d34c14006aa4840000e00e62b..."} 
[2026-08-28 08:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046481420012d34c14006aa4840000e00e62b..."} 
[2026-08-28 08:23:38] local.INFO: Processing buffer {"connection_id":165921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046481420012d34c14006aa4840000e00e62b..."} 
[2026-08-28 08:23:38] local.INFO: Packet analysis {"connection_id":165921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04648"} 
[2026-08-28 08:23:38] local.INFO: Extracted packet for processing {"connection_id":165921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04648"} 
[2026-08-28 08:23:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698617088001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:23:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:23:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787885524000,"timestamp_ms":1787885524000,"timestamp_seconds":1787885524,"priority":1,"record_length":96,"hex_timestamp":"000001a046481420"} 
[2026-08-28 08:23:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:23:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 08:23:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:23:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:23:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":165921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":165921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":165921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:23:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698617088001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698617088001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:23:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:23:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:23: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-28 08:23:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698617088001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:23:38] local.INFO: DEBUG: GPS processor result {"connection_id":165921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:23:38] local.INFO: GPS data processed {"connection_id":165921,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:23:38] local.INFO: Acknowledgment sent {"connection_id":165921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:24:10] local.INFO: TCP Data received {"connection_id":165921,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a046481420012d34c14006aa4840000e00e62b..."} 
[2026-08-28 08:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046481420012d34c14006aa4840000e00e62b..."} 
[2026-08-28 08:24:10] local.INFO: Processing buffer {"connection_id":165921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046481420012d34c14006aa4840000e00e62b..."} 
[2026-08-28 08:24:10] local.INFO: Packet analysis {"connection_id":165921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04648"} 
[2026-08-28 08:24:10] local.INFO: Extracted packet for processing {"connection_id":165921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04648"} 
[2026-08-28 08:24:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698617088001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787885524000,"timestamp_ms":1787885524000,"timestamp_seconds":1787885524,"priority":1,"record_length":96,"hex_timestamp":"000001a046481420"} 
[2026-08-28 08:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:24:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 08:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":165921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":165921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":165921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698617088001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698617088001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:24:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:24:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 08:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698617088001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":165921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:24:10] local.INFO: GPS data processed {"connection_id":165921,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:24:10] local.INFO: Acknowledgment sent {"connection_id":165921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:24:31] local.INFO: TCP Data received {"connection_id":164573,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:24:31] local.INFO: Processing buffer {"connection_id":164573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:24:31] local.INFO: IMEI packet received {"connection_id":164573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 08:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":164573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 08:24:36] local.INFO: TCP Data received {"connection_id":164573,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:24:36] local.INFO: Processing buffer {"connection_id":164573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:24:36] local.INFO: IMEI packet received {"connection_id":164573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 08:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":164573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 08:24:38] local.INFO: TCP Data received {"connection_id":164573,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a046481420012d34c14006aa4840000e00e62b..."} 
[2026-08-28 08:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046481420012d34c14006aa4840000e00e62b..."} 
[2026-08-28 08:24:38] local.INFO: Processing buffer {"connection_id":164573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046481420012d34c14006aa4840000e00e62b..."} 
[2026-08-28 08:24:38] local.INFO: Packet analysis {"connection_id":164573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04648"} 
[2026-08-28 08:24:38] local.INFO: Extracted packet for processing {"connection_id":164573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04648"} 
[2026-08-28 08:24:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698617088001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:24:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787885524000,"timestamp_ms":1787885524000,"timestamp_seconds":1787885524,"priority":1,"record_length":96,"hex_timestamp":"000001a046481420"} 
[2026-08-28 08:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:24:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 08:24:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:24:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:24:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698617088001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698617088001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:24:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:24:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:24: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-28 08:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698617088001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":164573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:24:38] local.INFO: GPS data processed {"connection_id":164573,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:24:38] local.INFO: Acknowledgment sent {"connection_id":164573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:25:09] local.INFO: TCP Data received {"connection_id":164573,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a046481420012d34c14006aa4840000e00e62b..."} 
[2026-08-28 08:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046481420012d34c14006aa4840000e00e62b..."} 
[2026-08-28 08:25:09] local.INFO: Processing buffer {"connection_id":164573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046481420012d34c14006aa4840000e00e62b..."} 
[2026-08-28 08:25:09] local.INFO: Packet analysis {"connection_id":164573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04648"} 
[2026-08-28 08:25:09] local.INFO: Extracted packet for processing {"connection_id":164573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04648"} 
[2026-08-28 08:25:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:25:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698617088001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:25:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:25:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:25:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:25:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787885524000,"timestamp_ms":1787885524000,"timestamp_seconds":1787885524,"priority":1,"record_length":96,"hex_timestamp":"000001a046481420"} 
[2026-08-28 08:25:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:25:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 08:25:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:25:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:25:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:25:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:25:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:25:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:25:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:25:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698617088001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:25:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:25:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:25:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698617088001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:25:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:25:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:25: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-28 08:25:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:25:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698617088001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:25:09] local.INFO: DEBUG: GPS processor result {"connection_id":164573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:25:09] local.INFO: GPS data processed {"connection_id":164573,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:25:09] local.INFO: Acknowledgment sent {"connection_id":164573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:25:31] local.INFO: TCP Data received {"connection_id":163305,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:25:31] local.INFO: Processing buffer {"connection_id":163305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:25:31] local.INFO: IMEI packet received {"connection_id":163305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 08:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":163305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 08:25:37] local.INFO: TCP Data received {"connection_id":163305,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:25:37] local.INFO: Processing buffer {"connection_id":163305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:25:37] local.INFO: IMEI packet received {"connection_id":163305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 08:25:37] local.INFO: IMEI acknowledgment sent {"connection_id":163305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 08:25:38] local.INFO: TCP Data received {"connection_id":163305,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a046481420012d34c14006aa4840000e00e62b..."} 
[2026-08-28 08:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046481420012d34c14006aa4840000e00e62b..."} 
[2026-08-28 08:25:38] local.INFO: Processing buffer {"connection_id":163305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046481420012d34c14006aa4840000e00e62b..."} 
[2026-08-28 08:25:38] local.INFO: Packet analysis {"connection_id":163305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04648"} 
[2026-08-28 08:25:38] local.INFO: Extracted packet for processing {"connection_id":163305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04648"} 
[2026-08-28 08:25:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698617088001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:25:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787885524000,"timestamp_ms":1787885524000,"timestamp_seconds":1787885524,"priority":1,"record_length":96,"hex_timestamp":"000001a046481420"} 
[2026-08-28 08:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:25:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 08:25:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:25:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:25: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-28 08:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698617088001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698617088001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:25:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:25:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:25: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-28 08:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698617088001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":163305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:25:38] local.INFO: GPS data processed {"connection_id":163305,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:25:38] local.INFO: Acknowledgment sent {"connection_id":163305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:26:09] local.INFO: TCP Data received {"connection_id":163305,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a046481420012d34c14006aa4840000e00e62b..."} 
[2026-08-28 08:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046481420012d34c14006aa4840000e00e62b..."} 
[2026-08-28 08:26:09] local.INFO: Processing buffer {"connection_id":163305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046481420012d34c14006aa4840000e00e62b..."} 
[2026-08-28 08:26:09] local.INFO: Packet analysis {"connection_id":163305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04648"} 
[2026-08-28 08:26:09] local.INFO: Extracted packet for processing {"connection_id":163305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04648"} 
[2026-08-28 08:26:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698617088001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:26:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787885524000,"timestamp_ms":1787885524000,"timestamp_seconds":1787885524,"priority":1,"record_length":96,"hex_timestamp":"000001a046481420"} 
[2026-08-28 08:26:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:26:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 08:26:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:26:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:26:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:26:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698617088001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698617088001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:26:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:26:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:26: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-28 08:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698617088001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":163305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:26:09] local.INFO: GPS data processed {"connection_id":163305,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:26:09] local.INFO: Acknowledgment sent {"connection_id":163305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:26:35] local.INFO: TCP Data received {"connection_id":163306,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:26:35] local.INFO: Processing buffer {"connection_id":163306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:26:35] local.INFO: IMEI packet received {"connection_id":163306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 08:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":163306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 08:26:36] local.INFO: TCP Data received {"connection_id":163306,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:26:36] local.INFO: Processing buffer {"connection_id":163306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:26:36] local.INFO: IMEI packet received {"connection_id":163306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 08:26:36] local.INFO: IMEI acknowledgment sent {"connection_id":163306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 08:26:37] local.INFO: TCP Data received {"connection_id":163306,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a046481420012d34c14006aa4840000e00e62b..."} 
[2026-08-28 08:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046481420012d34c14006aa4840000e00e62b..."} 
[2026-08-28 08:26:37] local.INFO: Processing buffer {"connection_id":163306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046481420012d34c14006aa4840000e00e62b..."} 
[2026-08-28 08:26:37] local.INFO: Packet analysis {"connection_id":163306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04648"} 
[2026-08-28 08:26:37] local.INFO: Extracted packet for processing {"connection_id":163306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04648"} 
[2026-08-28 08:26:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698617088001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787885524000,"timestamp_ms":1787885524000,"timestamp_seconds":1787885524,"priority":1,"record_length":96,"hex_timestamp":"000001a046481420"} 
[2026-08-28 08:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 08:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698617088001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698617088001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:26:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:26:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:26: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-28 08:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698617088001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":163306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:26:37] local.INFO: GPS data processed {"connection_id":163306,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:26:37] local.INFO: Acknowledgment sent {"connection_id":163306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:26:42] local.INFO: TCP Data received {"connection_id":163306,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a046481420012d34c14006aa4840000e00e62b..."} 
[2026-08-28 08:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046481420012d34c14006aa4840000e00e62b..."} 
[2026-08-28 08:26:42] local.INFO: Processing buffer {"connection_id":163306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046481420012d34c14006aa4840000e00e62b..."} 
[2026-08-28 08:26:42] local.INFO: Packet analysis {"connection_id":163306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04648"} 
[2026-08-28 08:26:42] local.INFO: Extracted packet for processing {"connection_id":163306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04648"} 
[2026-08-28 08:26:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698617088001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08: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-28 08:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787885524000,"timestamp_ms":1787885524000,"timestamp_seconds":1787885524,"priority":1,"record_length":96,"hex_timestamp":"000001a046481420"} 
[2026-08-28 08:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:26:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 08:26:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:26:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:26: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-28 08:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698617088001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698617088001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:26:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:26:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08: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-28 08:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698617088001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":163306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:26:42] local.INFO: GPS data processed {"connection_id":163306,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:26:42] local.INFO: Acknowledgment sent {"connection_id":163306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:26:57] local.INFO: TCP Data received {"connection_id":165920,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 08:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165920,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 08:26:57] local.INFO: Processing buffer {"connection_id":165920,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 08:26:57] local.INFO: IMEI packet received {"connection_id":165920,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 08:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":165920,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 08:27:13] local.INFO: TCP Data received {"connection_id":163306,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a046481420012d34c14006aa4840000e00e62b..."} 
[2026-08-28 08:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046481420012d34c14006aa4840000e00e62b..."} 
[2026-08-28 08:27:13] local.INFO: Processing buffer {"connection_id":163306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046481420012d34c14006aa4840000e00e62b..."} 
[2026-08-28 08:27:13] local.INFO: Packet analysis {"connection_id":163306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04648"} 
[2026-08-28 08:27:13] local.INFO: Extracted packet for processing {"connection_id":163306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04648"} 
[2026-08-28 08:27:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:27:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698617088001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:27:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:27:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08: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-28 08:27:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787885524000,"timestamp_ms":1787885524000,"timestamp_seconds":1787885524,"priority":1,"record_length":96,"hex_timestamp":"000001a046481420"} 
[2026-08-28 08:27:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:27:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 08:27:13] 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-28 08:27:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:27:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:27:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:27:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:27:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:27:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:27: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-28 08:27:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:27:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:27:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698617088001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:27:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:27:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:27:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698617088001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:27:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:27:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08: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-28 08:27:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:27:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698617088001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:27:13] local.INFO: DEBUG: GPS processor result {"connection_id":163306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:27:13] local.INFO: GPS data processed {"connection_id":163306,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:27:13] local.INFO: Acknowledgment sent {"connection_id":163306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:27:31] local.INFO: TCP Data received {"connection_id":164574,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:27:31] local.INFO: Processing buffer {"connection_id":164574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:27:31] local.INFO: IMEI packet received {"connection_id":164574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 08:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":164574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 08:27:36] local.INFO: TCP Data received {"connection_id":164574,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:27:36] local.INFO: Processing buffer {"connection_id":164574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:27:36] local.INFO: IMEI packet received {"connection_id":164574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 08:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":164574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 08:27:37] local.INFO: TCP Data received {"connection_id":164574,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a046481420012d34c14006aa4840000e00e62b..."} 
[2026-08-28 08:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046481420012d34c14006aa4840000e00e62b..."} 
[2026-08-28 08:27:37] local.INFO: Processing buffer {"connection_id":164574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046481420012d34c14006aa4840000e00e62b..."} 
[2026-08-28 08:27:37] local.INFO: Packet analysis {"connection_id":164574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04648"} 
[2026-08-28 08:27:37] local.INFO: Extracted packet for processing {"connection_id":164574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04648"} 
[2026-08-28 08:27:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698617088001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787885524000,"timestamp_ms":1787885524000,"timestamp_seconds":1787885524,"priority":1,"record_length":96,"hex_timestamp":"000001a046481420"} 
[2026-08-28 08:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 08:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698617088001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698617088001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:27:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:27:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:27: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-28 08:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698617088001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":164574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:27:37] local.INFO: GPS data processed {"connection_id":164574,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:27:37] local.INFO: Acknowledgment sent {"connection_id":164574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:28:09] local.INFO: TCP Data received {"connection_id":164574,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0464cabe8012d34c14006aa4840000c00e62c..."} 
[2026-08-28 08:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0464cabe8012d34c14006aa4840000c00e62c..."} 
[2026-08-28 08:28:09] local.INFO: Processing buffer {"connection_id":164574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0464cabe8012d34c14006aa4840000c00e62c..."} 
[2026-08-28 08:28:09] local.INFO: Packet analysis {"connection_id":164574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0464c"} 
[2026-08-28 08:28:09] local.INFO: Extracted packet for processing {"connection_id":164574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0464c"} 
[2026-08-28 08:28:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698694144001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787885825000,"timestamp_ms":1787885825000,"timestamp_seconds":1787885825,"priority":1,"record_length":96,"hex_timestamp":"000001a0464cabe8"} 
[2026-08-28 08:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 08:28:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:28:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:28:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698694144001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698694144001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:28:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:28:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:28: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-28 08:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698694144001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":164574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:28:09] local.INFO: GPS data processed {"connection_id":164574,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:28:09] local.INFO: Acknowledgment sent {"connection_id":164574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:28:31] local.INFO: TCP Data received {"connection_id":163578,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:28:31] local.INFO: Processing buffer {"connection_id":163578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:28:31] local.INFO: IMEI packet received {"connection_id":163578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 08:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":163578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 08:28:36] local.INFO: TCP Data received {"connection_id":163578,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:28:36] local.INFO: Processing buffer {"connection_id":163578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:28:36] local.INFO: IMEI packet received {"connection_id":163578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 08:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":163578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 08:28:37] local.INFO: TCP Data received {"connection_id":163578,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0464cabe8012d34c14006aa4840000c00e62c..."} 
[2026-08-28 08:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0464cabe8012d34c14006aa4840000c00e62c..."} 
[2026-08-28 08:28:37] local.INFO: Processing buffer {"connection_id":163578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0464cabe8012d34c14006aa4840000c00e62c..."} 
[2026-08-28 08:28:37] local.INFO: Packet analysis {"connection_id":163578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0464c"} 
[2026-08-28 08:28:37] local.INFO: Extracted packet for processing {"connection_id":163578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0464c"} 
[2026-08-28 08:28:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698694144001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787885825000,"timestamp_ms":1787885825000,"timestamp_seconds":1787885825,"priority":1,"record_length":96,"hex_timestamp":"000001a0464cabe8"} 
[2026-08-28 08:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 08:28:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698694144001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698694144001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:28:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:28:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:28: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-28 08:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698694144001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:28:37] 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":706769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:28:37] local.INFO: GPS data processed {"connection_id":163578,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:28:37] local.INFO: Acknowledgment sent {"connection_id":163578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:29:09] local.INFO: TCP Data received {"connection_id":163578,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0464cabe8012d34c14006aa4840000c00e62c..."} 
[2026-08-28 08:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0464cabe8012d34c14006aa4840000c00e62c..."} 
[2026-08-28 08:29:09] local.INFO: Processing buffer {"connection_id":163578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0464cabe8012d34c14006aa4840000c00e62c..."} 
[2026-08-28 08:29:09] local.INFO: Packet analysis {"connection_id":163578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0464c"} 
[2026-08-28 08:29:09] local.INFO: Extracted packet for processing {"connection_id":163578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0464c"} 
[2026-08-28 08:29:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698694144001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:29:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:29:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787885825000,"timestamp_ms":1787885825000,"timestamp_seconds":1787885825,"priority":1,"record_length":96,"hex_timestamp":"000001a0464cabe8"} 
[2026-08-28 08:29:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:29:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 08:29:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:29:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:29:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:29:09] 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-28 08:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:29:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698694144001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:29:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:29:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:29:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698694144001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:29:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:29:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:29: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-28 08:29:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:29:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698694144001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:29:09] 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":706770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:29:09] local.INFO: GPS data processed {"connection_id":163578,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:29:09] local.INFO: Acknowledgment sent {"connection_id":163578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:29:37] local.INFO: TCP Data received {"connection_id":165922,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:29:37] local.INFO: Processing buffer {"connection_id":165922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:29:37] local.INFO: IMEI packet received {"connection_id":165922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 08:29:37] local.INFO: IMEI acknowledgment sent {"connection_id":165922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 08:29:41] local.INFO: TCP Data received {"connection_id":165922,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:29:41] local.INFO: Processing buffer {"connection_id":165922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:29:41] local.INFO: IMEI packet received {"connection_id":165922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 08:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":165922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 08:29:42] local.INFO: TCP Data received {"connection_id":165922,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0464cabe8012d34c14006aa4840000c00e62c..."} 
[2026-08-28 08:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0464cabe8012d34c14006aa4840000c00e62c..."} 
[2026-08-28 08:29:42] local.INFO: Processing buffer {"connection_id":165922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0464cabe8012d34c14006aa4840000c00e62c..."} 
[2026-08-28 08:29:42] local.INFO: Packet analysis {"connection_id":165922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0464c"} 
[2026-08-28 08:29:42] local.INFO: Extracted packet for processing {"connection_id":165922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0464c"} 
[2026-08-28 08:29:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08: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-28 08:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698694144001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:29:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08: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-28 08:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787885825000,"timestamp_ms":1787885825000,"timestamp_seconds":1787885825,"priority":1,"record_length":96,"hex_timestamp":"000001a0464cabe8"} 
[2026-08-28 08: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-28 08:29:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08: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-28 08: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-28 08: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-28 08: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-28 08:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:29: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-28 08:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698694144001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698694144001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:29:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:29:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08: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-28 08:29:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698694144001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":165922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:29:42] local.INFO: GPS data processed {"connection_id":165922,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:29:42] local.INFO: Acknowledgment sent {"connection_id":165922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:29:47] local.INFO: TCP Data received {"connection_id":165922,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0464cabe8012d34c14006aa4840000c00e62c..."} 
[2026-08-28 08:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0464cabe8012d34c14006aa4840000c00e62c..."} 
[2026-08-28 08:29:47] local.INFO: Processing buffer {"connection_id":165922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0464cabe8012d34c14006aa4840000c00e62c..."} 
[2026-08-28 08:29:47] local.INFO: Packet analysis {"connection_id":165922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0464c"} 
[2026-08-28 08:29:47] local.INFO: Extracted packet for processing {"connection_id":165922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0464c"} 
[2026-08-28 08:29:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698694144001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:29:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08: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-28 08:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787885825000,"timestamp_ms":1787885825000,"timestamp_seconds":1787885825,"priority":1,"record_length":96,"hex_timestamp":"000001a0464cabe8"} 
[2026-08-28 08:29:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:29:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 08:29: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-28 08:29:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:29:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":165922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":165922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":165922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:29: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-28 08:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698694144001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698694144001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:29:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:29:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08: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-28 08:29:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698694144001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":165922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:29:47] local.INFO: GPS data processed {"connection_id":165922,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:29:47] local.INFO: Acknowledgment sent {"connection_id":165922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:30:31] local.INFO: TCP Data received {"connection_id":163307,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:30:31] local.INFO: Processing buffer {"connection_id":163307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:30:31] local.INFO: IMEI packet received {"connection_id":163307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 08:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":163307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 08:30:36] local.INFO: TCP Data received {"connection_id":163307,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:30:36] local.INFO: Processing buffer {"connection_id":163307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:30:36] local.INFO: IMEI packet received {"connection_id":163307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 08:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":163307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 08:30:37] local.INFO: TCP Data received {"connection_id":163307,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0464cabe8012d34c14006aa4840000c00e62c..."} 
[2026-08-28 08:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0464cabe8012d34c14006aa4840000c00e62c..."} 
[2026-08-28 08:30:37] local.INFO: Processing buffer {"connection_id":163307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0464cabe8012d34c14006aa4840000c00e62c..."} 
[2026-08-28 08:30:37] local.INFO: Packet analysis {"connection_id":163307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0464c"} 
[2026-08-28 08:30:37] local.INFO: Extracted packet for processing {"connection_id":163307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0464c"} 
[2026-08-28 08:30:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698694144001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787885825000,"timestamp_ms":1787885825000,"timestamp_seconds":1787885825,"priority":1,"record_length":96,"hex_timestamp":"000001a0464cabe8"} 
[2026-08-28 08:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 08:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698694144001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698694144001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:30:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:30:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:30: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-28 08:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698694144001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":163307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:30:37] local.INFO: GPS data processed {"connection_id":163307,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:30:37] local.INFO: Acknowledgment sent {"connection_id":163307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:31:09] local.INFO: TCP Data received {"connection_id":163307,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0464cabe8012d34c14006aa4840000c00e62c..."} 
[2026-08-28 08:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0464cabe8012d34c14006aa4840000c00e62c..."} 
[2026-08-28 08:31:09] local.INFO: Processing buffer {"connection_id":163307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0464cabe8012d34c14006aa4840000c00e62c..."} 
[2026-08-28 08:31:09] local.INFO: Packet analysis {"connection_id":163307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0464c"} 
[2026-08-28 08:31:09] local.INFO: Extracted packet for processing {"connection_id":163307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0464c"} 
[2026-08-28 08:31:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698694144001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:31:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787885825000,"timestamp_ms":1787885825000,"timestamp_seconds":1787885825,"priority":1,"record_length":96,"hex_timestamp":"000001a0464cabe8"} 
[2026-08-28 08:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 08:31:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:31:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:31:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698694144001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698694144001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:31:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:31:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:31: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-28 08:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698694144001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":163307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:31:09] local.INFO: GPS data processed {"connection_id":163307,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:31:09] local.INFO: Acknowledgment sent {"connection_id":163307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:31:31] local.INFO: TCP Data received {"connection_id":165923,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:31:31] local.INFO: Processing buffer {"connection_id":165923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:31:31] local.INFO: IMEI packet received {"connection_id":165923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 08:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":165923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 08:31:37] local.INFO: TCP Data received {"connection_id":165923,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:31:37] local.INFO: Processing buffer {"connection_id":165923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:31:37] local.INFO: IMEI packet received {"connection_id":165923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 08:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":165923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 08:31:38] local.INFO: TCP Data received {"connection_id":165923,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0464cabe8012d34c14006aa4840000c00e62c..."} 
[2026-08-28 08:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0464cabe8012d34c14006aa4840000c00e62c..."} 
[2026-08-28 08:31:38] local.INFO: Processing buffer {"connection_id":165923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0464cabe8012d34c14006aa4840000c00e62c..."} 
[2026-08-28 08:31:38] local.INFO: Packet analysis {"connection_id":165923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0464c"} 
[2026-08-28 08:31:38] local.INFO: Extracted packet for processing {"connection_id":165923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0464c"} 
[2026-08-28 08:31:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08: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-28 08:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698694144001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787885825000,"timestamp_ms":1787885825000,"timestamp_seconds":1787885825,"priority":1,"record_length":96,"hex_timestamp":"000001a0464cabe8"} 
[2026-08-28 08:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 08:31:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:31:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":165923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":165923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":165923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:31: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-28 08:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698694144001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698694144001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:31:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:31:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:31: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-28 08:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698694144001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":165923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:31:38] local.INFO: GPS data processed {"connection_id":165923,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:31:38] local.INFO: Acknowledgment sent {"connection_id":165923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:32:09] local.INFO: TCP Data received {"connection_id":165923,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0464cabe8012d34c14006aa4840000c00e62c..."} 
[2026-08-28 08:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0464cabe8012d34c14006aa4840000c00e62c..."} 
[2026-08-28 08:32:09] local.INFO: Processing buffer {"connection_id":165923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0464cabe8012d34c14006aa4840000c00e62c..."} 
[2026-08-28 08:32:09] local.INFO: Packet analysis {"connection_id":165923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0464c"} 
[2026-08-28 08:32:09] local.INFO: Extracted packet for processing {"connection_id":165923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0464c"} 
[2026-08-28 08:32:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698694144001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:32:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:32:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787885825000,"timestamp_ms":1787885825000,"timestamp_seconds":1787885825,"priority":1,"record_length":96,"hex_timestamp":"000001a0464cabe8"} 
[2026-08-28 08:32:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:32:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 08:32:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:32:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:32:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":165923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":165923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":165923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:32:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698694144001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698694144001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:32:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:32:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:32: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-28 08:32:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698694144001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":165923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:32:09] local.INFO: GPS data processed {"connection_id":165923,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:32:09] local.INFO: Acknowledgment sent {"connection_id":165923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:32:31] local.INFO: TCP Data received {"connection_id":165924,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:32:31] local.INFO: Processing buffer {"connection_id":165924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:32:31] local.INFO: IMEI packet received {"connection_id":165924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 08:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":165924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 08:32:32] local.INFO: TCP Data received {"connection_id":164575,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 08:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164575,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 08:32:32] local.INFO: Processing buffer {"connection_id":164575,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 08:32:32] local.INFO: IMEI packet received {"connection_id":164575,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 08:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":164575,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 08:32:36] local.INFO: TCP Data received {"connection_id":165924,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:32:36] local.INFO: Processing buffer {"connection_id":165924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:32:36] local.INFO: IMEI packet received {"connection_id":165924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 08:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":165924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 08:32:37] local.INFO: TCP Data received {"connection_id":165924,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0464cabe8012d34c14006aa4840000c00e62c..."} 
[2026-08-28 08:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0464cabe8012d34c14006aa4840000c00e62c..."} 
[2026-08-28 08:32:37] local.INFO: Processing buffer {"connection_id":165924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0464cabe8012d34c14006aa4840000c00e62c..."} 
[2026-08-28 08:32:37] local.INFO: Packet analysis {"connection_id":165924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0464c"} 
[2026-08-28 08:32:37] local.INFO: Extracted packet for processing {"connection_id":165924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0464c"} 
[2026-08-28 08:32:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698694144001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787885825000,"timestamp_ms":1787885825000,"timestamp_seconds":1787885825,"priority":1,"record_length":96,"hex_timestamp":"000001a0464cabe8"} 
[2026-08-28 08:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 08:32:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:32:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":165924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":165924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":165924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698694144001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698694144001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:32:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:32:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:32: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-28 08:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698694144001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":165924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:32:37] local.INFO: GPS data processed {"connection_id":165924,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:32:37] local.INFO: Acknowledgment sent {"connection_id":165924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:32:59] local.INFO: TCP Data received {"connection_id":163579,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 08:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163579,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 08:32:59] local.INFO: Processing buffer {"connection_id":163579,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 08:32:59] local.INFO: IMEI packet received {"connection_id":163579,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 08:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":163579,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 08:33:10] local.INFO: TCP Data received {"connection_id":165924,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0465143b0012d34c14006aa4840000e00e62a..."} 
[2026-08-28 08:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0465143b0012d34c14006aa4840000e00e62a..."} 
[2026-08-28 08:33:10] local.INFO: Processing buffer {"connection_id":165924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0465143b0012d34c14006aa4840000e00e62a..."} 
[2026-08-28 08:33:10] local.INFO: Packet analysis {"connection_id":165924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04651"} 
[2026-08-28 08:33:10] local.INFO: Extracted packet for processing {"connection_id":165924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04651"} 
[2026-08-28 08:33:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698771200001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:33:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:33:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787886126000,"timestamp_ms":1787886126000,"timestamp_seconds":1787886126,"priority":1,"record_length":96,"hex_timestamp":"000001a0465143b0"} 
[2026-08-28 08:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:33:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 08:33:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:33:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":165924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":165924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":165924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:33:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698771200001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698771200001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:33:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:33:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 08:33:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698771200001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":165924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:33:10] local.INFO: GPS data processed {"connection_id":165924,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:33:10] local.INFO: Acknowledgment sent {"connection_id":165924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:33:31] local.INFO: TCP Data received {"connection_id":163580,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:33:31] local.INFO: Processing buffer {"connection_id":163580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:33:31] local.INFO: IMEI packet received {"connection_id":163580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 08:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":163580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 08:33:36] local.INFO: TCP Data received {"connection_id":163580,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:33:36] local.INFO: Processing buffer {"connection_id":163580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:33:36] local.INFO: IMEI packet received {"connection_id":163580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 08:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":163580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 08:33:37] local.INFO: TCP Data received {"connection_id":163580,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0465143b0012d34c14006aa4840000e00e62a..."} 
[2026-08-28 08:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0465143b0012d34c14006aa4840000e00e62a..."} 
[2026-08-28 08:33:37] local.INFO: Processing buffer {"connection_id":163580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0465143b0012d34c14006aa4840000e00e62a..."} 
[2026-08-28 08:33:37] local.INFO: Packet analysis {"connection_id":163580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04651"} 
[2026-08-28 08:33:37] local.INFO: Extracted packet for processing {"connection_id":163580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04651"} 
[2026-08-28 08:33:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698771200001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787886126000,"timestamp_ms":1787886126000,"timestamp_seconds":1787886126,"priority":1,"record_length":96,"hex_timestamp":"000001a0465143b0"} 
[2026-08-28 08:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 08:33:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698771200001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698771200001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:33:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:33:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:33: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-28 08:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698771200001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:33:37] 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":706779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:33:37] local.INFO: GPS data processed {"connection_id":163580,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:33:37] local.INFO: Acknowledgment sent {"connection_id":163580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:34:09] local.INFO: TCP Data received {"connection_id":163580,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0465143b0012d34c14006aa4840000e00e62a..."} 
[2026-08-28 08:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0465143b0012d34c14006aa4840000e00e62a..."} 
[2026-08-28 08:34:09] local.INFO: Processing buffer {"connection_id":163580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0465143b0012d34c14006aa4840000e00e62a..."} 
[2026-08-28 08:34:09] local.INFO: Packet analysis {"connection_id":163580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04651"} 
[2026-08-28 08:34:09] local.INFO: Extracted packet for processing {"connection_id":163580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04651"} 
[2026-08-28 08:34:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698771200001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:34:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787886126000,"timestamp_ms":1787886126000,"timestamp_seconds":1787886126,"priority":1,"record_length":96,"hex_timestamp":"000001a0465143b0"} 
[2026-08-28 08:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:34:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 08:34:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:34:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:34:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698771200001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698771200001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:34:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:34:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:34: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-28 08:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698771200001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:34:09] 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":706780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:34:09] local.INFO: GPS data processed {"connection_id":163580,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:34:09] local.INFO: Acknowledgment sent {"connection_id":163580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:34:31] local.INFO: TCP Data received {"connection_id":163308,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:34:31] local.INFO: Processing buffer {"connection_id":163308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:34:31] local.INFO: IMEI packet received {"connection_id":163308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 08:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":163308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 08:34:36] local.INFO: TCP Data received {"connection_id":163308,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:34:36] local.INFO: Processing buffer {"connection_id":163308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:34:36] local.INFO: IMEI packet received {"connection_id":163308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 08:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":163308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 08:34:37] local.INFO: TCP Data received {"connection_id":163308,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0465143b0012d34c14006aa4840000e00e62a..."} 
[2026-08-28 08:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0465143b0012d34c14006aa4840000e00e62a..."} 
[2026-08-28 08:34:37] local.INFO: Processing buffer {"connection_id":163308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0465143b0012d34c14006aa4840000e00e62a..."} 
[2026-08-28 08:34:37] local.INFO: Packet analysis {"connection_id":163308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04651"} 
[2026-08-28 08:34:37] local.INFO: Extracted packet for processing {"connection_id":163308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04651"} 
[2026-08-28 08:34:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698771200001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787886126000,"timestamp_ms":1787886126000,"timestamp_seconds":1787886126,"priority":1,"record_length":96,"hex_timestamp":"000001a0465143b0"} 
[2026-08-28 08:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 08:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698771200001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698771200001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:34:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:34:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:34: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-28 08:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698771200001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":163308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:34:37] local.INFO: GPS data processed {"connection_id":163308,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:34:37] local.INFO: Acknowledgment sent {"connection_id":163308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:35:10] local.INFO: TCP Data received {"connection_id":163308,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0465143b0012d34c14006aa4840000e00e62a..."} 
[2026-08-28 08:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0465143b0012d34c14006aa4840000e00e62a..."} 
[2026-08-28 08:35:10] local.INFO: Processing buffer {"connection_id":163308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0465143b0012d34c14006aa4840000e00e62a..."} 
[2026-08-28 08:35:10] local.INFO: Packet analysis {"connection_id":163308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04651"} 
[2026-08-28 08:35:10] local.INFO: Extracted packet for processing {"connection_id":163308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04651"} 
[2026-08-28 08:35:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698771200001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:35:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787886126000,"timestamp_ms":1787886126000,"timestamp_seconds":1787886126,"priority":1,"record_length":96,"hex_timestamp":"000001a0465143b0"} 
[2026-08-28 08:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:35:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 08:35:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:35:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:35:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698771200001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698771200001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:35:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:35:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 08:35:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698771200001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":163308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:35:10] local.INFO: GPS data processed {"connection_id":163308,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:35:10] local.INFO: Acknowledgment sent {"connection_id":163308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:35:37] local.INFO: TCP Data received {"connection_id":163581,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:35:37] local.INFO: Processing buffer {"connection_id":163581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:35:37] local.INFO: IMEI packet received {"connection_id":163581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 08:35:37] local.INFO: IMEI acknowledgment sent {"connection_id":163581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 08:35:41] local.INFO: TCP Data received {"connection_id":163581,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:35:41] local.INFO: Processing buffer {"connection_id":163581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:35:41] local.INFO: IMEI packet received {"connection_id":163581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 08:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":163581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 08:35:42] local.INFO: TCP Data received {"connection_id":163581,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0465143b0012d34c14006aa4840000e00e62a..."} 
[2026-08-28 08:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0465143b0012d34c14006aa4840000e00e62a..."} 
[2026-08-28 08:35:42] local.INFO: Processing buffer {"connection_id":163581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0465143b0012d34c14006aa4840000e00e62a..."} 
[2026-08-28 08:35:42] local.INFO: Packet analysis {"connection_id":163581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04651"} 
[2026-08-28 08:35:42] local.INFO: Extracted packet for processing {"connection_id":163581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04651"} 
[2026-08-28 08:35:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08: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-28 08:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698771200001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:35:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08: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-28 08:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787886126000,"timestamp_ms":1787886126000,"timestamp_seconds":1787886126,"priority":1,"record_length":96,"hex_timestamp":"000001a0465143b0"} 
[2026-08-28 08: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-28 08:35:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 08:35: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-28 08: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-28 08: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-28 08:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:35: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-28 08:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698771200001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698771200001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:35:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:35:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08: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-28 08:35:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:35:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698771200001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:35:42] 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":706783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:35:42] local.INFO: GPS data processed {"connection_id":163581,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:35:42] local.INFO: Acknowledgment sent {"connection_id":163581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:36:14] local.INFO: TCP Data received {"connection_id":163581,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0465143b0012d34c14006aa4840000e00e62a..."} 
[2026-08-28 08:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0465143b0012d34c14006aa4840000e00e62a..."} 
[2026-08-28 08:36:14] local.INFO: Processing buffer {"connection_id":163581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0465143b0012d34c14006aa4840000e00e62a..."} 
[2026-08-28 08:36:14] local.INFO: Packet analysis {"connection_id":163581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04651"} 
[2026-08-28 08:36:14] local.INFO: Extracted packet for processing {"connection_id":163581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04651"} 
[2026-08-28 08:36:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08: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-28 08:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698771200001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:36:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08: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-28 08:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787886126000,"timestamp_ms":1787886126000,"timestamp_seconds":1787886126,"priority":1,"record_length":96,"hex_timestamp":"000001a0465143b0"} 
[2026-08-28 08: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-28 08:36:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 08:36: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-28 08: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-28 08: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-28 08:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:36: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-28 08:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698771200001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698771200001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:36:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:36:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08: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-28 08:36:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698771200001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:36:14] 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":706784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:36:14] local.INFO: GPS data processed {"connection_id":163581,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:36:14] local.INFO: Acknowledgment sent {"connection_id":163581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:36:31] local.INFO: TCP Data received {"connection_id":163309,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:36:31] local.INFO: Processing buffer {"connection_id":163309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:36:31] local.INFO: IMEI packet received {"connection_id":163309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 08:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":163309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 08:36:36] local.INFO: TCP Data received {"connection_id":163309,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:36:36] local.INFO: Processing buffer {"connection_id":163309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:36:36] local.INFO: IMEI packet received {"connection_id":163309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 08:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":163309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 08:36:37] local.INFO: TCP Data received {"connection_id":163309,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0465143b0012d34c14006aa4840000e00e62a..."} 
[2026-08-28 08:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0465143b0012d34c14006aa4840000e00e62a..."} 
[2026-08-28 08:36:37] local.INFO: Processing buffer {"connection_id":163309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0465143b0012d34c14006aa4840000e00e62a..."} 
[2026-08-28 08:36:37] local.INFO: Packet analysis {"connection_id":163309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04651"} 
[2026-08-28 08:36:37] local.INFO: Extracted packet for processing {"connection_id":163309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04651"} 
[2026-08-28 08:36:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698771200001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787886126000,"timestamp_ms":1787886126000,"timestamp_seconds":1787886126,"priority":1,"record_length":96,"hex_timestamp":"000001a0465143b0"} 
[2026-08-28 08:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 08:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698771200001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698771200001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:36:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:36:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08: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-28 08:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698771200001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":163309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:36:37] local.INFO: GPS data processed {"connection_id":163309,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:36:37] local.INFO: Acknowledgment sent {"connection_id":163309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:37:08] local.INFO: TCP Data received {"connection_id":163309,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0465143b0012d34c14006aa4840000e00e62a..."} 
[2026-08-28 08:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0465143b0012d34c14006aa4840000e00e62a..."} 
[2026-08-28 08:37:08] local.INFO: Processing buffer {"connection_id":163309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0465143b0012d34c14006aa4840000e00e62a..."} 
[2026-08-28 08:37:08] local.INFO: Packet analysis {"connection_id":163309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04651"} 
[2026-08-28 08:37:08] local.INFO: Extracted packet for processing {"connection_id":163309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04651"} 
[2026-08-28 08:37:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698771200001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:37: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-28 08:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787886126000,"timestamp_ms":1787886126000,"timestamp_seconds":1787886126,"priority":1,"record_length":96,"hex_timestamp":"000001a0465143b0"} 
[2026-08-28 08:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:37:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 08:37:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:37:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:37:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698771200001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698771200001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:37:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:37:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:37: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-28 08:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698771200001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":163309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:37:08] local.INFO: GPS data processed {"connection_id":163309,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:37:08] local.INFO: Acknowledgment sent {"connection_id":163309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:37:31] local.INFO: TCP Data received {"connection_id":164576,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:37:31] local.INFO: Processing buffer {"connection_id":164576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:37:31] local.INFO: IMEI packet received {"connection_id":164576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 08:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":164576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 08:37:36] local.INFO: TCP Data received {"connection_id":164576,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:37:36] local.INFO: Processing buffer {"connection_id":164576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:37:36] local.INFO: IMEI packet received {"connection_id":164576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 08:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":164576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 08:37:37] local.INFO: TCP Data received {"connection_id":164576,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0465143b0012d34c14006aa4840000e00e62a..."} 
[2026-08-28 08:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0465143b0012d34c14006aa4840000e00e62a..."} 
[2026-08-28 08:37:37] local.INFO: Processing buffer {"connection_id":164576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0465143b0012d34c14006aa4840000e00e62a..."} 
[2026-08-28 08:37:37] local.INFO: Packet analysis {"connection_id":164576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04651"} 
[2026-08-28 08:37:37] local.INFO: Extracted packet for processing {"connection_id":164576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04651"} 
[2026-08-28 08:37:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698771200001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787886126000,"timestamp_ms":1787886126000,"timestamp_seconds":1787886126,"priority":1,"record_length":96,"hex_timestamp":"000001a0465143b0"} 
[2026-08-28 08:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 08:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698771200001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698771200001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:37:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:37:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:37: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-28 08:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698771200001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":164576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:37:37] local.INFO: GPS data processed {"connection_id":164576,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:37:37] local.INFO: Acknowledgment sent {"connection_id":164576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:38:08] local.INFO: TCP Data received {"connection_id":164576,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a04655db78012d34c14006aa4840000e00e62a..."} 
[2026-08-28 08:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04655db78012d34c14006aa4840000e00e62a..."} 
[2026-08-28 08:38:08] local.INFO: Processing buffer {"connection_id":164576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04655db78012d34c14006aa4840000e00e62a..."} 
[2026-08-28 08:38:08] local.INFO: Packet analysis {"connection_id":164576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04655"} 
[2026-08-28 08:38:08] local.INFO: Extracted packet for processing {"connection_id":164576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04655"} 
[2026-08-28 08:38:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698848256001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:38: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-28 08:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787886427000,"timestamp_ms":1787886427000,"timestamp_seconds":1787886427,"priority":1,"record_length":96,"hex_timestamp":"000001a04655db78"} 
[2026-08-28 08:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:38:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 08:38:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:38:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698848256001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698848256001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:38:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:38:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:38: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-28 08:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698848256001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":164576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:38:08] local.INFO: GPS data processed {"connection_id":164576,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:38:08] local.INFO: Acknowledgment sent {"connection_id":164576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:38:17] local.INFO: TCP Data received {"connection_id":163310,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 08:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163310,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 08:38:17] local.INFO: Processing buffer {"connection_id":163310,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 08:38:17] local.INFO: IMEI packet received {"connection_id":163310,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 08:38:17] local.INFO: IMEI acknowledgment sent {"connection_id":163310,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 08:38:31] local.INFO: TCP Data received {"connection_id":163582,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:38:31] local.INFO: Processing buffer {"connection_id":163582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:38:31] local.INFO: IMEI packet received {"connection_id":163582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 08:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":163582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 08:38:36] local.INFO: TCP Data received {"connection_id":163582,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:38:36] local.INFO: Processing buffer {"connection_id":163582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:38:36] local.INFO: IMEI packet received {"connection_id":163582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 08:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":163582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 08:38:37] local.INFO: TCP Data received {"connection_id":163582,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a04655db78012d34c14006aa4840000e00e62a..."} 
[2026-08-28 08:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04655db78012d34c14006aa4840000e00e62a..."} 
[2026-08-28 08:38:37] local.INFO: Processing buffer {"connection_id":163582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04655db78012d34c14006aa4840000e00e62a..."} 
[2026-08-28 08:38:37] local.INFO: Packet analysis {"connection_id":163582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04655"} 
[2026-08-28 08:38:37] local.INFO: Extracted packet for processing {"connection_id":163582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04655"} 
[2026-08-28 08:38:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698848256001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787886427000,"timestamp_ms":1787886427000,"timestamp_seconds":1787886427,"priority":1,"record_length":96,"hex_timestamp":"000001a04655db78"} 
[2026-08-28 08:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 08:38:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698848256001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698848256001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:38:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:38:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:38: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-28 08:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698848256001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":163582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:38:37] local.INFO: GPS data processed {"connection_id":163582,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:38:37] local.INFO: Acknowledgment sent {"connection_id":163582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:39:08] local.INFO: TCP Data received {"connection_id":163582,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a04655db78012d34c14006aa4840000e00e62a..."} 
[2026-08-28 08:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04655db78012d34c14006aa4840000e00e62a..."} 
[2026-08-28 08:39:08] local.INFO: Processing buffer {"connection_id":163582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04655db78012d34c14006aa4840000e00e62a..."} 
[2026-08-28 08:39:08] local.INFO: Packet analysis {"connection_id":163582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04655"} 
[2026-08-28 08:39:08] local.INFO: Extracted packet for processing {"connection_id":163582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04655"} 
[2026-08-28 08:39:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698848256001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:39: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-28 08:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787886427000,"timestamp_ms":1787886427000,"timestamp_seconds":1787886427,"priority":1,"record_length":96,"hex_timestamp":"000001a04655db78"} 
[2026-08-28 08:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:39:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 08:39:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:39:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:39:08] 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-28 08:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698848256001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698848256001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:39:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:39:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:39: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-28 08:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698848256001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":163582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:39:08] local.INFO: GPS data processed {"connection_id":163582,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:39:08] local.INFO: Acknowledgment sent {"connection_id":163582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:39:36] local.INFO: TCP Data received {"connection_id":165925,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:39:36] local.INFO: Processing buffer {"connection_id":165925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:39:36] local.INFO: IMEI packet received {"connection_id":165925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 08:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":165925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 08:39:42] local.INFO: TCP Data received {"connection_id":165925,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:39:42] local.INFO: Processing buffer {"connection_id":165925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:39:42] local.INFO: IMEI packet received {"connection_id":165925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 08:39:42] local.INFO: IMEI acknowledgment sent {"connection_id":165925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 08:39:43] local.INFO: TCP Data received {"connection_id":165925,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a04655db78012d34c14006aa4840000e00e62a..."} 
[2026-08-28 08:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04655db78012d34c14006aa4840000e00e62a..."} 
[2026-08-28 08:39:43] local.INFO: Processing buffer {"connection_id":165925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04655db78012d34c14006aa4840000e00e62a..."} 
[2026-08-28 08:39:43] local.INFO: Packet analysis {"connection_id":165925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04655"} 
[2026-08-28 08:39:43] local.INFO: Extracted packet for processing {"connection_id":165925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04655"} 
[2026-08-28 08:39:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 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-28 08:39:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698848256001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:39:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:39:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 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-28 08:39:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787886427000,"timestamp_ms":1787886427000,"timestamp_seconds":1787886427,"priority":1,"record_length":96,"hex_timestamp":"000001a04655db78"} 
[2026-08-28 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-28 08:39:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 08:39: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-28 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-28 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-28 08:39:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:39:43] local.INFO: Teltonika packet parsed successfully {"connection_id":165925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:39:43] local.INFO: Passing IMEI to GPS processor {"connection_id":165925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:39:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":165925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:39: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-28 08:39:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:39:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:39:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698848256001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:39:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:39:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:39:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698848256001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:39:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:39:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 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-28 08:39:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:39:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698848256001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:39:43] local.INFO: DEBUG: GPS processor result {"connection_id":165925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:39:43] local.INFO: GPS data processed {"connection_id":165925,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:39:43] local.INFO: Acknowledgment sent {"connection_id":165925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:39:47] local.INFO: TCP Data received {"connection_id":165925,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a04655db78012d34c14006aa4840000e00e62a..."} 
[2026-08-28 08:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04655db78012d34c14006aa4840000e00e62a..."} 
[2026-08-28 08:39:47] local.INFO: Processing buffer {"connection_id":165925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04655db78012d34c14006aa4840000e00e62a..."} 
[2026-08-28 08:39:47] local.INFO: Packet analysis {"connection_id":165925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04655"} 
[2026-08-28 08:39:47] local.INFO: Extracted packet for processing {"connection_id":165925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04655"} 
[2026-08-28 08:39:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698848256001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:39:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:39: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-28 08:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787886427000,"timestamp_ms":1787886427000,"timestamp_seconds":1787886427,"priority":1,"record_length":96,"hex_timestamp":"000001a04655db78"} 
[2026-08-28 08:39:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:39:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 08:39: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-28 08:39:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:39:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":165925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":165925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":165925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:39:47] 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-28 08:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698848256001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698848256001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:39:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:39:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:39: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-28 08:39:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698848256001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":165925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:39:47] local.INFO: GPS data processed {"connection_id":165925,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:39:47] local.INFO: Acknowledgment sent {"connection_id":165925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:40:31] local.INFO: TCP Data received {"connection_id":164577,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:40:31] local.INFO: Processing buffer {"connection_id":164577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:40:31] local.INFO: IMEI packet received {"connection_id":164577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 08:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":164577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 08:40:36] local.INFO: TCP Data received {"connection_id":164577,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:40:36] local.INFO: Processing buffer {"connection_id":164577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:40:36] local.INFO: IMEI packet received {"connection_id":164577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 08:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":164577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 08:40:37] local.INFO: TCP Data received {"connection_id":164577,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a04655db78012d34c14006aa4840000e00e62a..."} 
[2026-08-28 08:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04655db78012d34c14006aa4840000e00e62a..."} 
[2026-08-28 08:40:37] local.INFO: Processing buffer {"connection_id":164577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04655db78012d34c14006aa4840000e00e62a..."} 
[2026-08-28 08:40:37] local.INFO: Packet analysis {"connection_id":164577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04655"} 
[2026-08-28 08:40:37] local.INFO: Extracted packet for processing {"connection_id":164577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04655"} 
[2026-08-28 08:40:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698848256001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787886427000,"timestamp_ms":1787886427000,"timestamp_seconds":1787886427,"priority":1,"record_length":96,"hex_timestamp":"000001a04655db78"} 
[2026-08-28 08:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 08:40:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698848256001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698848256001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:40:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:40:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:40: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-28 08:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698848256001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":164577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:40:37] local.INFO: GPS data processed {"connection_id":164577,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:40:37] local.INFO: Acknowledgment sent {"connection_id":164577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:41:08] local.INFO: TCP Data received {"connection_id":164577,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a04655db78012d34c14006aa4840000e00e62a..."} 
[2026-08-28 08:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04655db78012d34c14006aa4840000e00e62a..."} 
[2026-08-28 08:41:08] local.INFO: Processing buffer {"connection_id":164577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04655db78012d34c14006aa4840000e00e62a..."} 
[2026-08-28 08:41:08] local.INFO: Packet analysis {"connection_id":164577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04655"} 
[2026-08-28 08:41:08] local.INFO: Extracted packet for processing {"connection_id":164577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04655"} 
[2026-08-28 08:41:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698848256001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:41: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-28 08:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787886427000,"timestamp_ms":1787886427000,"timestamp_seconds":1787886427,"priority":1,"record_length":96,"hex_timestamp":"000001a04655db78"} 
[2026-08-28 08:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:41:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 08:41:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:41:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:41:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698848256001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698848256001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:41:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:41:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:41: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-28 08:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698848256001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":164577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:41:08] local.INFO: GPS data processed {"connection_id":164577,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:41:08] local.INFO: Acknowledgment sent {"connection_id":164577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:41:31] local.INFO: TCP Data received {"connection_id":163583,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:41:31] local.INFO: Processing buffer {"connection_id":163583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:41:31] local.INFO: IMEI packet received {"connection_id":163583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 08:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":163583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 08:41:36] local.INFO: TCP Data received {"connection_id":163583,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:41:36] local.INFO: Processing buffer {"connection_id":163583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:41:36] local.INFO: IMEI packet received {"connection_id":163583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 08:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":163583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 08:41:37] local.INFO: TCP Data received {"connection_id":163583,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04655db78012d34c14006aa4840000e00e62a..."} 
[2026-08-28 08:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04655db78012d34c14006aa4840000e00e62a..."} 
[2026-08-28 08:41:37] local.INFO: Processing buffer {"connection_id":163583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04655db78012d34c14006aa4840000e00e62a..."} 
[2026-08-28 08:41:37] local.INFO: Packet analysis {"connection_id":163583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04655"} 
[2026-08-28 08:41:37] local.INFO: Extracted packet for processing {"connection_id":163583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04655"} 
[2026-08-28 08:41:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698848256001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787886427000,"timestamp_ms":1787886427000,"timestamp_seconds":1787886427,"priority":1,"record_length":96,"hex_timestamp":"000001a04655db78"} 
[2026-08-28 08:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 08:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698848256001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698848256001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:41:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:41:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:41: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-28 08:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698848256001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":163583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:41:37] local.INFO: GPS data processed {"connection_id":163583,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:41:37] local.INFO: Acknowledgment sent {"connection_id":163583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:42:09] local.INFO: TCP Data received {"connection_id":163583,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04655db78012d34c14006aa4840000e00e62a..."} 
[2026-08-28 08:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04655db78012d34c14006aa4840000e00e62a..."} 
[2026-08-28 08:42:09] local.INFO: Processing buffer {"connection_id":163583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04655db78012d34c14006aa4840000e00e62a..."} 
[2026-08-28 08:42:09] local.INFO: Packet analysis {"connection_id":163583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04655"} 
[2026-08-28 08:42:09] local.INFO: Extracted packet for processing {"connection_id":163583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04655"} 
[2026-08-28 08:42:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698848256001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:42:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787886427000,"timestamp_ms":1787886427000,"timestamp_seconds":1787886427,"priority":1,"record_length":96,"hex_timestamp":"000001a04655db78"} 
[2026-08-28 08:42:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:42:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 08:42:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:42:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:42:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:42:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698848256001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698848256001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:42:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:42:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:42: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-28 08:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698848256001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":163583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:42:09] local.INFO: GPS data processed {"connection_id":163583,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:42:09] local.INFO: Acknowledgment sent {"connection_id":163583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:42:31] local.INFO: TCP Data received {"connection_id":164578,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:42:31] local.INFO: Processing buffer {"connection_id":164578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:42:31] local.INFO: IMEI packet received {"connection_id":164578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 08:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":164578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 08:42:36] local.INFO: TCP Data received {"connection_id":164578,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:42:36] local.INFO: Processing buffer {"connection_id":164578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:42:36] local.INFO: IMEI packet received {"connection_id":164578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 08:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":164578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 08:42:37] local.INFO: TCP Data received {"connection_id":164578,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a04655db78012d34c14006aa4840000e00e62a..."} 
[2026-08-28 08:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04655db78012d34c14006aa4840000e00e62a..."} 
[2026-08-28 08:42:37] local.INFO: Processing buffer {"connection_id":164578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04655db78012d34c14006aa4840000e00e62a..."} 
[2026-08-28 08:42:37] local.INFO: Packet analysis {"connection_id":164578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04655"} 
[2026-08-28 08:42:37] local.INFO: Extracted packet for processing {"connection_id":164578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04655"} 
[2026-08-28 08:42:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698848256001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787886427000,"timestamp_ms":1787886427000,"timestamp_seconds":1787886427,"priority":1,"record_length":96,"hex_timestamp":"000001a04655db78"} 
[2026-08-28 08:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 08:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698848256001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698848256001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:42:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:42:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:42: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-28 08:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698848256001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":164578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:42:37] local.INFO: GPS data processed {"connection_id":164578,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:42:37] local.INFO: Acknowledgment sent {"connection_id":164578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:43:08] local.INFO: TCP Data received {"connection_id":164578,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0465a7340012d34c14006aa4840000e00e629..."} 
[2026-08-28 08:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0465a7340012d34c14006aa4840000e00e629..."} 
[2026-08-28 08:43:08] local.INFO: Processing buffer {"connection_id":164578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0465a7340012d34c14006aa4840000e00e629..."} 
[2026-08-28 08:43:08] local.INFO: Packet analysis {"connection_id":164578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0465a"} 
[2026-08-28 08:43:08] local.INFO: Extracted packet for processing {"connection_id":164578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0465a"} 
[2026-08-28 08:43:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:43:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698925312001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:43:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:43:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:43:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:43:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787886728000,"timestamp_ms":1787886728000,"timestamp_seconds":1787886728,"priority":1,"record_length":96,"hex_timestamp":"000001a0465a7340"} 
[2026-08-28 08:43:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:43:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 08:43:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:43:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:43:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:43:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:43:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:43:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:43:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:43: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-28 08:43:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:43:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:43:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698925312001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:43:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:43:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:43:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698925312001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:43:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:43:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:43: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-28 08:43:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:43:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698925312001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:43:08] local.INFO: DEBUG: GPS processor result {"connection_id":164578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:43:08] local.INFO: GPS data processed {"connection_id":164578,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:43:08] local.INFO: Acknowledgment sent {"connection_id":164578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:43:36] local.INFO: TCP Data received {"connection_id":163312,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:43:36] local.INFO: Processing buffer {"connection_id":163312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:43:36] local.INFO: IMEI packet received {"connection_id":163312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 08:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":163312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 08:43:41] local.INFO: TCP Data received {"connection_id":163312,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:43:41] local.INFO: Processing buffer {"connection_id":163312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:43:41] local.INFO: IMEI packet received {"connection_id":163312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 08:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":163312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 08:43:42] local.INFO: TCP Data received {"connection_id":163312,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0465a7340012d34c14006aa4840000e00e629..."} 
[2026-08-28 08:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0465a7340012d34c14006aa4840000e00e629..."} 
[2026-08-28 08:43:42] local.INFO: Processing buffer {"connection_id":163312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0465a7340012d34c14006aa4840000e00e629..."} 
[2026-08-28 08:43:42] local.INFO: Packet analysis {"connection_id":163312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0465a"} 
[2026-08-28 08:43:42] local.INFO: Extracted packet for processing {"connection_id":163312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0465a"} 
[2026-08-28 08:43:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08: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-28 08:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698925312001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:43:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:43:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08: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-28 08:43:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787886728000,"timestamp_ms":1787886728000,"timestamp_seconds":1787886728,"priority":1,"record_length":96,"hex_timestamp":"000001a0465a7340"} 
[2026-08-28 08: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-28 08:43:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08: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-28 08: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-28 08: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-28 08: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-28 08:43:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:43:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:43:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:43:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08: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-28 08:43:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:43:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:43:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698925312001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:43:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:43:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:43:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698925312001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:43:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:43:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08: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-28 08:43:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:43:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698925312001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":163312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:43:42] local.INFO: GPS data processed {"connection_id":163312,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:43:42] local.INFO: Acknowledgment sent {"connection_id":163312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:43:47] local.INFO: TCP Data received {"connection_id":163312,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0465a7340012d34c14006aa4840000e00e629..."} 
[2026-08-28 08:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0465a7340012d34c14006aa4840000e00e629..."} 
[2026-08-28 08:43:47] local.INFO: Processing buffer {"connection_id":163312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0465a7340012d34c14006aa4840000e00e629..."} 
[2026-08-28 08:43:47] local.INFO: Packet analysis {"connection_id":163312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0465a"} 
[2026-08-28 08:43:47] local.INFO: Extracted packet for processing {"connection_id":163312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0465a"} 
[2026-08-28 08:43:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08: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-28 08:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698925312001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:43:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:43:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08: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-28 08:43:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787886728000,"timestamp_ms":1787886728000,"timestamp_seconds":1787886728,"priority":1,"record_length":96,"hex_timestamp":"000001a0465a7340"} 
[2026-08-28 08: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-28 08:43:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 08:43: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-28 08: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-28 08: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-28 08:43:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:43:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:43:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:43:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:43:47] 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-28 08:43:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:43:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:43:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698925312001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:43:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:43:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:43:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698925312001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:43:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:43:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08: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-28 08:43:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:43:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698925312001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":163312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:43:47] local.INFO: GPS data processed {"connection_id":163312,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:43:47] local.INFO: Acknowledgment sent {"connection_id":163312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:43:52] local.INFO: TCP Data received {"connection_id":163311,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 08:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163311,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 08:43:52] local.INFO: Processing buffer {"connection_id":163311,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 08:43:52] local.INFO: IMEI packet received {"connection_id":163311,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 08:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":163311,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 08:44:31] local.INFO: TCP Data received {"connection_id":163313,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:44:31] local.INFO: Processing buffer {"connection_id":163313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:44:31] local.INFO: IMEI packet received {"connection_id":163313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 08:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":163313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 08:44:36] local.INFO: TCP Data received {"connection_id":163313,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:44:36] local.INFO: Processing buffer {"connection_id":163313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:44:36] local.INFO: IMEI packet received {"connection_id":163313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 08:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":163313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 08:44:37] local.INFO: TCP Data received {"connection_id":163313,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0465a7340012d34c14006aa4840000e00e629..."} 
[2026-08-28 08:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0465a7340012d34c14006aa4840000e00e629..."} 
[2026-08-28 08:44:37] local.INFO: Processing buffer {"connection_id":163313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0465a7340012d34c14006aa4840000e00e629..."} 
[2026-08-28 08:44:37] local.INFO: Packet analysis {"connection_id":163313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0465a"} 
[2026-08-28 08:44:37] local.INFO: Extracted packet for processing {"connection_id":163313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0465a"} 
[2026-08-28 08:44:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698925312001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787886728000,"timestamp_ms":1787886728000,"timestamp_seconds":1787886728,"priority":1,"record_length":96,"hex_timestamp":"000001a0465a7340"} 
[2026-08-28 08:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 08:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:44:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698925312001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698925312001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:44:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:44:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:44: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-28 08:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698925312001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":163313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:44:37] local.INFO: GPS data processed {"connection_id":163313,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:44:37] local.INFO: Acknowledgment sent {"connection_id":163313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:45:08] local.INFO: TCP Data received {"connection_id":163313,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0465a7340012d34c14006aa4840000e00e629..."} 
[2026-08-28 08:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0465a7340012d34c14006aa4840000e00e629..."} 
[2026-08-28 08:45:08] local.INFO: Processing buffer {"connection_id":163313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0465a7340012d34c14006aa4840000e00e629..."} 
[2026-08-28 08:45:08] local.INFO: Packet analysis {"connection_id":163313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0465a"} 
[2026-08-28 08:45:08] local.INFO: Extracted packet for processing {"connection_id":163313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0465a"} 
[2026-08-28 08:45:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698925312001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:45: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-28 08:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787886728000,"timestamp_ms":1787886728000,"timestamp_seconds":1787886728,"priority":1,"record_length":96,"hex_timestamp":"000001a0465a7340"} 
[2026-08-28 08:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:45:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 08:45:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:45:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:45:08] 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-28 08:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698925312001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698925312001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:45:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:45:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:45: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-28 08:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698925312001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":163313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:45:08] local.INFO: GPS data processed {"connection_id":163313,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:45:08] local.INFO: Acknowledgment sent {"connection_id":163313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:45:31] local.INFO: TCP Data received {"connection_id":163584,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:45:31] local.INFO: Processing buffer {"connection_id":163584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:45:31] local.INFO: IMEI packet received {"connection_id":163584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 08:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":163584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 08:45:36] local.INFO: TCP Data received {"connection_id":163584,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:45:36] local.INFO: Processing buffer {"connection_id":163584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:45:36] local.INFO: IMEI packet received {"connection_id":163584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 08:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":163584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 08:45:37] local.INFO: TCP Data received {"connection_id":163584,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0465a7340012d34c14006aa4840000e00e629..."} 
[2026-08-28 08:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0465a7340012d34c14006aa4840000e00e629..."} 
[2026-08-28 08:45:37] local.INFO: Processing buffer {"connection_id":163584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0465a7340012d34c14006aa4840000e00e629..."} 
[2026-08-28 08:45:37] local.INFO: Packet analysis {"connection_id":163584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0465a"} 
[2026-08-28 08:45:37] local.INFO: Extracted packet for processing {"connection_id":163584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0465a"} 
[2026-08-28 08:45:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698925312001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787886728000,"timestamp_ms":1787886728000,"timestamp_seconds":1787886728,"priority":1,"record_length":96,"hex_timestamp":"000001a0465a7340"} 
[2026-08-28 08:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 08:45:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698925312001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698925312001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:45:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:45:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:45: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-28 08:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698925312001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:45:37] 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":706803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:45:37] local.INFO: GPS data processed {"connection_id":163584,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:45:37] local.INFO: Acknowledgment sent {"connection_id":163584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:46:09] local.INFO: TCP Data received {"connection_id":163584,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0465a7340012d34c14006aa4840000e00e629..."} 
[2026-08-28 08:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0465a7340012d34c14006aa4840000e00e629..."} 
[2026-08-28 08:46:09] local.INFO: Processing buffer {"connection_id":163584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0465a7340012d34c14006aa4840000e00e629..."} 
[2026-08-28 08:46:09] local.INFO: Packet analysis {"connection_id":163584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0465a"} 
[2026-08-28 08:46:09] local.INFO: Extracted packet for processing {"connection_id":163584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0465a"} 
[2026-08-28 08:46:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698925312001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:46:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:46:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787886728000,"timestamp_ms":1787886728000,"timestamp_seconds":1787886728,"priority":1,"record_length":96,"hex_timestamp":"000001a0465a7340"} 
[2026-08-28 08:46:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:46:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 08:46:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:46:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:46:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:46:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698925312001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698925312001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:46:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:46:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:46: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-28 08:46:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698925312001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:46: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":706804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:46:09] local.INFO: GPS data processed {"connection_id":163584,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:46:09] local.INFO: Acknowledgment sent {"connection_id":163584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:46:31] local.INFO: TCP Data received {"connection_id":164579,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:46:31] local.INFO: Processing buffer {"connection_id":164579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:46:31] local.INFO: IMEI packet received {"connection_id":164579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 08:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":164579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 08:46:36] local.INFO: TCP Data received {"connection_id":164579,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:46:36] local.INFO: Processing buffer {"connection_id":164579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:46:36] local.INFO: IMEI packet received {"connection_id":164579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 08:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":164579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 08:46:37] local.INFO: TCP Data received {"connection_id":164579,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0465a7340012d34c14006aa4840000e00e629..."} 
[2026-08-28 08:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0465a7340012d34c14006aa4840000e00e629..."} 
[2026-08-28 08:46:37] local.INFO: Processing buffer {"connection_id":164579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0465a7340012d34c14006aa4840000e00e629..."} 
[2026-08-28 08:46:37] local.INFO: Packet analysis {"connection_id":164579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0465a"} 
[2026-08-28 08:46:37] local.INFO: Extracted packet for processing {"connection_id":164579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0465a"} 
[2026-08-28 08:46:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698925312001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787886728000,"timestamp_ms":1787886728000,"timestamp_seconds":1787886728,"priority":1,"record_length":96,"hex_timestamp":"000001a0465a7340"} 
[2026-08-28 08:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 08:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:46:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698925312001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698925312001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:46:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:46:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:46: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-28 08:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698925312001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":164579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:46:37] local.INFO: GPS data processed {"connection_id":164579,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:46:37] local.INFO: Acknowledgment sent {"connection_id":164579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:47:09] local.INFO: TCP Data received {"connection_id":164579,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0465a7340012d34c14006aa4840000e00e629..."} 
[2026-08-28 08:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0465a7340012d34c14006aa4840000e00e629..."} 
[2026-08-28 08:47:09] local.INFO: Processing buffer {"connection_id":164579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0465a7340012d34c14006aa4840000e00e629..."} 
[2026-08-28 08:47:09] local.INFO: Packet analysis {"connection_id":164579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0465a"} 
[2026-08-28 08:47:09] local.INFO: Extracted packet for processing {"connection_id":164579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0465a"} 
[2026-08-28 08:47:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698925312001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787886728000,"timestamp_ms":1787886728000,"timestamp_seconds":1787886728,"priority":1,"record_length":96,"hex_timestamp":"000001a0465a7340"} 
[2026-08-28 08:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 08:47:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:47:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:47:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698925312001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698925312001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:47:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:47:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:47: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-28 08:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698925312001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":164579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:47:09] local.INFO: GPS data processed {"connection_id":164579,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:47:09] local.INFO: Acknowledgment sent {"connection_id":164579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:47:31] local.INFO: TCP Data received {"connection_id":163314,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:47:31] local.INFO: Processing buffer {"connection_id":163314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:47:31] local.INFO: IMEI packet received {"connection_id":163314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 08:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":163314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 08:47:36] local.INFO: TCP Data received {"connection_id":163314,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:47:36] local.INFO: Processing buffer {"connection_id":163314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:47:36] local.INFO: IMEI packet received {"connection_id":163314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 08:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":163314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 08:47:37] local.INFO: TCP Data received {"connection_id":163314,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0465a7340012d34c14006aa4840000e00e629..."} 
[2026-08-28 08:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0465a7340012d34c14006aa4840000e00e629..."} 
[2026-08-28 08:47:37] local.INFO: Processing buffer {"connection_id":163314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0465a7340012d34c14006aa4840000e00e629..."} 
[2026-08-28 08:47:37] local.INFO: Packet analysis {"connection_id":163314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0465a"} 
[2026-08-28 08:47:37] local.INFO: Extracted packet for processing {"connection_id":163314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0465a"} 
[2026-08-28 08:47:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457698925312001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787886728000,"timestamp_ms":1787886728000,"timestamp_seconds":1787886728,"priority":1,"record_length":96,"hex_timestamp":"000001a0465a7340"} 
[2026-08-28 08:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 08:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457698925312001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457698925312001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:47:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:47:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:47: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-28 08:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457698925312001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":163314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:47:37] local.INFO: GPS data processed {"connection_id":163314,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:47:37] local.INFO: Acknowledgment sent {"connection_id":163314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:48:08] local.INFO: TCP Data received {"connection_id":163314,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0465f0b08012d34c14006aa4840001100e62b..."} 
[2026-08-28 08:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0465f0b08012d34c14006aa4840001100e62b..."} 
[2026-08-28 08:48:08] local.INFO: Processing buffer {"connection_id":163314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0465f0b08012d34c14006aa4840001100e62b..."} 
[2026-08-28 08:48:08] local.INFO: Packet analysis {"connection_id":163314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0465f"} 
[2026-08-28 08:48:08] local.INFO: Extracted packet for processing {"connection_id":163314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0465f"} 
[2026-08-28 08:48:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699002368001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:48:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787887029000,"timestamp_ms":1787887029000,"timestamp_seconds":1787887029,"priority":1,"record_length":96,"hex_timestamp":"000001a0465f0b08"} 
[2026-08-28 08:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:48:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 08:48:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:48:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:48: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-28 08:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699002368001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699002368001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:48:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:48:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:48: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-28 08:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699002368001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":163314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:48:08] local.INFO: GPS data processed {"connection_id":163314,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:48:08] local.INFO: Acknowledgment sent {"connection_id":163314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:48:36] local.INFO: TCP Data received {"connection_id":165926,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:48:36] local.INFO: Processing buffer {"connection_id":165926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:48:36] local.INFO: IMEI packet received {"connection_id":165926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 08:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":165926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 08:48:41] local.INFO: TCP Data received {"connection_id":165926,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:48:41] local.INFO: Processing buffer {"connection_id":165926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:48:41] local.INFO: IMEI packet received {"connection_id":165926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 08:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":165926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 08:48:55] local.INFO: TCP Data received {"connection_id":165926,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0465f0b08012d34c14006aa4840001100e62b..."} 
[2026-08-28 08:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0465f0b08012d34c14006aa4840001100e62b..."} 
[2026-08-28 08:48:55] local.INFO: Processing buffer {"connection_id":165926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0465f0b08012d34c14006aa4840001100e62b..."} 
[2026-08-28 08:48:55] local.INFO: Packet analysis {"connection_id":165926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0465f"} 
[2026-08-28 08:48:55] local.INFO: Extracted packet for processing {"connection_id":165926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0465f"} 
[2026-08-28 08:48:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:48:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699002368001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:48:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:48:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:48: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-28 08:48:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787887029000,"timestamp_ms":1787887029000,"timestamp_seconds":1787887029,"priority":1,"record_length":96,"hex_timestamp":"000001a0465f0b08"} 
[2026-08-28 08:48:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:48:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 08:48:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:48:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:48:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:48:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:48:55] local.INFO: Teltonika packet parsed successfully {"connection_id":165926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:48:55] local.INFO: Passing IMEI to GPS processor {"connection_id":165926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:48:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":165926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:48:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:48:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:48:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:48:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699002368001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:48:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:48:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:48:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699002368001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:48:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:48:55] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:48: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-28 08:48:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:48:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699002368001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:48:55] local.INFO: DEBUG: GPS processor result {"connection_id":165926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:48:55] local.INFO: GPS data processed {"connection_id":165926,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:48:55] local.INFO: Acknowledgment sent {"connection_id":165926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:48:57] local.INFO: TCP Data received {"connection_id":165926,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0465f0b08012d34c14006aa4840001100e62b..."} 
[2026-08-28 08:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0465f0b08012d34c14006aa4840001100e62b..."} 
[2026-08-28 08:48:57] local.INFO: Processing buffer {"connection_id":165926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0465f0b08012d34c14006aa4840001100e62b..."} 
[2026-08-28 08:48:57] local.INFO: Packet analysis {"connection_id":165926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0465f"} 
[2026-08-28 08:48:57] local.INFO: Extracted packet for processing {"connection_id":165926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0465f"} 
[2026-08-28 08:48:57] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:48:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:48:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699002368001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:48:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:48:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:48: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-28 08:48:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787887029000,"timestamp_ms":1787887029000,"timestamp_seconds":1787887029,"priority":1,"record_length":96,"hex_timestamp":"000001a0465f0b08"} 
[2026-08-28 08:48:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:48:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:48:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 08:48:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:48:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:48:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:48:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:48:57] local.INFO: Teltonika packet parsed successfully {"connection_id":165926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:48:57] local.INFO: Passing IMEI to GPS processor {"connection_id":165926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:48:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":165926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:48:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:48:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:48:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:48:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699002368001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:48:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:48:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:48:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699002368001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:48:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:48:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:48: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-28 08:48:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:48:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699002368001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:48:57] local.INFO: DEBUG: GPS processor result {"connection_id":165926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:48:57] local.INFO: GPS data processed {"connection_id":165926,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:48:57] local.INFO: Acknowledgment sent {"connection_id":165926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:49:27] local.INFO: TCP Data received {"connection_id":163585,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 08:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163585,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 08:49:27] local.INFO: Processing buffer {"connection_id":163585,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 08:49:27] local.INFO: IMEI packet received {"connection_id":163585,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 08:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":163585,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 08:49:31] local.INFO: TCP Data received {"connection_id":165927,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:49:31] local.INFO: Processing buffer {"connection_id":165927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:49:31] local.INFO: IMEI packet received {"connection_id":165927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 08:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":165927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 08:49:36] local.INFO: TCP Data received {"connection_id":165927,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:49:36] local.INFO: Processing buffer {"connection_id":165927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:49:36] local.INFO: IMEI packet received {"connection_id":165927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 08:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":165927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 08:49:37] local.INFO: TCP Data received {"connection_id":165927,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0465f0b08012d34c14006aa4840001100e62b..."} 
[2026-08-28 08:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0465f0b08012d34c14006aa4840001100e62b..."} 
[2026-08-28 08:49:37] local.INFO: Processing buffer {"connection_id":165927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0465f0b08012d34c14006aa4840001100e62b..."} 
[2026-08-28 08:49:37] local.INFO: Packet analysis {"connection_id":165927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0465f"} 
[2026-08-28 08:49:37] local.INFO: Extracted packet for processing {"connection_id":165927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0465f"} 
[2026-08-28 08:49:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08: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-28 08:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699002368001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787887029000,"timestamp_ms":1787887029000,"timestamp_seconds":1787887029,"priority":1,"record_length":96,"hex_timestamp":"000001a0465f0b08"} 
[2026-08-28 08: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-28 08:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 08:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08: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-28 08: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-28 08:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":165927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":165927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":165927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699002368001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699002368001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:49:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:49:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:49: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-28 08:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699002368001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":165927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:49:37] local.INFO: GPS data processed {"connection_id":165927,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:49:37] local.INFO: Acknowledgment sent {"connection_id":165927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:50:08] local.INFO: TCP Data received {"connection_id":165927,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0465f0b08012d34c14006aa4840001100e62b..."} 
[2026-08-28 08:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0465f0b08012d34c14006aa4840001100e62b..."} 
[2026-08-28 08:50:08] local.INFO: Processing buffer {"connection_id":165927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0465f0b08012d34c14006aa4840001100e62b..."} 
[2026-08-28 08:50:08] local.INFO: Packet analysis {"connection_id":165927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0465f"} 
[2026-08-28 08:50:08] local.INFO: Extracted packet for processing {"connection_id":165927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0465f"} 
[2026-08-28 08:50:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699002368001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:50: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-28 08:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787887029000,"timestamp_ms":1787887029000,"timestamp_seconds":1787887029,"priority":1,"record_length":96,"hex_timestamp":"000001a0465f0b08"} 
[2026-08-28 08:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:50:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 08:50:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:50:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":165927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":165927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":165927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:50:08] 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-28 08:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699002368001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699002368001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:50:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:50:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:50: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-28 08:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699002368001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":165927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:50:08] local.INFO: GPS data processed {"connection_id":165927,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:50:08] local.INFO: Acknowledgment sent {"connection_id":165927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:50:31] local.INFO: TCP Data received {"connection_id":164580,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:50:31] local.INFO: Processing buffer {"connection_id":164580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:50:31] local.INFO: IMEI packet received {"connection_id":164580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 08:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":164580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 08:50:36] local.INFO: TCP Data received {"connection_id":164580,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:50:36] local.INFO: Processing buffer {"connection_id":164580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:50:36] local.INFO: IMEI packet received {"connection_id":164580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 08:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":164580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 08:50:37] local.INFO: TCP Data received {"connection_id":164580,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0465f0b08012d34c14006aa4840001100e62b..."} 
[2026-08-28 08:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0465f0b08012d34c14006aa4840001100e62b..."} 
[2026-08-28 08:50:37] local.INFO: Processing buffer {"connection_id":164580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0465f0b08012d34c14006aa4840001100e62b..."} 
[2026-08-28 08:50:37] local.INFO: Packet analysis {"connection_id":164580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0465f"} 
[2026-08-28 08:50:37] local.INFO: Extracted packet for processing {"connection_id":164580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0465f"} 
[2026-08-28 08:50:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699002368001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787887029000,"timestamp_ms":1787887029000,"timestamp_seconds":1787887029,"priority":1,"record_length":96,"hex_timestamp":"000001a0465f0b08"} 
[2026-08-28 08:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 08:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:50:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699002368001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699002368001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:50:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:50:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:50: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-28 08:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699002368001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":164580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:50:37] local.INFO: GPS data processed {"connection_id":164580,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:50:37] local.INFO: Acknowledgment sent {"connection_id":164580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:51:09] local.INFO: TCP Data received {"connection_id":164580,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0465f0b08012d34c14006aa4840001100e62b..."} 
[2026-08-28 08:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0465f0b08012d34c14006aa4840001100e62b..."} 
[2026-08-28 08:51:09] local.INFO: Processing buffer {"connection_id":164580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0465f0b08012d34c14006aa4840001100e62b..."} 
[2026-08-28 08:51:09] local.INFO: Packet analysis {"connection_id":164580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0465f"} 
[2026-08-28 08:51:09] local.INFO: Extracted packet for processing {"connection_id":164580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0465f"} 
[2026-08-28 08:51:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699002368001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:51:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:51:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787887029000,"timestamp_ms":1787887029000,"timestamp_seconds":1787887029,"priority":1,"record_length":96,"hex_timestamp":"000001a0465f0b08"} 
[2026-08-28 08:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:51:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 08:51:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:51:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:51:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699002368001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699002368001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:51:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:51:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:51: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-28 08:51:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699002368001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":164580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:51:09] local.INFO: GPS data processed {"connection_id":164580,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:51:09] local.INFO: Acknowledgment sent {"connection_id":164580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:51:31] local.INFO: TCP Data received {"connection_id":165928,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:51:31] local.INFO: Processing buffer {"connection_id":165928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:51:31] local.INFO: IMEI packet received {"connection_id":165928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 08:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":165928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 08:51:36] local.INFO: TCP Data received {"connection_id":165928,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:51:36] local.INFO: Processing buffer {"connection_id":165928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:51:36] local.INFO: IMEI packet received {"connection_id":165928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 08:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":165928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 08:51:37] local.INFO: TCP Data received {"connection_id":165928,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0465f0b08012d34c14006aa4840001100e62b..."} 
[2026-08-28 08:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0465f0b08012d34c14006aa4840001100e62b..."} 
[2026-08-28 08:51:37] local.INFO: Processing buffer {"connection_id":165928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0465f0b08012d34c14006aa4840001100e62b..."} 
[2026-08-28 08:51:37] local.INFO: Packet analysis {"connection_id":165928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0465f"} 
[2026-08-28 08:51:37] local.INFO: Extracted packet for processing {"connection_id":165928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0465f"} 
[2026-08-28 08:51:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699002368001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787887029000,"timestamp_ms":1787887029000,"timestamp_seconds":1787887029,"priority":1,"record_length":96,"hex_timestamp":"000001a0465f0b08"} 
[2026-08-28 08:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 08:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":165928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":165928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":165928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699002368001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699002368001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:51:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:51:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:51: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-28 08:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699002368001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":165928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:51:37] local.INFO: GPS data processed {"connection_id":165928,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:51:37] local.INFO: Acknowledgment sent {"connection_id":165928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:52:08] local.INFO: TCP Data received {"connection_id":165928,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0465f0b08012d34c14006aa4840001100e62b..."} 
[2026-08-28 08:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0465f0b08012d34c14006aa4840001100e62b..."} 
[2026-08-28 08:52:08] local.INFO: Processing buffer {"connection_id":165928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0465f0b08012d34c14006aa4840001100e62b..."} 
[2026-08-28 08:52:08] local.INFO: Packet analysis {"connection_id":165928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0465f"} 
[2026-08-28 08:52:08] local.INFO: Extracted packet for processing {"connection_id":165928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0465f"} 
[2026-08-28 08:52:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08: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-28 08:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699002368001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:52: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-28 08:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787887029000,"timestamp_ms":1787887029000,"timestamp_seconds":1787887029,"priority":1,"record_length":96,"hex_timestamp":"000001a0465f0b08"} 
[2026-08-28 08: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-28 08:52:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 08:52:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08: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-28 08: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-28 08:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":165928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":165928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":165928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699002368001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699002368001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:52:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:52:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:52: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-28 08:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699002368001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":165928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:52:08] local.INFO: GPS data processed {"connection_id":165928,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:52:08] local.INFO: Acknowledgment sent {"connection_id":165928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:52:31] local.INFO: TCP Data received {"connection_id":163586,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:52:31] local.INFO: Processing buffer {"connection_id":163586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:52:31] local.INFO: IMEI packet received {"connection_id":163586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 08:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":163586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 08:52:36] local.INFO: TCP Data received {"connection_id":163586,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:52:36] local.INFO: Processing buffer {"connection_id":163586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:52:36] local.INFO: IMEI packet received {"connection_id":163586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 08:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":163586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 08:52:37] local.INFO: TCP Data received {"connection_id":163586,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0465f0b08012d34c14006aa4840001100e62b..."} 
[2026-08-28 08:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0465f0b08012d34c14006aa4840001100e62b..."} 
[2026-08-28 08:52:37] local.INFO: Processing buffer {"connection_id":163586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0465f0b08012d34c14006aa4840001100e62b..."} 
[2026-08-28 08:52:37] local.INFO: Packet analysis {"connection_id":163586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0465f"} 
[2026-08-28 08:52:37] local.INFO: Extracted packet for processing {"connection_id":163586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0465f"} 
[2026-08-28 08:52:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699002368001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787887029000,"timestamp_ms":1787887029000,"timestamp_seconds":1787887029,"priority":1,"record_length":96,"hex_timestamp":"000001a0465f0b08"} 
[2026-08-28 08:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 08:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699002368001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699002368001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:52:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:52:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:52: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-28 08:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699002368001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:52:37] 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":706817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:52:37] local.INFO: GPS data processed {"connection_id":163586,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:52:37] local.INFO: Acknowledgment sent {"connection_id":163586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:53:08] local.INFO: TCP Data received {"connection_id":163586,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a04663a2d0012d34c14006aa4840000e00e629..."} 
[2026-08-28 08:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04663a2d0012d34c14006aa4840000e00e629..."} 
[2026-08-28 08:53:08] local.INFO: Processing buffer {"connection_id":163586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04663a2d0012d34c14006aa4840000e00e629..."} 
[2026-08-28 08:53:08] local.INFO: Packet analysis {"connection_id":163586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04663"} 
[2026-08-28 08:53:08] local.INFO: Extracted packet for processing {"connection_id":163586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04663"} 
[2026-08-28 08:53:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08: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-28 08:53:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699079424001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:53:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:53:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:53: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-28 08:53:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787887330000,"timestamp_ms":1787887330000,"timestamp_seconds":1787887330,"priority":1,"record_length":96,"hex_timestamp":"000001a04663a2d0"} 
[2026-08-28 08: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-28 08:53:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 08:53:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08: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-28 08: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-28 08:53:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:53:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:53:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:53:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:53:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:53:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:53:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:53:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699079424001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:53:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:53:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:53:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699079424001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:53:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:53:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:53: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-28 08:53:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:53:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699079424001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:53:09] 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":706818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:53:09] local.INFO: GPS data processed {"connection_id":163586,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:53:09] local.INFO: Acknowledgment sent {"connection_id":163586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:53:31] local.INFO: TCP Data received {"connection_id":164582,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:53:31] local.INFO: Processing buffer {"connection_id":164582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:53:31] local.INFO: IMEI packet received {"connection_id":164582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 08:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":164582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 08:53:36] local.INFO: TCP Data received {"connection_id":164582,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:53:36] local.INFO: Processing buffer {"connection_id":164582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:53:36] local.INFO: IMEI packet received {"connection_id":164582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 08:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":164582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 08:53:37] local.INFO: TCP Data received {"connection_id":164582,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04663a2d0012d34c14006aa4840000e00e629..."} 
[2026-08-28 08:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04663a2d0012d34c14006aa4840000e00e629..."} 
[2026-08-28 08:53:37] local.INFO: Processing buffer {"connection_id":164582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04663a2d0012d34c14006aa4840000e00e629..."} 
[2026-08-28 08:53:37] local.INFO: Packet analysis {"connection_id":164582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04663"} 
[2026-08-28 08:53:37] local.INFO: Extracted packet for processing {"connection_id":164582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04663"} 
[2026-08-28 08:53:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699079424001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787887330000,"timestamp_ms":1787887330000,"timestamp_seconds":1787887330,"priority":1,"record_length":96,"hex_timestamp":"000001a04663a2d0"} 
[2026-08-28 08:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 08:53:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699079424001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699079424001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:53:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:53:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:53: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-28 08:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699079424001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":164582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:53:37] local.INFO: GPS data processed {"connection_id":164582,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:53:37] local.INFO: Acknowledgment sent {"connection_id":164582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:54:09] local.INFO: TCP Data received {"connection_id":164582,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04663a2d0012d34c14006aa4840000e00e629..."} 
[2026-08-28 08:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04663a2d0012d34c14006aa4840000e00e629..."} 
[2026-08-28 08:54:09] local.INFO: Processing buffer {"connection_id":164582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04663a2d0012d34c14006aa4840000e00e629..."} 
[2026-08-28 08:54:09] local.INFO: Packet analysis {"connection_id":164582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04663"} 
[2026-08-28 08:54:09] local.INFO: Extracted packet for processing {"connection_id":164582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04663"} 
[2026-08-28 08:54:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699079424001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:54:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:54:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787887330000,"timestamp_ms":1787887330000,"timestamp_seconds":1787887330,"priority":1,"record_length":96,"hex_timestamp":"000001a04663a2d0"} 
[2026-08-28 08:54:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:54:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 08:54:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:54:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:54:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:54:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699079424001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699079424001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:54:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:54:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:54: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-28 08:54:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699079424001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:54:09] local.INFO: DEBUG: GPS processor result {"connection_id":164582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:54:09] local.INFO: GPS data processed {"connection_id":164582,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:54:09] local.INFO: Acknowledgment sent {"connection_id":164582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:54:36] local.INFO: TCP Data received {"connection_id":165929,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:54:36] local.INFO: Processing buffer {"connection_id":165929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:54:36] local.INFO: IMEI packet received {"connection_id":165929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 08:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":165929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 08:54:41] local.INFO: TCP Data received {"connection_id":165929,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:54:41] local.INFO: Processing buffer {"connection_id":165929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:54:41] local.INFO: IMEI packet received {"connection_id":165929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 08:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":165929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 08:54:42] local.INFO: TCP Data received {"connection_id":165929,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a04663a2d0012d34c14006aa4840000e00e629..."} 
[2026-08-28 08:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04663a2d0012d34c14006aa4840000e00e629..."} 
[2026-08-28 08:54:42] local.INFO: Processing buffer {"connection_id":165929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04663a2d0012d34c14006aa4840000e00e629..."} 
[2026-08-28 08:54:42] local.INFO: Packet analysis {"connection_id":165929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04663"} 
[2026-08-28 08:54:42] local.INFO: Extracted packet for processing {"connection_id":165929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04663"} 
[2026-08-28 08:54:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08: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-28 08:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699079424001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:54:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08: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-28 08:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787887330000,"timestamp_ms":1787887330000,"timestamp_seconds":1787887330,"priority":1,"record_length":96,"hex_timestamp":"000001a04663a2d0"} 
[2026-08-28 08: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-28 08:54:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08: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":233,"data_length":795,"current_offset":136} 
[2026-08-28 08:54: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-28 08: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-28 08: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-28 08:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:54: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-28 08:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699079424001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699079424001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:54:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:54:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08: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-28 08:54:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699079424001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":165929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:54:42] local.INFO: GPS data processed {"connection_id":165929,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:54:42] local.INFO: Acknowledgment sent {"connection_id":165929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:54:47] local.INFO: TCP Data received {"connection_id":165929,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a04663a2d0012d34c14006aa4840000e00e629..."} 
[2026-08-28 08:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04663a2d0012d34c14006aa4840000e00e629..."} 
[2026-08-28 08:54:47] local.INFO: Processing buffer {"connection_id":165929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04663a2d0012d34c14006aa4840000e00e629..."} 
[2026-08-28 08:54:47] local.INFO: Packet analysis {"connection_id":165929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04663"} 
[2026-08-28 08:54:47] local.INFO: Extracted packet for processing {"connection_id":165929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04663"} 
[2026-08-28 08:54:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08: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-28 08:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699079424001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:54:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:54: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-28 08:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787887330000,"timestamp_ms":1787887330000,"timestamp_seconds":1787887330,"priority":1,"record_length":96,"hex_timestamp":"000001a04663a2d0"} 
[2026-08-28 08: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-28 08:54:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 08:54: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-28 08:54:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08: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-28 08:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":165929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":165929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":165929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:54:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699079424001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699079424001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:54:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:54:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:54: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-28 08:54:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699079424001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":165929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:54:47] local.INFO: GPS data processed {"connection_id":165929,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:54:47] local.INFO: Acknowledgment sent {"connection_id":165929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:55:02] local.INFO: TCP Data received {"connection_id":164581,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 08:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164581,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 08:55:02] local.INFO: Processing buffer {"connection_id":164581,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 08:55:02] local.INFO: IMEI packet received {"connection_id":164581,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 08:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":164581,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 08:55:31] local.INFO: TCP Data received {"connection_id":163587,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:55:31] local.INFO: Processing buffer {"connection_id":163587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:55:31] local.INFO: IMEI packet received {"connection_id":163587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 08:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":163587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 08:55:36] local.INFO: TCP Data received {"connection_id":163587,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:55:36] local.INFO: Processing buffer {"connection_id":163587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:55:36] local.INFO: IMEI packet received {"connection_id":163587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 08:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":163587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 08:55:38] local.INFO: TCP Data received {"connection_id":163587,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a04663a2d0012d34c14006aa4840000e00e629..."} 
[2026-08-28 08:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04663a2d0012d34c14006aa4840000e00e629..."} 
[2026-08-28 08:55:38] local.INFO: Processing buffer {"connection_id":163587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04663a2d0012d34c14006aa4840000e00e629..."} 
[2026-08-28 08:55:38] local.INFO: Packet analysis {"connection_id":163587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04663"} 
[2026-08-28 08:55:38] local.INFO: Extracted packet for processing {"connection_id":163587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04663"} 
[2026-08-28 08:55:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699079424001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:55:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787887330000,"timestamp_ms":1787887330000,"timestamp_seconds":1787887330,"priority":1,"record_length":96,"hex_timestamp":"000001a04663a2d0"} 
[2026-08-28 08:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 08:55:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:55:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:55:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699079424001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699079424001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:55:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:55:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:55: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-28 08:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699079424001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:55:38] 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":706823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:55:38] local.INFO: GPS data processed {"connection_id":163587,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:55:38] local.INFO: Acknowledgment sent {"connection_id":163587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:56:10] local.INFO: TCP Data received {"connection_id":163587,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a04663a2d0012d34c14006aa4840000e00e629..."} 
[2026-08-28 08:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04663a2d0012d34c14006aa4840000e00e629..."} 
[2026-08-28 08:56:10] local.INFO: Processing buffer {"connection_id":163587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04663a2d0012d34c14006aa4840000e00e629..."} 
[2026-08-28 08:56:10] local.INFO: Packet analysis {"connection_id":163587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04663"} 
[2026-08-28 08:56:10] local.INFO: Extracted packet for processing {"connection_id":163587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04663"} 
[2026-08-28 08:56:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699079424001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:56:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787887330000,"timestamp_ms":1787887330000,"timestamp_seconds":1787887330,"priority":1,"record_length":96,"hex_timestamp":"000001a04663a2d0"} 
[2026-08-28 08:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:56:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 08:56:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:56:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:56:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699079424001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699079424001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:56:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:56:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 08:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699079424001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:56:10] 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":706824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:56:10] local.INFO: GPS data processed {"connection_id":163587,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:56:10] local.INFO: Acknowledgment sent {"connection_id":163587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:56:31] local.INFO: TCP Data received {"connection_id":163315,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:56:31] local.INFO: Processing buffer {"connection_id":163315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:56:31] local.INFO: IMEI packet received {"connection_id":163315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 08:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":163315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 08:56:36] local.INFO: TCP Data received {"connection_id":163315,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:56:36] local.INFO: Processing buffer {"connection_id":163315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:56:36] local.INFO: IMEI packet received {"connection_id":163315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 08:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":163315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 08:56:37] local.INFO: TCP Data received {"connection_id":163315,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a04663a2d0012d34c14006aa4840000e00e629..."} 
[2026-08-28 08:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04663a2d0012d34c14006aa4840000e00e629..."} 
[2026-08-28 08:56:37] local.INFO: Processing buffer {"connection_id":163315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04663a2d0012d34c14006aa4840000e00e629..."} 
[2026-08-28 08:56:37] local.INFO: Packet analysis {"connection_id":163315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04663"} 
[2026-08-28 08:56:37] local.INFO: Extracted packet for processing {"connection_id":163315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04663"} 
[2026-08-28 08:56:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699079424001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787887330000,"timestamp_ms":1787887330000,"timestamp_seconds":1787887330,"priority":1,"record_length":96,"hex_timestamp":"000001a04663a2d0"} 
[2026-08-28 08:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 08:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699079424001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699079424001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:56:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:56:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:56: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-28 08:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699079424001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":163315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:56:37] local.INFO: GPS data processed {"connection_id":163315,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:56:37] local.INFO: Acknowledgment sent {"connection_id":163315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:57:09] local.INFO: TCP Data received {"connection_id":163315,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a04663a2d0012d34c14006aa4840000e00e629..."} 
[2026-08-28 08:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04663a2d0012d34c14006aa4840000e00e629..."} 
[2026-08-28 08:57:09] local.INFO: Processing buffer {"connection_id":163315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04663a2d0012d34c14006aa4840000e00e629..."} 
[2026-08-28 08:57:09] local.INFO: Packet analysis {"connection_id":163315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04663"} 
[2026-08-28 08:57:09] local.INFO: Extracted packet for processing {"connection_id":163315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04663"} 
[2026-08-28 08:57:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699079424001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:57:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:57:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787887330000,"timestamp_ms":1787887330000,"timestamp_seconds":1787887330,"priority":1,"record_length":96,"hex_timestamp":"000001a04663a2d0"} 
[2026-08-28 08:57:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:57:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 08:57:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:57:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:57:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:57:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699079424001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699079424001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:57:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:57:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:57: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-28 08:57:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699079424001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":163315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:57:09] local.INFO: GPS data processed {"connection_id":163315,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:57:09] local.INFO: Acknowledgment sent {"connection_id":163315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:57:31] local.INFO: TCP Data received {"connection_id":163316,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:57:31] local.INFO: Processing buffer {"connection_id":163316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:57:31] local.INFO: IMEI packet received {"connection_id":163316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 08:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":163316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 08:57:36] local.INFO: TCP Data received {"connection_id":163316,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:57:36] local.INFO: Processing buffer {"connection_id":163316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:57:36] local.INFO: IMEI packet received {"connection_id":163316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 08:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":163316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 08:57:37] local.INFO: TCP Data received {"connection_id":163316,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a04663a2d0012d34c14006aa4840000e00e629..."} 
[2026-08-28 08:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04663a2d0012d34c14006aa4840000e00e629..."} 
[2026-08-28 08:57:37] local.INFO: Processing buffer {"connection_id":163316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04663a2d0012d34c14006aa4840000e00e629..."} 
[2026-08-28 08:57:37] local.INFO: Packet analysis {"connection_id":163316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04663"} 
[2026-08-28 08:57:37] local.INFO: Extracted packet for processing {"connection_id":163316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04663"} 
[2026-08-28 08:57:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699079424001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:57:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787887330000,"timestamp_ms":1787887330000,"timestamp_seconds":1787887330,"priority":1,"record_length":96,"hex_timestamp":"000001a04663a2d0"} 
[2026-08-28 08:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 08:57:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:57:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699079424001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699079424001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:57:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:57:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:57: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-28 08:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699079424001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":163316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:57:37] local.INFO: GPS data processed {"connection_id":163316,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:57:37] local.INFO: Acknowledgment sent {"connection_id":163316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:58:08] local.INFO: TCP Data received {"connection_id":163316,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a046683a98012d34c14006aa4840001000e62c..."} 
[2026-08-28 08:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046683a98012d34c14006aa4840001000e62c..."} 
[2026-08-28 08:58:08] local.INFO: Processing buffer {"connection_id":163316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046683a98012d34c14006aa4840001000e62c..."} 
[2026-08-28 08:58:08] local.INFO: Packet analysis {"connection_id":163316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04668"} 
[2026-08-28 08:58:08] local.INFO: Extracted packet for processing {"connection_id":163316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04668"} 
[2026-08-28 08:58:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699156480001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:58:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787887631000,"timestamp_ms":1787887631000,"timestamp_seconds":1787887631,"priority":1,"record_length":96,"hex_timestamp":"000001a046683a98"} 
[2026-08-28 08:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:58:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 08:58:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:58:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:58:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699156480001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699156480001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:58:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:58:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:58: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-28 08:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699156480001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":163316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:58:08] local.INFO: GPS data processed {"connection_id":163316,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:58:08] local.INFO: Acknowledgment sent {"connection_id":163316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:58:31] local.INFO: TCP Data received {"connection_id":163589,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:58:31] local.INFO: Processing buffer {"connection_id":163589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:58:31] local.INFO: IMEI packet received {"connection_id":163589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 08:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":163589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 08:58:36] local.INFO: TCP Data received {"connection_id":163589,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:58:36] local.INFO: Processing buffer {"connection_id":163589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:58:36] local.INFO: IMEI packet received {"connection_id":163589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 08:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":163589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 08:58:37] local.INFO: TCP Data received {"connection_id":163589,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a046683a98012d34c14006aa4840001000e62c..."} 
[2026-08-28 08:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046683a98012d34c14006aa4840001000e62c..."} 
[2026-08-28 08:58:37] local.INFO: Processing buffer {"connection_id":163589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046683a98012d34c14006aa4840001000e62c..."} 
[2026-08-28 08:58:37] local.INFO: Packet analysis {"connection_id":163589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04668"} 
[2026-08-28 08:58:37] local.INFO: Extracted packet for processing {"connection_id":163589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04668"} 
[2026-08-28 08:58:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699156480001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 08:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787887631000,"timestamp_ms":1787887631000,"timestamp_seconds":1787887631,"priority":1,"record_length":96,"hex_timestamp":"000001a046683a98"} 
[2026-08-28 08:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 08:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 08:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699156480001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699156480001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:58:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:58:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:58: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-28 08:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699156480001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:58:37] 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":706829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:58:37] local.INFO: GPS data processed {"connection_id":163589,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:58:37] local.INFO: Acknowledgment sent {"connection_id":163589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:59:08] local.INFO: TCP Data received {"connection_id":163589,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a046683a98012d34c14006aa4840001000e62c..."} 
[2026-08-28 08:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046683a98012d34c14006aa4840001000e62c..."} 
[2026-08-28 08:59:08] local.INFO: Processing buffer {"connection_id":163589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046683a98012d34c14006aa4840001000e62c..."} 
[2026-08-28 08:59:08] local.INFO: Packet analysis {"connection_id":163589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04668"} 
[2026-08-28 08:59:08] local.INFO: Extracted packet for processing {"connection_id":163589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04668"} 
[2026-08-28 08:59:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 08:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699156480001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08:59: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-28 08:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787887631000,"timestamp_ms":1787887631000,"timestamp_seconds":1787887631,"priority":1,"record_length":96,"hex_timestamp":"000001a046683a98"} 
[2026-08-28 08:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 08:59:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 08:59:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 08:59:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 08:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 08:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:59:08] 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-28 08:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699156480001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699156480001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:59:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:59:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08:59: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-28 08:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699156480001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:59:08] 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":706830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:59:08] local.INFO: GPS data processed {"connection_id":163589,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:59:08] local.INFO: Acknowledgment sent {"connection_id":163589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 08:59:31] local.INFO: TCP Data received {"connection_id":163317,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:59:31] local.INFO: Processing buffer {"connection_id":163317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:59:31] local.INFO: IMEI packet received {"connection_id":163317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 08:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":163317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 08:59:36] local.INFO: TCP Data received {"connection_id":163317,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:59:36] local.INFO: Processing buffer {"connection_id":163317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 08:59:36] local.INFO: IMEI packet received {"connection_id":163317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 08:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":163317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 08:59:51] local.INFO: TCP Data received {"connection_id":163317,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a046683a98012d34c14006aa4840001000e62c..."} 
[2026-08-28 08:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046683a98012d34c14006aa4840001000e62c..."} 
[2026-08-28 08:59:51] local.INFO: Processing buffer {"connection_id":163317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046683a98012d34c14006aa4840001000e62c..."} 
[2026-08-28 08:59:51] local.INFO: Packet analysis {"connection_id":163317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04668"} 
[2026-08-28 08:59:51] local.INFO: Extracted packet for processing {"connection_id":163317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04668"} 
[2026-08-28 08:59:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 08: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-28 08:59:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699156480001,"note":"Value kept but may cause issues"} 
[2026-08-28 08:59:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 08:59:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 08: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-28 08:59:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787887631000,"timestamp_ms":1787887631000,"timestamp_seconds":1787887631,"priority":1,"record_length":96,"hex_timestamp":"000001a046683a98"} 
[2026-08-28 08: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-28 08:59:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 08: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-28 08: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-28 08: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-28 08: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-28 08:59:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 08:59:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 08:59:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:59:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 08:59:51] local.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-28 08:59:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 08:59:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 08:59:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699156480001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 08:59:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 08:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 08:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699156480001,"description":"Unknown IO ID 0"} 
[2026-08-28 08:59:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 08:59:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 08: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-28 08:59:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 08:59:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699156480001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 08:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":163317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 08:59:51] local.INFO: GPS data processed {"connection_id":163317,"processed":1,"errors":0,"total":1} 
[2026-08-28 08:59:51] local.INFO: Acknowledgment sent {"connection_id":163317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:00:32] local.INFO: TCP Data received {"connection_id":164583,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:00:32] local.INFO: Processing buffer {"connection_id":164583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:00:32] local.INFO: IMEI packet received {"connection_id":164583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 09:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":164583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 09:00:36] local.INFO: TCP Data received {"connection_id":164583,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:00:36] local.INFO: Processing buffer {"connection_id":164583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:00:36] local.INFO: IMEI packet received {"connection_id":164583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 09:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":164583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 09:00:37] local.INFO: TCP Data received {"connection_id":163588,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 09:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163588,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 09:00:37] local.INFO: Processing buffer {"connection_id":163588,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 09:00:37] local.INFO: IMEI packet received {"connection_id":163588,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 09:00:37] local.INFO: IMEI acknowledgment sent {"connection_id":163588,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 09:00:37] local.INFO: TCP Data received {"connection_id":164583,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a046683a98012d34c14006aa4840001000e62c..."} 
[2026-08-28 09:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046683a98012d34c14006aa4840001000e62c..."} 
[2026-08-28 09:00:37] local.INFO: Processing buffer {"connection_id":164583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046683a98012d34c14006aa4840001000e62c..."} 
[2026-08-28 09:00:37] local.INFO: Packet analysis {"connection_id":164583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04668"} 
[2026-08-28 09:00:37] local.INFO: Extracted packet for processing {"connection_id":164583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04668"} 
[2026-08-28 09:00:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699156480001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 09:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787887631000,"timestamp_ms":1787887631000,"timestamp_seconds":1787887631,"priority":1,"record_length":96,"hex_timestamp":"000001a046683a98"} 
[2026-08-28 09:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 09:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699156480001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699156480001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:00:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:00:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:00: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-28 09:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699156480001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":164583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:00:37] local.INFO: GPS data processed {"connection_id":164583,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:00:37] local.INFO: Acknowledgment sent {"connection_id":164583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:01:09] local.INFO: TCP Data received {"connection_id":164583,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a046683a98012d34c14006aa4840001000e62c..."} 
[2026-08-28 09:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046683a98012d34c14006aa4840001000e62c..."} 
[2026-08-28 09:01:09] local.INFO: Processing buffer {"connection_id":164583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046683a98012d34c14006aa4840001000e62c..."} 
[2026-08-28 09:01:09] local.INFO: Packet analysis {"connection_id":164583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04668"} 
[2026-08-28 09:01:09] local.INFO: Extracted packet for processing {"connection_id":164583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04668"} 
[2026-08-28 09:01:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699156480001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:01:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 09:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787887631000,"timestamp_ms":1787887631000,"timestamp_seconds":1787887631,"priority":1,"record_length":96,"hex_timestamp":"000001a046683a98"} 
[2026-08-28 09:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:01:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 09:01:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:01:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:01:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699156480001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699156480001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:01:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:01:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:01: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-28 09:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699156480001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":164583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:01:09] local.INFO: GPS data processed {"connection_id":164583,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:01:09] local.INFO: Acknowledgment sent {"connection_id":164583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:01:31] local.INFO: TCP Data received {"connection_id":163590,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:01:31] local.INFO: Processing buffer {"connection_id":163590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:01:31] local.INFO: IMEI packet received {"connection_id":163590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 09:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":163590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 09:01:37] local.INFO: TCP Data received {"connection_id":163590,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:01:37] local.INFO: Processing buffer {"connection_id":163590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:01:37] local.INFO: IMEI packet received {"connection_id":163590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 09:01:37] local.INFO: IMEI acknowledgment sent {"connection_id":163590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 09:01:38] local.INFO: TCP Data received {"connection_id":163590,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a046683a98012d34c14006aa4840001000e62c..."} 
[2026-08-28 09:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046683a98012d34c14006aa4840001000e62c..."} 
[2026-08-28 09:01:38] local.INFO: Processing buffer {"connection_id":163590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046683a98012d34c14006aa4840001000e62c..."} 
[2026-08-28 09:01:38] local.INFO: Packet analysis {"connection_id":163590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04668"} 
[2026-08-28 09:01:38] local.INFO: Extracted packet for processing {"connection_id":163590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04668"} 
[2026-08-28 09:01:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09: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-28 09:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699156480001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:01:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 09:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787887631000,"timestamp_ms":1787887631000,"timestamp_seconds":1787887631,"priority":1,"record_length":96,"hex_timestamp":"000001a046683a98"} 
[2026-08-28 09: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-28 09:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 09:01:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09: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-28 09: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-28 09:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:01: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-28 09:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699156480001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699156480001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:01:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:01:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09: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-28 09:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699156480001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:01:38] 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":706834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:01:38] local.INFO: GPS data processed {"connection_id":163590,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:01:38] local.INFO: Acknowledgment sent {"connection_id":163590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:02:10] local.INFO: TCP Data received {"connection_id":163590,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a046683a98012d34c14006aa4840001000e62c..."} 
[2026-08-28 09:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046683a98012d34c14006aa4840001000e62c..."} 
[2026-08-28 09:02:10] local.INFO: Processing buffer {"connection_id":163590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046683a98012d34c14006aa4840001000e62c..."} 
[2026-08-28 09:02:10] local.INFO: Packet analysis {"connection_id":163590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04668"} 
[2026-08-28 09:02:10] local.INFO: Extracted packet for processing {"connection_id":163590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04668"} 
[2026-08-28 09:02:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699156480001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:02:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:02:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 09:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787887631000,"timestamp_ms":1787887631000,"timestamp_seconds":1787887631,"priority":1,"record_length":96,"hex_timestamp":"000001a046683a98"} 
[2026-08-28 09:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:02:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 09:02:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:02:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:02:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699156480001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699156480001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:02:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:02:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 09:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699156480001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:02:10] 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":706835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:02:10] local.INFO: GPS data processed {"connection_id":163590,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:02:10] local.INFO: Acknowledgment sent {"connection_id":163590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:02:31] local.INFO: TCP Data received {"connection_id":165930,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:02:31] local.INFO: Processing buffer {"connection_id":165930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:02:31] local.INFO: IMEI packet received {"connection_id":165930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 09:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":165930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 09:02:36] local.INFO: TCP Data received {"connection_id":165930,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:02:36] local.INFO: Processing buffer {"connection_id":165930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:02:36] local.INFO: IMEI packet received {"connection_id":165930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 09:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":165930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 09:02:38] local.INFO: TCP Data received {"connection_id":165930,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a046683a98012d34c14006aa4840001000e62c..."} 
[2026-08-28 09:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046683a98012d34c14006aa4840001000e62c..."} 
[2026-08-28 09:02:38] local.INFO: Processing buffer {"connection_id":165930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046683a98012d34c14006aa4840001000e62c..."} 
[2026-08-28 09:02:38] local.INFO: Packet analysis {"connection_id":165930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04668"} 
[2026-08-28 09:02:38] local.INFO: Extracted packet for processing {"connection_id":165930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04668"} 
[2026-08-28 09:02:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699156480001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:02:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 09:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787887631000,"timestamp_ms":1787887631000,"timestamp_seconds":1787887631,"priority":1,"record_length":96,"hex_timestamp":"000001a046683a98"} 
[2026-08-28 09:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:02:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 09:02:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:02:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":165930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":165930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":165930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:02:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699156480001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699156480001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:02:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:02:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:02: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-28 09:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699156480001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":165930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:02:38] local.INFO: GPS data processed {"connection_id":165930,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:02:38] local.INFO: Acknowledgment sent {"connection_id":165930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:03:09] local.INFO: TCP Data received {"connection_id":165930,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0466cd260012d34c14006aa4840001300e62c..."} 
[2026-08-28 09:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0466cd260012d34c14006aa4840001300e62c..."} 
[2026-08-28 09:03:09] local.INFO: Processing buffer {"connection_id":165930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0466cd260012d34c14006aa4840001300e62c..."} 
[2026-08-28 09:03:09] local.INFO: Packet analysis {"connection_id":165930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0466c"} 
[2026-08-28 09:03:09] local.INFO: Extracted packet for processing {"connection_id":165930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0466c"} 
[2026-08-28 09:03:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":19,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699233536001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:03:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:03:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 09:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787887932000,"timestamp_ms":1787887932000,"timestamp_seconds":1787887932,"priority":1,"record_length":96,"hex_timestamp":"000001a0466cd260"} 
[2026-08-28 09:03:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:03:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 09:03:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:03:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:03:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":165930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":165930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":165930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:03:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699233536001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699233536001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:03:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:03:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:03: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-28 09:03:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699233536001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":165930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:03:09] local.INFO: GPS data processed {"connection_id":165930,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:03:09] local.INFO: Acknowledgment sent {"connection_id":165930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:03:31] local.INFO: TCP Data received {"connection_id":164584,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:03:31] local.INFO: Processing buffer {"connection_id":164584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:03:31] local.INFO: IMEI packet received {"connection_id":164584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 09:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":164584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 09:03:36] local.INFO: TCP Data received {"connection_id":164584,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:03:36] local.INFO: Processing buffer {"connection_id":164584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:03:36] local.INFO: IMEI packet received {"connection_id":164584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 09:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":164584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 09:03:37] local.INFO: TCP Data received {"connection_id":164584,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0466cd260012d34c14006aa4840001300e62c..."} 
[2026-08-28 09:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0466cd260012d34c14006aa4840001300e62c..."} 
[2026-08-28 09:03:37] local.INFO: Processing buffer {"connection_id":164584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0466cd260012d34c14006aa4840001300e62c..."} 
[2026-08-28 09:03:37] local.INFO: Packet analysis {"connection_id":164584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0466c"} 
[2026-08-28 09:03:37] local.INFO: Extracted packet for processing {"connection_id":164584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0466c"} 
[2026-08-28 09:03:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":19,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699233536001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:03:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 09:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787887932000,"timestamp_ms":1787887932000,"timestamp_seconds":1787887932,"priority":1,"record_length":96,"hex_timestamp":"000001a0466cd260"} 
[2026-08-28 09:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 09:03:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:03:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699233536001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699233536001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:03:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:03:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:03: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-28 09:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699233536001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":164584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:03:37] local.INFO: GPS data processed {"connection_id":164584,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:03:37] local.INFO: Acknowledgment sent {"connection_id":164584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:04:09] local.INFO: TCP Data received {"connection_id":164584,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0466cd260012d34c14006aa4840001300e62c..."} 
[2026-08-28 09:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0466cd260012d34c14006aa4840001300e62c..."} 
[2026-08-28 09:04:09] local.INFO: Processing buffer {"connection_id":164584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0466cd260012d34c14006aa4840001300e62c..."} 
[2026-08-28 09:04:09] local.INFO: Packet analysis {"connection_id":164584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0466c"} 
[2026-08-28 09:04:09] local.INFO: Extracted packet for processing {"connection_id":164584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0466c"} 
[2026-08-28 09:04:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":19,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699233536001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:04:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:04:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 09:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787887932000,"timestamp_ms":1787887932000,"timestamp_seconds":1787887932,"priority":1,"record_length":96,"hex_timestamp":"000001a0466cd260"} 
[2026-08-28 09:04:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:04:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 09:04:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:04:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:04:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:04:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699233536001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699233536001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:04:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:04:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:04: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-28 09:04:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699233536001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":164584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:04:09] local.INFO: GPS data processed {"connection_id":164584,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:04:09] local.INFO: Acknowledgment sent {"connection_id":164584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:04:31] local.INFO: TCP Data received {"connection_id":163591,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:04:31] local.INFO: Processing buffer {"connection_id":163591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:04:31] local.INFO: IMEI packet received {"connection_id":163591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 09:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":163591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 09:04:36] local.INFO: TCP Data received {"connection_id":163591,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:04:36] local.INFO: Processing buffer {"connection_id":163591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:04:36] local.INFO: IMEI packet received {"connection_id":163591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 09:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":163591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 09:04:38] local.INFO: TCP Data received {"connection_id":163591,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0466cd260012d34c14006aa4840001300e62c..."} 
[2026-08-28 09:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0466cd260012d34c14006aa4840001300e62c..."} 
[2026-08-28 09:04:38] local.INFO: Processing buffer {"connection_id":163591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0466cd260012d34c14006aa4840001300e62c..."} 
[2026-08-28 09:04:38] local.INFO: Packet analysis {"connection_id":163591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0466c"} 
[2026-08-28 09:04:38] local.INFO: Extracted packet for processing {"connection_id":163591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0466c"} 
[2026-08-28 09:04:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":19,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699233536001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:04:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 09:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787887932000,"timestamp_ms":1787887932000,"timestamp_seconds":1787887932,"priority":1,"record_length":96,"hex_timestamp":"000001a0466cd260"} 
[2026-08-28 09:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:04:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 09:04:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:04:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:04:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699233536001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699233536001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:04:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:04:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:04: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-28 09:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699233536001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:04:38] 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":706840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:04:38] local.INFO: GPS data processed {"connection_id":163591,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:04:38] local.INFO: Acknowledgment sent {"connection_id":163591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:05:09] local.INFO: TCP Data received {"connection_id":163591,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0466cd260012d34c14006aa4840001300e62c..."} 
[2026-08-28 09:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0466cd260012d34c14006aa4840001300e62c..."} 
[2026-08-28 09:05:09] local.INFO: Processing buffer {"connection_id":163591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0466cd260012d34c14006aa4840001300e62c..."} 
[2026-08-28 09:05:09] local.INFO: Packet analysis {"connection_id":163591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0466c"} 
[2026-08-28 09:05:09] local.INFO: Extracted packet for processing {"connection_id":163591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0466c"} 
[2026-08-28 09:05:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":19,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699233536001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:05:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:05:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:05:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 09:05:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787887932000,"timestamp_ms":1787887932000,"timestamp_seconds":1787887932,"priority":1,"record_length":96,"hex_timestamp":"000001a0466cd260"} 
[2026-08-28 09:05:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:05:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 09:05:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:05:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:05:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:05:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:05:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:05:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:05:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:05:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:05:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:05:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:05:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699233536001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:05:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:05:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:05:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699233536001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:05:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:05:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:05: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-28 09:05:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:05:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699233536001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:05:09] 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":706841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:05:09] local.INFO: GPS data processed {"connection_id":163591,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:05:09] local.INFO: Acknowledgment sent {"connection_id":163591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:05:31] local.INFO: TCP Data received {"connection_id":163319,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:05:31] local.INFO: Processing buffer {"connection_id":163319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:05:31] local.INFO: IMEI packet received {"connection_id":163319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 09:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":163319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 09:05:36] local.INFO: TCP Data received {"connection_id":163319,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:05:36] local.INFO: Processing buffer {"connection_id":163319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:05:36] local.INFO: IMEI packet received {"connection_id":163319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 09:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":163319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 09:05:37] local.INFO: TCP Data received {"connection_id":163319,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0466cd260012d34c14006aa4840001300e62c..."} 
[2026-08-28 09:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0466cd260012d34c14006aa4840001300e62c..."} 
[2026-08-28 09:05:37] local.INFO: Processing buffer {"connection_id":163319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0466cd260012d34c14006aa4840001300e62c..."} 
[2026-08-28 09:05:37] local.INFO: Packet analysis {"connection_id":163319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0466c"} 
[2026-08-28 09:05:37] local.INFO: Extracted packet for processing {"connection_id":163319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0466c"} 
[2026-08-28 09:05:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":19,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699233536001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 09:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787887932000,"timestamp_ms":1787887932000,"timestamp_seconds":1787887932,"priority":1,"record_length":96,"hex_timestamp":"000001a0466cd260"} 
[2026-08-28 09:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 09:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699233536001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699233536001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:05:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:05:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:05: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-28 09:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699233536001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":163319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:05:37] local.INFO: GPS data processed {"connection_id":163319,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:05:37] local.INFO: Acknowledgment sent {"connection_id":163319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:06:09] local.INFO: TCP Data received {"connection_id":163319,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0466cd260012d34c14006aa4840001300e62c..."} 
[2026-08-28 09:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0466cd260012d34c14006aa4840001300e62c..."} 
[2026-08-28 09:06:09] local.INFO: Processing buffer {"connection_id":163319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0466cd260012d34c14006aa4840001300e62c..."} 
[2026-08-28 09:06:09] local.INFO: Packet analysis {"connection_id":163319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0466c"} 
[2026-08-28 09:06:09] local.INFO: Extracted packet for processing {"connection_id":163319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0466c"} 
[2026-08-28 09:06:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":19,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699233536001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:06:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:06:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 09:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787887932000,"timestamp_ms":1787887932000,"timestamp_seconds":1787887932,"priority":1,"record_length":96,"hex_timestamp":"000001a0466cd260"} 
[2026-08-28 09:06:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:06:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 09:06:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:06:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:06:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:06:09] 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-28 09:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699233536001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699233536001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:06:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:06:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:06: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-28 09:06:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699233536001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:06:09] local.INFO: DEBUG: GPS processor result {"connection_id":163319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:06:09] local.INFO: GPS data processed {"connection_id":163319,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:06:09] local.INFO: Acknowledgment sent {"connection_id":163319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:06:12] local.INFO: TCP Data received {"connection_id":163318,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 09:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163318,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 09:06:12] local.INFO: Processing buffer {"connection_id":163318,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 09:06:12] local.INFO: IMEI packet received {"connection_id":163318,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 09:06:12] local.INFO: IMEI acknowledgment sent {"connection_id":163318,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 09:06:31] local.INFO: TCP Data received {"connection_id":163592,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:06:31] local.INFO: Processing buffer {"connection_id":163592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:06:31] local.INFO: IMEI packet received {"connection_id":163592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 09:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":163592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 09:06:36] local.INFO: TCP Data received {"connection_id":163592,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:06:36] local.INFO: Processing buffer {"connection_id":163592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:06:36] local.INFO: IMEI packet received {"connection_id":163592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 09:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":163592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 09:06:37] local.INFO: TCP Data received {"connection_id":163592,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0466cd260012d34c14006aa4840001300e62c..."} 
[2026-08-28 09:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0466cd260012d34c14006aa4840001300e62c..."} 
[2026-08-28 09:06:37] local.INFO: Processing buffer {"connection_id":163592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0466cd260012d34c14006aa4840001300e62c..."} 
[2026-08-28 09:06:37] local.INFO: Packet analysis {"connection_id":163592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0466c"} 
[2026-08-28 09:06:37] local.INFO: Extracted packet for processing {"connection_id":163592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0466c"} 
[2026-08-28 09:06:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":19,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699233536001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 09:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787887932000,"timestamp_ms":1787887932000,"timestamp_seconds":1787887932,"priority":1,"record_length":96,"hex_timestamp":"000001a0466cd260"} 
[2026-08-28 09:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 09:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699233536001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699233536001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:06:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:06:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:06: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-28 09:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699233536001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:06: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":706844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:06:37] local.INFO: GPS data processed {"connection_id":163592,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:06:37] local.INFO: Acknowledgment sent {"connection_id":163592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:07:08] local.INFO: TCP Data received {"connection_id":163592,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0466cd260012d34c14006aa4840001300e62c..."} 
[2026-08-28 09:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0466cd260012d34c14006aa4840001300e62c..."} 
[2026-08-28 09:07:08] local.INFO: Processing buffer {"connection_id":163592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0466cd260012d34c14006aa4840001300e62c..."} 
[2026-08-28 09:07:08] local.INFO: Packet analysis {"connection_id":163592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0466c"} 
[2026-08-28 09:07:08] local.INFO: Extracted packet for processing {"connection_id":163592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0466c"} 
[2026-08-28 09:07:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":19,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699233536001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:07:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 09:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787887932000,"timestamp_ms":1787887932000,"timestamp_seconds":1787887932,"priority":1,"record_length":96,"hex_timestamp":"000001a0466cd260"} 
[2026-08-28 09:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:07:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 09:07:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:07:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:07:08] 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-28 09:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699233536001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699233536001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:07:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:07:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:07: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-28 09:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699233536001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:07: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":706845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:07:08] local.INFO: GPS data processed {"connection_id":163592,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:07:08] local.INFO: Acknowledgment sent {"connection_id":163592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:07:31] local.INFO: TCP Data received {"connection_id":163320,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:07:31] local.INFO: Processing buffer {"connection_id":163320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:07:31] local.INFO: IMEI packet received {"connection_id":163320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 09:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":163320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 09:07:37] local.INFO: TCP Data received {"connection_id":163320,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:07:37] local.INFO: Processing buffer {"connection_id":163320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:07:37] local.INFO: IMEI packet received {"connection_id":163320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 09:07:37] local.INFO: IMEI acknowledgment sent {"connection_id":163320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 09:07:38] local.INFO: TCP Data received {"connection_id":163320,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0466cd260012d34c14006aa4840001300e62c..."} 
[2026-08-28 09:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0466cd260012d34c14006aa4840001300e62c..."} 
[2026-08-28 09:07:38] local.INFO: Processing buffer {"connection_id":163320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0466cd260012d34c14006aa4840001300e62c..."} 
[2026-08-28 09:07:38] local.INFO: Packet analysis {"connection_id":163320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0466c"} 
[2026-08-28 09:07:38] local.INFO: Extracted packet for processing {"connection_id":163320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0466c"} 
[2026-08-28 09:07:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":19,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699233536001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:07:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 09:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787887932000,"timestamp_ms":1787887932000,"timestamp_seconds":1787887932,"priority":1,"record_length":96,"hex_timestamp":"000001a0466cd260"} 
[2026-08-28 09:07:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:07:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 09:07:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:07:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:07:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:07:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699233536001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699233536001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:07:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:07:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:07: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-28 09:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699233536001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":163320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:07:38] local.INFO: GPS data processed {"connection_id":163320,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:07:38] local.INFO: Acknowledgment sent {"connection_id":163320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:08:10] local.INFO: TCP Data received {"connection_id":163320,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a046716a28012d34c14006aa4840000f00e62a..."} 
[2026-08-28 09:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046716a28012d34c14006aa4840000f00e62a..."} 
[2026-08-28 09:08:10] local.INFO: Processing buffer {"connection_id":163320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046716a28012d34c14006aa4840000f00e62a..."} 
[2026-08-28 09:08:10] local.INFO: Packet analysis {"connection_id":163320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04671"} 
[2026-08-28 09:08:10] local.INFO: Extracted packet for processing {"connection_id":163320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04671"} 
[2026-08-28 09:08:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699310592001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 09:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787888233000,"timestamp_ms":1787888233000,"timestamp_seconds":1787888233,"priority":1,"record_length":96,"hex_timestamp":"000001a046716a28"} 
[2026-08-28 09:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 09:08:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:08:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:08:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699310592001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699310592001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:08:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:08:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 09:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699310592001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":163320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:08:10] local.INFO: GPS data processed {"connection_id":163320,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:08:10] local.INFO: Acknowledgment sent {"connection_id":163320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:08:31] local.INFO: TCP Data received {"connection_id":164586,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:08:31] local.INFO: Processing buffer {"connection_id":164586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:08:31] local.INFO: IMEI packet received {"connection_id":164586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 09:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":164586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 09:08:36] local.INFO: TCP Data received {"connection_id":164586,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:08:36] local.INFO: Processing buffer {"connection_id":164586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:08:36] local.INFO: IMEI packet received {"connection_id":164586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 09:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":164586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 09:08:38] local.INFO: TCP Data received {"connection_id":164586,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a046716a28012d34c14006aa4840000f00e62a..."} 
[2026-08-28 09:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046716a28012d34c14006aa4840000f00e62a..."} 
[2026-08-28 09:08:38] local.INFO: Processing buffer {"connection_id":164586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046716a28012d34c14006aa4840000f00e62a..."} 
[2026-08-28 09:08:38] local.INFO: Packet analysis {"connection_id":164586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04671"} 
[2026-08-28 09:08:38] local.INFO: Extracted packet for processing {"connection_id":164586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04671"} 
[2026-08-28 09:08:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699310592001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 09:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787888233000,"timestamp_ms":1787888233000,"timestamp_seconds":1787888233,"priority":1,"record_length":96,"hex_timestamp":"000001a046716a28"} 
[2026-08-28 09:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 09:08:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699310592001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699310592001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:08:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:08:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:08: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-28 09:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699310592001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":164586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:08:38] local.INFO: GPS data processed {"connection_id":164586,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:08:38] local.INFO: Acknowledgment sent {"connection_id":164586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:09:09] local.INFO: TCP Data received {"connection_id":164586,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a046716a28012d34c14006aa4840000f00e62a..."} 
[2026-08-28 09:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046716a28012d34c14006aa4840000f00e62a..."} 
[2026-08-28 09:09:09] local.INFO: Processing buffer {"connection_id":164586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046716a28012d34c14006aa4840000f00e62a..."} 
[2026-08-28 09:09:09] local.INFO: Packet analysis {"connection_id":164586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04671"} 
[2026-08-28 09:09:09] local.INFO: Extracted packet for processing {"connection_id":164586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04671"} 
[2026-08-28 09:09:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699310592001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:09:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:09:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:09:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 09:09:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787888233000,"timestamp_ms":1787888233000,"timestamp_seconds":1787888233,"priority":1,"record_length":96,"hex_timestamp":"000001a046716a28"} 
[2026-08-28 09:09:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:09:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 09:09:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:09:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:09:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:09:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:09:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:09:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:09:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:09:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:09:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:09:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:09:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699310592001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:09:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:09:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:09:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699310592001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:09:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:09:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:09: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-28 09:09:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:09:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699310592001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":164586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:09:09] local.INFO: GPS data processed {"connection_id":164586,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:09:09] local.INFO: Acknowledgment sent {"connection_id":164586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:09:31] local.INFO: TCP Data received {"connection_id":163321,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:09:31] local.INFO: Processing buffer {"connection_id":163321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:09:31] local.INFO: IMEI packet received {"connection_id":163321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 09:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":163321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 09:09:37] local.INFO: TCP Data received {"connection_id":163321,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:09:37] local.INFO: Processing buffer {"connection_id":163321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:09:37] local.INFO: IMEI packet received {"connection_id":163321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 09:09:37] local.INFO: IMEI acknowledgment sent {"connection_id":163321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 09:09:38] local.INFO: TCP Data received {"connection_id":163321,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a046716a28012d34c14006aa4840000f00e62a..."} 
[2026-08-28 09:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046716a28012d34c14006aa4840000f00e62a..."} 
[2026-08-28 09:09:38] local.INFO: Processing buffer {"connection_id":163321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046716a28012d34c14006aa4840000f00e62a..."} 
[2026-08-28 09:09:38] local.INFO: Packet analysis {"connection_id":163321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04671"} 
[2026-08-28 09:09:38] local.INFO: Extracted packet for processing {"connection_id":163321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04671"} 
[2026-08-28 09:09:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699310592001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 09:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787888233000,"timestamp_ms":1787888233000,"timestamp_seconds":1787888233,"priority":1,"record_length":96,"hex_timestamp":"000001a046716a28"} 
[2026-08-28 09:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 09:09:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:09:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699310592001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699310592001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:09:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:09:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:09: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-28 09:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699310592001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":163321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:09:38] local.INFO: GPS data processed {"connection_id":163321,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:09:38] local.INFO: Acknowledgment sent {"connection_id":163321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:10:09] local.INFO: TCP Data received {"connection_id":163321,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a046716a28012d34c14006aa4840000f00e62a..."} 
[2026-08-28 09:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046716a28012d34c14006aa4840000f00e62a..."} 
[2026-08-28 09:10:09] local.INFO: Processing buffer {"connection_id":163321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046716a28012d34c14006aa4840000f00e62a..."} 
[2026-08-28 09:10:09] local.INFO: Packet analysis {"connection_id":163321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04671"} 
[2026-08-28 09:10:09] local.INFO: Extracted packet for processing {"connection_id":163321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04671"} 
[2026-08-28 09:10:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699310592001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:10:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:10:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 09:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787888233000,"timestamp_ms":1787888233000,"timestamp_seconds":1787888233,"priority":1,"record_length":96,"hex_timestamp":"000001a046716a28"} 
[2026-08-28 09:10:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:10:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 09:10:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:10:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:10:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:10:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699310592001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699310592001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:10:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:10:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:10: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-28 09:10:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699310592001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":163321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:10:09] local.INFO: GPS data processed {"connection_id":163321,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:10:09] local.INFO: Acknowledgment sent {"connection_id":163321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:10:31] local.INFO: TCP Data received {"connection_id":163593,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:10:31] local.INFO: Processing buffer {"connection_id":163593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:10:31] local.INFO: IMEI packet received {"connection_id":163593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 09:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":163593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 09:10:37] local.INFO: TCP Data received {"connection_id":163593,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:10:37] local.INFO: Processing buffer {"connection_id":163593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:10:37] local.INFO: IMEI packet received {"connection_id":163593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 09:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":163593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 09:10:39] local.INFO: TCP Data received {"connection_id":163593,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a046716a28012d34c14006aa4840000f00e62a..."} 
[2026-08-28 09:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046716a28012d34c14006aa4840000f00e62a..."} 
[2026-08-28 09:10:39] local.INFO: Processing buffer {"connection_id":163593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046716a28012d34c14006aa4840000f00e62a..."} 
[2026-08-28 09:10:39] local.INFO: Packet analysis {"connection_id":163593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04671"} 
[2026-08-28 09:10:39] local.INFO: Extracted packet for processing {"connection_id":163593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04671"} 
[2026-08-28 09:10:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:10:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699310592001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:10:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:10:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:10:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 09:10:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787888233000,"timestamp_ms":1787888233000,"timestamp_seconds":1787888233,"priority":1,"record_length":96,"hex_timestamp":"000001a046716a28"} 
[2026-08-28 09:10:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:10:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 09:10:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:10:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:10:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:10:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:10:39] local.INFO: Teltonika packet parsed successfully {"connection_id":163593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:10:39] local.INFO: Passing IMEI to GPS processor {"connection_id":163593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:10:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":163593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:10:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:10:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:10:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:10:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699310592001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:10:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:10:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:10:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699310592001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:10:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:10:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:10:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 09:10:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:10:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699310592001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:10: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":706852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:10:39] local.INFO: GPS data processed {"connection_id":163593,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:10:39] local.INFO: Acknowledgment sent {"connection_id":163593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:11:10] local.INFO: TCP Data received {"connection_id":163593,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a046716a28012d34c14006aa4840000f00e62a..."} 
[2026-08-28 09:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046716a28012d34c14006aa4840000f00e62a..."} 
[2026-08-28 09:11:10] local.INFO: Processing buffer {"connection_id":163593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046716a28012d34c14006aa4840000f00e62a..."} 
[2026-08-28 09:11:10] local.INFO: Packet analysis {"connection_id":163593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04671"} 
[2026-08-28 09:11:10] local.INFO: Extracted packet for processing {"connection_id":163593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04671"} 
[2026-08-28 09:11:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699310592001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:11:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 09:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787888233000,"timestamp_ms":1787888233000,"timestamp_seconds":1787888233,"priority":1,"record_length":96,"hex_timestamp":"000001a046716a28"} 
[2026-08-28 09:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:11:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 09:11:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:11:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:11:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699310592001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699310592001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:11:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:11:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 09:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699310592001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:11:10] 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":706853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:11:10] local.INFO: GPS data processed {"connection_id":163593,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:11:10] local.INFO: Acknowledgment sent {"connection_id":163593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:11:31] local.INFO: TCP Data received {"connection_id":163594,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:11:31] local.INFO: Processing buffer {"connection_id":163594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:11:31] local.INFO: IMEI packet received {"connection_id":163594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 09:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":163594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 09:11:37] local.INFO: TCP Data received {"connection_id":163594,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:11:37] local.INFO: Processing buffer {"connection_id":163594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:11:37] local.INFO: IMEI packet received {"connection_id":163594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 09:11:37] local.INFO: IMEI acknowledgment sent {"connection_id":163594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 09:11:42] local.INFO: TCP Data received {"connection_id":163594,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a046716a28012d34c14006aa4840000f00e62a..."} 
[2026-08-28 09:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046716a28012d34c14006aa4840000f00e62a..."} 
[2026-08-28 09:11:42] local.INFO: Processing buffer {"connection_id":163594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046716a28012d34c14006aa4840000f00e62a..."} 
[2026-08-28 09:11:42] local.INFO: Packet analysis {"connection_id":163594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04671"} 
[2026-08-28 09:11:42] local.INFO: Extracted packet for processing {"connection_id":163594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04671"} 
[2026-08-28 09:11:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699310592001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:11:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:11:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 09:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787888233000,"timestamp_ms":1787888233000,"timestamp_seconds":1787888233,"priority":1,"record_length":96,"hex_timestamp":"000001a046716a28"} 
[2026-08-28 09:11:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:11:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 09:11: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-28 09:11:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:11:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:11:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699310592001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699310592001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:11:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:11:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09: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-28 09:11:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699310592001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":163594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:11:42] local.INFO: GPS data processed {"connection_id":163594,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:11:42] local.INFO: Acknowledgment sent {"connection_id":163594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:11:47] local.INFO: TCP Data received {"connection_id":164585,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 09:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164585,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 09:11:47] local.INFO: Processing buffer {"connection_id":164585,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 09:11:47] local.INFO: IMEI packet received {"connection_id":164585,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 09:11:47] local.INFO: IMEI acknowledgment sent {"connection_id":164585,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 09:12:28] local.INFO: TCP Data received {"connection_id":163594,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a046716a28012d34c14006aa4840000f00e62a..."} 
[2026-08-28 09:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046716a28012d34c14006aa4840000f00e62a..."} 
[2026-08-28 09:12:28] local.INFO: Processing buffer {"connection_id":163594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046716a28012d34c14006aa4840000f00e62a..."} 
[2026-08-28 09:12:29] local.INFO: Packet analysis {"connection_id":163594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04671"} 
[2026-08-28 09:12:29] local.INFO: Extracted packet for processing {"connection_id":163594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04671"} 
[2026-08-28 09:12:29] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:12:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699310592001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:12:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:12:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:12:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 09:12:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787888233000,"timestamp_ms":1787888233000,"timestamp_seconds":1787888233,"priority":1,"record_length":96,"hex_timestamp":"000001a046716a28"} 
[2026-08-28 09:12:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:12:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 09:12:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:12:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:12:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:12:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:12:29] local.INFO: Teltonika packet parsed successfully {"connection_id":163594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:12:29] local.INFO: Passing IMEI to GPS processor {"connection_id":163594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:12:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":163594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:12:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:12:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:12:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:12:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699310592001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:12:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:12:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:12:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699310592001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:12:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:12:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:12:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 09:12:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:12:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699310592001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:12:29] local.INFO: DEBUG: GPS processor result {"connection_id":163594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:12:29] local.INFO: GPS data processed {"connection_id":163594,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:12:29] local.INFO: Acknowledgment sent {"connection_id":163594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:12:31] local.INFO: TCP Data received {"connection_id":165931,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:12:31] local.INFO: Processing buffer {"connection_id":165931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:12:31] local.INFO: IMEI packet received {"connection_id":165931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 09:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":165931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 09:12:36] local.INFO: TCP Data received {"connection_id":165931,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:12:36] local.INFO: Processing buffer {"connection_id":165931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:12:36] local.INFO: IMEI packet received {"connection_id":165931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 09:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":165931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 09:12:37] local.INFO: TCP Data received {"connection_id":165931,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a046716a28012d34c14006aa4840000f00e62a..."} 
[2026-08-28 09:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046716a28012d34c14006aa4840000f00e62a..."} 
[2026-08-28 09:12:37] local.INFO: Processing buffer {"connection_id":165931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046716a28012d34c14006aa4840000f00e62a..."} 
[2026-08-28 09:12:37] local.INFO: Packet analysis {"connection_id":165931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04671"} 
[2026-08-28 09:12:37] local.INFO: Extracted packet for processing {"connection_id":165931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04671"} 
[2026-08-28 09:12:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699310592001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 09:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787888233000,"timestamp_ms":1787888233000,"timestamp_seconds":1787888233,"priority":1,"record_length":96,"hex_timestamp":"000001a046716a28"} 
[2026-08-28 09:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 09:12:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:12:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":165931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":165931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":165931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699310592001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699310592001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:12:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:12:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:12: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-28 09:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699310592001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":165931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:12:37] local.INFO: GPS data processed {"connection_id":165931,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:12:37] local.INFO: Acknowledgment sent {"connection_id":165931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:13:09] local.INFO: TCP Data received {"connection_id":165931,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0467601f0012d34c14006aa4840000d00e62c..."} 
[2026-08-28 09:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0467601f0012d34c14006aa4840000d00e62c..."} 
[2026-08-28 09:13:09] local.INFO: Processing buffer {"connection_id":165931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0467601f0012d34c14006aa4840000d00e62c..."} 
[2026-08-28 09:13:09] local.INFO: Packet analysis {"connection_id":165931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04676"} 
[2026-08-28 09:13:09] local.INFO: Extracted packet for processing {"connection_id":165931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04676"} 
[2026-08-28 09:13:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699387648001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:13:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:13:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 09:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787888534000,"timestamp_ms":1787888534000,"timestamp_seconds":1787888534,"priority":1,"record_length":96,"hex_timestamp":"000001a0467601f0"} 
[2026-08-28 09:13:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:13:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 09:13:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:13:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:13:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":165931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":165931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":165931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:13:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699387648001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699387648001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:13:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:13:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:13: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-28 09:13:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699387648001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:13:09] local.INFO: DEBUG: GPS processor result {"connection_id":165931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:13:09] local.INFO: GPS data processed {"connection_id":165931,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:13:09] local.INFO: Acknowledgment sent {"connection_id":165931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:13:31] local.INFO: TCP Data received {"connection_id":164587,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:13:31] local.INFO: Processing buffer {"connection_id":164587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:13:31] local.INFO: IMEI packet received {"connection_id":164587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 09:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":164587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 09:13:37] local.INFO: TCP Data received {"connection_id":164587,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:13:37] local.INFO: Processing buffer {"connection_id":164587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:13:37] local.INFO: IMEI packet received {"connection_id":164587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 09:13:37] local.INFO: IMEI acknowledgment sent {"connection_id":164587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 09:13:38] local.INFO: TCP Data received {"connection_id":164587,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0467601f0012d34c14006aa4840000d00e62c..."} 
[2026-08-28 09:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0467601f0012d34c14006aa4840000d00e62c..."} 
[2026-08-28 09:13:38] local.INFO: Processing buffer {"connection_id":164587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0467601f0012d34c14006aa4840000d00e62c..."} 
[2026-08-28 09:13:38] local.INFO: Packet analysis {"connection_id":164587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04676"} 
[2026-08-28 09:13:38] local.INFO: Extracted packet for processing {"connection_id":164587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04676"} 
[2026-08-28 09:13:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699387648001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:13:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:13:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 09:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787888534000,"timestamp_ms":1787888534000,"timestamp_seconds":1787888534,"priority":1,"record_length":96,"hex_timestamp":"000001a0467601f0"} 
[2026-08-28 09:13:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:13:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 09:13:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:13:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:13:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:13:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699387648001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699387648001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:13:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:13:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:13: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-28 09:13:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699387648001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":164587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:13:38] local.INFO: GPS data processed {"connection_id":164587,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:13:38] local.INFO: Acknowledgment sent {"connection_id":164587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:14:09] local.INFO: TCP Data received {"connection_id":164587,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0467601f0012d34c14006aa4840000d00e62c..."} 
[2026-08-28 09:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0467601f0012d34c14006aa4840000d00e62c..."} 
[2026-08-28 09:14:09] local.INFO: Processing buffer {"connection_id":164587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0467601f0012d34c14006aa4840000d00e62c..."} 
[2026-08-28 09:14:09] local.INFO: Packet analysis {"connection_id":164587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04676"} 
[2026-08-28 09:14:09] local.INFO: Extracted packet for processing {"connection_id":164587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04676"} 
[2026-08-28 09:14:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699387648001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:14:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 09:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787888534000,"timestamp_ms":1787888534000,"timestamp_seconds":1787888534,"priority":1,"record_length":96,"hex_timestamp":"000001a0467601f0"} 
[2026-08-28 09:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 09:14:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:14:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:14:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699387648001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699387648001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:14:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:14:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:14: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-28 09:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699387648001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":164587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:14:09] local.INFO: GPS data processed {"connection_id":164587,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:14:09] local.INFO: Acknowledgment sent {"connection_id":164587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:14:31] local.INFO: TCP Data received {"connection_id":164588,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:14:31] local.INFO: Processing buffer {"connection_id":164588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:14:31] local.INFO: IMEI packet received {"connection_id":164588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 09:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":164588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 09:14:37] local.INFO: TCP Data received {"connection_id":164588,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:14:37] local.INFO: Processing buffer {"connection_id":164588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:14:37] local.INFO: IMEI packet received {"connection_id":164588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 09:14:37] local.INFO: IMEI acknowledgment sent {"connection_id":164588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 09:14:38] local.INFO: TCP Data received {"connection_id":164588,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0467601f0012d34c14006aa4840000d00e62c..."} 
[2026-08-28 09:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0467601f0012d34c14006aa4840000d00e62c..."} 
[2026-08-28 09:14:38] local.INFO: Processing buffer {"connection_id":164588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0467601f0012d34c14006aa4840000d00e62c..."} 
[2026-08-28 09:14:38] local.INFO: Packet analysis {"connection_id":164588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04676"} 
[2026-08-28 09:14:38] local.INFO: Extracted packet for processing {"connection_id":164588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04676"} 
[2026-08-28 09:14:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699387648001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 09:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787888534000,"timestamp_ms":1787888534000,"timestamp_seconds":1787888534,"priority":1,"record_length":96,"hex_timestamp":"000001a0467601f0"} 
[2026-08-28 09:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 09:14:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:14:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:14: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-28 09:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699387648001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699387648001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:14:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:14:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:14: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-28 09:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699387648001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":164588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:14:38] local.INFO: GPS data processed {"connection_id":164588,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:14:38] local.INFO: Acknowledgment sent {"connection_id":164588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:15:09] local.INFO: TCP Data received {"connection_id":164588,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0467601f0012d34c14006aa4840000d00e62c..."} 
[2026-08-28 09:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0467601f0012d34c14006aa4840000d00e62c..."} 
[2026-08-28 09:15:09] local.INFO: Processing buffer {"connection_id":164588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0467601f0012d34c14006aa4840000d00e62c..."} 
[2026-08-28 09:15:09] local.INFO: Packet analysis {"connection_id":164588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04676"} 
[2026-08-28 09:15:09] local.INFO: Extracted packet for processing {"connection_id":164588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04676"} 
[2026-08-28 09:15:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699387648001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:15:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:15:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 09:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787888534000,"timestamp_ms":1787888534000,"timestamp_seconds":1787888534,"priority":1,"record_length":96,"hex_timestamp":"000001a0467601f0"} 
[2026-08-28 09:15:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:15:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 09:15:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:15:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:15:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:15:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699387648001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699387648001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:15:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:15:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:15: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-28 09:15:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699387648001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":164588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:15:09] local.INFO: GPS data processed {"connection_id":164588,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:15:09] local.INFO: Acknowledgment sent {"connection_id":164588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:15:32] local.INFO: TCP Data received {"connection_id":163596,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:15:32] local.INFO: Processing buffer {"connection_id":163596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:15:32] local.INFO: IMEI packet received {"connection_id":163596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 09:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":163596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 09:15:36] local.INFO: TCP Data received {"connection_id":163596,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:15:36] local.INFO: Processing buffer {"connection_id":163596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:15:36] local.INFO: IMEI packet received {"connection_id":163596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 09:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":163596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 09:15:37] local.INFO: TCP Data received {"connection_id":163596,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0467601f0012d34c14006aa4840000d00e62c..."} 
[2026-08-28 09:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0467601f0012d34c14006aa4840000d00e62c..."} 
[2026-08-28 09:15:37] local.INFO: Processing buffer {"connection_id":163596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0467601f0012d34c14006aa4840000d00e62c..."} 
[2026-08-28 09:15:37] local.INFO: Packet analysis {"connection_id":163596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04676"} 
[2026-08-28 09:15:37] local.INFO: Extracted packet for processing {"connection_id":163596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04676"} 
[2026-08-28 09:15:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699387648001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 09:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787888534000,"timestamp_ms":1787888534000,"timestamp_seconds":1787888534,"priority":1,"record_length":96,"hex_timestamp":"000001a0467601f0"} 
[2026-08-28 09:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 09:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699387648001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699387648001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:15:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:15:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:15: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-28 09:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699387648001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":163596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:15:37] local.INFO: GPS data processed {"connection_id":163596,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:15:37] local.INFO: Acknowledgment sent {"connection_id":163596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:16:09] local.INFO: TCP Data received {"connection_id":163596,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0467601f0012d34c14006aa4840000d00e62c..."} 
[2026-08-28 09:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0467601f0012d34c14006aa4840000d00e62c..."} 
[2026-08-28 09:16:09] local.INFO: Processing buffer {"connection_id":163596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0467601f0012d34c14006aa4840000d00e62c..."} 
[2026-08-28 09:16:09] local.INFO: Packet analysis {"connection_id":163596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04676"} 
[2026-08-28 09:16:09] local.INFO: Extracted packet for processing {"connection_id":163596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04676"} 
[2026-08-28 09:16:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699387648001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:16:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 09:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787888534000,"timestamp_ms":1787888534000,"timestamp_seconds":1787888534,"priority":1,"record_length":96,"hex_timestamp":"000001a0467601f0"} 
[2026-08-28 09:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:16:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 09:16:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:16:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699387648001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699387648001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:16:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:16:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:16: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-28 09:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699387648001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":163596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:16:09] local.INFO: GPS data processed {"connection_id":163596,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:16:09] local.INFO: Acknowledgment sent {"connection_id":163596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:16:31] local.INFO: TCP Data received {"connection_id":163597,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:16:31] local.INFO: Processing buffer {"connection_id":163597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:16:31] local.INFO: IMEI packet received {"connection_id":163597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 09:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":163597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 09:16:36] local.INFO: TCP Data received {"connection_id":163597,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:16:36] local.INFO: Processing buffer {"connection_id":163597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:16:36] local.INFO: IMEI packet received {"connection_id":163597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 09:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":163597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 09:16:37] local.INFO: TCP Data received {"connection_id":163597,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0467601f0012d34c14006aa4840000d00e62c..."} 
[2026-08-28 09:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0467601f0012d34c14006aa4840000d00e62c..."} 
[2026-08-28 09:16:37] local.INFO: Processing buffer {"connection_id":163597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0467601f0012d34c14006aa4840000d00e62c..."} 
[2026-08-28 09:16:37] local.INFO: Packet analysis {"connection_id":163597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04676"} 
[2026-08-28 09:16:37] local.INFO: Extracted packet for processing {"connection_id":163597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04676"} 
[2026-08-28 09:16:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699387648001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 09:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787888534000,"timestamp_ms":1787888534000,"timestamp_seconds":1787888534,"priority":1,"record_length":96,"hex_timestamp":"000001a0467601f0"} 
[2026-08-28 09:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 09:16:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:16:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699387648001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699387648001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:16:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:16:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:16: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-28 09:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699387648001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:16:37] 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":706864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:16:37] local.INFO: GPS data processed {"connection_id":163597,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:16:37] local.INFO: Acknowledgment sent {"connection_id":163597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:17:09] local.INFO: TCP Data received {"connection_id":163597,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0467601f0012d34c14006aa4840000d00e62c..."} 
[2026-08-28 09:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0467601f0012d34c14006aa4840000d00e62c..."} 
[2026-08-28 09:17:09] local.INFO: Processing buffer {"connection_id":163597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0467601f0012d34c14006aa4840000d00e62c..."} 
[2026-08-28 09:17:09] local.INFO: Packet analysis {"connection_id":163597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04676"} 
[2026-08-28 09:17:09] local.INFO: Extracted packet for processing {"connection_id":163597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04676"} 
[2026-08-28 09:17:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699387648001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:17:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:17:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 09:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787888534000,"timestamp_ms":1787888534000,"timestamp_seconds":1787888534,"priority":1,"record_length":96,"hex_timestamp":"000001a0467601f0"} 
[2026-08-28 09:17:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:17:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 09:17:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:17:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:17:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:17:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699387648001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699387648001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:17:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:17:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:17: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-28 09:17:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:17:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699387648001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:17:09] 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":706865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:17:09] local.INFO: GPS data processed {"connection_id":163597,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:17:09] local.INFO: Acknowledgment sent {"connection_id":163597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:17:22] local.INFO: TCP Data received {"connection_id":163595,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 09:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163595,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 09:17:22] local.INFO: Processing buffer {"connection_id":163595,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 09:17:22] local.INFO: IMEI packet received {"connection_id":163595,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 09:17:22] local.INFO: IMEI acknowledgment sent {"connection_id":163595,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 09:17:31] local.INFO: TCP Data received {"connection_id":164589,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:17:31] local.INFO: Processing buffer {"connection_id":164589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:17:31] local.INFO: IMEI packet received {"connection_id":164589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 09:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":164589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 09:17:36] local.INFO: TCP Data received {"connection_id":164589,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:17:36] local.INFO: Processing buffer {"connection_id":164589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:17:36] local.INFO: IMEI packet received {"connection_id":164589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 09:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":164589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 09:17:37] local.INFO: TCP Data received {"connection_id":164589,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0467601f0012d34c14006aa4840000d00e62c..."} 
[2026-08-28 09:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0467601f0012d34c14006aa4840000d00e62c..."} 
[2026-08-28 09:17:37] local.INFO: Processing buffer {"connection_id":164589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0467601f0012d34c14006aa4840000d00e62c..."} 
[2026-08-28 09:17:37] local.INFO: Packet analysis {"connection_id":164589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04676"} 
[2026-08-28 09:17:37] local.INFO: Extracted packet for processing {"connection_id":164589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04676"} 
[2026-08-28 09:17:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699387648001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 09:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787888534000,"timestamp_ms":1787888534000,"timestamp_seconds":1787888534,"priority":1,"record_length":96,"hex_timestamp":"000001a0467601f0"} 
[2026-08-28 09:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 09:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699387648001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699387648001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:17:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:17:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:17: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-28 09:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699387648001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":164589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:17:37] local.INFO: GPS data processed {"connection_id":164589,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:17:37] local.INFO: Acknowledgment sent {"connection_id":164589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:17:55] local.INFO: TCP Data received {"connection_id":163598,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 09:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163598,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 09:17:55] local.INFO: Processing buffer {"connection_id":163598,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 09:17:55] local.INFO: IMEI packet received {"connection_id":163598,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 09:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":163598,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 09:18:09] local.INFO: TCP Data received {"connection_id":164589,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0467a99b8012d34c14006aa4840000c00e62a..."} 
[2026-08-28 09:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0467a99b8012d34c14006aa4840000c00e62a..."} 
[2026-08-28 09:18:09] local.INFO: Processing buffer {"connection_id":164589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0467a99b8012d34c14006aa4840000c00e62a..."} 
[2026-08-28 09:18:09] local.INFO: Packet analysis {"connection_id":164589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0467a"} 
[2026-08-28 09:18:09] local.INFO: Extracted packet for processing {"connection_id":164589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0467a"} 
[2026-08-28 09:18:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:18:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699464704001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:18:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:18:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:18:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 09:18:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787888835000,"timestamp_ms":1787888835000,"timestamp_seconds":1787888835,"priority":1,"record_length":96,"hex_timestamp":"000001a0467a99b8"} 
[2026-08-28 09:18:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:18:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 09:18:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:18:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:18:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:18:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:18:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:18:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:18:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:18:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:18:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:18:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:18:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699464704001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:18:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:18:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:18:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699464704001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:18:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:18:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:18: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-28 09:18:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:18:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699464704001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:18:09] local.INFO: DEBUG: GPS processor result {"connection_id":164589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:18:09] local.INFO: GPS data processed {"connection_id":164589,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:18:09] local.INFO: Acknowledgment sent {"connection_id":164589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:18:31] local.INFO: TCP Data received {"connection_id":163322,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:18:31] local.INFO: Processing buffer {"connection_id":163322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:18:31] local.INFO: IMEI packet received {"connection_id":163322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 09:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":163322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 09:18:36] local.INFO: TCP Data received {"connection_id":163322,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:18:36] local.INFO: Processing buffer {"connection_id":163322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:18:36] local.INFO: IMEI packet received {"connection_id":163322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 09:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":163322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 09:18:38] local.INFO: TCP Data received {"connection_id":163322,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0467a99b8012d34c14006aa4840000c00e62a..."} 
[2026-08-28 09:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0467a99b8012d34c14006aa4840000c00e62a..."} 
[2026-08-28 09:18:38] local.INFO: Processing buffer {"connection_id":163322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0467a99b8012d34c14006aa4840000c00e62a..."} 
[2026-08-28 09:18:38] local.INFO: Packet analysis {"connection_id":163322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0467a"} 
[2026-08-28 09:18:38] local.INFO: Extracted packet for processing {"connection_id":163322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0467a"} 
[2026-08-28 09:18:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:18:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699464704001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:18:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:18:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:18:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 09:18:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787888835000,"timestamp_ms":1787888835000,"timestamp_seconds":1787888835,"priority":1,"record_length":96,"hex_timestamp":"000001a0467a99b8"} 
[2026-08-28 09:18:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:18:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 09:18:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:18:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:18:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:18:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:18:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:18:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:18:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:18:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:18:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:18:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:18:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699464704001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:18:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:18:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:18:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699464704001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:18:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:18:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:18: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-28 09:18:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:18:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699464704001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:18:38] local.INFO: DEBUG: GPS processor result {"connection_id":163322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:18:38] local.INFO: GPS data processed {"connection_id":163322,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:18:38] local.INFO: Acknowledgment sent {"connection_id":163322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:18:45] local.INFO: TCP Data received {"connection_id":163322,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0467a99b8012d34c14006aa4840000c00e62a..."} 
[2026-08-28 09:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0467a99b8012d34c14006aa4840000c00e62a..."} 
[2026-08-28 09:18:45] local.INFO: Processing buffer {"connection_id":163322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0467a99b8012d34c14006aa4840000c00e62a..."} 
[2026-08-28 09:18:45] local.INFO: Packet analysis {"connection_id":163322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0467a"} 
[2026-08-28 09:18:45] local.INFO: Extracted packet for processing {"connection_id":163322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0467a"} 
[2026-08-28 09:18:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09: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-28 09:18:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699464704001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:18:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:18:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:18: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-28 09:18:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787888835000,"timestamp_ms":1787888835000,"timestamp_seconds":1787888835,"priority":1,"record_length":96,"hex_timestamp":"000001a0467a99b8"} 
[2026-08-28 09: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-28 09:18:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 09:18: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-28 09: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-28 09: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-28 09:18:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:18:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:18:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:18:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:18:45] 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-28 09:18:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:18:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:18:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699464704001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:18:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:18:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:18:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699464704001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:18:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:18:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09: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-28 09:18:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:18:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699464704001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:18:45] local.INFO: DEBUG: GPS processor result {"connection_id":163322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:18:45] local.INFO: GPS data processed {"connection_id":163322,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:18:45] local.INFO: Acknowledgment sent {"connection_id":163322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:19:32] local.INFO: TCP Data received {"connection_id":163324,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:19:32] local.INFO: Processing buffer {"connection_id":163324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:19:32] local.INFO: IMEI packet received {"connection_id":163324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 09:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":163324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 09:19:36] local.INFO: TCP Data received {"connection_id":163324,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:19:36] local.INFO: Processing buffer {"connection_id":163324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:19:36] local.INFO: IMEI packet received {"connection_id":163324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 09:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":163324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 09:19:38] local.INFO: TCP Data received {"connection_id":163324,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0467a99b8012d34c14006aa4840000c00e62a..."} 
[2026-08-28 09:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0467a99b8012d34c14006aa4840000c00e62a..."} 
[2026-08-28 09:19:38] local.INFO: Processing buffer {"connection_id":163324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0467a99b8012d34c14006aa4840000c00e62a..."} 
[2026-08-28 09:19:38] local.INFO: Packet analysis {"connection_id":163324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0467a"} 
[2026-08-28 09:19:38] local.INFO: Extracted packet for processing {"connection_id":163324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0467a"} 
[2026-08-28 09:19:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699464704001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:19:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 09:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787888835000,"timestamp_ms":1787888835000,"timestamp_seconds":1787888835,"priority":1,"record_length":96,"hex_timestamp":"000001a0467a99b8"} 
[2026-08-28 09:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:19:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 09:19:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:19:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:19:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699464704001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699464704001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:19:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:19:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:19: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-28 09:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699464704001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":163324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:19:38] local.INFO: GPS data processed {"connection_id":163324,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:19:38] local.INFO: Acknowledgment sent {"connection_id":163324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:19:42] local.INFO: TCP Data received {"connection_id":163324,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0467a99b8012d34c14006aa4840000c00e62a..."} 
[2026-08-28 09:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0467a99b8012d34c14006aa4840000c00e62a..."} 
[2026-08-28 09:19:42] local.INFO: Processing buffer {"connection_id":163324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0467a99b8012d34c14006aa4840000c00e62a..."} 
[2026-08-28 09:19:42] local.INFO: Packet analysis {"connection_id":163324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0467a"} 
[2026-08-28 09:19:42] local.INFO: Extracted packet for processing {"connection_id":163324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0467a"} 
[2026-08-28 09:19:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699464704001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:19:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:19:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 09:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787888835000,"timestamp_ms":1787888835000,"timestamp_seconds":1787888835,"priority":1,"record_length":96,"hex_timestamp":"000001a0467a99b8"} 
[2026-08-28 09:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:19:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 09:19:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:19:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:19: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-28 09:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699464704001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699464704001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:19:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:19:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09: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-28 09:19:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699464704001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":163324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:19:42] local.INFO: GPS data processed {"connection_id":163324,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:19:42] local.INFO: Acknowledgment sent {"connection_id":163324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:20:15] local.INFO: TCP Data received {"connection_id":163324,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0467a99b8012d34c14006aa4840000c00e62a..."} 
[2026-08-28 09:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0467a99b8012d34c14006aa4840000c00e62a..."} 
[2026-08-28 09:20:15] local.INFO: Processing buffer {"connection_id":163324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0467a99b8012d34c14006aa4840000c00e62a..."} 
[2026-08-28 09:20:15] local.INFO: Packet analysis {"connection_id":163324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0467a"} 
[2026-08-28 09:20:15] local.INFO: Extracted packet for processing {"connection_id":163324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0467a"} 
[2026-08-28 09:20:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 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-28 09:20:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699464704001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:20:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:20:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 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-28 09:20:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787888835000,"timestamp_ms":1787888835000,"timestamp_seconds":1787888835,"priority":1,"record_length":96,"hex_timestamp":"000001a0467a99b8"} 
[2026-08-28 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-28 09:20:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 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":255,"data_length":795,"current_offset":136} 
[2026-08-28 09: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-28 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-28 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-28 09:20:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:20:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:20:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:20:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:20: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-28 09:20:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:20:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:20:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699464704001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:20:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:20:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:20:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699464704001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:20:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:20:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 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-28 09:20:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:20:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699464704001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:20:15] local.INFO: DEBUG: GPS processor result {"connection_id":163324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:20:15] local.INFO: GPS data processed {"connection_id":163324,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:20:15] local.INFO: Acknowledgment sent {"connection_id":163324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:20:31] local.INFO: TCP Data received {"connection_id":164590,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:20:31] local.INFO: Processing buffer {"connection_id":164590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:20:31] local.INFO: IMEI packet received {"connection_id":164590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 09:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":164590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 09:20:37] local.INFO: TCP Data received {"connection_id":164590,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:20:37] local.INFO: Processing buffer {"connection_id":164590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:20:37] local.INFO: IMEI packet received {"connection_id":164590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 09:20:37] local.INFO: IMEI acknowledgment sent {"connection_id":164590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 09:20:41] local.INFO: TCP Data received {"connection_id":164590,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:20:41] local.INFO: Processing buffer {"connection_id":164590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:20:41] local.INFO: IMEI packet received {"connection_id":164590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 09:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":164590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 09:20:42] local.INFO: TCP Data received {"connection_id":164590,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0467a99b8012d34c14006aa4840000c00e62a..."} 
[2026-08-28 09:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0467a99b8012d34c14006aa4840000c00e62a..."} 
[2026-08-28 09:20:42] local.INFO: Processing buffer {"connection_id":164590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0467a99b8012d34c14006aa4840000c00e62a..."} 
[2026-08-28 09:20:42] local.INFO: Packet analysis {"connection_id":164590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0467a"} 
[2026-08-28 09:20:42] local.INFO: Extracted packet for processing {"connection_id":164590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0467a"} 
[2026-08-28 09:20:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699464704001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:20:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09: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-28 09:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787888835000,"timestamp_ms":1787888835000,"timestamp_seconds":1787888835,"priority":1,"record_length":96,"hex_timestamp":"000001a0467a99b8"} 
[2026-08-28 09:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:20:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 09:20: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-28 09:20:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":164590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":164590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":164590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:20: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-28 09:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699464704001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699464704001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:20:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:20:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09: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-28 09:20:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699464704001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:20:43] local.INFO: DEBUG: GPS processor result {"connection_id":164590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:20:43] local.INFO: GPS data processed {"connection_id":164590,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:20:43] local.INFO: Acknowledgment sent {"connection_id":164590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:21:14] local.INFO: TCP Data received {"connection_id":164590,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0467a99b8012d34c14006aa4840000c00e62a..."} 
[2026-08-28 09:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0467a99b8012d34c14006aa4840000c00e62a..."} 
[2026-08-28 09:21:14] local.INFO: Processing buffer {"connection_id":164590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0467a99b8012d34c14006aa4840000c00e62a..."} 
[2026-08-28 09:21:14] local.INFO: Packet analysis {"connection_id":164590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0467a"} 
[2026-08-28 09:21:14] local.INFO: Extracted packet for processing {"connection_id":164590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0467a"} 
[2026-08-28 09:21:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09: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-28 09:21:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699464704001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:21:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:21:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09: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-28 09:21:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787888835000,"timestamp_ms":1787888835000,"timestamp_seconds":1787888835,"priority":1,"record_length":96,"hex_timestamp":"000001a0467a99b8"} 
[2026-08-28 09: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-28 09:21:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:21:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 09:21: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-28 09: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-28 09: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-28 09:21:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:21:14] local.INFO: Teltonika packet parsed successfully {"connection_id":164590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:21:14] local.INFO: Passing IMEI to GPS processor {"connection_id":164590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:21:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":164590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:21: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-28 09:21:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:21:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:21:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699464704001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:21:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:21:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:21:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699464704001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:21:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:21:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09: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-28 09:21:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:21:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699464704001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:21:14] local.INFO: DEBUG: GPS processor result {"connection_id":164590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:21:14] local.INFO: GPS data processed {"connection_id":164590,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:21:14] local.INFO: Acknowledgment sent {"connection_id":164590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:21:31] local.INFO: TCP Data received {"connection_id":165932,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:21:31] local.INFO: Processing buffer {"connection_id":165932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:21:31] local.INFO: IMEI packet received {"connection_id":165932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 09:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":165932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 09:21:38] local.INFO: TCP Data received {"connection_id":165932,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:21:38] local.INFO: Processing buffer {"connection_id":165932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:21:38] local.INFO: IMEI packet received {"connection_id":165932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 09:21:38] local.INFO: IMEI acknowledgment sent {"connection_id":165932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 09:21:39] local.INFO: TCP Data received {"connection_id":165932,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0467a99b8012d34c14006aa4840000c00e62a..."} 
[2026-08-28 09:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0467a99b8012d34c14006aa4840000c00e62a..."} 
[2026-08-28 09:21:39] local.INFO: Processing buffer {"connection_id":165932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0467a99b8012d34c14006aa4840000c00e62a..."} 
[2026-08-28 09:21:39] local.INFO: Packet analysis {"connection_id":165932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0467a"} 
[2026-08-28 09:21:39] local.INFO: Extracted packet for processing {"connection_id":165932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0467a"} 
[2026-08-28 09:21:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:21:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699464704001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:21:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:21:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:21:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 09:21:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787888835000,"timestamp_ms":1787888835000,"timestamp_seconds":1787888835,"priority":1,"record_length":96,"hex_timestamp":"000001a0467a99b8"} 
[2026-08-28 09:21:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:21:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 09:21:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:21:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:21:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:21:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:21:39] local.INFO: Teltonika packet parsed successfully {"connection_id":165932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:21:39] local.INFO: Passing IMEI to GPS processor {"connection_id":165932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:21:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":165932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:21:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:21:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:21:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:21:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699464704001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:21:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:21:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:21:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699464704001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:21:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:21:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:21:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 09:21:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:21:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699464704001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:21:39] local.INFO: DEBUG: GPS processor result {"connection_id":165932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:21:39] local.INFO: GPS data processed {"connection_id":165932,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:21:39] local.INFO: Acknowledgment sent {"connection_id":165932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:22:12] local.INFO: TCP Data received {"connection_id":165932,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0467a99b8012d34c14006aa4840000c00e62a..."} 
[2026-08-28 09:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0467a99b8012d34c14006aa4840000c00e62a..."} 
[2026-08-28 09:22:12] local.INFO: Processing buffer {"connection_id":165932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0467a99b8012d34c14006aa4840000c00e62a..."} 
[2026-08-28 09:22:12] local.INFO: Packet analysis {"connection_id":165932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0467a"} 
[2026-08-28 09:22:12] local.INFO: Extracted packet for processing {"connection_id":165932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0467a"} 
[2026-08-28 09:22:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09: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-28 09:22:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699464704001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:22:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:22:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09: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-28 09:22:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787888835000,"timestamp_ms":1787888835000,"timestamp_seconds":1787888835,"priority":1,"record_length":96,"hex_timestamp":"000001a0467a99b8"} 
[2026-08-28 09: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-28 09:22:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 09:22:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09: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-28 09: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-28 09:22:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:22:12] local.INFO: Teltonika packet parsed successfully {"connection_id":165932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:22:12] local.INFO: Passing IMEI to GPS processor {"connection_id":165932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:22:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":165932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:22:12] 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-28 09:22:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:22:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:22:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699464704001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:22:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:22:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:22:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699464704001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:22:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:22:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09: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-28 09:22:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:22:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699464704001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":165932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:22:12] local.INFO: GPS data processed {"connection_id":165932,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:22:12] local.INFO: Acknowledgment sent {"connection_id":165932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:22:31] local.INFO: TCP Data received {"connection_id":163599,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:22:31] local.INFO: Processing buffer {"connection_id":163599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:22:31] local.INFO: IMEI packet received {"connection_id":163599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 09:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":163599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 09:22:36] local.INFO: TCP Data received {"connection_id":163599,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:22:36] local.INFO: Processing buffer {"connection_id":163599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:22:36] local.INFO: IMEI packet received {"connection_id":163599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 09:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":163599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 09:22:38] local.INFO: TCP Data received {"connection_id":163599,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0467a99b8012d34c14006aa4840000c00e62a..."} 
[2026-08-28 09:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0467a99b8012d34c14006aa4840000c00e62a..."} 
[2026-08-28 09:22:38] local.INFO: Processing buffer {"connection_id":163599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0467a99b8012d34c14006aa4840000c00e62a..."} 
[2026-08-28 09:22:38] local.INFO: Packet analysis {"connection_id":163599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0467a"} 
[2026-08-28 09:22:38] local.INFO: Extracted packet for processing {"connection_id":163599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0467a"} 
[2026-08-28 09:22:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699464704001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:22:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 09:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787888835000,"timestamp_ms":1787888835000,"timestamp_seconds":1787888835,"priority":1,"record_length":96,"hex_timestamp":"000001a0467a99b8"} 
[2026-08-28 09:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 09:22:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:22:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:22: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-28 09:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699464704001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699464704001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:22:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:22:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:22: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-28 09:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699464704001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:22:38] 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":706877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:22:38] local.INFO: GPS data processed {"connection_id":163599,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:22:38] local.INFO: Acknowledgment sent {"connection_id":163599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:23:09] local.INFO: TCP Data received {"connection_id":163599,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0467f3180012d34c14006aa4840000c00e627..."} 
[2026-08-28 09:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0467f3180012d34c14006aa4840000c00e627..."} 
[2026-08-28 09:23:09] local.INFO: Processing buffer {"connection_id":163599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0467f3180012d34c14006aa4840000c00e627..."} 
[2026-08-28 09:23:09] local.INFO: Packet analysis {"connection_id":163599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0467f"} 
[2026-08-28 09:23:09] local.INFO: Extracted packet for processing {"connection_id":163599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0467f"} 
[2026-08-28 09:23:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699541760001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:23:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:23:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 09:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787889136000,"timestamp_ms":1787889136000,"timestamp_seconds":1787889136,"priority":1,"record_length":96,"hex_timestamp":"000001a0467f3180"} 
[2026-08-28 09:23:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:23:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 09:23:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:23:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:23:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:23:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699541760001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699541760001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:23:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:23:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:23: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-28 09:23:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699541760001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:23:09] 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":706878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:23:09] local.INFO: GPS data processed {"connection_id":163599,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:23:09] local.INFO: Acknowledgment sent {"connection_id":163599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:23:17] local.INFO: TCP Data received {"connection_id":165933,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 09:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165933,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 09:23:17] local.INFO: Processing buffer {"connection_id":165933,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 09:23:17] local.INFO: IMEI packet received {"connection_id":165933,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 09:23:17] local.INFO: IMEI acknowledgment sent {"connection_id":165933,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 09:23:36] local.INFO: TCP Data received {"connection_id":164591,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:23:36] local.INFO: Processing buffer {"connection_id":164591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:23:36] local.INFO: IMEI packet received {"connection_id":164591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 09:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":164591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 09:23:41] local.INFO: TCP Data received {"connection_id":164591,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:23:41] local.INFO: Processing buffer {"connection_id":164591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:23:41] local.INFO: IMEI packet received {"connection_id":164591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 09:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":164591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 09:23:42] local.INFO: TCP Data received {"connection_id":164591,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0467f3180012d34c14006aa4840000c00e627..."} 
[2026-08-28 09:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0467f3180012d34c14006aa4840000c00e627..."} 
[2026-08-28 09:23:42] local.INFO: Processing buffer {"connection_id":164591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0467f3180012d34c14006aa4840000c00e627..."} 
[2026-08-28 09:23:42] local.INFO: Packet analysis {"connection_id":164591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0467f"} 
[2026-08-28 09:23:42] local.INFO: Extracted packet for processing {"connection_id":164591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0467f"} 
[2026-08-28 09:23:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699541760001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:23:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09: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-28 09:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787889136000,"timestamp_ms":1787889136000,"timestamp_seconds":1787889136,"priority":1,"record_length":96,"hex_timestamp":"000001a0467f3180"} 
[2026-08-28 09:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:23:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 09:23: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-28 09:23:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":164591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":164591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":164591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09: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-28 09:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699541760001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699541760001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:23:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:23:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09: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-28 09:23:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699541760001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":164591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:23:42] local.INFO: GPS data processed {"connection_id":164591,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:23:42] local.INFO: Acknowledgment sent {"connection_id":164591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:23:46] local.INFO: TCP Data received {"connection_id":164591,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0467f3180012d34c14006aa4840000c00e627..."} 
[2026-08-28 09:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0467f3180012d34c14006aa4840000c00e627..."} 
[2026-08-28 09:23:46] local.INFO: Processing buffer {"connection_id":164591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0467f3180012d34c14006aa4840000c00e627..."} 
[2026-08-28 09:23:46] local.INFO: Packet analysis {"connection_id":164591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0467f"} 
[2026-08-28 09:23:46] local.INFO: Extracted packet for processing {"connection_id":164591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0467f"} 
[2026-08-28 09:23:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09: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-28 09:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699541760001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:23:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09: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-28 09:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787889136000,"timestamp_ms":1787889136000,"timestamp_seconds":1787889136,"priority":1,"record_length":96,"hex_timestamp":"000001a0467f3180"} 
[2026-08-28 09: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-28 09:23:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 09:23: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-28 09: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-28 09: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-28 09:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:23:46] 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-28 09:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:23:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699541760001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:23:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:23:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:23:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699541760001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:23:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:23:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09: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-28 09:23:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:23:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699541760001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":164591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:23:47] local.INFO: GPS data processed {"connection_id":164591,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:23:47] local.INFO: Acknowledgment sent {"connection_id":164591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:24:31] local.INFO: TCP Data received {"connection_id":163325,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:24:31] local.INFO: Processing buffer {"connection_id":163325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:24:31] local.INFO: IMEI packet received {"connection_id":163325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 09:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":163325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 09:27:42] local.INFO: TCP Data received {"connection_id":164592,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:27:42] local.INFO: Processing buffer {"connection_id":164592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:27:42] local.INFO: IMEI packet received {"connection_id":164592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 09:27:42] local.INFO: IMEI acknowledgment sent {"connection_id":164592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 09:28:52] local.INFO: TCP Data received {"connection_id":164593,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 09:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164593,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 09:28:52] local.INFO: Processing buffer {"connection_id":164593,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 09:28:52] local.INFO: IMEI packet received {"connection_id":164593,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 09:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":164593,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 09:32:46] local.INFO: TCP Data received {"connection_id":165935,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:32:46] local.INFO: Processing buffer {"connection_id":165935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:32:46] local.INFO: IMEI packet received {"connection_id":165935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 09:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":165935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 09:32:47] local.INFO: TCP Data received {"connection_id":165935,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a04683c948012d34c14006aa4840000700e62a..."} 
[2026-08-28 09:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04683c948012d34c14006aa4840000700e62a..."} 
[2026-08-28 09:32:47] local.INFO: Processing buffer {"connection_id":165935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04683c948012d34c14006aa4840000700e62a..."} 
[2026-08-28 09:32:47] local.INFO: Packet analysis {"connection_id":165935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04683"} 
[2026-08-28 09:32:47] local.INFO: Extracted packet for processing {"connection_id":165935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04683"} 
[2026-08-28 09:32:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":7,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09: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-28 09:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699618816001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:32:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09: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-28 09:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787889437000,"timestamp_ms":1787889437000,"timestamp_seconds":1787889437,"priority":1,"record_length":96,"hex_timestamp":"000001a04683c948"} 
[2026-08-28 09: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-28 09:32:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 09:32: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-28 09: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-28 09: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-28 09:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":165935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":165935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":165935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:32:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699618816001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699618816001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:32:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:32:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09: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-28 09:32:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699618816001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":165935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:32:47] local.INFO: GPS data processed {"connection_id":165935,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:32:47] local.INFO: Acknowledgment sent {"connection_id":165935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:33:31] local.INFO: TCP Data received {"connection_id":165936,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:33:31] local.INFO: Processing buffer {"connection_id":165936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:33:31] local.INFO: IMEI packet received {"connection_id":165936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 09:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":165936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 09:33:36] local.INFO: TCP Data received {"connection_id":165936,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:33:36] local.INFO: Processing buffer {"connection_id":165936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:33:36] local.INFO: IMEI packet received {"connection_id":165936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 09:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":165936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 09:33:37] local.INFO: TCP Data received {"connection_id":165936,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a046886110012d34c14006aa4840000600e628..."} 
[2026-08-28 09:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046886110012d34c14006aa4840000600e628..."} 
[2026-08-28 09:33:37] local.INFO: Processing buffer {"connection_id":165936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046886110012d34c14006aa4840000600e628..."} 
[2026-08-28 09:33:37] local.INFO: Packet analysis {"connection_id":165936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04688"} 
[2026-08-28 09:33:37] local.INFO: Extracted packet for processing {"connection_id":165936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04688"} 
[2026-08-28 09:33:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":6,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699695872001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 09:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787889738000,"timestamp_ms":1787889738000,"timestamp_seconds":1787889738,"priority":1,"record_length":96,"hex_timestamp":"000001a046886110"} 
[2026-08-28 09:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 09:33:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":165936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":165936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":165936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699695872001,"66":25223,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699695872001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:33:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:33:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:33: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-28 09:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699695872001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":165936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:33:37] local.INFO: GPS data processed {"connection_id":165936,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:33:37] local.INFO: Acknowledgment sent {"connection_id":165936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:34:08] local.INFO: TCP Data received {"connection_id":165936,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a046886110012d34c14006aa4840000600e628..."} 
[2026-08-28 09:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046886110012d34c14006aa4840000600e628..."} 
[2026-08-28 09:34:08] local.INFO: Processing buffer {"connection_id":165936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046886110012d34c14006aa4840000600e628..."} 
[2026-08-28 09:34:08] local.INFO: Packet analysis {"connection_id":165936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04688"} 
[2026-08-28 09:34:08] local.INFO: Extracted packet for processing {"connection_id":165936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04688"} 
[2026-08-28 09:34:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":6,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699695872001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:34: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-28 09:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787889738000,"timestamp_ms":1787889738000,"timestamp_seconds":1787889738,"priority":1,"record_length":96,"hex_timestamp":"000001a046886110"} 
[2026-08-28 09:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:34:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 09:34:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:34:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":165936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":165936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":165936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:34:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699695872001,"66":25223,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699695872001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:34:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:34:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:34: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-28 09:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699695872001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":165936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:34:08] local.INFO: GPS data processed {"connection_id":165936,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:34:08] local.INFO: Acknowledgment sent {"connection_id":165936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:34:31] local.INFO: TCP Data received {"connection_id":163327,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:34:31] local.INFO: Processing buffer {"connection_id":163327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:34:31] local.INFO: IMEI packet received {"connection_id":163327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 09:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":163327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 09:34:36] local.INFO: TCP Data received {"connection_id":163327,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:34:36] local.INFO: Processing buffer {"connection_id":163327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:34:36] local.INFO: IMEI packet received {"connection_id":163327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 09:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":163327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 09:34:36] local.INFO: TCP Data received {"connection_id":163601,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 09:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163601,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 09:34:36] local.INFO: Processing buffer {"connection_id":163601,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 09:34:36] local.INFO: IMEI packet received {"connection_id":163601,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 09:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":163601,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 09:34:38] local.INFO: TCP Data received {"connection_id":163327,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a046886110012d34c14006aa4840000600e628..."} 
[2026-08-28 09:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046886110012d34c14006aa4840000600e628..."} 
[2026-08-28 09:34:38] local.INFO: Processing buffer {"connection_id":163327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046886110012d34c14006aa4840000600e628..."} 
[2026-08-28 09:34:38] local.INFO: Packet analysis {"connection_id":163327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04688"} 
[2026-08-28 09:34:38] local.INFO: Extracted packet for processing {"connection_id":163327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04688"} 
[2026-08-28 09:34:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":6,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699695872001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:34:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 09:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787889738000,"timestamp_ms":1787889738000,"timestamp_seconds":1787889738,"priority":1,"record_length":96,"hex_timestamp":"000001a046886110"} 
[2026-08-28 09:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:34:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 09:34:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:34:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:34:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699695872001,"66":25223,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699695872001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:34:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:34:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:34: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-28 09:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699695872001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":163327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:34:38] local.INFO: GPS data processed {"connection_id":163327,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:34:38] local.INFO: Acknowledgment sent {"connection_id":163327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:35:10] local.INFO: TCP Data received {"connection_id":163327,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a046886110012d34c14006aa4840000600e628..."} 
[2026-08-28 09:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046886110012d34c14006aa4840000600e628..."} 
[2026-08-28 09:35:10] local.INFO: Processing buffer {"connection_id":163327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046886110012d34c14006aa4840000600e628..."} 
[2026-08-28 09:35:10] local.INFO: Packet analysis {"connection_id":163327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04688"} 
[2026-08-28 09:35:10] local.INFO: Extracted packet for processing {"connection_id":163327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04688"} 
[2026-08-28 09:35:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":6,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699695872001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:35:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 09:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787889738000,"timestamp_ms":1787889738000,"timestamp_seconds":1787889738,"priority":1,"record_length":96,"hex_timestamp":"000001a046886110"} 
[2026-08-28 09:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:35:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 09:35:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:35:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:35:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699695872001,"66":25223,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699695872001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:35:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:35:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 09:35:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699695872001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":163327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:35:10] local.INFO: GPS data processed {"connection_id":163327,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:35:10] local.INFO: Acknowledgment sent {"connection_id":163327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:35:31] local.INFO: TCP Data received {"connection_id":163328,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:35:31] local.INFO: Processing buffer {"connection_id":163328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:35:31] local.INFO: IMEI packet received {"connection_id":163328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 09:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":163328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 09:35:36] local.INFO: TCP Data received {"connection_id":163328,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:35:36] local.INFO: Processing buffer {"connection_id":163328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:35:36] local.INFO: IMEI packet received {"connection_id":163328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 09:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":163328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 09:35:37] local.INFO: TCP Data received {"connection_id":163328,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a046886110012d34c14006aa4840000600e628..."} 
[2026-08-28 09:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046886110012d34c14006aa4840000600e628..."} 
[2026-08-28 09:35:37] local.INFO: Processing buffer {"connection_id":163328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046886110012d34c14006aa4840000600e628..."} 
[2026-08-28 09:35:37] local.INFO: Packet analysis {"connection_id":163328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04688"} 
[2026-08-28 09:35:37] local.INFO: Extracted packet for processing {"connection_id":163328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04688"} 
[2026-08-28 09:35:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":6,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699695872001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 09:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787889738000,"timestamp_ms":1787889738000,"timestamp_seconds":1787889738,"priority":1,"record_length":96,"hex_timestamp":"000001a046886110"} 
[2026-08-28 09:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 09:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699695872001,"66":25223,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699695872001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:35:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:35:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:35: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-28 09:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699695872001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":163328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:35:37] local.INFO: GPS data processed {"connection_id":163328,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:35:37] local.INFO: Acknowledgment sent {"connection_id":163328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:36:08] local.INFO: TCP Data received {"connection_id":163328,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a046886110012d34c14006aa4840000600e628..."} 
[2026-08-28 09:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046886110012d34c14006aa4840000600e628..."} 
[2026-08-28 09:36:08] local.INFO: Processing buffer {"connection_id":163328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046886110012d34c14006aa4840000600e628..."} 
[2026-08-28 09:36:08] local.INFO: Packet analysis {"connection_id":163328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04688"} 
[2026-08-28 09:36:08] local.INFO: Extracted packet for processing {"connection_id":163328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04688"} 
[2026-08-28 09:36:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":6,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699695872001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:36: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-28 09:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787889738000,"timestamp_ms":1787889738000,"timestamp_seconds":1787889738,"priority":1,"record_length":96,"hex_timestamp":"000001a046886110"} 
[2026-08-28 09:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:36:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 09:36:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:36:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:36:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699695872001,"66":25223,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699695872001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:36:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:36:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:36: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-28 09:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699695872001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":163328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:36:08] local.INFO: GPS data processed {"connection_id":163328,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:36:08] local.INFO: Acknowledgment sent {"connection_id":163328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:36:36] local.INFO: TCP Data received {"connection_id":164595,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:36:36] local.INFO: Processing buffer {"connection_id":164595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:36:36] local.INFO: IMEI packet received {"connection_id":164595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 09:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":164595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 09:36:41] local.INFO: TCP Data received {"connection_id":164595,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:36:41] local.INFO: Processing buffer {"connection_id":164595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:36:41] local.INFO: IMEI packet received {"connection_id":164595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 09:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":164595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 09:36:42] local.INFO: TCP Data received {"connection_id":164595,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a046886110012d34c14006aa4840000600e628..."} 
[2026-08-28 09:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046886110012d34c14006aa4840000600e628..."} 
[2026-08-28 09:36:42] local.INFO: Processing buffer {"connection_id":164595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046886110012d34c14006aa4840000600e628..."} 
[2026-08-28 09:36:42] local.INFO: Packet analysis {"connection_id":164595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04688"} 
[2026-08-28 09:36:42] local.INFO: Extracted packet for processing {"connection_id":164595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04688"} 
[2026-08-28 09:36:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":6,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09: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-28 09:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699695872001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:36:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09: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-28 09:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787889738000,"timestamp_ms":1787889738000,"timestamp_seconds":1787889738,"priority":1,"record_length":96,"hex_timestamp":"000001a046886110"} 
[2026-08-28 09: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-28 09:36:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 09:36: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-28 09: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-28 09: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-28 09:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":164595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":164595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":164595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:36: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-28 09:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699695872001,"66":25223,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699695872001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:36:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:36:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09: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-28 09:36:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699695872001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":164595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:36:42] local.INFO: GPS data processed {"connection_id":164595,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:36:42] local.INFO: Acknowledgment sent {"connection_id":164595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:36:47] local.INFO: TCP Data received {"connection_id":164595,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a046886110012d34c14006aa4840000600e628..."} 
[2026-08-28 09:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046886110012d34c14006aa4840000600e628..."} 
[2026-08-28 09:36:47] local.INFO: Processing buffer {"connection_id":164595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046886110012d34c14006aa4840000600e628..."} 
[2026-08-28 09:36:47] local.INFO: Packet analysis {"connection_id":164595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04688"} 
[2026-08-28 09:36:47] local.INFO: Extracted packet for processing {"connection_id":164595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04688"} 
[2026-08-28 09:36:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":6,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:36:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699695872001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:36:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:36: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-28 09:36:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787889738000,"timestamp_ms":1787889738000,"timestamp_seconds":1787889738,"priority":1,"record_length":96,"hex_timestamp":"000001a046886110"} 
[2026-08-28 09:36:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:36:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 09:36: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-28 09:36:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:36:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:36:47] 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-28 09:36:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:36:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:36:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699695872001,"66":25223,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:36:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:36:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:36:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699695872001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:36:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:36:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:36: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-28 09:36:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:36:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699695872001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:36:47] local.INFO: DEBUG: GPS processor result {"connection_id":164595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:36:47] local.INFO: GPS data processed {"connection_id":164595,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:36:47] local.INFO: Acknowledgment sent {"connection_id":164595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:36:52] local.INFO: TCP Data received {"connection_id":164595,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a046886110012d34c14006aa4840000600e628..."} 
[2026-08-28 09:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046886110012d34c14006aa4840000600e628..."} 
[2026-08-28 09:36:52] local.INFO: Processing buffer {"connection_id":164595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046886110012d34c14006aa4840000600e628..."} 
[2026-08-28 09:36:52] local.INFO: Packet analysis {"connection_id":164595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04688"} 
[2026-08-28 09:36:52] local.INFO: Extracted packet for processing {"connection_id":164595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04688"} 
[2026-08-28 09:36:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":6,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:36:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:36:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699695872001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:36:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:36:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09: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-28 09:36:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787889738000,"timestamp_ms":1787889738000,"timestamp_seconds":1787889738,"priority":1,"record_length":96,"hex_timestamp":"000001a046886110"} 
[2026-08-28 09:36:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:36:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:36:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 09:36: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-28 09:36:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:36:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:36:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:36:52] local.INFO: Teltonika packet parsed successfully {"connection_id":164595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:36:52] local.INFO: Passing IMEI to GPS processor {"connection_id":164595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:36:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":164595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:36: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-28 09:36:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:36:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:36:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699695872001,"66":25223,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:36:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:36:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:36:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699695872001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:36:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:36:52] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09: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-28 09:36:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:36:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699695872001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:36:52] local.INFO: DEBUG: GPS processor result {"connection_id":164595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:36:52] local.INFO: GPS data processed {"connection_id":164595,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:36:52] local.INFO: Acknowledgment sent {"connection_id":164595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:37:31] local.INFO: TCP Data received {"connection_id":163602,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:37:31] local.INFO: Processing buffer {"connection_id":163602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:37:31] local.INFO: IMEI packet received {"connection_id":163602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 09:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":163602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 09:37:36] local.INFO: TCP Data received {"connection_id":163602,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:37:36] local.INFO: Processing buffer {"connection_id":163602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:37:36] local.INFO: IMEI packet received {"connection_id":163602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 09:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":163602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 09:37:37] local.INFO: TCP Data received {"connection_id":163602,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a046886110012d34c14006aa4840000600e628..."} 
[2026-08-28 09:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046886110012d34c14006aa4840000600e628..."} 
[2026-08-28 09:37:37] local.INFO: Processing buffer {"connection_id":163602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046886110012d34c14006aa4840000600e628..."} 
[2026-08-28 09:37:37] local.INFO: Packet analysis {"connection_id":163602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04688"} 
[2026-08-28 09:37:37] local.INFO: Extracted packet for processing {"connection_id":163602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04688"} 
[2026-08-28 09:37:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":6,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699695872001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 09:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787889738000,"timestamp_ms":1787889738000,"timestamp_seconds":1787889738,"priority":1,"record_length":96,"hex_timestamp":"000001a046886110"} 
[2026-08-28 09:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 09:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699695872001,"66":25223,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699695872001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:37:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:37:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:37: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-28 09:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699695872001,"power":25223,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:37:37] 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":706891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:37:37] local.INFO: GPS data processed {"connection_id":163602,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:37:37] local.INFO: Acknowledgment sent {"connection_id":163602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:38:09] local.INFO: TCP Data received {"connection_id":163602,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0468cf8d8012d34c14006aa4840000a00e629..."} 
[2026-08-28 09:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0468cf8d8012d34c14006aa4840000a00e629..."} 
[2026-08-28 09:38:09] local.INFO: Processing buffer {"connection_id":163602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0468cf8d8012d34c14006aa4840000a00e629..."} 
[2026-08-28 09:38:09] local.INFO: Packet analysis {"connection_id":163602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0468c"} 
[2026-08-28 09:38:09] local.INFO: Extracted packet for processing {"connection_id":163602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0468c"} 
[2026-08-28 09:38:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699772928001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:38:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:38:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 09:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787890039000,"timestamp_ms":1787890039000,"timestamp_seconds":1787890039,"priority":1,"record_length":96,"hex_timestamp":"000001a0468cf8d8"} 
[2026-08-28 09:38:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:38:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 09:38:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:38:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:38:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:38:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:38:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699772928001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:38:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:38:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:38:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699772928001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:38:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:38:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:38: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-28 09:38:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:38:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699772928001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:38:09] 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":706892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:38:09] local.INFO: GPS data processed {"connection_id":163602,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:38:09] local.INFO: Acknowledgment sent {"connection_id":163602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:38:31] local.INFO: TCP Data received {"connection_id":163604,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:38:31] local.INFO: Processing buffer {"connection_id":163604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:38:31] local.INFO: IMEI packet received {"connection_id":163604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 09:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":163604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 09:38:36] local.INFO: TCP Data received {"connection_id":163604,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:38:36] local.INFO: Processing buffer {"connection_id":163604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:38:36] local.INFO: IMEI packet received {"connection_id":163604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 09:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":163604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 09:38:37] local.INFO: TCP Data received {"connection_id":163604,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0468cf8d8012d34c14006aa4840000a00e629..."} 
[2026-08-28 09:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0468cf8d8012d34c14006aa4840000a00e629..."} 
[2026-08-28 09:38:37] local.INFO: Processing buffer {"connection_id":163604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0468cf8d8012d34c14006aa4840000a00e629..."} 
[2026-08-28 09:38:37] local.INFO: Packet analysis {"connection_id":163604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0468c"} 
[2026-08-28 09:38:37] local.INFO: Extracted packet for processing {"connection_id":163604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0468c"} 
[2026-08-28 09:38:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699772928001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 09:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787890039000,"timestamp_ms":1787890039000,"timestamp_seconds":1787890039,"priority":1,"record_length":96,"hex_timestamp":"000001a0468cf8d8"} 
[2026-08-28 09:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 09:38:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699772928001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699772928001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:38:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:38:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:38: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-28 09:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699772928001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:38:37] 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":706893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:38:37] local.INFO: GPS data processed {"connection_id":163604,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:38:37] local.INFO: Acknowledgment sent {"connection_id":163604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:39:09] local.INFO: TCP Data received {"connection_id":163604,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0468cf8d8012d34c14006aa4840000a00e629..."} 
[2026-08-28 09:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0468cf8d8012d34c14006aa4840000a00e629..."} 
[2026-08-28 09:39:09] local.INFO: Processing buffer {"connection_id":163604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0468cf8d8012d34c14006aa4840000a00e629..."} 
[2026-08-28 09:39:09] local.INFO: Packet analysis {"connection_id":163604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0468c"} 
[2026-08-28 09:39:09] local.INFO: Extracted packet for processing {"connection_id":163604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0468c"} 
[2026-08-28 09:39:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699772928001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:39:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:39:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 09:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787890039000,"timestamp_ms":1787890039000,"timestamp_seconds":1787890039,"priority":1,"record_length":96,"hex_timestamp":"000001a0468cf8d8"} 
[2026-08-28 09:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:39:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 09:39:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:39:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:39:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699772928001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699772928001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:39:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:39:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:39: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-28 09:39:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699772928001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:39:09] 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":706894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:39:09] local.INFO: GPS data processed {"connection_id":163604,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:39:09] local.INFO: Acknowledgment sent {"connection_id":163604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:39:31] local.INFO: TCP Data received {"connection_id":163329,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:39:31] local.INFO: Processing buffer {"connection_id":163329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:39:31] local.INFO: IMEI packet received {"connection_id":163329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 09:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":163329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 09:39:36] local.INFO: TCP Data received {"connection_id":163329,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:39:36] local.INFO: Processing buffer {"connection_id":163329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:39:36] local.INFO: IMEI packet received {"connection_id":163329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 09:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":163329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 09:39:37] local.INFO: TCP Data received {"connection_id":163329,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0468cf8d8012d34c14006aa4840000a00e629..."} 
[2026-08-28 09:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0468cf8d8012d34c14006aa4840000a00e629..."} 
[2026-08-28 09:39:37] local.INFO: Processing buffer {"connection_id":163329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0468cf8d8012d34c14006aa4840000a00e629..."} 
[2026-08-28 09:39:37] local.INFO: Packet analysis {"connection_id":163329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0468c"} 
[2026-08-28 09:39:37] local.INFO: Extracted packet for processing {"connection_id":163329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0468c"} 
[2026-08-28 09:39:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699772928001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 09:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787890039000,"timestamp_ms":1787890039000,"timestamp_seconds":1787890039,"priority":1,"record_length":96,"hex_timestamp":"000001a0468cf8d8"} 
[2026-08-28 09:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 09:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699772928001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699772928001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:39:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:39:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:39: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-28 09:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699772928001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:39:37] 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":706895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:39:37] local.INFO: GPS data processed {"connection_id":163329,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:39:37] local.INFO: Acknowledgment sent {"connection_id":163329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:40:11] local.INFO: TCP Data received {"connection_id":163329,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0468cf8d8012d34c14006aa4840000a00e629..."} 
[2026-08-28 09:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0468cf8d8012d34c14006aa4840000a00e629..."} 
[2026-08-28 09:40:11] local.INFO: Processing buffer {"connection_id":163329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0468cf8d8012d34c14006aa4840000a00e629..."} 
[2026-08-28 09:40:11] local.INFO: Packet analysis {"connection_id":163329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0468c"} 
[2026-08-28 09:40:11] local.INFO: Extracted packet for processing {"connection_id":163329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0468c"} 
[2026-08-28 09:40:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699772928001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:40:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:40:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 09:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787890039000,"timestamp_ms":1787890039000,"timestamp_seconds":1787890039,"priority":1,"record_length":96,"hex_timestamp":"000001a0468cf8d8"} 
[2026-08-28 09:40:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:40:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 09:40:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:40:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:40:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":163329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":163329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":163329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:40:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699772928001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699772928001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:40:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:40:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:40: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-28 09:40:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699772928001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:40:11] 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":706896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:40:11] local.INFO: GPS data processed {"connection_id":163329,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:40:11] local.INFO: Acknowledgment sent {"connection_id":163329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:40:36] local.INFO: TCP Data received {"connection_id":164596,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:40:36] local.INFO: Processing buffer {"connection_id":164596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:40:36] local.INFO: IMEI packet received {"connection_id":164596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 09:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":164596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 09:40:41] local.INFO: TCP Data received {"connection_id":164596,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:40:41] local.INFO: Processing buffer {"connection_id":164596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:40:41] local.INFO: IMEI packet received {"connection_id":164596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 09:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":164596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 09:40:42] local.INFO: TCP Data received {"connection_id":164596,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0468cf8d8012d34c14006aa4840000a00e629..."} 
[2026-08-28 09:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0468cf8d8012d34c14006aa4840000a00e629..."} 
[2026-08-28 09:40:42] local.INFO: Processing buffer {"connection_id":164596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0468cf8d8012d34c14006aa4840000a00e629..."} 
[2026-08-28 09:40:42] local.INFO: Packet analysis {"connection_id":164596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0468c"} 
[2026-08-28 09:40:42] local.INFO: Extracted packet for processing {"connection_id":164596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0468c"} 
[2026-08-28 09:40:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699772928001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:40:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09: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-28 09:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787890039000,"timestamp_ms":1787890039000,"timestamp_seconds":1787890039,"priority":1,"record_length":96,"hex_timestamp":"000001a0468cf8d8"} 
[2026-08-28 09:40:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:40:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 09:40:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:40:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:40:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":164596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":164596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":164596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:40:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699772928001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699772928001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:40:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:40:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09: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-28 09:40:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699772928001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":164596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:40:42] local.INFO: GPS data processed {"connection_id":164596,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:40:42] local.INFO: Acknowledgment sent {"connection_id":164596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:40:47] local.INFO: TCP Data received {"connection_id":164596,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0468cf8d8012d34c14006aa4840000a00e629..."} 
[2026-08-28 09:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0468cf8d8012d34c14006aa4840000a00e629..."} 
[2026-08-28 09:40:47] local.INFO: Processing buffer {"connection_id":164596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0468cf8d8012d34c14006aa4840000a00e629..."} 
[2026-08-28 09:40:47] local.INFO: Packet analysis {"connection_id":164596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0468c"} 
[2026-08-28 09:40:47] local.INFO: Extracted packet for processing {"connection_id":164596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0468c"} 
[2026-08-28 09:40:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09: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-28 09:40:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699772928001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:40:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:40:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09: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-28 09:40:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787890039000,"timestamp_ms":1787890039000,"timestamp_seconds":1787890039,"priority":1,"record_length":96,"hex_timestamp":"000001a0468cf8d8"} 
[2026-08-28 09: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-28 09:40:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 09:40:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09: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-28 09: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-28 09:40:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:40:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:40:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:40:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:40: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-28 09:40:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:40:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:40:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699772928001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:40:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:40:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:40:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699772928001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:40:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:40:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09: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-28 09:40:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:40:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699772928001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:40:47] local.INFO: DEBUG: GPS processor result {"connection_id":164596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:40:47] local.INFO: GPS data processed {"connection_id":164596,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:40:47] local.INFO: Acknowledgment sent {"connection_id":164596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:41:02] local.INFO: TCP Data received {"connection_id":165937,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 09:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165937,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 09:41:02] local.INFO: Processing buffer {"connection_id":165937,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 09:41:02] local.INFO: IMEI packet received {"connection_id":165937,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 09:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":165937,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 09:41:31] local.INFO: TCP Data received {"connection_id":165938,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:41:31] local.INFO: Processing buffer {"connection_id":165938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:41:31] local.INFO: IMEI packet received {"connection_id":165938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 09:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":165938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 09:41:36] local.INFO: TCP Data received {"connection_id":165938,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:41:36] local.INFO: Processing buffer {"connection_id":165938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:41:36] local.INFO: IMEI packet received {"connection_id":165938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 09:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":165938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 09:41:38] local.INFO: TCP Data received {"connection_id":165938,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0468cf8d8012d34c14006aa4840000a00e629..."} 
[2026-08-28 09:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0468cf8d8012d34c14006aa4840000a00e629..."} 
[2026-08-28 09:41:38] local.INFO: Processing buffer {"connection_id":165938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0468cf8d8012d34c14006aa4840000a00e629..."} 
[2026-08-28 09:41:38] local.INFO: Packet analysis {"connection_id":165938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0468c"} 
[2026-08-28 09:41:38] local.INFO: Extracted packet for processing {"connection_id":165938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0468c"} 
[2026-08-28 09:41:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699772928001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:41:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 09:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787890039000,"timestamp_ms":1787890039000,"timestamp_seconds":1787890039,"priority":1,"record_length":96,"hex_timestamp":"000001a0468cf8d8"} 
[2026-08-28 09:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 09:41:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:41:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":165938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":165938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":165938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699772928001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699772928001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:41:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:41:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:41: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-28 09:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699772928001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":165938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:41:38] local.INFO: GPS data processed {"connection_id":165938,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:41:38] local.INFO: Acknowledgment sent {"connection_id":165938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:42:09] local.INFO: TCP Data received {"connection_id":165938,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0468cf8d8012d34c14006aa4840000a00e629..."} 
[2026-08-28 09:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0468cf8d8012d34c14006aa4840000a00e629..."} 
[2026-08-28 09:42:09] local.INFO: Processing buffer {"connection_id":165938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0468cf8d8012d34c14006aa4840000a00e629..."} 
[2026-08-28 09:42:09] local.INFO: Packet analysis {"connection_id":165938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0468c"} 
[2026-08-28 09:42:09] local.INFO: Extracted packet for processing {"connection_id":165938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0468c"} 
[2026-08-28 09:42:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699772928001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:42:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 09:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787890039000,"timestamp_ms":1787890039000,"timestamp_seconds":1787890039,"priority":1,"record_length":96,"hex_timestamp":"000001a0468cf8d8"} 
[2026-08-28 09:42:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:42:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 09:42:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:42:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:42:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":165938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":165938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":165938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:42:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699772928001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699772928001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:42:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:42:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:42: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-28 09:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699772928001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":165938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:42:09] local.INFO: GPS data processed {"connection_id":165938,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:42:09] local.INFO: Acknowledgment sent {"connection_id":165938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:42:31] local.INFO: TCP Data received {"connection_id":164597,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:42:31] local.INFO: Processing buffer {"connection_id":164597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:42:31] local.INFO: IMEI packet received {"connection_id":164597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 09:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":164597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 09:42:36] local.INFO: TCP Data received {"connection_id":164597,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:42:36] local.INFO: Processing buffer {"connection_id":164597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:42:36] local.INFO: IMEI packet received {"connection_id":164597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 09:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":164597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 09:42:37] local.INFO: TCP Data received {"connection_id":164597,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0468cf8d8012d34c14006aa4840000a00e629..."} 
[2026-08-28 09:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0468cf8d8012d34c14006aa4840000a00e629..."} 
[2026-08-28 09:42:37] local.INFO: Processing buffer {"connection_id":164597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0468cf8d8012d34c14006aa4840000a00e629..."} 
[2026-08-28 09:42:37] local.INFO: Packet analysis {"connection_id":164597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0468c"} 
[2026-08-28 09:42:37] local.INFO: Extracted packet for processing {"connection_id":164597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0468c"} 
[2026-08-28 09:42:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699772928001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 09:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787890039000,"timestamp_ms":1787890039000,"timestamp_seconds":1787890039,"priority":1,"record_length":96,"hex_timestamp":"000001a0468cf8d8"} 
[2026-08-28 09:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 09:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699772928001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699772928001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:42:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:42:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:42: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-28 09:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699772928001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":164597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:42:37] local.INFO: GPS data processed {"connection_id":164597,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:42:37] local.INFO: Acknowledgment sent {"connection_id":164597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:43:10] local.INFO: TCP Data received {"connection_id":164597,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0469190a0012d34c14006aa4840000900e628..."} 
[2026-08-28 09:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0469190a0012d34c14006aa4840000900e628..."} 
[2026-08-28 09:43:10] local.INFO: Processing buffer {"connection_id":164597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0469190a0012d34c14006aa4840000900e628..."} 
[2026-08-28 09:43:10] local.INFO: Packet analysis {"connection_id":164597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04691"} 
[2026-08-28 09:43:10] local.INFO: Extracted packet for processing {"connection_id":164597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04691"} 
[2026-08-28 09:43:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699849984001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 09:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787890340000,"timestamp_ms":1787890340000,"timestamp_seconds":1787890340,"priority":1,"record_length":96,"hex_timestamp":"000001a0469190a0"} 
[2026-08-28 09:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 09:43:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:43:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":164597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":164597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":164597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699849984001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699849984001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:43:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:43:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 09:43:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699849984001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":164597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:43:10] local.INFO: GPS data processed {"connection_id":164597,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:43:10] local.INFO: Acknowledgment sent {"connection_id":164597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:43:31] local.INFO: TCP Data received {"connection_id":163330,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:43:31] local.INFO: Processing buffer {"connection_id":163330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:43:31] local.INFO: IMEI packet received {"connection_id":163330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 09:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":163330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 09:43:36] local.INFO: TCP Data received {"connection_id":163330,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:43:36] local.INFO: Processing buffer {"connection_id":163330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:43:36] local.INFO: IMEI packet received {"connection_id":163330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 09:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":163330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 09:43:37] local.INFO: TCP Data received {"connection_id":163330,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0469190a0012d34c14006aa4840000900e628..."} 
[2026-08-28 09:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0469190a0012d34c14006aa4840000900e628..."} 
[2026-08-28 09:43:37] local.INFO: Processing buffer {"connection_id":163330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0469190a0012d34c14006aa4840000900e628..."} 
[2026-08-28 09:43:37] local.INFO: Packet analysis {"connection_id":163330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04691"} 
[2026-08-28 09:43:37] local.INFO: Extracted packet for processing {"connection_id":163330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04691"} 
[2026-08-28 09:43:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699849984001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 09:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787890340000,"timestamp_ms":1787890340000,"timestamp_seconds":1787890340,"priority":1,"record_length":96,"hex_timestamp":"000001a0469190a0"} 
[2026-08-28 09:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 09:43:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699849984001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699849984001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:43:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:43:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:43: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-28 09:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699849984001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:43:37] 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":706903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:43:37] local.INFO: GPS data processed {"connection_id":163330,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:43:37] local.INFO: Acknowledgment sent {"connection_id":163330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:44:08] local.INFO: TCP Data received {"connection_id":163330,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0469190a0012d34c14006aa4840000900e628..."} 
[2026-08-28 09:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0469190a0012d34c14006aa4840000900e628..."} 
[2026-08-28 09:44:08] local.INFO: Processing buffer {"connection_id":163330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0469190a0012d34c14006aa4840000900e628..."} 
[2026-08-28 09:44:08] local.INFO: Packet analysis {"connection_id":163330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04691"} 
[2026-08-28 09:44:08] local.INFO: Extracted packet for processing {"connection_id":163330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04691"} 
[2026-08-28 09:44:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699849984001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:44: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-28 09:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787890340000,"timestamp_ms":1787890340000,"timestamp_seconds":1787890340,"priority":1,"record_length":96,"hex_timestamp":"000001a0469190a0"} 
[2026-08-28 09:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 09:44:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:44:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699849984001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699849984001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:44:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:44:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:44: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-28 09:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699849984001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:44:08] 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":706904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:44:08] local.INFO: GPS data processed {"connection_id":163330,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:44:08] local.INFO: Acknowledgment sent {"connection_id":163330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:44:31] local.INFO: TCP Data received {"connection_id":165940,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:44:31] local.INFO: Processing buffer {"connection_id":165940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:44:31] local.INFO: IMEI packet received {"connection_id":165940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 09:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":165940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 09:44:36] local.INFO: TCP Data received {"connection_id":165940,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:44:36] local.INFO: Processing buffer {"connection_id":165940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:44:36] local.INFO: IMEI packet received {"connection_id":165940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 09:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":165940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 09:44:37] local.INFO: TCP Data received {"connection_id":165940,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0469190a0012d34c14006aa4840000900e628..."} 
[2026-08-28 09:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0469190a0012d34c14006aa4840000900e628..."} 
[2026-08-28 09:44:37] local.INFO: Processing buffer {"connection_id":165940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0469190a0012d34c14006aa4840000900e628..."} 
[2026-08-28 09:44:37] local.INFO: Packet analysis {"connection_id":165940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04691"} 
[2026-08-28 09:44:37] local.INFO: Extracted packet for processing {"connection_id":165940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04691"} 
[2026-08-28 09:44:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699849984001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 09:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787890340000,"timestamp_ms":1787890340000,"timestamp_seconds":1787890340,"priority":1,"record_length":96,"hex_timestamp":"000001a0469190a0"} 
[2026-08-28 09:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 09:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:44:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":165940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":165940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":165940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699849984001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699849984001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:44:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:44:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:44: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-28 09:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699849984001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":165940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:44:37] local.INFO: GPS data processed {"connection_id":165940,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:44:37] local.INFO: Acknowledgment sent {"connection_id":165940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:45:09] local.INFO: TCP Data received {"connection_id":165940,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0469190a0012d34c14006aa4840000900e628..."} 
[2026-08-28 09:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0469190a0012d34c14006aa4840000900e628..."} 
[2026-08-28 09:45:09] local.INFO: Processing buffer {"connection_id":165940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0469190a0012d34c14006aa4840000900e628..."} 
[2026-08-28 09:45:09] local.INFO: Packet analysis {"connection_id":165940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04691"} 
[2026-08-28 09:45:09] local.INFO: Extracted packet for processing {"connection_id":165940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04691"} 
[2026-08-28 09:45:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699849984001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:45:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 09:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787890340000,"timestamp_ms":1787890340000,"timestamp_seconds":1787890340,"priority":1,"record_length":96,"hex_timestamp":"000001a0469190a0"} 
[2026-08-28 09:45:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:45:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 09:45:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:45:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:45:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":165940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":165940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":165940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:45:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699849984001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699849984001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:45:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:45:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:45: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-28 09:45:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699849984001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":165940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:45:09] local.INFO: GPS data processed {"connection_id":165940,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:45:09] local.INFO: Acknowledgment sent {"connection_id":165940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:45:37] local.INFO: TCP Data received {"connection_id":163605,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:45:37] local.INFO: Processing buffer {"connection_id":163605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:45:37] local.INFO: IMEI packet received {"connection_id":163605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 09:45:37] local.INFO: IMEI acknowledgment sent {"connection_id":163605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 09:45:41] local.INFO: TCP Data received {"connection_id":163605,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:45:41] local.INFO: Processing buffer {"connection_id":163605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:45:41] local.INFO: IMEI packet received {"connection_id":163605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 09:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":163605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 09:45:42] local.INFO: TCP Data received {"connection_id":163605,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0469190a0012d34c14006aa4840000900e628..."} 
[2026-08-28 09:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0469190a0012d34c14006aa4840000900e628..."} 
[2026-08-28 09:45:42] local.INFO: Processing buffer {"connection_id":163605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0469190a0012d34c14006aa4840000900e628..."} 
[2026-08-28 09:45:42] local.INFO: Packet analysis {"connection_id":163605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04691"} 
[2026-08-28 09:45:42] local.INFO: Extracted packet for processing {"connection_id":163605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04691"} 
[2026-08-28 09:45:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09: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-28 09:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699849984001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:45:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09: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-28 09:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787890340000,"timestamp_ms":1787890340000,"timestamp_seconds":1787890340,"priority":1,"record_length":96,"hex_timestamp":"000001a0469190a0"} 
[2026-08-28 09: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-28 09:45:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09: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-28 09: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-28 09: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-28 09: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-28 09:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:45: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-28 09:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699849984001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699849984001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:45:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:45:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09: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-28 09:45:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699849984001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":163605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:45:42] local.INFO: GPS data processed {"connection_id":163605,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:45:42] local.INFO: Acknowledgment sent {"connection_id":163605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:45:47] local.INFO: TCP Data received {"connection_id":163605,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0469190a0012d34c14006aa4840000900e628..."} 
[2026-08-28 09:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0469190a0012d34c14006aa4840000900e628..."} 
[2026-08-28 09:45:47] local.INFO: Processing buffer {"connection_id":163605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0469190a0012d34c14006aa4840000900e628..."} 
[2026-08-28 09:45:47] local.INFO: Packet analysis {"connection_id":163605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04691"} 
[2026-08-28 09:45:47] local.INFO: Extracted packet for processing {"connection_id":163605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04691"} 
[2026-08-28 09:45:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09: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-28 09:45:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699849984001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:45:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:45:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09: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-28 09:45:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787890340000,"timestamp_ms":1787890340000,"timestamp_seconds":1787890340,"priority":1,"record_length":96,"hex_timestamp":"000001a0469190a0"} 
[2026-08-28 09: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-28 09:45:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 09:45: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-28 09: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-28 09: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-28 09:45:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:45:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:45:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:45:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:45:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:45:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:45:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:45:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699849984001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:45:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:45:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:45:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699849984001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:45:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:45:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09: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-28 09:45:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:45:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699849984001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:45:47] local.INFO: DEBUG: GPS processor result {"connection_id":163605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:45:47] local.INFO: GPS data processed {"connection_id":163605,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:45:47] local.INFO: Acknowledgment sent {"connection_id":163605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:46:27] local.INFO: TCP Data received {"connection_id":165939,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 09:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165939,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 09:46:27] local.INFO: Processing buffer {"connection_id":165939,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 09:46:27] local.INFO: IMEI packet received {"connection_id":165939,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 09:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":165939,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 09:46:31] local.INFO: TCP Data received {"connection_id":163331,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:46:31] local.INFO: Processing buffer {"connection_id":163331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:46:31] local.INFO: IMEI packet received {"connection_id":163331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 09:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":163331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 09:46:36] local.INFO: TCP Data received {"connection_id":163331,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:46:36] local.INFO: Processing buffer {"connection_id":163331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:46:36] local.INFO: IMEI packet received {"connection_id":163331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 09:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":163331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 09:46:37] local.INFO: TCP Data received {"connection_id":163331,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0469190a0012d34c14006aa4840000900e628..."} 
[2026-08-28 09:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0469190a0012d34c14006aa4840000900e628..."} 
[2026-08-28 09:46:37] local.INFO: Processing buffer {"connection_id":163331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0469190a0012d34c14006aa4840000900e628..."} 
[2026-08-28 09:46:37] local.INFO: Packet analysis {"connection_id":163331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04691"} 
[2026-08-28 09:46:37] local.INFO: Extracted packet for processing {"connection_id":163331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04691"} 
[2026-08-28 09:46:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09: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-28 09:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699849984001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 09:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787890340000,"timestamp_ms":1787890340000,"timestamp_seconds":1787890340,"priority":1,"record_length":96,"hex_timestamp":"000001a0469190a0"} 
[2026-08-28 09: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-28 09:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 09:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09: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-28 09: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-28 09:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699849984001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699849984001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:46:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:46:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:46: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-28 09:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699849984001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:46:37] 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":706909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:46:37] local.INFO: GPS data processed {"connection_id":163331,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:46:37] local.INFO: Acknowledgment sent {"connection_id":163331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:47:08] local.INFO: TCP Data received {"connection_id":163331,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0469190a0012d34c14006aa4840000900e628..."} 
[2026-08-28 09:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0469190a0012d34c14006aa4840000900e628..."} 
[2026-08-28 09:47:08] local.INFO: Processing buffer {"connection_id":163331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0469190a0012d34c14006aa4840000900e628..."} 
[2026-08-28 09:47:08] local.INFO: Packet analysis {"connection_id":163331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04691"} 
[2026-08-28 09:47:08] local.INFO: Extracted packet for processing {"connection_id":163331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04691"} 
[2026-08-28 09:47:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699849984001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:47: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-28 09:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787890340000,"timestamp_ms":1787890340000,"timestamp_seconds":1787890340,"priority":1,"record_length":96,"hex_timestamp":"000001a0469190a0"} 
[2026-08-28 09: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-28 09:47:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 09:47:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09: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-28 09: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-28 09:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:47:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699849984001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699849984001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:47:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:47:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:47: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-28 09:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699849984001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:47:08] 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":706910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:47:08] local.INFO: GPS data processed {"connection_id":163331,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:47:08] local.INFO: Acknowledgment sent {"connection_id":163331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:47:32] local.INFO: TCP Data received {"connection_id":164598,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:47:32] local.INFO: Processing buffer {"connection_id":164598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:47:32] local.INFO: IMEI packet received {"connection_id":164598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 09:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":164598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 09:47:36] local.INFO: TCP Data received {"connection_id":164598,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:47:36] local.INFO: Processing buffer {"connection_id":164598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:47:36] local.INFO: IMEI packet received {"connection_id":164598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 09:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":164598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 09:47:41] local.INFO: TCP Data received {"connection_id":164598,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0469190a0012d34c14006aa4840000900e628..."} 
[2026-08-28 09:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0469190a0012d34c14006aa4840000900e628..."} 
[2026-08-28 09:47:41] local.INFO: Processing buffer {"connection_id":164598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0469190a0012d34c14006aa4840000900e628..."} 
[2026-08-28 09:47:41] local.INFO: Packet analysis {"connection_id":164598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04691"} 
[2026-08-28 09:47:41] local.INFO: Extracted packet for processing {"connection_id":164598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04691"} 
[2026-08-28 09:47:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699849984001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:47:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:47: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-28 09:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787890340000,"timestamp_ms":1787890340000,"timestamp_seconds":1787890340,"priority":1,"record_length":96,"hex_timestamp":"000001a0469190a0"} 
[2026-08-28 09:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:47:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 09:47: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-28 09:47:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":164598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":164598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":164598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:47: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-28 09:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699849984001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699849984001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:47:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:47:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:47: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-28 09:47:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699849984001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":164598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:47:41] local.INFO: GPS data processed {"connection_id":164598,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:47:41] local.INFO: Acknowledgment sent {"connection_id":164598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:48:13] local.INFO: TCP Data received {"connection_id":164598,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a046962868012d34c14006aa4840000c00e62a..."} 
[2026-08-28 09:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046962868012d34c14006aa4840000c00e62a..."} 
[2026-08-28 09:48:13] local.INFO: Processing buffer {"connection_id":164598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046962868012d34c14006aa4840000c00e62a..."} 
[2026-08-28 09:48:13] local.INFO: Packet analysis {"connection_id":164598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04696"} 
[2026-08-28 09:48:13] local.INFO: Extracted packet for processing {"connection_id":164598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04696"} 
[2026-08-28 09:48:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:48:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:48:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699927040001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:48:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:48:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09: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-28 09:48:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787890641000,"timestamp_ms":1787890641000,"timestamp_seconds":1787890641,"priority":1,"record_length":96,"hex_timestamp":"000001a046962868"} 
[2026-08-28 09:48:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:48:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:48:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 09: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-28 09:48:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:48:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:48:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:48:13] local.INFO: Teltonika packet parsed successfully {"connection_id":164598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:48:13] local.INFO: Passing IMEI to GPS processor {"connection_id":164598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:48:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":164598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:48: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-28 09:48:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:48:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:48:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699927040001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:48:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:48:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:48:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699927040001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:48:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:48:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09: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-28 09:48:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:48:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699927040001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:48:13] local.INFO: DEBUG: GPS processor result {"connection_id":164598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:48:13] local.INFO: GPS data processed {"connection_id":164598,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:48:13] local.INFO: Acknowledgment sent {"connection_id":164598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:48:31] local.INFO: TCP Data received {"connection_id":165942,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:48:31] local.INFO: Processing buffer {"connection_id":165942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:48:31] local.INFO: IMEI packet received {"connection_id":165942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 09:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":165942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 09:48:36] local.INFO: TCP Data received {"connection_id":165942,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:48:36] local.INFO: Processing buffer {"connection_id":165942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:48:36] local.INFO: IMEI packet received {"connection_id":165942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 09:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":165942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 09:48:37] local.INFO: TCP Data received {"connection_id":165942,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a046962868012d34c14006aa4840000c00e62a..."} 
[2026-08-28 09:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046962868012d34c14006aa4840000c00e62a..."} 
[2026-08-28 09:48:37] local.INFO: Processing buffer {"connection_id":165942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046962868012d34c14006aa4840000c00e62a..."} 
[2026-08-28 09:48:37] local.INFO: Packet analysis {"connection_id":165942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04696"} 
[2026-08-28 09:48:37] local.INFO: Extracted packet for processing {"connection_id":165942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04696"} 
[2026-08-28 09:48:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699927040001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 09:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787890641000,"timestamp_ms":1787890641000,"timestamp_seconds":1787890641,"priority":1,"record_length":96,"hex_timestamp":"000001a046962868"} 
[2026-08-28 09: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-28 09:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 09:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09: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-28 09: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-28 09:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":165942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":165942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":165942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699927040001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699927040001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:48:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:48:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:48: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-28 09:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699927040001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":165942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:48:37] local.INFO: GPS data processed {"connection_id":165942,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:48:37] local.INFO: Acknowledgment sent {"connection_id":165942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:49:08] local.INFO: TCP Data received {"connection_id":165942,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a046962868012d34c14006aa4840000c00e62a..."} 
[2026-08-28 09:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046962868012d34c14006aa4840000c00e62a..."} 
[2026-08-28 09:49:08] local.INFO: Processing buffer {"connection_id":165942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046962868012d34c14006aa4840000c00e62a..."} 
[2026-08-28 09:49:08] local.INFO: Packet analysis {"connection_id":165942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04696"} 
[2026-08-28 09:49:08] local.INFO: Extracted packet for processing {"connection_id":165942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04696"} 
[2026-08-28 09:49:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699927040001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:49:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:49:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:49: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-28 09:49:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787890641000,"timestamp_ms":1787890641000,"timestamp_seconds":1787890641,"priority":1,"record_length":96,"hex_timestamp":"000001a046962868"} 
[2026-08-28 09:49:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:49:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 09:49:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:49:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:49:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:49:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:49:08] local.INFO: Teltonika packet parsed successfully {"connection_id":165942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:49:08] local.INFO: Passing IMEI to GPS processor {"connection_id":165942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:49:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":165942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:49:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:49:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:49:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:49:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699927040001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:49:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:49:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:49:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699927040001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:49:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:49:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:49: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-28 09:49:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:49:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699927040001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:49:08] local.INFO: DEBUG: GPS processor result {"connection_id":165942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:49:08] local.INFO: GPS data processed {"connection_id":165942,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:49:08] local.INFO: Acknowledgment sent {"connection_id":165942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:49:36] local.INFO: TCP Data received {"connection_id":164599,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:49:36] local.INFO: Processing buffer {"connection_id":164599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:49:36] local.INFO: IMEI packet received {"connection_id":164599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 09:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":164599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 09:49:41] local.INFO: TCP Data received {"connection_id":164599,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:49:41] local.INFO: Processing buffer {"connection_id":164599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:49:41] local.INFO: IMEI packet received {"connection_id":164599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 09:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":164599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 09:49:42] local.INFO: TCP Data received {"connection_id":164599,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a046962868012d34c14006aa4840000c00e62a..."} 
[2026-08-28 09:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046962868012d34c14006aa4840000c00e62a..."} 
[2026-08-28 09:49:42] local.INFO: Processing buffer {"connection_id":164599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046962868012d34c14006aa4840000c00e62a..."} 
[2026-08-28 09:49:42] local.INFO: Packet analysis {"connection_id":164599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04696"} 
[2026-08-28 09:49:42] local.INFO: Extracted packet for processing {"connection_id":164599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04696"} 
[2026-08-28 09:49:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09: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-28 09:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699927040001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:49:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09: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-28 09:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787890641000,"timestamp_ms":1787890641000,"timestamp_seconds":1787890641,"priority":1,"record_length":96,"hex_timestamp":"000001a046962868"} 
[2026-08-28 09: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-28 09:49:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09: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-28 09: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-28 09: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-28 09: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-28 09:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":164599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":164599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":164599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:49: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-28 09:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699927040001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699927040001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:49:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:49:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09: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-28 09:49:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699927040001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":164599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:49:42] local.INFO: GPS data processed {"connection_id":164599,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:49:42] local.INFO: Acknowledgment sent {"connection_id":164599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:49:46] local.INFO: TCP Data received {"connection_id":164599,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a046962868012d34c14006aa4840000c00e62a..."} 
[2026-08-28 09:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046962868012d34c14006aa4840000c00e62a..."} 
[2026-08-28 09:49:46] local.INFO: Processing buffer {"connection_id":164599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046962868012d34c14006aa4840000c00e62a..."} 
[2026-08-28 09:49:46] local.INFO: Packet analysis {"connection_id":164599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04696"} 
[2026-08-28 09:49:46] local.INFO: Extracted packet for processing {"connection_id":164599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04696"} 
[2026-08-28 09:49:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 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-28 09:49:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699927040001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:49:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:49:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:49: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-28 09:49:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787890641000,"timestamp_ms":1787890641000,"timestamp_seconds":1787890641,"priority":1,"record_length":96,"hex_timestamp":"000001a046962868"} 
[2026-08-28 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-28 09:49:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 09:49: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-28 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-28 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-28 09:49:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:49:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:49:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:49:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:49:46] local.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-28 09:49:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:49:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:49:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699927040001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:49:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:49:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:49:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699927040001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:49:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:49:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:49: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-28 09:49:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:49:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699927040001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:49:46] local.INFO: DEBUG: GPS processor result {"connection_id":164599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:49:46] local.INFO: GPS data processed {"connection_id":164599,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:49:46] local.INFO: Acknowledgment sent {"connection_id":164599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:50:31] local.INFO: TCP Data received {"connection_id":163606,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:50:31] local.INFO: Processing buffer {"connection_id":163606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:50:31] local.INFO: IMEI packet received {"connection_id":163606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 09:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":163606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 09:50:36] local.INFO: TCP Data received {"connection_id":163606,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:50:36] local.INFO: Processing buffer {"connection_id":163606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:50:36] local.INFO: IMEI packet received {"connection_id":163606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 09:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":163606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 09:50:37] local.INFO: TCP Data received {"connection_id":163606,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a046962868012d34c14006aa4840000c00e62a..."} 
[2026-08-28 09:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046962868012d34c14006aa4840000c00e62a..."} 
[2026-08-28 09:50:37] local.INFO: Processing buffer {"connection_id":163606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046962868012d34c14006aa4840000c00e62a..."} 
[2026-08-28 09:50:37] local.INFO: Packet analysis {"connection_id":163606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04696"} 
[2026-08-28 09:50:37] local.INFO: Extracted packet for processing {"connection_id":163606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04696"} 
[2026-08-28 09:50:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699927040001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 09:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787890641000,"timestamp_ms":1787890641000,"timestamp_seconds":1787890641,"priority":1,"record_length":96,"hex_timestamp":"000001a046962868"} 
[2026-08-28 09:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 09:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:50:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699927040001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699927040001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:50:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:50:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:50: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-28 09:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699927040001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09: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":706917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:50:37] local.INFO: GPS data processed {"connection_id":163606,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:50:37] local.INFO: Acknowledgment sent {"connection_id":163606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:51:09] local.INFO: TCP Data received {"connection_id":163606,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a046962868012d34c14006aa4840000c00e62a..."} 
[2026-08-28 09:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046962868012d34c14006aa4840000c00e62a..."} 
[2026-08-28 09:51:09] local.INFO: Processing buffer {"connection_id":163606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046962868012d34c14006aa4840000c00e62a..."} 
[2026-08-28 09:51:09] local.INFO: Packet analysis {"connection_id":163606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04696"} 
[2026-08-28 09:51:09] local.INFO: Extracted packet for processing {"connection_id":163606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04696"} 
[2026-08-28 09:51:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699927040001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:51:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:51:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 09:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787890641000,"timestamp_ms":1787890641000,"timestamp_seconds":1787890641,"priority":1,"record_length":96,"hex_timestamp":"000001a046962868"} 
[2026-08-28 09:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:51:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 09:51:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:51:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:51:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699927040001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699927040001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:51:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:51:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:51: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-28 09:51:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699927040001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:51:09] 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":706918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:51:09] local.INFO: GPS data processed {"connection_id":163606,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:51:09] local.INFO: Acknowledgment sent {"connection_id":163606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:51:31] local.INFO: TCP Data received {"connection_id":164600,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:51:31] local.INFO: Processing buffer {"connection_id":164600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:51:31] local.INFO: IMEI packet received {"connection_id":164600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 09:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":164600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 09:51:36] local.INFO: TCP Data received {"connection_id":164600,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:51:36] local.INFO: Processing buffer {"connection_id":164600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:51:36] local.INFO: IMEI packet received {"connection_id":164600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 09:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":164600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 09:51:50] local.INFO: TCP Data received {"connection_id":164600,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a046962868012d34c14006aa4840000c00e62a..."} 
[2026-08-28 09:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046962868012d34c14006aa4840000c00e62a..."} 
[2026-08-28 09:51:50] local.INFO: Processing buffer {"connection_id":164600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046962868012d34c14006aa4840000c00e62a..."} 
[2026-08-28 09:51:50] local.INFO: Packet analysis {"connection_id":164600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04696"} 
[2026-08-28 09:51:50] local.INFO: Extracted packet for processing {"connection_id":164600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04696"} 
[2026-08-28 09:51:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09: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-28 09:51:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699927040001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:51:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:51:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:51: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-28 09:51:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787890641000,"timestamp_ms":1787890641000,"timestamp_seconds":1787890641,"priority":1,"record_length":96,"hex_timestamp":"000001a046962868"} 
[2026-08-28 09: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-28 09:51:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 09:51: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-28 09: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-28 09: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-28 09:51:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:51:50] local.INFO: Teltonika packet parsed successfully {"connection_id":164600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:51:50] local.INFO: Passing IMEI to GPS processor {"connection_id":164600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:51:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":164600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:51:50] 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-28 09:51:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:51:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:51:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699927040001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:51:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:51:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:51:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699927040001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:51:50] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:51:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09: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-28 09:51:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:51:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699927040001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:51:50] local.INFO: DEBUG: GPS processor result {"connection_id":164600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:51:50] local.INFO: GPS data processed {"connection_id":164600,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:51:50] local.INFO: Acknowledgment sent {"connection_id":164600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:52:09] local.INFO: TCP Data received {"connection_id":163332,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 09:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163332,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 09:52:09] local.INFO: Processing buffer {"connection_id":163332,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 09:52:09] local.INFO: IMEI packet received {"connection_id":163332,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 09:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":163332,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 09:52:34] local.INFO: TCP Data received {"connection_id":165943,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:52:34] local.INFO: Processing buffer {"connection_id":165943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:52:34] local.INFO: IMEI packet received {"connection_id":165943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 09:52:34] local.INFO: IMEI acknowledgment sent {"connection_id":165943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 09:52:38] local.INFO: TCP Data received {"connection_id":165943,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:52:38] local.INFO: Processing buffer {"connection_id":165943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:52:38] local.INFO: IMEI packet received {"connection_id":165943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 09:52:38] local.INFO: IMEI acknowledgment sent {"connection_id":165943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 09:52:42] local.INFO: TCP Data received {"connection_id":165943,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a046962868012d34c14006aa4840000c00e62a..."} 
[2026-08-28 09:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046962868012d34c14006aa4840000c00e62a..."} 
[2026-08-28 09:52:42] local.INFO: Processing buffer {"connection_id":165943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046962868012d34c14006aa4840000c00e62a..."} 
[2026-08-28 09:52:42] local.INFO: Packet analysis {"connection_id":165943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04696"} 
[2026-08-28 09:52:42] local.INFO: Extracted packet for processing {"connection_id":165943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04696"} 
[2026-08-28 09:52:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09: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-28 09:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699927040001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:52:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09: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-28 09:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787890641000,"timestamp_ms":1787890641000,"timestamp_seconds":1787890641,"priority":1,"record_length":96,"hex_timestamp":"000001a046962868"} 
[2026-08-28 09: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-28 09:52:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09: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":233,"data_length":795,"current_offset":136} 
[2026-08-28 09:52: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-28 09: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-28 09: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-28 09:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:52: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-28 09:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699927040001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699927040001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:52:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:52:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09: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-28 09:52:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699927040001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":165943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:52:42] local.INFO: GPS data processed {"connection_id":165943,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:52:42] local.INFO: Acknowledgment sent {"connection_id":165943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:52:45] local.INFO: TCP Data received {"connection_id":165943,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a046962868012d34c14006aa4840000c00e62a..."} 
[2026-08-28 09:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046962868012d34c14006aa4840000c00e62a..."} 
[2026-08-28 09:52:45] local.INFO: Processing buffer {"connection_id":165943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046962868012d34c14006aa4840000c00e62a..."} 
[2026-08-28 09:52:45] local.INFO: Packet analysis {"connection_id":165943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04696"} 
[2026-08-28 09:52:45] local.INFO: Extracted packet for processing {"connection_id":165943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04696"} 
[2026-08-28 09:52:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09: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-28 09:52:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457699927040001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:52:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:52:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:52: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-28 09:52:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787890641000,"timestamp_ms":1787890641000,"timestamp_seconds":1787890641,"priority":1,"record_length":96,"hex_timestamp":"000001a046962868"} 
[2026-08-28 09: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-28 09:52:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 09:52: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-28 09: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-28 09: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-28 09:52:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:52:45] local.INFO: Teltonika packet parsed successfully {"connection_id":165943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:52:45] local.INFO: Passing IMEI to GPS processor {"connection_id":165943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:52:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":165943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:52:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:52:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:52:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:52:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457699927040001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:52:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:52:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:52:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457699927040001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:52:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 09:52:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09: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-28 09:52:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:52:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457699927040001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:52:45] local.INFO: DEBUG: GPS processor result {"connection_id":165943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:52:45] local.INFO: GPS data processed {"connection_id":165943,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:52:45] local.INFO: Acknowledgment sent {"connection_id":165943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:52:57] local.INFO: TCP Data received {"connection_id":163333,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 09:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163333,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 09:52:57] local.INFO: Processing buffer {"connection_id":163333,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 09:52:57] local.INFO: IMEI packet received {"connection_id":163333,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 09:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":163333,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 09:53:16] local.INFO: TCP Data received {"connection_id":165943,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0469ac030012d34c14006aa4840000a00e62b..."} 
[2026-08-28 09:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0469ac030012d34c14006aa4840000a00e62b..."} 
[2026-08-28 09:53:16] local.INFO: Processing buffer {"connection_id":165943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0469ac030012d34c14006aa4840000a00e62b..."} 
[2026-08-28 09:53:16] local.INFO: Packet analysis {"connection_id":165943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0469a"} 
[2026-08-28 09:53:16] local.INFO: Extracted packet for processing {"connection_id":165943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0469a"} 
[2026-08-28 09:53:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09: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-28 09:53:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700004096001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:53:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 09:53:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:53:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09: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-28 09:53:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787890942000,"timestamp_ms":1787890942000,"timestamp_seconds":1787890942,"priority":1,"record_length":96,"hex_timestamp":"000001a0469ac030"} 
[2026-08-28 09: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-28 09:53:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 09:53: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-28 09: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-28 09: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-28 09:53:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:53:16] local.INFO: Teltonika packet parsed successfully {"connection_id":165943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:53:16] local.INFO: Passing IMEI to GPS processor {"connection_id":165943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:53:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":165943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:53: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-28 09:53:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:53:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:53:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700004096001,"66":25343,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:53:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:53:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:53:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700004096001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:53:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09: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-28 09:53:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:53:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700004096001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:53:16] local.INFO: DEBUG: GPS processor result {"connection_id":165943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:53:16] local.INFO: GPS data processed {"connection_id":165943,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:53:16] local.INFO: Acknowledgment sent {"connection_id":165943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:53:31] local.INFO: TCP Data received {"connection_id":163334,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:53:31] local.INFO: Processing buffer {"connection_id":163334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:53:31] local.INFO: IMEI packet received {"connection_id":163334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 09:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":163334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 09:53:36] local.INFO: TCP Data received {"connection_id":163334,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:53:36] local.INFO: Processing buffer {"connection_id":163334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:53:36] local.INFO: IMEI packet received {"connection_id":163334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 09:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":163334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 09:53:37] local.INFO: TCP Data received {"connection_id":163334,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0469ac030012d34c14006aa4840000a00e62b..."} 
[2026-08-28 09:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0469ac030012d34c14006aa4840000a00e62b..."} 
[2026-08-28 09:53:37] local.INFO: Processing buffer {"connection_id":163334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0469ac030012d34c14006aa4840000a00e62b..."} 
[2026-08-28 09:53:37] local.INFO: Packet analysis {"connection_id":163334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0469a"} 
[2026-08-28 09:53:37] local.INFO: Extracted packet for processing {"connection_id":163334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0469a"} 
[2026-08-28 09:53:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700004096001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:53:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 09:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:53: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-28 09:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787890942000,"timestamp_ms":1787890942000,"timestamp_seconds":1787890942,"priority":1,"record_length":96,"hex_timestamp":"000001a0469ac030"} 
[2026-08-28 09:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 09:53:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700004096001,"66":25343,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700004096001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:53:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:53: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-28 09:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700004096001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":163334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:53:37] local.INFO: GPS data processed {"connection_id":163334,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:53:37] local.INFO: Acknowledgment sent {"connection_id":163334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:54:09] local.INFO: TCP Data received {"connection_id":163334,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0469ac030012d34c14006aa4840000a00e62b..."} 
[2026-08-28 09:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0469ac030012d34c14006aa4840000a00e62b..."} 
[2026-08-28 09:54:09] local.INFO: Processing buffer {"connection_id":163334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0469ac030012d34c14006aa4840000a00e62b..."} 
[2026-08-28 09:54:09] local.INFO: Packet analysis {"connection_id":163334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0469a"} 
[2026-08-28 09:54:09] local.INFO: Extracted packet for processing {"connection_id":163334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0469a"} 
[2026-08-28 09:54:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700004096001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:54:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 09:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:54:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:54: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-28 09:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787890942000,"timestamp_ms":1787890942000,"timestamp_seconds":1787890942,"priority":1,"record_length":96,"hex_timestamp":"000001a0469ac030"} 
[2026-08-28 09:54:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:54:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 09:54:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:54:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:54:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:54:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700004096001,"66":25343,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700004096001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:54:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:54: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-28 09:54:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700004096001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:54:09] local.INFO: DEBUG: GPS processor result {"connection_id":163334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:54:09] local.INFO: GPS data processed {"connection_id":163334,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:54:09] local.INFO: Acknowledgment sent {"connection_id":163334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:54:31] local.INFO: TCP Data received {"connection_id":164601,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:54:31] local.INFO: Processing buffer {"connection_id":164601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:54:31] local.INFO: IMEI packet received {"connection_id":164601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 09:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":164601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 09:54:36] local.INFO: TCP Data received {"connection_id":164601,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:54:36] local.INFO: Processing buffer {"connection_id":164601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:54:36] local.INFO: IMEI packet received {"connection_id":164601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 09:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":164601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 09:54:37] local.INFO: TCP Data received {"connection_id":164601,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0469ac030012d34c14006aa4840000a00e62b..."} 
[2026-08-28 09:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0469ac030012d34c14006aa4840000a00e62b..."} 
[2026-08-28 09:54:37] local.INFO: Processing buffer {"connection_id":164601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0469ac030012d34c14006aa4840000a00e62b..."} 
[2026-08-28 09:54:37] local.INFO: Packet analysis {"connection_id":164601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0469a"} 
[2026-08-28 09:54:37] local.INFO: Extracted packet for processing {"connection_id":164601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0469a"} 
[2026-08-28 09:54:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700004096001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:54:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 09:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:54: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-28 09:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787890942000,"timestamp_ms":1787890942000,"timestamp_seconds":1787890942,"priority":1,"record_length":96,"hex_timestamp":"000001a0469ac030"} 
[2026-08-28 09:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 09:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:54:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700004096001,"66":25343,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700004096001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:54:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:54: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-28 09:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700004096001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":164601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:54:37] local.INFO: GPS data processed {"connection_id":164601,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:54:37] local.INFO: Acknowledgment sent {"connection_id":164601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:55:08] local.INFO: TCP Data received {"connection_id":164601,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0469ac030012d34c14006aa4840000a00e62b..."} 
[2026-08-28 09:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0469ac030012d34c14006aa4840000a00e62b..."} 
[2026-08-28 09:55:08] local.INFO: Processing buffer {"connection_id":164601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0469ac030012d34c14006aa4840000a00e62b..."} 
[2026-08-28 09:55:08] local.INFO: Packet analysis {"connection_id":164601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0469a"} 
[2026-08-28 09:55:08] local.INFO: Extracted packet for processing {"connection_id":164601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0469a"} 
[2026-08-28 09:55:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700004096001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:55:08] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 09:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:55:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:55: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-28 09:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787890942000,"timestamp_ms":1787890942000,"timestamp_seconds":1787890942,"priority":1,"record_length":96,"hex_timestamp":"000001a0469ac030"} 
[2026-08-28 09:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:55:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 09:55:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:55:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:55:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700004096001,"66":25343,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 09:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700004096001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:55:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:55: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-28 09:55:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700004096001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":164601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:55:08] local.INFO: GPS data processed {"connection_id":164601,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:55:08] local.INFO: Acknowledgment sent {"connection_id":164601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:55:31] local.INFO: TCP Data received {"connection_id":163607,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:55:31] local.INFO: Processing buffer {"connection_id":163607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:55:31] local.INFO: IMEI packet received {"connection_id":163607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 09:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":163607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 09:55:36] local.INFO: TCP Data received {"connection_id":163607,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:55:36] local.INFO: Processing buffer {"connection_id":163607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:55:36] local.INFO: IMEI packet received {"connection_id":163607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 09:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":163607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 09:55:37] local.INFO: TCP Data received {"connection_id":163607,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0469ac030012d34c14006aa4840000a00e62b..."} 
[2026-08-28 09:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0469ac030012d34c14006aa4840000a00e62b..."} 
[2026-08-28 09:55:37] local.INFO: Processing buffer {"connection_id":163607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0469ac030012d34c14006aa4840000a00e62b..."} 
[2026-08-28 09:55:37] local.INFO: Packet analysis {"connection_id":163607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0469a"} 
[2026-08-28 09:55:37] local.INFO: Extracted packet for processing {"connection_id":163607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0469a"} 
[2026-08-28 09:55:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700004096001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:55:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 09:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:55: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-28 09:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787890942000,"timestamp_ms":1787890942000,"timestamp_seconds":1787890942,"priority":1,"record_length":96,"hex_timestamp":"000001a0469ac030"} 
[2026-08-28 09:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 09:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700004096001,"66":25343,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-28 09:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700004096001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:55:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:55: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-28 09:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700004096001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":163607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:55:37] local.INFO: GPS data processed {"connection_id":163607,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:55:37] local.INFO: Acknowledgment sent {"connection_id":163607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:56:08] local.INFO: TCP Data received {"connection_id":163607,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0469ac030012d34c14006aa4840000a00e62b..."} 
[2026-08-28 09:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0469ac030012d34c14006aa4840000a00e62b..."} 
[2026-08-28 09:56:08] local.INFO: Processing buffer {"connection_id":163607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0469ac030012d34c14006aa4840000a00e62b..."} 
[2026-08-28 09:56:08] local.INFO: Packet analysis {"connection_id":163607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0469a"} 
[2026-08-28 09:56:08] local.INFO: Extracted packet for processing {"connection_id":163607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0469a"} 
[2026-08-28 09:56:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700004096001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:56:08] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 09:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:56: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-28 09:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787890942000,"timestamp_ms":1787890942000,"timestamp_seconds":1787890942,"priority":1,"record_length":96,"hex_timestamp":"000001a0469ac030"} 
[2026-08-28 09:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:56:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 09:56:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:56:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:56:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700004096001,"66":25343,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-28 09:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700004096001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:56:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:56: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-28 09:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700004096001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":163607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:56:08] local.INFO: GPS data processed {"connection_id":163607,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:56:08] local.INFO: Acknowledgment sent {"connection_id":163607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:56:31] local.INFO: TCP Data received {"connection_id":163335,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:56:31] local.INFO: Processing buffer {"connection_id":163335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:56:31] local.INFO: IMEI packet received {"connection_id":163335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 09:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":163335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 09:56:36] local.INFO: TCP Data received {"connection_id":163335,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:56:36] local.INFO: Processing buffer {"connection_id":163335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:56:36] local.INFO: IMEI packet received {"connection_id":163335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 09:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":163335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 09:56:37] local.INFO: TCP Data received {"connection_id":163335,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0469ac030012d34c14006aa4840000a00e62b..."} 
[2026-08-28 09:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0469ac030012d34c14006aa4840000a00e62b..."} 
[2026-08-28 09:56:37] local.INFO: Processing buffer {"connection_id":163335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0469ac030012d34c14006aa4840000a00e62b..."} 
[2026-08-28 09:56:37] local.INFO: Packet analysis {"connection_id":163335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0469a"} 
[2026-08-28 09:56:37] local.INFO: Extracted packet for processing {"connection_id":163335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0469a"} 
[2026-08-28 09:56:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700004096001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:56:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 09:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:56: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-28 09:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787890942000,"timestamp_ms":1787890942000,"timestamp_seconds":1787890942,"priority":1,"record_length":96,"hex_timestamp":"000001a0469ac030"} 
[2026-08-28 09:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 09:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700004096001,"66":25343,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-28 09:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700004096001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:56:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:56: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-28 09:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700004096001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:56:37] 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":706929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:56:37] local.INFO: GPS data processed {"connection_id":163335,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:56:37] local.INFO: Acknowledgment sent {"connection_id":163335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:57:09] local.INFO: TCP Data received {"connection_id":163335,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0469ac030012d34c14006aa4840000a00e62b..."} 
[2026-08-28 09:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0469ac030012d34c14006aa4840000a00e62b..."} 
[2026-08-28 09:57:09] local.INFO: Processing buffer {"connection_id":163335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0469ac030012d34c14006aa4840000a00e62b..."} 
[2026-08-28 09:57:09] local.INFO: Packet analysis {"connection_id":163335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0469a"} 
[2026-08-28 09:57:09] local.INFO: Extracted packet for processing {"connection_id":163335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0469a"} 
[2026-08-28 09:57:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700004096001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:57:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 09:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:57:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:57: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-28 09:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787890942000,"timestamp_ms":1787890942000,"timestamp_seconds":1787890942,"priority":1,"record_length":96,"hex_timestamp":"000001a0469ac030"} 
[2026-08-28 09:57:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:57:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 09:57:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:57:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:57:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:57:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700004096001,"66":25343,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-28 09:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700004096001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:57:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:57: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-28 09:57:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700004096001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:57:09] 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":706930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:57:09] local.INFO: GPS data processed {"connection_id":163335,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:57:09] local.INFO: Acknowledgment sent {"connection_id":163335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:57:31] local.INFO: TCP Data received {"connection_id":164602,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:57:31] local.INFO: Processing buffer {"connection_id":164602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:57:31] local.INFO: IMEI packet received {"connection_id":164602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 09:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":164602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 09:57:36] local.INFO: TCP Data received {"connection_id":164602,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:57:36] local.INFO: Processing buffer {"connection_id":164602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:57:36] local.INFO: IMEI packet received {"connection_id":164602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 09:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":164602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 09:57:37] local.INFO: TCP Data received {"connection_id":164602,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0469ac030012d34c14006aa4840000a00e62b..."} 
[2026-08-28 09:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0469ac030012d34c14006aa4840000a00e62b..."} 
[2026-08-28 09:57:37] local.INFO: Processing buffer {"connection_id":164602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0469ac030012d34c14006aa4840000a00e62b..."} 
[2026-08-28 09:57:37] local.INFO: Packet analysis {"connection_id":164602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0469a"} 
[2026-08-28 09:57:37] local.INFO: Extracted packet for processing {"connection_id":164602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0469a"} 
[2026-08-28 09:57:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700004096001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:57:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 09:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:57: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-28 09:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787890942000,"timestamp_ms":1787890942000,"timestamp_seconds":1787890942,"priority":1,"record_length":96,"hex_timestamp":"000001a0469ac030"} 
[2026-08-28 09:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 09:57:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:57:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700004096001,"66":25343,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-28 09:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700004096001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:57:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:57: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-28 09:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700004096001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":164602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:57:37] local.INFO: GPS data processed {"connection_id":164602,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:57:37] local.INFO: Acknowledgment sent {"connection_id":164602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:58:02] local.INFO: TCP Data received {"connection_id":165944,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 09:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165944,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 09:58:02] local.INFO: Processing buffer {"connection_id":165944,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 09:58:02] local.INFO: IMEI packet received {"connection_id":165944,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 09:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":165944,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 09:58:09] local.INFO: TCP Data received {"connection_id":164602,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0469f57f8012d34c14006aa4840000900e628..."} 
[2026-08-28 09:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0469f57f8012d34c14006aa4840000900e628..."} 
[2026-08-28 09:58:09] local.INFO: Processing buffer {"connection_id":164602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0469f57f8012d34c14006aa4840000900e628..."} 
[2026-08-28 09:58:09] local.INFO: Packet analysis {"connection_id":164602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0469f"} 
[2026-08-28 09:58:09] local.INFO: Extracted packet for processing {"connection_id":164602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0469f"} 
[2026-08-28 09:58:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700081152001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:58:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 09:58:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:58:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:58: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-28 09:58:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787891243000,"timestamp_ms":1787891243000,"timestamp_seconds":1787891243,"priority":1,"record_length":96,"hex_timestamp":"000001a0469f57f8"} 
[2026-08-28 09:58:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:58:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 09:58:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:58:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:58:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:58:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:58:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:58:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:58:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:58:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:58:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:58:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:58:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700081152001,"66":25343,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-28 09:58:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:58:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:58:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700081152001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:58:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:58: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-28 09:58:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:58:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700081152001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:58:09] local.INFO: DEBUG: GPS processor result {"connection_id":164602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:58:09] local.INFO: GPS data processed {"connection_id":164602,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:58:09] local.INFO: Acknowledgment sent {"connection_id":164602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:58:38] local.INFO: TCP Data received {"connection_id":165945,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:58:38] local.INFO: Processing buffer {"connection_id":165945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:58:38] local.INFO: IMEI packet received {"connection_id":165945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 09:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":165945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 09:58:41] local.INFO: TCP Data received {"connection_id":165945,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:58:41] local.INFO: Processing buffer {"connection_id":165945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:58:41] local.INFO: IMEI packet received {"connection_id":165945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 09:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":165945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 09:58:42] local.INFO: TCP Data received {"connection_id":165945,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0469f57f8012d34c14006aa4840000900e628..."} 
[2026-08-28 09:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0469f57f8012d34c14006aa4840000900e628..."} 
[2026-08-28 09:58:42] local.INFO: Processing buffer {"connection_id":165945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0469f57f8012d34c14006aa4840000900e628..."} 
[2026-08-28 09:58:42] local.INFO: Packet analysis {"connection_id":165945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0469f"} 
[2026-08-28 09:58:42] local.INFO: Extracted packet for processing {"connection_id":165945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0469f"} 
[2026-08-28 09:58:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09: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-28 09:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700081152001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:58:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 09:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:58:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:58:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 09:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787891243000,"timestamp_ms":1787891243000,"timestamp_seconds":1787891243,"priority":1,"record_length":96,"hex_timestamp":"000001a0469f57f8"} 
[2026-08-28 09: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-28 09: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-28 09: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":255,"data_length":795,"current_offset":136} 
[2026-08-28 09:58: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-28 09: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-28 09: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-28 09:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:58: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-28 09:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700081152001,"66":25343,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-28 09:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700081152001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:58:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09: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-28 09:58:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700081152001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":165945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:58:42] local.INFO: GPS data processed {"connection_id":165945,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:58:42] local.INFO: Acknowledgment sent {"connection_id":165945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:58:46] local.INFO: TCP Data received {"connection_id":165945,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0469f57f8012d34c14006aa4840000900e628..."} 
[2026-08-28 09:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0469f57f8012d34c14006aa4840000900e628..."} 
[2026-08-28 09:58:46] local.INFO: Processing buffer {"connection_id":165945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0469f57f8012d34c14006aa4840000900e628..."} 
[2026-08-28 09:58:46] local.INFO: Packet analysis {"connection_id":165945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0469f"} 
[2026-08-28 09:58:46] local.INFO: Extracted packet for processing {"connection_id":165945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0469f"} 
[2026-08-28 09:58:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700081152001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:58:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 09:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:58:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:58: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-28 09:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787891243000,"timestamp_ms":1787891243000,"timestamp_seconds":1787891243,"priority":1,"record_length":96,"hex_timestamp":"000001a0469f57f8"} 
[2026-08-28 09:58:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:58: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-28 09:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 09:58: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-28 09:58:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:58:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":165945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":165945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":165945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:58:46] 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-28 09:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700081152001,"66":25343,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-28 09:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700081152001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:58:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:58: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-28 09:58:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700081152001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:58:46] local.INFO: DEBUG: GPS processor result {"connection_id":165945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:58:46] local.INFO: GPS data processed {"connection_id":165945,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:58:46] local.INFO: Acknowledgment sent {"connection_id":165945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 09:59:31] local.INFO: TCP Data received {"connection_id":163336,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:59:31] local.INFO: Processing buffer {"connection_id":163336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:59:31] local.INFO: IMEI packet received {"connection_id":163336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 09:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":163336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 09:59:36] local.INFO: TCP Data received {"connection_id":163336,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:59:36] local.INFO: Processing buffer {"connection_id":163336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 09:59:36] local.INFO: IMEI packet received {"connection_id":163336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 09:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":163336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 09:59:37] local.INFO: TCP Data received {"connection_id":163336,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0469f57f8012d34c14006aa4840000900e628..."} 
[2026-08-28 09:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0469f57f8012d34c14006aa4840000900e628..."} 
[2026-08-28 09:59:37] local.INFO: Processing buffer {"connection_id":163336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0469f57f8012d34c14006aa4840000900e628..."} 
[2026-08-28 09:59:37] local.INFO: Packet analysis {"connection_id":163336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0469f"} 
[2026-08-28 09:59:37] local.INFO: Extracted packet for processing {"connection_id":163336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0469f"} 
[2026-08-28 09:59:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 09:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 09:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700081152001,"note":"Value kept but may cause issues"} 
[2026-08-28 09:59:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 09:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 09:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 09:59: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-28 09:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787891243000,"timestamp_ms":1787891243000,"timestamp_seconds":1787891243,"priority":1,"record_length":96,"hex_timestamp":"000001a0469f57f8"} 
[2026-08-28 09:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 09:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 09:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 09:59:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 09:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 09:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 09:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 09:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 09:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 09:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 09:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 09:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 09:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700081152001,"66":25343,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-28 09:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 09:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 09:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700081152001,"description":"Unknown IO ID 0"} 
[2026-08-28 09:59:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 09:59: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-28 09:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 09:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700081152001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 09:59:37] 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":706935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 09:59:37] local.INFO: GPS data processed {"connection_id":163336,"processed":1,"errors":0,"total":1} 
[2026-08-28 09:59:37] local.INFO: Acknowledgment sent {"connection_id":163336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:00:09] local.INFO: TCP Data received {"connection_id":163336,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0469f57f8012d34c14006aa4840000900e628..."} 
[2026-08-28 10:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0469f57f8012d34c14006aa4840000900e628..."} 
[2026-08-28 10:00:09] local.INFO: Processing buffer {"connection_id":163336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0469f57f8012d34c14006aa4840000900e628..."} 
[2026-08-28 10:00:09] local.INFO: Packet analysis {"connection_id":163336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0469f"} 
[2026-08-28 10:00:09] local.INFO: Extracted packet for processing {"connection_id":163336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0469f"} 
[2026-08-28 10:00:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:00:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700081152001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:00:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 10:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:00:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:00: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-28 10:00:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787891243000,"timestamp_ms":1787891243000,"timestamp_seconds":1787891243,"priority":1,"record_length":96,"hex_timestamp":"000001a0469f57f8"} 
[2026-08-28 10:00:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:00:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 10:00:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:00:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:00:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:00:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:00:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:00:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:00:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700081152001,"66":25343,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-28 10:00:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:00:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:00:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700081152001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:00:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:00: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-28 10:00:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:00:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700081152001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:00:09] 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":706936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:00:09] local.INFO: GPS data processed {"connection_id":163336,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:00:09] local.INFO: Acknowledgment sent {"connection_id":163336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:00:31] local.INFO: TCP Data received {"connection_id":164603,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:00:31] local.INFO: Processing buffer {"connection_id":164603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:00:31] local.INFO: IMEI packet received {"connection_id":164603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 10:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":164603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:00:36] local.INFO: TCP Data received {"connection_id":164603,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:00:36] local.INFO: Processing buffer {"connection_id":164603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:00:36] local.INFO: IMEI packet received {"connection_id":164603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 10:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":164603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:00:37] local.INFO: TCP Data received {"connection_id":164603,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0469f57f8012d34c14006aa4840000900e628..."} 
[2026-08-28 10:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0469f57f8012d34c14006aa4840000900e628..."} 
[2026-08-28 10:00:37] local.INFO: Processing buffer {"connection_id":164603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0469f57f8012d34c14006aa4840000900e628..."} 
[2026-08-28 10:00:37] local.INFO: Packet analysis {"connection_id":164603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0469f"} 
[2026-08-28 10:00:37] local.INFO: Extracted packet for processing {"connection_id":164603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0469f"} 
[2026-08-28 10:00:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700081152001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:00:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 10:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:00: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-28 10:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787891243000,"timestamp_ms":1787891243000,"timestamp_seconds":1787891243,"priority":1,"record_length":96,"hex_timestamp":"000001a0469f57f8"} 
[2026-08-28 10:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 10:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700081152001,"66":25343,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-28 10:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700081152001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:00:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:00: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-28 10:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700081152001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":164603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:00:37] local.INFO: GPS data processed {"connection_id":164603,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:00:37] local.INFO: Acknowledgment sent {"connection_id":164603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:01:09] local.INFO: TCP Data received {"connection_id":164603,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0469f57f8012d34c14006aa4840000900e628..."} 
[2026-08-28 10:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0469f57f8012d34c14006aa4840000900e628..."} 
[2026-08-28 10:01:09] local.INFO: Processing buffer {"connection_id":164603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0469f57f8012d34c14006aa4840000900e628..."} 
[2026-08-28 10:01:09] local.INFO: Packet analysis {"connection_id":164603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0469f"} 
[2026-08-28 10:01:09] local.INFO: Extracted packet for processing {"connection_id":164603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0469f"} 
[2026-08-28 10:01:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700081152001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:01:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 10:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:01: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-28 10:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787891243000,"timestamp_ms":1787891243000,"timestamp_seconds":1787891243,"priority":1,"record_length":96,"hex_timestamp":"000001a0469f57f8"} 
[2026-08-28 10:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:01:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 10:01:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:01:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:01:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700081152001,"66":25343,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-28 10:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700081152001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:01:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:01: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-28 10:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700081152001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":164603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:01:09] local.INFO: GPS data processed {"connection_id":164603,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:01:09] local.INFO: Acknowledgment sent {"connection_id":164603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:01:31] local.INFO: TCP Data received {"connection_id":163337,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:01:31] local.INFO: Processing buffer {"connection_id":163337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:01:31] local.INFO: IMEI packet received {"connection_id":163337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 10:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":163337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:01:36] local.INFO: TCP Data received {"connection_id":163337,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:01:36] local.INFO: Processing buffer {"connection_id":163337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:01:36] local.INFO: IMEI packet received {"connection_id":163337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 10:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":163337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:01:37] local.INFO: TCP Data received {"connection_id":163337,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0469f57f8012d34c14006aa4840000900e628..."} 
[2026-08-28 10:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0469f57f8012d34c14006aa4840000900e628..."} 
[2026-08-28 10:01:37] local.INFO: Processing buffer {"connection_id":163337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0469f57f8012d34c14006aa4840000900e628..."} 
[2026-08-28 10:01:37] local.INFO: Packet analysis {"connection_id":163337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0469f"} 
[2026-08-28 10:01:37] local.INFO: Extracted packet for processing {"connection_id":163337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0469f"} 
[2026-08-28 10:01:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700081152001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:01:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 10:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:01: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-28 10:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787891243000,"timestamp_ms":1787891243000,"timestamp_seconds":1787891243,"priority":1,"record_length":96,"hex_timestamp":"000001a0469f57f8"} 
[2026-08-28 10:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 10:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700081152001,"66":25343,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700081152001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:01:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:01: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-28 10:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700081152001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:01:37] 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":706939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:01:37] local.INFO: GPS data processed {"connection_id":163337,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:01:37] local.INFO: Acknowledgment sent {"connection_id":163337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:02:09] local.INFO: TCP Data received {"connection_id":163337,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0469f57f8012d34c14006aa4840000900e628..."} 
[2026-08-28 10:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0469f57f8012d34c14006aa4840000900e628..."} 
[2026-08-28 10:02:09] local.INFO: Processing buffer {"connection_id":163337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0469f57f8012d34c14006aa4840000900e628..."} 
[2026-08-28 10:02:09] local.INFO: Packet analysis {"connection_id":163337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0469f"} 
[2026-08-28 10:02:09] local.INFO: Extracted packet for processing {"connection_id":163337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0469f"} 
[2026-08-28 10:02:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10: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-28 10:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700081152001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:02:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 10:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:02:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:02: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-28 10:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787891243000,"timestamp_ms":1787891243000,"timestamp_seconds":1787891243,"priority":1,"record_length":96,"hex_timestamp":"000001a0469f57f8"} 
[2026-08-28 10: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-28 10:02:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 10:02:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10: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-28 10: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-28 10:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:02:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700081152001,"66":25343,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700081152001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:02:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10: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-28 10:02:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700081152001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:02:09] 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":706940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:02:09] local.INFO: GPS data processed {"connection_id":163337,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:02:09] local.INFO: Acknowledgment sent {"connection_id":163337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:02:31] local.INFO: TCP Data received {"connection_id":165946,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:02:31] local.INFO: Processing buffer {"connection_id":165946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:02:31] local.INFO: IMEI packet received {"connection_id":165946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 10:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":165946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:02:36] local.INFO: TCP Data received {"connection_id":165946,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:02:36] local.INFO: Processing buffer {"connection_id":165946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:02:36] local.INFO: IMEI packet received {"connection_id":165946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 10:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":165946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:02:37] local.INFO: TCP Data received {"connection_id":165946,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0469f57f8012d34c14006aa4840000900e628..."} 
[2026-08-28 10:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0469f57f8012d34c14006aa4840000900e628..."} 
[2026-08-28 10:02:37] local.INFO: Processing buffer {"connection_id":165946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0469f57f8012d34c14006aa4840000900e628..."} 
[2026-08-28 10:02:37] local.INFO: Packet analysis {"connection_id":165946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0469f"} 
[2026-08-28 10:02:37] local.INFO: Extracted packet for processing {"connection_id":165946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0469f"} 
[2026-08-28 10:02:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700081152001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:02:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 10:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:02: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-28 10:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787891243000,"timestamp_ms":1787891243000,"timestamp_seconds":1787891243,"priority":1,"record_length":96,"hex_timestamp":"000001a0469f57f8"} 
[2026-08-28 10:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 10:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":165946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":165946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":165946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700081152001,"66":25343,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700081152001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:02:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:02: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-28 10:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700081152001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":165946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:02:37] local.INFO: GPS data processed {"connection_id":165946,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:02:37] local.INFO: Acknowledgment sent {"connection_id":165946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:03:09] local.INFO: TCP Data received {"connection_id":165946,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a046a3efc0012d34c14006aa4840000b00e62b..."} 
[2026-08-28 10:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046a3efc0012d34c14006aa4840000b00e62b..."} 
[2026-08-28 10:03:09] local.INFO: Processing buffer {"connection_id":165946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046a3efc0012d34c14006aa4840000b00e62b..."} 
[2026-08-28 10:03:09] local.INFO: Packet analysis {"connection_id":165946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046a3"} 
[2026-08-28 10:03:09] local.INFO: Extracted packet for processing {"connection_id":165946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046a3"} 
[2026-08-28 10:03:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700158208001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:03:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 10:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:03:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:03: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-28 10:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787891544000,"timestamp_ms":1787891544000,"timestamp_seconds":1787891544,"priority":1,"record_length":96,"hex_timestamp":"000001a046a3efc0"} 
[2026-08-28 10:03:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:03:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 10:03:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:03:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:03:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":165946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":165946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":165946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:03:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700158208001,"66":25343,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700158208001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:03:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:03: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-28 10:03:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700158208001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":165946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:03:09] local.INFO: GPS data processed {"connection_id":165946,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:03:09] local.INFO: Acknowledgment sent {"connection_id":165946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:03:36] local.INFO: TCP Data received {"connection_id":164604,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:03:36] local.INFO: Processing buffer {"connection_id":164604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:03:36] local.INFO: IMEI packet received {"connection_id":164604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 10:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":164604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:03:37] local.INFO: TCP Data received {"connection_id":163608,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 10:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163608,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 10:03:37] local.INFO: Processing buffer {"connection_id":163608,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 10:03:37] local.INFO: IMEI packet received {"connection_id":163608,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 10:03:37] local.INFO: IMEI acknowledgment sent {"connection_id":163608,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:03:45] local.INFO: TCP Data received {"connection_id":164604,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:03:45] local.INFO: Processing buffer {"connection_id":164604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:03:45] local.INFO: IMEI packet received {"connection_id":164604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 10:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":164604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:03:46] local.INFO: TCP Data received {"connection_id":164604,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a046a3efc0012d34c14006aa4840000b00e62b..."} 
[2026-08-28 10:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046a3efc0012d34c14006aa4840000b00e62b..."} 
[2026-08-28 10:03:46] local.INFO: Processing buffer {"connection_id":164604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046a3efc0012d34c14006aa4840000b00e62b..."} 
[2026-08-28 10:03:46] local.INFO: Packet analysis {"connection_id":164604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046a3"} 
[2026-08-28 10:03:46] local.INFO: Extracted packet for processing {"connection_id":164604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046a3"} 
[2026-08-28 10:03:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700158208001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:03:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 10:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:03:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:03: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-28 10:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787891544000,"timestamp_ms":1787891544000,"timestamp_seconds":1787891544,"priority":1,"record_length":96,"hex_timestamp":"000001a046a3efc0"} 
[2026-08-28 10:03:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:03:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 10:03: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-28 10:03:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:03:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:03: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-28 10:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700158208001,"66":25343,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-28 10:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700158208001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:03:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:03: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-28 10:03:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700158208001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":164604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:03:46] local.INFO: GPS data processed {"connection_id":164604,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:03:46] local.INFO: Acknowledgment sent {"connection_id":164604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:04:31] local.INFO: TCP Data received {"connection_id":163609,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:04:31] local.INFO: Processing buffer {"connection_id":163609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:04:31] local.INFO: IMEI packet received {"connection_id":163609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 10:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":163609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:04:36] local.INFO: TCP Data received {"connection_id":163609,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:04:36] local.INFO: Processing buffer {"connection_id":163609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:04:36] local.INFO: IMEI packet received {"connection_id":163609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 10:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":163609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:04:37] local.INFO: TCP Data received {"connection_id":163609,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a046a3efc0012d34c14006aa4840000b00e62b..."} 
[2026-08-28 10:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046a3efc0012d34c14006aa4840000b00e62b..."} 
[2026-08-28 10:04:37] local.INFO: Processing buffer {"connection_id":163609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046a3efc0012d34c14006aa4840000b00e62b..."} 
[2026-08-28 10:04:37] local.INFO: Packet analysis {"connection_id":163609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046a3"} 
[2026-08-28 10:04:37] local.INFO: Extracted packet for processing {"connection_id":163609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046a3"} 
[2026-08-28 10:04:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700158208001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:04:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 10:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:04: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-28 10:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787891544000,"timestamp_ms":1787891544000,"timestamp_seconds":1787891544,"priority":1,"record_length":96,"hex_timestamp":"000001a046a3efc0"} 
[2026-08-28 10:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 10:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700158208001,"66":25343,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-28 10:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700158208001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:04:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:04: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-28 10:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700158208001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:04:37] 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":706944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:04:37] local.INFO: GPS data processed {"connection_id":163609,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:04:37] local.INFO: Acknowledgment sent {"connection_id":163609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:05:08] local.INFO: TCP Data received {"connection_id":163609,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a046a3efc0012d34c14006aa4840000b00e62b..."} 
[2026-08-28 10:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046a3efc0012d34c14006aa4840000b00e62b..."} 
[2026-08-28 10:05:08] local.INFO: Processing buffer {"connection_id":163609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046a3efc0012d34c14006aa4840000b00e62b..."} 
[2026-08-28 10:05:08] local.INFO: Packet analysis {"connection_id":163609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046a3"} 
[2026-08-28 10:05:08] local.INFO: Extracted packet for processing {"connection_id":163609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046a3"} 
[2026-08-28 10:05:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700158208001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:05:08] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 10:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:05: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-28 10:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787891544000,"timestamp_ms":1787891544000,"timestamp_seconds":1787891544,"priority":1,"record_length":96,"hex_timestamp":"000001a046a3efc0"} 
[2026-08-28 10:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:05: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-28 10:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 10:05:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:05:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700158208001,"66":25343,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-28 10:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700158208001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:05:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:05: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-28 10:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700158208001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:05:08] 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":706945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:05:08] local.INFO: GPS data processed {"connection_id":163609,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:05:08] local.INFO: Acknowledgment sent {"connection_id":163609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:05:34] local.INFO: TCP Data received {"connection_id":165947,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:05:34] local.INFO: Processing buffer {"connection_id":165947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:05:34] local.INFO: IMEI packet received {"connection_id":165947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 10:05:34] local.INFO: IMEI acknowledgment sent {"connection_id":165947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:05:36] local.INFO: TCP Data received {"connection_id":165947,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:05:36] local.INFO: Processing buffer {"connection_id":165947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:05:36] local.INFO: IMEI packet received {"connection_id":165947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 10:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":165947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:05:37] local.INFO: TCP Data received {"connection_id":165947,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a046a3efc0012d34c14006aa4840000b00e62b..."} 
[2026-08-28 10:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046a3efc0012d34c14006aa4840000b00e62b..."} 
[2026-08-28 10:05:37] local.INFO: Processing buffer {"connection_id":165947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046a3efc0012d34c14006aa4840000b00e62b..."} 
[2026-08-28 10:05:37] local.INFO: Packet analysis {"connection_id":165947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046a3"} 
[2026-08-28 10:05:37] local.INFO: Extracted packet for processing {"connection_id":165947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046a3"} 
[2026-08-28 10:05:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700158208001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:05:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 10:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:05: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-28 10:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787891544000,"timestamp_ms":1787891544000,"timestamp_seconds":1787891544,"priority":1,"record_length":96,"hex_timestamp":"000001a046a3efc0"} 
[2026-08-28 10:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 10:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":165947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":165947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":165947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700158208001,"66":25343,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700158208001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:05:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:05: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-28 10:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700158208001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":165947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:05:37] local.INFO: GPS data processed {"connection_id":165947,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:05:37] local.INFO: Acknowledgment sent {"connection_id":165947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:05:42] local.INFO: TCP Data received {"connection_id":165947,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a046a3efc0012d34c14006aa4840000b00e62b..."} 
[2026-08-28 10:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046a3efc0012d34c14006aa4840000b00e62b..."} 
[2026-08-28 10:05:42] local.INFO: Processing buffer {"connection_id":165947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046a3efc0012d34c14006aa4840000b00e62b..."} 
[2026-08-28 10:05:42] local.INFO: Packet analysis {"connection_id":165947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046a3"} 
[2026-08-28 10:05:42] local.INFO: Extracted packet for processing {"connection_id":165947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046a3"} 
[2026-08-28 10:05:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10: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-28 10:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700158208001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:05:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 10:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:05:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:05:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 10:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787891544000,"timestamp_ms":1787891544000,"timestamp_seconds":1787891544,"priority":1,"record_length":96,"hex_timestamp":"000001a046a3efc0"} 
[2026-08-28 10: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-28 10: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-28 10: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-28 10: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-28 10: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-28 10: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-28 10:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:05: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-28 10:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700158208001,"66":25343,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700158208001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:05:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10: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-28 10:05:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700158208001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":165947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:05:42] local.INFO: GPS data processed {"connection_id":165947,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:05:42] local.INFO: Acknowledgment sent {"connection_id":165947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:06:14] local.INFO: TCP Data received {"connection_id":165947,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a046a3efc0012d34c14006aa4840000b00e62b..."} 
[2026-08-28 10:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046a3efc0012d34c14006aa4840000b00e62b..."} 
[2026-08-28 10:06:14] local.INFO: Processing buffer {"connection_id":165947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046a3efc0012d34c14006aa4840000b00e62b..."} 
[2026-08-28 10:06:14] local.INFO: Packet analysis {"connection_id":165947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046a3"} 
[2026-08-28 10:06:14] local.INFO: Extracted packet for processing {"connection_id":165947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046a3"} 
[2026-08-28 10:06:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10: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-28 10:06:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700158208001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:06:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 10:06:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:06:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:06: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-28 10:06:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787891544000,"timestamp_ms":1787891544000,"timestamp_seconds":1787891544,"priority":1,"record_length":96,"hex_timestamp":"000001a046a3efc0"} 
[2026-08-28 10: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-28 10:06: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-28 10: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 10:06: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-28 10: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-28 10: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-28 10:06:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:06:14] local.INFO: Teltonika packet parsed successfully {"connection_id":165947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:06:14] local.INFO: Passing IMEI to GPS processor {"connection_id":165947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:06:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":165947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:06: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-28 10:06:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:06:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:06:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700158208001,"66":25343,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:06:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:06:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:06:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700158208001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:06:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10: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-28 10:06:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:06:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700158208001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:06:14] local.INFO: DEBUG: GPS processor result {"connection_id":165947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:06:14] local.INFO: GPS data processed {"connection_id":165947,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:06:14] local.INFO: Acknowledgment sent {"connection_id":165947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:06:31] local.INFO: TCP Data received {"connection_id":164605,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:06:31] local.INFO: Processing buffer {"connection_id":164605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:06:31] local.INFO: IMEI packet received {"connection_id":164605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 10:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":164605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:06:36] local.INFO: TCP Data received {"connection_id":164605,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:06:36] local.INFO: Processing buffer {"connection_id":164605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:06:36] local.INFO: IMEI packet received {"connection_id":164605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 10:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":164605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:06:37] local.INFO: TCP Data received {"connection_id":164605,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a046a3efc0012d34c14006aa4840000b00e62b..."} 
[2026-08-28 10:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046a3efc0012d34c14006aa4840000b00e62b..."} 
[2026-08-28 10:06:37] local.INFO: Processing buffer {"connection_id":164605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046a3efc0012d34c14006aa4840000b00e62b..."} 
[2026-08-28 10:06:37] local.INFO: Packet analysis {"connection_id":164605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046a3"} 
[2026-08-28 10:06:37] local.INFO: Extracted packet for processing {"connection_id":164605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046a3"} 
[2026-08-28 10:06:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700158208001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:06:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 10:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:06: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-28 10:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787891544000,"timestamp_ms":1787891544000,"timestamp_seconds":1787891544,"priority":1,"record_length":96,"hex_timestamp":"000001a046a3efc0"} 
[2026-08-28 10:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 10:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700158208001,"66":25343,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700158208001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:06:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:06: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-28 10:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700158208001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":164605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:06:38] local.INFO: GPS data processed {"connection_id":164605,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:06:38] local.INFO: Acknowledgment sent {"connection_id":164605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:07:09] local.INFO: TCP Data received {"connection_id":164605,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a046a3efc0012d34c14006aa4840000b00e62b..."} 
[2026-08-28 10:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046a3efc0012d34c14006aa4840000b00e62b..."} 
[2026-08-28 10:07:09] local.INFO: Processing buffer {"connection_id":164605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046a3efc0012d34c14006aa4840000b00e62b..."} 
[2026-08-28 10:07:09] local.INFO: Packet analysis {"connection_id":164605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046a3"} 
[2026-08-28 10:07:09] local.INFO: Extracted packet for processing {"connection_id":164605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046a3"} 
[2026-08-28 10:07:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10: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-28 10:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700158208001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:07:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 10:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:07: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-28 10:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787891544000,"timestamp_ms":1787891544000,"timestamp_seconds":1787891544,"priority":1,"record_length":96,"hex_timestamp":"000001a046a3efc0"} 
[2026-08-28 10: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-28 10:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 10:07:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10: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-28 10: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-28 10:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:07:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700158208001,"66":25343,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700158208001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:07:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:07: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-28 10:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700158208001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":164605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:07:09] local.INFO: GPS data processed {"connection_id":164605,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:07:09] local.INFO: Acknowledgment sent {"connection_id":164605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:07:36] local.INFO: TCP Data received {"connection_id":165948,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:07:36] local.INFO: Processing buffer {"connection_id":165948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:07:36] local.INFO: IMEI packet received {"connection_id":165948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 10:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":165948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:07:41] local.INFO: TCP Data received {"connection_id":165948,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:07:41] local.INFO: Processing buffer {"connection_id":165948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:07:41] local.INFO: IMEI packet received {"connection_id":165948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 10:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":165948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:07:42] local.INFO: TCP Data received {"connection_id":165948,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a046a3efc0012d34c14006aa4840000b00e62b..."} 
[2026-08-28 10:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046a3efc0012d34c14006aa4840000b00e62b..."} 
[2026-08-28 10:07:42] local.INFO: Processing buffer {"connection_id":165948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046a3efc0012d34c14006aa4840000b00e62b..."} 
[2026-08-28 10:07:42] local.INFO: Packet analysis {"connection_id":165948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046a3"} 
[2026-08-28 10:07:42] local.INFO: Extracted packet for processing {"connection_id":165948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046a3"} 
[2026-08-28 10:07:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10: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-28 10:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700158208001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:07:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 10:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:07:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:07:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 10:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787891544000,"timestamp_ms":1787891544000,"timestamp_seconds":1787891544,"priority":1,"record_length":96,"hex_timestamp":"000001a046a3efc0"} 
[2026-08-28 10: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-28 10: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-28 10: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-28 10: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-28 10: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-28 10: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-28 10:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:07: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-28 10:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700158208001,"66":25343,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-28 10:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700158208001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:07:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10: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-28 10:07:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700158208001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":165948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:07:42] local.INFO: GPS data processed {"connection_id":165948,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:07:42] local.INFO: Acknowledgment sent {"connection_id":165948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:07:47] local.INFO: TCP Data received {"connection_id":165948,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a046a3efc0012d34c14006aa4840000b00e62b..."} 
[2026-08-28 10:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046a3efc0012d34c14006aa4840000b00e62b..."} 
[2026-08-28 10:07:47] local.INFO: Processing buffer {"connection_id":165948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046a3efc0012d34c14006aa4840000b00e62b..."} 
[2026-08-28 10:07:47] local.INFO: Packet analysis {"connection_id":165948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046a3"} 
[2026-08-28 10:07:47] local.INFO: Extracted packet for processing {"connection_id":165948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046a3"} 
[2026-08-28 10:07:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10: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-28 10:07:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700158208001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:07:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 10:07:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:07:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:07: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-28 10:07:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787891544000,"timestamp_ms":1787891544000,"timestamp_seconds":1787891544,"priority":1,"record_length":96,"hex_timestamp":"000001a046a3efc0"} 
[2026-08-28 10: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-28 10: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-28 10: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 10:07: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-28 10: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-28 10: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-28 10:07:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:07:47] local.INFO: Teltonika packet parsed successfully {"connection_id":165948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:07:47] local.INFO: Passing IMEI to GPS processor {"connection_id":165948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:07:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":165948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:07:47] 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-28 10:07:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:07:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:07:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700158208001,"66":25343,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-28 10:07:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:07:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:07:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700158208001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:07:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10: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-28 10:07:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:07:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700158208001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:07:47] local.INFO: DEBUG: GPS processor result {"connection_id":165948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:07:47] local.INFO: GPS data processed {"connection_id":165948,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:07:47] local.INFO: Acknowledgment sent {"connection_id":165948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:08:34] local.INFO: TCP Data received {"connection_id":164607,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:08:34] local.INFO: Processing buffer {"connection_id":164607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:08:34] local.INFO: IMEI packet received {"connection_id":164607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 10:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":164607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:08:36] local.INFO: TCP Data received {"connection_id":164607,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:08:36] local.INFO: Processing buffer {"connection_id":164607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:08:36] local.INFO: IMEI packet received {"connection_id":164607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 10:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":164607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:08:37] local.INFO: TCP Data received {"connection_id":164607,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a046a88788012d34c14006aa4840001100e62b..."} 
[2026-08-28 10:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046a88788012d34c14006aa4840001100e62b..."} 
[2026-08-28 10:08:37] local.INFO: Processing buffer {"connection_id":164607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046a88788012d34c14006aa4840001100e62b..."} 
[2026-08-28 10:08:37] local.INFO: Packet analysis {"connection_id":164607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046a8"} 
[2026-08-28 10:08:37] local.INFO: Extracted packet for processing {"connection_id":164607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046a8"} 
[2026-08-28 10:08:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10: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-28 10:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700235264001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:08:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 10:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:08: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-28 10:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787891845000,"timestamp_ms":1787891845000,"timestamp_seconds":1787891845,"priority":1,"record_length":96,"hex_timestamp":"000001a046a88788"} 
[2026-08-28 10: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-28 10:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 10:08:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10: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-28 10: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-28 10:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:08:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700235264001,"66":25375,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-28 10:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700235264001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:08:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:08: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-28 10:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700235264001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":164607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:08:37] local.INFO: GPS data processed {"connection_id":164607,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:08:37] local.INFO: Acknowledgment sent {"connection_id":164607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:08:41] local.INFO: TCP Data received {"connection_id":164608,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164608,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:08:41] local.INFO: Processing buffer {"connection_id":164608,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:08:41] local.INFO: IMEI packet received {"connection_id":164608,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 10:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":164608,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:08:42] local.INFO: TCP Data received {"connection_id":164607,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a046a88788012d34c14006aa4840001100e62b..."} 
[2026-08-28 10:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046a88788012d34c14006aa4840001100e62b..."} 
[2026-08-28 10:08:42] local.INFO: Processing buffer {"connection_id":164607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046a88788012d34c14006aa4840001100e62b..."} 
[2026-08-28 10:08:42] local.INFO: Packet analysis {"connection_id":164607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046a8"} 
[2026-08-28 10:08:42] local.INFO: Extracted packet for processing {"connection_id":164607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046a8"} 
[2026-08-28 10:08:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10: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-28 10:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700235264001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:08:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 10:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:08:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:08:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 10:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787891845000,"timestamp_ms":1787891845000,"timestamp_seconds":1787891845,"priority":1,"record_length":96,"hex_timestamp":"000001a046a88788"} 
[2026-08-28 10: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-28 10:08:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10: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":255,"data_length":795,"current_offset":136} 
[2026-08-28 10:08: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-28 10: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-28 10: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-28 10:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":164607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":164607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":164607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:08: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-28 10:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700235264001,"66":25375,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-28 10:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700235264001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:08:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10: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-28 10:08:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700235264001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":164607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:08:42] local.INFO: GPS data processed {"connection_id":164607,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:08:42] local.INFO: Acknowledgment sent {"connection_id":164607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:08:42] local.INFO: TCP Data received {"connection_id":164608,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164608,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:08:42] local.INFO: Processing buffer {"connection_id":164608,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:08:42] local.INFO: IMEI packet received {"connection_id":164608,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 10:08:42] local.INFO: IMEI acknowledgment sent {"connection_id":164608,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:08:46] local.INFO: TCP Data received {"connection_id":164608,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164608,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:08:46] local.INFO: Processing buffer {"connection_id":164608,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:08:46] local.INFO: IMEI packet received {"connection_id":164608,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 10:08:46] local.INFO: IMEI acknowledgment sent {"connection_id":164608,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:08:47] local.INFO: TCP Data received {"connection_id":164608,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-28 10:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164608,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-28 10:08:47] local.INFO: Processing buffer {"connection_id":164608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-28 10:08:47] local.INFO: Packet analysis {"connection_id":164608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-28 10:08:47] local.INFO: Extracted packet for processing {"connection_id":164608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-28 10:08:47] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-28 10: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-28 10:08:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125182233500712960,"note":"Value kept but may cause issues"} 
[2026-08-28 10:08:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,116,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-28 10:08:47] 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-28 10:08:47] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:08:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-28 10:08:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164608,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:08:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164608,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-28 10:08:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164608,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-28 10:08:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.4","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-28 10:08:47] local.WARNING: DEBUG: No valid data to process  
[2026-08-28 10:08:47] local.INFO: DEBUG: GPS processor result {"connection_id":164608,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-28 10:08:47] local.ERROR: GPS data processing failed {"connection_id":164608,"error":"No valid data to process"} 
[2026-08-28 10:08:47] local.INFO: Acknowledgment sent {"connection_id":164608,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-28 10:09:12] local.INFO: TCP Data received {"connection_id":164606,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 10:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164606,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 10:09:12] local.INFO: Processing buffer {"connection_id":164606,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 10:09:12] local.INFO: IMEI packet received {"connection_id":164606,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 10:09:12] local.INFO: IMEI acknowledgment sent {"connection_id":164606,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:09:13] local.INFO: TCP Data received {"connection_id":164607,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a046a88788012d34c14006aa4840001100e62b..."} 
[2026-08-28 10:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046a88788012d34c14006aa4840001100e62b..."} 
[2026-08-28 10:09:13] local.INFO: Processing buffer {"connection_id":164607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046a88788012d34c14006aa4840001100e62b..."} 
[2026-08-28 10:09:13] local.INFO: Packet analysis {"connection_id":164607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046a8"} 
[2026-08-28 10:09:13] local.INFO: Extracted packet for processing {"connection_id":164607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046a8"} 
[2026-08-28 10:09:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:09:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700235264001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:09:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 10:09:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:09:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:09: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-28 10:09:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787891845000,"timestamp_ms":1787891845000,"timestamp_seconds":1787891845,"priority":1,"record_length":96,"hex_timestamp":"000001a046a88788"} 
[2026-08-28 10:09:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:09:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 10:09: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-28 10:09:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:09:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:09:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:09:13] local.INFO: Teltonika packet parsed successfully {"connection_id":164607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:09:13] local.INFO: Passing IMEI to GPS processor {"connection_id":164607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:09:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":164607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:09: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-28 10:09:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:09:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:09:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700235264001,"66":25375,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-28 10:09:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:09:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:09:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700235264001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:09:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10: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-28 10:09:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:09:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700235264001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:09:13] local.INFO: DEBUG: GPS processor result {"connection_id":164607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:09:13] local.INFO: GPS data processed {"connection_id":164607,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:09:13] local.INFO: Acknowledgment sent {"connection_id":164607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:09:18] local.INFO: TCP Data received {"connection_id":164608,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a046a9d390012d7e304005d350d80007004507..."} 
[2026-08-28 10:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046a9d390012d7e304005d350d80007004507..."} 
[2026-08-28 10:09:18] local.INFO: Processing buffer {"connection_id":164608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046a9d390012d7e304005d350d80007004507..."} 
[2026-08-28 10:09:18] local.INFO: Packet analysis {"connection_id":164608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046a9"} 
[2026-08-28 10:09:18] local.INFO: Extracted packet for processing {"connection_id":164608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046a9"} 
[2026-08-28 10:09:18] local.INFO: GPS Element Parsed {"raw_longitude":763244608,"raw_latitude":97734872,"longitude_deg":76.3244608,"latitude_deg":9.7734872,"altitude":7,"angle":69,"satellites":7,"speed":0,"hex_longitude":"2d7e3040","hex_latitude":"05d350d8","is_valid_coordinates":true} 
[2026-08-28 10:09:18] 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-28 10:09:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125182233500712960,"note":"Value kept but may cause issues"} 
[2026-08-28 10:09:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,116,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-28 10:09:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787891930000,"timestamp_ms":1787891930000,"timestamp_seconds":1787891930,"priority":1,"record_length":96,"hex_timestamp":"000001a046a9d390"} 
[2026-08-28 10: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-28 10:09:18] 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-28 10: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-28 10:09:18] 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-28 10: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-28 10: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-28 10:09:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:09:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:09:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164608,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:09:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164608,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:09:18] 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-28 10:09:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 10:09:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 10:09:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12526,"116":206,"85":15104,"24":0,"16":125182233500712960},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16]} 
[2026-08-28 10:09:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 10:09:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 10:09:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-28 10:09:18] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-28 10:09:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 10:09:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125182233500712960,"km_value":125182233500712.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:09:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12526,"unknown_116":206,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-28 10:09:18] local.INFO: DEBUG: GPS processor result {"connection_id":164608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706956,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:09:18] local.INFO: GPS data processed {"connection_id":164608,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:09:18] local.INFO: Acknowledgment sent {"connection_id":164608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:09:31] local.INFO: TCP Data received {"connection_id":163338,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:09:31] local.INFO: Processing buffer {"connection_id":163338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:09:31] local.INFO: IMEI packet received {"connection_id":163338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 10:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":163338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:09:36] local.INFO: TCP Data received {"connection_id":163338,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:09:36] local.INFO: Processing buffer {"connection_id":163338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:09:36] local.INFO: IMEI packet received {"connection_id":163338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 10:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":163338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:09:37] local.INFO: TCP Data received {"connection_id":163338,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a046a88788012d34c14006aa4840001100e62b..."} 
[2026-08-28 10:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046a88788012d34c14006aa4840001100e62b..."} 
[2026-08-28 10:09:37] local.INFO: Processing buffer {"connection_id":163338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046a88788012d34c14006aa4840001100e62b..."} 
[2026-08-28 10:09:37] local.INFO: Packet analysis {"connection_id":163338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046a8"} 
[2026-08-28 10:09:37] local.INFO: Extracted packet for processing {"connection_id":163338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046a8"} 
[2026-08-28 10:09:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700235264001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:09:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 10:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:09: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-28 10:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787891845000,"timestamp_ms":1787891845000,"timestamp_seconds":1787891845,"priority":1,"record_length":96,"hex_timestamp":"000001a046a88788"} 
[2026-08-28 10:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 10:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700235264001,"66":25375,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-28 10:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700235264001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:09:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:09: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-28 10:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700235264001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:09:37] 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":706957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:09:37] local.INFO: GPS data processed {"connection_id":163338,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:09:37] local.INFO: Acknowledgment sent {"connection_id":163338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:10:09] local.INFO: TCP Data received {"connection_id":163338,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a046a88788012d34c14006aa4840001100e62b..."} 
[2026-08-28 10:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046a88788012d34c14006aa4840001100e62b..."} 
[2026-08-28 10:10:09] local.INFO: Processing buffer {"connection_id":163338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046a88788012d34c14006aa4840001100e62b..."} 
[2026-08-28 10:10:09] local.INFO: Packet analysis {"connection_id":163338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046a8"} 
[2026-08-28 10:10:09] local.INFO: Extracted packet for processing {"connection_id":163338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046a8"} 
[2026-08-28 10:10:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700235264001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:10:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 10:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:10:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:10: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-28 10:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787891845000,"timestamp_ms":1787891845000,"timestamp_seconds":1787891845,"priority":1,"record_length":96,"hex_timestamp":"000001a046a88788"} 
[2026-08-28 10:10:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:10:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 10:10:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:10:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:10:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:10:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700235264001,"66":25375,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-28 10:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700235264001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:10:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:10: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-28 10:10:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700235264001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:10:09] 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":706958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:10:09] local.INFO: GPS data processed {"connection_id":163338,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:10:09] local.INFO: Acknowledgment sent {"connection_id":163338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:10:31] local.INFO: TCP Data received {"connection_id":163339,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:10:31] local.INFO: Processing buffer {"connection_id":163339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:10:31] local.INFO: IMEI packet received {"connection_id":163339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 10:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":163339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:10:36] local.INFO: TCP Data received {"connection_id":163339,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:10:36] local.INFO: Processing buffer {"connection_id":163339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:10:36] local.INFO: IMEI packet received {"connection_id":163339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 10:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":163339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:10:37] local.INFO: TCP Data received {"connection_id":163339,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a046a88788012d34c14006aa4840001100e62b..."} 
[2026-08-28 10:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046a88788012d34c14006aa4840001100e62b..."} 
[2026-08-28 10:10:37] local.INFO: Processing buffer {"connection_id":163339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046a88788012d34c14006aa4840001100e62b..."} 
[2026-08-28 10:10:37] local.INFO: Packet analysis {"connection_id":163339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046a8"} 
[2026-08-28 10:10:37] local.INFO: Extracted packet for processing {"connection_id":163339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046a8"} 
[2026-08-28 10:10:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700235264001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:10:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 10:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:10: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-28 10:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787891845000,"timestamp_ms":1787891845000,"timestamp_seconds":1787891845,"priority":1,"record_length":96,"hex_timestamp":"000001a046a88788"} 
[2026-08-28 10:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 10:10:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700235264001,"66":25375,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-28 10:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700235264001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:10:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:10: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-28 10:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700235264001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:10:37] 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":706959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:10:37] local.INFO: GPS data processed {"connection_id":163339,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:10:37] local.INFO: Acknowledgment sent {"connection_id":163339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:11:09] local.INFO: TCP Data received {"connection_id":163339,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a046a88788012d34c14006aa4840001100e62b..."} 
[2026-08-28 10:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046a88788012d34c14006aa4840001100e62b..."} 
[2026-08-28 10:11:09] local.INFO: Processing buffer {"connection_id":163339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046a88788012d34c14006aa4840001100e62b..."} 
[2026-08-28 10:11:09] local.INFO: Packet analysis {"connection_id":163339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046a8"} 
[2026-08-28 10:11:09] local.INFO: Extracted packet for processing {"connection_id":163339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046a8"} 
[2026-08-28 10:11:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700235264001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:11:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 10:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:11:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:11: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-28 10:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787891845000,"timestamp_ms":1787891845000,"timestamp_seconds":1787891845,"priority":1,"record_length":96,"hex_timestamp":"000001a046a88788"} 
[2026-08-28 10:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:11:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 10:11:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:11:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:11:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700235264001,"66":25375,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-28 10:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700235264001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:11:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:11: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-28 10:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700235264001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:11:09] 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":706960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:11:09] local.INFO: GPS data processed {"connection_id":163339,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:11:09] local.INFO: Acknowledgment sent {"connection_id":163339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:11:31] local.INFO: TCP Data received {"connection_id":163340,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:11:31] local.INFO: Processing buffer {"connection_id":163340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:11:31] local.INFO: IMEI packet received {"connection_id":163340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 10:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":163340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:11:36] local.INFO: TCP Data received {"connection_id":163340,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:11:36] local.INFO: Processing buffer {"connection_id":163340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:11:36] local.INFO: IMEI packet received {"connection_id":163340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 10:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":163340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:11:37] local.INFO: TCP Data received {"connection_id":163340,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a046a88788012d34c14006aa4840001100e62b..."} 
[2026-08-28 10:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046a88788012d34c14006aa4840001100e62b..."} 
[2026-08-28 10:11:37] local.INFO: Processing buffer {"connection_id":163340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046a88788012d34c14006aa4840001100e62b..."} 
[2026-08-28 10:11:37] local.INFO: Packet analysis {"connection_id":163340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046a8"} 
[2026-08-28 10:11:37] local.INFO: Extracted packet for processing {"connection_id":163340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046a8"} 
[2026-08-28 10:11:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10: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-28 10:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700235264001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:11:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 10:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:11: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-28 10:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787891845000,"timestamp_ms":1787891845000,"timestamp_seconds":1787891845,"priority":1,"record_length":96,"hex_timestamp":"000001a046a88788"} 
[2026-08-28 10: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-28 10:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 10:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10: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-28 10: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-28 10:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700235264001,"66":25375,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-28 10:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700235264001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:11:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:11: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-28 10:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700235264001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":163340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:11:37] local.INFO: GPS data processed {"connection_id":163340,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:11:37] local.INFO: Acknowledgment sent {"connection_id":163340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:12:09] local.INFO: TCP Data received {"connection_id":163340,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a046a88788012d34c14006aa4840001100e62b..."} 
[2026-08-28 10:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046a88788012d34c14006aa4840001100e62b..."} 
[2026-08-28 10:12:09] local.INFO: Processing buffer {"connection_id":163340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046a88788012d34c14006aa4840001100e62b..."} 
[2026-08-28 10:12:09] local.INFO: Packet analysis {"connection_id":163340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046a8"} 
[2026-08-28 10:12:09] local.INFO: Extracted packet for processing {"connection_id":163340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046a8"} 
[2026-08-28 10:12:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10: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-28 10:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700235264001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:12:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 10:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:12: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-28 10:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787891845000,"timestamp_ms":1787891845000,"timestamp_seconds":1787891845,"priority":1,"record_length":96,"hex_timestamp":"000001a046a88788"} 
[2026-08-28 10: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-28 10:12:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 10:12:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10: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-28 10: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-28 10:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:12:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700235264001,"66":25375,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-28 10:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700235264001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:12:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:12: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-28 10:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700235264001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":163340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:12:09] local.INFO: GPS data processed {"connection_id":163340,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:12:09] local.INFO: Acknowledgment sent {"connection_id":163340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:12:36] local.INFO: TCP Data received {"connection_id":163341,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:12:36] local.INFO: Processing buffer {"connection_id":163341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:12:36] local.INFO: IMEI packet received {"connection_id":163341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 10:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":163341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:12:41] local.INFO: TCP Data received {"connection_id":163341,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:12:41] local.INFO: Processing buffer {"connection_id":163341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:12:41] local.INFO: IMEI packet received {"connection_id":163341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 10:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":163341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:13:03] local.INFO: TCP Data received {"connection_id":163341,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a046a88788012d34c14006aa4840001100e62b..."} 
[2026-08-28 10:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046a88788012d34c14006aa4840001100e62b..."} 
[2026-08-28 10:13:03] local.INFO: Processing buffer {"connection_id":163341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046a88788012d34c14006aa4840001100e62b..."} 
[2026-08-28 10:13:03] local.INFO: Packet analysis {"connection_id":163341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046a8"} 
[2026-08-28 10:13:03] local.INFO: Extracted packet for processing {"connection_id":163341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046a8"} 
[2026-08-28 10:13:03] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700235264001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:13:03] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 10:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 10:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787891845000,"timestamp_ms":1787891845000,"timestamp_seconds":1787891845,"priority":1,"record_length":96,"hex_timestamp":"000001a046a88788"} 
[2026-08-28 10:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:13:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 10:13:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:13:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:13:03] 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-28 10:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700235264001,"66":25375,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-28 10:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700235264001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:13:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700235264001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:13:03] 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":706963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:13:03] local.INFO: GPS data processed {"connection_id":163341,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:13:03] local.INFO: Acknowledgment sent {"connection_id":163341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:13:04] local.INFO: TCP Data received {"connection_id":163341,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a046a88788012d34c14006aa4840001100e62b..."} 
[2026-08-28 10:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046a88788012d34c14006aa4840001100e62b..."} 
[2026-08-28 10:13:04] local.INFO: Processing buffer {"connection_id":163341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046a88788012d34c14006aa4840001100e62b..."} 
[2026-08-28 10:13:04] local.INFO: Packet analysis {"connection_id":163341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046a8"} 
[2026-08-28 10:13:04] local.INFO: Extracted packet for processing {"connection_id":163341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046a8"} 
[2026-08-28 10:13:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700235264001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:13:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 10:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 10:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787891845000,"timestamp_ms":1787891845000,"timestamp_seconds":1787891845,"priority":1,"record_length":96,"hex_timestamp":"000001a046a88788"} 
[2026-08-28 10:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 10:13: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-28 10:13:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":163341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":163341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":163341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700235264001,"66":25375,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-28 10:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700235264001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:13:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:13: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-28 10:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700235264001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:13:04] 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":706964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:13:04] local.INFO: GPS data processed {"connection_id":163341,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:13:04] local.INFO: Acknowledgment sent {"connection_id":163341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:13:32] local.INFO: TCP Data received {"connection_id":165949,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:13:32] local.INFO: Processing buffer {"connection_id":165949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:13:32] local.INFO: IMEI packet received {"connection_id":165949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 10:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":165949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:14:32] local.INFO: TCP Data received {"connection_id":165949,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:14:32] local.INFO: Processing buffer {"connection_id":165949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:14:32] local.INFO: IMEI packet received {"connection_id":165949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 10:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":165949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:14:34] local.INFO: TCP Data received {"connection_id":165949,"ip":"42.106.6.19","data_length":1348,"data_hex":"000000000000030f8e0a000001a046ad1f50012d34c14006aa4840000800e62a..."} 
[2026-08-28 10:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165949,"packet_length":1348,"packet_hex":"000000000000030f8e0a000001a046ad1f50012d34c14006aa4840000800e62a..."} 
[2026-08-28 10:14:34] local.INFO: Processing buffer {"connection_id":165949,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a000001a046ad1f50012d34c14006aa4840000800e62a..."} 
[2026-08-28 10:14:34] local.INFO: Packet analysis {"connection_id":165949,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a000001a046ad"} 
[2026-08-28 10:14:34] local.INFO: Extracted packet for processing {"connection_id":165949,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a046ad"} 
[2026-08-28 10:14:34] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":8,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700312320001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:14:34] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 10:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:14:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 10:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787892146000,"timestamp_ms":1787892146000,"timestamp_seconds":1787892146,"priority":1,"record_length":96,"hex_timestamp":"000001a046ad1f50"} 
[2026-08-28 10:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:14:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 10:14:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:14:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":165949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":165949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":165949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:14:34] 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-28 10:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700312320001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-28 10:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700312320001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:14:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700312320001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":165949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:14:34] local.INFO: GPS data processed {"connection_id":165949,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:14:34] local.INFO: Acknowledgment sent {"connection_id":165949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:14:34] local.INFO: Packet analysis {"connection_id":165949,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a046ad"} 
[2026-08-28 10:14:34] local.INFO: Incomplete packet, waiting for more data {"connection_id":165949,"needed":795,"available":553} 
[2026-08-28 10:14:36] local.INFO: TCP Data received {"connection_id":165950,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:14:36] local.INFO: Processing buffer {"connection_id":165950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:14:36] local.INFO: IMEI packet received {"connection_id":165950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 10:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":165950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:14:41] local.INFO: TCP Data received {"connection_id":165950,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:14:41] local.INFO: Processing buffer {"connection_id":165950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:14:41] local.INFO: IMEI packet received {"connection_id":165950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 10:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":165950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:14:44] local.INFO: TCP Data received {"connection_id":165950,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a046ad1f50012d34c14006aa4840000800e62a..."} 
[2026-08-28 10:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046ad1f50012d34c14006aa4840000800e62a..."} 
[2026-08-28 10:14:44] local.INFO: Processing buffer {"connection_id":165950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046ad1f50012d34c14006aa4840000800e62a..."} 
[2026-08-28 10:14:44] local.INFO: Packet analysis {"connection_id":165950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046ad"} 
[2026-08-28 10:14:44] local.INFO: Extracted packet for processing {"connection_id":165950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046ad"} 
[2026-08-28 10:14:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":8,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:14:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:14:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700312320001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:14:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 10:14:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:14:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:14: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-28 10:14:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787892146000,"timestamp_ms":1787892146000,"timestamp_seconds":1787892146,"priority":1,"record_length":96,"hex_timestamp":"000001a046ad1f50"} 
[2026-08-28 10:14:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:14:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:14:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 10: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-28 10:14:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:14:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:14:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:14:44] local.INFO: Teltonika packet parsed successfully {"connection_id":165950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:14:44] local.INFO: Passing IMEI to GPS processor {"connection_id":165950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:14:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":165950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:14: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-28 10:14:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:14:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:14:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700312320001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-28 10:14:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:14:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:14:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700312320001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:14:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10: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-28 10:14:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:14:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700312320001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:14:44] local.INFO: DEBUG: GPS processor result {"connection_id":165950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:14:44] local.INFO: GPS data processed {"connection_id":165950,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:14:44] local.INFO: Acknowledgment sent {"connection_id":165950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:14:47] local.INFO: TCP Data received {"connection_id":163610,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 10:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163610,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 10:14:47] local.INFO: Processing buffer {"connection_id":163610,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 10:14:47] local.INFO: IMEI packet received {"connection_id":163610,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 10:14:47] local.INFO: IMEI acknowledgment sent {"connection_id":163610,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:15:15] local.INFO: TCP Data received {"connection_id":165950,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a046ad1f50012d34c14006aa4840000800e62a..."} 
[2026-08-28 10:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046ad1f50012d34c14006aa4840000800e62a..."} 
[2026-08-28 10:15:15] local.INFO: Processing buffer {"connection_id":165950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046ad1f50012d34c14006aa4840000800e62a..."} 
[2026-08-28 10:15:15] local.INFO: Packet analysis {"connection_id":165950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046ad"} 
[2026-08-28 10:15:15] local.INFO: Extracted packet for processing {"connection_id":165950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046ad"} 
[2026-08-28 10:15:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":8,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10: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-28 10:15:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700312320001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:15:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 10:15:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:15:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:15: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-28 10:15:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787892146000,"timestamp_ms":1787892146000,"timestamp_seconds":1787892146,"priority":1,"record_length":96,"hex_timestamp":"000001a046ad1f50"} 
[2026-08-28 10: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-28 10:15: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-28 10: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-28 10: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-28 10: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-28 10: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-28 10:15:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:15:15] local.INFO: Teltonika packet parsed successfully {"connection_id":165950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:15:15] local.INFO: Passing IMEI to GPS processor {"connection_id":165950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:15:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":165950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:15: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-28 10:15:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:15:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:15:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700312320001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-28 10:15:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:15:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:15:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700312320001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:15:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10: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-28 10:15:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:15:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700312320001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:15:15] local.INFO: DEBUG: GPS processor result {"connection_id":165950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:15:15] local.INFO: GPS data processed {"connection_id":165950,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:15:15] local.INFO: Acknowledgment sent {"connection_id":165950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:15:31] local.INFO: TCP Data received {"connection_id":165951,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:15:31] local.INFO: Processing buffer {"connection_id":165951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:15:31] local.INFO: IMEI packet received {"connection_id":165951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 10:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":165951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:15:36] local.INFO: TCP Data received {"connection_id":165951,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:15:36] local.INFO: Processing buffer {"connection_id":165951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:15:36] local.INFO: IMEI packet received {"connection_id":165951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 10:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":165951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:15:37] local.INFO: TCP Data received {"connection_id":165951,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a046ad1f50012d34c14006aa4840000800e62a..."} 
[2026-08-28 10:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046ad1f50012d34c14006aa4840000800e62a..."} 
[2026-08-28 10:15:37] local.INFO: Processing buffer {"connection_id":165951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046ad1f50012d34c14006aa4840000800e62a..."} 
[2026-08-28 10:15:37] local.INFO: Packet analysis {"connection_id":165951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046ad"} 
[2026-08-28 10:15:37] local.INFO: Extracted packet for processing {"connection_id":165951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046ad"} 
[2026-08-28 10:15:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":8,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700312320001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:15:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 10:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:15: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-28 10:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787892146000,"timestamp_ms":1787892146000,"timestamp_seconds":1787892146,"priority":1,"record_length":96,"hex_timestamp":"000001a046ad1f50"} 
[2026-08-28 10:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 10:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":165951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":165951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":165951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700312320001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700312320001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:15:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:15: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-28 10:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700312320001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":165951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:15:37] local.INFO: GPS data processed {"connection_id":165951,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:15:37] local.INFO: Acknowledgment sent {"connection_id":165951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:16:09] local.INFO: TCP Data received {"connection_id":165951,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a046ad1f50012d34c14006aa4840000800e62a..."} 
[2026-08-28 10:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046ad1f50012d34c14006aa4840000800e62a..."} 
[2026-08-28 10:16:09] local.INFO: Processing buffer {"connection_id":165951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046ad1f50012d34c14006aa4840000800e62a..."} 
[2026-08-28 10:16:09] local.INFO: Packet analysis {"connection_id":165951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046ad"} 
[2026-08-28 10:16:09] local.INFO: Extracted packet for processing {"connection_id":165951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046ad"} 
[2026-08-28 10:16:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":8,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700312320001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:16:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 10:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:16: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-28 10:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787892146000,"timestamp_ms":1787892146000,"timestamp_seconds":1787892146,"priority":1,"record_length":96,"hex_timestamp":"000001a046ad1f50"} 
[2026-08-28 10:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:16:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 10:16:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:16:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":165951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":165951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":165951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700312320001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700312320001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:16:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:16: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-28 10:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700312320001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":165951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:16:09] local.INFO: GPS data processed {"connection_id":165951,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:16:09] local.INFO: Acknowledgment sent {"connection_id":165951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:16:31] local.INFO: TCP Data received {"connection_id":165952,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:16:31] local.INFO: Processing buffer {"connection_id":165952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:16:31] local.INFO: IMEI packet received {"connection_id":165952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 10:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":165952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:16:36] local.INFO: TCP Data received {"connection_id":165952,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:16:36] local.INFO: Processing buffer {"connection_id":165952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:16:36] local.INFO: IMEI packet received {"connection_id":165952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 10:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":165952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:17:36] local.INFO: TCP Data received {"connection_id":163342,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:17:36] local.INFO: Processing buffer {"connection_id":163342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:17:36] local.INFO: IMEI packet received {"connection_id":163342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 10:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":163342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:17:41] local.INFO: TCP Data received {"connection_id":163342,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:17:41] local.INFO: Processing buffer {"connection_id":163342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:17:41] local.INFO: IMEI packet received {"connection_id":163342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 10:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":163342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:17:42] local.INFO: TCP Data received {"connection_id":163342,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a046ad1f50012d34c14006aa4840000800e62a..."} 
[2026-08-28 10:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046ad1f50012d34c14006aa4840000800e62a..."} 
[2026-08-28 10:17:42] local.INFO: Processing buffer {"connection_id":163342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046ad1f50012d34c14006aa4840000800e62a..."} 
[2026-08-28 10:17:42] local.INFO: Packet analysis {"connection_id":163342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046ad"} 
[2026-08-28 10:17:42] local.INFO: Extracted packet for processing {"connection_id":163342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046ad"} 
[2026-08-28 10:17:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":8,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10: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-28 10:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700312320001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:17:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 10:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:17:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 10:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787892146000,"timestamp_ms":1787892146000,"timestamp_seconds":1787892146,"priority":1,"record_length":96,"hex_timestamp":"000001a046ad1f50"} 
[2026-08-28 10: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-28 10: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-28 10: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-28 10: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-28 10: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-28 10: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-28 10:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:17: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-28 10:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700312320001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700312320001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:17:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10: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-28 10:17:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700312320001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:17:42] 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":706970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:17:42] local.INFO: GPS data processed {"connection_id":163342,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:17:42] local.INFO: Acknowledgment sent {"connection_id":163342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:18:14] local.INFO: TCP Data received {"connection_id":163342,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a046b1b718012d34c14006aa4840001200e62c..."} 
[2026-08-28 10:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046b1b718012d34c14006aa4840001200e62c..."} 
[2026-08-28 10:18:14] local.INFO: Processing buffer {"connection_id":163342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046b1b718012d34c14006aa4840001200e62c..."} 
[2026-08-28 10:18:14] local.INFO: Packet analysis {"connection_id":163342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046b1"} 
[2026-08-28 10:18:14] local.INFO: Extracted packet for processing {"connection_id":163342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046b1"} 
[2026-08-28 10:18:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10: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-28 10:18:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700389376001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:18:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:18:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10: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-28 10:18:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787892447000,"timestamp_ms":1787892447000,"timestamp_seconds":1787892447,"priority":1,"record_length":96,"hex_timestamp":"000001a046b1b718"} 
[2026-08-28 10: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-28 10:18:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 10:18: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-28 10: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-28 10: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-28 10:18:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:18:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:18:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:18:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10: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-28 10:18:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:18:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:18:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700389376001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:18:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:18:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:18:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700389376001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:18:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:18:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10: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-28 10:18:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:18:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700389376001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:18:14] 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":706971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:18:14] local.INFO: GPS data processed {"connection_id":163342,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:18:14] local.INFO: Acknowledgment sent {"connection_id":163342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:18:31] local.INFO: TCP Data received {"connection_id":164609,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:18:31] local.INFO: Processing buffer {"connection_id":164609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:18:31] local.INFO: IMEI packet received {"connection_id":164609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 10:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":164609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:18:36] local.INFO: TCP Data received {"connection_id":164609,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:18:36] local.INFO: Processing buffer {"connection_id":164609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:18:36] local.INFO: IMEI packet received {"connection_id":164609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 10:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":164609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:18:37] local.INFO: TCP Data received {"connection_id":164609,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a046b1b718012d34c14006aa4840001200e62c..."} 
[2026-08-28 10:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046b1b718012d34c14006aa4840001200e62c..."} 
[2026-08-28 10:18:37] local.INFO: Processing buffer {"connection_id":164609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046b1b718012d34c14006aa4840001200e62c..."} 
[2026-08-28 10:18:37] local.INFO: Packet analysis {"connection_id":164609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046b1"} 
[2026-08-28 10:18:37] local.INFO: Extracted packet for processing {"connection_id":164609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046b1"} 
[2026-08-28 10:18:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10: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-28 10:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700389376001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 10:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787892447000,"timestamp_ms":1787892447000,"timestamp_seconds":1787892447,"priority":1,"record_length":96,"hex_timestamp":"000001a046b1b718"} 
[2026-08-28 10: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-28 10:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 10:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10: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-28 10: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-28 10:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700389376001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700389376001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:18:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:18:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:18: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-28 10:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700389376001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":164609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:18:37] local.INFO: GPS data processed {"connection_id":164609,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:18:37] local.INFO: Acknowledgment sent {"connection_id":164609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:19:09] local.INFO: TCP Data received {"connection_id":164609,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a046b1b718012d34c14006aa4840001200e62c..."} 
[2026-08-28 10:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046b1b718012d34c14006aa4840001200e62c..."} 
[2026-08-28 10:19:09] local.INFO: Processing buffer {"connection_id":164609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046b1b718012d34c14006aa4840001200e62c..."} 
[2026-08-28 10:19:09] local.INFO: Packet analysis {"connection_id":164609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046b1"} 
[2026-08-28 10:19:09] local.INFO: Extracted packet for processing {"connection_id":164609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046b1"} 
[2026-08-28 10:19:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700389376001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 10:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787892447000,"timestamp_ms":1787892447000,"timestamp_seconds":1787892447,"priority":1,"record_length":96,"hex_timestamp":"000001a046b1b718"} 
[2026-08-28 10:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 10:19:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:19:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:19:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700389376001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700389376001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:19:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:19:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:19: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-28 10:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700389376001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":164609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:19:09] local.INFO: GPS data processed {"connection_id":164609,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:19:09] local.INFO: Acknowledgment sent {"connection_id":164609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:19:30] local.INFO: TCP Data received {"connection_id":165952,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a046ad1f50012d34c14006aa4840000800e62a..."} 
[2026-08-28 10:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046ad1f50012d34c14006aa4840000800e62a..."} 
[2026-08-28 10:19:30] local.INFO: Processing buffer {"connection_id":165952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046ad1f50012d34c14006aa4840000800e62a..."} 
[2026-08-28 10:19:30] local.INFO: Packet analysis {"connection_id":165952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046ad"} 
[2026-08-28 10:19:30] local.INFO: Extracted packet for processing {"connection_id":165952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046ad"} 
[2026-08-28 10:19:30] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":8,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:19:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700312320001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:19:30] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 10:19:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:19:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:19: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-28 10:19:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787892146000,"timestamp_ms":1787892146000,"timestamp_seconds":1787892146,"priority":1,"record_length":96,"hex_timestamp":"000001a046ad1f50"} 
[2026-08-28 10:19:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:19:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 10:19:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:19:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:19:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:19:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:19:30] local.INFO: Teltonika packet parsed successfully {"connection_id":165952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:19:30] local.INFO: Passing IMEI to GPS processor {"connection_id":165952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:19:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":165952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:19:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:19:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:19:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:19:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700312320001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:19:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:19:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:19:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700312320001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:19:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:19: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-28 10:19:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:19:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700312320001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:19:30] local.INFO: DEBUG: GPS processor result {"connection_id":165952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:19:30] local.INFO: GPS data processed {"connection_id":165952,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:19:30] local.INFO: Acknowledgment sent {"connection_id":165952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:19:31] local.INFO: TCP Data received {"connection_id":163343,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:19:31] local.INFO: Processing buffer {"connection_id":163343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:19:31] local.INFO: IMEI packet received {"connection_id":163343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 10:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":163343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:19:37] local.INFO: TCP Data received {"connection_id":163343,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:19:37] local.INFO: Processing buffer {"connection_id":163343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:19:37] local.INFO: IMEI packet received {"connection_id":163343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 10:19:37] local.INFO: IMEI acknowledgment sent {"connection_id":163343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:19:40] local.INFO: TCP Data received {"connection_id":163343,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a046b1b718012d34c14006aa4840001200e62c..."} 
[2026-08-28 10:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046b1b718012d34c14006aa4840001200e62c..."} 
[2026-08-28 10:19:40] local.INFO: Processing buffer {"connection_id":163343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046b1b718012d34c14006aa4840001200e62c..."} 
[2026-08-28 10:19:40] local.INFO: Packet analysis {"connection_id":163343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046b1"} 
[2026-08-28 10:19:40] local.INFO: Extracted packet for processing {"connection_id":163343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046b1"} 
[2026-08-28 10:19:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700389376001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:19:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:19: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-28 10:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787892447000,"timestamp_ms":1787892447000,"timestamp_seconds":1787892447,"priority":1,"record_length":96,"hex_timestamp":"000001a046b1b718"} 
[2026-08-28 10:19:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:19:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 10:19: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-28 10:19:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:19:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:19: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-28 10:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700389376001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700389376001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:19:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:19:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:19: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-28 10:19:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700389376001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:19:40] 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":706975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:19:40] local.INFO: GPS data processed {"connection_id":163343,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:19:40] local.INFO: Acknowledgment sent {"connection_id":163343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:20:11] local.INFO: TCP Data received {"connection_id":163343,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a046b1b718012d34c14006aa4840001200e62c..."} 
[2026-08-28 10:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046b1b718012d34c14006aa4840001200e62c..."} 
[2026-08-28 10:20:11] local.INFO: Processing buffer {"connection_id":163343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046b1b718012d34c14006aa4840001200e62c..."} 
[2026-08-28 10:20:11] local.INFO: Packet analysis {"connection_id":163343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046b1"} 
[2026-08-28 10:20:11] local.INFO: Extracted packet for processing {"connection_id":163343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046b1"} 
[2026-08-28 10:20:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700389376001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:20:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:20: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-28 10:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787892447000,"timestamp_ms":1787892447000,"timestamp_seconds":1787892447,"priority":1,"record_length":96,"hex_timestamp":"000001a046b1b718"} 
[2026-08-28 10:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:20:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 10:20: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-28 10:20:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":163343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":163343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":163343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:20: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-28 10:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700389376001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700389376001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:20:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:20:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:20: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-28 10:20:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700389376001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:20:11] 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":706976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:20:11] local.INFO: GPS data processed {"connection_id":163343,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:20:11] local.INFO: Acknowledgment sent {"connection_id":163343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:20:22] local.INFO: TCP Data received {"connection_id":165953,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 10:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165953,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 10:20:22] local.INFO: Processing buffer {"connection_id":165953,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 10:20:22] local.INFO: IMEI packet received {"connection_id":165953,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 10:20:22] local.INFO: IMEI acknowledgment sent {"connection_id":165953,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:20:31] local.INFO: TCP Data received {"connection_id":163344,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:20:31] local.INFO: Processing buffer {"connection_id":163344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:20:31] local.INFO: IMEI packet received {"connection_id":163344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 10:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":163344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:20:36] local.INFO: TCP Data received {"connection_id":163344,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:20:36] local.INFO: Processing buffer {"connection_id":163344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:20:36] local.INFO: IMEI packet received {"connection_id":163344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 10:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":163344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:20:37] local.INFO: TCP Data received {"connection_id":163344,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a046b1b718012d34c14006aa4840001200e62c..."} 
[2026-08-28 10:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046b1b718012d34c14006aa4840001200e62c..."} 
[2026-08-28 10:20:37] local.INFO: Processing buffer {"connection_id":163344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046b1b718012d34c14006aa4840001200e62c..."} 
[2026-08-28 10:20:37] local.INFO: Packet analysis {"connection_id":163344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046b1"} 
[2026-08-28 10:20:37] local.INFO: Extracted packet for processing {"connection_id":163344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046b1"} 
[2026-08-28 10:20:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700389376001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 10:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787892447000,"timestamp_ms":1787892447000,"timestamp_seconds":1787892447,"priority":1,"record_length":96,"hex_timestamp":"000001a046b1b718"} 
[2026-08-28 10:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 10:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700389376001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700389376001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:20:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:20:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:20: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-28 10:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700389376001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":163344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:20:37] local.INFO: GPS data processed {"connection_id":163344,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:20:37] local.INFO: Acknowledgment sent {"connection_id":163344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:20:42] local.INFO: TCP Data received {"connection_id":163611,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163611,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:20:42] local.INFO: Processing buffer {"connection_id":163611,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:20:42] local.INFO: IMEI packet received {"connection_id":163611,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 10:20:42] local.INFO: IMEI acknowledgment sent {"connection_id":163611,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:20:42] local.INFO: TCP Data received {"connection_id":163611,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163611,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:20:42] local.INFO: Processing buffer {"connection_id":163611,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:20:42] local.INFO: IMEI packet received {"connection_id":163611,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 10:20:42] local.INFO: IMEI acknowledgment sent {"connection_id":163611,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:20:46] local.INFO: TCP Data received {"connection_id":163611,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163611,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:20:46] local.INFO: Processing buffer {"connection_id":163611,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:20:46] local.INFO: IMEI packet received {"connection_id":163611,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 10:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":163611,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:20:47] local.INFO: TCP Data received {"connection_id":163611,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-28 10:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163611,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-28 10:20:47] local.INFO: Processing buffer {"connection_id":163611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-28 10:20:47] local.INFO: Packet analysis {"connection_id":163611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-28 10:20:47] local.INFO: Extracted packet for processing {"connection_id":163611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-28 10:20:47] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-28 10: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-28 10:20:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125182336579928064,"note":"Value kept but may cause issues"} 
[2026-08-28 10:20:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-28 10:20:47] 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-28 10:20:47] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:20:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-28 10:20:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163611,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:20:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163611,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-28 10:20:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163611,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-28 10:20:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-28 10:20:47] local.WARNING: DEBUG: No valid data to process  
[2026-08-28 10:20:47] local.INFO: DEBUG: GPS processor result {"connection_id":163611,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-28 10:20:47] local.ERROR: GPS data processing failed {"connection_id":163611,"error":"No valid data to process"} 
[2026-08-28 10:20:47] local.INFO: Acknowledgment sent {"connection_id":163611,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-28 10:21:10] local.INFO: TCP Data received {"connection_id":163344,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a046b1b718012d34c14006aa4840001200e62c..."} 
[2026-08-28 10:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046b1b718012d34c14006aa4840001200e62c..."} 
[2026-08-28 10:21:10] local.INFO: Processing buffer {"connection_id":163344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046b1b718012d34c14006aa4840001200e62c..."} 
[2026-08-28 10:21:10] local.INFO: Packet analysis {"connection_id":163344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046b1"} 
[2026-08-28 10:21:10] local.INFO: Extracted packet for processing {"connection_id":163344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046b1"} 
[2026-08-28 10:21:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10: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-28 10:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700389376001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:21:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:21:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 10:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787892447000,"timestamp_ms":1787892447000,"timestamp_seconds":1787892447,"priority":1,"record_length":96,"hex_timestamp":"000001a046b1b718"} 
[2026-08-28 10: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-28 10:21:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 10:21:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10: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-28 10: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-28 10:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:21:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700389376001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700389376001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:21:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:21:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:21:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700389376001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":163344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:21:10] local.INFO: GPS data processed {"connection_id":163344,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:21:10] local.INFO: Acknowledgment sent {"connection_id":163344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:21:22] local.INFO: TCP Data received {"connection_id":163611,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-08-28 10:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163611,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-08-28 10:21:22] local.INFO: Processing buffer {"connection_id":163611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-08-28 10:21:22] local.INFO: Packet analysis {"connection_id":163611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-28 10:21:22] local.INFO: Extracted packet for processing {"connection_id":163611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-28 10:21:22] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-28 10:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:21:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125182336579928064,"note":"Value kept but may cause issues"} 
[2026-08-28 10:21:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-28 10:21:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":68000,"timestamp_seconds":68,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 10:21:22] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:21:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-28 10:21:22] local.INFO: Teltonika packet parsed successfully {"connection_id":163611,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:21:22] local.INFO: Passing IMEI to GPS processor {"connection_id":163611,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-28 10:21:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":163611,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-28 10:21:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-28 10:21:22] local.WARNING: DEBUG: No valid data to process  
[2026-08-28 10:21:22] local.INFO: DEBUG: GPS processor result {"connection_id":163611,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-28 10:21:22] local.ERROR: GPS data processing failed {"connection_id":163611,"error":"No valid data to process"} 
[2026-08-28 10:21:22] local.INFO: Acknowledgment sent {"connection_id":163611,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-28 10:21:36] local.INFO: TCP Data received {"connection_id":165954,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:21:36] local.INFO: Processing buffer {"connection_id":165954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:21:36] local.INFO: IMEI packet received {"connection_id":165954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 10:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":165954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:21:41] local.INFO: TCP Data received {"connection_id":165954,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:21:41] local.INFO: Processing buffer {"connection_id":165954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:21:41] local.INFO: IMEI packet received {"connection_id":165954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 10:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":165954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:21:42] local.INFO: TCP Data received {"connection_id":165954,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a046b1b718012d34c14006aa4840001200e62c..."} 
[2026-08-28 10:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046b1b718012d34c14006aa4840001200e62c..."} 
[2026-08-28 10:21:42] local.INFO: Processing buffer {"connection_id":165954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046b1b718012d34c14006aa4840001200e62c..."} 
[2026-08-28 10:21:42] local.INFO: Packet analysis {"connection_id":165954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046b1"} 
[2026-08-28 10:21:42] local.INFO: Extracted packet for processing {"connection_id":165954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046b1"} 
[2026-08-28 10:21:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10: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-28 10:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700389376001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:21:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10: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-28 10:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787892447000,"timestamp_ms":1787892447000,"timestamp_seconds":1787892447,"priority":1,"record_length":96,"hex_timestamp":"000001a046b1b718"} 
[2026-08-28 10: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-28 10:21:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 10:21: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-28 10: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-28 10: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-28 10:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:21:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700389376001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700389376001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:21:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:21:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10: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-28 10:21:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700389376001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":165954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:21:42] local.INFO: GPS data processed {"connection_id":165954,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:21:42] local.INFO: Acknowledgment sent {"connection_id":165954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:21:47] local.INFO: TCP Data received {"connection_id":165954,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a046b1b718012d34c14006aa4840001200e62c..."} 
[2026-08-28 10:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046b1b718012d34c14006aa4840001200e62c..."} 
[2026-08-28 10:21:47] local.INFO: Processing buffer {"connection_id":165954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046b1b718012d34c14006aa4840001200e62c..."} 
[2026-08-28 10:21:47] local.INFO: Packet analysis {"connection_id":165954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046b1"} 
[2026-08-28 10:21:47] local.INFO: Extracted packet for processing {"connection_id":165954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046b1"} 
[2026-08-28 10:21:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700389376001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:21:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:21: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-28 10:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787892447000,"timestamp_ms":1787892447000,"timestamp_seconds":1787892447,"priority":1,"record_length":96,"hex_timestamp":"000001a046b1b718"} 
[2026-08-28 10:21:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:21:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 10:21: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-28 10:21:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:21:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":165954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":165954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":165954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:21:47] 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-28 10:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700389376001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700389376001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:21:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:21:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:21: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-28 10:21:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700389376001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":165954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:21:47] local.INFO: GPS data processed {"connection_id":165954,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:21:47] local.INFO: Acknowledgment sent {"connection_id":165954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:21:53] local.INFO: TCP Data received {"connection_id":163611,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a046b550f80100000000000000000000000000..."} 
[2026-08-28 10:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046b550f80100000000000000000000000000..."} 
[2026-08-28 10:21:53] local.INFO: Processing buffer {"connection_id":163611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046b550f80100000000000000000000000000..."} 
[2026-08-28 10:21:53] local.INFO: Packet analysis {"connection_id":163611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046b5"} 
[2026-08-28 10:21:53] local.INFO: Extracted packet for processing {"connection_id":163611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046b5"} 
[2026-08-28 10:21:53] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-28 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-28 10:21:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125182336579928064,"note":"Value kept but may cause issues"} 
[2026-08-28 10:21:53] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-28 10:21:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787892683000,"timestamp_ms":1787892683000,"timestamp_seconds":1787892683,"priority":1,"record_length":96,"hex_timestamp":"000001a046b550f8"} 
[2026-08-28 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-28 10:21:53] 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-28 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":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-28 10:21:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":666,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 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-28 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-28 10:21:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:21:53] local.INFO: Teltonika packet parsed successfully {"connection_id":163611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:21:53] local.INFO: Passing IMEI to GPS processor {"connection_id":163611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:21:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":163611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:21:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:21:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 10:21:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 10:21:53] local.INFO: DEBUG: GPS processor result {"connection_id":163611,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-28 10:21:53] local.INFO: GPS data processed {"connection_id":163611,"processed":0,"errors":0,"total":1} 
[2026-08-28 10:21:53] local.INFO: Acknowledgment sent {"connection_id":163611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:22:24] local.INFO: TCP Data received {"connection_id":163611,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a046b61830012d7e4f8005d385480000000207..."} 
[2026-08-28 10:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046b61830012d7e4f8005d385480000000207..."} 
[2026-08-28 10:22:24] local.INFO: Processing buffer {"connection_id":163611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046b61830012d7e4f8005d385480000000207..."} 
[2026-08-28 10:22:24] local.INFO: Packet analysis {"connection_id":163611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046b6"} 
[2026-08-28 10:22:24] local.INFO: Extracted packet for processing {"connection_id":163611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046b6"} 
[2026-08-28 10:22:24] local.INFO: GPS Element Parsed {"raw_longitude":763252608,"raw_latitude":97748296,"longitude_deg":76.3252608,"latitude_deg":9.7748296,"altitude":0,"angle":2,"satellites":7,"speed":37,"hex_longitude":"2d7e4f80","hex_latitude":"05d38548","is_valid_coordinates":true} 
[2026-08-28 10:22:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:22:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700537344001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:22:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125183058134433792,"note":"Value kept but may cause issues"} 
[2026-08-28 10:22:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9101634134448605184,"note":"Value kept but may cause issues"} 
[2026-08-28 10:22:24] 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-28 10:22:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787892734000,"timestamp_ms":1787892734000,"timestamp_seconds":1787892734,"priority":1,"record_length":96,"hex_timestamp":"000001a046b61830"} 
[2026-08-28 10:22:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:22:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2560,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 10:22:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-28 10:22:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1697,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:22:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:22:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:22:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:22:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:22:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:22:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:22:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:22:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 10:22:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 10:22:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700537344001,"66":11874,"109":206,"85":15104,"24":37,"16":125183058134433792,"45":9101634134448605184},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-28 10:22:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 10:22:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 10:22:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700537344001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:22:24] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-28 10:22:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 10:22:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125183058134433792,"km_value":125183058134433.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:22:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9101634134448605184,"description":"Unknown IO ID 45"} 
[2026-08-28 10:22:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700537344001,"power":11874,"unknown_109":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9101634134448605184}} 
[2026-08-28 10:22:24] local.INFO: DEBUG: GPS processor result {"connection_id":163611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706981,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:22:24] local.INFO: GPS data processed {"connection_id":163611,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:22:24] local.INFO: Acknowledgment sent {"connection_id":163611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:22:31] local.INFO: TCP Data received {"connection_id":164610,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:22:31] local.INFO: Processing buffer {"connection_id":164610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:22:31] local.INFO: IMEI packet received {"connection_id":164610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 10:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":164610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:22:36] local.INFO: TCP Data received {"connection_id":164610,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:22:36] local.INFO: Processing buffer {"connection_id":164610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:22:36] local.INFO: IMEI packet received {"connection_id":164610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 10:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":164610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:22:37] local.INFO: TCP Data received {"connection_id":164610,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a046b1b718012d34c14006aa4840001200e62c..."} 
[2026-08-28 10:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046b1b718012d34c14006aa4840001200e62c..."} 
[2026-08-28 10:22:37] local.INFO: Processing buffer {"connection_id":164610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046b1b718012d34c14006aa4840001200e62c..."} 
[2026-08-28 10:22:37] local.INFO: Packet analysis {"connection_id":164610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046b1"} 
[2026-08-28 10:22:37] local.INFO: Extracted packet for processing {"connection_id":164610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046b1"} 
[2026-08-28 10:22:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700389376001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 10:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787892447000,"timestamp_ms":1787892447000,"timestamp_seconds":1787892447,"priority":1,"record_length":96,"hex_timestamp":"000001a046b1b718"} 
[2026-08-28 10:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 10:22:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:22:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700389376001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700389376001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:22:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:22:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:22: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-28 10:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700389376001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":164610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:22:37] local.INFO: GPS data processed {"connection_id":164610,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:22:37] local.INFO: Acknowledgment sent {"connection_id":164610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:22:55] local.INFO: TCP Data received {"connection_id":163611,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a046b61830012d7e4f8005d385480000000207..."} 
[2026-08-28 10:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046b61830012d7e4f8005d385480000000207..."} 
[2026-08-28 10:22:55] local.INFO: Processing buffer {"connection_id":163611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046b61830012d7e4f8005d385480000000207..."} 
[2026-08-28 10:22:55] local.INFO: Packet analysis {"connection_id":163611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046b6"} 
[2026-08-28 10:22:55] local.INFO: Extracted packet for processing {"connection_id":163611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046b6"} 
[2026-08-28 10:22:55] local.INFO: GPS Element Parsed {"raw_longitude":763252608,"raw_latitude":97748296,"longitude_deg":76.3252608,"latitude_deg":9.7748296,"altitude":0,"angle":2,"satellites":7,"speed":37,"hex_longitude":"2d7e4f80","hex_latitude":"05d38548","is_valid_coordinates":true} 
[2026-08-28 10:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:22:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700539904001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:22:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125183058134433792,"note":"Value kept but may cause issues"} 
[2026-08-28 10:22:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9101634134450980864,"note":"Value kept but may cause issues"} 
[2026-08-28 10:22:55] 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-28 10:22:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787892734000,"timestamp_ms":1787892734000,"timestamp_seconds":1787892734,"priority":1,"record_length":96,"hex_timestamp":"000001a046b61830"} 
[2026-08-28 10:22:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:22:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2816,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 10:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-28 10:22:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1310,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:22:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:22:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:22:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:22:55] local.INFO: Teltonika packet parsed successfully {"connection_id":163611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:22:55] local.INFO: Passing IMEI to GPS processor {"connection_id":163611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:22:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":163611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:22:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:22:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 10:22:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 10:22:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700539904001,"66":11874,"109":206,"85":15104,"24":37,"16":125183058134433792,"45":9101634134450980864},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-28 10:22:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 10:22:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 10:22:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700539904001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:22:55] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-28 10:22:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 10:22:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125183058134433792,"km_value":125183058134433.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:22:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9101634134450980864,"description":"Unknown IO ID 45"} 
[2026-08-28 10:22:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700539904001,"power":11874,"unknown_109":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9101634134450980864}} 
[2026-08-28 10:22:55] local.INFO: DEBUG: GPS processor result {"connection_id":163611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706983,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:22:55] local.INFO: GPS data processed {"connection_id":163611,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:22:55] local.INFO: Acknowledgment sent {"connection_id":163611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:23:10] local.INFO: TCP Data received {"connection_id":164610,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a046b64ee0012d34c14006aa4840001700e62c..."} 
[2026-08-28 10:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046b64ee0012d34c14006aa4840001700e62c..."} 
[2026-08-28 10:23:10] local.INFO: Processing buffer {"connection_id":164610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046b64ee0012d34c14006aa4840001700e62c..."} 
[2026-08-28 10:23:10] local.INFO: Packet analysis {"connection_id":164610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046b6"} 
[2026-08-28 10:23:10] local.INFO: Extracted packet for processing {"connection_id":164610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046b6"} 
[2026-08-28 10:23:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":23,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700466432001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:23:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:23:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 10:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787892748000,"timestamp_ms":1787892748000,"timestamp_seconds":1787892748,"priority":1,"record_length":96,"hex_timestamp":"000001a046b64ee0"} 
[2026-08-28 10:23:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:23:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 10:23:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:23:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:23:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":164610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":164610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":164610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:23:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700466432001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700466432001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:23:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:23:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:23:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700466432001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:23:10] local.INFO: DEBUG: GPS processor result {"connection_id":164610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:23:10] local.INFO: GPS data processed {"connection_id":164610,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:23:10] local.INFO: Acknowledgment sent {"connection_id":164610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:23:26] local.INFO: TCP Data received {"connection_id":163611,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a046b623e8012d7e4e4005d390180000015d07..."} 
[2026-08-28 10:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046b623e8012d7e4e4005d390180000015d07..."} 
[2026-08-28 10:23:26] local.INFO: Processing buffer {"connection_id":163611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046b623e8012d7e4e4005d390180000015d07..."} 
[2026-08-28 10:23:26] local.INFO: Packet analysis {"connection_id":163611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046b6"} 
[2026-08-28 10:23:26] local.INFO: Extracted packet for processing {"connection_id":163611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046b6"} 
[2026-08-28 10:23:26] local.INFO: GPS Element Parsed {"raw_longitude":763252288,"raw_latitude":97751064,"longitude_deg":76.3252288,"latitude_deg":9.7751064,"altitude":0,"angle":349,"satellites":7,"speed":38,"hex_longitude":"2d7e4e40","hex_latitude":"05d39018","is_valid_coordinates":true} 
[2026-08-28 10:23:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:23:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700539904001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:23:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125183195573387264,"note":"Value kept but may cause issues"} 
[2026-08-28 10:23:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9101634134450980864,"note":"Value kept but may cause issues"} 
[2026-08-28 10:23:26] 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-28 10:23:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787892737000,"timestamp_ms":1787892737000,"timestamp_seconds":1787892737,"priority":1,"record_length":96,"hex_timestamp":"000001a046b623e8"} 
[2026-08-28 10:23:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:23:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2816,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 10:23:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-28 10:23:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1310,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:23:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:23:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:23:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:23:26] local.INFO: Teltonika packet parsed successfully {"connection_id":163611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:23:26] local.INFO: Passing IMEI to GPS processor {"connection_id":163611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:23:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":163611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:23:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:23:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 10:23:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 10:23:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700539904001,"66":11874,"109":206,"85":15104,"24":38,"16":125183195573387264,"45":9101634134450980864},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-28 10:23:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 10:23:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 10:23:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700539904001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:23:26] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-28 10:23:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 10:23:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125183195573387264,"km_value":125183195573387.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:23:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9101634134450980864,"description":"Unknown IO ID 45"} 
[2026-08-28 10:23:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700539904001,"power":11874,"unknown_109":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":9101634134450980864}} 
[2026-08-28 10:23:26] local.INFO: DEBUG: GPS processor result {"connection_id":163611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706985,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:23:26] local.INFO: GPS data processed {"connection_id":163611,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:23:26] local.INFO: Acknowledgment sent {"connection_id":163611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:23:31] local.INFO: TCP Data received {"connection_id":163612,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:23:31] local.INFO: Processing buffer {"connection_id":163612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:23:31] local.INFO: IMEI packet received {"connection_id":163612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 10:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":163612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:23:37] local.INFO: TCP Data received {"connection_id":163612,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:23:37] local.INFO: Processing buffer {"connection_id":163612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:23:37] local.INFO: IMEI packet received {"connection_id":163612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 10:23:37] local.INFO: IMEI acknowledgment sent {"connection_id":163612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:23:38] local.INFO: TCP Data received {"connection_id":163612,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a046b64ee0012d34c14006aa4840001700e62c..."} 
[2026-08-28 10:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046b64ee0012d34c14006aa4840001700e62c..."} 
[2026-08-28 10:23:38] local.INFO: Processing buffer {"connection_id":163612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046b64ee0012d34c14006aa4840001700e62c..."} 
[2026-08-28 10:23:38] local.INFO: Packet analysis {"connection_id":163612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046b6"} 
[2026-08-28 10:23:38] local.INFO: Extracted packet for processing {"connection_id":163612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046b6"} 
[2026-08-28 10:23:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":23,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700466432001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:23:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:23:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 10:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787892748000,"timestamp_ms":1787892748000,"timestamp_seconds":1787892748,"priority":1,"record_length":96,"hex_timestamp":"000001a046b64ee0"} 
[2026-08-28 10:23:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:23:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 10:23:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:23:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:23:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:23:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700466432001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700466432001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:23:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:23:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:23: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-28 10:23:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700466432001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:23:38] 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":706986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:23:38] local.INFO: GPS data processed {"connection_id":163612,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:23:38] local.INFO: Acknowledgment sent {"connection_id":163612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:24:10] local.INFO: TCP Data received {"connection_id":163612,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a046b64ee0012d34c14006aa4840001700e62c..."} 
[2026-08-28 10:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046b64ee0012d34c14006aa4840001700e62c..."} 
[2026-08-28 10:24:10] local.INFO: Processing buffer {"connection_id":163612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046b64ee0012d34c14006aa4840001700e62c..."} 
[2026-08-28 10:24:10] local.INFO: Packet analysis {"connection_id":163612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046b6"} 
[2026-08-28 10:24:10] local.INFO: Extracted packet for processing {"connection_id":163612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046b6"} 
[2026-08-28 10:24:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":23,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700466432001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 10:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787892748000,"timestamp_ms":1787892748000,"timestamp_seconds":1787892748,"priority":1,"record_length":96,"hex_timestamp":"000001a046b64ee0"} 
[2026-08-28 10:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:24:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 10:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700466432001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700466432001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:24:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:24:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700466432001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:24:10] 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":706987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:24:10] local.INFO: GPS data processed {"connection_id":163612,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:24:10] local.INFO: Acknowledgment sent {"connection_id":163612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:24:18] local.INFO: TCP Data received {"connection_id":163611,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a046b656b0012d7e46c005d3b4300000015d07..."} 
[2026-08-28 10:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046b656b0012d7e46c005d3b4300000015d07..."} 
[2026-08-28 10:24:18] local.INFO: Processing buffer {"connection_id":163611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046b656b0012d7e46c005d3b4300000015d07..."} 
[2026-08-28 10:24:18] local.INFO: Packet analysis {"connection_id":163611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046b6"} 
[2026-08-28 10:24:18] local.INFO: Extracted packet for processing {"connection_id":163611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046b6"} 
[2026-08-28 10:24:18] local.INFO: GPS Element Parsed {"raw_longitude":763250368,"raw_latitude":97760304,"longitude_deg":76.3250368,"latitude_deg":9.7760304,"altitude":0,"angle":349,"satellites":7,"speed":26,"hex_longitude":"2d7e46c0","hex_latitude":"05d3b430","is_valid_coordinates":true} 
[2026-08-28 10: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-28 10:24:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700540672001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:24:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125183655134887936,"note":"Value kept but may cause issues"} 
[2026-08-28 10:24:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9101282290730801152,"note":"Value kept but may cause issues"} 
[2026-08-28 10:24:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 10:24:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787892750000,"timestamp_ms":1787892750000,"timestamp_seconds":1787892750,"priority":1,"record_length":96,"hex_timestamp":"000001a046b656b0"} 
[2026-08-28 10: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-28 10:24:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3072,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 10: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":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-28 10:24:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1310,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10: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-28 10: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-28 10:24:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:24:18] local.INFO: Teltonika packet parsed successfully {"connection_id":163611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:24:18] local.INFO: Passing IMEI to GPS processor {"connection_id":163611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:24:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":163611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:24:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:24:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 10:24:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 10:24:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700540672001,"66":11787,"109":206,"85":15104,"24":26,"16":125183655134887936,"45":9101282290730801152},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-28 10:24:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 10:24:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 10:24:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700540672001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:24:18] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-28 10:24:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 10:24:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125183655134887936,"km_value":125183655134887.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:24:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9101282290730801152,"description":"Unknown IO ID 45"} 
[2026-08-28 10:24:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700540672001,"power":11787,"unknown_109":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":9101282290730801152}} 
[2026-08-28 10:24:18] local.INFO: DEBUG: GPS processor result {"connection_id":163611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706988,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:24:18] local.INFO: GPS data processed {"connection_id":163611,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:24:18] local.INFO: Acknowledgment sent {"connection_id":163611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:24:31] local.INFO: TCP Data received {"connection_id":165956,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:24:31] local.INFO: Processing buffer {"connection_id":165956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:24:31] local.INFO: IMEI packet received {"connection_id":165956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 10:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":165956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:24:36] local.INFO: TCP Data received {"connection_id":165956,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:24:36] local.INFO: Processing buffer {"connection_id":165956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:24:36] local.INFO: IMEI packet received {"connection_id":165956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 10:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":165956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:24:37] local.INFO: TCP Data received {"connection_id":165956,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a046b64ee0012d34c14006aa4840001700e62c..."} 
[2026-08-28 10:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046b64ee0012d34c14006aa4840001700e62c..."} 
[2026-08-28 10:24:37] local.INFO: Processing buffer {"connection_id":165956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046b64ee0012d34c14006aa4840001700e62c..."} 
[2026-08-28 10:24:37] local.INFO: Packet analysis {"connection_id":165956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046b6"} 
[2026-08-28 10:24:37] local.INFO: Extracted packet for processing {"connection_id":165956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046b6"} 
[2026-08-28 10:24:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":23,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700466432001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 10:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787892748000,"timestamp_ms":1787892748000,"timestamp_seconds":1787892748,"priority":1,"record_length":96,"hex_timestamp":"000001a046b64ee0"} 
[2026-08-28 10:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 10:24:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":165956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":165956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":165956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700466432001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700466432001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:24:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:24:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:24: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-28 10:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700466432001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":165956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:24:37] local.INFO: GPS data processed {"connection_id":165956,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:24:37] local.INFO: Acknowledgment sent {"connection_id":165956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:24:49] local.INFO: TCP Data received {"connection_id":163611,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a046b80078012d7e304005d4cbf8000001500b..."} 
[2026-08-28 10:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046b80078012d7e304005d4cbf8000001500b..."} 
[2026-08-28 10:24:49] local.INFO: Processing buffer {"connection_id":163611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046b80078012d7e304005d4cbf8000001500b..."} 
[2026-08-28 10:24:49] local.INFO: Packet analysis {"connection_id":163611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046b8"} 
[2026-08-28 10:24:49] local.INFO: Extracted packet for processing {"connection_id":163611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046b8"} 
[2026-08-28 10:24:49] local.INFO: GPS Element Parsed {"raw_longitude":763244608,"raw_latitude":97831928,"longitude_deg":76.3244608,"latitude_deg":9.7831928,"altitude":0,"angle":336,"satellites":11,"speed":32,"hex_longitude":"2d7e3040","hex_latitude":"05d4cbf8","is_valid_coordinates":true} 
[2026-08-28 10:24:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:24:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700570368001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:24:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125187172713103360,"note":"Value kept but may cause issues"} 
[2026-08-28 10:24:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094034310099740672,"note":"Value kept but may cause issues"} 
[2026-08-28 10:24:49] 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-28 10:24:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787892859000,"timestamp_ms":1787892859000,"timestamp_seconds":1787892859,"priority":1,"record_length":96,"hex_timestamp":"000001a046b80078"} 
[2026-08-28 10:24:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:24:49] 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-28 10:24:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-28 10:24:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1310,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:24:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:24:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:24:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:24:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:24:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:24:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:24:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:24:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 10:24:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 10:24:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700570368001,"66":11547,"111":206,"85":15104,"24":32,"16":125187172713103360,"45":9094034310099740672},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-28 10:24:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 10:24:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 10:24:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700570368001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:24:49] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-28 10:24:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 10:24:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125187172713103360,"km_value":125187172713103.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:24:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094034310099740672,"description":"Unknown IO ID 45"} 
[2026-08-28 10:24:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700570368001,"power":11547,"unknown_111":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":9094034310099740672}} 
[2026-08-28 10:24:49] local.INFO: DEBUG: GPS processor result {"connection_id":163611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706990,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:24:49] local.INFO: GPS data processed {"connection_id":163611,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:24:49] local.INFO: Acknowledgment sent {"connection_id":163611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:25:14] local.INFO: TCP Data received {"connection_id":165956,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a046b64ee0012d34c14006aa4840001700e62c..."} 
[2026-08-28 10:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046b64ee0012d34c14006aa4840001700e62c..."} 
[2026-08-28 10:25:14] local.INFO: Processing buffer {"connection_id":165956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046b64ee0012d34c14006aa4840001700e62c..."} 
[2026-08-28 10:25:14] local.INFO: Packet analysis {"connection_id":165956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046b6"} 
[2026-08-28 10:25:14] local.INFO: Extracted packet for processing {"connection_id":165956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046b6"} 
[2026-08-28 10:25:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":23,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10: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-28 10:25:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700466432001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:25:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:25:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10: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-28 10:25:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787892748000,"timestamp_ms":1787892748000,"timestamp_seconds":1787892748,"priority":1,"record_length":96,"hex_timestamp":"000001a046b64ee0"} 
[2026-08-28 10: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-28 10:25:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 10:25: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-28 10: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-28 10: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-28 10:25:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:25:14] local.INFO: Teltonika packet parsed successfully {"connection_id":165956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:25:14] local.INFO: Passing IMEI to GPS processor {"connection_id":165956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:25:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":165956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:25: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-28 10:25:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:25:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:25:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700466432001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:25:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:25:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:25:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700466432001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:25:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:25:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10: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-28 10:25:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:25:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700466432001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:25:14] local.INFO: DEBUG: GPS processor result {"connection_id":165956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:25:14] local.INFO: GPS data processed {"connection_id":165956,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:25:14] local.INFO: Acknowledgment sent {"connection_id":165956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:25:21] local.INFO: TCP Data received {"connection_id":164611,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164611,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:25:21] local.INFO: Processing buffer {"connection_id":164611,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:25:21] local.INFO: IMEI packet received {"connection_id":164611,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 10:25:21] local.INFO: IMEI acknowledgment sent {"connection_id":164611,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:25:26] local.INFO: TCP Data received {"connection_id":164611,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164611,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:25:26] local.INFO: Processing buffer {"connection_id":164611,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:25:26] local.INFO: IMEI packet received {"connection_id":164611,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 10:25:26] local.INFO: IMEI acknowledgment sent {"connection_id":164611,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:25:27] local.INFO: TCP Data received {"connection_id":164611,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a046b817e8012d7e280005d4dea80000015e0b..."} 
[2026-08-28 10:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046b817e8012d7e280005d4dea80000015e0b..."} 
[2026-08-28 10:25:27] local.INFO: Processing buffer {"connection_id":164611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046b817e8012d7e280005d4dea80000015e0b..."} 
[2026-08-28 10:25:27] local.INFO: Packet analysis {"connection_id":164611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046b8"} 
[2026-08-28 10:25:27] local.INFO: Extracted packet for processing {"connection_id":164611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046b8"} 
[2026-08-28 10:25:27] local.INFO: GPS Element Parsed {"raw_longitude":763242496,"raw_latitude":97836712,"longitude_deg":76.3242496,"latitude_deg":9.7836712,"altitude":0,"angle":350,"satellites":11,"speed":36,"hex_longitude":"2d7e2800","hex_latitude":"05d4dea8","is_valid_coordinates":true} 
[2026-08-28 10:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:25:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700571904001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:25:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125187426116173824,"note":"Value kept but may cause issues"} 
[2026-08-28 10:25:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9092838041450182656,"note":"Value kept but may cause issues"} 
[2026-08-28 10:25:27] 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-28 10:25:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787892865000,"timestamp_ms":1787892865000,"timestamp_seconds":1787892865,"priority":1,"record_length":96,"hex_timestamp":"000001a046b817e8"} 
[2026-08-28 10:25:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:25:27] 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-28 10:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-28 10:25:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":666,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:25:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:25:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:25:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:25:27] local.INFO: Teltonika packet parsed successfully {"connection_id":164611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:25:27] local.INFO: Passing IMEI to GPS processor {"connection_id":164611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:25:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":164611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:25:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:25:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 10:25:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 10:25:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700571904001,"66":11776,"111":206,"85":15104,"24":36,"16":125187426116173824,"45":9092838041450182656},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-28 10:25:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 10:25:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 10:25:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700571904001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:25:27] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-28 10:25:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 10:25:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125187426116173824,"km_value":125187426116173.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:25:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9092838041450182656,"description":"Unknown IO ID 45"} 
[2026-08-28 10:25:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700571904001,"power":11776,"unknown_111":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":9092838041450182656}} 
[2026-08-28 10:25:28] local.INFO: DEBUG: GPS processor result {"connection_id":164611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706992,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:25:28] local.INFO: GPS data processed {"connection_id":164611,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:25:28] local.INFO: Acknowledgment sent {"connection_id":164611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:25:36] local.INFO: TCP Data received {"connection_id":163613,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:25:36] local.INFO: Processing buffer {"connection_id":163613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:25:36] local.INFO: IMEI packet received {"connection_id":163613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 10:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":163613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:25:41] local.INFO: TCP Data received {"connection_id":163613,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:25:41] local.INFO: Processing buffer {"connection_id":163613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:25:41] local.INFO: IMEI packet received {"connection_id":163613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 10:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":163613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:25:42] local.INFO: TCP Data received {"connection_id":163613,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a046b64ee0012d34c14006aa4840001700e62c..."} 
[2026-08-28 10:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046b64ee0012d34c14006aa4840001700e62c..."} 
[2026-08-28 10:25:42] local.INFO: Processing buffer {"connection_id":163613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046b64ee0012d34c14006aa4840001700e62c..."} 
[2026-08-28 10:25:42] local.INFO: Packet analysis {"connection_id":163613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046b6"} 
[2026-08-28 10:25:42] local.INFO: Extracted packet for processing {"connection_id":163613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046b6"} 
[2026-08-28 10:25:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":23,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10: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-28 10:25:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700466432001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:25:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:25:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10: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-28 10:25:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787892748000,"timestamp_ms":1787892748000,"timestamp_seconds":1787892748,"priority":1,"record_length":96,"hex_timestamp":"000001a046b64ee0"} 
[2026-08-28 10: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-28 10:25:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10: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-28 10: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-28 10: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-28 10: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-28 10:25:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:25:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:25:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:25:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:25: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-28 10:25:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:25:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:25:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700466432001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:25:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:25:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:25:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700466432001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:25:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:25:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10: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-28 10:25:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:25:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700466432001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:25:42] 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":706993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:25:42] local.INFO: GPS data processed {"connection_id":163613,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:25:42] local.INFO: Acknowledgment sent {"connection_id":163613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:25:47] local.INFO: TCP Data received {"connection_id":163613,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a046b64ee0012d34c14006aa4840001700e62c..."} 
[2026-08-28 10:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046b64ee0012d34c14006aa4840001700e62c..."} 
[2026-08-28 10:25:47] local.INFO: Processing buffer {"connection_id":163613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046b64ee0012d34c14006aa4840001700e62c..."} 
[2026-08-28 10:25:47] local.INFO: Packet analysis {"connection_id":163613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046b6"} 
[2026-08-28 10:25:47] local.INFO: Extracted packet for processing {"connection_id":163613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046b6"} 
[2026-08-28 10:25:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":23,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10: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-28 10:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700466432001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:25:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10: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-28 10:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787892748000,"timestamp_ms":1787892748000,"timestamp_seconds":1787892748,"priority":1,"record_length":96,"hex_timestamp":"000001a046b64ee0"} 
[2026-08-28 10: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-28 10:25:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10: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-28 10: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-28 10: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-28 10: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-28 10:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:25:47] 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-28 10:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700466432001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700466432001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:25:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:25:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10: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-28 10:25:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700466432001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:25:47] 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":706994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:25:47] local.INFO: GPS data processed {"connection_id":163613,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:25:47] local.INFO: Acknowledgment sent {"connection_id":163613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:25:57] local.INFO: TCP Data received {"connection_id":165955,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 10:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165955,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 10:25:57] local.INFO: Processing buffer {"connection_id":165955,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 10:25:57] local.INFO: IMEI packet received {"connection_id":165955,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 10:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":165955,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:26:02] local.INFO: TCP Data received {"connection_id":164611,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a046b95c20012d7dc34005d57d00000001220b..."} 
[2026-08-28 10:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046b95c20012d7dc34005d57d00000001220b..."} 
[2026-08-28 10:26:02] local.INFO: Processing buffer {"connection_id":164611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046b95c20012d7dc34005d57d00000001220b..."} 
[2026-08-28 10:26:02] local.INFO: Packet analysis {"connection_id":164611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046b9"} 
[2026-08-28 10:26:02] local.INFO: Extracted packet for processing {"connection_id":164611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046b9"} 
[2026-08-28 10:26:02] local.INFO: GPS Element Parsed {"raw_longitude":763216704,"raw_latitude":97877248,"longitude_deg":76.3216704,"latitude_deg":9.7877248,"altitude":0,"angle":290,"satellites":11,"speed":18,"hex_longitude":"2d7dc340","hex_latitude":"05d57d00","is_valid_coordinates":true} 
[2026-08-28 10:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700594432001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125190252204654592,"note":"Value kept but may cause issues"} 
[2026-08-28 10:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9062649850209505280,"note":"Value kept but may cause issues"} 
[2026-08-28 10:26:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 10:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787892948000,"timestamp_ms":1787892948000,"timestamp_seconds":1787892948,"priority":1,"record_length":96,"hex_timestamp":"000001a046b95c20"} 
[2026-08-28 10:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:26:02] 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-28 10:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-28 10:26:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1499,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:26:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":164611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":164611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":164611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 10:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 10:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700594432001,"66":11634,"81":206,"85":15104,"24":18,"16":125190252204654592,"45":9062649850209505280},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-28 10:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 10:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 10:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700594432001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:26:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-28 10:26:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 10:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125190252204654592,"km_value":125190252204654.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9062649850209505280,"description":"Unknown IO ID 45"} 
[2026-08-28 10:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700594432001,"power":11634,"unknown_81":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":9062649850209505280}} 
[2026-08-28 10:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":164611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706995,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:26:02] local.INFO: GPS data processed {"connection_id":164611,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:26:02] local.INFO: Acknowledgment sent {"connection_id":164611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:26:31] local.INFO: TCP Data received {"connection_id":163345,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:26:31] local.INFO: Processing buffer {"connection_id":163345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:26:31] local.INFO: IMEI packet received {"connection_id":163345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 10:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":163345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:26:38] local.INFO: TCP Data received {"connection_id":163345,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:26:38] local.INFO: Processing buffer {"connection_id":163345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:26:38] local.INFO: IMEI packet received {"connection_id":163345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 10:26:38] local.INFO: IMEI acknowledgment sent {"connection_id":163345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:26:39] local.INFO: TCP Data received {"connection_id":163345,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a046b64ee0012d34c14006aa4840001700e62c..."} 
[2026-08-28 10:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046b64ee0012d34c14006aa4840001700e62c..."} 
[2026-08-28 10:26:39] local.INFO: Processing buffer {"connection_id":163345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046b64ee0012d34c14006aa4840001700e62c..."} 
[2026-08-28 10:26:39] local.INFO: Packet analysis {"connection_id":163345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046b6"} 
[2026-08-28 10:26:39] local.INFO: Extracted packet for processing {"connection_id":163345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046b6"} 
[2026-08-28 10:26:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":23,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:26:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700466432001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:26:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:26:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:26:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 10:26:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787892748000,"timestamp_ms":1787892748000,"timestamp_seconds":1787892748,"priority":1,"record_length":96,"hex_timestamp":"000001a046b64ee0"} 
[2026-08-28 10:26:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:26:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 10:26:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:26:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:26:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:26:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:26:39] local.INFO: Teltonika packet parsed successfully {"connection_id":163345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:26:39] local.INFO: Passing IMEI to GPS processor {"connection_id":163345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:26:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":163345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:26:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:26:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:26:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:26:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700466432001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:26:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:26:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:26:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700466432001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:26:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:26:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:26:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:26:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:26:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700466432001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:26:39] 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":706996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:26:39] local.INFO: GPS data processed {"connection_id":163345,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:26:39] local.INFO: Acknowledgment sent {"connection_id":163345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:27:10] local.INFO: TCP Data received {"connection_id":163345,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a046b64ee0012d34c14006aa4840001700e62c..."} 
[2026-08-28 10:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046b64ee0012d34c14006aa4840001700e62c..."} 
[2026-08-28 10:27:10] local.INFO: Processing buffer {"connection_id":163345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046b64ee0012d34c14006aa4840001700e62c..."} 
[2026-08-28 10:27:10] local.INFO: Packet analysis {"connection_id":163345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046b6"} 
[2026-08-28 10:27:10] local.INFO: Extracted packet for processing {"connection_id":163345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046b6"} 
[2026-08-28 10:27:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":23,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700466432001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:27:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:27:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 10:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787892748000,"timestamp_ms":1787892748000,"timestamp_seconds":1787892748,"priority":1,"record_length":96,"hex_timestamp":"000001a046b64ee0"} 
[2026-08-28 10:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:27:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 10:27:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:27:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:27:10] 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-28 10:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700466432001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700466432001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:27:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:27:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:27:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700466432001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:27:11] 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":706997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:27:11] local.INFO: GPS data processed {"connection_id":163345,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:27:11] local.INFO: Acknowledgment sent {"connection_id":163345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:27:31] local.INFO: TCP Data received {"connection_id":164612,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:27:31] local.INFO: Processing buffer {"connection_id":164612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:27:31] local.INFO: IMEI packet received {"connection_id":164612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 10:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":164612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:27:34] local.INFO: TCP Data received {"connection_id":164611,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a046b96008012d7dc14005d57d40000001110b..."} 
[2026-08-28 10:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046b96008012d7dc14005d57d40000001110b..."} 
[2026-08-28 10:27:34] local.INFO: Processing buffer {"connection_id":164611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046b96008012d7dc14005d57d40000001110b..."} 
[2026-08-28 10:27:34] local.INFO: Packet analysis {"connection_id":164611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046b9"} 
[2026-08-28 10:27:34] local.INFO: Extracted packet for processing {"connection_id":164611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046b9"} 
[2026-08-28 10:27:34] local.INFO: GPS Element Parsed {"raw_longitude":763216192,"raw_latitude":97877312,"longitude_deg":76.3216192,"latitude_deg":9.7877312,"altitude":0,"angle":273,"satellites":11,"speed":20,"hex_longitude":"2d7dc140","hex_latitude":"05d57d40","is_valid_coordinates":true} 
[2026-08-28 10:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:27:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700594688001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:27:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125190277974458368,"note":"Value kept but may cause issues"} 
[2026-08-28 10:27:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9062157269000323072,"note":"Value kept but may cause issues"} 
[2026-08-28 10:27:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 10:27:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787892949000,"timestamp_ms":1787892949000,"timestamp_seconds":1787892949,"priority":1,"record_length":96,"hex_timestamp":"000001a046b96008"} 
[2026-08-28 10:27:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:27:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 10:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-28 10:27:34] 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-28 10:27:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:27:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:27:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:27:34] local.INFO: Teltonika packet parsed successfully {"connection_id":164611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:27:34] local.INFO: Passing IMEI to GPS processor {"connection_id":164611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:27:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":164611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:27:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:27:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 10:27:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 10:27:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700594688001,"66":11634,"81":206,"85":15104,"24":20,"16":125190277974458368,"45":9062157269000323072},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-28 10:27:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 10:27:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 10:27:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700594688001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:27:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-28 10:27:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 10:27:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125190277974458368,"km_value":125190277974458.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:27:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9062157269000323072,"description":"Unknown IO ID 45"} 
[2026-08-28 10:27:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700594688001,"power":11634,"unknown_81":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":9062157269000323072}} 
[2026-08-28 10:27:34] local.INFO: DEBUG: GPS processor result {"connection_id":164611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706998,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:27:34] local.INFO: GPS data processed {"connection_id":164611,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:27:34] local.INFO: Acknowledgment sent {"connection_id":164611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:27:40] local.INFO: TCP Data received {"connection_id":164611,"ip":"42.106.6.34","data_length":888,"data_hex":"000000000000030f8e0a000001a046b963f0012d7dbec005d57ce8000001050b..."} 
[2026-08-28 10:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164611,"packet_length":888,"packet_hex":"000000000000030f8e0a000001a046b963f0012d7dbec005d57ce8000001050b..."} 
[2026-08-28 10:27:40] local.INFO: Processing buffer {"connection_id":164611,"buffer_length":888,"buffer_hex":"000000000000030f8e0a000001a046b963f0012d7dbec005d57ce8000001050b..."} 
[2026-08-28 10:27:40] local.INFO: Packet analysis {"connection_id":164611,"data_field_length":783,"total_packet_length":795,"buffer_length":888,"packet_hex_start":"000000000000030f8e0a000001a046b9"} 
[2026-08-28 10:27:40] local.INFO: Extracted packet for processing {"connection_id":164611,"packet_length":795,"remaining_buffer_length":93,"packet_hex_start":"000000000000030f8e0a000001a046b9"} 
[2026-08-28 10:27:40] local.INFO: GPS Element Parsed {"raw_longitude":763215552,"raw_latitude":97877224,"longitude_deg":76.3215552,"latitude_deg":9.7877224,"altitude":0,"angle":261,"satellites":11,"speed":24,"hex_longitude":"2d7dbec0","hex_latitude":"05d57ce8","is_valid_coordinates":true} 
[2026-08-28 10:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:27:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700594944001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:27:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125190303744262144,"note":"Value kept but may cause issues"} 
[2026-08-28 10:27:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9061594319046918144,"note":"Value kept but may cause issues"} 
[2026-08-28 10:27:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 10:27:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787892950000,"timestamp_ms":1787892950000,"timestamp_seconds":1787892950,"priority":1,"record_length":96,"hex_timestamp":"000001a046b963f0"} 
[2026-08-28 10:27:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:27:40] 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-28 10:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-28 10:27:40] 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-28 10:27:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:27:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:27:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:27:40] local.INFO: Teltonika packet parsed successfully {"connection_id":164611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:27:40] local.INFO: Passing IMEI to GPS processor {"connection_id":164611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:27:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":164611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:27:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:27:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 10:27:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 10:27:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700594944001,"66":11711,"81":206,"85":15104,"24":24,"16":125190303744262144,"45":9061594319046918144},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-28 10:27:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 10:27:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 10:27:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700594944001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:27:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-28 10:27:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 10:27:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125190303744262144,"km_value":125190303744262.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:27:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9061594319046918144,"description":"Unknown IO ID 45"} 
[2026-08-28 10:27:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700594944001,"power":11711,"unknown_81":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":9061594319046918144}} 
[2026-08-28 10:27:40] local.INFO: DEBUG: GPS processor result {"connection_id":164611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":706999,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:27:40] local.INFO: GPS data processed {"connection_id":164611,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:27:40] local.INFO: Acknowledgment sent {"connection_id":164611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:27:40] local.INFO: Packet analysis {"connection_id":164611,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a046ba"} 
[2026-08-28 10:27:40] local.INFO: Extracted packet for processing {"connection_id":164611,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a046ba"} 
[2026-08-28 10:27:40] local.INFO: GPS Element Parsed {"raw_longitude":763178048,"raw_latitude":97876304,"longitude_deg":76.3178048,"latitude_deg":9.7876304,"altitude":0,"angle":10,"satellites":11,"speed":10,"hex_longitude":"2d7d2c40","hex_latitude":"05d57950","is_valid_coordinates":true} 
[2026-08-28 10:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-08-28 10:27:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:27:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:27:40] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:27:40] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-28 10:27:40] local.INFO: Teltonika packet parsed successfully {"connection_id":164611,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-28 10:27:40] local.INFO: Passing IMEI to GPS processor {"connection_id":164611,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-28 10:27:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":164611,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-28 10:27:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-28 10:27:40] local.WARNING: DEBUG: No valid data to process  
[2026-08-28 10:27:40] local.INFO: DEBUG: GPS processor result {"connection_id":164611,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-28 10:27:40] local.ERROR: GPS data processing failed {"connection_id":164611,"error":"No valid data to process"} 
[2026-08-28 10:27:40] local.INFO: Acknowledgment sent {"connection_id":164611,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-28 10:28:01] local.INFO: TCP Data received {"connection_id":163615,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:28:01] local.INFO: Processing buffer {"connection_id":163615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:28:01] local.INFO: IMEI packet received {"connection_id":163615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 10:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":163615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:28:06] local.INFO: TCP Data received {"connection_id":163615,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:28:06] local.INFO: Processing buffer {"connection_id":163615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:28:06] local.INFO: IMEI packet received {"connection_id":163615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 10:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":163615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:28:07] local.INFO: TCP Data received {"connection_id":163615,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a046b64ee0012d34c14006aa4840001700e62c..."} 
[2026-08-28 10:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046b64ee0012d34c14006aa4840001700e62c..."} 
[2026-08-28 10:28:07] local.INFO: Processing buffer {"connection_id":163615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046b64ee0012d34c14006aa4840001700e62c..."} 
[2026-08-28 10:28:07] local.INFO: Packet analysis {"connection_id":163615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046b6"} 
[2026-08-28 10:28:07] local.INFO: Extracted packet for processing {"connection_id":163615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046b6"} 
[2026-08-28 10:28:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":23,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700466432001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 10:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787892748000,"timestamp_ms":1787892748000,"timestamp_seconds":1787892748,"priority":1,"record_length":96,"hex_timestamp":"000001a046b64ee0"} 
[2026-08-28 10:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:28:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 10:28:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:28:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":163615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":163615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":163615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:28:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700466432001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700466432001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:28:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:28:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:28: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-28 10:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700466432001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:28:07] 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":707000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:28:07] local.INFO: GPS data processed {"connection_id":163615,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:28:07] local.INFO: Acknowledgment sent {"connection_id":163615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:28:31] local.INFO: TCP Data received {"connection_id":163346,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:28:31] local.INFO: Processing buffer {"connection_id":163346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:28:31] local.INFO: IMEI packet received {"connection_id":163346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 10:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":163346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:28:36] local.INFO: TCP Data received {"connection_id":163346,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:28:36] local.INFO: Processing buffer {"connection_id":163346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:28:36] local.INFO: IMEI packet received {"connection_id":163346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 10:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":163346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:28:37] local.INFO: TCP Data received {"connection_id":163346,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a046bae6a8012d34c14006aa4840000d00e62b..."} 
[2026-08-28 10:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046bae6a8012d34c14006aa4840000d00e62b..."} 
[2026-08-28 10:28:37] local.INFO: Processing buffer {"connection_id":163346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046bae6a8012d34c14006aa4840000d00e62b..."} 
[2026-08-28 10:28:37] local.INFO: Packet analysis {"connection_id":163346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046ba"} 
[2026-08-28 10:28:37] local.INFO: Extracted packet for processing {"connection_id":163346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046ba"} 
[2026-08-28 10:28:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700543488001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 10:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787893049000,"timestamp_ms":1787893049000,"timestamp_seconds":1787893049,"priority":1,"record_length":96,"hex_timestamp":"000001a046bae6a8"} 
[2026-08-28 10:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 10:28:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700543488001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700543488001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:28:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:28:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:28: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-28 10:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700543488001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:28:37] 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":707001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:28:37] local.INFO: GPS data processed {"connection_id":163346,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:28:37] local.INFO: Acknowledgment sent {"connection_id":163346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:29:08] local.INFO: TCP Data received {"connection_id":163346,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a046bae6a8012d34c14006aa4840000d00e62b..."} 
[2026-08-28 10:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046bae6a8012d34c14006aa4840000d00e62b..."} 
[2026-08-28 10:29:08] local.INFO: Processing buffer {"connection_id":163346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046bae6a8012d34c14006aa4840000d00e62b..."} 
[2026-08-28 10:29:08] local.INFO: Packet analysis {"connection_id":163346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046ba"} 
[2026-08-28 10:29:08] local.INFO: Extracted packet for processing {"connection_id":163346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046ba"} 
[2026-08-28 10:29:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700543488001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:29: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-28 10:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787893049000,"timestamp_ms":1787893049000,"timestamp_seconds":1787893049,"priority":1,"record_length":96,"hex_timestamp":"000001a046bae6a8"} 
[2026-08-28 10:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:29:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 10:29:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:29:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700543488001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700543488001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:29:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:29:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:29: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-28 10:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700543488001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:29:08] 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":707002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:29:08] local.INFO: GPS data processed {"connection_id":163346,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:29:08] local.INFO: Acknowledgment sent {"connection_id":163346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:29:20] local.INFO: TCP Data received {"connection_id":163347,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163347,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:29:20] local.INFO: Processing buffer {"connection_id":163347,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:29:20] local.INFO: IMEI packet received {"connection_id":163347,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 10:29:20] local.INFO: IMEI acknowledgment sent {"connection_id":163347,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:29:21] local.INFO: TCP Data received {"connection_id":163347,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163347,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:29:21] local.INFO: Processing buffer {"connection_id":163347,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:29:21] local.INFO: IMEI packet received {"connection_id":163347,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 10:29:21] local.INFO: IMEI acknowledgment sent {"connection_id":163347,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:29:27] local.INFO: TCP Data received {"connection_id":163347,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163347,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:29:27] local.INFO: Processing buffer {"connection_id":163347,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:29:27] local.INFO: IMEI packet received {"connection_id":163347,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 10:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":163347,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:29:28] local.INFO: TCP Data received {"connection_id":163347,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a046bb05e8012d7d250005d5d318000001620c..."} 
[2026-08-28 10:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046bb05e8012d7d250005d5d318000001620c..."} 
[2026-08-28 10:29:28] local.INFO: Processing buffer {"connection_id":163347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046bb05e8012d7d250005d5d318000001620c..."} 
[2026-08-28 10:29:28] local.INFO: Packet analysis {"connection_id":163347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046bb"} 
[2026-08-28 10:29:28] local.INFO: Extracted packet for processing {"connection_id":163347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046bb"} 
[2026-08-28 10:29:28] local.INFO: GPS Element Parsed {"raw_longitude":763176192,"raw_latitude":97899288,"longitude_deg":76.3176192,"latitude_deg":9.7899288,"altitude":0,"angle":354,"satellites":12,"speed":35,"hex_longitude":"2d7d2500","hex_latitude":"05d5d318","is_valid_coordinates":true} 
[2026-08-28 10:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:29:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700619776001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:29:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125193310221369344,"note":"Value kept but may cause issues"} 
[2026-08-28 10:29:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018528647613415424,"note":"Value kept but may cause issues"} 
[2026-08-28 10:29:28] 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-28 10:29:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787893057000,"timestamp_ms":1787893057000,"timestamp_seconds":1787893057,"priority":1,"record_length":96,"hex_timestamp":"000001a046bb05e8"} 
[2026-08-28 10:29:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:29:28] 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-28 10:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-28 10:29:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:29:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:29:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:29:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:29:28] local.INFO: Teltonika packet parsed successfully {"connection_id":163347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:29:28] local.INFO: Passing IMEI to GPS processor {"connection_id":163347,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:29:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":163347,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:29:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:29:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 10:29:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 10:29:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700619776001,"66":11830,"253":206,"85":15104,"24":35,"16":125193310221369344,"45":9018528647613415424},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-08-28 10:29:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 10:29:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 10:29:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700619776001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:29:28] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-08-28 10:29:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 10:29:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125193310221369344,"km_value":125193310221369.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:29:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018528647613415424,"description":"Unknown IO ID 45"} 
[2026-08-28 10:29:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700619776001,"power":11830,"unknown_253":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":9018528647613415424}} 
[2026-08-28 10:29:28] 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":707003,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:29:28] local.INFO: GPS data processed {"connection_id":163347,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:29:28] local.INFO: Acknowledgment sent {"connection_id":163347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:29:36] local.INFO: TCP Data received {"connection_id":163616,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:29:36] local.INFO: Processing buffer {"connection_id":163616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:29:36] local.INFO: IMEI packet received {"connection_id":163616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 10:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":163616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:29:41] local.INFO: TCP Data received {"connection_id":163616,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:29:41] local.INFO: Processing buffer {"connection_id":163616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:29:41] local.INFO: IMEI packet received {"connection_id":163616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 10:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":163616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:29:42] local.INFO: TCP Data received {"connection_id":163616,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a046bae6a8012d34c14006aa4840000d00e62b..."} 
[2026-08-28 10:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046bae6a8012d34c14006aa4840000d00e62b..."} 
[2026-08-28 10:29:42] local.INFO: Processing buffer {"connection_id":163616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046bae6a8012d34c14006aa4840000d00e62b..."} 
[2026-08-28 10:29:42] local.INFO: Packet analysis {"connection_id":163616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046ba"} 
[2026-08-28 10:29:42] local.INFO: Extracted packet for processing {"connection_id":163616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046ba"} 
[2026-08-28 10:29:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10: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-28 10:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700543488001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:29:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10: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-28 10:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787893049000,"timestamp_ms":1787893049000,"timestamp_seconds":1787893049,"priority":1,"record_length":96,"hex_timestamp":"000001a046bae6a8"} 
[2026-08-28 10: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-28 10:29:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10: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":255,"data_length":795,"current_offset":136} 
[2026-08-28 10:29: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-28 10: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-28 10: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-28 10:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:29: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-28 10:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700543488001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700543488001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:29:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:29:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10: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-28 10:29:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700543488001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:29: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":707004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:29:42] local.INFO: GPS data processed {"connection_id":163616,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:29:42] local.INFO: Acknowledgment sent {"connection_id":163616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:29:47] local.INFO: TCP Data received {"connection_id":163616,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a046bae6a8012d34c14006aa4840000d00e62b..."} 
[2026-08-28 10:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046bae6a8012d34c14006aa4840000d00e62b..."} 
[2026-08-28 10:29:47] local.INFO: Processing buffer {"connection_id":163616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046bae6a8012d34c14006aa4840000d00e62b..."} 
[2026-08-28 10:29:47] local.INFO: Packet analysis {"connection_id":163616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046ba"} 
[2026-08-28 10:29:47] local.INFO: Extracted packet for processing {"connection_id":163616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046ba"} 
[2026-08-28 10:29:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10: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-28 10:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700543488001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:29:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10: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-28 10:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787893049000,"timestamp_ms":1787893049000,"timestamp_seconds":1787893049,"priority":1,"record_length":96,"hex_timestamp":"000001a046bae6a8"} 
[2026-08-28 10: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-28 10:29:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10: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-28 10: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-28 10: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-28 10: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-28 10:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:29:47] 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-28 10:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700543488001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700543488001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:29:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:29:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10: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-28 10:29:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700543488001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:29:47] 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":707005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:29:47] local.INFO: GPS data processed {"connection_id":163616,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:29:47] local.INFO: Acknowledgment sent {"connection_id":163616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:29:58] local.INFO: TCP Data received {"connection_id":163347,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a046bce278012d7cda8005d6ce30000501570d..."} 
[2026-08-28 10:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046bce278012d7cda8005d6ce30000501570d..."} 
[2026-08-28 10:29:58] local.INFO: Processing buffer {"connection_id":163347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046bce278012d7cda8005d6ce30000501570d..."} 
[2026-08-28 10:29:58] local.INFO: Packet analysis {"connection_id":163347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046bc"} 
[2026-08-28 10:29:58] local.INFO: Extracted packet for processing {"connection_id":163347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046bc"} 
[2026-08-28 10:29:58] local.INFO: GPS Element Parsed {"raw_longitude":763157120,"raw_latitude":97963568,"longitude_deg":76.315712,"latitude_deg":9.7963568,"altitude":5,"angle":343,"satellites":13,"speed":49,"hex_longitude":"2d7cda80","hex_latitude":"05d6ce30","is_valid_coordinates":true} 
[2026-08-28 10:29:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:29:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700651520001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:29:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125196587281416192,"note":"Value kept but may cause issues"} 
[2026-08-28 10:29:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8999599455446018048,"note":"Value kept but may cause issues"} 
[2026-08-28 10:29:58] 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-28 10:29:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787893179000,"timestamp_ms":1787893179000,"timestamp_seconds":1787893179,"priority":1,"record_length":96,"hex_timestamp":"000001a046bce278"} 
[2026-08-28 10:29:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:29:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 10:29:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-28 10:29:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1310,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:29:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:29:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:29:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:29:58] local.INFO: Teltonika packet parsed successfully {"connection_id":163347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:29:58] local.INFO: Passing IMEI to GPS processor {"connection_id":163347,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:29:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":163347,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:29:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:29:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 10:29:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 10:29:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700651520001,"66":11656,"30":206,"85":15104,"24":49,"16":125196587281416192,"45":8999599455446018048},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-08-28 10:29:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 10:29:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 10:29:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700651520001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:29:58] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-08-28 10:29:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 10:29:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125196587281416192,"km_value":125196587281416.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:29:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8999599455446018048,"description":"Unknown IO ID 45"} 
[2026-08-28 10:29:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700651520001,"power":11656,"unknown_30":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":8999599455446018048}} 
[2026-08-28 10:29:58] 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":707006,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:29:58] local.INFO: GPS data processed {"connection_id":163347,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:29:58] local.INFO: Acknowledgment sent {"connection_id":163347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:30:22] local.INFO: TCP Data received {"connection_id":163348,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163348,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:30:22] local.INFO: Processing buffer {"connection_id":163348,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:30:22] local.INFO: IMEI packet received {"connection_id":163348,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 10:30:22] local.INFO: IMEI acknowledgment sent {"connection_id":163348,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:30:23] local.INFO: TCP Data received {"connection_id":163348,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163348,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:30:23] local.INFO: Processing buffer {"connection_id":163348,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:30:23] local.INFO: IMEI packet received {"connection_id":163348,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 10:30:23] local.INFO: IMEI acknowledgment sent {"connection_id":163348,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:30:26] local.INFO: TCP Data received {"connection_id":163348,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163348,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:30:26] local.INFO: Processing buffer {"connection_id":163348,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:30:26] local.INFO: IMEI packet received {"connection_id":163348,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 10:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":163348,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:30:27] local.INFO: TCP Data received {"connection_id":163348,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a046bcfdd0012d7ccf4005d6f2b0000401570d..."} 
[2026-08-28 10:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046bcfdd0012d7ccf4005d6f2b0000401570d..."} 
[2026-08-28 10:30:27] local.INFO: Processing buffer {"connection_id":163348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046bcfdd0012d7ccf4005d6f2b0000401570d..."} 
[2026-08-28 10:30:27] local.INFO: Packet analysis {"connection_id":163348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046bc"} 
[2026-08-28 10:30:27] local.INFO: Extracted packet for processing {"connection_id":163348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046bc"} 
[2026-08-28 10:30:27] local.INFO: GPS Element Parsed {"raw_longitude":763154240,"raw_latitude":97972912,"longitude_deg":76.315424,"latitude_deg":9.7972912,"altitude":4,"angle":343,"satellites":13,"speed":60,"hex_longitude":"2d7ccf40","hex_latitude":"05d6f2b0","is_valid_coordinates":true} 
[2026-08-28 10: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-28 10:30:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700653824001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:30:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125197064022786048,"note":"Value kept but may cause issues"} 
[2026-08-28 10:30:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8996643968193015808,"note":"Value kept but may cause issues"} 
[2026-08-28 10:30:27] 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-28 10:30:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787893186000,"timestamp_ms":1787893186000,"timestamp_seconds":1787893186,"priority":1,"record_length":96,"hex_timestamp":"000001a046bcfdd0"} 
[2026-08-28 10: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-28 10:30:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 10: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":45,"n8_eight_byte":136,"data_length":795,"current_offset":136} 
[2026-08-28 10:30:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1647,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:30:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10: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-28 10:30:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:30:27] local.INFO: Teltonika packet parsed successfully {"connection_id":163348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:30:27] local.INFO: Passing IMEI to GPS processor {"connection_id":163348,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:30:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":163348,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:30:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:30:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 10:30:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 10:30:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700653824001,"66":11787,"30":206,"85":15104,"24":60,"16":125197064022786048,"45":8996643968193015808},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-08-28 10:30:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 10:30:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 10:30:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700653824001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:30:27] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-08-28 10:30:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 10:30:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125197064022786048,"km_value":125197064022786.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:30:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8996643968193015808,"description":"Unknown IO ID 45"} 
[2026-08-28 10:30:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700653824001,"power":11787,"unknown_30":206,"unknown_85":15104,"ignition":60,"odometer":null,"unknown_45":8996643968193015808}} 
[2026-08-28 10:30:27] local.INFO: DEBUG: GPS processor result {"connection_id":163348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707007,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:30:27] local.INFO: GPS data processed {"connection_id":163348,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:30:27] local.INFO: Acknowledgment sent {"connection_id":163348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:30:31] local.INFO: TCP Data received {"connection_id":164613,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:30:31] local.INFO: Processing buffer {"connection_id":164613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:30:31] local.INFO: IMEI packet received {"connection_id":164613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 10:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":164613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:30:36] local.INFO: TCP Data received {"connection_id":164613,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:30:36] local.INFO: Processing buffer {"connection_id":164613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:30:36] local.INFO: IMEI packet received {"connection_id":164613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 10:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":164613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:30:38] local.INFO: TCP Data received {"connection_id":164613,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a046bae6a8012d34c14006aa4840000d00e62b..."} 
[2026-08-28 10:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046bae6a8012d34c14006aa4840000d00e62b..."} 
[2026-08-28 10:30:38] local.INFO: Processing buffer {"connection_id":164613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046bae6a8012d34c14006aa4840000d00e62b..."} 
[2026-08-28 10:30:38] local.INFO: Packet analysis {"connection_id":164613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046ba"} 
[2026-08-28 10:30:38] local.INFO: Extracted packet for processing {"connection_id":164613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046ba"} 
[2026-08-28 10:30:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700543488001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:30:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 10:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787893049000,"timestamp_ms":1787893049000,"timestamp_seconds":1787893049,"priority":1,"record_length":96,"hex_timestamp":"000001a046bae6a8"} 
[2026-08-28 10:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 10:30:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:30:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700543488001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700543488001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:30:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:30:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:30: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-28 10:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700543488001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":164613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:30:38] local.INFO: GPS data processed {"connection_id":164613,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:30:38] local.INFO: Acknowledgment sent {"connection_id":164613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:30:41] local.INFO: TCP Data received {"connection_id":164611,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a046baac10012d7d2f4005d58950000001630b..."} 
[2026-08-28 10:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046baac10012d7d2f4005d58950000001630b..."} 
[2026-08-28 10:30:41] local.INFO: Processing buffer {"connection_id":164611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046baac10012d7d2f4005d58950000001630b..."} 
[2026-08-28 10:30:41] local.INFO: Packet analysis {"connection_id":164611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046ba"} 
[2026-08-28 10:30:41] local.INFO: Extracted packet for processing {"connection_id":164611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046ba"} 
[2026-08-28 10:30:41] local.INFO: GPS Element Parsed {"raw_longitude":763178816,"raw_latitude":97880400,"longitude_deg":76.3178816,"latitude_deg":9.78804,"altitude":0,"angle":355,"satellites":11,"speed":27,"hex_longitude":"2d7d2f40","hex_latitude":"05d58950","is_valid_coordinates":true} 
[2026-08-28 10:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700614912001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125192386803400704,"note":"Value kept but may cause issues"} 
[2026-08-28 10:30:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019654547516772352,"note":"Value kept but may cause issues"} 
[2026-08-28 10:30: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-28 10:30:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787893034000,"timestamp_ms":1787893034000,"timestamp_seconds":1787893034,"priority":1,"record_length":96,"hex_timestamp":"000001a046baac10"} 
[2026-08-28 10:30:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:30:41] 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-28 10:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-28 10:30:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1499,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:30:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:30:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":164611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":164611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":164611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:30:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:30:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 10:30:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 10:30:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700614912001,"66":12004,"253":206,"85":15104,"24":27,"16":125192386803400704,"45":9019654547516772352},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-08-28 10:30:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 10:30:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 10:30:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700614912001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:30:41] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-08-28 10:30:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 10:30:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125192386803400704,"km_value":125192386803400.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:30:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019654547516772352,"description":"Unknown IO ID 45"} 
[2026-08-28 10:30:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700614912001,"power":12004,"unknown_253":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":9019654547516772352}} 
[2026-08-28 10:30:41] local.INFO: DEBUG: GPS processor result {"connection_id":164611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707009,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:30:41] local.INFO: GPS data processed {"connection_id":164611,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:30:41] local.INFO: Acknowledgment sent {"connection_id":164611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:30:42] local.INFO: TCP Data received {"connection_id":164611,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a046badaf0012d7d284005d5ae800000015f0b..."} 
[2026-08-28 10:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046badaf0012d7d284005d5ae800000015f0b..."} 
[2026-08-28 10:30:42] local.INFO: Processing buffer {"connection_id":164611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046badaf0012d7d284005d5ae800000015f0b..."} 
[2026-08-28 10:30:42] local.INFO: Packet analysis {"connection_id":164611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046ba"} 
[2026-08-28 10:30:42] local.INFO: Extracted packet for processing {"connection_id":164611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046ba"} 
[2026-08-28 10:30:42] local.INFO: GPS Element Parsed {"raw_longitude":763177024,"raw_latitude":97889920,"longitude_deg":76.3177024,"latitude_deg":9.788992,"altitude":0,"angle":351,"satellites":11,"speed":33,"hex_longitude":"2d7d2840","hex_latitude":"05d5ae80","is_valid_coordinates":true} 
[2026-08-28 10: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-28 10:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700616704001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125192854954835968,"note":"Value kept but may cause issues"} 
[2026-08-28 10:30:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020498972447952896,"note":"Value kept but may cause issues"} 
[2026-08-28 10:30:42] 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-28 10:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787893046000,"timestamp_ms":1787893046000,"timestamp_seconds":1787893046,"priority":1,"record_length":96,"hex_timestamp":"000001a046badaf0"} 
[2026-08-28 10: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-28 10:30:42] 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-28 10: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":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-28 10:30:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2480,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10: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-28 10: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-28 10:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":164611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":164611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":164611,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:30:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 10:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 10:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700616704001,"66":12015,"253":206,"85":15104,"24":33,"16":125192854954835968,"45":9020498972447952896},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-08-28 10:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 10:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 10:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700616704001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:30:42] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-08-28 10:30:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 10:30:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125192854954835968,"km_value":125192854954835.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:30:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020498972447952896,"description":"Unknown IO ID 45"} 
[2026-08-28 10:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700616704001,"power":12015,"unknown_253":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":9020498972447952896}} 
[2026-08-28 10:30:42] local.INFO: DEBUG: GPS processor result {"connection_id":164611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707010,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:30:42] local.INFO: GPS data processed {"connection_id":164611,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:30:42] local.ERROR: TCP Connection error {"connection_id":164611,"code":2,"message":"client closed"} 
[2026-08-28 10:30:42] local.INFO: Acknowledgment sent {"connection_id":164611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:30:58] local.INFO: TCP Data received {"connection_id":163348,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a046bd1928012d7cc48005d71898000301560c..."} 
[2026-08-28 10:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046bd1928012d7cc48005d71898000301560c..."} 
[2026-08-28 10:30:58] local.INFO: Processing buffer {"connection_id":163348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046bd1928012d7cc48005d71898000301560c..."} 
[2026-08-28 10:30:58] local.INFO: Packet analysis {"connection_id":163348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046bd"} 
[2026-08-28 10:30:58] local.INFO: Extracted packet for processing {"connection_id":163348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046bd"} 
[2026-08-28 10:30:58] local.INFO: GPS Element Parsed {"raw_longitude":763151488,"raw_latitude":97982616,"longitude_deg":76.3151488,"latitude_deg":9.7982616,"altitude":3,"angle":342,"satellites":12,"speed":56,"hex_longitude":"2d7cc480","hex_latitude":"05d71898","is_valid_coordinates":true} 
[2026-08-28 10: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-28 10:30:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700655616001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:30:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125197553649057792,"note":"Value kept but may cause issues"} 
[2026-08-28 10:30:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8993477374707412992,"note":"Value kept but may cause issues"} 
[2026-08-28 10:30:58] 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-28 10:30:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787893193000,"timestamp_ms":1787893193000,"timestamp_seconds":1787893193,"priority":1,"record_length":96,"hex_timestamp":"000001a046bd1928"} 
[2026-08-28 10: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-28 10:30:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 10: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":46,"n8_eight_byte":11,"data_length":795,"current_offset":136} 
[2026-08-28 10:30:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-08-28 10:30:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-28 10:30:58] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":4352,"corrected_to":0} 
[2026-08-28 10:30:58] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6141502619930329090,"note":"Value kept but may cause issues"} 
[2026-08-28 10:30:58] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6897619071487890052,"note":"Value kept but may cause issues"} 
[2026-08-28 10:30:58] local.WARNING: Large IO value detected {"io_id":70,"raw_value":3163838465,"note":"Value kept but may cause issues"} 
[2026-08-28 10:30:58] local.WARNING: Large IO value detected {"io_id":214,"raw_value":2518155273,"note":"Value kept but may cause issues"} 
[2026-08-28 10:30:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2803695822,"corrected_to":0} 
[2026-08-28 10:30:58] local.WARNING: Large IO value detected {"io_id":136,"raw_value":2684431740,"note":"Value kept but may cause issues"} 
[2026-08-28 10:30:58] local.WARNING: Large IO value detected {"io_id":238,"raw_value":3221608083,"note":"Value kept but may cause issues"} 
[2026-08-28 10:30:58] local.WARNING: Large IO value detected {"io_id":188,"raw_value":-3988500419989995520,"note":"Value kept but may cause issues"} 
[2026-08-28 10:30:58] local.WARNING: Large IO value detected {"io_id":53,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-28 10:30:58] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":-4610042930772572415,"corrected_to":0} 
[2026-08-28 10:30:58] local.WARNING: Large IO value detected {"io_id":93,"raw_value":1008819510670526976,"note":"Value kept but may cause issues"} 
[2026-08-28 10:30:58] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,30,85,24,241,157,16,202,160,226,45,128,206,5,13,10,66,201,191,168,7,14,171,64,1,240,141,227,70,214,4,113,205,136,238,8,239,46,29,2,188,53,247,93],"length":533,"final_offset":663,"validated_count":44,"validation_warnings":[{"io_id":202,"original":4352,"validated":0},{"io_id":205,"original":2803695822,"validated":0},{"io_id":247,"original":-4610042930772572415,"validated":0}]} 
[2026-08-28 10:30:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288607564478545920,"timestamp_seconds":288607564478545.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 10: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-28 10:30:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:30:58] local.INFO: Teltonika packet parsed successfully {"connection_id":163348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:30:58] local.INFO: Passing IMEI to GPS processor {"connection_id":163348,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:30:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":163348,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:30:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:30:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 10:30:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 10:30:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700655616001,"66":11428,"30":206,"85":15104,"24":56,"16":125197553649057792,"45":8993477374707412992},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-08-28 10:30:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 10:30:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 10:30:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700655616001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:30:58] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-08-28 10:30:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 10:30:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125197553649057792,"km_value":125197553649057.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:30:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8993477374707412992,"description":"Unknown IO ID 45"} 
[2026-08-28 10:30:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700655616001,"power":11428,"unknown_30":206,"unknown_85":15104,"ignition":56,"odometer":null,"unknown_45":8993477374707412992}} 
[2026-08-28 10:30:58] local.INFO: DEBUG: GPS processor result {"connection_id":163348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707011,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:30:58] local.INFO: GPS data processed {"connection_id":163348,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:30:58] local.INFO: Acknowledgment sent {"connection_id":163348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:31:09] local.INFO: TCP Data received {"connection_id":164613,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a046bae6a8012d34c14006aa4840000d00e62b..."} 
[2026-08-28 10:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046bae6a8012d34c14006aa4840000d00e62b..."} 
[2026-08-28 10:31:09] local.INFO: Processing buffer {"connection_id":164613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046bae6a8012d34c14006aa4840000d00e62b..."} 
[2026-08-28 10:31:09] local.INFO: Packet analysis {"connection_id":164613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046ba"} 
[2026-08-28 10:31:09] local.INFO: Extracted packet for processing {"connection_id":164613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046ba"} 
[2026-08-28 10:31:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700543488001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:31:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 10:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787893049000,"timestamp_ms":1787893049000,"timestamp_seconds":1787893049,"priority":1,"record_length":96,"hex_timestamp":"000001a046bae6a8"} 
[2026-08-28 10:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 10:31:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:31:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:31:09] 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-28 10:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700543488001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700543488001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:31:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:31:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:31: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-28 10:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700543488001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":164613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:31:09] local.INFO: GPS data processed {"connection_id":164613,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:31:09] local.INFO: Acknowledgment sent {"connection_id":164613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:31:27] local.INFO: TCP Data received {"connection_id":163349,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163349,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:31:27] local.INFO: Processing buffer {"connection_id":163349,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:31:27] local.INFO: IMEI packet received {"connection_id":163349,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 10:31:27] local.INFO: IMEI acknowledgment sent {"connection_id":163349,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:31:27] local.INFO: TCP Data received {"connection_id":163349,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163349,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:31:27] local.INFO: Processing buffer {"connection_id":163349,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:31:27] local.INFO: IMEI packet received {"connection_id":163349,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 10:31:27] local.INFO: IMEI acknowledgment sent {"connection_id":163349,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:31:31] local.INFO: TCP Data received {"connection_id":165957,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:31:31] local.INFO: Processing buffer {"connection_id":165957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:31:31] local.INFO: IMEI packet received {"connection_id":165957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 10:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":165957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:31:31] local.INFO: TCP Data received {"connection_id":163349,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163349,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:31:31] local.INFO: Processing buffer {"connection_id":163349,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:31:31] local.INFO: IMEI packet received {"connection_id":163349,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 10:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":163349,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:31:32] local.INFO: TCP Data received {"connection_id":163614,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 10:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163614,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 10:31:32] local.INFO: Processing buffer {"connection_id":163614,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 10:31:32] local.INFO: IMEI packet received {"connection_id":163614,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 10:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":163614,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:31:32] local.INFO: TCP Data received {"connection_id":163349,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a046bd3480012d7cb90005d73dd8000201560d..."} 
[2026-08-28 10:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046bd3480012d7cb90005d73dd8000201560d..."} 
[2026-08-28 10:31:32] local.INFO: Processing buffer {"connection_id":163349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046bd3480012d7cb90005d73dd8000201560d..."} 
[2026-08-28 10:31:32] local.INFO: Packet analysis {"connection_id":163349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046bd"} 
[2026-08-28 10:31:32] local.INFO: Extracted packet for processing {"connection_id":163349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046bd"} 
[2026-08-28 10:31:32] local.INFO: GPS Element Parsed {"raw_longitude":763148544,"raw_latitude":97992152,"longitude_deg":76.3148544,"latitude_deg":9.7992152,"altitude":2,"angle":342,"satellites":13,"speed":56,"hex_longitude":"2d7cb900","hex_latitude":"05d73dd8","is_valid_coordinates":true} 
[2026-08-28 10:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:31:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700657408001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:31:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125198034685394944,"note":"Value kept but may cause issues"} 
[2026-08-28 10:31:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8990451518710257664,"note":"Value kept but may cause issues"} 
[2026-08-28 10:31:32] 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-28 10:31:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787893200000,"timestamp_ms":1787893200000,"timestamp_seconds":1787893200,"priority":1,"record_length":96,"hex_timestamp":"000001a046bd3480"} 
[2026-08-28 10:31:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:31:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 10:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-28 10:31:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1894,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:31:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:31:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:31:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:31:32] local.INFO: Teltonika packet parsed successfully {"connection_id":163349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:31:32] local.INFO: Passing IMEI to GPS processor {"connection_id":163349,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:31:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":163349,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:31:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:31:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 10:31:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 10:31:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700657408001,"66":11243,"30":206,"85":15104,"24":56,"16":125198034685394944,"45":8990451518710257664},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-08-28 10:31:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 10:31:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 10:31:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700657408001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:31:32] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-08-28 10:31:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 10:31:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125198034685394944,"km_value":125198034685394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:31:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8990451518710257664,"description":"Unknown IO ID 45"} 
[2026-08-28 10:31:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700657408001,"power":11243,"unknown_30":206,"unknown_85":15104,"ignition":56,"odometer":null,"unknown_45":8990451518710257664}} 
[2026-08-28 10:31:32] local.INFO: DEBUG: GPS processor result {"connection_id":163349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707013,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:31:32] local.INFO: GPS data processed {"connection_id":163349,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:31:32] local.INFO: Acknowledgment sent {"connection_id":163349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:31:35] local.INFO: TCP Data received {"connection_id":163349,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a046bd4fd8012d7cadc005d763000000015a0d..."} 
[2026-08-28 10:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046bd4fd8012d7cadc005d763000000015a0d..."} 
[2026-08-28 10:31:35] local.INFO: Processing buffer {"connection_id":163349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046bd4fd8012d7cadc005d763000000015a0d..."} 
[2026-08-28 10:31:35] local.INFO: Packet analysis {"connection_id":163349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046bd"} 
[2026-08-28 10:31:35] local.INFO: Extracted packet for processing {"connection_id":163349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046bd"} 
[2026-08-28 10:31:35] local.INFO: GPS Element Parsed {"raw_longitude":763145664,"raw_latitude":98001664,"longitude_deg":76.3145664,"latitude_deg":9.8001664,"altitude":0,"angle":346,"satellites":13,"speed":55,"hex_longitude":"2d7cadc0","hex_latitude":"05d76300","is_valid_coordinates":true} 
[2026-08-28 10:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700659200001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125198515721732096,"note":"Value kept but may cause issues"} 
[2026-08-28 10:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8987214556480526336,"note":"Value kept but may cause issues"} 
[2026-08-28 10:31:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 10:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787893207000,"timestamp_ms":1787893207000,"timestamp_seconds":1787893207,"priority":1,"record_length":96,"hex_timestamp":"000001a046bd4fd8"} 
[2026-08-28 10:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:31:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 10:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-08-28 10:31:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2528,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:31:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163349,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163349,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 10:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 10:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700659200001,"66":11895,"31":206,"85":15104,"24":55,"16":125198515721732096,"45":8987214556480526336},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,85,24,16,45]} 
[2026-08-28 10:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 10:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 10:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700659200001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:31:35] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-28 10:31:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 10:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125198515721732096,"km_value":125198515721732.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8987214556480526336,"description":"Unknown IO ID 45"} 
[2026-08-28 10:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700659200001,"power":11895,"unknown_31":206,"unknown_85":15104,"ignition":55,"odometer":null,"unknown_45":8987214556480526336}} 
[2026-08-28 10:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":163349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707014,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:31:35] local.INFO: GPS data processed {"connection_id":163349,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:31:35] local.INFO: Acknowledgment sent {"connection_id":163349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:31:37] local.INFO: TCP Data received {"connection_id":165957,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:31:37] local.INFO: Processing buffer {"connection_id":165957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:31:37] local.INFO: IMEI packet received {"connection_id":165957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 10:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":165957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:31:38] local.INFO: TCP Data received {"connection_id":165957,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a046bae6a8012d34c14006aa4840000d00e62b..."} 
[2026-08-28 10:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046bae6a8012d34c14006aa4840000d00e62b..."} 
[2026-08-28 10:31:38] local.INFO: Processing buffer {"connection_id":165957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046bae6a8012d34c14006aa4840000d00e62b..."} 
[2026-08-28 10:31:38] local.INFO: Packet analysis {"connection_id":165957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046ba"} 
[2026-08-28 10:31:38] local.INFO: Extracted packet for processing {"connection_id":165957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046ba"} 
[2026-08-28 10:31:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10: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-28 10:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700543488001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 10:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787893049000,"timestamp_ms":1787893049000,"timestamp_seconds":1787893049,"priority":1,"record_length":96,"hex_timestamp":"000001a046bae6a8"} 
[2026-08-28 10:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 10:31:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:31:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":165957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":165957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":165957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700543488001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700543488001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:31:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:31:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:31: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-28 10:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700543488001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":165957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:31:38] local.INFO: GPS data processed {"connection_id":165957,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:31:38] local.INFO: Acknowledgment sent {"connection_id":165957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:32:06] local.INFO: TCP Data received {"connection_id":163349,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a046bebb20012d7c898005d90288000001620e..."} 
[2026-08-28 10:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046bebb20012d7c898005d90288000001620e..."} 
[2026-08-28 10:32:06] local.INFO: Processing buffer {"connection_id":163349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046bebb20012d7c898005d90288000001620e..."} 
[2026-08-28 10:32:06] local.INFO: Packet analysis {"connection_id":163349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046be"} 
[2026-08-28 10:32:06] local.INFO: Extracted packet for processing {"connection_id":163349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046be"} 
[2026-08-28 10:32:06] local.INFO: GPS Element Parsed {"raw_longitude":763136384,"raw_latitude":98108040,"longitude_deg":76.3136384,"latitude_deg":9.810804,"altitude":0,"angle":354,"satellites":14,"speed":51,"hex_longitude":"2d7c8980","hex_latitude":"05d90288","is_valid_coordinates":true} 
[2026-08-28 10:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700683008001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125203704042225664,"note":"Value kept but may cause issues"} 
[2026-08-28 10:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974829657532637184,"note":"Value kept but may cause issues"} 
[2026-08-28 10:32:06] 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-28 10:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787893300000,"timestamp_ms":1787893300000,"timestamp_seconds":1787893300,"priority":1,"record_length":96,"hex_timestamp":"000001a046bebb20"} 
[2026-08-28 10:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 10:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-08-28 10:32:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1211,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:32:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163349,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163349,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 10:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 10:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700683008001,"66":11830,"196":206,"85":15104,"24":51,"16":125203704042225664,"45":8974829657532637184},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-08-28 10:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 10:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 10:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700683008001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:32:06] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-28 10:32:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 10:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125203704042225664,"km_value":125203704042225.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974829657532637184,"description":"Unknown IO ID 45"} 
[2026-08-28 10:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700683008001,"power":11830,"unknown_196":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":8974829657532637184}} 
[2026-08-28 10:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":163349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707016,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:32:06] local.INFO: GPS data processed {"connection_id":163349,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:32:06] local.INFO: Acknowledgment sent {"connection_id":163349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:32:09] local.INFO: TCP Data received {"connection_id":165957,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a046bae6a8012d34c14006aa4840000d00e62b..."} 
[2026-08-28 10:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046bae6a8012d34c14006aa4840000d00e62b..."} 
[2026-08-28 10:32:09] local.INFO: Processing buffer {"connection_id":165957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046bae6a8012d34c14006aa4840000d00e62b..."} 
[2026-08-28 10:32:09] local.INFO: Packet analysis {"connection_id":165957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046ba"} 
[2026-08-28 10:32:09] local.INFO: Extracted packet for processing {"connection_id":165957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046ba"} 
[2026-08-28 10:32:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10: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-28 10:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700543488001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:32:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:32:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 10:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787893049000,"timestamp_ms":1787893049000,"timestamp_seconds":1787893049,"priority":1,"record_length":96,"hex_timestamp":"000001a046bae6a8"} 
[2026-08-28 10: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-28 10:32:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 10:32:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10: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-28 10: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-28 10:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":165957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":165957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":165957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:32:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700543488001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700543488001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:32:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:32:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:32: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-28 10:32:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700543488001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":165957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:32:09] local.INFO: GPS data processed {"connection_id":165957,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:32:09] local.INFO: Acknowledgment sent {"connection_id":165957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:32:27] local.INFO: TCP Data received {"connection_id":164614,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164614,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:32:27] local.INFO: Processing buffer {"connection_id":164614,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:32:27] local.INFO: IMEI packet received {"connection_id":164614,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 10:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":164614,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:32:27] local.INFO: TCP Data received {"connection_id":164614,"ip":"42.106.6.34","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-28 10:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164614,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-28 10:32:27] local.INFO: Processing buffer {"connection_id":164614,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-28 10:32:27] local.INFO: IMEI packet received {"connection_id":164614,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 10:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":164614,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:32:28] local.INFO: TCP Data received {"connection_id":164614,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a046bede48012d7c85c005d927b00000016410..."} 
[2026-08-28 10:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046bede48012d7c85c005d927b00000016410..."} 
[2026-08-28 10:32:28] local.INFO: Processing buffer {"connection_id":164614,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a046..."} 
[2026-08-28 10:32:28] local.INFO: IMEI packet received {"connection_id":164614,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 10:32:28] local.INFO: IMEI acknowledgment sent {"connection_id":164614,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:32:29] local.INFO: TCP Data received {"connection_id":164614,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a046bf0170012d7c828005d94eb80000016210..."} 
[2026-08-28 10:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046bf0170012d7c828005d94eb80000016210..."} 
[2026-08-28 10:32:29] local.INFO: Processing buffer {"connection_id":164614,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a046bede48012d7c85c005d927b00000016410..."} 
[2026-08-28 10:32:29] local.INFO: Packet analysis {"connection_id":164614,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a046be"} 
[2026-08-28 10:32:29] local.INFO: Extracted packet for processing {"connection_id":164614,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046be"} 
[2026-08-28 10:32:29] local.INFO: GPS Element Parsed {"raw_longitude":763135424,"raw_latitude":98117552,"longitude_deg":76.3135424,"latitude_deg":9.8117552,"altitude":0,"angle":356,"satellites":16,"speed":36,"hex_longitude":"2d7c85c0","hex_latitude":"05d927b0","is_valid_coordinates":true} 
[2026-08-28 10:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:32:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700684800001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:32:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125204163603726336,"note":"Value kept but may cause issues"} 
[2026-08-28 10:32:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8973844495116437504,"note":"Value kept but may cause issues"} 
[2026-08-28 10:32:29] 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-28 10:32:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787893309000,"timestamp_ms":1787893309000,"timestamp_seconds":1787893309,"priority":1,"record_length":96,"hex_timestamp":"000001a046bede48"} 
[2026-08-28 10:32:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:32:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 10:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-08-28 10:32:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":914,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:32:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:32:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:32:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:32:29] local.INFO: Teltonika packet parsed successfully {"connection_id":164614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:32:29] local.INFO: Passing IMEI to GPS processor {"connection_id":164614,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:32:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":164614,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:32:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:32:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 10:32:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 10:32:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700684800001,"66":11917,"196":206,"85":15104,"24":36,"16":125204163603726336,"45":8973844495116437504},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-08-28 10:32:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 10:32:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 10:32:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700684800001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:32:29] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-28 10:32:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 10:32:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125204163603726336,"km_value":125204163603726.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:32:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8973844495116437504,"description":"Unknown IO ID 45"} 
[2026-08-28 10:32:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700684800001,"power":11917,"unknown_196":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8973844495116437504}} 
[2026-08-28 10:32:29] local.INFO: DEBUG: GPS processor result {"connection_id":164614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707018,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:32:29] local.INFO: GPS data processed {"connection_id":164614,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:32:29] local.INFO: Acknowledgment sent {"connection_id":164614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:32:29] local.INFO: Packet analysis {"connection_id":164614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046bf"} 
[2026-08-28 10:32:29] local.INFO: Extracted packet for processing {"connection_id":164614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046bf"} 
[2026-08-28 10:32:29] local.INFO: GPS Element Parsed {"raw_longitude":763134592,"raw_latitude":98127544,"longitude_deg":76.3134592,"latitude_deg":9.8127544,"altitude":0,"angle":354,"satellites":16,"speed":50,"hex_longitude":"2d7c8280","hex_latitude":"05d94eb8","is_valid_coordinates":true} 
[2026-08-28 10:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:32:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700687104001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:32:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125204653229998080,"note":"Value kept but may cause issues"} 
[2026-08-28 10:32:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8972788963956207616,"note":"Value kept but may cause issues"} 
[2026-08-28 10:32:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 10:32:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787893318000,"timestamp_ms":1787893318000,"timestamp_seconds":1787893318,"priority":1,"record_length":96,"hex_timestamp":"000001a046bf0170"} 
[2026-08-28 10:32:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:32:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 10:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-28 10:32:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1697,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:32:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:32:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:32:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:32:29] local.INFO: Teltonika packet parsed successfully {"connection_id":164614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:32:29] local.INFO: Passing IMEI to GPS processor {"connection_id":164614,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:32:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":164614,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:32:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:32:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 10:32:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 10:32:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700687104001,"66":11330,"197":206,"85":15104,"24":50,"16":125204653229998080,"45":8972788963956207616},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-28 10:32:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 10:32:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 10:32:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700687104001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:32:29] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-28 10:32:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 10:32:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125204653229998080,"km_value":125204653229998.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:32:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8972788963956207616,"description":"Unknown IO ID 45"} 
[2026-08-28 10:32:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700687104001,"power":11330,"unknown_197":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":8972788963956207616}} 
[2026-08-28 10:32:29] local.INFO: DEBUG: GPS processor result {"connection_id":164614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707019,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:32:29] local.INFO: GPS data processed {"connection_id":164614,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:32:29] local.INFO: Acknowledgment sent {"connection_id":164614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:32:31] local.INFO: TCP Data received {"connection_id":163350,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:32:31] local.INFO: Processing buffer {"connection_id":163350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:32:31] local.INFO: IMEI packet received {"connection_id":163350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 10:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":163350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:32:36] local.INFO: TCP Data received {"connection_id":163350,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:32:36] local.INFO: Processing buffer {"connection_id":163350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:32:36] local.INFO: IMEI packet received {"connection_id":163350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 10:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":163350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:32:40] local.INFO: TCP Data received {"connection_id":163350,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a046bae6a8012d34c14006aa4840000d00e62b..."} 
[2026-08-28 10:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046bae6a8012d34c14006aa4840000d00e62b..."} 
[2026-08-28 10:32:40] local.INFO: Processing buffer {"connection_id":163350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046bae6a8012d34c14006aa4840000d00e62b..."} 
[2026-08-28 10:32:40] local.INFO: Packet analysis {"connection_id":163350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046ba"} 
[2026-08-28 10:32:40] local.INFO: Extracted packet for processing {"connection_id":163350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046ba"} 
[2026-08-28 10:32:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10: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-28 10:32:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700543488001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:32:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:32:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:32: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-28 10:32:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787893049000,"timestamp_ms":1787893049000,"timestamp_seconds":1787893049,"priority":1,"record_length":96,"hex_timestamp":"000001a046bae6a8"} 
[2026-08-28 10: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-28 10:32:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 10:32:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10: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-28 10: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-28 10:32:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:32:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:32:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:32:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:32:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:32:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:32:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:32:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700543488001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:32:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:32:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:32:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700543488001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:32:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:32:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:32: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-28 10:32:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:32:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700543488001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:32:40] 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":707020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:32:40] local.INFO: GPS data processed {"connection_id":163350,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:32:40] local.INFO: Acknowledgment sent {"connection_id":163350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:33:12] local.INFO: TCP Data received {"connection_id":163350,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a046bf7e70012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046bf7e70012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:33:12] local.INFO: Processing buffer {"connection_id":163350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046bf7e70012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:33:12] local.INFO: Packet analysis {"connection_id":163350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046bf"} 
[2026-08-28 10:33:12] local.INFO: Extracted packet for processing {"connection_id":163350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046bf"} 
[2026-08-28 10:33:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:33:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700620544001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:33:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:33:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:33: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-28 10:33:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787893350000,"timestamp_ms":1787893350000,"timestamp_seconds":1787893350,"priority":1,"record_length":96,"hex_timestamp":"000001a046bf7e70"} 
[2026-08-28 10:33:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:33:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 10:33:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:33:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:33:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:33:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:33:12] local.INFO: Teltonika packet parsed successfully {"connection_id":163350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:33:12] local.INFO: Passing IMEI to GPS processor {"connection_id":163350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:33:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":163350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:33:12] 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-28 10:33:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:33:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:33:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700620544001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:33:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:33:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:33:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700620544001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:33:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:33:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:33: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-28 10:33:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:33:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700620544001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:33:12] 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":707021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:33:12] local.INFO: GPS data processed {"connection_id":163350,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:33:12] local.INFO: Acknowledgment sent {"connection_id":163350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:33:21] local.INFO: TCP Data received {"connection_id":165959,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165959,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:33:21] local.INFO: Processing buffer {"connection_id":165959,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:33:21] local.INFO: IMEI packet received {"connection_id":165959,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 10:33:21] local.INFO: IMEI acknowledgment sent {"connection_id":165959,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:33:24] local.INFO: TCP Data received {"connection_id":165959,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165959,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:33:24] local.INFO: Processing buffer {"connection_id":165959,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:33:24] local.INFO: IMEI packet received {"connection_id":165959,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 10:33:24] local.INFO: IMEI acknowledgment sent {"connection_id":165959,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:33:25] local.INFO: TCP Data received {"connection_id":165959,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a046bf5760012d7c784005d9bce8000001630d..."} 
[2026-08-28 10:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046bf5760012d7c784005d9bce8000001630d..."} 
[2026-08-28 10:33:25] local.INFO: Processing buffer {"connection_id":165959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046bf5760012d7c784005d9bce8000001630d..."} 
[2026-08-28 10:33:25] local.INFO: Packet analysis {"connection_id":165959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046bf"} 
[2026-08-28 10:33:25] local.INFO: Extracted packet for processing {"connection_id":165959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046bf"} 
[2026-08-28 10:33:25] local.INFO: GPS Element Parsed {"raw_longitude":763131968,"raw_latitude":98155752,"longitude_deg":76.3131968,"latitude_deg":9.8155752,"altitude":0,"angle":355,"satellites":13,"speed":58,"hex_longitude":"2d7c7840","hex_latitude":"05d9bce8","is_valid_coordinates":true} 
[2026-08-28 10:33:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:33:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700693248001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:33:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125206027619532800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:33:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8969903845452134400,"note":"Value kept but may cause issues"} 
[2026-08-28 10:33:25] 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-28 10:33:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787893340000,"timestamp_ms":1787893340000,"timestamp_seconds":1787893340,"priority":1,"record_length":96,"hex_timestamp":"000001a046bf5760"} 
[2026-08-28 10:33:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:33:25] 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-28 10:33:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-28 10:33:25] 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-28 10:33:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:33:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:33:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:33:25] local.INFO: Teltonika packet parsed successfully {"connection_id":165959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:33:25] local.INFO: Passing IMEI to GPS processor {"connection_id":165959,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:33:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":165959,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:33:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:33:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 10:33:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 10:33:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700693248001,"66":11874,"244":206,"85":15104,"24":58,"16":125206027619532800,"45":8969903845452134400},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-08-28 10:33:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 10:33:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 10:33:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700693248001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:33:25] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-08-28 10:33:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 10:33:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125206027619532800,"km_value":125206027619532.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:33:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8969903845452134400,"description":"Unknown IO ID 45"} 
[2026-08-28 10:33:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700693248001,"power":11874,"unknown_244":206,"unknown_85":15104,"ignition":58,"odometer":null,"unknown_45":8969903845452134400}} 
[2026-08-28 10:33:25] local.INFO: DEBUG: GPS processor result {"connection_id":165959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707022,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:33:25] local.INFO: GPS data processed {"connection_id":165959,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:33:25] local.INFO: Acknowledgment sent {"connection_id":165959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:33:31] local.INFO: TCP Data received {"connection_id":163351,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:33:31] local.INFO: Processing buffer {"connection_id":163351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:33:31] local.INFO: IMEI packet received {"connection_id":163351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 10:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":163351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:33:32] local.INFO: TCP Data received {"connection_id":164614,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a046bf20b0012d7c7f8005d973400000016310..."} 
[2026-08-28 10:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046bf20b0012d7c7f8005d973400000016310..."} 
[2026-08-28 10:33:32] local.INFO: Processing buffer {"connection_id":164614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046bf20b0012d7c7f8005d973400000016310..."} 
[2026-08-28 10:33:32] local.INFO: Packet analysis {"connection_id":164614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046bf"} 
[2026-08-28 10:33:32] local.INFO: Extracted packet for processing {"connection_id":164614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046bf"} 
[2026-08-28 10:33:32] local.INFO: GPS Element Parsed {"raw_longitude":763133824,"raw_latitude":98136896,"longitude_deg":76.3133824,"latitude_deg":9.8136896,"altitude":0,"angle":355,"satellites":16,"speed":51,"hex_longitude":"2d7c7f80","hex_latitude":"05d97340","is_valid_coordinates":true} 
[2026-08-28 10:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700689408001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125205108496531456,"note":"Value kept but may cause issues"} 
[2026-08-28 10:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8971874170284455936,"note":"Value kept but may cause issues"} 
[2026-08-28 10:33:32] 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-28 10:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787893326000,"timestamp_ms":1787893326000,"timestamp_seconds":1787893326,"priority":1,"record_length":96,"hex_timestamp":"000001a046bf20b0"} 
[2026-08-28 10:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:33:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 10:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":66,"data_length":795,"current_offset":136} 
[2026-08-28 10:33:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1012,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:33:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":164614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":164614,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":164614,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 10:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 10:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700689408001,"66":11341,"244":206,"85":15104,"24":51,"16":125205108496531456,"45":8971874170284455936},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-08-28 10:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 10:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 10:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700689408001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:33:32] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-08-28 10:33:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 10:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125205108496531456,"km_value":125205108496531.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8971874170284455936,"description":"Unknown IO ID 45"} 
[2026-08-28 10:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700689408001,"power":11341,"unknown_244":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":8971874170284455936}} 
[2026-08-28 10:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":164614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707023,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:33:32] local.INFO: GPS data processed {"connection_id":164614,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:33:32] local.INFO: Acknowledgment sent {"connection_id":164614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:33:34] local.INFO: TCP Data received {"connection_id":164614,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a046bf3c08012d7c7b8005d995b8000001610c..."} 
[2026-08-28 10:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046bf3c08012d7c7b8005d995b8000001610c..."} 
[2026-08-28 10:33:34] local.INFO: Processing buffer {"connection_id":164614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046bf3c08012d7c7b8005d995b8000001610c..."} 
[2026-08-28 10:33:34] local.INFO: Packet analysis {"connection_id":164614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046bf"} 
[2026-08-28 10:33:34] local.INFO: Extracted packet for processing {"connection_id":164614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046bf"} 
[2026-08-28 10:33:34] local.INFO: GPS Element Parsed {"raw_longitude":763132800,"raw_latitude":98145720,"longitude_deg":76.31328,"latitude_deg":9.814572,"altitude":0,"angle":353,"satellites":12,"speed":53,"hex_longitude":"2d7c7b80","hex_latitude":"05d995b8","is_valid_coordinates":true} 
[2026-08-28 10:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700691456001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125205537993261056,"note":"Value kept but may cause issues"} 
[2026-08-28 10:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8971029745356718080,"note":"Value kept but may cause issues"} 
[2026-08-28 10:33:34] 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-28 10:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787893333000,"timestamp_ms":1787893333000,"timestamp_seconds":1787893333,"priority":1,"record_length":96,"hex_timestamp":"000001a046bf3c08"} 
[2026-08-28 10:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:33:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 10:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-28 10:33:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1111,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:33:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":164614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":164614,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":164614,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:33:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 10:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 10:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700691456001,"66":11634,"244":206,"85":15104,"24":53,"16":125205537993261056,"45":8971029745356718080},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-08-28 10:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 10:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 10:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700691456001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:33:34] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-08-28 10:33:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 10:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125205537993261056,"km_value":125205537993261.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8971029745356718080,"description":"Unknown IO ID 45"} 
[2026-08-28 10:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700691456001,"power":11634,"unknown_244":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":8971029745356718080}} 
[2026-08-28 10:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":164614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707024,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:33:34] local.INFO: GPS data processed {"connection_id":164614,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:33:34] local.ERROR: TCP Connection error {"connection_id":164614,"code":2,"message":"client closed"} 
[2026-08-28 10:33:34] local.INFO: Acknowledgment sent {"connection_id":164614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:33:36] local.INFO: TCP Data received {"connection_id":163351,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:33:36] local.INFO: Processing buffer {"connection_id":163351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:33:36] local.INFO: IMEI packet received {"connection_id":163351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 10:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":163351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:33:37] local.INFO: TCP Data received {"connection_id":163351,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a046bf7e70012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046bf7e70012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:33:37] local.INFO: Processing buffer {"connection_id":163351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046bf7e70012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:33:37] local.INFO: Packet analysis {"connection_id":163351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046bf"} 
[2026-08-28 10:33:37] local.INFO: Extracted packet for processing {"connection_id":163351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046bf"} 
[2026-08-28 10:33:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700620544001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 10:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787893350000,"timestamp_ms":1787893350000,"timestamp_seconds":1787893350,"priority":1,"record_length":96,"hex_timestamp":"000001a046bf7e70"} 
[2026-08-28 10:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 10:33:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700620544001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700620544001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:33:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:33:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:33: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-28 10:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700620544001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:33:37] 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":707025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:33:37] local.INFO: GPS data processed {"connection_id":163351,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:33:37] local.INFO: Acknowledgment sent {"connection_id":163351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:33:56] local.INFO: TCP Data received {"connection_id":165959,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a046bf72b8012d7c728005d9e4a0000001600d..."} 
[2026-08-28 10:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046bf72b8012d7c728005d9e4a0000001600d..."} 
[2026-08-28 10:33:56] local.INFO: Processing buffer {"connection_id":165959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046bf72b8012d7c728005d9e4a0000001600d..."} 
[2026-08-28 10:33:56] local.INFO: Packet analysis {"connection_id":165959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046bf"} 
[2026-08-28 10:33:56] local.INFO: Extracted packet for processing {"connection_id":165959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046bf"} 
[2026-08-28 10:33:56] local.INFO: GPS Element Parsed {"raw_longitude":763130496,"raw_latitude":98165920,"longitude_deg":76.3130496,"latitude_deg":9.816592,"altitude":0,"angle":352,"satellites":13,"speed":58,"hex_longitude":"2d7c7280","hex_latitude":"05d9e4a0","is_valid_coordinates":true} 
[2026-08-28 10:33:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:33:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700695040001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:33:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125206525835739136,"note":"Value kept but may cause issues"} 
[2026-08-28 10:33:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8968989051780392960,"note":"Value kept but may cause issues"} 
[2026-08-28 10:33:56] 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-28 10:33:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787893347000,"timestamp_ms":1787893347000,"timestamp_seconds":1787893347,"priority":1,"record_length":96,"hex_timestamp":"000001a046bf72b8"} 
[2026-08-28 10:33:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:33:56] 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-28 10:33:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-28 10:33:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1310,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:33:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:33:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:33:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:33:56] local.INFO: Teltonika packet parsed successfully {"connection_id":165959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:33:56] local.INFO: Passing IMEI to GPS processor {"connection_id":165959,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:33:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":165959,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:33:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:33:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 10:33:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 10:33:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700695040001,"66":11602,"244":206,"85":15104,"24":58,"16":125206525835739136,"45":8968989051780392960},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-08-28 10:33:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 10:33:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 10:33:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700695040001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:33:56] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-08-28 10:33:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 10:33:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125206525835739136,"km_value":125206525835739.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:33:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8968989051780392960,"description":"Unknown IO ID 45"} 
[2026-08-28 10:33:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700695040001,"power":11602,"unknown_244":206,"unknown_85":15104,"ignition":58,"odometer":null,"unknown_45":8968989051780392960}} 
[2026-08-28 10:33:56] local.INFO: DEBUG: GPS processor result {"connection_id":165959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707026,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:33:56] local.INFO: GPS data processed {"connection_id":165959,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:33:56] local.INFO: Acknowledgment sent {"connection_id":165959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:34:09] local.INFO: TCP Data received {"connection_id":163351,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a046bf7e70012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046bf7e70012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:34:09] local.INFO: Processing buffer {"connection_id":163351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046bf7e70012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:34:09] local.INFO: Packet analysis {"connection_id":163351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046bf"} 
[2026-08-28 10:34:09] local.INFO: Extracted packet for processing {"connection_id":163351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046bf"} 
[2026-08-28 10:34:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700620544001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:34:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 10:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787893350000,"timestamp_ms":1787893350000,"timestamp_seconds":1787893350,"priority":1,"record_length":96,"hex_timestamp":"000001a046bf7e70"} 
[2026-08-28 10:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:34:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 10:34:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:34:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:34: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-28 10:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700620544001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700620544001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:34:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:34:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:34: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-28 10:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700620544001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:34:09] 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":707027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:34:09] local.INFO: GPS data processed {"connection_id":163351,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:34:09] local.INFO: Acknowledgment sent {"connection_id":163351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:34:21] local.INFO: TCP Data received {"connection_id":163617,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163617,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:34:21] local.INFO: Processing buffer {"connection_id":163617,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:34:21] local.INFO: IMEI packet received {"connection_id":163617,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 10:34:21] local.INFO: IMEI acknowledgment sent {"connection_id":163617,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:34:24] local.INFO: TCP Data received {"connection_id":163617,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163617,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:34:24] local.INFO: Processing buffer {"connection_id":163617,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:34:24] local.INFO: IMEI packet received {"connection_id":163617,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 10:34:24] local.INFO: IMEI acknowledgment sent {"connection_id":163617,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:34:25] local.INFO: TCP Data received {"connection_id":163617,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a046c0e5d0012d7c0ec005db32b8000001580f..."} 
[2026-08-28 10:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046c0e5d0012d7c0ec005db32b8000001580f..."} 
[2026-08-28 10:34:25] local.INFO: Processing buffer {"connection_id":163617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046c0e5d0012d7c0ec005db32b8000001580f..."} 
[2026-08-28 10:34:25] local.INFO: Packet analysis {"connection_id":163617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046c0"} 
[2026-08-28 10:34:25] local.INFO: Extracted packet for processing {"connection_id":163617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046c0"} 
[2026-08-28 10:34:25] local.INFO: GPS Element Parsed {"raw_longitude":763104960,"raw_latitude":98251448,"longitude_deg":76.310496,"latitude_deg":9.8251448,"altitude":0,"angle":344,"satellites":15,"speed":43,"hex_longitude":"2d7c0ec0","hex_latitude":"05db32b8","is_valid_coordinates":true} 
[2026-08-28 10:34:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:34:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700718592001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:34:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125210876637609984,"note":"Value kept but may cause issues"} 
[2026-08-28 10:34:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8942178560270796800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:34: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-28 10:34:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787893442000,"timestamp_ms":1787893442000,"timestamp_seconds":1787893442,"priority":1,"record_length":96,"hex_timestamp":"000001a046c0e5d0"} 
[2026-08-28 10:34:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:34:25] 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-28 10:34:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-28 10:34:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-28 10:34:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4110470566,"note":"Value kept but may cause issues"} 
[2026-08-28 10:34:25] local.WARNING: Large IO value detected {"io_id":213,"raw_value":2315255808,"note":"Value kept but may cause issues"} 
[2026-08-28 10:34:25] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184155676877,"note":"Value kept but may cause issues"} 
[2026-08-28 10:34:25] local.WARNING: Large IO value detected {"io_id":70,"raw_value":3222718465,"note":"Value kept but may cause issues"} 
[2026-08-28 10:34:25] local.WARNING: Large IO value detected {"io_id":218,"raw_value":3429491116265180672,"note":"Value kept but may cause issues"} 
[2026-08-28 10:34:25] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620845428976,"note":"Value kept but may cause issues"} 
[2026-08-28 10:34:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797273294,"corrected_to":0} 
[2026-08-28 10:34:25] local.WARNING: Large IO value detected {"io_id":52,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-28 10:34:25] local.WARNING: Large IO value detected {"io_id":188,"raw_value":-3145764339718291456,"note":"Value kept but may cause issues"} 
[2026-08-28 10:34:25] local.WARNING: Large IO value detected {"io_id":63,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-28 10:34:25] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6141502619932426242,"note":"Value kept but may cause issues"} 
[2026-08-28 10:34:25] local.WARNING: Large IO value detected {"io_id":87,"raw_value":936805897097710080,"note":"Value kept but may cause issues"} 
[2026-08-28 10:34:25] local.WARNING: Large IO value detected {"io_id":98,"raw_value":57888140459660603,"note":"Value kept but may cause issues"} 
[2026-08-28 10:34:25] local.WARNING: Large IO value detected {"io_id":191,"raw_value":-6239735988849934331,"note":"Value kept but may cause issues"} 
[2026-08-28 10:34:25] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,187,85,24,241,157,16,214,160,124,45,233,17,10,66,213,73,128,231,18,50,1,240,223,227,70,218,4,113,205,52,251,64,14,239,2,188,63,206,87,98,191],"length":632,"final_offset":762,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2797273294,"validated":0}]} 
[2026-08-28 10:34:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":377209800097792,"timestamp_seconds":377209800097.792,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 10:34:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:34:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:34:25] local.INFO: Teltonika packet parsed successfully {"connection_id":163617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:34:25] local.INFO: Passing IMEI to GPS processor {"connection_id":163617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:34:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":163617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:34:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:34:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 10:34:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 10:34:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700718592001,"66":11874,"187":206,"85":15104,"24":43,"16":125210876637609984,"45":8942178560270796800},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-08-28 10:34:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 10:34:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 10:34:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700718592001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:34:25] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-28 10:34:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 10:34:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125210876637609984,"km_value":125210876637609.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:34:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8942178560270796800,"description":"Unknown IO ID 45"} 
[2026-08-28 10:34:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700718592001,"power":11874,"unknown_187":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8942178560270796800}} 
[2026-08-28 10:34:25] 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":707028,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:34:25] local.INFO: GPS data processed {"connection_id":163617,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:34:25] local.INFO: Acknowledgment sent {"connection_id":163617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:34:31] local.INFO: TCP Data received {"connection_id":163352,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:34:31] local.INFO: Processing buffer {"connection_id":163352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:34:31] local.INFO: IMEI packet received {"connection_id":163352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 10:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":163352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:34:36] local.INFO: TCP Data received {"connection_id":163352,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:34:36] local.INFO: Processing buffer {"connection_id":163352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:34:36] local.INFO: IMEI packet received {"connection_id":163352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 10:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":163352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:34:37] local.INFO: TCP Data received {"connection_id":163352,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a046bf7e70012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046bf7e70012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:34:37] local.INFO: Processing buffer {"connection_id":163352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046bf7e70012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:34:37] local.INFO: Packet analysis {"connection_id":163352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046bf"} 
[2026-08-28 10:34:37] local.INFO: Extracted packet for processing {"connection_id":163352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046bf"} 
[2026-08-28 10:34:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700620544001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 10:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787893350000,"timestamp_ms":1787893350000,"timestamp_seconds":1787893350,"priority":1,"record_length":96,"hex_timestamp":"000001a046bf7e70"} 
[2026-08-28 10:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 10:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700620544001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700620544001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:34:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:34:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:34: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-28 10:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700620544001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:34:37] 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":707029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:34:37] local.INFO: GPS data processed {"connection_id":163352,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:34:37] local.INFO: Acknowledgment sent {"connection_id":163352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:34:56] local.INFO: TCP Data received {"connection_id":163617,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a046c10510012d7c068005db55600000015911..."} 
[2026-08-28 10:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046c10510012d7c068005db55600000015911..."} 
[2026-08-28 10:34:56] local.INFO: Processing buffer {"connection_id":163617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046c10510012d7c068005db55600000015911..."} 
[2026-08-28 10:34:56] local.INFO: Packet analysis {"connection_id":163617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046c1"} 
[2026-08-28 10:34:56] local.INFO: Extracted packet for processing {"connection_id":163617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046c1"} 
[2026-08-28 10:34:56] local.INFO: GPS Element Parsed {"raw_longitude":763102848,"raw_latitude":98260320,"longitude_deg":76.3102848,"latitude_deg":9.826032,"altitude":0,"angle":345,"satellites":17,"speed":41,"hex_longitude":"2d7c0680","hex_latitude":"05db5560","is_valid_coordinates":true} 
[2026-08-28 10:34:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:34:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700721152001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:34:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125211319019241472,"note":"Value kept but may cause issues"} 
[2026-08-28 10:34:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939293441761916928,"note":"Value kept but may cause issues"} 
[2026-08-28 10:34:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 10:34:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787893450000,"timestamp_ms":1787893450000,"timestamp_seconds":1787893450,"priority":1,"record_length":96,"hex_timestamp":"000001a046c10510"} 
[2026-08-28 10:34:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:34:56] 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-28 10:34:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-28 10:34:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1310,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:34:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:34:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:34:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:34:56] local.INFO: Teltonika packet parsed successfully {"connection_id":163617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:34:56] local.INFO: Passing IMEI to GPS processor {"connection_id":163617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:34:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":163617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:34:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:34:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 10:34:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 10:34:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700721152001,"66":11700,"243":206,"85":15104,"24":41,"16":125211319019241472,"45":8939293441761916928},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,45]} 
[2026-08-28 10:34:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 10:34:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 10:34:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700721152001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:34:56] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-08-28 10:34:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 10:34:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125211319019241472,"km_value":125211319019241.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:34:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939293441761916928,"description":"Unknown IO ID 45"} 
[2026-08-28 10:34:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700721152001,"power":11700,"unknown_243":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":8939293441761916928}} 
[2026-08-28 10:34:56] 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":707030,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:34:56] local.INFO: GPS data processed {"connection_id":163617,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:34:56] local.INFO: Acknowledgment sent {"connection_id":163617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:35:11] local.INFO: TCP Data received {"connection_id":163352,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a046bf7e70012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046bf7e70012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:35:11] local.INFO: Processing buffer {"connection_id":163352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046bf7e70012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:35:11] local.INFO: Packet analysis {"connection_id":163352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046bf"} 
[2026-08-28 10:35:11] local.INFO: Extracted packet for processing {"connection_id":163352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046bf"} 
[2026-08-28 10:35:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:35:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700620544001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:35:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:35:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:35: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-28 10:35:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787893350000,"timestamp_ms":1787893350000,"timestamp_seconds":1787893350,"priority":1,"record_length":96,"hex_timestamp":"000001a046bf7e70"} 
[2026-08-28 10:35:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:35:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 10:35: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-28 10:35:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:35:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:35:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:35:11] local.INFO: Teltonika packet parsed successfully {"connection_id":163352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:35:11] local.INFO: Passing IMEI to GPS processor {"connection_id":163352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:35:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":163352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:35:11] 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-28 10:35:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:35:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:35:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700620544001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:35:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:35:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:35:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700620544001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:35:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:35:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:35: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-28 10:35:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:35:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700620544001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:35:11] 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":707031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:35:11] local.INFO: GPS data processed {"connection_id":163352,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:35:11] local.INFO: Acknowledgment sent {"connection_id":163352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:35:22] local.INFO: TCP Data received {"connection_id":165960,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165960,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:35:22] local.INFO: Processing buffer {"connection_id":165960,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:35:22] local.INFO: IMEI packet received {"connection_id":165960,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 10:35:22] local.INFO: IMEI acknowledgment sent {"connection_id":165960,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:35:27] local.INFO: TCP Data received {"connection_id":165960,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165960,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:35:27] local.INFO: Processing buffer {"connection_id":165960,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:35:27] local.INFO: IMEI packet received {"connection_id":165960,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 10:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":165960,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:35:27] local.INFO: TCP Data received {"connection_id":165960,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a046c133f0012d7bff8005db77800000016411..."} 
[2026-08-28 10:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046c133f0012d7bff8005db77800000016411..."} 
[2026-08-28 10:35:27] local.INFO: Processing buffer {"connection_id":165960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046c133f0012d7bff8005db77800000016411..."} 
[2026-08-28 10:35:27] local.INFO: Packet analysis {"connection_id":165960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046c1"} 
[2026-08-28 10:35:27] local.INFO: Extracted packet for processing {"connection_id":165960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046c1"} 
[2026-08-28 10:35:27] local.INFO: GPS Element Parsed {"raw_longitude":763101056,"raw_latitude":98269056,"longitude_deg":76.3101056,"latitude_deg":9.8269056,"altitude":0,"angle":356,"satellites":17,"speed":24,"hex_longitude":"2d7bff80","hex_latitude":"05db7780","is_valid_coordinates":true} 
[2026-08-28 10:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:35:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700723200001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:35:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125211752810938368,"note":"Value kept but may cause issues"} 
[2026-08-28 10:35:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936971273206325248,"note":"Value kept but may cause issues"} 
[2026-08-28 10:35:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 10:35:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787893462000,"timestamp_ms":1787893462000,"timestamp_seconds":1787893462,"priority":1,"record_length":96,"hex_timestamp":"000001a046c133f0"} 
[2026-08-28 10:35:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:35:27] 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-28 10:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-28 10:35:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2043,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:35:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:35:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:35:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:35:27] local.INFO: Teltonika packet parsed successfully {"connection_id":165960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:35:27] local.INFO: Passing IMEI to GPS processor {"connection_id":165960,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:35:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":165960,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:35:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:35:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 10:35:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 10:35:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700723200001,"66":11917,"186":206,"85":15104,"24":24,"16":125211752810938368,"45":8936971273206325248},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,85,24,16,45]} 
[2026-08-28 10:35:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 10:35:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 10:35:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700723200001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:35:27] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-28 10:35:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 10:35:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125211752810938368,"km_value":125211752810938.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:35:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936971273206325248,"description":"Unknown IO ID 45"} 
[2026-08-28 10:35:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700723200001,"power":11917,"unknown_186":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8936971273206325248}} 
[2026-08-28 10:35:28] local.INFO: DEBUG: GPS processor result {"connection_id":165960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707032,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:35:28] local.INFO: GPS data processed {"connection_id":165960,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:35:28] local.INFO: Acknowledgment sent {"connection_id":165960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:35:36] local.INFO: TCP Data received {"connection_id":163618,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:35:36] local.INFO: Processing buffer {"connection_id":163618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:35:36] local.INFO: IMEI packet received {"connection_id":163618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 10:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":163618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:35:41] local.INFO: TCP Data received {"connection_id":163618,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:35:41] local.INFO: Processing buffer {"connection_id":163618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:35:41] local.INFO: IMEI packet received {"connection_id":163618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 10:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":163618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:35:42] local.INFO: TCP Data received {"connection_id":163618,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a046bf7e70012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046bf7e70012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:35:42] local.INFO: Processing buffer {"connection_id":163618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046bf7e70012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:35:42] local.INFO: Packet analysis {"connection_id":163618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046bf"} 
[2026-08-28 10:35:42] local.INFO: Extracted packet for processing {"connection_id":163618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046bf"} 
[2026-08-28 10:35:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10: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-28 10:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700620544001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:35:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10: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-28 10:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787893350000,"timestamp_ms":1787893350000,"timestamp_seconds":1787893350,"priority":1,"record_length":96,"hex_timestamp":"000001a046bf7e70"} 
[2026-08-28 10: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-28 10:35:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 10:35: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-28 10: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-28 10: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-28 10:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:35: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-28 10:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700620544001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700620544001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:35:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:35:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10: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-28 10:35:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:35:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700620544001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:35:42] 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":707033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:35:42] local.INFO: GPS data processed {"connection_id":163618,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:35:42] local.INFO: Acknowledgment sent {"connection_id":163618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:35:46] local.INFO: TCP Data received {"connection_id":163618,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a046bf7e70012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046bf7e70012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:35:46] local.INFO: Processing buffer {"connection_id":163618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046bf7e70012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:35:46] local.INFO: Packet analysis {"connection_id":163618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046bf"} 
[2026-08-28 10:35:46] local.INFO: Extracted packet for processing {"connection_id":163618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046bf"} 
[2026-08-28 10:35:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10: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-28 10:35:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700620544001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:35:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:35:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:35: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-28 10:35:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787893350000,"timestamp_ms":1787893350000,"timestamp_seconds":1787893350,"priority":1,"record_length":96,"hex_timestamp":"000001a046bf7e70"} 
[2026-08-28 10: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-28 10:35:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 10:35: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-28 10: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-28 10: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-28 10:35:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:35:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:35:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:35:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:35:46] 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-28 10:35:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:35:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:35:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700620544001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:35:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:35:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:35:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700620544001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:35:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:35:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:35: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-28 10:35:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:35:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700620544001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:35:47] 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":707034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:35:47] local.INFO: GPS data processed {"connection_id":163618,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:35:47] local.INFO: Acknowledgment sent {"connection_id":163618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:35:58] local.INFO: TCP Data received {"connection_id":165960,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a046c15b00012d7bf84005db9b500000015c0f..."} 
[2026-08-28 10:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046c15b00012d7bf84005db9b500000015c0f..."} 
[2026-08-28 10:35:58] local.INFO: Processing buffer {"connection_id":165960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046c15b00012d7bf84005db9b500000015c0f..."} 
[2026-08-28 10:35:58] local.INFO: Packet analysis {"connection_id":165960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046c1"} 
[2026-08-28 10:35:58] local.INFO: Extracted packet for processing {"connection_id":165960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046c1"} 
[2026-08-28 10:35:58] local.INFO: GPS Element Parsed {"raw_longitude":763099200,"raw_latitude":98278224,"longitude_deg":76.30992,"latitude_deg":9.8278224,"altitude":0,"angle":348,"satellites":15,"speed":46,"hex_longitude":"2d7bf840","hex_latitude":"05db9b50","is_valid_coordinates":true} 
[2026-08-28 10:35:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:35:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700726272001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:35:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125212208077471744,"note":"Value kept but may cause issues"} 
[2026-08-28 10:35:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8935000948371587072,"note":"Value kept but may cause issues"} 
[2026-08-28 10:35:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 10:35:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787893472000,"timestamp_ms":1787893472000,"timestamp_seconds":1787893472,"priority":1,"record_length":96,"hex_timestamp":"000001a046c15b00"} 
[2026-08-28 10:35:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:35:58] 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-28 10:35:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-28 10:35:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1697,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:35:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:35:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:35:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:35:58] local.INFO: Teltonika packet parsed successfully {"connection_id":165960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:35:58] local.INFO: Passing IMEI to GPS processor {"connection_id":165960,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:35:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":165960,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:35:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:35:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 10:35:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 10:35:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700726272001,"66":11895,"186":206,"85":15104,"24":46,"16":125212208077471744,"45":8935000948371587072},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,85,24,16,45]} 
[2026-08-28 10:35:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 10:35:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 10:35:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700726272001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:35:58] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-08-28 10:35:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 10:35:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125212208077471744,"km_value":125212208077471.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:35:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8935000948371587072,"description":"Unknown IO ID 45"} 
[2026-08-28 10:35:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700726272001,"power":11895,"unknown_186":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":8935000948371587072}} 
[2026-08-28 10:35:58] local.INFO: DEBUG: GPS processor result {"connection_id":165960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707035,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:35:58] local.INFO: GPS data processed {"connection_id":165960,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:35:58] local.INFO: Acknowledgment sent {"connection_id":165960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:36:24] local.INFO: TCP Data received {"connection_id":164615,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164615,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:36:24] local.INFO: Processing buffer {"connection_id":164615,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:36:24] local.INFO: IMEI packet received {"connection_id":164615,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 10:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":164615,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:36:25] local.INFO: TCP Data received {"connection_id":164615,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164615,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:36:25] local.INFO: Processing buffer {"connection_id":164615,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:36:25] local.INFO: IMEI packet received {"connection_id":164615,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 10:36:25] local.INFO: IMEI acknowledgment sent {"connection_id":164615,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:36:27] local.INFO: TCP Data received {"connection_id":164615,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164615,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:36:27] local.INFO: Processing buffer {"connection_id":164615,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:36:27] local.INFO: IMEI packet received {"connection_id":164615,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 10:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":164615,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:36:28] local.INFO: TCP Data received {"connection_id":164615,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a046c2aed8012d7bd68005dd37600000016211..."} 
[2026-08-28 10:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046c2aed8012d7bd68005dd37600000016211..."} 
[2026-08-28 10:36:28] local.INFO: Processing buffer {"connection_id":164615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046c2aed8012d7bd68005dd37600000016211..."} 
[2026-08-28 10:36:28] local.INFO: Packet analysis {"connection_id":164615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046c2"} 
[2026-08-28 10:36:28] local.INFO: Extracted packet for processing {"connection_id":164615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046c2"} 
[2026-08-28 10:36:28] local.INFO: GPS Element Parsed {"raw_longitude":763090560,"raw_latitude":98383712,"longitude_deg":76.309056,"latitude_deg":9.8383712,"altitude":0,"angle":354,"satellites":17,"speed":53,"hex_longitude":"2d7bd680","hex_latitude":"05dd3760","is_valid_coordinates":true} 
[2026-08-28 10: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-28 10:36:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700749056001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:36:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125217349153325056,"note":"Value kept but may cause issues"} 
[2026-08-28 10:36:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8924656743004395520,"note":"Value kept but may cause issues"} 
[2026-08-28 10:36:28] 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-28 10:36:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787893559000,"timestamp_ms":1787893559000,"timestamp_seconds":1787893559,"priority":1,"record_length":96,"hex_timestamp":"000001a046c2aed8"} 
[2026-08-28 10: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-28 10:36:28] 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-28 10: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":46,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-28 10:36:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-28 10:36:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2650852782,"note":"Value kept but may cause issues"} 
[2026-08-28 10:36:28] local.WARNING: Large IO value detected {"io_id":218,"raw_value":3388997632,"note":"Value kept but may cause issues"} 
[2026-08-28 10:36:28] local.WARNING: Large IO value detected {"io_id":70,"raw_value":3255486465,"note":"Value kept but may cause issues"} 
[2026-08-28 10:36:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2930245838,"corrected_to":0} 
[2026-08-28 10:36:28] local.WARNING: Large IO value detected {"io_id":226,"raw_value":3221609556,"note":"Value kept but may cause issues"} 
[2026-08-28 10:36:28] local.WARNING: Large IO value detected {"io_id":188,"raw_value":3656515584,"note":"Value kept but may cause issues"} 
[2026-08-28 10:36:28] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,169,85,24,241,157,16,220,160,108,45,236,17,10,66,168,219,73,64,197,42,192,1,240,54,227,218,70,4,113,205,51,239,226,2,188],"length":434,"final_offset":564,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2930245838,"validated":0}]} 
[2026-08-28 10:36:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":389304428396544,"timestamp_seconds":389304428396.544,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 10: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-28 10:36:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:36:28] local.INFO: Teltonika packet parsed successfully {"connection_id":164615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:36:28] local.INFO: Passing IMEI to GPS processor {"connection_id":164615,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:36:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":164615,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:36:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:36:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 10:36:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 10:36:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700749056001,"66":11743,"169":206,"85":15104,"24":53,"16":125217349153325056,"45":8924656743004395520},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-28 10:36:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 10:36:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 10:36:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700749056001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:36:28] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-28 10:36:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 10:36:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125217349153325056,"km_value":125217349153325.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:36:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8924656743004395520,"description":"Unknown IO ID 45"} 
[2026-08-28 10:36:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700749056001,"power":11743,"unknown_169":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":8924656743004395520}} 
[2026-08-28 10:36:28] local.INFO: DEBUG: GPS processor result {"connection_id":164615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707036,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:36:28] local.INFO: GPS data processed {"connection_id":164615,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:36:28] local.INFO: Acknowledgment sent {"connection_id":164615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:36:29] local.INFO: TCP Data received {"connection_id":164615,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a046c2ca30012d7bd2c005dd5b500000016311..."} 
[2026-08-28 10:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046c2ca30012d7bd2c005dd5b500000016311..."} 
[2026-08-28 10:36:29] local.INFO: Processing buffer {"connection_id":164615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046c2ca30012d7bd2c005dd5b500000016311..."} 
[2026-08-28 10:36:29] local.INFO: Packet analysis {"connection_id":164615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046c2"} 
[2026-08-28 10:36:29] local.INFO: Extracted packet for processing {"connection_id":164615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046c2"} 
[2026-08-28 10:36:29] local.INFO: GPS Element Parsed {"raw_longitude":763089600,"raw_latitude":98392912,"longitude_deg":76.30896,"latitude_deg":9.8392912,"altitude":0,"angle":355,"satellites":17,"speed":52,"hex_longitude":"2d7bd2c0","hex_latitude":"05dd5b50","is_valid_coordinates":true} 
[2026-08-28 10:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:36:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700751104001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125217800124891136,"note":"Value kept but may cause issues"} 
[2026-08-28 10:36:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8923460474355802112,"note":"Value kept but may cause issues"} 
[2026-08-28 10:36:29] 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-28 10:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787893566000,"timestamp_ms":1787893566000,"timestamp_seconds":1787893566,"priority":1,"record_length":96,"hex_timestamp":"000001a046c2ca30"} 
[2026-08-28 10:36:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:36:29] 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-28 10:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-28 10:36:29] 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-28 10:36:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:36:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":164615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":164615,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":164615,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:36:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 10:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 10:36:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700751104001,"66":11917,"169":206,"85":15104,"24":52,"16":125217800124891136,"45":8923460474355802112},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-28 10:36:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 10:36:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 10:36:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700751104001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:36:29] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-28 10:36:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 10:36:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125217800124891136,"km_value":125217800124891.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:36:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8923460474355802112,"description":"Unknown IO ID 45"} 
[2026-08-28 10:36:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700751104001,"power":11917,"unknown_169":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":8923460474355802112}} 
[2026-08-28 10:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":164615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707037,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:36:29] local.INFO: GPS data processed {"connection_id":164615,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:36:29] local.INFO: Acknowledgment sent {"connection_id":164615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:36:31] local.INFO: TCP Data received {"connection_id":164616,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:36:31] local.INFO: Processing buffer {"connection_id":164616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:36:31] local.INFO: IMEI packet received {"connection_id":164616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 10:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":164616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:36:32] local.INFO: TCP Data received {"connection_id":164615,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a046c2e588012d7bce0005dd7fa00000015f0d..."} 
[2026-08-28 10:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046c2e588012d7bce0005dd7fa00000015f0d..."} 
[2026-08-28 10:36:32] local.INFO: Processing buffer {"connection_id":164615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046c2e588012d7bce0005dd7fa00000015f0d..."} 
[2026-08-28 10:36:32] local.INFO: Packet analysis {"connection_id":164615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046c2"} 
[2026-08-28 10:36:32] local.INFO: Extracted packet for processing {"connection_id":164615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046c2"} 
[2026-08-28 10:36:32] local.INFO: GPS Element Parsed {"raw_longitude":763088384,"raw_latitude":98402208,"longitude_deg":76.3088384,"latitude_deg":9.8402208,"altitude":0,"angle":351,"satellites":13,"speed":53,"hex_longitude":"2d7bce00","hex_latitude":"05dd7fa0","is_valid_coordinates":true} 
[2026-08-28 10:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700752896001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218255391424512,"note":"Value kept but may cause issues"} 
[2026-08-28 10:36:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8922404943195492352,"note":"Value kept but may cause issues"} 
[2026-08-28 10:36:32] 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-28 10:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787893573000,"timestamp_ms":1787893573000,"timestamp_seconds":1787893573,"priority":1,"record_length":96,"hex_timestamp":"000001a046c2e588"} 
[2026-08-28 10:36:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:36:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 10:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-28 10:36:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1697,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:36:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:36:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":164615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":164615,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":164615,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:36:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 10:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 10:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700752896001,"66":11808,"169":206,"85":15104,"24":53,"16":125218255391424512,"45":8922404943195492352},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-28 10:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 10:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 10:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700752896001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:36:32] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-28 10:36:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 10:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218255391424512,"km_value":125218255391424.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:36:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8922404943195492352,"description":"Unknown IO ID 45"} 
[2026-08-28 10:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700752896001,"power":11808,"unknown_169":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":8922404943195492352}} 
[2026-08-28 10:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":164615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707038,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:36:32] local.INFO: GPS data processed {"connection_id":164615,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:36:32] local.INFO: Acknowledgment sent {"connection_id":164615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:36:36] local.INFO: TCP Data received {"connection_id":164616,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:36:36] local.INFO: Processing buffer {"connection_id":164616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:36:36] local.INFO: IMEI packet received {"connection_id":164616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 10:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":164616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:36:37] local.INFO: TCP Data received {"connection_id":164616,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a046bf7e70012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046bf7e70012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:36:37] local.INFO: Processing buffer {"connection_id":164616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046bf7e70012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:36:37] local.INFO: Packet analysis {"connection_id":164616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046bf"} 
[2026-08-28 10:36:37] local.INFO: Extracted packet for processing {"connection_id":164616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046bf"} 
[2026-08-28 10:36:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10: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-28 10:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700620544001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 10:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787893350000,"timestamp_ms":1787893350000,"timestamp_seconds":1787893350,"priority":1,"record_length":96,"hex_timestamp":"000001a046bf7e70"} 
[2026-08-28 10: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-28 10:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 10:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10: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-28 10: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-28 10:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700620544001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700620544001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:36:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:36:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10: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-28 10:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700620544001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:36:38] local.INFO: DEBUG: GPS processor result {"connection_id":164616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:36:38] local.INFO: GPS data processed {"connection_id":164616,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:36:38] local.INFO: Acknowledgment sent {"connection_id":164616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:37:03] local.INFO: TCP Data received {"connection_id":164615,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a046c300e0012d7bc80005dda3600000015e0f..."} 
[2026-08-28 10:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046c300e0012d7bc80005dda3600000015e0f..."} 
[2026-08-28 10:37:03] local.INFO: Processing buffer {"connection_id":164615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046c300e0012d7bc80005dda3600000015e0f..."} 
[2026-08-28 10:37:03] local.INFO: Packet analysis {"connection_id":164615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046c3"} 
[2026-08-28 10:37:03] local.INFO: Extracted packet for processing {"connection_id":164615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046c3"} 
[2026-08-28 10:37:03] local.INFO: GPS Element Parsed {"raw_longitude":763086848,"raw_latitude":98411360,"longitude_deg":76.3086848,"latitude_deg":9.841136,"altitude":0,"angle":350,"satellites":15,"speed":52,"hex_longitude":"2d7bc800","hex_latitude":"05dda360","is_valid_coordinates":true} 
[2026-08-28 10:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700754688001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125218702068023296,"note":"Value kept but may cause issues"} 
[2026-08-28 10:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8921067937058496512,"note":"Value kept but may cause issues"} 
[2026-08-28 10:37:03] 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-28 10:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787893580000,"timestamp_ms":1787893580000,"timestamp_seconds":1787893580,"priority":1,"record_length":96,"hex_timestamp":"000001a046c300e0"} 
[2026-08-28 10:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 10:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-08-28 10:37:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":716,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:37:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":164615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":164615,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":164615,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 10:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 10:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700754688001,"66":11819,"169":206,"85":15104,"24":52,"16":125218702068023296,"45":8921067937058496512},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-28 10:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 10:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 10:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700754688001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:37:03] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-28 10:37:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 10:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125218702068023296,"km_value":125218702068023.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8921067937058496512,"description":"Unknown IO ID 45"} 
[2026-08-28 10:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700754688001,"power":11819,"unknown_169":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":8921067937058496512}} 
[2026-08-28 10:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":164615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707040,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:37:03] local.INFO: GPS data processed {"connection_id":164615,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:37:03] local.INFO: Acknowledgment sent {"connection_id":164615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:37:07] local.INFO: TCP Data received {"connection_id":165958,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 10:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165958,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 10:37:07] local.INFO: Processing buffer {"connection_id":165958,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 10:37:07] local.INFO: IMEI packet received {"connection_id":165958,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 10:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":165958,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:37:09] local.INFO: TCP Data received {"connection_id":164616,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a046bf7e70012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046bf7e70012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:37:09] local.INFO: Processing buffer {"connection_id":164616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046bf7e70012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:37:09] local.INFO: Packet analysis {"connection_id":164616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046bf"} 
[2026-08-28 10:37:09] local.INFO: Extracted packet for processing {"connection_id":164616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046bf"} 
[2026-08-28 10:37:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10: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-28 10:37:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700620544001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:37:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:37:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:37:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 10:37:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787893350000,"timestamp_ms":1787893350000,"timestamp_seconds":1787893350,"priority":1,"record_length":96,"hex_timestamp":"000001a046bf7e70"} 
[2026-08-28 10: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-28 10:37:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 10:37:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10: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-28 10: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-28 10:37:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:37:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:37:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:37:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:37:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:37:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:37:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:37:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700620544001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:37:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:37:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:37:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700620544001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:37:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:37:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10: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-28 10:37:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:37:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700620544001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:37:09] local.INFO: DEBUG: GPS processor result {"connection_id":164616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:37:09] local.INFO: GPS data processed {"connection_id":164616,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:37:09] local.INFO: Acknowledgment sent {"connection_id":164616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:37:21] local.INFO: TCP Data received {"connection_id":163353,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163353,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:37:21] local.INFO: Processing buffer {"connection_id":163353,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:37:21] local.INFO: IMEI packet received {"connection_id":163353,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 10:37:21] local.INFO: IMEI acknowledgment sent {"connection_id":163353,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:37:26] local.INFO: TCP Data received {"connection_id":163353,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163353,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:37:26] local.INFO: Processing buffer {"connection_id":163353,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:37:26] local.INFO: IMEI packet received {"connection_id":163353,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 10:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":163353,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:37:27] local.INFO: TCP Data received {"connection_id":163353,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a046c31c38012d7bc18005ddc6400000015d0d..."} 
[2026-08-28 10:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046c31c38012d7bc18005ddc6400000015d0d..."} 
[2026-08-28 10:37:27] local.INFO: Processing buffer {"connection_id":163353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046c31c38012d7bc18005ddc6400000015d0d..."} 
[2026-08-28 10:37:27] local.INFO: Packet analysis {"connection_id":163353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046c3"} 
[2026-08-28 10:37:27] local.INFO: Extracted packet for processing {"connection_id":163353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046c3"} 
[2026-08-28 10:37:27] local.INFO: GPS Element Parsed {"raw_longitude":763085184,"raw_latitude":98420288,"longitude_deg":76.3085184,"latitude_deg":9.8420288,"altitude":0,"angle":349,"satellites":13,"speed":49,"hex_longitude":"2d7bc180","hex_latitude":"05ddc640","is_valid_coordinates":true} 
[2026-08-28 10:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700756480001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:37:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125219144449654784,"note":"Value kept but may cause issues"} 
[2026-08-28 10:37:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8919379087200575488,"note":"Value kept but may cause issues"} 
[2026-08-28 10:37:27] 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-28 10:37:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787893587000,"timestamp_ms":1787893587000,"timestamp_seconds":1787893587,"priority":1,"record_length":96,"hex_timestamp":"000001a046c31c38"} 
[2026-08-28 10:37:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:37:27] 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-28 10:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-28 10:37:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":815,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:37:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:37:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:37:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:37:27] local.INFO: Teltonika packet parsed successfully {"connection_id":163353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:37:27] local.INFO: Passing IMEI to GPS processor {"connection_id":163353,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:37:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":163353,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:37:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:37:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 10:37:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 10:37:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700756480001,"66":11721,"169":206,"85":15104,"24":49,"16":125219144449654784,"45":8919379087200575488},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-28 10:37:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 10:37:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 10:37:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700756480001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:37:27] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-28 10:37:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 10:37:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125219144449654784,"km_value":125219144449654.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:37:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8919379087200575488,"description":"Unknown IO ID 45"} 
[2026-08-28 10:37:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700756480001,"power":11721,"unknown_169":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":8919379087200575488}} 
[2026-08-28 10:37:27] 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":707042,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:37:27] local.INFO: GPS data processed {"connection_id":163353,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:37:27] local.INFO: Acknowledgment sent {"connection_id":163353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:37:32] local.INFO: TCP Data received {"connection_id":163354,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:37:32] local.INFO: Processing buffer {"connection_id":163354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:37:32] local.INFO: IMEI packet received {"connection_id":163354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 10:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":163354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:37:36] local.INFO: TCP Data received {"connection_id":163354,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:37:36] local.INFO: Processing buffer {"connection_id":163354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:37:36] local.INFO: IMEI packet received {"connection_id":163354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 10:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":163354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:37:37] local.INFO: TCP Data received {"connection_id":163354,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a046bf7e70012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046bf7e70012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:37:37] local.INFO: Processing buffer {"connection_id":163354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046bf7e70012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:37:37] local.INFO: Packet analysis {"connection_id":163354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046bf"} 
[2026-08-28 10:37:37] local.INFO: Extracted packet for processing {"connection_id":163354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046bf"} 
[2026-08-28 10:37:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700620544001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 10:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787893350000,"timestamp_ms":1787893350000,"timestamp_seconds":1787893350,"priority":1,"record_length":96,"hex_timestamp":"000001a046bf7e70"} 
[2026-08-28 10:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 10:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700620544001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700620544001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:37:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:37:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:37: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-28 10:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700620544001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:37:37] 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":707043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:37:37] local.INFO: GPS data processed {"connection_id":163354,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:37:37] local.INFO: Acknowledgment sent {"connection_id":163354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:37:58] local.INFO: TCP Data received {"connection_id":163353,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a046c33b78012d7bb98005ddeae80000015c0e..."} 
[2026-08-28 10:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046c33b78012d7bb98005ddeae80000015c0e..."} 
[2026-08-28 10:37:58] local.INFO: Processing buffer {"connection_id":163353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046c33b78012d7bb98005ddeae80000015c0e..."} 
[2026-08-28 10:37:58] local.INFO: Packet analysis {"connection_id":163353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046c3"} 
[2026-08-28 10:37:58] local.INFO: Extracted packet for processing {"connection_id":163353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046c3"} 
[2026-08-28 10:37:58] local.INFO: GPS Element Parsed {"raw_longitude":763083136,"raw_latitude":98429672,"longitude_deg":76.3083136,"latitude_deg":9.8429672,"altitude":0,"angle":348,"satellites":14,"speed":46,"hex_longitude":"2d7bb980","hex_latitude":"05ddeae8","is_valid_coordinates":true} 
[2026-08-28 10:37:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:37:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700758272001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:37:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125219608306122752,"note":"Value kept but may cause issues"} 
[2026-08-28 10:37:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8917549499854241792,"note":"Value kept but may cause issues"} 
[2026-08-28 10:37:58] 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-28 10:37:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787893595000,"timestamp_ms":1787893595000,"timestamp_seconds":1787893595,"priority":1,"record_length":96,"hex_timestamp":"000001a046c33b78"} 
[2026-08-28 10:37:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:37:58] 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-28 10:37:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-28 10:37:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2232,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:37:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:37:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:37:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:37:58] local.INFO: Teltonika packet parsed successfully {"connection_id":163353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:37:58] local.INFO: Passing IMEI to GPS processor {"connection_id":163353,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:37:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":163353,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:37:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:37:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 10:37:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 10:37:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700758272001,"66":11765,"169":206,"85":15104,"24":46,"16":125219608306122752,"45":8917549499854241792},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-28 10:37:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 10:37:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 10:37:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700758272001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:37:58] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-28 10:37:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 10:37:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125219608306122752,"km_value":125219608306122.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:37:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8917549499854241792,"description":"Unknown IO ID 45"} 
[2026-08-28 10:37:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700758272001,"power":11765,"unknown_169":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":8917549499854241792}} 
[2026-08-28 10:37:58] 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":707044,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:37:58] local.INFO: GPS data processed {"connection_id":163353,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:37:58] local.INFO: Acknowledgment sent {"connection_id":163353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:38:08] local.INFO: TCP Data received {"connection_id":163354,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a046bf7e70012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046bf7e70012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:38:08] local.INFO: Processing buffer {"connection_id":163354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046bf7e70012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:38:08] local.INFO: Packet analysis {"connection_id":163354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046bf"} 
[2026-08-28 10:38:08] local.INFO: Extracted packet for processing {"connection_id":163354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046bf"} 
[2026-08-28 10:38:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700620544001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:38: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-28 10:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787893350000,"timestamp_ms":1787893350000,"timestamp_seconds":1787893350,"priority":1,"record_length":96,"hex_timestamp":"000001a046bf7e70"} 
[2026-08-28 10:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:38:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 10:38:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:38:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700620544001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700620544001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:38:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:38:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:38: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-28 10:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700620544001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:38:08] 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":707045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:38:08] local.INFO: GPS data processed {"connection_id":163354,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:38:08] local.INFO: Acknowledgment sent {"connection_id":163354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:38:21] local.INFO: TCP Data received {"connection_id":164617,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164617,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:38:21] local.INFO: Processing buffer {"connection_id":164617,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:38:21] local.INFO: IMEI packet received {"connection_id":164617,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 10:38:21] local.INFO: IMEI acknowledgment sent {"connection_id":164617,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:38:27] local.INFO: TCP Data received {"connection_id":164617,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164617,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:38:27] local.INFO: Processing buffer {"connection_id":164617,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:38:27] local.INFO: IMEI packet received {"connection_id":164617,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 10:38:27] local.INFO: IMEI acknowledgment sent {"connection_id":164617,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:38:28] local.INFO: TCP Data received {"connection_id":164617,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a046c35ea0012d7bb28005de0e480000015f11..."} 
[2026-08-28 10:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046c35ea0012d7bb28005de0e480000015f11..."} 
[2026-08-28 10:38:28] local.INFO: Processing buffer {"connection_id":164617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046c35ea0012d7bb28005de0e480000015f11..."} 
[2026-08-28 10:38:28] local.INFO: Packet analysis {"connection_id":164617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046c3"} 
[2026-08-28 10:38:28] local.INFO: Extracted packet for processing {"connection_id":164617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046c3"} 
[2026-08-28 10:38:28] local.INFO: GPS Element Parsed {"raw_longitude":763081344,"raw_latitude":98438728,"longitude_deg":76.3081344,"latitude_deg":9.8438728,"altitude":0,"angle":351,"satellites":17,"speed":37,"hex_longitude":"2d7bb280","hex_latitude":"05de0e48","is_valid_coordinates":true} 
[2026-08-28 10:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:38:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700760320001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:38:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125220054982721536,"note":"Value kept but may cause issues"} 
[2026-08-28 10:38:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8915297700042958848,"note":"Value kept but may cause issues"} 
[2026-08-28 10:38: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-28 10:38:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787893604000,"timestamp_ms":1787893604000,"timestamp_seconds":1787893604,"priority":1,"record_length":96,"hex_timestamp":"000001a046c35ea0"} 
[2026-08-28 10:38:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:38:28] 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-28 10:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":245,"data_length":795,"current_offset":136} 
[2026-08-28 10:38:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2628,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:38:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:38:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:38:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:38:28] local.INFO: Teltonika packet parsed successfully {"connection_id":164617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:38:28] local.INFO: Passing IMEI to GPS processor {"connection_id":164617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:38:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":164617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:38:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:38:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 10:38:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 10:38:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700760320001,"66":11917,"185":206,"85":15104,"24":37,"16":125220054982721536,"45":8915297700042958848},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-28 10:38:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 10:38:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 10:38:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700760320001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:38:28] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-28 10:38:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 10:38:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125220054982721536,"km_value":125220054982721.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:38:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8915297700042958848,"description":"Unknown IO ID 45"} 
[2026-08-28 10:38:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700760320001,"power":11917,"unknown_185":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8915297700042958848}} 
[2026-08-28 10:38:28] local.INFO: DEBUG: GPS processor result {"connection_id":164617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707046,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:38:28] local.INFO: GPS data processed {"connection_id":164617,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:38:28] local.INFO: Acknowledgment sent {"connection_id":164617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:38:31] local.INFO: TCP Data received {"connection_id":164618,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:38:31] local.INFO: Processing buffer {"connection_id":164618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:38:31] local.INFO: IMEI packet received {"connection_id":164618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 10:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":164618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:38:36] local.INFO: TCP Data received {"connection_id":164618,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:38:36] local.INFO: Processing buffer {"connection_id":164618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:38:36] local.INFO: IMEI packet received {"connection_id":164618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 10:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":164618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:38:38] local.INFO: TCP Data received {"connection_id":164618,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a046c41638012d34c14006aa4840000c00e62b..."} 
[2026-08-28 10:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046c41638012d34c14006aa4840000c00e62b..."} 
[2026-08-28 10:38:38] local.INFO: Processing buffer {"connection_id":164618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046c41638012d34c14006aa4840000c00e62b..."} 
[2026-08-28 10:38:38] local.INFO: Packet analysis {"connection_id":164618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046c4"} 
[2026-08-28 10:38:38] local.INFO: Extracted packet for processing {"connection_id":164618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046c4"} 
[2026-08-28 10:38:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700697600001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:38:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 10:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787893651000,"timestamp_ms":1787893651000,"timestamp_seconds":1787893651,"priority":1,"record_length":96,"hex_timestamp":"000001a046c41638"} 
[2026-08-28 10:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:38:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 10:38:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:38:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:38:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700697600001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700697600001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:38:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:38:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:38: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-28 10:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700697600001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":164618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:38:38] local.INFO: GPS data processed {"connection_id":164618,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:38:38] local.INFO: Acknowledgment sent {"connection_id":164618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:38:59] local.INFO: TCP Data received {"connection_id":164617,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a046c385b0012d7baa4005de32b80000015c10..."} 
[2026-08-28 10:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046c385b0012d7baa4005de32b80000015c10..."} 
[2026-08-28 10:38:59] local.INFO: Processing buffer {"connection_id":164617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046c385b0012d7baa4005de32b80000015c10..."} 
[2026-08-28 10:38:59] local.INFO: Packet analysis {"connection_id":164617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046c3"} 
[2026-08-28 10:38:59] local.INFO: Extracted packet for processing {"connection_id":164617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046c3"} 
[2026-08-28 10:38:59] local.INFO: GPS Element Parsed {"raw_longitude":763079232,"raw_latitude":98448056,"longitude_deg":76.3079232,"latitude_deg":9.8448056,"altitude":0,"angle":348,"satellites":16,"speed":37,"hex_longitude":"2d7baa40","hex_latitude":"05de32b8","is_valid_coordinates":true} 
[2026-08-28 10:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700762624001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125220518839189504,"note":"Value kept but may cause issues"} 
[2026-08-28 10:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8913327375208302592,"note":"Value kept but may cause issues"} 
[2026-08-28 10:38:59] 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-28 10:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787893614000,"timestamp_ms":1787893614000,"timestamp_seconds":1787893614,"priority":1,"record_length":96,"hex_timestamp":"000001a046c385b0"} 
[2026-08-28 10:38:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:38:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 10:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-28 10:38:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1697,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:38:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:38:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":164617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":164617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":164617,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:38:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 10:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 10:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700762624001,"66":11852,"185":206,"85":15104,"24":37,"16":125220518839189504,"45":8913327375208302592},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-28 10:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 10:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 10:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700762624001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:38:59] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-28 10:38:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 10:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125220518839189504,"km_value":125220518839189.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8913327375208302592,"description":"Unknown IO ID 45"} 
[2026-08-28 10:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700762624001,"power":11852,"unknown_185":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8913327375208302592}} 
[2026-08-28 10:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":164617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707048,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:38:59] local.INFO: GPS data processed {"connection_id":164617,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:38:59] local.INFO: Acknowledgment sent {"connection_id":164617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:39:09] local.INFO: TCP Data received {"connection_id":164618,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a046c41638012d34c14006aa4840000c00e62b..."} 
[2026-08-28 10:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046c41638012d34c14006aa4840000c00e62b..."} 
[2026-08-28 10:39:09] local.INFO: Processing buffer {"connection_id":164618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046c41638012d34c14006aa4840000c00e62b..."} 
[2026-08-28 10:39:09] local.INFO: Packet analysis {"connection_id":164618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046c4"} 
[2026-08-28 10:39:09] local.INFO: Extracted packet for processing {"connection_id":164618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046c4"} 
[2026-08-28 10:39:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700697600001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:39:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:39:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 10:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787893651000,"timestamp_ms":1787893651000,"timestamp_seconds":1787893651,"priority":1,"record_length":96,"hex_timestamp":"000001a046c41638"} 
[2026-08-28 10:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:39:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 10:39:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:39:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:39:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700697600001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700697600001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:39:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:39:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:39: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-28 10:39:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700697600001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":164618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:39:09] local.INFO: GPS data processed {"connection_id":164618,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:39:09] local.INFO: Acknowledgment sent {"connection_id":164618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:39:21] local.INFO: TCP Data received {"connection_id":163620,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163620,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:39:21] local.INFO: Processing buffer {"connection_id":163620,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:39:21] local.INFO: IMEI packet received {"connection_id":163620,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 10:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":163620,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:39:26] local.INFO: TCP Data received {"connection_id":163620,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163620,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:39:26] local.INFO: Processing buffer {"connection_id":163620,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:39:26] local.INFO: IMEI packet received {"connection_id":163620,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 10:39:26] local.INFO: IMEI acknowledgment sent {"connection_id":163620,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:39:27] local.INFO: TCP Data received {"connection_id":163620,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a046c3acc0012d7ba2c005de54900000015b12..."} 
[2026-08-28 10:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046c3acc0012d7ba2c005de54900000015b12..."} 
[2026-08-28 10:39:27] local.INFO: Processing buffer {"connection_id":163620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046c3acc0012d7ba2c005de54900000015b12..."} 
[2026-08-28 10:39:27] local.INFO: Packet analysis {"connection_id":163620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046c3"} 
[2026-08-28 10:39:27] local.INFO: Extracted packet for processing {"connection_id":163620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046c3"} 
[2026-08-28 10:39:27] local.INFO: GPS Element Parsed {"raw_longitude":763077312,"raw_latitude":98456720,"longitude_deg":76.3077312,"latitude_deg":9.845672,"altitude":0,"angle":347,"satellites":18,"speed":27,"hex_longitude":"2d7ba2c0","hex_latitude":"05de5490","is_valid_coordinates":true} 
[2026-08-28 10:39:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:39:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700765184001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:39:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125220948335919104,"note":"Value kept but may cause issues"} 
[2026-08-28 10:39:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8911005206652827648,"note":"Value kept but may cause issues"} 
[2026-08-28 10:39: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-28 10:39:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787893624000,"timestamp_ms":1787893624000,"timestamp_seconds":1787893624,"priority":1,"record_length":96,"hex_timestamp":"000001a046c3acc0"} 
[2026-08-28 10:39:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:39:27] 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-28 10:39:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-28 10:39:27] 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-28 10:39:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:39:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:39:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:39:27] local.INFO: Teltonika packet parsed successfully {"connection_id":163620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:39:27] local.INFO: Passing IMEI to GPS processor {"connection_id":163620,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:39:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":163620,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:39:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:39:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 10:39:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 10:39:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700765184001,"66":11895,"185":206,"85":15104,"24":27,"16":125220948335919104,"45":8911005206652827648},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-28 10:39:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 10:39:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 10:39:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700765184001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:39:27] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-28 10:39:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 10:39:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125220948335919104,"km_value":125220948335919.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:39:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8911005206652827648,"description":"Unknown IO ID 45"} 
[2026-08-28 10:39:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700765184001,"power":11895,"unknown_185":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8911005206652827648}} 
[2026-08-28 10:39:27] 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":707050,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:39:27] local.INFO: GPS data processed {"connection_id":163620,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:39:27] local.INFO: Acknowledgment sent {"connection_id":163620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:39:36] local.INFO: TCP Data received {"connection_id":165961,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:39:36] local.INFO: Processing buffer {"connection_id":165961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:39:36] local.INFO: IMEI packet received {"connection_id":165961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 10:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":165961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:39:41] local.INFO: TCP Data received {"connection_id":165961,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:39:41] local.INFO: Processing buffer {"connection_id":165961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:39:41] local.INFO: IMEI packet received {"connection_id":165961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 10:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":165961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:39:42] local.INFO: TCP Data received {"connection_id":165961,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a046c41638012d34c14006aa4840000c00e62b..."} 
[2026-08-28 10:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046c41638012d34c14006aa4840000c00e62b..."} 
[2026-08-28 10:39:42] local.INFO: Processing buffer {"connection_id":165961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046c41638012d34c14006aa4840000c00e62b..."} 
[2026-08-28 10:39:42] local.INFO: Packet analysis {"connection_id":165961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046c4"} 
[2026-08-28 10:39:42] local.INFO: Extracted packet for processing {"connection_id":165961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046c4"} 
[2026-08-28 10:39:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10: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-28 10:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700697600001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10: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-28 10:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787893651000,"timestamp_ms":1787893651000,"timestamp_seconds":1787893651,"priority":1,"record_length":96,"hex_timestamp":"000001a046c41638"} 
[2026-08-28 10: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-28 10:39:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10: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-28 10: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-28 10: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-28 10: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-28 10:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:39: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-28 10:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700697600001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700697600001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:39:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:39:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10: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-28 10:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700697600001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":165961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:39:42] local.INFO: GPS data processed {"connection_id":165961,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:39:42] local.INFO: Acknowledgment sent {"connection_id":165961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:39:47] local.INFO: TCP Data received {"connection_id":165961,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a046c41638012d34c14006aa4840000c00e62b..."} 
[2026-08-28 10:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046c41638012d34c14006aa4840000c00e62b..."} 
[2026-08-28 10:39:47] local.INFO: Processing buffer {"connection_id":165961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046c41638012d34c14006aa4840000c00e62b..."} 
[2026-08-28 10:39:47] local.INFO: Packet analysis {"connection_id":165961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046c4"} 
[2026-08-28 10:39:47] local.INFO: Extracted packet for processing {"connection_id":165961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046c4"} 
[2026-08-28 10:39:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700697600001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:39:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:39: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-28 10:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787893651000,"timestamp_ms":1787893651000,"timestamp_seconds":1787893651,"priority":1,"record_length":96,"hex_timestamp":"000001a046c41638"} 
[2026-08-28 10:39:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:39:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 10:39: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-28 10:39:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:39:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":165961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":165961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":165961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:39:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700697600001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700697600001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:39:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:39:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:39: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-28 10:39:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700697600001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":165961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:39:47] local.INFO: GPS data processed {"connection_id":165961,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:39:47] local.INFO: Acknowledgment sent {"connection_id":165961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:39:58] local.INFO: TCP Data received {"connection_id":163620,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a046c3d7b8012d7b9c0005de77f00000016011..."} 
[2026-08-28 10:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046c3d7b8012d7b9c0005de77f00000016011..."} 
[2026-08-28 10:39:58] local.INFO: Processing buffer {"connection_id":163620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046c3d7b8012d7b9c0005de77f00000016011..."} 
[2026-08-28 10:39:58] local.INFO: Packet analysis {"connection_id":163620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046c3"} 
[2026-08-28 10:39:58] local.INFO: Extracted packet for processing {"connection_id":163620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046c3"} 
[2026-08-28 10:39:58] local.INFO: GPS Element Parsed {"raw_longitude":763075584,"raw_latitude":98465776,"longitude_deg":76.3075584,"latitude_deg":9.8465776,"altitude":0,"angle":352,"satellites":17,"speed":33,"hex_longitude":"2d7b9c00","hex_latitude":"05de77f0","is_valid_coordinates":true} 
[2026-08-28 10:39:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:39:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700767744001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:39:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8908894144329715712,"note":"Value kept but may cause issues"} 
[2026-08-28 10:39:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125221399307485184,"note":"Value kept but may cause issues"} 
[2026-08-28 10:39:58] 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-28 10:39:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787893635000,"timestamp_ms":1787893635000,"timestamp_seconds":1787893635,"priority":1,"record_length":96,"hex_timestamp":"000001a046c3d7b8"} 
[2026-08-28 10:39:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:39:58] 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-28 10:39:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-28 10:39:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1499,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:39:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:39:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:39:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:39:58] local.INFO: Teltonika packet parsed successfully {"connection_id":163620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:39:58] local.INFO: Passing IMEI to GPS processor {"connection_id":163620,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:39:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":163620,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:39:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:39:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 10:39:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 10:39:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700767744001,"66":11787,"45":8908894144329715712,"85":15104,"24":33,"16":125221399307485184},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-28 10:39:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 10:39:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 10:39:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700767744001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:39:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8908894144329715712,"description":"Unknown IO ID 45"} 
[2026-08-28 10:39:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 10:39:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125221399307485184,"km_value":125221399307485.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:39:58] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457700767744001,"power":11787,"unknown_45":8908894144329715712,"unknown_85":15104,"ignition":33,"odometer":null}} 
[2026-08-28 10:39:58] 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":707053,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:39:58] local.INFO: GPS data processed {"connection_id":163620,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:39:58] local.INFO: Acknowledgment sent {"connection_id":163620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:40:27] local.INFO: TCP Data received {"connection_id":163355,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163355,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:40:27] local.INFO: Processing buffer {"connection_id":163355,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:40:27] local.INFO: IMEI packet received {"connection_id":163355,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 10:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":163355,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:40:31] local.INFO: TCP Data received {"connection_id":163356,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:40:31] local.INFO: Processing buffer {"connection_id":163356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:40:31] local.INFO: IMEI packet received {"connection_id":163356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 10:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":163356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:40:31] local.INFO: TCP Data received {"connection_id":163355,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163355,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:40:31] local.INFO: Processing buffer {"connection_id":163355,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:40:31] local.INFO: IMEI packet received {"connection_id":163355,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 10:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":163355,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:40:32] local.INFO: TCP Data received {"connection_id":163355,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a046c40698012d7b9ac005de9a980000016613..."} 
[2026-08-28 10:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046c40698012d7b9ac005de9a980000016613..."} 
[2026-08-28 10:40:32] local.INFO: Processing buffer {"connection_id":163355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046c40698012d7b9ac005de9a980000016613..."} 
[2026-08-28 10:40:32] local.INFO: Packet analysis {"connection_id":163355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046c4"} 
[2026-08-28 10:40:32] local.INFO: Extracted packet for processing {"connection_id":163355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046c4"} 
[2026-08-28 10:40:32] local.INFO: GPS Element Parsed {"raw_longitude":763075264,"raw_latitude":98474648,"longitude_deg":76.3075264,"latitude_deg":9.8474648,"altitude":0,"angle":358,"satellites":19,"speed":28,"hex_longitude":"2d7b9ac0","hex_latitude":"05de9a98","is_valid_coordinates":true} 
[2026-08-28 10:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700770560001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:40:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8906994188239237120,"note":"Value kept but may cause issues"} 
[2026-08-28 10:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125221828804214784,"note":"Value kept but may cause issues"} 
[2026-08-28 10:40:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-28 10:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787893647000,"timestamp_ms":1787893647000,"timestamp_seconds":1787893647,"priority":1,"record_length":96,"hex_timestamp":"000001a046c40698"} 
[2026-08-28 10:40:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:40:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 10:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":11,"data_length":795,"current_offset":136} 
[2026-08-28 10:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-08-28 10:40:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3372273070,"note":"Value kept but may cause issues"} 
[2026-08-28 10:40:32] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-28 10:40:32] local.WARNING: Large IO value detected {"io_id":66,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-28 10:40:32] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6897611488186258053,"note":"Value kept but may cause issues"} 
[2026-08-28 10:40:32] local.WARNING: Large IO value detected {"io_id":222,"raw_value":4194304000,"note":"Value kept but may cause issues"} 
[2026-08-28 10:40:32] local.WARNING: Large IO value detected {"io_id":70,"raw_value":3275454465,"note":"Value kept but may cause issues"} 
[2026-08-28 10:40:32] local.WARNING: Large IO value detected {"io_id":221,"raw_value":3941072896,"note":"Value kept but may cause issues"} 
[2026-08-28 10:40:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2930311374,"corrected_to":0} 
[2026-08-28 10:40:32] local.WARNING: Large IO value detected {"io_id":193,"raw_value":2147868102,"note":"Value kept but may cause issues"} 
[2026-08-28 10:40:32] local.WARNING: Large IO value detected {"io_id":188,"raw_value":-2468254070775742464,"note":"Value kept but may cause issues"} 
[2026-08-28 10:40:32] local.WARNING: Large IO value detected {"io_id":206,"raw_value":1650915098492929,"note":"Value kept but may cause issues"} 
[2026-08-28 10:40:32] local.WARNING: Large IO value detected {"io_id":95,"raw_value":936806996609337856,"note":"Value kept but may cause issues"} 
[2026-08-28 10:40:32] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,45,85,24,241,157,16,224,160,172,192,84,18,10,66,185,223,133,64,50,94,128,1,240,141,227,222,70,221,4,113,205,46,28,193,13,239,169,2,188,206,95],"length":533,"final_offset":663,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2930311374,"validated":0}]} 
[2026-08-28 10:40:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":387101109583872,"timestamp_seconds":387101109583.872,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 10:40:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":163355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":163355,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":163355,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:40:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 10:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 10:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700770560001,"66":11798,"45":8906994188239237120,"85":15104,"24":28,"16":125221828804214784},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-28 10:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 10:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 10:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700770560001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:40:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8906994188239237120,"description":"Unknown IO ID 45"} 
[2026-08-28 10:40:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 10:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125221828804214784,"km_value":125221828804214.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:40:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457700770560001,"power":11798,"unknown_45":8906994188239237120,"unknown_85":15104,"ignition":28,"odometer":null}} 
[2026-08-28 10:40:32] 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":707054,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:40:32] local.INFO: GPS data processed {"connection_id":163355,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:40:32] local.INFO: Acknowledgment sent {"connection_id":163355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:40:37] local.INFO: TCP Data received {"connection_id":163355,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a046c43190012d7b974005debd98000001630f..."} 
[2026-08-28 10:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046c43190012d7b974005debd98000001630f..."} 
[2026-08-28 10:40:37] local.INFO: Processing buffer {"connection_id":163355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046c43190012d7b974005debd98000001630f..."} 
[2026-08-28 10:40:37] local.INFO: Packet analysis {"connection_id":163355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046c4"} 
[2026-08-28 10:40:37] local.INFO: Extracted packet for processing {"connection_id":163355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046c4"} 
[2026-08-28 10:40:37] local.INFO: GPS Element Parsed {"raw_longitude":763074368,"raw_latitude":98483608,"longitude_deg":76.3074368,"latitude_deg":9.8483608,"altitude":0,"angle":355,"satellites":15,"speed":32,"hex_longitude":"2d7b9740","hex_latitude":"05debd98","is_valid_coordinates":true} 
[2026-08-28 10:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700773632001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8906642344520620032,"note":"Value kept but may cause issues"} 
[2026-08-28 10:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125222266890878976,"note":"Value kept but may cause issues"} 
[2026-08-28 10:40:37] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-28 10:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787893658000,"timestamp_ms":1787893658000,"timestamp_seconds":1787893658,"priority":1,"record_length":96,"hex_timestamp":"000001a046c43190"} 
[2026-08-28 10:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 10:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-28 10:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4110470574,"note":"Value kept but may cause issues"} 
[2026-08-28 10:40:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-28 10:40:37] local.WARNING: Large IO value detected {"io_id":66,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-28 10:40:37] local.WARNING: Large IO value detected {"io_id":185,"raw_value":2147868138,"note":"Value kept but may cause issues"} 
[2026-08-28 10:40:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184148533453,"note":"Value kept but may cause issues"} 
[2026-08-28 10:40:37] local.WARNING: Large IO value detected {"io_id":70,"raw_value":3277758465,"note":"Value kept but may cause issues"} 
[2026-08-28 10:40:37] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620845625584,"note":"Value kept but may cause issues"} 
[2026-08-28 10:40:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797142222,"corrected_to":0} 
[2026-08-28 10:40:37] local.WARNING: Large IO value detected {"io_id":188,"raw_value":-2439262148174544896,"note":"Value kept but may cause issues"} 
[2026-08-28 10:40:37] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6141502619932229634,"note":"Value kept but may cause issues"} 
[2026-08-28 10:40:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":1651068643573761,"corrected_to":0} 
[2026-08-28 10:40:37] local.WARNING: Large IO value detected {"io_id":94,"raw_value":1080921085173565952,"note":"Value kept but may cause issues"} 
[2026-08-28 10:40:37] local.WARNING: Large IO value detected {"io_id":43,"raw_value":57894411111912763,"note":"Value kept but may cause issues"} 
[2026-08-28 10:40:37] local.WARNING: Large IO value detected {"io_id":194,"raw_value":-1907273147329150971,"note":"Value kept but may cause issues"} 
[2026-08-28 10:40:37] local.WARNING: Large IO value detected {"io_id":221,"raw_value":9196350439113559296,"note":"Value kept but may cause issues"} 
[2026-08-28 10:40:37] local.WARNING: Large IO value detected {"io_id":53,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-28 10:40:37] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,45,85,24,241,157,16,224,160,215,119,17,10,66,172,192,84,18,185,223,133,64,1,240,76,227,70,222,4,113,205,37,59,232,14,239,169,2,188,206,200,94,43,194,221,53],"length":632,"final_offset":762,"validated_count":46,"validation_warnings":[{"io_id":205,"original":2797142222,"validated":0},{"io_id":200,"original":1651068643573761,"validated":0}]} 
[2026-08-28 10:40:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":393706768957440,"timestamp_seconds":393706768957.44,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 10:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163355,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163355,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 10:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 10:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700773632001,"66":11776,"45":8906642344520620032,"85":15104,"24":32,"16":125222266890878976},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-28 10:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 10:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 10:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700773632001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8906642344520620032,"description":"Unknown IO ID 45"} 
[2026-08-28 10:40:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 10:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125222266890878976,"km_value":125222266890878.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:40:37] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457700773632001,"power":11776,"unknown_45":8906642344520620032,"unknown_85":15104,"ignition":32,"odometer":null}} 
[2026-08-28 10:40:37] 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":707055,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:40:37] local.INFO: GPS data processed {"connection_id":163355,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:40:37] local.INFO: Acknowledgment sent {"connection_id":163355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:40:39] local.INFO: TCP Data received {"connection_id":163356,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:40:39] local.INFO: Processing buffer {"connection_id":163356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:40:39] local.INFO: IMEI packet received {"connection_id":163356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 10:40:39] local.INFO: IMEI acknowledgment sent {"connection_id":163356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:40:40] local.INFO: TCP Data received {"connection_id":163356,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a046c41638012d34c14006aa4840000c00e62b..."} 
[2026-08-28 10:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046c41638012d34c14006aa4840000c00e62b..."} 
[2026-08-28 10:40:40] local.INFO: Processing buffer {"connection_id":163356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046c41638012d34c14006aa4840000c00e62b..."} 
[2026-08-28 10:40:40] local.INFO: Packet analysis {"connection_id":163356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046c4"} 
[2026-08-28 10:40:40] local.INFO: Extracted packet for processing {"connection_id":163356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046c4"} 
[2026-08-28 10:40:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:40:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700697600001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:40:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:40:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:40: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-28 10:40:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787893651000,"timestamp_ms":1787893651000,"timestamp_seconds":1787893651,"priority":1,"record_length":96,"hex_timestamp":"000001a046c41638"} 
[2026-08-28 10:40:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:40:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 10:40:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:40:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:40:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:40:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:40:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:40:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:40:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:40:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:40:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:40:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:40:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700697600001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:40:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:40:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:40:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700697600001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:40:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:40:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:40: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-28 10:40:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:40:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700697600001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:40:40] 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":707056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:40:40] local.INFO: GPS data processed {"connection_id":163356,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:40:40] local.INFO: Acknowledgment sent {"connection_id":163356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:41:12] local.INFO: TCP Data received {"connection_id":163356,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a046c41638012d34c14006aa4840000c00e62b..."} 
[2026-08-28 10:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046c41638012d34c14006aa4840000c00e62b..."} 
[2026-08-28 10:41:12] local.INFO: Processing buffer {"connection_id":163356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046c41638012d34c14006aa4840000c00e62b..."} 
[2026-08-28 10:41:12] local.INFO: Packet analysis {"connection_id":163356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046c4"} 
[2026-08-28 10:41:12] local.INFO: Extracted packet for processing {"connection_id":163356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046c4"} 
[2026-08-28 10:41:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:41: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-28 10:41:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700697600001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:41:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:41:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:41: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-28 10:41:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787893651000,"timestamp_ms":1787893651000,"timestamp_seconds":1787893651,"priority":1,"record_length":96,"hex_timestamp":"000001a046c41638"} 
[2026-08-28 10:41:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:41:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 10:41:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:41: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-28 10:41:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:41:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:41:12] local.INFO: Teltonika packet parsed successfully {"connection_id":163356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:41:12] local.INFO: Passing IMEI to GPS processor {"connection_id":163356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:41:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":163356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:41:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:41:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:41:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:41:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700697600001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:41:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:41:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:41:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700697600001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:41:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:41:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:41: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-28 10:41:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:41:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700697600001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:41:12] 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":707057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:41:12] local.INFO: GPS data processed {"connection_id":163356,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:41:12] local.INFO: Acknowledgment sent {"connection_id":163356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:41:17] local.INFO: TCP Data received {"connection_id":164619,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164619,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:41:17] local.INFO: Processing buffer {"connection_id":164619,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:41:17] local.INFO: IMEI packet received {"connection_id":164619,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 10:41:17] local.INFO: IMEI acknowledgment sent {"connection_id":164619,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:41:21] local.INFO: TCP Data received {"connection_id":164619,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164619,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:41:21] local.INFO: Processing buffer {"connection_id":164619,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:41:21] local.INFO: IMEI packet received {"connection_id":164619,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 10:41:21] local.INFO: IMEI acknowledgment sent {"connection_id":164619,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:41:26] local.INFO: TCP Data received {"connection_id":164619,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164619,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:41:26] local.INFO: Processing buffer {"connection_id":164619,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:41:26] local.INFO: IMEI packet received {"connection_id":164619,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 10:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":164619,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:41:27] local.INFO: TCP Data received {"connection_id":164619,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a046c45c88012d7b938005dee1800000016211..."} 
[2026-08-28 10:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046c45c88012d7b938005dee1800000016211..."} 
[2026-08-28 10:41:27] local.INFO: Processing buffer {"connection_id":164619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046c45c88012d7b938005dee1800000016211..."} 
[2026-08-28 10:41:27] local.INFO: Packet analysis {"connection_id":164619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046c4"} 
[2026-08-28 10:41:27] local.INFO: Extracted packet for processing {"connection_id":164619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046c4"} 
[2026-08-28 10:41:27] local.INFO: GPS Element Parsed {"raw_longitude":763073408,"raw_latitude":98492800,"longitude_deg":76.3073408,"latitude_deg":9.84928,"altitude":0,"angle":354,"satellites":17,"speed":28,"hex_longitude":"2d7b9380","hex_latitude":"05dee180","is_valid_coordinates":true} 
[2026-08-28 10:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700776448001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8905657182104426496,"note":"Value kept but may cause issues"} 
[2026-08-28 10:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125222717862445056,"note":"Value kept but may cause issues"} 
[2026-08-28 10:41:27] 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-28 10:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787893669000,"timestamp_ms":1787893669000,"timestamp_seconds":1787893669,"priority":1,"record_length":96,"hex_timestamp":"000001a046c45c88"} 
[2026-08-28 10:41:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:41: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-28 10:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-28 10:41:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-28 10:41:27] local.WARNING: Large IO value detected {"io_id":223,"raw_value":3388997632,"note":"Value kept but may cause issues"} 
[2026-08-28 10:41:27] local.WARNING: Large IO value detected {"io_id":70,"raw_value":3280318465,"note":"Value kept but may cause issues"} 
[2026-08-28 10:41:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797142222,"corrected_to":0} 
[2026-08-28 10:41:27] local.WARNING: Large IO value detected {"io_id":94,"raw_value":2684431739,"note":"Value kept but may cause issues"} 
[2026-08-28 10:41:27] local.WARNING: Large IO value detected {"io_id":178,"raw_value":2147868174,"note":"Value kept but may cause issues"} 
[2026-08-28 10:41:27] local.WARNING: Large IO value detected {"io_id":46,"raw_value":2365640102,"note":"Value kept but may cause issues"} 
[2026-08-28 10:41:27] local.WARNING: Large IO value detected {"io_id":188,"raw_value":3740925952,"note":"Value kept but may cause issues"} 
[2026-08-28 10:41:27] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,45,85,24,241,157,16,224,160,6,192,154,19,10,66,215,119,17,172,1,240,227,223,70,222,4,113,205,37,94,178,72,239,46,185,2,188],"length":434,"final_offset":564,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2797142222,"validated":0}]} 
[2026-08-28 10:41:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":390391054467072,"timestamp_seconds":390391054467.072,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 10:41:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":164619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":164619,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":164619,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:41:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 10:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 10:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700776448001,"66":11656,"45":8905657182104426496,"85":15104,"24":28,"16":125222717862445056},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-28 10:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 10:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 10:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700776448001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8905657182104426496,"description":"Unknown IO ID 45"} 
[2026-08-28 10:41:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 10:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125222717862445056,"km_value":125222717862445.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:41:27] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457700776448001,"power":11656,"unknown_45":8905657182104426496,"unknown_85":15104,"ignition":28,"odometer":null}} 
[2026-08-28 10:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":164619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707058,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:41:27] local.INFO: GPS data processed {"connection_id":164619,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:41:27] local.INFO: Acknowledgment sent {"connection_id":164619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:41:31] local.INFO: TCP Data received {"connection_id":164620,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:41:31] local.INFO: Processing buffer {"connection_id":164620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:41:31] local.INFO: IMEI packet received {"connection_id":164620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 10:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":164620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:41:31] local.INFO: TCP Data received {"connection_id":164621,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 10:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 10:41:31] local.INFO: Processing buffer {"connection_id":164621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 10:41:31] local.INFO: IMEI packet received {"connection_id":164621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 10:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":164621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:41:32] local.INFO: TCP Data received {"connection_id":164621,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 10:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 10:41:32] local.INFO: Processing buffer {"connection_id":164621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 10:41:32] local.INFO: IMEI packet received {"connection_id":164621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 10:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":164621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:41:36] local.INFO: TCP Data received {"connection_id":164620,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:41:36] local.INFO: Processing buffer {"connection_id":164620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:41:36] local.INFO: IMEI packet received {"connection_id":164620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 10:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":164620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:41:36] local.INFO: TCP Data received {"connection_id":164621,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 10:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 10:41:36] local.INFO: Processing buffer {"connection_id":164621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 10:41:36] local.INFO: IMEI packet received {"connection_id":164621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 10:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":164621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:41:37] local.INFO: TCP Data received {"connection_id":164621,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-08-28 10:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164621,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-08-28 10:41:37] local.INFO: Processing buffer {"connection_id":164621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-08-28 10:41:37] local.INFO: Packet analysis {"connection_id":164621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-28 10:41:37] local.INFO: Extracted packet for processing {"connection_id":164621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-28 10:41: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-28 10:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-28 10:41:37] 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-28 10:41:37] 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-28 10:41:37] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-28 10:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164621,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164621,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-28 10:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164621,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-28 10:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-28 10:41:37] local.WARNING: DEBUG: No valid data to process  
[2026-08-28 10:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":164621,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-28 10:41:37] local.ERROR: GPS data processing failed {"connection_id":164621,"error":"No valid data to process"} 
[2026-08-28 10:41:37] local.INFO: Acknowledgment sent {"connection_id":164621,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-28 10:41:38] local.INFO: TCP Data received {"connection_id":164620,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a046c41638012d34c14006aa4840000c00e62b..."} 
[2026-08-28 10:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046c41638012d34c14006aa4840000c00e62b..."} 
[2026-08-28 10:41:38] local.INFO: Processing buffer {"connection_id":164620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046c41638012d34c14006aa4840000c00e62b..."} 
[2026-08-28 10:41:38] local.INFO: Packet analysis {"connection_id":164620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046c4"} 
[2026-08-28 10:41:38] local.INFO: Extracted packet for processing {"connection_id":164620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046c4"} 
[2026-08-28 10:41:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700697600001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:41:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 10:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787893651000,"timestamp_ms":1787893651000,"timestamp_seconds":1787893651,"priority":1,"record_length":96,"hex_timestamp":"000001a046c41638"} 
[2026-08-28 10:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 10:41:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:41:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:41: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-28 10:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700697600001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700697600001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:41:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:41:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:41: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-28 10:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700697600001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":164620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:41:38] local.INFO: GPS data processed {"connection_id":164620,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:41:38] local.INFO: Acknowledgment sent {"connection_id":164620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:41:58] local.INFO: TCP Data received {"connection_id":164619,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a046c4aaa8012d7b91c005defa100000016213..."} 
[2026-08-28 10:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046c4aaa8012d7b91c005defa100000016213..."} 
[2026-08-28 10:41:58] local.INFO: Processing buffer {"connection_id":164619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046c4aaa8012d7b91c005defa100000016213..."} 
[2026-08-28 10:41:58] local.INFO: Packet analysis {"connection_id":164619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046c4"} 
[2026-08-28 10:41:58] local.INFO: Extracted packet for processing {"connection_id":164619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046c4"} 
[2026-08-28 10:41:58] local.INFO: GPS Element Parsed {"raw_longitude":763072960,"raw_latitude":98499088,"longitude_deg":76.307296,"latitude_deg":9.8499088,"altitude":0,"angle":354,"satellites":19,"speed":14,"hex_longitude":"2d7b91c0","hex_latitude":"05defa10","is_valid_coordinates":true} 
[2026-08-28 10:41:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:41:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700779264001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:41:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125223027100090368,"note":"Value kept but may cause issues"} 
[2026-08-28 10:41:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8904601650944114688,"note":"Value kept but may cause issues"} 
[2026-08-28 10:41:58] 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-28 10:41:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787893689000,"timestamp_ms":1787893689000,"timestamp_seconds":1787893689,"priority":1,"record_length":96,"hex_timestamp":"000001a046c4aaa8"} 
[2026-08-28 10:41:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:41:58] 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-28 10:41:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":136,"data_length":795,"current_offset":136} 
[2026-08-28 10:41:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1647,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:41:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:41:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:41:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:41:58] local.INFO: Teltonika packet parsed successfully {"connection_id":164619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:41:58] local.INFO: Passing IMEI to GPS processor {"connection_id":164619,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:41:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":164619,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:41:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:41:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 10:41:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 10:41:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700779264001,"66":11254,"44":206,"85":15104,"24":14,"16":125223027100090368,"45":8904601650944114688},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,85,24,16,45]} 
[2026-08-28 10:41:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 10:41:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 10:41:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700779264001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:41:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-28 10:41:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 10:41:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125223027100090368,"km_value":125223027100090.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:41:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8904601650944114688,"description":"Unknown IO ID 45"} 
[2026-08-28 10:41:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700779264001,"power":11254,"unknown_44":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8904601650944114688}} 
[2026-08-28 10:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":164619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707060,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:41:59] local.INFO: GPS data processed {"connection_id":164619,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:41:59] local.INFO: Acknowledgment sent {"connection_id":164619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:42:08] local.INFO: TCP Data received {"connection_id":164621,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-08-28 10:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-08-28 10:42:08] local.INFO: Processing buffer {"connection_id":164621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-08-28 10:42:08] local.INFO: Packet analysis {"connection_id":164621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-28 10:42:08] local.INFO: Extracted packet for processing {"connection_id":164621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-28 10:42: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-28 10: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-28 10:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-28 10:42:08] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-28 10:42:08] 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-28 10:42:08] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-28 10:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164621,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164621,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-28 10:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164621,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-28 10:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-28 10:42:08] local.WARNING: DEBUG: No valid data to process  
[2026-08-28 10:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":164621,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-28 10:42:08] local.ERROR: GPS data processing failed {"connection_id":164621,"error":"No valid data to process"} 
[2026-08-28 10:42:08] local.INFO: Acknowledgment sent {"connection_id":164621,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-28 10:42:09] local.INFO: TCP Data received {"connection_id":164620,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a046c41638012d34c14006aa4840000c00e62b..."} 
[2026-08-28 10:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046c41638012d34c14006aa4840000c00e62b..."} 
[2026-08-28 10:42:09] local.INFO: Processing buffer {"connection_id":164620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046c41638012d34c14006aa4840000c00e62b..."} 
[2026-08-28 10:42:09] local.INFO: Packet analysis {"connection_id":164620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046c4"} 
[2026-08-28 10:42:09] local.INFO: Extracted packet for processing {"connection_id":164620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046c4"} 
[2026-08-28 10:42:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700697600001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:42:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 10:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787893651000,"timestamp_ms":1787893651000,"timestamp_seconds":1787893651,"priority":1,"record_length":96,"hex_timestamp":"000001a046c41638"} 
[2026-08-28 10:42:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:42:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 10:42:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:42:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:42:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:42:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700697600001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700697600001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:42:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:42:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:42: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-28 10:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700697600001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":164620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:42:09] local.INFO: GPS data processed {"connection_id":164620,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:42:09] local.INFO: Acknowledgment sent {"connection_id":164620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:42:21] local.INFO: TCP Data received {"connection_id":165963,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165963,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:42:21] local.INFO: Processing buffer {"connection_id":165963,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:42:21] local.INFO: IMEI packet received {"connection_id":165963,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 10:42:21] local.INFO: IMEI acknowledgment sent {"connection_id":165963,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:42:25] local.INFO: TCP Data received {"connection_id":165963,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165963,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:42:25] local.INFO: Processing buffer {"connection_id":165963,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:42:25] local.INFO: IMEI packet received {"connection_id":165963,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 10:42:25] local.INFO: IMEI acknowledgment sent {"connection_id":165963,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:42:28] local.INFO: TCP Data received {"connection_id":165963,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a046c7eab0012d7b92c005deff400000000315..."} 
[2026-08-28 10:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046c7eab0012d7b92c005deff400000000315..."} 
[2026-08-28 10:42:28] local.INFO: Processing buffer {"connection_id":165963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046c7eab0012d7b92c005deff400000000315..."} 
[2026-08-28 10:42:28] local.INFO: Packet analysis {"connection_id":165963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046c7"} 
[2026-08-28 10:42:28] local.INFO: Extracted packet for processing {"connection_id":165963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046c7"} 
[2026-08-28 10:42:28] local.INFO: GPS Element Parsed {"raw_longitude":763073216,"raw_latitude":98500416,"longitude_deg":76.3073216,"latitude_deg":9.8500416,"altitude":0,"angle":3,"satellites":21,"speed":5,"hex_longitude":"2d7b92c0","hex_latitude":"05deff40","is_valid_coordinates":true} 
[2026-08-28 10:42:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:42:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700837632001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:42:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125223100114534400,"note":"Value kept but may cause issues"} 
[2026-08-28 10:42:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8904390544713498624,"note":"Value kept but may cause issues"} 
[2026-08-28 10:42:28] 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-28 10:42:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787893902000,"timestamp_ms":1787893902000,"timestamp_seconds":1787893902,"priority":1,"record_length":96,"hex_timestamp":"000001a046c7eab0"} 
[2026-08-28 10:42:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:42:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 10:42:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-28 10:42:28] 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-28 10:42:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:42:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:42:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:42:28] local.INFO: Teltonika packet parsed successfully {"connection_id":165963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:42:28] local.INFO: Passing IMEI to GPS processor {"connection_id":165963,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:42:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":165963,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:42:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:42:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 10:42:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 10:42:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700837632001,"66":11874,"44":206,"85":15104,"24":5,"16":125223100114534400,"45":8904390544713498624},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,85,24,16,45]} 
[2026-08-28 10:42:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 10:42:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 10:42:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700837632001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:42:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-28 10:42:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 10:42:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125223100114534400,"km_value":125223100114534.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:42:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8904390544713498624,"description":"Unknown IO ID 45"} 
[2026-08-28 10:42:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700837632001,"power":11874,"unknown_44":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8904390544713498624}} 
[2026-08-28 10:42:28] local.INFO: DEBUG: GPS processor result {"connection_id":165963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707062,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:42:28] local.INFO: GPS data processed {"connection_id":165963,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:42:28] local.INFO: Acknowledgment sent {"connection_id":165963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:42:31] local.INFO: TCP Data received {"connection_id":165964,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:42:31] local.INFO: Processing buffer {"connection_id":165964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:42:31] local.INFO: IMEI packet received {"connection_id":165964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 10:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":165964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:42:36] local.INFO: TCP Data received {"connection_id":165964,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:42:36] local.INFO: Processing buffer {"connection_id":165964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:42:36] local.INFO: IMEI packet received {"connection_id":165964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 10:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":165964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:42:37] local.INFO: TCP Data received {"connection_id":165964,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a046c41638012d34c14006aa4840000c00e62b..."} 
[2026-08-28 10:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046c41638012d34c14006aa4840000c00e62b..."} 
[2026-08-28 10:42:37] local.INFO: Processing buffer {"connection_id":165964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046c41638012d34c14006aa4840000c00e62b..."} 
[2026-08-28 10:42:37] local.INFO: Packet analysis {"connection_id":165964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046c4"} 
[2026-08-28 10:42:37] local.INFO: Extracted packet for processing {"connection_id":165964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046c4"} 
[2026-08-28 10:42:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700697600001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 10:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787893651000,"timestamp_ms":1787893651000,"timestamp_seconds":1787893651,"priority":1,"record_length":96,"hex_timestamp":"000001a046c41638"} 
[2026-08-28 10:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 10:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":165964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":165964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":165964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700697600001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700697600001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:42:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:42:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:42: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-28 10:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700697600001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":165964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:42:37] local.INFO: GPS data processed {"connection_id":165964,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:42:37] local.INFO: Acknowledgment sent {"connection_id":165964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:42:39] local.INFO: TCP Data received {"connection_id":164621,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000000000015f900100000000000000000000000000..."} 
[2026-08-28 10:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000015f900100000000000000000000000000..."} 
[2026-08-28 10:42:39] local.INFO: Processing buffer {"connection_id":164621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000015f900100000000000000000000000000..."} 
[2026-08-28 10:42:39] local.INFO: Packet analysis {"connection_id":164621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-28 10:42:39] local.INFO: Extracted packet for processing {"connection_id":164621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-28 10:42: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-28 10:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:42:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-28 10:42:39] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-28 10:42:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":90000,"timestamp_seconds":90,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 10:42:39] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:42:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-28 10:42:39] local.INFO: Teltonika packet parsed successfully {"connection_id":164621,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:42:39] local.INFO: Passing IMEI to GPS processor {"connection_id":164621,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-28 10:42:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":164621,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-28 10:42:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-28 10:42:39] local.WARNING: DEBUG: No valid data to process  
[2026-08-28 10:42:39] local.INFO: DEBUG: GPS processor result {"connection_id":164621,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-28 10:42:39] local.ERROR: GPS data processing failed {"connection_id":164621,"error":"No valid data to process"} 
[2026-08-28 10:42:39] local.INFO: Acknowledgment sent {"connection_id":164621,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-28 10:42:59] local.INFO: TCP Data received {"connection_id":165963,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a046c82548012d7b914005df22a00000016517..."} 
[2026-08-28 10:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046c82548012d7b914005df22a00000016517..."} 
[2026-08-28 10:42:59] local.INFO: Processing buffer {"connection_id":165963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046c82548012d7b914005df22a00000016517..."} 
[2026-08-28 10:42:59] local.INFO: Packet analysis {"connection_id":165963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046c8"} 
[2026-08-28 10:42:59] local.INFO: Extracted packet for processing {"connection_id":165963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046c8"} 
[2026-08-28 10:42:59] local.INFO: GPS Element Parsed {"raw_longitude":763072832,"raw_latitude":98509472,"longitude_deg":76.3072832,"latitude_deg":9.8509472,"altitude":0,"angle":357,"satellites":23,"speed":34,"hex_longitude":"2d7b9140","hex_latitude":"05df22a0","is_valid_coordinates":true} 
[2026-08-28 10:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700838912001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125223542496165888,"note":"Value kept but may cause issues"} 
[2026-08-28 10:42:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8904390544713531392,"note":"Value kept but may cause issues"} 
[2026-08-28 10:42:59] 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-28 10:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787893917000,"timestamp_ms":1787893917000,"timestamp_seconds":1787893917,"priority":1,"record_length":96,"hex_timestamp":"000001a046c82548"} 
[2026-08-28 10:42:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:42:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 10:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-28 10:42:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1310,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:42:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:42:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":165963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":165963,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":165963,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:42:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 10:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 10:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700838912001,"66":11874,"44":206,"85":15104,"24":34,"16":125223542496165888,"45":8904390544713531392},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,85,24,16,45]} 
[2026-08-28 10:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 10:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 10:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700838912001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:42:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-28 10:42:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 10:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125223542496165888,"km_value":125223542496165.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:42:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8904390544713531392,"description":"Unknown IO ID 45"} 
[2026-08-28 10:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700838912001,"power":11874,"unknown_44":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8904390544713531392}} 
[2026-08-28 10:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":165963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707064,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:42:59] local.INFO: GPS data processed {"connection_id":165963,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:42:59] local.INFO: Acknowledgment sent {"connection_id":165963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:43:09] local.INFO: TCP Data received {"connection_id":165964,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a046c41638012d34c14006aa4840000c00e62b..."} 
[2026-08-28 10:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046c41638012d34c14006aa4840000c00e62b..."} 
[2026-08-28 10:43:09] local.INFO: Processing buffer {"connection_id":165964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046c41638012d34c14006aa4840000c00e62b..."} 
[2026-08-28 10:43:09] local.INFO: Packet analysis {"connection_id":165964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046c4"} 
[2026-08-28 10:43:09] local.INFO: Extracted packet for processing {"connection_id":165964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046c4"} 
[2026-08-28 10:43:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:43:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700697600001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:43:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:43:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:43:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 10:43:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787893651000,"timestamp_ms":1787893651000,"timestamp_seconds":1787893651,"priority":1,"record_length":96,"hex_timestamp":"000001a046c41638"} 
[2026-08-28 10:43:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:43:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 10:43:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:43:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:43:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:43:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:43:09] local.INFO: Teltonika packet parsed successfully {"connection_id":165964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:43:09] local.INFO: Passing IMEI to GPS processor {"connection_id":165964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:43:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":165964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:43:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:43:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:43:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:43:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700697600001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:43:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700697600001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:43:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:43:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:43: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-28 10:43:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:43:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700697600001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:43:09] local.INFO: DEBUG: GPS processor result {"connection_id":165964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:43:09] local.INFO: GPS data processed {"connection_id":165964,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:43:09] local.INFO: Acknowledgment sent {"connection_id":165964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:43:10] local.INFO: TCP Data received {"connection_id":164621,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000000000001b1980100000000000000000000000000..."} 
[2026-08-28 10:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164621,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000001b1980100000000000000000000000000..."} 
[2026-08-28 10:43:10] local.INFO: Processing buffer {"connection_id":164621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000001b1980100000000000000000000000000..."} 
[2026-08-28 10:43:10] local.INFO: Packet analysis {"connection_id":164621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-28 10:43:10] local.INFO: Extracted packet for processing {"connection_id":164621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-28 10:43: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-28 10:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-28 10:43:10] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,101,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-28 10:43:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":111000,"timestamp_seconds":111,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 10:43:10] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-28 10:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":164621,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":164621,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-28 10:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":164621,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-28 10:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-28 10:43:10] local.WARNING: DEBUG: No valid data to process  
[2026-08-28 10:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":164621,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-28 10:43:10] local.ERROR: GPS data processing failed {"connection_id":164621,"error":"No valid data to process"} 
[2026-08-28 10:43:10] local.INFO: Acknowledgment sent {"connection_id":164621,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-28 10:43:21] local.INFO: TCP Data received {"connection_id":164622,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164622,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:43:21] local.INFO: Processing buffer {"connection_id":164622,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:43:21] local.INFO: IMEI packet received {"connection_id":164622,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 10:43:21] local.INFO: IMEI acknowledgment sent {"connection_id":164622,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:43:22] local.INFO: TCP Data received {"connection_id":164622,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164622,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:43:22] local.INFO: Processing buffer {"connection_id":164622,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:43:22] local.INFO: IMEI packet received {"connection_id":164622,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 10:43:22] local.INFO: IMEI acknowledgment sent {"connection_id":164622,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:43:26] local.INFO: TCP Data received {"connection_id":164622,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164622,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:43:26] local.INFO: Processing buffer {"connection_id":164622,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:43:26] local.INFO: IMEI packet received {"connection_id":164622,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 10:43:26] local.INFO: IMEI acknowledgment sent {"connection_id":164622,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:43:27] local.INFO: TCP Data received {"connection_id":164622,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a046c84870012d7b8e4005df48600000016017..."} 
[2026-08-28 10:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046c84870012d7b8e4005df48600000016017..."} 
[2026-08-28 10:43:27] local.INFO: Processing buffer {"connection_id":164622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046c84870012d7b8e4005df48600000016017..."} 
[2026-08-28 10:43:27] local.INFO: Packet analysis {"connection_id":164622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046c8"} 
[2026-08-28 10:43:27] local.INFO: Extracted packet for processing {"connection_id":164622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046c8"} 
[2026-08-28 10:43:27] local.INFO: GPS Element Parsed {"raw_longitude":763072064,"raw_latitude":98519136,"longitude_deg":76.3072064,"latitude_deg":9.8519136,"altitude":0,"angle":352,"satellites":23,"speed":49,"hex_longitude":"2d7b8e40","hex_latitude":"05df4860","is_valid_coordinates":true} 
[2026-08-28 10:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:43:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700842752001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:43:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125224010647601152,"note":"Value kept but may cause issues"} 
[2026-08-28 10:43:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8903968332250783744,"note":"Value kept but may cause issues"} 
[2026-08-28 10:43:27] 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-28 10:43:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787893926000,"timestamp_ms":1787893926000,"timestamp_seconds":1787893926,"priority":1,"record_length":96,"hex_timestamp":"000001a046c84870"} 
[2026-08-28 10:43:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:43:27] 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-28 10:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-28 10:43:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1310,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:43:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:43:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:43:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:43:27] local.INFO: Teltonika packet parsed successfully {"connection_id":164622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:43:27] local.INFO: Passing IMEI to GPS processor {"connection_id":164622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:43:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":164622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:43:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:43:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 10:43:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 10:43:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700842752001,"66":11624,"44":206,"85":15104,"24":49,"16":125224010647601152,"45":8903968332250783744},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,85,24,16,45]} 
[2026-08-28 10:43:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 10:43:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 10:43:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700842752001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:43:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-28 10:43:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 10:43:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125224010647601152,"km_value":125224010647601.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:43:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8903968332250783744,"description":"Unknown IO ID 45"} 
[2026-08-28 10:43:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700842752001,"power":11624,"unknown_44":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":8903968332250783744}} 
[2026-08-28 10:43:27] local.INFO: DEBUG: GPS processor result {"connection_id":164622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707066,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:43:27] local.INFO: GPS data processed {"connection_id":164622,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:43:27] local.INFO: Acknowledgment sent {"connection_id":164622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:43:31] local.INFO: TCP Data received {"connection_id":165965,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:43:31] local.INFO: Processing buffer {"connection_id":165965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:43:31] local.INFO: IMEI packet received {"connection_id":165965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 10:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":165965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:43:36] local.INFO: TCP Data received {"connection_id":165965,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:43:36] local.INFO: Processing buffer {"connection_id":165965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:43:36] local.INFO: IMEI packet received {"connection_id":165965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 10:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":165965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:43:37] local.INFO: TCP Data received {"connection_id":165965,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a046c8ae00012d34c14006aa4840000900e629..."} 
[2026-08-28 10:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046c8ae00012d34c14006aa4840000900e629..."} 
[2026-08-28 10:43:37] local.INFO: Processing buffer {"connection_id":165965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046c8ae00012d34c14006aa4840000900e629..."} 
[2026-08-28 10:43:37] local.INFO: Packet analysis {"connection_id":165965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046c8"} 
[2026-08-28 10:43:37] local.INFO: Extracted packet for processing {"connection_id":165965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046c8"} 
[2026-08-28 10:43:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700774656001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 10:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787893952000,"timestamp_ms":1787893952000,"timestamp_seconds":1787893952,"priority":1,"record_length":96,"hex_timestamp":"000001a046c8ae00"} 
[2026-08-28 10:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 10:43:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":165965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":165965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":165965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700774656001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700774656001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:43:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:43:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:43: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-28 10:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700774656001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":165965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:43:37] local.INFO: GPS data processed {"connection_id":165965,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:43:37] local.INFO: Acknowledgment sent {"connection_id":165965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:43:41] local.INFO: TCP Data received {"connection_id":164621,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a00000000000203a00100000000000000000000000000..."} 
[2026-08-28 10:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164621,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000203a00100000000000000000000000000..."} 
[2026-08-28 10:43:41] local.INFO: Processing buffer {"connection_id":164621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000203a00100000000000000000000000000..."} 
[2026-08-28 10:43:41] local.INFO: Packet analysis {"connection_id":164621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-08-28 10:43:41] local.INFO: Extracted packet for processing {"connection_id":164621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-08-28 10:43: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-28 10:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-28 10:43:41] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,101,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-28 10:43:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":132000,"timestamp_seconds":132,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 10:43:41] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-28 10:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":164621,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":164621,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-28 10:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":164621,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-28 10:43:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-28 10:43:41] local.WARNING: DEBUG: No valid data to process  
[2026-08-28 10:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":164621,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-28 10:43:41] local.ERROR: GPS data processing failed {"connection_id":164621,"error":"No valid data to process"} 
[2026-08-28 10:43:41] local.INFO: Acknowledgment sent {"connection_id":164621,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-28 10:43:58] local.INFO: TCP Data received {"connection_id":164622,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a046c86b98012d7b898005df6ef00000016015..."} 
[2026-08-28 10:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046c86b98012d7b898005df6ef00000016015..."} 
[2026-08-28 10:43:58] local.INFO: Processing buffer {"connection_id":164622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046c86b98012d7b898005df6ef00000016015..."} 
[2026-08-28 10:43:58] local.INFO: Packet analysis {"connection_id":164622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046c8"} 
[2026-08-28 10:43:58] local.INFO: Extracted packet for processing {"connection_id":164622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046c8"} 
[2026-08-28 10:43:58] local.INFO: GPS Element Parsed {"raw_longitude":763070848,"raw_latitude":98529008,"longitude_deg":76.3070848,"latitude_deg":9.8529008,"altitude":0,"angle":352,"satellites":21,"speed":44,"hex_longitude":"2d7b8980","hex_latitude":"05df6ef0","is_valid_coordinates":true} 
[2026-08-28 10:43:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:43:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700845056001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:43:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125224491683938304,"note":"Value kept but may cause issues"} 
[2026-08-28 10:43:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8903123907323125760,"note":"Value kept but may cause issues"} 
[2026-08-28 10:43:58] 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-28 10:43:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787893935000,"timestamp_ms":1787893935000,"timestamp_seconds":1787893935,"priority":1,"record_length":96,"hex_timestamp":"000001a046c86b98"} 
[2026-08-28 10:43:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:43:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 10:43:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-28 10:43:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1359,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:43:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:43:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:43:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:43:58] local.INFO: Teltonika packet parsed successfully {"connection_id":164622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:43:58] local.INFO: Passing IMEI to GPS processor {"connection_id":164622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:43:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":164622,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:43:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:43:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 10:43:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 10:43:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700845056001,"66":11765,"44":206,"85":15104,"24":44,"16":125224491683938304,"45":8903123907323125760},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,85,24,16,45]} 
[2026-08-28 10:43:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 10:43:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 10:43:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700845056001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:43:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-28 10:43:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 10:43:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125224491683938304,"km_value":125224491683938.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:43:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8903123907323125760,"description":"Unknown IO ID 45"} 
[2026-08-28 10:43:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700845056001,"power":11765,"unknown_44":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8903123907323125760}} 
[2026-08-28 10:43:58] local.INFO: DEBUG: GPS processor result {"connection_id":164622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707068,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:43:58] local.INFO: GPS data processed {"connection_id":164622,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:43:58] local.INFO: Acknowledgment sent {"connection_id":164622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:44:09] local.INFO: TCP Data received {"connection_id":165965,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a046c8ae00012d34c14006aa4840000900e629..."} 
[2026-08-28 10:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046c8ae00012d34c14006aa4840000900e629..."} 
[2026-08-28 10:44:09] local.INFO: Processing buffer {"connection_id":165965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046c8ae00012d34c14006aa4840000900e629..."} 
[2026-08-28 10:44:09] local.INFO: Packet analysis {"connection_id":165965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046c8"} 
[2026-08-28 10:44:09] local.INFO: Extracted packet for processing {"connection_id":165965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046c8"} 
[2026-08-28 10:44:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:44:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700774656001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:44:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 10:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787893952000,"timestamp_ms":1787893952000,"timestamp_seconds":1787893952,"priority":1,"record_length":96,"hex_timestamp":"000001a046c8ae00"} 
[2026-08-28 10:44:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:44:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:44:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 10:44:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:44:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:44:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":165965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":165965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":165965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:44: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-28 10:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700774656001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700774656001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:44:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:44:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:44: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-28 10:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700774656001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":165965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:44:09] local.INFO: GPS data processed {"connection_id":165965,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:44:09] local.INFO: Acknowledgment sent {"connection_id":165965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:44:12] local.INFO: TCP Data received {"connection_id":164621,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a00000000000255a80100000000000000000000000000..."} 
[2026-08-28 10:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164621,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000255a80100000000000000000000000000..."} 
[2026-08-28 10:44:12] local.INFO: Processing buffer {"connection_id":164621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000255a80100000000000000000000000000..."} 
[2026-08-28 10:44:12] local.INFO: Packet analysis {"connection_id":164621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-08-28 10:44:12] local.INFO: Extracted packet for processing {"connection_id":164621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-08-28 10:44:12] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-28 10:44:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:44:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-28 10:44:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,101,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-28 10:44:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":153000,"timestamp_seconds":153,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 10:44:12] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:44:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-28 10:44:12] local.INFO: Teltonika packet parsed successfully {"connection_id":164621,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:44:12] local.INFO: Passing IMEI to GPS processor {"connection_id":164621,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-28 10:44:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":164621,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-28 10:44:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-28 10:44:12] local.WARNING: DEBUG: No valid data to process  
[2026-08-28 10:44:12] local.INFO: DEBUG: GPS processor result {"connection_id":164621,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-28 10:44:12] local.ERROR: GPS data processing failed {"connection_id":164621,"error":"No valid data to process"} 
[2026-08-28 10:44:12] local.INFO: Acknowledgment sent {"connection_id":164621,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-28 10:44:21] local.INFO: TCP Data received {"connection_id":163357,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163357,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:44:21] local.INFO: Processing buffer {"connection_id":163357,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:44:21] local.INFO: IMEI packet received {"connection_id":163357,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 10:44:21] local.INFO: IMEI acknowledgment sent {"connection_id":163357,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:44:22] local.INFO: TCP Data received {"connection_id":163357,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163357,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:44:22] local.INFO: Processing buffer {"connection_id":163357,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:44:22] local.INFO: IMEI packet received {"connection_id":163357,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 10:44:22] local.INFO: IMEI acknowledgment sent {"connection_id":163357,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:44:26] local.INFO: TCP Data received {"connection_id":163357,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163357,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:44:26] local.INFO: Processing buffer {"connection_id":163357,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:44:26] local.INFO: IMEI packet received {"connection_id":163357,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 10:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":163357,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:44:27] local.INFO: TCP Data received {"connection_id":163357,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a046c9e298012d7b508005e104900000015d17..."} 
[2026-08-28 10:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046c9e298012d7b508005e104900000015d17..."} 
[2026-08-28 10:44:27] local.INFO: Processing buffer {"connection_id":163357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046c9e298012d7b508005e104900000015d17..."} 
[2026-08-28 10:44:27] local.INFO: Packet analysis {"connection_id":163357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046c9"} 
[2026-08-28 10:44:27] local.INFO: Extracted packet for processing {"connection_id":163357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046c9"} 
[2026-08-28 10:44:27] local.INFO: GPS Element Parsed {"raw_longitude":763056256,"raw_latitude":98632848,"longitude_deg":76.3056256,"latitude_deg":9.8632848,"altitude":0,"angle":349,"satellites":23,"speed":45,"hex_longitude":"2d7b5080","hex_latitude":"05e10490","is_valid_coordinates":true} 
[2026-08-28 10:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:44:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700869632001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:44:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125229581220184064,"note":"Value kept but may cause issues"} 
[2026-08-28 10:44:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8887642783630643200,"note":"Value kept but may cause issues"} 
[2026-08-28 10:44:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 10:44:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787894031000,"timestamp_ms":1787894031000,"timestamp_seconds":1787894031,"priority":1,"record_length":96,"hex_timestamp":"000001a046c9e298"} 
[2026-08-28 10:44:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:44:27] 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-28 10:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":245,"data_length":795,"current_offset":136} 
[2026-08-28 10:44:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2628,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:44:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:44:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:44:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:44:27] local.INFO: Teltonika packet parsed successfully {"connection_id":163357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:44:27] local.INFO: Passing IMEI to GPS processor {"connection_id":163357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:44:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":163357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:44:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:44:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 10:44:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 10:44:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700869632001,"66":11787,"217":206,"85":15104,"24":45,"16":125229581220184064,"45":8887642783630643200},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 10:44:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 10:44:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 10:44:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700869632001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:44:27] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 10:44:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 10:44:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125229581220184064,"km_value":125229581220184.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:44:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8887642783630643200,"description":"Unknown IO ID 45"} 
[2026-08-28 10:44:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700869632001,"power":11787,"unknown_217":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":8887642783630643200}} 
[2026-08-28 10:44:27] local.INFO: DEBUG: GPS processor result {"connection_id":163357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707070,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:44:27] local.INFO: GPS data processed {"connection_id":163357,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:44:27] local.INFO: Acknowledgment sent {"connection_id":163357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:44:36] local.INFO: TCP Data received {"connection_id":164623,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:44:36] local.INFO: Processing buffer {"connection_id":164623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:44:36] local.INFO: IMEI packet received {"connection_id":164623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 10:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":164623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:44:41] local.INFO: TCP Data received {"connection_id":164623,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:44:41] local.INFO: Processing buffer {"connection_id":164623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:44:41] local.INFO: IMEI packet received {"connection_id":164623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 10:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":164623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:44:42] local.INFO: TCP Data received {"connection_id":164623,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a046c8ae00012d34c14006aa4840000900e629..."} 
[2026-08-28 10:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046c8ae00012d34c14006aa4840000900e629..."} 
[2026-08-28 10:44:42] local.INFO: Processing buffer {"connection_id":164623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046c8ae00012d34c14006aa4840000900e629..."} 
[2026-08-28 10:44:42] local.INFO: Packet analysis {"connection_id":164623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046c8"} 
[2026-08-28 10:44:42] local.INFO: Extracted packet for processing {"connection_id":164623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046c8"} 
[2026-08-28 10:44:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10: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-28 10:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700774656001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:44:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10: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-28 10:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787893952000,"timestamp_ms":1787893952000,"timestamp_seconds":1787893952,"priority":1,"record_length":96,"hex_timestamp":"000001a046c8ae00"} 
[2026-08-28 10: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-28 10:44:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10: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-28 10: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-28 10: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-28 10: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-28 10:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":164623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":164623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":164623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:44:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700774656001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700774656001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:44:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:44:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10: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-28 10:44:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700774656001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":164623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:44:42] local.INFO: GPS data processed {"connection_id":164623,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:44:42] local.INFO: Acknowledgment sent {"connection_id":164623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:44:43] local.INFO: TCP Data received {"connection_id":164621,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000000000002a7b00100000000000000000000000000..."} 
[2026-08-28 10:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164621,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000002a7b00100000000000000000000000000..."} 
[2026-08-28 10:44:43] local.INFO: Processing buffer {"connection_id":164621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000002a7b00100000000000000000000000000..."} 
[2026-08-28 10:44:43] local.INFO: Packet analysis {"connection_id":164621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-08-28 10:44:43] local.INFO: Extracted packet for processing {"connection_id":164621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-08-28 10:44: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-28 10: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-28 10:44:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15802859719229440,"note":"Value kept but may cause issues"} 
[2026-08-28 10:44:43] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,101,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-28 10:44:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":174000,"timestamp_seconds":174,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 10:44:43] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:44:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-28 10:44:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164621,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:44:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164621,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-28 10:44:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164621,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-28 10:44:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-28 10:44:43] local.WARNING: DEBUG: No valid data to process  
[2026-08-28 10:44:43] local.INFO: DEBUG: GPS processor result {"connection_id":164621,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-28 10:44:43] local.ERROR: GPS data processing failed {"connection_id":164621,"error":"No valid data to process"} 
[2026-08-28 10:44:43] local.INFO: Acknowledgment sent {"connection_id":164621,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-28 10:44:47] local.INFO: TCP Data received {"connection_id":164623,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a046c8ae00012d34c14006aa4840000900e629..."} 
[2026-08-28 10:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046c8ae00012d34c14006aa4840000900e629..."} 
[2026-08-28 10:44:47] local.INFO: Processing buffer {"connection_id":164623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046c8ae00012d34c14006aa4840000900e629..."} 
[2026-08-28 10:44:47] local.INFO: Packet analysis {"connection_id":164623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046c8"} 
[2026-08-28 10:44:47] local.INFO: Extracted packet for processing {"connection_id":164623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046c8"} 
[2026-08-28 10:44:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:44:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700774656001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:44:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:44:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:44: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-28 10:44:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787893952000,"timestamp_ms":1787893952000,"timestamp_seconds":1787893952,"priority":1,"record_length":96,"hex_timestamp":"000001a046c8ae00"} 
[2026-08-28 10:44:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:44:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 10:44: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-28 10:44:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:44:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:44:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:44:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:44:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:44:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:44:47] 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-28 10:44:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:44:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:44:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700774656001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:44:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:44:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:44:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700774656001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:44:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:44:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:44: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-28 10:44:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:44:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700774656001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:44:47] local.INFO: DEBUG: GPS processor result {"connection_id":164623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:44:47] local.INFO: GPS data processed {"connection_id":164623,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:44:47] local.INFO: Acknowledgment sent {"connection_id":164623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:44:59] local.INFO: TCP Data received {"connection_id":163357,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a046ca05c0012d7b4a4005e127a00000015d18..."} 
[2026-08-28 10:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046ca05c0012d7b4a4005e127a00000015d18..."} 
[2026-08-28 10:44:59] local.INFO: Processing buffer {"connection_id":163357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046ca05c0012d7b4a4005e127a00000015d18..."} 
[2026-08-28 10:44:59] local.INFO: Packet analysis {"connection_id":163357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046ca"} 
[2026-08-28 10:44:59] local.INFO: Extracted packet for processing {"connection_id":163357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046ca"} 
[2026-08-28 10:44:59] local.INFO: GPS Element Parsed {"raw_longitude":763054656,"raw_latitude":98641824,"longitude_deg":76.3054656,"latitude_deg":9.8641824,"altitude":0,"angle":349,"satellites":24,"speed":34,"hex_longitude":"2d7b4a40","hex_latitude":"05e127a0","is_valid_coordinates":true} 
[2026-08-28 10:44:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700871936001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125230019306848256,"note":"Value kept but may cause issues"} 
[2026-08-28 10:44:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885742827540353024,"note":"Value kept but may cause issues"} 
[2026-08-28 10:44:59] 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-28 10:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787894040000,"timestamp_ms":1787894040000,"timestamp_seconds":1787894040,"priority":1,"record_length":96,"hex_timestamp":"000001a046ca05c0"} 
[2026-08-28 10:44:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:44:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 10:44:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":11,"data_length":795,"current_offset":136} 
[2026-08-28 10:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-08-28 10:44:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-28 10:44:59] local.WARNING: Large IO value detected {"io_id":109,"raw_value":3221610571,"note":"Value kept but may cause issues"} 
[2026-08-28 10:44:59] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6897604861185938053,"note":"Value kept but may cause issues"} 
[2026-08-28 10:44:59] local.WARNING: Large IO value detected {"io_id":70,"raw_value":3377342465,"note":"Value kept but may cause issues"} 
[2026-08-28 10:44:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2338783438,"corrected_to":0} 
[2026-08-28 10:44:59] local.WARNING: Large IO value detected {"io_id":46,"raw_value":3892391291,"note":"Value kept but may cause issues"} 
[2026-08-28 10:44:59] local.WARNING: Large IO value detected {"io_id":188,"raw_value":-1937673739676155904,"note":"Value kept but may cause issues"} 
[2026-08-28 10:44:59] local.WARNING: Large IO value detected {"io_id":71,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-28 10:44:59] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6141502619931967490,"note":"Value kept but may cause issues"} 
[2026-08-28 10:44:59] local.WARNING: Large IO value detected {"io_id":118,"raw_value":1653685755052033,"note":"Value kept but may cause issues"} 
[2026-08-28 10:44:59] local.WARNING: Large IO value detected {"io_id":95,"raw_value":1513258952819739136,"note":"Value kept but may cause issues"} 
[2026-08-28 10:44:59] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,217,85,24,241,157,16,231,160,191,45,64,222,23,10,66,156,186,22,102,230,109,1,240,27,227,70,224,4,113,205,54,46,144,239,43,103,2,188,71,206,118,95],"length":533,"final_offset":663,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2338783438,"validated":0}]} 
[2026-08-28 10:44:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":383828345290752,"timestamp_seconds":383828345290.752,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 10:44:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":163357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":163357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":163357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:44:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 10:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 10:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700871936001,"66":11678,"217":206,"85":15104,"24":34,"16":125230019306848256,"45":8885742827540353024},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 10:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 10:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 10:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700871936001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:44:59] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 10:44:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 10:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125230019306848256,"km_value":125230019306848.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:44:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885742827540353024,"description":"Unknown IO ID 45"} 
[2026-08-28 10:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700871936001,"power":11678,"unknown_217":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8885742827540353024}} 
[2026-08-28 10:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":163357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707073,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:44:59] local.INFO: GPS data processed {"connection_id":163357,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:44:59] local.INFO: Acknowledgment sent {"connection_id":163357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:45:14] local.INFO: TCP Data received {"connection_id":164621,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a046caf7f0012d1ac7c0071f85280037006910..."} 
[2026-08-28 10:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046caf7f0012d1ac7c0071f85280037006910..."} 
[2026-08-28 10:45:14] local.INFO: Processing buffer {"connection_id":164621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046caf7f0012d1ac7c0071f85280037006910..."} 
[2026-08-28 10:45:14] local.INFO: Packet analysis {"connection_id":164621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046ca"} 
[2026-08-28 10:45:14] local.INFO: Extracted packet for processing {"connection_id":164621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046ca"} 
[2026-08-28 10:45:14] local.INFO: GPS Element Parsed {"raw_longitude":756729792,"raw_latitude":119506216,"longitude_deg":75.6729792,"latitude_deg":11.9506216,"altitude":55,"angle":105,"satellites":16,"speed":13,"hex_longitude":"2d1ac7c0","hex_latitude":"071f8528","is_valid_coordinates":true} 
[2026-08-28 10: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-28 10:45:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700889856001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:45:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15803512554258432,"note":"Value kept but may cause issues"} 
[2026-08-28 10:45:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929440627200983040,"note":"Value kept but may cause issues"} 
[2026-08-28 10:45:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 10:45:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787894102000,"timestamp_ms":1787894102000,"timestamp_seconds":1787894102,"priority":1,"record_length":96,"hex_timestamp":"000001a046caf7f0"} 
[2026-08-28 10: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-28 10:45:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1024,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 10: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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-28 10:45:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10: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-28 10: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-28 10:45:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:45:14] local.INFO: Teltonika packet parsed successfully {"connection_id":164621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:45:14] local.INFO: Passing IMEI to GPS processor {"connection_id":164621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 10:45:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":164621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 10:45:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:45:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 10:45:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 10:45:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700889856001,"66":14157,"101":206,"83":41984,"24":13,"16":15803512554258432,"45":1929440627200983040},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-28 10:45:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 10:45:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 10:45:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700889856001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:45:14] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-28 10:45:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 10:45:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15803512554258432,"km_value":15803512554258.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:45:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929440627200983040,"description":"Unknown IO ID 45"} 
[2026-08-28 10:45:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700889856001,"power":14157,"unknown_101":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1929440627200983040}} 
[2026-08-28 10:45:14] local.INFO: DEBUG: GPS processor result {"connection_id":164621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707074,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:45:14] local.INFO: GPS data processed {"connection_id":164621,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:45:14] local.INFO: Acknowledgment sent {"connection_id":164621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:45:21] local.INFO: TCP Data received {"connection_id":164624,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164624,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:45:21] local.INFO: Processing buffer {"connection_id":164624,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:45:21] local.INFO: IMEI packet received {"connection_id":164624,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 10:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":164624,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:45:23] local.INFO: TCP Data received {"connection_id":164624,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164624,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:45:23] local.INFO: Processing buffer {"connection_id":164624,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:45:23] local.INFO: IMEI packet received {"connection_id":164624,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 10:45:23] local.INFO: IMEI acknowledgment sent {"connection_id":164624,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:45:24] local.INFO: TCP Data received {"connection_id":164624,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164624,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:45:24] local.INFO: Processing buffer {"connection_id":164624,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:45:24] local.INFO: IMEI packet received {"connection_id":164624,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 10:45:24] local.INFO: IMEI acknowledgment sent {"connection_id":164624,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:45:26] local.INFO: TCP Data received {"connection_id":164624,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164624,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:45:26] local.INFO: Processing buffer {"connection_id":164624,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:45:26] local.INFO: IMEI packet received {"connection_id":164624,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 10:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":164624,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:45:27] local.INFO: TCP Data received {"connection_id":164624,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a046ca53e0012d7b46c005e13c000002015918..."} 
[2026-08-28 10:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046ca53e0012d7b46c005e13c000002015918..."} 
[2026-08-28 10:45:27] local.INFO: Processing buffer {"connection_id":164624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046ca53e0012d7b46c005e13c000002015918..."} 
[2026-08-28 10:45:27] local.INFO: Packet analysis {"connection_id":164624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046ca"} 
[2026-08-28 10:45:27] local.INFO: Extracted packet for processing {"connection_id":164624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046ca"} 
[2026-08-28 10:45:27] local.INFO: GPS Element Parsed {"raw_longitude":763053760,"raw_latitude":98647040,"longitude_deg":76.305376,"latitude_deg":9.864704,"altitude":2,"angle":345,"satellites":24,"speed":0,"hex_longitude":"2d7b46c0","hex_latitude":"05e13c00","is_valid_coordinates":true} 
[2026-08-28 10:45:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:45:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700874240001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:45:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125230277004886016,"note":"Value kept but may cause issues"} 
[2026-08-28 10:45:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883983608938209280,"note":"Value kept but may cause issues"} 
[2026-08-28 10:45:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 10:45:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787894060000,"timestamp_ms":1787894060000,"timestamp_seconds":1787894060,"priority":1,"record_length":96,"hex_timestamp":"000001a046ca53e0"} 
[2026-08-28 10:45:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:45:27] 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-28 10:45:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-08-28 10:45:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1845,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:45:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:45:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:45:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:45:27] local.INFO: Teltonika packet parsed successfully {"connection_id":164624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:45:27] local.INFO: Passing IMEI to GPS processor {"connection_id":164624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:45:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":164624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:45:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:45:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 10:45:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 10:45:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700874240001,"66":11634,"217":206,"85":15104,"24":0,"16":125230277004886016,"45":8883983608938209280},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 10:45:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 10:45:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 10:45:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700874240001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:45:27] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 10:45:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 10:45:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125230277004886016,"km_value":125230277004886.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:45:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883983608938209280,"description":"Unknown IO ID 45"} 
[2026-08-28 10:45:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700874240001,"power":11634,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8883983608938209280}} 
[2026-08-28 10:45:27] local.INFO: DEBUG: GPS processor result {"connection_id":164624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707075,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:45:27] local.INFO: GPS data processed {"connection_id":164624,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:45:27] local.INFO: Acknowledgment sent {"connection_id":164624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:45:28] local.INFO: TCP Data received {"connection_id":164624,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a046caa5e8012d7b460005e13df80003016318..."} 
[2026-08-28 10:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046caa5e8012d7b460005e13df80003016318..."} 
[2026-08-28 10:45:28] local.INFO: Processing buffer {"connection_id":164624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046caa5e8012d7b460005e13df80003016318..."} 
[2026-08-28 10:45:28] local.INFO: Packet analysis {"connection_id":164624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046ca"} 
[2026-08-28 10:45:28] local.INFO: Extracted packet for processing {"connection_id":164624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046ca"} 
[2026-08-28 10:45:28] local.INFO: GPS Element Parsed {"raw_longitude":763053568,"raw_latitude":98647544,"longitude_deg":76.3053568,"latitude_deg":9.8647544,"altitude":3,"angle":355,"satellites":24,"speed":2,"hex_longitude":"2d7b4600","hex_latitude":"05e13df8","is_valid_coordinates":true} 
[2026-08-28 10:45:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:45:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700879360001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:45:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125230307069657088,"note":"Value kept but may cause issues"} 
[2026-08-28 10:45:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882998446521057280,"note":"Value kept but may cause issues"} 
[2026-08-28 10:45:28] 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-28 10:45:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787894081000,"timestamp_ms":1787894081000,"timestamp_seconds":1787894081,"priority":1,"record_length":96,"hex_timestamp":"000001a046caa5e8"} 
[2026-08-28 10:45:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:45:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 10:45:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-28 10:45:28] 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-28 10:45:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:45:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:45:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:45:28] local.INFO: Teltonika packet parsed successfully {"connection_id":164624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:45:28] local.INFO: Passing IMEI to GPS processor {"connection_id":164624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:45:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":164624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:45:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:45:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 10:45:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 10:45:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700879360001,"66":11721,"217":206,"85":15104,"24":2,"16":125230307069657088,"45":8882998446521057280},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 10:45:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 10:45:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 10:45:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700879360001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:45:28] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 10:45:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 10:45:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125230307069657088,"km_value":125230307069657.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:45:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882998446521057280,"description":"Unknown IO ID 45"} 
[2026-08-28 10:45:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700879360001,"power":11721,"unknown_217":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8882998446521057280}} 
[2026-08-28 10:45:28] local.INFO: DEBUG: GPS processor result {"connection_id":164624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707076,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:45:28] local.INFO: GPS data processed {"connection_id":164624,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:45:28] local.INFO: Acknowledgment sent {"connection_id":164624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:45:31] local.INFO: TCP Data received {"connection_id":163622,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:45:31] local.INFO: Processing buffer {"connection_id":163622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:45:31] local.INFO: IMEI packet received {"connection_id":163622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 10:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":163622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:45:36] local.INFO: TCP Data received {"connection_id":163622,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:45:36] local.INFO: Processing buffer {"connection_id":163622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:45:36] local.INFO: IMEI packet received {"connection_id":163622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 10:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":163622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:45:37] local.INFO: TCP Data received {"connection_id":163622,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a046c8ae00012d34c14006aa4840000900e629..."} 
[2026-08-28 10:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046c8ae00012d34c14006aa4840000900e629..."} 
[2026-08-28 10:45:37] local.INFO: Processing buffer {"connection_id":163622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046c8ae00012d34c14006aa4840000900e629..."} 
[2026-08-28 10:45:37] local.INFO: Packet analysis {"connection_id":163622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046c8"} 
[2026-08-28 10:45:37] local.INFO: Extracted packet for processing {"connection_id":163622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046c8"} 
[2026-08-28 10:45:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700774656001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 10:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787893952000,"timestamp_ms":1787893952000,"timestamp_seconds":1787893952,"priority":1,"record_length":96,"hex_timestamp":"000001a046c8ae00"} 
[2026-08-28 10:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 10:45:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700774656001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700774656001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:45:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:45:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:45: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-28 10:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700774656001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:45:37] 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":707077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:45:37] local.INFO: GPS data processed {"connection_id":163622,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:45:37] local.INFO: Acknowledgment sent {"connection_id":163622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:45:45] local.INFO: TCP Data received {"connection_id":164621,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a046caffc0012d1acb00071f84f00038005810..."} 
[2026-08-28 10:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046caffc0012d1acb00071f84f00038005810..."} 
[2026-08-28 10:45:45] local.INFO: Processing buffer {"connection_id":164621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046caffc0012d1acb00071f84f00038005810..."} 
[2026-08-28 10:45:45] local.INFO: Packet analysis {"connection_id":164621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046ca"} 
[2026-08-28 10:45:45] local.INFO: Extracted packet for processing {"connection_id":164621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046ca"} 
[2026-08-28 10:45:45] local.INFO: GPS Element Parsed {"raw_longitude":756730624,"raw_latitude":119506160,"longitude_deg":75.6730624,"latitude_deg":11.950616,"altitude":56,"angle":88,"satellites":16,"speed":16,"hex_longitude":"2d1acb00","hex_latitude":"071f84f0","is_valid_coordinates":true} 
[2026-08-28 10: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-28 10:45:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700890112001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:45:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15803551208964096,"note":"Value kept but may cause issues"} 
[2026-08-28 10:45:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929722102177671168,"note":"Value kept but may cause issues"} 
[2026-08-28 10:45:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 10:45:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787894104000,"timestamp_ms":1787894104000,"timestamp_seconds":1787894104,"priority":1,"record_length":96,"hex_timestamp":"000001a046caffc0"} 
[2026-08-28 10: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-28 10:45:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1024,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 10: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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-28 10:45:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10: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-28 10: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-28 10:45:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:45:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:45:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 10:45:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 10:45:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:45:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 10:45:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 10:45:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700890112001,"66":14233,"101":206,"83":41984,"24":16,"16":15803551208964096,"45":1929722102177671168},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-28 10:45:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 10:45:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 10:45:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700890112001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:45:45] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-28 10:45:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 10:45:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15803551208964096,"km_value":15803551208964.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:45:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929722102177671168,"description":"Unknown IO ID 45"} 
[2026-08-28 10:45:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700890112001,"power":14233,"unknown_101":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1929722102177671168}} 
[2026-08-28 10:45:45] local.INFO: DEBUG: GPS processor result {"connection_id":164621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707078,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:45:45] local.INFO: GPS data processed {"connection_id":164621,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:45:45] local.INFO: Acknowledgment sent {"connection_id":164621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:45:59] local.INFO: TCP Data received {"connection_id":164624,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a046caf7f0012d7b450005e144d80003015516..."} 
[2026-08-28 10:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046caf7f0012d7b450005e144d80003015516..."} 
[2026-08-28 10:45:59] local.INFO: Processing buffer {"connection_id":164624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046caf7f0012d7b450005e144d80003015516..."} 
[2026-08-28 10:45:59] local.INFO: Packet analysis {"connection_id":164624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046ca"} 
[2026-08-28 10:45:59] local.INFO: Extracted packet for processing {"connection_id":164624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046ca"} 
[2026-08-28 10:45:59] local.INFO: GPS Element Parsed {"raw_longitude":763053312,"raw_latitude":98649304,"longitude_deg":76.3053312,"latitude_deg":9.8649304,"altitude":3,"angle":341,"satellites":22,"speed":1,"hex_longitude":"2d7b4500","hex_latitude":"05e144d8","is_valid_coordinates":true} 
[2026-08-28 10:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700884736001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125230397263970304,"note":"Value kept but may cause issues"} 
[2026-08-28 10:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882787340288653312,"note":"Value kept but may cause issues"} 
[2026-08-28 10:45:59] 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-28 10:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787894102000,"timestamp_ms":1787894102000,"timestamp_seconds":1787894102,"priority":1,"record_length":96,"hex_timestamp":"000001a046caf7f0"} 
[2026-08-28 10:45:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:45:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 10:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-28 10:45:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2232,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:45:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:45:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":164624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":164624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":164624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:45:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 10:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 10:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700884736001,"66":11580,"217":206,"85":15104,"24":1,"16":125230397263970304,"45":8882787340288653312},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 10:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 10:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 10:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700884736001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:45:59] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 10:45:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 10:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125230397263970304,"km_value":125230397263970.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:45:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882787340288653312,"description":"Unknown IO ID 45"} 
[2026-08-28 10:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700884736001,"power":11580,"unknown_217":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8882787340288653312}} 
[2026-08-28 10:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":164624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707079,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:45:59] local.INFO: GPS data processed {"connection_id":164624,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:45:59] local.INFO: Acknowledgment sent {"connection_id":164624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:46:09] local.INFO: TCP Data received {"connection_id":163623,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 10:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163623,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 10:46:09] local.INFO: Processing buffer {"connection_id":163623,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 10:46:09] local.INFO: IMEI packet received {"connection_id":163623,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 10:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":163623,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:46:09] local.INFO: TCP Data received {"connection_id":163622,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a046c8ae00012d34c14006aa4840000900e629..."} 
[2026-08-28 10:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046c8ae00012d34c14006aa4840000900e629..."} 
[2026-08-28 10:46:09] local.INFO: Processing buffer {"connection_id":163622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046c8ae00012d34c14006aa4840000900e629..."} 
[2026-08-28 10:46:09] local.INFO: Packet analysis {"connection_id":163622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046c8"} 
[2026-08-28 10:46:09] local.INFO: Extracted packet for processing {"connection_id":163622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046c8"} 
[2026-08-28 10:46:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700774656001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:46:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:46:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 10:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787893952000,"timestamp_ms":1787893952000,"timestamp_seconds":1787893952,"priority":1,"record_length":96,"hex_timestamp":"000001a046c8ae00"} 
[2026-08-28 10:46:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:46:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 10:46:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:46:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:46:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:46:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700774656001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700774656001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:46:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:46:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:46: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-28 10:46:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700774656001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:46:09] 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":707080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:46:09] local.INFO: GPS data processed {"connection_id":163622,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:46:09] local.INFO: Acknowledgment sent {"connection_id":163622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:46:12] local.INFO: TCP Data received {"connection_id":163623,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 10:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163623,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 10:46:12] local.INFO: Processing buffer {"connection_id":163623,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 10:46:12] local.INFO: IMEI packet received {"connection_id":163623,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 10:46:12] local.INFO: IMEI acknowledgment sent {"connection_id":163623,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:46:12] local.INFO: TCP Data received {"connection_id":163623,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 10:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163623,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 10:46:12] local.INFO: Processing buffer {"connection_id":163623,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 10:46:12] local.INFO: IMEI packet received {"connection_id":163623,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 10:46:12] local.INFO: IMEI acknowledgment sent {"connection_id":163623,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:46:13] local.INFO: TCP Data received {"connection_id":163623,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 10:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163623,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 10:46:13] local.INFO: Processing buffer {"connection_id":163623,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 10:46:13] local.INFO: IMEI packet received {"connection_id":163623,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 10:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":163623,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:46:21] local.INFO: TCP Data received {"connection_id":163624,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163624,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:46:21] local.INFO: Processing buffer {"connection_id":163624,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:46:21] local.INFO: IMEI packet received {"connection_id":163624,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 10:46:21] local.INFO: IMEI acknowledgment sent {"connection_id":163624,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:46:26] local.INFO: TCP Data received {"connection_id":163624,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163624,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:46:26] local.INFO: Processing buffer {"connection_id":163624,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:46:26] local.INFO: IMEI packet received {"connection_id":163624,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 10:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":163624,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:46:27] local.INFO: TCP Data received {"connection_id":163624,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a046cbe638012d7b4d8005e141780002002212..."} 
[2026-08-28 10:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046cbe638012d7b4d8005e141780002002212..."} 
[2026-08-28 10:46:27] local.INFO: Processing buffer {"connection_id":163624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046cbe638012d7b4d8005e141780002002212..."} 
[2026-08-28 10:46:27] local.INFO: Packet analysis {"connection_id":163624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046cb"} 
[2026-08-28 10:46:27] local.INFO: Extracted packet for processing {"connection_id":163624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046cb"} 
[2026-08-28 10:46:27] local.INFO: GPS Element Parsed {"raw_longitude":763055488,"raw_latitude":98648440,"longitude_deg":76.3055488,"latitude_deg":9.864844,"altitude":2,"angle":34,"satellites":18,"speed":0,"hex_longitude":"2d7b4d80","hex_latitude":"05e14178","is_valid_coordinates":true} 
[2026-08-28 10:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:46:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700905472001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:46:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231007149326336,"note":"Value kept but may cause issues"} 
[2026-08-28 10:46:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884898402614208512,"note":"Value kept but may cause issues"} 
[2026-08-28 10:46:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 10:46:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787894163000,"timestamp_ms":1787894163000,"timestamp_seconds":1787894163,"priority":1,"record_length":96,"hex_timestamp":"000001a046cbe638"} 
[2026-08-28 10:46:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:46:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 10:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-28 10:46:27] 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-28 10:46:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:46:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:46:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:46:27] local.INFO: Teltonika packet parsed successfully {"connection_id":163624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:46:27] local.INFO: Passing IMEI to GPS processor {"connection_id":163624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:46:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":163624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:46:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:46:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 10:46:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 10:46:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700905472001,"66":11743,"217":206,"85":15104,"24":0,"16":125231007149326336,"45":8884898402614208512},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 10:46:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 10:46:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 10:46:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700905472001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:46:27] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 10:46:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 10:46:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231007149326336,"km_value":125231007149326.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:46:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884898402614208512,"description":"Unknown IO ID 45"} 
[2026-08-28 10:46:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700905472001,"power":11743,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8884898402614208512}} 
[2026-08-28 10:46:27] 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":707081,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:46:27] local.INFO: GPS data processed {"connection_id":163624,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:46:27] local.INFO: Acknowledgment sent {"connection_id":163624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:46:31] local.INFO: TCP Data received {"connection_id":164625,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:46:31] local.INFO: Processing buffer {"connection_id":164625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:46:31] local.INFO: IMEI packet received {"connection_id":164625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 10:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":164625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:46:36] local.INFO: TCP Data received {"connection_id":164625,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:46:36] local.INFO: Processing buffer {"connection_id":164625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:46:36] local.INFO: IMEI packet received {"connection_id":164625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 10:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":164625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:46:37] local.INFO: TCP Data received {"connection_id":164625,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a046c8ae00012d34c14006aa4840000900e629..."} 
[2026-08-28 10:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046c8ae00012d34c14006aa4840000900e629..."} 
[2026-08-28 10:46:37] local.INFO: Processing buffer {"connection_id":164625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046c8ae00012d34c14006aa4840000900e629..."} 
[2026-08-28 10:46:37] local.INFO: Packet analysis {"connection_id":164625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046c8"} 
[2026-08-28 10:46:37] local.INFO: Extracted packet for processing {"connection_id":164625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046c8"} 
[2026-08-28 10:46:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700774656001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 10:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787893952000,"timestamp_ms":1787893952000,"timestamp_seconds":1787893952,"priority":1,"record_length":96,"hex_timestamp":"000001a046c8ae00"} 
[2026-08-28 10:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 10:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:46:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700774656001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700774656001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:46:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:46:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:46: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-28 10:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700774656001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":164625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:46:37] local.INFO: GPS data processed {"connection_id":164625,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:46:37] local.INFO: Acknowledgment sent {"connection_id":164625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:46:58] local.INFO: TCP Data received {"connection_id":163624,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a046cbea20012d7b4dc005e141a00002001313..."} 
[2026-08-28 10:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046cbea20012d7b4dc005e141a00002001313..."} 
[2026-08-28 10:46:58] local.INFO: Processing buffer {"connection_id":163624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046cbea20012d7b4dc005e141a00002001313..."} 
[2026-08-28 10:46:58] local.INFO: Packet analysis {"connection_id":163624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046cb"} 
[2026-08-28 10:46:58] local.INFO: Extracted packet for processing {"connection_id":163624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046cb"} 
[2026-08-28 10:46:58] local.INFO: GPS Element Parsed {"raw_longitude":763055552,"raw_latitude":98648480,"longitude_deg":76.3055552,"latitude_deg":9.864848,"altitude":2,"angle":19,"satellites":19,"speed":0,"hex_longitude":"2d7b4dc0","hex_latitude":"05e141a0","is_valid_coordinates":true} 
[2026-08-28 10:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:46:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700905728001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:46:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231011444293632,"note":"Value kept but may cause issues"} 
[2026-08-28 10:46:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884898402614212608,"note":"Value kept but may cause issues"} 
[2026-08-28 10:46:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 10:46:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787894164000,"timestamp_ms":1787894164000,"timestamp_seconds":1787894164,"priority":1,"record_length":96,"hex_timestamp":"000001a046cbea20"} 
[2026-08-28 10:46:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:46:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 10:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-28 10:46:58] 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-28 10:46:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:46:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:46:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:46:58] local.INFO: Teltonika packet parsed successfully {"connection_id":163624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:46:58] local.INFO: Passing IMEI to GPS processor {"connection_id":163624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:46:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":163624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:46:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:46:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 10:46:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 10:46:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700905728001,"66":11830,"217":206,"85":15104,"24":0,"16":125231011444293632,"45":8884898402614212608},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 10:46:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 10:46:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 10:46:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700905728001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:46:58] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 10:46:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 10:46:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231011444293632,"km_value":125231011444293.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:46:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884898402614212608,"description":"Unknown IO ID 45"} 
[2026-08-28 10:46:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700905728001,"power":11830,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8884898402614212608}} 
[2026-08-28 10:46:59] 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":707083,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:46:59] local.INFO: GPS data processed {"connection_id":163624,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:46:59] local.INFO: Acknowledgment sent {"connection_id":163624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:47:16] local.INFO: TCP Data received {"connection_id":164625,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a046c8ae00012d34c14006aa4840000900e629..."} 
[2026-08-28 10:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046c8ae00012d34c14006aa4840000900e629..."} 
[2026-08-28 10:47:16] local.INFO: Processing buffer {"connection_id":164625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046c8ae00012d34c14006aa4840000900e629..."} 
[2026-08-28 10:47:16] local.INFO: Packet analysis {"connection_id":164625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046c8"} 
[2026-08-28 10:47:16] local.INFO: Extracted packet for processing {"connection_id":164625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046c8"} 
[2026-08-28 10:47:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10: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-28 10:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700774656001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:47:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10: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-28 10:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787893952000,"timestamp_ms":1787893952000,"timestamp_seconds":1787893952,"priority":1,"record_length":96,"hex_timestamp":"000001a046c8ae00"} 
[2026-08-28 10: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-28 10:47:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 10:47: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-28 10: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-28 10: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-28 10:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:47: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-28 10:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700774656001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700774656001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:47:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:47:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10: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-28 10:47:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700774656001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":164625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:47:16] local.INFO: GPS data processed {"connection_id":164625,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:47:16] local.INFO: Acknowledgment sent {"connection_id":164625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:47:21] local.INFO: TCP Data received {"connection_id":163625,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163625,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:47:21] local.INFO: Processing buffer {"connection_id":163625,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:47:21] local.INFO: IMEI packet received {"connection_id":163625,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 10:47:21] local.INFO: IMEI acknowledgment sent {"connection_id":163625,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:47:26] local.INFO: TCP Data received {"connection_id":163625,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163625,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:47:26] local.INFO: Processing buffer {"connection_id":163625,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:47:26] local.INFO: IMEI packet received {"connection_id":163625,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 10:47:26] local.INFO: IMEI acknowledgment sent {"connection_id":163625,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:47:27] local.INFO: TCP Data received {"connection_id":163625,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a046cbee08012d7b4dc005e141c00002000714..."} 
[2026-08-28 10:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046cbee08012d7b4dc005e141c00002000714..."} 
[2026-08-28 10:47:27] local.INFO: Processing buffer {"connection_id":163625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046cbee08012d7b4dc005e141c00002000714..."} 
[2026-08-28 10:47:27] local.INFO: Packet analysis {"connection_id":163625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046cb"} 
[2026-08-28 10:47:27] local.INFO: Extracted packet for processing {"connection_id":163625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046cb"} 
[2026-08-28 10:47:27] local.INFO: GPS Element Parsed {"raw_longitude":763055552,"raw_latitude":98648512,"longitude_deg":76.3055552,"latitude_deg":9.8648512,"altitude":2,"angle":7,"satellites":20,"speed":1,"hex_longitude":"2d7b4dc0","hex_latitude":"05e141c0","is_valid_coordinates":true} 
[2026-08-28 10:47:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:47:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700905984001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:47:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231011444293632,"note":"Value kept but may cause issues"} 
[2026-08-28 10:47:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884968771358400512,"note":"Value kept but may cause issues"} 
[2026-08-28 10:47:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 10:47:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787894165000,"timestamp_ms":1787894165000,"timestamp_seconds":1787894165,"priority":1,"record_length":96,"hex_timestamp":"000001a046cbee08"} 
[2026-08-28 10:47:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:47:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 10:47:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-08-28 10:47:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":914,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:47:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:47:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:47:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:47:27] local.INFO: Teltonika packet parsed successfully {"connection_id":163625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:47:27] local.INFO: Passing IMEI to GPS processor {"connection_id":163625,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:47:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":163625,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:47:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:47:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 10:47:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 10:47:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700905984001,"66":11830,"217":206,"85":15104,"24":1,"16":125231011444293632,"45":8884968771358400512},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 10:47:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 10:47:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 10:47:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700905984001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:47:27] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 10:47:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 10:47:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231011444293632,"km_value":125231011444293.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:47:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884968771358400512,"description":"Unknown IO ID 45"} 
[2026-08-28 10:47:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700905984001,"power":11830,"unknown_217":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8884968771358400512}} 
[2026-08-28 10:47:27] 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":707085,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:47:27] local.INFO: GPS data processed {"connection_id":163625,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:47:27] local.INFO: Acknowledgment sent {"connection_id":163625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:47:31] local.INFO: TCP Data received {"connection_id":165966,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:47:31] local.INFO: Processing buffer {"connection_id":165966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:47:31] local.INFO: IMEI packet received {"connection_id":165966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 10:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":165966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:47:36] local.INFO: TCP Data received {"connection_id":165966,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:47:36] local.INFO: Processing buffer {"connection_id":165966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:47:36] local.INFO: IMEI packet received {"connection_id":165966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 10:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":165966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:47:38] local.INFO: TCP Data received {"connection_id":165966,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a046c8ae00012d34c14006aa4840000900e629..."} 
[2026-08-28 10:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046c8ae00012d34c14006aa4840000900e629..."} 
[2026-08-28 10:47:38] local.INFO: Processing buffer {"connection_id":165966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046c8ae00012d34c14006aa4840000900e629..."} 
[2026-08-28 10:47:38] local.INFO: Packet analysis {"connection_id":165966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046c8"} 
[2026-08-28 10:47:38] local.INFO: Extracted packet for processing {"connection_id":165966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046c8"} 
[2026-08-28 10:47:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700774656001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 10:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787893952000,"timestamp_ms":1787893952000,"timestamp_seconds":1787893952,"priority":1,"record_length":96,"hex_timestamp":"000001a046c8ae00"} 
[2026-08-28 10:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 10:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:47:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":165966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":165966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":165966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700774656001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700774656001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:47:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:47:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:47: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-28 10:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700774656001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":165966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:47:38] local.INFO: GPS data processed {"connection_id":165966,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:47:38] local.INFO: Acknowledgment sent {"connection_id":165966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:47:58] local.INFO: TCP Data received {"connection_id":163625,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a046cc0960012d7b4ec005e142680002001914..."} 
[2026-08-28 10:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046cc0960012d7b4ec005e142680002001914..."} 
[2026-08-28 10:47:58] local.INFO: Processing buffer {"connection_id":163625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046cc0960012d7b4ec005e142680002001914..."} 
[2026-08-28 10:47:58] local.INFO: Packet analysis {"connection_id":163625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046cc"} 
[2026-08-28 10:47:58] local.INFO: Extracted packet for processing {"connection_id":163625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046cc"} 
[2026-08-28 10:47:58] local.INFO: GPS Element Parsed {"raw_longitude":763055808,"raw_latitude":98648680,"longitude_deg":76.3055808,"latitude_deg":9.864868,"altitude":2,"angle":25,"satellites":20,"speed":1,"hex_longitude":"2d7b4ec0","hex_latitude":"05e14268","is_valid_coordinates":true} 
[2026-08-28 10:47:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:47:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700906240001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:47:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231028624162816,"note":"Value kept but may cause issues"} 
[2026-08-28 10:47:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884968771358408704,"note":"Value kept but may cause issues"} 
[2026-08-28 10:47:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 10:47:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787894172000,"timestamp_ms":1787894172000,"timestamp_seconds":1787894172,"priority":1,"record_length":96,"hex_timestamp":"000001a046cc0960"} 
[2026-08-28 10:47:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:47:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 10:47:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-08-28 10:47:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":914,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:47:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:47:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:47:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:47:58] local.INFO: Teltonika packet parsed successfully {"connection_id":163625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:47:58] local.INFO: Passing IMEI to GPS processor {"connection_id":163625,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:47:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":163625,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:47:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:47:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 10:47:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 10:47:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700906240001,"66":11776,"217":206,"85":15104,"24":1,"16":125231028624162816,"45":8884968771358408704},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 10:47:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 10:47:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 10:47:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700906240001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:47:58] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 10:47:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 10:47:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231028624162816,"km_value":125231028624162.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:47:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884968771358408704,"description":"Unknown IO ID 45"} 
[2026-08-28 10:47:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700906240001,"power":11776,"unknown_217":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8884968771358408704}} 
[2026-08-28 10:47:58] 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":707087,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:47:58] local.INFO: GPS data processed {"connection_id":163625,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:47:58] local.INFO: Acknowledgment sent {"connection_id":163625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:48:10] local.INFO: TCP Data received {"connection_id":165966,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a046c8ae00012d34c14006aa4840000900e629..."} 
[2026-08-28 10:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046c8ae00012d34c14006aa4840000900e629..."} 
[2026-08-28 10:48:10] local.INFO: Processing buffer {"connection_id":165966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046c8ae00012d34c14006aa4840000900e629..."} 
[2026-08-28 10:48:10] local.INFO: Packet analysis {"connection_id":165966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046c8"} 
[2026-08-28 10:48:10] local.INFO: Extracted packet for processing {"connection_id":165966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046c8"} 
[2026-08-28 10:48:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700774656001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:48:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 10:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787893952000,"timestamp_ms":1787893952000,"timestamp_seconds":1787893952,"priority":1,"record_length":96,"hex_timestamp":"000001a046c8ae00"} 
[2026-08-28 10:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:48:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 10:48:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":165966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":165966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":165966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:48:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700774656001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700774656001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:48:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:48:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700774656001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":165966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:48:10] local.INFO: GPS data processed {"connection_id":165966,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:48:10] local.INFO: Acknowledgment sent {"connection_id":165966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:48:26] local.INFO: TCP Data received {"connection_id":164626,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164626,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:48:26] local.INFO: Processing buffer {"connection_id":164626,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:48:26] local.INFO: IMEI packet received {"connection_id":164626,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 10:48:26] local.INFO: IMEI acknowledgment sent {"connection_id":164626,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:48:31] local.INFO: TCP Data received {"connection_id":164626,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164626,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:48:31] local.INFO: Processing buffer {"connection_id":164626,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:48:31] local.INFO: IMEI packet received {"connection_id":164626,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 10:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":164626,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:48:32] local.INFO: TCP Data received {"connection_id":164626,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a046cc0d48012d7b4f0005e142700002002614..."} 
[2026-08-28 10:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046cc0d48012d7b4f0005e142700002002614..."} 
[2026-08-28 10:48:32] local.INFO: Processing buffer {"connection_id":164626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046cc0d48012d7b4f0005e142700002002614..."} 
[2026-08-28 10:48:32] local.INFO: Packet analysis {"connection_id":164626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046cc"} 
[2026-08-28 10:48:32] local.INFO: Extracted packet for processing {"connection_id":164626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046cc"} 
[2026-08-28 10:48:32] local.INFO: GPS Element Parsed {"raw_longitude":763055872,"raw_latitude":98648688,"longitude_deg":76.3055872,"latitude_deg":9.8648688,"altitude":2,"angle":38,"satellites":20,"speed":1,"hex_longitude":"2d7b4f00","hex_latitude":"05e14270","is_valid_coordinates":true} 
[2026-08-28 10:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700908032001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231032919130112,"note":"Value kept but may cause issues"} 
[2026-08-28 10:48:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885250246335162368,"note":"Value kept but may cause issues"} 
[2026-08-28 10:48:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 10:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787894173000,"timestamp_ms":1787894173000,"timestamp_seconds":1787894173,"priority":1,"record_length":96,"hex_timestamp":"000001a046cc0d48"} 
[2026-08-28 10:48:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:48:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 10:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-28 10:48:32] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-28 10:48:32] local.WARNING: Large IO value detected {"io_id":232,"raw_value":4026531840,"note":"Value kept but may cause issues"} 
[2026-08-28 10:48:32] local.WARNING: Large IO value detected {"io_id":70,"raw_value":3420606465,"note":"Value kept but may cause issues"} 
[2026-08-28 10:48:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1608057038,"corrected_to":0} 
[2026-08-28 10:48:32] local.WARNING: Large IO value detected {"io_id":188,"raw_value":3907977216,"note":"Value kept but may cause issues"} 
[2026-08-28 10:48:32] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,217,85,24,241,157,16,232,160,238,45,192,65,2,20,10,66,234,19,230,128,1,240,223,227,70,225,4,113,205,222,77,136,18,239,188],"length":434,"final_offset":564,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1608057038,"validated":0}]} 
[2026-08-28 10:48:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144142761765961728,"timestamp_seconds":144142761765961.72,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 10:48:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":164626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":164626,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":164626,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:48:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 10:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 10:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700908032001,"66":11776,"217":206,"85":15104,"24":1,"16":125231032919130112,"45":8885250246335162368},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 10:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 10:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 10:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700908032001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:48:32] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 10:48:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 10:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231032919130112,"km_value":125231032919130.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:48:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885250246335162368,"description":"Unknown IO ID 45"} 
[2026-08-28 10:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700908032001,"power":11776,"unknown_217":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8885250246335162368}} 
[2026-08-28 10:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":164626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707089,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:48:32] local.INFO: GPS data processed {"connection_id":164626,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:48:32] local.INFO: Acknowledgment sent {"connection_id":164626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:48:36] local.INFO: TCP Data received {"connection_id":163626,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:48:36] local.INFO: Processing buffer {"connection_id":163626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:48:36] local.INFO: IMEI packet received {"connection_id":163626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 10:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":163626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:48:37] local.INFO: TCP Data received {"connection_id":164626,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a046cc1900012d7b500005e142700002003614..."} 
[2026-08-28 10:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046cc1900012d7b500005e142700002003614..."} 
[2026-08-28 10:48:37] local.INFO: Processing buffer {"connection_id":164626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046cc1900012d7b500005e142700002003614..."} 
[2026-08-28 10:48:37] local.INFO: Packet analysis {"connection_id":164626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046cc"} 
[2026-08-28 10:48:37] local.INFO: Extracted packet for processing {"connection_id":164626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046cc"} 
[2026-08-28 10:48:37] local.INFO: GPS Element Parsed {"raw_longitude":763056128,"raw_latitude":98648688,"longitude_deg":76.3056128,"latitude_deg":9.8648688,"altitude":2,"angle":54,"satellites":20,"speed":2,"hex_longitude":"2d7b5000","hex_latitude":"05e14270","is_valid_coordinates":true} 
[2026-08-28 10:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700908288001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231045804032000,"note":"Value kept but may cause issues"} 
[2026-08-28 10:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885320615079342080,"note":"Value kept but may cause issues"} 
[2026-08-28 10:48: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-28 10:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787894176000,"timestamp_ms":1787894176000,"timestamp_seconds":1787894176,"priority":1,"record_length":96,"hex_timestamp":"000001a046cc1900"} 
[2026-08-28 10:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 10:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-28 10:48:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-28 10:48:37] local.WARNING: Large IO value detected {"io_id":232,"raw_value":4043309056,"note":"Value kept but may cause issues"} 
[2026-08-28 10:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3741371743,"note":"Value kept but may cause issues"} 
[2026-08-28 10:48:37] local.WARNING: Large IO value detected {"io_id":70,"raw_value":3420862465,"note":"Value kept but may cause issues"} 
[2026-08-28 10:48:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1608057038,"corrected_to":0} 
[2026-08-28 10:48:37] local.WARNING: Large IO value detected {"io_id":77,"raw_value":2147868993,"note":"Value kept but may cause issues"} 
[2026-08-28 10:48:37] local.WARNING: Large IO value detected {"io_id":188,"raw_value":3908042752,"note":"Value kept but may cause issues"} 
[2026-08-28 10:48:37] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,217,85,24,241,157,16,232,160,9,45,192,66,2,20,10,238,65,234,1,240,54,227,70,225,4,113,205,226,77,104,17,239,188],"length":434,"final_offset":564,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1608057038,"validated":0}]} 
[2026-08-28 10:48:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144157055417122816,"timestamp_seconds":144157055417122.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 10:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164626,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164626,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 10:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 10:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700908288001,"66":11602,"217":206,"85":15104,"24":2,"16":125231045804032000,"45":8885320615079342080},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 10:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 10:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 10:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700908288001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:48:37] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 10:48:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 10:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231045804032000,"km_value":125231045804032,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885320615079342080,"description":"Unknown IO ID 45"} 
[2026-08-28 10:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700908288001,"power":11602,"unknown_217":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8885320615079342080}} 
[2026-08-28 10:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":164626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707090,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:48:37] local.INFO: GPS data processed {"connection_id":164626,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:48:37] local.INFO: Acknowledgment sent {"connection_id":164626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:48:41] local.INFO: TCP Data received {"connection_id":163626,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:48:41] local.INFO: Processing buffer {"connection_id":163626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:48:41] local.INFO: IMEI packet received {"connection_id":163626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 10:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":163626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:48:42] local.INFO: TCP Data received {"connection_id":163626,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a046cd45c8012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046cd45c8012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:48:42] local.INFO: Processing buffer {"connection_id":163626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046cd45c8012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:48:42] local.INFO: Packet analysis {"connection_id":163626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046cd"} 
[2026-08-28 10:48:42] local.INFO: Extracted packet for processing {"connection_id":163626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046cd"} 
[2026-08-28 10:48:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10: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-28 10:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700851712001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:48:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10: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-28 10:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787894253000,"timestamp_ms":1787894253000,"timestamp_seconds":1787894253,"priority":1,"record_length":96,"hex_timestamp":"000001a046cd45c8"} 
[2026-08-28 10: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-28 10:48:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10: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-28 10: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-28 10: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-28 10: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-28 10:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:48: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-28 10:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700851712001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700851712001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:48:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:48:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10: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-28 10:48:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700851712001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":163626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:48:42] local.INFO: GPS data processed {"connection_id":163626,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:48:42] local.INFO: Acknowledgment sent {"connection_id":163626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:48:47] local.INFO: TCP Data received {"connection_id":163626,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a046cd45c8012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046cd45c8012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:48:47] local.INFO: Processing buffer {"connection_id":163626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046cd45c8012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:48:47] local.INFO: Packet analysis {"connection_id":163626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046cd"} 
[2026-08-28 10:48:47] local.INFO: Extracted packet for processing {"connection_id":163626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046cd"} 
[2026-08-28 10:48:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:48:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700851712001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:48:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:48:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:48: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-28 10:48:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787894253000,"timestamp_ms":1787894253000,"timestamp_seconds":1787894253,"priority":1,"record_length":96,"hex_timestamp":"000001a046cd45c8"} 
[2026-08-28 10:48:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:48:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 10:48: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-28 10:48:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:48:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:48:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:48:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:48:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:48:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:48:47] 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-28 10:48:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:48:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:48:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700851712001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:48:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:48:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:48:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700851712001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:48:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:48:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:48: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-28 10:48:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:48:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700851712001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:48:47] local.INFO: DEBUG: GPS processor result {"connection_id":163626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:48:47] local.INFO: GPS data processed {"connection_id":163626,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:48:47] local.INFO: Acknowledgment sent {"connection_id":163626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:49:21] local.INFO: TCP Data received {"connection_id":163627,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163627,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:49:21] local.INFO: Processing buffer {"connection_id":163627,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:49:21] local.INFO: IMEI packet received {"connection_id":163627,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 10:49:21] local.INFO: IMEI acknowledgment sent {"connection_id":163627,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:49:22] local.INFO: TCP Data received {"connection_id":163627,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163627,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:49:22] local.INFO: Processing buffer {"connection_id":163627,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:49:22] local.INFO: IMEI packet received {"connection_id":163627,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 10:49:22] local.INFO: IMEI acknowledgment sent {"connection_id":163627,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:49:26] local.INFO: TCP Data received {"connection_id":163627,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163627,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:49:26] local.INFO: Processing buffer {"connection_id":163627,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 10:49:26] local.INFO: IMEI packet received {"connection_id":163627,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 10:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":163627,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:49:27] local.INFO: TCP Data received {"connection_id":163627,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a046cc6720012d7b504005e142900002002f14..."} 
[2026-08-28 10:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046cc6720012d7b504005e142900002002f14..."} 
[2026-08-28 10:49:27] local.INFO: Processing buffer {"connection_id":163627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046cc6720012d7b504005e142900002002f14..."} 
[2026-08-28 10:49:27] local.INFO: Packet analysis {"connection_id":163627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046cc"} 
[2026-08-28 10:49:27] local.INFO: Extracted packet for processing {"connection_id":163627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046cc"} 
[2026-08-28 10:49:27] local.INFO: GPS Element Parsed {"raw_longitude":763056192,"raw_latitude":98648720,"longitude_deg":76.3056192,"latitude_deg":9.864872,"altitude":2,"angle":47,"satellites":20,"speed":0,"hex_longitude":"2d7b5040","hex_latitude":"05e14290","is_valid_coordinates":true} 
[2026-08-28 10:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:49:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700909056001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:49:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231050098999296,"note":"Value kept but may cause issues"} 
[2026-08-28 10:49:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885602090056052736,"note":"Value kept but may cause issues"} 
[2026-08-28 10:49:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 10:49:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787894196000,"timestamp_ms":1787894196000,"timestamp_seconds":1787894196,"priority":1,"record_length":96,"hex_timestamp":"000001a046cc6720"} 
[2026-08-28 10:49:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:49:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 10:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-08-28 10:49:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1161,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:49:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:49:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":163627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":163627,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":163627,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:49:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 10:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 10:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700909056001,"66":11624,"217":206,"85":15104,"24":0,"16":125231050098999296,"45":8885602090056052736},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 10:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 10:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 10:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700909056001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:49:27] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 10:49:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 10:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231050098999296,"km_value":125231050098999.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:49:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885602090056052736,"description":"Unknown IO ID 45"} 
[2026-08-28 10:49:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700909056001,"power":11624,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8885602090056052736}} 
[2026-08-28 10:49:27] 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":707093,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:49:27] local.INFO: GPS data processed {"connection_id":163627,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:49:27] local.INFO: Acknowledgment sent {"connection_id":163627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:49:28] local.INFO: TCP Data received {"connection_id":163627,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a046cc6b08012d7b500005e14270000100ea14..."} 
[2026-08-28 10:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046cc6b08012d7b500005e14270000100ea14..."} 
[2026-08-28 10:49:28] local.INFO: Processing buffer {"connection_id":163627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046cc6b08012d7b500005e14270000100ea14..."} 
[2026-08-28 10:49:28] local.INFO: Packet analysis {"connection_id":163627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046cc"} 
[2026-08-28 10:49:28] local.INFO: Extracted packet for processing {"connection_id":163627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046cc"} 
[2026-08-28 10:49:28] local.INFO: GPS Element Parsed {"raw_longitude":763056128,"raw_latitude":98648688,"longitude_deg":76.3056128,"latitude_deg":9.8648688,"altitude":1,"angle":234,"satellites":20,"speed":2,"hex_longitude":"2d7b5000","hex_latitude":"05e14270","is_valid_coordinates":true} 
[2026-08-28 10:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:49:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700914176001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:49:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231054393966592,"note":"Value kept but may cause issues"} 
[2026-08-28 10:49:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885672458800238592,"note":"Value kept but may cause issues"} 
[2026-08-28 10:49:28] 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-28 10:49:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787894197000,"timestamp_ms":1787894197000,"timestamp_seconds":1787894197,"priority":1,"record_length":96,"hex_timestamp":"000001a046cc6b08"} 
[2026-08-28 10:49:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:49:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 10:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-28 10:49:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1359,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:49:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:49:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:49:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:49:28] local.INFO: Teltonika packet parsed successfully {"connection_id":163627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:49:28] local.INFO: Passing IMEI to GPS processor {"connection_id":163627,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:49:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":163627,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 10:49:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:49:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 10:49:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 10:49:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700914176001,"66":11624,"217":206,"85":15104,"24":2,"16":125231054393966592,"45":8885672458800238592},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 10:49:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 10:49:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 10:49:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700914176001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:49:28] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 10:49:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 10:49:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231054393966592,"km_value":125231054393966.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:49:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885672458800238592,"description":"Unknown IO ID 45"} 
[2026-08-28 10:49:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700914176001,"power":11624,"unknown_217":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8885672458800238592}} 
[2026-08-28 10:49:28] 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":707094,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:49:28] local.INFO: GPS data processed {"connection_id":163627,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:49:28] local.INFO: Acknowledgment sent {"connection_id":163627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:49:31] local.INFO: TCP Data received {"connection_id":163358,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:49:31] local.INFO: Processing buffer {"connection_id":163358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:49:31] local.INFO: IMEI packet received {"connection_id":163358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 10:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":163358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:49:36] local.INFO: TCP Data received {"connection_id":163358,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:49:36] local.INFO: Processing buffer {"connection_id":163358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:49:36] local.INFO: IMEI packet received {"connection_id":163358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 10:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":163358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:49:37] local.INFO: TCP Data received {"connection_id":163358,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a046cd45c8012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046cd45c8012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:49:37] local.INFO: Processing buffer {"connection_id":163358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046cd45c8012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:49:37] local.INFO: Packet analysis {"connection_id":163358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046cd"} 
[2026-08-28 10:49:37] local.INFO: Extracted packet for processing {"connection_id":163358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046cd"} 
[2026-08-28 10:49:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10: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-28 10:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700851712001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 10:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787894253000,"timestamp_ms":1787894253000,"timestamp_seconds":1787894253,"priority":1,"record_length":96,"hex_timestamp":"000001a046cd45c8"} 
[2026-08-28 10: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-28 10:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 10:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10: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-28 10: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-28 10:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700851712001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700851712001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:49:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:49:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:49: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-28 10:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700851712001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:49:37] 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":707095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:49:37] local.INFO: GPS data processed {"connection_id":163358,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:49:37] local.INFO: Acknowledgment sent {"connection_id":163358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:50:08] local.INFO: TCP Data received {"connection_id":163358,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a046cd45c8012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046cd45c8012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:50:08] local.INFO: Processing buffer {"connection_id":163358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046cd45c8012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:50:08] local.INFO: Packet analysis {"connection_id":163358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046cd"} 
[2026-08-28 10:50:08] local.INFO: Extracted packet for processing {"connection_id":163358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046cd"} 
[2026-08-28 10:50:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10: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-28 10:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700851712001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:50: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-28 10:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787894253000,"timestamp_ms":1787894253000,"timestamp_seconds":1787894253,"priority":1,"record_length":96,"hex_timestamp":"000001a046cd45c8"} 
[2026-08-28 10: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-28 10:50:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 10:50:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10: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-28 10: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-28 10:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:50:08] 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-28 10:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700851712001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700851712001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:50:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:50:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:50: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-28 10:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700851712001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:50:08] 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":707096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:50:08] local.INFO: GPS data processed {"connection_id":163358,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:50:08] local.INFO: Acknowledgment sent {"connection_id":163358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:50:31] local.INFO: TCP Data received {"connection_id":165968,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:50:31] local.INFO: Processing buffer {"connection_id":165968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:50:31] local.INFO: IMEI packet received {"connection_id":165968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 10:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":165968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:50:36] local.INFO: TCP Data received {"connection_id":165968,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:50:36] local.INFO: Processing buffer {"connection_id":165968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:50:36] local.INFO: IMEI packet received {"connection_id":165968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 10:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":165968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:50:38] local.INFO: TCP Data received {"connection_id":165968,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a046cd45c8012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046cd45c8012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:50:38] local.INFO: Processing buffer {"connection_id":165968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046cd45c8012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:50:38] local.INFO: Packet analysis {"connection_id":165968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046cd"} 
[2026-08-28 10:50:38] local.INFO: Extracted packet for processing {"connection_id":165968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046cd"} 
[2026-08-28 10:50:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700851712001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 10:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787894253000,"timestamp_ms":1787894253000,"timestamp_seconds":1787894253,"priority":1,"record_length":96,"hex_timestamp":"000001a046cd45c8"} 
[2026-08-28 10:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 10:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:50:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":165968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":165968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":165968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700851712001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700851712001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:50:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:50:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:50: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-28 10:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700851712001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":165968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:50:38] local.INFO: GPS data processed {"connection_id":165968,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:50:38] local.INFO: Acknowledgment sent {"connection_id":165968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:51:10] local.INFO: TCP Data received {"connection_id":165968,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a046cd45c8012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046cd45c8012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:51:10] local.INFO: Processing buffer {"connection_id":165968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046cd45c8012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:51:10] local.INFO: Packet analysis {"connection_id":165968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046cd"} 
[2026-08-28 10:51:10] local.INFO: Extracted packet for processing {"connection_id":165968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046cd"} 
[2026-08-28 10:51:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700851712001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:51:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:51:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 10:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787894253000,"timestamp_ms":1787894253000,"timestamp_seconds":1787894253,"priority":1,"record_length":96,"hex_timestamp":"000001a046cd45c8"} 
[2026-08-28 10:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:51:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 10:51:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:51:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":165968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":165968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":165968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:51:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700851712001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700851712001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:51:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:51:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:51:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700851712001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":165968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:51:10] local.INFO: GPS data processed {"connection_id":165968,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:51:10] local.INFO: Acknowledgment sent {"connection_id":165968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:51:31] local.INFO: TCP Data received {"connection_id":164627,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:51:31] local.INFO: Processing buffer {"connection_id":164627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:51:31] local.INFO: IMEI packet received {"connection_id":164627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 10:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":164627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:51:36] local.INFO: TCP Data received {"connection_id":164627,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:51:36] local.INFO: Processing buffer {"connection_id":164627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:51:36] local.INFO: IMEI packet received {"connection_id":164627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 10:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":164627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:51:37] local.INFO: TCP Data received {"connection_id":164627,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a046cd45c8012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046cd45c8012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:51:37] local.INFO: Processing buffer {"connection_id":164627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046cd45c8012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:51:37] local.INFO: Packet analysis {"connection_id":164627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046cd"} 
[2026-08-28 10:51:37] local.INFO: Extracted packet for processing {"connection_id":164627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046cd"} 
[2026-08-28 10:51:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10: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-28 10:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700851712001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 10:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787894253000,"timestamp_ms":1787894253000,"timestamp_seconds":1787894253,"priority":1,"record_length":96,"hex_timestamp":"000001a046cd45c8"} 
[2026-08-28 10: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-28 10:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 10:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10: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-28 10: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-28 10:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700851712001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700851712001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:51:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:51:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:51: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-28 10:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700851712001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":164627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:51:37] local.INFO: GPS data processed {"connection_id":164627,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:51:37] local.INFO: Acknowledgment sent {"connection_id":164627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:52:09] local.INFO: TCP Data received {"connection_id":164627,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a046cd45c8012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046cd45c8012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:52:09] local.INFO: Processing buffer {"connection_id":164627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046cd45c8012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:52:09] local.INFO: Packet analysis {"connection_id":164627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046cd"} 
[2026-08-28 10:52:09] local.INFO: Extracted packet for processing {"connection_id":164627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046cd"} 
[2026-08-28 10:52:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700851712001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:52:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:52:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 10:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787894253000,"timestamp_ms":1787894253000,"timestamp_seconds":1787894253,"priority":1,"record_length":96,"hex_timestamp":"000001a046cd45c8"} 
[2026-08-28 10:52:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:52:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 10:52:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:52:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:52:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:52:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700851712001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700851712001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:52:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:52:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:52: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-28 10:52:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700851712001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":164627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:52:09] local.INFO: GPS data processed {"connection_id":164627,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:52:09] local.INFO: Acknowledgment sent {"connection_id":164627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:52:31] local.INFO: TCP Data received {"connection_id":163628,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:52:31] local.INFO: Processing buffer {"connection_id":163628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:52:31] local.INFO: IMEI packet received {"connection_id":163628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 10:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":163628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:52:36] local.INFO: TCP Data received {"connection_id":163628,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:52:36] local.INFO: Processing buffer {"connection_id":163628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:52:36] local.INFO: IMEI packet received {"connection_id":163628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 10:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":163628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:52:37] local.INFO: TCP Data received {"connection_id":163628,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a046cd45c8012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046cd45c8012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:52:37] local.INFO: Processing buffer {"connection_id":163628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046cd45c8012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:52:37] local.INFO: Packet analysis {"connection_id":163628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046cd"} 
[2026-08-28 10:52:37] local.INFO: Extracted packet for processing {"connection_id":163628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046cd"} 
[2026-08-28 10:52:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10: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-28 10:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700851712001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 10:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787894253000,"timestamp_ms":1787894253000,"timestamp_seconds":1787894253,"priority":1,"record_length":96,"hex_timestamp":"000001a046cd45c8"} 
[2026-08-28 10: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-28 10:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 10:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10: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-28 10: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-28 10:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700851712001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700851712001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:52:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:52:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:52: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-28 10:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700851712001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:52:37] 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":707101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:52:37] local.INFO: GPS data processed {"connection_id":163628,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:52:37] local.INFO: Acknowledgment sent {"connection_id":163628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:53:09] local.INFO: TCP Data received {"connection_id":163628,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a046cd45c8012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046cd45c8012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:53:09] local.INFO: Processing buffer {"connection_id":163628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046cd45c8012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:53:09] local.INFO: Packet analysis {"connection_id":163628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046cd"} 
[2026-08-28 10:53:09] local.INFO: Extracted packet for processing {"connection_id":163628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046cd"} 
[2026-08-28 10:53:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700851712001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:53:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:53:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 10:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787894253000,"timestamp_ms":1787894253000,"timestamp_seconds":1787894253,"priority":1,"record_length":96,"hex_timestamp":"000001a046cd45c8"} 
[2026-08-28 10:53:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:53:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 10:53:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:53:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:53:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:53:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700851712001,"66":25299,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700851712001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:53:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:53:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:53: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-28 10:53:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700851712001,"power":25299,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:53:09] 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":707102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:53:09] local.INFO: GPS data processed {"connection_id":163628,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:53:09] local.INFO: Acknowledgment sent {"connection_id":163628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:53:36] local.INFO: TCP Data received {"connection_id":165969,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:53:36] local.INFO: Processing buffer {"connection_id":165969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:53:36] local.INFO: IMEI packet received {"connection_id":165969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 10:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":165969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:53:41] local.INFO: TCP Data received {"connection_id":165969,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:53:41] local.INFO: Processing buffer {"connection_id":165969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:53:41] local.INFO: IMEI packet received {"connection_id":165969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 10:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":165969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:53:42] local.INFO: TCP Data received {"connection_id":165969,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a046d1dd90012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046d1dd90012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:53:42] local.INFO: Processing buffer {"connection_id":165969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046d1dd90012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:53:42] local.INFO: Packet analysis {"connection_id":165969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046d1"} 
[2026-08-28 10:53:42] local.INFO: Extracted packet for processing {"connection_id":165969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046d1"} 
[2026-08-28 10:53:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700928768001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:53:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10: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-28 10:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787894554000,"timestamp_ms":1787894554000,"timestamp_seconds":1787894554,"priority":1,"record_length":96,"hex_timestamp":"000001a046d1dd90"} 
[2026-08-28 10:53:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:53:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 10:53: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-28 10:53:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:53:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:53: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-28 10:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700928768001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700928768001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:53:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:53:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10: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-28 10:53:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700928768001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":165969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:53:42] local.INFO: GPS data processed {"connection_id":165969,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:53:42] local.INFO: Acknowledgment sent {"connection_id":165969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:53:47] local.INFO: TCP Data received {"connection_id":165969,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a046d1dd90012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046d1dd90012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:53:47] local.INFO: Processing buffer {"connection_id":165969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046d1dd90012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:53:47] local.INFO: Packet analysis {"connection_id":165969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046d1"} 
[2026-08-28 10:53:47] local.INFO: Extracted packet for processing {"connection_id":165969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046d1"} 
[2026-08-28 10:53:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10: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-28 10:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700928768001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:53:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10: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-28 10:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787894554000,"timestamp_ms":1787894554000,"timestamp_seconds":1787894554,"priority":1,"record_length":96,"hex_timestamp":"000001a046d1dd90"} 
[2026-08-28 10: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-28 10:53:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 10:53: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-28 10: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-28 10: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-28 10:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":165969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":165969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":165969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:53:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700928768001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700928768001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:53:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:53:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10: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-28 10:53:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700928768001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":165969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:53:47] local.INFO: GPS data processed {"connection_id":165969,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:53:47] local.INFO: Acknowledgment sent {"connection_id":165969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:54:31] local.INFO: TCP Data received {"connection_id":165970,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:54:31] local.INFO: Processing buffer {"connection_id":165970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:54:31] local.INFO: IMEI packet received {"connection_id":165970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 10:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":165970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:54:36] local.INFO: TCP Data received {"connection_id":165970,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:54:36] local.INFO: Processing buffer {"connection_id":165970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:54:36] local.INFO: IMEI packet received {"connection_id":165970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 10:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":165970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:54:39] local.INFO: TCP Data received {"connection_id":165970,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a046d1dd90012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046d1dd90012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:54:39] local.INFO: Processing buffer {"connection_id":165970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046d1dd90012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:54:39] local.INFO: Packet analysis {"connection_id":165970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046d1"} 
[2026-08-28 10:54:39] local.INFO: Extracted packet for processing {"connection_id":165970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046d1"} 
[2026-08-28 10:54:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:54:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700928768001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:54:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:54:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:54:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 10:54:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787894554000,"timestamp_ms":1787894554000,"timestamp_seconds":1787894554,"priority":1,"record_length":96,"hex_timestamp":"000001a046d1dd90"} 
[2026-08-28 10:54:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:54:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 10:54:39] 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-28 10:54:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:54:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:54:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:54:39] local.INFO: Teltonika packet parsed successfully {"connection_id":165970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:54:39] local.INFO: Passing IMEI to GPS processor {"connection_id":165970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:54:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":165970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:54:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:54:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:54:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:54:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700928768001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:54:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:54:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:54:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700928768001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:54:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:54:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:54:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:54:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:54:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700928768001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:54:39] local.INFO: DEBUG: GPS processor result {"connection_id":165970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:54:39] local.INFO: GPS data processed {"connection_id":165970,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:54:39] local.INFO: Acknowledgment sent {"connection_id":165970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:55:11] local.INFO: TCP Data received {"connection_id":165970,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a046d1dd90012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046d1dd90012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:55:11] local.INFO: Processing buffer {"connection_id":165970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046d1dd90012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:55:11] local.INFO: Packet analysis {"connection_id":165970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046d1"} 
[2026-08-28 10:55:11] local.INFO: Extracted packet for processing {"connection_id":165970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046d1"} 
[2026-08-28 10:55:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700928768001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:55:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:55: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-28 10:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787894554000,"timestamp_ms":1787894554000,"timestamp_seconds":1787894554,"priority":1,"record_length":96,"hex_timestamp":"000001a046d1dd90"} 
[2026-08-28 10:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:55:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 10:55:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:55:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":165970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":165970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":165970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:55: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-28 10:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700928768001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700928768001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:55:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:55:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:55: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-28 10:55:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700928768001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":165970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:55:11] local.INFO: GPS data processed {"connection_id":165970,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:55:11] local.INFO: Acknowledgment sent {"connection_id":165970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:55:31] local.INFO: TCP Data received {"connection_id":163629,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:55:31] local.INFO: Processing buffer {"connection_id":163629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:55:31] local.INFO: IMEI packet received {"connection_id":163629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 10:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":163629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:55:37] local.INFO: TCP Data received {"connection_id":163629,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:55:37] local.INFO: Processing buffer {"connection_id":163629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:55:37] local.INFO: IMEI packet received {"connection_id":163629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 10:55:37] local.INFO: IMEI acknowledgment sent {"connection_id":163629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:55:38] local.INFO: TCP Data received {"connection_id":163629,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a046d1dd90012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046d1dd90012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:55:38] local.INFO: Processing buffer {"connection_id":163629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046d1dd90012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:55:38] local.INFO: Packet analysis {"connection_id":163629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046d1"} 
[2026-08-28 10:55:38] local.INFO: Extracted packet for processing {"connection_id":163629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046d1"} 
[2026-08-28 10:55:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700928768001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:55:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 10:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787894554000,"timestamp_ms":1787894554000,"timestamp_seconds":1787894554,"priority":1,"record_length":96,"hex_timestamp":"000001a046d1dd90"} 
[2026-08-28 10:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 10:55:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:55:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:55:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700928768001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700928768001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:55:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:55:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:55: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-28 10:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700928768001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:55:38] 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":707107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:55:38] local.INFO: GPS data processed {"connection_id":163629,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:55:38] local.INFO: Acknowledgment sent {"connection_id":163629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:56:10] local.INFO: TCP Data received {"connection_id":163629,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a046d1dd90012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046d1dd90012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:56:10] local.INFO: Processing buffer {"connection_id":163629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046d1dd90012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:56:10] local.INFO: Packet analysis {"connection_id":163629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046d1"} 
[2026-08-28 10:56:10] local.INFO: Extracted packet for processing {"connection_id":163629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046d1"} 
[2026-08-28 10:56:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700928768001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:56:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 10:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787894554000,"timestamp_ms":1787894554000,"timestamp_seconds":1787894554,"priority":1,"record_length":96,"hex_timestamp":"000001a046d1dd90"} 
[2026-08-28 10:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:56:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 10:56:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:56:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:56:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700928768001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700928768001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:56:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:56:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 10:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700928768001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:56:10] 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":707108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:56:10] local.INFO: GPS data processed {"connection_id":163629,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:56:10] local.INFO: Acknowledgment sent {"connection_id":163629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:56:31] local.INFO: TCP Data received {"connection_id":165971,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:56:31] local.INFO: Processing buffer {"connection_id":165971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:56:31] local.INFO: IMEI packet received {"connection_id":165971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 10:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":165971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:56:36] local.INFO: TCP Data received {"connection_id":165971,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:56:36] local.INFO: Processing buffer {"connection_id":165971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:56:36] local.INFO: IMEI packet received {"connection_id":165971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 10:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":165971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:56:37] local.INFO: TCP Data received {"connection_id":165971,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a046d1dd90012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046d1dd90012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:56:37] local.INFO: Processing buffer {"connection_id":165971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046d1dd90012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:56:37] local.INFO: Packet analysis {"connection_id":165971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046d1"} 
[2026-08-28 10:56:37] local.INFO: Extracted packet for processing {"connection_id":165971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046d1"} 
[2026-08-28 10:56:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700928768001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 10:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787894554000,"timestamp_ms":1787894554000,"timestamp_seconds":1787894554,"priority":1,"record_length":96,"hex_timestamp":"000001a046d1dd90"} 
[2026-08-28 10:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 10:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":165971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":165971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":165971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700928768001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700928768001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:56:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:56:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:56: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-28 10:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700928768001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":165971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:56:37] local.INFO: GPS data processed {"connection_id":165971,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:56:37] local.INFO: Acknowledgment sent {"connection_id":165971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:57:12] local.INFO: TCP Data received {"connection_id":165971,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a046d1dd90012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046d1dd90012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:57:12] local.INFO: Processing buffer {"connection_id":165971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046d1dd90012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:57:12] local.INFO: Packet analysis {"connection_id":165971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046d1"} 
[2026-08-28 10:57:12] local.INFO: Extracted packet for processing {"connection_id":165971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046d1"} 
[2026-08-28 10:57:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:57:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700928768001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:57:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:57:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:57:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 10:57:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787894554000,"timestamp_ms":1787894554000,"timestamp_seconds":1787894554,"priority":1,"record_length":96,"hex_timestamp":"000001a046d1dd90"} 
[2026-08-28 10:57:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:57:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 10:57:12] 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-28 10:57:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:57:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:57:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:57:12] local.INFO: Teltonika packet parsed successfully {"connection_id":165971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:57:12] local.INFO: Passing IMEI to GPS processor {"connection_id":165971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:57:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":165971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:57:12] local.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-28 10:57:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:57:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:57:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700928768001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:57:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:57:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:57:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700928768001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:57:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:57:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:57: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-28 10:57:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:57:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700928768001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:57:12] local.INFO: DEBUG: GPS processor result {"connection_id":165971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:57:12] local.INFO: GPS data processed {"connection_id":165971,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:57:12] local.INFO: Acknowledgment sent {"connection_id":165971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:57:36] local.INFO: TCP Data received {"connection_id":164628,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:57:36] local.INFO: Processing buffer {"connection_id":164628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:57:36] local.INFO: IMEI packet received {"connection_id":164628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 10:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":164628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:57:41] local.INFO: TCP Data received {"connection_id":164628,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:57:41] local.INFO: Processing buffer {"connection_id":164628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:57:41] local.INFO: IMEI packet received {"connection_id":164628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 10:57:41] local.INFO: IMEI acknowledgment sent {"connection_id":164628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:57:42] local.INFO: TCP Data received {"connection_id":164628,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a046d1dd90012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046d1dd90012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:57:42] local.INFO: Processing buffer {"connection_id":164628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046d1dd90012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:57:42] local.INFO: Packet analysis {"connection_id":164628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046d1"} 
[2026-08-28 10:57:42] local.INFO: Extracted packet for processing {"connection_id":164628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046d1"} 
[2026-08-28 10:57:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10: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-28 10:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700928768001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:57:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10: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-28 10:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787894554000,"timestamp_ms":1787894554000,"timestamp_seconds":1787894554,"priority":1,"record_length":96,"hex_timestamp":"000001a046d1dd90"} 
[2026-08-28 10: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-28 10:57:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10: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":211,"data_length":795,"current_offset":136} 
[2026-08-28 10:57: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-28 10: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-28 10: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-28 10:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":164628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":164628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":164628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:57: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-28 10:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700928768001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700928768001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:57:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:57:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10: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-28 10:57:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700928768001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":164628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:57:42] local.INFO: GPS data processed {"connection_id":164628,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:57:42] local.INFO: Acknowledgment sent {"connection_id":164628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:57:58] local.INFO: TCP Data received {"connection_id":164628,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a046d1dd90012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046d1dd90012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:57:58] local.INFO: Processing buffer {"connection_id":164628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046d1dd90012d34c14006aa4840000a00e62a..."} 
[2026-08-28 10:57:58] local.INFO: Packet analysis {"connection_id":164628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046d1"} 
[2026-08-28 10:57:58] local.INFO: Extracted packet for processing {"connection_id":164628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046d1"} 
[2026-08-28 10:57:58] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:57:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457700928768001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:57:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:57:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:57: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-28 10:57:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787894554000,"timestamp_ms":1787894554000,"timestamp_seconds":1787894554,"priority":1,"record_length":96,"hex_timestamp":"000001a046d1dd90"} 
[2026-08-28 10:57:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:57:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 10:57:58] 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-28 10:57:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:57:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:57:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:57:58] local.INFO: Teltonika packet parsed successfully {"connection_id":164628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:57:58] local.INFO: Passing IMEI to GPS processor {"connection_id":164628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:57:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":164628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:57:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:57:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:57:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:57:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457700928768001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:57:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:57:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:57:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457700928768001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:57:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:57:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:57: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-28 10:57:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:57:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457700928768001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:57:58] local.INFO: DEBUG: GPS processor result {"connection_id":164628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:57:58] local.INFO: GPS data processed {"connection_id":164628,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:57:58] local.INFO: Acknowledgment sent {"connection_id":164628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:58:31] local.INFO: TCP Data received {"connection_id":165972,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:58:31] local.INFO: Processing buffer {"connection_id":165972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:58:31] local.INFO: IMEI packet received {"connection_id":165972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 10:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":165972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:58:36] local.INFO: TCP Data received {"connection_id":165972,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:58:36] local.INFO: Processing buffer {"connection_id":165972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:58:36] local.INFO: IMEI packet received {"connection_id":165972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 10:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":165972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:58:47] local.INFO: TCP Data received {"connection_id":165972,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a046d67558012d34c14006aa4840000f00e62b..."} 
[2026-08-28 10:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046d67558012d34c14006aa4840000f00e62b..."} 
[2026-08-28 10:58:47] local.INFO: Processing buffer {"connection_id":165972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046d67558012d34c14006aa4840000f00e62b..."} 
[2026-08-28 10:58:47] local.INFO: Packet analysis {"connection_id":165972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046d6"} 
[2026-08-28 10:58:47] local.INFO: Extracted packet for processing {"connection_id":165972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046d6"} 
[2026-08-28 10:58:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10: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-28 10:58:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701005824001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:58:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:58:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10: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-28 10:58:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787894855000,"timestamp_ms":1787894855000,"timestamp_seconds":1787894855,"priority":1,"record_length":96,"hex_timestamp":"000001a046d67558"} 
[2026-08-28 10: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-28 10:58:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 10:58: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-28 10: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-28 10: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-28 10:58:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:58:47] local.INFO: Teltonika packet parsed successfully {"connection_id":165972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:58:47] local.INFO: Passing IMEI to GPS processor {"connection_id":165972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:58:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":165972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:58:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:58:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:58:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:58:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701005824001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:58:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:58:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:58:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701005824001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:58:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:58:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10: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-28 10:58:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:58:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701005824001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":165972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:58:47] local.INFO: GPS data processed {"connection_id":165972,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:58:47] local.INFO: Acknowledgment sent {"connection_id":165972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 10:59:31] local.INFO: TCP Data received {"connection_id":165973,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:59:31] local.INFO: Processing buffer {"connection_id":165973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:59:31] local.INFO: IMEI packet received {"connection_id":165973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 10:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":165973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 10:59:36] local.INFO: TCP Data received {"connection_id":165973,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:59:36] local.INFO: Processing buffer {"connection_id":165973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 10:59:36] local.INFO: IMEI packet received {"connection_id":165973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 10:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":165973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 10:59:37] local.INFO: TCP Data received {"connection_id":165973,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a046d67558012d34c14006aa4840000f00e62b..."} 
[2026-08-28 10:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046d67558012d34c14006aa4840000f00e62b..."} 
[2026-08-28 10:59:37] local.INFO: Processing buffer {"connection_id":165973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046d67558012d34c14006aa4840000f00e62b..."} 
[2026-08-28 10:59:37] local.INFO: Packet analysis {"connection_id":165973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046d6"} 
[2026-08-28 10:59:37] local.INFO: Extracted packet for processing {"connection_id":165973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046d6"} 
[2026-08-28 10:59:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 10:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 10:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701005824001,"note":"Value kept but may cause issues"} 
[2026-08-28 10:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 10:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 10:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 10:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787894855000,"timestamp_ms":1787894855000,"timestamp_seconds":1787894855,"priority":1,"record_length":96,"hex_timestamp":"000001a046d67558"} 
[2026-08-28 10:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 10:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 10:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 10:59:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 10:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 10:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 10:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 10:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":165973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 10:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":165973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":165973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 10:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 10:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 10:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 10:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701005824001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 10:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 10:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 10:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701005824001,"description":"Unknown IO ID 0"} 
[2026-08-28 10:59:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 10:59:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 10:59: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-28 10:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 10:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701005824001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 10:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":165973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 10:59:37] local.INFO: GPS data processed {"connection_id":165973,"processed":1,"errors":0,"total":1} 
[2026-08-28 10:59:37] local.INFO: Acknowledgment sent {"connection_id":165973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:00:12] local.INFO: TCP Data received {"connection_id":165973,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a046d67558012d34c14006aa4840000f00e62b..."} 
[2026-08-28 11:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046d67558012d34c14006aa4840000f00e62b..."} 
[2026-08-28 11:00:12] local.INFO: Processing buffer {"connection_id":165973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046d67558012d34c14006aa4840000f00e62b..."} 
[2026-08-28 11:00:12] local.INFO: Packet analysis {"connection_id":165973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046d6"} 
[2026-08-28 11:00:12] local.INFO: Extracted packet for processing {"connection_id":165973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046d6"} 
[2026-08-28 11:00:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:00:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701005824001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:00:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:00:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:00: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-28 11:00:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787894855000,"timestamp_ms":1787894855000,"timestamp_seconds":1787894855,"priority":1,"record_length":96,"hex_timestamp":"000001a046d67558"} 
[2026-08-28 11:00:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:00:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 11:00: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-28 11:00:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:00:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:00:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:00:12] local.INFO: Teltonika packet parsed successfully {"connection_id":165973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:00:12] local.INFO: Passing IMEI to GPS processor {"connection_id":165973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:00:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":165973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:00:12] local.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-28 11:00:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:00:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:00:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701005824001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 11:00:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:00:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:00:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701005824001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:00:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 11:00:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:00: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-28 11:00:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:00:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701005824001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:00:12] local.INFO: DEBUG: GPS processor result {"connection_id":165973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:00:12] local.INFO: GPS data processed {"connection_id":165973,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:00:12] local.INFO: Acknowledgment sent {"connection_id":165973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:00:31] local.INFO: TCP Data received {"connection_id":164629,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:00:31] local.INFO: Processing buffer {"connection_id":164629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:00:31] local.INFO: IMEI packet received {"connection_id":164629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 11:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":164629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:00:36] local.INFO: TCP Data received {"connection_id":164629,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:00:36] local.INFO: Processing buffer {"connection_id":164629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:00:36] local.INFO: IMEI packet received {"connection_id":164629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 11:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":164629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:00:37] local.INFO: TCP Data received {"connection_id":164629,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a046d67558012d34c14006aa4840000f00e62b..."} 
[2026-08-28 11:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046d67558012d34c14006aa4840000f00e62b..."} 
[2026-08-28 11:00:37] local.INFO: Processing buffer {"connection_id":164629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046d67558012d34c14006aa4840000f00e62b..."} 
[2026-08-28 11:00:37] local.INFO: Packet analysis {"connection_id":164629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046d6"} 
[2026-08-28 11:00:37] local.INFO: Extracted packet for processing {"connection_id":164629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046d6"} 
[2026-08-28 11:00:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701005824001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787894855000,"timestamp_ms":1787894855000,"timestamp_seconds":1787894855,"priority":1,"record_length":96,"hex_timestamp":"000001a046d67558"} 
[2026-08-28 11:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 11:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701005824001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 11:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701005824001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:00:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 11:00:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:00: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-28 11:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701005824001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":164629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:00:37] local.INFO: GPS data processed {"connection_id":164629,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:00:37] local.INFO: Acknowledgment sent {"connection_id":164629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:01:22] local.INFO: TCP Data received {"connection_id":164629,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a046d67558012d34c14006aa4840000f00e62b..."} 
[2026-08-28 11:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046d67558012d34c14006aa4840000f00e62b..."} 
[2026-08-28 11:01:22] local.INFO: Processing buffer {"connection_id":164629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046d67558012d34c14006aa4840000f00e62b..."} 
[2026-08-28 11:01:22] local.INFO: Packet analysis {"connection_id":164629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046d6"} 
[2026-08-28 11:01:22] local.INFO: Extracted packet for processing {"connection_id":164629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046d6"} 
[2026-08-28 11:01:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:01:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701005824001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:01:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:01:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:01: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-28 11:01:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787894855000,"timestamp_ms":1787894855000,"timestamp_seconds":1787894855,"priority":1,"record_length":96,"hex_timestamp":"000001a046d67558"} 
[2026-08-28 11:01:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:01:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 11:01: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-28 11:01:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:01:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:01:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:01:22] local.INFO: Teltonika packet parsed successfully {"connection_id":164629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:01:22] local.INFO: Passing IMEI to GPS processor {"connection_id":164629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:01:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":164629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:01:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:01:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:01:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:01:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701005824001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 11:01:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:01:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:01:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701005824001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:01:22] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 11:01:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:01: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-28 11:01:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:01:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701005824001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:01:22] local.INFO: DEBUG: GPS processor result {"connection_id":164629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:01:22] local.INFO: GPS data processed {"connection_id":164629,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:01:22] local.INFO: Acknowledgment sent {"connection_id":164629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:01:31] local.INFO: TCP Data received {"connection_id":163630,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:01:31] local.INFO: Processing buffer {"connection_id":163630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:01:31] local.INFO: IMEI packet received {"connection_id":163630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 11:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":163630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:01:37] local.INFO: TCP Data received {"connection_id":163630,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:01:37] local.INFO: Processing buffer {"connection_id":163630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:01:37] local.INFO: IMEI packet received {"connection_id":163630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 11:01:37] local.INFO: IMEI acknowledgment sent {"connection_id":163630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:01:38] local.INFO: TCP Data received {"connection_id":163630,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a046d67558012d34c14006aa4840000f00e62b..."} 
[2026-08-28 11:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046d67558012d34c14006aa4840000f00e62b..."} 
[2026-08-28 11:01:38] local.INFO: Processing buffer {"connection_id":163630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046d67558012d34c14006aa4840000f00e62b..."} 
[2026-08-28 11:01:38] local.INFO: Packet analysis {"connection_id":163630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046d6"} 
[2026-08-28 11:01:38] local.INFO: Extracted packet for processing {"connection_id":163630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046d6"} 
[2026-08-28 11:01:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701005824001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:01:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787894855000,"timestamp_ms":1787894855000,"timestamp_seconds":1787894855,"priority":1,"record_length":96,"hex_timestamp":"000001a046d67558"} 
[2026-08-28 11:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 11:01:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:01:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:01:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701005824001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 11:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701005824001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:01:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 11:01:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11: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-28 11:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701005824001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":163630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:01:38] local.INFO: GPS data processed {"connection_id":163630,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:01:38] local.INFO: Acknowledgment sent {"connection_id":163630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:02:10] local.INFO: TCP Data received {"connection_id":163630,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a046d67558012d34c14006aa4840000f00e62b..."} 
[2026-08-28 11:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046d67558012d34c14006aa4840000f00e62b..."} 
[2026-08-28 11:02:10] local.INFO: Processing buffer {"connection_id":163630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046d67558012d34c14006aa4840000f00e62b..."} 
[2026-08-28 11:02:10] local.INFO: Packet analysis {"connection_id":163630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046d6"} 
[2026-08-28 11:02:10] local.INFO: Extracted packet for processing {"connection_id":163630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046d6"} 
[2026-08-28 11:02:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701005824001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:02:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:02:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787894855000,"timestamp_ms":1787894855000,"timestamp_seconds":1787894855,"priority":1,"record_length":96,"hex_timestamp":"000001a046d67558"} 
[2026-08-28 11:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:02:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 11:02:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:02:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:02:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701005824001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 11:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701005824001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:02:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 11:02:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701005824001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":163630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:02:10] local.INFO: GPS data processed {"connection_id":163630,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:02:10] local.INFO: Acknowledgment sent {"connection_id":163630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:02:31] local.INFO: TCP Data received {"connection_id":164630,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:02:31] local.INFO: Processing buffer {"connection_id":164630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:02:31] local.INFO: IMEI packet received {"connection_id":164630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 11:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":164630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:02:36] local.INFO: TCP Data received {"connection_id":164630,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:02:36] local.INFO: Processing buffer {"connection_id":164630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:02:36] local.INFO: IMEI packet received {"connection_id":164630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 11:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":164630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:02:37] local.INFO: TCP Data received {"connection_id":164630,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a046d67558012d34c14006aa4840000f00e62b..."} 
[2026-08-28 11:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046d67558012d34c14006aa4840000f00e62b..."} 
[2026-08-28 11:02:37] local.INFO: Processing buffer {"connection_id":164630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046d67558012d34c14006aa4840000f00e62b..."} 
[2026-08-28 11:02:37] local.INFO: Packet analysis {"connection_id":164630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046d6"} 
[2026-08-28 11:02:37] local.INFO: Extracted packet for processing {"connection_id":164630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046d6"} 
[2026-08-28 11:02:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701005824001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787894855000,"timestamp_ms":1787894855000,"timestamp_seconds":1787894855,"priority":1,"record_length":96,"hex_timestamp":"000001a046d67558"} 
[2026-08-28 11:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 11:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701005824001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 11:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701005824001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:02:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 11:02:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:02: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-28 11:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701005824001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":164630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:02:37] local.INFO: GPS data processed {"connection_id":164630,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:02:37] local.INFO: Acknowledgment sent {"connection_id":164630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:03:06] local.INFO: TCP Data received {"connection_id":165975,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165975,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:03:06] local.INFO: Processing buffer {"connection_id":165975,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:03:06] local.INFO: IMEI packet received {"connection_id":165975,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 11:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":165975,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:03:09] local.INFO: TCP Data received {"connection_id":164630,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a046d67558012d34c14006aa4840000f00e62b..."} 
[2026-08-28 11:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046d67558012d34c14006aa4840000f00e62b..."} 
[2026-08-28 11:03:09] local.INFO: Processing buffer {"connection_id":164630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046d67558012d34c14006aa4840000f00e62b..."} 
[2026-08-28 11:03:09] local.INFO: Packet analysis {"connection_id":164630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046d6"} 
[2026-08-28 11:03:09] local.INFO: Extracted packet for processing {"connection_id":164630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046d6"} 
[2026-08-28 11:03:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701005824001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:03:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:03:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787894855000,"timestamp_ms":1787894855000,"timestamp_seconds":1787894855,"priority":1,"record_length":96,"hex_timestamp":"000001a046d67558"} 
[2026-08-28 11:03:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:03:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 11:03:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:03:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:03:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:03:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701005824001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 11:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701005824001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:03:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 11:03:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:03: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-28 11:03:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701005824001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":164630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:03:09] local.INFO: GPS data processed {"connection_id":164630,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:03:09] local.INFO: Acknowledgment sent {"connection_id":164630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:03:09] local.INFO: TCP Data received {"connection_id":165975,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165975,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:03:09] local.INFO: Processing buffer {"connection_id":165975,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:03:09] local.INFO: IMEI packet received {"connection_id":165975,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 11:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":165975,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:03:10] local.INFO: TCP Data received {"connection_id":165975,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a046daaf60012d1ab2c0071f9640003a011619..."} 
[2026-08-28 11:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046daaf60012d1ab2c0071f9640003a011619..."} 
[2026-08-28 11:03:10] local.INFO: Processing buffer {"connection_id":165975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046daaf60012d1ab2c0071f9640003a011619..."} 
[2026-08-28 11:03:10] local.INFO: Packet analysis {"connection_id":165975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046da"} 
[2026-08-28 11:03:10] local.INFO: Extracted packet for processing {"connection_id":165975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046da"} 
[2026-08-28 11:03:10] local.INFO: GPS Element Parsed {"raw_longitude":756724416,"raw_latitude":119510592,"longitude_deg":75.6724416,"latitude_deg":11.9510592,"altitude":58,"angle":278,"satellites":25,"speed":30,"hex_longitude":"2d1ab2c0","hex_latitude":"071f9640","is_valid_coordinates":true} 
[2026-08-28 11:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701153024001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15814232792629248,"note":"Value kept but may cause issues"} 
[2026-08-28 11:03:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1926414771202299904,"note":"Value kept but may cause issues"} 
[2026-08-28 11:03:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,187,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787895132000,"timestamp_ms":1787895132000,"timestamp_seconds":1787895132,"priority":1,"record_length":96,"hex_timestamp":"000001a046daaf60"} 
[2026-08-28 11:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:03:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 11:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-28 11:03:10] 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-28 11:03:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":165975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":165975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":165975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:03:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701153024001,"66":14211,"170":206,"187":32768,"24":30,"16":15814232792629248,"45":1926414771202299904},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,187,24,16,45]} 
[2026-08-28 11:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701153024001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:03:10] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-08-28 11:03:10] local.INFO: Unknown IO ID detected {"io_id":187,"value":32768,"description":"Unknown IO ID 187"} 
[2026-08-28 11:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15814232792629248,"km_value":15814232792629.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:03:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1926414771202299904,"description":"Unknown IO ID 45"} 
[2026-08-28 11:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701153024001,"power":14211,"unknown_170":206,"unknown_187":32768,"ignition":30,"odometer":null,"unknown_45":1926414771202299904}} 
[2026-08-28 11:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":165975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707122,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:03:10] local.INFO: GPS data processed {"connection_id":165975,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:03:10] local.INFO: Acknowledgment sent {"connection_id":165975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:03:36] local.INFO: TCP Data received {"connection_id":163360,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:03:36] local.INFO: Processing buffer {"connection_id":163360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:03:36] local.INFO: IMEI packet received {"connection_id":163360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 11:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":163360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:03:41] local.INFO: TCP Data received {"connection_id":163360,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:03:41] local.INFO: Processing buffer {"connection_id":163360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:03:41] local.INFO: IMEI packet received {"connection_id":163360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 11:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":163360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:03:41] local.INFO: TCP Data received {"connection_id":165975,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a046dbad48012d19e680071ffee0002e014019..."} 
[2026-08-28 11:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046dbad48012d19e680071ffee0002e014019..."} 
[2026-08-28 11:03:41] local.INFO: Processing buffer {"connection_id":165975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046dbad48012d19e680071ffee0002e014019..."} 
[2026-08-28 11:03:41] local.INFO: Packet analysis {"connection_id":165975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046db"} 
[2026-08-28 11:03:41] local.INFO: Extracted packet for processing {"connection_id":165975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046db"} 
[2026-08-28 11:03:41] local.INFO: GPS Element Parsed {"raw_longitude":756672128,"raw_latitude":119537376,"longitude_deg":75.6672128,"latitude_deg":11.9537376,"altitude":46,"angle":320,"satellites":25,"speed":16,"hex_longitude":"2d19e680","hex_latitude":"071ffee0","is_valid_coordinates":true} 
[2026-08-28 11:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701170176001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15817170550259712,"note":"Value kept but may cause issues"} 
[2026-08-28 11:03:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1866671707402373120,"note":"Value kept but may cause issues"} 
[2026-08-28 11:03:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787895197000,"timestamp_ms":1787895197000,"timestamp_seconds":1787895197,"priority":1,"record_length":96,"hex_timestamp":"000001a046dbad48"} 
[2026-08-28 11:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:03:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 11:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-08-28 11:03:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:03:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":165975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":165975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":165975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:03:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701170176001,"66":13993,"101":206,"83":41984,"24":16,"16":15817170550259712,"45":1866671707402373120},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-28 11:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701170176001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:03:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-28 11:03:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 11:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15817170550259712,"km_value":15817170550259.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:03:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1866671707402373120,"description":"Unknown IO ID 45"} 
[2026-08-28 11:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701170176001,"power":13993,"unknown_101":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1866671707402373120}} 
[2026-08-28 11:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":165975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:03:41] local.INFO: GPS data processed {"connection_id":165975,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:03:41] local.INFO: Acknowledgment sent {"connection_id":165975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:03:42] local.INFO: TCP Data received {"connection_id":163360,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a046db0d20012d34c14006aa4840000300e62c..."} 
[2026-08-28 11:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046db0d20012d34c14006aa4840000300e62c..."} 
[2026-08-28 11:03:42] local.INFO: Processing buffer {"connection_id":163360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046db0d20012d34c14006aa4840000300e62c..."} 
[2026-08-28 11:03:42] local.INFO: Packet analysis {"connection_id":163360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046db"} 
[2026-08-28 11:03:42] local.INFO: Extracted packet for processing {"connection_id":163360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046db"} 
[2026-08-28 11:03:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701082880001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:03:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11: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-28 11:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787895156000,"timestamp_ms":1787895156000,"timestamp_seconds":1787895156,"priority":1,"record_length":96,"hex_timestamp":"000001a046db0d20"} 
[2026-08-28 11: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-28 11:03:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11: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-28 11: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-28 11: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-28 11:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:03: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-28 11:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701082880001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 11:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701082880001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:03:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 11:03:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11: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-28 11:03:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701082880001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:03:42] 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":707124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:03:42] local.INFO: GPS data processed {"connection_id":163360,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:03:42] local.INFO: Acknowledgment sent {"connection_id":163360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:04:12] local.INFO: TCP Data received {"connection_id":165975,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a046dbb130012d19e60007200030002e01511a..."} 
[2026-08-28 11:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046dbb130012d19e60007200030002e01511a..."} 
[2026-08-28 11:04:12] local.INFO: Processing buffer {"connection_id":165975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046dbb130012d19e60007200030002e01511a..."} 
[2026-08-28 11:04:12] local.INFO: Packet analysis {"connection_id":165975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046db"} 
[2026-08-28 11:04:12] local.INFO: Extracted packet for processing {"connection_id":165975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046db"} 
[2026-08-28 11:04:12] local.INFO: GPS Element Parsed {"raw_longitude":756672000,"raw_latitude":119537712,"longitude_deg":75.6672,"latitude_deg":11.9537712,"altitude":46,"angle":337,"satellites":26,"speed":14,"hex_longitude":"2d19e600","hex_latitude":"07200030","is_valid_coordinates":true} 
[2026-08-28 11:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701170432001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15817187730128896,"note":"Value kept but may cause issues"} 
[2026-08-28 11:04:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1866319863681572864,"note":"Value kept but may cause issues"} 
[2026-08-28 11:04:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787895198000,"timestamp_ms":1787895198000,"timestamp_seconds":1787895198,"priority":1,"record_length":96,"hex_timestamp":"000001a046dbb130"} 
[2026-08-28 11:04:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:04:12] 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-28 11:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-28 11:04:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:04:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:04:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":165975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":165975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":165975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:04:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701170432001,"66":13993,"101":206,"83":41984,"24":14,"16":15817187730128896,"45":1866319863681572864},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-28 11:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701170432001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:04:12] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-28 11:04:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 11:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15817187730128896,"km_value":15817187730128.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:04:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1866319863681572864,"description":"Unknown IO ID 45"} 
[2026-08-28 11:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701170432001,"power":13993,"unknown_101":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1866319863681572864}} 
[2026-08-28 11:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":165975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707125,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:04:12] local.INFO: GPS data processed {"connection_id":165975,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:04:12] local.INFO: Acknowledgment sent {"connection_id":165975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:04:14] local.INFO: TCP Data received {"connection_id":163360,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a046db0d20012d34c14006aa4840000300e62c..."} 
[2026-08-28 11:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046db0d20012d34c14006aa4840000300e62c..."} 
[2026-08-28 11:04:14] local.INFO: Processing buffer {"connection_id":163360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046db0d20012d34c14006aa4840000300e62c..."} 
[2026-08-28 11:04:14] local.INFO: Packet analysis {"connection_id":163360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046db"} 
[2026-08-28 11:04:14] local.INFO: Extracted packet for processing {"connection_id":163360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046db"} 
[2026-08-28 11:04:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:04:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:04:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701082880001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:04:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:04:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:04: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-28 11:04:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787895156000,"timestamp_ms":1787895156000,"timestamp_seconds":1787895156,"priority":1,"record_length":96,"hex_timestamp":"000001a046db0d20"} 
[2026-08-28 11:04:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:04:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:04:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 11:04: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-28 11:04:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:04:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:04:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:04:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:04:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:04:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:04: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-28 11:04:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:04:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:04:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701082880001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 11:04:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:04:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:04:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701082880001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:04:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 11:04:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:04: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-28 11:04:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:04:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701082880001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:04:14] 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":707126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:04:14] local.INFO: GPS data processed {"connection_id":163360,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:04:14] local.INFO: Acknowledgment sent {"connection_id":163360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:04:31] local.INFO: TCP Data received {"connection_id":165976,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:04:31] local.INFO: Processing buffer {"connection_id":165976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:04:31] local.INFO: IMEI packet received {"connection_id":165976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 11:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":165976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:04:36] local.INFO: TCP Data received {"connection_id":165976,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:04:36] local.INFO: Processing buffer {"connection_id":165976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:04:36] local.INFO: IMEI packet received {"connection_id":165976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 11:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":165976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:04:37] local.INFO: TCP Data received {"connection_id":165976,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a046db0d20012d34c14006aa4840000300e62c..."} 
[2026-08-28 11:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046db0d20012d34c14006aa4840000300e62c..."} 
[2026-08-28 11:04:37] local.INFO: Processing buffer {"connection_id":165976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046db0d20012d34c14006aa4840000300e62c..."} 
[2026-08-28 11:04:37] local.INFO: Packet analysis {"connection_id":165976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046db"} 
[2026-08-28 11:04:37] local.INFO: Extracted packet for processing {"connection_id":165976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046db"} 
[2026-08-28 11:04:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701082880001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787895156000,"timestamp_ms":1787895156000,"timestamp_seconds":1787895156,"priority":1,"record_length":96,"hex_timestamp":"000001a046db0d20"} 
[2026-08-28 11:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 11:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":165976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":165976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":165976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701082880001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 11:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701082880001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:04:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 11:04:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:04: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-28 11:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701082880001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":165976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:04:37] local.INFO: GPS data processed {"connection_id":165976,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:04:37] local.INFO: Acknowledgment sent {"connection_id":165976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:04:44] local.INFO: TCP Data received {"connection_id":165975,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a046dbff50012d19e54007200370002b01571b..."} 
[2026-08-28 11:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046dbff50012d19e54007200370002b01571b..."} 
[2026-08-28 11:04:44] local.INFO: Processing buffer {"connection_id":165975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046dbff50012d19e54007200370002b01571b..."} 
[2026-08-28 11:04:44] local.INFO: Packet analysis {"connection_id":165975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046db"} 
[2026-08-28 11:04:44] local.INFO: Extracted packet for processing {"connection_id":165975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046db"} 
[2026-08-28 11:04:44] local.INFO: GPS Element Parsed {"raw_longitude":756671808,"raw_latitude":119538544,"longitude_deg":75.6671808,"latitude_deg":11.9538544,"altitude":43,"angle":343,"satellites":27,"speed":0,"hex_longitude":"2d19e540","hex_latitude":"07200370","is_valid_coordinates":true} 
[2026-08-28 11:04:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:04:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701170688001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:04:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15817243564703744,"note":"Value kept but may cause issues"} 
[2026-08-28 11:04:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1866179126193303552,"note":"Value kept but may cause issues"} 
[2026-08-28 11:04: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-28 11:04:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787895218000,"timestamp_ms":1787895218000,"timestamp_seconds":1787895218,"priority":1,"record_length":96,"hex_timestamp":"000001a046dbff50"} 
[2026-08-28 11:04:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:04:44] 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-28 11:04:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-28 11:04:44] 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-28 11:04:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:04:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:04:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:04:44] local.INFO: Teltonika packet parsed successfully {"connection_id":165975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:04:44] local.INFO: Passing IMEI to GPS processor {"connection_id":165975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:04:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":165975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:04:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:04:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:04:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:04:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701170688001,"66":14048,"101":206,"83":41984,"24":0,"16":15817243564703744,"45":1866179126193303552},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-28 11:04:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:04:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:04:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701170688001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:04:44] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-28 11:04:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 11:04:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15817243564703744,"km_value":15817243564703.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:04:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1866179126193303552,"description":"Unknown IO ID 45"} 
[2026-08-28 11:04:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701170688001,"power":14048,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1866179126193303552}} 
[2026-08-28 11:04:44] local.INFO: DEBUG: GPS processor result {"connection_id":165975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707128,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:04:44] local.INFO: GPS data processed {"connection_id":165975,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:04:44] local.INFO: Acknowledgment sent {"connection_id":165975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:05:09] local.INFO: TCP Data received {"connection_id":165976,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a046db0d20012d34c14006aa4840000300e62c..."} 
[2026-08-28 11:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046db0d20012d34c14006aa4840000300e62c..."} 
[2026-08-28 11:05:09] local.INFO: Processing buffer {"connection_id":165976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046db0d20012d34c14006aa4840000300e62c..."} 
[2026-08-28 11:05:09] local.INFO: Packet analysis {"connection_id":165976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046db"} 
[2026-08-28 11:05:09] local.INFO: Extracted packet for processing {"connection_id":165976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046db"} 
[2026-08-28 11:05:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701082880001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:05:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:05:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:05:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:05:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787895156000,"timestamp_ms":1787895156000,"timestamp_seconds":1787895156,"priority":1,"record_length":96,"hex_timestamp":"000001a046db0d20"} 
[2026-08-28 11:05:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:05:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 11:05:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:05:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:05:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:05:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:05:09] local.INFO: Teltonika packet parsed successfully {"connection_id":165976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:05:09] local.INFO: Passing IMEI to GPS processor {"connection_id":165976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:05:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":165976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:05:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:05:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:05:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:05:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701082880001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 11:05:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:05:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:05:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701082880001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:05:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 11:05:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:05: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-28 11:05:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:05:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701082880001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:05:09] local.INFO: DEBUG: GPS processor result {"connection_id":165976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:05:09] local.INFO: GPS data processed {"connection_id":165976,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:05:09] local.INFO: Acknowledgment sent {"connection_id":165976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:05:11] local.INFO: TCP Data received {"connection_id":163361,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163361,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:05:11] local.INFO: Processing buffer {"connection_id":163361,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:05:11] local.INFO: IMEI packet received {"connection_id":163361,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 11:05:11] local.INFO: IMEI acknowledgment sent {"connection_id":163361,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:05:16] local.INFO: TCP Data received {"connection_id":163361,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163361,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:05:16] local.INFO: Processing buffer {"connection_id":163361,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:05:16] local.INFO: IMEI packet received {"connection_id":163361,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 11:05:16] local.INFO: IMEI acknowledgment sent {"connection_id":163361,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:05:17] local.INFO: TCP Data received {"connection_id":163361,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a046dc5158012d19e54007200370002b01571d..."} 
[2026-08-28 11:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046dc5158012d19e54007200370002b01571d..."} 
[2026-08-28 11:05:17] local.INFO: Processing buffer {"connection_id":163361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046dc5158012d19e54007200370002b01571d..."} 
[2026-08-28 11:05:17] local.INFO: Packet analysis {"connection_id":163361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046dc"} 
[2026-08-28 11:05:17] local.INFO: Extracted packet for processing {"connection_id":163361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046dc"} 
[2026-08-28 11:05:17] local.INFO: GPS Element Parsed {"raw_longitude":756671808,"raw_latitude":119538544,"longitude_deg":75.6671808,"latitude_deg":11.9538544,"altitude":43,"angle":343,"satellites":29,"speed":0,"hex_longitude":"2d19e540","hex_latitude":"07200370","is_valid_coordinates":true} 
[2026-08-28 11:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:05:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701175808001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:05:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15817243564703744,"note":"Value kept but may cause issues"} 
[2026-08-28 11:05:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1865968019960983552,"note":"Value kept but may cause issues"} 
[2026-08-28 11:05: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-28 11:05:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787895239000,"timestamp_ms":1787895239000,"timestamp_seconds":1787895239,"priority":1,"record_length":96,"hex_timestamp":"000001a046dc5158"} 
[2026-08-28 11:05:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:05: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-28 11:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-28 11:05:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:05:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:05:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:05:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:05:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:05:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:05:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:05:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:05:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:05:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:05:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701175808001,"66":13276,"101":206,"83":41984,"24":0,"16":15817243564703744,"45":1865968019960983552},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-28 11:05:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:05:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:05:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701175808001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:05:17] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-28 11:05:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 11:05:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15817243564703744,"km_value":15817243564703.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:05:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1865968019960983552,"description":"Unknown IO ID 45"} 
[2026-08-28 11:05:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701175808001,"power":13276,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1865968019960983552}} 
[2026-08-28 11:05:17] 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":707130,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:05:17] local.INFO: GPS data processed {"connection_id":163361,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:05:17] local.INFO: Acknowledgment sent {"connection_id":163361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:05:31] local.INFO: TCP Data received {"connection_id":163362,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:05:31] local.INFO: Processing buffer {"connection_id":163362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:05:31] local.INFO: IMEI packet received {"connection_id":163362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 11:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":163362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:05:38] local.INFO: TCP Data received {"connection_id":163362,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:05:38] local.INFO: Processing buffer {"connection_id":163362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:05:38] local.INFO: IMEI packet received {"connection_id":163362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 11:05:38] local.INFO: IMEI acknowledgment sent {"connection_id":163362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:05:38] local.INFO: TCP Data received {"connection_id":163362,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a046db0d20012d34c14006aa4840000300e62c..."} 
[2026-08-28 11:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046db0d20012d34c14006aa4840000300e62c..."} 
[2026-08-28 11:05:38] local.INFO: Processing buffer {"connection_id":163362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046db0d20012d34c14006aa4840000300e62c..."} 
[2026-08-28 11:05:38] local.INFO: Packet analysis {"connection_id":163362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046db"} 
[2026-08-28 11:05:38] local.INFO: Extracted packet for processing {"connection_id":163362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046db"} 
[2026-08-28 11:05:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701082880001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:05:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787895156000,"timestamp_ms":1787895156000,"timestamp_seconds":1787895156,"priority":1,"record_length":96,"hex_timestamp":"000001a046db0d20"} 
[2026-08-28 11:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:05:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 11:05:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:05:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:05:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701082880001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 11:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701082880001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:05:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 11:05:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:05: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-28 11:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701082880001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:05:39] 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":707131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:05:39] local.INFO: GPS data processed {"connection_id":163362,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:05:39] local.INFO: Acknowledgment sent {"connection_id":163362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:05:48] local.INFO: TCP Data received {"connection_id":163361,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a046dca360012d19e54007200370002b01571f..."} 
[2026-08-28 11:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046dca360012d19e54007200370002b01571f..."} 
[2026-08-28 11:05:48] local.INFO: Processing buffer {"connection_id":163361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046dca360012d19e54007200370002b01571f..."} 
[2026-08-28 11:05:48] local.INFO: Packet analysis {"connection_id":163361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046dc"} 
[2026-08-28 11:05:48] local.INFO: Extracted packet for processing {"connection_id":163361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046dc"} 
[2026-08-28 11:05:48] local.INFO: GPS Element Parsed {"raw_longitude":756671808,"raw_latitude":119538544,"longitude_deg":75.6671808,"latitude_deg":11.9538544,"altitude":43,"angle":343,"satellites":31,"speed":0,"hex_longitude":"2d19e540","hex_latitude":"07200370","is_valid_coordinates":true} 
[2026-08-28 11:05:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:05:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701181184001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:05:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15817243564703744,"note":"Value kept but may cause issues"} 
[2026-08-28 11:05:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1865968019960983552,"note":"Value kept but may cause issues"} 
[2026-08-28 11:05:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:05:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787895260000,"timestamp_ms":1787895260000,"timestamp_seconds":1787895260,"priority":1,"record_length":96,"hex_timestamp":"000001a046dca360"} 
[2026-08-28 11:05:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:05:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 11:05:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-28 11:05:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:05:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:05:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:05:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:05:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:05:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:05:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:05:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:05:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:05:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:05:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701181184001,"66":13091,"101":206,"83":41984,"24":0,"16":15817243564703744,"45":1865968019960983552},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-28 11:05:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:05:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:05:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701181184001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:05:48] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-28 11:05:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 11:05:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15817243564703744,"km_value":15817243564703.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:05:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1865968019960983552,"description":"Unknown IO ID 45"} 
[2026-08-28 11:05:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701181184001,"power":13091,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1865968019960983552}} 
[2026-08-28 11:05:48] 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":707132,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:05:48] local.INFO: GPS data processed {"connection_id":163361,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:05:48] local.INFO: Acknowledgment sent {"connection_id":163361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:06:10] local.INFO: TCP Data received {"connection_id":163362,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a046db0d20012d34c14006aa4840000300e62c..."} 
[2026-08-28 11:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046db0d20012d34c14006aa4840000300e62c..."} 
[2026-08-28 11:06:10] local.INFO: Processing buffer {"connection_id":163362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046db0d20012d34c14006aa4840000300e62c..."} 
[2026-08-28 11:06:10] local.INFO: Packet analysis {"connection_id":163362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046db"} 
[2026-08-28 11:06:10] local.INFO: Extracted packet for processing {"connection_id":163362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046db"} 
[2026-08-28 11:06:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701082880001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:06:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:06:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787895156000,"timestamp_ms":1787895156000,"timestamp_seconds":1787895156,"priority":1,"record_length":96,"hex_timestamp":"000001a046db0d20"} 
[2026-08-28 11:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:06:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 11:06:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:06:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:06:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701082880001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 11:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701082880001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:06:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 11:06:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:06:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701082880001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:06:10] 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":707133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:06:10] local.INFO: GPS data processed {"connection_id":163362,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:06:10] local.INFO: Acknowledgment sent {"connection_id":163362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:06:11] local.INFO: TCP Data received {"connection_id":165977,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165977,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:06:11] local.INFO: Processing buffer {"connection_id":165977,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:06:11] local.INFO: IMEI packet received {"connection_id":165977,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 11:06:11] local.INFO: IMEI acknowledgment sent {"connection_id":165977,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:06:13] local.INFO: TCP Data received {"connection_id":165977,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165977,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:06:13] local.INFO: Processing buffer {"connection_id":165977,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:06:13] local.INFO: IMEI packet received {"connection_id":165977,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 11:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":165977,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:06:14] local.INFO: TCP Data received {"connection_id":165977,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165977,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:06:14] local.INFO: Processing buffer {"connection_id":165977,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:06:14] local.INFO: IMEI packet received {"connection_id":165977,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 11:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":165977,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:06:17] local.INFO: TCP Data received {"connection_id":165977,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a046de2a00012d19ac0007208cb8002c01621f..."} 
[2026-08-28 11:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046de2a00012d19ac0007208cb8002c01621f..."} 
[2026-08-28 11:06:17] local.INFO: Processing buffer {"connection_id":165977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046de2a00012d19ac0007208cb8002c01621f..."} 
[2026-08-28 11:06:17] local.INFO: Packet analysis {"connection_id":165977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046de"} 
[2026-08-28 11:06:17] local.INFO: Extracted packet for processing {"connection_id":165977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046de"} 
[2026-08-28 11:06:17] local.INFO: GPS Element Parsed {"raw_longitude":756657152,"raw_latitude":119573688,"longitude_deg":75.6657152,"latitude_deg":11.9573688,"altitude":44,"angle":354,"satellites":31,"speed":36,"hex_longitude":"2d19ac00","hex_latitude":"07208cb8","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11:06:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701209856001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:06:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15819184889921536,"note":"Value kept but may cause issues"} 
[2026-08-28 11:06:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852668327318202368,"note":"Value kept but may cause issues"} 
[2026-08-28 11:06: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-28 11:06:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787895360000,"timestamp_ms":1787895360000,"timestamp_seconds":1787895360,"priority":1,"record_length":96,"hex_timestamp":"000001a046de2a00"} 
[2026-08-28 11: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-28 11:06:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 11: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-28 11:06:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11: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-28 11: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-28 11:06:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:06:17] local.INFO: Teltonika packet parsed successfully {"connection_id":165977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:06:17] local.INFO: Passing IMEI to GPS processor {"connection_id":165977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:06:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":165977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:06:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:06:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:06:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:06:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701209856001,"66":14265,"101":206,"83":41984,"24":36,"16":15819184889921536,"45":1852668327318202368},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-28 11:06:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:06:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:06:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701209856001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:06:17] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-28 11:06:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 11:06:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15819184889921536,"km_value":15819184889921.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:06:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852668327318202368,"description":"Unknown IO ID 45"} 
[2026-08-28 11:06:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701209856001,"power":14265,"unknown_101":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1852668327318202368}} 
[2026-08-28 11:06:17] local.INFO: DEBUG: GPS processor result {"connection_id":165977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707134,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:06:17] local.INFO: GPS data processed {"connection_id":165977,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:06:17] local.INFO: Acknowledgment sent {"connection_id":165977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:06:31] local.INFO: TCP Data received {"connection_id":163631,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:06:31] local.INFO: Processing buffer {"connection_id":163631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:06:31] local.INFO: IMEI packet received {"connection_id":163631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 11:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":163631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:06:36] local.INFO: TCP Data received {"connection_id":163631,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:06:36] local.INFO: Processing buffer {"connection_id":163631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:06:36] local.INFO: IMEI packet received {"connection_id":163631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 11:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":163631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:06:37] local.INFO: TCP Data received {"connection_id":163631,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a046db0d20012d34c14006aa4840000300e62c..."} 
[2026-08-28 11:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046db0d20012d34c14006aa4840000300e62c..."} 
[2026-08-28 11:06:37] local.INFO: Processing buffer {"connection_id":163631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046db0d20012d34c14006aa4840000300e62c..."} 
[2026-08-28 11:06:37] local.INFO: Packet analysis {"connection_id":163631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046db"} 
[2026-08-28 11:06:37] local.INFO: Extracted packet for processing {"connection_id":163631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046db"} 
[2026-08-28 11:06:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701082880001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787895156000,"timestamp_ms":1787895156000,"timestamp_seconds":1787895156,"priority":1,"record_length":96,"hex_timestamp":"000001a046db0d20"} 
[2026-08-28 11:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 11:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701082880001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 11:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701082880001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:06:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 11:06:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:06: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-28 11:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701082880001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:06:37] 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":707135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:06:37] local.INFO: GPS data processed {"connection_id":163631,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:06:37] local.INFO: Acknowledgment sent {"connection_id":163631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:06:54] local.INFO: TCP Data received {"connection_id":165977,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a046de2a00012d19ac0007208cb8002c01621f..."} 
[2026-08-28 11:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046de2a00012d19ac0007208cb8002c01621f..."} 
[2026-08-28 11:06:54] local.INFO: Processing buffer {"connection_id":165977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046de2a00012d19ac0007208cb8002c01621f..."} 
[2026-08-28 11:06:54] local.INFO: Packet analysis {"connection_id":165977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046de"} 
[2026-08-28 11:06:54] local.INFO: Extracted packet for processing {"connection_id":165977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046de"} 
[2026-08-28 11:06:54] local.INFO: GPS Element Parsed {"raw_longitude":756657152,"raw_latitude":119573688,"longitude_deg":75.6657152,"latitude_deg":11.9573688,"altitude":44,"angle":354,"satellites":31,"speed":36,"hex_longitude":"2d19ac00","hex_latitude":"07208cb8","is_valid_coordinates":true} 
[2026-08-28 11:06:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:06:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701212160001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:06:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15819184889921536,"note":"Value kept but may cause issues"} 
[2026-08-28 11:06:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849853577553295360,"note":"Value kept but may cause issues"} 
[2026-08-28 11:06:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:06:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787895360000,"timestamp_ms":1787895360000,"timestamp_seconds":1787895360,"priority":1,"record_length":96,"hex_timestamp":"000001a046de2a00"} 
[2026-08-28 11:06:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:06:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 11:06:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-28 11:06: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-28 11:06:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:06:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:06:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:06:54] local.INFO: Teltonika packet parsed successfully {"connection_id":165977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:06:54] local.INFO: Passing IMEI to GPS processor {"connection_id":165977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:06:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":165977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:06:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:06:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:06:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:06:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701212160001,"66":14265,"101":206,"83":41984,"24":36,"16":15819184889921536,"45":1849853577553295360},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-28 11:06:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:06:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:06:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701212160001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:06:54] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-28 11:06:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 11:06:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15819184889921536,"km_value":15819184889921.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:06:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849853577553295360,"description":"Unknown IO ID 45"} 
[2026-08-28 11:06:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701212160001,"power":14265,"unknown_101":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1849853577553295360}} 
[2026-08-28 11:06:54] local.INFO: DEBUG: GPS processor result {"connection_id":165977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707136,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:06:54] local.INFO: GPS data processed {"connection_id":165977,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:06:54] local.INFO: Acknowledgment sent {"connection_id":165977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:07:09] local.INFO: TCP Data received {"connection_id":163631,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a046db0d20012d34c14006aa4840000300e62c..."} 
[2026-08-28 11:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046db0d20012d34c14006aa4840000300e62c..."} 
[2026-08-28 11:07:09] local.INFO: Processing buffer {"connection_id":163631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046db0d20012d34c14006aa4840000300e62c..."} 
[2026-08-28 11:07:09] local.INFO: Packet analysis {"connection_id":163631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046db"} 
[2026-08-28 11:07:09] local.INFO: Extracted packet for processing {"connection_id":163631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046db"} 
[2026-08-28 11:07:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701082880001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:07:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787895156000,"timestamp_ms":1787895156000,"timestamp_seconds":1787895156,"priority":1,"record_length":96,"hex_timestamp":"000001a046db0d20"} 
[2026-08-28 11: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-28 11:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 11:07:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11: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-28 11: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-28 11:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:07:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701082880001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 11:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701082880001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:07:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 11:07:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:07: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-28 11:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701082880001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:07:09] 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":707137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:07:09] local.INFO: GPS data processed {"connection_id":163631,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:07:09] local.INFO: Acknowledgment sent {"connection_id":163631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:07:11] local.INFO: TCP Data received {"connection_id":163363,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163363,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:07:11] local.INFO: Processing buffer {"connection_id":163363,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:07:11] local.INFO: IMEI packet received {"connection_id":163363,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 11:07:11] local.INFO: IMEI acknowledgment sent {"connection_id":163363,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:07:12] local.INFO: TCP Data received {"connection_id":163363,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163363,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:07:12] local.INFO: Processing buffer {"connection_id":163363,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:07:12] local.INFO: IMEI packet received {"connection_id":163363,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 11:07:12] local.INFO: IMEI acknowledgment sent {"connection_id":163363,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:07:16] local.INFO: TCP Data received {"connection_id":163363,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163363,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:07:16] local.INFO: Processing buffer {"connection_id":163363,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:07:16] local.INFO: IMEI packet received {"connection_id":163363,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 11:07:16] local.INFO: IMEI acknowledgment sent {"connection_id":163363,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:07:17] local.INFO: TCP Data received {"connection_id":163363,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a046dec640012d1963800720ab08002f010a20..."} 
[2026-08-28 11:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046dec640012d1963800720ab08002f010a20..."} 
[2026-08-28 11:07:17] local.INFO: Processing buffer {"connection_id":163363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046dec640012d1963800720ab08002f010a20..."} 
[2026-08-28 11:07:17] local.INFO: Packet analysis {"connection_id":163363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046de"} 
[2026-08-28 11:07:17] local.INFO: Extracted packet for processing {"connection_id":163363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046de"} 
[2026-08-28 11:07:17] local.INFO: GPS Element Parsed {"raw_longitude":756638592,"raw_latitude":119581448,"longitude_deg":75.6638592,"latitude_deg":11.9581448,"altitude":47,"angle":266,"satellites":32,"speed":39,"hex_longitude":"2d196380","hex_latitude":"0720ab08","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11:07:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701221376001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:07:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15820649473769472,"note":"Value kept but may cause issues"} 
[2026-08-28 11:07:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1833809503882973184,"note":"Value kept but may cause issues"} 
[2026-08-28 11:07:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:07:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787895400000,"timestamp_ms":1787895400000,"timestamp_seconds":1787895400,"priority":1,"record_length":96,"hex_timestamp":"000001a046dec640"} 
[2026-08-28 11: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-28 11:07:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 11:07:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-28 11:07:17] 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-28 11: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-28 11: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-28 11:07:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:07:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:07:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:07:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:07:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:07:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:07:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:07:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701221376001,"66":13972,"103":206,"83":41984,"24":39,"16":15820649473769472,"45":1833809503882973184},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 11:07:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:07:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:07:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701221376001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:07:17] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 11:07:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 11:07:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15820649473769472,"km_value":15820649473769.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:07:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1833809503882973184,"description":"Unknown IO ID 45"} 
[2026-08-28 11:07:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701221376001,"power":13972,"unknown_103":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1833809503882973184}} 
[2026-08-28 11:07:17] 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":707138,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:07:17] local.INFO: GPS data processed {"connection_id":163363,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:07:17] local.INFO: Acknowledgment sent {"connection_id":163363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:07:31] local.INFO: TCP Data received {"connection_id":164631,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:07:31] local.INFO: Processing buffer {"connection_id":164631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:07:31] local.INFO: IMEI packet received {"connection_id":164631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 11:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":164631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:07:36] local.INFO: TCP Data received {"connection_id":164631,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:07:36] local.INFO: Processing buffer {"connection_id":164631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:07:36] local.INFO: IMEI packet received {"connection_id":164631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 11:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":164631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:07:37] local.INFO: TCP Data received {"connection_id":164631,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a046db0d20012d34c14006aa4840000300e62c..."} 
[2026-08-28 11:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046db0d20012d34c14006aa4840000300e62c..."} 
[2026-08-28 11:07:37] local.INFO: Processing buffer {"connection_id":164631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046db0d20012d34c14006aa4840000300e62c..."} 
[2026-08-28 11:07:37] local.INFO: Packet analysis {"connection_id":164631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046db"} 
[2026-08-28 11:07:37] local.INFO: Extracted packet for processing {"connection_id":164631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046db"} 
[2026-08-28 11:07:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701082880001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787895156000,"timestamp_ms":1787895156000,"timestamp_seconds":1787895156,"priority":1,"record_length":96,"hex_timestamp":"000001a046db0d20"} 
[2026-08-28 11:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 11:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701082880001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 11:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701082880001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:07:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 11:07:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:07: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-28 11:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701082880001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":164631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:07:37] local.INFO: GPS data processed {"connection_id":164631,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:07:37] local.INFO: Acknowledgment sent {"connection_id":164631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:07:50] local.INFO: TCP Data received {"connection_id":163363,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a046ded9c8012d194fc00720aab8002e01161f..."} 
[2026-08-28 11:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046ded9c8012d194fc00720aab8002e01161f..."} 
[2026-08-28 11:07:50] local.INFO: Processing buffer {"connection_id":163363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046ded9c8012d194fc00720aab8002e01161f..."} 
[2026-08-28 11:07:50] local.INFO: Packet analysis {"connection_id":163363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046de"} 
[2026-08-28 11:07:50] local.INFO: Extracted packet for processing {"connection_id":163363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046de"} 
[2026-08-28 11:07:50] local.INFO: GPS Element Parsed {"raw_longitude":756633536,"raw_latitude":119581368,"longitude_deg":75.6633536,"latitude_deg":11.9581368,"altitude":46,"angle":278,"satellites":31,"speed":39,"hex_longitude":"2d194fc0","hex_latitude":"0720aab8","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11:07:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701222400001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:07:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15820889991938048,"note":"Value kept but may cause issues"} 
[2026-08-28 11:07:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829446641743759360,"note":"Value kept but may cause issues"} 
[2026-08-28 11:07:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:07:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787895405000,"timestamp_ms":1787895405000,"timestamp_seconds":1787895405,"priority":1,"record_length":96,"hex_timestamp":"000001a046ded9c8"} 
[2026-08-28 11: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-28 11:07:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 11: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-28 11:07:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11: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-28 11: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-28 11:07:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:07:50] local.INFO: Teltonika packet parsed successfully {"connection_id":163363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:07:50] local.INFO: Passing IMEI to GPS processor {"connection_id":163363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:07:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":163363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:07:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:07:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:07:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:07:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701222400001,"66":13646,"103":206,"83":41984,"24":39,"16":15820889991938048,"45":1829446641743759360},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 11:07:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:07:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:07:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701222400001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:07:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 11:07:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 11:07:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15820889991938048,"km_value":15820889991938.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:07:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829446641743759360,"description":"Unknown IO ID 45"} 
[2026-08-28 11:07:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701222400001,"power":13646,"unknown_103":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1829446641743759360}} 
[2026-08-28 11:07: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":707140,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:07:50] local.INFO: GPS data processed {"connection_id":163363,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:07:50] local.INFO: Acknowledgment sent {"connection_id":163363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:08:08] local.INFO: TCP Data received {"connection_id":164631,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a046db0d20012d34c14006aa4840000300e62c..."} 
[2026-08-28 11:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046db0d20012d34c14006aa4840000300e62c..."} 
[2026-08-28 11:08:08] local.INFO: Processing buffer {"connection_id":164631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046db0d20012d34c14006aa4840000300e62c..."} 
[2026-08-28 11:08:08] local.INFO: Packet analysis {"connection_id":164631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046db"} 
[2026-08-28 11:08:08] local.INFO: Extracted packet for processing {"connection_id":164631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046db"} 
[2026-08-28 11:08:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701082880001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:08: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-28 11:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787895156000,"timestamp_ms":1787895156000,"timestamp_seconds":1787895156,"priority":1,"record_length":96,"hex_timestamp":"000001a046db0d20"} 
[2026-08-28 11:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:08:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 11:08:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:08:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:08:08] local.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-28 11:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701082880001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 11:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701082880001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:08:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 11:08:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:08: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-28 11:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701082880001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":164631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:08:08] local.INFO: GPS data processed {"connection_id":164631,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:08:08] local.INFO: Acknowledgment sent {"connection_id":164631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:08:11] local.INFO: TCP Data received {"connection_id":165979,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165979,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:08:11] local.INFO: Processing buffer {"connection_id":165979,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:08:11] local.INFO: IMEI packet received {"connection_id":165979,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 11:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":165979,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:08:15] local.INFO: TCP Data received {"connection_id":165979,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165979,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:08:15] local.INFO: Processing buffer {"connection_id":165979,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:08:15] local.INFO: IMEI packet received {"connection_id":165979,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 11:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":165979,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:08:16] local.INFO: TCP Data received {"connection_id":165979,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165979,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:08:16] local.INFO: Processing buffer {"connection_id":165979,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:08:16] local.INFO: IMEI packet received {"connection_id":165979,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 11:08:16] local.INFO: IMEI acknowledgment sent {"connection_id":165979,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:08:17] local.INFO: TCP Data received {"connection_id":165979,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a046dfeb38012d18cf4007212bb80041014c1f..."} 
[2026-08-28 11:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046dfeb38012d18cf4007212bb80041014c1f..."} 
[2026-08-28 11:08:17] local.INFO: Processing buffer {"connection_id":165979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046dfeb38012d18cf4007212bb80041014c1f..."} 
[2026-08-28 11:08:17] local.INFO: Packet analysis {"connection_id":165979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046df"} 
[2026-08-28 11:08:17] local.INFO: Extracted packet for processing {"connection_id":165979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046df"} 
[2026-08-28 11:08:17] local.INFO: GPS Element Parsed {"raw_longitude":756600640,"raw_latitude":119614392,"longitude_deg":75.660064,"latitude_deg":11.9614392,"altitude":65,"angle":332,"satellites":31,"speed":23,"hex_longitude":"2d18cf40","hex_latitude":"07212bb8","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11:08:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701241088001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:08:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15823329533362176,"note":"Value kept but may cause issues"} 
[2026-08-28 11:08:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788210557663823872,"note":"Value kept but may cause issues"} 
[2026-08-28 11:08:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:08:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787895475000,"timestamp_ms":1787895475000,"timestamp_seconds":1787895475,"priority":1,"record_length":96,"hex_timestamp":"000001a046dfeb38"} 
[2026-08-28 11: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-28 11:08:17] 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-28 11: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":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-28 11:08:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2237,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11: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-28 11: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-28 11:08:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:08:17] local.INFO: Teltonika packet parsed successfully {"connection_id":165979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:08:17] local.INFO: Passing IMEI to GPS processor {"connection_id":165979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:08:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":165979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:08:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:08:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:08:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:08:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701241088001,"66":14298,"103":206,"83":41984,"24":23,"16":15823329533362176,"45":1788210557663823872},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 11:08:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:08:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:08:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701241088001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:08:17] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 11:08:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 11:08:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15823329533362176,"km_value":15823329533362.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:08:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788210557663823872,"description":"Unknown IO ID 45"} 
[2026-08-28 11:08:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701241088001,"power":14298,"unknown_103":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1788210557663823872}} 
[2026-08-28 11:08:17] local.INFO: DEBUG: GPS processor result {"connection_id":165979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707142,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:08:17] local.INFO: GPS data processed {"connection_id":165979,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:08:17] local.INFO: Acknowledgment sent {"connection_id":165979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:08:18] local.INFO: TCP Data received {"connection_id":165979,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a046e00a78012d18c44007213f600044015c1f..."} 
[2026-08-28 11:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046e00a78012d18c44007213f600044015c1f..."} 
[2026-08-28 11:08:18] local.INFO: Processing buffer {"connection_id":165979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046e00a78012d18c44007213f600044015c1f..."} 
[2026-08-28 11:08:18] local.INFO: Packet analysis {"connection_id":165979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046e0"} 
[2026-08-28 11:08:18] local.INFO: Extracted packet for processing {"connection_id":165979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046e0"} 
[2026-08-28 11:08:18] local.INFO: GPS Element Parsed {"raw_longitude":756597824,"raw_latitude":119619424,"longitude_deg":75.6597824,"latitude_deg":11.9619424,"altitude":68,"angle":348,"satellites":31,"speed":31,"hex_longitude":"2d18c440","hex_latitude":"07213f60","is_valid_coordinates":true} 
[2026-08-28 11:08:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:08:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701241600001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:08:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15823608706236416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:08:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787717976454838272,"note":"Value kept but may cause issues"} 
[2026-08-28 11:08: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-28 11:08:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787895483000,"timestamp_ms":1787895483000,"timestamp_seconds":1787895483,"priority":1,"record_length":96,"hex_timestamp":"000001a046e00a78"} 
[2026-08-28 11:08:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:08:18] 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-28 11:08:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-28 11:08:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:08:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:08:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:08:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:08:18] local.INFO: Teltonika packet parsed successfully {"connection_id":165979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:08:18] local.INFO: Passing IMEI to GPS processor {"connection_id":165979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:08:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":165979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:08:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:08:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:08:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:08:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701241600001,"66":14004,"103":206,"83":41984,"24":31,"16":15823608706236416,"45":1787717976454838272},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 11:08:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:08:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:08:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701241600001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:08:18] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 11:08:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 11:08:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15823608706236416,"km_value":15823608706236.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:08:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787717976454838272,"description":"Unknown IO ID 45"} 
[2026-08-28 11:08:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701241600001,"power":14004,"unknown_103":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1787717976454838272}} 
[2026-08-28 11:08:18] local.INFO: DEBUG: GPS processor result {"connection_id":165979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707143,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:08:18] local.INFO: GPS data processed {"connection_id":165979,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:08:18] local.INFO: Acknowledgment sent {"connection_id":165979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:08:36] local.INFO: TCP Data received {"connection_id":163364,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:08:36] local.INFO: Processing buffer {"connection_id":163364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:08:36] local.INFO: IMEI packet received {"connection_id":163364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 11:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":163364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:08:41] local.INFO: TCP Data received {"connection_id":163364,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:08:41] local.INFO: Processing buffer {"connection_id":163364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:08:41] local.INFO: IMEI packet received {"connection_id":163364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 11:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":163364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:08:42] local.INFO: TCP Data received {"connection_id":163364,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a046dfa4e8012d34c14006aa4840000c00e62b..."} 
[2026-08-28 11:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046dfa4e8012d34c14006aa4840000c00e62b..."} 
[2026-08-28 11:08:42] local.INFO: Processing buffer {"connection_id":163364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046dfa4e8012d34c14006aa4840000c00e62b..."} 
[2026-08-28 11:08:42] local.INFO: Packet analysis {"connection_id":163364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046df"} 
[2026-08-28 11:08:42] local.INFO: Extracted packet for processing {"connection_id":163364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046df"} 
[2026-08-28 11:08:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701159936001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:08:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11: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-28 11:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787895457000,"timestamp_ms":1787895457000,"timestamp_seconds":1787895457,"priority":1,"record_length":96,"hex_timestamp":"000001a046dfa4e8"} 
[2026-08-28 11:08:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:08:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 11: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-28 11:08:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:08:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:08: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-28 11:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701159936001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 11:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701159936001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:08:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 11:08:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11: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-28 11:08:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701159936001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:08:42] 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":707144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:08:42] local.INFO: GPS data processed {"connection_id":163364,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:08:42] local.INFO: Acknowledgment sent {"connection_id":163364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:08:49] local.INFO: TCP Data received {"connection_id":165979,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a046e01248012d18c400072145b8004400001f..."} 
[2026-08-28 11:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046e01248012d18c400072145b8004400001f..."} 
[2026-08-28 11:08:49] local.INFO: Processing buffer {"connection_id":165979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046e01248012d18c400072145b8004400001f..."} 
[2026-08-28 11:08:49] local.INFO: Packet analysis {"connection_id":165979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046e0"} 
[2026-08-28 11:08:49] local.INFO: Extracted packet for processing {"connection_id":165979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046e0"} 
[2026-08-28 11:08:49] local.INFO: GPS Element Parsed {"raw_longitude":756597760,"raw_latitude":119621048,"longitude_deg":75.659776,"latitude_deg":11.9621048,"altitude":68,"angle":0,"satellites":31,"speed":31,"hex_longitude":"2d18c400","hex_latitude":"072145b8","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11:08:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701243648001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:08:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15823686015647744,"note":"Value kept but may cause issues"} 
[2026-08-28 11:08:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784621751712309248,"note":"Value kept but may cause issues"} 
[2026-08-28 11:08:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:08:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787895485000,"timestamp_ms":1787895485000,"timestamp_seconds":1787895485,"priority":1,"record_length":96,"hex_timestamp":"000001a046e01248"} 
[2026-08-28 11: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-28 11:08:49] 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-28 11: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-28 11:08:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11: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-28 11: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-28 11:08:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:08:49] local.INFO: Teltonika packet parsed successfully {"connection_id":165979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:08:49] local.INFO: Passing IMEI to GPS processor {"connection_id":165979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:08:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":165979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:08:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:08:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:08:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:08:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701243648001,"66":13993,"103":206,"83":41984,"24":31,"16":15823686015647744,"45":1784621751712309248},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 11:08:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:08:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:08:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701243648001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:08:49] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 11:08:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 11:08:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15823686015647744,"km_value":15823686015647.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:08:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784621751712309248,"description":"Unknown IO ID 45"} 
[2026-08-28 11:08:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701243648001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1784621751712309248}} 
[2026-08-28 11:08:49] local.INFO: DEBUG: GPS processor result {"connection_id":165979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707145,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:08:49] local.INFO: GPS data processed {"connection_id":165979,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:08:49] local.INFO: Acknowledgment sent {"connection_id":165979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:09:13] local.INFO: TCP Data received {"connection_id":163364,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a046dfa4e8012d34c14006aa4840000c00e62b..."} 
[2026-08-28 11:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046dfa4e8012d34c14006aa4840000c00e62b..."} 
[2026-08-28 11:09:13] local.INFO: Processing buffer {"connection_id":163364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046dfa4e8012d34c14006aa4840000c00e62b..."} 
[2026-08-28 11:09:13] local.INFO: Packet analysis {"connection_id":163364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046df"} 
[2026-08-28 11:09:13] local.INFO: Extracted packet for processing {"connection_id":163364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046df"} 
[2026-08-28 11:09:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:09:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701159936001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:09:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:09:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11: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-28 11:09:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787895457000,"timestamp_ms":1787895457000,"timestamp_seconds":1787895457,"priority":1,"record_length":96,"hex_timestamp":"000001a046dfa4e8"} 
[2026-08-28 11:09:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:09:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 11:09: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-28 11:09:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:09:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:09:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:09:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:09:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:09:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:09:13] local.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-28 11:09:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:09:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:09:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701159936001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 11:09:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:09:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:09:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701159936001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:09:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 11:09:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11: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-28 11:09:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:09:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701159936001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:09:13] 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":707146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:09:13] local.INFO: GPS data processed {"connection_id":163364,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:09:13] local.INFO: Acknowledgment sent {"connection_id":163364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:09:16] local.INFO: TCP Data received {"connection_id":163632,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163632,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:09:16] local.INFO: Processing buffer {"connection_id":163632,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:09:16] local.INFO: IMEI packet received {"connection_id":163632,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 11:09:16] local.INFO: IMEI acknowledgment sent {"connection_id":163632,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:09:23] local.INFO: TCP Data received {"connection_id":163632,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163632,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:09:23] local.INFO: Processing buffer {"connection_id":163632,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:09:23] local.INFO: IMEI packet received {"connection_id":163632,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 11:09:23] local.INFO: IMEI acknowledgment sent {"connection_id":163632,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:09:24] local.INFO: TCP Data received {"connection_id":163632,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a046e021e8012d18c300072150b8004501541f..."} 
[2026-08-28 11:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046e021e8012d18c300072150b8004501541f..."} 
[2026-08-28 11:09:24] local.INFO: Processing buffer {"connection_id":163632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046e021e8012d18c300072150b8004501541f..."} 
[2026-08-28 11:09:24] local.INFO: Packet analysis {"connection_id":163632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046e0"} 
[2026-08-28 11:09:24] local.INFO: Extracted packet for processing {"connection_id":163632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046e0"} 
[2026-08-28 11:09:24] local.INFO: GPS Element Parsed {"raw_longitude":756597504,"raw_latitude":119623864,"longitude_deg":75.6597504,"latitude_deg":11.9623864,"altitude":69,"angle":340,"satellites":31,"speed":25,"hex_longitude":"2d18c300","hex_latitude":"072150b8","is_valid_coordinates":true} 
[2026-08-28 11:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:09:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701244160001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:09:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15823823454601216,"note":"Value kept but may cause issues"} 
[2026-08-28 11:09:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784551382968547328,"note":"Value kept but may cause issues"} 
[2026-08-28 11:09:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:09:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787895489000,"timestamp_ms":1787895489000,"timestamp_seconds":1787895489,"priority":1,"record_length":96,"hex_timestamp":"000001a046e021e8"} 
[2026-08-28 11:09:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:09:24] 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-28 11:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-28 11:09:24] 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-28 11:09:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:09:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:09:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:09:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:09:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:09:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:09:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:09:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:09:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:09:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701244160001,"66":14070,"103":206,"83":41984,"24":25,"16":15823823454601216,"45":1784551382968547328},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 11:09:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:09:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:09:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701244160001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:09:24] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 11:09:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 11:09:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15823823454601216,"km_value":15823823454601.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:09:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784551382968547328,"description":"Unknown IO ID 45"} 
[2026-08-28 11:09:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701244160001,"power":14070,"unknown_103":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1784551382968547328}} 
[2026-08-28 11:09:24] 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":707147,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:09:24] local.INFO: GPS data processed {"connection_id":163632,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:09:24] local.INFO: Acknowledgment sent {"connection_id":163632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:09:24] local.INFO: TCP Data received {"connection_id":163632,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a046e029b8012d18c0c007215538004501471f..."} 
[2026-08-28 11:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046e029b8012d18c0c007215538004501471f..."} 
[2026-08-28 11:09:24] local.INFO: Processing buffer {"connection_id":163632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046e029b8012d18c0c007215538004501471f..."} 
[2026-08-28 11:09:24] local.INFO: Packet analysis {"connection_id":163632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046e0"} 
[2026-08-28 11:09:24] local.INFO: Extracted packet for processing {"connection_id":163632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046e0"} 
[2026-08-28 11:09:24] local.INFO: GPS Element Parsed {"raw_longitude":756596928,"raw_latitude":119625016,"longitude_deg":75.6596928,"latitude_deg":11.9625016,"altitude":69,"angle":327,"satellites":31,"speed":26,"hex_longitude":"2d18c0c0","hex_latitude":"07215538","is_valid_coordinates":true} 
[2026-08-28 11:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:09:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701245184001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:09:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15823887879110656,"note":"Value kept but may cause issues"} 
[2026-08-28 11:09:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784269907992557568,"note":"Value kept but may cause issues"} 
[2026-08-28 11:09:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:09:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787895491000,"timestamp_ms":1787895491000,"timestamp_seconds":1787895491,"priority":1,"record_length":96,"hex_timestamp":"000001a046e029b8"} 
[2026-08-28 11:09:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:09:24] 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-28 11:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-28 11:09:24] 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-28 11:09:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:09:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:09:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:09:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:09:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:09:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:09:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:09:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:09:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:09:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701245184001,"66":14048,"103":206,"83":41984,"24":26,"16":15823887879110656,"45":1784269907992557568},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 11:09:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:09:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:09:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701245184001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:09:24] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 11:09:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 11:09:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15823887879110656,"km_value":15823887879110.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:09:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784269907992557568,"description":"Unknown IO ID 45"} 
[2026-08-28 11:09:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701245184001,"power":14048,"unknown_103":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1784269907992557568}} 
[2026-08-28 11:09:24] 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":707148,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:09:24] local.INFO: GPS data processed {"connection_id":163632,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:09:24] local.INFO: Acknowledgment sent {"connection_id":163632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:09:31] local.INFO: TCP Data received {"connection_id":165980,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:09:31] local.INFO: Processing buffer {"connection_id":165980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:09:31] local.INFO: IMEI packet received {"connection_id":165980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 11:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":165980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:09:36] local.INFO: TCP Data received {"connection_id":165980,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:09:36] local.INFO: Processing buffer {"connection_id":165980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:09:36] local.INFO: IMEI packet received {"connection_id":165980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 11:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":165980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:09:37] local.INFO: TCP Data received {"connection_id":165980,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a046dfa4e8012d34c14006aa4840000c00e62b..."} 
[2026-08-28 11:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046dfa4e8012d34c14006aa4840000c00e62b..."} 
[2026-08-28 11:09:37] local.INFO: Processing buffer {"connection_id":165980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046dfa4e8012d34c14006aa4840000c00e62b..."} 
[2026-08-28 11:09:37] local.INFO: Packet analysis {"connection_id":165980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046df"} 
[2026-08-28 11:09:37] local.INFO: Extracted packet for processing {"connection_id":165980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046df"} 
[2026-08-28 11:09:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701159936001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787895457000,"timestamp_ms":1787895457000,"timestamp_seconds":1787895457,"priority":1,"record_length":96,"hex_timestamp":"000001a046dfa4e8"} 
[2026-08-28 11:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 11:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":165980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":165980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":165980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701159936001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 11:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701159936001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:09:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 11:09:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:09: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-28 11:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701159936001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":165980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:09:37] local.INFO: GPS data processed {"connection_id":165980,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:09:37] local.INFO: Acknowledgment sent {"connection_id":165980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:09:55] local.INFO: TCP Data received {"connection_id":163632,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a046e175c0012d181d400721a870004d016120..."} 
[2026-08-28 11:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046e175c0012d181d400721a870004d016120..."} 
[2026-08-28 11:09:55] local.INFO: Processing buffer {"connection_id":163632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046e175c0012d181d400721a870004d016120..."} 
[2026-08-28 11:09:55] local.INFO: Packet analysis {"connection_id":163632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046e1"} 
[2026-08-28 11:09:55] local.INFO: Extracted packet for processing {"connection_id":163632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046e1"} 
[2026-08-28 11:09:55] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119646320,"longitude_deg":75.6555072,"latitude_deg":11.964632,"altitude":77,"angle":353,"satellites":32,"speed":4,"hex_longitude":"2d181d40","hex_latitude":"0721a870","is_valid_coordinates":true} 
[2026-08-28 11:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:09:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701265664001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:09:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15826232931254272,"note":"Value kept but may cause issues"} 
[2026-08-28 11:09:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536840941568,"note":"Value kept but may cause issues"} 
[2026-08-28 11:09:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:09:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787895576000,"timestamp_ms":1787895576000,"timestamp_seconds":1787895576,"priority":1,"record_length":96,"hex_timestamp":"000001a046e175c0"} 
[2026-08-28 11:09:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:09:55] 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-28 11:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 11:09:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:09:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:09:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:09:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:09:55] local.INFO: Teltonika packet parsed successfully {"connection_id":163632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:09:55] local.INFO: Passing IMEI to GPS processor {"connection_id":163632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:09:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":163632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:09:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:09:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:09:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:09:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701265664001,"66":14428,"107":206,"83":41984,"24":4,"16":15826232931254272,"45":1737826536840941568},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-28 11:09:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:09:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:09:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701265664001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:09:55] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-28 11:09:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 11:09:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15826232931254272,"km_value":15826232931254.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:09:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536840941568,"description":"Unknown IO ID 45"} 
[2026-08-28 11:09:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701265664001,"power":14428,"unknown_107":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1737826536840941568}} 
[2026-08-28 11:09:56] 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":707150,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:09:56] local.INFO: GPS data processed {"connection_id":163632,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:09:56] local.INFO: Acknowledgment sent {"connection_id":163632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:10:09] local.INFO: TCP Data received {"connection_id":165980,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a046dfa4e8012d34c14006aa4840000c00e62b..."} 
[2026-08-28 11:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046dfa4e8012d34c14006aa4840000c00e62b..."} 
[2026-08-28 11:10:09] local.INFO: Processing buffer {"connection_id":165980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046dfa4e8012d34c14006aa4840000c00e62b..."} 
[2026-08-28 11:10:09] local.INFO: Packet analysis {"connection_id":165980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046df"} 
[2026-08-28 11:10:09] local.INFO: Extracted packet for processing {"connection_id":165980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046df"} 
[2026-08-28 11:10:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701159936001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:10:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:10:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787895457000,"timestamp_ms":1787895457000,"timestamp_seconds":1787895457,"priority":1,"record_length":96,"hex_timestamp":"000001a046dfa4e8"} 
[2026-08-28 11:10:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:10:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 11:10:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:10:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:10:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":165980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":165980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":165980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:10:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701159936001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 11:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701159936001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:10:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 11:10:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:10: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-28 11:10:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701159936001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":165980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:10:09] local.INFO: GPS data processed {"connection_id":165980,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:10:09] local.INFO: Acknowledgment sent {"connection_id":165980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:10:09] local.INFO: TCP Data received {"connection_id":163365,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163365,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:10:09] local.INFO: Processing buffer {"connection_id":163365,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:10:09] local.INFO: IMEI packet received {"connection_id":163365,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 11:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":163365,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:10:11] local.INFO: TCP Data received {"connection_id":163365,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163365,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:10:11] local.INFO: Processing buffer {"connection_id":163365,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:10:11] local.INFO: IMEI packet received {"connection_id":163365,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 11:10:11] local.INFO: IMEI acknowledgment sent {"connection_id":163365,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:10:16] local.INFO: TCP Data received {"connection_id":163365,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163365,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:10:16] local.INFO: Processing buffer {"connection_id":163365,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:10:16] local.INFO: IMEI packet received {"connection_id":163365,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 11:10:16] local.INFO: IMEI acknowledgment sent {"connection_id":163365,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:10:20] local.INFO: TCP Data received {"connection_id":163365,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a046e179a8012d181dc00721a940004d000f20..."} 
[2026-08-28 11:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046e179a8012d181dc00721a940004d000f20..."} 
[2026-08-28 11:10:20] local.INFO: Processing buffer {"connection_id":163365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046e179a8012d181dc00721a940004d000f20..."} 
[2026-08-28 11:10:20] local.INFO: Packet analysis {"connection_id":163365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046e1"} 
[2026-08-28 11:10:20] local.INFO: Extracted packet for processing {"connection_id":163365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046e1"} 
[2026-08-28 11:10:20] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119646528,"longitude_deg":75.65552,"latitude_deg":11.9646528,"altitude":77,"angle":15,"satellites":32,"speed":9,"hex_longitude":"2d181dc0","hex_latitude":"0721a940","is_valid_coordinates":true} 
[2026-08-28 11:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701267456001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15826241521188864,"note":"Value kept but may cause issues"} 
[2026-08-28 11:10:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608515072,"note":"Value kept but may cause issues"} 
[2026-08-28 11:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787895577000,"timestamp_ms":1787895577000,"timestamp_seconds":1787895577,"priority":1,"record_length":96,"hex_timestamp":"000001a046e179a8"} 
[2026-08-28 11:10:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:10:20] 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-28 11:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-28 11:10:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:10:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:10:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:10:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701267456001,"66":14363,"107":206,"83":41984,"24":9,"16":15826241521188864,"45":1737615430608515072},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-28 11:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701267456001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:10:20] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-28 11:10:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 11:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15826241521188864,"km_value":15826241521188.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:10:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608515072,"description":"Unknown IO ID 45"} 
[2026-08-28 11:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701267456001,"power":14363,"unknown_107":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1737615430608515072}} 
[2026-08-28 11:10:21] 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":707152,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:10:21] local.INFO: GPS data processed {"connection_id":163365,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:10:21] local.INFO: Acknowledgment sent {"connection_id":163365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:10:31] local.INFO: TCP Data received {"connection_id":165981,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:10:31] local.INFO: Processing buffer {"connection_id":165981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:10:31] local.INFO: IMEI packet received {"connection_id":165981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 11:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":165981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:10:36] local.INFO: TCP Data received {"connection_id":165981,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:10:36] local.INFO: Processing buffer {"connection_id":165981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:10:36] local.INFO: IMEI packet received {"connection_id":165981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 11:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":165981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:10:37] local.INFO: TCP Data received {"connection_id":165981,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a046dfa4e8012d34c14006aa4840000c00e62b..."} 
[2026-08-28 11:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046dfa4e8012d34c14006aa4840000c00e62b..."} 
[2026-08-28 11:10:37] local.INFO: Processing buffer {"connection_id":165981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046dfa4e8012d34c14006aa4840000c00e62b..."} 
[2026-08-28 11:10:37] local.INFO: Packet analysis {"connection_id":165981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046df"} 
[2026-08-28 11:10:37] local.INFO: Extracted packet for processing {"connection_id":165981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046df"} 
[2026-08-28 11:10:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701159936001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787895457000,"timestamp_ms":1787895457000,"timestamp_seconds":1787895457,"priority":1,"record_length":96,"hex_timestamp":"000001a046dfa4e8"} 
[2026-08-28 11:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 11:10:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":165981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":165981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":165981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701159936001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 11:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701159936001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:10:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 11:10:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:10: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-28 11:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701159936001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":165981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:10:37] local.INFO: GPS data processed {"connection_id":165981,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:10:37] local.INFO: Acknowledgment sent {"connection_id":165981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:11:03] local.INFO: TCP Data received {"connection_id":163365,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a046e18178012d181ec00721abe8004d001a20..."} 
[2026-08-28 11:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046e18178012d181ec00721abe8004d001a20..."} 
[2026-08-28 11:11:03] local.INFO: Processing buffer {"connection_id":163365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046e18178012d181ec00721abe8004d001a20..."} 
[2026-08-28 11:11:03] local.INFO: Packet analysis {"connection_id":163365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046e1"} 
[2026-08-28 11:11:03] local.INFO: Extracted packet for processing {"connection_id":163365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046e1"} 
[2026-08-28 11:11:03] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119647208,"longitude_deg":75.6555456,"latitude_deg":11.9647208,"altitude":77,"angle":26,"satellites":32,"speed":17,"hex_longitude":"2d181ec0","hex_latitude":"0721abe8","is_valid_coordinates":true} 
[2026-08-28 11:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701267712001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15826275880927232,"note":"Value kept but may cause issues"} 
[2026-08-28 11:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168096923648,"note":"Value kept but may cause issues"} 
[2026-08-28 11:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787895579000,"timestamp_ms":1787895579000,"timestamp_seconds":1787895579,"priority":1,"record_length":96,"hex_timestamp":"000001a046e18178"} 
[2026-08-28 11:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:11:03] 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-28 11:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-28 11:11:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:11:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701267712001,"66":14396,"107":206,"83":41984,"24":17,"16":15826275880927232,"45":1737756168096923648},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-28 11:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701267712001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:11:03] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-28 11:11:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 11:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15826275880927232,"km_value":15826275880927.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168096923648,"description":"Unknown IO ID 45"} 
[2026-08-28 11:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701267712001,"power":14396,"unknown_107":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1737756168096923648}} 
[2026-08-28 11:11:03] 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":707154,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:11:03] local.INFO: GPS data processed {"connection_id":163365,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:11:03] local.INFO: Acknowledgment sent {"connection_id":163365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:11:08] local.INFO: TCP Data received {"connection_id":165981,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a046dfa4e8012d34c14006aa4840000c00e62b..."} 
[2026-08-28 11:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046dfa4e8012d34c14006aa4840000c00e62b..."} 
[2026-08-28 11:11:08] local.INFO: Processing buffer {"connection_id":165981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046dfa4e8012d34c14006aa4840000c00e62b..."} 
[2026-08-28 11:11:08] local.INFO: Packet analysis {"connection_id":165981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046df"} 
[2026-08-28 11:11:08] local.INFO: Extracted packet for processing {"connection_id":165981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046df"} 
[2026-08-28 11:11:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701159936001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:11: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-28 11:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787895457000,"timestamp_ms":1787895457000,"timestamp_seconds":1787895457,"priority":1,"record_length":96,"hex_timestamp":"000001a046dfa4e8"} 
[2026-08-28 11:11:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:11:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 11:11:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:11:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:11:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":165981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":165981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":165981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:11:08] local.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-28 11:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701159936001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 11:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701159936001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:11:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 11:11:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:11: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-28 11:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701159936001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":165981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:11:08] local.INFO: GPS data processed {"connection_id":165981,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:11:08] local.INFO: Acknowledgment sent {"connection_id":165981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:11:11] local.INFO: TCP Data received {"connection_id":165982,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:11:11] local.INFO: Processing buffer {"connection_id":165982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:11:11] local.INFO: IMEI packet received {"connection_id":165982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 11:11:11] local.INFO: IMEI acknowledgment sent {"connection_id":165982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:11:15] local.INFO: TCP Data received {"connection_id":165982,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:11:15] local.INFO: Processing buffer {"connection_id":165982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:11:15] local.INFO: IMEI packet received {"connection_id":165982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 11:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":165982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:11:16] local.INFO: TCP Data received {"connection_id":165982,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a046e1b440012d1831800721ca58004f00201f..."} 
[2026-08-28 11:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046e1b440012d1831800721ca58004f00201f..."} 
[2026-08-28 11:11:16] local.INFO: Processing buffer {"connection_id":165982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046e1b440012d1831800721ca58004f00201f..."} 
[2026-08-28 11:11:16] local.INFO: Packet analysis {"connection_id":165982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046e1"} 
[2026-08-28 11:11:16] local.INFO: Extracted packet for processing {"connection_id":165982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046e1"} 
[2026-08-28 11:11:16] local.INFO: GPS Element Parsed {"raw_longitude":756560256,"raw_latitude":119655000,"longitude_deg":75.6560256,"latitude_deg":11.9655,"altitude":79,"angle":32,"satellites":31,"speed":33,"hex_longitude":"2d183180","hex_latitude":"0721ca58","is_valid_coordinates":true} 
[2026-08-28 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-28 11:11:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701268224001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:11:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15826718262558720,"note":"Value kept but may cause issues"} 
[2026-08-28 11:11:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643073808384,"note":"Value kept but may cause issues"} 
[2026-08-28 11:11:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:11:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787895592000,"timestamp_ms":1787895592000,"timestamp_seconds":1787895592,"priority":1,"record_length":96,"hex_timestamp":"000001a046e1b440"} 
[2026-08-28 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-28 11:11:16] 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-28 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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-28 11:11:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 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-28 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-28 11:11:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:11:16] local.INFO: Teltonika packet parsed successfully {"connection_id":165982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:11:16] local.INFO: Passing IMEI to GPS processor {"connection_id":165982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:11:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":165982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:11:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:11:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:11:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:11:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701268224001,"66":14374,"107":206,"83":41984,"24":33,"16":15826718262558720,"45":1738037643073808384},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-28 11:11:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:11:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:11:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701268224001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:11:16] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-28 11:11:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 11:11:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15826718262558720,"km_value":15826718262558.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:11:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643073808384,"description":"Unknown IO ID 45"} 
[2026-08-28 11:11:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701268224001,"power":14374,"unknown_107":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1738037643073808384}} 
[2026-08-28 11:11:16] local.INFO: DEBUG: GPS processor result {"connection_id":165982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707156,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:11:16] local.INFO: GPS data processed {"connection_id":165982,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:11:16] local.INFO: Acknowledgment sent {"connection_id":165982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:11:36] local.INFO: TCP Data received {"connection_id":163633,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:11:36] local.INFO: Processing buffer {"connection_id":163633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:11:36] local.INFO: IMEI packet received {"connection_id":163633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 11:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":163633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:11:41] local.INFO: TCP Data received {"connection_id":163633,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:11:41] local.INFO: Processing buffer {"connection_id":163633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:11:41] local.INFO: IMEI packet received {"connection_id":163633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 11:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":163633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:11:42] local.INFO: TCP Data received {"connection_id":163633,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a046dfa4e8012d34c14006aa4840000c00e62b..."} 
[2026-08-28 11:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046dfa4e8012d34c14006aa4840000c00e62b..."} 
[2026-08-28 11:11:42] local.INFO: Processing buffer {"connection_id":163633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046dfa4e8012d34c14006aa4840000c00e62b..."} 
[2026-08-28 11:11:42] local.INFO: Packet analysis {"connection_id":163633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046df"} 
[2026-08-28 11:11:42] local.INFO: Extracted packet for processing {"connection_id":163633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046df"} 
[2026-08-28 11:11:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701159936001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:11:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11: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-28 11:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787895457000,"timestamp_ms":1787895457000,"timestamp_seconds":1787895457,"priority":1,"record_length":96,"hex_timestamp":"000001a046dfa4e8"} 
[2026-08-28 11:11:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:11:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 11:11: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-28 11:11:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:11:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:11: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-28 11:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701159936001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 11:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701159936001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:11:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 11:11:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11: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-28 11:11:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701159936001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:11:42] 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":707157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:11:42] local.INFO: GPS data processed {"connection_id":163633,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:11:42] local.INFO: Acknowledgment sent {"connection_id":163633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:11:47] local.INFO: TCP Data received {"connection_id":163633,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a046dfa4e8012d34c14006aa4840000c00e62b..."} 
[2026-08-28 11:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046dfa4e8012d34c14006aa4840000c00e62b..."} 
[2026-08-28 11:11:47] local.INFO: Processing buffer {"connection_id":163633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046dfa4e8012d34c14006aa4840000c00e62b..."} 
[2026-08-28 11:11:47] local.INFO: Packet analysis {"connection_id":163633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046df"} 
[2026-08-28 11:11:47] local.INFO: Extracted packet for processing {"connection_id":163633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046df"} 
[2026-08-28 11:11:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:11:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701159936001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:11:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:11:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:11: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-28 11:11:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787895457000,"timestamp_ms":1787895457000,"timestamp_seconds":1787895457,"priority":1,"record_length":96,"hex_timestamp":"000001a046dfa4e8"} 
[2026-08-28 11:11:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:11:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 11:11: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-28 11:11:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:11:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:11:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:11:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:11:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:11:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:11:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:11:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:11:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:11:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701159936001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 11:11:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:11:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:11:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701159936001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:11:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 11:11:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:11: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-28 11:11:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:11:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701159936001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:11:47] 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":707158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:11:47] local.INFO: GPS data processed {"connection_id":163633,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:11:47] local.INFO: Acknowledgment sent {"connection_id":163633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:12:00] local.INFO: TCP Data received {"connection_id":165982,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a046e31ba0012d18a54007229cb80076011b1f..."} 
[2026-08-28 11:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046e31ba0012d18a54007229cb80076011b1f..."} 
[2026-08-28 11:12:00] local.INFO: Processing buffer {"connection_id":165982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046e31ba0012d18a54007229cb80076011b1f..."} 
[2026-08-28 11:12:00] local.INFO: Packet analysis {"connection_id":165982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046e3"} 
[2026-08-28 11:12:00] local.INFO: Extracted packet for processing {"connection_id":165982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046e3"} 
[2026-08-28 11:12:00] local.INFO: GPS Element Parsed {"raw_longitude":756589888,"raw_latitude":119708856,"longitude_deg":75.6589888,"latitude_deg":11.9708856,"altitude":118,"angle":283,"satellites":31,"speed":6,"hex_longitude":"2d18a540","hex_latitude":"07229cb8","is_valid_coordinates":true} 
[2026-08-28 11:12:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701294848001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:12:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15829750509469696,"note":"Value kept but may cause issues"} 
[2026-08-28 11:12:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776036764945512448,"note":"Value kept but may cause issues"} 
[2026-08-28 11:12:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:12:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787895684000,"timestamp_ms":1787895684000,"timestamp_seconds":1787895684,"priority":1,"record_length":96,"hex_timestamp":"000001a046e31ba0"} 
[2026-08-28 11:12:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:12:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 11:12:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-08-28 11:12:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:12:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:12:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:12:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:12:00] local.INFO: Teltonika packet parsed successfully {"connection_id":165982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:12:00] local.INFO: Passing IMEI to GPS processor {"connection_id":165982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:12:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":165982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:12:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:12:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:12:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:12:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701294848001,"66":13820,"105":206,"83":41984,"24":6,"16":15829750509469696,"45":1776036764945512448},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 11:12:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:12:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:12:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701294848001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:12:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 11:12:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 11:12:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15829750509469696,"km_value":15829750509469.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:12:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776036764945512448,"description":"Unknown IO ID 45"} 
[2026-08-28 11:12:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701294848001,"power":13820,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1776036764945512448}} 
[2026-08-28 11:12:00] local.INFO: DEBUG: GPS processor result {"connection_id":165982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707159,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:12:00] local.INFO: GPS data processed {"connection_id":165982,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:12:00] local.INFO: Acknowledgment sent {"connection_id":165982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:12:10] local.INFO: TCP Data received {"connection_id":165983,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:12:10] local.INFO: Processing buffer {"connection_id":165983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:12:10] local.INFO: IMEI packet received {"connection_id":165983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 11:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":165983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:12:11] local.INFO: TCP Data received {"connection_id":165983,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:12:11] local.INFO: Processing buffer {"connection_id":165983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:12:11] local.INFO: IMEI packet received {"connection_id":165983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 11:12:11] local.INFO: IMEI acknowledgment sent {"connection_id":165983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:12:16] local.INFO: TCP Data received {"connection_id":165983,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:12:16] local.INFO: Processing buffer {"connection_id":165983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:12:16] local.INFO: IMEI packet received {"connection_id":165983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 11:12:16] local.INFO: IMEI acknowledgment sent {"connection_id":165983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:12:17] local.INFO: TCP Data received {"connection_id":165983,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a046e32370012d18a3c007229cc00076010a1f..."} 
[2026-08-28 11:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046e32370012d18a3c007229cc00076010a1f..."} 
[2026-08-28 11:12:17] local.INFO: Processing buffer {"connection_id":165983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046e32370012d18a3c007229cc00076010a1f..."} 
[2026-08-28 11:12:17] local.INFO: Packet analysis {"connection_id":165983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046e3"} 
[2026-08-28 11:12:17] local.INFO: Extracted packet for processing {"connection_id":165983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046e3"} 
[2026-08-28 11:12:17] local.INFO: GPS Element Parsed {"raw_longitude":756589504,"raw_latitude":119708864,"longitude_deg":75.6589504,"latitude_deg":11.9708864,"altitude":118,"angle":266,"satellites":31,"speed":10,"hex_longitude":"2d18a3c0","hex_latitude":"07229cc0","is_valid_coordinates":true} 
[2026-08-28 11:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:12:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701295104001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:12:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15829767689338880,"note":"Value kept but may cause issues"} 
[2026-08-28 11:12:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775896027457173504,"note":"Value kept but may cause issues"} 
[2026-08-28 11:12: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-28 11:12:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787895686000,"timestamp_ms":1787895686000,"timestamp_seconds":1787895686,"priority":1,"record_length":96,"hex_timestamp":"000001a046e32370"} 
[2026-08-28 11:12:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:12:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 11:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-08-28 11:12:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:12:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:12:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:12:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:12:17] local.INFO: Teltonika packet parsed successfully {"connection_id":165983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:12:17] local.INFO: Passing IMEI to GPS processor {"connection_id":165983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:12:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":165983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:12:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:12:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:12:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:12:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701295104001,"66":13906,"105":206,"83":41984,"24":10,"16":15829767689338880,"45":1775896027457173504},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 11:12:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:12:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:12:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701295104001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:12:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 11:12:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 11:12:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15829767689338880,"km_value":15829767689338.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:12:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775896027457173504,"description":"Unknown IO ID 45"} 
[2026-08-28 11:12:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701295104001,"power":13906,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1775896027457173504}} 
[2026-08-28 11:12:17] local.INFO: DEBUG: GPS processor result {"connection_id":165983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707160,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:12:17] local.INFO: GPS data processed {"connection_id":165983,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:12:17] local.INFO: Acknowledgment sent {"connection_id":165983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:12:31] local.INFO: TCP Data received {"connection_id":165984,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:12:31] local.INFO: Processing buffer {"connection_id":165984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:12:31] local.INFO: IMEI packet received {"connection_id":165984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 11:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":165984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:12:36] local.INFO: TCP Data received {"connection_id":165984,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:12:36] local.INFO: Processing buffer {"connection_id":165984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:12:36] local.INFO: IMEI packet received {"connection_id":165984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 11:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":165984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:12:37] local.INFO: TCP Data received {"connection_id":165984,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a046dfa4e8012d34c14006aa4840000c00e62b..."} 
[2026-08-28 11:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046dfa4e8012d34c14006aa4840000c00e62b..."} 
[2026-08-28 11:12:37] local.INFO: Processing buffer {"connection_id":165984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046dfa4e8012d34c14006aa4840000c00e62b..."} 
[2026-08-28 11:12:37] local.INFO: Packet analysis {"connection_id":165984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046df"} 
[2026-08-28 11:12:37] local.INFO: Extracted packet for processing {"connection_id":165984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046df"} 
[2026-08-28 11:12:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701159936001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787895457000,"timestamp_ms":1787895457000,"timestamp_seconds":1787895457,"priority":1,"record_length":96,"hex_timestamp":"000001a046dfa4e8"} 
[2026-08-28 11:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 11:12:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:12:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":165984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":165984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":165984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701159936001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 11:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701159936001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:12:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 11:12:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:12: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-28 11:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701159936001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":165984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:12:37] local.INFO: GPS data processed {"connection_id":165984,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:12:37] local.INFO: Acknowledgment sent {"connection_id":165984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:12:41] local.INFO: TCP Data received {"connection_id":165984,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a046dfa4e8012d34c14006aa4840000c00e62b..."} 
[2026-08-28 11:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046dfa4e8012d34c14006aa4840000c00e62b..."} 
[2026-08-28 11:12:41] local.INFO: Processing buffer {"connection_id":165984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046dfa4e8012d34c14006aa4840000c00e62b..."} 
[2026-08-28 11:12:41] local.INFO: Packet analysis {"connection_id":165984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046df"} 
[2026-08-28 11:12:41] local.INFO: Extracted packet for processing {"connection_id":165984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046df"} 
[2026-08-28 11:12:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701159936001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:12:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:12:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787895457000,"timestamp_ms":1787895457000,"timestamp_seconds":1787895457,"priority":1,"record_length":96,"hex_timestamp":"000001a046dfa4e8"} 
[2026-08-28 11:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:12:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 11:12: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-28 11:12:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":165984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":165984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":165984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:12:41] local.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-28 11:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701159936001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 11:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701159936001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:12:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 11:12:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:12: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-28 11:12:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701159936001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":165984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:12:41] local.INFO: GPS data processed {"connection_id":165984,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:12:41] local.INFO: Acknowledgment sent {"connection_id":165984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:12:48] local.INFO: TCP Data received {"connection_id":165983,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a046e34a80012d18988007229cc00073011a1e..."} 
[2026-08-28 11:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046e34a80012d18988007229cc00073011a1e..."} 
[2026-08-28 11:12:48] local.INFO: Processing buffer {"connection_id":165983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046e34a80012d18988007229cc00073011a1e..."} 
[2026-08-28 11:12:48] local.INFO: Packet analysis {"connection_id":165983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046e3"} 
[2026-08-28 11:12:48] local.INFO: Extracted packet for processing {"connection_id":165983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046e3"} 
[2026-08-28 11:12:48] local.INFO: GPS Element Parsed {"raw_longitude":756586624,"raw_latitude":119708864,"longitude_deg":75.6586624,"latitude_deg":11.9708864,"altitude":115,"angle":282,"satellites":30,"speed":7,"hex_longitude":"2d189880","hex_latitude":"07229cc0","is_valid_coordinates":true} 
[2026-08-28 11:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701295616001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:12:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15829905128292352,"note":"Value kept but may cause issues"} 
[2026-08-28 11:12:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775473814992109568,"note":"Value kept but may cause issues"} 
[2026-08-28 11:12:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:12:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787895696000,"timestamp_ms":1787895696000,"timestamp_seconds":1787895696,"priority":1,"record_length":96,"hex_timestamp":"000001a046e34a80"} 
[2026-08-28 11:12:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:12:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 11:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-08-28 11:12:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:12:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:12:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:12:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:12:48] local.INFO: Teltonika packet parsed successfully {"connection_id":165983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:12:48] local.INFO: Passing IMEI to GPS processor {"connection_id":165983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:12:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":165983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:12:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:12:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:12:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:12:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701295616001,"66":13189,"105":206,"83":41984,"24":7,"16":15829905128292352,"45":1775473814992109568},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 11:12:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:12:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:12:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701295616001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:12:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 11:12:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 11:12:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15829905128292352,"km_value":15829905128292.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:12:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775473814992109568,"description":"Unknown IO ID 45"} 
[2026-08-28 11:12:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701295616001,"power":13189,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1775473814992109568}} 
[2026-08-28 11:12:49] local.INFO: DEBUG: GPS processor result {"connection_id":165983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707163,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:12:49] local.INFO: GPS data processed {"connection_id":165983,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:12:49] local.INFO: Acknowledgment sent {"connection_id":165983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:13:11] local.INFO: TCP Data received {"connection_id":163635,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:13:11] local.INFO: Processing buffer {"connection_id":163635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:13:11] local.INFO: IMEI packet received {"connection_id":163635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 11:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":163635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:13:12] local.INFO: TCP Data received {"connection_id":165984,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a046dfa4e8012d34c14006aa4840000c00e62b..."} 
[2026-08-28 11:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046dfa4e8012d34c14006aa4840000c00e62b..."} 
[2026-08-28 11:13:12] local.INFO: Processing buffer {"connection_id":165984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046dfa4e8012d34c14006aa4840000c00e62b..."} 
[2026-08-28 11:13:12] local.INFO: Packet analysis {"connection_id":165984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046df"} 
[2026-08-28 11:13:12] local.INFO: Extracted packet for processing {"connection_id":165984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046df"} 
[2026-08-28 11:13:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701159936001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:13:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:13:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787895457000,"timestamp_ms":1787895457000,"timestamp_seconds":1787895457,"priority":1,"record_length":96,"hex_timestamp":"000001a046dfa4e8"} 
[2026-08-28 11:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:13:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 11:13:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:13:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":165984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":165984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":165984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:13:12] local.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-28 11:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701159936001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 11:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701159936001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:13:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 11:13:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:13: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-28 11:13:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701159936001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":165984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:13:12] local.INFO: GPS data processed {"connection_id":165984,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:13:12] local.INFO: Acknowledgment sent {"connection_id":165984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:13:16] local.INFO: TCP Data received {"connection_id":163635,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:13:16] local.INFO: Processing buffer {"connection_id":163635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:13:16] local.INFO: IMEI packet received {"connection_id":163635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 11:13:16] local.INFO: IMEI acknowledgment sent {"connection_id":163635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:13:18] local.INFO: TCP Data received {"connection_id":163635,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a046e34e68012d18978007229d180073012e1e..."} 
[2026-08-28 11:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046e34e68012d18978007229d180073012e1e..."} 
[2026-08-28 11:13:18] local.INFO: Processing buffer {"connection_id":163635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046e34e68012d18978007229d180073012e1e..."} 
[2026-08-28 11:13:18] local.INFO: Packet analysis {"connection_id":163635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046e3"} 
[2026-08-28 11:13:18] local.INFO: Extracted packet for processing {"connection_id":163635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046e3"} 
[2026-08-28 11:13:18] local.INFO: GPS Element Parsed {"raw_longitude":756586368,"raw_latitude":119708952,"longitude_deg":75.6586368,"latitude_deg":11.9708952,"altitude":115,"angle":302,"satellites":30,"speed":7,"hex_longitude":"2d189780","hex_latitude":"07229d18","is_valid_coordinates":true} 
[2026-08-28 11:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:13:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701298176001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:13:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15829918013194240,"note":"Value kept but may cause issues"} 
[2026-08-28 11:13:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772307221504114688,"note":"Value kept but may cause issues"} 
[2026-08-28 11:13: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-28 11:13:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787895697000,"timestamp_ms":1787895697000,"timestamp_seconds":1787895697,"priority":1,"record_length":96,"hex_timestamp":"000001a046e34e68"} 
[2026-08-28 11:13:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:13: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-28 11:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-28 11:13:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:13:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:13:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:13:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:13:18] local.INFO: Teltonika packet parsed successfully {"connection_id":163635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:13:18] local.INFO: Passing IMEI to GPS processor {"connection_id":163635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:13:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":163635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:13:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:13:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:13:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:13:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701298176001,"66":13189,"105":206,"83":41984,"24":7,"16":15829918013194240,"45":1772307221504114688},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 11:13:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:13:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:13:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701298176001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:13:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 11:13:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 11:13:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15829918013194240,"km_value":15829918013194.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:13:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772307221504114688,"description":"Unknown IO ID 45"} 
[2026-08-28 11:13:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701298176001,"power":13189,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1772307221504114688}} 
[2026-08-28 11:13:18] 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":707165,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:13:18] local.INFO: GPS data processed {"connection_id":163635,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:13:18] local.INFO: Acknowledgment sent {"connection_id":163635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:13:31] local.INFO: TCP Data received {"connection_id":164632,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:13:31] local.INFO: Processing buffer {"connection_id":164632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:13:31] local.INFO: IMEI packet received {"connection_id":164632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 11:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":164632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:13:36] local.INFO: TCP Data received {"connection_id":164632,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:13:36] local.INFO: Processing buffer {"connection_id":164632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:13:36] local.INFO: IMEI packet received {"connection_id":164632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 11:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":164632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:13:38] local.INFO: TCP Data received {"connection_id":164632,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a046e43cb0012d34c14006aa4840001000e62d..."} 
[2026-08-28 11:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046e43cb0012d34c14006aa4840001000e62d..."} 
[2026-08-28 11:13:38] local.INFO: Processing buffer {"connection_id":164632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046e43cb0012d34c14006aa4840001000e62d..."} 
[2026-08-28 11:13:38] local.INFO: Packet analysis {"connection_id":164632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046e4"} 
[2026-08-28 11:13:38] local.INFO: Extracted packet for processing {"connection_id":164632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046e4"} 
[2026-08-28 11:13:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701236992001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:13:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 11:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:13:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:13: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-28 11:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787895758000,"timestamp_ms":1787895758000,"timestamp_seconds":1787895758,"priority":1,"record_length":96,"hex_timestamp":"000001a046e43cb0"} 
[2026-08-28 11:13:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:13:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 11:13:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:13:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:13:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:13:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701236992001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-28 11:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701236992001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:13:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:13: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-28 11:13:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701236992001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":164632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:13:38] local.INFO: GPS data processed {"connection_id":164632,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:13:38] local.INFO: Acknowledgment sent {"connection_id":164632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:14:12] local.INFO: TCP Data received {"connection_id":164632,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a046e43cb0012d34c14006aa4840001000e62d..."} 
[2026-08-28 11:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046e43cb0012d34c14006aa4840001000e62d..."} 
[2026-08-28 11:14:12] local.INFO: Processing buffer {"connection_id":164632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046e43cb0012d34c14006aa4840001000e62d..."} 
[2026-08-28 11:14:12] local.INFO: Packet analysis {"connection_id":164632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046e4"} 
[2026-08-28 11:14:12] local.INFO: Extracted packet for processing {"connection_id":164632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046e4"} 
[2026-08-28 11:14:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:14:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701236992001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:14:12] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 11:14:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:14:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:14:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 11:14:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787895758000,"timestamp_ms":1787895758000,"timestamp_seconds":1787895758,"priority":1,"record_length":96,"hex_timestamp":"000001a046e43cb0"} 
[2026-08-28 11:14:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:14:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 11:14:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:14:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:14:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:14:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:14:12] local.INFO: Teltonika packet parsed successfully {"connection_id":164632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:14:12] local.INFO: Passing IMEI to GPS processor {"connection_id":164632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:14:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":164632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:14:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:14:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:14:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:14:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701236992001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-28 11:14:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:14:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:14:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701236992001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:14:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:14: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-28 11:14:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:14:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701236992001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:14:12] local.INFO: DEBUG: GPS processor result {"connection_id":164632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:14:12] local.INFO: GPS data processed {"connection_id":164632,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:14:12] local.INFO: Acknowledgment sent {"connection_id":164632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:15:27] local.INFO: TCP Data received {"connection_id":163636,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163636,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:15:27] local.INFO: Processing buffer {"connection_id":163636,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:15:27] local.INFO: IMEI packet received {"connection_id":163636,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 11:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":163636,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:15:31] local.INFO: TCP Data received {"connection_id":163636,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163636,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:15:31] local.INFO: Processing buffer {"connection_id":163636,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:15:31] local.INFO: IMEI packet received {"connection_id":163636,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 11:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":163636,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:15:32] local.INFO: TCP Data received {"connection_id":163636,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163636,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:15:32] local.INFO: Processing buffer {"connection_id":163636,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:15:32] local.INFO: IMEI packet received {"connection_id":163636,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 11:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":163636,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:15:33] local.INFO: TCP Data received {"connection_id":163636,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a046e67318012d19fa800723a988003200521f..."} 
[2026-08-28 11:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046e67318012d19fa800723a988003200521f..."} 
[2026-08-28 11:15:33] local.INFO: Processing buffer {"connection_id":163636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046e67318012d19fa800723a988003200521f..."} 
[2026-08-28 11:15:33] local.INFO: Packet analysis {"connection_id":163636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046e6"} 
[2026-08-28 11:15:33] local.INFO: Extracted packet for processing {"connection_id":163636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046e6"} 
[2026-08-28 11:15:33] local.INFO: GPS Element Parsed {"raw_longitude":756677248,"raw_latitude":119777672,"longitude_deg":75.6677248,"latitude_deg":11.9777672,"altitude":50,"angle":82,"satellites":31,"speed":59,"hex_longitude":"2d19fa80","hex_latitude":"0723a988","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701349632001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15836343284269056,"note":"Value kept but may cause issues"} 
[2026-08-28 11:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1862027370347952128,"note":"Value kept but may cause issues"} 
[2026-08-28 11:15:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787895903000,"timestamp_ms":1787895903000,"timestamp_seconds":1787895903,"priority":1,"record_length":96,"hex_timestamp":"000001a046e67318"} 
[2026-08-28 11: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-28 11:15:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 11:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-28 11:15:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11: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-28 11: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-28 11:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":163636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":163636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":163636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:15:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701349632001,"66":14298,"42":206,"83":42752,"24":59,"16":15836343284269056,"45":1862027370347952128},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-08-28 11:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701349632001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:15:33] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-28 11:15:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-28 11:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15836343284269056,"km_value":15836343284269.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1862027370347952128,"description":"Unknown IO ID 45"} 
[2026-08-28 11:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701349632001,"power":14298,"unknown_42":206,"unknown_83":42752,"ignition":59,"odometer":null,"unknown_45":1862027370347952128}} 
[2026-08-28 11:15:34] 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":707168,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:15:34] local.INFO: GPS data processed {"connection_id":163636,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:15:34] local.INFO: Acknowledgment sent {"connection_id":163636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:15:41] local.INFO: TCP Data received {"connection_id":164634,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:15:41] local.INFO: Processing buffer {"connection_id":164634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:15:41] local.INFO: IMEI packet received {"connection_id":164634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 11:15:41] local.INFO: IMEI acknowledgment sent {"connection_id":164634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:15:48] local.INFO: TCP Data received {"connection_id":164634,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:15:48] local.INFO: Processing buffer {"connection_id":164634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:15:48] local.INFO: IMEI packet received {"connection_id":164634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 11:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":164634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:15:49] local.INFO: TCP Data received {"connection_id":164634,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a046e43cb0012d34c14006aa4840001000e62d..."} 
[2026-08-28 11:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046e43cb0012d34c14006aa4840001000e62d..."} 
[2026-08-28 11:15:49] local.INFO: Processing buffer {"connection_id":164634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046e43cb0012d34c14006aa4840001000e62d..."} 
[2026-08-28 11:15:49] local.INFO: Packet analysis {"connection_id":164634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046e4"} 
[2026-08-28 11:15:49] local.INFO: Extracted packet for processing {"connection_id":164634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046e4"} 
[2026-08-28 11:15:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701236992001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:15:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 11:15:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:15:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:15: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-28 11:15:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787895758000,"timestamp_ms":1787895758000,"timestamp_seconds":1787895758,"priority":1,"record_length":96,"hex_timestamp":"000001a046e43cb0"} 
[2026-08-28 11: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-28 11:15:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11: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-28 11: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-28 11: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-28 11:15:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:15:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:15:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:15:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:15:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:15:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:15:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:15:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701236992001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-28 11:15:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:15:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:15:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701236992001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:15:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11: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-28 11:15:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:15:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701236992001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:15:49] local.INFO: DEBUG: GPS processor result {"connection_id":164634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:15:49] local.INFO: GPS data processed {"connection_id":164634,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:15:49] local.INFO: Acknowledgment sent {"connection_id":164634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:16:21] local.INFO: TCP Data received {"connection_id":163637,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163637,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:16:21] local.INFO: Processing buffer {"connection_id":163637,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:16:21] local.INFO: IMEI packet received {"connection_id":163637,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 11:16:21] local.INFO: IMEI acknowledgment sent {"connection_id":163637,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:16:26] local.INFO: TCP Data received {"connection_id":163637,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163637,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:16:26] local.INFO: Processing buffer {"connection_id":163637,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:16:26] local.INFO: IMEI packet received {"connection_id":163637,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 11:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":163637,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:16:27] local.INFO: TCP Data received {"connection_id":163637,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a046e68a88012d1a1b400723b058003000431f..."} 
[2026-08-28 11:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046e68a88012d1a1b400723b058003000431f..."} 
[2026-08-28 11:16:27] local.INFO: Processing buffer {"connection_id":163637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046e68a88012d1a1b400723b058003000431f..."} 
[2026-08-28 11:16:27] local.INFO: Packet analysis {"connection_id":163637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046e6"} 
[2026-08-28 11:16:27] local.INFO: Extracted packet for processing {"connection_id":163637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046e6"} 
[2026-08-28 11:16:27] local.INFO: GPS Element Parsed {"raw_longitude":756685632,"raw_latitude":119779416,"longitude_deg":75.6685632,"latitude_deg":11.9779416,"altitude":48,"angle":67,"satellites":31,"speed":52,"hex_longitude":"2d1a1b40","hex_latitude":"0723b058","is_valid_coordinates":true} 
[2026-08-28 11:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701351168001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15836751306162176,"note":"Value kept but may cause issues"} 
[2026-08-28 11:16:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1871949363277301760,"note":"Value kept but may cause issues"} 
[2026-08-28 11:16:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787895909000,"timestamp_ms":1787895909000,"timestamp_seconds":1787895909,"priority":1,"record_length":96,"hex_timestamp":"000001a046e68a88"} 
[2026-08-28 11:16:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:16:27] 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-28 11:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-28 11:16:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:16:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:16:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":163637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":163637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":163637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:16:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701351168001,"66":14374,"42":206,"83":42752,"24":52,"16":15836751306162176,"45":1871949363277301760},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-08-28 11:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701351168001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:16:27] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-28 11:16:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-28 11:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15836751306162176,"km_value":15836751306162.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:16:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1871949363277301760,"description":"Unknown IO ID 45"} 
[2026-08-28 11:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701351168001,"power":14374,"unknown_42":206,"unknown_83":42752,"ignition":52,"odometer":null,"unknown_45":1871949363277301760}} 
[2026-08-28 11:16:27] 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":707170,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:16:27] local.INFO: GPS data processed {"connection_id":163637,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:16:27] local.INFO: Acknowledgment sent {"connection_id":163637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:16:31] local.INFO: TCP Data received {"connection_id":165985,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:16:31] local.INFO: Processing buffer {"connection_id":165985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:16:31] local.INFO: IMEI packet received {"connection_id":165985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 11:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":165985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:16:37] local.INFO: TCP Data received {"connection_id":165985,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:16:37] local.INFO: Processing buffer {"connection_id":165985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:16:37] local.INFO: IMEI packet received {"connection_id":165985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 11:16:37] local.INFO: IMEI acknowledgment sent {"connection_id":165985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:16:39] local.INFO: TCP Data received {"connection_id":165985,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a046e43cb0012d34c14006aa4840001000e62d..."} 
[2026-08-28 11:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046e43cb0012d34c14006aa4840001000e62d..."} 
[2026-08-28 11:16:39] local.INFO: Processing buffer {"connection_id":165985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046e43cb0012d34c14006aa4840001000e62d..."} 
[2026-08-28 11:16:39] local.INFO: Packet analysis {"connection_id":165985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046e4"} 
[2026-08-28 11:16:39] local.INFO: Extracted packet for processing {"connection_id":165985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046e4"} 
[2026-08-28 11:16:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701236992001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:16:39] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 11:16:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:16:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:16:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 11:16:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787895758000,"timestamp_ms":1787895758000,"timestamp_seconds":1787895758,"priority":1,"record_length":96,"hex_timestamp":"000001a046e43cb0"} 
[2026-08-28 11:16:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:16:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 11:16:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:16:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:16:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:16:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:16:39] local.INFO: Teltonika packet parsed successfully {"connection_id":165985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:16:39] local.INFO: Passing IMEI to GPS processor {"connection_id":165985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:16:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":165985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:16:39] 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-28 11:16:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:16:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:16:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701236992001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 11:16:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:16:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:16:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701236992001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:16:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:16:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:16:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:16:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701236992001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:16:39] local.INFO: DEBUG: GPS processor result {"connection_id":165985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:16:39] local.INFO: GPS data processed {"connection_id":165985,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:16:39] local.INFO: Acknowledgment sent {"connection_id":165985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:17:11] local.INFO: TCP Data received {"connection_id":165985,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a046e43cb0012d34c14006aa4840001000e62d..."} 
[2026-08-28 11:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046e43cb0012d34c14006aa4840001000e62d..."} 
[2026-08-28 11:17:11] local.INFO: Processing buffer {"connection_id":165985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046e43cb0012d34c14006aa4840001000e62d..."} 
[2026-08-28 11:17:11] local.INFO: Packet analysis {"connection_id":165985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046e4"} 
[2026-08-28 11:17:11] local.INFO: Extracted packet for processing {"connection_id":165985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046e4"} 
[2026-08-28 11:17:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701236992001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:17:11] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 11:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:17:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:17: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-28 11:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787895758000,"timestamp_ms":1787895758000,"timestamp_seconds":1787895758,"priority":1,"record_length":96,"hex_timestamp":"000001a046e43cb0"} 
[2026-08-28 11:17:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:17:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 11:17:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:17:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:17:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":165985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":165985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":165985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:17:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701236992001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 11:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701236992001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:17:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:17: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-28 11:17:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701236992001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":165985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:17:11] local.INFO: GPS data processed {"connection_id":165985,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:17:11] local.INFO: Acknowledgment sent {"connection_id":165985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:17:11] local.INFO: TCP Data received {"connection_id":163366,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163366,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:17:11] local.INFO: Processing buffer {"connection_id":163366,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:17:11] local.INFO: IMEI packet received {"connection_id":163366,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 11:17:11] local.INFO: IMEI acknowledgment sent {"connection_id":163366,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:17:16] local.INFO: TCP Data received {"connection_id":163366,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163366,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:17:16] local.INFO: Processing buffer {"connection_id":163366,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:17:16] local.INFO: IMEI packet received {"connection_id":163366,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 11:17:16] local.INFO: IMEI acknowledgment sent {"connection_id":163366,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:17:17] local.INFO: TCP Data received {"connection_id":163366,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a046e7b750012d1ae900072456980031001b1e..."} 
[2026-08-28 11:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046e7b750012d1ae900072456980031001b1e..."} 
[2026-08-28 11:17:17] local.INFO: Processing buffer {"connection_id":163366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046e7b750012d1ae900072456980031001b1e..."} 
[2026-08-28 11:17:17] local.INFO: Packet analysis {"connection_id":163366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046e7"} 
[2026-08-28 11:17:17] local.INFO: Extracted packet for processing {"connection_id":163366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046e7"} 
[2026-08-28 11:17:17] local.INFO: GPS Element Parsed {"raw_longitude":756738304,"raw_latitude":119821976,"longitude_deg":75.6738304,"latitude_deg":11.9821976,"altitude":49,"angle":27,"satellites":30,"speed":38,"hex_longitude":"2d1ae900","hex_latitude":"07245698","is_valid_coordinates":true} 
[2026-08-28 11:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:17:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701370880001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:17:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15840088495751168,"note":"Value kept but may cause issues"} 
[2026-08-28 11:17:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1936125657977573376,"note":"Value kept but may cause issues"} 
[2026-08-28 11:17:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:17:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787895986000,"timestamp_ms":1787895986000,"timestamp_seconds":1787895986,"priority":1,"record_length":96,"hex_timestamp":"000001a046e7b750"} 
[2026-08-28 11:17:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:17: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-28 11:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-28 11:17:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6983968460,"note":"Value kept but may cause issues"} 
[2026-08-28 11:17:17] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-08-28 11:17:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-28 11:17:17] local.WARNING: Large IO value detected {"io_id":70,"raw_value":3878590465,"note":"Value kept but may cause issues"} 
[2026-08-28 11:17:17] local.WARNING: Large IO value detected {"io_id":240,"raw_value":84752859161633752,"note":"Value kept but may cause issues"} 
[2026-08-28 11:17:17] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503841295695872,"note":"Value kept but may cause issues"} 
[2026-08-28 11:17:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1596653774,"corrected_to":0} 
[2026-08-28 11:17:17] local.WARNING: Large IO value detected {"io_id":3,"raw_value":2684431642,"note":"Value kept but may cause issues"} 
[2026-08-28 11:17:17] local.WARNING: Large IO value detected {"io_id":248,"raw_value":13510919661299712,"note":"Value kept but may cause issues"} 
[2026-08-28 11:17:17] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,137,83,24,241,157,16,70,160,144,45,64,60,48,31,10,66,124,128,51,47,30,43,69,89,1,240,38,227,36,4,113,205,27,3,105,136,32,239,55,2,56,7,42,206,248],"length":529,"final_offset":659,"validated_count":46,"validation_warnings":[{"io_id":205,"original":1596653774,"validated":0}]} 
[2026-08-28 11:17:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3530864018151505920,"timestamp_seconds":3530864018151506.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 11:17:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:17:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:17:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:17:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:17:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:17:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:17:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:17:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:17:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701370880001,"66":14298,"137":206,"83":42752,"24":38,"16":15840088495751168,"45":1936125657977573376},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-28 11:17:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:17:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:17:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701370880001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:17:17] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-28 11:17:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-28 11:17:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15840088495751168,"km_value":15840088495751.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:17:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1936125657977573376,"description":"Unknown IO ID 45"} 
[2026-08-28 11:17:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701370880001,"power":14298,"unknown_137":206,"unknown_83":42752,"ignition":38,"odometer":null,"unknown_45":1936125657977573376}} 
[2026-08-28 11:17:17] 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":707173,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:17:17] local.INFO: GPS data processed {"connection_id":163366,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:17:17] local.INFO: Acknowledgment sent {"connection_id":163366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:17:36] local.INFO: TCP Data received {"connection_id":163638,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:17:36] local.INFO: Processing buffer {"connection_id":163638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:17:36] local.INFO: IMEI packet received {"connection_id":163638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 11:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":163638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:17:41] local.INFO: TCP Data received {"connection_id":163638,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:17:41] local.INFO: Processing buffer {"connection_id":163638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:17:41] local.INFO: IMEI packet received {"connection_id":163638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 11:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":163638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:17:42] local.INFO: TCP Data received {"connection_id":163638,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a046e43cb0012d34c14006aa4840001000e62d..."} 
[2026-08-28 11:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046e43cb0012d34c14006aa4840001000e62d..."} 
[2026-08-28 11:17:42] local.INFO: Processing buffer {"connection_id":163638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046e43cb0012d34c14006aa4840001000e62d..."} 
[2026-08-28 11:17:42] local.INFO: Packet analysis {"connection_id":163638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046e4"} 
[2026-08-28 11:17:42] local.INFO: Extracted packet for processing {"connection_id":163638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046e4"} 
[2026-08-28 11:17:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701236992001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:17:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 11:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:17:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 11:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787895758000,"timestamp_ms":1787895758000,"timestamp_seconds":1787895758,"priority":1,"record_length":96,"hex_timestamp":"000001a046e43cb0"} 
[2026-08-28 11:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:17:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 11: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-28 11:17:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:17:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701236992001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-28 11:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701236992001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:17:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11: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-28 11:17:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701236992001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:17:42] 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":707174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:17:42] local.INFO: GPS data processed {"connection_id":163638,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:17:42] local.INFO: Acknowledgment sent {"connection_id":163638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:17:48] local.INFO: TCP Data received {"connection_id":163366,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a046e7cec0012d1af540072469f8002e00271c..."} 
[2026-08-28 11:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046e7cec0012d1af540072469f8002e00271c..."} 
[2026-08-28 11:17:48] local.INFO: Processing buffer {"connection_id":163366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046e7cec0012d1af540072469f8002e00271c..."} 
[2026-08-28 11:17:48] local.INFO: Packet analysis {"connection_id":163366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046e7"} 
[2026-08-28 11:17:48] local.INFO: Extracted packet for processing {"connection_id":163366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046e7"} 
[2026-08-28 11:17:48] local.INFO: GPS Element Parsed {"raw_longitude":756741440,"raw_latitude":119826936,"longitude_deg":75.674144,"latitude_deg":11.9826936,"altitude":46,"angle":39,"satellites":28,"speed":38,"hex_longitude":"2d1af540","hex_latitude":"072469f8","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11:17:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701372416001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:17:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15840367668625408,"note":"Value kept but may cause issues"} 
[2026-08-28 11:17:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1939081145234135040,"note":"Value kept but may cause issues"} 
[2026-08-28 11:17:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:17:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787895992000,"timestamp_ms":1787895992000,"timestamp_seconds":1787895992,"priority":1,"record_length":96,"hex_timestamp":"000001a046e7cec0"} 
[2026-08-28 11: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-28 11:17:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 11: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-28 11:17:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11: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-28 11: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-28 11:17:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:17:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:17:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:17:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:17:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:17:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:17:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:17:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701372416001,"66":14396,"137":206,"83":42752,"24":38,"16":15840367668625408,"45":1939081145234135040},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-28 11:17:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:17:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:17:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701372416001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:17:48] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-28 11:17:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-28 11:17:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15840367668625408,"km_value":15840367668625.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:17:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1939081145234135040,"description":"Unknown IO ID 45"} 
[2026-08-28 11:17:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701372416001,"power":14396,"unknown_137":206,"unknown_83":42752,"ignition":38,"odometer":null,"unknown_45":1939081145234135040}} 
[2026-08-28 11:17:48] 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":707175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:17:48] local.INFO: GPS data processed {"connection_id":163366,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:17:48] local.INFO: Acknowledgment sent {"connection_id":163366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:17:48] local.INFO: TCP Data received {"connection_id":163638,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a046e43cb0012d34c14006aa4840001000e62d..."} 
[2026-08-28 11:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046e43cb0012d34c14006aa4840001000e62d..."} 
[2026-08-28 11:17:48] local.INFO: Processing buffer {"connection_id":163638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046e43cb0012d34c14006aa4840001000e62d..."} 
[2026-08-28 11:17:48] local.INFO: Packet analysis {"connection_id":163638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046e4"} 
[2026-08-28 11:17:48] local.INFO: Extracted packet for processing {"connection_id":163638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046e4"} 
[2026-08-28 11:17:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11:17:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701236992001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:17:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 11:17:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:17:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:17: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-28 11:17:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787895758000,"timestamp_ms":1787895758000,"timestamp_seconds":1787895758,"priority":1,"record_length":96,"hex_timestamp":"000001a046e43cb0"} 
[2026-08-28 11: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-28 11:17:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11: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":31,"data_length":795,"current_offset":136} 
[2026-08-28 11:17: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-28 11: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-28 11: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-28 11:17:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:17:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:17:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:17:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:17:48] 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-28 11:17:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:17:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:17:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701236992001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-28 11:17:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:17:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:17:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701236992001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:17:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11: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-28 11:17:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:17:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701236992001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:17:49] 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":707176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:17:49] local.INFO: GPS data processed {"connection_id":163638,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:17:49] local.INFO: Acknowledgment sent {"connection_id":163638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:18:21] local.INFO: TCP Data received {"connection_id":164635,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:18:21] local.INFO: Processing buffer {"connection_id":164635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:18:21] local.INFO: IMEI packet received {"connection_id":164635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 11:18:21] local.INFO: IMEI acknowledgment sent {"connection_id":164635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:18:26] local.INFO: TCP Data received {"connection_id":164635,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:18:26] local.INFO: Processing buffer {"connection_id":164635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:18:26] local.INFO: IMEI packet received {"connection_id":164635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 11:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":164635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:18:27] local.INFO: TCP Data received {"connection_id":164635,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a046e7f5d0012d1b0d40072483c0002a002d1c..."} 
[2026-08-28 11:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046e7f5d0012d1b0d40072483c0002a002d1c..."} 
[2026-08-28 11:18:27] local.INFO: Processing buffer {"connection_id":164635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046e7f5d0012d1b0d40072483c0002a002d1c..."} 
[2026-08-28 11:18:27] local.INFO: Packet analysis {"connection_id":164635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046e7"} 
[2026-08-28 11:18:27] local.INFO: Extracted packet for processing {"connection_id":164635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046e7"} 
[2026-08-28 11:18:27] local.INFO: GPS Element Parsed {"raw_longitude":756747584,"raw_latitude":119833536,"longitude_deg":75.6747584,"latitude_deg":11.9833536,"altitude":42,"angle":45,"satellites":28,"speed":33,"hex_longitude":"2d1b0d40","hex_latitude":"072483c0","is_valid_coordinates":true} 
[2026-08-28 11:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701373952001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:18:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15840801460322304,"note":"Value kept but may cause issues"} 
[2026-08-28 11:18:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1942529213700110336,"note":"Value kept but may cause issues"} 
[2026-08-28 11:18:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:18:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787896002000,"timestamp_ms":1787896002000,"timestamp_seconds":1787896002,"priority":1,"record_length":96,"hex_timestamp":"000001a046e7f5d0"} 
[2026-08-28 11:18:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:18:27] 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-28 11:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-28 11:18:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:18:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:18:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:18:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:18:27] local.INFO: Teltonika packet parsed successfully {"connection_id":164635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:18:27] local.INFO: Passing IMEI to GPS processor {"connection_id":164635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:18:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":164635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:18:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:18:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:18:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:18:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701373952001,"66":14048,"176":206,"83":42752,"24":33,"16":15840801460322304,"45":1942529213700110336},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-08-28 11:18:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:18:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:18:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701373952001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:18:27] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-28 11:18:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-28 11:18:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15840801460322304,"km_value":15840801460322.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:18:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1942529213700110336,"description":"Unknown IO ID 45"} 
[2026-08-28 11:18:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701373952001,"power":14048,"unknown_176":206,"unknown_83":42752,"ignition":33,"odometer":null,"unknown_45":1942529213700110336}} 
[2026-08-28 11:18:27] local.INFO: DEBUG: GPS processor result {"connection_id":164635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707177,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:18:27] local.INFO: GPS data processed {"connection_id":164635,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:18:27] local.INFO: Acknowledgment sent {"connection_id":164635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:18:31] local.INFO: TCP Data received {"connection_id":164636,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:18:31] local.INFO: Processing buffer {"connection_id":164636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:18:31] local.INFO: IMEI packet received {"connection_id":164636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 11:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":164636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:18:36] local.INFO: TCP Data received {"connection_id":164636,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:18:36] local.INFO: Processing buffer {"connection_id":164636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:18:36] local.INFO: IMEI packet received {"connection_id":164636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 11:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":164636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:18:37] local.INFO: TCP Data received {"connection_id":164636,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a046e8d478012d34c14006aa4840001000e62d..."} 
[2026-08-28 11:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046e8d478012d34c14006aa4840001000e62d..."} 
[2026-08-28 11:18:37] local.INFO: Processing buffer {"connection_id":164636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046e8d478012d34c14006aa4840001000e62d..."} 
[2026-08-28 11:18:37] local.INFO: Packet analysis {"connection_id":164636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046e8"} 
[2026-08-28 11:18:37] local.INFO: Extracted packet for processing {"connection_id":164636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046e8"} 
[2026-08-28 11:18:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701314048001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:18:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 11:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:18: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-28 11:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787896059000,"timestamp_ms":1787896059000,"timestamp_seconds":1787896059,"priority":1,"record_length":96,"hex_timestamp":"000001a046e8d478"} 
[2026-08-28 11:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 11:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11: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-28 11:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701314048001,"66":25343,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 11:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701314048001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:18:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:18: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-28 11:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701314048001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":164636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:18:37] local.INFO: GPS data processed {"connection_id":164636,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:18:37] local.INFO: Acknowledgment sent {"connection_id":164636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:19:09] local.INFO: TCP Data received {"connection_id":164636,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a046e8d478012d34c14006aa4840001000e62d..."} 
[2026-08-28 11:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046e8d478012d34c14006aa4840001000e62d..."} 
[2026-08-28 11:19:09] local.INFO: Processing buffer {"connection_id":164636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046e8d478012d34c14006aa4840001000e62d..."} 
[2026-08-28 11:19:09] local.INFO: Packet analysis {"connection_id":164636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046e8"} 
[2026-08-28 11:19:09] local.INFO: Extracted packet for processing {"connection_id":164636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046e8"} 
[2026-08-28 11:19:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701314048001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:19:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 11:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:19: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-28 11:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787896059000,"timestamp_ms":1787896059000,"timestamp_seconds":1787896059,"priority":1,"record_length":96,"hex_timestamp":"000001a046e8d478"} 
[2026-08-28 11:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 11:19:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:19:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:19:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701314048001,"66":25343,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 11:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701314048001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:19:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:19: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-28 11:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701314048001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":164636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:19:09] local.INFO: GPS data processed {"connection_id":164636,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:19:09] local.INFO: Acknowledgment sent {"connection_id":164636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:19:19] local.INFO: TCP Data received {"connection_id":163368,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163368,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:19:19] local.INFO: Processing buffer {"connection_id":163368,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:19:19] local.INFO: IMEI packet received {"connection_id":163368,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 11:19:19] local.INFO: IMEI acknowledgment sent {"connection_id":163368,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:19:21] local.INFO: TCP Data received {"connection_id":163368,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163368,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:19:21] local.INFO: Processing buffer {"connection_id":163368,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:19:21] local.INFO: IMEI packet received {"connection_id":163368,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 11:19:21] local.INFO: IMEI acknowledgment sent {"connection_id":163368,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:19:23] local.INFO: TCP Data received {"connection_id":163368,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163368,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:19:23] local.INFO: Processing buffer {"connection_id":163368,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:19:23] local.INFO: IMEI packet received {"connection_id":163368,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 11:19:23] local.INFO: IMEI acknowledgment sent {"connection_id":163368,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:19:31] local.INFO: TCP Data received {"connection_id":163639,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:19:31] local.INFO: Processing buffer {"connection_id":163639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:19:31] local.INFO: IMEI packet received {"connection_id":163639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 11:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":163639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:19:35] local.INFO: TCP Data received {"connection_id":163368,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a046e97c70012d1b5f4007256890002a014520..."} 
[2026-08-28 11:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046e97c70012d1b5f4007256890002a014520..."} 
[2026-08-28 11:19:35] local.INFO: Processing buffer {"connection_id":163368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046e97c70012d1b5f4007256890002a014520..."} 
[2026-08-28 11:19:35] local.INFO: Packet analysis {"connection_id":163368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046e9"} 
[2026-08-28 11:19:35] local.INFO: Extracted packet for processing {"connection_id":163368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046e9"} 
[2026-08-28 11:19:35] local.INFO: GPS Element Parsed {"raw_longitude":756768576,"raw_latitude":119892112,"longitude_deg":75.6768576,"latitude_deg":11.9892112,"altitude":42,"angle":325,"satellites":32,"speed":19,"hex_longitude":"2d1b5f40","hex_latitude":"07256890","is_valid_coordinates":true} 
[2026-08-28 11:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701400576001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15844087110303744,"note":"Value kept but may cause issues"} 
[2026-08-28 11:19:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973421092410114048,"note":"Value kept but may cause issues"} 
[2026-08-28 11:19:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787896102000,"timestamp_ms":1787896102000,"timestamp_seconds":1787896102,"priority":1,"record_length":96,"hex_timestamp":"000001a046e97c70"} 
[2026-08-28 11:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:19:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 11:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-28 11:19:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:19:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701400576001,"66":13993,"43":206,"83":41984,"24":19,"16":15844087110303744,"45":1973421092410114048},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-08-28 11:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701400576001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:19:36] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-28 11:19:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 11:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15844087110303744,"km_value":15844087110303.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973421092410114048,"description":"Unknown IO ID 45"} 
[2026-08-28 11:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701400576001,"power":13993,"unknown_43":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1973421092410114048}} 
[2026-08-28 11:19:36] 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":707180,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:19:36] local.INFO: GPS data processed {"connection_id":163368,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:19:36] local.INFO: Acknowledgment sent {"connection_id":163368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:19:38] local.INFO: TCP Data received {"connection_id":163639,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:19:38] local.INFO: Processing buffer {"connection_id":163639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:19:38] local.INFO: IMEI packet received {"connection_id":163639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 11:19:38] local.INFO: IMEI acknowledgment sent {"connection_id":163639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:19:39] local.INFO: TCP Data received {"connection_id":163368,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a046e99f98012d1b4fc007257958002d013920..."} 
[2026-08-28 11:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046e99f98012d1b4fc007257958002d013920..."} 
[2026-08-28 11:19:39] local.INFO: Processing buffer {"connection_id":163368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046e99f98012d1b4fc007257958002d013920..."} 
[2026-08-28 11:19:39] local.INFO: Packet analysis {"connection_id":163368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046e9"} 
[2026-08-28 11:19:39] local.INFO: Extracted packet for processing {"connection_id":163368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046e9"} 
[2026-08-28 11:19:39] local.INFO: GPS Element Parsed {"raw_longitude":756764608,"raw_latitude":119896408,"longitude_deg":75.6764608,"latitude_deg":11.9896408,"altitude":45,"angle":313,"satellites":32,"speed":29,"hex_longitude":"2d1b4fc0","hex_latitude":"07257958","is_valid_coordinates":true} 
[2026-08-28 11:19:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:19:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701402112001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:19:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15844366283177984,"note":"Value kept but may cause issues"} 
[2026-08-28 11:19:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972365561248124928,"note":"Value kept but may cause issues"} 
[2026-08-28 11:19:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:19:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787896111000,"timestamp_ms":1787896111000,"timestamp_seconds":1787896111,"priority":1,"record_length":96,"hex_timestamp":"000001a046e99f98"} 
[2026-08-28 11:19:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:19:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 11:19:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-28 11:19:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:19:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:19:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:19:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:19:39] local.INFO: Teltonika packet parsed successfully {"connection_id":163368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:19:39] local.INFO: Passing IMEI to GPS processor {"connection_id":163368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:19:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":163368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:19:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:19:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:19:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:19:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701402112001,"66":13961,"43":206,"83":41984,"24":29,"16":15844366283177984,"45":1972365561248124928},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-08-28 11:19:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:19:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:19:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701402112001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:19:39] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-28 11:19:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 11:19:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15844366283177984,"km_value":15844366283177.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:19:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972365561248124928,"description":"Unknown IO ID 45"} 
[2026-08-28 11:19:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701402112001,"power":13961,"unknown_43":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1972365561248124928}} 
[2026-08-28 11:19:39] 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":707181,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:19:39] local.INFO: GPS data processed {"connection_id":163368,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:19:39] local.INFO: Acknowledgment sent {"connection_id":163368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:19:39] local.INFO: TCP Data received {"connection_id":163639,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a046e8d478012d34c14006aa4840001000e62d..."} 
[2026-08-28 11:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046e8d478012d34c14006aa4840001000e62d..."} 
[2026-08-28 11:19:39] local.INFO: Processing buffer {"connection_id":163639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046e8d478012d34c14006aa4840001000e62d..."} 
[2026-08-28 11:19:39] local.INFO: Packet analysis {"connection_id":163639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046e8"} 
[2026-08-28 11:19:39] local.INFO: Extracted packet for processing {"connection_id":163639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046e8"} 
[2026-08-28 11:19:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:19:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:19:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701314048001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:19:39] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 11:19:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:19:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:19:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 11:19:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787896059000,"timestamp_ms":1787896059000,"timestamp_seconds":1787896059,"priority":1,"record_length":96,"hex_timestamp":"000001a046e8d478"} 
[2026-08-28 11:19:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:19:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:19:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 11:19:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:19:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:19:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:19:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:19:39] local.INFO: Teltonika packet parsed successfully {"connection_id":163639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:19:39] local.INFO: Passing IMEI to GPS processor {"connection_id":163639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:19:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":163639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:19:39] 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-28 11:19:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:19:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:19:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701314048001,"66":25343,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 11:19:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:19:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:19:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701314048001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:19:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:19:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:19:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:19:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701314048001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:19:39] 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":707182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:19:39] local.INFO: GPS data processed {"connection_id":163639,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:19:39] local.INFO: Acknowledgment sent {"connection_id":163639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:20:11] local.INFO: TCP Data received {"connection_id":163639,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a046e8d478012d34c14006aa4840001000e62d..."} 
[2026-08-28 11:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046e8d478012d34c14006aa4840001000e62d..."} 
[2026-08-28 11:20:11] local.INFO: Processing buffer {"connection_id":163639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046e8d478012d34c14006aa4840001000e62d..."} 
[2026-08-28 11:20:11] local.INFO: Packet analysis {"connection_id":163639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046e8"} 
[2026-08-28 11:20:11] local.INFO: Extracted packet for processing {"connection_id":163639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046e8"} 
[2026-08-28 11:20:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701314048001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:20:11] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 11:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:20:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:20: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-28 11:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787896059000,"timestamp_ms":1787896059000,"timestamp_seconds":1787896059,"priority":1,"record_length":96,"hex_timestamp":"000001a046e8d478"} 
[2026-08-28 11:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:20:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 11:20: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-28 11:20:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":163639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":163639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":163639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:20:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701314048001,"66":25343,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 11:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701314048001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:20:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:20: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-28 11:20:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701314048001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:20:11] 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":707183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:20:11] local.INFO: GPS data processed {"connection_id":163639,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:20:11] local.INFO: Acknowledgment sent {"connection_id":163639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:20:26] local.INFO: TCP Data received {"connection_id":163369,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163369,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:20:26] local.INFO: Processing buffer {"connection_id":163369,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:20:26] local.INFO: IMEI packet received {"connection_id":163369,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 11:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":163369,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:20:31] local.INFO: TCP Data received {"connection_id":164637,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:20:31] local.INFO: Processing buffer {"connection_id":164637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:20:31] local.INFO: IMEI packet received {"connection_id":164637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 11:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":164637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:20:31] local.INFO: TCP Data received {"connection_id":163369,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163369,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:20:31] local.INFO: Processing buffer {"connection_id":163369,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:20:31] local.INFO: IMEI packet received {"connection_id":163369,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 11:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":163369,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:20:32] local.INFO: TCP Data received {"connection_id":163369,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a046ea4f60012d1b47800725d240003000d120..."} 
[2026-08-28 11:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046ea4f60012d1b47800725d240003000d120..."} 
[2026-08-28 11:20:32] local.INFO: Processing buffer {"connection_id":163369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046ea4f60012d1b47800725d240003000d120..."} 
[2026-08-28 11:20:32] local.INFO: Packet analysis {"connection_id":163369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046ea"} 
[2026-08-28 11:20:32] local.INFO: Extracted packet for processing {"connection_id":163369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046ea"} 
[2026-08-28 11:20:32] local.INFO: GPS Element Parsed {"raw_longitude":756762496,"raw_latitude":119919168,"longitude_deg":75.6762496,"latitude_deg":11.9919168,"altitude":48,"angle":209,"satellites":32,"speed":12,"hex_longitude":"2d1b4780","hex_latitude":"0725d240","is_valid_coordinates":true} 
[2026-08-28 11:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701415680001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15845710607941632,"note":"Value kept but may cause issues"} 
[2026-08-28 11:20:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965750899302418432,"note":"Value kept but may cause issues"} 
[2026-08-28 11:20:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787896156000,"timestamp_ms":1787896156000,"timestamp_seconds":1787896156,"priority":1,"record_length":96,"hex_timestamp":"000001a046ea4f60"} 
[2026-08-28 11:20:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:20:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 11:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-28 11:20:32] 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-28 11:20:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:20:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":163369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":163369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":163369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:20:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701415680001,"66":14048,"217":206,"83":42752,"24":12,"16":15845710607941632,"45":1965750899302418432},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-28 11:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701415680001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:20:32] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 11:20:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-28 11:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15845710607941632,"km_value":15845710607941.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:20:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965750899302418432,"description":"Unknown IO ID 45"} 
[2026-08-28 11:20:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701415680001,"power":14048,"unknown_217":206,"unknown_83":42752,"ignition":12,"odometer":null,"unknown_45":1965750899302418432}} 
[2026-08-28 11:20:32] 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":707184,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:20:32] local.INFO: GPS data processed {"connection_id":163369,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:20:32] local.INFO: Acknowledgment sent {"connection_id":163369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:20:36] local.INFO: TCP Data received {"connection_id":164637,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:20:36] local.INFO: Processing buffer {"connection_id":164637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:20:36] local.INFO: IMEI packet received {"connection_id":164637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 11:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":164637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:20:37] local.INFO: TCP Data received {"connection_id":164637,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a046e8d478012d34c14006aa4840001000e62d..."} 
[2026-08-28 11:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046e8d478012d34c14006aa4840001000e62d..."} 
[2026-08-28 11:20:37] local.INFO: Processing buffer {"connection_id":164637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046e8d478012d34c14006aa4840001000e62d..."} 
[2026-08-28 11:20:37] local.INFO: Packet analysis {"connection_id":164637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046e8"} 
[2026-08-28 11:20:37] local.INFO: Extracted packet for processing {"connection_id":164637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046e8"} 
[2026-08-28 11:20:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701314048001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:20:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 11:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:20: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-28 11:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787896059000,"timestamp_ms":1787896059000,"timestamp_seconds":1787896059,"priority":1,"record_length":96,"hex_timestamp":"000001a046e8d478"} 
[2026-08-28 11:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 11:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701314048001,"66":25343,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-28 11:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701314048001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:20:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:20: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-28 11:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701314048001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":164637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:20:37] local.INFO: GPS data processed {"connection_id":164637,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:20:37] local.INFO: Acknowledgment sent {"connection_id":164637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:21:09] local.INFO: TCP Data received {"connection_id":164637,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a046e8d478012d34c14006aa4840001000e62d..."} 
[2026-08-28 11:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046e8d478012d34c14006aa4840001000e62d..."} 
[2026-08-28 11:21:09] local.INFO: Processing buffer {"connection_id":164637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046e8d478012d34c14006aa4840001000e62d..."} 
[2026-08-28 11:21:09] local.INFO: Packet analysis {"connection_id":164637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046e8"} 
[2026-08-28 11:21:09] local.INFO: Extracted packet for processing {"connection_id":164637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046e8"} 
[2026-08-28 11:21:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701314048001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:21:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 11:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:21: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-28 11:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787896059000,"timestamp_ms":1787896059000,"timestamp_seconds":1787896059,"priority":1,"record_length":96,"hex_timestamp":"000001a046e8d478"} 
[2026-08-28 11:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 11:21:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:21:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:21:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701314048001,"66":25343,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-28 11:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701314048001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:21:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:21: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-28 11:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701314048001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":164637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:21:09] local.INFO: GPS data processed {"connection_id":164637,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:21:09] local.INFO: Acknowledgment sent {"connection_id":164637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:21:12] local.INFO: TCP Data received {"connection_id":163370,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163370,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:21:12] local.INFO: Processing buffer {"connection_id":163370,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:21:12] local.INFO: IMEI packet received {"connection_id":163370,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 11:21:12] local.INFO: IMEI acknowledgment sent {"connection_id":163370,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:21:16] local.INFO: TCP Data received {"connection_id":163370,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163370,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:21:16] local.INFO: Processing buffer {"connection_id":163370,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:21:16] local.INFO: IMEI packet received {"connection_id":163370,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 11:21:16] local.INFO: IMEI acknowledgment sent {"connection_id":163370,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:21:17] local.INFO: TCP Data received {"connection_id":163370,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a046ea8610012d1b40800725c7e0003000c41f..."} 
[2026-08-28 11:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046ea8610012d1b40800725c7e0003000c41f..."} 
[2026-08-28 11:21:17] local.INFO: Processing buffer {"connection_id":163370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046ea8610012d1b40800725c7e0003000c41f..."} 
[2026-08-28 11:21:17] local.INFO: Packet analysis {"connection_id":163370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046ea"} 
[2026-08-28 11:21:17] local.INFO: Extracted packet for processing {"connection_id":163370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046ea"} 
[2026-08-28 11:21:17] local.INFO: GPS Element Parsed {"raw_longitude":756760704,"raw_latitude":119916512,"longitude_deg":75.6760704,"latitude_deg":11.9916512,"altitude":48,"angle":196,"satellites":31,"speed":8,"hex_longitude":"2d1b4080","hex_latitude":"0725c7e0","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11:21:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701415936001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:21:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15845865226764288,"note":"Value kept but may cause issues"} 
[2026-08-28 11:21:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965680530558173184,"note":"Value kept but may cause issues"} 
[2026-08-28 11:21:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:21:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787896170000,"timestamp_ms":1787896170000,"timestamp_seconds":1787896170,"priority":1,"record_length":96,"hex_timestamp":"000001a046ea8610"} 
[2026-08-28 11: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-28 11:21: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-28 11:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-28 11:21:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11: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-28 11: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-28 11:21:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:21:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:21:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:21:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:21:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:21:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:21:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:21:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701415936001,"66":14048,"216":206,"83":42752,"24":8,"16":15845865226764288,"45":1965680530558173184},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-08-28 11:21:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:21:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:21:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701415936001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:21:17] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-28 11:21:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-28 11:21:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15845865226764288,"km_value":15845865226764.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:21:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965680530558173184,"description":"Unknown IO ID 45"} 
[2026-08-28 11:21:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701415936001,"power":14048,"unknown_216":206,"unknown_83":42752,"ignition":8,"odometer":null,"unknown_45":1965680530558173184}} 
[2026-08-28 11:21:17] 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":707187,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:21:17] local.INFO: GPS data processed {"connection_id":163370,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:21:17] local.INFO: Acknowledgment sent {"connection_id":163370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:21:18] local.INFO: TCP Data received {"connection_id":163370,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a046ea91c8012d1b3fc00725c598003000d01f..."} 
[2026-08-28 11:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046ea91c8012d1b3fc00725c598003000d01f..."} 
[2026-08-28 11:21:18] local.INFO: Processing buffer {"connection_id":163370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046ea91c8012d1b3fc00725c598003000d01f..."} 
[2026-08-28 11:21:18] local.INFO: Packet analysis {"connection_id":163370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046ea"} 
[2026-08-28 11:21:18] local.INFO: Extracted packet for processing {"connection_id":163370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046ea"} 
[2026-08-28 11:21:18] local.INFO: GPS Element Parsed {"raw_longitude":756760512,"raw_latitude":119915928,"longitude_deg":75.6760512,"latitude_deg":11.9915928,"altitude":48,"angle":208,"satellites":31,"speed":8,"hex_longitude":"2d1b3fc0","hex_latitude":"0725c598","is_valid_coordinates":true} 
[2026-08-28 11:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:21:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701419520001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:21:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15845899586502656,"note":"Value kept but may cause issues"} 
[2026-08-28 11:21:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963710205720518656,"note":"Value kept but may cause issues"} 
[2026-08-28 11:21:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:21:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787896173000,"timestamp_ms":1787896173000,"timestamp_seconds":1787896173,"priority":1,"record_length":96,"hex_timestamp":"000001a046ea91c8"} 
[2026-08-28 11:21:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:21: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-28 11:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-28 11:21:18] 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-28 11:21:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:21:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:21:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:21:18] local.INFO: Teltonika packet parsed successfully {"connection_id":163370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:21:18] local.INFO: Passing IMEI to GPS processor {"connection_id":163370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:21:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":163370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:21:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:21:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:21:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:21:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701419520001,"66":14004,"216":206,"83":42752,"24":8,"16":15845899586502656,"45":1963710205720518656},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-08-28 11:21:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:21:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:21:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701419520001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:21:18] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-28 11:21:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-28 11:21:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15845899586502656,"km_value":15845899586502.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:21:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963710205720518656,"description":"Unknown IO ID 45"} 
[2026-08-28 11:21:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701419520001,"power":14004,"unknown_216":206,"unknown_83":42752,"ignition":8,"odometer":null,"unknown_45":1963710205720518656}} 
[2026-08-28 11:21:18] 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":707188,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:21:18] local.INFO: GPS data processed {"connection_id":163370,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:21:18] local.INFO: Acknowledgment sent {"connection_id":163370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:21:36] local.INFO: TCP Data received {"connection_id":163640,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:21:36] local.INFO: Processing buffer {"connection_id":163640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:21:36] local.INFO: IMEI packet received {"connection_id":163640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 11:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":163640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:21:41] local.INFO: TCP Data received {"connection_id":163640,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:21:41] local.INFO: Processing buffer {"connection_id":163640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:21:41] local.INFO: IMEI packet received {"connection_id":163640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 11:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":163640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:21:42] local.INFO: TCP Data received {"connection_id":163640,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a046e8d478012d34c14006aa4840001000e62d..."} 
[2026-08-28 11:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046e8d478012d34c14006aa4840001000e62d..."} 
[2026-08-28 11:21:42] local.INFO: Processing buffer {"connection_id":163640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046e8d478012d34c14006aa4840001000e62d..."} 
[2026-08-28 11:21:42] local.INFO: Packet analysis {"connection_id":163640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046e8"} 
[2026-08-28 11:21:42] local.INFO: Extracted packet for processing {"connection_id":163640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046e8"} 
[2026-08-28 11:21:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701314048001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:21:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 11:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:21:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:21:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 11:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787896059000,"timestamp_ms":1787896059000,"timestamp_seconds":1787896059,"priority":1,"record_length":96,"hex_timestamp":"000001a046e8d478"} 
[2026-08-28 11: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-28 11:21:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 11:21: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-28 11: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-28 11: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-28 11:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:21: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-28 11:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701314048001,"66":25343,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 11:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701314048001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:21:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11: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-28 11:21:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701314048001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:21:42] 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":707189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:21:42] local.INFO: GPS data processed {"connection_id":163640,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:21:42] local.INFO: Acknowledgment sent {"connection_id":163640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:21:49] local.INFO: TCP Data received {"connection_id":163370,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a046eac878012d1b3f400725c538003100371f..."} 
[2026-08-28 11:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046eac878012d1b3f400725c538003100371f..."} 
[2026-08-28 11:21:49] local.INFO: Processing buffer {"connection_id":163370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046eac878012d1b3f400725c538003100371f..."} 
[2026-08-28 11:21:49] local.INFO: Packet analysis {"connection_id":163370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046ea"} 
[2026-08-28 11:21:49] local.INFO: Extracted packet for processing {"connection_id":163370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046ea"} 
[2026-08-28 11:21:49] local.INFO: GPS Element Parsed {"raw_longitude":756760384,"raw_latitude":119915832,"longitude_deg":75.6760384,"latitude_deg":11.9915832,"altitude":49,"angle":55,"satellites":31,"speed":1,"hex_longitude":"2d1b3f40","hex_latitude":"0725c538","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701420288001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15845942536175616,"note":"Value kept but may cause issues"} 
[2026-08-28 11:21:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963499099487836160,"note":"Value kept but may cause issues"} 
[2026-08-28 11:21:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787896187000,"timestamp_ms":1787896187000,"timestamp_seconds":1787896187,"priority":1,"record_length":96,"hex_timestamp":"000001a046eac878"} 
[2026-08-28 11: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-28 11:21: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-28 11: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-28 11:21:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11: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-28 11: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-28 11:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:21:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701420288001,"66":13276,"175":206,"83":42752,"24":1,"16":15845942536175616,"45":1963499099487836160},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-08-28 11:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701420288001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:21:49] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-28 11:21:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-28 11:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15845942536175616,"km_value":15845942536175.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:21:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963499099487836160,"description":"Unknown IO ID 45"} 
[2026-08-28 11:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701420288001,"power":13276,"unknown_175":206,"unknown_83":42752,"ignition":1,"odometer":null,"unknown_45":1963499099487836160}} 
[2026-08-28 11:21:49] 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":707190,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:21:49] local.INFO: GPS data processed {"connection_id":163370,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:21:49] local.INFO: Acknowledgment sent {"connection_id":163370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:22:11] local.INFO: TCP Data received {"connection_id":163641,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:22:11] local.INFO: Processing buffer {"connection_id":163641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:22:11] local.INFO: IMEI packet received {"connection_id":163641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 11:22:11] local.INFO: IMEI acknowledgment sent {"connection_id":163641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:22:13] local.INFO: TCP Data received {"connection_id":163640,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a046e8d478012d34c14006aa4840001000e62d..."} 
[2026-08-28 11:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046e8d478012d34c14006aa4840001000e62d..."} 
[2026-08-28 11:22:13] local.INFO: Processing buffer {"connection_id":163640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046e8d478012d34c14006aa4840001000e62d..."} 
[2026-08-28 11:22:13] local.INFO: Packet analysis {"connection_id":163640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046e8"} 
[2026-08-28 11:22:13] local.INFO: Extracted packet for processing {"connection_id":163640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046e8"} 
[2026-08-28 11:22:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11:22:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701314048001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:22:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 11:22:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:22:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:22: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-28 11:22:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787896059000,"timestamp_ms":1787896059000,"timestamp_seconds":1787896059,"priority":1,"record_length":96,"hex_timestamp":"000001a046e8d478"} 
[2026-08-28 11: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-28 11:22:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 11:22: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-28 11: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-28 11: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-28 11:22:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:22:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:22:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:22:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:22: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-28 11:22:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:22:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:22:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701314048001,"66":25343,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 11:22:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:22:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:22:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701314048001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:22:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11: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-28 11:22:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:22:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701314048001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:22:13] 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":707191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:22:13] local.INFO: GPS data processed {"connection_id":163640,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:22:13] local.INFO: Acknowledgment sent {"connection_id":163640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:22:16] local.INFO: TCP Data received {"connection_id":163641,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:22:16] local.INFO: Processing buffer {"connection_id":163641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:22:16] local.INFO: IMEI packet received {"connection_id":163641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 11:22:16] local.INFO: IMEI acknowledgment sent {"connection_id":163641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:22:17] local.INFO: TCP Data received {"connection_id":163641,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a046eacc60012d1b3fc00725c5380031004a20..."} 
[2026-08-28 11:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046eacc60012d1b3fc00725c5380031004a20..."} 
[2026-08-28 11:22:17] local.INFO: Processing buffer {"connection_id":163641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046eacc60012d1b3fc00725c5380031004a20..."} 
[2026-08-28 11:22:17] local.INFO: Packet analysis {"connection_id":163641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046ea"} 
[2026-08-28 11:22:17] local.INFO: Extracted packet for processing {"connection_id":163641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046ea"} 
[2026-08-28 11:22:17] local.INFO: GPS Element Parsed {"raw_longitude":756760512,"raw_latitude":119915832,"longitude_deg":75.6760512,"latitude_deg":11.9915832,"altitude":49,"angle":74,"satellites":32,"speed":1,"hex_longitude":"2d1b3fc0","hex_latitude":"0725c538","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11:22:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701423872001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:22:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15845942536175616,"note":"Value kept but may cause issues"} 
[2026-08-28 11:22:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963358361999456256,"note":"Value kept but may cause issues"} 
[2026-08-28 11:22:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:22:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787896188000,"timestamp_ms":1787896188000,"timestamp_seconds":1787896188,"priority":1,"record_length":96,"hex_timestamp":"000001a046eacc60"} 
[2026-08-28 11: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-28 11: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-28 11: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-28 11:22:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11: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-28 11: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-28 11:22:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:22:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:22:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:22:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:22:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:22:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:22:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:22:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701423872001,"66":13276,"175":206,"83":42752,"24":1,"16":15845942536175616,"45":1963358361999456256},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-08-28 11:22:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:22:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:22:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701423872001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:22:17] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-28 11:22:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-28 11:22:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15845942536175616,"km_value":15845942536175.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:22:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963358361999456256,"description":"Unknown IO ID 45"} 
[2026-08-28 11:22:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701423872001,"power":13276,"unknown_175":206,"unknown_83":42752,"ignition":1,"odometer":null,"unknown_45":1963358361999456256}} 
[2026-08-28 11:22:17] 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":707192,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:22:17] local.INFO: GPS data processed {"connection_id":163641,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:22:17] local.INFO: Acknowledgment sent {"connection_id":163641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:22:31] local.INFO: TCP Data received {"connection_id":163371,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:22:31] local.INFO: Processing buffer {"connection_id":163371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:22:31] local.INFO: IMEI packet received {"connection_id":163371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 11:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":163371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:22:36] local.INFO: TCP Data received {"connection_id":163371,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:22:36] local.INFO: Processing buffer {"connection_id":163371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:22:36] local.INFO: IMEI packet received {"connection_id":163371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 11:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":163371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:22:43] local.INFO: TCP Data received {"connection_id":163371,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a046e8d478012d34c14006aa4840001000e62d..."} 
[2026-08-28 11:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046e8d478012d34c14006aa4840001000e62d..."} 
[2026-08-28 11:22:43] local.INFO: Processing buffer {"connection_id":163371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046e8d478012d34c14006aa4840001000e62d..."} 
[2026-08-28 11:22:43] local.INFO: Packet analysis {"connection_id":163371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046e8"} 
[2026-08-28 11:22:43] local.INFO: Extracted packet for processing {"connection_id":163371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046e8"} 
[2026-08-28 11:22:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:22:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701314048001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:22:43] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 11:22:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:22:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:22: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-28 11:22:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787896059000,"timestamp_ms":1787896059000,"timestamp_seconds":1787896059,"priority":1,"record_length":96,"hex_timestamp":"000001a046e8d478"} 
[2026-08-28 11:22:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:22:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 11:22: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-28 11:22:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:22:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:22:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:22:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:22:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:22:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:22: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-28 11:22:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:22:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:22:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701314048001,"66":25343,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 11:22:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:22:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:22:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701314048001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:22:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11: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-28 11:22:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:22:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701314048001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:22:43] 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":707193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:22:43] local.INFO: GPS data processed {"connection_id":163371,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:22:43] local.INFO: Acknowledgment sent {"connection_id":163371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:22:48] local.INFO: TCP Data received {"connection_id":163641,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a046ead048012d1b40000725c5280031005b20..."} 
[2026-08-28 11:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046ead048012d1b40000725c5280031005b20..."} 
[2026-08-28 11:22:48] local.INFO: Processing buffer {"connection_id":163641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046ead048012d1b40000725c5280031005b20..."} 
[2026-08-28 11:22:48] local.INFO: Packet analysis {"connection_id":163641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046ea"} 
[2026-08-28 11:22:48] local.INFO: Extracted packet for processing {"connection_id":163641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046ea"} 
[2026-08-28 11:22:48] local.INFO: GPS Element Parsed {"raw_longitude":756760576,"raw_latitude":119915816,"longitude_deg":75.6760576,"latitude_deg":11.9915816,"altitude":49,"angle":91,"satellites":32,"speed":1,"hex_longitude":"2d1b4000","hex_latitude":"0725c528","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11:22:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701424128001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:22:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15845946831142912,"note":"Value kept but may cause issues"} 
[2026-08-28 11:22:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963499099487811584,"note":"Value kept but may cause issues"} 
[2026-08-28 11:22:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:22:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787896189000,"timestamp_ms":1787896189000,"timestamp_seconds":1787896189,"priority":1,"record_length":96,"hex_timestamp":"000001a046ead048"} 
[2026-08-28 11: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-28 11:22:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 11:22:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-28 11:22:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11: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-28 11: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-28 11:22:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:22:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:22:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:22:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:22:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:22:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:22:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:22:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701424128001,"66":13319,"175":206,"83":42752,"24":1,"16":15845946831142912,"45":1963499099487811584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-08-28 11:22:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:22:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:22:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701424128001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:22:48] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-28 11:22:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-28 11:22:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15845946831142912,"km_value":15845946831142.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:22:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963499099487811584,"description":"Unknown IO ID 45"} 
[2026-08-28 11:22:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701424128001,"power":13319,"unknown_175":206,"unknown_83":42752,"ignition":1,"odometer":null,"unknown_45":1963499099487811584}} 
[2026-08-28 11:22:48] 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":707194,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:22:48] local.INFO: GPS data processed {"connection_id":163641,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:22:48] local.INFO: Acknowledgment sent {"connection_id":163641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:23:11] local.INFO: TCP Data received {"connection_id":163372,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163372,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:23:11] local.INFO: Processing buffer {"connection_id":163372,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:23:11] local.INFO: IMEI packet received {"connection_id":163372,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 11:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":163372,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:23:15] local.INFO: TCP Data received {"connection_id":163371,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a046e8d478012d34c14006aa4840001000e62d..."} 
[2026-08-28 11:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046e8d478012d34c14006aa4840001000e62d..."} 
[2026-08-28 11:23:15] local.INFO: Processing buffer {"connection_id":163371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046e8d478012d34c14006aa4840001000e62d..."} 
[2026-08-28 11:23:15] local.INFO: Packet analysis {"connection_id":163371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046e8"} 
[2026-08-28 11:23:15] local.INFO: Extracted packet for processing {"connection_id":163371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046e8"} 
[2026-08-28 11:23:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701314048001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:23:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 11:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11: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-28 11:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787896059000,"timestamp_ms":1787896059000,"timestamp_seconds":1787896059,"priority":1,"record_length":96,"hex_timestamp":"000001a046e8d478"} 
[2026-08-28 11: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-28 11:23:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11: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":233,"data_length":795,"current_offset":136} 
[2026-08-28 11:23: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-28 11: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-28 11: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-28 11:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:23: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-28 11:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701314048001,"66":25343,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 11:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701314048001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:23:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11: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-28 11:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701314048001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:23:15] 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":707195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:23:15] local.INFO: GPS data processed {"connection_id":163371,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:23:15] local.INFO: Acknowledgment sent {"connection_id":163371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:23:17] local.INFO: TCP Data received {"connection_id":163372,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163372,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:23:17] local.INFO: Processing buffer {"connection_id":163372,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:23:17] local.INFO: IMEI packet received {"connection_id":163372,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 11:23:17] local.INFO: IMEI acknowledgment sent {"connection_id":163372,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:23:18] local.INFO: TCP Data received {"connection_id":163372,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a046ead818012d1b40400725c5200031006820..."} 
[2026-08-28 11:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046ead818012d1b40400725c5200031006820..."} 
[2026-08-28 11:23:18] local.INFO: Processing buffer {"connection_id":163372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046ead818012d1b40400725c5200031006820..."} 
[2026-08-28 11:23:18] local.INFO: Packet analysis {"connection_id":163372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046ea"} 
[2026-08-28 11:23:18] local.INFO: Extracted packet for processing {"connection_id":163372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046ea"} 
[2026-08-28 11:23:18] local.INFO: GPS Element Parsed {"raw_longitude":756760640,"raw_latitude":119915808,"longitude_deg":75.676064,"latitude_deg":11.9915808,"altitude":49,"angle":104,"satellites":32,"speed":1,"hex_longitude":"2d1b4040","hex_latitude":"0725c520","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11:23:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701424384001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:23:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15845951126110208,"note":"Value kept but may cause issues"} 
[2026-08-28 11:23:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963569468231985152,"note":"Value kept but may cause issues"} 
[2026-08-28 11:23:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:23:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787896191000,"timestamp_ms":1787896191000,"timestamp_seconds":1787896191,"priority":1,"record_length":96,"hex_timestamp":"000001a046ead818"} 
[2026-08-28 11: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-28 11:23:18] 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-28 11: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-28 11:23:18] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-08-28 11:23:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-28 11:23:18] local.WARNING: Large IO value detected {"io_id":75,"raw_value":3271557120,"note":"Value kept but may cause issues"} 
[2026-08-28 11:23:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":30721,"corrected_to":0} 
[2026-08-28 11:23:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788854,"note":"Value kept but may cause issues"} 
[2026-08-28 11:23:18] local.WARNING: Large IO value detected {"io_id":70,"raw_value":3934654465,"note":"Value kept but may cause issues"} 
[2026-08-28 11:23:18] local.WARNING: Large IO value detected {"io_id":37,"raw_value":-3152519532990029824,"note":"Value kept but may cause issues"} 
[2026-08-28 11:23:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1792540878,"corrected_to":0} 
[2026-08-28 11:23:18] local.WARNING: Large IO value detected {"io_id":71,"raw_value":2147952082,"note":"Value kept but may cause issues"} 
[2026-08-28 11:23:18] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3758148970,"note":"Value kept but may cause issues"} 
[2026-08-28 11:23:18] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":57819850479653799,"corrected_to":0} 
[2026-08-28 11:23:18] local.WARNING: Large IO value detected {"io_id":234,"raw_value":5156622866582077447,"note":"Value kept but may cause issues"} 
[2026-08-28 11:23:18] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,175,83,24,241,157,16,75,160,204,45,192,197,49,32,10,66,200,64,31,145,1,240,180,227,70,37,4,113,205,8,79,71,239,54,217,2,56,7,47,246,234],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":200,"original":30721,"validated":0},{"io_id":205,"original":1792540878,"validated":0},{"io_id":246,"original":57819850479653799,"validated":0}]} 
[2026-08-28 11:23:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3530922300855615488,"timestamp_seconds":3530922300855615.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 11: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-28 11:23:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:23:18] local.INFO: Teltonika packet parsed successfully {"connection_id":163372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:23:18] local.INFO: Passing IMEI to GPS processor {"connection_id":163372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:23:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":163372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:23:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:23:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:23:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:23:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701424384001,"66":13287,"175":206,"83":42752,"24":1,"16":15845951126110208,"45":1963569468231985152},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-08-28 11:23:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:23:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:23:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701424384001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:23:18] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-28 11:23:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-28 11:23:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15845951126110208,"km_value":15845951126110.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:23:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963569468231985152,"description":"Unknown IO ID 45"} 
[2026-08-28 11:23:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701424384001,"power":13287,"unknown_175":206,"unknown_83":42752,"ignition":1,"odometer":null,"unknown_45":1963569468231985152}} 
[2026-08-28 11:23:18] 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":707196,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:23:18] local.INFO: GPS data processed {"connection_id":163372,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:23:18] local.INFO: Acknowledgment sent {"connection_id":163372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:23:34] local.INFO: TCP Data received {"connection_id":164638,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:23:34] local.INFO: Processing buffer {"connection_id":164638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:23:34] local.INFO: IMEI packet received {"connection_id":164638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 11:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":164638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:23:36] local.INFO: TCP Data received {"connection_id":164638,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:23:36] local.INFO: Processing buffer {"connection_id":164638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:23:36] local.INFO: IMEI packet received {"connection_id":164638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 11:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":164638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:23:38] local.INFO: TCP Data received {"connection_id":164638,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a046ed6c40012d34c14006aa4840000a00e62e..."} 
[2026-08-28 11:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046ed6c40012d34c14006aa4840000a00e62e..."} 
[2026-08-28 11:23:38] local.INFO: Processing buffer {"connection_id":164638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046ed6c40012d34c14006aa4840000a00e62e..."} 
[2026-08-28 11:23:38] local.INFO: Packet analysis {"connection_id":164638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046ed"} 
[2026-08-28 11:23:38] local.INFO: Extracted packet for processing {"connection_id":164638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046ed"} 
[2026-08-28 11:23:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701391104001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:23:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 11:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:23:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:23: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-28 11:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787896360000,"timestamp_ms":1787896360000,"timestamp_seconds":1787896360,"priority":1,"record_length":96,"hex_timestamp":"000001a046ed6c40"} 
[2026-08-28 11:23:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:23:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 11:23:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:23:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:23:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:23:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701391104001,"66":25299,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-28 11:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701391104001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:23:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:23: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-28 11:23:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701391104001,"power":25299,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:23:38] local.INFO: DEBUG: GPS processor result {"connection_id":164638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:23:38] local.INFO: GPS data processed {"connection_id":164638,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:23:38] local.INFO: Acknowledgment sent {"connection_id":164638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:23:45] local.INFO: TCP Data received {"connection_id":164638,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a046ed6c40012d34c14006aa4840000a00e62e..."} 
[2026-08-28 11:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046ed6c40012d34c14006aa4840000a00e62e..."} 
[2026-08-28 11:23:45] local.INFO: Processing buffer {"connection_id":164638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046ed6c40012d34c14006aa4840000a00e62e..."} 
[2026-08-28 11:23:45] local.INFO: Packet analysis {"connection_id":164638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046ed"} 
[2026-08-28 11:23:45] local.INFO: Extracted packet for processing {"connection_id":164638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046ed"} 
[2026-08-28 11:23:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:23:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701391104001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:23:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 11:23:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:23:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:23: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-28 11:23:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787896360000,"timestamp_ms":1787896360000,"timestamp_seconds":1787896360,"priority":1,"record_length":96,"hex_timestamp":"000001a046ed6c40"} 
[2026-08-28 11:23:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:23:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 11:23: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-28 11:23:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:23:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:23:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:23:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:23:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:23:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:23: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-28 11:23:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:23:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:23:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701391104001,"66":25299,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-28 11:23:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:23:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:23:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701391104001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:23:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:23: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-28 11:23:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:23:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701391104001,"power":25299,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":164638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:23:45] local.INFO: GPS data processed {"connection_id":164638,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:23:45] local.INFO: Acknowledgment sent {"connection_id":164638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:23:49] local.INFO: TCP Data received {"connection_id":163372,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a046eadc00012d1b40400725c5100031007920..."} 
[2026-08-28 11:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046eadc00012d1b40400725c5100031007920..."} 
[2026-08-28 11:23:49] local.INFO: Processing buffer {"connection_id":163372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046eadc00012d1b40400725c5100031007920..."} 
[2026-08-28 11:23:49] local.INFO: Packet analysis {"connection_id":163372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046ea"} 
[2026-08-28 11:23:49] local.INFO: Extracted packet for processing {"connection_id":163372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046ea"} 
[2026-08-28 11:23:49] local.INFO: GPS Element Parsed {"raw_longitude":756760640,"raw_latitude":119915792,"longitude_deg":75.676064,"latitude_deg":11.9915792,"altitude":49,"angle":121,"satellites":32,"speed":0,"hex_longitude":"2d1b4040","hex_latitude":"0725c510","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11:23:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701424896001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:23:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15845951126110208,"note":"Value kept but may cause issues"} 
[2026-08-28 11:23:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963639836976160768,"note":"Value kept but may cause issues"} 
[2026-08-28 11:23:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:23:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787896192000,"timestamp_ms":1787896192000,"timestamp_seconds":1787896192,"priority":1,"record_length":96,"hex_timestamp":"000001a046eadc00"} 
[2026-08-28 11: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-28 11:23:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 11: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":51,"n8_eight_byte":231,"data_length":795,"current_offset":136} 
[2026-08-28 11:23:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2532,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11: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-28 11: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-28 11:23:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:23:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:23:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:23:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:23:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:23:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:23:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:23:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701424896001,"66":13287,"175":206,"83":42752,"24":0,"16":15845951126110208,"45":1963639836976160768},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,83,24,16,45]} 
[2026-08-28 11:23:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:23:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:23:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701424896001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:23:49] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-28 11:23:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-28 11:23:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15845951126110208,"km_value":15845951126110.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:23:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963639836976160768,"description":"Unknown IO ID 45"} 
[2026-08-28 11:23:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701424896001,"power":13287,"unknown_175":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1963639836976160768}} 
[2026-08-28 11:23:49] 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":707199,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:23:49] local.INFO: GPS data processed {"connection_id":163372,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:23:49] local.INFO: Acknowledgment sent {"connection_id":163372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:24:11] local.INFO: TCP Data received {"connection_id":165986,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:24:11] local.INFO: Processing buffer {"connection_id":165986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:24:11] local.INFO: IMEI packet received {"connection_id":165986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 11:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":165986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:24:16] local.INFO: TCP Data received {"connection_id":165986,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:24:16] local.INFO: Processing buffer {"connection_id":165986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:24:16] local.INFO: IMEI packet received {"connection_id":165986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 11:24:16] local.INFO: IMEI acknowledgment sent {"connection_id":165986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:24:16] local.INFO: TCP Data received {"connection_id":164638,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a046ed6c40012d34c14006aa4840000a00e62e..."} 
[2026-08-28 11:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046ed6c40012d34c14006aa4840000a00e62e..."} 
[2026-08-28 11:24:16] local.INFO: Processing buffer {"connection_id":164638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046ed6c40012d34c14006aa4840000a00e62e..."} 
[2026-08-28 11:24:16] local.INFO: Packet analysis {"connection_id":164638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046ed"} 
[2026-08-28 11:24:16] local.INFO: Extracted packet for processing {"connection_id":164638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046ed"} 
[2026-08-28 11:24:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11:24:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701391104001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:24:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 11:24:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:24:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:24: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-28 11:24:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787896360000,"timestamp_ms":1787896360000,"timestamp_seconds":1787896360,"priority":1,"record_length":96,"hex_timestamp":"000001a046ed6c40"} 
[2026-08-28 11: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-28 11:24:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 11:24: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-28 11: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-28 11: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-28 11:24:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:24:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:24:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:24:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:24: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-28 11:24:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:24:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:24:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701391104001,"66":25299,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-28 11:24:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:24:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:24:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701391104001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:24:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11: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-28 11:24:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:24:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701391104001,"power":25299,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:24:16] local.INFO: DEBUG: GPS processor result {"connection_id":164638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:24:16] local.INFO: GPS data processed {"connection_id":164638,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:24:16] local.INFO: Acknowledgment sent {"connection_id":164638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:24:17] local.INFO: TCP Data received {"connection_id":165986,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a046eb2e08012d1b40400725c4f00032007d1c..."} 
[2026-08-28 11:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046eb2e08012d1b40400725c4f00032007d1c..."} 
[2026-08-28 11:24:17] local.INFO: Processing buffer {"connection_id":165986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046eb2e08012d1b40400725c4f00032007d1c..."} 
[2026-08-28 11:24:17] local.INFO: Packet analysis {"connection_id":165986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046eb"} 
[2026-08-28 11:24:17] local.INFO: Extracted packet for processing {"connection_id":165986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046eb"} 
[2026-08-28 11:24:17] local.INFO: GPS Element Parsed {"raw_longitude":756760640,"raw_latitude":119915760,"longitude_deg":75.676064,"latitude_deg":11.991576,"altitude":50,"angle":125,"satellites":28,"speed":0,"hex_longitude":"2d1b4040","hex_latitude":"0725c4f0","is_valid_coordinates":true} 
[2026-08-28 11:24:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:24:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701425152001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:24:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15845955421077504,"note":"Value kept but may cause issues"} 
[2026-08-28 11:24:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963639836976156672,"note":"Value kept but may cause issues"} 
[2026-08-28 11:24:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:24:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787896213000,"timestamp_ms":1787896213000,"timestamp_seconds":1787896213,"priority":1,"record_length":96,"hex_timestamp":"000001a046eb2e08"} 
[2026-08-28 11:24:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:24:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 11:24:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":231,"data_length":795,"current_offset":136} 
[2026-08-28 11:24:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2532,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:24:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:24:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:24:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:24:17] local.INFO: Teltonika packet parsed successfully {"connection_id":165986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:24:17] local.INFO: Passing IMEI to GPS processor {"connection_id":165986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:24:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":165986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:24:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:24:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:24:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:24:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701425152001,"66":13189,"135":206,"83":42752,"24":0,"16":15845955421077504,"45":1963639836976156672},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-08-28 11:24:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:24:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:24:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701425152001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:24:17] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-28 11:24:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-28 11:24:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15845955421077504,"km_value":15845955421077.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:24:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963639836976156672,"description":"Unknown IO ID 45"} 
[2026-08-28 11:24:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701425152001,"power":13189,"unknown_135":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1963639836976156672}} 
[2026-08-28 11:24:17] local.INFO: DEBUG: GPS processor result {"connection_id":165986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707201,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:24:17] local.INFO: GPS data processed {"connection_id":165986,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:24:17] local.INFO: Acknowledgment sent {"connection_id":165986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:24:36] local.INFO: TCP Data received {"connection_id":165987,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:24:36] local.INFO: Processing buffer {"connection_id":165987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:24:36] local.INFO: IMEI packet received {"connection_id":165987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 11:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":165987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:24:41] local.INFO: TCP Data received {"connection_id":165987,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:24:41] local.INFO: Processing buffer {"connection_id":165987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:24:41] local.INFO: IMEI packet received {"connection_id":165987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 11:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":165987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:24:42] local.INFO: TCP Data received {"connection_id":165987,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a046ed6c40012d34c14006aa4840000a00e62e..."} 
[2026-08-28 11:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046ed6c40012d34c14006aa4840000a00e62e..."} 
[2026-08-28 11:24:42] local.INFO: Processing buffer {"connection_id":165987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046ed6c40012d34c14006aa4840000a00e62e..."} 
[2026-08-28 11:24:42] local.INFO: Packet analysis {"connection_id":165987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046ed"} 
[2026-08-28 11:24:42] local.INFO: Extracted packet for processing {"connection_id":165987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046ed"} 
[2026-08-28 11:24:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701391104001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:24:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 11:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:24:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:24:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 11:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787896360000,"timestamp_ms":1787896360000,"timestamp_seconds":1787896360,"priority":1,"record_length":96,"hex_timestamp":"000001a046ed6c40"} 
[2026-08-28 11: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-28 11:24:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11: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-28 11: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-28 11: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-28 11:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:24: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-28 11:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:24:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701391104001,"66":25299,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-28 11:24:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:24:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:24:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701391104001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:24:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11: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-28 11:24:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:24:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701391104001,"power":25299,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:24:42] local.INFO: DEBUG: GPS processor result {"connection_id":165987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:24:42] local.INFO: GPS data processed {"connection_id":165987,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:24:42] local.INFO: Acknowledgment sent {"connection_id":165987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:24:48] local.INFO: TCP Data received {"connection_id":165986,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a046eb7c28012d1b40400725c4f00032007d1f..."} 
[2026-08-28 11:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046eb7c28012d1b40400725c4f00032007d1f..."} 
[2026-08-28 11:24:48] local.INFO: Processing buffer {"connection_id":165986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046eb7c28012d1b40400725c4f00032007d1f..."} 
[2026-08-28 11:24:48] local.INFO: Packet analysis {"connection_id":165986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046eb"} 
[2026-08-28 11:24:48] local.INFO: Extracted packet for processing {"connection_id":165986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046eb"} 
[2026-08-28 11:24:48] local.INFO: GPS Element Parsed {"raw_longitude":756760640,"raw_latitude":119915760,"longitude_deg":75.676064,"latitude_deg":11.991576,"altitude":50,"angle":125,"satellites":31,"speed":0,"hex_longitude":"2d1b4040","hex_latitude":"0725c4f0","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11:24:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701430528001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:24:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15845955421077504,"note":"Value kept but may cause issues"} 
[2026-08-28 11:24:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963639836976148480,"note":"Value kept but may cause issues"} 
[2026-08-28 11:24:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:24:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787896233000,"timestamp_ms":1787896233000,"timestamp_seconds":1787896233,"priority":1,"record_length":96,"hex_timestamp":"000001a046eb7c28"} 
[2026-08-28 11: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-28 11:24:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 11: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-28 11:24:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11: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-28 11: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-28 11:24:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:24:48] local.INFO: Teltonika packet parsed successfully {"connection_id":165986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:24:48] local.INFO: Passing IMEI to GPS processor {"connection_id":165986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:24:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":165986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:24:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:24:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:24:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:24:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701430528001,"66":13243,"217":206,"83":42752,"24":0,"16":15845955421077504,"45":1963639836976148480},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-28 11:24:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:24:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:24:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701430528001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:24:48] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 11:24:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-28 11:24:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15845955421077504,"km_value":15845955421077.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:24:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963639836976148480,"description":"Unknown IO ID 45"} 
[2026-08-28 11:24:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701430528001,"power":13243,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1963639836976148480}} 
[2026-08-28 11:24:48] local.INFO: DEBUG: GPS processor result {"connection_id":165986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707203,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:24:48] local.INFO: GPS data processed {"connection_id":165986,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:24:48] local.INFO: Acknowledgment sent {"connection_id":165986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:25:11] local.INFO: TCP Data received {"connection_id":164639,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:25:11] local.INFO: Processing buffer {"connection_id":164639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:25:11] local.INFO: IMEI packet received {"connection_id":164639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 11:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":164639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:25:13] local.INFO: TCP Data received {"connection_id":165987,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a046ed6c40012d34c14006aa4840000a00e62e..."} 
[2026-08-28 11:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046ed6c40012d34c14006aa4840000a00e62e..."} 
[2026-08-28 11:25:13] local.INFO: Processing buffer {"connection_id":165987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046ed6c40012d34c14006aa4840000a00e62e..."} 
[2026-08-28 11:25:13] local.INFO: Packet analysis {"connection_id":165987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046ed"} 
[2026-08-28 11:25:13] local.INFO: Extracted packet for processing {"connection_id":165987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046ed"} 
[2026-08-28 11:25:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11:25:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701391104001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:25:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 11:25:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:25:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:25: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-28 11:25:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787896360000,"timestamp_ms":1787896360000,"timestamp_seconds":1787896360,"priority":1,"record_length":96,"hex_timestamp":"000001a046ed6c40"} 
[2026-08-28 11: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-28 11:25:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11: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-28 11: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-28 11: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-28 11:25:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:25:13] local.INFO: Teltonika packet parsed successfully {"connection_id":165987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:25:13] local.INFO: Passing IMEI to GPS processor {"connection_id":165987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:25:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":165987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:25:13] 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-28 11:25:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:25:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:25:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701391104001,"66":25299,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-28 11:25:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:25:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:25:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701391104001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:25:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11: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-28 11:25:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:25:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701391104001,"power":25299,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:25:13] local.INFO: DEBUG: GPS processor result {"connection_id":165987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:25:13] local.INFO: GPS data processed {"connection_id":165987,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:25:13] local.INFO: Acknowledgment sent {"connection_id":165987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:25:17] local.INFO: TCP Data received {"connection_id":164639,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:25:17] local.INFO: Processing buffer {"connection_id":164639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:25:17] local.INFO: IMEI packet received {"connection_id":164639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 11:25:17] local.INFO: IMEI acknowledgment sent {"connection_id":164639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:25:17] local.INFO: TCP Data received {"connection_id":164639,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a046ebce30012d1b40400725c4f00032007d1f..."} 
[2026-08-28 11:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046ebce30012d1b40400725c4f00032007d1f..."} 
[2026-08-28 11:25:17] local.INFO: Processing buffer {"connection_id":164639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046ebce30012d1b40400725c4f00032007d1f..."} 
[2026-08-28 11:25:17] local.INFO: Packet analysis {"connection_id":164639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046eb"} 
[2026-08-28 11:25:17] local.INFO: Extracted packet for processing {"connection_id":164639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046eb"} 
[2026-08-28 11:25:17] local.INFO: GPS Element Parsed {"raw_longitude":756760640,"raw_latitude":119915760,"longitude_deg":75.676064,"latitude_deg":11.991576,"altitude":50,"angle":125,"satellites":31,"speed":0,"hex_longitude":"2d1b4040","hex_latitude":"0725c4f0","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11:25:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701435648001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:25:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15845955421077504,"note":"Value kept but may cause issues"} 
[2026-08-28 11:25:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963639836976148480,"note":"Value kept but may cause issues"} 
[2026-08-28 11:25:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:25:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787896254000,"timestamp_ms":1787896254000,"timestamp_seconds":1787896254,"priority":1,"record_length":96,"hex_timestamp":"000001a046ebce30"} 
[2026-08-28 11: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-28 11:25:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 11: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":187,"data_length":795,"current_offset":136} 
[2026-08-28 11:25:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11: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-28 11: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-28 11:25:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:25:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:25:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:25:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:25:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:25:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:25:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:25:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701435648001,"66":13167,"217":206,"83":42752,"24":0,"16":15845955421077504,"45":1963639836976148480},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-28 11:25:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:25:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:25:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701435648001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:25:17] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 11:25:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-28 11:25:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15845955421077504,"km_value":15845955421077.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:25:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963639836976148480,"description":"Unknown IO ID 45"} 
[2026-08-28 11:25:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701435648001,"power":13167,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1963639836976148480}} 
[2026-08-28 11:25:18] local.INFO: DEBUG: GPS processor result {"connection_id":164639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707205,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:25:18] local.INFO: GPS data processed {"connection_id":164639,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:25:18] local.INFO: Acknowledgment sent {"connection_id":164639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:25:31] local.INFO: TCP Data received {"connection_id":163642,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:25:31] local.INFO: Processing buffer {"connection_id":163642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:25:31] local.INFO: IMEI packet received {"connection_id":163642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 11:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":163642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:25:39] local.INFO: TCP Data received {"connection_id":163642,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:25:39] local.INFO: Processing buffer {"connection_id":163642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:25:39] local.INFO: IMEI packet received {"connection_id":163642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 11:25:39] local.INFO: IMEI acknowledgment sent {"connection_id":163642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:25:40] local.INFO: TCP Data received {"connection_id":163642,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a046ed6c40012d34c14006aa4840000a00e62e..."} 
[2026-08-28 11:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046ed6c40012d34c14006aa4840000a00e62e..."} 
[2026-08-28 11:25:40] local.INFO: Processing buffer {"connection_id":163642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046ed6c40012d34c14006aa4840000a00e62e..."} 
[2026-08-28 11:25:40] local.INFO: Packet analysis {"connection_id":163642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046ed"} 
[2026-08-28 11:25:40] local.INFO: Extracted packet for processing {"connection_id":163642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046ed"} 
[2026-08-28 11:25:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:25: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-28 11:25:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701391104001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:25:40] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 11:25:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:25:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:25:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 11:25:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787896360000,"timestamp_ms":1787896360000,"timestamp_seconds":1787896360,"priority":1,"record_length":96,"hex_timestamp":"000001a046ed6c40"} 
[2026-08-28 11:25:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:25:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:25:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 11:25:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:25: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-28 11:25:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:25:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:25:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:25:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:25:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:25:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:25:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:25:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:25:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701391104001,"66":25299,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-28 11:25:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:25:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:25:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701391104001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:25:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:25: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-28 11:25:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:25:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701391104001,"power":25299,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:25:40] 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":707206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:25:40] local.INFO: GPS data processed {"connection_id":163642,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:25:40] local.INFO: Acknowledgment sent {"connection_id":163642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:25:49] local.INFO: TCP Data received {"connection_id":164639,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a046ec1c50012d1b40400725c4f00032007d1e..."} 
[2026-08-28 11:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046ec1c50012d1b40400725c4f00032007d1e..."} 
[2026-08-28 11:25:49] local.INFO: Processing buffer {"connection_id":164639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046ec1c50012d1b40400725c4f00032007d1e..."} 
[2026-08-28 11:25:49] local.INFO: Packet analysis {"connection_id":164639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046ec"} 
[2026-08-28 11:25:49] local.INFO: Extracted packet for processing {"connection_id":164639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046ec"} 
[2026-08-28 11:25:49] local.INFO: GPS Element Parsed {"raw_longitude":756760640,"raw_latitude":119915760,"longitude_deg":75.676064,"latitude_deg":11.991576,"altitude":50,"angle":125,"satellites":30,"speed":0,"hex_longitude":"2d1b4040","hex_latitude":"0725c4f0","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11:25:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701441024001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:25:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15845955421077504,"note":"Value kept but may cause issues"} 
[2026-08-28 11:25:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963639836976148480,"note":"Value kept but may cause issues"} 
[2026-08-28 11:25:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:25:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787896274000,"timestamp_ms":1787896274000,"timestamp_seconds":1787896274,"priority":1,"record_length":96,"hex_timestamp":"000001a046ec1c50"} 
[2026-08-28 11: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-28 11:25:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 11: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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-28 11:25:49] 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-28 11: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-28 11: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-28 11:25:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:25:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:25:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:25:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:25:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:25:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:25:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:25:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701441024001,"66":13167,"217":206,"83":42752,"24":0,"16":15845955421077504,"45":1963639836976148480},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-28 11:25:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:25:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:25:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701441024001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:25:49] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 11:25:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-28 11:25:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15845955421077504,"km_value":15845955421077.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:25:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963639836976148480,"description":"Unknown IO ID 45"} 
[2026-08-28 11:25:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701441024001,"power":13167,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1963639836976148480}} 
[2026-08-28 11:25:49] local.INFO: DEBUG: GPS processor result {"connection_id":164639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707207,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:25:49] local.INFO: GPS data processed {"connection_id":164639,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:25:49] local.INFO: Acknowledgment sent {"connection_id":164639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:26:11] local.INFO: TCP Data received {"connection_id":163642,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a046ed6c40012d34c14006aa4840000a00e62e..."} 
[2026-08-28 11:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046ed6c40012d34c14006aa4840000a00e62e..."} 
[2026-08-28 11:26:11] local.INFO: Processing buffer {"connection_id":163642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046ed6c40012d34c14006aa4840000a00e62e..."} 
[2026-08-28 11:26:11] local.INFO: Packet analysis {"connection_id":163642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046ed"} 
[2026-08-28 11:26:11] local.INFO: Extracted packet for processing {"connection_id":163642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046ed"} 
[2026-08-28 11:26:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701391104001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:26:11] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 11:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:26: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-28 11:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787896360000,"timestamp_ms":1787896360000,"timestamp_seconds":1787896360,"priority":1,"record_length":96,"hex_timestamp":"000001a046ed6c40"} 
[2026-08-28 11:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 11:26: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-28 11:26:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":163642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":163642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":163642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:26:11] 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-28 11:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701391104001,"66":25299,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-28 11:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701391104001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:26:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:26: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-28 11:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701391104001,"power":25299,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:26:11] 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":707208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:26:11] local.INFO: GPS data processed {"connection_id":163642,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:26:11] local.INFO: Acknowledgment sent {"connection_id":163642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:26:17] local.INFO: TCP Data received {"connection_id":164640,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164640,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:26:17] local.INFO: Processing buffer {"connection_id":164640,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:26:17] local.INFO: IMEI packet received {"connection_id":164640,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 11:26:17] local.INFO: IMEI acknowledgment sent {"connection_id":164640,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:26:18] local.INFO: TCP Data received {"connection_id":164640,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a046ef8750012d1b40400725c4f00032007d24..."} 
[2026-08-28 11:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046ef8750012d1b40400725c4f00032007d24..."} 
[2026-08-28 11:26:18] local.INFO: Processing buffer {"connection_id":164640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046ef8750012d1b40400725c4f00032007d24..."} 
[2026-08-28 11:26:18] local.INFO: Packet analysis {"connection_id":164640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046ef"} 
[2026-08-28 11:26:18] local.INFO: Extracted packet for processing {"connection_id":164640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046ef"} 
[2026-08-28 11:26:18] local.INFO: GPS Element Parsed {"raw_longitude":756760640,"raw_latitude":119915760,"longitude_deg":75.676064,"latitude_deg":11.991576,"altitude":50,"angle":125,"satellites":36,"speed":0,"hex_longitude":"2d1b4040","hex_latitude":"0725c4f0","is_valid_coordinates":true} 
[2026-08-28 11:26:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:26:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701498368001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:26:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15845955421077504,"note":"Value kept but may cause issues"} 
[2026-08-28 11:26:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963639836976148480,"note":"Value kept but may cause issues"} 
[2026-08-28 11:26:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:26:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787896498000,"timestamp_ms":1787896498000,"timestamp_seconds":1787896498,"priority":1,"record_length":96,"hex_timestamp":"000001a046ef8750"} 
[2026-08-28 11:26:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:26:18] 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-28 11:26:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-28 11:26:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:26:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:26:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:26:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:26:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:26:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:26:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:26:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:26:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:26:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:26:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701498368001,"66":12917,"217":206,"83":42752,"24":0,"16":15845955421077504,"45":1963639836976148480},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-28 11:26:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:26:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:26:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701498368001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:26:18] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 11:26:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-28 11:26:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15845955421077504,"km_value":15845955421077.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:26:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963639836976148480,"description":"Unknown IO ID 45"} 
[2026-08-28 11:26:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701498368001,"power":12917,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1963639836976148480}} 
[2026-08-28 11:26:18] local.INFO: DEBUG: GPS processor result {"connection_id":164640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707209,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:26:18] local.INFO: GPS data processed {"connection_id":164640,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:26:18] local.INFO: Acknowledgment sent {"connection_id":164640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:26:31] local.INFO: TCP Data received {"connection_id":165988,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:26:31] local.INFO: Processing buffer {"connection_id":165988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:26:31] local.INFO: IMEI packet received {"connection_id":165988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 11:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":165988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:26:38] local.INFO: TCP Data received {"connection_id":165988,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:26:38] local.INFO: Processing buffer {"connection_id":165988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:26:38] local.INFO: IMEI packet received {"connection_id":165988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 11:26:38] local.INFO: IMEI acknowledgment sent {"connection_id":165988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:26:39] local.INFO: TCP Data received {"connection_id":165988,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a046ed6c40012d34c14006aa4840000a00e62e..."} 
[2026-08-28 11:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046ed6c40012d34c14006aa4840000a00e62e..."} 
[2026-08-28 11:26:39] local.INFO: Processing buffer {"connection_id":165988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046ed6c40012d34c14006aa4840000a00e62e..."} 
[2026-08-28 11:26:39] local.INFO: Packet analysis {"connection_id":165988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046ed"} 
[2026-08-28 11:26:39] local.INFO: Extracted packet for processing {"connection_id":165988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046ed"} 
[2026-08-28 11:26:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:26:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701391104001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:26:39] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 11:26:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:26:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:26:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 11:26:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787896360000,"timestamp_ms":1787896360000,"timestamp_seconds":1787896360,"priority":1,"record_length":96,"hex_timestamp":"000001a046ed6c40"} 
[2026-08-28 11:26:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:26:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 11:26:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:26:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:26:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:26:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:26:39] local.INFO: Teltonika packet parsed successfully {"connection_id":165988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:26:39] local.INFO: Passing IMEI to GPS processor {"connection_id":165988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:26:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":165988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:26:39] 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-28 11:26:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:26:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:26:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701391104001,"66":25299,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 11:26:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:26:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:26:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701391104001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:26:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:26:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:26:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:26:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701391104001,"power":25299,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:26:39] local.INFO: DEBUG: GPS processor result {"connection_id":165988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:26:39] local.INFO: GPS data processed {"connection_id":165988,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:26:39] local.INFO: Acknowledgment sent {"connection_id":165988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:26:49] local.INFO: TCP Data received {"connection_id":164640,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a046efd570012d1b40400725c4f00032007d24..."} 
[2026-08-28 11:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046efd570012d1b40400725c4f00032007d24..."} 
[2026-08-28 11:26:49] local.INFO: Processing buffer {"connection_id":164640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046efd570012d1b40400725c4f00032007d24..."} 
[2026-08-28 11:26:49] local.INFO: Packet analysis {"connection_id":164640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046ef"} 
[2026-08-28 11:26:49] local.INFO: Extracted packet for processing {"connection_id":164640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046ef"} 
[2026-08-28 11:26:49] local.INFO: GPS Element Parsed {"raw_longitude":756760640,"raw_latitude":119915760,"longitude_deg":75.676064,"latitude_deg":11.991576,"altitude":50,"angle":125,"satellites":36,"speed":0,"hex_longitude":"2d1b4040","hex_latitude":"0725c4f0","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11:26:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701503488001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:26:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15845955421077504,"note":"Value kept but may cause issues"} 
[2026-08-28 11:26:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963639836976148480,"note":"Value kept but may cause issues"} 
[2026-08-28 11:26:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:26:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787896518000,"timestamp_ms":1787896518000,"timestamp_seconds":1787896518,"priority":1,"record_length":96,"hex_timestamp":"000001a046efd570"} 
[2026-08-28 11: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-28 11:26:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 11:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-28 11:26:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11: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-28 11: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-28 11:26:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:26:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:26:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:26:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:26:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:26:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:26:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:26:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701503488001,"66":12917,"217":206,"83":42752,"24":0,"16":15845955421077504,"45":1963639836976148480},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-08-28 11:26:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:26:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:26:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701503488001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:26:49] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 11:26:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-28 11:26:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15845955421077504,"km_value":15845955421077.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:26:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963639836976148480,"description":"Unknown IO ID 45"} 
[2026-08-28 11:26:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701503488001,"power":12917,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1963639836976148480}} 
[2026-08-28 11:26:49] local.INFO: DEBUG: GPS processor result {"connection_id":164640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707211,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:26:49] local.INFO: GPS data processed {"connection_id":164640,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:26:49] local.INFO: Acknowledgment sent {"connection_id":164640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:27:11] local.INFO: TCP Data received {"connection_id":165988,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a046ed6c40012d34c14006aa4840000a00e62e..."} 
[2026-08-28 11:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046ed6c40012d34c14006aa4840000a00e62e..."} 
[2026-08-28 11:27:11] local.INFO: Processing buffer {"connection_id":165988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046ed6c40012d34c14006aa4840000a00e62e..."} 
[2026-08-28 11:27:11] local.INFO: Packet analysis {"connection_id":165988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046ed"} 
[2026-08-28 11:27:11] local.INFO: Extracted packet for processing {"connection_id":165988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046ed"} 
[2026-08-28 11:27:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701391104001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:27:11] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 11:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:27:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:27: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-28 11:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787896360000,"timestamp_ms":1787896360000,"timestamp_seconds":1787896360,"priority":1,"record_length":96,"hex_timestamp":"000001a046ed6c40"} 
[2026-08-28 11:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:27:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 11:27: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-28 11:27:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":165988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":165988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":165988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:27:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701391104001,"66":25299,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 11:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701391104001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:27:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:27: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-28 11:27:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701391104001,"power":25299,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":165988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:27:11] local.INFO: GPS data processed {"connection_id":165988,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:27:11] local.INFO: Acknowledgment sent {"connection_id":165988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:27:13] local.INFO: TCP Data received {"connection_id":163374,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163374,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:27:13] local.INFO: Processing buffer {"connection_id":163374,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:27:13] local.INFO: IMEI packet received {"connection_id":163374,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 11:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":163374,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:27:17] local.INFO: TCP Data received {"connection_id":163374,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163374,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:27:17] local.INFO: Processing buffer {"connection_id":163374,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:27:17] local.INFO: IMEI packet received {"connection_id":163374,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 11:27:17] local.INFO: IMEI acknowledgment sent {"connection_id":163374,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:27:17] local.INFO: TCP Data received {"connection_id":163374,"ip":"42.106.6.42","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-28 11:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163374,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-28 11:27:17] local.INFO: Processing buffer {"connection_id":163374,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-28 11:27:17] local.INFO: IMEI packet received {"connection_id":163374,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 11:27:17] local.INFO: IMEI acknowledgment sent {"connection_id":163374,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:27:36] local.INFO: TCP Data received {"connection_id":163643,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:27:36] local.INFO: Processing buffer {"connection_id":163643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:27:36] local.INFO: IMEI packet received {"connection_id":163643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 11:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":163643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:27:41] local.INFO: TCP Data received {"connection_id":163643,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:27:41] local.INFO: Processing buffer {"connection_id":163643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:27:41] local.INFO: IMEI packet received {"connection_id":163643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 11:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":163643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:27:44] local.INFO: TCP Data received {"connection_id":163643,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a046ed6c40012d34c14006aa4840000a00e62e..."} 
[2026-08-28 11:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046ed6c40012d34c14006aa4840000a00e62e..."} 
[2026-08-28 11:27:44] local.INFO: Processing buffer {"connection_id":163643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046ed6c40012d34c14006aa4840000a00e62e..."} 
[2026-08-28 11:27:44] local.INFO: Packet analysis {"connection_id":163643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046ed"} 
[2026-08-28 11:27:44] local.INFO: Extracted packet for processing {"connection_id":163643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046ed"} 
[2026-08-28 11:27:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11:27:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701391104001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:27:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 11:27:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:27:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11: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-28 11:27:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787896360000,"timestamp_ms":1787896360000,"timestamp_seconds":1787896360,"priority":1,"record_length":96,"hex_timestamp":"000001a046ed6c40"} 
[2026-08-28 11: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-28 11:27:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11: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-28 11: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-28 11: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-28 11:27:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:27:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:27:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:27:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:27: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-28 11:27:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:27:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:27:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701391104001,"66":25299,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-28 11:27:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:27:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:27:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701391104001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:27:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11: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-28 11:27:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:27:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701391104001,"power":25299,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:27:44] 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":707213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:27:44] local.INFO: GPS data processed {"connection_id":163643,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:27:44] local.INFO: Acknowledgment sent {"connection_id":163643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:27:46] local.INFO: TCP Data received {"connection_id":163643,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a046ed6c40012d34c14006aa4840000a00e62e..."} 
[2026-08-28 11:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046ed6c40012d34c14006aa4840000a00e62e..."} 
[2026-08-28 11:27:46] local.INFO: Processing buffer {"connection_id":163643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046ed6c40012d34c14006aa4840000a00e62e..."} 
[2026-08-28 11:27:46] local.INFO: Packet analysis {"connection_id":163643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046ed"} 
[2026-08-28 11:27:46] local.INFO: Extracted packet for processing {"connection_id":163643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046ed"} 
[2026-08-28 11:27:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11:27:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701391104001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:27:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 11:27:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:27:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:27: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-28 11:27:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787896360000,"timestamp_ms":1787896360000,"timestamp_seconds":1787896360,"priority":1,"record_length":96,"hex_timestamp":"000001a046ed6c40"} 
[2026-08-28 11: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-28 11:27:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 11:27: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-28 11: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-28 11: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-28 11:27:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:27:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:27:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:27:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:27:46] 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-28 11:27:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:27:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:27:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701391104001,"66":25299,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-28 11:27:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:27:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:27:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701391104001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:27:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:27: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-28 11:27:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:27:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701391104001,"power":25299,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:27:46] 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":707214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:27:46] local.INFO: GPS data processed {"connection_id":163643,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:27:46] local.INFO: Acknowledgment sent {"connection_id":163643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:28:31] local.INFO: TCP Data received {"connection_id":163376,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:28:31] local.INFO: Processing buffer {"connection_id":163376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:28:31] local.INFO: IMEI packet received {"connection_id":163376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 11:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":163376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:28:36] local.INFO: TCP Data received {"connection_id":163376,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:28:36] local.INFO: Processing buffer {"connection_id":163376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:28:36] local.INFO: IMEI packet received {"connection_id":163376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 11:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":163376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:28:37] local.INFO: TCP Data received {"connection_id":163376,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a046f20408012d34c14006aa4840000f00e62c..."} 
[2026-08-28 11:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046f20408012d34c14006aa4840000f00e62c..."} 
[2026-08-28 11:28:37] local.INFO: Processing buffer {"connection_id":163376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046f20408012d34c14006aa4840000f00e62c..."} 
[2026-08-28 11:28:37] local.INFO: Packet analysis {"connection_id":163376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046f2"} 
[2026-08-28 11:28:37] local.INFO: Extracted packet for processing {"connection_id":163376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046f2"} 
[2026-08-28 11:28:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701468160001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:28:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 11:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:28: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-28 11:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787896661000,"timestamp_ms":1787896661000,"timestamp_seconds":1787896661,"priority":1,"record_length":96,"hex_timestamp":"000001a046f20408"} 
[2026-08-28 11:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 11:28:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701468160001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 11:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701468160001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:28:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:28: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-28 11:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701468160001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:28:37] 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":707215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:28:37] local.INFO: GPS data processed {"connection_id":163376,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:28:37] local.INFO: Acknowledgment sent {"connection_id":163376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:29:08] local.INFO: TCP Data received {"connection_id":163376,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a046f20408012d34c14006aa4840000f00e62c..."} 
[2026-08-28 11:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046f20408012d34c14006aa4840000f00e62c..."} 
[2026-08-28 11:29:08] local.INFO: Processing buffer {"connection_id":163376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046f20408012d34c14006aa4840000f00e62c..."} 
[2026-08-28 11:29:08] local.INFO: Packet analysis {"connection_id":163376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046f2"} 
[2026-08-28 11:29:08] local.INFO: Extracted packet for processing {"connection_id":163376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046f2"} 
[2026-08-28 11:29:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701468160001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:29:08] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 11:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:29: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-28 11:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787896661000,"timestamp_ms":1787896661000,"timestamp_seconds":1787896661,"priority":1,"record_length":96,"hex_timestamp":"000001a046f20408"} 
[2026-08-28 11:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:29:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 11:29:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:29:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701468160001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 11:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701468160001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:29:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:29: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-28 11:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701468160001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:29:08] 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":707216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:29:08] local.INFO: GPS data processed {"connection_id":163376,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:29:08] local.INFO: Acknowledgment sent {"connection_id":163376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:29:31] local.INFO: TCP Data received {"connection_id":163644,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:29:31] local.INFO: Processing buffer {"connection_id":163644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:29:31] local.INFO: IMEI packet received {"connection_id":163644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 11:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":163644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:29:39] local.INFO: TCP Data received {"connection_id":163644,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:29:39] local.INFO: Processing buffer {"connection_id":163644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:29:39] local.INFO: IMEI packet received {"connection_id":163644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 11:29:39] local.INFO: IMEI acknowledgment sent {"connection_id":163644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:29:41] local.INFO: TCP Data received {"connection_id":163644,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a046f20408012d34c14006aa4840000f00e62c..."} 
[2026-08-28 11:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046f20408012d34c14006aa4840000f00e62c..."} 
[2026-08-28 11:29:41] local.INFO: Processing buffer {"connection_id":163644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046f20408012d34c14006aa4840000f00e62c..."} 
[2026-08-28 11:29:41] local.INFO: Packet analysis {"connection_id":163644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046f2"} 
[2026-08-28 11:29:41] local.INFO: Extracted packet for processing {"connection_id":163644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046f2"} 
[2026-08-28 11:29:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701468160001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:29:41] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 11:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:29:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:29:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 11:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787896661000,"timestamp_ms":1787896661000,"timestamp_seconds":1787896661,"priority":1,"record_length":96,"hex_timestamp":"000001a046f20408"} 
[2026-08-28 11:29:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:29:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 11:29: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-28 11:29:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:29:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":163644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":163644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":163644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:29:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701468160001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-28 11:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701468160001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:29:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:29: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-28 11:29:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701468160001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":163644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:29:41] local.INFO: GPS data processed {"connection_id":163644,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:29:41] local.INFO: Acknowledgment sent {"connection_id":163644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:30:12] local.INFO: TCP Data received {"connection_id":163644,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a046f20408012d34c14006aa4840000f00e62c..."} 
[2026-08-28 11:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046f20408012d34c14006aa4840000f00e62c..."} 
[2026-08-28 11:30:12] local.INFO: Processing buffer {"connection_id":163644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046f20408012d34c14006aa4840000f00e62c..."} 
[2026-08-28 11:30:12] local.INFO: Packet analysis {"connection_id":163644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046f2"} 
[2026-08-28 11:30:12] local.INFO: Extracted packet for processing {"connection_id":163644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046f2"} 
[2026-08-28 11:30:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701468160001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:30:12] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 11:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:30:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:30:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 11:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787896661000,"timestamp_ms":1787896661000,"timestamp_seconds":1787896661,"priority":1,"record_length":96,"hex_timestamp":"000001a046f20408"} 
[2026-08-28 11:30:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:30:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 11:30:12] 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-28 11:30:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:30:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":163644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":163644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":163644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:30:12] 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-28 11:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701468160001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-28 11:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701468160001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:30:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:30: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-28 11:30:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:30:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701468160001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:30:12] local.INFO: DEBUG: GPS processor result {"connection_id":163644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:30:12] local.INFO: GPS data processed {"connection_id":163644,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:30:12] local.INFO: Acknowledgment sent {"connection_id":163644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:30:31] local.INFO: TCP Data received {"connection_id":164642,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:30:31] local.INFO: Processing buffer {"connection_id":164642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:30:31] local.INFO: IMEI packet received {"connection_id":164642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 11:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":164642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:30:36] local.INFO: TCP Data received {"connection_id":164642,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:30:36] local.INFO: Processing buffer {"connection_id":164642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:30:36] local.INFO: IMEI packet received {"connection_id":164642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 11:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":164642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:30:37] local.INFO: TCP Data received {"connection_id":164642,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a046f20408012d34c14006aa4840000f00e62c..."} 
[2026-08-28 11:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046f20408012d34c14006aa4840000f00e62c..."} 
[2026-08-28 11:30:37] local.INFO: Processing buffer {"connection_id":164642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046f20408012d34c14006aa4840000f00e62c..."} 
[2026-08-28 11:30:37] local.INFO: Packet analysis {"connection_id":164642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046f2"} 
[2026-08-28 11:30:37] local.INFO: Extracted packet for processing {"connection_id":164642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046f2"} 
[2026-08-28 11:30:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701468160001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:30:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 11:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:30: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-28 11:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787896661000,"timestamp_ms":1787896661000,"timestamp_seconds":1787896661,"priority":1,"record_length":96,"hex_timestamp":"000001a046f20408"} 
[2026-08-28 11:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 11:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701468160001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-28 11:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701468160001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:30:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:30: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-28 11:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701468160001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":164642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:30:37] local.INFO: GPS data processed {"connection_id":164642,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:30:37] local.INFO: Acknowledgment sent {"connection_id":164642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:31:08] local.INFO: TCP Data received {"connection_id":164642,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a046f20408012d34c14006aa4840000f00e62c..."} 
[2026-08-28 11:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046f20408012d34c14006aa4840000f00e62c..."} 
[2026-08-28 11:31:08] local.INFO: Processing buffer {"connection_id":164642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046f20408012d34c14006aa4840000f00e62c..."} 
[2026-08-28 11:31:08] local.INFO: Packet analysis {"connection_id":164642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046f2"} 
[2026-08-28 11:31:08] local.INFO: Extracted packet for processing {"connection_id":164642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046f2"} 
[2026-08-28 11:31:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701468160001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:31:08] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 11:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:31: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-28 11:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787896661000,"timestamp_ms":1787896661000,"timestamp_seconds":1787896661,"priority":1,"record_length":96,"hex_timestamp":"000001a046f20408"} 
[2026-08-28 11: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-28 11:31:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 11:31:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11: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-28 11: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-28 11:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:31:08] 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-28 11:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701468160001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-28 11:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701468160001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:31:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11: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-28 11:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701468160001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":164642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:31:08] local.INFO: GPS data processed {"connection_id":164642,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:31:08] local.INFO: Acknowledgment sent {"connection_id":164642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:31:31] local.INFO: TCP Data received {"connection_id":164645,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:31:31] local.INFO: Processing buffer {"connection_id":164645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:31:31] local.INFO: IMEI packet received {"connection_id":164645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 11:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":164645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:31:36] local.INFO: TCP Data received {"connection_id":164645,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:31:36] local.INFO: Processing buffer {"connection_id":164645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:31:36] local.INFO: IMEI packet received {"connection_id":164645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 11:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":164645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:31:37] local.INFO: TCP Data received {"connection_id":164645,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a046f20408012d34c14006aa4840000f00e62c..."} 
[2026-08-28 11:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046f20408012d34c14006aa4840000f00e62c..."} 
[2026-08-28 11:31:37] local.INFO: Processing buffer {"connection_id":164645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046f20408012d34c14006aa4840000f00e62c..."} 
[2026-08-28 11:31:37] local.INFO: Packet analysis {"connection_id":164645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046f2"} 
[2026-08-28 11:31:37] local.INFO: Extracted packet for processing {"connection_id":164645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046f2"} 
[2026-08-28 11:31:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701468160001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:31:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 11:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:31: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-28 11:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787896661000,"timestamp_ms":1787896661000,"timestamp_seconds":1787896661,"priority":1,"record_length":96,"hex_timestamp":"000001a046f20408"} 
[2026-08-28 11:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:31:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 11:31:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:31:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:31:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701468160001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-28 11:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701468160001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:31:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:31: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-28 11:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701468160001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":164645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:31:37] local.INFO: GPS data processed {"connection_id":164645,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:31:37] local.INFO: Acknowledgment sent {"connection_id":164645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:32:09] local.INFO: TCP Data received {"connection_id":164645,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a046f20408012d34c14006aa4840000f00e62c..."} 
[2026-08-28 11:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046f20408012d34c14006aa4840000f00e62c..."} 
[2026-08-28 11:32:09] local.INFO: Processing buffer {"connection_id":164645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046f20408012d34c14006aa4840000f00e62c..."} 
[2026-08-28 11:32:09] local.INFO: Packet analysis {"connection_id":164645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046f2"} 
[2026-08-28 11:32:09] local.INFO: Extracted packet for processing {"connection_id":164645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046f2"} 
[2026-08-28 11:32:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701468160001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:32:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 11:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:32:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:32: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-28 11:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787896661000,"timestamp_ms":1787896661000,"timestamp_seconds":1787896661,"priority":1,"record_length":96,"hex_timestamp":"000001a046f20408"} 
[2026-08-28 11: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-28 11:32:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 11:32:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11: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-28 11: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-28 11:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:32:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701468160001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-28 11:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701468160001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:32:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:32: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-28 11:32:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701468160001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":164645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:32:09] local.INFO: GPS data processed {"connection_id":164645,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:32:09] local.INFO: Acknowledgment sent {"connection_id":164645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:32:21] local.INFO: TCP Data received {"connection_id":163378,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:32:21] local.INFO: Processing buffer {"connection_id":163378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:32:21] local.INFO: IMEI packet received {"connection_id":163378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 11:32:21] local.INFO: IMEI acknowledgment sent {"connection_id":163378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:32:23] local.INFO: TCP Data received {"connection_id":163378,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a046f56350012d1b748007258790002a00c624..."} 
[2026-08-28 11:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046f56350012d1b748007258790002a00c624..."} 
[2026-08-28 11:32:23] local.INFO: Processing buffer {"connection_id":163378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046f56350012d1b748007258790002a00c624..."} 
[2026-08-28 11:32:23] local.INFO: Packet analysis {"connection_id":163378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046f5"} 
[2026-08-28 11:32:23] local.INFO: Extracted packet for processing {"connection_id":163378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046f5"} 
[2026-08-28 11:32:23] local.INFO: GPS Element Parsed {"raw_longitude":756774016,"raw_latitude":119900048,"longitude_deg":75.6774016,"latitude_deg":11.9900048,"altitude":42,"angle":198,"satellites":36,"speed":0,"hex_longitude":"2d1b7480","hex_latitude":"07258790","is_valid_coordinates":true} 
[2026-08-28 11:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:32:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701596416001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:32:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15847922516099072,"note":"Value kept but may cause issues"} 
[2026-08-28 11:32:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978346904505257984,"note":"Value kept but may cause issues"} 
[2026-08-28 11:32:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:32:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787896882000,"timestamp_ms":1787896882000,"timestamp_seconds":1787896882,"priority":1,"record_length":96,"hex_timestamp":"000001a046f56350"} 
[2026-08-28 11:32:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:32:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 11:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-28 11:32:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:32:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:32:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:32:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:32:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:32:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:32:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:32:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:32:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:32:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:32:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701596416001,"66":14233,"216":206,"83":42752,"24":0,"16":15847922516099072,"45":1978346904505257984},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-08-28 11:32:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:32:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:32:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701596416001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:32:23] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-28 11:32:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-28 11:32:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15847922516099072,"km_value":15847922516099.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:32:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978346904505257984,"description":"Unknown IO ID 45"} 
[2026-08-28 11:32:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701596416001,"power":14233,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1978346904505257984}} 
[2026-08-28 11:32:23] local.INFO: DEBUG: GPS processor result {"connection_id":163378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707223,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:32:23] local.INFO: GPS data processed {"connection_id":163378,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:32:23] local.INFO: Acknowledgment sent {"connection_id":163378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:32:31] local.INFO: TCP Data received {"connection_id":163645,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:32:31] local.INFO: Processing buffer {"connection_id":163645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:32:31] local.INFO: IMEI packet received {"connection_id":163645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 11:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":163645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:32:36] local.INFO: TCP Data received {"connection_id":163645,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:32:36] local.INFO: Processing buffer {"connection_id":163645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:32:36] local.INFO: IMEI packet received {"connection_id":163645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 11:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":163645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:32:37] local.INFO: TCP Data received {"connection_id":163645,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a046f20408012d34c14006aa4840000f00e62c..."} 
[2026-08-28 11:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046f20408012d34c14006aa4840000f00e62c..."} 
[2026-08-28 11:32:37] local.INFO: Processing buffer {"connection_id":163645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046f20408012d34c14006aa4840000f00e62c..."} 
[2026-08-28 11:32:37] local.INFO: Packet analysis {"connection_id":163645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046f2"} 
[2026-08-28 11:32:37] local.INFO: Extracted packet for processing {"connection_id":163645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046f2"} 
[2026-08-28 11:32:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701468160001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:32:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 11:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:32: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-28 11:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787896661000,"timestamp_ms":1787896661000,"timestamp_seconds":1787896661,"priority":1,"record_length":96,"hex_timestamp":"000001a046f20408"} 
[2026-08-28 11: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-28 11:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 11:32:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11: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-28 11: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-28 11:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701468160001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-28 11:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701468160001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:32:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:32: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-28 11:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701468160001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":163645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:32:37] local.INFO: GPS data processed {"connection_id":163645,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:32:37] local.INFO: Acknowledgment sent {"connection_id":163645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:32:56] local.INFO: TCP Data received {"connection_id":163378,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a046f58a60012d1b73c007258630002700da23..."} 
[2026-08-28 11:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046f58a60012d1b73c007258630002700da23..."} 
[2026-08-28 11:32:56] local.INFO: Processing buffer {"connection_id":163378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046f58a60012d1b73c007258630002700da23..."} 
[2026-08-28 11:32:56] local.INFO: Packet analysis {"connection_id":163378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046f5"} 
[2026-08-28 11:32:56] local.INFO: Extracted packet for processing {"connection_id":163378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046f5"} 
[2026-08-28 11:32:56] local.INFO: GPS Element Parsed {"raw_longitude":756773824,"raw_latitude":119899696,"longitude_deg":75.6773824,"latitude_deg":11.9899696,"altitude":39,"angle":218,"satellites":35,"speed":4,"hex_longitude":"2d1b73c0","hex_latitude":"07258630","is_valid_coordinates":true} 
[2026-08-28 11:32:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:32:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701601792001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:32:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15847943990935552,"note":"Value kept but may cause issues"} 
[2026-08-28 11:32:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978346904505257984,"note":"Value kept but may cause issues"} 
[2026-08-28 11:32:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:32:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787896892000,"timestamp_ms":1787896892000,"timestamp_seconds":1787896892,"priority":1,"record_length":96,"hex_timestamp":"000001a046f58a60"} 
[2026-08-28 11:32:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:32:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 11:32:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-28 11:32:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:32:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:32:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:32:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:32:56] local.INFO: Teltonika packet parsed successfully {"connection_id":163378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:32:56] local.INFO: Passing IMEI to GPS processor {"connection_id":163378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:32:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":163378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:32:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:32:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:32:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:32:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701601792001,"66":14265,"216":206,"83":42752,"24":4,"16":15847943990935552,"45":1978346904505257984},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-08-28 11:32:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:32:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:32:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701601792001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:32:56] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-28 11:32:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-28 11:32:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15847943990935552,"km_value":15847943990935.553,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:32:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978346904505257984,"description":"Unknown IO ID 45"} 
[2026-08-28 11:32:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701601792001,"power":14265,"unknown_216":206,"unknown_83":42752,"ignition":4,"odometer":null,"unknown_45":1978346904505257984}} 
[2026-08-28 11:32:56] local.INFO: DEBUG: GPS processor result {"connection_id":163378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707225,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:32:56] local.INFO: GPS data processed {"connection_id":163378,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:32:56] local.INFO: Acknowledgment sent {"connection_id":163378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:33:09] local.INFO: TCP Data received {"connection_id":163645,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a046f20408012d34c14006aa4840000f00e62c..."} 
[2026-08-28 11:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046f20408012d34c14006aa4840000f00e62c..."} 
[2026-08-28 11:33:09] local.INFO: Processing buffer {"connection_id":163645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046f20408012d34c14006aa4840000f00e62c..."} 
[2026-08-28 11:33:09] local.INFO: Packet analysis {"connection_id":163645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046f2"} 
[2026-08-28 11:33:09] local.INFO: Extracted packet for processing {"connection_id":163645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046f2"} 
[2026-08-28 11:33:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701468160001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:33:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 11:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:33: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-28 11:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787896661000,"timestamp_ms":1787896661000,"timestamp_seconds":1787896661,"priority":1,"record_length":96,"hex_timestamp":"000001a046f20408"} 
[2026-08-28 11:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:33:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 11:33:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:33:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:33:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701468160001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-28 11:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701468160001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:33:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:33: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-28 11:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701468160001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":163645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:33:09] local.INFO: GPS data processed {"connection_id":163645,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:33:09] local.INFO: Acknowledgment sent {"connection_id":163645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:33:19] local.INFO: TCP Data received {"connection_id":165989,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165989,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:33:19] local.INFO: Processing buffer {"connection_id":165989,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:33:19] local.INFO: IMEI packet received {"connection_id":165989,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 11:33:19] local.INFO: IMEI acknowledgment sent {"connection_id":165989,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:33:20] local.INFO: TCP Data received {"connection_id":165989,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165989,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:33:20] local.INFO: Processing buffer {"connection_id":165989,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:33:20] local.INFO: IMEI packet received {"connection_id":165989,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 11:33:20] local.INFO: IMEI acknowledgment sent {"connection_id":165989,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:33:21] local.INFO: TCP Data received {"connection_id":165989,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165989,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:33:21] local.INFO: Processing buffer {"connection_id":165989,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:33:21] local.INFO: IMEI packet received {"connection_id":165989,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 11:33:21] local.INFO: IMEI acknowledgment sent {"connection_id":165989,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:33:26] local.INFO: TCP Data received {"connection_id":165989,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165989,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:33:26] local.INFO: Processing buffer {"connection_id":165989,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:33:26] local.INFO: IMEI packet received {"connection_id":165989,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 11:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":165989,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:33:27] local.INFO: TCP Data received {"connection_id":165989,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a046f58e48012d1b738007258590002700cb24..."} 
[2026-08-28 11:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046f58e48012d1b738007258590002700cb24..."} 
[2026-08-28 11:33:27] local.INFO: Processing buffer {"connection_id":165989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046f58e48012d1b738007258590002700cb24..."} 
[2026-08-28 11:33:27] local.INFO: Packet analysis {"connection_id":165989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046f5"} 
[2026-08-28 11:33:27] local.INFO: Extracted packet for processing {"connection_id":165989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046f5"} 
[2026-08-28 11:33:27] local.INFO: GPS Element Parsed {"raw_longitude":756773760,"raw_latitude":119899536,"longitude_deg":75.677376,"latitude_deg":11.9899536,"altitude":39,"angle":203,"satellites":36,"speed":8,"hex_longitude":"2d1b7380","hex_latitude":"07258590","is_valid_coordinates":true} 
[2026-08-28 11:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:33:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701604352001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:33:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15847952580870144,"note":"Value kept but may cause issues"} 
[2026-08-28 11:33:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978135798272634880,"note":"Value kept but may cause issues"} 
[2026-08-28 11:33:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:33:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787896893000,"timestamp_ms":1787896893000,"timestamp_seconds":1787896893,"priority":1,"record_length":96,"hex_timestamp":"000001a046f58e48"} 
[2026-08-28 11:33:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:33:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 11:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-28 11:33:27] 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-28 11:33:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:33:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:33:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:33:27] local.INFO: Teltonika packet parsed successfully {"connection_id":165989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:33:27] local.INFO: Passing IMEI to GPS processor {"connection_id":165989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:33:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":165989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:33:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:33:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:33:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:33:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701604352001,"66":14265,"216":206,"83":42752,"24":8,"16":15847952580870144,"45":1978135798272634880},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-08-28 11:33:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:33:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:33:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701604352001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:33:27] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-28 11:33:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-28 11:33:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15847952580870144,"km_value":15847952580870.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:33:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978135798272634880,"description":"Unknown IO ID 45"} 
[2026-08-28 11:33:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701604352001,"power":14265,"unknown_216":206,"unknown_83":42752,"ignition":8,"odometer":null,"unknown_45":1978135798272634880}} 
[2026-08-28 11:33:27] local.INFO: DEBUG: GPS processor result {"connection_id":165989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707227,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:33:27] local.INFO: GPS data processed {"connection_id":165989,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:33:27] local.INFO: Acknowledgment sent {"connection_id":165989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:33:37] local.INFO: TCP Data received {"connection_id":164646,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:33:37] local.INFO: Processing buffer {"connection_id":164646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:33:37] local.INFO: IMEI packet received {"connection_id":164646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 11:33:37] local.INFO: IMEI acknowledgment sent {"connection_id":164646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:33:41] local.INFO: TCP Data received {"connection_id":164646,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:33:41] local.INFO: Processing buffer {"connection_id":164646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:33:41] local.INFO: IMEI packet received {"connection_id":164646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 11:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":164646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:33:51] local.INFO: TCP Data received {"connection_id":164646,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a046f69bd0012d34c14006aa4840001600e62b..."} 
[2026-08-28 11:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046f69bd0012d34c14006aa4840001600e62b..."} 
[2026-08-28 11:33:51] local.INFO: Processing buffer {"connection_id":164646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046f69bd0012d34c14006aa4840001600e62b..."} 
[2026-08-28 11:33:51] local.INFO: Packet analysis {"connection_id":164646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046f6"} 
[2026-08-28 11:33:51] local.INFO: Extracted packet for processing {"connection_id":164646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046f6"} 
[2026-08-28 11:33:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":22,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701545216001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:33:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 11:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:33:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:33: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-28 11:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787896962000,"timestamp_ms":1787896962000,"timestamp_seconds":1787896962,"priority":1,"record_length":96,"hex_timestamp":"000001a046f69bd0"} 
[2026-08-28 11: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-28 11:33:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 11:33: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-28 11: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-28 11: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-28 11:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":164646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":164646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":164646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:33:51] 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-28 11:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701545216001,"66":25375,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-28 11:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701545216001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:33:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11: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-28 11:33:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701545216001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":164646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:33:51] local.INFO: GPS data processed {"connection_id":164646,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:33:51] local.INFO: Acknowledgment sent {"connection_id":164646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:34:07] local.INFO: TCP Data received {"connection_id":164646,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a046f69bd0012d34c14006aa4840001600e62b..."} 
[2026-08-28 11:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046f69bd0012d34c14006aa4840001600e62b..."} 
[2026-08-28 11:34:07] local.INFO: Processing buffer {"connection_id":164646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046f69bd0012d34c14006aa4840001600e62b..."} 
[2026-08-28 11:34:07] local.INFO: Packet analysis {"connection_id":164646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046f6"} 
[2026-08-28 11:34:07] local.INFO: Extracted packet for processing {"connection_id":164646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046f6"} 
[2026-08-28 11:34:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":22,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701545216001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:34:07] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 11:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:34:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:34: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-28 11:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787896962000,"timestamp_ms":1787896962000,"timestamp_seconds":1787896962,"priority":1,"record_length":96,"hex_timestamp":"000001a046f69bd0"} 
[2026-08-28 11:34:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:34:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 11:34:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:34:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:34:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":164646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":164646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":164646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:34:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701545216001,"66":25375,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-28 11:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701545216001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:34:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:34: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-28 11:34:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701545216001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":164646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:34:07] local.INFO: GPS data processed {"connection_id":164646,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:34:07] local.INFO: Acknowledgment sent {"connection_id":164646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:34:11] local.INFO: TCP Data received {"connection_id":165990,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165990,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:34:11] local.INFO: Processing buffer {"connection_id":165990,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:34:11] local.INFO: IMEI packet received {"connection_id":165990,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 11:34:11] local.INFO: IMEI acknowledgment sent {"connection_id":165990,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:34:16] local.INFO: TCP Data received {"connection_id":165990,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165990,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:34:16] local.INFO: Processing buffer {"connection_id":165990,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:34:16] local.INFO: IMEI packet received {"connection_id":165990,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 11:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":165990,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:34:18] local.INFO: TCP Data received {"connection_id":165990,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a046f5b558012d1b6ec007257620002900bb24..."} 
[2026-08-28 11:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046f5b558012d1b6ec007257620002900bb24..."} 
[2026-08-28 11:34:18] local.INFO: Processing buffer {"connection_id":165990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046f5b558012d1b6ec007257620002900bb24..."} 
[2026-08-28 11:34:18] local.INFO: Packet analysis {"connection_id":165990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046f5"} 
[2026-08-28 11:34:18] local.INFO: Extracted packet for processing {"connection_id":165990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046f5"} 
[2026-08-28 11:34:18] local.INFO: GPS Element Parsed {"raw_longitude":756772544,"raw_latitude":119895584,"longitude_deg":75.6772544,"latitude_deg":11.9895584,"altitude":41,"angle":187,"satellites":36,"speed":18,"hex_longitude":"2d1b6ec0","hex_latitude":"07257620","is_valid_coordinates":true} 
[2026-08-28 11:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:34:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701604608001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:34:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15848154444333056,"note":"Value kept but may cause issues"} 
[2026-08-28 11:34:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978065429528416256,"note":"Value kept but may cause issues"} 
[2026-08-28 11:34:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:34:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787896903000,"timestamp_ms":1787896903000,"timestamp_seconds":1787896903,"priority":1,"record_length":96,"hex_timestamp":"000001a046f5b558"} 
[2026-08-28 11:34:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:34:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 11:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-28 11:34:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:34:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:34:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:34:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:34:18] local.INFO: Teltonika packet parsed successfully {"connection_id":165990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:34:18] local.INFO: Passing IMEI to GPS processor {"connection_id":165990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:34:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":165990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:34:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:34:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:34:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:34:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701604608001,"66":14363,"216":206,"83":42752,"24":18,"16":15848154444333056,"45":1978065429528416256},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-08-28 11:34:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:34:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:34:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701604608001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:34:18] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-28 11:34:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-28 11:34:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15848154444333056,"km_value":15848154444333.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:34:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978065429528416256,"description":"Unknown IO ID 45"} 
[2026-08-28 11:34:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701604608001,"power":14363,"unknown_216":206,"unknown_83":42752,"ignition":18,"odometer":null,"unknown_45":1978065429528416256}} 
[2026-08-28 11:34:18] local.INFO: DEBUG: GPS processor result {"connection_id":165990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707230,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:34:18] local.INFO: GPS data processed {"connection_id":165990,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:34:18] local.INFO: Acknowledgment sent {"connection_id":165990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:34:31] local.INFO: TCP Data received {"connection_id":165991,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:34:31] local.INFO: Processing buffer {"connection_id":165991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:34:31] local.INFO: IMEI packet received {"connection_id":165991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 11:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":165991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:34:36] local.INFO: TCP Data received {"connection_id":165991,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:34:36] local.INFO: Processing buffer {"connection_id":165991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:34:36] local.INFO: IMEI packet received {"connection_id":165991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 11:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":165991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:34:37] local.INFO: TCP Data received {"connection_id":165991,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a046f69bd0012d34c14006aa4840001600e62b..."} 
[2026-08-28 11:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046f69bd0012d34c14006aa4840001600e62b..."} 
[2026-08-28 11:34:37] local.INFO: Processing buffer {"connection_id":165991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046f69bd0012d34c14006aa4840001600e62b..."} 
[2026-08-28 11:34:37] local.INFO: Packet analysis {"connection_id":165991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046f6"} 
[2026-08-28 11:34:37] local.INFO: Extracted packet for processing {"connection_id":165991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046f6"} 
[2026-08-28 11:34:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":22,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701545216001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:34:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 11:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:34: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-28 11:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787896962000,"timestamp_ms":1787896962000,"timestamp_seconds":1787896962,"priority":1,"record_length":96,"hex_timestamp":"000001a046f69bd0"} 
[2026-08-28 11:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 11:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":165991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":165991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":165991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701545216001,"66":25375,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-28 11:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701545216001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:34:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:34: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-28 11:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701545216001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":165991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:34:37] local.INFO: GPS data processed {"connection_id":165991,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:34:37] local.INFO: Acknowledgment sent {"connection_id":165991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:34:49] local.INFO: TCP Data received {"connection_id":165990,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a046f795d0012d1b1080072486b8002a00e927..."} 
[2026-08-28 11:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046f795d0012d1b1080072486b8002a00e927..."} 
[2026-08-28 11:34:49] local.INFO: Processing buffer {"connection_id":165990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046f795d0012d1b1080072486b8002a00e927..."} 
[2026-08-28 11:34:49] local.INFO: Packet analysis {"connection_id":165990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046f7"} 
[2026-08-28 11:34:49] local.INFO: Extracted packet for processing {"connection_id":165990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046f7"} 
[2026-08-28 11:34:49] local.INFO: GPS Element Parsed {"raw_longitude":756748416,"raw_latitude":119834296,"longitude_deg":75.6748416,"latitude_deg":11.9834296,"altitude":42,"angle":233,"satellites":39,"speed":19,"hex_longitude":"2d1b1080","hex_latitude":"072486b8","is_valid_coordinates":true} 
[2026-08-28 11:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:34:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701634048001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:34:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15851568943333376,"note":"Value kept but may cause issues"} 
[2026-08-28 11:34:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1958291812399161344,"note":"Value kept but may cause issues"} 
[2026-08-28 11:34:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:34:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787897026000,"timestamp_ms":1787897026000,"timestamp_seconds":1787897026,"priority":1,"record_length":96,"hex_timestamp":"000001a046f795d0"} 
[2026-08-28 11:34:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:34:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 11:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-28 11:34:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:34:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:34:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:34:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:34:49] local.INFO: Teltonika packet parsed successfully {"connection_id":165990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:34:49] local.INFO: Passing IMEI to GPS processor {"connection_id":165990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:34:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":165990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:34:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:34:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:34:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:34:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701634048001,"66":14070,"176":206,"83":42752,"24":19,"16":15851568943333376,"45":1958291812399161344},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-08-28 11:34:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:34:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:34:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701634048001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:34:49] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-28 11:34:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-28 11:34:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15851568943333376,"km_value":15851568943333.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:34:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1958291812399161344,"description":"Unknown IO ID 45"} 
[2026-08-28 11:34:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701634048001,"power":14070,"unknown_176":206,"unknown_83":42752,"ignition":19,"odometer":null,"unknown_45":1958291812399161344}} 
[2026-08-28 11:34:49] local.INFO: DEBUG: GPS processor result {"connection_id":165990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707232,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:34:49] local.INFO: GPS data processed {"connection_id":165990,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:34:49] local.INFO: Acknowledgment sent {"connection_id":165990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:35:09] local.INFO: TCP Data received {"connection_id":165991,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a046f69bd0012d34c14006aa4840001600e62b..."} 
[2026-08-28 11:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046f69bd0012d34c14006aa4840001600e62b..."} 
[2026-08-28 11:35:09] local.INFO: Processing buffer {"connection_id":165991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046f69bd0012d34c14006aa4840001600e62b..."} 
[2026-08-28 11:35:09] local.INFO: Packet analysis {"connection_id":165991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046f6"} 
[2026-08-28 11:35:09] local.INFO: Extracted packet for processing {"connection_id":165991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046f6"} 
[2026-08-28 11:35:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":22,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701545216001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:35:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 11:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:35: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-28 11:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787896962000,"timestamp_ms":1787896962000,"timestamp_seconds":1787896962,"priority":1,"record_length":96,"hex_timestamp":"000001a046f69bd0"} 
[2026-08-28 11:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:35:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 11:35:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:35:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":165991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":165991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":165991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:35:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701545216001,"66":25375,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-28 11:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701545216001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:35:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:35: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-28 11:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701545216001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":165991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:35:09] local.INFO: GPS data processed {"connection_id":165991,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:35:09] local.INFO: Acknowledgment sent {"connection_id":165991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:35:11] local.INFO: TCP Data received {"connection_id":164647,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164647,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:35:11] local.INFO: Processing buffer {"connection_id":164647,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:35:11] local.INFO: IMEI packet received {"connection_id":164647,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 11:35:11] local.INFO: IMEI acknowledgment sent {"connection_id":164647,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:35:16] local.INFO: TCP Data received {"connection_id":164647,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164647,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:35:16] local.INFO: Processing buffer {"connection_id":164647,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:35:16] local.INFO: IMEI packet received {"connection_id":164647,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 11:35:16] local.INFO: IMEI acknowledgment sent {"connection_id":164647,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:35:18] local.INFO: TCP Data received {"connection_id":164647,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a046f7a188012d1b0b80072481c8002b00dd26..."} 
[2026-08-28 11:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046f7a188012d1b0b80072481c8002b00dd26..."} 
[2026-08-28 11:35:18] local.INFO: Processing buffer {"connection_id":164647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046f7a188012d1b0b80072481c8002b00dd26..."} 
[2026-08-28 11:35:18] local.INFO: Packet analysis {"connection_id":164647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046f7"} 
[2026-08-28 11:35:18] local.INFO: Extracted packet for processing {"connection_id":164647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046f7"} 
[2026-08-28 11:35:18] local.INFO: GPS Element Parsed {"raw_longitude":756747136,"raw_latitude":119833032,"longitude_deg":75.6747136,"latitude_deg":11.9833032,"altitude":43,"angle":221,"satellites":38,"speed":27,"hex_longitude":"2d1b0b80","hex_latitude":"072481c8","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11:35:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701638656001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:35:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15851654842679296,"note":"Value kept but may cause issues"} 
[2026-08-28 11:35:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1950199406817359872,"note":"Value kept but may cause issues"} 
[2026-08-28 11:35:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:35:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787897029000,"timestamp_ms":1787897029000,"timestamp_seconds":1787897029,"priority":1,"record_length":96,"hex_timestamp":"000001a046f7a188"} 
[2026-08-28 11: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-28 11:35:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 11: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-28 11:35: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-28 11: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-28 11: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-28 11:35:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:35:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:35:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:35:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:35:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:35:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:35:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:35:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701638656001,"66":14026,"176":206,"83":42752,"24":27,"16":15851654842679296,"45":1950199406817359872},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-08-28 11:35:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:35:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:35:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701638656001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:35:18] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-08-28 11:35:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-28 11:35:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15851654842679296,"km_value":15851654842679.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:35:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1950199406817359872,"description":"Unknown IO ID 45"} 
[2026-08-28 11:35:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701638656001,"power":14026,"unknown_176":206,"unknown_83":42752,"ignition":27,"odometer":null,"unknown_45":1950199406817359872}} 
[2026-08-28 11:35:18] local.INFO: DEBUG: GPS processor result {"connection_id":164647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707234,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:35:18] local.INFO: GPS data processed {"connection_id":164647,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:35:18] local.INFO: Acknowledgment sent {"connection_id":164647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:35:31] local.INFO: TCP Data received {"connection_id":163646,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:35:31] local.INFO: Processing buffer {"connection_id":163646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:35:31] local.INFO: IMEI packet received {"connection_id":163646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 11:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":163646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:35:36] local.INFO: TCP Data received {"connection_id":163646,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:35:36] local.INFO: Processing buffer {"connection_id":163646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:35:36] local.INFO: IMEI packet received {"connection_id":163646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 11:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":163646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:35:37] local.INFO: TCP Data received {"connection_id":163646,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a046f69bd0012d34c14006aa4840001600e62b..."} 
[2026-08-28 11:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046f69bd0012d34c14006aa4840001600e62b..."} 
[2026-08-28 11:35:37] local.INFO: Processing buffer {"connection_id":163646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046f69bd0012d34c14006aa4840001600e62b..."} 
[2026-08-28 11:35:37] local.INFO: Packet analysis {"connection_id":163646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046f6"} 
[2026-08-28 11:35:37] local.INFO: Extracted packet for processing {"connection_id":163646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046f6"} 
[2026-08-28 11:35:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":22,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701545216001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:35:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 11:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:35: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-28 11:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787896962000,"timestamp_ms":1787896962000,"timestamp_seconds":1787896962,"priority":1,"record_length":96,"hex_timestamp":"000001a046f69bd0"} 
[2026-08-28 11:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 11:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701545216001,"66":25375,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-28 11:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701545216001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:35:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:35: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-28 11:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701545216001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":163646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:35:37] local.INFO: GPS data processed {"connection_id":163646,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:35:37] local.INFO: Acknowledgment sent {"connection_id":163646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:35:49] local.INFO: TCP Data received {"connection_id":164647,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a046f7d068012d1af280072465f0002d00d923..."} 
[2026-08-28 11:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046f7d068012d1af280072465f0002d00d923..."} 
[2026-08-28 11:35:49] local.INFO: Processing buffer {"connection_id":164647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046f7d068012d1af280072465f0002d00d923..."} 
[2026-08-28 11:35:49] local.INFO: Packet analysis {"connection_id":164647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046f7"} 
[2026-08-28 11:35:49] local.INFO: Extracted packet for processing {"connection_id":164647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046f7"} 
[2026-08-28 11:35:49] local.INFO: GPS Element Parsed {"raw_longitude":756740736,"raw_latitude":119825904,"longitude_deg":75.6740736,"latitude_deg":11.9825904,"altitude":45,"angle":217,"satellites":35,"speed":31,"hex_longitude":"2d1af280","hex_latitude":"072465f0","is_valid_coordinates":true} 
[2026-08-28 11:35: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-28 11:35:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701639424001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:35:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15852114404179968,"note":"Value kept but may cause issues"} 
[2026-08-28 11:35:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1948792031933483008,"note":"Value kept but may cause issues"} 
[2026-08-28 11:35:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:35:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787897041000,"timestamp_ms":1787897041000,"timestamp_seconds":1787897041,"priority":1,"record_length":96,"hex_timestamp":"000001a046f7d068"} 
[2026-08-28 11:35:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:35:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 11:35:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-08-28 11:35:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:35: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-28 11:35:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:35:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:35:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:35:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:35:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:35:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:35:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:35:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:35:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701639424001,"66":14070,"137":206,"83":42752,"24":31,"16":15852114404179968,"45":1948792031933483008},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-28 11:35:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:35:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:35:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701639424001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:35:49] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-28 11:35:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-28 11:35:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15852114404179968,"km_value":15852114404179.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:35:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1948792031933483008,"description":"Unknown IO ID 45"} 
[2026-08-28 11:35:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701639424001,"power":14070,"unknown_137":206,"unknown_83":42752,"ignition":31,"odometer":null,"unknown_45":1948792031933483008}} 
[2026-08-28 11:35:49] local.INFO: DEBUG: GPS processor result {"connection_id":164647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707236,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:35:49] local.INFO: GPS data processed {"connection_id":164647,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:35:49] local.INFO: Acknowledgment sent {"connection_id":164647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:36:09] local.INFO: TCP Data received {"connection_id":163646,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a046f69bd0012d34c14006aa4840001600e62b..."} 
[2026-08-28 11:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046f69bd0012d34c14006aa4840001600e62b..."} 
[2026-08-28 11:36:09] local.INFO: Processing buffer {"connection_id":163646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046f69bd0012d34c14006aa4840001600e62b..."} 
[2026-08-28 11:36:09] local.INFO: Packet analysis {"connection_id":163646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046f6"} 
[2026-08-28 11:36:09] local.INFO: Extracted packet for processing {"connection_id":163646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046f6"} 
[2026-08-28 11:36:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":22,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701545216001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:36:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 11:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:36: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-28 11:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787896962000,"timestamp_ms":1787896962000,"timestamp_seconds":1787896962,"priority":1,"record_length":96,"hex_timestamp":"000001a046f69bd0"} 
[2026-08-28 11:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:36:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 11:36:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:36:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:36:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701545216001,"66":25375,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-28 11:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701545216001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:36:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:36: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-28 11:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701545216001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":163646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:36:09] local.INFO: GPS data processed {"connection_id":163646,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:36:09] local.INFO: Acknowledgment sent {"connection_id":163646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:36:11] local.INFO: TCP Data received {"connection_id":165992,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165992,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:36:11] local.INFO: Processing buffer {"connection_id":165992,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:36:11] local.INFO: IMEI packet received {"connection_id":165992,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 11:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":165992,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:36:12] local.INFO: TCP Data received {"connection_id":165992,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165992,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:36:12] local.INFO: Processing buffer {"connection_id":165992,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:36:12] local.INFO: IMEI packet received {"connection_id":165992,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 11:36:12] local.INFO: IMEI acknowledgment sent {"connection_id":165992,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:36:16] local.INFO: TCP Data received {"connection_id":165992,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165992,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:36:16] local.INFO: Processing buffer {"connection_id":165992,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:36:16] local.INFO: IMEI packet received {"connection_id":165992,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 11:36:16] local.INFO: IMEI acknowledgment sent {"connection_id":165992,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:36:16] local.INFO: TCP Data received {"connection_id":165992,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a046f80330012d1adf4007244628003100d922..."} 
[2026-08-28 11:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046f80330012d1adf4007244628003100d922..."} 
[2026-08-28 11:36:16] local.INFO: Processing buffer {"connection_id":165992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046f80330012d1adf4007244628003100d922..."} 
[2026-08-28 11:36:16] local.INFO: Packet analysis {"connection_id":165992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046f8"} 
[2026-08-28 11:36:16] local.INFO: Extracted packet for processing {"connection_id":165992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046f8"} 
[2026-08-28 11:36:16] local.INFO: GPS Element Parsed {"raw_longitude":756735808,"raw_latitude":119817768,"longitude_deg":75.6735808,"latitude_deg":11.9817768,"altitude":49,"angle":217,"satellites":34,"speed":27,"hex_longitude":"2d1adf40","hex_latitude":"07244628","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11:36:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701642496001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:36:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15852573965680640,"note":"Value kept but may cause issues"} 
[2026-08-28 11:36:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1941755157513891840,"note":"Value kept but may cause issues"} 
[2026-08-28 11:36:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:36:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787897054000,"timestamp_ms":1787897054000,"timestamp_seconds":1787897054,"priority":1,"record_length":96,"hex_timestamp":"000001a046f80330"} 
[2026-08-28 11: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-28 11:36:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 11: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-28 11:36:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11: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-28 11: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-28 11:36:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:36:16] local.INFO: Teltonika packet parsed successfully {"connection_id":165992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:36:16] local.INFO: Passing IMEI to GPS processor {"connection_id":165992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:36:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":165992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:36:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:36:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:36:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:36:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701642496001,"66":13972,"137":206,"83":42752,"24":27,"16":15852573965680640,"45":1941755157513891840},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-28 11:36:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:36:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:36:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701642496001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:36:16] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-28 11:36:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-28 11:36:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15852573965680640,"km_value":15852573965680.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:36:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1941755157513891840,"description":"Unknown IO ID 45"} 
[2026-08-28 11:36:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701642496001,"power":13972,"unknown_137":206,"unknown_83":42752,"ignition":27,"odometer":null,"unknown_45":1941755157513891840}} 
[2026-08-28 11:36:17] local.INFO: DEBUG: GPS processor result {"connection_id":165992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707238,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:36:17] local.INFO: GPS data processed {"connection_id":165992,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:36:17] local.INFO: Acknowledgment sent {"connection_id":165992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:36:36] local.INFO: TCP Data received {"connection_id":163379,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:36:36] local.INFO: Processing buffer {"connection_id":163379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:36:36] local.INFO: IMEI packet received {"connection_id":163379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 11:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":163379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:36:41] local.INFO: TCP Data received {"connection_id":163379,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:36:41] local.INFO: Processing buffer {"connection_id":163379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:36:41] local.INFO: IMEI packet received {"connection_id":163379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 11:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":163379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:36:42] local.INFO: TCP Data received {"connection_id":163379,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a046f69bd0012d34c14006aa4840001600e62b..."} 
[2026-08-28 11:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046f69bd0012d34c14006aa4840001600e62b..."} 
[2026-08-28 11:36:42] local.INFO: Processing buffer {"connection_id":163379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046f69bd0012d34c14006aa4840001600e62b..."} 
[2026-08-28 11:36:42] local.INFO: Packet analysis {"connection_id":163379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046f6"} 
[2026-08-28 11:36:42] local.INFO: Extracted packet for processing {"connection_id":163379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046f6"} 
[2026-08-28 11:36:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":22,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701545216001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:36:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 11:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:36:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:36:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 11:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787896962000,"timestamp_ms":1787896962000,"timestamp_seconds":1787896962,"priority":1,"record_length":96,"hex_timestamp":"000001a046f69bd0"} 
[2026-08-28 11: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-28 11:36:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 11:36: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-28 11: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-28 11: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-28 11:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:36: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-28 11:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701545216001,"66":25375,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-28 11:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701545216001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:36:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11: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-28 11:36:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701545216001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:36:42] 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":707239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:36:42] local.INFO: GPS data processed {"connection_id":163379,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:36:42] local.INFO: Acknowledgment sent {"connection_id":163379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:36:47] local.INFO: TCP Data received {"connection_id":163379,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a046f69bd0012d34c14006aa4840001600e62b..."} 
[2026-08-28 11:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046f69bd0012d34c14006aa4840001600e62b..."} 
[2026-08-28 11:36:47] local.INFO: Processing buffer {"connection_id":163379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046f69bd0012d34c14006aa4840001600e62b..."} 
[2026-08-28 11:36:47] local.INFO: Packet analysis {"connection_id":163379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046f6"} 
[2026-08-28 11:36:47] local.INFO: Extracted packet for processing {"connection_id":163379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046f6"} 
[2026-08-28 11:36:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":22,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:36:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701545216001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:36:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 11:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:36:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:36: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-28 11:36:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787896962000,"timestamp_ms":1787896962000,"timestamp_seconds":1787896962,"priority":1,"record_length":96,"hex_timestamp":"000001a046f69bd0"} 
[2026-08-28 11:36:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:36:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 11:36: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-28 11:36:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:36:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:36:47] 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-28 11:36:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:36:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:36:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701545216001,"66":25375,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-28 11:36:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:36:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:36:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701545216001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:36:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:36: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-28 11:36:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:36:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701545216001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:36:47] 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":707240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:36:47] local.INFO: GPS data processed {"connection_id":163379,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:36:47] local.INFO: Acknowledgment sent {"connection_id":163379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:36:55] local.INFO: TCP Data received {"connection_id":165992,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a046f816b8012d1ad4c007243b88003000e722..."} 
[2026-08-28 11:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046f816b8012d1ad4c007243b88003000e722..."} 
[2026-08-28 11:36:55] local.INFO: Processing buffer {"connection_id":165992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046f816b8012d1ad4c007243b88003000e722..."} 
[2026-08-28 11:36:55] local.INFO: Packet analysis {"connection_id":165992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046f8"} 
[2026-08-28 11:36:55] local.INFO: Extracted packet for processing {"connection_id":165992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046f8"} 
[2026-08-28 11:36:55] local.INFO: GPS Element Parsed {"raw_longitude":756733120,"raw_latitude":119815048,"longitude_deg":75.673312,"latitude_deg":11.9815048,"altitude":48,"angle":231,"satellites":34,"speed":32,"hex_longitude":"2d1ad4c0","hex_latitude":"07243b88","is_valid_coordinates":true} 
[2026-08-28 11:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:36:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701645824001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:36:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15852758649274368,"note":"Value kept but may cause issues"} 
[2026-08-28 11:36:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1936336764210128896,"note":"Value kept but may cause issues"} 
[2026-08-28 11:36:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:36:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787897059000,"timestamp_ms":1787897059000,"timestamp_seconds":1787897059,"priority":1,"record_length":96,"hex_timestamp":"000001a046f816b8"} 
[2026-08-28 11:36:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:36:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 11:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-28 11:36:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:36:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:36:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:36:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:36:55] local.INFO: Teltonika packet parsed successfully {"connection_id":165992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:36:55] local.INFO: Passing IMEI to GPS processor {"connection_id":165992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:36:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":165992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:36:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:36:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:36:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:36:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701645824001,"66":13917,"137":206,"83":42752,"24":32,"16":15852758649274368,"45":1936336764210128896},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-28 11:36:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:36:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:36:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701645824001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:36:55] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-28 11:36:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-28 11:36:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15852758649274368,"km_value":15852758649274.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:36:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1936336764210128896,"description":"Unknown IO ID 45"} 
[2026-08-28 11:36:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701645824001,"power":13917,"unknown_137":206,"unknown_83":42752,"ignition":32,"odometer":null,"unknown_45":1936336764210128896}} 
[2026-08-28 11:36:55] local.INFO: DEBUG: GPS processor result {"connection_id":165992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707241,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:36:55] local.INFO: GPS data processed {"connection_id":165992,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:36:55] local.INFO: Acknowledgment sent {"connection_id":165992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:37:16] local.INFO: TCP Data received {"connection_id":163380,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163380,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:37:16] local.INFO: Processing buffer {"connection_id":163380,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:37:16] local.INFO: IMEI packet received {"connection_id":163380,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 11:37:16] local.INFO: IMEI acknowledgment sent {"connection_id":163380,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:37:17] local.INFO: TCP Data received {"connection_id":163380,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163380,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:37:17] local.INFO: Processing buffer {"connection_id":163380,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:37:17] local.INFO: IMEI packet received {"connection_id":163380,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 11:37:17] local.INFO: IMEI acknowledgment sent {"connection_id":163380,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:37:21] local.INFO: TCP Data received {"connection_id":163380,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163380,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:37:21] local.INFO: Processing buffer {"connection_id":163380,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:37:21] local.INFO: IMEI packet received {"connection_id":163380,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 11:37:21] local.INFO: IMEI acknowledgment sent {"connection_id":163380,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:37:22] local.INFO: TCP Data received {"connection_id":163380,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a046f9bc98012d1a0dc00723a9f80032010229..."} 
[2026-08-28 11:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046f9bc98012d1a0dc00723a9f80032010229..."} 
[2026-08-28 11:37:22] local.INFO: Processing buffer {"connection_id":163380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046f9bc98012d1a0dc00723a9f80032010229..."} 
[2026-08-28 11:37:22] local.INFO: Packet analysis {"connection_id":163380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046f9"} 
[2026-08-28 11:37:22] local.INFO: Extracted packet for processing {"connection_id":163380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046f9"} 
[2026-08-28 11:37:22] local.INFO: GPS Element Parsed {"raw_longitude":756682176,"raw_latitude":119777784,"longitude_deg":75.6682176,"latitude_deg":11.9777784,"altitude":50,"angle":258,"satellites":41,"speed":36,"hex_longitude":"2d1a0dc0","hex_latitude":"0723a9f8","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11:37:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701673728001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:37:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15855863910629376,"note":"Value kept but may cause issues"} 
[2026-08-28 11:37:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1881238037509070848,"note":"Value kept but may cause issues"} 
[2026-08-28 11:37:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:37:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787897167000,"timestamp_ms":1787897167000,"timestamp_seconds":1787897167,"priority":1,"record_length":96,"hex_timestamp":"000001a046f9bc98"} 
[2026-08-28 11: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-28 11:37:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 11: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-28 11:37:22] 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-28 11: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-28 11: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-28 11:37:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:37:22] local.INFO: Teltonika packet parsed successfully {"connection_id":163380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:37:22] local.INFO: Passing IMEI to GPS processor {"connection_id":163380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:37:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":163380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:37:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:37:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:37:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:37:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701673728001,"66":14070,"42":206,"83":42752,"24":36,"16":15855863910629376,"45":1881238037509070848},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-08-28 11:37:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:37:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:37:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701673728001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:37:22] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-28 11:37:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-28 11:37:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15855863910629376,"km_value":15855863910629.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:37:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1881238037509070848,"description":"Unknown IO ID 45"} 
[2026-08-28 11:37:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701673728001,"power":14070,"unknown_42":206,"unknown_83":42752,"ignition":36,"odometer":null,"unknown_45":1881238037509070848}} 
[2026-08-28 11:37:22] 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":707242,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:37:22] local.INFO: GPS data processed {"connection_id":163380,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:37:22] local.INFO: Acknowledgment sent {"connection_id":163380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:37:31] local.INFO: TCP Data received {"connection_id":164648,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:37:31] local.INFO: Processing buffer {"connection_id":164648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:37:31] local.INFO: IMEI packet received {"connection_id":164648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 11:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":164648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:37:38] local.INFO: TCP Data received {"connection_id":164648,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:37:38] local.INFO: Processing buffer {"connection_id":164648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:37:38] local.INFO: IMEI packet received {"connection_id":164648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 11:37:38] local.INFO: IMEI acknowledgment sent {"connection_id":164648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:37:39] local.INFO: TCP Data received {"connection_id":164648,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a046f69bd0012d34c14006aa4840001600e62b..."} 
[2026-08-28 11:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046f69bd0012d34c14006aa4840001600e62b..."} 
[2026-08-28 11:37:39] local.INFO: Processing buffer {"connection_id":164648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046f69bd0012d34c14006aa4840001600e62b..."} 
[2026-08-28 11:37:39] local.INFO: Packet analysis {"connection_id":164648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046f6"} 
[2026-08-28 11:37:39] local.INFO: Extracted packet for processing {"connection_id":164648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046f6"} 
[2026-08-28 11:37:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":22,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:37:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701545216001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:37:39] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 11:37:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:37:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:37:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 11:37:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787896962000,"timestamp_ms":1787896962000,"timestamp_seconds":1787896962,"priority":1,"record_length":96,"hex_timestamp":"000001a046f69bd0"} 
[2026-08-28 11:37:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:37:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 11:37:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:37:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:37:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:37:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:37:39] local.INFO: Teltonika packet parsed successfully {"connection_id":164648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:37:39] local.INFO: Passing IMEI to GPS processor {"connection_id":164648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:37:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":164648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:37:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:37:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:37:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:37:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701545216001,"66":25375,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 11:37:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:37:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:37:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701545216001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:37:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:37:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:37:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:37:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701545216001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:37:39] local.INFO: DEBUG: GPS processor result {"connection_id":164648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:37:39] local.INFO: GPS data processed {"connection_id":164648,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:37:39] local.INFO: Acknowledgment sent {"connection_id":164648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:37:56] local.INFO: TCP Data received {"connection_id":163380,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a046f9e3a8012d19e8000723a5580034010623..."} 
[2026-08-28 11:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046f9e3a8012d19e8000723a5580034010623..."} 
[2026-08-28 11:37:56] local.INFO: Processing buffer {"connection_id":163380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046f9e3a8012d19e8000723a5580034010623..."} 
[2026-08-28 11:37:56] local.INFO: Packet analysis {"connection_id":163380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046f9"} 
[2026-08-28 11:37:56] local.INFO: Extracted packet for processing {"connection_id":163380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046f9"} 
[2026-08-28 11:37:56] local.INFO: GPS Element Parsed {"raw_longitude":756672512,"raw_latitude":119776600,"longitude_deg":75.6672512,"latitude_deg":11.97766,"altitude":52,"angle":262,"satellites":35,"speed":39,"hex_longitude":"2d19e800","hex_latitude":"0723a558","is_valid_coordinates":true} 
[2026-08-28 11:37:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:37:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701674752001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:37:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15856327767097344,"note":"Value kept but may cause issues"} 
[2026-08-28 11:37:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1877367756579010560,"note":"Value kept but may cause issues"} 
[2026-08-28 11:37:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:37:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787897177000,"timestamp_ms":1787897177000,"timestamp_seconds":1787897177,"priority":1,"record_length":96,"hex_timestamp":"000001a046f9e3a8"} 
[2026-08-28 11:37:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:37:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 11:37:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-28 11:37:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:37:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:37:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:37:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:37:56] local.INFO: Teltonika packet parsed successfully {"connection_id":163380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:37:56] local.INFO: Passing IMEI to GPS processor {"connection_id":163380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:37:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":163380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:37:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:37:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:37:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:37:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701674752001,"66":13993,"42":206,"83":42752,"24":39,"16":15856327767097344,"45":1877367756579010560},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-08-28 11:37:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:37:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:37:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701674752001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:37:56] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-28 11:37:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-28 11:37:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15856327767097344,"km_value":15856327767097.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:37:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1877367756579010560,"description":"Unknown IO ID 45"} 
[2026-08-28 11:37:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701674752001,"power":13993,"unknown_42":206,"unknown_83":42752,"ignition":39,"odometer":null,"unknown_45":1877367756579010560}} 
[2026-08-28 11:37:56] 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":707244,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:37:56] local.INFO: GPS data processed {"connection_id":163380,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:37:56] local.INFO: Acknowledgment sent {"connection_id":163380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:38:11] local.INFO: TCP Data received {"connection_id":164648,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a046f69bd0012d34c14006aa4840001600e62b..."} 
[2026-08-28 11:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046f69bd0012d34c14006aa4840001600e62b..."} 
[2026-08-28 11:38:11] local.INFO: Processing buffer {"connection_id":164648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046f69bd0012d34c14006aa4840001600e62b..."} 
[2026-08-28 11:38:11] local.INFO: Packet analysis {"connection_id":164648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046f6"} 
[2026-08-28 11:38:11] local.INFO: Extracted packet for processing {"connection_id":164648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046f6"} 
[2026-08-28 11:38:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":22,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701545216001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:38:11] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 11:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:38:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:38: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-28 11:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787896962000,"timestamp_ms":1787896962000,"timestamp_seconds":1787896962,"priority":1,"record_length":96,"hex_timestamp":"000001a046f69bd0"} 
[2026-08-28 11:38:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:38:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 11:38:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:38:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:38:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":164648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":164648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":164648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:38:11] 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-28 11:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701545216001,"66":25375,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 11:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701545216001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:38:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:38: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-28 11:38:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701545216001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":164648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:38:11] local.INFO: GPS data processed {"connection_id":164648,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:38:11] local.INFO: Acknowledgment sent {"connection_id":164648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:38:11] local.INFO: TCP Data received {"connection_id":165993,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165993,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:38:11] local.INFO: Processing buffer {"connection_id":165993,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:38:11] local.INFO: IMEI packet received {"connection_id":165993,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 11:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":165993,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:38:19] local.INFO: TCP Data received {"connection_id":165993,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165993,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:38:19] local.INFO: Processing buffer {"connection_id":165993,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:38:19] local.INFO: IMEI packet received {"connection_id":165993,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 11:38:19] local.INFO: IMEI acknowledgment sent {"connection_id":165993,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:38:41] local.INFO: TCP Data received {"connection_id":165993,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a046fa0ab8012d19c1400723a0880038010625..."} 
[2026-08-28 11:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046fa0ab8012d19c1400723a0880038010625..."} 
[2026-08-28 11:38:41] local.INFO: Processing buffer {"connection_id":165993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046fa0ab8012d19c1400723a0880038010625..."} 
[2026-08-28 11:38:41] local.INFO: Packet analysis {"connection_id":165993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046fa"} 
[2026-08-28 11:38:41] local.INFO: Extracted packet for processing {"connection_id":165993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046fa"} 
[2026-08-28 11:38:41] local.INFO: GPS Element Parsed {"raw_longitude":756662592,"raw_latitude":119775368,"longitude_deg":75.6662592,"latitude_deg":11.9775368,"altitude":56,"angle":262,"satellites":37,"speed":38,"hex_longitude":"2d19c140","hex_latitude":"0723a088","is_valid_coordinates":true} 
[2026-08-28 11:38: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-28 11:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701677312001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15856800213499904,"note":"Value kept but may cause issues"} 
[2026-08-28 11:38:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1866742076207880192,"note":"Value kept but may cause issues"} 
[2026-08-28 11:38:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787897187000,"timestamp_ms":1787897187000,"timestamp_seconds":1787897187,"priority":1,"record_length":96,"hex_timestamp":"000001a046fa0ab8"} 
[2026-08-28 11:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:38:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 11:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-28 11:38:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:38: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-28 11:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":165993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":165993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":165993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:38:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701677312001,"66":14004,"177":206,"83":42752,"24":38,"16":15856800213499904,"45":1866742076207880192},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-08-28 11:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701677312001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:38:41] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-28 11:38:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-28 11:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15856800213499904,"km_value":15856800213499.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:38:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1866742076207880192,"description":"Unknown IO ID 45"} 
[2026-08-28 11:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701677312001,"power":14004,"unknown_177":206,"unknown_83":42752,"ignition":38,"odometer":null,"unknown_45":1866742076207880192}} 
[2026-08-28 11:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":165993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707246,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:38:41] local.INFO: GPS data processed {"connection_id":165993,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:38:41] local.INFO: Acknowledgment sent {"connection_id":165993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:38:42] local.INFO: TCP Data received {"connection_id":165993,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a046fb7600012d18c480072302d80062010528..."} 
[2026-08-28 11:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046fb7600012d18c480072302d80062010528..."} 
[2026-08-28 11:38:42] local.INFO: Processing buffer {"connection_id":165993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046fb7600012d18c480072302d80062010528..."} 
[2026-08-28 11:38:42] local.INFO: Packet analysis {"connection_id":165993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046fb"} 
[2026-08-28 11:38:42] local.INFO: Extracted packet for processing {"connection_id":165993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046fb"} 
[2026-08-28 11:38:42] local.INFO: GPS Element Parsed {"raw_longitude":756597888,"raw_latitude":119735000,"longitude_deg":75.6597888,"latitude_deg":11.9735,"altitude":98,"angle":261,"satellites":40,"speed":34,"hex_longitude":"2d18c480","hex_latitude":"072302d8","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701703168001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15860867547529216,"note":"Value kept but may cause issues"} 
[2026-08-28 11:38:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786732814067236864,"note":"Value kept but may cause issues"} 
[2026-08-28 11:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787897280000,"timestamp_ms":1787897280000,"timestamp_seconds":1787897280,"priority":1,"record_length":96,"hex_timestamp":"000001a046fb7600"} 
[2026-08-28 11: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-28 11:38:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 11: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-28 11:38:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11: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-28 11: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-28 11:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701703168001,"66":12287,"105":206,"83":41984,"24":34,"16":15860867547529216,"45":1786732814067236864},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 11:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701703168001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:38:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 11:38:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 11:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15860867547529216,"km_value":15860867547529.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:38:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786732814067236864,"description":"Unknown IO ID 45"} 
[2026-08-28 11:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701703168001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1786732814067236864}} 
[2026-08-28 11:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":165993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707247,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:38:42] local.INFO: GPS data processed {"connection_id":165993,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:38:42] local.INFO: Acknowledgment sent {"connection_id":165993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:38:46] local.INFO: TCP Data received {"connection_id":163648,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:38:46] local.INFO: Processing buffer {"connection_id":163648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:38:46] local.INFO: IMEI packet received {"connection_id":163648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 11:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":163648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:38:46] local.INFO: TCP Data received {"connection_id":163648,"ip":"42.106.6.16","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-28 11:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163648,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-28 11:38:46] local.INFO: Processing buffer {"connection_id":163648,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-28 11:38:46] local.INFO: IMEI packet received {"connection_id":163648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 11:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":163648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:38:51] local.INFO: TCP Data received {"connection_id":163648,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:38:51] local.INFO: Processing buffer {"connection_id":163648,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-28 11:38:51] local.INFO: IMEI packet received {"connection_id":163648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 11:38:51] local.INFO: IMEI acknowledgment sent {"connection_id":163648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:39:13] local.INFO: TCP Data received {"connection_id":163649,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163649,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:39:13] local.INFO: Processing buffer {"connection_id":163649,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:39:13] local.INFO: IMEI packet received {"connection_id":163649,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 11:39:13] local.INFO: IMEI acknowledgment sent {"connection_id":163649,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:39:14] local.INFO: TCP Data received {"connection_id":163649,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163649,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:39:14] local.INFO: Processing buffer {"connection_id":163649,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:39:14] local.INFO: IMEI packet received {"connection_id":163649,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 11:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":163649,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:39:15] local.INFO: TCP Data received {"connection_id":163649,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163649,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:39:15] local.INFO: Processing buffer {"connection_id":163649,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:39:15] local.INFO: IMEI packet received {"connection_id":163649,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 11:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":163649,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:39:16] local.INFO: TCP Data received {"connection_id":163649,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163649,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:39:16] local.INFO: Processing buffer {"connection_id":163649,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:39:16] local.INFO: IMEI packet received {"connection_id":163649,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 11:39:16] local.INFO: IMEI acknowledgment sent {"connection_id":163649,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:44:18] local.INFO: TCP Data received {"connection_id":164650,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164650,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:44:18] local.INFO: Processing buffer {"connection_id":164650,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:44:18] local.INFO: IMEI packet received {"connection_id":164650,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 11:44:18] local.INFO: IMEI acknowledgment sent {"connection_id":164650,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:44:19] local.INFO: TCP Data received {"connection_id":164650,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0470063b8012d18aec007216ff8004d008626..."} 
[2026-08-28 11:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0470063b8012d18aec007216ff8004d008626..."} 
[2026-08-28 11:44:19] local.INFO: Processing buffer {"connection_id":164650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0470063b8012d18aec007216ff8004d008626..."} 
[2026-08-28 11:44:19] local.INFO: Packet analysis {"connection_id":164650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04700"} 
[2026-08-28 11:44:19] local.INFO: Extracted packet for processing {"connection_id":164650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04700"} 
[2026-08-28 11:44:19] local.INFO: GPS Element Parsed {"raw_longitude":756592320,"raw_latitude":119631864,"longitude_deg":75.659232,"latitude_deg":11.9631864,"altitude":77,"angle":134,"satellites":38,"speed":27,"hex_longitude":"2d18aec0","hex_latitude":"07216ff8","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11:44:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701783552001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:44:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15868126042259456,"note":"Value kept but may cause issues"} 
[2026-08-28 11:44:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1770055421671579648,"note":"Value kept but may cause issues"} 
[2026-08-28 11:44:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:44:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787897603000,"timestamp_ms":1787897603000,"timestamp_seconds":1787897603,"priority":1,"record_length":96,"hex_timestamp":"000001a0470063b8"} 
[2026-08-28 11: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-28 11:44:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 11: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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-28 11:44:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11: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-28 11: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-28 11:44:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:44:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:44:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:44:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:44:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:44:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:44:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:44:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701783552001,"66":14461,"106":206,"83":41984,"24":27,"16":15868126042259456,"45":1770055421671579648},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-28 11:44:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:44:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:44:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701783552001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:44:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 11:44:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 11:44:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15868126042259456,"km_value":15868126042259.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:44:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1770055421671579648,"description":"Unknown IO ID 45"} 
[2026-08-28 11:44:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701783552001,"power":14461,"unknown_106":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1770055421671579648}} 
[2026-08-28 11:44:19] local.INFO: DEBUG: GPS processor result {"connection_id":164650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707248,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:44:19] local.INFO: GPS data processed {"connection_id":164650,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:44:19] local.INFO: Acknowledgment sent {"connection_id":164650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:44:41] local.INFO: TCP Data received {"connection_id":163655,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:44:41] local.INFO: Processing buffer {"connection_id":163655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:44:41] local.INFO: IMEI packet received {"connection_id":163655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 11:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":163655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:44:46] local.INFO: TCP Data received {"connection_id":163655,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:44:46] local.INFO: Processing buffer {"connection_id":163655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:44:46] local.INFO: IMEI packet received {"connection_id":163655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 11:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":163655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:44:48] local.INFO: TCP Data received {"connection_id":163655,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a046fb3398012d34c14006aa4840001400e62b..."} 
[2026-08-28 11:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046fb3398012d34c14006aa4840001400e62b..."} 
[2026-08-28 11:44:48] local.INFO: Processing buffer {"connection_id":163655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046fb3398012d34c14006aa4840001400e62b..."} 
[2026-08-28 11:44:48] local.INFO: Packet analysis {"connection_id":163655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046fb"} 
[2026-08-28 11:44:48] local.INFO: Extracted packet for processing {"connection_id":163655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046fb"} 
[2026-08-28 11:44:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":20,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11:44:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701622272001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:44:48] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 11:44:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:44:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:44: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-28 11:44:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787897263000,"timestamp_ms":1787897263000,"timestamp_seconds":1787897263,"priority":1,"record_length":96,"hex_timestamp":"000001a046fb3398"} 
[2026-08-28 11: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-28 11:44:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11: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":31,"data_length":795,"current_offset":136} 
[2026-08-28 11:44: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-28 11: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-28 11: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-28 11:44:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:44:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:44:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:44:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:44: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-28 11:44:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:44:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:44:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701622272001,"66":25321,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-28 11:44:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:44:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:44:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701622272001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:44:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11: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-28 11:44:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:44:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701622272001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:44: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":707249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:44:48] local.INFO: GPS data processed {"connection_id":163655,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:44:48] local.INFO: Acknowledgment sent {"connection_id":163655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:44:50] local.INFO: TCP Data received {"connection_id":164650,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047006f70012d18b4c0072167b0004c009227..."} 
[2026-08-28 11:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047006f70012d18b4c0072167b0004c009227..."} 
[2026-08-28 11:44:50] local.INFO: Processing buffer {"connection_id":164650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047006f70012d18b4c0072167b0004c009227..."} 
[2026-08-28 11:44:50] local.INFO: Packet analysis {"connection_id":164650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04700"} 
[2026-08-28 11:44:50] local.INFO: Extracted packet for processing {"connection_id":164650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04700"} 
[2026-08-28 11:44:50] local.INFO: GPS Element Parsed {"raw_longitude":756593856,"raw_latitude":119629744,"longitude_deg":75.6593856,"latitude_deg":11.9629744,"altitude":76,"angle":146,"satellites":39,"speed":39,"hex_longitude":"2d18b4c0","hex_latitude":"072167b0","is_valid_coordinates":true} 
[2026-08-28 11:44:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:44:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701786368001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:44:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15868254891278336,"note":"Value kept but may cause issues"} 
[2026-08-28 11:44:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778570039716214784,"note":"Value kept but may cause issues"} 
[2026-08-28 11:44:50] 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-28 11:44:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787897606000,"timestamp_ms":1787897606000,"timestamp_seconds":1787897606,"priority":1,"record_length":96,"hex_timestamp":"000001a047006f70"} 
[2026-08-28 11:44:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:44:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 11:44:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-28 11:44:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:44:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:44:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:44:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:44:50] local.INFO: Teltonika packet parsed successfully {"connection_id":164650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:44:50] local.INFO: Passing IMEI to GPS processor {"connection_id":164650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:44:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":164650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:44:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:44:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:44:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:44:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701786368001,"66":14461,"106":206,"83":41984,"24":39,"16":15868254891278336,"45":1778570039716214784},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-28 11:44:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:44:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:44:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701786368001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:44:50] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 11:44:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 11:44:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15868254891278336,"km_value":15868254891278.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:44:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778570039716214784,"description":"Unknown IO ID 45"} 
[2026-08-28 11:44:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701786368001,"power":14461,"unknown_106":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1778570039716214784}} 
[2026-08-28 11:44:51] local.INFO: DEBUG: GPS processor result {"connection_id":164650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707250,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:44:51] local.INFO: GPS data processed {"connection_id":164650,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:44:51] local.INFO: Acknowledgment sent {"connection_id":164650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:45:11] local.INFO: TCP Data received {"connection_id":165996,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165996,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:45:11] local.INFO: Processing buffer {"connection_id":165996,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:45:11] local.INFO: IMEI packet received {"connection_id":165996,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 11:45:11] local.INFO: IMEI acknowledgment sent {"connection_id":165996,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:45:15] local.INFO: TCP Data received {"connection_id":165996,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165996,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:45:15] local.INFO: Processing buffer {"connection_id":165996,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:45:15] local.INFO: IMEI packet received {"connection_id":165996,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 11:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":165996,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:45:16] local.INFO: TCP Data received {"connection_id":165996,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165996,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:45:16] local.INFO: Processing buffer {"connection_id":165996,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:45:16] local.INFO: IMEI packet received {"connection_id":165996,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 11:45:16] local.INFO: IMEI acknowledgment sent {"connection_id":165996,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:45:17] local.INFO: TCP Data received {"connection_id":165996,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047011380012d18fa400720d408003c008325..."} 
[2026-08-28 11:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047011380012d18fa400720d408003c008325..."} 
[2026-08-28 11:45:17] local.INFO: Processing buffer {"connection_id":165996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047011380012d18fa400720d408003c008325..."} 
[2026-08-28 11:45:17] local.INFO: Packet analysis {"connection_id":165996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04701"} 
[2026-08-28 11:45:17] local.INFO: Extracted packet for processing {"connection_id":165996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04701"} 
[2026-08-28 11:45:17] local.INFO: GPS Element Parsed {"raw_longitude":756611648,"raw_latitude":119591944,"longitude_deg":75.6611648,"latitude_deg":11.9591944,"altitude":60,"angle":131,"satellites":37,"speed":41,"hex_longitude":"2d18fa40","hex_latitude":"0720d408","is_valid_coordinates":true} 
[2026-08-28 11:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701795840001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:45:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15870333655449600,"note":"Value kept but may cause issues"} 
[2026-08-28 11:45:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1794332638403540992,"note":"Value kept but may cause issues"} 
[2026-08-28 11:45:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:45:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787897648000,"timestamp_ms":1787897648000,"timestamp_seconds":1787897648,"priority":1,"record_length":96,"hex_timestamp":"000001a047011380"} 
[2026-08-28 11:45:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:45:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 11:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-28 11:45:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:45:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:45:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:45:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:45:17] local.INFO: Teltonika packet parsed successfully {"connection_id":165996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:45:17] local.INFO: Passing IMEI to GPS processor {"connection_id":165996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:45:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":165996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:45:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:45:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:45:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:45:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701795840001,"66":14407,"103":206,"83":41984,"24":41,"16":15870333655449600,"45":1794332638403540992},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 11:45:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:45:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:45:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701795840001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:45:17] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 11:45:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 11:45:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15870333655449600,"km_value":15870333655449.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:45:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1794332638403540992,"description":"Unknown IO ID 45"} 
[2026-08-28 11:45:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701795840001,"power":14407,"unknown_103":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1794332638403540992}} 
[2026-08-28 11:45:17] local.INFO: DEBUG: GPS processor result {"connection_id":165996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707251,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:45:17] local.INFO: GPS data processed {"connection_id":165996,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:45:17] local.INFO: Acknowledgment sent {"connection_id":165996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:45:22] local.INFO: TCP Data received {"connection_id":165996,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047012708012d190cc00720c8600038007725..."} 
[2026-08-28 11:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047012708012d190cc00720c8600038007725..."} 
[2026-08-28 11:45:22] local.INFO: Processing buffer {"connection_id":165996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047012708012d190cc00720c8600038007725..."} 
[2026-08-28 11:45:22] local.INFO: Packet analysis {"connection_id":165996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04701"} 
[2026-08-28 11:45:22] local.INFO: Extracted packet for processing {"connection_id":165996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04701"} 
[2026-08-28 11:45:22] local.INFO: GPS Element Parsed {"raw_longitude":756616384,"raw_latitude":119588960,"longitude_deg":75.6616384,"latitude_deg":11.958896,"altitude":56,"angle":119,"satellites":37,"speed":46,"hex_longitude":"2d190cc0","hex_latitude":"0720c860","is_valid_coordinates":true} 
[2026-08-28 11:45:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:45:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701797888001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:45:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15870604238389248,"note":"Value kept but may cause issues"} 
[2026-08-28 11:45:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1799821400447649792,"note":"Value kept but may cause issues"} 
[2026-08-28 11:45:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:45:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787897653000,"timestamp_ms":1787897653000,"timestamp_seconds":1787897653,"priority":1,"record_length":96,"hex_timestamp":"000001a047012708"} 
[2026-08-28 11:45:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:45:22] 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-28 11:45:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-28 11:45:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:45:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:45:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:45:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:45:22] local.INFO: Teltonika packet parsed successfully {"connection_id":165996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:45:22] local.INFO: Passing IMEI to GPS processor {"connection_id":165996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:45:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":165996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:45:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:45:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:45:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:45:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701797888001,"66":14396,"103":206,"83":41984,"24":46,"16":15870604238389248,"45":1799821400447649792},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 11:45:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:45:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:45:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701797888001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:45:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 11:45:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 11:45:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15870604238389248,"km_value":15870604238389.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:45:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1799821400447649792,"description":"Unknown IO ID 45"} 
[2026-08-28 11:45:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701797888001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":46,"odometer":null,"unknown_45":1799821400447649792}} 
[2026-08-28 11:45:22] local.INFO: DEBUG: GPS processor result {"connection_id":165996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707252,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:45:22] local.INFO: GPS data processed {"connection_id":165996,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:45:22] local.INFO: Acknowledgment sent {"connection_id":165996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:45:53] local.INFO: TCP Data received {"connection_id":165996,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04701ea58012d19b98007209f48003200d726..."} 
[2026-08-28 11:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04701ea58012d19b98007209f48003200d726..."} 
[2026-08-28 11:45:53] local.INFO: Processing buffer {"connection_id":165996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04701ea58012d19b98007209f48003200d726..."} 
[2026-08-28 11:45:53] local.INFO: Packet analysis {"connection_id":165996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04701"} 
[2026-08-28 11:45:53] local.INFO: Extracted packet for processing {"connection_id":165996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04701"} 
[2026-08-28 11:45:53] local.INFO: GPS Element Parsed {"raw_longitude":756660608,"raw_latitude":119578440,"longitude_deg":75.6660608,"latitude_deg":11.957844,"altitude":50,"angle":215,"satellites":38,"speed":28,"hex_longitude":"2d19b980","hex_latitude":"07209f48","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11:45:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701811712001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:45:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15872983650271232,"note":"Value kept but may cause issues"} 
[2026-08-28 11:45:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854216439693680640,"note":"Value kept but may cause issues"} 
[2026-08-28 11:45:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:45:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787897703000,"timestamp_ms":1787897703000,"timestamp_seconds":1787897703,"priority":1,"record_length":96,"hex_timestamp":"000001a04701ea58"} 
[2026-08-28 11: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-28 11:45:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 11: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-28 11:45:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11: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-28 11: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-28 11:45:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:45:53] local.INFO: Teltonika packet parsed successfully {"connection_id":165996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:45:53] local.INFO: Passing IMEI to GPS processor {"connection_id":165996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:45:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":165996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:45:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:45:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:45:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:45:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701811712001,"66":14396,"103":206,"83":41984,"24":28,"16":15872983650271232,"45":1854216439693680640},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 11:45:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:45:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:45:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701811712001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:45:53] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 11:45:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 11:45:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15872983650271232,"km_value":15872983650271.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:45:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854216439693680640,"description":"Unknown IO ID 45"} 
[2026-08-28 11:45:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701811712001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1854216439693680640}} 
[2026-08-28 11:45:53] local.INFO: DEBUG: GPS processor result {"connection_id":165996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707253,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:45:53] local.INFO: GPS data processed {"connection_id":165996,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:45:53] local.INFO: Acknowledgment sent {"connection_id":165996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:46:06] local.INFO: TCP Data received {"connection_id":163656,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:46:06] local.INFO: Processing buffer {"connection_id":163656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:46:06] local.INFO: IMEI packet received {"connection_id":163656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 11:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":163656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:46:11] local.INFO: TCP Data received {"connection_id":164651,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164651,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:46:11] local.INFO: Processing buffer {"connection_id":164651,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:46:11] local.INFO: IMEI packet received {"connection_id":164651,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 11:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":164651,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:46:11] local.INFO: TCP Data received {"connection_id":163656,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:46:11] local.INFO: Processing buffer {"connection_id":163656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:46:11] local.INFO: IMEI packet received {"connection_id":163656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 11:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":163656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:46:12] local.INFO: TCP Data received {"connection_id":163656,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a046ffcb60012d34c14006aa4840001200e62c..."} 
[2026-08-28 11:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046ffcb60012d34c14006aa4840001200e62c..."} 
[2026-08-28 11:46:12] local.INFO: Processing buffer {"connection_id":163656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046ffcb60012d34c14006aa4840001200e62c..."} 
[2026-08-28 11:46:12] local.INFO: Packet analysis {"connection_id":163656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046ff"} 
[2026-08-28 11:46:12] local.INFO: Extracted packet for processing {"connection_id":163656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046ff"} 
[2026-08-28 11:46:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:46:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701699328001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:46:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:46:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:46: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-28 11:46:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787897564000,"timestamp_ms":1787897564000,"timestamp_seconds":1787897564,"priority":1,"record_length":96,"hex_timestamp":"000001a046ffcb60"} 
[2026-08-28 11:46:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:46:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 11:46: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-28 11:46:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:46:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:46:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:46:12] local.INFO: Teltonika packet parsed successfully {"connection_id":163656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:46:12] local.INFO: Passing IMEI to GPS processor {"connection_id":163656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:46:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":163656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:46: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-28 11:46:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:46:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:46:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701699328001,"66":25321,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 11:46:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:46:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:46:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701699328001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:46:12] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 11:46:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:46: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-28 11:46:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:46:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701699328001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:46:12] local.INFO: DEBUG: GPS processor result {"connection_id":163656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:46:12] local.INFO: GPS data processed {"connection_id":163656,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:46:12] local.INFO: Acknowledgment sent {"connection_id":163656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:46:12] local.INFO: TCP Data received {"connection_id":164651,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164651,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:46:12] local.INFO: Processing buffer {"connection_id":164651,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:46:12] local.INFO: IMEI packet received {"connection_id":164651,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 11:46:12] local.INFO: IMEI acknowledgment sent {"connection_id":164651,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:46:16] local.INFO: TCP Data received {"connection_id":164651,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164651,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:46:16] local.INFO: Processing buffer {"connection_id":164651,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:46:16] local.INFO: IMEI packet received {"connection_id":164651,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 11:46:16] local.INFO: IMEI acknowledgment sent {"connection_id":164651,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:46:17] local.INFO: TCP Data received {"connection_id":164651,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0470201c8012d19ad8007208ed0003000c525..."} 
[2026-08-28 11:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0470201c8012d19ad8007208ed0003000c525..."} 
[2026-08-28 11:46:17] local.INFO: Processing buffer {"connection_id":164651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0470201c8012d19ad8007208ed0003000c525..."} 
[2026-08-28 11:46:17] local.INFO: Packet analysis {"connection_id":164651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04702"} 
[2026-08-28 11:46:17] local.INFO: Extracted packet for processing {"connection_id":164651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04702"} 
[2026-08-28 11:46:17] local.INFO: GPS Element Parsed {"raw_longitude":756657536,"raw_latitude":119574224,"longitude_deg":75.6657536,"latitude_deg":11.9574224,"altitude":48,"angle":197,"satellites":37,"speed":33,"hex_longitude":"2d19ad80","hex_latitude":"07208ed0","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11:46:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701811968001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:46:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15873232758374400,"note":"Value kept but may cause issues"} 
[2026-08-28 11:46:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853653489740105728,"note":"Value kept but may cause issues"} 
[2026-08-28 11:46:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:46:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787897709000,"timestamp_ms":1787897709000,"timestamp_seconds":1787897709,"priority":1,"record_length":96,"hex_timestamp":"000001a0470201c8"} 
[2026-08-28 11: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-28 11:46:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 11: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-28 11:46:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11: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-28 11: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-28 11:46:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:46:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:46:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:46:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:46:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:46:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:46:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:46:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701811968001,"66":14428,"103":206,"83":41984,"24":33,"16":15873232758374400,"45":1853653489740105728},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 11:46:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:46:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:46:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701811968001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:46:17] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 11:46:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 11:46:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15873232758374400,"km_value":15873232758374.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:46:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853653489740105728,"description":"Unknown IO ID 45"} 
[2026-08-28 11:46:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701811968001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1853653489740105728}} 
[2026-08-28 11:46:17] local.INFO: DEBUG: GPS processor result {"connection_id":164651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707255,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:46:17] local.INFO: GPS data processed {"connection_id":164651,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:46:17] local.INFO: Acknowledgment sent {"connection_id":164651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:46:41] local.INFO: TCP Data received {"connection_id":163382,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:46:41] local.INFO: Processing buffer {"connection_id":163382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:46:41] local.INFO: IMEI packet received {"connection_id":163382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 11:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":163382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:46:46] local.INFO: TCP Data received {"connection_id":163382,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:46:46] local.INFO: Processing buffer {"connection_id":163382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:46:46] local.INFO: IMEI packet received {"connection_id":163382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 11:46:46] local.INFO: IMEI acknowledgment sent {"connection_id":163382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:46:47] local.INFO: TCP Data received {"connection_id":163382,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a046ffcb60012d34c14006aa4840001200e62c..."} 
[2026-08-28 11:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046ffcb60012d34c14006aa4840001200e62c..."} 
[2026-08-28 11:46:47] local.INFO: Processing buffer {"connection_id":163382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046ffcb60012d34c14006aa4840001200e62c..."} 
[2026-08-28 11:46:47] local.INFO: Packet analysis {"connection_id":163382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046ff"} 
[2026-08-28 11:46:47] local.INFO: Extracted packet for processing {"connection_id":163382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046ff"} 
[2026-08-28 11:46:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11:46:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701699328001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:46:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:46:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:46: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-28 11:46:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787897564000,"timestamp_ms":1787897564000,"timestamp_seconds":1787897564,"priority":1,"record_length":96,"hex_timestamp":"000001a046ffcb60"} 
[2026-08-28 11: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-28 11:46:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11: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-28 11: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-28 11: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-28 11:46:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:46:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:46:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:46:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:46:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:46:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:46:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:46:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701699328001,"66":25321,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-28 11:46:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:46:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:46:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701699328001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:46:47] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 11:46:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11: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-28 11:46:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:46:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701699328001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:46:47] local.INFO: DEBUG: GPS processor result {"connection_id":163382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:46:47] local.INFO: GPS data processed {"connection_id":163382,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:46:47] local.INFO: Acknowledgment sent {"connection_id":163382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:46:48] local.INFO: TCP Data received {"connection_id":164651,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04702c518012d19ef80071ffab0002b006a25..."} 
[2026-08-28 11:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04702c518012d19ef80071ffab0002b006a25..."} 
[2026-08-28 11:46:48] local.INFO: Processing buffer {"connection_id":164651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04702c518012d19ef80071ffab0002b006a25..."} 
[2026-08-28 11:46:48] local.INFO: Packet analysis {"connection_id":164651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04702"} 
[2026-08-28 11:46:48] local.INFO: Extracted packet for processing {"connection_id":164651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04702"} 
[2026-08-28 11:46:48] local.INFO: GPS Element Parsed {"raw_longitude":756674432,"raw_latitude":119536304,"longitude_deg":75.6674432,"latitude_deg":11.9536304,"altitude":43,"angle":106,"satellites":37,"speed":22,"hex_longitude":"2d19ef80","hex_latitude":"071ffab0","is_valid_coordinates":true} 
[2026-08-28 11:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:46:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701826048001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:46:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15875345882284032,"note":"Value kept but may cause issues"} 
[2026-08-28 11:46:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1868149451029942272,"note":"Value kept but may cause issues"} 
[2026-08-28 11:46:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:46:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787897759000,"timestamp_ms":1787897759000,"timestamp_seconds":1787897759,"priority":1,"record_length":96,"hex_timestamp":"000001a04702c518"} 
[2026-08-28 11:46:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:46:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 11:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-28 11:46:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:46:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:46:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:46:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:46:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:46:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:46:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:46:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:46:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:46:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:46:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701826048001,"66":13993,"103":206,"83":41984,"24":22,"16":15875345882284032,"45":1868149451029942272},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 11:46:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:46:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:46:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701826048001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:46:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 11:46:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 11:46:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15875345882284032,"km_value":15875345882284.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:46:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1868149451029942272,"description":"Unknown IO ID 45"} 
[2026-08-28 11:46:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701826048001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1868149451029942272}} 
[2026-08-28 11:46:48] local.INFO: DEBUG: GPS processor result {"connection_id":164651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707257,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:46:48] local.INFO: GPS data processed {"connection_id":164651,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:46:48] local.INFO: Acknowledgment sent {"connection_id":164651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:47:16] local.INFO: TCP Data received {"connection_id":165997,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165997,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:47:16] local.INFO: Processing buffer {"connection_id":165997,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:47:16] local.INFO: IMEI packet received {"connection_id":165997,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 11:47:16] local.INFO: IMEI acknowledgment sent {"connection_id":165997,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:47:22] local.INFO: TCP Data received {"connection_id":165997,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165997,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:47:22] local.INFO: Processing buffer {"connection_id":165997,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:47:22] local.INFO: IMEI packet received {"connection_id":165997,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 11:47:22] local.INFO: IMEI acknowledgment sent {"connection_id":165997,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:47:23] local.INFO: TCP Data received {"connection_id":165997,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04702c900012d19f240071ffb10002b005825..."} 
[2026-08-28 11:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04702c900012d19f240071ffb10002b005825..."} 
[2026-08-28 11:47:23] local.INFO: Processing buffer {"connection_id":165997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04702c900012d19f240071ffb10002b005825..."} 
[2026-08-28 11:47:23] local.INFO: Packet analysis {"connection_id":165997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04702"} 
[2026-08-28 11:47:23] local.INFO: Extracted packet for processing {"connection_id":165997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04702"} 
[2026-08-28 11:47:23] local.INFO: GPS Element Parsed {"raw_longitude":756675136,"raw_latitude":119536400,"longitude_deg":75.6675136,"latitude_deg":11.95364,"altitude":43,"angle":88,"satellites":37,"speed":25,"hex_longitude":"2d19f240","hex_latitude":"071ffb10","is_valid_coordinates":true} 
[2026-08-28 11:47: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-28 11:47:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701826304001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:47:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15875375947055104,"note":"Value kept but may cause issues"} 
[2026-08-28 11:47:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1868853138471694336,"note":"Value kept but may cause issues"} 
[2026-08-28 11:47: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-28 11:47:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787897760000,"timestamp_ms":1787897760000,"timestamp_seconds":1787897760,"priority":1,"record_length":96,"hex_timestamp":"000001a04702c900"} 
[2026-08-28 11:47:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:47:23] 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-28 11:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-28 11:47:23] 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-28 11:47: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-28 11:47:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:47:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:47:23] local.INFO: Teltonika packet parsed successfully {"connection_id":165997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:47:23] local.INFO: Passing IMEI to GPS processor {"connection_id":165997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:47:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":165997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:47:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:47:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:47:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:47:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701826304001,"66":13374,"103":206,"83":41984,"24":25,"16":15875375947055104,"45":1868853138471694336},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 11:47:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:47:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:47:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701826304001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:47:23] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 11:47:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 11:47:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15875375947055104,"km_value":15875375947055.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:47:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1868853138471694336,"description":"Unknown IO ID 45"} 
[2026-08-28 11:47:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701826304001,"power":13374,"unknown_103":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1868853138471694336}} 
[2026-08-28 11:47:23] local.INFO: DEBUG: GPS processor result {"connection_id":165997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707258,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:47:23] local.INFO: GPS data processed {"connection_id":165997,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:47:23] local.INFO: Acknowledgment sent {"connection_id":165997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:47:26] local.INFO: TCP Data received {"connection_id":165997,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04702d8a0012d19ff40071ffb08002b006927..."} 
[2026-08-28 11:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04702d8a0012d19ff40071ffb08002b006927..."} 
[2026-08-28 11:47:26] local.INFO: Processing buffer {"connection_id":165997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04702d8a0012d19ff40071ffb08002b006927..."} 
[2026-08-28 11:47:26] local.INFO: Packet analysis {"connection_id":165997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04702"} 
[2026-08-28 11:47:26] local.INFO: Extracted packet for processing {"connection_id":165997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04702"} 
[2026-08-28 11:47:26] local.INFO: GPS Element Parsed {"raw_longitude":756678464,"raw_latitude":119536392,"longitude_deg":75.6678464,"latitude_deg":11.9536392,"altitude":43,"angle":105,"satellites":39,"speed":34,"hex_longitude":"2d19ff40","hex_latitude":"071ffb08","is_valid_coordinates":true} 
[2026-08-28 11:47:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:47:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701826560001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:47:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15875539155812352,"note":"Value kept but may cause issues"} 
[2026-08-28 11:47:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1869627194657673216,"note":"Value kept but may cause issues"} 
[2026-08-28 11:47:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:47:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787897764000,"timestamp_ms":1787897764000,"timestamp_seconds":1787897764,"priority":1,"record_length":96,"hex_timestamp":"000001a04702d8a0"} 
[2026-08-28 11:47:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:47:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 11:47:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-28 11:47:26] 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-28 11:47:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:47:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:47:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:47:26] local.INFO: Teltonika packet parsed successfully {"connection_id":165997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:47:26] local.INFO: Passing IMEI to GPS processor {"connection_id":165997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:47:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":165997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:47:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:47:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:47:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:47:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701826560001,"66":13124,"103":206,"83":41984,"24":34,"16":15875539155812352,"45":1869627194657673216},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 11:47:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:47:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:47:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701826560001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:47:26] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 11:47:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 11:47:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15875539155812352,"km_value":15875539155812.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:47:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1869627194657673216,"description":"Unknown IO ID 45"} 
[2026-08-28 11:47:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701826560001,"power":13124,"unknown_103":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1869627194657673216}} 
[2026-08-28 11:47:27] local.INFO: DEBUG: GPS processor result {"connection_id":165997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707259,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:47:27] local.INFO: GPS data processed {"connection_id":165997,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:47:27] local.INFO: Acknowledgment sent {"connection_id":165997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:47:31] local.INFO: TCP Data received {"connection_id":163657,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:47:31] local.INFO: Processing buffer {"connection_id":163657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:47:31] local.INFO: IMEI packet received {"connection_id":163657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 11:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":163657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:47:36] local.INFO: TCP Data received {"connection_id":163657,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:47:36] local.INFO: Processing buffer {"connection_id":163657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:47:36] local.INFO: IMEI packet received {"connection_id":163657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 11:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":163657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:47:36] local.INFO: TCP Data received {"connection_id":163657,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a046ffcb60012d34c14006aa4840001200e62c..."} 
[2026-08-28 11:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046ffcb60012d34c14006aa4840001200e62c..."} 
[2026-08-28 11:47:36] local.INFO: Processing buffer {"connection_id":163657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046ffcb60012d34c14006aa4840001200e62c..."} 
[2026-08-28 11:47:36] local.INFO: Packet analysis {"connection_id":163657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046ff"} 
[2026-08-28 11:47:36] local.INFO: Extracted packet for processing {"connection_id":163657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046ff"} 
[2026-08-28 11:47:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701699328001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:47:36] 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-28 11:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787897564000,"timestamp_ms":1787897564000,"timestamp_seconds":1787897564,"priority":1,"record_length":96,"hex_timestamp":"000001a046ffcb60"} 
[2026-08-28 11:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:47:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 11:47:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:47:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:47:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701699328001,"66":25321,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 11:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701699328001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:47:36] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 11:47:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701699328001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:47:36] 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":707260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:47:36] local.INFO: GPS data processed {"connection_id":163657,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:47:36] local.INFO: Acknowledgment sent {"connection_id":163657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:48:08] local.INFO: TCP Data received {"connection_id":163657,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a046ffcb60012d34c14006aa4840001200e62c..."} 
[2026-08-28 11:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a046ffcb60012d34c14006aa4840001200e62c..."} 
[2026-08-28 11:48:08] local.INFO: Processing buffer {"connection_id":163657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a046ffcb60012d34c14006aa4840001200e62c..."} 
[2026-08-28 11:48:08] local.INFO: Packet analysis {"connection_id":163657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a046ff"} 
[2026-08-28 11:48:08] local.INFO: Extracted packet for processing {"connection_id":163657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a046ff"} 
[2026-08-28 11:48:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701699328001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:48:08] 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-28 11:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787897564000,"timestamp_ms":1787897564000,"timestamp_seconds":1787897564,"priority":1,"record_length":96,"hex_timestamp":"000001a046ffcb60"} 
[2026-08-28 11:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:48:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 11:48:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:48:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701699328001,"66":25321,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 11:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701699328001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:48:08] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 11:48:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:48: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-28 11:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701699328001,"power":25321,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:48:08] 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":707261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:48:08] local.INFO: GPS data processed {"connection_id":163657,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:48:08] local.INFO: Acknowledgment sent {"connection_id":163657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:48:11] local.INFO: TCP Data received {"connection_id":164652,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164652,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:48:11] local.INFO: Processing buffer {"connection_id":164652,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:48:11] local.INFO: IMEI packet received {"connection_id":164652,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 11:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":164652,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:48:13] local.INFO: TCP Data received {"connection_id":164652,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164652,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:48:13] local.INFO: Processing buffer {"connection_id":164652,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:48:13] local.INFO: IMEI packet received {"connection_id":164652,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 11:48:13] local.INFO: IMEI acknowledgment sent {"connection_id":164652,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:48:14] local.INFO: TCP Data received {"connection_id":164652,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04702fbc8012d1a2180071ff068002c006a26..."} 
[2026-08-28 11:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04702fbc8012d1a2180071ff068002c006a26..."} 
[2026-08-28 11:48:14] local.INFO: Processing buffer {"connection_id":164652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04702fbc8012d1a2180071ff068002c006a26..."} 
[2026-08-28 11:48:14] local.INFO: Packet analysis {"connection_id":164652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04702"} 
[2026-08-28 11:48:14] local.INFO: Extracted packet for processing {"connection_id":164652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04702"} 
[2026-08-28 11:48:14] local.INFO: GPS Element Parsed {"raw_longitude":756687232,"raw_latitude":119533672,"longitude_deg":75.6687232,"latitude_deg":11.9533672,"altitude":44,"angle":106,"satellites":38,"speed":41,"hex_longitude":"2d1a2180","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11:48:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701827584001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:48:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15875977242476544,"note":"Value kept but may cause issues"} 
[2026-08-28 11:48:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1873286369354909696,"note":"Value kept but may cause issues"} 
[2026-08-28 11:48:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:48:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787897773000,"timestamp_ms":1787897773000,"timestamp_seconds":1787897773,"priority":1,"record_length":96,"hex_timestamp":"000001a04702fbc8"} 
[2026-08-28 11: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-28 11:48:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 11: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":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-28 11:48:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11: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-28 11: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-28 11:48:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:48:14] local.INFO: Teltonika packet parsed successfully {"connection_id":164652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:48:14] local.INFO: Passing IMEI to GPS processor {"connection_id":164652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:48:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":164652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:48:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:48:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:48:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:48:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701827584001,"66":12145,"103":206,"83":41984,"24":41,"16":15875977242476544,"45":1873286369354909696},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 11:48:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:48:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:48:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701827584001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:48:14] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 11:48:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 11:48:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15875977242476544,"km_value":15875977242476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:48:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1873286369354909696,"description":"Unknown IO ID 45"} 
[2026-08-28 11:48:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701827584001,"power":12145,"unknown_103":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1873286369354909696}} 
[2026-08-28 11:48:14] local.INFO: DEBUG: GPS processor result {"connection_id":164652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707262,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:48:14] local.INFO: GPS data processed {"connection_id":164652,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:48:14] local.INFO: Acknowledgment sent {"connection_id":164652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:48:31] local.INFO: TCP Data received {"connection_id":165998,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:48:31] local.INFO: Processing buffer {"connection_id":165998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:48:31] local.INFO: IMEI packet received {"connection_id":165998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 11:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":165998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:48:36] local.INFO: TCP Data received {"connection_id":165998,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:48:36] local.INFO: Processing buffer {"connection_id":165998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:48:36] local.INFO: IMEI packet received {"connection_id":165998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 11:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":165998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:48:37] local.INFO: TCP Data received {"connection_id":165998,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a047046328012d34c14006aa4840000e00e62a..."} 
[2026-08-28 11:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047046328012d34c14006aa4840000e00e62a..."} 
[2026-08-28 11:48:37] local.INFO: Processing buffer {"connection_id":165998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047046328012d34c14006aa4840000e00e62a..."} 
[2026-08-28 11:48:37] local.INFO: Packet analysis {"connection_id":165998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04704"} 
[2026-08-28 11:48:37] local.INFO: Extracted packet for processing {"connection_id":165998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04704"} 
[2026-08-28 11:48:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701776384001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:48:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 11:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:48: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-28 11:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787897865000,"timestamp_ms":1787897865000,"timestamp_seconds":1787897865,"priority":1,"record_length":96,"hex_timestamp":"000001a047046328"} 
[2026-08-28 11:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 11:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":165998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":165998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":165998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701776384001,"66":25397,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 11:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701776384001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:48:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:48: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-28 11:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701776384001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":165998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:48:37] local.INFO: GPS data processed {"connection_id":165998,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:48:37] local.INFO: Acknowledgment sent {"connection_id":165998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:48:45] local.INFO: TCP Data received {"connection_id":164652,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047031ef0012d1a4580071fe750002d006727..."} 
[2026-08-28 11:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047031ef0012d1a4580071fe750002d006727..."} 
[2026-08-28 11:48:45] local.INFO: Processing buffer {"connection_id":164652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047031ef0012d1a4580071fe750002d006727..."} 
[2026-08-28 11:48:45] local.INFO: Packet analysis {"connection_id":164652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04703"} 
[2026-08-28 11:48:45] local.INFO: Extracted packet for processing {"connection_id":164652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04703"} 
[2026-08-28 11:48:45] local.INFO: GPS Element Parsed {"raw_longitude":756696448,"raw_latitude":119531344,"longitude_deg":75.6696448,"latitude_deg":11.9531344,"altitude":45,"angle":103,"satellites":39,"speed":39,"hex_longitude":"2d1a4580","hex_latitude":"071fe750","is_valid_coordinates":true} 
[2026-08-28 11:48:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:48:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701829888001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:48:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15876428214042624,"note":"Value kept but may cause issues"} 
[2026-08-28 11:48:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1882926887306553344,"note":"Value kept but may cause issues"} 
[2026-08-28 11:48:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:48:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787897782000,"timestamp_ms":1787897782000,"timestamp_seconds":1787897782,"priority":1,"record_length":96,"hex_timestamp":"000001a047031ef0"} 
[2026-08-28 11:48:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:48:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 11:48:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-28 11:48:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1450,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:48:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:48:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:48:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:48:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:48:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:48:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:48:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:48:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:48:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:48:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701829888001,"66":13135,"103":206,"83":41984,"24":39,"16":15876428214042624,"45":1882926887306553344},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 11:48:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:48:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:48:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701829888001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:48:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 11:48:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 11:48:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15876428214042624,"km_value":15876428214042.623,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:48:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1882926887306553344,"description":"Unknown IO ID 45"} 
[2026-08-28 11:48:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701829888001,"power":13135,"unknown_103":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1882926887306553344}} 
[2026-08-28 11:48:45] local.INFO: DEBUG: GPS processor result {"connection_id":164652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707264,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:48:45] local.INFO: GPS data processed {"connection_id":164652,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:48:45] local.INFO: Acknowledgment sent {"connection_id":164652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:49:09] local.INFO: TCP Data received {"connection_id":165998,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a047046328012d34c14006aa4840000e00e62a..."} 
[2026-08-28 11:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047046328012d34c14006aa4840000e00e62a..."} 
[2026-08-28 11:49:09] local.INFO: Processing buffer {"connection_id":165998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047046328012d34c14006aa4840000e00e62a..."} 
[2026-08-28 11:49:09] local.INFO: Packet analysis {"connection_id":165998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04704"} 
[2026-08-28 11:49:09] local.INFO: Extracted packet for processing {"connection_id":165998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04704"} 
[2026-08-28 11:49:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701776384001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:49:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 11:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:49: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-28 11:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787897865000,"timestamp_ms":1787897865000,"timestamp_seconds":1787897865,"priority":1,"record_length":96,"hex_timestamp":"000001a047046328"} 
[2026-08-28 11:49:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:49:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 11:49:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:49:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:49:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":165998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":165998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":165998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:49:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701776384001,"66":25397,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 11:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701776384001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:49:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:49: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-28 11:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701776384001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":165998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:49:09] local.INFO: GPS data processed {"connection_id":165998,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:49:09] local.INFO: Acknowledgment sent {"connection_id":165998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:49:11] local.INFO: TCP Data received {"connection_id":163383,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163383,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:49:11] local.INFO: Processing buffer {"connection_id":163383,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:49:11] local.INFO: IMEI packet received {"connection_id":163383,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 11:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":163383,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:49:16] local.INFO: TCP Data received {"connection_id":163383,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163383,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:49:16] local.INFO: Processing buffer {"connection_id":163383,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:49:16] local.INFO: IMEI packet received {"connection_id":163383,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 11:49:16] local.INFO: IMEI acknowledgment sent {"connection_id":163383,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:49:17] local.INFO: TCP Data received {"connection_id":163383,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047032aa8012d1a5080071fe338002e007624..."} 
[2026-08-28 11:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047032aa8012d1a5080071fe338002e007624..."} 
[2026-08-28 11:49:17] local.INFO: Processing buffer {"connection_id":163383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047032aa8012d1a5080071fe338002e007624..."} 
[2026-08-28 11:49:17] local.INFO: Packet analysis {"connection_id":163383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04703"} 
[2026-08-28 11:49:17] local.INFO: Extracted packet for processing {"connection_id":163383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04703"} 
[2026-08-28 11:49:17] local.INFO: GPS Element Parsed {"raw_longitude":756699264,"raw_latitude":119530296,"longitude_deg":75.6699264,"latitude_deg":11.9530296,"altitude":46,"angle":118,"satellites":36,"speed":38,"hex_longitude":"2d1a5080","hex_latitude":"071fe338","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11:49:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701832192001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:49:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15876569947963392,"note":"Value kept but may cause issues"} 
[2026-08-28 11:49:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1893059986467540992,"note":"Value kept but may cause issues"} 
[2026-08-28 11:49:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:49:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787897785000,"timestamp_ms":1787897785000,"timestamp_seconds":1787897785,"priority":1,"record_length":96,"hex_timestamp":"000001a047032aa8"} 
[2026-08-28 11: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-28 11:49:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 11: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-28 11:49:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11: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-28 11: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-28 11:49:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:49:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:49:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:49:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:49:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:49:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:49:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:49:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701832192001,"66":12287,"103":206,"83":41984,"24":38,"16":15876569947963392,"45":1893059986467540992},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 11:49:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:49:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:49:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701832192001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:49:17] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 11:49:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 11:49:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15876569947963392,"km_value":15876569947963.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:49:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1893059986467540992,"description":"Unknown IO ID 45"} 
[2026-08-28 11:49:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701832192001,"power":12287,"unknown_103":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1893059986467540992}} 
[2026-08-28 11:49:17] 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":707266,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:49:17] local.INFO: GPS data processed {"connection_id":163383,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:49:17] local.INFO: Acknowledgment sent {"connection_id":163383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:49:34] local.INFO: TCP Data received {"connection_id":164654,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:49:34] local.INFO: Processing buffer {"connection_id":164654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:49:34] local.INFO: IMEI packet received {"connection_id":164654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 11:49:34] local.INFO: IMEI acknowledgment sent {"connection_id":164654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:49:36] local.INFO: TCP Data received {"connection_id":164654,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:49:36] local.INFO: Processing buffer {"connection_id":164654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:49:36] local.INFO: IMEI packet received {"connection_id":164654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 11:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":164654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:49:37] local.INFO: TCP Data received {"connection_id":164654,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a047046328012d34c14006aa4840000e00e62a..."} 
[2026-08-28 11:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047046328012d34c14006aa4840000e00e62a..."} 
[2026-08-28 11:49:37] local.INFO: Processing buffer {"connection_id":164654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047046328012d34c14006aa4840000e00e62a..."} 
[2026-08-28 11:49:37] local.INFO: Packet analysis {"connection_id":164654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04704"} 
[2026-08-28 11:49:37] local.INFO: Extracted packet for processing {"connection_id":164654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04704"} 
[2026-08-28 11:49:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701776384001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:49:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 11:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:49: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-28 11:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787897865000,"timestamp_ms":1787897865000,"timestamp_seconds":1787897865,"priority":1,"record_length":96,"hex_timestamp":"000001a047046328"} 
[2026-08-28 11: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-28 11:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 11:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11: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-28 11: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-28 11:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701776384001,"66":25397,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-28 11:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701776384001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:49:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:49: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-28 11:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701776384001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":164654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:49:37] local.INFO: GPS data processed {"connection_id":164654,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:49:37] local.INFO: Acknowledgment sent {"connection_id":164654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:49:42] local.INFO: TCP Data received {"connection_id":164654,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a047046328012d34c14006aa4840000e00e62a..."} 
[2026-08-28 11:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047046328012d34c14006aa4840000e00e62a..."} 
[2026-08-28 11:49:42] local.INFO: Processing buffer {"connection_id":164654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047046328012d34c14006aa4840000e00e62a..."} 
[2026-08-28 11:49:42] local.INFO: Packet analysis {"connection_id":164654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04704"} 
[2026-08-28 11:49:42] local.INFO: Extracted packet for processing {"connection_id":164654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04704"} 
[2026-08-28 11:49:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701776384001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:49:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 11:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:49:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:49:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 11:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787897865000,"timestamp_ms":1787897865000,"timestamp_seconds":1787897865,"priority":1,"record_length":96,"hex_timestamp":"000001a047046328"} 
[2026-08-28 11: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-28 11:49:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11: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-28 11: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-28 11: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-28 11:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":164654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":164654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":164654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:49: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-28 11:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701776384001,"66":25397,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-28 11:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701776384001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:49:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11: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-28 11:49:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701776384001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":164654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:49:42] local.INFO: GPS data processed {"connection_id":164654,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:49:42] local.INFO: Acknowledgment sent {"connection_id":164654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:49:48] local.INFO: TCP Data received {"connection_id":163383,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047033e30012d1a5ec0071fdbe8002e006426..."} 
[2026-08-28 11:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047033e30012d1a5ec0071fdbe8002e006426..."} 
[2026-08-28 11:49:48] local.INFO: Processing buffer {"connection_id":163383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047033e30012d1a5ec0071fdbe8002e006426..."} 
[2026-08-28 11:49:48] local.INFO: Packet analysis {"connection_id":163383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04703"} 
[2026-08-28 11:49:48] local.INFO: Extracted packet for processing {"connection_id":163383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04703"} 
[2026-08-28 11:49:48] local.INFO: GPS Element Parsed {"raw_longitude":756702912,"raw_latitude":119528424,"longitude_deg":75.6702912,"latitude_deg":11.9528424,"altitude":46,"angle":100,"satellites":38,"speed":29,"hex_longitude":"2d1a5ec0","hex_latitude":"071fdbe8","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11:49:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701832960001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:49:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15876763221491712,"note":"Value kept but may cause issues"} 
[2026-08-28 11:49:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1896156211211089920,"note":"Value kept but may cause issues"} 
[2026-08-28 11:49:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:49:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787897790000,"timestamp_ms":1787897790000,"timestamp_seconds":1787897790,"priority":1,"record_length":96,"hex_timestamp":"000001a047033e30"} 
[2026-08-28 11: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-28 11:49:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 11: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 11:49:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11: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-28 11: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-28 11:49:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:49:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:49:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:49:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:49:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:49:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:49:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:49:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701832960001,"66":13156,"101":206,"83":41984,"24":29,"16":15876763221491712,"45":1896156211211089920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-28 11:49:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:49:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:49:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701832960001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:49:48] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-28 11:49:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 11:49:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15876763221491712,"km_value":15876763221491.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:49:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1896156211211089920,"description":"Unknown IO ID 45"} 
[2026-08-28 11:49:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701832960001,"power":13156,"unknown_101":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1896156211211089920}} 
[2026-08-28 11:49:48] 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":707269,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:49:48] local.INFO: GPS data processed {"connection_id":163383,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:49:48] local.INFO: Acknowledgment sent {"connection_id":163383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:50:12] local.INFO: TCP Data received {"connection_id":165999,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165999,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:50:12] local.INFO: Processing buffer {"connection_id":165999,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:50:12] local.INFO: IMEI packet received {"connection_id":165999,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 11:50:12] local.INFO: IMEI acknowledgment sent {"connection_id":165999,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:50:12] local.INFO: TCP Data received {"connection_id":165999,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165999,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:50:12] local.INFO: Processing buffer {"connection_id":165999,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:50:12] local.INFO: IMEI packet received {"connection_id":165999,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 11:50:12] local.INFO: IMEI acknowledgment sent {"connection_id":165999,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:50:13] local.INFO: TCP Data received {"connection_id":164654,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a047046328012d34c14006aa4840000e00e62a..."} 
[2026-08-28 11:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047046328012d34c14006aa4840000e00e62a..."} 
[2026-08-28 11:50:13] local.INFO: Processing buffer {"connection_id":164654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047046328012d34c14006aa4840000e00e62a..."} 
[2026-08-28 11:50:13] local.INFO: Packet analysis {"connection_id":164654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04704"} 
[2026-08-28 11:50:13] local.INFO: Extracted packet for processing {"connection_id":164654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04704"} 
[2026-08-28 11:50:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11:50:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701776384001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:50:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 11:50:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:50:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:50: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-28 11:50:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787897865000,"timestamp_ms":1787897865000,"timestamp_seconds":1787897865,"priority":1,"record_length":96,"hex_timestamp":"000001a047046328"} 
[2026-08-28 11: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-28 11:50:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11: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-28 11: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-28 11: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-28 11:50:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:50:13] local.INFO: Teltonika packet parsed successfully {"connection_id":164654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:50:13] local.INFO: Passing IMEI to GPS processor {"connection_id":164654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:50:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":164654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:50: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-28 11:50:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:50:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:50:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701776384001,"66":25397,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-28 11:50:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:50:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:50:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701776384001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:50:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11: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-28 11:50:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:50:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701776384001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:50:13] local.INFO: DEBUG: GPS processor result {"connection_id":164654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:50:13] local.INFO: GPS data processed {"connection_id":164654,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:50:13] local.INFO: Acknowledgment sent {"connection_id":164654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:50:15] local.INFO: TCP Data received {"connection_id":165999,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165999,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:50:15] local.INFO: Processing buffer {"connection_id":165999,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:50:15] local.INFO: IMEI packet received {"connection_id":165999,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 11:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":165999,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:50:15] local.INFO: TCP Data received {"connection_id":165999,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165999,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:50:15] local.INFO: Processing buffer {"connection_id":165999,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:50:15] local.INFO: IMEI packet received {"connection_id":165999,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 11:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":165999,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:50:16] local.INFO: TCP Data received {"connection_id":165999,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04705a378012d1a7c80071fc6100039009624..."} 
[2026-08-28 11:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04705a378012d1a7c80071fc6100039009624..."} 
[2026-08-28 11:50:16] local.INFO: Processing buffer {"connection_id":165999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04705a378012d1a7c80071fc6100039009624..."} 
[2026-08-28 11:50:16] local.INFO: Packet analysis {"connection_id":165999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04705"} 
[2026-08-28 11:50:16] local.INFO: Extracted packet for processing {"connection_id":165999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04705"} 
[2026-08-28 11:50:16] local.INFO: GPS Element Parsed {"raw_longitude":756710528,"raw_latitude":119522832,"longitude_deg":75.6710528,"latitude_deg":11.9522832,"altitude":57,"angle":150,"satellites":36,"speed":29,"hex_longitude":"2d1a7c80","hex_latitude":"071fc610","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11:50:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701872896001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:50:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15877300092403712,"note":"Value kept but may cause issues"} 
[2026-08-28 11:50:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1905726360418211840,"note":"Value kept but may cause issues"} 
[2026-08-28 11:50:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:50:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787897947000,"timestamp_ms":1787897947000,"timestamp_seconds":1787897947,"priority":1,"record_length":96,"hex_timestamp":"000001a04705a378"} 
[2026-08-28 11: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-28 11:50:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 11:50:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-28 11:50:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11: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-28 11: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-28 11:50:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:50:16] local.INFO: Teltonika packet parsed successfully {"connection_id":165999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:50:16] local.INFO: Passing IMEI to GPS processor {"connection_id":165999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:50:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":165999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:50:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:50:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:50:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:50:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701872896001,"66":14135,"101":206,"83":41984,"24":29,"16":15877300092403712,"45":1905726360418211840},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-28 11:50:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:50:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:50:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701872896001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:50:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-28 11:50:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 11:50:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15877300092403712,"km_value":15877300092403.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:50:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1905726360418211840,"description":"Unknown IO ID 45"} 
[2026-08-28 11:50:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701872896001,"power":14135,"unknown_101":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1905726360418211840}} 
[2026-08-28 11:50:16] local.INFO: DEBUG: GPS processor result {"connection_id":165999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707271,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:50:16] local.INFO: GPS data processed {"connection_id":165999,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:50:16] local.INFO: Acknowledgment sent {"connection_id":165999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:50:17] local.INFO: TCP Data received {"connection_id":165999,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04705ce70012d1a9180071faa58003c008c24..."} 
[2026-08-28 11:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04705ce70012d1a9180071faa58003c008c24..."} 
[2026-08-28 11:50:17] local.INFO: Processing buffer {"connection_id":165999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04705ce70012d1a9180071faa58003c008c24..."} 
[2026-08-28 11:50:17] local.INFO: Packet analysis {"connection_id":165999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04705"} 
[2026-08-28 11:50:17] local.INFO: Extracted packet for processing {"connection_id":165999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04705"} 
[2026-08-28 11:50:17] local.INFO: GPS Element Parsed {"raw_longitude":756715904,"raw_latitude":119515736,"longitude_deg":75.6715904,"latitude_deg":11.9515736,"altitude":60,"angle":140,"satellites":36,"speed":34,"hex_longitude":"2d1a9180","hex_latitude":"071faa58","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11:50:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701874432001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:50:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15877729589133312,"note":"Value kept but may cause issues"} 
[2026-08-28 11:50:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1908541110184448000,"note":"Value kept but may cause issues"} 
[2026-08-28 11:50: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-28 11:50:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787897958000,"timestamp_ms":1787897958000,"timestamp_seconds":1787897958,"priority":1,"record_length":96,"hex_timestamp":"000001a04705ce70"} 
[2026-08-28 11: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-28 11:50:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 11: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-28 11:50: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-28 11: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-28 11: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-28 11:50:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:50:17] local.INFO: Teltonika packet parsed successfully {"connection_id":165999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:50:17] local.INFO: Passing IMEI to GPS processor {"connection_id":165999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:50:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":165999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:50:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:50:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:50:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:50:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701874432001,"66":14135,"101":206,"83":41984,"24":34,"16":15877729589133312,"45":1908541110184448000},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-28 11:50:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:50:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:50:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701874432001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:50:17] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-28 11:50:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 11:50:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15877729589133312,"km_value":15877729589133.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:50:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1908541110184448000,"description":"Unknown IO ID 45"} 
[2026-08-28 11:50:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701874432001,"power":14135,"unknown_101":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1908541110184448000}} 
[2026-08-28 11:50:17] local.INFO: DEBUG: GPS processor result {"connection_id":165999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707272,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:50:17] local.INFO: GPS data processed {"connection_id":165999,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:50:17] local.INFO: Acknowledgment sent {"connection_id":165999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:50:31] local.INFO: TCP Data received {"connection_id":163384,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:50:31] local.INFO: Processing buffer {"connection_id":163384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:50:31] local.INFO: IMEI packet received {"connection_id":163384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 11:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":163384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:50:37] local.INFO: TCP Data received {"connection_id":163384,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:50:37] local.INFO: Processing buffer {"connection_id":163384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:50:37] local.INFO: IMEI packet received {"connection_id":163384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 11:50:37] local.INFO: IMEI acknowledgment sent {"connection_id":163384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:50:38] local.INFO: TCP Data received {"connection_id":163384,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a047046328012d34c14006aa4840000e00e62a..."} 
[2026-08-28 11:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047046328012d34c14006aa4840000e00e62a..."} 
[2026-08-28 11:50:38] local.INFO: Processing buffer {"connection_id":163384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047046328012d34c14006aa4840000e00e62a..."} 
[2026-08-28 11:50:38] local.INFO: Packet analysis {"connection_id":163384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04704"} 
[2026-08-28 11:50:38] local.INFO: Extracted packet for processing {"connection_id":163384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04704"} 
[2026-08-28 11:50:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701776384001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:50:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 11:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:50: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-28 11:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787897865000,"timestamp_ms":1787897865000,"timestamp_seconds":1787897865,"priority":1,"record_length":96,"hex_timestamp":"000001a047046328"} 
[2026-08-28 11:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 11:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:50:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701776384001,"66":25397,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-28 11:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701776384001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:50:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:50: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-28 11:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701776384001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:50:38] 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":707273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:50:38] local.INFO: GPS data processed {"connection_id":163384,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:50:38] local.INFO: Acknowledgment sent {"connection_id":163384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:50:48] local.INFO: TCP Data received {"connection_id":165999,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04705e5e0012d1aa180071f9c28003d007e21..."} 
[2026-08-28 11:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04705e5e0012d1aa180071f9c28003d007e21..."} 
[2026-08-28 11:50:48] local.INFO: Processing buffer {"connection_id":165999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04705e5e0012d1aa180071f9c28003d007e21..."} 
[2026-08-28 11:50:48] local.INFO: Packet analysis {"connection_id":165999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04705"} 
[2026-08-28 11:50:48] local.INFO: Extracted packet for processing {"connection_id":165999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04705"} 
[2026-08-28 11:50:48] local.INFO: GPS Element Parsed {"raw_longitude":756720000,"raw_latitude":119512104,"longitude_deg":75.672,"latitude_deg":11.9512104,"altitude":61,"angle":126,"satellites":33,"speed":33,"hex_longitude":"2d1aa180","hex_latitude":"071f9c28","is_valid_coordinates":true} 
[2026-08-28 11:50:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:50:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701877248001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:50:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15877987287171072,"note":"Value kept but may cause issues"} 
[2026-08-28 11:50:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1914452084693555200,"note":"Value kept but may cause issues"} 
[2026-08-28 11:50:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:50:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787897964000,"timestamp_ms":1787897964000,"timestamp_seconds":1787897964,"priority":1,"record_length":96,"hex_timestamp":"000001a04705e5e0"} 
[2026-08-28 11:50:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:50:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 11:50:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-28 11:50:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:50:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:50:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:50:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:50:48] local.INFO: Teltonika packet parsed successfully {"connection_id":165999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:50:48] local.INFO: Passing IMEI to GPS processor {"connection_id":165999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:50:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":165999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:50:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:50:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:50:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:50:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701877248001,"66":14102,"101":206,"83":41984,"24":33,"16":15877987287171072,"45":1914452084693555200},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-28 11:50:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:50:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:50:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701877248001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:50:48] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-28 11:50:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 11:50:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15877987287171072,"km_value":15877987287171.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:50:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1914452084693555200,"description":"Unknown IO ID 45"} 
[2026-08-28 11:50:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701877248001,"power":14102,"unknown_101":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1914452084693555200}} 
[2026-08-28 11:50:48] local.INFO: DEBUG: GPS processor result {"connection_id":165999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707274,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:50:48] local.INFO: GPS data processed {"connection_id":165999,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:50:48] local.INFO: Acknowledgment sent {"connection_id":165999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:51:11] local.INFO: TCP Data received {"connection_id":164655,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:51:11] local.INFO: Processing buffer {"connection_id":164655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:51:11] local.INFO: IMEI packet received {"connection_id":164655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 11:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":164655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:51:16] local.INFO: TCP Data received {"connection_id":164655,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:51:16] local.INFO: Processing buffer {"connection_id":164655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:51:16] local.INFO: IMEI packet received {"connection_id":164655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 11:51:16] local.INFO: IMEI acknowledgment sent {"connection_id":164655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:51:17] local.INFO: TCP Data received {"connection_id":164655,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04705edb0012d1aa6c0071f9948003e006e22..."} 
[2026-08-28 11:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04705edb0012d1aa6c0071f9948003e006e22..."} 
[2026-08-28 11:51:17] local.INFO: Processing buffer {"connection_id":164655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04705edb0012d1aa6c0071f9948003e006e22..."} 
[2026-08-28 11:51:17] local.INFO: Packet analysis {"connection_id":164655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04705"} 
[2026-08-28 11:51:17] local.INFO: Extracted packet for processing {"connection_id":164655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04705"} 
[2026-08-28 11:51:17] local.INFO: GPS Element Parsed {"raw_longitude":756721344,"raw_latitude":119511368,"longitude_deg":75.6721344,"latitude_deg":11.9511368,"altitude":62,"angle":110,"satellites":34,"speed":30,"hex_longitude":"2d1aa6c0","hex_latitude":"071f9948","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11:51:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701878784001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:51:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15878064596582400,"note":"Value kept but may cause issues"} 
[2026-08-28 11:51:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1918955684319995904,"note":"Value kept but may cause issues"} 
[2026-08-28 11:51: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-28 11:51:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787897966000,"timestamp_ms":1787897966000,"timestamp_seconds":1787897966,"priority":1,"record_length":96,"hex_timestamp":"000001a04705edb0"} 
[2026-08-28 11: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-28 11:51:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 11:51:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-28 11:51:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11: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-28 11: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-28 11:51:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:51:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:51:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:51:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:51:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:51:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:51:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:51:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701878784001,"66":14048,"101":206,"83":41984,"24":30,"16":15878064596582400,"45":1918955684319995904},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-28 11:51:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:51:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:51:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701878784001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:51:17] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-28 11:51:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 11:51:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15878064596582400,"km_value":15878064596582.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:51:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1918955684319995904,"description":"Unknown IO ID 45"} 
[2026-08-28 11:51:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701878784001,"power":14048,"unknown_101":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1918955684319995904}} 
[2026-08-28 11:51:17] local.INFO: DEBUG: GPS processor result {"connection_id":164655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707275,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:51:17] local.INFO: GPS data processed {"connection_id":164655,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:51:17] local.INFO: Acknowledgment sent {"connection_id":164655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:51:48] local.INFO: TCP Data received {"connection_id":164655,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047077838012d1ac3c0071f8ee0003c015227..."} 
[2026-08-28 11:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047077838012d1ac3c0071f8ee0003c015227..."} 
[2026-08-28 11:51:48] local.INFO: Processing buffer {"connection_id":164655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047077838012d1ac3c0071f8ee0003c015227..."} 
[2026-08-28 11:51:48] local.INFO: Packet analysis {"connection_id":164655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04707"} 
[2026-08-28 11:51:48] local.INFO: Extracted packet for processing {"connection_id":164655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04707"} 
[2026-08-28 11:51:48] local.INFO: GPS Element Parsed {"raw_longitude":756728768,"raw_latitude":119508704,"longitude_deg":75.6728768,"latitude_deg":11.9508704,"altitude":60,"angle":338,"satellites":39,"speed":20,"hex_longitude":"2d1ac3c0","hex_latitude":"071f8ee0","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11:51:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701904896001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:51:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15878846280630272,"note":"Value kept but may cause issues"} 
[2026-08-28 11:51:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1928736939759702016,"note":"Value kept but may cause issues"} 
[2026-08-28 11:51:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:51:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787898067000,"timestamp_ms":1787898067000,"timestamp_seconds":1787898067,"priority":1,"record_length":96,"hex_timestamp":"000001a047077838"} 
[2026-08-28 11: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-28 11:51:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 11: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-28 11:51:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11: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-28 11: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-28 11:51:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:51:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:51:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:51:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:51:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:51:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:51:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:51:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701904896001,"66":14004,"101":206,"83":41984,"24":20,"16":15878846280630272,"45":1928736939759702016},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-28 11:51:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:51:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:51:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701904896001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:51:48] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-28 11:51:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 11:51:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15878846280630272,"km_value":15878846280630.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:51:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1928736939759702016,"description":"Unknown IO ID 45"} 
[2026-08-28 11:51:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701904896001,"power":14004,"unknown_101":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1928736939759702016}} 
[2026-08-28 11:51:48] local.INFO: DEBUG: GPS processor result {"connection_id":164655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707276,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:51:48] local.INFO: GPS data processed {"connection_id":164655,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:51:48] local.INFO: Acknowledgment sent {"connection_id":164655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:52:11] local.INFO: TCP Data received {"connection_id":166000,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:52:11] local.INFO: Processing buffer {"connection_id":166000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:52:11] local.INFO: IMEI packet received {"connection_id":166000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 11:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":166000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:52:13] local.INFO: TCP Data received {"connection_id":166000,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:52:13] local.INFO: Processing buffer {"connection_id":166000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:52:13] local.INFO: IMEI packet received {"connection_id":166000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 11:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":166000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:52:16] local.INFO: TCP Data received {"connection_id":166000,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:52:16] local.INFO: Processing buffer {"connection_id":166000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:52:16] local.INFO: IMEI packet received {"connection_id":166000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 11:52:16] local.INFO: IMEI acknowledgment sent {"connection_id":166000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:52:17] local.INFO: TCP Data received {"connection_id":166000,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047077c20012d1ac280071f90a0003d014028..."} 
[2026-08-28 11:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047077c20012d1ac280071f90a0003d014028..."} 
[2026-08-28 11:52:17] local.INFO: Processing buffer {"connection_id":166000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047077c20012d1ac280071f90a0003d014028..."} 
[2026-08-28 11:52:17] local.INFO: Packet analysis {"connection_id":166000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04707"} 
[2026-08-28 11:52:17] local.INFO: Extracted packet for processing {"connection_id":166000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04707"} 
[2026-08-28 11:52:17] local.INFO: GPS Element Parsed {"raw_longitude":756728448,"raw_latitude":119509152,"longitude_deg":75.6728448,"latitude_deg":11.9509152,"altitude":61,"angle":320,"satellites":40,"speed":22,"hex_longitude":"2d1ac280","hex_latitude":"071f90a0","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701905152001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15878872050434048,"note":"Value kept but may cause issues"} 
[2026-08-28 11:52:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1928596202271465472,"note":"Value kept but may cause issues"} 
[2026-08-28 11:52: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-28 11:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787898068000,"timestamp_ms":1787898068000,"timestamp_seconds":1787898068,"priority":1,"record_length":96,"hex_timestamp":"000001a047077c20"} 
[2026-08-28 11: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-28 11:52:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 11:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-28 11:52:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11: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-28 11: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-28 11:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":166000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":166000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":166000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:52:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701905152001,"66":13396,"101":206,"83":41984,"24":22,"16":15878872050434048,"45":1928596202271465472},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-28 11:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701905152001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:52:17] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-28 11:52:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 11:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15878872050434048,"km_value":15878872050434.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:52:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1928596202271465472,"description":"Unknown IO ID 45"} 
[2026-08-28 11:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701905152001,"power":13396,"unknown_101":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1928596202271465472}} 
[2026-08-28 11:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":166000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707277,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:52:17] local.INFO: GPS data processed {"connection_id":166000,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:52:17] local.INFO: Acknowledgment sent {"connection_id":166000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:52:18] local.INFO: TCP Data received {"connection_id":163384,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a047046328012d34c14006aa4840000e00e62a..."} 
[2026-08-28 11:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047046328012d34c14006aa4840000e00e62a..."} 
[2026-08-28 11:52:18] local.INFO: Processing buffer {"connection_id":163384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047046328012d34c14006aa4840000e00e62a..."} 
[2026-08-28 11:52:18] local.INFO: Packet analysis {"connection_id":163384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04704"} 
[2026-08-28 11:52:18] local.INFO: Extracted packet for processing {"connection_id":163384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04704"} 
[2026-08-28 11:52:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:52:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701776384001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:52:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 11:52:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:52:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:52: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-28 11:52:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787897865000,"timestamp_ms":1787897865000,"timestamp_seconds":1787897865,"priority":1,"record_length":96,"hex_timestamp":"000001a047046328"} 
[2026-08-28 11:52:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:52:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 11:52: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-28 11:52:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:52:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:52:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:52:18] local.INFO: Teltonika packet parsed successfully {"connection_id":163384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:52:18] local.INFO: Passing IMEI to GPS processor {"connection_id":163384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:52:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":163384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:52: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-28 11:52:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:52:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:52:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701776384001,"66":25397,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-28 11:52:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:52:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:52:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701776384001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:52:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:52: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-28 11:52:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:52:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701776384001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:52:18] 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":707278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:52:18] local.INFO: GPS data processed {"connection_id":163384,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:52:18] local.INFO: Acknowledgment sent {"connection_id":163384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:52:42] local.INFO: TCP Data received {"connection_id":164656,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:52:42] local.INFO: Processing buffer {"connection_id":164656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:52:42] local.INFO: IMEI packet received {"connection_id":164656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 11:52:42] local.INFO: IMEI acknowledgment sent {"connection_id":164656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:52:43] local.INFO: TCP Data received {"connection_id":164656,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:52:43] local.INFO: Processing buffer {"connection_id":164656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:52:43] local.INFO: IMEI packet received {"connection_id":164656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 11:52:43] local.INFO: IMEI acknowledgment sent {"connection_id":164656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:52:48] local.INFO: TCP Data received {"connection_id":166000,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047078008012d1ac0c0071f9218003d012e27..."} 
[2026-08-28 11:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047078008012d1ac0c0071f9218003d012e27..."} 
[2026-08-28 11:52:48] local.INFO: Processing buffer {"connection_id":166000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047078008012d1ac0c0071f9218003d012e27..."} 
[2026-08-28 11:52:48] local.INFO: Packet analysis {"connection_id":166000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04707"} 
[2026-08-28 11:52:48] local.INFO: Extracted packet for processing {"connection_id":166000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04707"} 
[2026-08-28 11:52:48] local.INFO: GPS Element Parsed {"raw_longitude":756728000,"raw_latitude":119509528,"longitude_deg":75.6728,"latitude_deg":11.9509528,"altitude":61,"angle":302,"satellites":39,"speed":24,"hex_longitude":"2d1ac0c0","hex_latitude":"071f9218","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11:52:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701905408001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:52:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15878902115205120,"note":"Value kept but may cause issues"} 
[2026-08-28 11:52:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1928244358550691840,"note":"Value kept but may cause issues"} 
[2026-08-28 11:52:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:52:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787898069000,"timestamp_ms":1787898069000,"timestamp_seconds":1787898069,"priority":1,"record_length":96,"hex_timestamp":"000001a047078008"} 
[2026-08-28 11: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-28 11:52:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 11: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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-28 11:52:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11: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-28 11: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-28 11:52:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:52:48] local.INFO: Teltonika packet parsed successfully {"connection_id":166000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:52:48] local.INFO: Passing IMEI to GPS processor {"connection_id":166000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:52:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":166000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:52:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:52:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:52:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:52:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701905408001,"66":13396,"101":206,"83":41984,"24":24,"16":15878902115205120,"45":1928244358550691840},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-28 11:52:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:52:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:52:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701905408001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:52:48] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-28 11:52:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 11:52:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15878902115205120,"km_value":15878902115205.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:52:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1928244358550691840,"description":"Unknown IO ID 45"} 
[2026-08-28 11:52:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701905408001,"power":13396,"unknown_101":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1928244358550691840}} 
[2026-08-28 11:52:48] local.INFO: DEBUG: GPS processor result {"connection_id":166000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707279,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:52:48] local.INFO: GPS data processed {"connection_id":166000,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:52:48] local.INFO: Acknowledgment sent {"connection_id":166000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:52:49] local.INFO: TCP Data received {"connection_id":164656,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a047046328012d34c14006aa4840000e00e62a..."} 
[2026-08-28 11:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047046328012d34c14006aa4840000e00e62a..."} 
[2026-08-28 11:52:49] local.INFO: Processing buffer {"connection_id":164656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047046328012d34c14006aa4840000e00e62a..."} 
[2026-08-28 11:52:49] local.INFO: Packet analysis {"connection_id":164656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04704"} 
[2026-08-28 11:52:49] local.INFO: Extracted packet for processing {"connection_id":164656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04704"} 
[2026-08-28 11:52:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11:52:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701776384001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:52:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 11:52:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:52:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:52: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-28 11:52:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787897865000,"timestamp_ms":1787897865000,"timestamp_seconds":1787897865,"priority":1,"record_length":96,"hex_timestamp":"000001a047046328"} 
[2026-08-28 11: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-28 11:52:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11: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-28 11: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-28 11: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-28 11:52:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:52:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:52:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:52:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:52: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-28 11:52:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:52:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:52:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701776384001,"66":25397,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-28 11:52:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:52:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:52:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701776384001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:52:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11: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-28 11:52:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:52:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701776384001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:52:49] local.INFO: DEBUG: GPS processor result {"connection_id":164656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:52:49] local.INFO: GPS data processed {"connection_id":164656,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:52:49] local.INFO: Acknowledgment sent {"connection_id":164656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:53:06] local.INFO: TCP Data received {"connection_id":164656,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a047046328012d34c14006aa4840000e00e62a..."} 
[2026-08-28 11:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047046328012d34c14006aa4840000e00e62a..."} 
[2026-08-28 11:53:06] local.INFO: Processing buffer {"connection_id":164656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047046328012d34c14006aa4840000e00e62a..."} 
[2026-08-28 11:53:06] local.INFO: Packet analysis {"connection_id":164656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04704"} 
[2026-08-28 11:53:06] local.INFO: Extracted packet for processing {"connection_id":164656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04704"} 
[2026-08-28 11:53:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701776384001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:53:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 11:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 11:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787897865000,"timestamp_ms":1787897865000,"timestamp_seconds":1787897865,"priority":1,"record_length":96,"hex_timestamp":"000001a047046328"} 
[2026-08-28 11:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 11:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:53:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":164656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":164656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":164656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701776384001,"66":25397,"200":0,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-08-28 11:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701776384001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:53:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:53: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-28 11:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701776384001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":164656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:53:06] local.INFO: GPS data processed {"connection_id":164656,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:53:06] local.INFO: Acknowledgment sent {"connection_id":164656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:53:16] local.INFO: TCP Data received {"connection_id":166001,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166001,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:53:16] local.INFO: Processing buffer {"connection_id":166001,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:53:16] local.INFO: IMEI packet received {"connection_id":166001,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 11:53:16] local.INFO: IMEI acknowledgment sent {"connection_id":166001,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:53:17] local.INFO: TCP Data received {"connection_id":166001,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166001,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:53:17] local.INFO: Processing buffer {"connection_id":166001,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:53:17] local.INFO: IMEI packet received {"connection_id":166001,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 11:53:17] local.INFO: IMEI acknowledgment sent {"connection_id":166001,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:53:21] local.INFO: TCP Data received {"connection_id":166001,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166001,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:53:21] local.INFO: Processing buffer {"connection_id":166001,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:53:21] local.INFO: IMEI packet received {"connection_id":166001,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 11:53:21] local.INFO: IMEI acknowledgment sent {"connection_id":166001,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:53:22] local.INFO: TCP Data received {"connection_id":166001,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0470787d8012d1abc00071f9450003c012327..."} 
[2026-08-28 11:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0470787d8012d1abc00071f9450003c012327..."} 
[2026-08-28 11:53:22] local.INFO: Processing buffer {"connection_id":166001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0470787d8012d1abc00071f9450003c012327..."} 
[2026-08-28 11:53:22] local.INFO: Packet analysis {"connection_id":166001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04707"} 
[2026-08-28 11:53:22] local.INFO: Extracted packet for processing {"connection_id":166001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04707"} 
[2026-08-28 11:53:22] local.INFO: GPS Element Parsed {"raw_longitude":756726784,"raw_latitude":119510096,"longitude_deg":75.6726784,"latitude_deg":11.9510096,"altitude":60,"angle":291,"satellites":39,"speed":28,"hex_longitude":"2d1abc00","hex_latitude":"071f9450","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11:53:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701905664001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:53:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15878966539714560,"note":"Value kept but may cause issues"} 
[2026-08-28 11:53:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1927751777341544448,"note":"Value kept but may cause issues"} 
[2026-08-28 11:53:22] local.INFO: IO Element Parsed {"io_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-28 11:53:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787898071000,"timestamp_ms":1787898071000,"timestamp_seconds":1787898071,"priority":1,"record_length":96,"hex_timestamp":"000001a0470787d8"} 
[2026-08-28 11: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-28 11:53:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 11: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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-28 11:53:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11: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-28 11: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-28 11:53:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:53:22] local.INFO: Teltonika packet parsed successfully {"connection_id":166001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:53:22] local.INFO: Passing IMEI to GPS processor {"connection_id":166001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:53:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":166001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:53:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:53:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:53:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:53:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701905664001,"66":14211,"101":206,"83":41984,"24":28,"16":15878966539714560,"45":1927751777341544448},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-28 11:53:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:53:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:53:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701905664001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:53:22] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-28 11:53:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 11:53:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15878966539714560,"km_value":15878966539714.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:53:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1927751777341544448,"description":"Unknown IO ID 45"} 
[2026-08-28 11:53:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701905664001,"power":14211,"unknown_101":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1927751777341544448}} 
[2026-08-28 11:53:22] local.INFO: DEBUG: GPS processor result {"connection_id":166001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707282,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:53:22] local.INFO: GPS data processed {"connection_id":166001,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:53:22] local.INFO: Acknowledgment sent {"connection_id":166001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:53:26] local.INFO: TCP Data received {"connection_id":166001,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047079390012d1ab340071f9688003c011428..."} 
[2026-08-28 11:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047079390012d1ab340071f9688003c011428..."} 
[2026-08-28 11:53:26] local.INFO: Processing buffer {"connection_id":166001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047079390012d1ab340071f9688003c011428..."} 
[2026-08-28 11:53:26] local.INFO: Packet analysis {"connection_id":166001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04707"} 
[2026-08-28 11:53:26] local.INFO: Extracted packet for processing {"connection_id":166001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04707"} 
[2026-08-28 11:53:26] local.INFO: GPS Element Parsed {"raw_longitude":756724544,"raw_latitude":119510664,"longitude_deg":75.6724544,"latitude_deg":11.9510664,"altitude":60,"angle":276,"satellites":40,"speed":31,"hex_longitude":"2d1ab340","hex_latitude":"071f9688","is_valid_coordinates":true} 
[2026-08-28 11:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701906176001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15879073913896960,"note":"Value kept but may cause issues"} 
[2026-08-28 11:53:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1926414771202314240,"note":"Value kept but may cause issues"} 
[2026-08-28 11:53:26] local.INFO: IO Element Parsed {"io_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-28 11:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787898074000,"timestamp_ms":1787898074000,"timestamp_seconds":1787898074,"priority":1,"record_length":96,"hex_timestamp":"000001a047079390"} 
[2026-08-28 11:53:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:53:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 11:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-28 11:53:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:53:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:53:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":166001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":166001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":166001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:53:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701906176001,"66":14515,"101":206,"83":41984,"24":31,"16":15879073913896960,"45":1926414771202314240},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-28 11:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701906176001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:53:26] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-28 11:53:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 11:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15879073913896960,"km_value":15879073913896.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:53:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1926414771202314240,"description":"Unknown IO ID 45"} 
[2026-08-28 11:53:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701906176001,"power":14515,"unknown_101":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1926414771202314240}} 
[2026-08-28 11:53:27] local.INFO: DEBUG: GPS processor result {"connection_id":166001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707283,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:53:27] local.INFO: GPS data processed {"connection_id":166001,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:53:27] local.INFO: Acknowledgment sent {"connection_id":166001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:53:31] local.INFO: TCP Data received {"connection_id":163385,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:53:31] local.INFO: Processing buffer {"connection_id":163385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:53:31] local.INFO: IMEI packet received {"connection_id":163385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 11:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":163385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:53:39] local.INFO: TCP Data received {"connection_id":163385,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:53:39] local.INFO: Processing buffer {"connection_id":163385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:53:39] local.INFO: IMEI packet received {"connection_id":163385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 11:53:39] local.INFO: IMEI acknowledgment sent {"connection_id":163385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:53:56] local.INFO: TCP Data received {"connection_id":163385,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a04708faf0012d34c14006aa4840000f00e628..."} 
[2026-08-28 11:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04708faf0012d34c14006aa4840000f00e628..."} 
[2026-08-28 11:53:56] local.INFO: Processing buffer {"connection_id":163385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04708faf0012d34c14006aa4840000f00e628..."} 
[2026-08-28 11:53:56] local.INFO: Packet analysis {"connection_id":163385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04708"} 
[2026-08-28 11:53:56] local.INFO: Extracted packet for processing {"connection_id":163385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04708"} 
[2026-08-28 11:53:56] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701853440001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:53:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:53: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-28 11:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787898166000,"timestamp_ms":1787898166000,"timestamp_seconds":1787898166,"priority":1,"record_length":96,"hex_timestamp":"000001a04708faf0"} 
[2026-08-28 11:53:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:53:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 11:53:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:53:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:53:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":163385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":163385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":163385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:53:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701853440001,"66":25375,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-28 11:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701853440001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:53:56] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 11:53:56] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:53: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-28 11:53:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:53:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701853440001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:53:56] 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":707284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:53:56] local.INFO: GPS data processed {"connection_id":163385,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:53:56] local.INFO: Acknowledgment sent {"connection_id":163385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:54:08] local.INFO: TCP Data received {"connection_id":166002,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166002,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:54:08] local.INFO: Processing buffer {"connection_id":166002,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:54:08] local.INFO: IMEI packet received {"connection_id":166002,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 11:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":166002,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:54:11] local.INFO: TCP Data received {"connection_id":166002,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166002,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:54:11] local.INFO: Processing buffer {"connection_id":166002,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:54:11] local.INFO: IMEI packet received {"connection_id":166002,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 11:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":166002,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:54:11] local.INFO: TCP Data received {"connection_id":166002,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166002,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:54:11] local.INFO: Processing buffer {"connection_id":166002,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:54:11] local.INFO: IMEI packet received {"connection_id":166002,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 11:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":166002,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:54:16] local.INFO: TCP Data received {"connection_id":166002,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166002,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:54:16] local.INFO: Processing buffer {"connection_id":166002,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:54:16] local.INFO: IMEI packet received {"connection_id":166002,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 11:54:16] local.INFO: IMEI acknowledgment sent {"connection_id":166002,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:54:17] local.INFO: TCP Data received {"connection_id":166002,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04707e598012d1aa440071f9848003e011a27..."} 
[2026-08-28 11:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04707e598012d1aa440071f9848003e011a27..."} 
[2026-08-28 11:54:17] local.INFO: Processing buffer {"connection_id":166002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04707e598012d1aa440071f9848003e011a27..."} 
[2026-08-28 11:54:17] local.INFO: Packet analysis {"connection_id":166002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04707"} 
[2026-08-28 11:54:17] local.INFO: Extracted packet for processing {"connection_id":166002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04707"} 
[2026-08-28 11:54:17] local.INFO: GPS Element Parsed {"raw_longitude":756720704,"raw_latitude":119511112,"longitude_deg":75.6720704,"latitude_deg":11.9511112,"altitude":62,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d1aa440","hex_latitude":"071f9848","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11:54:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701906944001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:54:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15879271482392576,"note":"Value kept but may cause issues"} 
[2026-08-28 11:54:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1923951865156241408,"note":"Value kept but may cause issues"} 
[2026-08-28 11:54: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-28 11:54:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787898095000,"timestamp_ms":1787898095000,"timestamp_seconds":1787898095,"priority":1,"record_length":96,"hex_timestamp":"000001a04707e598"} 
[2026-08-28 11: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-28 11:54:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 11:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 11:54:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11: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-28 11: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-28 11:54:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:54:17] local.INFO: Teltonika packet parsed successfully {"connection_id":166002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:54:17] local.INFO: Passing IMEI to GPS processor {"connection_id":166002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:54:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":166002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:54:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:54:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:54:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:54:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701906944001,"66":13722,"101":206,"83":41984,"24":0,"16":15879271482392576,"45":1923951865156241408},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-28 11:54:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:54:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:54:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701906944001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:54:17] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-28 11:54:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 11:54:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15879271482392576,"km_value":15879271482392.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:54:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1923951865156241408,"description":"Unknown IO ID 45"} 
[2026-08-28 11:54:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701906944001,"power":13722,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1923951865156241408}} 
[2026-08-28 11:54:17] local.INFO: DEBUG: GPS processor result {"connection_id":166002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707285,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:54:17] local.INFO: GPS data processed {"connection_id":166002,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:54:17] local.INFO: Acknowledgment sent {"connection_id":166002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:54:45] local.INFO: TCP Data received {"connection_id":164657,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:54:45] local.INFO: Processing buffer {"connection_id":164657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:54:45] local.INFO: IMEI packet received {"connection_id":164657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 11:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":164657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:54:46] local.INFO: TCP Data received {"connection_id":164657,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:54:46] local.INFO: Processing buffer {"connection_id":164657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:54:46] local.INFO: IMEI packet received {"connection_id":164657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 11:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":164657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:54:47] local.INFO: TCP Data received {"connection_id":164657,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a04708faf0012d34c14006aa4840000f00e628..."} 
[2026-08-28 11:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04708faf0012d34c14006aa4840000f00e628..."} 
[2026-08-28 11:54:47] local.INFO: Processing buffer {"connection_id":164657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04708faf0012d34c14006aa4840000f00e628..."} 
[2026-08-28 11:54:47] local.INFO: Packet analysis {"connection_id":164657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04708"} 
[2026-08-28 11:54:47] local.INFO: Extracted packet for processing {"connection_id":164657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04708"} 
[2026-08-28 11:54:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701853440001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:54:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:54: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-28 11:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787898166000,"timestamp_ms":1787898166000,"timestamp_seconds":1787898166,"priority":1,"record_length":96,"hex_timestamp":"000001a04708faf0"} 
[2026-08-28 11: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-28 11:54:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 11:54: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-28 11:54:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11: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-28 11:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:54:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701853440001,"66":25375,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-28 11:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701853440001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:54:47] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 11:54:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:54: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-28 11:54:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701853440001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":164657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:54:47] local.INFO: GPS data processed {"connection_id":164657,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:54:47] local.INFO: Acknowledgment sent {"connection_id":164657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:54:48] local.INFO: TCP Data received {"connection_id":164657,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a04708faf0012d34c14006aa4840000f00e628..."} 
[2026-08-28 11:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04708faf0012d34c14006aa4840000f00e628..."} 
[2026-08-28 11:54:48] local.INFO: Processing buffer {"connection_id":164657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04708faf0012d34c14006aa4840000f00e628..."} 
[2026-08-28 11:54:48] local.INFO: Packet analysis {"connection_id":164657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04708"} 
[2026-08-28 11:54:48] local.INFO: Extracted packet for processing {"connection_id":164657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04708"} 
[2026-08-28 11:54:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:54:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701853440001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:54:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:54:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:54: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-28 11:54:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787898166000,"timestamp_ms":1787898166000,"timestamp_seconds":1787898166,"priority":1,"record_length":96,"hex_timestamp":"000001a04708faf0"} 
[2026-08-28 11:54:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:54:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 11:54: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-28 11:54:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:54:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:54:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:54:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:54:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:54:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:54: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-28 11:54:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:54:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:54:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701853440001,"66":25375,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-28 11:54:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:54:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:54:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701853440001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:54:48] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 11:54:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:54: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-28 11:54:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:54:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701853440001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:54:48] local.INFO: TCP Data received {"connection_id":166002,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0470837a0012d1aa440071f9848003e011a28..."} 
[2026-08-28 11:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0470837a0012d1aa440071f9848003e011a28..."} 
[2026-08-28 11:54:48] local.INFO: Processing buffer {"connection_id":166002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0470837a0012d1aa440071f9848003e011a28..."} 
[2026-08-28 11:54:48] local.INFO: Packet analysis {"connection_id":166002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04708"} 
[2026-08-28 11:54:48] local.INFO: Extracted packet for processing {"connection_id":166002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04708"} 
[2026-08-28 11:54:48] local.INFO: GPS Element Parsed {"raw_longitude":756720704,"raw_latitude":119511112,"longitude_deg":75.6720704,"latitude_deg":11.9511112,"altitude":62,"angle":282,"satellites":40,"speed":0,"hex_longitude":"2d1aa440","hex_latitude":"071f9848","is_valid_coordinates":true} 
[2026-08-28 11:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:54:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701912320001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:54:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15879271482392576,"note":"Value kept but may cause issues"} 
[2026-08-28 11:54:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1919729740505696256,"note":"Value kept but may cause issues"} 
[2026-08-28 11:54:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:54:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787898116000,"timestamp_ms":1787898116000,"timestamp_seconds":1787898116,"priority":1,"record_length":96,"hex_timestamp":"000001a0470837a0"} 
[2026-08-28 11:54:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:54:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 11:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-08-28 11:54:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:54:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:54:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:54:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:54:48] local.INFO: Teltonika packet parsed successfully {"connection_id":166002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:54:48] local.INFO: Passing IMEI to GPS processor {"connection_id":166002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:54:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":166002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:54:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:54:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:54:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:54:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701912320001,"66":13102,"101":206,"83":41984,"24":0,"16":15879271482392576,"45":1919729740505696256},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-28 11:54:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:54:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:54:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701912320001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:54:48] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-28 11:54:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 11:54:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15879271482392576,"km_value":15879271482392.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:54:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1919729740505696256,"description":"Unknown IO ID 45"} 
[2026-08-28 11:54:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701912320001,"power":13102,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1919729740505696256}} 
[2026-08-28 11:54:48] local.INFO: DEBUG: GPS processor result {"connection_id":164657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:54:48] local.INFO: GPS data processed {"connection_id":164657,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:54:48] local.INFO: Acknowledgment sent {"connection_id":164657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:54:48] local.INFO: DEBUG: GPS processor result {"connection_id":166002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707288,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:54:48] local.INFO: GPS data processed {"connection_id":166002,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:54:48] local.INFO: Acknowledgment sent {"connection_id":166002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:55:11] local.INFO: TCP Data received {"connection_id":163386,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163386,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:55:11] local.INFO: Processing buffer {"connection_id":163386,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:55:11] local.INFO: IMEI packet received {"connection_id":163386,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 11:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":163386,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:55:13] local.INFO: TCP Data received {"connection_id":163386,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163386,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:55:13] local.INFO: Processing buffer {"connection_id":163386,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:55:13] local.INFO: IMEI packet received {"connection_id":163386,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 11:55:13] local.INFO: IMEI acknowledgment sent {"connection_id":163386,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:55:16] local.INFO: TCP Data received {"connection_id":163386,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163386,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:55:16] local.INFO: Processing buffer {"connection_id":163386,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:55:16] local.INFO: IMEI packet received {"connection_id":163386,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 11:55:16] local.INFO: IMEI acknowledgment sent {"connection_id":163386,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:55:17] local.INFO: TCP Data received {"connection_id":163386,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0470889a8012d1aa440071f9848003e011a27..."} 
[2026-08-28 11:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0470889a8012d1aa440071f9848003e011a27..."} 
[2026-08-28 11:55:17] local.INFO: Processing buffer {"connection_id":163386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0470889a8012d1aa440071f9848003e011a27..."} 
[2026-08-28 11:55:17] local.INFO: Packet analysis {"connection_id":163386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04708"} 
[2026-08-28 11:55:17] local.INFO: Extracted packet for processing {"connection_id":163386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04708"} 
[2026-08-28 11:55:17] local.INFO: GPS Element Parsed {"raw_longitude":756720704,"raw_latitude":119511112,"longitude_deg":75.6720704,"latitude_deg":11.9511112,"altitude":62,"angle":282,"satellites":39,"speed":0,"hex_longitude":"2d1aa440","hex_latitude":"071f9848","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701917696001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:55:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15879271482392576,"note":"Value kept but may cause issues"} 
[2026-08-28 11:55:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1919729740505696256,"note":"Value kept but may cause issues"} 
[2026-08-28 11:55:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:55:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787898137000,"timestamp_ms":1787898137000,"timestamp_seconds":1787898137,"priority":1,"record_length":96,"hex_timestamp":"000001a0470889a8"} 
[2026-08-28 11: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-28 11:55:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 11: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-28 11:55: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-28 11: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-28 11: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-28 11:55:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:55:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:55:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:55:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:55:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701917696001,"66":12939,"101":206,"83":41984,"24":0,"16":15879271482392576,"45":1919729740505696256},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-28 11:55:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:55:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:55:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701917696001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:55:17] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-28 11:55:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 11:55:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15879271482392576,"km_value":15879271482392.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:55:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1919729740505696256,"description":"Unknown IO ID 45"} 
[2026-08-28 11:55:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701917696001,"power":12939,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1919729740505696256}} 
[2026-08-28 11:55:17] 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":707289,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:55:17] local.INFO: GPS data processed {"connection_id":163386,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:55:17] local.INFO: Acknowledgment sent {"connection_id":163386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:55:21] local.INFO: TCP Data received {"connection_id":163386,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04708dbb0012d1aa440071f9848003e011a25..."} 
[2026-08-28 11:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04708dbb0012d1aa440071f9848003e011a25..."} 
[2026-08-28 11:55:21] local.INFO: Processing buffer {"connection_id":163386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04708dbb0012d1aa440071f9848003e011a25..."} 
[2026-08-28 11:55:21] local.INFO: Packet analysis {"connection_id":163386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04708"} 
[2026-08-28 11:55:21] local.INFO: Extracted packet for processing {"connection_id":163386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04708"} 
[2026-08-28 11:55:21] local.INFO: GPS Element Parsed {"raw_longitude":756720704,"raw_latitude":119511112,"longitude_deg":75.6720704,"latitude_deg":11.9511112,"altitude":62,"angle":282,"satellites":37,"speed":0,"hex_longitude":"2d1aa440","hex_latitude":"071f9848","is_valid_coordinates":true} 
[2026-08-28 11:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:55:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701923072001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:55:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15879271482392576,"note":"Value kept but may cause issues"} 
[2026-08-28 11:55:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1919729740505696256,"note":"Value kept but may cause issues"} 
[2026-08-28 11:55:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:55:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787898158000,"timestamp_ms":1787898158000,"timestamp_seconds":1787898158,"priority":1,"record_length":96,"hex_timestamp":"000001a04708dbb0"} 
[2026-08-28 11:55:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:55:21] 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-28 11:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-28 11:55:21] 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-28 11:55:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:55:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:55:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:55:21] local.INFO: Teltonika packet parsed successfully {"connection_id":163386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:55:21] local.INFO: Passing IMEI to GPS processor {"connection_id":163386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:55:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":163386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:55:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:55:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:55:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:55:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701923072001,"66":14113,"101":206,"83":41984,"24":0,"16":15879271482392576,"45":1919729740505696256},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-28 11:55:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:55:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:55:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701923072001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:55:21] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-28 11:55:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 11:55:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15879271482392576,"km_value":15879271482392.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:55:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1919729740505696256,"description":"Unknown IO ID 45"} 
[2026-08-28 11:55:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701923072001,"power":14113,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1919729740505696256}} 
[2026-08-28 11:55:22] 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":707290,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:55:22] local.INFO: GPS data processed {"connection_id":163386,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:55:22] local.INFO: Acknowledgment sent {"connection_id":163386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:55:53] local.INFO: TCP Data received {"connection_id":163386,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0470aeef0012d1a5740071fdd40003b012928..."} 
[2026-08-28 11:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0470aeef0012d1a5740071fdd40003b012928..."} 
[2026-08-28 11:55:53] local.INFO: Processing buffer {"connection_id":163386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0470aeef0012d1a5740071fdd40003b012928..."} 
[2026-08-28 11:55:53] local.INFO: Packet analysis {"connection_id":163386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0470a"} 
[2026-08-28 11:55:53] local.INFO: Extracted packet for processing {"connection_id":163386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0470a"} 
[2026-08-28 11:55:53] local.INFO: GPS Element Parsed {"raw_longitude":756700992,"raw_latitude":119528768,"longitude_deg":75.6700992,"latitude_deg":11.9528768,"altitude":59,"angle":297,"satellites":40,"speed":33,"hex_longitude":"2d1a5740","hex_latitude":"071fdd40","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11:55:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701962752001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:55:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15880628692058112,"note":"Value kept but may cause issues"} 
[2026-08-28 11:55:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1899604279675262976,"note":"Value kept but may cause issues"} 
[2026-08-28 11:55:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:55:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787898294000,"timestamp_ms":1787898294000,"timestamp_seconds":1787898294,"priority":1,"record_length":96,"hex_timestamp":"000001a0470aeef0"} 
[2026-08-28 11: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-28 11:55:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 11: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-28 11:55:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11: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-28 11: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-28 11:55:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:55:53] local.INFO: Teltonika packet parsed successfully {"connection_id":163386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:55:53] local.INFO: Passing IMEI to GPS processor {"connection_id":163386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:55:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":163386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 11:55:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:55:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 11:55:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 11:55:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701962752001,"66":14004,"101":206,"83":41984,"24":33,"16":15880628692058112,"45":1899604279675262976},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-28 11:55:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 11:55:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 11:55:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701962752001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:55:53] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-28 11:55:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 11:55:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15880628692058112,"km_value":15880628692058.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 11:55:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1899604279675262976,"description":"Unknown IO ID 45"} 
[2026-08-28 11:55:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701962752001,"power":14004,"unknown_101":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1899604279675262976}} 
[2026-08-28 11:55:53] 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":707291,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:55:53] local.INFO: GPS data processed {"connection_id":163386,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:55:53] local.INFO: Acknowledgment sent {"connection_id":163386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:56:09] local.INFO: TCP Data received {"connection_id":166004,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166004,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:56:09] local.INFO: Processing buffer {"connection_id":166004,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:56:09] local.INFO: IMEI packet received {"connection_id":166004,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 11:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":166004,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:56:10] local.INFO: TCP Data received {"connection_id":166004,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166004,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:56:10] local.INFO: Processing buffer {"connection_id":166004,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:56:10] local.INFO: IMEI packet received {"connection_id":166004,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 11:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":166004,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:56:11] local.INFO: TCP Data received {"connection_id":166004,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166004,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:56:11] local.INFO: Processing buffer {"connection_id":166004,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:56:11] local.INFO: IMEI packet received {"connection_id":166004,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 11:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":166004,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:56:11] local.INFO: TCP Data received {"connection_id":166004,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166004,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:56:11] local.INFO: Processing buffer {"connection_id":166004,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 11:56:11] local.INFO: IMEI packet received {"connection_id":166004,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 11:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":166004,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:56:53] local.INFO: TCP Data received {"connection_id":163387,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:56:53] local.INFO: Processing buffer {"connection_id":163387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:56:53] local.INFO: IMEI packet received {"connection_id":163387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 11:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":163387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:57:13] local.INFO: TCP Data received {"connection_id":163387,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:57:13] local.INFO: Processing buffer {"connection_id":163387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:57:13] local.INFO: IMEI packet received {"connection_id":163387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 11:57:13] local.INFO: IMEI acknowledgment sent {"connection_id":163387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:57:14] local.INFO: TCP Data received {"connection_id":163387,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:57:14] local.INFO: Processing buffer {"connection_id":163387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:57:14] local.INFO: IMEI packet received {"connection_id":163387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 11:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":163387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:57:15] local.INFO: TCP Data received {"connection_id":163387,"ip":"42.106.6.14","data_length":1348,"data_hex":"000000000000030f8e0a000001a04708faf0012d34c14006aa4840000f00e628..."} 
[2026-08-28 11:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163387,"packet_length":1348,"packet_hex":"000000000000030f8e0a000001a04708faf0012d34c14006aa4840000f00e628..."} 
[2026-08-28 11:57:15] local.INFO: Processing buffer {"connection_id":163387,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a000001a04708faf0012d34c14006aa4840000f00e628..."} 
[2026-08-28 11:57:15] local.INFO: Packet analysis {"connection_id":163387,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a000001a04708"} 
[2026-08-28 11:57:15] local.INFO: Extracted packet for processing {"connection_id":163387,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a04708"} 
[2026-08-28 11:57:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11:57:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701853440001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:57:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:57:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11: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-28 11:57:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787898166000,"timestamp_ms":1787898166000,"timestamp_seconds":1787898166,"priority":1,"record_length":96,"hex_timestamp":"000001a04708faf0"} 
[2026-08-28 11: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-28 11:57:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11: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-28 11: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-28 11: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-28 11:57:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:57:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:57:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:57:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:57: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-28 11:57:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:57:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:57:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701853440001,"66":25375,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-28 11:57:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:57:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:57:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701853440001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:57:15] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 11:57:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11: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-28 11:57:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:57:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701853440001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:57:15] 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":707292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:57:15] local.INFO: GPS data processed {"connection_id":163387,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:57:15] local.INFO: Acknowledgment sent {"connection_id":163387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:57:15] local.INFO: Packet analysis {"connection_id":163387,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a04708"} 
[2026-08-28 11:57:15] local.INFO: Incomplete packet, waiting for more data {"connection_id":163387,"needed":795,"available":553} 
[2026-08-28 11:57:36] local.INFO: TCP Data received {"connection_id":163660,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:57:36] local.INFO: Processing buffer {"connection_id":163660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:57:36] local.INFO: IMEI packet received {"connection_id":163660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 11:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":163660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:57:41] local.INFO: TCP Data received {"connection_id":163660,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:57:41] local.INFO: Processing buffer {"connection_id":163660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:57:41] local.INFO: IMEI packet received {"connection_id":163660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 11:57:41] local.INFO: IMEI acknowledgment sent {"connection_id":163660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:57:42] local.INFO: TCP Data received {"connection_id":163660,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a04708faf0012d34c14006aa4840000f00e628..."} 
[2026-08-28 11:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04708faf0012d34c14006aa4840000f00e628..."} 
[2026-08-28 11:57:42] local.INFO: Processing buffer {"connection_id":163660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04708faf0012d34c14006aa4840000f00e628..."} 
[2026-08-28 11:57:42] local.INFO: Packet analysis {"connection_id":163660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04708"} 
[2026-08-28 11:57:42] local.INFO: Extracted packet for processing {"connection_id":163660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04708"} 
[2026-08-28 11:57:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701853440001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:57:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:57:42] 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-28 11:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787898166000,"timestamp_ms":1787898166000,"timestamp_seconds":1787898166,"priority":1,"record_length":96,"hex_timestamp":"000001a04708faf0"} 
[2026-08-28 11:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:57:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 11: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-28 11:57:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:57: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-28 11:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701853440001,"66":25375,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-28 11:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701853440001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:57:42] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 11:57:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11: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-28 11:57:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701853440001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":163660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:57:42] local.INFO: GPS data processed {"connection_id":163660,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:57:42] local.INFO: Acknowledgment sent {"connection_id":163660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:57:46] local.INFO: TCP Data received {"connection_id":163660,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a04708faf0012d34c14006aa4840000f00e628..."} 
[2026-08-28 11:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04708faf0012d34c14006aa4840000f00e628..."} 
[2026-08-28 11:57:46] local.INFO: Processing buffer {"connection_id":163660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04708faf0012d34c14006aa4840000f00e628..."} 
[2026-08-28 11:57:46] local.INFO: Packet analysis {"connection_id":163660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04708"} 
[2026-08-28 11:57:46] local.INFO: Extracted packet for processing {"connection_id":163660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04708"} 
[2026-08-28 11:57:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11: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-28 11:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701853440001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:57:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:57: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-28 11:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787898166000,"timestamp_ms":1787898166000,"timestamp_seconds":1787898166,"priority":1,"record_length":96,"hex_timestamp":"000001a04708faf0"} 
[2026-08-28 11: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-28 11:57:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 11:57: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-28 11: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-28 11: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-28 11:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:57: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-28 11:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701853440001,"66":25375,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,81,24,16,45]} 
[2026-08-28 11:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701853440001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:57:46] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 11:57:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:57: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-28 11:57:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701853440001,"power":25375,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":163660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:57:46] local.INFO: GPS data processed {"connection_id":163660,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:57:46] local.INFO: Acknowledgment sent {"connection_id":163660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:58:31] local.INFO: TCP Data received {"connection_id":164658,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:58:31] local.INFO: Processing buffer {"connection_id":164658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:58:31] local.INFO: IMEI packet received {"connection_id":164658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 11:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":164658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:58:36] local.INFO: TCP Data received {"connection_id":164658,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:58:36] local.INFO: Processing buffer {"connection_id":164658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:58:36] local.INFO: IMEI packet received {"connection_id":164658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 11:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":164658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:58:37] local.INFO: TCP Data received {"connection_id":164658,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0470d92b8012d34c14006aa4840000c00e62b..."} 
[2026-08-28 11:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0470d92b8012d34c14006aa4840000c00e62b..."} 
[2026-08-28 11:58:37] local.INFO: Processing buffer {"connection_id":164658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0470d92b8012d34c14006aa4840000c00e62b..."} 
[2026-08-28 11:58:37] local.INFO: Packet analysis {"connection_id":164658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0470d"} 
[2026-08-28 11:58:37] local.INFO: Extracted packet for processing {"connection_id":164658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0470d"} 
[2026-08-28 11:58:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701930496001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787898467000,"timestamp_ms":1787898467000,"timestamp_seconds":1787898467,"priority":1,"record_length":96,"hex_timestamp":"000001a0470d92b8"} 
[2026-08-28 11:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 11:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701930496001,"66":25288,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 11:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701930496001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:58:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 11:58:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:58: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-28 11:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701930496001,"power":25288,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":164658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:58:37] local.INFO: GPS data processed {"connection_id":164658,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:58:37] local.INFO: Acknowledgment sent {"connection_id":164658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:59:08] local.INFO: TCP Data received {"connection_id":164658,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0470d92b8012d34c14006aa4840000c00e62b..."} 
[2026-08-28 11:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0470d92b8012d34c14006aa4840000c00e62b..."} 
[2026-08-28 11:59:08] local.INFO: Processing buffer {"connection_id":164658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0470d92b8012d34c14006aa4840000c00e62b..."} 
[2026-08-28 11:59:08] local.INFO: Packet analysis {"connection_id":164658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0470d"} 
[2026-08-28 11:59:08] local.INFO: Extracted packet for processing {"connection_id":164658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0470d"} 
[2026-08-28 11:59:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701930496001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:59: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-28 11:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787898467000,"timestamp_ms":1787898467000,"timestamp_seconds":1787898467,"priority":1,"record_length":96,"hex_timestamp":"000001a0470d92b8"} 
[2026-08-28 11:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:59:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 11:59:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:59:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:59:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701930496001,"66":25288,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 11:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701930496001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:59:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 11:59:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:59: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-28 11:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701930496001,"power":25288,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":164658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:59:08] local.INFO: GPS data processed {"connection_id":164658,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:59:08] local.INFO: Acknowledgment sent {"connection_id":164658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 11:59:31] local.INFO: TCP Data received {"connection_id":166006,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:59:31] local.INFO: Processing buffer {"connection_id":166006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:59:31] local.INFO: IMEI packet received {"connection_id":166006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 11:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":166006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 11:59:35] local.INFO: TCP Data received {"connection_id":166006,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:59:36] local.INFO: Processing buffer {"connection_id":166006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 11:59:36] local.INFO: IMEI packet received {"connection_id":166006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 11:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":166006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 11:59:36] local.INFO: TCP Data received {"connection_id":166006,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0470d92b8012d34c14006aa4840000c00e62b..."} 
[2026-08-28 11:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0470d92b8012d34c14006aa4840000c00e62b..."} 
[2026-08-28 11:59:37] local.INFO: Processing buffer {"connection_id":166006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0470d92b8012d34c14006aa4840000c00e62b..."} 
[2026-08-28 11:59:37] local.INFO: Packet analysis {"connection_id":166006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0470d"} 
[2026-08-28 11:59:37] local.INFO: Extracted packet for processing {"connection_id":166006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0470d"} 
[2026-08-28 11:59:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 11:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 11:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701930496001,"note":"Value kept but may cause issues"} 
[2026-08-28 11:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 11:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 11:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 11:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787898467000,"timestamp_ms":1787898467000,"timestamp_seconds":1787898467,"priority":1,"record_length":96,"hex_timestamp":"000001a0470d92b8"} 
[2026-08-28 11:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 11:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 11:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 11:59:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 11:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 11:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 11:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 11:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":166006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 11:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":166006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":166006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 11:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 11:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 11:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 11:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701930496001,"66":25288,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 11:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 11:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 11:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701930496001,"description":"Unknown IO ID 0"} 
[2026-08-28 11:59:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 11:59:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 11:59: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-28 11:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 11:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701930496001,"power":25288,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 11:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":166006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 11:59:37] local.INFO: GPS data processed {"connection_id":166006,"processed":1,"errors":0,"total":1} 
[2026-08-28 11:59:37] local.INFO: Acknowledgment sent {"connection_id":166006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:00:07] local.INFO: TCP Data received {"connection_id":166006,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0470d92b8012d34c14006aa4840000c00e62b..."} 
[2026-08-28 12:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0470d92b8012d34c14006aa4840000c00e62b..."} 
[2026-08-28 12:00:07] local.INFO: Processing buffer {"connection_id":166006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0470d92b8012d34c14006aa4840000c00e62b..."} 
[2026-08-28 12:00:07] local.INFO: Packet analysis {"connection_id":166006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0470d"} 
[2026-08-28 12:00:07] local.INFO: Extracted packet for processing {"connection_id":166006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0470d"} 
[2026-08-28 12:00:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701930496001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:00:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787898467000,"timestamp_ms":1787898467000,"timestamp_seconds":1787898467,"priority":1,"record_length":96,"hex_timestamp":"000001a0470d92b8"} 
[2026-08-28 12:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:00:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 12:00:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:00:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":166006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":166006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":166006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:00:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701930496001,"66":25288,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701930496001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:00:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:00:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:00: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-28 12:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701930496001,"power":25288,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:00:08] local.INFO: DEBUG: GPS processor result {"connection_id":166006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:00:08] local.INFO: GPS data processed {"connection_id":166006,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:00:08] local.INFO: Acknowledgment sent {"connection_id":166006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:00:31] local.INFO: TCP Data received {"connection_id":163661,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:00:31] local.INFO: Processing buffer {"connection_id":163661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:00:31] local.INFO: IMEI packet received {"connection_id":163661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 12:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":163661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:00:39] local.INFO: TCP Data received {"connection_id":163661,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:00:39] local.INFO: Processing buffer {"connection_id":163661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:00:39] local.INFO: IMEI packet received {"connection_id":163661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 12:00:39] local.INFO: IMEI acknowledgment sent {"connection_id":163661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:00:40] local.INFO: TCP Data received {"connection_id":163661,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0470d92b8012d34c14006aa4840000c00e62b..."} 
[2026-08-28 12:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0470d92b8012d34c14006aa4840000c00e62b..."} 
[2026-08-28 12:00:40] local.INFO: Processing buffer {"connection_id":163661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0470d92b8012d34c14006aa4840000c00e62b..."} 
[2026-08-28 12:00:40] local.INFO: Packet analysis {"connection_id":163661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0470d"} 
[2026-08-28 12:00:40] local.INFO: Extracted packet for processing {"connection_id":163661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0470d"} 
[2026-08-28 12:00:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:00:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:00:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701930496001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:00:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:00:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:00: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-28 12:00:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787898467000,"timestamp_ms":1787898467000,"timestamp_seconds":1787898467,"priority":1,"record_length":96,"hex_timestamp":"000001a0470d92b8"} 
[2026-08-28 12:00:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:00:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:00:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 12:00:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:00:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:00:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:00:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:00:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:00:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:00:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:00:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:00:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:00:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:00:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701930496001,"66":25288,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:00:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:00:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:00:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701930496001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:00:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:00:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:00: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-28 12:00:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:00:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701930496001,"power":25288,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:00:40] local.INFO: DEBUG: GPS processor result {"connection_id":163661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:00:40] local.INFO: GPS data processed {"connection_id":163661,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:00:40] local.INFO: Acknowledgment sent {"connection_id":163661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:01:12] local.INFO: TCP Data received {"connection_id":163661,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0470d92b8012d34c14006aa4840000c00e62b..."} 
[2026-08-28 12:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0470d92b8012d34c14006aa4840000c00e62b..."} 
[2026-08-28 12:01:12] local.INFO: Processing buffer {"connection_id":163661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0470d92b8012d34c14006aa4840000c00e62b..."} 
[2026-08-28 12:01:12] local.INFO: Packet analysis {"connection_id":163661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0470d"} 
[2026-08-28 12:01:12] local.INFO: Extracted packet for processing {"connection_id":163661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0470d"} 
[2026-08-28 12:01:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:01:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701930496001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:01:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:01:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:01: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-28 12:01:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787898467000,"timestamp_ms":1787898467000,"timestamp_seconds":1787898467,"priority":1,"record_length":96,"hex_timestamp":"000001a0470d92b8"} 
[2026-08-28 12:01:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:01:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 12:01:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:01:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:01:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:01:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:01:12] local.INFO: Teltonika packet parsed successfully {"connection_id":163661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:01:12] local.INFO: Passing IMEI to GPS processor {"connection_id":163661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:01:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":163661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:01:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:01:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:01:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:01:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701930496001,"66":25288,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:01:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:01:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:01:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701930496001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:01:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:01:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:01: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-28 12:01:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:01:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701930496001,"power":25288,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:01:12] local.INFO: DEBUG: GPS processor result {"connection_id":163661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:01:12] local.INFO: GPS data processed {"connection_id":163661,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:01:12] local.INFO: Acknowledgment sent {"connection_id":163661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:01:16] local.INFO: TCP Data received {"connection_id":164659,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:01:16] local.INFO: Processing buffer {"connection_id":164659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:01:16] local.INFO: IMEI packet received {"connection_id":164659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 12:01:16] local.INFO: IMEI acknowledgment sent {"connection_id":164659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:01:21] local.INFO: TCP Data received {"connection_id":164659,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:01:21] local.INFO: Processing buffer {"connection_id":164659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:01:21] local.INFO: IMEI packet received {"connection_id":164659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 12:01:21] local.INFO: IMEI acknowledgment sent {"connection_id":164659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:01:31] local.INFO: TCP Data received {"connection_id":163389,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:01:31] local.INFO: Processing buffer {"connection_id":163389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:01:31] local.INFO: IMEI packet received {"connection_id":163389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 12:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":163389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:01:35] local.INFO: TCP Data received {"connection_id":163389,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:01:35] local.INFO: Processing buffer {"connection_id":163389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:01:35] local.INFO: IMEI packet received {"connection_id":163389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 12:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":163389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:01:36] local.INFO: TCP Data received {"connection_id":163389,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0470d92b8012d34c14006aa4840000c00e62b..."} 
[2026-08-28 12:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0470d92b8012d34c14006aa4840000c00e62b..."} 
[2026-08-28 12:01:36] local.INFO: Processing buffer {"connection_id":163389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0470d92b8012d34c14006aa4840000c00e62b..."} 
[2026-08-28 12:01:36] local.INFO: Packet analysis {"connection_id":163389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0470d"} 
[2026-08-28 12:01:36] local.INFO: Extracted packet for processing {"connection_id":163389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0470d"} 
[2026-08-28 12:01:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701930496001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787898467000,"timestamp_ms":1787898467000,"timestamp_seconds":1787898467,"priority":1,"record_length":96,"hex_timestamp":"000001a0470d92b8"} 
[2026-08-28 12:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 12:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:01:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701930496001,"66":25288,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701930496001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:01:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:01:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701930496001,"power":25288,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:01:36] 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":707301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:01:36] local.INFO: GPS data processed {"connection_id":163389,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:01:36] local.INFO: Acknowledgment sent {"connection_id":163389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:01:39] local.INFO: TCP Data received {"connection_id":164659,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0470d7760012d1969c0071fecf00040012328..."} 
[2026-08-28 12:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0470d7760012d1969c0071fecf00040012328..."} 
[2026-08-28 12:01:39] local.INFO: Processing buffer {"connection_id":164659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0470d7760012d1969c0071fecf00040012328..."} 
[2026-08-28 12:01:39] local.INFO: Packet analysis {"connection_id":164659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0470d"} 
[2026-08-28 12:01:39] local.INFO: Extracted packet for processing {"connection_id":164659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0470d"} 
[2026-08-28 12:01:39] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532784,"longitude_deg":75.6640192,"latitude_deg":11.9532784,"altitude":64,"angle":291,"satellites":40,"speed":8,"hex_longitude":"2d1969c0","hex_latitude":"071fecf0","is_valid_coordinates":true} 
[2026-08-28 12:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:01:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702004992001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:01:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883819852759040,"note":"Value kept but may cause issues"} 
[2026-08-28 12:01:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832050285265876992,"note":"Value kept but may cause issues"} 
[2026-08-28 12:01:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:01:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787898460000,"timestamp_ms":1787898460000,"timestamp_seconds":1787898460,"priority":1,"record_length":96,"hex_timestamp":"000001a0470d7760"} 
[2026-08-28 12:01:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:01:39] 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-28 12:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-28 12:01:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:01:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:01:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:01:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:01:39] local.INFO: Teltonika packet parsed successfully {"connection_id":164659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:01:39] local.INFO: Passing IMEI to GPS processor {"connection_id":164659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:01:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":164659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:01:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:01:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:01:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:01:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702004992001,"66":13222,"102":206,"83":41984,"24":8,"16":15883819852759040,"45":1832050285265876992},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 12:01:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:01:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:01:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702004992001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:01:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:01:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:01:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883819852759040,"km_value":15883819852759.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:01:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832050285265876992,"description":"Unknown IO ID 45"} 
[2026-08-28 12:01:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702004992001,"power":13222,"unknown_102":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1832050285265876992}} 
[2026-08-28 12:01:39] local.INFO: DEBUG: GPS processor result {"connection_id":164659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707302,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:01:39] local.INFO: GPS data processed {"connection_id":164659,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:01:39] local.INFO: Acknowledgment sent {"connection_id":164659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:02:07] local.INFO: TCP Data received {"connection_id":163389,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0470d92b8012d34c14006aa4840000c00e62b..."} 
[2026-08-28 12:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0470d92b8012d34c14006aa4840000c00e62b..."} 
[2026-08-28 12:02:07] local.INFO: Processing buffer {"connection_id":163389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0470d92b8012d34c14006aa4840000c00e62b..."} 
[2026-08-28 12:02:07] local.INFO: Packet analysis {"connection_id":163389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0470d"} 
[2026-08-28 12:02:07] local.INFO: Extracted packet for processing {"connection_id":163389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0470d"} 
[2026-08-28 12:02:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701930496001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787898467000,"timestamp_ms":1787898467000,"timestamp_seconds":1787898467,"priority":1,"record_length":96,"hex_timestamp":"000001a0470d92b8"} 
[2026-08-28 12:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:02:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 12:02:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:02:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":163389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":163389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":163389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701930496001,"66":25288,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701930496001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:02:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:02:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:02: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-28 12:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701930496001,"power":25288,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:02:07] 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":707303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:02:07] local.INFO: GPS data processed {"connection_id":163389,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:02:07] local.INFO: Acknowledgment sent {"connection_id":163389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:02:11] local.INFO: TCP Data received {"connection_id":163662,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163662,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:02:11] local.INFO: Processing buffer {"connection_id":163662,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:02:11] local.INFO: IMEI packet received {"connection_id":163662,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 12:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":163662,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:02:16] local.INFO: TCP Data received {"connection_id":163662,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163662,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:02:16] local.INFO: Processing buffer {"connection_id":163662,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:02:16] local.INFO: IMEI packet received {"connection_id":163662,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 12:02:16] local.INFO: IMEI acknowledgment sent {"connection_id":163662,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:02:17] local.INFO: TCP Data received {"connection_id":163662,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0470d7b48012d196900071fed600040014128..."} 
[2026-08-28 12:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0470d7b48012d196900071fed600040014128..."} 
[2026-08-28 12:02:17] local.INFO: Processing buffer {"connection_id":163662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0470d7b48012d196900071fed600040014128..."} 
[2026-08-28 12:02:17] local.INFO: Packet analysis {"connection_id":163662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0470d"} 
[2026-08-28 12:02:17] local.INFO: Extracted packet for processing {"connection_id":163662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0470d"} 
[2026-08-28 12:02:17] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532896,"longitude_deg":75.664,"latitude_deg":11.9532896,"altitude":64,"angle":321,"satellites":40,"speed":8,"hex_longitude":"2d196900","hex_latitude":"071fed60","is_valid_coordinates":true} 
[2026-08-28 12: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-28 12:02:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702005760001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:02:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883828442693632,"note":"Value kept but may cause issues"} 
[2026-08-28 12:02:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335742976,"note":"Value kept but may cause issues"} 
[2026-08-28 12:02: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-28 12:02:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787898461000,"timestamp_ms":1787898461000,"timestamp_seconds":1787898461,"priority":1,"record_length":96,"hex_timestamp":"000001a0470d7b48"} 
[2026-08-28 12: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-28 12:02:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 12: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":166,"data_length":795,"current_offset":136} 
[2026-08-28 12:02:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12: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-28 12: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-28 12:02:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:02:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:02:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:02:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:02: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-28 12:02:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:02:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:02:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702005760001,"66":13222,"102":206,"83":41984,"24":8,"16":15883828442693632,"45":1831205860335742976},"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-28 12:02:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:02:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:02:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702005760001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:02:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:02:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:02:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883828442693632,"km_value":15883828442693.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:02:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335742976,"description":"Unknown IO ID 45"} 
[2026-08-28 12:02:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702005760001,"power":13222,"unknown_102":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1831205860335742976}} 
[2026-08-28 12:02:17] local.INFO: DEBUG: GPS processor result {"connection_id":163662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707304,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:02:17] local.INFO: GPS data processed {"connection_id":163662,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:02:17] local.INFO: Acknowledgment sent {"connection_id":163662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:02:31] local.INFO: TCP Data received {"connection_id":166009,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:02:31] local.INFO: Processing buffer {"connection_id":166009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:02:31] local.INFO: IMEI packet received {"connection_id":166009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 12:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":166009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:02:36] local.INFO: TCP Data received {"connection_id":166009,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:02:36] local.INFO: Processing buffer {"connection_id":166009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:02:36] local.INFO: IMEI packet received {"connection_id":166009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 12:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":166009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:02:37] local.INFO: TCP Data received {"connection_id":166009,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0470d92b8012d34c14006aa4840000c00e62b..."} 
[2026-08-28 12:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0470d92b8012d34c14006aa4840000c00e62b..."} 
[2026-08-28 12:02:37] local.INFO: Processing buffer {"connection_id":166009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0470d92b8012d34c14006aa4840000c00e62b..."} 
[2026-08-28 12:02:37] local.INFO: Packet analysis {"connection_id":166009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0470d"} 
[2026-08-28 12:02:37] local.INFO: Extracted packet for processing {"connection_id":166009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0470d"} 
[2026-08-28 12:02:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701930496001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787898467000,"timestamp_ms":1787898467000,"timestamp_seconds":1787898467,"priority":1,"record_length":96,"hex_timestamp":"000001a0470d92b8"} 
[2026-08-28 12:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 12:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":166009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":166009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":166009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701930496001,"66":25288,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701930496001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:02:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:02:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:02: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-28 12:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701930496001,"power":25288,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":166009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:02:37] local.INFO: GPS data processed {"connection_id":166009,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:02:37] local.INFO: Acknowledgment sent {"connection_id":166009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:02:48] local.INFO: TCP Data received {"connection_id":163662,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0470dcd50012d1966c0071ff0380042014228..."} 
[2026-08-28 12:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0470dcd50012d1966c0071ff0380042014228..."} 
[2026-08-28 12:02:48] local.INFO: Processing buffer {"connection_id":163662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0470dcd50012d1966c0071ff0380042014228..."} 
[2026-08-28 12:02:48] local.INFO: Packet analysis {"connection_id":163662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0470d"} 
[2026-08-28 12:02:48] local.INFO: Extracted packet for processing {"connection_id":163662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0470d"} 
[2026-08-28 12:02:48] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533624,"longitude_deg":75.6639424,"latitude_deg":11.9533624,"altitude":66,"angle":322,"satellites":40,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-28 12: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-28 12:02:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702006016001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:02:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:02:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103238656,"note":"Value kept but may cause issues"} 
[2026-08-28 12:02:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:02:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787898482000,"timestamp_ms":1787898482000,"timestamp_seconds":1787898482,"priority":1,"record_length":96,"hex_timestamp":"000001a0470dcd50"} 
[2026-08-28 12: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-28 12:02:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 12:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-28 12:02:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12: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-28 12: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-28 12:02:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:02:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:02:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:02:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:02:48] 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-28 12:02:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:02:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:02:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702006016001,"66":12863,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1830994754103238656},"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-28 12:02:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:02:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:02:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702006016001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:02:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:02:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:02:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:02:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103238656,"description":"Unknown IO ID 45"} 
[2026-08-28 12:02:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702006016001,"power":12863,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830994754103238656}} 
[2026-08-28 12:02:48] local.INFO: DEBUG: GPS processor result {"connection_id":163662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707306,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:02:48] local.INFO: GPS data processed {"connection_id":163662,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:02:48] local.INFO: Acknowledgment sent {"connection_id":163662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:03:08] local.INFO: TCP Data received {"connection_id":166009,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0470d92b8012d34c14006aa4840000c00e62b..."} 
[2026-08-28 12:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0470d92b8012d34c14006aa4840000c00e62b..."} 
[2026-08-28 12:03:08] local.INFO: Processing buffer {"connection_id":166009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0470d92b8012d34c14006aa4840000c00e62b..."} 
[2026-08-28 12:03:08] local.INFO: Packet analysis {"connection_id":166009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0470d"} 
[2026-08-28 12:03:08] local.INFO: Extracted packet for processing {"connection_id":166009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0470d"} 
[2026-08-28 12:03:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457701930496001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:03: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-28 12:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787898467000,"timestamp_ms":1787898467000,"timestamp_seconds":1787898467,"priority":1,"record_length":96,"hex_timestamp":"000001a0470d92b8"} 
[2026-08-28 12:03:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:03:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 12:03:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:03:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:03:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":166009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":166009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":166009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:03:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457701930496001,"66":25288,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457701930496001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:03:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:03:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:03: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-28 12:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457701930496001,"power":25288,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":166009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:03:08] local.INFO: GPS data processed {"connection_id":166009,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:03:08] local.INFO: Acknowledgment sent {"connection_id":166009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:03:11] local.INFO: TCP Data received {"connection_id":163663,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:03:11] local.INFO: Processing buffer {"connection_id":163663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:03:11] local.INFO: IMEI packet received {"connection_id":163663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 12:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":163663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:03:16] local.INFO: TCP Data received {"connection_id":163663,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:03:16] local.INFO: Processing buffer {"connection_id":163663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:03:16] local.INFO: IMEI packet received {"connection_id":163663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 12:03:16] local.INFO: IMEI acknowledgment sent {"connection_id":163663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:03:17] local.INFO: TCP Data received {"connection_id":163663,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0470e1f58012d1966c0071ff038004201422a..."} 
[2026-08-28 12:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0470e1f58012d1966c0071ff038004201422a..."} 
[2026-08-28 12:03:17] local.INFO: Processing buffer {"connection_id":163663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0470e1f58012d1966c0071ff038004201422a..."} 
[2026-08-28 12:03:17] local.INFO: Packet analysis {"connection_id":163663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0470e"} 
[2026-08-28 12:03:17] local.INFO: Extracted packet for processing {"connection_id":163663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0470e"} 
[2026-08-28 12:03:17] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533624,"longitude_deg":75.6639424,"latitude_deg":11.9533624,"altitude":66,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-28 12:03:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:03:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702011392001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:03:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:03:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405826048,"note":"Value kept but may cause issues"} 
[2026-08-28 12:03:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:03:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787898503000,"timestamp_ms":1787898503000,"timestamp_seconds":1787898503,"priority":1,"record_length":96,"hex_timestamp":"000001a0470e1f58"} 
[2026-08-28 12:03:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:03:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 12:03:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-28 12:03:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:03:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:03:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:03:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:03:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:03:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:03:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:03: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-28 12:03:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:03:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:03:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702011392001,"66":12972,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1830361435405826048},"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-28 12:03:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:03:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:03:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702011392001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:03:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:03:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:03:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:03:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405826048,"description":"Unknown IO ID 45"} 
[2026-08-28 12:03:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702011392001,"power":12972,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405826048}} 
[2026-08-28 12:03:17] 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":707308,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:03:17] local.INFO: GPS data processed {"connection_id":163663,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:03:17] local.INFO: Acknowledgment sent {"connection_id":163663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:03:36] local.INFO: TCP Data received {"connection_id":164660,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:03:36] local.INFO: Processing buffer {"connection_id":164660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:03:36] local.INFO: IMEI packet received {"connection_id":164660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 12:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":164660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:03:41] local.INFO: TCP Data received {"connection_id":164660,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:03:41] local.INFO: Processing buffer {"connection_id":164660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:03:41] local.INFO: IMEI packet received {"connection_id":164660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 12:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":164660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:03:42] local.INFO: TCP Data received {"connection_id":164660,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a047122a80012d34c14006aa4840001200e629..."} 
[2026-08-28 12:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047122a80012d34c14006aa4840001200e629..."} 
[2026-08-28 12:03:42] local.INFO: Processing buffer {"connection_id":164660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047122a80012d34c14006aa4840001200e629..."} 
[2026-08-28 12:03:42] local.INFO: Packet analysis {"connection_id":164660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04712"} 
[2026-08-28 12:03:42] local.INFO: Extracted packet for processing {"connection_id":164660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04712"} 
[2026-08-28 12:03:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702007552001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:03:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12: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-28 12:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787898768000,"timestamp_ms":1787898768000,"timestamp_seconds":1787898768,"priority":1,"record_length":96,"hex_timestamp":"000001a047122a80"} 
[2026-08-28 12:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12: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-28 12:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 12:03:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:03:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":164660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":164660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":164660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:03: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-28 12:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702007552001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702007552001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:03:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:03:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12: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-28 12:03:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702007552001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":164660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:03:42] local.INFO: GPS data processed {"connection_id":164660,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:03:42] local.INFO: Acknowledgment sent {"connection_id":164660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:03:48] local.INFO: TCP Data received {"connection_id":163663,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0470e7160012d1966c0071ff038004201422a..."} 
[2026-08-28 12:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0470e7160012d1966c0071ff038004201422a..."} 
[2026-08-28 12:03:48] local.INFO: Processing buffer {"connection_id":163663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0470e7160012d1966c0071ff038004201422a..."} 
[2026-08-28 12:03:48] local.INFO: Packet analysis {"connection_id":163663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0470e"} 
[2026-08-28 12:03:48] local.INFO: Extracted packet for processing {"connection_id":163663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0470e"} 
[2026-08-28 12:03:48] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533624,"longitude_deg":75.6639424,"latitude_deg":11.9533624,"altitude":66,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-28 12: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-28 12:03:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702016768001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:03:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:03:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405826048,"note":"Value kept but may cause issues"} 
[2026-08-28 12:03:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:03:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787898524000,"timestamp_ms":1787898524000,"timestamp_seconds":1787898524,"priority":1,"record_length":96,"hex_timestamp":"000001a0470e7160"} 
[2026-08-28 12: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-28 12:03:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 12: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-28 12:03:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12: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-28 12: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-28 12:03:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:03:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:03:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:03:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:03:48] 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-28 12:03:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:03:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:03:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702016768001,"66":12961,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1830361435405826048},"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-28 12:03:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:03:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:03:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702016768001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:03:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:03:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:03:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:03:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405826048,"description":"Unknown IO ID 45"} 
[2026-08-28 12:03:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702016768001,"power":12961,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405826048}} 
[2026-08-28 12:03:48] 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":707310,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:03:48] local.INFO: GPS data processed {"connection_id":163663,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:03:48] local.INFO: Acknowledgment sent {"connection_id":163663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:04:11] local.INFO: TCP Data received {"connection_id":166010,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166010,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:04:11] local.INFO: Processing buffer {"connection_id":166010,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:04:11] local.INFO: IMEI packet received {"connection_id":166010,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 12:04:11] local.INFO: IMEI acknowledgment sent {"connection_id":166010,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:04:13] local.INFO: TCP Data received {"connection_id":164660,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a047122a80012d34c14006aa4840001200e629..."} 
[2026-08-28 12:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047122a80012d34c14006aa4840001200e629..."} 
[2026-08-28 12:04:13] local.INFO: Processing buffer {"connection_id":164660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047122a80012d34c14006aa4840001200e629..."} 
[2026-08-28 12:04:13] local.INFO: Packet analysis {"connection_id":164660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04712"} 
[2026-08-28 12:04:13] local.INFO: Extracted packet for processing {"connection_id":164660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04712"} 
[2026-08-28 12:04:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12: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-28 12:04:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702007552001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:04:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:04:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12: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-28 12:04:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787898768000,"timestamp_ms":1787898768000,"timestamp_seconds":1787898768,"priority":1,"record_length":96,"hex_timestamp":"000001a047122a80"} 
[2026-08-28 12: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-28 12: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-28 12: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 12:04:13] 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-28 12: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-28 12: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-28 12:04:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:04:13] local.INFO: Teltonika packet parsed successfully {"connection_id":164660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:04:13] local.INFO: Passing IMEI to GPS processor {"connection_id":164660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:04:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":164660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:04: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-28 12:04:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:04:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:04:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702007552001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:04:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:04:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:04:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702007552001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:04:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:04:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12: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-28 12:04:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:04:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702007552001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:04:13] local.INFO: DEBUG: GPS processor result {"connection_id":164660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:04:13] local.INFO: GPS data processed {"connection_id":164660,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:04:13] local.INFO: Acknowledgment sent {"connection_id":164660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:04:16] local.INFO: TCP Data received {"connection_id":166010,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166010,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:04:16] local.INFO: Processing buffer {"connection_id":166010,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:04:16] local.INFO: IMEI packet received {"connection_id":166010,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 12:04:16] local.INFO: IMEI acknowledgment sent {"connection_id":166010,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:04:17] local.INFO: TCP Data received {"connection_id":166010,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0470ec368012d1966c0071ff038004201422a..."} 
[2026-08-28 12:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0470ec368012d1966c0071ff038004201422a..."} 
[2026-08-28 12:04:17] local.INFO: Processing buffer {"connection_id":166010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0470ec368012d1966c0071ff038004201422a..."} 
[2026-08-28 12:04:17] local.INFO: Packet analysis {"connection_id":166010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0470e"} 
[2026-08-28 12:04:17] local.INFO: Extracted packet for processing {"connection_id":166010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0470e"} 
[2026-08-28 12:04:17] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533624,"longitude_deg":75.6639424,"latitude_deg":11.9533624,"altitude":66,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-28 12: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-28 12:04:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702022144001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:04:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:04:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405826048,"note":"Value kept but may cause issues"} 
[2026-08-28 12:04: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-28 12:04:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787898545000,"timestamp_ms":1787898545000,"timestamp_seconds":1787898545,"priority":1,"record_length":96,"hex_timestamp":"000001a0470ec368"} 
[2026-08-28 12: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-28 12:04:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 12: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-28 12:04:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12: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-28 12: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-28 12:04:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:04:17] local.INFO: Teltonika packet parsed successfully {"connection_id":166010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:04:17] local.INFO: Passing IMEI to GPS processor {"connection_id":166010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:04:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":166010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:04: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-28 12:04:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:04:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:04:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702022144001,"66":12917,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1830361435405826048},"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-28 12:04:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:04:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:04:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702022144001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:04:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:04:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:04:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:04:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405826048,"description":"Unknown IO ID 45"} 
[2026-08-28 12:04:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702022144001,"power":12917,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405826048}} 
[2026-08-28 12:04:17] local.INFO: DEBUG: GPS processor result {"connection_id":166010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707312,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:04:17] local.INFO: GPS data processed {"connection_id":166010,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:04:17] local.INFO: Acknowledgment sent {"connection_id":166010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:04:31] local.INFO: TCP Data received {"connection_id":163664,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:04:31] local.INFO: Processing buffer {"connection_id":163664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:04:31] local.INFO: IMEI packet received {"connection_id":163664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 12:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":163664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:04:36] local.INFO: TCP Data received {"connection_id":163664,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:04:36] local.INFO: Processing buffer {"connection_id":163664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:04:36] local.INFO: IMEI packet received {"connection_id":163664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 12:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":163664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:04:37] local.INFO: TCP Data received {"connection_id":163664,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a047122a80012d34c14006aa4840001200e629..."} 
[2026-08-28 12:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047122a80012d34c14006aa4840001200e629..."} 
[2026-08-28 12:04:37] local.INFO: Processing buffer {"connection_id":163664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047122a80012d34c14006aa4840001200e629..."} 
[2026-08-28 12:04:37] local.INFO: Packet analysis {"connection_id":163664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04712"} 
[2026-08-28 12:04:37] local.INFO: Extracted packet for processing {"connection_id":163664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04712"} 
[2026-08-28 12:04:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702007552001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787898768000,"timestamp_ms":1787898768000,"timestamp_seconds":1787898768,"priority":1,"record_length":96,"hex_timestamp":"000001a047122a80"} 
[2026-08-28 12:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 12:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702007552001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702007552001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:04:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:04:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:04: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-28 12:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702007552001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":163664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:04:37] local.INFO: GPS data processed {"connection_id":163664,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:04:37] local.INFO: Acknowledgment sent {"connection_id":163664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:04:48] local.INFO: TCP Data received {"connection_id":166010,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0470ef630012d1966c0071ff0380042014227..."} 
[2026-08-28 12:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0470ef630012d1966c0071ff0380042014227..."} 
[2026-08-28 12:04:48] local.INFO: Processing buffer {"connection_id":166010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0470ef630012d1966c0071ff0380042014227..."} 
[2026-08-28 12:04:48] local.INFO: Packet analysis {"connection_id":166010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0470e"} 
[2026-08-28 12:04:48] local.INFO: Extracted packet for processing {"connection_id":166010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0470e"} 
[2026-08-28 12:04:48] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533624,"longitude_deg":75.6639424,"latitude_deg":11.9533624,"altitude":66,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-28 12:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:04:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702027520001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:04:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:04:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405826048,"note":"Value kept but may cause issues"} 
[2026-08-28 12:04:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:04:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787898558000,"timestamp_ms":1787898558000,"timestamp_seconds":1787898558,"priority":1,"record_length":96,"hex_timestamp":"000001a0470ef630"} 
[2026-08-28 12: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-28 12:04:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 12: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-28 12:04:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12: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-28 12: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-28 12:04:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:04:48] local.INFO: Teltonika packet parsed successfully {"connection_id":166010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:04:48] local.INFO: Passing IMEI to GPS processor {"connection_id":166010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:04:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":166010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:04:48] 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-28 12:04:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:04:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:04:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702027520001,"66":12939,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1830361435405826048},"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-28 12:04:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:04:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:04:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702027520001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:04:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:04:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:04:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:04:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405826048,"description":"Unknown IO ID 45"} 
[2026-08-28 12:04:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702027520001,"power":12939,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405826048}} 
[2026-08-28 12:04:48] local.INFO: DEBUG: GPS processor result {"connection_id":166010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707314,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:04:48] local.INFO: GPS data processed {"connection_id":166010,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:04:48] local.INFO: Acknowledgment sent {"connection_id":166010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:05:08] local.INFO: TCP Data received {"connection_id":163664,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a047122a80012d34c14006aa4840001200e629..."} 
[2026-08-28 12:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047122a80012d34c14006aa4840001200e629..."} 
[2026-08-28 12:05:08] local.INFO: Processing buffer {"connection_id":163664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047122a80012d34c14006aa4840001200e629..."} 
[2026-08-28 12:05:08] local.INFO: Packet analysis {"connection_id":163664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04712"} 
[2026-08-28 12:05:08] local.INFO: Extracted packet for processing {"connection_id":163664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04712"} 
[2026-08-28 12:05:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702007552001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:05: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-28 12:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787898768000,"timestamp_ms":1787898768000,"timestamp_seconds":1787898768,"priority":1,"record_length":96,"hex_timestamp":"000001a047122a80"} 
[2026-08-28 12:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:05: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-28 12:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 12:05:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:05:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702007552001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702007552001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:05:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:05:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:05: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-28 12:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702007552001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":163664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:05:08] local.INFO: GPS data processed {"connection_id":163664,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:05:08] local.INFO: Acknowledgment sent {"connection_id":163664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:05:16] local.INFO: TCP Data received {"connection_id":163390,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163390,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:05:16] local.INFO: Processing buffer {"connection_id":163390,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:05:16] local.INFO: IMEI packet received {"connection_id":163390,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 12:05:16] local.INFO: IMEI acknowledgment sent {"connection_id":163390,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:05:21] local.INFO: TCP Data received {"connection_id":163390,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163390,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:05:21] local.INFO: Processing buffer {"connection_id":163390,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:05:21] local.INFO: IMEI packet received {"connection_id":163390,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 12:05:21] local.INFO: IMEI acknowledgment sent {"connection_id":163390,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:05:22] local.INFO: TCP Data received {"connection_id":163390,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0470ef630012d1966c0071ff0380042014227..."} 
[2026-08-28 12:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0470ef630012d1966c0071ff0380042014227..."} 
[2026-08-28 12:05:22] local.INFO: Processing buffer {"connection_id":163390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0470ef630012d1966c0071ff0380042014227..."} 
[2026-08-28 12:05:22] local.INFO: Packet analysis {"connection_id":163390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0470e"} 
[2026-08-28 12:05:22] local.INFO: Extracted packet for processing {"connection_id":163390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0470e"} 
[2026-08-28 12:05:22] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533624,"longitude_deg":75.6639424,"latitude_deg":11.9533624,"altitude":66,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-28 12:05:22] 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-28 12:05:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702030848001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:05:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:05:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405826048,"note":"Value kept but may cause issues"} 
[2026-08-28 12:05: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-28 12:05:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787898558000,"timestamp_ms":1787898558000,"timestamp_seconds":1787898558,"priority":1,"record_length":96,"hex_timestamp":"000001a0470ef630"} 
[2026-08-28 12:05:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:05:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-28 12:05:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:05:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:05:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:05:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:05:22] local.INFO: Teltonika packet parsed successfully {"connection_id":163390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:05:22] local.INFO: Passing IMEI to GPS processor {"connection_id":163390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:05:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":163390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:05: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-28 12:05:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:05:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:05:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702030848001,"66":12939,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1830361435405826048},"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-28 12:05:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:05:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:05:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702030848001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:05:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:05:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:05:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:05:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405826048,"description":"Unknown IO ID 45"} 
[2026-08-28 12:05:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702030848001,"power":12939,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405826048}} 
[2026-08-28 12:05:22] 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":707316,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:05:22] local.INFO: GPS data processed {"connection_id":163390,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:05:22] local.INFO: Acknowledgment sent {"connection_id":163390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:05:26] local.INFO: TCP Data received {"connection_id":163390,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0470ef630012d1966c0071ff0380042014227..."} 
[2026-08-28 12:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0470ef630012d1966c0071ff0380042014227..."} 
[2026-08-28 12:05:26] local.INFO: Processing buffer {"connection_id":163390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0470ef630012d1966c0071ff0380042014227..."} 
[2026-08-28 12:05:26] local.INFO: Packet analysis {"connection_id":163390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0470e"} 
[2026-08-28 12:05:26] local.INFO: Extracted packet for processing {"connection_id":163390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0470e"} 
[2026-08-28 12:05:26] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533624,"longitude_deg":75.6639424,"latitude_deg":11.9533624,"altitude":66,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d1966c0","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-08-28 12:05:26] 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-28 12:05:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702030848001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:05:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:05:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405826048,"note":"Value kept but may cause issues"} 
[2026-08-28 12:05:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:05:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787898558000,"timestamp_ms":1787898558000,"timestamp_seconds":1787898558,"priority":1,"record_length":96,"hex_timestamp":"000001a0470ef630"} 
[2026-08-28 12:05:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:05:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-28 12:05:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:05:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:05:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:05:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:05:26] local.INFO: Teltonika packet parsed successfully {"connection_id":163390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:05:26] local.INFO: Passing IMEI to GPS processor {"connection_id":163390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:05:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":163390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:05:26] 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-28 12:05:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:05:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:05:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702030848001,"66":12939,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1830361435405826048},"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-28 12:05:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:05:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:05:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702030848001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:05:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:05:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:05:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:05:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405826048,"description":"Unknown IO ID 45"} 
[2026-08-28 12:05:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702030848001,"power":12939,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405826048}} 
[2026-08-28 12:05:27] 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":707317,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:05:27] local.INFO: GPS data processed {"connection_id":163390,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:05:27] local.INFO: Acknowledgment sent {"connection_id":163390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:05:31] local.INFO: TCP Data received {"connection_id":166011,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:05:31] local.INFO: Processing buffer {"connection_id":166011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:05:31] local.INFO: IMEI packet received {"connection_id":166011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 12:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":166011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:05:36] local.INFO: TCP Data received {"connection_id":166011,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:05:36] local.INFO: Processing buffer {"connection_id":166011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:05:36] local.INFO: IMEI packet received {"connection_id":166011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 12:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":166011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:05:37] local.INFO: TCP Data received {"connection_id":166011,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a047122a80012d34c14006aa4840001200e629..."} 
[2026-08-28 12:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047122a80012d34c14006aa4840001200e629..."} 
[2026-08-28 12:05:37] local.INFO: Processing buffer {"connection_id":166011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047122a80012d34c14006aa4840001200e629..."} 
[2026-08-28 12:05:37] local.INFO: Packet analysis {"connection_id":166011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04712"} 
[2026-08-28 12:05:37] local.INFO: Extracted packet for processing {"connection_id":166011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04712"} 
[2026-08-28 12:05:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702007552001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787898768000,"timestamp_ms":1787898768000,"timestamp_seconds":1787898768,"priority":1,"record_length":96,"hex_timestamp":"000001a047122a80"} 
[2026-08-28 12:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 12:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":166011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":166011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":166011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702007552001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702007552001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:05:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:05:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:05: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-28 12:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702007552001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":166011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:05:37] local.INFO: GPS data processed {"connection_id":166011,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:05:37] local.INFO: Acknowledgment sent {"connection_id":166011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:06:08] local.INFO: TCP Data received {"connection_id":166011,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a047122a80012d34c14006aa4840001200e629..."} 
[2026-08-28 12:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047122a80012d34c14006aa4840001200e629..."} 
[2026-08-28 12:06:08] local.INFO: Processing buffer {"connection_id":166011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047122a80012d34c14006aa4840001200e629..."} 
[2026-08-28 12:06:08] local.INFO: Packet analysis {"connection_id":166011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04712"} 
[2026-08-28 12:06:08] local.INFO: Extracted packet for processing {"connection_id":166011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04712"} 
[2026-08-28 12:06:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702007552001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:06:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:06:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:06:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:06:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787898768000,"timestamp_ms":1787898768000,"timestamp_seconds":1787898768,"priority":1,"record_length":96,"hex_timestamp":"000001a047122a80"} 
[2026-08-28 12:06:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:06: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-28 12:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 12:06:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:06:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:06:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:06:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:06:08] local.INFO: Teltonika packet parsed successfully {"connection_id":166011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:06:08] local.INFO: Passing IMEI to GPS processor {"connection_id":166011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:06:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":166011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:06:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:06:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:06:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:06:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702007552001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:06:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:06:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:06:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702007552001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:06:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:06:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:06: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-28 12:06:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:06:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702007552001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:06:08] local.INFO: DEBUG: GPS processor result {"connection_id":166011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:06:08] local.INFO: GPS data processed {"connection_id":166011,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:06:08] local.INFO: Acknowledgment sent {"connection_id":166011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:06:11] local.INFO: TCP Data received {"connection_id":164661,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164661,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:06:11] local.INFO: Processing buffer {"connection_id":164661,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:06:11] local.INFO: IMEI packet received {"connection_id":164661,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 12:06:11] local.INFO: IMEI acknowledgment sent {"connection_id":164661,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:06:16] local.INFO: TCP Data received {"connection_id":164661,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164661,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:06:16] local.INFO: Processing buffer {"connection_id":164661,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:06:16] local.INFO: IMEI packet received {"connection_id":164661,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 12:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":164661,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:06:17] local.INFO: TCP Data received {"connection_id":164661,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a04713a180012d196940071ff068004201422c..."} 
[2026-08-28 12:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04713a180012d196940071ff068004201422c..."} 
[2026-08-28 12:06:17] local.INFO: Processing buffer {"connection_id":164661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04713a180012d196940071ff068004201422c..."} 
[2026-08-28 12:06:17] local.INFO: Packet analysis {"connection_id":164661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04713"} 
[2026-08-28 12:06:17] local.INFO: Extracted packet for processing {"connection_id":164661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04713"} 
[2026-08-28 12:06:17] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533672,"longitude_deg":75.6640064,"latitude_deg":11.9533672,"altitude":66,"angle":322,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-28 12: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-28 12:06:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702030848001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:06:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:06:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405826048,"note":"Value kept but may cause issues"} 
[2026-08-28 12:06:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:06:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787898864000,"timestamp_ms":1787898864000,"timestamp_seconds":1787898864,"priority":1,"record_length":96,"hex_timestamp":"000001a04713a180"} 
[2026-08-28 12: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-28 12:06:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-28 12:06: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-28 12: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-28 12: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-28 12:06:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:06:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:06:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:06:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:06: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-28 12:06:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:06:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:06:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702030848001,"66":2155,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1830361435405826048},"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-28 12:06:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:06:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:06:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702030848001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:06:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:06:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:06:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:06:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405826048,"description":"Unknown IO ID 45"} 
[2026-08-28 12:06:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702030848001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405826048}} 
[2026-08-28 12:06:17] local.INFO: DEBUG: GPS processor result {"connection_id":164661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707320,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:06:17] local.INFO: GPS data processed {"connection_id":164661,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:06:17] local.INFO: Acknowledgment sent {"connection_id":164661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:06:31] local.INFO: TCP Data received {"connection_id":166012,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:06:31] local.INFO: Processing buffer {"connection_id":166012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:06:31] local.INFO: IMEI packet received {"connection_id":166012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 12:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":166012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:06:36] local.INFO: TCP Data received {"connection_id":166012,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:06:36] local.INFO: Processing buffer {"connection_id":166012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:06:36] local.INFO: IMEI packet received {"connection_id":166012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 12:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":166012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:06:37] local.INFO: TCP Data received {"connection_id":166012,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a047122a80012d34c14006aa4840001200e629..."} 
[2026-08-28 12:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047122a80012d34c14006aa4840001200e629..."} 
[2026-08-28 12:06:37] local.INFO: Processing buffer {"connection_id":166012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047122a80012d34c14006aa4840001200e629..."} 
[2026-08-28 12:06:37] local.INFO: Packet analysis {"connection_id":166012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04712"} 
[2026-08-28 12:06:37] local.INFO: Extracted packet for processing {"connection_id":166012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04712"} 
[2026-08-28 12:06:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702007552001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787898768000,"timestamp_ms":1787898768000,"timestamp_seconds":1787898768,"priority":1,"record_length":96,"hex_timestamp":"000001a047122a80"} 
[2026-08-28 12:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 12:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":166012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":166012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":166012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702007552001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702007552001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:06:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:06:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:06: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-28 12:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702007552001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":166012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:06:37] local.INFO: GPS data processed {"connection_id":166012,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:06:37] local.INFO: Acknowledgment sent {"connection_id":166012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:06:48] local.INFO: TCP Data received {"connection_id":164661,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a04713a180012d196940071ff068004201422c..."} 
[2026-08-28 12:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04713a180012d196940071ff068004201422c..."} 
[2026-08-28 12:06:48] local.INFO: Processing buffer {"connection_id":164661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04713a180012d196940071ff068004201422c..."} 
[2026-08-28 12:06:48] local.INFO: Packet analysis {"connection_id":164661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04713"} 
[2026-08-28 12:06:48] local.INFO: Extracted packet for processing {"connection_id":164661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04713"} 
[2026-08-28 12:06:48] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533672,"longitude_deg":75.6640064,"latitude_deg":11.9533672,"altitude":66,"angle":322,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-28 12:06:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:06:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702030848001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:06:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:06:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405826048,"note":"Value kept but may cause issues"} 
[2026-08-28 12:06:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:06:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787898864000,"timestamp_ms":1787898864000,"timestamp_seconds":1787898864,"priority":1,"record_length":96,"hex_timestamp":"000001a04713a180"} 
[2026-08-28 12:06:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:06:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:06:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-28 12:06:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:06:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:06:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:06:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:06:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:06:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:06:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:06:48] 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-28 12:06:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:06:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:06:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702030848001,"66":2155,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1830361435405826048},"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-28 12:06:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:06:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:06:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702030848001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:06:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:06:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:06:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:06:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405826048,"description":"Unknown IO ID 45"} 
[2026-08-28 12:06:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702030848001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405826048}} 
[2026-08-28 12:06:48] local.INFO: DEBUG: GPS processor result {"connection_id":164661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707322,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:06:48] local.INFO: GPS data processed {"connection_id":164661,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:06:48] local.INFO: Acknowledgment sent {"connection_id":164661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:07:08] local.INFO: TCP Data received {"connection_id":166012,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a047122a80012d34c14006aa4840001200e629..."} 
[2026-08-28 12:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047122a80012d34c14006aa4840001200e629..."} 
[2026-08-28 12:07:08] local.INFO: Processing buffer {"connection_id":166012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047122a80012d34c14006aa4840001200e629..."} 
[2026-08-28 12:07:08] local.INFO: Packet analysis {"connection_id":166012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04712"} 
[2026-08-28 12:07:08] local.INFO: Extracted packet for processing {"connection_id":166012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04712"} 
[2026-08-28 12:07:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702007552001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:07:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787898768000,"timestamp_ms":1787898768000,"timestamp_seconds":1787898768,"priority":1,"record_length":96,"hex_timestamp":"000001a047122a80"} 
[2026-08-28 12:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:07: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-28 12:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 12:07:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:07:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":166012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":166012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":166012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:07:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702007552001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702007552001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:07:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:07:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:07: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-28 12:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702007552001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":166012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:07:08] local.INFO: GPS data processed {"connection_id":166012,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:07:08] local.INFO: Acknowledgment sent {"connection_id":166012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:07:11] local.INFO: TCP Data received {"connection_id":163391,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163391,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:07:11] local.INFO: Processing buffer {"connection_id":163391,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:07:11] local.INFO: IMEI packet received {"connection_id":163391,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 12:07:11] local.INFO: IMEI acknowledgment sent {"connection_id":163391,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:07:16] local.INFO: TCP Data received {"connection_id":163391,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163391,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:07:16] local.INFO: Processing buffer {"connection_id":163391,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:07:16] local.INFO: IMEI packet received {"connection_id":163391,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 12:07:16] local.INFO: IMEI acknowledgment sent {"connection_id":163391,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:07:17] local.INFO: TCP Data received {"connection_id":163391,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a04713a180012d196940071ff068004201422c..."} 
[2026-08-28 12:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04713a180012d196940071ff068004201422c..."} 
[2026-08-28 12:07:17] local.INFO: Processing buffer {"connection_id":163391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04713a180012d196940071ff068004201422c..."} 
[2026-08-28 12:07:17] local.INFO: Packet analysis {"connection_id":163391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04713"} 
[2026-08-28 12:07:17] local.INFO: Extracted packet for processing {"connection_id":163391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04713"} 
[2026-08-28 12:07:17] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533672,"longitude_deg":75.6640064,"latitude_deg":11.9533672,"altitude":66,"angle":322,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-28 12: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-28 12:07:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702030848001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:07:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:07:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405826048,"note":"Value kept but may cause issues"} 
[2026-08-28 12:07: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-28 12:07:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787898864000,"timestamp_ms":1787898864000,"timestamp_seconds":1787898864,"priority":1,"record_length":96,"hex_timestamp":"000001a04713a180"} 
[2026-08-28 12: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-28 12:07:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-28 12:07: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-28 12: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-28 12: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-28 12:07:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:07:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:07:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:07:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:07: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-28 12:07:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:07:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:07:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702030848001,"66":2155,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1830361435405826048},"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-28 12:07:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:07:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:07:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702030848001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:07:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:07:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:07:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:07:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405826048,"description":"Unknown IO ID 45"} 
[2026-08-28 12:07:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702030848001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405826048}} 
[2026-08-28 12:07:17] local.INFO: DEBUG: GPS processor result {"connection_id":163391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707324,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:07:17] local.INFO: GPS data processed {"connection_id":163391,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:07:17] local.INFO: Acknowledgment sent {"connection_id":163391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:07:31] local.INFO: TCP Data received {"connection_id":163666,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:07:31] local.INFO: Processing buffer {"connection_id":163666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:07:31] local.INFO: IMEI packet received {"connection_id":163666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 12:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":163666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:07:36] local.INFO: TCP Data received {"connection_id":163666,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:07:36] local.INFO: Processing buffer {"connection_id":163666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:07:36] local.INFO: IMEI packet received {"connection_id":163666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 12:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":163666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:07:37] local.INFO: TCP Data received {"connection_id":163666,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a047122a80012d34c14006aa4840001200e629..."} 
[2026-08-28 12:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047122a80012d34c14006aa4840001200e629..."} 
[2026-08-28 12:07:37] local.INFO: Processing buffer {"connection_id":163666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047122a80012d34c14006aa4840001200e629..."} 
[2026-08-28 12:07:37] local.INFO: Packet analysis {"connection_id":163666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04712"} 
[2026-08-28 12:07:37] local.INFO: Extracted packet for processing {"connection_id":163666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04712"} 
[2026-08-28 12:07:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702007552001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787898768000,"timestamp_ms":1787898768000,"timestamp_seconds":1787898768,"priority":1,"record_length":96,"hex_timestamp":"000001a047122a80"} 
[2026-08-28 12:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 12:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702007552001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702007552001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:07:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:07:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:07: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-28 12:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702007552001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:07:37] 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":707325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:07:37] local.INFO: GPS data processed {"connection_id":163666,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:07:37] local.INFO: Acknowledgment sent {"connection_id":163666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:07:48] local.INFO: TCP Data received {"connection_id":163391,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a04713a180012d196940071ff068004201422c..."} 
[2026-08-28 12:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04713a180012d196940071ff068004201422c..."} 
[2026-08-28 12:07:48] local.INFO: Processing buffer {"connection_id":163391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04713a180012d196940071ff068004201422c..."} 
[2026-08-28 12:07:48] local.INFO: Packet analysis {"connection_id":163391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04713"} 
[2026-08-28 12:07:48] local.INFO: Extracted packet for processing {"connection_id":163391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04713"} 
[2026-08-28 12:07:48] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533672,"longitude_deg":75.6640064,"latitude_deg":11.9533672,"altitude":66,"angle":322,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-28 12: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-28 12:07:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702030848001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:07:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:07:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405826048,"note":"Value kept but may cause issues"} 
[2026-08-28 12:07:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:07:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787898864000,"timestamp_ms":1787898864000,"timestamp_seconds":1787898864,"priority":1,"record_length":96,"hex_timestamp":"000001a04713a180"} 
[2026-08-28 12: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-28 12:07:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:07:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-28 12:07:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12: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-28 12: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-28 12:07:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:07:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:07:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:07:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:07:48] 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-28 12:07:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:07:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:07:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702030848001,"66":2155,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1830361435405826048},"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-28 12:07:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:07:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:07:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702030848001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:07:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:07:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:07:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:07:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405826048,"description":"Unknown IO ID 45"} 
[2026-08-28 12:07:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702030848001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405826048}} 
[2026-08-28 12:07:48] local.INFO: DEBUG: GPS processor result {"connection_id":163391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707326,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:07:48] local.INFO: GPS data processed {"connection_id":163391,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:07:48] local.INFO: Acknowledgment sent {"connection_id":163391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:08:08] local.INFO: TCP Data received {"connection_id":163666,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a047122a80012d34c14006aa4840001200e629..."} 
[2026-08-28 12:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047122a80012d34c14006aa4840001200e629..."} 
[2026-08-28 12:08:08] local.INFO: Processing buffer {"connection_id":163666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047122a80012d34c14006aa4840001200e629..."} 
[2026-08-28 12:08:08] local.INFO: Packet analysis {"connection_id":163666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04712"} 
[2026-08-28 12:08:08] local.INFO: Extracted packet for processing {"connection_id":163666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04712"} 
[2026-08-28 12:08:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702007552001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:08: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-28 12:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787898768000,"timestamp_ms":1787898768000,"timestamp_seconds":1787898768,"priority":1,"record_length":96,"hex_timestamp":"000001a047122a80"} 
[2026-08-28 12:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:08: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-28 12:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 12:08:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:08:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702007552001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702007552001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:08:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:08:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:08: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-28 12:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702007552001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:08:08] 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":707327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:08:08] local.INFO: GPS data processed {"connection_id":163666,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:08:08] local.INFO: Acknowledgment sent {"connection_id":163666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:08:11] local.INFO: TCP Data received {"connection_id":166013,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:08:11] local.INFO: Processing buffer {"connection_id":166013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:08:11] local.INFO: IMEI packet received {"connection_id":166013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 12:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":166013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:08:16] local.INFO: TCP Data received {"connection_id":166013,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:08:16] local.INFO: Processing buffer {"connection_id":166013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:08:16] local.INFO: IMEI packet received {"connection_id":166013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 12:08:16] local.INFO: IMEI acknowledgment sent {"connection_id":166013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:08:30] local.INFO: TCP Data received {"connection_id":164662,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:08:30] local.INFO: Processing buffer {"connection_id":164662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:08:30] local.INFO: IMEI packet received {"connection_id":164662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 12:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":164662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:08:35] local.INFO: TCP Data received {"connection_id":166013,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a04713a180012d196940071ff068004201422c..."} 
[2026-08-28 12:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04713a180012d196940071ff068004201422c..."} 
[2026-08-28 12:08:35] local.INFO: Processing buffer {"connection_id":166013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04713a180012d196940071ff068004201422c..."} 
[2026-08-28 12:08:35] local.INFO: Packet analysis {"connection_id":166013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04713"} 
[2026-08-28 12:08:35] local.INFO: Extracted packet for processing {"connection_id":166013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04713"} 
[2026-08-28 12:08:35] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533672,"longitude_deg":75.6640064,"latitude_deg":11.9533672,"altitude":66,"angle":322,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-28 12:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:08:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702030848001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:08:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:08:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405826048,"note":"Value kept but may cause issues"} 
[2026-08-28 12:08:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:08:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787898864000,"timestamp_ms":1787898864000,"timestamp_seconds":1787898864,"priority":1,"record_length":96,"hex_timestamp":"000001a04713a180"} 
[2026-08-28 12:08:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:08:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-28 12:08:35] 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-28 12:08:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:08:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:08:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:08:35] local.INFO: Teltonika packet parsed successfully {"connection_id":166013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:08:35] local.INFO: Passing IMEI to GPS processor {"connection_id":166013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:08:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":166013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:08:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:08:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:08:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:08:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702030848001,"66":2155,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1830361435405826048},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 12:08:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:08:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:08:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702030848001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:08:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:08:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:08:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:08:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405826048,"description":"Unknown IO ID 45"} 
[2026-08-28 12:08:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702030848001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405826048}} 
[2026-08-28 12:08:35] local.INFO: DEBUG: GPS processor result {"connection_id":166013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707328,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:08:35] local.INFO: GPS data processed {"connection_id":166013,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:08:35] local.INFO: Acknowledgment sent {"connection_id":166013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:08:36] local.INFO: TCP Data received {"connection_id":164662,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:08:36] local.INFO: Processing buffer {"connection_id":164662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:08:36] local.INFO: IMEI packet received {"connection_id":164662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 12:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":164662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:08:37] local.INFO: TCP Data received {"connection_id":164662,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a04716c248012d34c14006aa4840001100e62b..."} 
[2026-08-28 12:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04716c248012d34c14006aa4840001100e62b..."} 
[2026-08-28 12:08:37] local.INFO: Processing buffer {"connection_id":164662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04716c248012d34c14006aa4840001100e62b..."} 
[2026-08-28 12:08:37] local.INFO: Packet analysis {"connection_id":164662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04716"} 
[2026-08-28 12:08:37] local.INFO: Extracted packet for processing {"connection_id":164662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04716"} 
[2026-08-28 12:08:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 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-28 12:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702084608001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787899069000,"timestamp_ms":1787899069000,"timestamp_seconds":1787899069,"priority":1,"record_length":96,"hex_timestamp":"000001a04716c248"} 
[2026-08-28 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-28 12:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 12:08:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 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-28 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-28 12:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:08:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702084608001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702084608001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:08:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:08:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:08: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-28 12:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702084608001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":164662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:08:37] local.INFO: GPS data processed {"connection_id":164662,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:08:37] local.INFO: Acknowledgment sent {"connection_id":164662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:09:08] local.INFO: TCP Data received {"connection_id":164662,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a04716c248012d34c14006aa4840001100e62b..."} 
[2026-08-28 12:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04716c248012d34c14006aa4840001100e62b..."} 
[2026-08-28 12:09:08] local.INFO: Processing buffer {"connection_id":164662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04716c248012d34c14006aa4840001100e62b..."} 
[2026-08-28 12:09:08] local.INFO: Packet analysis {"connection_id":164662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04716"} 
[2026-08-28 12:09:08] local.INFO: Extracted packet for processing {"connection_id":164662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04716"} 
[2026-08-28 12:09:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702084608001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:09: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-28 12:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787899069000,"timestamp_ms":1787899069000,"timestamp_seconds":1787899069,"priority":1,"record_length":96,"hex_timestamp":"000001a04716c248"} 
[2026-08-28 12:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:09:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 12:09:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:09:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:09:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702084608001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702084608001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:09:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:09:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:09: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-28 12:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702084608001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":164662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:09:08] local.INFO: GPS data processed {"connection_id":164662,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:09:08] local.INFO: Acknowledgment sent {"connection_id":164662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:09:11] local.INFO: TCP Data received {"connection_id":166014,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166014,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:09:11] local.INFO: Processing buffer {"connection_id":166014,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:09:11] local.INFO: IMEI packet received {"connection_id":166014,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 12:09:11] local.INFO: IMEI acknowledgment sent {"connection_id":166014,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:09:16] local.INFO: TCP Data received {"connection_id":166014,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166014,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:09:16] local.INFO: Processing buffer {"connection_id":166014,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:09:16] local.INFO: IMEI packet received {"connection_id":166014,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 12:09:16] local.INFO: IMEI acknowledgment sent {"connection_id":166014,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:09:17] local.INFO: TCP Data received {"connection_id":166014,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a04713a180012d196940071ff068004201422c..."} 
[2026-08-28 12:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04713a180012d196940071ff068004201422c..."} 
[2026-08-28 12:09:17] local.INFO: Processing buffer {"connection_id":166014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04713a180012d196940071ff068004201422c..."} 
[2026-08-28 12:09:17] local.INFO: Packet analysis {"connection_id":166014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04713"} 
[2026-08-28 12:09:17] local.INFO: Extracted packet for processing {"connection_id":166014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04713"} 
[2026-08-28 12:09:17] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533672,"longitude_deg":75.6640064,"latitude_deg":11.9533672,"altitude":66,"angle":322,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-28 12: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-28 12:09:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702030848001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:09:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:09:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405826048,"note":"Value kept but may cause issues"} 
[2026-08-28 12:09:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:09:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787898864000,"timestamp_ms":1787898864000,"timestamp_seconds":1787898864,"priority":1,"record_length":96,"hex_timestamp":"000001a04713a180"} 
[2026-08-28 12: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-28 12:09:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-28 12:09: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-28 12: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-28 12: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-28 12:09:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:09:17] local.INFO: Teltonika packet parsed successfully {"connection_id":166014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:09:17] local.INFO: Passing IMEI to GPS processor {"connection_id":166014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:09:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":166014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:09:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:09:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:09:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:09:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702030848001,"66":2155,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1830361435405826048},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 12:09:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:09:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:09:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702030848001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:09:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:09:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:09:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:09:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405826048,"description":"Unknown IO ID 45"} 
[2026-08-28 12:09:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702030848001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405826048}} 
[2026-08-28 12:09:17] local.INFO: DEBUG: GPS processor result {"connection_id":166014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707331,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:09:17] local.INFO: GPS data processed {"connection_id":166014,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:09:17] local.INFO: Acknowledgment sent {"connection_id":166014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:09:31] local.INFO: TCP Data received {"connection_id":163392,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:09:31] local.INFO: Processing buffer {"connection_id":163392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:09:31] local.INFO: IMEI packet received {"connection_id":163392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 12:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":163392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:09:36] local.INFO: TCP Data received {"connection_id":163392,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:09:36] local.INFO: Processing buffer {"connection_id":163392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:09:36] local.INFO: IMEI packet received {"connection_id":163392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 12:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":163392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:09:36] local.INFO: TCP Data received {"connection_id":163392,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a04716c248012d34c14006aa4840001100e62b..."} 
[2026-08-28 12:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04716c248012d34c14006aa4840001100e62b..."} 
[2026-08-28 12:09:36] local.INFO: Processing buffer {"connection_id":163392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04716c248012d34c14006aa4840001100e62b..."} 
[2026-08-28 12:09:36] local.INFO: Packet analysis {"connection_id":163392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04716"} 
[2026-08-28 12:09:36] local.INFO: Extracted packet for processing {"connection_id":163392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04716"} 
[2026-08-28 12:09:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702084608001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787899069000,"timestamp_ms":1787899069000,"timestamp_seconds":1787899069,"priority":1,"record_length":96,"hex_timestamp":"000001a04716c248"} 
[2026-08-28 12:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:09:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 12:09:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:09:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:09:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702084608001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702084608001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:09:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:09:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702084608001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:09:36] 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":707332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:09:36] local.INFO: GPS data processed {"connection_id":163392,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:09:36] local.INFO: Acknowledgment sent {"connection_id":163392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:09:48] local.INFO: TCP Data received {"connection_id":166014,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a04713a180012d196940071ff068004201422c..."} 
[2026-08-28 12:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04713a180012d196940071ff068004201422c..."} 
[2026-08-28 12:09:48] local.INFO: Processing buffer {"connection_id":166014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04713a180012d196940071ff068004201422c..."} 
[2026-08-28 12:09:48] local.INFO: Packet analysis {"connection_id":166014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04713"} 
[2026-08-28 12:09:48] local.INFO: Extracted packet for processing {"connection_id":166014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04713"} 
[2026-08-28 12:09:48] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533672,"longitude_deg":75.6640064,"latitude_deg":11.9533672,"altitude":66,"angle":322,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-28 12: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-28 12:09:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702030848001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:09:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:09:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405826048,"note":"Value kept but may cause issues"} 
[2026-08-28 12:09:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:09:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787898864000,"timestamp_ms":1787898864000,"timestamp_seconds":1787898864,"priority":1,"record_length":96,"hex_timestamp":"000001a04713a180"} 
[2026-08-28 12: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-28 12:09:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:09:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-28 12:09:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12: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-28 12: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-28 12:09:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:09:48] local.INFO: Teltonika packet parsed successfully {"connection_id":166014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:09:48] local.INFO: Passing IMEI to GPS processor {"connection_id":166014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:09:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":166014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:09:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:09:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:09:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:09:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702030848001,"66":2155,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1830361435405826048},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 12:09:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:09:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:09:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702030848001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:09:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:09:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:09:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:09:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405826048,"description":"Unknown IO ID 45"} 
[2026-08-28 12:09:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702030848001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405826048}} 
[2026-08-28 12:09:48] local.INFO: DEBUG: GPS processor result {"connection_id":166014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707333,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:09:48] local.INFO: GPS data processed {"connection_id":166014,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:09:48] local.INFO: Acknowledgment sent {"connection_id":166014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:10:08] local.INFO: TCP Data received {"connection_id":163392,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a04716c248012d34c14006aa4840001100e62b..."} 
[2026-08-28 12:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04716c248012d34c14006aa4840001100e62b..."} 
[2026-08-28 12:10:08] local.INFO: Processing buffer {"connection_id":163392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04716c248012d34c14006aa4840001100e62b..."} 
[2026-08-28 12:10:08] local.INFO: Packet analysis {"connection_id":163392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04716"} 
[2026-08-28 12:10:08] local.INFO: Extracted packet for processing {"connection_id":163392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04716"} 
[2026-08-28 12:10:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702084608001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:10: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-28 12:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787899069000,"timestamp_ms":1787899069000,"timestamp_seconds":1787899069,"priority":1,"record_length":96,"hex_timestamp":"000001a04716c248"} 
[2026-08-28 12:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:10:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 12:10:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:10:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:10:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702084608001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702084608001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:10:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:10:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:10: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-28 12:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702084608001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:10:08] 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":707334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:10:08] local.INFO: GPS data processed {"connection_id":163392,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:10:08] local.INFO: Acknowledgment sent {"connection_id":163392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:10:16] local.INFO: TCP Data received {"connection_id":166015,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166015,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:10:16] local.INFO: Processing buffer {"connection_id":166015,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:10:16] local.INFO: IMEI packet received {"connection_id":166015,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 12:10:16] local.INFO: IMEI acknowledgment sent {"connection_id":166015,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:10:21] local.INFO: TCP Data received {"connection_id":166015,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166015,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:10:21] local.INFO: Processing buffer {"connection_id":166015,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:10:21] local.INFO: IMEI packet received {"connection_id":166015,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 12:10:21] local.INFO: IMEI acknowledgment sent {"connection_id":166015,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:10:22] local.INFO: TCP Data received {"connection_id":166015,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a047183948012d196940071ff068004201422a..."} 
[2026-08-28 12:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047183948012d196940071ff068004201422a..."} 
[2026-08-28 12:10:22] local.INFO: Processing buffer {"connection_id":166015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047183948012d196940071ff068004201422a..."} 
[2026-08-28 12:10:22] local.INFO: Packet analysis {"connection_id":166015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04718"} 
[2026-08-28 12:10:22] local.INFO: Extracted packet for processing {"connection_id":166015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04718"} 
[2026-08-28 12:10:22] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533672,"longitude_deg":75.6640064,"latitude_deg":11.9533672,"altitude":66,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-28 12:10:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:10:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702109184001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:10:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:10:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847614976,"note":"Value kept but may cause issues"} 
[2026-08-28 12:10: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-28 12:10:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787899165000,"timestamp_ms":1787899165000,"timestamp_seconds":1787899165,"priority":1,"record_length":96,"hex_timestamp":"000001a047183948"} 
[2026-08-28 12:10:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:10:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:10:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-28 12:10:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:10:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:10:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:10:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:10:22] local.INFO: Teltonika packet parsed successfully {"connection_id":166015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:10:22] local.INFO: Passing IMEI to GPS processor {"connection_id":166015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:10:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":166015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:10:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:10:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:10:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:10:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702109184001,"66":2166,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1831065122847614976},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 12:10:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:10:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:10:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702109184001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:10:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:10:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:10:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:10:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847614976,"description":"Unknown IO ID 45"} 
[2026-08-28 12:10:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702109184001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847614976}} 
[2026-08-28 12:10:22] local.INFO: DEBUG: GPS processor result {"connection_id":166015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707335,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:10:22] local.INFO: GPS data processed {"connection_id":166015,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:10:22] local.INFO: Acknowledgment sent {"connection_id":166015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:10:26] local.INFO: TCP Data received {"connection_id":166015,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a047183948012d196940071ff068004201422a..."} 
[2026-08-28 12:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047183948012d196940071ff068004201422a..."} 
[2026-08-28 12:10:26] local.INFO: Processing buffer {"connection_id":166015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047183948012d196940071ff068004201422a..."} 
[2026-08-28 12:10:26] local.INFO: Packet analysis {"connection_id":166015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04718"} 
[2026-08-28 12:10:26] local.INFO: Extracted packet for processing {"connection_id":166015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04718"} 
[2026-08-28 12:10:26] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533672,"longitude_deg":75.6640064,"latitude_deg":11.9533672,"altitude":66,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-28 12:10:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:10:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702109184001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:10:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:10:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847614976,"note":"Value kept but may cause issues"} 
[2026-08-28 12:10:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:10:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787899165000,"timestamp_ms":1787899165000,"timestamp_seconds":1787899165,"priority":1,"record_length":96,"hex_timestamp":"000001a047183948"} 
[2026-08-28 12:10:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:10:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:10:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-28 12:10:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:10:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:10:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:10:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:10:26] local.INFO: Teltonika packet parsed successfully {"connection_id":166015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:10:26] local.INFO: Passing IMEI to GPS processor {"connection_id":166015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:10:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":166015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:10:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:10:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:10:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:10:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702109184001,"66":2166,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1831065122847614976},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 12:10:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:10:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:10:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702109184001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:10:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:10:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:10:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:10:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847614976,"description":"Unknown IO ID 45"} 
[2026-08-28 12:10:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702109184001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847614976}} 
[2026-08-28 12:10:27] local.INFO: DEBUG: GPS processor result {"connection_id":166015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707336,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:10:27] local.INFO: GPS data processed {"connection_id":166015,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:10:27] local.INFO: Acknowledgment sent {"connection_id":166015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:10:31] local.INFO: TCP Data received {"connection_id":166016,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:10:31] local.INFO: Processing buffer {"connection_id":166016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:10:31] local.INFO: IMEI packet received {"connection_id":166016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 12:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":166016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:10:37] local.INFO: TCP Data received {"connection_id":166016,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:10:37] local.INFO: Processing buffer {"connection_id":166016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:10:37] local.INFO: IMEI packet received {"connection_id":166016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 12:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":166016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:10:38] local.INFO: TCP Data received {"connection_id":166016,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a04716c248012d34c14006aa4840001100e62b..."} 
[2026-08-28 12:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04716c248012d34c14006aa4840001100e62b..."} 
[2026-08-28 12:10:38] local.INFO: Processing buffer {"connection_id":166016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04716c248012d34c14006aa4840001100e62b..."} 
[2026-08-28 12:10:38] local.INFO: Packet analysis {"connection_id":166016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04716"} 
[2026-08-28 12:10:38] local.INFO: Extracted packet for processing {"connection_id":166016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04716"} 
[2026-08-28 12:10:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702084608001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787899069000,"timestamp_ms":1787899069000,"timestamp_seconds":1787899069,"priority":1,"record_length":96,"hex_timestamp":"000001a04716c248"} 
[2026-08-28 12:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 12:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:10:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":166016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":166016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":166016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:10: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-28 12:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702084608001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702084608001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:10:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:10:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:10: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-28 12:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702084608001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":166016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:10:38] local.INFO: GPS data processed {"connection_id":166016,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:10:38] local.INFO: Acknowledgment sent {"connection_id":166016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:11:09] local.INFO: TCP Data received {"connection_id":166016,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a04716c248012d34c14006aa4840001100e62b..."} 
[2026-08-28 12:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04716c248012d34c14006aa4840001100e62b..."} 
[2026-08-28 12:11:09] local.INFO: Processing buffer {"connection_id":166016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04716c248012d34c14006aa4840001100e62b..."} 
[2026-08-28 12:11:09] local.INFO: Packet analysis {"connection_id":166016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04716"} 
[2026-08-28 12:11:09] local.INFO: Extracted packet for processing {"connection_id":166016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04716"} 
[2026-08-28 12:11:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702084608001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:11:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:11:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787899069000,"timestamp_ms":1787899069000,"timestamp_seconds":1787899069,"priority":1,"record_length":96,"hex_timestamp":"000001a04716c248"} 
[2026-08-28 12:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:11:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 12:11:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:11:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":166016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":166016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":166016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:11:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702084608001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702084608001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:11:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:11:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:11: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-28 12:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702084608001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":166016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:11:09] local.INFO: GPS data processed {"connection_id":166016,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:11:09] local.INFO: Acknowledgment sent {"connection_id":166016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:11:11] local.INFO: TCP Data received {"connection_id":166017,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:11:11] local.INFO: Processing buffer {"connection_id":166017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:11:11] local.INFO: IMEI packet received {"connection_id":166017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 12:11:11] local.INFO: IMEI acknowledgment sent {"connection_id":166017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:11:16] local.INFO: TCP Data received {"connection_id":166017,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:11:16] local.INFO: Processing buffer {"connection_id":166017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:11:16] local.INFO: IMEI packet received {"connection_id":166017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 12:11:16] local.INFO: IMEI acknowledgment sent {"connection_id":166017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:11:17] local.INFO: TCP Data received {"connection_id":166017,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a047183948012d196940071ff068004201422a..."} 
[2026-08-28 12:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047183948012d196940071ff068004201422a..."} 
[2026-08-28 12:11:17] local.INFO: Processing buffer {"connection_id":166017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047183948012d196940071ff068004201422a..."} 
[2026-08-28 12:11:17] local.INFO: Packet analysis {"connection_id":166017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04718"} 
[2026-08-28 12:11:17] local.INFO: Extracted packet for processing {"connection_id":166017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04718"} 
[2026-08-28 12:11:17] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533672,"longitude_deg":75.6640064,"latitude_deg":11.9533672,"altitude":66,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-28 12:11:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:11:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702109184001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:11:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:11:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847614976,"note":"Value kept but may cause issues"} 
[2026-08-28 12:11: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-28 12:11:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787899165000,"timestamp_ms":1787899165000,"timestamp_seconds":1787899165,"priority":1,"record_length":96,"hex_timestamp":"000001a047183948"} 
[2026-08-28 12:11:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:11:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:11:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-28 12:11: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-28 12:11:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:11:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:11:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:11:17] local.INFO: Teltonika packet parsed successfully {"connection_id":166017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:11:17] local.INFO: Passing IMEI to GPS processor {"connection_id":166017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:11:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":166017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:11:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:11:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:11:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:11:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702109184001,"66":2166,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1831065122847614976},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 12:11:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:11:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:11:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702109184001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:11:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:11:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:11:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:11:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847614976,"description":"Unknown IO ID 45"} 
[2026-08-28 12:11:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702109184001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847614976}} 
[2026-08-28 12:11:18] local.INFO: DEBUG: GPS processor result {"connection_id":166017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707339,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:11:18] local.INFO: GPS data processed {"connection_id":166017,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:11:18] local.INFO: Acknowledgment sent {"connection_id":166017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:11:30] local.INFO: TCP Data received {"connection_id":163393,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:11:30] local.INFO: Processing buffer {"connection_id":163393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:11:30] local.INFO: IMEI packet received {"connection_id":163393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 12:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":163393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:11:36] local.INFO: TCP Data received {"connection_id":163393,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:11:36] local.INFO: Processing buffer {"connection_id":163393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:11:36] local.INFO: IMEI packet received {"connection_id":163393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 12:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":163393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:11:37] local.INFO: TCP Data received {"connection_id":163393,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a04716c248012d34c14006aa4840001100e62b..."} 
[2026-08-28 12:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04716c248012d34c14006aa4840001100e62b..."} 
[2026-08-28 12:11:37] local.INFO: Processing buffer {"connection_id":163393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04716c248012d34c14006aa4840001100e62b..."} 
[2026-08-28 12:11:37] local.INFO: Packet analysis {"connection_id":163393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04716"} 
[2026-08-28 12:11:37] local.INFO: Extracted packet for processing {"connection_id":163393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04716"} 
[2026-08-28 12:11:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 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-28 12:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702084608001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787899069000,"timestamp_ms":1787899069000,"timestamp_seconds":1787899069,"priority":1,"record_length":96,"hex_timestamp":"000001a04716c248"} 
[2026-08-28 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-28 12:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 12:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 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-28 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-28 12:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702084608001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702084608001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:11:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:11:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:11: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-28 12:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702084608001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:11:37] 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":707340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:11:37] local.INFO: GPS data processed {"connection_id":163393,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:11:37] local.INFO: Acknowledgment sent {"connection_id":163393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:11:49] local.INFO: TCP Data received {"connection_id":166017,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a047183948012d196940071ff068004201422a..."} 
[2026-08-28 12:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047183948012d196940071ff068004201422a..."} 
[2026-08-28 12:11:49] local.INFO: Processing buffer {"connection_id":166017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047183948012d196940071ff068004201422a..."} 
[2026-08-28 12:11:49] local.INFO: Packet analysis {"connection_id":166017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04718"} 
[2026-08-28 12:11:49] local.INFO: Extracted packet for processing {"connection_id":166017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04718"} 
[2026-08-28 12:11:49] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533672,"longitude_deg":75.6640064,"latitude_deg":11.9533672,"altitude":66,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-28 12: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-28 12:11:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702109184001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:11:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:11:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847614976,"note":"Value kept but may cause issues"} 
[2026-08-28 12:11:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:11:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787899165000,"timestamp_ms":1787899165000,"timestamp_seconds":1787899165,"priority":1,"record_length":96,"hex_timestamp":"000001a047183948"} 
[2026-08-28 12: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-28 12:11:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-28 12:11:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12: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-28 12: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-28 12:11:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:11:49] local.INFO: Teltonika packet parsed successfully {"connection_id":166017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:11:49] local.INFO: Passing IMEI to GPS processor {"connection_id":166017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:11:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":166017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:11:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:11:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:11:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:11:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702109184001,"66":2166,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1831065122847614976},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 12:11:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:11:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:11:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702109184001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:11:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:11:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:11:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:11:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847614976,"description":"Unknown IO ID 45"} 
[2026-08-28 12:11:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702109184001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847614976}} 
[2026-08-28 12:11:49] local.INFO: DEBUG: GPS processor result {"connection_id":166017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707341,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:11:49] local.INFO: GPS data processed {"connection_id":166017,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:11:49] local.INFO: Acknowledgment sent {"connection_id":166017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:12:09] local.INFO: TCP Data received {"connection_id":163393,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a04716c248012d34c14006aa4840001100e62b..."} 
[2026-08-28 12:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04716c248012d34c14006aa4840001100e62b..."} 
[2026-08-28 12:12:09] local.INFO: Processing buffer {"connection_id":163393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04716c248012d34c14006aa4840001100e62b..."} 
[2026-08-28 12:12:09] local.INFO: Packet analysis {"connection_id":163393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04716"} 
[2026-08-28 12:12:09] local.INFO: Extracted packet for processing {"connection_id":163393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04716"} 
[2026-08-28 12:12:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 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-28 12:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702084608001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:12:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787899069000,"timestamp_ms":1787899069000,"timestamp_seconds":1787899069,"priority":1,"record_length":96,"hex_timestamp":"000001a04716c248"} 
[2026-08-28 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-28 12:12:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 12:12:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 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-28 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-28 12:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:12:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702084608001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702084608001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:12:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:12:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:12: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-28 12:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702084608001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:12:09] 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":707342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:12:09] local.INFO: GPS data processed {"connection_id":163393,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:12:09] local.INFO: Acknowledgment sent {"connection_id":163393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:12:11] local.INFO: TCP Data received {"connection_id":166018,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:12:11] local.INFO: Processing buffer {"connection_id":166018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:12:11] local.INFO: IMEI packet received {"connection_id":166018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 12:12:11] local.INFO: IMEI acknowledgment sent {"connection_id":166018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:12:17] local.INFO: TCP Data received {"connection_id":166018,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:12:17] local.INFO: Processing buffer {"connection_id":166018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:12:17] local.INFO: IMEI packet received {"connection_id":166018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 12:12:17] local.INFO: IMEI acknowledgment sent {"connection_id":166018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:12:17] local.INFO: TCP Data received {"connection_id":166018,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a047183948012d196940071ff068004201422a..."} 
[2026-08-28 12:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047183948012d196940071ff068004201422a..."} 
[2026-08-28 12:12:17] local.INFO: Processing buffer {"connection_id":166018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047183948012d196940071ff068004201422a..."} 
[2026-08-28 12:12:17] local.INFO: Packet analysis {"connection_id":166018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04718"} 
[2026-08-28 12:12:17] local.INFO: Extracted packet for processing {"connection_id":166018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04718"} 
[2026-08-28 12:12:17] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533672,"longitude_deg":75.6640064,"latitude_deg":11.9533672,"altitude":66,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-28 12:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:12:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702109184001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:12:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:12:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847614976,"note":"Value kept but may cause issues"} 
[2026-08-28 12:12: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-28 12:12:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787899165000,"timestamp_ms":1787899165000,"timestamp_seconds":1787899165,"priority":1,"record_length":96,"hex_timestamp":"000001a047183948"} 
[2026-08-28 12:12:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:12:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-28 12:12: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-28 12:12:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:12:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:12:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:12:17] local.INFO: Teltonika packet parsed successfully {"connection_id":166018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:12:17] local.INFO: Passing IMEI to GPS processor {"connection_id":166018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:12:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":166018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:12:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:12:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:12:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:12:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702109184001,"66":2166,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1831065122847614976},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 12:12:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:12:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:12:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702109184001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:12:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:12:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:12:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:12:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847614976,"description":"Unknown IO ID 45"} 
[2026-08-28 12:12:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702109184001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847614976}} 
[2026-08-28 12:12:17] local.INFO: DEBUG: GPS processor result {"connection_id":166018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707343,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:12:17] local.INFO: GPS data processed {"connection_id":166018,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:12:17] local.INFO: Acknowledgment sent {"connection_id":166018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:12:31] local.INFO: TCP Data received {"connection_id":163667,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:12:31] local.INFO: Processing buffer {"connection_id":163667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:12:31] local.INFO: IMEI packet received {"connection_id":163667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 12:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":163667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:12:36] local.INFO: TCP Data received {"connection_id":163667,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:12:36] local.INFO: Processing buffer {"connection_id":163667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:12:36] local.INFO: IMEI packet received {"connection_id":163667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 12:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":163667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:12:37] local.INFO: TCP Data received {"connection_id":163667,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a04716c248012d34c14006aa4840001100e62b..."} 
[2026-08-28 12:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04716c248012d34c14006aa4840001100e62b..."} 
[2026-08-28 12:12:37] local.INFO: Processing buffer {"connection_id":163667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04716c248012d34c14006aa4840001100e62b..."} 
[2026-08-28 12:12:37] local.INFO: Packet analysis {"connection_id":163667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04716"} 
[2026-08-28 12:12:37] local.INFO: Extracted packet for processing {"connection_id":163667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04716"} 
[2026-08-28 12:12:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702084608001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787899069000,"timestamp_ms":1787899069000,"timestamp_seconds":1787899069,"priority":1,"record_length":96,"hex_timestamp":"000001a04716c248"} 
[2026-08-28 12:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 12:12:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:12:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702084608001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702084608001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:12:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:12:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:12: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-28 12:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702084608001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:12:37] 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":707344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:12:37] local.INFO: GPS data processed {"connection_id":163667,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:12:37] local.INFO: Acknowledgment sent {"connection_id":163667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:12:48] local.INFO: TCP Data received {"connection_id":166018,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a047183948012d196940071ff068004201422a..."} 
[2026-08-28 12:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047183948012d196940071ff068004201422a..."} 
[2026-08-28 12:12:48] local.INFO: Processing buffer {"connection_id":166018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047183948012d196940071ff068004201422a..."} 
[2026-08-28 12:12:48] local.INFO: Packet analysis {"connection_id":166018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04718"} 
[2026-08-28 12:12:48] local.INFO: Extracted packet for processing {"connection_id":166018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04718"} 
[2026-08-28 12:12:48] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533672,"longitude_deg":75.6640064,"latitude_deg":11.9533672,"altitude":66,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-28 12: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-28 12:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702109184001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:12:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:12:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847614976,"note":"Value kept but may cause issues"} 
[2026-08-28 12:12:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:12:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787899165000,"timestamp_ms":1787899165000,"timestamp_seconds":1787899165,"priority":1,"record_length":96,"hex_timestamp":"000001a047183948"} 
[2026-08-28 12: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-28 12:12:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-28 12:12:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12: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-28 12: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-28 12:12:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:12:48] local.INFO: Teltonika packet parsed successfully {"connection_id":166018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:12:48] local.INFO: Passing IMEI to GPS processor {"connection_id":166018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:12:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":166018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:12:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:12:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:12:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:12:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702109184001,"66":2166,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1831065122847614976},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 12:12:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:12:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:12:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702109184001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:12:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:12:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:12:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:12:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847614976,"description":"Unknown IO ID 45"} 
[2026-08-28 12:12:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702109184001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847614976}} 
[2026-08-28 12:12:49] local.INFO: DEBUG: GPS processor result {"connection_id":166018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707345,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:12:49] local.INFO: GPS data processed {"connection_id":166018,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:12:49] local.INFO: Acknowledgment sent {"connection_id":166018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:13:09] local.INFO: TCP Data received {"connection_id":163667,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a04716c248012d34c14006aa4840001100e62b..."} 
[2026-08-28 12:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04716c248012d34c14006aa4840001100e62b..."} 
[2026-08-28 12:13:09] local.INFO: Processing buffer {"connection_id":163667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04716c248012d34c14006aa4840001100e62b..."} 
[2026-08-28 12:13:09] local.INFO: Packet analysis {"connection_id":163667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04716"} 
[2026-08-28 12:13:09] local.INFO: Extracted packet for processing {"connection_id":163667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04716"} 
[2026-08-28 12:13:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702084608001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:13:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:13:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787899069000,"timestamp_ms":1787899069000,"timestamp_seconds":1787899069,"priority":1,"record_length":96,"hex_timestamp":"000001a04716c248"} 
[2026-08-28 12:13:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:13:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 12:13:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:13:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:13:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:13:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702084608001,"66":25397,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702084608001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:13:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:13:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:13: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-28 12:13:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702084608001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:13:09] 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":707346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:13:09] local.INFO: GPS data processed {"connection_id":163667,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:13:09] local.INFO: Acknowledgment sent {"connection_id":163667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:13:11] local.INFO: TCP Data received {"connection_id":163668,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:13:11] local.INFO: Processing buffer {"connection_id":163668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:13:11] local.INFO: IMEI packet received {"connection_id":163668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 12:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":163668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:13:16] local.INFO: TCP Data received {"connection_id":163668,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:13:16] local.INFO: Processing buffer {"connection_id":163668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:13:16] local.INFO: IMEI packet received {"connection_id":163668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 12:13:16] local.INFO: IMEI acknowledgment sent {"connection_id":163668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:13:21] local.INFO: TCP Data received {"connection_id":163668,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a047183948012d196940071ff068004201422a..."} 
[2026-08-28 12:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047183948012d196940071ff068004201422a..."} 
[2026-08-28 12:13:21] local.INFO: Processing buffer {"connection_id":163668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047183948012d196940071ff068004201422a..."} 
[2026-08-28 12:13:21] local.INFO: Packet analysis {"connection_id":163668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04718"} 
[2026-08-28 12:13:21] local.INFO: Extracted packet for processing {"connection_id":163668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04718"} 
[2026-08-28 12:13:21] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533672,"longitude_deg":75.6640064,"latitude_deg":11.9533672,"altitude":66,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-28 12: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-28 12:13:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702109184001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:13:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:13:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847614976,"note":"Value kept but may cause issues"} 
[2026-08-28 12:13:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:13:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787899165000,"timestamp_ms":1787899165000,"timestamp_seconds":1787899165,"priority":1,"record_length":96,"hex_timestamp":"000001a047183948"} 
[2026-08-28 12: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-28 12:13:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-28 12:13:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12: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-28 12: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-28 12:13:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:13:21] local.INFO: Teltonika packet parsed successfully {"connection_id":163668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:13:21] local.INFO: Passing IMEI to GPS processor {"connection_id":163668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:13:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":163668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:13:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:13:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:13:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:13:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702109184001,"66":2166,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1831065122847614976},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 12:13:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:13:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:13:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702109184001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:13:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:13:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:13:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:13:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847614976,"description":"Unknown IO ID 45"} 
[2026-08-28 12:13:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702109184001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847614976}} 
[2026-08-28 12:13:21] 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":707347,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:13:21] local.INFO: GPS data processed {"connection_id":163668,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:13:21] local.INFO: Acknowledgment sent {"connection_id":163668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:13:36] local.INFO: TCP Data received {"connection_id":166019,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:13:36] local.INFO: Processing buffer {"connection_id":166019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:13:36] local.INFO: IMEI packet received {"connection_id":166019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 12:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":166019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:13:41] local.INFO: TCP Data received {"connection_id":166019,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:13:41] local.INFO: Processing buffer {"connection_id":166019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:13:41] local.INFO: IMEI packet received {"connection_id":166019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 12:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":166019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:13:42] local.INFO: TCP Data received {"connection_id":166019,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0471b5a10012d34c14006aa4840000f00e62b..."} 
[2026-08-28 12:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0471b5a10012d34c14006aa4840000f00e62b..."} 
[2026-08-28 12:13:42] local.INFO: Processing buffer {"connection_id":166019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0471b5a10012d34c14006aa4840000f00e62b..."} 
[2026-08-28 12:13:42] local.INFO: Packet analysis {"connection_id":166019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0471b"} 
[2026-08-28 12:13:42] local.INFO: Extracted packet for processing {"connection_id":166019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0471b"} 
[2026-08-28 12:13:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12: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-28 12:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702161664001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:13:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12: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-28 12:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787899370000,"timestamp_ms":1787899370000,"timestamp_seconds":1787899370,"priority":1,"record_length":96,"hex_timestamp":"000001a0471b5a10"} 
[2026-08-28 12: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-28 12:13:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12: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-28 12: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-28 12: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-28 12: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-28 12:13:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":166019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":166019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":166019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:13:42] 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-28 12:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:13:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702161664001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:13:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:13:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:13:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702161664001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:13:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:13:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12: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-28 12:13:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:13:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702161664001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:13:42] local.INFO: DEBUG: GPS processor result {"connection_id":166019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:13:42] local.INFO: GPS data processed {"connection_id":166019,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:13:42] local.INFO: Acknowledgment sent {"connection_id":166019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:13:47] local.INFO: TCP Data received {"connection_id":166019,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0471b5a10012d34c14006aa4840000f00e62b..."} 
[2026-08-28 12:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0471b5a10012d34c14006aa4840000f00e62b..."} 
[2026-08-28 12:13:47] local.INFO: Processing buffer {"connection_id":166019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0471b5a10012d34c14006aa4840000f00e62b..."} 
[2026-08-28 12:13:47] local.INFO: Packet analysis {"connection_id":166019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0471b"} 
[2026-08-28 12:13:47] local.INFO: Extracted packet for processing {"connection_id":166019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0471b"} 
[2026-08-28 12:13:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12: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-28 12:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702161664001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:13:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12: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-28 12:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787899370000,"timestamp_ms":1787899370000,"timestamp_seconds":1787899370,"priority":1,"record_length":96,"hex_timestamp":"000001a0471b5a10"} 
[2026-08-28 12: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-28 12:13:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12: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":53,"data_length":795,"current_offset":136} 
[2026-08-28 12:13: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-28 12: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-28 12: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-28 12:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":166019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":166019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":166019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:13:47] 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-28 12:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702161664001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702161664001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:13:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:13:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12: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-28 12:13:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702161664001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":166019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:13:47] local.INFO: GPS data processed {"connection_id":166019,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:13:47] local.INFO: Acknowledgment sent {"connection_id":166019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:13:52] local.INFO: TCP Data received {"connection_id":163668,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a047183948012d196940071ff068004201422a..."} 
[2026-08-28 12:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047183948012d196940071ff068004201422a..."} 
[2026-08-28 12:13:52] local.INFO: Processing buffer {"connection_id":163668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047183948012d196940071ff068004201422a..."} 
[2026-08-28 12:13:52] local.INFO: Packet analysis {"connection_id":163668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04718"} 
[2026-08-28 12:13:52] local.INFO: Extracted packet for processing {"connection_id":163668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04718"} 
[2026-08-28 12:13:52] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533672,"longitude_deg":75.6640064,"latitude_deg":11.9533672,"altitude":66,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-28 12: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-28 12:13:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702109184001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:13:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:13:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847614976,"note":"Value kept but may cause issues"} 
[2026-08-28 12:13:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:13:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787899165000,"timestamp_ms":1787899165000,"timestamp_seconds":1787899165,"priority":1,"record_length":96,"hex_timestamp":"000001a047183948"} 
[2026-08-28 12: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-28 12:13:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-28 12:13:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12: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-28 12: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-28 12:13:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:13:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:13:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:13:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:13:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:13:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:13:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:13:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702109184001,"66":2166,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1831065122847614976},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 12:13:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:13:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:13:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702109184001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:13:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:13:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:13:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:13:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847614976,"description":"Unknown IO ID 45"} 
[2026-08-28 12:13:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702109184001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847614976}} 
[2026-08-28 12:13:52] 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":707350,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:13:52] local.INFO: GPS data processed {"connection_id":163668,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:13:52] local.INFO: Acknowledgment sent {"connection_id":163668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:14:11] local.INFO: TCP Data received {"connection_id":163395,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163395,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:14:11] local.INFO: Processing buffer {"connection_id":163395,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:14:11] local.INFO: IMEI packet received {"connection_id":163395,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 12:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":163395,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:14:16] local.INFO: TCP Data received {"connection_id":163395,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163395,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:14:16] local.INFO: Processing buffer {"connection_id":163395,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:14:16] local.INFO: IMEI packet received {"connection_id":163395,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 12:14:16] local.INFO: IMEI acknowledgment sent {"connection_id":163395,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:14:17] local.INFO: TCP Data received {"connection_id":163395,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a047183948012d196940071ff068004201422a..."} 
[2026-08-28 12:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047183948012d196940071ff068004201422a..."} 
[2026-08-28 12:14:17] local.INFO: Processing buffer {"connection_id":163395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047183948012d196940071ff068004201422a..."} 
[2026-08-28 12:14:17] local.INFO: Packet analysis {"connection_id":163395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04718"} 
[2026-08-28 12:14:17] local.INFO: Extracted packet for processing {"connection_id":163395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04718"} 
[2026-08-28 12:14:17] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533672,"longitude_deg":75.6640064,"latitude_deg":11.9533672,"altitude":66,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-28 12:14:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:14:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702109184001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:14:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:14:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847614976,"note":"Value kept but may cause issues"} 
[2026-08-28 12:14: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-28 12:14:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787899165000,"timestamp_ms":1787899165000,"timestamp_seconds":1787899165,"priority":1,"record_length":96,"hex_timestamp":"000001a047183948"} 
[2026-08-28 12:14:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:14:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:14:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-28 12:14: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-28 12:14:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:14:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:14:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:14:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:14:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:14:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:14:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:14:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:14:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:14:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702109184001,"66":2166,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1831065122847614976},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 12:14:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:14:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:14:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702109184001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:14:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:14:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:14:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:14:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847614976,"description":"Unknown IO ID 45"} 
[2026-08-28 12:14:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702109184001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847614976}} 
[2026-08-28 12:14:17] 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":707351,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:14:17] local.INFO: GPS data processed {"connection_id":163395,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:14:17] local.INFO: Acknowledgment sent {"connection_id":163395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:14:30] local.INFO: TCP Data received {"connection_id":163396,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:14:30] local.INFO: Processing buffer {"connection_id":163396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:14:30] local.INFO: IMEI packet received {"connection_id":163396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 12:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":163396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:14:36] local.INFO: TCP Data received {"connection_id":163396,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:14:36] local.INFO: Processing buffer {"connection_id":163396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:14:36] local.INFO: IMEI packet received {"connection_id":163396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 12:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":163396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:14:37] local.INFO: TCP Data received {"connection_id":163396,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0471b5a10012d34c14006aa4840000f00e62b..."} 
[2026-08-28 12:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0471b5a10012d34c14006aa4840000f00e62b..."} 
[2026-08-28 12:14:37] local.INFO: Processing buffer {"connection_id":163396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0471b5a10012d34c14006aa4840000f00e62b..."} 
[2026-08-28 12:14:37] local.INFO: Packet analysis {"connection_id":163396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0471b"} 
[2026-08-28 12:14:37] local.INFO: Extracted packet for processing {"connection_id":163396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0471b"} 
[2026-08-28 12:14:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 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-28 12:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702161664001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787899370000,"timestamp_ms":1787899370000,"timestamp_seconds":1787899370,"priority":1,"record_length":96,"hex_timestamp":"000001a0471b5a10"} 
[2026-08-28 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-28 12:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 12:14:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 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-28 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-28 12:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702161664001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702161664001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:14:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:14:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:14: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-28 12:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702161664001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":163396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:14:37] local.INFO: GPS data processed {"connection_id":163396,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:14:37] local.INFO: Acknowledgment sent {"connection_id":163396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:14:48] local.INFO: TCP Data received {"connection_id":163395,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a047183948012d196940071ff068004201422a..."} 
[2026-08-28 12:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047183948012d196940071ff068004201422a..."} 
[2026-08-28 12:14:48] local.INFO: Processing buffer {"connection_id":163395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047183948012d196940071ff068004201422a..."} 
[2026-08-28 12:14:48] local.INFO: Packet analysis {"connection_id":163395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04718"} 
[2026-08-28 12:14:48] local.INFO: Extracted packet for processing {"connection_id":163395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04718"} 
[2026-08-28 12:14:48] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533672,"longitude_deg":75.6640064,"latitude_deg":11.9533672,"altitude":66,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-28 12: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-28 12:14:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702109184001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:14:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:14:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847614976,"note":"Value kept but may cause issues"} 
[2026-08-28 12:14:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:14:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787899165000,"timestamp_ms":1787899165000,"timestamp_seconds":1787899165,"priority":1,"record_length":96,"hex_timestamp":"000001a047183948"} 
[2026-08-28 12: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-28 12:14:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:14:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-28 12:14:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12: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-28 12: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-28 12:14:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:14:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:14:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:14:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:14:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:14:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:14:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:14:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702109184001,"66":2166,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1831065122847614976},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 12:14:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:14:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:14:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702109184001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:14:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:14:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:14:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:14:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847614976,"description":"Unknown IO ID 45"} 
[2026-08-28 12:14:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702109184001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847614976}} 
[2026-08-28 12:14:48] 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":707353,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:14:48] local.INFO: GPS data processed {"connection_id":163395,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:14:48] local.INFO: Acknowledgment sent {"connection_id":163395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:15:09] local.INFO: TCP Data received {"connection_id":163396,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0471b5a10012d34c14006aa4840000f00e62b..."} 
[2026-08-28 12:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0471b5a10012d34c14006aa4840000f00e62b..."} 
[2026-08-28 12:15:09] local.INFO: Processing buffer {"connection_id":163396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0471b5a10012d34c14006aa4840000f00e62b..."} 
[2026-08-28 12:15:09] local.INFO: Packet analysis {"connection_id":163396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0471b"} 
[2026-08-28 12:15:09] local.INFO: Extracted packet for processing {"connection_id":163396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0471b"} 
[2026-08-28 12:15:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702161664001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:15:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:15:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787899370000,"timestamp_ms":1787899370000,"timestamp_seconds":1787899370,"priority":1,"record_length":96,"hex_timestamp":"000001a0471b5a10"} 
[2026-08-28 12:15:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:15:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 12:15:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:15:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:15:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:15:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702161664001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702161664001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:15:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:15:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:15: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-28 12:15:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702161664001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":163396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:15:09] local.INFO: GPS data processed {"connection_id":163396,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:15:09] local.INFO: Acknowledgment sent {"connection_id":163396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:15:16] local.INFO: TCP Data received {"connection_id":163397,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163397,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:15:16] local.INFO: Processing buffer {"connection_id":163397,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:15:16] local.INFO: IMEI packet received {"connection_id":163397,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 12:15:16] local.INFO: IMEI acknowledgment sent {"connection_id":163397,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:15:21] local.INFO: TCP Data received {"connection_id":163397,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163397,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:15:21] local.INFO: Processing buffer {"connection_id":163397,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:15:21] local.INFO: IMEI packet received {"connection_id":163397,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 12:15:21] local.INFO: IMEI acknowledgment sent {"connection_id":163397,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:15:22] local.INFO: TCP Data received {"connection_id":163397,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0471cd110012d196940071ff068004201422c..."} 
[2026-08-28 12:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0471cd110012d196940071ff068004201422c..."} 
[2026-08-28 12:15:22] local.INFO: Processing buffer {"connection_id":163397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0471cd110012d196940071ff068004201422c..."} 
[2026-08-28 12:15:22] local.INFO: Packet analysis {"connection_id":163397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0471c"} 
[2026-08-28 12:15:22] local.INFO: Extracted packet for processing {"connection_id":163397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0471c"} 
[2026-08-28 12:15:22] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533672,"longitude_deg":75.6640064,"latitude_deg":11.9533672,"altitude":66,"angle":322,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-28 12:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:15:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702186240001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:15:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:15:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847614976,"note":"Value kept but may cause issues"} 
[2026-08-28 12:15: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-28 12:15:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787899466000,"timestamp_ms":1787899466000,"timestamp_seconds":1787899466,"priority":1,"record_length":96,"hex_timestamp":"000001a0471cd110"} 
[2026-08-28 12:15:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:15:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 12:15:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:15:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:15:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:15:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:15:22] local.INFO: Teltonika packet parsed successfully {"connection_id":163397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:15:22] local.INFO: Passing IMEI to GPS processor {"connection_id":163397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:15:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":163397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:15:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:15:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:15:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:15:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702186240001,"66":2166,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1831065122847614976},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 12:15:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:15:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:15:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702186240001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:15:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:15:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:15:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:15:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847614976,"description":"Unknown IO ID 45"} 
[2026-08-28 12:15:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702186240001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847614976}} 
[2026-08-28 12:15:22] local.INFO: DEBUG: GPS processor result {"connection_id":163397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707355,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:15:22] local.INFO: GPS data processed {"connection_id":163397,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:15:22] local.INFO: Acknowledgment sent {"connection_id":163397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:15:26] local.INFO: TCP Data received {"connection_id":163397,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0471cd110012d196940071ff068004201422c..."} 
[2026-08-28 12:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0471cd110012d196940071ff068004201422c..."} 
[2026-08-28 12:15:26] local.INFO: Processing buffer {"connection_id":163397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0471cd110012d196940071ff068004201422c..."} 
[2026-08-28 12:15:26] local.INFO: Packet analysis {"connection_id":163397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0471c"} 
[2026-08-28 12:15:26] local.INFO: Extracted packet for processing {"connection_id":163397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0471c"} 
[2026-08-28 12:15:26] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533672,"longitude_deg":75.6640064,"latitude_deg":11.9533672,"altitude":66,"angle":322,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-28 12:15:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:15:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702186240001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:15:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:15:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847614976,"note":"Value kept but may cause issues"} 
[2026-08-28 12:15:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:15:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787899466000,"timestamp_ms":1787899466000,"timestamp_seconds":1787899466,"priority":1,"record_length":96,"hex_timestamp":"000001a0471cd110"} 
[2026-08-28 12:15:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:15:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:15:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 12:15:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:15:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:15:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:15:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:15:26] local.INFO: Teltonika packet parsed successfully {"connection_id":163397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:15:26] local.INFO: Passing IMEI to GPS processor {"connection_id":163397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:15:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":163397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:15:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:15:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:15:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:15:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702186240001,"66":2166,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1831065122847614976},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 12:15:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:15:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:15:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702186240001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:15:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:15:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:15:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:15:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847614976,"description":"Unknown IO ID 45"} 
[2026-08-28 12:15:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702186240001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847614976}} 
[2026-08-28 12:15:27] local.INFO: DEBUG: GPS processor result {"connection_id":163397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707356,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:15:27] local.INFO: GPS data processed {"connection_id":163397,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:15:27] local.INFO: Acknowledgment sent {"connection_id":163397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:15:30] local.INFO: TCP Data received {"connection_id":163669,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:15:30] local.INFO: Processing buffer {"connection_id":163669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:15:30] local.INFO: IMEI packet received {"connection_id":163669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 12:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":163669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:15:36] local.INFO: TCP Data received {"connection_id":163669,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:15:36] local.INFO: Processing buffer {"connection_id":163669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:15:36] local.INFO: IMEI packet received {"connection_id":163669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 12:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":163669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:15:36] local.INFO: TCP Data received {"connection_id":163669,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0471b5a10012d34c14006aa4840000f00e62b..."} 
[2026-08-28 12:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0471b5a10012d34c14006aa4840000f00e62b..."} 
[2026-08-28 12:15:36] local.INFO: Processing buffer {"connection_id":163669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0471b5a10012d34c14006aa4840000f00e62b..."} 
[2026-08-28 12:15:36] local.INFO: Packet analysis {"connection_id":163669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0471b"} 
[2026-08-28 12:15:36] local.INFO: Extracted packet for processing {"connection_id":163669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0471b"} 
[2026-08-28 12:15:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702161664001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:15:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787899370000,"timestamp_ms":1787899370000,"timestamp_seconds":1787899370,"priority":1,"record_length":96,"hex_timestamp":"000001a0471b5a10"} 
[2026-08-28 12:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 12:15:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:15:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702161664001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702161664001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:15:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:15:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702161664001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:15:37] 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":707357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:15:37] local.INFO: GPS data processed {"connection_id":163669,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:15:37] local.INFO: Acknowledgment sent {"connection_id":163669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:16:09] local.INFO: TCP Data received {"connection_id":163669,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0471b5a10012d34c14006aa4840000f00e62b..."} 
[2026-08-28 12:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0471b5a10012d34c14006aa4840000f00e62b..."} 
[2026-08-28 12:16:09] local.INFO: Processing buffer {"connection_id":163669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0471b5a10012d34c14006aa4840000f00e62b..."} 
[2026-08-28 12:16:09] local.INFO: Packet analysis {"connection_id":163669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0471b"} 
[2026-08-28 12:16:09] local.INFO: Extracted packet for processing {"connection_id":163669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0471b"} 
[2026-08-28 12:16:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702161664001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:16:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787899370000,"timestamp_ms":1787899370000,"timestamp_seconds":1787899370,"priority":1,"record_length":96,"hex_timestamp":"000001a0471b5a10"} 
[2026-08-28 12:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:16:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 12:16:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:16:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702161664001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702161664001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:16:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:16:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:16: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-28 12:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702161664001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:16:09] 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":707358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:16:09] local.INFO: GPS data processed {"connection_id":163669,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:16:09] local.INFO: Acknowledgment sent {"connection_id":163669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:16:11] local.INFO: TCP Data received {"connection_id":163398,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163398,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:16:11] local.INFO: Processing buffer {"connection_id":163398,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:16:11] local.INFO: IMEI packet received {"connection_id":163398,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 12:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":163398,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:16:16] local.INFO: TCP Data received {"connection_id":163398,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163398,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:16:16] local.INFO: Processing buffer {"connection_id":163398,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:16:16] local.INFO: IMEI packet received {"connection_id":163398,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 12:16:16] local.INFO: IMEI acknowledgment sent {"connection_id":163398,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:16:17] local.INFO: TCP Data received {"connection_id":163398,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0471cd110012d196940071ff068004201422c..."} 
[2026-08-28 12:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0471cd110012d196940071ff068004201422c..."} 
[2026-08-28 12:16:17] local.INFO: Processing buffer {"connection_id":163398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0471cd110012d196940071ff068004201422c..."} 
[2026-08-28 12:16:17] local.INFO: Packet analysis {"connection_id":163398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0471c"} 
[2026-08-28 12:16:17] local.INFO: Extracted packet for processing {"connection_id":163398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0471c"} 
[2026-08-28 12:16:17] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533672,"longitude_deg":75.6640064,"latitude_deg":11.9533672,"altitude":66,"angle":322,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-28 12: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-28 12:16:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702186240001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:16:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:16:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847614976,"note":"Value kept but may cause issues"} 
[2026-08-28 12:16: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-28 12:16:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787899466000,"timestamp_ms":1787899466000,"timestamp_seconds":1787899466,"priority":1,"record_length":96,"hex_timestamp":"000001a0471cd110"} 
[2026-08-28 12: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-28 12:16:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 12:16:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12: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-28 12: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-28 12:16:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:16:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:16:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163398,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:16:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163398,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:16:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:16:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:16:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:16:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702186240001,"66":2166,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1831065122847614976},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 12:16:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:16:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:16:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702186240001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:16:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:16:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:16:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:16:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847614976,"description":"Unknown IO ID 45"} 
[2026-08-28 12:16:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702186240001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847614976}} 
[2026-08-28 12:16:17] 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":707359,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:16:17] local.INFO: GPS data processed {"connection_id":163398,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:16:17] local.INFO: Acknowledgment sent {"connection_id":163398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:16:30] local.INFO: TCP Data received {"connection_id":166020,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:16:30] local.INFO: Processing buffer {"connection_id":166020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:16:30] local.INFO: IMEI packet received {"connection_id":166020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 12:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":166020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:16:36] local.INFO: TCP Data received {"connection_id":166020,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:16:36] local.INFO: Processing buffer {"connection_id":166020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:16:36] local.INFO: IMEI packet received {"connection_id":166020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 12:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":166020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:16:37] local.INFO: TCP Data received {"connection_id":166020,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0471b5a10012d34c14006aa4840000f00e62b..."} 
[2026-08-28 12:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0471b5a10012d34c14006aa4840000f00e62b..."} 
[2026-08-28 12:16:37] local.INFO: Processing buffer {"connection_id":166020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0471b5a10012d34c14006aa4840000f00e62b..."} 
[2026-08-28 12:16:37] local.INFO: Packet analysis {"connection_id":166020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0471b"} 
[2026-08-28 12:16:37] local.INFO: Extracted packet for processing {"connection_id":166020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0471b"} 
[2026-08-28 12:16:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 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-28 12:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702161664001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787899370000,"timestamp_ms":1787899370000,"timestamp_seconds":1787899370,"priority":1,"record_length":96,"hex_timestamp":"000001a0471b5a10"} 
[2026-08-28 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-28 12:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 12:16:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:16:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 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-28 12:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":166020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":166020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":166020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702161664001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702161664001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:16:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:16:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:16: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-28 12:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702161664001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":166020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:16:37] local.INFO: GPS data processed {"connection_id":166020,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:16:37] local.INFO: Acknowledgment sent {"connection_id":166020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:16:48] local.INFO: TCP Data received {"connection_id":163398,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0471cd110012d196940071ff068004201422c..."} 
[2026-08-28 12:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0471cd110012d196940071ff068004201422c..."} 
[2026-08-28 12:16:48] local.INFO: Processing buffer {"connection_id":163398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0471cd110012d196940071ff068004201422c..."} 
[2026-08-28 12:16:48] local.INFO: Packet analysis {"connection_id":163398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0471c"} 
[2026-08-28 12:16:48] local.INFO: Extracted packet for processing {"connection_id":163398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0471c"} 
[2026-08-28 12:16:48] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533672,"longitude_deg":75.6640064,"latitude_deg":11.9533672,"altitude":66,"angle":322,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-28 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-28 12:16:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702186240001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:16:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:16:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847614976,"note":"Value kept but may cause issues"} 
[2026-08-28 12:16:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:16:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787899466000,"timestamp_ms":1787899466000,"timestamp_seconds":1787899466,"priority":1,"record_length":96,"hex_timestamp":"000001a0471cd110"} 
[2026-08-28 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-28 12:16:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 12:16:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 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-28 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-28 12:16:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:16:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:16:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163398,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:16:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163398,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:16:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:16:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:16:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:16:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702186240001,"66":2166,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1831065122847614976},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 12:16:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:16:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:16:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702186240001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:16:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:16:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:16:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:16:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847614976,"description":"Unknown IO ID 45"} 
[2026-08-28 12:16:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702186240001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847614976}} 
[2026-08-28 12:16:48] 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":707361,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:16:48] local.INFO: GPS data processed {"connection_id":163398,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:16:48] local.INFO: Acknowledgment sent {"connection_id":163398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:17:08] local.INFO: TCP Data received {"connection_id":166020,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0471b5a10012d34c14006aa4840000f00e62b..."} 
[2026-08-28 12:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0471b5a10012d34c14006aa4840000f00e62b..."} 
[2026-08-28 12:17:08] local.INFO: Processing buffer {"connection_id":166020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0471b5a10012d34c14006aa4840000f00e62b..."} 
[2026-08-28 12:17:08] local.INFO: Packet analysis {"connection_id":166020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0471b"} 
[2026-08-28 12:17:08] local.INFO: Extracted packet for processing {"connection_id":166020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0471b"} 
[2026-08-28 12:17:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 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-28 12:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702161664001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:17: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-28 12:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787899370000,"timestamp_ms":1787899370000,"timestamp_seconds":1787899370,"priority":1,"record_length":96,"hex_timestamp":"000001a0471b5a10"} 
[2026-08-28 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-28 12:17:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 12:17:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 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-28 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-28 12:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":166020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":166020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":166020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:17:08] 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-28 12:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702161664001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702161664001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:17:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:17:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:17: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-28 12:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702161664001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":166020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:17:08] local.INFO: GPS data processed {"connection_id":166020,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:17:08] local.INFO: Acknowledgment sent {"connection_id":166020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:17:11] local.INFO: TCP Data received {"connection_id":164663,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:17:11] local.INFO: Processing buffer {"connection_id":164663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:17:11] local.INFO: IMEI packet received {"connection_id":164663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 12:17:11] local.INFO: IMEI acknowledgment sent {"connection_id":164663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:17:16] local.INFO: TCP Data received {"connection_id":164663,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:17:16] local.INFO: Processing buffer {"connection_id":164663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:17:16] local.INFO: IMEI packet received {"connection_id":164663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 12:17:16] local.INFO: IMEI acknowledgment sent {"connection_id":164663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:17:17] local.INFO: TCP Data received {"connection_id":164663,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0471cd110012d196940071ff068004201422c..."} 
[2026-08-28 12:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0471cd110012d196940071ff068004201422c..."} 
[2026-08-28 12:17:17] local.INFO: Processing buffer {"connection_id":164663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0471cd110012d196940071ff068004201422c..."} 
[2026-08-28 12:17:17] local.INFO: Packet analysis {"connection_id":164663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0471c"} 
[2026-08-28 12:17:17] local.INFO: Extracted packet for processing {"connection_id":164663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0471c"} 
[2026-08-28 12:17:17] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533672,"longitude_deg":75.6640064,"latitude_deg":11.9533672,"altitude":66,"angle":322,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-28 12:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:17:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702186240001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:17:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:17:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847614976,"note":"Value kept but may cause issues"} 
[2026-08-28 12:17: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-28 12:17:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787899466000,"timestamp_ms":1787899466000,"timestamp_seconds":1787899466,"priority":1,"record_length":96,"hex_timestamp":"000001a0471cd110"} 
[2026-08-28 12:17:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:17:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 12:17:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:17:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:17:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:17:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:17:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:17:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:17:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:17:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:17:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:17:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:17:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702186240001,"66":2166,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1831065122847614976},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 12:17:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:17:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:17:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702186240001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:17:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:17:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:17:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:17:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847614976,"description":"Unknown IO ID 45"} 
[2026-08-28 12:17:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702186240001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847614976}} 
[2026-08-28 12:17:17] local.INFO: DEBUG: GPS processor result {"connection_id":164663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707363,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:17:17] local.INFO: GPS data processed {"connection_id":164663,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:17:17] local.INFO: Acknowledgment sent {"connection_id":164663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:17:36] local.INFO: TCP Data received {"connection_id":163399,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:17:36] local.INFO: Processing buffer {"connection_id":163399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:17:36] local.INFO: IMEI packet received {"connection_id":163399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 12:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":163399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:17:41] local.INFO: TCP Data received {"connection_id":163399,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:17:41] local.INFO: Processing buffer {"connection_id":163399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:17:41] local.INFO: IMEI packet received {"connection_id":163399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 12:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":163399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:17:42] local.INFO: TCP Data received {"connection_id":163399,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0471b5a10012d34c14006aa4840000f00e62b..."} 
[2026-08-28 12:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0471b5a10012d34c14006aa4840000f00e62b..."} 
[2026-08-28 12:17:42] local.INFO: Processing buffer {"connection_id":163399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0471b5a10012d34c14006aa4840000f00e62b..."} 
[2026-08-28 12:17:42] local.INFO: Packet analysis {"connection_id":163399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0471b"} 
[2026-08-28 12:17:42] local.INFO: Extracted packet for processing {"connection_id":163399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0471b"} 
[2026-08-28 12:17:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 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-28 12:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702161664001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:17:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12: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-28 12:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787899370000,"timestamp_ms":1787899370000,"timestamp_seconds":1787899370,"priority":1,"record_length":96,"hex_timestamp":"000001a0471b5a10"} 
[2026-08-28 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-28 12:17:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 12:17: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-28 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-28 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-28 12:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:17: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-28 12:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702161664001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702161664001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:17:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:17:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12: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-28 12:17:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702161664001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:17:42] 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":707364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:17:42] local.INFO: GPS data processed {"connection_id":163399,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:17:42] local.INFO: Acknowledgment sent {"connection_id":163399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:17:47] local.INFO: TCP Data received {"connection_id":163399,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0471b5a10012d34c14006aa4840000f00e62b..."} 
[2026-08-28 12:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0471b5a10012d34c14006aa4840000f00e62b..."} 
[2026-08-28 12:17:47] local.INFO: Processing buffer {"connection_id":163399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0471b5a10012d34c14006aa4840000f00e62b..."} 
[2026-08-28 12:17:47] local.INFO: Packet analysis {"connection_id":163399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0471b"} 
[2026-08-28 12:17:47] local.INFO: Extracted packet for processing {"connection_id":163399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0471b"} 
[2026-08-28 12:17:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12: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-28 12:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702161664001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:17:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12: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-28 12:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787899370000,"timestamp_ms":1787899370000,"timestamp_seconds":1787899370,"priority":1,"record_length":96,"hex_timestamp":"000001a0471b5a10"} 
[2026-08-28 12: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-28 12:17:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12: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-28 12: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-28 12: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-28 12: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-28 12:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:17:47] 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-28 12:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:17:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702161664001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:17:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:17:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:17:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702161664001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:17:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:17:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12: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-28 12:17:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:17:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702161664001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:17:47] 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":707365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:17:47] local.INFO: GPS data processed {"connection_id":163399,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:17:47] local.INFO: Acknowledgment sent {"connection_id":163399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:17:48] local.INFO: TCP Data received {"connection_id":164663,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0471cd110012d196940071ff068004201422c..."} 
[2026-08-28 12:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0471cd110012d196940071ff068004201422c..."} 
[2026-08-28 12:17:48] local.INFO: Processing buffer {"connection_id":164663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0471cd110012d196940071ff068004201422c..."} 
[2026-08-28 12:17:48] local.INFO: Packet analysis {"connection_id":164663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0471c"} 
[2026-08-28 12:17:48] local.INFO: Extracted packet for processing {"connection_id":164663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0471c"} 
[2026-08-28 12:17:48] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533672,"longitude_deg":75.6640064,"latitude_deg":11.9533672,"altitude":66,"angle":322,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-28 12: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-28 12:17:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702186240001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:17:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:17:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847614976,"note":"Value kept but may cause issues"} 
[2026-08-28 12:17:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:17:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787899466000,"timestamp_ms":1787899466000,"timestamp_seconds":1787899466,"priority":1,"record_length":96,"hex_timestamp":"000001a0471cd110"} 
[2026-08-28 12: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-28 12:17:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:17:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 12:17:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12: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-28 12: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-28 12:17:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:17:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:17:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:17:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:17:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:17:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:17:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:17:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702186240001,"66":2166,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1831065122847614976},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 12:17:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:17:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:17:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702186240001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:17:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:17:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:17:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:17:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847614976,"description":"Unknown IO ID 45"} 
[2026-08-28 12:17:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702186240001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847614976}} 
[2026-08-28 12:17:48] local.INFO: DEBUG: GPS processor result {"connection_id":164663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707366,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:17:48] local.INFO: GPS data processed {"connection_id":164663,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:17:48] local.INFO: Acknowledgment sent {"connection_id":164663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:18:11] local.INFO: TCP Data received {"connection_id":163670,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163670,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:18:11] local.INFO: Processing buffer {"connection_id":163670,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:18:11] local.INFO: IMEI packet received {"connection_id":163670,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 12:18:11] local.INFO: IMEI acknowledgment sent {"connection_id":163670,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:18:16] local.INFO: TCP Data received {"connection_id":163670,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163670,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:18:16] local.INFO: Processing buffer {"connection_id":163670,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:18:16] local.INFO: IMEI packet received {"connection_id":163670,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 12:18:16] local.INFO: IMEI acknowledgment sent {"connection_id":163670,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:18:17] local.INFO: TCP Data received {"connection_id":163670,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0471cd110012d196940071ff068004201422c..."} 
[2026-08-28 12:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0471cd110012d196940071ff068004201422c..."} 
[2026-08-28 12:18:17] local.INFO: Processing buffer {"connection_id":163670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0471cd110012d196940071ff068004201422c..."} 
[2026-08-28 12:18:17] local.INFO: Packet analysis {"connection_id":163670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0471c"} 
[2026-08-28 12:18:17] local.INFO: Extracted packet for processing {"connection_id":163670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0471c"} 
[2026-08-28 12:18:17] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533672,"longitude_deg":75.6640064,"latitude_deg":11.9533672,"altitude":66,"angle":322,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-28 12: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-28 12:18:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702186240001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:18:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:18:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847614976,"note":"Value kept but may cause issues"} 
[2026-08-28 12:18: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-28 12:18:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787899466000,"timestamp_ms":1787899466000,"timestamp_seconds":1787899466,"priority":1,"record_length":96,"hex_timestamp":"000001a0471cd110"} 
[2026-08-28 12: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-28 12:18:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 12:18:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12: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-28 12: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-28 12:18:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:18:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:18:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:18:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:18:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:18:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:18:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:18:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702186240001,"66":2166,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1831065122847614976},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 12:18:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:18:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:18:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702186240001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:18:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:18:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:18:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:18:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847614976,"description":"Unknown IO ID 45"} 
[2026-08-28 12:18:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702186240001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847614976}} 
[2026-08-28 12:18:17] 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":707367,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:18:17] local.INFO: GPS data processed {"connection_id":163670,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:18:17] local.INFO: Acknowledgment sent {"connection_id":163670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:18:29] local.INFO: TCP Data received {"connection_id":164664,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:18:29] local.INFO: Processing buffer {"connection_id":164664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:18:29] local.INFO: IMEI packet received {"connection_id":164664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 12:18:29] local.INFO: IMEI acknowledgment sent {"connection_id":164664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:18:31] local.INFO: TCP Data received {"connection_id":164664,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:18:31] local.INFO: Processing buffer {"connection_id":164664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:18:31] local.INFO: IMEI packet received {"connection_id":164664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 12:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":164664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:18:36] local.INFO: TCP Data received {"connection_id":164664,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:18:36] local.INFO: Processing buffer {"connection_id":164664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:18:36] local.INFO: IMEI packet received {"connection_id":164664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 12:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":164664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:18:37] local.INFO: TCP Data received {"connection_id":164664,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0471ff1d8012d34c14006aa4840000e00e629..."} 
[2026-08-28 12:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0471ff1d8012d34c14006aa4840000e00e629..."} 
[2026-08-28 12:18:37] local.INFO: Processing buffer {"connection_id":164664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0471ff1d8012d34c14006aa4840000e00e629..."} 
[2026-08-28 12:18:37] local.INFO: Packet analysis {"connection_id":164664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0471f"} 
[2026-08-28 12:18:37] local.INFO: Extracted packet for processing {"connection_id":164664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0471f"} 
[2026-08-28 12:18:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 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-28 12:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702238720001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787899671000,"timestamp_ms":1787899671000,"timestamp_seconds":1787899671,"priority":1,"record_length":96,"hex_timestamp":"000001a0471ff1d8"} 
[2026-08-28 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-28 12:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 12:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 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-28 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-28 12:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702238720001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702238720001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:18:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:18:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:18: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-28 12:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702238720001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":164664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:18:37] local.INFO: GPS data processed {"connection_id":164664,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:18:37] local.INFO: Acknowledgment sent {"connection_id":164664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:18:48] local.INFO: TCP Data received {"connection_id":163670,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0471cd110012d196940071ff068004201422c..."} 
[2026-08-28 12:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0471cd110012d196940071ff068004201422c..."} 
[2026-08-28 12:18:48] local.INFO: Processing buffer {"connection_id":163670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0471cd110012d196940071ff068004201422c..."} 
[2026-08-28 12:18:48] local.INFO: Packet analysis {"connection_id":163670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0471c"} 
[2026-08-28 12:18:48] local.INFO: Extracted packet for processing {"connection_id":163670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0471c"} 
[2026-08-28 12:18:48] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533672,"longitude_deg":75.6640064,"latitude_deg":11.9533672,"altitude":66,"angle":322,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-28 12:18:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:18:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702186240001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:18:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:18:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847614976,"note":"Value kept but may cause issues"} 
[2026-08-28 12:18:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:18:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787899466000,"timestamp_ms":1787899466000,"timestamp_seconds":1787899466,"priority":1,"record_length":96,"hex_timestamp":"000001a0471cd110"} 
[2026-08-28 12: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-28 12:18:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 12:18:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12: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-28 12: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-28 12:18:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:18:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:18:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:18:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:18:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:18:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:18:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:18:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702186240001,"66":2166,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1831065122847614976},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 12:18:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:18:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:18:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702186240001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:18:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:18:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:18:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:18:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847614976,"description":"Unknown IO ID 45"} 
[2026-08-28 12:18:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702186240001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847614976}} 
[2026-08-28 12:18:48] 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":707369,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:18:48] local.INFO: GPS data processed {"connection_id":163670,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:18:48] local.INFO: Acknowledgment sent {"connection_id":163670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:19:08] local.INFO: TCP Data received {"connection_id":164664,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0471ff1d8012d34c14006aa4840000e00e629..."} 
[2026-08-28 12:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0471ff1d8012d34c14006aa4840000e00e629..."} 
[2026-08-28 12:19:08] local.INFO: Processing buffer {"connection_id":164664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0471ff1d8012d34c14006aa4840000e00e629..."} 
[2026-08-28 12:19:08] local.INFO: Packet analysis {"connection_id":164664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0471f"} 
[2026-08-28 12:19:08] local.INFO: Extracted packet for processing {"connection_id":164664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0471f"} 
[2026-08-28 12:19:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702238720001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:19: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-28 12:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787899671000,"timestamp_ms":1787899671000,"timestamp_seconds":1787899671,"priority":1,"record_length":96,"hex_timestamp":"000001a0471ff1d8"} 
[2026-08-28 12:19:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:19:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 12:19:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:19:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:19:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:19:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702238720001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702238720001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:19:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:19:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:19: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-28 12:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702238720001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":164664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:19:08] local.INFO: GPS data processed {"connection_id":164664,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:19:08] local.INFO: Acknowledgment sent {"connection_id":164664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:19:11] local.INFO: TCP Data received {"connection_id":166022,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166022,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:19:11] local.INFO: Processing buffer {"connection_id":166022,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:19:11] local.INFO: IMEI packet received {"connection_id":166022,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 12:19:11] local.INFO: IMEI acknowledgment sent {"connection_id":166022,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:19:16] local.INFO: TCP Data received {"connection_id":166022,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166022,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:19:16] local.INFO: Processing buffer {"connection_id":166022,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:19:16] local.INFO: IMEI packet received {"connection_id":166022,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 12:19:16] local.INFO: IMEI acknowledgment sent {"connection_id":166022,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:19:17] local.INFO: TCP Data received {"connection_id":166022,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0471cd110012d196940071ff068004201422c..."} 
[2026-08-28 12:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0471cd110012d196940071ff068004201422c..."} 
[2026-08-28 12:19:17] local.INFO: Processing buffer {"connection_id":166022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0471cd110012d196940071ff068004201422c..."} 
[2026-08-28 12:19:17] local.INFO: Packet analysis {"connection_id":166022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0471c"} 
[2026-08-28 12:19:17] local.INFO: Extracted packet for processing {"connection_id":166022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0471c"} 
[2026-08-28 12:19:17] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533672,"longitude_deg":75.6640064,"latitude_deg":11.9533672,"altitude":66,"angle":322,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-28 12: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-28 12:19:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702186240001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:19:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:19:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847614976,"note":"Value kept but may cause issues"} 
[2026-08-28 12:19: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-28 12:19:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787899466000,"timestamp_ms":1787899466000,"timestamp_seconds":1787899466,"priority":1,"record_length":96,"hex_timestamp":"000001a0471cd110"} 
[2026-08-28 12: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-28 12:19:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:19:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 12:19:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12: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-28 12: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-28 12:19:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:19:17] local.INFO: Teltonika packet parsed successfully {"connection_id":166022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:19:17] local.INFO: Passing IMEI to GPS processor {"connection_id":166022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:19:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":166022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:19:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:19:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:19:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:19:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702186240001,"66":2166,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1831065122847614976},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 12:19:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:19:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:19:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702186240001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:19:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:19:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:19:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:19:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847614976,"description":"Unknown IO ID 45"} 
[2026-08-28 12:19:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702186240001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847614976}} 
[2026-08-28 12:19:17] local.INFO: DEBUG: GPS processor result {"connection_id":166022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707371,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:19:17] local.INFO: GPS data processed {"connection_id":166022,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:19:17] local.INFO: Acknowledgment sent {"connection_id":166022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:19:31] local.INFO: TCP Data received {"connection_id":163400,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:19:31] local.INFO: Processing buffer {"connection_id":163400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:19:31] local.INFO: IMEI packet received {"connection_id":163400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 12:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":163400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:19:36] local.INFO: TCP Data received {"connection_id":163400,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:19:36] local.INFO: Processing buffer {"connection_id":163400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:19:36] local.INFO: IMEI packet received {"connection_id":163400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 12:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":163400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:19:37] local.INFO: TCP Data received {"connection_id":163400,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0471ff1d8012d34c14006aa4840000e00e629..."} 
[2026-08-28 12:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0471ff1d8012d34c14006aa4840000e00e629..."} 
[2026-08-28 12:19:37] local.INFO: Processing buffer {"connection_id":163400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0471ff1d8012d34c14006aa4840000e00e629..."} 
[2026-08-28 12:19:37] local.INFO: Packet analysis {"connection_id":163400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0471f"} 
[2026-08-28 12:19:37] local.INFO: Extracted packet for processing {"connection_id":163400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0471f"} 
[2026-08-28 12:19:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702238720001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787899671000,"timestamp_ms":1787899671000,"timestamp_seconds":1787899671,"priority":1,"record_length":96,"hex_timestamp":"000001a0471ff1d8"} 
[2026-08-28 12:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 12:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702238720001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702238720001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:19:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:19:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:19: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-28 12:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702238720001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":163400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:19:37] local.INFO: GPS data processed {"connection_id":163400,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:19:37] local.INFO: Acknowledgment sent {"connection_id":163400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:19:48] local.INFO: TCP Data received {"connection_id":166022,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0471cd110012d196940071ff068004201422c..."} 
[2026-08-28 12:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0471cd110012d196940071ff068004201422c..."} 
[2026-08-28 12:19:48] local.INFO: Processing buffer {"connection_id":166022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0471cd110012d196940071ff068004201422c..."} 
[2026-08-28 12:19:48] local.INFO: Packet analysis {"connection_id":166022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0471c"} 
[2026-08-28 12:19:48] local.INFO: Extracted packet for processing {"connection_id":166022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0471c"} 
[2026-08-28 12:19:48] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533672,"longitude_deg":75.6640064,"latitude_deg":11.9533672,"altitude":66,"angle":322,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-28 12: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-28 12:19:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702186240001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:19:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:19:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847614976,"note":"Value kept but may cause issues"} 
[2026-08-28 12:19:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:19:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787899466000,"timestamp_ms":1787899466000,"timestamp_seconds":1787899466,"priority":1,"record_length":96,"hex_timestamp":"000001a0471cd110"} 
[2026-08-28 12: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-28 12:19:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:19:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 12:19:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12: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-28 12: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-28 12:19:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:19:48] local.INFO: Teltonika packet parsed successfully {"connection_id":166022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:19:48] local.INFO: Passing IMEI to GPS processor {"connection_id":166022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:19:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":166022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:19:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:19:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:19:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:19:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702186240001,"66":2166,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1831065122847614976},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 12:19:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:19:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:19:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702186240001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:19:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:19:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:19:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:19:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847614976,"description":"Unknown IO ID 45"} 
[2026-08-28 12:19:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702186240001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847614976}} 
[2026-08-28 12:19:48] local.INFO: DEBUG: GPS processor result {"connection_id":166022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:19:48] local.INFO: GPS data processed {"connection_id":166022,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:19:48] local.INFO: Acknowledgment sent {"connection_id":166022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:20:09] local.INFO: TCP Data received {"connection_id":163400,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0471ff1d8012d34c14006aa4840000e00e629..."} 
[2026-08-28 12:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0471ff1d8012d34c14006aa4840000e00e629..."} 
[2026-08-28 12:20:09] local.INFO: Processing buffer {"connection_id":163400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0471ff1d8012d34c14006aa4840000e00e629..."} 
[2026-08-28 12:20:09] local.INFO: Packet analysis {"connection_id":163400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0471f"} 
[2026-08-28 12:20:09] local.INFO: Extracted packet for processing {"connection_id":163400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0471f"} 
[2026-08-28 12:20:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702238720001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:20:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787899671000,"timestamp_ms":1787899671000,"timestamp_seconds":1787899671,"priority":1,"record_length":96,"hex_timestamp":"000001a0471ff1d8"} 
[2026-08-28 12:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 12:20:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:20:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:20:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702238720001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702238720001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:20:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:20:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:20: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-28 12:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702238720001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":163400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:20:09] local.INFO: GPS data processed {"connection_id":163400,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:20:09] local.INFO: Acknowledgment sent {"connection_id":163400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:20:11] local.INFO: TCP Data received {"connection_id":163671,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163671,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:20:11] local.INFO: Processing buffer {"connection_id":163671,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:20:11] local.INFO: IMEI packet received {"connection_id":163671,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 12:20:11] local.INFO: IMEI acknowledgment sent {"connection_id":163671,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:20:16] local.INFO: TCP Data received {"connection_id":163671,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163671,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:20:16] local.INFO: Processing buffer {"connection_id":163671,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:20:16] local.INFO: IMEI packet received {"connection_id":163671,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 12:20:16] local.INFO: IMEI acknowledgment sent {"connection_id":163671,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:20:17] local.INFO: TCP Data received {"connection_id":163671,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0472168d8012d196940071ff068004201422d..."} 
[2026-08-28 12:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0472168d8012d196940071ff068004201422d..."} 
[2026-08-28 12:20:17] local.INFO: Processing buffer {"connection_id":163671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0472168d8012d196940071ff068004201422d..."} 
[2026-08-28 12:20:17] local.INFO: Packet analysis {"connection_id":163671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04721"} 
[2026-08-28 12:20:17] local.INFO: Extracted packet for processing {"connection_id":163671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04721"} 
[2026-08-28 12:20:17] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533672,"longitude_deg":75.6640064,"latitude_deg":11.9533672,"altitude":66,"angle":322,"satellites":45,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-28 12:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:20:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702263296001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:20:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:20:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847614976,"note":"Value kept but may cause issues"} 
[2026-08-28 12:20: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-28 12:20:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787899767000,"timestamp_ms":1787899767000,"timestamp_seconds":1787899767,"priority":1,"record_length":96,"hex_timestamp":"000001a0472168d8"} 
[2026-08-28 12:20:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:20:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 12:20:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:20:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:20:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:20:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:20:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:20:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:20:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:20:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:20:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:20:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:20:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702263296001,"66":2166,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1831065122847614976},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 12:20:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:20:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:20:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702263296001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:20:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:20:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:20:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:20:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847614976,"description":"Unknown IO ID 45"} 
[2026-08-28 12:20:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702263296001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847614976}} 
[2026-08-28 12:20:17] 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":707375,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:20:17] local.INFO: GPS data processed {"connection_id":163671,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:20:17] local.INFO: Acknowledgment sent {"connection_id":163671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:20:31] local.INFO: TCP Data received {"connection_id":163401,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:20:31] local.INFO: Processing buffer {"connection_id":163401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:20:31] local.INFO: IMEI packet received {"connection_id":163401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 12:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":163401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:20:36] local.INFO: TCP Data received {"connection_id":163401,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:20:36] local.INFO: Processing buffer {"connection_id":163401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:20:36] local.INFO: IMEI packet received {"connection_id":163401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 12:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":163401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:20:37] local.INFO: TCP Data received {"connection_id":163401,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0471ff1d8012d34c14006aa4840000e00e629..."} 
[2026-08-28 12:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0471ff1d8012d34c14006aa4840000e00e629..."} 
[2026-08-28 12:20:37] local.INFO: Processing buffer {"connection_id":163401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0471ff1d8012d34c14006aa4840000e00e629..."} 
[2026-08-28 12:20:37] local.INFO: Packet analysis {"connection_id":163401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0471f"} 
[2026-08-28 12:20:37] local.INFO: Extracted packet for processing {"connection_id":163401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0471f"} 
[2026-08-28 12:20:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702238720001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787899671000,"timestamp_ms":1787899671000,"timestamp_seconds":1787899671,"priority":1,"record_length":96,"hex_timestamp":"000001a0471ff1d8"} 
[2026-08-28 12:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 12:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702238720001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702238720001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:20:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:20:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:20: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-28 12:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702238720001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:20:38] 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":707376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:20:38] local.INFO: GPS data processed {"connection_id":163401,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:20:38] local.INFO: Acknowledgment sent {"connection_id":163401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:20:48] local.INFO: TCP Data received {"connection_id":163671,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0472168d8012d196940071ff068004201422d..."} 
[2026-08-28 12:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0472168d8012d196940071ff068004201422d..."} 
[2026-08-28 12:20:48] local.INFO: Processing buffer {"connection_id":163671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0472168d8012d196940071ff068004201422d..."} 
[2026-08-28 12:20:48] local.INFO: Packet analysis {"connection_id":163671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04721"} 
[2026-08-28 12:20:48] local.INFO: Extracted packet for processing {"connection_id":163671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04721"} 
[2026-08-28 12:20:48] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533672,"longitude_deg":75.6640064,"latitude_deg":11.9533672,"altitude":66,"angle":322,"satellites":45,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-28 12:20:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:20:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702263296001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:20:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:20:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847614976,"note":"Value kept but may cause issues"} 
[2026-08-28 12:20:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:20:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787899767000,"timestamp_ms":1787899767000,"timestamp_seconds":1787899767,"priority":1,"record_length":96,"hex_timestamp":"000001a0472168d8"} 
[2026-08-28 12:20:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:20:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:20:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 12:20:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12: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-28 12:20:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:20:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:20:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:20:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:20:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:20:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:20:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:20:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:20:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702263296001,"66":2166,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1831065122847614976},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 12:20:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:20:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:20:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702263296001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:20:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:20:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:20:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:20:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847614976,"description":"Unknown IO ID 45"} 
[2026-08-28 12:20:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702263296001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847614976}} 
[2026-08-28 12:20:48] 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":707377,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:20:48] local.INFO: GPS data processed {"connection_id":163671,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:20:48] local.INFO: Acknowledgment sent {"connection_id":163671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:21:09] local.INFO: TCP Data received {"connection_id":163401,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0471ff1d8012d34c14006aa4840000e00e629..."} 
[2026-08-28 12:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0471ff1d8012d34c14006aa4840000e00e629..."} 
[2026-08-28 12:21:09] local.INFO: Processing buffer {"connection_id":163401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0471ff1d8012d34c14006aa4840000e00e629..."} 
[2026-08-28 12:21:09] local.INFO: Packet analysis {"connection_id":163401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0471f"} 
[2026-08-28 12:21:09] local.INFO: Extracted packet for processing {"connection_id":163401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0471f"} 
[2026-08-28 12:21:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702238720001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:21:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787899671000,"timestamp_ms":1787899671000,"timestamp_seconds":1787899671,"priority":1,"record_length":96,"hex_timestamp":"000001a0471ff1d8"} 
[2026-08-28 12:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 12:21:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:21:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:21:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702238720001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702238720001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:21:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:21:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:21: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-28 12:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702238720001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:21:09] 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":707378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:21:09] local.INFO: GPS data processed {"connection_id":163401,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:21:09] local.INFO: Acknowledgment sent {"connection_id":163401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:21:11] local.INFO: TCP Data received {"connection_id":164665,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164665,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:21:11] local.INFO: Processing buffer {"connection_id":164665,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:21:11] local.INFO: IMEI packet received {"connection_id":164665,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 12:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":164665,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:21:16] local.INFO: TCP Data received {"connection_id":164665,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164665,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:21:16] local.INFO: Processing buffer {"connection_id":164665,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:21:16] local.INFO: IMEI packet received {"connection_id":164665,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 12:21:16] local.INFO: IMEI acknowledgment sent {"connection_id":164665,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:21:17] local.INFO: TCP Data received {"connection_id":164665,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0472168d8012d196940071ff068004201422d..."} 
[2026-08-28 12:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0472168d8012d196940071ff068004201422d..."} 
[2026-08-28 12:21:17] local.INFO: Processing buffer {"connection_id":164665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0472168d8012d196940071ff068004201422d..."} 
[2026-08-28 12:21:17] local.INFO: Packet analysis {"connection_id":164665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04721"} 
[2026-08-28 12:21:17] local.INFO: Extracted packet for processing {"connection_id":164665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04721"} 
[2026-08-28 12:21:17] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533672,"longitude_deg":75.6640064,"latitude_deg":11.9533672,"altitude":66,"angle":322,"satellites":45,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-28 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-28 12:21:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702263296001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:21:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:21:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847614976,"note":"Value kept but may cause issues"} 
[2026-08-28 12:21: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-28 12:21:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787899767000,"timestamp_ms":1787899767000,"timestamp_seconds":1787899767,"priority":1,"record_length":96,"hex_timestamp":"000001a0472168d8"} 
[2026-08-28 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-28 12:21:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 12:21:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 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-28 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-28 12:21:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:21:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:21:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:21:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:21:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:21:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:21:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:21:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702263296001,"66":2166,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1831065122847614976},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 12:21:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:21:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:21:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702263296001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:21:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:21:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:21:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:21:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847614976,"description":"Unknown IO ID 45"} 
[2026-08-28 12:21:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702263296001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847614976}} 
[2026-08-28 12:21:17] local.INFO: DEBUG: GPS processor result {"connection_id":164665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707379,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:21:17] local.INFO: GPS data processed {"connection_id":164665,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:21:17] local.INFO: Acknowledgment sent {"connection_id":164665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:21:36] local.INFO: TCP Data received {"connection_id":163402,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:21:36] local.INFO: Processing buffer {"connection_id":163402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:21:36] local.INFO: IMEI packet received {"connection_id":163402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 12:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":163402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:21:41] local.INFO: TCP Data received {"connection_id":163402,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:21:41] local.INFO: Processing buffer {"connection_id":163402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:21:41] local.INFO: IMEI packet received {"connection_id":163402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 12:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":163402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:21:42] local.INFO: TCP Data received {"connection_id":163402,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0471ff1d8012d34c14006aa4840000e00e629..."} 
[2026-08-28 12:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0471ff1d8012d34c14006aa4840000e00e629..."} 
[2026-08-28 12:21:42] local.INFO: Processing buffer {"connection_id":163402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0471ff1d8012d34c14006aa4840000e00e629..."} 
[2026-08-28 12:21:42] local.INFO: Packet analysis {"connection_id":163402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0471f"} 
[2026-08-28 12:21:42] local.INFO: Extracted packet for processing {"connection_id":163402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0471f"} 
[2026-08-28 12:21:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12: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-28 12:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702238720001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:21:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12: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-28 12:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787899671000,"timestamp_ms":1787899671000,"timestamp_seconds":1787899671,"priority":1,"record_length":96,"hex_timestamp":"000001a0471ff1d8"} 
[2026-08-28 12: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-28 12:21:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12: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-28 12: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-28 12: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-28 12: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-28 12:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:21:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702238720001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702238720001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:21:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:21:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12: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-28 12:21:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702238720001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:21:42] 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":707380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:21:42] local.INFO: GPS data processed {"connection_id":163402,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:21:42] local.INFO: Acknowledgment sent {"connection_id":163402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:21:46] local.INFO: TCP Data received {"connection_id":163402,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0471ff1d8012d34c14006aa4840000e00e629..."} 
[2026-08-28 12:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0471ff1d8012d34c14006aa4840000e00e629..."} 
[2026-08-28 12:21:46] local.INFO: Processing buffer {"connection_id":163402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0471ff1d8012d34c14006aa4840000e00e629..."} 
[2026-08-28 12:21:46] local.INFO: Packet analysis {"connection_id":163402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0471f"} 
[2026-08-28 12:21:46] local.INFO: Extracted packet for processing {"connection_id":163402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0471f"} 
[2026-08-28 12:21:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12: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-28 12:21:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702238720001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:21:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:21:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12: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-28 12:21:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787899671000,"timestamp_ms":1787899671000,"timestamp_seconds":1787899671,"priority":1,"record_length":96,"hex_timestamp":"000001a0471ff1d8"} 
[2026-08-28 12: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-28 12:21:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12: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-28 12: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-28 12: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-28 12: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-28 12:21:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:21:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:21:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:21:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:21:46] 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-28 12:21:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:21:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:21:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702238720001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:21:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:21:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:21:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702238720001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:21:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:21:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12: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-28 12:21:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:21:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702238720001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:21:46] 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":707381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:21:46] local.INFO: GPS data processed {"connection_id":163402,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:21:46] local.INFO: Acknowledgment sent {"connection_id":163402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:21:48] local.INFO: TCP Data received {"connection_id":164665,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0472168d8012d196940071ff068004201422d..."} 
[2026-08-28 12:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0472168d8012d196940071ff068004201422d..."} 
[2026-08-28 12:21:48] local.INFO: Processing buffer {"connection_id":164665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0472168d8012d196940071ff068004201422d..."} 
[2026-08-28 12:21:48] local.INFO: Packet analysis {"connection_id":164665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04721"} 
[2026-08-28 12:21:48] local.INFO: Extracted packet for processing {"connection_id":164665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04721"} 
[2026-08-28 12:21:48] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533672,"longitude_deg":75.6640064,"latitude_deg":11.9533672,"altitude":66,"angle":322,"satellites":45,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-28 12: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-28 12:21:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702263296001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:21:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:21:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847614976,"note":"Value kept but may cause issues"} 
[2026-08-28 12:21:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:21:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787899767000,"timestamp_ms":1787899767000,"timestamp_seconds":1787899767,"priority":1,"record_length":96,"hex_timestamp":"000001a0472168d8"} 
[2026-08-28 12: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-28 12:21:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 12:21:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12: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-28 12: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-28 12:21:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:21:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:21:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:21:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:21:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:21:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:21:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:21:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702263296001,"66":2166,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1831065122847614976},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 12:21:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:21:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:21:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702263296001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:21:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:21:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:21:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:21:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847614976,"description":"Unknown IO ID 45"} 
[2026-08-28 12:21:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702263296001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847614976}} 
[2026-08-28 12:21:48] local.INFO: DEBUG: GPS processor result {"connection_id":164665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707382,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:21:48] local.INFO: GPS data processed {"connection_id":164665,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:21:48] local.INFO: Acknowledgment sent {"connection_id":164665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:22:11] local.INFO: TCP Data received {"connection_id":163403,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163403,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:22:11] local.INFO: Processing buffer {"connection_id":163403,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:22:11] local.INFO: IMEI packet received {"connection_id":163403,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 12:22:11] local.INFO: IMEI acknowledgment sent {"connection_id":163403,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:22:16] local.INFO: TCP Data received {"connection_id":163403,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163403,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:22:16] local.INFO: Processing buffer {"connection_id":163403,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:22:16] local.INFO: IMEI packet received {"connection_id":163403,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 12:22:16] local.INFO: IMEI acknowledgment sent {"connection_id":163403,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:22:17] local.INFO: TCP Data received {"connection_id":163403,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0472168d8012d196940071ff068004201422d..."} 
[2026-08-28 12:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0472168d8012d196940071ff068004201422d..."} 
[2026-08-28 12:22:17] local.INFO: Processing buffer {"connection_id":163403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0472168d8012d196940071ff068004201422d..."} 
[2026-08-28 12:22:17] local.INFO: Packet analysis {"connection_id":163403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04721"} 
[2026-08-28 12:22:17] local.INFO: Extracted packet for processing {"connection_id":163403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04721"} 
[2026-08-28 12:22:17] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533672,"longitude_deg":75.6640064,"latitude_deg":11.9533672,"altitude":66,"angle":322,"satellites":45,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-28 12: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-28 12:22:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702263296001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:22:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:22:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847614976,"note":"Value kept but may cause issues"} 
[2026-08-28 12: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-28 12:22:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787899767000,"timestamp_ms":1787899767000,"timestamp_seconds":1787899767,"priority":1,"record_length":96,"hex_timestamp":"000001a0472168d8"} 
[2026-08-28 12: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-28 12:22:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 12:22:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12: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-28 12: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-28 12:22:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:22:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:22:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:22:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:22:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:22:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:22:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:22:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702263296001,"66":2166,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1831065122847614976},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 12:22:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:22:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:22:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702263296001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:22:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:22:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:22:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:22:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847614976,"description":"Unknown IO ID 45"} 
[2026-08-28 12:22:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702263296001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847614976}} 
[2026-08-28 12:22:17] 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":707383,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:22:17] local.INFO: GPS data processed {"connection_id":163403,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:22:17] local.INFO: Acknowledgment sent {"connection_id":163403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:22:31] local.INFO: TCP Data received {"connection_id":164666,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:22:31] local.INFO: Processing buffer {"connection_id":164666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:22:31] local.INFO: IMEI packet received {"connection_id":164666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 12:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":164666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:22:36] local.INFO: TCP Data received {"connection_id":164666,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:22:36] local.INFO: Processing buffer {"connection_id":164666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:22:36] local.INFO: IMEI packet received {"connection_id":164666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 12:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":164666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:22:37] local.INFO: TCP Data received {"connection_id":164666,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0471ff1d8012d34c14006aa4840000e00e629..."} 
[2026-08-28 12:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0471ff1d8012d34c14006aa4840000e00e629..."} 
[2026-08-28 12:22:37] local.INFO: Processing buffer {"connection_id":164666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0471ff1d8012d34c14006aa4840000e00e629..."} 
[2026-08-28 12:22:37] local.INFO: Packet analysis {"connection_id":164666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0471f"} 
[2026-08-28 12:22:37] local.INFO: Extracted packet for processing {"connection_id":164666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0471f"} 
[2026-08-28 12:22:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702238720001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787899671000,"timestamp_ms":1787899671000,"timestamp_seconds":1787899671,"priority":1,"record_length":96,"hex_timestamp":"000001a0471ff1d8"} 
[2026-08-28 12:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 12:22:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:22:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702238720001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702238720001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:22:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:22:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:22: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-28 12:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702238720001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":164666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:22:37] local.INFO: GPS data processed {"connection_id":164666,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:22:37] local.INFO: Acknowledgment sent {"connection_id":164666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:22:48] local.INFO: TCP Data received {"connection_id":163403,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0472168d8012d196940071ff068004201422d..."} 
[2026-08-28 12:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0472168d8012d196940071ff068004201422d..."} 
[2026-08-28 12:22:48] local.INFO: Processing buffer {"connection_id":163403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0472168d8012d196940071ff068004201422d..."} 
[2026-08-28 12:22:48] local.INFO: Packet analysis {"connection_id":163403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04721"} 
[2026-08-28 12:22:48] local.INFO: Extracted packet for processing {"connection_id":163403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04721"} 
[2026-08-28 12:22:48] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533672,"longitude_deg":75.6640064,"latitude_deg":11.9533672,"altitude":66,"angle":322,"satellites":45,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-28 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-28 12:22:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702263296001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:22:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:22:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847614976,"note":"Value kept but may cause issues"} 
[2026-08-28 12:22:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:22:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787899767000,"timestamp_ms":1787899767000,"timestamp_seconds":1787899767,"priority":1,"record_length":96,"hex_timestamp":"000001a0472168d8"} 
[2026-08-28 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-28 12:22:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 12:22:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 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-28 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-28 12:22:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:22:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:22:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:22:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:22:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:22:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:22:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:22:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702263296001,"66":2166,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1831065122847614976},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 12:22:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:22:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:22:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702263296001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:22:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:22:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:22:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:22:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847614976,"description":"Unknown IO ID 45"} 
[2026-08-28 12:22:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702263296001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847614976}} 
[2026-08-28 12:22:48] 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":707385,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:22:48] local.INFO: GPS data processed {"connection_id":163403,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:22:48] local.INFO: Acknowledgment sent {"connection_id":163403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:23:08] local.INFO: TCP Data received {"connection_id":164666,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0471ff1d8012d34c14006aa4840000e00e629..."} 
[2026-08-28 12:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0471ff1d8012d34c14006aa4840000e00e629..."} 
[2026-08-28 12:23:08] local.INFO: Processing buffer {"connection_id":164666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0471ff1d8012d34c14006aa4840000e00e629..."} 
[2026-08-28 12:23:08] local.INFO: Packet analysis {"connection_id":164666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0471f"} 
[2026-08-28 12:23:08] local.INFO: Extracted packet for processing {"connection_id":164666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0471f"} 
[2026-08-28 12:23:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702238720001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:23:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787899671000,"timestamp_ms":1787899671000,"timestamp_seconds":1787899671,"priority":1,"record_length":96,"hex_timestamp":"000001a0471ff1d8"} 
[2026-08-28 12:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:23:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 12:23:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:23:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:23:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702238720001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702238720001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:23:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:23:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:23: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-28 12:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702238720001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":164666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:23:08] local.INFO: GPS data processed {"connection_id":164666,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:23:08] local.INFO: Acknowledgment sent {"connection_id":164666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:23:11] local.INFO: TCP Data received {"connection_id":163404,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163404,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:23:11] local.INFO: Processing buffer {"connection_id":163404,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:23:11] local.INFO: IMEI packet received {"connection_id":163404,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 12:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":163404,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:23:16] local.INFO: TCP Data received {"connection_id":163404,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163404,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:23:16] local.INFO: Processing buffer {"connection_id":163404,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:23:16] local.INFO: IMEI packet received {"connection_id":163404,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 12:23:16] local.INFO: IMEI acknowledgment sent {"connection_id":163404,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:23:17] local.INFO: TCP Data received {"connection_id":163404,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0472168d8012d196940071ff068004201422d..."} 
[2026-08-28 12:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0472168d8012d196940071ff068004201422d..."} 
[2026-08-28 12:23:17] local.INFO: Processing buffer {"connection_id":163404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0472168d8012d196940071ff068004201422d..."} 
[2026-08-28 12:23:17] local.INFO: Packet analysis {"connection_id":163404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04721"} 
[2026-08-28 12:23:17] local.INFO: Extracted packet for processing {"connection_id":163404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04721"} 
[2026-08-28 12:23:17] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533672,"longitude_deg":75.6640064,"latitude_deg":11.9533672,"altitude":66,"angle":322,"satellites":45,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-28 12:23:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:23:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702263296001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:23:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:23:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847614976,"note":"Value kept but may cause issues"} 
[2026-08-28 12: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-28 12:23:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787899767000,"timestamp_ms":1787899767000,"timestamp_seconds":1787899767,"priority":1,"record_length":96,"hex_timestamp":"000001a0472168d8"} 
[2026-08-28 12: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-28 12:23:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 12:23:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12: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-28 12: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-28 12:23:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:23:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:23:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:23:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:23:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:23:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:23:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:23:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702263296001,"66":2166,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1831065122847614976},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 12:23:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:23:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:23:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702263296001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:23:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:23:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:23:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:23:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847614976,"description":"Unknown IO ID 45"} 
[2026-08-28 12:23:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702263296001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847614976}} 
[2026-08-28 12:23:17] 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":707387,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:23:17] local.INFO: GPS data processed {"connection_id":163404,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:23:17] local.INFO: Acknowledgment sent {"connection_id":163404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:23:29] local.INFO: TCP Data received {"connection_id":166023,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:23:29] local.INFO: Processing buffer {"connection_id":166023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:23:29] local.INFO: IMEI packet received {"connection_id":166023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 12:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":166023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:23:30] local.INFO: TCP Data received {"connection_id":166023,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:23:30] local.INFO: Processing buffer {"connection_id":166023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:23:30] local.INFO: IMEI packet received {"connection_id":166023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 12:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":166023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:23:36] local.INFO: TCP Data received {"connection_id":166023,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:23:36] local.INFO: Processing buffer {"connection_id":166023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:23:36] local.INFO: IMEI packet received {"connection_id":166023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 12:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":166023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:23:48] local.INFO: TCP Data received {"connection_id":163404,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0472168d8012d196940071ff068004201422d..."} 
[2026-08-28 12:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0472168d8012d196940071ff068004201422d..."} 
[2026-08-28 12:23:48] local.INFO: Processing buffer {"connection_id":163404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0472168d8012d196940071ff068004201422d..."} 
[2026-08-28 12:23:48] local.INFO: Packet analysis {"connection_id":163404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04721"} 
[2026-08-28 12:23:48] local.INFO: Extracted packet for processing {"connection_id":163404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04721"} 
[2026-08-28 12:23:48] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533672,"longitude_deg":75.6640064,"latitude_deg":11.9533672,"altitude":66,"angle":322,"satellites":45,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-28 12: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-28 12:23:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702263296001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:23:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:23:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847614976,"note":"Value kept but may cause issues"} 
[2026-08-28 12:23:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:23:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787899767000,"timestamp_ms":1787899767000,"timestamp_seconds":1787899767,"priority":1,"record_length":96,"hex_timestamp":"000001a0472168d8"} 
[2026-08-28 12: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-28 12:23:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:23:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 12:23:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12: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-28 12: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-28 12:23:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:23:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:23:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:23:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:23:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:23:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:23:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:23:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702263296001,"66":2166,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1831065122847614976},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 12:23:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:23:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:23:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702263296001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:23:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:23:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:23:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:23:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847614976,"description":"Unknown IO ID 45"} 
[2026-08-28 12:23:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702263296001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847614976}} 
[2026-08-28 12:23:48] 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":707388,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:23:48] local.INFO: GPS data processed {"connection_id":163404,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:23:48] local.INFO: Acknowledgment sent {"connection_id":163404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:24:11] local.INFO: TCP Data received {"connection_id":166024,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166024,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:24:11] local.INFO: Processing buffer {"connection_id":166024,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:24:11] local.INFO: IMEI packet received {"connection_id":166024,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 12:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":166024,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:24:15] local.INFO: TCP Data received {"connection_id":166023,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0472489a0012d34c14006aa4840000c00e628..."} 
[2026-08-28 12:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0472489a0012d34c14006aa4840000c00e628..."} 
[2026-08-28 12:24:15] local.INFO: Processing buffer {"connection_id":166023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0472489a0012d34c14006aa4840000c00e628..."} 
[2026-08-28 12:24:15] local.INFO: Packet analysis {"connection_id":166023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04724"} 
[2026-08-28 12:24:15] local.INFO: Extracted packet for processing {"connection_id":166023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04724"} 
[2026-08-28 12:24:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12: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-28 12:24:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702315776001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:24:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:24:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12: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-28 12:24:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787899972000,"timestamp_ms":1787899972000,"timestamp_seconds":1787899972,"priority":1,"record_length":96,"hex_timestamp":"000001a0472489a0"} 
[2026-08-28 12: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-28 12:24:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 12:24: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-28 12: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-28 12: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-28 12:24:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:24:15] local.INFO: Teltonika packet parsed successfully {"connection_id":166023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:24:15] local.INFO: Passing IMEI to GPS processor {"connection_id":166023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:24:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":166023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:24: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-28 12:24:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:24:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:24:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702315776001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:24:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:24:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:24:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702315776001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:24:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:24:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12: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-28 12:24:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:24:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702315776001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:24:15] local.INFO: DEBUG: GPS processor result {"connection_id":166023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:24:15] local.INFO: GPS data processed {"connection_id":166023,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:24:15] local.INFO: Acknowledgment sent {"connection_id":166023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:24:16] local.INFO: TCP Data received {"connection_id":166023,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0472489a0012d34c14006aa4840000c00e628..."} 
[2026-08-28 12:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0472489a0012d34c14006aa4840000c00e628..."} 
[2026-08-28 12:24:16] local.INFO: Processing buffer {"connection_id":166023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0472489a0012d34c14006aa4840000c00e628..."} 
[2026-08-28 12:24:16] local.INFO: Packet analysis {"connection_id":166023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04724"} 
[2026-08-28 12:24:16] local.INFO: Extracted packet for processing {"connection_id":166023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04724"} 
[2026-08-28 12:24:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:24:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702315776001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:24:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:24:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12: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-28 12:24:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787899972000,"timestamp_ms":1787899972000,"timestamp_seconds":1787899972,"priority":1,"record_length":96,"hex_timestamp":"000001a0472489a0"} 
[2026-08-28 12:24:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:24:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 12:24: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-28 12:24:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:24:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:24:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:24:16] local.INFO: Teltonika packet parsed successfully {"connection_id":166023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:24:16] local.INFO: Passing IMEI to GPS processor {"connection_id":166023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:24:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":166023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:24: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-28 12:24:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:24:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:24:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702315776001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:24:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:24:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:24:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702315776001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:24:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:24:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12: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-28 12:24:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:24:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702315776001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:24:16] local.INFO: DEBUG: GPS processor result {"connection_id":166023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:24:16] local.INFO: GPS data processed {"connection_id":166023,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:24:16] local.INFO: Acknowledgment sent {"connection_id":166023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:24:16] local.INFO: TCP Data received {"connection_id":166024,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166024,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:24:16] local.INFO: Processing buffer {"connection_id":166024,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:24:16] local.INFO: IMEI packet received {"connection_id":166024,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 12:24:16] local.INFO: IMEI acknowledgment sent {"connection_id":166024,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:24:20] local.INFO: TCP Data received {"connection_id":166024,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0472168d8012d196940071ff068004201422d..."} 
[2026-08-28 12:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0472168d8012d196940071ff068004201422d..."} 
[2026-08-28 12:24:20] local.INFO: Processing buffer {"connection_id":166024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0472168d8012d196940071ff068004201422d..."} 
[2026-08-28 12:24:20] local.INFO: Packet analysis {"connection_id":166024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04721"} 
[2026-08-28 12:24:20] local.INFO: Extracted packet for processing {"connection_id":166024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04721"} 
[2026-08-28 12:24:20] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533672,"longitude_deg":75.6640064,"latitude_deg":11.9533672,"altitude":66,"angle":322,"satellites":45,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-28 12: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-28 12:24:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702263296001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:24:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:24:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847614976,"note":"Value kept but may cause issues"} 
[2026-08-28 12:24:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:24:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787899767000,"timestamp_ms":1787899767000,"timestamp_seconds":1787899767,"priority":1,"record_length":96,"hex_timestamp":"000001a0472168d8"} 
[2026-08-28 12: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-28 12:24:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 12:24:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12: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-28 12: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-28 12:24:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:24:20] local.INFO: Teltonika packet parsed successfully {"connection_id":166024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:24:20] local.INFO: Passing IMEI to GPS processor {"connection_id":166024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:24:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":166024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:24:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:24:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:24:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:24:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702263296001,"66":2166,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1831065122847614976},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 12:24:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:24:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:24:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702263296001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:24:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:24:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:24:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:24:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847614976,"description":"Unknown IO ID 45"} 
[2026-08-28 12:24:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702263296001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847614976}} 
[2026-08-28 12:24:20] local.INFO: DEBUG: GPS processor result {"connection_id":166024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707391,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:24:20] local.INFO: GPS data processed {"connection_id":166024,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:24:20] local.INFO: Acknowledgment sent {"connection_id":166024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:24:30] local.INFO: TCP Data received {"connection_id":163672,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:24:30] local.INFO: Processing buffer {"connection_id":163672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:24:30] local.INFO: IMEI packet received {"connection_id":163672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 12:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":163672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:24:36] local.INFO: TCP Data received {"connection_id":163672,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:24:36] local.INFO: Processing buffer {"connection_id":163672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:24:36] local.INFO: IMEI packet received {"connection_id":163672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 12:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":163672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:24:37] local.INFO: TCP Data received {"connection_id":163672,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0472489a0012d34c14006aa4840000c00e628..."} 
[2026-08-28 12:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0472489a0012d34c14006aa4840000c00e628..."} 
[2026-08-28 12:24:37] local.INFO: Processing buffer {"connection_id":163672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0472489a0012d34c14006aa4840000c00e628..."} 
[2026-08-28 12:24:37] local.INFO: Packet analysis {"connection_id":163672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04724"} 
[2026-08-28 12:24:37] local.INFO: Extracted packet for processing {"connection_id":163672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04724"} 
[2026-08-28 12:24:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702315776001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787899972000,"timestamp_ms":1787899972000,"timestamp_seconds":1787899972,"priority":1,"record_length":96,"hex_timestamp":"000001a0472489a0"} 
[2026-08-28 12:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 12:24:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702315776001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702315776001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:24:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:24:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:24: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-28 12:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702315776001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:24:37] 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":707392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:24:37] local.INFO: GPS data processed {"connection_id":163672,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:24:37] local.INFO: Acknowledgment sent {"connection_id":163672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:24:51] local.INFO: TCP Data received {"connection_id":166024,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0472168d8012d196940071ff068004201422d..."} 
[2026-08-28 12:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0472168d8012d196940071ff068004201422d..."} 
[2026-08-28 12:24:51] local.INFO: Processing buffer {"connection_id":166024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0472168d8012d196940071ff068004201422d..."} 
[2026-08-28 12:24:51] local.INFO: Packet analysis {"connection_id":166024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04721"} 
[2026-08-28 12:24:51] local.INFO: Extracted packet for processing {"connection_id":166024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04721"} 
[2026-08-28 12:24:51] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533672,"longitude_deg":75.6640064,"latitude_deg":11.9533672,"altitude":66,"angle":322,"satellites":45,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-28 12: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-28 12:24:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702263296001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:24:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:24:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847614976,"note":"Value kept but may cause issues"} 
[2026-08-28 12:24: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-28 12:24:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787899767000,"timestamp_ms":1787899767000,"timestamp_seconds":1787899767,"priority":1,"record_length":96,"hex_timestamp":"000001a0472168d8"} 
[2026-08-28 12: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-28 12:24:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 12:24:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12: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-28 12: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-28 12:24:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:24:51] local.INFO: Teltonika packet parsed successfully {"connection_id":166024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:24:51] local.INFO: Passing IMEI to GPS processor {"connection_id":166024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:24:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":166024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:24:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:24:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:24:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:24:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702263296001,"66":2166,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1831065122847614976},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 12:24:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:24:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:24:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702263296001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:24:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:24:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:24:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:24:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847614976,"description":"Unknown IO ID 45"} 
[2026-08-28 12:24:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702263296001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847614976}} 
[2026-08-28 12:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":166024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707393,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:24:51] local.INFO: GPS data processed {"connection_id":166024,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:24:51] local.INFO: Acknowledgment sent {"connection_id":166024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:25:08] local.INFO: TCP Data received {"connection_id":163672,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0472489a0012d34c14006aa4840000c00e628..."} 
[2026-08-28 12:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0472489a0012d34c14006aa4840000c00e628..."} 
[2026-08-28 12:25:08] local.INFO: Processing buffer {"connection_id":163672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0472489a0012d34c14006aa4840000c00e628..."} 
[2026-08-28 12:25:08] local.INFO: Packet analysis {"connection_id":163672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04724"} 
[2026-08-28 12:25:08] local.INFO: Extracted packet for processing {"connection_id":163672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04724"} 
[2026-08-28 12:25:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 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-28 12:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702315776001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:25: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-28 12:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787899972000,"timestamp_ms":1787899972000,"timestamp_seconds":1787899972,"priority":1,"record_length":96,"hex_timestamp":"000001a0472489a0"} 
[2026-08-28 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-28 12:25:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 12:25:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 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-28 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-28 12:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702315776001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702315776001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:25:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:25:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:25: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-28 12:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702315776001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:25:08] 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":707394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:25:08] local.INFO: GPS data processed {"connection_id":163672,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:25:08] local.INFO: Acknowledgment sent {"connection_id":163672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:25:11] local.INFO: TCP Data received {"connection_id":163674,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163674,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:25:11] local.INFO: Processing buffer {"connection_id":163674,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:25:11] local.INFO: IMEI packet received {"connection_id":163674,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 12:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":163674,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:25:16] local.INFO: TCP Data received {"connection_id":163674,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163674,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:25:16] local.INFO: Processing buffer {"connection_id":163674,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:25:16] local.INFO: IMEI packet received {"connection_id":163674,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 12:25:16] local.INFO: IMEI acknowledgment sent {"connection_id":163674,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:25:17] local.INFO: TCP Data received {"connection_id":163674,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0472600a0012d196940071ff068004201422d..."} 
[2026-08-28 12:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0472600a0012d196940071ff068004201422d..."} 
[2026-08-28 12:25:17] local.INFO: Processing buffer {"connection_id":163674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0472600a0012d196940071ff068004201422d..."} 
[2026-08-28 12:25:17] local.INFO: Packet analysis {"connection_id":163674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04726"} 
[2026-08-28 12:25:17] local.INFO: Extracted packet for processing {"connection_id":163674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04726"} 
[2026-08-28 12:25:17] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533672,"longitude_deg":75.6640064,"latitude_deg":11.9533672,"altitude":66,"angle":322,"satellites":45,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-28 12: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-28 12:25:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702340352001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:25:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:25:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847614976,"note":"Value kept but may cause issues"} 
[2026-08-28 12: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-28 12:25:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787900068000,"timestamp_ms":1787900068000,"timestamp_seconds":1787900068,"priority":1,"record_length":96,"hex_timestamp":"000001a0472600a0"} 
[2026-08-28 12: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-28 12:25:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 12:25:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12: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-28 12: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-28 12:25:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:25:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:25:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:25:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:25:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:25:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:25:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:25:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702340352001,"66":2155,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1831065122847614976},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 12:25:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:25:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:25:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702340352001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:25:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:25:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:25:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:25:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847614976,"description":"Unknown IO ID 45"} 
[2026-08-28 12:25:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702340352001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847614976}} 
[2026-08-28 12:25:17] 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":707395,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:25:17] local.INFO: GPS data processed {"connection_id":163674,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:25:17] local.INFO: Acknowledgment sent {"connection_id":163674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:25:31] local.INFO: TCP Data received {"connection_id":166025,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:25:31] local.INFO: Processing buffer {"connection_id":166025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:25:31] local.INFO: IMEI packet received {"connection_id":166025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 12:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":166025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:25:36] local.INFO: TCP Data received {"connection_id":166025,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:25:36] local.INFO: Processing buffer {"connection_id":166025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:25:36] local.INFO: IMEI packet received {"connection_id":166025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 12:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":166025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:25:37] local.INFO: TCP Data received {"connection_id":166025,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0472489a0012d34c14006aa4840000c00e628..."} 
[2026-08-28 12:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0472489a0012d34c14006aa4840000c00e628..."} 
[2026-08-28 12:25:37] local.INFO: Processing buffer {"connection_id":166025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0472489a0012d34c14006aa4840000c00e628..."} 
[2026-08-28 12:25:37] local.INFO: Packet analysis {"connection_id":166025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04724"} 
[2026-08-28 12:25:37] local.INFO: Extracted packet for processing {"connection_id":166025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04724"} 
[2026-08-28 12:25:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702315776001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787899972000,"timestamp_ms":1787899972000,"timestamp_seconds":1787899972,"priority":1,"record_length":96,"hex_timestamp":"000001a0472489a0"} 
[2026-08-28 12:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 12:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":166025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":166025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":166025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702315776001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702315776001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:25:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:25:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:25: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-28 12:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702315776001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":166025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:25:37] local.INFO: GPS data processed {"connection_id":166025,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:25:37] local.INFO: Acknowledgment sent {"connection_id":166025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:25:48] local.INFO: TCP Data received {"connection_id":163674,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0472600a0012d196940071ff068004201422d..."} 
[2026-08-28 12:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0472600a0012d196940071ff068004201422d..."} 
[2026-08-28 12:25:48] local.INFO: Processing buffer {"connection_id":163674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0472600a0012d196940071ff068004201422d..."} 
[2026-08-28 12:25:48] local.INFO: Packet analysis {"connection_id":163674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04726"} 
[2026-08-28 12:25:48] local.INFO: Extracted packet for processing {"connection_id":163674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04726"} 
[2026-08-28 12:25:48] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533672,"longitude_deg":75.6640064,"latitude_deg":11.9533672,"altitude":66,"angle":322,"satellites":45,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-28 12:25:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:25:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702340352001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:25:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:25:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847614976,"note":"Value kept but may cause issues"} 
[2026-08-28 12:25:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:25:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787900068000,"timestamp_ms":1787900068000,"timestamp_seconds":1787900068,"priority":1,"record_length":96,"hex_timestamp":"000001a0472600a0"} 
[2026-08-28 12:25:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:25:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:25:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 12:25:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:25:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:25:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:25:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:25:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:25:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:25:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:25:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:25:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:25:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:25:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702340352001,"66":2155,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1831065122847614976},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 12:25:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:25:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:25:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702340352001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:25:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:25:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:25:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:25:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847614976,"description":"Unknown IO ID 45"} 
[2026-08-28 12:25:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702340352001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847614976}} 
[2026-08-28 12:25:48] 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":707397,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:25:48] local.INFO: GPS data processed {"connection_id":163674,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:25:48] local.INFO: Acknowledgment sent {"connection_id":163674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:26:08] local.INFO: TCP Data received {"connection_id":166025,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0472489a0012d34c14006aa4840000c00e628..."} 
[2026-08-28 12:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0472489a0012d34c14006aa4840000c00e628..."} 
[2026-08-28 12:26:08] local.INFO: Processing buffer {"connection_id":166025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0472489a0012d34c14006aa4840000c00e628..."} 
[2026-08-28 12:26:08] local.INFO: Packet analysis {"connection_id":166025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04724"} 
[2026-08-28 12:26:08] local.INFO: Extracted packet for processing {"connection_id":166025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04724"} 
[2026-08-28 12:26:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702315776001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:26: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-28 12:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787899972000,"timestamp_ms":1787899972000,"timestamp_seconds":1787899972,"priority":1,"record_length":96,"hex_timestamp":"000001a0472489a0"} 
[2026-08-28 12:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:26:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 12:26:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:26:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":166025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":166025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":166025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:26:08] 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-28 12:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702315776001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702315776001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:26:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:26:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:26: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-28 12:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702315776001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":166025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:26:08] local.INFO: GPS data processed {"connection_id":166025,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:26:08] local.INFO: Acknowledgment sent {"connection_id":166025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:26:11] local.INFO: TCP Data received {"connection_id":164667,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164667,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:26:11] local.INFO: Processing buffer {"connection_id":164667,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:26:11] local.INFO: IMEI packet received {"connection_id":164667,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 12:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":164667,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:26:16] local.INFO: TCP Data received {"connection_id":164667,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164667,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:26:16] local.INFO: Processing buffer {"connection_id":164667,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:26:16] local.INFO: IMEI packet received {"connection_id":164667,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 12:26:16] local.INFO: IMEI acknowledgment sent {"connection_id":164667,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:26:17] local.INFO: TCP Data received {"connection_id":164667,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0472600a0012d196940071ff068004201422d..."} 
[2026-08-28 12:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0472600a0012d196940071ff068004201422d..."} 
[2026-08-28 12:26:17] local.INFO: Processing buffer {"connection_id":164667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0472600a0012d196940071ff068004201422d..."} 
[2026-08-28 12:26:17] local.INFO: Packet analysis {"connection_id":164667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04726"} 
[2026-08-28 12:26:17] local.INFO: Extracted packet for processing {"connection_id":164667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04726"} 
[2026-08-28 12:26:17] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533672,"longitude_deg":75.6640064,"latitude_deg":11.9533672,"altitude":66,"angle":322,"satellites":45,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-28 12: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-28 12:26:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702340352001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:26:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:26:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847614976,"note":"Value kept but may cause issues"} 
[2026-08-28 12: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-28 12:26:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787900068000,"timestamp_ms":1787900068000,"timestamp_seconds":1787900068,"priority":1,"record_length":96,"hex_timestamp":"000001a0472600a0"} 
[2026-08-28 12: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-28 12:26:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 12:26:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12: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-28 12: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-28 12:26:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:26:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:26:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:26:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:26:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:26:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:26:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:26:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702340352001,"66":2155,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1831065122847614976},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 12:26:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:26:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:26:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702340352001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:26:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:26:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:26:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:26:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847614976,"description":"Unknown IO ID 45"} 
[2026-08-28 12:26:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702340352001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847614976}} 
[2026-08-28 12:26:17] local.INFO: DEBUG: GPS processor result {"connection_id":164667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707399,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:26:17] local.INFO: GPS data processed {"connection_id":164667,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:26:17] local.INFO: Acknowledgment sent {"connection_id":164667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:26:31] local.INFO: TCP Data received {"connection_id":163405,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:26:31] local.INFO: Processing buffer {"connection_id":163405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:26:31] local.INFO: IMEI packet received {"connection_id":163405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 12:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":163405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:26:36] local.INFO: TCP Data received {"connection_id":163405,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:26:36] local.INFO: Processing buffer {"connection_id":163405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:26:36] local.INFO: IMEI packet received {"connection_id":163405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 12:26:36] local.INFO: IMEI acknowledgment sent {"connection_id":163405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:26:37] local.INFO: TCP Data received {"connection_id":163405,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0472489a0012d34c14006aa4840000c00e628..."} 
[2026-08-28 12:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0472489a0012d34c14006aa4840000c00e628..."} 
[2026-08-28 12:26:37] local.INFO: Processing buffer {"connection_id":163405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0472489a0012d34c14006aa4840000c00e628..."} 
[2026-08-28 12:26:37] local.INFO: Packet analysis {"connection_id":163405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04724"} 
[2026-08-28 12:26:37] local.INFO: Extracted packet for processing {"connection_id":163405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04724"} 
[2026-08-28 12:26:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702315776001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787899972000,"timestamp_ms":1787899972000,"timestamp_seconds":1787899972,"priority":1,"record_length":96,"hex_timestamp":"000001a0472489a0"} 
[2026-08-28 12:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 12:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702315776001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702315776001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:26:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:26:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:26: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-28 12:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702315776001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:26:37] 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":707400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:26:37] local.INFO: GPS data processed {"connection_id":163405,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:26:37] local.INFO: Acknowledgment sent {"connection_id":163405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:26:48] local.INFO: TCP Data received {"connection_id":164667,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0472600a0012d196940071ff068004201422d..."} 
[2026-08-28 12:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0472600a0012d196940071ff068004201422d..."} 
[2026-08-28 12:26:48] local.INFO: Processing buffer {"connection_id":164667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0472600a0012d196940071ff068004201422d..."} 
[2026-08-28 12:26:48] local.INFO: Packet analysis {"connection_id":164667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04726"} 
[2026-08-28 12:26:48] local.INFO: Extracted packet for processing {"connection_id":164667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04726"} 
[2026-08-28 12:26:48] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533672,"longitude_deg":75.6640064,"latitude_deg":11.9533672,"altitude":66,"angle":322,"satellites":45,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-28 12:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:26:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702340352001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:26:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:26:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847614976,"note":"Value kept but may cause issues"} 
[2026-08-28 12:26:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:26:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787900068000,"timestamp_ms":1787900068000,"timestamp_seconds":1787900068,"priority":1,"record_length":96,"hex_timestamp":"000001a0472600a0"} 
[2026-08-28 12:26:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:26:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 12:26:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:26:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:26:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:26:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:26:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:26:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:26:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:26:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:26:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:26:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:26:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702340352001,"66":2155,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1831065122847614976},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 12:26:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:26:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:26:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702340352001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:26:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:26:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:26:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:26:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847614976,"description":"Unknown IO ID 45"} 
[2026-08-28 12:26:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702340352001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847614976}} 
[2026-08-28 12:26:48] local.INFO: DEBUG: GPS processor result {"connection_id":164667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707401,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:26:48] local.INFO: GPS data processed {"connection_id":164667,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:26:48] local.INFO: Acknowledgment sent {"connection_id":164667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:27:08] local.INFO: TCP Data received {"connection_id":163405,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0472489a0012d34c14006aa4840000c00e628..."} 
[2026-08-28 12:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0472489a0012d34c14006aa4840000c00e628..."} 
[2026-08-28 12:27:08] local.INFO: Processing buffer {"connection_id":163405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0472489a0012d34c14006aa4840000c00e628..."} 
[2026-08-28 12:27:08] local.INFO: Packet analysis {"connection_id":163405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04724"} 
[2026-08-28 12:27:08] local.INFO: Extracted packet for processing {"connection_id":163405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04724"} 
[2026-08-28 12:27:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702315776001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:27:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:27: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-28 12:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787899972000,"timestamp_ms":1787899972000,"timestamp_seconds":1787899972,"priority":1,"record_length":96,"hex_timestamp":"000001a0472489a0"} 
[2026-08-28 12:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:27:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 12:27:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:27:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:27:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702315776001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702315776001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:27:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:27:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:27: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-28 12:27:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702315776001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:27:08] 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":707402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:27:08] local.INFO: GPS data processed {"connection_id":163405,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:27:08] local.INFO: Acknowledgment sent {"connection_id":163405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:27:11] local.INFO: TCP Data received {"connection_id":163675,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:27:11] local.INFO: Processing buffer {"connection_id":163675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:27:11] local.INFO: IMEI packet received {"connection_id":163675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 12:27:11] local.INFO: IMEI acknowledgment sent {"connection_id":163675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:27:16] local.INFO: TCP Data received {"connection_id":163675,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:27:16] local.INFO: Processing buffer {"connection_id":163675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:27:16] local.INFO: IMEI packet received {"connection_id":163675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 12:27:16] local.INFO: IMEI acknowledgment sent {"connection_id":163675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:27:17] local.INFO: TCP Data received {"connection_id":163675,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0472600a0012d196940071ff068004201422d..."} 
[2026-08-28 12:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0472600a0012d196940071ff068004201422d..."} 
[2026-08-28 12:27:17] local.INFO: Processing buffer {"connection_id":163675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0472600a0012d196940071ff068004201422d..."} 
[2026-08-28 12:27:17] local.INFO: Packet analysis {"connection_id":163675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04726"} 
[2026-08-28 12:27:17] local.INFO: Extracted packet for processing {"connection_id":163675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04726"} 
[2026-08-28 12:27:17] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533672,"longitude_deg":75.6640064,"latitude_deg":11.9533672,"altitude":66,"angle":322,"satellites":45,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-28 12:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:27:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702340352001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:27:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:27:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847614976,"note":"Value kept but may cause issues"} 
[2026-08-28 12: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-28 12:27:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787900068000,"timestamp_ms":1787900068000,"timestamp_seconds":1787900068,"priority":1,"record_length":96,"hex_timestamp":"000001a0472600a0"} 
[2026-08-28 12:27:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:27:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 12:27:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:27:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:27:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:27:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:27:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:27:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:27:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:27:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:27:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:27:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:27:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702340352001,"66":2155,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1831065122847614976},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 12:27:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:27:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:27:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702340352001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:27:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:27:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:27:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:27:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847614976,"description":"Unknown IO ID 45"} 
[2026-08-28 12:27:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702340352001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847614976}} 
[2026-08-28 12:27:17] 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":707403,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:27:17] local.INFO: GPS data processed {"connection_id":163675,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:27:17] local.INFO: Acknowledgment sent {"connection_id":163675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:27:30] local.INFO: TCP Data received {"connection_id":163676,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:27:30] local.INFO: Processing buffer {"connection_id":163676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:27:30] local.INFO: IMEI packet received {"connection_id":163676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 12:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":163676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:27:36] local.INFO: TCP Data received {"connection_id":163676,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:27:36] local.INFO: Processing buffer {"connection_id":163676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:27:36] local.INFO: IMEI packet received {"connection_id":163676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 12:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":163676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:27:37] local.INFO: TCP Data received {"connection_id":163676,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0472489a0012d34c14006aa4840000c00e628..."} 
[2026-08-28 12:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0472489a0012d34c14006aa4840000c00e628..."} 
[2026-08-28 12:27:37] local.INFO: Processing buffer {"connection_id":163676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0472489a0012d34c14006aa4840000c00e628..."} 
[2026-08-28 12:27:37] local.INFO: Packet analysis {"connection_id":163676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04724"} 
[2026-08-28 12:27:37] local.INFO: Extracted packet for processing {"connection_id":163676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04724"} 
[2026-08-28 12:27:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702315776001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787899972000,"timestamp_ms":1787899972000,"timestamp_seconds":1787899972,"priority":1,"record_length":96,"hex_timestamp":"000001a0472489a0"} 
[2026-08-28 12:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 12:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702315776001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702315776001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:27:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:27:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:27: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-28 12:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702315776001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:27:37] 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":707404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:27:37] local.INFO: GPS data processed {"connection_id":163676,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:27:37] local.INFO: Acknowledgment sent {"connection_id":163676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:27:48] local.INFO: TCP Data received {"connection_id":163675,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0472600a0012d196940071ff068004201422d..."} 
[2026-08-28 12:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0472600a0012d196940071ff068004201422d..."} 
[2026-08-28 12:27:48] local.INFO: Processing buffer {"connection_id":163675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0472600a0012d196940071ff068004201422d..."} 
[2026-08-28 12:27:48] local.INFO: Packet analysis {"connection_id":163675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04726"} 
[2026-08-28 12:27:48] local.INFO: Extracted packet for processing {"connection_id":163675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04726"} 
[2026-08-28 12:27:48] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533672,"longitude_deg":75.6640064,"latitude_deg":11.9533672,"altitude":66,"angle":322,"satellites":45,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-28 12:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:27:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702340352001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:27:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:27:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847614976,"note":"Value kept but may cause issues"} 
[2026-08-28 12:27:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:27:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787900068000,"timestamp_ms":1787900068000,"timestamp_seconds":1787900068,"priority":1,"record_length":96,"hex_timestamp":"000001a0472600a0"} 
[2026-08-28 12:27:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:27:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 12:27:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:27:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:27:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:27:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:27:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:27:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:27:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:27:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:27:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:27:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:27:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702340352001,"66":2155,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1831065122847614976},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 12:27:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:27:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:27:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702340352001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:27:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:27:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:27:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:27:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847614976,"description":"Unknown IO ID 45"} 
[2026-08-28 12:27:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702340352001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847614976}} 
[2026-08-28 12:27:48] 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":707405,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:27:48] local.INFO: GPS data processed {"connection_id":163675,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:27:48] local.INFO: Acknowledgment sent {"connection_id":163675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:28:08] local.INFO: TCP Data received {"connection_id":163676,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0472489a0012d34c14006aa4840000c00e628..."} 
[2026-08-28 12:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0472489a0012d34c14006aa4840000c00e628..."} 
[2026-08-28 12:28:08] local.INFO: Processing buffer {"connection_id":163676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0472489a0012d34c14006aa4840000c00e628..."} 
[2026-08-28 12:28:08] local.INFO: Packet analysis {"connection_id":163676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04724"} 
[2026-08-28 12:28:08] local.INFO: Extracted packet for processing {"connection_id":163676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04724"} 
[2026-08-28 12:28:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702315776001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:28: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-28 12:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787899972000,"timestamp_ms":1787899972000,"timestamp_seconds":1787899972,"priority":1,"record_length":96,"hex_timestamp":"000001a0472489a0"} 
[2026-08-28 12:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:28:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 12:28:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:28:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:28:08] 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-28 12:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702315776001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702315776001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:28:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:28:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:28: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-28 12:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702315776001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:28:08] 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":707406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:28:08] local.INFO: GPS data processed {"connection_id":163676,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:28:08] local.INFO: Acknowledgment sent {"connection_id":163676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:28:11] local.INFO: TCP Data received {"connection_id":163677,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:28:11] local.INFO: Processing buffer {"connection_id":163677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:28:11] local.INFO: IMEI packet received {"connection_id":163677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 12:28:11] local.INFO: IMEI acknowledgment sent {"connection_id":163677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:28:16] local.INFO: TCP Data received {"connection_id":163677,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:28:16] local.INFO: Processing buffer {"connection_id":163677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:28:16] local.INFO: IMEI packet received {"connection_id":163677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 12:28:16] local.INFO: IMEI acknowledgment sent {"connection_id":163677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:28:17] local.INFO: TCP Data received {"connection_id":163677,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0472600a0012d196940071ff068004201422d..."} 
[2026-08-28 12:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0472600a0012d196940071ff068004201422d..."} 
[2026-08-28 12:28:17] local.INFO: Processing buffer {"connection_id":163677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0472600a0012d196940071ff068004201422d..."} 
[2026-08-28 12:28:17] local.INFO: Packet analysis {"connection_id":163677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04726"} 
[2026-08-28 12:28:17] local.INFO: Extracted packet for processing {"connection_id":163677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04726"} 
[2026-08-28 12:28:17] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533672,"longitude_deg":75.6640064,"latitude_deg":11.9533672,"altitude":66,"angle":322,"satellites":45,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-28 12:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:28:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702340352001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:28:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:28:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847614976,"note":"Value kept but may cause issues"} 
[2026-08-28 12:28: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-28 12:28:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787900068000,"timestamp_ms":1787900068000,"timestamp_seconds":1787900068,"priority":1,"record_length":96,"hex_timestamp":"000001a0472600a0"} 
[2026-08-28 12:28:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:28:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 12:28:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:28:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:28:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:28:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:28:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:28:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:28:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:28:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:28:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:28:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:28:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702340352001,"66":2155,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1831065122847614976},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 12:28:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:28:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:28:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702340352001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:28:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:28:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:28:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:28:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847614976,"description":"Unknown IO ID 45"} 
[2026-08-28 12:28:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702340352001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847614976}} 
[2026-08-28 12:28:17] local.INFO: DEBUG: GPS processor result {"connection_id":163677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707407,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:28:17] local.INFO: GPS data processed {"connection_id":163677,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:28:17] local.INFO: Acknowledgment sent {"connection_id":163677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:28:30] local.INFO: TCP Data received {"connection_id":163406,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:28:30] local.INFO: Processing buffer {"connection_id":163406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:28:30] local.INFO: IMEI packet received {"connection_id":163406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 12:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":163406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:28:31] local.INFO: TCP Data received {"connection_id":163406,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:28:31] local.INFO: Processing buffer {"connection_id":163406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:28:31] local.INFO: IMEI packet received {"connection_id":163406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 12:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":163406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:28:39] local.INFO: TCP Data received {"connection_id":163406,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:28:39] local.INFO: Processing buffer {"connection_id":163406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:28:39] local.INFO: IMEI packet received {"connection_id":163406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 12:28:39] local.INFO: IMEI acknowledgment sent {"connection_id":163406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:28:40] local.INFO: TCP Data received {"connection_id":163406,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a047292168012d34c14006aa4840001000e62b..."} 
[2026-08-28 12:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047292168012d34c14006aa4840001000e62b..."} 
[2026-08-28 12:28:40] local.INFO: Processing buffer {"connection_id":163406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047292168012d34c14006aa4840001000e62b..."} 
[2026-08-28 12:28:40] local.INFO: Packet analysis {"connection_id":163406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04729"} 
[2026-08-28 12:28:40] local.INFO: Extracted packet for processing {"connection_id":163406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04729"} 
[2026-08-28 12:28:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:28:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702392832001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:28:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:28:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:28: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-28 12:28:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787900273000,"timestamp_ms":1787900273000,"timestamp_seconds":1787900273,"priority":1,"record_length":96,"hex_timestamp":"000001a047292168"} 
[2026-08-28 12:28:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:28: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-28 12:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 12:28:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:28:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:28:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:28:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:28:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:28:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:28:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:28:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:28:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:28:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:28:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702392832001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:28:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:28:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:28:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702392832001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:28:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:28:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:28: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-28 12:28:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:28:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702392832001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:28:40] 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":707408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:28:40] local.INFO: GPS data processed {"connection_id":163406,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:28:40] local.INFO: Acknowledgment sent {"connection_id":163406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:28:48] local.INFO: TCP Data received {"connection_id":163677,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0472600a0012d196940071ff068004201422d..."} 
[2026-08-28 12:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0472600a0012d196940071ff068004201422d..."} 
[2026-08-28 12:28:48] local.INFO: Processing buffer {"connection_id":163677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0472600a0012d196940071ff068004201422d..."} 
[2026-08-28 12:28:48] local.INFO: Packet analysis {"connection_id":163677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04726"} 
[2026-08-28 12:28:48] local.INFO: Extracted packet for processing {"connection_id":163677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04726"} 
[2026-08-28 12:28:48] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533672,"longitude_deg":75.6640064,"latitude_deg":11.9533672,"altitude":66,"angle":322,"satellites":45,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-28 12:28:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:28:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702340352001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:28:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:28:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847614976,"note":"Value kept but may cause issues"} 
[2026-08-28 12:28:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:28:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787900068000,"timestamp_ms":1787900068000,"timestamp_seconds":1787900068,"priority":1,"record_length":96,"hex_timestamp":"000001a0472600a0"} 
[2026-08-28 12:28:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:28:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:28:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 12:28:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:28:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:28:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:28:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:28:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:28:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:28:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:28:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:28:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:28:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:28:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702340352001,"66":2155,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1831065122847614976},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 12:28:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:28:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:28:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702340352001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:28:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:28:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:28:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:28:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847614976,"description":"Unknown IO ID 45"} 
[2026-08-28 12:28:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702340352001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847614976}} 
[2026-08-28 12:28:48] local.INFO: DEBUG: GPS processor result {"connection_id":163677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707409,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:28:48] local.INFO: GPS data processed {"connection_id":163677,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:28:48] local.INFO: Acknowledgment sent {"connection_id":163677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:29:11] local.INFO: TCP Data received {"connection_id":163406,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a047292168012d34c14006aa4840001000e62b..."} 
[2026-08-28 12:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047292168012d34c14006aa4840001000e62b..."} 
[2026-08-28 12:29:11] local.INFO: Processing buffer {"connection_id":163406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047292168012d34c14006aa4840001000e62b..."} 
[2026-08-28 12:29:11] local.INFO: Packet analysis {"connection_id":163406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04729"} 
[2026-08-28 12:29:11] local.INFO: Extracted packet for processing {"connection_id":163406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04729"} 
[2026-08-28 12:29:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702392832001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:29:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12: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-28 12:29:11] local.INFO: TCP Data received {"connection_id":166026,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787900273000,"timestamp_ms":1787900273000,"timestamp_seconds":1787900273,"priority":1,"record_length":96,"hex_timestamp":"000001a047292168"} 
[2026-08-28 12:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:29: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-28 12:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 12:29:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":163406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":163406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":163406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166026,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:29:11] local.INFO: Processing buffer {"connection_id":166026,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:29:11] local.INFO: IMEI packet received {"connection_id":166026,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 12:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":166026,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702392832001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702392832001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:29:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:29:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12: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-28 12:29:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702392832001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:29:11] 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":707410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:29:11] local.INFO: GPS data processed {"connection_id":163406,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:29:11] local.INFO: Acknowledgment sent {"connection_id":163406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:29:16] local.INFO: TCP Data received {"connection_id":166026,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166026,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:29:16] local.INFO: Processing buffer {"connection_id":166026,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:29:16] local.INFO: IMEI packet received {"connection_id":166026,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 12:29:16] local.INFO: IMEI acknowledgment sent {"connection_id":166026,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:29:17] local.INFO: TCP Data received {"connection_id":166026,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0472600a0012d196940071ff068004201422d..."} 
[2026-08-28 12:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0472600a0012d196940071ff068004201422d..."} 
[2026-08-28 12:29:17] local.INFO: Processing buffer {"connection_id":166026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0472600a0012d196940071ff068004201422d..."} 
[2026-08-28 12:29:17] local.INFO: Packet analysis {"connection_id":166026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04726"} 
[2026-08-28 12:29:17] local.INFO: Extracted packet for processing {"connection_id":166026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04726"} 
[2026-08-28 12:29:17] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533672,"longitude_deg":75.6640064,"latitude_deg":11.9533672,"altitude":66,"angle":322,"satellites":45,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-28 12:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:29:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702340352001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:29:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:29:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847614976,"note":"Value kept but may cause issues"} 
[2026-08-28 12:29: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-28 12:29:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787900068000,"timestamp_ms":1787900068000,"timestamp_seconds":1787900068,"priority":1,"record_length":96,"hex_timestamp":"000001a0472600a0"} 
[2026-08-28 12:29:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:29:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 12:29:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:29:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:29:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:29:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:29:17] local.INFO: Teltonika packet parsed successfully {"connection_id":166026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:29:17] local.INFO: Passing IMEI to GPS processor {"connection_id":166026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:29:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":166026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:29:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:29:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:29:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:29:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702340352001,"66":2155,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1831065122847614976},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 12:29:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:29:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:29:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702340352001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:29:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:29:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:29:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:29:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847614976,"description":"Unknown IO ID 45"} 
[2026-08-28 12:29:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702340352001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847614976}} 
[2026-08-28 12:29:17] local.INFO: DEBUG: GPS processor result {"connection_id":166026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707411,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:29:17] local.INFO: GPS data processed {"connection_id":166026,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:29:17] local.INFO: Acknowledgment sent {"connection_id":166026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:29:31] local.INFO: TCP Data received {"connection_id":164668,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:29:31] local.INFO: Processing buffer {"connection_id":164668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:29:31] local.INFO: IMEI packet received {"connection_id":164668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 12:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":164668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:29:36] local.INFO: TCP Data received {"connection_id":164668,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:29:36] local.INFO: Processing buffer {"connection_id":164668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:29:36] local.INFO: IMEI packet received {"connection_id":164668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 12:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":164668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:29:38] local.INFO: TCP Data received {"connection_id":164668,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a047292168012d34c14006aa4840001000e62b..."} 
[2026-08-28 12:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047292168012d34c14006aa4840001000e62b..."} 
[2026-08-28 12:29:38] local.INFO: Processing buffer {"connection_id":164668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047292168012d34c14006aa4840001000e62b..."} 
[2026-08-28 12:29:38] local.INFO: Packet analysis {"connection_id":164668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04729"} 
[2026-08-28 12:29:38] local.INFO: Extracted packet for processing {"connection_id":164668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04729"} 
[2026-08-28 12:29:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702392832001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:29:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:29:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:29:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787900273000,"timestamp_ms":1787900273000,"timestamp_seconds":1787900273,"priority":1,"record_length":96,"hex_timestamp":"000001a047292168"} 
[2026-08-28 12:29:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:29:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 12:29:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:29:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:29:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:29:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:29:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:29:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:29: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-28 12:29:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:29:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:29:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702392832001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:29:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:29:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:29:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702392832001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:29:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:29:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:29: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-28 12:29:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:29:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702392832001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:29:38] local.INFO: DEBUG: GPS processor result {"connection_id":164668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:29:38] local.INFO: GPS data processed {"connection_id":164668,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:29:38] local.INFO: Acknowledgment sent {"connection_id":164668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:29:48] local.INFO: TCP Data received {"connection_id":166026,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0472600a0012d196940071ff068004201422d..."} 
[2026-08-28 12:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0472600a0012d196940071ff068004201422d..."} 
[2026-08-28 12:29:48] local.INFO: Processing buffer {"connection_id":166026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0472600a0012d196940071ff068004201422d..."} 
[2026-08-28 12:29:48] local.INFO: Packet analysis {"connection_id":166026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04726"} 
[2026-08-28 12:29:48] local.INFO: Extracted packet for processing {"connection_id":166026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04726"} 
[2026-08-28 12:29:48] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533672,"longitude_deg":75.6640064,"latitude_deg":11.9533672,"altitude":66,"angle":322,"satellites":45,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-28 12:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:29:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702340352001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:29:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:29:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847614976,"note":"Value kept but may cause issues"} 
[2026-08-28 12:29:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:29:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787900068000,"timestamp_ms":1787900068000,"timestamp_seconds":1787900068,"priority":1,"record_length":96,"hex_timestamp":"000001a0472600a0"} 
[2026-08-28 12:29:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:29:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 12:29:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:29:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:29:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:29:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:29:48] local.INFO: Teltonika packet parsed successfully {"connection_id":166026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:29:48] local.INFO: Passing IMEI to GPS processor {"connection_id":166026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:29:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":166026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:29:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:29:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:29:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:29:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702340352001,"66":2155,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1831065122847614976},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 12:29:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:29:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:29:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702340352001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:29:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:29:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:29:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:29:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847614976,"description":"Unknown IO ID 45"} 
[2026-08-28 12:29:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702340352001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847614976}} 
[2026-08-28 12:29:48] local.INFO: DEBUG: GPS processor result {"connection_id":166026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707413,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:29:48] local.INFO: GPS data processed {"connection_id":166026,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:29:48] local.INFO: Acknowledgment sent {"connection_id":166026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:30:09] local.INFO: TCP Data received {"connection_id":164668,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a047292168012d34c14006aa4840001000e62b..."} 
[2026-08-28 12:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047292168012d34c14006aa4840001000e62b..."} 
[2026-08-28 12:30:09] local.INFO: Processing buffer {"connection_id":164668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047292168012d34c14006aa4840001000e62b..."} 
[2026-08-28 12:30:09] local.INFO: Packet analysis {"connection_id":164668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04729"} 
[2026-08-28 12:30:09] local.INFO: Extracted packet for processing {"connection_id":164668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04729"} 
[2026-08-28 12:30:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702392832001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:30:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:30:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:30:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:30:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787900273000,"timestamp_ms":1787900273000,"timestamp_seconds":1787900273,"priority":1,"record_length":96,"hex_timestamp":"000001a047292168"} 
[2026-08-28 12:30:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:30:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 12:30:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:30:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:30:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:30:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:30:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:30:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:30:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:30: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-28 12:30:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:30:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702392832001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702392832001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:30:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:30:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:30: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-28 12:30:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:30:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702392832001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:30:09] local.INFO: DEBUG: GPS processor result {"connection_id":164668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:30:09] local.INFO: GPS data processed {"connection_id":164668,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:30:09] local.INFO: Acknowledgment sent {"connection_id":164668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:30:11] local.INFO: TCP Data received {"connection_id":163678,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163678,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:30:11] local.INFO: Processing buffer {"connection_id":163678,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:30:11] local.INFO: IMEI packet received {"connection_id":163678,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 12:30:11] local.INFO: IMEI acknowledgment sent {"connection_id":163678,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:30:16] local.INFO: TCP Data received {"connection_id":163678,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163678,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:30:16] local.INFO: Processing buffer {"connection_id":163678,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:30:16] local.INFO: IMEI packet received {"connection_id":163678,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 12:30:16] local.INFO: IMEI acknowledgment sent {"connection_id":163678,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:30:16] local.INFO: TCP Data received {"connection_id":163678,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0472a9868012d196940071ff0680042014229..."} 
[2026-08-28 12:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0472a9868012d196940071ff0680042014229..."} 
[2026-08-28 12:30:16] local.INFO: Processing buffer {"connection_id":163678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0472a9868012d196940071ff0680042014229..."} 
[2026-08-28 12:30:16] local.INFO: Packet analysis {"connection_id":163678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0472a"} 
[2026-08-28 12:30:16] local.INFO: Extracted packet for processing {"connection_id":163678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0472a"} 
[2026-08-28 12:30:16] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533672,"longitude_deg":75.6640064,"latitude_deg":11.9533672,"altitude":66,"angle":322,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-28 12: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-28 12:30:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702417408001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:30:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:30:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847614976,"note":"Value kept but may cause issues"} 
[2026-08-28 12:30:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:30:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787900369000,"timestamp_ms":1787900369000,"timestamp_seconds":1787900369,"priority":1,"record_length":96,"hex_timestamp":"000001a0472a9868"} 
[2026-08-28 12: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-28 12:30:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-28 12:30:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12: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-28 12: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-28 12:30:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:30:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:30:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:30:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:30:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:30:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:30:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:30:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702417408001,"66":2166,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1831065122847614976},"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-28 12:30:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:30:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:30:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702417408001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:30:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:30:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:30:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:30:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847614976,"description":"Unknown IO ID 45"} 
[2026-08-28 12:30:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702417408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847614976}} 
[2026-08-28 12:30:17] local.INFO: DEBUG: GPS processor result {"connection_id":163678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707415,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:30:17] local.INFO: GPS data processed {"connection_id":163678,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:30:17] local.INFO: Acknowledgment sent {"connection_id":163678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:30:31] local.INFO: TCP Data received {"connection_id":164669,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:30:31] local.INFO: Processing buffer {"connection_id":164669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:30:31] local.INFO: IMEI packet received {"connection_id":164669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 12:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":164669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:30:36] local.INFO: TCP Data received {"connection_id":164669,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:30:36] local.INFO: Processing buffer {"connection_id":164669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:30:36] local.INFO: IMEI packet received {"connection_id":164669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 12:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":164669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:30:37] local.INFO: TCP Data received {"connection_id":164669,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a047292168012d34c14006aa4840001000e62b..."} 
[2026-08-28 12:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047292168012d34c14006aa4840001000e62b..."} 
[2026-08-28 12:30:37] local.INFO: Processing buffer {"connection_id":164669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047292168012d34c14006aa4840001000e62b..."} 
[2026-08-28 12:30:37] local.INFO: Packet analysis {"connection_id":164669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04729"} 
[2026-08-28 12:30:37] local.INFO: Extracted packet for processing {"connection_id":164669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04729"} 
[2026-08-28 12:30:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702392832001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787900273000,"timestamp_ms":1787900273000,"timestamp_seconds":1787900273,"priority":1,"record_length":96,"hex_timestamp":"000001a047292168"} 
[2026-08-28 12:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 12:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702392832001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702392832001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:30:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:30:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:30: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-28 12:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702392832001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":164669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:30:37] local.INFO: GPS data processed {"connection_id":164669,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:30:37] local.INFO: Acknowledgment sent {"connection_id":164669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:30:48] local.INFO: TCP Data received {"connection_id":163678,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0472a9868012d196940071ff0680042014229..."} 
[2026-08-28 12:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0472a9868012d196940071ff0680042014229..."} 
[2026-08-28 12:30:48] local.INFO: Processing buffer {"connection_id":163678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0472a9868012d196940071ff0680042014229..."} 
[2026-08-28 12:30:48] local.INFO: Packet analysis {"connection_id":163678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0472a"} 
[2026-08-28 12:30:48] local.INFO: Extracted packet for processing {"connection_id":163678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0472a"} 
[2026-08-28 12:30:48] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533672,"longitude_deg":75.6640064,"latitude_deg":11.9533672,"altitude":66,"angle":322,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-28 12: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-28 12:30:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702417408001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:30:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:30:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847614976,"note":"Value kept but may cause issues"} 
[2026-08-28 12:30:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:30:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787900369000,"timestamp_ms":1787900369000,"timestamp_seconds":1787900369,"priority":1,"record_length":96,"hex_timestamp":"000001a0472a9868"} 
[2026-08-28 12: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-28 12:30:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-28 12:30:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12: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-28 12: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-28 12:30:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:30:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:30:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:30:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:30:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:30:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:30:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:30:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702417408001,"66":2166,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1831065122847614976},"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-28 12:30:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:30:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:30:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702417408001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:30:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:30:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:30:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:30:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847614976,"description":"Unknown IO ID 45"} 
[2026-08-28 12:30:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702417408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847614976}} 
[2026-08-28 12:30:48] local.INFO: DEBUG: GPS processor result {"connection_id":163678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707417,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:30:48] local.INFO: GPS data processed {"connection_id":163678,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:30:48] local.INFO: Acknowledgment sent {"connection_id":163678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:31:08] local.INFO: TCP Data received {"connection_id":164669,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a047292168012d34c14006aa4840001000e62b..."} 
[2026-08-28 12:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047292168012d34c14006aa4840001000e62b..."} 
[2026-08-28 12:31:08] local.INFO: Processing buffer {"connection_id":164669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047292168012d34c14006aa4840001000e62b..."} 
[2026-08-28 12:31:08] local.INFO: Packet analysis {"connection_id":164669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04729"} 
[2026-08-28 12:31:08] local.INFO: Extracted packet for processing {"connection_id":164669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04729"} 
[2026-08-28 12:31:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702392832001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12: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-28 12:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787900273000,"timestamp_ms":1787900273000,"timestamp_seconds":1787900273,"priority":1,"record_length":96,"hex_timestamp":"000001a047292168"} 
[2026-08-28 12: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-28 12:31: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-28 12: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":31,"data_length":795,"current_offset":136} 
[2026-08-28 12:31:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12: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-28 12: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-28 12:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702392832001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702392832001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:31:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:31:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12: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-28 12:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702392832001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":164669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:31:08] local.INFO: GPS data processed {"connection_id":164669,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:31:08] local.INFO: Acknowledgment sent {"connection_id":164669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:31:11] local.INFO: TCP Data received {"connection_id":163407,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163407,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:31:11] local.INFO: Processing buffer {"connection_id":163407,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:31:11] local.INFO: IMEI packet received {"connection_id":163407,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 12:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":163407,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:31:16] local.INFO: TCP Data received {"connection_id":163407,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163407,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:31:16] local.INFO: Processing buffer {"connection_id":163407,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:31:16] local.INFO: IMEI packet received {"connection_id":163407,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 12:31:16] local.INFO: IMEI acknowledgment sent {"connection_id":163407,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:31:17] local.INFO: TCP Data received {"connection_id":163407,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0472a9868012d196940071ff0680042014229..."} 
[2026-08-28 12:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0472a9868012d196940071ff0680042014229..."} 
[2026-08-28 12:31:17] local.INFO: Processing buffer {"connection_id":163407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0472a9868012d196940071ff0680042014229..."} 
[2026-08-28 12:31:17] local.INFO: Packet analysis {"connection_id":163407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0472a"} 
[2026-08-28 12:31:17] local.INFO: Extracted packet for processing {"connection_id":163407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0472a"} 
[2026-08-28 12:31:17] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533672,"longitude_deg":75.6640064,"latitude_deg":11.9533672,"altitude":66,"angle":322,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-28 12: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-28 12:31:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702417408001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:31:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:31:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847614976,"note":"Value kept but may cause issues"} 
[2026-08-28 12:31:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:31:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787900369000,"timestamp_ms":1787900369000,"timestamp_seconds":1787900369,"priority":1,"record_length":96,"hex_timestamp":"000001a0472a9868"} 
[2026-08-28 12: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-28 12:31:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-28 12:31: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-28 12: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-28 12: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-28 12:31:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:31:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:31:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:31:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:31:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:31:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:31:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:31:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702417408001,"66":2166,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1831065122847614976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 12:31:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:31:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:31:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702417408001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:31:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:31:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:31:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:31:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847614976,"description":"Unknown IO ID 45"} 
[2026-08-28 12:31:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702417408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847614976}} 
[2026-08-28 12:31:17] 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":707419,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:31:17] local.INFO: GPS data processed {"connection_id":163407,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:31:17] local.INFO: Acknowledgment sent {"connection_id":163407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:31:31] local.INFO: TCP Data received {"connection_id":163679,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:31:31] local.INFO: Processing buffer {"connection_id":163679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:31:31] local.INFO: IMEI packet received {"connection_id":163679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 12:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":163679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:31:35] local.INFO: TCP Data received {"connection_id":163679,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:31:35] local.INFO: Processing buffer {"connection_id":163679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:31:35] local.INFO: IMEI packet received {"connection_id":163679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 12:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":163679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:31:36] local.INFO: TCP Data received {"connection_id":163679,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a047292168012d34c14006aa4840001000e62b..."} 
[2026-08-28 12:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047292168012d34c14006aa4840001000e62b..."} 
[2026-08-28 12:31:36] local.INFO: Processing buffer {"connection_id":163679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047292168012d34c14006aa4840001000e62b..."} 
[2026-08-28 12:31:36] local.INFO: Packet analysis {"connection_id":163679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04729"} 
[2026-08-28 12:31:36] local.INFO: Extracted packet for processing {"connection_id":163679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04729"} 
[2026-08-28 12:31:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702392832001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:31:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:31:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787900273000,"timestamp_ms":1787900273000,"timestamp_seconds":1787900273,"priority":1,"record_length":96,"hex_timestamp":"000001a047292168"} 
[2026-08-28 12:31:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:31:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 12:31:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:31:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:31:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:31:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702392832001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702392832001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:31:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:31:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:31:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702392832001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:31:36] 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":707420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:31:36] local.INFO: GPS data processed {"connection_id":163679,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:31:36] local.INFO: Acknowledgment sent {"connection_id":163679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:31:48] local.INFO: TCP Data received {"connection_id":163407,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0472a9868012d196940071ff0680042014229..."} 
[2026-08-28 12:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0472a9868012d196940071ff0680042014229..."} 
[2026-08-28 12:31:48] local.INFO: Processing buffer {"connection_id":163407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0472a9868012d196940071ff0680042014229..."} 
[2026-08-28 12:31:48] local.INFO: Packet analysis {"connection_id":163407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0472a"} 
[2026-08-28 12:31:48] local.INFO: Extracted packet for processing {"connection_id":163407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0472a"} 
[2026-08-28 12:31:48] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533672,"longitude_deg":75.6640064,"latitude_deg":11.9533672,"altitude":66,"angle":322,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-28 12: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-28 12:31:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702417408001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:31:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:31:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847614976,"note":"Value kept but may cause issues"} 
[2026-08-28 12:31:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:31:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787900369000,"timestamp_ms":1787900369000,"timestamp_seconds":1787900369,"priority":1,"record_length":96,"hex_timestamp":"000001a0472a9868"} 
[2026-08-28 12: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-28 12:31:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-28 12:31:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12: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-28 12: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-28 12:31:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:31:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:31:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:31:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:31:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:31:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:31:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:31:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702417408001,"66":2166,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1831065122847614976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 12:31:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:31:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:31:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702417408001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:31:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:31:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:31:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:31:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847614976,"description":"Unknown IO ID 45"} 
[2026-08-28 12:31:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702417408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847614976}} 
[2026-08-28 12:31:48] 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":707421,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:31:48] local.INFO: GPS data processed {"connection_id":163407,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:31:48] local.INFO: Acknowledgment sent {"connection_id":163407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:32:08] local.INFO: TCP Data received {"connection_id":163679,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a047292168012d34c14006aa4840001000e62b..."} 
[2026-08-28 12:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047292168012d34c14006aa4840001000e62b..."} 
[2026-08-28 12:32:08] local.INFO: Processing buffer {"connection_id":163679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047292168012d34c14006aa4840001000e62b..."} 
[2026-08-28 12:32:08] local.INFO: Packet analysis {"connection_id":163679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04729"} 
[2026-08-28 12:32:08] local.INFO: Extracted packet for processing {"connection_id":163679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04729"} 
[2026-08-28 12:32:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702392832001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:32: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-28 12:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787900273000,"timestamp_ms":1787900273000,"timestamp_seconds":1787900273,"priority":1,"record_length":96,"hex_timestamp":"000001a047292168"} 
[2026-08-28 12:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:32: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-28 12:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 12:32:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:32:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:32:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702392832001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702392832001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:32:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:32:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:32: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-28 12:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702392832001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:32:08] 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":707422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:32:08] local.INFO: GPS data processed {"connection_id":163679,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:32:08] local.INFO: Acknowledgment sent {"connection_id":163679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:32:11] local.INFO: TCP Data received {"connection_id":166028,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166028,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:32:11] local.INFO: Processing buffer {"connection_id":166028,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:32:11] local.INFO: IMEI packet received {"connection_id":166028,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 12:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":166028,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:32:16] local.INFO: TCP Data received {"connection_id":166028,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166028,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:32:16] local.INFO: Processing buffer {"connection_id":166028,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:32:16] local.INFO: IMEI packet received {"connection_id":166028,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 12:32:16] local.INFO: IMEI acknowledgment sent {"connection_id":166028,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:32:17] local.INFO: TCP Data received {"connection_id":166028,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0472a9868012d196940071ff0680042014229..."} 
[2026-08-28 12:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0472a9868012d196940071ff0680042014229..."} 
[2026-08-28 12:32:17] local.INFO: Processing buffer {"connection_id":166028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0472a9868012d196940071ff0680042014229..."} 
[2026-08-28 12:32:17] local.INFO: Packet analysis {"connection_id":166028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0472a"} 
[2026-08-28 12:32:17] local.INFO: Extracted packet for processing {"connection_id":166028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0472a"} 
[2026-08-28 12:32:17] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533672,"longitude_deg":75.6640064,"latitude_deg":11.9533672,"altitude":66,"angle":322,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-28 12:32:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:32:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702417408001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:32:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:32:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847614976,"note":"Value kept but may cause issues"} 
[2026-08-28 12:32: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-28 12:32:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787900369000,"timestamp_ms":1787900369000,"timestamp_seconds":1787900369,"priority":1,"record_length":96,"hex_timestamp":"000001a0472a9868"} 
[2026-08-28 12:32:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:32:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:32:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-28 12:32: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-28 12:32:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:32:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:32:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:32:17] local.INFO: Teltonika packet parsed successfully {"connection_id":166028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:32:17] local.INFO: Passing IMEI to GPS processor {"connection_id":166028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:32:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":166028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:32:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:32:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:32:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:32:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702417408001,"66":2166,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1831065122847614976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 12:32:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:32:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:32:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702417408001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:32:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:32:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:32:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:32:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847614976,"description":"Unknown IO ID 45"} 
[2026-08-28 12:32:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702417408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847614976}} 
[2026-08-28 12:32:17] local.INFO: DEBUG: GPS processor result {"connection_id":166028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707423,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:32:17] local.INFO: GPS data processed {"connection_id":166028,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:32:17] local.INFO: Acknowledgment sent {"connection_id":166028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:32:31] local.INFO: TCP Data received {"connection_id":163408,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:32:31] local.INFO: Processing buffer {"connection_id":163408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:32:31] local.INFO: IMEI packet received {"connection_id":163408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 12:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":163408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:32:36] local.INFO: TCP Data received {"connection_id":163408,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:32:36] local.INFO: Processing buffer {"connection_id":163408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:32:36] local.INFO: IMEI packet received {"connection_id":163408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 12:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":163408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:32:37] local.INFO: TCP Data received {"connection_id":163408,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a047292168012d34c14006aa4840001000e62b..."} 
[2026-08-28 12:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047292168012d34c14006aa4840001000e62b..."} 
[2026-08-28 12:32:37] local.INFO: Processing buffer {"connection_id":163408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047292168012d34c14006aa4840001000e62b..."} 
[2026-08-28 12:32:37] local.INFO: Packet analysis {"connection_id":163408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04729"} 
[2026-08-28 12:32:37] local.INFO: Extracted packet for processing {"connection_id":163408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04729"} 
[2026-08-28 12:32:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12: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-28 12:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702392832001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787900273000,"timestamp_ms":1787900273000,"timestamp_seconds":1787900273,"priority":1,"record_length":96,"hex_timestamp":"000001a047292168"} 
[2026-08-28 12: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-28 12:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 12:32:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12: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-28 12: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-28 12:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702392832001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702392832001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:32:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:32:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:32: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-28 12:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702392832001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:32:37] 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":707424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:32:37] local.INFO: GPS data processed {"connection_id":163408,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:32:37] local.INFO: Acknowledgment sent {"connection_id":163408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:32:48] local.INFO: TCP Data received {"connection_id":166028,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0472a9868012d196940071ff0680042014229..."} 
[2026-08-28 12:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0472a9868012d196940071ff0680042014229..."} 
[2026-08-28 12:32:48] local.INFO: Processing buffer {"connection_id":166028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0472a9868012d196940071ff0680042014229..."} 
[2026-08-28 12:32:48] local.INFO: Packet analysis {"connection_id":166028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0472a"} 
[2026-08-28 12:32:48] local.INFO: Extracted packet for processing {"connection_id":166028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0472a"} 
[2026-08-28 12:32:48] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533672,"longitude_deg":75.6640064,"latitude_deg":11.9533672,"altitude":66,"angle":322,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-28 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-28 12:32:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702417408001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:32:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:32:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847614976,"note":"Value kept but may cause issues"} 
[2026-08-28 12:32:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:32:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787900369000,"timestamp_ms":1787900369000,"timestamp_seconds":1787900369,"priority":1,"record_length":96,"hex_timestamp":"000001a0472a9868"} 
[2026-08-28 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-28 12:32:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-28 12:32:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 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-28 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-28 12:32:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:32:48] local.INFO: Teltonika packet parsed successfully {"connection_id":166028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:32:48] local.INFO: Passing IMEI to GPS processor {"connection_id":166028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:32:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":166028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:32:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:32:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:32:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:32:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702417408001,"66":2166,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1831065122847614976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 12:32:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:32:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:32:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702417408001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:32:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:32:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:32:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:32:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847614976,"description":"Unknown IO ID 45"} 
[2026-08-28 12:32:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702417408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847614976}} 
[2026-08-28 12:32:48] local.INFO: DEBUG: GPS processor result {"connection_id":166028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707425,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:32:48] local.INFO: GPS data processed {"connection_id":166028,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:32:48] local.INFO: Acknowledgment sent {"connection_id":166028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:33:08] local.INFO: TCP Data received {"connection_id":163408,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a047292168012d34c14006aa4840001000e62b..."} 
[2026-08-28 12:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047292168012d34c14006aa4840001000e62b..."} 
[2026-08-28 12:33:08] local.INFO: Processing buffer {"connection_id":163408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047292168012d34c14006aa4840001000e62b..."} 
[2026-08-28 12:33:08] local.INFO: Packet analysis {"connection_id":163408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04729"} 
[2026-08-28 12:33:08] local.INFO: Extracted packet for processing {"connection_id":163408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04729"} 
[2026-08-28 12:33:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702392832001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:33: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-28 12:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787900273000,"timestamp_ms":1787900273000,"timestamp_seconds":1787900273,"priority":1,"record_length":96,"hex_timestamp":"000001a047292168"} 
[2026-08-28 12:33:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:33: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-28 12:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 12:33:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:33:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:33:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:33:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702392832001,"66":25321,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702392832001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:33:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:33:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:33: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-28 12:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702392832001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:33:08] 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":707426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:33:08] local.INFO: GPS data processed {"connection_id":163408,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:33:08] local.INFO: Acknowledgment sent {"connection_id":163408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:33:11] local.INFO: TCP Data received {"connection_id":163680,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:33:11] local.INFO: Processing buffer {"connection_id":163680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:33:11] local.INFO: IMEI packet received {"connection_id":163680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 12:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":163680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:33:16] local.INFO: TCP Data received {"connection_id":163680,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:33:16] local.INFO: Processing buffer {"connection_id":163680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:33:16] local.INFO: IMEI packet received {"connection_id":163680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 12:33:16] local.INFO: IMEI acknowledgment sent {"connection_id":163680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:33:17] local.INFO: TCP Data received {"connection_id":163680,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0472a9868012d196940071ff0680042014229..."} 
[2026-08-28 12:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0472a9868012d196940071ff0680042014229..."} 
[2026-08-28 12:33:17] local.INFO: Processing buffer {"connection_id":163680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0472a9868012d196940071ff0680042014229..."} 
[2026-08-28 12:33:17] local.INFO: Packet analysis {"connection_id":163680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0472a"} 
[2026-08-28 12:33:17] local.INFO: Extracted packet for processing {"connection_id":163680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0472a"} 
[2026-08-28 12:33:17] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533672,"longitude_deg":75.6640064,"latitude_deg":11.9533672,"altitude":66,"angle":322,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-28 12:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:33:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702417408001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:33:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:33:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847614976,"note":"Value kept but may cause issues"} 
[2026-08-28 12:33:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:33:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787900369000,"timestamp_ms":1787900369000,"timestamp_seconds":1787900369,"priority":1,"record_length":96,"hex_timestamp":"000001a0472a9868"} 
[2026-08-28 12:33:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:33:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-28 12:33: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-28 12:33:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:33:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:33:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:33:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:33:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:33:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:33:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:33:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:33:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:33:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702417408001,"66":2166,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1831065122847614976},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 12:33:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:33:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:33:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702417408001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:33:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:33:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:33:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:33:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847614976,"description":"Unknown IO ID 45"} 
[2026-08-28 12:33:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702417408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847614976}} 
[2026-08-28 12:33:17] 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":707427,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:33:17] local.INFO: GPS data processed {"connection_id":163680,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:33:17] local.INFO: Acknowledgment sent {"connection_id":163680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:33:30] local.INFO: TCP Data received {"connection_id":164670,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:33:30] local.INFO: Processing buffer {"connection_id":164670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:33:30] local.INFO: IMEI packet received {"connection_id":164670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 12:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":164670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:33:32] local.INFO: TCP Data received {"connection_id":164670,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:33:32] local.INFO: Processing buffer {"connection_id":164670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:33:32] local.INFO: IMEI packet received {"connection_id":164670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 12:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":164670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:33:36] local.INFO: TCP Data received {"connection_id":164670,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:33:36] local.INFO: Processing buffer {"connection_id":164670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:33:36] local.INFO: IMEI packet received {"connection_id":164670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 12:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":164670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:33:37] local.INFO: TCP Data received {"connection_id":164670,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0472db930012d34c14006aa4840000f00e628..."} 
[2026-08-28 12:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0472db930012d34c14006aa4840000f00e628..."} 
[2026-08-28 12:33:37] local.INFO: Processing buffer {"connection_id":164670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0472db930012d34c14006aa4840000f00e628..."} 
[2026-08-28 12:33:37] local.INFO: Packet analysis {"connection_id":164670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0472d"} 
[2026-08-28 12:33:37] local.INFO: Extracted packet for processing {"connection_id":164670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0472d"} 
[2026-08-28 12:33:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702469888001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787900574000,"timestamp_ms":1787900574000,"timestamp_seconds":1787900574,"priority":1,"record_length":96,"hex_timestamp":"000001a0472db930"} 
[2026-08-28 12:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 12:33:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702469888001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702469888001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:33:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:33:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:33: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-28 12:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702469888001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":164670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:33:37] local.INFO: GPS data processed {"connection_id":164670,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:33:37] local.INFO: Acknowledgment sent {"connection_id":164670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:33:48] local.INFO: TCP Data received {"connection_id":163680,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0472a9868012d196940071ff0680042014229..."} 
[2026-08-28 12:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0472a9868012d196940071ff0680042014229..."} 
[2026-08-28 12:33:48] local.INFO: Processing buffer {"connection_id":163680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0472a9868012d196940071ff0680042014229..."} 
[2026-08-28 12:33:48] local.INFO: Packet analysis {"connection_id":163680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0472a"} 
[2026-08-28 12:33:48] local.INFO: Extracted packet for processing {"connection_id":163680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0472a"} 
[2026-08-28 12:33:48] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533672,"longitude_deg":75.6640064,"latitude_deg":11.9533672,"altitude":66,"angle":322,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-28 12:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:33:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702417408001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:33:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:33:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847614976,"note":"Value kept but may cause issues"} 
[2026-08-28 12:33:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:33:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787900369000,"timestamp_ms":1787900369000,"timestamp_seconds":1787900369,"priority":1,"record_length":96,"hex_timestamp":"000001a0472a9868"} 
[2026-08-28 12:33:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:33:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-28 12:33:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:33:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:33:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:33:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:33:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:33:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:33:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:33:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:33:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:33:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:33:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702417408001,"66":2166,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1831065122847614976},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 12:33:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:33:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:33:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702417408001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:33:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:33:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:33:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:33:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847614976,"description":"Unknown IO ID 45"} 
[2026-08-28 12:33:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702417408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847614976}} 
[2026-08-28 12:33:48] 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":707429,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:33:48] local.INFO: GPS data processed {"connection_id":163680,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:33:48] local.INFO: Acknowledgment sent {"connection_id":163680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:34:08] local.INFO: TCP Data received {"connection_id":164670,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0472db930012d34c14006aa4840000f00e628..."} 
[2026-08-28 12:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0472db930012d34c14006aa4840000f00e628..."} 
[2026-08-28 12:34:08] local.INFO: Processing buffer {"connection_id":164670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0472db930012d34c14006aa4840000f00e628..."} 
[2026-08-28 12:34:08] local.INFO: Packet analysis {"connection_id":164670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0472d"} 
[2026-08-28 12:34:08] local.INFO: Extracted packet for processing {"connection_id":164670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0472d"} 
[2026-08-28 12:34:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702469888001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:34: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-28 12:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787900574000,"timestamp_ms":1787900574000,"timestamp_seconds":1787900574,"priority":1,"record_length":96,"hex_timestamp":"000001a0472db930"} 
[2026-08-28 12:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:34: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-28 12:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 12:34:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:34:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:34: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-28 12:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702469888001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702469888001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:34:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:34:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:34: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-28 12:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702469888001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":164670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:34:08] local.INFO: GPS data processed {"connection_id":164670,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:34:08] local.INFO: Acknowledgment sent {"connection_id":164670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:34:11] local.INFO: TCP Data received {"connection_id":163409,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:34:11] local.INFO: Processing buffer {"connection_id":163409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:34:11] local.INFO: IMEI packet received {"connection_id":163409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 12:34:11] local.INFO: IMEI acknowledgment sent {"connection_id":163409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:34:16] local.INFO: TCP Data received {"connection_id":163409,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:34:16] local.INFO: Processing buffer {"connection_id":163409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:34:16] local.INFO: IMEI packet received {"connection_id":163409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 12:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":163409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:34:17] local.INFO: TCP Data received {"connection_id":163409,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0472a9868012d196940071ff0680042014229..."} 
[2026-08-28 12:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0472a9868012d196940071ff0680042014229..."} 
[2026-08-28 12:34:17] local.INFO: Processing buffer {"connection_id":163409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0472a9868012d196940071ff0680042014229..."} 
[2026-08-28 12:34:17] local.INFO: Packet analysis {"connection_id":163409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0472a"} 
[2026-08-28 12:34:17] local.INFO: Extracted packet for processing {"connection_id":163409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0472a"} 
[2026-08-28 12:34:17] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533672,"longitude_deg":75.6640064,"latitude_deg":11.9533672,"altitude":66,"angle":322,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-28 12:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:34:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702417408001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:34:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:34:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847614976,"note":"Value kept but may cause issues"} 
[2026-08-28 12:34: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-28 12:34:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787900369000,"timestamp_ms":1787900369000,"timestamp_seconds":1787900369,"priority":1,"record_length":96,"hex_timestamp":"000001a0472a9868"} 
[2026-08-28 12:34:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:34:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-28 12:34: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-28 12:34:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:34:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:34:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:34:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:34:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:34:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:34:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:34:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:34:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:34:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702417408001,"66":2166,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1831065122847614976},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 12:34:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:34:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:34:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702417408001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:34:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:34:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:34:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:34:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847614976,"description":"Unknown IO ID 45"} 
[2026-08-28 12:34:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702417408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847614976}} 
[2026-08-28 12:34:17] 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":707431,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:34:17] local.INFO: GPS data processed {"connection_id":163409,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:34:17] local.INFO: Acknowledgment sent {"connection_id":163409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:34:30] local.INFO: TCP Data received {"connection_id":164671,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:34:30] local.INFO: Processing buffer {"connection_id":164671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:34:30] local.INFO: IMEI packet received {"connection_id":164671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 12:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":164671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:34:36] local.INFO: TCP Data received {"connection_id":164671,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:34:36] local.INFO: Processing buffer {"connection_id":164671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:34:36] local.INFO: IMEI packet received {"connection_id":164671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 12:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":164671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:34:37] local.INFO: TCP Data received {"connection_id":164671,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0472db930012d34c14006aa4840000f00e628..."} 
[2026-08-28 12:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0472db930012d34c14006aa4840000f00e628..."} 
[2026-08-28 12:34:37] local.INFO: Processing buffer {"connection_id":164671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0472db930012d34c14006aa4840000f00e628..."} 
[2026-08-28 12:34:37] local.INFO: Packet analysis {"connection_id":164671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0472d"} 
[2026-08-28 12:34:37] local.INFO: Extracted packet for processing {"connection_id":164671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0472d"} 
[2026-08-28 12:34:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702469888001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787900574000,"timestamp_ms":1787900574000,"timestamp_seconds":1787900574,"priority":1,"record_length":96,"hex_timestamp":"000001a0472db930"} 
[2026-08-28 12:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 12:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702469888001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702469888001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:34:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:34:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:34: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-28 12:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702469888001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":164671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:34:37] local.INFO: GPS data processed {"connection_id":164671,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:34:37] local.INFO: Acknowledgment sent {"connection_id":164671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:34:51] local.INFO: TCP Data received {"connection_id":163409,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0472a9868012d196940071ff0680042014229..."} 
[2026-08-28 12:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0472a9868012d196940071ff0680042014229..."} 
[2026-08-28 12:34:51] local.INFO: Processing buffer {"connection_id":163409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0472a9868012d196940071ff0680042014229..."} 
[2026-08-28 12:34:51] local.INFO: Packet analysis {"connection_id":163409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0472a"} 
[2026-08-28 12:34:51] local.INFO: Extracted packet for processing {"connection_id":163409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0472a"} 
[2026-08-28 12:34:51] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533672,"longitude_deg":75.6640064,"latitude_deg":11.9533672,"altitude":66,"angle":322,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-28 12:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:34:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702417408001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:34:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:34:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847614976,"note":"Value kept but may cause issues"} 
[2026-08-28 12:34: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-28 12:34:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787900369000,"timestamp_ms":1787900369000,"timestamp_seconds":1787900369,"priority":1,"record_length":96,"hex_timestamp":"000001a0472a9868"} 
[2026-08-28 12:34:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:34:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-28 12:34: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-28 12:34:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:34:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:34:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:34:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:34:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:34:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:34:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:34:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:34:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:34:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702417408001,"66":2166,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1831065122847614976},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 12:34:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:34:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:34:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702417408001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:34:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:34:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:34:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:34:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847614976,"description":"Unknown IO ID 45"} 
[2026-08-28 12:34:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702417408001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847614976}} 
[2026-08-28 12:34:51] 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":707433,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:34:51] local.INFO: GPS data processed {"connection_id":163409,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:34:51] local.INFO: Acknowledgment sent {"connection_id":163409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:35:09] local.INFO: TCP Data received {"connection_id":164671,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0472db930012d34c14006aa4840000f00e628..."} 
[2026-08-28 12:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0472db930012d34c14006aa4840000f00e628..."} 
[2026-08-28 12:35:09] local.INFO: Processing buffer {"connection_id":164671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0472db930012d34c14006aa4840000f00e628..."} 
[2026-08-28 12:35:09] local.INFO: Packet analysis {"connection_id":164671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0472d"} 
[2026-08-28 12:35:09] local.INFO: Extracted packet for processing {"connection_id":164671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0472d"} 
[2026-08-28 12:35:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702469888001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:35:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787900574000,"timestamp_ms":1787900574000,"timestamp_seconds":1787900574,"priority":1,"record_length":96,"hex_timestamp":"000001a0472db930"} 
[2026-08-28 12:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:35:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 12:35:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:35:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:35:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702469888001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702469888001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:35:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:35:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:35: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-28 12:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702469888001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":164671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:35:09] local.INFO: GPS data processed {"connection_id":164671,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:35:09] local.INFO: Acknowledgment sent {"connection_id":164671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:35:16] local.INFO: TCP Data received {"connection_id":163410,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163410,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:35:16] local.INFO: Processing buffer {"connection_id":163410,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:35:16] local.INFO: IMEI packet received {"connection_id":163410,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 12:35:16] local.INFO: IMEI acknowledgment sent {"connection_id":163410,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:35:21] local.INFO: TCP Data received {"connection_id":163410,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163410,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:35:21] local.INFO: Processing buffer {"connection_id":163410,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:35:21] local.INFO: IMEI packet received {"connection_id":163410,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 12:35:21] local.INFO: IMEI acknowledgment sent {"connection_id":163410,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:35:22] local.INFO: TCP Data received {"connection_id":163410,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0472f3030012d196940071ff068004201422a..."} 
[2026-08-28 12:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0472f3030012d196940071ff068004201422a..."} 
[2026-08-28 12:35:22] local.INFO: Processing buffer {"connection_id":163410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0472f3030012d196940071ff068004201422a..."} 
[2026-08-28 12:35:22] local.INFO: Packet analysis {"connection_id":163410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0472f"} 
[2026-08-28 12:35:22] local.INFO: Extracted packet for processing {"connection_id":163410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0472f"} 
[2026-08-28 12:35:22] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533672,"longitude_deg":75.6640064,"latitude_deg":11.9533672,"altitude":66,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-28 12:35:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:35:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702494464001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:35:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:35:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847614976,"note":"Value kept but may cause issues"} 
[2026-08-28 12:35: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-28 12:35:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787900670000,"timestamp_ms":1787900670000,"timestamp_seconds":1787900670,"priority":1,"record_length":96,"hex_timestamp":"000001a0472f3030"} 
[2026-08-28 12:35:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:35:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:35:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 12:35:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:35:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:35:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:35:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:35:22] local.INFO: Teltonika packet parsed successfully {"connection_id":163410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:35:22] local.INFO: Passing IMEI to GPS processor {"connection_id":163410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:35:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":163410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:35:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:35:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:35:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:35:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702494464001,"66":2166,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1831065122847614976},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 12:35:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:35:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:35:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702494464001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:35:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:35:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:35:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:35:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847614976,"description":"Unknown IO ID 45"} 
[2026-08-28 12:35:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702494464001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847614976}} 
[2026-08-28 12:35:22] 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":707435,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:35:22] local.INFO: GPS data processed {"connection_id":163410,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:35:22] local.INFO: Acknowledgment sent {"connection_id":163410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:35:26] local.INFO: TCP Data received {"connection_id":163410,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0472f3030012d196940071ff068004201422a..."} 
[2026-08-28 12:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0472f3030012d196940071ff068004201422a..."} 
[2026-08-28 12:35:26] local.INFO: Processing buffer {"connection_id":163410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0472f3030012d196940071ff068004201422a..."} 
[2026-08-28 12:35:26] local.INFO: Packet analysis {"connection_id":163410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0472f"} 
[2026-08-28 12:35:26] local.INFO: Extracted packet for processing {"connection_id":163410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0472f"} 
[2026-08-28 12:35:26] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533672,"longitude_deg":75.6640064,"latitude_deg":11.9533672,"altitude":66,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-28 12:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:35:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702494464001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:35:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:35:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847614976,"note":"Value kept but may cause issues"} 
[2026-08-28 12:35:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:35:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787900670000,"timestamp_ms":1787900670000,"timestamp_seconds":1787900670,"priority":1,"record_length":96,"hex_timestamp":"000001a0472f3030"} 
[2026-08-28 12:35:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:35:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 12:35:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:35:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:35:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:35:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:35:26] local.INFO: Teltonika packet parsed successfully {"connection_id":163410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:35:26] local.INFO: Passing IMEI to GPS processor {"connection_id":163410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:35:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":163410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:35:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:35:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:35:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:35:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702494464001,"66":2166,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1831065122847614976},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 12:35:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:35:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:35:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702494464001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:35:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:35:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:35:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:35:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847614976,"description":"Unknown IO ID 45"} 
[2026-08-28 12:35:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702494464001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847614976}} 
[2026-08-28 12:35:27] 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":707436,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:35:27] local.INFO: GPS data processed {"connection_id":163410,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:35:27] local.INFO: Acknowledgment sent {"connection_id":163410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:35:30] local.INFO: TCP Data received {"connection_id":163411,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:35:30] local.INFO: Processing buffer {"connection_id":163411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:35:30] local.INFO: IMEI packet received {"connection_id":163411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 12:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":163411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:35:36] local.INFO: TCP Data received {"connection_id":163411,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:35:36] local.INFO: Processing buffer {"connection_id":163411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:35:36] local.INFO: IMEI packet received {"connection_id":163411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 12:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":163411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:35:37] local.INFO: TCP Data received {"connection_id":163411,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0472db930012d34c14006aa4840000f00e628..."} 
[2026-08-28 12:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0472db930012d34c14006aa4840000f00e628..."} 
[2026-08-28 12:35:37] local.INFO: Processing buffer {"connection_id":163411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0472db930012d34c14006aa4840000f00e628..."} 
[2026-08-28 12:35:37] local.INFO: Packet analysis {"connection_id":163411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0472d"} 
[2026-08-28 12:35:37] local.INFO: Extracted packet for processing {"connection_id":163411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0472d"} 
[2026-08-28 12:35:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702469888001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787900574000,"timestamp_ms":1787900574000,"timestamp_seconds":1787900574,"priority":1,"record_length":96,"hex_timestamp":"000001a0472db930"} 
[2026-08-28 12:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 12:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702469888001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702469888001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:35:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:35:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:35: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-28 12:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702469888001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:35:37] 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":707437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:35:37] local.INFO: GPS data processed {"connection_id":163411,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:35:37] local.INFO: Acknowledgment sent {"connection_id":163411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:36:08] local.INFO: TCP Data received {"connection_id":163411,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0472db930012d34c14006aa4840000f00e628..."} 
[2026-08-28 12:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0472db930012d34c14006aa4840000f00e628..."} 
[2026-08-28 12:36:08] local.INFO: Processing buffer {"connection_id":163411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0472db930012d34c14006aa4840000f00e628..."} 
[2026-08-28 12:36:08] local.INFO: Packet analysis {"connection_id":163411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0472d"} 
[2026-08-28 12:36:08] local.INFO: Extracted packet for processing {"connection_id":163411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0472d"} 
[2026-08-28 12:36:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702469888001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:36: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-28 12:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787900574000,"timestamp_ms":1787900574000,"timestamp_seconds":1787900574,"priority":1,"record_length":96,"hex_timestamp":"000001a0472db930"} 
[2026-08-28 12:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:36: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-28 12:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 12:36:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:36:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:36:08] 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-28 12:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702469888001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702469888001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:36:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:36:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:36: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-28 12:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702469888001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:36:08] 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":707438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:36:08] local.INFO: GPS data processed {"connection_id":163411,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:36:08] local.INFO: Acknowledgment sent {"connection_id":163411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:36:11] local.INFO: TCP Data received {"connection_id":164672,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:36:11] local.INFO: Processing buffer {"connection_id":164672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:36:11] local.INFO: IMEI packet received {"connection_id":164672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 12:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":164672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:36:16] local.INFO: TCP Data received {"connection_id":164672,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:36:16] local.INFO: Processing buffer {"connection_id":164672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:36:16] local.INFO: IMEI packet received {"connection_id":164672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 12:36:16] local.INFO: IMEI acknowledgment sent {"connection_id":164672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:36:17] local.INFO: TCP Data received {"connection_id":164672,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0472f3030012d196940071ff068004201422a..."} 
[2026-08-28 12:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0472f3030012d196940071ff068004201422a..."} 
[2026-08-28 12:36:17] local.INFO: Processing buffer {"connection_id":164672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0472f3030012d196940071ff068004201422a..."} 
[2026-08-28 12:36:17] local.INFO: Packet analysis {"connection_id":164672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0472f"} 
[2026-08-28 12:36:17] local.INFO: Extracted packet for processing {"connection_id":164672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0472f"} 
[2026-08-28 12:36:17] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533672,"longitude_deg":75.6640064,"latitude_deg":11.9533672,"altitude":66,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-28 12: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-28 12:36:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702494464001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:36:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:36:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847614976,"note":"Value kept but may cause issues"} 
[2026-08-28 12:36:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:36:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787900670000,"timestamp_ms":1787900670000,"timestamp_seconds":1787900670,"priority":1,"record_length":96,"hex_timestamp":"000001a0472f3030"} 
[2026-08-28 12: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-28 12:36:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:36:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 12:36:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12: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-28 12: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-28 12:36:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:36:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:36:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:36:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:36:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:36:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:36:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:36:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702494464001,"66":2166,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1831065122847614976},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 12:36:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:36:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:36:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702494464001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:36:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:36:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:36:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:36:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847614976,"description":"Unknown IO ID 45"} 
[2026-08-28 12:36:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702494464001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847614976}} 
[2026-08-28 12:36:17] local.INFO: DEBUG: GPS processor result {"connection_id":164672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:36:17] local.INFO: GPS data processed {"connection_id":164672,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:36:17] local.INFO: Acknowledgment sent {"connection_id":164672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:36:36] local.INFO: TCP Data received {"connection_id":163412,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:36:36] local.INFO: Processing buffer {"connection_id":163412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:36:36] local.INFO: IMEI packet received {"connection_id":163412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 12:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":163412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:36:41] local.INFO: TCP Data received {"connection_id":163412,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:36:41] local.INFO: Processing buffer {"connection_id":163412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:36:41] local.INFO: IMEI packet received {"connection_id":163412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 12:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":163412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:36:42] local.INFO: TCP Data received {"connection_id":163412,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0472db930012d34c14006aa4840000f00e628..."} 
[2026-08-28 12:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0472db930012d34c14006aa4840000f00e628..."} 
[2026-08-28 12:36:42] local.INFO: Processing buffer {"connection_id":163412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0472db930012d34c14006aa4840000f00e628..."} 
[2026-08-28 12:36:42] local.INFO: Packet analysis {"connection_id":163412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0472d"} 
[2026-08-28 12:36:42] local.INFO: Extracted packet for processing {"connection_id":163412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0472d"} 
[2026-08-28 12:36:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12: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-28 12:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702469888001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:36:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12: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-28 12:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787900574000,"timestamp_ms":1787900574000,"timestamp_seconds":1787900574,"priority":1,"record_length":96,"hex_timestamp":"000001a0472db930"} 
[2026-08-28 12: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-28 12:36: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-28 12: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 12:36: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-28 12: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-28 12: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-28 12:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:36: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-28 12:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702469888001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702469888001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:36:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:36:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12: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-28 12:36:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702469888001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:36:42] 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":707440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:36:42] local.INFO: GPS data processed {"connection_id":163412,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:36:42] local.INFO: Acknowledgment sent {"connection_id":163412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:36:46] local.INFO: TCP Data received {"connection_id":163412,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0472db930012d34c14006aa4840000f00e628..."} 
[2026-08-28 12:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0472db930012d34c14006aa4840000f00e628..."} 
[2026-08-28 12:36:46] local.INFO: Processing buffer {"connection_id":163412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0472db930012d34c14006aa4840000f00e628..."} 
[2026-08-28 12:36:46] local.INFO: Packet analysis {"connection_id":163412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0472d"} 
[2026-08-28 12:36:46] local.INFO: Extracted packet for processing {"connection_id":163412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0472d"} 
[2026-08-28 12:36:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:36:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702469888001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:36:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:36:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:36: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-28 12:36:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787900574000,"timestamp_ms":1787900574000,"timestamp_seconds":1787900574,"priority":1,"record_length":96,"hex_timestamp":"000001a0472db930"} 
[2026-08-28 12:36:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:36: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-28 12:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 12:36: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-28 12:36:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:36:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:36:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:36:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:36:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:36:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:36:46] local.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-28 12:36:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:36:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:36:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702469888001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:36:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:36:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:36:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702469888001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:36:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:36:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:36: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-28 12:36:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:36:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702469888001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:36:46] 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":707441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:36:46] local.INFO: GPS data processed {"connection_id":163412,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:36:46] local.INFO: Acknowledgment sent {"connection_id":163412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:36:48] local.INFO: TCP Data received {"connection_id":164672,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0472f3030012d196940071ff068004201422a..."} 
[2026-08-28 12:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0472f3030012d196940071ff068004201422a..."} 
[2026-08-28 12:36:48] local.INFO: Processing buffer {"connection_id":164672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0472f3030012d196940071ff068004201422a..."} 
[2026-08-28 12:36:48] local.INFO: Packet analysis {"connection_id":164672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0472f"} 
[2026-08-28 12:36:48] local.INFO: Extracted packet for processing {"connection_id":164672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0472f"} 
[2026-08-28 12:36:48] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533672,"longitude_deg":75.6640064,"latitude_deg":11.9533672,"altitude":66,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-28 12:36:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:36:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702494464001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:36:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:36:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847614976,"note":"Value kept but may cause issues"} 
[2026-08-28 12:36:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:36:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787900670000,"timestamp_ms":1787900670000,"timestamp_seconds":1787900670,"priority":1,"record_length":96,"hex_timestamp":"000001a0472f3030"} 
[2026-08-28 12:36:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:36:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:36:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 12:36:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:36:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:36:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:36:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:36:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:36:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:36:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:36:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:36:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:36:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:36:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702494464001,"66":2166,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1831065122847614976},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 12:36:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:36:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:36:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702494464001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:36:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:36:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:36:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:36:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847614976,"description":"Unknown IO ID 45"} 
[2026-08-28 12:36:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702494464001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847614976}} 
[2026-08-28 12:36:48] local.INFO: DEBUG: GPS processor result {"connection_id":164672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707442,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:36:48] local.INFO: GPS data processed {"connection_id":164672,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:36:48] local.INFO: Acknowledgment sent {"connection_id":164672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:37:11] local.INFO: TCP Data received {"connection_id":163414,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163414,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:37:11] local.INFO: Processing buffer {"connection_id":163414,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:37:11] local.INFO: IMEI packet received {"connection_id":163414,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 12:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":163414,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:37:16] local.INFO: TCP Data received {"connection_id":163414,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163414,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:37:16] local.INFO: Processing buffer {"connection_id":163414,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:37:16] local.INFO: IMEI packet received {"connection_id":163414,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 12:37:16] local.INFO: IMEI acknowledgment sent {"connection_id":163414,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:37:17] local.INFO: TCP Data received {"connection_id":163414,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0472f3030012d196940071ff068004201422a..."} 
[2026-08-28 12:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0472f3030012d196940071ff068004201422a..."} 
[2026-08-28 12:37:17] local.INFO: Processing buffer {"connection_id":163414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0472f3030012d196940071ff068004201422a..."} 
[2026-08-28 12:37:17] local.INFO: Packet analysis {"connection_id":163414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0472f"} 
[2026-08-28 12:37:17] local.INFO: Extracted packet for processing {"connection_id":163414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0472f"} 
[2026-08-28 12:37:17] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533672,"longitude_deg":75.6640064,"latitude_deg":11.9533672,"altitude":66,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-28 12: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-28 12:37:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702494464001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:37:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:37:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847614976,"note":"Value kept but may cause issues"} 
[2026-08-28 12:37:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:37:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787900670000,"timestamp_ms":1787900670000,"timestamp_seconds":1787900670,"priority":1,"record_length":96,"hex_timestamp":"000001a0472f3030"} 
[2026-08-28 12: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-28 12:37:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 12:37:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12: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-28 12: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-28 12:37:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:37:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:37:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:37:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:37:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:37:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:37:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:37:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702494464001,"66":2166,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1831065122847614976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 12:37:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:37:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:37:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702494464001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:37:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:37:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:37:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:37:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847614976,"description":"Unknown IO ID 45"} 
[2026-08-28 12:37:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702494464001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847614976}} 
[2026-08-28 12:37:17] 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":707443,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:37:17] local.INFO: GPS data processed {"connection_id":163414,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:37:17] local.INFO: Acknowledgment sent {"connection_id":163414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:37:31] local.INFO: TCP Data received {"connection_id":166029,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:37:31] local.INFO: Processing buffer {"connection_id":166029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:37:31] local.INFO: IMEI packet received {"connection_id":166029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 12:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":166029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:37:35] local.INFO: TCP Data received {"connection_id":166029,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:37:35] local.INFO: Processing buffer {"connection_id":166029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:37:35] local.INFO: IMEI packet received {"connection_id":166029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 12:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":166029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:37:36] local.INFO: TCP Data received {"connection_id":166029,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0472db930012d34c14006aa4840000f00e628..."} 
[2026-08-28 12:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0472db930012d34c14006aa4840000f00e628..."} 
[2026-08-28 12:37:36] local.INFO: Processing buffer {"connection_id":166029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0472db930012d34c14006aa4840000f00e628..."} 
[2026-08-28 12:37:36] local.INFO: Packet analysis {"connection_id":166029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0472d"} 
[2026-08-28 12:37:36] local.INFO: Extracted packet for processing {"connection_id":166029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0472d"} 
[2026-08-28 12:37:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702469888001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:37:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:37:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787900574000,"timestamp_ms":1787900574000,"timestamp_seconds":1787900574,"priority":1,"record_length":96,"hex_timestamp":"000001a0472db930"} 
[2026-08-28 12:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:37:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 12:37:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:37:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":166029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":166029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":166029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:37:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702469888001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702469888001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:37:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:37:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:37:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702469888001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":166029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:37:36] local.INFO: GPS data processed {"connection_id":166029,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:37:36] local.INFO: Acknowledgment sent {"connection_id":166029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:37:48] local.INFO: TCP Data received {"connection_id":163414,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0472f3030012d196940071ff068004201422a..."} 
[2026-08-28 12:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0472f3030012d196940071ff068004201422a..."} 
[2026-08-28 12:37:48] local.INFO: Processing buffer {"connection_id":163414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0472f3030012d196940071ff068004201422a..."} 
[2026-08-28 12:37:48] local.INFO: Packet analysis {"connection_id":163414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0472f"} 
[2026-08-28 12:37:48] local.INFO: Extracted packet for processing {"connection_id":163414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0472f"} 
[2026-08-28 12:37:48] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533672,"longitude_deg":75.6640064,"latitude_deg":11.9533672,"altitude":66,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-28 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-28 12:37:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702494464001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:37:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:37:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847614976,"note":"Value kept but may cause issues"} 
[2026-08-28 12:37:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:37:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787900670000,"timestamp_ms":1787900670000,"timestamp_seconds":1787900670,"priority":1,"record_length":96,"hex_timestamp":"000001a0472f3030"} 
[2026-08-28 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-28 12:37:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 12:37:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 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-28 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-28 12:37:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:37:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:37:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:37:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:37:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:37:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:37:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:37:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702494464001,"66":2166,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1831065122847614976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 12:37:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:37:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:37:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702494464001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:37:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:37:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:37:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:37:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847614976,"description":"Unknown IO ID 45"} 
[2026-08-28 12:37:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702494464001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847614976}} 
[2026-08-28 12:37:48] 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":707445,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:37:48] local.INFO: GPS data processed {"connection_id":163414,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:37:48] local.INFO: Acknowledgment sent {"connection_id":163414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:38:08] local.INFO: TCP Data received {"connection_id":166029,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0472db930012d34c14006aa4840000f00e628..."} 
[2026-08-28 12:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0472db930012d34c14006aa4840000f00e628..."} 
[2026-08-28 12:38:08] local.INFO: Processing buffer {"connection_id":166029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0472db930012d34c14006aa4840000f00e628..."} 
[2026-08-28 12:38:08] local.INFO: Packet analysis {"connection_id":166029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0472d"} 
[2026-08-28 12:38:08] local.INFO: Extracted packet for processing {"connection_id":166029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0472d"} 
[2026-08-28 12:38:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702469888001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:38: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-28 12:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787900574000,"timestamp_ms":1787900574000,"timestamp_seconds":1787900574,"priority":1,"record_length":96,"hex_timestamp":"000001a0472db930"} 
[2026-08-28 12:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:38: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-28 12:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 12:38:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:38:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":166029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":166029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":166029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:38:08] 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-28 12:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702469888001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702469888001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:38:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:38:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:38: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-28 12:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702469888001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":166029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:38:08] local.INFO: GPS data processed {"connection_id":166029,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:38:08] local.INFO: Acknowledgment sent {"connection_id":166029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:38:11] local.INFO: TCP Data received {"connection_id":164673,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164673,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:38:11] local.INFO: Processing buffer {"connection_id":164673,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:38:11] local.INFO: IMEI packet received {"connection_id":164673,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 12:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":164673,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:38:16] local.INFO: TCP Data received {"connection_id":164673,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164673,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:38:16] local.INFO: Processing buffer {"connection_id":164673,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:38:16] local.INFO: IMEI packet received {"connection_id":164673,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 12:38:16] local.INFO: IMEI acknowledgment sent {"connection_id":164673,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:38:18] local.INFO: TCP Data received {"connection_id":164673,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0472f3030012d196940071ff068004201422a..."} 
[2026-08-28 12:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0472f3030012d196940071ff068004201422a..."} 
[2026-08-28 12:38:18] local.INFO: Processing buffer {"connection_id":164673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0472f3030012d196940071ff068004201422a..."} 
[2026-08-28 12:38:18] local.INFO: Packet analysis {"connection_id":164673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0472f"} 
[2026-08-28 12:38:18] local.INFO: Extracted packet for processing {"connection_id":164673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0472f"} 
[2026-08-28 12:38:18] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533672,"longitude_deg":75.6640064,"latitude_deg":11.9533672,"altitude":66,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-28 12: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-28 12:38:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702494464001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:38:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:38:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847614976,"note":"Value kept but may cause issues"} 
[2026-08-28 12:38:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:38:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787900670000,"timestamp_ms":1787900670000,"timestamp_seconds":1787900670,"priority":1,"record_length":96,"hex_timestamp":"000001a0472f3030"} 
[2026-08-28 12: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-28 12:38:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 12:38:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12: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-28 12: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-28 12:38:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:38:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:38:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:38:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:38:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:38:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:38:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:38:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702494464001,"66":2166,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1831065122847614976},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 12:38:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:38:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:38:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702494464001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:38:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:38:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:38:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:38:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847614976,"description":"Unknown IO ID 45"} 
[2026-08-28 12:38:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702494464001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847614976}} 
[2026-08-28 12:38:19] local.INFO: DEBUG: GPS processor result {"connection_id":164673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707447,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:38:19] local.INFO: GPS data processed {"connection_id":164673,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:38:19] local.INFO: Acknowledgment sent {"connection_id":164673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:38:31] local.INFO: TCP Data received {"connection_id":163415,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:38:31] local.INFO: Processing buffer {"connection_id":163415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:38:31] local.INFO: IMEI packet received {"connection_id":163415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 12:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":163415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:38:32] local.INFO: TCP Data received {"connection_id":163415,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:38:32] local.INFO: Processing buffer {"connection_id":163415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:38:32] local.INFO: IMEI packet received {"connection_id":163415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 12:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":163415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:38:36] local.INFO: TCP Data received {"connection_id":163415,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:38:36] local.INFO: Processing buffer {"connection_id":163415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:38:36] local.INFO: IMEI packet received {"connection_id":163415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 12:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":163415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:38:37] local.INFO: TCP Data received {"connection_id":163415,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0473250f8012d34c14006aa4840000a00e627..."} 
[2026-08-28 12:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0473250f8012d34c14006aa4840000a00e627..."} 
[2026-08-28 12:38:37] local.INFO: Processing buffer {"connection_id":163415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0473250f8012d34c14006aa4840000a00e627..."} 
[2026-08-28 12:38:37] local.INFO: Packet analysis {"connection_id":163415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04732"} 
[2026-08-28 12:38:37] local.INFO: Extracted packet for processing {"connection_id":163415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04732"} 
[2026-08-28 12:38:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702546944001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787900875000,"timestamp_ms":1787900875000,"timestamp_seconds":1787900875,"priority":1,"record_length":96,"hex_timestamp":"000001a0473250f8"} 
[2026-08-28 12:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 12:38:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702546944001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702546944001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:38:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:38:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:38: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-28 12:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702546944001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:38:37] 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":707448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:38:37] local.INFO: GPS data processed {"connection_id":163415,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:38:37] local.INFO: Acknowledgment sent {"connection_id":163415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:38:41] local.INFO: TCP Data received {"connection_id":163415,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0473250f8012d34c14006aa4840000a00e627..."} 
[2026-08-28 12:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0473250f8012d34c14006aa4840000a00e627..."} 
[2026-08-28 12:38:41] local.INFO: Processing buffer {"connection_id":163415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0473250f8012d34c14006aa4840000a00e627..."} 
[2026-08-28 12:38:41] local.INFO: Packet analysis {"connection_id":163415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04732"} 
[2026-08-28 12:38:41] local.INFO: Extracted packet for processing {"connection_id":163415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04732"} 
[2026-08-28 12:38:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:38: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-28 12:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702546944001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:38:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:38: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-28 12:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787900875000,"timestamp_ms":1787900875000,"timestamp_seconds":1787900875,"priority":1,"record_length":96,"hex_timestamp":"000001a0473250f8"} 
[2026-08-28 12:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:38: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-28 12:38: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-28 12:38: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-28 12:38: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-28 12:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":163415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":163415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":163415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:38: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-28 12:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702546944001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702546944001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:38:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:38:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:38: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-28 12:38:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702546944001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:38:41] 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":707449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:38:41] local.INFO: GPS data processed {"connection_id":163415,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:38:41] local.INFO: Acknowledgment sent {"connection_id":163415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:38:49] local.INFO: TCP Data received {"connection_id":164673,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0472f3030012d196940071ff068004201422a..."} 
[2026-08-28 12:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0472f3030012d196940071ff068004201422a..."} 
[2026-08-28 12:38:49] local.INFO: Processing buffer {"connection_id":164673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0472f3030012d196940071ff068004201422a..."} 
[2026-08-28 12:38:49] local.INFO: Packet analysis {"connection_id":164673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0472f"} 
[2026-08-28 12:38:49] local.INFO: Extracted packet for processing {"connection_id":164673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0472f"} 
[2026-08-28 12:38:49] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533672,"longitude_deg":75.6640064,"latitude_deg":11.9533672,"altitude":66,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-28 12:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:38:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702494464001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:38:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:38:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847614976,"note":"Value kept but may cause issues"} 
[2026-08-28 12:38:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:38:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787900670000,"timestamp_ms":1787900670000,"timestamp_seconds":1787900670,"priority":1,"record_length":96,"hex_timestamp":"000001a0472f3030"} 
[2026-08-28 12:38:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:38:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 12:38:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:38:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:38:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:38:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:38:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:38:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:38:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:38:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:38:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:38:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:38:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702494464001,"66":2166,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1831065122847614976},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 12:38:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:38:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:38:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702494464001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:38:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:38:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:38:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:38:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847614976,"description":"Unknown IO ID 45"} 
[2026-08-28 12:38:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702494464001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847614976}} 
[2026-08-28 12:38:50] local.INFO: DEBUG: GPS processor result {"connection_id":164673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707450,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:38:50] local.INFO: GPS data processed {"connection_id":164673,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:38:50] local.INFO: Acknowledgment sent {"connection_id":164673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:39:11] local.INFO: TCP Data received {"connection_id":163416,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163416,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:39:11] local.INFO: Processing buffer {"connection_id":163416,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:39:11] local.INFO: IMEI packet received {"connection_id":163416,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 12:39:11] local.INFO: IMEI acknowledgment sent {"connection_id":163416,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:39:13] local.INFO: TCP Data received {"connection_id":163415,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0473250f8012d34c14006aa4840000a00e627..."} 
[2026-08-28 12:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0473250f8012d34c14006aa4840000a00e627..."} 
[2026-08-28 12:39:13] local.INFO: Processing buffer {"connection_id":163415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0473250f8012d34c14006aa4840000a00e627..."} 
[2026-08-28 12:39:13] local.INFO: Packet analysis {"connection_id":163415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04732"} 
[2026-08-28 12:39:13] local.INFO: Extracted packet for processing {"connection_id":163415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04732"} 
[2026-08-28 12:39:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12: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-28 12:39:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702546944001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:39:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:39:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12: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-28 12:39:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787900875000,"timestamp_ms":1787900875000,"timestamp_seconds":1787900875,"priority":1,"record_length":96,"hex_timestamp":"000001a0473250f8"} 
[2026-08-28 12: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-28 12: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-28 12: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":255,"data_length":795,"current_offset":136} 
[2026-08-28 12:39: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-28 12: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-28 12: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-28 12:39:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:39:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:39:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:39:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:39: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-28 12:39:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:39:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:39:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702546944001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:39:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:39:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:39:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702546944001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:39:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:39:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12: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-28 12:39:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:39:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702546944001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:39:13] 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":707451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:39:13] local.INFO: GPS data processed {"connection_id":163415,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:39:13] local.INFO: Acknowledgment sent {"connection_id":163415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:39:16] local.INFO: TCP Data received {"connection_id":163416,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163416,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:39:16] local.INFO: Processing buffer {"connection_id":163416,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:39:16] local.INFO: IMEI packet received {"connection_id":163416,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 12:39:16] local.INFO: IMEI acknowledgment sent {"connection_id":163416,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:39:17] local.INFO: TCP Data received {"connection_id":163416,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0472f3030012d196940071ff068004201422a..."} 
[2026-08-28 12:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0472f3030012d196940071ff068004201422a..."} 
[2026-08-28 12:39:17] local.INFO: Processing buffer {"connection_id":163416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0472f3030012d196940071ff068004201422a..."} 
[2026-08-28 12:39:17] local.INFO: Packet analysis {"connection_id":163416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0472f"} 
[2026-08-28 12:39:17] local.INFO: Extracted packet for processing {"connection_id":163416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0472f"} 
[2026-08-28 12:39:17] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533672,"longitude_deg":75.6640064,"latitude_deg":11.9533672,"altitude":66,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-28 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-28 12:39:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702494464001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:39:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:39:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847614976,"note":"Value kept but may cause issues"} 
[2026-08-28 12:39:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:39:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787900670000,"timestamp_ms":1787900670000,"timestamp_seconds":1787900670,"priority":1,"record_length":96,"hex_timestamp":"000001a0472f3030"} 
[2026-08-28 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-28 12:39:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 12:39:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 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-28 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-28 12:39:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:39:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:39:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:39:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:39:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:39:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:39:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:39:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702494464001,"66":2166,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1831065122847614976},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 12:39:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:39:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:39:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702494464001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:39:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:39:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:39:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:39:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847614976,"description":"Unknown IO ID 45"} 
[2026-08-28 12:39:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702494464001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847614976}} 
[2026-08-28 12:39: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":707452,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:39:17] local.INFO: GPS data processed {"connection_id":163416,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:39:17] local.INFO: Acknowledgment sent {"connection_id":163416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:39:30] local.INFO: TCP Data received {"connection_id":164674,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:39:30] local.INFO: Processing buffer {"connection_id":164674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:39:30] local.INFO: IMEI packet received {"connection_id":164674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 12:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":164674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:39:36] local.INFO: TCP Data received {"connection_id":164674,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:39:36] local.INFO: Processing buffer {"connection_id":164674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:39:36] local.INFO: IMEI packet received {"connection_id":164674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 12:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":164674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:39:38] local.INFO: TCP Data received {"connection_id":164674,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0473250f8012d34c14006aa4840000a00e627..."} 
[2026-08-28 12:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0473250f8012d34c14006aa4840000a00e627..."} 
[2026-08-28 12:39:38] local.INFO: Processing buffer {"connection_id":164674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0473250f8012d34c14006aa4840000a00e627..."} 
[2026-08-28 12:39:38] local.INFO: Packet analysis {"connection_id":164674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04732"} 
[2026-08-28 12:39:38] local.INFO: Extracted packet for processing {"connection_id":164674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04732"} 
[2026-08-28 12:39:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702546944001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:39:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787900875000,"timestamp_ms":1787900875000,"timestamp_seconds":1787900875,"priority":1,"record_length":96,"hex_timestamp":"000001a0473250f8"} 
[2026-08-28 12:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:39:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 12:39:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:39:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:39:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702546944001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702546944001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:39:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:39:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:39: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-28 12:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702546944001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":164674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:39:38] local.INFO: GPS data processed {"connection_id":164674,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:39:38] local.INFO: Acknowledgment sent {"connection_id":164674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:39:48] local.INFO: TCP Data received {"connection_id":163416,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0472f3030012d196940071ff068004201422a..."} 
[2026-08-28 12:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0472f3030012d196940071ff068004201422a..."} 
[2026-08-28 12:39:48] local.INFO: Processing buffer {"connection_id":163416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0472f3030012d196940071ff068004201422a..."} 
[2026-08-28 12:39:48] local.INFO: Packet analysis {"connection_id":163416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0472f"} 
[2026-08-28 12:39:48] local.INFO: Extracted packet for processing {"connection_id":163416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0472f"} 
[2026-08-28 12:39:48] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533672,"longitude_deg":75.6640064,"latitude_deg":11.9533672,"altitude":66,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-28 12:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:39:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702494464001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:39:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:39:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847614976,"note":"Value kept but may cause issues"} 
[2026-08-28 12:39:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:39:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787900670000,"timestamp_ms":1787900670000,"timestamp_seconds":1787900670,"priority":1,"record_length":96,"hex_timestamp":"000001a0472f3030"} 
[2026-08-28 12:39:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:39:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 12:39:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:39:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:39:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:39:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:39:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:39:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:39:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:39:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:39:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:39:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:39:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702494464001,"66":2166,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1831065122847614976},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 12:39:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:39:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:39:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702494464001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:39:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:39:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:39:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:39:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847614976,"description":"Unknown IO ID 45"} 
[2026-08-28 12:39:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702494464001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847614976}} 
[2026-08-28 12:39:48] 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":707454,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:39:48] local.INFO: GPS data processed {"connection_id":163416,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:39:48] local.INFO: Acknowledgment sent {"connection_id":163416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:40:09] local.INFO: TCP Data received {"connection_id":164674,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0473250f8012d34c14006aa4840000a00e627..."} 
[2026-08-28 12:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0473250f8012d34c14006aa4840000a00e627..."} 
[2026-08-28 12:40:09] local.INFO: Processing buffer {"connection_id":164674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0473250f8012d34c14006aa4840000a00e627..."} 
[2026-08-28 12:40:09] local.INFO: Packet analysis {"connection_id":164674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04732"} 
[2026-08-28 12:40:09] local.INFO: Extracted packet for processing {"connection_id":164674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04732"} 
[2026-08-28 12:40:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702546944001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:40:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787900875000,"timestamp_ms":1787900875000,"timestamp_seconds":1787900875,"priority":1,"record_length":96,"hex_timestamp":"000001a0473250f8"} 
[2026-08-28 12:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:40:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 12:40:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:40:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:40:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702546944001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702546944001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:40:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:40:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:40: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-28 12:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702546944001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":164674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:40:09] local.INFO: GPS data processed {"connection_id":164674,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:40:09] local.INFO: Acknowledgment sent {"connection_id":164674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:40:16] local.INFO: TCP Data received {"connection_id":163681,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163681,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:40:16] local.INFO: Processing buffer {"connection_id":163681,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:40:16] local.INFO: IMEI packet received {"connection_id":163681,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 12:40:16] local.INFO: IMEI acknowledgment sent {"connection_id":163681,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:40:21] local.INFO: TCP Data received {"connection_id":163681,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163681,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:40:21] local.INFO: Processing buffer {"connection_id":163681,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:40:21] local.INFO: IMEI packet received {"connection_id":163681,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 12:40:21] local.INFO: IMEI acknowledgment sent {"connection_id":163681,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:40:22] local.INFO: TCP Data received {"connection_id":163681,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a04733c7f8012d196940071ff0680042014227..."} 
[2026-08-28 12:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04733c7f8012d196940071ff0680042014227..."} 
[2026-08-28 12:40:22] local.INFO: Processing buffer {"connection_id":163681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04733c7f8012d196940071ff0680042014227..."} 
[2026-08-28 12:40:22] local.INFO: Packet analysis {"connection_id":163681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04733"} 
[2026-08-28 12:40:22] local.INFO: Extracted packet for processing {"connection_id":163681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04733"} 
[2026-08-28 12:40:22] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533672,"longitude_deg":75.6640064,"latitude_deg":11.9533672,"altitude":66,"angle":322,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-28 12:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:40:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702571520001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:40:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:40:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847614976,"note":"Value kept but may cause issues"} 
[2026-08-28 12:40: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-28 12:40:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787900971000,"timestamp_ms":1787900971000,"timestamp_seconds":1787900971,"priority":1,"record_length":96,"hex_timestamp":"000001a04733c7f8"} 
[2026-08-28 12:40:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:40:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9984,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 12:40:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:40:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:40:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:40:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:40:22] local.INFO: Teltonika packet parsed successfully {"connection_id":163681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:40:22] local.INFO: Passing IMEI to GPS processor {"connection_id":163681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:40:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":163681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:40:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:40:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:40:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:40:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702571520001,"66":2155,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1831065122847614976},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 12:40:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:40:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:40:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702571520001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:40:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:40:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:40:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:40:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847614976,"description":"Unknown IO ID 45"} 
[2026-08-28 12:40:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702571520001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847614976}} 
[2026-08-28 12:40:22] 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":707456,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:40:22] local.INFO: GPS data processed {"connection_id":163681,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:40:22] local.INFO: Acknowledgment sent {"connection_id":163681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:40:26] local.INFO: TCP Data received {"connection_id":163681,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a047340678012d196940071ff068004201422a..."} 
[2026-08-28 12:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047340678012d196940071ff068004201422a..."} 
[2026-08-28 12:40:26] local.INFO: Processing buffer {"connection_id":163681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047340678012d196940071ff068004201422a..."} 
[2026-08-28 12:40:26] local.INFO: Packet analysis {"connection_id":163681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04734"} 
[2026-08-28 12:40:26] local.INFO: Extracted packet for processing {"connection_id":163681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04734"} 
[2026-08-28 12:40:26] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119533672,"longitude_deg":75.6640064,"latitude_deg":11.9533672,"altitude":66,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-28 12:40:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:40:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702648576001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:40:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15883884277268480,"note":"Value kept but may cause issues"} 
[2026-08-28 12:40:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847614976,"note":"Value kept but may cause issues"} 
[2026-08-28 12:40:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:40:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787900987000,"timestamp_ms":1787900987000,"timestamp_seconds":1787900987,"priority":1,"record_length":96,"hex_timestamp":"000001a047340678"} 
[2026-08-28 12:40:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:40:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":6912,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:40:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-28 12:40:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:40:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:40:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:40:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:40:26] local.INFO: Teltonika packet parsed successfully {"connection_id":163681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:40:26] local.INFO: Passing IMEI to GPS processor {"connection_id":163681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:40:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":163681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:40:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:40:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:40:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:40:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702648576001,"66":2166,"102":206,"83":41984,"24":0,"16":15883884277268480,"45":1831065122847614976},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 12:40:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:40:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:40:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702648576001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:40:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 12:40:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:40:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15883884277268480,"km_value":15883884277268.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:40:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847614976,"description":"Unknown IO ID 45"} 
[2026-08-28 12:40:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702648576001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847614976}} 
[2026-08-28 12:40:26] 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":707457,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:40:26] local.INFO: GPS data processed {"connection_id":163681,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:40:26] local.INFO: Acknowledgment sent {"connection_id":163681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:40:36] local.INFO: TCP Data received {"connection_id":164675,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:40:36] local.INFO: Processing buffer {"connection_id":164675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:40:36] local.INFO: IMEI packet received {"connection_id":164675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 12:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":164675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:40:41] local.INFO: TCP Data received {"connection_id":164675,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:40:41] local.INFO: Processing buffer {"connection_id":164675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:40:41] local.INFO: IMEI packet received {"connection_id":164675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 12:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":164675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:40:42] local.INFO: TCP Data received {"connection_id":164675,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0473250f8012d34c14006aa4840000a00e627..."} 
[2026-08-28 12:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0473250f8012d34c14006aa4840000a00e627..."} 
[2026-08-28 12:40:42] local.INFO: Processing buffer {"connection_id":164675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0473250f8012d34c14006aa4840000a00e627..."} 
[2026-08-28 12:40:42] local.INFO: Packet analysis {"connection_id":164675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04732"} 
[2026-08-28 12:40:42] local.INFO: Extracted packet for processing {"connection_id":164675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04732"} 
[2026-08-28 12:40:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702546944001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:40:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12: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-28 12:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787900875000,"timestamp_ms":1787900875000,"timestamp_seconds":1787900875,"priority":1,"record_length":96,"hex_timestamp":"000001a0473250f8"} 
[2026-08-28 12:40:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12: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-28 12:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 12:40: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-28 12:40:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:40:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":164675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":164675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":164675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:40:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702546944001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702546944001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:40:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:40:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12: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-28 12:40:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702546944001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":164675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:40:42] local.INFO: GPS data processed {"connection_id":164675,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:40:42] local.INFO: Acknowledgment sent {"connection_id":164675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:40:46] local.INFO: TCP Data received {"connection_id":164675,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0473250f8012d34c14006aa4840000a00e627..."} 
[2026-08-28 12:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0473250f8012d34c14006aa4840000a00e627..."} 
[2026-08-28 12:40:46] local.INFO: Processing buffer {"connection_id":164675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0473250f8012d34c14006aa4840000a00e627..."} 
[2026-08-28 12:40:46] local.INFO: Packet analysis {"connection_id":164675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04732"} 
[2026-08-28 12:40:46] local.INFO: Extracted packet for processing {"connection_id":164675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04732"} 
[2026-08-28 12:40:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12: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-28 12:40:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702546944001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:40:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:40:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12: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-28 12:40:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787900875000,"timestamp_ms":1787900875000,"timestamp_seconds":1787900875,"priority":1,"record_length":96,"hex_timestamp":"000001a0473250f8"} 
[2026-08-28 12: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-28 12: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-28 12: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-28 12: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-28 12: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-28 12: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-28 12:40:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:40:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:40:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:40:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:40:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:40:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:40:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:40:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702546944001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:40:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:40:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:40:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702546944001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:40:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:40:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12: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-28 12:40:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:40:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702546944001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:40:46] local.INFO: DEBUG: GPS processor result {"connection_id":164675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:40:46] local.INFO: GPS data processed {"connection_id":164675,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:40:46] local.INFO: Acknowledgment sent {"connection_id":164675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:41:08] local.INFO: TCP Data received {"connection_id":166030,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166030,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:41:08] local.INFO: Processing buffer {"connection_id":166030,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:41:08] local.INFO: IMEI packet received {"connection_id":166030,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 12:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":166030,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:41:08] local.INFO: TCP Data received {"connection_id":166030,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166030,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:41:08] local.INFO: Processing buffer {"connection_id":166030,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:41:08] local.INFO: IMEI packet received {"connection_id":166030,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 12:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":166030,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:41:12] local.INFO: TCP Data received {"connection_id":166030,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166030,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:41:12] local.INFO: Processing buffer {"connection_id":166030,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:41:12] local.INFO: IMEI packet received {"connection_id":166030,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 12:41:12] local.INFO: IMEI acknowledgment sent {"connection_id":166030,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:41:12] local.INFO: TCP Data received {"connection_id":166030,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166030,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:41:12] local.INFO: Processing buffer {"connection_id":166030,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:41:12] local.INFO: IMEI packet received {"connection_id":166030,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 12:41:12] local.INFO: IMEI acknowledgment sent {"connection_id":166030,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:41:32] local.INFO: TCP Data received {"connection_id":164676,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:41:32] local.INFO: Processing buffer {"connection_id":164676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:41:32] local.INFO: IMEI packet received {"connection_id":164676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 12:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":164676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:41:36] local.INFO: TCP Data received {"connection_id":164676,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:41:36] local.INFO: Processing buffer {"connection_id":164676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:41:36] local.INFO: IMEI packet received {"connection_id":164676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 12:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":164676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:41:39] local.INFO: TCP Data received {"connection_id":164676,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0473250f8012d34c14006aa4840000a00e627..."} 
[2026-08-28 12:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0473250f8012d34c14006aa4840000a00e627..."} 
[2026-08-28 12:41:39] local.INFO: Processing buffer {"connection_id":164676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0473250f8012d34c14006aa4840000a00e627..."} 
[2026-08-28 12:41:39] local.INFO: Packet analysis {"connection_id":164676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04732"} 
[2026-08-28 12:41:39] local.INFO: Extracted packet for processing {"connection_id":164676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04732"} 
[2026-08-28 12:41:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:41:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:41:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702546944001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:41:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:41:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:41:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:41:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787900875000,"timestamp_ms":1787900875000,"timestamp_seconds":1787900875,"priority":1,"record_length":96,"hex_timestamp":"000001a0473250f8"} 
[2026-08-28 12:41:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:41:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:41:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 12:41:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:41:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:41:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:41:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:41:39] local.INFO: Teltonika packet parsed successfully {"connection_id":164676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:41:39] local.INFO: Passing IMEI to GPS processor {"connection_id":164676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:41:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":164676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:41:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:41:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:41:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:41:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702546944001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:41:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:41:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:41:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702546944001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:41:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:41:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:41:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:41:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:41:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702546944001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:41:39] local.INFO: DEBUG: GPS processor result {"connection_id":164676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:41:39] local.INFO: GPS data processed {"connection_id":164676,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:41:39] local.INFO: Acknowledgment sent {"connection_id":164676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:41:41] local.INFO: TCP Data received {"connection_id":164676,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0473250f8012d34c14006aa4840000a00e627..."} 
[2026-08-28 12:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0473250f8012d34c14006aa4840000a00e627..."} 
[2026-08-28 12:41:41] local.INFO: Processing buffer {"connection_id":164676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0473250f8012d34c14006aa4840000a00e627..."} 
[2026-08-28 12:41:41] local.INFO: Packet analysis {"connection_id":164676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04732"} 
[2026-08-28 12:41:41] local.INFO: Extracted packet for processing {"connection_id":164676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04732"} 
[2026-08-28 12:41:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702546944001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:41:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12: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-28 12:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787900875000,"timestamp_ms":1787900875000,"timestamp_seconds":1787900875,"priority":1,"record_length":96,"hex_timestamp":"000001a0473250f8"} 
[2026-08-28 12:41:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12: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-28 12:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 12: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-28 12:41:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:41:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":164676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":164676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":164676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:41: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-28 12:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702546944001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702546944001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:41:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:41:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12: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-28 12:41:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:41:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702546944001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":164676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:41:41] local.INFO: GPS data processed {"connection_id":164676,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:41:41] local.INFO: Acknowledgment sent {"connection_id":164676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:42:12] local.INFO: TCP Data received {"connection_id":164676,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0473250f8012d34c14006aa4840000a00e627..."} 
[2026-08-28 12:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0473250f8012d34c14006aa4840000a00e627..."} 
[2026-08-28 12:42:12] local.INFO: Processing buffer {"connection_id":164676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0473250f8012d34c14006aa4840000a00e627..."} 
[2026-08-28 12:42:12] local.INFO: Packet analysis {"connection_id":164676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04732"} 
[2026-08-28 12:42:12] local.INFO: Extracted packet for processing {"connection_id":164676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04732"} 
[2026-08-28 12:42:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:42:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702546944001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:42:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:42:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:42:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:42:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787900875000,"timestamp_ms":1787900875000,"timestamp_seconds":1787900875,"priority":1,"record_length":96,"hex_timestamp":"000001a0473250f8"} 
[2026-08-28 12:42:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:42: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-28 12:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 12:42:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:42:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:42:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:42:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:42:12] local.INFO: Teltonika packet parsed successfully {"connection_id":164676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:42:12] local.INFO: Passing IMEI to GPS processor {"connection_id":164676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:42:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":164676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:42:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:42:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:42:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:42:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702546944001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:42:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:42:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:42:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702546944001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:42:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:42:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:42: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-28 12:42:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:42:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702546944001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:42:12] local.INFO: DEBUG: GPS processor result {"connection_id":164676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:42:12] local.INFO: GPS data processed {"connection_id":164676,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:42:12] local.INFO: Acknowledgment sent {"connection_id":164676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:42:31] local.INFO: TCP Data received {"connection_id":163682,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:42:31] local.INFO: Processing buffer {"connection_id":163682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:42:31] local.INFO: IMEI packet received {"connection_id":163682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 12:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":163682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:42:36] local.INFO: TCP Data received {"connection_id":163682,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:42:36] local.INFO: Processing buffer {"connection_id":163682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:42:36] local.INFO: IMEI packet received {"connection_id":163682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 12:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":163682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:42:37] local.INFO: TCP Data received {"connection_id":163682,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0473250f8012d34c14006aa4840000a00e627..."} 
[2026-08-28 12:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0473250f8012d34c14006aa4840000a00e627..."} 
[2026-08-28 12:42:37] local.INFO: Processing buffer {"connection_id":163682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0473250f8012d34c14006aa4840000a00e627..."} 
[2026-08-28 12:42:37] local.INFO: Packet analysis {"connection_id":163682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04732"} 
[2026-08-28 12:42:37] local.INFO: Extracted packet for processing {"connection_id":163682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04732"} 
[2026-08-28 12:42:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702546944001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787900875000,"timestamp_ms":1787900875000,"timestamp_seconds":1787900875,"priority":1,"record_length":96,"hex_timestamp":"000001a0473250f8"} 
[2026-08-28 12:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 12:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702546944001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702546944001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:42:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:42:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:42: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-28 12:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702546944001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":163682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:42:37] local.INFO: GPS data processed {"connection_id":163682,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:42:37] local.INFO: Acknowledgment sent {"connection_id":163682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:43:57] local.INFO: TCP Data received {"connection_id":163682,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0473250f8012d34c14006aa4840000a00e627..."} 
[2026-08-28 12:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0473250f8012d34c14006aa4840000a00e627..."} 
[2026-08-28 12:43:57] local.INFO: Processing buffer {"connection_id":163682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0473250f8012d34c14006aa4840000a00e627..."} 
[2026-08-28 12:43:57] local.INFO: Packet analysis {"connection_id":163682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04732"} 
[2026-08-28 12:43:57] local.INFO: Extracted packet for processing {"connection_id":163682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04732"} 
[2026-08-28 12:43:57] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12: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-28 12:43:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702546944001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:43:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:43:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:43: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-28 12:43:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787900875000,"timestamp_ms":1787900875000,"timestamp_seconds":1787900875,"priority":1,"record_length":96,"hex_timestamp":"000001a0473250f8"} 
[2026-08-28 12: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-28 12:43: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-28 12: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 12:43:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12: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-28 12: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-28 12:43:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:43:57] local.INFO: Teltonika packet parsed successfully {"connection_id":163682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:43:57] local.INFO: Passing IMEI to GPS processor {"connection_id":163682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:43:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":163682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:43:57] 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-28 12:43:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:43:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:43:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702546944001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:43:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:43:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:43:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702546944001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:43:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:43:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12: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-28 12:43:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:43:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702546944001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:43:57] local.INFO: DEBUG: GPS processor result {"connection_id":163682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:43:57] local.INFO: GPS data processed {"connection_id":163682,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:43:57] local.INFO: Acknowledgment sent {"connection_id":163682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:44:11] local.INFO: TCP Data received {"connection_id":163419,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:44:11] local.INFO: Processing buffer {"connection_id":163419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:44:11] local.INFO: IMEI packet received {"connection_id":163419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 12:44:11] local.INFO: IMEI acknowledgment sent {"connection_id":163419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:44:41] local.INFO: TCP Data received {"connection_id":164679,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:44:41] local.INFO: Processing buffer {"connection_id":164679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:44:41] local.INFO: IMEI packet received {"connection_id":164679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 12:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":164679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:44:46] local.INFO: TCP Data received {"connection_id":164679,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:44:46] local.INFO: Processing buffer {"connection_id":164679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:44:46] local.INFO: IMEI packet received {"connection_id":164679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 12:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":164679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:44:47] local.INFO: TCP Data received {"connection_id":164679,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a04736e8c0012d34c14006aa4840000d00e626..."} 
[2026-08-28 12:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04736e8c0012d34c14006aa4840000d00e626..."} 
[2026-08-28 12:44:47] local.INFO: Processing buffer {"connection_id":164679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04736e8c0012d34c14006aa4840000d00e626..."} 
[2026-08-28 12:44:47] local.INFO: Packet analysis {"connection_id":164679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04736"} 
[2026-08-28 12:44:47] local.INFO: Extracted packet for processing {"connection_id":164679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04736"} 
[2026-08-28 12:44:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:44:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702624000001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:44:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:44:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:44: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-28 12:44:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787901176000,"timestamp_ms":1787901176000,"timestamp_seconds":1787901176,"priority":1,"record_length":96,"hex_timestamp":"000001a04736e8c0"} 
[2026-08-28 12:44:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:44: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-28 12:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 12:44: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-28 12:44:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:44:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:44:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:44:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:44:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:44:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:44:47] 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-28 12:44:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:44:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:44:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702624000001,"66":25397,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:44:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:44:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:44:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702624000001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:44:47] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 12:44:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:44: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-28 12:44:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:44:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702624000001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:44:47] local.INFO: DEBUG: GPS processor result {"connection_id":164679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:44:47] local.INFO: GPS data processed {"connection_id":164679,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:44:47] local.INFO: Acknowledgment sent {"connection_id":164679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:45:31] local.INFO: TCP Data received {"connection_id":164680,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:45:31] local.INFO: Processing buffer {"connection_id":164680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:45:31] local.INFO: IMEI packet received {"connection_id":164680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 12:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":164680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:45:36] local.INFO: TCP Data received {"connection_id":164680,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:45:36] local.INFO: Processing buffer {"connection_id":164680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:45:36] local.INFO: IMEI packet received {"connection_id":164680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 12:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":164680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:45:37] local.INFO: TCP Data received {"connection_id":164680,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a04736e8c0012d34c14006aa4840000d00e626..."} 
[2026-08-28 12:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04736e8c0012d34c14006aa4840000d00e626..."} 
[2026-08-28 12:45:37] local.INFO: Processing buffer {"connection_id":164680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04736e8c0012d34c14006aa4840000d00e626..."} 
[2026-08-28 12:45:37] local.INFO: Packet analysis {"connection_id":164680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04736"} 
[2026-08-28 12:45:37] local.INFO: Extracted packet for processing {"connection_id":164680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04736"} 
[2026-08-28 12:45:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702624000001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:45:37] 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-28 12:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787901176000,"timestamp_ms":1787901176000,"timestamp_seconds":1787901176,"priority":1,"record_length":96,"hex_timestamp":"000001a04736e8c0"} 
[2026-08-28 12:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 12:45:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702624000001,"66":25397,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702624000001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:45:37] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 12:45:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:45: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-28 12:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702624000001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":164680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:45:37] local.INFO: GPS data processed {"connection_id":164680,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:45:37] local.INFO: Acknowledgment sent {"connection_id":164680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:46:13] local.INFO: TCP Data received {"connection_id":163683,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163683,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:46:13] local.INFO: Processing buffer {"connection_id":163683,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:46:13] local.INFO: IMEI packet received {"connection_id":163683,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 12:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":163683,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:46:16] local.INFO: TCP Data received {"connection_id":163683,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163683,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:46:16] local.INFO: Processing buffer {"connection_id":163683,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:46:16] local.INFO: IMEI packet received {"connection_id":163683,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 12:46:16] local.INFO: IMEI acknowledgment sent {"connection_id":163683,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:46:21] local.INFO: TCP Data received {"connection_id":163683,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163683,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:46:21] local.INFO: Processing buffer {"connection_id":163683,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:46:21] local.INFO: IMEI packet received {"connection_id":163683,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 12:46:21] local.INFO: IMEI acknowledgment sent {"connection_id":163683,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:46:22] local.INFO: TCP Data received {"connection_id":163683,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a04738e0a8012d190b800720c9180034012e28..."} 
[2026-08-28 12:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04738e0a8012d190b800720c9180034012e28..."} 
[2026-08-28 12:46:22] local.INFO: Processing buffer {"connection_id":163683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04738e0a8012d190b800720c9180034012e28..."} 
[2026-08-28 12:46:22] local.INFO: Packet analysis {"connection_id":163683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04738"} 
[2026-08-28 12:46:22] local.INFO: Extracted packet for processing {"connection_id":163683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04738"} 
[2026-08-28 12:46:22] local.INFO: GPS Element Parsed {"raw_longitude":756616064,"raw_latitude":119589144,"longitude_deg":75.6616064,"latitude_deg":11.9589144,"altitude":52,"angle":302,"satellites":40,"speed":30,"hex_longitude":"2d190b80","hex_latitude":"0720c918","is_valid_coordinates":true} 
[2026-08-28 12:46: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-28 12:46:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702732288001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:46:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15890021785534464,"note":"Value kept but may cause issues"} 
[2026-08-28 12:46:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1811291505747214336,"note":"Value kept but may cause issues"} 
[2026-08-28 12:46:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:46:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787901305000,"timestamp_ms":1787901305000,"timestamp_seconds":1787901305,"priority":1,"record_length":96,"hex_timestamp":"000001a04738e0a8"} 
[2026-08-28 12:46:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:46:22] 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-28 12:46:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-28 12:46:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:46: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-28 12:46:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:46:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:46:22] local.INFO: Teltonika packet parsed successfully {"connection_id":163683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:46:22] local.INFO: Passing IMEI to GPS processor {"connection_id":163683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:46:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":163683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:46:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:46:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:46:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:46:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702732288001,"66":14113,"103":206,"83":41984,"24":30,"16":15890021785534464,"45":1811291505747214336},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 12:46:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:46:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:46:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702732288001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:46:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 12:46:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:46:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15890021785534464,"km_value":15890021785534.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:46:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1811291505747214336,"description":"Unknown IO ID 45"} 
[2026-08-28 12:46:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702732288001,"power":14113,"unknown_103":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1811291505747214336}} 
[2026-08-28 12:46:22] local.INFO: DEBUG: GPS processor result {"connection_id":163683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707467,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:46:22] local.INFO: GPS data processed {"connection_id":163683,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:46:22] local.INFO: Acknowledgment sent {"connection_id":163683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:46:26] local.INFO: TCP Data received {"connection_id":163683,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a047390ba0012d18f2400720dae80037013a2a..."} 
[2026-08-28 12:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047390ba0012d18f2400720dae80037013a2a..."} 
[2026-08-28 12:46:26] local.INFO: Processing buffer {"connection_id":163683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047390ba0012d18f2400720dae80037013a2a..."} 
[2026-08-28 12:46:26] local.INFO: Packet analysis {"connection_id":163683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04739"} 
[2026-08-28 12:46:26] local.INFO: Extracted packet for processing {"connection_id":163683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04739"} 
[2026-08-28 12:46:26] local.INFO: GPS Element Parsed {"raw_longitude":756609600,"raw_latitude":119593704,"longitude_deg":75.66096,"latitude_deg":11.9593704,"altitude":55,"angle":314,"satellites":42,"speed":30,"hex_longitude":"2d18f240","hex_latitude":"0720dae8","is_valid_coordinates":true} 
[2026-08-28 12:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702734080001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15890399742656512,"note":"Value kept but may cause issues"} 
[2026-08-28 12:46:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1804676843795191808,"note":"Value kept but may cause issues"} 
[2026-08-28 12:46:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:46:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787901316000,"timestamp_ms":1787901316000,"timestamp_seconds":1787901316,"priority":1,"record_length":96,"hex_timestamp":"000001a047390ba0"} 
[2026-08-28 12:46:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:46:26] 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-28 12:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-28 12:46:26] 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-28 12:46:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:46:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:46:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:46:26] local.INFO: Teltonika packet parsed successfully {"connection_id":163683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:46:26] local.INFO: Passing IMEI to GPS processor {"connection_id":163683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:46:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":163683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:46:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:46:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:46:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:46:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702734080001,"66":14396,"103":206,"83":41984,"24":30,"16":15890399742656512,"45":1804676843795191808},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 12:46:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:46:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:46:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702734080001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:46:26] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 12:46:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:46:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15890399742656512,"km_value":15890399742656.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:46:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1804676843795191808,"description":"Unknown IO ID 45"} 
[2026-08-28 12:46:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702734080001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1804676843795191808}} 
[2026-08-28 12:46:27] local.INFO: DEBUG: GPS processor result {"connection_id":163683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707468,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:46:27] local.INFO: GPS data processed {"connection_id":163683,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:46:27] local.INFO: Acknowledgment sent {"connection_id":163683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:46:31] local.INFO: TCP Data received {"connection_id":163420,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:46:31] local.INFO: Processing buffer {"connection_id":163420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:46:31] local.INFO: IMEI packet received {"connection_id":163420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 12:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":163420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:46:33] local.INFO: TCP Data received {"connection_id":164680,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a04736e8c0012d34c14006aa4840000d00e626..."} 
[2026-08-28 12:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04736e8c0012d34c14006aa4840000d00e626..."} 
[2026-08-28 12:46:33] local.INFO: Processing buffer {"connection_id":164680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04736e8c0012d34c14006aa4840000d00e626..."} 
[2026-08-28 12:46:33] local.INFO: Packet analysis {"connection_id":164680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04736"} 
[2026-08-28 12:46:33] local.INFO: Extracted packet for processing {"connection_id":164680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04736"} 
[2026-08-28 12:46:33] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702624000001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:46: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-28 12:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787901176000,"timestamp_ms":1787901176000,"timestamp_seconds":1787901176,"priority":1,"record_length":96,"hex_timestamp":"000001a04736e8c0"} 
[2026-08-28 12:46:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:46:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 12:46: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-28 12:46:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:46:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":164680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":164680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":164680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:46:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702624000001,"66":25397,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702624000001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:46:33] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 12:46:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:46: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-28 12:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702624000001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":164680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:46:33] local.INFO: GPS data processed {"connection_id":164680,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:46:33] local.INFO: Acknowledgment sent {"connection_id":164680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:46:37] local.INFO: TCP Data received {"connection_id":163420,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:46:37] local.INFO: Processing buffer {"connection_id":163420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:46:37] local.INFO: IMEI packet received {"connection_id":163420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 12:46:37] local.INFO: IMEI acknowledgment sent {"connection_id":163420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:46:38] local.INFO: TCP Data received {"connection_id":163420,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a04736e8c0012d34c14006aa4840000d00e626..."} 
[2026-08-28 12:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04736e8c0012d34c14006aa4840000d00e626..."} 
[2026-08-28 12:46:38] local.INFO: Processing buffer {"connection_id":163420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04736e8c0012d34c14006aa4840000d00e626..."} 
[2026-08-28 12:46:38] local.INFO: Packet analysis {"connection_id":163420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04736"} 
[2026-08-28 12:46:38] local.INFO: Extracted packet for processing {"connection_id":163420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04736"} 
[2026-08-28 12:46:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702624000001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:46: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-28 12:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787901176000,"timestamp_ms":1787901176000,"timestamp_seconds":1787901176,"priority":1,"record_length":96,"hex_timestamp":"000001a04736e8c0"} 
[2026-08-28 12:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:46:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 12:46:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:46:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:46:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702624000001,"66":25397,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702624000001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:46:38] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 12:46:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:46: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-28 12:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702624000001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:46:38] 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":707470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:46:38] local.INFO: GPS data processed {"connection_id":163420,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:46:38] local.INFO: Acknowledgment sent {"connection_id":163420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:47:09] local.INFO: TCP Data received {"connection_id":163420,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a04736e8c0012d34c14006aa4840000d00e626..."} 
[2026-08-28 12:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04736e8c0012d34c14006aa4840000d00e626..."} 
[2026-08-28 12:47:09] local.INFO: Processing buffer {"connection_id":163420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04736e8c0012d34c14006aa4840000d00e626..."} 
[2026-08-28 12:47:09] local.INFO: Packet analysis {"connection_id":163420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04736"} 
[2026-08-28 12:47:09] local.INFO: Extracted packet for processing {"connection_id":163420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04736"} 
[2026-08-28 12:47:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702624000001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:47: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-28 12:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787901176000,"timestamp_ms":1787901176000,"timestamp_seconds":1787901176,"priority":1,"record_length":96,"hex_timestamp":"000001a04736e8c0"} 
[2026-08-28 12:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 12:47:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:47:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:47:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702624000001,"66":25397,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702624000001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:47:09] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 12:47:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:47: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-28 12:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702624000001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:47:09] 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":707471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:47:09] local.INFO: GPS data processed {"connection_id":163420,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:47:09] local.INFO: Acknowledgment sent {"connection_id":163420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:47:10] local.INFO: TCP Data received {"connection_id":166032,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166032,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:47:10] local.INFO: Processing buffer {"connection_id":166032,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:47:10] local.INFO: IMEI packet received {"connection_id":166032,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 12:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":166032,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:47:11] local.INFO: TCP Data received {"connection_id":166032,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166032,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:47:11] local.INFO: Processing buffer {"connection_id":166032,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:47:11] local.INFO: IMEI packet received {"connection_id":166032,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 12:47:11] local.INFO: IMEI acknowledgment sent {"connection_id":166032,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:47:13] local.INFO: TCP Data received {"connection_id":166032,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166032,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:47:13] local.INFO: Processing buffer {"connection_id":166032,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:47:13] local.INFO: IMEI packet received {"connection_id":166032,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 12:47:13] local.INFO: IMEI acknowledgment sent {"connection_id":166032,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:47:14] local.INFO: TCP Data received {"connection_id":166032,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a047391370012d18ee800720dfd8003801462b..."} 
[2026-08-28 12:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047391370012d18ee800720dfd8003801462b..."} 
[2026-08-28 12:47:14] local.INFO: Processing buffer {"connection_id":166032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047391370012d18ee800720dfd8003801462b..."} 
[2026-08-28 12:47:14] local.INFO: Packet analysis {"connection_id":166032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04739"} 
[2026-08-28 12:47:14] local.INFO: Extracted packet for processing {"connection_id":166032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04739"} 
[2026-08-28 12:47:14] local.INFO: GPS Element Parsed {"raw_longitude":756608640,"raw_latitude":119594968,"longitude_deg":75.660864,"latitude_deg":11.9594968,"altitude":56,"angle":326,"satellites":43,"speed":31,"hex_longitude":"2d18ee80","hex_latitude":"0720dfd8","is_valid_coordinates":true} 
[2026-08-28 12: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-28 12:47:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702736896001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:47:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15890477052067840,"note":"Value kept but may cause issues"} 
[2026-08-28 12:47:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1797569600634415104,"note":"Value kept but may cause issues"} 
[2026-08-28 12:47:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:47:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787901318000,"timestamp_ms":1787901318000,"timestamp_seconds":1787901318,"priority":1,"record_length":96,"hex_timestamp":"000001a047391370"} 
[2026-08-28 12: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-28 12:47:14] 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-28 12: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-28 12:47:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12: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-28 12: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-28 12:47:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:47:14] local.INFO: Teltonika packet parsed successfully {"connection_id":166032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:47:14] local.INFO: Passing IMEI to GPS processor {"connection_id":166032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:47:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":166032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:47:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:47:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:47:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:47:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702736896001,"66":13341,"103":206,"83":41984,"24":31,"16":15890477052067840,"45":1797569600634415104},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 12:47:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:47:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:47:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702736896001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:47:14] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 12:47:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:47:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15890477052067840,"km_value":15890477052067.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:47:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1797569600634415104,"description":"Unknown IO ID 45"} 
[2026-08-28 12:47:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702736896001,"power":13341,"unknown_103":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1797569600634415104}} 
[2026-08-28 12:47:14] local.INFO: DEBUG: GPS processor result {"connection_id":166032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707472,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:47:14] local.INFO: GPS data processed {"connection_id":166032,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:47:14] local.INFO: Acknowledgment sent {"connection_id":166032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:47:30] local.INFO: TCP Data received {"connection_id":164681,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:47:30] local.INFO: Processing buffer {"connection_id":164681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:47:30] local.INFO: IMEI packet received {"connection_id":164681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 12:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":164681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:47:35] local.INFO: TCP Data received {"connection_id":164681,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:47:35] local.INFO: Processing buffer {"connection_id":164681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:47:35] local.INFO: IMEI packet received {"connection_id":164681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 12:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":164681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:47:36] local.INFO: TCP Data received {"connection_id":164681,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a04736e8c0012d34c14006aa4840000d00e626..."} 
[2026-08-28 12:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04736e8c0012d34c14006aa4840000d00e626..."} 
[2026-08-28 12:47:36] local.INFO: Processing buffer {"connection_id":164681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04736e8c0012d34c14006aa4840000d00e626..."} 
[2026-08-28 12:47:36] local.INFO: Packet analysis {"connection_id":164681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04736"} 
[2026-08-28 12:47:36] local.INFO: Extracted packet for processing {"connection_id":164681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04736"} 
[2026-08-28 12:47:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702624000001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:47:36] 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-28 12:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787901176000,"timestamp_ms":1787901176000,"timestamp_seconds":1787901176,"priority":1,"record_length":96,"hex_timestamp":"000001a04736e8c0"} 
[2026-08-28 12:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:47:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 12:47:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:47:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":164681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":164681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":164681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:47:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702624000001,"66":25397,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702624000001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:47:36] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 12:47:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702624000001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":164681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:47:36] local.INFO: GPS data processed {"connection_id":164681,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:47:36] local.INFO: Acknowledgment sent {"connection_id":164681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:47:45] local.INFO: TCP Data received {"connection_id":166032,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0473a76e8012d18a640072174480044012528..."} 
[2026-08-28 12:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0473a76e8012d18a640072174480044012528..."} 
[2026-08-28 12:47:45] local.INFO: Processing buffer {"connection_id":166032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0473a76e8012d18a640072174480044012528..."} 
[2026-08-28 12:47:45] local.INFO: Packet analysis {"connection_id":166032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0473a"} 
[2026-08-28 12:47:45] local.INFO: Extracted packet for processing {"connection_id":166032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0473a"} 
[2026-08-28 12:47:45] local.INFO: GPS Element Parsed {"raw_longitude":756590144,"raw_latitude":119632968,"longitude_deg":75.6590144,"latitude_deg":11.9632968,"altitude":68,"angle":293,"satellites":40,"speed":32,"hex_longitude":"2d18a640","hex_latitude":"07217448","is_valid_coordinates":true} 
[2026-08-28 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-28 12:47:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702760192001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:47:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15892611650813952,"note":"Value kept but may cause issues"} 
[2026-08-28 12:47:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777584877297813504,"note":"Value kept but may cause issues"} 
[2026-08-28 12:47:45] 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-28 12:47:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787901409000,"timestamp_ms":1787901409000,"timestamp_seconds":1787901409,"priority":1,"record_length":96,"hex_timestamp":"000001a0473a76e8"} 
[2026-08-28 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-28 12:47:45] 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-28 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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-28 12:47:45] 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-28 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-28 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-28 12:47:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:47:45] local.INFO: Teltonika packet parsed successfully {"connection_id":166032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:47:45] local.INFO: Passing IMEI to GPS processor {"connection_id":166032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:47:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":166032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:47:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:47:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:47:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:47:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702760192001,"66":14102,"106":206,"83":41984,"24":32,"16":15892611650813952,"45":1777584877297813504},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-28 12:47:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:47:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:47:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702760192001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:47:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 12:47:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:47:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15892611650813952,"km_value":15892611650813.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:47:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777584877297813504,"description":"Unknown IO ID 45"} 
[2026-08-28 12:47:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702760192001,"power":14102,"unknown_106":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1777584877297813504}} 
[2026-08-28 12:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":166032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707474,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:47:46] local.INFO: GPS data processed {"connection_id":166032,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:47:46] local.INFO: Acknowledgment sent {"connection_id":166032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:48:09] local.INFO: TCP Data received {"connection_id":164681,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a04736e8c0012d34c14006aa4840000d00e626..."} 
[2026-08-28 12:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04736e8c0012d34c14006aa4840000d00e626..."} 
[2026-08-28 12:48:09] local.INFO: Processing buffer {"connection_id":164681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04736e8c0012d34c14006aa4840000d00e626..."} 
[2026-08-28 12:48:09] local.INFO: Packet analysis {"connection_id":164681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04736"} 
[2026-08-28 12:48:09] local.INFO: Extracted packet for processing {"connection_id":164681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04736"} 
[2026-08-28 12:48:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702624000001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:48:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:48: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-28 12:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787901176000,"timestamp_ms":1787901176000,"timestamp_seconds":1787901176,"priority":1,"record_length":96,"hex_timestamp":"000001a04736e8c0"} 
[2026-08-28 12:48:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:48:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 12:48:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:48:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:48:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:48:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702624000001,"66":25397,"32":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702624000001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:48:09] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 12:48:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:48: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-28 12:48:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702624000001,"power":25397,"unknown_32":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":164681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:48:09] local.INFO: GPS data processed {"connection_id":164681,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:48:09] local.INFO: Acknowledgment sent {"connection_id":164681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:48:11] local.INFO: TCP Data received {"connection_id":164682,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164682,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:48:11] local.INFO: Processing buffer {"connection_id":164682,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:48:11] local.INFO: IMEI packet received {"connection_id":164682,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 12:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":164682,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:48:16] local.INFO: TCP Data received {"connection_id":164682,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164682,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:48:16] local.INFO: Processing buffer {"connection_id":164682,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:48:16] local.INFO: IMEI packet received {"connection_id":164682,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 12:48:16] local.INFO: IMEI acknowledgment sent {"connection_id":164682,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:48:17] local.INFO: TCP Data received {"connection_id":164682,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0473a9df8012d1884c0072180b80046011c26..."} 
[2026-08-28 12:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0473a9df8012d1884c0072180b80046011c26..."} 
[2026-08-28 12:48:17] local.INFO: Processing buffer {"connection_id":164682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0473a9df8012d1884c0072180b80046011c26..."} 
[2026-08-28 12:48:17] local.INFO: Packet analysis {"connection_id":164682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0473a"} 
[2026-08-28 12:48:17] local.INFO: Extracted packet for processing {"connection_id":164682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0473a"} 
[2026-08-28 12:48:17] local.INFO: GPS Element Parsed {"raw_longitude":756581568,"raw_latitude":119636152,"longitude_deg":75.6581568,"latitude_deg":11.9636152,"altitude":70,"angle":284,"satellites":38,"speed":38,"hex_longitude":"2d1884c0","hex_latitude":"072180b8","is_valid_coordinates":true} 
[2026-08-28 12:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:48:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702760704001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:48:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15893045442510848,"note":"Value kept but may cause issues"} 
[2026-08-28 12:48:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776177502414456832,"note":"Value kept but may cause issues"} 
[2026-08-28 12:48: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-28 12:48:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787901419000,"timestamp_ms":1787901419000,"timestamp_seconds":1787901419,"priority":1,"record_length":96,"hex_timestamp":"000001a0473a9df8"} 
[2026-08-28 12:48:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:48:17] 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-28 12:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-28 12:48:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:48:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:48:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:48:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:48:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:48:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:48:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:48:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:48:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:48:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:48:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702760704001,"66":14080,"105":206,"83":41984,"24":38,"16":15893045442510848,"45":1776177502414456832},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 12:48:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:48:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:48:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702760704001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:48:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 12:48:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:48:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15893045442510848,"km_value":15893045442510.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:48:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776177502414456832,"description":"Unknown IO ID 45"} 
[2026-08-28 12:48:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702760704001,"power":14080,"unknown_105":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1776177502414456832}} 
[2026-08-28 12:48:17] local.INFO: DEBUG: GPS processor result {"connection_id":164682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707476,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:48:17] local.INFO: GPS data processed {"connection_id":164682,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:48:17] local.INFO: Acknowledgment sent {"connection_id":164682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:48:30] local.INFO: TCP Data received {"connection_id":166033,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:48:30] local.INFO: Processing buffer {"connection_id":166033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:48:30] local.INFO: IMEI packet received {"connection_id":166033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 12:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":166033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:48:35] local.INFO: TCP Data received {"connection_id":166033,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:48:35] local.INFO: Processing buffer {"connection_id":166033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:48:35] local.INFO: IMEI packet received {"connection_id":166033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 12:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":166033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:48:37] local.INFO: TCP Data received {"connection_id":166033,"ip":"42.106.6.37","data_length":93,"data_hex":"00000000000000518e01000001a0473b8088012d34c14006aa4840001000e626..."} 
[2026-08-28 12:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166033,"packet_length":93,"packet_hex":"00000000000000518e01000001a0473b8088012d34c14006aa4840001000e626..."} 
[2026-08-28 12:48:37] local.INFO: Processing buffer {"connection_id":166033,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a0473b8088012d34c14006aa4840001000e626..."} 
[2026-08-28 12:48:37] local.INFO: Packet analysis {"connection_id":166033,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a0473b"} 
[2026-08-28 12:48:37] local.INFO: Extracted packet for processing {"connection_id":166033,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a0473b"} 
[2026-08-28 12:48:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-08-28 12:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:48:37] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:48:37] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-28 12:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":166033,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-28 12:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":166033,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-28 12:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":166033,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-28 12:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-28 12:48:37] local.WARNING: DEBUG: No valid data to process  
[2026-08-28 12:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":166033,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-28 12:48:37] local.ERROR: GPS data processing failed {"connection_id":166033,"error":"No valid data to process"} 
[2026-08-28 12:48:37] local.INFO: Acknowledgment sent {"connection_id":166033,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-28 12:48:48] local.INFO: TCP Data received {"connection_id":164682,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0473aa9b0012d187980072182100046010c29..."} 
[2026-08-28 12:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0473aa9b0012d187980072182100046010c29..."} 
[2026-08-28 12:48:48] local.INFO: Processing buffer {"connection_id":164682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0473aa9b0012d187980072182100046010c29..."} 
[2026-08-28 12:48:48] local.INFO: Packet analysis {"connection_id":164682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0473a"} 
[2026-08-28 12:48:48] local.INFO: Extracted packet for processing {"connection_id":164682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0473a"} 
[2026-08-28 12:48:48] local.INFO: GPS Element Parsed {"raw_longitude":756578688,"raw_latitude":119636496,"longitude_deg":75.6578688,"latitude_deg":11.9636496,"altitude":70,"angle":268,"satellites":41,"speed":39,"hex_longitude":"2d187980","hex_latitude":"07218210","is_valid_coordinates":true} 
[2026-08-28 12:48:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:48:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702763264001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:48:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15893182881464320,"note":"Value kept but may cause issues"} 
[2026-08-28 12:48:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766748090695464960,"note":"Value kept but may cause issues"} 
[2026-08-28 12:48:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:48:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787901422000,"timestamp_ms":1787901422000,"timestamp_seconds":1787901422,"priority":1,"record_length":96,"hex_timestamp":"000001a0473aa9b0"} 
[2026-08-28 12:48:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:48:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 12:48:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-28 12:48:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446303232,"note":"Value kept but may cause issues"} 
[2026-08-28 12:48:48] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-28 12:48:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-28 12:48:48] local.WARNING: Large IO value detected {"io_id":117,"raw_value":3523215360,"note":"Value kept but may cause issues"} 
[2026-08-28 12:48:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-08-28 12:48:48] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2550213912,"note":"Value kept but may cause issues"} 
[2026-08-28 12:48:48] local.WARNING: Large IO value detected {"io_id":55,"raw_value":4194356586,"note":"Value kept but may cause issues"} 
[2026-08-28 12:48:48] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,105,83,24,241,157,16,118,160,45,64,116,68,40,10,66,106,111,113,67,41,72,128,1,240,60,227,117,71,33,4,205,48,196,80,239,55,2,56,7,61,31],"length":479,"final_offset":609,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-08-28 12:48:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5044344007168491520,"timestamp_seconds":5044344007168492.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 12:48:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:48:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:48:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:48:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:48:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:48:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:48:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:48:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:48:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702763264001,"66":14026,"105":206,"83":41984,"24":39,"16":15893182881464320,"45":1766748090695464960},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 12:48:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:48:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:48:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702763264001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:48:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 12:48:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:48:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15893182881464320,"km_value":15893182881464.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:48:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766748090695464960,"description":"Unknown IO ID 45"} 
[2026-08-28 12:48:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702763264001,"power":14026,"unknown_105":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1766748090695464960}} 
[2026-08-28 12:48:48] local.INFO: DEBUG: GPS processor result {"connection_id":164682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707477,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:48:48] local.INFO: GPS data processed {"connection_id":164682,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:48:48] local.INFO: Acknowledgment sent {"connection_id":164682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:49:09] local.INFO: TCP Data received {"connection_id":166033,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0473b8088012d34c14006aa4840001000e626..."} 
[2026-08-28 12:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0473b8088012d34c14006aa4840001000e626..."} 
[2026-08-28 12:49:09] local.INFO: Processing buffer {"connection_id":166033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0473b8088012d34c14006aa4840001000e626..."} 
[2026-08-28 12:49:09] local.INFO: Packet analysis {"connection_id":166033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0473b"} 
[2026-08-28 12:49:09] local.INFO: Extracted packet for processing {"connection_id":166033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0473b"} 
[2026-08-28 12:49:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702701056001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:49:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787901477000,"timestamp_ms":1787901477000,"timestamp_seconds":1787901477,"priority":1,"record_length":96,"hex_timestamp":"000001a0473b8088"} 
[2026-08-28 12:49:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:49:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 12:49:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:49:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:49:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":166033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":166033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":166033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:49:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702701056001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702701056001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:49:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:49:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:49: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-28 12:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702701056001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":166033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:49:09] local.INFO: GPS data processed {"connection_id":166033,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:49:09] local.INFO: Acknowledgment sent {"connection_id":166033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:49:11] local.INFO: TCP Data received {"connection_id":166035,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166035,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:49:11] local.INFO: Processing buffer {"connection_id":166035,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:49:11] local.INFO: IMEI packet received {"connection_id":166035,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 12:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":166035,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:49:11] local.INFO: TCP Data received {"connection_id":166035,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166035,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:49:11] local.INFO: Processing buffer {"connection_id":166035,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:49:11] local.INFO: IMEI packet received {"connection_id":166035,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 12:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":166035,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:49:16] local.INFO: TCP Data received {"connection_id":166035,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166035,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:49:16] local.INFO: Processing buffer {"connection_id":166035,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:49:16] local.INFO: IMEI packet received {"connection_id":166035,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 12:49:16] local.INFO: IMEI acknowledgment sent {"connection_id":166035,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:49:17] local.INFO: TCP Data received {"connection_id":166035,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0473ac120012d186200072182780046011b29..."} 
[2026-08-28 12:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0473ac120012d186200072182780046011b29..."} 
[2026-08-28 12:49:17] local.INFO: Processing buffer {"connection_id":166035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0473ac120012d186200072182780046011b29..."} 
[2026-08-28 12:49:17] local.INFO: Packet analysis {"connection_id":166035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0473a"} 
[2026-08-28 12:49:17] local.INFO: Extracted packet for processing {"connection_id":166035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0473a"} 
[2026-08-28 12:49:17] local.INFO: GPS Element Parsed {"raw_longitude":756572672,"raw_latitude":119636600,"longitude_deg":75.6572672,"latitude_deg":11.96366,"altitude":70,"angle":283,"satellites":41,"speed":38,"hex_longitude":"2d186200","hex_latitude":"07218278","is_valid_coordinates":true} 
[2026-08-28 12:49:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:49:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702764032001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:49:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15893470644273152,"note":"Value kept but may cause issues"} 
[2026-08-28 12:49:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1763581497207558144,"note":"Value kept but may cause issues"} 
[2026-08-28 12: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-28 12:49:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787901428000,"timestamp_ms":1787901428000,"timestamp_seconds":1787901428,"priority":1,"record_length":96,"hex_timestamp":"000001a0473ac120"} 
[2026-08-28 12:49:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:49: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-28 12:49:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-08-28 12:49:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:49:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:49:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:49:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:49:17] local.INFO: Teltonika packet parsed successfully {"connection_id":166035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:49:17] local.INFO: Passing IMEI to GPS processor {"connection_id":166035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:49:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":166035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:49:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:49:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:49:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:49:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702764032001,"66":13906,"105":206,"83":41984,"24":38,"16":15893470644273152,"45":1763581497207558144},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 12:49:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:49:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:49:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702764032001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:49:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 12:49:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:49:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15893470644273152,"km_value":15893470644273.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:49:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1763581497207558144,"description":"Unknown IO ID 45"} 
[2026-08-28 12:49:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702764032001,"power":13906,"unknown_105":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1763581497207558144}} 
[2026-08-28 12:49:17] local.INFO: DEBUG: GPS processor result {"connection_id":166035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707479,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:49:17] local.INFO: GPS data processed {"connection_id":166035,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:49:17] local.INFO: Acknowledgment sent {"connection_id":166035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:49:31] local.INFO: TCP Data received {"connection_id":164683,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:49:31] local.INFO: Processing buffer {"connection_id":164683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:49:31] local.INFO: IMEI packet received {"connection_id":164683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 12:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":164683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:49:36] local.INFO: TCP Data received {"connection_id":164683,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:49:36] local.INFO: Processing buffer {"connection_id":164683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:49:36] local.INFO: IMEI packet received {"connection_id":164683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 12:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":164683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:49:37] local.INFO: TCP Data received {"connection_id":164683,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0473b8088012d34c14006aa4840001000e626..."} 
[2026-08-28 12:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0473b8088012d34c14006aa4840001000e626..."} 
[2026-08-28 12:49:37] local.INFO: Processing buffer {"connection_id":164683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0473b8088012d34c14006aa4840001000e626..."} 
[2026-08-28 12:49:37] local.INFO: Packet analysis {"connection_id":164683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0473b"} 
[2026-08-28 12:49:37] local.INFO: Extracted packet for processing {"connection_id":164683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0473b"} 
[2026-08-28 12:49:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 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-28 12:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702701056001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787901477000,"timestamp_ms":1787901477000,"timestamp_seconds":1787901477,"priority":1,"record_length":96,"hex_timestamp":"000001a0473b8088"} 
[2026-08-28 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-28 12:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 12:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 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-28 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-28 12:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702701056001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702701056001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:49:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:49:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:49: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-28 12:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702701056001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":164683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:49:37] local.INFO: GPS data processed {"connection_id":164683,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:49:37] local.INFO: Acknowledgment sent {"connection_id":164683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:49:48] local.INFO: TCP Data received {"connection_id":166035,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0473accd8012d185700072186e00048012829..."} 
[2026-08-28 12:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0473accd8012d185700072186e00048012829..."} 
[2026-08-28 12:49:48] local.INFO: Processing buffer {"connection_id":166035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0473accd8012d185700072186e00048012829..."} 
[2026-08-28 12:49:48] local.INFO: Packet analysis {"connection_id":166035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0473a"} 
[2026-08-28 12:49:48] local.INFO: Extracted packet for processing {"connection_id":166035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0473a"} 
[2026-08-28 12:49:48] local.INFO: GPS Element Parsed {"raw_longitude":756569856,"raw_latitude":119637728,"longitude_deg":75.6569856,"latitude_deg":11.9637728,"altitude":72,"angle":296,"satellites":41,"speed":39,"hex_longitude":"2d185700","hex_latitude":"072186e0","is_valid_coordinates":true} 
[2026-08-28 12:49:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:49:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702765568001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:49:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15893616673161216,"note":"Value kept but may cause issues"} 
[2026-08-28 12:49:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1756966835254884352,"note":"Value kept but may cause issues"} 
[2026-08-28 12:49:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:49:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787901431000,"timestamp_ms":1787901431000,"timestamp_seconds":1787901431,"priority":1,"record_length":96,"hex_timestamp":"000001a0473accd8"} 
[2026-08-28 12:49:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:49:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 12:49:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-08-28 12:49:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:49:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:49:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:49:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:49:48] local.INFO: Teltonika packet parsed successfully {"connection_id":166035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:49:48] local.INFO: Passing IMEI to GPS processor {"connection_id":166035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:49:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":166035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:49:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:49:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:49:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:49:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702765568001,"66":13852,"105":206,"83":41984,"24":39,"16":15893616673161216,"45":1756966835254884352},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 12:49:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:49:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:49:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702765568001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:49:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 12:49:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:49:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15893616673161216,"km_value":15893616673161.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:49:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1756966835254884352,"description":"Unknown IO ID 45"} 
[2026-08-28 12:49:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702765568001,"power":13852,"unknown_105":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1756966835254884352}} 
[2026-08-28 12:49:48] local.INFO: DEBUG: GPS processor result {"connection_id":166035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707481,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:49:48] local.INFO: GPS data processed {"connection_id":166035,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:49:48] local.INFO: Acknowledgment sent {"connection_id":166035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:50:08] local.INFO: TCP Data received {"connection_id":164683,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0473b8088012d34c14006aa4840001000e626..."} 
[2026-08-28 12:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0473b8088012d34c14006aa4840001000e626..."} 
[2026-08-28 12:50:08] local.INFO: Processing buffer {"connection_id":164683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0473b8088012d34c14006aa4840001000e626..."} 
[2026-08-28 12:50:08] local.INFO: Packet analysis {"connection_id":164683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0473b"} 
[2026-08-28 12:50:08] local.INFO: Extracted packet for processing {"connection_id":164683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0473b"} 
[2026-08-28 12:50:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 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-28 12:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702701056001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:50: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-28 12:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787901477000,"timestamp_ms":1787901477000,"timestamp_seconds":1787901477,"priority":1,"record_length":96,"hex_timestamp":"000001a0473b8088"} 
[2026-08-28 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-28 12:50: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-28 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 12:50:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 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-28 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-28 12:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:50:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702701056001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702701056001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:50:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:50:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:50: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-28 12:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702701056001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":164683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:50:08] local.INFO: GPS data processed {"connection_id":164683,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:50:08] local.INFO: Acknowledgment sent {"connection_id":164683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:50:11] local.INFO: TCP Data received {"connection_id":163684,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:50:11] local.INFO: Processing buffer {"connection_id":163684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:50:11] local.INFO: IMEI packet received {"connection_id":163684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 12:50:11] local.INFO: IMEI acknowledgment sent {"connection_id":163684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:50:13] local.INFO: TCP Data received {"connection_id":163684,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:50:13] local.INFO: Processing buffer {"connection_id":163684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:50:13] local.INFO: IMEI packet received {"connection_id":163684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 12:50:13] local.INFO: IMEI acknowledgment sent {"connection_id":163684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:50:14] local.INFO: TCP Data received {"connection_id":163684,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:50:14] local.INFO: Processing buffer {"connection_id":163684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:50:14] local.INFO: IMEI packet received {"connection_id":163684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 12:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":163684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:50:17] local.INFO: TCP Data received {"connection_id":163684,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:50:17] local.INFO: Processing buffer {"connection_id":163684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:50:17] local.INFO: IMEI packet received {"connection_id":163684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 12:50:17] local.INFO: IMEI acknowledgment sent {"connection_id":163684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:50:21] local.INFO: TCP Data received {"connection_id":163684,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0473c5378012d181ac00721a9300047002d29..."} 
[2026-08-28 12:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0473c5378012d181ac00721a9300047002d29..."} 
[2026-08-28 12:50:21] local.INFO: Processing buffer {"connection_id":163684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0473c5378012d181ac00721a9300047002d29..."} 
[2026-08-28 12:50:21] local.INFO: Packet analysis {"connection_id":163684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0473c"} 
[2026-08-28 12:50:21] local.INFO: Extracted packet for processing {"connection_id":163684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0473c"} 
[2026-08-28 12:50:21] local.INFO: GPS Element Parsed {"raw_longitude":756554432,"raw_latitude":119646512,"longitude_deg":75.6554432,"latitude_deg":11.9646512,"altitude":71,"angle":45,"satellites":41,"speed":4,"hex_longitude":"2d181ac0","hex_latitude":"0721a930","is_valid_coordinates":true} 
[2026-08-28 12:50: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-28 12:50:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702791680001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:50:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15894484256555008,"note":"Value kept but may cause issues"} 
[2026-08-28 12:50:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736841374422575104,"note":"Value kept but may cause issues"} 
[2026-08-28 12:50:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:50:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787901531000,"timestamp_ms":1787901531000,"timestamp_seconds":1787901531,"priority":1,"record_length":96,"hex_timestamp":"000001a0473c5378"} 
[2026-08-28 12:50:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:50:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 12:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-28 12:50:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:50: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-28 12:50:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:50:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:50:21] local.INFO: Teltonika packet parsed successfully {"connection_id":163684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:50:21] local.INFO: Passing IMEI to GPS processor {"connection_id":163684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:50:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":163684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:50:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:50:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:50:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:50:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702791680001,"66":14048,"105":206,"83":41984,"24":4,"16":15894484256555008,"45":1736841374422575104},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 12:50:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:50:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:50:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702791680001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:50:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 12:50:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:50:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15894484256555008,"km_value":15894484256555.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:50:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736841374422575104,"description":"Unknown IO ID 45"} 
[2026-08-28 12:50:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702791680001,"power":14048,"unknown_105":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1736841374422575104}} 
[2026-08-28 12:50:22] 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":707483,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:50:22] local.INFO: GPS data processed {"connection_id":163684,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:50:22] local.INFO: Acknowledgment sent {"connection_id":163684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:50:22] local.INFO: TCP Data received {"connection_id":163684,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0473ca580012d181ac00721a960004800302c..."} 
[2026-08-28 12:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0473ca580012d181ac00721a960004800302c..."} 
[2026-08-28 12:50:22] local.INFO: Processing buffer {"connection_id":163684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0473ca580012d181ac00721a960004800302c..."} 
[2026-08-28 12:50:22] local.INFO: Packet analysis {"connection_id":163684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0473c"} 
[2026-08-28 12:50:22] local.INFO: Extracted packet for processing {"connection_id":163684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0473c"} 
[2026-08-28 12:50:22] local.INFO: GPS Element Parsed {"raw_longitude":756554432,"raw_latitude":119646560,"longitude_deg":75.6554432,"latitude_deg":11.964656,"altitude":72,"angle":48,"satellites":44,"speed":0,"hex_longitude":"2d181ac0","hex_latitude":"0721a960","is_valid_coordinates":true} 
[2026-08-28 12: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-28 12:50:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702791936001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:50:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15894484256555008,"note":"Value kept but may cause issues"} 
[2026-08-28 12:50:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736911743166787584,"note":"Value kept but may cause issues"} 
[2026-08-28 12: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-28 12:50:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787901552000,"timestamp_ms":1787901552000,"timestamp_seconds":1787901552,"priority":1,"record_length":96,"hex_timestamp":"000001a0473ca580"} 
[2026-08-28 12: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-28 12:50:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 12: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-28 12:50:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12: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-28 12: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-28 12:50:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:50:22] local.INFO: Teltonika packet parsed successfully {"connection_id":163684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:50:22] local.INFO: Passing IMEI to GPS processor {"connection_id":163684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:50:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":163684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:50:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:50:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:50:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:50:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702791936001,"66":13048,"105":206,"83":41984,"24":0,"16":15894484256555008,"45":1736911743166787584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 12:50:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:50:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:50:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702791936001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:50:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 12:50:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:50:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15894484256555008,"km_value":15894484256555.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:50:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736911743166787584,"description":"Unknown IO ID 45"} 
[2026-08-28 12:50:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702791936001,"power":13048,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736911743166787584}} 
[2026-08-28 12:50:22] 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":707484,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:50:22] local.INFO: GPS data processed {"connection_id":163684,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:50:22] local.INFO: Acknowledgment sent {"connection_id":163684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:50:31] local.INFO: TCP Data received {"connection_id":163421,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:50:31] local.INFO: Processing buffer {"connection_id":163421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:50:31] local.INFO: IMEI packet received {"connection_id":163421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 12:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":163421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:50:36] local.INFO: TCP Data received {"connection_id":163421,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:50:36] local.INFO: Processing buffer {"connection_id":163421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:50:36] local.INFO: IMEI packet received {"connection_id":163421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 12:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":163421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:50:37] local.INFO: TCP Data received {"connection_id":163421,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0473b8088012d34c14006aa4840001000e626..."} 
[2026-08-28 12:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0473b8088012d34c14006aa4840001000e626..."} 
[2026-08-28 12:50:37] local.INFO: Processing buffer {"connection_id":163421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0473b8088012d34c14006aa4840001000e626..."} 
[2026-08-28 12:50:37] local.INFO: Packet analysis {"connection_id":163421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0473b"} 
[2026-08-28 12:50:37] local.INFO: Extracted packet for processing {"connection_id":163421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0473b"} 
[2026-08-28 12:50:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 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-28 12:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702701056001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787901477000,"timestamp_ms":1787901477000,"timestamp_seconds":1787901477,"priority":1,"record_length":96,"hex_timestamp":"000001a0473b8088"} 
[2026-08-28 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-28 12:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 12:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 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-28 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-28 12:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702701056001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702701056001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:50:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:50:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:50: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-28 12:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702701056001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:50:37] 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":707485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:50:37] local.INFO: GPS data processed {"connection_id":163421,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:50:37] local.INFO: Acknowledgment sent {"connection_id":163421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:50:53] local.INFO: TCP Data received {"connection_id":163684,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0473cc8a8012d181e400721ad50004b00232d..."} 
[2026-08-28 12:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0473cc8a8012d181e400721ad50004b00232d..."} 
[2026-08-28 12:50:53] local.INFO: Processing buffer {"connection_id":163684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0473cc8a8012d181e400721ad50004b00232d..."} 
[2026-08-28 12:50:53] local.INFO: Packet analysis {"connection_id":163684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0473c"} 
[2026-08-28 12:50:53] local.INFO: Extracted packet for processing {"connection_id":163684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0473c"} 
[2026-08-28 12:50:53] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647568,"longitude_deg":75.6555328,"latitude_deg":11.9647568,"altitude":75,"angle":35,"satellites":45,"speed":11,"hex_longitude":"2d181e40","hex_latitude":"0721ad50","is_valid_coordinates":true} 
[2026-08-28 12:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:50:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702797312001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:50:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15894548681064448,"note":"Value kept but may cause issues"} 
[2026-08-28 12:50:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736911743166799872,"note":"Value kept but may cause issues"} 
[2026-08-28 12:50: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-28 12:50:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787901561000,"timestamp_ms":1787901561000,"timestamp_seconds":1787901561,"priority":1,"record_length":96,"hex_timestamp":"000001a0473cc8a8"} 
[2026-08-28 12:50:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:50:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 12:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-28 12:50:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:50:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:50:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:50:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:50:53] local.INFO: Teltonika packet parsed successfully {"connection_id":163684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:50:53] local.INFO: Passing IMEI to GPS processor {"connection_id":163684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:50:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":163684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:50:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:50:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:50:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:50:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702797312001,"66":12961,"105":206,"83":41984,"24":11,"16":15894548681064448,"45":1736911743166799872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 12:50:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:50:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:50:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702797312001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:50:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 12:50:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:50:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15894548681064448,"km_value":15894548681064.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:50:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736911743166799872,"description":"Unknown IO ID 45"} 
[2026-08-28 12:50:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702797312001,"power":12961,"unknown_105":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1736911743166799872}} 
[2026-08-28 12:50:53] 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":707486,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:50:53] local.INFO: GPS data processed {"connection_id":163684,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:50:53] local.INFO: Acknowledgment sent {"connection_id":163684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:51:08] local.INFO: TCP Data received {"connection_id":163421,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0473b8088012d34c14006aa4840001000e626..."} 
[2026-08-28 12:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0473b8088012d34c14006aa4840001000e626..."} 
[2026-08-28 12:51:08] local.INFO: Processing buffer {"connection_id":163421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0473b8088012d34c14006aa4840001000e626..."} 
[2026-08-28 12:51:08] local.INFO: Packet analysis {"connection_id":163421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0473b"} 
[2026-08-28 12:51:08] local.INFO: Extracted packet for processing {"connection_id":163421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0473b"} 
[2026-08-28 12:51:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 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-28 12:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702701056001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:51:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:51: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-28 12:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787901477000,"timestamp_ms":1787901477000,"timestamp_seconds":1787901477,"priority":1,"record_length":96,"hex_timestamp":"000001a0473b8088"} 
[2026-08-28 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-28 12:51: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-28 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 12:51:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 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-28 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-28 12:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:51:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702701056001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702701056001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:51:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:51:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:51: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-28 12:51:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702701056001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:51:08] 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":707487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:51:08] local.INFO: GPS data processed {"connection_id":163421,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:51:08] local.INFO: Acknowledgment sent {"connection_id":163421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:51:11] local.INFO: TCP Data received {"connection_id":166036,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166036,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:51:11] local.INFO: Processing buffer {"connection_id":166036,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:51:11] local.INFO: IMEI packet received {"connection_id":166036,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 12:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":166036,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:51:17] local.INFO: TCP Data received {"connection_id":166036,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166036,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:51:17] local.INFO: Processing buffer {"connection_id":166036,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:51:17] local.INFO: IMEI packet received {"connection_id":166036,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 12:51:17] local.INFO: IMEI acknowledgment sent {"connection_id":166036,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:51:17] local.INFO: TCP Data received {"connection_id":166036,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0473cebd0012d1824800721b690004c000d2d..."} 
[2026-08-28 12:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0473cebd0012d1824800721b690004c000d2d..."} 
[2026-08-28 12:51:17] local.INFO: Processing buffer {"connection_id":166036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0473cebd0012d1824800721b690004c000d2d..."} 
[2026-08-28 12:51:17] local.INFO: Packet analysis {"connection_id":166036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0473c"} 
[2026-08-28 12:51:17] local.INFO: Extracted packet for processing {"connection_id":166036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0473c"} 
[2026-08-28 12:51:17] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119649936,"longitude_deg":75.6556928,"latitude_deg":11.9649936,"altitude":76,"angle":13,"satellites":45,"speed":8,"hex_longitude":"2d182480","hex_latitude":"0721b690","is_valid_coordinates":true} 
[2026-08-28 12: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-28 12:51:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702799616001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:51:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15894690414985216,"note":"Value kept but may cause issues"} 
[2026-08-28 12:51:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585545216,"note":"Value kept but may cause issues"} 
[2026-08-28 12: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-28 12:51:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787901570000,"timestamp_ms":1787901570000,"timestamp_seconds":1787901570,"priority":1,"record_length":96,"hex_timestamp":"000001a0473cebd0"} 
[2026-08-28 12: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-28 12:51:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 12: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-28 12:51:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12: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-28 12: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-28 12:51:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:51:17] local.INFO: Teltonika packet parsed successfully {"connection_id":166036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:51:17] local.INFO: Passing IMEI to GPS processor {"connection_id":166036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:51:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":166036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:51:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:51:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:51:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:51:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702799616001,"66":12917,"105":206,"83":41984,"24":8,"16":15894690414985216,"45":1737896905585545216},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 12:51:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:51:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:51:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702799616001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:51:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 12:51:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:51:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15894690414985216,"km_value":15894690414985.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:51:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585545216,"description":"Unknown IO ID 45"} 
[2026-08-28 12:51:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702799616001,"power":12917,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1737896905585545216}} 
[2026-08-28 12:51:17] local.INFO: DEBUG: GPS processor result {"connection_id":166036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707488,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:51:17] local.INFO: GPS data processed {"connection_id":166036,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:51:17] local.INFO: Acknowledgment sent {"connection_id":166036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:51:30] local.INFO: TCP Data received {"connection_id":164684,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:51:30] local.INFO: Processing buffer {"connection_id":164684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:51:30] local.INFO: IMEI packet received {"connection_id":164684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 12:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":164684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:51:35] local.INFO: TCP Data received {"connection_id":164684,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:51:35] local.INFO: Processing buffer {"connection_id":164684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:51:35] local.INFO: IMEI packet received {"connection_id":164684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 12:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":164684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:51:37] local.INFO: TCP Data received {"connection_id":164684,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0473b8088012d34c14006aa4840001000e626..."} 
[2026-08-28 12:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0473b8088012d34c14006aa4840001000e626..."} 
[2026-08-28 12:51:37] local.INFO: Processing buffer {"connection_id":164684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0473b8088012d34c14006aa4840001000e626..."} 
[2026-08-28 12:51:37] local.INFO: Packet analysis {"connection_id":164684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0473b"} 
[2026-08-28 12:51:37] local.INFO: Extracted packet for processing {"connection_id":164684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0473b"} 
[2026-08-28 12:51:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 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-28 12:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702701056001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787901477000,"timestamp_ms":1787901477000,"timestamp_seconds":1787901477,"priority":1,"record_length":96,"hex_timestamp":"000001a0473b8088"} 
[2026-08-28 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-28 12:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 12:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 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-28 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-28 12:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702701056001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702701056001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:51:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:51:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:51: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-28 12:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702701056001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":164684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:51:37] local.INFO: GPS data processed {"connection_id":164684,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:51:37] local.INFO: Acknowledgment sent {"connection_id":164684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:51:49] local.INFO: TCP Data received {"connection_id":166036,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0473cefb8012d1824800721b740004d01532c..."} 
[2026-08-28 12:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0473cefb8012d1824800721b740004d01532c..."} 
[2026-08-28 12:51:49] local.INFO: Processing buffer {"connection_id":166036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0473cefb8012d1824800721b740004d01532c..."} 
[2026-08-28 12:51:49] local.INFO: Packet analysis {"connection_id":166036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0473c"} 
[2026-08-28 12:51:49] local.INFO: Extracted packet for processing {"connection_id":166036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0473c"} 
[2026-08-28 12:51:49] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650112,"longitude_deg":75.6556928,"latitude_deg":11.9650112,"altitude":77,"angle":339,"satellites":44,"speed":5,"hex_longitude":"2d182480","hex_latitude":"0721b740","is_valid_coordinates":true} 
[2026-08-28 12:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702801920001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:51:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15894699004919808,"note":"Value kept but may cause issues"} 
[2026-08-28 12:51:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190593024,"note":"Value kept but may cause issues"} 
[2026-08-28 12:51:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:51:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787901571000,"timestamp_ms":1787901571000,"timestamp_seconds":1787901571,"priority":1,"record_length":96,"hex_timestamp":"000001a0473cefb8"} 
[2026-08-28 12:51:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:51:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 12:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-28 12:51:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:51:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:51:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:51:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:51:49] local.INFO: Teltonika packet parsed successfully {"connection_id":166036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:51:49] local.INFO: Passing IMEI to GPS processor {"connection_id":166036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:51:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":166036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:51:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:51:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:51:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:51:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702801920001,"66":12917,"105":206,"83":41984,"24":5,"16":15894699004919808,"45":1739656124190593024},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 12:51:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:51:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:51:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702801920001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:51:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 12:51:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:51:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15894699004919808,"km_value":15894699004919.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:51:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190593024,"description":"Unknown IO ID 45"} 
[2026-08-28 12:51:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702801920001,"power":12917,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1739656124190593024}} 
[2026-08-28 12:51:49] local.INFO: DEBUG: GPS processor result {"connection_id":166036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707490,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:51:49] local.INFO: GPS data processed {"connection_id":166036,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:51:49] local.INFO: Acknowledgment sent {"connection_id":166036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:52:08] local.INFO: TCP Data received {"connection_id":164684,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0473b8088012d34c14006aa4840001000e626..."} 
[2026-08-28 12:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0473b8088012d34c14006aa4840001000e626..."} 
[2026-08-28 12:52:08] local.INFO: Processing buffer {"connection_id":164684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0473b8088012d34c14006aa4840001000e626..."} 
[2026-08-28 12:52:08] local.INFO: Packet analysis {"connection_id":164684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0473b"} 
[2026-08-28 12:52:08] local.INFO: Extracted packet for processing {"connection_id":164684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0473b"} 
[2026-08-28 12:52:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 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-28 12:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702701056001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:52: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-28 12:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787901477000,"timestamp_ms":1787901477000,"timestamp_seconds":1787901477,"priority":1,"record_length":96,"hex_timestamp":"000001a0473b8088"} 
[2026-08-28 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-28 12:52: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-28 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 12:52:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 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-28 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-28 12:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702701056001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702701056001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:52:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:52:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:52: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-28 12:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702701056001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":164684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:52:08] local.INFO: GPS data processed {"connection_id":164684,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:52:08] local.INFO: Acknowledgment sent {"connection_id":164684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:52:11] local.INFO: TCP Data received {"connection_id":163422,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163422,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:52:11] local.INFO: Processing buffer {"connection_id":163422,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:52:11] local.INFO: IMEI packet received {"connection_id":163422,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 12:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":163422,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:52:16] local.INFO: TCP Data received {"connection_id":163422,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163422,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:52:16] local.INFO: Processing buffer {"connection_id":163422,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:52:16] local.INFO: IMEI packet received {"connection_id":163422,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 12:52:16] local.INFO: IMEI acknowledgment sent {"connection_id":163422,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:52:16] local.INFO: TCP Data received {"connection_id":163422,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0473cff58012d1823000721b740004d00ca2d..."} 
[2026-08-28 12:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0473cff58012d1823000721b740004d00ca2d..."} 
[2026-08-28 12:52:16] local.INFO: Processing buffer {"connection_id":163422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0473cff58012d1823000721b740004d00ca2d..."} 
[2026-08-28 12:52:16] local.INFO: Packet analysis {"connection_id":163422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0473c"} 
[2026-08-28 12:52:16] local.INFO: Extracted packet for processing {"connection_id":163422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0473c"} 
[2026-08-28 12:52:16] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119650112,"longitude_deg":75.6556544,"latitude_deg":11.9650112,"altitude":77,"angle":202,"satellites":45,"speed":5,"hex_longitude":"2d182300","hex_latitude":"0721b740","is_valid_coordinates":true} 
[2026-08-28 12: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-28 12:52:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702802176001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:52:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15894720479756288,"note":"Value kept but may cause issues"} 
[2026-08-28 12:52:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190638080,"note":"Value kept but may cause issues"} 
[2026-08-28 12:52:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:52:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787901575000,"timestamp_ms":1787901575000,"timestamp_seconds":1787901575,"priority":1,"record_length":96,"hex_timestamp":"000001a0473cff58"} 
[2026-08-28 12: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-28 12:52:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 12: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-28 12:52:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12: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-28 12: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-28 12:52:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:52:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:52:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:52:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:52:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:52:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:52:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:52:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702802176001,"66":12863,"105":206,"83":41984,"24":5,"16":15894720479756288,"45":1739656124190638080},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 12:52:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:52:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:52:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702802176001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:52:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 12:52:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:52:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15894720479756288,"km_value":15894720479756.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:52:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190638080,"description":"Unknown IO ID 45"} 
[2026-08-28 12:52:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702802176001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1739656124190638080}} 
[2026-08-28 12:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":163422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707492,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:52:17] local.INFO: GPS data processed {"connection_id":163422,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:52:17] local.INFO: Acknowledgment sent {"connection_id":163422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:52:30] local.INFO: TCP Data received {"connection_id":163685,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:52:30] local.INFO: Processing buffer {"connection_id":163685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:52:30] local.INFO: IMEI packet received {"connection_id":163685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 12:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":163685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:52:36] local.INFO: TCP Data received {"connection_id":163685,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:52:36] local.INFO: Processing buffer {"connection_id":163685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:52:36] local.INFO: IMEI packet received {"connection_id":163685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 12:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":163685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:52:36] local.INFO: TCP Data received {"connection_id":163685,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0473b8088012d34c14006aa4840001000e626..."} 
[2026-08-28 12:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0473b8088012d34c14006aa4840001000e626..."} 
[2026-08-28 12:52:36] local.INFO: Processing buffer {"connection_id":163685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0473b8088012d34c14006aa4840001000e626..."} 
[2026-08-28 12:52:36] local.INFO: Packet analysis {"connection_id":163685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0473b"} 
[2026-08-28 12:52:36] local.INFO: Extracted packet for processing {"connection_id":163685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0473b"} 
[2026-08-28 12:52:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702701056001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:52:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:52:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787901477000,"timestamp_ms":1787901477000,"timestamp_seconds":1787901477,"priority":1,"record_length":96,"hex_timestamp":"000001a0473b8088"} 
[2026-08-28 12:52:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:52:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 12:52:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:52:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:52:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:52:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702701056001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702701056001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:52:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:52:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:52:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702701056001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:52:37] 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":707493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:52:37] local.INFO: GPS data processed {"connection_id":163685,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:52:37] local.INFO: Acknowledgment sent {"connection_id":163685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:52:48] local.INFO: TCP Data received {"connection_id":163422,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0473d0340012d1823000721b6a8004d00b72d..."} 
[2026-08-28 12:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0473d0340012d1823000721b6a8004d00b72d..."} 
[2026-08-28 12:52:48] local.INFO: Processing buffer {"connection_id":163422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0473d0340012d1823000721b6a8004d00b72d..."} 
[2026-08-28 12:52:48] local.INFO: Packet analysis {"connection_id":163422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0473d"} 
[2026-08-28 12:52:48] local.INFO: Extracted packet for processing {"connection_id":163422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0473d"} 
[2026-08-28 12:52:48] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649960,"longitude_deg":75.6556544,"latitude_deg":11.964996,"altitude":77,"angle":183,"satellites":45,"speed":6,"hex_longitude":"2d182300","hex_latitude":"0721b6a8","is_valid_coordinates":true} 
[2026-08-28 12:52:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:52:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702803200001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:52:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15894729069690880,"note":"Value kept but may cause issues"} 
[2026-08-28 12:52:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725572096,"note":"Value kept but may cause issues"} 
[2026-08-28 12:52:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:52:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787901576000,"timestamp_ms":1787901576000,"timestamp_seconds":1787901576,"priority":1,"record_length":96,"hex_timestamp":"000001a0473d0340"} 
[2026-08-28 12:52:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:52:48] 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-28 12:52:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-28 12:52:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12: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-28 12:52:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:52:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:52:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:52:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:52:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:52:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:52:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:52:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:52:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702803200001,"66":12841,"105":206,"83":41984,"24":6,"16":15894729069690880,"45":1739233911725572096},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 12:52:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:52:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:52:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702803200001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:52:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 12:52:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:52:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15894729069690880,"km_value":15894729069690.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:52:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725572096,"description":"Unknown IO ID 45"} 
[2026-08-28 12:52:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702803200001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1739233911725572096}} 
[2026-08-28 12:52:48] local.INFO: DEBUG: GPS processor result {"connection_id":163422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707494,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:52:48] local.INFO: GPS data processed {"connection_id":163422,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:52:48] local.INFO: Acknowledgment sent {"connection_id":163422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:53:08] local.INFO: TCP Data received {"connection_id":163685,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0473b8088012d34c14006aa4840001000e626..."} 
[2026-08-28 12:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0473b8088012d34c14006aa4840001000e626..."} 
[2026-08-28 12:53:08] local.INFO: Processing buffer {"connection_id":163685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0473b8088012d34c14006aa4840001000e626..."} 
[2026-08-28 12:53:08] local.INFO: Packet analysis {"connection_id":163685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0473b"} 
[2026-08-28 12:53:08] local.INFO: Extracted packet for processing {"connection_id":163685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0473b"} 
[2026-08-28 12:53:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 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-28 12:53:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702701056001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:53:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:53:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:53: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-28 12:53:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787901477000,"timestamp_ms":1787901477000,"timestamp_seconds":1787901477,"priority":1,"record_length":96,"hex_timestamp":"000001a0473b8088"} 
[2026-08-28 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-28 12:53: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-28 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 12:53:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 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-28 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-28 12:53:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:53:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:53:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:53:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:53:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:53:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:53:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:53:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702701056001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:53:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:53:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:53:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702701056001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:53:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:53:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:53: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-28 12:53:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:53:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702701056001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:53:08] 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":707495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:53:08] local.INFO: GPS data processed {"connection_id":163685,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:53:08] local.INFO: Acknowledgment sent {"connection_id":163685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:53:16] local.INFO: TCP Data received {"connection_id":163423,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163423,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:53:16] local.INFO: Processing buffer {"connection_id":163423,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:53:16] local.INFO: IMEI packet received {"connection_id":163423,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 12:53:16] local.INFO: IMEI acknowledgment sent {"connection_id":163423,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:53:21] local.INFO: TCP Data received {"connection_id":163423,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163423,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:53:21] local.INFO: Processing buffer {"connection_id":163423,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:53:21] local.INFO: IMEI packet received {"connection_id":163423,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 12:53:21] local.INFO: IMEI acknowledgment sent {"connection_id":163423,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:53:22] local.INFO: TCP Data received {"connection_id":163423,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0473d0b10012d1822c00721b548004d00c52d..."} 
[2026-08-28 12:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0473d0b10012d1822c00721b548004d00c52d..."} 
[2026-08-28 12:53:22] local.INFO: Processing buffer {"connection_id":163423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0473d0b10012d1822c00721b548004d00c52d..."} 
[2026-08-28 12:53:22] local.INFO: Packet analysis {"connection_id":163423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0473d"} 
[2026-08-28 12:53:22] local.INFO: Extracted packet for processing {"connection_id":163423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0473d"} 
[2026-08-28 12:53:22] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649608,"longitude_deg":75.655648,"latitude_deg":11.9649608,"altitude":77,"angle":197,"satellites":45,"speed":8,"hex_longitude":"2d1822c0","hex_latitude":"0721b548","is_valid_coordinates":true} 
[2026-08-28 12: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-28 12:53:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702803456001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:53:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15894746249560064,"note":"Value kept but may cause issues"} 
[2026-08-28 12:53:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725533184,"note":"Value kept but may cause issues"} 
[2026-08-28 12:53: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-28 12:53:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787901578000,"timestamp_ms":1787901578000,"timestamp_seconds":1787901578,"priority":1,"record_length":96,"hex_timestamp":"000001a0473d0b10"} 
[2026-08-28 12: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-28 12:53:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 12: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-28 12:53: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-28 12: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-28 12: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-28 12:53:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:53:22] local.INFO: Teltonika packet parsed successfully {"connection_id":163423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:53:22] local.INFO: Passing IMEI to GPS processor {"connection_id":163423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:53:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":163423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:53:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:53:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:53:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:53:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702803456001,"66":12809,"105":206,"83":41984,"24":8,"16":15894746249560064,"45":1739233911725533184},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 12:53:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:53:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:53:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702803456001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:53:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 12:53:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:53:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15894746249560064,"km_value":15894746249560.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:53:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725533184,"description":"Unknown IO ID 45"} 
[2026-08-28 12:53:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702803456001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1739233911725533184}} 
[2026-08-28 12:53:22] 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":707496,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:53:22] local.INFO: GPS data processed {"connection_id":163423,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:53:22] local.INFO: Acknowledgment sent {"connection_id":163423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:53:26] local.INFO: TCP Data received {"connection_id":163423,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0473d0ef8012d1822800721b4a0004d00d22d..."} 
[2026-08-28 12:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0473d0ef8012d1822800721b4a0004d00d22d..."} 
[2026-08-28 12:53:26] local.INFO: Processing buffer {"connection_id":163423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0473d0ef8012d1822800721b4a0004d00d22d..."} 
[2026-08-28 12:53:26] local.INFO: Packet analysis {"connection_id":163423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0473d"} 
[2026-08-28 12:53:26] local.INFO: Extracted packet for processing {"connection_id":163423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0473d"} 
[2026-08-28 12:53:26] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649440,"longitude_deg":75.6556416,"latitude_deg":11.964944,"altitude":77,"angle":210,"satellites":45,"speed":7,"hex_longitude":"2d182280","hex_latitude":"0721b4a0","is_valid_coordinates":true} 
[2026-08-28 12:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702803968001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15894754839494656,"note":"Value kept but may cause issues"} 
[2026-08-28 12:53:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981265408,"note":"Value kept but may cause issues"} 
[2026-08-28 12:53:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787901579000,"timestamp_ms":1787901579000,"timestamp_seconds":1787901579,"priority":1,"record_length":96,"hex_timestamp":"000001a0473d0ef8"} 
[2026-08-28 12:53:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:53:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 12:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-28 12:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288230376319484928,"note":"Value kept but may cause issues"} 
[2026-08-28 12:53:26] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-28 12:53:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-28 12:53:26] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-28 12:53:26] local.WARNING: Large IO value detected {"io_id":71,"raw_value":4346950011789515456,"note":"Value kept but may cause issues"} 
[2026-08-28 12:53:26] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3062890572,"note":"Value kept but may cause issues"} 
[2026-08-28 12:53:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-28 12:53:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":2818649368,"corrected_to":0} 
[2026-08-28 12:53:26] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-576234895391535533,"note":"Value kept but may cause issues"} 
[2026-08-28 12:53:26] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2425522652065049897,"note":"Value kept but may cause issues"} 
[2026-08-28 12:53:26] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-28 12:53:26] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,120,160,3,45,182,77,10,66,255,183,239,128,1,240,117,227,71,33,4,113,205,8,200,30,80,50,2,56,7,72,164,243],"length":535,"final_offset":665,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0},{"io_id":200,"original":2818649368,"validated":0}]} 
[2026-08-28 12:53:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548651537985175552,"timestamp_seconds":5548651537985176.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 12:53:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":163423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":163423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":163423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:53:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702803968001,"66":12809,"105":206,"83":41984,"24":7,"16":15894754839494656,"45":1739163542981265408},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 12:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702803968001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:53:26] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 12:53:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15894754839494656,"km_value":15894754839494.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:53:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981265408,"description":"Unknown IO ID 45"} 
[2026-08-28 12:53:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702803968001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1739163542981265408}} 
[2026-08-28 12:53:26] 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":707497,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:53:26] local.INFO: GPS data processed {"connection_id":163423,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:53:26] local.INFO: Acknowledgment sent {"connection_id":163423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:53:31] local.INFO: TCP Data received {"connection_id":163686,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:53:31] local.INFO: Processing buffer {"connection_id":163686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:53:31] local.INFO: IMEI packet received {"connection_id":163686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 12:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":163686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:53:36] local.INFO: TCP Data received {"connection_id":163686,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:53:36] local.INFO: Processing buffer {"connection_id":163686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:53:36] local.INFO: IMEI packet received {"connection_id":163686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 12:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":163686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:53:38] local.INFO: TCP Data received {"connection_id":163686,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a047401850012d34c14006aa4840000d00e62a..."} 
[2026-08-28 12:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047401850012d34c14006aa4840000d00e62a..."} 
[2026-08-28 12:53:38] local.INFO: Processing buffer {"connection_id":163686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047401850012d34c14006aa4840000d00e62a..."} 
[2026-08-28 12:53:38] local.INFO: Packet analysis {"connection_id":163686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04740"} 
[2026-08-28 12:53:38] local.INFO: Extracted packet for processing {"connection_id":163686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04740"} 
[2026-08-28 12:53:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702778112001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787901778000,"timestamp_ms":1787901778000,"timestamp_seconds":1787901778,"priority":1,"record_length":96,"hex_timestamp":"000001a047401850"} 
[2026-08-28 12:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 12:53:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:53:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702778112001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702778112001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:53:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:53:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:53: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-28 12:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702778112001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:53:38] 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":707498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:53:38] local.INFO: GPS data processed {"connection_id":163686,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:53:38] local.INFO: Acknowledgment sent {"connection_id":163686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:54:08] local.INFO: TCP Data received {"connection_id":163424,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163424,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:54:08] local.INFO: Processing buffer {"connection_id":163424,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:54:08] local.INFO: IMEI packet received {"connection_id":163424,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 12:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":163424,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:54:09] local.INFO: TCP Data received {"connection_id":163686,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a047401850012d34c14006aa4840000d00e62a..."} 
[2026-08-28 12:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047401850012d34c14006aa4840000d00e62a..."} 
[2026-08-28 12:54:09] local.INFO: Processing buffer {"connection_id":163686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047401850012d34c14006aa4840000d00e62a..."} 
[2026-08-28 12:54:09] local.INFO: Packet analysis {"connection_id":163686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04740"} 
[2026-08-28 12:54:09] local.INFO: Extracted packet for processing {"connection_id":163686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04740"} 
[2026-08-28 12:54:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702778112001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:54:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:54:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787901778000,"timestamp_ms":1787901778000,"timestamp_seconds":1787901778,"priority":1,"record_length":96,"hex_timestamp":"000001a047401850"} 
[2026-08-28 12:54:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:54:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 12:54:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:54:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:54:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:54:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702778112001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702778112001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:54:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:54:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:54: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-28 12:54:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702778112001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:54:09] 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":707499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:54:09] local.INFO: GPS data processed {"connection_id":163686,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:54:09] local.INFO: Acknowledgment sent {"connection_id":163686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:54:11] local.INFO: TCP Data received {"connection_id":163424,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163424,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:54:11] local.INFO: Processing buffer {"connection_id":163424,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:54:11] local.INFO: IMEI packet received {"connection_id":163424,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 12:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":163424,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:54:16] local.INFO: TCP Data received {"connection_id":163424,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163424,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:54:16] local.INFO: Processing buffer {"connection_id":163424,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:54:16] local.INFO: IMEI packet received {"connection_id":163424,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 12:54:16] local.INFO: IMEI acknowledgment sent {"connection_id":163424,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:54:17] local.INFO: TCP Data received {"connection_id":163424,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0473d6100012d1821000721b278004c00d42c..."} 
[2026-08-28 12:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0473d6100012d1821000721b278004c00d42c..."} 
[2026-08-28 12:54:17] local.INFO: Processing buffer {"connection_id":163424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0473d6100012d1821000721b278004c00d42c..."} 
[2026-08-28 12:54:17] local.INFO: Packet analysis {"connection_id":163424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0473d"} 
[2026-08-28 12:54:17] local.INFO: Extracted packet for processing {"connection_id":163424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0473d"} 
[2026-08-28 12:54:17] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648888,"longitude_deg":75.6556032,"latitude_deg":11.9648888,"altitude":76,"angle":212,"satellites":44,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b278","is_valid_coordinates":true} 
[2026-08-28 12: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-28 12:54:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702804224001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:54:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15894789199233024,"note":"Value kept but may cause issues"} 
[2026-08-28 12:54:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237044736,"note":"Value kept but may cause issues"} 
[2026-08-28 12: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-28 12:54:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787901600000,"timestamp_ms":1787901600000,"timestamp_seconds":1787901600,"priority":1,"record_length":96,"hex_timestamp":"000001a0473d6100"} 
[2026-08-28 12: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-28 12:54:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 12: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-28 12:54:17] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-28 12:54:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-28 12:54:17] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-28 12:54:17] local.WARNING: Large IO value detected {"io_id":71,"raw_value":4370039755972811456,"note":"Value kept but may cause issues"} 
[2026-08-28 12:54:17] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3074424909,"note":"Value kept but may cause issues"} 
[2026-08-28 12:54:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-28 12:54:17] local.WARNING: Large IO value detected {"io_id":235,"raw_value":3489738008,"note":"Value kept but may cause issues"} 
[2026-08-28 12:54:17] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2147951030,"note":"Value kept but may cause issues"} 
[2026-08-28 12:54:17] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-6845245576691265965,"note":"Value kept but may cause issues"} 
[2026-08-28 12:54:17] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2425575428639961132,"note":"Value kept but may cause issues"} 
[2026-08-28 12:54:17] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755446685827313,"note":"Value kept but may cause issues"} 
[2026-08-28 12:54:17] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,120,160,11,45,192,181,77,10,66,3,182,255,1,240,63,227,71,33,4,113,205,5,235,36,144,239,50,2,56,7,75,164],"length":535,"final_offset":665,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-28 12:54:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548665831636271104,"timestamp_seconds":5548665831636271.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 12: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-28 12:54:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:54:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:54:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:54:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:54:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:54:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:54:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:54:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702804224001,"66":12939,"105":206,"83":41984,"24":0,"16":15894789199233024,"45":1739093174237044736},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 12:54:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:54:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:54:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702804224001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:54:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 12:54:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:54:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15894789199233024,"km_value":15894789199233.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:54:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237044736,"description":"Unknown IO ID 45"} 
[2026-08-28 12:54:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702804224001,"power":12939,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739093174237044736}} 
[2026-08-28 12:54:17] 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":707500,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:54:17] local.INFO: GPS data processed {"connection_id":163424,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:54:17] local.INFO: Acknowledgment sent {"connection_id":163424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:54:32] local.INFO: TCP Data received {"connection_id":166037,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:54:32] local.INFO: Processing buffer {"connection_id":166037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:54:32] local.INFO: IMEI packet received {"connection_id":166037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 12:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":166037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:54:36] local.INFO: TCP Data received {"connection_id":166037,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:54:36] local.INFO: Processing buffer {"connection_id":166037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:54:36] local.INFO: IMEI packet received {"connection_id":166037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 12:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":166037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:54:37] local.INFO: TCP Data received {"connection_id":166037,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a047401850012d34c14006aa4840000d00e62a..."} 
[2026-08-28 12:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047401850012d34c14006aa4840000d00e62a..."} 
[2026-08-28 12:54:37] local.INFO: Processing buffer {"connection_id":166037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047401850012d34c14006aa4840000d00e62a..."} 
[2026-08-28 12:54:37] local.INFO: Packet analysis {"connection_id":166037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04740"} 
[2026-08-28 12:54:37] local.INFO: Extracted packet for processing {"connection_id":166037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04740"} 
[2026-08-28 12:54:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702778112001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787901778000,"timestamp_ms":1787901778000,"timestamp_seconds":1787901778,"priority":1,"record_length":96,"hex_timestamp":"000001a047401850"} 
[2026-08-28 12:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 12:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:54:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":166037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":166037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":166037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702778112001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702778112001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:54:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:54:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:54: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-28 12:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702778112001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":166037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:54:37] local.INFO: GPS data processed {"connection_id":166037,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:54:37] local.INFO: Acknowledgment sent {"connection_id":166037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:54:48] local.INFO: TCP Data received {"connection_id":163424,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0473db308012d1821000721b278004c00d42e..."} 
[2026-08-28 12:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0473db308012d1821000721b278004c00d42e..."} 
[2026-08-28 12:54:48] local.INFO: Processing buffer {"connection_id":163424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0473db308012d1821000721b278004c00d42e..."} 
[2026-08-28 12:54:48] local.INFO: Packet analysis {"connection_id":163424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0473d"} 
[2026-08-28 12:54:48] local.INFO: Extracted packet for processing {"connection_id":163424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0473d"} 
[2026-08-28 12:54:48] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648888,"longitude_deg":75.6556032,"latitude_deg":11.9648888,"altitude":76,"angle":212,"satellites":46,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b278","is_valid_coordinates":true} 
[2026-08-28 12:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:54:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702809600001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:54:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15894789199233024,"note":"Value kept but may cause issues"} 
[2026-08-28 12:54:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771837440,"note":"Value kept but may cause issues"} 
[2026-08-28 12:54:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:54:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787901621000,"timestamp_ms":1787901621000,"timestamp_seconds":1787901621,"priority":1,"record_length":96,"hex_timestamp":"000001a0473db308"} 
[2026-08-28 12:54:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:54:48] 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-28 12:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-28 12:54:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:54:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:54:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:54:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:54:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:54:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:54:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:54:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:54:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:54:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:54:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702809600001,"66":12863,"105":206,"83":41984,"24":0,"16":15894789199233024,"45":1738670961771837440},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 12:54:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:54:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:54:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702809600001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:54:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 12:54:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:54:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15894789199233024,"km_value":15894789199233.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:54:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771837440,"description":"Unknown IO ID 45"} 
[2026-08-28 12:54:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702809600001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771837440}} 
[2026-08-28 12:54:48] 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":707502,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:54:48] local.INFO: GPS data processed {"connection_id":163424,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:54:48] local.INFO: Acknowledgment sent {"connection_id":163424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:55:08] local.INFO: TCP Data received {"connection_id":166037,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a047401850012d34c14006aa4840000d00e62a..."} 
[2026-08-28 12:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047401850012d34c14006aa4840000d00e62a..."} 
[2026-08-28 12:55:08] local.INFO: Processing buffer {"connection_id":166037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047401850012d34c14006aa4840000d00e62a..."} 
[2026-08-28 12:55:08] local.INFO: Packet analysis {"connection_id":166037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04740"} 
[2026-08-28 12:55:08] local.INFO: Extracted packet for processing {"connection_id":166037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04740"} 
[2026-08-28 12:55:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702778112001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:55:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:55: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-28 12:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787901778000,"timestamp_ms":1787901778000,"timestamp_seconds":1787901778,"priority":1,"record_length":96,"hex_timestamp":"000001a047401850"} 
[2026-08-28 12:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:55:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 12:55: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-28 12:55:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":166037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":166037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":166037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:55:08] 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-28 12:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702778112001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702778112001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:55:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:55:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:55: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-28 12:55:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702778112001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":166037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:55:08] local.INFO: GPS data processed {"connection_id":166037,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:55:08] local.INFO: Acknowledgment sent {"connection_id":166037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:55:11] local.INFO: TCP Data received {"connection_id":163687,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163687,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:55:11] local.INFO: Processing buffer {"connection_id":163687,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:55:11] local.INFO: IMEI packet received {"connection_id":163687,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 12:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":163687,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:55:12] local.INFO: TCP Data received {"connection_id":163687,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163687,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:55:12] local.INFO: Processing buffer {"connection_id":163687,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:55:12] local.INFO: IMEI packet received {"connection_id":163687,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 12:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":163687,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:55:16] local.INFO: TCP Data received {"connection_id":163687,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163687,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:55:16] local.INFO: Processing buffer {"connection_id":163687,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:55:16] local.INFO: IMEI packet received {"connection_id":163687,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 12:55:16] local.INFO: IMEI acknowledgment sent {"connection_id":163687,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:55:17] local.INFO: TCP Data received {"connection_id":163687,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0473e0510012d1821000721b278004c00d42c..."} 
[2026-08-28 12:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0473e0510012d1821000721b278004c00d42c..."} 
[2026-08-28 12:55:17] local.INFO: Processing buffer {"connection_id":163687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0473e0510012d1821000721b278004c00d42c..."} 
[2026-08-28 12:55:17] local.INFO: Packet analysis {"connection_id":163687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0473e"} 
[2026-08-28 12:55:17] local.INFO: Extracted packet for processing {"connection_id":163687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0473e"} 
[2026-08-28 12:55:17] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648888,"longitude_deg":75.6556032,"latitude_deg":11.9648888,"altitude":76,"angle":212,"satellites":44,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b278","is_valid_coordinates":true} 
[2026-08-28 12:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702814976001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:55:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15894789199233024,"note":"Value kept but may cause issues"} 
[2026-08-28 12:55:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771837440,"note":"Value kept but may cause issues"} 
[2026-08-28 12:55: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-28 12:55:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787901642000,"timestamp_ms":1787901642000,"timestamp_seconds":1787901642,"priority":1,"record_length":96,"hex_timestamp":"000001a0473e0510"} 
[2026-08-28 12:55:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:55:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 12:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-28 12:55:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:55:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:55:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:55:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:55:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:55:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:55:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:55:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702814976001,"66":12885,"105":206,"83":41984,"24":0,"16":15894789199233024,"45":1738670961771837440},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 12:55:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:55:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:55:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702814976001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:55:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 12:55:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:55:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15894789199233024,"km_value":15894789199233.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:55:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771837440,"description":"Unknown IO ID 45"} 
[2026-08-28 12:55:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702814976001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771837440}} 
[2026-08-28 12:55:17] 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":707504,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:55:17] local.INFO: GPS data processed {"connection_id":163687,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:55:17] local.INFO: Acknowledgment sent {"connection_id":163687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:55:33] local.INFO: TCP Data received {"connection_id":163688,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:55:33] local.INFO: Processing buffer {"connection_id":163688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:55:33] local.INFO: IMEI packet received {"connection_id":163688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 12:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":163688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:55:36] local.INFO: TCP Data received {"connection_id":163688,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:55:36] local.INFO: Processing buffer {"connection_id":163688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:55:36] local.INFO: IMEI packet received {"connection_id":163688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 12:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":163688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:55:48] local.INFO: TCP Data received {"connection_id":163687,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0473e5718012d1821000721b278004c00d42d..."} 
[2026-08-28 12:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0473e5718012d1821000721b278004c00d42d..."} 
[2026-08-28 12:55:48] local.INFO: Processing buffer {"connection_id":163687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0473e5718012d1821000721b278004c00d42d..."} 
[2026-08-28 12:55:48] local.INFO: Packet analysis {"connection_id":163687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0473e"} 
[2026-08-28 12:55:48] local.INFO: Extracted packet for processing {"connection_id":163687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0473e"} 
[2026-08-28 12:55:48] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648888,"longitude_deg":75.6556032,"latitude_deg":11.9648888,"altitude":76,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b278","is_valid_coordinates":true} 
[2026-08-28 12:55:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:55:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702820352001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:55:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15894789199233024,"note":"Value kept but may cause issues"} 
[2026-08-28 12:55:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771837440,"note":"Value kept but may cause issues"} 
[2026-08-28 12:55:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:55:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787901663000,"timestamp_ms":1787901663000,"timestamp_seconds":1787901663,"priority":1,"record_length":96,"hex_timestamp":"000001a0473e5718"} 
[2026-08-28 12:55:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:55:48] 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-28 12:55:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-28 12:55:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:55:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:55:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:55:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:55:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:55:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:55:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:55:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:55:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:55:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:55:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702820352001,"66":12885,"105":206,"83":41984,"24":0,"16":15894789199233024,"45":1738670961771837440},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 12:55:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:55:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:55:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702820352001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:55:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 12:55:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:55:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15894789199233024,"km_value":15894789199233.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:55:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771837440,"description":"Unknown IO ID 45"} 
[2026-08-28 12:55:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702820352001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771837440}} 
[2026-08-28 12:55:48] 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":707505,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:55:48] local.INFO: GPS data processed {"connection_id":163687,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:55:48] local.INFO: Acknowledgment sent {"connection_id":163687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:55:51] local.INFO: TCP Data received {"connection_id":163688,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a047401850012d34c14006aa4840000d00e62a..."} 
[2026-08-28 12:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047401850012d34c14006aa4840000d00e62a..."} 
[2026-08-28 12:55:51] local.INFO: Processing buffer {"connection_id":163688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047401850012d34c14006aa4840000d00e62a..."} 
[2026-08-28 12:55:51] local.INFO: Packet analysis {"connection_id":163688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04740"} 
[2026-08-28 12:55:51] local.INFO: Extracted packet for processing {"connection_id":163688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04740"} 
[2026-08-28 12:55:51] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12: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-28 12:55:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702778112001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:55:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:55:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12: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-28 12:55:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787901778000,"timestamp_ms":1787901778000,"timestamp_seconds":1787901778,"priority":1,"record_length":96,"hex_timestamp":"000001a047401850"} 
[2026-08-28 12: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-28 12:55:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12: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":86,"data_length":795,"current_offset":136} 
[2026-08-28 12:55: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-28 12: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-28 12: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-28 12:55:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:55:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:55:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:55:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:55:51] 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-28 12:55:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:55:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:55:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702778112001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:55:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:55:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:55:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702778112001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:55:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:55:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12: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-28 12:55:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:55:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702778112001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:55:51] local.INFO: DEBUG: GPS processor result {"connection_id":163688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:55:51] local.INFO: GPS data processed {"connection_id":163688,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:55:51] local.INFO: Acknowledgment sent {"connection_id":163688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:56:11] local.INFO: TCP Data received {"connection_id":164686,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164686,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:56:11] local.INFO: Processing buffer {"connection_id":164686,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:56:11] local.INFO: IMEI packet received {"connection_id":164686,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 12:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":164686,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:56:14] local.INFO: TCP Data received {"connection_id":164686,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164686,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:56:14] local.INFO: Processing buffer {"connection_id":164686,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:56:14] local.INFO: IMEI packet received {"connection_id":164686,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 12:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":164686,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:56:16] local.INFO: TCP Data received {"connection_id":164686,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164686,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:56:16] local.INFO: Processing buffer {"connection_id":164686,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:56:16] local.INFO: IMEI packet received {"connection_id":164686,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 12:56:16] local.INFO: IMEI acknowledgment sent {"connection_id":164686,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:56:17] local.INFO: TCP Data received {"connection_id":164686,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a04741dd70012d181f800721b130004900d430..."} 
[2026-08-28 12:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04741dd70012d181f800721b130004900d430..."} 
[2026-08-28 12:56:17] local.INFO: Processing buffer {"connection_id":164686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04741dd70012d181f800721b130004900d430..."} 
[2026-08-28 12:56:17] local.INFO: Packet analysis {"connection_id":164686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04741"} 
[2026-08-28 12:56:17] local.INFO: Extracted packet for processing {"connection_id":164686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04741"} 
[2026-08-28 12:56:17] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648560,"longitude_deg":75.6555648,"latitude_deg":11.964856,"altitude":73,"angle":212,"satellites":48,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b130","is_valid_coordinates":true} 
[2026-08-28 12:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:56:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702879488001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:56:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15894832148905984,"note":"Value kept but may cause issues"} 
[2026-08-28 12:56:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306687488,"note":"Value kept but may cause issues"} 
[2026-08-28 12: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-28 12:56:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787901894000,"timestamp_ms":1787901894000,"timestamp_seconds":1787901894,"priority":1,"record_length":96,"hex_timestamp":"000001a04741dd70"} 
[2026-08-28 12:56:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:56:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 12:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-28 12:56: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-28 12:56:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:56:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:56:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:56:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:56:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:56:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:56:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:56:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:56:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:56:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702879488001,"66":12722,"105":206,"83":41984,"24":0,"16":15894832148905984,"45":1738248749306687488},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 12:56:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:56:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:56:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702879488001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:56:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 12:56:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:56:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15894832148905984,"km_value":15894832148905.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:56:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306687488,"description":"Unknown IO ID 45"} 
[2026-08-28 12:56:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702879488001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306687488}} 
[2026-08-28 12:56:17] local.INFO: DEBUG: GPS processor result {"connection_id":164686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707507,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:56:17] local.INFO: GPS data processed {"connection_id":164686,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:56:17] local.INFO: Acknowledgment sent {"connection_id":164686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:56:21] local.INFO: TCP Data received {"connection_id":164686,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a047422f78012d181f800721b130004900d430..."} 
[2026-08-28 12:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047422f78012d181f800721b130004900d430..."} 
[2026-08-28 12:56:21] local.INFO: Processing buffer {"connection_id":164686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047422f78012d181f800721b130004900d430..."} 
[2026-08-28 12:56:21] local.INFO: Packet analysis {"connection_id":164686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04742"} 
[2026-08-28 12:56:21] local.INFO: Extracted packet for processing {"connection_id":164686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04742"} 
[2026-08-28 12:56:21] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648560,"longitude_deg":75.6555648,"latitude_deg":11.964856,"altitude":73,"angle":212,"satellites":48,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b130","is_valid_coordinates":true} 
[2026-08-28 12:56:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:56:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702884864001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:56:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15894832148905984,"note":"Value kept but may cause issues"} 
[2026-08-28 12:56:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306687488,"note":"Value kept but may cause issues"} 
[2026-08-28 12:56:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:56:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787901915000,"timestamp_ms":1787901915000,"timestamp_seconds":1787901915,"priority":1,"record_length":96,"hex_timestamp":"000001a047422f78"} 
[2026-08-28 12:56:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:56:21] 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-28 12:56:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-28 12:56:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:56:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:56:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:56:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:56:21] local.INFO: Teltonika packet parsed successfully {"connection_id":164686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:56:21] local.INFO: Passing IMEI to GPS processor {"connection_id":164686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:56:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":164686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:56:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:56:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:56:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:56:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702884864001,"66":12689,"105":206,"83":41984,"24":0,"16":15894832148905984,"45":1738248749306687488},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 12:56:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:56:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:56:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702884864001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:56:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 12:56:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:56:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15894832148905984,"km_value":15894832148905.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:56:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306687488,"description":"Unknown IO ID 45"} 
[2026-08-28 12:56:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702884864001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306687488}} 
[2026-08-28 12:56:22] local.INFO: DEBUG: GPS processor result {"connection_id":164686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707508,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:56:22] local.INFO: GPS data processed {"connection_id":164686,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:56:22] local.INFO: Acknowledgment sent {"connection_id":164686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:56:31] local.INFO: TCP Data received {"connection_id":164687,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:56:31] local.INFO: Processing buffer {"connection_id":164687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:56:31] local.INFO: IMEI packet received {"connection_id":164687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 12:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":164687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:56:36] local.INFO: TCP Data received {"connection_id":164687,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:56:36] local.INFO: Processing buffer {"connection_id":164687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:56:36] local.INFO: IMEI packet received {"connection_id":164687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 12:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":164687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:56:37] local.INFO: TCP Data received {"connection_id":164687,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a047401850012d34c14006aa4840000d00e62a..."} 
[2026-08-28 12:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047401850012d34c14006aa4840000d00e62a..."} 
[2026-08-28 12:56:37] local.INFO: Processing buffer {"connection_id":164687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047401850012d34c14006aa4840000d00e62a..."} 
[2026-08-28 12:56:37] local.INFO: Packet analysis {"connection_id":164687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04740"} 
[2026-08-28 12:56:37] local.INFO: Extracted packet for processing {"connection_id":164687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04740"} 
[2026-08-28 12:56:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702778112001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787901778000,"timestamp_ms":1787901778000,"timestamp_seconds":1787901778,"priority":1,"record_length":96,"hex_timestamp":"000001a047401850"} 
[2026-08-28 12:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 12:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702778112001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702778112001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:56:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:56:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:56: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-28 12:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702778112001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":164687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:56:37] local.INFO: GPS data processed {"connection_id":164687,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:56:37] local.INFO: Acknowledgment sent {"connection_id":164687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:56:53] local.INFO: TCP Data received {"connection_id":164686,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a047428180012d181e800721af98004e00d330..."} 
[2026-08-28 12:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047428180012d181e800721af98004e00d330..."} 
[2026-08-28 12:56:53] local.INFO: Processing buffer {"connection_id":164686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047428180012d181e800721af98004e00d330..."} 
[2026-08-28 12:56:53] local.INFO: Packet analysis {"connection_id":164686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04742"} 
[2026-08-28 12:56:53] local.INFO: Extracted packet for processing {"connection_id":164686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04742"} 
[2026-08-28 12:56:53] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648152,"longitude_deg":75.6555392,"latitude_deg":11.9648152,"altitude":78,"angle":211,"satellites":48,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721af98","is_valid_coordinates":true} 
[2026-08-28 12:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:56:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702890240001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:56:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15894857918709760,"note":"Value kept but may cause issues"} 
[2026-08-28 12:56:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306687488,"note":"Value kept but may cause issues"} 
[2026-08-28 12:56: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-28 12:56:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787901936000,"timestamp_ms":1787901936000,"timestamp_seconds":1787901936,"priority":1,"record_length":96,"hex_timestamp":"000001a047428180"} 
[2026-08-28 12:56:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:56:53] 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-28 12:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-28 12:56:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:56:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:56:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:56:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:56:53] local.INFO: Teltonika packet parsed successfully {"connection_id":164686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:56:53] local.INFO: Passing IMEI to GPS processor {"connection_id":164686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:56:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":164686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:56:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:56:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:56:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:56:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702890240001,"66":12645,"105":206,"83":41984,"24":0,"16":15894857918709760,"45":1738248749306687488},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 12:56:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:56:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:56:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702890240001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:56:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 12:56:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:56:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15894857918709760,"km_value":15894857918709.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:56:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306687488,"description":"Unknown IO ID 45"} 
[2026-08-28 12:56:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702890240001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306687488}} 
[2026-08-28 12:56:53] local.INFO: DEBUG: GPS processor result {"connection_id":164686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707510,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:56:53] local.INFO: GPS data processed {"connection_id":164686,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:56:53] local.INFO: Acknowledgment sent {"connection_id":164686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:57:08] local.INFO: TCP Data received {"connection_id":164687,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a047401850012d34c14006aa4840000d00e62a..."} 
[2026-08-28 12:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047401850012d34c14006aa4840000d00e62a..."} 
[2026-08-28 12:57:08] local.INFO: Processing buffer {"connection_id":164687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047401850012d34c14006aa4840000d00e62a..."} 
[2026-08-28 12:57:08] local.INFO: Packet analysis {"connection_id":164687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04740"} 
[2026-08-28 12:57:08] local.INFO: Extracted packet for processing {"connection_id":164687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04740"} 
[2026-08-28 12:57:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702778112001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:57: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-28 12:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787901778000,"timestamp_ms":1787901778000,"timestamp_seconds":1787901778,"priority":1,"record_length":96,"hex_timestamp":"000001a047401850"} 
[2026-08-28 12:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:57:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 12:57: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-28 12:57:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:57:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702778112001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702778112001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:57:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:57:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:57: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-28 12:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702778112001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":164687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:57:08] local.INFO: GPS data processed {"connection_id":164687,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:57:08] local.INFO: Acknowledgment sent {"connection_id":164687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:57:11] local.INFO: TCP Data received {"connection_id":163425,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163425,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:57:11] local.INFO: Processing buffer {"connection_id":163425,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:57:11] local.INFO: IMEI packet received {"connection_id":163425,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 12:57:11] local.INFO: IMEI acknowledgment sent {"connection_id":163425,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:57:17] local.INFO: TCP Data received {"connection_id":163425,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163425,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:57:17] local.INFO: Processing buffer {"connection_id":163425,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:57:17] local.INFO: IMEI packet received {"connection_id":163425,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 12:57:17] local.INFO: IMEI acknowledgment sent {"connection_id":163425,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:57:17] local.INFO: TCP Data received {"connection_id":163425,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a04742d388012d181e800721af98004e00d330..."} 
[2026-08-28 12:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04742d388012d181e800721af98004e00d330..."} 
[2026-08-28 12:57:17] local.INFO: Processing buffer {"connection_id":163425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04742d388012d181e800721af98004e00d330..."} 
[2026-08-28 12:57:17] local.INFO: Packet analysis {"connection_id":163425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04742"} 
[2026-08-28 12:57:17] local.INFO: Extracted packet for processing {"connection_id":163425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04742"} 
[2026-08-28 12:57:17] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648152,"longitude_deg":75.6555392,"latitude_deg":11.9648152,"altitude":78,"angle":211,"satellites":48,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721af98","is_valid_coordinates":true} 
[2026-08-28 12:57:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:57:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702895616001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:57:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15894857918709760,"note":"Value kept but may cause issues"} 
[2026-08-28 12:57:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329872384,"note":"Value kept but may cause issues"} 
[2026-08-28 12:57: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-28 12:57:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787901957000,"timestamp_ms":1787901957000,"timestamp_seconds":1787901957,"priority":1,"record_length":96,"hex_timestamp":"000001a04742d388"} 
[2026-08-28 12:57:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:57:17] 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-28 12:57:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-28 12:57: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-28 12:57:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:57:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:57:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:57:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:57:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:57:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:57:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:57:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:57:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:57:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702895616001,"66":12363,"105":206,"83":41984,"24":0,"16":15894857918709760,"45":1737967274329872384},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 12:57:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:57:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:57:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702895616001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:57:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 12:57:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:57:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15894857918709760,"km_value":15894857918709.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:57:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329872384,"description":"Unknown IO ID 45"} 
[2026-08-28 12:57:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702895616001,"power":12363,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329872384}} 
[2026-08-28 12:57:17] local.INFO: DEBUG: GPS processor result {"connection_id":163425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707512,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:57:17] local.INFO: GPS data processed {"connection_id":163425,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:57:17] local.INFO: Acknowledgment sent {"connection_id":163425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:57:30] local.INFO: TCP Data received {"connection_id":166038,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:57:30] local.INFO: Processing buffer {"connection_id":166038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:57:30] local.INFO: IMEI packet received {"connection_id":166038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 12:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":166038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:57:36] local.INFO: TCP Data received {"connection_id":166038,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:57:36] local.INFO: Processing buffer {"connection_id":166038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:57:36] local.INFO: IMEI packet received {"connection_id":166038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 12:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":166038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:57:38] local.INFO: TCP Data received {"connection_id":166038,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a047401850012d34c14006aa4840000d00e62a..."} 
[2026-08-28 12:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047401850012d34c14006aa4840000d00e62a..."} 
[2026-08-28 12:57:38] local.INFO: Processing buffer {"connection_id":166038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047401850012d34c14006aa4840000d00e62a..."} 
[2026-08-28 12:57:38] local.INFO: Packet analysis {"connection_id":166038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04740"} 
[2026-08-28 12:57:38] local.INFO: Extracted packet for processing {"connection_id":166038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04740"} 
[2026-08-28 12:57:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12: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-28 12:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702778112001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:57:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787901778000,"timestamp_ms":1787901778000,"timestamp_seconds":1787901778,"priority":1,"record_length":96,"hex_timestamp":"000001a047401850"} 
[2026-08-28 12: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-28 12:57:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12: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":86,"data_length":795,"current_offset":136} 
[2026-08-28 12:57:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12: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-28 12: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-28 12:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":166038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":166038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":166038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:57:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702778112001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702778112001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:57:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:57:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12: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-28 12:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702778112001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":166038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:57:38] local.INFO: GPS data processed {"connection_id":166038,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:57:38] local.INFO: Acknowledgment sent {"connection_id":166038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:57:48] local.INFO: TCP Data received {"connection_id":163425,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a047432590012d181e800721af98004e00d32f..."} 
[2026-08-28 12:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047432590012d181e800721af98004e00d32f..."} 
[2026-08-28 12:57:48] local.INFO: Processing buffer {"connection_id":163425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047432590012d181e800721af98004e00d32f..."} 
[2026-08-28 12:57:48] local.INFO: Packet analysis {"connection_id":163425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04743"} 
[2026-08-28 12:57:48] local.INFO: Extracted packet for processing {"connection_id":163425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04743"} 
[2026-08-28 12:57:48] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648152,"longitude_deg":75.6555392,"latitude_deg":11.9648152,"altitude":78,"angle":211,"satellites":47,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721af98","is_valid_coordinates":true} 
[2026-08-28 12: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-28 12:57:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702900992001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:57:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15894857918709760,"note":"Value kept but may cause issues"} 
[2026-08-28 12:57:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329872384,"note":"Value kept but may cause issues"} 
[2026-08-28 12:57:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:57:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787901978000,"timestamp_ms":1787901978000,"timestamp_seconds":1787901978,"priority":1,"record_length":96,"hex_timestamp":"000001a047432590"} 
[2026-08-28 12: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-28 12:57:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 12: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-28 12:57:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12: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-28 12: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-28 12:57:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:57:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:57:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:57:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:57:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:57:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:57:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:57:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702900992001,"66":12591,"105":206,"83":41984,"24":0,"16":15894857918709760,"45":1737967274329872384},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 12:57:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:57:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:57:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702900992001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:57:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 12:57:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:57:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15894857918709760,"km_value":15894857918709.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:57:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329872384,"description":"Unknown IO ID 45"} 
[2026-08-28 12:57:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702900992001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329872384}} 
[2026-08-28 12:57:49] local.INFO: DEBUG: GPS processor result {"connection_id":163425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707514,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:57:49] local.INFO: GPS data processed {"connection_id":163425,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:57:49] local.INFO: Acknowledgment sent {"connection_id":163425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:58:10] local.INFO: TCP Data received {"connection_id":166038,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a047401850012d34c14006aa4840000d00e62a..."} 
[2026-08-28 12:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047401850012d34c14006aa4840000d00e62a..."} 
[2026-08-28 12:58:10] local.INFO: Processing buffer {"connection_id":166038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047401850012d34c14006aa4840000d00e62a..."} 
[2026-08-28 12:58:10] local.INFO: Packet analysis {"connection_id":166038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04740"} 
[2026-08-28 12:58:10] local.INFO: Extracted packet for processing {"connection_id":166038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04740"} 
[2026-08-28 12:58:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702778112001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:58:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:58:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787901778000,"timestamp_ms":1787901778000,"timestamp_seconds":1787901778,"priority":1,"record_length":96,"hex_timestamp":"000001a047401850"} 
[2026-08-28 12:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:58:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 12:58:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:58:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":166038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":166038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":166038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:58:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702778112001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702778112001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:58:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:58:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:58:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702778112001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":166038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:58:10] local.INFO: GPS data processed {"connection_id":166038,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:58:10] local.INFO: Acknowledgment sent {"connection_id":166038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:58:11] local.INFO: TCP Data received {"connection_id":164688,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164688,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:58:11] local.INFO: Processing buffer {"connection_id":164688,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:58:11] local.INFO: IMEI packet received {"connection_id":164688,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 12:58:11] local.INFO: IMEI acknowledgment sent {"connection_id":164688,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:58:17] local.INFO: TCP Data received {"connection_id":164688,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164688,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:58:17] local.INFO: Processing buffer {"connection_id":164688,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:58:17] local.INFO: IMEI packet received {"connection_id":164688,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 12:58:17] local.INFO: IMEI acknowledgment sent {"connection_id":164688,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:58:17] local.INFO: TCP Data received {"connection_id":164688,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a047437798012d181e800721af98004e00d32f..."} 
[2026-08-28 12:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047437798012d181e800721af98004e00d32f..."} 
[2026-08-28 12:58:17] local.INFO: Processing buffer {"connection_id":164688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047437798012d181e800721af98004e00d32f..."} 
[2026-08-28 12:58:17] local.INFO: Packet analysis {"connection_id":164688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04743"} 
[2026-08-28 12:58:17] local.INFO: Extracted packet for processing {"connection_id":164688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04743"} 
[2026-08-28 12:58:17] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648152,"longitude_deg":75.6555392,"latitude_deg":11.9648152,"altitude":78,"angle":211,"satellites":47,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721af98","is_valid_coordinates":true} 
[2026-08-28 12: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-28 12:58:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702906368001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:58:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15894857918709760,"note":"Value kept but may cause issues"} 
[2026-08-28 12:58:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329872384,"note":"Value kept but may cause issues"} 
[2026-08-28 12: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-28 12:58:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787901999000,"timestamp_ms":1787901999000,"timestamp_seconds":1787901999,"priority":1,"record_length":96,"hex_timestamp":"000001a047437798"} 
[2026-08-28 12: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-28 12:58: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-28 12: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-28 12:58:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12: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-28 12: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-28 12:58:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:58:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:58:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:58:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:58:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:58:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:58:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:58:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702906368001,"66":12385,"105":206,"83":41984,"24":0,"16":15894857918709760,"45":1737967274329872384},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 12:58:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:58:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:58:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702906368001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:58:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 12:58:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:58:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15894857918709760,"km_value":15894857918709.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:58:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329872384,"description":"Unknown IO ID 45"} 
[2026-08-28 12:58:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702906368001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329872384}} 
[2026-08-28 12:58:17] local.INFO: DEBUG: GPS processor result {"connection_id":164688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707516,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:58:17] local.INFO: GPS data processed {"connection_id":164688,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:58:17] local.INFO: Acknowledgment sent {"connection_id":164688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:58:36] local.INFO: TCP Data received {"connection_id":163426,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:58:36] local.INFO: Processing buffer {"connection_id":163426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:58:36] local.INFO: IMEI packet received {"connection_id":163426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 12:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":163426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:58:36] local.INFO: TCP Data received {"connection_id":163426,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:58:36] local.INFO: Processing buffer {"connection_id":163426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:58:36] local.INFO: IMEI packet received {"connection_id":163426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 12:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":163426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:58:38] local.INFO: TCP Data received {"connection_id":163426,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a04744b018012d34c14006aa4840000a00e62a..."} 
[2026-08-28 12:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04744b018012d34c14006aa4840000a00e62a..."} 
[2026-08-28 12:58:38] local.INFO: Processing buffer {"connection_id":163426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04744b018012d34c14006aa4840000a00e62a..."} 
[2026-08-28 12:58:38] local.INFO: Packet analysis {"connection_id":163426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04744"} 
[2026-08-28 12:58:38] local.INFO: Extracted packet for processing {"connection_id":163426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04744"} 
[2026-08-28 12:58:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702855168001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787902079000,"timestamp_ms":1787902079000,"timestamp_seconds":1787902079,"priority":1,"record_length":96,"hex_timestamp":"000001a04744b018"} 
[2026-08-28 12:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 12:58:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:58:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702855168001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702855168001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:58:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:58:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:58: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-28 12:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702855168001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:58:38] 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":707517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:58:38] local.INFO: GPS data processed {"connection_id":163426,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:58:38] local.INFO: Acknowledgment sent {"connection_id":163426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:58:42] local.INFO: TCP Data received {"connection_id":163426,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a04744b018012d34c14006aa4840000a00e62a..."} 
[2026-08-28 12:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04744b018012d34c14006aa4840000a00e62a..."} 
[2026-08-28 12:58:42] local.INFO: Processing buffer {"connection_id":163426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04744b018012d34c14006aa4840000a00e62a..."} 
[2026-08-28 12:58:42] local.INFO: Packet analysis {"connection_id":163426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04744"} 
[2026-08-28 12:58:42] local.INFO: Extracted packet for processing {"connection_id":163426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04744"} 
[2026-08-28 12:58:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702855168001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:58:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12: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-28 12:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787902079000,"timestamp_ms":1787902079000,"timestamp_seconds":1787902079,"priority":1,"record_length":96,"hex_timestamp":"000001a04744b018"} 
[2026-08-28 12:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12: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-28 12:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 12: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-28 12: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-28 12:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:58:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702855168001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702855168001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:58:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:58:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12: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-28 12:58:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702855168001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:58:42] 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":707518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:58:42] local.INFO: GPS data processed {"connection_id":163426,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:58:42] local.INFO: Acknowledgment sent {"connection_id":163426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:58:49] local.INFO: TCP Data received {"connection_id":164688,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a04743c9a0012d181e000721adb8004c00d430..."} 
[2026-08-28 12:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04743c9a0012d181e000721adb8004c00d430..."} 
[2026-08-28 12:58:49] local.INFO: Processing buffer {"connection_id":164688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04743c9a0012d181e000721adb8004c00d430..."} 
[2026-08-28 12:58:49] local.INFO: Packet analysis {"connection_id":164688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04743"} 
[2026-08-28 12:58:49] local.INFO: Extracted packet for processing {"connection_id":164688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04743"} 
[2026-08-28 12:58:49] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647672,"longitude_deg":75.6555264,"latitude_deg":11.9647672,"altitude":76,"angle":212,"satellites":48,"speed":1,"hex_longitude":"2d181e00","hex_latitude":"0721adb8","is_valid_coordinates":true} 
[2026-08-28 12:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:58:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702911744001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:58:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15894879393546240,"note":"Value kept but may cause issues"} 
[2026-08-28 12:58:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329872384,"note":"Value kept but may cause issues"} 
[2026-08-28 12:58:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:58:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787902020000,"timestamp_ms":1787902020000,"timestamp_seconds":1787902020,"priority":1,"record_length":96,"hex_timestamp":"000001a04743c9a0"} 
[2026-08-28 12:58:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:58:49] 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-28 12:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 12:58:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:58:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:58:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:58:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:58:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:58:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:58:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:58:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:58:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:58:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:58:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702911744001,"66":12645,"105":206,"83":41984,"24":1,"16":15894879393546240,"45":1737967274329872384},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 12:58:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:58:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:58:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702911744001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:58:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 12:58:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:58:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15894879393546240,"km_value":15894879393546.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:58:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329872384,"description":"Unknown IO ID 45"} 
[2026-08-28 12:58:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702911744001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1737967274329872384}} 
[2026-08-28 12:58:49] local.INFO: DEBUG: GPS processor result {"connection_id":164688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707519,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:58:49] local.INFO: GPS data processed {"connection_id":164688,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:58:49] local.INFO: Acknowledgment sent {"connection_id":164688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:59:13] local.INFO: TCP Data received {"connection_id":163426,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a04744b018012d34c14006aa4840000a00e62a..."} 
[2026-08-28 12:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04744b018012d34c14006aa4840000a00e62a..."} 
[2026-08-28 12:59:13] local.INFO: Processing buffer {"connection_id":163426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04744b018012d34c14006aa4840000a00e62a..."} 
[2026-08-28 12:59:13] local.INFO: Packet analysis {"connection_id":163426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04744"} 
[2026-08-28 12:59:13] local.INFO: Extracted packet for processing {"connection_id":163426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04744"} 
[2026-08-28 12:59:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12: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-28 12:59:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702855168001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:59:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:59:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12: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-28 12:59:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787902079000,"timestamp_ms":1787902079000,"timestamp_seconds":1787902079,"priority":1,"record_length":96,"hex_timestamp":"000001a04744b018"} 
[2026-08-28 12: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-28 12: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-28 12: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-28 12: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-28 12: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-28 12: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-28 12:59:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:59:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:59:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:59:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:59: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-28 12:59:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:59:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:59:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702855168001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:59:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:59:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:59:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702855168001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:59:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:59:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12: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-28 12:59:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:59:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702855168001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:59:13] 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":707520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:59:13] local.INFO: GPS data processed {"connection_id":163426,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:59:13] local.INFO: Acknowledgment sent {"connection_id":163426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:59:16] local.INFO: TCP Data received {"connection_id":163427,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163427,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:59:16] local.INFO: Processing buffer {"connection_id":163427,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:59:16] local.INFO: IMEI packet received {"connection_id":163427,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 12:59:16] local.INFO: IMEI acknowledgment sent {"connection_id":163427,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:59:21] local.INFO: TCP Data received {"connection_id":163427,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163427,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:59:21] local.INFO: Processing buffer {"connection_id":163427,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 12:59:21] local.INFO: IMEI packet received {"connection_id":163427,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 12:59:21] local.INFO: IMEI acknowledgment sent {"connection_id":163427,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:59:22] local.INFO: TCP Data received {"connection_id":163427,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a047441ba8012d181e000721ada8004c00d42f..."} 
[2026-08-28 12:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047441ba8012d181e000721ada8004c00d42f..."} 
[2026-08-28 12:59:22] local.INFO: Processing buffer {"connection_id":163427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047441ba8012d181e000721ada8004c00d42f..."} 
[2026-08-28 12:59:22] local.INFO: Packet analysis {"connection_id":163427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04744"} 
[2026-08-28 12:59:22] local.INFO: Extracted packet for processing {"connection_id":163427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04744"} 
[2026-08-28 12:59:22] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647656,"longitude_deg":75.6555264,"latitude_deg":11.9647656,"altitude":76,"angle":212,"satellites":47,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ada8","is_valid_coordinates":true} 
[2026-08-28 12:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702917120001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:59:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15894883688513536,"note":"Value kept but may cause issues"} 
[2026-08-28 12:59:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841394176,"note":"Value kept but may cause issues"} 
[2026-08-28 12:59: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-28 12:59:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787902041000,"timestamp_ms":1787902041000,"timestamp_seconds":1787902041,"priority":1,"record_length":96,"hex_timestamp":"000001a047441ba8"} 
[2026-08-28 12:59:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:59:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 12:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-28 12:59:22] 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-28 12:59:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:59:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:59:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:59:22] local.INFO: Teltonika packet parsed successfully {"connection_id":163427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:59:22] local.INFO: Passing IMEI to GPS processor {"connection_id":163427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:59:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":163427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:59:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:59:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:59:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:59:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702917120001,"66":12602,"105":206,"83":41984,"24":0,"16":15894883688513536,"45":1737826536841394176},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 12:59:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:59:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:59:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702917120001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:59:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 12:59:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:59:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15894883688513536,"km_value":15894883688513.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:59:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841394176,"description":"Unknown IO ID 45"} 
[2026-08-28 12:59:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702917120001,"power":12602,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841394176}} 
[2026-08-28 12:59:22] 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":707521,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:59:22] local.INFO: GPS data processed {"connection_id":163427,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:59:22] local.INFO: Acknowledgment sent {"connection_id":163427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:59:23] local.INFO: TCP Data received {"connection_id":163427,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a047446db0012d181e000721ada8004c00d42f..."} 
[2026-08-28 12:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047446db0012d181e000721ada8004c00d42f..."} 
[2026-08-28 12:59:23] local.INFO: Processing buffer {"connection_id":163427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047446db0012d181e000721ada8004c00d42f..."} 
[2026-08-28 12:59:23] local.INFO: Packet analysis {"connection_id":163427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04744"} 
[2026-08-28 12:59:23] local.INFO: Extracted packet for processing {"connection_id":163427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04744"} 
[2026-08-28 12:59:23] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647656,"longitude_deg":75.6555264,"latitude_deg":11.9647656,"altitude":76,"angle":212,"satellites":47,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ada8","is_valid_coordinates":true} 
[2026-08-28 12:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:59:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702922496001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:59:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15894883688513536,"note":"Value kept but may cause issues"} 
[2026-08-28 12:59:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841390080,"note":"Value kept but may cause issues"} 
[2026-08-28 12:59: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-28 12:59:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787902062000,"timestamp_ms":1787902062000,"timestamp_seconds":1787902062,"priority":1,"record_length":96,"hex_timestamp":"000001a047446db0"} 
[2026-08-28 12:59:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:59:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 12:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-08-28 12:59:23] 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-28 12:59:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:59:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:59:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:59:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:59:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:59:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:59:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:59:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:59:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:59:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702922496001,"66":12602,"105":206,"83":41984,"24":0,"16":15894883688513536,"45":1737826536841390080},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 12:59:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:59:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:59:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702922496001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:59:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 12:59:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:59:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15894883688513536,"km_value":15894883688513.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:59:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841390080,"description":"Unknown IO ID 45"} 
[2026-08-28 12:59:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702922496001,"power":12602,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841390080}} 
[2026-08-28 12:59:23] 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":707522,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:59:23] local.INFO: GPS data processed {"connection_id":163427,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:59:23] local.INFO: Acknowledgment sent {"connection_id":163427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:59:30] local.INFO: TCP Data received {"connection_id":166039,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:59:30] local.INFO: Processing buffer {"connection_id":166039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:59:30] local.INFO: IMEI packet received {"connection_id":166039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 12:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":166039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 12:59:36] local.INFO: TCP Data received {"connection_id":166039,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:59:36] local.INFO: Processing buffer {"connection_id":166039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 12:59:36] local.INFO: IMEI packet received {"connection_id":166039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 12:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":166039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 12:59:37] local.INFO: TCP Data received {"connection_id":166039,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a04744b018012d34c14006aa4840000a00e62a..."} 
[2026-08-28 12:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04744b018012d34c14006aa4840000a00e62a..."} 
[2026-08-28 12:59:37] local.INFO: Processing buffer {"connection_id":166039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04744b018012d34c14006aa4840000a00e62a..."} 
[2026-08-28 12:59:37] local.INFO: Packet analysis {"connection_id":166039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04744"} 
[2026-08-28 12:59:37] local.INFO: Extracted packet for processing {"connection_id":166039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04744"} 
[2026-08-28 12:59:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 12:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702855168001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 12:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 12:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787902079000,"timestamp_ms":1787902079000,"timestamp_seconds":1787902079,"priority":1,"record_length":96,"hex_timestamp":"000001a04744b018"} 
[2026-08-28 12:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 12:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 12:59:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 12:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":166039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":166039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":166039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 12:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 12:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 12:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702855168001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 12:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 12:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 12:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702855168001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:59:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 12:59:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 12:59: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-28 12:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 12:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702855168001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 12:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":166039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:59:37] local.INFO: GPS data processed {"connection_id":166039,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:59:37] local.INFO: Acknowledgment sent {"connection_id":166039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 12:59:54] local.INFO: TCP Data received {"connection_id":163427,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a04744bfb8012d181e000721ada8004c00d42f..."} 
[2026-08-28 12:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04744bfb8012d181e000721ada8004c00d42f..."} 
[2026-08-28 12:59:54] local.INFO: Processing buffer {"connection_id":163427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04744bfb8012d181e000721ada8004c00d42f..."} 
[2026-08-28 12:59:54] local.INFO: Packet analysis {"connection_id":163427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04744"} 
[2026-08-28 12:59:54] local.INFO: Extracted packet for processing {"connection_id":163427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04744"} 
[2026-08-28 12:59:54] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647656,"longitude_deg":75.6555264,"latitude_deg":11.9647656,"altitude":76,"angle":212,"satellites":47,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ada8","is_valid_coordinates":true} 
[2026-08-28 12:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 12:59:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702927872001,"note":"Value kept but may cause issues"} 
[2026-08-28 12:59:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15894883688513536,"note":"Value kept but may cause issues"} 
[2026-08-28 12:59:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841390080,"note":"Value kept but may cause issues"} 
[2026-08-28 12:59:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 12:59:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787902083000,"timestamp_ms":1787902083000,"timestamp_seconds":1787902083,"priority":1,"record_length":96,"hex_timestamp":"000001a04744bfb8"} 
[2026-08-28 12:59:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 12:59:54] 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-28 12:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-08-28 12:59:54] 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-28 12:59:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 12:59:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 12:59:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 12:59:54] local.INFO: Teltonika packet parsed successfully {"connection_id":163427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 12:59:54] local.INFO: Passing IMEI to GPS processor {"connection_id":163427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:59:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":163427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 12:59:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 12:59:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 12:59:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 12:59:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702927872001,"66":12613,"105":206,"83":41984,"24":0,"16":15894883688513536,"45":1737826536841390080},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 12:59:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 12:59:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 12:59:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702927872001,"description":"Unknown IO ID 0"} 
[2026-08-28 12:59:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 12:59:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 12:59:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15894883688513536,"km_value":15894883688513.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 12:59:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841390080,"description":"Unknown IO ID 45"} 
[2026-08-28 12:59:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702927872001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841390080}} 
[2026-08-28 12:59:54] 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":707524,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 12:59:54] local.INFO: GPS data processed {"connection_id":163427,"processed":1,"errors":0,"total":1} 
[2026-08-28 12:59:54] local.INFO: Acknowledgment sent {"connection_id":163427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:00:09] local.INFO: TCP Data received {"connection_id":166039,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a04744b018012d34c14006aa4840000a00e62a..."} 
[2026-08-28 13:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04744b018012d34c14006aa4840000a00e62a..."} 
[2026-08-28 13:00:09] local.INFO: Processing buffer {"connection_id":166039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04744b018012d34c14006aa4840000a00e62a..."} 
[2026-08-28 13:00:09] local.INFO: Packet analysis {"connection_id":166039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04744"} 
[2026-08-28 13:00:09] local.INFO: Extracted packet for processing {"connection_id":166039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04744"} 
[2026-08-28 13:00:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:00:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702855168001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:00:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:00:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:00:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787902079000,"timestamp_ms":1787902079000,"timestamp_seconds":1787902079,"priority":1,"record_length":96,"hex_timestamp":"000001a04744b018"} 
[2026-08-28 13:00:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:00:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 13:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 13:00:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:00:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:00:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":166039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":166039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":166039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:00:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:00:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:00:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:00:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702855168001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 13:00:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:00:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:00:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702855168001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:00:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 13:00:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 13:00: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-28 13:00:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:00:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702855168001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:00:09] local.INFO: DEBUG: GPS processor result {"connection_id":166039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:00:09] local.INFO: GPS data processed {"connection_id":166039,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:00:09] local.INFO: Acknowledgment sent {"connection_id":166039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:00:11] local.INFO: TCP Data received {"connection_id":163689,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163689,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:00:11] local.INFO: Processing buffer {"connection_id":163689,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:00:11] local.INFO: IMEI packet received {"connection_id":163689,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 13:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":163689,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:00:16] local.INFO: TCP Data received {"connection_id":163689,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163689,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:00:16] local.INFO: Processing buffer {"connection_id":163689,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:00:16] local.INFO: IMEI packet received {"connection_id":163689,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:00:16] local.INFO: IMEI acknowledgment sent {"connection_id":163689,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:00:17] local.INFO: TCP Data received {"connection_id":163689,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0474511c0012d181e000721ada8004c00d430..."} 
[2026-08-28 13:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0474511c0012d181e000721ada8004c00d430..."} 
[2026-08-28 13:00:17] local.INFO: Processing buffer {"connection_id":163689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0474511c0012d181e000721ada8004c00d430..."} 
[2026-08-28 13:00:17] local.INFO: Packet analysis {"connection_id":163689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04745"} 
[2026-08-28 13:00:17] local.INFO: Extracted packet for processing {"connection_id":163689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04745"} 
[2026-08-28 13:00:17] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647656,"longitude_deg":75.6555264,"latitude_deg":11.9647656,"altitude":76,"angle":212,"satellites":48,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ada8","is_valid_coordinates":true} 
[2026-08-28 13:00:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:00:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702933248001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:00:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15894883688513536,"note":"Value kept but may cause issues"} 
[2026-08-28 13:00:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841390080,"note":"Value kept but may cause issues"} 
[2026-08-28 13:00: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-28 13:00:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787902104000,"timestamp_ms":1787902104000,"timestamp_seconds":1787902104,"priority":1,"record_length":96,"hex_timestamp":"000001a0474511c0"} 
[2026-08-28 13:00:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:00:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13:00:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-28 13:00:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:00:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:00:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:00:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:00:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:00:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:00:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:00:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:00:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:00:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:00:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702933248001,"66":12591,"105":206,"83":41984,"24":0,"16":15894883688513536,"45":1737826536841390080},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 13:00:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:00:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:00:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702933248001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:00:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 13:00:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 13:00:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15894883688513536,"km_value":15894883688513.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:00:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841390080,"description":"Unknown IO ID 45"} 
[2026-08-28 13:00:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702933248001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841390080}} 
[2026-08-28 13:00:17] 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":707526,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:00:17] local.INFO: GPS data processed {"connection_id":163689,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:00:17] local.INFO: Acknowledgment sent {"connection_id":163689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:00:30] local.INFO: TCP Data received {"connection_id":164689,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:00:30] local.INFO: Processing buffer {"connection_id":164689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:00:30] local.INFO: IMEI packet received {"connection_id":164689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 13:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":164689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:00:36] local.INFO: TCP Data received {"connection_id":164689,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:00:36] local.INFO: Processing buffer {"connection_id":164689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:00:36] local.INFO: IMEI packet received {"connection_id":164689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 13:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":164689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:00:37] local.INFO: TCP Data received {"connection_id":164689,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a04744b018012d34c14006aa4840000a00e62a..."} 
[2026-08-28 13:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04744b018012d34c14006aa4840000a00e62a..."} 
[2026-08-28 13:00:37] local.INFO: Processing buffer {"connection_id":164689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04744b018012d34c14006aa4840000a00e62a..."} 
[2026-08-28 13:00:37] local.INFO: Packet analysis {"connection_id":164689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04744"} 
[2026-08-28 13:00:37] local.INFO: Extracted packet for processing {"connection_id":164689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04744"} 
[2026-08-28 13:00:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702855168001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787902079000,"timestamp_ms":1787902079000,"timestamp_seconds":1787902079,"priority":1,"record_length":96,"hex_timestamp":"000001a04744b018"} 
[2026-08-28 13:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 13:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 13:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702855168001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 13:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702855168001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:00:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 13:00:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 13:00: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-28 13:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702855168001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":164689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:00:37] local.INFO: GPS data processed {"connection_id":164689,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:00:37] local.INFO: Acknowledgment sent {"connection_id":164689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:00:48] local.INFO: TCP Data received {"connection_id":163689,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0474563c8012d181e000721ada8004c00d42f..."} 
[2026-08-28 13:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0474563c8012d181e000721ada8004c00d42f..."} 
[2026-08-28 13:00:48] local.INFO: Processing buffer {"connection_id":163689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0474563c8012d181e000721ada8004c00d42f..."} 
[2026-08-28 13:00:48] local.INFO: Packet analysis {"connection_id":163689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04745"} 
[2026-08-28 13:00:48] local.INFO: Extracted packet for processing {"connection_id":163689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04745"} 
[2026-08-28 13:00:48] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647656,"longitude_deg":75.6555264,"latitude_deg":11.9647656,"altitude":76,"angle":212,"satellites":47,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ada8","is_valid_coordinates":true} 
[2026-08-28 13:00:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:00:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702938624001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:00:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15894883688513536,"note":"Value kept but may cause issues"} 
[2026-08-28 13:00:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841390080,"note":"Value kept but may cause issues"} 
[2026-08-28 13:00:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:00:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787902125000,"timestamp_ms":1787902125000,"timestamp_seconds":1787902125,"priority":1,"record_length":96,"hex_timestamp":"000001a0474563c8"} 
[2026-08-28 13:00:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:00:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13:00:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-28 13:00:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:00:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:00:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:00:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:00:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:00:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:00:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:00:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:00:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:00:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:00:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702938624001,"66":12298,"105":206,"83":41984,"24":0,"16":15894883688513536,"45":1737826536841390080},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 13:00:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:00:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:00:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702938624001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:00:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 13:00:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 13:00:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15894883688513536,"km_value":15894883688513.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:00:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841390080,"description":"Unknown IO ID 45"} 
[2026-08-28 13:00:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702938624001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841390080}} 
[2026-08-28 13:00:48] 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":707528,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:00:48] local.INFO: GPS data processed {"connection_id":163689,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:00:48] local.INFO: Acknowledgment sent {"connection_id":163689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:01:08] local.INFO: TCP Data received {"connection_id":164689,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a04744b018012d34c14006aa4840000a00e62a..."} 
[2026-08-28 13:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04744b018012d34c14006aa4840000a00e62a..."} 
[2026-08-28 13:01:08] local.INFO: Processing buffer {"connection_id":164689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04744b018012d34c14006aa4840000a00e62a..."} 
[2026-08-28 13:01:08] local.INFO: Packet analysis {"connection_id":164689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04744"} 
[2026-08-28 13:01:08] local.INFO: Extracted packet for processing {"connection_id":164689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04744"} 
[2026-08-28 13:01:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702855168001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:01:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:01: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-28 13:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787902079000,"timestamp_ms":1787902079000,"timestamp_seconds":1787902079,"priority":1,"record_length":96,"hex_timestamp":"000001a04744b018"} 
[2026-08-28 13:01:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:01:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 13:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 13:01:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:01:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:01:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:01:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702855168001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 13:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702855168001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:01:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 13:01:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 13:01: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-28 13:01:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702855168001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":164689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:01:08] local.INFO: GPS data processed {"connection_id":164689,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:01:08] local.INFO: Acknowledgment sent {"connection_id":164689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:01:11] local.INFO: TCP Data received {"connection_id":166040,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166040,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:01:11] local.INFO: Processing buffer {"connection_id":166040,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:01:11] local.INFO: IMEI packet received {"connection_id":166040,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 13:01:11] local.INFO: IMEI acknowledgment sent {"connection_id":166040,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:01:16] local.INFO: TCP Data received {"connection_id":166040,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166040,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:01:16] local.INFO: Processing buffer {"connection_id":166040,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:01:16] local.INFO: IMEI packet received {"connection_id":166040,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:01:16] local.INFO: IMEI acknowledgment sent {"connection_id":166040,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:01:17] local.INFO: TCP Data received {"connection_id":166040,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a04745b5d0012d181e000721ada8004c00d42f..."} 
[2026-08-28 13:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04745b5d0012d181e000721ada8004c00d42f..."} 
[2026-08-28 13:01:17] local.INFO: Processing buffer {"connection_id":166040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04745b5d0012d181e000721ada8004c00d42f..."} 
[2026-08-28 13:01:17] local.INFO: Packet analysis {"connection_id":166040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04745"} 
[2026-08-28 13:01:17] local.INFO: Extracted packet for processing {"connection_id":166040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04745"} 
[2026-08-28 13:01:17] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647656,"longitude_deg":75.6555264,"latitude_deg":11.9647656,"altitude":76,"angle":212,"satellites":47,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ada8","is_valid_coordinates":true} 
[2026-08-28 13:01:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:01:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702944000001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:01:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15894883688513536,"note":"Value kept but may cause issues"} 
[2026-08-28 13:01:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841390080,"note":"Value kept but may cause issues"} 
[2026-08-28 13:01: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-28 13:01:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787902146000,"timestamp_ms":1787902146000,"timestamp_seconds":1787902146,"priority":1,"record_length":96,"hex_timestamp":"000001a04745b5d0"} 
[2026-08-28 13:01:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:01: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-28 13:01:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-28 13:01:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-28 13:01:17] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-28 13:01:17] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185656,"note":"Value kept but may cause issues"} 
[2026-08-28 13:01:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-28 13:01:17] local.WARNING: Large IO value detected {"io_id":120,"raw_value":5332261958806667265,"note":"Value kept but may cause issues"} 
[2026-08-28 13:01:17] local.WARNING: Large IO value detected {"io_id":160,"raw_value":5134989300557748254,"note":"Value kept but may cause issues"} 
[2026-08-28 13:01:17] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832564,"note":"Value kept but may cause issues"} 
[2026-08-28 13:01:17] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3486068468815036622,"note":"Value kept but may cause issues"} 
[2026-08-28 13:01:17] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2913468492,"note":"Value kept but may cause issues"} 
[2026-08-28 13:01:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-28 13:01:17] local.WARNING: Large IO value detected {"io_id":201,"raw_value":2684431640,"note":"Value kept but may cause issues"} 
[2026-08-28 13:01:17] local.WARNING: Large IO value detected {"io_id":78,"raw_value":59442897132453888,"note":"Value kept but may cause issues"} 
[2026-08-28 13:01:17] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513884899871949011,"note":"Value kept but may cause issues"} 
[2026-08-28 13:01:17] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,120,160,17,45,173,76,48,10,66,191,47,109,1,240,58,227,71,33,4,113,205,201,30,184,239,49,2,56,7,78,128],"length":534,"final_offset":664,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-28 13:01:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476610445211074560,"timestamp_seconds":5476610445211075.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 13:01:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:01:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:01:17] local.INFO: Teltonika packet parsed successfully {"connection_id":166040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:01:17] local.INFO: Passing IMEI to GPS processor {"connection_id":166040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:01:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":166040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:01:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:01:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:01:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:01:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702944000001,"66":12558,"105":206,"83":41984,"24":0,"16":15894883688513536,"45":1737826536841390080},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 13:01:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:01:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:01:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702944000001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:01:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 13:01:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 13:01:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15894883688513536,"km_value":15894883688513.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:01:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841390080,"description":"Unknown IO ID 45"} 
[2026-08-28 13:01:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702944000001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841390080}} 
[2026-08-28 13:01:17] local.INFO: DEBUG: GPS processor result {"connection_id":166040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707530,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:01:17] local.INFO: GPS data processed {"connection_id":166040,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:01:17] local.INFO: Acknowledgment sent {"connection_id":166040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:01:30] local.INFO: TCP Data received {"connection_id":164691,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:01:30] local.INFO: Processing buffer {"connection_id":164691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:01:30] local.INFO: IMEI packet received {"connection_id":164691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 13:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":164691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:01:36] local.INFO: TCP Data received {"connection_id":164691,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:01:36] local.INFO: Processing buffer {"connection_id":164691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:01:36] local.INFO: IMEI packet received {"connection_id":164691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 13:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":164691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:01:37] local.INFO: TCP Data received {"connection_id":164691,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a04744b018012d34c14006aa4840000a00e62a..."} 
[2026-08-28 13:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04744b018012d34c14006aa4840000a00e62a..."} 
[2026-08-28 13:01:37] local.INFO: Processing buffer {"connection_id":164691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04744b018012d34c14006aa4840000a00e62a..."} 
[2026-08-28 13:01:37] local.INFO: Packet analysis {"connection_id":164691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04744"} 
[2026-08-28 13:01:37] local.INFO: Extracted packet for processing {"connection_id":164691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04744"} 
[2026-08-28 13:01:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702855168001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787902079000,"timestamp_ms":1787902079000,"timestamp_seconds":1787902079,"priority":1,"record_length":96,"hex_timestamp":"000001a04744b018"} 
[2026-08-28 13:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 13:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 13:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702855168001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 13:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702855168001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:01:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 13:01:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 13:01: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-28 13:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702855168001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":164691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:01:37] local.INFO: GPS data processed {"connection_id":164691,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:01:37] local.INFO: Acknowledgment sent {"connection_id":164691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:01:49] local.INFO: TCP Data received {"connection_id":166040,"ip":"42.106.6.18","data_length":93,"data_hex":"00000000000000518e01000001a0474607d8012d181e000721ada8004c00d42e..."} 
[2026-08-28 13:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166040,"packet_length":93,"packet_hex":"00000000000000518e01000001a0474607d8012d181e000721ada8004c00d42e..."} 
[2026-08-28 13:01:49] local.INFO: Processing buffer {"connection_id":166040,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a0474607d8012d181e000721ada8004c00d42e..."} 
[2026-08-28 13:01:49] local.INFO: Packet analysis {"connection_id":166040,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a04746"} 
[2026-08-28 13:01:49] local.INFO: Extracted packet for processing {"connection_id":166040,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a04746"} 
[2026-08-28 13:01:49] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647656,"longitude_deg":75.6555264,"latitude_deg":11.9647656,"altitude":76,"angle":212,"satellites":46,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ada8","is_valid_coordinates":true} 
[2026-08-28 13: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":93,"current_offset":40} 
[2026-08-28 13:01:49] 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-28 13:01:49] 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-28 13:01:49] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:01:49] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-28 13:01:49] local.INFO: Teltonika packet parsed successfully {"connection_id":166040,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-28 13:01:49] local.INFO: Passing IMEI to GPS processor {"connection_id":166040,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-28 13:01:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":166040,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-28 13:01:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-28 13:01:49] local.WARNING: DEBUG: No valid data to process  
[2026-08-28 13:01:49] local.INFO: DEBUG: GPS processor result {"connection_id":166040,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-28 13:01:49] local.ERROR: GPS data processing failed {"connection_id":166040,"error":"No valid data to process"} 
[2026-08-28 13:01:49] local.INFO: Acknowledgment sent {"connection_id":166040,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-28 13:02:08] local.INFO: TCP Data received {"connection_id":164691,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a04744b018012d34c14006aa4840000a00e62a..."} 
[2026-08-28 13:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04744b018012d34c14006aa4840000a00e62a..."} 
[2026-08-28 13:02:08] local.INFO: Processing buffer {"connection_id":164691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04744b018012d34c14006aa4840000a00e62a..."} 
[2026-08-28 13:02:08] local.INFO: Packet analysis {"connection_id":164691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04744"} 
[2026-08-28 13:02:08] local.INFO: Extracted packet for processing {"connection_id":164691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04744"} 
[2026-08-28 13:02:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702855168001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:02: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-28 13:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787902079000,"timestamp_ms":1787902079000,"timestamp_seconds":1787902079,"priority":1,"record_length":96,"hex_timestamp":"000001a04744b018"} 
[2026-08-28 13:02:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:02:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 13:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 13:02:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:02:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:02:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:02:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702855168001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 13:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702855168001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:02:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 13:02:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 13: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-28 13:02:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702855168001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":164691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:02:09] local.INFO: GPS data processed {"connection_id":164691,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:02:09] local.INFO: Acknowledgment sent {"connection_id":164691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:02:11] local.INFO: TCP Data received {"connection_id":163690,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163690,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:02:11] local.INFO: Processing buffer {"connection_id":163690,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:02:11] local.INFO: IMEI packet received {"connection_id":163690,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 13:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":163690,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:02:12] local.INFO: TCP Data received {"connection_id":163690,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163690,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:02:12] local.INFO: Processing buffer {"connection_id":163690,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:02:12] local.INFO: IMEI packet received {"connection_id":163690,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:02:12] local.INFO: IMEI acknowledgment sent {"connection_id":163690,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:02:16] local.INFO: TCP Data received {"connection_id":163690,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163690,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:02:16] local.INFO: Processing buffer {"connection_id":163690,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:02:16] local.INFO: IMEI packet received {"connection_id":163690,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:02:16] local.INFO: IMEI acknowledgment sent {"connection_id":163690,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:02:17] local.INFO: TCP Data received {"connection_id":163690,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0474659e0012d181e000721ada8004c00d42d..."} 
[2026-08-28 13:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0474659e0012d181e000721ada8004c00d42d..."} 
[2026-08-28 13:02:17] local.INFO: Processing buffer {"connection_id":163690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0474659e0012d181e000721ada8004c00d42d..."} 
[2026-08-28 13:02:17] local.INFO: Packet analysis {"connection_id":163690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04746"} 
[2026-08-28 13:02:17] local.INFO: Extracted packet for processing {"connection_id":163690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04746"} 
[2026-08-28 13:02:17] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647656,"longitude_deg":75.6555264,"latitude_deg":11.9647656,"altitude":76,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ada8","is_valid_coordinates":true} 
[2026-08-28 13:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:02:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702954752001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:02:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15894883688513536,"note":"Value kept but may cause issues"} 
[2026-08-28 13:02:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841390080,"note":"Value kept but may cause issues"} 
[2026-08-28 13:02:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:02:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787902188000,"timestamp_ms":1787902188000,"timestamp_seconds":1787902188,"priority":1,"record_length":96,"hex_timestamp":"000001a0474659e0"} 
[2026-08-28 13:02:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:02: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-28 13:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-28 13:02:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-28 13:02:17] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-28 13:02:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-28 13:02:17] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249380116616293816,"note":"Value kept but may cause issues"} 
[2026-08-28 13:02:17] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2913468492,"note":"Value kept but may cause issues"} 
[2026-08-28 13:02:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-28 13:02:17] local.WARNING: Large IO value detected {"io_id":109,"raw_value":2952867096,"note":"Value kept but may cause issues"} 
[2026-08-28 13:02:17] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-28 13:02:17] local.WARNING: Large IO value detected {"io_id":53,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-28 13:02:17] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407846914,"note":"Value kept but may cause issues"} 
[2026-08-28 13:02:17] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,120,160,181,45,173,76,47,10,66,99,17,1,240,227,71,33,4,113,205,109,30,168,239,49,2,56,7,106,53,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-28 13:02:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476610440916107264,"timestamp_seconds":5476610440916107.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 13:02:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:02:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:02:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:02:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:02:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:02:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:02:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:02:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:02:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702954752001,"66":12548,"105":206,"83":41984,"24":0,"16":15894883688513536,"45":1737826536841390080},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 13:02:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:02:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:02:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702954752001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:02:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 13:02:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 13:02:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15894883688513536,"km_value":15894883688513.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:02:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841390080,"description":"Unknown IO ID 45"} 
[2026-08-28 13:02:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702954752001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841390080}} 
[2026-08-28 13:02:17] local.INFO: DEBUG: GPS processor result {"connection_id":163690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707533,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:02:17] local.INFO: GPS data processed {"connection_id":163690,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:02:17] local.INFO: Acknowledgment sent {"connection_id":163690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:02:36] local.INFO: TCP Data received {"connection_id":163691,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:02:36] local.INFO: Processing buffer {"connection_id":163691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:02:36] local.INFO: IMEI packet received {"connection_id":163691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 13:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":163691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:02:41] local.INFO: TCP Data received {"connection_id":163691,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:02:41] local.INFO: Processing buffer {"connection_id":163691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:02:41] local.INFO: IMEI packet received {"connection_id":163691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 13:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":163691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:02:42] local.INFO: TCP Data received {"connection_id":163691,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a04744b018012d34c14006aa4840000a00e62a..."} 
[2026-08-28 13:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04744b018012d34c14006aa4840000a00e62a..."} 
[2026-08-28 13:02:42] local.INFO: Processing buffer {"connection_id":163691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04744b018012d34c14006aa4840000a00e62a..."} 
[2026-08-28 13:02:42] local.INFO: Packet analysis {"connection_id":163691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04744"} 
[2026-08-28 13:02:42] local.INFO: Extracted packet for processing {"connection_id":163691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04744"} 
[2026-08-28 13:02:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702855168001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:02:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13: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-28 13:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787902079000,"timestamp_ms":1787902079000,"timestamp_seconds":1787902079,"priority":1,"record_length":96,"hex_timestamp":"000001a04744b018"} 
[2026-08-28 13:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13: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-28 13:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 13: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-28 13:02:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:02: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-28 13:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702855168001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 13:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702855168001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:02:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 13:02:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 13: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-28 13:02:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702855168001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:02: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":707534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:02:42] local.INFO: GPS data processed {"connection_id":163691,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:02:42] local.INFO: Acknowledgment sent {"connection_id":163691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:02:46] local.INFO: TCP Data received {"connection_id":163691,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a04744b018012d34c14006aa4840000a00e62a..."} 
[2026-08-28 13:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04744b018012d34c14006aa4840000a00e62a..."} 
[2026-08-28 13:02:46] local.INFO: Processing buffer {"connection_id":163691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04744b018012d34c14006aa4840000a00e62a..."} 
[2026-08-28 13:02:46] local.INFO: Packet analysis {"connection_id":163691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04744"} 
[2026-08-28 13:02:46] local.INFO: Extracted packet for processing {"connection_id":163691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04744"} 
[2026-08-28 13:02:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13: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-28 13:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702855168001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:02:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:02: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-28 13:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787902079000,"timestamp_ms":1787902079000,"timestamp_seconds":1787902079,"priority":1,"record_length":96,"hex_timestamp":"000001a04744b018"} 
[2026-08-28 13: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-28 13:02: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-28 13: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 13:02: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-28 13: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-28 13: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-28 13:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:02: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-28 13:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702855168001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 13:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702855168001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:02:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 13:02:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 13:02: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-28 13:02:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702855168001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:02:46] 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":707535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:02:46] local.INFO: GPS data processed {"connection_id":163691,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:02:46] local.INFO: Acknowledgment sent {"connection_id":163691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:02:48] local.INFO: TCP Data received {"connection_id":163690,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a04746abe8012d181e000721ada8004c00d431..."} 
[2026-08-28 13:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04746abe8012d181e000721ada8004c00d431..."} 
[2026-08-28 13:02:48] local.INFO: Processing buffer {"connection_id":163690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04746abe8012d181e000721ada8004c00d431..."} 
[2026-08-28 13:02:48] local.INFO: Packet analysis {"connection_id":163690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04746"} 
[2026-08-28 13:02:48] local.INFO: Extracted packet for processing {"connection_id":163690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04746"} 
[2026-08-28 13:02:48] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647656,"longitude_deg":75.6555264,"latitude_deg":11.9647656,"altitude":76,"angle":212,"satellites":49,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ada8","is_valid_coordinates":true} 
[2026-08-28 13: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-28 13:02:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702960128001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:02:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15894883688513536,"note":"Value kept but may cause issues"} 
[2026-08-28 13:02:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841390080,"note":"Value kept but may cause issues"} 
[2026-08-28 13:02:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:02:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787902209000,"timestamp_ms":1787902209000,"timestamp_seconds":1787902209,"priority":1,"record_length":96,"hex_timestamp":"000001a04746abe8"} 
[2026-08-28 13: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-28 13:02:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-28 13:02:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-28 13:02:48] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-28 13:02:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-28 13:02:48] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184200569037,"note":"Value kept but may cause issues"} 
[2026-08-28 13:02:48] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2913468492,"note":"Value kept but may cause issues"} 
[2026-08-28 13:02:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-28 13:02:48] local.WARNING: Large IO value detected {"io_id":191,"raw_value":3087084824,"note":"Value kept but may cause issues"} 
[2026-08-28 13:02:48] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-28 13:02:48] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,105,83,24,241,157,16,120,160,7,45,173,76,46,10,66,181,47,99,1,240,227,71,33,4,113,205,191,30,168,239,49,2,56,106],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-28 13:02:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476610436621139968,"timestamp_seconds":5476610436621140.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 13: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-28 13:02:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:02:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:02:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:02:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:02:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:02:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:02:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:02:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702960128001,"66":12548,"105":206,"83":41984,"24":0,"16":15894883688513536,"45":1737826536841390080},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 13:02:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:02:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:02:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702960128001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:02:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 13:02:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 13:02:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15894883688513536,"km_value":15894883688513.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:02:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841390080,"description":"Unknown IO ID 45"} 
[2026-08-28 13:02:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702960128001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841390080}} 
[2026-08-28 13:02:49] local.INFO: DEBUG: GPS processor result {"connection_id":163690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707536,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:02:49] local.INFO: GPS data processed {"connection_id":163690,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:02:49] local.INFO: Acknowledgment sent {"connection_id":163690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:03:11] local.INFO: TCP Data received {"connection_id":166041,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166041,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:03:11] local.INFO: Processing buffer {"connection_id":166041,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:03:11] local.INFO: IMEI packet received {"connection_id":166041,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 13:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":166041,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:03:14] local.INFO: TCP Data received {"connection_id":166041,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166041,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:03:14] local.INFO: Processing buffer {"connection_id":166041,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:03:14] local.INFO: IMEI packet received {"connection_id":166041,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":166041,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:03:16] local.INFO: TCP Data received {"connection_id":166041,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166041,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:03:16] local.INFO: Processing buffer {"connection_id":166041,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:03:16] local.INFO: IMEI packet received {"connection_id":166041,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:03:16] local.INFO: IMEI acknowledgment sent {"connection_id":166041,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:03:17] local.INFO: TCP Data received {"connection_id":166041,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a04746fdf0012d181e000721ada8004c00d430..."} 
[2026-08-28 13:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04746fdf0012d181e000721ada8004c00d430..."} 
[2026-08-28 13:03:17] local.INFO: Processing buffer {"connection_id":166041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04746fdf0012d181e000721ada8004c00d430..."} 
[2026-08-28 13:03:17] local.INFO: Packet analysis {"connection_id":166041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04746"} 
[2026-08-28 13:03:17] local.INFO: Extracted packet for processing {"connection_id":166041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04746"} 
[2026-08-28 13:03:17] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647656,"longitude_deg":75.6555264,"latitude_deg":11.9647656,"altitude":76,"angle":212,"satellites":48,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ada8","is_valid_coordinates":true} 
[2026-08-28 13:03:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:03:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702965504001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:03:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15894883688513536,"note":"Value kept but may cause issues"} 
[2026-08-28 13:03:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841390080,"note":"Value kept but may cause issues"} 
[2026-08-28 13:03: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-28 13:03:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787902230000,"timestamp_ms":1787902230000,"timestamp_seconds":1787902230,"priority":1,"record_length":96,"hex_timestamp":"000001a04746fdf0"} 
[2026-08-28 13:03:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:03: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-28 13:03:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-28 13:03:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-28 13:03:17] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-28 13:03:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-28 13:03:17] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-08-28 13:03:17] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2913468492,"note":"Value kept but may cause issues"} 
[2026-08-28 13:03:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-28 13:03:17] local.WARNING: Large IO value detected {"io_id":17,"raw_value":3221302552,"note":"Value kept but may cause issues"} 
[2026-08-28 13:03:17] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-28 13:03:17] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,120,160,89,45,173,76,10,66,7,46,181,1,240,14,227,71,33,4,113,205,17,30,168,48,239,49,2,56,106],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-28 13:03:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476610453801009152,"timestamp_seconds":5476610453801009.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 13:03:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:03:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:03:17] local.INFO: Teltonika packet parsed successfully {"connection_id":166041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:03:17] local.INFO: Passing IMEI to GPS processor {"connection_id":166041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:03:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":166041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:03:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:03:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:03:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:03:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702965504001,"66":12504,"105":206,"83":41984,"24":0,"16":15894883688513536,"45":1737826536841390080},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 13:03:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:03:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:03:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702965504001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:03:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 13:03:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 13:03:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15894883688513536,"km_value":15894883688513.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:03:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841390080,"description":"Unknown IO ID 45"} 
[2026-08-28 13:03:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702965504001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841390080}} 
[2026-08-28 13:03:17] local.INFO: DEBUG: GPS processor result {"connection_id":166041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707537,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:03:17] local.INFO: GPS data processed {"connection_id":166041,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:03:17] local.INFO: Acknowledgment sent {"connection_id":166041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:03:21] local.INFO: TCP Data received {"connection_id":166041,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a047474ff8012d181e000721ada8004c00d42e..."} 
[2026-08-28 13:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047474ff8012d181e000721ada8004c00d42e..."} 
[2026-08-28 13:03:21] local.INFO: Processing buffer {"connection_id":166041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047474ff8012d181e000721ada8004c00d42e..."} 
[2026-08-28 13:03:21] local.INFO: Packet analysis {"connection_id":166041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04747"} 
[2026-08-28 13:03:21] local.INFO: Extracted packet for processing {"connection_id":166041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04747"} 
[2026-08-28 13:03:21] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647656,"longitude_deg":75.6555264,"latitude_deg":11.9647656,"altitude":76,"angle":212,"satellites":46,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ada8","is_valid_coordinates":true} 
[2026-08-28 13:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:03:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702970880001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:03:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15894883688513536,"note":"Value kept but may cause issues"} 
[2026-08-28 13:03:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841390080,"note":"Value kept but may cause issues"} 
[2026-08-28 13:03:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:03:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787902251000,"timestamp_ms":1787902251000,"timestamp_seconds":1787902251,"priority":1,"record_length":96,"hex_timestamp":"000001a047474ff8"} 
[2026-08-28 13:03:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:03:21] 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-28 13:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-28 13:03:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:03:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:03:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:03:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:03:21] local.INFO: Teltonika packet parsed successfully {"connection_id":166041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:03:21] local.INFO: Passing IMEI to GPS processor {"connection_id":166041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:03:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":166041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:03:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:03:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:03:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:03:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702970880001,"66":12526,"105":206,"83":41984,"24":0,"16":15894883688513536,"45":1737826536841390080},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 13:03:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:03:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:03:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702970880001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:03:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 13:03:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 13:03:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15894883688513536,"km_value":15894883688513.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:03:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841390080,"description":"Unknown IO ID 45"} 
[2026-08-28 13:03:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702970880001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841390080}} 
[2026-08-28 13:03:21] local.INFO: DEBUG: GPS processor result {"connection_id":166041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707538,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:03:21] local.INFO: GPS data processed {"connection_id":166041,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:03:21] local.INFO: Acknowledgment sent {"connection_id":166041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:03:34] local.INFO: TCP Data received {"connection_id":164692,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:03:34] local.INFO: Processing buffer {"connection_id":164692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:03:34] local.INFO: IMEI packet received {"connection_id":164692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 13:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":164692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:03:35] local.INFO: TCP Data received {"connection_id":164692,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:03:35] local.INFO: Processing buffer {"connection_id":164692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:03:35] local.INFO: IMEI packet received {"connection_id":164692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 13:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":164692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:03:36] local.INFO: TCP Data received {"connection_id":164692,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a04744b018012d34c14006aa4840000a00e62a..."} 
[2026-08-28 13:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04744b018012d34c14006aa4840000a00e62a..."} 
[2026-08-28 13:03:36] local.INFO: Processing buffer {"connection_id":164692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04744b018012d34c14006aa4840000a00e62a..."} 
[2026-08-28 13:03:36] local.INFO: Packet analysis {"connection_id":164692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04744"} 
[2026-08-28 13:03:36] local.INFO: Extracted packet for processing {"connection_id":164692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04744"} 
[2026-08-28 13:03:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702855168001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:03:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:03:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787902079000,"timestamp_ms":1787902079000,"timestamp_seconds":1787902079,"priority":1,"record_length":96,"hex_timestamp":"000001a04744b018"} 
[2026-08-28 13:03:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:03:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 13:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 13:03:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:03:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:03:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":164692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":164692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":164692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:03:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702855168001,"66":25343,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 13:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702855168001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:03:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 13:03:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 13:03: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-28 13:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702855168001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":164692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:03:37] local.INFO: GPS data processed {"connection_id":164692,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:03:37] local.INFO: Acknowledgment sent {"connection_id":164692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:03:38] local.INFO: TCP Data received {"connection_id":164692,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0474947e0012d34c14006aa4840001500e628..."} 
[2026-08-28 13:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0474947e0012d34c14006aa4840001500e628..."} 
[2026-08-28 13:03:38] local.INFO: Processing buffer {"connection_id":164692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0474947e0012d34c14006aa4840001500e628..."} 
[2026-08-28 13:03:38] local.INFO: Packet analysis {"connection_id":164692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04749"} 
[2026-08-28 13:03:38] local.INFO: Extracted packet for processing {"connection_id":164692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04749"} 
[2026-08-28 13:03:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":21,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702932224001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:03:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787902380000,"timestamp_ms":1787902380000,"timestamp_seconds":1787902380,"priority":1,"record_length":96,"hex_timestamp":"000001a0474947e0"} 
[2026-08-28 13:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 13:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 13:03:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:03:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:03:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702932224001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 13:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702932224001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:03:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 13:03:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 13:03: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-28 13:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702932224001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":164692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:03:38] local.INFO: GPS data processed {"connection_id":164692,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:03:38] local.INFO: Acknowledgment sent {"connection_id":164692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:03:52] local.INFO: TCP Data received {"connection_id":166041,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a04747a200012d181e000721ada8004c00d42f..."} 
[2026-08-28 13:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04747a200012d181e000721ada8004c00d42f..."} 
[2026-08-28 13:03:52] local.INFO: Processing buffer {"connection_id":166041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04747a200012d181e000721ada8004c00d42f..."} 
[2026-08-28 13:03:52] local.INFO: Packet analysis {"connection_id":166041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04747"} 
[2026-08-28 13:03:52] local.INFO: Extracted packet for processing {"connection_id":166041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04747"} 
[2026-08-28 13:03:52] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647656,"longitude_deg":75.6555264,"latitude_deg":11.9647656,"altitude":76,"angle":212,"satellites":47,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ada8","is_valid_coordinates":true} 
[2026-08-28 13:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:03:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702976256001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:03:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15894883688513536,"note":"Value kept but may cause issues"} 
[2026-08-28 13:03:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841390080,"note":"Value kept but may cause issues"} 
[2026-08-28 13:03:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:03:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787902272000,"timestamp_ms":1787902272000,"timestamp_seconds":1787902272,"priority":1,"record_length":96,"hex_timestamp":"000001a04747a200"} 
[2026-08-28 13:03:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:03:52] 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-28 13:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-28 13:03:52] 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-28 13:03:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:03:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:03:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:03:52] local.INFO: Teltonika packet parsed successfully {"connection_id":166041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:03:52] local.INFO: Passing IMEI to GPS processor {"connection_id":166041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:03:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":166041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:03:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:03:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:03:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:03:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702976256001,"66":12504,"105":206,"83":41984,"24":0,"16":15894883688513536,"45":1737826536841390080},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 13:03:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:03:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:03:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702976256001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:03:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 13:03:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 13:03:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15894883688513536,"km_value":15894883688513.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:03:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841390080,"description":"Unknown IO ID 45"} 
[2026-08-28 13:03:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702976256001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841390080}} 
[2026-08-28 13:03:53] local.INFO: DEBUG: GPS processor result {"connection_id":166041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707541,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:03:53] local.INFO: GPS data processed {"connection_id":166041,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:03:53] local.INFO: Acknowledgment sent {"connection_id":166041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:04:09] local.INFO: TCP Data received {"connection_id":164692,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0474947e0012d34c14006aa4840001500e628..."} 
[2026-08-28 13:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0474947e0012d34c14006aa4840001500e628..."} 
[2026-08-28 13:04:09] local.INFO: Processing buffer {"connection_id":164692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0474947e0012d34c14006aa4840001500e628..."} 
[2026-08-28 13:04:09] local.INFO: Packet analysis {"connection_id":164692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04749"} 
[2026-08-28 13:04:09] local.INFO: Extracted packet for processing {"connection_id":164692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04749"} 
[2026-08-28 13:04:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":21,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702932224001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:04:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:04:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787902380000,"timestamp_ms":1787902380000,"timestamp_seconds":1787902380,"priority":1,"record_length":96,"hex_timestamp":"000001a0474947e0"} 
[2026-08-28 13:04:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:04:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 13:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 13:04:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:04:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:04:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:04:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702932224001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 13:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702932224001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:04:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 13:04:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 13:04: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-28 13:04:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702932224001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":164692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:04:09] local.INFO: GPS data processed {"connection_id":164692,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:04:09] local.INFO: Acknowledgment sent {"connection_id":164692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:04:11] local.INFO: TCP Data received {"connection_id":163692,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163692,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:04:11] local.INFO: Processing buffer {"connection_id":163692,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:04:11] local.INFO: IMEI packet received {"connection_id":163692,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 13:04:11] local.INFO: IMEI acknowledgment sent {"connection_id":163692,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:04:16] local.INFO: TCP Data received {"connection_id":163692,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163692,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:04:16] local.INFO: Processing buffer {"connection_id":163692,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:04:16] local.INFO: IMEI packet received {"connection_id":163692,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:04:16] local.INFO: IMEI acknowledgment sent {"connection_id":163692,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:04:17] local.INFO: TCP Data received {"connection_id":163692,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a04747f408012d181e000721ada8004c00d431..."} 
[2026-08-28 13:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04747f408012d181e000721ada8004c00d431..."} 
[2026-08-28 13:04:17] local.INFO: Processing buffer {"connection_id":163692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04747f408012d181e000721ada8004c00d431..."} 
[2026-08-28 13:04:17] local.INFO: Packet analysis {"connection_id":163692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04747"} 
[2026-08-28 13:04:17] local.INFO: Extracted packet for processing {"connection_id":163692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04747"} 
[2026-08-28 13:04:17] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647656,"longitude_deg":75.6555264,"latitude_deg":11.9647656,"altitude":76,"angle":212,"satellites":49,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ada8","is_valid_coordinates":true} 
[2026-08-28 13: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-28 13:04:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702981632001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:04:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15894883688513536,"note":"Value kept but may cause issues"} 
[2026-08-28 13:04:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841390080,"note":"Value kept but may cause issues"} 
[2026-08-28 13:04:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:04:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787902293000,"timestamp_ms":1787902293000,"timestamp_seconds":1787902293,"priority":1,"record_length":96,"hex_timestamp":"000001a04747f408"} 
[2026-08-28 13: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-28 13:04: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-28 13: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-28 13:04:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13: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-28 13: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-28 13:04:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:04:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:04:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:04:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:04:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:04:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:04:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:04:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702981632001,"66":12461,"105":206,"83":41984,"24":0,"16":15894883688513536,"45":1737826536841390080},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 13:04:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:04:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:04:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702981632001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:04:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 13:04:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 13:04:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15894883688513536,"km_value":15894883688513.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:04:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841390080,"description":"Unknown IO ID 45"} 
[2026-08-28 13:04:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702981632001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841390080}} 
[2026-08-28 13:04:17] local.INFO: DEBUG: GPS processor result {"connection_id":163692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707543,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:04:17] local.INFO: GPS data processed {"connection_id":163692,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:04:17] local.INFO: Acknowledgment sent {"connection_id":163692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:04:30] local.INFO: TCP Data received {"connection_id":166042,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:04:30] local.INFO: Processing buffer {"connection_id":166042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:04:30] local.INFO: IMEI packet received {"connection_id":166042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 13:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":166042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:04:36] local.INFO: TCP Data received {"connection_id":166042,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:04:36] local.INFO: Processing buffer {"connection_id":166042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:04:36] local.INFO: IMEI packet received {"connection_id":166042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 13:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":166042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:04:37] local.INFO: TCP Data received {"connection_id":166042,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0474947e0012d34c14006aa4840001500e628..."} 
[2026-08-28 13:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0474947e0012d34c14006aa4840001500e628..."} 
[2026-08-28 13:04:37] local.INFO: Processing buffer {"connection_id":166042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0474947e0012d34c14006aa4840001500e628..."} 
[2026-08-28 13:04:37] local.INFO: Packet analysis {"connection_id":166042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04749"} 
[2026-08-28 13:04:37] local.INFO: Extracted packet for processing {"connection_id":166042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04749"} 
[2026-08-28 13:04:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":21,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702932224001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787902380000,"timestamp_ms":1787902380000,"timestamp_seconds":1787902380,"priority":1,"record_length":96,"hex_timestamp":"000001a0474947e0"} 
[2026-08-28 13:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 13:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 13:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":166042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":166042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":166042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702932224001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 13:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702932224001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:04:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 13:04:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 13:04: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-28 13:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702932224001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":166042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:04:37] local.INFO: GPS data processed {"connection_id":166042,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:04:37] local.INFO: Acknowledgment sent {"connection_id":166042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:04:49] local.INFO: TCP Data received {"connection_id":163692,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a047484610012d181e000721ada8004c00d430..."} 
[2026-08-28 13:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047484610012d181e000721ada8004c00d430..."} 
[2026-08-28 13:04:49] local.INFO: Processing buffer {"connection_id":163692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047484610012d181e000721ada8004c00d430..."} 
[2026-08-28 13:04:49] local.INFO: Packet analysis {"connection_id":163692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04748"} 
[2026-08-28 13:04:49] local.INFO: Extracted packet for processing {"connection_id":163692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04748"} 
[2026-08-28 13:04:49] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647656,"longitude_deg":75.6555264,"latitude_deg":11.9647656,"altitude":76,"angle":212,"satellites":48,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ada8","is_valid_coordinates":true} 
[2026-08-28 13: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-28 13:04:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702987008001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:04:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15894883688513536,"note":"Value kept but may cause issues"} 
[2026-08-28 13:04:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841390080,"note":"Value kept but may cause issues"} 
[2026-08-28 13:04:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:04:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787902314000,"timestamp_ms":1787902314000,"timestamp_seconds":1787902314,"priority":1,"record_length":96,"hex_timestamp":"000001a047484610"} 
[2026-08-28 13: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-28 13:04: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-28 13: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 13:04:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13: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-28 13: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-28 13:04:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:04:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:04:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:04:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:04:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:04:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:04:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:04:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702987008001,"66":12461,"105":206,"83":41984,"24":0,"16":15894883688513536,"45":1737826536841390080},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 13:04:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:04:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:04:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702987008001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:04:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 13:04:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 13:04:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15894883688513536,"km_value":15894883688513.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:04:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841390080,"description":"Unknown IO ID 45"} 
[2026-08-28 13:04:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702987008001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841390080}} 
[2026-08-28 13:04:49] local.INFO: DEBUG: GPS processor result {"connection_id":163692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:04:49] local.INFO: GPS data processed {"connection_id":163692,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:04:49] local.INFO: Acknowledgment sent {"connection_id":163692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:05:09] local.INFO: TCP Data received {"connection_id":166042,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0474947e0012d34c14006aa4840001500e628..."} 
[2026-08-28 13:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0474947e0012d34c14006aa4840001500e628..."} 
[2026-08-28 13:05:09] local.INFO: Processing buffer {"connection_id":166042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0474947e0012d34c14006aa4840001500e628..."} 
[2026-08-28 13:05:09] local.INFO: Packet analysis {"connection_id":166042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04749"} 
[2026-08-28 13:05:09] local.INFO: Extracted packet for processing {"connection_id":166042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04749"} 
[2026-08-28 13:05:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":21,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702932224001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:05:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:05:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:05:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:05:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787902380000,"timestamp_ms":1787902380000,"timestamp_seconds":1787902380,"priority":1,"record_length":96,"hex_timestamp":"000001a0474947e0"} 
[2026-08-28 13:05:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:05:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 13:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 13:05:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:05:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:05:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:05:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:05:09] local.INFO: Teltonika packet parsed successfully {"connection_id":166042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:05:09] local.INFO: Passing IMEI to GPS processor {"connection_id":166042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:05:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":166042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:05:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:05:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:05:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:05:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702932224001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 13:05:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:05:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:05:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702932224001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:05:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 13:05:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 13:05: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-28 13:05:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:05:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702932224001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:05:09] local.INFO: DEBUG: GPS processor result {"connection_id":166042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:05:09] local.INFO: GPS data processed {"connection_id":166042,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:05:09] local.INFO: Acknowledgment sent {"connection_id":166042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:05:16] local.INFO: TCP Data received {"connection_id":164693,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164693,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:05:16] local.INFO: Processing buffer {"connection_id":164693,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:05:16] local.INFO: IMEI packet received {"connection_id":164693,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 13:05:16] local.INFO: IMEI acknowledgment sent {"connection_id":164693,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:05:20] local.INFO: TCP Data received {"connection_id":164693,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164693,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:05:20] local.INFO: Processing buffer {"connection_id":164693,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:05:20] local.INFO: IMEI packet received {"connection_id":164693,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:05:20] local.INFO: IMEI acknowledgment sent {"connection_id":164693,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:05:21] local.INFO: TCP Data received {"connection_id":164693,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a047489818012d181e000721ada8004c00d42e..."} 
[2026-08-28 13:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047489818012d181e000721ada8004c00d42e..."} 
[2026-08-28 13:05:21] local.INFO: Processing buffer {"connection_id":164693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047489818012d181e000721ada8004c00d42e..."} 
[2026-08-28 13:05:21] local.INFO: Packet analysis {"connection_id":164693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04748"} 
[2026-08-28 13:05:21] local.INFO: Extracted packet for processing {"connection_id":164693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04748"} 
[2026-08-28 13:05:21] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647656,"longitude_deg":75.6555264,"latitude_deg":11.9647656,"altitude":76,"angle":212,"satellites":46,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ada8","is_valid_coordinates":true} 
[2026-08-28 13:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702992384001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15894883688513536,"note":"Value kept but may cause issues"} 
[2026-08-28 13:05:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841390080,"note":"Value kept but may cause issues"} 
[2026-08-28 13:05:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787902335000,"timestamp_ms":1787902335000,"timestamp_seconds":1787902335,"priority":1,"record_length":96,"hex_timestamp":"000001a047489818"} 
[2026-08-28 13:05:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:05:21] 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-28 13:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 13:05:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:05:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:05:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":164693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":164693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":164693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:05:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702992384001,"66":12504,"105":206,"83":41984,"24":0,"16":15894883688513536,"45":1737826536841390080},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 13:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702992384001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:05:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 13:05:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 13:05:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15894883688513536,"km_value":15894883688513.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:05:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841390080,"description":"Unknown IO ID 45"} 
[2026-08-28 13:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702992384001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841390080}} 
[2026-08-28 13:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":164693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707547,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:05:21] local.INFO: GPS data processed {"connection_id":164693,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:05:21] local.INFO: Acknowledgment sent {"connection_id":164693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:05:22] local.INFO: TCP Data received {"connection_id":164693,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a04748ea20012d181e000721ada8004c00d42c..."} 
[2026-08-28 13:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04748ea20012d181e000721ada8004c00d42c..."} 
[2026-08-28 13:05:22] local.INFO: Processing buffer {"connection_id":164693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04748ea20012d181e000721ada8004c00d42c..."} 
[2026-08-28 13:05:22] local.INFO: Packet analysis {"connection_id":164693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04748"} 
[2026-08-28 13:05:22] local.INFO: Extracted packet for processing {"connection_id":164693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04748"} 
[2026-08-28 13:05:22] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647656,"longitude_deg":75.6555264,"latitude_deg":11.9647656,"altitude":76,"angle":212,"satellites":44,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ada8","is_valid_coordinates":true} 
[2026-08-28 13:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:05:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702997760001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:05:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15894883688513536,"note":"Value kept but may cause issues"} 
[2026-08-28 13:05:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841390080,"note":"Value kept but may cause issues"} 
[2026-08-28 13:05: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-28 13:05:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787902356000,"timestamp_ms":1787902356000,"timestamp_seconds":1787902356,"priority":1,"record_length":96,"hex_timestamp":"000001a04748ea20"} 
[2026-08-28 13:05:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:05:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-28 13:05: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-28 13:05:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:05:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:05:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:05:22] local.INFO: Teltonika packet parsed successfully {"connection_id":164693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:05:22] local.INFO: Passing IMEI to GPS processor {"connection_id":164693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:05:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":164693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:05:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:05:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:05:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:05:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702997760001,"66":12428,"105":206,"83":41984,"24":0,"16":15894883688513536,"45":1737826536841390080},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 13:05:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:05:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:05:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702997760001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:05:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 13:05:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 13:05:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15894883688513536,"km_value":15894883688513.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:05:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841390080,"description":"Unknown IO ID 45"} 
[2026-08-28 13:05:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702997760001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841390080}} 
[2026-08-28 13:05:22] local.INFO: DEBUG: GPS processor result {"connection_id":164693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707548,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:05:22] local.INFO: GPS data processed {"connection_id":164693,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:05:22] local.INFO: Acknowledgment sent {"connection_id":164693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:05:30] local.INFO: TCP Data received {"connection_id":163693,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:05:30] local.INFO: Processing buffer {"connection_id":163693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:05:30] local.INFO: IMEI packet received {"connection_id":163693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 13:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":163693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:05:36] local.INFO: TCP Data received {"connection_id":163693,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:05:36] local.INFO: Processing buffer {"connection_id":163693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:05:36] local.INFO: IMEI packet received {"connection_id":163693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 13:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":163693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:05:37] local.INFO: TCP Data received {"connection_id":163693,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0474947e0012d34c14006aa4840001500e628..."} 
[2026-08-28 13:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0474947e0012d34c14006aa4840001500e628..."} 
[2026-08-28 13:05:37] local.INFO: Processing buffer {"connection_id":163693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0474947e0012d34c14006aa4840001500e628..."} 
[2026-08-28 13:05:37] local.INFO: Packet analysis {"connection_id":163693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04749"} 
[2026-08-28 13:05:37] local.INFO: Extracted packet for processing {"connection_id":163693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04749"} 
[2026-08-28 13:05:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":21,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702932224001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787902380000,"timestamp_ms":1787902380000,"timestamp_seconds":1787902380,"priority":1,"record_length":96,"hex_timestamp":"000001a0474947e0"} 
[2026-08-28 13:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 13:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 13:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702932224001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 13:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702932224001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:05:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 13:05:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 13:05: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-28 13:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702932224001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:05:37] 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":707549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:05:37] local.INFO: GPS data processed {"connection_id":163693,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:05:37] local.INFO: Acknowledgment sent {"connection_id":163693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:05:53] local.INFO: TCP Data received {"connection_id":164693,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a047493c28012d181e000721ada8004c00d42c..."} 
[2026-08-28 13:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047493c28012d181e000721ada8004c00d42c..."} 
[2026-08-28 13:05:53] local.INFO: Processing buffer {"connection_id":164693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047493c28012d181e000721ada8004c00d42c..."} 
[2026-08-28 13:05:53] local.INFO: Packet analysis {"connection_id":164693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04749"} 
[2026-08-28 13:05:53] local.INFO: Extracted packet for processing {"connection_id":164693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04749"} 
[2026-08-28 13:05:53] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647656,"longitude_deg":75.6555264,"latitude_deg":11.9647656,"altitude":76,"angle":212,"satellites":44,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ada8","is_valid_coordinates":true} 
[2026-08-28 13:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:05:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703003136001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:05:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15894883688513536,"note":"Value kept but may cause issues"} 
[2026-08-28 13:05:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841390080,"note":"Value kept but may cause issues"} 
[2026-08-28 13:05: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-28 13:05:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787902377000,"timestamp_ms":1787902377000,"timestamp_seconds":1787902377,"priority":1,"record_length":96,"hex_timestamp":"000001a047493c28"} 
[2026-08-28 13:05:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:05:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-28 13:05:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:05:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:05:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:05:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:05:53] local.INFO: Teltonika packet parsed successfully {"connection_id":164693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:05:53] local.INFO: Passing IMEI to GPS processor {"connection_id":164693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:05:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":164693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:05:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:05:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:05:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:05:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703003136001,"66":12189,"105":206,"83":41984,"24":0,"16":15894883688513536,"45":1737826536841390080},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 13:05:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:05:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:05:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703003136001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:05:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 13:05:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 13:05:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15894883688513536,"km_value":15894883688513.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:05:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841390080,"description":"Unknown IO ID 45"} 
[2026-08-28 13:05:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703003136001,"power":12189,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841390080}} 
[2026-08-28 13:05:53] local.INFO: DEBUG: GPS processor result {"connection_id":164693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707550,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:05:53] local.INFO: GPS data processed {"connection_id":164693,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:05:53] local.INFO: Acknowledgment sent {"connection_id":164693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:06:09] local.INFO: TCP Data received {"connection_id":163693,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0474947e0012d34c14006aa4840001500e628..."} 
[2026-08-28 13:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0474947e0012d34c14006aa4840001500e628..."} 
[2026-08-28 13:06:09] local.INFO: Processing buffer {"connection_id":163693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0474947e0012d34c14006aa4840001500e628..."} 
[2026-08-28 13:06:09] local.INFO: Packet analysis {"connection_id":163693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04749"} 
[2026-08-28 13:06:09] local.INFO: Extracted packet for processing {"connection_id":163693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04749"} 
[2026-08-28 13:06:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":21,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702932224001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:06:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:06:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787902380000,"timestamp_ms":1787902380000,"timestamp_seconds":1787902380,"priority":1,"record_length":96,"hex_timestamp":"000001a0474947e0"} 
[2026-08-28 13:06:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:06:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 13:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 13:06:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:06:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:06:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:06:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702932224001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 13:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702932224001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:06:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 13:06:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 13:06: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-28 13:06:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702932224001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:06:09] 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":707551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:06:09] local.INFO: GPS data processed {"connection_id":163693,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:06:09] local.INFO: Acknowledgment sent {"connection_id":163693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:06:11] local.INFO: TCP Data received {"connection_id":166043,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:06:11] local.INFO: Processing buffer {"connection_id":166043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:06:11] local.INFO: IMEI packet received {"connection_id":166043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 13:06:11] local.INFO: IMEI acknowledgment sent {"connection_id":166043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:06:16] local.INFO: TCP Data received {"connection_id":166043,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:06:16] local.INFO: Processing buffer {"connection_id":166043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:06:16] local.INFO: IMEI packet received {"connection_id":166043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":166043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:06:17] local.INFO: TCP Data received {"connection_id":166043,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a047498e30012d181e000721ada8004c00d42c..."} 
[2026-08-28 13:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047498e30012d181e000721ada8004c00d42c..."} 
[2026-08-28 13:06:17] local.INFO: Processing buffer {"connection_id":166043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047498e30012d181e000721ada8004c00d42c..."} 
[2026-08-28 13:06:17] local.INFO: Packet analysis {"connection_id":166043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04749"} 
[2026-08-28 13:06:17] local.INFO: Extracted packet for processing {"connection_id":166043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04749"} 
[2026-08-28 13:06:17] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647656,"longitude_deg":75.6555264,"latitude_deg":11.9647656,"altitude":76,"angle":212,"satellites":44,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ada8","is_valid_coordinates":true} 
[2026-08-28 13: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-28 13:06:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703008512001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:06:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15894883688513536,"note":"Value kept but may cause issues"} 
[2026-08-28 13:06:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841390080,"note":"Value kept but may cause issues"} 
[2026-08-28 13:06:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:06:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787902398000,"timestamp_ms":1787902398000,"timestamp_seconds":1787902398,"priority":1,"record_length":96,"hex_timestamp":"000001a047498e30"} 
[2026-08-28 13: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-28 13:06: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-28 13: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":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-28 13:06:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13: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-28 13: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-28 13:06:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:06:17] local.INFO: Teltonika packet parsed successfully {"connection_id":166043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:06:17] local.INFO: Passing IMEI to GPS processor {"connection_id":166043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:06:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":166043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:06:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:06:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:06:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:06:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703008512001,"66":12461,"105":206,"83":41984,"24":0,"16":15894883688513536,"45":1737826536841390080},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 13:06:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:06:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:06:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703008512001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:06:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 13:06:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 13:06:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15894883688513536,"km_value":15894883688513.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:06:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841390080,"description":"Unknown IO ID 45"} 
[2026-08-28 13:06:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703008512001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841390080}} 
[2026-08-28 13:06:17] local.INFO: DEBUG: GPS processor result {"connection_id":166043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707552,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:06:17] local.INFO: GPS data processed {"connection_id":166043,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:06:17] local.INFO: Acknowledgment sent {"connection_id":166043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:06:30] local.INFO: TCP Data received {"connection_id":163428,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:06:30] local.INFO: Processing buffer {"connection_id":163428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:06:30] local.INFO: IMEI packet received {"connection_id":163428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 13:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":163428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:06:36] local.INFO: TCP Data received {"connection_id":163428,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:06:36] local.INFO: Processing buffer {"connection_id":163428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:06:36] local.INFO: IMEI packet received {"connection_id":163428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 13:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":163428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:06:36] local.INFO: TCP Data received {"connection_id":163428,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0474947e0012d34c14006aa4840001500e628..."} 
[2026-08-28 13:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0474947e0012d34c14006aa4840001500e628..."} 
[2026-08-28 13:06:36] local.INFO: Processing buffer {"connection_id":163428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0474947e0012d34c14006aa4840001500e628..."} 
[2026-08-28 13:06:36] local.INFO: Packet analysis {"connection_id":163428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04749"} 
[2026-08-28 13:06:36] local.INFO: Extracted packet for processing {"connection_id":163428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04749"} 
[2026-08-28 13:06:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":21,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702932224001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787902380000,"timestamp_ms":1787902380000,"timestamp_seconds":1787902380,"priority":1,"record_length":96,"hex_timestamp":"000001a0474947e0"} 
[2026-08-28 13:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 13:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 13:06:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:06:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:06:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702932224001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 13:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702932224001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:06:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 13:06:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 13:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702932224001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:06:36] 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":707553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:06:36] local.INFO: GPS data processed {"connection_id":163428,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:06:36] local.INFO: Acknowledgment sent {"connection_id":163428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:06:48] local.INFO: TCP Data received {"connection_id":166043,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a04749e038012d181e000721ada8004c00d42a..."} 
[2026-08-28 13:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04749e038012d181e000721ada8004c00d42a..."} 
[2026-08-28 13:06:48] local.INFO: Processing buffer {"connection_id":166043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04749e038012d181e000721ada8004c00d42a..."} 
[2026-08-28 13:06:48] local.INFO: Packet analysis {"connection_id":166043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04749"} 
[2026-08-28 13:06:48] local.INFO: Extracted packet for processing {"connection_id":166043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04749"} 
[2026-08-28 13:06:48] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647656,"longitude_deg":75.6555264,"latitude_deg":11.9647656,"altitude":76,"angle":212,"satellites":42,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ada8","is_valid_coordinates":true} 
[2026-08-28 13:06:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:06:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703013888001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:06:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15894883688513536,"note":"Value kept but may cause issues"} 
[2026-08-28 13:06:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841390080,"note":"Value kept but may cause issues"} 
[2026-08-28 13:06:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:06:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787902419000,"timestamp_ms":1787902419000,"timestamp_seconds":1787902419,"priority":1,"record_length":96,"hex_timestamp":"000001a04749e038"} 
[2026-08-28 13:06:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:06:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13:06:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 13:06:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:06:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:06:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:06:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:06:48] local.INFO: Teltonika packet parsed successfully {"connection_id":166043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:06:48] local.INFO: Passing IMEI to GPS processor {"connection_id":166043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:06:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":166043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:06:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:06:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:06:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:06:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703013888001,"66":12428,"105":206,"83":41984,"24":0,"16":15894883688513536,"45":1737826536841390080},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 13:06:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:06:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:06:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703013888001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:06:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 13:06:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 13:06:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15894883688513536,"km_value":15894883688513.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:06:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841390080,"description":"Unknown IO ID 45"} 
[2026-08-28 13:06:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703013888001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841390080}} 
[2026-08-28 13:06:48] local.INFO: DEBUG: GPS processor result {"connection_id":166043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707554,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:06:48] local.INFO: GPS data processed {"connection_id":166043,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:06:48] local.INFO: Acknowledgment sent {"connection_id":166043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:07:08] local.INFO: TCP Data received {"connection_id":163428,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0474947e0012d34c14006aa4840001500e628..."} 
[2026-08-28 13:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0474947e0012d34c14006aa4840001500e628..."} 
[2026-08-28 13:07:08] local.INFO: Processing buffer {"connection_id":163428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0474947e0012d34c14006aa4840001500e628..."} 
[2026-08-28 13:07:08] local.INFO: Packet analysis {"connection_id":163428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04749"} 
[2026-08-28 13:07:08] local.INFO: Extracted packet for processing {"connection_id":163428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04749"} 
[2026-08-28 13:07:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":21,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457702932224001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:07:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787902380000,"timestamp_ms":1787902380000,"timestamp_seconds":1787902380,"priority":1,"record_length":96,"hex_timestamp":"000001a0474947e0"} 
[2026-08-28 13:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:07: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-28 13:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 13:07:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:07:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:07:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457702932224001,"66":25375,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"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-28 13:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457702932224001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:07:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 13:07:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 13:07: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-28 13:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457702932224001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:07:08] 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":707555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:07:08] local.INFO: GPS data processed {"connection_id":163428,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:07:08] local.INFO: Acknowledgment sent {"connection_id":163428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:07:11] local.INFO: TCP Data received {"connection_id":164694,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164694,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:07:11] local.INFO: Processing buffer {"connection_id":164694,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:07:11] local.INFO: IMEI packet received {"connection_id":164694,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 13:07:11] local.INFO: IMEI acknowledgment sent {"connection_id":164694,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:07:16] local.INFO: TCP Data received {"connection_id":164694,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164694,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:07:16] local.INFO: Processing buffer {"connection_id":164694,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:07:16] local.INFO: IMEI packet received {"connection_id":164694,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:07:16] local.INFO: IMEI acknowledgment sent {"connection_id":164694,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:07:17] local.INFO: TCP Data received {"connection_id":164694,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0474a3240012d181e000721ada8004c00d430..."} 
[2026-08-28 13:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0474a3240012d181e000721ada8004c00d430..."} 
[2026-08-28 13:07:17] local.INFO: Processing buffer {"connection_id":164694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0474a3240012d181e000721ada8004c00d430..."} 
[2026-08-28 13:07:17] local.INFO: Packet analysis {"connection_id":164694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0474a"} 
[2026-08-28 13:07:17] local.INFO: Extracted packet for processing {"connection_id":164694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0474a"} 
[2026-08-28 13:07:17] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647656,"longitude_deg":75.6555264,"latitude_deg":11.9647656,"altitude":76,"angle":212,"satellites":48,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ada8","is_valid_coordinates":true} 
[2026-08-28 13:07:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:07:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703019264001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:07:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15894883688513536,"note":"Value kept but may cause issues"} 
[2026-08-28 13:07:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841390080,"note":"Value kept but may cause issues"} 
[2026-08-28 13:07: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-28 13:07:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787902440000,"timestamp_ms":1787902440000,"timestamp_seconds":1787902440,"priority":1,"record_length":96,"hex_timestamp":"000001a0474a3240"} 
[2026-08-28 13:07:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:07:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13:07:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-28 13:07:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:07:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:07:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:07:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:07:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:07:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:07:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:07:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:07:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:07:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:07:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703019264001,"66":12504,"105":206,"83":41984,"24":0,"16":15894883688513536,"45":1737826536841390080},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 13:07:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:07:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:07:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703019264001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:07:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 13:07:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 13:07:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15894883688513536,"km_value":15894883688513.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:07:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841390080,"description":"Unknown IO ID 45"} 
[2026-08-28 13:07:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703019264001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841390080}} 
[2026-08-28 13:07:17] local.INFO: DEBUG: GPS processor result {"connection_id":164694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707556,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:07:17] local.INFO: GPS data processed {"connection_id":164694,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:07:17] local.INFO: Acknowledgment sent {"connection_id":164694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:07:36] local.INFO: TCP Data received {"connection_id":163429,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:07:36] local.INFO: Processing buffer {"connection_id":163429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:07:36] local.INFO: IMEI packet received {"connection_id":163429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 13:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":163429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:07:41] local.INFO: TCP Data received {"connection_id":163429,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:07:41] local.INFO: Processing buffer {"connection_id":163429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:07:41] local.INFO: IMEI packet received {"connection_id":163429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 13:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":163429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:07:48] local.INFO: TCP Data received {"connection_id":164694,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0474a8448012d181e000721ada8004c00d431..."} 
[2026-08-28 13:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0474a8448012d181e000721ada8004c00d431..."} 
[2026-08-28 13:07:48] local.INFO: Processing buffer {"connection_id":164694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0474a8448012d181e000721ada8004c00d431..."} 
[2026-08-28 13:07:48] local.INFO: Packet analysis {"connection_id":164694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0474a"} 
[2026-08-28 13:07:48] local.INFO: Extracted packet for processing {"connection_id":164694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0474a"} 
[2026-08-28 13:07:48] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647656,"longitude_deg":75.6555264,"latitude_deg":11.9647656,"altitude":76,"angle":212,"satellites":49,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ada8","is_valid_coordinates":true} 
[2026-08-28 13: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-28 13:07:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703024640001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:07:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15894883688513536,"note":"Value kept but may cause issues"} 
[2026-08-28 13:07:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841390080,"note":"Value kept but may cause issues"} 
[2026-08-28 13:07:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:07:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787902461000,"timestamp_ms":1787902461000,"timestamp_seconds":1787902461,"priority":1,"record_length":96,"hex_timestamp":"000001a0474a8448"} 
[2026-08-28 13: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-28 13:07:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-28 13:07:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13: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-28 13: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-28 13:07:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:07:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:07:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:07:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:07:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:07:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:07:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:07:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703024640001,"66":12461,"105":206,"83":41984,"24":0,"16":15894883688513536,"45":1737826536841390080},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 13:07:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:07:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:07:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703024640001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:07:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 13:07:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 13:07:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15894883688513536,"km_value":15894883688513.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:07:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841390080,"description":"Unknown IO ID 45"} 
[2026-08-28 13:07:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703024640001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841390080}} 
[2026-08-28 13:07:48] local.INFO: DEBUG: GPS processor result {"connection_id":164694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707557,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:07:48] local.INFO: GPS data processed {"connection_id":164694,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:07:48] local.INFO: Acknowledgment sent {"connection_id":164694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:11:11] local.INFO: TCP Data received {"connection_id":163694,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163694,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:11:11] local.INFO: Processing buffer {"connection_id":163694,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:11:11] local.INFO: IMEI packet received {"connection_id":163694,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 13:11:11] local.INFO: IMEI acknowledgment sent {"connection_id":163694,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:11:16] local.INFO: TCP Data received {"connection_id":163694,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163694,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:11:16] local.INFO: Processing buffer {"connection_id":163694,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:11:16] local.INFO: IMEI packet received {"connection_id":163694,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:11:16] local.INFO: IMEI acknowledgment sent {"connection_id":163694,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:11:17] local.INFO: TCP Data received {"connection_id":163694,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0474e7800012d1710c007208c70002b00e22d..."} 
[2026-08-28 13:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0474e7800012d1710c007208c70002b00e22d..."} 
[2026-08-28 13:11:17] local.INFO: Processing buffer {"connection_id":163694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0474e7800012d1710c007208c70002b00e22d..."} 
[2026-08-28 13:11:17] local.INFO: Packet analysis {"connection_id":163694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0474e"} 
[2026-08-28 13:11:17] local.INFO: Extracted packet for processing {"connection_id":163694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0474e"} 
[2026-08-28 13:11:17] local.INFO: GPS Element Parsed {"raw_longitude":756486336,"raw_latitude":119573616,"longitude_deg":75.6486336,"latitude_deg":11.9573616,"altitude":43,"angle":226,"satellites":45,"speed":30,"hex_longitude":"2d1710c0","hex_latitude":"07208c70","is_valid_coordinates":true} 
[2026-08-28 13:11:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:11:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703094272001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:11:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15899788541165568,"note":"Value kept but may cause issues"} 
[2026-08-28 13:11:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1669850329948491776,"note":"Value kept but may cause issues"} 
[2026-08-28 13:11:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:11:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787902720000,"timestamp_ms":1787902720000,"timestamp_seconds":1787902720,"priority":1,"record_length":96,"hex_timestamp":"000001a0474e7800"} 
[2026-08-28 13:11:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:11:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13:11:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-28 13:11: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-28 13:11:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:11:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:11:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:11:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:11:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:11:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:11:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:11:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:11:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:11:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703094272001,"66":13102,"107":206,"83":41984,"24":30,"16":15899788541165568,"45":1669850329948491776},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-28 13:11:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:11:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:11:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703094272001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:11:17] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-28 13:11:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 13:11:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15899788541165568,"km_value":15899788541165.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:11:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1669850329948491776,"description":"Unknown IO ID 45"} 
[2026-08-28 13:11:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703094272001,"power":13102,"unknown_107":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1669850329948491776}} 
[2026-08-28 13:11:17] 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":707558,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:11:17] local.INFO: GPS data processed {"connection_id":163694,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:11:17] local.INFO: Acknowledgment sent {"connection_id":163694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:11:49] local.INFO: TCP Data received {"connection_id":163694,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0474e8f70012d170a80072085f0002800f62d..."} 
[2026-08-28 13:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0474e8f70012d170a80072085f0002800f62d..."} 
[2026-08-28 13:11:49] local.INFO: Processing buffer {"connection_id":163694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0474e8f70012d170a80072085f0002800f62d..."} 
[2026-08-28 13:11:49] local.INFO: Packet analysis {"connection_id":163694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0474e"} 
[2026-08-28 13:11:49] local.INFO: Extracted packet for processing {"connection_id":163694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0474e"} 
[2026-08-28 13:11:49] local.INFO: GPS Element Parsed {"raw_longitude":756484736,"raw_latitude":119571952,"longitude_deg":75.6484736,"latitude_deg":11.9571952,"altitude":40,"angle":246,"satellites":45,"speed":5,"hex_longitude":"2d170a80","hex_latitude":"072085f0","is_valid_coordinates":true} 
[2026-08-28 13: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-28 13:11:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703096320001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:11:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15899900210315264,"note":"Value kept but may cause issues"} 
[2026-08-28 13:11:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1662039399343091712,"note":"Value kept but may cause issues"} 
[2026-08-28 13:11:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:11:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787902726000,"timestamp_ms":1787902726000,"timestamp_seconds":1787902726,"priority":1,"record_length":96,"hex_timestamp":"000001a0474e8f70"} 
[2026-08-28 13: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-28 13:11:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-28 13:11:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13: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-28 13: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-28 13:11:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:11:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:11:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:11:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:11:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:11:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:11:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:11:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703096320001,"66":13135,"107":206,"83":41984,"24":5,"16":15899900210315264,"45":1662039399343091712},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-28 13:11:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:11:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:11:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703096320001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:11:49] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-28 13:11:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 13:11:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15899900210315264,"km_value":15899900210315.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:11:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1662039399343091712,"description":"Unknown IO ID 45"} 
[2026-08-28 13:11:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703096320001,"power":13135,"unknown_107":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1662039399343091712}} 
[2026-08-28 13:11:49] 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":707559,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:11:49] local.INFO: GPS data processed {"connection_id":163694,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:11:49] local.INFO: Acknowledgment sent {"connection_id":163694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:12:11] local.INFO: TCP Data received {"connection_id":163695,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163695,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:12:11] local.INFO: Processing buffer {"connection_id":163695,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:12:11] local.INFO: IMEI packet received {"connection_id":163695,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 13:12:11] local.INFO: IMEI acknowledgment sent {"connection_id":163695,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:12:16] local.INFO: TCP Data received {"connection_id":163695,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163695,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:12:16] local.INFO: Processing buffer {"connection_id":163695,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:12:16] local.INFO: IMEI packet received {"connection_id":163695,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:12:16] local.INFO: IMEI acknowledgment sent {"connection_id":163695,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:12:17] local.INFO: TCP Data received {"connection_id":163695,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0474ea2f8012d1708c0072086a0002701412b..."} 
[2026-08-28 13:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0474ea2f8012d1708c0072086a0002701412b..."} 
[2026-08-28 13:12:17] local.INFO: Processing buffer {"connection_id":163695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0474ea2f8012d1708c0072086a0002701412b..."} 
[2026-08-28 13:12:17] local.INFO: Packet analysis {"connection_id":163695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0474e"} 
[2026-08-28 13:12:17] local.INFO: Extracted packet for processing {"connection_id":163695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0474e"} 
[2026-08-28 13:12:17] local.INFO: GPS Element Parsed {"raw_longitude":756484288,"raw_latitude":119572128,"longitude_deg":75.6484288,"latitude_deg":11.9572128,"altitude":39,"angle":321,"satellites":43,"speed":5,"hex_longitude":"2d1708c0","hex_latitude":"072086a0","is_valid_coordinates":true} 
[2026-08-28 13:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:12:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703097856001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:12:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15899925980119040,"note":"Value kept but may cause issues"} 
[2026-08-28 13:12:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1660280180738224128,"note":"Value kept but may cause issues"} 
[2026-08-28 13:12:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:12:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787902731000,"timestamp_ms":1787902731000,"timestamp_seconds":1787902731,"priority":1,"record_length":96,"hex_timestamp":"000001a0474ea2f8"} 
[2026-08-28 13:12:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:12:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-28 13:12:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:12:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:12:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:12:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:12:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:12:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:12:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:12:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:12:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:12:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:12:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703097856001,"66":13102,"107":206,"83":41984,"24":5,"16":15899925980119040,"45":1660280180738224128},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-28 13:12:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:12:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:12:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703097856001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:12:17] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-28 13:12:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 13:12:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15899925980119040,"km_value":15899925980119.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:12:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1660280180738224128,"description":"Unknown IO ID 45"} 
[2026-08-28 13:12:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703097856001,"power":13102,"unknown_107":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1660280180738224128}} 
[2026-08-28 13:12:17] 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":707560,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:12:17] local.INFO: GPS data processed {"connection_id":163695,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:12:17] local.INFO: Acknowledgment sent {"connection_id":163695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:12:48] local.INFO: TCP Data received {"connection_id":163695,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0474ea6e0012d17088007208758002701612c..."} 
[2026-08-28 13:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0474ea6e0012d17088007208758002701612c..."} 
[2026-08-28 13:12:48] local.INFO: Processing buffer {"connection_id":163695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0474ea6e0012d17088007208758002701612c..."} 
[2026-08-28 13:12:48] local.INFO: Packet analysis {"connection_id":163695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0474e"} 
[2026-08-28 13:12:48] local.INFO: Extracted packet for processing {"connection_id":163695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0474e"} 
[2026-08-28 13:12:48] local.INFO: GPS Element Parsed {"raw_longitude":756484224,"raw_latitude":119572312,"longitude_deg":75.6484224,"latitude_deg":11.9572312,"altitude":39,"angle":353,"satellites":44,"speed":8,"hex_longitude":"2d170880","hex_latitude":"07208758","is_valid_coordinates":true} 
[2026-08-28 13:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703099136001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:12:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15899934570053632,"note":"Value kept but may cause issues"} 
[2026-08-28 13:12:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1659787599529025536,"note":"Value kept but may cause issues"} 
[2026-08-28 13:12:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:12:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787902732000,"timestamp_ms":1787902732000,"timestamp_seconds":1787902732,"priority":1,"record_length":96,"hex_timestamp":"000001a0474ea6e0"} 
[2026-08-28 13:12:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:12:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-28 13:12:48] 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-28 13:12:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:12:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:12:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:12:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:12:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:12:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:12:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:12:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:12:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:12:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703099136001,"66":13102,"107":206,"83":41984,"24":8,"16":15899934570053632,"45":1659787599529025536},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-28 13:12:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:12:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:12:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703099136001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:12:48] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-28 13:12:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 13:12:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15899934570053632,"km_value":15899934570053.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:12:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1659787599529025536,"description":"Unknown IO ID 45"} 
[2026-08-28 13:12:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703099136001,"power":13102,"unknown_107":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1659787599529025536}} 
[2026-08-28 13:12:48] 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":707561,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:12:48] local.INFO: GPS data processed {"connection_id":163695,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:12:48] local.INFO: Acknowledgment sent {"connection_id":163695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:13:16] local.INFO: TCP Data received {"connection_id":166045,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:13:16] local.INFO: Processing buffer {"connection_id":166045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:13:16] local.INFO: IMEI packet received {"connection_id":166045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 13:13:16] local.INFO: IMEI acknowledgment sent {"connection_id":166045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:13:21] local.INFO: TCP Data received {"connection_id":166045,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:13:21] local.INFO: Processing buffer {"connection_id":166045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:13:21] local.INFO: IMEI packet received {"connection_id":166045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:13:21] local.INFO: IMEI acknowledgment sent {"connection_id":166045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:13:23] local.INFO: TCP Data received {"connection_id":166045,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0474eaac8012d170880072088400027000b2c..."} 
[2026-08-28 13:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0474eaac8012d170880072088400027000b2c..."} 
[2026-08-28 13:13:23] local.INFO: Processing buffer {"connection_id":166045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0474eaac8012d170880072088400027000b2c..."} 
[2026-08-28 13:13:23] local.INFO: Packet analysis {"connection_id":166045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0474e"} 
[2026-08-28 13:13:23] local.INFO: Extracted packet for processing {"connection_id":166045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0474e"} 
[2026-08-28 13:13:23] local.INFO: GPS Element Parsed {"raw_longitude":756484224,"raw_latitude":119572544,"longitude_deg":75.6484224,"latitude_deg":11.9572544,"altitude":39,"angle":11,"satellites":44,"speed":8,"hex_longitude":"2d170880","hex_latitude":"07208840","is_valid_coordinates":true} 
[2026-08-28 13:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:13:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703099392001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:13:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15899947454955520,"note":"Value kept but may cause issues"} 
[2026-08-28 13:13:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1659717230784894976,"note":"Value kept but may cause issues"} 
[2026-08-28 13:13:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:13:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787902733000,"timestamp_ms":1787902733000,"timestamp_seconds":1787902733,"priority":1,"record_length":96,"hex_timestamp":"000001a0474eaac8"} 
[2026-08-28 13:13:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:13:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-28 13:13:23] 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-28 13:13:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:13:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:13:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:13:23] local.INFO: Teltonika packet parsed successfully {"connection_id":166045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:13:23] local.INFO: Passing IMEI to GPS processor {"connection_id":166045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:13:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":166045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:13:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:13:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:13:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:13:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703099392001,"66":13102,"107":206,"83":41984,"24":8,"16":15899947454955520,"45":1659717230784894976},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-28 13:13:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:13:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:13:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703099392001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:13:23] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-28 13:13:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 13:13:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15899947454955520,"km_value":15899947454955.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:13:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1659717230784894976,"description":"Unknown IO ID 45"} 
[2026-08-28 13:13:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703099392001,"power":13102,"unknown_107":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1659717230784894976}} 
[2026-08-28 13:13:23] local.INFO: DEBUG: GPS processor result {"connection_id":166045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707562,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:13:23] local.INFO: GPS data processed {"connection_id":166045,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:13:23] local.INFO: Acknowledgment sent {"connection_id":166045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:13:25] local.INFO: TCP Data received {"connection_id":166045,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0474eaeb0012d1708c0072089080026001c2c..."} 
[2026-08-28 13:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0474eaeb0012d1708c0072089080026001c2c..."} 
[2026-08-28 13:13:25] local.INFO: Processing buffer {"connection_id":166045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0474eaeb0012d1708c0072089080026001c2c..."} 
[2026-08-28 13:13:25] local.INFO: Packet analysis {"connection_id":166045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0474e"} 
[2026-08-28 13:13:25] local.INFO: Extracted packet for processing {"connection_id":166045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0474e"} 
[2026-08-28 13:13:25] local.INFO: GPS Element Parsed {"raw_longitude":756484288,"raw_latitude":119572744,"longitude_deg":75.6484288,"latitude_deg":11.9572744,"altitude":38,"angle":28,"satellites":44,"speed":7,"hex_longitude":"2d1708c0","hex_latitude":"07208908","is_valid_coordinates":true} 
[2026-08-28 13:13:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:13:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703099648001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:13:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15899956044890112,"note":"Value kept but may cause issues"} 
[2026-08-28 13:13:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1659717230784954368,"note":"Value kept but may cause issues"} 
[2026-08-28 13:13:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:13:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787902734000,"timestamp_ms":1787902734000,"timestamp_seconds":1787902734,"priority":1,"record_length":96,"hex_timestamp":"000001a0474eaeb0"} 
[2026-08-28 13:13:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:13:25] 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-28 13:13:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-28 13:13:25] 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-28 13:13:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:13:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:13:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:13:25] local.INFO: Teltonika packet parsed successfully {"connection_id":166045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:13:25] local.INFO: Passing IMEI to GPS processor {"connection_id":166045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:13:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":166045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:13:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:13:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:13:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:13:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703099648001,"66":13048,"107":206,"83":41984,"24":7,"16":15899956044890112,"45":1659717230784954368},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-28 13:13:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:13:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:13:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703099648001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:13:25] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-28 13:13:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 13:13:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15899956044890112,"km_value":15899956044890.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:13:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1659717230784954368,"description":"Unknown IO ID 45"} 
[2026-08-28 13:13:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703099648001,"power":13048,"unknown_107":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1659717230784954368}} 
[2026-08-28 13:13:25] local.INFO: DEBUG: GPS processor result {"connection_id":166045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707563,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:13:25] local.INFO: GPS data processed {"connection_id":166045,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:13:25] local.INFO: Acknowledgment sent {"connection_id":166045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:13:57] local.INFO: TCP Data received {"connection_id":166045,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0474f04a0012d1709c007208a60002700172d..."} 
[2026-08-28 13:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0474f04a0012d1709c007208a60002700172d..."} 
[2026-08-28 13:13:57] local.INFO: Processing buffer {"connection_id":166045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0474f04a0012d1709c007208a60002700172d..."} 
[2026-08-28 13:13:57] local.INFO: Packet analysis {"connection_id":166045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0474f"} 
[2026-08-28 13:13:57] local.INFO: Extracted packet for processing {"connection_id":166045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0474f"} 
[2026-08-28 13:13:57] local.INFO: GPS Element Parsed {"raw_longitude":756484544,"raw_latitude":119573088,"longitude_deg":75.6484544,"latitude_deg":11.9573088,"altitude":39,"angle":23,"satellites":45,"speed":0,"hex_longitude":"2d1709c0","hex_latitude":"07208a60","is_valid_coordinates":true} 
[2026-08-28 13:13:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:13:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703099904001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:13:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15899977519726592,"note":"Value kept but may cause issues"} 
[2026-08-28 13:13:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1659787599529183232,"note":"Value kept but may cause issues"} 
[2026-08-28 13:13:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:13:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787902756000,"timestamp_ms":1787902756000,"timestamp_seconds":1787902756,"priority":1,"record_length":96,"hex_timestamp":"000001a0474f04a0"} 
[2026-08-28 13:13:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:13:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13:13:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-28 13:13:57] 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-28 13:13:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:13:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:13:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:13:57] local.INFO: Teltonika packet parsed successfully {"connection_id":166045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:13:57] local.INFO: Passing IMEI to GPS processor {"connection_id":166045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:13:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":166045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:13:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:13:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:13:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:13:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703099904001,"66":13004,"107":206,"83":41984,"24":0,"16":15899977519726592,"45":1659787599529183232},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-28 13:13:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:13:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:13:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703099904001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:13:57] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-28 13:13:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 13:13:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15899977519726592,"km_value":15899977519726.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:13:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1659787599529183232,"description":"Unknown IO ID 45"} 
[2026-08-28 13:13:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703099904001,"power":13004,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1659787599529183232}} 
[2026-08-28 13:13:57] local.INFO: DEBUG: GPS processor result {"connection_id":166045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707564,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:13:57] local.INFO: GPS data processed {"connection_id":166045,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:13:57] local.INFO: Acknowledgment sent {"connection_id":166045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:14:11] local.INFO: TCP Data received {"connection_id":163696,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163696,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:14:11] local.INFO: Processing buffer {"connection_id":163696,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:14:11] local.INFO: IMEI packet received {"connection_id":163696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 13:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":163696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:14:16] local.INFO: TCP Data received {"connection_id":163696,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163696,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:14:16] local.INFO: Processing buffer {"connection_id":163696,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:14:16] local.INFO: IMEI packet received {"connection_id":163696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:14:16] local.INFO: IMEI acknowledgment sent {"connection_id":163696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:14:17] local.INFO: TCP Data received {"connection_id":163696,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0474f9910012d1709c007208a60002700172f..."} 
[2026-08-28 13:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0474f9910012d1709c007208a60002700172f..."} 
[2026-08-28 13:14:17] local.INFO: Processing buffer {"connection_id":163696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0474f9910012d1709c007208a60002700172f..."} 
[2026-08-28 13:14:17] local.INFO: Packet analysis {"connection_id":163696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0474f"} 
[2026-08-28 13:14:17] local.INFO: Extracted packet for processing {"connection_id":163696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0474f"} 
[2026-08-28 13:14:17] local.INFO: GPS Element Parsed {"raw_longitude":756484544,"raw_latitude":119573088,"longitude_deg":75.6484544,"latitude_deg":11.9573088,"altitude":39,"angle":23,"satellites":47,"speed":0,"hex_longitude":"2d1709c0","hex_latitude":"07208a60","is_valid_coordinates":true} 
[2026-08-28 13:14:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:14:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703105536001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:14:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15899977519726592,"note":"Value kept but may cause issues"} 
[2026-08-28 13:14:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1660069074505981952,"note":"Value kept but may cause issues"} 
[2026-08-28 13:14:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:14:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787902794000,"timestamp_ms":1787902794000,"timestamp_seconds":1787902794,"priority":1,"record_length":96,"hex_timestamp":"000001a0474f9910"} 
[2026-08-28 13:14:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:14:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13:14:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-28 13:14:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:14:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:14:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:14:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:14:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:14:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:14:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:14:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:14:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:14:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:14:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703105536001,"66":12939,"107":206,"83":41984,"24":0,"16":15899977519726592,"45":1660069074505981952},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-28 13:14:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:14:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:14:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703105536001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:14:17] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-28 13:14:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 13:14:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15899977519726592,"km_value":15899977519726.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:14:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1660069074505981952,"description":"Unknown IO ID 45"} 
[2026-08-28 13:14:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703105536001,"power":12939,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1660069074505981952}} 
[2026-08-28 13:14:17] 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":707565,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:14:17] local.INFO: GPS data processed {"connection_id":163696,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:14:17] local.INFO: Acknowledgment sent {"connection_id":163696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:14:49] local.INFO: TCP Data received {"connection_id":163696,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047532b20012d1709c007208a60002700172c..."} 
[2026-08-28 13:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047532b20012d1709c007208a60002700172c..."} 
[2026-08-28 13:14:49] local.INFO: Processing buffer {"connection_id":163696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047532b20012d1709c007208a60002700172c..."} 
[2026-08-28 13:14:49] local.INFO: Packet analysis {"connection_id":163696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04753"} 
[2026-08-28 13:14:49] local.INFO: Extracted packet for processing {"connection_id":163696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04753"} 
[2026-08-28 13:14:49] local.INFO: GPS Element Parsed {"raw_longitude":756484544,"raw_latitude":119573088,"longitude_deg":75.6484544,"latitude_deg":11.9573088,"altitude":39,"angle":23,"satellites":44,"speed":0,"hex_longitude":"2d1709c0","hex_latitude":"07208a60","is_valid_coordinates":true} 
[2026-08-28 13: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-28 13:14:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703169792001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:14:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15899977519726592,"note":"Value kept but may cause issues"} 
[2026-08-28 13:14:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1660069074505981952,"note":"Value kept but may cause issues"} 
[2026-08-28 13:14:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:14:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787903028000,"timestamp_ms":1787903028000,"timestamp_seconds":1787903028,"priority":1,"record_length":96,"hex_timestamp":"000001a047532b20"} 
[2026-08-28 13: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-28 13:14:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-08-28 13:14:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13: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-28 13: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-28 13:14:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:14:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:14:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:14:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:14:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:14:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:14:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:14:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703169792001,"66":14113,"122":206,"28":31744,"24":0,"16":15899977519726592,"45":1660069074505981952},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-28 13:14:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:14:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:14:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703169792001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:14:49] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-28 13:14:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:14:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15899977519726592,"km_value":15899977519726.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:14:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1660069074505981952,"description":"Unknown IO ID 45"} 
[2026-08-28 13:14:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703169792001,"power":14113,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1660069074505981952}} 
[2026-08-28 13:14:49] 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":707566,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:14:49] local.INFO: GPS data processed {"connection_id":163696,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:14:49] local.INFO: Acknowledgment sent {"connection_id":163696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:15:12] local.INFO: TCP Data received {"connection_id":163697,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:15:12] local.INFO: Processing buffer {"connection_id":163697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:15:12] local.INFO: IMEI packet received {"connection_id":163697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 13:15:12] local.INFO: IMEI acknowledgment sent {"connection_id":163697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:15:15] local.INFO: TCP Data received {"connection_id":163697,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:15:15] local.INFO: Processing buffer {"connection_id":163697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:15:15] local.INFO: IMEI packet received {"connection_id":163697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":163697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:15:16] local.INFO: TCP Data received {"connection_id":163697,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0475369a0012d170b0007208aa8002b003a2d..."} 
[2026-08-28 13:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0475369a0012d170b0007208aa8002b003a2d..."} 
[2026-08-28 13:15:16] local.INFO: Processing buffer {"connection_id":163697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0475369a0012d170b0007208aa8002b003a2d..."} 
[2026-08-28 13:15:16] local.INFO: Packet analysis {"connection_id":163697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04753"} 
[2026-08-28 13:15:16] local.INFO: Extracted packet for processing {"connection_id":163697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04753"} 
[2026-08-28 13:15:16] local.INFO: GPS Element Parsed {"raw_longitude":756484864,"raw_latitude":119573160,"longitude_deg":75.6484864,"latitude_deg":11.957316,"altitude":43,"angle":58,"satellites":45,"speed":3,"hex_longitude":"2d170b00","hex_latitude":"07208aa8","is_valid_coordinates":true} 
[2026-08-28 13:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703175168001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15899990404628480,"note":"Value kept but may cause issues"} 
[2026-08-28 13:15:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1660069074505981952,"note":"Value kept but may cause issues"} 
[2026-08-28 13:15:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787903044000,"timestamp_ms":1787903044000,"timestamp_seconds":1787903044,"priority":1,"record_length":96,"hex_timestamp":"000001a0475369a0"} 
[2026-08-28 13:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:15:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-28 13:15:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:15:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:15:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703175168001,"66":14189,"122":206,"28":31744,"24":3,"16":15899990404628480,"45":1660069074505981952},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-28 13:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703175168001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:15:16] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-28 13:15:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15899990404628480,"km_value":15899990404628.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:15:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1660069074505981952,"description":"Unknown IO ID 45"} 
[2026-08-28 13:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703175168001,"power":14189,"unknown_122":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1660069074505981952}} 
[2026-08-28 13:15:16] 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":707567,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:15:16] local.INFO: GPS data processed {"connection_id":163697,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:15:16] local.INFO: Acknowledgment sent {"connection_id":163697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:15:48] local.INFO: TCP Data received {"connection_id":163697,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047536d88012d170b8007208b50002b002c2d..."} 
[2026-08-28 13:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047536d88012d170b8007208b50002b002c2d..."} 
[2026-08-28 13:15:48] local.INFO: Processing buffer {"connection_id":163697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047536d88012d170b8007208b50002b002c2d..."} 
[2026-08-28 13:15:48] local.INFO: Packet analysis {"connection_id":163697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04753"} 
[2026-08-28 13:15:48] local.INFO: Extracted packet for processing {"connection_id":163697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04753"} 
[2026-08-28 13:15:48] local.INFO: GPS Element Parsed {"raw_longitude":756484992,"raw_latitude":119573328,"longitude_deg":75.6484992,"latitude_deg":11.9573328,"altitude":43,"angle":44,"satellites":45,"speed":6,"hex_longitude":"2d170b80","hex_latitude":"07208b50","is_valid_coordinates":true} 
[2026-08-28 13:15:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:15:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703179264001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:15:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15900003289530368,"note":"Value kept but may cause issues"} 
[2026-08-28 13:15:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1660420918226888704,"note":"Value kept but may cause issues"} 
[2026-08-28 13:15:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:15:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787903045000,"timestamp_ms":1787903045000,"timestamp_seconds":1787903045,"priority":1,"record_length":96,"hex_timestamp":"000001a047536d88"} 
[2026-08-28 13:15:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:15:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13:15:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-28 13:15:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:15:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:15:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:15:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:15:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:15:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:15:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:15:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:15:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:15:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:15:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703179264001,"66":14189,"122":206,"28":31744,"24":6,"16":15900003289530368,"45":1660420918226888704},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-28 13:15:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:15:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:15:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703179264001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:15:48] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-28 13:15:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:15:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15900003289530368,"km_value":15900003289530.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:15:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1660420918226888704,"description":"Unknown IO ID 45"} 
[2026-08-28 13:15:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703179264001,"power":14189,"unknown_122":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1660420918226888704}} 
[2026-08-28 13:15:48] 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":707568,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:15:48] local.INFO: GPS data processed {"connection_id":163697,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:15:48] local.INFO: Acknowledgment sent {"connection_id":163697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:16:11] local.INFO: TCP Data received {"connection_id":164696,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164696,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:16:11] local.INFO: Processing buffer {"connection_id":164696,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:16:11] local.INFO: IMEI packet received {"connection_id":164696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 13:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":164696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:16:15] local.INFO: TCP Data received {"connection_id":164696,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164696,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:16:15] local.INFO: Processing buffer {"connection_id":164696,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:16:15] local.INFO: IMEI packet received {"connection_id":164696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":164696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:16:17] local.INFO: TCP Data received {"connection_id":164696,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a04753b3d8012d1725000720a3e8002b002c2c..."} 
[2026-08-28 13:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04753b3d8012d1725000720a3e8002b002c2c..."} 
[2026-08-28 13:16:17] local.INFO: Processing buffer {"connection_id":164696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04753b3d8012d1725000720a3e8002b002c2c..."} 
[2026-08-28 13:16:17] local.INFO: Packet analysis {"connection_id":164696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04753"} 
[2026-08-28 13:16:17] local.INFO: Extracted packet for processing {"connection_id":164696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04753"} 
[2026-08-28 13:16:17] local.INFO: GPS Element Parsed {"raw_longitude":756491520,"raw_latitude":119579624,"longitude_deg":75.649152,"latitude_deg":11.9579624,"altitude":43,"angle":44,"satellites":44,"speed":21,"hex_longitude":"2d172500","hex_latitude":"0720a3e8","is_valid_coordinates":true} 
[2026-08-28 13: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-28 13:16:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703179520001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:16:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15900437081227264,"note":"Value kept but may cause issues"} 
[2026-08-28 13:16:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1660561655715287040,"note":"Value kept but may cause issues"} 
[2026-08-28 13:16:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:16:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787903063000,"timestamp_ms":1787903063000,"timestamp_seconds":1787903063,"priority":1,"record_length":96,"hex_timestamp":"000001a04753b3d8"} 
[2026-08-28 13: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-28 13:16:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-28 13:16:17] 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-28 13: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-28 13: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-28 13:16:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:16:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:16:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:16:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:16:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:16:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:16:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:16:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703179520001,"66":14211,"122":206,"28":31744,"24":21,"16":15900437081227264,"45":1660561655715287040},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-28 13:16:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:16:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:16:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703179520001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:16:17] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-28 13:16:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:16:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15900437081227264,"km_value":15900437081227.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:16:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1660561655715287040,"description":"Unknown IO ID 45"} 
[2026-08-28 13:16:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703179520001,"power":14211,"unknown_122":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1660561655715287040}} 
[2026-08-28 13:16:17] local.INFO: DEBUG: GPS processor result {"connection_id":164696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707569,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:16:17] local.INFO: GPS data processed {"connection_id":164696,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:16:17] local.INFO: Acknowledgment sent {"connection_id":164696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:16:48] local.INFO: TCP Data received {"connection_id":164696,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a04753ea88012d1740800720b9f0002d00332b..."} 
[2026-08-28 13:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04753ea88012d1740800720b9f0002d00332b..."} 
[2026-08-28 13:16:48] local.INFO: Processing buffer {"connection_id":164696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04753ea88012d1740800720b9f0002d00332b..."} 
[2026-08-28 13:16:48] local.INFO: Packet analysis {"connection_id":164696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04753"} 
[2026-08-28 13:16:48] local.INFO: Extracted packet for processing {"connection_id":164696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04753"} 
[2026-08-28 13:16:48] local.INFO: GPS Element Parsed {"raw_longitude":756498560,"raw_latitude":119585264,"longitude_deg":75.649856,"latitude_deg":11.9585264,"altitude":45,"angle":51,"satellites":43,"speed":29,"hex_longitude":"2d174080","hex_latitude":"0720b9f0","is_valid_coordinates":true} 
[2026-08-28 13: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-28 13:16:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703184128001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:16:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15900870872924160,"note":"Value kept but may cause issues"} 
[2026-08-28 13:16:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1667739267623020544,"note":"Value kept but may cause issues"} 
[2026-08-28 13:16:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:16:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787903077000,"timestamp_ms":1787903077000,"timestamp_seconds":1787903077,"priority":1,"record_length":96,"hex_timestamp":"000001a04753ea88"} 
[2026-08-28 13: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-28 13:16:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-28 13:16:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13: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-28 13: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-28 13:16:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:16:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:16:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:16:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:16:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:16:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:16:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:16:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703184128001,"66":14070,"122":206,"28":31744,"24":29,"16":15900870872924160,"45":1667739267623020544},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-28 13:16:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:16:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:16:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703184128001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:16:48] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-28 13:16:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:16:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15900870872924160,"km_value":15900870872924.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:16:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1667739267623020544,"description":"Unknown IO ID 45"} 
[2026-08-28 13:16:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703184128001,"power":14070,"unknown_122":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1667739267623020544}} 
[2026-08-28 13:16:48] local.INFO: DEBUG: GPS processor result {"connection_id":164696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707570,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:16:48] local.INFO: GPS data processed {"connection_id":164696,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:16:48] local.INFO: Acknowledgment sent {"connection_id":164696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:17:11] local.INFO: TCP Data received {"connection_id":166046,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:17:11] local.INFO: Processing buffer {"connection_id":166046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:17:11] local.INFO: IMEI packet received {"connection_id":166046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 13:17:11] local.INFO: IMEI acknowledgment sent {"connection_id":166046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:17:11] local.INFO: TCP Data received {"connection_id":166046,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:17:11] local.INFO: Processing buffer {"connection_id":166046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:17:11] local.INFO: IMEI packet received {"connection_id":166046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:17:11] local.INFO: IMEI acknowledgment sent {"connection_id":166046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:17:15] local.INFO: TCP Data received {"connection_id":166046,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:17:15] local.INFO: Processing buffer {"connection_id":166046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:17:15] local.INFO: IMEI packet received {"connection_id":166046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:17:15] local.INFO: IMEI acknowledgment sent {"connection_id":166046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:17:16] local.INFO: TCP Data received {"connection_id":166046,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:17:16] local.INFO: Processing buffer {"connection_id":166046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:17:16] local.INFO: IMEI packet received {"connection_id":166046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:17:16] local.INFO: IMEI acknowledgment sent {"connection_id":166046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:17:17] local.INFO: TCP Data received {"connection_id":166046,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047556188012d18104007219728004500212c..."} 
[2026-08-28 13:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047556188012d18104007219728004500212c..."} 
[2026-08-28 13:17:17] local.INFO: Processing buffer {"connection_id":166046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047556188012d18104007219728004500212c..."} 
[2026-08-28 13:17:17] local.INFO: Packet analysis {"connection_id":166046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04755"} 
[2026-08-28 13:17:17] local.INFO: Extracted packet for processing {"connection_id":166046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04755"} 
[2026-08-28 13:17:17] local.INFO: GPS Element Parsed {"raw_longitude":756551744,"raw_latitude":119641896,"longitude_deg":75.6551744,"latitude_deg":11.9641896,"altitude":69,"angle":33,"satellites":44,"speed":29,"hex_longitude":"2d181040","hex_latitude":"07219728","is_valid_coordinates":true} 
[2026-08-28 13:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:17:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703212288001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:17:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15904637559242752,"note":"Value kept but may cause issues"} 
[2026-08-28 13:17:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733956255910144000,"note":"Value kept but may cause issues"} 
[2026-08-28 13:17:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:17:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787903173000,"timestamp_ms":1787903173000,"timestamp_seconds":1787903173,"priority":1,"record_length":96,"hex_timestamp":"000001a047556188"} 
[2026-08-28 13:17:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:17:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-28 13:17:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:17:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:17:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:17:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:17:17] local.INFO: Teltonika packet parsed successfully {"connection_id":166046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:17:17] local.INFO: Passing IMEI to GPS processor {"connection_id":166046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:17:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":166046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:17:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:17:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:17:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:17:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703212288001,"66":14374,"120":206,"28":31744,"24":29,"16":15904637559242752,"45":1733956255910144000},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 13:17:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:17:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:17:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703212288001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:17:17] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 13:17:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:17:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15904637559242752,"km_value":15904637559242.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:17:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733956255910144000,"description":"Unknown IO ID 45"} 
[2026-08-28 13:17:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703212288001,"power":14374,"unknown_120":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1733956255910144000}} 
[2026-08-28 13:17:17] local.INFO: DEBUG: GPS processor result {"connection_id":166046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707571,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:17:17] local.INFO: GPS data processed {"connection_id":166046,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:17:17] local.INFO: Acknowledgment sent {"connection_id":166046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:17:17] local.INFO: TCP Data received {"connection_id":166046,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a04755afa8012d1816400721a1e8004500152b..."} 
[2026-08-28 13:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04755afa8012d1816400721a1e8004500152b..."} 
[2026-08-28 13:17:17] local.INFO: Processing buffer {"connection_id":166046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04755afa8012d1816400721a1e8004500152b..."} 
[2026-08-28 13:17:17] local.INFO: Packet analysis {"connection_id":166046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04755"} 
[2026-08-28 13:17:17] local.INFO: Extracted packet for processing {"connection_id":166046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04755"} 
[2026-08-28 13:17:17] local.INFO: GPS Element Parsed {"raw_longitude":756553280,"raw_latitude":119644648,"longitude_deg":75.655328,"latitude_deg":11.9644648,"altitude":69,"angle":21,"satellites":43,"speed":9,"hex_longitude":"2d181640","hex_latitude":"0721a1e8","is_valid_coordinates":true} 
[2026-08-28 13:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:17:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703212288001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:17:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15904805062967296,"note":"Value kept but may cause issues"} 
[2026-08-28 13:17:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733956255910144000,"note":"Value kept but may cause issues"} 
[2026-08-28 13:17:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:17:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787903193000,"timestamp_ms":1787903193000,"timestamp_seconds":1787903193,"priority":1,"record_length":96,"hex_timestamp":"000001a04755afa8"} 
[2026-08-28 13:17:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:17:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-28 13:17:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:17:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:17:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:17:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:17:17] local.INFO: Teltonika packet parsed successfully {"connection_id":166046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:17:17] local.INFO: Passing IMEI to GPS processor {"connection_id":166046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:17:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":166046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:17:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:17:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:17:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:17:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703212288001,"66":14428,"120":206,"28":31744,"24":9,"16":15904805062967296,"45":1733956255910144000},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 13:17:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:17:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:17:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703212288001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:17:17] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 13:17:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:17:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15904805062967296,"km_value":15904805062967.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:17:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733956255910144000,"description":"Unknown IO ID 45"} 
[2026-08-28 13:17:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703212288001,"power":14428,"unknown_120":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1733956255910144000}} 
[2026-08-28 13:17:17] local.INFO: DEBUG: GPS processor result {"connection_id":166046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707572,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:17:17] local.INFO: GPS data processed {"connection_id":166046,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:17:17] local.INFO: Acknowledgment sent {"connection_id":166046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:17:49] local.INFO: TCP Data received {"connection_id":166046,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a04755bf48012d1818800721a5e8004500232c..."} 
[2026-08-28 13:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04755bf48012d1818800721a5e8004500232c..."} 
[2026-08-28 13:17:49] local.INFO: Processing buffer {"connection_id":166046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04755bf48012d1818800721a5e8004500232c..."} 
[2026-08-28 13:17:49] local.INFO: Packet analysis {"connection_id":166046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04755"} 
[2026-08-28 13:17:49] local.INFO: Extracted packet for processing {"connection_id":166046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04755"} 
[2026-08-28 13:17:49] local.INFO: GPS Element Parsed {"raw_longitude":756553856,"raw_latitude":119645672,"longitude_deg":75.6553856,"latitude_deg":11.9645672,"altitude":69,"angle":35,"satellites":44,"speed":12,"hex_longitude":"2d181880","hex_latitude":"0721a5e8","is_valid_coordinates":true} 
[2026-08-28 13: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-28 13:17:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703217408001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:17:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15904860897542144,"note":"Value kept but may cause issues"} 
[2026-08-28 13:17:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735645105771112448,"note":"Value kept but may cause issues"} 
[2026-08-28 13:17:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:17:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787903197000,"timestamp_ms":1787903197000,"timestamp_seconds":1787903197,"priority":1,"record_length":96,"hex_timestamp":"000001a04755bf48"} 
[2026-08-28 13: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-28 13:17:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-28 13:17:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13: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-28 13: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-28 13:17:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:17:49] local.INFO: Teltonika packet parsed successfully {"connection_id":166046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:17:49] local.INFO: Passing IMEI to GPS processor {"connection_id":166046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:17:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":166046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:17:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:17:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:17:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:17:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703217408001,"66":14396,"120":206,"28":31744,"24":12,"16":15904860897542144,"45":1735645105771112448},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 13:17:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:17:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:17:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703217408001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:17:49] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 13:17:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:17:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15904860897542144,"km_value":15904860897542.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:17:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735645105771112448,"description":"Unknown IO ID 45"} 
[2026-08-28 13:17:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703217408001,"power":14396,"unknown_120":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1735645105771112448}} 
[2026-08-28 13:17:49] local.INFO: DEBUG: GPS processor result {"connection_id":166046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707573,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:17:49] local.INFO: GPS data processed {"connection_id":166046,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:17:49] local.INFO: Acknowledgment sent {"connection_id":166046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:18:16] local.INFO: TCP Data received {"connection_id":166047,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:18:16] local.INFO: Processing buffer {"connection_id":166047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:18:16] local.INFO: IMEI packet received {"connection_id":166047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 13:18:16] local.INFO: IMEI acknowledgment sent {"connection_id":166047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:18:21] local.INFO: TCP Data received {"connection_id":166047,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:18:21] local.INFO: Processing buffer {"connection_id":166047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:18:21] local.INFO: IMEI packet received {"connection_id":166047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:18:21] local.INFO: IMEI acknowledgment sent {"connection_id":166047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:18:23] local.INFO: TCP Data received {"connection_id":166047,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a04755c718012d181a000721a778004500382c..."} 
[2026-08-28 13:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04755c718012d181a000721a778004500382c..."} 
[2026-08-28 13:18:23] local.INFO: Processing buffer {"connection_id":166047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04755c718012d181a000721a778004500382c..."} 
[2026-08-28 13:18:23] local.INFO: Packet analysis {"connection_id":166047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04755"} 
[2026-08-28 13:18:23] local.INFO: Extracted packet for processing {"connection_id":166047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04755"} 
[2026-08-28 13:18:23] local.INFO: GPS Element Parsed {"raw_longitude":756554240,"raw_latitude":119646072,"longitude_deg":75.655424,"latitude_deg":11.9646072,"altitude":69,"angle":56,"satellites":44,"speed":10,"hex_longitude":"2d181a00","hex_latitude":"0721a778","is_valid_coordinates":true} 
[2026-08-28 13:18:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:18:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703218432001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:18:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15904886667345920,"note":"Value kept but may cause issues"} 
[2026-08-28 13:18:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736278424468973568,"note":"Value kept but may cause issues"} 
[2026-08-28 13:18:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:18:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787903199000,"timestamp_ms":1787903199000,"timestamp_seconds":1787903199,"priority":1,"record_length":96,"hex_timestamp":"000001a04755c718"} 
[2026-08-28 13:18:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:18:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13:18:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-28 13:18:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:18:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:18:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:18:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:18:23] local.INFO: Teltonika packet parsed successfully {"connection_id":166047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:18:23] local.INFO: Passing IMEI to GPS processor {"connection_id":166047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:18:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":166047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:18:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:18:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:18:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:18:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703218432001,"66":14396,"120":206,"28":31744,"24":10,"16":15904886667345920,"45":1736278424468973568},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 13:18:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:18:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:18:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703218432001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:18:23] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 13:18:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:18:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15904886667345920,"km_value":15904886667345.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:18:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736278424468973568,"description":"Unknown IO ID 45"} 
[2026-08-28 13:18:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703218432001,"power":14396,"unknown_120":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1736278424468973568}} 
[2026-08-28 13:18:23] local.INFO: DEBUG: GPS processor result {"connection_id":166047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707574,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:18:23] local.INFO: GPS data processed {"connection_id":166047,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:18:23] local.INFO: Acknowledgment sent {"connection_id":166047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:18:24] local.INFO: TCP Data received {"connection_id":166047,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a04755cb00012d181b000721a7d8004600482d..."} 
[2026-08-28 13:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04755cb00012d181b000721a7d8004600482d..."} 
[2026-08-28 13:18:24] local.INFO: Processing buffer {"connection_id":166047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04755cb00012d181b000721a7d8004600482d..."} 
[2026-08-28 13:18:24] local.INFO: Packet analysis {"connection_id":166047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04755"} 
[2026-08-28 13:18:24] local.INFO: Extracted packet for processing {"connection_id":166047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04755"} 
[2026-08-28 13:18:24] local.INFO: GPS Element Parsed {"raw_longitude":756554496,"raw_latitude":119646168,"longitude_deg":75.6554496,"latitude_deg":11.9646168,"altitude":70,"angle":72,"satellites":45,"speed":8,"hex_longitude":"2d181b00","hex_latitude":"0721a7d8","is_valid_coordinates":true} 
[2026-08-28 13:18:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:18:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703218944001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:18:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15904899552247808,"note":"Value kept but may cause issues"} 
[2026-08-28 13:18:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736700636934141952,"note":"Value kept but may cause issues"} 
[2026-08-28 13:18:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:18:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787903200000,"timestamp_ms":1787903200000,"timestamp_seconds":1787903200,"priority":1,"record_length":96,"hex_timestamp":"000001a04755cb00"} 
[2026-08-28 13:18:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:18:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13:18:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-28 13:18:24] 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-28 13:18:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:18:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:18:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:18:24] local.INFO: Teltonika packet parsed successfully {"connection_id":166047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:18:24] local.INFO: Passing IMEI to GPS processor {"connection_id":166047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:18:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":166047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:18:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:18:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:18:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:18:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703218944001,"66":13526,"120":206,"28":31744,"24":8,"16":15904899552247808,"45":1736700636934141952},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 13:18:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:18:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:18:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703218944001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:18:24] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 13:18:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:18:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15904899552247808,"km_value":15904899552247.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:18:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736700636934141952,"description":"Unknown IO ID 45"} 
[2026-08-28 13:18:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703218944001,"power":13526,"unknown_120":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1736700636934141952}} 
[2026-08-28 13:18:24] local.INFO: DEBUG: GPS processor result {"connection_id":166047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707575,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:18:24] local.INFO: GPS data processed {"connection_id":166047,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:18:24] local.INFO: Acknowledgment sent {"connection_id":166047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:18:56] local.INFO: TCP Data received {"connection_id":166047,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a04755d2d0012d181d000721a808004600622d..."} 
[2026-08-28 13:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04755d2d0012d181d000721a808004600622d..."} 
[2026-08-28 13:18:56] local.INFO: Processing buffer {"connection_id":166047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04755d2d0012d181d000721a808004600622d..."} 
[2026-08-28 13:18:56] local.INFO: Packet analysis {"connection_id":166047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04755"} 
[2026-08-28 13:18:56] local.INFO: Extracted packet for processing {"connection_id":166047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04755"} 
[2026-08-28 13:18:56] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119646216,"longitude_deg":75.6555008,"latitude_deg":11.9646216,"altitude":70,"angle":98,"satellites":45,"speed":14,"hex_longitude":"2d181d00","hex_latitude":"0721a808","is_valid_coordinates":true} 
[2026-08-28 13:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:18:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703219200001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:18:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15904925322051584,"note":"Value kept but may cause issues"} 
[2026-08-28 13:18:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736982111910877184,"note":"Value kept but may cause issues"} 
[2026-08-28 13:18:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:18:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787903202000,"timestamp_ms":1787903202000,"timestamp_seconds":1787903202,"priority":1,"record_length":96,"hex_timestamp":"000001a04755d2d0"} 
[2026-08-28 13:18:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:18:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-28 13:18:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:18:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:18:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:18:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:18:56] local.INFO: Teltonika packet parsed successfully {"connection_id":166047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:18:56] local.INFO: Passing IMEI to GPS processor {"connection_id":166047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:18:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":166047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:18:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:18:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:18:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:18:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703219200001,"66":14070,"121":206,"28":31744,"24":14,"16":15904925322051584,"45":1736982111910877184},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 13:18:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:18:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:18:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703219200001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:18:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 13:18:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:18:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15904925322051584,"km_value":15904925322051.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:18:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736982111910877184,"description":"Unknown IO ID 45"} 
[2026-08-28 13:18:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703219200001,"power":14070,"unknown_121":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1736982111910877184}} 
[2026-08-28 13:18:56] local.INFO: DEBUG: GPS processor result {"connection_id":166047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707576,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:18:56] local.INFO: GPS data processed {"connection_id":166047,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:18:56] local.INFO: Acknowledgment sent {"connection_id":166047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:19:11] local.INFO: TCP Data received {"connection_id":163699,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163699,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:19:11] local.INFO: Processing buffer {"connection_id":163699,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:19:11] local.INFO: IMEI packet received {"connection_id":163699,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 13:19:11] local.INFO: IMEI acknowledgment sent {"connection_id":163699,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:19:16] local.INFO: TCP Data received {"connection_id":163699,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163699,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:19:16] local.INFO: Processing buffer {"connection_id":163699,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:19:16] local.INFO: IMEI packet received {"connection_id":163699,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:19:16] local.INFO: IMEI acknowledgment sent {"connection_id":163699,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:19:18] local.INFO: TCP Data received {"connection_id":163699,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a04755d6b8012d181e800721a7a0004700702d..."} 
[2026-08-28 13:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04755d6b8012d181e800721a7a0004700702d..."} 
[2026-08-28 13:19:18] local.INFO: Processing buffer {"connection_id":163699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04755d6b8012d181e800721a7a0004700702d..."} 
[2026-08-28 13:19:18] local.INFO: Packet analysis {"connection_id":163699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04755"} 
[2026-08-28 13:19:18] local.INFO: Extracted packet for processing {"connection_id":163699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04755"} 
[2026-08-28 13:19:18] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119646112,"longitude_deg":75.6555392,"latitude_deg":11.9646112,"altitude":71,"angle":112,"satellites":45,"speed":12,"hex_longitude":"2d181e80","hex_latitude":"0721a7a0","is_valid_coordinates":true} 
[2026-08-28 13:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:19:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703219712001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:19:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15904942501920768,"note":"Value kept but may cause issues"} 
[2026-08-28 13:19:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864310784,"note":"Value kept but may cause issues"} 
[2026-08-28 13:19:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:19:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787903203000,"timestamp_ms":1787903203000,"timestamp_seconds":1787903203,"priority":1,"record_length":96,"hex_timestamp":"000001a04755d6b8"} 
[2026-08-28 13:19:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:19:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-28 13:19: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-28 13:19:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:19:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:19:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:19:18] local.INFO: Teltonika packet parsed successfully {"connection_id":163699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:19:18] local.INFO: Passing IMEI to GPS processor {"connection_id":163699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:19:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":163699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:19:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:19:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:19:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:19:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703219712001,"66":14070,"121":206,"28":31744,"24":12,"16":15904942501920768,"45":1737545061864310784},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 13:19:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:19:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:19:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703219712001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:19:18] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 13:19:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:19:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15904942501920768,"km_value":15904942501920.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:19:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864310784,"description":"Unknown IO ID 45"} 
[2026-08-28 13:19:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703219712001,"power":14070,"unknown_121":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1737545061864310784}} 
[2026-08-28 13:19:18] 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":707577,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:19:18] local.INFO: GPS data processed {"connection_id":163699,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:19:18] local.INFO: Acknowledgment sent {"connection_id":163699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:19:19] local.INFO: TCP Data received {"connection_id":163699,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a04755de88012d1820400721a6800048007d2d..."} 
[2026-08-28 13:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04755de88012d1820400721a6800048007d2d..."} 
[2026-08-28 13:19:19] local.INFO: Processing buffer {"connection_id":163699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04755de88012d1820400721a6800048007d2d..."} 
[2026-08-28 13:19:19] local.INFO: Packet analysis {"connection_id":163699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04755"} 
[2026-08-28 13:19:19] local.INFO: Extracted packet for processing {"connection_id":163699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04755"} 
[2026-08-28 13:19:19] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119645824,"longitude_deg":75.655584,"latitude_deg":11.9645824,"altitude":72,"angle":125,"satellites":45,"speed":8,"hex_longitude":"2d182040","hex_latitude":"0721a680","is_valid_coordinates":true} 
[2026-08-28 13:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:19:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703219968001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:19:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15904968271724544,"note":"Value kept but may cause issues"} 
[2026-08-28 13:19:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329350144,"note":"Value kept but may cause issues"} 
[2026-08-28 13:19:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:19:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787903205000,"timestamp_ms":1787903205000,"timestamp_seconds":1787903205,"priority":1,"record_length":96,"hex_timestamp":"000001a04755de88"} 
[2026-08-28 13:19:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:19:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-28 13:19:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:19:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:19:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:19:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:19:19] local.INFO: Teltonika packet parsed successfully {"connection_id":163699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:19:19] local.INFO: Passing IMEI to GPS processor {"connection_id":163699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:19:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":163699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:19:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:19:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:19:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:19:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703219968001,"66":14004,"121":206,"28":31744,"24":8,"16":15904968271724544,"45":1737967274329350144},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 13:19:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:19:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:19:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703219968001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:19:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 13:19:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:19:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15904968271724544,"km_value":15904968271724.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:19:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329350144,"description":"Unknown IO ID 45"} 
[2026-08-28 13:19:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703219968001,"power":14004,"unknown_121":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1737967274329350144}} 
[2026-08-28 13:19:19] 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":707578,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:19:19] local.INFO: GPS data processed {"connection_id":163699,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:19:19] local.INFO: Acknowledgment sent {"connection_id":163699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:19:51] local.INFO: TCP Data received {"connection_id":163699,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047579fc0012d18670007218170004e01142c..."} 
[2026-08-28 13:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047579fc0012d18670007218170004e01142c..."} 
[2026-08-28 13:19:51] local.INFO: Processing buffer {"connection_id":163699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047579fc0012d18670007218170004e01142c..."} 
[2026-08-28 13:19:51] local.INFO: Packet analysis {"connection_id":163699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04757"} 
[2026-08-28 13:19:51] local.INFO: Extracted packet for processing {"connection_id":163699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04757"} 
[2026-08-28 13:19:51] local.INFO: GPS Element Parsed {"raw_longitude":756573952,"raw_latitude":119636336,"longitude_deg":75.6573952,"latitude_deg":11.9636336,"altitude":78,"angle":276,"satellites":44,"speed":5,"hex_longitude":"2d186700","hex_latitude":"07218170","is_valid_coordinates":true} 
[2026-08-28 13:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:19:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703249664001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:19:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15905968999104512,"note":"Value kept but may cause issues"} 
[2026-08-28 13:19:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1758444578882545664,"note":"Value kept but may cause issues"} 
[2026-08-28 13:19:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:19:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787903320000,"timestamp_ms":1787903320000,"timestamp_seconds":1787903320,"priority":1,"record_length":96,"hex_timestamp":"000001a047579fc0"} 
[2026-08-28 13:19:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:19:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-28 13:19:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:19:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:19:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:19:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:19:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:19:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:19:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:19:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:19:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:19:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:19:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703249664001,"66":13993,"121":206,"28":31744,"24":5,"16":15905968999104512,"45":1758444578882545664},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 13:19:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:19:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:19:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703249664001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:19:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 13:19:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:19:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15905968999104512,"km_value":15905968999104.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:19:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1758444578882545664,"description":"Unknown IO ID 45"} 
[2026-08-28 13:19:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703249664001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1758444578882545664}} 
[2026-08-28 13:19:51] 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":707579,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:19:51] local.INFO: GPS data processed {"connection_id":163699,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:19:51] local.INFO: Acknowledgment sent {"connection_id":163699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:20:11] local.INFO: TCP Data received {"connection_id":166048,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166048,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:20:11] local.INFO: Processing buffer {"connection_id":166048,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:20:11] local.INFO: IMEI packet received {"connection_id":166048,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 13:20:11] local.INFO: IMEI acknowledgment sent {"connection_id":166048,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:20:16] local.INFO: TCP Data received {"connection_id":166048,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166048,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:20:16] local.INFO: Processing buffer {"connection_id":166048,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:20:16] local.INFO: IMEI packet received {"connection_id":166048,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:20:16] local.INFO: IMEI acknowledgment sent {"connection_id":166048,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:20:18] local.INFO: TCP Data received {"connection_id":166048,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a04757ab78012d186500072181e0004e011f2c..."} 
[2026-08-28 13:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04757ab78012d186500072181e0004e011f2c..."} 
[2026-08-28 13:20:18] local.INFO: Processing buffer {"connection_id":166048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04757ab78012d186500072181e0004e011f2c..."} 
[2026-08-28 13:20:18] local.INFO: Packet analysis {"connection_id":166048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04757"} 
[2026-08-28 13:20:18] local.INFO: Extracted packet for processing {"connection_id":166048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04757"} 
[2026-08-28 13:20:18] local.INFO: GPS Element Parsed {"raw_longitude":756573440,"raw_latitude":119636448,"longitude_deg":75.657344,"latitude_deg":11.9636448,"altitude":78,"angle":287,"satellites":44,"speed":10,"hex_longitude":"2d186500","hex_latitude":"072181e0","is_valid_coordinates":true} 
[2026-08-28 13:20:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:20:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703249920001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:20:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15905999063875584,"note":"Value kept but may cause issues"} 
[2026-08-28 13:20:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1758374210138370048,"note":"Value kept but may cause issues"} 
[2026-08-28 13:20:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:20:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787903323000,"timestamp_ms":1787903323000,"timestamp_seconds":1787903323,"priority":1,"record_length":96,"hex_timestamp":"000001a04757ab78"} 
[2026-08-28 13:20:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:20:18] 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-28 13:20:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-28 13:20:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:20:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:20:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:20:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:20:18] local.INFO: Teltonika packet parsed successfully {"connection_id":166048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:20:18] local.INFO: Passing IMEI to GPS processor {"connection_id":166048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:20:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":166048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:20:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:20:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:20:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:20:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703249920001,"66":14157,"121":206,"28":31744,"24":10,"16":15905999063875584,"45":1758374210138370048},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 13:20:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:20:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:20:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703249920001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:20:18] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 13:20:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:20:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15905999063875584,"km_value":15905999063875.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:20:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1758374210138370048,"description":"Unknown IO ID 45"} 
[2026-08-28 13:20:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703249920001,"power":14157,"unknown_121":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1758374210138370048}} 
[2026-08-28 13:20:18] local.INFO: DEBUG: GPS processor result {"connection_id":166048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707580,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:20:18] local.INFO: GPS data processed {"connection_id":166048,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:20:18] local.INFO: Acknowledgment sent {"connection_id":166048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:20:49] local.INFO: TCP Data received {"connection_id":166048,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a04757fd80012d185800072186a8004e01232e..."} 
[2026-08-28 13:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04757fd80012d185800072186a8004e01232e..."} 
[2026-08-28 13:20:49] local.INFO: Processing buffer {"connection_id":166048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04757fd80012d185800072186a8004e01232e..."} 
[2026-08-28 13:20:49] local.INFO: Packet analysis {"connection_id":166048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04757"} 
[2026-08-28 13:20:49] local.INFO: Extracted packet for processing {"connection_id":166048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04757"} 
[2026-08-28 13:20:49] local.INFO: GPS Element Parsed {"raw_longitude":756570112,"raw_latitude":119637672,"longitude_deg":75.6570112,"latitude_deg":11.9637672,"altitude":78,"angle":291,"satellites":46,"speed":0,"hex_longitude":"2d185800","hex_latitude":"072186a8","is_valid_coordinates":true} 
[2026-08-28 13:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:20:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703250688001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:20:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15906166567600128,"note":"Value kept but may cause issues"} 
[2026-08-28 13:20:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757811260184977408,"note":"Value kept but may cause issues"} 
[2026-08-28 13:20:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:20:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787903344000,"timestamp_ms":1787903344000,"timestamp_seconds":1787903344,"priority":1,"record_length":96,"hex_timestamp":"000001a04757fd80"} 
[2026-08-28 13:20:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:20:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-28 13:20:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:20:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:20:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:20:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:20:49] local.INFO: Teltonika packet parsed successfully {"connection_id":166048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:20:49] local.INFO: Passing IMEI to GPS processor {"connection_id":166048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:20:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":166048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:20:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:20:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:20:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:20:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703250688001,"66":14102,"121":206,"28":31744,"24":0,"16":15906166567600128,"45":1757811260184977408},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 13:20:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:20:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:20:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703250688001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:20:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 13:20:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:20:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15906166567600128,"km_value":15906166567600.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:20:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757811260184977408,"description":"Unknown IO ID 45"} 
[2026-08-28 13:20:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703250688001,"power":14102,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1757811260184977408}} 
[2026-08-28 13:20:49] local.INFO: DEBUG: GPS processor result {"connection_id":166048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707581,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:20:49] local.INFO: GPS data processed {"connection_id":166048,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:20:49] local.INFO: Acknowledgment sent {"connection_id":166048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:21:09] local.INFO: TCP Data received {"connection_id":163700,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163700,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:21:09] local.INFO: Processing buffer {"connection_id":163700,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:21:09] local.INFO: IMEI packet received {"connection_id":163700,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 13:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":163700,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:21:11] local.INFO: TCP Data received {"connection_id":163700,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163700,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:21:11] local.INFO: Processing buffer {"connection_id":163700,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:21:11] local.INFO: IMEI packet received {"connection_id":163700,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":163700,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:21:11] local.INFO: TCP Data received {"connection_id":163700,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163700,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:21:11] local.INFO: Processing buffer {"connection_id":163700,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:21:11] local.INFO: IMEI packet received {"connection_id":163700,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":163700,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:21:14] local.INFO: TCP Data received {"connection_id":163700,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163700,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:21:14] local.INFO: Processing buffer {"connection_id":163700,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:21:14] local.INFO: IMEI packet received {"connection_id":163700,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:21:14] local.INFO: IMEI acknowledgment sent {"connection_id":163700,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:21:15] local.INFO: TCP Data received {"connection_id":163700,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047584f88012d18590007218640004c01232c..."} 
[2026-08-28 13:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047584f88012d18590007218640004c01232c..."} 
[2026-08-28 13:21:15] local.INFO: Processing buffer {"connection_id":163700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047584f88012d18590007218640004c01232c..."} 
[2026-08-28 13:21:15] local.INFO: Packet analysis {"connection_id":163700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04758"} 
[2026-08-28 13:21:15] local.INFO: Extracted packet for processing {"connection_id":163700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04758"} 
[2026-08-28 13:21:15] local.INFO: GPS Element Parsed {"raw_longitude":756570368,"raw_latitude":119637568,"longitude_deg":75.6570368,"latitude_deg":11.9637568,"altitude":76,"angle":291,"satellites":44,"speed":2,"hex_longitude":"2d185900","hex_latitude":"07218640","is_valid_coordinates":true} 
[2026-08-28 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-28 13:21:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703256064001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:21:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15906175157534720,"note":"Value kept but may cause issues"} 
[2026-08-28 13:21:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754152085488052224,"note":"Value kept but may cause issues"} 
[2026-08-28 13:21:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:21:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787903365000,"timestamp_ms":1787903365000,"timestamp_seconds":1787903365,"priority":1,"record_length":96,"hex_timestamp":"000001a047584f88"} 
[2026-08-28 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-28 13:21:15] 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-28 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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-28 13:21:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 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-28 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-28 13:21:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:21:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:21:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:21:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:21:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:21:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:21:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:21:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703256064001,"66":14428,"121":206,"28":31744,"24":2,"16":15906175157534720,"45":1754152085488052224},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 13:21:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:21:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:21:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703256064001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:21:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 13:21:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:21:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15906175157534720,"km_value":15906175157534.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:21:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754152085488052224,"description":"Unknown IO ID 45"} 
[2026-08-28 13:21:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703256064001,"power":14428,"unknown_121":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1754152085488052224}} 
[2026-08-28 13:21:15] 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":707582,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:21:15] local.INFO: GPS data processed {"connection_id":163700,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:21:15] local.INFO: Acknowledgment sent {"connection_id":163700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:21:25] local.INFO: TCP Data received {"connection_id":163430,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:21:25] local.INFO: Processing buffer {"connection_id":163430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:21:25] local.INFO: IMEI packet received {"connection_id":163430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 13:21:25] local.INFO: IMEI acknowledgment sent {"connection_id":163430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:21:31] local.INFO: TCP Data received {"connection_id":163430,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:21:31] local.INFO: Processing buffer {"connection_id":163430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:21:31] local.INFO: IMEI packet received {"connection_id":163430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 13:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":163430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:21:32] local.INFO: TCP Data received {"connection_id":163430,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0474ddfa8012d34c14006aa4840001b00e629..."} 
[2026-08-28 13:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0474ddfa8012d34c14006aa4840001b00e629..."} 
[2026-08-28 13:21:32] local.INFO: Processing buffer {"connection_id":163430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0474ddfa8012d34c14006aa4840001b00e629..."} 
[2026-08-28 13:21:32] local.INFO: Packet analysis {"connection_id":163430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0474d"} 
[2026-08-28 13:21:32] local.INFO: Extracted packet for processing {"connection_id":163430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0474d"} 
[2026-08-28 13:21:32] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":27,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703009280001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:21:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787902681000,"timestamp_ms":1787902681000,"timestamp_seconds":1787902681,"priority":1,"record_length":96,"hex_timestamp":"000001a0474ddfa8"} 
[2026-08-28 13:21:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:21:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 13:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 13:21:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:21:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:21:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":163430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":163430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":163430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:21:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703009280001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.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-28 13:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703009280001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:21:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 13:21:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 13:21: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-28 13:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703009280001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:21:32] 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":707583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:21:32] local.INFO: GPS data processed {"connection_id":163430,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:21:32] local.INFO: Acknowledgment sent {"connection_id":163430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:21:47] local.INFO: TCP Data received {"connection_id":163700,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a04758a190012d185a4007218590004c01232c..."} 
[2026-08-28 13:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04758a190012d185a4007218590004c01232c..."} 
[2026-08-28 13:21:47] local.INFO: Processing buffer {"connection_id":163700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04758a190012d185a4007218590004c01232c..."} 
[2026-08-28 13:21:47] local.INFO: Packet analysis {"connection_id":163700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04758"} 
[2026-08-28 13:21:47] local.INFO: Extracted packet for processing {"connection_id":163700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04758"} 
[2026-08-28 13:21:47] local.INFO: GPS Element Parsed {"raw_longitude":756570688,"raw_latitude":119637392,"longitude_deg":75.6570688,"latitude_deg":11.9637392,"altitude":76,"angle":291,"satellites":44,"speed":0,"hex_longitude":"2d185a40","hex_latitude":"07218590","is_valid_coordinates":true} 
[2026-08-28 13:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703261440001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15906196632371200,"note":"Value kept but may cause issues"} 
[2026-08-28 13:21:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754433560464736256,"note":"Value kept but may cause issues"} 
[2026-08-28 13:21:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787903386000,"timestamp_ms":1787903386000,"timestamp_seconds":1787903386,"priority":1,"record_length":96,"hex_timestamp":"000001a04758a190"} 
[2026-08-28 13:21:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:21:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-28 13:21:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:21:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:21:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:21:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703261440001,"66":14070,"121":206,"28":31744,"24":0,"16":15906196632371200,"45":1754433560464736256},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 13:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703261440001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:21:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 13:21:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:21:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15906196632371200,"km_value":15906196632371.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:21:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754433560464736256,"description":"Unknown IO ID 45"} 
[2026-08-28 13:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703261440001,"power":14070,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1754433560464736256}} 
[2026-08-28 13:21:47] 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":707584,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:21:47] local.INFO: GPS data processed {"connection_id":163700,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:21:47] local.INFO: Acknowledgment sent {"connection_id":163700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:22:04] local.INFO: TCP Data received {"connection_id":163430,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047527770012d34c14006aa4840001200e629..."} 
[2026-08-28 13:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047527770012d34c14006aa4840001200e629..."} 
[2026-08-28 13:22:04] local.INFO: Processing buffer {"connection_id":163430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047527770012d34c14006aa4840001200e629..."} 
[2026-08-28 13:22:04] local.INFO: Packet analysis {"connection_id":163430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04752"} 
[2026-08-28 13:22:04] local.INFO: Extracted packet for processing {"connection_id":163430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04752"} 
[2026-08-28 13:22:04] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703086336001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:22: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-28 13:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787902982000,"timestamp_ms":1787902982000,"timestamp_seconds":1787902982,"priority":1,"record_length":96,"hex_timestamp":"000001a047527770"} 
[2026-08-28 13:22:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:22:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 13:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 13:22:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:22:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":163430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":163430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":163430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:22:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703086336001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.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-28 13:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703086336001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:22:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 13:22:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 13:22: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-28 13:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703086336001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:22:04] 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":707585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:22:04] local.INFO: GPS data processed {"connection_id":163430,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:22:04] local.INFO: Acknowledgment sent {"connection_id":163430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:22:11] local.INFO: TCP Data received {"connection_id":163701,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163701,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:22:11] local.INFO: Processing buffer {"connection_id":163701,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:22:11] local.INFO: IMEI packet received {"connection_id":163701,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 13:22:11] local.INFO: IMEI acknowledgment sent {"connection_id":163701,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:22:16] local.INFO: TCP Data received {"connection_id":163701,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163701,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:22:16] local.INFO: Processing buffer {"connection_id":163701,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:22:16] local.INFO: IMEI packet received {"connection_id":163701,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:22:16] local.INFO: IMEI acknowledgment sent {"connection_id":163701,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:22:17] local.INFO: TCP Data received {"connection_id":163701,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a04758f398012d183ac007219388004c01242c..."} 
[2026-08-28 13:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04758f398012d183ac007219388004c01242c..."} 
[2026-08-28 13:22:17] local.INFO: Processing buffer {"connection_id":163701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04758f398012d183ac007219388004c01242c..."} 
[2026-08-28 13:22:17] local.INFO: Packet analysis {"connection_id":163701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04758"} 
[2026-08-28 13:22:17] local.INFO: Extracted packet for processing {"connection_id":163701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04758"} 
[2026-08-28 13:22:17] local.INFO: GPS Element Parsed {"raw_longitude":756562624,"raw_latitude":119640968,"longitude_deg":75.6562624,"latitude_deg":11.9640968,"altitude":76,"angle":292,"satellites":44,"speed":24,"hex_longitude":"2d183ac0","hex_latitude":"07219388","is_valid_coordinates":true} 
[2026-08-28 13: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-28 13:22:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703266816001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:22:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15906613244198912,"note":"Value kept but may cause issues"} 
[2026-08-28 13:22:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754785404185579520,"note":"Value kept but may cause issues"} 
[2026-08-28 13:22:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:22:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787903407000,"timestamp_ms":1787903407000,"timestamp_seconds":1787903407,"priority":1,"record_length":96,"hex_timestamp":"000001a04758f398"} 
[2026-08-28 13: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-28 13:22:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-28 13:22: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-28 13: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-28 13: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-28 13:22:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:22:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:22:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:22:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:22:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:22:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:22:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:22:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703266816001,"66":13830,"120":206,"28":31744,"24":24,"16":15906613244198912,"45":1754785404185579520},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 13:22:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:22:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:22:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703266816001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:22:17] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 13:22:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:22:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15906613244198912,"km_value":15906613244198.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:22:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754785404185579520,"description":"Unknown IO ID 45"} 
[2026-08-28 13:22:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703266816001,"power":13830,"unknown_120":206,"unknown_28":31744,"ignition":24,"odometer":null,"unknown_45":1754785404185579520}} 
[2026-08-28 13:22:18] local.INFO: DEBUG: GPS processor result {"connection_id":163701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707586,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:22:18] local.INFO: GPS data processed {"connection_id":163701,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:22:18] local.INFO: Acknowledgment sent {"connection_id":163701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:22:30] local.INFO: TCP Data received {"connection_id":163702,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:22:30] local.INFO: Processing buffer {"connection_id":163702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:22:30] local.INFO: IMEI packet received {"connection_id":163702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 13:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":163702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:22:36] local.INFO: TCP Data received {"connection_id":163702,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:22:36] local.INFO: Processing buffer {"connection_id":163702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:22:36] local.INFO: IMEI packet received {"connection_id":163702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 13:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":163702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:22:38] local.INFO: TCP Data received {"connection_id":163702,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047570b50012d34c14006aa4840001400e62b..."} 
[2026-08-28 13:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047570b50012d34c14006aa4840001400e62b..."} 
[2026-08-28 13:22:38] local.INFO: Processing buffer {"connection_id":163702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047570b50012d34c14006aa4840001400e62b..."} 
[2026-08-28 13:22:38] local.INFO: Packet analysis {"connection_id":163702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04757"} 
[2026-08-28 13:22:38] local.INFO: Extracted packet for processing {"connection_id":163702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04757"} 
[2026-08-28 13:22:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":20,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703163392001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:22:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787903282000,"timestamp_ms":1787903282000,"timestamp_seconds":1787903282,"priority":1,"record_length":96,"hex_timestamp":"000001a047570b50"} 
[2026-08-28 13:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 13:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 13:22:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:22:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703163392001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.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-28 13:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703163392001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:22:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 13:22:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 13:22: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-28 13:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703163392001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":163702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:22:38] local.INFO: GPS data processed {"connection_id":163702,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:22:38] local.INFO: Acknowledgment sent {"connection_id":163702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:22:49] local.INFO: TCP Data received {"connection_id":163701,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047590ef0012d182b0007219ba0004c01322b..."} 
[2026-08-28 13:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047590ef0012d182b0007219ba0004c01322b..."} 
[2026-08-28 13:22:49] local.INFO: Processing buffer {"connection_id":163701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047590ef0012d182b0007219ba0004c01322b..."} 
[2026-08-28 13:22:49] local.INFO: Packet analysis {"connection_id":163701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04759"} 
[2026-08-28 13:22:49] local.INFO: Extracted packet for processing {"connection_id":163701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04759"} 
[2026-08-28 13:22:49] local.INFO: GPS Element Parsed {"raw_longitude":756558592,"raw_latitude":119643040,"longitude_deg":75.6558592,"latitude_deg":11.964304,"altitude":76,"angle":306,"satellites":43,"speed":26,"hex_longitude":"2d182b00","hex_latitude":"07219ba0","is_valid_coordinates":true} 
[2026-08-28 13:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:22:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703272192001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:22:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15906832287531008,"note":"Value kept but may cause issues"} 
[2026-08-28 13:22:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1745918942420109312,"note":"Value kept but may cause issues"} 
[2026-08-28 13:22:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:22:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787903414000,"timestamp_ms":1787903414000,"timestamp_seconds":1787903414,"priority":1,"record_length":96,"hex_timestamp":"000001a047590ef0"} 
[2026-08-28 13:22:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:22:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-08-28 13:22:49] local.WARNING: Large IO value detected {"io_id":24,"raw_value":1407383489282048,"note":"Value kept but may cause issues"} 
[2026-08-28 13:22:49] local.WARNING: Large IO value detected {"io_id":158,"raw_value":1729399850044384512,"note":"Value kept but may cause issues"} 
[2026-08-28 13:22:49] local.WARNING: Large IO value detected {"io_id":130,"raw_value":2466250752,"note":"Value kept but may cause issues"} 
[2026-08-28 13:22:49] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2178941006,"note":"Value kept but may cause issues"} 
[2026-08-28 13:22:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-08-28 13:22:49] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3221302552,"note":"Value kept but may cause issues"} 
[2026-08-28 13:22:49] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2835402215,"note":"Value kept but may cause issues"} 
[2026-08-28 13:22:49] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2187657216,"note":"Value kept but may cause issues"} 
[2026-08-28 13:22:49] local.WARNING: Large IO value detected {"io_id":108,"raw_value":-576129694491998431,"note":"Value kept but may cause issues"} 
[2026-08-28 13:22:49] local.WARNING: Large IO value detected {"io_id":129,"raw_value":-3458680949457616896,"note":"Value kept but may cause issues"} 
[2026-08-28 13:22:49] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,120,28,24,241,158,16,130,160,161,45,64,133,76,44,10,66,121,79,134,253,1,240,22,71,33,4,113,205,159,103,112,239,54,2,56,7,78,5,108,129],"length":528,"final_offset":658,"validated_count":41,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-08-28 13:22:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476698393257967616,"timestamp_seconds":5476698393257968.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 13:22:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:22:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:22:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:22:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:22:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:22:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:22:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:22:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:22:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703272192001,"66":13906,"120":206,"28":31744,"24":26,"16":15906832287531008,"45":1745918942420109312},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 13:22:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:22:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:22:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703272192001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:22:49] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 13:22:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:22:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15906832287531008,"km_value":15906832287531.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:22:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1745918942420109312,"description":"Unknown IO ID 45"} 
[2026-08-28 13:22:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703272192001,"power":13906,"unknown_120":206,"unknown_28":31744,"ignition":26,"odometer":null,"unknown_45":1745918942420109312}} 
[2026-08-28 13:22:49] local.INFO: DEBUG: GPS processor result {"connection_id":163701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707588,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:22:49] local.INFO: GPS data processed {"connection_id":163701,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:22:49] local.INFO: Acknowledgment sent {"connection_id":163701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:23:11] local.INFO: TCP Data received {"connection_id":163431,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163431,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:23:11] local.INFO: Processing buffer {"connection_id":163431,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:23:11] local.INFO: IMEI packet received {"connection_id":163431,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 13:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":163431,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:23:11] local.INFO: TCP Data received {"connection_id":163702,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047570b50012d34c14006aa4840001400e62b..."} 
[2026-08-28 13:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047570b50012d34c14006aa4840001400e62b..."} 
[2026-08-28 13:23:11] local.INFO: Processing buffer {"connection_id":163702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047570b50012d34c14006aa4840001400e62b..."} 
[2026-08-28 13:23:11] local.INFO: Packet analysis {"connection_id":163702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04757"} 
[2026-08-28 13:23:11] local.INFO: Extracted packet for processing {"connection_id":163702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04757"} 
[2026-08-28 13:23:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":20,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703163392001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:23:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:23:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787903282000,"timestamp_ms":1787903282000,"timestamp_seconds":1787903282,"priority":1,"record_length":96,"hex_timestamp":"000001a047570b50"} 
[2026-08-28 13:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:23: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-28 13:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 13:23:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":163702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":163702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":163702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:23:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703163392001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.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-28 13:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703163392001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:23:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 13:23:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 13:23: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-28 13:23:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703163392001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":163702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:23:11] local.INFO: GPS data processed {"connection_id":163702,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:23:11] local.INFO: Acknowledgment sent {"connection_id":163702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:23:16] local.INFO: TCP Data received {"connection_id":163431,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163431,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:23:16] local.INFO: Processing buffer {"connection_id":163431,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:23:16] local.INFO: IMEI packet received {"connection_id":163431,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:23:16] local.INFO: IMEI acknowledgment sent {"connection_id":163431,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:23:17] local.INFO: TCP Data received {"connection_id":163431,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047594988012d181cc00721a810004a015423..."} 
[2026-08-28 13:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047594988012d181cc00721a810004a015423..."} 
[2026-08-28 13:23:17] local.INFO: Processing buffer {"connection_id":163431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047594988012d181cc00721a810004a015423..."} 
[2026-08-28 13:23:17] local.INFO: Packet analysis {"connection_id":163431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04759"} 
[2026-08-28 13:23:17] local.INFO: Extracted packet for processing {"connection_id":163431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04759"} 
[2026-08-28 13:23:17] local.INFO: GPS Element Parsed {"raw_longitude":756554944,"raw_latitude":119646224,"longitude_deg":75.6554944,"latitude_deg":11.9646224,"altitude":74,"angle":340,"satellites":35,"speed":7,"hex_longitude":"2d181cc0","hex_latitude":"0721a810","is_valid_coordinates":true} 
[2026-08-28 13:23:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:23:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703273984001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:23:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15907064215764992,"note":"Value kept but may cause issues"} 
[2026-08-28 13:23:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741485711537446912,"note":"Value kept but may cause issues"} 
[2026-08-28 13:23:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:23:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787903429000,"timestamp_ms":1787903429000,"timestamp_seconds":1787903429,"priority":1,"record_length":96,"hex_timestamp":"000001a047594988"} 
[2026-08-28 13:23:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:23:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13:23:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-08-28 13:23:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:23:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:23:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:23:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:23:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:23:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:23:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:23:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:23:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:23:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:23:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703273984001,"66":14048,"120":206,"28":31744,"24":7,"16":15907064215764992,"45":1741485711537446912},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 13:23:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:23:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:23:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703273984001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:23:17] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 13:23:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:23:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15907064215764992,"km_value":15907064215764.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:23:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741485711537446912,"description":"Unknown IO ID 45"} 
[2026-08-28 13:23:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703273984001,"power":14048,"unknown_120":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1741485711537446912}} 
[2026-08-28 13:23:18] 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":707590,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:23:18] local.INFO: GPS data processed {"connection_id":163431,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:23:18] local.INFO: Acknowledgment sent {"connection_id":163431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:23:36] local.INFO: TCP Data received {"connection_id":166049,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:23:36] local.INFO: Processing buffer {"connection_id":166049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:23:36] local.INFO: IMEI packet received {"connection_id":166049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 13:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":166049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:23:41] local.INFO: TCP Data received {"connection_id":166049,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:23:41] local.INFO: Processing buffer {"connection_id":166049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:23:41] local.INFO: IMEI packet received {"connection_id":166049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 13:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":166049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:23:42] local.INFO: TCP Data received {"connection_id":166049,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047570b50012d34c14006aa4840001400e62b..."} 
[2026-08-28 13:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047570b50012d34c14006aa4840001400e62b..."} 
[2026-08-28 13:23:42] local.INFO: Processing buffer {"connection_id":166049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047570b50012d34c14006aa4840001400e62b..."} 
[2026-08-28 13:23:42] local.INFO: Packet analysis {"connection_id":166049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04757"} 
[2026-08-28 13:23:42] local.INFO: Extracted packet for processing {"connection_id":166049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04757"} 
[2026-08-28 13:23:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":20,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13: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-28 13:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703163392001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:23:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13: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-28 13:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787903282000,"timestamp_ms":1787903282000,"timestamp_seconds":1787903282,"priority":1,"record_length":96,"hex_timestamp":"000001a047570b50"} 
[2026-08-28 13: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-28 13: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-28 13: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-28 13: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-28 13: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-28 13: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-28 13:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":166049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":166049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":166049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:23:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703163392001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.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-28 13:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703163392001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:23:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 13:23:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 13: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-28 13:23:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703163392001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":166049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:23:42] local.INFO: GPS data processed {"connection_id":166049,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:23:42] local.INFO: Acknowledgment sent {"connection_id":166049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:23:48] local.INFO: TCP Data received {"connection_id":166049,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047570b50012d34c14006aa4840001400e62b..."} 
[2026-08-28 13:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047570b50012d34c14006aa4840001400e62b..."} 
[2026-08-28 13:23:48] local.INFO: Processing buffer {"connection_id":166049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047570b50012d34c14006aa4840001400e62b..."} 
[2026-08-28 13:23:48] local.INFO: Packet analysis {"connection_id":166049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04757"} 
[2026-08-28 13:23:48] local.INFO: Extracted packet for processing {"connection_id":166049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04757"} 
[2026-08-28 13:23:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":20,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:23:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:23:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703163392001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:23:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:23:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13: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-28 13:23:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787903282000,"timestamp_ms":1787903282000,"timestamp_seconds":1787903282,"priority":1,"record_length":96,"hex_timestamp":"000001a047570b50"} 
[2026-08-28 13:23:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:23: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-28 13:23:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 13: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-28 13:23:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:23:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:23:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:23:48] local.INFO: Teltonika packet parsed successfully {"connection_id":166049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:23:48] local.INFO: Passing IMEI to GPS processor {"connection_id":166049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:23:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":166049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:23:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:23:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:23:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:23:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703163392001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.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-28 13:23:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:23:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:23:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703163392001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:23:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 13:23:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 13: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-28 13:23:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:23:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703163392001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:23:48] local.INFO: DEBUG: GPS processor result {"connection_id":166049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:23:48] local.INFO: GPS data processed {"connection_id":166049,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:23:48] local.INFO: Acknowledgment sent {"connection_id":166049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:23:49] local.INFO: TCP Data received {"connection_id":163431,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047595158012d181c400721a9b8004a016427..."} 
[2026-08-28 13:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047595158012d181c400721a9b8004a016427..."} 
[2026-08-28 13:23:49] local.INFO: Processing buffer {"connection_id":163431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047595158012d181c400721a9b8004a016427..."} 
[2026-08-28 13:23:49] local.INFO: Packet analysis {"connection_id":163431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04759"} 
[2026-08-28 13:23:49] local.INFO: Extracted packet for processing {"connection_id":163431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04759"} 
[2026-08-28 13:23:49] local.INFO: GPS Element Parsed {"raw_longitude":756554816,"raw_latitude":119646648,"longitude_deg":75.6554816,"latitude_deg":11.9646648,"altitude":74,"angle":356,"satellites":39,"speed":10,"hex_longitude":"2d181c40","hex_latitude":"0721a9b8","is_valid_coordinates":true} 
[2026-08-28 13: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-28 13:23:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703277824001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:23:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15907085690601472,"note":"Value kept but may cause issues"} 
[2026-08-28 13:23:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737474693120135168,"note":"Value kept but may cause issues"} 
[2026-08-28 13:23:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:23:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787903431000,"timestamp_ms":1787903431000,"timestamp_seconds":1787903431,"priority":1,"record_length":96,"hex_timestamp":"000001a047595158"} 
[2026-08-28 13: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-28 13:23:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-28 13:23:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13: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-28 13: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-28 13:23:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:23:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:23:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:23:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:23:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:23:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:23:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:23:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703277824001,"66":14396,"120":206,"28":31744,"24":10,"16":15907085690601472,"45":1737474693120135168},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 13:23:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:23:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:23:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703277824001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:23:49] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 13:23:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:23:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15907085690601472,"km_value":15907085690601.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:23:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737474693120135168,"description":"Unknown IO ID 45"} 
[2026-08-28 13:23:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703277824001,"power":14396,"unknown_120":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1737474693120135168}} 
[2026-08-28 13:23:49] 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":707593,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:23:49] local.INFO: GPS data processed {"connection_id":163431,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:23:49] local.INFO: Acknowledgment sent {"connection_id":163431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:24:11] local.INFO: TCP Data received {"connection_id":163703,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:24:11] local.INFO: Processing buffer {"connection_id":163703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:24:11] local.INFO: IMEI packet received {"connection_id":163703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 13:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":163703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:24:16] local.INFO: TCP Data received {"connection_id":163703,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:24:16] local.INFO: Processing buffer {"connection_id":163703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:24:16] local.INFO: IMEI packet received {"connection_id":163703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:24:16] local.INFO: IMEI acknowledgment sent {"connection_id":163703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:24:17] local.INFO: TCP Data received {"connection_id":163703,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047595928012d181c800721abc00049000e2a..."} 
[2026-08-28 13:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047595928012d181c800721abc00049000e2a..."} 
[2026-08-28 13:24:17] local.INFO: Processing buffer {"connection_id":163703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047595928012d181c800721abc00049000e2a..."} 
[2026-08-28 13:24:17] local.INFO: Packet analysis {"connection_id":163703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04759"} 
[2026-08-28 13:24:17] local.INFO: Extracted packet for processing {"connection_id":163703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04759"} 
[2026-08-28 13:24:17] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119647168,"longitude_deg":75.655488,"latitude_deg":11.9647168,"altitude":73,"angle":14,"satellites":42,"speed":11,"hex_longitude":"2d181c80","hex_latitude":"0721abc0","is_valid_coordinates":true} 
[2026-08-28 13:24:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:24:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703278336001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:24:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15907111460405248,"note":"Value kept but may cause issues"} 
[2026-08-28 13:24:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737333955631888384,"note":"Value kept but may cause issues"} 
[2026-08-28 13:24:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:24:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787903433000,"timestamp_ms":1787903433000,"timestamp_seconds":1787903433,"priority":1,"record_length":96,"hex_timestamp":"000001a047595928"} 
[2026-08-28 13:24:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:24:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13:24:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-28 13:24:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:24:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:24:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:24:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:24:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:24:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:24:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:24:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:24:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:24:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:24:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703278336001,"66":14428,"120":206,"28":31744,"24":11,"16":15907111460405248,"45":1737333955631888384},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 13:24:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:24:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:24:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703278336001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:24:17] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 13:24:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:24:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15907111460405248,"km_value":15907111460405.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:24:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737333955631888384,"description":"Unknown IO ID 45"} 
[2026-08-28 13:24:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703278336001,"power":14428,"unknown_120":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1737333955631888384}} 
[2026-08-28 13:24:18] 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":707594,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:24:18] local.INFO: GPS data processed {"connection_id":163703,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:24:18] local.INFO: Acknowledgment sent {"connection_id":163703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:24:31] local.INFO: TCP Data received {"connection_id":163432,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:24:31] local.INFO: Processing buffer {"connection_id":163432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:24:31] local.INFO: IMEI packet received {"connection_id":163432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 13:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":163432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:24:36] local.INFO: TCP Data received {"connection_id":163432,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:24:36] local.INFO: Processing buffer {"connection_id":163432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:24:36] local.INFO: IMEI packet received {"connection_id":163432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 13:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":163432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:24:40] local.INFO: TCP Data received {"connection_id":163432,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047570b50012d34c14006aa4840001400e62b..."} 
[2026-08-28 13:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047570b50012d34c14006aa4840001400e62b..."} 
[2026-08-28 13:24:40] local.INFO: Processing buffer {"connection_id":163432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047570b50012d34c14006aa4840001400e62b..."} 
[2026-08-28 13:24:40] local.INFO: Packet analysis {"connection_id":163432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04757"} 
[2026-08-28 13:24:40] local.INFO: Extracted packet for processing {"connection_id":163432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04757"} 
[2026-08-28 13:24:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":20,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:24:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703163392001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:24:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:24:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:24: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-28 13:24:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787903282000,"timestamp_ms":1787903282000,"timestamp_seconds":1787903282,"priority":1,"record_length":96,"hex_timestamp":"000001a047570b50"} 
[2026-08-28 13:24:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:24: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-28 13:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 13:24:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:24:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:24:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:24:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:24:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:24:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:24:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:24:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:24:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:24:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:24:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703163392001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.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-28 13:24:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:24:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:24:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703163392001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:24:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 13:24:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 13:24: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-28 13:24:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:24:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703163392001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:24:40] 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":707595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:24:40] local.INFO: GPS data processed {"connection_id":163432,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:24:40] local.INFO: Acknowledgment sent {"connection_id":163432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:24:49] local.INFO: TCP Data received {"connection_id":163703,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0475964e0012d181e000721aec80049001b2b..."} 
[2026-08-28 13:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0475964e0012d181e000721aec80049001b2b..."} 
[2026-08-28 13:24:49] local.INFO: Processing buffer {"connection_id":163703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0475964e0012d181e000721aec80049001b2b..."} 
[2026-08-28 13:24:49] local.INFO: Packet analysis {"connection_id":163703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04759"} 
[2026-08-28 13:24:49] local.INFO: Extracted packet for processing {"connection_id":163703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04759"} 
[2026-08-28 13:24:49] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647944,"longitude_deg":75.6555264,"latitude_deg":11.9647944,"altitude":73,"angle":27,"satellites":43,"speed":11,"hex_longitude":"2d181e00","hex_latitude":"0721aec8","is_valid_coordinates":true} 
[2026-08-28 13:24:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:24:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703278848001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:24:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15907154410078208,"note":"Value kept but may cause issues"} 
[2026-08-28 13:24:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324376199168,"note":"Value kept but may cause issues"} 
[2026-08-28 13:24:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:24:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787903436000,"timestamp_ms":1787903436000,"timestamp_seconds":1787903436,"priority":1,"record_length":96,"hex_timestamp":"000001a0475964e0"} 
[2026-08-28 13:24:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:24:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13:24:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-28 13:24:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:24:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:24:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:24:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:24:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:24:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:24:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:24:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:24:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:24:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:24:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703278848001,"66":14363,"120":206,"28":31744,"24":11,"16":15907154410078208,"45":1737404324376199168},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 13:24:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:24:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:24:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703278848001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:24:49] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 13:24:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:24:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15907154410078208,"km_value":15907154410078.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:24:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324376199168,"description":"Unknown IO ID 45"} 
[2026-08-28 13:24:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703278848001,"power":14363,"unknown_120":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1737404324376199168}} 
[2026-08-28 13:24:49] 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":707596,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:24:49] local.INFO: GPS data processed {"connection_id":163703,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:24:49] local.INFO: Acknowledgment sent {"connection_id":163703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:25:11] local.INFO: TCP Data received {"connection_id":163432,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047570b50012d34c14006aa4840001400e62b..."} 
[2026-08-28 13:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047570b50012d34c14006aa4840001400e62b..."} 
[2026-08-28 13:25:11] local.INFO: Processing buffer {"connection_id":163432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047570b50012d34c14006aa4840001400e62b..."} 
[2026-08-28 13:25:11] local.INFO: Packet analysis {"connection_id":163432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04757"} 
[2026-08-28 13:25:11] local.INFO: Extracted packet for processing {"connection_id":163432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04757"} 
[2026-08-28 13:25:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":20,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703163392001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:25:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:25:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787903282000,"timestamp_ms":1787903282000,"timestamp_seconds":1787903282,"priority":1,"record_length":96,"hex_timestamp":"000001a047570b50"} 
[2026-08-28 13:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:25: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-28 13:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 13:25:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:25:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":163432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":163432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":163432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:25:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703163392001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.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-28 13:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703163392001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:25:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 13:25:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 13:25: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-28 13:25:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703163392001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:25:11] 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":707597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:25:11] local.INFO: GPS data processed {"connection_id":163432,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:25:11] local.INFO: Acknowledgment sent {"connection_id":163432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:25:12] local.INFO: TCP Data received {"connection_id":166050,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166050,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:25:12] local.INFO: Processing buffer {"connection_id":166050,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:25:12] local.INFO: IMEI packet received {"connection_id":166050,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 13:25:12] local.INFO: IMEI acknowledgment sent {"connection_id":166050,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:25:16] local.INFO: TCP Data received {"connection_id":166050,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166050,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:25:16] local.INFO: Processing buffer {"connection_id":166050,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:25:16] local.INFO: IMEI packet received {"connection_id":166050,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:25:16] local.INFO: IMEI acknowledgment sent {"connection_id":166050,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:25:21] local.INFO: TCP Data received {"connection_id":166050,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166050,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:25:21] local.INFO: Processing buffer {"connection_id":166050,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:25:21] local.INFO: IMEI packet received {"connection_id":166050,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:25:21] local.INFO: IMEI acknowledgment sent {"connection_id":166050,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:25:22] local.INFO: TCP Data received {"connection_id":166050,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0475c6280012d181d000721ad88004b00d22c..."} 
[2026-08-28 13:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0475c6280012d181d000721ad88004b00d22c..."} 
[2026-08-28 13:25:22] local.INFO: Processing buffer {"connection_id":166050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0475c6280012d181d000721ad88004b00d22c..."} 
[2026-08-28 13:25:22] local.INFO: Packet analysis {"connection_id":166050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0475c"} 
[2026-08-28 13:25:22] local.INFO: Extracted packet for processing {"connection_id":166050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0475c"} 
[2026-08-28 13:25:22] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647624,"longitude_deg":75.6555008,"latitude_deg":11.9647624,"altitude":75,"angle":210,"satellites":44,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ad88","is_valid_coordinates":true} 
[2026-08-28 13:25:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:25:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703324416001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:25:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15907351978573824,"note":"Value kept but may cause issues"} 
[2026-08-28 13:25:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864671232,"note":"Value kept but may cause issues"} 
[2026-08-28 13:25:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:25:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787903632000,"timestamp_ms":1787903632000,"timestamp_seconds":1787903632,"priority":1,"record_length":96,"hex_timestamp":"000001a0475c6280"} 
[2026-08-28 13:25:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:25:22] 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-28 13:25:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-28 13:25:22] 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-28 13:25:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:25:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:25:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:25:22] local.INFO: Teltonika packet parsed successfully {"connection_id":166050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:25:22] local.INFO: Passing IMEI to GPS processor {"connection_id":166050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:25:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":166050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:25:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:25:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:25:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:25:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703324416001,"66":12950,"120":206,"28":31744,"24":0,"16":15907351978573824,"45":1737545061864671232},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 13:25:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:25:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:25:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703324416001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:25:22] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 13:25:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:25:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15907351978573824,"km_value":15907351978573.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:25:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864671232,"description":"Unknown IO ID 45"} 
[2026-08-28 13:25:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703324416001,"power":12950,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737545061864671232}} 
[2026-08-28 13:25:23] local.INFO: DEBUG: GPS processor result {"connection_id":166050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707598,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:25:23] local.INFO: GPS data processed {"connection_id":166050,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:25:23] local.INFO: Acknowledgment sent {"connection_id":166050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:25:27] local.INFO: TCP Data received {"connection_id":166050,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0475cb488012d181d000721ad88004b00d22d..."} 
[2026-08-28 13:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0475cb488012d181d000721ad88004b00d22d..."} 
[2026-08-28 13:25:27] local.INFO: Processing buffer {"connection_id":166050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0475cb488012d181d000721ad88004b00d22d..."} 
[2026-08-28 13:25:27] local.INFO: Packet analysis {"connection_id":166050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0475c"} 
[2026-08-28 13:25:27] local.INFO: Extracted packet for processing {"connection_id":166050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0475c"} 
[2026-08-28 13:25:27] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647624,"longitude_deg":75.6555008,"latitude_deg":11.9647624,"altitude":75,"angle":210,"satellites":45,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ad88","is_valid_coordinates":true} 
[2026-08-28 13:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:25:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703329792001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:25:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15907351978573824,"note":"Value kept but may cause issues"} 
[2026-08-28 13:25:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864671232,"note":"Value kept but may cause issues"} 
[2026-08-28 13:25:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:25:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787903653000,"timestamp_ms":1787903653000,"timestamp_seconds":1787903653,"priority":1,"record_length":96,"hex_timestamp":"000001a0475cb488"} 
[2026-08-28 13:25:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:25:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-28 13:25:27] 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-28 13:25:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:25:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:25:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:25:27] local.INFO: Teltonika packet parsed successfully {"connection_id":166050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:25:27] local.INFO: Passing IMEI to GPS processor {"connection_id":166050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:25:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":166050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:25:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:25:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:25:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:25:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703329792001,"66":12874,"120":206,"28":31744,"24":0,"16":15907351978573824,"45":1737545061864671232},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 13:25:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:25:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:25:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703329792001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:25:27] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 13:25:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:25:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15907351978573824,"km_value":15907351978573.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:25:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864671232,"description":"Unknown IO ID 45"} 
[2026-08-28 13:25:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703329792001,"power":12874,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737545061864671232}} 
[2026-08-28 13:25:27] local.INFO: DEBUG: GPS processor result {"connection_id":166050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707599,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:25:27] local.INFO: GPS data processed {"connection_id":166050,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:25:27] local.INFO: Acknowledgment sent {"connection_id":166050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:25:30] local.INFO: TCP Data received {"connection_id":164697,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:25:30] local.INFO: Processing buffer {"connection_id":164697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:25:30] local.INFO: IMEI packet received {"connection_id":164697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 13:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":164697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:25:36] local.INFO: TCP Data received {"connection_id":164697,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:25:36] local.INFO: Processing buffer {"connection_id":164697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:25:36] local.INFO: IMEI packet received {"connection_id":164697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 13:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":164697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:25:38] local.INFO: TCP Data received {"connection_id":164697,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047570b50012d34c14006aa4840001400e62b..."} 
[2026-08-28 13:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047570b50012d34c14006aa4840001400e62b..."} 
[2026-08-28 13:25:38] local.INFO: Processing buffer {"connection_id":164697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047570b50012d34c14006aa4840001400e62b..."} 
[2026-08-28 13:25:38] local.INFO: Packet analysis {"connection_id":164697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04757"} 
[2026-08-28 13:25:38] local.INFO: Extracted packet for processing {"connection_id":164697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04757"} 
[2026-08-28 13:25:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":20,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703163392001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:25:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787903282000,"timestamp_ms":1787903282000,"timestamp_seconds":1787903282,"priority":1,"record_length":96,"hex_timestamp":"000001a047570b50"} 
[2026-08-28 13:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:25:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 13:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 13:25:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:25:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:25:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703163392001,"66":25430,"97":206,"81":23296,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.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-28 13:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703163392001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:25:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 13:25:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 13:25: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-28 13:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703163392001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":164697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:25:38] local.INFO: GPS data processed {"connection_id":164697,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:25:38] local.INFO: Acknowledgment sent {"connection_id":164697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:26:10] local.INFO: TCP Data received {"connection_id":164697,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0475dd980012d34c14006aa4840000900e62a..."} 
[2026-08-28 13:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0475dd980012d34c14006aa4840000900e62a..."} 
[2026-08-28 13:26:10] local.INFO: Processing buffer {"connection_id":164697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0475dd980012d34c14006aa4840000900e62a..."} 
[2026-08-28 13:26:10] local.INFO: Packet analysis {"connection_id":164697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0475d"} 
[2026-08-28 13:26:10] local.INFO: Extracted packet for processing {"connection_id":164697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0475d"} 
[2026-08-28 13:26:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703240192001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787903728000,"timestamp_ms":1787903728000,"timestamp_seconds":1787903728,"priority":1,"record_length":96,"hex_timestamp":"000001a0475dd980"} 
[2026-08-28 13:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:26:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 13:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 13:26:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:26:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":164697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":164697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":164697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703240192001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703240192001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:26:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:26:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703240192001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":164697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:26:10] local.INFO: GPS data processed {"connection_id":164697,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:26:10] local.INFO: Acknowledgment sent {"connection_id":164697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:26:11] local.INFO: TCP Data received {"connection_id":164698,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164698,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:26:11] local.INFO: Processing buffer {"connection_id":164698,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:26:11] local.INFO: IMEI packet received {"connection_id":164698,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 13:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":164698,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:26:15] local.INFO: TCP Data received {"connection_id":164698,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164698,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:26:15] local.INFO: Processing buffer {"connection_id":164698,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:26:15] local.INFO: IMEI packet received {"connection_id":164698,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":164698,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:26:17] local.INFO: TCP Data received {"connection_id":164698,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0475d0690012d181d000721ad88004b00d22d..."} 
[2026-08-28 13:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0475d0690012d181d000721ad88004b00d22d..."} 
[2026-08-28 13:26:17] local.INFO: Processing buffer {"connection_id":164698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0475d0690012d181d000721ad88004b00d22d..."} 
[2026-08-28 13:26:17] local.INFO: Packet analysis {"connection_id":164698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0475d"} 
[2026-08-28 13:26:17] local.INFO: Extracted packet for processing {"connection_id":164698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0475d"} 
[2026-08-28 13:26:17] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647624,"longitude_deg":75.6555008,"latitude_deg":11.9647624,"altitude":75,"angle":210,"satellites":45,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ad88","is_valid_coordinates":true} 
[2026-08-28 13:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:26:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703335168001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:26:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15907351978573824,"note":"Value kept but may cause issues"} 
[2026-08-28 13:26:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864671232,"note":"Value kept but may cause issues"} 
[2026-08-28 13:26:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:26:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787903674000,"timestamp_ms":1787903674000,"timestamp_seconds":1787903674,"priority":1,"record_length":96,"hex_timestamp":"000001a0475d0690"} 
[2026-08-28 13:26:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:26:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-08-28 13:26:17] 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-28 13:26:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:26:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:26:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:26:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:26:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:26:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:26:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:26:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:26:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:26:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703335168001,"66":12863,"120":206,"28":31744,"24":0,"16":15907351978573824,"45":1737545061864671232},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 13:26:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:26:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:26:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703335168001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:26:17] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 13:26:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:26:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15907351978573824,"km_value":15907351978573.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:26:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864671232,"description":"Unknown IO ID 45"} 
[2026-08-28 13:26:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703335168001,"power":12863,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737545061864671232}} 
[2026-08-28 13:26:17] local.INFO: DEBUG: GPS processor result {"connection_id":164698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707602,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:26:17] local.INFO: GPS data processed {"connection_id":164698,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:26:17] local.INFO: Acknowledgment sent {"connection_id":164698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:26:36] local.INFO: TCP Data received {"connection_id":163433,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:26:36] local.INFO: Processing buffer {"connection_id":163433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:26:36] local.INFO: IMEI packet received {"connection_id":163433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 13:26:36] local.INFO: IMEI acknowledgment sent {"connection_id":163433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:26:41] local.INFO: TCP Data received {"connection_id":163433,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:26:41] local.INFO: Processing buffer {"connection_id":163433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:26:41] local.INFO: IMEI packet received {"connection_id":163433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 13:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":163433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:26:42] local.INFO: TCP Data received {"connection_id":163433,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0475dd980012d34c14006aa4840000900e62a..."} 
[2026-08-28 13:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0475dd980012d34c14006aa4840000900e62a..."} 
[2026-08-28 13:26:42] local.INFO: Processing buffer {"connection_id":163433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0475dd980012d34c14006aa4840000900e62a..."} 
[2026-08-28 13:26:42] local.INFO: Packet analysis {"connection_id":163433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0475d"} 
[2026-08-28 13:26:42] local.INFO: Extracted packet for processing {"connection_id":163433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0475d"} 
[2026-08-28 13:26:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13: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-28 13:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703240192001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:26:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787903728000,"timestamp_ms":1787903728000,"timestamp_seconds":1787903728,"priority":1,"record_length":96,"hex_timestamp":"000001a0475dd980"} 
[2026-08-28 13: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-28 13: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-28 13: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":86,"data_length":795,"current_offset":136} 
[2026-08-28 13:26: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-28 13: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-28 13: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-28 13:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:26:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703240192001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703240192001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:26:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:26:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13: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-28 13:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703240192001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:26:42] 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":707603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:26:42] local.INFO: GPS data processed {"connection_id":163433,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:26:42] local.INFO: Acknowledgment sent {"connection_id":163433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:26:47] local.INFO: TCP Data received {"connection_id":163433,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0475dd980012d34c14006aa4840000900e62a..."} 
[2026-08-28 13:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0475dd980012d34c14006aa4840000900e62a..."} 
[2026-08-28 13:26:47] local.INFO: Processing buffer {"connection_id":163433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0475dd980012d34c14006aa4840000900e62a..."} 
[2026-08-28 13:26:47] local.INFO: Packet analysis {"connection_id":163433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0475d"} 
[2026-08-28 13:26:47] local.INFO: Extracted packet for processing {"connection_id":163433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0475d"} 
[2026-08-28 13:26:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13: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-28 13:26:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703240192001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:26:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:26:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:26:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:26:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787903728000,"timestamp_ms":1787903728000,"timestamp_seconds":1787903728,"priority":1,"record_length":96,"hex_timestamp":"000001a0475dd980"} 
[2026-08-28 13: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-28 13:26: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-28 13: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":86,"data_length":795,"current_offset":136} 
[2026-08-28 13:26: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-28 13: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-28 13: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-28 13:26:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:26:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:26:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:26:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:26:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:26:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:26:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:26:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703240192001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:26:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:26:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:26:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703240192001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:26:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:26:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13: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-28 13:26:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:26:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703240192001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:26:47] 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":707604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:26:47] local.INFO: GPS data processed {"connection_id":163433,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:26:47] local.INFO: Acknowledgment sent {"connection_id":163433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:26:48] local.INFO: TCP Data received {"connection_id":164698,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0475d5898012d181d000721ad88004b00d22c..."} 
[2026-08-28 13:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0475d5898012d181d000721ad88004b00d22c..."} 
[2026-08-28 13:26:48] local.INFO: Processing buffer {"connection_id":164698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0475d5898012d181d000721ad88004b00d22c..."} 
[2026-08-28 13:26:48] local.INFO: Packet analysis {"connection_id":164698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0475d"} 
[2026-08-28 13:26:48] local.INFO: Extracted packet for processing {"connection_id":164698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0475d"} 
[2026-08-28 13:26:48] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647624,"longitude_deg":75.6555008,"latitude_deg":11.9647624,"altitude":75,"angle":210,"satellites":44,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ad88","is_valid_coordinates":true} 
[2026-08-28 13:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:26:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703340544001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:26:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15907351978573824,"note":"Value kept but may cause issues"} 
[2026-08-28 13:26:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864671232,"note":"Value kept but may cause issues"} 
[2026-08-28 13:26:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:26:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787903695000,"timestamp_ms":1787903695000,"timestamp_seconds":1787903695,"priority":1,"record_length":96,"hex_timestamp":"000001a0475d5898"} 
[2026-08-28 13:26:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:26:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-28 13:26:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:26:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:26:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:26:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:26:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:26:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:26:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:26:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:26:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:26:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:26:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703340544001,"66":12863,"120":206,"28":31744,"24":0,"16":15907351978573824,"45":1737545061864671232},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 13:26:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:26:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:26:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703340544001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:26:48] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 13:26:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:26:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15907351978573824,"km_value":15907351978573.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:26:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864671232,"description":"Unknown IO ID 45"} 
[2026-08-28 13:26:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703340544001,"power":12863,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737545061864671232}} 
[2026-08-28 13:26:48] local.INFO: DEBUG: GPS processor result {"connection_id":164698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707605,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:26:48] local.INFO: GPS data processed {"connection_id":164698,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:26:48] local.INFO: Acknowledgment sent {"connection_id":164698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:27:11] local.INFO: TCP Data received {"connection_id":166051,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:27:11] local.INFO: Processing buffer {"connection_id":166051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:27:11] local.INFO: IMEI packet received {"connection_id":166051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 13:27:11] local.INFO: IMEI acknowledgment sent {"connection_id":166051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:27:16] local.INFO: TCP Data received {"connection_id":166051,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:27:16] local.INFO: Processing buffer {"connection_id":166051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:27:16] local.INFO: IMEI packet received {"connection_id":166051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:27:16] local.INFO: IMEI acknowledgment sent {"connection_id":166051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:27:17] local.INFO: TCP Data received {"connection_id":166051,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0475daaa0012d181d000721ad88004b00d22d..."} 
[2026-08-28 13:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0475daaa0012d181d000721ad88004b00d22d..."} 
[2026-08-28 13:27:17] local.INFO: Processing buffer {"connection_id":166051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0475daaa0012d181d000721ad88004b00d22d..."} 
[2026-08-28 13:27:17] local.INFO: Packet analysis {"connection_id":166051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0475d"} 
[2026-08-28 13:27:17] local.INFO: Extracted packet for processing {"connection_id":166051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0475d"} 
[2026-08-28 13:27:17] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647624,"longitude_deg":75.6555008,"latitude_deg":11.9647624,"altitude":75,"angle":210,"satellites":45,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ad88","is_valid_coordinates":true} 
[2026-08-28 13:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:27:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703345920001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:27:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15907351978573824,"note":"Value kept but may cause issues"} 
[2026-08-28 13:27:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864671232,"note":"Value kept but may cause issues"} 
[2026-08-28 13:27:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:27:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787903716000,"timestamp_ms":1787903716000,"timestamp_seconds":1787903716,"priority":1,"record_length":96,"hex_timestamp":"000001a0475daaa0"} 
[2026-08-28 13:27:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:27:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-28 13:27:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:27:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:27:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:27:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:27:17] local.INFO: Teltonika packet parsed successfully {"connection_id":166051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:27:17] local.INFO: Passing IMEI to GPS processor {"connection_id":166051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:27:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":166051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:27:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:27:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:27:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:27:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703345920001,"66":12852,"120":206,"28":31744,"24":0,"16":15907351978573824,"45":1737545061864671232},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 13:27:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:27:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:27:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703345920001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:27:17] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 13:27:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:27:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15907351978573824,"km_value":15907351978573.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:27:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864671232,"description":"Unknown IO ID 45"} 
[2026-08-28 13:27:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703345920001,"power":12852,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737545061864671232}} 
[2026-08-28 13:27:18] local.INFO: DEBUG: GPS processor result {"connection_id":166051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707606,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:27:18] local.INFO: GPS data processed {"connection_id":166051,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:27:18] local.INFO: Acknowledgment sent {"connection_id":166051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:27:31] local.INFO: TCP Data received {"connection_id":163434,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:27:31] local.INFO: Processing buffer {"connection_id":163434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:27:31] local.INFO: IMEI packet received {"connection_id":163434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 13:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":163434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:27:36] local.INFO: TCP Data received {"connection_id":163434,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:27:36] local.INFO: Processing buffer {"connection_id":163434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:27:36] local.INFO: IMEI packet received {"connection_id":163434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 13:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":163434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:27:38] local.INFO: TCP Data received {"connection_id":163434,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0475dd980012d34c14006aa4840000900e62a..."} 
[2026-08-28 13:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0475dd980012d34c14006aa4840000900e62a..."} 
[2026-08-28 13:27:38] local.INFO: Processing buffer {"connection_id":163434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0475dd980012d34c14006aa4840000900e62a..."} 
[2026-08-28 13:27:38] local.INFO: Packet analysis {"connection_id":163434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0475d"} 
[2026-08-28 13:27:38] local.INFO: Extracted packet for processing {"connection_id":163434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0475d"} 
[2026-08-28 13:27:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:27:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703240192001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:27:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:27:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:27:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:27:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787903728000,"timestamp_ms":1787903728000,"timestamp_seconds":1787903728,"priority":1,"record_length":96,"hex_timestamp":"000001a0475dd980"} 
[2026-08-28 13:27:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:27:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 13:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 13:27:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:27:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:27:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:27:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:27:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:27:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:27:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:27:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:27:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:27:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:27:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703240192001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:27:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:27:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:27:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703240192001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:27:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:27:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13:27: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-28 13:27:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:27:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703240192001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:27:38] 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":707607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:27:38] local.INFO: GPS data processed {"connection_id":163434,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:27:38] local.INFO: Acknowledgment sent {"connection_id":163434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:27:49] local.INFO: TCP Data received {"connection_id":166051,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0475dfca8012d181d000721ad88004b00d22c..."} 
[2026-08-28 13:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0475dfca8012d181d000721ad88004b00d22c..."} 
[2026-08-28 13:27:49] local.INFO: Processing buffer {"connection_id":166051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0475dfca8012d181d000721ad88004b00d22c..."} 
[2026-08-28 13:27:49] local.INFO: Packet analysis {"connection_id":166051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0475d"} 
[2026-08-28 13:27:49] local.INFO: Extracted packet for processing {"connection_id":166051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0475d"} 
[2026-08-28 13:27:49] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647624,"longitude_deg":75.6555008,"latitude_deg":11.9647624,"altitude":75,"angle":210,"satellites":44,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ad88","is_valid_coordinates":true} 
[2026-08-28 13:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:27:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703351296001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:27:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15907351978573824,"note":"Value kept but may cause issues"} 
[2026-08-28 13:27:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864671232,"note":"Value kept but may cause issues"} 
[2026-08-28 13:27:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:27:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787903737000,"timestamp_ms":1787903737000,"timestamp_seconds":1787903737,"priority":1,"record_length":96,"hex_timestamp":"000001a0475dfca8"} 
[2026-08-28 13:27:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:27:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-28 13:27:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:27:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:27:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:27:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:27:49] local.INFO: Teltonika packet parsed successfully {"connection_id":166051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:27:49] local.INFO: Passing IMEI to GPS processor {"connection_id":166051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:27:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":166051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:27:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:27:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:27:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:27:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703351296001,"66":12841,"120":206,"28":31744,"24":0,"16":15907351978573824,"45":1737545061864671232},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 13:27:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:27:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:27:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703351296001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:27:49] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 13:27:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:27:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15907351978573824,"km_value":15907351978573.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:27:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864671232,"description":"Unknown IO ID 45"} 
[2026-08-28 13:27:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703351296001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737545061864671232}} 
[2026-08-28 13:27:49] local.INFO: DEBUG: GPS processor result {"connection_id":166051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707608,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:27:49] local.INFO: GPS data processed {"connection_id":166051,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:27:49] local.INFO: Acknowledgment sent {"connection_id":166051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:28:10] local.INFO: TCP Data received {"connection_id":163434,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0475dd980012d34c14006aa4840000900e62a..."} 
[2026-08-28 13:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0475dd980012d34c14006aa4840000900e62a..."} 
[2026-08-28 13:28:10] local.INFO: Processing buffer {"connection_id":163434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0475dd980012d34c14006aa4840000900e62a..."} 
[2026-08-28 13:28:10] local.INFO: Packet analysis {"connection_id":163434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0475d"} 
[2026-08-28 13:28:10] local.INFO: Extracted packet for processing {"connection_id":163434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0475d"} 
[2026-08-28 13:28:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703240192001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:28:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:28:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787903728000,"timestamp_ms":1787903728000,"timestamp_seconds":1787903728,"priority":1,"record_length":96,"hex_timestamp":"000001a0475dd980"} 
[2026-08-28 13:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:28:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 13:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 13:28:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:28:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:28:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703240192001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703240192001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:28:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:28:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:28:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703240192001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:28:10] 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":707609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:28:10] local.INFO: GPS data processed {"connection_id":163434,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:28:10] local.INFO: Acknowledgment sent {"connection_id":163434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:28:11] local.INFO: TCP Data received {"connection_id":164699,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164699,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:28:11] local.INFO: Processing buffer {"connection_id":164699,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:28:11] local.INFO: IMEI packet received {"connection_id":164699,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 13:28:11] local.INFO: IMEI acknowledgment sent {"connection_id":164699,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:28:16] local.INFO: TCP Data received {"connection_id":164699,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164699,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:28:16] local.INFO: Processing buffer {"connection_id":164699,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:28:16] local.INFO: IMEI packet received {"connection_id":164699,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:28:16] local.INFO: IMEI acknowledgment sent {"connection_id":164699,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:28:17] local.INFO: TCP Data received {"connection_id":164699,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0475e4eb0012d181d000721ad88004b00d22a..."} 
[2026-08-28 13:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0475e4eb0012d181d000721ad88004b00d22a..."} 
[2026-08-28 13:28:17] local.INFO: Processing buffer {"connection_id":164699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0475e4eb0012d181d000721ad88004b00d22a..."} 
[2026-08-28 13:28:17] local.INFO: Packet analysis {"connection_id":164699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0475e"} 
[2026-08-28 13:28:17] local.INFO: Extracted packet for processing {"connection_id":164699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0475e"} 
[2026-08-28 13:28:17] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647624,"longitude_deg":75.6555008,"latitude_deg":11.9647624,"altitude":75,"angle":210,"satellites":42,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ad88","is_valid_coordinates":true} 
[2026-08-28 13:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:28:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703356672001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:28:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15907351978573824,"note":"Value kept but may cause issues"} 
[2026-08-28 13:28:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864671232,"note":"Value kept but may cause issues"} 
[2026-08-28 13:28:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:28:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787903758000,"timestamp_ms":1787903758000,"timestamp_seconds":1787903758,"priority":1,"record_length":96,"hex_timestamp":"000001a0475e4eb0"} 
[2026-08-28 13:28:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:28:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-28 13:28:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:28:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:28:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:28:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:28:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:28:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:28:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:28:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:28:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:28:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:28:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703356672001,"66":12841,"120":206,"28":31744,"24":0,"16":15907351978573824,"45":1737545061864671232},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 13:28:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:28:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:28:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703356672001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:28:17] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 13:28:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:28:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15907351978573824,"km_value":15907351978573.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:28:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864671232,"description":"Unknown IO ID 45"} 
[2026-08-28 13:28:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703356672001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737545061864671232}} 
[2026-08-28 13:28:18] local.INFO: DEBUG: GPS processor result {"connection_id":164699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707610,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:28:18] local.INFO: GPS data processed {"connection_id":164699,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:28:18] local.INFO: Acknowledgment sent {"connection_id":164699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:28:30] local.INFO: TCP Data received {"connection_id":164700,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:28:30] local.INFO: Processing buffer {"connection_id":164700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:28:30] local.INFO: IMEI packet received {"connection_id":164700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 13:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":164700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:28:36] local.INFO: TCP Data received {"connection_id":164700,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:28:36] local.INFO: Processing buffer {"connection_id":164700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:28:36] local.INFO: IMEI packet received {"connection_id":164700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 13:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":164700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:28:38] local.INFO: TCP Data received {"connection_id":164700,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0475dd980012d34c14006aa4840000900e62a..."} 
[2026-08-28 13:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0475dd980012d34c14006aa4840000900e62a..."} 
[2026-08-28 13:28:38] local.INFO: Processing buffer {"connection_id":164700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0475dd980012d34c14006aa4840000900e62a..."} 
[2026-08-28 13:28:38] local.INFO: Packet analysis {"connection_id":164700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0475d"} 
[2026-08-28 13:28:38] local.INFO: Extracted packet for processing {"connection_id":164700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0475d"} 
[2026-08-28 13:28:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703240192001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787903728000,"timestamp_ms":1787903728000,"timestamp_seconds":1787903728,"priority":1,"record_length":96,"hex_timestamp":"000001a0475dd980"} 
[2026-08-28 13:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 13:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 13:28:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:28:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703240192001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703240192001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:28:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:28:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13:28: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-28 13:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703240192001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":164700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:28:38] local.INFO: GPS data processed {"connection_id":164700,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:28:38] local.INFO: Acknowledgment sent {"connection_id":164700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:28:49] local.INFO: TCP Data received {"connection_id":164699,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0475ea0b8012d181d000721ad88004b00d22b..."} 
[2026-08-28 13:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0475ea0b8012d181d000721ad88004b00d22b..."} 
[2026-08-28 13:28:49] local.INFO: Processing buffer {"connection_id":164699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0475ea0b8012d181d000721ad88004b00d22b..."} 
[2026-08-28 13:28:49] local.INFO: Packet analysis {"connection_id":164699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0475e"} 
[2026-08-28 13:28:49] local.INFO: Extracted packet for processing {"connection_id":164699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0475e"} 
[2026-08-28 13:28:49] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647624,"longitude_deg":75.6555008,"latitude_deg":11.9647624,"altitude":75,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ad88","is_valid_coordinates":true} 
[2026-08-28 13:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:28:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703362048001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:28:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15907351978573824,"note":"Value kept but may cause issues"} 
[2026-08-28 13:28:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864671232,"note":"Value kept but may cause issues"} 
[2026-08-28 13:28:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:28:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787903779000,"timestamp_ms":1787903779000,"timestamp_seconds":1787903779,"priority":1,"record_length":96,"hex_timestamp":"000001a0475ea0b8"} 
[2026-08-28 13:28:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:28:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-28 13:28:49] 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-28 13:28:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:28:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:28:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:28:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:28:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:28:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:28:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:28:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:28:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:28:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703362048001,"66":12841,"120":206,"28":31744,"24":0,"16":15907351978573824,"45":1737545061864671232},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 13:28:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:28:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:28:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703362048001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:28:49] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 13:28:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:28:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15907351978573824,"km_value":15907351978573.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:28:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864671232,"description":"Unknown IO ID 45"} 
[2026-08-28 13:28:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703362048001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737545061864671232}} 
[2026-08-28 13:28:49] local.INFO: DEBUG: GPS processor result {"connection_id":164699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707612,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:28:49] local.INFO: GPS data processed {"connection_id":164699,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:28:49] local.INFO: Acknowledgment sent {"connection_id":164699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:29:11] local.INFO: TCP Data received {"connection_id":163704,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163704,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:29:11] local.INFO: Processing buffer {"connection_id":163704,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:29:11] local.INFO: IMEI packet received {"connection_id":163704,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 13:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":163704,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:29:12] local.INFO: TCP Data received {"connection_id":164700,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0475dd980012d34c14006aa4840000900e62a..."} 
[2026-08-28 13:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0475dd980012d34c14006aa4840000900e62a..."} 
[2026-08-28 13:29:12] local.INFO: Processing buffer {"connection_id":164700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0475dd980012d34c14006aa4840000900e62a..."} 
[2026-08-28 13:29:12] local.INFO: Packet analysis {"connection_id":164700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0475d"} 
[2026-08-28 13:29:12] local.INFO: Extracted packet for processing {"connection_id":164700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0475d"} 
[2026-08-28 13:29:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:29:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703240192001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:29:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:29:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:29:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:29:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787903728000,"timestamp_ms":1787903728000,"timestamp_seconds":1787903728,"priority":1,"record_length":96,"hex_timestamp":"000001a0475dd980"} 
[2026-08-28 13:29:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:29: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-28 13:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 13:29:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:29:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:29:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:29:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:29:12] local.INFO: Teltonika packet parsed successfully {"connection_id":164700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:29:12] local.INFO: Passing IMEI to GPS processor {"connection_id":164700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:29:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":164700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:29:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:29:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:29:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:29:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703240192001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:29:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:29:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:29:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703240192001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:29:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:29:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13:29: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-28 13:29:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:29:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703240192001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:29:12] local.INFO: DEBUG: GPS processor result {"connection_id":164700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:29:12] local.INFO: GPS data processed {"connection_id":164700,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:29:12] local.INFO: Acknowledgment sent {"connection_id":164700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:29:16] local.INFO: TCP Data received {"connection_id":163704,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163704,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:29:16] local.INFO: Processing buffer {"connection_id":163704,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:29:16] local.INFO: IMEI packet received {"connection_id":163704,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:29:16] local.INFO: IMEI acknowledgment sent {"connection_id":163704,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:29:17] local.INFO: TCP Data received {"connection_id":163704,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0475ef2c0012d181d000721ad88004b00d22c..."} 
[2026-08-28 13:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0475ef2c0012d181d000721ad88004b00d22c..."} 
[2026-08-28 13:29:17] local.INFO: Processing buffer {"connection_id":163704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0475ef2c0012d181d000721ad88004b00d22c..."} 
[2026-08-28 13:29:17] local.INFO: Packet analysis {"connection_id":163704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0475e"} 
[2026-08-28 13:29:17] local.INFO: Extracted packet for processing {"connection_id":163704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0475e"} 
[2026-08-28 13:29:17] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647624,"longitude_deg":75.6555008,"latitude_deg":11.9647624,"altitude":75,"angle":210,"satellites":44,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ad88","is_valid_coordinates":true} 
[2026-08-28 13: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-28 13:29:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703367424001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:29:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15907351978573824,"note":"Value kept but may cause issues"} 
[2026-08-28 13:29:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864671232,"note":"Value kept but may cause issues"} 
[2026-08-28 13:29:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:29:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787903800000,"timestamp_ms":1787903800000,"timestamp_seconds":1787903800,"priority":1,"record_length":96,"hex_timestamp":"000001a0475ef2c0"} 
[2026-08-28 13: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-28 13:29:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-28 13:29:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13: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-28 13: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-28 13:29:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:29:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:29:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:29:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:29:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:29:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:29:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:29:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703367424001,"66":12461,"120":206,"28":31744,"24":0,"16":15907351978573824,"45":1737545061864671232},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 13:29:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:29:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:29:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703367424001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:29:17] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 13:29:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:29:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15907351978573824,"km_value":15907351978573.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:29:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864671232,"description":"Unknown IO ID 45"} 
[2026-08-28 13:29:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703367424001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737545061864671232}} 
[2026-08-28 13:29:18] 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":707614,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:29:18] local.INFO: GPS data processed {"connection_id":163704,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:29:18] local.INFO: Acknowledgment sent {"connection_id":163704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:29:30] local.INFO: TCP Data received {"connection_id":166052,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:29:30] local.INFO: Processing buffer {"connection_id":166052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:29:30] local.INFO: IMEI packet received {"connection_id":166052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 13:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":166052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:29:36] local.INFO: TCP Data received {"connection_id":166052,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:29:36] local.INFO: Processing buffer {"connection_id":166052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:29:36] local.INFO: IMEI packet received {"connection_id":166052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 13:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":166052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:29:39] local.INFO: TCP Data received {"connection_id":166052,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0475dd980012d34c14006aa4840000900e62a..."} 
[2026-08-28 13:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0475dd980012d34c14006aa4840000900e62a..."} 
[2026-08-28 13:29:39] local.INFO: Processing buffer {"connection_id":166052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0475dd980012d34c14006aa4840000900e62a..."} 
[2026-08-28 13:29:39] local.INFO: Packet analysis {"connection_id":166052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0475d"} 
[2026-08-28 13:29:39] local.INFO: Extracted packet for processing {"connection_id":166052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0475d"} 
[2026-08-28 13:29:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:29:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703240192001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:29:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:29:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:29:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:29:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787903728000,"timestamp_ms":1787903728000,"timestamp_seconds":1787903728,"priority":1,"record_length":96,"hex_timestamp":"000001a0475dd980"} 
[2026-08-28 13:29:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:29:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 13:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 13:29:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:29:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:29:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:29:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:29:39] local.INFO: Teltonika packet parsed successfully {"connection_id":166052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:29:39] local.INFO: Passing IMEI to GPS processor {"connection_id":166052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:29:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":166052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:29:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:29:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:29:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:29:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703240192001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:29:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:29:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:29:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703240192001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:29:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:29:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13:29:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:29:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:29:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703240192001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:29:39] local.INFO: DEBUG: GPS processor result {"connection_id":166052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:29:39] local.INFO: GPS data processed {"connection_id":166052,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:29:39] local.INFO: Acknowledgment sent {"connection_id":166052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:29:49] local.INFO: TCP Data received {"connection_id":163704,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0475f44c8012d181d000721ad88004b00d22d..."} 
[2026-08-28 13:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0475f44c8012d181d000721ad88004b00d22d..."} 
[2026-08-28 13:29:49] local.INFO: Processing buffer {"connection_id":163704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0475f44c8012d181d000721ad88004b00d22d..."} 
[2026-08-28 13:29:49] local.INFO: Packet analysis {"connection_id":163704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0475f"} 
[2026-08-28 13:29:49] local.INFO: Extracted packet for processing {"connection_id":163704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0475f"} 
[2026-08-28 13:29:49] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647624,"longitude_deg":75.6555008,"latitude_deg":11.9647624,"altitude":75,"angle":210,"satellites":45,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ad88","is_valid_coordinates":true} 
[2026-08-28 13: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-28 13:29:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703372800001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:29:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15907351978573824,"note":"Value kept but may cause issues"} 
[2026-08-28 13:29:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864671232,"note":"Value kept but may cause issues"} 
[2026-08-28 13:29:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:29:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787903821000,"timestamp_ms":1787903821000,"timestamp_seconds":1787903821,"priority":1,"record_length":96,"hex_timestamp":"000001a0475f44c8"} 
[2026-08-28 13: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-28 13:29:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 13:29:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13: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-28 13: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-28 13:29:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:29:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:29:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:29:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:29:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:29:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:29:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:29:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703372800001,"66":12798,"120":206,"28":31744,"24":0,"16":15907351978573824,"45":1737545061864671232},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 13:29:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:29:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:29:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703372800001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:29:49] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 13:29:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:29:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15907351978573824,"km_value":15907351978573.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:29:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864671232,"description":"Unknown IO ID 45"} 
[2026-08-28 13:29:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703372800001,"power":12798,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737545061864671232}} 
[2026-08-28 13:29:49] 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":707616,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:29:49] local.INFO: GPS data processed {"connection_id":163704,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:29:49] local.INFO: Acknowledgment sent {"connection_id":163704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:30:12] local.INFO: TCP Data received {"connection_id":166052,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0475dd980012d34c14006aa4840000900e62a..."} 
[2026-08-28 13:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0475dd980012d34c14006aa4840000900e62a..."} 
[2026-08-28 13:30:12] local.INFO: Processing buffer {"connection_id":166052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0475dd980012d34c14006aa4840000900e62a..."} 
[2026-08-28 13:30:12] local.INFO: Packet analysis {"connection_id":166052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0475d"} 
[2026-08-28 13:30:12] local.INFO: Extracted packet for processing {"connection_id":166052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0475d"} 
[2026-08-28 13:30:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703240192001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:30:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:30:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787903728000,"timestamp_ms":1787903728000,"timestamp_seconds":1787903728,"priority":1,"record_length":96,"hex_timestamp":"000001a0475dd980"} 
[2026-08-28 13:30:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:30: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-28 13:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 13:30:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:30:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:30:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":166052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":166052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":166052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:30:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703240192001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703240192001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:30:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:30:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13:30: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-28 13:30:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:30:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703240192001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:30:12] local.INFO: DEBUG: GPS processor result {"connection_id":166052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:30:12] local.INFO: GPS data processed {"connection_id":166052,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:30:12] local.INFO: Acknowledgment sent {"connection_id":166052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:30:16] local.INFO: TCP Data received {"connection_id":164701,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164701,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:30:16] local.INFO: Processing buffer {"connection_id":164701,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:30:16] local.INFO: IMEI packet received {"connection_id":164701,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 13:30:16] local.INFO: IMEI acknowledgment sent {"connection_id":164701,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:30:21] local.INFO: TCP Data received {"connection_id":164701,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164701,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:30:21] local.INFO: Processing buffer {"connection_id":164701,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:30:21] local.INFO: IMEI packet received {"connection_id":164701,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:30:21] local.INFO: IMEI acknowledgment sent {"connection_id":164701,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:30:22] local.INFO: TCP Data received {"connection_id":164701,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0475f96d0012d181d000721ad88004b00d22d..."} 
[2026-08-28 13:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0475f96d0012d181d000721ad88004b00d22d..."} 
[2026-08-28 13:30:22] local.INFO: Processing buffer {"connection_id":164701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0475f96d0012d181d000721ad88004b00d22d..."} 
[2026-08-28 13:30:22] local.INFO: Packet analysis {"connection_id":164701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0475f"} 
[2026-08-28 13:30:22] local.INFO: Extracted packet for processing {"connection_id":164701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0475f"} 
[2026-08-28 13:30:22] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647624,"longitude_deg":75.6555008,"latitude_deg":11.9647624,"altitude":75,"angle":210,"satellites":45,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ad88","is_valid_coordinates":true} 
[2026-08-28 13:30:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:30:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703378176001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:30:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15907351978573824,"note":"Value kept but may cause issues"} 
[2026-08-28 13:30:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864671232,"note":"Value kept but may cause issues"} 
[2026-08-28 13:30:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:30:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787903842000,"timestamp_ms":1787903842000,"timestamp_seconds":1787903842,"priority":1,"record_length":96,"hex_timestamp":"000001a0475f96d0"} 
[2026-08-28 13:30:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:30:22] 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-28 13:30:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-28 13:30:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:30:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:30:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:30:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:30:22] local.INFO: Teltonika packet parsed successfully {"connection_id":164701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:30:22] local.INFO: Passing IMEI to GPS processor {"connection_id":164701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:30:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":164701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:30:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:30:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:30:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:30:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703378176001,"66":12776,"120":206,"28":31744,"24":0,"16":15907351978573824,"45":1737545061864671232},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 13:30:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:30:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:30:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703378176001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:30:22] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 13:30:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:30:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15907351978573824,"km_value":15907351978573.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:30:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864671232,"description":"Unknown IO ID 45"} 
[2026-08-28 13:30:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703378176001,"power":12776,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737545061864671232}} 
[2026-08-28 13:30:22] local.INFO: DEBUG: GPS processor result {"connection_id":164701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707618,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:30:22] local.INFO: GPS data processed {"connection_id":164701,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:30:22] local.INFO: Acknowledgment sent {"connection_id":164701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:30:27] local.INFO: TCP Data received {"connection_id":164701,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0475fe8d8012d181d000721ad88004b00d22c..."} 
[2026-08-28 13:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0475fe8d8012d181d000721ad88004b00d22c..."} 
[2026-08-28 13:30:27] local.INFO: Processing buffer {"connection_id":164701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0475fe8d8012d181d000721ad88004b00d22c..."} 
[2026-08-28 13:30:27] local.INFO: Packet analysis {"connection_id":164701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0475f"} 
[2026-08-28 13:30:27] local.INFO: Extracted packet for processing {"connection_id":164701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0475f"} 
[2026-08-28 13:30:27] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647624,"longitude_deg":75.6555008,"latitude_deg":11.9647624,"altitude":75,"angle":210,"satellites":44,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ad88","is_valid_coordinates":true} 
[2026-08-28 13: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-28 13:30:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703383552001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:30:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15907351978573824,"note":"Value kept but may cause issues"} 
[2026-08-28 13:30:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864671232,"note":"Value kept but may cause issues"} 
[2026-08-28 13:30:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:30:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787903863000,"timestamp_ms":1787903863000,"timestamp_seconds":1787903863,"priority":1,"record_length":96,"hex_timestamp":"000001a0475fe8d8"} 
[2026-08-28 13: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-28 13:30:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-28 13:30:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:30:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13: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-28 13:30:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:30:27] local.INFO: Teltonika packet parsed successfully {"connection_id":164701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:30:27] local.INFO: Passing IMEI to GPS processor {"connection_id":164701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:30:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":164701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:30:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:30:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:30:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:30:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703383552001,"66":12722,"120":206,"28":31744,"24":0,"16":15907351978573824,"45":1737545061864671232},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 13:30:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:30:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:30:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703383552001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:30:27] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 13:30:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:30:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15907351978573824,"km_value":15907351978573.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:30:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864671232,"description":"Unknown IO ID 45"} 
[2026-08-28 13:30:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703383552001,"power":12722,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737545061864671232}} 
[2026-08-28 13:30:27] local.INFO: DEBUG: GPS processor result {"connection_id":164701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707619,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:30:27] local.INFO: GPS data processed {"connection_id":164701,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:30:27] local.INFO: Acknowledgment sent {"connection_id":164701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:30:36] local.INFO: TCP Data received {"connection_id":163705,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:30:36] local.INFO: Processing buffer {"connection_id":163705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:30:36] local.INFO: IMEI packet received {"connection_id":163705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 13:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":163705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:30:41] local.INFO: TCP Data received {"connection_id":163705,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:30:41] local.INFO: Processing buffer {"connection_id":163705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:30:41] local.INFO: IMEI packet received {"connection_id":163705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 13:30:41] local.INFO: IMEI acknowledgment sent {"connection_id":163705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:30:43] local.INFO: TCP Data received {"connection_id":163705,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0475dd980012d34c14006aa4840000900e62a..."} 
[2026-08-28 13:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0475dd980012d34c14006aa4840000900e62a..."} 
[2026-08-28 13:30:43] local.INFO: Processing buffer {"connection_id":163705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0475dd980012d34c14006aa4840000900e62a..."} 
[2026-08-28 13:30:43] local.INFO: Packet analysis {"connection_id":163705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0475d"} 
[2026-08-28 13:30:43] local.INFO: Extracted packet for processing {"connection_id":163705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0475d"} 
[2026-08-28 13:30:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 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-28 13:30:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703240192001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:30:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:30:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:30:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:30:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787903728000,"timestamp_ms":1787903728000,"timestamp_seconds":1787903728,"priority":1,"record_length":96,"hex_timestamp":"000001a0475dd980"} 
[2026-08-28 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-28 13:30: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-28 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":86,"data_length":795,"current_offset":136} 
[2026-08-28 13: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-28 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-28 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-28 13:30:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:30:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:30:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:30:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:30:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:30:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:30:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:30:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703240192001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:30:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:30:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:30:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703240192001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:30:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:30:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 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-28 13:30:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:30:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703240192001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:30:43] local.INFO: DEBUG: GPS processor result {"connection_id":163705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:30:43] local.INFO: GPS data processed {"connection_id":163705,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:30:43] local.INFO: Acknowledgment sent {"connection_id":163705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:30:46] local.INFO: TCP Data received {"connection_id":163705,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0475dd980012d34c14006aa4840000900e62a..."} 
[2026-08-28 13:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0475dd980012d34c14006aa4840000900e62a..."} 
[2026-08-28 13:30:46] local.INFO: Processing buffer {"connection_id":163705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0475dd980012d34c14006aa4840000900e62a..."} 
[2026-08-28 13:30:46] local.INFO: Packet analysis {"connection_id":163705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0475d"} 
[2026-08-28 13:30:46] local.INFO: Extracted packet for processing {"connection_id":163705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0475d"} 
[2026-08-28 13:30:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703240192001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:30:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:30:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787903728000,"timestamp_ms":1787903728000,"timestamp_seconds":1787903728,"priority":1,"record_length":96,"hex_timestamp":"000001a0475dd980"} 
[2026-08-28 13:30:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:30: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-28 13:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 13:30: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-28 13:30:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:30:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:30:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703240192001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703240192001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:30:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:30:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13:30: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-28 13:30:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:30:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703240192001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":163705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:30:46] local.INFO: GPS data processed {"connection_id":163705,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:30:46] local.INFO: Acknowledgment sent {"connection_id":163705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:31:09] local.INFO: TCP Data received {"connection_id":166053,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:31:09] local.INFO: Processing buffer {"connection_id":166053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:31:09] local.INFO: IMEI packet received {"connection_id":166053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 13:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":166053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:31:11] local.INFO: TCP Data received {"connection_id":166053,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:31:11] local.INFO: Processing buffer {"connection_id":166053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:31:11] local.INFO: IMEI packet received {"connection_id":166053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":166053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:31:16] local.INFO: TCP Data received {"connection_id":166053,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:31:16] local.INFO: Processing buffer {"connection_id":166053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:31:16] local.INFO: IMEI packet received {"connection_id":166053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:31:16] local.INFO: IMEI acknowledgment sent {"connection_id":166053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:31:17] local.INFO: TCP Data received {"connection_id":166053,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047603ae0012d181d000721ad88004b00d22b..."} 
[2026-08-28 13:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047603ae0012d181d000721ad88004b00d22b..."} 
[2026-08-28 13:31:17] local.INFO: Processing buffer {"connection_id":166053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047603ae0012d181d000721ad88004b00d22b..."} 
[2026-08-28 13:31:17] local.INFO: Packet analysis {"connection_id":166053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04760"} 
[2026-08-28 13:31:17] local.INFO: Extracted packet for processing {"connection_id":166053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04760"} 
[2026-08-28 13:31:17] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647624,"longitude_deg":75.6555008,"latitude_deg":11.9647624,"altitude":75,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ad88","is_valid_coordinates":true} 
[2026-08-28 13:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:31:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703388928001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:31:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15907351978573824,"note":"Value kept but may cause issues"} 
[2026-08-28 13:31:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864671232,"note":"Value kept but may cause issues"} 
[2026-08-28 13:31:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:31:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787903884000,"timestamp_ms":1787903884000,"timestamp_seconds":1787903884,"priority":1,"record_length":96,"hex_timestamp":"000001a047603ae0"} 
[2026-08-28 13:31:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:31:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-28 13:31: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-28 13:31:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:31:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:31:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:31:17] local.INFO: Teltonika packet parsed successfully {"connection_id":166053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:31:17] local.INFO: Passing IMEI to GPS processor {"connection_id":166053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:31:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":166053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:31:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:31:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:31:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:31:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703388928001,"66":12722,"120":206,"28":31744,"24":0,"16":15907351978573824,"45":1737545061864671232},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 13:31:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:31:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:31:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703388928001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:31:17] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 13:31:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:31:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15907351978573824,"km_value":15907351978573.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:31:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864671232,"description":"Unknown IO ID 45"} 
[2026-08-28 13:31:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703388928001,"power":12722,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737545061864671232}} 
[2026-08-28 13:31:17] local.INFO: DEBUG: GPS processor result {"connection_id":166053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707622,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:31:17] local.INFO: GPS data processed {"connection_id":166053,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:31:17] local.INFO: Acknowledgment sent {"connection_id":166053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:31:31] local.INFO: TCP Data received {"connection_id":164702,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:31:31] local.INFO: Processing buffer {"connection_id":164702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:31:31] local.INFO: IMEI packet received {"connection_id":164702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 13:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":164702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:31:35] local.INFO: TCP Data received {"connection_id":164702,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:31:35] local.INFO: Processing buffer {"connection_id":164702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:31:35] local.INFO: IMEI packet received {"connection_id":164702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 13:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":164702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:31:38] local.INFO: TCP Data received {"connection_id":164702,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047627530012d34c14006aa4840001100e62e..."} 
[2026-08-28 13:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047627530012d34c14006aa4840001100e62e..."} 
[2026-08-28 13:31:38] local.INFO: Processing buffer {"connection_id":164702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047627530012d34c14006aa4840001100e62e..."} 
[2026-08-28 13:31:38] local.INFO: Packet analysis {"connection_id":164702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04762"} 
[2026-08-28 13:31:38] local.INFO: Extracted packet for processing {"connection_id":164702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04762"} 
[2026-08-28 13:31:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703354368001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787904030000,"timestamp_ms":1787904030000,"timestamp_seconds":1787904030,"priority":1,"record_length":96,"hex_timestamp":"000001a047627530"} 
[2026-08-28 13:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 13:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 13:31:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:31:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703354368001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703354368001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:31:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:31:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13:31: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-28 13:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703354368001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":164702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:31:38] local.INFO: GPS data processed {"connection_id":164702,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:31:38] local.INFO: Acknowledgment sent {"connection_id":164702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:31:49] local.INFO: TCP Data received {"connection_id":166053,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047608ce8012d181d000721ad88004b00d22e..."} 
[2026-08-28 13:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047608ce8012d181d000721ad88004b00d22e..."} 
[2026-08-28 13:31:49] local.INFO: Processing buffer {"connection_id":166053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047608ce8012d181d000721ad88004b00d22e..."} 
[2026-08-28 13:31:49] local.INFO: Packet analysis {"connection_id":166053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04760"} 
[2026-08-28 13:31:49] local.INFO: Extracted packet for processing {"connection_id":166053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04760"} 
[2026-08-28 13:31:49] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647624,"longitude_deg":75.6555008,"latitude_deg":11.9647624,"altitude":75,"angle":210,"satellites":46,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ad88","is_valid_coordinates":true} 
[2026-08-28 13:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:31:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703394304001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:31:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15907351978573824,"note":"Value kept but may cause issues"} 
[2026-08-28 13:31:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864671232,"note":"Value kept but may cause issues"} 
[2026-08-28 13:31:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:31:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787903905000,"timestamp_ms":1787903905000,"timestamp_seconds":1787903905,"priority":1,"record_length":96,"hex_timestamp":"000001a047608ce8"} 
[2026-08-28 13:31:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:31:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-28 13:31:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:31:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:31:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:31:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:31:49] local.INFO: Teltonika packet parsed successfully {"connection_id":166053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:31:49] local.INFO: Passing IMEI to GPS processor {"connection_id":166053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:31:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":166053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:31:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:31:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:31:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:31:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703394304001,"66":12722,"120":206,"28":31744,"24":0,"16":15907351978573824,"45":1737545061864671232},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 13:31:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:31:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:31:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703394304001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:31:49] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 13:31:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:31:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15907351978573824,"km_value":15907351978573.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:31:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864671232,"description":"Unknown IO ID 45"} 
[2026-08-28 13:31:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703394304001,"power":12722,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737545061864671232}} 
[2026-08-28 13:31:49] local.INFO: DEBUG: GPS processor result {"connection_id":166053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707624,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:31:49] local.INFO: GPS data processed {"connection_id":166053,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:31:49] local.INFO: Acknowledgment sent {"connection_id":166053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:32:09] local.INFO: TCP Data received {"connection_id":166054,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166054,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:32:09] local.INFO: Processing buffer {"connection_id":166054,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:32:09] local.INFO: IMEI packet received {"connection_id":166054,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 13:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":166054,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:32:10] local.INFO: TCP Data received {"connection_id":164702,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047627530012d34c14006aa4840001100e62e..."} 
[2026-08-28 13:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047627530012d34c14006aa4840001100e62e..."} 
[2026-08-28 13:32:10] local.INFO: Processing buffer {"connection_id":164702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047627530012d34c14006aa4840001100e62e..."} 
[2026-08-28 13:32:10] local.INFO: Packet analysis {"connection_id":164702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04762"} 
[2026-08-28 13:32:10] local.INFO: Extracted packet for processing {"connection_id":164702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04762"} 
[2026-08-28 13:32:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703354368001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787904030000,"timestamp_ms":1787904030000,"timestamp_seconds":1787904030,"priority":1,"record_length":96,"hex_timestamp":"000001a047627530"} 
[2026-08-28 13:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 13:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 13:32:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":164702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":164702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":164702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703354368001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703354368001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:32:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:32:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703354368001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":164702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:32:10] local.INFO: GPS data processed {"connection_id":164702,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:32:10] local.INFO: Acknowledgment sent {"connection_id":164702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:32:11] local.INFO: TCP Data received {"connection_id":166054,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166054,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:32:11] local.INFO: Processing buffer {"connection_id":166054,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:32:11] local.INFO: IMEI packet received {"connection_id":166054,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":166054,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:32:14] local.INFO: TCP Data received {"connection_id":166054,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166054,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:32:14] local.INFO: Processing buffer {"connection_id":166054,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:32:14] local.INFO: IMEI packet received {"connection_id":166054,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":166054,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:32:16] local.INFO: TCP Data received {"connection_id":166054,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166054,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:32:16] local.INFO: Processing buffer {"connection_id":166054,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:32:16] local.INFO: IMEI packet received {"connection_id":166054,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:32:16] local.INFO: IMEI acknowledgment sent {"connection_id":166054,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:32:17] local.INFO: TCP Data received {"connection_id":166054,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a04760def0012d181d000721ad88004b00d22b..."} 
[2026-08-28 13:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04760def0012d181d000721ad88004b00d22b..."} 
[2026-08-28 13:32:17] local.INFO: Processing buffer {"connection_id":166054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04760def0012d181d000721ad88004b00d22b..."} 
[2026-08-28 13:32:17] local.INFO: Packet analysis {"connection_id":166054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04760"} 
[2026-08-28 13:32:17] local.INFO: Extracted packet for processing {"connection_id":166054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04760"} 
[2026-08-28 13:32:17] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647624,"longitude_deg":75.6555008,"latitude_deg":11.9647624,"altitude":75,"angle":210,"satellites":43,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ad88","is_valid_coordinates":true} 
[2026-08-28 13:32:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:32:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703399680001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:32:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15907351978573824,"note":"Value kept but may cause issues"} 
[2026-08-28 13:32:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864671232,"note":"Value kept but may cause issues"} 
[2026-08-28 13:32:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:32:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787903926000,"timestamp_ms":1787903926000,"timestamp_seconds":1787903926,"priority":1,"record_length":96,"hex_timestamp":"000001a04760def0"} 
[2026-08-28 13:32:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:32:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13:32:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-28 13:32: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-28 13:32:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:32:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:32:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:32:17] local.INFO: Teltonika packet parsed successfully {"connection_id":166054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:32:17] local.INFO: Passing IMEI to GPS processor {"connection_id":166054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:32:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":166054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:32:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:32:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:32:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:32:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703399680001,"66":12580,"120":206,"28":31744,"24":0,"16":15907351978573824,"45":1737545061864671232},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 13:32:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:32:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:32:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703399680001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:32:17] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 13:32:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:32:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15907351978573824,"km_value":15907351978573.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:32:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864671232,"description":"Unknown IO ID 45"} 
[2026-08-28 13:32:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703399680001,"power":12580,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737545061864671232}} 
[2026-08-28 13:32:17] local.INFO: DEBUG: GPS processor result {"connection_id":166054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707626,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:32:17] local.INFO: GPS data processed {"connection_id":166054,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:32:17] local.INFO: Acknowledgment sent {"connection_id":166054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:32:22] local.INFO: TCP Data received {"connection_id":166054,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0476130f8012d181d000721ad88004b00d22d..."} 
[2026-08-28 13:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0476130f8012d181d000721ad88004b00d22d..."} 
[2026-08-28 13:32:22] local.INFO: Processing buffer {"connection_id":166054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0476130f8012d181d000721ad88004b00d22d..."} 
[2026-08-28 13:32:22] local.INFO: Packet analysis {"connection_id":166054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04761"} 
[2026-08-28 13:32:22] local.INFO: Extracted packet for processing {"connection_id":166054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04761"} 
[2026-08-28 13:32:22] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119647624,"longitude_deg":75.6555008,"latitude_deg":11.9647624,"altitude":75,"angle":210,"satellites":45,"speed":0,"hex_longitude":"2d181d00","hex_latitude":"0721ad88","is_valid_coordinates":true} 
[2026-08-28 13:32:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:32:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703405056001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:32:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15907351978573824,"note":"Value kept but may cause issues"} 
[2026-08-28 13:32:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864671232,"note":"Value kept but may cause issues"} 
[2026-08-28 13:32:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:32:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787903947000,"timestamp_ms":1787903947000,"timestamp_seconds":1787903947,"priority":1,"record_length":96,"hex_timestamp":"000001a0476130f8"} 
[2026-08-28 13:32:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:32:22] 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-28 13:32:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-08-28 13:32:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:32:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:32:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:32:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:32:22] local.INFO: Teltonika packet parsed successfully {"connection_id":166054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:32:22] local.INFO: Passing IMEI to GPS processor {"connection_id":166054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:32:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":166054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:32:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:32:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:32:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:32:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703405056001,"66":12667,"120":206,"28":31744,"24":0,"16":15907351978573824,"45":1737545061864671232},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 13:32:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:32:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:32:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703405056001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:32:22] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 13:32:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:32:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15907351978573824,"km_value":15907351978573.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:32:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864671232,"description":"Unknown IO ID 45"} 
[2026-08-28 13:32:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703405056001,"power":12667,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737545061864671232}} 
[2026-08-28 13:32:22] local.INFO: DEBUG: GPS processor result {"connection_id":166054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707627,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:32:22] local.INFO: GPS data processed {"connection_id":166054,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:32:22] local.INFO: Acknowledgment sent {"connection_id":166054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:32:36] local.INFO: TCP Data received {"connection_id":166055,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:32:36] local.INFO: Processing buffer {"connection_id":166055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:32:36] local.INFO: IMEI packet received {"connection_id":166055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 13:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":166055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:32:41] local.INFO: TCP Data received {"connection_id":166055,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:32:41] local.INFO: Processing buffer {"connection_id":166055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:32:41] local.INFO: IMEI packet received {"connection_id":166055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 13:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":166055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:32:42] local.INFO: TCP Data received {"connection_id":166055,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047627530012d34c14006aa4840001100e62e..."} 
[2026-08-28 13:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047627530012d34c14006aa4840001100e62e..."} 
[2026-08-28 13:32:42] local.INFO: Processing buffer {"connection_id":166055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047627530012d34c14006aa4840001100e62e..."} 
[2026-08-28 13:32:42] local.INFO: Packet analysis {"connection_id":166055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04762"} 
[2026-08-28 13:32:42] local.INFO: Extracted packet for processing {"connection_id":166055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04762"} 
[2026-08-28 13:32:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13: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-28 13:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703354368001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:32:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:32:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787904030000,"timestamp_ms":1787904030000,"timestamp_seconds":1787904030,"priority":1,"record_length":96,"hex_timestamp":"000001a047627530"} 
[2026-08-28 13: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-28 13: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-28 13: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":118,"data_length":795,"current_offset":136} 
[2026-08-28 13:32: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-28 13: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-28 13: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-28 13:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":166055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":166055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":166055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:32:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703354368001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703354368001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:32:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:32:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13: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-28 13:32:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703354368001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":166055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:32:42] local.INFO: GPS data processed {"connection_id":166055,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:32:42] local.INFO: Acknowledgment sent {"connection_id":166055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:32:48] local.INFO: TCP Data received {"connection_id":166055,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047627530012d34c14006aa4840001100e62e..."} 
[2026-08-28 13:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047627530012d34c14006aa4840001100e62e..."} 
[2026-08-28 13:32:48] local.INFO: Processing buffer {"connection_id":166055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047627530012d34c14006aa4840001100e62e..."} 
[2026-08-28 13:32:48] local.INFO: Packet analysis {"connection_id":166055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04762"} 
[2026-08-28 13:32:48] local.INFO: Extracted packet for processing {"connection_id":166055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04762"} 
[2026-08-28 13:32:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:32:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703354368001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:32:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:32:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:32:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:32:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787904030000,"timestamp_ms":1787904030000,"timestamp_seconds":1787904030,"priority":1,"record_length":96,"hex_timestamp":"000001a047627530"} 
[2026-08-28 13:32:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:32: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-28 13:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 13: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-28 13:32:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:32:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:32:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:32:48] local.INFO: Teltonika packet parsed successfully {"connection_id":166055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:32:48] local.INFO: Passing IMEI to GPS processor {"connection_id":166055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:32:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":166055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:32:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:32:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:32:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:32:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703354368001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:32:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:32:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:32:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703354368001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:32:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:32:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13: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-28 13:32:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:32:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703354368001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:32:48] local.INFO: DEBUG: GPS processor result {"connection_id":166055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:32:48] local.INFO: GPS data processed {"connection_id":166055,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:32:48] local.INFO: Acknowledgment sent {"connection_id":166055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:32:53] local.INFO: TCP Data received {"connection_id":166054,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a04763ffb8012d18ad8007217028004d00812d..."} 
[2026-08-28 13:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04763ffb8012d18ad8007217028004d00812d..."} 
[2026-08-28 13:32:53] local.INFO: Processing buffer {"connection_id":166054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04763ffb8012d18ad8007217028004d00812d..."} 
[2026-08-28 13:32:53] local.INFO: Packet analysis {"connection_id":166054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04763"} 
[2026-08-28 13:32:53] local.INFO: Extracted packet for processing {"connection_id":166054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04763"} 
[2026-08-28 13:32:53] local.INFO: GPS Element Parsed {"raw_longitude":756592000,"raw_latitude":119631912,"longitude_deg":75.6592,"latitude_deg":11.9631912,"altitude":77,"angle":129,"satellites":45,"speed":36,"hex_longitude":"2d18ad80","hex_latitude":"07217028","is_valid_coordinates":true} 
[2026-08-28 13: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-28 13:32:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703455232001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:32:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15909340548431872,"note":"Value kept but may cause issues"} 
[2026-08-28 13:32:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1768999890508984320,"note":"Value kept but may cause issues"} 
[2026-08-28 13:32:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:32:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787904131000,"timestamp_ms":1787904131000,"timestamp_seconds":1787904131,"priority":1,"record_length":96,"hex_timestamp":"000001a04763ffb8"} 
[2026-08-28 13: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-28 13:32:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-28 13:32:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13: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-28 13: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-28 13:32:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:32:53] local.INFO: Teltonika packet parsed successfully {"connection_id":166054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:32:53] local.INFO: Passing IMEI to GPS processor {"connection_id":166054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:32:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":166054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:32:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:32:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:32:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:32:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703455232001,"66":14374,"121":206,"28":31744,"24":36,"16":15909340548431872,"45":1768999890508984320},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 13:32:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:32:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:32:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703455232001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:32:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 13:32:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:32:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15909340548431872,"km_value":15909340548431.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:32:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1768999890508984320,"description":"Unknown IO ID 45"} 
[2026-08-28 13:32:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703455232001,"power":14374,"unknown_121":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1768999890508984320}} 
[2026-08-28 13:32:53] local.INFO: DEBUG: GPS processor result {"connection_id":166054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707630,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:32:53] local.INFO: GPS data processed {"connection_id":166054,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:32:53] local.INFO: Acknowledgment sent {"connection_id":166054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:33:10] local.INFO: TCP Data received {"connection_id":163435,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163435,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:33:10] local.INFO: Processing buffer {"connection_id":163435,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:33:10] local.INFO: IMEI packet received {"connection_id":163435,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 13:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":163435,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:33:11] local.INFO: TCP Data received {"connection_id":163435,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163435,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:33:11] local.INFO: Processing buffer {"connection_id":163435,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:33:11] local.INFO: IMEI packet received {"connection_id":163435,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":163435,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:33:12] local.INFO: TCP Data received {"connection_id":163435,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163435,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:33:12] local.INFO: Processing buffer {"connection_id":163435,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:33:12] local.INFO: IMEI packet received {"connection_id":163435,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:33:12] local.INFO: IMEI acknowledgment sent {"connection_id":163435,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:33:17] local.INFO: TCP Data received {"connection_id":163435,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163435,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:33:17] local.INFO: Processing buffer {"connection_id":163435,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:33:17] local.INFO: IMEI packet received {"connection_id":163435,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:33:17] local.INFO: IMEI acknowledgment sent {"connection_id":163435,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:33:19] local.INFO: TCP Data received {"connection_id":163435,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a04763ffb8012d18ad8007217028004d00812d..."} 
[2026-08-28 13:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04763ffb8012d18ad8007217028004d00812d..."} 
[2026-08-28 13:33:19] local.INFO: Processing buffer {"connection_id":163435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04763ffb8012d18ad8007217028004d00812d..."} 
[2026-08-28 13:33:19] local.INFO: Packet analysis {"connection_id":163435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04763"} 
[2026-08-28 13:33:19] local.INFO: Extracted packet for processing {"connection_id":163435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04763"} 
[2026-08-28 13:33:19] local.INFO: GPS Element Parsed {"raw_longitude":756592000,"raw_latitude":119631912,"longitude_deg":75.6592,"latitude_deg":11.9631912,"altitude":77,"angle":129,"satellites":45,"speed":36,"hex_longitude":"2d18ad80","hex_latitude":"07217028","is_valid_coordinates":true} 
[2026-08-28 13:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:33:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703457536001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:33:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15909340548431872,"note":"Value kept but may cause issues"} 
[2026-08-28 13:33:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778218195995338752,"note":"Value kept but may cause issues"} 
[2026-08-28 13:33:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:33:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787904131000,"timestamp_ms":1787904131000,"timestamp_seconds":1787904131,"priority":1,"record_length":96,"hex_timestamp":"000001a04763ffb8"} 
[2026-08-28 13:33:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:33:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-28 13:33:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:33:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:33:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:33:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:33:19] local.INFO: Teltonika packet parsed successfully {"connection_id":163435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:33:19] local.INFO: Passing IMEI to GPS processor {"connection_id":163435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:33:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":163435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:33:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:33:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:33:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:33:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703457536001,"66":14374,"121":206,"28":31744,"24":36,"16":15909340548431872,"45":1778218195995338752},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 13:33:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:33:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:33:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703457536001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:33:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 13:33:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:33:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15909340548431872,"km_value":15909340548431.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:33:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778218195995338752,"description":"Unknown IO ID 45"} 
[2026-08-28 13:33:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703457536001,"power":14374,"unknown_121":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1778218195995338752}} 
[2026-08-28 13:33:19] 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":707631,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:33:19] local.INFO: GPS data processed {"connection_id":163435,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:33:19] local.INFO: Acknowledgment sent {"connection_id":163435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:33:31] local.INFO: TCP Data received {"connection_id":163706,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:33:31] local.INFO: Processing buffer {"connection_id":163706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:33:31] local.INFO: IMEI packet received {"connection_id":163706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 13:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":163706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:33:36] local.INFO: TCP Data received {"connection_id":163706,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:33:36] local.INFO: Processing buffer {"connection_id":163706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:33:36] local.INFO: IMEI packet received {"connection_id":163706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 13:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":163706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:33:38] local.INFO: TCP Data received {"connection_id":163706,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047627530012d34c14006aa4840001100e62e..."} 
[2026-08-28 13:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047627530012d34c14006aa4840001100e62e..."} 
[2026-08-28 13:33:38] local.INFO: Processing buffer {"connection_id":163706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047627530012d34c14006aa4840001100e62e..."} 
[2026-08-28 13:33:38] local.INFO: Packet analysis {"connection_id":163706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04762"} 
[2026-08-28 13:33:38] local.INFO: Extracted packet for processing {"connection_id":163706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04762"} 
[2026-08-28 13:33:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703354368001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:33:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787904030000,"timestamp_ms":1787904030000,"timestamp_seconds":1787904030,"priority":1,"record_length":96,"hex_timestamp":"000001a047627530"} 
[2026-08-28 13:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 13:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 13:33:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:33:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703354368001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703354368001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:33:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:33:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13:33: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-28 13:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703354368001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:33:38] 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":707632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:33:38] local.INFO: GPS data processed {"connection_id":163706,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:33:38] local.INFO: Acknowledgment sent {"connection_id":163706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:33:51] local.INFO: TCP Data received {"connection_id":163435,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a04764b750012d18f8000720d440003c008429..."} 
[2026-08-28 13:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04764b750012d18f8000720d440003c008429..."} 
[2026-08-28 13:33:51] local.INFO: Processing buffer {"connection_id":163435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04764b750012d18f8000720d440003c008429..."} 
[2026-08-28 13:33:51] local.INFO: Packet analysis {"connection_id":163435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04764"} 
[2026-08-28 13:33:51] local.INFO: Extracted packet for processing {"connection_id":163435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04764"} 
[2026-08-28 13:33:51] local.INFO: GPS Element Parsed {"raw_longitude":756611072,"raw_latitude":119592000,"longitude_deg":75.6611072,"latitude_deg":11.9592,"altitude":60,"angle":132,"satellites":41,"speed":37,"hex_longitude":"2d18f800","hex_latitude":"0720d440","is_valid_coordinates":true} 
[2026-08-28 13: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-28 13:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703467264001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15911548161622016,"note":"Value kept but may cause issues"} 
[2026-08-28 13:33:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1793910425938524160,"note":"Value kept but may cause issues"} 
[2026-08-28 13:33:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787904178000,"timestamp_ms":1787904178000,"timestamp_seconds":1787904178,"priority":1,"record_length":96,"hex_timestamp":"000001a04764b750"} 
[2026-08-28 13: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-28 13:33:51] 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-28 13: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-28 13:33:51] 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-28 13: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-28 13: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-28 13:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:33:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703467264001,"66":14102,"121":206,"28":31744,"24":37,"16":15911548161622016,"45":1793910425938524160},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 13:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703467264001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:33:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 13:33:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15911548161622016,"km_value":15911548161622.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:33:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1793910425938524160,"description":"Unknown IO ID 45"} 
[2026-08-28 13:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703467264001,"power":14102,"unknown_121":206,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":1793910425938524160}} 
[2026-08-28 13:33:51] 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":707633,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:33:51] local.INFO: GPS data processed {"connection_id":163435,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:33:51] local.INFO: Acknowledgment sent {"connection_id":163435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:34:10] local.INFO: TCP Data received {"connection_id":163707,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163707,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:34:10] local.INFO: Processing buffer {"connection_id":163707,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:34:10] local.INFO: IMEI packet received {"connection_id":163707,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 13:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":163707,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:34:11] local.INFO: TCP Data received {"connection_id":163706,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047627530012d34c14006aa4840001100e62e..."} 
[2026-08-28 13:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047627530012d34c14006aa4840001100e62e..."} 
[2026-08-28 13:34:11] local.INFO: Processing buffer {"connection_id":163706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047627530012d34c14006aa4840001100e62e..."} 
[2026-08-28 13:34:11] local.INFO: Packet analysis {"connection_id":163706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04762"} 
[2026-08-28 13:34:11] local.INFO: Extracted packet for processing {"connection_id":163706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04762"} 
[2026-08-28 13:34:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703354368001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:34:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:34:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787904030000,"timestamp_ms":1787904030000,"timestamp_seconds":1787904030,"priority":1,"record_length":96,"hex_timestamp":"000001a047627530"} 
[2026-08-28 13:34:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:34:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 13:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 13:34:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:34:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:34:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":163706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":163706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":163706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:34:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703354368001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703354368001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:34:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:34:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13:34: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-28 13:34:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703354368001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:34:11] 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":707634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:34:11] local.INFO: GPS data processed {"connection_id":163706,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:34:11] local.INFO: Acknowledgment sent {"connection_id":163706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:34:11] local.INFO: TCP Data received {"connection_id":163707,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163707,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:34:11] local.INFO: Processing buffer {"connection_id":163707,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:34:11] local.INFO: IMEI packet received {"connection_id":163707,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:34:11] local.INFO: IMEI acknowledgment sent {"connection_id":163707,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:34:12] local.INFO: TCP Data received {"connection_id":163707,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163707,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:34:12] local.INFO: Processing buffer {"connection_id":163707,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:34:12] local.INFO: IMEI packet received {"connection_id":163707,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:34:12] local.INFO: IMEI acknowledgment sent {"connection_id":163707,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:34:16] local.INFO: TCP Data received {"connection_id":163707,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163707,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:34:16] local.INFO: Processing buffer {"connection_id":163707,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:34:16] local.INFO: IMEI packet received {"connection_id":163707,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":163707,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:34:17] local.INFO: TCP Data received {"connection_id":163707,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a04764cad8012d1908800720c9a8003900782c..."} 
[2026-08-28 13:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04764cad8012d1908800720c9a8003900782c..."} 
[2026-08-28 13:34:17] local.INFO: Processing buffer {"connection_id":163707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04764cad8012d1908800720c9a8003900782c..."} 
[2026-08-28 13:34:17] local.INFO: Packet analysis {"connection_id":163707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04764"} 
[2026-08-28 13:34:17] local.INFO: Extracted packet for processing {"connection_id":163707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04764"} 
[2026-08-28 13:34:17] local.INFO: GPS Element Parsed {"raw_longitude":756615296,"raw_latitude":119589288,"longitude_deg":75.6615296,"latitude_deg":11.9589288,"altitude":57,"angle":120,"satellites":44,"speed":42,"hex_longitude":"2d190880","hex_latitude":"0720c9a8","is_valid_coordinates":true} 
[2026-08-28 13:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:34:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703469568001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:34:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15911784384823296,"note":"Value kept but may cause issues"} 
[2026-08-28 13:34:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1799188081750065152,"note":"Value kept but may cause issues"} 
[2026-08-28 13:34:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:34:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787904183000,"timestamp_ms":1787904183000,"timestamp_seconds":1787904183,"priority":1,"record_length":96,"hex_timestamp":"000001a04764cad8"} 
[2026-08-28 13:34:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:34:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-28 13:34:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:34:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:34:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:34:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:34:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:34:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:34:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:34:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:34:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:34:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:34:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703469568001,"66":14004,"121":206,"28":31744,"24":42,"16":15911784384823296,"45":1799188081750065152},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 13:34:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:34:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:34:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703469568001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:34:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 13:34:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:34:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15911784384823296,"km_value":15911784384823.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:34:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1799188081750065152,"description":"Unknown IO ID 45"} 
[2026-08-28 13:34:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703469568001,"power":14004,"unknown_121":206,"unknown_28":31744,"ignition":42,"odometer":null,"unknown_45":1799188081750065152}} 
[2026-08-28 13:34:18] 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":707635,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:34:18] local.INFO: GPS data processed {"connection_id":163707,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:34:18] local.INFO: Acknowledgment sent {"connection_id":163707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:34:30] local.INFO: TCP Data received {"connection_id":164703,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:34:30] local.INFO: Processing buffer {"connection_id":164703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:34:30] local.INFO: IMEI packet received {"connection_id":164703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 13:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":164703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:34:36] local.INFO: TCP Data received {"connection_id":164703,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:34:36] local.INFO: Processing buffer {"connection_id":164703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:34:36] local.INFO: IMEI packet received {"connection_id":164703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 13:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":164703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:34:38] local.INFO: TCP Data received {"connection_id":164703,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047627530012d34c14006aa4840001100e62e..."} 
[2026-08-28 13:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047627530012d34c14006aa4840001100e62e..."} 
[2026-08-28 13:34:38] local.INFO: Processing buffer {"connection_id":164703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047627530012d34c14006aa4840001100e62e..."} 
[2026-08-28 13:34:38] local.INFO: Packet analysis {"connection_id":164703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04762"} 
[2026-08-28 13:34:38] local.INFO: Extracted packet for processing {"connection_id":164703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04762"} 
[2026-08-28 13:34:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703354368001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:34:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787904030000,"timestamp_ms":1787904030000,"timestamp_seconds":1787904030,"priority":1,"record_length":96,"hex_timestamp":"000001a047627530"} 
[2026-08-28 13:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:34:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 13:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 13:34:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:34:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:34:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703354368001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703354368001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:34:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:34:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13:34: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-28 13:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703354368001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":164703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:34:38] local.INFO: GPS data processed {"connection_id":164703,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:34:38] local.INFO: Acknowledgment sent {"connection_id":164703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:34:49] local.INFO: TCP Data received {"connection_id":163707,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a04764e248012d191fc00720bf880033006c2a..."} 
[2026-08-28 13:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04764e248012d191fc00720bf880033006c2a..."} 
[2026-08-28 13:34:49] local.INFO: Processing buffer {"connection_id":163707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04764e248012d191fc00720bf880033006c2a..."} 
[2026-08-28 13:34:49] local.INFO: Packet analysis {"connection_id":163707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04764"} 
[2026-08-28 13:34:49] local.INFO: Extracted packet for processing {"connection_id":163707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04764"} 
[2026-08-28 13:34:49] local.INFO: GPS Element Parsed {"raw_longitude":756621248,"raw_latitude":119586696,"longitude_deg":75.6621248,"latitude_deg":11.9586696,"altitude":51,"angle":108,"satellites":42,"speed":36,"hex_longitude":"2d191fc0","hex_latitude":"0720bf88","is_valid_coordinates":true} 
[2026-08-28 13:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:34:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703470848001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:34:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15912093622468608,"note":"Value kept but may cause issues"} 
[2026-08-28 13:34:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1803832418865096704,"note":"Value kept but may cause issues"} 
[2026-08-28 13:34:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:34:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787904189000,"timestamp_ms":1787904189000,"timestamp_seconds":1787904189,"priority":1,"record_length":96,"hex_timestamp":"000001a04764e248"} 
[2026-08-28 13:34:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:34:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-28 13:34:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:34:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:34:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:34:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:34:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:34:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:34:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:34:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:34:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:34:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:34:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703470848001,"66":14026,"121":206,"28":31744,"24":36,"16":15912093622468608,"45":1803832418865096704},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 13:34:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:34:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:34:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703470848001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:34:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 13:34:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:34:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15912093622468608,"km_value":15912093622468.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:34:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1803832418865096704,"description":"Unknown IO ID 45"} 
[2026-08-28 13:34:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703470848001,"power":14026,"unknown_121":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1803832418865096704}} 
[2026-08-28 13:34:49] 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":707637,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:34:49] local.INFO: GPS data processed {"connection_id":163707,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:34:49] local.INFO: Acknowledgment sent {"connection_id":163707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:35:10] local.INFO: TCP Data received {"connection_id":164703,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047627530012d34c14006aa4840001100e62e..."} 
[2026-08-28 13:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047627530012d34c14006aa4840001100e62e..."} 
[2026-08-28 13:35:10] local.INFO: Processing buffer {"connection_id":164703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047627530012d34c14006aa4840001100e62e..."} 
[2026-08-28 13:35:10] local.INFO: Packet analysis {"connection_id":164703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04762"} 
[2026-08-28 13:35:10] local.INFO: Extracted packet for processing {"connection_id":164703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04762"} 
[2026-08-28 13:35:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703354368001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:35:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787904030000,"timestamp_ms":1787904030000,"timestamp_seconds":1787904030,"priority":1,"record_length":96,"hex_timestamp":"000001a047627530"} 
[2026-08-28 13:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:35:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 13:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 13:35:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:35:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":164703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":164703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":164703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:35:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703354368001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703354368001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:35:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:35:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:35:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703354368001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":164703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:35:10] local.INFO: GPS data processed {"connection_id":164703,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:35:10] local.INFO: Acknowledgment sent {"connection_id":164703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:35:11] local.INFO: TCP Data received {"connection_id":163708,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:35:11] local.INFO: Processing buffer {"connection_id":163708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:35:11] local.INFO: IMEI packet received {"connection_id":163708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 13:35:11] local.INFO: IMEI acknowledgment sent {"connection_id":163708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:35:13] local.INFO: TCP Data received {"connection_id":163708,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:35:13] local.INFO: Processing buffer {"connection_id":163708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:35:13] local.INFO: IMEI packet received {"connection_id":163708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":163708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:35:16] local.INFO: TCP Data received {"connection_id":163708,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:35:16] local.INFO: Processing buffer {"connection_id":163708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:35:16] local.INFO: IMEI packet received {"connection_id":163708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:35:16] local.INFO: IMEI acknowledgment sent {"connection_id":163708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:35:21] local.INFO: TCP Data received {"connection_id":163708,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047650570012d1934400720b7a0003000772a..."} 
[2026-08-28 13:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047650570012d1934400720b7a0003000772a..."} 
[2026-08-28 13:35:21] local.INFO: Processing buffer {"connection_id":163708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047650570012d1934400720b7a0003000772a..."} 
[2026-08-28 13:35:21] local.INFO: Packet analysis {"connection_id":163708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04765"} 
[2026-08-28 13:35:21] local.INFO: Extracted packet for processing {"connection_id":163708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04765"} 
[2026-08-28 13:35:21] local.INFO: GPS Element Parsed {"raw_longitude":756626496,"raw_latitude":119584672,"longitude_deg":75.6626496,"latitude_deg":11.9584672,"altitude":48,"angle":119,"satellites":42,"speed":27,"hex_longitude":"2d193440","hex_latitude":"0720b7a0","is_valid_coordinates":true} 
[2026-08-28 13:35:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:35:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703472384001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:35:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15912364205408256,"note":"Value kept but may cause issues"} 
[2026-08-28 13:35:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1810376712072955904,"note":"Value kept but may cause issues"} 
[2026-08-28 13:35:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:35:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787904198000,"timestamp_ms":1787904198000,"timestamp_seconds":1787904198,"priority":1,"record_length":96,"hex_timestamp":"000001a047650570"} 
[2026-08-28 13:35:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:35:21] 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-28 13:35:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-08-28 13:35:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:35:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:35:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:35:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:35:21] local.INFO: Teltonika packet parsed successfully {"connection_id":163708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:35:21] local.INFO: Passing IMEI to GPS processor {"connection_id":163708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:35:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":163708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:35:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:35:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:35:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:35:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703472384001,"66":14396,"121":206,"28":31744,"24":27,"16":15912364205408256,"45":1810376712072955904},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 13:35:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:35:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:35:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703472384001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:35:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 13:35:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:35:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15912364205408256,"km_value":15912364205408.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:35:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1810376712072955904,"description":"Unknown IO ID 45"} 
[2026-08-28 13:35:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703472384001,"power":14396,"unknown_121":206,"unknown_28":31744,"ignition":27,"odometer":null,"unknown_45":1810376712072955904}} 
[2026-08-28 13:35:21] 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":707639,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:35:21] local.INFO: GPS data processed {"connection_id":163708,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:35:21] local.INFO: Acknowledgment sent {"connection_id":163708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:35:31] local.INFO: TCP Data received {"connection_id":164704,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:35:31] local.INFO: Processing buffer {"connection_id":164704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:35:31] local.INFO: IMEI packet received {"connection_id":164704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 13:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":164704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:35:36] local.INFO: TCP Data received {"connection_id":164704,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:35:36] local.INFO: Processing buffer {"connection_id":164704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:35:36] local.INFO: IMEI packet received {"connection_id":164704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 13:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":164704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:35:38] local.INFO: TCP Data received {"connection_id":164704,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047627530012d34c14006aa4840001100e62e..."} 
[2026-08-28 13:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047627530012d34c14006aa4840001100e62e..."} 
[2026-08-28 13:35:38] local.INFO: Processing buffer {"connection_id":164704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047627530012d34c14006aa4840001100e62e..."} 
[2026-08-28 13:35:38] local.INFO: Packet analysis {"connection_id":164704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04762"} 
[2026-08-28 13:35:38] local.INFO: Extracted packet for processing {"connection_id":164704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04762"} 
[2026-08-28 13:35:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703354368001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:35:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787904030000,"timestamp_ms":1787904030000,"timestamp_seconds":1787904030,"priority":1,"record_length":96,"hex_timestamp":"000001a047627530"} 
[2026-08-28 13:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:35:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 13:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 13:35:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:35:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:35:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703354368001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703354368001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:35:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:35:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13:35: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-28 13:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703354368001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":164704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:35:38] local.INFO: GPS data processed {"connection_id":164704,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:35:38] local.INFO: Acknowledgment sent {"connection_id":164704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:35:53] local.INFO: TCP Data received {"connection_id":163708,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047668058012d19b5400720ab500036012c2c..."} 
[2026-08-28 13:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047668058012d19b5400720ab500036012c2c..."} 
[2026-08-28 13:35:53] local.INFO: Processing buffer {"connection_id":163708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047668058012d19b5400720ab500036012c2c..."} 
[2026-08-28 13:35:53] local.INFO: Packet analysis {"connection_id":163708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04766"} 
[2026-08-28 13:35:53] local.INFO: Extracted packet for processing {"connection_id":163708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04766"} 
[2026-08-28 13:35:53] local.INFO: GPS Element Parsed {"raw_longitude":756659520,"raw_latitude":119581520,"longitude_deg":75.665952,"latitude_deg":11.958152,"altitude":54,"angle":300,"satellites":44,"speed":19,"hex_longitude":"2d19b540","hex_latitude":"0720ab50","is_valid_coordinates":true} 
[2026-08-28 13:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:35:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703499008001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:35:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15914215336312832,"note":"Value kept but may cause issues"} 
[2026-08-28 13:35:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853231277275701248,"note":"Value kept but may cause issues"} 
[2026-08-28 13:35:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:35:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787904295000,"timestamp_ms":1787904295000,"timestamp_seconds":1787904295,"priority":1,"record_length":96,"hex_timestamp":"000001a047668058"} 
[2026-08-28 13:35:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:35:53] 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-28 13:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-08-28 13:35:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:35:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:35:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:35:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:35:53] local.INFO: Teltonika packet parsed successfully {"connection_id":163708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:35:53] local.INFO: Passing IMEI to GPS processor {"connection_id":163708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:35:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":163708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:35:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:35:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:35:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:35:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703499008001,"66":13156,"121":206,"28":31744,"24":19,"16":15914215336312832,"45":1853231277275701248},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 13:35:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:35:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:35:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703499008001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:35:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 13:35:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:35:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15914215336312832,"km_value":15914215336312.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:35:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853231277275701248,"description":"Unknown IO ID 45"} 
[2026-08-28 13:35:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703499008001,"power":13156,"unknown_121":206,"unknown_28":31744,"ignition":19,"odometer":null,"unknown_45":1853231277275701248}} 
[2026-08-28 13:35:53] 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":707641,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:35:53] local.INFO: GPS data processed {"connection_id":163708,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:35:53] local.INFO: Acknowledgment sent {"connection_id":163708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:36:10] local.INFO: TCP Data received {"connection_id":164704,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047627530012d34c14006aa4840001100e62e..."} 
[2026-08-28 13:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047627530012d34c14006aa4840001100e62e..."} 
[2026-08-28 13:36:10] local.INFO: Processing buffer {"connection_id":164704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047627530012d34c14006aa4840001100e62e..."} 
[2026-08-28 13:36:10] local.INFO: Packet analysis {"connection_id":164704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04762"} 
[2026-08-28 13:36:10] local.INFO: Extracted packet for processing {"connection_id":164704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04762"} 
[2026-08-28 13:36:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703354368001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:36:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787904030000,"timestamp_ms":1787904030000,"timestamp_seconds":1787904030,"priority":1,"record_length":96,"hex_timestamp":"000001a047627530"} 
[2026-08-28 13:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:36:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 13:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 13:36:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:36:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":164704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":164704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":164704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:36:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703354368001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703354368001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:36:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:36:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703354368001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":164704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:36:10] local.INFO: GPS data processed {"connection_id":164704,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:36:10] local.INFO: Acknowledgment sent {"connection_id":164704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:36:16] local.INFO: TCP Data received {"connection_id":166056,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166056,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:36:16] local.INFO: Processing buffer {"connection_id":166056,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:36:16] local.INFO: IMEI packet received {"connection_id":166056,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 13:36:16] local.INFO: IMEI acknowledgment sent {"connection_id":166056,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:36:17] local.INFO: TCP Data received {"connection_id":166056,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166056,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:36:17] local.INFO: Processing buffer {"connection_id":166056,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:36:17] local.INFO: IMEI packet received {"connection_id":166056,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:36:17] local.INFO: IMEI acknowledgment sent {"connection_id":166056,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:36:18] local.INFO: TCP Data received {"connection_id":166056,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0476693e0012d19abc00720af280038011f2c..."} 
[2026-08-28 13:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0476693e0012d19abc00720af280038011f2c..."} 
[2026-08-28 13:36:18] local.INFO: Processing buffer {"connection_id":166056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0476693e0012d19abc00720af280038011f2c..."} 
[2026-08-28 13:36:18] local.INFO: Packet analysis {"connection_id":166056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04766"} 
[2026-08-28 13:36:18] local.INFO: Extracted packet for processing {"connection_id":166056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04766"} 
[2026-08-28 13:36:18] local.INFO: GPS Element Parsed {"raw_longitude":756657088,"raw_latitude":119582504,"longitude_deg":75.6657088,"latitude_deg":11.9582504,"altitude":56,"angle":287,"satellites":44,"speed":22,"hex_longitude":"2d19abc0","hex_latitude":"0720af28","is_valid_coordinates":true} 
[2026-08-28 13:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:36:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703499520001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:36:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15914344185331712,"note":"Value kept but may cause issues"} 
[2026-08-28 13:36:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852457221089873920,"note":"Value kept but may cause issues"} 
[2026-08-28 13:36:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:36:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787904300000,"timestamp_ms":1787904300000,"timestamp_seconds":1787904300,"priority":1,"record_length":96,"hex_timestamp":"000001a0476693e0"} 
[2026-08-28 13:36:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:36:18] 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-28 13:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-28 13:36:18] 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-28 13:36:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:36:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:36:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:36:18] local.INFO: Teltonika packet parsed successfully {"connection_id":166056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:36:18] local.INFO: Passing IMEI to GPS processor {"connection_id":166056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:36:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":166056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:36:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:36:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:36:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:36:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703499520001,"66":13276,"121":206,"28":31744,"24":22,"16":15914344185331712,"45":1852457221089873920},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 13:36:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:36:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:36:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703499520001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:36:18] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 13:36:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:36:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15914344185331712,"km_value":15914344185331.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:36:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852457221089873920,"description":"Unknown IO ID 45"} 
[2026-08-28 13:36:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703499520001,"power":13276,"unknown_121":206,"unknown_28":31744,"ignition":22,"odometer":null,"unknown_45":1852457221089873920}} 
[2026-08-28 13:36:18] local.INFO: DEBUG: GPS processor result {"connection_id":166056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707643,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:36:18] local.INFO: GPS data processed {"connection_id":166056,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:36:18] local.INFO: Acknowledgment sent {"connection_id":166056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:36:19] local.INFO: TCP Data received {"connection_id":166056,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047669f98012d19a5800720b058003801112d..."} 
[2026-08-28 13:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047669f98012d19a5800720b058003801112d..."} 
[2026-08-28 13:36:19] local.INFO: Processing buffer {"connection_id":166056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047669f98012d19a5800720b058003801112d..."} 
[2026-08-28 13:36:19] local.INFO: Packet analysis {"connection_id":166056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04766"} 
[2026-08-28 13:36:19] local.INFO: Extracted packet for processing {"connection_id":166056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04766"} 
[2026-08-28 13:36:19] local.INFO: GPS Element Parsed {"raw_longitude":756655488,"raw_latitude":119582808,"longitude_deg":75.6655488,"latitude_deg":11.9582808,"altitude":56,"angle":273,"satellites":45,"speed":20,"hex_longitude":"2d19a580","hex_latitude":"0720b058","is_valid_coordinates":true} 
[2026-08-28 13: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-28 13:36:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703500800001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:36:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15914421494743040,"note":"Value kept but may cause issues"} 
[2026-08-28 13:36:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849783208811374592,"note":"Value kept but may cause issues"} 
[2026-08-28 13:36:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:36:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787904303000,"timestamp_ms":1787904303000,"timestamp_seconds":1787904303,"priority":1,"record_length":96,"hex_timestamp":"000001a047669f98"} 
[2026-08-28 13: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-28 13:36:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-28 13:36:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13: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-28 13: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-28 13:36:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:36:19] local.INFO: Teltonika packet parsed successfully {"connection_id":166056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:36:19] local.INFO: Passing IMEI to GPS processor {"connection_id":166056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:36:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":166056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:36:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:36:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:36:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:36:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703500800001,"66":13243,"121":206,"28":31744,"24":20,"16":15914421494743040,"45":1849783208811374592},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 13:36:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:36:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:36:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703500800001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:36:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 13:36:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:36:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15914421494743040,"km_value":15914421494743.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:36:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849783208811374592,"description":"Unknown IO ID 45"} 
[2026-08-28 13:36:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703500800001,"power":13243,"unknown_121":206,"unknown_28":31744,"ignition":20,"odometer":null,"unknown_45":1849783208811374592}} 
[2026-08-28 13:36:19] local.INFO: DEBUG: GPS processor result {"connection_id":166056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707644,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:36:19] local.INFO: GPS data processed {"connection_id":166056,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:36:19] local.INFO: Acknowledgment sent {"connection_id":166056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:36:36] local.INFO: TCP Data received {"connection_id":164705,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:36:36] local.INFO: Processing buffer {"connection_id":164705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:36:36] local.INFO: IMEI packet received {"connection_id":164705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 13:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":164705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:36:41] local.INFO: TCP Data received {"connection_id":164705,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:36:41] local.INFO: Processing buffer {"connection_id":164705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:36:41] local.INFO: IMEI packet received {"connection_id":164705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 13:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":164705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:36:42] local.INFO: TCP Data received {"connection_id":164705,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047670cf8012d34c14006aa4840001300e62e..."} 
[2026-08-28 13:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047670cf8012d34c14006aa4840001300e62e..."} 
[2026-08-28 13:36:42] local.INFO: Processing buffer {"connection_id":164705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047670cf8012d34c14006aa4840001300e62e..."} 
[2026-08-28 13:36:42] local.INFO: Packet analysis {"connection_id":164705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04767"} 
[2026-08-28 13:36:42] local.INFO: Extracted packet for processing {"connection_id":164705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04767"} 
[2026-08-28 13:36:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":19,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13: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-28 13:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703431680001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:36:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:36:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787904331000,"timestamp_ms":1787904331000,"timestamp_seconds":1787904331,"priority":1,"record_length":96,"hex_timestamp":"000001a047670cf8"} 
[2026-08-28 13: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-28 13: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-28 13: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":118,"data_length":795,"current_offset":136} 
[2026-08-28 13:36: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-28 13: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-28 13: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-28 13:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":164705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":164705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":164705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:36:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703431680001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703431680001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:36:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:36:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13: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-28 13:36:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703431680001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":164705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:36:42] local.INFO: GPS data processed {"connection_id":164705,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:36:42] local.INFO: Acknowledgment sent {"connection_id":164705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:36:48] local.INFO: TCP Data received {"connection_id":164705,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047670cf8012d34c14006aa4840001300e62e..."} 
[2026-08-28 13:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047670cf8012d34c14006aa4840001300e62e..."} 
[2026-08-28 13:36:48] local.INFO: Processing buffer {"connection_id":164705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047670cf8012d34c14006aa4840001300e62e..."} 
[2026-08-28 13:36:48] local.INFO: Packet analysis {"connection_id":164705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04767"} 
[2026-08-28 13:36:48] local.INFO: Extracted packet for processing {"connection_id":164705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04767"} 
[2026-08-28 13:36:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":19,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:36:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:36:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703431680001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:36:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:36:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:36:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:36:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787904331000,"timestamp_ms":1787904331000,"timestamp_seconds":1787904331,"priority":1,"record_length":96,"hex_timestamp":"000001a047670cf8"} 
[2026-08-28 13:36:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13: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-28 13:36:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 13:36: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-28 13:36:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:36:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:36:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:36:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:36:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:36:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:36:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:36:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:36:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:36:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703431680001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:36:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:36:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:36:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703431680001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:36:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:36:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13: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-28 13:36:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:36:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703431680001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:36:48] local.INFO: DEBUG: GPS processor result {"connection_id":164705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:36:48] local.INFO: GPS data processed {"connection_id":164705,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:36:48] local.INFO: Acknowledgment sent {"connection_id":164705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:36:51] local.INFO: TCP Data received {"connection_id":166056,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a04766d648012d198c800720b330003801062c..."} 
[2026-08-28 13:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04766d648012d198c800720b330003801062c..."} 
[2026-08-28 13:36:51] local.INFO: Processing buffer {"connection_id":166056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04766d648012d198c800720b330003801062c..."} 
[2026-08-28 13:36:51] local.INFO: Packet analysis {"connection_id":166056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04766"} 
[2026-08-28 13:36:51] local.INFO: Extracted packet for processing {"connection_id":166056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04766"} 
[2026-08-28 13:36:51] local.INFO: GPS Element Parsed {"raw_longitude":756649088,"raw_latitude":119583536,"longitude_deg":75.6649088,"latitude_deg":11.9583536,"altitude":56,"angle":262,"satellites":44,"speed":7,"hex_longitude":"2d198c80","hex_latitude":"0720b330","is_valid_coordinates":true} 
[2026-08-28 13: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-28 13:36:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703501568001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:36:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15914726437421056,"note":"Value kept but may cause issues"} 
[2026-08-28 13:36:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848023990207010816,"note":"Value kept but may cause issues"} 
[2026-08-28 13:36:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:36:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787904317000,"timestamp_ms":1787904317000,"timestamp_seconds":1787904317,"priority":1,"record_length":96,"hex_timestamp":"000001a04766d648"} 
[2026-08-28 13: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-28 13:36:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13: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":187,"data_length":795,"current_offset":136} 
[2026-08-28 13:36:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13: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-28 13: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-28 13:36:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:36:51] local.INFO: Teltonika packet parsed successfully {"connection_id":166056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:36:51] local.INFO: Passing IMEI to GPS processor {"connection_id":166056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:36:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":166056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:36:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:36:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:36:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:36:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703501568001,"66":12385,"121":206,"28":31744,"24":7,"16":15914726437421056,"45":1848023990207010816},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 13:36:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:36:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:36:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703501568001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:36:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 13:36:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:36:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15914726437421056,"km_value":15914726437421.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:36:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848023990207010816,"description":"Unknown IO ID 45"} 
[2026-08-28 13:36:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703501568001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1848023990207010816}} 
[2026-08-28 13:36:51] local.INFO: DEBUG: GPS processor result {"connection_id":166056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707647,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:36:51] local.INFO: GPS data processed {"connection_id":166056,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:36:51] local.INFO: Acknowledgment sent {"connection_id":166056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:37:11] local.INFO: TCP Data received {"connection_id":166057,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:37:11] local.INFO: Processing buffer {"connection_id":166057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:37:11] local.INFO: IMEI packet received {"connection_id":166057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 13:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":166057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:37:16] local.INFO: TCP Data received {"connection_id":166057,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:37:16] local.INFO: Processing buffer {"connection_id":166057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:37:16] local.INFO: IMEI packet received {"connection_id":166057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:37:16] local.INFO: IMEI acknowledgment sent {"connection_id":166057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:37:18] local.INFO: TCP Data received {"connection_id":166057,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a04766da30012d198c000720b318003901122c..."} 
[2026-08-28 13:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04766da30012d198c000720b318003901122c..."} 
[2026-08-28 13:37:18] local.INFO: Processing buffer {"connection_id":166057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04766da30012d198c000720b318003901122c..."} 
[2026-08-28 13:37:18] local.INFO: Packet analysis {"connection_id":166057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04766"} 
[2026-08-28 13:37:18] local.INFO: Extracted packet for processing {"connection_id":166057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04766"} 
[2026-08-28 13:37:18] local.INFO: GPS Element Parsed {"raw_longitude":756648960,"raw_latitude":119583512,"longitude_deg":75.664896,"latitude_deg":11.9583512,"altitude":57,"angle":274,"satellites":44,"speed":5,"hex_longitude":"2d198c00","hex_latitude":"0720b318","is_valid_coordinates":true} 
[2026-08-28 13:37:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:37:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703505152001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:37:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15914735027355648,"note":"Value kept but may cause issues"} 
[2026-08-28 13:37:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840987115789430784,"note":"Value kept but may cause issues"} 
[2026-08-28 13:37:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:37:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787904318000,"timestamp_ms":1787904318000,"timestamp_seconds":1787904318,"priority":1,"record_length":96,"hex_timestamp":"000001a04766da30"} 
[2026-08-28 13:37:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:37:18] 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-28 13:37:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 13:37:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:37:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:37:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:37:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:37:18] local.INFO: Teltonika packet parsed successfully {"connection_id":166057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:37:18] local.INFO: Passing IMEI to GPS processor {"connection_id":166057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:37:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":166057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:37:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:37:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:37:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:37:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703505152001,"66":13156,"121":206,"28":31744,"24":5,"16":15914735027355648,"45":1840987115789430784},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 13:37:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:37:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:37:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703505152001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:37:18] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 13:37:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:37:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15914735027355648,"km_value":15914735027355.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:37:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840987115789430784,"description":"Unknown IO ID 45"} 
[2026-08-28 13:37:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703505152001,"power":13156,"unknown_121":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1840987115789430784}} 
[2026-08-28 13:37:18] local.INFO: DEBUG: GPS processor result {"connection_id":166057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707648,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:37:18] local.INFO: GPS data processed {"connection_id":166057,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:37:18] local.INFO: Acknowledgment sent {"connection_id":166057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:37:30] local.INFO: TCP Data received {"connection_id":163436,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:37:30] local.INFO: Processing buffer {"connection_id":163436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:37:30] local.INFO: IMEI packet received {"connection_id":163436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 13:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":163436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:37:36] local.INFO: TCP Data received {"connection_id":163436,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:37:36] local.INFO: Processing buffer {"connection_id":163436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:37:36] local.INFO: IMEI packet received {"connection_id":163436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 13:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":163436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:37:37] local.INFO: TCP Data received {"connection_id":163436,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047670cf8012d34c14006aa4840001300e62e..."} 
[2026-08-28 13:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047670cf8012d34c14006aa4840001300e62e..."} 
[2026-08-28 13:37:37] local.INFO: Processing buffer {"connection_id":163436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047670cf8012d34c14006aa4840001300e62e..."} 
[2026-08-28 13:37:37] local.INFO: Packet analysis {"connection_id":163436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04767"} 
[2026-08-28 13:37:37] local.INFO: Extracted packet for processing {"connection_id":163436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04767"} 
[2026-08-28 13:37:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":19,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703431680001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787904331000,"timestamp_ms":1787904331000,"timestamp_seconds":1787904331,"priority":1,"record_length":96,"hex_timestamp":"000001a047670cf8"} 
[2026-08-28 13:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 13:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 13:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703431680001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703431680001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:37:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:37:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13:37: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-28 13:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703431680001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:37:37] 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":707649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:37:37] local.INFO: GPS data processed {"connection_id":163436,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:37:37] local.INFO: Acknowledgment sent {"connection_id":163436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:37:50] local.INFO: TCP Data received {"connection_id":166057,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047672c38012d198bc00720b328003801122b..."} 
[2026-08-28 13:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047672c38012d198bc00720b328003801122b..."} 
[2026-08-28 13:37:50] local.INFO: Processing buffer {"connection_id":166057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047672c38012d198bc00720b328003801122b..."} 
[2026-08-28 13:37:50] local.INFO: Packet analysis {"connection_id":166057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04767"} 
[2026-08-28 13:37:50] local.INFO: Extracted packet for processing {"connection_id":166057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04767"} 
[2026-08-28 13:37:50] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119583528,"longitude_deg":75.6648896,"latitude_deg":11.9583528,"altitude":56,"angle":274,"satellites":43,"speed":0,"hex_longitude":"2d198bc0","hex_latitude":"0720b328","is_valid_coordinates":true} 
[2026-08-28 13:37: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-28 13:37:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703505408001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:37:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15914739322322944,"note":"Value kept but may cause issues"} 
[2026-08-28 13:37:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840846378301069312,"note":"Value kept but may cause issues"} 
[2026-08-28 13:37:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:37:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787904339000,"timestamp_ms":1787904339000,"timestamp_seconds":1787904339,"priority":1,"record_length":96,"hex_timestamp":"000001a047672c38"} 
[2026-08-28 13:37:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:37:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13:37:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-28 13:37:50] 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-28 13:37: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-28 13:37:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:37:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:37:50] local.INFO: Teltonika packet parsed successfully {"connection_id":166057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:37:50] local.INFO: Passing IMEI to GPS processor {"connection_id":166057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:37:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":166057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:37:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:37:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:37:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:37:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703505408001,"66":13135,"121":206,"28":31744,"24":0,"16":15914739322322944,"45":1840846378301069312},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 13:37:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:37:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:37:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703505408001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:37:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 13:37:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:37:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15914739322322944,"km_value":15914739322322.943,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:37:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840846378301069312,"description":"Unknown IO ID 45"} 
[2026-08-28 13:37:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703505408001,"power":13135,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840846378301069312}} 
[2026-08-28 13:37:50] local.INFO: DEBUG: GPS processor result {"connection_id":166057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707650,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:37:50] local.INFO: GPS data processed {"connection_id":166057,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:37:50] local.INFO: Acknowledgment sent {"connection_id":166057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:38:10] local.INFO: TCP Data received {"connection_id":163436,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047670cf8012d34c14006aa4840001300e62e..."} 
[2026-08-28 13:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047670cf8012d34c14006aa4840001300e62e..."} 
[2026-08-28 13:38:10] local.INFO: Processing buffer {"connection_id":163436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047670cf8012d34c14006aa4840001300e62e..."} 
[2026-08-28 13:38:10] local.INFO: Packet analysis {"connection_id":163436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04767"} 
[2026-08-28 13:38:10] local.INFO: Extracted packet for processing {"connection_id":163436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04767"} 
[2026-08-28 13:38:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":19,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703431680001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:38:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:38:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787904331000,"timestamp_ms":1787904331000,"timestamp_seconds":1787904331,"priority":1,"record_length":96,"hex_timestamp":"000001a047670cf8"} 
[2026-08-28 13:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:38:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 13:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 13:38:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:38:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:38:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703431680001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703431680001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:38:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:38:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:38:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703431680001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:38:10] 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":707651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:38:10] local.INFO: GPS data processed {"connection_id":163436,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:38:10] local.INFO: Acknowledgment sent {"connection_id":163436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:38:11] local.INFO: TCP Data received {"connection_id":166058,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166058,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:38:11] local.INFO: Processing buffer {"connection_id":166058,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:38:11] local.INFO: IMEI packet received {"connection_id":166058,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 13:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":166058,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:38:16] local.INFO: TCP Data received {"connection_id":166058,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166058,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:38:16] local.INFO: Processing buffer {"connection_id":166058,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:38:16] local.INFO: IMEI packet received {"connection_id":166058,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:38:16] local.INFO: IMEI acknowledgment sent {"connection_id":166058,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:38:17] local.INFO: TCP Data received {"connection_id":166058,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047673408012d198bc00720b2d8003900bf2b..."} 
[2026-08-28 13:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047673408012d198bc00720b2d8003900bf2b..."} 
[2026-08-28 13:38:17] local.INFO: Processing buffer {"connection_id":166058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047673408012d198bc00720b2d8003900bf2b..."} 
[2026-08-28 13:38:17] local.INFO: Packet analysis {"connection_id":166058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04767"} 
[2026-08-28 13:38:17] local.INFO: Extracted packet for processing {"connection_id":166058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04767"} 
[2026-08-28 13:38:17] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119583448,"longitude_deg":75.6648896,"latitude_deg":11.9583448,"altitude":57,"angle":191,"satellites":43,"speed":1,"hex_longitude":"2d198bc0","hex_latitude":"0720b2d8","is_valid_coordinates":true} 
[2026-08-28 13:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:38:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703510784001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:38:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15914743617290240,"note":"Value kept but may cause issues"} 
[2026-08-28 13:38:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840776009556895744,"note":"Value kept but may cause issues"} 
[2026-08-28 13:38:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:38:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787904341000,"timestamp_ms":1787904341000,"timestamp_seconds":1787904341,"priority":1,"record_length":96,"hex_timestamp":"000001a047673408"} 
[2026-08-28 13:38:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:38:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-28 13:38:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:38:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:38:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:38:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:38:17] local.INFO: Teltonika packet parsed successfully {"connection_id":166058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:38:17] local.INFO: Passing IMEI to GPS processor {"connection_id":166058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:38:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":166058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:38:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:38:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:38:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:38:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703510784001,"66":12363,"121":206,"28":31744,"24":1,"16":15914743617290240,"45":1840776009556895744},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 13:38:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:38:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:38:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703510784001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:38:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 13:38:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:38:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15914743617290240,"km_value":15914743617290.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:38:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840776009556895744,"description":"Unknown IO ID 45"} 
[2026-08-28 13:38:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703510784001,"power":12363,"unknown_121":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":1840776009556895744}} 
[2026-08-28 13:38:18] local.INFO: DEBUG: GPS processor result {"connection_id":166058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707652,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:38:18] local.INFO: GPS data processed {"connection_id":166058,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:38:18] local.INFO: Acknowledgment sent {"connection_id":166058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:38:36] local.INFO: TCP Data received {"connection_id":166059,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:38:36] local.INFO: Processing buffer {"connection_id":166059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:38:36] local.INFO: IMEI packet received {"connection_id":166059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 13:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":166059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:38:37] local.INFO: TCP Data received {"connection_id":166059,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:38:37] local.INFO: Processing buffer {"connection_id":166059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:38:37] local.INFO: IMEI packet received {"connection_id":166059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 13:38:37] local.INFO: IMEI acknowledgment sent {"connection_id":166059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:38:38] local.INFO: TCP Data received {"connection_id":166059,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047670cf8012d34c14006aa4840001300e62e..."} 
[2026-08-28 13:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047670cf8012d34c14006aa4840001300e62e..."} 
[2026-08-28 13:38:38] local.INFO: Processing buffer {"connection_id":166059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047670cf8012d34c14006aa4840001300e62e..."} 
[2026-08-28 13:38:38] local.INFO: Packet analysis {"connection_id":166059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04767"} 
[2026-08-28 13:38:38] local.INFO: Extracted packet for processing {"connection_id":166059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04767"} 
[2026-08-28 13:38:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":19,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703431680001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:38:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787904331000,"timestamp_ms":1787904331000,"timestamp_seconds":1787904331,"priority":1,"record_length":96,"hex_timestamp":"000001a047670cf8"} 
[2026-08-28 13:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:38:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 13:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 13:38:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:38:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":166059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":166059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":166059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:38:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703431680001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703431680001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:38:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:38:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13:38: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-28 13:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703431680001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":166059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:38:38] local.INFO: GPS data processed {"connection_id":166059,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:38:38] local.INFO: Acknowledgment sent {"connection_id":166059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:38:41] local.INFO: TCP Data received {"connection_id":166059,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047670cf8012d34c14006aa4840001300e62e..."} 
[2026-08-28 13:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047670cf8012d34c14006aa4840001300e62e..."} 
[2026-08-28 13:38:41] local.INFO: Processing buffer {"connection_id":166059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047670cf8012d34c14006aa4840001300e62e..."} 
[2026-08-28 13:38:41] local.INFO: Packet analysis {"connection_id":166059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04767"} 
[2026-08-28 13:38:41] local.INFO: Extracted packet for processing {"connection_id":166059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04767"} 
[2026-08-28 13:38:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":19,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:38: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-28 13:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703431680001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:38:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:38:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787904331000,"timestamp_ms":1787904331000,"timestamp_seconds":1787904331,"priority":1,"record_length":96,"hex_timestamp":"000001a047670cf8"} 
[2026-08-28 13:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:38: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-28 13:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 13:38:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:38: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-28 13:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":166059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":166059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":166059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:38:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703431680001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703431680001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:38:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:38:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13:38: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-28 13:38:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703431680001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":166059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:38:41] local.INFO: GPS data processed {"connection_id":166059,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:38:41] local.INFO: Acknowledgment sent {"connection_id":166059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:38:49] local.INFO: TCP Data received {"connection_id":166058,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0476737f0012d198b400720b2c8003900cc29..."} 
[2026-08-28 13:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0476737f0012d198b400720b2c8003900cc29..."} 
[2026-08-28 13:38:49] local.INFO: Processing buffer {"connection_id":166058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0476737f0012d198b400720b2c8003900cc29..."} 
[2026-08-28 13:38:49] local.INFO: Packet analysis {"connection_id":166058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04767"} 
[2026-08-28 13:38:49] local.INFO: Extracted packet for processing {"connection_id":166058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04767"} 
[2026-08-28 13:38:49] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583432,"longitude_deg":75.6648768,"latitude_deg":11.9583432,"altitude":57,"angle":204,"satellites":41,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b2c8","is_valid_coordinates":true} 
[2026-08-28 13:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:38:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703511296001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:38:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15914747912257536,"note":"Value kept but may cause issues"} 
[2026-08-28 13:38:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840776009556875264,"note":"Value kept but may cause issues"} 
[2026-08-28 13:38:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:38:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787904342000,"timestamp_ms":1787904342000,"timestamp_seconds":1787904342,"priority":1,"record_length":96,"hex_timestamp":"000001a0476737f0"} 
[2026-08-28 13:38:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:38:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-28 13:38:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:38:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:38:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:38:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:38:49] local.INFO: Teltonika packet parsed successfully {"connection_id":166058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:38:49] local.INFO: Passing IMEI to GPS processor {"connection_id":166058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:38:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":166058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:38:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:38:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:38:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:38:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703511296001,"66":13048,"121":206,"28":31744,"24":0,"16":15914747912257536,"45":1840776009556875264},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 13:38:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:38:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:38:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703511296001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:38:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 13:38:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:38:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15914747912257536,"km_value":15914747912257.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:38:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840776009556875264,"description":"Unknown IO ID 45"} 
[2026-08-28 13:38:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703511296001,"power":13048,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840776009556875264}} 
[2026-08-28 13:38:49] local.INFO: DEBUG: GPS processor result {"connection_id":166058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707655,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:38:49] local.INFO: GPS data processed {"connection_id":166058,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:38:49] local.INFO: Acknowledgment sent {"connection_id":166058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:39:11] local.INFO: TCP Data received {"connection_id":164706,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:39:11] local.INFO: Processing buffer {"connection_id":164706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:39:11] local.INFO: IMEI packet received {"connection_id":164706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 13:39:11] local.INFO: IMEI acknowledgment sent {"connection_id":164706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:39:15] local.INFO: TCP Data received {"connection_id":166059,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047670cf8012d34c14006aa4840001300e62e..."} 
[2026-08-28 13:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047670cf8012d34c14006aa4840001300e62e..."} 
[2026-08-28 13:39:15] local.INFO: Processing buffer {"connection_id":166059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047670cf8012d34c14006aa4840001300e62e..."} 
[2026-08-28 13:39:15] local.INFO: Packet analysis {"connection_id":166059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04767"} 
[2026-08-28 13:39:15] local.INFO: Extracted packet for processing {"connection_id":166059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04767"} 
[2026-08-28 13:39:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":19,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 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-28 13:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703431680001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:39:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:39:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787904331000,"timestamp_ms":1787904331000,"timestamp_seconds":1787904331,"priority":1,"record_length":96,"hex_timestamp":"000001a047670cf8"} 
[2026-08-28 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-28 13: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-28 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":118,"data_length":795,"current_offset":136} 
[2026-08-28 13:39: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-28 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-28 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-28 13:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":166059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":166059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":166059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:39:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703431680001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703431680001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:39:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:39:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 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-28 13:39:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703431680001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":166059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:39:15] local.INFO: GPS data processed {"connection_id":166059,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:39:15] local.INFO: Acknowledgment sent {"connection_id":166059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:39:16] local.INFO: TCP Data received {"connection_id":164706,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:39:16] local.INFO: Processing buffer {"connection_id":164706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:39:16] local.INFO: IMEI packet received {"connection_id":164706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:39:16] local.INFO: IMEI acknowledgment sent {"connection_id":164706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:39:18] local.INFO: TCP Data received {"connection_id":164706,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0476789f8012d198bc00720b2c8003900c929..."} 
[2026-08-28 13:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0476789f8012d198bc00720b2c8003900c929..."} 
[2026-08-28 13:39:18] local.INFO: Processing buffer {"connection_id":164706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0476789f8012d198bc00720b2c8003900c929..."} 
[2026-08-28 13:39:18] local.INFO: Packet analysis {"connection_id":164706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04767"} 
[2026-08-28 13:39:18] local.INFO: Extracted packet for processing {"connection_id":164706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04767"} 
[2026-08-28 13:39:18] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119583432,"longitude_deg":75.6648896,"latitude_deg":11.9583432,"altitude":57,"angle":201,"satellites":41,"speed":0,"hex_longitude":"2d198bc0","hex_latitude":"0720b2c8","is_valid_coordinates":true} 
[2026-08-28 13: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-28 13:39:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703511552001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:39:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15914752207224832,"note":"Value kept but may cause issues"} 
[2026-08-28 13:39:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068515840,"note":"Value kept but may cause issues"} 
[2026-08-28 13:39:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:39:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787904363000,"timestamp_ms":1787904363000,"timestamp_seconds":1787904363,"priority":1,"record_length":96,"hex_timestamp":"000001a0476789f8"} 
[2026-08-28 13: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-28 13:39:18] 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-28 13: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-28 13:39:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13: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-28 13: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-28 13:39:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:39:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:39:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:39:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:39:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:39:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:39:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:39:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703511552001,"66":13015,"121":206,"28":31744,"24":0,"16":15914752207224832,"45":1840635272068515840},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 13:39:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:39:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:39:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703511552001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:39:18] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 13:39:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:39:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15914752207224832,"km_value":15914752207224.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:39:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068515840,"description":"Unknown IO ID 45"} 
[2026-08-28 13:39:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703511552001,"power":13015,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840635272068515840}} 
[2026-08-28 13:39:18] local.INFO: DEBUG: GPS processor result {"connection_id":164706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707657,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:39:18] local.INFO: GPS data processed {"connection_id":164706,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:39:18] local.INFO: Acknowledgment sent {"connection_id":164706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:39:30] local.INFO: TCP Data received {"connection_id":164707,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:39:30] local.INFO: Processing buffer {"connection_id":164707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:39:30] local.INFO: IMEI packet received {"connection_id":164707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 13:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":164707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:39:36] local.INFO: TCP Data received {"connection_id":164707,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:39:36] local.INFO: Processing buffer {"connection_id":164707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:39:36] local.INFO: IMEI packet received {"connection_id":164707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 13:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":164707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:39:38] local.INFO: TCP Data received {"connection_id":164707,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047670cf8012d34c14006aa4840001300e62e..."} 
[2026-08-28 13:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047670cf8012d34c14006aa4840001300e62e..."} 
[2026-08-28 13:39:38] local.INFO: Processing buffer {"connection_id":164707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047670cf8012d34c14006aa4840001300e62e..."} 
[2026-08-28 13:39:38] local.INFO: Packet analysis {"connection_id":164707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04767"} 
[2026-08-28 13:39:38] local.INFO: Extracted packet for processing {"connection_id":164707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04767"} 
[2026-08-28 13:39:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":19,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703431680001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:39:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787904331000,"timestamp_ms":1787904331000,"timestamp_seconds":1787904331,"priority":1,"record_length":96,"hex_timestamp":"000001a047670cf8"} 
[2026-08-28 13:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:39:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 13:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 13:39:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:39:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:39:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703431680001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703431680001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:39:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:39:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13:39: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-28 13:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703431680001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":164707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:39:38] local.INFO: GPS data processed {"connection_id":164707,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:39:38] local.INFO: Acknowledgment sent {"connection_id":164707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:39:50] local.INFO: TCP Data received {"connection_id":164706,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a04767dc00012d198bc00720b2c8003900c92b..."} 
[2026-08-28 13:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04767dc00012d198bc00720b2c8003900c92b..."} 
[2026-08-28 13:39:50] local.INFO: Processing buffer {"connection_id":164706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04767dc00012d198bc00720b2c8003900c92b..."} 
[2026-08-28 13:39:50] local.INFO: Packet analysis {"connection_id":164706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04767"} 
[2026-08-28 13:39:50] local.INFO: Extracted packet for processing {"connection_id":164706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04767"} 
[2026-08-28 13:39:50] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119583432,"longitude_deg":75.6648896,"latitude_deg":11.9583432,"altitude":57,"angle":201,"satellites":43,"speed":0,"hex_longitude":"2d198bc0","hex_latitude":"0720b2c8","is_valid_coordinates":true} 
[2026-08-28 13:39:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:39:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703516928001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:39:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15914752207224832,"note":"Value kept but may cause issues"} 
[2026-08-28 13:39:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840776009556871168,"note":"Value kept but may cause issues"} 
[2026-08-28 13:39:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:39:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787904384000,"timestamp_ms":1787904384000,"timestamp_seconds":1787904384,"priority":1,"record_length":96,"hex_timestamp":"000001a04767dc00"} 
[2026-08-28 13:39:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:39:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13:39:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-28 13:39:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:39:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:39:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:39:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:39:50] local.INFO: Teltonika packet parsed successfully {"connection_id":164706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:39:50] local.INFO: Passing IMEI to GPS processor {"connection_id":164706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:39:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":164706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:39:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:39:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:39:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:39:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703516928001,"66":12939,"121":206,"28":31744,"24":0,"16":15914752207224832,"45":1840776009556871168},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 13:39:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:39:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:39:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703516928001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:39:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 13:39:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:39:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15914752207224832,"km_value":15914752207224.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:39:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840776009556871168,"description":"Unknown IO ID 45"} 
[2026-08-28 13:39:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703516928001,"power":12939,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840776009556871168}} 
[2026-08-28 13:39:50] local.INFO: DEBUG: GPS processor result {"connection_id":164706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707659,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:39:50] local.INFO: GPS data processed {"connection_id":164706,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:39:50] local.INFO: Acknowledgment sent {"connection_id":164706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:40:10] local.INFO: TCP Data received {"connection_id":164707,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047670cf8012d34c14006aa4840001300e62e..."} 
[2026-08-28 13:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047670cf8012d34c14006aa4840001300e62e..."} 
[2026-08-28 13:40:10] local.INFO: Processing buffer {"connection_id":164707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047670cf8012d34c14006aa4840001300e62e..."} 
[2026-08-28 13:40:10] local.INFO: Packet analysis {"connection_id":164707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04767"} 
[2026-08-28 13:40:10] local.INFO: Extracted packet for processing {"connection_id":164707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04767"} 
[2026-08-28 13:40:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":19,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703431680001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:40:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787904331000,"timestamp_ms":1787904331000,"timestamp_seconds":1787904331,"priority":1,"record_length":96,"hex_timestamp":"000001a047670cf8"} 
[2026-08-28 13:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:40:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 13:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 13:40:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:40:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":164707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":164707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":164707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703431680001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703431680001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:40:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:40:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703431680001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":164707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:40:10] local.INFO: GPS data processed {"connection_id":164707,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:40:10] local.INFO: Acknowledgment sent {"connection_id":164707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:40:16] local.INFO: TCP Data received {"connection_id":166060,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166060,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:40:16] local.INFO: Processing buffer {"connection_id":166060,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:40:16] local.INFO: IMEI packet received {"connection_id":166060,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 13:40:16] local.INFO: IMEI acknowledgment sent {"connection_id":166060,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:40:22] local.INFO: TCP Data received {"connection_id":166060,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166060,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:40:22] local.INFO: Processing buffer {"connection_id":166060,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:40:22] local.INFO: IMEI packet received {"connection_id":166060,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:40:22] local.INFO: IMEI acknowledgment sent {"connection_id":166060,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:40:28] local.INFO: TCP Data received {"connection_id":166060,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0476a2dc0012d198d000720b488003b005e2d..."} 
[2026-08-28 13:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0476a2dc0012d198d000720b488003b005e2d..."} 
[2026-08-28 13:40:28] local.INFO: Processing buffer {"connection_id":166060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0476a2dc0012d198d000720b488003b005e2d..."} 
[2026-08-28 13:40:28] local.INFO: Packet analysis {"connection_id":166060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0476a"} 
[2026-08-28 13:40:28] local.INFO: Extracted packet for processing {"connection_id":166060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0476a"} 
[2026-08-28 13:40:28] local.INFO: GPS Element Parsed {"raw_longitude":756649216,"raw_latitude":119583880,"longitude_deg":75.6649216,"latitude_deg":11.958388,"altitude":59,"angle":94,"satellites":45,"speed":6,"hex_longitude":"2d198d00","hex_latitude":"0720b488","is_valid_coordinates":true} 
[2026-08-28 13:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:40:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703560960001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:40:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15914782271995904,"note":"Value kept but may cause issues"} 
[2026-08-28 13:40:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840987115789524992,"note":"Value kept but may cause issues"} 
[2026-08-28 13:40:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:40:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787904536000,"timestamp_ms":1787904536000,"timestamp_seconds":1787904536,"priority":1,"record_length":96,"hex_timestamp":"000001a0476a2dc0"} 
[2026-08-28 13:40:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:40:28] 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-28 13:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-28 13:40:28] 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-28 13:40:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:40:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:40:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:40:28] local.INFO: Teltonika packet parsed successfully {"connection_id":166060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:40:28] local.INFO: Passing IMEI to GPS processor {"connection_id":166060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:40:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":166060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:40:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:40:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:40:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:40:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703560960001,"66":14189,"121":206,"28":31744,"24":6,"16":15914782271995904,"45":1840987115789524992},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 13:40:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:40:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:40:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703560960001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:40:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 13:40:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:40:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15914782271995904,"km_value":15914782271995.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:40:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840987115789524992,"description":"Unknown IO ID 45"} 
[2026-08-28 13:40:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703560960001,"power":14189,"unknown_121":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1840987115789524992}} 
[2026-08-28 13:40:28] local.INFO: DEBUG: GPS processor result {"connection_id":166060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707661,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:40:28] local.INFO: GPS data processed {"connection_id":166060,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:40:28] local.INFO: Acknowledgment sent {"connection_id":166060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:40:33] local.INFO: TCP Data received {"connection_id":166060,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0476a7fc8012d198e400720b428003b00612b..."} 
[2026-08-28 13:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0476a7fc8012d198e400720b428003b00612b..."} 
[2026-08-28 13:40:33] local.INFO: Processing buffer {"connection_id":166060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0476a7fc8012d198e400720b428003b00612b..."} 
[2026-08-28 13:40:33] local.INFO: Packet analysis {"connection_id":166060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0476a"} 
[2026-08-28 13:40:33] local.INFO: Extracted packet for processing {"connection_id":166060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0476a"} 
[2026-08-28 13:40:33] local.INFO: GPS Element Parsed {"raw_longitude":756649536,"raw_latitude":119583784,"longitude_deg":75.6649536,"latitude_deg":11.9583784,"altitude":59,"angle":97,"satellites":43,"speed":0,"hex_longitude":"2d198e40","hex_latitude":"0720b428","is_valid_coordinates":true} 
[2026-08-28 13:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703561216001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15914808041799680,"note":"Value kept but may cause issues"} 
[2026-08-28 13:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1841127853277874176,"note":"Value kept but may cause issues"} 
[2026-08-28 13:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787904557000,"timestamp_ms":1787904557000,"timestamp_seconds":1787904557,"priority":1,"record_length":96,"hex_timestamp":"000001a0476a7fc8"} 
[2026-08-28 13:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:40:33] 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-28 13:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-28 13:40:33] 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-28 13:40:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":166060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":166060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":166060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703561216001,"66":14374,"121":206,"28":31744,"24":0,"16":15914808041799680,"45":1841127853277874176},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 13:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703561216001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:40:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 13:40:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15914808041799680,"km_value":15914808041799.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1841127853277874176,"description":"Unknown IO ID 45"} 
[2026-08-28 13:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703561216001,"power":14374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1841127853277874176}} 
[2026-08-28 13:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":166060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707662,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:40:33] local.INFO: GPS data processed {"connection_id":166060,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:40:33] local.INFO: Acknowledgment sent {"connection_id":166060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:40:36] local.INFO: TCP Data received {"connection_id":163709,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:40:36] local.INFO: Processing buffer {"connection_id":163709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:40:36] local.INFO: IMEI packet received {"connection_id":163709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 13:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":163709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:40:41] local.INFO: TCP Data received {"connection_id":163709,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:40:41] local.INFO: Processing buffer {"connection_id":163709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:40:41] local.INFO: IMEI packet received {"connection_id":163709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 13:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":163709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:40:42] local.INFO: TCP Data received {"connection_id":163709,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047670cf8012d34c14006aa4840001300e62e..."} 
[2026-08-28 13:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047670cf8012d34c14006aa4840001300e62e..."} 
[2026-08-28 13:40:42] local.INFO: Processing buffer {"connection_id":163709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047670cf8012d34c14006aa4840001300e62e..."} 
[2026-08-28 13:40:42] local.INFO: Packet analysis {"connection_id":163709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04767"} 
[2026-08-28 13:40:42] local.INFO: Extracted packet for processing {"connection_id":163709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04767"} 
[2026-08-28 13:40:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":19,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13: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-28 13:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703431680001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:40:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:40:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787904331000,"timestamp_ms":1787904331000,"timestamp_seconds":1787904331,"priority":1,"record_length":96,"hex_timestamp":"000001a047670cf8"} 
[2026-08-28 13: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-28 13: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-28 13: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":118,"data_length":795,"current_offset":136} 
[2026-08-28 13:40: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-28 13: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-28 13: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-28 13:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:40:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703431680001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703431680001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:40:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:40:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13: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-28 13:40:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703431680001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:40: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":707663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:40:42] local.INFO: GPS data processed {"connection_id":163709,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:40:42] local.INFO: Acknowledgment sent {"connection_id":163709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:40:47] local.INFO: TCP Data received {"connection_id":163709,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047670cf8012d34c14006aa4840001300e62e..."} 
[2026-08-28 13:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047670cf8012d34c14006aa4840001300e62e..."} 
[2026-08-28 13:40:47] local.INFO: Processing buffer {"connection_id":163709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047670cf8012d34c14006aa4840001300e62e..."} 
[2026-08-28 13:40:47] local.INFO: Packet analysis {"connection_id":163709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04767"} 
[2026-08-28 13:40:47] local.INFO: Extracted packet for processing {"connection_id":163709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04767"} 
[2026-08-28 13:40:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":19,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13: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-28 13:40:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703431680001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:40:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:40:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:40:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:40:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787904331000,"timestamp_ms":1787904331000,"timestamp_seconds":1787904331,"priority":1,"record_length":96,"hex_timestamp":"000001a047670cf8"} 
[2026-08-28 13: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-28 13: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-28 13: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":118,"data_length":795,"current_offset":136} 
[2026-08-28 13:40: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-28 13: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-28 13: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-28 13:40:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:40:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:40:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:40:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:40:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:40:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:40:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:40:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703431680001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:40:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:40:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:40:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703431680001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:40:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:40:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13: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-28 13:40:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:40:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703431680001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:40:47] 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":707664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:40:47] local.INFO: GPS data processed {"connection_id":163709,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:40:47] local.INFO: Acknowledgment sent {"connection_id":163709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:41:08] local.INFO: TCP Data received {"connection_id":163437,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163437,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:41:08] local.INFO: Processing buffer {"connection_id":163437,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:41:08] local.INFO: IMEI packet received {"connection_id":163437,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 13:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":163437,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:41:11] local.INFO: TCP Data received {"connection_id":163437,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163437,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:41:11] local.INFO: Processing buffer {"connection_id":163437,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:41:11] local.INFO: IMEI packet received {"connection_id":163437,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:41:11] local.INFO: IMEI acknowledgment sent {"connection_id":163437,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:41:16] local.INFO: TCP Data received {"connection_id":163437,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163437,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:41:16] local.INFO: Processing buffer {"connection_id":163437,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:41:16] local.INFO: IMEI packet received {"connection_id":163437,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:41:16] local.INFO: IMEI acknowledgment sent {"connection_id":163437,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:41:18] local.INFO: TCP Data received {"connection_id":163437,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0476b2ba8012d19ad0007208f68003200bc2a..."} 
[2026-08-28 13:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0476b2ba8012d19ad0007208f68003200bc2a..."} 
[2026-08-28 13:41:18] local.INFO: Processing buffer {"connection_id":163437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0476b2ba8012d19ad0007208f68003200bc2a..."} 
[2026-08-28 13:41:18] local.INFO: Packet analysis {"connection_id":163437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0476b"} 
[2026-08-28 13:41:18] local.INFO: Extracted packet for processing {"connection_id":163437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0476b"} 
[2026-08-28 13:41:18] local.INFO: GPS Element Parsed {"raw_longitude":756657408,"raw_latitude":119574376,"longitude_deg":75.6657408,"latitude_deg":11.9574376,"altitude":50,"angle":188,"satellites":42,"speed":26,"hex_longitude":"2d19ad00","hex_latitude":"07208f68","is_valid_coordinates":true} 
[2026-08-28 13:41:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:41:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703577600001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:41:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15915740049702912,"note":"Value kept but may cause issues"} 
[2026-08-28 13:41:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850416527507060736,"note":"Value kept but may cause issues"} 
[2026-08-28 13:41:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:41:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787904601000,"timestamp_ms":1787904601000,"timestamp_seconds":1787904601,"priority":1,"record_length":96,"hex_timestamp":"000001a0476b2ba8"} 
[2026-08-28 13:41:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:41:18] 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-28 13:41:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-28 13:41:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454499072,"note":"Value kept but may cause issues"} 
[2026-08-28 13:41:18] local.WARNING: Large IO value detected {"io_id":138,"raw_value":4244635648,"note":"Value kept but may cause issues"} 
[2026-08-28 13:41:18] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2802843701,"note":"Value kept but may cause issues"} 
[2026-08-28 13:41:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-08-28 13:41:18] local.WARNING: Large IO value detected {"io_id":252,"raw_value":3355520281,"note":"Value kept but may cause issues"} 
[2026-08-28 13:41:18] local.WARNING: Large IO value detected {"io_id":185,"raw_value":3221692584,"note":"Value kept but may cause issues"} 
[2026-08-28 13:41:18] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3103837671,"note":"Value kept but may cause issues"} 
[2026-08-28 13:41:18] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2331115520,"note":"Value kept but may cause issues"} 
[2026-08-28 13:41:18] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,121,28,24,241,158,16,139,160,45,64,159,51,43,10,66,8,192,163,52,4,1,240,196,138,71,32,113,205,18,252,185,208,239,55,2,56,7,54,21],"length":479,"final_offset":609,"validated_count":40,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-08-28 13:41:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3603101992225472512,"timestamp_seconds":3603101992225472.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 13:41:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:41:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:41:18] local.INFO: Teltonika packet parsed successfully {"connection_id":163437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:41:18] local.INFO: Passing IMEI to GPS processor {"connection_id":163437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:41:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":163437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:41:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:41:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:41:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:41:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703577600001,"66":14080,"121":206,"28":31744,"24":26,"16":15915740049702912,"45":1850416527507060736},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 13:41:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:41:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:41:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703577600001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:41:18] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 13:41:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:41:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15915740049702912,"km_value":15915740049702.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:41:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850416527507060736,"description":"Unknown IO ID 45"} 
[2026-08-28 13:41:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703577600001,"power":14080,"unknown_121":206,"unknown_28":31744,"ignition":26,"odometer":null,"unknown_45":1850416527507060736}} 
[2026-08-28 13:41:18] 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":707665,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:41:18] local.INFO: GPS data processed {"connection_id":163437,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:41:18] local.INFO: Acknowledgment sent {"connection_id":163437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:41:30] local.INFO: TCP Data received {"connection_id":163710,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:41:30] local.INFO: Processing buffer {"connection_id":163710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:41:30] local.INFO: IMEI packet received {"connection_id":163710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 13:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":163710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:41:36] local.INFO: TCP Data received {"connection_id":163710,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:41:36] local.INFO: Processing buffer {"connection_id":163710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:41:36] local.INFO: IMEI packet received {"connection_id":163710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 13:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":163710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:41:37] local.INFO: TCP Data received {"connection_id":163710,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0476ba0d8012d34c14006aa4840000e00e62d..."} 
[2026-08-28 13:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0476ba0d8012d34c14006aa4840000e00e62d..."} 
[2026-08-28 13:41:37] local.INFO: Processing buffer {"connection_id":163710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0476ba0d8012d34c14006aa4840000e00e62d..."} 
[2026-08-28 13:41:37] local.INFO: Packet analysis {"connection_id":163710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0476b"} 
[2026-08-28 13:41:37] local.INFO: Extracted packet for processing {"connection_id":163710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0476b"} 
[2026-08-28 13:41:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703508736001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787904631000,"timestamp_ms":1787904631000,"timestamp_seconds":1787904631,"priority":1,"record_length":96,"hex_timestamp":"000001a0476ba0d8"} 
[2026-08-28 13:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 13:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 13:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703508736001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703508736001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:41:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:41:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13:41: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-28 13:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703508736001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":163710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:41:37] local.INFO: GPS data processed {"connection_id":163710,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:41:37] local.INFO: Acknowledgment sent {"connection_id":163710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:42:10] local.INFO: TCP Data received {"connection_id":166061,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166061,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:42:10] local.INFO: Processing buffer {"connection_id":166061,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:42:10] local.INFO: IMEI packet received {"connection_id":166061,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 13:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":166061,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:42:11] local.INFO: TCP Data received {"connection_id":163710,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0476ba0d8012d34c14006aa4840000e00e62d..."} 
[2026-08-28 13:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0476ba0d8012d34c14006aa4840000e00e62d..."} 
[2026-08-28 13:42:11] local.INFO: Processing buffer {"connection_id":163710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0476ba0d8012d34c14006aa4840000e00e62d..."} 
[2026-08-28 13:42:11] local.INFO: Packet analysis {"connection_id":163710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0476b"} 
[2026-08-28 13:42:11] local.INFO: Extracted packet for processing {"connection_id":163710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0476b"} 
[2026-08-28 13:42:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703508736001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:42:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:42:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787904631000,"timestamp_ms":1787904631000,"timestamp_seconds":1787904631,"priority":1,"record_length":96,"hex_timestamp":"000001a0476ba0d8"} 
[2026-08-28 13:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:42:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 13:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 13:42: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-28 13:42:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":163710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":163710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":163710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:42:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703508736001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703508736001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:42:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:42:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13:42: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-28 13:42:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703508736001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":163710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:42:11] local.INFO: GPS data processed {"connection_id":163710,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:42:11] local.INFO: Acknowledgment sent {"connection_id":163710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:42:12] local.INFO: TCP Data received {"connection_id":166061,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166061,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:42:12] local.INFO: Processing buffer {"connection_id":166061,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:42:12] local.INFO: IMEI packet received {"connection_id":166061,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:42:12] local.INFO: IMEI acknowledgment sent {"connection_id":166061,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:42:12] local.INFO: TCP Data received {"connection_id":166061,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166061,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:42:12] local.INFO: Processing buffer {"connection_id":166061,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:42:12] local.INFO: IMEI packet received {"connection_id":166061,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:42:12] local.INFO: IMEI acknowledgment sent {"connection_id":166061,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:42:16] local.INFO: TCP Data received {"connection_id":166061,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166061,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:42:16] local.INFO: Processing buffer {"connection_id":166061,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:42:16] local.INFO: IMEI packet received {"connection_id":166061,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:42:16] local.INFO: IMEI acknowledgment sent {"connection_id":166061,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:42:17] local.INFO: TCP Data received {"connection_id":166061,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0476c6fe0012d19de40072009c0003000972e..."} 
[2026-08-28 13:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0476c6fe0012d19de40072009c0003000972e..."} 
[2026-08-28 13:42:17] local.INFO: Processing buffer {"connection_id":166061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0476c6fe0012d19de40072009c0003000972e..."} 
[2026-08-28 13:42:17] local.INFO: Packet analysis {"connection_id":166061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0476c"} 
[2026-08-28 13:42:17] local.INFO: Extracted packet for processing {"connection_id":166061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0476c"} 
[2026-08-28 13:42:17] local.INFO: GPS Element Parsed {"raw_longitude":756670016,"raw_latitude":119540160,"longitude_deg":75.6670016,"latitude_deg":11.954016,"altitude":48,"angle":151,"satellites":46,"speed":12,"hex_longitude":"2d19de40","hex_latitude":"072009c0","is_valid_coordinates":true} 
[2026-08-28 13: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-28 13:42:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703598848001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:42:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15917595475574784,"note":"Value kept but may cause issues"} 
[2026-08-28 13:42:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863786588891961344,"note":"Value kept but may cause issues"} 
[2026-08-28 13:42:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:42:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787904684000,"timestamp_ms":1787904684000,"timestamp_seconds":1787904684,"priority":1,"record_length":96,"hex_timestamp":"000001a0476c6fe0"} 
[2026-08-28 13: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-28 13:42:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-28 13:42:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13: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-28 13: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-28 13:42:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:42:17] local.INFO: Teltonika packet parsed successfully {"connection_id":166061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:42:17] local.INFO: Passing IMEI to GPS processor {"connection_id":166061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:42:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":166061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:42:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:42:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:42:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:42:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703598848001,"66":13656,"121":206,"28":31744,"24":12,"16":15917595475574784,"45":1863786588891961344},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 13:42:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:42:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:42:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703598848001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:42:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 13:42:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:42:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15917595475574784,"km_value":15917595475574.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:42:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863786588891961344,"description":"Unknown IO ID 45"} 
[2026-08-28 13:42:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703598848001,"power":13656,"unknown_121":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1863786588891961344}} 
[2026-08-28 13:42:17] local.INFO: DEBUG: GPS processor result {"connection_id":166061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707668,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:42:17] local.INFO: GPS data processed {"connection_id":166061,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:42:17] local.INFO: Acknowledgment sent {"connection_id":166061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:42:30] local.INFO: TCP Data received {"connection_id":164708,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:42:30] local.INFO: Processing buffer {"connection_id":164708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:42:30] local.INFO: IMEI packet received {"connection_id":164708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 13:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":164708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:42:36] local.INFO: TCP Data received {"connection_id":164708,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:42:36] local.INFO: Processing buffer {"connection_id":164708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:42:36] local.INFO: IMEI packet received {"connection_id":164708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 13:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":164708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:42:37] local.INFO: TCP Data received {"connection_id":164708,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0476ba0d8012d34c14006aa4840000e00e62d..."} 
[2026-08-28 13:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0476ba0d8012d34c14006aa4840000e00e62d..."} 
[2026-08-28 13:42:37] local.INFO: Processing buffer {"connection_id":164708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0476ba0d8012d34c14006aa4840000e00e62d..."} 
[2026-08-28 13:42:37] local.INFO: Packet analysis {"connection_id":164708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0476b"} 
[2026-08-28 13:42:37] local.INFO: Extracted packet for processing {"connection_id":164708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0476b"} 
[2026-08-28 13:42:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703508736001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787904631000,"timestamp_ms":1787904631000,"timestamp_seconds":1787904631,"priority":1,"record_length":96,"hex_timestamp":"000001a0476ba0d8"} 
[2026-08-28 13:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 13:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 13:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703508736001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703508736001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:42:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:42:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13:42: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-28 13:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703508736001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":164708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:42:37] local.INFO: GPS data processed {"connection_id":164708,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:42:37] local.INFO: Acknowledgment sent {"connection_id":164708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:42:49] local.INFO: TCP Data received {"connection_id":166061,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0476d0450012d19a380071ff110003a00f42c..."} 
[2026-08-28 13:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0476d0450012d19a380071ff110003a00f42c..."} 
[2026-08-28 13:42:49] local.INFO: Processing buffer {"connection_id":166061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0476d0450012d19a380071ff110003a00f42c..."} 
[2026-08-28 13:42:49] local.INFO: Packet analysis {"connection_id":166061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0476d"} 
[2026-08-28 13:42:49] local.INFO: Extracted packet for processing {"connection_id":166061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0476d"} 
[2026-08-28 13:42:49] local.INFO: GPS Element Parsed {"raw_longitude":756654976,"raw_latitude":119533840,"longitude_deg":75.6654976,"latitude_deg":11.953384,"altitude":58,"angle":244,"satellites":44,"speed":8,"hex_longitude":"2d19a380","hex_latitude":"071ff110","is_valid_coordinates":true} 
[2026-08-28 13: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-28 13:42:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703608576001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:42:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15918471648903168,"note":"Value kept but may cause issues"} 
[2026-08-28 13:42:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847672146473607168,"note":"Value kept but may cause issues"} 
[2026-08-28 13:42:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:42:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787904722000,"timestamp_ms":1787904722000,"timestamp_seconds":1787904722,"priority":1,"record_length":96,"hex_timestamp":"000001a0476d0450"} 
[2026-08-28 13: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-28 13:42:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-28 13:42:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13: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-28 13: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-28 13:42:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:42:49] local.INFO: Teltonika packet parsed successfully {"connection_id":166061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:42:49] local.INFO: Passing IMEI to GPS processor {"connection_id":166061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:42:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":166061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:42:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:42:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:42:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:42:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703608576001,"66":13167,"121":206,"28":31744,"24":8,"16":15918471648903168,"45":1847672146473607168},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 13:42:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:42:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:42:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703608576001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:42:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 13:42:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:42:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15918471648903168,"km_value":15918471648903.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:42:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847672146473607168,"description":"Unknown IO ID 45"} 
[2026-08-28 13:42:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703608576001,"power":13167,"unknown_121":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1847672146473607168}} 
[2026-08-28 13:42:49] local.INFO: DEBUG: GPS processor result {"connection_id":166061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707670,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:42:49] local.INFO: GPS data processed {"connection_id":166061,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:42:49] local.INFO: Acknowledgment sent {"connection_id":166061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:42:57] local.INFO: TCP Data received {"connection_id":163438,"ip":"117.224.53.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 13:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163438,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 13:42:57] local.INFO: Processing buffer {"connection_id":163438,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 13:42:57] local.INFO: IMEI packet received {"connection_id":163438,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 13:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":163438,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:43:02] local.INFO: TCP Data received {"connection_id":163438,"ip":"117.224.53.59","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 13:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163438,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 13:43:02] local.INFO: Processing buffer {"connection_id":163438,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 13:43:02] local.INFO: IMEI packet received {"connection_id":163438,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 13:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":163438,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:43:04] local.INFO: TCP Data received {"connection_id":163438,"ip":"117.224.53.59","data_length":795,"data_hex":"000000000000030f8e0a000001a047618eb8012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047618eb8012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:43:04] local.INFO: Processing buffer {"connection_id":163438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047618eb8012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:43:04] local.INFO: Packet analysis {"connection_id":163438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04761"} 
[2026-08-28 13:43:04] local.INFO: Extracted packet for processing {"connection_id":163438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04761"} 
[2026-08-28 13:43:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 13:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703416576001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 13:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 13:43: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-28 13:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787903971000,"timestamp_ms":1787903971000,"timestamp_seconds":1787903971,"priority":1,"record_length":96,"hex_timestamp":"000001a047618eb8"} 
[2026-08-28 13:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:43:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 13:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-28 13:43:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":163438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":163438,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 13:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":163438,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 13:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.53.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 13:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 13:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703416576001,"66":2198,"97":206,"81":23296,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.53.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-28 13:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 13:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 13:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703416576001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:43:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 13:43:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 13:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 13:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703416576001,"power":2198,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 13:43:04] 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":707671,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:43:04] local.INFO: GPS data processed {"connection_id":163438,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:43:04] local.INFO: Acknowledgment sent {"connection_id":163438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:43:10] local.INFO: TCP Data received {"connection_id":164708,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0476ba0d8012d34c14006aa4840000e00e62d..."} 
[2026-08-28 13:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0476ba0d8012d34c14006aa4840000e00e62d..."} 
[2026-08-28 13:43:10] local.INFO: Processing buffer {"connection_id":164708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0476ba0d8012d34c14006aa4840000e00e62d..."} 
[2026-08-28 13:43:10] local.INFO: Packet analysis {"connection_id":164708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0476b"} 
[2026-08-28 13:43:10] local.INFO: Extracted packet for processing {"connection_id":164708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0476b"} 
[2026-08-28 13:43:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703508736001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787904631000,"timestamp_ms":1787904631000,"timestamp_seconds":1787904631,"priority":1,"record_length":96,"hex_timestamp":"000001a0476ba0d8"} 
[2026-08-28 13:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 13:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 13:43:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:43:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":164708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":164708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":164708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703508736001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703508736001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:43:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:43:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:43:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703508736001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":164708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:43:10] local.INFO: GPS data processed {"connection_id":164708,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:43:10] local.INFO: Acknowledgment sent {"connection_id":164708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:43:11] local.INFO: TCP Data received {"connection_id":164709,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:43:11] local.INFO: Processing buffer {"connection_id":164709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:43:11] local.INFO: IMEI packet received {"connection_id":164709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 13:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":164709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:43:16] local.INFO: TCP Data received {"connection_id":164709,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:43:16] local.INFO: Processing buffer {"connection_id":164709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:43:16] local.INFO: IMEI packet received {"connection_id":164709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:43:16] local.INFO: IMEI acknowledgment sent {"connection_id":164709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:43:18] local.INFO: TCP Data received {"connection_id":164709,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0476d1008012d19a080071fefc0003c01022a..."} 
[2026-08-28 13:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0476d1008012d19a080071fefc0003c01022a..."} 
[2026-08-28 13:43:18] local.INFO: Processing buffer {"connection_id":164709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0476d1008012d19a080071fefc0003c01022a..."} 
[2026-08-28 13:43:18] local.INFO: Packet analysis {"connection_id":164709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0476d"} 
[2026-08-28 13:43:18] local.INFO: Extracted packet for processing {"connection_id":164709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0476d"} 
[2026-08-28 13:43:18] local.INFO: GPS Element Parsed {"raw_longitude":756654208,"raw_latitude":119533504,"longitude_deg":75.6654208,"latitude_deg":11.9533504,"altitude":60,"angle":258,"satellites":42,"speed":12,"hex_longitude":"2d19a080","hex_latitude":"071fefc0","is_valid_coordinates":true} 
[2026-08-28 13:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:43:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703608832001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:43:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15918514598576128,"note":"Value kept but may cause issues"} 
[2026-08-28 13:43:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847461040241053696,"note":"Value kept but may cause issues"} 
[2026-08-28 13:43:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:43:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787904725000,"timestamp_ms":1787904725000,"timestamp_seconds":1787904725,"priority":1,"record_length":96,"hex_timestamp":"000001a0476d1008"} 
[2026-08-28 13:43:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:43:18] 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-28 13:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-28 13:43:18] 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-28 13:43:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:43:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:43:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:43:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:43:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:43:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:43:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:43:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:43:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:43:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703608832001,"66":13102,"121":206,"28":31744,"24":12,"16":15918514598576128,"45":1847461040241053696},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 13:43:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:43:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:43:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703608832001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:43:18] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 13:43:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:43:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15918514598576128,"km_value":15918514598576.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:43:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847461040241053696,"description":"Unknown IO ID 45"} 
[2026-08-28 13:43:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703608832001,"power":13102,"unknown_121":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1847461040241053696}} 
[2026-08-28 13:43:18] local.INFO: DEBUG: GPS processor result {"connection_id":164709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707673,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:43:18] local.INFO: GPS data processed {"connection_id":164709,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:43:18] local.INFO: Acknowledgment sent {"connection_id":164709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:43:35] local.INFO: TCP Data received {"connection_id":163439,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:43:35] local.INFO: Processing buffer {"connection_id":163439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:43:35] local.INFO: IMEI packet received {"connection_id":163439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 13:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":163439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:43:39] local.INFO: TCP Data received {"connection_id":163438,"ip":"117.224.53.59","data_length":795,"data_hex":"000000000000030f8e0a000001a047618eb8012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047618eb8012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:43:39] local.INFO: Processing buffer {"connection_id":163438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047618eb8012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:43:39] local.INFO: Packet analysis {"connection_id":163438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04761"} 
[2026-08-28 13:43:39] local.INFO: Extracted packet for processing {"connection_id":163438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04761"} 
[2026-08-28 13:43:39] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 13:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703416576001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 13:43:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 13:43:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787903971000,"timestamp_ms":1787903971000,"timestamp_seconds":1787903971,"priority":1,"record_length":96,"hex_timestamp":"000001a047618eb8"} 
[2026-08-28 13:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:43:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 13:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-28 13:43:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:43:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":163438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":163438,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 13:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":163438,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 13:43:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.53.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 13:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 13:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703416576001,"66":2198,"97":206,"81":23296,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.53.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-28 13:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 13:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 13:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703416576001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:43:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 13:43:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 13:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:43:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 13:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703416576001,"power":2198,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 13:43:39] 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":707674,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:43:39] local.INFO: GPS data processed {"connection_id":163438,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:43:39] local.INFO: Acknowledgment sent {"connection_id":163438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:43:41] local.INFO: TCP Data received {"connection_id":163439,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:43:41] local.INFO: Processing buffer {"connection_id":163439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:43:41] local.INFO: IMEI packet received {"connection_id":163439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 13:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":163439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:43:43] local.INFO: TCP Data received {"connection_id":163439,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0476ba0d8012d34c14006aa4840000e00e62d..."} 
[2026-08-28 13:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0476ba0d8012d34c14006aa4840000e00e62d..."} 
[2026-08-28 13:43:43] local.INFO: Processing buffer {"connection_id":163439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0476ba0d8012d34c14006aa4840000e00e62d..."} 
[2026-08-28 13:43:43] local.INFO: Packet analysis {"connection_id":163439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0476b"} 
[2026-08-28 13:43:43] local.INFO: Extracted packet for processing {"connection_id":163439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0476b"} 
[2026-08-28 13:43:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 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-28 13:43:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703508736001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:43:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:43:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:43:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:43:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787904631000,"timestamp_ms":1787904631000,"timestamp_seconds":1787904631,"priority":1,"record_length":96,"hex_timestamp":"000001a0476ba0d8"} 
[2026-08-28 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-28 13: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-28 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":129,"data_length":795,"current_offset":136} 
[2026-08-28 13:43: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-28 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-28 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-28 13:43:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:43:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:43:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:43:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:43:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:43:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:43:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:43:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703508736001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:43:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:43:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:43:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703508736001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:43:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:43:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 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-28 13:43:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:43:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703508736001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:43:43] 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":707675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:43:43] local.INFO: GPS data processed {"connection_id":163439,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:43:43] local.INFO: Acknowledgment sent {"connection_id":163439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:43:48] local.INFO: TCP Data received {"connection_id":163439,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0476ba0d8012d34c14006aa4840000e00e62d..."} 
[2026-08-28 13:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0476ba0d8012d34c14006aa4840000e00e62d..."} 
[2026-08-28 13:43:48] local.INFO: Processing buffer {"connection_id":163439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0476ba0d8012d34c14006aa4840000e00e62d..."} 
[2026-08-28 13:43:48] local.INFO: Packet analysis {"connection_id":163439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0476b"} 
[2026-08-28 13:43:48] local.INFO: Extracted packet for processing {"connection_id":163439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0476b"} 
[2026-08-28 13:43:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:43:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703508736001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:43:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:43:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:43:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:43:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787904631000,"timestamp_ms":1787904631000,"timestamp_seconds":1787904631,"priority":1,"record_length":96,"hex_timestamp":"000001a0476ba0d8"} 
[2026-08-28 13:43:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:43: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-28 13:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 13:43: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-28 13:43:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:43:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:43:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:43:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:43:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:43:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:43:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:43:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:43:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:43:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703508736001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:43:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:43:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:43:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703508736001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:43:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:43:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13:43: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-28 13:43:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:43:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703508736001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:43:48] 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":707676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:43:48] local.INFO: GPS data processed {"connection_id":163439,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:43:48] local.INFO: Acknowledgment sent {"connection_id":163439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:43:50] local.INFO: TCP Data received {"connection_id":164709,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0476d17d8012d199d40071fefa8003e01122b..."} 
[2026-08-28 13:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0476d17d8012d199d40071fefa8003e01122b..."} 
[2026-08-28 13:43:50] local.INFO: Processing buffer {"connection_id":164709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0476d17d8012d199d40071fefa8003e01122b..."} 
[2026-08-28 13:43:50] local.INFO: Packet analysis {"connection_id":164709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0476d"} 
[2026-08-28 13:43:50] local.INFO: Extracted packet for processing {"connection_id":164709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0476d"} 
[2026-08-28 13:43:50] local.INFO: GPS Element Parsed {"raw_longitude":756653376,"raw_latitude":119533480,"longitude_deg":75.6653376,"latitude_deg":11.953348,"altitude":62,"angle":274,"satellites":43,"speed":16,"hex_longitude":"2d199d40","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-08-28 13:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:43:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703609600001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:43:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15918553253281792,"note":"Value kept but may cause issues"} 
[2026-08-28 13:43:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846616615310835712,"note":"Value kept but may cause issues"} 
[2026-08-28 13:43:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:43:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787904727000,"timestamp_ms":1787904727000,"timestamp_seconds":1787904727,"priority":1,"record_length":96,"hex_timestamp":"000001a0476d17d8"} 
[2026-08-28 13:43:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:43:50] 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-28 13:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-28 13:43:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:43:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:43:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:43:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:43:50] local.INFO: Teltonika packet parsed successfully {"connection_id":164709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:43:50] local.INFO: Passing IMEI to GPS processor {"connection_id":164709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:43:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":164709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:43:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:43:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:43:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:43:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703609600001,"66":13156,"121":206,"28":31744,"24":16,"16":15918553253281792,"45":1846616615310835712},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 13:43:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:43:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:43:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703609600001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:43:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 13:43:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:43:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15918553253281792,"km_value":15918553253281.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:43:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846616615310835712,"description":"Unknown IO ID 45"} 
[2026-08-28 13:43:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703609600001,"power":13156,"unknown_121":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1846616615310835712}} 
[2026-08-28 13:43:50] local.INFO: DEBUG: GPS processor result {"connection_id":164709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707677,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:43:50] local.INFO: GPS data processed {"connection_id":164709,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:43:50] local.INFO: Acknowledgment sent {"connection_id":164709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:44:10] local.INFO: TCP Data received {"connection_id":164710,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164710,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:44:10] local.INFO: Processing buffer {"connection_id":164710,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:44:10] local.INFO: IMEI packet received {"connection_id":164710,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 13:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":164710,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:44:11] local.INFO: TCP Data received {"connection_id":163438,"ip":"117.224.53.59","data_length":795,"data_hex":"000000000000030f8e0a000001a047618eb8012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047618eb8012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:44:11] local.INFO: Processing buffer {"connection_id":163438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047618eb8012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:44:11] local.INFO: Packet analysis {"connection_id":163438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04761"} 
[2026-08-28 13:44:11] local.INFO: Extracted packet for processing {"connection_id":163438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04761"} 
[2026-08-28 13:44:11] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 13:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703416576001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 13:44:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 13:44: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-28 13:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787903971000,"timestamp_ms":1787903971000,"timestamp_seconds":1787903971,"priority":1,"record_length":96,"hex_timestamp":"000001a047618eb8"} 
[2026-08-28 13:44:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:44:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 13:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-28 13:44:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:44:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:44:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":163438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":163438,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 13:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":163438,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 13:44:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.53.59","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 13:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 13:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703416576001,"66":2198,"97":206,"81":23296,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.53.59","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-08-28 13:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 13:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 13:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703416576001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:44:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-28 13:44:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-08-28 13:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:44:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 13:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703416576001,"power":2198,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 13:44:11] 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":707678,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:44:11] local.INFO: GPS data processed {"connection_id":163438,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:44:11] local.INFO: Acknowledgment sent {"connection_id":163438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:44:11] local.INFO: TCP Data received {"connection_id":164710,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164710,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:44:11] local.INFO: Processing buffer {"connection_id":164710,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:44:11] local.INFO: IMEI packet received {"connection_id":164710,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:44:11] local.INFO: IMEI acknowledgment sent {"connection_id":164710,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:44:16] local.INFO: TCP Data received {"connection_id":164710,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164710,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:44:16] local.INFO: Processing buffer {"connection_id":164710,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:44:16] local.INFO: IMEI packet received {"connection_id":164710,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:44:16] local.INFO: IMEI acknowledgment sent {"connection_id":164710,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:44:18] local.INFO: TCP Data received {"connection_id":164710,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0476d46b8012d198640071ff0b8003d01012c..."} 
[2026-08-28 13:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0476d46b8012d198640071ff0b8003d01012c..."} 
[2026-08-28 13:44:18] local.INFO: Processing buffer {"connection_id":164710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0476d46b8012d198640071ff0b8003d01012c..."} 
[2026-08-28 13:44:18] local.INFO: Packet analysis {"connection_id":164710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0476d"} 
[2026-08-28 13:44:18] local.INFO: Extracted packet for processing {"connection_id":164710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0476d"} 
[2026-08-28 13:44:18] local.INFO: GPS Element Parsed {"raw_longitude":756647488,"raw_latitude":119533752,"longitude_deg":75.6647488,"latitude_deg":11.9533752,"altitude":61,"angle":257,"satellites":44,"speed":19,"hex_longitude":"2d198640","hex_latitude":"071ff0b8","is_valid_coordinates":true} 
[2026-08-28 13:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:44:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703610112001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:44:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15918832426156032,"note":"Value kept but may cause issues"} 
[2026-08-28 13:44:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1845701821636519936,"note":"Value kept but may cause issues"} 
[2026-08-28 13:44:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:44:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787904739000,"timestamp_ms":1787904739000,"timestamp_seconds":1787904739,"priority":1,"record_length":96,"hex_timestamp":"000001a0476d46b8"} 
[2026-08-28 13:44:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:44:18] 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-28 13:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-28 13:44:18] 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-28 13:44:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:44:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:44:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:44:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:44:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:44:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:44:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:44:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:44:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:44:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703610112001,"66":13222,"121":206,"28":31744,"24":19,"16":15918832426156032,"45":1845701821636519936},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 13:44:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:44:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:44:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703610112001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:44:18] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 13:44:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:44:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15918832426156032,"km_value":15918832426156.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:44:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1845701821636519936,"description":"Unknown IO ID 45"} 
[2026-08-28 13:44:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703610112001,"power":13222,"unknown_121":206,"unknown_28":31744,"ignition":19,"odometer":null,"unknown_45":1845701821636519936}} 
[2026-08-28 13:44:18] local.INFO: DEBUG: GPS processor result {"connection_id":164710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707679,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:44:18] local.INFO: GPS data processed {"connection_id":164710,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:44:18] local.INFO: Acknowledgment sent {"connection_id":164710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:44:31] local.INFO: TCP Data received {"connection_id":164711,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:44:31] local.INFO: Processing buffer {"connection_id":164711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:44:31] local.INFO: IMEI packet received {"connection_id":164711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 13:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":164711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:44:36] local.INFO: TCP Data received {"connection_id":164711,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:44:36] local.INFO: Processing buffer {"connection_id":164711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:44:36] local.INFO: IMEI packet received {"connection_id":164711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 13:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":164711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:44:38] local.INFO: TCP Data received {"connection_id":164711,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0476ba0d8012d34c14006aa4840000e00e62d..."} 
[2026-08-28 13:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0476ba0d8012d34c14006aa4840000e00e62d..."} 
[2026-08-28 13:44:38] local.INFO: Processing buffer {"connection_id":164711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0476ba0d8012d34c14006aa4840000e00e62d..."} 
[2026-08-28 13:44:38] local.INFO: Packet analysis {"connection_id":164711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0476b"} 
[2026-08-28 13:44:38] local.INFO: Extracted packet for processing {"connection_id":164711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0476b"} 
[2026-08-28 13:44:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703508736001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:44:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787904631000,"timestamp_ms":1787904631000,"timestamp_seconds":1787904631,"priority":1,"record_length":96,"hex_timestamp":"000001a0476ba0d8"} 
[2026-08-28 13:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:44:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 13:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 13:44: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-28 13:44:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:44:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703508736001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703508736001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:44:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:44:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13:44: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-28 13:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703508736001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":164711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:44:38] local.INFO: GPS data processed {"connection_id":164711,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:44:38] local.INFO: Acknowledgment sent {"connection_id":164711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:44:42] local.INFO: TCP Data received {"connection_id":164711,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0476ba0d8012d34c14006aa4840000e00e62d..."} 
[2026-08-28 13:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0476ba0d8012d34c14006aa4840000e00e62d..."} 
[2026-08-28 13:44:42] local.INFO: Processing buffer {"connection_id":164711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0476ba0d8012d34c14006aa4840000e00e62d..."} 
[2026-08-28 13:44:42] local.INFO: Packet analysis {"connection_id":164711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0476b"} 
[2026-08-28 13:44:42] local.INFO: Extracted packet for processing {"connection_id":164711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0476b"} 
[2026-08-28 13:44:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13: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-28 13:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703508736001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:44:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:44:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787904631000,"timestamp_ms":1787904631000,"timestamp_seconds":1787904631,"priority":1,"record_length":96,"hex_timestamp":"000001a0476ba0d8"} 
[2026-08-28 13: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-28 13: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-28 13: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":129,"data_length":795,"current_offset":136} 
[2026-08-28 13:44: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-28 13: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-28 13: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-28 13:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":164711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":164711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":164711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:44:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703508736001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703508736001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:44:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:44:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13: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-28 13:44:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703508736001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":164711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:44:42] local.INFO: GPS data processed {"connection_id":164711,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:44:42] local.INFO: Acknowledgment sent {"connection_id":164711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:44:49] local.INFO: TCP Data received {"connection_id":164710,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0476d4e88012d1982c0071fef48003c00ef2c..."} 
[2026-08-28 13:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0476d4e88012d1982c0071fef48003c00ef2c..."} 
[2026-08-28 13:44:49] local.INFO: Processing buffer {"connection_id":164710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0476d4e88012d1982c0071fef48003c00ef2c..."} 
[2026-08-28 13:44:49] local.INFO: Packet analysis {"connection_id":164710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0476d"} 
[2026-08-28 13:44:49] local.INFO: Extracted packet for processing {"connection_id":164710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0476d"} 
[2026-08-28 13:44:49] local.INFO: GPS Element Parsed {"raw_longitude":756646592,"raw_latitude":119533384,"longitude_deg":75.6646592,"latitude_deg":11.9533384,"altitude":60,"angle":239,"satellites":44,"speed":19,"hex_longitude":"2d1982c0","hex_latitude":"071fef48","is_valid_coordinates":true} 
[2026-08-28 13:44:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:44:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703613184001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:44:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15918879670796288,"note":"Value kept but may cause issues"} 
[2026-08-28 13:44:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839227897172244480,"note":"Value kept but may cause issues"} 
[2026-08-28 13:44:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:44:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787904741000,"timestamp_ms":1787904741000,"timestamp_seconds":1787904741,"priority":1,"record_length":96,"hex_timestamp":"000001a0476d4e88"} 
[2026-08-28 13:44:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:44:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13:44:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-28 13:44:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:44:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:44:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:44:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:44:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:44:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:44:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:44:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:44:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:44:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:44:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703613184001,"66":13156,"121":206,"28":31744,"24":19,"16":15918879670796288,"45":1839227897172244480},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 13:44:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:44:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:44:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703613184001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:44:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 13:44:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:44:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15918879670796288,"km_value":15918879670796.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:44:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839227897172244480,"description":"Unknown IO ID 45"} 
[2026-08-28 13:44:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703613184001,"power":13156,"unknown_121":206,"unknown_28":31744,"ignition":19,"odometer":null,"unknown_45":1839227897172244480}} 
[2026-08-28 13:44:49] local.INFO: DEBUG: GPS processor result {"connection_id":164710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707682,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:44:49] local.INFO: GPS data processed {"connection_id":164710,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:44:49] local.INFO: Acknowledgment sent {"connection_id":164710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:45:11] local.INFO: TCP Data received {"connection_id":164712,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164712,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:45:11] local.INFO: Processing buffer {"connection_id":164712,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:45:11] local.INFO: IMEI packet received {"connection_id":164712,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 13:45:11] local.INFO: IMEI acknowledgment sent {"connection_id":164712,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:45:13] local.INFO: TCP Data received {"connection_id":164712,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164712,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:45:13] local.INFO: Processing buffer {"connection_id":164712,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:45:13] local.INFO: IMEI packet received {"connection_id":164712,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:45:13] local.INFO: IMEI acknowledgment sent {"connection_id":164712,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:45:16] local.INFO: TCP Data received {"connection_id":164712,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164712,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:45:16] local.INFO: Processing buffer {"connection_id":164712,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:45:16] local.INFO: IMEI packet received {"connection_id":164712,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:45:16] local.INFO: IMEI acknowledgment sent {"connection_id":164712,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:45:17] local.INFO: TCP Data received {"connection_id":164712,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0476d6210012d1978c0071fea58003a01012e..."} 
[2026-08-28 13:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0476d6210012d1978c0071fea58003a01012e..."} 
[2026-08-28 13:45:17] local.INFO: Processing buffer {"connection_id":164712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0476d6210012d1978c0071fea58003a01012e..."} 
[2026-08-28 13:45:17] local.INFO: Packet analysis {"connection_id":164712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0476d"} 
[2026-08-28 13:45:17] local.INFO: Extracted packet for processing {"connection_id":164712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0476d"} 
[2026-08-28 13:45:17] local.INFO: GPS Element Parsed {"raw_longitude":756644032,"raw_latitude":119532120,"longitude_deg":75.6644032,"latitude_deg":11.953212,"altitude":58,"angle":257,"satellites":46,"speed":20,"hex_longitude":"2d1978c0","hex_latitude":"071fea58","is_valid_coordinates":true} 
[2026-08-28 13:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703613696001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:45:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919017109749760,"note":"Value kept but may cause issues"} 
[2026-08-28 13:45:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838242734753662976,"note":"Value kept but may cause issues"} 
[2026-08-28 13:45:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:45:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787904746000,"timestamp_ms":1787904746000,"timestamp_seconds":1787904746,"priority":1,"record_length":96,"hex_timestamp":"000001a0476d6210"} 
[2026-08-28 13:45:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:45:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-28 13:45:17] 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-28 13:45:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:45:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:45:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:45:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:45:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:45:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:45:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:45:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:45:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:45:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703613696001,"66":13167,"121":206,"28":31744,"24":20,"16":15919017109749760,"45":1838242734753662976},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 13:45:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:45:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:45:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703613696001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:45:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 13:45:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:45:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919017109749760,"km_value":15919017109749.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:45:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838242734753662976,"description":"Unknown IO ID 45"} 
[2026-08-28 13:45:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703613696001,"power":13167,"unknown_121":206,"unknown_28":31744,"ignition":20,"odometer":null,"unknown_45":1838242734753662976}} 
[2026-08-28 13:45:17] local.INFO: DEBUG: GPS processor result {"connection_id":164712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707683,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:45:17] local.INFO: GPS data processed {"connection_id":164712,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:45:17] local.INFO: Acknowledgment sent {"connection_id":164712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:45:17] local.INFO: TCP Data received {"connection_id":164711,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0476ba0d8012d34c14006aa4840000e00e62d..."} 
[2026-08-28 13:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0476ba0d8012d34c14006aa4840000e00e62d..."} 
[2026-08-28 13:45:17] local.INFO: Processing buffer {"connection_id":164711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0476ba0d8012d34c14006aa4840000e00e62d..."} 
[2026-08-28 13:45:17] local.INFO: Packet analysis {"connection_id":164711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0476b"} 
[2026-08-28 13:45:17] local.INFO: Extracted packet for processing {"connection_id":164711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0476b"} 
[2026-08-28 13:45:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703508736001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:45:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:45:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:45:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:45:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787904631000,"timestamp_ms":1787904631000,"timestamp_seconds":1787904631,"priority":1,"record_length":96,"hex_timestamp":"000001a0476ba0d8"} 
[2026-08-28 13:45:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:45: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-28 13:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 13:45: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-28 13:45:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:45:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:45:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:45:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:45:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:45:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:45:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:45:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:45:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:45:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703508736001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:45:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:45:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:45:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703508736001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:45:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:45:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13:45: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-28 13:45:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:45:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703508736001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:45:17] local.INFO: DEBUG: GPS processor result {"connection_id":164711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:45:17] local.INFO: GPS data processed {"connection_id":164711,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:45:17] local.INFO: Acknowledgment sent {"connection_id":164711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:45:30] local.INFO: TCP Data received {"connection_id":163711,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:45:30] local.INFO: Processing buffer {"connection_id":163711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:45:30] local.INFO: IMEI packet received {"connection_id":163711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 13:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":163711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:45:36] local.INFO: TCP Data received {"connection_id":163711,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:45:36] local.INFO: Processing buffer {"connection_id":163711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:45:36] local.INFO: IMEI packet received {"connection_id":163711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 13:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":163711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:45:38] local.INFO: TCP Data received {"connection_id":163711,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0476ba0d8012d34c14006aa4840000e00e62d..."} 
[2026-08-28 13:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0476ba0d8012d34c14006aa4840000e00e62d..."} 
[2026-08-28 13:45:38] local.INFO: Processing buffer {"connection_id":163711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0476ba0d8012d34c14006aa4840000e00e62d..."} 
[2026-08-28 13:45:38] local.INFO: Packet analysis {"connection_id":163711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0476b"} 
[2026-08-28 13:45:38] local.INFO: Extracted packet for processing {"connection_id":163711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0476b"} 
[2026-08-28 13:45:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703508736001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787904631000,"timestamp_ms":1787904631000,"timestamp_seconds":1787904631,"priority":1,"record_length":96,"hex_timestamp":"000001a0476ba0d8"} 
[2026-08-28 13:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 13:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 13:45: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-28 13:45:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703508736001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703508736001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:45:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:45:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13:45: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-28 13:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703508736001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":163711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:45:38] local.INFO: GPS data processed {"connection_id":163711,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:45:38] local.INFO: Acknowledgment sent {"connection_id":163711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:45:48] local.INFO: TCP Data received {"connection_id":164712,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0476d6dc8012d197380071fea90003a01102e..."} 
[2026-08-28 13:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0476d6dc8012d197380071fea90003a01102e..."} 
[2026-08-28 13:45:48] local.INFO: Processing buffer {"connection_id":164712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0476d6dc8012d197380071fea90003a01102e..."} 
[2026-08-28 13:45:48] local.INFO: Packet analysis {"connection_id":164712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0476d"} 
[2026-08-28 13:45:48] local.INFO: Extracted packet for processing {"connection_id":164712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0476d"} 
[2026-08-28 13:45:48] local.INFO: GPS Element Parsed {"raw_longitude":756642688,"raw_latitude":119532176,"longitude_deg":75.6642688,"latitude_deg":11.9532176,"altitude":58,"angle":272,"satellites":46,"speed":17,"hex_longitude":"2d197380","hex_latitude":"071fea90","is_valid_coordinates":true} 
[2026-08-28 13: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-28 13:45:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703614976001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:45:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919081534259200,"note":"Value kept but may cause issues"} 
[2026-08-28 13:45:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1835427984986232832,"note":"Value kept but may cause issues"} 
[2026-08-28 13:45:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:45:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787904749000,"timestamp_ms":1787904749000,"timestamp_seconds":1787904749,"priority":1,"record_length":96,"hex_timestamp":"000001a0476d6dc8"} 
[2026-08-28 13: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-28 13:45:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13:45:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-28 13:45:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13: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-28 13: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-28 13:45:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:45:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:45:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:45:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:45:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:45:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:45:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:45:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703614976001,"66":13167,"121":206,"28":31744,"24":17,"16":15919081534259200,"45":1835427984986232832},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 13:45:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:45:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:45:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703614976001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:45:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 13:45:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:45:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919081534259200,"km_value":15919081534259.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:45:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1835427984986232832,"description":"Unknown IO ID 45"} 
[2026-08-28 13:45:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703614976001,"power":13167,"unknown_121":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1835427984986232832}} 
[2026-08-28 13:45:49] local.INFO: DEBUG: GPS processor result {"connection_id":164712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707686,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:45:49] local.INFO: GPS data processed {"connection_id":164712,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:45:49] local.INFO: Acknowledgment sent {"connection_id":164712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:46:13] local.INFO: TCP Data received {"connection_id":163711,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0476ba0d8012d34c14006aa4840000e00e62d..."} 
[2026-08-28 13:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0476ba0d8012d34c14006aa4840000e00e62d..."} 
[2026-08-28 13:46:13] local.INFO: Processing buffer {"connection_id":163711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0476ba0d8012d34c14006aa4840000e00e62d..."} 
[2026-08-28 13:46:13] local.INFO: Packet analysis {"connection_id":163711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0476b"} 
[2026-08-28 13:46:13] local.INFO: Extracted packet for processing {"connection_id":163711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0476b"} 
[2026-08-28 13:46:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:46:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:46:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703508736001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:46:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:46:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:46:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:46:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787904631000,"timestamp_ms":1787904631000,"timestamp_seconds":1787904631,"priority":1,"record_length":96,"hex_timestamp":"000001a0476ba0d8"} 
[2026-08-28 13:46:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:46: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-28 13:46:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 13:46:13] 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-28 13:46:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:46:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:46:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:46:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:46:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:46:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:46:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:46:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:46:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:46:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703508736001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:46:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:46:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:46:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703508736001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:46:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:46:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13:46: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-28 13:46:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:46:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703508736001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:46:13] local.INFO: DEBUG: GPS processor result {"connection_id":163711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:46:13] local.INFO: GPS data processed {"connection_id":163711,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:46:13] local.INFO: Acknowledgment sent {"connection_id":163711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:46:16] local.INFO: TCP Data received {"connection_id":166062,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:46:16] local.INFO: Processing buffer {"connection_id":166062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:46:16] local.INFO: IMEI packet received {"connection_id":166062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 13:46:16] local.INFO: IMEI acknowledgment sent {"connection_id":166062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:46:17] local.INFO: TCP Data received {"connection_id":166062,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:46:17] local.INFO: Processing buffer {"connection_id":166062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:46:17] local.INFO: IMEI packet received {"connection_id":166062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:46:17] local.INFO: IMEI acknowledgment sent {"connection_id":166062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:46:21] local.INFO: TCP Data received {"connection_id":166062,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:46:21] local.INFO: Processing buffer {"connection_id":166062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:46:21] local.INFO: IMEI packet received {"connection_id":166062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:46:21] local.INFO: IMEI acknowledgment sent {"connection_id":166062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:46:22] local.INFO: TCP Data received {"connection_id":166062,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0476dbfd0012d1967c0071fed70003701182d..."} 
[2026-08-28 13:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0476dbfd0012d1967c0071fed70003701182d..."} 
[2026-08-28 13:46:22] local.INFO: Processing buffer {"connection_id":166062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0476dbfd0012d1967c0071fed70003701182d..."} 
[2026-08-28 13:46:22] local.INFO: Packet analysis {"connection_id":166062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0476d"} 
[2026-08-28 13:46:22] local.INFO: Extracted packet for processing {"connection_id":166062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0476d"} 
[2026-08-28 13:46:22] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 13:46: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-28 13:46:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703615744001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:46:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 13:46:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1833950241358516224,"note":"Value kept but may cause issues"} 
[2026-08-28 13:46:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:46:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787904770000,"timestamp_ms":1787904770000,"timestamp_seconds":1787904770,"priority":1,"record_length":96,"hex_timestamp":"000001a0476dbfd0"} 
[2026-08-28 13:46:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:46:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13:46: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":111,"data_length":795,"current_offset":136} 
[2026-08-28 13:46:22] 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-28 13:46: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-28 13:46:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:46:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:46:22] local.INFO: Teltonika packet parsed successfully {"connection_id":166062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:46:22] local.INFO: Passing IMEI to GPS processor {"connection_id":166062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:46:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":166062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:46:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:46:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:46:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:46:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703615744001,"66":13156,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1833950241358516224},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 13:46:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:46:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:46:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703615744001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:46:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 13:46:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:46:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:46:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1833950241358516224,"description":"Unknown IO ID 45"} 
[2026-08-28 13:46:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703615744001,"power":13156,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1833950241358516224}} 
[2026-08-28 13:46:22] local.INFO: DEBUG: GPS processor result {"connection_id":166062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707688,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:46:22] local.INFO: GPS data processed {"connection_id":166062,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:46:22] local.INFO: Acknowledgment sent {"connection_id":166062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:46:27] local.INFO: TCP Data received {"connection_id":166062,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0476e11d8012d1967c0071fed70003701182c..."} 
[2026-08-28 13:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0476e11d8012d1967c0071fed70003701182c..."} 
[2026-08-28 13:46:27] local.INFO: Processing buffer {"connection_id":166062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0476e11d8012d1967c0071fed70003701182c..."} 
[2026-08-28 13:46:27] local.INFO: Packet analysis {"connection_id":166062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0476e"} 
[2026-08-28 13:46:27] local.INFO: Extracted packet for processing {"connection_id":166062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0476e"} 
[2026-08-28 13:46:27] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 13:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:46:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703621120001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:46:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 13:46:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 13:46:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:46:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787904791000,"timestamp_ms":1787904791000,"timestamp_seconds":1787904791,"priority":1,"record_length":96,"hex_timestamp":"000001a0476e11d8"} 
[2026-08-28 13:46:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:46:27] 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-28 13:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-28 13:46:27] 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-28 13:46:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:46:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:46:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:46:27] local.INFO: Teltonika packet parsed successfully {"connection_id":166062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:46:27] local.INFO: Passing IMEI to GPS processor {"connection_id":166062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:46:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":166062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:46:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:46:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:46:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:46:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703621120001,"66":13135,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 13:46:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:46:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:46:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703621120001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:46:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 13:46:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:46:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:46:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 13:46:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703621120001,"power":13135,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 13:46:27] local.INFO: DEBUG: GPS processor result {"connection_id":166062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707689,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:46:27] local.INFO: GPS data processed {"connection_id":166062,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:46:27] local.INFO: Acknowledgment sent {"connection_id":166062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:46:36] local.INFO: TCP Data received {"connection_id":164713,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:46:36] local.INFO: Processing buffer {"connection_id":164713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:46:36] local.INFO: IMEI packet received {"connection_id":164713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 13:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":164713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:46:41] local.INFO: TCP Data received {"connection_id":164713,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:46:41] local.INFO: Processing buffer {"connection_id":164713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:46:41] local.INFO: IMEI packet received {"connection_id":164713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 13:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":164713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:46:43] local.INFO: TCP Data received {"connection_id":164713,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0477038a0012d34c14006aa4840000c00e62c..."} 
[2026-08-28 13:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0477038a0012d34c14006aa4840000c00e62c..."} 
[2026-08-28 13:46:43] local.INFO: Processing buffer {"connection_id":164713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0477038a0012d34c14006aa4840000c00e62c..."} 
[2026-08-28 13:46:43] local.INFO: Packet analysis {"connection_id":164713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04770"} 
[2026-08-28 13:46:43] local.INFO: Extracted packet for processing {"connection_id":164713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04770"} 
[2026-08-28 13:46:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 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-28 13:46:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703585536001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:46:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:46:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:46:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:46:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787904932000,"timestamp_ms":1787904932000,"timestamp_seconds":1787904932,"priority":1,"record_length":96,"hex_timestamp":"000001a0477038a0"} 
[2026-08-28 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-28 13: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-28 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-28 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-28 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-28 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-28 13:46:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:46:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:46:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:46:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:46:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:46:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:46:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:46:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703585536001,"66":25441,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:46:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:46:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:46:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703585536001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:46:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:46:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 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-28 13:46:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:46:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703585536001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:46:43] 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":707690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:46:43] local.INFO: GPS data processed {"connection_id":164713,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:46:43] local.INFO: Acknowledgment sent {"connection_id":164713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:46:46] local.INFO: TCP Data received {"connection_id":164713,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0477038a0012d34c14006aa4840000c00e62c..."} 
[2026-08-28 13:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0477038a0012d34c14006aa4840000c00e62c..."} 
[2026-08-28 13:46:46] local.INFO: Processing buffer {"connection_id":164713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0477038a0012d34c14006aa4840000c00e62c..."} 
[2026-08-28 13:46:46] local.INFO: Packet analysis {"connection_id":164713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04770"} 
[2026-08-28 13:46:46] local.INFO: Extracted packet for processing {"connection_id":164713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04770"} 
[2026-08-28 13:46:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:46:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703585536001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:46:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:46:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:46:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:46:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787904932000,"timestamp_ms":1787904932000,"timestamp_seconds":1787904932,"priority":1,"record_length":96,"hex_timestamp":"000001a0477038a0"} 
[2026-08-28 13:46:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:46: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-28 13:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 13:46: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-28 13:46:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:46:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:46:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:46:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:46:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:46:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:46:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:46:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:46:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:46:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703585536001,"66":25441,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:46:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:46:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:46:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703585536001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:46:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:46:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13:46: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-28 13:46:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:46:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703585536001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:46:46] 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":707691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:46:46] local.INFO: GPS data processed {"connection_id":164713,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:46:46] local.INFO: Acknowledgment sent {"connection_id":164713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:47:11] local.INFO: TCP Data received {"connection_id":163712,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163712,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:47:11] local.INFO: Processing buffer {"connection_id":163712,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:47:11] local.INFO: IMEI packet received {"connection_id":163712,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 13:47:11] local.INFO: IMEI acknowledgment sent {"connection_id":163712,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:47:16] local.INFO: TCP Data received {"connection_id":163712,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163712,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:47:16] local.INFO: Processing buffer {"connection_id":163712,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:47:16] local.INFO: IMEI packet received {"connection_id":163712,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:47:16] local.INFO: IMEI acknowledgment sent {"connection_id":163712,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:47:17] local.INFO: TCP Data received {"connection_id":163712,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0476e63e0012d1967c0071fed70003701182e..."} 
[2026-08-28 13:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0476e63e0012d1967c0071fed70003701182e..."} 
[2026-08-28 13:47:17] local.INFO: Processing buffer {"connection_id":163712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0476e63e0012d1967c0071fed70003701182e..."} 
[2026-08-28 13:47:17] local.INFO: Packet analysis {"connection_id":163712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0476e"} 
[2026-08-28 13:47:17] local.INFO: Extracted packet for processing {"connection_id":163712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0476e"} 
[2026-08-28 13:47:17] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 13:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:47:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703626496001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:47:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 13:47:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 13:47:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:47:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787904812000,"timestamp_ms":1787904812000,"timestamp_seconds":1787904812,"priority":1,"record_length":96,"hex_timestamp":"000001a0476e63e0"} 
[2026-08-28 13:47:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:47:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-28 13:47:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:47:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:47:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:47:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:47:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:47:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:47:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:47:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:47:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:47:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:47:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703626496001,"66":13091,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 13:47:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:47:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:47:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703626496001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:47:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 13:47:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:47:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:47:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 13:47:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703626496001,"power":13091,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 13:47:17] local.INFO: DEBUG: GPS processor result {"connection_id":163712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707692,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:47:17] local.INFO: GPS data processed {"connection_id":163712,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:47:17] local.INFO: Acknowledgment sent {"connection_id":163712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:47:31] local.INFO: TCP Data received {"connection_id":163713,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:47:31] local.INFO: Processing buffer {"connection_id":163713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:47:31] local.INFO: IMEI packet received {"connection_id":163713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 13:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":163713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:47:36] local.INFO: TCP Data received {"connection_id":163713,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:47:36] local.INFO: Processing buffer {"connection_id":163713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:47:36] local.INFO: IMEI packet received {"connection_id":163713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 13:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":163713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:47:38] local.INFO: TCP Data received {"connection_id":163713,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0477038a0012d34c14006aa4840000c00e62c..."} 
[2026-08-28 13:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0477038a0012d34c14006aa4840000c00e62c..."} 
[2026-08-28 13:47:38] local.INFO: Processing buffer {"connection_id":163713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0477038a0012d34c14006aa4840000c00e62c..."} 
[2026-08-28 13:47:38] local.INFO: Packet analysis {"connection_id":163713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04770"} 
[2026-08-28 13:47:38] local.INFO: Extracted packet for processing {"connection_id":163713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04770"} 
[2026-08-28 13:47:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703585536001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787904932000,"timestamp_ms":1787904932000,"timestamp_seconds":1787904932,"priority":1,"record_length":96,"hex_timestamp":"000001a0477038a0"} 
[2026-08-28 13:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 13:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 13:47: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-28 13:47:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703585536001,"66":25441,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703585536001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:47:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:47:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13:47: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-28 13:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703585536001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:47:38] 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":707693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:47:38] local.INFO: GPS data processed {"connection_id":163713,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:47:38] local.INFO: Acknowledgment sent {"connection_id":163713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:47:49] local.INFO: TCP Data received {"connection_id":163712,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0476eb5e8012d1967c0071fed70003701182e..."} 
[2026-08-28 13:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0476eb5e8012d1967c0071fed70003701182e..."} 
[2026-08-28 13:47:49] local.INFO: Processing buffer {"connection_id":163712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0476eb5e8012d1967c0071fed70003701182e..."} 
[2026-08-28 13:47:49] local.INFO: Packet analysis {"connection_id":163712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0476e"} 
[2026-08-28 13:47:49] local.INFO: Extracted packet for processing {"connection_id":163712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0476e"} 
[2026-08-28 13:47:49] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 13: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-28 13:47:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703631872001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:47:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 13:47:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 13:47:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:47:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787904833000,"timestamp_ms":1787904833000,"timestamp_seconds":1787904833,"priority":1,"record_length":96,"hex_timestamp":"000001a0476eb5e8"} 
[2026-08-28 13: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-28 13:47:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-28 13:47:49] 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-28 13: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-28 13: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-28 13:47:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:47:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:47:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:47:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:47:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:47:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:47:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:47:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703631872001,"66":13091,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 13:47:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:47:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:47:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703631872001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:47:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 13:47:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:47:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:47:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 13:47:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703631872001,"power":13091,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 13:47:49] local.INFO: DEBUG: GPS processor result {"connection_id":163712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707694,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:47:49] local.INFO: GPS data processed {"connection_id":163712,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:47:49] local.INFO: Acknowledgment sent {"connection_id":163712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:48:11] local.INFO: TCP Data received {"connection_id":163440,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163440,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:48:11] local.INFO: Processing buffer {"connection_id":163440,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:48:11] local.INFO: IMEI packet received {"connection_id":163440,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 13:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":163440,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:48:11] local.INFO: TCP Data received {"connection_id":163713,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0477038a0012d34c14006aa4840000c00e62c..."} 
[2026-08-28 13:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0477038a0012d34c14006aa4840000c00e62c..."} 
[2026-08-28 13:48:11] local.INFO: Processing buffer {"connection_id":163713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0477038a0012d34c14006aa4840000c00e62c..."} 
[2026-08-28 13:48:11] local.INFO: Packet analysis {"connection_id":163713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04770"} 
[2026-08-28 13:48:11] local.INFO: Extracted packet for processing {"connection_id":163713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04770"} 
[2026-08-28 13:48:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:48:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703585536001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:48:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:48:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:48:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:48:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787904932000,"timestamp_ms":1787904932000,"timestamp_seconds":1787904932,"priority":1,"record_length":96,"hex_timestamp":"000001a0477038a0"} 
[2026-08-28 13:48:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:48:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 13:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 13:48: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-28 13:48:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:48:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:48:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:48:11] local.INFO: Teltonika packet parsed successfully {"connection_id":163713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:48:11] local.INFO: Passing IMEI to GPS processor {"connection_id":163713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:48:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":163713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:48:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:48:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:48:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:48:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703585536001,"66":25441,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:48:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:48:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:48:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703585536001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:48:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:48:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13:48: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-28 13:48:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:48:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703585536001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:48:11] 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":707695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:48:11] local.INFO: GPS data processed {"connection_id":163713,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:48:11] local.INFO: Acknowledgment sent {"connection_id":163713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:48:16] local.INFO: TCP Data received {"connection_id":163440,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163440,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:48:16] local.INFO: Processing buffer {"connection_id":163440,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:48:16] local.INFO: IMEI packet received {"connection_id":163440,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:48:16] local.INFO: IMEI acknowledgment sent {"connection_id":163440,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:48:17] local.INFO: TCP Data received {"connection_id":163440,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0476f07f0012d1967c0071fed70003701182e..."} 
[2026-08-28 13:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0476f07f0012d1967c0071fed70003701182e..."} 
[2026-08-28 13:48:17] local.INFO: Processing buffer {"connection_id":163440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0476f07f0012d1967c0071fed70003701182e..."} 
[2026-08-28 13:48:17] local.INFO: Packet analysis {"connection_id":163440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0476f"} 
[2026-08-28 13:48:17] local.INFO: Extracted packet for processing {"connection_id":163440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0476f"} 
[2026-08-28 13:48:17] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 13:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:48:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703637248001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:48:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 13:48:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 13:48:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:48:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787904854000,"timestamp_ms":1787904854000,"timestamp_seconds":1787904854,"priority":1,"record_length":96,"hex_timestamp":"000001a0476f07f0"} 
[2026-08-28 13:48:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:48:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-28 13:48: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-28 13:48:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:48:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:48:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:48:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:48:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:48:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:48:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:48:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:48:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:48:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703637248001,"66":13004,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 13:48:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:48:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:48:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703637248001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:48:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 13:48:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:48:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:48:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 13:48:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703637248001,"power":13004,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 13:48:18] 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":707696,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:48:18] local.INFO: GPS data processed {"connection_id":163440,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:48:18] local.INFO: Acknowledgment sent {"connection_id":163440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:48:30] local.INFO: TCP Data received {"connection_id":164714,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:48:30] local.INFO: Processing buffer {"connection_id":164714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:48:30] local.INFO: IMEI packet received {"connection_id":164714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 13:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":164714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:48:36] local.INFO: TCP Data received {"connection_id":164714,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:48:36] local.INFO: Processing buffer {"connection_id":164714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:48:36] local.INFO: IMEI packet received {"connection_id":164714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 13:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":164714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:48:37] local.INFO: TCP Data received {"connection_id":164714,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0477038a0012d34c14006aa4840000c00e62c..."} 
[2026-08-28 13:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0477038a0012d34c14006aa4840000c00e62c..."} 
[2026-08-28 13:48:37] local.INFO: Processing buffer {"connection_id":164714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0477038a0012d34c14006aa4840000c00e62c..."} 
[2026-08-28 13:48:37] local.INFO: Packet analysis {"connection_id":164714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04770"} 
[2026-08-28 13:48:37] local.INFO: Extracted packet for processing {"connection_id":164714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04770"} 
[2026-08-28 13:48:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703585536001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787904932000,"timestamp_ms":1787904932000,"timestamp_seconds":1787904932,"priority":1,"record_length":96,"hex_timestamp":"000001a0477038a0"} 
[2026-08-28 13:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 13:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 13:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703585536001,"66":25441,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703585536001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:48:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:48:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13:48: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-28 13:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703585536001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":164714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:48:37] local.INFO: GPS data processed {"connection_id":164714,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:48:37] local.INFO: Acknowledgment sent {"connection_id":164714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:48:49] local.INFO: TCP Data received {"connection_id":163440,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0476f59f8012d1967c0071fed70003701182c..."} 
[2026-08-28 13:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0476f59f8012d1967c0071fed70003701182c..."} 
[2026-08-28 13:48:49] local.INFO: Processing buffer {"connection_id":163440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0476f59f8012d1967c0071fed70003701182c..."} 
[2026-08-28 13:48:49] local.INFO: Packet analysis {"connection_id":163440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0476f"} 
[2026-08-28 13:48:49] local.INFO: Extracted packet for processing {"connection_id":163440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0476f"} 
[2026-08-28 13:48:49] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 13: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-28 13:48:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703642624001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:48:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 13:48:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 13:48:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:48:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787904875000,"timestamp_ms":1787904875000,"timestamp_seconds":1787904875,"priority":1,"record_length":96,"hex_timestamp":"000001a0476f59f8"} 
[2026-08-28 13: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-28 13:48:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-28 13:48:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13: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-28 13: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-28 13:48:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:48:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:48:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:48:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:48:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:48:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:48:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:48:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703642624001,"66":13015,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 13:48:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:48:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:48:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703642624001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:48:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 13:48:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:48:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:48:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 13:48:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703642624001,"power":13015,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 13:48:50] 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":707698,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:48:50] local.INFO: GPS data processed {"connection_id":163440,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:48:50] local.INFO: Acknowledgment sent {"connection_id":163440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:49:10] local.INFO: TCP Data received {"connection_id":164714,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0477038a0012d34c14006aa4840000c00e62c..."} 
[2026-08-28 13:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0477038a0012d34c14006aa4840000c00e62c..."} 
[2026-08-28 13:49:10] local.INFO: Processing buffer {"connection_id":164714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0477038a0012d34c14006aa4840000c00e62c..."} 
[2026-08-28 13:49:10] local.INFO: Packet analysis {"connection_id":164714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04770"} 
[2026-08-28 13:49:10] local.INFO: Extracted packet for processing {"connection_id":164714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04770"} 
[2026-08-28 13:49:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703585536001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:49:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787904932000,"timestamp_ms":1787904932000,"timestamp_seconds":1787904932,"priority":1,"record_length":96,"hex_timestamp":"000001a0477038a0"} 
[2026-08-28 13:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:49:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 13:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 13:49:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:49:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":164714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":164714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":164714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:49:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703585536001,"66":25441,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703585536001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:49:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:49:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703585536001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":164714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:49:10] local.INFO: GPS data processed {"connection_id":164714,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:49:10] local.INFO: Acknowledgment sent {"connection_id":164714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:49:11] local.INFO: TCP Data received {"connection_id":164715,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:49:11] local.INFO: Processing buffer {"connection_id":164715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:49:11] local.INFO: IMEI packet received {"connection_id":164715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 13:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":164715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:49:16] local.INFO: TCP Data received {"connection_id":164715,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:49:16] local.INFO: Processing buffer {"connection_id":164715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:49:16] local.INFO: IMEI packet received {"connection_id":164715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:49:16] local.INFO: IMEI acknowledgment sent {"connection_id":164715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:49:16] local.INFO: TCP Data received {"connection_id":166063,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 13:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166063,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 13:49:16] local.INFO: Processing buffer {"connection_id":166063,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 13:49:16] local.INFO: IMEI packet received {"connection_id":166063,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 13:49:16] local.INFO: IMEI acknowledgment sent {"connection_id":166063,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:49:18] local.INFO: TCP Data received {"connection_id":164715,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0476fac00012d1967c0071fed70003701182f..."} 
[2026-08-28 13:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0476fac00012d1967c0071fed70003701182f..."} 
[2026-08-28 13:49:18] local.INFO: Processing buffer {"connection_id":164715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0476fac00012d1967c0071fed70003701182f..."} 
[2026-08-28 13:49:18] local.INFO: Packet analysis {"connection_id":164715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0476f"} 
[2026-08-28 13:49:18] local.INFO: Extracted packet for processing {"connection_id":164715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0476f"} 
[2026-08-28 13:49:18] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":47,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 13:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:49:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703648000001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:49:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 13:49:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 13:49:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:49:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787904896000,"timestamp_ms":1787904896000,"timestamp_seconds":1787904896,"priority":1,"record_length":96,"hex_timestamp":"000001a0476fac00"} 
[2026-08-28 13:49:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:49:18] 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-28 13:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-28 13:49:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:49:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:49:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:49:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:49:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:49:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:49:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:49:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:49:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:49:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:49:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703648000001,"66":13004,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 13:49:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:49:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:49:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703648000001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:49:18] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 13:49:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:49:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:49:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 13:49:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703648000001,"power":13004,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 13:49:18] 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":707700,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:49:18] local.INFO: GPS data processed {"connection_id":164715,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:49:18] local.INFO: Acknowledgment sent {"connection_id":164715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:49:22] local.INFO: TCP Data received {"connection_id":166063,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 13:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166063,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 13:49:22] local.INFO: Processing buffer {"connection_id":166063,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 13:49:22] local.INFO: IMEI packet received {"connection_id":166063,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 13:49:22] local.INFO: IMEI acknowledgment sent {"connection_id":166063,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:49:23] local.INFO: TCP Data received {"connection_id":166063,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04771a3e8012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04771a3e8012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:49:23] local.INFO: Processing buffer {"connection_id":166063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04771a3e8012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:49:23] local.INFO: Packet analysis {"connection_id":166063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04771"} 
[2026-08-28 13:49:23] local.INFO: Extracted packet for processing {"connection_id":166063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04771"} 
[2026-08-28 13:49:23] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 13:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:49:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703637504001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:49:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 13:49:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 13:49:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:49:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787905025000,"timestamp_ms":1787905025000,"timestamp_seconds":1787905025,"priority":1,"record_length":96,"hex_timestamp":"000001a04771a3e8"} 
[2026-08-28 13:49:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:49:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 13:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-28 13:49:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:49:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:49:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:49:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:49:23] local.INFO: Teltonika packet parsed successfully {"connection_id":166063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:49:23] local.INFO: Passing IMEI to GPS processor {"connection_id":166063,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 13:49:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":166063,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 13:49:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:49:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 13:49:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 13:49:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703637504001,"66":2275,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:49:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 13:49:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 13:49:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703637504001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:49:23] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:49:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13:49:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:49:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 13:49:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703637504001,"power":2275,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 13:49:24] local.INFO: DEBUG: GPS processor result {"connection_id":166063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707701,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:49:24] local.INFO: GPS data processed {"connection_id":166063,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:49:24] local.INFO: Acknowledgment sent {"connection_id":166063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:49:36] local.INFO: TCP Data received {"connection_id":166064,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:49:36] local.INFO: Processing buffer {"connection_id":166064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:49:36] local.INFO: IMEI packet received {"connection_id":166064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 13:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":166064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:49:41] local.INFO: TCP Data received {"connection_id":166064,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:49:41] local.INFO: Processing buffer {"connection_id":166064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:49:41] local.INFO: IMEI packet received {"connection_id":166064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 13:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":166064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:49:42] local.INFO: TCP Data received {"connection_id":166064,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0477038a0012d34c14006aa4840000c00e62c..."} 
[2026-08-28 13:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0477038a0012d34c14006aa4840000c00e62c..."} 
[2026-08-28 13:49:42] local.INFO: Processing buffer {"connection_id":166064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0477038a0012d34c14006aa4840000c00e62c..."} 
[2026-08-28 13:49:42] local.INFO: Packet analysis {"connection_id":166064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04770"} 
[2026-08-28 13:49:42] local.INFO: Extracted packet for processing {"connection_id":166064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04770"} 
[2026-08-28 13:49:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703585536001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:49:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:49:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787904932000,"timestamp_ms":1787904932000,"timestamp_seconds":1787904932,"priority":1,"record_length":96,"hex_timestamp":"000001a0477038a0"} 
[2026-08-28 13:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13: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-28 13:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 13:49: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-28 13:49:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":166064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":166064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":166064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:49:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703585536001,"66":25441,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703585536001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:49:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:49:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13: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-28 13:49:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703585536001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":166064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:49:42] local.INFO: GPS data processed {"connection_id":166064,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:49:42] local.INFO: Acknowledgment sent {"connection_id":166064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:49:47] local.INFO: TCP Data received {"connection_id":166064,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0477038a0012d34c14006aa4840000c00e62c..."} 
[2026-08-28 13:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0477038a0012d34c14006aa4840000c00e62c..."} 
[2026-08-28 13:49:47] local.INFO: Processing buffer {"connection_id":166064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0477038a0012d34c14006aa4840000c00e62c..."} 
[2026-08-28 13:49:47] local.INFO: Packet analysis {"connection_id":166064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04770"} 
[2026-08-28 13:49:47] local.INFO: Extracted packet for processing {"connection_id":166064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04770"} 
[2026-08-28 13:49:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703585536001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:49:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:49:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787904932000,"timestamp_ms":1787904932000,"timestamp_seconds":1787904932,"priority":1,"record_length":96,"hex_timestamp":"000001a0477038a0"} 
[2026-08-28 13:49:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:49: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-28 13:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 13:49: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-28 13:49:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:49:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":166064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":166064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":166064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:49:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703585536001,"66":25441,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703585536001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:49:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:49:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13:49: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-28 13:49:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703585536001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":166064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:49:47] local.INFO: GPS data processed {"connection_id":166064,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:49:47] local.INFO: Acknowledgment sent {"connection_id":166064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:49:49] local.INFO: TCP Data received {"connection_id":164715,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0476ffe08012d1967c0071fed70003701182e..."} 
[2026-08-28 13:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0476ffe08012d1967c0071fed70003701182e..."} 
[2026-08-28 13:49:49] local.INFO: Processing buffer {"connection_id":164715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0476ffe08012d1967c0071fed70003701182e..."} 
[2026-08-28 13:49:49] local.INFO: Packet analysis {"connection_id":164715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0476f"} 
[2026-08-28 13:49:49] local.INFO: Extracted packet for processing {"connection_id":164715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0476f"} 
[2026-08-28 13:49:49] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 13: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-28 13:49:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703653376001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:49:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 13:49:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 13:49:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:49:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787904917000,"timestamp_ms":1787904917000,"timestamp_seconds":1787904917,"priority":1,"record_length":96,"hex_timestamp":"000001a0476ffe08"} 
[2026-08-28 13: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-28 13:49:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-28 13:49:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13: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-28 13: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-28 13:49:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:49:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:49:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:49:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:49:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:49:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:49:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:49:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703653376001,"66":12950,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 13:49:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:49:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:49:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703653376001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:49:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 13:49:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:49:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:49:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 13:49:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703653376001,"power":12950,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 13:49:50] 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":707704,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:49:50] local.INFO: GPS data processed {"connection_id":164715,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:49:50] local.INFO: Acknowledgment sent {"connection_id":164715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:49:55] local.INFO: TCP Data received {"connection_id":166063,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047726738012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047726738012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:49:55] local.INFO: Processing buffer {"connection_id":166063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047726738012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:49:55] local.INFO: Packet analysis {"connection_id":166063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04772"} 
[2026-08-28 13:49:55] local.INFO: Extracted packet for processing {"connection_id":166063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04772"} 
[2026-08-28 13:49:55] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 13:49:55] 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-28 13:49:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703686400001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:49:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 13:49:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 13:49:55] 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-28 13:49:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787905075000,"timestamp_ms":1787905075000,"timestamp_seconds":1787905075,"priority":1,"record_length":96,"hex_timestamp":"000001a047726738"} 
[2026-08-28 13:49:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:49:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 13:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-08-28 13:49:55] 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-28 13:49:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:49:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:49:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:49:55] local.INFO: Teltonika packet parsed successfully {"connection_id":166063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:49:55] local.INFO: Passing IMEI to GPS processor {"connection_id":166063,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 13:49:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":166063,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 13:49:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:49:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 13:49:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 13:49:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703686400001,"66":2296,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-28 13:49:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 13:49:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 13:49:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703686400001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:49:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:49:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 13:49:55] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457703686400001,"power":2296,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 13:49:56] local.INFO: DEBUG: GPS processor result {"connection_id":166063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707705,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:49:56] local.INFO: GPS data processed {"connection_id":166063,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:49:56] local.INFO: Acknowledgment sent {"connection_id":166063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:50:11] local.INFO: TCP Data received {"connection_id":164716,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:50:11] local.INFO: Processing buffer {"connection_id":164716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:50:11] local.INFO: IMEI packet received {"connection_id":164716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 13:50:11] local.INFO: IMEI acknowledgment sent {"connection_id":164716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:50:16] local.INFO: TCP Data received {"connection_id":164716,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:50:16] local.INFO: Processing buffer {"connection_id":164716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:50:16] local.INFO: IMEI packet received {"connection_id":164716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:50:16] local.INFO: IMEI acknowledgment sent {"connection_id":164716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:50:17] local.INFO: TCP Data received {"connection_id":164716,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047705010012d1967c0071fed70003701182b..."} 
[2026-08-28 13:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047705010012d1967c0071fed70003701182b..."} 
[2026-08-28 13:50:17] local.INFO: Processing buffer {"connection_id":164716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047705010012d1967c0071fed70003701182b..."} 
[2026-08-28 13:50:17] local.INFO: Packet analysis {"connection_id":164716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04770"} 
[2026-08-28 13:50:17] local.INFO: Extracted packet for processing {"connection_id":164716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04770"} 
[2026-08-28 13:50:17] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 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-28 13:50:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703658752001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:50:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 13:50:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 13:50:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:50:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787904938000,"timestamp_ms":1787904938000,"timestamp_seconds":1787904938,"priority":1,"record_length":96,"hex_timestamp":"000001a047705010"} 
[2026-08-28 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-28 13:50:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-28 13:50:17] 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-28 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-28 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-28 13:50:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:50:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:50:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:50:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:50:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:50:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:50:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:50:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703658752001,"66":12961,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 13:50:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:50:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:50:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703658752001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:50:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 13:50:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:50:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:50:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 13:50:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703658752001,"power":12961,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 13:50:18] local.INFO: DEBUG: GPS processor result {"connection_id":164716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707706,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:50:18] local.INFO: GPS data processed {"connection_id":164716,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:50:18] local.INFO: Acknowledgment sent {"connection_id":164716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:50:31] local.INFO: TCP Data received {"connection_id":164717,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:50:31] local.INFO: Processing buffer {"connection_id":164717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:50:31] local.INFO: IMEI packet received {"connection_id":164717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 13:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":164717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:50:35] local.INFO: TCP Data received {"connection_id":166063,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047726738012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047726738012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:50:35] local.INFO: Processing buffer {"connection_id":166063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047726738012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:50:35] local.INFO: Packet analysis {"connection_id":166063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04772"} 
[2026-08-28 13:50:35] local.INFO: Extracted packet for processing {"connection_id":166063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04772"} 
[2026-08-28 13:50:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 13:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703699200001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 13:50:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 13:50:35] 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-28 13:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787905075000,"timestamp_ms":1787905075000,"timestamp_seconds":1787905075,"priority":1,"record_length":96,"hex_timestamp":"000001a047726738"} 
[2026-08-28 13:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:50:35] 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-28 13:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-28 13:50:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2470,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:50:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":166063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":166063,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 13:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":166063,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 13:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 13:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 13:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703699200001,"66":2296,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-28 13:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 13:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 13:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703699200001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:50:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 13:50:35] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457703699200001,"power":2296,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 13:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":166063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707707,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:50:35] local.INFO: GPS data processed {"connection_id":166063,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:50:35] local.INFO: Acknowledgment sent {"connection_id":166063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:50:36] local.INFO: TCP Data received {"connection_id":164717,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:50:36] local.INFO: Processing buffer {"connection_id":164717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:50:36] local.INFO: IMEI packet received {"connection_id":164717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 13:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":164717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:50:40] local.INFO: TCP Data received {"connection_id":164717,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0477038a0012d34c14006aa4840000c00e62c..."} 
[2026-08-28 13:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0477038a0012d34c14006aa4840000c00e62c..."} 
[2026-08-28 13:50:40] local.INFO: Processing buffer {"connection_id":164717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0477038a0012d34c14006aa4840000c00e62c..."} 
[2026-08-28 13:50:40] local.INFO: Packet analysis {"connection_id":164717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04770"} 
[2026-08-28 13:50:40] local.INFO: Extracted packet for processing {"connection_id":164717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04770"} 
[2026-08-28 13:50:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:50:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703585536001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:50:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:50:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:50:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:50:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787904932000,"timestamp_ms":1787904932000,"timestamp_seconds":1787904932,"priority":1,"record_length":96,"hex_timestamp":"000001a0477038a0"} 
[2026-08-28 13:50:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:50:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 13:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 13:50:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:50:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:50:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:50:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:50:40] local.INFO: Teltonika packet parsed successfully {"connection_id":164717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:50:40] local.INFO: Passing IMEI to GPS processor {"connection_id":164717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:50:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":164717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:50:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:50:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:50:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:50:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703585536001,"66":25441,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:50:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:50:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:50:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703585536001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:50:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:50:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13:50: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-28 13:50:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:50:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703585536001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:50:40] 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":707708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:50:40] local.INFO: GPS data processed {"connection_id":164717,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:50:40] local.INFO: Acknowledgment sent {"connection_id":164717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:50:49] local.INFO: TCP Data received {"connection_id":164716,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a04770a218012d1967c0071fed70003701182e..."} 
[2026-08-28 13:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04770a218012d1967c0071fed70003701182e..."} 
[2026-08-28 13:50:49] local.INFO: Processing buffer {"connection_id":164716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04770a218012d1967c0071fed70003701182e..."} 
[2026-08-28 13:50:49] local.INFO: Packet analysis {"connection_id":164716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04770"} 
[2026-08-28 13:50:49] local.INFO: Extracted packet for processing {"connection_id":164716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04770"} 
[2026-08-28 13:50:49] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 13:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:50:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703664128001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:50:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 13:50:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 13:50:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:50:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787904959000,"timestamp_ms":1787904959000,"timestamp_seconds":1787904959,"priority":1,"record_length":96,"hex_timestamp":"000001a04770a218"} 
[2026-08-28 13:50:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:50:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-28 13:50:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:50:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:50:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:50:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:50:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:50:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:50:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:50:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:50:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:50:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:50:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703664128001,"66":12939,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 13:50:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:50:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:50:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703664128001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:50:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 13:50:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:50:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:50:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 13:50:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703664128001,"power":12939,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 13:50:49] local.INFO: DEBUG: GPS processor result {"connection_id":164716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707709,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:50:49] local.INFO: GPS data processed {"connection_id":164716,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:50:49] local.INFO: Acknowledgment sent {"connection_id":164716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:51:09] local.INFO: TCP Data received {"connection_id":166063,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047726738012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047726738012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:51:09] local.INFO: Processing buffer {"connection_id":166063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047726738012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:51:09] local.INFO: Packet analysis {"connection_id":166063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04772"} 
[2026-08-28 13:51:09] local.INFO: Extracted packet for processing {"connection_id":166063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04772"} 
[2026-08-28 13:51:09] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 13:51:09] 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-28 13:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703699200001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 13:51:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 13:51:09] 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-28 13:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787905075000,"timestamp_ms":1787905075000,"timestamp_seconds":1787905075,"priority":1,"record_length":96,"hex_timestamp":"000001a047726738"} 
[2026-08-28 13:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:51:09] 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-28 13:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-28 13:51:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2470,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:51:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":166063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":166063,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 13:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":166063,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 13:51:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 13:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 13:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703699200001,"66":2296,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-28 13:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 13:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 13:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703699200001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:51:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 13:51:09] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457703699200001,"power":2296,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 13:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":166063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707710,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:51:09] local.INFO: GPS data processed {"connection_id":166063,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:51:09] local.INFO: Acknowledgment sent {"connection_id":166063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:51:11] local.INFO: TCP Data received {"connection_id":164718,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164718,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:51:11] local.INFO: Processing buffer {"connection_id":164718,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:51:11] local.INFO: IMEI packet received {"connection_id":164718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 13:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":164718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:51:14] local.INFO: TCP Data received {"connection_id":164717,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0477038a0012d34c14006aa4840000c00e62c..."} 
[2026-08-28 13:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0477038a0012d34c14006aa4840000c00e62c..."} 
[2026-08-28 13:51:14] local.INFO: Processing buffer {"connection_id":164717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0477038a0012d34c14006aa4840000c00e62c..."} 
[2026-08-28 13:51:14] local.INFO: Packet analysis {"connection_id":164717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04770"} 
[2026-08-28 13:51:14] local.INFO: Extracted packet for processing {"connection_id":164717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04770"} 
[2026-08-28 13:51:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 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-28 13:51:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703585536001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:51:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:51:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:51:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:51:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787904932000,"timestamp_ms":1787904932000,"timestamp_seconds":1787904932,"priority":1,"record_length":96,"hex_timestamp":"000001a0477038a0"} 
[2026-08-28 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-28 13: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-28 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-28 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-28 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-28 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-28 13:51:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:51:14] local.INFO: Teltonika packet parsed successfully {"connection_id":164717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:51:14] local.INFO: Passing IMEI to GPS processor {"connection_id":164717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:51:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":164717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:51:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:51:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:51:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:51:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703585536001,"66":25441,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:51:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:51:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:51:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703585536001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:51:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:51:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 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-28 13:51:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:51:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703585536001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:51:14] 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":707711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:51:14] local.INFO: GPS data processed {"connection_id":164717,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:51:14] local.INFO: Acknowledgment sent {"connection_id":164717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:51:16] local.INFO: TCP Data received {"connection_id":164718,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164718,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:51:16] local.INFO: Processing buffer {"connection_id":164718,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:51:16] local.INFO: IMEI packet received {"connection_id":164718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:51:16] local.INFO: IMEI acknowledgment sent {"connection_id":164718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:51:18] local.INFO: TCP Data received {"connection_id":164718,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047742870012d1967c0071fed70003701182e..."} 
[2026-08-28 13:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047742870012d1967c0071fed70003701182e..."} 
[2026-08-28 13:51:18] local.INFO: Processing buffer {"connection_id":164718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047742870012d1967c0071fed70003701182e..."} 
[2026-08-28 13:51:18] local.INFO: Packet analysis {"connection_id":164718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04774"} 
[2026-08-28 13:51:18] local.INFO: Extracted packet for processing {"connection_id":164718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04774"} 
[2026-08-28 13:51:18] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 13: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-28 13:51:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703723264001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:51:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 13:51:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 13:51:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:51:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787905190000,"timestamp_ms":1787905190000,"timestamp_seconds":1787905190,"priority":1,"record_length":96,"hex_timestamp":"000001a047742870"} 
[2026-08-28 13: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-28 13:51:18] 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-28 13: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-28 13:51:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13: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-28 13: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-28 13:51:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:51:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:51:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:51:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:51:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:51:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:51:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:51:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703723264001,"66":12776,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 13:51:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:51:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:51:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703723264001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:51:18] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 13:51:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:51:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:51:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 13:51:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703723264001,"power":12776,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 13:51:18] local.INFO: DEBUG: GPS processor result {"connection_id":164718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707712,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:51:18] local.INFO: GPS data processed {"connection_id":164718,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:51:18] local.INFO: Acknowledgment sent {"connection_id":164718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:51:30] local.INFO: TCP Data received {"connection_id":163714,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:51:30] local.INFO: Processing buffer {"connection_id":163714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:51:30] local.INFO: IMEI packet received {"connection_id":163714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 13:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":163714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:51:35] local.INFO: TCP Data received {"connection_id":163714,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:51:35] local.INFO: Processing buffer {"connection_id":163714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:51:35] local.INFO: IMEI packet received {"connection_id":163714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 13:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":163714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:51:38] local.INFO: TCP Data received {"connection_id":163714,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04774d068012d34c14006aa4840000c00e62c..."} 
[2026-08-28 13:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04774d068012d34c14006aa4840000c00e62c..."} 
[2026-08-28 13:51:38] local.INFO: Processing buffer {"connection_id":163714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04774d068012d34c14006aa4840000c00e62c..."} 
[2026-08-28 13:51:38] local.INFO: Packet analysis {"connection_id":163714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04774"} 
[2026-08-28 13:51:38] local.INFO: Extracted packet for processing {"connection_id":163714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04774"} 
[2026-08-28 13:51:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703662592001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:51:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787905233000,"timestamp_ms":1787905233000,"timestamp_seconds":1787905233,"priority":1,"record_length":96,"hex_timestamp":"000001a04774d068"} 
[2026-08-28 13:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:51: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-28 13:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 13:51: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-28 13:51:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:51:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703662592001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703662592001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:51:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:51:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13:51: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-28 13:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703662592001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":163714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:51:38] local.INFO: GPS data processed {"connection_id":163714,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:51:38] local.INFO: Acknowledgment sent {"connection_id":163714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:51:41] local.INFO: TCP Data received {"connection_id":166063,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047726738012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047726738012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:51:41] local.INFO: Processing buffer {"connection_id":166063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047726738012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:51:41] local.INFO: Packet analysis {"connection_id":166063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04772"} 
[2026-08-28 13:51:41] local.INFO: Extracted packet for processing {"connection_id":166063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04772"} 
[2026-08-28 13:51:41] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 13:51:41] 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-28 13:51:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703699200001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:51:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 13:51:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 13:51:41] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-28 13:51:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787905075000,"timestamp_ms":1787905075000,"timestamp_seconds":1787905075,"priority":1,"record_length":96,"hex_timestamp":"000001a047726738"} 
[2026-08-28 13: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-28 13:51:41] 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-28 13: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":8,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-28 13:51:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2470,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13: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-28 13: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-28 13:51:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:51:41] local.INFO: Teltonika packet parsed successfully {"connection_id":166063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:51:41] local.INFO: Passing IMEI to GPS processor {"connection_id":166063,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 13:51:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":166063,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 13:51:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:51:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 13:51:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 13:51:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703699200001,"66":2296,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-28 13:51:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 13:51:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 13:51:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703699200001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:51:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:51:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 13:51:41] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457703699200001,"power":2296,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 13:51:41] local.INFO: DEBUG: GPS processor result {"connection_id":166063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707714,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:51:41] local.INFO: GPS data processed {"connection_id":166063,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:51:41] local.INFO: Acknowledgment sent {"connection_id":166063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:51:50] local.INFO: TCP Data received {"connection_id":164718,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047747a78012d1967c0071fed70003701182e..."} 
[2026-08-28 13:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047747a78012d1967c0071fed70003701182e..."} 
[2026-08-28 13:51:50] local.INFO: Processing buffer {"connection_id":164718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047747a78012d1967c0071fed70003701182e..."} 
[2026-08-28 13:51:50] local.INFO: Packet analysis {"connection_id":164718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04774"} 
[2026-08-28 13:51:50] local.INFO: Extracted packet for processing {"connection_id":164718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04774"} 
[2026-08-28 13:51:50] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 13: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-28 13:51:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703728640001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:51:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 13:51:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 13:51:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:51:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787905211000,"timestamp_ms":1787905211000,"timestamp_seconds":1787905211,"priority":1,"record_length":96,"hex_timestamp":"000001a047747a78"} 
[2026-08-28 13: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-28 13:51:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-28 13:51:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13: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-28 13: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-28 13:51:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:51:50] local.INFO: Teltonika packet parsed successfully {"connection_id":164718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:51:50] local.INFO: Passing IMEI to GPS processor {"connection_id":164718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:51:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":164718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:51:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:51:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:51:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:51:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703728640001,"66":12743,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 13:51:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:51:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:51:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703728640001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:51:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 13:51:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:51:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:51:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 13:51:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703728640001,"power":12743,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 13:51:50] local.INFO: DEBUG: GPS processor result {"connection_id":164718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707715,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:51:50] local.INFO: GPS data processed {"connection_id":164718,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:51:50] local.INFO: Acknowledgment sent {"connection_id":164718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:52:13] local.INFO: TCP Data received {"connection_id":163714,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04774d068012d34c14006aa4840000c00e62c..."} 
[2026-08-28 13:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04774d068012d34c14006aa4840000c00e62c..."} 
[2026-08-28 13:52:13] local.INFO: Processing buffer {"connection_id":163714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04774d068012d34c14006aa4840000c00e62c..."} 
[2026-08-28 13:52:13] local.INFO: Packet analysis {"connection_id":163714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04774"} 
[2026-08-28 13:52:13] local.INFO: Extracted packet for processing {"connection_id":163714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04774"} 
[2026-08-28 13:52:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:52:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:52:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703662592001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:52:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:52:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:52:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:52:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787905233000,"timestamp_ms":1787905233000,"timestamp_seconds":1787905233,"priority":1,"record_length":96,"hex_timestamp":"000001a04774d068"} 
[2026-08-28 13:52:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:52: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-28 13:52:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 13:52: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-28 13:52:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:52:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:52:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:52:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:52:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:52:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:52:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:52:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:52:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:52:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703662592001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:52:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:52:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:52:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703662592001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:52:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:52:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13:52: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-28 13:52:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:52:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703662592001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:52:13] local.INFO: DEBUG: GPS processor result {"connection_id":163714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:52:13] local.INFO: GPS data processed {"connection_id":163714,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:52:13] local.INFO: Acknowledgment sent {"connection_id":163714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:52:13] local.INFO: TCP Data received {"connection_id":164719,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164719,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:52:13] local.INFO: Processing buffer {"connection_id":164719,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:52:13] local.INFO: IMEI packet received {"connection_id":164719,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 13:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":164719,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:52:17] local.INFO: TCP Data received {"connection_id":164719,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164719,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:52:17] local.INFO: Processing buffer {"connection_id":164719,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:52:17] local.INFO: IMEI packet received {"connection_id":164719,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:52:17] local.INFO: IMEI acknowledgment sent {"connection_id":164719,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:52:21] local.INFO: TCP Data received {"connection_id":166063,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047726738012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047726738012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:52:21] local.INFO: Processing buffer {"connection_id":166063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047726738012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:52:21] local.INFO: Packet analysis {"connection_id":166063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04772"} 
[2026-08-28 13:52:21] local.INFO: Extracted packet for processing {"connection_id":166063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04772"} 
[2026-08-28 13:52:21] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 13:52:21] 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-28 13:52:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703699200001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:52:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 13:52:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 13:52:21] 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-28 13:52:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787905075000,"timestamp_ms":1787905075000,"timestamp_seconds":1787905075,"priority":1,"record_length":96,"hex_timestamp":"000001a047726738"} 
[2026-08-28 13: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-28 13:52:21] 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-28 13:52:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-28 13:52:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2470,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13: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-28 13: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-28 13:52:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:52:21] local.INFO: Teltonika packet parsed successfully {"connection_id":166063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:52:21] local.INFO: Passing IMEI to GPS processor {"connection_id":166063,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 13:52:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":166063,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 13:52:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:52:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 13:52:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 13:52:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703699200001,"66":2296,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-28 13:52:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 13:52:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 13:52:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703699200001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:52:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:52:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 13:52:21] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457703699200001,"power":2296,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 13:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":166063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707717,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:52:21] local.INFO: GPS data processed {"connection_id":166063,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:52:21] local.INFO: Acknowledgment sent {"connection_id":166063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:52:21] local.INFO: TCP Data received {"connection_id":164719,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164719,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:52:21] local.INFO: Processing buffer {"connection_id":164719,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:52:21] local.INFO: IMEI packet received {"connection_id":164719,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:52:21] local.INFO: IMEI acknowledgment sent {"connection_id":164719,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:52:22] local.INFO: TCP Data received {"connection_id":164719,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a04774cc80012d1967c0071fed70003701182e..."} 
[2026-08-28 13:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04774cc80012d1967c0071fed70003701182e..."} 
[2026-08-28 13:52:22] local.INFO: Processing buffer {"connection_id":164719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04774cc80012d1967c0071fed70003701182e..."} 
[2026-08-28 13:52:22] local.INFO: Packet analysis {"connection_id":164719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04774"} 
[2026-08-28 13:52:22] local.INFO: Extracted packet for processing {"connection_id":164719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04774"} 
[2026-08-28 13:52:22] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 13:52:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:52:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703734016001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:52:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 13:52:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 13:52:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:52:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787905232000,"timestamp_ms":1787905232000,"timestamp_seconds":1787905232,"priority":1,"record_length":96,"hex_timestamp":"000001a04774cc80"} 
[2026-08-28 13:52:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:52:22] 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-28 13:52:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-28 13:52:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:52:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:52:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:52:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:52:22] local.INFO: Teltonika packet parsed successfully {"connection_id":164719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:52:22] local.INFO: Passing IMEI to GPS processor {"connection_id":164719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:52:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":164719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:52:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:52:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:52:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:52:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703734016001,"66":12722,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 13:52:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:52:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:52:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703734016001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:52:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 13:52:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:52:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:52:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 13:52:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703734016001,"power":12722,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 13:52:23] 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":707718,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:52:23] local.INFO: GPS data processed {"connection_id":164719,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:52:23] local.INFO: Acknowledgment sent {"connection_id":164719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:52:27] local.INFO: TCP Data received {"connection_id":164719,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047751e88012d1967c0071fed70003701182b..."} 
[2026-08-28 13:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047751e88012d1967c0071fed70003701182b..."} 
[2026-08-28 13:52:27] local.INFO: Processing buffer {"connection_id":164719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047751e88012d1967c0071fed70003701182b..."} 
[2026-08-28 13:52:27] local.INFO: Packet analysis {"connection_id":164719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04775"} 
[2026-08-28 13:52:27] local.INFO: Extracted packet for processing {"connection_id":164719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04775"} 
[2026-08-28 13:52:27] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 13:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703739392001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:52:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 13:52:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 13:52:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:52:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787905253000,"timestamp_ms":1787905253000,"timestamp_seconds":1787905253,"priority":1,"record_length":96,"hex_timestamp":"000001a047751e88"} 
[2026-08-28 13:52:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:52:27] 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-28 13:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-28 13:52:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:52:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:52:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:52:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:52:27] local.INFO: Teltonika packet parsed successfully {"connection_id":164719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:52:27] local.INFO: Passing IMEI to GPS processor {"connection_id":164719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:52:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":164719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:52:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:52:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:52:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:52:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703739392001,"66":12689,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 13:52:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:52:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:52:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703739392001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:52:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 13:52:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:52:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:52:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 13:52:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703739392001,"power":12689,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 13:52:27] 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":707719,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:52:27] local.INFO: GPS data processed {"connection_id":164719,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:52:27] local.INFO: Acknowledgment sent {"connection_id":164719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:52:31] local.INFO: TCP Data received {"connection_id":166065,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:52:31] local.INFO: Processing buffer {"connection_id":166065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:52:31] local.INFO: IMEI packet received {"connection_id":166065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 13:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":166065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:52:36] local.INFO: TCP Data received {"connection_id":166065,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:52:36] local.INFO: Processing buffer {"connection_id":166065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:52:36] local.INFO: IMEI packet received {"connection_id":166065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 13:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":166065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:52:38] local.INFO: TCP Data received {"connection_id":166065,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04774d068012d34c14006aa4840000c00e62c..."} 
[2026-08-28 13:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04774d068012d34c14006aa4840000c00e62c..."} 
[2026-08-28 13:52:38] local.INFO: Processing buffer {"connection_id":166065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04774d068012d34c14006aa4840000c00e62c..."} 
[2026-08-28 13:52:38] local.INFO: Packet analysis {"connection_id":166065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04774"} 
[2026-08-28 13:52:38] local.INFO: Extracted packet for processing {"connection_id":166065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04774"} 
[2026-08-28 13:52:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703662592001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787905233000,"timestamp_ms":1787905233000,"timestamp_seconds":1787905233,"priority":1,"record_length":96,"hex_timestamp":"000001a04774d068"} 
[2026-08-28 13:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 13:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 13:52: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-28 13:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":166065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":166065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":166065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703662592001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703662592001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:52:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:52:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13:52: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-28 13:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703662592001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":166065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:52:38] local.INFO: GPS data processed {"connection_id":166065,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:52:38] local.INFO: Acknowledgment sent {"connection_id":166065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:52:55] local.INFO: TCP Data received {"connection_id":166063,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047726738012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047726738012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:52:55] local.INFO: Processing buffer {"connection_id":166063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047726738012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:52:55] local.INFO: Packet analysis {"connection_id":166063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04772"} 
[2026-08-28 13:52:55] local.INFO: Extracted packet for processing {"connection_id":166063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04772"} 
[2026-08-28 13:52:55] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 13:52:55] 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-28 13:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703699200001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 13:52:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 13:52:55] 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-28 13:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787905075000,"timestamp_ms":1787905075000,"timestamp_seconds":1787905075,"priority":1,"record_length":96,"hex_timestamp":"000001a047726738"} 
[2026-08-28 13:52:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:52:55] 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-28 13:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-28 13:52:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2470,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:52:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:52:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":166063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":166063,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 13:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":166063,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 13:52:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 13:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 13:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703699200001,"66":2296,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-28 13:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 13:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 13:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703699200001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:52:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 13:52:55] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457703699200001,"power":2296,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 13:52:55] local.INFO: DEBUG: GPS processor result {"connection_id":166063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707721,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:52:55] local.INFO: GPS data processed {"connection_id":166063,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:52:55] local.INFO: Acknowledgment sent {"connection_id":166063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:53:11] local.INFO: TCP Data received {"connection_id":164720,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164720,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:53:11] local.INFO: Processing buffer {"connection_id":164720,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:53:11] local.INFO: IMEI packet received {"connection_id":164720,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 13:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":164720,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:53:13] local.INFO: TCP Data received {"connection_id":166065,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04774d068012d34c14006aa4840000c00e62c..."} 
[2026-08-28 13:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04774d068012d34c14006aa4840000c00e62c..."} 
[2026-08-28 13:53:13] local.INFO: Processing buffer {"connection_id":166065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04774d068012d34c14006aa4840000c00e62c..."} 
[2026-08-28 13:53:13] local.INFO: Packet analysis {"connection_id":166065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04774"} 
[2026-08-28 13:53:13] local.INFO: Extracted packet for processing {"connection_id":166065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04774"} 
[2026-08-28 13:53:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13: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-28 13:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703662592001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:53:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:53:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787905233000,"timestamp_ms":1787905233000,"timestamp_seconds":1787905233,"priority":1,"record_length":96,"hex_timestamp":"000001a04774d068"} 
[2026-08-28 13: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-28 13: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-28 13: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":97,"data_length":795,"current_offset":136} 
[2026-08-28 13:53: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-28 13: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-28 13: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-28 13:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":166065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":166065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":166065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:53:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703662592001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703662592001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:53:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:53:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13: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-28 13:53:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:53:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703662592001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":166065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:53:13] local.INFO: GPS data processed {"connection_id":166065,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:53:13] local.INFO: Acknowledgment sent {"connection_id":166065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:53:16] local.INFO: TCP Data received {"connection_id":164720,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164720,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:53:16] local.INFO: Processing buffer {"connection_id":164720,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:53:16] local.INFO: IMEI packet received {"connection_id":164720,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:53:16] local.INFO: IMEI acknowledgment sent {"connection_id":164720,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:53:17] local.INFO: TCP Data received {"connection_id":164720,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047757090012d1967c0071fed70003701182c..."} 
[2026-08-28 13:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047757090012d1967c0071fed70003701182c..."} 
[2026-08-28 13:53:17] local.INFO: Processing buffer {"connection_id":164720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047757090012d1967c0071fed70003701182c..."} 
[2026-08-28 13:53:17] local.INFO: Packet analysis {"connection_id":164720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04775"} 
[2026-08-28 13:53:17] local.INFO: Extracted packet for processing {"connection_id":164720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04775"} 
[2026-08-28 13:53:17] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 13:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:53:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703744768001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:53:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 13:53:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 13:53:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:53:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787905274000,"timestamp_ms":1787905274000,"timestamp_seconds":1787905274,"priority":1,"record_length":96,"hex_timestamp":"000001a047757090"} 
[2026-08-28 13:53:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:53:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-28 13:53:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:53: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-28 13:53:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:53:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:53:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:53:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:53:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:53:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:53:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:53:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:53:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703744768001,"66":12645,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 13:53:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:53:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:53:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703744768001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:53:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 13:53:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:53:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:53:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 13:53:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703744768001,"power":12645,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 13:53:18] 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":707723,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:53:18] local.INFO: GPS data processed {"connection_id":164720,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:53:18] local.INFO: Acknowledgment sent {"connection_id":164720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:53:30] local.INFO: TCP Data received {"connection_id":163441,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:53:30] local.INFO: Processing buffer {"connection_id":163441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:53:30] local.INFO: IMEI packet received {"connection_id":163441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 13:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":163441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:53:31] local.INFO: TCP Data received {"connection_id":166063,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047726738012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047726738012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:53:31] local.INFO: Processing buffer {"connection_id":166063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047726738012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:53:31] local.INFO: Packet analysis {"connection_id":166063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04772"} 
[2026-08-28 13:53:31] local.INFO: Extracted packet for processing {"connection_id":166063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04772"} 
[2026-08-28 13:53:31] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 13:53:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:53:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703699200001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:53:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 13:53:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 13:53: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-28 13:53:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787905075000,"timestamp_ms":1787905075000,"timestamp_seconds":1787905075,"priority":1,"record_length":96,"hex_timestamp":"000001a047726738"} 
[2026-08-28 13:53:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:53:31] 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-28 13:53:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-28 13:53:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2470,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:53:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:53:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:53:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:53:31] local.INFO: Teltonika packet parsed successfully {"connection_id":166063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:53:31] local.INFO: Passing IMEI to GPS processor {"connection_id":166063,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 13:53:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":166063,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 13:53:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:53:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 13:53:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 13:53:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703699200001,"66":2296,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-28 13:53:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 13:53:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 13:53:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703699200001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:53:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:53:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 13:53:31] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457703699200001,"power":2296,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 13:53:31] local.INFO: DEBUG: GPS processor result {"connection_id":166063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707724,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:53:31] local.INFO: GPS data processed {"connection_id":166063,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:53:31] local.INFO: Acknowledgment sent {"connection_id":166063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:53:35] local.INFO: TCP Data received {"connection_id":163441,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:53:35] local.INFO: Processing buffer {"connection_id":163441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:53:35] local.INFO: IMEI packet received {"connection_id":163441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 13:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":163441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:53:37] local.INFO: TCP Data received {"connection_id":163441,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04774d068012d34c14006aa4840000c00e62c..."} 
[2026-08-28 13:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04774d068012d34c14006aa4840000c00e62c..."} 
[2026-08-28 13:53:37] local.INFO: Processing buffer {"connection_id":163441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04774d068012d34c14006aa4840000c00e62c..."} 
[2026-08-28 13:53:37] local.INFO: Packet analysis {"connection_id":163441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04774"} 
[2026-08-28 13:53:37] local.INFO: Extracted packet for processing {"connection_id":163441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04774"} 
[2026-08-28 13:53:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703662592001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787905233000,"timestamp_ms":1787905233000,"timestamp_seconds":1787905233,"priority":1,"record_length":96,"hex_timestamp":"000001a04774d068"} 
[2026-08-28 13:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 13:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 13:53:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703662592001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703662592001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:53:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:53:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13:53: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-28 13:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703662592001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:53:37] 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":707725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:53:37] local.INFO: GPS data processed {"connection_id":163441,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:53:37] local.INFO: Acknowledgment sent {"connection_id":163441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:53:49] local.INFO: TCP Data received {"connection_id":164720,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a04775c298012d1967c0071fed70003701182b..."} 
[2026-08-28 13:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04775c298012d1967c0071fed70003701182b..."} 
[2026-08-28 13:53:49] local.INFO: Processing buffer {"connection_id":164720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04775c298012d1967c0071fed70003701182b..."} 
[2026-08-28 13:53:49] local.INFO: Packet analysis {"connection_id":164720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04775"} 
[2026-08-28 13:53:49] local.INFO: Extracted packet for processing {"connection_id":164720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04775"} 
[2026-08-28 13:53:49] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 13:53: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-28 13:53:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703750144001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:53:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 13:53:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 13:53:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:53:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787905295000,"timestamp_ms":1787905295000,"timestamp_seconds":1787905295,"priority":1,"record_length":96,"hex_timestamp":"000001a04775c298"} 
[2026-08-28 13:53:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:53:49] 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-28 13:53:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-28 13:53:49] 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-28 13:53: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-28 13:53:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:53:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:53:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:53:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:53:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:53:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:53:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:53:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:53:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703750144001,"66":12689,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 13:53:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:53:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:53:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703750144001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:53:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 13:53:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:53:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:53:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 13:53:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703750144001,"power":12689,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 13:53:49] 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":707726,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:53:49] local.INFO: GPS data processed {"connection_id":164720,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:53:49] local.INFO: Acknowledgment sent {"connection_id":164720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:54:04] local.INFO: TCP Data received {"connection_id":166063,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0477758d8012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0477758d8012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:54:04] local.INFO: Processing buffer {"connection_id":166063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0477758d8012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:54:04] local.INFO: Packet analysis {"connection_id":166063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04777"} 
[2026-08-28 13:54:04] local.INFO: Extracted packet for processing {"connection_id":166063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04777"} 
[2026-08-28 13:54:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 13:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703699200001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 13:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 13:54:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787905399000,"timestamp_ms":1787905399000,"timestamp_seconds":1787905399,"priority":1,"record_length":96,"hex_timestamp":"000001a0477758d8"} 
[2026-08-28 13:54:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:54:04] 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-28 13:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-28 13:54:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2470,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:54:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:54:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":166063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":166063,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 13:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":166063,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 13:54:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 13:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 13:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703699200001,"66":2177,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 13:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 13:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703699200001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:54:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:54:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 13:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703699200001,"power":2177,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 13:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":166063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707727,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:54:04] local.INFO: GPS data processed {"connection_id":166063,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:54:04] local.INFO: Acknowledgment sent {"connection_id":166063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:54:11] local.INFO: TCP Data received {"connection_id":163442,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163442,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:54:11] local.INFO: Processing buffer {"connection_id":163442,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:54:11] local.INFO: IMEI packet received {"connection_id":163442,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 13:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":163442,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:54:11] local.INFO: TCP Data received {"connection_id":163441,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04774d068012d34c14006aa4840000c00e62c..."} 
[2026-08-28 13:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04774d068012d34c14006aa4840000c00e62c..."} 
[2026-08-28 13:54:11] local.INFO: Processing buffer {"connection_id":163441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04774d068012d34c14006aa4840000c00e62c..."} 
[2026-08-28 13:54:11] local.INFO: Packet analysis {"connection_id":163441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04774"} 
[2026-08-28 13:54:11] local.INFO: Extracted packet for processing {"connection_id":163441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04774"} 
[2026-08-28 13:54:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:54:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703662592001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:54:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:54:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:54:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:54:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787905233000,"timestamp_ms":1787905233000,"timestamp_seconds":1787905233,"priority":1,"record_length":96,"hex_timestamp":"000001a04774d068"} 
[2026-08-28 13:54:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:54: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-28 13:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 13:54: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-28 13:54:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:54:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:54:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:54:11] local.INFO: Teltonika packet parsed successfully {"connection_id":163441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:54:11] local.INFO: Passing IMEI to GPS processor {"connection_id":163441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:54:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":163441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:54:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:54:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:54:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:54:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703662592001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:54:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:54:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:54:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703662592001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:54:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:54:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13:54: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-28 13:54:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:54:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703662592001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:54:11] 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":707728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:54:11] local.INFO: GPS data processed {"connection_id":163441,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:54:11] local.INFO: Acknowledgment sent {"connection_id":163441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:54:16] local.INFO: TCP Data received {"connection_id":163442,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163442,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:54:16] local.INFO: Processing buffer {"connection_id":163442,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:54:16] local.INFO: IMEI packet received {"connection_id":163442,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:54:16] local.INFO: IMEI acknowledgment sent {"connection_id":163442,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:54:17] local.INFO: TCP Data received {"connection_id":163442,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0477614a0012d1967c0071fed70003701182c..."} 
[2026-08-28 13:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0477614a0012d1967c0071fed70003701182c..."} 
[2026-08-28 13:54:17] local.INFO: Processing buffer {"connection_id":163442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0477614a0012d1967c0071fed70003701182c..."} 
[2026-08-28 13:54:17] local.INFO: Packet analysis {"connection_id":163442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04776"} 
[2026-08-28 13:54:17] local.INFO: Extracted packet for processing {"connection_id":163442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04776"} 
[2026-08-28 13:54:17] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 13:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:54:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703755520001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:54:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 13:54:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 13:54:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:54:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787905316000,"timestamp_ms":1787905316000,"timestamp_seconds":1787905316,"priority":1,"record_length":96,"hex_timestamp":"000001a0477614a0"} 
[2026-08-28 13:54:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:54:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-28 13:54:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:54:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:54:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:54:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:54:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:54:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:54:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:54:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:54:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:54:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:54:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703755520001,"66":12645,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 13:54:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:54:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:54:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703755520001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:54:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 13:54:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:54:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:54:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 13:54:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703755520001,"power":12645,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 13:54:18] 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":707729,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:54:18] local.INFO: GPS data processed {"connection_id":163442,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:54:18] local.INFO: Acknowledgment sent {"connection_id":163442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:54:36] local.INFO: TCP Data received {"connection_id":164721,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:54:36] local.INFO: Processing buffer {"connection_id":164721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:54:36] local.INFO: IMEI packet received {"connection_id":164721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 13:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":164721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:54:37] local.INFO: TCP Data received {"connection_id":166063,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0477758d8012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0477758d8012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:54:37] local.INFO: Processing buffer {"connection_id":166063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0477758d8012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:54:37] local.INFO: Packet analysis {"connection_id":166063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04777"} 
[2026-08-28 13:54:37] local.INFO: Extracted packet for processing {"connection_id":166063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04777"} 
[2026-08-28 13:54:37] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 13:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703699200001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 13:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 13:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787905399000,"timestamp_ms":1787905399000,"timestamp_seconds":1787905399,"priority":1,"record_length":96,"hex_timestamp":"000001a0477758d8"} 
[2026-08-28 13:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:54:37] 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-28 13:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-28 13:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2470,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:54:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":166063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":166063,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 13:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":166063,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 13:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 13:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 13:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703699200001,"66":2177,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 13:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 13:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703699200001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:54:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:54:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 13:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703699200001,"power":2177,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 13:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":166063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707730,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:54:37] local.INFO: GPS data processed {"connection_id":166063,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:54:37] local.INFO: Acknowledgment sent {"connection_id":166063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:54:41] local.INFO: TCP Data received {"connection_id":164721,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:54:41] local.INFO: Processing buffer {"connection_id":164721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:54:41] local.INFO: IMEI packet received {"connection_id":164721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 13:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":164721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:54:42] local.INFO: TCP Data received {"connection_id":164721,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04774d068012d34c14006aa4840000c00e62c..."} 
[2026-08-28 13:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04774d068012d34c14006aa4840000c00e62c..."} 
[2026-08-28 13:54:42] local.INFO: Processing buffer {"connection_id":164721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04774d068012d34c14006aa4840000c00e62c..."} 
[2026-08-28 13:54:42] local.INFO: Packet analysis {"connection_id":164721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04774"} 
[2026-08-28 13:54:42] local.INFO: Extracted packet for processing {"connection_id":164721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04774"} 
[2026-08-28 13:54:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13: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-28 13:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703662592001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:54:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:54:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787905233000,"timestamp_ms":1787905233000,"timestamp_seconds":1787905233,"priority":1,"record_length":96,"hex_timestamp":"000001a04774d068"} 
[2026-08-28 13: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-28 13:54: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-28 13: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":97,"data_length":795,"current_offset":136} 
[2026-08-28 13:54: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-28 13: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-28 13: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-28 13:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":164721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":164721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":164721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:54:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703662592001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703662592001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:54:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:54:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13: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-28 13:54:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703662592001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:54:42] 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":707731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:54:42] local.INFO: GPS data processed {"connection_id":164721,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:54:42] local.INFO: Acknowledgment sent {"connection_id":164721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:54:48] local.INFO: TCP Data received {"connection_id":163442,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0477666a8012d1967c0071fed70003701182d..."} 
[2026-08-28 13:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0477666a8012d1967c0071fed70003701182d..."} 
[2026-08-28 13:54:48] local.INFO: Processing buffer {"connection_id":163442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0477666a8012d1967c0071fed70003701182d..."} 
[2026-08-28 13:54:48] local.INFO: Packet analysis {"connection_id":163442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04776"} 
[2026-08-28 13:54:48] local.INFO: Extracted packet for processing {"connection_id":163442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04776"} 
[2026-08-28 13:54:48] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 13:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:54:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703760896001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:54:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 13:54:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 13:54:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:54:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787905337000,"timestamp_ms":1787905337000,"timestamp_seconds":1787905337,"priority":1,"record_length":96,"hex_timestamp":"000001a0477666a8"} 
[2026-08-28 13:54:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:54:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-28 13:54:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:54:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:54:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:54:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:54:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:54:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:54:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:54:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:54:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:54:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:54:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703760896001,"66":12667,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 13:54:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:54:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:54:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703760896001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:54:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 13:54:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:54:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:54:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 13:54:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703760896001,"power":12667,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 13:54:48] 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":707732,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:54:48] local.INFO: GPS data processed {"connection_id":163442,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:54:48] local.INFO: Acknowledgment sent {"connection_id":163442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:54:57] local.INFO: TCP Data received {"connection_id":163443,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 13:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163443,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 13:54:57] local.INFO: Processing buffer {"connection_id":163443,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 13:54:57] local.INFO: IMEI packet received {"connection_id":163443,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 13:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":163443,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:55:02] local.INFO: TCP Data received {"connection_id":163443,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 13:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163443,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 13:55:02] local.INFO: Processing buffer {"connection_id":163443,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 13:55:02] local.INFO: IMEI packet received {"connection_id":163443,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 13:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":163443,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:55:04] local.INFO: TCP Data received {"connection_id":163443,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0477758d8012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0477758d8012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:55:04] local.INFO: Processing buffer {"connection_id":163443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0477758d8012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:55:04] local.INFO: Packet analysis {"connection_id":163443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04777"} 
[2026-08-28 13:55:04] local.INFO: Extracted packet for processing {"connection_id":163443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04777"} 
[2026-08-28 13:55:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 13:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703699200001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 13:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 13:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787905399000,"timestamp_ms":1787905399000,"timestamp_seconds":1787905399,"priority":1,"record_length":96,"hex_timestamp":"000001a0477758d8"} 
[2026-08-28 13:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:55:04] 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-28 13:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-28 13:55:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2470,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:55:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":163443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":163443,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 13:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":163443,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 13:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 13:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 13:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703699200001,"66":2177,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 13:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 13:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703699200001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:55:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:55:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 13:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703699200001,"power":2177,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 13:55:04] 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":707733,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:55:04] local.INFO: GPS data processed {"connection_id":163443,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:55:04] local.INFO: Acknowledgment sent {"connection_id":163443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:55:09] local.INFO: TCP Data received {"connection_id":163443,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0477758d8012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0477758d8012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:55:09] local.INFO: Processing buffer {"connection_id":163443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0477758d8012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:55:09] local.INFO: Packet analysis {"connection_id":163443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04777"} 
[2026-08-28 13:55:09] local.INFO: Extracted packet for processing {"connection_id":163443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04777"} 
[2026-08-28 13:55:09] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 13:55:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703699200001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 13:55:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 13:55:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787905399000,"timestamp_ms":1787905399000,"timestamp_seconds":1787905399,"priority":1,"record_length":96,"hex_timestamp":"000001a0477758d8"} 
[2026-08-28 13:55:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:55:09] 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-28 13:55:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-28 13:55:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2470,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:55:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:55:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163443,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 13:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163443,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 13:55:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 13:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 13:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703699200001,"66":2177,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 13:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 13:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703699200001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:55:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:55:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13:55:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:55:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 13:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703699200001,"power":2177,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 13:55:09] 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":707734,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:55:09] local.INFO: GPS data processed {"connection_id":163443,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:55:09] local.INFO: Acknowledgment sent {"connection_id":163443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:55:11] local.INFO: TCP Data received {"connection_id":164722,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:55:11] local.INFO: Processing buffer {"connection_id":164722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:55:11] local.INFO: IMEI packet received {"connection_id":164722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 13:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":164722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:55:15] local.INFO: TCP Data received {"connection_id":164721,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04774d068012d34c14006aa4840000c00e62c..."} 
[2026-08-28 13:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04774d068012d34c14006aa4840000c00e62c..."} 
[2026-08-28 13:55:15] local.INFO: Processing buffer {"connection_id":164721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04774d068012d34c14006aa4840000c00e62c..."} 
[2026-08-28 13:55:15] local.INFO: Packet analysis {"connection_id":164721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04774"} 
[2026-08-28 13:55:15] local.INFO: Extracted packet for processing {"connection_id":164721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04774"} 
[2026-08-28 13:55:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13: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-28 13:55:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703662592001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:55:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:55:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:55:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:55:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787905233000,"timestamp_ms":1787905233000,"timestamp_seconds":1787905233,"priority":1,"record_length":96,"hex_timestamp":"000001a04774d068"} 
[2026-08-28 13: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-28 13: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-28 13: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":97,"data_length":795,"current_offset":136} 
[2026-08-28 13:55: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-28 13: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-28 13: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-28 13:55:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:55:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:55:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:55:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:55:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:55:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:55:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:55:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703662592001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:55:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:55:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:55:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703662592001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:55:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:55:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13: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-28 13:55:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:55:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703662592001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:55:15] 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":707735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:55:15] local.INFO: GPS data processed {"connection_id":164721,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:55:15] local.INFO: Acknowledgment sent {"connection_id":164721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:55:16] local.INFO: TCP Data received {"connection_id":164722,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:55:16] local.INFO: Processing buffer {"connection_id":164722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:55:16] local.INFO: IMEI packet received {"connection_id":164722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:55:16] local.INFO: IMEI acknowledgment sent {"connection_id":164722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:55:17] local.INFO: TCP Data received {"connection_id":164722,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a04776b8b0012d1967c0071fed70003701182d..."} 
[2026-08-28 13:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04776b8b0012d1967c0071fed70003701182d..."} 
[2026-08-28 13:55:17] local.INFO: Processing buffer {"connection_id":164722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04776b8b0012d1967c0071fed70003701182d..."} 
[2026-08-28 13:55:17] local.INFO: Packet analysis {"connection_id":164722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04776"} 
[2026-08-28 13:55:17] local.INFO: Extracted packet for processing {"connection_id":164722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04776"} 
[2026-08-28 13:55:17] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 13:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703766272001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:55:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 13:55:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 13:55:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:55:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787905358000,"timestamp_ms":1787905358000,"timestamp_seconds":1787905358,"priority":1,"record_length":96,"hex_timestamp":"000001a04776b8b0"} 
[2026-08-28 13:55:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:55:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-28 13:55: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-28 13:55:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:55:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:55:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:55:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:55:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:55:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:55:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703766272001,"66":12667,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 13:55:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:55:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:55:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703766272001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:55:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 13:55:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:55:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:55:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 13:55:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703766272001,"power":12667,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 13:55:17] 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":707736,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:55:17] local.INFO: GPS data processed {"connection_id":164722,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:55:17] local.INFO: Acknowledgment sent {"connection_id":164722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:55:30] local.INFO: TCP Data received {"connection_id":166066,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:55:30] local.INFO: Processing buffer {"connection_id":166066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:55:30] local.INFO: IMEI packet received {"connection_id":166066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 13:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":166066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:55:36] local.INFO: TCP Data received {"connection_id":166066,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:55:36] local.INFO: Processing buffer {"connection_id":166066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:55:36] local.INFO: IMEI packet received {"connection_id":166066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 13:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":166066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:55:37] local.INFO: TCP Data received {"connection_id":166066,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04774d068012d34c14006aa4840000c00e62c..."} 
[2026-08-28 13:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04774d068012d34c14006aa4840000c00e62c..."} 
[2026-08-28 13:55:37] local.INFO: Processing buffer {"connection_id":166066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04774d068012d34c14006aa4840000c00e62c..."} 
[2026-08-28 13:55:37] local.INFO: Packet analysis {"connection_id":166066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04774"} 
[2026-08-28 13:55:37] local.INFO: Extracted packet for processing {"connection_id":166066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04774"} 
[2026-08-28 13:55:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703662592001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787905233000,"timestamp_ms":1787905233000,"timestamp_seconds":1787905233,"priority":1,"record_length":96,"hex_timestamp":"000001a04774d068"} 
[2026-08-28 13:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 13:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 13:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":166066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":166066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":166066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703662592001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703662592001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:55:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:55:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13:55: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-28 13:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703662592001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":166066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:55:38] local.INFO: GPS data processed {"connection_id":166066,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:55:38] local.INFO: Acknowledgment sent {"connection_id":166066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:55:41] local.INFO: TCP Data received {"connection_id":163443,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0477758d8012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0477758d8012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:55:41] local.INFO: Processing buffer {"connection_id":163443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0477758d8012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:55:41] local.INFO: Packet analysis {"connection_id":163443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04777"} 
[2026-08-28 13:55:41] local.INFO: Extracted packet for processing {"connection_id":163443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04777"} 
[2026-08-28 13:55:41] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 13:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703699200001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 13:55:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 13:55:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787905399000,"timestamp_ms":1787905399000,"timestamp_seconds":1787905399,"priority":1,"record_length":96,"hex_timestamp":"000001a0477758d8"} 
[2026-08-28 13:55:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:55:41] 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-28 13:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-28 13:55:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2470,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:55:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:55:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":163443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":163443,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 13:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":163443,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 13:55:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 13:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 13:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703699200001,"66":2177,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 13:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 13:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703699200001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:55:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:55:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:55:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 13:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703699200001,"power":2177,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 13:55:42] 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":707738,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:55:42] local.INFO: GPS data processed {"connection_id":163443,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:55:42] local.INFO: Acknowledgment sent {"connection_id":163443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:55:49] local.INFO: TCP Data received {"connection_id":164722,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047770ab8012d1967c0071fed70003701182d..."} 
[2026-08-28 13:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047770ab8012d1967c0071fed70003701182d..."} 
[2026-08-28 13:55:49] local.INFO: Processing buffer {"connection_id":164722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047770ab8012d1967c0071fed70003701182d..."} 
[2026-08-28 13:55:49] local.INFO: Packet analysis {"connection_id":164722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04777"} 
[2026-08-28 13:55:49] local.INFO: Extracted packet for processing {"connection_id":164722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04777"} 
[2026-08-28 13:55:49] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 13: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-28 13:55:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703771648001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:55:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 13:55:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 13:55:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:55:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787905379000,"timestamp_ms":1787905379000,"timestamp_seconds":1787905379,"priority":1,"record_length":96,"hex_timestamp":"000001a047770ab8"} 
[2026-08-28 13: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-28 13:55:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-28 13:55:49] 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-28 13: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-28 13: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-28 13:55:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:55:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:55:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:55:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:55:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:55:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:55:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:55:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703771648001,"66":12591,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 13:55:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:55:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:55:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703771648001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:55:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 13:55:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:55:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:55:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 13:55:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703771648001,"power":12591,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 13:55:49] 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":707739,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:55:49] local.INFO: GPS data processed {"connection_id":164722,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:55:49] local.INFO: Acknowledgment sent {"connection_id":164722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:55:56] local.INFO: TCP Data received {"connection_id":163444,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 13:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163444,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 13:55:56] local.INFO: Processing buffer {"connection_id":163444,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 13:55:56] local.INFO: IMEI packet received {"connection_id":163444,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 13:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":163444,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:56:02] local.INFO: TCP Data received {"connection_id":163444,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 13:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163444,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 13:56:02] local.INFO: Processing buffer {"connection_id":163444,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 13:56:02] local.INFO: IMEI packet received {"connection_id":163444,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 13:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":163444,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:56:04] local.INFO: TCP Data received {"connection_id":163444,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0477758d8012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0477758d8012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:56:04] local.INFO: Processing buffer {"connection_id":163444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0477758d8012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:56:04] local.INFO: Packet analysis {"connection_id":163444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04777"} 
[2026-08-28 13:56:04] local.INFO: Extracted packet for processing {"connection_id":163444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04777"} 
[2026-08-28 13:56:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 13:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703699200001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 13:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 13:56:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787905399000,"timestamp_ms":1787905399000,"timestamp_seconds":1787905399,"priority":1,"record_length":96,"hex_timestamp":"000001a0477758d8"} 
[2026-08-28 13:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:56:04] 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-28 13:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-28 13:56:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2470,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:56:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":163444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":163444,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 13:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":163444,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 13:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 13:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 13:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703699200001,"66":2177,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 13:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 13:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703699200001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:56:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:56:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 13:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703699200001,"power":2177,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 13:56:04] 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":707740,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:56:04] local.INFO: GPS data processed {"connection_id":163444,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:56:04] local.INFO: Acknowledgment sent {"connection_id":163444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:56:10] local.INFO: TCP Data received {"connection_id":166066,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04774d068012d34c14006aa4840000c00e62c..."} 
[2026-08-28 13:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04774d068012d34c14006aa4840000c00e62c..."} 
[2026-08-28 13:56:10] local.INFO: Processing buffer {"connection_id":166066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04774d068012d34c14006aa4840000c00e62c..."} 
[2026-08-28 13:56:10] local.INFO: Packet analysis {"connection_id":166066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04774"} 
[2026-08-28 13:56:10] local.INFO: Extracted packet for processing {"connection_id":166066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04774"} 
[2026-08-28 13:56:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703662592001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:56:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787905233000,"timestamp_ms":1787905233000,"timestamp_seconds":1787905233,"priority":1,"record_length":96,"hex_timestamp":"000001a04774d068"} 
[2026-08-28 13:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:56:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 13:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 13:56:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:56:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":166066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":166066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":166066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:56:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703662592001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703662592001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:56:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:56:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703662592001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":166066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:56:10] local.INFO: GPS data processed {"connection_id":166066,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:56:10] local.INFO: Acknowledgment sent {"connection_id":166066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:56:11] local.INFO: TCP Data received {"connection_id":163715,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:56:11] local.INFO: Processing buffer {"connection_id":163715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:56:11] local.INFO: IMEI packet received {"connection_id":163715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 13:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":163715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:56:16] local.INFO: TCP Data received {"connection_id":163715,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:56:16] local.INFO: Processing buffer {"connection_id":163715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:56:16] local.INFO: IMEI packet received {"connection_id":163715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:56:16] local.INFO: IMEI acknowledgment sent {"connection_id":163715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:56:17] local.INFO: TCP Data received {"connection_id":163715,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047775cc0012d1967c0071fed70003701182d..."} 
[2026-08-28 13:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047775cc0012d1967c0071fed70003701182d..."} 
[2026-08-28 13:56:17] local.INFO: Processing buffer {"connection_id":163715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047775cc0012d1967c0071fed70003701182d..."} 
[2026-08-28 13:56:17] local.INFO: Packet analysis {"connection_id":163715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04777"} 
[2026-08-28 13:56:17] local.INFO: Extracted packet for processing {"connection_id":163715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04777"} 
[2026-08-28 13:56:17] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 13:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:56:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703777024001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:56:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 13:56:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 13:56:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:56:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787905400000,"timestamp_ms":1787905400000,"timestamp_seconds":1787905400,"priority":1,"record_length":96,"hex_timestamp":"000001a047775cc0"} 
[2026-08-28 13:56:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:56:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-28 13:56:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:56:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:56:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:56:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:56:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:56:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:56:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:56:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:56:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:56:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:56:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703777024001,"66":12287,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 13:56:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:56:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:56:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703777024001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:56:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 13:56:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:56:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:56:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 13:56:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703777024001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 13:56:17] 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":707742,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:56:17] local.INFO: GPS data processed {"connection_id":163715,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:56:17] local.INFO: Acknowledgment sent {"connection_id":163715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:56:31] local.INFO: TCP Data received {"connection_id":163445,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:56:31] local.INFO: Processing buffer {"connection_id":163445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:56:31] local.INFO: IMEI packet received {"connection_id":163445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 13:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":163445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:56:36] local.INFO: TCP Data received {"connection_id":163444,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0477758d8012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0477758d8012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:56:36] local.INFO: Processing buffer {"connection_id":163444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0477758d8012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:56:36] local.INFO: Packet analysis {"connection_id":163444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04777"} 
[2026-08-28 13:56:36] local.INFO: Extracted packet for processing {"connection_id":163444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04777"} 
[2026-08-28 13:56:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 13:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703699200001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 13:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 13:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787905399000,"timestamp_ms":1787905399000,"timestamp_seconds":1787905399,"priority":1,"record_length":96,"hex_timestamp":"000001a0477758d8"} 
[2026-08-28 13:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:56:36] 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-28 13:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-28 13:56:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2470,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:56:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163444,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 13:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163444,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 13:56:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 13:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 13:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703699200001,"66":2177,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 13:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 13:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703699200001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:56:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:56:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 13:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703699200001,"power":2177,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 13:56:36] 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":707743,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:56:36] local.INFO: GPS data processed {"connection_id":163444,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:56:36] local.INFO: Acknowledgment sent {"connection_id":163444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:56:36] local.INFO: TCP Data received {"connection_id":163445,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:56:36] local.INFO: Processing buffer {"connection_id":163445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:56:36] local.INFO: IMEI packet received {"connection_id":163445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 13:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":163445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:56:37] local.INFO: TCP Data received {"connection_id":163445,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047796830012d34c14006aa4840000b00e62b..."} 
[2026-08-28 13:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047796830012d34c14006aa4840000b00e62b..."} 
[2026-08-28 13:56:37] local.INFO: Processing buffer {"connection_id":163445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047796830012d34c14006aa4840000b00e62b..."} 
[2026-08-28 13:56:37] local.INFO: Packet analysis {"connection_id":163445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04779"} 
[2026-08-28 13:56:37] local.INFO: Extracted packet for processing {"connection_id":163445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04779"} 
[2026-08-28 13:56:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703739648001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787905534000,"timestamp_ms":1787905534000,"timestamp_seconds":1787905534,"priority":1,"record_length":96,"hex_timestamp":"000001a047796830"} 
[2026-08-28 13:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 13:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 13:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703739648001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703739648001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:56:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:56:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13:56: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-28 13:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703739648001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:56:37] 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":707744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:56:37] local.INFO: GPS data processed {"connection_id":163445,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:56:37] local.INFO: Acknowledgment sent {"connection_id":163445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:56:49] local.INFO: TCP Data received {"connection_id":163715,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a04777aec8012d1967c0071fed70003701182d..."} 
[2026-08-28 13:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04777aec8012d1967c0071fed70003701182d..."} 
[2026-08-28 13:56:49] local.INFO: Processing buffer {"connection_id":163715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04777aec8012d1967c0071fed70003701182d..."} 
[2026-08-28 13:56:49] local.INFO: Packet analysis {"connection_id":163715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04777"} 
[2026-08-28 13:56:49] local.INFO: Extracted packet for processing {"connection_id":163715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04777"} 
[2026-08-28 13:56:49] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 13:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:56:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703782400001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:56:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 13:56:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 13:56:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:56:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787905421000,"timestamp_ms":1787905421000,"timestamp_seconds":1787905421,"priority":1,"record_length":96,"hex_timestamp":"000001a04777aec8"} 
[2026-08-28 13:56:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:56:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 13:56:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:56:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:56:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:56:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:56:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:56:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:56:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:56:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:56:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:56:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:56:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703782400001,"66":12580,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 13:56:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:56:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:56:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703782400001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:56:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 13:56:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:56:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:56:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 13:56:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703782400001,"power":12580,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 13:56:49] 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":707745,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:56:49] local.INFO: GPS data processed {"connection_id":163715,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:56:49] local.INFO: Acknowledgment sent {"connection_id":163715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:56:56] local.INFO: TCP Data received {"connection_id":166067,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 13:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166067,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 13:56:56] local.INFO: Processing buffer {"connection_id":166067,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 13:56:56] local.INFO: IMEI packet received {"connection_id":166067,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 13:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":166067,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:57:02] local.INFO: TCP Data received {"connection_id":166067,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 13:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166067,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 13:57:02] local.INFO: Processing buffer {"connection_id":166067,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 13:57:02] local.INFO: IMEI packet received {"connection_id":166067,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 13:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":166067,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:57:03] local.INFO: TCP Data received {"connection_id":166067,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0477758d8012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0477758d8012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:57:03] local.INFO: Processing buffer {"connection_id":166067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0477758d8012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:57:03] local.INFO: Packet analysis {"connection_id":166067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04777"} 
[2026-08-28 13:57:03] local.INFO: Extracted packet for processing {"connection_id":166067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04777"} 
[2026-08-28 13:57:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 13:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703699200001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 13:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 13:57:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787905399000,"timestamp_ms":1787905399000,"timestamp_seconds":1787905399,"priority":1,"record_length":96,"hex_timestamp":"000001a0477758d8"} 
[2026-08-28 13:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:57:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 13:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-28 13:57:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2470,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:57:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":166067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":166067,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 13:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":166067,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 13:57:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 13:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 13:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703699200001,"66":2177,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 13:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 13:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703699200001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:57:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:57:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 13:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703699200001,"power":2177,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 13:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":166067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707746,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:57:03] local.INFO: GPS data processed {"connection_id":166067,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:57:03] local.INFO: Acknowledgment sent {"connection_id":166067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:57:09] local.INFO: TCP Data received {"connection_id":163445,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047796830012d34c14006aa4840000b00e62b..."} 
[2026-08-28 13:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047796830012d34c14006aa4840000b00e62b..."} 
[2026-08-28 13:57:09] local.INFO: Processing buffer {"connection_id":163445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047796830012d34c14006aa4840000b00e62b..."} 
[2026-08-28 13:57:09] local.INFO: Packet analysis {"connection_id":163445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04779"} 
[2026-08-28 13:57:09] local.INFO: Extracted packet for processing {"connection_id":163445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04779"} 
[2026-08-28 13:57:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703739648001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:57:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:57:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787905534000,"timestamp_ms":1787905534000,"timestamp_seconds":1787905534,"priority":1,"record_length":96,"hex_timestamp":"000001a047796830"} 
[2026-08-28 13:57:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:57: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-28 13:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 13:57: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-28 13:57:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:57:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:57:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703739648001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703739648001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:57:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:57:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13:57: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-28 13:57:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703739648001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:57:09] 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":707747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:57:09] local.INFO: GPS data processed {"connection_id":163445,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:57:09] local.INFO: Acknowledgment sent {"connection_id":163445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:57:16] local.INFO: TCP Data received {"connection_id":164723,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:57:16] local.INFO: Processing buffer {"connection_id":164723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:57:16] local.INFO: IMEI packet received {"connection_id":164723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 13:57:16] local.INFO: IMEI acknowledgment sent {"connection_id":164723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:57:21] local.INFO: TCP Data received {"connection_id":164723,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:57:21] local.INFO: Processing buffer {"connection_id":164723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:57:21] local.INFO: IMEI packet received {"connection_id":164723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:57:21] local.INFO: IMEI acknowledgment sent {"connection_id":164723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:57:23] local.INFO: TCP Data received {"connection_id":164723,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0477800d0012d1967c0071fed70003701182c..."} 
[2026-08-28 13:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0477800d0012d1967c0071fed70003701182c..."} 
[2026-08-28 13:57:23] local.INFO: Processing buffer {"connection_id":164723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0477800d0012d1967c0071fed70003701182c..."} 
[2026-08-28 13:57:23] local.INFO: Packet analysis {"connection_id":164723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04778"} 
[2026-08-28 13:57:23] local.INFO: Extracted packet for processing {"connection_id":164723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04778"} 
[2026-08-28 13:57:23] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 13:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:57:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703787776001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:57:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 13:57:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 13:57:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:57:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787905442000,"timestamp_ms":1787905442000,"timestamp_seconds":1787905442,"priority":1,"record_length":96,"hex_timestamp":"000001a0477800d0"} 
[2026-08-28 13:57:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:57:23] 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-28 13:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-08-28 13:57:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:57:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:57:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:57:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:57:23] local.INFO: Teltonika packet parsed successfully {"connection_id":164723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:57:23] local.INFO: Passing IMEI to GPS processor {"connection_id":164723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:57:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":164723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:57:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:57:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:57:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:57:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703787776001,"66":12580,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 13:57:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:57:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:57:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703787776001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:57:23] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 13:57:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:57:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:57:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 13:57:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703787776001,"power":12580,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 13:57:23] 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":707748,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:57:23] local.INFO: GPS data processed {"connection_id":164723,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:57:23] local.INFO: Acknowledgment sent {"connection_id":164723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:57:27] local.INFO: TCP Data received {"connection_id":164723,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0477852d8012d1967c0071fed70003701182c..."} 
[2026-08-28 13:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0477852d8012d1967c0071fed70003701182c..."} 
[2026-08-28 13:57:27] local.INFO: Processing buffer {"connection_id":164723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0477852d8012d1967c0071fed70003701182c..."} 
[2026-08-28 13:57:27] local.INFO: Packet analysis {"connection_id":164723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04778"} 
[2026-08-28 13:57:27] local.INFO: Extracted packet for processing {"connection_id":164723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04778"} 
[2026-08-28 13:57:27] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 13:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:57:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703793152001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:57:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 13:57:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 13:57:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:57:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787905463000,"timestamp_ms":1787905463000,"timestamp_seconds":1787905463,"priority":1,"record_length":96,"hex_timestamp":"000001a0477852d8"} 
[2026-08-28 13:57:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:57:27] 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-28 13:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-08-28 13:57:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:57:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:57:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:57:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:57:27] local.INFO: Teltonika packet parsed successfully {"connection_id":164723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:57:27] local.INFO: Passing IMEI to GPS processor {"connection_id":164723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:57:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":164723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:57:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:57:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:57:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:57:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703793152001,"66":12558,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 13:57:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:57:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:57:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703793152001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:57:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 13:57:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:57:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:57:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 13:57:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703793152001,"power":12558,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 13:57:27] 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":707749,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:57:27] local.INFO: GPS data processed {"connection_id":164723,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:57:27] local.INFO: Acknowledgment sent {"connection_id":164723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:57:30] local.INFO: TCP Data received {"connection_id":164724,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:57:30] local.INFO: Processing buffer {"connection_id":164724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:57:30] local.INFO: IMEI packet received {"connection_id":164724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 13:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":164724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:57:35] local.INFO: TCP Data received {"connection_id":166067,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0477758d8012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0477758d8012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:57:35] local.INFO: Processing buffer {"connection_id":166067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0477758d8012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:57:35] local.INFO: Packet analysis {"connection_id":166067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04777"} 
[2026-08-28 13:57:35] local.INFO: Extracted packet for processing {"connection_id":166067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04777"} 
[2026-08-28 13:57:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 13:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703699200001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 13:57:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 13:57:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787905399000,"timestamp_ms":1787905399000,"timestamp_seconds":1787905399,"priority":1,"record_length":96,"hex_timestamp":"000001a0477758d8"} 
[2026-08-28 13:57:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:57:35] 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-28 13:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-28 13:57:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2470,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:57:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:57:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":166067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":166067,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 13:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":166067,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 13:57:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 13:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 13:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703699200001,"66":2177,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 13:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 13:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703699200001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:57:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:57:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:57:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 13:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703699200001,"power":2177,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 13:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":166067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707750,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:57:35] local.INFO: GPS data processed {"connection_id":166067,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:57:35] local.INFO: Acknowledgment sent {"connection_id":166067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:57:36] local.INFO: TCP Data received {"connection_id":164724,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:57:36] local.INFO: Processing buffer {"connection_id":164724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:57:36] local.INFO: IMEI packet received {"connection_id":164724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 13:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":164724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:57:39] local.INFO: TCP Data received {"connection_id":164724,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047796830012d34c14006aa4840000b00e62b..."} 
[2026-08-28 13:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047796830012d34c14006aa4840000b00e62b..."} 
[2026-08-28 13:57:39] local.INFO: Processing buffer {"connection_id":164724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047796830012d34c14006aa4840000b00e62b..."} 
[2026-08-28 13:57:39] local.INFO: Packet analysis {"connection_id":164724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04779"} 
[2026-08-28 13:57:39] local.INFO: Extracted packet for processing {"connection_id":164724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04779"} 
[2026-08-28 13:57:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:57:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703739648001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:57:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:57:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:57:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:57:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787905534000,"timestamp_ms":1787905534000,"timestamp_seconds":1787905534,"priority":1,"record_length":96,"hex_timestamp":"000001a047796830"} 
[2026-08-28 13:57:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:57:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 13:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 13:57:39] 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-28 13:57:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:57:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:57:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:57:39] local.INFO: Teltonika packet parsed successfully {"connection_id":164724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:57:39] local.INFO: Passing IMEI to GPS processor {"connection_id":164724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:57:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":164724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:57:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:57:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:57:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:57:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703739648001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:57:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:57:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:57:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703739648001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:57:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:57:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13:57:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:57:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:57:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703739648001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:57:39] 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":707751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:57:39] local.INFO: GPS data processed {"connection_id":164724,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:57:39] local.INFO: Acknowledgment sent {"connection_id":164724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:58:02] local.INFO: TCP Data received {"connection_id":163446,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 13:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163446,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 13:58:02] local.INFO: Processing buffer {"connection_id":163446,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 13:58:02] local.INFO: IMEI packet received {"connection_id":163446,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 13:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":163446,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:58:07] local.INFO: TCP Data received {"connection_id":163446,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 13:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163446,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 13:58:07] local.INFO: Processing buffer {"connection_id":163446,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 13:58:07] local.INFO: IMEI packet received {"connection_id":163446,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 13:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":163446,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:58:08] local.INFO: TCP Data received {"connection_id":163446,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0477758d8012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0477758d8012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:58:08] local.INFO: Processing buffer {"connection_id":163446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0477758d8012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:58:08] local.INFO: Packet analysis {"connection_id":163446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04777"} 
[2026-08-28 13:58:08] local.INFO: Extracted packet for processing {"connection_id":163446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04777"} 
[2026-08-28 13:58:08] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 13:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703699200001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 13:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 13:58:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787905399000,"timestamp_ms":1787905399000,"timestamp_seconds":1787905399,"priority":1,"record_length":96,"hex_timestamp":"000001a0477758d8"} 
[2026-08-28 13:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:58:08] 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-28 13:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-28 13:58:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2470,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:58:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163446,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 13:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163446,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 13:58:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 13:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 13:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703699200001,"66":2177,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 13:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 13:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703699200001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:58:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:58:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 13:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703699200001,"power":2177,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 13:58:08] 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":707752,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:58:08] local.INFO: GPS data processed {"connection_id":163446,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:58:08] local.INFO: Acknowledgment sent {"connection_id":163446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:58:10] local.INFO: TCP Data received {"connection_id":166068,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166068,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:58:10] local.INFO: Processing buffer {"connection_id":166068,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:58:10] local.INFO: IMEI packet received {"connection_id":166068,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 13:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":166068,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:58:11] local.INFO: TCP Data received {"connection_id":166068,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166068,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:58:11] local.INFO: Processing buffer {"connection_id":166068,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:58:11] local.INFO: IMEI packet received {"connection_id":166068,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:58:11] local.INFO: IMEI acknowledgment sent {"connection_id":166068,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:58:13] local.INFO: TCP Data received {"connection_id":164724,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047796830012d34c14006aa4840000b00e62b..."} 
[2026-08-28 13:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047796830012d34c14006aa4840000b00e62b..."} 
[2026-08-28 13:58:13] local.INFO: Processing buffer {"connection_id":164724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047796830012d34c14006aa4840000b00e62b..."} 
[2026-08-28 13:58:13] local.INFO: Packet analysis {"connection_id":164724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04779"} 
[2026-08-28 13:58:13] local.INFO: Extracted packet for processing {"connection_id":164724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04779"} 
[2026-08-28 13:58:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13: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-28 13:58:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703739648001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:58:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:58:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:58:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:58:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787905534000,"timestamp_ms":1787905534000,"timestamp_seconds":1787905534,"priority":1,"record_length":96,"hex_timestamp":"000001a047796830"} 
[2026-08-28 13: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-28 13:58: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-28 13: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":129,"data_length":795,"current_offset":136} 
[2026-08-28 13:58:13] 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-28 13: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-28 13: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-28 13:58:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:58:13] local.INFO: Teltonika packet parsed successfully {"connection_id":164724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:58:13] local.INFO: Passing IMEI to GPS processor {"connection_id":164724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:58:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":164724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:58:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:58:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:58:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:58:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703739648001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:58:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:58:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:58:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703739648001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:58:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:58:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13: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-28 13:58:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:58:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703739648001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:58:13] 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":707753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:58:13] local.INFO: GPS data processed {"connection_id":164724,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:58:13] local.INFO: Acknowledgment sent {"connection_id":164724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:58:15] local.INFO: TCP Data received {"connection_id":163446,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0477758d8012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0477758d8012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:58:15] local.INFO: Processing buffer {"connection_id":163446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0477758d8012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:58:15] local.INFO: Packet analysis {"connection_id":163446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04777"} 
[2026-08-28 13:58:15] local.INFO: Extracted packet for processing {"connection_id":163446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04777"} 
[2026-08-28 13:58:15] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 13:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:58:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703699200001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:58:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 13:58:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 13:58:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:58:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787905399000,"timestamp_ms":1787905399000,"timestamp_seconds":1787905399,"priority":1,"record_length":96,"hex_timestamp":"000001a0477758d8"} 
[2026-08-28 13:58:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:58:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 13:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-28 13:58:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2470,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13: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-28 13:58:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:58:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:58:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:58:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163446,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 13:58:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163446,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 13:58:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:58:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 13:58:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 13:58:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703699200001,"66":2177,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:58:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 13:58:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 13:58:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703699200001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:58:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:58:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13:58:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:58:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 13:58:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703699200001,"power":2177,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 13:58:15] 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":707754,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:58:15] local.INFO: GPS data processed {"connection_id":163446,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:58:15] local.INFO: Acknowledgment sent {"connection_id":163446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:58:16] local.INFO: TCP Data received {"connection_id":166068,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166068,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:58:16] local.INFO: Processing buffer {"connection_id":166068,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:58:16] local.INFO: IMEI packet received {"connection_id":166068,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:58:16] local.INFO: IMEI acknowledgment sent {"connection_id":166068,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:58:17] local.INFO: TCP Data received {"connection_id":166068,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a04778a4e0012d1967c0071fed70003701182b..."} 
[2026-08-28 13:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04778a4e0012d1967c0071fed70003701182b..."} 
[2026-08-28 13:58:17] local.INFO: Processing buffer {"connection_id":166068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04778a4e0012d1967c0071fed70003701182b..."} 
[2026-08-28 13:58:17] local.INFO: Packet analysis {"connection_id":166068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04778"} 
[2026-08-28 13:58:17] local.INFO: Extracted packet for processing {"connection_id":166068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04778"} 
[2026-08-28 13:58:17] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 13: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-28 13:58:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703798528001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:58:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 13:58:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 13:58:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:58:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787905484000,"timestamp_ms":1787905484000,"timestamp_seconds":1787905484,"priority":1,"record_length":96,"hex_timestamp":"000001a04778a4e0"} 
[2026-08-28 13: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-28 13:58:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-28 13:58:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-08-28 13:58:17] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249742680575438192,"note":"Value kept but may cause issues"} 
[2026-08-28 13:58:17] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3983540279,"note":"Value kept but may cause issues"} 
[2026-08-28 13:58:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-08-28 13:58:17] local.WARNING: Large IO value detected {"io_id":184,"raw_value":2952867097,"note":"Value kept but may cause issues"} 
[2026-08-28 13:58:17] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692397,"note":"Value kept but may cause issues"} 
[2026-08-28 13:58:17] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2390032384,"note":"Value kept but may cause issues"} 
[2026-08-28 13:58:17] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-08-28 13:58:17] local.WARNING: Large IO value detected {"io_id":64,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-28 13:58:17] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-08-28 13:58:17] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,121,28,24,241,158,16,142,160,45,192,237,55,44,10,66,174,92,1,240,255,71,31,4,113,205,184,103,112,239,49,2,56,7,231,64,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-08-28 13:58:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3963475724320374784,"timestamp_seconds":3963475724320375.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 13: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-28 13:58:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:58:17] local.INFO: Teltonika packet parsed successfully {"connection_id":166068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:58:17] local.INFO: Passing IMEI to GPS processor {"connection_id":166068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:58:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":166068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:58:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:58:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:58:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:58:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703798528001,"66":12591,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 13:58:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:58:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:58:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703798528001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:58:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 13:58:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:58:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:58:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 13:58:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703798528001,"power":12591,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 13:58:17] local.INFO: DEBUG: GPS processor result {"connection_id":166068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707755,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:58:17] local.INFO: GPS data processed {"connection_id":166068,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:58:17] local.INFO: Acknowledgment sent {"connection_id":166068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:58:36] local.INFO: TCP Data received {"connection_id":163447,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:58:36] local.INFO: Processing buffer {"connection_id":163447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:58:36] local.INFO: IMEI packet received {"connection_id":163447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 13:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":163447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:58:41] local.INFO: TCP Data received {"connection_id":163447,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:58:41] local.INFO: Processing buffer {"connection_id":163447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:58:41] local.INFO: IMEI packet received {"connection_id":163447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 13:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":163447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:58:43] local.INFO: TCP Data received {"connection_id":163447,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047796830012d34c14006aa4840000b00e62b..."} 
[2026-08-28 13:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047796830012d34c14006aa4840000b00e62b..."} 
[2026-08-28 13:58:43] local.INFO: Processing buffer {"connection_id":163447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047796830012d34c14006aa4840000b00e62b..."} 
[2026-08-28 13:58:43] local.INFO: Packet analysis {"connection_id":163447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04779"} 
[2026-08-28 13:58:43] local.INFO: Extracted packet for processing {"connection_id":163447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04779"} 
[2026-08-28 13:58:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13: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-28 13:58:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703739648001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:58:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:58:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:58:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:58:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787905534000,"timestamp_ms":1787905534000,"timestamp_seconds":1787905534,"priority":1,"record_length":96,"hex_timestamp":"000001a047796830"} 
[2026-08-28 13: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-28 13: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-28 13: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":129,"data_length":795,"current_offset":136} 
[2026-08-28 13:58: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-28 13: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-28 13: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-28 13:58:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:58:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:58:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:58:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:58:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:58:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:58:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:58:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703739648001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:58:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:58:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:58:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703739648001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:58:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:58:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13: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-28 13:58:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:58:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703739648001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:58:43] 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":707756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:58:43] local.INFO: GPS data processed {"connection_id":163447,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:58:43] local.INFO: Acknowledgment sent {"connection_id":163447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:58:49] local.INFO: TCP Data received {"connection_id":163447,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047796830012d34c14006aa4840000b00e62b..."} 
[2026-08-28 13:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047796830012d34c14006aa4840000b00e62b..."} 
[2026-08-28 13:58:49] local.INFO: Processing buffer {"connection_id":163447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047796830012d34c14006aa4840000b00e62b..."} 
[2026-08-28 13:58:49] local.INFO: Packet analysis {"connection_id":163447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04779"} 
[2026-08-28 13:58:49] local.INFO: Extracted packet for processing {"connection_id":163447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04779"} 
[2026-08-28 13:58:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:58:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703739648001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:58:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:58:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:58:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:58:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787905534000,"timestamp_ms":1787905534000,"timestamp_seconds":1787905534,"priority":1,"record_length":96,"hex_timestamp":"000001a047796830"} 
[2026-08-28 13:58:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:58: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-28 13:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 13:58: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-28 13:58:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:58:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:58:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:58:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:58:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:58:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:58:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:58:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:58:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:58:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703739648001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:58:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:58:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:58:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703739648001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:58:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:58:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13:58: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-28 13:58:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:58:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703739648001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:58:49] 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":707757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:58:49] local.INFO: GPS data processed {"connection_id":163447,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:58:49] local.INFO: Acknowledgment sent {"connection_id":163447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:58:49] local.INFO: TCP Data received {"connection_id":166068,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a04778f6e8012d1967c0071fed70003701182e..."} 
[2026-08-28 13:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04778f6e8012d1967c0071fed70003701182e..."} 
[2026-08-28 13:58:49] local.INFO: Processing buffer {"connection_id":166068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04778f6e8012d1967c0071fed70003701182e..."} 
[2026-08-28 13:58:49] local.INFO: Packet analysis {"connection_id":166068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04778"} 
[2026-08-28 13:58:49] local.INFO: Extracted packet for processing {"connection_id":166068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04778"} 
[2026-08-28 13:58:49] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 13:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:58:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703803904001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:58:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 13:58:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 13:58:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:58:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787905505000,"timestamp_ms":1787905505000,"timestamp_seconds":1787905505,"priority":1,"record_length":96,"hex_timestamp":"000001a04778f6e8"} 
[2026-08-28 13:58:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:58:49] 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-28 13:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-28 13:58:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:58:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:58:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:58:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:58:49] local.INFO: Teltonika packet parsed successfully {"connection_id":166068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:58:49] local.INFO: Passing IMEI to GPS processor {"connection_id":166068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:58:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":166068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:58:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:58:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:58:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:58:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703803904001,"66":12580,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 13:58:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:58:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:58:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703803904001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:58:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 13:58:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:58:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:58:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 13:58:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703803904001,"power":12580,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 13:58:49] local.INFO: DEBUG: GPS processor result {"connection_id":166068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707758,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:58:49] local.INFO: GPS data processed {"connection_id":166068,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:58:49] local.INFO: Acknowledgment sent {"connection_id":166068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:58:57] local.INFO: TCP Data received {"connection_id":163448,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 13:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163448,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 13:58:57] local.INFO: Processing buffer {"connection_id":163448,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 13:58:57] local.INFO: IMEI packet received {"connection_id":163448,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 13:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":163448,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:58:58] local.INFO: TCP Data received {"connection_id":163448,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 13:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163448,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 13:58:58] local.INFO: Processing buffer {"connection_id":163448,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 13:58:58] local.INFO: IMEI packet received {"connection_id":163448,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 13:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":163448,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:59:00] local.INFO: TCP Data received {"connection_id":163448,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0477bf0a0012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0477bf0a0012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:59:00] local.INFO: Processing buffer {"connection_id":163448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0477bf0a0012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:59:00] local.INFO: Packet analysis {"connection_id":163448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0477b"} 
[2026-08-28 13:59:00] local.INFO: Extracted packet for processing {"connection_id":163448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0477b"} 
[2026-08-28 13:59:00] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 13:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:59:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703782144001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:59:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 13:59:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 13:59:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:59:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787905700000,"timestamp_ms":1787905700000,"timestamp_seconds":1787905700,"priority":1,"record_length":96,"hex_timestamp":"000001a0477bf0a0"} 
[2026-08-28 13:59:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:59:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 13:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 13:59:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:59:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:59:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:59:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:59:00] local.INFO: Teltonika packet parsed successfully {"connection_id":163448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:59:00] local.INFO: Passing IMEI to GPS processor {"connection_id":163448,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 13:59:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":163448,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 13:59:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:59:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 13:59:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 13:59:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703782144001,"66":2198,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:59:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 13:59:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 13:59:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703782144001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:59:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:59:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13:59:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:59:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 13:59:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703782144001,"power":2198,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 13:59:00] 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":707759,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:59:00] local.INFO: GPS data processed {"connection_id":163448,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:59:00] local.INFO: Acknowledgment sent {"connection_id":163448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:59:11] local.INFO: TCP Data received {"connection_id":163449,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163449,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:59:11] local.INFO: Processing buffer {"connection_id":163449,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:59:11] local.INFO: IMEI packet received {"connection_id":163449,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 13:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":163449,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:59:13] local.INFO: TCP Data received {"connection_id":163449,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163449,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:59:13] local.INFO: Processing buffer {"connection_id":163449,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:59:13] local.INFO: IMEI packet received {"connection_id":163449,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:59:13] local.INFO: IMEI acknowledgment sent {"connection_id":163449,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:59:16] local.INFO: TCP Data received {"connection_id":163449,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163449,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:59:16] local.INFO: Processing buffer {"connection_id":163449,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 13:59:16] local.INFO: IMEI packet received {"connection_id":163449,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 13:59:16] local.INFO: IMEI acknowledgment sent {"connection_id":163449,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:59:18] local.INFO: TCP Data received {"connection_id":163449,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0477948f0012d1967c0071fed70003701182e..."} 
[2026-08-28 13:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0477948f0012d1967c0071fed70003701182e..."} 
[2026-08-28 13:59:18] local.INFO: Processing buffer {"connection_id":163449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0477948f0012d1967c0071fed70003701182e..."} 
[2026-08-28 13:59:18] local.INFO: Packet analysis {"connection_id":163449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04779"} 
[2026-08-28 13:59:18] local.INFO: Extracted packet for processing {"connection_id":163449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04779"} 
[2026-08-28 13:59:18] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 13:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:59:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703809280001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:59:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 13:59:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 13:59:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:59:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787905526000,"timestamp_ms":1787905526000,"timestamp_seconds":1787905526,"priority":1,"record_length":96,"hex_timestamp":"000001a0477948f0"} 
[2026-08-28 13:59:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:59:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-08-28 13:59:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:59:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:59:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:59:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:59:18] local.INFO: Teltonika packet parsed successfully {"connection_id":163449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:59:18] local.INFO: Passing IMEI to GPS processor {"connection_id":163449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:59:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":163449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:59:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:59:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:59:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:59:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703809280001,"66":12548,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 13:59:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:59:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:59:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703809280001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:59:18] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 13:59:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:59:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:59:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 13:59:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703809280001,"power":12548,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 13:59:18] 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":707760,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:59:18] local.INFO: GPS data processed {"connection_id":163449,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:59:18] local.INFO: Acknowledgment sent {"connection_id":163449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:59:22] local.INFO: TCP Data received {"connection_id":163449,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047799af8012d1967c0071fed70003701182d..."} 
[2026-08-28 13:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047799af8012d1967c0071fed70003701182d..."} 
[2026-08-28 13:59:22] local.INFO: Processing buffer {"connection_id":163449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047799af8012d1967c0071fed70003701182d..."} 
[2026-08-28 13:59:22] local.INFO: Packet analysis {"connection_id":163449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04779"} 
[2026-08-28 13:59:22] local.INFO: Extracted packet for processing {"connection_id":163449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04779"} 
[2026-08-28 13:59:22] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 13:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703814656001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:59:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 13:59:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 13:59:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:59:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787905547000,"timestamp_ms":1787905547000,"timestamp_seconds":1787905547,"priority":1,"record_length":96,"hex_timestamp":"000001a047799af8"} 
[2026-08-28 13:59:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:59:22] 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-28 13:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-28 13:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-28 13:59:22] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":59393,"corrected_to":0} 
[2026-08-28 13:59:22] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184179925197,"note":"Value kept but may cause issues"} 
[2026-08-28 13:59:22] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3983540279,"note":"Value kept but may cause issues"} 
[2026-08-28 13:59:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-08-28 13:59:22] local.WARNING: Large IO value detected {"io_id":174,"raw_value":3355520281,"note":"Value kept but may cause issues"} 
[2026-08-28 13:59:22] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692397,"note":"Value kept but may cause issues"} 
[2026-08-28 13:59:22] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2390032384,"note":"Value kept but may cause issues"} 
[2026-08-28 13:59:22] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-08-28 13:59:22] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,121,28,24,241,158,16,142,160,246,45,192,237,55,46,10,66,164,43,82,1,240,14,71,31,4,113,205,174,103,112,239,49,2,56,7,231],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":246,"original":59393,"validated":0},{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-08-28 13:59:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3963475732910309376,"timestamp_seconds":3963475732910309.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 13:59:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:59:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:59:22] local.INFO: Teltonika packet parsed successfully {"connection_id":163449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:59:22] local.INFO: Passing IMEI to GPS processor {"connection_id":163449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:59:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":163449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:59:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:59:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:59:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:59:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703814656001,"66":12548,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 13:59:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:59:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:59:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703814656001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:59:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 13:59:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:59:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:59:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 13:59:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703814656001,"power":12548,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 13:59:22] 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":707761,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:59:22] local.INFO: GPS data processed {"connection_id":163449,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:59:22] local.INFO: Acknowledgment sent {"connection_id":163449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:59:31] local.INFO: TCP Data received {"connection_id":163716,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:59:31] local.INFO: Processing buffer {"connection_id":163716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:59:31] local.INFO: IMEI packet received {"connection_id":163716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 13:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":163716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 13:59:34] local.INFO: TCP Data received {"connection_id":163448,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0477bf0a0012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0477bf0a0012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:59:34] local.INFO: Processing buffer {"connection_id":163448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0477bf0a0012d34bcc006aa4200000300002b..."} 
[2026-08-28 13:59:34] local.INFO: Packet analysis {"connection_id":163448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0477b"} 
[2026-08-28 13:59:34] local.INFO: Extracted packet for processing {"connection_id":163448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0477b"} 
[2026-08-28 13:59:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 13:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703782144001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 13:59:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 13:59:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787905700000,"timestamp_ms":1787905700000,"timestamp_seconds":1787905700,"priority":1,"record_length":96,"hex_timestamp":"000001a0477bf0a0"} 
[2026-08-28 13:59:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:59:34] 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-28 13:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 13:59:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:59:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:59:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163448,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 13:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163448,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 13:59:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 13:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 13:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703782144001,"66":2198,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 13:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 13:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703782144001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:59:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:59:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:59:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 13:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703782144001,"power":2198,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 13:59:34] 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":707762,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:59:34] local.INFO: GPS data processed {"connection_id":163448,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:59:34] local.INFO: Acknowledgment sent {"connection_id":163448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:59:36] local.INFO: TCP Data received {"connection_id":163716,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:59:36] local.INFO: Processing buffer {"connection_id":163716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 13:59:36] local.INFO: IMEI packet received {"connection_id":163716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 13:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":163716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 13:59:37] local.INFO: TCP Data received {"connection_id":163716,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047796830012d34c14006aa4840000b00e62b..."} 
[2026-08-28 13:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047796830012d34c14006aa4840000b00e62b..."} 
[2026-08-28 13:59:37] local.INFO: Processing buffer {"connection_id":163716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047796830012d34c14006aa4840000b00e62b..."} 
[2026-08-28 13:59:37] local.INFO: Packet analysis {"connection_id":163716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04779"} 
[2026-08-28 13:59:37] local.INFO: Extracted packet for processing {"connection_id":163716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04779"} 
[2026-08-28 13:59:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 13:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 13:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703739648001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 13:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 13:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787905534000,"timestamp_ms":1787905534000,"timestamp_seconds":1787905534,"priority":1,"record_length":96,"hex_timestamp":"000001a047796830"} 
[2026-08-28 13:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 13:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 13:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 13:59:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 13:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 13:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 13:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 13:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 13:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 13:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703739648001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 13:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 13:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 13:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703739648001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:59:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 13:59:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 13:59: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-28 13:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 13:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703739648001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 13:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":163716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:59:37] local.INFO: GPS data processed {"connection_id":163716,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:59:37] local.INFO: Acknowledgment sent {"connection_id":163716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:59:53] local.INFO: TCP Data received {"connection_id":163449,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a04779ed00012d1967c0071fed70003701182b..."} 
[2026-08-28 13:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04779ed00012d1967c0071fed70003701182b..."} 
[2026-08-28 13:59:53] local.INFO: Processing buffer {"connection_id":163449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04779ed00012d1967c0071fed70003701182b..."} 
[2026-08-28 13:59:53] local.INFO: Packet analysis {"connection_id":163449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04779"} 
[2026-08-28 13:59:53] local.INFO: Extracted packet for processing {"connection_id":163449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04779"} 
[2026-08-28 13:59:53] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 13: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-28 13:59:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703820032001,"note":"Value kept but may cause issues"} 
[2026-08-28 13:59:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 13:59:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 13:59:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 13:59:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787905568000,"timestamp_ms":1787905568000,"timestamp_seconds":1787905568,"priority":1,"record_length":96,"hex_timestamp":"000001a04779ed00"} 
[2026-08-28 13: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-28 13:59:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 13: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-28 13:59:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-28 13:59:53] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":59393,"corrected_to":0} 
[2026-08-28 13:59:53] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199127245,"note":"Value kept but may cause issues"} 
[2026-08-28 13:59:53] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3983540279,"note":"Value kept but may cause issues"} 
[2026-08-28 13:59:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-08-28 13:59:53] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692397,"note":"Value kept but may cause issues"} 
[2026-08-28 13:59:53] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2390032384,"note":"Value kept but may cause issues"} 
[2026-08-28 13:59:53] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-08-28 13:59:53] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,121,28,24,241,158,16,142,160,72,45,192,237,55,46,10,66,246,164,1,240,47,71,31,4,113,205,103,112,44,239,49,2,56,7,231],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":246,"original":59393,"validated":0},{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-08-28 13:59:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3963475728615342080,"timestamp_seconds":3963475728615342.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 13: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-28 13:59:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 13:59:53] local.INFO: Teltonika packet parsed successfully {"connection_id":163449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 13:59:53] local.INFO: Passing IMEI to GPS processor {"connection_id":163449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:59:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":163449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 13:59:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 13:59:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 13:59:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 13:59:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703820032001,"66":12526,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 13:59:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 13:59:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 13:59:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703820032001,"description":"Unknown IO ID 0"} 
[2026-08-28 13:59:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 13:59:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 13:59:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 13:59:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 13:59:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703820032001,"power":12526,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 13:59:53] 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":707764,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 13:59:53] local.INFO: GPS data processed {"connection_id":163449,"processed":1,"errors":0,"total":1} 
[2026-08-28 13:59:53] local.INFO: Acknowledgment sent {"connection_id":163449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 13:59:56] local.INFO: TCP Data received {"connection_id":163717,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 13:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163717,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 13:59:56] local.INFO: Processing buffer {"connection_id":163717,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 13:59:56] local.INFO: IMEI packet received {"connection_id":163717,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 13:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":163717,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:00:02] local.INFO: TCP Data received {"connection_id":163717,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163717,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:00:02] local.INFO: Processing buffer {"connection_id":163717,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:00:02] local.INFO: IMEI packet received {"connection_id":163717,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 14:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":163717,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:00:03] local.INFO: TCP Data received {"connection_id":163717,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0477bf0a0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0477bf0a0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:00:03] local.INFO: Processing buffer {"connection_id":163717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0477bf0a0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:00:03] local.INFO: Packet analysis {"connection_id":163717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0477b"} 
[2026-08-28 14:00:03] local.INFO: Extracted packet for processing {"connection_id":163717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0477b"} 
[2026-08-28 14:00:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703782144001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:00:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787905700000,"timestamp_ms":1787905700000,"timestamp_seconds":1787905700,"priority":1,"record_length":96,"hex_timestamp":"000001a0477bf0a0"} 
[2026-08-28 14:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:00:03] 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-28 14:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:00:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:00:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163717,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163717,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:00:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703782144001,"66":2198,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703782144001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:00:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:00:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703782144001,"power":2198,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:00:03] 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":707765,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:00:03] local.INFO: GPS data processed {"connection_id":163717,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:00:03] local.INFO: Acknowledgment sent {"connection_id":163717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:00:10] local.INFO: TCP Data received {"connection_id":163716,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047796830012d34c14006aa4840000b00e62b..."} 
[2026-08-28 14:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047796830012d34c14006aa4840000b00e62b..."} 
[2026-08-28 14:00:10] local.INFO: Processing buffer {"connection_id":163716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047796830012d34c14006aa4840000b00e62b..."} 
[2026-08-28 14:00:10] local.INFO: Packet analysis {"connection_id":163716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04779"} 
[2026-08-28 14:00:10] local.INFO: Extracted packet for processing {"connection_id":163716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04779"} 
[2026-08-28 14:00:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703739648001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:00:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:00:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787905534000,"timestamp_ms":1787905534000,"timestamp_seconds":1787905534,"priority":1,"record_length":96,"hex_timestamp":"000001a047796830"} 
[2026-08-28 14:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:00:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:00:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:00:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:00:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703739648001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703739648001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:00:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:00:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:00:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703739648001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":163716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:00:10] local.INFO: GPS data processed {"connection_id":163716,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:00:10] local.INFO: Acknowledgment sent {"connection_id":163716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:00:11] local.INFO: TCP Data received {"connection_id":166069,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166069,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:00:11] local.INFO: Processing buffer {"connection_id":166069,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:00:11] local.INFO: IMEI packet received {"connection_id":166069,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 14:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":166069,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:00:17] local.INFO: TCP Data received {"connection_id":166069,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166069,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:00:17] local.INFO: Processing buffer {"connection_id":166069,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:00:17] local.INFO: IMEI packet received {"connection_id":166069,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 14:00:17] local.INFO: IMEI acknowledgment sent {"connection_id":166069,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:00:19] local.INFO: TCP Data received {"connection_id":166069,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0477a3f08012d1967c0071fed70003701182d..."} 
[2026-08-28 14:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0477a3f08012d1967c0071fed70003701182d..."} 
[2026-08-28 14:00:19] local.INFO: Processing buffer {"connection_id":166069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0477a3f08012d1967c0071fed70003701182d..."} 
[2026-08-28 14:00:19] local.INFO: Packet analysis {"connection_id":166069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0477a"} 
[2026-08-28 14:00:19] local.INFO: Extracted packet for processing {"connection_id":166069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0477a"} 
[2026-08-28 14:00:19] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:00:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703825408001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:00:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:00:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:00:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:00:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787905589000,"timestamp_ms":1787905589000,"timestamp_seconds":1787905589,"priority":1,"record_length":96,"hex_timestamp":"000001a0477a3f08"} 
[2026-08-28 14:00:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:00:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-28 14:00:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:00:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:00:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:00:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:00:19] local.INFO: Teltonika packet parsed successfully {"connection_id":166069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:00:19] local.INFO: Passing IMEI to GPS processor {"connection_id":166069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:00:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":166069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:00:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:00:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:00:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:00:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703825408001,"66":12548,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:00:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:00:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:00:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703825408001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:00:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:00:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:00:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:00:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:00:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703825408001,"power":12548,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:00:19] local.INFO: DEBUG: GPS processor result {"connection_id":166069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707767,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:00:19] local.INFO: GPS data processed {"connection_id":166069,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:00:19] local.INFO: Acknowledgment sent {"connection_id":166069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:00:30] local.INFO: TCP Data received {"connection_id":163718,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:00:30] local.INFO: Processing buffer {"connection_id":163718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:00:30] local.INFO: IMEI packet received {"connection_id":163718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 14:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":163718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:00:35] local.INFO: TCP Data received {"connection_id":163717,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0477bf0a0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0477bf0a0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:00:35] local.INFO: Processing buffer {"connection_id":163717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0477bf0a0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:00:35] local.INFO: Packet analysis {"connection_id":163717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0477b"} 
[2026-08-28 14:00:35] local.INFO: Extracted packet for processing {"connection_id":163717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0477b"} 
[2026-08-28 14:00:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:00:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703782144001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:00:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:00:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:00:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:00:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787905700000,"timestamp_ms":1787905700000,"timestamp_seconds":1787905700,"priority":1,"record_length":96,"hex_timestamp":"000001a0477bf0a0"} 
[2026-08-28 14:00:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:00:35] 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-28 14:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:00:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:00:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:00:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:00:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:00:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:00:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163717,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:00:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163717,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:00:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:00:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:00:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:00:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703782144001,"66":2198,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:00:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:00:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:00:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703782144001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:00:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:00:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:00:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:00:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:00:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703782144001,"power":2198,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:00:35] 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":707768,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:00:35] local.INFO: GPS data processed {"connection_id":163717,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:00:35] local.INFO: Acknowledgment sent {"connection_id":163717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:00:36] local.INFO: TCP Data received {"connection_id":163718,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:00:36] local.INFO: Processing buffer {"connection_id":163718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:00:36] local.INFO: IMEI packet received {"connection_id":163718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 14:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":163718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:00:37] local.INFO: TCP Data received {"connection_id":163718,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047796830012d34c14006aa4840000b00e62b..."} 
[2026-08-28 14:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047796830012d34c14006aa4840000b00e62b..."} 
[2026-08-28 14:00:37] local.INFO: Processing buffer {"connection_id":163718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047796830012d34c14006aa4840000b00e62b..."} 
[2026-08-28 14:00:37] local.INFO: Packet analysis {"connection_id":163718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04779"} 
[2026-08-28 14:00:37] local.INFO: Extracted packet for processing {"connection_id":163718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04779"} 
[2026-08-28 14:00:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703739648001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787905534000,"timestamp_ms":1787905534000,"timestamp_seconds":1787905534,"priority":1,"record_length":96,"hex_timestamp":"000001a047796830"} 
[2026-08-28 14:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703739648001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703739648001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:00:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:00:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:00: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-28 14:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703739648001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:00:37] 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":707769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:00:37] local.INFO: GPS data processed {"connection_id":163718,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:00:37] local.INFO: Acknowledgment sent {"connection_id":163718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:00:50] local.INFO: TCP Data received {"connection_id":166069,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0477a9110012d1967c0071fed70003701182d..."} 
[2026-08-28 14:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0477a9110012d1967c0071fed70003701182d..."} 
[2026-08-28 14:00:50] local.INFO: Processing buffer {"connection_id":166069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0477a9110012d1967c0071fed70003701182d..."} 
[2026-08-28 14:00:50] local.INFO: Packet analysis {"connection_id":166069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0477a"} 
[2026-08-28 14:00:50] local.INFO: Extracted packet for processing {"connection_id":166069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0477a"} 
[2026-08-28 14:00:50] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14:00:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:00:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703830784001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:00:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:00:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:00:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:00:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787905610000,"timestamp_ms":1787905610000,"timestamp_seconds":1787905610,"priority":1,"record_length":96,"hex_timestamp":"000001a0477a9110"} 
[2026-08-28 14:00:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:00:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14:00:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-28 14:00:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-28 14:00:50] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197685453,"note":"Value kept but may cause issues"} 
[2026-08-28 14:00:50] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3983540279,"note":"Value kept but may cause issues"} 
[2026-08-28 14:00:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-08-28 14:00:50] local.WARNING: Large IO value detected {"io_id":164,"raw_value":3758173465,"note":"Value kept but may cause issues"} 
[2026-08-28 14:00:50] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692397,"note":"Value kept but may cause issues"} 
[2026-08-28 14:00:50] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2390032384,"note":"Value kept but may cause issues"} 
[2026-08-28 14:00:50] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-08-28 14:00:50] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,121,28,24,241,158,16,142,160,237,45,192,55,43,10,66,154,72,1,240,4,71,31,113,205,164,103,112,239,49,2,56,7,231],"length":485,"final_offset":615,"validated_count":34,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-08-28 14:00:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3963475728615342080,"timestamp_seconds":3963475728615342.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 14:00:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:00:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:00:50] local.INFO: Teltonika packet parsed successfully {"connection_id":166069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:00:50] local.INFO: Passing IMEI to GPS processor {"connection_id":166069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:00:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":166069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:00:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:00:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:00:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:00:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703830784001,"66":12515,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:00:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:00:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:00:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703830784001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:00:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:00:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:00:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:00:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:00:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703830784001,"power":12515,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:00:50] local.INFO: DEBUG: GPS processor result {"connection_id":166069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707770,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:00:50] local.INFO: GPS data processed {"connection_id":166069,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:00:50] local.INFO: Acknowledgment sent {"connection_id":166069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:00:56] local.INFO: TCP Data received {"connection_id":163719,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163719,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:00:56] local.INFO: Processing buffer {"connection_id":163719,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:00:56] local.INFO: IMEI packet received {"connection_id":163719,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 14:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":163719,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:01:02] local.INFO: TCP Data received {"connection_id":163719,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163719,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:01:02] local.INFO: Processing buffer {"connection_id":163719,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:01:02] local.INFO: IMEI packet received {"connection_id":163719,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 14:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":163719,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:01:03] local.INFO: TCP Data received {"connection_id":163719,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0477bf0a0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0477bf0a0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:01:03] local.INFO: Processing buffer {"connection_id":163719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0477bf0a0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:01:03] local.INFO: Packet analysis {"connection_id":163719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0477b"} 
[2026-08-28 14:01:03] local.INFO: Extracted packet for processing {"connection_id":163719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0477b"} 
[2026-08-28 14:01:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703782144001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787905700000,"timestamp_ms":1787905700000,"timestamp_seconds":1787905700,"priority":1,"record_length":96,"hex_timestamp":"000001a0477bf0a0"} 
[2026-08-28 14:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:01:03] 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-28 14:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:01:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:01:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163719,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163719,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:01:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703782144001,"66":2198,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703782144001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:01:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:01:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703782144001,"power":2198,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:01:03] 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":707771,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:01:03] local.INFO: GPS data processed {"connection_id":163719,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:01:03] local.INFO: Acknowledgment sent {"connection_id":163719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:01:10] local.INFO: TCP Data received {"connection_id":163718,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047796830012d34c14006aa4840000b00e62b..."} 
[2026-08-28 14:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047796830012d34c14006aa4840000b00e62b..."} 
[2026-08-28 14:01:10] local.INFO: Processing buffer {"connection_id":163718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047796830012d34c14006aa4840000b00e62b..."} 
[2026-08-28 14:01:10] local.INFO: Packet analysis {"connection_id":163718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04779"} 
[2026-08-28 14:01:10] local.INFO: Extracted packet for processing {"connection_id":163718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04779"} 
[2026-08-28 14:01:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703739648001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:01:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787905534000,"timestamp_ms":1787905534000,"timestamp_seconds":1787905534,"priority":1,"record_length":96,"hex_timestamp":"000001a047796830"} 
[2026-08-28 14:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:01:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:01:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:01:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:01:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703739648001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703739648001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:01:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:01:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703739648001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:01:10] 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":707772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:01:10] local.INFO: GPS data processed {"connection_id":163718,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:01:10] local.INFO: Acknowledgment sent {"connection_id":163718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:01:11] local.INFO: TCP Data received {"connection_id":164725,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:01:11] local.INFO: Processing buffer {"connection_id":164725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:01:11] local.INFO: IMEI packet received {"connection_id":164725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 14:01:11] local.INFO: IMEI acknowledgment sent {"connection_id":164725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:01:16] local.INFO: TCP Data received {"connection_id":164725,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:01:16] local.INFO: Processing buffer {"connection_id":164725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:01:16] local.INFO: IMEI packet received {"connection_id":164725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 14:01:16] local.INFO: IMEI acknowledgment sent {"connection_id":164725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:01:18] local.INFO: TCP Data received {"connection_id":164725,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0477ae318012d1967c0071fed70003701182d..."} 
[2026-08-28 14:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0477ae318012d1967c0071fed70003701182d..."} 
[2026-08-28 14:01:18] local.INFO: Processing buffer {"connection_id":164725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0477ae318012d1967c0071fed70003701182d..."} 
[2026-08-28 14:01:18] local.INFO: Packet analysis {"connection_id":164725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0477a"} 
[2026-08-28 14:01:18] local.INFO: Extracted packet for processing {"connection_id":164725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0477a"} 
[2026-08-28 14:01:18] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:01:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703836160001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:01:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:01:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:01:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:01:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787905631000,"timestamp_ms":1787905631000,"timestamp_seconds":1787905631,"priority":1,"record_length":96,"hex_timestamp":"000001a0477ae318"} 
[2026-08-28 14: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-28 14:01:18] 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-28 14: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":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-08-28 14:01:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14: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-28 14:01:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:01:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:01:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:01:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:01:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:01:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:01:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:01:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703836160001,"66":12526,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:01:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:01:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:01:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703836160001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:01:18] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:01:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:01:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:01:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:01:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703836160001,"power":12526,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:01:18] 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":707773,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:01:18] local.INFO: GPS data processed {"connection_id":164725,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:01:18] local.INFO: Acknowledgment sent {"connection_id":164725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:01:36] local.INFO: TCP Data received {"connection_id":163720,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:01:36] local.INFO: Processing buffer {"connection_id":163720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:01:36] local.INFO: IMEI packet received {"connection_id":163720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 14:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":163720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:01:37] local.INFO: TCP Data received {"connection_id":163719,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0477bf0a0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0477bf0a0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:01:37] local.INFO: Processing buffer {"connection_id":163719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0477bf0a0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:01:37] local.INFO: Packet analysis {"connection_id":163719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0477b"} 
[2026-08-28 14:01:37] local.INFO: Extracted packet for processing {"connection_id":163719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0477b"} 
[2026-08-28 14:01:37] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703782144001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787905700000,"timestamp_ms":1787905700000,"timestamp_seconds":1787905700,"priority":1,"record_length":96,"hex_timestamp":"000001a0477bf0a0"} 
[2026-08-28 14:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:01:37] 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-28 14:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163719,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163719,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703782144001,"66":2198,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703782144001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:01:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:01:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703782144001,"power":2198,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:01:37] 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":707774,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:01:37] local.INFO: GPS data processed {"connection_id":163719,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:01:37] local.INFO: Acknowledgment sent {"connection_id":163719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:01:41] local.INFO: TCP Data received {"connection_id":163720,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:01:41] local.INFO: Processing buffer {"connection_id":163720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:01:41] local.INFO: IMEI packet received {"connection_id":163720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 14:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":163720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:01:43] local.INFO: TCP Data received {"connection_id":163720,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0477dfff8012d34c14006aa4840000900e62a..."} 
[2026-08-28 14:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0477dfff8012d34c14006aa4840000900e62a..."} 
[2026-08-28 14:01:43] local.INFO: Processing buffer {"connection_id":163720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0477dfff8012d34c14006aa4840000900e62a..."} 
[2026-08-28 14:01:43] local.INFO: Packet analysis {"connection_id":163720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0477d"} 
[2026-08-28 14:01:43] local.INFO: Extracted packet for processing {"connection_id":163720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0477d"} 
[2026-08-28 14:01:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:01:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703816704001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:01:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:01:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:01:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:01:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787905835000,"timestamp_ms":1787905835000,"timestamp_seconds":1787905835,"priority":1,"record_length":96,"hex_timestamp":"000001a0477dfff8"} 
[2026-08-28 14: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-28 14: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-28 14: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":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:01: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-28 14: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-28 14: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-28 14:01:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:01:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:01:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:01:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:01:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:01:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:01:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:01:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703816704001,"66":25125,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:01:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:01:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:01:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703816704001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:01:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:01:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14: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-28 14:01:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:01:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703816704001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:01:43] 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":707775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:01:43] local.INFO: GPS data processed {"connection_id":163720,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:01:43] local.INFO: Acknowledgment sent {"connection_id":163720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:01:48] local.INFO: TCP Data received {"connection_id":163720,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0477dfff8012d34c14006aa4840000900e62a..."} 
[2026-08-28 14:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0477dfff8012d34c14006aa4840000900e62a..."} 
[2026-08-28 14:01:48] local.INFO: Processing buffer {"connection_id":163720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0477dfff8012d34c14006aa4840000900e62a..."} 
[2026-08-28 14:01:48] local.INFO: Packet analysis {"connection_id":163720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0477d"} 
[2026-08-28 14:01:48] local.INFO: Extracted packet for processing {"connection_id":163720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0477d"} 
[2026-08-28 14:01:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:01:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703816704001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:01:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:01:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:01:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:01:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787905835000,"timestamp_ms":1787905835000,"timestamp_seconds":1787905835,"priority":1,"record_length":96,"hex_timestamp":"000001a0477dfff8"} 
[2026-08-28 14: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-28 14:01: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-28 14: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":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:01: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-28 14: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-28 14: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-28 14:01:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:01:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:01:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:01:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:01:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:01:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:01:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:01:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703816704001,"66":25125,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:01:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:01:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:01:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703816704001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:01:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:01:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14: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-28 14:01:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:01:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703816704001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:01:48] 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":707776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:01:48] local.INFO: GPS data processed {"connection_id":163720,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:01:48] local.INFO: Acknowledgment sent {"connection_id":163720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:01:50] local.INFO: TCP Data received {"connection_id":164725,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0477b3520012d1967c0071fed70003701182e..."} 
[2026-08-28 14:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0477b3520012d1967c0071fed70003701182e..."} 
[2026-08-28 14:01:50] local.INFO: Processing buffer {"connection_id":164725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0477b3520012d1967c0071fed70003701182e..."} 
[2026-08-28 14:01:50] local.INFO: Packet analysis {"connection_id":164725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0477b"} 
[2026-08-28 14:01:50] local.INFO: Extracted packet for processing {"connection_id":164725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0477b"} 
[2026-08-28 14:01:50] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:01:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703841536001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:01:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:01:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:01:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:01:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787905652000,"timestamp_ms":1787905652000,"timestamp_seconds":1787905652,"priority":1,"record_length":96,"hex_timestamp":"000001a0477b3520"} 
[2026-08-28 14: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-28 14:01:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-28 14:01:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14: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-28 14:01:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:01:50] local.INFO: Teltonika packet parsed successfully {"connection_id":164725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:01:50] local.INFO: Passing IMEI to GPS processor {"connection_id":164725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:01:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":164725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:01:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:01:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:01:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:01:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703841536001,"66":12515,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:01:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:01:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:01:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703841536001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:01:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:01:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:01:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:01:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:01:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703841536001,"power":12515,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:01:50] 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":707777,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:01:50] local.INFO: GPS data processed {"connection_id":164725,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:01:50] local.INFO: Acknowledgment sent {"connection_id":164725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:02:02] local.INFO: TCP Data received {"connection_id":166070,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166070,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:02:02] local.INFO: Processing buffer {"connection_id":166070,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:02:02] local.INFO: IMEI packet received {"connection_id":166070,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 14:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":166070,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:02:07] local.INFO: TCP Data received {"connection_id":166070,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166070,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:02:07] local.INFO: Processing buffer {"connection_id":166070,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:02:07] local.INFO: IMEI packet received {"connection_id":166070,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 14:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":166070,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:02:08] local.INFO: TCP Data received {"connection_id":166070,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0477bf0a0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0477bf0a0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:02:08] local.INFO: Processing buffer {"connection_id":166070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0477bf0a0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:02:08] local.INFO: Packet analysis {"connection_id":166070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0477b"} 
[2026-08-28 14:02:08] local.INFO: Extracted packet for processing {"connection_id":166070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0477b"} 
[2026-08-28 14:02:08] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703782144001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:02:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787905700000,"timestamp_ms":1787905700000,"timestamp_seconds":1787905700,"priority":1,"record_length":96,"hex_timestamp":"000001a0477bf0a0"} 
[2026-08-28 14:02:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:02:08] 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-28 14:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:02:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:02:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:02:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":166070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":166070,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":166070,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:02:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703782144001,"66":2198,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703782144001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:02:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:02:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703782144001,"power":2198,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":166070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707778,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:02:08] local.INFO: GPS data processed {"connection_id":166070,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:02:08] local.INFO: Acknowledgment sent {"connection_id":166070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:02:11] local.INFO: TCP Data received {"connection_id":164726,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:02:11] local.INFO: Processing buffer {"connection_id":164726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:02:11] local.INFO: IMEI packet received {"connection_id":164726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 14:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":164726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:02:13] local.INFO: TCP Data received {"connection_id":166070,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0477bf0a0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0477bf0a0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:02:13] local.INFO: Processing buffer {"connection_id":166070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0477bf0a0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:02:13] local.INFO: Packet analysis {"connection_id":166070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0477b"} 
[2026-08-28 14:02:13] local.INFO: Extracted packet for processing {"connection_id":166070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0477b"} 
[2026-08-28 14:02:13] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:02:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703782144001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:02:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:02:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:02:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:02:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787905700000,"timestamp_ms":1787905700000,"timestamp_seconds":1787905700,"priority":1,"record_length":96,"hex_timestamp":"000001a0477bf0a0"} 
[2026-08-28 14: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-28 14:02:13] 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-28 14: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:02:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14: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-28 14:02:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:02:13] local.INFO: Teltonika packet parsed successfully {"connection_id":166070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:02:13] local.INFO: Passing IMEI to GPS processor {"connection_id":166070,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:02:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":166070,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:02:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:02:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:02:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:02:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703782144001,"66":2198,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:02:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:02:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:02:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703782144001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:02:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:02:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:02:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:02:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:02:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703782144001,"power":2198,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:02:13] local.INFO: DEBUG: GPS processor result {"connection_id":166070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707779,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:02:13] local.INFO: GPS data processed {"connection_id":166070,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:02:13] local.INFO: Acknowledgment sent {"connection_id":166070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:02:16] local.INFO: TCP Data received {"connection_id":164726,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:02:16] local.INFO: Processing buffer {"connection_id":164726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:02:16] local.INFO: IMEI packet received {"connection_id":164726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 14:02:16] local.INFO: IMEI acknowledgment sent {"connection_id":164726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:02:17] local.INFO: TCP Data received {"connection_id":164726,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0477b8728012d1967c0071fed70003701182e..."} 
[2026-08-28 14:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0477b8728012d1967c0071fed70003701182e..."} 
[2026-08-28 14:02:17] local.INFO: Processing buffer {"connection_id":164726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0477b8728012d1967c0071fed70003701182e..."} 
[2026-08-28 14:02:17] local.INFO: Packet analysis {"connection_id":164726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0477b"} 
[2026-08-28 14:02:17] local.INFO: Extracted packet for processing {"connection_id":164726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0477b"} 
[2026-08-28 14:02:17] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:02:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703846912001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:02:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:02:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:02:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:02:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787905673000,"timestamp_ms":1787905673000,"timestamp_seconds":1787905673,"priority":1,"record_length":96,"hex_timestamp":"000001a0477b8728"} 
[2026-08-28 14: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-28 14:02:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14: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":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-08-28 14:02:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14: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-28 14:02:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:02:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:02:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:02:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:02:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:02:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:02:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:02:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703846912001,"66":12504,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:02:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:02:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:02:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703846912001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:02:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:02:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:02:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:02:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:02:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703846912001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:02:17] 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":707780,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:02:17] local.INFO: GPS data processed {"connection_id":164726,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:02:17] local.INFO: Acknowledgment sent {"connection_id":164726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:02:31] local.INFO: TCP Data received {"connection_id":166071,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:02:31] local.INFO: Processing buffer {"connection_id":166071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:02:31] local.INFO: IMEI packet received {"connection_id":166071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 14:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":166071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:02:36] local.INFO: TCP Data received {"connection_id":166071,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:02:36] local.INFO: Processing buffer {"connection_id":166071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:02:36] local.INFO: IMEI packet received {"connection_id":166071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 14:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":166071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:02:37] local.INFO: TCP Data received {"connection_id":166071,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0477dfff8012d34c14006aa4840000900e62a..."} 
[2026-08-28 14:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0477dfff8012d34c14006aa4840000900e62a..."} 
[2026-08-28 14:02:37] local.INFO: Processing buffer {"connection_id":166071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0477dfff8012d34c14006aa4840000900e62a..."} 
[2026-08-28 14:02:37] local.INFO: Packet analysis {"connection_id":166071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0477d"} 
[2026-08-28 14:02:37] local.INFO: Extracted packet for processing {"connection_id":166071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0477d"} 
[2026-08-28 14:02:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703816704001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787905835000,"timestamp_ms":1787905835000,"timestamp_seconds":1787905835,"priority":1,"record_length":96,"hex_timestamp":"000001a0477dfff8"} 
[2026-08-28 14:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":166071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":166071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":166071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703816704001,"66":25125,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703816704001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:02:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:02:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:02: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-28 14:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703816704001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":166071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:02:37] local.INFO: GPS data processed {"connection_id":166071,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:02:37] local.INFO: Acknowledgment sent {"connection_id":166071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:02:49] local.INFO: TCP Data received {"connection_id":164726,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0477bd930012d1967c0071fed70003701182d..."} 
[2026-08-28 14:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0477bd930012d1967c0071fed70003701182d..."} 
[2026-08-28 14:02:49] local.INFO: Processing buffer {"connection_id":164726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0477bd930012d1967c0071fed70003701182d..."} 
[2026-08-28 14:02:49] local.INFO: Packet analysis {"connection_id":164726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0477b"} 
[2026-08-28 14:02:49] local.INFO: Extracted packet for processing {"connection_id":164726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0477b"} 
[2026-08-28 14:02:49] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:02:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703852288001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:02:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:02:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:02:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:02:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787905694000,"timestamp_ms":1787905694000,"timestamp_seconds":1787905694,"priority":1,"record_length":96,"hex_timestamp":"000001a0477bd930"} 
[2026-08-28 14: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-28 14:02:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-28 14:02:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14: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-28 14:02:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:02:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:02:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:02:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:02:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:02:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:02:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:02:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703852288001,"66":12461,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:02:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:02:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:02:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703852288001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:02:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:02:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:02:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:02:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:02:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703852288001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:02:49] 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":707782,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:02:49] local.INFO: GPS data processed {"connection_id":164726,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:02:49] local.INFO: Acknowledgment sent {"connection_id":164726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:02:57] local.INFO: TCP Data received {"connection_id":163450,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163450,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:02:57] local.INFO: Processing buffer {"connection_id":163450,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:02:57] local.INFO: IMEI packet received {"connection_id":163450,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 14:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":163450,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:03:02] local.INFO: TCP Data received {"connection_id":163450,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163450,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:03:02] local.INFO: Processing buffer {"connection_id":163450,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:03:02] local.INFO: IMEI packet received {"connection_id":163450,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 14:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":163450,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:03:03] local.INFO: TCP Data received {"connection_id":163450,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0477bf0a0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0477bf0a0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:03:03] local.INFO: Processing buffer {"connection_id":163450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0477bf0a0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:03:03] local.INFO: Packet analysis {"connection_id":163450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0477b"} 
[2026-08-28 14:03:03] local.INFO: Extracted packet for processing {"connection_id":163450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0477b"} 
[2026-08-28 14:03:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703782144001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787905700000,"timestamp_ms":1787905700000,"timestamp_seconds":1787905700,"priority":1,"record_length":96,"hex_timestamp":"000001a0477bf0a0"} 
[2026-08-28 14:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:03:03] 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-28 14:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:03:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:03:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163450,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163450,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703782144001,"66":2198,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703782144001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:03:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:03:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703782144001,"power":2198,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:03:03] 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":707783,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:03:03] local.INFO: GPS data processed {"connection_id":163450,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:03:03] local.INFO: Acknowledgment sent {"connection_id":163450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:03:09] local.INFO: TCP Data received {"connection_id":166071,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0477dfff8012d34c14006aa4840000900e62a..."} 
[2026-08-28 14:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0477dfff8012d34c14006aa4840000900e62a..."} 
[2026-08-28 14:03:09] local.INFO: Processing buffer {"connection_id":166071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0477dfff8012d34c14006aa4840000900e62a..."} 
[2026-08-28 14:03:09] local.INFO: Packet analysis {"connection_id":166071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0477d"} 
[2026-08-28 14:03:09] local.INFO: Extracted packet for processing {"connection_id":166071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0477d"} 
[2026-08-28 14:03:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703816704001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:03:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:03:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787905835000,"timestamp_ms":1787905835000,"timestamp_seconds":1787905835,"priority":1,"record_length":96,"hex_timestamp":"000001a0477dfff8"} 
[2026-08-28 14:03:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:03: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-28 14:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:03: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-28 14:03:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:03:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":166071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":166071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":166071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:03:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703816704001,"66":25125,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703816704001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:03:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:03:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:03: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-28 14:03:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703816704001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":166071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:03:09] local.INFO: GPS data processed {"connection_id":166071,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:03:09] local.INFO: Acknowledgment sent {"connection_id":166071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:03:16] local.INFO: TCP Data received {"connection_id":164727,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164727,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:03:16] local.INFO: Processing buffer {"connection_id":164727,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:03:16] local.INFO: IMEI packet received {"connection_id":164727,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 14:03:16] local.INFO: IMEI acknowledgment sent {"connection_id":164727,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:03:21] local.INFO: TCP Data received {"connection_id":164727,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164727,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:03:21] local.INFO: Processing buffer {"connection_id":164727,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:03:21] local.INFO: IMEI packet received {"connection_id":164727,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 14:03:21] local.INFO: IMEI acknowledgment sent {"connection_id":164727,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:03:22] local.INFO: TCP Data received {"connection_id":164727,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0477c2b38012d1967c0071fed70003701182c..."} 
[2026-08-28 14:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0477c2b38012d1967c0071fed70003701182c..."} 
[2026-08-28 14:03:22] local.INFO: Processing buffer {"connection_id":164727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0477c2b38012d1967c0071fed70003701182c..."} 
[2026-08-28 14:03:22] local.INFO: Packet analysis {"connection_id":164727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0477c"} 
[2026-08-28 14:03:22] local.INFO: Extracted packet for processing {"connection_id":164727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0477c"} 
[2026-08-28 14:03:22] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:03:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703857664001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:03:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:03:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:03:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:03:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787905715000,"timestamp_ms":1787905715000,"timestamp_seconds":1787905715,"priority":1,"record_length":96,"hex_timestamp":"000001a0477c2b38"} 
[2026-08-28 14: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-28 14:03:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 14:03:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14: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-28 14:03:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:03:22] local.INFO: Teltonika packet parsed successfully {"connection_id":164727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:03:22] local.INFO: Passing IMEI to GPS processor {"connection_id":164727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:03:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":164727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:03:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:03:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:03:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:03:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703857664001,"66":12254,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:03:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:03:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:03:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703857664001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:03:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:03:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:03:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:03:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:03:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703857664001,"power":12254,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:03: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":707785,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:03:22] local.INFO: GPS data processed {"connection_id":164727,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:03:22] local.INFO: Acknowledgment sent {"connection_id":164727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:03:25] local.INFO: TCP Data received {"connection_id":164727,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0477c7d40012d1967c0071fed70003701182e..."} 
[2026-08-28 14:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0477c7d40012d1967c0071fed70003701182e..."} 
[2026-08-28 14:03:25] local.INFO: Processing buffer {"connection_id":164727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0477c7d40012d1967c0071fed70003701182e..."} 
[2026-08-28 14:03:25] local.INFO: Packet analysis {"connection_id":164727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0477c"} 
[2026-08-28 14:03:25] local.INFO: Extracted packet for processing {"connection_id":164727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0477c"} 
[2026-08-28 14:03:25] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14:03:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:03:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703863040001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:03:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:03:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:03:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:03:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787905736000,"timestamp_ms":1787905736000,"timestamp_seconds":1787905736,"priority":1,"record_length":96,"hex_timestamp":"000001a0477c7d40"} 
[2026-08-28 14:03:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:03:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14:03:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-28 14:03:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:03:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:03:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:03:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:03:25] local.INFO: Teltonika packet parsed successfully {"connection_id":164727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:03:25] local.INFO: Passing IMEI to GPS processor {"connection_id":164727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:03:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":164727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:03:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:03:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:03:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:03:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703863040001,"66":12504,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:03:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:03:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:03:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703863040001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:03:25] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:03:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:03:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:03:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:03:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703863040001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:03:26] 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":707786,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:03:26] local.INFO: GPS data processed {"connection_id":164727,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:03:26] local.INFO: Acknowledgment sent {"connection_id":164727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:03:30] local.INFO: TCP Data received {"connection_id":166072,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:03:30] local.INFO: Processing buffer {"connection_id":166072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:03:30] local.INFO: IMEI packet received {"connection_id":166072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 14:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":166072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:03:35] local.INFO: TCP Data received {"connection_id":163450,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0477bf0a0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0477bf0a0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:03:35] local.INFO: Processing buffer {"connection_id":163450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0477bf0a0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:03:35] local.INFO: Packet analysis {"connection_id":163450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0477b"} 
[2026-08-28 14:03:35] local.INFO: Extracted packet for processing {"connection_id":163450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0477b"} 
[2026-08-28 14:03:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703782144001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:03:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787905700000,"timestamp_ms":1787905700000,"timestamp_seconds":1787905700,"priority":1,"record_length":96,"hex_timestamp":"000001a0477bf0a0"} 
[2026-08-28 14:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:03:35] 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-28 14:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:03:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:03:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163450,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163450,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703782144001,"66":2198,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703782144001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:03:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:03:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:03:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703782144001,"power":2198,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:03:35] 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":707787,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:03:35] local.INFO: GPS data processed {"connection_id":163450,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:03:35] local.INFO: Acknowledgment sent {"connection_id":163450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:03:36] local.INFO: TCP Data received {"connection_id":166072,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:03:36] local.INFO: Processing buffer {"connection_id":166072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:03:36] local.INFO: IMEI packet received {"connection_id":166072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 14:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":166072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:03:38] local.INFO: TCP Data received {"connection_id":166072,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0477dfff8012d34c14006aa4840000900e62a..."} 
[2026-08-28 14:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0477dfff8012d34c14006aa4840000900e62a..."} 
[2026-08-28 14:03:38] local.INFO: Processing buffer {"connection_id":166072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0477dfff8012d34c14006aa4840000900e62a..."} 
[2026-08-28 14:03:38] local.INFO: Packet analysis {"connection_id":166072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0477d"} 
[2026-08-28 14:03:38] local.INFO: Extracted packet for processing {"connection_id":166072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0477d"} 
[2026-08-28 14:03:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703816704001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:03:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787905835000,"timestamp_ms":1787905835000,"timestamp_seconds":1787905835,"priority":1,"record_length":96,"hex_timestamp":"000001a0477dfff8"} 
[2026-08-28 14:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:03: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-28 14:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:03: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-28 14:03:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":166072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":166072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":166072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:03:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703816704001,"66":25125,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703816704001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:03:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:03:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:03: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-28 14:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703816704001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":166072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:03:38] local.INFO: GPS data processed {"connection_id":166072,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:03:38] local.INFO: Acknowledgment sent {"connection_id":166072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:03:56] local.INFO: TCP Data received {"connection_id":166073,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166073,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:03:56] local.INFO: Processing buffer {"connection_id":166073,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:03:56] local.INFO: IMEI packet received {"connection_id":166073,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 14:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":166073,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:04:00] local.INFO: TCP Data received {"connection_id":166073,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166073,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:04:00] local.INFO: Processing buffer {"connection_id":166073,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:04:00] local.INFO: IMEI packet received {"connection_id":166073,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 14:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":166073,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:04:01] local.INFO: TCP Data received {"connection_id":166073,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166073,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:04:01] local.INFO: Processing buffer {"connection_id":166073,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:04:01] local.INFO: IMEI packet received {"connection_id":166073,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 14:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":166073,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:04:03] local.INFO: TCP Data received {"connection_id":166073,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047808868012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047808868012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:04:03] local.INFO: Processing buffer {"connection_id":166073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047808868012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:04:03] local.INFO: Packet analysis {"connection_id":166073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04780"} 
[2026-08-28 14:04:03] local.INFO: Extracted packet for processing {"connection_id":166073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04780"} 
[2026-08-28 14:04:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703859200001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787906001000,"timestamp_ms":1787906001000,"timestamp_seconds":1787906001,"priority":1,"record_length":96,"hex_timestamp":"000001a047808868"} 
[2026-08-28 14:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:04:03] 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-28 14:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-28 14:04:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:04:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":166073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":166073,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":166073,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703859200001,"66":2198,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703859200001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:04:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:04:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703859200001,"power":2198,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":166073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707789,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:04:03] local.INFO: GPS data processed {"connection_id":166073,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:04:03] local.INFO: Acknowledgment sent {"connection_id":166073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:04:08] local.INFO: TCP Data received {"connection_id":166073,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047808868012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047808868012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:04:08] local.INFO: Processing buffer {"connection_id":166073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047808868012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:04:08] local.INFO: Packet analysis {"connection_id":166073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04780"} 
[2026-08-28 14:04:08] local.INFO: Extracted packet for processing {"connection_id":166073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04780"} 
[2026-08-28 14:04:08] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703859200001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:04:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787906001000,"timestamp_ms":1787906001000,"timestamp_seconds":1787906001,"priority":1,"record_length":96,"hex_timestamp":"000001a047808868"} 
[2026-08-28 14:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:04:08] 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-28 14:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-28 14:04:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:04:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":166073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":166073,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":166073,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:04:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703859200001,"66":2198,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703859200001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:04:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:04:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703859200001,"power":2198,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":166073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707790,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:04:09] local.INFO: GPS data processed {"connection_id":166073,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:04:09] local.INFO: Acknowledgment sent {"connection_id":166073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:04:10] local.INFO: TCP Data received {"connection_id":166072,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0477dfff8012d34c14006aa4840000900e62a..."} 
[2026-08-28 14:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0477dfff8012d34c14006aa4840000900e62a..."} 
[2026-08-28 14:04:10] local.INFO: Processing buffer {"connection_id":166072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0477dfff8012d34c14006aa4840000900e62a..."} 
[2026-08-28 14:04:10] local.INFO: Packet analysis {"connection_id":166072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0477d"} 
[2026-08-28 14:04:10] local.INFO: Extracted packet for processing {"connection_id":166072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0477d"} 
[2026-08-28 14:04:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703816704001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:04:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787905835000,"timestamp_ms":1787905835000,"timestamp_seconds":1787905835,"priority":1,"record_length":96,"hex_timestamp":"000001a0477dfff8"} 
[2026-08-28 14:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:04:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:04:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:04:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":166072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":166072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":166072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:04:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703816704001,"66":25125,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703816704001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:04:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:04:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703816704001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":166072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:04:10] local.INFO: GPS data processed {"connection_id":166072,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:04:10] local.INFO: Acknowledgment sent {"connection_id":166072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:04:12] local.INFO: TCP Data received {"connection_id":164728,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164728,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:04:12] local.INFO: Processing buffer {"connection_id":164728,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:04:12] local.INFO: IMEI packet received {"connection_id":164728,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 14:04:12] local.INFO: IMEI acknowledgment sent {"connection_id":164728,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:04:16] local.INFO: TCP Data received {"connection_id":164728,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164728,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:04:16] local.INFO: Processing buffer {"connection_id":164728,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:04:16] local.INFO: IMEI packet received {"connection_id":164728,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 14:04:16] local.INFO: IMEI acknowledgment sent {"connection_id":164728,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:04:17] local.INFO: TCP Data received {"connection_id":164728,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047800398012d1967c0071fed70003701182d..."} 
[2026-08-28 14:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047800398012d1967c0071fed70003701182d..."} 
[2026-08-28 14:04:17] local.INFO: Processing buffer {"connection_id":164728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047800398012d1967c0071fed70003701182d..."} 
[2026-08-28 14:04:17] local.INFO: Packet analysis {"connection_id":164728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04780"} 
[2026-08-28 14:04:17] local.INFO: Extracted packet for processing {"connection_id":164728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04780"} 
[2026-08-28 14:04:17] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:04:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703922176001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:04:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:04:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:04:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:04:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787905967000,"timestamp_ms":1787905967000,"timestamp_seconds":1787905967,"priority":1,"record_length":96,"hex_timestamp":"000001a047800398"} 
[2026-08-28 14: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-28 14:04:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 14:04: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-28 14: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-28 14: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-28 14:04:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:04:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:04:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:04:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:04:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:04:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:04:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:04:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703922176001,"66":12406,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:04:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:04:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:04:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703922176001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:04:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:04:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:04:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:04:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:04:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703922176001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:04:17] local.INFO: DEBUG: GPS processor result {"connection_id":164728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707792,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:04:17] local.INFO: GPS data processed {"connection_id":164728,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:04:17] local.INFO: Acknowledgment sent {"connection_id":164728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:04:30] local.INFO: TCP Data received {"connection_id":163721,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:04:30] local.INFO: Processing buffer {"connection_id":163721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:04:30] local.INFO: IMEI packet received {"connection_id":163721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 14:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":163721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:04:36] local.INFO: TCP Data received {"connection_id":163721,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:04:36] local.INFO: Processing buffer {"connection_id":163721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:04:36] local.INFO: IMEI packet received {"connection_id":163721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 14:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":163721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:04:37] local.INFO: TCP Data received {"connection_id":163721,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0477dfff8012d34c14006aa4840000900e62a..."} 
[2026-08-28 14:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0477dfff8012d34c14006aa4840000900e62a..."} 
[2026-08-28 14:04:37] local.INFO: Processing buffer {"connection_id":163721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0477dfff8012d34c14006aa4840000900e62a..."} 
[2026-08-28 14:04:37] local.INFO: Packet analysis {"connection_id":163721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0477d"} 
[2026-08-28 14:04:37] local.INFO: Extracted packet for processing {"connection_id":163721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0477d"} 
[2026-08-28 14:04:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703816704001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787905835000,"timestamp_ms":1787905835000,"timestamp_seconds":1787905835,"priority":1,"record_length":96,"hex_timestamp":"000001a0477dfff8"} 
[2026-08-28 14:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703816704001,"66":25125,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703816704001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:04:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:04:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:04: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-28 14:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703816704001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":163721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:04:37] local.INFO: GPS data processed {"connection_id":163721,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:04:37] local.INFO: Acknowledgment sent {"connection_id":163721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:04:40] local.INFO: TCP Data received {"connection_id":166073,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047808868012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047808868012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:04:40] local.INFO: Processing buffer {"connection_id":166073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047808868012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:04:40] local.INFO: Packet analysis {"connection_id":166073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04780"} 
[2026-08-28 14:04:40] local.INFO: Extracted packet for processing {"connection_id":166073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04780"} 
[2026-08-28 14:04:40] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703859200001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:04:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:04:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787906001000,"timestamp_ms":1787906001000,"timestamp_seconds":1787906001,"priority":1,"record_length":96,"hex_timestamp":"000001a047808868"} 
[2026-08-28 14:04:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:04:40] 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-28 14:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-28 14:04:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:04:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:04:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":166073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":166073,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":166073,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:04:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703859200001,"66":2198,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703859200001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:04:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:04:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:04:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703859200001,"power":2198,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":166073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707794,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:04:41] local.INFO: GPS data processed {"connection_id":166073,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:04:41] local.INFO: Acknowledgment sent {"connection_id":166073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:04:49] local.INFO: TCP Data received {"connection_id":164728,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0478055a0012d1967c0071fed70003701182d..."} 
[2026-08-28 14:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0478055a0012d1967c0071fed70003701182d..."} 
[2026-08-28 14:04:49] local.INFO: Processing buffer {"connection_id":164728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0478055a0012d1967c0071fed70003701182d..."} 
[2026-08-28 14:04:49] local.INFO: Packet analysis {"connection_id":164728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04780"} 
[2026-08-28 14:04:49] local.INFO: Extracted packet for processing {"connection_id":164728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04780"} 
[2026-08-28 14:04:49] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:04:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703927552001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:04:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:04:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:04:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:04:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787905988000,"timestamp_ms":1787905988000,"timestamp_seconds":1787905988,"priority":1,"record_length":96,"hex_timestamp":"000001a0478055a0"} 
[2026-08-28 14:04:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:04:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 14:04:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:04:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:04:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:04:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:04:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:04:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:04:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:04:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:04:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:04:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:04:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703927552001,"66":12461,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:04:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:04:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:04:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703927552001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:04:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:04:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:04:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:04:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:04:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703927552001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:04:49] local.INFO: DEBUG: GPS processor result {"connection_id":164728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707795,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:04:49] local.INFO: GPS data processed {"connection_id":164728,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:04:49] local.INFO: Acknowledgment sent {"connection_id":164728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:05:02] local.INFO: TCP Data received {"connection_id":166074,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166074,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:05:02] local.INFO: Processing buffer {"connection_id":166074,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:05:02] local.INFO: IMEI packet received {"connection_id":166074,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 14:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":166074,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:05:07] local.INFO: TCP Data received {"connection_id":166074,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166074,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:05:07] local.INFO: Processing buffer {"connection_id":166074,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:05:07] local.INFO: IMEI packet received {"connection_id":166074,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 14:05:07] local.INFO: IMEI acknowledgment sent {"connection_id":166074,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:05:08] local.INFO: TCP Data received {"connection_id":166074,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0478143e8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0478143e8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:05:08] local.INFO: Processing buffer {"connection_id":166074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0478143e8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:05:08] local.INFO: Packet analysis {"connection_id":166074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04781"} 
[2026-08-28 14:05:08] local.INFO: Extracted packet for processing {"connection_id":166074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04781"} 
[2026-08-28 14:05:08] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:05:08] 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-28 14:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703936256001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:05:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787906049000,"timestamp_ms":1787906049000,"timestamp_seconds":1787906049,"priority":1,"record_length":96,"hex_timestamp":"000001a0478143e8"} 
[2026-08-28 14:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:05:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":6144,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-28 14:05:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:05:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":166074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":166074,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":166074,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703936256001,"66":2198,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703936256001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:05:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:05:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703936256001,"power":2198,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":166074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707796,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:05:08] local.INFO: GPS data processed {"connection_id":166074,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:05:08] local.INFO: Acknowledgment sent {"connection_id":166074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:05:08] local.INFO: TCP Data received {"connection_id":163721,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0477dfff8012d34c14006aa4840000900e62a..."} 
[2026-08-28 14:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0477dfff8012d34c14006aa4840000900e62a..."} 
[2026-08-28 14:05:08] local.INFO: Processing buffer {"connection_id":163721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0477dfff8012d34c14006aa4840000900e62a..."} 
[2026-08-28 14:05:08] local.INFO: Packet analysis {"connection_id":163721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0477d"} 
[2026-08-28 14:05:08] local.INFO: Extracted packet for processing {"connection_id":163721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0477d"} 
[2026-08-28 14:05:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703816704001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:05:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787905835000,"timestamp_ms":1787905835000,"timestamp_seconds":1787905835,"priority":1,"record_length":96,"hex_timestamp":"000001a0477dfff8"} 
[2026-08-28 14:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:05: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-28 14:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:05:08] 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-28 14:05:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703816704001,"66":25125,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703816704001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:05:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:05:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:05: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-28 14:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703816704001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:05:09] local.INFO: DEBUG: GPS processor result {"connection_id":163721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:05:09] local.INFO: GPS data processed {"connection_id":163721,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:05:09] local.INFO: Acknowledgment sent {"connection_id":163721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:05:10] local.INFO: TCP Data received {"connection_id":163722,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:05:10] local.INFO: Processing buffer {"connection_id":163722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:05:10] local.INFO: IMEI packet received {"connection_id":163722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 14:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":163722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:05:11] local.INFO: TCP Data received {"connection_id":163722,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:05:11] local.INFO: Processing buffer {"connection_id":163722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:05:11] local.INFO: IMEI packet received {"connection_id":163722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 14:05:11] local.INFO: IMEI acknowledgment sent {"connection_id":163722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:05:13] local.INFO: TCP Data received {"connection_id":166074,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0478143e8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0478143e8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:05:13] local.INFO: Processing buffer {"connection_id":166074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0478143e8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:05:13] local.INFO: Packet analysis {"connection_id":166074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04781"} 
[2026-08-28 14:05:13] local.INFO: Extracted packet for processing {"connection_id":166074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04781"} 
[2026-08-28 14:05:13] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:05:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703948544001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:05:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:05:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:05:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:05:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787906049000,"timestamp_ms":1787906049000,"timestamp_seconds":1787906049,"priority":1,"record_length":96,"hex_timestamp":"000001a0478143e8"} 
[2026-08-28 14: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-28 14:05:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9472,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14: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":8,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-28 14:05:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14: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-28 14:05:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:05:13] local.INFO: Teltonika packet parsed successfully {"connection_id":166074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:05:13] local.INFO: Passing IMEI to GPS processor {"connection_id":166074,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:05:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":166074,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:05:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:05:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:05:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:05:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703948544001,"66":2198,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:05:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:05:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:05:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703948544001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:05:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:05:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:05:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:05:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:05:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703948544001,"power":2198,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:05:13] local.INFO: DEBUG: GPS processor result {"connection_id":166074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707798,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:05:13] local.INFO: GPS data processed {"connection_id":166074,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:05:13] local.INFO: Acknowledgment sent {"connection_id":166074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:05:16] local.INFO: TCP Data received {"connection_id":163722,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:05:16] local.INFO: Processing buffer {"connection_id":163722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:05:16] local.INFO: IMEI packet received {"connection_id":163722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 14:05:16] local.INFO: IMEI acknowledgment sent {"connection_id":163722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:05:17] local.INFO: TCP Data received {"connection_id":163722,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a04780a7a8012d1967c0071fed70003701182b..."} 
[2026-08-28 14:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04780a7a8012d1967c0071fed70003701182b..."} 
[2026-08-28 14:05:17] local.INFO: Processing buffer {"connection_id":163722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04780a7a8012d1967c0071fed70003701182b..."} 
[2026-08-28 14:05:17] local.INFO: Packet analysis {"connection_id":163722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04780"} 
[2026-08-28 14:05:17] local.INFO: Extracted packet for processing {"connection_id":163722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04780"} 
[2026-08-28 14:05:17] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:05:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703932928001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:05:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:05:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:05:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:05:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787906009000,"timestamp_ms":1787906009000,"timestamp_seconds":1787906009,"priority":1,"record_length":96,"hex_timestamp":"000001a04780a7a8"} 
[2026-08-28 14:05:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:05:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 14:05: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-28 14:05:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:05:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:05:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:05:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:05:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:05:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:05:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:05:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:05:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:05:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703932928001,"66":12461,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:05:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:05:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:05:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703932928001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:05:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:05:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:05:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:05:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:05:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703932928001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:05:17] 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":707799,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:05:17] local.INFO: GPS data processed {"connection_id":163722,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:05:17] local.INFO: Acknowledgment sent {"connection_id":163722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:05:36] local.INFO: TCP Data received {"connection_id":163451,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:05:36] local.INFO: Processing buffer {"connection_id":163451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:05:36] local.INFO: IMEI packet received {"connection_id":163451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 14:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":163451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:05:41] local.INFO: TCP Data received {"connection_id":163451,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:05:41] local.INFO: Processing buffer {"connection_id":163451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:05:41] local.INFO: IMEI packet received {"connection_id":163451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 14:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":163451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:05:42] local.INFO: TCP Data received {"connection_id":163451,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0477dfff8012d34c14006aa4840000900e62a..."} 
[2026-08-28 14:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0477dfff8012d34c14006aa4840000900e62a..."} 
[2026-08-28 14:05:42] local.INFO: Processing buffer {"connection_id":163451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0477dfff8012d34c14006aa4840000900e62a..."} 
[2026-08-28 14:05:42] local.INFO: Packet analysis {"connection_id":163451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0477d"} 
[2026-08-28 14:05:42] local.INFO: Extracted packet for processing {"connection_id":163451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0477d"} 
[2026-08-28 14:05:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703816704001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:05:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:05:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787905835000,"timestamp_ms":1787905835000,"timestamp_seconds":1787905835,"priority":1,"record_length":96,"hex_timestamp":"000001a0477dfff8"} 
[2026-08-28 14:05:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14: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-28 14:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:05: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-28 14:05:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:05:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:05:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703816704001,"66":25125,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703816704001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:05:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:05:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14: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-28 14:05:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703816704001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:05:42] 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":707800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:05:42] local.INFO: GPS data processed {"connection_id":163451,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:05:42] local.INFO: Acknowledgment sent {"connection_id":163451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:05:46] local.INFO: TCP Data received {"connection_id":163451,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0477dfff8012d34c14006aa4840000900e62a..."} 
[2026-08-28 14:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0477dfff8012d34c14006aa4840000900e62a..."} 
[2026-08-28 14:05:46] local.INFO: Processing buffer {"connection_id":163451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0477dfff8012d34c14006aa4840000900e62a..."} 
[2026-08-28 14:05:46] local.INFO: Packet analysis {"connection_id":163451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0477d"} 
[2026-08-28 14:05:46] local.INFO: Extracted packet for processing {"connection_id":163451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0477d"} 
[2026-08-28 14:05:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703816704001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:05:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:05:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:05:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:05:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787905835000,"timestamp_ms":1787905835000,"timestamp_seconds":1787905835,"priority":1,"record_length":96,"hex_timestamp":"000001a0477dfff8"} 
[2026-08-28 14: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-28 14: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-28 14: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":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:05: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-28 14: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-28 14: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-28 14:05:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:05:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:05:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:05:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:05:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:05:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:05:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:05:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703816704001,"66":25125,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:05:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:05:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:05:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703816704001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:05:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:05:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14: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-28 14:05:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:05:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703816704001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:05:46] 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":707801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:05:46] local.INFO: GPS data processed {"connection_id":163451,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:05:46] local.INFO: Acknowledgment sent {"connection_id":163451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:05:49] local.INFO: TCP Data received {"connection_id":163722,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a04780f9b0012d1967c0071fed70003701182c..."} 
[2026-08-28 14:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04780f9b0012d1967c0071fed70003701182c..."} 
[2026-08-28 14:05:49] local.INFO: Processing buffer {"connection_id":163722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04780f9b0012d1967c0071fed70003701182c..."} 
[2026-08-28 14:05:49] local.INFO: Packet analysis {"connection_id":163722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04780"} 
[2026-08-28 14:05:49] local.INFO: Extracted packet for processing {"connection_id":163722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04780"} 
[2026-08-28 14:05:49] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703938304001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:05:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:05:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787906030000,"timestamp_ms":1787906030000,"timestamp_seconds":1787906030,"priority":1,"record_length":96,"hex_timestamp":"000001a04780f9b0"} 
[2026-08-28 14:05:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:05:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 14:05:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:05:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:05:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:05:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703938304001,"66":12461,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703938304001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:05:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:05:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:05:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703938304001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:05:49] 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":707802,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:05:49] local.INFO: GPS data processed {"connection_id":163722,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:05:49] local.INFO: Acknowledgment sent {"connection_id":163722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:05:56] local.INFO: TCP Data received {"connection_id":164729,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164729,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:05:56] local.INFO: Processing buffer {"connection_id":164729,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:05:56] local.INFO: IMEI packet received {"connection_id":164729,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 14:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":164729,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:06:02] local.INFO: TCP Data received {"connection_id":164729,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164729,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:06:02] local.INFO: Processing buffer {"connection_id":164729,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:06:02] local.INFO: IMEI packet received {"connection_id":164729,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 14:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":164729,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:06:03] local.INFO: TCP Data received {"connection_id":164729,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0478143e8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0478143e8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:06:03] local.INFO: Processing buffer {"connection_id":164729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0478143e8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:06:03] local.INFO: Packet analysis {"connection_id":164729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04781"} 
[2026-08-28 14:06:03] local.INFO: Extracted packet for processing {"connection_id":164729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04781"} 
[2026-08-28 14:06:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703948544001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787906049000,"timestamp_ms":1787906049000,"timestamp_seconds":1787906049,"priority":1,"record_length":96,"hex_timestamp":"000001a0478143e8"} 
[2026-08-28 14:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:06:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9472,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-28 14:06:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:06:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":164729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":164729,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":164729,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:06:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703948544001,"66":2198,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703948544001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:06:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:06:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703948544001,"power":2198,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:06:03] 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":707803,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:06:03] local.INFO: GPS data processed {"connection_id":164729,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:06:03] local.INFO: Acknowledgment sent {"connection_id":164729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:06:11] local.INFO: TCP Data received {"connection_id":163723,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:06:11] local.INFO: Processing buffer {"connection_id":163723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:06:11] local.INFO: IMEI packet received {"connection_id":163723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 14:06:11] local.INFO: IMEI acknowledgment sent {"connection_id":163723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:06:13] local.INFO: TCP Data received {"connection_id":163723,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:06:13] local.INFO: Processing buffer {"connection_id":163723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:06:13] local.INFO: IMEI packet received {"connection_id":163723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 14:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":163723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:06:26] local.INFO: TCP Data received {"connection_id":163723,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:06:26] local.INFO: Processing buffer {"connection_id":163723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:06:26] local.INFO: IMEI packet received {"connection_id":163723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 14:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":163723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:06:28] local.INFO: TCP Data received {"connection_id":163723,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047814bb8012d1967c0071fed70003701182d..."} 
[2026-08-28 14:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047814bb8012d1967c0071fed70003701182d..."} 
[2026-08-28 14:06:28] local.INFO: Processing buffer {"connection_id":163723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047814bb8012d1967c0071fed70003701182d..."} 
[2026-08-28 14:06:28] local.INFO: Packet analysis {"connection_id":163723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04781"} 
[2026-08-28 14:06:28] local.INFO: Extracted packet for processing {"connection_id":163723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04781"} 
[2026-08-28 14:06:28] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:06:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703943680001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:06:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:06:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:06:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:06:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787906051000,"timestamp_ms":1787906051000,"timestamp_seconds":1787906051,"priority":1,"record_length":96,"hex_timestamp":"000001a047814bb8"} 
[2026-08-28 14:06:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:06:28] 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-28 14:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 14:06:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:06:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:06:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:06:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:06:28] local.INFO: Teltonika packet parsed successfully {"connection_id":163723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:06:28] local.INFO: Passing IMEI to GPS processor {"connection_id":163723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:06:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":163723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:06:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:06:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:06:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:06:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703943680001,"66":12461,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:06:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:06:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:06:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703943680001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:06:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:06:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:06:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:06:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:06:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703943680001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:06:28] local.INFO: DEBUG: GPS processor result {"connection_id":163723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707804,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:06:28] local.INFO: GPS data processed {"connection_id":163723,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:06:28] local.INFO: Acknowledgment sent {"connection_id":163723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:06:31] local.INFO: TCP Data received {"connection_id":163452,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:06:31] local.INFO: Processing buffer {"connection_id":163452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:06:31] local.INFO: IMEI packet received {"connection_id":163452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 14:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":163452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:06:35] local.INFO: TCP Data received {"connection_id":164729,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0478143e8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0478143e8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:06:35] local.INFO: Processing buffer {"connection_id":164729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0478143e8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:06:35] local.INFO: Packet analysis {"connection_id":164729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04781"} 
[2026-08-28 14:06:35] local.INFO: Extracted packet for processing {"connection_id":164729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04781"} 
[2026-08-28 14:06:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:06:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703948544001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:06:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:06:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:06:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:06:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787906049000,"timestamp_ms":1787906049000,"timestamp_seconds":1787906049,"priority":1,"record_length":96,"hex_timestamp":"000001a0478143e8"} 
[2026-08-28 14:06:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:06:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9472,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-28 14:06:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:06:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:06:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:06:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:06:35] local.INFO: Teltonika packet parsed successfully {"connection_id":164729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:06:35] local.INFO: Passing IMEI to GPS processor {"connection_id":164729,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:06:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":164729,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:06:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:06:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:06:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:06:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703948544001,"66":2198,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:06:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:06:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:06:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703948544001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:06:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:06:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:06:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:06:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:06:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703948544001,"power":2198,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:06:35] 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":707805,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:06:35] local.INFO: GPS data processed {"connection_id":164729,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:06:35] local.INFO: Acknowledgment sent {"connection_id":164729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:06:36] local.INFO: TCP Data received {"connection_id":163452,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:06:36] local.INFO: Processing buffer {"connection_id":163452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:06:36] local.INFO: IMEI packet received {"connection_id":163452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 14:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":163452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:06:37] local.INFO: TCP Data received {"connection_id":163452,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0478297c0012d34c14006aa4840000b00e62c..."} 
[2026-08-28 14:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0478297c0012d34c14006aa4840000b00e62c..."} 
[2026-08-28 14:06:37] local.INFO: Processing buffer {"connection_id":163452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0478297c0012d34c14006aa4840000b00e62c..."} 
[2026-08-28 14:06:37] local.INFO: Packet analysis {"connection_id":163452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04782"} 
[2026-08-28 14:06:37] local.INFO: Extracted packet for processing {"connection_id":163452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04782"} 
[2026-08-28 14:06:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703893760001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787906136000,"timestamp_ms":1787906136000,"timestamp_seconds":1787906136,"priority":1,"record_length":96,"hex_timestamp":"000001a0478297c0"} 
[2026-08-28 14:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-28 14:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703893760001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703893760001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:06:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:06:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:06: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-28 14:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703893760001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:06:37] 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":707806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:06:37] local.INFO: GPS data processed {"connection_id":163452,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:06:37] local.INFO: Acknowledgment sent {"connection_id":163452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:06:57] local.INFO: TCP Data received {"connection_id":166075,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166075,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:06:57] local.INFO: Processing buffer {"connection_id":166075,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:06:57] local.INFO: IMEI packet received {"connection_id":166075,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 14:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":166075,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:07:01] local.INFO: TCP Data received {"connection_id":166075,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166075,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:07:01] local.INFO: Processing buffer {"connection_id":166075,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:07:01] local.INFO: IMEI packet received {"connection_id":166075,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 14:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":166075,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:07:02] local.INFO: TCP Data received {"connection_id":166075,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0478143e8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0478143e8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:07:02] local.INFO: Processing buffer {"connection_id":166075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0478143e8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:07:02] local.INFO: Packet analysis {"connection_id":166075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04781"} 
[2026-08-28 14:07:02] local.INFO: Extracted packet for processing {"connection_id":166075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04781"} 
[2026-08-28 14:07:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:07:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:07:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703948544001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:07:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:07:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:07:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:07:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787906049000,"timestamp_ms":1787906049000,"timestamp_seconds":1787906049,"priority":1,"record_length":96,"hex_timestamp":"000001a0478143e8"} 
[2026-08-28 14:07:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:07:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9472,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:07:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-28 14:07:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:07:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:07:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:07:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:07:02] local.INFO: Teltonika packet parsed successfully {"connection_id":166075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:07:02] local.INFO: Passing IMEI to GPS processor {"connection_id":166075,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:07:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":166075,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:07:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:07:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:07:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:07:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703948544001,"66":2198,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:07:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:07:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:07:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703948544001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:07:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:07:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:07:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:07:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:07:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703948544001,"power":2198,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:07:02] local.INFO: DEBUG: GPS processor result {"connection_id":166075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707807,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:07:02] local.INFO: GPS data processed {"connection_id":166075,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:07:02] local.INFO: Acknowledgment sent {"connection_id":166075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:07:09] local.INFO: TCP Data received {"connection_id":163452,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0478297c0012d34c14006aa4840000b00e62c..."} 
[2026-08-28 14:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0478297c0012d34c14006aa4840000b00e62c..."} 
[2026-08-28 14:07:09] local.INFO: Processing buffer {"connection_id":163452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0478297c0012d34c14006aa4840000b00e62c..."} 
[2026-08-28 14:07:09] local.INFO: Packet analysis {"connection_id":163452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04782"} 
[2026-08-28 14:07:09] local.INFO: Extracted packet for processing {"connection_id":163452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04782"} 
[2026-08-28 14:07:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703893760001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:07:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787906136000,"timestamp_ms":1787906136000,"timestamp_seconds":1787906136,"priority":1,"record_length":96,"hex_timestamp":"000001a0478297c0"} 
[2026-08-28 14: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-28 14:07: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-28 14: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-28 14:07:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14: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-28 14:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:07:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703893760001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703893760001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:07:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:07:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:07: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-28 14:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703893760001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:07:09] 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":707808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:07:09] local.INFO: GPS data processed {"connection_id":163452,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:07:09] local.INFO: Acknowledgment sent {"connection_id":163452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:07:11] local.INFO: TCP Data received {"connection_id":164730,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:07:11] local.INFO: Processing buffer {"connection_id":164730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:07:11] local.INFO: IMEI packet received {"connection_id":164730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 14:07:11] local.INFO: IMEI acknowledgment sent {"connection_id":164730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:07:16] local.INFO: TCP Data received {"connection_id":164730,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:07:16] local.INFO: Processing buffer {"connection_id":164730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:07:16] local.INFO: IMEI packet received {"connection_id":164730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 14:07:16] local.INFO: IMEI acknowledgment sent {"connection_id":164730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:07:18] local.INFO: TCP Data received {"connection_id":164730,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047819dc0012d1967c0071fed70003701182b..."} 
[2026-08-28 14:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047819dc0012d1967c0071fed70003701182b..."} 
[2026-08-28 14:07:18] local.INFO: Processing buffer {"connection_id":164730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047819dc0012d1967c0071fed70003701182b..."} 
[2026-08-28 14:07:18] local.INFO: Packet analysis {"connection_id":164730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04781"} 
[2026-08-28 14:07:18] local.INFO: Extracted packet for processing {"connection_id":164730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04781"} 
[2026-08-28 14:07:18] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:07:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703949056001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:07:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:07:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:07:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:07:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787906072000,"timestamp_ms":1787906072000,"timestamp_seconds":1787906072,"priority":1,"record_length":96,"hex_timestamp":"000001a047819dc0"} 
[2026-08-28 14:07:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:07:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 14:07:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:07:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:07:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:07:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:07:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:07:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:07:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:07:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:07:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:07:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:07:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703949056001,"66":11721,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:07:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:07:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:07:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703949056001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:07:18] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:07:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:07:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:07:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:07:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703949056001,"power":11721,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:07:18] 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":707809,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:07:18] local.INFO: GPS data processed {"connection_id":164730,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:07:18] local.INFO: Acknowledgment sent {"connection_id":164730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:07:31] local.INFO: TCP Data received {"connection_id":163724,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:07:31] local.INFO: Processing buffer {"connection_id":163724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:07:31] local.INFO: IMEI packet received {"connection_id":163724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 14:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":163724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:07:34] local.INFO: TCP Data received {"connection_id":166075,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0478143e8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0478143e8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:07:34] local.INFO: Processing buffer {"connection_id":166075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0478143e8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:07:34] local.INFO: Packet analysis {"connection_id":166075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04781"} 
[2026-08-28 14:07:34] local.INFO: Extracted packet for processing {"connection_id":166075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04781"} 
[2026-08-28 14:07:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:07:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703948544001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:07:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:07:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:07:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:07:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787906049000,"timestamp_ms":1787906049000,"timestamp_seconds":1787906049,"priority":1,"record_length":96,"hex_timestamp":"000001a0478143e8"} 
[2026-08-28 14:07:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:07:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9472,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-28 14:07:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:07:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:07:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:07:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:07:34] local.INFO: Teltonika packet parsed successfully {"connection_id":166075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:07:34] local.INFO: Passing IMEI to GPS processor {"connection_id":166075,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:07:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":166075,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:07:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:07:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:07:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:07:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703948544001,"66":2198,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:07:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:07:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:07:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703948544001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:07:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:07:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:07:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:07:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:07:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703948544001,"power":2198,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:07:34] local.INFO: DEBUG: GPS processor result {"connection_id":166075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707810,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:07:34] local.INFO: GPS data processed {"connection_id":166075,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:07:34] local.INFO: Acknowledgment sent {"connection_id":166075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:07:36] local.INFO: TCP Data received {"connection_id":163724,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:07:36] local.INFO: Processing buffer {"connection_id":163724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:07:36] local.INFO: IMEI packet received {"connection_id":163724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 14:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":163724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:07:38] local.INFO: TCP Data received {"connection_id":163724,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0478297c0012d34c14006aa4840000b00e62c..."} 
[2026-08-28 14:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0478297c0012d34c14006aa4840000b00e62c..."} 
[2026-08-28 14:07:38] local.INFO: Processing buffer {"connection_id":163724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0478297c0012d34c14006aa4840000b00e62c..."} 
[2026-08-28 14:07:38] local.INFO: Packet analysis {"connection_id":163724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04782"} 
[2026-08-28 14:07:38] local.INFO: Extracted packet for processing {"connection_id":163724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04782"} 
[2026-08-28 14:07:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703893760001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:07:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787906136000,"timestamp_ms":1787906136000,"timestamp_seconds":1787906136,"priority":1,"record_length":96,"hex_timestamp":"000001a0478297c0"} 
[2026-08-28 14:07:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:07: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-28 14:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-28 14:07:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:07:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:07:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:07:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703893760001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703893760001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:07:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:07:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:07: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-28 14:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703893760001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:07:38] 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":707811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:07:38] local.INFO: GPS data processed {"connection_id":163724,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:07:38] local.INFO: Acknowledgment sent {"connection_id":163724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:07:50] local.INFO: TCP Data received {"connection_id":164730,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a04781efc8012d1967c0071fed70003701182c..."} 
[2026-08-28 14:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04781efc8012d1967c0071fed70003701182c..."} 
[2026-08-28 14:07:50] local.INFO: Processing buffer {"connection_id":164730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04781efc8012d1967c0071fed70003701182c..."} 
[2026-08-28 14:07:50] local.INFO: Packet analysis {"connection_id":164730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04781"} 
[2026-08-28 14:07:50] local.INFO: Extracted packet for processing {"connection_id":164730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04781"} 
[2026-08-28 14:07:50] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:07:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703954432001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:07:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:07:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:07:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:07:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787906093000,"timestamp_ms":1787906093000,"timestamp_seconds":1787906093,"priority":1,"record_length":96,"hex_timestamp":"000001a04781efc8"} 
[2026-08-28 14: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-28 14:07:50] 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-28 14: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":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-28 14:07:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2232,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14: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-28 14:07:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:07:50] local.INFO: Teltonika packet parsed successfully {"connection_id":164730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:07:50] local.INFO: Passing IMEI to GPS processor {"connection_id":164730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:07:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":164730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:07:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:07:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:07:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:07:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703954432001,"66":12461,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:07:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:07:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:07:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703954432001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:07:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:07:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:07:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:07:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:07:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703954432001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:07:50] 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":707812,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:07:50] local.INFO: GPS data processed {"connection_id":164730,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:07:50] local.INFO: Acknowledgment sent {"connection_id":164730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:07:56] local.INFO: TCP Data received {"connection_id":166076,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166076,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:07:56] local.INFO: Processing buffer {"connection_id":166076,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:07:56] local.INFO: IMEI packet received {"connection_id":166076,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 14:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":166076,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:08:02] local.INFO: TCP Data received {"connection_id":166076,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166076,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:08:02] local.INFO: Processing buffer {"connection_id":166076,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:08:02] local.INFO: IMEI packet received {"connection_id":166076,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 14:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":166076,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:08:03] local.INFO: TCP Data received {"connection_id":166076,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0478143e8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0478143e8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:08:03] local.INFO: Processing buffer {"connection_id":166076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0478143e8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:08:03] local.INFO: Packet analysis {"connection_id":166076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04781"} 
[2026-08-28 14:08:03] local.INFO: Extracted packet for processing {"connection_id":166076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04781"} 
[2026-08-28 14:08:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703948544001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:08:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787906049000,"timestamp_ms":1787906049000,"timestamp_seconds":1787906049,"priority":1,"record_length":96,"hex_timestamp":"000001a0478143e8"} 
[2026-08-28 14:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:08:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9472,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-28 14:08:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:08:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":166076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":166076,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":166076,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703948544001,"66":2198,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703948544001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:08:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:08:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703948544001,"power":2198,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":166076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707813,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:08:03] local.INFO: GPS data processed {"connection_id":166076,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:08:03] local.INFO: Acknowledgment sent {"connection_id":166076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:08:09] local.INFO: TCP Data received {"connection_id":163724,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0478297c0012d34c14006aa4840000b00e62c..."} 
[2026-08-28 14:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0478297c0012d34c14006aa4840000b00e62c..."} 
[2026-08-28 14:08:09] local.INFO: Processing buffer {"connection_id":163724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0478297c0012d34c14006aa4840000b00e62c..."} 
[2026-08-28 14:08:09] local.INFO: Packet analysis {"connection_id":163724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04782"} 
[2026-08-28 14:08:09] local.INFO: Extracted packet for processing {"connection_id":163724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04782"} 
[2026-08-28 14:08:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703893760001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:08:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:08:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787906136000,"timestamp_ms":1787906136000,"timestamp_seconds":1787906136,"priority":1,"record_length":96,"hex_timestamp":"000001a0478297c0"} 
[2026-08-28 14:08:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:08: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-28 14:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-28 14:08:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:08:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:08:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:08:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703893760001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703893760001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:08:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:08:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:08: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-28 14:08:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703893760001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:08:09] 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":707814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:08:09] local.INFO: GPS data processed {"connection_id":163724,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:08:09] local.INFO: Acknowledgment sent {"connection_id":163724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:08:16] local.INFO: TCP Data received {"connection_id":164731,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:08:16] local.INFO: Processing buffer {"connection_id":164731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:08:16] local.INFO: IMEI packet received {"connection_id":164731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 14:08:16] local.INFO: IMEI acknowledgment sent {"connection_id":164731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:08:19] local.INFO: TCP Data received {"connection_id":164731,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:08:19] local.INFO: Processing buffer {"connection_id":164731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:08:19] local.INFO: IMEI packet received {"connection_id":164731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 14:08:19] local.INFO: IMEI acknowledgment sent {"connection_id":164731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:08:20] local.INFO: TCP Data received {"connection_id":164731,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0478241d0012d1967c0071fed70003701182a..."} 
[2026-08-28 14:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0478241d0012d1967c0071fed70003701182a..."} 
[2026-08-28 14:08:20] local.INFO: Processing buffer {"connection_id":164731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0478241d0012d1967c0071fed70003701182a..."} 
[2026-08-28 14:08:20] local.INFO: Packet analysis {"connection_id":164731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04782"} 
[2026-08-28 14:08:20] local.INFO: Extracted packet for processing {"connection_id":164731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04782"} 
[2026-08-28 14:08:20] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:08:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703959808001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:08:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:08:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:08:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:08:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787906114000,"timestamp_ms":1787906114000,"timestamp_seconds":1787906114,"priority":1,"record_length":96,"hex_timestamp":"000001a0478241d0"} 
[2026-08-28 14:08:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:08:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 14:08:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:08:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:08:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:08:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:08:20] local.INFO: Teltonika packet parsed successfully {"connection_id":164731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:08:20] local.INFO: Passing IMEI to GPS processor {"connection_id":164731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:08:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":164731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:08:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:08:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:08:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:08:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703959808001,"66":12406,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:08:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:08:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:08:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703959808001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:08:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:08:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:08:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:08:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:08:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703959808001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:08:20] local.INFO: DEBUG: GPS processor result {"connection_id":164731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707815,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:08:20] local.INFO: GPS data processed {"connection_id":164731,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:08:20] local.INFO: Acknowledgment sent {"connection_id":164731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:08:22] local.INFO: TCP Data received {"connection_id":164731,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0478293d8012d1967c0071fed700037011829..."} 
[2026-08-28 14:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0478293d8012d1967c0071fed700037011829..."} 
[2026-08-28 14:08:22] local.INFO: Processing buffer {"connection_id":164731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0478293d8012d1967c0071fed700037011829..."} 
[2026-08-28 14:08:22] local.INFO: Packet analysis {"connection_id":164731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04782"} 
[2026-08-28 14:08:22] local.INFO: Extracted packet for processing {"connection_id":164731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04782"} 
[2026-08-28 14:08:22] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:08:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703965184001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:08:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:08:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:08:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:08:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787906135000,"timestamp_ms":1787906135000,"timestamp_seconds":1787906135,"priority":1,"record_length":96,"hex_timestamp":"000001a0478293d8"} 
[2026-08-28 14: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-28 14:08:22] 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-28 14: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 14:08:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14: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-28 14:08:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:08:22] local.INFO: Teltonika packet parsed successfully {"connection_id":164731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:08:22] local.INFO: Passing IMEI to GPS processor {"connection_id":164731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:08:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":164731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:08:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:08:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:08:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:08:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703965184001,"66":12406,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:08:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:08:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:08:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703965184001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:08:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:08:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:08:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:08:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:08:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703965184001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:08:22] local.INFO: DEBUG: GPS processor result {"connection_id":164731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707816,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:08:22] local.INFO: GPS data processed {"connection_id":164731,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:08:22] local.INFO: Acknowledgment sent {"connection_id":164731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:08:30] local.INFO: TCP Data received {"connection_id":163453,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:08:30] local.INFO: Processing buffer {"connection_id":163453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:08:30] local.INFO: IMEI packet received {"connection_id":163453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 14:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":163453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:08:35] local.INFO: TCP Data received {"connection_id":166076,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0478143e8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0478143e8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:08:35] local.INFO: Processing buffer {"connection_id":166076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0478143e8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:08:35] local.INFO: Packet analysis {"connection_id":166076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04781"} 
[2026-08-28 14:08:35] local.INFO: Extracted packet for processing {"connection_id":166076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04781"} 
[2026-08-28 14:08:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:08:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703948544001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:08:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:08:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:08:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:08:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787906049000,"timestamp_ms":1787906049000,"timestamp_seconds":1787906049,"priority":1,"record_length":96,"hex_timestamp":"000001a0478143e8"} 
[2026-08-28 14:08:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:08:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9472,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-28 14:08:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:08:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:08:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:08:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:08:35] local.INFO: Teltonika packet parsed successfully {"connection_id":166076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:08:35] local.INFO: Passing IMEI to GPS processor {"connection_id":166076,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:08:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":166076,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:08:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:08:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:08:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:08:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703948544001,"66":2198,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:08:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:08:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:08:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703948544001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:08:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:08:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:08:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:08:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:08:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703948544001,"power":2198,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:08:35] local.INFO: DEBUG: GPS processor result {"connection_id":166076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707817,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:08:35] local.INFO: GPS data processed {"connection_id":166076,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:08:35] local.INFO: Acknowledgment sent {"connection_id":166076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:08:36] local.INFO: TCP Data received {"connection_id":163453,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:08:36] local.INFO: Processing buffer {"connection_id":163453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:08:36] local.INFO: IMEI packet received {"connection_id":163453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 14:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":163453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:08:37] local.INFO: TCP Data received {"connection_id":163453,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0478297c0012d34c14006aa4840000b00e62c..."} 
[2026-08-28 14:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0478297c0012d34c14006aa4840000b00e62c..."} 
[2026-08-28 14:08:37] local.INFO: Processing buffer {"connection_id":163453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0478297c0012d34c14006aa4840000b00e62c..."} 
[2026-08-28 14:08:37] local.INFO: Packet analysis {"connection_id":163453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04782"} 
[2026-08-28 14:08:37] local.INFO: Extracted packet for processing {"connection_id":163453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04782"} 
[2026-08-28 14:08:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703893760001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787906136000,"timestamp_ms":1787906136000,"timestamp_seconds":1787906136,"priority":1,"record_length":96,"hex_timestamp":"000001a0478297c0"} 
[2026-08-28 14: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-28 14:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-28 14:08:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14: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-28 14:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:08:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703893760001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703893760001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:08:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:08:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:08: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-28 14:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703893760001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":163453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:08:37] local.INFO: GPS data processed {"connection_id":163453,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:08:37] local.INFO: Acknowledgment sent {"connection_id":163453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:08:53] local.INFO: TCP Data received {"connection_id":164731,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a04782e5e0012d1967c0071fed70003701182b..."} 
[2026-08-28 14:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04782e5e0012d1967c0071fed70003701182b..."} 
[2026-08-28 14:08:53] local.INFO: Processing buffer {"connection_id":164731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04782e5e0012d1967c0071fed70003701182b..."} 
[2026-08-28 14:08:53] local.INFO: Packet analysis {"connection_id":164731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04782"} 
[2026-08-28 14:08:53] local.INFO: Extracted packet for processing {"connection_id":164731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04782"} 
[2026-08-28 14:08:53] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:08:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703970560001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:08:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:08:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:08:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:08:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787906156000,"timestamp_ms":1787906156000,"timestamp_seconds":1787906156,"priority":1,"record_length":96,"hex_timestamp":"000001a04782e5e0"} 
[2026-08-28 14: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-28 14:08:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 14:08:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14: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-28 14:08:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:08:53] local.INFO: Teltonika packet parsed successfully {"connection_id":164731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:08:53] local.INFO: Passing IMEI to GPS processor {"connection_id":164731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:08:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":164731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:08:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:08:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:08:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:08:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703970560001,"66":12428,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:08:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:08:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:08:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703970560001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:08:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:08:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:08:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:08:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:08:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703970560001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:08:53] local.INFO: DEBUG: GPS processor result {"connection_id":164731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707819,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:08:53] local.INFO: GPS data processed {"connection_id":164731,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:08:53] local.INFO: Acknowledgment sent {"connection_id":164731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:08:56] local.INFO: TCP Data received {"connection_id":163454,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163454,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:08:56] local.INFO: Processing buffer {"connection_id":163454,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:08:56] local.INFO: IMEI packet received {"connection_id":163454,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 14:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":163454,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:09:01] local.INFO: TCP Data received {"connection_id":163454,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163454,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:09:01] local.INFO: Processing buffer {"connection_id":163454,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:09:01] local.INFO: IMEI packet received {"connection_id":163454,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 14:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":163454,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:09:01] local.INFO: TCP Data received {"connection_id":163454,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163454,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:09:01] local.INFO: Processing buffer {"connection_id":163454,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:09:01] local.INFO: IMEI packet received {"connection_id":163454,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 14:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":163454,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:09:02] local.INFO: TCP Data received {"connection_id":163454,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047852030012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047852030012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:09:02] local.INFO: Processing buffer {"connection_id":163454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047852030012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:09:02] local.INFO: Packet analysis {"connection_id":163454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04785"} 
[2026-08-28 14:09:02] local.INFO: Extracted packet for processing {"connection_id":163454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04785"} 
[2026-08-28 14:09:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:09:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703948544001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:09:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:09:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:09:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:09:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787906302000,"timestamp_ms":1787906302000,"timestamp_seconds":1787906302,"priority":1,"record_length":96,"hex_timestamp":"000001a047852030"} 
[2026-08-28 14:09:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:09:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9472,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-28 14:09:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:09:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:09:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:09:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:09:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:09:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163454,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:09:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163454,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:09:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:09:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:09:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:09:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703948544001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:09:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:09:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:09:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703948544001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:09:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:09:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:09:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:09:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:09:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703948544001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:09:02] 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":707820,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:09:02] local.INFO: GPS data processed {"connection_id":163454,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:09:02] local.INFO: Acknowledgment sent {"connection_id":163454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:09:07] local.INFO: TCP Data received {"connection_id":163454,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047852030012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047852030012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:09:07] local.INFO: Processing buffer {"connection_id":163454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047852030012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:09:07] local.INFO: Packet analysis {"connection_id":163454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04785"} 
[2026-08-28 14:09:07] local.INFO: Extracted packet for processing {"connection_id":163454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04785"} 
[2026-08-28 14:09:07] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703948544001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:09:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787906302000,"timestamp_ms":1787906302000,"timestamp_seconds":1787906302,"priority":1,"record_length":96,"hex_timestamp":"000001a047852030"} 
[2026-08-28 14: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-28 14:09:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9472,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14: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":8,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-28 14:09:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14: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-28 14:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":163454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":163454,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":163454,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:09:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703948544001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703948544001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:09:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:09:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703948544001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:09:07] 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":707821,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:09:07] local.INFO: GPS data processed {"connection_id":163454,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:09:07] local.INFO: Acknowledgment sent {"connection_id":163454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:09:09] local.INFO: TCP Data received {"connection_id":163453,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0478297c0012d34c14006aa4840000b00e62c..."} 
[2026-08-28 14:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0478297c0012d34c14006aa4840000b00e62c..."} 
[2026-08-28 14:09:09] local.INFO: Processing buffer {"connection_id":163453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0478297c0012d34c14006aa4840000b00e62c..."} 
[2026-08-28 14:09:09] local.INFO: Packet analysis {"connection_id":163453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04782"} 
[2026-08-28 14:09:09] local.INFO: Extracted packet for processing {"connection_id":163453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04782"} 
[2026-08-28 14:09:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703893760001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:09:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:09:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:09:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:09:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787906136000,"timestamp_ms":1787906136000,"timestamp_seconds":1787906136,"priority":1,"record_length":96,"hex_timestamp":"000001a0478297c0"} 
[2026-08-28 14:09:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:09: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-28 14:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-28 14:09:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:09:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:09:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:09:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:09:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:09:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:09:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:09:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:09:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:09:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:09:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703893760001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:09:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:09:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:09:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703893760001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:09:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:09:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:09: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-28 14:09:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:09:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703893760001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":163453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:09:09] local.INFO: GPS data processed {"connection_id":163453,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:09:09] local.INFO: Acknowledgment sent {"connection_id":163453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:09:11] local.INFO: TCP Data received {"connection_id":166077,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:09:11] local.INFO: Processing buffer {"connection_id":166077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:09:11] local.INFO: IMEI packet received {"connection_id":166077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 14:09:11] local.INFO: IMEI acknowledgment sent {"connection_id":166077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:09:16] local.INFO: TCP Data received {"connection_id":166077,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:09:16] local.INFO: Processing buffer {"connection_id":166077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:09:16] local.INFO: IMEI packet received {"connection_id":166077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 14:09:16] local.INFO: IMEI acknowledgment sent {"connection_id":166077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:09:17] local.INFO: TCP Data received {"connection_id":166077,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0478337e8012d1967c0071fed70003701182d..."} 
[2026-08-28 14:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0478337e8012d1967c0071fed70003701182d..."} 
[2026-08-28 14:09:17] local.INFO: Processing buffer {"connection_id":166077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0478337e8012d1967c0071fed70003701182d..."} 
[2026-08-28 14:09:17] local.INFO: Packet analysis {"connection_id":166077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04783"} 
[2026-08-28 14:09:17] local.INFO: Extracted packet for processing {"connection_id":166077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04783"} 
[2026-08-28 14:09:17] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:09:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703975936001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:09:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:09:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:09:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:09:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787906177000,"timestamp_ms":1787906177000,"timestamp_seconds":1787906177,"priority":1,"record_length":96,"hex_timestamp":"000001a0478337e8"} 
[2026-08-28 14: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-28 14:09:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-28 14:09:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14: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-28 14:09:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:09:17] local.INFO: Teltonika packet parsed successfully {"connection_id":166077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:09:17] local.INFO: Passing IMEI to GPS processor {"connection_id":166077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:09:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":166077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:09:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:09:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:09:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:09:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703975936001,"66":12385,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:09:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:09:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:09:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703975936001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:09:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:09:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:09:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:09:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:09:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703975936001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:09:17] local.INFO: DEBUG: GPS processor result {"connection_id":166077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707823,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:09:17] local.INFO: GPS data processed {"connection_id":166077,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:09:17] local.INFO: Acknowledgment sent {"connection_id":166077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:09:36] local.INFO: TCP Data received {"connection_id":164732,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:09:36] local.INFO: Processing buffer {"connection_id":164732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:09:36] local.INFO: IMEI packet received {"connection_id":164732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 14:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":164732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:09:39] local.INFO: TCP Data received {"connection_id":163454,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047852030012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047852030012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:09:39] local.INFO: Processing buffer {"connection_id":163454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047852030012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:09:39] local.INFO: Packet analysis {"connection_id":163454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04785"} 
[2026-08-28 14:09:39] local.INFO: Extracted packet for processing {"connection_id":163454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04785"} 
[2026-08-28 14:09:39] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:09:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703948544001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:09:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:09:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:09:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:09:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787906302000,"timestamp_ms":1787906302000,"timestamp_seconds":1787906302,"priority":1,"record_length":96,"hex_timestamp":"000001a047852030"} 
[2026-08-28 14:09:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:09:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9472,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-28 14:09:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:09:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:09:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:09:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:09:39] local.INFO: Teltonika packet parsed successfully {"connection_id":163454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:09:39] local.INFO: Passing IMEI to GPS processor {"connection_id":163454,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:09:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":163454,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:09:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:09:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:09:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:09:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703948544001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:09:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:09:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:09:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703948544001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:09:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:09:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:09:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:09:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:09:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703948544001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:09:40] 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":707824,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:09:40] local.INFO: GPS data processed {"connection_id":163454,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:09:40] local.INFO: Acknowledgment sent {"connection_id":163454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:09:41] local.INFO: TCP Data received {"connection_id":164732,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:09:41] local.INFO: Processing buffer {"connection_id":164732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:09:41] local.INFO: IMEI packet received {"connection_id":164732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 14:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":164732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:09:43] local.INFO: TCP Data received {"connection_id":164732,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0478297c0012d34c14006aa4840000b00e62c..."} 
[2026-08-28 14:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0478297c0012d34c14006aa4840000b00e62c..."} 
[2026-08-28 14:09:43] local.INFO: Processing buffer {"connection_id":164732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0478297c0012d34c14006aa4840000b00e62c..."} 
[2026-08-28 14:09:43] local.INFO: Packet analysis {"connection_id":164732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04782"} 
[2026-08-28 14:09:43] local.INFO: Extracted packet for processing {"connection_id":164732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04782"} 
[2026-08-28 14:09:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 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-28 14:09:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703893760001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:09:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:09:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:09:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:09:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787906136000,"timestamp_ms":1787906136000,"timestamp_seconds":1787906136,"priority":1,"record_length":96,"hex_timestamp":"000001a0478297c0"} 
[2026-08-28 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-28 14: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-28 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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-28 14:09:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 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-28 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-28 14:09:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:09:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:09:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:09:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:09:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:09:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:09:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:09:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703893760001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:09:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:09:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:09:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703893760001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:09:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:09:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 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-28 14:09:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:09:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703893760001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:09:43] 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":707825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:09:43] local.INFO: GPS data processed {"connection_id":164732,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:09:43] local.INFO: Acknowledgment sent {"connection_id":164732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:09:46] local.INFO: TCP Data received {"connection_id":164732,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0478297c0012d34c14006aa4840000b00e62c..."} 
[2026-08-28 14:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0478297c0012d34c14006aa4840000b00e62c..."} 
[2026-08-28 14:09:46] local.INFO: Processing buffer {"connection_id":164732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0478297c0012d34c14006aa4840000b00e62c..."} 
[2026-08-28 14:09:46] local.INFO: Packet analysis {"connection_id":164732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04782"} 
[2026-08-28 14:09:46] local.INFO: Extracted packet for processing {"connection_id":164732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04782"} 
[2026-08-28 14:09:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703893760001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:09:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:09:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787906136000,"timestamp_ms":1787906136000,"timestamp_seconds":1787906136,"priority":1,"record_length":96,"hex_timestamp":"000001a0478297c0"} 
[2026-08-28 14:09:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:09: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-28 14:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-28 14:09:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:09:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:09:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:09:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:09:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703893760001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:09:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:09:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:09:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703893760001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:09:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:09:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:09: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-28 14:09:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:09:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703893760001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:09:46] 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":707826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:09:46] local.INFO: GPS data processed {"connection_id":164732,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:09:46] local.INFO: Acknowledgment sent {"connection_id":164732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:09:49] local.INFO: TCP Data received {"connection_id":166077,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0478389f0012d1967c0071fed70003701182a..."} 
[2026-08-28 14:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0478389f0012d1967c0071fed70003701182a..."} 
[2026-08-28 14:09:49] local.INFO: Processing buffer {"connection_id":166077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0478389f0012d1967c0071fed70003701182a..."} 
[2026-08-28 14:09:49] local.INFO: Packet analysis {"connection_id":166077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04783"} 
[2026-08-28 14:09:49] local.INFO: Extracted packet for processing {"connection_id":166077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04783"} 
[2026-08-28 14:09:49] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:09:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703981312001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:09:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:09:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:09:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:09:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787906198000,"timestamp_ms":1787906198000,"timestamp_seconds":1787906198,"priority":1,"record_length":96,"hex_timestamp":"000001a0478389f0"} 
[2026-08-28 14: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-28 14:09:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 14:09:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14: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-28 14:09:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:09:49] local.INFO: Teltonika packet parsed successfully {"connection_id":166077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:09:49] local.INFO: Passing IMEI to GPS processor {"connection_id":166077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:09:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":166077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:09:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:09:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:09:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:09:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703981312001,"66":12428,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:09:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:09:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:09:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703981312001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:09:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:09:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:09:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:09:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:09:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703981312001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:09:49] local.INFO: DEBUG: GPS processor result {"connection_id":166077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707827,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:09:49] local.INFO: GPS data processed {"connection_id":166077,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:09:49] local.INFO: Acknowledgment sent {"connection_id":166077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:10:02] local.INFO: TCP Data received {"connection_id":163725,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163725,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:10:02] local.INFO: Processing buffer {"connection_id":163725,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:10:02] local.INFO: IMEI packet received {"connection_id":163725,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 14:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":163725,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:10:07] local.INFO: TCP Data received {"connection_id":163725,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163725,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:10:07] local.INFO: Processing buffer {"connection_id":163725,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:10:07] local.INFO: IMEI packet received {"connection_id":163725,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 14:10:07] local.INFO: IMEI acknowledgment sent {"connection_id":163725,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:10:08] local.INFO: TCP Data received {"connection_id":163725,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047852030012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047852030012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:10:08] local.INFO: Processing buffer {"connection_id":163725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047852030012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:10:08] local.INFO: Packet analysis {"connection_id":163725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04785"} 
[2026-08-28 14:10:08] local.INFO: Extracted packet for processing {"connection_id":163725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04785"} 
[2026-08-28 14:10:08] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703948544001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:10:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787906302000,"timestamp_ms":1787906302000,"timestamp_seconds":1787906302,"priority":1,"record_length":96,"hex_timestamp":"000001a047852030"} 
[2026-08-28 14:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:10:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9472,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-28 14:10:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:10:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163725,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163725,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:10:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703948544001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703948544001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:10:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:10:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703948544001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:10:08] 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":707828,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:10:08] local.INFO: GPS data processed {"connection_id":163725,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:10:08] local.INFO: Acknowledgment sent {"connection_id":163725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:10:11] local.INFO: TCP Data received {"connection_id":163726,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:10:11] local.INFO: Processing buffer {"connection_id":163726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:10:11] local.INFO: IMEI packet received {"connection_id":163726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 14:10:11] local.INFO: IMEI acknowledgment sent {"connection_id":163726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:10:12] local.INFO: TCP Data received {"connection_id":163725,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047852030012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047852030012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:10:12] local.INFO: Processing buffer {"connection_id":163725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047852030012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:10:12] local.INFO: Packet analysis {"connection_id":163725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04785"} 
[2026-08-28 14:10:12] local.INFO: Extracted packet for processing {"connection_id":163725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04785"} 
[2026-08-28 14:10:12] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:10:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703948544001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:10:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:10:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:10:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:10:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787906302000,"timestamp_ms":1787906302000,"timestamp_seconds":1787906302,"priority":1,"record_length":96,"hex_timestamp":"000001a047852030"} 
[2026-08-28 14:10:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:10:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9472,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-28 14:10:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:10:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:10:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":163725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":163725,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":163725,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:10:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:10:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703948544001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:10:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:10:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:10:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703948544001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:10:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:10:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:10:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:10:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:10:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703948544001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:10:12] 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":707829,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:10:12] local.INFO: GPS data processed {"connection_id":163725,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:10:12] local.INFO: Acknowledgment sent {"connection_id":163725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:10:16] local.INFO: TCP Data received {"connection_id":163726,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:10:16] local.INFO: Processing buffer {"connection_id":163726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:10:16] local.INFO: IMEI packet received {"connection_id":163726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 14:10:16] local.INFO: IMEI acknowledgment sent {"connection_id":163726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:10:17] local.INFO: TCP Data received {"connection_id":163726,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a04783dbf8012d1967c0071fed70003701182e..."} 
[2026-08-28 14:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04783dbf8012d1967c0071fed70003701182e..."} 
[2026-08-28 14:10:17] local.INFO: Processing buffer {"connection_id":163726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04783dbf8012d1967c0071fed70003701182e..."} 
[2026-08-28 14:10:17] local.INFO: Packet analysis {"connection_id":163726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04783"} 
[2026-08-28 14:10:17] local.INFO: Extracted packet for processing {"connection_id":163726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04783"} 
[2026-08-28 14:10:17] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:10:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703986688001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:10:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:10:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:10:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:10:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787906219000,"timestamp_ms":1787906219000,"timestamp_seconds":1787906219,"priority":1,"record_length":96,"hex_timestamp":"000001a04783dbf8"} 
[2026-08-28 14:10:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:10:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-28 14:10:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:10:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:10:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:10:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:10:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:10:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:10:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:10:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:10:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:10:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:10:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703986688001,"66":12428,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:10:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:10:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:10:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703986688001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:10:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:10:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:10:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:10:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:10:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703986688001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:10:17] local.INFO: DEBUG: GPS processor result {"connection_id":163726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707830,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:10:17] local.INFO: GPS data processed {"connection_id":163726,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:10:17] local.INFO: Acknowledgment sent {"connection_id":163726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:10:31] local.INFO: TCP Data received {"connection_id":164733,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:10:31] local.INFO: Processing buffer {"connection_id":164733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:10:31] local.INFO: IMEI packet received {"connection_id":164733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 14:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":164733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:10:36] local.INFO: TCP Data received {"connection_id":164733,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:10:36] local.INFO: Processing buffer {"connection_id":164733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:10:36] local.INFO: IMEI packet received {"connection_id":164733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 14:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":164733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:10:37] local.INFO: TCP Data received {"connection_id":164733,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0478297c0012d34c14006aa4840000b00e62c..."} 
[2026-08-28 14:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0478297c0012d34c14006aa4840000b00e62c..."} 
[2026-08-28 14:10:37] local.INFO: Processing buffer {"connection_id":164733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0478297c0012d34c14006aa4840000b00e62c..."} 
[2026-08-28 14:10:37] local.INFO: Packet analysis {"connection_id":164733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04782"} 
[2026-08-28 14:10:37] local.INFO: Extracted packet for processing {"connection_id":164733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04782"} 
[2026-08-28 14:10:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703893760001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787906136000,"timestamp_ms":1787906136000,"timestamp_seconds":1787906136,"priority":1,"record_length":96,"hex_timestamp":"000001a0478297c0"} 
[2026-08-28 14:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-28 14:10:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703893760001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703893760001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:10:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:10:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:10: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-28 14:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703893760001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:10:37] 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":707831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:10:37] local.INFO: GPS data processed {"connection_id":164733,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:10:37] local.INFO: Acknowledgment sent {"connection_id":164733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:10:49] local.INFO: TCP Data received {"connection_id":163726,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047842e00012d1967c0071fed70003701182e..."} 
[2026-08-28 14:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047842e00012d1967c0071fed70003701182e..."} 
[2026-08-28 14:10:49] local.INFO: Processing buffer {"connection_id":163726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047842e00012d1967c0071fed70003701182e..."} 
[2026-08-28 14:10:49] local.INFO: Packet analysis {"connection_id":163726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04784"} 
[2026-08-28 14:10:49] local.INFO: Extracted packet for processing {"connection_id":163726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04784"} 
[2026-08-28 14:10:49] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:10:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703992064001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:10:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:10:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:10:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:10:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787906240000,"timestamp_ms":1787906240000,"timestamp_seconds":1787906240,"priority":1,"record_length":96,"hex_timestamp":"000001a047842e00"} 
[2026-08-28 14: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-28 14:10:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-28 14:10:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14: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-28 14:10:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:10:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:10:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:10:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:10:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:10:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:10:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:10:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703992064001,"66":12428,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:10:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:10:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:10:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703992064001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:10:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:10:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:10:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:10:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:10:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703992064001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:10:49] local.INFO: DEBUG: GPS processor result {"connection_id":163726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707832,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:10:49] local.INFO: GPS data processed {"connection_id":163726,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:10:49] local.INFO: Acknowledgment sent {"connection_id":163726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:10:56] local.INFO: TCP Data received {"connection_id":163455,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163455,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:10:56] local.INFO: Processing buffer {"connection_id":163455,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:10:56] local.INFO: IMEI packet received {"connection_id":163455,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 14:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":163455,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:11:02] local.INFO: TCP Data received {"connection_id":163455,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163455,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:11:02] local.INFO: Processing buffer {"connection_id":163455,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:11:02] local.INFO: IMEI packet received {"connection_id":163455,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 14:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":163455,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:11:03] local.INFO: TCP Data received {"connection_id":163455,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047852030012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047852030012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:11:03] local.INFO: Processing buffer {"connection_id":163455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047852030012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:11:03] local.INFO: Packet analysis {"connection_id":163455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04785"} 
[2026-08-28 14:11:03] local.INFO: Extracted packet for processing {"connection_id":163455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04785"} 
[2026-08-28 14:11:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703948544001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787906302000,"timestamp_ms":1787906302000,"timestamp_seconds":1787906302,"priority":1,"record_length":96,"hex_timestamp":"000001a047852030"} 
[2026-08-28 14:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:11:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9472,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-28 14:11:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:11:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163455,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163455,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703948544001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703948544001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:11:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:11:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703948544001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":163455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707833,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:11:03] local.INFO: GPS data processed {"connection_id":163455,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:11:03] local.INFO: Acknowledgment sent {"connection_id":163455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:11:08] local.INFO: TCP Data received {"connection_id":164733,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0478297c0012d34c14006aa4840000b00e62c..."} 
[2026-08-28 14:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0478297c0012d34c14006aa4840000b00e62c..."} 
[2026-08-28 14:11:08] local.INFO: Processing buffer {"connection_id":164733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0478297c0012d34c14006aa4840000b00e62c..."} 
[2026-08-28 14:11:08] local.INFO: Packet analysis {"connection_id":164733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04782"} 
[2026-08-28 14:11:08] local.INFO: Extracted packet for processing {"connection_id":164733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04782"} 
[2026-08-28 14:11:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703893760001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:11:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787906136000,"timestamp_ms":1787906136000,"timestamp_seconds":1787906136,"priority":1,"record_length":96,"hex_timestamp":"000001a0478297c0"} 
[2026-08-28 14:11:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:11: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-28 14:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-28 14:11:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:11:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:11:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:11:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703893760001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703893760001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:11:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:11:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:11: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-28 14:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703893760001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:11:08] 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":707834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:11:08] local.INFO: GPS data processed {"connection_id":164733,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:11:08] local.INFO: Acknowledgment sent {"connection_id":164733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:11:11] local.INFO: TCP Data received {"connection_id":163727,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163727,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:11:11] local.INFO: Processing buffer {"connection_id":163727,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:11:11] local.INFO: IMEI packet received {"connection_id":163727,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 14:11:11] local.INFO: IMEI acknowledgment sent {"connection_id":163727,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:11:17] local.INFO: TCP Data received {"connection_id":163727,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163727,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:11:17] local.INFO: Processing buffer {"connection_id":163727,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:11:17] local.INFO: IMEI packet received {"connection_id":163727,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 14:11:17] local.INFO: IMEI acknowledgment sent {"connection_id":163727,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:11:18] local.INFO: TCP Data received {"connection_id":163727,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047848008012d1967c0071fed70003701182e..."} 
[2026-08-28 14:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047848008012d1967c0071fed70003701182e..."} 
[2026-08-28 14:11:18] local.INFO: Processing buffer {"connection_id":163727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047848008012d1967c0071fed70003701182e..."} 
[2026-08-28 14:11:18] local.INFO: Packet analysis {"connection_id":163727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04784"} 
[2026-08-28 14:11:18] local.INFO: Extracted packet for processing {"connection_id":163727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04784"} 
[2026-08-28 14:11:18] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:11:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703997440001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:11:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:11:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:11:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:11:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787906261000,"timestamp_ms":1787906261000,"timestamp_seconds":1787906261,"priority":1,"record_length":96,"hex_timestamp":"000001a047848008"} 
[2026-08-28 14: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-28 14:11:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-28 14:11: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-28 14:11:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14: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-28 14:11:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:11:18] local.INFO: Teltonika packet parsed successfully {"connection_id":163727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:11:18] local.INFO: Passing IMEI to GPS processor {"connection_id":163727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:11:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":163727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:11:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:11:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:11:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:11:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703997440001,"66":12428,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:11:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:11:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:11:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703997440001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:11:18] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:11:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:11:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:11:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:11:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703997440001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:11:19] 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":707835,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:11:19] local.INFO: GPS data processed {"connection_id":163727,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:11:19] local.INFO: Acknowledgment sent {"connection_id":163727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:11:30] local.INFO: TCP Data received {"connection_id":164734,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:11:30] local.INFO: Processing buffer {"connection_id":164734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:11:30] local.INFO: IMEI packet received {"connection_id":164734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 14:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":164734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:11:36] local.INFO: TCP Data received {"connection_id":163455,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047852030012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047852030012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:11:36] local.INFO: Processing buffer {"connection_id":163455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047852030012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:11:36] local.INFO: Packet analysis {"connection_id":163455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04785"} 
[2026-08-28 14:11:36] local.INFO: Extracted packet for processing {"connection_id":163455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04785"} 
[2026-08-28 14:11:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703948544001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787906302000,"timestamp_ms":1787906302000,"timestamp_seconds":1787906302,"priority":1,"record_length":96,"hex_timestamp":"000001a047852030"} 
[2026-08-28 14:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9472,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-28 14:11:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:11:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163455,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163455,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703948544001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703948544001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:11:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:11:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703948544001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":163455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707836,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:11:36] local.INFO: GPS data processed {"connection_id":163455,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:11:36] local.INFO: Acknowledgment sent {"connection_id":163455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:11:36] local.INFO: TCP Data received {"connection_id":164734,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:11:36] local.INFO: Processing buffer {"connection_id":164734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:11:36] local.INFO: IMEI packet received {"connection_id":164734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 14:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":164734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:11:38] local.INFO: TCP Data received {"connection_id":164734,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047872f88012d34c14006aa4840000e00e62b..."} 
[2026-08-28 14:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047872f88012d34c14006aa4840000e00e62b..."} 
[2026-08-28 14:11:38] local.INFO: Processing buffer {"connection_id":164734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047872f88012d34c14006aa4840000e00e62b..."} 
[2026-08-28 14:11:38] local.INFO: Packet analysis {"connection_id":164734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04787"} 
[2026-08-28 14:11:38] local.INFO: Extracted packet for processing {"connection_id":164734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04787"} 
[2026-08-28 14:11:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703970816001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:11:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787906437000,"timestamp_ms":1787906437000,"timestamp_seconds":1787906437,"priority":1,"record_length":96,"hex_timestamp":"000001a047872f88"} 
[2026-08-28 14:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:11: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-28 14:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 14:11: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-28 14:11:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703970816001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703970816001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:11:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:11:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:11: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-28 14:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703970816001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":164734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:11:38] local.INFO: GPS data processed {"connection_id":164734,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:11:38] local.INFO: Acknowledgment sent {"connection_id":164734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:11:50] local.INFO: TCP Data received {"connection_id":163727,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a04784d210012d1967c0071fed70003701182d..."} 
[2026-08-28 14:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04784d210012d1967c0071fed70003701182d..."} 
[2026-08-28 14:11:50] local.INFO: Processing buffer {"connection_id":163727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04784d210012d1967c0071fed70003701182d..."} 
[2026-08-28 14:11:50] local.INFO: Packet analysis {"connection_id":163727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04784"} 
[2026-08-28 14:11:50] local.INFO: Extracted packet for processing {"connection_id":163727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04784"} 
[2026-08-28 14:11:50] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:11:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704002816001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:11:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:11:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:11:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:11:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787906282000,"timestamp_ms":1787906282000,"timestamp_seconds":1787906282,"priority":1,"record_length":96,"hex_timestamp":"000001a04784d210"} 
[2026-08-28 14: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-28 14:11:50] 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-28 14: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-28 14:11:50] 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-28 14: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-28 14: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-28 14:11:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:11:50] local.INFO: Teltonika packet parsed successfully {"connection_id":163727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:11:50] local.INFO: Passing IMEI to GPS processor {"connection_id":163727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:11:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":163727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:11:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:11:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:11:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:11:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704002816001,"66":12439,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:11:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:11:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:11:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704002816001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:11:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:11:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:11:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:11:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:11:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704002816001,"power":12439,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:11:50] 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":707838,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:11:50] local.INFO: GPS data processed {"connection_id":163727,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:11:50] local.INFO: Acknowledgment sent {"connection_id":163727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:11:56] local.INFO: TCP Data received {"connection_id":163456,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163456,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:11:56] local.INFO: Processing buffer {"connection_id":163456,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:11:56] local.INFO: IMEI packet received {"connection_id":163456,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 14:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":163456,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:12:02] local.INFO: TCP Data received {"connection_id":163456,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163456,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:12:02] local.INFO: Processing buffer {"connection_id":163456,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:12:02] local.INFO: IMEI packet received {"connection_id":163456,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 14:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":163456,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:12:03] local.INFO: TCP Data received {"connection_id":163456,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047852030012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047852030012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:12:03] local.INFO: Processing buffer {"connection_id":163456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047852030012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:12:03] local.INFO: Packet analysis {"connection_id":163456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04785"} 
[2026-08-28 14:12:03] local.INFO: Extracted packet for processing {"connection_id":163456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04785"} 
[2026-08-28 14:12:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703948544001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:12:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787906302000,"timestamp_ms":1787906302000,"timestamp_seconds":1787906302,"priority":1,"record_length":96,"hex_timestamp":"000001a047852030"} 
[2026-08-28 14:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:12:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9472,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-28 14:12:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:12:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163456,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163456,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703948544001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703948544001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:12:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:12:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703948544001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:12:03] 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":707839,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:12:03] local.INFO: GPS data processed {"connection_id":163456,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:12:03] local.INFO: Acknowledgment sent {"connection_id":163456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:12:09] local.INFO: TCP Data received {"connection_id":164734,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047872f88012d34c14006aa4840000e00e62b..."} 
[2026-08-28 14:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047872f88012d34c14006aa4840000e00e62b..."} 
[2026-08-28 14:12:09] local.INFO: Processing buffer {"connection_id":164734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047872f88012d34c14006aa4840000e00e62b..."} 
[2026-08-28 14:12:09] local.INFO: Packet analysis {"connection_id":164734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04787"} 
[2026-08-28 14:12:09] local.INFO: Extracted packet for processing {"connection_id":164734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04787"} 
[2026-08-28 14:12:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703970816001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:12:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787906437000,"timestamp_ms":1787906437000,"timestamp_seconds":1787906437,"priority":1,"record_length":96,"hex_timestamp":"000001a047872f88"} 
[2026-08-28 14: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-28 14:12: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-28 14:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 14:12:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14: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-28 14:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:12:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703970816001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703970816001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:12:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:12:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:12: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-28 14:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703970816001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":164734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:12:09] local.INFO: GPS data processed {"connection_id":164734,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:12:09] local.INFO: Acknowledgment sent {"connection_id":164734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:12:11] local.INFO: TCP Data received {"connection_id":163728,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163728,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:12:11] local.INFO: Processing buffer {"connection_id":163728,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:12:11] local.INFO: IMEI packet received {"connection_id":163728,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 14:12:11] local.INFO: IMEI acknowledgment sent {"connection_id":163728,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:12:16] local.INFO: TCP Data received {"connection_id":163728,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163728,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:12:16] local.INFO: Processing buffer {"connection_id":163728,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:12:16] local.INFO: IMEI packet received {"connection_id":163728,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 14:12:16] local.INFO: IMEI acknowledgment sent {"connection_id":163728,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:12:17] local.INFO: TCP Data received {"connection_id":163728,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047852418012d1967c0071fed70003701182e..."} 
[2026-08-28 14:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047852418012d1967c0071fed70003701182e..."} 
[2026-08-28 14:12:17] local.INFO: Processing buffer {"connection_id":163728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047852418012d1967c0071fed70003701182e..."} 
[2026-08-28 14:12:17] local.INFO: Packet analysis {"connection_id":163728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04785"} 
[2026-08-28 14:12:17] local.INFO: Extracted packet for processing {"connection_id":163728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04785"} 
[2026-08-28 14:12:17] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:12:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704008192001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:12:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:12:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:12:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:12:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787906303000,"timestamp_ms":1787906303000,"timestamp_seconds":1787906303,"priority":1,"record_length":96,"hex_timestamp":"000001a047852418"} 
[2026-08-28 14:12:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:12:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 14:12:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:12:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:12:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:12:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:12:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:12:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:12:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:12:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:12:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:12:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:12:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704008192001,"66":12406,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:12:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:12:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:12:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704008192001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:12:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:12:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:12:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:12:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:12:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704008192001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:12:17] local.INFO: DEBUG: GPS processor result {"connection_id":163728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707841,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:12:17] local.INFO: GPS data processed {"connection_id":163728,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:12:17] local.INFO: Acknowledgment sent {"connection_id":163728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:12:30] local.INFO: TCP Data received {"connection_id":163457,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:12:30] local.INFO: Processing buffer {"connection_id":163457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:12:30] local.INFO: IMEI packet received {"connection_id":163457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 14:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":163457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:12:34] local.INFO: TCP Data received {"connection_id":163456,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047852030012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047852030012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:12:34] local.INFO: Processing buffer {"connection_id":163456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047852030012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:12:34] local.INFO: Packet analysis {"connection_id":163456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04785"} 
[2026-08-28 14:12:34] local.INFO: Extracted packet for processing {"connection_id":163456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04785"} 
[2026-08-28 14:12:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703948544001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:12:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:12:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787906302000,"timestamp_ms":1787906302000,"timestamp_seconds":1787906302,"priority":1,"record_length":96,"hex_timestamp":"000001a047852030"} 
[2026-08-28 14:12:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:12:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9472,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-28 14:12:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:12:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:12:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163456,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163456,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:12:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703948544001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703948544001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:12:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:12:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:12:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703948544001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:12:34] 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":707842,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:12:34] local.INFO: GPS data processed {"connection_id":163456,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:12:34] local.INFO: Acknowledgment sent {"connection_id":163456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:12:36] local.INFO: TCP Data received {"connection_id":163457,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:12:36] local.INFO: Processing buffer {"connection_id":163457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:12:36] local.INFO: IMEI packet received {"connection_id":163457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 14:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":163457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:12:37] local.INFO: TCP Data received {"connection_id":163457,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047872f88012d34c14006aa4840000e00e62b..."} 
[2026-08-28 14:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047872f88012d34c14006aa4840000e00e62b..."} 
[2026-08-28 14:12:37] local.INFO: Processing buffer {"connection_id":163457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047872f88012d34c14006aa4840000e00e62b..."} 
[2026-08-28 14:12:37] local.INFO: Packet analysis {"connection_id":163457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04787"} 
[2026-08-28 14:12:37] local.INFO: Extracted packet for processing {"connection_id":163457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04787"} 
[2026-08-28 14:12:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703970816001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787906437000,"timestamp_ms":1787906437000,"timestamp_seconds":1787906437,"priority":1,"record_length":96,"hex_timestamp":"000001a047872f88"} 
[2026-08-28 14:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 14:12:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:12:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703970816001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703970816001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:12:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:12:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:12: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-28 14:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703970816001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:12:38] 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":707843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:12:38] local.INFO: GPS data processed {"connection_id":163457,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:12:38] local.INFO: Acknowledgment sent {"connection_id":163457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:12:49] local.INFO: TCP Data received {"connection_id":163728,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047857620012d1967c0071fed70003701182c..."} 
[2026-08-28 14:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047857620012d1967c0071fed70003701182c..."} 
[2026-08-28 14:12:49] local.INFO: Processing buffer {"connection_id":163728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047857620012d1967c0071fed70003701182c..."} 
[2026-08-28 14:12:49] local.INFO: Packet analysis {"connection_id":163728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04785"} 
[2026-08-28 14:12:49] local.INFO: Extracted packet for processing {"connection_id":163728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04785"} 
[2026-08-28 14:12:49] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:12:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704013568001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:12:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:12:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:12:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:12:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787906324000,"timestamp_ms":1787906324000,"timestamp_seconds":1787906324,"priority":1,"record_length":96,"hex_timestamp":"000001a047857620"} 
[2026-08-28 14:12:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:12:49] 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-28 14:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 14:12:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:12:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:12:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:12:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:12:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:12:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:12:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:12:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:12:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:12:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:12:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704013568001,"66":12406,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:12:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:12:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:12:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704013568001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:12:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:12:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:12:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:12:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:12:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704013568001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:12:49] local.INFO: DEBUG: GPS processor result {"connection_id":163728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707844,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:12:49] local.INFO: GPS data processed {"connection_id":163728,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:12:49] local.INFO: Acknowledgment sent {"connection_id":163728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:12:56] local.INFO: TCP Data received {"connection_id":164735,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164735,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:12:56] local.INFO: Processing buffer {"connection_id":164735,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:12:56] local.INFO: IMEI packet received {"connection_id":164735,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 14:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":164735,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:13:02] local.INFO: TCP Data received {"connection_id":164735,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164735,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:13:02] local.INFO: Processing buffer {"connection_id":164735,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:13:02] local.INFO: IMEI packet received {"connection_id":164735,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 14:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":164735,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:13:03] local.INFO: TCP Data received {"connection_id":164735,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047852030012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047852030012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:13:03] local.INFO: Processing buffer {"connection_id":164735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047852030012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:13:03] local.INFO: Packet analysis {"connection_id":164735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04785"} 
[2026-08-28 14:13:03] local.INFO: Extracted packet for processing {"connection_id":164735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04785"} 
[2026-08-28 14:13:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703948544001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787906302000,"timestamp_ms":1787906302000,"timestamp_seconds":1787906302,"priority":1,"record_length":96,"hex_timestamp":"000001a047852030"} 
[2026-08-28 14:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:13:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9472,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-28 14:13:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:13:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":164735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":164735,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":164735,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703948544001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703948544001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:13:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:13:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703948544001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:13:03] 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":707845,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:13:03] local.INFO: GPS data processed {"connection_id":164735,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:13:03] local.INFO: Acknowledgment sent {"connection_id":164735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:13:10] local.INFO: TCP Data received {"connection_id":163457,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047872f88012d34c14006aa4840000e00e62b..."} 
[2026-08-28 14:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047872f88012d34c14006aa4840000e00e62b..."} 
[2026-08-28 14:13:10] local.INFO: Processing buffer {"connection_id":163457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047872f88012d34c14006aa4840000e00e62b..."} 
[2026-08-28 14:13:10] local.INFO: Packet analysis {"connection_id":163457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04787"} 
[2026-08-28 14:13:10] local.INFO: Extracted packet for processing {"connection_id":163457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04787"} 
[2026-08-28 14:13:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703970816001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:13:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:13:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787906437000,"timestamp_ms":1787906437000,"timestamp_seconds":1787906437,"priority":1,"record_length":96,"hex_timestamp":"000001a047872f88"} 
[2026-08-28 14:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:13:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 14:13:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:13:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:13:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703970816001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703970816001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:13:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:13:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:13:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703970816001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:13:10] 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":707846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:13:10] local.INFO: GPS data processed {"connection_id":163457,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:13:10] local.INFO: Acknowledgment sent {"connection_id":163457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:13:11] local.INFO: TCP Data received {"connection_id":163729,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:13:11] local.INFO: Processing buffer {"connection_id":163729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:13:11] local.INFO: IMEI packet received {"connection_id":163729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 14:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":163729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:13:13] local.INFO: TCP Data received {"connection_id":163729,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:13:13] local.INFO: Processing buffer {"connection_id":163729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:13:13] local.INFO: IMEI packet received {"connection_id":163729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 14:13:13] local.INFO: IMEI acknowledgment sent {"connection_id":163729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:13:16] local.INFO: TCP Data received {"connection_id":163729,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:13:16] local.INFO: Processing buffer {"connection_id":163729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:13:16] local.INFO: IMEI packet received {"connection_id":163729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 14:13:16] local.INFO: IMEI acknowledgment sent {"connection_id":163729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:13:17] local.INFO: TCP Data received {"connection_id":163729,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a04785c828012d1967c0071fed70003701182e..."} 
[2026-08-28 14:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04785c828012d1967c0071fed70003701182e..."} 
[2026-08-28 14:13:17] local.INFO: Processing buffer {"connection_id":163729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04785c828012d1967c0071fed70003701182e..."} 
[2026-08-28 14:13:17] local.INFO: Packet analysis {"connection_id":163729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04785"} 
[2026-08-28 14:13:17] local.INFO: Extracted packet for processing {"connection_id":163729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04785"} 
[2026-08-28 14:13:17] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14:13:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:13:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704018944001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:13:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:13:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:13:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:13:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787906345000,"timestamp_ms":1787906345000,"timestamp_seconds":1787906345,"priority":1,"record_length":96,"hex_timestamp":"000001a04785c828"} 
[2026-08-28 14:13:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:13:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14:13:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 14:13:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:13:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:13:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:13:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:13:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:13:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:13:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:13:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:13:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:13:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:13:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704018944001,"66":12428,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:13:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:13:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:13:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704018944001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:13:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:13:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:13:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:13:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:13:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704018944001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:13:17] 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":707847,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:13:17] local.INFO: GPS data processed {"connection_id":163729,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:13:17] local.INFO: Acknowledgment sent {"connection_id":163729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:13:30] local.INFO: TCP Data received {"connection_id":163458,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:13:30] local.INFO: Processing buffer {"connection_id":163458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:13:30] local.INFO: IMEI packet received {"connection_id":163458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 14:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":163458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:13:35] local.INFO: TCP Data received {"connection_id":164735,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047852030012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047852030012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:13:35] local.INFO: Processing buffer {"connection_id":164735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047852030012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:13:35] local.INFO: Packet analysis {"connection_id":164735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04785"} 
[2026-08-28 14:13:35] local.INFO: Extracted packet for processing {"connection_id":164735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04785"} 
[2026-08-28 14:13:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703948544001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:13:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:13:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787906302000,"timestamp_ms":1787906302000,"timestamp_seconds":1787906302,"priority":1,"record_length":96,"hex_timestamp":"000001a047852030"} 
[2026-08-28 14:13:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:13:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9472,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-28 14:13:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:13:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:13:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":164735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":164735,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":164735,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:13:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703948544001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703948544001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:13:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:13:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:13:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703948544001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:13:35] 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":707848,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:13:35] local.INFO: GPS data processed {"connection_id":164735,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:13:35] local.INFO: Acknowledgment sent {"connection_id":164735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:13:36] local.INFO: TCP Data received {"connection_id":163458,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:13:36] local.INFO: Processing buffer {"connection_id":163458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:13:36] local.INFO: IMEI packet received {"connection_id":163458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 14:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":163458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:13:37] local.INFO: TCP Data received {"connection_id":163458,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047872f88012d34c14006aa4840000e00e62b..."} 
[2026-08-28 14:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047872f88012d34c14006aa4840000e00e62b..."} 
[2026-08-28 14:13:37] local.INFO: Processing buffer {"connection_id":163458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047872f88012d34c14006aa4840000e00e62b..."} 
[2026-08-28 14:13:37] local.INFO: Packet analysis {"connection_id":163458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04787"} 
[2026-08-28 14:13:37] local.INFO: Extracted packet for processing {"connection_id":163458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04787"} 
[2026-08-28 14:13:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703970816001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787906437000,"timestamp_ms":1787906437000,"timestamp_seconds":1787906437,"priority":1,"record_length":96,"hex_timestamp":"000001a047872f88"} 
[2026-08-28 14:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 14:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703970816001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703970816001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:13:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:13:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:13: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-28 14:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703970816001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:13:37] 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":707849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:13:37] local.INFO: GPS data processed {"connection_id":163458,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:13:37] local.INFO: Acknowledgment sent {"connection_id":163458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:13:50] local.INFO: TCP Data received {"connection_id":163729,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047861a30012d1967c0071fed70003701182e..."} 
[2026-08-28 14:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047861a30012d1967c0071fed70003701182e..."} 
[2026-08-28 14:13:50] local.INFO: Processing buffer {"connection_id":163729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047861a30012d1967c0071fed70003701182e..."} 
[2026-08-28 14:13:50] local.INFO: Packet analysis {"connection_id":163729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04786"} 
[2026-08-28 14:13:50] local.INFO: Extracted packet for processing {"connection_id":163729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04786"} 
[2026-08-28 14:13:50] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:13:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704024320001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:13:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:13:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:13:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:13:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787906366000,"timestamp_ms":1787906366000,"timestamp_seconds":1787906366,"priority":1,"record_length":96,"hex_timestamp":"000001a047861a30"} 
[2026-08-28 14:13:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:13:50] 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-28 14:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-28 14:13:50] 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-28 14:13:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:13:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:13:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:13:50] local.INFO: Teltonika packet parsed successfully {"connection_id":163729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:13:50] local.INFO: Passing IMEI to GPS processor {"connection_id":163729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:13:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":163729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:13:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:13:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:13:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:13:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704024320001,"66":12439,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:13:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:13:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:13:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704024320001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:13:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:13:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:13:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:13:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:13:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704024320001,"power":12439,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:13:50] 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":707850,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:13:50] local.INFO: GPS data processed {"connection_id":163729,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:13:50] local.INFO: Acknowledgment sent {"connection_id":163729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:14:02] local.INFO: TCP Data received {"connection_id":163459,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163459,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:14:02] local.INFO: Processing buffer {"connection_id":163459,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:14:02] local.INFO: IMEI packet received {"connection_id":163459,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 14:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":163459,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:14:03] local.INFO: TCP Data received {"connection_id":163459,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163459,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:14:03] local.INFO: Processing buffer {"connection_id":163459,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:14:03] local.INFO: IMEI packet received {"connection_id":163459,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 14:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":163459,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:14:07] local.INFO: TCP Data received {"connection_id":163459,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163459,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:14:07] local.INFO: Processing buffer {"connection_id":163459,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:14:07] local.INFO: IMEI packet received {"connection_id":163459,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 14:14:07] local.INFO: IMEI acknowledgment sent {"connection_id":163459,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:14:08] local.INFO: TCP Data received {"connection_id":163459,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04789b7f8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04789b7f8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:14:08] local.INFO: Processing buffer {"connection_id":163459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04789b7f8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:14:08] local.INFO: Packet analysis {"connection_id":163459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04789"} 
[2026-08-28 14:14:08] local.INFO: Extracted packet for processing {"connection_id":163459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04789"} 
[2026-08-28 14:14:08] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:14:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704013312001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:14:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:14:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:14:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:14:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787906603000,"timestamp_ms":1787906603000,"timestamp_seconds":1787906603,"priority":1,"record_length":96,"hex_timestamp":"000001a04789b7f8"} 
[2026-08-28 14: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-28 14:14:08] 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-28 14: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":118,"data_length":795,"current_offset":136} 
[2026-08-28 14:14:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14: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-28 14:14:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:14:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:14:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163459,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:14:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163459,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:14:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:14:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:14:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:14:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704013312001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:14:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:14:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:14:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704013312001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:14:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:14:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:14:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:14:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:14:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704013312001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:14:08] 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":707851,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:14:08] local.INFO: GPS data processed {"connection_id":163459,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:14:08] local.INFO: Acknowledgment sent {"connection_id":163459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:14:09] local.INFO: TCP Data received {"connection_id":163458,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047872f88012d34c14006aa4840000e00e62b..."} 
[2026-08-28 14:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047872f88012d34c14006aa4840000e00e62b..."} 
[2026-08-28 14:14:09] local.INFO: Processing buffer {"connection_id":163458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047872f88012d34c14006aa4840000e00e62b..."} 
[2026-08-28 14:14:09] local.INFO: Packet analysis {"connection_id":163458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04787"} 
[2026-08-28 14:14:09] local.INFO: Extracted packet for processing {"connection_id":163458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04787"} 
[2026-08-28 14:14:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703970816001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:14:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787906437000,"timestamp_ms":1787906437000,"timestamp_seconds":1787906437,"priority":1,"record_length":96,"hex_timestamp":"000001a047872f88"} 
[2026-08-28 14:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:14: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-28 14:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 14:14:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:14:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:14:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703970816001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703970816001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:14:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:14:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:14: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-28 14:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703970816001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:14:09] 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":707852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:14:09] local.INFO: GPS data processed {"connection_id":163458,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:14:09] local.INFO: Acknowledgment sent {"connection_id":163458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:14:13] local.INFO: TCP Data received {"connection_id":163459,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04789b7f8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04789b7f8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:14:13] local.INFO: Processing buffer {"connection_id":163459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04789b7f8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:14:13] local.INFO: Packet analysis {"connection_id":163459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04789"} 
[2026-08-28 14:14:13] local.INFO: Extracted packet for processing {"connection_id":163459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04789"} 
[2026-08-28 14:14:13] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:14:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704013312001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:14:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:14:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:14:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:14:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787906603000,"timestamp_ms":1787906603000,"timestamp_seconds":1787906603,"priority":1,"record_length":96,"hex_timestamp":"000001a04789b7f8"} 
[2026-08-28 14: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-28 14:14:13] 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-28 14: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":118,"data_length":795,"current_offset":136} 
[2026-08-28 14:14: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-28 14: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-28 14: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-28 14:14:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:14:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:14:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163459,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:14:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163459,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:14:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:14:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:14:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:14:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704013312001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:14:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:14:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:14:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704013312001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:14:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:14:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:14:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:14:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:14:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704013312001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:14:13] 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":707853,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:14:13] local.INFO: GPS data processed {"connection_id":163459,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:14:13] local.INFO: Acknowledgment sent {"connection_id":163459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:14:16] local.INFO: TCP Data received {"connection_id":166078,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166078,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:14:16] local.INFO: Processing buffer {"connection_id":166078,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:14:16] local.INFO: IMEI packet received {"connection_id":166078,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 14:14:16] local.INFO: IMEI acknowledgment sent {"connection_id":166078,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:14:17] local.INFO: TCP Data received {"connection_id":166078,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166078,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:14:17] local.INFO: Processing buffer {"connection_id":166078,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:14:17] local.INFO: IMEI packet received {"connection_id":166078,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 14:14:17] local.INFO: IMEI acknowledgment sent {"connection_id":166078,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:14:21] local.INFO: TCP Data received {"connection_id":166078,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166078,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:14:21] local.INFO: Processing buffer {"connection_id":166078,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:14:21] local.INFO: IMEI packet received {"connection_id":166078,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 14:14:21] local.INFO: IMEI acknowledgment sent {"connection_id":166078,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:14:22] local.INFO: TCP Data received {"connection_id":166078,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047866c38012d1967c0071fed70003701182f..."} 
[2026-08-28 14:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047866c38012d1967c0071fed70003701182f..."} 
[2026-08-28 14:14:22] local.INFO: Processing buffer {"connection_id":166078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047866c38012d1967c0071fed70003701182f..."} 
[2026-08-28 14:14:22] local.INFO: Packet analysis {"connection_id":166078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04786"} 
[2026-08-28 14:14:22] local.INFO: Extracted packet for processing {"connection_id":166078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04786"} 
[2026-08-28 14:14:22] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":47,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:14:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704029696001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:14:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:14:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:14:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:14:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787906387000,"timestamp_ms":1787906387000,"timestamp_seconds":1787906387,"priority":1,"record_length":96,"hex_timestamp":"000001a047866c38"} 
[2026-08-28 14:14:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:14:22] 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-28 14:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 14:14:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:14:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:14:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:14:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:14:22] local.INFO: Teltonika packet parsed successfully {"connection_id":166078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:14:22] local.INFO: Passing IMEI to GPS processor {"connection_id":166078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:14:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":166078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:14:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:14:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:14:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:14:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704029696001,"66":12439,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:14:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:14:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:14:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704029696001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:14:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:14:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:14:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:14:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:14:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704029696001,"power":12439,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:14:22] local.INFO: DEBUG: GPS processor result {"connection_id":166078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707854,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:14:22] local.INFO: GPS data processed {"connection_id":166078,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:14:22] local.INFO: Acknowledgment sent {"connection_id":166078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:14:27] local.INFO: TCP Data received {"connection_id":166078,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a04786be40012d1967c0071fed70003701182f..."} 
[2026-08-28 14:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04786be40012d1967c0071fed70003701182f..."} 
[2026-08-28 14:14:27] local.INFO: Processing buffer {"connection_id":166078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04786be40012d1967c0071fed70003701182f..."} 
[2026-08-28 14:14:27] local.INFO: Packet analysis {"connection_id":166078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04786"} 
[2026-08-28 14:14:27] local.INFO: Extracted packet for processing {"connection_id":166078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04786"} 
[2026-08-28 14:14:27] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":47,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704035072001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:14:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:14:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787906408000,"timestamp_ms":1787906408000,"timestamp_seconds":1787906408,"priority":1,"record_length":96,"hex_timestamp":"000001a04786be40"} 
[2026-08-28 14:14:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:14:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 14:14:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:14:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:14:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":166078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":166078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":166078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:14:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704035072001,"66":12428,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704035072001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:14:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:14:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:14:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:14:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704035072001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:14:27] local.INFO: DEBUG: GPS processor result {"connection_id":166078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707855,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:14:27] local.INFO: GPS data processed {"connection_id":166078,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:14:27] local.INFO: Acknowledgment sent {"connection_id":166078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:14:36] local.INFO: TCP Data received {"connection_id":163460,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:14:36] local.INFO: Processing buffer {"connection_id":163460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:14:36] local.INFO: IMEI packet received {"connection_id":163460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 14:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":163460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:14:41] local.INFO: TCP Data received {"connection_id":163460,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:14:41] local.INFO: Processing buffer {"connection_id":163460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:14:41] local.INFO: IMEI packet received {"connection_id":163460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 14:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":163460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:14:42] local.INFO: TCP Data received {"connection_id":163460,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047872f88012d34c14006aa4840000e00e62b..."} 
[2026-08-28 14:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047872f88012d34c14006aa4840000e00e62b..."} 
[2026-08-28 14:14:42] local.INFO: Processing buffer {"connection_id":163460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047872f88012d34c14006aa4840000e00e62b..."} 
[2026-08-28 14:14:42] local.INFO: Packet analysis {"connection_id":163460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04787"} 
[2026-08-28 14:14:42] local.INFO: Extracted packet for processing {"connection_id":163460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04787"} 
[2026-08-28 14:14:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703970816001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:14:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:14:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787906437000,"timestamp_ms":1787906437000,"timestamp_seconds":1787906437,"priority":1,"record_length":96,"hex_timestamp":"000001a047872f88"} 
[2026-08-28 14: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-28 14: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-28 14: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":151,"data_length":795,"current_offset":136} 
[2026-08-28 14:14: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-28 14: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-28 14: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-28 14:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:14:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703970816001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703970816001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:14:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:14:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14: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-28 14:14:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703970816001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:14:42] 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":707856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:14:42] local.INFO: GPS data processed {"connection_id":163460,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:14:42] local.INFO: Acknowledgment sent {"connection_id":163460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:14:46] local.INFO: TCP Data received {"connection_id":163460,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047872f88012d34c14006aa4840000e00e62b..."} 
[2026-08-28 14:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047872f88012d34c14006aa4840000e00e62b..."} 
[2026-08-28 14:14:46] local.INFO: Processing buffer {"connection_id":163460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047872f88012d34c14006aa4840000e00e62b..."} 
[2026-08-28 14:14:46] local.INFO: Packet analysis {"connection_id":163460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04787"} 
[2026-08-28 14:14:46] local.INFO: Extracted packet for processing {"connection_id":163460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04787"} 
[2026-08-28 14:14:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703970816001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:14:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:14:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787906437000,"timestamp_ms":1787906437000,"timestamp_seconds":1787906437,"priority":1,"record_length":96,"hex_timestamp":"000001a047872f88"} 
[2026-08-28 14:14:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:14: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-28 14:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 14:14:46] 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-28 14:14:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:14:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:14:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703970816001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703970816001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:14:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:14:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:14: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-28 14:14:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703970816001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:14:46] 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":707857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:14:46] local.INFO: GPS data processed {"connection_id":163460,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:14:46] local.INFO: Acknowledgment sent {"connection_id":163460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:14:57] local.INFO: TCP Data received {"connection_id":163730,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163730,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:14:57] local.INFO: Processing buffer {"connection_id":163730,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:14:57] local.INFO: IMEI packet received {"connection_id":163730,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 14:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":163730,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:15:02] local.INFO: TCP Data received {"connection_id":163730,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163730,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:15:02] local.INFO: Processing buffer {"connection_id":163730,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:15:02] local.INFO: IMEI packet received {"connection_id":163730,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 14:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":163730,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:15:03] local.INFO: TCP Data received {"connection_id":163730,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04789b7f8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04789b7f8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:15:03] local.INFO: Processing buffer {"connection_id":163730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04789b7f8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:15:03] local.INFO: Packet analysis {"connection_id":163730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04789"} 
[2026-08-28 14:15:03] local.INFO: Extracted packet for processing {"connection_id":163730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04789"} 
[2026-08-28 14:15:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704013312001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787906603000,"timestamp_ms":1787906603000,"timestamp_seconds":1787906603,"priority":1,"record_length":96,"hex_timestamp":"000001a04789b7f8"} 
[2026-08-28 14:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:15:03] 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-28 14:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 14:15:03] 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-28 14:15:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163730,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163730,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704013312001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704013312001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:15:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:15:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704013312001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:15:03] 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":707858,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:15:03] local.INFO: GPS data processed {"connection_id":163730,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:15:03] local.INFO: Acknowledgment sent {"connection_id":163730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:15:11] local.INFO: TCP Data received {"connection_id":163461,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:15:11] local.INFO: Processing buffer {"connection_id":163461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:15:11] local.INFO: IMEI packet received {"connection_id":163461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 14:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":163461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:15:16] local.INFO: TCP Data received {"connection_id":163461,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:15:16] local.INFO: Processing buffer {"connection_id":163461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:15:16] local.INFO: IMEI packet received {"connection_id":163461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 14:15:16] local.INFO: IMEI acknowledgment sent {"connection_id":163461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:15:18] local.INFO: TCP Data received {"connection_id":163461,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047871048012d1967c0071fed70003701182f..."} 
[2026-08-28 14:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047871048012d1967c0071fed70003701182f..."} 
[2026-08-28 14:15:18] local.INFO: Processing buffer {"connection_id":163461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047871048012d1967c0071fed70003701182f..."} 
[2026-08-28 14:15:18] local.INFO: Packet analysis {"connection_id":163461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04787"} 
[2026-08-28 14:15:18] local.INFO: Extracted packet for processing {"connection_id":163461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04787"} 
[2026-08-28 14:15:18] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":47,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:15:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704040448001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:15:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:15:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:15:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:15:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787906429000,"timestamp_ms":1787906429000,"timestamp_seconds":1787906429,"priority":1,"record_length":96,"hex_timestamp":"000001a047871048"} 
[2026-08-28 14:15:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:15:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-28 14:15: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-28 14:15:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:15:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:15:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:15:18] local.INFO: Teltonika packet parsed successfully {"connection_id":163461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:15:18] local.INFO: Passing IMEI to GPS processor {"connection_id":163461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:15:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":163461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:15:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:15:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:15:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:15:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704040448001,"66":12428,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:15:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:15:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:15:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704040448001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:15:18] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:15:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:15:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:15:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:15:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704040448001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:15:18] 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":707859,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:15:18] local.INFO: GPS data processed {"connection_id":163461,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:15:18] local.INFO: Acknowledgment sent {"connection_id":163461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:15:31] local.INFO: TCP Data received {"connection_id":163462,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:15:31] local.INFO: Processing buffer {"connection_id":163462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:15:31] local.INFO: IMEI packet received {"connection_id":163462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 14:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":163462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:15:34] local.INFO: TCP Data received {"connection_id":163730,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04789b7f8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04789b7f8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:15:34] local.INFO: Processing buffer {"connection_id":163730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04789b7f8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:15:34] local.INFO: Packet analysis {"connection_id":163730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04789"} 
[2026-08-28 14:15:34] local.INFO: Extracted packet for processing {"connection_id":163730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04789"} 
[2026-08-28 14:15:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704013312001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:15:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:15:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787906603000,"timestamp_ms":1787906603000,"timestamp_seconds":1787906603,"priority":1,"record_length":96,"hex_timestamp":"000001a04789b7f8"} 
[2026-08-28 14:15:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:15:34] 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-28 14:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 14:15:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:15:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:15:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163730,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163730,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:15:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704013312001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704013312001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:15:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:15:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:15:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704013312001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:15:34] 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":707860,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:15:34] local.INFO: GPS data processed {"connection_id":163730,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:15:34] local.INFO: Acknowledgment sent {"connection_id":163730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:15:36] local.INFO: TCP Data received {"connection_id":163462,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:15:36] local.INFO: Processing buffer {"connection_id":163462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:15:36] local.INFO: IMEI packet received {"connection_id":163462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 14:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":163462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:15:37] local.INFO: TCP Data received {"connection_id":163462,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047872f88012d34c14006aa4840000e00e62b..."} 
[2026-08-28 14:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047872f88012d34c14006aa4840000e00e62b..."} 
[2026-08-28 14:15:37] local.INFO: Processing buffer {"connection_id":163462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047872f88012d34c14006aa4840000e00e62b..."} 
[2026-08-28 14:15:37] local.INFO: Packet analysis {"connection_id":163462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04787"} 
[2026-08-28 14:15:37] local.INFO: Extracted packet for processing {"connection_id":163462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04787"} 
[2026-08-28 14:15:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703970816001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787906437000,"timestamp_ms":1787906437000,"timestamp_seconds":1787906437,"priority":1,"record_length":96,"hex_timestamp":"000001a047872f88"} 
[2026-08-28 14: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-28 14:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 14:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14: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-28 14:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703970816001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703970816001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:15:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:15:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:15: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-28 14:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703970816001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:15:37] 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":707861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:15:37] local.INFO: GPS data processed {"connection_id":163462,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:15:37] local.INFO: Acknowledgment sent {"connection_id":163462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:15:50] local.INFO: TCP Data received {"connection_id":163461,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0478a96a0012d1967c0071fed70003701182e..."} 
[2026-08-28 14:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0478a96a0012d1967c0071fed70003701182e..."} 
[2026-08-28 14:15:50] local.INFO: Processing buffer {"connection_id":163461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0478a96a0012d1967c0071fed70003701182e..."} 
[2026-08-28 14:15:50] local.INFO: Packet analysis {"connection_id":163461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0478a"} 
[2026-08-28 14:15:50] local.INFO: Extracted packet for processing {"connection_id":163461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0478a"} 
[2026-08-28 14:15:50] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:15:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704099584001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:15:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:15:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:15:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:15:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787906660000,"timestamp_ms":1787906660000,"timestamp_seconds":1787906660,"priority":1,"record_length":96,"hex_timestamp":"000001a0478a96a0"} 
[2026-08-28 14: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-28 14:15:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 14:15:50] 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-28 14: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-28 14: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-28 14:15:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:15:50] local.INFO: Teltonika packet parsed successfully {"connection_id":163461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:15:50] local.INFO: Passing IMEI to GPS processor {"connection_id":163461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:15:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":163461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:15:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:15:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:15:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:15:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704099584001,"66":12428,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:15:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:15:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:15:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704099584001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:15:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:15:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:15:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:15:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:15:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704099584001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:15:50] 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":707862,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:15:50] local.INFO: GPS data processed {"connection_id":163461,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:15:50] local.INFO: Acknowledgment sent {"connection_id":163461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:15:56] local.INFO: TCP Data received {"connection_id":163731,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163731,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:15:56] local.INFO: Processing buffer {"connection_id":163731,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:15:56] local.INFO: IMEI packet received {"connection_id":163731,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 14:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":163731,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:16:02] local.INFO: TCP Data received {"connection_id":163731,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163731,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:16:02] local.INFO: Processing buffer {"connection_id":163731,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:16:02] local.INFO: IMEI packet received {"connection_id":163731,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 14:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":163731,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:16:03] local.INFO: TCP Data received {"connection_id":163731,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04789b7f8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04789b7f8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:16:03] local.INFO: Processing buffer {"connection_id":163731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04789b7f8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:16:03] local.INFO: Packet analysis {"connection_id":163731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04789"} 
[2026-08-28 14:16:03] local.INFO: Extracted packet for processing {"connection_id":163731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04789"} 
[2026-08-28 14:16:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704013312001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:16:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787906603000,"timestamp_ms":1787906603000,"timestamp_seconds":1787906603,"priority":1,"record_length":96,"hex_timestamp":"000001a04789b7f8"} 
[2026-08-28 14:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:16:03] 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-28 14:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 14:16:03] 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-28 14:16:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163731,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163731,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:16:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704013312001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704013312001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:16:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:16:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704013312001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:16:03] 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":707863,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:16:03] local.INFO: GPS data processed {"connection_id":163731,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:16:03] local.INFO: Acknowledgment sent {"connection_id":163731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:16:09] local.INFO: TCP Data received {"connection_id":163462,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047872f88012d34c14006aa4840000e00e62b..."} 
[2026-08-28 14:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047872f88012d34c14006aa4840000e00e62b..."} 
[2026-08-28 14:16:09] local.INFO: Processing buffer {"connection_id":163462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047872f88012d34c14006aa4840000e00e62b..."} 
[2026-08-28 14:16:09] local.INFO: Packet analysis {"connection_id":163462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04787"} 
[2026-08-28 14:16:09] local.INFO: Extracted packet for processing {"connection_id":163462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04787"} 
[2026-08-28 14:16:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457703970816001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:16:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787906437000,"timestamp_ms":1787906437000,"timestamp_seconds":1787906437,"priority":1,"record_length":96,"hex_timestamp":"000001a047872f88"} 
[2026-08-28 14:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:16: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-28 14:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 14:16:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:16:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457703970816001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457703970816001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:16:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:16:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:16: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-28 14:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457703970816001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:16:10] 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":707864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:16:10] local.INFO: GPS data processed {"connection_id":163462,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:16:10] local.INFO: Acknowledgment sent {"connection_id":163462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:16:11] local.INFO: TCP Data received {"connection_id":163463,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163463,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:16:11] local.INFO: Processing buffer {"connection_id":163463,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:16:11] local.INFO: IMEI packet received {"connection_id":163463,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 14:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":163463,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:16:16] local.INFO: TCP Data received {"connection_id":163463,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163463,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:16:16] local.INFO: Processing buffer {"connection_id":163463,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:16:16] local.INFO: IMEI packet received {"connection_id":163463,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 14:16:16] local.INFO: IMEI acknowledgment sent {"connection_id":163463,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:16:17] local.INFO: TCP Data received {"connection_id":163463,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0478ae8a8012d1967c0071fed70003701182e..."} 
[2026-08-28 14:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0478ae8a8012d1967c0071fed70003701182e..."} 
[2026-08-28 14:16:17] local.INFO: Processing buffer {"connection_id":163463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0478ae8a8012d1967c0071fed70003701182e..."} 
[2026-08-28 14:16:17] local.INFO: Packet analysis {"connection_id":163463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0478a"} 
[2026-08-28 14:16:17] local.INFO: Extracted packet for processing {"connection_id":163463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0478a"} 
[2026-08-28 14:16:17] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:16:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704104960001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:16:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:16:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:16:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:16:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787906681000,"timestamp_ms":1787906681000,"timestamp_seconds":1787906681,"priority":1,"record_length":96,"hex_timestamp":"000001a0478ae8a8"} 
[2026-08-28 14: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-28 14:16:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-28 14:16:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14: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-28 14:16:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:16:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:16:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:16:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:16:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:16:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:16:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:16:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704104960001,"66":12406,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:16:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:16:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:16:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704104960001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:16:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:16:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:16:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:16:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:16:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704104960001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:16:17] 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":707865,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:16:17] local.INFO: GPS data processed {"connection_id":163463,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:16:17] local.INFO: Acknowledgment sent {"connection_id":163463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:16:30] local.INFO: TCP Data received {"connection_id":163732,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:16:30] local.INFO: Processing buffer {"connection_id":163732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:16:30] local.INFO: IMEI packet received {"connection_id":163732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 14:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":163732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:16:35] local.INFO: TCP Data received {"connection_id":163731,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04789b7f8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04789b7f8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:16:35] local.INFO: Processing buffer {"connection_id":163731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04789b7f8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:16:35] local.INFO: Packet analysis {"connection_id":163731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04789"} 
[2026-08-28 14:16:35] local.INFO: Extracted packet for processing {"connection_id":163731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04789"} 
[2026-08-28 14:16:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704013312001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:16:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:16:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787906603000,"timestamp_ms":1787906603000,"timestamp_seconds":1787906603,"priority":1,"record_length":96,"hex_timestamp":"000001a04789b7f8"} 
[2026-08-28 14:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:16:35] 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-28 14:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 14:16:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:16:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163731,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163731,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704013312001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704013312001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:16:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:16:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:16:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704013312001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:16:35] 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":707866,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:16:35] local.INFO: GPS data processed {"connection_id":163731,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:16:35] local.INFO: Acknowledgment sent {"connection_id":163731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:16:35] local.INFO: TCP Data received {"connection_id":163732,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:16:35] local.INFO: Processing buffer {"connection_id":163732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:16:35] local.INFO: IMEI packet received {"connection_id":163732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 14:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":163732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:16:36] local.INFO: TCP Data received {"connection_id":163732,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0478bc750012d34c14006aa4840001100e62b..."} 
[2026-08-28 14:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0478bc750012d34c14006aa4840001100e62b..."} 
[2026-08-28 14:16:36] local.INFO: Processing buffer {"connection_id":163732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0478bc750012d34c14006aa4840001100e62b..."} 
[2026-08-28 14:16:36] local.INFO: Packet analysis {"connection_id":163732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0478b"} 
[2026-08-28 14:16:36] local.INFO: Extracted packet for processing {"connection_id":163732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0478b"} 
[2026-08-28 14:16:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704047872001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787906738000,"timestamp_ms":1787906738000,"timestamp_seconds":1787906738,"priority":1,"record_length":96,"hex_timestamp":"000001a0478bc750"} 
[2026-08-28 14:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:16:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:16:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704047872001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704047872001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:16:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:16:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704047872001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:16:36] 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":707867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:16:36] local.INFO: GPS data processed {"connection_id":163732,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:16:36] local.INFO: Acknowledgment sent {"connection_id":163732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:16:49] local.INFO: TCP Data received {"connection_id":163463,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0478b3ab0012d1967c0071fed70003701182f..."} 
[2026-08-28 14:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0478b3ab0012d1967c0071fed70003701182f..."} 
[2026-08-28 14:16:49] local.INFO: Processing buffer {"connection_id":163463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0478b3ab0012d1967c0071fed70003701182f..."} 
[2026-08-28 14:16:49] local.INFO: Packet analysis {"connection_id":163463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0478b"} 
[2026-08-28 14:16:49] local.INFO: Extracted packet for processing {"connection_id":163463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0478b"} 
[2026-08-28 14:16:49] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":47,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14:16: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-28 14:16:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704110336001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:16:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:16:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:16:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:16:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787906702000,"timestamp_ms":1787906702000,"timestamp_seconds":1787906702,"priority":1,"record_length":96,"hex_timestamp":"000001a0478b3ab0"} 
[2026-08-28 14:16:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:16:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 14:16:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:16: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-28 14:16:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:16:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:16:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:16:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:16:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:16:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:16:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:16:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:16:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704110336001,"66":12428,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:16:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:16:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:16:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704110336001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:16:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:16:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:16:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:16:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:16:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704110336001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:16:49] 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":707868,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:16:49] local.INFO: GPS data processed {"connection_id":163463,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:16:49] local.INFO: Acknowledgment sent {"connection_id":163463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:16:56] local.INFO: TCP Data received {"connection_id":166079,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166079,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:16:56] local.INFO: Processing buffer {"connection_id":166079,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:16:56] local.INFO: IMEI packet received {"connection_id":166079,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 14:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":166079,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:17:02] local.INFO: TCP Data received {"connection_id":166079,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166079,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:17:02] local.INFO: Processing buffer {"connection_id":166079,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:17:02] local.INFO: IMEI packet received {"connection_id":166079,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 14:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":166079,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:17:03] local.INFO: TCP Data received {"connection_id":166079,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04789b7f8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04789b7f8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:17:03] local.INFO: Processing buffer {"connection_id":166079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04789b7f8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:17:03] local.INFO: Packet analysis {"connection_id":166079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04789"} 
[2026-08-28 14:17:03] local.INFO: Extracted packet for processing {"connection_id":166079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04789"} 
[2026-08-28 14:17:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704013312001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787906603000,"timestamp_ms":1787906603000,"timestamp_seconds":1787906603,"priority":1,"record_length":96,"hex_timestamp":"000001a04789b7f8"} 
[2026-08-28 14:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:17:03] 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-28 14:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 14:17:03] 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-28 14:17:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":166079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":166079,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":166079,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:17:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704013312001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704013312001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:17:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:17:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704013312001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":166079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707869,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:17:03] local.INFO: GPS data processed {"connection_id":166079,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:17:03] local.INFO: Acknowledgment sent {"connection_id":166079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:17:08] local.INFO: TCP Data received {"connection_id":163732,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0478bc750012d34c14006aa4840001100e62b..."} 
[2026-08-28 14:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0478bc750012d34c14006aa4840001100e62b..."} 
[2026-08-28 14:17:08] local.INFO: Processing buffer {"connection_id":163732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0478bc750012d34c14006aa4840001100e62b..."} 
[2026-08-28 14:17:08] local.INFO: Packet analysis {"connection_id":163732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0478b"} 
[2026-08-28 14:17:08] local.INFO: Extracted packet for processing {"connection_id":163732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0478b"} 
[2026-08-28 14:17:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704047872001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787906738000,"timestamp_ms":1787906738000,"timestamp_seconds":1787906738,"priority":1,"record_length":96,"hex_timestamp":"000001a0478bc750"} 
[2026-08-28 14:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:17: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-28 14:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:17:08] 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-28 14:17:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704047872001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704047872001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:17:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:17:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:17: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-28 14:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704047872001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:17:08] 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":707870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:17:08] local.INFO: GPS data processed {"connection_id":163732,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:17:08] local.INFO: Acknowledgment sent {"connection_id":163732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:17:11] local.INFO: TCP Data received {"connection_id":166080,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:17:11] local.INFO: Processing buffer {"connection_id":166080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:17:11] local.INFO: IMEI packet received {"connection_id":166080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 14:17:11] local.INFO: IMEI acknowledgment sent {"connection_id":166080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:17:16] local.INFO: TCP Data received {"connection_id":166080,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:17:16] local.INFO: Processing buffer {"connection_id":166080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:17:16] local.INFO: IMEI packet received {"connection_id":166080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 14:17:16] local.INFO: IMEI acknowledgment sent {"connection_id":166080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:17:17] local.INFO: TCP Data received {"connection_id":166080,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0478b8cb8012d1967c0071fed70003701182c..."} 
[2026-08-28 14:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0478b8cb8012d1967c0071fed70003701182c..."} 
[2026-08-28 14:17:17] local.INFO: Processing buffer {"connection_id":166080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0478b8cb8012d1967c0071fed70003701182c..."} 
[2026-08-28 14:17:17] local.INFO: Packet analysis {"connection_id":166080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0478b"} 
[2026-08-28 14:17:17] local.INFO: Extracted packet for processing {"connection_id":166080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0478b"} 
[2026-08-28 14:17:17] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:17:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704115712001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:17:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:17:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:17:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:17:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787906723000,"timestamp_ms":1787906723000,"timestamp_seconds":1787906723,"priority":1,"record_length":96,"hex_timestamp":"000001a0478b8cb8"} 
[2026-08-28 14:17:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:17:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-28 14:17:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:17:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:17:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:17:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:17:17] local.INFO: Teltonika packet parsed successfully {"connection_id":166080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:17:17] local.INFO: Passing IMEI to GPS processor {"connection_id":166080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:17:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":166080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:17:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:17:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:17:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:17:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704115712001,"66":12428,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:17:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:17:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:17:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704115712001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:17:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:17:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:17:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:17:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:17:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704115712001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:17:17] local.INFO: DEBUG: GPS processor result {"connection_id":166080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707871,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:17:17] local.INFO: GPS data processed {"connection_id":166080,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:17:17] local.INFO: Acknowledgment sent {"connection_id":166080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:17:34] local.INFO: TCP Data received {"connection_id":166079,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04789b7f8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04789b7f8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:17:34] local.INFO: Processing buffer {"connection_id":166079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04789b7f8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:17:34] local.INFO: Packet analysis {"connection_id":166079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04789"} 
[2026-08-28 14:17:34] local.INFO: Extracted packet for processing {"connection_id":166079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04789"} 
[2026-08-28 14:17:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704013312001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:17:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787906603000,"timestamp_ms":1787906603000,"timestamp_seconds":1787906603,"priority":1,"record_length":96,"hex_timestamp":"000001a04789b7f8"} 
[2026-08-28 14:17:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:17:34] 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-28 14:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 14:17:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:17:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:17:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":166079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":166079,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":166079,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:17:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704013312001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704013312001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:17:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:17:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704013312001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":166079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707872,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:17:34] local.INFO: GPS data processed {"connection_id":166079,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:17:34] local.INFO: Acknowledgment sent {"connection_id":166079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:17:36] local.INFO: TCP Data received {"connection_id":166081,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:17:36] local.INFO: Processing buffer {"connection_id":166081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:17:36] local.INFO: IMEI packet received {"connection_id":166081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 14:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":166081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:17:41] local.INFO: TCP Data received {"connection_id":166081,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:17:41] local.INFO: Processing buffer {"connection_id":166081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:17:41] local.INFO: IMEI packet received {"connection_id":166081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 14:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":166081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:17:42] local.INFO: TCP Data received {"connection_id":166081,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0478bc750012d34c14006aa4840001100e62b..."} 
[2026-08-28 14:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0478bc750012d34c14006aa4840001100e62b..."} 
[2026-08-28 14:17:42] local.INFO: Processing buffer {"connection_id":166081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0478bc750012d34c14006aa4840001100e62b..."} 
[2026-08-28 14:17:42] local.INFO: Packet analysis {"connection_id":166081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0478b"} 
[2026-08-28 14:17:42] local.INFO: Extracted packet for processing {"connection_id":166081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0478b"} 
[2026-08-28 14:17:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704047872001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:17:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787906738000,"timestamp_ms":1787906738000,"timestamp_seconds":1787906738,"priority":1,"record_length":96,"hex_timestamp":"000001a0478bc750"} 
[2026-08-28 14:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:17:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:17: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-28 14:17:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":166081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":166081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":166081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:17:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704047872001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704047872001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:17:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:17:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14: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-28 14:17:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704047872001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":166081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:17:42] local.INFO: GPS data processed {"connection_id":166081,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:17:42] local.INFO: Acknowledgment sent {"connection_id":166081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:17:47] local.INFO: TCP Data received {"connection_id":166081,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0478bc750012d34c14006aa4840001100e62b..."} 
[2026-08-28 14:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0478bc750012d34c14006aa4840001100e62b..."} 
[2026-08-28 14:17:47] local.INFO: Processing buffer {"connection_id":166081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0478bc750012d34c14006aa4840001100e62b..."} 
[2026-08-28 14:17:47] local.INFO: Packet analysis {"connection_id":166081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0478b"} 
[2026-08-28 14:17:47] local.INFO: Extracted packet for processing {"connection_id":166081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0478b"} 
[2026-08-28 14:17:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704047872001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:17:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:17:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787906738000,"timestamp_ms":1787906738000,"timestamp_seconds":1787906738,"priority":1,"record_length":96,"hex_timestamp":"000001a0478bc750"} 
[2026-08-28 14: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-28 14:17: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-28 14: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":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:17: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-28 14: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-28 14: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-28 14:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":166081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":166081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":166081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:17:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:17:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704047872001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:17:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:17:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:17:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704047872001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:17:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:17:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14: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-28 14:17:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:17:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704047872001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:17:47] local.INFO: DEBUG: GPS processor result {"connection_id":166081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:17:47] local.INFO: GPS data processed {"connection_id":166081,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:17:47] local.INFO: Acknowledgment sent {"connection_id":166081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:17:49] local.INFO: TCP Data received {"connection_id":166080,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0478bdec0012d1967c0071fed70003701182d..."} 
[2026-08-28 14:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0478bdec0012d1967c0071fed70003701182d..."} 
[2026-08-28 14:17:49] local.INFO: Processing buffer {"connection_id":166080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0478bdec0012d1967c0071fed70003701182d..."} 
[2026-08-28 14:17:49] local.INFO: Packet analysis {"connection_id":166080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0478b"} 
[2026-08-28 14:17:49] local.INFO: Extracted packet for processing {"connection_id":166080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0478b"} 
[2026-08-28 14:17:49] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:17:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704121088001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:17:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:17:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:17:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:17:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787906744000,"timestamp_ms":1787906744000,"timestamp_seconds":1787906744,"priority":1,"record_length":96,"hex_timestamp":"000001a0478bdec0"} 
[2026-08-28 14:17:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:17:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-28 14:17:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:17:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:17:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:17:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:17:49] local.INFO: Teltonika packet parsed successfully {"connection_id":166080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:17:49] local.INFO: Passing IMEI to GPS processor {"connection_id":166080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:17:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":166080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:17:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:17:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:17:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:17:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704121088001,"66":12428,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:17:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:17:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:17:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704121088001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:17:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:17:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:17:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:17:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:17:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704121088001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:17:49] local.INFO: DEBUG: GPS processor result {"connection_id":166080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707875,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:17:49] local.INFO: GPS data processed {"connection_id":166080,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:17:49] local.INFO: Acknowledgment sent {"connection_id":166080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:17:56] local.INFO: TCP Data received {"connection_id":166082,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166082,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:17:56] local.INFO: Processing buffer {"connection_id":166082,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:17:56] local.INFO: IMEI packet received {"connection_id":166082,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 14:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":166082,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:18:02] local.INFO: TCP Data received {"connection_id":166082,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166082,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:18:02] local.INFO: Processing buffer {"connection_id":166082,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:18:02] local.INFO: IMEI packet received {"connection_id":166082,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 14:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":166082,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:18:03] local.INFO: TCP Data received {"connection_id":166082,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04789b7f8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04789b7f8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:18:03] local.INFO: Processing buffer {"connection_id":166082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04789b7f8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:18:03] local.INFO: Packet analysis {"connection_id":166082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04789"} 
[2026-08-28 14:18:03] local.INFO: Extracted packet for processing {"connection_id":166082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04789"} 
[2026-08-28 14:18:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704013312001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:18:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787906603000,"timestamp_ms":1787906603000,"timestamp_seconds":1787906603,"priority":1,"record_length":96,"hex_timestamp":"000001a04789b7f8"} 
[2026-08-28 14:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:18:03] 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-28 14:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 14:18:03] 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-28 14:18:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":166082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":166082,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":166082,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704013312001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704013312001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:18:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:18:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704013312001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":166082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707876,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:18:03] local.INFO: GPS data processed {"connection_id":166082,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:18:03] local.INFO: Acknowledgment sent {"connection_id":166082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:18:11] local.INFO: TCP Data received {"connection_id":166083,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166083,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:18:11] local.INFO: Processing buffer {"connection_id":166083,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:18:11] local.INFO: IMEI packet received {"connection_id":166083,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 14:18:11] local.INFO: IMEI acknowledgment sent {"connection_id":166083,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:18:16] local.INFO: TCP Data received {"connection_id":166083,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166083,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:18:16] local.INFO: Processing buffer {"connection_id":166083,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:18:16] local.INFO: IMEI packet received {"connection_id":166083,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 14:18:16] local.INFO: IMEI acknowledgment sent {"connection_id":166083,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:18:17] local.INFO: TCP Data received {"connection_id":166083,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0478c30c8012d1967c0071fed70003701182d..."} 
[2026-08-28 14:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0478c30c8012d1967c0071fed70003701182d..."} 
[2026-08-28 14:18:17] local.INFO: Processing buffer {"connection_id":166083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0478c30c8012d1967c0071fed70003701182d..."} 
[2026-08-28 14:18:17] local.INFO: Packet analysis {"connection_id":166083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0478c"} 
[2026-08-28 14:18:17] local.INFO: Extracted packet for processing {"connection_id":166083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0478c"} 
[2026-08-28 14:18:17] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:18:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704126464001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:18:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:18:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:18:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:18:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787906765000,"timestamp_ms":1787906765000,"timestamp_seconds":1787906765,"priority":1,"record_length":96,"hex_timestamp":"000001a0478c30c8"} 
[2026-08-28 14: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-28 14:18:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-28 14:18:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14: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-28 14:18:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:18:17] local.INFO: Teltonika packet parsed successfully {"connection_id":166083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:18:17] local.INFO: Passing IMEI to GPS processor {"connection_id":166083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:18:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":166083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:18:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:18:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:18:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:18:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704126464001,"66":12428,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:18:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:18:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:18:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704126464001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:18:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:18:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:18:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:18:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:18:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704126464001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:18:17] local.INFO: DEBUG: GPS processor result {"connection_id":166083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707877,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:18:17] local.INFO: GPS data processed {"connection_id":166083,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:18:17] local.INFO: Acknowledgment sent {"connection_id":166083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:18:31] local.INFO: TCP Data received {"connection_id":163733,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:18:31] local.INFO: Processing buffer {"connection_id":163733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:18:31] local.INFO: IMEI packet received {"connection_id":163733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 14:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":163733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:18:35] local.INFO: TCP Data received {"connection_id":166082,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04789b7f8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04789b7f8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:18:35] local.INFO: Processing buffer {"connection_id":166082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04789b7f8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:18:35] local.INFO: Packet analysis {"connection_id":166082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04789"} 
[2026-08-28 14:18:35] local.INFO: Extracted packet for processing {"connection_id":166082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04789"} 
[2026-08-28 14:18:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:18:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704013312001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:18:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:18:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:18:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:18:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787906603000,"timestamp_ms":1787906603000,"timestamp_seconds":1787906603,"priority":1,"record_length":96,"hex_timestamp":"000001a04789b7f8"} 
[2026-08-28 14:18:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:18:35] 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-28 14:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 14:18:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:18:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:18:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:18:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:18:35] local.INFO: Teltonika packet parsed successfully {"connection_id":166082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:18:35] local.INFO: Passing IMEI to GPS processor {"connection_id":166082,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:18:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":166082,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:18:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:18:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:18:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:18:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704013312001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:18:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:18:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:18:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704013312001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:18:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:18:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:18:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:18:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:18:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704013312001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:18:35] local.INFO: DEBUG: GPS processor result {"connection_id":166082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707878,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:18:35] local.INFO: GPS data processed {"connection_id":166082,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:18:35] local.INFO: Acknowledgment sent {"connection_id":166082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:18:36] local.INFO: TCP Data received {"connection_id":163733,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:18:36] local.INFO: Processing buffer {"connection_id":163733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:18:36] local.INFO: IMEI packet received {"connection_id":163733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 14:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":163733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:18:37] local.INFO: TCP Data received {"connection_id":163733,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0478bc750012d34c14006aa4840001100e62b..."} 
[2026-08-28 14:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0478bc750012d34c14006aa4840001100e62b..."} 
[2026-08-28 14:18:37] local.INFO: Processing buffer {"connection_id":163733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0478bc750012d34c14006aa4840001100e62b..."} 
[2026-08-28 14:18:37] local.INFO: Packet analysis {"connection_id":163733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0478b"} 
[2026-08-28 14:18:37] local.INFO: Extracted packet for processing {"connection_id":163733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0478b"} 
[2026-08-28 14:18:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704047872001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787906738000,"timestamp_ms":1787906738000,"timestamp_seconds":1787906738,"priority":1,"record_length":96,"hex_timestamp":"000001a0478bc750"} 
[2026-08-28 14: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-28 14:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14: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-28 14:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704047872001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704047872001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:18:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:18:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:18: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-28 14:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704047872001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:18:37] 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":707879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:18:37] local.INFO: GPS data processed {"connection_id":163733,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:18:37] local.INFO: Acknowledgment sent {"connection_id":163733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:18:49] local.INFO: TCP Data received {"connection_id":166083,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0478c82d0012d1967c0071fed70003701182e..."} 
[2026-08-28 14:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0478c82d0012d1967c0071fed70003701182e..."} 
[2026-08-28 14:18:49] local.INFO: Processing buffer {"connection_id":166083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0478c82d0012d1967c0071fed70003701182e..."} 
[2026-08-28 14:18:49] local.INFO: Packet analysis {"connection_id":166083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0478c"} 
[2026-08-28 14:18:49] local.INFO: Extracted packet for processing {"connection_id":166083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0478c"} 
[2026-08-28 14:18:49] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:18:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704131840001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:18:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:18:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:18:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:18:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787906786000,"timestamp_ms":1787906786000,"timestamp_seconds":1787906786,"priority":1,"record_length":96,"hex_timestamp":"000001a0478c82d0"} 
[2026-08-28 14: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-28 14:18:49] 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-28 14: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-28 14:18:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14: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-28 14:18:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:18:49] local.INFO: Teltonika packet parsed successfully {"connection_id":166083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:18:49] local.INFO: Passing IMEI to GPS processor {"connection_id":166083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:18:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":166083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:18:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:18:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:18:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:18:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704131840001,"66":12428,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:18:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:18:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:18:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704131840001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:18:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:18:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:18:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:18:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:18:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704131840001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:18:49] local.INFO: DEBUG: GPS processor result {"connection_id":166083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707880,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:18:49] local.INFO: GPS data processed {"connection_id":166083,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:18:49] local.INFO: Acknowledgment sent {"connection_id":166083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:19:01] local.INFO: TCP Data received {"connection_id":166084,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166084,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:19:01] local.INFO: Processing buffer {"connection_id":166084,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:19:01] local.INFO: IMEI packet received {"connection_id":166084,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 14:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":166084,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:19:02] local.INFO: TCP Data received {"connection_id":166084,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166084,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:19:02] local.INFO: Processing buffer {"connection_id":166084,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:19:02] local.INFO: IMEI packet received {"connection_id":166084,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 14:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":166084,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:19:04] local.INFO: TCP Data received {"connection_id":166084,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0478e4fc0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0478e4fc0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:19:04] local.INFO: Processing buffer {"connection_id":166084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0478e4fc0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:19:04] local.INFO: Packet analysis {"connection_id":166084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0478e"} 
[2026-08-28 14:19:04] local.INFO: Extracted packet for processing {"connection_id":166084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0478e"} 
[2026-08-28 14:19:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704090368001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:19:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787906904000,"timestamp_ms":1787906904000,"timestamp_seconds":1787906904,"priority":1,"record_length":96,"hex_timestamp":"000001a0478e4fc0"} 
[2026-08-28 14:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:19:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:19:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:19:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":166084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":166084,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":166084,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:19:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704090368001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704090368001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:19:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:19:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704090368001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":166084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707881,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:19:04] local.INFO: GPS data processed {"connection_id":166084,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:19:04] local.INFO: Acknowledgment sent {"connection_id":166084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:19:09] local.INFO: TCP Data received {"connection_id":163733,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0478bc750012d34c14006aa4840001100e62b..."} 
[2026-08-28 14:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0478bc750012d34c14006aa4840001100e62b..."} 
[2026-08-28 14:19:09] local.INFO: Processing buffer {"connection_id":163733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0478bc750012d34c14006aa4840001100e62b..."} 
[2026-08-28 14:19:09] local.INFO: Packet analysis {"connection_id":163733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0478b"} 
[2026-08-28 14:19:09] local.INFO: Extracted packet for processing {"connection_id":163733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0478b"} 
[2026-08-28 14:19:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704047872001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787906738000,"timestamp_ms":1787906738000,"timestamp_seconds":1787906738,"priority":1,"record_length":96,"hex_timestamp":"000001a0478bc750"} 
[2026-08-28 14:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:19: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-28 14:19:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:19:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704047872001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704047872001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:19:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:19:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:19: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-28 14:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704047872001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:19:09] 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":707882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:19:09] local.INFO: GPS data processed {"connection_id":163733,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:19:09] local.INFO: Acknowledgment sent {"connection_id":163733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:19:16] local.INFO: TCP Data received {"connection_id":166085,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166085,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:19:16] local.INFO: Processing buffer {"connection_id":166085,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:19:16] local.INFO: IMEI packet received {"connection_id":166085,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 14:19:16] local.INFO: IMEI acknowledgment sent {"connection_id":166085,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:19:21] local.INFO: TCP Data received {"connection_id":166085,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166085,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:19:21] local.INFO: Processing buffer {"connection_id":166085,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:19:21] local.INFO: IMEI packet received {"connection_id":166085,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 14:19:21] local.INFO: IMEI acknowledgment sent {"connection_id":166085,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:19:22] local.INFO: TCP Data received {"connection_id":166085,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0478cd4d8012d1967c0071fed70003701182e..."} 
[2026-08-28 14:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0478cd4d8012d1967c0071fed70003701182e..."} 
[2026-08-28 14:19:22] local.INFO: Processing buffer {"connection_id":166085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0478cd4d8012d1967c0071fed70003701182e..."} 
[2026-08-28 14:19:22] local.INFO: Packet analysis {"connection_id":166085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0478c"} 
[2026-08-28 14:19:22] local.INFO: Extracted packet for processing {"connection_id":166085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0478c"} 
[2026-08-28 14:19:22] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14:19:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:19:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704137216001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:19:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:19:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:19:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:19:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787906807000,"timestamp_ms":1787906807000,"timestamp_seconds":1787906807,"priority":1,"record_length":96,"hex_timestamp":"000001a0478cd4d8"} 
[2026-08-28 14:19:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:19: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-28 14:19:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-28 14:19:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:19:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:19:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:19:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:19:22] local.INFO: Teltonika packet parsed successfully {"connection_id":166085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:19:22] local.INFO: Passing IMEI to GPS processor {"connection_id":166085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:19:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":166085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:19:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:19:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:19:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:19:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704137216001,"66":12439,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:19:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:19:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:19:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704137216001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:19:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:19:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:19:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:19:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:19:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704137216001,"power":12439,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:19:22] local.INFO: DEBUG: GPS processor result {"connection_id":166085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707883,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:19:22] local.INFO: GPS data processed {"connection_id":166085,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:19:22] local.INFO: Acknowledgment sent {"connection_id":166085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:19:30] local.INFO: TCP Data received {"connection_id":163734,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:19:30] local.INFO: Processing buffer {"connection_id":163734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:19:30] local.INFO: IMEI packet received {"connection_id":163734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 14:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":163734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:19:36] local.INFO: TCP Data received {"connection_id":163734,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:19:36] local.INFO: Processing buffer {"connection_id":163734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:19:36] local.INFO: IMEI packet received {"connection_id":163734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 14:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":163734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:19:36] local.INFO: TCP Data received {"connection_id":166084,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0478e4fc0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0478e4fc0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:19:36] local.INFO: Processing buffer {"connection_id":166084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0478e4fc0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:19:36] local.INFO: Packet analysis {"connection_id":166084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0478e"} 
[2026-08-28 14:19:36] local.INFO: Extracted packet for processing {"connection_id":166084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0478e"} 
[2026-08-28 14:19:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704090368001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787906904000,"timestamp_ms":1787906904000,"timestamp_seconds":1787906904,"priority":1,"record_length":96,"hex_timestamp":"000001a0478e4fc0"} 
[2026-08-28 14:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:19:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:19:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":166084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":166084,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":166084,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704090368001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704090368001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:19:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:19:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704090368001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":166084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707884,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:19:36] local.INFO: GPS data processed {"connection_id":166084,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:19:36] local.INFO: Acknowledgment sent {"connection_id":166084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:19:37] local.INFO: TCP Data received {"connection_id":163734,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0478bc750012d34c14006aa4840001100e62b..."} 
[2026-08-28 14:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0478bc750012d34c14006aa4840001100e62b..."} 
[2026-08-28 14:19:37] local.INFO: Processing buffer {"connection_id":163734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0478bc750012d34c14006aa4840001100e62b..."} 
[2026-08-28 14:19:37] local.INFO: Packet analysis {"connection_id":163734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0478b"} 
[2026-08-28 14:19:37] local.INFO: Extracted packet for processing {"connection_id":163734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0478b"} 
[2026-08-28 14:19:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704047872001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787906738000,"timestamp_ms":1787906738000,"timestamp_seconds":1787906738,"priority":1,"record_length":96,"hex_timestamp":"000001a0478bc750"} 
[2026-08-28 14:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704047872001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704047872001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:19:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:19:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:19: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-28 14:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704047872001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:19:37] 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":707885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:19:37] local.INFO: GPS data processed {"connection_id":163734,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:19:37] local.INFO: Acknowledgment sent {"connection_id":163734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:19:54] local.INFO: TCP Data received {"connection_id":166085,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0478d26e0012d1967c0071fed70003701182c..."} 
[2026-08-28 14:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0478d26e0012d1967c0071fed70003701182c..."} 
[2026-08-28 14:19:54] local.INFO: Processing buffer {"connection_id":166085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0478d26e0012d1967c0071fed70003701182c..."} 
[2026-08-28 14:19:54] local.INFO: Packet analysis {"connection_id":166085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0478d"} 
[2026-08-28 14:19:54] local.INFO: Extracted packet for processing {"connection_id":166085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0478d"} 
[2026-08-28 14:19:54] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:19:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704142592001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:19:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:19:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:19:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:19:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787906828000,"timestamp_ms":1787906828000,"timestamp_seconds":1787906828,"priority":1,"record_length":96,"hex_timestamp":"000001a0478d26e0"} 
[2026-08-28 14:19:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:19:54] 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-28 14:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 14:19:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:19:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:19:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:19:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:19:54] local.INFO: Teltonika packet parsed successfully {"connection_id":166085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:19:54] local.INFO: Passing IMEI to GPS processor {"connection_id":166085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:19:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":166085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:19:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:19:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:19:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:19:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704142592001,"66":12428,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:19:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:19:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:19:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704142592001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:19:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:19:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:19:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:19:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:19:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704142592001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:19:54] local.INFO: DEBUG: GPS processor result {"connection_id":166085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707886,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:19:54] local.INFO: GPS data processed {"connection_id":166085,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:19:54] local.INFO: Acknowledgment sent {"connection_id":166085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:19:56] local.INFO: TCP Data received {"connection_id":166086,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166086,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:19:56] local.INFO: Processing buffer {"connection_id":166086,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:19:56] local.INFO: IMEI packet received {"connection_id":166086,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 14:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":166086,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:20:02] local.INFO: TCP Data received {"connection_id":166086,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166086,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:20:02] local.INFO: Processing buffer {"connection_id":166086,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:20:02] local.INFO: IMEI packet received {"connection_id":166086,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 14:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":166086,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:20:03] local.INFO: TCP Data received {"connection_id":166086,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0478e4fc0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0478e4fc0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:20:03] local.INFO: Processing buffer {"connection_id":166086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0478e4fc0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:20:03] local.INFO: Packet analysis {"connection_id":166086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0478e"} 
[2026-08-28 14:20:03] local.INFO: Extracted packet for processing {"connection_id":166086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0478e"} 
[2026-08-28 14:20:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704090368001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:20:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787906904000,"timestamp_ms":1787906904000,"timestamp_seconds":1787906904,"priority":1,"record_length":96,"hex_timestamp":"000001a0478e4fc0"} 
[2026-08-28 14:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:20:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:20:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:20:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":166086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":166086,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":166086,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704090368001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704090368001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:20:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:20:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704090368001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":166086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707887,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:20:03] local.INFO: GPS data processed {"connection_id":166086,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:20:03] local.INFO: Acknowledgment sent {"connection_id":166086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:20:09] local.INFO: TCP Data received {"connection_id":163734,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0478bc750012d34c14006aa4840001100e62b..."} 
[2026-08-28 14:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0478bc750012d34c14006aa4840001100e62b..."} 
[2026-08-28 14:20:09] local.INFO: Processing buffer {"connection_id":163734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0478bc750012d34c14006aa4840001100e62b..."} 
[2026-08-28 14:20:09] local.INFO: Packet analysis {"connection_id":163734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0478b"} 
[2026-08-28 14:20:09] local.INFO: Extracted packet for processing {"connection_id":163734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0478b"} 
[2026-08-28 14:20:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704047872001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:20:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787906738000,"timestamp_ms":1787906738000,"timestamp_seconds":1787906738,"priority":1,"record_length":96,"hex_timestamp":"000001a0478bc750"} 
[2026-08-28 14:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:20: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-28 14:20:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:20:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704047872001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704047872001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:20:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:20:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:20: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-28 14:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704047872001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:20:09] 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":707888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:20:09] local.INFO: GPS data processed {"connection_id":163734,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:20:09] local.INFO: Acknowledgment sent {"connection_id":163734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:20:11] local.INFO: TCP Data received {"connection_id":163735,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:20:11] local.INFO: Processing buffer {"connection_id":163735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:20:11] local.INFO: IMEI packet received {"connection_id":163735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 14:20:11] local.INFO: IMEI acknowledgment sent {"connection_id":163735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:20:13] local.INFO: TCP Data received {"connection_id":163735,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:20:13] local.INFO: Processing buffer {"connection_id":163735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:20:13] local.INFO: IMEI packet received {"connection_id":163735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 14:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":163735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:20:16] local.INFO: TCP Data received {"connection_id":163735,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:20:16] local.INFO: Processing buffer {"connection_id":163735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:20:16] local.INFO: IMEI packet received {"connection_id":163735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 14:20:16] local.INFO: IMEI acknowledgment sent {"connection_id":163735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:20:18] local.INFO: TCP Data received {"connection_id":163735,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0478d78e8012d1967c0071fed70003701182d..."} 
[2026-08-28 14:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0478d78e8012d1967c0071fed70003701182d..."} 
[2026-08-28 14:20:18] local.INFO: Processing buffer {"connection_id":163735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0478d78e8012d1967c0071fed70003701182d..."} 
[2026-08-28 14:20:18] local.INFO: Packet analysis {"connection_id":163735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0478d"} 
[2026-08-28 14:20:18] local.INFO: Extracted packet for processing {"connection_id":163735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0478d"} 
[2026-08-28 14:20:18] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14:20:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:20:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704147968001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:20:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:20:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:20:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:20:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787906849000,"timestamp_ms":1787906849000,"timestamp_seconds":1787906849,"priority":1,"record_length":96,"hex_timestamp":"000001a0478d78e8"} 
[2026-08-28 14:20:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:20:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14:20:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-28 14:20: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-28 14:20:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:20:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:20:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:20:18] local.INFO: Teltonika packet parsed successfully {"connection_id":163735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:20:18] local.INFO: Passing IMEI to GPS processor {"connection_id":163735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:20:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":163735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:20:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:20:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:20:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:20:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704147968001,"66":12428,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:20:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:20:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:20:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704147968001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:20:18] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:20:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:20:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:20:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:20:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704147968001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:20:18] 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":707889,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:20:18] local.INFO: GPS data processed {"connection_id":163735,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:20:18] local.INFO: Acknowledgment sent {"connection_id":163735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:20:22] local.INFO: TCP Data received {"connection_id":163735,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0478dcaf0012d1967c0071fed70003701182d..."} 
[2026-08-28 14:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0478dcaf0012d1967c0071fed70003701182d..."} 
[2026-08-28 14:20:22] local.INFO: Processing buffer {"connection_id":163735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0478dcaf0012d1967c0071fed70003701182d..."} 
[2026-08-28 14:20:22] local.INFO: Packet analysis {"connection_id":163735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0478d"} 
[2026-08-28 14:20:22] local.INFO: Extracted packet for processing {"connection_id":163735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0478d"} 
[2026-08-28 14:20:22] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:20:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704153344001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:20:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:20:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:20:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:20:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787906870000,"timestamp_ms":1787906870000,"timestamp_seconds":1787906870,"priority":1,"record_length":96,"hex_timestamp":"000001a0478dcaf0"} 
[2026-08-28 14: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-28 14:20: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-28 14: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-28 14:20:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14: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-28 14:20:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:20:22] local.INFO: Teltonika packet parsed successfully {"connection_id":163735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:20:22] local.INFO: Passing IMEI to GPS processor {"connection_id":163735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:20:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":163735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:20:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:20:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:20:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:20:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704153344001,"66":12439,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:20:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:20:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:20:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704153344001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:20:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:20:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:20:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:20:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:20:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704153344001,"power":12439,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:20:22] 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":707890,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:20:22] local.INFO: GPS data processed {"connection_id":163735,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:20:22] local.INFO: Acknowledgment sent {"connection_id":163735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:20:30] local.INFO: TCP Data received {"connection_id":166087,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:20:30] local.INFO: Processing buffer {"connection_id":166087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:20:30] local.INFO: IMEI packet received {"connection_id":166087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 14:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":166087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:20:36] local.INFO: TCP Data received {"connection_id":166086,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0478e4fc0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0478e4fc0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:20:36] local.INFO: Processing buffer {"connection_id":166086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0478e4fc0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:20:36] local.INFO: Packet analysis {"connection_id":166086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0478e"} 
[2026-08-28 14:20:36] local.INFO: Extracted packet for processing {"connection_id":166086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0478e"} 
[2026-08-28 14:20:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704090368001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:20:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:20:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787906904000,"timestamp_ms":1787906904000,"timestamp_seconds":1787906904,"priority":1,"record_length":96,"hex_timestamp":"000001a0478e4fc0"} 
[2026-08-28 14: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-28 14:20:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:20:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14: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-28 14:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":166086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":166086,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":166086,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:20:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704090368001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704090368001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:20:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:20:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:20:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704090368001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":166086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707891,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:20:36] local.INFO: GPS data processed {"connection_id":166086,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:20:36] local.INFO: Acknowledgment sent {"connection_id":166086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:20:36] local.INFO: TCP Data received {"connection_id":166087,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:20:36] local.INFO: Processing buffer {"connection_id":166087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:20:36] local.INFO: IMEI packet received {"connection_id":166087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 14:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":166087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:20:37] local.INFO: TCP Data received {"connection_id":166087,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0478bc750012d34c14006aa4840001100e62b..."} 
[2026-08-28 14:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0478bc750012d34c14006aa4840001100e62b..."} 
[2026-08-28 14:20:37] local.INFO: Processing buffer {"connection_id":166087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0478bc750012d34c14006aa4840001100e62b..."} 
[2026-08-28 14:20:37] local.INFO: Packet analysis {"connection_id":166087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0478b"} 
[2026-08-28 14:20:37] local.INFO: Extracted packet for processing {"connection_id":166087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0478b"} 
[2026-08-28 14:20:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704047872001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787906738000,"timestamp_ms":1787906738000,"timestamp_seconds":1787906738,"priority":1,"record_length":96,"hex_timestamp":"000001a0478bc750"} 
[2026-08-28 14:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":166087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":166087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":166087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704047872001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704047872001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:20:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:20:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:20: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-28 14:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704047872001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":166087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:20:37] local.INFO: GPS data processed {"connection_id":166087,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:20:37] local.INFO: Acknowledgment sent {"connection_id":166087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:20:53] local.INFO: TCP Data received {"connection_id":163735,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0478e1cf8012d1967c0071fed70003701182c..."} 
[2026-08-28 14:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0478e1cf8012d1967c0071fed70003701182c..."} 
[2026-08-28 14:20:53] local.INFO: Processing buffer {"connection_id":163735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0478e1cf8012d1967c0071fed70003701182c..."} 
[2026-08-28 14:20:53] local.INFO: Packet analysis {"connection_id":163735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0478e"} 
[2026-08-28 14:20:53] local.INFO: Extracted packet for processing {"connection_id":163735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0478e"} 
[2026-08-28 14:20:53] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:20:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704158720001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:20:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:20:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:20:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:20:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787906891000,"timestamp_ms":1787906891000,"timestamp_seconds":1787906891,"priority":1,"record_length":96,"hex_timestamp":"000001a0478e1cf8"} 
[2026-08-28 14:20:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:20: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-28 14:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 14:20:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:20:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:20:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:20:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:20:53] local.INFO: Teltonika packet parsed successfully {"connection_id":163735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:20:53] local.INFO: Passing IMEI to GPS processor {"connection_id":163735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:20:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":163735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:20:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:20:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:20:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:20:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704158720001,"66":12428,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:20:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:20:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:20:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704158720001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:20:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:20:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:20:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:20:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:20:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704158720001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:20:53] 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":707893,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:20:53] local.INFO: GPS data processed {"connection_id":163735,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:20:53] local.INFO: Acknowledgment sent {"connection_id":163735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:21:02] local.INFO: TCP Data received {"connection_id":166088,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166088,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:21:02] local.INFO: Processing buffer {"connection_id":166088,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:21:02] local.INFO: IMEI packet received {"connection_id":166088,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 14:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":166088,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:21:07] local.INFO: TCP Data received {"connection_id":166088,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166088,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:21:07] local.INFO: Processing buffer {"connection_id":166088,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:21:07] local.INFO: IMEI packet received {"connection_id":166088,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 14:21:07] local.INFO: IMEI acknowledgment sent {"connection_id":166088,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:21:09] local.INFO: TCP Data received {"connection_id":166088,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0478e4fc0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0478e4fc0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:21:09] local.INFO: Processing buffer {"connection_id":166088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0478e4fc0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:21:09] local.INFO: Packet analysis {"connection_id":166088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0478e"} 
[2026-08-28 14:21:09] local.INFO: Extracted packet for processing {"connection_id":166088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0478e"} 
[2026-08-28 14:21:09] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704090368001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:21:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787906904000,"timestamp_ms":1787906904000,"timestamp_seconds":1787906904,"priority":1,"record_length":96,"hex_timestamp":"000001a0478e4fc0"} 
[2026-08-28 14:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:21: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-28 14:21:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":166088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":166088,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":166088,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:21:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704090368001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704090368001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:21:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:21:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704090368001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":166088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707894,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:21:09] local.INFO: GPS data processed {"connection_id":166088,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:21:09] local.INFO: Acknowledgment sent {"connection_id":166088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:21:09] local.INFO: TCP Data received {"connection_id":166087,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0478bc750012d34c14006aa4840001100e62b..."} 
[2026-08-28 14:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0478bc750012d34c14006aa4840001100e62b..."} 
[2026-08-28 14:21:09] local.INFO: Processing buffer {"connection_id":166087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0478bc750012d34c14006aa4840001100e62b..."} 
[2026-08-28 14:21:09] local.INFO: Packet analysis {"connection_id":166087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0478b"} 
[2026-08-28 14:21:09] local.INFO: Extracted packet for processing {"connection_id":166087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0478b"} 
[2026-08-28 14:21:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704047872001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:21:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787906738000,"timestamp_ms":1787906738000,"timestamp_seconds":1787906738,"priority":1,"record_length":96,"hex_timestamp":"000001a0478bc750"} 
[2026-08-28 14:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:21: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-28 14:21:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":166087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":166087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":166087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:21:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704047872001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704047872001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:21:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:21:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:21: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-28 14:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704047872001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":166087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:21:09] local.INFO: GPS data processed {"connection_id":166087,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:21:09] local.INFO: Acknowledgment sent {"connection_id":166087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:21:11] local.INFO: TCP Data received {"connection_id":163736,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:21:11] local.INFO: Processing buffer {"connection_id":163736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:21:11] local.INFO: IMEI packet received {"connection_id":163736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 14:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":163736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:21:12] local.INFO: TCP Data received {"connection_id":166088,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0478e4fc0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0478e4fc0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:21:12] local.INFO: Processing buffer {"connection_id":166088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0478e4fc0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:21:12] local.INFO: Packet analysis {"connection_id":166088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0478e"} 
[2026-08-28 14:21:12] local.INFO: Extracted packet for processing {"connection_id":166088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0478e"} 
[2026-08-28 14:21:12] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704090368001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:21:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:21:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787906904000,"timestamp_ms":1787906904000,"timestamp_seconds":1787906904,"priority":1,"record_length":96,"hex_timestamp":"000001a0478e4fc0"} 
[2026-08-28 14:21:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:21:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:21: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-28 14:21:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:21:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":166088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":166088,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":166088,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:21:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704090368001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704090368001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:21:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:21:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:21:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704090368001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:21:13] local.INFO: DEBUG: GPS processor result {"connection_id":166088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707896,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:21:13] local.INFO: GPS data processed {"connection_id":166088,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:21:13] local.INFO: Acknowledgment sent {"connection_id":166088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:21:16] local.INFO: TCP Data received {"connection_id":163736,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:21:16] local.INFO: Processing buffer {"connection_id":163736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:21:16] local.INFO: IMEI packet received {"connection_id":163736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 14:21:16] local.INFO: IMEI acknowledgment sent {"connection_id":163736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:21:17] local.INFO: TCP Data received {"connection_id":163736,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0478e6f00012d1967c0071fed70003701182c..."} 
[2026-08-28 14:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0478e6f00012d1967c0071fed70003701182c..."} 
[2026-08-28 14:21:17] local.INFO: Processing buffer {"connection_id":163736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0478e6f00012d1967c0071fed70003701182c..."} 
[2026-08-28 14:21:17] local.INFO: Packet analysis {"connection_id":163736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0478e"} 
[2026-08-28 14:21:17] local.INFO: Extracted packet for processing {"connection_id":163736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0478e"} 
[2026-08-28 14:21:17] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:21:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704164096001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:21:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:21:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:21:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:21:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787906912000,"timestamp_ms":1787906912000,"timestamp_seconds":1787906912,"priority":1,"record_length":96,"hex_timestamp":"000001a0478e6f00"} 
[2026-08-28 14: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-28 14:21:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-28 14:21:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14: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-28 14:21:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:21:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:21:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:21:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:21:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:21:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:21:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:21:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704164096001,"66":12428,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:21:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:21:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:21:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704164096001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:21:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:21:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:21:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:21:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:21:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704164096001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:21:18] 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":707897,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:21:18] local.INFO: GPS data processed {"connection_id":163736,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:21:18] local.INFO: Acknowledgment sent {"connection_id":163736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:21:30] local.INFO: TCP Data received {"connection_id":163737,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:21:30] local.INFO: Processing buffer {"connection_id":163737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:21:30] local.INFO: IMEI packet received {"connection_id":163737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 14:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":163737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:21:35] local.INFO: TCP Data received {"connection_id":163737,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:21:35] local.INFO: Processing buffer {"connection_id":163737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:21:35] local.INFO: IMEI packet received {"connection_id":163737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 14:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":163737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:21:37] local.INFO: TCP Data received {"connection_id":163737,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047905f18012d34c14006aa4840000e00e62b..."} 
[2026-08-28 14:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047905f18012d34c14006aa4840000e00e62b..."} 
[2026-08-28 14:21:37] local.INFO: Processing buffer {"connection_id":163737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047905f18012d34c14006aa4840000e00e62b..."} 
[2026-08-28 14:21:37] local.INFO: Packet analysis {"connection_id":163737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04790"} 
[2026-08-28 14:21:37] local.INFO: Extracted packet for processing {"connection_id":163737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04790"} 
[2026-08-28 14:21:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704124928001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787907039000,"timestamp_ms":1787907039000,"timestamp_seconds":1787907039,"priority":1,"record_length":96,"hex_timestamp":"000001a047905f18"} 
[2026-08-28 14: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-28 14:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 14:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14: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-28 14:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704124928001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704124928001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:21:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:21:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:21: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-28 14:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704124928001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:21:37] 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":707898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:21:37] local.INFO: GPS data processed {"connection_id":163737,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:21:37] local.INFO: Acknowledgment sent {"connection_id":163737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:21:49] local.INFO: TCP Data received {"connection_id":163736,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0478ec108012d1967c0071fed70003701182e..."} 
[2026-08-28 14:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0478ec108012d1967c0071fed70003701182e..."} 
[2026-08-28 14:21:49] local.INFO: Processing buffer {"connection_id":163736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0478ec108012d1967c0071fed70003701182e..."} 
[2026-08-28 14:21:49] local.INFO: Packet analysis {"connection_id":163736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0478e"} 
[2026-08-28 14:21:49] local.INFO: Extracted packet for processing {"connection_id":163736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0478e"} 
[2026-08-28 14:21:49] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704169472001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:21:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:21:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787906933000,"timestamp_ms":1787906933000,"timestamp_seconds":1787906933,"priority":1,"record_length":96,"hex_timestamp":"000001a0478ec108"} 
[2026-08-28 14:21:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:21:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-28 14:21:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:21:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:21:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:21:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704169472001,"66":12428,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704169472001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:21:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:21:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:21:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704169472001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:21:49] 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":707899,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:21:49] local.INFO: GPS data processed {"connection_id":163736,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:21:49] local.INFO: Acknowledgment sent {"connection_id":163736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:21:56] local.INFO: TCP Data received {"connection_id":166089,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166089,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:21:56] local.INFO: Processing buffer {"connection_id":166089,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:21:56] local.INFO: IMEI packet received {"connection_id":166089,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 14:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":166089,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:22:02] local.INFO: TCP Data received {"connection_id":166089,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166089,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:22:02] local.INFO: Processing buffer {"connection_id":166089,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:22:02] local.INFO: IMEI packet received {"connection_id":166089,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 14:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":166089,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:22:03] local.INFO: TCP Data received {"connection_id":166089,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0478e4fc0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0478e4fc0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:22:03] local.INFO: Processing buffer {"connection_id":166089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0478e4fc0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:22:03] local.INFO: Packet analysis {"connection_id":166089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0478e"} 
[2026-08-28 14:22:03] local.INFO: Extracted packet for processing {"connection_id":166089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0478e"} 
[2026-08-28 14:22:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704090368001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:22:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787906904000,"timestamp_ms":1787906904000,"timestamp_seconds":1787906904,"priority":1,"record_length":96,"hex_timestamp":"000001a0478e4fc0"} 
[2026-08-28 14:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:22:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:22:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:22:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":166089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":166089,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":166089,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:22:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704090368001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704090368001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:22:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:22:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704090368001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":166089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707900,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:22:03] local.INFO: GPS data processed {"connection_id":166089,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:22:03] local.INFO: Acknowledgment sent {"connection_id":166089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:22:09] local.INFO: TCP Data received {"connection_id":163737,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047905f18012d34c14006aa4840000e00e62b..."} 
[2026-08-28 14:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047905f18012d34c14006aa4840000e00e62b..."} 
[2026-08-28 14:22:09] local.INFO: Processing buffer {"connection_id":163737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047905f18012d34c14006aa4840000e00e62b..."} 
[2026-08-28 14:22:09] local.INFO: Packet analysis {"connection_id":163737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04790"} 
[2026-08-28 14:22:09] local.INFO: Extracted packet for processing {"connection_id":163737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04790"} 
[2026-08-28 14:22:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704124928001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:22:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:22:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787907039000,"timestamp_ms":1787907039000,"timestamp_seconds":1787907039,"priority":1,"record_length":96,"hex_timestamp":"000001a047905f18"} 
[2026-08-28 14:22:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:22: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-28 14:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 14:22:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:22:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:22:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:22:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704124928001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704124928001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:22:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:22:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:22: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-28 14:22:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704124928001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:22:09] 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":707901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:22:09] local.INFO: GPS data processed {"connection_id":163737,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:22:09] local.INFO: Acknowledgment sent {"connection_id":163737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:22:11] local.INFO: TCP Data received {"connection_id":166090,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166090,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:22:11] local.INFO: Processing buffer {"connection_id":166090,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:22:11] local.INFO: IMEI packet received {"connection_id":166090,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 14:22:11] local.INFO: IMEI acknowledgment sent {"connection_id":166090,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:22:16] local.INFO: TCP Data received {"connection_id":166090,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166090,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:22:16] local.INFO: Processing buffer {"connection_id":166090,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:22:16] local.INFO: IMEI packet received {"connection_id":166090,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 14:22:16] local.INFO: IMEI acknowledgment sent {"connection_id":166090,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:22:17] local.INFO: TCP Data received {"connection_id":166090,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0478f1310012d1967c0071fed70003701182e..."} 
[2026-08-28 14:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0478f1310012d1967c0071fed70003701182e..."} 
[2026-08-28 14:22:17] local.INFO: Processing buffer {"connection_id":166090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0478f1310012d1967c0071fed70003701182e..."} 
[2026-08-28 14:22:17] local.INFO: Packet analysis {"connection_id":166090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0478f"} 
[2026-08-28 14:22:17] local.INFO: Extracted packet for processing {"connection_id":166090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0478f"} 
[2026-08-28 14:22:17] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":46,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:22:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704174848001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:22:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:22:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:22:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:22:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787906954000,"timestamp_ms":1787906954000,"timestamp_seconds":1787906954,"priority":1,"record_length":96,"hex_timestamp":"000001a0478f1310"} 
[2026-08-28 14: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-28 14:22:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-28 14:22:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14: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-28 14:22:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:22:17] local.INFO: Teltonika packet parsed successfully {"connection_id":166090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:22:17] local.INFO: Passing IMEI to GPS processor {"connection_id":166090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:22:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":166090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:22:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:22:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:22:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:22:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704174848001,"66":12406,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:22:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:22:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:22:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704174848001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:22:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:22:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:22:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:22:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:22:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704174848001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:22:17] local.INFO: DEBUG: GPS processor result {"connection_id":166090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707902,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:22:17] local.INFO: GPS data processed {"connection_id":166090,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:22:17] local.INFO: Acknowledgment sent {"connection_id":166090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:22:30] local.INFO: TCP Data received {"connection_id":163464,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:22:30] local.INFO: Processing buffer {"connection_id":163464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:22:30] local.INFO: IMEI packet received {"connection_id":163464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 14:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":163464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:22:35] local.INFO: TCP Data received {"connection_id":166089,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0478e4fc0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0478e4fc0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:22:35] local.INFO: Processing buffer {"connection_id":166089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0478e4fc0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:22:35] local.INFO: Packet analysis {"connection_id":166089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0478e"} 
[2026-08-28 14:22:35] local.INFO: Extracted packet for processing {"connection_id":166089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0478e"} 
[2026-08-28 14:22:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704090368001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:22:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:22:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:22:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:22:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787906904000,"timestamp_ms":1787906904000,"timestamp_seconds":1787906904,"priority":1,"record_length":96,"hex_timestamp":"000001a0478e4fc0"} 
[2026-08-28 14:22:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:22:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:22:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:22:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:22:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:22:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:22:35] local.INFO: Teltonika packet parsed successfully {"connection_id":166089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:22:35] local.INFO: Passing IMEI to GPS processor {"connection_id":166089,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:22:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":166089,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:22:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:22:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:22:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:22:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704090368001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:22:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:22:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:22:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704090368001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:22:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:22:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:22:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:22:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:22:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704090368001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:22:35] local.INFO: DEBUG: GPS processor result {"connection_id":166089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707903,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:22:35] local.INFO: GPS data processed {"connection_id":166089,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:22:35] local.INFO: Acknowledgment sent {"connection_id":166089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:22:36] local.INFO: TCP Data received {"connection_id":163464,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:22:36] local.INFO: Processing buffer {"connection_id":163464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:22:36] local.INFO: IMEI packet received {"connection_id":163464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 14:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":163464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:22:37] local.INFO: TCP Data received {"connection_id":163464,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047905f18012d34c14006aa4840000e00e62b..."} 
[2026-08-28 14:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047905f18012d34c14006aa4840000e00e62b..."} 
[2026-08-28 14:22:37] local.INFO: Processing buffer {"connection_id":163464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047905f18012d34c14006aa4840000e00e62b..."} 
[2026-08-28 14:22:37] local.INFO: Packet analysis {"connection_id":163464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04790"} 
[2026-08-28 14:22:37] local.INFO: Extracted packet for processing {"connection_id":163464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04790"} 
[2026-08-28 14:22:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704124928001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787907039000,"timestamp_ms":1787907039000,"timestamp_seconds":1787907039,"priority":1,"record_length":96,"hex_timestamp":"000001a047905f18"} 
[2026-08-28 14:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 14:22:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:22:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704124928001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704124928001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:22:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:22:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:22: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-28 14:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704124928001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:22:37] 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":707904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:22:37] local.INFO: GPS data processed {"connection_id":163464,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:22:37] local.INFO: Acknowledgment sent {"connection_id":163464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:22:49] local.INFO: TCP Data received {"connection_id":166090,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0478f6518012d1967c0071fed70003701182d..."} 
[2026-08-28 14:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0478f6518012d1967c0071fed70003701182d..."} 
[2026-08-28 14:22:49] local.INFO: Processing buffer {"connection_id":166090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0478f6518012d1967c0071fed70003701182d..."} 
[2026-08-28 14:22:49] local.INFO: Packet analysis {"connection_id":166090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0478f"} 
[2026-08-28 14:22:49] local.INFO: Extracted packet for processing {"connection_id":166090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0478f"} 
[2026-08-28 14:22:49] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:22:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704180224001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:22:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:22:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:22:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:22:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787906975000,"timestamp_ms":1787906975000,"timestamp_seconds":1787906975,"priority":1,"record_length":96,"hex_timestamp":"000001a0478f6518"} 
[2026-08-28 14:22:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:22:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 14:22:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:22:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:22:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:22:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:22:49] local.INFO: Teltonika packet parsed successfully {"connection_id":166090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:22:49] local.INFO: Passing IMEI to GPS processor {"connection_id":166090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:22:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":166090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:22:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:22:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:22:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:22:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704180224001,"66":12428,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:22:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:22:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:22:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704180224001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:22:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:22:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:22:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:22:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:22:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704180224001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:22:49] local.INFO: DEBUG: GPS processor result {"connection_id":166090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707905,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:22:49] local.INFO: GPS data processed {"connection_id":166090,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:22:49] local.INFO: Acknowledgment sent {"connection_id":166090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:22:57] local.INFO: TCP Data received {"connection_id":163465,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163465,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:22:57] local.INFO: Processing buffer {"connection_id":163465,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:22:57] local.INFO: IMEI packet received {"connection_id":163465,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 14:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":163465,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:23:02] local.INFO: TCP Data received {"connection_id":163465,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163465,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:23:02] local.INFO: Processing buffer {"connection_id":163465,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:23:02] local.INFO: IMEI packet received {"connection_id":163465,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 14:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":163465,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:23:03] local.INFO: TCP Data received {"connection_id":163465,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0478e4fc0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0478e4fc0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:23:03] local.INFO: Processing buffer {"connection_id":163465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0478e4fc0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:23:03] local.INFO: Packet analysis {"connection_id":163465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0478e"} 
[2026-08-28 14:23:03] local.INFO: Extracted packet for processing {"connection_id":163465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0478e"} 
[2026-08-28 14:23:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704090368001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787906904000,"timestamp_ms":1787906904000,"timestamp_seconds":1787906904,"priority":1,"record_length":96,"hex_timestamp":"000001a0478e4fc0"} 
[2026-08-28 14:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:23:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:23:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:23:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163465,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163465,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704090368001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704090368001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:23:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:23:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704090368001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:23:03] 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":707906,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:23:03] local.INFO: GPS data processed {"connection_id":163465,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:23:03] local.INFO: Acknowledgment sent {"connection_id":163465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:23:09] local.INFO: TCP Data received {"connection_id":163464,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047905f18012d34c14006aa4840000e00e62b..."} 
[2026-08-28 14:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047905f18012d34c14006aa4840000e00e62b..."} 
[2026-08-28 14:23:09] local.INFO: Processing buffer {"connection_id":163464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047905f18012d34c14006aa4840000e00e62b..."} 
[2026-08-28 14:23:09] local.INFO: Packet analysis {"connection_id":163464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04790"} 
[2026-08-28 14:23:09] local.INFO: Extracted packet for processing {"connection_id":163464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04790"} 
[2026-08-28 14:23:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704124928001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:23:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:23:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787907039000,"timestamp_ms":1787907039000,"timestamp_seconds":1787907039,"priority":1,"record_length":96,"hex_timestamp":"000001a047905f18"} 
[2026-08-28 14:23:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:23: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-28 14:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 14:23:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:23:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:23:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:23:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704124928001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704124928001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:23:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:23:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:23: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-28 14:23:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704124928001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:23:09] 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":707907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:23:09] local.INFO: GPS data processed {"connection_id":163464,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:23:09] local.INFO: Acknowledgment sent {"connection_id":163464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:23:11] local.INFO: TCP Data received {"connection_id":166091,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166091,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:23:11] local.INFO: Processing buffer {"connection_id":166091,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:23:11] local.INFO: IMEI packet received {"connection_id":166091,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 14:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":166091,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:23:16] local.INFO: TCP Data received {"connection_id":166091,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166091,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:23:16] local.INFO: Processing buffer {"connection_id":166091,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:23:16] local.INFO: IMEI packet received {"connection_id":166091,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 14:23:16] local.INFO: IMEI acknowledgment sent {"connection_id":166091,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:23:17] local.INFO: TCP Data received {"connection_id":166091,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0478fb720012d1967c0071fed70003701182c..."} 
[2026-08-28 14:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0478fb720012d1967c0071fed70003701182c..."} 
[2026-08-28 14:23:17] local.INFO: Processing buffer {"connection_id":166091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0478fb720012d1967c0071fed70003701182c..."} 
[2026-08-28 14:23:17] local.INFO: Packet analysis {"connection_id":166091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0478f"} 
[2026-08-28 14:23:17] local.INFO: Extracted packet for processing {"connection_id":166091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0478f"} 
[2026-08-28 14:23:17] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14:23:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:23:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704185600001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:23:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:23:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:23:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:23:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787906996000,"timestamp_ms":1787906996000,"timestamp_seconds":1787906996,"priority":1,"record_length":96,"hex_timestamp":"000001a0478fb720"} 
[2026-08-28 14: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-28 14:23:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-28 14:23:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14: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-28 14:23:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:23:17] local.INFO: Teltonika packet parsed successfully {"connection_id":166091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:23:17] local.INFO: Passing IMEI to GPS processor {"connection_id":166091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:23:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":166091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:23:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:23:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:23:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:23:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704185600001,"66":12406,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:23:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:23:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:23:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704185600001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:23:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:23:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:23:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:23:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:23:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704185600001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:23:17] local.INFO: DEBUG: GPS processor result {"connection_id":166091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707908,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:23:17] local.INFO: GPS data processed {"connection_id":166091,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:23:17] local.INFO: Acknowledgment sent {"connection_id":166091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:23:35] local.INFO: TCP Data received {"connection_id":163465,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0478e4fc0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0478e4fc0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:23:35] local.INFO: Processing buffer {"connection_id":163465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0478e4fc0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:23:35] local.INFO: Packet analysis {"connection_id":163465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0478e"} 
[2026-08-28 14:23:35] local.INFO: Extracted packet for processing {"connection_id":163465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0478e"} 
[2026-08-28 14:23:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:23:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704090368001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:23:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:23:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:23:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:23:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787906904000,"timestamp_ms":1787906904000,"timestamp_seconds":1787906904,"priority":1,"record_length":96,"hex_timestamp":"000001a0478e4fc0"} 
[2026-08-28 14:23:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:23:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:23:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:23:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:23:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:23:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:23:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:23:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163465,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:23:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163465,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:23:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:23:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:23:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:23:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704090368001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:23:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:23:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:23:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704090368001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:23:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:23:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:23:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:23:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:23:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704090368001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:23:35] 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":707909,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:23:35] local.INFO: GPS data processed {"connection_id":163465,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:23:35] local.INFO: Acknowledgment sent {"connection_id":163465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:23:35] local.INFO: TCP Data received {"connection_id":163466,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:23:35] local.INFO: Processing buffer {"connection_id":163466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:23:35] local.INFO: IMEI packet received {"connection_id":163466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 14:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":163466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:23:41] local.INFO: TCP Data received {"connection_id":163466,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:23:41] local.INFO: Processing buffer {"connection_id":163466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:23:41] local.INFO: IMEI packet received {"connection_id":163466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 14:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":163466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:23:42] local.INFO: TCP Data received {"connection_id":163466,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047905f18012d34c14006aa4840000e00e62b..."} 
[2026-08-28 14:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047905f18012d34c14006aa4840000e00e62b..."} 
[2026-08-28 14:23:42] local.INFO: Processing buffer {"connection_id":163466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047905f18012d34c14006aa4840000e00e62b..."} 
[2026-08-28 14:23:42] local.INFO: Packet analysis {"connection_id":163466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04790"} 
[2026-08-28 14:23:42] local.INFO: Extracted packet for processing {"connection_id":163466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04790"} 
[2026-08-28 14:23:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 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-28 14:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704124928001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:23:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:23:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787907039000,"timestamp_ms":1787907039000,"timestamp_seconds":1787907039,"priority":1,"record_length":96,"hex_timestamp":"000001a047905f18"} 
[2026-08-28 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-28 14: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-28 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-28 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-28 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-28 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-28 14:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:23:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704124928001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704124928001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:23:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:23:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 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-28 14:23:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704124928001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":163466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:23:42] local.INFO: GPS data processed {"connection_id":163466,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:23:42] local.INFO: Acknowledgment sent {"connection_id":163466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:23:46] local.INFO: TCP Data received {"connection_id":163466,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047905f18012d34c14006aa4840000e00e62b..."} 
[2026-08-28 14:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047905f18012d34c14006aa4840000e00e62b..."} 
[2026-08-28 14:23:46] local.INFO: Processing buffer {"connection_id":163466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047905f18012d34c14006aa4840000e00e62b..."} 
[2026-08-28 14:23:46] local.INFO: Packet analysis {"connection_id":163466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04790"} 
[2026-08-28 14:23:46] local.INFO: Extracted packet for processing {"connection_id":163466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04790"} 
[2026-08-28 14:23:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704124928001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:23:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:23:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787907039000,"timestamp_ms":1787907039000,"timestamp_seconds":1787907039,"priority":1,"record_length":96,"hex_timestamp":"000001a047905f18"} 
[2026-08-28 14: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-28 14:23: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-28 14: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":151,"data_length":795,"current_offset":136} 
[2026-08-28 14:23:46] 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-28 14: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-28 14: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-28 14:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:23:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:23:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704124928001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:23:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:23:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:23:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704124928001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:23:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:23:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14: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-28 14:23:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:23:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704124928001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:23:46] local.INFO: DEBUG: GPS processor result {"connection_id":163466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:23:46] local.INFO: GPS data processed {"connection_id":163466,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:23:46] local.INFO: Acknowledgment sent {"connection_id":163466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:23:50] local.INFO: TCP Data received {"connection_id":166091,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047900928012d1967c0071fed70003701182c..."} 
[2026-08-28 14:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047900928012d1967c0071fed70003701182c..."} 
[2026-08-28 14:23:50] local.INFO: Processing buffer {"connection_id":166091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047900928012d1967c0071fed70003701182c..."} 
[2026-08-28 14:23:50] local.INFO: Packet analysis {"connection_id":166091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04790"} 
[2026-08-28 14:23:50] local.INFO: Extracted packet for processing {"connection_id":166091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04790"} 
[2026-08-28 14:23:50] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:23:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704190976001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:23:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:23:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:23:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:23:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787907017000,"timestamp_ms":1787907017000,"timestamp_seconds":1787907017,"priority":1,"record_length":96,"hex_timestamp":"000001a047900928"} 
[2026-08-28 14: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-28 14:23:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 14:23:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14: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-28 14:23:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:23:50] local.INFO: Teltonika packet parsed successfully {"connection_id":166091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:23:50] local.INFO: Passing IMEI to GPS processor {"connection_id":166091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:23:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":166091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:23:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:23:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:23:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:23:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704190976001,"66":12374,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:23:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:23:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:23:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704190976001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:23:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:23:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:23:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:23:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:23:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704190976001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:23:50] local.INFO: DEBUG: GPS processor result {"connection_id":166091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707912,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:23:50] local.INFO: GPS data processed {"connection_id":166091,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:23:50] local.INFO: Acknowledgment sent {"connection_id":166091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:23:52] local.INFO: TCP Data received {"connection_id":163466,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047905f18012d34c14006aa4840000e00e62b..."} 
[2026-08-28 14:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047905f18012d34c14006aa4840000e00e62b..."} 
[2026-08-28 14:23:52] local.INFO: Processing buffer {"connection_id":163466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047905f18012d34c14006aa4840000e00e62b..."} 
[2026-08-28 14:23:52] local.INFO: Packet analysis {"connection_id":163466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04790"} 
[2026-08-28 14:23:52] local.INFO: Extracted packet for processing {"connection_id":163466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04790"} 
[2026-08-28 14:23:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:23:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704124928001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:23:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:23:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:23:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:23:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787907039000,"timestamp_ms":1787907039000,"timestamp_seconds":1787907039,"priority":1,"record_length":96,"hex_timestamp":"000001a047905f18"} 
[2026-08-28 14:23:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14: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-28 14:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 14:23: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-28 14:23:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:23:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:23:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:23:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:23:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:23:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:23:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:23:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:23:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:23:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704124928001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:23:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:23:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:23:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704124928001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:23:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:23:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14: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-28 14:23:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:23:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704124928001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:23:52] local.INFO: DEBUG: GPS processor result {"connection_id":163466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:23:52] local.INFO: GPS data processed {"connection_id":163466,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:23:52] local.INFO: Acknowledgment sent {"connection_id":163466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:23:57] local.INFO: TCP Data received {"connection_id":164736,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164736,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:23:57] local.INFO: Processing buffer {"connection_id":164736,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:23:57] local.INFO: IMEI packet received {"connection_id":164736,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 14:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":164736,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:24:02] local.INFO: TCP Data received {"connection_id":164736,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164736,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:24:02] local.INFO: Processing buffer {"connection_id":164736,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:24:02] local.INFO: IMEI packet received {"connection_id":164736,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 14:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":164736,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:24:03] local.INFO: TCP Data received {"connection_id":164736,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0478e4fc0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0478e4fc0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:24:03] local.INFO: Processing buffer {"connection_id":164736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0478e4fc0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:24:03] local.INFO: Packet analysis {"connection_id":164736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0478e"} 
[2026-08-28 14:24:03] local.INFO: Extracted packet for processing {"connection_id":164736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0478e"} 
[2026-08-28 14:24:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704090368001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:24:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787906904000,"timestamp_ms":1787906904000,"timestamp_seconds":1787906904,"priority":1,"record_length":96,"hex_timestamp":"000001a0478e4fc0"} 
[2026-08-28 14:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:24:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:24:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:24:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":164736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":164736,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":164736,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704090368001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704090368001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:24:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:24:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704090368001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:24:03] 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":707914,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:24:03] local.INFO: GPS data processed {"connection_id":164736,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:24:03] local.INFO: Acknowledgment sent {"connection_id":164736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:24:16] local.INFO: TCP Data received {"connection_id":163467,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163467,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:24:16] local.INFO: Processing buffer {"connection_id":163467,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:24:16] local.INFO: IMEI packet received {"connection_id":163467,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 14:24:16] local.INFO: IMEI acknowledgment sent {"connection_id":163467,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:24:21] local.INFO: TCP Data received {"connection_id":163467,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163467,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:24:21] local.INFO: Processing buffer {"connection_id":163467,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:24:21] local.INFO: IMEI packet received {"connection_id":163467,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 14:24:21] local.INFO: IMEI acknowledgment sent {"connection_id":163467,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:24:23] local.INFO: TCP Data received {"connection_id":163467,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047905b30012d1967c0071fed70003701182b..."} 
[2026-08-28 14:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047905b30012d1967c0071fed70003701182b..."} 
[2026-08-28 14:24:23] local.INFO: Processing buffer {"connection_id":163467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047905b30012d1967c0071fed70003701182b..."} 
[2026-08-28 14:24:23] local.INFO: Packet analysis {"connection_id":163467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04790"} 
[2026-08-28 14:24:23] local.INFO: Extracted packet for processing {"connection_id":163467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04790"} 
[2026-08-28 14:24:23] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:24:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704196352001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:24:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:24:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:24:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:24:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787907038000,"timestamp_ms":1787907038000,"timestamp_seconds":1787907038,"priority":1,"record_length":96,"hex_timestamp":"000001a047905b30"} 
[2026-08-28 14:24:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:24:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 14:24:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:24:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:24:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:24:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:24:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:24:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:24:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:24:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:24:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:24:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:24:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704196352001,"66":12428,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:24:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:24:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:24:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704196352001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:24:23] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:24:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:24:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:24:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:24:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704196352001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:24:23] 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":707915,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:24:23] local.INFO: GPS data processed {"connection_id":163467,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:24:23] local.INFO: Acknowledgment sent {"connection_id":163467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:24:26] local.INFO: TCP Data received {"connection_id":163467,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a04790ad38012d1967c0071fed700037011829..."} 
[2026-08-28 14:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04790ad38012d1967c0071fed700037011829..."} 
[2026-08-28 14:24:26] local.INFO: Processing buffer {"connection_id":163467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04790ad38012d1967c0071fed700037011829..."} 
[2026-08-28 14:24:26] local.INFO: Packet analysis {"connection_id":163467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04790"} 
[2026-08-28 14:24:26] local.INFO: Extracted packet for processing {"connection_id":163467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04790"} 
[2026-08-28 14:24:26] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:24:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704201728001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:24:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:24:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:24:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:24:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787907059000,"timestamp_ms":1787907059000,"timestamp_seconds":1787907059,"priority":1,"record_length":96,"hex_timestamp":"000001a04790ad38"} 
[2026-08-28 14:24:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:24:26] 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-28 14:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-28 14:24:26] 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-28 14:24:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:24:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:24:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:24:26] local.INFO: Teltonika packet parsed successfully {"connection_id":163467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:24:26] local.INFO: Passing IMEI to GPS processor {"connection_id":163467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:24:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":163467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:24:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:24:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:24:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:24:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704201728001,"66":12428,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:24:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:24:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:24:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704201728001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:24:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:24:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:24:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:24:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:24:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704201728001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:24:26] 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":707916,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:24:26] local.INFO: GPS data processed {"connection_id":163467,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:24:26] local.INFO: Acknowledgment sent {"connection_id":163467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:24:31] local.INFO: TCP Data received {"connection_id":163738,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:24:31] local.INFO: Processing buffer {"connection_id":163738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:24:31] local.INFO: IMEI packet received {"connection_id":163738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 14:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":163738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:24:35] local.INFO: TCP Data received {"connection_id":164736,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04792e788012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04792e788012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:24:35] local.INFO: Processing buffer {"connection_id":164736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04792e788012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:24:35] local.INFO: Packet analysis {"connection_id":164736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04792"} 
[2026-08-28 14:24:35] local.INFO: Extracted packet for processing {"connection_id":164736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04792"} 
[2026-08-28 14:24:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704167424001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:24:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:24:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787907205000,"timestamp_ms":1787907205000,"timestamp_seconds":1787907205,"priority":1,"record_length":96,"hex_timestamp":"000001a04792e788"} 
[2026-08-28 14:24:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:24:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:24:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:24:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:24:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":164736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":164736,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":164736,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:24:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704167424001,"66":25441,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704167424001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:24:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:24:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:24:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704167424001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:24:35] 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":707917,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:24:35] local.INFO: GPS data processed {"connection_id":164736,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:24:35] local.INFO: Acknowledgment sent {"connection_id":164736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:24:36] local.INFO: TCP Data received {"connection_id":163738,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:24:36] local.INFO: Processing buffer {"connection_id":163738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:24:36] local.INFO: IMEI packet received {"connection_id":163738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 14:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":163738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:24:37] local.INFO: TCP Data received {"connection_id":163738,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047905f18012d34c14006aa4840000e00e62b..."} 
[2026-08-28 14:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047905f18012d34c14006aa4840000e00e62b..."} 
[2026-08-28 14:24:37] local.INFO: Processing buffer {"connection_id":163738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047905f18012d34c14006aa4840000e00e62b..."} 
[2026-08-28 14:24:37] local.INFO: Packet analysis {"connection_id":163738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04790"} 
[2026-08-28 14:24:37] local.INFO: Extracted packet for processing {"connection_id":163738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04790"} 
[2026-08-28 14:24:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704124928001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787907039000,"timestamp_ms":1787907039000,"timestamp_seconds":1787907039,"priority":1,"record_length":96,"hex_timestamp":"000001a047905f18"} 
[2026-08-28 14:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 14:24:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704124928001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704124928001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:24:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:24:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:24: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-28 14:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704124928001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:24:37] 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":707918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:24:37] local.INFO: GPS data processed {"connection_id":163738,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:24:37] local.INFO: Acknowledgment sent {"connection_id":163738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:25:02] local.INFO: TCP Data received {"connection_id":164737,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164737,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:25:02] local.INFO: Processing buffer {"connection_id":164737,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:25:02] local.INFO: IMEI packet received {"connection_id":164737,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 14:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":164737,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:25:07] local.INFO: TCP Data received {"connection_id":164737,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164737,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:25:07] local.INFO: Processing buffer {"connection_id":164737,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:25:07] local.INFO: IMEI packet received {"connection_id":164737,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 14:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":164737,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:25:08] local.INFO: TCP Data received {"connection_id":164737,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04792e788012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04792e788012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:25:08] local.INFO: Processing buffer {"connection_id":164737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04792e788012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:25:08] local.INFO: Packet analysis {"connection_id":164737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04792"} 
[2026-08-28 14:25:08] local.INFO: Extracted packet for processing {"connection_id":164737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04792"} 
[2026-08-28 14:25:08] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704167424001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:25:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787907205000,"timestamp_ms":1787907205000,"timestamp_seconds":1787907205,"priority":1,"record_length":96,"hex_timestamp":"000001a04792e788"} 
[2026-08-28 14: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-28 14:25:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:25:08] 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-28 14: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-28 14: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-28 14:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164737,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164737,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704167424001,"66":25441,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704167424001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:25:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:25:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704167424001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:25:08] 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":707919,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:25:08] local.INFO: GPS data processed {"connection_id":164737,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:25:08] local.INFO: Acknowledgment sent {"connection_id":164737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:25:09] local.INFO: TCP Data received {"connection_id":163738,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047905f18012d34c14006aa4840000e00e62b..."} 
[2026-08-28 14:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047905f18012d34c14006aa4840000e00e62b..."} 
[2026-08-28 14:25:09] local.INFO: Processing buffer {"connection_id":163738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047905f18012d34c14006aa4840000e00e62b..."} 
[2026-08-28 14:25:09] local.INFO: Packet analysis {"connection_id":163738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04790"} 
[2026-08-28 14:25:09] local.INFO: Extracted packet for processing {"connection_id":163738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04790"} 
[2026-08-28 14:25:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:25:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704124928001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:25:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:25:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:25:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:25:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787907039000,"timestamp_ms":1787907039000,"timestamp_seconds":1787907039,"priority":1,"record_length":96,"hex_timestamp":"000001a047905f18"} 
[2026-08-28 14:25:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:25: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-28 14:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 14:25:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:25:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:25:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:25:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:25:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:25:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:25:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:25:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704124928001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:25:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:25:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:25:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704124928001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:25:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:25:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:25: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-28 14:25:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:25:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704124928001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:25:09] 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":707920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:25:09] local.INFO: GPS data processed {"connection_id":163738,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:25:09] local.INFO: Acknowledgment sent {"connection_id":163738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:25:11] local.INFO: TCP Data received {"connection_id":163468,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163468,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:25:11] local.INFO: Processing buffer {"connection_id":163468,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:25:11] local.INFO: IMEI packet received {"connection_id":163468,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 14:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":163468,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:25:12] local.INFO: TCP Data received {"connection_id":164737,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04792e788012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04792e788012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:25:12] local.INFO: Processing buffer {"connection_id":164737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04792e788012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:25:12] local.INFO: Packet analysis {"connection_id":164737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04792"} 
[2026-08-28 14:25:12] local.INFO: Extracted packet for processing {"connection_id":164737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04792"} 
[2026-08-28 14:25:12] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:25:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704167424001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:25:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:25:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787907205000,"timestamp_ms":1787907205000,"timestamp_seconds":1787907205,"priority":1,"record_length":96,"hex_timestamp":"000001a04792e788"} 
[2026-08-28 14:25:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:25:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:25: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-28 14:25:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:25:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":164737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":164737,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":164737,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:25:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:25:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704167424001,"66":25441,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:25:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:25:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:25:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704167424001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:25:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:25:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:25:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:25:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:25:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704167424001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:25:13] 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":707921,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:25:13] local.INFO: GPS data processed {"connection_id":164737,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:25:13] local.INFO: Acknowledgment sent {"connection_id":164737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:25:16] local.INFO: TCP Data received {"connection_id":163468,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163468,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:25:16] local.INFO: Processing buffer {"connection_id":163468,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:25:16] local.INFO: IMEI packet received {"connection_id":163468,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 14:25:16] local.INFO: IMEI acknowledgment sent {"connection_id":163468,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:25:17] local.INFO: TCP Data received {"connection_id":163468,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a04790ff40012d1967c0071fed70003701182b..."} 
[2026-08-28 14:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04790ff40012d1967c0071fed70003701182b..."} 
[2026-08-28 14:25:17] local.INFO: Processing buffer {"connection_id":163468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04790ff40012d1967c0071fed70003701182b..."} 
[2026-08-28 14:25:17] local.INFO: Packet analysis {"connection_id":163468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04790"} 
[2026-08-28 14:25:17] local.INFO: Extracted packet for processing {"connection_id":163468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04790"} 
[2026-08-28 14:25:17] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14:25:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:25:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704207104001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:25:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:25:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:25:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:25:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787907080000,"timestamp_ms":1787907080000,"timestamp_seconds":1787907080,"priority":1,"record_length":96,"hex_timestamp":"000001a04790ff40"} 
[2026-08-28 14:25:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:25:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14:25:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-28 14:25:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:25:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:25:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:25:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:25:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:25:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:25:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:25:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:25:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:25:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:25:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704207104001,"66":12374,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:25:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:25:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:25:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704207104001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:25:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:25:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:25:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:25:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:25:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704207104001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:25:18] 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":707922,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:25:18] local.INFO: GPS data processed {"connection_id":163468,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:25:18] local.INFO: Acknowledgment sent {"connection_id":163468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:25:30] local.INFO: TCP Data received {"connection_id":164738,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:25:30] local.INFO: Processing buffer {"connection_id":164738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:25:30] local.INFO: IMEI packet received {"connection_id":164738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 14:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":164738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:25:35] local.INFO: TCP Data received {"connection_id":164738,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:25:35] local.INFO: Processing buffer {"connection_id":164738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:25:35] local.INFO: IMEI packet received {"connection_id":164738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 14:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":164738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:25:36] local.INFO: TCP Data received {"connection_id":164738,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047905f18012d34c14006aa4840000e00e62b..."} 
[2026-08-28 14:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047905f18012d34c14006aa4840000e00e62b..."} 
[2026-08-28 14:25:36] local.INFO: Processing buffer {"connection_id":164738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047905f18012d34c14006aa4840000e00e62b..."} 
[2026-08-28 14:25:36] local.INFO: Packet analysis {"connection_id":164738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04790"} 
[2026-08-28 14:25:36] local.INFO: Extracted packet for processing {"connection_id":164738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04790"} 
[2026-08-28 14:25:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704124928001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:25:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787907039000,"timestamp_ms":1787907039000,"timestamp_seconds":1787907039,"priority":1,"record_length":96,"hex_timestamp":"000001a047905f18"} 
[2026-08-28 14:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:25:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 14:25:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:25:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":164738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":164738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":164738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704124928001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704124928001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:25:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:25:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704124928001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":164738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:25:36] local.INFO: GPS data processed {"connection_id":164738,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:25:36] local.INFO: Acknowledgment sent {"connection_id":164738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:25:49] local.INFO: TCP Data received {"connection_id":163468,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047915148012d1967c0071fed70003701182d..."} 
[2026-08-28 14:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047915148012d1967c0071fed70003701182d..."} 
[2026-08-28 14:25:49] local.INFO: Processing buffer {"connection_id":163468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047915148012d1967c0071fed70003701182d..."} 
[2026-08-28 14:25:49] local.INFO: Packet analysis {"connection_id":163468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04791"} 
[2026-08-28 14:25:49] local.INFO: Extracted packet for processing {"connection_id":163468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04791"} 
[2026-08-28 14:25:49] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:25:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704212480001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:25:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:25:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:25:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:25:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787907101000,"timestamp_ms":1787907101000,"timestamp_seconds":1787907101,"priority":1,"record_length":96,"hex_timestamp":"000001a047915148"} 
[2026-08-28 14: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-28 14:25:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 14:25:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14: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-28 14:25:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:25:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:25:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:25:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:25:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:25:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:25:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:25:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704212480001,"66":12406,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:25:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:25:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:25:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704212480001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:25:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:25:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:25:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:25:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:25:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704212480001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:25:49] 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":707924,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:25:49] local.INFO: GPS data processed {"connection_id":163468,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:25:49] local.INFO: Acknowledgment sent {"connection_id":163468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:25:56] local.INFO: TCP Data received {"connection_id":164739,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164739,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:25:56] local.INFO: Processing buffer {"connection_id":164739,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:25:56] local.INFO: IMEI packet received {"connection_id":164739,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 14:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":164739,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:26:02] local.INFO: TCP Data received {"connection_id":164739,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164739,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:26:02] local.INFO: Processing buffer {"connection_id":164739,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:26:02] local.INFO: IMEI packet received {"connection_id":164739,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 14:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":164739,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:26:03] local.INFO: TCP Data received {"connection_id":164739,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04792e788012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04792e788012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:26:03] local.INFO: Processing buffer {"connection_id":164739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04792e788012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:26:03] local.INFO: Packet analysis {"connection_id":164739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04792"} 
[2026-08-28 14:26:03] local.INFO: Extracted packet for processing {"connection_id":164739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04792"} 
[2026-08-28 14:26:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704167424001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:26:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787907205000,"timestamp_ms":1787907205000,"timestamp_seconds":1787907205,"priority":1,"record_length":96,"hex_timestamp":"000001a04792e788"} 
[2026-08-28 14:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:26:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:26:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:26:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":164739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":164739,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":164739,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704167424001,"66":25441,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704167424001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:26:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:26:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704167424001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:26:03] 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":707925,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:26:03] local.INFO: GPS data processed {"connection_id":164739,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:26:03] local.INFO: Acknowledgment sent {"connection_id":164739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:26:08] local.INFO: TCP Data received {"connection_id":164738,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047905f18012d34c14006aa4840000e00e62b..."} 
[2026-08-28 14:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047905f18012d34c14006aa4840000e00e62b..."} 
[2026-08-28 14:26:08] local.INFO: Processing buffer {"connection_id":164738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047905f18012d34c14006aa4840000e00e62b..."} 
[2026-08-28 14:26:08] local.INFO: Packet analysis {"connection_id":164738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04790"} 
[2026-08-28 14:26:08] local.INFO: Extracted packet for processing {"connection_id":164738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04790"} 
[2026-08-28 14:26:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704124928001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:26:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787907039000,"timestamp_ms":1787907039000,"timestamp_seconds":1787907039,"priority":1,"record_length":96,"hex_timestamp":"000001a047905f18"} 
[2026-08-28 14:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:26: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-28 14:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 14:26: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-28 14:26:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:26:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704124928001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704124928001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:26:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:26:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:26: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-28 14:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704124928001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":164738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:26:08] local.INFO: GPS data processed {"connection_id":164738,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:26:08] local.INFO: Acknowledgment sent {"connection_id":164738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:26:10] local.INFO: TCP Data received {"connection_id":163469,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163469,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:26:10] local.INFO: Processing buffer {"connection_id":163469,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:26:10] local.INFO: IMEI packet received {"connection_id":163469,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 14:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":163469,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:26:11] local.INFO: TCP Data received {"connection_id":163469,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163469,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:26:11] local.INFO: Processing buffer {"connection_id":163469,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:26:11] local.INFO: IMEI packet received {"connection_id":163469,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 14:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":163469,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:26:16] local.INFO: TCP Data received {"connection_id":163469,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163469,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:26:16] local.INFO: Processing buffer {"connection_id":163469,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:26:16] local.INFO: IMEI packet received {"connection_id":163469,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 14:26:16] local.INFO: IMEI acknowledgment sent {"connection_id":163469,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:26:18] local.INFO: TCP Data received {"connection_id":163469,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a04791a350012d1967c0071fed70003701182d..."} 
[2026-08-28 14:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04791a350012d1967c0071fed70003701182d..."} 
[2026-08-28 14:26:18] local.INFO: Processing buffer {"connection_id":163469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04791a350012d1967c0071fed70003701182d..."} 
[2026-08-28 14:26:18] local.INFO: Packet analysis {"connection_id":163469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04791"} 
[2026-08-28 14:26:18] local.INFO: Extracted packet for processing {"connection_id":163469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04791"} 
[2026-08-28 14:26:18] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":45,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14:26:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:26:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704217856001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:26:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:26:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:26:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:26:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787907122000,"timestamp_ms":1787907122000,"timestamp_seconds":1787907122,"priority":1,"record_length":96,"hex_timestamp":"000001a04791a350"} 
[2026-08-28 14:26:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:26:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14:26:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 14:26:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:26:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:26:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:26:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:26:18] local.INFO: Teltonika packet parsed successfully {"connection_id":163469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:26:18] local.INFO: Passing IMEI to GPS processor {"connection_id":163469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:26:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":163469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:26:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:26:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:26:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:26:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704217856001,"66":12406,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:26:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:26:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:26:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704217856001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:26:18] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:26:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:26:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:26:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:26:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704217856001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:26:18] 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":707927,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:26:18] local.INFO: GPS data processed {"connection_id":163469,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:26:18] local.INFO: Acknowledgment sent {"connection_id":163469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:26:30] local.INFO: TCP Data received {"connection_id":164740,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:26:30] local.INFO: Processing buffer {"connection_id":164740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:26:30] local.INFO: IMEI packet received {"connection_id":164740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 14:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":164740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:26:35] local.INFO: TCP Data received {"connection_id":164739,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04792e788012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04792e788012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:26:35] local.INFO: Processing buffer {"connection_id":164739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04792e788012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:26:35] local.INFO: Packet analysis {"connection_id":164739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04792"} 
[2026-08-28 14:26:35] local.INFO: Extracted packet for processing {"connection_id":164739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04792"} 
[2026-08-28 14:26:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704167424001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:26:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:26:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787907205000,"timestamp_ms":1787907205000,"timestamp_seconds":1787907205,"priority":1,"record_length":96,"hex_timestamp":"000001a04792e788"} 
[2026-08-28 14:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:26:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:26:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:26:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":164739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":164739,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":164739,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:26:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704167424001,"66":25441,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704167424001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:26:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:26:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:26:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704167424001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:26:35] 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":707928,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:26:35] local.INFO: GPS data processed {"connection_id":164739,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:26:35] local.INFO: Acknowledgment sent {"connection_id":164739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:26:35] local.INFO: TCP Data received {"connection_id":164740,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:26:35] local.INFO: Processing buffer {"connection_id":164740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:26:35] local.INFO: IMEI packet received {"connection_id":164740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 14:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":164740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:26:37] local.INFO: TCP Data received {"connection_id":164740,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04794f6e0012d34c14006aa4840001100e629..."} 
[2026-08-28 14:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04794f6e0012d34c14006aa4840001100e629..."} 
[2026-08-28 14:26:37] local.INFO: Processing buffer {"connection_id":164740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04794f6e0012d34c14006aa4840001100e629..."} 
[2026-08-28 14:26:37] local.INFO: Packet analysis {"connection_id":164740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04794"} 
[2026-08-28 14:26:37] local.INFO: Extracted packet for processing {"connection_id":164740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04794"} 
[2026-08-28 14:26:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704201984001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787907340000,"timestamp_ms":1787907340000,"timestamp_seconds":1787907340,"priority":1,"record_length":96,"hex_timestamp":"000001a04794f6e0"} 
[2026-08-28 14:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 14:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704201984001,"66":25441,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704201984001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:26:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:26:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:26: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-28 14:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704201984001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":164740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:26:37] local.INFO: GPS data processed {"connection_id":164740,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:26:37] local.INFO: Acknowledgment sent {"connection_id":164740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:26:49] local.INFO: TCP Data received {"connection_id":163469,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a04791f558012d1967c0071fed70003701182a..."} 
[2026-08-28 14:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04791f558012d1967c0071fed70003701182a..."} 
[2026-08-28 14:26:49] local.INFO: Processing buffer {"connection_id":163469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04791f558012d1967c0071fed70003701182a..."} 
[2026-08-28 14:26:49] local.INFO: Packet analysis {"connection_id":163469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04791"} 
[2026-08-28 14:26:49] local.INFO: Extracted packet for processing {"connection_id":163469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04791"} 
[2026-08-28 14:26:49] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:26:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704223232001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:26:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:26:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:26:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:26:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787907143000,"timestamp_ms":1787907143000,"timestamp_seconds":1787907143,"priority":1,"record_length":96,"hex_timestamp":"000001a04791f558"} 
[2026-08-28 14:26:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:26:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 14:26:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:26:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:26:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:26:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:26:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:26:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:26:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:26:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:26:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:26:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:26:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704223232001,"66":12428,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:26:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:26:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:26:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704223232001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:26:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:26:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:26:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:26:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:26:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704223232001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:26:50] 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":707930,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:26:50] local.INFO: GPS data processed {"connection_id":163469,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:26:50] local.INFO: Acknowledgment sent {"connection_id":163469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:26:56] local.INFO: TCP Data received {"connection_id":163470,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163470,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:26:56] local.INFO: Processing buffer {"connection_id":163470,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:26:56] local.INFO: IMEI packet received {"connection_id":163470,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 14:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":163470,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:27:02] local.INFO: TCP Data received {"connection_id":163470,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163470,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:27:02] local.INFO: Processing buffer {"connection_id":163470,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:27:02] local.INFO: IMEI packet received {"connection_id":163470,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 14:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":163470,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:27:03] local.INFO: TCP Data received {"connection_id":163470,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04792e788012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04792e788012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:27:03] local.INFO: Processing buffer {"connection_id":163470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04792e788012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:27:03] local.INFO: Packet analysis {"connection_id":163470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04792"} 
[2026-08-28 14:27:03] local.INFO: Extracted packet for processing {"connection_id":163470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04792"} 
[2026-08-28 14:27:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704167424001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:27:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787907205000,"timestamp_ms":1787907205000,"timestamp_seconds":1787907205,"priority":1,"record_length":96,"hex_timestamp":"000001a04792e788"} 
[2026-08-28 14:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:27:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:27:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:27:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163470,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163470,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:27:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704167424001,"66":25441,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704167424001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:27:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:27:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704167424001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:27:03] 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":707931,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:27:03] local.INFO: GPS data processed {"connection_id":163470,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:27:03] local.INFO: Acknowledgment sent {"connection_id":163470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:27:08] local.INFO: TCP Data received {"connection_id":164740,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04794f6e0012d34c14006aa4840001100e629..."} 
[2026-08-28 14:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04794f6e0012d34c14006aa4840001100e629..."} 
[2026-08-28 14:27:08] local.INFO: Processing buffer {"connection_id":164740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04794f6e0012d34c14006aa4840001100e629..."} 
[2026-08-28 14:27:08] local.INFO: Packet analysis {"connection_id":164740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04794"} 
[2026-08-28 14:27:08] local.INFO: Extracted packet for processing {"connection_id":164740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04794"} 
[2026-08-28 14:27:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704201984001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:27:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:27:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787907340000,"timestamp_ms":1787907340000,"timestamp_seconds":1787907340,"priority":1,"record_length":96,"hex_timestamp":"000001a04794f6e0"} 
[2026-08-28 14:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:27: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-28 14:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 14:27:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:27:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:27:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704201984001,"66":25441,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704201984001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:27:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:27:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:27: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-28 14:27:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704201984001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":164740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:27:08] local.INFO: GPS data processed {"connection_id":164740,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:27:08] local.INFO: Acknowledgment sent {"connection_id":164740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:27:11] local.INFO: TCP Data received {"connection_id":163739,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163739,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:27:11] local.INFO: Processing buffer {"connection_id":163739,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:27:11] local.INFO: IMEI packet received {"connection_id":163739,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 14:27:11] local.INFO: IMEI acknowledgment sent {"connection_id":163739,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:27:13] local.INFO: TCP Data received {"connection_id":163739,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163739,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:27:13] local.INFO: Processing buffer {"connection_id":163739,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:27:13] local.INFO: IMEI packet received {"connection_id":163739,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 14:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":163739,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:27:16] local.INFO: TCP Data received {"connection_id":163739,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163739,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:27:16] local.INFO: Processing buffer {"connection_id":163739,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:27:16] local.INFO: IMEI packet received {"connection_id":163739,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 14:27:16] local.INFO: IMEI acknowledgment sent {"connection_id":163739,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:27:18] local.INFO: TCP Data received {"connection_id":163739,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047924760012d1967c0071fed70003701182c..."} 
[2026-08-28 14:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047924760012d1967c0071fed70003701182c..."} 
[2026-08-28 14:27:18] local.INFO: Processing buffer {"connection_id":163739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047924760012d1967c0071fed70003701182c..."} 
[2026-08-28 14:27:18] local.INFO: Packet analysis {"connection_id":163739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04792"} 
[2026-08-28 14:27:18] local.INFO: Extracted packet for processing {"connection_id":163739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04792"} 
[2026-08-28 14:27:18] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:27:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704228608001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:27:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:27:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:27:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:27:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787907164000,"timestamp_ms":1787907164000,"timestamp_seconds":1787907164,"priority":1,"record_length":96,"hex_timestamp":"000001a047924760"} 
[2026-08-28 14: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-28 14:27:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-28 14:27: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-28 14: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-28 14: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-28 14:27:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:27:18] local.INFO: Teltonika packet parsed successfully {"connection_id":163739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:27:18] local.INFO: Passing IMEI to GPS processor {"connection_id":163739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:27:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":163739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:27:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:27:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:27:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:27:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704228608001,"66":12428,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:27:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:27:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:27:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704228608001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:27:18] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:27:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:27:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:27:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:27:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704228608001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:27:18] 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":707933,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:27:18] local.INFO: GPS data processed {"connection_id":163739,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:27:18] local.INFO: Acknowledgment sent {"connection_id":163739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:27:31] local.INFO: TCP Data received {"connection_id":163740,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:27:31] local.INFO: Processing buffer {"connection_id":163740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:27:31] local.INFO: IMEI packet received {"connection_id":163740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 14:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":163740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:27:35] local.INFO: TCP Data received {"connection_id":163470,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04792e788012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04792e788012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:27:35] local.INFO: Processing buffer {"connection_id":163470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04792e788012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:27:35] local.INFO: Packet analysis {"connection_id":163470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04792"} 
[2026-08-28 14:27:35] local.INFO: Extracted packet for processing {"connection_id":163470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04792"} 
[2026-08-28 14:27:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704167424001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787907205000,"timestamp_ms":1787907205000,"timestamp_seconds":1787907205,"priority":1,"record_length":96,"hex_timestamp":"000001a04792e788"} 
[2026-08-28 14:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:27:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:27:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:27:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163470,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163470,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704167424001,"66":25441,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704167424001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:27:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:27:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704167424001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:27:35] 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":707934,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:27:35] local.INFO: GPS data processed {"connection_id":163470,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:27:35] local.INFO: Acknowledgment sent {"connection_id":163470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:27:36] local.INFO: TCP Data received {"connection_id":163740,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:27:36] local.INFO: Processing buffer {"connection_id":163740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:27:36] local.INFO: IMEI packet received {"connection_id":163740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 14:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":163740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:27:37] local.INFO: TCP Data received {"connection_id":163740,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04794f6e0012d34c14006aa4840001100e629..."} 
[2026-08-28 14:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04794f6e0012d34c14006aa4840001100e629..."} 
[2026-08-28 14:27:37] local.INFO: Processing buffer {"connection_id":163740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04794f6e0012d34c14006aa4840001100e629..."} 
[2026-08-28 14:27:37] local.INFO: Packet analysis {"connection_id":163740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04794"} 
[2026-08-28 14:27:37] local.INFO: Extracted packet for processing {"connection_id":163740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04794"} 
[2026-08-28 14:27:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704201984001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787907340000,"timestamp_ms":1787907340000,"timestamp_seconds":1787907340,"priority":1,"record_length":96,"hex_timestamp":"000001a04794f6e0"} 
[2026-08-28 14:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 14:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704201984001,"66":25441,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704201984001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:27:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:27:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:27: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-28 14:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704201984001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":163740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:27:37] local.INFO: GPS data processed {"connection_id":163740,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:27:37] local.INFO: Acknowledgment sent {"connection_id":163740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:27:49] local.INFO: TCP Data received {"connection_id":163739,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047929968012d1967c0071fed70003701182c..."} 
[2026-08-28 14:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047929968012d1967c0071fed70003701182c..."} 
[2026-08-28 14:27:49] local.INFO: Processing buffer {"connection_id":163739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047929968012d1967c0071fed70003701182c..."} 
[2026-08-28 14:27:49] local.INFO: Packet analysis {"connection_id":163739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04792"} 
[2026-08-28 14:27:49] local.INFO: Extracted packet for processing {"connection_id":163739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04792"} 
[2026-08-28 14:27:49] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:27:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704233984001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:27:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:27:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:27:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:27:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787907185000,"timestamp_ms":1787907185000,"timestamp_seconds":1787907185,"priority":1,"record_length":96,"hex_timestamp":"000001a047929968"} 
[2026-08-28 14: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-28 14:27:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-28 14:27:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14: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-28 14:27:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:27:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:27:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:27:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:27:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:27:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:27:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:27:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704233984001,"66":12428,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:27:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:27:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:27:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704233984001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:27:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:27:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:27:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:27:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:27:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704233984001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:27:49] 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":707936,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:27:49] local.INFO: GPS data processed {"connection_id":163739,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:27:49] local.INFO: Acknowledgment sent {"connection_id":163739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:27:56] local.INFO: TCP Data received {"connection_id":166092,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166092,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:27:56] local.INFO: Processing buffer {"connection_id":166092,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:27:56] local.INFO: IMEI packet received {"connection_id":166092,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 14:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":166092,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:28:02] local.INFO: TCP Data received {"connection_id":166092,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166092,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:28:02] local.INFO: Processing buffer {"connection_id":166092,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:28:02] local.INFO: IMEI packet received {"connection_id":166092,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 14:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":166092,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:28:02] local.INFO: TCP Data received {"connection_id":166092,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04792e788012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04792e788012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:28:02] local.INFO: Processing buffer {"connection_id":166092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04792e788012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:28:02] local.INFO: Packet analysis {"connection_id":166092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04792"} 
[2026-08-28 14:28:02] local.INFO: Extracted packet for processing {"connection_id":166092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04792"} 
[2026-08-28 14:28:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704167424001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:28:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:28:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787907205000,"timestamp_ms":1787907205000,"timestamp_seconds":1787907205,"priority":1,"record_length":96,"hex_timestamp":"000001a04792e788"} 
[2026-08-28 14:28:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:28:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:28:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:28:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:28:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":166092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":166092,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":166092,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:28:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704167424001,"66":25441,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704167424001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:28:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:28:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:28:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:28:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:28:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704167424001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":166092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707937,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:28:03] local.INFO: GPS data processed {"connection_id":166092,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:28:03] local.INFO: Acknowledgment sent {"connection_id":166092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:28:08] local.INFO: TCP Data received {"connection_id":163740,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04794f6e0012d34c14006aa4840001100e629..."} 
[2026-08-28 14:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04794f6e0012d34c14006aa4840001100e629..."} 
[2026-08-28 14:28:08] local.INFO: Processing buffer {"connection_id":163740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04794f6e0012d34c14006aa4840001100e629..."} 
[2026-08-28 14:28:08] local.INFO: Packet analysis {"connection_id":163740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04794"} 
[2026-08-28 14:28:08] local.INFO: Extracted packet for processing {"connection_id":163740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04794"} 
[2026-08-28 14:28:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704201984001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:28:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787907340000,"timestamp_ms":1787907340000,"timestamp_seconds":1787907340,"priority":1,"record_length":96,"hex_timestamp":"000001a04794f6e0"} 
[2026-08-28 14:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:28:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 14:28:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:28:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:28:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704201984001,"66":25441,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704201984001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:28:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:28:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:28: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-28 14:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704201984001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":163740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:28:09] local.INFO: GPS data processed {"connection_id":163740,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:28:09] local.INFO: Acknowledgment sent {"connection_id":163740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:28:11] local.INFO: TCP Data received {"connection_id":163471,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163471,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:28:11] local.INFO: Processing buffer {"connection_id":163471,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:28:11] local.INFO: IMEI packet received {"connection_id":163471,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 14:28:11] local.INFO: IMEI acknowledgment sent {"connection_id":163471,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:28:16] local.INFO: TCP Data received {"connection_id":163471,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163471,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:28:16] local.INFO: Processing buffer {"connection_id":163471,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:28:16] local.INFO: IMEI packet received {"connection_id":163471,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 14:28:16] local.INFO: IMEI acknowledgment sent {"connection_id":163471,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:28:18] local.INFO: TCP Data received {"connection_id":163471,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047961fc0012d1967c0071fed70003701182b..."} 
[2026-08-28 14:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047961fc0012d1967c0071fed70003701182b..."} 
[2026-08-28 14:28:18] local.INFO: Processing buffer {"connection_id":163471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047961fc0012d1967c0071fed70003701182b..."} 
[2026-08-28 14:28:18] local.INFO: Packet analysis {"connection_id":163471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04796"} 
[2026-08-28 14:28:18] local.INFO: Extracted packet for processing {"connection_id":163471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04796"} 
[2026-08-28 14:28:18] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:28:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704293120001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:28:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:28:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:28:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:28:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787907416000,"timestamp_ms":1787907416000,"timestamp_seconds":1787907416,"priority":1,"record_length":96,"hex_timestamp":"000001a047961fc0"} 
[2026-08-28 14: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-28 14:28:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 14:28:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14: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-28 14:28:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:28:18] local.INFO: Teltonika packet parsed successfully {"connection_id":163471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:28:18] local.INFO: Passing IMEI to GPS processor {"connection_id":163471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:28:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":163471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:28:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:28:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:28:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:28:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704293120001,"66":12374,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:28:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:28:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:28:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704293120001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:28:18] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:28:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:28:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:28:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:28:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704293120001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:28:18] 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":707939,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:28:18] local.INFO: GPS data processed {"connection_id":163471,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:28:18] local.INFO: Acknowledgment sent {"connection_id":163471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:28:31] local.INFO: TCP Data received {"connection_id":163741,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:28:31] local.INFO: Processing buffer {"connection_id":163741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:28:31] local.INFO: IMEI packet received {"connection_id":163741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 14:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":163741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:28:34] local.INFO: TCP Data received {"connection_id":166092,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04792e788012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04792e788012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:28:34] local.INFO: Processing buffer {"connection_id":166092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04792e788012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:28:34] local.INFO: Packet analysis {"connection_id":166092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04792"} 
[2026-08-28 14:28:34] local.INFO: Extracted packet for processing {"connection_id":166092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04792"} 
[2026-08-28 14:28:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704167424001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:28:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787907205000,"timestamp_ms":1787907205000,"timestamp_seconds":1787907205,"priority":1,"record_length":96,"hex_timestamp":"000001a04792e788"} 
[2026-08-28 14:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:28:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:28:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:28:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":166092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":166092,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":166092,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:28:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704167424001,"66":25441,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704167424001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:28:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:28:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:28:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704167424001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":166092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707940,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:28:34] local.INFO: GPS data processed {"connection_id":166092,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:28:34] local.INFO: Acknowledgment sent {"connection_id":166092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:28:36] local.INFO: TCP Data received {"connection_id":163741,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:28:36] local.INFO: Processing buffer {"connection_id":163741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:28:36] local.INFO: IMEI packet received {"connection_id":163741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 14:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":163741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:28:37] local.INFO: TCP Data received {"connection_id":163741,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04794f6e0012d34c14006aa4840001100e629..."} 
[2026-08-28 14:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04794f6e0012d34c14006aa4840001100e629..."} 
[2026-08-28 14:28:37] local.INFO: Processing buffer {"connection_id":163741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04794f6e0012d34c14006aa4840001100e629..."} 
[2026-08-28 14:28:37] local.INFO: Packet analysis {"connection_id":163741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04794"} 
[2026-08-28 14:28:37] local.INFO: Extracted packet for processing {"connection_id":163741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04794"} 
[2026-08-28 14:28:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704201984001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787907340000,"timestamp_ms":1787907340000,"timestamp_seconds":1787907340,"priority":1,"record_length":96,"hex_timestamp":"000001a04794f6e0"} 
[2026-08-28 14:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 14:28:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704201984001,"66":25441,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704201984001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:28:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:28:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:28: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-28 14:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704201984001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:28:37] 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":707941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:28:37] local.INFO: GPS data processed {"connection_id":163741,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:28:37] local.INFO: Acknowledgment sent {"connection_id":163741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:28:49] local.INFO: TCP Data received {"connection_id":163471,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0479671c8012d1967c0071fed70003701182c..."} 
[2026-08-28 14:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0479671c8012d1967c0071fed70003701182c..."} 
[2026-08-28 14:28:49] local.INFO: Processing buffer {"connection_id":163471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0479671c8012d1967c0071fed70003701182c..."} 
[2026-08-28 14:28:49] local.INFO: Packet analysis {"connection_id":163471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04796"} 
[2026-08-28 14:28:49] local.INFO: Extracted packet for processing {"connection_id":163471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04796"} 
[2026-08-28 14:28:49] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:28:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704298496001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:28:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:28:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:28:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:28:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787907437000,"timestamp_ms":1787907437000,"timestamp_seconds":1787907437,"priority":1,"record_length":96,"hex_timestamp":"000001a0479671c8"} 
[2026-08-28 14: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-28 14:28:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 14:28:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14: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-28 14:28:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:28:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:28:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:28:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:28:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:28:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:28:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:28:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704298496001,"66":12406,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:28:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:28:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:28:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704298496001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:28:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:28:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:28:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:28:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:28:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704298496001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:28:49] 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":707942,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:28:49] local.INFO: GPS data processed {"connection_id":163471,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:28:49] local.INFO: Acknowledgment sent {"connection_id":163471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:28:56] local.INFO: TCP Data received {"connection_id":163742,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163742,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:28:56] local.INFO: Processing buffer {"connection_id":163742,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:28:56] local.INFO: IMEI packet received {"connection_id":163742,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 14:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":163742,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:29:02] local.INFO: TCP Data received {"connection_id":163742,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163742,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:29:02] local.INFO: Processing buffer {"connection_id":163742,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:29:02] local.INFO: IMEI packet received {"connection_id":163742,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 14:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":163742,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:29:03] local.INFO: TCP Data received {"connection_id":163742,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04792e788012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04792e788012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:29:03] local.INFO: Processing buffer {"connection_id":163742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04792e788012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:29:03] local.INFO: Packet analysis {"connection_id":163742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04792"} 
[2026-08-28 14:29:03] local.INFO: Extracted packet for processing {"connection_id":163742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04792"} 
[2026-08-28 14:29:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704167424001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787907205000,"timestamp_ms":1787907205000,"timestamp_seconds":1787907205,"priority":1,"record_length":96,"hex_timestamp":"000001a04792e788"} 
[2026-08-28 14:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:29:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:29:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:29:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163742,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163742,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704167424001,"66":25441,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704167424001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:29:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:29:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704167424001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:29:03] 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":707943,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:29:03] local.INFO: GPS data processed {"connection_id":163742,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:29:03] local.INFO: Acknowledgment sent {"connection_id":163742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:29:09] local.INFO: TCP Data received {"connection_id":163741,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04794f6e0012d34c14006aa4840001100e629..."} 
[2026-08-28 14:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04794f6e0012d34c14006aa4840001100e629..."} 
[2026-08-28 14:29:09] local.INFO: Processing buffer {"connection_id":163741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04794f6e0012d34c14006aa4840001100e629..."} 
[2026-08-28 14:29:09] local.INFO: Packet analysis {"connection_id":163741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04794"} 
[2026-08-28 14:29:09] local.INFO: Extracted packet for processing {"connection_id":163741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04794"} 
[2026-08-28 14:29:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704201984001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:29:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:29:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787907340000,"timestamp_ms":1787907340000,"timestamp_seconds":1787907340,"priority":1,"record_length":96,"hex_timestamp":"000001a04794f6e0"} 
[2026-08-28 14:29:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:29:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 14:29:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:29:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:29:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:29:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:29:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704201984001,"66":25441,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:29:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:29:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:29:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704201984001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:29:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:29:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:29: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-28 14:29:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:29:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704201984001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:29:09] 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":707944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:29:09] local.INFO: GPS data processed {"connection_id":163741,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:29:09] local.INFO: Acknowledgment sent {"connection_id":163741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:29:16] local.INFO: TCP Data received {"connection_id":164741,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164741,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:29:16] local.INFO: Processing buffer {"connection_id":164741,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:29:16] local.INFO: IMEI packet received {"connection_id":164741,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 14:29:16] local.INFO: IMEI acknowledgment sent {"connection_id":164741,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:29:19] local.INFO: TCP Data received {"connection_id":164741,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164741,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:29:19] local.INFO: Processing buffer {"connection_id":164741,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:29:19] local.INFO: IMEI packet received {"connection_id":164741,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 14:29:19] local.INFO: IMEI acknowledgment sent {"connection_id":164741,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:29:21] local.INFO: TCP Data received {"connection_id":164741,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a04796c3d0012d1967c0071fed70003701182c..."} 
[2026-08-28 14:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04796c3d0012d1967c0071fed70003701182c..."} 
[2026-08-28 14:29:21] local.INFO: Processing buffer {"connection_id":164741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04796c3d0012d1967c0071fed70003701182c..."} 
[2026-08-28 14:29:21] local.INFO: Packet analysis {"connection_id":164741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04796"} 
[2026-08-28 14:29:21] local.INFO: Extracted packet for processing {"connection_id":164741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04796"} 
[2026-08-28 14:29:21] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:29:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704303872001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:29:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:29:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:29:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:29:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787907458000,"timestamp_ms":1787907458000,"timestamp_seconds":1787907458,"priority":1,"record_length":96,"hex_timestamp":"000001a04796c3d0"} 
[2026-08-28 14:29:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:29:21] 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-28 14:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 14:29:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:29:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:29:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:29:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:29:21] local.INFO: Teltonika packet parsed successfully {"connection_id":164741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:29:21] local.INFO: Passing IMEI to GPS processor {"connection_id":164741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:29:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":164741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:29:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:29:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:29:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:29:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704303872001,"66":12428,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:29:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:29:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:29:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704303872001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:29:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:29:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:29:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:29:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:29:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704303872001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:29:21] 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":707945,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:29:21] local.INFO: GPS data processed {"connection_id":164741,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:29:21] local.INFO: Acknowledgment sent {"connection_id":164741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:29:22] local.INFO: TCP Data received {"connection_id":164741,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0479715d8012d1967c0071fed70003701182c..."} 
[2026-08-28 14:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0479715d8012d1967c0071fed70003701182c..."} 
[2026-08-28 14:29:22] local.INFO: Processing buffer {"connection_id":164741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0479715d8012d1967c0071fed70003701182c..."} 
[2026-08-28 14:29:22] local.INFO: Packet analysis {"connection_id":164741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04797"} 
[2026-08-28 14:29:22] local.INFO: Extracted packet for processing {"connection_id":164741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04797"} 
[2026-08-28 14:29:22] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:29:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704309248001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:29:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:29:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:29:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:29:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787907479000,"timestamp_ms":1787907479000,"timestamp_seconds":1787907479,"priority":1,"record_length":96,"hex_timestamp":"000001a0479715d8"} 
[2026-08-28 14: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-28 14:29: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-28 14: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-28 14:29:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14: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-28 14:29:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:29:22] local.INFO: Teltonika packet parsed successfully {"connection_id":164741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:29:22] local.INFO: Passing IMEI to GPS processor {"connection_id":164741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:29:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":164741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:29:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:29:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:29:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:29:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704309248001,"66":12406,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:29:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:29:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:29:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704309248001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:29:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:29:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:29:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:29:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:29:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704309248001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:29:22] 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":707946,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:29:22] local.INFO: GPS data processed {"connection_id":164741,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:29:22] local.INFO: Acknowledgment sent {"connection_id":164741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:29:30] local.INFO: TCP Data received {"connection_id":163743,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:29:30] local.INFO: Processing buffer {"connection_id":163743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:29:30] local.INFO: IMEI packet received {"connection_id":163743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 14:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":163743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:29:35] local.INFO: TCP Data received {"connection_id":163742,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047977f50012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047977f50012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:29:35] local.INFO: Processing buffer {"connection_id":163742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047977f50012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:29:35] local.INFO: Packet analysis {"connection_id":163742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04797"} 
[2026-08-28 14:29:35] local.INFO: Extracted packet for processing {"connection_id":163742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04797"} 
[2026-08-28 14:29:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704244480001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:29:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787907506000,"timestamp_ms":1787907506000,"timestamp_seconds":1787907506,"priority":1,"record_length":96,"hex_timestamp":"000001a047977f50"} 
[2026-08-28 14:29:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:29:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 14:29:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:29:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:29:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163742,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163742,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:29:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704244480001,"66":25441,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704244480001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:29:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:29:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:29:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704244480001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:29:35] 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":707947,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:29:35] local.INFO: GPS data processed {"connection_id":163742,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:29:35] local.INFO: Acknowledgment sent {"connection_id":163742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:29:36] local.INFO: TCP Data received {"connection_id":163743,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:29:36] local.INFO: Processing buffer {"connection_id":163743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:29:36] local.INFO: IMEI packet received {"connection_id":163743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 14:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":163743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:29:38] local.INFO: TCP Data received {"connection_id":163743,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04794f6e0012d34c14006aa4840001100e629..."} 
[2026-08-28 14:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04794f6e0012d34c14006aa4840001100e629..."} 
[2026-08-28 14:29:38] local.INFO: Processing buffer {"connection_id":163743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04794f6e0012d34c14006aa4840001100e629..."} 
[2026-08-28 14:29:38] local.INFO: Packet analysis {"connection_id":163743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04794"} 
[2026-08-28 14:29:38] local.INFO: Extracted packet for processing {"connection_id":163743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04794"} 
[2026-08-28 14:29:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704201984001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:29:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:29:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:29:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787907340000,"timestamp_ms":1787907340000,"timestamp_seconds":1787907340,"priority":1,"record_length":96,"hex_timestamp":"000001a04794f6e0"} 
[2026-08-28 14:29:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:29: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-28 14:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 14:29:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:29:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:29:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:29:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:29:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:29:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:29:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:29:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:29:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:29:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704201984001,"66":25441,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:29:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:29:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:29:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704201984001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:29:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:29:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:29: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-28 14:29:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:29:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704201984001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:29:38] 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":707948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:29:38] local.INFO: GPS data processed {"connection_id":163743,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:29:38] local.INFO: Acknowledgment sent {"connection_id":163743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:29:54] local.INFO: TCP Data received {"connection_id":164741,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0479767e0012d1967c0071fed70003701182c..."} 
[2026-08-28 14:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0479767e0012d1967c0071fed70003701182c..."} 
[2026-08-28 14:29:54] local.INFO: Processing buffer {"connection_id":164741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0479767e0012d1967c0071fed70003701182c..."} 
[2026-08-28 14:29:54] local.INFO: Packet analysis {"connection_id":164741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04797"} 
[2026-08-28 14:29:54] local.INFO: Extracted packet for processing {"connection_id":164741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04797"} 
[2026-08-28 14:29:54] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:29:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704314624001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:29:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:29:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:29:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787907500000,"timestamp_ms":1787907500000,"timestamp_seconds":1787907500,"priority":1,"record_length":96,"hex_timestamp":"000001a0479767e0"} 
[2026-08-28 14:29:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:29:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 14:29:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:29:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:29:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":164741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":164741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":164741,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:29:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:29:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:29:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:29:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704314624001,"66":12298,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:29:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:29:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:29:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704314624001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:29:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:29:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:29:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:29:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:29:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704314624001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:29:54] 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":707949,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:29:54] local.INFO: GPS data processed {"connection_id":164741,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:29:54] local.INFO: Acknowledgment sent {"connection_id":164741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:29:56] local.INFO: TCP Data received {"connection_id":166093,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166093,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:29:56] local.INFO: Processing buffer {"connection_id":166093,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:29:56] local.INFO: IMEI packet received {"connection_id":166093,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 14:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":166093,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:30:02] local.INFO: TCP Data received {"connection_id":166093,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166093,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:30:02] local.INFO: Processing buffer {"connection_id":166093,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:30:02] local.INFO: IMEI packet received {"connection_id":166093,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 14:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":166093,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:30:03] local.INFO: TCP Data received {"connection_id":166093,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047977f50012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047977f50012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:30:03] local.INFO: Processing buffer {"connection_id":166093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047977f50012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:30:03] local.INFO: Packet analysis {"connection_id":166093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04797"} 
[2026-08-28 14:30:03] local.INFO: Extracted packet for processing {"connection_id":166093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04797"} 
[2026-08-28 14:30:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704244480001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787907506000,"timestamp_ms":1787907506000,"timestamp_seconds":1787907506,"priority":1,"record_length":96,"hex_timestamp":"000001a047977f50"} 
[2026-08-28 14:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:30:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 14:30:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:30:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":166093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":166093,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":166093,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704244480001,"66":25441,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704244480001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:30:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:30:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704244480001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":166093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707950,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:30:03] local.INFO: GPS data processed {"connection_id":166093,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:30:03] local.INFO: Acknowledgment sent {"connection_id":166093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:30:09] local.INFO: TCP Data received {"connection_id":163743,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04794f6e0012d34c14006aa4840001100e629..."} 
[2026-08-28 14:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04794f6e0012d34c14006aa4840001100e629..."} 
[2026-08-28 14:30:09] local.INFO: Processing buffer {"connection_id":163743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04794f6e0012d34c14006aa4840001100e629..."} 
[2026-08-28 14:30:09] local.INFO: Packet analysis {"connection_id":163743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04794"} 
[2026-08-28 14:30:09] local.INFO: Extracted packet for processing {"connection_id":163743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04794"} 
[2026-08-28 14:30:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704201984001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:30:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:30:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:30:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:30:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787907340000,"timestamp_ms":1787907340000,"timestamp_seconds":1787907340,"priority":1,"record_length":96,"hex_timestamp":"000001a04794f6e0"} 
[2026-08-28 14:30:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:30: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-28 14:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 14:30:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:30:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:30:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:30:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:30:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:30:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:30:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:30:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:30:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:30:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704201984001,"66":25441,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704201984001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:30:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:30:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:30: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-28 14:30:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:30:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704201984001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:30:09] 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":707951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:30:09] local.INFO: GPS data processed {"connection_id":163743,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:30:09] local.INFO: Acknowledgment sent {"connection_id":163743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:30:11] local.INFO: TCP Data received {"connection_id":163472,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163472,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:30:11] local.INFO: Processing buffer {"connection_id":163472,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:30:11] local.INFO: IMEI packet received {"connection_id":163472,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 14:30:11] local.INFO: IMEI acknowledgment sent {"connection_id":163472,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:30:16] local.INFO: TCP Data received {"connection_id":163472,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163472,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:30:16] local.INFO: Processing buffer {"connection_id":163472,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:30:16] local.INFO: IMEI packet received {"connection_id":163472,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 14:30:16] local.INFO: IMEI acknowledgment sent {"connection_id":163472,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:30:17] local.INFO: TCP Data received {"connection_id":163472,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a04797b9e8012d1967c0071fed70003701182a..."} 
[2026-08-28 14:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04797b9e8012d1967c0071fed70003701182a..."} 
[2026-08-28 14:30:17] local.INFO: Processing buffer {"connection_id":163472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04797b9e8012d1967c0071fed70003701182a..."} 
[2026-08-28 14:30:17] local.INFO: Packet analysis {"connection_id":163472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04797"} 
[2026-08-28 14:30:17] local.INFO: Extracted packet for processing {"connection_id":163472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04797"} 
[2026-08-28 14:30:17] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:30:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704320000001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:30:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:30:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:30:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:30:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787907521000,"timestamp_ms":1787907521000,"timestamp_seconds":1787907521,"priority":1,"record_length":96,"hex_timestamp":"000001a04797b9e8"} 
[2026-08-28 14: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-28 14:30:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-28 14:30:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-28 14:30:17] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-08-28 14:30:17] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452344,"note":"Value kept but may cause issues"} 
[2026-08-28 14:30:17] local.WARNING: Large IO value detected {"io_id":142,"raw_value":8430738502437568513,"note":"Value kept but may cause issues"} 
[2026-08-28 14:30:17] local.WARNING: Large IO value detected {"io_id":160,"raw_value":5158074749773748583,"note":"Value kept but may cause issues"} 
[2026-08-28 14:30:17] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513389947839250712,"note":"Value kept but may cause issues"} 
[2026-08-28 14:30:17] local.WARNING: Large IO value detected {"io_id":55,"raw_value":78853675409211392,"note":"Value kept but may cause issues"} 
[2026-08-28 14:30:17] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832582,"note":"Value kept but may cause issues"} 
[2026-08-28 14:30:17] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3486068470913237198,"note":"Value kept but may cause issues"} 
[2026-08-28 14:30:17] local.WARNING: Large IO value detected {"io_id":71,"raw_value":2518663169,"note":"Value kept but may cause issues"} 
[2026-08-28 14:30:17] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3983540279,"note":"Value kept but may cause issues"} 
[2026-08-28 14:30:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3087084825,"corrected_to":0} 
[2026-08-28 14:30:17] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692397,"note":"Value kept but may cause issues"} 
[2026-08-28 14:30:17] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2390032384,"note":"Value kept but may cause issues"} 
[2026-08-28 14:30:17] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,121,28,24,241,158,16,142,160,21,45,192,237,55,44,10,66,195,113,1,240,118,71,31,4,205,103,112,239,48,2,56,7,38],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":3087084825,"validated":0}]} 
[2026-08-28 14:30:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3963475724320374784,"timestamp_seconds":3963475724320375.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 14: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-28 14:30:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:30:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:30:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:30:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:30:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:30:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:30:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:30:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704320000001,"66":12406,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:30:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:30:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:30:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704320000001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:30:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:30:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:30:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:30:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:30:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704320000001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:30:17] 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":707952,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:30:17] local.INFO: GPS data processed {"connection_id":163472,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:30:17] local.INFO: Acknowledgment sent {"connection_id":163472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:30:30] local.INFO: TCP Data received {"connection_id":163744,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:30:30] local.INFO: Processing buffer {"connection_id":163744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:30:30] local.INFO: IMEI packet received {"connection_id":163744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 14:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":163744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:30:35] local.INFO: TCP Data received {"connection_id":166093,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047977f50012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047977f50012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:30:35] local.INFO: Processing buffer {"connection_id":166093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047977f50012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:30:35] local.INFO: Packet analysis {"connection_id":166093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04797"} 
[2026-08-28 14:30:35] local.INFO: Extracted packet for processing {"connection_id":166093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04797"} 
[2026-08-28 14:30:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704244480001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:30:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:30:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787907506000,"timestamp_ms":1787907506000,"timestamp_seconds":1787907506,"priority":1,"record_length":96,"hex_timestamp":"000001a047977f50"} 
[2026-08-28 14:30:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:30:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 14:30:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:30:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:30:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":166093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":166093,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":166093,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:30:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:30:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704244480001,"66":25441,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704244480001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:30:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:30:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:30:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704244480001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":166093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707953,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:30:36] local.INFO: GPS data processed {"connection_id":166093,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:30:36] local.INFO: Acknowledgment sent {"connection_id":166093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:30:36] local.INFO: TCP Data received {"connection_id":163744,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:30:36] local.INFO: Processing buffer {"connection_id":163744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:30:36] local.INFO: IMEI packet received {"connection_id":163744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 14:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":163744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:30:38] local.INFO: TCP Data received {"connection_id":163744,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04794f6e0012d34c14006aa4840001100e629..."} 
[2026-08-28 14:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04794f6e0012d34c14006aa4840001100e629..."} 
[2026-08-28 14:30:38] local.INFO: Processing buffer {"connection_id":163744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04794f6e0012d34c14006aa4840001100e629..."} 
[2026-08-28 14:30:38] local.INFO: Packet analysis {"connection_id":163744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04794"} 
[2026-08-28 14:30:38] local.INFO: Extracted packet for processing {"connection_id":163744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04794"} 
[2026-08-28 14:30:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704201984001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:30:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787907340000,"timestamp_ms":1787907340000,"timestamp_seconds":1787907340,"priority":1,"record_length":96,"hex_timestamp":"000001a04794f6e0"} 
[2026-08-28 14:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:30: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-28 14:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 14:30:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:30:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704201984001,"66":25441,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704201984001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:30:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:30:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:30: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-28 14:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704201984001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:30:38] 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":707954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:30:38] local.INFO: GPS data processed {"connection_id":163744,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:30:38] local.INFO: Acknowledgment sent {"connection_id":163744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:30:49] local.INFO: TCP Data received {"connection_id":163472,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047980bf0012d1967c0071fed70003701182b..."} 
[2026-08-28 14:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047980bf0012d1967c0071fed70003701182b..."} 
[2026-08-28 14:30:49] local.INFO: Processing buffer {"connection_id":163472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047980bf0012d1967c0071fed70003701182b..."} 
[2026-08-28 14:30:49] local.INFO: Packet analysis {"connection_id":163472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04798"} 
[2026-08-28 14:30:49] local.INFO: Extracted packet for processing {"connection_id":163472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04798"} 
[2026-08-28 14:30:49] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:30:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704325376001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:30:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:30:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:30:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:30:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787907542000,"timestamp_ms":1787907542000,"timestamp_seconds":1787907542,"priority":1,"record_length":96,"hex_timestamp":"000001a047980bf0"} 
[2026-08-28 14:30:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:30:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 14:30:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:30:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:30:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:30:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:30:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:30:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:30:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:30:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:30:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:30:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:30:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704325376001,"66":12406,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:30:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:30:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:30:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704325376001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:30:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:30:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:30:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:30:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:30:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704325376001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:30:49] 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":707955,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:30:49] local.INFO: GPS data processed {"connection_id":163472,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:30:49] local.INFO: Acknowledgment sent {"connection_id":163472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:30:56] local.INFO: TCP Data received {"connection_id":164742,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164742,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:30:56] local.INFO: Processing buffer {"connection_id":164742,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:30:56] local.INFO: IMEI packet received {"connection_id":164742,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 14:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":164742,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:31:02] local.INFO: TCP Data received {"connection_id":164742,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164742,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:31:02] local.INFO: Processing buffer {"connection_id":164742,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:31:02] local.INFO: IMEI packet received {"connection_id":164742,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 14:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":164742,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:31:04] local.INFO: TCP Data received {"connection_id":164742,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047977f50012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047977f50012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:31:04] local.INFO: Processing buffer {"connection_id":164742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047977f50012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:31:04] local.INFO: Packet analysis {"connection_id":164742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04797"} 
[2026-08-28 14:31:04] local.INFO: Extracted packet for processing {"connection_id":164742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04797"} 
[2026-08-28 14:31:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704244480001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:31:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787907506000,"timestamp_ms":1787907506000,"timestamp_seconds":1787907506,"priority":1,"record_length":96,"hex_timestamp":"000001a047977f50"} 
[2026-08-28 14:31:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:31:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 14:31: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-28 14:31:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:31:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":164742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":164742,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":164742,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:31:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704244480001,"66":25441,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704244480001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:31:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:31:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704244480001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:31:04] 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":707956,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:31:04] local.INFO: GPS data processed {"connection_id":164742,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:31:04] local.INFO: Acknowledgment sent {"connection_id":164742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:31:09] local.INFO: TCP Data received {"connection_id":163744,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04794f6e0012d34c14006aa4840001100e629..."} 
[2026-08-28 14:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04794f6e0012d34c14006aa4840001100e629..."} 
[2026-08-28 14:31:09] local.INFO: Processing buffer {"connection_id":163744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04794f6e0012d34c14006aa4840001100e629..."} 
[2026-08-28 14:31:09] local.INFO: Packet analysis {"connection_id":163744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04794"} 
[2026-08-28 14:31:09] local.INFO: Extracted packet for processing {"connection_id":163744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04794"} 
[2026-08-28 14:31:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704201984001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:31:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787907340000,"timestamp_ms":1787907340000,"timestamp_seconds":1787907340,"priority":1,"record_length":96,"hex_timestamp":"000001a04794f6e0"} 
[2026-08-28 14:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 14:31:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:31:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:31:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704201984001,"66":25441,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704201984001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:31:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:31:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:31: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-28 14:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704201984001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:31:09] 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":707957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:31:09] local.INFO: GPS data processed {"connection_id":163744,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:31:09] local.INFO: Acknowledgment sent {"connection_id":163744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:31:11] local.INFO: TCP Data received {"connection_id":164743,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164743,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:31:11] local.INFO: Processing buffer {"connection_id":164743,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:31:11] local.INFO: IMEI packet received {"connection_id":164743,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 14:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":164743,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:31:16] local.INFO: TCP Data received {"connection_id":164743,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164743,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:31:16] local.INFO: Processing buffer {"connection_id":164743,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:31:16] local.INFO: IMEI packet received {"connection_id":164743,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 14:31:16] local.INFO: IMEI acknowledgment sent {"connection_id":164743,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:31:17] local.INFO: TCP Data received {"connection_id":164743,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047985df8012d1967c0071fed70003701182c..."} 
[2026-08-28 14:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047985df8012d1967c0071fed70003701182c..."} 
[2026-08-28 14:31:17] local.INFO: Processing buffer {"connection_id":164743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047985df8012d1967c0071fed70003701182c..."} 
[2026-08-28 14:31:17] local.INFO: Packet analysis {"connection_id":164743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04798"} 
[2026-08-28 14:31:17] local.INFO: Extracted packet for processing {"connection_id":164743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04798"} 
[2026-08-28 14:31:17] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":44,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:31:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704330752001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:31:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:31:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:31:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:31:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787907563000,"timestamp_ms":1787907563000,"timestamp_seconds":1787907563,"priority":1,"record_length":96,"hex_timestamp":"000001a047985df8"} 
[2026-08-28 14:31:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:31:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 14:31:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14:31:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:31:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:31:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:31:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:31:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:31:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:31:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:31:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:31:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704330752001,"66":12287,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:31:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:31:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:31:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704330752001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:31:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:31:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:31:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:31:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:31:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704330752001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:31:17] local.INFO: DEBUG: GPS processor result {"connection_id":164743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707958,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:31:17] local.INFO: GPS data processed {"connection_id":164743,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:31:17] local.INFO: Acknowledgment sent {"connection_id":164743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:31:36] local.INFO: TCP Data received {"connection_id":164742,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047977f50012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047977f50012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:31:36] local.INFO: Processing buffer {"connection_id":164742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047977f50012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:31:36] local.INFO: Packet analysis {"connection_id":164742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04797"} 
[2026-08-28 14:31:36] local.INFO: Extracted packet for processing {"connection_id":164742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04797"} 
[2026-08-28 14:31:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704244480001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:31:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:31:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787907506000,"timestamp_ms":1787907506000,"timestamp_seconds":1787907506,"priority":1,"record_length":96,"hex_timestamp":"000001a047977f50"} 
[2026-08-28 14:31:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:31:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 14:31:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:31:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:31:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":164742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":164742,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":164742,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:31:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704244480001,"66":25441,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704244480001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:31:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:31:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:31:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704244480001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:31:36] 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":707959,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:31:36] local.INFO: GPS data processed {"connection_id":164742,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:31:36] local.INFO: Acknowledgment sent {"connection_id":164742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:31:36] local.INFO: TCP Data received {"connection_id":163745,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:31:36] local.INFO: Processing buffer {"connection_id":163745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:31:36] local.INFO: IMEI packet received {"connection_id":163745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 14:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":163745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:31:41] local.INFO: TCP Data received {"connection_id":163745,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:31:41] local.INFO: Processing buffer {"connection_id":163745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:31:41] local.INFO: IMEI packet received {"connection_id":163745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 14:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":163745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:31:44] local.INFO: TCP Data received {"connection_id":163745,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047998ea8012d34c14006aa4840000f00e627..."} 
[2026-08-28 14:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047998ea8012d34c14006aa4840000f00e627..."} 
[2026-08-28 14:31:44] local.INFO: Processing buffer {"connection_id":163745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047998ea8012d34c14006aa4840000f00e627..."} 
[2026-08-28 14:31:44] local.INFO: Packet analysis {"connection_id":163745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04799"} 
[2026-08-28 14:31:44] local.INFO: Extracted packet for processing {"connection_id":163745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04799"} 
[2026-08-28 14:31:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:31:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704279040001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:31:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:31:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:31:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:31:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787907641000,"timestamp_ms":1787907641000,"timestamp_seconds":1787907641,"priority":1,"record_length":96,"hex_timestamp":"000001a047998ea8"} 
[2026-08-28 14: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-28 14: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-28 14: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-28 14: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-28 14: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-28 14: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-28 14:31:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:31:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:31:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:31:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:31:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:31:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:31:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:31:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704279040001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:31:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:31:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:31:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704279040001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:31:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:31:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14: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-28 14:31:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:31:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704279040001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:31:44] 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":707960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:31:44] local.INFO: GPS data processed {"connection_id":163745,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:31:44] local.INFO: Acknowledgment sent {"connection_id":163745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:31:46] local.INFO: TCP Data received {"connection_id":163745,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047998ea8012d34c14006aa4840000f00e627..."} 
[2026-08-28 14:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047998ea8012d34c14006aa4840000f00e627..."} 
[2026-08-28 14:31:46] local.INFO: Processing buffer {"connection_id":163745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047998ea8012d34c14006aa4840000f00e627..."} 
[2026-08-28 14:31:46] local.INFO: Packet analysis {"connection_id":163745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04799"} 
[2026-08-28 14:31:46] local.INFO: Extracted packet for processing {"connection_id":163745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04799"} 
[2026-08-28 14:31:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704279040001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:31:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:31:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787907641000,"timestamp_ms":1787907641000,"timestamp_seconds":1787907641,"priority":1,"record_length":96,"hex_timestamp":"000001a047998ea8"} 
[2026-08-28 14:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:31: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-28 14:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 14:31: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-28 14: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-28 14:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:31:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704279040001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704279040001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:31:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:31:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14: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-28 14:31:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:31:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704279040001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:31:46] 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":707961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:31:46] local.INFO: GPS data processed {"connection_id":163745,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:31:46] local.INFO: Acknowledgment sent {"connection_id":163745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:31:49] local.INFO: TCP Data received {"connection_id":164743,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a04798b000012d1967c0071fed70003701182b..."} 
[2026-08-28 14:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04798b000012d1967c0071fed70003701182b..."} 
[2026-08-28 14:31:49] local.INFO: Processing buffer {"connection_id":164743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04798b000012d1967c0071fed70003701182b..."} 
[2026-08-28 14:31:49] local.INFO: Packet analysis {"connection_id":164743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04798"} 
[2026-08-28 14:31:49] local.INFO: Extracted packet for processing {"connection_id":164743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04798"} 
[2026-08-28 14:31:49] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:31:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704336128001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:31:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:31:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:31:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:31:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787907584000,"timestamp_ms":1787907584000,"timestamp_seconds":1787907584,"priority":1,"record_length":96,"hex_timestamp":"000001a04798b000"} 
[2026-08-28 14: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-28 14:31:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 14:31:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14: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-28 14:31:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:31:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:31:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:31:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:31:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:31:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:31:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:31:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704336128001,"66":12385,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:31:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:31:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:31:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704336128001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:31:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:31:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:31:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:31:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:31:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704336128001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:31:49] local.INFO: DEBUG: GPS processor result {"connection_id":164743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707962,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:31:49] local.INFO: GPS data processed {"connection_id":164743,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:31:49] local.INFO: Acknowledgment sent {"connection_id":164743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:31:56] local.INFO: TCP Data received {"connection_id":163473,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163473,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:31:56] local.INFO: Processing buffer {"connection_id":163473,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:31:56] local.INFO: IMEI packet received {"connection_id":163473,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 14:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":163473,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:32:02] local.INFO: TCP Data received {"connection_id":163473,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163473,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:32:02] local.INFO: Processing buffer {"connection_id":163473,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:32:02] local.INFO: IMEI packet received {"connection_id":163473,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 14:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":163473,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:32:04] local.INFO: TCP Data received {"connection_id":163473,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047977f50012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047977f50012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:32:04] local.INFO: Processing buffer {"connection_id":163473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047977f50012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:32:04] local.INFO: Packet analysis {"connection_id":163473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04797"} 
[2026-08-28 14:32:04] local.INFO: Extracted packet for processing {"connection_id":163473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04797"} 
[2026-08-28 14:32:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704244480001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787907506000,"timestamp_ms":1787907506000,"timestamp_seconds":1787907506,"priority":1,"record_length":96,"hex_timestamp":"000001a047977f50"} 
[2026-08-28 14:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 14:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":163473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":163473,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":163473,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704244480001,"66":25441,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704244480001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:32:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:32:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704244480001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:32:04] 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":707963,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:32:04] local.INFO: GPS data processed {"connection_id":163473,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:32:04] local.INFO: Acknowledgment sent {"connection_id":163473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:32:11] local.INFO: TCP Data received {"connection_id":163474,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163474,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:32:11] local.INFO: Processing buffer {"connection_id":163474,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:32:11] local.INFO: IMEI packet received {"connection_id":163474,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 14:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":163474,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:32:16] local.INFO: TCP Data received {"connection_id":163474,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163474,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:32:16] local.INFO: Processing buffer {"connection_id":163474,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:32:16] local.INFO: IMEI packet received {"connection_id":163474,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 14:32:16] local.INFO: IMEI acknowledgment sent {"connection_id":163474,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:32:17] local.INFO: TCP Data received {"connection_id":163474,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047990208012d1967c0071fed70003701182b..."} 
[2026-08-28 14:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047990208012d1967c0071fed70003701182b..."} 
[2026-08-28 14:32:18] local.INFO: Processing buffer {"connection_id":163474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047990208012d1967c0071fed70003701182b..."} 
[2026-08-28 14:32:18] local.INFO: Packet analysis {"connection_id":163474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04799"} 
[2026-08-28 14:32:18] local.INFO: Extracted packet for processing {"connection_id":163474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04799"} 
[2026-08-28 14:32:18] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:32:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704341504001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:32:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:32:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:32:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:32:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787907605000,"timestamp_ms":1787907605000,"timestamp_seconds":1787907605,"priority":1,"record_length":96,"hex_timestamp":"000001a047990208"} 
[2026-08-28 14: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-28 14:32:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 14:32:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14: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-28 14:32:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:32:18] local.INFO: Teltonika packet parsed successfully {"connection_id":163474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:32:18] local.INFO: Passing IMEI to GPS processor {"connection_id":163474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:32:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":163474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:32:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:32:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:32:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:32:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704341504001,"66":12406,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:32:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:32:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:32:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704341504001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:32:18] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:32:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:32:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:32:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:32:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704341504001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:32:18] 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":707964,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:32:18] local.INFO: GPS data processed {"connection_id":163474,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:32:18] local.INFO: Acknowledgment sent {"connection_id":163474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:32:30] local.INFO: TCP Data received {"connection_id":163746,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:32:30] local.INFO: Processing buffer {"connection_id":163746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:32:30] local.INFO: IMEI packet received {"connection_id":163746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 14:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":163746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:32:35] local.INFO: TCP Data received {"connection_id":163473,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047977f50012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047977f50012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:32:35] local.INFO: Processing buffer {"connection_id":163473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047977f50012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:32:35] local.INFO: Packet analysis {"connection_id":163473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04797"} 
[2026-08-28 14:32:35] local.INFO: Extracted packet for processing {"connection_id":163473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04797"} 
[2026-08-28 14:32:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704244480001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787907506000,"timestamp_ms":1787907506000,"timestamp_seconds":1787907506,"priority":1,"record_length":96,"hex_timestamp":"000001a047977f50"} 
[2026-08-28 14:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:32:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 14:32:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:32:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163473,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163473,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704244480001,"66":25441,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704244480001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:32:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:32:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704244480001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:32:35] 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":707965,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:32:35] local.INFO: GPS data processed {"connection_id":163473,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:32:35] local.INFO: Acknowledgment sent {"connection_id":163473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:32:36] local.INFO: TCP Data received {"connection_id":163746,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:32:36] local.INFO: Processing buffer {"connection_id":163746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:32:36] local.INFO: IMEI packet received {"connection_id":163746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 14:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":163746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:32:37] local.INFO: TCP Data received {"connection_id":163746,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047998ea8012d34c14006aa4840000f00e627..."} 
[2026-08-28 14:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047998ea8012d34c14006aa4840000f00e627..."} 
[2026-08-28 14:32:37] local.INFO: Processing buffer {"connection_id":163746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047998ea8012d34c14006aa4840000f00e627..."} 
[2026-08-28 14:32:37] local.INFO: Packet analysis {"connection_id":163746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04799"} 
[2026-08-28 14:32:37] local.INFO: Extracted packet for processing {"connection_id":163746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04799"} 
[2026-08-28 14:32:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704279040001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787907641000,"timestamp_ms":1787907641000,"timestamp_seconds":1787907641,"priority":1,"record_length":96,"hex_timestamp":"000001a047998ea8"} 
[2026-08-28 14: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-28 14:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 14:32:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14: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-28 14:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704279040001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704279040001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:32:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:32:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:32: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-28 14:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704279040001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:32:38] 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":707966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:32:38] local.INFO: GPS data processed {"connection_id":163746,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:32:38] local.INFO: Acknowledgment sent {"connection_id":163746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:32:49] local.INFO: TCP Data received {"connection_id":163474,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047995410012d1967c0071fed70003701182a..."} 
[2026-08-28 14:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047995410012d1967c0071fed70003701182a..."} 
[2026-08-28 14:32:49] local.INFO: Processing buffer {"connection_id":163474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047995410012d1967c0071fed70003701182a..."} 
[2026-08-28 14:32:49] local.INFO: Packet analysis {"connection_id":163474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04799"} 
[2026-08-28 14:32:49] local.INFO: Extracted packet for processing {"connection_id":163474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04799"} 
[2026-08-28 14:32:49] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14:32:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:32:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704346880001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:32:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:32:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:32:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:32:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787907626000,"timestamp_ms":1787907626000,"timestamp_seconds":1787907626,"priority":1,"record_length":96,"hex_timestamp":"000001a047995410"} 
[2026-08-28 14:32:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:32:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14:32:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 14:32:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14:32:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:32:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:32:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:32:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:32:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:32:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:32:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:32:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:32:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704346880001,"66":12385,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:32:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:32:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:32:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704346880001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:32:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:32:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:32:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:32:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:32:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704346880001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:32:49] 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":707967,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:32:49] local.INFO: GPS data processed {"connection_id":163474,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:32:49] local.INFO: Acknowledgment sent {"connection_id":163474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:32:56] local.INFO: TCP Data received {"connection_id":163747,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163747,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:32:56] local.INFO: Processing buffer {"connection_id":163747,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:32:56] local.INFO: IMEI packet received {"connection_id":163747,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 14:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":163747,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:33:02] local.INFO: TCP Data received {"connection_id":163747,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163747,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:33:02] local.INFO: Processing buffer {"connection_id":163747,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:33:02] local.INFO: IMEI packet received {"connection_id":163747,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 14:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":163747,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:33:03] local.INFO: TCP Data received {"connection_id":163747,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047977f50012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047977f50012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:33:03] local.INFO: Processing buffer {"connection_id":163747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047977f50012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:33:03] local.INFO: Packet analysis {"connection_id":163747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04797"} 
[2026-08-28 14:33:03] local.INFO: Extracted packet for processing {"connection_id":163747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04797"} 
[2026-08-28 14:33:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704244480001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:33:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787907506000,"timestamp_ms":1787907506000,"timestamp_seconds":1787907506,"priority":1,"record_length":96,"hex_timestamp":"000001a047977f50"} 
[2026-08-28 14:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:33:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 14:33:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:33:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163747,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163747,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704244480001,"66":25441,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704244480001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:33:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:33:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704244480001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:33:03] 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":707968,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:33:03] local.INFO: GPS data processed {"connection_id":163747,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:33:03] local.INFO: Acknowledgment sent {"connection_id":163747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:33:09] local.INFO: TCP Data received {"connection_id":163746,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047998ea8012d34c14006aa4840000f00e627..."} 
[2026-08-28 14:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047998ea8012d34c14006aa4840000f00e627..."} 
[2026-08-28 14:33:09] local.INFO: Processing buffer {"connection_id":163746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047998ea8012d34c14006aa4840000f00e627..."} 
[2026-08-28 14:33:09] local.INFO: Packet analysis {"connection_id":163746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04799"} 
[2026-08-28 14:33:09] local.INFO: Extracted packet for processing {"connection_id":163746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04799"} 
[2026-08-28 14:33:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704279040001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:33:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787907641000,"timestamp_ms":1787907641000,"timestamp_seconds":1787907641,"priority":1,"record_length":96,"hex_timestamp":"000001a047998ea8"} 
[2026-08-28 14:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:33:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 14:33:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:33:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:33:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704279040001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704279040001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:33:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:33:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:33: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-28 14:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704279040001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:33:09] 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":707969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:33:09] local.INFO: GPS data processed {"connection_id":163746,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:33:09] local.INFO: Acknowledgment sent {"connection_id":163746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:33:11] local.INFO: TCP Data received {"connection_id":164744,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164744,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:33:11] local.INFO: Processing buffer {"connection_id":164744,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:33:11] local.INFO: IMEI packet received {"connection_id":164744,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 14:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":164744,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:33:16] local.INFO: TCP Data received {"connection_id":164744,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164744,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:33:16] local.INFO: Processing buffer {"connection_id":164744,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:33:16] local.INFO: IMEI packet received {"connection_id":164744,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 14:33:16] local.INFO: IMEI acknowledgment sent {"connection_id":164744,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:33:17] local.INFO: TCP Data received {"connection_id":164744,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a04799a618012d1967c0071fed70003701182a..."} 
[2026-08-28 14:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04799a618012d1967c0071fed70003701182a..."} 
[2026-08-28 14:33:17] local.INFO: Processing buffer {"connection_id":164744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04799a618012d1967c0071fed70003701182a..."} 
[2026-08-28 14:33:17] local.INFO: Packet analysis {"connection_id":164744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04799"} 
[2026-08-28 14:33:17] local.INFO: Extracted packet for processing {"connection_id":164744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04799"} 
[2026-08-28 14:33:17] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:33:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704352256001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:33:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:33:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:33:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:33:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787907647000,"timestamp_ms":1787907647000,"timestamp_seconds":1787907647,"priority":1,"record_length":96,"hex_timestamp":"000001a04799a618"} 
[2026-08-28 14: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-28 14:33:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 14:33:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14: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-28 14:33:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:33:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:33:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:33:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:33:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:33:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:33:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:33:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704352256001,"66":12406,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:33:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:33:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:33:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704352256001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:33:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:33:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:33:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:33:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:33:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704352256001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:33:17] local.INFO: DEBUG: GPS processor result {"connection_id":164744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707970,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:33:17] local.INFO: GPS data processed {"connection_id":164744,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:33:17] local.INFO: Acknowledgment sent {"connection_id":164744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:33:30] local.INFO: TCP Data received {"connection_id":163475,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:33:30] local.INFO: Processing buffer {"connection_id":163475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:33:30] local.INFO: IMEI packet received {"connection_id":163475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 14:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":163475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:33:35] local.INFO: TCP Data received {"connection_id":163747,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047977f50012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047977f50012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:33:35] local.INFO: Processing buffer {"connection_id":163747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047977f50012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:33:35] local.INFO: Packet analysis {"connection_id":163747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04797"} 
[2026-08-28 14:33:35] local.INFO: Extracted packet for processing {"connection_id":163747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04797"} 
[2026-08-28 14:33:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704244480001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:33:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787907506000,"timestamp_ms":1787907506000,"timestamp_seconds":1787907506,"priority":1,"record_length":96,"hex_timestamp":"000001a047977f50"} 
[2026-08-28 14:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:33:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 14:33:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:33:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163747,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163747,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:33:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704244480001,"66":25441,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704244480001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:33:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:33:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704244480001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:33:35] 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":707971,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:33:35] local.INFO: GPS data processed {"connection_id":163747,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:33:35] local.INFO: Acknowledgment sent {"connection_id":163747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:33:35] local.INFO: TCP Data received {"connection_id":163475,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:33:35] local.INFO: Processing buffer {"connection_id":163475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:33:35] local.INFO: IMEI packet received {"connection_id":163475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 14:33:35] local.INFO: IMEI acknowledgment sent {"connection_id":163475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:33:38] local.INFO: TCP Data received {"connection_id":163475,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047998ea8012d34c14006aa4840000f00e627..."} 
[2026-08-28 14:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047998ea8012d34c14006aa4840000f00e627..."} 
[2026-08-28 14:33:38] local.INFO: Processing buffer {"connection_id":163475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047998ea8012d34c14006aa4840000f00e627..."} 
[2026-08-28 14:33:38] local.INFO: Packet analysis {"connection_id":163475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04799"} 
[2026-08-28 14:33:38] local.INFO: Extracted packet for processing {"connection_id":163475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04799"} 
[2026-08-28 14:33:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704279040001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:33:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787907641000,"timestamp_ms":1787907641000,"timestamp_seconds":1787907641,"priority":1,"record_length":96,"hex_timestamp":"000001a047998ea8"} 
[2026-08-28 14:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:33: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-28 14:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 14:33: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-28 14:33:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704279040001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704279040001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:33:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:33:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:33: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-28 14:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704279040001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:33:38] 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":707972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:33:38] local.INFO: GPS data processed {"connection_id":163475,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:33:38] local.INFO: Acknowledgment sent {"connection_id":163475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:33:49] local.INFO: TCP Data received {"connection_id":164744,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a04799f820012d1967c0071fed700037011827..."} 
[2026-08-28 14:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04799f820012d1967c0071fed700037011827..."} 
[2026-08-28 14:33:49] local.INFO: Processing buffer {"connection_id":164744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04799f820012d1967c0071fed700037011827..."} 
[2026-08-28 14:33:49] local.INFO: Packet analysis {"connection_id":164744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04799"} 
[2026-08-28 14:33:49] local.INFO: Extracted packet for processing {"connection_id":164744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04799"} 
[2026-08-28 14:33:49] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:33:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704357632001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:33:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:33:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:33:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:33:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787907668000,"timestamp_ms":1787907668000,"timestamp_seconds":1787907668,"priority":1,"record_length":96,"hex_timestamp":"000001a04799f820"} 
[2026-08-28 14: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-28 14:33:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 14:33:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14: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-28 14:33:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:33:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:33:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:33:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:33:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:33:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:33:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:33:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704357632001,"66":12428,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:33:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:33:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:33:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704357632001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:33:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:33:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:33:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:33:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:33:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704357632001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:33:49] local.INFO: DEBUG: GPS processor result {"connection_id":164744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707973,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:33:49] local.INFO: GPS data processed {"connection_id":164744,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:33:49] local.INFO: Acknowledgment sent {"connection_id":164744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:34:02] local.INFO: TCP Data received {"connection_id":163476,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163476,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:34:02] local.INFO: Processing buffer {"connection_id":163476,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:34:02] local.INFO: IMEI packet received {"connection_id":163476,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 14:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":163476,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:34:06] local.INFO: TCP Data received {"connection_id":163476,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163476,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:34:06] local.INFO: Processing buffer {"connection_id":163476,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:34:06] local.INFO: IMEI packet received {"connection_id":163476,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 14:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":163476,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:34:07] local.INFO: TCP Data received {"connection_id":163476,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0479c1718012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0479c1718012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:34:07] local.INFO: Processing buffer {"connection_id":163476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0479c1718012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:34:07] local.INFO: Packet analysis {"connection_id":163476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0479c"} 
[2026-08-28 14:34:07] local.INFO: Extracted packet for processing {"connection_id":163476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0479c"} 
[2026-08-28 14:34:07] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704321536001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:34:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:34:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787907807000,"timestamp_ms":1787907807000,"timestamp_seconds":1787907807,"priority":1,"record_length":96,"hex_timestamp":"000001a0479c1718"} 
[2026-08-28 14:34:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:34:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 14:34: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-28 14:34:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:34:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":163476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":163476,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":163476,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:34:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704321536001,"66":25441,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704321536001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:34:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:34:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:34:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704321536001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:34:07] 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":707974,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:34:07] local.INFO: GPS data processed {"connection_id":163476,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:34:07] local.INFO: Acknowledgment sent {"connection_id":163476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:34:09] local.INFO: TCP Data received {"connection_id":163476,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0479c1718012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0479c1718012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:34:09] local.INFO: Processing buffer {"connection_id":163476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0479c1718012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:34:09] local.INFO: Packet analysis {"connection_id":163476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0479c"} 
[2026-08-28 14:34:09] local.INFO: Extracted packet for processing {"connection_id":163476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0479c"} 
[2026-08-28 14:34:09] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704321536001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:34:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787907807000,"timestamp_ms":1787907807000,"timestamp_seconds":1787907807,"priority":1,"record_length":96,"hex_timestamp":"000001a0479c1718"} 
[2026-08-28 14:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:34:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 14:34:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:34:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163476,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163476,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:34:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704321536001,"66":25441,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704321536001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:34:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:34:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704321536001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:34:09] 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":707975,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:34:09] local.INFO: GPS data processed {"connection_id":163476,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:34:09] local.INFO: Acknowledgment sent {"connection_id":163476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:34:09] local.INFO: TCP Data received {"connection_id":163475,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047998ea8012d34c14006aa4840000f00e627..."} 
[2026-08-28 14:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047998ea8012d34c14006aa4840000f00e627..."} 
[2026-08-28 14:34:09] local.INFO: Processing buffer {"connection_id":163475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047998ea8012d34c14006aa4840000f00e627..."} 
[2026-08-28 14:34:09] local.INFO: Packet analysis {"connection_id":163475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04799"} 
[2026-08-28 14:34:09] local.INFO: Extracted packet for processing {"connection_id":163475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04799"} 
[2026-08-28 14:34:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704279040001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:34:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787907641000,"timestamp_ms":1787907641000,"timestamp_seconds":1787907641,"priority":1,"record_length":96,"hex_timestamp":"000001a047998ea8"} 
[2026-08-28 14:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:34: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-28 14:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 14:34:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:34:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:34:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704279040001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704279040001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:34:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:34:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:34: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-28 14:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704279040001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:34:09] 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":707976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:34:09] local.INFO: GPS data processed {"connection_id":163475,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:34:09] local.INFO: Acknowledgment sent {"connection_id":163475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:34:13] local.INFO: TCP Data received {"connection_id":166094,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166094,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:34:13] local.INFO: Processing buffer {"connection_id":166094,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:34:13] local.INFO: IMEI packet received {"connection_id":166094,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 14:34:13] local.INFO: IMEI acknowledgment sent {"connection_id":166094,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:34:16] local.INFO: TCP Data received {"connection_id":166094,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166094,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:34:16] local.INFO: Processing buffer {"connection_id":166094,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:34:16] local.INFO: IMEI packet received {"connection_id":166094,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 14:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":166094,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:34:21] local.INFO: TCP Data received {"connection_id":166094,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166094,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:34:21] local.INFO: Processing buffer {"connection_id":166094,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:34:21] local.INFO: IMEI packet received {"connection_id":166094,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 14:34:21] local.INFO: IMEI acknowledgment sent {"connection_id":166094,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:34:22] local.INFO: TCP Data received {"connection_id":166094,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0479a4a28012d1967c0071fed700037011828..."} 
[2026-08-28 14:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0479a4a28012d1967c0071fed700037011828..."} 
[2026-08-28 14:34:22] local.INFO: Processing buffer {"connection_id":166094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0479a4a28012d1967c0071fed700037011828..."} 
[2026-08-28 14:34:22] local.INFO: Packet analysis {"connection_id":166094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0479a"} 
[2026-08-28 14:34:22] local.INFO: Extracted packet for processing {"connection_id":166094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0479a"} 
[2026-08-28 14:34:22] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14:34: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-28 14:34:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704363008001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:34:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:34:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:34:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:34:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787907689000,"timestamp_ms":1787907689000,"timestamp_seconds":1787907689,"priority":1,"record_length":96,"hex_timestamp":"000001a0479a4a28"} 
[2026-08-28 14:34:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:34: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-28 14:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-28 14:34:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:34: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-28 14:34:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:34:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:34:22] local.INFO: Teltonika packet parsed successfully {"connection_id":166094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:34:22] local.INFO: Passing IMEI to GPS processor {"connection_id":166094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:34:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":166094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:34:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:34:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:34:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:34:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704363008001,"66":12385,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:34:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:34:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:34:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704363008001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:34:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:34:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:34:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:34:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:34:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704363008001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:34:22] local.INFO: DEBUG: GPS processor result {"connection_id":166094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707977,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:34:22] local.INFO: GPS data processed {"connection_id":166094,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:34:22] local.INFO: Acknowledgment sent {"connection_id":166094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:34:27] local.INFO: TCP Data received {"connection_id":166094,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0479a9c30012d1967c0071fed700037011829..."} 
[2026-08-28 14:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0479a9c30012d1967c0071fed700037011829..."} 
[2026-08-28 14:34:27] local.INFO: Processing buffer {"connection_id":166094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0479a9c30012d1967c0071fed700037011829..."} 
[2026-08-28 14:34:27] local.INFO: Packet analysis {"connection_id":166094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0479a"} 
[2026-08-28 14:34:27] local.INFO: Extracted packet for processing {"connection_id":166094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0479a"} 
[2026-08-28 14:34:27] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:34:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704368384001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:34:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:34:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:34:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:34:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787907710000,"timestamp_ms":1787907710000,"timestamp_seconds":1787907710,"priority":1,"record_length":96,"hex_timestamp":"000001a0479a9c30"} 
[2026-08-28 14:34:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:34:27] 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-28 14:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 14:34:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:34:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:34:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:34:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:34:27] local.INFO: Teltonika packet parsed successfully {"connection_id":166094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:34:27] local.INFO: Passing IMEI to GPS processor {"connection_id":166094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:34:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":166094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:34:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:34:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:34:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:34:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704368384001,"66":12385,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:34:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:34:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:34:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704368384001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:34:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:34:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:34:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:34:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:34:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704368384001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:34:27] local.INFO: DEBUG: GPS processor result {"connection_id":166094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707978,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:34:27] local.INFO: GPS data processed {"connection_id":166094,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:34:27] local.INFO: Acknowledgment sent {"connection_id":166094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:34:36] local.INFO: TCP Data received {"connection_id":166095,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:34:36] local.INFO: Processing buffer {"connection_id":166095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:34:36] local.INFO: IMEI packet received {"connection_id":166095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 14:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":166095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:34:40] local.INFO: TCP Data received {"connection_id":163476,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0479c1718012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0479c1718012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:34:40] local.INFO: Processing buffer {"connection_id":163476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0479c1718012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:34:40] local.INFO: Packet analysis {"connection_id":163476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0479c"} 
[2026-08-28 14:34:40] local.INFO: Extracted packet for processing {"connection_id":163476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0479c"} 
[2026-08-28 14:34:40] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704321536001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:34:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:34:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:34:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787907807000,"timestamp_ms":1787907807000,"timestamp_seconds":1787907807,"priority":1,"record_length":96,"hex_timestamp":"000001a0479c1718"} 
[2026-08-28 14:34:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:34:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 14:34: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-28 14:34:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:34:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:34:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163476,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163476,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:34:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:34:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:34:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:34:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704321536001,"66":25441,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:34:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:34:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:34:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704321536001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:34:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:34:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:34:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:34:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:34:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704321536001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:34:40] 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":707979,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:34:40] local.INFO: GPS data processed {"connection_id":163476,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:34:40] local.INFO: Acknowledgment sent {"connection_id":163476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:34:41] local.INFO: TCP Data received {"connection_id":166095,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:34:41] local.INFO: Processing buffer {"connection_id":166095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:34:41] local.INFO: IMEI packet received {"connection_id":166095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 14:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":166095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:34:42] local.INFO: TCP Data received {"connection_id":166095,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047998ea8012d34c14006aa4840000f00e627..."} 
[2026-08-28 14:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047998ea8012d34c14006aa4840000f00e627..."} 
[2026-08-28 14:34:42] local.INFO: Processing buffer {"connection_id":166095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047998ea8012d34c14006aa4840000f00e627..."} 
[2026-08-28 14:34:42] local.INFO: Packet analysis {"connection_id":166095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04799"} 
[2026-08-28 14:34:42] local.INFO: Extracted packet for processing {"connection_id":166095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04799"} 
[2026-08-28 14:34:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704279040001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:34:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:34:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787907641000,"timestamp_ms":1787907641000,"timestamp_seconds":1787907641,"priority":1,"record_length":96,"hex_timestamp":"000001a047998ea8"} 
[2026-08-28 14:34:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:34: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-28 14:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 14:34: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-28 14:34:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:34:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":166095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":166095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":166095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:34:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704279040001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704279040001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:34:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:34:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14: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-28 14:34:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704279040001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":166095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:34:42] local.INFO: GPS data processed {"connection_id":166095,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:34:42] local.INFO: Acknowledgment sent {"connection_id":166095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:34:46] local.INFO: TCP Data received {"connection_id":166095,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047998ea8012d34c14006aa4840000f00e627..."} 
[2026-08-28 14:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047998ea8012d34c14006aa4840000f00e627..."} 
[2026-08-28 14:34:46] local.INFO: Processing buffer {"connection_id":166095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047998ea8012d34c14006aa4840000f00e627..."} 
[2026-08-28 14:34:46] local.INFO: Packet analysis {"connection_id":166095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04799"} 
[2026-08-28 14:34:46] local.INFO: Extracted packet for processing {"connection_id":166095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04799"} 
[2026-08-28 14:34:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 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-28 14:34:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704279040001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:34:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:34:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:34:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:34:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787907641000,"timestamp_ms":1787907641000,"timestamp_seconds":1787907641,"priority":1,"record_length":96,"hex_timestamp":"000001a047998ea8"} 
[2026-08-28 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-28 14:34: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-28 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":97,"data_length":795,"current_offset":136} 
[2026-08-28 14:34: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-28 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-28 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-28 14:34:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:34:46] local.INFO: Teltonika packet parsed successfully {"connection_id":166095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:34:46] local.INFO: Passing IMEI to GPS processor {"connection_id":166095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:34:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":166095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:34:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:34:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:34:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:34:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704279040001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:34:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:34:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:34:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704279040001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:34:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:34:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 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-28 14:34:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:34:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704279040001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:34:46] local.INFO: DEBUG: GPS processor result {"connection_id":166095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:34:46] local.INFO: GPS data processed {"connection_id":166095,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:34:46] local.INFO: Acknowledgment sent {"connection_id":166095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:34:56] local.INFO: TCP Data received {"connection_id":166096,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166096,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:34:56] local.INFO: Processing buffer {"connection_id":166096,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:34:56] local.INFO: IMEI packet received {"connection_id":166096,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 14:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":166096,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:35:02] local.INFO: TCP Data received {"connection_id":166096,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166096,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:35:02] local.INFO: Processing buffer {"connection_id":166096,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:35:02] local.INFO: IMEI packet received {"connection_id":166096,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 14:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":166096,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:35:03] local.INFO: TCP Data received {"connection_id":166096,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0479c1718012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0479c1718012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:35:03] local.INFO: Processing buffer {"connection_id":166096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0479c1718012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:35:03] local.INFO: Packet analysis {"connection_id":166096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0479c"} 
[2026-08-28 14:35:03] local.INFO: Extracted packet for processing {"connection_id":166096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0479c"} 
[2026-08-28 14:35:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704321536001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:35:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787907807000,"timestamp_ms":1787907807000,"timestamp_seconds":1787907807,"priority":1,"record_length":96,"hex_timestamp":"000001a0479c1718"} 
[2026-08-28 14:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:35:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 14:35:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:35:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":166096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":166096,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":166096,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:35:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704321536001,"66":25441,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704321536001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:35:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:35:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704321536001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":166096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707982,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:35:03] local.INFO: GPS data processed {"connection_id":166096,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:35:03] local.INFO: Acknowledgment sent {"connection_id":166096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:35:11] local.INFO: TCP Data received {"connection_id":166097,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166097,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:35:11] local.INFO: Processing buffer {"connection_id":166097,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:35:11] local.INFO: IMEI packet received {"connection_id":166097,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 14:35:11] local.INFO: IMEI acknowledgment sent {"connection_id":166097,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:35:16] local.INFO: TCP Data received {"connection_id":166097,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166097,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:35:16] local.INFO: Processing buffer {"connection_id":166097,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:35:16] local.INFO: IMEI packet received {"connection_id":166097,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 14:35:16] local.INFO: IMEI acknowledgment sent {"connection_id":166097,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:35:17] local.INFO: TCP Data received {"connection_id":166097,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0479aee38012d1967c0071fed70003701182a..."} 
[2026-08-28 14:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0479aee38012d1967c0071fed70003701182a..."} 
[2026-08-28 14:35:17] local.INFO: Processing buffer {"connection_id":166097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0479aee38012d1967c0071fed70003701182a..."} 
[2026-08-28 14:35:17] local.INFO: Packet analysis {"connection_id":166097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0479a"} 
[2026-08-28 14:35:17] local.INFO: Extracted packet for processing {"connection_id":166097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0479a"} 
[2026-08-28 14:35:17] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:35:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704373760001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:35:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:35:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:35:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:35:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787907731000,"timestamp_ms":1787907731000,"timestamp_seconds":1787907731,"priority":1,"record_length":96,"hex_timestamp":"000001a0479aee38"} 
[2026-08-28 14: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-28 14:35:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 14:35:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14: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-28 14:35:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:35:17] local.INFO: Teltonika packet parsed successfully {"connection_id":166097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:35:17] local.INFO: Passing IMEI to GPS processor {"connection_id":166097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:35:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":166097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:35:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:35:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:35:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:35:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704373760001,"66":12406,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:35:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:35:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:35:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704373760001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:35:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:35:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:35:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:35:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:35:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704373760001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:35:18] local.INFO: DEBUG: GPS processor result {"connection_id":166097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707983,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:35:18] local.INFO: GPS data processed {"connection_id":166097,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:35:18] local.INFO: Acknowledgment sent {"connection_id":166097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:35:31] local.INFO: TCP Data received {"connection_id":166098,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:35:31] local.INFO: Processing buffer {"connection_id":166098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:35:31] local.INFO: IMEI packet received {"connection_id":166098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 14:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":166098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:35:35] local.INFO: TCP Data received {"connection_id":166096,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0479c1718012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0479c1718012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:35:35] local.INFO: Processing buffer {"connection_id":166096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0479c1718012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:35:35] local.INFO: Packet analysis {"connection_id":166096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0479c"} 
[2026-08-28 14:35:35] local.INFO: Extracted packet for processing {"connection_id":166096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0479c"} 
[2026-08-28 14:35:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704321536001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:35:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:35:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787907807000,"timestamp_ms":1787907807000,"timestamp_seconds":1787907807,"priority":1,"record_length":96,"hex_timestamp":"000001a0479c1718"} 
[2026-08-28 14:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:35:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 14:35:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:35:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":166096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":166096,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":166096,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704321536001,"66":25441,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704321536001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:35:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:35:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:35:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704321536001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":166096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707984,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:35:35] local.INFO: GPS data processed {"connection_id":166096,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:35:35] local.INFO: Acknowledgment sent {"connection_id":166096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:35:36] local.INFO: TCP Data received {"connection_id":166098,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:35:36] local.INFO: Processing buffer {"connection_id":166098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:35:36] local.INFO: IMEI packet received {"connection_id":166098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 14:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":166098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:35:37] local.INFO: TCP Data received {"connection_id":166098,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047998ea8012d34c14006aa4840000f00e627..."} 
[2026-08-28 14:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047998ea8012d34c14006aa4840000f00e627..."} 
[2026-08-28 14:35:37] local.INFO: Processing buffer {"connection_id":166098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047998ea8012d34c14006aa4840000f00e627..."} 
[2026-08-28 14:35:37] local.INFO: Packet analysis {"connection_id":166098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04799"} 
[2026-08-28 14:35:37] local.INFO: Extracted packet for processing {"connection_id":166098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04799"} 
[2026-08-28 14:35:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704279040001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787907641000,"timestamp_ms":1787907641000,"timestamp_seconds":1787907641,"priority":1,"record_length":96,"hex_timestamp":"000001a047998ea8"} 
[2026-08-28 14:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 14:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":166098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":166098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":166098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704279040001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704279040001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:35:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:35:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:35: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-28 14:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704279040001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":166098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:35:37] local.INFO: GPS data processed {"connection_id":166098,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:35:37] local.INFO: Acknowledgment sent {"connection_id":166098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:35:49] local.INFO: TCP Data received {"connection_id":166097,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0479b4040012d1967c0071fed70003701182a..."} 
[2026-08-28 14:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0479b4040012d1967c0071fed70003701182a..."} 
[2026-08-28 14:35:49] local.INFO: Processing buffer {"connection_id":166097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0479b4040012d1967c0071fed70003701182a..."} 
[2026-08-28 14:35:49] local.INFO: Packet analysis {"connection_id":166097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0479b"} 
[2026-08-28 14:35:49] local.INFO: Extracted packet for processing {"connection_id":166097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0479b"} 
[2026-08-28 14:35:49] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14:35: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-28 14:35:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704379136001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:35:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:35:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:35:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:35:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787907752000,"timestamp_ms":1787907752000,"timestamp_seconds":1787907752,"priority":1,"record_length":96,"hex_timestamp":"000001a0479b4040"} 
[2026-08-28 14:35:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:35:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14:35:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 14:35:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:35: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-28 14:35:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:35:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:35:49] local.INFO: Teltonika packet parsed successfully {"connection_id":166097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:35:49] local.INFO: Passing IMEI to GPS processor {"connection_id":166097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:35:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":166097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:35:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:35:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:35:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:35:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704379136001,"66":12385,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:35:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:35:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:35:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704379136001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:35:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:35:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:35:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:35:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:35:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704379136001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:35:49] local.INFO: DEBUG: GPS processor result {"connection_id":166097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707986,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:35:49] local.INFO: GPS data processed {"connection_id":166097,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:35:49] local.INFO: Acknowledgment sent {"connection_id":166097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:35:56] local.INFO: TCP Data received {"connection_id":163748,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163748,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:35:56] local.INFO: Processing buffer {"connection_id":163748,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:35:56] local.INFO: IMEI packet received {"connection_id":163748,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 14:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":163748,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:36:02] local.INFO: TCP Data received {"connection_id":163748,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163748,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:36:02] local.INFO: Processing buffer {"connection_id":163748,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:36:02] local.INFO: IMEI packet received {"connection_id":163748,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 14:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":163748,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:36:03] local.INFO: TCP Data received {"connection_id":163748,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0479c1718012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0479c1718012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:36:03] local.INFO: Processing buffer {"connection_id":163748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0479c1718012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:36:03] local.INFO: Packet analysis {"connection_id":163748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0479c"} 
[2026-08-28 14:36:03] local.INFO: Extracted packet for processing {"connection_id":163748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0479c"} 
[2026-08-28 14:36:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704321536001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:36:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787907807000,"timestamp_ms":1787907807000,"timestamp_seconds":1787907807,"priority":1,"record_length":96,"hex_timestamp":"000001a0479c1718"} 
[2026-08-28 14:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:36:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 14:36:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:36:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163748,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163748,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:36:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704321536001,"66":25441,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704321536001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:36:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:36:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704321536001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:36:04] 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":707987,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:36:04] local.INFO: GPS data processed {"connection_id":163748,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:36:04] local.INFO: Acknowledgment sent {"connection_id":163748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:36:10] local.INFO: TCP Data received {"connection_id":166098,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047998ea8012d34c14006aa4840000f00e627..."} 
[2026-08-28 14:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047998ea8012d34c14006aa4840000f00e627..."} 
[2026-08-28 14:36:10] local.INFO: Processing buffer {"connection_id":166098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047998ea8012d34c14006aa4840000f00e627..."} 
[2026-08-28 14:36:10] local.INFO: Packet analysis {"connection_id":166098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04799"} 
[2026-08-28 14:36:10] local.INFO: Extracted packet for processing {"connection_id":166098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04799"} 
[2026-08-28 14:36:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704279040001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:36:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787907641000,"timestamp_ms":1787907641000,"timestamp_seconds":1787907641,"priority":1,"record_length":96,"hex_timestamp":"000001a047998ea8"} 
[2026-08-28 14:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:36:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 14:36:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:36:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":166098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":166098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":166098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:36:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704279040001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704279040001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:36:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:36:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704279040001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":166098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:36:10] local.INFO: GPS data processed {"connection_id":166098,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:36:10] local.INFO: Acknowledgment sent {"connection_id":166098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:36:11] local.INFO: TCP Data received {"connection_id":164745,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:36:11] local.INFO: Processing buffer {"connection_id":164745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:36:11] local.INFO: IMEI packet received {"connection_id":164745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 14:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":164745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:36:16] local.INFO: TCP Data received {"connection_id":164745,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:36:16] local.INFO: Processing buffer {"connection_id":164745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:36:16] local.INFO: IMEI packet received {"connection_id":164745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 14:36:16] local.INFO: IMEI acknowledgment sent {"connection_id":164745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:36:17] local.INFO: TCP Data received {"connection_id":164745,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0479b9248012d1967c0071fed700037011829..."} 
[2026-08-28 14:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0479b9248012d1967c0071fed700037011829..."} 
[2026-08-28 14:36:17] local.INFO: Processing buffer {"connection_id":164745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0479b9248012d1967c0071fed700037011829..."} 
[2026-08-28 14:36:17] local.INFO: Packet analysis {"connection_id":164745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0479b"} 
[2026-08-28 14:36:17] local.INFO: Extracted packet for processing {"connection_id":164745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0479b"} 
[2026-08-28 14:36:17] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:36:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704384512001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:36:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:36:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:36:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:36:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787907773000,"timestamp_ms":1787907773000,"timestamp_seconds":1787907773,"priority":1,"record_length":96,"hex_timestamp":"000001a0479b9248"} 
[2026-08-28 14: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-28 14:36:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 14:36:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14: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-28 14:36:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:36:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:36:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:36:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:36:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:36:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:36:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:36:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704384512001,"66":12406,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:36:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:36:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:36:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704384512001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:36:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:36:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:36:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:36:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:36:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704384512001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:36:17] 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":707989,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:36:17] local.INFO: GPS data processed {"connection_id":164745,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:36:17] local.INFO: Acknowledgment sent {"connection_id":164745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:36:30] local.INFO: TCP Data received {"connection_id":163477,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:36:30] local.INFO: Processing buffer {"connection_id":163477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:36:30] local.INFO: IMEI packet received {"connection_id":163477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 14:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":163477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:36:35] local.INFO: TCP Data received {"connection_id":163748,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0479c1718012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0479c1718012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:36:35] local.INFO: Processing buffer {"connection_id":163748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0479c1718012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:36:35] local.INFO: Packet analysis {"connection_id":163748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0479c"} 
[2026-08-28 14:36:35] local.INFO: Extracted packet for processing {"connection_id":163748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0479c"} 
[2026-08-28 14:36:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704321536001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:36:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:36:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787907807000,"timestamp_ms":1787907807000,"timestamp_seconds":1787907807,"priority":1,"record_length":96,"hex_timestamp":"000001a0479c1718"} 
[2026-08-28 14:36:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:36:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 14:36:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:36:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:36:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163748,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163748,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:36:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704321536001,"66":25441,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704321536001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:36:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:36:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:36:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704321536001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:36:35] 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":707990,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:36:35] local.INFO: GPS data processed {"connection_id":163748,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:36:35] local.INFO: Acknowledgment sent {"connection_id":163748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:36:36] local.INFO: TCP Data received {"connection_id":163477,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:36:36] local.INFO: Processing buffer {"connection_id":163477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:36:36] local.INFO: IMEI packet received {"connection_id":163477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 14:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":163477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:36:37] local.INFO: TCP Data received {"connection_id":163477,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0479e2670012d34c14006aa4840001200e626..."} 
[2026-08-28 14:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0479e2670012d34c14006aa4840001200e626..."} 
[2026-08-28 14:36:37] local.INFO: Processing buffer {"connection_id":163477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0479e2670012d34c14006aa4840001200e626..."} 
[2026-08-28 14:36:37] local.INFO: Packet analysis {"connection_id":163477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0479e"} 
[2026-08-28 14:36:37] local.INFO: Extracted packet for processing {"connection_id":163477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0479e"} 
[2026-08-28 14:36:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704356096001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787907942000,"timestamp_ms":1787907942000,"timestamp_seconds":1787907942,"priority":1,"record_length":96,"hex_timestamp":"000001a0479e2670"} 
[2026-08-28 14:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704356096001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704356096001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:36:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:36:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14: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-28 14:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704356096001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:36:37] 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":707991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:36:37] local.INFO: GPS data processed {"connection_id":163477,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:36:37] local.INFO: Acknowledgment sent {"connection_id":163477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:36:49] local.INFO: TCP Data received {"connection_id":164745,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0479be450012d1967c0071fed70003701182b..."} 
[2026-08-28 14:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0479be450012d1967c0071fed70003701182b..."} 
[2026-08-28 14:36:49] local.INFO: Processing buffer {"connection_id":164745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0479be450012d1967c0071fed70003701182b..."} 
[2026-08-28 14:36:49] local.INFO: Packet analysis {"connection_id":164745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0479b"} 
[2026-08-28 14:36:49] local.INFO: Extracted packet for processing {"connection_id":164745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0479b"} 
[2026-08-28 14:36:49] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:36:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704389888001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:36:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:36:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:36:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:36:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787907794000,"timestamp_ms":1787907794000,"timestamp_seconds":1787907794,"priority":1,"record_length":96,"hex_timestamp":"000001a0479be450"} 
[2026-08-28 14: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-28 14:36:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 14:36:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14: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-28 14:36:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:36:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:36:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:36:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:36:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:36:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:36:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:36:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704389888001,"66":12374,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:36:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:36:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:36:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704389888001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:36:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:36:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:36:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:36:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:36:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704389888001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:36:49] 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":707992,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:36:49] local.INFO: GPS data processed {"connection_id":164745,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:36:49] local.INFO: Acknowledgment sent {"connection_id":164745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:36:56] local.INFO: TCP Data received {"connection_id":163478,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163478,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:36:56] local.INFO: Processing buffer {"connection_id":163478,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:36:56] local.INFO: IMEI packet received {"connection_id":163478,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 14:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":163478,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:37:02] local.INFO: TCP Data received {"connection_id":163478,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163478,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:37:02] local.INFO: Processing buffer {"connection_id":163478,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:37:02] local.INFO: IMEI packet received {"connection_id":163478,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 14:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":163478,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:37:04] local.INFO: TCP Data received {"connection_id":163478,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0479c1718012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0479c1718012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:37:04] local.INFO: Processing buffer {"connection_id":163478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0479c1718012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:37:04] local.INFO: Packet analysis {"connection_id":163478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0479c"} 
[2026-08-28 14:37:04] local.INFO: Extracted packet for processing {"connection_id":163478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0479c"} 
[2026-08-28 14:37:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704321536001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:37:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787907807000,"timestamp_ms":1787907807000,"timestamp_seconds":1787907807,"priority":1,"record_length":96,"hex_timestamp":"000001a0479c1718"} 
[2026-08-28 14:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:37:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 14:37: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-28 14:37:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":163478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":163478,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":163478,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:37:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704321536001,"66":25441,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704321536001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:37:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:37:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704321536001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:37:04] 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":707993,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:37:04] local.INFO: GPS data processed {"connection_id":163478,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:37:04] local.INFO: Acknowledgment sent {"connection_id":163478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:37:09] local.INFO: TCP Data received {"connection_id":163477,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0479e2670012d34c14006aa4840001200e626..."} 
[2026-08-28 14:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0479e2670012d34c14006aa4840001200e626..."} 
[2026-08-28 14:37:09] local.INFO: Processing buffer {"connection_id":163477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0479e2670012d34c14006aa4840001200e626..."} 
[2026-08-28 14:37:09] local.INFO: Packet analysis {"connection_id":163477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0479e"} 
[2026-08-28 14:37:09] local.INFO: Extracted packet for processing {"connection_id":163477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0479e"} 
[2026-08-28 14:37:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:37:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704356096001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:37:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:37:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:37:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:37:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787907942000,"timestamp_ms":1787907942000,"timestamp_seconds":1787907942,"priority":1,"record_length":96,"hex_timestamp":"000001a0479e2670"} 
[2026-08-28 14: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-28 14:37: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-28 14: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":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:37: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-28 14: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-28 14: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-28 14:37:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:37:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:37:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:37:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:37:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:37:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:37:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:37:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704356096001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:37:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:37:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:37:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704356096001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:37:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:37:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14: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-28 14:37:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:37:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704356096001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:37:09] 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":707994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:37:09] local.INFO: GPS data processed {"connection_id":163477,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:37:09] local.INFO: Acknowledgment sent {"connection_id":163477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:37:11] local.INFO: TCP Data received {"connection_id":163749,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:37:11] local.INFO: Processing buffer {"connection_id":163749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:37:11] local.INFO: IMEI packet received {"connection_id":163749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 14:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":163749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:37:16] local.INFO: TCP Data received {"connection_id":163749,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:37:16] local.INFO: Processing buffer {"connection_id":163749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:37:16] local.INFO: IMEI packet received {"connection_id":163749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 14:37:16] local.INFO: IMEI acknowledgment sent {"connection_id":163749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:37:17] local.INFO: TCP Data received {"connection_id":163749,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0479c3658012d1967c0071fed70003701182a..."} 
[2026-08-28 14:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0479c3658012d1967c0071fed70003701182a..."} 
[2026-08-28 14:37:17] local.INFO: Processing buffer {"connection_id":163749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0479c3658012d1967c0071fed70003701182a..."} 
[2026-08-28 14:37:17] local.INFO: Packet analysis {"connection_id":163749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0479c"} 
[2026-08-28 14:37:17] local.INFO: Extracted packet for processing {"connection_id":163749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0479c"} 
[2026-08-28 14:37:17] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:37:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704395264001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:37:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:37:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:37:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:37:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787907815000,"timestamp_ms":1787907815000,"timestamp_seconds":1787907815,"priority":1,"record_length":96,"hex_timestamp":"000001a0479c3658"} 
[2026-08-28 14: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-28 14:37:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 14:37:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14: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-28 14:37:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:37:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:37:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:37:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:37:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:37:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:37:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:37:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704395264001,"66":11547,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:37:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:37:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:37:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704395264001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:37:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:37:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:37:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:37:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:37:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704395264001,"power":11547,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:37:17] 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":707995,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:37:17] local.INFO: GPS data processed {"connection_id":163749,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:37:17] local.INFO: Acknowledgment sent {"connection_id":163749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:37:30] local.INFO: TCP Data received {"connection_id":166099,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:37:30] local.INFO: Processing buffer {"connection_id":166099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:37:30] local.INFO: IMEI packet received {"connection_id":166099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 14:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":166099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:37:36] local.INFO: TCP Data received {"connection_id":163478,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0479c1718012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0479c1718012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:37:36] local.INFO: Processing buffer {"connection_id":163478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0479c1718012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:37:36] local.INFO: Packet analysis {"connection_id":163478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0479c"} 
[2026-08-28 14:37:36] local.INFO: Extracted packet for processing {"connection_id":163478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0479c"} 
[2026-08-28 14:37:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704321536001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:37:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:37:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787907807000,"timestamp_ms":1787907807000,"timestamp_seconds":1787907807,"priority":1,"record_length":96,"hex_timestamp":"000001a0479c1718"} 
[2026-08-28 14:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:37:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 14:37:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:37:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163478,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163478,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:37:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704321536001,"66":25441,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704321536001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:37:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:37:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:37:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704321536001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:37:36] local.INFO: TCP Data received {"connection_id":166099,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:37:36] local.INFO: Processing buffer {"connection_id":166099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:37:36] local.INFO: IMEI packet received {"connection_id":166099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 14:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":166099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:37:36] 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":707996,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:37:36] local.INFO: GPS data processed {"connection_id":163478,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:37:36] local.INFO: Acknowledgment sent {"connection_id":163478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:37:37] local.INFO: TCP Data received {"connection_id":166099,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0479e2670012d34c14006aa4840001200e626..."} 
[2026-08-28 14:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0479e2670012d34c14006aa4840001200e626..."} 
[2026-08-28 14:37:37] local.INFO: Processing buffer {"connection_id":166099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0479e2670012d34c14006aa4840001200e626..."} 
[2026-08-28 14:37:37] local.INFO: Packet analysis {"connection_id":166099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0479e"} 
[2026-08-28 14:37:37] local.INFO: Extracted packet for processing {"connection_id":166099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0479e"} 
[2026-08-28 14:37:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704356096001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787907942000,"timestamp_ms":1787907942000,"timestamp_seconds":1787907942,"priority":1,"record_length":96,"hex_timestamp":"000001a0479e2670"} 
[2026-08-28 14:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":166099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":166099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":166099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704356096001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704356096001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:37:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:37:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:37: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-28 14:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704356096001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":166099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":707997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:37:37] local.INFO: GPS data processed {"connection_id":166099,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:37:37] local.INFO: Acknowledgment sent {"connection_id":166099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:37:49] local.INFO: TCP Data received {"connection_id":163749,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0479c8860012d1967c0071fed700037011829..."} 
[2026-08-28 14:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0479c8860012d1967c0071fed700037011829..."} 
[2026-08-28 14:37:49] local.INFO: Processing buffer {"connection_id":163749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0479c8860012d1967c0071fed700037011829..."} 
[2026-08-28 14:37:49] local.INFO: Packet analysis {"connection_id":163749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0479c"} 
[2026-08-28 14:37:49] local.INFO: Extracted packet for processing {"connection_id":163749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0479c"} 
[2026-08-28 14:37:49] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:37:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704400640001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:37:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:37:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:37:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:37:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787907836000,"timestamp_ms":1787907836000,"timestamp_seconds":1787907836,"priority":1,"record_length":96,"hex_timestamp":"000001a0479c8860"} 
[2026-08-28 14: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-28 14:37:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14: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":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-28 14:37:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":666,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14: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-28 14:37:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:37:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:37:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:37:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:37:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:37:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:37:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:37:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704400640001,"66":12341,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:37:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:37:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:37:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704400640001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:37:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:37:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:37:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:37:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:37:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704400640001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:37:49] 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":707998,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:37:49] local.INFO: GPS data processed {"connection_id":163749,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:37:49] local.INFO: Acknowledgment sent {"connection_id":163749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:38:02] local.INFO: TCP Data received {"connection_id":163479,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163479,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:38:02] local.INFO: Processing buffer {"connection_id":163479,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:38:02] local.INFO: IMEI packet received {"connection_id":163479,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 14:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":163479,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:38:07] local.INFO: TCP Data received {"connection_id":163479,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163479,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:38:07] local.INFO: Processing buffer {"connection_id":163479,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:38:07] local.INFO: IMEI packet received {"connection_id":163479,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 14:38:07] local.INFO: IMEI acknowledgment sent {"connection_id":163479,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:38:08] local.INFO: TCP Data received {"connection_id":163479,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0479c1718012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0479c1718012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:38:08] local.INFO: Processing buffer {"connection_id":163479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0479c1718012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:38:08] local.INFO: Packet analysis {"connection_id":163479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0479c"} 
[2026-08-28 14:38:08] local.INFO: Extracted packet for processing {"connection_id":163479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0479c"} 
[2026-08-28 14:38:08] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704321536001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:38:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787907807000,"timestamp_ms":1787907807000,"timestamp_seconds":1787907807,"priority":1,"record_length":96,"hex_timestamp":"000001a0479c1718"} 
[2026-08-28 14:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:38:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 14:38:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:38:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163479,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163479,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704321536001,"66":25441,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704321536001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:38:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:38:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704321536001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:38:08] 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":707999,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:38:08] local.INFO: GPS data processed {"connection_id":163479,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:38:08] local.INFO: Acknowledgment sent {"connection_id":163479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:38:09] local.INFO: TCP Data received {"connection_id":166099,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0479e2670012d34c14006aa4840001200e626..."} 
[2026-08-28 14:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0479e2670012d34c14006aa4840001200e626..."} 
[2026-08-28 14:38:09] local.INFO: Processing buffer {"connection_id":166099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0479e2670012d34c14006aa4840001200e626..."} 
[2026-08-28 14:38:09] local.INFO: Packet analysis {"connection_id":166099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0479e"} 
[2026-08-28 14:38:09] local.INFO: Extracted packet for processing {"connection_id":166099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0479e"} 
[2026-08-28 14:38:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704356096001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:38:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:38:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787907942000,"timestamp_ms":1787907942000,"timestamp_seconds":1787907942,"priority":1,"record_length":96,"hex_timestamp":"000001a0479e2670"} 
[2026-08-28 14:38:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:38: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-28 14:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:38: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-28 14:38:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:38:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":166099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":166099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":166099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:38:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:38:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704356096001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:38:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:38:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:38:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704356096001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:38:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:38:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:38: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-28 14:38:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:38:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704356096001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":166099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:38:09] local.INFO: GPS data processed {"connection_id":166099,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:38:09] local.INFO: Acknowledgment sent {"connection_id":166099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:38:11] local.INFO: TCP Data received {"connection_id":164746,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164746,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:38:11] local.INFO: Processing buffer {"connection_id":164746,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:38:11] local.INFO: IMEI packet received {"connection_id":164746,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 14:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":164746,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:38:13] local.INFO: TCP Data received {"connection_id":163479,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0479c1718012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0479c1718012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:38:13] local.INFO: Processing buffer {"connection_id":163479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0479c1718012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:38:13] local.INFO: Packet analysis {"connection_id":163479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0479c"} 
[2026-08-28 14:38:13] local.INFO: Extracted packet for processing {"connection_id":163479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0479c"} 
[2026-08-28 14:38:13] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:38:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704321536001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:38:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:38:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:38:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:38:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787907807000,"timestamp_ms":1787907807000,"timestamp_seconds":1787907807,"priority":1,"record_length":96,"hex_timestamp":"000001a0479c1718"} 
[2026-08-28 14: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-28 14:38:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14: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":97,"data_length":795,"current_offset":136} 
[2026-08-28 14:38: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-28 14: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-28 14: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-28 14:38:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:38:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:38:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163479,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:38:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163479,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:38:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:38:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:38:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:38:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704321536001,"66":25441,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:38:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:38:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:38:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704321536001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:38:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:38:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:38:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:38:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:38:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704321536001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:38:13] 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":708001,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:38:13] local.INFO: GPS data processed {"connection_id":163479,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:38:13] local.INFO: Acknowledgment sent {"connection_id":163479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:38:16] local.INFO: TCP Data received {"connection_id":164746,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164746,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:38:16] local.INFO: Processing buffer {"connection_id":164746,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:38:16] local.INFO: IMEI packet received {"connection_id":164746,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 14:38:16] local.INFO: IMEI acknowledgment sent {"connection_id":164746,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:38:17] local.INFO: TCP Data received {"connection_id":164746,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0479cda68012d1967c0071fed70003701182a..."} 
[2026-08-28 14:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0479cda68012d1967c0071fed70003701182a..."} 
[2026-08-28 14:38:17] local.INFO: Processing buffer {"connection_id":164746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0479cda68012d1967c0071fed70003701182a..."} 
[2026-08-28 14:38:17] local.INFO: Packet analysis {"connection_id":164746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0479c"} 
[2026-08-28 14:38:17] local.INFO: Extracted packet for processing {"connection_id":164746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0479c"} 
[2026-08-28 14:38:17] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:38:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704406016001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:38:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:38:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:38:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:38:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787907857000,"timestamp_ms":1787907857000,"timestamp_seconds":1787907857,"priority":1,"record_length":96,"hex_timestamp":"000001a0479cda68"} 
[2026-08-28 14: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-28 14:38:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 14:38:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14: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-28 14:38:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:38:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:38:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:38:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:38:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:38:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:38:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:38:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704406016001,"66":12374,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:38:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:38:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:38:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704406016001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:38:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:38:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:38:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:38:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:38:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704406016001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:38:17] local.INFO: DEBUG: GPS processor result {"connection_id":164746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708002,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:38:17] local.INFO: GPS data processed {"connection_id":164746,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:38:17] local.INFO: Acknowledgment sent {"connection_id":164746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:38:36] local.INFO: TCP Data received {"connection_id":163480,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:38:36] local.INFO: Processing buffer {"connection_id":163480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:38:36] local.INFO: IMEI packet received {"connection_id":163480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 14:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":163480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:38:41] local.INFO: TCP Data received {"connection_id":163480,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:38:41] local.INFO: Processing buffer {"connection_id":163480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:38:41] local.INFO: IMEI packet received {"connection_id":163480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 14:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":163480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:38:42] local.INFO: TCP Data received {"connection_id":163480,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0479e2670012d34c14006aa4840001200e626..."} 
[2026-08-28 14:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0479e2670012d34c14006aa4840001200e626..."} 
[2026-08-28 14:38:42] local.INFO: Processing buffer {"connection_id":163480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0479e2670012d34c14006aa4840001200e626..."} 
[2026-08-28 14:38:42] local.INFO: Packet analysis {"connection_id":163480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0479e"} 
[2026-08-28 14:38:42] local.INFO: Extracted packet for processing {"connection_id":163480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0479e"} 
[2026-08-28 14:38:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704356096001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:38:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787907942000,"timestamp_ms":1787907942000,"timestamp_seconds":1787907942,"priority":1,"record_length":96,"hex_timestamp":"000001a0479e2670"} 
[2026-08-28 14:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:38: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-28 14:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:38: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-28 14:38:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704356096001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704356096001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:38:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:38:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14: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-28 14:38:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704356096001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:38:42] 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":708003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:38:42] local.INFO: GPS data processed {"connection_id":163480,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:38:42] local.INFO: Acknowledgment sent {"connection_id":163480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:38:47] local.INFO: TCP Data received {"connection_id":163480,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0479e2670012d34c14006aa4840001200e626..."} 
[2026-08-28 14:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0479e2670012d34c14006aa4840001200e626..."} 
[2026-08-28 14:38:47] local.INFO: Processing buffer {"connection_id":163480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0479e2670012d34c14006aa4840001200e626..."} 
[2026-08-28 14:38:47] local.INFO: Packet analysis {"connection_id":163480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0479e"} 
[2026-08-28 14:38:47] local.INFO: Extracted packet for processing {"connection_id":163480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0479e"} 
[2026-08-28 14:38:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:38:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704356096001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:38:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:38:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:38:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:38:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787907942000,"timestamp_ms":1787907942000,"timestamp_seconds":1787907942,"priority":1,"record_length":96,"hex_timestamp":"000001a0479e2670"} 
[2026-08-28 14: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-28 14: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-28 14: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":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:38: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-28 14: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-28 14: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-28 14:38:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:38:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:38:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:38:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:38:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:38:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:38:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:38:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704356096001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:38:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:38:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:38:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704356096001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:38:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:38:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14: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-28 14:38:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:38:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704356096001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:38:47] 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":708004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:38:47] local.INFO: GPS data processed {"connection_id":163480,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:38:47] local.INFO: Acknowledgment sent {"connection_id":163480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:38:49] local.INFO: TCP Data received {"connection_id":164746,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0479d2c70012d1967c0071fed700037011827..."} 
[2026-08-28 14:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0479d2c70012d1967c0071fed700037011827..."} 
[2026-08-28 14:38:49] local.INFO: Processing buffer {"connection_id":164746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0479d2c70012d1967c0071fed700037011827..."} 
[2026-08-28 14:38:49] local.INFO: Packet analysis {"connection_id":164746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0479d"} 
[2026-08-28 14:38:49] local.INFO: Extracted packet for processing {"connection_id":164746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0479d"} 
[2026-08-28 14:38:49] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:38:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704411392001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:38:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:38:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:38:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:38:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787907878000,"timestamp_ms":1787907878000,"timestamp_seconds":1787907878,"priority":1,"record_length":96,"hex_timestamp":"000001a0479d2c70"} 
[2026-08-28 14:38:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:38:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 14:38:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:38:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:38:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:38:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:38:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:38:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:38:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:38:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:38:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:38:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:38:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704411392001,"66":12363,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:38:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:38:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:38:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704411392001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:38:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:38:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:38:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:38:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:38:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704411392001,"power":12363,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:38:49] local.INFO: DEBUG: GPS processor result {"connection_id":164746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708005,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:38:49] local.INFO: GPS data processed {"connection_id":164746,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:38:49] local.INFO: Acknowledgment sent {"connection_id":164746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:38:57] local.INFO: TCP Data received {"connection_id":163750,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163750,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:38:57] local.INFO: Processing buffer {"connection_id":163750,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:38:57] local.INFO: IMEI packet received {"connection_id":163750,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 14:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":163750,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:39:02] local.INFO: TCP Data received {"connection_id":163750,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163750,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:39:02] local.INFO: Processing buffer {"connection_id":163750,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:39:02] local.INFO: IMEI packet received {"connection_id":163750,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 14:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":163750,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:39:04] local.INFO: TCP Data received {"connection_id":163750,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0479c1718012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0479c1718012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:39:04] local.INFO: Processing buffer {"connection_id":163750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0479c1718012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:39:04] local.INFO: Packet analysis {"connection_id":163750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0479c"} 
[2026-08-28 14:39:04] local.INFO: Extracted packet for processing {"connection_id":163750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0479c"} 
[2026-08-28 14:39:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704321536001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:39:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787907807000,"timestamp_ms":1787907807000,"timestamp_seconds":1787907807,"priority":1,"record_length":96,"hex_timestamp":"000001a0479c1718"} 
[2026-08-28 14:39:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:39:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 14:39: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-28 14:39:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:39:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":163750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":163750,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":163750,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:39:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704321536001,"66":25441,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704321536001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:39:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:39:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704321536001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:39:04] 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":708006,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:39:04] local.INFO: GPS data processed {"connection_id":163750,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:39:04] local.INFO: Acknowledgment sent {"connection_id":163750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:39:11] local.INFO: TCP Data received {"connection_id":164747,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:39:11] local.INFO: Processing buffer {"connection_id":164747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:39:11] local.INFO: IMEI packet received {"connection_id":164747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 14:39:11] local.INFO: IMEI acknowledgment sent {"connection_id":164747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:39:16] local.INFO: TCP Data received {"connection_id":164747,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:39:16] local.INFO: Processing buffer {"connection_id":164747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:39:16] local.INFO: IMEI packet received {"connection_id":164747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 14:39:16] local.INFO: IMEI acknowledgment sent {"connection_id":164747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:39:17] local.INFO: TCP Data received {"connection_id":164747,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0479d7e78012d1967c0071fed70003701182a..."} 
[2026-08-28 14:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0479d7e78012d1967c0071fed70003701182a..."} 
[2026-08-28 14:39:17] local.INFO: Processing buffer {"connection_id":164747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0479d7e78012d1967c0071fed70003701182a..."} 
[2026-08-28 14:39:17] local.INFO: Packet analysis {"connection_id":164747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0479d"} 
[2026-08-28 14:39:17] local.INFO: Extracted packet for processing {"connection_id":164747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0479d"} 
[2026-08-28 14:39:17] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:39:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704416768001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:39:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:39:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:39:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:39:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787907899000,"timestamp_ms":1787907899000,"timestamp_seconds":1787907899,"priority":1,"record_length":96,"hex_timestamp":"000001a0479d7e78"} 
[2026-08-28 14: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-28 14:39:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-28 14:39:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14: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-28 14:39:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:39:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:39:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:39:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:39:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:39:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:39:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:39:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704416768001,"66":12385,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:39:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:39:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:39:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704416768001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:39:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:39:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:39:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:39:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:39:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704416768001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:39:17] 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":708007,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:39:17] local.INFO: GPS data processed {"connection_id":164747,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:39:17] local.INFO: Acknowledgment sent {"connection_id":164747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:39:31] local.INFO: TCP Data received {"connection_id":163751,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:39:31] local.INFO: Processing buffer {"connection_id":163751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:39:31] local.INFO: IMEI packet received {"connection_id":163751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 14:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":163751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:39:35] local.INFO: TCP Data received {"connection_id":163750,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047a0aee0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a0aee0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:39:35] local.INFO: Processing buffer {"connection_id":163750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a0aee0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:39:35] local.INFO: Packet analysis {"connection_id":163750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a0"} 
[2026-08-28 14:39:35] local.INFO: Extracted packet for processing {"connection_id":163750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a0"} 
[2026-08-28 14:39:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704398592001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:39:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:39:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787908108000,"timestamp_ms":1787908108000,"timestamp_seconds":1787908108,"priority":1,"record_length":96,"hex_timestamp":"000001a047a0aee0"} 
[2026-08-28 14:39:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:39:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 14:39:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:39:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:39:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163750,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163750,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:39:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704398592001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704398592001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:39:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:39:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:39:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:39:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704398592001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:39:35] 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":708008,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:39:35] local.INFO: GPS data processed {"connection_id":163750,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:39:35] local.INFO: Acknowledgment sent {"connection_id":163750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:39:36] local.INFO: TCP Data received {"connection_id":163751,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:39:36] local.INFO: Processing buffer {"connection_id":163751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:39:36] local.INFO: IMEI packet received {"connection_id":163751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 14:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":163751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:39:38] local.INFO: TCP Data received {"connection_id":163751,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0479e2670012d34c14006aa4840001200e626..."} 
[2026-08-28 14:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0479e2670012d34c14006aa4840001200e626..."} 
[2026-08-28 14:39:38] local.INFO: Processing buffer {"connection_id":163751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0479e2670012d34c14006aa4840001200e626..."} 
[2026-08-28 14:39:38] local.INFO: Packet analysis {"connection_id":163751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0479e"} 
[2026-08-28 14:39:38] local.INFO: Extracted packet for processing {"connection_id":163751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0479e"} 
[2026-08-28 14:39:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704356096001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:39:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787907942000,"timestamp_ms":1787907942000,"timestamp_seconds":1787907942,"priority":1,"record_length":96,"hex_timestamp":"000001a0479e2670"} 
[2026-08-28 14:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:39: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-28 14:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:39: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-28 14:39:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:39:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704356096001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704356096001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:39:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:39:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:39: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-28 14:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704356096001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:39:38] 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":708009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:39:38] local.INFO: GPS data processed {"connection_id":163751,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:39:38] local.INFO: Acknowledgment sent {"connection_id":163751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:39:49] local.INFO: TCP Data received {"connection_id":164747,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0479dd080012d1967c0071fed700037011829..."} 
[2026-08-28 14:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0479dd080012d1967c0071fed700037011829..."} 
[2026-08-28 14:39:49] local.INFO: Processing buffer {"connection_id":164747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0479dd080012d1967c0071fed700037011829..."} 
[2026-08-28 14:39:49] local.INFO: Packet analysis {"connection_id":164747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0479d"} 
[2026-08-28 14:39:49] local.INFO: Extracted packet for processing {"connection_id":164747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0479d"} 
[2026-08-28 14:39:49] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:39:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704422144001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:39:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:39:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:39:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:39:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787907920000,"timestamp_ms":1787907920000,"timestamp_seconds":1787907920,"priority":1,"record_length":96,"hex_timestamp":"000001a0479dd080"} 
[2026-08-28 14:39:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:39:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 14:39:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:39:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:39:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:39:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:39:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:39:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:39:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:39:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:39:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:39:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:39:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704422144001,"66":12298,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:39:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:39:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:39:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704422144001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:39:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:39:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:39:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:39:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:39:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704422144001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:39:49] 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":708010,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:39:49] local.INFO: GPS data processed {"connection_id":164747,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:39:49] local.INFO: Acknowledgment sent {"connection_id":164747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:39:56] local.INFO: TCP Data received {"connection_id":164748,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164748,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:39:56] local.INFO: Processing buffer {"connection_id":164748,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:39:56] local.INFO: IMEI packet received {"connection_id":164748,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 14:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":164748,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:40:02] local.INFO: TCP Data received {"connection_id":164748,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164748,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:40:02] local.INFO: Processing buffer {"connection_id":164748,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:40:02] local.INFO: IMEI packet received {"connection_id":164748,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 14:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":164748,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:40:03] local.INFO: TCP Data received {"connection_id":164748,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047a0aee0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a0aee0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:40:03] local.INFO: Processing buffer {"connection_id":164748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a0aee0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:40:03] local.INFO: Packet analysis {"connection_id":164748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a0"} 
[2026-08-28 14:40:03] local.INFO: Extracted packet for processing {"connection_id":164748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a0"} 
[2026-08-28 14:40:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704398592001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787908108000,"timestamp_ms":1787908108000,"timestamp_seconds":1787908108,"priority":1,"record_length":96,"hex_timestamp":"000001a047a0aee0"} 
[2026-08-28 14:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:40:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 14:40:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:40:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":164748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":164748,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":164748,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704398592001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704398592001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:40:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:40:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704398592001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:40:03] 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":708011,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:40:03] local.INFO: GPS data processed {"connection_id":164748,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:40:03] local.INFO: Acknowledgment sent {"connection_id":164748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:40:09] local.INFO: TCP Data received {"connection_id":163751,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0479e2670012d34c14006aa4840001200e626..."} 
[2026-08-28 14:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0479e2670012d34c14006aa4840001200e626..."} 
[2026-08-28 14:40:09] local.INFO: Processing buffer {"connection_id":163751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0479e2670012d34c14006aa4840001200e626..."} 
[2026-08-28 14:40:09] local.INFO: Packet analysis {"connection_id":163751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0479e"} 
[2026-08-28 14:40:09] local.INFO: Extracted packet for processing {"connection_id":163751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0479e"} 
[2026-08-28 14:40:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704356096001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:40:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787907942000,"timestamp_ms":1787907942000,"timestamp_seconds":1787907942,"priority":1,"record_length":96,"hex_timestamp":"000001a0479e2670"} 
[2026-08-28 14:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:40:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:40: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-28 14:40:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:40:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704356096001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704356096001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:40:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:40:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:40: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-28 14:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704356096001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:40:09] 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":708012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:40:09] local.INFO: GPS data processed {"connection_id":163751,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:40:09] local.INFO: Acknowledgment sent {"connection_id":163751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:40:11] local.INFO: TCP Data received {"connection_id":163481,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163481,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:40:11] local.INFO: Processing buffer {"connection_id":163481,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:40:11] local.INFO: IMEI packet received {"connection_id":163481,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 14:40:11] local.INFO: IMEI acknowledgment sent {"connection_id":163481,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:40:16] local.INFO: TCP Data received {"connection_id":163481,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163481,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:40:16] local.INFO: Processing buffer {"connection_id":163481,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:40:16] local.INFO: IMEI packet received {"connection_id":163481,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 14:40:16] local.INFO: IMEI acknowledgment sent {"connection_id":163481,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:40:17] local.INFO: TCP Data received {"connection_id":163481,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0479e2288012d1967c0071fed700037011824..."} 
[2026-08-28 14:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0479e2288012d1967c0071fed700037011824..."} 
[2026-08-28 14:40:17] local.INFO: Processing buffer {"connection_id":163481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0479e2288012d1967c0071fed700037011824..."} 
[2026-08-28 14:40:17] local.INFO: Packet analysis {"connection_id":163481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0479e"} 
[2026-08-28 14:40:17] local.INFO: Extracted packet for processing {"connection_id":163481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0479e"} 
[2026-08-28 14:40:17] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:40:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704427520001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:40:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:40:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:40:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:40:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787907941000,"timestamp_ms":1787907941000,"timestamp_seconds":1787907941,"priority":1,"record_length":96,"hex_timestamp":"000001a0479e2288"} 
[2026-08-28 14: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-28 14:40:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-28 14:40:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-28 14:40:17] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-08-28 14:40:17] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452344,"note":"Value kept but may cause issues"} 
[2026-08-28 14:40:17] local.WARNING: Large IO value detected {"io_id":142,"raw_value":8430738502437568513,"note":"Value kept but may cause issues"} 
[2026-08-28 14:40:17] local.WARNING: Large IO value detected {"io_id":160,"raw_value":5159878636038068583,"note":"Value kept but may cause issues"} 
[2026-08-28 14:40:17] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513389947839250712,"note":"Value kept but may cause issues"} 
[2026-08-28 14:40:17] local.WARNING: Large IO value detected {"io_id":55,"raw_value":78860272478978048,"note":"Value kept but may cause issues"} 
[2026-08-28 14:40:17] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832582,"note":"Value kept but may cause issues"} 
[2026-08-28 14:40:17] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3482972246169419982,"note":"Value kept but may cause issues"} 
[2026-08-28 14:40:17] local.WARNING: Large IO value detected {"io_id":71,"raw_value":2626183169,"note":"Value kept but may cause issues"} 
[2026-08-28 14:40:17] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3983540279,"note":"Value kept but may cause issues"} 
[2026-08-28 14:40:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-08-28 14:40:17] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692397,"note":"Value kept but may cause issues"} 
[2026-08-28 14:40:17] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2390032384,"note":"Value kept but may cause issues"} 
[2026-08-28 14:40:17] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,121,28,24,241,158,16,142,160,126,45,192,237,55,42,10,66,44,39,218,1,240,86,71,31,4,113,205,54,103,112,239,2,56,7,41],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-08-28 14:40:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3963475711435472896,"timestamp_seconds":3963475711435473.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 14: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-28 14:40:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:40:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:40:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:40:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:40:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:40:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:40:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:40:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704427520001,"66":12156,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:40:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:40:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:40:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704427520001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:40:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:40:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:40:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:40:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:40:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704427520001,"power":12156,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:40:17] 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":708013,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:40:17] local.INFO: GPS data processed {"connection_id":163481,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:40:17] local.INFO: Acknowledgment sent {"connection_id":163481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:40:30] local.INFO: TCP Data received {"connection_id":166100,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:40:30] local.INFO: Processing buffer {"connection_id":166100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:40:30] local.INFO: IMEI packet received {"connection_id":166100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 14:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":166100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:40:35] local.INFO: TCP Data received {"connection_id":164748,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047a0aee0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a0aee0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:40:35] local.INFO: Processing buffer {"connection_id":164748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a0aee0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:40:35] local.INFO: Packet analysis {"connection_id":164748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a0"} 
[2026-08-28 14:40:35] local.INFO: Extracted packet for processing {"connection_id":164748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a0"} 
[2026-08-28 14:40:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704398592001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:40:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:40:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787908108000,"timestamp_ms":1787908108000,"timestamp_seconds":1787908108,"priority":1,"record_length":96,"hex_timestamp":"000001a047a0aee0"} 
[2026-08-28 14:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:40:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 14:40:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:40:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":164748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":164748,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":164748,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:40:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704398592001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704398592001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:40:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:40:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:40:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704398592001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:40:35] 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":708014,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:40:35] local.INFO: GPS data processed {"connection_id":164748,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:40:35] local.INFO: Acknowledgment sent {"connection_id":164748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:40:36] local.INFO: TCP Data received {"connection_id":166100,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:40:36] local.INFO: Processing buffer {"connection_id":166100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:40:36] local.INFO: IMEI packet received {"connection_id":166100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 14:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":166100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:40:37] local.INFO: TCP Data received {"connection_id":166100,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0479e2670012d34c14006aa4840001200e626..."} 
[2026-08-28 14:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0479e2670012d34c14006aa4840001200e626..."} 
[2026-08-28 14:40:37] local.INFO: Processing buffer {"connection_id":166100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0479e2670012d34c14006aa4840001200e626..."} 
[2026-08-28 14:40:37] local.INFO: Packet analysis {"connection_id":166100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0479e"} 
[2026-08-28 14:40:37] local.INFO: Extracted packet for processing {"connection_id":166100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0479e"} 
[2026-08-28 14:40:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704356096001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787907942000,"timestamp_ms":1787907942000,"timestamp_seconds":1787907942,"priority":1,"record_length":96,"hex_timestamp":"000001a0479e2670"} 
[2026-08-28 14:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:40:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:40:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":166100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":166100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":166100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704356096001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704356096001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:40:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:40:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:40: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-28 14:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704356096001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":166100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:40:37] local.INFO: GPS data processed {"connection_id":166100,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:40:37] local.INFO: Acknowledgment sent {"connection_id":166100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:40:49] local.INFO: TCP Data received {"connection_id":163481,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0479e7490012d1967c0071fed700037011826..."} 
[2026-08-28 14:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0479e7490012d1967c0071fed700037011826..."} 
[2026-08-28 14:40:49] local.INFO: Processing buffer {"connection_id":163481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0479e7490012d1967c0071fed700037011826..."} 
[2026-08-28 14:40:49] local.INFO: Packet analysis {"connection_id":163481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0479e"} 
[2026-08-28 14:40:49] local.INFO: Extracted packet for processing {"connection_id":163481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0479e"} 
[2026-08-28 14:40:49] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 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-28 14:40:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704432896001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:40:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:40:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:40:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:40:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787907962000,"timestamp_ms":1787907962000,"timestamp_seconds":1787907962,"priority":1,"record_length":96,"hex_timestamp":"000001a0479e7490"} 
[2026-08-28 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-28 14:40:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 14:40:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 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-28 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-28 14:40:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:40:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:40:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:40:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:40:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:40:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:40:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:40:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704432896001,"66":12385,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:40:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:40:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:40:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704432896001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:40:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:40:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:40:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:40:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:40:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704432896001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:40:49] 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":708016,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:40:49] local.INFO: GPS data processed {"connection_id":163481,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:40:49] local.INFO: Acknowledgment sent {"connection_id":163481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:40:56] local.INFO: TCP Data received {"connection_id":163482,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163482,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:40:56] local.INFO: Processing buffer {"connection_id":163482,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:40:56] local.INFO: IMEI packet received {"connection_id":163482,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 14:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":163482,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:41:02] local.INFO: TCP Data received {"connection_id":163482,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163482,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:41:02] local.INFO: Processing buffer {"connection_id":163482,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:41:02] local.INFO: IMEI packet received {"connection_id":163482,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 14:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":163482,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:41:04] local.INFO: TCP Data received {"connection_id":163482,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047a0aee0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a0aee0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:41:04] local.INFO: Processing buffer {"connection_id":163482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a0aee0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:41:04] local.INFO: Packet analysis {"connection_id":163482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a0"} 
[2026-08-28 14:41:04] local.INFO: Extracted packet for processing {"connection_id":163482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a0"} 
[2026-08-28 14:41:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704398592001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:41:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787908108000,"timestamp_ms":1787908108000,"timestamp_seconds":1787908108,"priority":1,"record_length":96,"hex_timestamp":"000001a047a0aee0"} 
[2026-08-28 14:41:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:41:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 14:41: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-28 14:41:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:41:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":163482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":163482,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":163482,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:41:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704398592001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704398592001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:41:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:41:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704398592001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:41:04] 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":708017,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:41:04] local.INFO: GPS data processed {"connection_id":163482,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:41:04] local.INFO: Acknowledgment sent {"connection_id":163482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:41:08] local.INFO: TCP Data received {"connection_id":166100,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0479e2670012d34c14006aa4840001200e626..."} 
[2026-08-28 14:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0479e2670012d34c14006aa4840001200e626..."} 
[2026-08-28 14:41:08] local.INFO: Processing buffer {"connection_id":166100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0479e2670012d34c14006aa4840001200e626..."} 
[2026-08-28 14:41:08] local.INFO: Packet analysis {"connection_id":166100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0479e"} 
[2026-08-28 14:41:08] local.INFO: Extracted packet for processing {"connection_id":166100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0479e"} 
[2026-08-28 14:41:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704356096001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:41:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787907942000,"timestamp_ms":1787907942000,"timestamp_seconds":1787907942,"priority":1,"record_length":96,"hex_timestamp":"000001a0479e2670"} 
[2026-08-28 14:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:41: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-28 14:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:41:08] 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-28 14:41:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":166100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":166100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":166100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:41:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704356096001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704356096001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:41:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:41:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:41: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-28 14:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704356096001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":166100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:41:08] local.INFO: GPS data processed {"connection_id":166100,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:41:08] local.INFO: Acknowledgment sent {"connection_id":166100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:41:13] local.INFO: TCP Data received {"connection_id":166101,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166101,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:41:13] local.INFO: Processing buffer {"connection_id":166101,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:41:13] local.INFO: IMEI packet received {"connection_id":166101,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 14:41:13] local.INFO: IMEI acknowledgment sent {"connection_id":166101,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:41:16] local.INFO: TCP Data received {"connection_id":166101,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166101,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:41:16] local.INFO: Processing buffer {"connection_id":166101,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:41:16] local.INFO: IMEI packet received {"connection_id":166101,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 14:41:16] local.INFO: IMEI acknowledgment sent {"connection_id":166101,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:41:21] local.INFO: TCP Data received {"connection_id":166101,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166101,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:41:21] local.INFO: Processing buffer {"connection_id":166101,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:41:21] local.INFO: IMEI packet received {"connection_id":166101,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 14:41:21] local.INFO: IMEI acknowledgment sent {"connection_id":166101,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:41:22] local.INFO: TCP Data received {"connection_id":166101,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047a1fae8012d1967c0071fed700037011828..."} 
[2026-08-28 14:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a1fae8012d1967c0071fed700037011828..."} 
[2026-08-28 14:41:22] local.INFO: Processing buffer {"connection_id":166101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a1fae8012d1967c0071fed700037011828..."} 
[2026-08-28 14:41:22] local.INFO: Packet analysis {"connection_id":166101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a1"} 
[2026-08-28 14:41:22] local.INFO: Extracted packet for processing {"connection_id":166101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a1"} 
[2026-08-28 14:41:22] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:41:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704492032001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:41:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:41:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:41:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:41:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787908193000,"timestamp_ms":1787908193000,"timestamp_seconds":1787908193,"priority":1,"record_length":96,"hex_timestamp":"000001a047a1fae8"} 
[2026-08-28 14:41:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:41:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 14:41:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:41:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:41:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:41:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:41:22] local.INFO: Teltonika packet parsed successfully {"connection_id":166101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:41:22] local.INFO: Passing IMEI to GPS processor {"connection_id":166101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:41:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":166101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:41:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:41:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:41:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:41:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704492032001,"66":12385,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:41:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:41:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:41:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704492032001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:41:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:41:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:41:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:41:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:41:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704492032001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:41:22] local.INFO: DEBUG: GPS processor result {"connection_id":166101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708019,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:41:22] local.INFO: GPS data processed {"connection_id":166101,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:41:22] local.INFO: Acknowledgment sent {"connection_id":166101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:41:27] local.INFO: TCP Data received {"connection_id":166101,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047a24cf0012d1967c0071fed700037011829..."} 
[2026-08-28 14:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a24cf0012d1967c0071fed700037011829..."} 
[2026-08-28 14:41:27] local.INFO: Processing buffer {"connection_id":166101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a24cf0012d1967c0071fed700037011829..."} 
[2026-08-28 14:41:27] local.INFO: Packet analysis {"connection_id":166101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a2"} 
[2026-08-28 14:41:27] local.INFO: Extracted packet for processing {"connection_id":166101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a2"} 
[2026-08-28 14:41:27] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704497408001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:41:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787908214000,"timestamp_ms":1787908214000,"timestamp_seconds":1787908214,"priority":1,"record_length":96,"hex_timestamp":"000001a047a24cf0"} 
[2026-08-28 14:41:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:41:27] 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-28 14:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 14:41:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:41:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:41:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":166101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":166101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":166101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:41:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704497408001,"66":12385,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704497408001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:41:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:41:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704497408001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":166101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708020,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:41:27] local.INFO: GPS data processed {"connection_id":166101,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:41:27] local.INFO: Acknowledgment sent {"connection_id":166101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:41:30] local.INFO: TCP Data received {"connection_id":163483,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:41:30] local.INFO: Processing buffer {"connection_id":163483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:41:30] local.INFO: IMEI packet received {"connection_id":163483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 14:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":163483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:41:36] local.INFO: TCP Data received {"connection_id":163482,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047a0aee0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a0aee0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:41:36] local.INFO: Processing buffer {"connection_id":163482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a0aee0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:41:36] local.INFO: Packet analysis {"connection_id":163482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a0"} 
[2026-08-28 14:41:36] local.INFO: Extracted packet for processing {"connection_id":163482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a0"} 
[2026-08-28 14:41:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704398592001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787908108000,"timestamp_ms":1787908108000,"timestamp_seconds":1787908108,"priority":1,"record_length":96,"hex_timestamp":"000001a047a0aee0"} 
[2026-08-28 14:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:41:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 14:41:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:41:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163482,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163482,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704398592001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704398592001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:41:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:41:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704398592001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:41:36] 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":708021,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:41:36] local.INFO: GPS data processed {"connection_id":163482,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:41:36] local.INFO: Acknowledgment sent {"connection_id":163482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:41:36] local.INFO: TCP Data received {"connection_id":163483,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:41:36] local.INFO: Processing buffer {"connection_id":163483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:41:36] local.INFO: IMEI packet received {"connection_id":163483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 14:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":163483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:41:37] local.INFO: TCP Data received {"connection_id":163483,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047a2be38012d34c14006aa4840001100e628..."} 
[2026-08-28 14:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a2be38012d34c14006aa4840001100e628..."} 
[2026-08-28 14:41:37] local.INFO: Processing buffer {"connection_id":163483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a2be38012d34c14006aa4840001100e628..."} 
[2026-08-28 14:41:37] local.INFO: Packet analysis {"connection_id":163483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a2"} 
[2026-08-28 14:41:37] local.INFO: Extracted packet for processing {"connection_id":163483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a2"} 
[2026-08-28 14:41:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704433152001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787908243000,"timestamp_ms":1787908243000,"timestamp_seconds":1787908243,"priority":1,"record_length":96,"hex_timestamp":"000001a047a2be38"} 
[2026-08-28 14:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 14:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704433152001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704433152001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:41:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:41:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:41: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-28 14:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704433152001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":163483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:41:37] local.INFO: GPS data processed {"connection_id":163483,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:41:37] local.INFO: Acknowledgment sent {"connection_id":163483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:42:02] local.INFO: TCP Data received {"connection_id":163752,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163752,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:42:02] local.INFO: Processing buffer {"connection_id":163752,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:42:02] local.INFO: IMEI packet received {"connection_id":163752,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 14:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":163752,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:42:07] local.INFO: TCP Data received {"connection_id":163752,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163752,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:42:07] local.INFO: Processing buffer {"connection_id":163752,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:42:07] local.INFO: IMEI packet received {"connection_id":163752,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 14:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":163752,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:42:08] local.INFO: TCP Data received {"connection_id":163752,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047a0aee0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a0aee0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:42:08] local.INFO: Processing buffer {"connection_id":163752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a0aee0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:42:08] local.INFO: Packet analysis {"connection_id":163752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a0"} 
[2026-08-28 14:42:08] local.INFO: Extracted packet for processing {"connection_id":163752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a0"} 
[2026-08-28 14:42:08] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704398592001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:42:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787908108000,"timestamp_ms":1787908108000,"timestamp_seconds":1787908108,"priority":1,"record_length":96,"hex_timestamp":"000001a047a0aee0"} 
[2026-08-28 14: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-28 14:42:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14: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":97,"data_length":795,"current_offset":136} 
[2026-08-28 14:42:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14: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-28 14:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163752,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163752,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704398592001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704398592001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:42:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:42:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704398592001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:42:08] 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":708023,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:42:08] local.INFO: GPS data processed {"connection_id":163752,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:42:08] local.INFO: Acknowledgment sent {"connection_id":163752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:42:09] local.INFO: TCP Data received {"connection_id":163483,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047a2be38012d34c14006aa4840001100e628..."} 
[2026-08-28 14:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a2be38012d34c14006aa4840001100e628..."} 
[2026-08-28 14:42:09] local.INFO: Processing buffer {"connection_id":163483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a2be38012d34c14006aa4840001100e628..."} 
[2026-08-28 14:42:09] local.INFO: Packet analysis {"connection_id":163483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a2"} 
[2026-08-28 14:42:09] local.INFO: Extracted packet for processing {"connection_id":163483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a2"} 
[2026-08-28 14:42:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704433152001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:42:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787908243000,"timestamp_ms":1787908243000,"timestamp_seconds":1787908243,"priority":1,"record_length":96,"hex_timestamp":"000001a047a2be38"} 
[2026-08-28 14:42:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:42: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-28 14:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 14:42:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:42:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:42:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:42:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704433152001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704433152001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:42:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:42:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:42: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-28 14:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704433152001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":163483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:42:09] local.INFO: GPS data processed {"connection_id":163483,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:42:09] local.INFO: Acknowledgment sent {"connection_id":163483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:42:11] local.INFO: TCP Data received {"connection_id":166102,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166102,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:42:11] local.INFO: Processing buffer {"connection_id":166102,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:42:11] local.INFO: IMEI packet received {"connection_id":166102,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 14:42:11] local.INFO: IMEI acknowledgment sent {"connection_id":166102,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:42:13] local.INFO: TCP Data received {"connection_id":163752,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047a0aee0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a0aee0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:42:13] local.INFO: Processing buffer {"connection_id":163752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a0aee0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:42:13] local.INFO: Packet analysis {"connection_id":163752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a0"} 
[2026-08-28 14:42:13] local.INFO: Extracted packet for processing {"connection_id":163752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a0"} 
[2026-08-28 14:42:13] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:42:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704398592001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:42:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:42:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:42:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:42:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787908108000,"timestamp_ms":1787908108000,"timestamp_seconds":1787908108,"priority":1,"record_length":96,"hex_timestamp":"000001a047a0aee0"} 
[2026-08-28 14: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-28 14:42:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14: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":97,"data_length":795,"current_offset":136} 
[2026-08-28 14:42: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-28 14: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-28 14: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-28 14:42:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:42:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:42:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163752,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:42:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163752,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:42:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:42:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:42:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:42:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704398592001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:42:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:42:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:42:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704398592001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:42:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:42:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:42:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:42:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:42:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704398592001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:42:13] 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":708025,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:42:13] local.INFO: GPS data processed {"connection_id":163752,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:42:13] local.INFO: Acknowledgment sent {"connection_id":163752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:42:16] local.INFO: TCP Data received {"connection_id":166102,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166102,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:42:16] local.INFO: Processing buffer {"connection_id":166102,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:42:16] local.INFO: IMEI packet received {"connection_id":166102,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 14:42:16] local.INFO: IMEI acknowledgment sent {"connection_id":166102,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:42:17] local.INFO: TCP Data received {"connection_id":166102,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047a29ef8012d1967c0071fed700037011829..."} 
[2026-08-28 14:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a29ef8012d1967c0071fed700037011829..."} 
[2026-08-28 14:42:17] local.INFO: Processing buffer {"connection_id":166102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a29ef8012d1967c0071fed700037011829..."} 
[2026-08-28 14:42:17] local.INFO: Packet analysis {"connection_id":166102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a2"} 
[2026-08-28 14:42:17] local.INFO: Extracted packet for processing {"connection_id":166102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a2"} 
[2026-08-28 14:42:17] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:42:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704502784001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:42:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:42:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:42:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:42:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787908235000,"timestamp_ms":1787908235000,"timestamp_seconds":1787908235,"priority":1,"record_length":96,"hex_timestamp":"000001a047a29ef8"} 
[2026-08-28 14: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-28 14:42:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 14:42:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14: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-28 14:42:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:42:17] local.INFO: Teltonika packet parsed successfully {"connection_id":166102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:42:17] local.INFO: Passing IMEI to GPS processor {"connection_id":166102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:42:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":166102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:42:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:42:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:42:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:42:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704502784001,"66":12319,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:42:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:42:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:42:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704502784001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:42:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:42:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:42:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:42:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:42:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704502784001,"power":12319,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:42:18] local.INFO: DEBUG: GPS processor result {"connection_id":166102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708026,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:42:18] local.INFO: GPS data processed {"connection_id":166102,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:42:18] local.INFO: Acknowledgment sent {"connection_id":166102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:42:36] local.INFO: TCP Data received {"connection_id":163753,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:42:36] local.INFO: Processing buffer {"connection_id":163753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:42:36] local.INFO: IMEI packet received {"connection_id":163753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 14:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":163753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:42:41] local.INFO: TCP Data received {"connection_id":163753,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:42:41] local.INFO: Processing buffer {"connection_id":163753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:42:41] local.INFO: IMEI packet received {"connection_id":163753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 14:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":163753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:42:41] local.INFO: TCP Data received {"connection_id":163753,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047a2be38012d34c14006aa4840001100e628..."} 
[2026-08-28 14:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a2be38012d34c14006aa4840001100e628..."} 
[2026-08-28 14:42:41] local.INFO: Processing buffer {"connection_id":163753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a2be38012d34c14006aa4840001100e628..."} 
[2026-08-28 14:42:41] local.INFO: Packet analysis {"connection_id":163753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a2"} 
[2026-08-28 14:42:41] local.INFO: Extracted packet for processing {"connection_id":163753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a2"} 
[2026-08-28 14:42:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704433152001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:42:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:42:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787908243000,"timestamp_ms":1787908243000,"timestamp_seconds":1787908243,"priority":1,"record_length":96,"hex_timestamp":"000001a047a2be38"} 
[2026-08-28 14: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-28 14:42: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-28 14: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":151,"data_length":795,"current_offset":136} 
[2026-08-28 14:42:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14: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-28 14:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":163753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":163753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":163753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:42:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704433152001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704433152001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:42:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:42:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14: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-28 14:42:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704433152001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:42: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":708027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:42:42] local.INFO: GPS data processed {"connection_id":163753,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:42:42] local.INFO: Acknowledgment sent {"connection_id":163753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:42:46] local.INFO: TCP Data received {"connection_id":163753,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047a2be38012d34c14006aa4840001100e628..."} 
[2026-08-28 14:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a2be38012d34c14006aa4840001100e628..."} 
[2026-08-28 14:42:46] local.INFO: Processing buffer {"connection_id":163753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a2be38012d34c14006aa4840001100e628..."} 
[2026-08-28 14:42:46] local.INFO: Packet analysis {"connection_id":163753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a2"} 
[2026-08-28 14:42:46] local.INFO: Extracted packet for processing {"connection_id":163753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a2"} 
[2026-08-28 14:42:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704433152001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:42:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:42:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787908243000,"timestamp_ms":1787908243000,"timestamp_seconds":1787908243,"priority":1,"record_length":96,"hex_timestamp":"000001a047a2be38"} 
[2026-08-28 14:42:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:42: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-28 14:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 14:42:46] 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-28 14:42:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:42:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:42:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:42:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704433152001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:42:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704433152001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:42:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:42:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:42: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-28 14:42:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:42:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704433152001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:42:46] 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":708028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:42:46] local.INFO: GPS data processed {"connection_id":163753,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:42:46] local.INFO: Acknowledgment sent {"connection_id":163753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:42:49] local.INFO: TCP Data received {"connection_id":166102,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047a2f100012d1967c0071fed700037011829..."} 
[2026-08-28 14:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a2f100012d1967c0071fed700037011829..."} 
[2026-08-28 14:42:49] local.INFO: Processing buffer {"connection_id":166102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a2f100012d1967c0071fed700037011829..."} 
[2026-08-28 14:42:49] local.INFO: Packet analysis {"connection_id":166102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a2"} 
[2026-08-28 14:42:49] local.INFO: Extracted packet for processing {"connection_id":166102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a2"} 
[2026-08-28 14:42:49] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:42:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704508160001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:42:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:42:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:42:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:42:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787908256000,"timestamp_ms":1787908256000,"timestamp_seconds":1787908256,"priority":1,"record_length":96,"hex_timestamp":"000001a047a2f100"} 
[2026-08-28 14: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-28 14:42:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 14:42:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14: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-28 14:42:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:42:49] local.INFO: Teltonika packet parsed successfully {"connection_id":166102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:42:49] local.INFO: Passing IMEI to GPS processor {"connection_id":166102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:42:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":166102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:42:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:42:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:42:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:42:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704508160001,"66":12385,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:42:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:42:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:42:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704508160001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:42:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:42:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:42:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:42:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:42:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704508160001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:42:49] local.INFO: DEBUG: GPS processor result {"connection_id":166102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708029,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:42:49] local.INFO: GPS data processed {"connection_id":166102,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:42:49] local.INFO: Acknowledgment sent {"connection_id":166102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:42:57] local.INFO: TCP Data received {"connection_id":163754,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163754,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:42:57] local.INFO: Processing buffer {"connection_id":163754,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:42:57] local.INFO: IMEI packet received {"connection_id":163754,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 14:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":163754,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:43:02] local.INFO: TCP Data received {"connection_id":163754,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163754,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:43:02] local.INFO: Processing buffer {"connection_id":163754,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:43:02] local.INFO: IMEI packet received {"connection_id":163754,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 14:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":163754,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:43:03] local.INFO: TCP Data received {"connection_id":163754,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047a0aee0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a0aee0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:43:03] local.INFO: Processing buffer {"connection_id":163754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a0aee0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:43:03] local.INFO: Packet analysis {"connection_id":163754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a0"} 
[2026-08-28 14:43:03] local.INFO: Extracted packet for processing {"connection_id":163754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a0"} 
[2026-08-28 14:43:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704398592001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787908108000,"timestamp_ms":1787908108000,"timestamp_seconds":1787908108,"priority":1,"record_length":96,"hex_timestamp":"000001a047a0aee0"} 
[2026-08-28 14:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:43:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 14:43:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:43:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163754,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163754,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704398592001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704398592001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:43:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:43:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704398592001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:43:03] 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":708030,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:43:03] local.INFO: GPS data processed {"connection_id":163754,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:43:03] local.INFO: Acknowledgment sent {"connection_id":163754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:43:11] local.INFO: TCP Data received {"connection_id":163755,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:43:11] local.INFO: Processing buffer {"connection_id":163755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:43:11] local.INFO: IMEI packet received {"connection_id":163755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 14:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":163755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:43:18] local.INFO: TCP Data received {"connection_id":163755,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:43:18] local.INFO: Processing buffer {"connection_id":163755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:43:18] local.INFO: IMEI packet received {"connection_id":163755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 14:43:18] local.INFO: IMEI acknowledgment sent {"connection_id":163755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:43:19] local.INFO: TCP Data received {"connection_id":163755,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047a34308012d1967c0071fed70003701182a..."} 
[2026-08-28 14:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a34308012d1967c0071fed70003701182a..."} 
[2026-08-28 14:43:19] local.INFO: Processing buffer {"connection_id":163755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a34308012d1967c0071fed70003701182a..."} 
[2026-08-28 14:43:19] local.INFO: Packet analysis {"connection_id":163755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a3"} 
[2026-08-28 14:43:19] local.INFO: Extracted packet for processing {"connection_id":163755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a3"} 
[2026-08-28 14:43:19] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704513536001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:43:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:43:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:43:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:43:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787908277000,"timestamp_ms":1787908277000,"timestamp_seconds":1787908277,"priority":1,"record_length":96,"hex_timestamp":"000001a047a34308"} 
[2026-08-28 14: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-28 14:43:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 14:43:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14: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-28 14:43:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:43:19] local.INFO: Teltonika packet parsed successfully {"connection_id":163755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:43:19] local.INFO: Passing IMEI to GPS processor {"connection_id":163755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:43:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":163755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:43:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:43:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:43:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:43:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704513536001,"66":12341,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:43:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:43:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:43:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704513536001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:43:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:43:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:43:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:43:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:43:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704513536001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":163755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708031,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:43:20] local.INFO: GPS data processed {"connection_id":163755,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:43:20] local.INFO: Acknowledgment sent {"connection_id":163755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:43:31] local.INFO: TCP Data received {"connection_id":164749,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:43:31] local.INFO: Processing buffer {"connection_id":164749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:43:31] local.INFO: IMEI packet received {"connection_id":164749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 14:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":164749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:43:35] local.INFO: TCP Data received {"connection_id":163754,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047a0aee0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a0aee0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:43:35] local.INFO: Processing buffer {"connection_id":163754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a0aee0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:43:35] local.INFO: Packet analysis {"connection_id":163754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a0"} 
[2026-08-28 14:43:35] local.INFO: Extracted packet for processing {"connection_id":163754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a0"} 
[2026-08-28 14:43:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704398592001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:43:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:43:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787908108000,"timestamp_ms":1787908108000,"timestamp_seconds":1787908108,"priority":1,"record_length":96,"hex_timestamp":"000001a047a0aee0"} 
[2026-08-28 14:43:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:43:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 14:43:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:43:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:43:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163754,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163754,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:43:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704398592001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704398592001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:43:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:43:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:43:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:43:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704398592001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:43:35] 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":708032,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:43:35] local.INFO: GPS data processed {"connection_id":163754,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:43:35] local.INFO: Acknowledgment sent {"connection_id":163754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:43:36] local.INFO: TCP Data received {"connection_id":164749,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:43:36] local.INFO: Processing buffer {"connection_id":164749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:43:36] local.INFO: IMEI packet received {"connection_id":164749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 14:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":164749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:43:37] local.INFO: TCP Data received {"connection_id":164749,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047a2be38012d34c14006aa4840001100e628..."} 
[2026-08-28 14:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a2be38012d34c14006aa4840001100e628..."} 
[2026-08-28 14:43:37] local.INFO: Processing buffer {"connection_id":164749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a2be38012d34c14006aa4840001100e628..."} 
[2026-08-28 14:43:37] local.INFO: Packet analysis {"connection_id":164749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a2"} 
[2026-08-28 14:43:37] local.INFO: Extracted packet for processing {"connection_id":164749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a2"} 
[2026-08-28 14:43:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704433152001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787908243000,"timestamp_ms":1787908243000,"timestamp_seconds":1787908243,"priority":1,"record_length":96,"hex_timestamp":"000001a047a2be38"} 
[2026-08-28 14:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 14:43:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704433152001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704433152001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:43:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:43:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:43: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-28 14:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704433152001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:43:37] 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":708033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:43:37] local.INFO: GPS data processed {"connection_id":164749,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:43:37] local.INFO: Acknowledgment sent {"connection_id":164749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:43:51] local.INFO: TCP Data received {"connection_id":163755,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047a39510012d1967c0071fed70003701182a..."} 
[2026-08-28 14:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a39510012d1967c0071fed70003701182a..."} 
[2026-08-28 14:43:51] local.INFO: Processing buffer {"connection_id":163755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a39510012d1967c0071fed70003701182a..."} 
[2026-08-28 14:43:51] local.INFO: Packet analysis {"connection_id":163755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a3"} 
[2026-08-28 14:43:51] local.INFO: Extracted packet for processing {"connection_id":163755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a3"} 
[2026-08-28 14:43:51] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704518912001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:43:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:43:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:43:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:43:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787908298000,"timestamp_ms":1787908298000,"timestamp_seconds":1787908298,"priority":1,"record_length":96,"hex_timestamp":"000001a047a39510"} 
[2026-08-28 14:43:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:43:51] 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-28 14:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 14:43:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:43:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:43:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:43:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:43:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:43:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:43:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:43:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:43:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:43:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:43:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704518912001,"66":12374,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:43:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:43:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:43:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704518912001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:43:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:43:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:43:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:43:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:43:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704518912001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":163755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708034,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:43:51] local.INFO: GPS data processed {"connection_id":163755,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:43:51] local.INFO: Acknowledgment sent {"connection_id":163755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:43:56] local.INFO: TCP Data received {"connection_id":164750,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164750,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:43:56] local.INFO: Processing buffer {"connection_id":164750,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:43:56] local.INFO: IMEI packet received {"connection_id":164750,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 14:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":164750,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:44:02] local.INFO: TCP Data received {"connection_id":164750,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164750,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:44:02] local.INFO: Processing buffer {"connection_id":164750,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:44:02] local.INFO: IMEI packet received {"connection_id":164750,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 14:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":164750,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:44:04] local.INFO: TCP Data received {"connection_id":164750,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047a0aee0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a0aee0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:44:04] local.INFO: Processing buffer {"connection_id":164750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a0aee0012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:44:04] local.INFO: Packet analysis {"connection_id":164750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a0"} 
[2026-08-28 14:44:04] local.INFO: Extracted packet for processing {"connection_id":164750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a0"} 
[2026-08-28 14:44:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704398592001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787908108000,"timestamp_ms":1787908108000,"timestamp_seconds":1787908108,"priority":1,"record_length":96,"hex_timestamp":"000001a047a0aee0"} 
[2026-08-28 14:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:44:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 14:44: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-28 14:44:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":164750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":164750,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":164750,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704398592001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704398592001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:44:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:44:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704398592001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:44:04] 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":708035,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:44:04] local.INFO: GPS data processed {"connection_id":164750,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:44:04] local.INFO: Acknowledgment sent {"connection_id":164750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:44:09] local.INFO: TCP Data received {"connection_id":164749,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047a2be38012d34c14006aa4840001100e628..."} 
[2026-08-28 14:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a2be38012d34c14006aa4840001100e628..."} 
[2026-08-28 14:44:09] local.INFO: Processing buffer {"connection_id":164749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a2be38012d34c14006aa4840001100e628..."} 
[2026-08-28 14:44:09] local.INFO: Packet analysis {"connection_id":164749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a2"} 
[2026-08-28 14:44:09] local.INFO: Extracted packet for processing {"connection_id":164749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a2"} 
[2026-08-28 14:44:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:44:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704433152001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:44:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787908243000,"timestamp_ms":1787908243000,"timestamp_seconds":1787908243,"priority":1,"record_length":96,"hex_timestamp":"000001a047a2be38"} 
[2026-08-28 14:44:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:44:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:44:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 14:44:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:44:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:44:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:44:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704433152001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704433152001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:44:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:44:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:44: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-28 14:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704433152001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:44:09] 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":708036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:44:09] local.INFO: GPS data processed {"connection_id":164749,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:44:09] local.INFO: Acknowledgment sent {"connection_id":164749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:44:11] local.INFO: TCP Data received {"connection_id":163484,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163484,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:44:11] local.INFO: Processing buffer {"connection_id":163484,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:44:11] local.INFO: IMEI packet received {"connection_id":163484,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 14:44:11] local.INFO: IMEI acknowledgment sent {"connection_id":163484,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:44:16] local.INFO: TCP Data received {"connection_id":163484,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163484,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:44:16] local.INFO: Processing buffer {"connection_id":163484,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:44:16] local.INFO: IMEI packet received {"connection_id":163484,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 14:44:16] local.INFO: IMEI acknowledgment sent {"connection_id":163484,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:44:17] local.INFO: TCP Data received {"connection_id":163484,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047a3e718012d1967c0071fed700037011827..."} 
[2026-08-28 14:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a3e718012d1967c0071fed700037011827..."} 
[2026-08-28 14:44:17] local.INFO: Processing buffer {"connection_id":163484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a3e718012d1967c0071fed700037011827..."} 
[2026-08-28 14:44:17] local.INFO: Packet analysis {"connection_id":163484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a3"} 
[2026-08-28 14:44:17] local.INFO: Extracted packet for processing {"connection_id":163484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a3"} 
[2026-08-28 14:44:17] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:44:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704524288001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:44:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:44:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:44:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:44:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787908319000,"timestamp_ms":1787908319000,"timestamp_seconds":1787908319,"priority":1,"record_length":96,"hex_timestamp":"000001a047a3e718"} 
[2026-08-28 14:44:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:44:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 14:44:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:44:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:44:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:44:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:44:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:44:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:44:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:44:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:44:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:44:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:44:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704524288001,"66":12374,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:44:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:44:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:44:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704524288001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:44:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:44:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:44:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:44:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:44:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704524288001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:44:17] 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":708037,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:44:17] local.INFO: GPS data processed {"connection_id":163484,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:44:17] local.INFO: Acknowledgment sent {"connection_id":163484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:44:30] local.INFO: TCP Data received {"connection_id":166103,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:44:30] local.INFO: Processing buffer {"connection_id":166103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:44:30] local.INFO: IMEI packet received {"connection_id":166103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 14:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":166103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:44:35] local.INFO: TCP Data received {"connection_id":164750,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047a546a8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a546a8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:44:35] local.INFO: Processing buffer {"connection_id":164750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a546a8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:44:35] local.INFO: Packet analysis {"connection_id":164750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a5"} 
[2026-08-28 14:44:35] local.INFO: Extracted packet for processing {"connection_id":164750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a5"} 
[2026-08-28 14:44:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704475648001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:44:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:44:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787908409000,"timestamp_ms":1787908409000,"timestamp_seconds":1787908409,"priority":1,"record_length":96,"hex_timestamp":"000001a047a546a8"} 
[2026-08-28 14:44:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:44:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 14:44:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:44:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:44:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":164750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":164750,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":164750,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:44:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704475648001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704475648001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:44:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:44:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:44:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704475648001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:44:36] local.INFO: TCP Data received {"connection_id":166103,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:44:36] local.INFO: Processing buffer {"connection_id":166103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:44:36] local.INFO: IMEI packet received {"connection_id":166103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 14:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":166103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:44:36] 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":708038,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:44:36] local.INFO: GPS data processed {"connection_id":164750,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:44:36] local.INFO: Acknowledgment sent {"connection_id":164750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:44:37] local.INFO: TCP Data received {"connection_id":166103,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047a2be38012d34c14006aa4840001100e628..."} 
[2026-08-28 14:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a2be38012d34c14006aa4840001100e628..."} 
[2026-08-28 14:44:37] local.INFO: Processing buffer {"connection_id":166103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a2be38012d34c14006aa4840001100e628..."} 
[2026-08-28 14:44:37] local.INFO: Packet analysis {"connection_id":166103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a2"} 
[2026-08-28 14:44:37] local.INFO: Extracted packet for processing {"connection_id":166103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a2"} 
[2026-08-28 14:44:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704433152001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787908243000,"timestamp_ms":1787908243000,"timestamp_seconds":1787908243,"priority":1,"record_length":96,"hex_timestamp":"000001a047a2be38"} 
[2026-08-28 14:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 14:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:44:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":166103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":166103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":166103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704433152001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704433152001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:44:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:44:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:44: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-28 14:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704433152001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":166103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:44:37] local.INFO: GPS data processed {"connection_id":166103,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:44:37] local.INFO: Acknowledgment sent {"connection_id":166103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:44:49] local.INFO: TCP Data received {"connection_id":163484,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047a43920012d1967c0071fed700037011829..."} 
[2026-08-28 14:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a43920012d1967c0071fed700037011829..."} 
[2026-08-28 14:44:49] local.INFO: Processing buffer {"connection_id":163484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a43920012d1967c0071fed700037011829..."} 
[2026-08-28 14:44:49] local.INFO: Packet analysis {"connection_id":163484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a4"} 
[2026-08-28 14:44:49] local.INFO: Extracted packet for processing {"connection_id":163484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a4"} 
[2026-08-28 14:44:49] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:44:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704529664001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:44:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:44:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:44:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:44:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787908340000,"timestamp_ms":1787908340000,"timestamp_seconds":1787908340,"priority":1,"record_length":96,"hex_timestamp":"000001a047a43920"} 
[2026-08-28 14: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-28 14:44:49] 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-28 14:44:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 14:44:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14: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-28 14:44:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:44:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:44:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:44:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:44:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:44:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:44:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:44:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704529664001,"66":12341,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:44:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:44:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:44:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704529664001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:44:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:44:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:44:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:44:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:44:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704529664001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:44:49] 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":708040,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:44:49] local.INFO: GPS data processed {"connection_id":163484,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:44:49] local.INFO: Acknowledgment sent {"connection_id":163484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:44:56] local.INFO: TCP Data received {"connection_id":164751,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164751,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:44:56] local.INFO: Processing buffer {"connection_id":164751,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:44:56] local.INFO: IMEI packet received {"connection_id":164751,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 14:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":164751,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:45:02] local.INFO: TCP Data received {"connection_id":164751,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164751,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:45:02] local.INFO: Processing buffer {"connection_id":164751,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:45:02] local.INFO: IMEI packet received {"connection_id":164751,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 14:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":164751,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:45:03] local.INFO: TCP Data received {"connection_id":164751,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047a546a8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a546a8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:45:03] local.INFO: Processing buffer {"connection_id":164751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a546a8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:45:03] local.INFO: Packet analysis {"connection_id":164751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a5"} 
[2026-08-28 14:45:03] local.INFO: Extracted packet for processing {"connection_id":164751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a5"} 
[2026-08-28 14:45:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704475648001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:45:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787908409000,"timestamp_ms":1787908409000,"timestamp_seconds":1787908409,"priority":1,"record_length":96,"hex_timestamp":"000001a047a546a8"} 
[2026-08-28 14:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:45:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 14:45:03] 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-28 14:45:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":164751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":164751,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":164751,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:45:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704475648001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704475648001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:45:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:45:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704475648001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:45:03] 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":708041,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:45:03] local.INFO: GPS data processed {"connection_id":164751,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:45:03] local.INFO: Acknowledgment sent {"connection_id":164751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:45:09] local.INFO: TCP Data received {"connection_id":166103,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047a2be38012d34c14006aa4840001100e628..."} 
[2026-08-28 14:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a2be38012d34c14006aa4840001100e628..."} 
[2026-08-28 14:45:09] local.INFO: Processing buffer {"connection_id":166103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a2be38012d34c14006aa4840001100e628..."} 
[2026-08-28 14:45:09] local.INFO: Packet analysis {"connection_id":166103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a2"} 
[2026-08-28 14:45:09] local.INFO: Extracted packet for processing {"connection_id":166103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a2"} 
[2026-08-28 14:45:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704433152001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:45:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787908243000,"timestamp_ms":1787908243000,"timestamp_seconds":1787908243,"priority":1,"record_length":96,"hex_timestamp":"000001a047a2be38"} 
[2026-08-28 14:45:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:45:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 14:45:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:45:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:45:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":166103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":166103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":166103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:45:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704433152001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704433152001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:45:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:45:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:45: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-28 14:45:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704433152001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":166103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:45:09] local.INFO: GPS data processed {"connection_id":166103,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:45:09] local.INFO: Acknowledgment sent {"connection_id":166103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:45:11] local.INFO: TCP Data received {"connection_id":164752,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:45:11] local.INFO: Processing buffer {"connection_id":164752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:45:11] local.INFO: IMEI packet received {"connection_id":164752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 14:45:11] local.INFO: IMEI acknowledgment sent {"connection_id":164752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:45:16] local.INFO: TCP Data received {"connection_id":164752,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:45:16] local.INFO: Processing buffer {"connection_id":164752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:45:16] local.INFO: IMEI packet received {"connection_id":164752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 14:45:16] local.INFO: IMEI acknowledgment sent {"connection_id":164752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:45:17] local.INFO: TCP Data received {"connection_id":164752,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047a48b28012d1967c0071fed70003701182a..."} 
[2026-08-28 14:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a48b28012d1967c0071fed70003701182a..."} 
[2026-08-28 14:45:17] local.INFO: Processing buffer {"connection_id":164752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a48b28012d1967c0071fed70003701182a..."} 
[2026-08-28 14:45:17] local.INFO: Packet analysis {"connection_id":164752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a4"} 
[2026-08-28 14:45:17] local.INFO: Extracted packet for processing {"connection_id":164752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a4"} 
[2026-08-28 14:45:17] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704535040001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:45:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:45:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:45:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:45:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787908361000,"timestamp_ms":1787908361000,"timestamp_seconds":1787908361,"priority":1,"record_length":96,"hex_timestamp":"000001a047a48b28"} 
[2026-08-28 14: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-28 14:45:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 14:45:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14: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-28 14:45:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:45:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:45:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:45:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:45:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:45:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:45:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:45:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704535040001,"66":12385,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:45:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:45:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:45:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704535040001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:45:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:45:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:45:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:45:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:45:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704535040001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:45:17] 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":708043,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:45:17] local.INFO: GPS data processed {"connection_id":164752,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:45:17] local.INFO: Acknowledgment sent {"connection_id":164752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:45:30] local.INFO: TCP Data received {"connection_id":166104,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:45:30] local.INFO: Processing buffer {"connection_id":166104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:45:30] local.INFO: IMEI packet received {"connection_id":166104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 14:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":166104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:45:35] local.INFO: TCP Data received {"connection_id":164751,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047a546a8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a546a8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:45:35] local.INFO: Processing buffer {"connection_id":164751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a546a8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:45:35] local.INFO: Packet analysis {"connection_id":164751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a5"} 
[2026-08-28 14:45:35] local.INFO: Extracted packet for processing {"connection_id":164751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a5"} 
[2026-08-28 14:45:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:45:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704475648001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:45:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:45:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:45:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:45:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787908409000,"timestamp_ms":1787908409000,"timestamp_seconds":1787908409,"priority":1,"record_length":96,"hex_timestamp":"000001a047a546a8"} 
[2026-08-28 14:45:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:45:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 14:45:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:45:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:45:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:45:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:45:35] local.INFO: Teltonika packet parsed successfully {"connection_id":164751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:45:35] local.INFO: Passing IMEI to GPS processor {"connection_id":164751,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:45:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":164751,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:45:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:45:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:45:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:45:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704475648001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:45:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:45:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:45:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704475648001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:45:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:45:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:45:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:45:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:45:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704475648001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:45:35] 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":708044,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:45:35] local.INFO: GPS data processed {"connection_id":164751,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:45:35] local.INFO: Acknowledgment sent {"connection_id":164751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:45:36] local.INFO: TCP Data received {"connection_id":166104,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:45:36] local.INFO: Processing buffer {"connection_id":166104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:45:36] local.INFO: IMEI packet received {"connection_id":166104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 14:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":166104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:45:37] local.INFO: TCP Data received {"connection_id":166104,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047a2be38012d34c14006aa4840001100e628..."} 
[2026-08-28 14:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a2be38012d34c14006aa4840001100e628..."} 
[2026-08-28 14:45:37] local.INFO: Processing buffer {"connection_id":166104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a2be38012d34c14006aa4840001100e628..."} 
[2026-08-28 14:45:37] local.INFO: Packet analysis {"connection_id":166104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a2"} 
[2026-08-28 14:45:37] local.INFO: Extracted packet for processing {"connection_id":166104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a2"} 
[2026-08-28 14:45:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704433152001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787908243000,"timestamp_ms":1787908243000,"timestamp_seconds":1787908243,"priority":1,"record_length":96,"hex_timestamp":"000001a047a2be38"} 
[2026-08-28 14:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 14:45:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":166104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":166104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":166104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704433152001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704433152001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:45:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:45:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:45: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-28 14:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704433152001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":166104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:45:37] local.INFO: GPS data processed {"connection_id":166104,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:45:37] local.INFO: Acknowledgment sent {"connection_id":166104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:45:49] local.INFO: TCP Data received {"connection_id":164752,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047a4dd30012d1967c0071fed70003701182a..."} 
[2026-08-28 14:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a4dd30012d1967c0071fed70003701182a..."} 
[2026-08-28 14:45:49] local.INFO: Processing buffer {"connection_id":164752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a4dd30012d1967c0071fed70003701182a..."} 
[2026-08-28 14:45:49] local.INFO: Packet analysis {"connection_id":164752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a4"} 
[2026-08-28 14:45:49] local.INFO: Extracted packet for processing {"connection_id":164752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a4"} 
[2026-08-28 14:45:49] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:45:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704540416001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:45:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:45:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:45:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:45:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787908382000,"timestamp_ms":1787908382000,"timestamp_seconds":1787908382,"priority":1,"record_length":96,"hex_timestamp":"000001a047a4dd30"} 
[2026-08-28 14: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-28 14:45:49] 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-28 14:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 14:45:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14: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-28 14:45:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:45:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:45:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:45:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:45:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:45:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:45:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:45:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704540416001,"66":12385,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:45:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:45:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:45:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704540416001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:45:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:45:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:45:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:45:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:45:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704540416001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:45:49] 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":708046,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:45:49] local.INFO: GPS data processed {"connection_id":164752,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:45:49] local.INFO: Acknowledgment sent {"connection_id":164752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:45:56] local.INFO: TCP Data received {"connection_id":163485,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163485,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:45:56] local.INFO: Processing buffer {"connection_id":163485,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:45:56] local.INFO: IMEI packet received {"connection_id":163485,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 14:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":163485,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:46:02] local.INFO: TCP Data received {"connection_id":163485,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163485,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:46:02] local.INFO: Processing buffer {"connection_id":163485,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:46:02] local.INFO: IMEI packet received {"connection_id":163485,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 14:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":163485,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:46:04] local.INFO: TCP Data received {"connection_id":163485,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047a546a8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a546a8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:46:04] local.INFO: Processing buffer {"connection_id":163485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a546a8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:46:04] local.INFO: Packet analysis {"connection_id":163485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a5"} 
[2026-08-28 14:46:04] local.INFO: Extracted packet for processing {"connection_id":163485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a5"} 
[2026-08-28 14:46:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704475648001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:46:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787908409000,"timestamp_ms":1787908409000,"timestamp_seconds":1787908409,"priority":1,"record_length":96,"hex_timestamp":"000001a047a546a8"} 
[2026-08-28 14:46:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:46:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 14:46:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:46:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:46:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":163485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":163485,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":163485,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:46:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704475648001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704475648001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:46:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:46:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704475648001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:46:04] 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":708047,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:46:04] local.INFO: GPS data processed {"connection_id":163485,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:46:04] local.INFO: Acknowledgment sent {"connection_id":163485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:46:09] local.INFO: TCP Data received {"connection_id":166104,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047a2be38012d34c14006aa4840001100e628..."} 
[2026-08-28 14:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a2be38012d34c14006aa4840001100e628..."} 
[2026-08-28 14:46:09] local.INFO: Processing buffer {"connection_id":166104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a2be38012d34c14006aa4840001100e628..."} 
[2026-08-28 14:46:09] local.INFO: Packet analysis {"connection_id":166104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a2"} 
[2026-08-28 14:46:09] local.INFO: Extracted packet for processing {"connection_id":166104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a2"} 
[2026-08-28 14:46:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704433152001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:46:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:46:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787908243000,"timestamp_ms":1787908243000,"timestamp_seconds":1787908243,"priority":1,"record_length":96,"hex_timestamp":"000001a047a2be38"} 
[2026-08-28 14:46:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:46: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-28 14:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 14:46:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:46:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:46:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":166104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":166104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":166104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:46:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704433152001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704433152001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:46:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:46:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:46: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-28 14:46:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704433152001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":166104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:46:09] local.INFO: GPS data processed {"connection_id":166104,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:46:09] local.INFO: Acknowledgment sent {"connection_id":166104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:46:11] local.INFO: TCP Data received {"connection_id":166105,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166105,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:46:11] local.INFO: Processing buffer {"connection_id":166105,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:46:11] local.INFO: IMEI packet received {"connection_id":166105,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 14:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":166105,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:46:16] local.INFO: TCP Data received {"connection_id":166105,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166105,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:46:16] local.INFO: Processing buffer {"connection_id":166105,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:46:16] local.INFO: IMEI packet received {"connection_id":166105,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 14:46:16] local.INFO: IMEI acknowledgment sent {"connection_id":166105,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:46:17] local.INFO: TCP Data received {"connection_id":166105,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047a52f38012d1967c0071fed700037011828..."} 
[2026-08-28 14:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a52f38012d1967c0071fed700037011828..."} 
[2026-08-28 14:46:17] local.INFO: Processing buffer {"connection_id":166105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a52f38012d1967c0071fed700037011828..."} 
[2026-08-28 14:46:17] local.INFO: Packet analysis {"connection_id":166105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a5"} 
[2026-08-28 14:46:17] local.INFO: Extracted packet for processing {"connection_id":166105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a5"} 
[2026-08-28 14:46:17] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:46:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704545792001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:46:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:46:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:46:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:46:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787908403000,"timestamp_ms":1787908403000,"timestamp_seconds":1787908403,"priority":1,"record_length":96,"hex_timestamp":"000001a047a52f38"} 
[2026-08-28 14: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-28 14:46:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 14:46:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14: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-28 14:46:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:46:17] local.INFO: Teltonika packet parsed successfully {"connection_id":166105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:46:17] local.INFO: Passing IMEI to GPS processor {"connection_id":166105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:46:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":166105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:46:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:46:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:46:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:46:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704545792001,"66":12374,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:46:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:46:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:46:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704545792001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:46:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:46:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:46:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:46:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:46:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704545792001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:46:17] local.INFO: DEBUG: GPS processor result {"connection_id":166105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708049,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:46:17] local.INFO: GPS data processed {"connection_id":166105,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:46:17] local.INFO: Acknowledgment sent {"connection_id":166105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:46:35] local.INFO: TCP Data received {"connection_id":166106,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:46:35] local.INFO: Processing buffer {"connection_id":166106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:46:35] local.INFO: IMEI packet received {"connection_id":166106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 14:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":166106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:46:35] local.INFO: TCP Data received {"connection_id":163485,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047a546a8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a546a8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:46:35] local.INFO: Processing buffer {"connection_id":163485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a546a8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:46:35] local.INFO: Packet analysis {"connection_id":163485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a5"} 
[2026-08-28 14:46:35] local.INFO: Extracted packet for processing {"connection_id":163485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a5"} 
[2026-08-28 14:46:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704475648001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:46:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:46:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787908409000,"timestamp_ms":1787908409000,"timestamp_seconds":1787908409,"priority":1,"record_length":96,"hex_timestamp":"000001a047a546a8"} 
[2026-08-28 14:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:46:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 14:46:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:46:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163485,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163485,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:46:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704475648001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704475648001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:46:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:46:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:46:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704475648001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:46:36] 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":708050,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:46:36] local.INFO: GPS data processed {"connection_id":163485,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:46:36] local.INFO: Acknowledgment sent {"connection_id":163485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:46:40] local.INFO: TCP Data received {"connection_id":166106,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:46:40] local.INFO: Processing buffer {"connection_id":166106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:46:40] local.INFO: IMEI packet received {"connection_id":166106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 14:46:40] local.INFO: IMEI acknowledgment sent {"connection_id":166106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:46:44] local.INFO: TCP Data received {"connection_id":166106,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047a75600012d34c14006aa4840001000e62a..."} 
[2026-08-28 14:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a75600012d34c14006aa4840001000e62a..."} 
[2026-08-28 14:46:44] local.INFO: Processing buffer {"connection_id":166106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a75600012d34c14006aa4840001000e62a..."} 
[2026-08-28 14:46:44] local.INFO: Packet analysis {"connection_id":166106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a7"} 
[2026-08-28 14:46:44] local.INFO: Extracted packet for processing {"connection_id":166106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a7"} 
[2026-08-28 14:46:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:46:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704510208001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:46:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:46:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:46:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:46:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787908544000,"timestamp_ms":1787908544000,"timestamp_seconds":1787908544,"priority":1,"record_length":96,"hex_timestamp":"000001a047a75600"} 
[2026-08-28 14: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-28 14: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-28 14: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":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:46: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-28 14: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-28 14: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-28 14:46:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:46:44] local.INFO: Teltonika packet parsed successfully {"connection_id":166106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:46:44] local.INFO: Passing IMEI to GPS processor {"connection_id":166106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:46:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":166106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:46:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:46:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:46:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:46:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704510208001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:46:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:46:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:46:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704510208001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:46:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:46:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14: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-28 14:46:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:46:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704510208001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:46:44] local.INFO: DEBUG: GPS processor result {"connection_id":166106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:46:44] local.INFO: GPS data processed {"connection_id":166106,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:46:44] local.INFO: Acknowledgment sent {"connection_id":166106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:46:49] local.INFO: TCP Data received {"connection_id":166105,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047a58140012d1967c0071fed70003701182b..."} 
[2026-08-28 14:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a58140012d1967c0071fed70003701182b..."} 
[2026-08-28 14:46:49] local.INFO: Processing buffer {"connection_id":166105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a58140012d1967c0071fed70003701182b..."} 
[2026-08-28 14:46:49] local.INFO: Packet analysis {"connection_id":166105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a5"} 
[2026-08-28 14:46:49] local.INFO: Extracted packet for processing {"connection_id":166105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a5"} 
[2026-08-28 14:46:49] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:46:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704551168001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:46:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:46:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:46:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:46:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787908424000,"timestamp_ms":1787908424000,"timestamp_seconds":1787908424,"priority":1,"record_length":96,"hex_timestamp":"000001a047a58140"} 
[2026-08-28 14: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-28 14:46:49] 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-28 14:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 14:46:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14: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-28 14:46:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:46:49] local.INFO: Teltonika packet parsed successfully {"connection_id":166105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:46:49] local.INFO: Passing IMEI to GPS processor {"connection_id":166105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:46:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":166105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:46:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:46:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:46:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:46:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704551168001,"66":12385,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:46:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:46:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:46:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704551168001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:46:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:46:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:46:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:46:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:46:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704551168001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:46:49] local.INFO: DEBUG: GPS processor result {"connection_id":166105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708052,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:46:49] local.INFO: GPS data processed {"connection_id":166105,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:46:49] local.INFO: Acknowledgment sent {"connection_id":166105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:47:02] local.INFO: TCP Data received {"connection_id":163486,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163486,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:47:02] local.INFO: Processing buffer {"connection_id":163486,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:47:02] local.INFO: IMEI packet received {"connection_id":163486,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 14:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":163486,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:47:07] local.INFO: TCP Data received {"connection_id":163486,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163486,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:47:07] local.INFO: Processing buffer {"connection_id":163486,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:47:07] local.INFO: IMEI packet received {"connection_id":163486,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 14:47:07] local.INFO: IMEI acknowledgment sent {"connection_id":163486,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:47:09] local.INFO: TCP Data received {"connection_id":163486,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047a546a8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a546a8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:47:09] local.INFO: Processing buffer {"connection_id":163486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a546a8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:47:09] local.INFO: Packet analysis {"connection_id":163486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a5"} 
[2026-08-28 14:47:09] local.INFO: Extracted packet for processing {"connection_id":163486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a5"} 
[2026-08-28 14:47:09] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704475648001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787908409000,"timestamp_ms":1787908409000,"timestamp_seconds":1787908409,"priority":1,"record_length":96,"hex_timestamp":"000001a047a546a8"} 
[2026-08-28 14:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 14:47:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:47:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163486,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163486,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:47:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704475648001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704475648001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:47:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:47:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704475648001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:47:09] 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":708053,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:47:09] local.INFO: GPS data processed {"connection_id":163486,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:47:09] local.INFO: Acknowledgment sent {"connection_id":163486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:47:13] local.INFO: TCP Data received {"connection_id":163486,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047a546a8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a546a8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:47:13] local.INFO: Processing buffer {"connection_id":163486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a546a8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:47:13] local.INFO: Packet analysis {"connection_id":163486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a5"} 
[2026-08-28 14:47:13] local.INFO: Extracted packet for processing {"connection_id":163486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a5"} 
[2026-08-28 14:47:13] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704475648001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:47:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:47:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787908409000,"timestamp_ms":1787908409000,"timestamp_seconds":1787908409,"priority":1,"record_length":96,"hex_timestamp":"000001a047a546a8"} 
[2026-08-28 14: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-28 14:47:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14: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":118,"data_length":795,"current_offset":136} 
[2026-08-28 14:47: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-28 14: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-28 14: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-28 14:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163486,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163486,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704475648001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704475648001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:47:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:47:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:47:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704475648001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:47:13] 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":708054,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:47:13] local.INFO: GPS data processed {"connection_id":163486,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:47:13] local.INFO: Acknowledgment sent {"connection_id":163486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:47:16] local.INFO: TCP Data received {"connection_id":166106,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047a75600012d34c14006aa4840001000e62a..."} 
[2026-08-28 14:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a75600012d34c14006aa4840001000e62a..."} 
[2026-08-28 14:47:16] local.INFO: Processing buffer {"connection_id":166106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a75600012d34c14006aa4840001000e62a..."} 
[2026-08-28 14:47:16] local.INFO: Packet analysis {"connection_id":166106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a7"} 
[2026-08-28 14:47:16] local.INFO: Extracted packet for processing {"connection_id":166106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a7"} 
[2026-08-28 14:47:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704510208001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:47:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:47:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787908544000,"timestamp_ms":1787908544000,"timestamp_seconds":1787908544,"priority":1,"record_length":96,"hex_timestamp":"000001a047a75600"} 
[2026-08-28 14:47:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14: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-28 14:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14: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-28 14:47:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:47:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":166106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":166106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":166106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:47:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704510208001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704510208001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:47:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:47:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14: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-28 14:47:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704510208001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":166106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:47:16] local.INFO: GPS data processed {"connection_id":166106,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:47:16] local.INFO: Acknowledgment sent {"connection_id":166106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:47:16] local.INFO: TCP Data received {"connection_id":164753,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:47:16] local.INFO: Processing buffer {"connection_id":164753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:47:16] local.INFO: IMEI packet received {"connection_id":164753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 14:47:16] local.INFO: IMEI acknowledgment sent {"connection_id":164753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:47:21] local.INFO: TCP Data received {"connection_id":164753,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:47:21] local.INFO: Processing buffer {"connection_id":164753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:47:21] local.INFO: IMEI packet received {"connection_id":164753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 14:47:21] local.INFO: IMEI acknowledgment sent {"connection_id":164753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:47:22] local.INFO: TCP Data received {"connection_id":164753,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047a5d348012d1967c0071fed700037011828..."} 
[2026-08-28 14:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a5d348012d1967c0071fed700037011828..."} 
[2026-08-28 14:47:22] local.INFO: Processing buffer {"connection_id":164753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a5d348012d1967c0071fed700037011828..."} 
[2026-08-28 14:47:22] local.INFO: Packet analysis {"connection_id":164753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a5"} 
[2026-08-28 14:47:22] local.INFO: Extracted packet for processing {"connection_id":164753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a5"} 
[2026-08-28 14:47:22] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:47:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704556544001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:47:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:47:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:47:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:47:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787908445000,"timestamp_ms":1787908445000,"timestamp_seconds":1787908445,"priority":1,"record_length":96,"hex_timestamp":"000001a047a5d348"} 
[2026-08-28 14: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-28 14:47:22] 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-28 14: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 14:47:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14: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-28 14:47:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:47:22] local.INFO: Teltonika packet parsed successfully {"connection_id":164753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:47:22] local.INFO: Passing IMEI to GPS processor {"connection_id":164753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:47:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":164753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:47:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:47:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:47:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:47:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704556544001,"66":12374,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:47:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:47:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:47:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704556544001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:47:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:47:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:47:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:47:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:47:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704556544001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:47:22] 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":708056,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:47:22] local.INFO: GPS data processed {"connection_id":164753,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:47:22] local.INFO: Acknowledgment sent {"connection_id":164753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:47:27] local.INFO: TCP Data received {"connection_id":164753,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047a62550012d1967c0071fed700037011828..."} 
[2026-08-28 14:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a62550012d1967c0071fed700037011828..."} 
[2026-08-28 14:47:27] local.INFO: Processing buffer {"connection_id":164753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a62550012d1967c0071fed700037011828..."} 
[2026-08-28 14:47:27] local.INFO: Packet analysis {"connection_id":164753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a6"} 
[2026-08-28 14:47:27] local.INFO: Extracted packet for processing {"connection_id":164753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a6"} 
[2026-08-28 14:47:27] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14:47:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:47:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704561920001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:47:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:47:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:47:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:47:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787908466000,"timestamp_ms":1787908466000,"timestamp_seconds":1787908466,"priority":1,"record_length":96,"hex_timestamp":"000001a047a62550"} 
[2026-08-28 14:47:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:47:27] 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-28 14:47:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 14:47:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:47:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:47:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:47:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:47:27] local.INFO: Teltonika packet parsed successfully {"connection_id":164753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:47:27] local.INFO: Passing IMEI to GPS processor {"connection_id":164753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:47:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":164753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:47:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:47:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:47:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:47:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704561920001,"66":12374,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:47:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:47:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:47:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704561920001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:47:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:47:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:47:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:47:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:47:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704561920001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:47:27] 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":708057,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:47:27] local.INFO: GPS data processed {"connection_id":164753,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:47:27] local.INFO: Acknowledgment sent {"connection_id":164753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:47:31] local.INFO: TCP Data received {"connection_id":166107,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:47:31] local.INFO: Processing buffer {"connection_id":166107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:47:31] local.INFO: IMEI packet received {"connection_id":166107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 14:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":166107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:47:36] local.INFO: TCP Data received {"connection_id":166107,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:47:36] local.INFO: Processing buffer {"connection_id":166107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:47:36] local.INFO: IMEI packet received {"connection_id":166107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 14:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":166107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:47:37] local.INFO: TCP Data received {"connection_id":166107,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047a75600012d34c14006aa4840001000e62a..."} 
[2026-08-28 14:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a75600012d34c14006aa4840001000e62a..."} 
[2026-08-28 14:47:37] local.INFO: Processing buffer {"connection_id":166107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a75600012d34c14006aa4840001000e62a..."} 
[2026-08-28 14:47:37] local.INFO: Packet analysis {"connection_id":166107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a7"} 
[2026-08-28 14:47:37] local.INFO: Extracted packet for processing {"connection_id":166107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a7"} 
[2026-08-28 14:47:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704510208001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787908544000,"timestamp_ms":1787908544000,"timestamp_seconds":1787908544,"priority":1,"record_length":96,"hex_timestamp":"000001a047a75600"} 
[2026-08-28 14:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":166107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":166107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":166107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704510208001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704510208001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:47:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:47:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:47: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-28 14:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704510208001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":166107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:47:37] local.INFO: GPS data processed {"connection_id":166107,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:47:37] local.INFO: Acknowledgment sent {"connection_id":166107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:47:56] local.INFO: TCP Data received {"connection_id":166108,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166108,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:47:56] local.INFO: Processing buffer {"connection_id":166108,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:47:56] local.INFO: IMEI packet received {"connection_id":166108,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 14:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":166108,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:48:02] local.INFO: TCP Data received {"connection_id":166108,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166108,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:48:02] local.INFO: Processing buffer {"connection_id":166108,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:48:02] local.INFO: IMEI packet received {"connection_id":166108,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 14:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":166108,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:48:03] local.INFO: TCP Data received {"connection_id":166108,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047a546a8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a546a8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:48:03] local.INFO: Processing buffer {"connection_id":166108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a546a8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:48:03] local.INFO: Packet analysis {"connection_id":166108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a5"} 
[2026-08-28 14:48:03] local.INFO: Extracted packet for processing {"connection_id":166108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a5"} 
[2026-08-28 14:48:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704475648001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:48:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787908409000,"timestamp_ms":1787908409000,"timestamp_seconds":1787908409,"priority":1,"record_length":96,"hex_timestamp":"000001a047a546a8"} 
[2026-08-28 14:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:48:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 14:48:03] 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-28 14:48:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":166108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":166108,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":166108,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704475648001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704475648001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:48:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:48:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704475648001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":166108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708059,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:48:03] local.INFO: GPS data processed {"connection_id":166108,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:48:03] local.INFO: Acknowledgment sent {"connection_id":166108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:48:09] local.INFO: TCP Data received {"connection_id":166107,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047a75600012d34c14006aa4840001000e62a..."} 
[2026-08-28 14:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a75600012d34c14006aa4840001000e62a..."} 
[2026-08-28 14:48:09] local.INFO: Processing buffer {"connection_id":166107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a75600012d34c14006aa4840001000e62a..."} 
[2026-08-28 14:48:09] local.INFO: Packet analysis {"connection_id":166107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a7"} 
[2026-08-28 14:48:09] local.INFO: Extracted packet for processing {"connection_id":166107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a7"} 
[2026-08-28 14:48:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704510208001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:48:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:48:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787908544000,"timestamp_ms":1787908544000,"timestamp_seconds":1787908544,"priority":1,"record_length":96,"hex_timestamp":"000001a047a75600"} 
[2026-08-28 14:48:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:48: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-28 14:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:48: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-28 14:48:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:48:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":166107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":166107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":166107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:48:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704510208001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704510208001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:48:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:48:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:48: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-28 14:48:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704510208001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":166107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:48:09] local.INFO: GPS data processed {"connection_id":166107,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:48:09] local.INFO: Acknowledgment sent {"connection_id":166107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:48:11] local.INFO: TCP Data received {"connection_id":163487,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163487,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:48:11] local.INFO: Processing buffer {"connection_id":163487,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:48:11] local.INFO: IMEI packet received {"connection_id":163487,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 14:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":163487,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:48:13] local.INFO: TCP Data received {"connection_id":163487,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163487,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:48:13] local.INFO: Processing buffer {"connection_id":163487,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:48:13] local.INFO: IMEI packet received {"connection_id":163487,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 14:48:13] local.INFO: IMEI acknowledgment sent {"connection_id":163487,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:48:14] local.INFO: TCP Data received {"connection_id":163487,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047a67758012d1967c0071fed700037011829..."} 
[2026-08-28 14:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a67758012d1967c0071fed700037011829..."} 
[2026-08-28 14:48:14] local.INFO: Processing buffer {"connection_id":163487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a67758012d1967c0071fed700037011829..."} 
[2026-08-28 14:48:14] local.INFO: Packet analysis {"connection_id":163487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a6"} 
[2026-08-28 14:48:14] local.INFO: Extracted packet for processing {"connection_id":163487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a6"} 
[2026-08-28 14:48:14] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:48:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704567296001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:48:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:48:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:48:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:48:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787908487000,"timestamp_ms":1787908487000,"timestamp_seconds":1787908487,"priority":1,"record_length":96,"hex_timestamp":"000001a047a67758"} 
[2026-08-28 14: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-28 14:48:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14:48:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 14:48:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14: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-28 14:48:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:48:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:48:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:48:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:48:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:48:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:48:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:48:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704567296001,"66":12374,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:48:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:48:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:48:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704567296001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:48:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:48:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:48:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:48:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:48:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704567296001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:48:14] 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":708061,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:48:14] local.INFO: GPS data processed {"connection_id":163487,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:48:14] local.INFO: Acknowledgment sent {"connection_id":163487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:48:31] local.INFO: TCP Data received {"connection_id":164754,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:48:31] local.INFO: Processing buffer {"connection_id":164754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:48:31] local.INFO: IMEI packet received {"connection_id":164754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 14:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":164754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:48:35] local.INFO: TCP Data received {"connection_id":166108,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047a546a8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a546a8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:48:35] local.INFO: Processing buffer {"connection_id":166108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a546a8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:48:35] local.INFO: Packet analysis {"connection_id":166108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a5"} 
[2026-08-28 14:48:35] local.INFO: Extracted packet for processing {"connection_id":166108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a5"} 
[2026-08-28 14:48:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704475648001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:48:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:48:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787908409000,"timestamp_ms":1787908409000,"timestamp_seconds":1787908409,"priority":1,"record_length":96,"hex_timestamp":"000001a047a546a8"} 
[2026-08-28 14:48:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:48:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 14:48:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:48:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:48:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":166108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":166108,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":166108,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:48:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704475648001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704475648001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:48:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:48:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:48:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704475648001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":166108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708062,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:48:35] local.INFO: GPS data processed {"connection_id":166108,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:48:35] local.INFO: Acknowledgment sent {"connection_id":166108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:48:36] local.INFO: TCP Data received {"connection_id":164754,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:48:36] local.INFO: Processing buffer {"connection_id":164754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:48:36] local.INFO: IMEI packet received {"connection_id":164754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 14:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":164754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:48:37] local.INFO: TCP Data received {"connection_id":164754,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047a75600012d34c14006aa4840001000e62a..."} 
[2026-08-28 14:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a75600012d34c14006aa4840001000e62a..."} 
[2026-08-28 14:48:37] local.INFO: Processing buffer {"connection_id":164754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a75600012d34c14006aa4840001000e62a..."} 
[2026-08-28 14:48:37] local.INFO: Packet analysis {"connection_id":164754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a7"} 
[2026-08-28 14:48:37] local.INFO: Extracted packet for processing {"connection_id":164754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a7"} 
[2026-08-28 14:48:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704510208001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787908544000,"timestamp_ms":1787908544000,"timestamp_seconds":1787908544,"priority":1,"record_length":96,"hex_timestamp":"000001a047a75600"} 
[2026-08-28 14:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704510208001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704510208001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:48:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:48:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:48: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-28 14:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704510208001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:48:37] 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":708063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:48:37] local.INFO: GPS data processed {"connection_id":164754,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:48:37] local.INFO: Acknowledgment sent {"connection_id":164754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:48:46] local.INFO: TCP Data received {"connection_id":163487,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047a6c960012d1967c0071fed700037011828..."} 
[2026-08-28 14:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a6c960012d1967c0071fed700037011828..."} 
[2026-08-28 14:48:46] local.INFO: Processing buffer {"connection_id":163487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a6c960012d1967c0071fed700037011828..."} 
[2026-08-28 14:48:46] local.INFO: Packet analysis {"connection_id":163487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a6"} 
[2026-08-28 14:48:46] local.INFO: Extracted packet for processing {"connection_id":163487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a6"} 
[2026-08-28 14:48:46] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704572672001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:48:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:48:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787908508000,"timestamp_ms":1787908508000,"timestamp_seconds":1787908508,"priority":1,"record_length":96,"hex_timestamp":"000001a047a6c960"} 
[2026-08-28 14:48:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:48:46] 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-28 14:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 14:48:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:48:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:48:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:48:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704572672001,"66":12341,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704572672001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:48:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:48:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:48:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:48:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:48:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704572672001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:48:46] 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":708064,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:48:46] local.INFO: GPS data processed {"connection_id":163487,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:48:46] local.INFO: Acknowledgment sent {"connection_id":163487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:48:56] local.INFO: TCP Data received {"connection_id":163488,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163488,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:48:56] local.INFO: Processing buffer {"connection_id":163488,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:48:56] local.INFO: IMEI packet received {"connection_id":163488,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 14:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":163488,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:49:02] local.INFO: TCP Data received {"connection_id":163488,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163488,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:49:02] local.INFO: Processing buffer {"connection_id":163488,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:49:02] local.INFO: IMEI packet received {"connection_id":163488,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 14:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":163488,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:49:04] local.INFO: TCP Data received {"connection_id":163488,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047a546a8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a546a8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:49:04] local.INFO: Processing buffer {"connection_id":163488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a546a8012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:49:04] local.INFO: Packet analysis {"connection_id":163488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a5"} 
[2026-08-28 14:49:04] local.INFO: Extracted packet for processing {"connection_id":163488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a5"} 
[2026-08-28 14:49:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704475648001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:49:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787908409000,"timestamp_ms":1787908409000,"timestamp_seconds":1787908409,"priority":1,"record_length":96,"hex_timestamp":"000001a047a546a8"} 
[2026-08-28 14:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:49:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 14:49:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:49:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":163488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":163488,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":163488,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704475648001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704475648001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:49:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:49:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704475648001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:49:04] 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":708065,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:49:04] local.INFO: GPS data processed {"connection_id":163488,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:49:04] local.INFO: Acknowledgment sent {"connection_id":163488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:49:09] local.INFO: TCP Data received {"connection_id":164754,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047a75600012d34c14006aa4840001000e62a..."} 
[2026-08-28 14:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a75600012d34c14006aa4840001000e62a..."} 
[2026-08-28 14:49:09] local.INFO: Processing buffer {"connection_id":164754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a75600012d34c14006aa4840001000e62a..."} 
[2026-08-28 14:49:09] local.INFO: Packet analysis {"connection_id":164754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a7"} 
[2026-08-28 14:49:09] local.INFO: Extracted packet for processing {"connection_id":164754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a7"} 
[2026-08-28 14:49:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704510208001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:49:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787908544000,"timestamp_ms":1787908544000,"timestamp_seconds":1787908544,"priority":1,"record_length":96,"hex_timestamp":"000001a047a75600"} 
[2026-08-28 14:49:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:49: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-28 14:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:49: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-28 14:49:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:49:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:49:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704510208001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704510208001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:49:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:49:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:49: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-28 14:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704510208001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:49:09] 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":708066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:49:09] local.INFO: GPS data processed {"connection_id":164754,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:49:09] local.INFO: Acknowledgment sent {"connection_id":164754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:49:11] local.INFO: TCP Data received {"connection_id":163489,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163489,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:49:11] local.INFO: Processing buffer {"connection_id":163489,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:49:11] local.INFO: IMEI packet received {"connection_id":163489,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 14:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":163489,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:49:16] local.INFO: TCP Data received {"connection_id":163489,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163489,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:49:16] local.INFO: Processing buffer {"connection_id":163489,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:49:16] local.INFO: IMEI packet received {"connection_id":163489,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 14:49:16] local.INFO: IMEI acknowledgment sent {"connection_id":163489,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:49:17] local.INFO: TCP Data received {"connection_id":163489,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047a71b68012d1967c0071fed70003701182a..."} 
[2026-08-28 14:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a71b68012d1967c0071fed70003701182a..."} 
[2026-08-28 14:49:17] local.INFO: Processing buffer {"connection_id":163489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a71b68012d1967c0071fed70003701182a..."} 
[2026-08-28 14:49:17] local.INFO: Packet analysis {"connection_id":163489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a7"} 
[2026-08-28 14:49:17] local.INFO: Extracted packet for processing {"connection_id":163489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a7"} 
[2026-08-28 14:49:17] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:49:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704578048001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:49:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:49:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:49:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:49:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787908529000,"timestamp_ms":1787908529000,"timestamp_seconds":1787908529,"priority":1,"record_length":96,"hex_timestamp":"000001a047a71b68"} 
[2026-08-28 14: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-28 14:49:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 14:49:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14: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-28 14:49:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:49:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:49:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:49:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:49:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:49:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:49:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:49:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704578048001,"66":12341,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:49:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:49:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:49:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704578048001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:49:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:49:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:49:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:49:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:49:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704578048001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:49:18] local.INFO: DEBUG: GPS processor result {"connection_id":163489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708067,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:49:18] local.INFO: GPS data processed {"connection_id":163489,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:49:18] local.INFO: Acknowledgment sent {"connection_id":163489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:49:30] local.INFO: TCP Data received {"connection_id":163490,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:49:30] local.INFO: Processing buffer {"connection_id":163490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:49:30] local.INFO: IMEI packet received {"connection_id":163490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 14:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":163490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:49:35] local.INFO: TCP Data received {"connection_id":163488,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047a9de70012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a9de70012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:49:35] local.INFO: Processing buffer {"connection_id":163488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a9de70012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:49:35] local.INFO: Packet analysis {"connection_id":163488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a9"} 
[2026-08-28 14:49:35] local.INFO: Extracted packet for processing {"connection_id":163488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a9"} 
[2026-08-28 14:49:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:49:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704552704001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:49:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:49:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:49:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:49:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787908710000,"timestamp_ms":1787908710000,"timestamp_seconds":1787908710,"priority":1,"record_length":96,"hex_timestamp":"000001a047a9de70"} 
[2026-08-28 14:49:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:49:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:49:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:49:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:49:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:49:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:49:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:49:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163488,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:49:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163488,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:49:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:49:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:49:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:49:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704552704001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:49:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:49:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:49:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704552704001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:49:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:49:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:49:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:49:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:49:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704552704001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:49:35] 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":708068,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:49:35] local.INFO: GPS data processed {"connection_id":163488,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:49:35] local.INFO: Acknowledgment sent {"connection_id":163488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:49:36] local.INFO: TCP Data received {"connection_id":163490,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:49:36] local.INFO: Processing buffer {"connection_id":163490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:49:36] local.INFO: IMEI packet received {"connection_id":163490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 14:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":163490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:49:38] local.INFO: TCP Data received {"connection_id":163490,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047a75600012d34c14006aa4840001000e62a..."} 
[2026-08-28 14:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a75600012d34c14006aa4840001000e62a..."} 
[2026-08-28 14:49:38] local.INFO: Processing buffer {"connection_id":163490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a75600012d34c14006aa4840001000e62a..."} 
[2026-08-28 14:49:38] local.INFO: Packet analysis {"connection_id":163490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a7"} 
[2026-08-28 14:49:38] local.INFO: Extracted packet for processing {"connection_id":163490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a7"} 
[2026-08-28 14:49:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704510208001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:49:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787908544000,"timestamp_ms":1787908544000,"timestamp_seconds":1787908544,"priority":1,"record_length":96,"hex_timestamp":"000001a047a75600"} 
[2026-08-28 14:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:49: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-28 14:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:49: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-28 14:49:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:49:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704510208001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704510208001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:49:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:49:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:49: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-28 14:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704510208001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:49:38] 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":708069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:49:38] local.INFO: GPS data processed {"connection_id":163490,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:49:38] local.INFO: Acknowledgment sent {"connection_id":163490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:49:49] local.INFO: TCP Data received {"connection_id":163489,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047a76d70012d1967c0071fed700037011829..."} 
[2026-08-28 14:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a76d70012d1967c0071fed700037011829..."} 
[2026-08-28 14:49:49] local.INFO: Processing buffer {"connection_id":163489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a76d70012d1967c0071fed700037011829..."} 
[2026-08-28 14:49:49] local.INFO: Packet analysis {"connection_id":163489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a7"} 
[2026-08-28 14:49:49] local.INFO: Extracted packet for processing {"connection_id":163489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a7"} 
[2026-08-28 14:49:49] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:49:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704583424001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:49:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:49:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:49:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:49:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787908550000,"timestamp_ms":1787908550000,"timestamp_seconds":1787908550,"priority":1,"record_length":96,"hex_timestamp":"000001a047a76d70"} 
[2026-08-28 14: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-28 14:49:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 14:49:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14: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-28 14:49:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:49:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:49:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:49:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:49:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:49:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:49:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:49:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704583424001,"66":12374,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:49:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:49:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:49:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704583424001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:49:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:49:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:49:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:49:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:49:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704583424001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:49:49] local.INFO: DEBUG: GPS processor result {"connection_id":163489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708070,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:49:49] local.INFO: GPS data processed {"connection_id":163489,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:49:49] local.INFO: Acknowledgment sent {"connection_id":163489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:49:56] local.INFO: TCP Data received {"connection_id":163491,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163491,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:49:56] local.INFO: Processing buffer {"connection_id":163491,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:49:56] local.INFO: IMEI packet received {"connection_id":163491,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 14:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":163491,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:50:02] local.INFO: TCP Data received {"connection_id":163491,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163491,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:50:02] local.INFO: Processing buffer {"connection_id":163491,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:50:02] local.INFO: IMEI packet received {"connection_id":163491,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 14:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":163491,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:50:03] local.INFO: TCP Data received {"connection_id":163491,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047a9de70012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a9de70012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:50:03] local.INFO: Processing buffer {"connection_id":163491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a9de70012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:50:03] local.INFO: Packet analysis {"connection_id":163491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a9"} 
[2026-08-28 14:50:03] local.INFO: Extracted packet for processing {"connection_id":163491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a9"} 
[2026-08-28 14:50:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704552704001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:50:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787908710000,"timestamp_ms":1787908710000,"timestamp_seconds":1787908710,"priority":1,"record_length":96,"hex_timestamp":"000001a047a9de70"} 
[2026-08-28 14:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:50:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:50:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:50:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163491,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163491,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704552704001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704552704001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:50:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:50:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704552704001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:50:03] 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":708071,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:50:03] local.INFO: GPS data processed {"connection_id":163491,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:50:03] local.INFO: Acknowledgment sent {"connection_id":163491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:50:09] local.INFO: TCP Data received {"connection_id":163490,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047a75600012d34c14006aa4840001000e62a..."} 
[2026-08-28 14:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a75600012d34c14006aa4840001000e62a..."} 
[2026-08-28 14:50:09] local.INFO: Processing buffer {"connection_id":163490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a75600012d34c14006aa4840001000e62a..."} 
[2026-08-28 14:50:09] local.INFO: Packet analysis {"connection_id":163490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a7"} 
[2026-08-28 14:50:09] local.INFO: Extracted packet for processing {"connection_id":163490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a7"} 
[2026-08-28 14:50:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704510208001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:50:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787908544000,"timestamp_ms":1787908544000,"timestamp_seconds":1787908544,"priority":1,"record_length":96,"hex_timestamp":"000001a047a75600"} 
[2026-08-28 14:50:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:50:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:50:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:50:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:50:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:50:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704510208001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704510208001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:50:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:50:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:50: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-28 14:50:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704510208001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:50:09] 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":708072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:50:09] local.INFO: GPS data processed {"connection_id":163490,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:50:09] local.INFO: Acknowledgment sent {"connection_id":163490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:50:11] local.INFO: TCP Data received {"connection_id":166109,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:50:11] local.INFO: Processing buffer {"connection_id":166109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:50:11] local.INFO: IMEI packet received {"connection_id":166109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 14:50:11] local.INFO: IMEI acknowledgment sent {"connection_id":166109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:50:16] local.INFO: TCP Data received {"connection_id":166109,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:50:16] local.INFO: Processing buffer {"connection_id":166109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:50:16] local.INFO: IMEI packet received {"connection_id":166109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 14:50:16] local.INFO: IMEI acknowledgment sent {"connection_id":166109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:50:17] local.INFO: TCP Data received {"connection_id":166109,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047a7bf78012d1967c0071fed700037011829..."} 
[2026-08-28 14:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a7bf78012d1967c0071fed700037011829..."} 
[2026-08-28 14:50:17] local.INFO: Processing buffer {"connection_id":166109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a7bf78012d1967c0071fed700037011829..."} 
[2026-08-28 14:50:17] local.INFO: Packet analysis {"connection_id":166109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a7"} 
[2026-08-28 14:50:17] local.INFO: Extracted packet for processing {"connection_id":166109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a7"} 
[2026-08-28 14:50:17] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:50:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704588800001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:50:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:50:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:50:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:50:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787908571000,"timestamp_ms":1787908571000,"timestamp_seconds":1787908571,"priority":1,"record_length":96,"hex_timestamp":"000001a047a7bf78"} 
[2026-08-28 14: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-28 14:50:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 14:50:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14: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-28 14:50:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:50:17] local.INFO: Teltonika packet parsed successfully {"connection_id":166109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:50:17] local.INFO: Passing IMEI to GPS processor {"connection_id":166109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:50:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":166109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:50:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:50:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:50:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:50:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704588800001,"66":12374,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:50:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:50:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:50:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704588800001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:50:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:50:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:50:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:50:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:50:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704588800001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:50:17] local.INFO: DEBUG: GPS processor result {"connection_id":166109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708073,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:50:17] local.INFO: GPS data processed {"connection_id":166109,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:50:17] local.INFO: Acknowledgment sent {"connection_id":166109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:50:30] local.INFO: TCP Data received {"connection_id":166110,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:50:30] local.INFO: Processing buffer {"connection_id":166110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:50:30] local.INFO: IMEI packet received {"connection_id":166110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 14:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":166110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:50:35] local.INFO: TCP Data received {"connection_id":163491,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047a9de70012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a9de70012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:50:35] local.INFO: Processing buffer {"connection_id":163491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a9de70012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:50:35] local.INFO: Packet analysis {"connection_id":163491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a9"} 
[2026-08-28 14:50:35] local.INFO: Extracted packet for processing {"connection_id":163491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a9"} 
[2026-08-28 14:50:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704552704001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:50:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787908710000,"timestamp_ms":1787908710000,"timestamp_seconds":1787908710,"priority":1,"record_length":96,"hex_timestamp":"000001a047a9de70"} 
[2026-08-28 14:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:50:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:50:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:50:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163491,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163491,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704552704001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704552704001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:50:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:50:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:50:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704552704001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:50:35] 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":708074,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:50:35] local.INFO: GPS data processed {"connection_id":163491,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:50:35] local.INFO: Acknowledgment sent {"connection_id":163491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:50:36] local.INFO: TCP Data received {"connection_id":166110,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:50:36] local.INFO: Processing buffer {"connection_id":166110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:50:36] local.INFO: IMEI packet received {"connection_id":166110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 14:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":166110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:50:38] local.INFO: TCP Data received {"connection_id":166110,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047a75600012d34c14006aa4840001000e62a..."} 
[2026-08-28 14:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a75600012d34c14006aa4840001000e62a..."} 
[2026-08-28 14:50:38] local.INFO: Processing buffer {"connection_id":166110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a75600012d34c14006aa4840001000e62a..."} 
[2026-08-28 14:50:38] local.INFO: Packet analysis {"connection_id":166110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a7"} 
[2026-08-28 14:50:38] local.INFO: Extracted packet for processing {"connection_id":166110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a7"} 
[2026-08-28 14:50:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704510208001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787908544000,"timestamp_ms":1787908544000,"timestamp_seconds":1787908544,"priority":1,"record_length":96,"hex_timestamp":"000001a047a75600"} 
[2026-08-28 14:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:50: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-28 14:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:50: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-28 14:50:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":166110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":166110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":166110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704510208001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704510208001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:50:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:50:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:50: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-28 14:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704510208001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":166110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:50:38] local.INFO: GPS data processed {"connection_id":166110,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:50:38] local.INFO: Acknowledgment sent {"connection_id":166110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:50:49] local.INFO: TCP Data received {"connection_id":166109,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047a81180012d1967c0071fed70003701182b..."} 
[2026-08-28 14:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a81180012d1967c0071fed70003701182b..."} 
[2026-08-28 14:50:49] local.INFO: Processing buffer {"connection_id":166109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a81180012d1967c0071fed70003701182b..."} 
[2026-08-28 14:50:49] local.INFO: Packet analysis {"connection_id":166109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a8"} 
[2026-08-28 14:50:49] local.INFO: Extracted packet for processing {"connection_id":166109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a8"} 
[2026-08-28 14:50:49] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:50:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704594176001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:50:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:50:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:50:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:50:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787908592000,"timestamp_ms":1787908592000,"timestamp_seconds":1787908592,"priority":1,"record_length":96,"hex_timestamp":"000001a047a81180"} 
[2026-08-28 14:50:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:50:49] 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-28 14:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 14:50:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:50:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:50:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:50:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:50:49] local.INFO: Teltonika packet parsed successfully {"connection_id":166109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:50:49] local.INFO: Passing IMEI to GPS processor {"connection_id":166109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:50:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":166109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:50:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:50:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:50:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:50:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704594176001,"66":12385,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:50:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:50:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:50:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704594176001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:50:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:50:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:50:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:50:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:50:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704594176001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:50:49] local.INFO: DEBUG: GPS processor result {"connection_id":166109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708076,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:50:49] local.INFO: GPS data processed {"connection_id":166109,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:50:49] local.INFO: Acknowledgment sent {"connection_id":166109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:50:57] local.INFO: TCP Data received {"connection_id":163492,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163492,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:50:57] local.INFO: Processing buffer {"connection_id":163492,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:50:57] local.INFO: IMEI packet received {"connection_id":163492,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 14:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":163492,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:51:02] local.INFO: TCP Data received {"connection_id":163492,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163492,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:51:02] local.INFO: Processing buffer {"connection_id":163492,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:51:02] local.INFO: IMEI packet received {"connection_id":163492,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 14:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":163492,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:51:04] local.INFO: TCP Data received {"connection_id":163492,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047a9de70012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a9de70012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:51:04] local.INFO: Processing buffer {"connection_id":163492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a9de70012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:51:04] local.INFO: Packet analysis {"connection_id":163492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a9"} 
[2026-08-28 14:51:04] local.INFO: Extracted packet for processing {"connection_id":163492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a9"} 
[2026-08-28 14:51:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704552704001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:51:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787908710000,"timestamp_ms":1787908710000,"timestamp_seconds":1787908710,"priority":1,"record_length":96,"hex_timestamp":"000001a047a9de70"} 
[2026-08-28 14:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:51:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:51:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:51:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":163492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":163492,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":163492,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:51:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704552704001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704552704001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:51:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:51:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704552704001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:51:04] 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":708077,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:51:04] local.INFO: GPS data processed {"connection_id":163492,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:51:04] local.INFO: Acknowledgment sent {"connection_id":163492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:51:10] local.INFO: TCP Data received {"connection_id":166110,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047a75600012d34c14006aa4840001000e62a..."} 
[2026-08-28 14:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a75600012d34c14006aa4840001000e62a..."} 
[2026-08-28 14:51:10] local.INFO: Processing buffer {"connection_id":166110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a75600012d34c14006aa4840001000e62a..."} 
[2026-08-28 14:51:10] local.INFO: Packet analysis {"connection_id":166110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a7"} 
[2026-08-28 14:51:10] local.INFO: Extracted packet for processing {"connection_id":166110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a7"} 
[2026-08-28 14:51:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704510208001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:51:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:51:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787908544000,"timestamp_ms":1787908544000,"timestamp_seconds":1787908544,"priority":1,"record_length":96,"hex_timestamp":"000001a047a75600"} 
[2026-08-28 14:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:51:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:51:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:51:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":166110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":166110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":166110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:51:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704510208001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704510208001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:51:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:51:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:51:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704510208001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":166110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:51:10] local.INFO: GPS data processed {"connection_id":166110,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:51:10] local.INFO: Acknowledgment sent {"connection_id":166110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:51:11] local.INFO: TCP Data received {"connection_id":163756,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:51:11] local.INFO: Processing buffer {"connection_id":163756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:51:11] local.INFO: IMEI packet received {"connection_id":163756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 14:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":163756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:51:16] local.INFO: TCP Data received {"connection_id":163756,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:51:16] local.INFO: Processing buffer {"connection_id":163756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:51:16] local.INFO: IMEI packet received {"connection_id":163756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 14:51:16] local.INFO: IMEI acknowledgment sent {"connection_id":163756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:51:17] local.INFO: TCP Data received {"connection_id":163756,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047a86388012d1967c0071fed700037011827..."} 
[2026-08-28 14:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a86388012d1967c0071fed700037011827..."} 
[2026-08-28 14:51:17] local.INFO: Processing buffer {"connection_id":163756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a86388012d1967c0071fed700037011827..."} 
[2026-08-28 14:51:17] local.INFO: Packet analysis {"connection_id":163756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a8"} 
[2026-08-28 14:51:17] local.INFO: Extracted packet for processing {"connection_id":163756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a8"} 
[2026-08-28 14:51:17] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:51:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704599552001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:51:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:51:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:51:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:51:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787908613000,"timestamp_ms":1787908613000,"timestamp_seconds":1787908613,"priority":1,"record_length":96,"hex_timestamp":"000001a047a86388"} 
[2026-08-28 14: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-28 14:51:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 14:51:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14: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-28 14:51:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:51:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:51:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:51:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:51:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:51:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:51:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:51:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704599552001,"66":12374,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:51:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:51:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:51:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704599552001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:51:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:51:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:51:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:51:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:51:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704599552001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:51:17] 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":708079,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:51:17] local.INFO: GPS data processed {"connection_id":163756,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:51:17] local.INFO: Acknowledgment sent {"connection_id":163756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:51:30] local.INFO: TCP Data received {"connection_id":164755,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:51:30] local.INFO: Processing buffer {"connection_id":164755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:51:30] local.INFO: IMEI packet received {"connection_id":164755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 14:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":164755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:51:35] local.INFO: TCP Data received {"connection_id":163492,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047a9de70012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a9de70012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:51:35] local.INFO: Processing buffer {"connection_id":163492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a9de70012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:51:35] local.INFO: Packet analysis {"connection_id":163492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a9"} 
[2026-08-28 14:51:35] local.INFO: Extracted packet for processing {"connection_id":163492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a9"} 
[2026-08-28 14:51:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:51:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704552704001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:51:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:51:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:51:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:51:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787908710000,"timestamp_ms":1787908710000,"timestamp_seconds":1787908710,"priority":1,"record_length":96,"hex_timestamp":"000001a047a9de70"} 
[2026-08-28 14:51:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:51:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:51:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:51:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:51:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:51:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:51:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:51:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163492,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:51:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163492,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:51:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:51:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:51:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:51:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704552704001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:51:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:51:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:51:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704552704001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:51:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:51:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:51:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:51:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:51:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704552704001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:51:35] 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":708080,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:51:35] local.INFO: GPS data processed {"connection_id":163492,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:51:35] local.INFO: Acknowledgment sent {"connection_id":163492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:51:36] local.INFO: TCP Data received {"connection_id":164755,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:51:36] local.INFO: Processing buffer {"connection_id":164755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:51:36] local.INFO: IMEI packet received {"connection_id":164755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 14:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":164755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:51:37] local.INFO: TCP Data received {"connection_id":164755,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047abedc8012d34c14006aa4840001300e628..."} 
[2026-08-28 14:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047abedc8012d34c14006aa4840001300e628..."} 
[2026-08-28 14:51:37] local.INFO: Processing buffer {"connection_id":164755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047abedc8012d34c14006aa4840001300e628..."} 
[2026-08-28 14:51:37] local.INFO: Packet analysis {"connection_id":164755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ab"} 
[2026-08-28 14:51:37] local.INFO: Extracted packet for processing {"connection_id":164755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ab"} 
[2026-08-28 14:51:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":19,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704587264001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787908845000,"timestamp_ms":1787908845000,"timestamp_seconds":1787908845,"priority":1,"record_length":96,"hex_timestamp":"000001a047abedc8"} 
[2026-08-28 14:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 14:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704587264001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704587264001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:51:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:51:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:51: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-28 14:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704587264001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":164755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:51:37] local.INFO: GPS data processed {"connection_id":164755,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:51:37] local.INFO: Acknowledgment sent {"connection_id":164755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:51:49] local.INFO: TCP Data received {"connection_id":163756,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047a8b590012d1967c0071fed700037011828..."} 
[2026-08-28 14:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a8b590012d1967c0071fed700037011828..."} 
[2026-08-28 14:51:49] local.INFO: Processing buffer {"connection_id":163756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a8b590012d1967c0071fed700037011828..."} 
[2026-08-28 14:51:49] local.INFO: Packet analysis {"connection_id":163756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a8"} 
[2026-08-28 14:51:49] local.INFO: Extracted packet for processing {"connection_id":163756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a8"} 
[2026-08-28 14:51:49] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704604928001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:51:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:51:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:51:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:51:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787908634000,"timestamp_ms":1787908634000,"timestamp_seconds":1787908634,"priority":1,"record_length":96,"hex_timestamp":"000001a047a8b590"} 
[2026-08-28 14: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-28 14:51:49] 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-28 14:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 14:51:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14: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-28 14:51:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:51:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:51:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:51:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:51:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:51:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:51:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:51:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704604928001,"66":11667,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:51:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:51:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:51:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704604928001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:51:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:51:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:51:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:51:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:51:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704604928001,"power":11667,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:51:49] 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":708082,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:51:49] local.INFO: GPS data processed {"connection_id":163756,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:51:49] local.INFO: Acknowledgment sent {"connection_id":163756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:51:56] local.INFO: TCP Data received {"connection_id":166111,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166111,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:51:56] local.INFO: Processing buffer {"connection_id":166111,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:51:56] local.INFO: IMEI packet received {"connection_id":166111,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 14:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":166111,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:52:02] local.INFO: TCP Data received {"connection_id":166111,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166111,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:52:02] local.INFO: Processing buffer {"connection_id":166111,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:52:02] local.INFO: IMEI packet received {"connection_id":166111,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 14:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":166111,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:52:04] local.INFO: TCP Data received {"connection_id":166111,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047a9de70012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a9de70012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:52:04] local.INFO: Processing buffer {"connection_id":166111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a9de70012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:52:04] local.INFO: Packet analysis {"connection_id":166111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a9"} 
[2026-08-28 14:52:04] local.INFO: Extracted packet for processing {"connection_id":166111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a9"} 
[2026-08-28 14:52:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704552704001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787908710000,"timestamp_ms":1787908710000,"timestamp_seconds":1787908710,"priority":1,"record_length":96,"hex_timestamp":"000001a047a9de70"} 
[2026-08-28 14:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:52:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:52:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:52:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":166111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":166111,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":166111,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704552704001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704552704001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:52:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:52:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704552704001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":166111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708083,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:52:04] local.INFO: GPS data processed {"connection_id":166111,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:52:04] local.INFO: Acknowledgment sent {"connection_id":166111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:52:09] local.INFO: TCP Data received {"connection_id":164755,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047abedc8012d34c14006aa4840001300e628..."} 
[2026-08-28 14:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047abedc8012d34c14006aa4840001300e628..."} 
[2026-08-28 14:52:09] local.INFO: Processing buffer {"connection_id":164755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047abedc8012d34c14006aa4840001300e628..."} 
[2026-08-28 14:52:09] local.INFO: Packet analysis {"connection_id":164755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ab"} 
[2026-08-28 14:52:09] local.INFO: Extracted packet for processing {"connection_id":164755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ab"} 
[2026-08-28 14:52:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":19,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704587264001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:52:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:52:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787908845000,"timestamp_ms":1787908845000,"timestamp_seconds":1787908845,"priority":1,"record_length":96,"hex_timestamp":"000001a047abedc8"} 
[2026-08-28 14:52:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:52:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 14:52:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:52:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:52:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:52:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704587264001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704587264001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:52:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:52:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:52: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-28 14:52:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704587264001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":164755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:52:09] local.INFO: GPS data processed {"connection_id":164755,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:52:09] local.INFO: Acknowledgment sent {"connection_id":164755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:52:11] local.INFO: TCP Data received {"connection_id":166112,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166112,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:52:11] local.INFO: Processing buffer {"connection_id":166112,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:52:11] local.INFO: IMEI packet received {"connection_id":166112,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 14:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":166112,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:52:16] local.INFO: TCP Data received {"connection_id":166112,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166112,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:52:16] local.INFO: Processing buffer {"connection_id":166112,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:52:16] local.INFO: IMEI packet received {"connection_id":166112,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 14:52:16] local.INFO: IMEI acknowledgment sent {"connection_id":166112,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:52:17] local.INFO: TCP Data received {"connection_id":166112,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047a90798012d1967c0071fed70003701182a..."} 
[2026-08-28 14:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a90798012d1967c0071fed70003701182a..."} 
[2026-08-28 14:52:17] local.INFO: Processing buffer {"connection_id":166112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a90798012d1967c0071fed70003701182a..."} 
[2026-08-28 14:52:17] local.INFO: Packet analysis {"connection_id":166112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a9"} 
[2026-08-28 14:52:17] local.INFO: Extracted packet for processing {"connection_id":166112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a9"} 
[2026-08-28 14:52:17] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704610304001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:52:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:52:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787908655000,"timestamp_ms":1787908655000,"timestamp_seconds":1787908655,"priority":1,"record_length":96,"hex_timestamp":"000001a047a90798"} 
[2026-08-28 14:52:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:52:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-28 14:52:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1746,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:52:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:52:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":166112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":166112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":166112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:52:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704610304001,"66":12319,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704610304001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:52:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:52:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:52:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704610304001,"power":12319,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":166112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708085,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:52:17] local.INFO: GPS data processed {"connection_id":166112,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:52:17] local.INFO: Acknowledgment sent {"connection_id":166112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:52:31] local.INFO: TCP Data received {"connection_id":163757,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:52:31] local.INFO: Processing buffer {"connection_id":163757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:52:31] local.INFO: IMEI packet received {"connection_id":163757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 14:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":163757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:52:36] local.INFO: TCP Data received {"connection_id":163757,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:52:36] local.INFO: Processing buffer {"connection_id":163757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:52:36] local.INFO: IMEI packet received {"connection_id":163757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 14:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":163757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:52:36] local.INFO: TCP Data received {"connection_id":166111,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047a9de70012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a9de70012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:52:36] local.INFO: Processing buffer {"connection_id":166111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a9de70012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:52:36] local.INFO: Packet analysis {"connection_id":166111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a9"} 
[2026-08-28 14:52:36] local.INFO: Extracted packet for processing {"connection_id":166111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a9"} 
[2026-08-28 14:52:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704552704001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:52:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:52:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787908710000,"timestamp_ms":1787908710000,"timestamp_seconds":1787908710,"priority":1,"record_length":96,"hex_timestamp":"000001a047a9de70"} 
[2026-08-28 14:52:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:52:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:52:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:52:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:52:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":166111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":166111,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":166111,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:52:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704552704001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704552704001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:52:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:52:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:52:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704552704001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":166111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708086,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:52:36] local.INFO: GPS data processed {"connection_id":166111,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:52:36] local.INFO: Acknowledgment sent {"connection_id":166111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:52:37] local.INFO: TCP Data received {"connection_id":163757,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047abedc8012d34c14006aa4840001300e628..."} 
[2026-08-28 14:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047abedc8012d34c14006aa4840001300e628..."} 
[2026-08-28 14:52:37] local.INFO: Processing buffer {"connection_id":163757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047abedc8012d34c14006aa4840001300e628..."} 
[2026-08-28 14:52:37] local.INFO: Packet analysis {"connection_id":163757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ab"} 
[2026-08-28 14:52:37] local.INFO: Extracted packet for processing {"connection_id":163757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ab"} 
[2026-08-28 14:52:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":19,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704587264001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787908845000,"timestamp_ms":1787908845000,"timestamp_seconds":1787908845,"priority":1,"record_length":96,"hex_timestamp":"000001a047abedc8"} 
[2026-08-28 14:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 14:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704587264001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704587264001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:52:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:52:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:52: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-28 14:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704587264001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":163757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:52:37] local.INFO: GPS data processed {"connection_id":163757,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:52:37] local.INFO: Acknowledgment sent {"connection_id":163757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:52:49] local.INFO: TCP Data received {"connection_id":166112,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047ac8df0012d1967c0071fed70003701182a..."} 
[2026-08-28 14:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ac8df0012d1967c0071fed70003701182a..."} 
[2026-08-28 14:52:49] local.INFO: Processing buffer {"connection_id":166112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ac8df0012d1967c0071fed70003701182a..."} 
[2026-08-28 14:52:49] local.INFO: Packet analysis {"connection_id":166112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ac"} 
[2026-08-28 14:52:49] local.INFO: Extracted packet for processing {"connection_id":166112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ac"} 
[2026-08-28 14:52:49] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:52:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704669440001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:52:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:52:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:52:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:52:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787908886000,"timestamp_ms":1787908886000,"timestamp_seconds":1787908886,"priority":1,"record_length":96,"hex_timestamp":"000001a047ac8df0"} 
[2026-08-28 14: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-28 14:52:49] 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-28 14: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 14:52:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14: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-28 14:52:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:52:49] local.INFO: Teltonika packet parsed successfully {"connection_id":166112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:52:49] local.INFO: Passing IMEI to GPS processor {"connection_id":166112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:52:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":166112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:52:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:52:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:52:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:52:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704669440001,"66":12374,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:52:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:52:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:52:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704669440001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:52:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:52:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:52:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:52:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:52:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704669440001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:52:49] local.INFO: DEBUG: GPS processor result {"connection_id":166112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708088,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:52:49] local.INFO: GPS data processed {"connection_id":166112,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:52:49] local.INFO: Acknowledgment sent {"connection_id":166112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:52:56] local.INFO: TCP Data received {"connection_id":163493,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163493,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:52:56] local.INFO: Processing buffer {"connection_id":163493,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:52:56] local.INFO: IMEI packet received {"connection_id":163493,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 14:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":163493,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:53:02] local.INFO: TCP Data received {"connection_id":163493,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163493,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:53:02] local.INFO: Processing buffer {"connection_id":163493,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:53:02] local.INFO: IMEI packet received {"connection_id":163493,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 14:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":163493,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:53:04] local.INFO: TCP Data received {"connection_id":163493,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047a9de70012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a9de70012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:53:04] local.INFO: Processing buffer {"connection_id":163493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a9de70012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:53:04] local.INFO: Packet analysis {"connection_id":163493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a9"} 
[2026-08-28 14:53:04] local.INFO: Extracted packet for processing {"connection_id":163493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a9"} 
[2026-08-28 14:53:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704552704001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:53:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787908710000,"timestamp_ms":1787908710000,"timestamp_seconds":1787908710,"priority":1,"record_length":96,"hex_timestamp":"000001a047a9de70"} 
[2026-08-28 14:53:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:53:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:53:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:53:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:53:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":163493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":163493,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":163493,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:53:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704552704001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704552704001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:53:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:53:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:53:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:53:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704552704001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:53:04] 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":708089,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:53:04] local.INFO: GPS data processed {"connection_id":163493,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:53:04] local.INFO: Acknowledgment sent {"connection_id":163493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:53:09] local.INFO: TCP Data received {"connection_id":163757,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047abedc8012d34c14006aa4840001300e628..."} 
[2026-08-28 14:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047abedc8012d34c14006aa4840001300e628..."} 
[2026-08-28 14:53:09] local.INFO: Processing buffer {"connection_id":163757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047abedc8012d34c14006aa4840001300e628..."} 
[2026-08-28 14:53:09] local.INFO: Packet analysis {"connection_id":163757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ab"} 
[2026-08-28 14:53:09] local.INFO: Extracted packet for processing {"connection_id":163757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ab"} 
[2026-08-28 14:53:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":19,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704587264001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:53:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:53:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787908845000,"timestamp_ms":1787908845000,"timestamp_seconds":1787908845,"priority":1,"record_length":96,"hex_timestamp":"000001a047abedc8"} 
[2026-08-28 14:53:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:53:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 14:53:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:53:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:53:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:53:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704587264001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704587264001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:53:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:53:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:53: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-28 14:53:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704587264001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":163757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:53:09] local.INFO: GPS data processed {"connection_id":163757,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:53:09] local.INFO: Acknowledgment sent {"connection_id":163757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:53:16] local.INFO: TCP Data received {"connection_id":164756,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:53:16] local.INFO: Processing buffer {"connection_id":164756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:53:16] local.INFO: IMEI packet received {"connection_id":164756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 14:53:16] local.INFO: IMEI acknowledgment sent {"connection_id":164756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:53:21] local.INFO: TCP Data received {"connection_id":164756,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:53:21] local.INFO: Processing buffer {"connection_id":164756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:53:21] local.INFO: IMEI packet received {"connection_id":164756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 14:53:21] local.INFO: IMEI acknowledgment sent {"connection_id":164756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:53:22] local.INFO: TCP Data received {"connection_id":164756,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047acdff8012d1967c0071fed700037011829..."} 
[2026-08-28 14:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047acdff8012d1967c0071fed700037011829..."} 
[2026-08-28 14:53:22] local.INFO: Processing buffer {"connection_id":164756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047acdff8012d1967c0071fed700037011829..."} 
[2026-08-28 14:53:22] local.INFO: Packet analysis {"connection_id":164756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ac"} 
[2026-08-28 14:53:22] local.INFO: Extracted packet for processing {"connection_id":164756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ac"} 
[2026-08-28 14:53:22] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:53:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704674816001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:53:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:53:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:53:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:53:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787908907000,"timestamp_ms":1787908907000,"timestamp_seconds":1787908907,"priority":1,"record_length":96,"hex_timestamp":"000001a047acdff8"} 
[2026-08-28 14: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-28 14:53:22] 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-28 14: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 14:53:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14: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-28 14:53:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:53:22] local.INFO: Teltonika packet parsed successfully {"connection_id":164756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:53:22] local.INFO: Passing IMEI to GPS processor {"connection_id":164756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:53:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":164756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:53:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:53:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:53:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:53:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704674816001,"66":12374,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:53:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:53:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:53:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704674816001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:53:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:53:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:53:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:53:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:53:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704674816001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:53:22] 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":708091,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:53:22] local.INFO: GPS data processed {"connection_id":164756,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:53:22] local.INFO: Acknowledgment sent {"connection_id":164756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:53:27] local.INFO: TCP Data received {"connection_id":164756,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047ad3200012d1967c0071fed70003701182a..."} 
[2026-08-28 14:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ad3200012d1967c0071fed70003701182a..."} 
[2026-08-28 14:53:27] local.INFO: Processing buffer {"connection_id":164756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ad3200012d1967c0071fed70003701182a..."} 
[2026-08-28 14:53:27] local.INFO: Packet analysis {"connection_id":164756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ad"} 
[2026-08-28 14:53:27] local.INFO: Extracted packet for processing {"connection_id":164756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ad"} 
[2026-08-28 14:53:27] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:53:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704680192001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:53:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:53:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:53:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:53:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787908928000,"timestamp_ms":1787908928000,"timestamp_seconds":1787908928,"priority":1,"record_length":96,"hex_timestamp":"000001a047ad3200"} 
[2026-08-28 14:53:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:53:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 14:53:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:53:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:53:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:53:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:53:27] local.INFO: Teltonika packet parsed successfully {"connection_id":164756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:53:27] local.INFO: Passing IMEI to GPS processor {"connection_id":164756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:53:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":164756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:53:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:53:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:53:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:53:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704680192001,"66":12374,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:53:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:53:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:53:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704680192001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:53:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:53:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:53:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:53:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:53:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704680192001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:53:27] 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":708092,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:53:27] local.INFO: GPS data processed {"connection_id":164756,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:53:27] local.INFO: Acknowledgment sent {"connection_id":164756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:53:30] local.INFO: TCP Data received {"connection_id":163758,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:53:30] local.INFO: Processing buffer {"connection_id":163758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:53:30] local.INFO: IMEI packet received {"connection_id":163758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 14:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":163758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:53:36] local.INFO: TCP Data received {"connection_id":163758,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:53:36] local.INFO: Processing buffer {"connection_id":163758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:53:36] local.INFO: IMEI packet received {"connection_id":163758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 14:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":163758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:53:36] local.INFO: TCP Data received {"connection_id":163493,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047a9de70012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a9de70012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:53:36] local.INFO: Processing buffer {"connection_id":163493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a9de70012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:53:36] local.INFO: Packet analysis {"connection_id":163493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a9"} 
[2026-08-28 14:53:36] local.INFO: Extracted packet for processing {"connection_id":163493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a9"} 
[2026-08-28 14:53:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704552704001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787908710000,"timestamp_ms":1787908710000,"timestamp_seconds":1787908710,"priority":1,"record_length":96,"hex_timestamp":"000001a047a9de70"} 
[2026-08-28 14:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:53:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:53:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163493,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163493,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704552704001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704552704001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:53:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:53:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704552704001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:53:36] 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":708093,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:53:36] local.INFO: GPS data processed {"connection_id":163493,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:53:36] local.INFO: Acknowledgment sent {"connection_id":163493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:53:37] local.INFO: TCP Data received {"connection_id":163758,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047abedc8012d34c14006aa4840001300e628..."} 
[2026-08-28 14:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047abedc8012d34c14006aa4840001300e628..."} 
[2026-08-28 14:53:37] local.INFO: Processing buffer {"connection_id":163758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047abedc8012d34c14006aa4840001300e628..."} 
[2026-08-28 14:53:37] local.INFO: Packet analysis {"connection_id":163758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ab"} 
[2026-08-28 14:53:37] local.INFO: Extracted packet for processing {"connection_id":163758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ab"} 
[2026-08-28 14:53:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":19,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704587264001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787908845000,"timestamp_ms":1787908845000,"timestamp_seconds":1787908845,"priority":1,"record_length":96,"hex_timestamp":"000001a047abedc8"} 
[2026-08-28 14:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 14:53:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704587264001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704587264001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:53:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:53:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:53: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-28 14:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704587264001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:53:37] 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":708094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:53:37] local.INFO: GPS data processed {"connection_id":163758,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:53:37] local.INFO: Acknowledgment sent {"connection_id":163758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:53:56] local.INFO: TCP Data received {"connection_id":163494,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163494,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:53:56] local.INFO: Processing buffer {"connection_id":163494,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:53:56] local.INFO: IMEI packet received {"connection_id":163494,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 14:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":163494,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:54:02] local.INFO: TCP Data received {"connection_id":163494,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163494,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:54:02] local.INFO: Processing buffer {"connection_id":163494,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:54:02] local.INFO: IMEI packet received {"connection_id":163494,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 14:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":163494,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:54:04] local.INFO: TCP Data received {"connection_id":163494,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047a9de70012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047a9de70012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:54:04] local.INFO: Processing buffer {"connection_id":163494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047a9de70012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:54:04] local.INFO: Packet analysis {"connection_id":163494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047a9"} 
[2026-08-28 14:54:04] local.INFO: Extracted packet for processing {"connection_id":163494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047a9"} 
[2026-08-28 14:54:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704552704001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:54:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787908710000,"timestamp_ms":1787908710000,"timestamp_seconds":1787908710,"priority":1,"record_length":96,"hex_timestamp":"000001a047a9de70"} 
[2026-08-28 14:54:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:54:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:54:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:54:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:54:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":163494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":163494,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":163494,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:54:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704552704001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704552704001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:54:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:54:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704552704001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:54:05] 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":708095,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:54:05] local.INFO: GPS data processed {"connection_id":163494,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:54:05] local.INFO: Acknowledgment sent {"connection_id":163494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:54:09] local.INFO: TCP Data received {"connection_id":163758,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047abedc8012d34c14006aa4840001300e628..."} 
[2026-08-28 14:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047abedc8012d34c14006aa4840001300e628..."} 
[2026-08-28 14:54:09] local.INFO: Processing buffer {"connection_id":163758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047abedc8012d34c14006aa4840001300e628..."} 
[2026-08-28 14:54:09] local.INFO: Packet analysis {"connection_id":163758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ab"} 
[2026-08-28 14:54:09] local.INFO: Extracted packet for processing {"connection_id":163758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ab"} 
[2026-08-28 14:54:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":19,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704587264001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:54:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:54:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787908845000,"timestamp_ms":1787908845000,"timestamp_seconds":1787908845,"priority":1,"record_length":96,"hex_timestamp":"000001a047abedc8"} 
[2026-08-28 14:54:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:54:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 14:54:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:54:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:54:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:54:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704587264001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704587264001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:54:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:54:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:54: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-28 14:54:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704587264001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:54:09] 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":708096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:54:09] local.INFO: GPS data processed {"connection_id":163758,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:54:09] local.INFO: Acknowledgment sent {"connection_id":163758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:54:11] local.INFO: TCP Data received {"connection_id":166113,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166113,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:54:11] local.INFO: Processing buffer {"connection_id":166113,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:54:11] local.INFO: IMEI packet received {"connection_id":166113,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 14:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":166113,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:54:11] local.INFO: TCP Data received {"connection_id":166113,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166113,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:54:11] local.INFO: Processing buffer {"connection_id":166113,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:54:11] local.INFO: IMEI packet received {"connection_id":166113,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 14:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":166113,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:54:16] local.INFO: TCP Data received {"connection_id":166113,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166113,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:54:16] local.INFO: Processing buffer {"connection_id":166113,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:54:16] local.INFO: IMEI packet received {"connection_id":166113,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 14:54:16] local.INFO: IMEI acknowledgment sent {"connection_id":166113,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:54:17] local.INFO: TCP Data received {"connection_id":166113,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047ad8408012d1967c0071fed70003701182a..."} 
[2026-08-28 14:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ad8408012d1967c0071fed70003701182a..."} 
[2026-08-28 14:54:17] local.INFO: Processing buffer {"connection_id":166113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ad8408012d1967c0071fed70003701182a..."} 
[2026-08-28 14:54:17] local.INFO: Packet analysis {"connection_id":166113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ad"} 
[2026-08-28 14:54:17] local.INFO: Extracted packet for processing {"connection_id":166113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ad"} 
[2026-08-28 14:54:17] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:54:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704685568001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:54:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:54:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:54:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:54:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787908949000,"timestamp_ms":1787908949000,"timestamp_seconds":1787908949,"priority":1,"record_length":96,"hex_timestamp":"000001a047ad8408"} 
[2026-08-28 14: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-28 14:54:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14: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":86,"data_length":795,"current_offset":136} 
[2026-08-28 14:54:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14: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-28 14:54:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:54:17] local.INFO: Teltonika packet parsed successfully {"connection_id":166113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:54:17] local.INFO: Passing IMEI to GPS processor {"connection_id":166113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:54:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":166113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:54:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:54:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:54:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:54:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704685568001,"66":12374,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:54:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:54:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:54:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704685568001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:54:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:54:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:54:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:54:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:54:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704685568001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:54:17] local.INFO: DEBUG: GPS processor result {"connection_id":166113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708097,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:54:17] local.INFO: GPS data processed {"connection_id":166113,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:54:17] local.INFO: Acknowledgment sent {"connection_id":166113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:54:22] local.INFO: TCP Data received {"connection_id":166113,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047add610012d1967c0071fed700037011826..."} 
[2026-08-28 14:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047add610012d1967c0071fed700037011826..."} 
[2026-08-28 14:54:22] local.INFO: Processing buffer {"connection_id":166113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047add610012d1967c0071fed700037011826..."} 
[2026-08-28 14:54:22] local.INFO: Packet analysis {"connection_id":166113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ad"} 
[2026-08-28 14:54:22] local.INFO: Extracted packet for processing {"connection_id":166113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ad"} 
[2026-08-28 14:54:22] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:54:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704690944001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:54:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:54:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:54:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:54:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787908970000,"timestamp_ms":1787908970000,"timestamp_seconds":1787908970,"priority":1,"record_length":96,"hex_timestamp":"000001a047add610"} 
[2026-08-28 14:54:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:54:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 14:54:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:54:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:54:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:54:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:54:22] local.INFO: Teltonika packet parsed successfully {"connection_id":166113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:54:22] local.INFO: Passing IMEI to GPS processor {"connection_id":166113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:54:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":166113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:54:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:54:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:54:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:54:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704690944001,"66":12287,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:54:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:54:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:54:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704690944001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:54:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:54:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:54:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:54:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:54:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704690944001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:54:22] local.INFO: DEBUG: GPS processor result {"connection_id":166113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708098,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:54:22] local.INFO: GPS data processed {"connection_id":166113,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:54:22] local.INFO: Acknowledgment sent {"connection_id":166113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:54:30] local.INFO: TCP Data received {"connection_id":164757,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:54:30] local.INFO: Processing buffer {"connection_id":164757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:54:30] local.INFO: IMEI packet received {"connection_id":164757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 14:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":164757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:54:36] local.INFO: TCP Data received {"connection_id":164757,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:54:36] local.INFO: Processing buffer {"connection_id":164757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:54:36] local.INFO: IMEI packet received {"connection_id":164757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 14:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":164757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:54:37] local.INFO: TCP Data received {"connection_id":163494,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047ae7638012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ae7638012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:54:37] local.INFO: Processing buffer {"connection_id":163494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ae7638012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:54:37] local.INFO: Packet analysis {"connection_id":163494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ae"} 
[2026-08-28 14:54:37] local.INFO: Extracted packet for processing {"connection_id":163494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ae"} 
[2026-08-28 14:54:37] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704629760001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787909011000,"timestamp_ms":1787909011000,"timestamp_seconds":1787909011,"priority":1,"record_length":96,"hex_timestamp":"000001a047ae7638"} 
[2026-08-28 14:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:54:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163494,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163494,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704629760001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704629760001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:54:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:54:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704629760001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:54:37] 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":708099,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:54:37] local.INFO: GPS data processed {"connection_id":163494,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:54:37] local.INFO: Acknowledgment sent {"connection_id":163494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:54:37] local.INFO: TCP Data received {"connection_id":164757,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047abedc8012d34c14006aa4840001300e628..."} 
[2026-08-28 14:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047abedc8012d34c14006aa4840001300e628..."} 
[2026-08-28 14:54:37] local.INFO: Processing buffer {"connection_id":164757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047abedc8012d34c14006aa4840001300e628..."} 
[2026-08-28 14:54:37] local.INFO: Packet analysis {"connection_id":164757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ab"} 
[2026-08-28 14:54:37] local.INFO: Extracted packet for processing {"connection_id":164757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ab"} 
[2026-08-28 14:54:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":19,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704587264001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787908845000,"timestamp_ms":1787908845000,"timestamp_seconds":1787908845,"priority":1,"record_length":96,"hex_timestamp":"000001a047abedc8"} 
[2026-08-28 14:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 14:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:54:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704587264001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704587264001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:54:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:54:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:54: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-28 14:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704587264001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:54:37] 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":708100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:54:37] local.INFO: GPS data processed {"connection_id":164757,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:54:37] local.INFO: Acknowledgment sent {"connection_id":164757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:54:54] local.INFO: TCP Data received {"connection_id":166113,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047ae2818012d1967c0071fed700037011829..."} 
[2026-08-28 14:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ae2818012d1967c0071fed700037011829..."} 
[2026-08-28 14:54:54] local.INFO: Processing buffer {"connection_id":166113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ae2818012d1967c0071fed700037011829..."} 
[2026-08-28 14:54:54] local.INFO: Packet analysis {"connection_id":166113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ae"} 
[2026-08-28 14:54:54] local.INFO: Extracted packet for processing {"connection_id":166113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ae"} 
[2026-08-28 14:54:54] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704696320001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:54:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:54:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:54:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:54:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787908991000,"timestamp_ms":1787908991000,"timestamp_seconds":1787908991,"priority":1,"record_length":96,"hex_timestamp":"000001a047ae2818"} 
[2026-08-28 14:54:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:54: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-28 14:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 14:54:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:54:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:54:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:54:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:54:54] local.INFO: Teltonika packet parsed successfully {"connection_id":166113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:54:54] local.INFO: Passing IMEI to GPS processor {"connection_id":166113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:54:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":166113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:54:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:54:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:54:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:54:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704696320001,"66":12374,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:54:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:54:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:54:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704696320001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:54:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:54:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:54:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:54:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:54:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704696320001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:54:54] local.INFO: DEBUG: GPS processor result {"connection_id":166113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708101,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:54:54] local.INFO: GPS data processed {"connection_id":166113,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:54:54] local.INFO: Acknowledgment sent {"connection_id":166113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:54:57] local.INFO: TCP Data received {"connection_id":166114,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166114,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:54:57] local.INFO: Processing buffer {"connection_id":166114,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:54:57] local.INFO: IMEI packet received {"connection_id":166114,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 14:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":166114,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:55:02] local.INFO: TCP Data received {"connection_id":166114,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166114,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:55:02] local.INFO: Processing buffer {"connection_id":166114,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:55:02] local.INFO: IMEI packet received {"connection_id":166114,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 14:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":166114,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:55:04] local.INFO: TCP Data received {"connection_id":166114,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047ae7638012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ae7638012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:55:04] local.INFO: Processing buffer {"connection_id":166114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ae7638012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:55:04] local.INFO: Packet analysis {"connection_id":166114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ae"} 
[2026-08-28 14:55:04] local.INFO: Extracted packet for processing {"connection_id":166114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ae"} 
[2026-08-28 14:55:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704629760001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787909011000,"timestamp_ms":1787909011000,"timestamp_seconds":1787909011,"priority":1,"record_length":96,"hex_timestamp":"000001a047ae7638"} 
[2026-08-28 14:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:55:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:55:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":166114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":166114,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":166114,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704629760001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704629760001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:55:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:55:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704629760001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":166114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708102,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:55:04] local.INFO: GPS data processed {"connection_id":166114,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:55:04] local.INFO: Acknowledgment sent {"connection_id":166114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:55:09] local.INFO: TCP Data received {"connection_id":164757,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047abedc8012d34c14006aa4840001300e628..."} 
[2026-08-28 14:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047abedc8012d34c14006aa4840001300e628..."} 
[2026-08-28 14:55:09] local.INFO: Processing buffer {"connection_id":164757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047abedc8012d34c14006aa4840001300e628..."} 
[2026-08-28 14:55:09] local.INFO: Packet analysis {"connection_id":164757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ab"} 
[2026-08-28 14:55:09] local.INFO: Extracted packet for processing {"connection_id":164757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ab"} 
[2026-08-28 14:55:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":19,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:55:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704587264001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:55:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:55:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787908845000,"timestamp_ms":1787908845000,"timestamp_seconds":1787908845,"priority":1,"record_length":96,"hex_timestamp":"000001a047abedc8"} 
[2026-08-28 14:55:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:55:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:55:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 14:55:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:55:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:55:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:55:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704587264001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704587264001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:55:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:55:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:55: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-28 14:55:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704587264001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:55:09] 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":708103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:55:09] local.INFO: GPS data processed {"connection_id":164757,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:55:09] local.INFO: Acknowledgment sent {"connection_id":164757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:55:11] local.INFO: TCP Data received {"connection_id":163495,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:55:11] local.INFO: Processing buffer {"connection_id":163495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:55:11] local.INFO: IMEI packet received {"connection_id":163495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 14:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":163495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:55:13] local.INFO: TCP Data received {"connection_id":163495,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:55:13] local.INFO: Processing buffer {"connection_id":163495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:55:13] local.INFO: IMEI packet received {"connection_id":163495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 14:55:13] local.INFO: IMEI acknowledgment sent {"connection_id":163495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:55:16] local.INFO: TCP Data received {"connection_id":163495,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:55:16] local.INFO: Processing buffer {"connection_id":163495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:55:16] local.INFO: IMEI packet received {"connection_id":163495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 14:55:16] local.INFO: IMEI acknowledgment sent {"connection_id":163495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:55:17] local.INFO: TCP Data received {"connection_id":163495,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047ae7a20012d1967c0071fed700037011827..."} 
[2026-08-28 14:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ae7a20012d1967c0071fed700037011827..."} 
[2026-08-28 14:55:17] local.INFO: Processing buffer {"connection_id":163495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ae7a20012d1967c0071fed700037011827..."} 
[2026-08-28 14:55:17] local.INFO: Packet analysis {"connection_id":163495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ae"} 
[2026-08-28 14:55:17] local.INFO: Extracted packet for processing {"connection_id":163495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ae"} 
[2026-08-28 14:55:17] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704701696001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:55:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:55:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:55:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:55:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787909012000,"timestamp_ms":1787909012000,"timestamp_seconds":1787909012,"priority":1,"record_length":96,"hex_timestamp":"000001a047ae7a20"} 
[2026-08-28 14:55:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:55:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 14:55:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:55:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:55:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:55:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:55:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:55:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:55:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:55:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704701696001,"66":12374,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:55:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:55:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:55:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704701696001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:55:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:55:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:55:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:55:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:55:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704701696001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:55:17] local.INFO: DEBUG: GPS processor result {"connection_id":163495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708104,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:55:17] local.INFO: GPS data processed {"connection_id":163495,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:55:17] local.INFO: Acknowledgment sent {"connection_id":163495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:55:22] local.INFO: TCP Data received {"connection_id":163495,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047aecc28012d1967c0071fed700037011822..."} 
[2026-08-28 14:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047aecc28012d1967c0071fed700037011822..."} 
[2026-08-28 14:55:22] local.INFO: Processing buffer {"connection_id":163495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047aecc28012d1967c0071fed700037011822..."} 
[2026-08-28 14:55:22] local.INFO: Packet analysis {"connection_id":163495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ae"} 
[2026-08-28 14:55:22] local.INFO: Extracted packet for processing {"connection_id":163495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ae"} 
[2026-08-28 14:55:22] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":34,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14:55:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:55:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704707072001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:55:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:55:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:55:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:55:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787909033000,"timestamp_ms":1787909033000,"timestamp_seconds":1787909033,"priority":1,"record_length":96,"hex_timestamp":"000001a047aecc28"} 
[2026-08-28 14:55:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:55: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-28 14:55:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 14:55:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:55:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:55:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:55:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:55:22] local.INFO: Teltonika packet parsed successfully {"connection_id":163495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:55:22] local.INFO: Passing IMEI to GPS processor {"connection_id":163495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:55:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":163495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:55:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:55:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:55:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:55:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704707072001,"66":12319,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:55:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:55:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:55:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704707072001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:55:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:55:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:55:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:55:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:55:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704707072001,"power":12319,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:55:22] local.INFO: DEBUG: GPS processor result {"connection_id":163495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708105,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:55:22] local.INFO: GPS data processed {"connection_id":163495,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:55:22] local.INFO: Acknowledgment sent {"connection_id":163495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:55:30] local.INFO: TCP Data received {"connection_id":164758,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:55:30] local.INFO: Processing buffer {"connection_id":164758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:55:30] local.INFO: IMEI packet received {"connection_id":164758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 14:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":164758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:55:36] local.INFO: TCP Data received {"connection_id":166114,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047ae7638012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ae7638012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:55:36] local.INFO: Processing buffer {"connection_id":166114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ae7638012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:55:36] local.INFO: Packet analysis {"connection_id":166114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ae"} 
[2026-08-28 14:55:36] local.INFO: Extracted packet for processing {"connection_id":166114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ae"} 
[2026-08-28 14:55:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704629760001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787909011000,"timestamp_ms":1787909011000,"timestamp_seconds":1787909011,"priority":1,"record_length":96,"hex_timestamp":"000001a047ae7638"} 
[2026-08-28 14:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:55:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:55:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":166114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":166114,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":166114,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:55:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704629760001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704629760001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:55:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:55:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704629760001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:55:36] local.INFO: TCP Data received {"connection_id":164758,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:55:36] local.INFO: Processing buffer {"connection_id":164758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:55:36] local.INFO: IMEI packet received {"connection_id":164758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 14:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":164758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":166114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708106,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:55:36] local.INFO: GPS data processed {"connection_id":166114,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:55:36] local.INFO: Acknowledgment sent {"connection_id":166114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:55:37] local.INFO: TCP Data received {"connection_id":164758,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047abedc8012d34c14006aa4840001300e628..."} 
[2026-08-28 14:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047abedc8012d34c14006aa4840001300e628..."} 
[2026-08-28 14:55:37] local.INFO: Processing buffer {"connection_id":164758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047abedc8012d34c14006aa4840001300e628..."} 
[2026-08-28 14:55:37] local.INFO: Packet analysis {"connection_id":164758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ab"} 
[2026-08-28 14:55:37] local.INFO: Extracted packet for processing {"connection_id":164758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ab"} 
[2026-08-28 14:55:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":19,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704587264001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787908845000,"timestamp_ms":1787908845000,"timestamp_seconds":1787908845,"priority":1,"record_length":96,"hex_timestamp":"000001a047abedc8"} 
[2026-08-28 14:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 14:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704587264001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704587264001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:55:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:55:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:55: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-28 14:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704587264001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":164758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:55:37] local.INFO: GPS data processed {"connection_id":164758,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:55:37] local.INFO: Acknowledgment sent {"connection_id":164758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:55:54] local.INFO: TCP Data received {"connection_id":163495,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047af1e30012d1967c0071fed700037011827..."} 
[2026-08-28 14:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047af1e30012d1967c0071fed700037011827..."} 
[2026-08-28 14:55:54] local.INFO: Processing buffer {"connection_id":163495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047af1e30012d1967c0071fed700037011827..."} 
[2026-08-28 14:55:54] local.INFO: Packet analysis {"connection_id":163495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047af"} 
[2026-08-28 14:55:54] local.INFO: Extracted packet for processing {"connection_id":163495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047af"} 
[2026-08-28 14:55:54] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:55:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704712448001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:55:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:55:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:55:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:55:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787909054000,"timestamp_ms":1787909054000,"timestamp_seconds":1787909054,"priority":1,"record_length":96,"hex_timestamp":"000001a047af1e30"} 
[2026-08-28 14: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-28 14:55: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-28 14: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 14:55:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14: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-28 14:55:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:55:54] local.INFO: Teltonika packet parsed successfully {"connection_id":163495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:55:54] local.INFO: Passing IMEI to GPS processor {"connection_id":163495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:55:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":163495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:55:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:55:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:55:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:55:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704712448001,"66":12341,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:55:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:55:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:55:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704712448001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:55:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:55:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:55:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:55:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:55:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704712448001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:55:54] local.INFO: DEBUG: GPS processor result {"connection_id":163495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708108,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:55:54] local.INFO: GPS data processed {"connection_id":163495,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:55:54] local.INFO: Acknowledgment sent {"connection_id":163495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:55:56] local.INFO: TCP Data received {"connection_id":163496,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163496,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:55:56] local.INFO: Processing buffer {"connection_id":163496,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:55:56] local.INFO: IMEI packet received {"connection_id":163496,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 14:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":163496,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:56:02] local.INFO: TCP Data received {"connection_id":163496,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163496,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:56:02] local.INFO: Processing buffer {"connection_id":163496,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:56:02] local.INFO: IMEI packet received {"connection_id":163496,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 14:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":163496,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:56:04] local.INFO: TCP Data received {"connection_id":163496,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047ae7638012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ae7638012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:56:04] local.INFO: Processing buffer {"connection_id":163496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ae7638012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:56:04] local.INFO: Packet analysis {"connection_id":163496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ae"} 
[2026-08-28 14:56:04] local.INFO: Extracted packet for processing {"connection_id":163496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ae"} 
[2026-08-28 14:56:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704629760001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:56:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787909011000,"timestamp_ms":1787909011000,"timestamp_seconds":1787909011,"priority":1,"record_length":96,"hex_timestamp":"000001a047ae7638"} 
[2026-08-28 14:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:56:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:56:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:56:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":163496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":163496,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":163496,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704629760001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704629760001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:56:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:56:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704629760001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:56:04] 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":708109,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:56:04] local.INFO: GPS data processed {"connection_id":163496,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:56:04] local.INFO: Acknowledgment sent {"connection_id":163496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:56:09] local.INFO: TCP Data received {"connection_id":164758,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047abedc8012d34c14006aa4840001300e628..."} 
[2026-08-28 14:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047abedc8012d34c14006aa4840001300e628..."} 
[2026-08-28 14:56:09] local.INFO: Processing buffer {"connection_id":164758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047abedc8012d34c14006aa4840001300e628..."} 
[2026-08-28 14:56:09] local.INFO: Packet analysis {"connection_id":164758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ab"} 
[2026-08-28 14:56:09] local.INFO: Extracted packet for processing {"connection_id":164758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ab"} 
[2026-08-28 14:56:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":19,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704587264001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:56:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:56:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787908845000,"timestamp_ms":1787908845000,"timestamp_seconds":1787908845,"priority":1,"record_length":96,"hex_timestamp":"000001a047abedc8"} 
[2026-08-28 14:56:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:56:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 14:56:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:56:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:56:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:56:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704587264001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704587264001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:56:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:56:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:56: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-28 14:56:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704587264001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":164758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:56:09] local.INFO: GPS data processed {"connection_id":164758,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:56:09] local.INFO: Acknowledgment sent {"connection_id":164758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:56:11] local.INFO: TCP Data received {"connection_id":163759,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163759,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:56:11] local.INFO: Processing buffer {"connection_id":163759,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:56:11] local.INFO: IMEI packet received {"connection_id":163759,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 14:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":163759,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:56:16] local.INFO: TCP Data received {"connection_id":163759,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163759,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:56:16] local.INFO: Processing buffer {"connection_id":163759,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:56:16] local.INFO: IMEI packet received {"connection_id":163759,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 14:56:16] local.INFO: IMEI acknowledgment sent {"connection_id":163759,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:56:17] local.INFO: TCP Data received {"connection_id":163759,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047af7038012d1967c0071fed700037011829..."} 
[2026-08-28 14:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047af7038012d1967c0071fed700037011829..."} 
[2026-08-28 14:56:17] local.INFO: Processing buffer {"connection_id":163759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047af7038012d1967c0071fed700037011829..."} 
[2026-08-28 14:56:17] local.INFO: Packet analysis {"connection_id":163759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047af"} 
[2026-08-28 14:56:17] local.INFO: Extracted packet for processing {"connection_id":163759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047af"} 
[2026-08-28 14:56:17] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:56:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704717824001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:56:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:56:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:56:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:56:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787909075000,"timestamp_ms":1787909075000,"timestamp_seconds":1787909075,"priority":1,"record_length":96,"hex_timestamp":"000001a047af7038"} 
[2026-08-28 14: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-28 14:56:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14: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":53,"data_length":795,"current_offset":136} 
[2026-08-28 14:56:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14: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-28 14:56:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:56:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:56:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:56:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:56:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:56:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:56:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:56:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704717824001,"66":12363,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:56:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:56:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:56:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704717824001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:56:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:56:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:56:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:56:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:56:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704717824001,"power":12363,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:56:18] local.INFO: DEBUG: GPS processor result {"connection_id":163759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708111,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:56:18] local.INFO: GPS data processed {"connection_id":163759,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:56:18] local.INFO: Acknowledgment sent {"connection_id":163759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:56:36] local.INFO: TCP Data received {"connection_id":166115,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:56:36] local.INFO: Processing buffer {"connection_id":166115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:56:36] local.INFO: IMEI packet received {"connection_id":166115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 14:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":166115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:56:36] local.INFO: TCP Data received {"connection_id":163496,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047ae7638012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ae7638012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:56:36] local.INFO: Processing buffer {"connection_id":163496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ae7638012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:56:36] local.INFO: Packet analysis {"connection_id":163496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ae"} 
[2026-08-28 14:56:36] local.INFO: Extracted packet for processing {"connection_id":163496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ae"} 
[2026-08-28 14:56:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704629760001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787909011000,"timestamp_ms":1787909011000,"timestamp_seconds":1787909011,"priority":1,"record_length":96,"hex_timestamp":"000001a047ae7638"} 
[2026-08-28 14:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:56:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:56:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:56:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163496,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163496,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:56:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704629760001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704629760001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:56:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:56:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704629760001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:56:36] 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":708112,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:56:36] local.INFO: GPS data processed {"connection_id":163496,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:56:36] local.INFO: Acknowledgment sent {"connection_id":163496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:56:41] local.INFO: TCP Data received {"connection_id":166115,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:56:41] local.INFO: Processing buffer {"connection_id":166115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:56:41] local.INFO: IMEI packet received {"connection_id":166115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 14:56:41] local.INFO: IMEI acknowledgment sent {"connection_id":166115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:56:42] local.INFO: TCP Data received {"connection_id":166115,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047b08590012d34c14006aa4840000f00e62a..."} 
[2026-08-28 14:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047b08590012d34c14006aa4840000f00e62a..."} 
[2026-08-28 14:56:42] local.INFO: Processing buffer {"connection_id":166115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047b08590012d34c14006aa4840000f00e62a..."} 
[2026-08-28 14:56:42] local.INFO: Packet analysis {"connection_id":166115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047b0"} 
[2026-08-28 14:56:42] local.INFO: Extracted packet for processing {"connection_id":166115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047b0"} 
[2026-08-28 14:56:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 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-28 14:56:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704664320001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:56:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:56:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:56:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:56:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787909146000,"timestamp_ms":1787909146000,"timestamp_seconds":1787909146,"priority":1,"record_length":96,"hex_timestamp":"000001a047b08590"} 
[2026-08-28 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-28 14:56: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-28 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-28 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-28 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-28 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-28 14:56:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:56:42] local.INFO: Teltonika packet parsed successfully {"connection_id":166115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:56:42] local.INFO: Passing IMEI to GPS processor {"connection_id":166115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:56:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":166115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:56:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:56:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:56:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:56:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704664320001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:56:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:56:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:56:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704664320001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:56:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:56:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 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-28 14:56:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:56:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704664320001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:56:42] local.INFO: DEBUG: GPS processor result {"connection_id":166115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:56:42] local.INFO: GPS data processed {"connection_id":166115,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:56:42] local.INFO: Acknowledgment sent {"connection_id":166115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:56:47] local.INFO: TCP Data received {"connection_id":166115,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047b08590012d34c14006aa4840000f00e62a..."} 
[2026-08-28 14:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047b08590012d34c14006aa4840000f00e62a..."} 
[2026-08-28 14:56:47] local.INFO: Processing buffer {"connection_id":166115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047b08590012d34c14006aa4840000f00e62a..."} 
[2026-08-28 14:56:47] local.INFO: Packet analysis {"connection_id":166115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047b0"} 
[2026-08-28 14:56:47] local.INFO: Extracted packet for processing {"connection_id":166115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047b0"} 
[2026-08-28 14:56:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704664320001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:56:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:56:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787909146000,"timestamp_ms":1787909146000,"timestamp_seconds":1787909146,"priority":1,"record_length":96,"hex_timestamp":"000001a047b08590"} 
[2026-08-28 14:56:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14: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-28 14:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 14:56: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-28 14:56:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:56:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":166115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":166115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":166115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:56:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704664320001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704664320001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:56:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:56:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14: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-28 14:56:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:56:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704664320001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":166115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:56:47] local.INFO: GPS data processed {"connection_id":166115,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:56:47] local.INFO: Acknowledgment sent {"connection_id":166115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:56:49] local.INFO: TCP Data received {"connection_id":163759,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047afc240012d1967c0071fed700037011829..."} 
[2026-08-28 14:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047afc240012d1967c0071fed700037011829..."} 
[2026-08-28 14:56:49] local.INFO: Processing buffer {"connection_id":163759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047afc240012d1967c0071fed700037011829..."} 
[2026-08-28 14:56:49] local.INFO: Packet analysis {"connection_id":163759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047af"} 
[2026-08-28 14:56:49] local.INFO: Extracted packet for processing {"connection_id":163759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047af"} 
[2026-08-28 14:56:49] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:56:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704723200001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:56:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:56:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:56:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:56:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787909096000,"timestamp_ms":1787909096000,"timestamp_seconds":1787909096,"priority":1,"record_length":96,"hex_timestamp":"000001a047afc240"} 
[2026-08-28 14:56:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:56:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-28 14:56:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:56:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:56:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:56:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:56:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:56:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:56:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:56:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:56:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:56:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:56:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704723200001,"66":12374,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:56:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:56:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:56:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704723200001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:56:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:56:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:56:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:56:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:56:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704723200001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:56:49] local.INFO: DEBUG: GPS processor result {"connection_id":163759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708115,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:56:49] local.INFO: GPS data processed {"connection_id":163759,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:56:49] local.INFO: Acknowledgment sent {"connection_id":163759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:56:56] local.INFO: TCP Data received {"connection_id":163760,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163760,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:56:56] local.INFO: Processing buffer {"connection_id":163760,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:56:56] local.INFO: IMEI packet received {"connection_id":163760,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 14:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":163760,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:57:02] local.INFO: TCP Data received {"connection_id":163760,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163760,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:57:02] local.INFO: Processing buffer {"connection_id":163760,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:57:02] local.INFO: IMEI packet received {"connection_id":163760,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 14:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":163760,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:57:04] local.INFO: TCP Data received {"connection_id":163760,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047ae7638012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ae7638012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:57:04] local.INFO: Processing buffer {"connection_id":163760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ae7638012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:57:04] local.INFO: Packet analysis {"connection_id":163760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ae"} 
[2026-08-28 14:57:04] local.INFO: Extracted packet for processing {"connection_id":163760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ae"} 
[2026-08-28 14:57:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704629760001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787909011000,"timestamp_ms":1787909011000,"timestamp_seconds":1787909011,"priority":1,"record_length":96,"hex_timestamp":"000001a047ae7638"} 
[2026-08-28 14:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:57:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":163760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":163760,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":163760,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704629760001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704629760001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:57:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:57:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704629760001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:57:04] 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":708116,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:57:04] local.INFO: GPS data processed {"connection_id":163760,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:57:04] local.INFO: Acknowledgment sent {"connection_id":163760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:57:10] local.INFO: TCP Data received {"connection_id":163497,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163497,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:57:10] local.INFO: Processing buffer {"connection_id":163497,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:57:10] local.INFO: IMEI packet received {"connection_id":163497,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 14:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":163497,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:57:16] local.INFO: TCP Data received {"connection_id":163497,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163497,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:57:16] local.INFO: Processing buffer {"connection_id":163497,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:57:16] local.INFO: IMEI packet received {"connection_id":163497,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 14:57:16] local.INFO: IMEI acknowledgment sent {"connection_id":163497,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:57:18] local.INFO: TCP Data received {"connection_id":163497,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047b01448012d1967c0071fed70003701182b..."} 
[2026-08-28 14:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047b01448012d1967c0071fed70003701182b..."} 
[2026-08-28 14:57:18] local.INFO: Processing buffer {"connection_id":163497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047b01448012d1967c0071fed70003701182b..."} 
[2026-08-28 14:57:18] local.INFO: Packet analysis {"connection_id":163497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047b0"} 
[2026-08-28 14:57:18] local.INFO: Extracted packet for processing {"connection_id":163497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047b0"} 
[2026-08-28 14:57:18] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":43,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:57:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704728576001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:57:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:57:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:57:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:57:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787909117000,"timestamp_ms":1787909117000,"timestamp_seconds":1787909117,"priority":1,"record_length":96,"hex_timestamp":"000001a047b01448"} 
[2026-08-28 14: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-28 14:57:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 14:57:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14: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-28 14:57:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:57:18] local.INFO: Teltonika packet parsed successfully {"connection_id":163497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:57:18] local.INFO: Passing IMEI to GPS processor {"connection_id":163497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:57:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":163497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:57:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:57:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:57:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:57:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704728576001,"66":12341,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:57:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:57:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:57:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704728576001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:57:18] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:57:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:57:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:57:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:57:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704728576001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:57:18] 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":708117,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:57:18] local.INFO: GPS data processed {"connection_id":163497,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:57:18] local.INFO: Acknowledgment sent {"connection_id":163497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:57:30] local.INFO: TCP Data received {"connection_id":164759,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:57:30] local.INFO: Processing buffer {"connection_id":164759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:57:30] local.INFO: IMEI packet received {"connection_id":164759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 14:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":164759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:57:36] local.INFO: TCP Data received {"connection_id":164759,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:57:36] local.INFO: Processing buffer {"connection_id":164759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:57:36] local.INFO: IMEI packet received {"connection_id":164759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 14:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":164759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:57:36] local.INFO: TCP Data received {"connection_id":163760,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047ae7638012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ae7638012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:57:36] local.INFO: Processing buffer {"connection_id":163760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ae7638012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:57:36] local.INFO: Packet analysis {"connection_id":163760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ae"} 
[2026-08-28 14:57:36] local.INFO: Extracted packet for processing {"connection_id":163760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ae"} 
[2026-08-28 14:57:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704629760001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:57:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787909011000,"timestamp_ms":1787909011000,"timestamp_seconds":1787909011,"priority":1,"record_length":96,"hex_timestamp":"000001a047ae7638"} 
[2026-08-28 14:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:57:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:57:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:57:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163760,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163760,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:57:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704629760001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704629760001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:57:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:57:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704629760001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:57:36] 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":708118,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:57:36] local.INFO: GPS data processed {"connection_id":163760,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:57:36] local.INFO: Acknowledgment sent {"connection_id":163760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:57:37] local.INFO: TCP Data received {"connection_id":164759,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047b08590012d34c14006aa4840000f00e62a..."} 
[2026-08-28 14:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047b08590012d34c14006aa4840000f00e62a..."} 
[2026-08-28 14:57:37] local.INFO: Processing buffer {"connection_id":164759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047b08590012d34c14006aa4840000f00e62a..."} 
[2026-08-28 14:57:37] local.INFO: Packet analysis {"connection_id":164759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047b0"} 
[2026-08-28 14:57:37] local.INFO: Extracted packet for processing {"connection_id":164759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047b0"} 
[2026-08-28 14:57:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704664320001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:57:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787909146000,"timestamp_ms":1787909146000,"timestamp_seconds":1787909146,"priority":1,"record_length":96,"hex_timestamp":"000001a047b08590"} 
[2026-08-28 14:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 14:57:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:57:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704664320001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704664320001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:57:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:57:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:57: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-28 14:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704664320001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":164759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:57:37] local.INFO: GPS data processed {"connection_id":164759,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:57:37] local.INFO: Acknowledgment sent {"connection_id":164759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:57:50] local.INFO: TCP Data received {"connection_id":163497,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047b06650012d1967c0071fed700037011829..."} 
[2026-08-28 14:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047b06650012d1967c0071fed700037011829..."} 
[2026-08-28 14:57:50] local.INFO: Processing buffer {"connection_id":163497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047b06650012d1967c0071fed700037011829..."} 
[2026-08-28 14:57:50] local.INFO: Packet analysis {"connection_id":163497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047b0"} 
[2026-08-28 14:57:50] local.INFO: Extracted packet for processing {"connection_id":163497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047b0"} 
[2026-08-28 14:57:50] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14:57: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-28 14:57:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704733952001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:57:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:57:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:57:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:57:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787909138000,"timestamp_ms":1787909138000,"timestamp_seconds":1787909138,"priority":1,"record_length":96,"hex_timestamp":"000001a047b06650"} 
[2026-08-28 14:57:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:57:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14:57:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 14:57:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:57: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-28 14:57:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:57:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:57:50] local.INFO: Teltonika packet parsed successfully {"connection_id":163497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:57:50] local.INFO: Passing IMEI to GPS processor {"connection_id":163497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:57:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":163497,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:57:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:57:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:57:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:57:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704733952001,"66":12374,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:57:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:57:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:57:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704733952001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:57:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:57:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:57:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:57:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:57:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704733952001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:57:50] 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":708120,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:57:50] local.INFO: GPS data processed {"connection_id":163497,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:57:50] local.INFO: Acknowledgment sent {"connection_id":163497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:58:02] local.INFO: TCP Data received {"connection_id":166116,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166116,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:58:02] local.INFO: Processing buffer {"connection_id":166116,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:58:02] local.INFO: IMEI packet received {"connection_id":166116,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 14:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":166116,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:58:07] local.INFO: TCP Data received {"connection_id":166116,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166116,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:58:07] local.INFO: Processing buffer {"connection_id":166116,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:58:07] local.INFO: IMEI packet received {"connection_id":166116,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 14:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":166116,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:58:08] local.INFO: TCP Data received {"connection_id":164759,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047b08590012d34c14006aa4840000f00e62a..."} 
[2026-08-28 14:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047b08590012d34c14006aa4840000f00e62a..."} 
[2026-08-28 14:58:08] local.INFO: Processing buffer {"connection_id":164759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047b08590012d34c14006aa4840000f00e62a..."} 
[2026-08-28 14:58:08] local.INFO: Packet analysis {"connection_id":164759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047b0"} 
[2026-08-28 14:58:08] local.INFO: Extracted packet for processing {"connection_id":164759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047b0"} 
[2026-08-28 14:58:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704664320001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:58:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787909146000,"timestamp_ms":1787909146000,"timestamp_seconds":1787909146,"priority":1,"record_length":96,"hex_timestamp":"000001a047b08590"} 
[2026-08-28 14:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:58: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-28 14:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 14:58: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-28 14:58:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:58:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704664320001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704664320001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:58:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:58:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:58: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-28 14:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704664320001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":164759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:58:08] local.INFO: GPS data processed {"connection_id":164759,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:58:08] local.INFO: Acknowledgment sent {"connection_id":164759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:58:09] local.INFO: TCP Data received {"connection_id":166116,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047ae7638012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ae7638012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:58:09] local.INFO: Processing buffer {"connection_id":166116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ae7638012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:58:09] local.INFO: Packet analysis {"connection_id":166116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ae"} 
[2026-08-28 14:58:09] local.INFO: Extracted packet for processing {"connection_id":166116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ae"} 
[2026-08-28 14:58:09] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704629760001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:58:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:58:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:58:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:58:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787909011000,"timestamp_ms":1787909011000,"timestamp_seconds":1787909011,"priority":1,"record_length":96,"hex_timestamp":"000001a047ae7638"} 
[2026-08-28 14:58:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:58:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:58: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-28 14:58:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:58:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:58:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:58:09] local.INFO: Teltonika packet parsed successfully {"connection_id":166116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:58:09] local.INFO: Passing IMEI to GPS processor {"connection_id":166116,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:58:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":166116,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:58:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:58:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:58:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:58:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704629760001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:58:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:58:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:58:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704629760001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:58:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:58:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:58:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:58:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:58:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704629760001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:58:09] local.INFO: DEBUG: GPS processor result {"connection_id":166116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708122,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:58:09] local.INFO: GPS data processed {"connection_id":166116,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:58:09] local.INFO: Acknowledgment sent {"connection_id":166116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:58:11] local.INFO: TCP Data received {"connection_id":163498,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163498,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:58:11] local.INFO: Processing buffer {"connection_id":163498,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:58:11] local.INFO: IMEI packet received {"connection_id":163498,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 14:58:11] local.INFO: IMEI acknowledgment sent {"connection_id":163498,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:58:12] local.INFO: TCP Data received {"connection_id":166116,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047ae7638012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ae7638012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:58:12] local.INFO: Processing buffer {"connection_id":166116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ae7638012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:58:12] local.INFO: Packet analysis {"connection_id":166116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ae"} 
[2026-08-28 14:58:12] local.INFO: Extracted packet for processing {"connection_id":166116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ae"} 
[2026-08-28 14:58:12] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:58:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704629760001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:58:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:58:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:58:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:58:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787909011000,"timestamp_ms":1787909011000,"timestamp_seconds":1787909011,"priority":1,"record_length":96,"hex_timestamp":"000001a047ae7638"} 
[2026-08-28 14:58:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:58:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:58: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-28 14:58:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:58:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:58:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:58:12] local.INFO: Teltonika packet parsed successfully {"connection_id":166116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:58:12] local.INFO: Passing IMEI to GPS processor {"connection_id":166116,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:58:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":166116,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:58:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:58:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:58:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:58:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704629760001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:58:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:58:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:58:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704629760001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:58:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:58:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:58:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:58:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:58:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704629760001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:58:12] local.INFO: DEBUG: GPS processor result {"connection_id":166116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708123,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:58:12] local.INFO: GPS data processed {"connection_id":166116,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:58:12] local.INFO: Acknowledgment sent {"connection_id":166116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:58:16] local.INFO: TCP Data received {"connection_id":163498,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163498,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:58:16] local.INFO: Processing buffer {"connection_id":163498,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:58:16] local.INFO: IMEI packet received {"connection_id":163498,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 14:58:16] local.INFO: IMEI acknowledgment sent {"connection_id":163498,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:58:17] local.INFO: TCP Data received {"connection_id":163498,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047b0b858012d1967c0071fed700037011829..."} 
[2026-08-28 14:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047b0b858012d1967c0071fed700037011829..."} 
[2026-08-28 14:58:17] local.INFO: Processing buffer {"connection_id":163498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047b0b858012d1967c0071fed700037011829..."} 
[2026-08-28 14:58:17] local.INFO: Packet analysis {"connection_id":163498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047b0"} 
[2026-08-28 14:58:17] local.INFO: Extracted packet for processing {"connection_id":163498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047b0"} 
[2026-08-28 14:58:17] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:58:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704739328001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:58:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:58:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:58:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:58:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787909159000,"timestamp_ms":1787909159000,"timestamp_seconds":1787909159,"priority":1,"record_length":96,"hex_timestamp":"000001a047b0b858"} 
[2026-08-28 14: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-28 14:58:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14: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":86,"data_length":795,"current_offset":136} 
[2026-08-28 14:58:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14: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-28 14: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-28 14:58:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:58:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:58:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:58:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:58:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:58:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:58:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:58:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704739328001,"66":12298,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:58:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:58:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:58:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704739328001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:58:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:58:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:58:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:58:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:58:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704739328001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:58:17] 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":708124,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:58:17] local.INFO: GPS data processed {"connection_id":163498,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:58:17] local.INFO: Acknowledgment sent {"connection_id":163498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:58:30] local.INFO: TCP Data received {"connection_id":163499,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:58:30] local.INFO: Processing buffer {"connection_id":163499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:58:30] local.INFO: IMEI packet received {"connection_id":163499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 14:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":163499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:58:36] local.INFO: TCP Data received {"connection_id":163499,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:58:36] local.INFO: Processing buffer {"connection_id":163499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:58:36] local.INFO: IMEI packet received {"connection_id":163499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 14:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":163499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:58:36] local.INFO: TCP Data received {"connection_id":163499,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047b08590012d34c14006aa4840000f00e62a..."} 
[2026-08-28 14:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047b08590012d34c14006aa4840000f00e62a..."} 
[2026-08-28 14:58:36] local.INFO: Processing buffer {"connection_id":163499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047b08590012d34c14006aa4840000f00e62a..."} 
[2026-08-28 14:58:36] local.INFO: Packet analysis {"connection_id":163499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047b0"} 
[2026-08-28 14:58:36] local.INFO: Extracted packet for processing {"connection_id":163499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047b0"} 
[2026-08-28 14:58:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704664320001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787909146000,"timestamp_ms":1787909146000,"timestamp_seconds":1787909146,"priority":1,"record_length":96,"hex_timestamp":"000001a047b08590"} 
[2026-08-28 14:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:58:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 14:58:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:58:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704664320001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704664320001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:58:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:58:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704664320001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:58:37] 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":708125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:58:37] local.INFO: GPS data processed {"connection_id":163499,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:58:37] local.INFO: Acknowledgment sent {"connection_id":163499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:58:49] local.INFO: TCP Data received {"connection_id":163498,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047b10a60012d1967c0071fed700037011827..."} 
[2026-08-28 14:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047b10a60012d1967c0071fed700037011827..."} 
[2026-08-28 14:58:49] local.INFO: Processing buffer {"connection_id":163498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047b10a60012d1967c0071fed700037011827..."} 
[2026-08-28 14:58:49] local.INFO: Packet analysis {"connection_id":163498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047b1"} 
[2026-08-28 14:58:49] local.INFO: Extracted packet for processing {"connection_id":163498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047b1"} 
[2026-08-28 14:58:49] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:58:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704744704001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:58:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:58:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:58:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:58:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787909180000,"timestamp_ms":1787909180000,"timestamp_seconds":1787909180,"priority":1,"record_length":96,"hex_timestamp":"000001a047b10a60"} 
[2026-08-28 14:58:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:58:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-28 14:58:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-28 14:58:49] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-08-28 14:58:49] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452344,"note":"Value kept but may cause issues"} 
[2026-08-28 14:58:49] local.WARNING: Large IO value detected {"io_id":142,"raw_value":8430738502437568513,"note":"Value kept but may cause issues"} 
[2026-08-28 14:58:49] local.WARNING: Large IO value detected {"io_id":160,"raw_value":5165200100517812583,"note":"Value kept but may cause issues"} 
[2026-08-28 14:58:49] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513389947839250712,"note":"Value kept but may cause issues"} 
[2026-08-28 14:58:49] local.WARNING: Large IO value detected {"io_id":55,"raw_value":78850376874328064,"note":"Value kept but may cause issues"} 
[2026-08-28 14:58:49] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832584,"note":"Value kept but may cause issues"} 
[2026-08-28 14:58:49] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491122450333902,"note":"Value kept but may cause issues"} 
[2026-08-28 14:58:49] local.WARNING: Large IO value detected {"io_id":71,"raw_value":2943367169,"note":"Value kept but may cause issues"} 
[2026-08-28 14:58:49] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3983540279,"note":"Value kept but may cause issues"} 
[2026-08-28 14:58:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-08-28 14:58:49] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692397,"note":"Value kept but may cause issues"} 
[2026-08-28 14:58:49] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2390032384,"note":"Value kept but may cause issues"} 
[2026-08-28 14:58:49] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,121,28,24,241,158,16,142,160,102,45,192,237,55,41,10,66,20,43,194,1,240,86,71,31,4,113,205,30,103,112,39,239,48,2,56,7],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-08-28 14:58:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3963475711435472896,"timestamp_seconds":3963475711435473.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 14:58:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:58:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:58:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:58:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:58:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163498,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:58:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:58:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:58:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:58:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704744704001,"66":12298,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:58:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:58:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:58:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704744704001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:58:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:58:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:58:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:58:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:58:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704744704001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:58:49] 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":708126,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:58:49] local.INFO: GPS data processed {"connection_id":163498,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:58:49] local.INFO: Acknowledgment sent {"connection_id":163498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:58:57] local.INFO: TCP Data received {"connection_id":166117,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166117,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:58:57] local.INFO: Processing buffer {"connection_id":166117,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:58:57] local.INFO: IMEI packet received {"connection_id":166117,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 14:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":166117,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:59:02] local.INFO: TCP Data received {"connection_id":166117,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166117,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:59:02] local.INFO: Processing buffer {"connection_id":166117,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:59:02] local.INFO: IMEI packet received {"connection_id":166117,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 14:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":166117,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:59:03] local.INFO: TCP Data received {"connection_id":166117,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047ae7638012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ae7638012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:59:03] local.INFO: Processing buffer {"connection_id":166117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ae7638012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:59:03] local.INFO: Packet analysis {"connection_id":166117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ae"} 
[2026-08-28 14:59:03] local.INFO: Extracted packet for processing {"connection_id":166117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ae"} 
[2026-08-28 14:59:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704629760001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787909011000,"timestamp_ms":1787909011000,"timestamp_seconds":1787909011,"priority":1,"record_length":96,"hex_timestamp":"000001a047ae7638"} 
[2026-08-28 14:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:59:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:59:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:59:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":166117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":166117,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":166117,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:59:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704629760001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704629760001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:59:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:59:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704629760001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":166117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708127,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:59:03] local.INFO: GPS data processed {"connection_id":166117,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:59:03] local.INFO: Acknowledgment sent {"connection_id":166117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:59:08] local.INFO: TCP Data received {"connection_id":163499,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047b08590012d34c14006aa4840000f00e62a..."} 
[2026-08-28 14:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047b08590012d34c14006aa4840000f00e62a..."} 
[2026-08-28 14:59:08] local.INFO: Processing buffer {"connection_id":163499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047b08590012d34c14006aa4840000f00e62a..."} 
[2026-08-28 14:59:08] local.INFO: Packet analysis {"connection_id":163499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047b0"} 
[2026-08-28 14:59:08] local.INFO: Extracted packet for processing {"connection_id":163499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047b0"} 
[2026-08-28 14:59:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704664320001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:59:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787909146000,"timestamp_ms":1787909146000,"timestamp_seconds":1787909146,"priority":1,"record_length":96,"hex_timestamp":"000001a047b08590"} 
[2026-08-28 14:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:59: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-28 14:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 14:59: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-28 14:59:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:59:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704664320001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704664320001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:59:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:59:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:59: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-28 14:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704664320001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:59:08] 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":708128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:59:08] local.INFO: GPS data processed {"connection_id":163499,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:59:08] local.INFO: Acknowledgment sent {"connection_id":163499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:59:16] local.INFO: TCP Data received {"connection_id":163761,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:59:16] local.INFO: Processing buffer {"connection_id":163761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:59:16] local.INFO: IMEI packet received {"connection_id":163761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 14:59:16] local.INFO: IMEI acknowledgment sent {"connection_id":163761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:59:21] local.INFO: TCP Data received {"connection_id":163761,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:59:21] local.INFO: Processing buffer {"connection_id":163761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 14:59:21] local.INFO: IMEI packet received {"connection_id":163761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 14:59:21] local.INFO: IMEI acknowledgment sent {"connection_id":163761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:59:22] local.INFO: TCP Data received {"connection_id":163761,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047b15c68012d1967c0071fed700037011828..."} 
[2026-08-28 14:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047b15c68012d1967c0071fed700037011828..."} 
[2026-08-28 14:59:22] local.INFO: Processing buffer {"connection_id":163761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047b15c68012d1967c0071fed700037011828..."} 
[2026-08-28 14:59:22] local.INFO: Packet analysis {"connection_id":163761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047b1"} 
[2026-08-28 14:59:22] local.INFO: Extracted packet for processing {"connection_id":163761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047b1"} 
[2026-08-28 14:59:22] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704750080001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:59:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:59:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:59:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:59:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787909201000,"timestamp_ms":1787909201000,"timestamp_seconds":1787909201,"priority":1,"record_length":96,"hex_timestamp":"000001a047b15c68"} 
[2026-08-28 14:59:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:59: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-28 14:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-28 14:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-28 14:59:22] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-08-28 14:59:22] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452344,"note":"Value kept but may cause issues"} 
[2026-08-28 14:59:22] local.WARNING: Large IO value detected {"io_id":142,"raw_value":8430738502437568513,"note":"Value kept but may cause issues"} 
[2026-08-28 14:59:22] local.WARNING: Large IO value detected {"io_id":160,"raw_value":5165290294831028583,"note":"Value kept but may cause issues"} 
[2026-08-28 14:59:22] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513389947839250712,"note":"Value kept but may cause issues"} 
[2026-08-28 14:59:22] local.WARNING: Large IO value detected {"io_id":55,"raw_value":78855874432466944,"note":"Value kept but may cause issues"} 
[2026-08-28 14:59:22] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832585,"note":"Value kept but may cause issues"} 
[2026-08-28 14:59:22] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683571937968334,"note":"Value kept but may cause issues"} 
[2026-08-28 14:59:22] local.WARNING: Large IO value detected {"io_id":71,"raw_value":2948743169,"note":"Value kept but may cause issues"} 
[2026-08-28 14:59:22] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3983540279,"note":"Value kept but may cause issues"} 
[2026-08-28 14:59:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-08-28 14:59:22] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692397,"note":"Value kept but may cause issues"} 
[2026-08-28 14:59:22] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2390032384,"note":"Value kept but may cause issues"} 
[2026-08-28 14:59:22] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,121,28,24,241,158,16,142,160,184,45,192,237,55,41,10,66,102,20,1,240,53,71,31,4,113,205,112,103,239,48,2,56,7,34],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-08-28 14:59:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3963475702845538304,"timestamp_seconds":3963475702845538.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 14:59:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:59:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:59:22] local.INFO: Teltonika packet parsed successfully {"connection_id":163761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:59:22] local.INFO: Passing IMEI to GPS processor {"connection_id":163761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:59:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":163761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:59:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:59:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:59:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:59:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704750080001,"66":12341,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:59:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:59:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:59:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704750080001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:59:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:59:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:59:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:59:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:59:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704750080001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:59:22] 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":708129,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:59:22] local.INFO: GPS data processed {"connection_id":163761,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:59:22] local.INFO: Acknowledgment sent {"connection_id":163761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:59:25] local.INFO: TCP Data received {"connection_id":163761,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047b1ae70012d1967c0071fed70003701182a..."} 
[2026-08-28 14:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047b1ae70012d1967c0071fed70003701182a..."} 
[2026-08-28 14:59:25] local.INFO: Processing buffer {"connection_id":163761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047b1ae70012d1967c0071fed70003701182a..."} 
[2026-08-28 14:59:25] local.INFO: Packet analysis {"connection_id":163761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047b1"} 
[2026-08-28 14:59:25] local.INFO: Extracted packet for processing {"connection_id":163761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047b1"} 
[2026-08-28 14:59:25] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":42,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 14:59:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:59:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704755456001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:59:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 14:59:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 14:59:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:59:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787909222000,"timestamp_ms":1787909222000,"timestamp_seconds":1787909222,"priority":1,"record_length":96,"hex_timestamp":"000001a047b1ae70"} 
[2026-08-28 14:59:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:59:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 14:59:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 14:59:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:59:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:59:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:59:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:59:25] local.INFO: Teltonika packet parsed successfully {"connection_id":163761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:59:25] local.INFO: Passing IMEI to GPS processor {"connection_id":163761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:59:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":163761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 14:59:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:59:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 14:59:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 14:59:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704755456001,"66":12385,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 14:59:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 14:59:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 14:59:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704755456001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:59:25] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 14:59:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 14:59:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:59:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 14:59:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704755456001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 14:59:25] 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":708130,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:59:25] local.INFO: GPS data processed {"connection_id":163761,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:59:25] local.INFO: Acknowledgment sent {"connection_id":163761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:59:30] local.INFO: TCP Data received {"connection_id":166118,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:59:30] local.INFO: Processing buffer {"connection_id":166118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:59:30] local.INFO: IMEI packet received {"connection_id":166118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 14:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":166118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 14:59:35] local.INFO: TCP Data received {"connection_id":166117,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047b30e00012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047b30e00012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:59:35] local.INFO: Processing buffer {"connection_id":166117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047b30e00012d34bcc006aa4200000300002b..."} 
[2026-08-28 14:59:35] local.INFO: Packet analysis {"connection_id":166117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047b3"} 
[2026-08-28 14:59:35] local.INFO: Extracted packet for processing {"connection_id":166117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047b3"} 
[2026-08-28 14:59:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 14:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 14:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704706816001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 14:59:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 14:59:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787909312000,"timestamp_ms":1787909312000,"timestamp_seconds":1787909312,"priority":1,"record_length":96,"hex_timestamp":"000001a047b30e00"} 
[2026-08-28 14:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 14:59:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 14:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 14:59:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 14:59:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 14:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 14:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":166117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":166117,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":166117,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 14:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 14:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 14:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704706816001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 14:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 14:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704706816001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:59:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:59:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 14:59:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 14:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704706816001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 14:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":166117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708131,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:59:35] local.INFO: GPS data processed {"connection_id":166117,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:59:35] local.INFO: Acknowledgment sent {"connection_id":166117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:59:36] local.INFO: TCP Data received {"connection_id":166118,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:59:36] local.INFO: Processing buffer {"connection_id":166118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 14:59:36] local.INFO: IMEI packet received {"connection_id":166118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 14:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":166118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 14:59:38] local.INFO: TCP Data received {"connection_id":166118,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047b08590012d34c14006aa4840000f00e62a..."} 
[2026-08-28 14:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047b08590012d34c14006aa4840000f00e62a..."} 
[2026-08-28 14:59:38] local.INFO: Processing buffer {"connection_id":166118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047b08590012d34c14006aa4840000f00e62a..."} 
[2026-08-28 14:59:38] local.INFO: Packet analysis {"connection_id":166118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047b0"} 
[2026-08-28 14:59:38] local.INFO: Extracted packet for processing {"connection_id":166118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047b0"} 
[2026-08-28 14:59:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 14: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-28 14:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704664320001,"note":"Value kept but may cause issues"} 
[2026-08-28 14:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 14:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 14:59:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 14:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787909146000,"timestamp_ms":1787909146000,"timestamp_seconds":1787909146,"priority":1,"record_length":96,"hex_timestamp":"000001a047b08590"} 
[2026-08-28 14: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-28 14: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-28 14: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":151,"data_length":795,"current_offset":136} 
[2026-08-28 14:59: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-28 14: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-28 14: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-28 14:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 14:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":166118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 14:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":166118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":166118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 14:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 14:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 14:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 14:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704664320001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 14:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 14:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 14:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704664320001,"description":"Unknown IO ID 0"} 
[2026-08-28 14:59:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 14:59:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 14: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-28 14:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 14:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704664320001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 14:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":166118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 14:59:38] local.INFO: GPS data processed {"connection_id":166118,"processed":1,"errors":0,"total":1} 
[2026-08-28 14:59:38] local.INFO: Acknowledgment sent {"connection_id":166118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 14:59:56] local.INFO: TCP Data received {"connection_id":166119,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166119,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:59:56] local.INFO: Processing buffer {"connection_id":166119,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 14:59:56] local.INFO: IMEI packet received {"connection_id":166119,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 14:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":166119,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:00:02] local.INFO: TCP Data received {"connection_id":166119,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166119,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:00:02] local.INFO: Processing buffer {"connection_id":166119,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:00:02] local.INFO: IMEI packet received {"connection_id":166119,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 15:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":166119,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:00:03] local.INFO: TCP Data received {"connection_id":166119,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047b30e00012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047b30e00012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:00:03] local.INFO: Processing buffer {"connection_id":166119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047b30e00012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:00:03] local.INFO: Packet analysis {"connection_id":166119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047b3"} 
[2026-08-28 15:00:03] local.INFO: Extracted packet for processing {"connection_id":166119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047b3"} 
[2026-08-28 15:00:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704706816001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:00:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787909312000,"timestamp_ms":1787909312000,"timestamp_seconds":1787909312,"priority":1,"record_length":96,"hex_timestamp":"000001a047b30e00"} 
[2026-08-28 15:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:00:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:00:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:00:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":166119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":166119,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":166119,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:00:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704706816001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704706816001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:00:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:00:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704706816001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":166119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708133,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:00:03] local.INFO: GPS data processed {"connection_id":166119,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:00:03] local.INFO: Acknowledgment sent {"connection_id":166119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:00:09] local.INFO: TCP Data received {"connection_id":166118,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047b08590012d34c14006aa4840000f00e62a..."} 
[2026-08-28 15:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047b08590012d34c14006aa4840000f00e62a..."} 
[2026-08-28 15:00:09] local.INFO: Processing buffer {"connection_id":166118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047b08590012d34c14006aa4840000f00e62a..."} 
[2026-08-28 15:00:09] local.INFO: Packet analysis {"connection_id":166118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047b0"} 
[2026-08-28 15:00:09] local.INFO: Extracted packet for processing {"connection_id":166118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047b0"} 
[2026-08-28 15:00:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:00:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704664320001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:00:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:00:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:00:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787909146000,"timestamp_ms":1787909146000,"timestamp_seconds":1787909146,"priority":1,"record_length":96,"hex_timestamp":"000001a047b08590"} 
[2026-08-28 15:00:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:00: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-28 15:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 15:00:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:00:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:00:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":166118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":166118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":166118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:00:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:00:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:00:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:00:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704664320001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:00:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:00:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:00:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704664320001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:00:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:00:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:00: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-28 15:00:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:00:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704664320001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:00:09] local.INFO: DEBUG: GPS processor result {"connection_id":166118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:00:09] local.INFO: GPS data processed {"connection_id":166118,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:00:09] local.INFO: Acknowledgment sent {"connection_id":166118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:00:11] local.INFO: TCP Data received {"connection_id":163762,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163762,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:00:11] local.INFO: Processing buffer {"connection_id":163762,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:00:11] local.INFO: IMEI packet received {"connection_id":163762,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 15:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":163762,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:00:16] local.INFO: TCP Data received {"connection_id":163762,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163762,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:00:16] local.INFO: Processing buffer {"connection_id":163762,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:00:16] local.INFO: IMEI packet received {"connection_id":163762,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:00:16] local.INFO: IMEI acknowledgment sent {"connection_id":163762,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:00:17] local.INFO: TCP Data received {"connection_id":163762,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047b20078012d1967c0071fed700037011828..."} 
[2026-08-28 15:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047b20078012d1967c0071fed700037011828..."} 
[2026-08-28 15:00:17] local.INFO: Processing buffer {"connection_id":163762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047b20078012d1967c0071fed700037011828..."} 
[2026-08-28 15:00:17] local.INFO: Packet analysis {"connection_id":163762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047b2"} 
[2026-08-28 15:00:17] local.INFO: Extracted packet for processing {"connection_id":163762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047b2"} 
[2026-08-28 15:00:17] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:00:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704760832001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:00:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 15:00:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 15:00:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:00:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787909243000,"timestamp_ms":1787909243000,"timestamp_seconds":1787909243,"priority":1,"record_length":96,"hex_timestamp":"000001a047b20078"} 
[2026-08-28 15: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-28 15:00:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 15:00:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15: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-28 15: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-28 15:00:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:00:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:00:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:00:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:00:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:00:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:00:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:00:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704760832001,"66":12374,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 15:00:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:00:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:00:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704760832001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:00:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 15:00:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:00:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:00:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 15:00:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704760832001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 15:00:17] 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":708135,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:00:17] local.INFO: GPS data processed {"connection_id":163762,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:00:17] local.INFO: Acknowledgment sent {"connection_id":163762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:00:35] local.INFO: TCP Data received {"connection_id":166119,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047b30e00012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047b30e00012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:00:35] local.INFO: Processing buffer {"connection_id":166119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047b30e00012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:00:35] local.INFO: Packet analysis {"connection_id":166119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047b3"} 
[2026-08-28 15:00:35] local.INFO: Extracted packet for processing {"connection_id":166119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047b3"} 
[2026-08-28 15:00:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:00:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704706816001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:00:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:00:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:00:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:00:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787909312000,"timestamp_ms":1787909312000,"timestamp_seconds":1787909312,"priority":1,"record_length":96,"hex_timestamp":"000001a047b30e00"} 
[2026-08-28 15:00:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:00:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:00:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:00:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:00:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:00:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:00:35] local.INFO: Teltonika packet parsed successfully {"connection_id":166119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:00:35] local.INFO: Passing IMEI to GPS processor {"connection_id":166119,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:00:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":166119,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:00:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:00:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:00:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:00:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704706816001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:00:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:00:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:00:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704706816001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:00:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:00:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:00:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:00:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:00:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704706816001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:00:35] local.INFO: DEBUG: GPS processor result {"connection_id":166119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708136,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:00:35] local.INFO: GPS data processed {"connection_id":166119,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:00:35] local.INFO: Acknowledgment sent {"connection_id":166119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:00:36] local.INFO: TCP Data received {"connection_id":164760,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:00:36] local.INFO: Processing buffer {"connection_id":164760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:00:36] local.INFO: IMEI packet received {"connection_id":164760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 15:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":164760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:00:41] local.INFO: TCP Data received {"connection_id":164760,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:00:41] local.INFO: Processing buffer {"connection_id":164760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:00:41] local.INFO: IMEI packet received {"connection_id":164760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 15:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":164760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:00:42] local.INFO: TCP Data received {"connection_id":164760,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047b08590012d34c14006aa4840000f00e62a..."} 
[2026-08-28 15:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047b08590012d34c14006aa4840000f00e62a..."} 
[2026-08-28 15:00:42] local.INFO: Processing buffer {"connection_id":164760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047b08590012d34c14006aa4840000f00e62a..."} 
[2026-08-28 15:00:42] local.INFO: Packet analysis {"connection_id":164760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047b0"} 
[2026-08-28 15:00:42] local.INFO: Extracted packet for processing {"connection_id":164760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047b0"} 
[2026-08-28 15:00:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704664320001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:00:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:00:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787909146000,"timestamp_ms":1787909146000,"timestamp_seconds":1787909146,"priority":1,"record_length":96,"hex_timestamp":"000001a047b08590"} 
[2026-08-28 15: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-28 15:00: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-28 15: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":151,"data_length":795,"current_offset":136} 
[2026-08-28 15:00: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-28 15: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-28 15: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-28 15:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":164760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":164760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":164760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:00:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704664320001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704664320001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:00:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:00:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15: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-28 15:00:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704664320001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:00:42] 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":708137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:00:42] local.INFO: GPS data processed {"connection_id":164760,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:00:42] local.INFO: Acknowledgment sent {"connection_id":164760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:00:46] local.INFO: TCP Data received {"connection_id":164760,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047b08590012d34c14006aa4840000f00e62a..."} 
[2026-08-28 15:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047b08590012d34c14006aa4840000f00e62a..."} 
[2026-08-28 15:00:46] local.INFO: Processing buffer {"connection_id":164760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047b08590012d34c14006aa4840000f00e62a..."} 
[2026-08-28 15:00:46] local.INFO: Packet analysis {"connection_id":164760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047b0"} 
[2026-08-28 15:00:46] local.INFO: Extracted packet for processing {"connection_id":164760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047b0"} 
[2026-08-28 15:00:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704664320001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:00:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:00:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787909146000,"timestamp_ms":1787909146000,"timestamp_seconds":1787909146,"priority":1,"record_length":96,"hex_timestamp":"000001a047b08590"} 
[2026-08-28 15:00:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:00: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-28 15:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 15:00:46] 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-28 15:00:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:00:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:00:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:00:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704664320001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:00:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:00:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:00:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704664320001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:00:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:00:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:00: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-28 15:00:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:00:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704664320001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:00:46] 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":708138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:00:46] local.INFO: GPS data processed {"connection_id":164760,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:00:46] local.INFO: Acknowledgment sent {"connection_id":164760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:00:49] local.INFO: TCP Data received {"connection_id":163762,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047b25280012d1967c0071fed700037011827..."} 
[2026-08-28 15:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047b25280012d1967c0071fed700037011827..."} 
[2026-08-28 15:00:49] local.INFO: Processing buffer {"connection_id":163762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047b25280012d1967c0071fed700037011827..."} 
[2026-08-28 15:00:49] local.INFO: Packet analysis {"connection_id":163762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047b2"} 
[2026-08-28 15:00:49] local.INFO: Extracted packet for processing {"connection_id":163762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047b2"} 
[2026-08-28 15:00:49] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704766208001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 15:00:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 15:00:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787909264000,"timestamp_ms":1787909264000,"timestamp_seconds":1787909264,"priority":1,"record_length":96,"hex_timestamp":"000001a047b25280"} 
[2026-08-28 15: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-28 15:00:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 15:00:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15: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-28 15: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-28 15:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:00:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704766208001,"66":12341,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 15:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704766208001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:00:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 15:00:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:00:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 15:00:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704766208001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 15:00:49] 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":708139,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:00:49] local.INFO: GPS data processed {"connection_id":163762,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:00:49] local.INFO: Acknowledgment sent {"connection_id":163762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:00:56] local.INFO: TCP Data received {"connection_id":166120,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166120,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:00:56] local.INFO: Processing buffer {"connection_id":166120,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:00:56] local.INFO: IMEI packet received {"connection_id":166120,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 15:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":166120,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:01:02] local.INFO: TCP Data received {"connection_id":166120,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166120,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:01:02] local.INFO: Processing buffer {"connection_id":166120,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:01:02] local.INFO: IMEI packet received {"connection_id":166120,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 15:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":166120,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:01:05] local.INFO: TCP Data received {"connection_id":166120,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047b30e00012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047b30e00012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:01:05] local.INFO: Processing buffer {"connection_id":166120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047b30e00012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:01:05] local.INFO: Packet analysis {"connection_id":166120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047b3"} 
[2026-08-28 15:01:05] local.INFO: Extracted packet for processing {"connection_id":166120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047b3"} 
[2026-08-28 15:01:05] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704706816001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787909312000,"timestamp_ms":1787909312000,"timestamp_seconds":1787909312,"priority":1,"record_length":96,"hex_timestamp":"000001a047b30e00"} 
[2026-08-28 15:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":166120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":166120,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":166120,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704706816001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704706816001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:01:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:01:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704706816001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":166120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708140,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:01:05] local.INFO: GPS data processed {"connection_id":166120,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:01:05] local.INFO: Acknowledgment sent {"connection_id":166120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:01:10] local.INFO: TCP Data received {"connection_id":163500,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:01:10] local.INFO: Processing buffer {"connection_id":163500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:01:10] local.INFO: IMEI packet received {"connection_id":163500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 15:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":163500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:01:11] local.INFO: TCP Data received {"connection_id":163500,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:01:11] local.INFO: Processing buffer {"connection_id":163500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:01:11] local.INFO: IMEI packet received {"connection_id":163500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:01:11] local.INFO: IMEI acknowledgment sent {"connection_id":163500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:01:16] local.INFO: TCP Data received {"connection_id":163500,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:01:16] local.INFO: Processing buffer {"connection_id":163500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:01:16] local.INFO: IMEI packet received {"connection_id":163500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:01:16] local.INFO: IMEI acknowledgment sent {"connection_id":163500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:01:17] local.INFO: TCP Data received {"connection_id":163500,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047b2a488012d1967c0071fed700037011828..."} 
[2026-08-28 15:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047b2a488012d1967c0071fed700037011828..."} 
[2026-08-28 15:01:17] local.INFO: Processing buffer {"connection_id":163500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047b2a488012d1967c0071fed700037011828..."} 
[2026-08-28 15:01:17] local.INFO: Packet analysis {"connection_id":163500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047b2"} 
[2026-08-28 15:01:17] local.INFO: Extracted packet for processing {"connection_id":163500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047b2"} 
[2026-08-28 15:01:17] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:01:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704771584001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:01:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 15:01:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 15:01:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:01:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787909285000,"timestamp_ms":1787909285000,"timestamp_seconds":1787909285,"priority":1,"record_length":96,"hex_timestamp":"000001a047b2a488"} 
[2026-08-28 15: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-28 15:01:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 15:01:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15: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-28 15: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-28 15:01:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:01:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:01:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:01:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:01:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:01:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:01:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:01:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704771584001,"66":12374,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 15:01:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:01:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:01:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704771584001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:01:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 15:01:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:01:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:01:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 15:01:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704771584001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 15:01:17] 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":708141,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:01:17] local.INFO: GPS data processed {"connection_id":163500,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:01:17] local.INFO: Acknowledgment sent {"connection_id":163500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:01:31] local.INFO: TCP Data received {"connection_id":166121,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:01:31] local.INFO: Processing buffer {"connection_id":166121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:01:31] local.INFO: IMEI packet received {"connection_id":166121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 15:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":166121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:01:35] local.INFO: TCP Data received {"connection_id":166121,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:01:35] local.INFO: Processing buffer {"connection_id":166121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:01:35] local.INFO: IMEI packet received {"connection_id":166121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 15:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":166121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:01:37] local.INFO: TCP Data received {"connection_id":166120,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047b30e00012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047b30e00012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:01:37] local.INFO: Processing buffer {"connection_id":166120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047b30e00012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:01:37] local.INFO: Packet analysis {"connection_id":166120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047b3"} 
[2026-08-28 15:01:37] local.INFO: Extracted packet for processing {"connection_id":166120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047b3"} 
[2026-08-28 15:01:37] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704706816001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787909312000,"timestamp_ms":1787909312000,"timestamp_seconds":1787909312,"priority":1,"record_length":96,"hex_timestamp":"000001a047b30e00"} 
[2026-08-28 15:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":166120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":166120,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":166120,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704706816001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704706816001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:01:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:01:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704706816001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":166120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708142,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:01:37] local.INFO: GPS data processed {"connection_id":166120,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:01:37] local.INFO: Acknowledgment sent {"connection_id":166120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:01:38] local.INFO: TCP Data received {"connection_id":166121,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047b51d58012d34c14006aa4840000f00e62b..."} 
[2026-08-28 15:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047b51d58012d34c14006aa4840000f00e62b..."} 
[2026-08-28 15:01:38] local.INFO: Processing buffer {"connection_id":166121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047b51d58012d34c14006aa4840000f00e62b..."} 
[2026-08-28 15:01:38] local.INFO: Packet analysis {"connection_id":166121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047b5"} 
[2026-08-28 15:01:38] local.INFO: Extracted packet for processing {"connection_id":166121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047b5"} 
[2026-08-28 15:01:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704741376001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:01:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787909447000,"timestamp_ms":1787909447000,"timestamp_seconds":1787909447,"priority":1,"record_length":96,"hex_timestamp":"000001a047b51d58"} 
[2026-08-28 15: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-28 15:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15: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":151,"data_length":795,"current_offset":136} 
[2026-08-28 15:01: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-28 15: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-28 15: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-28 15:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":166121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":166121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":166121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:01:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704741376001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704741376001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:01:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:01:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15: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-28 15:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704741376001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":166121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:01:38] local.INFO: GPS data processed {"connection_id":166121,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:01:38] local.INFO: Acknowledgment sent {"connection_id":166121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:01:49] local.INFO: TCP Data received {"connection_id":163500,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047b2f690012d1967c0071fed700037011826..."} 
[2026-08-28 15:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047b2f690012d1967c0071fed700037011826..."} 
[2026-08-28 15:01:49] local.INFO: Processing buffer {"connection_id":163500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047b2f690012d1967c0071fed700037011826..."} 
[2026-08-28 15:01:49] local.INFO: Packet analysis {"connection_id":163500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047b2"} 
[2026-08-28 15:01:49] local.INFO: Extracted packet for processing {"connection_id":163500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047b2"} 
[2026-08-28 15:01:49] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:01:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704776960001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:01:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 15:01:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 15:01:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:01:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787909306000,"timestamp_ms":1787909306000,"timestamp_seconds":1787909306,"priority":1,"record_length":96,"hex_timestamp":"000001a047b2f690"} 
[2026-08-28 15: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-28 15:01:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 15:01:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15: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-28 15: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-28 15:01:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:01:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:01:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:01:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:01:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:01:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:01:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:01:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704776960001,"66":12385,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 15:01:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:01:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:01:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704776960001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:01:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 15:01:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:01:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:01:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 15:01:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704776960001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 15:01:49] 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":708144,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:01:49] local.INFO: GPS data processed {"connection_id":163500,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:01:49] local.INFO: Acknowledgment sent {"connection_id":163500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:02:02] local.INFO: TCP Data received {"connection_id":164761,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164761,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:02:02] local.INFO: Processing buffer {"connection_id":164761,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:02:02] local.INFO: IMEI packet received {"connection_id":164761,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 15:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":164761,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:02:07] local.INFO: TCP Data received {"connection_id":164761,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164761,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:02:07] local.INFO: Processing buffer {"connection_id":164761,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:02:07] local.INFO: IMEI packet received {"connection_id":164761,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 15:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":164761,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:02:09] local.INFO: TCP Data received {"connection_id":164761,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047b30e00012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047b30e00012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:02:09] local.INFO: Processing buffer {"connection_id":164761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047b30e00012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:02:09] local.INFO: Packet analysis {"connection_id":164761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047b3"} 
[2026-08-28 15:02:09] local.INFO: Extracted packet for processing {"connection_id":164761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047b3"} 
[2026-08-28 15:02:09] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704706816001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:02:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:02:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787909312000,"timestamp_ms":1787909312000,"timestamp_seconds":1787909312,"priority":1,"record_length":96,"hex_timestamp":"000001a047b30e00"} 
[2026-08-28 15: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-28 15:02:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15: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":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:02: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-28 15: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-28 15: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-28 15:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164761,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164761,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:02:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704706816001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704706816001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:02:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:02:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:02:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:02:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704706816001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":164761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708145,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:02:09] local.INFO: GPS data processed {"connection_id":164761,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:02:09] local.INFO: Acknowledgment sent {"connection_id":164761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:02:09] local.INFO: TCP Data received {"connection_id":166121,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047b51d58012d34c14006aa4840000f00e62b..."} 
[2026-08-28 15:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047b51d58012d34c14006aa4840000f00e62b..."} 
[2026-08-28 15:02:09] local.INFO: Processing buffer {"connection_id":166121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047b51d58012d34c14006aa4840000f00e62b..."} 
[2026-08-28 15:02:09] local.INFO: Packet analysis {"connection_id":166121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047b5"} 
[2026-08-28 15:02:09] local.INFO: Extracted packet for processing {"connection_id":166121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047b5"} 
[2026-08-28 15:02:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704741376001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:02:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:02:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787909447000,"timestamp_ms":1787909447000,"timestamp_seconds":1787909447,"priority":1,"record_length":96,"hex_timestamp":"000001a047b51d58"} 
[2026-08-28 15: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-28 15:02:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15: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":151,"data_length":795,"current_offset":136} 
[2026-08-28 15:02:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15: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-28 15: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-28 15:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":166121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":166121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":166121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:02:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704741376001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704741376001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:02:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:02:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15: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-28 15:02:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704741376001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":166121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:02:09] local.INFO: GPS data processed {"connection_id":166121,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:02:09] local.INFO: Acknowledgment sent {"connection_id":166121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:02:11] local.INFO: TCP Data received {"connection_id":164762,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164762,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:02:11] local.INFO: Processing buffer {"connection_id":164762,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:02:11] local.INFO: IMEI packet received {"connection_id":164762,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 15:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":164762,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:02:12] local.INFO: TCP Data received {"connection_id":164761,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047b30e00012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047b30e00012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:02:12] local.INFO: Processing buffer {"connection_id":164761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047b30e00012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:02:12] local.INFO: Packet analysis {"connection_id":164761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047b3"} 
[2026-08-28 15:02:12] local.INFO: Extracted packet for processing {"connection_id":164761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047b3"} 
[2026-08-28 15:02:12] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:02:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704706816001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:02:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:02:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:02:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:02:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787909312000,"timestamp_ms":1787909312000,"timestamp_seconds":1787909312,"priority":1,"record_length":96,"hex_timestamp":"000001a047b30e00"} 
[2026-08-28 15:02:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:02:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:02: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-28 15:02:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:02:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:02:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:02:12] local.INFO: Teltonika packet parsed successfully {"connection_id":164761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:02:12] local.INFO: Passing IMEI to GPS processor {"connection_id":164761,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:02:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":164761,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:02:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:02:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:02:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:02:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704706816001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:02:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:02:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:02:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704706816001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:02:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:02:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:02:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:02:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:02:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704706816001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:02:13] local.INFO: DEBUG: GPS processor result {"connection_id":164761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708147,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:02:13] local.INFO: GPS data processed {"connection_id":164761,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:02:13] local.INFO: Acknowledgment sent {"connection_id":164761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:02:13] local.INFO: TCP Data received {"connection_id":164762,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164762,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:02:13] local.INFO: Processing buffer {"connection_id":164762,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:02:13] local.INFO: IMEI packet received {"connection_id":164762,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":164762,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:02:16] local.INFO: TCP Data received {"connection_id":164762,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164762,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:02:16] local.INFO: Processing buffer {"connection_id":164762,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:02:16] local.INFO: IMEI packet received {"connection_id":164762,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:02:16] local.INFO: IMEI acknowledgment sent {"connection_id":164762,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:02:18] local.INFO: TCP Data received {"connection_id":164762,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047b34898012d1967c0071fed700037011828..."} 
[2026-08-28 15:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047b34898012d1967c0071fed700037011828..."} 
[2026-08-28 15:02:18] local.INFO: Processing buffer {"connection_id":164762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047b34898012d1967c0071fed700037011828..."} 
[2026-08-28 15:02:18] local.INFO: Packet analysis {"connection_id":164762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047b3"} 
[2026-08-28 15:02:18] local.INFO: Extracted packet for processing {"connection_id":164762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047b3"} 
[2026-08-28 15:02:18] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:02:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704782336001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:02:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 15:02:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 15:02:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:02:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787909327000,"timestamp_ms":1787909327000,"timestamp_seconds":1787909327,"priority":1,"record_length":96,"hex_timestamp":"000001a047b34898"} 
[2026-08-28 15: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-28 15:02:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 15:02:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15: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-28 15: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-28 15:02:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:02:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:02:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:02:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:02:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:02:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:02:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:02:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704782336001,"66":12341,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 15:02:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:02:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:02:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704782336001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:02:18] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 15:02:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:02:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:02:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 15:02:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704782336001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 15:02:18] 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":708148,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:02:18] local.INFO: GPS data processed {"connection_id":164762,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:02:18] local.INFO: Acknowledgment sent {"connection_id":164762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:02:30] local.INFO: TCP Data received {"connection_id":163763,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:02:30] local.INFO: Processing buffer {"connection_id":163763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:02:30] local.INFO: IMEI packet received {"connection_id":163763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 15:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":163763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:02:36] local.INFO: TCP Data received {"connection_id":163763,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:02:36] local.INFO: Processing buffer {"connection_id":163763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:02:36] local.INFO: IMEI packet received {"connection_id":163763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 15:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":163763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:02:36] local.INFO: TCP Data received {"connection_id":163763,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047b51d58012d34c14006aa4840000f00e62b..."} 
[2026-08-28 15:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047b51d58012d34c14006aa4840000f00e62b..."} 
[2026-08-28 15:02:36] local.INFO: Processing buffer {"connection_id":163763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047b51d58012d34c14006aa4840000f00e62b..."} 
[2026-08-28 15:02:36] local.INFO: Packet analysis {"connection_id":163763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047b5"} 
[2026-08-28 15:02:36] local.INFO: Extracted packet for processing {"connection_id":163763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047b5"} 
[2026-08-28 15:02:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:02:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704741376001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:02:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:02:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:02:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:02:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787909447000,"timestamp_ms":1787909447000,"timestamp_seconds":1787909447,"priority":1,"record_length":96,"hex_timestamp":"000001a047b51d58"} 
[2026-08-28 15:02:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:02:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 15:02:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:02:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:02:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:02:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:02:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:02:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:02:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:02:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:02:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:02:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:02:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704741376001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:02:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:02:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:02:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704741376001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:02:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:02:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:02:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:02:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:02:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704741376001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:02:36] 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":708149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:02:36] local.INFO: GPS data processed {"connection_id":163763,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:02:36] local.INFO: Acknowledgment sent {"connection_id":163763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:02:49] local.INFO: TCP Data received {"connection_id":164762,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047b39aa0012d1967c0071fed700037011828..."} 
[2026-08-28 15:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047b39aa0012d1967c0071fed700037011828..."} 
[2026-08-28 15:02:49] local.INFO: Processing buffer {"connection_id":164762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047b39aa0012d1967c0071fed700037011828..."} 
[2026-08-28 15:02:49] local.INFO: Packet analysis {"connection_id":164762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047b3"} 
[2026-08-28 15:02:49] local.INFO: Extracted packet for processing {"connection_id":164762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047b3"} 
[2026-08-28 15:02:49] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:02:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704787712001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:02:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 15:02:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 15:02:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:02:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787909348000,"timestamp_ms":1787909348000,"timestamp_seconds":1787909348,"priority":1,"record_length":96,"hex_timestamp":"000001a047b39aa0"} 
[2026-08-28 15: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-28 15:02:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 15:02:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15: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-28 15: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-28 15:02:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:02:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:02:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:02:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:02:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:02:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:02:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:02:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704787712001,"66":12374,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 15:02:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:02:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:02:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704787712001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:02:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 15:02:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:02:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:02:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 15:02:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704787712001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 15:02:49] 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":708150,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:02:49] local.INFO: GPS data processed {"connection_id":164762,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:02:49] local.INFO: Acknowledgment sent {"connection_id":164762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:02:57] local.INFO: TCP Data received {"connection_id":166122,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166122,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:02:57] local.INFO: Processing buffer {"connection_id":166122,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:02:57] local.INFO: IMEI packet received {"connection_id":166122,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 15:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":166122,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:03:02] local.INFO: TCP Data received {"connection_id":166122,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166122,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:03:02] local.INFO: Processing buffer {"connection_id":166122,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:03:02] local.INFO: IMEI packet received {"connection_id":166122,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 15:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":166122,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:03:03] local.INFO: TCP Data received {"connection_id":166122,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047b30e00012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047b30e00012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:03:03] local.INFO: Processing buffer {"connection_id":166122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047b30e00012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:03:03] local.INFO: Packet analysis {"connection_id":166122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047b3"} 
[2026-08-28 15:03:03] local.INFO: Extracted packet for processing {"connection_id":166122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047b3"} 
[2026-08-28 15:03:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704706816001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787909312000,"timestamp_ms":1787909312000,"timestamp_seconds":1787909312,"priority":1,"record_length":96,"hex_timestamp":"000001a047b30e00"} 
[2026-08-28 15:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:03:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:03:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:03:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":166122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":166122,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":166122,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704706816001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704706816001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:03:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:03:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704706816001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":166122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708151,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:03:04] local.INFO: GPS data processed {"connection_id":166122,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:03:04] local.INFO: Acknowledgment sent {"connection_id":166122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:03:08] local.INFO: TCP Data received {"connection_id":163763,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047b51d58012d34c14006aa4840000f00e62b..."} 
[2026-08-28 15:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047b51d58012d34c14006aa4840000f00e62b..."} 
[2026-08-28 15:03:08] local.INFO: Processing buffer {"connection_id":163763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047b51d58012d34c14006aa4840000f00e62b..."} 
[2026-08-28 15:03:08] local.INFO: Packet analysis {"connection_id":163763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047b5"} 
[2026-08-28 15:03:08] local.INFO: Extracted packet for processing {"connection_id":163763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047b5"} 
[2026-08-28 15:03:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704741376001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:03:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787909447000,"timestamp_ms":1787909447000,"timestamp_seconds":1787909447,"priority":1,"record_length":96,"hex_timestamp":"000001a047b51d58"} 
[2026-08-28 15:03:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:03:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-28 15:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 15:03: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-28 15:03:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:03:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:03:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704741376001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704741376001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:03:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:03:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:03: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-28 15:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704741376001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:03:08] 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":708152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:03:08] local.INFO: GPS data processed {"connection_id":163763,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:03:08] local.INFO: Acknowledgment sent {"connection_id":163763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:03:16] local.INFO: TCP Data received {"connection_id":164763,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:03:16] local.INFO: Processing buffer {"connection_id":164763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:03:16] local.INFO: IMEI packet received {"connection_id":164763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 15:03:16] local.INFO: IMEI acknowledgment sent {"connection_id":164763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:03:17] local.INFO: TCP Data received {"connection_id":164763,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:03:17] local.INFO: Processing buffer {"connection_id":164763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:03:17] local.INFO: IMEI packet received {"connection_id":164763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:03:17] local.INFO: IMEI acknowledgment sent {"connection_id":164763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:03:21] local.INFO: TCP Data received {"connection_id":164763,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:03:21] local.INFO: Processing buffer {"connection_id":164763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:03:21] local.INFO: IMEI packet received {"connection_id":164763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:03:21] local.INFO: IMEI acknowledgment sent {"connection_id":164763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:03:22] local.INFO: TCP Data received {"connection_id":164763,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047b3eca8012d1967c0071fed700037011825..."} 
[2026-08-28 15:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047b3eca8012d1967c0071fed700037011825..."} 
[2026-08-28 15:03:22] local.INFO: Processing buffer {"connection_id":164763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047b3eca8012d1967c0071fed700037011825..."} 
[2026-08-28 15:03:22] local.INFO: Packet analysis {"connection_id":164763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047b3"} 
[2026-08-28 15:03:22] local.INFO: Extracted packet for processing {"connection_id":164763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047b3"} 
[2026-08-28 15:03:22] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:03:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704793088001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:03:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 15:03:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 15:03:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:03:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787909369000,"timestamp_ms":1787909369000,"timestamp_seconds":1787909369,"priority":1,"record_length":96,"hex_timestamp":"000001a047b3eca8"} 
[2026-08-28 15: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-28 15:03: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-28 15: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 15:03:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15: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-28 15: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-28 15:03:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:03:22] local.INFO: Teltonika packet parsed successfully {"connection_id":164763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:03:22] local.INFO: Passing IMEI to GPS processor {"connection_id":164763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:03:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":164763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:03:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:03:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:03:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:03:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704793088001,"66":12374,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 15:03:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:03:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:03:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704793088001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:03:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 15:03:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:03:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:03:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 15:03:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704793088001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 15:03:22] local.INFO: DEBUG: GPS processor result {"connection_id":164763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708153,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:03:22] local.INFO: GPS data processed {"connection_id":164763,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:03:22] local.INFO: Acknowledgment sent {"connection_id":164763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:03:27] local.INFO: TCP Data received {"connection_id":164763,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047b43eb0012d1967c0071fed700037011826..."} 
[2026-08-28 15:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047b43eb0012d1967c0071fed700037011826..."} 
[2026-08-28 15:03:27] local.INFO: Processing buffer {"connection_id":164763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047b43eb0012d1967c0071fed700037011826..."} 
[2026-08-28 15:03:27] local.INFO: Packet analysis {"connection_id":164763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047b4"} 
[2026-08-28 15:03:27] local.INFO: Extracted packet for processing {"connection_id":164763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047b4"} 
[2026-08-28 15:03:27] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 15:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704798464001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 15:03:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 15:03:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787909390000,"timestamp_ms":1787909390000,"timestamp_seconds":1787909390,"priority":1,"record_length":96,"hex_timestamp":"000001a047b43eb0"} 
[2026-08-28 15:03:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:03:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 15:03:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:03:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:03:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":164763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":164763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":164763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:03:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:03:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704798464001,"66":12374,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 15:03:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:03:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:03:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704798464001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:03:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 15:03:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:03:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:03:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 15:03:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704798464001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 15:03:27] local.INFO: DEBUG: GPS processor result {"connection_id":164763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708154,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:03:27] local.INFO: GPS data processed {"connection_id":164763,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:03:27] local.INFO: Acknowledgment sent {"connection_id":164763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:03:35] local.INFO: TCP Data received {"connection_id":166122,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047b30e00012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047b30e00012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:03:35] local.INFO: Processing buffer {"connection_id":166122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047b30e00012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:03:35] local.INFO: Packet analysis {"connection_id":166122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047b3"} 
[2026-08-28 15:03:35] local.INFO: Extracted packet for processing {"connection_id":166122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047b3"} 
[2026-08-28 15:03:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704706816001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:03:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787909312000,"timestamp_ms":1787909312000,"timestamp_seconds":1787909312,"priority":1,"record_length":96,"hex_timestamp":"000001a047b30e00"} 
[2026-08-28 15:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:03:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:03:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:03:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":166122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":166122,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":166122,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704706816001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704706816001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:03:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:03:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:03:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704706816001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":166122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708155,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:03:35] local.INFO: GPS data processed {"connection_id":166122,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:03:35] local.INFO: Acknowledgment sent {"connection_id":166122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:03:36] local.INFO: TCP Data received {"connection_id":163764,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:03:36] local.INFO: Processing buffer {"connection_id":163764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:03:36] local.INFO: IMEI packet received {"connection_id":163764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 15:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":163764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:03:41] local.INFO: TCP Data received {"connection_id":163764,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:03:41] local.INFO: Processing buffer {"connection_id":163764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:03:41] local.INFO: IMEI packet received {"connection_id":163764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 15:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":163764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:03:43] local.INFO: TCP Data received {"connection_id":163764,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047b51d58012d34c14006aa4840000f00e62b..."} 
[2026-08-28 15:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047b51d58012d34c14006aa4840000f00e62b..."} 
[2026-08-28 15:03:43] local.INFO: Processing buffer {"connection_id":163764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047b51d58012d34c14006aa4840000f00e62b..."} 
[2026-08-28 15:03:43] local.INFO: Packet analysis {"connection_id":163764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047b5"} 
[2026-08-28 15:03:43] local.INFO: Extracted packet for processing {"connection_id":163764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047b5"} 
[2026-08-28 15:03:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 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-28 15:03:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704741376001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:03:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:03:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:03:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:03:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787909447000,"timestamp_ms":1787909447000,"timestamp_seconds":1787909447,"priority":1,"record_length":96,"hex_timestamp":"000001a047b51d58"} 
[2026-08-28 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-28 15: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-28 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":151,"data_length":795,"current_offset":136} 
[2026-08-28 15: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-28 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-28 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-28 15:03:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:03:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:03:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:03:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:03:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:03:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:03:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:03:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704741376001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:03:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:03:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:03:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704741376001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:03:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:03:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 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-28 15:03:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:03:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704741376001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:03:43] local.INFO: DEBUG: GPS processor result {"connection_id":163764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:03:43] local.INFO: GPS data processed {"connection_id":163764,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:03:43] local.INFO: Acknowledgment sent {"connection_id":163764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:03:46] local.INFO: TCP Data received {"connection_id":163764,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047b51d58012d34c14006aa4840000f00e62b..."} 
[2026-08-28 15:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047b51d58012d34c14006aa4840000f00e62b..."} 
[2026-08-28 15:03:46] local.INFO: Processing buffer {"connection_id":163764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047b51d58012d34c14006aa4840000f00e62b..."} 
[2026-08-28 15:03:46] local.INFO: Packet analysis {"connection_id":163764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047b5"} 
[2026-08-28 15:03:46] local.INFO: Extracted packet for processing {"connection_id":163764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047b5"} 
[2026-08-28 15:03:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704741376001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:03:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:03:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787909447000,"timestamp_ms":1787909447000,"timestamp_seconds":1787909447,"priority":1,"record_length":96,"hex_timestamp":"000001a047b51d58"} 
[2026-08-28 15:03:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:03:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-28 15:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 15:03:46] 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-28 15:03:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:03:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:03:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704741376001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704741376001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:03:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:03:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:03: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-28 15:03:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704741376001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":163764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:03:46] local.INFO: GPS data processed {"connection_id":163764,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:03:46] local.INFO: Acknowledgment sent {"connection_id":163764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:03:56] local.INFO: TCP Data received {"connection_id":163765,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163765,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:03:56] local.INFO: Processing buffer {"connection_id":163765,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:03:56] local.INFO: IMEI packet received {"connection_id":163765,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 15:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":163765,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:04:02] local.INFO: TCP Data received {"connection_id":163765,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163765,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:04:02] local.INFO: Processing buffer {"connection_id":163765,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:04:02] local.INFO: IMEI packet received {"connection_id":163765,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 15:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":163765,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:04:04] local.INFO: TCP Data received {"connection_id":163765,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047b30e00012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047b30e00012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:04:04] local.INFO: Processing buffer {"connection_id":163765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047b30e00012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:04:04] local.INFO: Packet analysis {"connection_id":163765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047b3"} 
[2026-08-28 15:04:04] local.INFO: Extracted packet for processing {"connection_id":163765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047b3"} 
[2026-08-28 15:04:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704706816001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787909312000,"timestamp_ms":1787909312000,"timestamp_seconds":1787909312,"priority":1,"record_length":96,"hex_timestamp":"000001a047b30e00"} 
[2026-08-28 15:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:04:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":163765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":163765,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":163765,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704706816001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704706816001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:04:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:04:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704706816001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:04:04] 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":708158,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:04:04] local.INFO: GPS data processed {"connection_id":163765,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:04:04] local.INFO: Acknowledgment sent {"connection_id":163765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:04:10] local.INFO: TCP Data received {"connection_id":163501,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163501,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:04:10] local.INFO: Processing buffer {"connection_id":163501,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:04:10] local.INFO: IMEI packet received {"connection_id":163501,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 15:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":163501,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:04:16] local.INFO: TCP Data received {"connection_id":163501,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163501,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:04:16] local.INFO: Processing buffer {"connection_id":163501,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:04:16] local.INFO: IMEI packet received {"connection_id":163501,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:04:16] local.INFO: IMEI acknowledgment sent {"connection_id":163501,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:04:17] local.INFO: TCP Data received {"connection_id":163501,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047b490b8012d1967c0071fed700037011825..."} 
[2026-08-28 15:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047b490b8012d1967c0071fed700037011825..."} 
[2026-08-28 15:04:17] local.INFO: Processing buffer {"connection_id":163501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047b490b8012d1967c0071fed700037011825..."} 
[2026-08-28 15:04:17] local.INFO: Packet analysis {"connection_id":163501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047b4"} 
[2026-08-28 15:04:17] local.INFO: Extracted packet for processing {"connection_id":163501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047b4"} 
[2026-08-28 15:04:17] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:04:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704803840001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:04:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 15:04:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 15:04:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:04:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787909411000,"timestamp_ms":1787909411000,"timestamp_seconds":1787909411,"priority":1,"record_length":96,"hex_timestamp":"000001a047b490b8"} 
[2026-08-28 15: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-28 15:04:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 15:04:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15: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-28 15: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-28 15:04:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:04:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:04:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:04:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:04:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:04:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:04:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:04:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704803840001,"66":12374,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 15:04:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:04:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:04:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704803840001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:04:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 15:04:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:04:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:04:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 15:04:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704803840001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 15:04:17] 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":708159,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:04:17] local.INFO: GPS data processed {"connection_id":163501,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:04:17] local.INFO: Acknowledgment sent {"connection_id":163501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:04:31] local.INFO: TCP Data received {"connection_id":163766,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:04:31] local.INFO: Processing buffer {"connection_id":163766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:04:31] local.INFO: IMEI packet received {"connection_id":163766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 15:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":163766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:04:36] local.INFO: TCP Data received {"connection_id":163766,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:04:36] local.INFO: Processing buffer {"connection_id":163766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:04:36] local.INFO: IMEI packet received {"connection_id":163766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 15:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":163766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:04:36] local.INFO: TCP Data received {"connection_id":163765,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047b7a5c8012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047b7a5c8012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:04:36] local.INFO: Processing buffer {"connection_id":163765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047b7a5c8012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:04:36] local.INFO: Packet analysis {"connection_id":163765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047b7"} 
[2026-08-28 15:04:36] local.INFO: Extracted packet for processing {"connection_id":163765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047b7"} 
[2026-08-28 15:04:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704783872001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:04:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787909613000,"timestamp_ms":1787909613000,"timestamp_seconds":1787909613,"priority":1,"record_length":96,"hex_timestamp":"000001a047b7a5c8"} 
[2026-08-28 15:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:04:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 15:04:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:04:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163765,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163765,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:04:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704783872001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704783872001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:04:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:04:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704783872001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:04:36] 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":708160,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:04:36] local.INFO: GPS data processed {"connection_id":163765,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:04:36] local.INFO: Acknowledgment sent {"connection_id":163765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:04:37] local.INFO: TCP Data received {"connection_id":163766,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047b51d58012d34c14006aa4840000f00e62b..."} 
[2026-08-28 15:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047b51d58012d34c14006aa4840000f00e62b..."} 
[2026-08-28 15:04:37] local.INFO: Processing buffer {"connection_id":163766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047b51d58012d34c14006aa4840000f00e62b..."} 
[2026-08-28 15:04:37] local.INFO: Packet analysis {"connection_id":163766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047b5"} 
[2026-08-28 15:04:37] local.INFO: Extracted packet for processing {"connection_id":163766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047b5"} 
[2026-08-28 15:04:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704741376001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787909447000,"timestamp_ms":1787909447000,"timestamp_seconds":1787909447,"priority":1,"record_length":96,"hex_timestamp":"000001a047b51d58"} 
[2026-08-28 15:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 15:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704741376001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704741376001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:04:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:04:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:04: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-28 15:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704741376001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":163766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:04:37] local.INFO: GPS data processed {"connection_id":163766,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:04:37] local.INFO: Acknowledgment sent {"connection_id":163766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:04:49] local.INFO: TCP Data received {"connection_id":163501,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047b4e2c0012d1967c0071fed700037011827..."} 
[2026-08-28 15:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047b4e2c0012d1967c0071fed700037011827..."} 
[2026-08-28 15:04:49] local.INFO: Processing buffer {"connection_id":163501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047b4e2c0012d1967c0071fed700037011827..."} 
[2026-08-28 15:04:49] local.INFO: Packet analysis {"connection_id":163501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047b4"} 
[2026-08-28 15:04:49] local.INFO: Extracted packet for processing {"connection_id":163501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047b4"} 
[2026-08-28 15:04:49] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:04:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704809216001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:04:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 15:04:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 15:04:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:04:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787909432000,"timestamp_ms":1787909432000,"timestamp_seconds":1787909432,"priority":1,"record_length":96,"hex_timestamp":"000001a047b4e2c0"} 
[2026-08-28 15: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-28 15:04:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 15:04:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15: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-28 15: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-28 15:04:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:04:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:04:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:04:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:04:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:04:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:04:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:04:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704809216001,"66":11743,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 15:04:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:04:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:04:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704809216001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:04:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 15:04:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:04:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:04:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 15:04:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704809216001,"power":11743,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 15:04: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":708162,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:04:49] local.INFO: GPS data processed {"connection_id":163501,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:04:49] local.INFO: Acknowledgment sent {"connection_id":163501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:04:56] local.INFO: TCP Data received {"connection_id":166123,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166123,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:04:56] local.INFO: Processing buffer {"connection_id":166123,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:04:56] local.INFO: IMEI packet received {"connection_id":166123,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 15:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":166123,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:05:02] local.INFO: TCP Data received {"connection_id":166123,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166123,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:05:02] local.INFO: Processing buffer {"connection_id":166123,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:05:02] local.INFO: IMEI packet received {"connection_id":166123,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 15:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":166123,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:05:03] local.INFO: TCP Data received {"connection_id":166123,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047b7a5c8012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047b7a5c8012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:05:03] local.INFO: Processing buffer {"connection_id":166123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047b7a5c8012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:05:03] local.INFO: Packet analysis {"connection_id":166123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047b7"} 
[2026-08-28 15:05:03] local.INFO: Extracted packet for processing {"connection_id":166123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047b7"} 
[2026-08-28 15:05:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704783872001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787909613000,"timestamp_ms":1787909613000,"timestamp_seconds":1787909613,"priority":1,"record_length":96,"hex_timestamp":"000001a047b7a5c8"} 
[2026-08-28 15:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:05:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 15:05:03] 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-28 15:05:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":166123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":166123,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":166123,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704783872001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704783872001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:05:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:05:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704783872001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":166123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708163,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:05:03] local.INFO: GPS data processed {"connection_id":166123,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:05:03] local.INFO: Acknowledgment sent {"connection_id":166123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:05:08] local.INFO: TCP Data received {"connection_id":163766,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047b51d58012d34c14006aa4840000f00e62b..."} 
[2026-08-28 15:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047b51d58012d34c14006aa4840000f00e62b..."} 
[2026-08-28 15:05:08] local.INFO: Processing buffer {"connection_id":163766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047b51d58012d34c14006aa4840000f00e62b..."} 
[2026-08-28 15:05:08] local.INFO: Packet analysis {"connection_id":163766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047b5"} 
[2026-08-28 15:05:08] local.INFO: Extracted packet for processing {"connection_id":163766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047b5"} 
[2026-08-28 15:05:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704741376001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:05:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787909447000,"timestamp_ms":1787909447000,"timestamp_seconds":1787909447,"priority":1,"record_length":96,"hex_timestamp":"000001a047b51d58"} 
[2026-08-28 15:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:05:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-28 15:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 15:05: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-28 15:05:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704741376001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704741376001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:05:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:05:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:05: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-28 15:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704741376001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":163766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:05:08] local.INFO: GPS data processed {"connection_id":163766,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:05:08] local.INFO: Acknowledgment sent {"connection_id":163766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:05:11] local.INFO: TCP Data received {"connection_id":163767,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163767,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:05:11] local.INFO: Processing buffer {"connection_id":163767,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:05:11] local.INFO: IMEI packet received {"connection_id":163767,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 15:05:11] local.INFO: IMEI acknowledgment sent {"connection_id":163767,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:05:16] local.INFO: TCP Data received {"connection_id":163767,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163767,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:05:16] local.INFO: Processing buffer {"connection_id":163767,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:05:16] local.INFO: IMEI packet received {"connection_id":163767,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:05:16] local.INFO: IMEI acknowledgment sent {"connection_id":163767,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:05:17] local.INFO: TCP Data received {"connection_id":163767,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047b534c8012d1967c0071fed700037011825..."} 
[2026-08-28 15:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047b534c8012d1967c0071fed700037011825..."} 
[2026-08-28 15:05:17] local.INFO: Processing buffer {"connection_id":163767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047b534c8012d1967c0071fed700037011825..."} 
[2026-08-28 15:05:17] local.INFO: Packet analysis {"connection_id":163767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047b5"} 
[2026-08-28 15:05:17] local.INFO: Extracted packet for processing {"connection_id":163767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047b5"} 
[2026-08-28 15:05:17] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 15:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:05:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704814592001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:05:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 15:05:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 15:05:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:05:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787909453000,"timestamp_ms":1787909453000,"timestamp_seconds":1787909453,"priority":1,"record_length":96,"hex_timestamp":"000001a047b534c8"} 
[2026-08-28 15:05:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:05:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-28 15:05: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-28 15:05:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:05:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:05:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:05:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:05:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:05:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:05:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:05:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:05:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:05:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704814592001,"66":12374,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 15:05:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:05:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:05:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704814592001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:05:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 15:05:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:05:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:05:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 15:05:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704814592001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 15:05:17] 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":708165,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:05:17] local.INFO: GPS data processed {"connection_id":163767,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:05:17] local.INFO: Acknowledgment sent {"connection_id":163767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:05:30] local.INFO: TCP Data received {"connection_id":163502,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:05:30] local.INFO: Processing buffer {"connection_id":163502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:05:30] local.INFO: IMEI packet received {"connection_id":163502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 15:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":163502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:05:35] local.INFO: TCP Data received {"connection_id":166123,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047b7a5c8012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047b7a5c8012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:05:35] local.INFO: Processing buffer {"connection_id":166123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047b7a5c8012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:05:35] local.INFO: Packet analysis {"connection_id":166123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047b7"} 
[2026-08-28 15:05:35] local.INFO: Extracted packet for processing {"connection_id":166123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047b7"} 
[2026-08-28 15:05:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:05:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704783872001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:05:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:05:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:05:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:05:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787909613000,"timestamp_ms":1787909613000,"timestamp_seconds":1787909613,"priority":1,"record_length":96,"hex_timestamp":"000001a047b7a5c8"} 
[2026-08-28 15:05:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:05:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 15:05:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:05:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:05:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:05:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:05:35] local.INFO: Teltonika packet parsed successfully {"connection_id":166123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:05:35] local.INFO: Passing IMEI to GPS processor {"connection_id":166123,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:05:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":166123,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:05:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:05:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:05:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:05:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704783872001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:05:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:05:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:05:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704783872001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:05:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:05:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:05:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:05:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:05:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704783872001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:05:35] local.INFO: DEBUG: GPS processor result {"connection_id":166123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708166,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:05:35] local.INFO: GPS data processed {"connection_id":166123,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:05:35] local.INFO: Acknowledgment sent {"connection_id":166123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:05:36] local.INFO: TCP Data received {"connection_id":163502,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:05:36] local.INFO: Processing buffer {"connection_id":163502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:05:36] local.INFO: IMEI packet received {"connection_id":163502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 15:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":163502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:05:37] local.INFO: TCP Data received {"connection_id":163502,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047b51d58012d34c14006aa4840000f00e62b..."} 
[2026-08-28 15:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047b51d58012d34c14006aa4840000f00e62b..."} 
[2026-08-28 15:05:37] local.INFO: Processing buffer {"connection_id":163502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047b51d58012d34c14006aa4840000f00e62b..."} 
[2026-08-28 15:05:37] local.INFO: Packet analysis {"connection_id":163502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047b5"} 
[2026-08-28 15:05:37] local.INFO: Extracted packet for processing {"connection_id":163502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047b5"} 
[2026-08-28 15:05:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704741376001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787909447000,"timestamp_ms":1787909447000,"timestamp_seconds":1787909447,"priority":1,"record_length":96,"hex_timestamp":"000001a047b51d58"} 
[2026-08-28 15:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 15:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704741376001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704741376001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:05:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:05:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:05: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-28 15:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704741376001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:05:37] 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":708167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:05:37] local.INFO: GPS data processed {"connection_id":163502,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:05:37] local.INFO: Acknowledgment sent {"connection_id":163502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:05:49] local.INFO: TCP Data received {"connection_id":163767,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047b586d0012d1967c0071fed700037011826..."} 
[2026-08-28 15:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047b586d0012d1967c0071fed700037011826..."} 
[2026-08-28 15:05:49] local.INFO: Processing buffer {"connection_id":163767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047b586d0012d1967c0071fed700037011826..."} 
[2026-08-28 15:05:49] local.INFO: Packet analysis {"connection_id":163767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047b5"} 
[2026-08-28 15:05:49] local.INFO: Extracted packet for processing {"connection_id":163767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047b5"} 
[2026-08-28 15:05:49] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 15:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704819968001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 15:05:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 15:05:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787909474000,"timestamp_ms":1787909474000,"timestamp_seconds":1787909474,"priority":1,"record_length":96,"hex_timestamp":"000001a047b586d0"} 
[2026-08-28 15:05:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:05:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 15:05:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:05:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:05:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:05:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704819968001,"66":12363,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 15:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704819968001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:05:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 15:05:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:05:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 15:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704819968001,"power":12363,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 15:05:49] 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":708168,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:05:49] local.INFO: GPS data processed {"connection_id":163767,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:05:49] local.INFO: Acknowledgment sent {"connection_id":163767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:06:01] local.INFO: TCP Data received {"connection_id":163503,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163503,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:06:01] local.INFO: Processing buffer {"connection_id":163503,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:06:01] local.INFO: IMEI packet received {"connection_id":163503,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 15:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":163503,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:06:07] local.INFO: TCP Data received {"connection_id":163503,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163503,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:06:07] local.INFO: Processing buffer {"connection_id":163503,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:06:07] local.INFO: IMEI packet received {"connection_id":163503,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 15:06:07] local.INFO: IMEI acknowledgment sent {"connection_id":163503,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:06:08] local.INFO: TCP Data received {"connection_id":163502,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047b51d58012d34c14006aa4840000f00e62b..."} 
[2026-08-28 15:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047b51d58012d34c14006aa4840000f00e62b..."} 
[2026-08-28 15:06:08] local.INFO: Processing buffer {"connection_id":163502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047b51d58012d34c14006aa4840000f00e62b..."} 
[2026-08-28 15:06:08] local.INFO: Packet analysis {"connection_id":163502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047b5"} 
[2026-08-28 15:06:08] local.INFO: Extracted packet for processing {"connection_id":163502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047b5"} 
[2026-08-28 15:06:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704741376001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:06:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:06:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:06:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:06:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787909447000,"timestamp_ms":1787909447000,"timestamp_seconds":1787909447,"priority":1,"record_length":96,"hex_timestamp":"000001a047b51d58"} 
[2026-08-28 15:06:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:06:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-28 15:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 15:06: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-28 15:06:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:06:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:06:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:06:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:06:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:06:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:06:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:06:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:06:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:06:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704741376001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:06:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:06:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:06:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704741376001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:06:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:06:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:06: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-28 15:06:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:06:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704741376001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:06:08] 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":708169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:06:08] local.INFO: GPS data processed {"connection_id":163502,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:06:08] local.INFO: Acknowledgment sent {"connection_id":163502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:06:08] local.INFO: TCP Data received {"connection_id":163503,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047b7a5c8012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047b7a5c8012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:06:08] local.INFO: Processing buffer {"connection_id":163503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047b7a5c8012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:06:08] local.INFO: Packet analysis {"connection_id":163503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047b7"} 
[2026-08-28 15:06:08] local.INFO: Extracted packet for processing {"connection_id":163503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047b7"} 
[2026-08-28 15:06:08] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704783872001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:06:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:06:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:06:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:06:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787909613000,"timestamp_ms":1787909613000,"timestamp_seconds":1787909613,"priority":1,"record_length":96,"hex_timestamp":"000001a047b7a5c8"} 
[2026-08-28 15:06:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:06:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 15:06:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:06:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:06:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:06:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:06:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:06:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163503,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:06:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163503,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:06:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:06:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:06:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:06:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704783872001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:06:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:06:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:06:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704783872001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:06:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:06:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:06:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:06:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:06:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704783872001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:06:09] 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":708170,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:06:09] local.INFO: GPS data processed {"connection_id":163503,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:06:09] local.INFO: Acknowledgment sent {"connection_id":163503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:06:10] local.INFO: TCP Data received {"connection_id":163504,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163504,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:06:10] local.INFO: Processing buffer {"connection_id":163504,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:06:10] local.INFO: IMEI packet received {"connection_id":163504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 15:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":163504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:06:16] local.INFO: TCP Data received {"connection_id":163504,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163504,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:06:16] local.INFO: Processing buffer {"connection_id":163504,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:06:16] local.INFO: IMEI packet received {"connection_id":163504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":163504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:06:17] local.INFO: TCP Data received {"connection_id":163504,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047b5d8d8012d1967c0071fed700037011827..."} 
[2026-08-28 15:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047b5d8d8012d1967c0071fed700037011827..."} 
[2026-08-28 15:06:17] local.INFO: Processing buffer {"connection_id":163504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047b5d8d8012d1967c0071fed700037011827..."} 
[2026-08-28 15:06:17] local.INFO: Packet analysis {"connection_id":163504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047b5"} 
[2026-08-28 15:06:17] local.INFO: Extracted packet for processing {"connection_id":163504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047b5"} 
[2026-08-28 15:06:17] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:06:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704825344001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:06:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 15:06:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 15:06:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:06:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787909495000,"timestamp_ms":1787909495000,"timestamp_seconds":1787909495,"priority":1,"record_length":96,"hex_timestamp":"000001a047b5d8d8"} 
[2026-08-28 15: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-28 15:06:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-28 15:06:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15: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-28 15: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-28 15:06:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:06:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:06:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:06:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:06:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:06:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:06:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:06:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704825344001,"66":12385,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 15:06:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:06:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:06:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704825344001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:06:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 15:06:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:06:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:06:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 15:06:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704825344001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 15:06:17] 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":708171,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:06:17] local.INFO: GPS data processed {"connection_id":163504,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:06:17] local.INFO: Acknowledgment sent {"connection_id":163504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:06:30] local.INFO: TCP Data received {"connection_id":166124,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:06:30] local.INFO: Processing buffer {"connection_id":166124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:06:30] local.INFO: IMEI packet received {"connection_id":166124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 15:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":166124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:06:36] local.INFO: TCP Data received {"connection_id":166124,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:06:36] local.INFO: Processing buffer {"connection_id":166124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:06:36] local.INFO: IMEI packet received {"connection_id":166124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 15:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":166124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:06:37] local.INFO: TCP Data received {"connection_id":166124,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047b9b520012d34c14006aa4840000c00e62b..."} 
[2026-08-28 15:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047b9b520012d34c14006aa4840000c00e62b..."} 
[2026-08-28 15:06:37] local.INFO: Processing buffer {"connection_id":166124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047b9b520012d34c14006aa4840000c00e62b..."} 
[2026-08-28 15:06:37] local.INFO: Packet analysis {"connection_id":166124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047b9"} 
[2026-08-28 15:06:37] local.INFO: Extracted packet for processing {"connection_id":166124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047b9"} 
[2026-08-28 15:06:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704818432001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787909748000,"timestamp_ms":1787909748000,"timestamp_seconds":1787909748,"priority":1,"record_length":96,"hex_timestamp":"000001a047b9b520"} 
[2026-08-28 15:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 15:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":166124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":166124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":166124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704818432001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704818432001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:06:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:06:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:06: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-28 15:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704818432001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":166124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:06:37] local.INFO: GPS data processed {"connection_id":166124,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:06:37] local.INFO: Acknowledgment sent {"connection_id":166124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:06:41] local.INFO: TCP Data received {"connection_id":163503,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047b7a5c8012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047b7a5c8012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:06:41] local.INFO: Processing buffer {"connection_id":163503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047b7a5c8012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:06:41] local.INFO: Packet analysis {"connection_id":163503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047b7"} 
[2026-08-28 15:06:41] local.INFO: Extracted packet for processing {"connection_id":163503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047b7"} 
[2026-08-28 15:06:41] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704783872001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:06:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:06:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787909613000,"timestamp_ms":1787909613000,"timestamp_seconds":1787909613,"priority":1,"record_length":96,"hex_timestamp":"000001a047b7a5c8"} 
[2026-08-28 15:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:06:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 15:06:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:06:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":163503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":163503,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":163503,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:06:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704783872001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704783872001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:06:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:06:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:06:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704783872001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:06:41] 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":708173,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:06:41] local.INFO: GPS data processed {"connection_id":163503,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:06:41] local.INFO: Acknowledgment sent {"connection_id":163503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:06:49] local.INFO: TCP Data received {"connection_id":163504,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047b95f30012d1967c0071fed700037011828..."} 
[2026-08-28 15:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047b95f30012d1967c0071fed700037011828..."} 
[2026-08-28 15:06:49] local.INFO: Processing buffer {"connection_id":163504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047b95f30012d1967c0071fed700037011828..."} 
[2026-08-28 15:06:49] local.INFO: Packet analysis {"connection_id":163504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047b9"} 
[2026-08-28 15:06:49] local.INFO: Extracted packet for processing {"connection_id":163504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047b9"} 
[2026-08-28 15:06:49] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 15:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:06:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704884480001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:06:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 15:06:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 15:06:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:06:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787909726000,"timestamp_ms":1787909726000,"timestamp_seconds":1787909726,"priority":1,"record_length":96,"hex_timestamp":"000001a047b95f30"} 
[2026-08-28 15:06:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:06:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 15:06:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:06: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-28 15:06:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:06:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:06:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:06:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:06:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:06:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:06:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:06:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:06:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704884480001,"66":12298,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 15:06:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:06:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:06:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704884480001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:06:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 15:06:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:06:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:06:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 15:06:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704884480001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 15:06:49] 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":708174,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:06:49] local.INFO: GPS data processed {"connection_id":163504,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:06:49] local.INFO: Acknowledgment sent {"connection_id":163504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:06:56] local.INFO: TCP Data received {"connection_id":163768,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163768,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:06:56] local.INFO: Processing buffer {"connection_id":163768,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:06:56] local.INFO: IMEI packet received {"connection_id":163768,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 15:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":163768,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:07:02] local.INFO: TCP Data received {"connection_id":163768,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163768,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:07:02] local.INFO: Processing buffer {"connection_id":163768,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:07:02] local.INFO: IMEI packet received {"connection_id":163768,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 15:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":163768,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:07:04] local.INFO: TCP Data received {"connection_id":163768,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047b7a5c8012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047b7a5c8012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:07:04] local.INFO: Processing buffer {"connection_id":163768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047b7a5c8012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:07:04] local.INFO: Packet analysis {"connection_id":163768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047b7"} 
[2026-08-28 15:07:04] local.INFO: Extracted packet for processing {"connection_id":163768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047b7"} 
[2026-08-28 15:07:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704783872001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787909613000,"timestamp_ms":1787909613000,"timestamp_seconds":1787909613,"priority":1,"record_length":96,"hex_timestamp":"000001a047b7a5c8"} 
[2026-08-28 15:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:07:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 15:07:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:07:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":163768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":163768,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":163768,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:07:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704783872001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704783872001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:07:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:07:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704783872001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:07:04] 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":708175,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:07:04] local.INFO: GPS data processed {"connection_id":163768,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:07:04] local.INFO: Acknowledgment sent {"connection_id":163768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:07:09] local.INFO: TCP Data received {"connection_id":166124,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047b9b520012d34c14006aa4840000c00e62b..."} 
[2026-08-28 15:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047b9b520012d34c14006aa4840000c00e62b..."} 
[2026-08-28 15:07:09] local.INFO: Processing buffer {"connection_id":166124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047b9b520012d34c14006aa4840000c00e62b..."} 
[2026-08-28 15:07:09] local.INFO: Packet analysis {"connection_id":166124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047b9"} 
[2026-08-28 15:07:09] local.INFO: Extracted packet for processing {"connection_id":166124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047b9"} 
[2026-08-28 15:07:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704818432001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:07:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787909748000,"timestamp_ms":1787909748000,"timestamp_seconds":1787909748,"priority":1,"record_length":96,"hex_timestamp":"000001a047b9b520"} 
[2026-08-28 15: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-28 15:07: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-28 15:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 15:07:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15: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-28 15: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-28 15:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":166124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":166124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":166124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:07:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704818432001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704818432001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:07:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:07:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:07: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-28 15:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704818432001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":166124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:07:09] local.INFO: GPS data processed {"connection_id":166124,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:07:09] local.INFO: Acknowledgment sent {"connection_id":166124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:07:10] local.INFO: TCP Data received {"connection_id":166125,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166125,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:07:10] local.INFO: Processing buffer {"connection_id":166125,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:07:10] local.INFO: IMEI packet received {"connection_id":166125,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 15:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":166125,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:07:16] local.INFO: TCP Data received {"connection_id":166125,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166125,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:07:16] local.INFO: Processing buffer {"connection_id":166125,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:07:16] local.INFO: IMEI packet received {"connection_id":166125,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:07:16] local.INFO: IMEI acknowledgment sent {"connection_id":166125,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:07:17] local.INFO: TCP Data received {"connection_id":166125,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047b9b138012d1967c0071fed700037011827..."} 
[2026-08-28 15:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047b9b138012d1967c0071fed700037011827..."} 
[2026-08-28 15:07:17] local.INFO: Processing buffer {"connection_id":166125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047b9b138012d1967c0071fed700037011827..."} 
[2026-08-28 15:07:17] local.INFO: Packet analysis {"connection_id":166125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047b9"} 
[2026-08-28 15:07:17] local.INFO: Extracted packet for processing {"connection_id":166125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047b9"} 
[2026-08-28 15:07:17] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 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-28 15:07:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704889856001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:07:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 15:07:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 15:07:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:07:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787909747000,"timestamp_ms":1787909747000,"timestamp_seconds":1787909747,"priority":1,"record_length":96,"hex_timestamp":"000001a047b9b138"} 
[2026-08-28 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-28 15:07:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-28 15:07:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-28 15:07:17] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-08-28 15:07:17] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452344,"note":"Value kept but may cause issues"} 
[2026-08-28 15:07:17] local.WARNING: Large IO value detected {"io_id":142,"raw_value":8430738502437568513,"note":"Value kept but may cause issues"} 
[2026-08-28 15:07:17] local.WARNING: Large IO value detected {"io_id":160,"raw_value":5167635346974644583,"note":"Value kept but may cause issues"} 
[2026-08-28 15:07:17] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513389947839250712,"note":"Value kept but may cause issues"} 
[2026-08-28 15:07:17] local.WARNING: Large IO value detected {"io_id":55,"raw_value":78858073455722496,"note":"Value kept but may cause issues"} 
[2026-08-28 15:07:17] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832585,"note":"Value kept but may cause issues"} 
[2026-08-28 15:07:17] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683571937968334,"note":"Value kept but may cause issues"} 
[2026-08-28 15:07:17] local.WARNING: Large IO value detected {"io_id":71,"raw_value":3088519169,"note":"Value kept but may cause issues"} 
[2026-08-28 15:07:17] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3983540279,"note":"Value kept but may cause issues"} 
[2026-08-28 15:07:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-08-28 15:07:17] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692397,"note":"Value kept but may cause issues"} 
[2026-08-28 15:07:17] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2390032384,"note":"Value kept but may cause issues"} 
[2026-08-28 15:07:17] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,121,28,24,241,158,16,142,160,13,45,192,237,55,39,10,66,187,38,105,1,240,86,71,31,4,113,205,197,103,112,40,239,48,2,56,7],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-08-28 15:07:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3963475707140505600,"timestamp_seconds":3963475707140505.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 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-28 15:07:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:07:17] local.INFO: Teltonika packet parsed successfully {"connection_id":166125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:07:17] local.INFO: Passing IMEI to GPS processor {"connection_id":166125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:07:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":166125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:07:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:07:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:07:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:07:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704889856001,"66":12385,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 15:07:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:07:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:07:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704889856001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:07:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 15:07:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:07:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:07:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 15:07:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704889856001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 15:07:17] local.INFO: DEBUG: GPS processor result {"connection_id":166125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708177,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:07:17] local.INFO: GPS data processed {"connection_id":166125,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:07:17] local.INFO: Acknowledgment sent {"connection_id":166125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:07:31] local.INFO: TCP Data received {"connection_id":164764,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:07:31] local.INFO: Processing buffer {"connection_id":164764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:07:31] local.INFO: IMEI packet received {"connection_id":164764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 15:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":164764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:07:36] local.INFO: TCP Data received {"connection_id":164764,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:07:36] local.INFO: TCP Data received {"connection_id":163768,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047b7a5c8012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:07:36] local.INFO: Processing buffer {"connection_id":164764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:07:36] local.INFO: IMEI packet received {"connection_id":164764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 15:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":164764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047b7a5c8012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:07:36] local.INFO: Processing buffer {"connection_id":163768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047b7a5c8012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:07:36] local.INFO: Packet analysis {"connection_id":163768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047b7"} 
[2026-08-28 15:07:36] local.INFO: Extracted packet for processing {"connection_id":163768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047b7"} 
[2026-08-28 15:07:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704783872001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:07:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:07:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787909613000,"timestamp_ms":1787909613000,"timestamp_seconds":1787909613,"priority":1,"record_length":96,"hex_timestamp":"000001a047b7a5c8"} 
[2026-08-28 15:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:07:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 15:07:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:07:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163768,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163768,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:07:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704783872001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704783872001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:07:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:07:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:07:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704783872001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:07:36] 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":708178,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:07:36] local.INFO: GPS data processed {"connection_id":163768,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:07:36] local.INFO: Acknowledgment sent {"connection_id":163768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:07:38] local.INFO: TCP Data received {"connection_id":164764,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047b9b520012d34c14006aa4840000c00e62b..."} 
[2026-08-28 15:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047b9b520012d34c14006aa4840000c00e62b..."} 
[2026-08-28 15:07:38] local.INFO: Processing buffer {"connection_id":164764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047b9b520012d34c14006aa4840000c00e62b..."} 
[2026-08-28 15:07:38] local.INFO: Packet analysis {"connection_id":164764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047b9"} 
[2026-08-28 15:07:38] local.INFO: Extracted packet for processing {"connection_id":164764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047b9"} 
[2026-08-28 15:07:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704818432001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:07:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787909748000,"timestamp_ms":1787909748000,"timestamp_seconds":1787909748,"priority":1,"record_length":96,"hex_timestamp":"000001a047b9b520"} 
[2026-08-28 15:07:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:07: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-28 15:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 15:07: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-28 15:07:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:07:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:07:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704818432001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704818432001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:07:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:07:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:07: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-28 15:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704818432001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:07:38] 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":708179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:07:38] local.INFO: GPS data processed {"connection_id":164764,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:07:38] local.INFO: Acknowledgment sent {"connection_id":164764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:07:49] local.INFO: TCP Data received {"connection_id":166125,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047ba0340012d1967c0071fed700037011823..."} 
[2026-08-28 15:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ba0340012d1967c0071fed700037011823..."} 
[2026-08-28 15:07:49] local.INFO: Processing buffer {"connection_id":166125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ba0340012d1967c0071fed700037011823..."} 
[2026-08-28 15:07:49] local.INFO: Packet analysis {"connection_id":166125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ba"} 
[2026-08-28 15:07:49] local.INFO: Extracted packet for processing {"connection_id":166125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ba"} 
[2026-08-28 15:07:49] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":35,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 15:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:07:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704895232001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:07:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 15:07:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 15:07:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:07:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787909768000,"timestamp_ms":1787909768000,"timestamp_seconds":1787909768,"priority":1,"record_length":96,"hex_timestamp":"000001a047ba0340"} 
[2026-08-28 15:07:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:07:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 15:07:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:07:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:07:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:07:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:07:49] local.INFO: Teltonika packet parsed successfully {"connection_id":166125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:07:49] local.INFO: Passing IMEI to GPS processor {"connection_id":166125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:07:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":166125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:07:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:07:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:07:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:07:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704895232001,"66":12385,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 15:07:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:07:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:07:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704895232001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:07:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 15:07:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:07:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:07:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 15:07:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704895232001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 15:07:49] local.INFO: DEBUG: GPS processor result {"connection_id":166125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708180,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:07:49] local.INFO: GPS data processed {"connection_id":166125,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:07:49] local.INFO: Acknowledgment sent {"connection_id":166125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:08:02] local.INFO: TCP Data received {"connection_id":164765,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164765,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:08:02] local.INFO: Processing buffer {"connection_id":164765,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:08:02] local.INFO: IMEI packet received {"connection_id":164765,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 15:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":164765,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:08:07] local.INFO: TCP Data received {"connection_id":164765,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164765,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:08:07] local.INFO: Processing buffer {"connection_id":164765,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:08:07] local.INFO: IMEI packet received {"connection_id":164765,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 15:08:07] local.INFO: IMEI acknowledgment sent {"connection_id":164765,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:08:08] local.INFO: TCP Data received {"connection_id":164765,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047b7a5c8012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047b7a5c8012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:08:08] local.INFO: Processing buffer {"connection_id":164765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047b7a5c8012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:08:08] local.INFO: Packet analysis {"connection_id":164765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047b7"} 
[2026-08-28 15:08:08] local.INFO: Extracted packet for processing {"connection_id":164765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047b7"} 
[2026-08-28 15:08:08] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704783872001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:08:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787909613000,"timestamp_ms":1787909613000,"timestamp_seconds":1787909613,"priority":1,"record_length":96,"hex_timestamp":"000001a047b7a5c8"} 
[2026-08-28 15:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:08:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 15:08:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:08:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164765,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164765,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704783872001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704783872001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:08:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:08:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704783872001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":164765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708181,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:08:08] local.INFO: GPS data processed {"connection_id":164765,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:08:08] local.INFO: Acknowledgment sent {"connection_id":164765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:08:10] local.INFO: TCP Data received {"connection_id":164764,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047b9b520012d34c14006aa4840000c00e62b..."} 
[2026-08-28 15:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047b9b520012d34c14006aa4840000c00e62b..."} 
[2026-08-28 15:08:10] local.INFO: Processing buffer {"connection_id":164764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047b9b520012d34c14006aa4840000c00e62b..."} 
[2026-08-28 15:08:10] local.INFO: Packet analysis {"connection_id":164764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047b9"} 
[2026-08-28 15:08:10] local.INFO: Extracted packet for processing {"connection_id":164764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047b9"} 
[2026-08-28 15:08:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704818432001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787909748000,"timestamp_ms":1787909748000,"timestamp_seconds":1787909748,"priority":1,"record_length":96,"hex_timestamp":"000001a047b9b520"} 
[2026-08-28 15:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 15:08:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:08:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":164764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":164764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":164764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:08:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704818432001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704818432001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:08:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:08:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704818432001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:08:10] 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":708182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:08:10] local.INFO: GPS data processed {"connection_id":164764,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:08:10] local.INFO: Acknowledgment sent {"connection_id":164764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:08:12] local.INFO: TCP Data received {"connection_id":164765,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047b7a5c8012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047b7a5c8012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:08:12] local.INFO: Processing buffer {"connection_id":164765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047b7a5c8012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:08:12] local.INFO: Packet analysis {"connection_id":164765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047b7"} 
[2026-08-28 15:08:12] local.INFO: Extracted packet for processing {"connection_id":164765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047b7"} 
[2026-08-28 15:08:12] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:08:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704783872001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:08:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:08:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:08:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:08:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787909613000,"timestamp_ms":1787909613000,"timestamp_seconds":1787909613,"priority":1,"record_length":96,"hex_timestamp":"000001a047b7a5c8"} 
[2026-08-28 15:08:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:08:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 15:08:12] 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-28 15:08:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:08:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:08:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:08:12] local.INFO: Teltonika packet parsed successfully {"connection_id":164765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:08:12] local.INFO: Passing IMEI to GPS processor {"connection_id":164765,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:08:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":164765,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:08:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:08:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:08:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:08:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704783872001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:08:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:08:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:08:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704783872001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:08:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:08:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:08:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:08:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:08:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704783872001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:08:13] local.INFO: DEBUG: GPS processor result {"connection_id":164765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708183,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:08:13] local.INFO: GPS data processed {"connection_id":164765,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:08:13] local.INFO: Acknowledgment sent {"connection_id":164765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:08:16] local.INFO: TCP Data received {"connection_id":163769,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163769,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:08:16] local.INFO: Processing buffer {"connection_id":163769,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:08:16] local.INFO: IMEI packet received {"connection_id":163769,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 15:08:16] local.INFO: IMEI acknowledgment sent {"connection_id":163769,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:08:21] local.INFO: TCP Data received {"connection_id":163769,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163769,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:08:21] local.INFO: Processing buffer {"connection_id":163769,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:08:21] local.INFO: IMEI packet received {"connection_id":163769,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:08:21] local.INFO: IMEI acknowledgment sent {"connection_id":163769,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:08:22] local.INFO: TCP Data received {"connection_id":163769,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047ba5548012d1967c0071fed700037011824..."} 
[2026-08-28 15:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ba5548012d1967c0071fed700037011824..."} 
[2026-08-28 15:08:22] local.INFO: Processing buffer {"connection_id":163769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ba5548012d1967c0071fed700037011824..."} 
[2026-08-28 15:08:22] local.INFO: Packet analysis {"connection_id":163769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ba"} 
[2026-08-28 15:08:22] local.INFO: Extracted packet for processing {"connection_id":163769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ba"} 
[2026-08-28 15:08:22] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:08:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704900608001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:08:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 15:08:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 15:08:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:08:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787909789000,"timestamp_ms":1787909789000,"timestamp_seconds":1787909789,"priority":1,"record_length":96,"hex_timestamp":"000001a047ba5548"} 
[2026-08-28 15: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-28 15:08:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 15:08:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15: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-28 15: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-28 15:08:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:08:22] local.INFO: Teltonika packet parsed successfully {"connection_id":163769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:08:22] local.INFO: Passing IMEI to GPS processor {"connection_id":163769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:08:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":163769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:08:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:08:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:08:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:08:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704900608001,"66":12374,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 15:08:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:08:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:08:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704900608001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:08:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 15:08:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:08:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:08:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 15:08:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704900608001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 15:08:22] 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":708184,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:08:22] local.INFO: GPS data processed {"connection_id":163769,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:08:22] local.INFO: Acknowledgment sent {"connection_id":163769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:08:26] local.INFO: TCP Data received {"connection_id":163769,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047baa750012d1967c0071fed700037011826..."} 
[2026-08-28 15:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047baa750012d1967c0071fed700037011826..."} 
[2026-08-28 15:08:26] local.INFO: Processing buffer {"connection_id":163769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047baa750012d1967c0071fed700037011826..."} 
[2026-08-28 15:08:26] local.INFO: Packet analysis {"connection_id":163769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ba"} 
[2026-08-28 15:08:26] local.INFO: Extracted packet for processing {"connection_id":163769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ba"} 
[2026-08-28 15:08:26] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 15:08:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:08:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704905984001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:08:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 15:08:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 15:08:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:08:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787909810000,"timestamp_ms":1787909810000,"timestamp_seconds":1787909810,"priority":1,"record_length":96,"hex_timestamp":"000001a047baa750"} 
[2026-08-28 15:08:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:08:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15:08:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 15:08:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:08:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:08:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:08:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:08:26] local.INFO: Teltonika packet parsed successfully {"connection_id":163769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:08:26] local.INFO: Passing IMEI to GPS processor {"connection_id":163769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:08:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":163769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:08:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:08:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:08:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:08:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704905984001,"66":12363,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 15:08:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:08:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:08:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704905984001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:08:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 15:08:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:08:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:08:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 15:08:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704905984001,"power":12363,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 15:08:26] 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":708185,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:08:26] local.INFO: GPS data processed {"connection_id":163769,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:08:26] local.INFO: Acknowledgment sent {"connection_id":163769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:08:30] local.INFO: TCP Data received {"connection_id":163505,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:08:30] local.INFO: Processing buffer {"connection_id":163505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:08:30] local.INFO: IMEI packet received {"connection_id":163505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 15:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":163505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:08:36] local.INFO: TCP Data received {"connection_id":163505,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:08:36] local.INFO: Processing buffer {"connection_id":163505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:08:36] local.INFO: IMEI packet received {"connection_id":163505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 15:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":163505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:08:38] local.INFO: TCP Data received {"connection_id":163505,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047b9b520012d34c14006aa4840000c00e62b..."} 
[2026-08-28 15:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047b9b520012d34c14006aa4840000c00e62b..."} 
[2026-08-28 15:08:38] local.INFO: Processing buffer {"connection_id":163505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047b9b520012d34c14006aa4840000c00e62b..."} 
[2026-08-28 15:08:38] local.INFO: Packet analysis {"connection_id":163505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047b9"} 
[2026-08-28 15:08:38] local.INFO: Extracted packet for processing {"connection_id":163505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047b9"} 
[2026-08-28 15:08:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704818432001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787909748000,"timestamp_ms":1787909748000,"timestamp_seconds":1787909748,"priority":1,"record_length":96,"hex_timestamp":"000001a047b9b520"} 
[2026-08-28 15:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:08: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-28 15:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 15:08: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-28 15:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704818432001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704818432001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:08:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:08:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:08: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-28 15:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704818432001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:08:38] 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":708186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:08:38] local.INFO: GPS data processed {"connection_id":163505,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:08:38] local.INFO: Acknowledgment sent {"connection_id":163505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:08:57] local.INFO: TCP Data received {"connection_id":164766,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164766,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:08:57] local.INFO: Processing buffer {"connection_id":164766,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:08:57] local.INFO: IMEI packet received {"connection_id":164766,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 15:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":164766,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:09:02] local.INFO: TCP Data received {"connection_id":164766,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164766,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:09:02] local.INFO: Processing buffer {"connection_id":164766,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:09:02] local.INFO: IMEI packet received {"connection_id":164766,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 15:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":164766,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:09:03] local.INFO: TCP Data received {"connection_id":164766,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047b7a5c8012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047b7a5c8012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:09:03] local.INFO: Processing buffer {"connection_id":164766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047b7a5c8012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:09:03] local.INFO: Packet analysis {"connection_id":164766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047b7"} 
[2026-08-28 15:09:03] local.INFO: Extracted packet for processing {"connection_id":164766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047b7"} 
[2026-08-28 15:09:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704783872001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787909613000,"timestamp_ms":1787909613000,"timestamp_seconds":1787909613,"priority":1,"record_length":96,"hex_timestamp":"000001a047b7a5c8"} 
[2026-08-28 15:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 15:09:03] 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-28 15:09:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":164766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":164766,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":164766,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704783872001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704783872001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:09:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:09:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704783872001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:09:03] 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":708187,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:09:03] local.INFO: GPS data processed {"connection_id":164766,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:09:03] local.INFO: Acknowledgment sent {"connection_id":164766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:09:10] local.INFO: TCP Data received {"connection_id":163505,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047b9b520012d34c14006aa4840000c00e62b..."} 
[2026-08-28 15:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047b9b520012d34c14006aa4840000c00e62b..."} 
[2026-08-28 15:09:10] local.INFO: Processing buffer {"connection_id":163505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047b9b520012d34c14006aa4840000c00e62b..."} 
[2026-08-28 15:09:10] local.INFO: Packet analysis {"connection_id":163505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047b9"} 
[2026-08-28 15:09:10] local.INFO: Extracted packet for processing {"connection_id":163505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047b9"} 
[2026-08-28 15:09:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704818432001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:09:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787909748000,"timestamp_ms":1787909748000,"timestamp_seconds":1787909748,"priority":1,"record_length":96,"hex_timestamp":"000001a047b9b520"} 
[2026-08-28 15:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:09:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 15:09:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:09:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:09:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704818432001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704818432001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:09:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:09:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704818432001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:09:10] local.INFO: TCP Data received {"connection_id":164767,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164767,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:09:10] local.INFO: Processing buffer {"connection_id":164767,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:09:10] 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":708188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:09:10] local.INFO: IMEI packet received {"connection_id":164767,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 15:09:10] local.INFO: GPS data processed {"connection_id":163505,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":164767,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:09:10] local.INFO: Acknowledgment sent {"connection_id":163505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:09:11] local.INFO: TCP Data received {"connection_id":163770,"ip":"71.6.134.236","data_length":204,"data_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-08-28 15:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163770,"packet_length":204,"packet_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-08-28 15:09:11] local.INFO: Processing buffer {"connection_id":163770,"buffer_length":204,"buffer_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-08-28 15:09:11] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":163770,"buffer_length":204,"first_bytes_hex":"474554202f20485454502f312e310d0a"} 
[2026-08-28 15:09:13] local.INFO: TCP Data received {"connection_id":164767,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164767,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:09:13] local.INFO: Processing buffer {"connection_id":164767,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:09:13] local.INFO: IMEI packet received {"connection_id":164767,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:09:13] local.INFO: IMEI acknowledgment sent {"connection_id":164767,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:09:14] local.INFO: TCP Data received {"connection_id":164767,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047baf958012d1967c0071fed700037011826..."} 
[2026-08-28 15:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047baf958012d1967c0071fed700037011826..."} 
[2026-08-28 15:09:14] local.INFO: Processing buffer {"connection_id":164767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047baf958012d1967c0071fed700037011826..."} 
[2026-08-28 15:09:14] local.INFO: Packet analysis {"connection_id":164767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ba"} 
[2026-08-28 15:09:14] local.INFO: Extracted packet for processing {"connection_id":164767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ba"} 
[2026-08-28 15:09:14] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 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-28 15:09:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704911360001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:09:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 15:09:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 15:09:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:09:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787909831000,"timestamp_ms":1787909831000,"timestamp_seconds":1787909831,"priority":1,"record_length":96,"hex_timestamp":"000001a047baf958"} 
[2026-08-28 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-28 15:09:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-28 15:09:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 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-28 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-28 15:09:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:09:14] local.INFO: Teltonika packet parsed successfully {"connection_id":164767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:09:14] local.INFO: Passing IMEI to GPS processor {"connection_id":164767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:09:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":164767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:09:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:09:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:09:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:09:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704911360001,"66":12385,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 15:09:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:09:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:09:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704911360001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:09:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 15:09:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:09:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:09:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 15:09:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704911360001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 15:09:14] 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":708189,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:09:14] local.INFO: GPS data processed {"connection_id":164767,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:09:14] local.INFO: Acknowledgment sent {"connection_id":164767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:09:30] local.INFO: TCP Data received {"connection_id":166126,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:09:30] local.INFO: Processing buffer {"connection_id":166126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:09:30] local.INFO: IMEI packet received {"connection_id":166126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 15:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":166126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:09:35] local.INFO: TCP Data received {"connection_id":164766,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047bc3d90012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047bc3d90012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:09:35] local.INFO: Processing buffer {"connection_id":164766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047bc3d90012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:09:35] local.INFO: Packet analysis {"connection_id":164766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047bc"} 
[2026-08-28 15:09:35] local.INFO: Extracted packet for processing {"connection_id":164766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047bc"} 
[2026-08-28 15:09:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:09:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704860928001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:09:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:09:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:09:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:09:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787909914000,"timestamp_ms":1787909914000,"timestamp_seconds":1787909914,"priority":1,"record_length":96,"hex_timestamp":"000001a047bc3d90"} 
[2026-08-28 15:09:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:09:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 15:09:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:09:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:09:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:09:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:09:35] local.INFO: Teltonika packet parsed successfully {"connection_id":164766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:09:35] local.INFO: Passing IMEI to GPS processor {"connection_id":164766,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:09:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":164766,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:09:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:09:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:09:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:09:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704860928001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:09:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:09:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:09:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704860928001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:09:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:09:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:09:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:09:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:09:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704860928001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:09:35] 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":708190,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:09:35] local.INFO: GPS data processed {"connection_id":164766,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:09:35] local.INFO: Acknowledgment sent {"connection_id":164766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:09:36] local.INFO: TCP Data received {"connection_id":166126,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:09:36] local.INFO: Processing buffer {"connection_id":166126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:09:36] local.INFO: IMEI packet received {"connection_id":166126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 15:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":166126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:09:38] local.INFO: TCP Data received {"connection_id":166126,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047b9b520012d34c14006aa4840000c00e62b..."} 
[2026-08-28 15:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047b9b520012d34c14006aa4840000c00e62b..."} 
[2026-08-28 15:09:38] local.INFO: Processing buffer {"connection_id":166126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047b9b520012d34c14006aa4840000c00e62b..."} 
[2026-08-28 15:09:38] local.INFO: Packet analysis {"connection_id":166126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047b9"} 
[2026-08-28 15:09:38] local.INFO: Extracted packet for processing {"connection_id":166126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047b9"} 
[2026-08-28 15:09:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704818432001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787909748000,"timestamp_ms":1787909748000,"timestamp_seconds":1787909748,"priority":1,"record_length":96,"hex_timestamp":"000001a047b9b520"} 
[2026-08-28 15:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:09: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-28 15:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 15:09: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-28 15:09:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":166126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":166126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":166126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704818432001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704818432001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:09:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:09:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:09: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-28 15:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704818432001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":166126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:09:38] local.INFO: GPS data processed {"connection_id":166126,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:09:38] local.INFO: Acknowledgment sent {"connection_id":166126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:09:46] local.INFO: TCP Data received {"connection_id":164767,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047bb4b60012d1967c0071fed700037011828..."} 
[2026-08-28 15:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047bb4b60012d1967c0071fed700037011828..."} 
[2026-08-28 15:09:46] local.INFO: Processing buffer {"connection_id":164767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047bb4b60012d1967c0071fed700037011828..."} 
[2026-08-28 15:09:46] local.INFO: Packet analysis {"connection_id":164767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047bb"} 
[2026-08-28 15:09:46] local.INFO: Extracted packet for processing {"connection_id":164767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047bb"} 
[2026-08-28 15:09:46] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 15:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704916736001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 15:09:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 15:09:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787909852000,"timestamp_ms":1787909852000,"timestamp_seconds":1787909852,"priority":1,"record_length":96,"hex_timestamp":"000001a047bb4b60"} 
[2026-08-28 15:09:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:09:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 15:09:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:09:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:09:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:09:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:09:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704916736001,"66":12374,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 15:09:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:09:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:09:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704916736001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:09:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 15:09:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:09:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:09:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 15:09:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704916736001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 15:09:46] 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":708192,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:09:46] local.INFO: GPS data processed {"connection_id":164767,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:09:46] local.INFO: Acknowledgment sent {"connection_id":164767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:09:56] local.INFO: TCP Data received {"connection_id":166127,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166127,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:09:56] local.INFO: Processing buffer {"connection_id":166127,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:09:56] local.INFO: IMEI packet received {"connection_id":166127,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 15:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":166127,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:10:02] local.INFO: TCP Data received {"connection_id":166127,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166127,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:10:02] local.INFO: Processing buffer {"connection_id":166127,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:10:02] local.INFO: IMEI packet received {"connection_id":166127,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 15:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":166127,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:10:04] local.INFO: TCP Data received {"connection_id":166127,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047bc3d90012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047bc3d90012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:10:04] local.INFO: Processing buffer {"connection_id":166127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047bc3d90012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:10:04] local.INFO: Packet analysis {"connection_id":166127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047bc"} 
[2026-08-28 15:10:04] local.INFO: Extracted packet for processing {"connection_id":166127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047bc"} 
[2026-08-28 15:10:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704860928001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:10:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787909914000,"timestamp_ms":1787909914000,"timestamp_seconds":1787909914,"priority":1,"record_length":96,"hex_timestamp":"000001a047bc3d90"} 
[2026-08-28 15:10:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:10:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 15:10:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:10:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:10:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":166127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":166127,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":166127,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:10:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704860928001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704860928001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:10:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:10:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704860928001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":166127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708193,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:10:04] local.INFO: GPS data processed {"connection_id":166127,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:10:04] local.INFO: Acknowledgment sent {"connection_id":166127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:10:10] local.INFO: TCP Data received {"connection_id":166126,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047b9b520012d34c14006aa4840000c00e62b..."} 
[2026-08-28 15:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047b9b520012d34c14006aa4840000c00e62b..."} 
[2026-08-28 15:10:10] local.INFO: Processing buffer {"connection_id":166126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047b9b520012d34c14006aa4840000c00e62b..."} 
[2026-08-28 15:10:10] local.INFO: Packet analysis {"connection_id":166126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047b9"} 
[2026-08-28 15:10:10] local.INFO: Extracted packet for processing {"connection_id":166126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047b9"} 
[2026-08-28 15:10:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704818432001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:10:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:10:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787909748000,"timestamp_ms":1787909748000,"timestamp_seconds":1787909748,"priority":1,"record_length":96,"hex_timestamp":"000001a047b9b520"} 
[2026-08-28 15:10:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:10:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 15:10:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:10:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:10:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":166126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":166126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":166126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:10:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704818432001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704818432001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:10:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:10:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:10:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704818432001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":166126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:10:10] local.INFO: GPS data processed {"connection_id":166126,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:10:10] local.INFO: Acknowledgment sent {"connection_id":166126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:10:10] local.INFO: TCP Data received {"connection_id":166128,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166128,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:10:10] local.INFO: Processing buffer {"connection_id":166128,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:10:10] local.INFO: IMEI packet received {"connection_id":166128,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 15:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":166128,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:10:16] local.INFO: TCP Data received {"connection_id":166128,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166128,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:10:16] local.INFO: Processing buffer {"connection_id":166128,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:10:16] local.INFO: IMEI packet received {"connection_id":166128,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:10:16] local.INFO: IMEI acknowledgment sent {"connection_id":166128,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:10:17] local.INFO: TCP Data received {"connection_id":166128,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047bb9d68012d1967c0071fed700037011827..."} 
[2026-08-28 15:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047bb9d68012d1967c0071fed700037011827..."} 
[2026-08-28 15:10:17] local.INFO: Processing buffer {"connection_id":166128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047bb9d68012d1967c0071fed700037011827..."} 
[2026-08-28 15:10:17] local.INFO: Packet analysis {"connection_id":166128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047bb"} 
[2026-08-28 15:10:17] local.INFO: Extracted packet for processing {"connection_id":166128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047bb"} 
[2026-08-28 15:10:17] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 15:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:10:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704922112001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:10:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 15:10:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 15:10:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:10:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787909873000,"timestamp_ms":1787909873000,"timestamp_seconds":1787909873,"priority":1,"record_length":96,"hex_timestamp":"000001a047bb9d68"} 
[2026-08-28 15:10:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:10:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 15:10:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:10:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:10:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:10:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:10:17] local.INFO: Teltonika packet parsed successfully {"connection_id":166128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:10:17] local.INFO: Passing IMEI to GPS processor {"connection_id":166128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:10:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":166128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:10:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:10:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:10:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:10:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704922112001,"66":12319,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 15:10:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:10:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:10:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704922112001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:10:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 15:10:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:10:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:10:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 15:10:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704922112001,"power":12319,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 15:10:17] local.INFO: DEBUG: GPS processor result {"connection_id":166128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708195,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:10:17] local.INFO: GPS data processed {"connection_id":166128,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:10:17] local.INFO: Acknowledgment sent {"connection_id":166128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:10:30] local.INFO: TCP Data received {"connection_id":163506,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:10:30] local.INFO: Processing buffer {"connection_id":163506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:10:30] local.INFO: IMEI packet received {"connection_id":163506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 15:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":163506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:10:35] local.INFO: TCP Data received {"connection_id":166127,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047bc3d90012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047bc3d90012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:10:35] local.INFO: Processing buffer {"connection_id":166127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047bc3d90012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:10:35] local.INFO: Packet analysis {"connection_id":166127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047bc"} 
[2026-08-28 15:10:35] local.INFO: Extracted packet for processing {"connection_id":166127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047bc"} 
[2026-08-28 15:10:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704860928001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:10:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787909914000,"timestamp_ms":1787909914000,"timestamp_seconds":1787909914,"priority":1,"record_length":96,"hex_timestamp":"000001a047bc3d90"} 
[2026-08-28 15:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:10:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 15:10:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:10:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":166127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":166127,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":166127,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704860928001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704860928001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:10:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:10:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704860928001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":166127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708196,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:10:35] local.INFO: GPS data processed {"connection_id":166127,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:10:35] local.INFO: Acknowledgment sent {"connection_id":166127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:10:36] local.INFO: TCP Data received {"connection_id":163506,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:10:36] local.INFO: Processing buffer {"connection_id":163506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:10:36] local.INFO: IMEI packet received {"connection_id":163506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 15:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":163506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:10:37] local.INFO: TCP Data received {"connection_id":163506,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047b9b520012d34c14006aa4840000c00e62b..."} 
[2026-08-28 15:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047b9b520012d34c14006aa4840000c00e62b..."} 
[2026-08-28 15:10:37] local.INFO: Processing buffer {"connection_id":163506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047b9b520012d34c14006aa4840000c00e62b..."} 
[2026-08-28 15:10:37] local.INFO: Packet analysis {"connection_id":163506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047b9"} 
[2026-08-28 15:10:37] local.INFO: Extracted packet for processing {"connection_id":163506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047b9"} 
[2026-08-28 15:10:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704818432001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787909748000,"timestamp_ms":1787909748000,"timestamp_seconds":1787909748,"priority":1,"record_length":96,"hex_timestamp":"000001a047b9b520"} 
[2026-08-28 15:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 15:10:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704818432001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704818432001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:10:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:10:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:10: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-28 15:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704818432001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:10:37] 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":708197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:10:37] local.INFO: GPS data processed {"connection_id":163506,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:10:37] local.INFO: Acknowledgment sent {"connection_id":163506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:10:50] local.INFO: TCP Data received {"connection_id":166128,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047bbef70012d1967c0071fed700037011829..."} 
[2026-08-28 15:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047bbef70012d1967c0071fed700037011829..."} 
[2026-08-28 15:10:50] local.INFO: Processing buffer {"connection_id":166128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047bbef70012d1967c0071fed700037011829..."} 
[2026-08-28 15:10:50] local.INFO: Packet analysis {"connection_id":166128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047bb"} 
[2026-08-28 15:10:50] local.INFO: Extracted packet for processing {"connection_id":166128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047bb"} 
[2026-08-28 15:10:50] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:10:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704927488001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:10:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 15:10:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 15:10:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:10:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787909894000,"timestamp_ms":1787909894000,"timestamp_seconds":1787909894,"priority":1,"record_length":96,"hex_timestamp":"000001a047bbef70"} 
[2026-08-28 15: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-28 15:10:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 15:10:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15: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-28 15: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-28 15:10:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:10:50] local.INFO: Teltonika packet parsed successfully {"connection_id":166128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:10:50] local.INFO: Passing IMEI to GPS processor {"connection_id":166128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:10:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":166128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:10:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:10:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:10:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:10:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704927488001,"66":12363,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 15:10:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:10:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:10:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704927488001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:10:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 15:10:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:10:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:10:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 15:10:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704927488001,"power":12363,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 15:10:50] local.INFO: DEBUG: GPS processor result {"connection_id":166128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708198,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:10:50] local.INFO: GPS data processed {"connection_id":166128,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:10:50] local.INFO: Acknowledgment sent {"connection_id":166128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:10:56] local.INFO: TCP Data received {"connection_id":163507,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163507,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:10:56] local.INFO: Processing buffer {"connection_id":163507,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:10:56] local.INFO: IMEI packet received {"connection_id":163507,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 15:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":163507,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:11:01] local.INFO: TCP Data received {"connection_id":163507,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163507,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:11:01] local.INFO: Processing buffer {"connection_id":163507,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:11:01] local.INFO: IMEI packet received {"connection_id":163507,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 15:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":163507,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:11:03] local.INFO: TCP Data received {"connection_id":163507,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047bc3d90012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047bc3d90012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:11:03] local.INFO: Processing buffer {"connection_id":163507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047bc3d90012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:11:03] local.INFO: Packet analysis {"connection_id":163507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047bc"} 
[2026-08-28 15:11:03] local.INFO: Extracted packet for processing {"connection_id":163507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047bc"} 
[2026-08-28 15:11:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704860928001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787909914000,"timestamp_ms":1787909914000,"timestamp_seconds":1787909914,"priority":1,"record_length":96,"hex_timestamp":"000001a047bc3d90"} 
[2026-08-28 15:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:11:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 15:11:03] 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-28 15:11:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163507,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163507,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704860928001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704860928001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:11:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:11:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704860928001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:11:03] 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":708199,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:11:03] local.INFO: GPS data processed {"connection_id":163507,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:11:03] local.INFO: Acknowledgment sent {"connection_id":163507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:11:09] local.INFO: TCP Data received {"connection_id":163506,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047b9b520012d34c14006aa4840000c00e62b..."} 
[2026-08-28 15:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047b9b520012d34c14006aa4840000c00e62b..."} 
[2026-08-28 15:11:09] local.INFO: Processing buffer {"connection_id":163506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047b9b520012d34c14006aa4840000c00e62b..."} 
[2026-08-28 15:11:09] local.INFO: Packet analysis {"connection_id":163506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047b9"} 
[2026-08-28 15:11:09] local.INFO: Extracted packet for processing {"connection_id":163506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047b9"} 
[2026-08-28 15:11:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704818432001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:11:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:11:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787909748000,"timestamp_ms":1787909748000,"timestamp_seconds":1787909748,"priority":1,"record_length":96,"hex_timestamp":"000001a047b9b520"} 
[2026-08-28 15:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:11: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-28 15:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 15:11:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:11:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:11:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704818432001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704818432001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:11:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:11:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:11: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-28 15:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704818432001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:11:09] 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":708200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:11:09] local.INFO: GPS data processed {"connection_id":163506,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:11:09] local.INFO: Acknowledgment sent {"connection_id":163506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:11:10] local.INFO: TCP Data received {"connection_id":163771,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:11:10] local.INFO: Processing buffer {"connection_id":163771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:11:10] local.INFO: IMEI packet received {"connection_id":163771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 15:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":163771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:11:16] local.INFO: TCP Data received {"connection_id":163771,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:11:16] local.INFO: Processing buffer {"connection_id":163771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:11:16] local.INFO: IMEI packet received {"connection_id":163771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:11:16] local.INFO: IMEI acknowledgment sent {"connection_id":163771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:11:17] local.INFO: TCP Data received {"connection_id":163771,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047bc4178012d1967c0071fed700037011829..."} 
[2026-08-28 15:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047bc4178012d1967c0071fed700037011829..."} 
[2026-08-28 15:11:17] local.INFO: Processing buffer {"connection_id":163771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047bc4178012d1967c0071fed700037011829..."} 
[2026-08-28 15:11:17] local.INFO: Packet analysis {"connection_id":163771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047bc"} 
[2026-08-28 15:11:17] local.INFO: Extracted packet for processing {"connection_id":163771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047bc"} 
[2026-08-28 15:11:17] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 15:11:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:11:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704932864001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:11:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 15:11:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 15:11:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:11:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787909915000,"timestamp_ms":1787909915000,"timestamp_seconds":1787909915,"priority":1,"record_length":96,"hex_timestamp":"000001a047bc4178"} 
[2026-08-28 15:11:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:11:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15:11:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-28 15:11:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:11:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:11:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:11:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:11:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:11:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:11:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:11:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:11:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:11:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:11:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704932864001,"66":12037,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 15:11:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:11:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:11:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704932864001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:11:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 15:11:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:11:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:11:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 15:11:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704932864001,"power":12037,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 15:11:17] 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":708201,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:11:17] local.INFO: GPS data processed {"connection_id":163771,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:11:17] local.INFO: Acknowledgment sent {"connection_id":163771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:11:35] local.INFO: TCP Data received {"connection_id":163507,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047bc3d90012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047bc3d90012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:11:35] local.INFO: Processing buffer {"connection_id":163507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047bc3d90012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:11:35] local.INFO: Packet analysis {"connection_id":163507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047bc"} 
[2026-08-28 15:11:35] local.INFO: Extracted packet for processing {"connection_id":163507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047bc"} 
[2026-08-28 15:11:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704860928001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787909914000,"timestamp_ms":1787909914000,"timestamp_seconds":1787909914,"priority":1,"record_length":96,"hex_timestamp":"000001a047bc3d90"} 
[2026-08-28 15:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:11:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 15:11:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:11:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163507,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163507,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704860928001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704860928001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:11:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:11:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704860928001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:11:35] 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":708202,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:11:35] local.INFO: GPS data processed {"connection_id":163507,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:11:35] local.INFO: Acknowledgment sent {"connection_id":163507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:11:36] local.INFO: TCP Data received {"connection_id":166129,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:11:36] local.INFO: Processing buffer {"connection_id":166129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:11:36] local.INFO: IMEI packet received {"connection_id":166129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 15:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":166129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:11:41] local.INFO: TCP Data received {"connection_id":166129,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:11:41] local.INFO: Processing buffer {"connection_id":166129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:11:41] local.INFO: IMEI packet received {"connection_id":166129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 15:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":166129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:11:42] local.INFO: TCP Data received {"connection_id":166129,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047be4ce8012d34c14006aa4840000e00e62b..."} 
[2026-08-28 15:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047be4ce8012d34c14006aa4840000e00e62b..."} 
[2026-08-28 15:11:42] local.INFO: Processing buffer {"connection_id":166129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047be4ce8012d34c14006aa4840000e00e62b..."} 
[2026-08-28 15:11:42] local.INFO: Packet analysis {"connection_id":166129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047be"} 
[2026-08-28 15:11:42] local.INFO: Extracted packet for processing {"connection_id":166129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047be"} 
[2026-08-28 15:11:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704895488001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:11:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:11:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787910049000,"timestamp_ms":1787910049000,"timestamp_seconds":1787910049,"priority":1,"record_length":96,"hex_timestamp":"000001a047be4ce8"} 
[2026-08-28 15: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-28 15:11: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-28 15: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":151,"data_length":795,"current_offset":136} 
[2026-08-28 15:11: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-28 15: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-28 15: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-28 15:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":166129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":166129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":166129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:11:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704895488001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704895488001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:11:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:11:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15: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-28 15:11:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704895488001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":166129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:11:42] local.INFO: GPS data processed {"connection_id":166129,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:11:42] local.INFO: Acknowledgment sent {"connection_id":166129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:11:46] local.INFO: TCP Data received {"connection_id":166129,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047be4ce8012d34c14006aa4840000e00e62b..."} 
[2026-08-28 15:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047be4ce8012d34c14006aa4840000e00e62b..."} 
[2026-08-28 15:11:46] local.INFO: Processing buffer {"connection_id":166129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047be4ce8012d34c14006aa4840000e00e62b..."} 
[2026-08-28 15:11:46] local.INFO: Packet analysis {"connection_id":166129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047be"} 
[2026-08-28 15:11:46] local.INFO: Extracted packet for processing {"connection_id":166129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047be"} 
[2026-08-28 15:11:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:11:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704895488001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:11:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:11:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:11:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:11:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787910049000,"timestamp_ms":1787910049000,"timestamp_seconds":1787910049,"priority":1,"record_length":96,"hex_timestamp":"000001a047be4ce8"} 
[2026-08-28 15:11:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:11:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-28 15:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 15:11:46] 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-28 15:11:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:11:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:11:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:11:46] local.INFO: Teltonika packet parsed successfully {"connection_id":166129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:11:46] local.INFO: Passing IMEI to GPS processor {"connection_id":166129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:11:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":166129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:11:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:11:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:11:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:11:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704895488001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:11:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:11:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:11:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704895488001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:11:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:11:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:11: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-28 15:11:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:11:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704895488001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:11:46] local.INFO: DEBUG: GPS processor result {"connection_id":166129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:11:46] local.INFO: GPS data processed {"connection_id":166129,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:11:46] local.INFO: Acknowledgment sent {"connection_id":166129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:11:49] local.INFO: TCP Data received {"connection_id":163771,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047bc9380012d1967c0071fed700037011828..."} 
[2026-08-28 15:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047bc9380012d1967c0071fed700037011828..."} 
[2026-08-28 15:11:49] local.INFO: Processing buffer {"connection_id":163771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047bc9380012d1967c0071fed700037011828..."} 
[2026-08-28 15:11:49] local.INFO: Packet analysis {"connection_id":163771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047bc"} 
[2026-08-28 15:11:49] local.INFO: Extracted packet for processing {"connection_id":163771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047bc"} 
[2026-08-28 15:11:49] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:11:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704938240001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:11:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 15:11:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 15:11:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:11:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787909936000,"timestamp_ms":1787909936000,"timestamp_seconds":1787909936,"priority":1,"record_length":96,"hex_timestamp":"000001a047bc9380"} 
[2026-08-28 15: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-28 15:11:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15: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":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-28 15:11:49] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182156695175424,"note":"Value kept but may cause issues"} 
[2026-08-28 15:11:49] local.WARNING: Large IO value detected {"io_id":71,"raw_value":3136903169,"note":"Value kept but may cause issues"} 
[2026-08-28 15:11:49] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3983540279,"note":"Value kept but may cause issues"} 
[2026-08-28 15:11:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-1767380493525057512,"corrected_to":0} 
[2026-08-28 15:11:49] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692397,"note":"Value kept but may cause issues"} 
[2026-08-28 15:11:49] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2390032384,"note":"Value kept but may cause issues"} 
[2026-08-28 15:11:49] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2300618130881320996,"note":"Value kept but may cause issues"} 
[2026-08-28 15:11:49] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194903040,"note":"Value kept but may cause issues"} 
[2026-08-28 15:11:49] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,121,28,24,241,158,16,142,160,239,45,192,237,55,41,10,66,157,39,75,1,240,86,71,31,4,113,205,167,103,112,38,48,2,56,7,69],"length":484,"final_offset":614,"validated_count":37,"validation_warnings":[{"io_id":205,"original":-1767380493525057512,"validated":0}]} 
[2026-08-28 15:11:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3963475711435472896,"timestamp_seconds":3963475711435473.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 15: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-28 15:11:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:11:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:11:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:11:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:11:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:11:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:11:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:11:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704938240001,"66":12341,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 15:11:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:11:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:11:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704938240001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:11:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 15:11:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:11:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:11:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 15:11:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704938240001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 15:11:49] 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":708205,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:11:49] local.INFO: GPS data processed {"connection_id":163771,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:11:49] local.INFO: Acknowledgment sent {"connection_id":163771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:11:56] local.INFO: TCP Data received {"connection_id":163508,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163508,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:11:56] local.INFO: Processing buffer {"connection_id":163508,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:11:56] local.INFO: IMEI packet received {"connection_id":163508,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 15:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":163508,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:12:02] local.INFO: TCP Data received {"connection_id":163508,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163508,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:12:02] local.INFO: Processing buffer {"connection_id":163508,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:12:02] local.INFO: IMEI packet received {"connection_id":163508,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 15:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":163508,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:12:03] local.INFO: TCP Data received {"connection_id":163508,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047bc3d90012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047bc3d90012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:12:03] local.INFO: Processing buffer {"connection_id":163508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047bc3d90012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:12:03] local.INFO: Packet analysis {"connection_id":163508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047bc"} 
[2026-08-28 15:12:03] local.INFO: Extracted packet for processing {"connection_id":163508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047bc"} 
[2026-08-28 15:12:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704860928001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:12:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787909914000,"timestamp_ms":1787909914000,"timestamp_seconds":1787909914,"priority":1,"record_length":96,"hex_timestamp":"000001a047bc3d90"} 
[2026-08-28 15:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:12:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 15:12:03] 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-28 15:12:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163508,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163508,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704860928001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704860928001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:12:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:12:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704860928001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":163508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708206,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:12:03] local.INFO: GPS data processed {"connection_id":163508,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:12:03] local.INFO: Acknowledgment sent {"connection_id":163508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:12:10] local.INFO: TCP Data received {"connection_id":166130,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166130,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:12:10] local.INFO: Processing buffer {"connection_id":166130,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:12:10] local.INFO: IMEI packet received {"connection_id":166130,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 15:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":166130,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:12:16] local.INFO: TCP Data received {"connection_id":166130,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166130,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:12:16] local.INFO: Processing buffer {"connection_id":166130,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:12:16] local.INFO: IMEI packet received {"connection_id":166130,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:12:16] local.INFO: IMEI acknowledgment sent {"connection_id":166130,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:12:17] local.INFO: TCP Data received {"connection_id":166130,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047bce588012d1967c0071fed700037011827..."} 
[2026-08-28 15:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047bce588012d1967c0071fed700037011827..."} 
[2026-08-28 15:12:17] local.INFO: Processing buffer {"connection_id":166130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047bce588012d1967c0071fed700037011827..."} 
[2026-08-28 15:12:17] local.INFO: Packet analysis {"connection_id":166130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047bc"} 
[2026-08-28 15:12:17] local.INFO: Extracted packet for processing {"connection_id":166130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047bc"} 
[2026-08-28 15:12:17] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 15:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:12:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704943616001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:12:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 15:12:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 15:12:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:12:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787909957000,"timestamp_ms":1787909957000,"timestamp_seconds":1787909957,"priority":1,"record_length":96,"hex_timestamp":"000001a047bce588"} 
[2026-08-28 15:12:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:12:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 15:12:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:12:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:12:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:12:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:12:17] local.INFO: Teltonika packet parsed successfully {"connection_id":166130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:12:17] local.INFO: Passing IMEI to GPS processor {"connection_id":166130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:12:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":166130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:12:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:12:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:12:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:12:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704943616001,"66":12298,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 15:12:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:12:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:12:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704943616001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:12:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 15:12:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:12:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:12:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 15:12:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704943616001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 15:12:17] local.INFO: DEBUG: GPS processor result {"connection_id":166130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708207,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:12:17] local.INFO: GPS data processed {"connection_id":166130,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:12:17] local.INFO: Acknowledgment sent {"connection_id":166130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:12:30] local.INFO: TCP Data received {"connection_id":163772,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:12:30] local.INFO: Processing buffer {"connection_id":163772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:12:30] local.INFO: IMEI packet received {"connection_id":163772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 15:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":163772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:12:35] local.INFO: TCP Data received {"connection_id":163508,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047bc3d90012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047bc3d90012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:12:35] local.INFO: Processing buffer {"connection_id":163508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047bc3d90012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:12:35] local.INFO: Packet analysis {"connection_id":163508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047bc"} 
[2026-08-28 15:12:35] local.INFO: Extracted packet for processing {"connection_id":163508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047bc"} 
[2026-08-28 15:12:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704860928001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:12:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:12:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787909914000,"timestamp_ms":1787909914000,"timestamp_seconds":1787909914,"priority":1,"record_length":96,"hex_timestamp":"000001a047bc3d90"} 
[2026-08-28 15:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:12:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 15:12:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:12:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163508,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163508,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704860928001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704860928001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:12:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:12:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:12:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704860928001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":163508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708208,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:12:35] local.INFO: GPS data processed {"connection_id":163508,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:12:35] local.INFO: Acknowledgment sent {"connection_id":163508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:12:36] local.INFO: TCP Data received {"connection_id":163772,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:12:36] local.INFO: Processing buffer {"connection_id":163772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:12:36] local.INFO: IMEI packet received {"connection_id":163772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 15:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":163772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:12:38] local.INFO: TCP Data received {"connection_id":163772,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047be4ce8012d34c14006aa4840000e00e62b..."} 
[2026-08-28 15:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047be4ce8012d34c14006aa4840000e00e62b..."} 
[2026-08-28 15:12:38] local.INFO: Processing buffer {"connection_id":163772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047be4ce8012d34c14006aa4840000e00e62b..."} 
[2026-08-28 15:12:38] local.INFO: Packet analysis {"connection_id":163772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047be"} 
[2026-08-28 15:12:38] local.INFO: Extracted packet for processing {"connection_id":163772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047be"} 
[2026-08-28 15:12:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704895488001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:12:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787910049000,"timestamp_ms":1787910049000,"timestamp_seconds":1787910049,"priority":1,"record_length":96,"hex_timestamp":"000001a047be4ce8"} 
[2026-08-28 15: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-28 15:12:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15: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":151,"data_length":795,"current_offset":136} 
[2026-08-28 15:12: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-28 15: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-28 15: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-28 15:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704895488001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704895488001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:12:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:12:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15: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-28 15:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704895488001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:12:38] 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":708209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:12:38] local.INFO: GPS data processed {"connection_id":163772,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:12:38] local.INFO: Acknowledgment sent {"connection_id":163772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:12:49] local.INFO: TCP Data received {"connection_id":166130,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047bd3790012d1967c0071fed700037011827..."} 
[2026-08-28 15:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047bd3790012d1967c0071fed700037011827..."} 
[2026-08-28 15:12:49] local.INFO: Processing buffer {"connection_id":166130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047bd3790012d1967c0071fed700037011827..."} 
[2026-08-28 15:12:49] local.INFO: Packet analysis {"connection_id":166130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047bd"} 
[2026-08-28 15:12:49] local.INFO: Extracted packet for processing {"connection_id":166130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047bd"} 
[2026-08-28 15:12:49] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:12:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704948992001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:12:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 15:12:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 15:12:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:12:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787909978000,"timestamp_ms":1787909978000,"timestamp_seconds":1787909978,"priority":1,"record_length":96,"hex_timestamp":"000001a047bd3790"} 
[2026-08-28 15: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-28 15:12:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-28 15:12:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-28 15:12:49] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-08-28 15:12:49] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452344,"note":"Value kept but may cause issues"} 
[2026-08-28 15:12:49] local.WARNING: Large IO value detected {"io_id":142,"raw_value":8430738502437568513,"note":"Value kept but may cause issues"} 
[2026-08-28 15:12:49] local.WARNING: Large IO value detected {"io_id":160,"raw_value":5168627484420020583,"note":"Value kept but may cause issues"} 
[2026-08-28 15:12:49] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513389947839250712,"note":"Value kept but may cause issues"} 
[2026-08-28 15:12:49] local.WARNING: Large IO value detected {"io_id":55,"raw_value":78854774920839168,"note":"Value kept but may cause issues"} 
[2026-08-28 15:12:49] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832586,"note":"Value kept but may cause issues"} 
[2026-08-28 15:12:49] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3486068470913237198,"note":"Value kept but may cause issues"} 
[2026-08-28 15:12:49] local.WARNING: Large IO value detected {"io_id":71,"raw_value":3147655169,"note":"Value kept but may cause issues"} 
[2026-08-28 15:12:49] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3983540279,"note":"Value kept but may cause issues"} 
[2026-08-28 15:12:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-08-28 15:12:49] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692397,"note":"Value kept but may cause issues"} 
[2026-08-28 15:12:49] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2390032384,"note":"Value kept but may cause issues"} 
[2026-08-28 15:12:49] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,121,28,24,241,158,16,142,160,147,45,192,237,55,40,10,66,65,41,239,1,240,75,71,31,4,113,205,103,112,48,2,56,7,38],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-08-28 15:12:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3963475702845538304,"timestamp_seconds":3963475702845538.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 15: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-28 15:12:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:12:49] local.INFO: Teltonika packet parsed successfully {"connection_id":166130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:12:49] local.INFO: Passing IMEI to GPS processor {"connection_id":166130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:12:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":166130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:12:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:12:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:12:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:12:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704948992001,"66":12298,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 15:12:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:12:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:12:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704948992001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:12:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 15:12:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:12:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:12:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 15:12:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704948992001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 15:12:49] local.INFO: DEBUG: GPS processor result {"connection_id":166130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708210,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:12:49] local.INFO: GPS data processed {"connection_id":166130,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:12:49] local.INFO: Acknowledgment sent {"connection_id":166130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:13:02] local.INFO: TCP Data received {"connection_id":166131,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166131,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:13:02] local.INFO: Processing buffer {"connection_id":166131,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:13:02] local.INFO: IMEI packet received {"connection_id":166131,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 15:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":166131,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:13:07] local.INFO: TCP Data received {"connection_id":166131,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166131,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:13:07] local.INFO: Processing buffer {"connection_id":166131,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:13:07] local.INFO: IMEI packet received {"connection_id":166131,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 15:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":166131,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:13:09] local.INFO: TCP Data received {"connection_id":166131,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047bc3d90012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047bc3d90012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:13:09] local.INFO: Processing buffer {"connection_id":166131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047bc3d90012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:13:09] local.INFO: Packet analysis {"connection_id":166131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047bc"} 
[2026-08-28 15:13:09] local.INFO: Extracted packet for processing {"connection_id":166131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047bc"} 
[2026-08-28 15:13:09] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704860928001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:13:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:13:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787909914000,"timestamp_ms":1787909914000,"timestamp_seconds":1787909914,"priority":1,"record_length":96,"hex_timestamp":"000001a047bc3d90"} 
[2026-08-28 15:13:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:13:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 15:13:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:13:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:13:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":166131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":166131,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":166131,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:13:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704860928001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704860928001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:13:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:13:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:13:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:13:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704860928001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:13:09] local.INFO: DEBUG: GPS processor result {"connection_id":166131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708211,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:13:09] local.INFO: GPS data processed {"connection_id":166131,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:13:09] local.INFO: Acknowledgment sent {"connection_id":166131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:13:10] local.INFO: TCP Data received {"connection_id":163772,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047be4ce8012d34c14006aa4840000e00e62b..."} 
[2026-08-28 15:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047be4ce8012d34c14006aa4840000e00e62b..."} 
[2026-08-28 15:13:10] local.INFO: Processing buffer {"connection_id":163772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047be4ce8012d34c14006aa4840000e00e62b..."} 
[2026-08-28 15:13:10] local.INFO: Packet analysis {"connection_id":163772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047be"} 
[2026-08-28 15:13:10] local.INFO: Extracted packet for processing {"connection_id":163772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047be"} 
[2026-08-28 15:13:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704895488001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:13:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:13:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787910049000,"timestamp_ms":1787910049000,"timestamp_seconds":1787910049,"priority":1,"record_length":96,"hex_timestamp":"000001a047be4ce8"} 
[2026-08-28 15:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:13:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 15:13:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:13:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:13:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704895488001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704895488001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:13:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:13:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:13:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704895488001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:13:10] 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":708212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:13:10] local.INFO: GPS data processed {"connection_id":163772,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:13:10] local.INFO: Acknowledgment sent {"connection_id":163772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:13:13] local.INFO: TCP Data received {"connection_id":166131,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047bc3d90012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047bc3d90012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:13:13] local.INFO: Processing buffer {"connection_id":166131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047bc3d90012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:13:13] local.INFO: Packet analysis {"connection_id":166131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047bc"} 
[2026-08-28 15:13:13] local.INFO: Extracted packet for processing {"connection_id":166131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047bc"} 
[2026-08-28 15:13:13] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:13:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704860928001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:13:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:13:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:13:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:13:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787909914000,"timestamp_ms":1787909914000,"timestamp_seconds":1787909914,"priority":1,"record_length":96,"hex_timestamp":"000001a047bc3d90"} 
[2026-08-28 15: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-28 15:13:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15: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":118,"data_length":795,"current_offset":136} 
[2026-08-28 15:13: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-28 15: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-28 15: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-28 15:13:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:13:13] local.INFO: Teltonika packet parsed successfully {"connection_id":166131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:13:13] local.INFO: Passing IMEI to GPS processor {"connection_id":166131,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:13:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":166131,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:13:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:13:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:13:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:13:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704860928001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:13:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:13:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:13:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704860928001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:13:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:13:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:13:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:13:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:13:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704860928001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:13:13] local.INFO: DEBUG: GPS processor result {"connection_id":166131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708213,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:13:13] local.INFO: GPS data processed {"connection_id":166131,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:13:13] local.INFO: Acknowledgment sent {"connection_id":166131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:13:16] local.INFO: TCP Data received {"connection_id":164768,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:13:16] local.INFO: Processing buffer {"connection_id":164768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:13:16] local.INFO: IMEI packet received {"connection_id":164768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 15:13:16] local.INFO: IMEI acknowledgment sent {"connection_id":164768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:13:21] local.INFO: TCP Data received {"connection_id":164768,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:13:21] local.INFO: Processing buffer {"connection_id":164768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:13:21] local.INFO: IMEI packet received {"connection_id":164768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:13:21] local.INFO: IMEI acknowledgment sent {"connection_id":164768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:13:22] local.INFO: TCP Data received {"connection_id":164768,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047bd8998012d1967c0071fed700037011827..."} 
[2026-08-28 15:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047bd8998012d1967c0071fed700037011827..."} 
[2026-08-28 15:13:22] local.INFO: Processing buffer {"connection_id":164768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047bd8998012d1967c0071fed700037011827..."} 
[2026-08-28 15:13:22] local.INFO: Packet analysis {"connection_id":164768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047bd"} 
[2026-08-28 15:13:22] local.INFO: Extracted packet for processing {"connection_id":164768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047bd"} 
[2026-08-28 15:13:22] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 15:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:13:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704954368001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:13:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 15:13:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 15:13:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:13:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787909999000,"timestamp_ms":1787909999000,"timestamp_seconds":1787909999,"priority":1,"record_length":96,"hex_timestamp":"000001a047bd8998"} 
[2026-08-28 15:13:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:13:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-28 15:13:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-28 15:13:22] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-08-28 15:13:22] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452344,"note":"Value kept but may cause issues"} 
[2026-08-28 15:13:22] local.WARNING: Large IO value detected {"io_id":142,"raw_value":8430738502437568513,"note":"Value kept but may cause issues"} 
[2026-08-28 15:13:22] local.WARNING: Large IO value detected {"io_id":160,"raw_value":5168717678733236583,"note":"Value kept but may cause issues"} 
[2026-08-28 15:13:22] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513389947839250712,"note":"Value kept but may cause issues"} 
[2026-08-28 15:13:22] local.WARNING: Large IO value detected {"io_id":55,"raw_value":78856973944094720,"note":"Value kept but may cause issues"} 
[2026-08-28 15:13:22] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832586,"note":"Value kept but may cause issues"} 
[2026-08-28 15:13:22] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3482972246169419982,"note":"Value kept but may cause issues"} 
[2026-08-28 15:13:22] local.WARNING: Large IO value detected {"io_id":71,"raw_value":3153031169,"note":"Value kept but may cause issues"} 
[2026-08-28 15:13:22] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3983540279,"note":"Value kept but may cause issues"} 
[2026-08-28 15:13:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-08-28 15:13:22] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221692397,"note":"Value kept but may cause issues"} 
[2026-08-28 15:13:22] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2390032384,"note":"Value kept but may cause issues"} 
[2026-08-28 15:13:22] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,121,28,24,241,158,16,142,160,229,45,192,237,55,39,10,66,147,40,65,1,240,5,71,31,4,113,205,157,103,112,239,48,2,56,7,38],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-08-28 15:13:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3963475702845538304,"timestamp_seconds":3963475702845538.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 15:13:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:13:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:13:22] local.INFO: Teltonika packet parsed successfully {"connection_id":164768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:13:22] local.INFO: Passing IMEI to GPS processor {"connection_id":164768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:13:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":164768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:13:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:13:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:13:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:13:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704954368001,"66":12374,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 15:13:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:13:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:13:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704954368001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:13:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 15:13:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:13:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:13:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 15:13:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704954368001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 15:13:22] 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":708214,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:13:22] local.INFO: GPS data processed {"connection_id":164768,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:13:22] local.INFO: Acknowledgment sent {"connection_id":164768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:13:26] local.INFO: TCP Data received {"connection_id":164768,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047bddba0012d1967c0071fed700037011826..."} 
[2026-08-28 15:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047bddba0012d1967c0071fed700037011826..."} 
[2026-08-28 15:13:26] local.INFO: Processing buffer {"connection_id":164768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047bddba0012d1967c0071fed700037011826..."} 
[2026-08-28 15:13:26] local.INFO: Packet analysis {"connection_id":164768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047bd"} 
[2026-08-28 15:13:26] local.INFO: Extracted packet for processing {"connection_id":164768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047bd"} 
[2026-08-28 15:13:26] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 15:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:13:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704959744001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:13:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 15:13:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 15:13:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:13:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787910020000,"timestamp_ms":1787910020000,"timestamp_seconds":1787910020,"priority":1,"record_length":96,"hex_timestamp":"000001a047bddba0"} 
[2026-08-28 15:13:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:13:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 15:13:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:13:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:13:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:13:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:13:26] local.INFO: Teltonika packet parsed successfully {"connection_id":164768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:13:26] local.INFO: Passing IMEI to GPS processor {"connection_id":164768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:13:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":164768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:13:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:13:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:13:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:13:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704959744001,"66":11721,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 15:13:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:13:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:13:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704959744001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:13:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 15:13:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:13:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:13:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 15:13:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704959744001,"power":11721,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 15:13:26] 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":708215,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:13:26] local.INFO: GPS data processed {"connection_id":164768,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:13:26] local.INFO: Acknowledgment sent {"connection_id":164768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:13:30] local.INFO: TCP Data received {"connection_id":163773,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:13:30] local.INFO: Processing buffer {"connection_id":163773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:13:30] local.INFO: IMEI packet received {"connection_id":163773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 15:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":163773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:13:36] local.INFO: TCP Data received {"connection_id":163773,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:13:36] local.INFO: Processing buffer {"connection_id":163773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:13:36] local.INFO: IMEI packet received {"connection_id":163773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 15:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":163773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:13:37] local.INFO: TCP Data received {"connection_id":163773,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047be4ce8012d34c14006aa4840000e00e62b..."} 
[2026-08-28 15:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047be4ce8012d34c14006aa4840000e00e62b..."} 
[2026-08-28 15:13:37] local.INFO: Processing buffer {"connection_id":163773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047be4ce8012d34c14006aa4840000e00e62b..."} 
[2026-08-28 15:13:37] local.INFO: Packet analysis {"connection_id":163773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047be"} 
[2026-08-28 15:13:37] local.INFO: Extracted packet for processing {"connection_id":163773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047be"} 
[2026-08-28 15:13:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704895488001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787910049000,"timestamp_ms":1787910049000,"timestamp_seconds":1787910049,"priority":1,"record_length":96,"hex_timestamp":"000001a047be4ce8"} 
[2026-08-28 15:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 15:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704895488001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704895488001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:13:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:13:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:13: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-28 15:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704895488001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:13:37] 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":708216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:13:37] local.INFO: GPS data processed {"connection_id":163773,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:13:37] local.INFO: Acknowledgment sent {"connection_id":163773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:13:56] local.INFO: TCP Data received {"connection_id":163774,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163774,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:13:56] local.INFO: Processing buffer {"connection_id":163774,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:13:56] local.INFO: IMEI packet received {"connection_id":163774,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 15:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":163774,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:14:02] local.INFO: TCP Data received {"connection_id":163774,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163774,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:14:02] local.INFO: Processing buffer {"connection_id":163774,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:14:02] local.INFO: IMEI packet received {"connection_id":163774,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 15:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":163774,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:14:03] local.INFO: TCP Data received {"connection_id":163774,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047bc3d90012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047bc3d90012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:14:03] local.INFO: Processing buffer {"connection_id":163774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047bc3d90012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:14:03] local.INFO: Packet analysis {"connection_id":163774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047bc"} 
[2026-08-28 15:14:03] local.INFO: Extracted packet for processing {"connection_id":163774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047bc"} 
[2026-08-28 15:14:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704860928001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787909914000,"timestamp_ms":1787909914000,"timestamp_seconds":1787909914,"priority":1,"record_length":96,"hex_timestamp":"000001a047bc3d90"} 
[2026-08-28 15:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:14:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 15:14:03] 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-28 15:14:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163774,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163774,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704860928001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704860928001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:14:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:14:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704860928001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:14:04] 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":708217,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:14:04] local.INFO: GPS data processed {"connection_id":163774,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:14:04] local.INFO: Acknowledgment sent {"connection_id":163774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:14:10] local.INFO: TCP Data received {"connection_id":163775,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163775,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:14:10] local.INFO: Processing buffer {"connection_id":163775,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:14:10] local.INFO: IMEI packet received {"connection_id":163775,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 15:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":163775,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:14:11] local.INFO: TCP Data received {"connection_id":163773,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047be4ce8012d34c14006aa4840000e00e62b..."} 
[2026-08-28 15:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047be4ce8012d34c14006aa4840000e00e62b..."} 
[2026-08-28 15:14:11] local.INFO: Processing buffer {"connection_id":163773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047be4ce8012d34c14006aa4840000e00e62b..."} 
[2026-08-28 15:14:11] local.INFO: Packet analysis {"connection_id":163773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047be"} 
[2026-08-28 15:14:11] local.INFO: Extracted packet for processing {"connection_id":163773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047be"} 
[2026-08-28 15:14:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704895488001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:14:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:14:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787910049000,"timestamp_ms":1787910049000,"timestamp_seconds":1787910049,"priority":1,"record_length":96,"hex_timestamp":"000001a047be4ce8"} 
[2026-08-28 15:14:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:14:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 15:14:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:14:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:14:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":163773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":163773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":163773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:14:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704895488001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704895488001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:14:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:14:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:14: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-28 15:14:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704895488001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:14:11] 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":708218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:14:11] local.INFO: GPS data processed {"connection_id":163773,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:14:11] local.INFO: Acknowledgment sent {"connection_id":163773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:14:16] local.INFO: TCP Data received {"connection_id":163775,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163775,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:14:16] local.INFO: Processing buffer {"connection_id":163775,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:14:16] local.INFO: IMEI packet received {"connection_id":163775,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:14:16] local.INFO: IMEI acknowledgment sent {"connection_id":163775,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:14:17] local.INFO: TCP Data received {"connection_id":163775,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047be2da8012d1967c0071fed700037011825..."} 
[2026-08-28 15:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047be2da8012d1967c0071fed700037011825..."} 
[2026-08-28 15:14:17] local.INFO: Processing buffer {"connection_id":163775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047be2da8012d1967c0071fed700037011825..."} 
[2026-08-28 15:14:17] local.INFO: Packet analysis {"connection_id":163775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047be"} 
[2026-08-28 15:14:17] local.INFO: Extracted packet for processing {"connection_id":163775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047be"} 
[2026-08-28 15:14:17] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 15:14:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:14:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704965120001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:14:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 15:14:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 15:14:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:14:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787910041000,"timestamp_ms":1787910041000,"timestamp_seconds":1787910041,"priority":1,"record_length":96,"hex_timestamp":"000001a047be2da8"} 
[2026-08-28 15:14:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:14:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15:14:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-28 15:14:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2232,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:14:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:14:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:14:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:14:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:14:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:14:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:14:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:14:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:14:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:14:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704965120001,"66":12341,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 15:14:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:14:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:14:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704965120001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:14:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 15:14:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:14:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:14:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 15:14:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704965120001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 15:14:17] 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":708219,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:14:17] local.INFO: GPS data processed {"connection_id":163775,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:14:17] local.INFO: Acknowledgment sent {"connection_id":163775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:14:36] local.INFO: TCP Data received {"connection_id":163776,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:14:36] local.INFO: Processing buffer {"connection_id":163776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:14:36] local.INFO: IMEI packet received {"connection_id":163776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 15:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":163776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:14:36] local.INFO: TCP Data received {"connection_id":163774,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047c0d558012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047c0d558012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:14:36] local.INFO: Processing buffer {"connection_id":163774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047c0d558012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:14:36] local.INFO: Packet analysis {"connection_id":163774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047c0"} 
[2026-08-28 15:14:36] local.INFO: Extracted packet for processing {"connection_id":163774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047c0"} 
[2026-08-28 15:14:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704937984001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:14:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787910215000,"timestamp_ms":1787910215000,"timestamp_seconds":1787910215,"priority":1,"record_length":96,"hex_timestamp":"000001a047c0d558"} 
[2026-08-28 15:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:14:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:14:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:14:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163774,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163774,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:14:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704937984001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704937984001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:14:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:14:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704937984001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:14:36] 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":708220,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:14:36] local.INFO: GPS data processed {"connection_id":163774,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:14:36] local.INFO: Acknowledgment sent {"connection_id":163774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:14:41] local.INFO: TCP Data received {"connection_id":163776,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:14:41] local.INFO: Processing buffer {"connection_id":163776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:14:41] local.INFO: IMEI packet received {"connection_id":163776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 15:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":163776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:14:41] local.INFO: TCP Data received {"connection_id":163776,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047be4ce8012d34c14006aa4840000e00e62b..."} 
[2026-08-28 15:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047be4ce8012d34c14006aa4840000e00e62b..."} 
[2026-08-28 15:14:41] local.INFO: Processing buffer {"connection_id":163776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047be4ce8012d34c14006aa4840000e00e62b..."} 
[2026-08-28 15:14:41] local.INFO: Packet analysis {"connection_id":163776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047be"} 
[2026-08-28 15:14:41] local.INFO: Extracted packet for processing {"connection_id":163776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047be"} 
[2026-08-28 15:14:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704895488001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:14:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:14:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787910049000,"timestamp_ms":1787910049000,"timestamp_seconds":1787910049,"priority":1,"record_length":96,"hex_timestamp":"000001a047be4ce8"} 
[2026-08-28 15:14:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:14:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 15:14:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:14:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:14:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":163776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":163776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":163776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:14:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704895488001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704895488001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:14:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:14:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:14: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-28 15:14:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704895488001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:14:41] 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":708221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:14:41] local.INFO: GPS data processed {"connection_id":163776,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:14:41] local.INFO: Acknowledgment sent {"connection_id":163776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:14:46] local.INFO: TCP Data received {"connection_id":163776,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047be4ce8012d34c14006aa4840000e00e62b..."} 
[2026-08-28 15:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047be4ce8012d34c14006aa4840000e00e62b..."} 
[2026-08-28 15:14:46] local.INFO: Processing buffer {"connection_id":163776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047be4ce8012d34c14006aa4840000e00e62b..."} 
[2026-08-28 15:14:46] local.INFO: Packet analysis {"connection_id":163776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047be"} 
[2026-08-28 15:14:46] local.INFO: Extracted packet for processing {"connection_id":163776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047be"} 
[2026-08-28 15:14:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704895488001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:14:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:14:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787910049000,"timestamp_ms":1787910049000,"timestamp_seconds":1787910049,"priority":1,"record_length":96,"hex_timestamp":"000001a047be4ce8"} 
[2026-08-28 15:14:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:14:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-28 15:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 15:14:46] 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-28 15:14:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:14:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:14:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704895488001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704895488001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:14:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:14:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:14: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-28 15:14:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704895488001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:14:46] 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":708222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:14:46] local.INFO: GPS data processed {"connection_id":163776,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:14:46] local.INFO: Acknowledgment sent {"connection_id":163776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:14:53] local.INFO: TCP Data received {"connection_id":163775,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047be7fb0012d1967c0071fed700037011829..."} 
[2026-08-28 15:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047be7fb0012d1967c0071fed700037011829..."} 
[2026-08-28 15:14:53] local.INFO: Processing buffer {"connection_id":163775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047be7fb0012d1967c0071fed700037011829..."} 
[2026-08-28 15:14:53] local.INFO: Packet analysis {"connection_id":163775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047be"} 
[2026-08-28 15:14:53] local.INFO: Extracted packet for processing {"connection_id":163775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047be"} 
[2026-08-28 15:14:53] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:14:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704970496001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:14:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 15:14:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 15:14:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:14:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787910062000,"timestamp_ms":1787910062000,"timestamp_seconds":1787910062,"priority":1,"record_length":96,"hex_timestamp":"000001a047be7fb0"} 
[2026-08-28 15: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-28 15:14:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 15:14:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15: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-28 15: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-28 15:14:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:14:53] local.INFO: Teltonika packet parsed successfully {"connection_id":163775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:14:53] local.INFO: Passing IMEI to GPS processor {"connection_id":163775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:14:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":163775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:14:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:14:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:14:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:14:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704970496001,"66":12374,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 15:14:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:14:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:14:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704970496001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:14:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 15:14:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:14:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:14:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 15:14:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704970496001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 15:14:53] 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":708223,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:14:53] local.INFO: GPS data processed {"connection_id":163775,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:14:53] local.INFO: Acknowledgment sent {"connection_id":163775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:14:56] local.INFO: TCP Data received {"connection_id":163509,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163509,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:14:56] local.INFO: Processing buffer {"connection_id":163509,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:14:56] local.INFO: IMEI packet received {"connection_id":163509,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 15:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":163509,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:15:02] local.INFO: TCP Data received {"connection_id":163509,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163509,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:15:02] local.INFO: Processing buffer {"connection_id":163509,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:15:02] local.INFO: IMEI packet received {"connection_id":163509,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 15:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":163509,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:15:03] local.INFO: TCP Data received {"connection_id":163509,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047c0d558012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047c0d558012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:15:03] local.INFO: Processing buffer {"connection_id":163509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047c0d558012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:15:03] local.INFO: Packet analysis {"connection_id":163509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047c0"} 
[2026-08-28 15:15:03] local.INFO: Extracted packet for processing {"connection_id":163509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047c0"} 
[2026-08-28 15:15:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704937984001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787910215000,"timestamp_ms":1787910215000,"timestamp_seconds":1787910215,"priority":1,"record_length":96,"hex_timestamp":"000001a047c0d558"} 
[2026-08-28 15:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:15:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:15:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:15:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163509,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163509,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704937984001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704937984001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:15:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:15:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704937984001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":163509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708224,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:15:03] local.INFO: GPS data processed {"connection_id":163509,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:15:03] local.INFO: Acknowledgment sent {"connection_id":163509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:15:10] local.INFO: TCP Data received {"connection_id":163510,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163510,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:15:10] local.INFO: Processing buffer {"connection_id":163510,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:15:10] local.INFO: IMEI packet received {"connection_id":163510,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 15:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":163510,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:15:10] local.INFO: TCP Data received {"connection_id":163510,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163510,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:15:10] local.INFO: Processing buffer {"connection_id":163510,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:15:10] local.INFO: IMEI packet received {"connection_id":163510,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":163510,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:15:16] local.INFO: TCP Data received {"connection_id":163510,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163510,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:15:16] local.INFO: Processing buffer {"connection_id":163510,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:15:16] local.INFO: IMEI packet received {"connection_id":163510,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:15:16] local.INFO: IMEI acknowledgment sent {"connection_id":163510,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:15:17] local.INFO: TCP Data received {"connection_id":163510,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047bed1b8012d1967c0071fed700037011829..."} 
[2026-08-28 15:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047bed1b8012d1967c0071fed700037011829..."} 
[2026-08-28 15:15:17] local.INFO: Processing buffer {"connection_id":163510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047bed1b8012d1967c0071fed700037011829..."} 
[2026-08-28 15:15:17] local.INFO: Packet analysis {"connection_id":163510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047be"} 
[2026-08-28 15:15:17] local.INFO: Extracted packet for processing {"connection_id":163510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047be"} 
[2026-08-28 15:15:17] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":41,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:15:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704975872001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:15:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 15:15:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 15:15:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:15:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787910083000,"timestamp_ms":1787910083000,"timestamp_seconds":1787910083,"priority":1,"record_length":96,"hex_timestamp":"000001a047bed1b8"} 
[2026-08-28 15: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-28 15:15:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 15:15:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15: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-28 15: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-28 15:15:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:15:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:15:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:15:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:15:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:15:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:15:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:15:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704975872001,"66":12374,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 15:15:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:15:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:15:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704975872001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:15:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 15:15:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:15:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:15:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 15:15:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704975872001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 15:15:17] 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":708225,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:15:17] local.INFO: GPS data processed {"connection_id":163510,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:15:17] local.INFO: Acknowledgment sent {"connection_id":163510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:15:31] local.INFO: TCP Data received {"connection_id":166132,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:15:31] local.INFO: Processing buffer {"connection_id":166132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:15:31] local.INFO: IMEI packet received {"connection_id":166132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 15:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":166132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:15:35] local.INFO: TCP Data received {"connection_id":163509,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047c0d558012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047c0d558012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:15:35] local.INFO: Processing buffer {"connection_id":163509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047c0d558012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:15:35] local.INFO: Packet analysis {"connection_id":163509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047c0"} 
[2026-08-28 15:15:35] local.INFO: Extracted packet for processing {"connection_id":163509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047c0"} 
[2026-08-28 15:15:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704937984001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:15:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:15:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787910215000,"timestamp_ms":1787910215000,"timestamp_seconds":1787910215,"priority":1,"record_length":96,"hex_timestamp":"000001a047c0d558"} 
[2026-08-28 15:15:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:15:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:15:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:15:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:15:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163509,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163509,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:15:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704937984001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704937984001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:15:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:15:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:15:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:15:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704937984001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":163509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708226,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:15:35] local.INFO: GPS data processed {"connection_id":163509,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:15:35] local.INFO: Acknowledgment sent {"connection_id":163509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:15:36] local.INFO: TCP Data received {"connection_id":166132,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:15:36] local.INFO: Processing buffer {"connection_id":166132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:15:36] local.INFO: IMEI packet received {"connection_id":166132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 15:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":166132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:15:37] local.INFO: TCP Data received {"connection_id":166132,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047be4ce8012d34c14006aa4840000e00e62b..."} 
[2026-08-28 15:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047be4ce8012d34c14006aa4840000e00e62b..."} 
[2026-08-28 15:15:37] local.INFO: Processing buffer {"connection_id":166132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047be4ce8012d34c14006aa4840000e00e62b..."} 
[2026-08-28 15:15:37] local.INFO: Packet analysis {"connection_id":166132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047be"} 
[2026-08-28 15:15:37] local.INFO: Extracted packet for processing {"connection_id":166132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047be"} 
[2026-08-28 15:15:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704895488001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787910049000,"timestamp_ms":1787910049000,"timestamp_seconds":1787910049,"priority":1,"record_length":96,"hex_timestamp":"000001a047be4ce8"} 
[2026-08-28 15:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 15:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15: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-28 15:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":166132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":166132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":166132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704895488001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704895488001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:15:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:15:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:15: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-28 15:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704895488001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":166132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:15:37] local.INFO: GPS data processed {"connection_id":166132,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:15:37] local.INFO: Acknowledgment sent {"connection_id":166132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:15:49] local.INFO: TCP Data received {"connection_id":163510,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047bf23c0012d1967c0071fed700037011828..."} 
[2026-08-28 15:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047bf23c0012d1967c0071fed700037011828..."} 
[2026-08-28 15:15:49] local.INFO: Processing buffer {"connection_id":163510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047bf23c0012d1967c0071fed700037011828..."} 
[2026-08-28 15:15:49] local.INFO: Packet analysis {"connection_id":163510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047bf"} 
[2026-08-28 15:15:49] local.INFO: Extracted packet for processing {"connection_id":163510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047bf"} 
[2026-08-28 15:15:49] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":40,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704981248001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:15:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 15:15:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 15:15:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:15:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787910104000,"timestamp_ms":1787910104000,"timestamp_seconds":1787910104,"priority":1,"record_length":96,"hex_timestamp":"000001a047bf23c0"} 
[2026-08-28 15: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-28 15:15:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 15:15:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15: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-28 15: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-28 15:15:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:15:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:15:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:15:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:15:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:15:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:15:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:15:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704981248001,"66":12363,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 15:15:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:15:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:15:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704981248001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:15:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 15:15:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:15:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:15:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 15:15:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704981248001,"power":12363,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 15:15:49] 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":708228,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:15:49] local.INFO: GPS data processed {"connection_id":163510,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:15:49] local.INFO: Acknowledgment sent {"connection_id":163510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:15:56] local.INFO: TCP Data received {"connection_id":166133,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166133,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:15:56] local.INFO: Processing buffer {"connection_id":166133,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:15:56] local.INFO: IMEI packet received {"connection_id":166133,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 15:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":166133,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:16:02] local.INFO: TCP Data received {"connection_id":166133,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166133,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:16:02] local.INFO: Processing buffer {"connection_id":166133,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:16:02] local.INFO: IMEI packet received {"connection_id":166133,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 15:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":166133,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:16:03] local.INFO: TCP Data received {"connection_id":166133,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047c0d558012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047c0d558012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:16:03] local.INFO: Processing buffer {"connection_id":166133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047c0d558012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:16:03] local.INFO: Packet analysis {"connection_id":166133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047c0"} 
[2026-08-28 15:16:03] local.INFO: Extracted packet for processing {"connection_id":166133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047c0"} 
[2026-08-28 15:16:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704937984001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:16:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787910215000,"timestamp_ms":1787910215000,"timestamp_seconds":1787910215,"priority":1,"record_length":96,"hex_timestamp":"000001a047c0d558"} 
[2026-08-28 15:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:16:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:16:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:16:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":166133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":166133,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":166133,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:16:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704937984001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704937984001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:16:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:16:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704937984001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":166133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708229,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:16:03] local.INFO: GPS data processed {"connection_id":166133,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:16:03] local.INFO: Acknowledgment sent {"connection_id":166133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:16:09] local.INFO: TCP Data received {"connection_id":166132,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047be4ce8012d34c14006aa4840000e00e62b..."} 
[2026-08-28 15:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047be4ce8012d34c14006aa4840000e00e62b..."} 
[2026-08-28 15:16:09] local.INFO: Processing buffer {"connection_id":166132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047be4ce8012d34c14006aa4840000e00e62b..."} 
[2026-08-28 15:16:09] local.INFO: Packet analysis {"connection_id":166132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047be"} 
[2026-08-28 15:16:09] local.INFO: Extracted packet for processing {"connection_id":166132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047be"} 
[2026-08-28 15:16:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704895488001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:16:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787910049000,"timestamp_ms":1787910049000,"timestamp_seconds":1787910049,"priority":1,"record_length":96,"hex_timestamp":"000001a047be4ce8"} 
[2026-08-28 15:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:16:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 15:16:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:16:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":166132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":166132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":166132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704895488001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704895488001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:16:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:16:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:16: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-28 15:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704895488001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":166132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:16:09] local.INFO: GPS data processed {"connection_id":166132,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:16:09] local.INFO: Acknowledgment sent {"connection_id":166132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:16:10] local.INFO: TCP Data received {"connection_id":164769,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164769,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:16:10] local.INFO: Processing buffer {"connection_id":164769,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:16:10] local.INFO: IMEI packet received {"connection_id":164769,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 15:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":164769,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:16:13] local.INFO: TCP Data received {"connection_id":164769,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164769,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:16:13] local.INFO: Processing buffer {"connection_id":164769,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:16:13] local.INFO: IMEI packet received {"connection_id":164769,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:16:13] local.INFO: IMEI acknowledgment sent {"connection_id":164769,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:16:16] local.INFO: TCP Data received {"connection_id":164769,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164769,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:16:16] local.INFO: Processing buffer {"connection_id":164769,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:16:16] local.INFO: IMEI packet received {"connection_id":164769,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:16:16] local.INFO: IMEI acknowledgment sent {"connection_id":164769,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:16:17] local.INFO: TCP Data received {"connection_id":164769,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047bf75c8012d1967c0071fed700037011827..."} 
[2026-08-28 15:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047bf75c8012d1967c0071fed700037011827..."} 
[2026-08-28 15:16:17] local.INFO: Processing buffer {"connection_id":164769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047bf75c8012d1967c0071fed700037011827..."} 
[2026-08-28 15:16:17] local.INFO: Packet analysis {"connection_id":164769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047bf"} 
[2026-08-28 15:16:17] local.INFO: Extracted packet for processing {"connection_id":164769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047bf"} 
[2026-08-28 15:16:17] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 15:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:16:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704986624001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:16:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 15:16:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 15:16:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:16:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787910125000,"timestamp_ms":1787910125000,"timestamp_seconds":1787910125,"priority":1,"record_length":96,"hex_timestamp":"000001a047bf75c8"} 
[2026-08-28 15: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-28 15:16:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-28 15:16:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15: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-28 15: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-28 15:16:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:16:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:16:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:16:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:16:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:16:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:16:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:16:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704986624001,"66":12385,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 15:16:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:16:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:16:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704986624001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:16:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 15:16:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:16:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:16:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 15:16:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704986624001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 15:16:17] 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":708231,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:16:17] local.INFO: GPS data processed {"connection_id":164769,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:16:17] local.INFO: Acknowledgment sent {"connection_id":164769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:16:28] local.INFO: TCP Data received {"connection_id":163511,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:16:28] local.INFO: Processing buffer {"connection_id":163511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:16:28] local.INFO: IMEI packet received {"connection_id":163511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 15:16:28] local.INFO: IMEI acknowledgment sent {"connection_id":163511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:16:30] local.INFO: TCP Data received {"connection_id":163511,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:16:30] local.INFO: Processing buffer {"connection_id":163511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:16:30] local.INFO: IMEI packet received {"connection_id":163511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 15:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":163511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:16:35] local.INFO: TCP Data received {"connection_id":166133,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047c0d558012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047c0d558012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:16:35] local.INFO: Processing buffer {"connection_id":166133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047c0d558012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:16:35] local.INFO: Packet analysis {"connection_id":166133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047c0"} 
[2026-08-28 15:16:35] local.INFO: Extracted packet for processing {"connection_id":166133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047c0"} 
[2026-08-28 15:16:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704937984001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:16:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:16:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787910215000,"timestamp_ms":1787910215000,"timestamp_seconds":1787910215,"priority":1,"record_length":96,"hex_timestamp":"000001a047c0d558"} 
[2026-08-28 15:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:16:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:16:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:16:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":166133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":166133,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":166133,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704937984001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704937984001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:16:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:16:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:16:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704937984001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":166133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708232,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:16:35] local.INFO: GPS data processed {"connection_id":166133,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:16:35] local.INFO: Acknowledgment sent {"connection_id":166133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:16:36] local.INFO: TCP Data received {"connection_id":163511,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:16:36] local.INFO: Processing buffer {"connection_id":163511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:16:36] local.INFO: IMEI packet received {"connection_id":163511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 15:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":163511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:16:37] local.INFO: TCP Data received {"connection_id":163511,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047c2e4b0012d34c14006aa4840001000e62c..."} 
[2026-08-28 15:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047c2e4b0012d34c14006aa4840001000e62c..."} 
[2026-08-28 15:16:37] local.INFO: Processing buffer {"connection_id":163511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047c2e4b0012d34c14006aa4840001000e62c..."} 
[2026-08-28 15:16:37] local.INFO: Packet analysis {"connection_id":163511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047c2"} 
[2026-08-28 15:16:37] local.INFO: Extracted packet for processing {"connection_id":163511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047c2"} 
[2026-08-28 15:16:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704972544001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787910350000,"timestamp_ms":1787910350000,"timestamp_seconds":1787910350,"priority":1,"record_length":96,"hex_timestamp":"000001a047c2e4b0"} 
[2026-08-28 15:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:16:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:16:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704972544001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704972544001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:16:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:16:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:16: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-28 15:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704972544001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:16:37] 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":708233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:16:37] local.INFO: GPS data processed {"connection_id":163511,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:16:37] local.INFO: Acknowledgment sent {"connection_id":163511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:16:48] local.INFO: TCP Data received {"connection_id":164769,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047bfc7d0012d1967c0071fed700037011826..."} 
[2026-08-28 15:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047bfc7d0012d1967c0071fed700037011826..."} 
[2026-08-28 15:16:48] local.INFO: Processing buffer {"connection_id":164769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047bfc7d0012d1967c0071fed700037011826..."} 
[2026-08-28 15:16:48] local.INFO: Packet analysis {"connection_id":164769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047bf"} 
[2026-08-28 15:16:48] local.INFO: Extracted packet for processing {"connection_id":164769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047bf"} 
[2026-08-28 15:16:48] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":38,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 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-28 15:16:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704992000001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:16:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 15:16:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 15:16:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:16:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787910146000,"timestamp_ms":1787910146000,"timestamp_seconds":1787910146,"priority":1,"record_length":96,"hex_timestamp":"000001a047bfc7d0"} 
[2026-08-28 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-28 15:16:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15:16:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 15:16:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 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-28 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-28 15:16:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:16:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:16:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:16:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:16:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:16:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:16:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:16:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704992000001,"66":12363,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 15:16:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:16:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:16:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704992000001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:16:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 15:16:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:16:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:16:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 15:16:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704992000001,"power":12363,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 15:16:49] 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":708234,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:16:49] local.INFO: GPS data processed {"connection_id":164769,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:16:49] local.INFO: Acknowledgment sent {"connection_id":164769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:17:02] local.INFO: TCP Data received {"connection_id":163512,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163512,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:17:02] local.INFO: Processing buffer {"connection_id":163512,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:17:02] local.INFO: IMEI packet received {"connection_id":163512,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 15:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":163512,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:17:07] local.INFO: TCP Data received {"connection_id":163512,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163512,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:17:07] local.INFO: Processing buffer {"connection_id":163512,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:17:07] local.INFO: IMEI packet received {"connection_id":163512,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 15:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":163512,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:17:09] local.INFO: TCP Data received {"connection_id":163512,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047c0d558012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047c0d558012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:17:09] local.INFO: Processing buffer {"connection_id":163512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047c0d558012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:17:09] local.INFO: Packet analysis {"connection_id":163512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047c0"} 
[2026-08-28 15:17:09] local.INFO: Extracted packet for processing {"connection_id":163512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047c0"} 
[2026-08-28 15:17:09] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704937984001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:17:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:17:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787910215000,"timestamp_ms":1787910215000,"timestamp_seconds":1787910215,"priority":1,"record_length":96,"hex_timestamp":"000001a047c0d558"} 
[2026-08-28 15:17:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:17:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:17: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-28 15:17:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:17:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163512,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163512,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:17:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704937984001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704937984001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:17:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:17:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:17:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:17:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:17:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704937984001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:17:09] 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":708235,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:17:09] local.INFO: GPS data processed {"connection_id":163512,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:17:09] local.INFO: Acknowledgment sent {"connection_id":163512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:17:09] local.INFO: TCP Data received {"connection_id":163511,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047c2e4b0012d34c14006aa4840001000e62c..."} 
[2026-08-28 15:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047c2e4b0012d34c14006aa4840001000e62c..."} 
[2026-08-28 15:17:09] local.INFO: Processing buffer {"connection_id":163511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047c2e4b0012d34c14006aa4840001000e62c..."} 
[2026-08-28 15:17:09] local.INFO: Packet analysis {"connection_id":163511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047c2"} 
[2026-08-28 15:17:09] local.INFO: Extracted packet for processing {"connection_id":163511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047c2"} 
[2026-08-28 15:17:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704972544001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:17:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:17:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787910350000,"timestamp_ms":1787910350000,"timestamp_seconds":1787910350,"priority":1,"record_length":96,"hex_timestamp":"000001a047c2e4b0"} 
[2026-08-28 15:17:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:17:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:17: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-28 15:17:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:17:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:17:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704972544001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704972544001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:17:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:17:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:17: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-28 15:17:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:17:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704972544001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:17:09] 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":708236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:17:09] local.INFO: GPS data processed {"connection_id":163511,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:17:09] local.INFO: Acknowledgment sent {"connection_id":163511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:17:10] local.INFO: TCP Data received {"connection_id":163513,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163513,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:17:10] local.INFO: Processing buffer {"connection_id":163513,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:17:10] local.INFO: IMEI packet received {"connection_id":163513,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 15:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":163513,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:17:12] local.INFO: TCP Data received {"connection_id":163512,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047c0d558012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047c0d558012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:17:12] local.INFO: Processing buffer {"connection_id":163512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047c0d558012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:17:12] local.INFO: Packet analysis {"connection_id":163512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047c0"} 
[2026-08-28 15:17:12] local.INFO: Extracted packet for processing {"connection_id":163512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047c0"} 
[2026-08-28 15:17:12] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704937984001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:17:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:17:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787910215000,"timestamp_ms":1787910215000,"timestamp_seconds":1787910215,"priority":1,"record_length":96,"hex_timestamp":"000001a047c0d558"} 
[2026-08-28 15:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:17:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:17: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-28 15:17:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":163512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":163512,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":163512,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:17:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704937984001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704937984001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:17:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:17:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:17:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704937984001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:17:12] 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":708237,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:17:12] local.INFO: GPS data processed {"connection_id":163512,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:17:12] local.INFO: Acknowledgment sent {"connection_id":163512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:17:16] local.INFO: TCP Data received {"connection_id":163513,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163513,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:17:16] local.INFO: Processing buffer {"connection_id":163513,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:17:16] local.INFO: IMEI packet received {"connection_id":163513,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:17:16] local.INFO: IMEI acknowledgment sent {"connection_id":163513,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:17:18] local.INFO: TCP Data received {"connection_id":163513,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047c019d8012d1967c0071fed700037011824..."} 
[2026-08-28 15:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047c019d8012d1967c0071fed700037011824..."} 
[2026-08-28 15:17:18] local.INFO: Processing buffer {"connection_id":163513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047c019d8012d1967c0071fed700037011824..."} 
[2026-08-28 15:17:18] local.INFO: Packet analysis {"connection_id":163513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047c0"} 
[2026-08-28 15:17:18] local.INFO: Extracted packet for processing {"connection_id":163513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047c0"} 
[2026-08-28 15:17:18] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":36,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 15:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:17:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704997376001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:17:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 15:17:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 15:17:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:17:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787910167000,"timestamp_ms":1787910167000,"timestamp_seconds":1787910167,"priority":1,"record_length":96,"hex_timestamp":"000001a047c019d8"} 
[2026-08-28 15: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-28 15:17:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-28 15:17:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15: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-28 15: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-28 15:17:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:17:18] local.INFO: Teltonika packet parsed successfully {"connection_id":163513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:17:18] local.INFO: Passing IMEI to GPS processor {"connection_id":163513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:17:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":163513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:17:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:17:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:17:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:17:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704997376001,"66":12341,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 15:17:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:17:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:17:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704997376001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:17:18] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 15:17:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:17:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:17:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 15:17:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704997376001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 15:17:18] 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":708238,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:17:18] local.INFO: GPS data processed {"connection_id":163513,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:17:18] local.INFO: Acknowledgment sent {"connection_id":163513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:17:30] local.INFO: TCP Data received {"connection_id":163514,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:17:30] local.INFO: Processing buffer {"connection_id":163514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:17:30] local.INFO: IMEI packet received {"connection_id":163514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 15:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":163514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:17:35] local.INFO: TCP Data received {"connection_id":163514,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:17:35] local.INFO: Processing buffer {"connection_id":163514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:17:35] local.INFO: IMEI packet received {"connection_id":163514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 15:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":163514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:17:37] local.INFO: TCP Data received {"connection_id":163514,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047c2e4b0012d34c14006aa4840001000e62c..."} 
[2026-08-28 15:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047c2e4b0012d34c14006aa4840001000e62c..."} 
[2026-08-28 15:17:37] local.INFO: Processing buffer {"connection_id":163514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047c2e4b0012d34c14006aa4840001000e62c..."} 
[2026-08-28 15:17:37] local.INFO: Packet analysis {"connection_id":163514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047c2"} 
[2026-08-28 15:17:37] local.INFO: Extracted packet for processing {"connection_id":163514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047c2"} 
[2026-08-28 15:17:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704972544001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787910350000,"timestamp_ms":1787910350000,"timestamp_seconds":1787910350,"priority":1,"record_length":96,"hex_timestamp":"000001a047c2e4b0"} 
[2026-08-28 15:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704972544001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704972544001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:17:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:17:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:17: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-28 15:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704972544001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:17:37] 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":708239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:17:37] local.INFO: GPS data processed {"connection_id":163514,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:17:37] local.INFO: Acknowledgment sent {"connection_id":163514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:17:50] local.INFO: TCP Data received {"connection_id":163513,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047c06be0012d1967c0071fed700037011825..."} 
[2026-08-28 15:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047c06be0012d1967c0071fed700037011825..."} 
[2026-08-28 15:17:50] local.INFO: Processing buffer {"connection_id":163513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047c06be0012d1967c0071fed700037011825..."} 
[2026-08-28 15:17:50] local.INFO: Packet analysis {"connection_id":163513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047c0"} 
[2026-08-28 15:17:50] local.INFO: Extracted packet for processing {"connection_id":163513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047c0"} 
[2026-08-28 15:17:50] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":37,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 15:17: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-28 15:17:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705002752001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:17:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 15:17:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 15:17:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:17:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787910188000,"timestamp_ms":1787910188000,"timestamp_seconds":1787910188,"priority":1,"record_length":96,"hex_timestamp":"000001a047c06be0"} 
[2026-08-28 15:17:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:17:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15:17:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 15:17:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:17: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-28 15:17:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:17:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:17:50] local.INFO: Teltonika packet parsed successfully {"connection_id":163513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:17:50] local.INFO: Passing IMEI to GPS processor {"connection_id":163513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:17:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":163513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:17:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:17:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:17:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:17:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705002752001,"66":12363,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 15:17:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:17:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:17:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705002752001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:17:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 15:17:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:17:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:17:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 15:17:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705002752001,"power":12363,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 15:17:50] 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":708240,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:17:50] local.INFO: GPS data processed {"connection_id":163513,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:17:50] local.INFO: Acknowledgment sent {"connection_id":163513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:17:56] local.INFO: TCP Data received {"connection_id":166134,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166134,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:17:56] local.INFO: Processing buffer {"connection_id":166134,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:17:56] local.INFO: IMEI packet received {"connection_id":166134,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 15:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":166134,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:18:02] local.INFO: TCP Data received {"connection_id":166134,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166134,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:18:02] local.INFO: Processing buffer {"connection_id":166134,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:18:02] local.INFO: IMEI packet received {"connection_id":166134,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 15:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":166134,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:18:03] local.INFO: TCP Data received {"connection_id":166134,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047c0d558012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047c0d558012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:18:03] local.INFO: Processing buffer {"connection_id":166134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047c0d558012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:18:03] local.INFO: Packet analysis {"connection_id":166134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047c0"} 
[2026-08-28 15:18:03] local.INFO: Extracted packet for processing {"connection_id":166134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047c0"} 
[2026-08-28 15:18:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704937984001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:18:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787910215000,"timestamp_ms":1787910215000,"timestamp_seconds":1787910215,"priority":1,"record_length":96,"hex_timestamp":"000001a047c0d558"} 
[2026-08-28 15:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:18:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:18:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:18:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":166134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":166134,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":166134,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704937984001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704937984001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:18:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:18:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704937984001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":166134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708241,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:18:03] local.INFO: GPS data processed {"connection_id":166134,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:18:03] local.INFO: Acknowledgment sent {"connection_id":166134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:18:08] local.INFO: TCP Data received {"connection_id":163514,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047c2e4b0012d34c14006aa4840001000e62c..."} 
[2026-08-28 15:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047c2e4b0012d34c14006aa4840001000e62c..."} 
[2026-08-28 15:18:08] local.INFO: Processing buffer {"connection_id":163514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047c2e4b0012d34c14006aa4840001000e62c..."} 
[2026-08-28 15:18:08] local.INFO: Packet analysis {"connection_id":163514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047c2"} 
[2026-08-28 15:18:08] local.INFO: Extracted packet for processing {"connection_id":163514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047c2"} 
[2026-08-28 15:18:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704972544001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:18:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787910350000,"timestamp_ms":1787910350000,"timestamp_seconds":1787910350,"priority":1,"record_length":96,"hex_timestamp":"000001a047c2e4b0"} 
[2026-08-28 15:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:18:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:18:08] 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-28 15:18:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:18:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704972544001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704972544001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:18:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:18:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:18: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-28 15:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704972544001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:18:08] 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":708242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:18:08] local.INFO: GPS data processed {"connection_id":163514,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:18:08] local.INFO: Acknowledgment sent {"connection_id":163514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:18:11] local.INFO: TCP Data received {"connection_id":166135,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166135,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:18:11] local.INFO: Processing buffer {"connection_id":166135,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:18:11] local.INFO: IMEI packet received {"connection_id":166135,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 15:18:11] local.INFO: IMEI acknowledgment sent {"connection_id":166135,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:18:16] local.INFO: TCP Data received {"connection_id":166135,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166135,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:18:16] local.INFO: Processing buffer {"connection_id":166135,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:18:16] local.INFO: IMEI packet received {"connection_id":166135,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:18:16] local.INFO: IMEI acknowledgment sent {"connection_id":166135,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:18:17] local.INFO: TCP Data received {"connection_id":166135,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047c0bde8012d1967c0071fed700037011827..."} 
[2026-08-28 15:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047c0bde8012d1967c0071fed700037011827..."} 
[2026-08-28 15:18:17] local.INFO: Processing buffer {"connection_id":166135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047c0bde8012d1967c0071fed700037011827..."} 
[2026-08-28 15:18:17] local.INFO: Packet analysis {"connection_id":166135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047c0"} 
[2026-08-28 15:18:17] local.INFO: Extracted packet for processing {"connection_id":166135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047c0"} 
[2026-08-28 15:18:17] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532912,"longitude_deg":75.663968,"latitude_deg":11.9532912,"altitude":55,"angle":280,"satellites":39,"speed":0,"hex_longitude":"2d1967c0","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:18:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705008128001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:18:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919231858114560,"note":"Value kept but may cause issues"} 
[2026-08-28 15:18:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382354432,"note":"Value kept but may cause issues"} 
[2026-08-28 15:18:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:18:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787910209000,"timestamp_ms":1787910209000,"timestamp_seconds":1787910209,"priority":1,"record_length":96,"hex_timestamp":"000001a047c0bde8"} 
[2026-08-28 15: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-28 15:18:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-28 15:18:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15: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-28 15: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-28 15:18:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:18:17] local.INFO: Teltonika packet parsed successfully {"connection_id":166135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:18:17] local.INFO: Passing IMEI to GPS processor {"connection_id":166135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:18:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":166135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:18:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:18:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:18:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:18:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705008128001,"66":12341,"121":206,"28":31744,"24":0,"16":15919231858114560,"45":1830642910382354432},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 15:18:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:18:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:18:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705008128001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:18:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 15:18:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:18:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919231858114560,"km_value":15919231858114.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:18:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382354432,"description":"Unknown IO ID 45"} 
[2026-08-28 15:18:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705008128001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830642910382354432}} 
[2026-08-28 15:18:17] local.INFO: DEBUG: GPS processor result {"connection_id":166135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708243,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:18:17] local.INFO: GPS data processed {"connection_id":166135,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:18:18] local.INFO: Acknowledgment sent {"connection_id":166135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:18:36] local.INFO: TCP Data received {"connection_id":166136,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:18:36] local.INFO: Processing buffer {"connection_id":166136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:18:36] local.INFO: IMEI packet received {"connection_id":166136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 15:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":166136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:18:37] local.INFO: TCP Data received {"connection_id":166134,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047c0d558012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047c0d558012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:18:37] local.INFO: Processing buffer {"connection_id":166134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047c0d558012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:18:37] local.INFO: Packet analysis {"connection_id":166134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047c0"} 
[2026-08-28 15:18:37] local.INFO: Extracted packet for processing {"connection_id":166134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047c0"} 
[2026-08-28 15:18:37] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704937984001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787910215000,"timestamp_ms":1787910215000,"timestamp_seconds":1787910215,"priority":1,"record_length":96,"hex_timestamp":"000001a047c0d558"} 
[2026-08-28 15:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":166134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":166134,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":166134,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704937984001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704937984001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:18:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:18:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704937984001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":166134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708244,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:18:37] local.INFO: GPS data processed {"connection_id":166134,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:18:37] local.INFO: Acknowledgment sent {"connection_id":166134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:18:41] local.INFO: TCP Data received {"connection_id":166136,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:18:41] local.INFO: Processing buffer {"connection_id":166136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:18:41] local.INFO: IMEI packet received {"connection_id":166136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 15:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":166136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:18:42] local.INFO: TCP Data received {"connection_id":166136,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047c2e4b0012d34c14006aa4840001000e62c..."} 
[2026-08-28 15:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047c2e4b0012d34c14006aa4840001000e62c..."} 
[2026-08-28 15:18:42] local.INFO: Processing buffer {"connection_id":166136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047c2e4b0012d34c14006aa4840001000e62c..."} 
[2026-08-28 15:18:42] local.INFO: Packet analysis {"connection_id":166136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047c2"} 
[2026-08-28 15:18:42] local.INFO: Extracted packet for processing {"connection_id":166136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047c2"} 
[2026-08-28 15:18:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704972544001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:18:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:18:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787910350000,"timestamp_ms":1787910350000,"timestamp_seconds":1787910350,"priority":1,"record_length":96,"hex_timestamp":"000001a047c2e4b0"} 
[2026-08-28 15: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-28 15:18: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-28 15: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":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:18: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-28 15: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-28 15: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-28 15:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":166136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":166136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":166136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:18:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704972544001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704972544001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:18:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:18:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15: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-28 15:18:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704972544001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":166136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:18:42] local.INFO: GPS data processed {"connection_id":166136,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:18:42] local.INFO: Acknowledgment sent {"connection_id":166136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:18:46] local.INFO: TCP Data received {"connection_id":166136,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047c2e4b0012d34c14006aa4840001000e62c..."} 
[2026-08-28 15:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047c2e4b0012d34c14006aa4840001000e62c..."} 
[2026-08-28 15:18:46] local.INFO: Processing buffer {"connection_id":166136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047c2e4b0012d34c14006aa4840001000e62c..."} 
[2026-08-28 15:18:46] local.INFO: Packet analysis {"connection_id":166136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047c2"} 
[2026-08-28 15:18:46] local.INFO: Extracted packet for processing {"connection_id":166136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047c2"} 
[2026-08-28 15:18:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:18:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704972544001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:18:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:18:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:18:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:18:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787910350000,"timestamp_ms":1787910350000,"timestamp_seconds":1787910350,"priority":1,"record_length":96,"hex_timestamp":"000001a047c2e4b0"} 
[2026-08-28 15:18:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:18: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-28 15:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:18: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-28 15:18:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:18:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:18:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:18:46] local.INFO: Teltonika packet parsed successfully {"connection_id":166136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:18:46] local.INFO: Passing IMEI to GPS processor {"connection_id":166136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:18:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":166136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:18:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:18:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:18:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:18:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704972544001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:18:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:18:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:18:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704972544001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:18:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:18:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:18: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-28 15:18:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:18:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704972544001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:18:46] local.INFO: DEBUG: GPS processor result {"connection_id":166136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:18:46] local.INFO: GPS data processed {"connection_id":166136,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:18:46] local.INFO: Acknowledgment sent {"connection_id":166136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:18:56] local.INFO: TCP Data received {"connection_id":163515,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163515,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:18:56] local.INFO: Processing buffer {"connection_id":163515,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:18:56] local.INFO: IMEI packet received {"connection_id":163515,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 15:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":163515,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:19:02] local.INFO: TCP Data received {"connection_id":163515,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163515,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:19:02] local.INFO: Processing buffer {"connection_id":163515,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:19:02] local.INFO: IMEI packet received {"connection_id":163515,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 15:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":163515,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:19:03] local.INFO: TCP Data received {"connection_id":163515,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047c0d558012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047c0d558012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:19:03] local.INFO: Processing buffer {"connection_id":163515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047c0d558012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:19:03] local.INFO: Packet analysis {"connection_id":163515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047c0"} 
[2026-08-28 15:19:03] local.INFO: Extracted packet for processing {"connection_id":163515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047c0"} 
[2026-08-28 15:19:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704937984001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787910215000,"timestamp_ms":1787910215000,"timestamp_seconds":1787910215,"priority":1,"record_length":96,"hex_timestamp":"000001a047c0d558"} 
[2026-08-28 15:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:19:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:19:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163515,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163515,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704937984001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704937984001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:19:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:19:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704937984001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:19:03] 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":708247,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:19:03] local.INFO: GPS data processed {"connection_id":163515,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:19:03] local.INFO: Acknowledgment sent {"connection_id":163515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:19:04] local.INFO: TCP Data received {"connection_id":166135,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047c4f7f0012d196a00071fec98003e003f26..."} 
[2026-08-28 15:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047c4f7f0012d196a00071fec98003e003f26..."} 
[2026-08-28 15:19:04] local.INFO: Processing buffer {"connection_id":166135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047c4f7f0012d196a00071fec98003e003f26..."} 
[2026-08-28 15:19:04] local.INFO: Packet analysis {"connection_id":166135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047c4"} 
[2026-08-28 15:19:04] local.INFO: Extracted packet for processing {"connection_id":166135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047c4"} 
[2026-08-28 15:19:04] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119532696,"longitude_deg":75.6640256,"latitude_deg":11.9532696,"altitude":62,"angle":63,"satellites":38,"speed":4,"hex_longitude":"2d196a00","hex_latitude":"071fec98","is_valid_coordinates":true} 
[2026-08-28 15:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705084160001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919279102754816,"note":"Value kept but may cause issues"} 
[2026-08-28 15:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335708160,"note":"Value kept but may cause issues"} 
[2026-08-28 15:19:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787910486000,"timestamp_ms":1787910486000,"timestamp_seconds":1787910486,"priority":1,"record_length":96,"hex_timestamp":"000001a047c4f7f0"} 
[2026-08-28 15:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:19:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-28 15:19:04] 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-28 15:19:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":166135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":166135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":166135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:19:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705084160001,"66":13993,"121":206,"28":31744,"24":4,"16":15919279102754816,"45":1831205860335708160},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 15:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705084160001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:19:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 15:19:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919279102754816,"km_value":15919279102754.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335708160,"description":"Unknown IO ID 45"} 
[2026-08-28 15:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705084160001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1831205860335708160}} 
[2026-08-28 15:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":166135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708248,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:19:04] local.INFO: GPS data processed {"connection_id":166135,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:19:04] local.INFO: Acknowledgment sent {"connection_id":166135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:19:13] local.INFO: TCP Data received {"connection_id":163516,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163516,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:19:13] local.INFO: Processing buffer {"connection_id":163516,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:19:13] local.INFO: IMEI packet received {"connection_id":163516,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 15:19:13] local.INFO: IMEI acknowledgment sent {"connection_id":163516,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:19:16] local.INFO: TCP Data received {"connection_id":163516,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163516,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:19:16] local.INFO: Processing buffer {"connection_id":163516,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:19:16] local.INFO: IMEI packet received {"connection_id":163516,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:19:16] local.INFO: IMEI acknowledgment sent {"connection_id":163516,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:19:21] local.INFO: TCP Data received {"connection_id":163516,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163516,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:19:21] local.INFO: Processing buffer {"connection_id":163516,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:19:21] local.INFO: IMEI packet received {"connection_id":163516,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:19:21] local.INFO: IMEI acknowledgment sent {"connection_id":163516,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:19:22] local.INFO: TCP Data received {"connection_id":163516,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047c4fbd8012d196a80071fecc0003e005226..."} 
[2026-08-28 15:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047c4fbd8012d196a80071fecc0003e005226..."} 
[2026-08-28 15:19:22] local.INFO: Processing buffer {"connection_id":163516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047c4fbd8012d196a80071fecc0003e005226..."} 
[2026-08-28 15:19:22] local.INFO: Packet analysis {"connection_id":163516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047c4"} 
[2026-08-28 15:19:22] local.INFO: Extracted packet for processing {"connection_id":163516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047c4"} 
[2026-08-28 15:19:22] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119532736,"longitude_deg":75.6640384,"latitude_deg":11.9532736,"altitude":62,"angle":82,"satellites":38,"speed":6,"hex_longitude":"2d196a80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-08-28 15:19:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:19:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705084416001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:19:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919283397722112,"note":"Value kept but may cause issues"} 
[2026-08-28 15:19:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831276229079898112,"note":"Value kept but may cause issues"} 
[2026-08-28 15:19:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:19:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787910487000,"timestamp_ms":1787910487000,"timestamp_seconds":1787910487,"priority":1,"record_length":96,"hex_timestamp":"000001a047c4fbd8"} 
[2026-08-28 15:19:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:19:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15:19:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-28 15:19:22] 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-28 15:19:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:19:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:19:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:19:22] local.INFO: Teltonika packet parsed successfully {"connection_id":163516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:19:22] local.INFO: Passing IMEI to GPS processor {"connection_id":163516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:19:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":163516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:19:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:19:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:19:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:19:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705084416001,"66":13993,"121":206,"28":31744,"24":6,"16":15919283397722112,"45":1831276229079898112},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 15:19:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:19:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:19:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705084416001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:19:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 15:19:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:19:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919283397722112,"km_value":15919283397722.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:19:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831276229079898112,"description":"Unknown IO ID 45"} 
[2026-08-28 15:19:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705084416001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1831276229079898112}} 
[2026-08-28 15:19:22] 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":708249,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:19:22] local.INFO: GPS data processed {"connection_id":163516,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:19:22] local.INFO: Acknowledgment sent {"connection_id":163516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:19:24] local.INFO: TCP Data received {"connection_id":163516,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047c4ffc0012d196b40071fecc0003e006126..."} 
[2026-08-28 15:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047c4ffc0012d196b40071fecc0003e006126..."} 
[2026-08-28 15:19:24] local.INFO: Processing buffer {"connection_id":163516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047c4ffc0012d196b40071fecc0003e006126..."} 
[2026-08-28 15:19:24] local.INFO: Packet analysis {"connection_id":163516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047c4"} 
[2026-08-28 15:19:24] local.INFO: Extracted packet for processing {"connection_id":163516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047c4"} 
[2026-08-28 15:19:24] local.INFO: GPS Element Parsed {"raw_longitude":756640576,"raw_latitude":119532736,"longitude_deg":75.6640576,"latitude_deg":11.9532736,"altitude":62,"angle":97,"satellites":38,"speed":6,"hex_longitude":"2d196b40","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-08-28 15:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:19:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705084672001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:19:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15919291987656704,"note":"Value kept but may cause issues"} 
[2026-08-28 15:19:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568263680,"note":"Value kept but may cause issues"} 
[2026-08-28 15:19:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:19:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787910488000,"timestamp_ms":1787910488000,"timestamp_seconds":1787910488,"priority":1,"record_length":96,"hex_timestamp":"000001a047c4ffc0"} 
[2026-08-28 15:19:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:19:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-28 15:19:24] 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-28 15:19:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:19:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:19:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:19:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:19:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:19:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:19:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:19:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:19:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:19:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705084672001,"66":14189,"121":206,"28":31744,"24":6,"16":15919291987656704,"45":1831416966568263680},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 15:19:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:19:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:19:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705084672001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:19:24] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 15:19:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:19:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15919291987656704,"km_value":15919291987656.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:19:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568263680,"description":"Unknown IO ID 45"} 
[2026-08-28 15:19:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705084672001,"power":14189,"unknown_121":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1831416966568263680}} 
[2026-08-28 15:19:24] 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":708250,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:19:24] local.INFO: GPS data processed {"connection_id":163516,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:19:24] local.INFO: Acknowledgment sent {"connection_id":163516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:19:31] local.INFO: TCP Data received {"connection_id":164770,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:19:31] local.INFO: Processing buffer {"connection_id":164770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:19:31] local.INFO: IMEI packet received {"connection_id":164770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 15:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":164770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:19:36] local.INFO: TCP Data received {"connection_id":163515,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047c56d20012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047c56d20012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:19:36] local.INFO: Processing buffer {"connection_id":163515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047c56d20012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:19:36] local.INFO: Packet analysis {"connection_id":163515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047c5"} 
[2026-08-28 15:19:36] local.INFO: Extracted packet for processing {"connection_id":163515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047c5"} 
[2026-08-28 15:19:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705015040001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787910516000,"timestamp_ms":1787910516000,"timestamp_seconds":1787910516,"priority":1,"record_length":96,"hex_timestamp":"000001a047c56d20"} 
[2026-08-28 15:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:19:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:19:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163515,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163515,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705015040001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705015040001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:19:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:19:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705015040001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:19:36] local.INFO: TCP Data received {"connection_id":164770,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:19:36] local.INFO: Processing buffer {"connection_id":164770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:19:36] local.INFO: IMEI packet received {"connection_id":164770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 15:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":164770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:19:36] 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":708251,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:19:36] local.INFO: GPS data processed {"connection_id":163515,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:19:36] local.INFO: Acknowledgment sent {"connection_id":163515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:19:38] local.INFO: TCP Data received {"connection_id":164770,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047c2e4b0012d34c14006aa4840001000e62c..."} 
[2026-08-28 15:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047c2e4b0012d34c14006aa4840001000e62c..."} 
[2026-08-28 15:19:38] local.INFO: Processing buffer {"connection_id":164770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047c2e4b0012d34c14006aa4840001000e62c..."} 
[2026-08-28 15:19:38] local.INFO: Packet analysis {"connection_id":164770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047c2"} 
[2026-08-28 15:19:38] local.INFO: Extracted packet for processing {"connection_id":164770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047c2"} 
[2026-08-28 15:19:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704972544001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:19:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787910350000,"timestamp_ms":1787910350000,"timestamp_seconds":1787910350,"priority":1,"record_length":96,"hex_timestamp":"000001a047c2e4b0"} 
[2026-08-28 15:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:19: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-28 15:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:19: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-28 15:19:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:19:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704972544001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704972544001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:19:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:19:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:19: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-28 15:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704972544001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:19:38] 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":708252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:19:38] local.INFO: GPS data processed {"connection_id":164770,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:19:38] local.INFO: Acknowledgment sent {"connection_id":164770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:19:55] local.INFO: TCP Data received {"connection_id":163516,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047c5ea20012d19cdc0071ffa38002e003227..."} 
[2026-08-28 15:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047c5ea20012d19cdc0071ffa38002e003227..."} 
[2026-08-28 15:19:55] local.INFO: Processing buffer {"connection_id":163516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047c5ea20012d19cdc0071ffa38002e003227..."} 
[2026-08-28 15:19:55] local.INFO: Packet analysis {"connection_id":163516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047c5"} 
[2026-08-28 15:19:55] local.INFO: Extracted packet for processing {"connection_id":163516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047c5"} 
[2026-08-28 15:19:55] local.INFO: GPS Element Parsed {"raw_longitude":756665792,"raw_latitude":119536184,"longitude_deg":75.6665792,"latitude_deg":11.9536184,"altitude":46,"angle":50,"satellites":39,"speed":18,"hex_longitude":"2d19cdc0","hex_latitude":"071ffa38","is_valid_coordinates":true} 
[2026-08-28 15:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:19:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705100032001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:19:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15920576182878208,"note":"Value kept but may cause issues"} 
[2026-08-28 15:19:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858931145542529024,"note":"Value kept but may cause issues"} 
[2026-08-28 15:19:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:19:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787910548000,"timestamp_ms":1787910548000,"timestamp_seconds":1787910548,"priority":1,"record_length":96,"hex_timestamp":"000001a047c5ea20"} 
[2026-08-28 15:19:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:19:55] 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-28 15:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-28 15:19:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:19:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:19:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:19:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:19:55] local.INFO: Teltonika packet parsed successfully {"connection_id":163516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:19:55] local.INFO: Passing IMEI to GPS processor {"connection_id":163516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:19:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":163516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:19:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:19:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:19:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:19:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705100032001,"66":14167,"121":206,"28":31744,"24":18,"16":15920576182878208,"45":1858931145542529024},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 15:19:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:19:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:19:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705100032001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:19:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 15:19:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:19:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15920576182878208,"km_value":15920576182878.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:19:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858931145542529024,"description":"Unknown IO ID 45"} 
[2026-08-28 15:19:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705100032001,"power":14167,"unknown_121":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1858931145542529024}} 
[2026-08-28 15:19:55] 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":708253,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:19:55] local.INFO: GPS data processed {"connection_id":163516,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:19:55] local.INFO: Acknowledgment sent {"connection_id":163516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:20:02] local.INFO: TCP Data received {"connection_id":166137,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166137,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:20:02] local.INFO: Processing buffer {"connection_id":166137,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:20:02] local.INFO: IMEI packet received {"connection_id":166137,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 15:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":166137,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:20:06] local.INFO: TCP Data received {"connection_id":166137,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166137,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:20:06] local.INFO: Processing buffer {"connection_id":166137,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:20:06] local.INFO: IMEI packet received {"connection_id":166137,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 15:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":166137,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:20:08] local.INFO: TCP Data received {"connection_id":166138,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166138,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:20:08] local.INFO: Processing buffer {"connection_id":166138,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:20:08] local.INFO: IMEI packet received {"connection_id":166138,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 15:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":166138,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:20:08] local.INFO: TCP Data received {"connection_id":166137,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047c56d20012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047c56d20012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:20:08] local.INFO: Processing buffer {"connection_id":166137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047c56d20012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:20:08] local.INFO: Packet analysis {"connection_id":166137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047c5"} 
[2026-08-28 15:20:08] local.INFO: Extracted packet for processing {"connection_id":166137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047c5"} 
[2026-08-28 15:20:08] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705015040001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:20:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787910516000,"timestamp_ms":1787910516000,"timestamp_seconds":1787910516,"priority":1,"record_length":96,"hex_timestamp":"000001a047c56d20"} 
[2026-08-28 15:20:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:20:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:20:08] 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-28 15:20:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:20:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":166137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":166137,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":166137,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:20:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705015040001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705015040001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:20:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:20:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705015040001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":166137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708254,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:20:08] local.INFO: GPS data processed {"connection_id":166137,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:20:08] local.INFO: Acknowledgment sent {"connection_id":166137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:20:10] local.INFO: TCP Data received {"connection_id":164770,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047c2e4b0012d34c14006aa4840001000e62c..."} 
[2026-08-28 15:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047c2e4b0012d34c14006aa4840001000e62c..."} 
[2026-08-28 15:20:10] local.INFO: Processing buffer {"connection_id":164770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047c2e4b0012d34c14006aa4840001000e62c..."} 
[2026-08-28 15:20:10] local.INFO: Packet analysis {"connection_id":164770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047c2"} 
[2026-08-28 15:20:10] local.INFO: Extracted packet for processing {"connection_id":164770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047c2"} 
[2026-08-28 15:20:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704972544001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:20:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:20:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787910350000,"timestamp_ms":1787910350000,"timestamp_seconds":1787910350,"priority":1,"record_length":96,"hex_timestamp":"000001a047c2e4b0"} 
[2026-08-28 15:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:20:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:20:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:20:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":164770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":164770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":164770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:20:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704972544001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704972544001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:20:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:20:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:20:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704972544001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:20:10] 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":708255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:20:10] local.INFO: GPS data processed {"connection_id":164770,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:20:10] local.INFO: Acknowledgment sent {"connection_id":164770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:20:11] local.INFO: TCP Data received {"connection_id":166138,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166138,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:20:11] local.INFO: Processing buffer {"connection_id":166138,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:20:11] local.INFO: IMEI packet received {"connection_id":166138,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:20:11] local.INFO: IMEI acknowledgment sent {"connection_id":166138,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:20:12] local.INFO: TCP Data received {"connection_id":166138,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166138,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:20:12] local.INFO: Processing buffer {"connection_id":166138,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:20:12] local.INFO: IMEI packet received {"connection_id":166138,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:20:12] local.INFO: IMEI acknowledgment sent {"connection_id":166138,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:20:13] local.INFO: TCP Data received {"connection_id":166137,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047c56d20012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047c56d20012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:20:13] local.INFO: Processing buffer {"connection_id":166137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047c56d20012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:20:13] local.INFO: Packet analysis {"connection_id":166137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047c5"} 
[2026-08-28 15:20:13] local.INFO: Extracted packet for processing {"connection_id":166137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047c5"} 
[2026-08-28 15:20:13] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:20:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705015040001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:20:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:20:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:20:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:20:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787910516000,"timestamp_ms":1787910516000,"timestamp_seconds":1787910516,"priority":1,"record_length":96,"hex_timestamp":"000001a047c56d20"} 
[2026-08-28 15: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-28 15:20:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15: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":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:20:13] 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-28 15: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-28 15: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-28 15:20:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:20:13] local.INFO: Teltonika packet parsed successfully {"connection_id":166137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:20:13] local.INFO: Passing IMEI to GPS processor {"connection_id":166137,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:20:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":166137,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:20:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:20:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:20:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:20:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705015040001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:20:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:20:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:20:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705015040001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:20:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:20:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:20:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:20:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:20:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705015040001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:20:13] local.INFO: DEBUG: GPS processor result {"connection_id":166137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708256,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:20:13] local.INFO: GPS data processed {"connection_id":166137,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:20:13] local.INFO: Acknowledgment sent {"connection_id":166137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:20:16] local.INFO: TCP Data received {"connection_id":166138,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166138,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:20:16] local.INFO: Processing buffer {"connection_id":166138,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:20:16] local.INFO: IMEI packet received {"connection_id":166138,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:20:16] local.INFO: IMEI acknowledgment sent {"connection_id":166138,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:20:17] local.INFO: TCP Data received {"connection_id":166138,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047c5ee08012d19cf40071ffb38002e003d26..."} 
[2026-08-28 15:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047c5ee08012d19cf40071ffb38002e003d26..."} 
[2026-08-28 15:20:17] local.INFO: Processing buffer {"connection_id":166138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047c5ee08012d19cf40071ffb38002e003d26..."} 
[2026-08-28 15:20:17] local.INFO: Packet analysis {"connection_id":166138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047c5"} 
[2026-08-28 15:20:17] local.INFO: Extracted packet for processing {"connection_id":166138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047c5"} 
[2026-08-28 15:20:17] local.INFO: GPS Element Parsed {"raw_longitude":756666176,"raw_latitude":119536440,"longitude_deg":75.6666176,"latitude_deg":11.953644,"altitude":46,"angle":61,"satellites":38,"speed":20,"hex_longitude":"2d19cf40","hex_latitude":"071ffb38","is_valid_coordinates":true} 
[2026-08-28 15:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:20:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705100288001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:20:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15920597657714688,"note":"Value kept but may cause issues"} 
[2026-08-28 15:20:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859353358007678976,"note":"Value kept but may cause issues"} 
[2026-08-28 15:20:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:20:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787910549000,"timestamp_ms":1787910549000,"timestamp_seconds":1787910549,"priority":1,"record_length":96,"hex_timestamp":"000001a047c5ee08"} 
[2026-08-28 15:20:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:20:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-08-28 15:20:17] 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-28 15:20:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:20:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:20:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:20:17] local.INFO: Teltonika packet parsed successfully {"connection_id":166138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:20:17] local.INFO: Passing IMEI to GPS processor {"connection_id":166138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:20:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":166138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:20:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:20:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:20:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:20:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705100288001,"66":14167,"121":206,"28":31744,"24":20,"16":15920597657714688,"45":1859353358007678976},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 15:20:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:20:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:20:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705100288001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:20:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 15:20:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:20:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15920597657714688,"km_value":15920597657714.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:20:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859353358007678976,"description":"Unknown IO ID 45"} 
[2026-08-28 15:20:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705100288001,"power":14167,"unknown_121":206,"unknown_28":31744,"ignition":20,"odometer":null,"unknown_45":1859353358007678976}} 
[2026-08-28 15:20:17] local.INFO: DEBUG: GPS processor result {"connection_id":166138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708257,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:20:17] local.INFO: GPS data processed {"connection_id":166138,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:20:17] local.INFO: Acknowledgment sent {"connection_id":166138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:20:30] local.INFO: TCP Data received {"connection_id":163777,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:20:30] local.INFO: Processing buffer {"connection_id":163777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:20:30] local.INFO: IMEI packet received {"connection_id":163777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 15:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":163777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:20:36] local.INFO: TCP Data received {"connection_id":163777,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:20:36] local.INFO: Processing buffer {"connection_id":163777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:20:36] local.INFO: IMEI packet received {"connection_id":163777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 15:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":163777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:20:37] local.INFO: TCP Data received {"connection_id":163777,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047c2e4b0012d34c14006aa4840001000e62c..."} 
[2026-08-28 15:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047c2e4b0012d34c14006aa4840001000e62c..."} 
[2026-08-28 15:20:37] local.INFO: Processing buffer {"connection_id":163777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047c2e4b0012d34c14006aa4840001000e62c..."} 
[2026-08-28 15:20:37] local.INFO: Packet analysis {"connection_id":163777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047c2"} 
[2026-08-28 15:20:37] local.INFO: Extracted packet for processing {"connection_id":163777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047c2"} 
[2026-08-28 15:20:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704972544001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787910350000,"timestamp_ms":1787910350000,"timestamp_seconds":1787910350,"priority":1,"record_length":96,"hex_timestamp":"000001a047c2e4b0"} 
[2026-08-28 15:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704972544001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704972544001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:20:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:20:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:20: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-28 15:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704972544001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:20:37] 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":708258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:20:37] local.INFO: GPS data processed {"connection_id":163777,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:20:37] local.INFO: Acknowledgment sent {"connection_id":163777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:20:48] local.INFO: TCP Data received {"connection_id":166138,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047c6d098012d19ac0007209250002e000327..."} 
[2026-08-28 15:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047c6d098012d19ac0007209250002e000327..."} 
[2026-08-28 15:20:48] local.INFO: Processing buffer {"connection_id":166138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047c6d098012d19ac0007209250002e000327..."} 
[2026-08-28 15:20:48] local.INFO: Packet analysis {"connection_id":166138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047c6"} 
[2026-08-28 15:20:48] local.INFO: Extracted packet for processing {"connection_id":166138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047c6"} 
[2026-08-28 15:20:48] local.INFO: GPS Element Parsed {"raw_longitude":756657152,"raw_latitude":119575120,"longitude_deg":75.6657152,"latitude_deg":11.957512,"altitude":46,"angle":3,"satellites":39,"speed":33,"hex_longitude":"2d19ac00","hex_latitude":"07209250","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:20:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705114880001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:20:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15922723666526208,"note":"Value kept but may cause issues"} 
[2026-08-28 15:20:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850064683785762816,"note":"Value kept but may cause issues"} 
[2026-08-28 15:20:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:20:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787910607000,"timestamp_ms":1787910607000,"timestamp_seconds":1787910607,"priority":1,"record_length":96,"hex_timestamp":"000001a047c6d098"} 
[2026-08-28 15: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-28 15:20:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-28 15:20:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15: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-28 15: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-28 15:20:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:20:48] local.INFO: Teltonika packet parsed successfully {"connection_id":166138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:20:48] local.INFO: Passing IMEI to GPS processor {"connection_id":166138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:20:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":166138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:20:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:20:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:20:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:20:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705114880001,"66":14102,"121":206,"28":31744,"24":33,"16":15922723666526208,"45":1850064683785762816},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 15:20:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:20:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:20:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705114880001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:20:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 15:20:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:20:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15922723666526208,"km_value":15922723666526.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:20:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850064683785762816,"description":"Unknown IO ID 45"} 
[2026-08-28 15:20:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705114880001,"power":14102,"unknown_121":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1850064683785762816}} 
[2026-08-28 15:20:49] local.INFO: DEBUG: GPS processor result {"connection_id":166138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708259,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:20:49] local.INFO: GPS data processed {"connection_id":166138,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:20:49] local.INFO: Acknowledgment sent {"connection_id":166138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:20:57] local.INFO: TCP Data received {"connection_id":163778,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163778,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:20:57] local.INFO: Processing buffer {"connection_id":163778,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:20:57] local.INFO: IMEI packet received {"connection_id":163778,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 15:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":163778,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:21:02] local.INFO: TCP Data received {"connection_id":163778,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163778,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:21:02] local.INFO: Processing buffer {"connection_id":163778,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:21:02] local.INFO: IMEI packet received {"connection_id":163778,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 15:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":163778,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:21:04] local.INFO: TCP Data received {"connection_id":163778,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047c56d20012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047c56d20012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:21:04] local.INFO: Processing buffer {"connection_id":163778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047c56d20012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:21:04] local.INFO: Packet analysis {"connection_id":163778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047c5"} 
[2026-08-28 15:21:04] local.INFO: Extracted packet for processing {"connection_id":163778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047c5"} 
[2026-08-28 15:21:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705015040001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:21:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:21:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787910516000,"timestamp_ms":1787910516000,"timestamp_seconds":1787910516,"priority":1,"record_length":96,"hex_timestamp":"000001a047c56d20"} 
[2026-08-28 15:21:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:21:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:21:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:21:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:21:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":163778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":163778,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":163778,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:21:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705015040001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705015040001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:21:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:21:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:21:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705015040001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:21:04] 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":708260,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:21:04] local.INFO: GPS data processed {"connection_id":163778,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:21:04] local.INFO: Acknowledgment sent {"connection_id":163778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:21:09] local.INFO: TCP Data received {"connection_id":163777,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047c2e4b0012d34c14006aa4840001000e62c..."} 
[2026-08-28 15:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047c2e4b0012d34c14006aa4840001000e62c..."} 
[2026-08-28 15:21:09] local.INFO: Processing buffer {"connection_id":163777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047c2e4b0012d34c14006aa4840001000e62c..."} 
[2026-08-28 15:21:09] local.INFO: Packet analysis {"connection_id":163777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047c2"} 
[2026-08-28 15:21:09] local.INFO: Extracted packet for processing {"connection_id":163777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047c2"} 
[2026-08-28 15:21:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457704972544001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:21:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787910350000,"timestamp_ms":1787910350000,"timestamp_seconds":1787910350,"priority":1,"record_length":96,"hex_timestamp":"000001a047c2e4b0"} 
[2026-08-28 15:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:21: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-28 15:21:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:21:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457704972544001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457704972544001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:21:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:21:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:21: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-28 15:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457704972544001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:21:09] local.INFO: TCP Data received {"connection_id":164771,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:21:09] local.INFO: Processing buffer {"connection_id":164771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:21:09] local.INFO: IMEI packet received {"connection_id":164771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 15:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":164771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:21:09] 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":708261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:21:09] local.INFO: GPS data processed {"connection_id":163777,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:21:09] local.INFO: Acknowledgment sent {"connection_id":163777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:21:11] local.INFO: TCP Data received {"connection_id":164771,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:21:11] local.INFO: Processing buffer {"connection_id":164771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:21:11] local.INFO: IMEI packet received {"connection_id":164771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":164771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:21:16] local.INFO: TCP Data received {"connection_id":164771,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:21:16] local.INFO: Processing buffer {"connection_id":164771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:21:16] local.INFO: IMEI packet received {"connection_id":164771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:21:16] local.INFO: IMEI acknowledgment sent {"connection_id":164771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:21:17] local.INFO: TCP Data received {"connection_id":164771,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047c6d480012d19acc007209560002e000e27..."} 
[2026-08-28 15:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047c6d480012d19acc007209560002e000e27..."} 
[2026-08-28 15:21:17] local.INFO: Processing buffer {"connection_id":164771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047c6d480012d19acc007209560002e000e27..."} 
[2026-08-28 15:21:17] local.INFO: Packet analysis {"connection_id":164771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047c6"} 
[2026-08-28 15:21:17] local.INFO: Extracted packet for processing {"connection_id":164771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047c6"} 
[2026-08-28 15:21:17] local.INFO: GPS Element Parsed {"raw_longitude":756657344,"raw_latitude":119575904,"longitude_deg":75.6657344,"latitude_deg":11.9575904,"altitude":46,"angle":14,"satellites":39,"speed":31,"hex_longitude":"2d19acc0","hex_latitude":"07209560","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:21:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705115392001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:21:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15922762321231872,"note":"Value kept but may cause issues"} 
[2026-08-28 15:21:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849853577553661952,"note":"Value kept but may cause issues"} 
[2026-08-28 15:21:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:21:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787910608000,"timestamp_ms":1787910608000,"timestamp_seconds":1787910608,"priority":1,"record_length":96,"hex_timestamp":"000001a047c6d480"} 
[2026-08-28 15: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-28 15:21:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-28 15:21:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15: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-28 15: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-28 15:21:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:21:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:21:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:21:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:21:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:21:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:21:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:21:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705115392001,"66":13537,"121":206,"28":31744,"24":31,"16":15922762321231872,"45":1849853577553661952},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 15:21:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:21:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:21:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705115392001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:21:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 15:21:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:21:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15922762321231872,"km_value":15922762321231.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:21:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849853577553661952,"description":"Unknown IO ID 45"} 
[2026-08-28 15:21:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705115392001,"power":13537,"unknown_121":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1849853577553661952}} 
[2026-08-28 15:21:17] 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":708262,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:21:17] local.INFO: GPS data processed {"connection_id":164771,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:21:17] local.INFO: Acknowledgment sent {"connection_id":164771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:21:29] local.INFO: TCP Data received {"connection_id":163517,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:21:29] local.INFO: Processing buffer {"connection_id":163517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:21:29] local.INFO: IMEI packet received {"connection_id":163517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 15:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":163517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:21:30] local.INFO: TCP Data received {"connection_id":163517,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:21:30] local.INFO: Processing buffer {"connection_id":163517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:21:30] local.INFO: IMEI packet received {"connection_id":163517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 15:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":163517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:21:35] local.INFO: TCP Data received {"connection_id":163778,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047c56d20012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047c56d20012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:21:35] local.INFO: Processing buffer {"connection_id":163778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047c56d20012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:21:35] local.INFO: Packet analysis {"connection_id":163778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047c5"} 
[2026-08-28 15:21:35] local.INFO: Extracted packet for processing {"connection_id":163778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047c5"} 
[2026-08-28 15:21:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:21:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705015040001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:21:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:21:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:21:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:21:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787910516000,"timestamp_ms":1787910516000,"timestamp_seconds":1787910516,"priority":1,"record_length":96,"hex_timestamp":"000001a047c56d20"} 
[2026-08-28 15:21:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:21:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:21:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:21:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:21:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:21:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:21:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:21:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163778,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:21:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163778,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:21:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:21:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:21:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:21:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705015040001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:21:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:21:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:21:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705015040001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:21:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:21:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:21:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:21:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:21:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705015040001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:21:36] 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":708263,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:21:36] local.INFO: GPS data processed {"connection_id":163778,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:21:36] local.INFO: Acknowledgment sent {"connection_id":163778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:21:36] local.INFO: TCP Data received {"connection_id":163517,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:21:36] local.INFO: Processing buffer {"connection_id":163517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:21:36] local.INFO: IMEI packet received {"connection_id":163517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 15:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":163517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:21:37] local.INFO: TCP Data received {"connection_id":163517,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047c77c78012d34c14006aa4840001500e629..."} 
[2026-08-28 15:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047c77c78012d34c14006aa4840001500e629..."} 
[2026-08-28 15:21:37] local.INFO: Processing buffer {"connection_id":163517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047c77c78012d34c14006aa4840001500e629..."} 
[2026-08-28 15:21:37] local.INFO: Packet analysis {"connection_id":163517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047c7"} 
[2026-08-28 15:21:37] local.INFO: Extracted packet for processing {"connection_id":163517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047c7"} 
[2026-08-28 15:21:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":21,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705049600001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787910651000,"timestamp_ms":1787910651000,"timestamp_seconds":1787910651,"priority":1,"record_length":96,"hex_timestamp":"000001a047c77c78"} 
[2026-08-28 15:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:21:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705049600001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705049600001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:21:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:21:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:21: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-28 15:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705049600001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:21:37] 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":708264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:21:37] local.INFO: GPS data processed {"connection_id":163517,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:21:37] local.INFO: Acknowledgment sent {"connection_id":163517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:21:49] local.INFO: TCP Data received {"connection_id":164771,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047c6d868012d19ae4007209830002e001a27..."} 
[2026-08-28 15:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047c6d868012d19ae4007209830002e001a27..."} 
[2026-08-28 15:21:49] local.INFO: Processing buffer {"connection_id":164771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047c6d868012d19ae4007209830002e001a27..."} 
[2026-08-28 15:21:49] local.INFO: Packet analysis {"connection_id":164771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047c6"} 
[2026-08-28 15:21:49] local.INFO: Extracted packet for processing {"connection_id":164771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047c6"} 
[2026-08-28 15:21:49] local.INFO: GPS Element Parsed {"raw_longitude":756657728,"raw_latitude":119576624,"longitude_deg":75.6657728,"latitude_deg":11.9576624,"altitude":46,"angle":26,"satellites":39,"speed":31,"hex_longitude":"2d19ae40","hex_latitude":"07209830","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705115648001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15922800975937536,"note":"Value kept but may cause issues"} 
[2026-08-28 15:21:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850064683786395648,"note":"Value kept but may cause issues"} 
[2026-08-28 15:21:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787910609000,"timestamp_ms":1787910609000,"timestamp_seconds":1787910609,"priority":1,"record_length":96,"hex_timestamp":"000001a047c6d868"} 
[2026-08-28 15: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-28 15:21:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15: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":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-08-28 15:21:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15: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-28 15: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-28 15:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:21:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705115648001,"66":13537,"121":206,"28":31744,"24":31,"16":15922800975937536,"45":1850064683786395648},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 15:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705115648001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:21:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 15:21:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15922800975937536,"km_value":15922800975937.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:21:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850064683786395648,"description":"Unknown IO ID 45"} 
[2026-08-28 15:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705115648001,"power":13537,"unknown_121":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1850064683786395648}} 
[2026-08-28 15:21:49] 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":708265,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:21:49] local.INFO: GPS data processed {"connection_id":164771,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:21:49] local.INFO: Acknowledgment sent {"connection_id":164771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:21:56] local.INFO: TCP Data received {"connection_id":163518,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163518,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:21:56] local.INFO: Processing buffer {"connection_id":163518,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:21:56] local.INFO: IMEI packet received {"connection_id":163518,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 15:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":163518,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:22:02] local.INFO: TCP Data received {"connection_id":163518,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163518,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:22:02] local.INFO: Processing buffer {"connection_id":163518,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:22:02] local.INFO: IMEI packet received {"connection_id":163518,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 15:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":163518,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:22:03] local.INFO: TCP Data received {"connection_id":163518,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047c56d20012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047c56d20012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:22:03] local.INFO: Processing buffer {"connection_id":163518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047c56d20012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:22:03] local.INFO: Packet analysis {"connection_id":163518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047c5"} 
[2026-08-28 15:22:03] local.INFO: Extracted packet for processing {"connection_id":163518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047c5"} 
[2026-08-28 15:22:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705015040001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:22:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787910516000,"timestamp_ms":1787910516000,"timestamp_seconds":1787910516,"priority":1,"record_length":96,"hex_timestamp":"000001a047c56d20"} 
[2026-08-28 15:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:22:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:22:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:22:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163518,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163518,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:22:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705015040001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705015040001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:22:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:22:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705015040001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:22:04] 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":708266,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:22:04] local.INFO: GPS data processed {"connection_id":163518,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:22:04] local.INFO: Acknowledgment sent {"connection_id":163518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:22:10] local.INFO: TCP Data received {"connection_id":163517,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047c77c78012d34c14006aa4840001500e629..."} 
[2026-08-28 15:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047c77c78012d34c14006aa4840001500e629..."} 
[2026-08-28 15:22:10] local.INFO: Processing buffer {"connection_id":163517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047c77c78012d34c14006aa4840001500e629..."} 
[2026-08-28 15:22:10] local.INFO: Packet analysis {"connection_id":163517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047c7"} 
[2026-08-28 15:22:10] local.INFO: Extracted packet for processing {"connection_id":163517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047c7"} 
[2026-08-28 15:22:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":21,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705049600001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:22:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787910651000,"timestamp_ms":1787910651000,"timestamp_seconds":1787910651,"priority":1,"record_length":96,"hex_timestamp":"000001a047c77c78"} 
[2026-08-28 15:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:22:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:22:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705049600001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705049600001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:22:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:22:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705049600001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:22:10] 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":708267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:22:10] local.INFO: GPS data processed {"connection_id":163517,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:22:10] local.INFO: Acknowledgment sent {"connection_id":163517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:22:11] local.INFO: TCP Data received {"connection_id":163519,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:22:11] local.INFO: Processing buffer {"connection_id":163519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:22:11] local.INFO: IMEI packet received {"connection_id":163519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 15:22:11] local.INFO: IMEI acknowledgment sent {"connection_id":163519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:22:12] local.INFO: TCP Data received {"connection_id":163519,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:22:12] local.INFO: Processing buffer {"connection_id":163519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:22:12] local.INFO: IMEI packet received {"connection_id":163519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:22:12] local.INFO: IMEI acknowledgment sent {"connection_id":163519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:22:16] local.INFO: TCP Data received {"connection_id":163519,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:22:16] local.INFO: Processing buffer {"connection_id":163519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:22:16] local.INFO: IMEI packet received {"connection_id":163519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:22:16] local.INFO: IMEI acknowledgment sent {"connection_id":163519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:22:18] local.INFO: TCP Data received {"connection_id":163519,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047c6e038012d19b24007209d20002e002726..."} 
[2026-08-28 15:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047c6e038012d19b24007209d20002e002726..."} 
[2026-08-28 15:22:18] local.INFO: Processing buffer {"connection_id":163519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047c6e038012d19b24007209d20002e002726..."} 
[2026-08-28 15:22:18] local.INFO: Packet analysis {"connection_id":163519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047c6"} 
[2026-08-28 15:22:18] local.INFO: Extracted packet for processing {"connection_id":163519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047c6"} 
[2026-08-28 15:22:18] local.INFO: GPS Element Parsed {"raw_longitude":756658752,"raw_latitude":119577888,"longitude_deg":75.6658752,"latitude_deg":11.9577888,"altitude":46,"angle":39,"satellites":38,"speed":32,"hex_longitude":"2d19b240","hex_latitude":"07209d20","is_valid_coordinates":true} 
[2026-08-28 15:22:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:22:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705115904001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:22:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15922882580316160,"note":"Value kept but may cause issues"} 
[2026-08-28 15:22:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850486896251645952,"note":"Value kept but may cause issues"} 
[2026-08-28 15:22:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:22:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787910611000,"timestamp_ms":1787910611000,"timestamp_seconds":1787910611,"priority":1,"record_length":96,"hex_timestamp":"000001a047c6e038"} 
[2026-08-28 15:22:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:22:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15:22:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-08-28 15:22:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:22:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:22:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:22:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:22:18] local.INFO: Teltonika packet parsed successfully {"connection_id":163519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:22:18] local.INFO: Passing IMEI to GPS processor {"connection_id":163519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:22:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":163519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:22:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:22:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:22:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:22:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705115904001,"66":13928,"121":206,"28":31744,"24":32,"16":15922882580316160,"45":1850486896251645952},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 15:22:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:22:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:22:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705115904001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:22:18] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 15:22:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:22:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15922882580316160,"km_value":15922882580316.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:22:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850486896251645952,"description":"Unknown IO ID 45"} 
[2026-08-28 15:22:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705115904001,"power":13928,"unknown_121":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1850486896251645952}} 
[2026-08-28 15:22:18] 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":708268,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:22:18] local.INFO: GPS data processed {"connection_id":163519,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:22:18] local.INFO: Acknowledgment sent {"connection_id":163519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:22:31] local.INFO: TCP Data received {"connection_id":166139,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:22:31] local.INFO: Processing buffer {"connection_id":166139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:22:31] local.INFO: IMEI packet received {"connection_id":166139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 15:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":166139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:22:35] local.INFO: TCP Data received {"connection_id":163518,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047c56d20012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047c56d20012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:22:35] local.INFO: Processing buffer {"connection_id":163518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047c56d20012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:22:35] local.INFO: Packet analysis {"connection_id":163518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047c5"} 
[2026-08-28 15:22:35] local.INFO: Extracted packet for processing {"connection_id":163518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047c5"} 
[2026-08-28 15:22:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705015040001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:22:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:22:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:22:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:22:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787910516000,"timestamp_ms":1787910516000,"timestamp_seconds":1787910516,"priority":1,"record_length":96,"hex_timestamp":"000001a047c56d20"} 
[2026-08-28 15:22:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:22:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:22:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:22:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:22:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:22:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:22:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:22:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163518,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:22:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163518,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:22:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:22:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:22:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:22:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705015040001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:22:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:22:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:22:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705015040001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:22:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:22:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:22:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:22:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:22:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705015040001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:22:35] 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":708269,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:22:35] local.INFO: GPS data processed {"connection_id":163518,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:22:35] local.INFO: Acknowledgment sent {"connection_id":163518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:22:36] local.INFO: TCP Data received {"connection_id":166139,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:22:36] local.INFO: Processing buffer {"connection_id":166139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:22:36] local.INFO: IMEI packet received {"connection_id":166139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 15:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":166139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:22:37] local.INFO: TCP Data received {"connection_id":166139,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047c77c78012d34c14006aa4840001500e629..."} 
[2026-08-28 15:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047c77c78012d34c14006aa4840001500e629..."} 
[2026-08-28 15:22:37] local.INFO: Processing buffer {"connection_id":166139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047c77c78012d34c14006aa4840001500e629..."} 
[2026-08-28 15:22:37] local.INFO: Packet analysis {"connection_id":166139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047c7"} 
[2026-08-28 15:22:37] local.INFO: Extracted packet for processing {"connection_id":166139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047c7"} 
[2026-08-28 15:22:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":21,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705049600001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787910651000,"timestamp_ms":1787910651000,"timestamp_seconds":1787910651,"priority":1,"record_length":96,"hex_timestamp":"000001a047c77c78"} 
[2026-08-28 15:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:22:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:22:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":166139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":166139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":166139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705049600001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705049600001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:22:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:22:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:22: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-28 15:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705049600001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":166139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:22:37] local.INFO: GPS data processed {"connection_id":166139,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:22:37] local.INFO: Acknowledgment sent {"connection_id":166139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:22:50] local.INFO: TCP Data received {"connection_id":163519,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047c87678012d193dc00720b1300034012827..."} 
[2026-08-28 15:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047c87678012d193dc00720b1300034012827..."} 
[2026-08-28 15:22:50] local.INFO: Processing buffer {"connection_id":163519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047c87678012d193dc00720b1300034012827..."} 
[2026-08-28 15:22:50] local.INFO: Packet analysis {"connection_id":163519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047c8"} 
[2026-08-28 15:22:50] local.INFO: Extracted packet for processing {"connection_id":163519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047c8"} 
[2026-08-28 15:22:50] local.INFO: GPS Element Parsed {"raw_longitude":756628928,"raw_latitude":119583024,"longitude_deg":75.6628928,"latitude_deg":11.9583024,"altitude":52,"angle":296,"satellites":39,"speed":29,"hex_longitude":"2d193dc0","hex_latitude":"0720b130","is_valid_coordinates":true} 
[2026-08-28 15:22:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:22:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705141504001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:22:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15924622042071040,"note":"Value kept but may cause issues"} 
[2026-08-28 15:22:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824098617186281472,"note":"Value kept but may cause issues"} 
[2026-08-28 15:22:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:22:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787910715000,"timestamp_ms":1787910715000,"timestamp_seconds":1787910715,"priority":1,"record_length":96,"hex_timestamp":"000001a047c87678"} 
[2026-08-28 15:22:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:22:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15:22:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-28 15:22:50] 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-28 15:22:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:22:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:22:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:22:50] local.INFO: Teltonika packet parsed successfully {"connection_id":163519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:22:50] local.INFO: Passing IMEI to GPS processor {"connection_id":163519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:22:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":163519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:22:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:22:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:22:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:22:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705141504001,"66":14243,"121":206,"28":31744,"24":29,"16":15924622042071040,"45":1824098617186281472},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 15:22:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:22:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:22:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705141504001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:22:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 15:22:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:22:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15924622042071040,"km_value":15924622042071.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:22:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824098617186281472,"description":"Unknown IO ID 45"} 
[2026-08-28 15:22:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705141504001,"power":14243,"unknown_121":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1824098617186281472}} 
[2026-08-28 15:22:50] 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":708271,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:22:50] local.INFO: GPS data processed {"connection_id":163519,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:22:50] local.INFO: Acknowledgment sent {"connection_id":163519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:22:56] local.INFO: TCP Data received {"connection_id":166140,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166140,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:22:56] local.INFO: Processing buffer {"connection_id":166140,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:22:56] local.INFO: IMEI packet received {"connection_id":166140,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 15:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":166140,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:23:02] local.INFO: TCP Data received {"connection_id":166140,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166140,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:23:02] local.INFO: Processing buffer {"connection_id":166140,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:23:02] local.INFO: IMEI packet received {"connection_id":166140,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 15:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":166140,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:23:04] local.INFO: TCP Data received {"connection_id":166140,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047c56d20012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047c56d20012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:23:04] local.INFO: Processing buffer {"connection_id":166140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047c56d20012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:23:04] local.INFO: Packet analysis {"connection_id":166140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047c5"} 
[2026-08-28 15:23:04] local.INFO: Extracted packet for processing {"connection_id":166140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047c5"} 
[2026-08-28 15:23:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705015040001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:23:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787910516000,"timestamp_ms":1787910516000,"timestamp_seconds":1787910516,"priority":1,"record_length":96,"hex_timestamp":"000001a047c56d20"} 
[2026-08-28 15:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:23:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:23:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:23:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":166140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":166140,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":166140,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:23:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705015040001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705015040001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:23:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:23:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705015040001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":166140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708272,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:23:04] local.INFO: GPS data processed {"connection_id":166140,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:23:04] local.INFO: Acknowledgment sent {"connection_id":166140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:23:09] local.INFO: TCP Data received {"connection_id":166139,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047c77c78012d34c14006aa4840001500e629..."} 
[2026-08-28 15:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047c77c78012d34c14006aa4840001500e629..."} 
[2026-08-28 15:23:09] local.INFO: Processing buffer {"connection_id":166139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047c77c78012d34c14006aa4840001500e629..."} 
[2026-08-28 15:23:09] local.INFO: Packet analysis {"connection_id":166139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047c7"} 
[2026-08-28 15:23:09] local.INFO: Extracted packet for processing {"connection_id":166139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047c7"} 
[2026-08-28 15:23:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":21,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705049600001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:23:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:23:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787910651000,"timestamp_ms":1787910651000,"timestamp_seconds":1787910651,"priority":1,"record_length":96,"hex_timestamp":"000001a047c77c78"} 
[2026-08-28 15:23:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:23: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-28 15:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:23: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-28 15:23:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:23:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":166139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":166139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":166139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:23:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705049600001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705049600001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:23:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:23:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:23: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-28 15:23:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705049600001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":166139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:23:09] local.INFO: GPS data processed {"connection_id":166139,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:23:09] local.INFO: Acknowledgment sent {"connection_id":166139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:23:10] local.INFO: TCP Data received {"connection_id":166141,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166141,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:23:10] local.INFO: Processing buffer {"connection_id":166141,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:23:10] local.INFO: IMEI packet received {"connection_id":166141,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 15:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":166141,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:23:13] local.INFO: TCP Data received {"connection_id":166141,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166141,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:23:13] local.INFO: Processing buffer {"connection_id":166141,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:23:13] local.INFO: IMEI packet received {"connection_id":166141,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":166141,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:23:16] local.INFO: TCP Data received {"connection_id":166141,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166141,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:23:16] local.INFO: Processing buffer {"connection_id":166141,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:23:16] local.INFO: IMEI packet received {"connection_id":166141,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:23:16] local.INFO: IMEI acknowledgment sent {"connection_id":166141,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:23:17] local.INFO: TCP Data received {"connection_id":166141,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047c88230012d1938c00720b4980034013626..."} 
[2026-08-28 15:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047c88230012d1938c00720b4980034013626..."} 
[2026-08-28 15:23:17] local.INFO: Processing buffer {"connection_id":166141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047c88230012d1938c00720b4980034013626..."} 
[2026-08-28 15:23:17] local.INFO: Packet analysis {"connection_id":166141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047c8"} 
[2026-08-28 15:23:17] local.INFO: Extracted packet for processing {"connection_id":166141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047c8"} 
[2026-08-28 15:23:17] local.INFO: GPS Element Parsed {"raw_longitude":756627648,"raw_latitude":119583896,"longitude_deg":75.6627648,"latitude_deg":11.9583896,"altitude":52,"angle":310,"satellites":38,"speed":15,"hex_longitude":"2d1938c0","hex_latitude":"0720b498","is_valid_coordinates":true} 
[2026-08-28 15:23:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:23:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705143040001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:23:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15924699351482368,"note":"Value kept but may cause issues"} 
[2026-08-28 15:23:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818820961373335552,"note":"Value kept but may cause issues"} 
[2026-08-28 15:23:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:23:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787910718000,"timestamp_ms":1787910718000,"timestamp_seconds":1787910718,"priority":1,"record_length":96,"hex_timestamp":"000001a047c88230"} 
[2026-08-28 15:23:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:23:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15:23:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-08-28 15:23:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:23:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:23:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:23:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:23:17] local.INFO: Teltonika packet parsed successfully {"connection_id":166141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:23:17] local.INFO: Passing IMEI to GPS processor {"connection_id":166141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:23:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":166141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:23:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:23:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:23:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:23:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705143040001,"66":14243,"121":206,"28":31744,"24":15,"16":15924699351482368,"45":1818820961373335552},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 15:23:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:23:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:23:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705143040001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:23:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 15:23:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:23:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15924699351482368,"km_value":15924699351482.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:23:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818820961373335552,"description":"Unknown IO ID 45"} 
[2026-08-28 15:23:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705143040001,"power":14243,"unknown_121":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1818820961373335552}} 
[2026-08-28 15:23:17] local.INFO: DEBUG: GPS processor result {"connection_id":166141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708274,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:23:17] local.INFO: GPS data processed {"connection_id":166141,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:23:17] local.INFO: Acknowledgment sent {"connection_id":166141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:23:31] local.INFO: TCP Data received {"connection_id":164772,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:23:31] local.INFO: Processing buffer {"connection_id":164772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:23:31] local.INFO: IMEI packet received {"connection_id":164772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 15:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":164772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:23:35] local.INFO: TCP Data received {"connection_id":164772,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:23:35] local.INFO: Processing buffer {"connection_id":164772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:23:35] local.INFO: IMEI packet received {"connection_id":164772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 15:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":164772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:23:36] local.INFO: TCP Data received {"connection_id":166140,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047c56d20012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047c56d20012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:23:36] local.INFO: Processing buffer {"connection_id":166140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047c56d20012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:23:36] local.INFO: Packet analysis {"connection_id":166140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047c5"} 
[2026-08-28 15:23:36] local.INFO: Extracted packet for processing {"connection_id":166140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047c5"} 
[2026-08-28 15:23:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705015040001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787910516000,"timestamp_ms":1787910516000,"timestamp_seconds":1787910516,"priority":1,"record_length":96,"hex_timestamp":"000001a047c56d20"} 
[2026-08-28 15:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:23:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:23:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":166140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":166140,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":166140,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:23:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705015040001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705015040001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:23:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:23:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705015040001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":166140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708275,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:23:36] local.INFO: GPS data processed {"connection_id":166140,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:23:36] local.INFO: Acknowledgment sent {"connection_id":166140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:23:38] local.INFO: TCP Data received {"connection_id":164772,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047c77c78012d34c14006aa4840001500e629..."} 
[2026-08-28 15:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047c77c78012d34c14006aa4840001500e629..."} 
[2026-08-28 15:23:38] local.INFO: Processing buffer {"connection_id":164772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047c77c78012d34c14006aa4840001500e629..."} 
[2026-08-28 15:23:38] local.INFO: Packet analysis {"connection_id":164772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047c7"} 
[2026-08-28 15:23:38] local.INFO: Extracted packet for processing {"connection_id":164772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047c7"} 
[2026-08-28 15:23:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":21,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705049600001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:23:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:23:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787910651000,"timestamp_ms":1787910651000,"timestamp_seconds":1787910651,"priority":1,"record_length":96,"hex_timestamp":"000001a047c77c78"} 
[2026-08-28 15:23:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:23:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:23: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-28 15:23:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:23:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:23:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705049600001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705049600001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:23:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:23:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:23: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-28 15:23:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705049600001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:23:38] 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":708276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:23:38] local.INFO: GPS data processed {"connection_id":164772,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:23:38] local.INFO: Acknowledgment sent {"connection_id":164772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:23:48] local.INFO: TCP Data received {"connection_id":166141,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047c987e8012d18c400072149d00046000128..."} 
[2026-08-28 15:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047c987e8012d18c400072149d00046000128..."} 
[2026-08-28 15:23:48] local.INFO: Processing buffer {"connection_id":166141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047c987e8012d18c400072149d00046000128..."} 
[2026-08-28 15:23:48] local.INFO: Packet analysis {"connection_id":166141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047c9"} 
[2026-08-28 15:23:48] local.INFO: Extracted packet for processing {"connection_id":166141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047c9"} 
[2026-08-28 15:23:48] local.INFO: GPS Element Parsed {"raw_longitude":756597760,"raw_latitude":119622096,"longitude_deg":75.659776,"latitude_deg":11.9622096,"altitude":70,"angle":1,"satellites":40,"speed":30,"hex_longitude":"2d18c400","hex_latitude":"072149d0","is_valid_coordinates":true} 
[2026-08-28 15:23:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:23:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705160192001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:23:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15927224792252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:23:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784692120456568832,"note":"Value kept but may cause issues"} 
[2026-08-28 15:23:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:23:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787910785000,"timestamp_ms":1787910785000,"timestamp_seconds":1787910785,"priority":1,"record_length":96,"hex_timestamp":"000001a047c987e8"} 
[2026-08-28 15:23:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:23:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15:23:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-28 15:23:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:23:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:23:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:23:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:23:48] local.INFO: Teltonika packet parsed successfully {"connection_id":166141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:23:48] local.INFO: Passing IMEI to GPS processor {"connection_id":166141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:23:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":166141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:23:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:23:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:23:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:23:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705160192001,"66":14265,"121":206,"28":31744,"24":30,"16":15927224792252416,"45":1784692120456568832},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 15:23:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:23:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:23:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705160192001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:23:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 15:23:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:23:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15927224792252416,"km_value":15927224792252.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:23:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784692120456568832,"description":"Unknown IO ID 45"} 
[2026-08-28 15:23:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705160192001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1784692120456568832}} 
[2026-08-28 15:23:48] local.INFO: DEBUG: GPS processor result {"connection_id":166141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708277,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:23:48] local.INFO: GPS data processed {"connection_id":166141,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:23:48] local.INFO: Acknowledgment sent {"connection_id":166141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:23:56] local.INFO: TCP Data received {"connection_id":164773,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164773,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:23:56] local.INFO: Processing buffer {"connection_id":164773,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:23:56] local.INFO: IMEI packet received {"connection_id":164773,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 15:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":164773,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:24:02] local.INFO: TCP Data received {"connection_id":164773,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164773,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:24:02] local.INFO: Processing buffer {"connection_id":164773,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:24:02] local.INFO: IMEI packet received {"connection_id":164773,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 15:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":164773,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:24:03] local.INFO: TCP Data received {"connection_id":164773,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047c56d20012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047c56d20012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:24:03] local.INFO: Processing buffer {"connection_id":164773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047c56d20012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:24:03] local.INFO: Packet analysis {"connection_id":164773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047c5"} 
[2026-08-28 15:24:03] local.INFO: Extracted packet for processing {"connection_id":164773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047c5"} 
[2026-08-28 15:24:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705015040001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:24:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787910516000,"timestamp_ms":1787910516000,"timestamp_seconds":1787910516,"priority":1,"record_length":96,"hex_timestamp":"000001a047c56d20"} 
[2026-08-28 15:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:24:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:24:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:24:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":164773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":164773,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":164773,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705015040001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705015040001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:24:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:24:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705015040001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:24:03] 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":708278,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:24:03] local.INFO: GPS data processed {"connection_id":164773,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:24:03] local.INFO: Acknowledgment sent {"connection_id":164773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:24:09] local.INFO: TCP Data received {"connection_id":164772,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047c77c78012d34c14006aa4840001500e629..."} 
[2026-08-28 15:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047c77c78012d34c14006aa4840001500e629..."} 
[2026-08-28 15:24:09] local.INFO: Processing buffer {"connection_id":164772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047c77c78012d34c14006aa4840001500e629..."} 
[2026-08-28 15:24:09] local.INFO: Packet analysis {"connection_id":164772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047c7"} 
[2026-08-28 15:24:09] local.INFO: Extracted packet for processing {"connection_id":164772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047c7"} 
[2026-08-28 15:24:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":21,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705049600001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:24:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:24:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787910651000,"timestamp_ms":1787910651000,"timestamp_seconds":1787910651,"priority":1,"record_length":96,"hex_timestamp":"000001a047c77c78"} 
[2026-08-28 15:24:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:24:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:24: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-28 15:24:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:24:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:24:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705049600001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705049600001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:24:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:24:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:24: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-28 15:24:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705049600001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:24:09] 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":708279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:24:09] local.INFO: GPS data processed {"connection_id":164772,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:24:09] local.INFO: Acknowledgment sent {"connection_id":164772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:24:16] local.INFO: TCP Data received {"connection_id":164774,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:24:16] local.INFO: Processing buffer {"connection_id":164774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:24:16] local.INFO: IMEI packet received {"connection_id":164774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 15:24:16] local.INFO: IMEI acknowledgment sent {"connection_id":164774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:24:21] local.INFO: TCP Data received {"connection_id":164774,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:24:21] local.INFO: Processing buffer {"connection_id":164774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:24:21] local.INFO: IMEI packet received {"connection_id":164774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:24:21] local.INFO: IMEI acknowledgment sent {"connection_id":164774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:24:22] local.INFO: TCP Data received {"connection_id":164774,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047c98fb8012d18c34007214fb00047015c28..."} 
[2026-08-28 15:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047c98fb8012d18c34007214fb00047015c28..."} 
[2026-08-28 15:24:22] local.INFO: Processing buffer {"connection_id":164774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047c98fb8012d18c34007214fb00047015c28..."} 
[2026-08-28 15:24:22] local.INFO: Packet analysis {"connection_id":164774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047c9"} 
[2026-08-28 15:24:22] local.INFO: Extracted packet for processing {"connection_id":164774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047c9"} 
[2026-08-28 15:24:22] local.INFO: GPS Element Parsed {"raw_longitude":756597568,"raw_latitude":119623600,"longitude_deg":75.6597568,"latitude_deg":11.96236,"altitude":71,"angle":348,"satellites":40,"speed":30,"hex_longitude":"2d18c340","hex_latitude":"07214fb0","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:24:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705160960001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:24:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15927297806696448,"note":"Value kept but may cause issues"} 
[2026-08-28 15:24:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784551382968815616,"note":"Value kept but may cause issues"} 
[2026-08-28 15:24:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:24:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787910787000,"timestamp_ms":1787910787000,"timestamp_seconds":1787910787,"priority":1,"record_length":96,"hex_timestamp":"000001a047c98fb8"} 
[2026-08-28 15: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-28 15:24: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-28 15: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-28 15:24: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-28 15: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-28 15: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-28 15:24:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:24:22] local.INFO: Teltonika packet parsed successfully {"connection_id":164774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:24:22] local.INFO: Passing IMEI to GPS processor {"connection_id":164774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:24:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":164774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:24:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:24:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:24:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:24:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705160960001,"66":14265,"121":206,"28":31744,"24":30,"16":15927297806696448,"45":1784551382968815616},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 15:24:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:24:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:24:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705160960001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:24:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 15:24:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:24:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15927297806696448,"km_value":15927297806696.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:24:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784551382968815616,"description":"Unknown IO ID 45"} 
[2026-08-28 15:24:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705160960001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1784551382968815616}} 
[2026-08-28 15:24:22] 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":708280,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:24:22] local.INFO: GPS data processed {"connection_id":164774,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:24:22] local.INFO: Acknowledgment sent {"connection_id":164774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:24:27] local.INFO: TCP Data received {"connection_id":164774,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047c99788012d18c140072154e00046014928..."} 
[2026-08-28 15:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047c99788012d18c140072154e00046014928..."} 
[2026-08-28 15:24:27] local.INFO: Processing buffer {"connection_id":164774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047c99788012d18c140072154e00046014928..."} 
[2026-08-28 15:24:27] local.INFO: Packet analysis {"connection_id":164774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047c9"} 
[2026-08-28 15:24:27] local.INFO: Extracted packet for processing {"connection_id":164774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047c9"} 
[2026-08-28 15:24:27] local.INFO: GPS Element Parsed {"raw_longitude":756597056,"raw_latitude":119624928,"longitude_deg":75.6597056,"latitude_deg":11.9624928,"altitude":70,"angle":329,"satellites":40,"speed":24,"hex_longitude":"2d18c140","hex_latitude":"072154e0","is_valid_coordinates":true} 
[2026-08-28 15:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:24:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705161472001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:24:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15927366526173184,"note":"Value kept but may cause issues"} 
[2026-08-28 15:24:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784340276736667648,"note":"Value kept but may cause issues"} 
[2026-08-28 15:24:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:24:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787910789000,"timestamp_ms":1787910789000,"timestamp_seconds":1787910789,"priority":1,"record_length":96,"hex_timestamp":"000001a047c99788"} 
[2026-08-28 15:24:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:24:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-28 15:24:27] 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-28 15:24:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:24:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:24:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:24:27] local.INFO: Teltonika packet parsed successfully {"connection_id":164774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:24:27] local.INFO: Passing IMEI to GPS processor {"connection_id":164774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:24:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":164774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:24:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:24:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:24:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:24:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705161472001,"66":14211,"121":206,"28":31744,"24":24,"16":15927366526173184,"45":1784340276736667648},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 15:24:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:24:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:24:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705161472001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:24:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 15:24:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:24:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15927366526173184,"km_value":15927366526173.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:24:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784340276736667648,"description":"Unknown IO ID 45"} 
[2026-08-28 15:24:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705161472001,"power":14211,"unknown_121":206,"unknown_28":31744,"ignition":24,"odometer":null,"unknown_45":1784340276736667648}} 
[2026-08-28 15:24:27] 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":708281,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:24:27] local.INFO: GPS data processed {"connection_id":164774,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:24:27] local.INFO: Acknowledgment sent {"connection_id":164774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:24:30] local.INFO: TCP Data received {"connection_id":163779,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:24:30] local.INFO: Processing buffer {"connection_id":163779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:24:30] local.INFO: IMEI packet received {"connection_id":163779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 15:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":163779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:24:35] local.INFO: TCP Data received {"connection_id":164773,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047ca04e8012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ca04e8012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:24:35] local.INFO: Processing buffer {"connection_id":164773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ca04e8012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:24:35] local.INFO: Packet analysis {"connection_id":164773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ca"} 
[2026-08-28 15:24:35] local.INFO: Extracted packet for processing {"connection_id":164773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ca"} 
[2026-08-28 15:24:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705092096001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:24:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:24:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787910817000,"timestamp_ms":1787910817000,"timestamp_seconds":1787910817,"priority":1,"record_length":96,"hex_timestamp":"000001a047ca04e8"} 
[2026-08-28 15:24:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:24:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 15:24:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:24:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:24:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":164773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":164773,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":164773,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:24:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705092096001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705092096001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:24:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:24:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:24:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705092096001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:24:35] 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":708282,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:24:35] local.INFO: GPS data processed {"connection_id":164773,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:24:35] local.INFO: Acknowledgment sent {"connection_id":164773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:24:36] local.INFO: TCP Data received {"connection_id":163779,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:24:36] local.INFO: Processing buffer {"connection_id":163779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:24:36] local.INFO: IMEI packet received {"connection_id":163779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 15:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":163779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:24:38] local.INFO: TCP Data received {"connection_id":163779,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047c77c78012d34c14006aa4840001500e629..."} 
[2026-08-28 15:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047c77c78012d34c14006aa4840001500e629..."} 
[2026-08-28 15:24:38] local.INFO: Processing buffer {"connection_id":163779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047c77c78012d34c14006aa4840001500e629..."} 
[2026-08-28 15:24:38] local.INFO: Packet analysis {"connection_id":163779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047c7"} 
[2026-08-28 15:24:38] local.INFO: Extracted packet for processing {"connection_id":163779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047c7"} 
[2026-08-28 15:24:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":21,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705049600001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:24:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787910651000,"timestamp_ms":1787910651000,"timestamp_seconds":1787910651,"priority":1,"record_length":96,"hex_timestamp":"000001a047c77c78"} 
[2026-08-28 15:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:24:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:24: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-28 15:24:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:24:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705049600001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705049600001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:24:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:24:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:24: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-28 15:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705049600001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:24:38] 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":708283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:24:38] local.INFO: GPS data processed {"connection_id":163779,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:24:38] local.INFO: Acknowledgment sent {"connection_id":163779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:24:52] local.INFO: TCP Data received {"connection_id":163520,"ip":"71.6.134.236","data_length":241,"data_hex":"16030100ec010000e803035e441ca33b8823093fa0578dd476f6d5d714b533bc..."} 
[2026-08-28 15:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163520,"packet_length":241,"packet_hex":"16030100ec010000e803035e441ca33b8823093fa0578dd476f6d5d714b533bc..."} 
[2026-08-28 15:24:52] local.INFO: Processing buffer {"connection_id":163520,"buffer_length":241,"buffer_hex":"16030100ec010000e803035e441ca33b8823093fa0578dd476f6d5d714b533bc..."} 
[2026-08-28 15:24:52] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":163520,"buffer_length":241,"first_bytes_hex":"16030100ec010000e803035e441ca33b"} 
[2026-08-28 15:24:57] local.INFO: TCP Data received {"connection_id":164775,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164775,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:24:57] local.INFO: Processing buffer {"connection_id":164775,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:24:57] local.INFO: IMEI packet received {"connection_id":164775,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 15:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":164775,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:25:02] local.INFO: TCP Data received {"connection_id":164775,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164775,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:25:02] local.INFO: Processing buffer {"connection_id":164775,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:25:02] local.INFO: IMEI packet received {"connection_id":164775,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 15:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":164775,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:25:04] local.INFO: TCP Data received {"connection_id":164775,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047ca04e8012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ca04e8012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:25:04] local.INFO: Processing buffer {"connection_id":164775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ca04e8012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:25:04] local.INFO: Packet analysis {"connection_id":164775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ca"} 
[2026-08-28 15:25:04] local.INFO: Extracted packet for processing {"connection_id":164775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ca"} 
[2026-08-28 15:25:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705092096001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:25:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787910817000,"timestamp_ms":1787910817000,"timestamp_seconds":1787910817,"priority":1,"record_length":96,"hex_timestamp":"000001a047ca04e8"} 
[2026-08-28 15:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:25:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 15:25:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:25:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":164775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":164775,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":164775,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:25:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705092096001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705092096001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:25:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:25:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705092096001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:25:04] 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":708284,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:25:04] local.INFO: GPS data processed {"connection_id":164775,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:25:04] local.INFO: Acknowledgment sent {"connection_id":164775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:25:10] local.INFO: TCP Data received {"connection_id":163779,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047c77c78012d34c14006aa4840001500e629..."} 
[2026-08-28 15:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047c77c78012d34c14006aa4840001500e629..."} 
[2026-08-28 15:25:10] local.INFO: Processing buffer {"connection_id":163779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047c77c78012d34c14006aa4840001500e629..."} 
[2026-08-28 15:25:10] local.INFO: Packet analysis {"connection_id":163779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047c7"} 
[2026-08-28 15:25:10] local.INFO: Extracted packet for processing {"connection_id":163779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047c7"} 
[2026-08-28 15:25:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":21,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705049600001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:25:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787910651000,"timestamp_ms":1787910651000,"timestamp_seconds":1787910651,"priority":1,"record_length":96,"hex_timestamp":"000001a047c77c78"} 
[2026-08-28 15:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:25:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:25:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:25:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:25:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705049600001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705049600001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:25:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:25:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705049600001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:25:10] 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":708285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:25:10] local.INFO: GPS data processed {"connection_id":163779,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:25:10] local.INFO: Acknowledgment sent {"connection_id":163779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:25:11] local.INFO: TCP Data received {"connection_id":164776,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164776,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:25:11] local.INFO: Processing buffer {"connection_id":164776,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:25:11] local.INFO: IMEI packet received {"connection_id":164776,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 15:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":164776,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:25:15] local.INFO: TCP Data received {"connection_id":164776,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164776,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:25:15] local.INFO: Processing buffer {"connection_id":164776,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:25:15] local.INFO: IMEI packet received {"connection_id":164776,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":164776,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:25:17] local.INFO: TCP Data received {"connection_id":164776,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047c9e990012d18c000072156400046014429..."} 
[2026-08-28 15:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047c9e990012d18c000072156400046014429..."} 
[2026-08-28 15:25:17] local.INFO: Processing buffer {"connection_id":164776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047c9e990012d18c000072156400046014429..."} 
[2026-08-28 15:25:17] local.INFO: Packet analysis {"connection_id":164776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047c9"} 
[2026-08-28 15:25:17] local.INFO: Extracted packet for processing {"connection_id":164776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047c9"} 
[2026-08-28 15:25:17] local.INFO: GPS Element Parsed {"raw_longitude":756596736,"raw_latitude":119625280,"longitude_deg":75.6596736,"latitude_deg":11.962528,"altitude":70,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d18c000","hex_latitude":"07215640","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:25:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705161984001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:25:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15927422360748032,"note":"Value kept but may cause issues"} 
[2026-08-28 15:25:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783777326783586304,"note":"Value kept but may cause issues"} 
[2026-08-28 15:25:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:25:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787910810000,"timestamp_ms":1787910810000,"timestamp_seconds":1787910810,"priority":1,"record_length":96,"hex_timestamp":"000001a047c9e990"} 
[2026-08-28 15: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-28 15:25:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15:25:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-28 15:25:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15: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-28 15: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-28 15:25:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:25:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:25:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:25:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:25:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:25:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:25:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:25:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705161984001,"66":14048,"121":206,"28":31744,"24":0,"16":15927422360748032,"45":1783777326783586304},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 15:25:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:25:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:25:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705161984001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:25:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 15:25:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:25:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15927422360748032,"km_value":15927422360748.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:25:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783777326783586304,"description":"Unknown IO ID 45"} 
[2026-08-28 15:25:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705161984001,"power":14048,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1783777326783586304}} 
[2026-08-28 15:25:17] 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":708286,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:25:17] local.INFO: GPS data processed {"connection_id":164776,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:25:17] local.INFO: Acknowledgment sent {"connection_id":164776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:25:35] local.INFO: TCP Data received {"connection_id":164777,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:25:35] local.INFO: Processing buffer {"connection_id":164777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:25:35] local.INFO: IMEI packet received {"connection_id":164777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 15:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":164777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:25:36] local.INFO: TCP Data received {"connection_id":164775,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047ca04e8012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ca04e8012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:25:36] local.INFO: Processing buffer {"connection_id":164775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ca04e8012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:25:36] local.INFO: Packet analysis {"connection_id":164775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ca"} 
[2026-08-28 15:25:36] local.INFO: Extracted packet for processing {"connection_id":164775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ca"} 
[2026-08-28 15:25:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705092096001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:25:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787910817000,"timestamp_ms":1787910817000,"timestamp_seconds":1787910817,"priority":1,"record_length":96,"hex_timestamp":"000001a047ca04e8"} 
[2026-08-28 15:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:25:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 15:25:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:25:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":164775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":164775,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":164775,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705092096001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705092096001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:25:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:25:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705092096001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:25:36] 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":708287,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:25:36] local.INFO: GPS data processed {"connection_id":164775,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:25:36] local.INFO: Acknowledgment sent {"connection_id":164775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:25:41] local.INFO: TCP Data received {"connection_id":164777,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:25:41] local.INFO: Processing buffer {"connection_id":164777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:25:41] local.INFO: IMEI packet received {"connection_id":164777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 15:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":164777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:25:43] local.INFO: TCP Data received {"connection_id":164777,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047c77c78012d34c14006aa4840001500e629..."} 
[2026-08-28 15:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047c77c78012d34c14006aa4840001500e629..."} 
[2026-08-28 15:25:43] local.INFO: Processing buffer {"connection_id":164777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047c77c78012d34c14006aa4840001500e629..."} 
[2026-08-28 15:25:43] local.INFO: Packet analysis {"connection_id":164777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047c7"} 
[2026-08-28 15:25:43] local.INFO: Extracted packet for processing {"connection_id":164777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047c7"} 
[2026-08-28 15:25:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":21,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 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-28 15:25:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705049600001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:25:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:25:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:25:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:25:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787910651000,"timestamp_ms":1787910651000,"timestamp_seconds":1787910651,"priority":1,"record_length":96,"hex_timestamp":"000001a047c77c78"} 
[2026-08-28 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-28 15: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-28 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-28 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-28 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-28 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-28 15:25:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:25:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:25:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:25:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:25:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:25:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:25:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:25:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705049600001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:25:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:25:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:25:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705049600001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:25:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:25:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 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-28 15:25:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:25:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705049600001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:25:43] 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":708288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:25:43] local.INFO: GPS data processed {"connection_id":164777,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:25:43] local.INFO: Acknowledgment sent {"connection_id":164777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:25:47] local.INFO: TCP Data received {"connection_id":164777,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047c77c78012d34c14006aa4840001500e629..."} 
[2026-08-28 15:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047c77c78012d34c14006aa4840001500e629..."} 
[2026-08-28 15:25:47] local.INFO: Processing buffer {"connection_id":164777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047c77c78012d34c14006aa4840001500e629..."} 
[2026-08-28 15:25:47] local.INFO: Packet analysis {"connection_id":164777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047c7"} 
[2026-08-28 15:25:47] local.INFO: Extracted packet for processing {"connection_id":164777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047c7"} 
[2026-08-28 15:25:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":21,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705049600001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:25:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:25:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787910651000,"timestamp_ms":1787910651000,"timestamp_seconds":1787910651,"priority":1,"record_length":96,"hex_timestamp":"000001a047c77c78"} 
[2026-08-28 15: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-28 15:25: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-28 15: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:25: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-28 15: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-28 15: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-28 15:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:25:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705049600001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705049600001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:25:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:25:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15: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-28 15:25:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705049600001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:25:47] 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":708289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:25:47] local.INFO: GPS data processed {"connection_id":164777,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:25:47] local.INFO: Acknowledgment sent {"connection_id":164777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:25:49] local.INFO: TCP Data received {"connection_id":164776,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047ca33c8012d18ac00072170500048013828..."} 
[2026-08-28 15:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ca33c8012d18ac00072170500048013828..."} 
[2026-08-28 15:25:49] local.INFO: Processing buffer {"connection_id":164776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ca33c8012d18ac00072170500048013828..."} 
[2026-08-28 15:25:49] local.INFO: Packet analysis {"connection_id":164776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ca"} 
[2026-08-28 15:25:49] local.INFO: Extracted packet for processing {"connection_id":164776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ca"} 
[2026-08-28 15:25:49] local.INFO: GPS Element Parsed {"raw_longitude":756591616,"raw_latitude":119631952,"longitude_deg":75.6591616,"latitude_deg":11.9631952,"altitude":72,"angle":312,"satellites":40,"speed":25,"hex_longitude":"2d18ac00","hex_latitude":"07217050","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:25:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705167360001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:25:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15927830382641152,"note":"Value kept but may cause issues"} 
[2026-08-28 15:25:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783425483062788096,"note":"Value kept but may cause issues"} 
[2026-08-28 15:25:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:25:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787910829000,"timestamp_ms":1787910829000,"timestamp_seconds":1787910829,"priority":1,"record_length":96,"hex_timestamp":"000001a047ca33c8"} 
[2026-08-28 15: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-28 15:25:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-28 15:25:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15: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-28 15: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-28 15:25:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:25:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:25:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:25:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:25:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:25:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:25:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:25:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705167360001,"66":14070,"121":206,"28":31744,"24":25,"16":15927830382641152,"45":1783425483062788096},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 15:25:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:25:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:25:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705167360001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:25:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 15:25:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:25:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15927830382641152,"km_value":15927830382641.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:25:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783425483062788096,"description":"Unknown IO ID 45"} 
[2026-08-28 15:25:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705167360001,"power":14070,"unknown_121":206,"unknown_28":31744,"ignition":25,"odometer":null,"unknown_45":1783425483062788096}} 
[2026-08-28 15:25:49] 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":708290,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:25:49] local.INFO: GPS data processed {"connection_id":164776,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:25:49] local.INFO: Acknowledgment sent {"connection_id":164776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:25:56] local.INFO: TCP Data received {"connection_id":163780,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163780,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:25:56] local.INFO: Processing buffer {"connection_id":163780,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:25:56] local.INFO: IMEI packet received {"connection_id":163780,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 15:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":163780,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:26:02] local.INFO: TCP Data received {"connection_id":163780,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163780,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:26:02] local.INFO: Processing buffer {"connection_id":163780,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:26:02] local.INFO: IMEI packet received {"connection_id":163780,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 15:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":163780,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:26:03] local.INFO: TCP Data received {"connection_id":163780,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047ca04e8012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ca04e8012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:26:03] local.INFO: Processing buffer {"connection_id":163780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ca04e8012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:26:03] local.INFO: Packet analysis {"connection_id":163780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ca"} 
[2026-08-28 15:26:03] local.INFO: Extracted packet for processing {"connection_id":163780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ca"} 
[2026-08-28 15:26:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705092096001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:26:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787910817000,"timestamp_ms":1787910817000,"timestamp_seconds":1787910817,"priority":1,"record_length":96,"hex_timestamp":"000001a047ca04e8"} 
[2026-08-28 15:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:26:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 15:26:03] 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-28 15:26:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163780,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163780,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705092096001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705092096001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:26:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:26:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705092096001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":163780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708291,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:26:03] local.INFO: GPS data processed {"connection_id":163780,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:26:03] local.INFO: Acknowledgment sent {"connection_id":163780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:26:12] local.INFO: TCP Data received {"connection_id":164778,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164778,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:26:12] local.INFO: Processing buffer {"connection_id":164778,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:26:12] local.INFO: IMEI packet received {"connection_id":164778,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 15:26:12] local.INFO: IMEI acknowledgment sent {"connection_id":164778,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:26:12] local.INFO: TCP Data received {"connection_id":164778,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164778,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:26:12] local.INFO: Processing buffer {"connection_id":164778,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:26:12] local.INFO: IMEI packet received {"connection_id":164778,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:26:12] local.INFO: IMEI acknowledgment sent {"connection_id":164778,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:26:16] local.INFO: TCP Data received {"connection_id":164778,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164778,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:26:16] local.INFO: Processing buffer {"connection_id":164778,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:26:16] local.INFO: IMEI packet received {"connection_id":164778,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:26:16] local.INFO: IMEI acknowledgment sent {"connection_id":164778,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:26:17] local.INFO: TCP Data received {"connection_id":164778,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047ca3b98012d18a840072173180048012828..."} 
[2026-08-28 15:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ca3b98012d18a840072173180048012828..."} 
[2026-08-28 15:26:17] local.INFO: Processing buffer {"connection_id":164778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ca3b98012d18a840072173180048012828..."} 
[2026-08-28 15:26:17] local.INFO: Packet analysis {"connection_id":164778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ca"} 
[2026-08-28 15:26:17] local.INFO: Extracted packet for processing {"connection_id":164778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ca"} 
[2026-08-28 15:26:17] local.INFO: GPS Element Parsed {"raw_longitude":756590656,"raw_latitude":119632664,"longitude_deg":75.6590656,"latitude_deg":11.9632664,"altitude":72,"angle":296,"satellites":40,"speed":25,"hex_longitude":"2d18a840","hex_latitude":"07217318","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:26:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705172224001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:26:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15927886217216000,"note":"Value kept but may cause issues"} 
[2026-08-28 15:26:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777795983530283008,"note":"Value kept but may cause issues"} 
[2026-08-28 15:26:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:26:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787910831000,"timestamp_ms":1787910831000,"timestamp_seconds":1787910831,"priority":1,"record_length":96,"hex_timestamp":"000001a047ca3b98"} 
[2026-08-28 15: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-28 15:26:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-28 15:26: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-28 15: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-28 15: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-28 15:26:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:26:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:26:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:26:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:26:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:26:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:26:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:26:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705172224001,"66":14026,"121":206,"28":31744,"24":25,"16":15927886217216000,"45":1777795983530283008},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 15:26:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:26:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:26:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705172224001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:26:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 15:26:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:26:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15927886217216000,"km_value":15927886217216,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:26:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777795983530283008,"description":"Unknown IO ID 45"} 
[2026-08-28 15:26:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705172224001,"power":14026,"unknown_121":206,"unknown_28":31744,"ignition":25,"odometer":null,"unknown_45":1777795983530283008}} 
[2026-08-28 15:26:17] 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":708292,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:26:17] local.INFO: GPS data processed {"connection_id":164778,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:26:17] local.INFO: Acknowledgment sent {"connection_id":164778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:26:31] local.INFO: TCP Data received {"connection_id":163781,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:26:31] local.INFO: Processing buffer {"connection_id":163781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:26:31] local.INFO: IMEI packet received {"connection_id":163781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 15:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":163781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:26:31] local.INFO: TCP Data received {"connection_id":163781,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:26:31] local.INFO: Processing buffer {"connection_id":163781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:26:31] local.INFO: IMEI packet received {"connection_id":163781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 15:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":163781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:26:35] local.INFO: TCP Data received {"connection_id":163780,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047ca04e8012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ca04e8012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:26:35] local.INFO: Processing buffer {"connection_id":163780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ca04e8012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:26:35] local.INFO: Packet analysis {"connection_id":163780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ca"} 
[2026-08-28 15:26:35] local.INFO: Extracted packet for processing {"connection_id":163780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ca"} 
[2026-08-28 15:26:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705092096001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:26:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:26:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787910817000,"timestamp_ms":1787910817000,"timestamp_seconds":1787910817,"priority":1,"record_length":96,"hex_timestamp":"000001a047ca04e8"} 
[2026-08-28 15:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:26:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 15:26:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:26:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163780,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163780,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:26:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705092096001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705092096001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:26:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:26:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:26:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705092096001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":163780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708293,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:26:35] local.INFO: GPS data processed {"connection_id":163780,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:26:35] local.INFO: Acknowledgment sent {"connection_id":163780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:26:36] local.INFO: TCP Data received {"connection_id":163781,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:26:36] local.INFO: Processing buffer {"connection_id":163781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:26:36] local.INFO: IMEI packet received {"connection_id":163781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 15:26:36] local.INFO: IMEI acknowledgment sent {"connection_id":163781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:26:37] local.INFO: TCP Data received {"connection_id":163781,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047cc1440012d34c14006aa4840001200e628..."} 
[2026-08-28 15:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047cc1440012d34c14006aa4840001200e628..."} 
[2026-08-28 15:26:37] local.INFO: Processing buffer {"connection_id":163781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047cc1440012d34c14006aa4840001200e628..."} 
[2026-08-28 15:26:37] local.INFO: Packet analysis {"connection_id":163781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047cc"} 
[2026-08-28 15:26:37] local.INFO: Extracted packet for processing {"connection_id":163781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047cc"} 
[2026-08-28 15:26:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705126656001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787910952000,"timestamp_ms":1787910952000,"timestamp_seconds":1787910952,"priority":1,"record_length":96,"hex_timestamp":"000001a047cc1440"} 
[2026-08-28 15:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 15:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705126656001,"66":25441,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705126656001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:26:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:26:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:26: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-28 15:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705126656001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:26:37] 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":708294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:26:37] local.INFO: GPS data processed {"connection_id":163781,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:26:37] local.INFO: Acknowledgment sent {"connection_id":163781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:26:41] local.INFO: TCP Data received {"connection_id":163781,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047cc1440012d34c14006aa4840001200e628..."} 
[2026-08-28 15:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047cc1440012d34c14006aa4840001200e628..."} 
[2026-08-28 15:26:41] local.INFO: Processing buffer {"connection_id":163781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047cc1440012d34c14006aa4840001200e628..."} 
[2026-08-28 15:26:41] local.INFO: Packet analysis {"connection_id":163781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047cc"} 
[2026-08-28 15:26:41] local.INFO: Extracted packet for processing {"connection_id":163781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047cc"} 
[2026-08-28 15:26:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705126656001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:26:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:26:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787910952000,"timestamp_ms":1787910952000,"timestamp_seconds":1787910952,"priority":1,"record_length":96,"hex_timestamp":"000001a047cc1440"} 
[2026-08-28 15: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-28 15:26:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 15:26:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15: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-28 15: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-28 15:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":163781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":163781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":163781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:26:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705126656001,"66":25441,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705126656001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:26:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:26:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15: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-28 15:26:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705126656001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:26:41] 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":708295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:26:41] local.INFO: GPS data processed {"connection_id":163781,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:26:41] local.INFO: Acknowledgment sent {"connection_id":163781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:26:49] local.INFO: TCP Data received {"connection_id":164778,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047cc0c70012d1822400721ae780050001825..."} 
[2026-08-28 15:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047cc0c70012d1822400721ae780050001825..."} 
[2026-08-28 15:26:49] local.INFO: Processing buffer {"connection_id":164778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047cc0c70012d1822400721ae780050001825..."} 
[2026-08-28 15:26:49] local.INFO: Packet analysis {"connection_id":164778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047cc"} 
[2026-08-28 15:26:49] local.INFO: Extracted packet for processing {"connection_id":164778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047cc"} 
[2026-08-28 15:26:49] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119647864,"longitude_deg":75.6556352,"latitude_deg":11.9647864,"altitude":80,"angle":24,"satellites":37,"speed":11,"hex_longitude":"2d182240","hex_latitude":"0721ae78","is_valid_coordinates":true} 
[2026-08-28 15:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:26:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705201664001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:26:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15929840427335680,"note":"Value kept but may cause issues"} 
[2026-08-28 15:26:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585240064,"note":"Value kept but may cause issues"} 
[2026-08-28 15:26:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:26:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787910950000,"timestamp_ms":1787910950000,"timestamp_seconds":1787910950,"priority":1,"record_length":96,"hex_timestamp":"000001a047cc0c70"} 
[2026-08-28 15:26:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:26:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-28 15:26:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:26:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:26:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:26:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:26:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:26:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:26:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:26:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:26:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:26:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:26:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705201664001,"66":14080,"120":206,"28":31744,"24":11,"16":15929840427335680,"45":1737896905585240064},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 15:26:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:26:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:26:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705201664001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:26:49] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 15:26:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:26:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15929840427335680,"km_value":15929840427335.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:26:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585240064,"description":"Unknown IO ID 45"} 
[2026-08-28 15:26:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705201664001,"power":14080,"unknown_120":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1737896905585240064}} 
[2026-08-28 15:26:49] 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":708296,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:26:49] local.INFO: GPS data processed {"connection_id":164778,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:26:49] local.INFO: Acknowledgment sent {"connection_id":164778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:26:56] local.INFO: TCP Data received {"connection_id":166142,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166142,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:26:56] local.INFO: Processing buffer {"connection_id":166142,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:26:56] local.INFO: IMEI packet received {"connection_id":166142,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 15:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":166142,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:27:02] local.INFO: TCP Data received {"connection_id":166142,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166142,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:27:02] local.INFO: Processing buffer {"connection_id":166142,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:27:02] local.INFO: IMEI packet received {"connection_id":166142,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 15:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":166142,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:27:02] local.INFO: TCP Data received {"connection_id":166142,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047ca04e8012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ca04e8012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:27:02] local.INFO: Processing buffer {"connection_id":166142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ca04e8012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:27:02] local.INFO: Packet analysis {"connection_id":166142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ca"} 
[2026-08-28 15:27:02] local.INFO: Extracted packet for processing {"connection_id":166142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ca"} 
[2026-08-28 15:27:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:27:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705092096001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:27:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:27:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:27:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:27:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787910817000,"timestamp_ms":1787910817000,"timestamp_seconds":1787910817,"priority":1,"record_length":96,"hex_timestamp":"000001a047ca04e8"} 
[2026-08-28 15:27:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:27:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 15:27: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-28 15:27:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:27:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:27:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:27:02] local.INFO: Teltonika packet parsed successfully {"connection_id":166142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:27:02] local.INFO: Passing IMEI to GPS processor {"connection_id":166142,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:27:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":166142,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:27:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:27:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:27:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:27:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705092096001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:27:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:27:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:27:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705092096001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:27:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:27:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:27:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:27:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:27:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705092096001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":166142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708297,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:27:03] local.INFO: GPS data processed {"connection_id":166142,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:27:03] local.INFO: Acknowledgment sent {"connection_id":166142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:27:10] local.INFO: TCP Data received {"connection_id":163782,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163782,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:27:10] local.INFO: Processing buffer {"connection_id":163782,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:27:10] local.INFO: IMEI packet received {"connection_id":163782,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 15:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":163782,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:27:12] local.INFO: TCP Data received {"connection_id":163781,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047cc1440012d34c14006aa4840001200e628..."} 
[2026-08-28 15:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047cc1440012d34c14006aa4840001200e628..."} 
[2026-08-28 15:27:12] local.INFO: Processing buffer {"connection_id":163781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047cc1440012d34c14006aa4840001200e628..."} 
[2026-08-28 15:27:12] local.INFO: Packet analysis {"connection_id":163781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047cc"} 
[2026-08-28 15:27:12] local.INFO: Extracted packet for processing {"connection_id":163781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047cc"} 
[2026-08-28 15:27:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:27:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705126656001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:27:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:27:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:27:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:27:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787910952000,"timestamp_ms":1787910952000,"timestamp_seconds":1787910952,"priority":1,"record_length":96,"hex_timestamp":"000001a047cc1440"} 
[2026-08-28 15:27:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:27:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.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-28 15:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 15:27:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:27:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:27:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:27:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:27:12] local.INFO: Teltonika packet parsed successfully {"connection_id":163781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:27:12] local.INFO: Passing IMEI to GPS processor {"connection_id":163781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:27:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":163781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:27:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:27:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:27:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:27:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705126656001,"66":25441,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:27:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:27:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:27:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705126656001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:27:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:27:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:27: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-28 15:27:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:27:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705126656001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:27:12] 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":708298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:27:12] local.INFO: GPS data processed {"connection_id":163781,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:27:12] local.INFO: Acknowledgment sent {"connection_id":163781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:27:13] local.INFO: TCP Data received {"connection_id":163782,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163782,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:27:13] local.INFO: Processing buffer {"connection_id":163782,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:27:13] local.INFO: IMEI packet received {"connection_id":163782,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":163782,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:27:16] local.INFO: TCP Data received {"connection_id":163782,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163782,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:27:16] local.INFO: Processing buffer {"connection_id":163782,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:27:16] local.INFO: IMEI packet received {"connection_id":163782,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:27:16] local.INFO: IMEI acknowledgment sent {"connection_id":163782,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:27:18] local.INFO: TCP Data received {"connection_id":163782,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047cc4320012d182c800721c3080051002426..."} 
[2026-08-28 15:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047cc4320012d182c800721c3080051002426..."} 
[2026-08-28 15:27:18] local.INFO: Processing buffer {"connection_id":163782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047cc4320012d182c800721c3080051002426..."} 
[2026-08-28 15:27:18] local.INFO: Packet analysis {"connection_id":163782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047cc"} 
[2026-08-28 15:27:18] local.INFO: Extracted packet for processing {"connection_id":163782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047cc"} 
[2026-08-28 15:27:18] local.INFO: GPS Element Parsed {"raw_longitude":756558976,"raw_latitude":119653128,"longitude_deg":75.6558976,"latitude_deg":11.9653128,"altitude":81,"angle":36,"satellites":38,"speed":18,"hex_longitude":"2d182c80","hex_latitude":"0721c308","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:27:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705203200001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:27:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15930128190144512,"note":"Value kept but may cause issues"} 
[2026-08-28 15:27:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492463616,"note":"Value kept but may cause issues"} 
[2026-08-28 15:27:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:27:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787910964000,"timestamp_ms":1787910964000,"timestamp_seconds":1787910964,"priority":1,"record_length":96,"hex_timestamp":"000001a047cc4320"} 
[2026-08-28 15: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-28 15:27:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-28 15:27:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454499072,"note":"Value kept but may cause issues"} 
[2026-08-28 15:27:18] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":2049,"corrected_to":0} 
[2026-08-28 15:27:18] local.WARNING: Large IO value detected {"io_id":151,"raw_value":3456106496,"note":"Value kept but may cause issues"} 
[2026-08-28 15:27:18] local.WARNING: Large IO value detected {"io_id":71,"raw_value":3414407169,"note":"Value kept but may cause issues"} 
[2026-08-28 15:27:18] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2451046481,"note":"Value kept but may cause issues"} 
[2026-08-28 15:27:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-08-28 15:27:18] local.WARNING: Large IO value detected {"io_id":84,"raw_value":3623955736,"note":"Value kept but may cause issues"} 
[2026-08-28 15:27:18] local.WARNING: Large IO value detected {"io_id":95,"raw_value":3221692802,"note":"Value kept but may cause issues"} 
[2026-08-28 15:27:18] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2536112128,"note":"Value kept but may cause issues"} 
[2026-08-28 15:27:18] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,120,28,24,241,158,16,152,160,245,45,64,168,79,36,10,66,202,128,166,81,151,162,1,240,22,71,33,4,113,205,29,84,95,248,38,239,56,2,7,78,27],"length":479,"final_offset":609,"validated_count":42,"validation_warnings":[{"io_id":202,"original":2049,"validated":0},{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-08-28 15:27:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5764634070227812352,"timestamp_seconds":5764634070227812.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 15: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-28 15:27:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:27:18] local.INFO: Teltonika packet parsed successfully {"connection_id":163782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:27:18] local.INFO: Passing IMEI to GPS processor {"connection_id":163782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:27:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":163782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:27:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:27:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:27:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:27:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705203200001,"66":14080,"120":206,"28":31744,"24":18,"16":15930128190144512,"45":1739022805492463616},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 15:27:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:27:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:27:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705203200001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:27:18] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 15:27:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:27:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15930128190144512,"km_value":15930128190144.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:27:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492463616,"description":"Unknown IO ID 45"} 
[2026-08-28 15:27:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705203200001,"power":14080,"unknown_120":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1739022805492463616}} 
[2026-08-28 15:27:18] 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":708299,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:27:18] local.INFO: GPS data processed {"connection_id":163782,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:27:18] local.INFO: Acknowledgment sent {"connection_id":163782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:27:30] local.INFO: TCP Data received {"connection_id":163521,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:27:30] local.INFO: Processing buffer {"connection_id":163521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:27:30] local.INFO: IMEI packet received {"connection_id":163521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 15:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":163521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:27:34] local.INFO: TCP Data received {"connection_id":166142,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047ca04e8012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ca04e8012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:27:34] local.INFO: Processing buffer {"connection_id":166142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ca04e8012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:27:34] local.INFO: Packet analysis {"connection_id":166142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ca"} 
[2026-08-28 15:27:34] local.INFO: Extracted packet for processing {"connection_id":166142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ca"} 
[2026-08-28 15:27:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:27:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705092096001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:27:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:27:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:27:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:27:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787910817000,"timestamp_ms":1787910817000,"timestamp_seconds":1787910817,"priority":1,"record_length":96,"hex_timestamp":"000001a047ca04e8"} 
[2026-08-28 15:27:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:27:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 15:27:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:27:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:27:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:27:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:27:34] local.INFO: Teltonika packet parsed successfully {"connection_id":166142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:27:34] local.INFO: Passing IMEI to GPS processor {"connection_id":166142,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:27:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":166142,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:27:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:27:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:27:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:27:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705092096001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:27:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:27:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:27:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705092096001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:27:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:27:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:27:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:27:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:27:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705092096001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:27:34] local.INFO: DEBUG: GPS processor result {"connection_id":166142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708300,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:27:34] local.INFO: GPS data processed {"connection_id":166142,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:27:34] local.INFO: Acknowledgment sent {"connection_id":166142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:27:36] local.INFO: TCP Data received {"connection_id":163521,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:27:36] local.INFO: Processing buffer {"connection_id":163521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:27:36] local.INFO: IMEI packet received {"connection_id":163521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 15:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":163521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:27:37] local.INFO: TCP Data received {"connection_id":163521,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047cc1440012d34c14006aa4840001200e628..."} 
[2026-08-28 15:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047cc1440012d34c14006aa4840001200e628..."} 
[2026-08-28 15:27:37] local.INFO: Processing buffer {"connection_id":163521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047cc1440012d34c14006aa4840001200e628..."} 
[2026-08-28 15:27:37] local.INFO: Packet analysis {"connection_id":163521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047cc"} 
[2026-08-28 15:27:37] local.INFO: Extracted packet for processing {"connection_id":163521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047cc"} 
[2026-08-28 15:27:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705126656001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787910952000,"timestamp_ms":1787910952000,"timestamp_seconds":1787910952,"priority":1,"record_length":96,"hex_timestamp":"000001a047cc1440"} 
[2026-08-28 15:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 15:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705126656001,"66":25441,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705126656001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:27:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:27:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:27: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-28 15:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705126656001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:27:37] 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":708301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:27:37] local.INFO: GPS data processed {"connection_id":163521,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:27:37] local.INFO: Acknowledgment sent {"connection_id":163521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:27:49] local.INFO: TCP Data received {"connection_id":163782,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047cc5a90012d182f400721c7d80050016726..."} 
[2026-08-28 15:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047cc5a90012d182f400721c7d80050016726..."} 
[2026-08-28 15:27:49] local.INFO: Processing buffer {"connection_id":163782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047cc5a90012d182f400721c7d80050016726..."} 
[2026-08-28 15:27:49] local.INFO: Packet analysis {"connection_id":163782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047cc"} 
[2026-08-28 15:27:49] local.INFO: Extracted packet for processing {"connection_id":163782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047cc"} 
[2026-08-28 15:27:49] local.INFO: GPS Element Parsed {"raw_longitude":756559680,"raw_latitude":119654360,"longitude_deg":75.655968,"latitude_deg":11.965436,"altitude":80,"angle":359,"satellites":38,"speed":6,"hex_longitude":"2d182f40","hex_latitude":"0721c7d8","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:27:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705206784001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:27:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15930196909621248,"note":"Value kept but may cause issues"} 
[2026-08-28 15:27:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741907924005095424,"note":"Value kept but may cause issues"} 
[2026-08-28 15:27:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:27:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787910970000,"timestamp_ms":1787910970000,"timestamp_seconds":1787910970,"priority":1,"record_length":96,"hex_timestamp":"000001a047cc5a90"} 
[2026-08-28 15: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-28 15:27:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-28 15:27:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454498816,"note":"Value kept but may cause issues"} 
[2026-08-28 15:27:49] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":2049,"corrected_to":0} 
[2026-08-28 15:27:49] local.WARNING: Large IO value detected {"io_id":151,"raw_value":4227858432,"note":"Value kept but may cause issues"} 
[2026-08-28 15:27:49] local.WARNING: Large IO value detected {"io_id":71,"raw_value":3416455169,"note":"Value kept but may cause issues"} 
[2026-08-28 15:27:49] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2619867217,"note":"Value kept but may cause issues"} 
[2026-08-28 15:27:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-08-28 15:27:49] local.WARNING: Large IO value detected {"io_id":131,"raw_value":3087084824,"note":"Value kept but may cause issues"} 
[2026-08-28 15:27:49] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2542796800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:27:49] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,120,28,24,241,158,16,152,160,12,45,64,174,80,37,10,66,245,168,79,36,202,128,1,240,104,151,71,33,4,113,205,25,131,63,38,239,54,2,56,7,78,29],"length":479,"final_offset":609,"validated_count":43,"validation_warnings":[{"io_id":202,"original":2049,"validated":0},{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-08-28 15:27:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5836704862700699648,"timestamp_seconds":5836704862700700.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 15: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-28 15:27:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:27:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:27:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:27:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:27:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:27:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:27:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:27:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705206784001,"66":14070,"120":206,"28":31744,"24":6,"16":15930196909621248,"45":1741907924005095424},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 15:27:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:27:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:27:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705206784001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:27:49] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 15:27:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:27:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15930196909621248,"km_value":15930196909621.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:27:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741907924005095424,"description":"Unknown IO ID 45"} 
[2026-08-28 15:27:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705206784001,"power":14070,"unknown_120":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1741907924005095424}} 
[2026-08-28 15:27:49] 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":708302,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:27:49] local.INFO: GPS data processed {"connection_id":163782,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:27:49] local.INFO: Acknowledgment sent {"connection_id":163782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:27:56] local.INFO: TCP Data received {"connection_id":163783,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163783,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:27:56] local.INFO: Processing buffer {"connection_id":163783,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:27:56] local.INFO: IMEI packet received {"connection_id":163783,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 15:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":163783,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:28:02] local.INFO: TCP Data received {"connection_id":163783,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163783,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:28:02] local.INFO: Processing buffer {"connection_id":163783,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:28:02] local.INFO: IMEI packet received {"connection_id":163783,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 15:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":163783,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:28:03] local.INFO: TCP Data received {"connection_id":163783,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047ca04e8012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ca04e8012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:28:03] local.INFO: Processing buffer {"connection_id":163783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ca04e8012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:28:03] local.INFO: Packet analysis {"connection_id":163783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ca"} 
[2026-08-28 15:28:03] local.INFO: Extracted packet for processing {"connection_id":163783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ca"} 
[2026-08-28 15:28:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705092096001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:28:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787910817000,"timestamp_ms":1787910817000,"timestamp_seconds":1787910817,"priority":1,"record_length":96,"hex_timestamp":"000001a047ca04e8"} 
[2026-08-28 15:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:28:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 15:28:03] 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-28 15:28:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163783,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163783,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:28:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705092096001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705092096001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:28:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:28:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705092096001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:28:03] 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":708303,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:28:03] local.INFO: GPS data processed {"connection_id":163783,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:28:03] local.INFO: Acknowledgment sent {"connection_id":163783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:28:09] local.INFO: TCP Data received {"connection_id":163521,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047cc1440012d34c14006aa4840001200e628..."} 
[2026-08-28 15:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047cc1440012d34c14006aa4840001200e628..."} 
[2026-08-28 15:28:09] local.INFO: Processing buffer {"connection_id":163521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047cc1440012d34c14006aa4840001200e628..."} 
[2026-08-28 15:28:09] local.INFO: Packet analysis {"connection_id":163521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047cc"} 
[2026-08-28 15:28:09] local.INFO: Extracted packet for processing {"connection_id":163521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047cc"} 
[2026-08-28 15:28:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705126656001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787910952000,"timestamp_ms":1787910952000,"timestamp_seconds":1787910952,"priority":1,"record_length":96,"hex_timestamp":"000001a047cc1440"} 
[2026-08-28 15:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 15:28:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:28:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:28:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705126656001,"66":25441,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705126656001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:28:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:28:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:28: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-28 15:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705126656001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:28:09] 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":708304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:28:09] local.INFO: GPS data processed {"connection_id":163521,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:28:09] local.INFO: Acknowledgment sent {"connection_id":163521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:28:10] local.INFO: TCP Data received {"connection_id":166143,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166143,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:28:10] local.INFO: Processing buffer {"connection_id":166143,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:28:10] local.INFO: IMEI packet received {"connection_id":166143,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 15:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":166143,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:28:13] local.INFO: TCP Data received {"connection_id":166143,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166143,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:28:13] local.INFO: Processing buffer {"connection_id":166143,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:28:13] local.INFO: IMEI packet received {"connection_id":166143,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:28:13] local.INFO: IMEI acknowledgment sent {"connection_id":166143,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:28:16] local.INFO: TCP Data received {"connection_id":166143,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166143,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:28:16] local.INFO: Processing buffer {"connection_id":166143,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:28:16] local.INFO: IMEI packet received {"connection_id":166143,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:28:16] local.INFO: IMEI acknowledgment sent {"connection_id":166143,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:28:18] local.INFO: TCP Data received {"connection_id":166143,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047cc6a30012d182f400721ca080050002328..."} 
[2026-08-28 15:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047cc6a30012d182f400721ca080050002328..."} 
[2026-08-28 15:28:18] local.INFO: Processing buffer {"connection_id":166143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047cc6a30012d182f400721ca080050002328..."} 
[2026-08-28 15:28:18] local.INFO: Packet analysis {"connection_id":166143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047cc"} 
[2026-08-28 15:28:18] local.INFO: Extracted packet for processing {"connection_id":166143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047cc"} 
[2026-08-28 15:28:18] local.INFO: GPS Element Parsed {"raw_longitude":756559680,"raw_latitude":119654920,"longitude_deg":75.655968,"latitude_deg":11.965492,"altitude":80,"angle":35,"satellites":40,"speed":5,"hex_longitude":"2d182f40","hex_latitude":"0721ca08","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:28:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705208320001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:28:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15930226974392320,"note":"Value kept but may cause issues"} 
[2026-08-28 15:28:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742681980191365120,"note":"Value kept but may cause issues"} 
[2026-08-28 15:28:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:28:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787910974000,"timestamp_ms":1787910974000,"timestamp_seconds":1787910974,"priority":1,"record_length":96,"hex_timestamp":"000001a047cc6a30"} 
[2026-08-28 15: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-28 15:28:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-28 15:28: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-28 15: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-28 15: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-28 15:28:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:28:18] local.INFO: Teltonika packet parsed successfully {"connection_id":166143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:28:18] local.INFO: Passing IMEI to GPS processor {"connection_id":166143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:28:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":166143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:28:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:28:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:28:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:28:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705208320001,"66":14080,"120":206,"28":31744,"24":5,"16":15930226974392320,"45":1742681980191365120},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 15:28:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:28:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:28:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705208320001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:28:18] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 15:28:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:28:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15930226974392320,"km_value":15930226974392.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:28:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742681980191365120,"description":"Unknown IO ID 45"} 
[2026-08-28 15:28:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705208320001,"power":14080,"unknown_120":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1742681980191365120}} 
[2026-08-28 15:28:18] local.INFO: DEBUG: GPS processor result {"connection_id":166143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708305,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:28:18] local.INFO: GPS data processed {"connection_id":166143,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:28:18] local.INFO: Acknowledgment sent {"connection_id":166143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:28:35] local.INFO: TCP Data received {"connection_id":163783,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047ca04e8012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ca04e8012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:28:35] local.INFO: Processing buffer {"connection_id":163783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ca04e8012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:28:35] local.INFO: Packet analysis {"connection_id":163783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ca"} 
[2026-08-28 15:28:35] local.INFO: Extracted packet for processing {"connection_id":163783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ca"} 
[2026-08-28 15:28:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:28:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705092096001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:28:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:28:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:28:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:28:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787910817000,"timestamp_ms":1787910817000,"timestamp_seconds":1787910817,"priority":1,"record_length":96,"hex_timestamp":"000001a047ca04e8"} 
[2026-08-28 15:28:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:28:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 15:28:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:28:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:28:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:28:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:28:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:28:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163783,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:28:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163783,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:28:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:28:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:28:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705092096001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:28:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:28:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:28:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705092096001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:28:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:28:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:28:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:28:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:28:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705092096001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:28:35] 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":708306,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:28:35] local.INFO: GPS data processed {"connection_id":163783,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:28:35] local.INFO: Acknowledgment sent {"connection_id":163783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:28:35] local.INFO: TCP Data received {"connection_id":163784,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:28:35] local.INFO: Processing buffer {"connection_id":163784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:28:35] local.INFO: IMEI packet received {"connection_id":163784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 15:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":163784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:28:40] local.INFO: TCP Data received {"connection_id":163784,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:28:40] local.INFO: Processing buffer {"connection_id":163784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:28:40] local.INFO: IMEI packet received {"connection_id":163784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 15:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":163784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:28:41] local.INFO: TCP Data received {"connection_id":163784,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047cc1440012d34c14006aa4840001200e628..."} 
[2026-08-28 15:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047cc1440012d34c14006aa4840001200e628..."} 
[2026-08-28 15:28:41] local.INFO: Processing buffer {"connection_id":163784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047cc1440012d34c14006aa4840001200e628..."} 
[2026-08-28 15:28:41] local.INFO: Packet analysis {"connection_id":163784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047cc"} 
[2026-08-28 15:28:41] local.INFO: Extracted packet for processing {"connection_id":163784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047cc"} 
[2026-08-28 15:28:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705126656001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:28:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:28:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787910952000,"timestamp_ms":1787910952000,"timestamp_seconds":1787910952,"priority":1,"record_length":96,"hex_timestamp":"000001a047cc1440"} 
[2026-08-28 15:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:28:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 15:28:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:28:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":163784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":163784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":163784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:28:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705126656001,"66":25441,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705126656001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:28:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:28:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:28: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-28 15:28:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705126656001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":163784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:28:41] local.INFO: GPS data processed {"connection_id":163784,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:28:41] local.INFO: Acknowledgment sent {"connection_id":163784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:28:47] local.INFO: TCP Data received {"connection_id":163784,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047cc1440012d34c14006aa4840001200e628..."} 
[2026-08-28 15:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047cc1440012d34c14006aa4840001200e628..."} 
[2026-08-28 15:28:47] local.INFO: Processing buffer {"connection_id":163784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047cc1440012d34c14006aa4840001200e628..."} 
[2026-08-28 15:28:47] local.INFO: Packet analysis {"connection_id":163784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047cc"} 
[2026-08-28 15:28:47] local.INFO: Extracted packet for processing {"connection_id":163784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047cc"} 
[2026-08-28 15:28:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:28:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705126656001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:28:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:28:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:28:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:28:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787910952000,"timestamp_ms":1787910952000,"timestamp_seconds":1787910952,"priority":1,"record_length":96,"hex_timestamp":"000001a047cc1440"} 
[2026-08-28 15:28:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:28:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 15: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-28 15:28:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:28:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:28:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:28:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:28:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:28:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:28:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:28:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:28:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:28:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705126656001,"66":25441,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:28:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:28:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:28:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705126656001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:28:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:28:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15: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-28 15:28:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:28:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705126656001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:28:47] local.INFO: DEBUG: GPS processor result {"connection_id":163784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:28:47] local.INFO: GPS data processed {"connection_id":163784,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:28:47] local.INFO: Acknowledgment sent {"connection_id":163784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:28:49] local.INFO: TCP Data received {"connection_id":166143,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047ccbc38012d182f800721ca68004f002325..."} 
[2026-08-28 15:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ccbc38012d182f800721ca68004f002325..."} 
[2026-08-28 15:28:49] local.INFO: Processing buffer {"connection_id":166143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ccbc38012d182f800721ca68004f002325..."} 
[2026-08-28 15:28:49] local.INFO: Packet analysis {"connection_id":166143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047cc"} 
[2026-08-28 15:28:49] local.INFO: Extracted packet for processing {"connection_id":166143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047cc"} 
[2026-08-28 15:28:49] local.INFO: GPS Element Parsed {"raw_longitude":756559744,"raw_latitude":119655016,"longitude_deg":75.6559744,"latitude_deg":11.9655016,"altitude":79,"angle":35,"satellites":37,"speed":0,"hex_longitude":"2d182f80","hex_latitude":"0721ca68","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:28:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705209344001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:28:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15930235564326912,"note":"Value kept but may cause issues"} 
[2026-08-28 15:28:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742681980191508480,"note":"Value kept but may cause issues"} 
[2026-08-28 15:28:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:28:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787910995000,"timestamp_ms":1787910995000,"timestamp_seconds":1787910995,"priority":1,"record_length":96,"hex_timestamp":"000001a047ccbc38"} 
[2026-08-28 15: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-28 15:28:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-28 15:28:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454498816,"note":"Value kept but may cause issues"} 
[2026-08-28 15:28:49] local.WARNING: Large IO value detected {"io_id":71,"raw_value":3421831169,"note":"Value kept but may cause issues"} 
[2026-08-28 15:28:49] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2829582415,"note":"Value kept but may cause issues"} 
[2026-08-28 15:28:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-08-28 15:28:49] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":134294808,"corrected_to":0} 
[2026-08-28 15:28:49] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2147951014,"note":"Value kept but may cause issues"} 
[2026-08-28 15:28:49] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2549874688,"note":"Value kept but may cause issues"} 
[2026-08-28 15:28:49] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,120,28,24,241,158,16,152,160,90,45,64,199,80,38,10,66,67,128,195,81,12,1,240,71,33,4,113,205,8,202,31,96,36,239,54,2,56,7,25],"length":479,"final_offset":609,"validated_count":40,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0},{"io_id":202,"original":134294808,"validated":0}]} 
[2026-08-28 15:28:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5764646177740226560,"timestamp_seconds":5764646177740227.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 15: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-28 15:28:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:28:49] local.INFO: Teltonika packet parsed successfully {"connection_id":166143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:28:49] local.INFO: Passing IMEI to GPS processor {"connection_id":166143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:28:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":166143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:28:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:28:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:28:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:28:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705209344001,"66":14298,"120":206,"28":31744,"24":0,"16":15930235564326912,"45":1742681980191508480},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 15:28:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:28:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:28:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705209344001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:28:49] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 15:28:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:28:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15930235564326912,"km_value":15930235564326.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:28:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742681980191508480,"description":"Unknown IO ID 45"} 
[2026-08-28 15:28:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705209344001,"power":14298,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1742681980191508480}} 
[2026-08-28 15:28:49] local.INFO: DEBUG: GPS processor result {"connection_id":166143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708309,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:28:49] local.INFO: GPS data processed {"connection_id":166143,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:28:49] local.INFO: Acknowledgment sent {"connection_id":166143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:29:02] local.INFO: TCP Data received {"connection_id":163785,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163785,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:29:02] local.INFO: Processing buffer {"connection_id":163785,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:29:02] local.INFO: IMEI packet received {"connection_id":163785,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 15:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":163785,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:29:07] local.INFO: TCP Data received {"connection_id":163785,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163785,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:29:07] local.INFO: Processing buffer {"connection_id":163785,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:29:07] local.INFO: IMEI packet received {"connection_id":163785,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 15:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":163785,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:29:08] local.INFO: TCP Data received {"connection_id":163785,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047ca04e8012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ca04e8012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:29:08] local.INFO: Processing buffer {"connection_id":163785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ca04e8012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:29:08] local.INFO: Packet analysis {"connection_id":163785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ca"} 
[2026-08-28 15:29:08] local.INFO: Extracted packet for processing {"connection_id":163785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ca"} 
[2026-08-28 15:29:08] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705092096001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:29:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787910817000,"timestamp_ms":1787910817000,"timestamp_seconds":1787910817,"priority":1,"record_length":96,"hex_timestamp":"000001a047ca04e8"} 
[2026-08-28 15:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:29:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 15:29:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:29:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163785,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163785,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705092096001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705092096001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:29:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:29:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705092096001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:29:08] 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":708310,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:29:08] local.INFO: GPS data processed {"connection_id":163785,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:29:08] local.INFO: Acknowledgment sent {"connection_id":163785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:29:13] local.INFO: TCP Data received {"connection_id":163785,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047ca04e8012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ca04e8012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:29:13] local.INFO: Processing buffer {"connection_id":163785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ca04e8012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:29:13] local.INFO: Packet analysis {"connection_id":163785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ca"} 
[2026-08-28 15:29:13] local.INFO: Extracted packet for processing {"connection_id":163785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ca"} 
[2026-08-28 15:29:13] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:29:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705092096001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:29:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:29:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:29:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:29:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787910817000,"timestamp_ms":1787910817000,"timestamp_seconds":1787910817,"priority":1,"record_length":96,"hex_timestamp":"000001a047ca04e8"} 
[2026-08-28 15: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-28 15:29:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 15:29: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-28 15: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-28 15: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-28 15:29:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:29:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:29:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163785,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:29:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163785,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:29:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:29:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:29:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:29:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705092096001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:29:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:29:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:29:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705092096001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:29:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:29:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:29:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:29:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:29:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705092096001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:29: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":708311,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:29:13] local.INFO: GPS data processed {"connection_id":163785,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:29:13] local.INFO: Acknowledgment sent {"connection_id":163785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:29:16] local.INFO: TCP Data received {"connection_id":163786,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163786,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:29:16] local.INFO: Processing buffer {"connection_id":163786,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:29:16] local.INFO: IMEI packet received {"connection_id":163786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 15:29:16] local.INFO: IMEI acknowledgment sent {"connection_id":163786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:29:21] local.INFO: TCP Data received {"connection_id":163786,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163786,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:29:21] local.INFO: Processing buffer {"connection_id":163786,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:29:21] local.INFO: IMEI packet received {"connection_id":163786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:29:21] local.INFO: IMEI acknowledgment sent {"connection_id":163786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:29:22] local.INFO: TCP Data received {"connection_id":163786,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047ce3720012d1863000721d9f00057003e25..."} 
[2026-08-28 15:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ce3720012d1863000721d9f00057003e25..."} 
[2026-08-28 15:29:22] local.INFO: Processing buffer {"connection_id":163786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ce3720012d1863000721d9f00057003e25..."} 
[2026-08-28 15:29:22] local.INFO: Packet analysis {"connection_id":163786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ce"} 
[2026-08-28 15:29:22] local.INFO: Extracted packet for processing {"connection_id":163786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ce"} 
[2026-08-28 15:29:22] local.INFO: GPS Element Parsed {"raw_longitude":756572928,"raw_latitude":119658992,"longitude_deg":75.6572928,"latitude_deg":11.9658992,"altitude":87,"angle":62,"satellites":37,"speed":25,"hex_longitude":"2d186300","hex_latitude":"0721d9f0","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:29:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705239040001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:29:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15931128917524480,"note":"Value kept but may cause issues"} 
[2026-08-28 15:29:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755981672842006528,"note":"Value kept but may cause issues"} 
[2026-08-28 15:29:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:29:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787911092000,"timestamp_ms":1787911092000,"timestamp_seconds":1787911092,"priority":1,"record_length":96,"hex_timestamp":"000001a047ce3720"} 
[2026-08-28 15: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-28 15:29: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-28 15: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-28 15:29:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15: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-28 15: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-28 15:29:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:29:22] local.INFO: Teltonika packet parsed successfully {"connection_id":163786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:29:22] local.INFO: Passing IMEI to GPS processor {"connection_id":163786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:29:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":163786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:29:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:29:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:29:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:29:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705239040001,"66":14070,"120":206,"28":31744,"24":25,"16":15931128917524480,"45":1755981672842006528},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 15:29:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:29:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:29:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705239040001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:29:22] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 15:29:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:29:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15931128917524480,"km_value":15931128917524.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:29:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755981672842006528,"description":"Unknown IO ID 45"} 
[2026-08-28 15:29:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705239040001,"power":14070,"unknown_120":206,"unknown_28":31744,"ignition":25,"odometer":null,"unknown_45":1755981672842006528}} 
[2026-08-28 15:29:22] local.INFO: DEBUG: GPS processor result {"connection_id":163786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708312,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:29:22] local.INFO: GPS data processed {"connection_id":163786,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:29:22] local.INFO: Acknowledgment sent {"connection_id":163786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:29:26] local.INFO: TCP Data received {"connection_id":163786,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047ce46c0012d186b400721dd400058005124..."} 
[2026-08-28 15:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ce46c0012d186b400721dd400058005124..."} 
[2026-08-28 15:29:26] local.INFO: Processing buffer {"connection_id":163786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ce46c0012d186b400721dd400058005124..."} 
[2026-08-28 15:29:26] local.INFO: Packet analysis {"connection_id":163786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ce"} 
[2026-08-28 15:29:26] local.INFO: Extracted packet for processing {"connection_id":163786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ce"} 
[2026-08-28 15:29:26] local.INFO: GPS Element Parsed {"raw_longitude":756575040,"raw_latitude":119659840,"longitude_deg":75.657504,"latitude_deg":11.965984,"altitude":88,"angle":81,"satellites":36,"speed":17,"hex_longitude":"2d186b40","hex_latitude":"0721dd40","is_valid_coordinates":true} 
[2026-08-28 15:29:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:29:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705239552001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:29:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15931236291706880,"note":"Value kept but may cause issues"} 
[2026-08-28 15:29:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757248310237327360,"note":"Value kept but may cause issues"} 
[2026-08-28 15:29:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:29:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787911096000,"timestamp_ms":1787911096000,"timestamp_seconds":1787911096,"priority":1,"record_length":96,"hex_timestamp":"000001a047ce46c0"} 
[2026-08-28 15:29:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:29:26] 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-28 15:29:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-28 15:29:26] 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-28 15:29:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:29:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:29:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:29:26] local.INFO: Teltonika packet parsed successfully {"connection_id":163786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:29:26] local.INFO: Passing IMEI to GPS processor {"connection_id":163786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:29:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":163786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:29:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:29:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:29:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:29:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705239552001,"66":14483,"120":206,"28":31744,"24":17,"16":15931236291706880,"45":1757248310237327360},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 15:29:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:29:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:29:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705239552001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:29:26] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 15:29:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:29:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15931236291706880,"km_value":15931236291706.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:29:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757248310237327360,"description":"Unknown IO ID 45"} 
[2026-08-28 15:29:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705239552001,"power":14483,"unknown_120":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1757248310237327360}} 
[2026-08-28 15:29:26] local.INFO: DEBUG: GPS processor result {"connection_id":163786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708313,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:29:26] local.INFO: GPS data processed {"connection_id":163786,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:29:26] local.INFO: Acknowledgment sent {"connection_id":163786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:29:31] local.INFO: TCP Data received {"connection_id":166144,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:29:31] local.INFO: Processing buffer {"connection_id":166144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:29:31] local.INFO: IMEI packet received {"connection_id":166144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 15:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":166144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:29:36] local.INFO: TCP Data received {"connection_id":166144,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:29:36] local.INFO: Processing buffer {"connection_id":166144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:29:36] local.INFO: IMEI packet received {"connection_id":166144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 15:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":166144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:29:38] local.INFO: TCP Data received {"connection_id":166144,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047cc1440012d34c14006aa4840001200e628..."} 
[2026-08-28 15:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047cc1440012d34c14006aa4840001200e628..."} 
[2026-08-28 15:29:38] local.INFO: Processing buffer {"connection_id":166144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047cc1440012d34c14006aa4840001200e628..."} 
[2026-08-28 15:29:38] local.INFO: Packet analysis {"connection_id":166144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047cc"} 
[2026-08-28 15:29:38] local.INFO: Extracted packet for processing {"connection_id":166144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047cc"} 
[2026-08-28 15:29:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705126656001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:29:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:29:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:29:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787910952000,"timestamp_ms":1787910952000,"timestamp_seconds":1787910952,"priority":1,"record_length":96,"hex_timestamp":"000001a047cc1440"} 
[2026-08-28 15:29:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:29:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 15:29:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:29:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:29:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:29:38] local.INFO: Teltonika packet parsed successfully {"connection_id":166144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:29:38] local.INFO: Passing IMEI to GPS processor {"connection_id":166144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:29:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":166144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:29:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:29:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:29:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:29:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705126656001,"66":25441,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:29:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:29:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:29:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705126656001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:29:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:29:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:29: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-28 15:29:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:29:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705126656001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:29:38] local.INFO: DEBUG: GPS processor result {"connection_id":166144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:29:38] local.INFO: GPS data processed {"connection_id":166144,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:29:38] local.INFO: Acknowledgment sent {"connection_id":166144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:29:56] local.INFO: TCP Data received {"connection_id":164779,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164779,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:29:56] local.INFO: Processing buffer {"connection_id":164779,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:29:56] local.INFO: IMEI packet received {"connection_id":164779,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 15:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":164779,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:30:02] local.INFO: TCP Data received {"connection_id":164779,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164779,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:30:02] local.INFO: Processing buffer {"connection_id":164779,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:30:02] local.INFO: IMEI packet received {"connection_id":164779,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 15:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":164779,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:30:03] local.INFO: TCP Data received {"connection_id":164779,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047ce9cb0012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ce9cb0012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:30:03] local.INFO: Processing buffer {"connection_id":164779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ce9cb0012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:30:03] local.INFO: Packet analysis {"connection_id":164779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ce"} 
[2026-08-28 15:30:03] local.INFO: Extracted packet for processing {"connection_id":164779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ce"} 
[2026-08-28 15:30:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705169152001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787911118000,"timestamp_ms":1787911118000,"timestamp_seconds":1787911118,"priority":1,"record_length":96,"hex_timestamp":"000001a047ce9cb0"} 
[2026-08-28 15:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:30:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 15:30:03] 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-28 15:30:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":164779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":164779,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":164779,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705169152001,"66":25419,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705169152001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:30:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:30:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705169152001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:30:03] 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":708315,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:30:03] local.INFO: GPS data processed {"connection_id":164779,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:30:03] local.INFO: Acknowledgment sent {"connection_id":164779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:30:10] local.INFO: TCP Data received {"connection_id":166144,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047cc1440012d34c14006aa4840001200e628..."} 
[2026-08-28 15:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047cc1440012d34c14006aa4840001200e628..."} 
[2026-08-28 15:30:10] local.INFO: Processing buffer {"connection_id":166144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047cc1440012d34c14006aa4840001200e628..."} 
[2026-08-28 15:30:10] local.INFO: Packet analysis {"connection_id":166144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047cc"} 
[2026-08-28 15:30:10] local.INFO: Extracted packet for processing {"connection_id":166144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047cc"} 
[2026-08-28 15:30:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705126656001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:30:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787910952000,"timestamp_ms":1787910952000,"timestamp_seconds":1787910952,"priority":1,"record_length":96,"hex_timestamp":"000001a047cc1440"} 
[2026-08-28 15:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:30:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 15:30:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:30:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":166144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":166144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":166144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:30:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705126656001,"66":25441,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705126656001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:30:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:30:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705126656001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":166144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:30:10] local.INFO: GPS data processed {"connection_id":166144,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:30:10] local.INFO: Acknowledgment sent {"connection_id":166144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:30:11] local.INFO: TCP Data received {"connection_id":163787,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:30:11] local.INFO: Processing buffer {"connection_id":163787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:30:11] local.INFO: IMEI packet received {"connection_id":163787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 15:30:11] local.INFO: IMEI acknowledgment sent {"connection_id":163787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:30:16] local.INFO: TCP Data received {"connection_id":163787,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:30:16] local.INFO: Processing buffer {"connection_id":163787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:30:16] local.INFO: IMEI packet received {"connection_id":163787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:30:16] local.INFO: IMEI acknowledgment sent {"connection_id":163787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:30:17] local.INFO: TCP Data received {"connection_id":163787,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047ce4e90012d186d800721ddc00058004224..."} 
[2026-08-28 15:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ce4e90012d186d800721ddc00058004224..."} 
[2026-08-28 15:30:17] local.INFO: Processing buffer {"connection_id":163787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ce4e90012d186d800721ddc00058004224..."} 
[2026-08-28 15:30:17] local.INFO: Packet analysis {"connection_id":163787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ce"} 
[2026-08-28 15:30:17] local.INFO: Extracted packet for processing {"connection_id":163787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ce"} 
[2026-08-28 15:30:17] local.INFO: GPS Element Parsed {"raw_longitude":756575616,"raw_latitude":119659968,"longitude_deg":75.6575616,"latitude_deg":11.9659968,"altitude":88,"angle":66,"satellites":36,"speed":9,"hex_longitude":"2d186d80","hex_latitude":"0721ddc0","is_valid_coordinates":true} 
[2026-08-28 15:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:30:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705240576001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:30:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15931266356477952,"note":"Value kept but may cause issues"} 
[2026-08-28 15:30:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1759570478795407360,"note":"Value kept but may cause issues"} 
[2026-08-28 15:30:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:30:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787911098000,"timestamp_ms":1787911098000,"timestamp_seconds":1787911098,"priority":1,"record_length":96,"hex_timestamp":"000001a047ce4e90"} 
[2026-08-28 15:30:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:30:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-28 15:30:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:30:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:30:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:30:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:30:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:30:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:30:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:30:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:30:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:30:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:30:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705240576001,"66":14374,"120":206,"28":31744,"24":9,"16":15931266356477952,"45":1759570478795407360},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 15:30:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:30:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:30:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705240576001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:30:17] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 15:30:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:30:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15931266356477952,"km_value":15931266356477.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:30:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1759570478795407360,"description":"Unknown IO ID 45"} 
[2026-08-28 15:30:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705240576001,"power":14374,"unknown_120":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1759570478795407360}} 
[2026-08-28 15:30:17] 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":708317,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:30:17] local.INFO: GPS data processed {"connection_id":163787,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:30:17] local.INFO: Acknowledgment sent {"connection_id":163787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:30:30] local.INFO: TCP Data received {"connection_id":164780,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:30:30] local.INFO: Processing buffer {"connection_id":164780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:30:30] local.INFO: IMEI packet received {"connection_id":164780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 15:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":164780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:30:35] local.INFO: TCP Data received {"connection_id":164779,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047ce9cb0012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ce9cb0012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:30:35] local.INFO: Processing buffer {"connection_id":164779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ce9cb0012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:30:35] local.INFO: Packet analysis {"connection_id":164779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ce"} 
[2026-08-28 15:30:35] local.INFO: Extracted packet for processing {"connection_id":164779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ce"} 
[2026-08-28 15:30:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705169152001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:30:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:30:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787911118000,"timestamp_ms":1787911118000,"timestamp_seconds":1787911118,"priority":1,"record_length":96,"hex_timestamp":"000001a047ce9cb0"} 
[2026-08-28 15:30:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:30:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 15:30:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:30:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:30:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":164779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":164779,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":164779,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:30:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:30:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705169152001,"66":25419,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705169152001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:30:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:30:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:30:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705169152001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:30:35] 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":708318,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:30:35] local.INFO: GPS data processed {"connection_id":164779,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:30:35] local.INFO: Acknowledgment sent {"connection_id":164779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:30:36] local.INFO: TCP Data received {"connection_id":164780,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:30:36] local.INFO: Processing buffer {"connection_id":164780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:30:36] local.INFO: IMEI packet received {"connection_id":164780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 15:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":164780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:30:38] local.INFO: TCP Data received {"connection_id":164780,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047cc1440012d34c14006aa4840001200e628..."} 
[2026-08-28 15:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047cc1440012d34c14006aa4840001200e628..."} 
[2026-08-28 15:30:38] local.INFO: Processing buffer {"connection_id":164780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047cc1440012d34c14006aa4840001200e628..."} 
[2026-08-28 15:30:38] local.INFO: Packet analysis {"connection_id":164780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047cc"} 
[2026-08-28 15:30:38] local.INFO: Extracted packet for processing {"connection_id":164780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047cc"} 
[2026-08-28 15:30:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705126656001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:30:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787910952000,"timestamp_ms":1787910952000,"timestamp_seconds":1787910952,"priority":1,"record_length":96,"hex_timestamp":"000001a047cc1440"} 
[2026-08-28 15:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 15:30:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:30:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705126656001,"66":25441,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705126656001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:30:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:30:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:30: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-28 15:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705126656001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:30:38] 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":708319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:30:38] local.INFO: GPS data processed {"connection_id":164780,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:30:38] local.INFO: Acknowledgment sent {"connection_id":164780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:30:49] local.INFO: TCP Data received {"connection_id":163787,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047ce5278012d186e800721de380058002924..."} 
[2026-08-28 15:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ce5278012d186e800721de380058002924..."} 
[2026-08-28 15:30:49] local.INFO: Processing buffer {"connection_id":163787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ce5278012d186e800721de380058002924..."} 
[2026-08-28 15:30:49] local.INFO: Packet analysis {"connection_id":163787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ce"} 
[2026-08-28 15:30:49] local.INFO: Extracted packet for processing {"connection_id":163787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ce"} 
[2026-08-28 15:30:49] local.INFO: GPS Element Parsed {"raw_longitude":756575872,"raw_latitude":119660088,"longitude_deg":75.6575872,"latitude_deg":11.9660088,"altitude":88,"angle":41,"satellites":36,"speed":8,"hex_longitude":"2d186e80","hex_latitude":"0721de38","is_valid_coordinates":true} 
[2026-08-28 15:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:30:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705241088001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:30:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15931279241379840,"note":"Value kept but may cause issues"} 
[2026-08-28 15:30:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760203797493039104,"note":"Value kept but may cause issues"} 
[2026-08-28 15:30:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:30:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787911099000,"timestamp_ms":1787911099000,"timestamp_seconds":1787911099,"priority":1,"record_length":96,"hex_timestamp":"000001a047ce5278"} 
[2026-08-28 15:30:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:30:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-28 15:30:49] 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-28 15:30:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:30:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:30:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:30:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:30:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:30:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:30:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:30:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:30:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:30:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705241088001,"66":14374,"120":206,"28":31744,"24":8,"16":15931279241379840,"45":1760203797493039104},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 15:30:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:30:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:30:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705241088001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:30:49] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 15:30:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:30:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15931279241379840,"km_value":15931279241379.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:30:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760203797493039104,"description":"Unknown IO ID 45"} 
[2026-08-28 15:30:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705241088001,"power":14374,"unknown_120":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1760203797493039104}} 
[2026-08-28 15:30:49] 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":708320,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:30:49] local.INFO: GPS data processed {"connection_id":163787,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:30:49] local.INFO: Acknowledgment sent {"connection_id":163787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:30:56] local.INFO: TCP Data received {"connection_id":166145,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166145,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:30:56] local.INFO: Processing buffer {"connection_id":166145,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:30:56] local.INFO: IMEI packet received {"connection_id":166145,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 15:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":166145,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:31:02] local.INFO: TCP Data received {"connection_id":166145,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166145,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:31:02] local.INFO: Processing buffer {"connection_id":166145,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:31:02] local.INFO: IMEI packet received {"connection_id":166145,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 15:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":166145,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:31:03] local.INFO: TCP Data received {"connection_id":166145,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047ce9cb0012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ce9cb0012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:31:03] local.INFO: Processing buffer {"connection_id":166145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ce9cb0012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:31:03] local.INFO: Packet analysis {"connection_id":166145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ce"} 
[2026-08-28 15:31:03] local.INFO: Extracted packet for processing {"connection_id":166145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ce"} 
[2026-08-28 15:31:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705169152001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:31:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787911118000,"timestamp_ms":1787911118000,"timestamp_seconds":1787911118,"priority":1,"record_length":96,"hex_timestamp":"000001a047ce9cb0"} 
[2026-08-28 15:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:31:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 15:31:03] 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-28 15:31:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":166145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":166145,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":166145,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:31:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705169152001,"66":25419,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705169152001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:31:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:31:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705169152001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":166145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708321,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:31:03] local.INFO: GPS data processed {"connection_id":166145,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:31:03] local.INFO: Acknowledgment sent {"connection_id":166145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:31:10] local.INFO: TCP Data received {"connection_id":163522,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163522,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:31:10] local.INFO: Processing buffer {"connection_id":163522,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:31:10] local.INFO: IMEI packet received {"connection_id":163522,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 15:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":163522,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:31:10] local.INFO: TCP Data received {"connection_id":164780,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047cc1440012d34c14006aa4840001200e628..."} 
[2026-08-28 15:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047cc1440012d34c14006aa4840001200e628..."} 
[2026-08-28 15:31:10] local.INFO: Processing buffer {"connection_id":164780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047cc1440012d34c14006aa4840001200e628..."} 
[2026-08-28 15:31:10] local.INFO: Packet analysis {"connection_id":164780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047cc"} 
[2026-08-28 15:31:10] local.INFO: Extracted packet for processing {"connection_id":164780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047cc"} 
[2026-08-28 15:31:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705126656001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:31:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:31:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787910952000,"timestamp_ms":1787910952000,"timestamp_seconds":1787910952,"priority":1,"record_length":96,"hex_timestamp":"000001a047cc1440"} 
[2026-08-28 15:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:31:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 15:31:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:31:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":164780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":164780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":164780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:31:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705126656001,"66":25441,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705126656001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:31:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:31:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:31:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705126656001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:31:10] 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":708322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:31:10] local.INFO: GPS data processed {"connection_id":164780,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:31:10] local.INFO: Acknowledgment sent {"connection_id":164780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:31:13] local.INFO: TCP Data received {"connection_id":163522,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163522,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:31:13] local.INFO: Processing buffer {"connection_id":163522,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:31:13] local.INFO: IMEI packet received {"connection_id":163522,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":163522,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:31:15] local.INFO: TCP Data received {"connection_id":163522,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163522,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:31:15] local.INFO: Processing buffer {"connection_id":163522,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:31:15] local.INFO: IMEI packet received {"connection_id":163522,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":163522,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:31:15] local.INFO: TCP Data received {"connection_id":163522,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047d04e48012d186f400721e228005600b226..."} 
[2026-08-28 15:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d04e48012d186f400721e228005600b226..."} 
[2026-08-28 15:31:15] local.INFO: Processing buffer {"connection_id":163522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d04e48012d186f400721e228005600b226..."} 
[2026-08-28 15:31:15] local.INFO: Packet analysis {"connection_id":163522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d0"} 
[2026-08-28 15:31:15] local.INFO: Extracted packet for processing {"connection_id":163522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d0"} 
[2026-08-28 15:31:15] local.INFO: GPS Element Parsed {"raw_longitude":756576064,"raw_latitude":119661096,"longitude_deg":75.6576064,"latitude_deg":11.9661096,"altitude":86,"angle":178,"satellites":38,"speed":4,"hex_longitude":"2d186f40","hex_latitude":"0721e228","is_valid_coordinates":true} 
[2026-08-28 15:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705274368001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15931390910529536,"note":"Value kept but may cause issues"} 
[2026-08-28 15:31:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760766747446784000,"note":"Value kept but may cause issues"} 
[2026-08-28 15:31:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787911229000,"timestamp_ms":1787911229000,"timestamp_seconds":1787911229,"priority":1,"record_length":96,"hex_timestamp":"000001a047d04e48"} 
[2026-08-28 15:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:31:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-28 15:31:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:31:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705274368001,"66":14428,"120":206,"28":31744,"24":4,"16":15931390910529536,"45":1760766747446784000},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 15:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705274368001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:31:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 15:31:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15931390910529536,"km_value":15931390910529.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:31:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760766747446784000,"description":"Unknown IO ID 45"} 
[2026-08-28 15:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705274368001,"power":14428,"unknown_120":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1760766747446784000}} 
[2026-08-28 15:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":163522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708323,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:31:16] local.INFO: GPS data processed {"connection_id":163522,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:31:16] local.INFO: Acknowledgment sent {"connection_id":163522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:31:16] local.INFO: TCP Data received {"connection_id":163522,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047d05230012d186f400721e198005600c025..."} 
[2026-08-28 15:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d05230012d186f400721e198005600c025..."} 
[2026-08-28 15:31:16] local.INFO: Processing buffer {"connection_id":163522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d05230012d186f400721e198005600c025..."} 
[2026-08-28 15:31:16] local.INFO: Packet analysis {"connection_id":163522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d0"} 
[2026-08-28 15:31:16] local.INFO: Extracted packet for processing {"connection_id":163522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d0"} 
[2026-08-28 15:31:16] local.INFO: GPS Element Parsed {"raw_longitude":756576064,"raw_latitude":119660952,"longitude_deg":75.6576064,"latitude_deg":11.9660952,"altitude":86,"angle":192,"satellites":37,"speed":5,"hex_longitude":"2d186f40","hex_latitude":"0721e198","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705274624001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15931399500464128,"note":"Value kept but may cause issues"} 
[2026-08-28 15:31:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760696378702571520,"note":"Value kept but may cause issues"} 
[2026-08-28 15:31:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787911230000,"timestamp_ms":1787911230000,"timestamp_seconds":1787911230,"priority":1,"record_length":96,"hex_timestamp":"000001a047d05230"} 
[2026-08-28 15: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-28 15:31:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-28 15:31:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15: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-28 15: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-28 15:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:31:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705274624001,"66":13330,"120":206,"28":31744,"24":5,"16":15931399500464128,"45":1760696378702571520},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 15:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705274624001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:31:16] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 15:31:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15931399500464128,"km_value":15931399500464.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:31:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760696378702571520,"description":"Unknown IO ID 45"} 
[2026-08-28 15:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705274624001,"power":13330,"unknown_120":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1760696378702571520}} 
[2026-08-28 15:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":163522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708324,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:31:16] local.INFO: GPS data processed {"connection_id":163522,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:31:16] local.INFO: Acknowledgment sent {"connection_id":163522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:31:30] local.INFO: TCP Data received {"connection_id":164781,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:31:30] local.INFO: Processing buffer {"connection_id":164781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:31:30] local.INFO: IMEI packet received {"connection_id":164781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 15:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":164781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:31:31] local.INFO: TCP Data received {"connection_id":164781,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:31:31] local.INFO: Processing buffer {"connection_id":164781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:31:31] local.INFO: IMEI packet received {"connection_id":164781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 15:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":164781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:31:35] local.INFO: TCP Data received {"connection_id":166145,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047ce9cb0012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ce9cb0012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:31:35] local.INFO: Processing buffer {"connection_id":166145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ce9cb0012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:31:35] local.INFO: Packet analysis {"connection_id":166145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ce"} 
[2026-08-28 15:31:35] local.INFO: Extracted packet for processing {"connection_id":166145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ce"} 
[2026-08-28 15:31:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705169152001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:31:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787911118000,"timestamp_ms":1787911118000,"timestamp_seconds":1787911118,"priority":1,"record_length":96,"hex_timestamp":"000001a047ce9cb0"} 
[2026-08-28 15:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:31:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 15:31:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:31:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":166145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":166145,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":166145,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705169152001,"66":25419,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705169152001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:31:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:31:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705169152001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":166145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708325,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:31:35] local.INFO: GPS data processed {"connection_id":166145,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:31:35] local.INFO: Acknowledgment sent {"connection_id":166145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:31:36] local.INFO: TCP Data received {"connection_id":164781,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:31:36] local.INFO: Processing buffer {"connection_id":164781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:31:36] local.INFO: IMEI packet received {"connection_id":164781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 15:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":164781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:31:38] local.INFO: TCP Data received {"connection_id":164781,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047d0ac08012d34c14006aa4840000e00e62a..."} 
[2026-08-28 15:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d0ac08012d34c14006aa4840000e00e62a..."} 
[2026-08-28 15:31:38] local.INFO: Processing buffer {"connection_id":164781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d0ac08012d34c14006aa4840000e00e62a..."} 
[2026-08-28 15:31:38] local.INFO: Packet analysis {"connection_id":164781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d0"} 
[2026-08-28 15:31:38] local.INFO: Extracted packet for processing {"connection_id":164781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d0"} 
[2026-08-28 15:31:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705203712001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787911253000,"timestamp_ms":1787911253000,"timestamp_seconds":1787911253,"priority":1,"record_length":96,"hex_timestamp":"000001a047d0ac08"} 
[2026-08-28 15:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 15:31: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-28 15:31:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705203712001,"66":25397,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705203712001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:31:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:31:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:31: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-28 15:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705203712001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:31:38] 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":708326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:31:38] local.INFO: GPS data processed {"connection_id":164781,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:31:38] local.INFO: Acknowledgment sent {"connection_id":164781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:31:47] local.INFO: TCP Data received {"connection_id":163522,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047d065b8012d186e800721df30005600cf28..."} 
[2026-08-28 15:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d065b8012d186e800721df30005600cf28..."} 
[2026-08-28 15:31:47] local.INFO: Processing buffer {"connection_id":163522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d065b8012d186e800721df30005600cf28..."} 
[2026-08-28 15:31:47] local.INFO: Packet analysis {"connection_id":163522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d0"} 
[2026-08-28 15:31:48] local.INFO: Extracted packet for processing {"connection_id":163522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d0"} 
[2026-08-28 15:31:48] local.INFO: GPS Element Parsed {"raw_longitude":756575872,"raw_latitude":119660336,"longitude_deg":75.6575872,"latitude_deg":11.9660336,"altitude":86,"angle":207,"satellites":40,"speed":4,"hex_longitude":"2d186e80","hex_latitude":"0721df30","is_valid_coordinates":true} 
[2026-08-28 15:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:31:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705274880001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:31:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15931429565235200,"note":"Value kept but may cause issues"} 
[2026-08-28 15:31:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760696378702534656,"note":"Value kept but may cause issues"} 
[2026-08-28 15:31:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:31:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787911235000,"timestamp_ms":1787911235000,"timestamp_seconds":1787911235,"priority":1,"record_length":96,"hex_timestamp":"000001a047d065b8"} 
[2026-08-28 15:31:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:31:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-08-28 15:31:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-08-28 15:31:48] local.WARNING: Large IO value detected {"io_id":38,"raw_value":57956872821283964,"note":"Value kept but may cause issues"} 
[2026-08-28 15:31:48] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249470826325599064,"note":"Value kept but may cause issues"} 
[2026-08-28 15:31:48] local.WARNING: Large IO value detected {"io_id":71,"raw_value":3488135169,"note":"Value kept but may cause issues"} 
[2026-08-28 15:31:48] local.WARNING: Large IO value detected {"io_id":33,"raw_value":-2071655450609836288,"note":"Value kept but may cause issues"} 
[2026-08-28 15:31:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-08-28 15:31:48] local.WARNING: Large IO value detected {"io_id":150,"raw_value":2952867096,"note":"Value kept but may cause issues"} 
[2026-08-28 15:31:48] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2575237120,"note":"Value kept but may cause issues"} 
[2026-08-28 15:31:48] local.WARNING: Large IO value detected {"io_id":206,"raw_value":-963769027062120441,"note":"Value kept but may cause issues"} 
[2026-08-28 15:31:48] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-08-28 15:31:48] local.WARNING: Large IO value detected {"io_id":76,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-28 15:31:48] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,120,28,24,241,158,16,153,160,78,45,64,226,86,38,10,66,74,128,58,1,240,27,71,33,4,113,205,150,112,144,34,239,56,2,7,87,206,231,76],"length":626,"final_offset":756,"validated_count":40,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-08-28 15:31:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":6197164352408453120,"timestamp_seconds":6197164352408453.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 15:31:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:31:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:31:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:31:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:31:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:31:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:31:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:31:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:31:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705274880001,"66":14070,"120":206,"28":31744,"24":4,"16":15931429565235200,"45":1760696378702534656},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 15:31:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:31:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:31:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705274880001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:31:48] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 15:31:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:31:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15931429565235200,"km_value":15931429565235.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:31:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760696378702534656,"description":"Unknown IO ID 45"} 
[2026-08-28 15:31:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705274880001,"power":14070,"unknown_120":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1760696378702534656}} 
[2026-08-28 15:31:48] local.INFO: DEBUG: GPS processor result {"connection_id":163522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708327,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:31:48] local.INFO: GPS data processed {"connection_id":163522,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:31:48] local.INFO: Acknowledgment sent {"connection_id":163522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:31:56] local.INFO: TCP Data received {"connection_id":166146,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166146,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:31:56] local.INFO: Processing buffer {"connection_id":166146,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:31:56] local.INFO: IMEI packet received {"connection_id":166146,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 15:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":166146,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:32:03] local.INFO: TCP Data received {"connection_id":166146,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166146,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:32:03] local.INFO: Processing buffer {"connection_id":166146,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:32:03] local.INFO: IMEI packet received {"connection_id":166146,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 15:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":166146,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:32:04] local.INFO: TCP Data received {"connection_id":166146,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047ce9cb0012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ce9cb0012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:32:04] local.INFO: Processing buffer {"connection_id":166146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ce9cb0012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:32:04] local.INFO: Packet analysis {"connection_id":166146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ce"} 
[2026-08-28 15:32:04] local.INFO: Extracted packet for processing {"connection_id":166146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ce"} 
[2026-08-28 15:32:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705169152001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787911118000,"timestamp_ms":1787911118000,"timestamp_seconds":1787911118,"priority":1,"record_length":96,"hex_timestamp":"000001a047ce9cb0"} 
[2026-08-28 15:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 15:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":166146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":166146,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":166146,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705169152001,"66":25419,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705169152001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:32:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:32:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705169152001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":166146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708328,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:32:04] local.INFO: GPS data processed {"connection_id":166146,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:32:04] local.INFO: Acknowledgment sent {"connection_id":166146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:32:10] local.INFO: TCP Data received {"connection_id":164781,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047d0ac08012d34c14006aa4840000e00e62a..."} 
[2026-08-28 15:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d0ac08012d34c14006aa4840000e00e62a..."} 
[2026-08-28 15:32:10] local.INFO: Processing buffer {"connection_id":164781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d0ac08012d34c14006aa4840000e00e62a..."} 
[2026-08-28 15:32:10] local.INFO: Packet analysis {"connection_id":164781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d0"} 
[2026-08-28 15:32:10] local.INFO: Extracted packet for processing {"connection_id":164781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d0"} 
[2026-08-28 15:32:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705203712001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787911253000,"timestamp_ms":1787911253000,"timestamp_seconds":1787911253,"priority":1,"record_length":96,"hex_timestamp":"000001a047d0ac08"} 
[2026-08-28 15:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 15:32:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":164781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":164781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":164781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705203712001,"66":25397,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705203712001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:32:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:32:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705203712001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:32:10] 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":708329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:32:10] local.INFO: GPS data processed {"connection_id":164781,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:32:10] local.INFO: Acknowledgment sent {"connection_id":164781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:32:10] local.INFO: TCP Data received {"connection_id":166147,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166147,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:32:10] local.INFO: Processing buffer {"connection_id":166147,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:32:10] local.INFO: IMEI packet received {"connection_id":166147,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 15:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":166147,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:32:16] local.INFO: TCP Data received {"connection_id":166147,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166147,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:32:16] local.INFO: Processing buffer {"connection_id":166147,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:32:16] local.INFO: IMEI packet received {"connection_id":166147,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:32:16] local.INFO: IMEI acknowledgment sent {"connection_id":166147,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:32:17] local.INFO: TCP Data received {"connection_id":166147,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047d11198012d1847000721e5f8005000fc24..."} 
[2026-08-28 15:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d11198012d1847000721e5f8005000fc24..."} 
[2026-08-28 15:32:17] local.INFO: Processing buffer {"connection_id":166147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d11198012d1847000721e5f8005000fc24..."} 
[2026-08-28 15:32:17] local.INFO: Packet analysis {"connection_id":166147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d1"} 
[2026-08-28 15:32:17] local.INFO: Extracted packet for processing {"connection_id":166147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d1"} 
[2026-08-28 15:32:17] local.INFO: GPS Element Parsed {"raw_longitude":756565760,"raw_latitude":119662072,"longitude_deg":75.656576,"latitude_deg":11.9662072,"altitude":80,"angle":252,"satellites":36,"speed":5,"hex_longitude":"2d184700","hex_latitude":"0721e5f8","is_valid_coordinates":true} 
[2026-08-28 15:32:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:32:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705286656001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:32:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15932009385820160,"note":"Value kept but may cause issues"} 
[2026-08-28 15:32:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1749789223355269120,"note":"Value kept but may cause issues"} 
[2026-08-28 15:32:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:32:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787911279000,"timestamp_ms":1787911279000,"timestamp_seconds":1787911279,"priority":1,"record_length":96,"hex_timestamp":"000001a047d11198"} 
[2026-08-28 15:32:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:32:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15:32:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-28 15:32:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:32:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:32:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:32:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:32:17] local.INFO: Teltonika packet parsed successfully {"connection_id":166147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:32:17] local.INFO: Passing IMEI to GPS processor {"connection_id":166147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:32:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":166147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:32:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:32:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:32:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:32:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705286656001,"66":14298,"120":206,"28":31744,"24":5,"16":15932009385820160,"45":1749789223355269120},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 15:32:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:32:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:32:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705286656001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:32:17] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 15:32:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:32:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15932009385820160,"km_value":15932009385820.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:32:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1749789223355269120,"description":"Unknown IO ID 45"} 
[2026-08-28 15:32:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705286656001,"power":14298,"unknown_120":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1749789223355269120}} 
[2026-08-28 15:32:17] local.INFO: DEBUG: GPS processor result {"connection_id":166147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708330,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:32:17] local.INFO: GPS data processed {"connection_id":166147,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:32:17] local.INFO: Acknowledgment sent {"connection_id":166147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:32:31] local.INFO: TCP Data received {"connection_id":166148,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:32:31] local.INFO: Processing buffer {"connection_id":166148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:32:31] local.INFO: IMEI packet received {"connection_id":166148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 15:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":166148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:32:36] local.INFO: TCP Data received {"connection_id":166148,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:32:36] local.INFO: Processing buffer {"connection_id":166148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:32:36] local.INFO: IMEI packet received {"connection_id":166148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 15:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":166148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:32:36] local.INFO: TCP Data received {"connection_id":166146,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047ce9cb0012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ce9cb0012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:32:36] local.INFO: Processing buffer {"connection_id":166146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ce9cb0012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:32:36] local.INFO: Packet analysis {"connection_id":166146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ce"} 
[2026-08-28 15:32:36] local.INFO: Extracted packet for processing {"connection_id":166146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ce"} 
[2026-08-28 15:32:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705169152001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:32:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787911118000,"timestamp_ms":1787911118000,"timestamp_seconds":1787911118,"priority":1,"record_length":96,"hex_timestamp":"000001a047ce9cb0"} 
[2026-08-28 15:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 15:32:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:32:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":166146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":166146,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":166146,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:32:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705169152001,"66":25419,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705169152001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:32:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:32:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705169152001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":166146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708331,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:32:36] local.INFO: GPS data processed {"connection_id":166146,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:32:36] local.INFO: Acknowledgment sent {"connection_id":166146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:32:37] local.INFO: TCP Data received {"connection_id":166148,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047d0ac08012d34c14006aa4840000e00e62a..."} 
[2026-08-28 15:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d0ac08012d34c14006aa4840000e00e62a..."} 
[2026-08-28 15:32:37] local.INFO: Processing buffer {"connection_id":166148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d0ac08012d34c14006aa4840000e00e62a..."} 
[2026-08-28 15:32:37] local.INFO: Packet analysis {"connection_id":166148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d0"} 
[2026-08-28 15:32:37] local.INFO: Extracted packet for processing {"connection_id":166148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d0"} 
[2026-08-28 15:32:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705203712001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787911253000,"timestamp_ms":1787911253000,"timestamp_seconds":1787911253,"priority":1,"record_length":96,"hex_timestamp":"000001a047d0ac08"} 
[2026-08-28 15:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 15:32:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15: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-28 15:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":166148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":166148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":166148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705203712001,"66":25397,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705203712001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:32:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:32:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:32: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-28 15:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705203712001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":166148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:32:37] local.INFO: GPS data processed {"connection_id":166148,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:32:37] local.INFO: Acknowledgment sent {"connection_id":166148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:32:41] local.INFO: TCP Data received {"connection_id":166148,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047d0ac08012d34c14006aa4840000e00e62a..."} 
[2026-08-28 15:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d0ac08012d34c14006aa4840000e00e62a..."} 
[2026-08-28 15:32:41] local.INFO: Processing buffer {"connection_id":166148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d0ac08012d34c14006aa4840000e00e62a..."} 
[2026-08-28 15:32:41] local.INFO: Packet analysis {"connection_id":166148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d0"} 
[2026-08-28 15:32:41] local.INFO: Extracted packet for processing {"connection_id":166148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d0"} 
[2026-08-28 15:32:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705203712001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:32:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:32:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787911253000,"timestamp_ms":1787911253000,"timestamp_seconds":1787911253,"priority":1,"record_length":96,"hex_timestamp":"000001a047d0ac08"} 
[2026-08-28 15:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:32: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-28 15:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 15:32:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:32:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":166148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":166148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":166148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:32:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705203712001,"66":25397,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705203712001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:32:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:32:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:32: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-28 15:32:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705203712001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":166148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:32:42] local.INFO: GPS data processed {"connection_id":166148,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:32:42] local.INFO: Acknowledgment sent {"connection_id":166148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:32:49] local.INFO: TCP Data received {"connection_id":166147,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047d11580012d1846c00721e5b8004f00f024..."} 
[2026-08-28 15:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d11580012d1846c00721e5b8004f00f024..."} 
[2026-08-28 15:32:49] local.INFO: Processing buffer {"connection_id":166147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d11580012d1846c00721e5b8004f00f024..."} 
[2026-08-28 15:32:49] local.INFO: Packet analysis {"connection_id":166147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d1"} 
[2026-08-28 15:32:49] local.INFO: Extracted packet for processing {"connection_id":166147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d1"} 
[2026-08-28 15:32:49] local.INFO: GPS Element Parsed {"raw_longitude":756565696,"raw_latitude":119662008,"longitude_deg":75.6565696,"latitude_deg":11.9662008,"altitude":79,"angle":240,"satellites":36,"speed":5,"hex_longitude":"2d1846c0","hex_latitude":"0721e5b8","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:32:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705287424001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:32:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15932013680787456,"note":"Value kept but may cause issues"} 
[2026-08-28 15:32:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1749367010890217472,"note":"Value kept but may cause issues"} 
[2026-08-28 15:32:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:32:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787911280000,"timestamp_ms":1787911280000,"timestamp_seconds":1787911280,"priority":1,"record_length":96,"hex_timestamp":"000001a047d11580"} 
[2026-08-28 15: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-28 15:32:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-28 15:32:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15: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-28 15: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-28 15:32:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:32:49] local.INFO: Teltonika packet parsed successfully {"connection_id":166147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:32:49] local.INFO: Passing IMEI to GPS processor {"connection_id":166147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:32:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":166147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:32:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:32:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:32:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:32:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705287424001,"66":14341,"120":206,"28":31744,"24":5,"16":15932013680787456,"45":1749367010890217472},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 15:32:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:32:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:32:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705287424001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:32:49] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 15:32:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:32:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15932013680787456,"km_value":15932013680787.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:32:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1749367010890217472,"description":"Unknown IO ID 45"} 
[2026-08-28 15:32:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705287424001,"power":14341,"unknown_120":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1749367010890217472}} 
[2026-08-28 15:32:49] local.INFO: DEBUG: GPS processor result {"connection_id":166147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708334,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:32:49] local.INFO: GPS data processed {"connection_id":166147,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:32:49] local.INFO: Acknowledgment sent {"connection_id":166147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:33:02] local.INFO: TCP Data received {"connection_id":163788,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163788,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:33:02] local.INFO: Processing buffer {"connection_id":163788,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:33:02] local.INFO: IMEI packet received {"connection_id":163788,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 15:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":163788,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:33:07] local.INFO: TCP Data received {"connection_id":163788,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163788,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:33:07] local.INFO: Processing buffer {"connection_id":163788,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:33:07] local.INFO: IMEI packet received {"connection_id":163788,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 15:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":163788,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:33:08] local.INFO: TCP Data received {"connection_id":163788,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047ce9cb0012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ce9cb0012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:33:08] local.INFO: Processing buffer {"connection_id":163788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ce9cb0012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:33:08] local.INFO: Packet analysis {"connection_id":163788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ce"} 
[2026-08-28 15:33:08] local.INFO: Extracted packet for processing {"connection_id":163788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ce"} 
[2026-08-28 15:33:08] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705169152001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:33:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787911118000,"timestamp_ms":1787911118000,"timestamp_seconds":1787911118,"priority":1,"record_length":96,"hex_timestamp":"000001a047ce9cb0"} 
[2026-08-28 15:33:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:33:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 15:33:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:33:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:33:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163788,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163788,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:33:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705169152001,"66":25419,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705169152001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:33:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:33:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705169152001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:33:08] 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":708335,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:33:08] local.INFO: GPS data processed {"connection_id":163788,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:33:08] local.INFO: Acknowledgment sent {"connection_id":163788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:33:11] local.INFO: TCP Data received {"connection_id":166149,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166149,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:33:11] local.INFO: Processing buffer {"connection_id":166149,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:33:11] local.INFO: IMEI packet received {"connection_id":166149,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 15:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":166149,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:33:12] local.INFO: TCP Data received {"connection_id":163788,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047ce9cb0012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ce9cb0012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:33:12] local.INFO: Processing buffer {"connection_id":163788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ce9cb0012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:33:12] local.INFO: Packet analysis {"connection_id":163788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ce"} 
[2026-08-28 15:33:12] local.INFO: Extracted packet for processing {"connection_id":163788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ce"} 
[2026-08-28 15:33:12] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:33:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705169152001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:33:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:33:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:33:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:33:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787911118000,"timestamp_ms":1787911118000,"timestamp_seconds":1787911118,"priority":1,"record_length":96,"hex_timestamp":"000001a047ce9cb0"} 
[2026-08-28 15:33:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:33:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 15:33:12] 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-28 15:33:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:33:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:33:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:33:12] local.INFO: Teltonika packet parsed successfully {"connection_id":163788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:33:12] local.INFO: Passing IMEI to GPS processor {"connection_id":163788,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:33:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":163788,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:33:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:33:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:33:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:33:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705169152001,"66":25419,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:33:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:33:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:33:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705169152001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:33:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:33:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:33:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:33:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:33:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705169152001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:33:12] 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":708336,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:33:12] local.INFO: GPS data processed {"connection_id":163788,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:33:12] local.INFO: Acknowledgment sent {"connection_id":163788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:33:13] local.INFO: TCP Data received {"connection_id":166149,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166149,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:33:13] local.INFO: Processing buffer {"connection_id":166149,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:33:13] local.INFO: IMEI packet received {"connection_id":166149,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:33:13] local.INFO: IMEI acknowledgment sent {"connection_id":166149,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:33:13] local.INFO: TCP Data received {"connection_id":166148,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047d0ac08012d34c14006aa4840000e00e62a..."} 
[2026-08-28 15:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d0ac08012d34c14006aa4840000e00e62a..."} 
[2026-08-28 15:33:13] local.INFO: Processing buffer {"connection_id":166148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d0ac08012d34c14006aa4840000e00e62a..."} 
[2026-08-28 15:33:13] local.INFO: Packet analysis {"connection_id":166148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d0"} 
[2026-08-28 15:33:13] local.INFO: Extracted packet for processing {"connection_id":166148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d0"} 
[2026-08-28 15:33:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:33:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705203712001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:33:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:33:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:33:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:33:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787911253000,"timestamp_ms":1787911253000,"timestamp_seconds":1787911253,"priority":1,"record_length":96,"hex_timestamp":"000001a047d0ac08"} 
[2026-08-28 15: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-28 15:33: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-28 15: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 15:33: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-28 15: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-28 15: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-28 15:33:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":166148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":166148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":166148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:33:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:33:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:33:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:33:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705203712001,"66":25397,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:33:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:33:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:33:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705203712001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:33:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:33:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15: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-28 15:33:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:33:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705203712001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:33:13] local.INFO: DEBUG: GPS processor result {"connection_id":166148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:33:13] local.INFO: GPS data processed {"connection_id":166148,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:33:13] local.INFO: Acknowledgment sent {"connection_id":166148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:33:16] local.INFO: TCP Data received {"connection_id":166149,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166149,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:33:16] local.INFO: Processing buffer {"connection_id":166149,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:33:16] local.INFO: IMEI packet received {"connection_id":166149,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:33:16] local.INFO: IMEI acknowledgment sent {"connection_id":166149,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:33:19] local.INFO: TCP Data received {"connection_id":166149,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047d11968012d1846400721e540004f00e424..."} 
[2026-08-28 15:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d11968012d1846400721e540004f00e424..."} 
[2026-08-28 15:33:19] local.INFO: Processing buffer {"connection_id":166149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d11968012d1846400721e540004f00e424..."} 
[2026-08-28 15:33:19] local.INFO: Packet analysis {"connection_id":166149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d1"} 
[2026-08-28 15:33:19] local.INFO: Extracted packet for processing {"connection_id":166149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d1"} 
[2026-08-28 15:33:19] local.INFO: GPS Element Parsed {"raw_longitude":756565568,"raw_latitude":119661888,"longitude_deg":75.6565568,"latitude_deg":11.9661888,"altitude":79,"angle":228,"satellites":36,"speed":8,"hex_longitude":"2d184640","hex_latitude":"0721e540","is_valid_coordinates":true} 
[2026-08-28 15:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:33:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705287680001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:33:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15932022270722048,"note":"Value kept but may cause issues"} 
[2026-08-28 15:33:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1749296642146023424,"note":"Value kept but may cause issues"} 
[2026-08-28 15:33:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:33:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787911281000,"timestamp_ms":1787911281000,"timestamp_seconds":1787911281,"priority":1,"record_length":96,"hex_timestamp":"000001a047d11968"} 
[2026-08-28 15:33:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:33:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-28 15:33:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6984028351,"note":"Value kept but may cause issues"} 
[2026-08-28 15:33:19] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503842725888000,"note":"Value kept but may cause issues"} 
[2026-08-28 15:33:19] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":16385,"corrected_to":0} 
[2026-08-28 15:33:19] local.WARNING: Large IO value detected {"io_id":71,"raw_value":3504007169,"note":"Value kept but may cause issues"} 
[2026-08-28 15:33:19] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3677356118,"note":"Value kept but may cause issues"} 
[2026-08-28 15:33:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-08-28 15:33:19] local.WARNING: Large IO value detected {"io_id":72,"raw_value":24207961047962368,"note":"Value kept but may cause issues"} 
[2026-08-28 15:33:19] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2581463040,"note":"Value kept but may cause issues"} 
[2026-08-28 15:33:19] local.WARNING: Large IO value detected {"io_id":144,"raw_value":84750758922625496,"note":"Value kept but may cause issues"} 
[2026-08-28 15:33:19] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,120,28,24,241,158,16,154,160,17,45,229,80,36,10,66,5,128,81,246,1,240,71,33,4,113,205,19,211,84,72,39,239,55,2,56,7,86,18,206,144],"length":529,"final_offset":659,"validated_count":41,"validation_warnings":[{"io_id":246,"original":16385,"validated":0},{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-08-28 15:33:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692813966406123520,"timestamp_seconds":5692813966406124.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 15:33:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:33:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:33:19] local.INFO: Teltonika packet parsed successfully {"connection_id":166149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:33:19] local.INFO: Passing IMEI to GPS processor {"connection_id":166149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:33:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":166149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:33:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:33:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:33:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:33:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705287680001,"66":14341,"120":206,"28":31744,"24":8,"16":15932022270722048,"45":1749296642146023424},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 15:33:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:33:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:33:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705287680001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:33:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 15:33:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:33:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15932022270722048,"km_value":15932022270722.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:33:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1749296642146023424,"description":"Unknown IO ID 45"} 
[2026-08-28 15:33:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705287680001,"power":14341,"unknown_120":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1749296642146023424}} 
[2026-08-28 15:33:19] local.INFO: DEBUG: GPS processor result {"connection_id":166149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708338,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:33:19] local.INFO: GPS data processed {"connection_id":166149,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:33:19] local.INFO: Acknowledgment sent {"connection_id":166149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:33:31] local.INFO: TCP Data received {"connection_id":163789,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:33:31] local.INFO: Processing buffer {"connection_id":163789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:33:31] local.INFO: IMEI packet received {"connection_id":163789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 15:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":163789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:33:36] local.INFO: TCP Data received {"connection_id":163789,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:33:36] local.INFO: Processing buffer {"connection_id":163789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:33:36] local.INFO: IMEI packet received {"connection_id":163789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 15:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":163789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:33:37] local.INFO: TCP Data received {"connection_id":163789,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047d0ac08012d34c14006aa4840000e00e62a..."} 
[2026-08-28 15:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d0ac08012d34c14006aa4840000e00e62a..."} 
[2026-08-28 15:33:37] local.INFO: Processing buffer {"connection_id":163789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d0ac08012d34c14006aa4840000e00e62a..."} 
[2026-08-28 15:33:37] local.INFO: Packet analysis {"connection_id":163789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d0"} 
[2026-08-28 15:33:37] local.INFO: Extracted packet for processing {"connection_id":163789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d0"} 
[2026-08-28 15:33:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705203712001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787911253000,"timestamp_ms":1787911253000,"timestamp_seconds":1787911253,"priority":1,"record_length":96,"hex_timestamp":"000001a047d0ac08"} 
[2026-08-28 15:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 15:33:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705203712001,"66":25397,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705203712001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:33:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:33:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:33: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-28 15:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705203712001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:33:37] 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":708339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:33:37] local.INFO: GPS data processed {"connection_id":163789,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:33:37] local.INFO: Acknowledgment sent {"connection_id":163789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:33:51] local.INFO: TCP Data received {"connection_id":166149,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047d12138012d1844800721e330004f00d923..."} 
[2026-08-28 15:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d12138012d1844800721e330004f00d923..."} 
[2026-08-28 15:33:51] local.INFO: Processing buffer {"connection_id":166149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d12138012d1844800721e330004f00d923..."} 
[2026-08-28 15:33:51] local.INFO: Packet analysis {"connection_id":166149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d1"} 
[2026-08-28 15:33:51] local.INFO: Extracted packet for processing {"connection_id":166149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d1"} 
[2026-08-28 15:33:51] local.INFO: GPS Element Parsed {"raw_longitude":756565120,"raw_latitude":119661360,"longitude_deg":75.656512,"latitude_deg":11.966136,"altitude":79,"angle":217,"satellites":35,"speed":17,"hex_longitude":"2d184480","hex_latitude":"0721e330","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705287936001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15932056630460416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:33:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1749155904657637376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:33:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787911283000,"timestamp_ms":1787911283000,"timestamp_seconds":1787911283,"priority":1,"record_length":96,"hex_timestamp":"000001a047d12138"} 
[2026-08-28 15: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-28 15:33:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-28 15:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6984028359,"note":"Value kept but may cause issues"} 
[2026-08-28 15:33:51] local.WARNING: Large IO value detected {"io_id":24,"raw_value":24208021177504256,"note":"Value kept but may cause issues"} 
[2026-08-28 15:33:51] local.WARNING: Large IO value detected {"io_id":71,"raw_value":3505799169,"note":"Value kept but may cause issues"} 
[2026-08-28 15:33:51] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3811573843,"note":"Value kept but may cause issues"} 
[2026-08-28 15:33:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-08-28 15:33:51] local.WARNING: Large IO value detected {"io_id":218,"raw_value":3892391192,"note":"Value kept but may cause issues"} 
[2026-08-28 15:33:51] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2582118400,"note":"Value kept but may cause issues"} 
[2026-08-28 15:33:51] local.WARNING: Large IO value detected {"io_id":96,"raw_value":84750741742756312,"note":"Value kept but may cause issues"} 
[2026-08-28 15:33:51] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,120,28,24,241,158,16,154,160,21,45,192,229,79,36,10,66,17,80,5,128,1,240,38,71,33,4,113,205,7,218,81,48,239,55,2,56,86,18,206,96],"length":529,"final_offset":659,"validated_count":41,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-08-28 15:33:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692800772266786816,"timestamp_seconds":5692800772266787.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 15: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-28 15:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":166149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":166149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":166149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:33:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705287936001,"66":14080,"120":206,"28":31744,"24":17,"16":15932056630460416,"45":1749155904657637376},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 15:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705287936001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:33:51] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 15:33:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15932056630460416,"km_value":15932056630460.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:33:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1749155904657637376,"description":"Unknown IO ID 45"} 
[2026-08-28 15:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705287936001,"power":14080,"unknown_120":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1749155904657637376}} 
[2026-08-28 15:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":166149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708340,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:33:51] local.INFO: GPS data processed {"connection_id":166149,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:33:51] local.INFO: Acknowledgment sent {"connection_id":166149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:33:56] local.INFO: TCP Data received {"connection_id":163523,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163523,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:33:56] local.INFO: Processing buffer {"connection_id":163523,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:33:56] local.INFO: IMEI packet received {"connection_id":163523,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 15:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":163523,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:34:02] local.INFO: TCP Data received {"connection_id":163523,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163523,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:34:02] local.INFO: Processing buffer {"connection_id":163523,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:34:02] local.INFO: IMEI packet received {"connection_id":163523,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 15:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":163523,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:34:03] local.INFO: TCP Data received {"connection_id":163523,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047ce9cb0012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ce9cb0012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:34:03] local.INFO: Processing buffer {"connection_id":163523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ce9cb0012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:34:03] local.INFO: Packet analysis {"connection_id":163523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ce"} 
[2026-08-28 15:34:03] local.INFO: Extracted packet for processing {"connection_id":163523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ce"} 
[2026-08-28 15:34:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705169152001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787911118000,"timestamp_ms":1787911118000,"timestamp_seconds":1787911118,"priority":1,"record_length":96,"hex_timestamp":"000001a047ce9cb0"} 
[2026-08-28 15:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:34:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 15:34:03] 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-28 15:34:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163523,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163523,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705169152001,"66":25419,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705169152001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:34:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:34:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705169152001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:34:03] 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":708341,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:34:03] local.INFO: GPS data processed {"connection_id":163523,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:34:03] local.INFO: Acknowledgment sent {"connection_id":163523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:34:09] local.INFO: TCP Data received {"connection_id":163789,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047d0ac08012d34c14006aa4840000e00e62a..."} 
[2026-08-28 15:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d0ac08012d34c14006aa4840000e00e62a..."} 
[2026-08-28 15:34:09] local.INFO: Processing buffer {"connection_id":163789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d0ac08012d34c14006aa4840000e00e62a..."} 
[2026-08-28 15:34:09] local.INFO: Packet analysis {"connection_id":163789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d0"} 
[2026-08-28 15:34:09] local.INFO: Extracted packet for processing {"connection_id":163789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d0"} 
[2026-08-28 15:34:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705203712001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:34:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787911253000,"timestamp_ms":1787911253000,"timestamp_seconds":1787911253,"priority":1,"record_length":96,"hex_timestamp":"000001a047d0ac08"} 
[2026-08-28 15:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:34: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-28 15:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 15:34:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:34:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:34:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705203712001,"66":25397,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705203712001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:34:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:34:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:34: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-28 15:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705203712001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:34:09] 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":708342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:34:09] local.INFO: GPS data processed {"connection_id":163789,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:34:09] local.INFO: Acknowledgment sent {"connection_id":163789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:34:12] local.INFO: TCP Data received {"connection_id":163790,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:34:12] local.INFO: Processing buffer {"connection_id":163790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:34:12] local.INFO: IMEI packet received {"connection_id":163790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 15:34:12] local.INFO: IMEI acknowledgment sent {"connection_id":163790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:34:15] local.INFO: TCP Data received {"connection_id":163790,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:34:15] local.INFO: Processing buffer {"connection_id":163790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:34:15] local.INFO: IMEI packet received {"connection_id":163790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":163790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:34:21] local.INFO: TCP Data received {"connection_id":163790,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:34:21] local.INFO: Processing buffer {"connection_id":163790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:34:21] local.INFO: IMEI packet received {"connection_id":163790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:34:21] local.INFO: IMEI acknowledgment sent {"connection_id":163790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:34:22] local.INFO: TCP Data received {"connection_id":163790,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047d17340012d1836000721cdd0004a00d927..."} 
[2026-08-28 15:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d17340012d1836000721cdd0004a00d927..."} 
[2026-08-28 15:34:22] local.INFO: Processing buffer {"connection_id":163790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d17340012d1836000721cdd0004a00d927..."} 
[2026-08-28 15:34:22] local.INFO: Packet analysis {"connection_id":163790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d1"} 
[2026-08-28 15:34:22] local.INFO: Extracted packet for processing {"connection_id":163790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d1"} 
[2026-08-28 15:34:22] local.INFO: GPS Element Parsed {"raw_longitude":756561408,"raw_latitude":119655888,"longitude_deg":75.6561408,"latitude_deg":11.9655888,"altitude":74,"angle":217,"satellites":39,"speed":0,"hex_longitude":"2d183600","hex_latitude":"0721cdd0","is_valid_coordinates":true} 
[2026-08-28 15:34: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-28 15:34:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705288448001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:34:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15932374458040320,"note":"Value kept but may cause issues"} 
[2026-08-28 15:34:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1748663323448258560,"note":"Value kept but may cause issues"} 
[2026-08-28 15:34:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:34:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787911304000,"timestamp_ms":1787911304000,"timestamp_seconds":1787911304,"priority":1,"record_length":96,"hex_timestamp":"000001a047d17340"} 
[2026-08-28 15:34:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:34: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-28 15:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-28 15:34:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454498816,"note":"Value kept but may cause issues"} 
[2026-08-28 15:34:22] local.WARNING: Large IO value detected {"io_id":71,"raw_value":3506823169,"note":"Value kept but may cause issues"} 
[2026-08-28 15:34:22] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3854565457,"note":"Value kept but may cause issues"} 
[2026-08-28 15:34:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-08-28 15:34:22] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":1073818904,"corrected_to":0} 
[2026-08-28 15:34:22] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2584084480,"note":"Value kept but may cause issues"} 
[2026-08-28 15:34:22] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,120,28,24,241,158,16,154,160,25,45,64,229,79,36,10,66,21,192,17,1,240,218,71,33,4,113,205,6,246,74,48,239,55,2,56,7,86,19],"length":479,"final_offset":609,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0},{"io_id":246,"original":1073818904,"validated":0}]} 
[2026-08-28 15:34:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692788673344503808,"timestamp_seconds":5692788673344504.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 15:34:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:34:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:34:22] local.INFO: Teltonika packet parsed successfully {"connection_id":163790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:34:22] local.INFO: Passing IMEI to GPS processor {"connection_id":163790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:34:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":163790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:34:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:34:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:34:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:34:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705288448001,"66":14070,"120":206,"28":31744,"24":0,"16":15932374458040320,"45":1748663323448258560},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 15:34:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:34:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:34:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705288448001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:34:22] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 15:34:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:34:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15932374458040320,"km_value":15932374458040.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:34:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1748663323448258560,"description":"Unknown IO ID 45"} 
[2026-08-28 15:34:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705288448001,"power":14070,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1748663323448258560}} 
[2026-08-28 15:34:22] 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":708343,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:34:22] local.INFO: GPS data processed {"connection_id":163790,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:34:22] local.INFO: Acknowledgment sent {"connection_id":163790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:34:30] local.INFO: TCP Data received {"connection_id":163791,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:34:30] local.INFO: Processing buffer {"connection_id":163791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:34:30] local.INFO: IMEI packet received {"connection_id":163791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 15:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":163791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:34:34] local.INFO: TCP Data received {"connection_id":163523,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047d33478012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d33478012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:34:34] local.INFO: Processing buffer {"connection_id":163523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d33478012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:34:34] local.INFO: Packet analysis {"connection_id":163523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d3"} 
[2026-08-28 15:34:34] local.INFO: Extracted packet for processing {"connection_id":163523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d3"} 
[2026-08-28 15:34:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705246208001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:34:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:34:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787911419000,"timestamp_ms":1787911419000,"timestamp_seconds":1787911419,"priority":1,"record_length":96,"hex_timestamp":"000001a047d33478"} 
[2026-08-28 15:34:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:34:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-28 15:34:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:34:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:34:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163523,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163523,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705246208001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705246208001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:34:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:34:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:34:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705246208001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:34:34] 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":708344,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:34:34] local.INFO: GPS data processed {"connection_id":163523,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:34:34] local.INFO: Acknowledgment sent {"connection_id":163523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:34:36] local.INFO: TCP Data received {"connection_id":163791,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:34:36] local.INFO: Processing buffer {"connection_id":163791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:34:36] local.INFO: IMEI packet received {"connection_id":163791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 15:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":163791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:34:38] local.INFO: TCP Data received {"connection_id":163791,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047d0ac08012d34c14006aa4840000e00e62a..."} 
[2026-08-28 15:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d0ac08012d34c14006aa4840000e00e62a..."} 
[2026-08-28 15:34:38] local.INFO: Processing buffer {"connection_id":163791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d0ac08012d34c14006aa4840000e00e62a..."} 
[2026-08-28 15:34:38] local.INFO: Packet analysis {"connection_id":163791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d0"} 
[2026-08-28 15:34:38] local.INFO: Extracted packet for processing {"connection_id":163791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d0"} 
[2026-08-28 15:34:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705203712001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:34:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787911253000,"timestamp_ms":1787911253000,"timestamp_seconds":1787911253,"priority":1,"record_length":96,"hex_timestamp":"000001a047d0ac08"} 
[2026-08-28 15:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:34: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-28 15:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 15:34: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-28 15:34:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:34:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705203712001,"66":25397,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705203712001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:34:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:34:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:34: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-28 15:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705203712001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:34:38] 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":708345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:34:38] local.INFO: GPS data processed {"connection_id":163791,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:34:38] local.INFO: Acknowledgment sent {"connection_id":163791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:34:54] local.INFO: TCP Data received {"connection_id":163790,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047d1bd78012d1821000721af60004900d12a..."} 
[2026-08-28 15:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d1bd78012d1821000721af60004900d12a..."} 
[2026-08-28 15:34:54] local.INFO: Processing buffer {"connection_id":163790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d1bd78012d1821000721af60004900d12a..."} 
[2026-08-28 15:34:54] local.INFO: Packet analysis {"connection_id":163790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d1"} 
[2026-08-28 15:34:54] local.INFO: Extracted packet for processing {"connection_id":163790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d1"} 
[2026-08-28 15:34:54] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648096,"longitude_deg":75.6556032,"latitude_deg":11.9648096,"altitude":73,"angle":209,"satellites":42,"speed":28,"hex_longitude":"2d182100","hex_latitude":"0721af60","is_valid_coordinates":true} 
[2026-08-28 15:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:34:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705293824001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:34:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15932834019540992,"note":"Value kept but may cause issues"} 
[2026-08-28 15:34:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744581936284553216,"note":"Value kept but may cause issues"} 
[2026-08-28 15:34:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:34:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787911323000,"timestamp_ms":1787911323000,"timestamp_seconds":1787911323,"priority":1,"record_length":96,"hex_timestamp":"000001a047d1bd78"} 
[2026-08-28 15:34:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:34:54] 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-28 15:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-28 15:34:54] 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-28 15:34:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:34:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:34:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:34:54] local.INFO: Teltonika packet parsed successfully {"connection_id":163790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:34:54] local.INFO: Passing IMEI to GPS processor {"connection_id":163790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:34:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":163790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:34:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:34:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:34:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:34:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705293824001,"66":13493,"122":206,"28":31744,"24":28,"16":15932834019540992,"45":1744581936284553216},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-28 15:34:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:34:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:34:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705293824001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:34:54] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-28 15:34:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:34:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15932834019540992,"km_value":15932834019540.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:34:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744581936284553216,"description":"Unknown IO ID 45"} 
[2026-08-28 15:34:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705293824001,"power":13493,"unknown_122":206,"unknown_28":31744,"ignition":28,"odometer":null,"unknown_45":1744581936284553216}} 
[2026-08-28 15:34:54] 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":708346,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:34:54] local.INFO: GPS data processed {"connection_id":163790,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:34:54] local.INFO: Acknowledgment sent {"connection_id":163790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:34:56] local.INFO: TCP Data received {"connection_id":164782,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164782,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:34:56] local.INFO: Processing buffer {"connection_id":164782,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:34:56] local.INFO: IMEI packet received {"connection_id":164782,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 15:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":164782,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:35:02] local.INFO: TCP Data received {"connection_id":164782,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164782,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:35:02] local.INFO: Processing buffer {"connection_id":164782,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:35:02] local.INFO: IMEI packet received {"connection_id":164782,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 15:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":164782,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:35:04] local.INFO: TCP Data received {"connection_id":164782,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047d33478012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d33478012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:35:04] local.INFO: Processing buffer {"connection_id":164782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d33478012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:35:04] local.INFO: Packet analysis {"connection_id":164782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d3"} 
[2026-08-28 15:35:04] local.INFO: Extracted packet for processing {"connection_id":164782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d3"} 
[2026-08-28 15:35:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705246208001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:35:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787911419000,"timestamp_ms":1787911419000,"timestamp_seconds":1787911419,"priority":1,"record_length":96,"hex_timestamp":"000001a047d33478"} 
[2026-08-28 15:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:35:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-28 15:35:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:35:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":164782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":164782,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":164782,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705246208001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705246208001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:35:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:35:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705246208001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":164782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708347,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:35:04] local.INFO: GPS data processed {"connection_id":164782,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:35:04] local.INFO: Acknowledgment sent {"connection_id":164782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:35:10] local.INFO: TCP Data received {"connection_id":163791,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047d0ac08012d34c14006aa4840000e00e62a..."} 
[2026-08-28 15:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d0ac08012d34c14006aa4840000e00e62a..."} 
[2026-08-28 15:35:10] local.INFO: Processing buffer {"connection_id":163791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d0ac08012d34c14006aa4840000e00e62a..."} 
[2026-08-28 15:35:10] local.INFO: Packet analysis {"connection_id":163791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d0"} 
[2026-08-28 15:35:10] local.INFO: Extracted packet for processing {"connection_id":163791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d0"} 
[2026-08-28 15:35:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705203712001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:35:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787911253000,"timestamp_ms":1787911253000,"timestamp_seconds":1787911253,"priority":1,"record_length":96,"hex_timestamp":"000001a047d0ac08"} 
[2026-08-28 15:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:35:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 15:35:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:35:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:35:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705203712001,"66":25397,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705203712001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:35:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:35:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:35:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705203712001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:35:10] 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":708348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:35:10] local.INFO: GPS data processed {"connection_id":163791,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:35:10] local.INFO: Acknowledgment sent {"connection_id":163791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:35:11] local.INFO: TCP Data received {"connection_id":163524,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163524,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:35:11] local.INFO: Processing buffer {"connection_id":163524,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:35:11] local.INFO: IMEI packet received {"connection_id":163524,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 15:35:11] local.INFO: IMEI acknowledgment sent {"connection_id":163524,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:35:15] local.INFO: TCP Data received {"connection_id":163524,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163524,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:35:15] local.INFO: Processing buffer {"connection_id":163524,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:35:15] local.INFO: IMEI packet received {"connection_id":163524,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":163524,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:35:16] local.INFO: TCP Data received {"connection_id":163524,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047d1ec58012d180bc007219070004700df29..."} 
[2026-08-28 15:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d1ec58012d180bc007219070004700df29..."} 
[2026-08-28 15:35:16] local.INFO: Processing buffer {"connection_id":163524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d1ec58012d180bc007219070004700df29..."} 
[2026-08-28 15:35:16] local.INFO: Packet analysis {"connection_id":163524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d1"} 
[2026-08-28 15:35:16] local.INFO: Extracted packet for processing {"connection_id":163524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d1"} 
[2026-08-28 15:35:16] local.INFO: GPS Element Parsed {"raw_longitude":756550592,"raw_latitude":119640176,"longitude_deg":75.6550592,"latitude_deg":11.9640176,"altitude":71,"angle":223,"satellites":41,"speed":28,"hex_longitude":"2d180bc0","hex_latitude":"07219070","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705298688001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15933293581041664,"note":"Value kept but may cause issues"} 
[2026-08-28 15:35:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771634688,"note":"Value kept but may cause issues"} 
[2026-08-28 15:35:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787911335000,"timestamp_ms":1787911335000,"timestamp_seconds":1787911335,"priority":1,"record_length":96,"hex_timestamp":"000001a047d1ec58"} 
[2026-08-28 15: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-28 15:35:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-28 15:35:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15: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-28 15: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-28 15:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:35:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:35:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705298688001,"66":14070,"122":206,"28":31744,"24":28,"16":15933293581041664,"45":1738670961771634688},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-28 15:35:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:35:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:35:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705298688001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:35:16] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-28 15:35:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:35:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15933293581041664,"km_value":15933293581041.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:35:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771634688,"description":"Unknown IO ID 45"} 
[2026-08-28 15:35:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705298688001,"power":14070,"unknown_122":206,"unknown_28":31744,"ignition":28,"odometer":null,"unknown_45":1738670961771634688}} 
[2026-08-28 15:35:17] local.INFO: DEBUG: GPS processor result {"connection_id":163524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708349,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:35:17] local.INFO: GPS data processed {"connection_id":163524,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:35:17] local.INFO: Acknowledgment sent {"connection_id":163524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:35:30] local.INFO: TCP Data received {"connection_id":163525,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:35:30] local.INFO: Processing buffer {"connection_id":163525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:35:30] local.INFO: IMEI packet received {"connection_id":163525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 15:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":163525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:35:35] local.INFO: TCP Data received {"connection_id":164782,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047d33478012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d33478012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:35:35] local.INFO: Processing buffer {"connection_id":164782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d33478012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:35:35] local.INFO: Packet analysis {"connection_id":164782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d3"} 
[2026-08-28 15:35:35] local.INFO: Extracted packet for processing {"connection_id":164782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d3"} 
[2026-08-28 15:35:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705246208001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:35:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:35:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787911419000,"timestamp_ms":1787911419000,"timestamp_seconds":1787911419,"priority":1,"record_length":96,"hex_timestamp":"000001a047d33478"} 
[2026-08-28 15:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:35:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-28 15:35:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:35:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":164782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":164782,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":164782,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705246208001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705246208001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:35:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:35:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:35:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705246208001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":164782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708350,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:35:35] local.INFO: GPS data processed {"connection_id":164782,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:35:35] local.INFO: Acknowledgment sent {"connection_id":164782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:35:35] local.INFO: TCP Data received {"connection_id":163525,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:35:35] local.INFO: Processing buffer {"connection_id":163525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:35:35] local.INFO: IMEI packet received {"connection_id":163525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 15:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":163525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:35:39] local.INFO: TCP Data received {"connection_id":163525,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047d0ac08012d34c14006aa4840000e00e62a..."} 
[2026-08-28 15:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d0ac08012d34c14006aa4840000e00e62a..."} 
[2026-08-28 15:35:39] local.INFO: Processing buffer {"connection_id":163525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d0ac08012d34c14006aa4840000e00e62a..."} 
[2026-08-28 15:35:39] local.INFO: Packet analysis {"connection_id":163525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d0"} 
[2026-08-28 15:35:39] local.INFO: Extracted packet for processing {"connection_id":163525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d0"} 
[2026-08-28 15:35:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:35:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705203712001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:35:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:35:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:35:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:35:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787911253000,"timestamp_ms":1787911253000,"timestamp_seconds":1787911253,"priority":1,"record_length":96,"hex_timestamp":"000001a047d0ac08"} 
[2026-08-28 15:35:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:35:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 15:35:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:35:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:35:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:35:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:35:39] local.INFO: Teltonika packet parsed successfully {"connection_id":163525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:35:39] local.INFO: Passing IMEI to GPS processor {"connection_id":163525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:35:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":163525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:35:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:35:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:35:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:35:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705203712001,"66":25397,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:35:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:35:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:35:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705203712001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:35:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:35:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:35:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:35:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:35:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705203712001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:35:39] 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":708351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:35:39] local.INFO: GPS data processed {"connection_id":163525,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:35:39] local.INFO: Acknowledgment sent {"connection_id":163525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:35:48] local.INFO: TCP Data received {"connection_id":163524,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047d1ec58012d180bc007219070004700df29..."} 
[2026-08-28 15:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d1ec58012d180bc007219070004700df29..."} 
[2026-08-28 15:35:48] local.INFO: Processing buffer {"connection_id":163524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d1ec58012d180bc007219070004700df29..."} 
[2026-08-28 15:35:48] local.INFO: Packet analysis {"connection_id":163524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d1"} 
[2026-08-28 15:35:48] local.INFO: Extracted packet for processing {"connection_id":163524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d1"} 
[2026-08-28 15:35:48] local.INFO: GPS Element Parsed {"raw_longitude":756550592,"raw_latitude":119640176,"longitude_deg":75.6550592,"latitude_deg":11.9640176,"altitude":71,"angle":223,"satellites":41,"speed":28,"hex_longitude":"2d180bc0","hex_latitude":"07219070","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:35:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705301760001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:35:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15933293581041664,"note":"Value kept but may cause issues"} 
[2026-08-28 15:35:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732689618514505728,"note":"Value kept but may cause issues"} 
[2026-08-28 15:35:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:35:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787911335000,"timestamp_ms":1787911335000,"timestamp_seconds":1787911335,"priority":1,"record_length":96,"hex_timestamp":"000001a047d1ec58"} 
[2026-08-28 15: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-28 15:35:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-28 15:35:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15: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-28 15: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-28 15:35:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:35:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:35:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:35:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:35:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:35:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:35:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:35:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705301760001,"66":14070,"122":206,"28":31744,"24":28,"16":15933293581041664,"45":1732689618514505728},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-28 15:35:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:35:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:35:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705301760001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:35:48] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-28 15:35:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:35:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15933293581041664,"km_value":15933293581041.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:35:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732689618514505728,"description":"Unknown IO ID 45"} 
[2026-08-28 15:35:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705301760001,"power":14070,"unknown_122":206,"unknown_28":31744,"ignition":28,"odometer":null,"unknown_45":1732689618514505728}} 
[2026-08-28 15:35:48] local.INFO: DEBUG: GPS processor result {"connection_id":163524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708352,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:35:48] local.INFO: GPS data processed {"connection_id":163524,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:35:48] local.INFO: Acknowledgment sent {"connection_id":163524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:35:56] local.INFO: TCP Data received {"connection_id":166150,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166150,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:35:56] local.INFO: Processing buffer {"connection_id":166150,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:35:56] local.INFO: IMEI packet received {"connection_id":166150,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 15:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":166150,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:36:02] local.INFO: TCP Data received {"connection_id":166150,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166150,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:36:02] local.INFO: Processing buffer {"connection_id":166150,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:36:02] local.INFO: IMEI packet received {"connection_id":166150,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 15:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":166150,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:36:03] local.INFO: TCP Data received {"connection_id":166150,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047d33478012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d33478012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:36:03] local.INFO: Processing buffer {"connection_id":166150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d33478012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:36:03] local.INFO: Packet analysis {"connection_id":166150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d3"} 
[2026-08-28 15:36:03] local.INFO: Extracted packet for processing {"connection_id":166150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d3"} 
[2026-08-28 15:36:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705246208001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:36:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787911419000,"timestamp_ms":1787911419000,"timestamp_seconds":1787911419,"priority":1,"record_length":96,"hex_timestamp":"000001a047d33478"} 
[2026-08-28 15:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:36:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-28 15:36:03] 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-28 15:36:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":166150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":166150,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":166150,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:36:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705246208001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705246208001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:36:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:36:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705246208001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":166150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708353,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:36:03] local.INFO: GPS data processed {"connection_id":166150,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:36:03] local.INFO: Acknowledgment sent {"connection_id":166150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:36:10] local.INFO: TCP Data received {"connection_id":163525,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047d0ac08012d34c14006aa4840000e00e62a..."} 
[2026-08-28 15:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d0ac08012d34c14006aa4840000e00e62a..."} 
[2026-08-28 15:36:10] local.INFO: Processing buffer {"connection_id":163525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d0ac08012d34c14006aa4840000e00e62a..."} 
[2026-08-28 15:36:10] local.INFO: Packet analysis {"connection_id":163525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d0"} 
[2026-08-28 15:36:10] local.INFO: Extracted packet for processing {"connection_id":163525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d0"} 
[2026-08-28 15:36:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705203712001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:36:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787911253000,"timestamp_ms":1787911253000,"timestamp_seconds":1787911253,"priority":1,"record_length":96,"hex_timestamp":"000001a047d0ac08"} 
[2026-08-28 15:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:36:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 15:36:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:36:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:36:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705203712001,"66":25397,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705203712001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:36:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:36:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705203712001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:36:10] 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":708354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:36:10] local.INFO: GPS data processed {"connection_id":163525,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:36:10] local.INFO: Acknowledgment sent {"connection_id":163525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:36:11] local.INFO: TCP Data received {"connection_id":163526,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163526,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:36:11] local.INFO: Processing buffer {"connection_id":163526,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:36:11] local.INFO: IMEI packet received {"connection_id":163526,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 15:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":163526,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:36:16] local.INFO: TCP Data received {"connection_id":163526,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163526,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:36:16] local.INFO: Processing buffer {"connection_id":163526,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:36:16] local.INFO: IMEI packet received {"connection_id":163526,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:36:16] local.INFO: IMEI acknowledgment sent {"connection_id":163526,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:36:17] local.INFO: TCP Data received {"connection_id":163526,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047d21f20012d17f10007217790004700dc28..."} 
[2026-08-28 15:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d21f20012d17f10007217790004700dc28..."} 
[2026-08-28 15:36:17] local.INFO: Processing buffer {"connection_id":163526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d21f20012d17f10007217790004700dc28..."} 
[2026-08-28 15:36:17] local.INFO: Packet analysis {"connection_id":163526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d2"} 
[2026-08-28 15:36:17] local.INFO: Extracted packet for processing {"connection_id":163526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d2"} 
[2026-08-28 15:36:17] local.INFO: GPS Element Parsed {"raw_longitude":756543744,"raw_latitude":119633808,"longitude_deg":75.6543744,"latitude_deg":11.9633808,"altitude":71,"angle":220,"satellites":40,"speed":37,"hex_longitude":"2d17f100","hex_latitude":"07217790","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:36:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705301760001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:36:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15933744552607744,"note":"Value kept but may cause issues"} 
[2026-08-28 15:36:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732689618514505728,"note":"Value kept but may cause issues"} 
[2026-08-28 15:36:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:36:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787911348000,"timestamp_ms":1787911348000,"timestamp_seconds":1787911348,"priority":1,"record_length":96,"hex_timestamp":"000001a047d21f20"} 
[2026-08-28 15: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-28 15:36:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-28 15:36: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-28 15: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-28 15: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-28 15:36:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:36:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:36:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:36:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:36:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:36:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:36:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:36:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705301760001,"66":14102,"122":206,"28":31744,"24":37,"16":15933744552607744,"45":1732689618514505728},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-28 15:36:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:36:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:36:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705301760001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:36:17] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-28 15:36:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:36:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15933744552607744,"km_value":15933744552607.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:36:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732689618514505728,"description":"Unknown IO ID 45"} 
[2026-08-28 15:36:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705301760001,"power":14102,"unknown_122":206,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":1732689618514505728}} 
[2026-08-28 15:36:17] 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":708355,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:36:17] local.INFO: GPS data processed {"connection_id":163526,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:36:17] local.INFO: Acknowledgment sent {"connection_id":163526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:36:32] local.INFO: TCP Data received {"connection_id":164783,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:36:32] local.INFO: Processing buffer {"connection_id":164783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:36:32] local.INFO: IMEI packet received {"connection_id":164783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 15:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":164783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:36:35] local.INFO: TCP Data received {"connection_id":166150,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047d33478012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d33478012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:36:35] local.INFO: Processing buffer {"connection_id":166150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d33478012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:36:35] local.INFO: Packet analysis {"connection_id":166150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d3"} 
[2026-08-28 15:36:35] local.INFO: Extracted packet for processing {"connection_id":166150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d3"} 
[2026-08-28 15:36:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705246208001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:36:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:36:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787911419000,"timestamp_ms":1787911419000,"timestamp_seconds":1787911419,"priority":1,"record_length":96,"hex_timestamp":"000001a047d33478"} 
[2026-08-28 15:36:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:36:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-28 15:36:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:36:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:36:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":166150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":166150,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":166150,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:36:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705246208001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705246208001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:36:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:36:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:36:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705246208001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:36:35] local.INFO: DEBUG: GPS processor result {"connection_id":166150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708356,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:36:35] local.INFO: GPS data processed {"connection_id":166150,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:36:35] local.INFO: Acknowledgment sent {"connection_id":166150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:36:36] local.INFO: TCP Data received {"connection_id":164783,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:36:36] local.INFO: Processing buffer {"connection_id":164783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:36:36] local.INFO: IMEI packet received {"connection_id":164783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 15:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":164783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:36:40] local.INFO: TCP Data received {"connection_id":164783,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:36:41] local.INFO: Processing buffer {"connection_id":164783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:36:41] local.INFO: IMEI packet received {"connection_id":164783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 15:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":164783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:36:43] local.INFO: TCP Data received {"connection_id":164783,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047d543d0012d34c14006aa4840000b00e62a..."} 
[2026-08-28 15:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d543d0012d34c14006aa4840000b00e62a..."} 
[2026-08-28 15:36:43] local.INFO: Processing buffer {"connection_id":164783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d543d0012d34c14006aa4840000b00e62a..."} 
[2026-08-28 15:36:43] local.INFO: Packet analysis {"connection_id":164783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d5"} 
[2026-08-28 15:36:43] local.INFO: Extracted packet for processing {"connection_id":164783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d5"} 
[2026-08-28 15:36:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:36:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705280768001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:36:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:36:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:36:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:36:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787911554000,"timestamp_ms":1787911554000,"timestamp_seconds":1787911554,"priority":1,"record_length":96,"hex_timestamp":"000001a047d543d0"} 
[2026-08-28 15: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-28 15: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-28 15: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-28 15: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-28 15: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-28 15: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-28 15:36:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:36:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:36:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:36:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:36:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:36:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:36:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:36:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705280768001,"66":25038,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:36:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:36:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:36:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705280768001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:36:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:36:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15: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-28 15:36:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:36:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705280768001,"power":25038,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:36:43] 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":708357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:36:43] local.INFO: GPS data processed {"connection_id":164783,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:36:43] local.INFO: Acknowledgment sent {"connection_id":164783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:36:46] local.INFO: TCP Data received {"connection_id":164783,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047d543d0012d34c14006aa4840000b00e62a..."} 
[2026-08-28 15:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d543d0012d34c14006aa4840000b00e62a..."} 
[2026-08-28 15:36:46] local.INFO: Processing buffer {"connection_id":164783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d543d0012d34c14006aa4840000b00e62a..."} 
[2026-08-28 15:36:46] local.INFO: Packet analysis {"connection_id":164783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d5"} 
[2026-08-28 15:36:46] local.INFO: Extracted packet for processing {"connection_id":164783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d5"} 
[2026-08-28 15:36:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:36:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705280768001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:36:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:36:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:36:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:36:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787911554000,"timestamp_ms":1787911554000,"timestamp_seconds":1787911554,"priority":1,"record_length":96,"hex_timestamp":"000001a047d543d0"} 
[2026-08-28 15:36:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:36: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-28 15:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 15:36: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-28 15:36:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:36:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:36:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:36:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:36:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:36:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:36:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:36:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:36:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:36:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705280768001,"66":25038,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:36:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:36:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:36:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705280768001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:36:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:36:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:36: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-28 15:36:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:36:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705280768001,"power":25038,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:36:46] 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":708358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:36:46] local.INFO: GPS data processed {"connection_id":164783,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:36:46] local.INFO: Acknowledgment sent {"connection_id":164783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:36:49] local.INFO: TCP Data received {"connection_id":163526,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047d4bb18012d17c90007213358003d00d32a..."} 
[2026-08-28 15:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d4bb18012d17c90007213358003d00d32a..."} 
[2026-08-28 15:36:49] local.INFO: Processing buffer {"connection_id":163526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d4bb18012d17c90007213358003d00d32a..."} 
[2026-08-28 15:36:49] local.INFO: Packet analysis {"connection_id":163526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d4"} 
[2026-08-28 15:36:49] local.INFO: Extracted packet for processing {"connection_id":163526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d4"} 
[2026-08-28 15:36:49] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616344,"longitude_deg":75.6533504,"latitude_deg":11.9616344,"altitude":61,"angle":211,"satellites":42,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213358","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:36:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705343488001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:36:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15934732395085824,"note":"Value kept but may cause issues"} 
[2026-08-28 15:36:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812968448,"note":"Value kept but may cause issues"} 
[2026-08-28 15:36:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:36:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787911519000,"timestamp_ms":1787911519000,"timestamp_seconds":1787911519,"priority":1,"record_length":96,"hex_timestamp":"000001a047d4bb18"} 
[2026-08-28 15: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-28 15:36:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15:36:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-28 15:36:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15: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-28 15: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-28 15:36:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:36:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:36:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:36:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:36:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:36:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:36:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:36:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705343488001,"66":12950,"122":206,"28":31744,"24":0,"16":15934732395085824,"45":1713901163812968448},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-28 15:36:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:36:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:36:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705343488001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:36:49] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-28 15:36:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:36:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15934732395085824,"km_value":15934732395085.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:36:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812968448,"description":"Unknown IO ID 45"} 
[2026-08-28 15:36:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705343488001,"power":12950,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1713901163812968448}} 
[2026-08-28 15:36:49] 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":708359,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:36:49] local.INFO: GPS data processed {"connection_id":163526,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:36:49] local.INFO: Acknowledgment sent {"connection_id":163526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:37:02] local.INFO: TCP Data received {"connection_id":166151,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166151,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:37:02] local.INFO: Processing buffer {"connection_id":166151,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:37:02] local.INFO: IMEI packet received {"connection_id":166151,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 15:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":166151,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:37:07] local.INFO: TCP Data received {"connection_id":166151,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166151,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:37:07] local.INFO: Processing buffer {"connection_id":166151,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:37:07] local.INFO: IMEI packet received {"connection_id":166151,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 15:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":166151,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:37:08] local.INFO: TCP Data received {"connection_id":166151,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047d33478012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d33478012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:37:08] local.INFO: Processing buffer {"connection_id":166151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d33478012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:37:08] local.INFO: Packet analysis {"connection_id":166151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d3"} 
[2026-08-28 15:37:08] local.INFO: Extracted packet for processing {"connection_id":166151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d3"} 
[2026-08-28 15:37:08] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705246208001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:37:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787911419000,"timestamp_ms":1787911419000,"timestamp_seconds":1787911419,"priority":1,"record_length":96,"hex_timestamp":"000001a047d33478"} 
[2026-08-28 15:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:37:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-28 15:37: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-28 15:37:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":166151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":166151,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":166151,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:37:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705246208001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705246208001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:37:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:37:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705246208001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":166151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708360,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:37:08] local.INFO: GPS data processed {"connection_id":166151,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:37:08] local.INFO: Acknowledgment sent {"connection_id":166151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:37:10] local.INFO: TCP Data received {"connection_id":164784,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:37:10] local.INFO: Processing buffer {"connection_id":164784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:37:10] local.INFO: IMEI packet received {"connection_id":164784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 15:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":164784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:37:12] local.INFO: TCP Data received {"connection_id":166151,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047d33478012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d33478012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:37:12] local.INFO: Processing buffer {"connection_id":166151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d33478012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:37:12] local.INFO: Packet analysis {"connection_id":166151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d3"} 
[2026-08-28 15:37:12] local.INFO: Extracted packet for processing {"connection_id":166151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d3"} 
[2026-08-28 15:37:12] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:37:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705246208001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:37:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:37:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:37:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:37:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787911419000,"timestamp_ms":1787911419000,"timestamp_seconds":1787911419,"priority":1,"record_length":96,"hex_timestamp":"000001a047d33478"} 
[2026-08-28 15:37:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:37:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-28 15:37:12] 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-28 15:37:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:37:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:37:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:37:12] local.INFO: Teltonika packet parsed successfully {"connection_id":166151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:37:12] local.INFO: Passing IMEI to GPS processor {"connection_id":166151,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:37:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":166151,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:37:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:37:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:37:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:37:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705246208001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:37:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:37:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:37:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705246208001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:37:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:37:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:37:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:37:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:37:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705246208001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:37:13] local.INFO: DEBUG: GPS processor result {"connection_id":166151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708361,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:37:13] local.INFO: GPS data processed {"connection_id":166151,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:37:13] local.INFO: Acknowledgment sent {"connection_id":166151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:37:16] local.INFO: TCP Data received {"connection_id":164784,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:37:16] local.INFO: Processing buffer {"connection_id":164784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:37:16] local.INFO: IMEI packet received {"connection_id":164784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:37:16] local.INFO: IMEI acknowledgment sent {"connection_id":164784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:37:17] local.INFO: TCP Data received {"connection_id":164784,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047d50d20012d17c90007213358003d00d32a..."} 
[2026-08-28 15:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d50d20012d17c90007213358003d00d32a..."} 
[2026-08-28 15:37:17] local.INFO: Processing buffer {"connection_id":164784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d50d20012d17c90007213358003d00d32a..."} 
[2026-08-28 15:37:17] local.INFO: Packet analysis {"connection_id":164784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d5"} 
[2026-08-28 15:37:17] local.INFO: Extracted packet for processing {"connection_id":164784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d5"} 
[2026-08-28 15:37:17] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616344,"longitude_deg":75.6533504,"latitude_deg":11.9616344,"altitude":61,"angle":211,"satellites":42,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213358","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:37:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705348864001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:37:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15934732395085824,"note":"Value kept but may cause issues"} 
[2026-08-28 15:37:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812968448,"note":"Value kept but may cause issues"} 
[2026-08-28 15:37:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:37:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787911540000,"timestamp_ms":1787911540000,"timestamp_seconds":1787911540,"priority":1,"record_length":96,"hex_timestamp":"000001a047d50d20"} 
[2026-08-28 15: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-28 15:37:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-28 15:37:17] 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-28 15: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-28 15: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-28 15:37:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:37:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:37:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:37:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:37:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:37:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:37:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:37:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705348864001,"66":12928,"122":206,"28":31744,"24":0,"16":15934732395085824,"45":1713901163812968448},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-28 15:37:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:37:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:37:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705348864001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:37:17] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-28 15:37:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:37:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15934732395085824,"km_value":15934732395085.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:37:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812968448,"description":"Unknown IO ID 45"} 
[2026-08-28 15:37:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705348864001,"power":12928,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1713901163812968448}} 
[2026-08-28 15:37:17] 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":708362,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:37:17] local.INFO: GPS data processed {"connection_id":164784,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:37:17] local.INFO: Acknowledgment sent {"connection_id":164784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:37:30] local.INFO: TCP Data received {"connection_id":163792,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:37:30] local.INFO: Processing buffer {"connection_id":163792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:37:30] local.INFO: IMEI packet received {"connection_id":163792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 15:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":163792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:37:35] local.INFO: TCP Data received {"connection_id":163792,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:37:35] local.INFO: Processing buffer {"connection_id":163792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:37:35] local.INFO: IMEI packet received {"connection_id":163792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 15:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":163792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:37:38] local.INFO: TCP Data received {"connection_id":163792,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047d543d0012d34c14006aa4840000b00e62a..."} 
[2026-08-28 15:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d543d0012d34c14006aa4840000b00e62a..."} 
[2026-08-28 15:37:38] local.INFO: Processing buffer {"connection_id":163792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d543d0012d34c14006aa4840000b00e62a..."} 
[2026-08-28 15:37:38] local.INFO: Packet analysis {"connection_id":163792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d5"} 
[2026-08-28 15:37:38] local.INFO: Extracted packet for processing {"connection_id":163792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d5"} 
[2026-08-28 15:37:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705280768001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:37:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787911554000,"timestamp_ms":1787911554000,"timestamp_seconds":1787911554,"priority":1,"record_length":96,"hex_timestamp":"000001a047d543d0"} 
[2026-08-28 15:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:37: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-28 15:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 15:37:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:37:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:37:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705280768001,"66":25038,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705280768001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:37:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:37:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:37: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-28 15:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705280768001,"power":25038,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:37:38] 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":708363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:37:38] local.INFO: GPS data processed {"connection_id":163792,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:37:38] local.INFO: Acknowledgment sent {"connection_id":163792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:37:48] local.INFO: TCP Data received {"connection_id":164784,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047d55f28012d17c90007213358003d00d329..."} 
[2026-08-28 15:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d55f28012d17c90007213358003d00d329..."} 
[2026-08-28 15:37:48] local.INFO: Processing buffer {"connection_id":164784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d55f28012d17c90007213358003d00d329..."} 
[2026-08-28 15:37:48] local.INFO: Packet analysis {"connection_id":164784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d5"} 
[2026-08-28 15:37:48] local.INFO: Extracted packet for processing {"connection_id":164784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d5"} 
[2026-08-28 15:37:48] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616344,"longitude_deg":75.6533504,"latitude_deg":11.9616344,"altitude":61,"angle":211,"satellites":41,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213358","is_valid_coordinates":true} 
[2026-08-28 15:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:37:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705354240001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:37:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15934732395085824,"note":"Value kept but may cause issues"} 
[2026-08-28 15:37:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812968448,"note":"Value kept but may cause issues"} 
[2026-08-28 15:37:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:37:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787911561000,"timestamp_ms":1787911561000,"timestamp_seconds":1787911561,"priority":1,"record_length":96,"hex_timestamp":"000001a047d55f28"} 
[2026-08-28 15:37:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:37:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-08-28 15:37:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:37:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:37:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:37:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:37:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:37:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:37:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:37:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:37:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:37:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:37:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705354240001,"66":12950,"122":206,"28":31744,"24":0,"16":15934732395085824,"45":1713901163812968448},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-28 15:37:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:37:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:37:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705354240001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:37:48] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-28 15:37:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:37:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15934732395085824,"km_value":15934732395085.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:37:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812968448,"description":"Unknown IO ID 45"} 
[2026-08-28 15:37:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705354240001,"power":12950,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1713901163812968448}} 
[2026-08-28 15:37:48] 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":708364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:37:48] local.INFO: GPS data processed {"connection_id":164784,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:37:48] local.INFO: Acknowledgment sent {"connection_id":164784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:37:56] local.INFO: TCP Data received {"connection_id":163527,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163527,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:37:56] local.INFO: Processing buffer {"connection_id":163527,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:37:56] local.INFO: IMEI packet received {"connection_id":163527,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 15:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":163527,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:38:02] local.INFO: TCP Data received {"connection_id":163527,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163527,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:38:02] local.INFO: Processing buffer {"connection_id":163527,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:38:02] local.INFO: IMEI packet received {"connection_id":163527,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 15:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":163527,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:38:03] local.INFO: TCP Data received {"connection_id":163527,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047d33478012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d33478012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:38:03] local.INFO: Processing buffer {"connection_id":163527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d33478012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:38:03] local.INFO: Packet analysis {"connection_id":163527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d3"} 
[2026-08-28 15:38:03] local.INFO: Extracted packet for processing {"connection_id":163527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d3"} 
[2026-08-28 15:38:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705246208001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:38:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787911419000,"timestamp_ms":1787911419000,"timestamp_seconds":1787911419,"priority":1,"record_length":96,"hex_timestamp":"000001a047d33478"} 
[2026-08-28 15:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:38:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-28 15:38:03] 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-28 15:38:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163527,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163527,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:38:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705246208001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705246208001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:38:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:38:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705246208001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:38:04] 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":708365,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:38:04] local.INFO: GPS data processed {"connection_id":163527,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:38:04] local.INFO: Acknowledgment sent {"connection_id":163527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:38:10] local.INFO: TCP Data received {"connection_id":163792,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047d543d0012d34c14006aa4840000b00e62a..."} 
[2026-08-28 15:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d543d0012d34c14006aa4840000b00e62a..."} 
[2026-08-28 15:38:10] local.INFO: Processing buffer {"connection_id":163792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d543d0012d34c14006aa4840000b00e62a..."} 
[2026-08-28 15:38:10] local.INFO: Packet analysis {"connection_id":163792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d5"} 
[2026-08-28 15:38:10] local.INFO: Extracted packet for processing {"connection_id":163792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d5"} 
[2026-08-28 15:38:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705280768001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:38:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:38:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787911554000,"timestamp_ms":1787911554000,"timestamp_seconds":1787911554,"priority":1,"record_length":96,"hex_timestamp":"000001a047d543d0"} 
[2026-08-28 15:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:38:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 15:38:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:38:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:38:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705280768001,"66":25038,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705280768001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:38:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:38:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:38:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705280768001,"power":25038,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:38:10] 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":708366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:38:10] local.INFO: GPS data processed {"connection_id":163792,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:38:10] local.INFO: Acknowledgment sent {"connection_id":163792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:38:10] local.INFO: TCP Data received {"connection_id":163793,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:38:10] local.INFO: Processing buffer {"connection_id":163793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:38:10] local.INFO: IMEI packet received {"connection_id":163793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 15:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":163793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:38:16] local.INFO: TCP Data received {"connection_id":163793,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:38:16] local.INFO: Processing buffer {"connection_id":163793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:38:16] local.INFO: IMEI packet received {"connection_id":163793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:38:16] local.INFO: IMEI acknowledgment sent {"connection_id":163793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:38:17] local.INFO: TCP Data received {"connection_id":163793,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047d5b130012d17c90007213358003d00d32b..."} 
[2026-08-28 15:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d5b130012d17c90007213358003d00d32b..."} 
[2026-08-28 15:38:17] local.INFO: Processing buffer {"connection_id":163793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d5b130012d17c90007213358003d00d32b..."} 
[2026-08-28 15:38:17] local.INFO: Packet analysis {"connection_id":163793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d5"} 
[2026-08-28 15:38:17] local.INFO: Extracted packet for processing {"connection_id":163793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d5"} 
[2026-08-28 15:38:17] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616344,"longitude_deg":75.6533504,"latitude_deg":11.9616344,"altitude":61,"angle":211,"satellites":43,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213358","is_valid_coordinates":true} 
[2026-08-28 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-28 15:38:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705359616001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:38:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15934732395085824,"note":"Value kept but may cause issues"} 
[2026-08-28 15:38:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812968448,"note":"Value kept but may cause issues"} 
[2026-08-28 15:38:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:38:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787911582000,"timestamp_ms":1787911582000,"timestamp_seconds":1787911582,"priority":1,"record_length":96,"hex_timestamp":"000001a047d5b130"} 
[2026-08-28 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-28 15:38:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-28 15:38:17] 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-28 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-28 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-28 15:38:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:38:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:38:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:38:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:38:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:38:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:38:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:38:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705359616001,"66":12939,"122":206,"28":31744,"24":0,"16":15934732395085824,"45":1713901163812968448},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-28 15:38:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:38:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:38:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705359616001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:38:17] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-28 15:38:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:38:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15934732395085824,"km_value":15934732395085.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:38:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812968448,"description":"Unknown IO ID 45"} 
[2026-08-28 15:38:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705359616001,"power":12939,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1713901163812968448}} 
[2026-08-28 15:38:17] 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":708367,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:38:17] local.INFO: GPS data processed {"connection_id":163793,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:38:17] local.INFO: Acknowledgment sent {"connection_id":163793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:38:30] local.INFO: TCP Data received {"connection_id":166152,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:38:30] local.INFO: Processing buffer {"connection_id":166152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:38:30] local.INFO: IMEI packet received {"connection_id":166152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 15:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":166152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:38:35] local.INFO: TCP Data received {"connection_id":163527,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047d33478012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d33478012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:38:35] local.INFO: Processing buffer {"connection_id":163527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d33478012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:38:35] local.INFO: Packet analysis {"connection_id":163527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d3"} 
[2026-08-28 15:38:35] local.INFO: Extracted packet for processing {"connection_id":163527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d3"} 
[2026-08-28 15:38:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705246208001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:38:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:38:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787911419000,"timestamp_ms":1787911419000,"timestamp_seconds":1787911419,"priority":1,"record_length":96,"hex_timestamp":"000001a047d33478"} 
[2026-08-28 15:38:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:38:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-28 15:38:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:38:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:38:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163527,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163527,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:38:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:38:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:38:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:38:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705246208001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:38:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:38:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:38:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705246208001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:38:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:38:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:38:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:38:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:38:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705246208001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:38:35] 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":708368,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:38:35] local.INFO: GPS data processed {"connection_id":163527,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:38:35] local.INFO: Acknowledgment sent {"connection_id":163527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:38:36] local.INFO: TCP Data received {"connection_id":166152,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:38:36] local.INFO: Processing buffer {"connection_id":166152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:38:36] local.INFO: IMEI packet received {"connection_id":166152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 15:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":166152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:38:38] local.INFO: TCP Data received {"connection_id":166152,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047d543d0012d34c14006aa4840000b00e62a..."} 
[2026-08-28 15:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d543d0012d34c14006aa4840000b00e62a..."} 
[2026-08-28 15:38:38] local.INFO: Processing buffer {"connection_id":166152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d543d0012d34c14006aa4840000b00e62a..."} 
[2026-08-28 15:38:38] local.INFO: Packet analysis {"connection_id":166152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d5"} 
[2026-08-28 15:38:38] local.INFO: Extracted packet for processing {"connection_id":166152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d5"} 
[2026-08-28 15:38:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705280768001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:38:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787911554000,"timestamp_ms":1787911554000,"timestamp_seconds":1787911554,"priority":1,"record_length":96,"hex_timestamp":"000001a047d543d0"} 
[2026-08-28 15:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:38: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-28 15:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 15:38:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:38:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":166152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":166152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":166152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:38:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705280768001,"66":25038,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705280768001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:38:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:38:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:38: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-28 15:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705280768001,"power":25038,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":166152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:38:38] local.INFO: GPS data processed {"connection_id":166152,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:38:38] local.INFO: Acknowledgment sent {"connection_id":166152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:38:49] local.INFO: TCP Data received {"connection_id":163793,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047d60338012d17c90007213358003d00d32a..."} 
[2026-08-28 15:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d60338012d17c90007213358003d00d32a..."} 
[2026-08-28 15:38:49] local.INFO: Processing buffer {"connection_id":163793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d60338012d17c90007213358003d00d32a..."} 
[2026-08-28 15:38:49] local.INFO: Packet analysis {"connection_id":163793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d6"} 
[2026-08-28 15:38:49] local.INFO: Extracted packet for processing {"connection_id":163793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d6"} 
[2026-08-28 15:38:49] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616344,"longitude_deg":75.6533504,"latitude_deg":11.9616344,"altitude":61,"angle":211,"satellites":42,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213358","is_valid_coordinates":true} 
[2026-08-28 15:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:38:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705364992001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:38:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15934732395085824,"note":"Value kept but may cause issues"} 
[2026-08-28 15:38:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812968448,"note":"Value kept but may cause issues"} 
[2026-08-28 15:38:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:38:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787911603000,"timestamp_ms":1787911603000,"timestamp_seconds":1787911603,"priority":1,"record_length":96,"hex_timestamp":"000001a047d60338"} 
[2026-08-28 15:38:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:38:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-28 15:38:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:38:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:38:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:38:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:38:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:38:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:38:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:38:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:38:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:38:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:38:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705364992001,"66":12885,"122":206,"28":31744,"24":0,"16":15934732395085824,"45":1713901163812968448},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-28 15:38:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:38:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:38:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705364992001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:38:49] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-28 15:38:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:38:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15934732395085824,"km_value":15934732395085.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:38:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812968448,"description":"Unknown IO ID 45"} 
[2026-08-28 15:38:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705364992001,"power":12885,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1713901163812968448}} 
[2026-08-28 15:38:49] 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":708370,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:38:49] local.INFO: GPS data processed {"connection_id":163793,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:38:49] local.INFO: Acknowledgment sent {"connection_id":163793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:38:56] local.INFO: TCP Data received {"connection_id":164785,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164785,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:38:56] local.INFO: Processing buffer {"connection_id":164785,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:38:56] local.INFO: IMEI packet received {"connection_id":164785,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 15:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":164785,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:39:02] local.INFO: TCP Data received {"connection_id":164785,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164785,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:39:02] local.INFO: Processing buffer {"connection_id":164785,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:39:02] local.INFO: IMEI packet received {"connection_id":164785,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 15:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":164785,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:39:03] local.INFO: TCP Data received {"connection_id":164785,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047d33478012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d33478012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:39:03] local.INFO: Processing buffer {"connection_id":164785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d33478012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:39:03] local.INFO: Packet analysis {"connection_id":164785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d3"} 
[2026-08-28 15:39:03] local.INFO: Extracted packet for processing {"connection_id":164785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d3"} 
[2026-08-28 15:39:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705246208001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787911419000,"timestamp_ms":1787911419000,"timestamp_seconds":1787911419,"priority":1,"record_length":96,"hex_timestamp":"000001a047d33478"} 
[2026-08-28 15:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:39:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-28 15:39:03] 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-28 15:39:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":164785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":164785,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":164785,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:39:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705246208001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705246208001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:39:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:39:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705246208001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:39:03] 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":708371,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:39:03] local.INFO: GPS data processed {"connection_id":164785,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:39:03] local.INFO: Acknowledgment sent {"connection_id":164785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:39:10] local.INFO: TCP Data received {"connection_id":166152,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047d543d0012d34c14006aa4840000b00e62a..."} 
[2026-08-28 15:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d543d0012d34c14006aa4840000b00e62a..."} 
[2026-08-28 15:39:10] local.INFO: Processing buffer {"connection_id":166152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d543d0012d34c14006aa4840000b00e62a..."} 
[2026-08-28 15:39:10] local.INFO: Packet analysis {"connection_id":166152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d5"} 
[2026-08-28 15:39:10] local.INFO: Extracted packet for processing {"connection_id":166152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d5"} 
[2026-08-28 15:39:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705280768001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:39:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:39:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787911554000,"timestamp_ms":1787911554000,"timestamp_seconds":1787911554,"priority":1,"record_length":96,"hex_timestamp":"000001a047d543d0"} 
[2026-08-28 15:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:39:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 15:39:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:39:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":166152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":166152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":166152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:39:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705280768001,"66":25038,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705280768001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:39:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:39:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:39:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705280768001,"power":25038,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":166152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:39:10] local.INFO: GPS data processed {"connection_id":166152,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:39:10] local.INFO: Acknowledgment sent {"connection_id":166152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:39:16] local.INFO: TCP Data received {"connection_id":164786,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164786,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:39:16] local.INFO: Processing buffer {"connection_id":164786,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:39:16] local.INFO: IMEI packet received {"connection_id":164786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 15:39:16] local.INFO: IMEI acknowledgment sent {"connection_id":164786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:39:21] local.INFO: TCP Data received {"connection_id":164786,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164786,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:39:21] local.INFO: Processing buffer {"connection_id":164786,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:39:21] local.INFO: IMEI packet received {"connection_id":164786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":164786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:39:22] local.INFO: TCP Data received {"connection_id":164786,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047d65540012d17c90007213358003d00d328..."} 
[2026-08-28 15:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d65540012d17c90007213358003d00d328..."} 
[2026-08-28 15:39:22] local.INFO: Processing buffer {"connection_id":164786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d65540012d17c90007213358003d00d328..."} 
[2026-08-28 15:39:22] local.INFO: Packet analysis {"connection_id":164786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d6"} 
[2026-08-28 15:39:22] local.INFO: Extracted packet for processing {"connection_id":164786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d6"} 
[2026-08-28 15:39:22] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616344,"longitude_deg":75.6533504,"latitude_deg":11.9616344,"altitude":61,"angle":211,"satellites":40,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213358","is_valid_coordinates":true} 
[2026-08-28 15:39: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-28 15:39:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705370368001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:39:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15934732395085824,"note":"Value kept but may cause issues"} 
[2026-08-28 15:39:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812968448,"note":"Value kept but may cause issues"} 
[2026-08-28 15:39:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:39:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787911624000,"timestamp_ms":1787911624000,"timestamp_seconds":1787911624,"priority":1,"record_length":96,"hex_timestamp":"000001a047d65540"} 
[2026-08-28 15:39:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:39: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-28 15:39: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":85,"data_length":795,"current_offset":136} 
[2026-08-28 15:39:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:39: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-28 15:39:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:39:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:39:22] local.INFO: Teltonika packet parsed successfully {"connection_id":164786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:39:22] local.INFO: Passing IMEI to GPS processor {"connection_id":164786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:39:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":164786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:39:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:39:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:39:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:39:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705370368001,"66":12874,"122":206,"28":31744,"24":0,"16":15934732395085824,"45":1713901163812968448},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-28 15:39:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:39:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:39:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705370368001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:39:22] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-28 15:39:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:39:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15934732395085824,"km_value":15934732395085.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:39:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812968448,"description":"Unknown IO ID 45"} 
[2026-08-28 15:39:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705370368001,"power":12874,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1713901163812968448}} 
[2026-08-28 15:39:22] local.INFO: DEBUG: GPS processor result {"connection_id":164786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:39:22] local.INFO: GPS data processed {"connection_id":164786,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:39:22] local.INFO: Acknowledgment sent {"connection_id":164786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:39:27] local.INFO: TCP Data received {"connection_id":164786,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047d6a748012d17c90007213358003d00d328..."} 
[2026-08-28 15:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d6a748012d17c90007213358003d00d328..."} 
[2026-08-28 15:39:27] local.INFO: Processing buffer {"connection_id":164786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d6a748012d17c90007213358003d00d328..."} 
[2026-08-28 15:39:27] local.INFO: Packet analysis {"connection_id":164786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d6"} 
[2026-08-28 15:39:27] local.INFO: Extracted packet for processing {"connection_id":164786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d6"} 
[2026-08-28 15:39:27] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616344,"longitude_deg":75.6533504,"latitude_deg":11.9616344,"altitude":61,"angle":211,"satellites":40,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213358","is_valid_coordinates":true} 
[2026-08-28 15:39:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:39:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705375744001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:39:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15934732395085824,"note":"Value kept but may cause issues"} 
[2026-08-28 15:39:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812968448,"note":"Value kept but may cause issues"} 
[2026-08-28 15:39:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:39:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787911645000,"timestamp_ms":1787911645000,"timestamp_seconds":1787911645,"priority":1,"record_length":96,"hex_timestamp":"000001a047d6a748"} 
[2026-08-28 15:39:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:39:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15:39:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-08-28 15:39:27] 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-28 15:39:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:39:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:39:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:39:27] local.INFO: Teltonika packet parsed successfully {"connection_id":164786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:39:27] local.INFO: Passing IMEI to GPS processor {"connection_id":164786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:39:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":164786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:39:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:39:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:39:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:39:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705375744001,"66":12885,"122":206,"28":31744,"24":0,"16":15934732395085824,"45":1713901163812968448},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-28 15:39:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:39:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:39:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705375744001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:39:27] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-28 15:39:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:39:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15934732395085824,"km_value":15934732395085.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:39:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812968448,"description":"Unknown IO ID 45"} 
[2026-08-28 15:39:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705375744001,"power":12885,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1713901163812968448}} 
[2026-08-28 15:39:27] local.INFO: DEBUG: GPS processor result {"connection_id":164786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708374,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:39:27] local.INFO: GPS data processed {"connection_id":164786,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:39:27] local.INFO: Acknowledgment sent {"connection_id":164786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:39:30] local.INFO: TCP Data received {"connection_id":164787,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:39:30] local.INFO: Processing buffer {"connection_id":164787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:39:30] local.INFO: IMEI packet received {"connection_id":164787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 15:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":164787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:39:35] local.INFO: TCP Data received {"connection_id":164785,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047d7cc40012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d7cc40012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:39:35] local.INFO: Processing buffer {"connection_id":164785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d7cc40012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:39:35] local.INFO: Packet analysis {"connection_id":164785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d7"} 
[2026-08-28 15:39:35] local.INFO: Extracted packet for processing {"connection_id":164785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d7"} 
[2026-08-28 15:39:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705323264001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:39:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:39:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787911720000,"timestamp_ms":1787911720000,"timestamp_seconds":1787911720,"priority":1,"record_length":96,"hex_timestamp":"000001a047d7cc40"} 
[2026-08-28 15:39:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:39:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 15:39:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:39:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:39:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":164785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":164785,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":164785,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:39:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705323264001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705323264001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:39:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:39:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:39:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:39:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705323264001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:39:35] 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":708375,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:39:35] local.INFO: GPS data processed {"connection_id":164785,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:39:35] local.INFO: Acknowledgment sent {"connection_id":164785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:39:35] local.INFO: TCP Data received {"connection_id":164787,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:39:35] local.INFO: Processing buffer {"connection_id":164787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:39:35] local.INFO: IMEI packet received {"connection_id":164787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 15:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":164787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:39:38] local.INFO: TCP Data received {"connection_id":164787,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047d543d0012d34c14006aa4840000b00e62a..."} 
[2026-08-28 15:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d543d0012d34c14006aa4840000b00e62a..."} 
[2026-08-28 15:39:38] local.INFO: Processing buffer {"connection_id":164787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d543d0012d34c14006aa4840000b00e62a..."} 
[2026-08-28 15:39:38] local.INFO: Packet analysis {"connection_id":164787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d5"} 
[2026-08-28 15:39:38] local.INFO: Extracted packet for processing {"connection_id":164787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d5"} 
[2026-08-28 15:39:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705280768001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:39:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787911554000,"timestamp_ms":1787911554000,"timestamp_seconds":1787911554,"priority":1,"record_length":96,"hex_timestamp":"000001a047d543d0"} 
[2026-08-28 15:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:39: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-28 15:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 15:39:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:39:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:39:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705280768001,"66":25038,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705280768001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:39:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:39:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:39: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-28 15:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705280768001,"power":25038,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:39:38] 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":708376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:39:38] local.INFO: GPS data processed {"connection_id":164787,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:39:38] local.INFO: Acknowledgment sent {"connection_id":164787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:39:57] local.INFO: TCP Data received {"connection_id":163794,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163794,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:39:57] local.INFO: Processing buffer {"connection_id":163794,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:39:57] local.INFO: IMEI packet received {"connection_id":163794,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 15:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":163794,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:40:02] local.INFO: TCP Data received {"connection_id":163794,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163794,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:40:02] local.INFO: Processing buffer {"connection_id":163794,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:40:02] local.INFO: IMEI packet received {"connection_id":163794,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 15:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":163794,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:40:04] local.INFO: TCP Data received {"connection_id":163794,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047d7cc40012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d7cc40012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:40:04] local.INFO: Processing buffer {"connection_id":163794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d7cc40012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:40:04] local.INFO: Packet analysis {"connection_id":163794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d7"} 
[2026-08-28 15:40:04] local.INFO: Extracted packet for processing {"connection_id":163794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d7"} 
[2026-08-28 15:40:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705323264001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:40:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787911720000,"timestamp_ms":1787911720000,"timestamp_seconds":1787911720,"priority":1,"record_length":96,"hex_timestamp":"000001a047d7cc40"} 
[2026-08-28 15: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-28 15:40:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15: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":118,"data_length":795,"current_offset":136} 
[2026-08-28 15:40:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15: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-28 15: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-28 15:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":163794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":163794,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":163794,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:40:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705323264001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705323264001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:40:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:40:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705323264001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:40:04] 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":708377,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:40:04] local.INFO: GPS data processed {"connection_id":163794,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:40:04] local.INFO: Acknowledgment sent {"connection_id":163794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:40:09] local.INFO: TCP Data received {"connection_id":163795,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163795,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:40:09] local.INFO: Processing buffer {"connection_id":163795,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:40:09] local.INFO: IMEI packet received {"connection_id":163795,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 15:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":163795,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:40:10] local.INFO: TCP Data received {"connection_id":164787,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047d543d0012d34c14006aa4840000b00e62a..."} 
[2026-08-28 15:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d543d0012d34c14006aa4840000b00e62a..."} 
[2026-08-28 15:40:10] local.INFO: Processing buffer {"connection_id":164787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d543d0012d34c14006aa4840000b00e62a..."} 
[2026-08-28 15:40:10] local.INFO: Packet analysis {"connection_id":164787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d5"} 
[2026-08-28 15:40:10] local.INFO: Extracted packet for processing {"connection_id":164787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d5"} 
[2026-08-28 15:40:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705280768001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:40:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787911554000,"timestamp_ms":1787911554000,"timestamp_seconds":1787911554,"priority":1,"record_length":96,"hex_timestamp":"000001a047d543d0"} 
[2026-08-28 15:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:40:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 15:40:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:40:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":164787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":164787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":164787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705280768001,"66":25038,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705280768001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:40:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:40:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705280768001,"power":25038,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:40:10] 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":708378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:40:10] local.INFO: GPS data processed {"connection_id":164787,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:40:10] local.INFO: Acknowledgment sent {"connection_id":164787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:40:10] local.INFO: TCP Data received {"connection_id":163795,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163795,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:40:10] local.INFO: Processing buffer {"connection_id":163795,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:40:10] local.INFO: IMEI packet received {"connection_id":163795,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":163795,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:40:16] local.INFO: TCP Data received {"connection_id":163795,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163795,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:40:16] local.INFO: Processing buffer {"connection_id":163795,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:40:16] local.INFO: IMEI packet received {"connection_id":163795,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:40:16] local.INFO: IMEI acknowledgment sent {"connection_id":163795,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:40:17] local.INFO: TCP Data received {"connection_id":163795,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047d6f950012d17c90007213358003d00d328..."} 
[2026-08-28 15:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d6f950012d17c90007213358003d00d328..."} 
[2026-08-28 15:40:17] local.INFO: Processing buffer {"connection_id":163795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d6f950012d17c90007213358003d00d328..."} 
[2026-08-28 15:40:17] local.INFO: Packet analysis {"connection_id":163795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d6"} 
[2026-08-28 15:40:17] local.INFO: Extracted packet for processing {"connection_id":163795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d6"} 
[2026-08-28 15:40:17] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616344,"longitude_deg":75.6533504,"latitude_deg":11.9616344,"altitude":61,"angle":211,"satellites":40,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213358","is_valid_coordinates":true} 
[2026-08-28 15:40:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:40:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705381120001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:40:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15934732395085824,"note":"Value kept but may cause issues"} 
[2026-08-28 15:40:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812968448,"note":"Value kept but may cause issues"} 
[2026-08-28 15:40:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:40:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787911666000,"timestamp_ms":1787911666000,"timestamp_seconds":1787911666,"priority":1,"record_length":96,"hex_timestamp":"000001a047d6f950"} 
[2026-08-28 15:40:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:40:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15:40:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-28 15:40:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:40:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:40:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:40:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:40:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:40:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:40:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:40:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:40:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:40:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:40:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705381120001,"66":12863,"122":206,"28":31744,"24":0,"16":15934732395085824,"45":1713901163812968448},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-28 15:40:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:40:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:40:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705381120001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:40:17] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-28 15:40:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:40:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15934732395085824,"km_value":15934732395085.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:40:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812968448,"description":"Unknown IO ID 45"} 
[2026-08-28 15:40:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705381120001,"power":12863,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1713901163812968448}} 
[2026-08-28 15:40:17] 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":708379,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:40:17] local.INFO: GPS data processed {"connection_id":163795,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:40:17] local.INFO: Acknowledgment sent {"connection_id":163795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:40:36] local.INFO: TCP Data received {"connection_id":166153,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:40:36] local.INFO: Processing buffer {"connection_id":166153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:40:36] local.INFO: IMEI packet received {"connection_id":166153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 15:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":166153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:40:36] local.INFO: TCP Data received {"connection_id":163794,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047d7cc40012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d7cc40012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:40:36] local.INFO: Processing buffer {"connection_id":163794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d7cc40012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:40:36] local.INFO: Packet analysis {"connection_id":163794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d7"} 
[2026-08-28 15:40:36] local.INFO: Extracted packet for processing {"connection_id":163794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d7"} 
[2026-08-28 15:40:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:40:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705323264001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:40:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:40:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:40:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:40:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787911720000,"timestamp_ms":1787911720000,"timestamp_seconds":1787911720,"priority":1,"record_length":96,"hex_timestamp":"000001a047d7cc40"} 
[2026-08-28 15:40:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:40:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 15:40:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:40:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:40:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:40:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:40:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:40:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163794,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:40:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163794,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:40:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:40:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:40:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:40:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705323264001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:40:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:40:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:40:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705323264001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:40:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:40:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:40:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:40:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:40:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705323264001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:40:36] 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":708380,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:40:36] local.INFO: GPS data processed {"connection_id":163794,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:40:36] local.INFO: Acknowledgment sent {"connection_id":163794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:40:41] local.INFO: TCP Data received {"connection_id":166153,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:40:41] local.INFO: Processing buffer {"connection_id":166153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:40:41] local.INFO: IMEI packet received {"connection_id":166153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 15:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":166153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:40:43] local.INFO: TCP Data received {"connection_id":166153,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047d543d0012d34c14006aa4840000b00e62a..."} 
[2026-08-28 15:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d543d0012d34c14006aa4840000b00e62a..."} 
[2026-08-28 15:40:43] local.INFO: Processing buffer {"connection_id":166153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d543d0012d34c14006aa4840000b00e62a..."} 
[2026-08-28 15:40:43] local.INFO: Packet analysis {"connection_id":166153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d5"} 
[2026-08-28 15:40:43] local.INFO: Extracted packet for processing {"connection_id":166153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d5"} 
[2026-08-28 15:40:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:40:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:40:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705280768001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:40:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:40:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:40:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:40:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787911554000,"timestamp_ms":1787911554000,"timestamp_seconds":1787911554,"priority":1,"record_length":96,"hex_timestamp":"000001a047d543d0"} 
[2026-08-28 15:40:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15: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-28 15:40:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 15:40: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-28 15:40:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:40:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:40:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:40:43] local.INFO: Teltonika packet parsed successfully {"connection_id":166153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:40:43] local.INFO: Passing IMEI to GPS processor {"connection_id":166153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:40:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":166153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:40:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:40:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:40:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:40:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705280768001,"66":25038,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:40:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:40:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:40:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705280768001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:40:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:40:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15: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-28 15:40:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:40:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705280768001,"power":25038,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:40:43] local.INFO: DEBUG: GPS processor result {"connection_id":166153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:40:43] local.INFO: GPS data processed {"connection_id":166153,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:40:43] local.INFO: Acknowledgment sent {"connection_id":166153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:40:46] local.INFO: TCP Data received {"connection_id":166153,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047d543d0012d34c14006aa4840000b00e62a..."} 
[2026-08-28 15:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d543d0012d34c14006aa4840000b00e62a..."} 
[2026-08-28 15:40:46] local.INFO: Processing buffer {"connection_id":166153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d543d0012d34c14006aa4840000b00e62a..."} 
[2026-08-28 15:40:46] local.INFO: Packet analysis {"connection_id":166153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d5"} 
[2026-08-28 15:40:46] local.INFO: Extracted packet for processing {"connection_id":166153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d5"} 
[2026-08-28 15:40:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:40:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705280768001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:40:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:40:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:40:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:40:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787911554000,"timestamp_ms":1787911554000,"timestamp_seconds":1787911554,"priority":1,"record_length":96,"hex_timestamp":"000001a047d543d0"} 
[2026-08-28 15: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-28 15:40: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-28 15: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 15:40: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-28 15: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-28 15: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-28 15:40:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:40:46] local.INFO: Teltonika packet parsed successfully {"connection_id":166153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:40:46] local.INFO: Passing IMEI to GPS processor {"connection_id":166153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:40:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":166153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:40:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:40:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:40:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:40:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705280768001,"66":25038,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:40:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:40:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:40:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705280768001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:40:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:40:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15: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-28 15:40:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:40:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705280768001,"power":25038,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:40:46] local.INFO: DEBUG: GPS processor result {"connection_id":166153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:40:46] local.INFO: GPS data processed {"connection_id":166153,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:40:46] local.INFO: Acknowledgment sent {"connection_id":166153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:40:46] local.INFO: TCP Data received {"connection_id":164788,"ip":"117.224.27.186","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-28 15:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164788,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-28 15:40:46] local.INFO: Processing buffer {"connection_id":164788,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-28 15:40:46] local.INFO: IMEI packet received {"connection_id":164788,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-28 15:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":164788,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:40:49] local.INFO: TCP Data received {"connection_id":163795,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047d74b58012d17c90007213358003d00d32c..."} 
[2026-08-28 15:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d74b58012d17c90007213358003d00d32c..."} 
[2026-08-28 15:40:49] local.INFO: Processing buffer {"connection_id":163795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d74b58012d17c90007213358003d00d32c..."} 
[2026-08-28 15:40:49] local.INFO: Packet analysis {"connection_id":163795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d7"} 
[2026-08-28 15:40:49] local.INFO: Extracted packet for processing {"connection_id":163795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d7"} 
[2026-08-28 15:40:49] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616344,"longitude_deg":75.6533504,"latitude_deg":11.9616344,"altitude":61,"angle":211,"satellites":44,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213358","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:40:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705386496001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:40:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15934732395085824,"note":"Value kept but may cause issues"} 
[2026-08-28 15:40:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812968448,"note":"Value kept but may cause issues"} 
[2026-08-28 15:40:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:40:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787911687000,"timestamp_ms":1787911687000,"timestamp_seconds":1787911687,"priority":1,"record_length":96,"hex_timestamp":"000001a047d74b58"} 
[2026-08-28 15: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-28 15:40:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-28 15:40:49] 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-28 15: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-28 15: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-28 15:40:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:40:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:40:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:40:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:40:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:40:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:40:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:40:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705386496001,"66":12841,"122":206,"28":31744,"24":0,"16":15934732395085824,"45":1713901163812968448},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-28 15:40:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:40:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:40:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705386496001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:40:49] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-28 15:40:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:40:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15934732395085824,"km_value":15934732395085.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:40:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812968448,"description":"Unknown IO ID 45"} 
[2026-08-28 15:40:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705386496001,"power":12841,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1713901163812968448}} 
[2026-08-28 15:40:49] 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":708383,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:40:49] local.INFO: GPS data processed {"connection_id":163795,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:40:49] local.INFO: Acknowledgment sent {"connection_id":163795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:40:51] local.INFO: TCP Data received {"connection_id":164788,"ip":"117.224.27.186","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-28 15:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164788,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-28 15:40:51] local.INFO: Processing buffer {"connection_id":164788,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-28 15:40:51] local.INFO: IMEI packet received {"connection_id":164788,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-28 15:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":164788,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:40:52] local.INFO: TCP Data received {"connection_id":164788,"ip":"117.224.27.186","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-28 15:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164788,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-28 15:40:52] local.INFO: Processing buffer {"connection_id":164788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-28 15:40:52] local.INFO: Packet analysis {"connection_id":164788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-28 15:40:52] local.INFO: Extracted packet for processing {"connection_id":164788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-28 15:40:52] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:40:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29489773735313408,"note":"Value kept but may cause issues"} 
[2026-08-28 15:40:52] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,21,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-28 15:40:52] 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-28 15:40:52] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:40:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-28 15:40:52] local.INFO: Teltonika packet parsed successfully {"connection_id":164788,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:40:52] local.INFO: Passing IMEI to GPS processor {"connection_id":164788,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-28 15:40:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":164788,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-28 15:40:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.27.186","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-28 15:40:52] local.WARNING: DEBUG: No valid data to process  
[2026-08-28 15:40:52] local.INFO: DEBUG: GPS processor result {"connection_id":164788,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-28 15:40:52] local.ERROR: GPS data processing failed {"connection_id":164788,"error":"No valid data to process"} 
[2026-08-28 15:40:52] local.INFO: Acknowledgment sent {"connection_id":164788,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-28 15:40:56] local.INFO: TCP Data received {"connection_id":163528,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163528,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:40:56] local.INFO: Processing buffer {"connection_id":163528,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:40:56] local.INFO: IMEI packet received {"connection_id":163528,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 15:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":163528,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:41:02] local.INFO: TCP Data received {"connection_id":163528,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163528,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:41:02] local.INFO: Processing buffer {"connection_id":163528,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:41:02] local.INFO: IMEI packet received {"connection_id":163528,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 15:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":163528,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:41:04] local.INFO: TCP Data received {"connection_id":163528,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047d7cc40012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d7cc40012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:41:04] local.INFO: Processing buffer {"connection_id":163528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d7cc40012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:41:04] local.INFO: Packet analysis {"connection_id":163528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d7"} 
[2026-08-28 15:41:04] local.INFO: Extracted packet for processing {"connection_id":163528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d7"} 
[2026-08-28 15:41:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705323264001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:41:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787911720000,"timestamp_ms":1787911720000,"timestamp_seconds":1787911720,"priority":1,"record_length":96,"hex_timestamp":"000001a047d7cc40"} 
[2026-08-28 15:41:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:41:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 15:41:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:41:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:41:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":163528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":163528,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":163528,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:41:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705323264001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705323264001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:41:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:41:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705323264001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:41:04] 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":708384,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:41:04] local.INFO: GPS data processed {"connection_id":163528,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:41:04] local.INFO: Acknowledgment sent {"connection_id":163528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:41:11] local.INFO: TCP Data received {"connection_id":166154,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166154,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:41:11] local.INFO: Processing buffer {"connection_id":166154,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:41:11] local.INFO: IMEI packet received {"connection_id":166154,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 15:41:11] local.INFO: IMEI acknowledgment sent {"connection_id":166154,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:41:12] local.INFO: TCP Data received {"connection_id":166154,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166154,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:41:12] local.INFO: Processing buffer {"connection_id":166154,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:41:12] local.INFO: IMEI packet received {"connection_id":166154,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:41:12] local.INFO: IMEI acknowledgment sent {"connection_id":166154,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:41:15] local.INFO: TCP Data received {"connection_id":166154,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166154,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:41:15] local.INFO: Processing buffer {"connection_id":166154,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:41:15] local.INFO: IMEI packet received {"connection_id":166154,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":166154,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:41:17] local.INFO: TCP Data received {"connection_id":166154,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047d79d60012d17c90007213358003d00d329..."} 
[2026-08-28 15:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d79d60012d17c90007213358003d00d329..."} 
[2026-08-28 15:41:17] local.INFO: Processing buffer {"connection_id":166154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d79d60012d17c90007213358003d00d329..."} 
[2026-08-28 15:41:17] local.INFO: Packet analysis {"connection_id":166154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d7"} 
[2026-08-28 15:41:17] local.INFO: Extracted packet for processing {"connection_id":166154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d7"} 
[2026-08-28 15:41:17] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616344,"longitude_deg":75.6533504,"latitude_deg":11.9616344,"altitude":61,"angle":211,"satellites":41,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213358","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:41:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705391872001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:41:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15934732395085824,"note":"Value kept but may cause issues"} 
[2026-08-28 15:41:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812968448,"note":"Value kept but may cause issues"} 
[2026-08-28 15:41:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:41:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787911708000,"timestamp_ms":1787911708000,"timestamp_seconds":1787911708,"priority":1,"record_length":96,"hex_timestamp":"000001a047d79d60"} 
[2026-08-28 15: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-28 15:41:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-28 15:41:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15: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-28 15: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-28 15:41:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:41:17] local.INFO: Teltonika packet parsed successfully {"connection_id":166154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:41:17] local.INFO: Passing IMEI to GPS processor {"connection_id":166154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:41:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":166154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:41:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:41:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:41:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:41:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705391872001,"66":12841,"122":206,"28":31744,"24":0,"16":15934732395085824,"45":1713901163812968448},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-28 15:41:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:41:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:41:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705391872001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:41:17] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-28 15:41:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:41:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15934732395085824,"km_value":15934732395085.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:41:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812968448,"description":"Unknown IO ID 45"} 
[2026-08-28 15:41:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705391872001,"power":12841,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1713901163812968448}} 
[2026-08-28 15:41:17] local.INFO: DEBUG: GPS processor result {"connection_id":166154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708385,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:41:17] local.INFO: GPS data processed {"connection_id":166154,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:41:17] local.INFO: Acknowledgment sent {"connection_id":166154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:41:24] local.INFO: TCP Data received {"connection_id":164788,"ip":"117.224.27.186","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-08-28 15:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164788,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-08-28 15:41:24] local.INFO: Processing buffer {"connection_id":164788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-08-28 15:41:24] local.INFO: Packet analysis {"connection_id":164788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-28 15:41:24] local.INFO: Extracted packet for processing {"connection_id":164788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-28 15:41:24] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-28 15:41:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:41:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29489773735313408,"note":"Value kept but may cause issues"} 
[2026-08-28 15:41:24] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,21,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-28 15:41:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":68000,"timestamp_seconds":68,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 15:41:24] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:41:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-28 15:41:24] local.INFO: Teltonika packet parsed successfully {"connection_id":164788,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:41:24] local.INFO: Passing IMEI to GPS processor {"connection_id":164788,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-28 15:41:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":164788,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-28 15:41:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.27.186","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-28 15:41:24] local.WARNING: DEBUG: No valid data to process  
[2026-08-28 15:41:24] local.INFO: DEBUG: GPS processor result {"connection_id":164788,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-28 15:41:24] local.ERROR: GPS data processing failed {"connection_id":164788,"error":"No valid data to process"} 
[2026-08-28 15:41:24] local.INFO: Acknowledgment sent {"connection_id":164788,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-28 15:41:31] local.INFO: TCP Data received {"connection_id":163796,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:41:31] local.INFO: Processing buffer {"connection_id":163796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:41:31] local.INFO: IMEI packet received {"connection_id":163796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 15:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":163796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:41:33] local.INFO: TCP Data received {"connection_id":163796,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:41:33] local.INFO: Processing buffer {"connection_id":163796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:41:33] local.INFO: IMEI packet received {"connection_id":163796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 15:41:33] local.INFO: IMEI acknowledgment sent {"connection_id":163796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:41:35] local.INFO: TCP Data received {"connection_id":163796,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047d9db98012d34c14006aa4840000d00e62a..."} 
[2026-08-28 15:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d9db98012d34c14006aa4840000d00e62a..."} 
[2026-08-28 15:41:35] local.INFO: Processing buffer {"connection_id":163796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d9db98012d34c14006aa4840000d00e62a..."} 
[2026-08-28 15:41:35] local.INFO: Packet analysis {"connection_id":163796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d9"} 
[2026-08-28 15:41:35] local.INFO: Extracted packet for processing {"connection_id":163796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d9"} 
[2026-08-28 15:41:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705357824001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:41:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:41:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:41:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:41:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787911855000,"timestamp_ms":1787911855000,"timestamp_seconds":1787911855,"priority":1,"record_length":96,"hex_timestamp":"000001a047d9db98"} 
[2026-08-28 15:41:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:41: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-28 15:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-08-28 15:41:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:41:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:41:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:41:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:41:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:41:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:41:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:41:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:41:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:41:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:41:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705357824001,"66":25430,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:41:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:41:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:41:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705357824001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:41:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:41:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:41: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-28 15:41:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:41:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705357824001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:41:35] local.INFO: DEBUG: GPS processor result {"connection_id":163796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:41:35] local.INFO: GPS data processed {"connection_id":163796,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:41:35] local.INFO: Acknowledgment sent {"connection_id":163796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:41:36] local.INFO: TCP Data received {"connection_id":163528,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047d7cc40012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d7cc40012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:41:36] local.INFO: Processing buffer {"connection_id":163528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d7cc40012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:41:36] local.INFO: Packet analysis {"connection_id":163528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d7"} 
[2026-08-28 15:41:36] local.INFO: Extracted packet for processing {"connection_id":163528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d7"} 
[2026-08-28 15:41:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705323264001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787911720000,"timestamp_ms":1787911720000,"timestamp_seconds":1787911720,"priority":1,"record_length":96,"hex_timestamp":"000001a047d7cc40"} 
[2026-08-28 15:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:41:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 15:41:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:41:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163528,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163528,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705323264001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705323264001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:41:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:41:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705323264001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:41:36] 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":708387,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:41:36] local.INFO: GPS data processed {"connection_id":163528,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:41:36] local.INFO: Acknowledgment sent {"connection_id":163528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:41:49] local.INFO: TCP Data received {"connection_id":166154,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047d7ef68012d17c90007213358003d00d32a..."} 
[2026-08-28 15:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d7ef68012d17c90007213358003d00d32a..."} 
[2026-08-28 15:41:49] local.INFO: Processing buffer {"connection_id":166154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d7ef68012d17c90007213358003d00d32a..."} 
[2026-08-28 15:41:49] local.INFO: Packet analysis {"connection_id":166154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d7"} 
[2026-08-28 15:41:49] local.INFO: Extracted packet for processing {"connection_id":166154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d7"} 
[2026-08-28 15:41:49] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616344,"longitude_deg":75.6533504,"latitude_deg":11.9616344,"altitude":61,"angle":211,"satellites":42,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213358","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:41:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705397248001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:41:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15934732395085824,"note":"Value kept but may cause issues"} 
[2026-08-28 15:41:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812968448,"note":"Value kept but may cause issues"} 
[2026-08-28 15:41:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:41:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787911729000,"timestamp_ms":1787911729000,"timestamp_seconds":1787911729,"priority":1,"record_length":96,"hex_timestamp":"000001a047d7ef68"} 
[2026-08-28 15: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-28 15:41:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-28 15:41:49] 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-28 15: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-28 15: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-28 15:41:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:41:49] local.INFO: Teltonika packet parsed successfully {"connection_id":166154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:41:49] local.INFO: Passing IMEI to GPS processor {"connection_id":166154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:41:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":166154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:41:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:41:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:41:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:41:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705397248001,"66":12798,"122":206,"28":31744,"24":0,"16":15934732395085824,"45":1713901163812968448},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-28 15:41:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:41:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:41:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705397248001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:41:49] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-28 15:41:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:41:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15934732395085824,"km_value":15934732395085.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:41:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812968448,"description":"Unknown IO ID 45"} 
[2026-08-28 15:41:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705397248001,"power":12798,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1713901163812968448}} 
[2026-08-28 15:41:49] local.INFO: DEBUG: GPS processor result {"connection_id":166154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708388,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:41:49] local.INFO: GPS data processed {"connection_id":166154,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:41:49] local.INFO: Acknowledgment sent {"connection_id":166154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:41:55] local.INFO: TCP Data received {"connection_id":164788,"ip":"117.224.27.186","data_length":795,"data_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-08-28 15:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-08-28 15:41:55] local.INFO: Processing buffer {"connection_id":164788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-08-28 15:41:55] local.INFO: Packet analysis {"connection_id":164788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-28 15:41:55] local.INFO: Extracted packet for processing {"connection_id":164788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-28 15:41:55] 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-28 15:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29489773735313408,"note":"Value kept but may cause issues"} 
[2026-08-28 15:41:55] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,21,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-28 15:41:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":89000,"timestamp_seconds":89,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 15:41:55] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-28 15:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":164788,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":164788,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-28 15:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":164788,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-28 15:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.27.186","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-28 15:41:55] local.WARNING: DEBUG: No valid data to process  
[2026-08-28 15:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":164788,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-28 15:41:55] local.ERROR: GPS data processing failed {"connection_id":164788,"error":"No valid data to process"} 
[2026-08-28 15:41:55] local.INFO: Acknowledgment sent {"connection_id":164788,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-28 15:42:02] local.INFO: TCP Data received {"connection_id":163529,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163529,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:42:02] local.INFO: Processing buffer {"connection_id":163529,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:42:02] local.INFO: IMEI packet received {"connection_id":163529,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 15:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":163529,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:42:06] local.INFO: TCP Data received {"connection_id":163796,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047d9db98012d34c14006aa4840000d00e62a..."} 
[2026-08-28 15:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d9db98012d34c14006aa4840000d00e62a..."} 
[2026-08-28 15:42:06] local.INFO: Processing buffer {"connection_id":163796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d9db98012d34c14006aa4840000d00e62a..."} 
[2026-08-28 15:42:06] local.INFO: Packet analysis {"connection_id":163796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d9"} 
[2026-08-28 15:42:06] local.INFO: Extracted packet for processing {"connection_id":163796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d9"} 
[2026-08-28 15:42:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705357824001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787911855000,"timestamp_ms":1787911855000,"timestamp_seconds":1787911855,"priority":1,"record_length":96,"hex_timestamp":"000001a047d9db98"} 
[2026-08-28 15:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:42: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-28 15:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-08-28 15:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:42:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705357824001,"66":25430,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705357824001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:42:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:42:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:42: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-28 15:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705357824001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":163796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:42:06] local.INFO: GPS data processed {"connection_id":163796,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:42:06] local.INFO: Acknowledgment sent {"connection_id":163796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:42:07] local.INFO: TCP Data received {"connection_id":163529,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163529,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:42:07] local.INFO: Processing buffer {"connection_id":163529,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:42:07] local.INFO: IMEI packet received {"connection_id":163529,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 15:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":163529,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:42:08] local.INFO: TCP Data received {"connection_id":163529,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047d7cc40012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d7cc40012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:42:08] local.INFO: Processing buffer {"connection_id":163529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d7cc40012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:42:08] local.INFO: Packet analysis {"connection_id":163529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d7"} 
[2026-08-28 15:42:08] local.INFO: Extracted packet for processing {"connection_id":163529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d7"} 
[2026-08-28 15:42:08] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705323264001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:42:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787911720000,"timestamp_ms":1787911720000,"timestamp_seconds":1787911720,"priority":1,"record_length":96,"hex_timestamp":"000001a047d7cc40"} 
[2026-08-28 15: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-28 15:42:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15: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":118,"data_length":795,"current_offset":136} 
[2026-08-28 15:42:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15: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-28 15: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-28 15:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163529,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163529,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705323264001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705323264001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:42:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:42:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705323264001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:42:08] 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":708390,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:42:08] local.INFO: GPS data processed {"connection_id":163529,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:42:08] local.INFO: Acknowledgment sent {"connection_id":163529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:42:10] local.INFO: TCP Data received {"connection_id":163797,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163797,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:42:10] local.INFO: Processing buffer {"connection_id":163797,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:42:10] local.INFO: IMEI packet received {"connection_id":163797,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 15:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":163797,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:42:12] local.INFO: TCP Data received {"connection_id":163529,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047d7cc40012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d7cc40012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:42:12] local.INFO: Processing buffer {"connection_id":163529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d7cc40012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:42:12] local.INFO: Packet analysis {"connection_id":163529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d7"} 
[2026-08-28 15:42:12] local.INFO: Extracted packet for processing {"connection_id":163529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d7"} 
[2026-08-28 15:42:12] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:42:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705323264001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:42:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:42:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:42:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:42:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787911720000,"timestamp_ms":1787911720000,"timestamp_seconds":1787911720,"priority":1,"record_length":96,"hex_timestamp":"000001a047d7cc40"} 
[2026-08-28 15:42:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:42:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 15:42:12] 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-28 15:42:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:42:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:42:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:42:12] local.INFO: Teltonika packet parsed successfully {"connection_id":163529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:42:12] local.INFO: Passing IMEI to GPS processor {"connection_id":163529,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:42:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":163529,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:42:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:42:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:42:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:42:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705323264001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:42:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:42:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:42:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705323264001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:42:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:42:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:42:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:42:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:42:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705323264001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:42:13] 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":708391,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:42:13] local.INFO: GPS data processed {"connection_id":163529,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:42:13] local.INFO: Acknowledgment sent {"connection_id":163529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:42:15] local.INFO: TCP Data received {"connection_id":163797,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163797,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:42:15] local.INFO: Processing buffer {"connection_id":163797,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:42:15] local.INFO: IMEI packet received {"connection_id":163797,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":163797,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:42:16] local.INFO: TCP Data received {"connection_id":163797,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047d84170012d17c90007213358003d00d32b..."} 
[2026-08-28 15:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d84170012d17c90007213358003d00d32b..."} 
[2026-08-28 15:42:16] local.INFO: Processing buffer {"connection_id":163797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d84170012d17c90007213358003d00d32b..."} 
[2026-08-28 15:42:16] local.INFO: Packet analysis {"connection_id":163797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d8"} 
[2026-08-28 15:42:16] local.INFO: Extracted packet for processing {"connection_id":163797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d8"} 
[2026-08-28 15:42:16] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616344,"longitude_deg":75.6533504,"latitude_deg":11.9616344,"altitude":61,"angle":211,"satellites":43,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213358","is_valid_coordinates":true} 
[2026-08-28 15:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:42:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705402624001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:42:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15934732395085824,"note":"Value kept but may cause issues"} 
[2026-08-28 15:42:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812968448,"note":"Value kept but may cause issues"} 
[2026-08-28 15:42:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:42:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787911750000,"timestamp_ms":1787911750000,"timestamp_seconds":1787911750,"priority":1,"record_length":96,"hex_timestamp":"000001a047d84170"} 
[2026-08-28 15:42:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:42:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-28 15:42:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:42:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:42:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:42:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:42:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:42:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:42:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:42:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:42:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:42:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:42:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705402624001,"66":12798,"122":206,"28":31744,"24":0,"16":15934732395085824,"45":1713901163812968448},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-28 15:42:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:42:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:42:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705402624001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:42:16] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-28 15:42:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:42:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15934732395085824,"km_value":15934732395085.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:42:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812968448,"description":"Unknown IO ID 45"} 
[2026-08-28 15:42:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705402624001,"power":12798,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1713901163812968448}} 
[2026-08-28 15:42:16] 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":708392,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:42:16] local.INFO: GPS data processed {"connection_id":163797,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:42:16] local.INFO: Acknowledgment sent {"connection_id":163797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:42:28] local.INFO: TCP Data received {"connection_id":164788,"ip":"117.224.27.186","data_length":795,"data_hex":"000000000000030f8e0a000000000001adb00100000000000000000000000000..."} 
[2026-08-28 15:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164788,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000001adb00100000000000000000000000000..."} 
[2026-08-28 15:42:28] local.INFO: Processing buffer {"connection_id":164788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000001adb00100000000000000000000000000..."} 
[2026-08-28 15:42:28] local.INFO: Packet analysis {"connection_id":164788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-28 15:42:28] local.INFO: Extracted packet for processing {"connection_id":164788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-28 15:42:28] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-28 15:42:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:42:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29489773735313408,"note":"Value kept but may cause issues"} 
[2026-08-28 15:42:28] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,21,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-28 15:42:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":110000,"timestamp_seconds":110,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 15:42:28] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:42:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-28 15:42:28] local.INFO: Teltonika packet parsed successfully {"connection_id":164788,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:42:28] local.INFO: Passing IMEI to GPS processor {"connection_id":164788,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-28 15:42:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":164788,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-28 15:42:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.27.186","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-28 15:42:28] local.WARNING: DEBUG: No valid data to process  
[2026-08-28 15:42:28] local.INFO: DEBUG: GPS processor result {"connection_id":164788,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-28 15:42:28] local.ERROR: GPS data processing failed {"connection_id":164788,"error":"No valid data to process"} 
[2026-08-28 15:42:28] local.INFO: Acknowledgment sent {"connection_id":164788,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-28 15:42:30] local.INFO: TCP Data received {"connection_id":164789,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:42:30] local.INFO: Processing buffer {"connection_id":164789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:42:30] local.INFO: IMEI packet received {"connection_id":164789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 15:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":164789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:42:35] local.INFO: TCP Data received {"connection_id":164789,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:42:35] local.INFO: Processing buffer {"connection_id":164789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:42:35] local.INFO: IMEI packet received {"connection_id":164789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 15:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":164789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:42:37] local.INFO: TCP Data received {"connection_id":164789,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047d9db98012d34c14006aa4840000d00e62a..."} 
[2026-08-28 15:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d9db98012d34c14006aa4840000d00e62a..."} 
[2026-08-28 15:42:37] local.INFO: Processing buffer {"connection_id":164789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d9db98012d34c14006aa4840000d00e62a..."} 
[2026-08-28 15:42:37] local.INFO: Packet analysis {"connection_id":164789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d9"} 
[2026-08-28 15:42:37] local.INFO: Extracted packet for processing {"connection_id":164789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d9"} 
[2026-08-28 15:42:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705357824001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787911855000,"timestamp_ms":1787911855000,"timestamp_seconds":1787911855,"priority":1,"record_length":96,"hex_timestamp":"000001a047d9db98"} 
[2026-08-28 15:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-08-28 15:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705357824001,"66":25430,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705357824001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:42:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:42:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:42: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-28 15:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705357824001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":164789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:42:37] local.INFO: GPS data processed {"connection_id":164789,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:42:37] local.INFO: Acknowledgment sent {"connection_id":164789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:42:48] local.INFO: TCP Data received {"connection_id":163797,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047d89378012d17c90007213358003d00d32a..."} 
[2026-08-28 15:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d89378012d17c90007213358003d00d32a..."} 
[2026-08-28 15:42:48] local.INFO: Processing buffer {"connection_id":163797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d89378012d17c90007213358003d00d32a..."} 
[2026-08-28 15:42:48] local.INFO: Packet analysis {"connection_id":163797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d8"} 
[2026-08-28 15:42:48] local.INFO: Extracted packet for processing {"connection_id":163797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d8"} 
[2026-08-28 15:42:48] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616344,"longitude_deg":75.6533504,"latitude_deg":11.9616344,"altitude":61,"angle":211,"satellites":42,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213358","is_valid_coordinates":true} 
[2026-08-28 15:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:42:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705408000001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:42:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15934732395085824,"note":"Value kept but may cause issues"} 
[2026-08-28 15:42:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812968448,"note":"Value kept but may cause issues"} 
[2026-08-28 15:42:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:42:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787911771000,"timestamp_ms":1787911771000,"timestamp_seconds":1787911771,"priority":1,"record_length":96,"hex_timestamp":"000001a047d89378"} 
[2026-08-28 15:42:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:42:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-28 15:42:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:42:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:42:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:42:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:42:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:42:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:42:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:42:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:42:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:42:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:42:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705408000001,"66":12580,"122":206,"28":31744,"24":0,"16":15934732395085824,"45":1713901163812968448},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-28 15:42:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:42:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:42:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705408000001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:42:48] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-28 15:42:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:42:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15934732395085824,"km_value":15934732395085.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:42:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812968448,"description":"Unknown IO ID 45"} 
[2026-08-28 15:42:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705408000001,"power":12580,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1713901163812968448}} 
[2026-08-28 15:42:48] 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":708394,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:42:48] local.INFO: GPS data processed {"connection_id":163797,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:42:48] local.INFO: Acknowledgment sent {"connection_id":163797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:42:57] local.INFO: TCP Data received {"connection_id":163798,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163798,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:42:57] local.INFO: Processing buffer {"connection_id":163798,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:42:57] local.INFO: IMEI packet received {"connection_id":163798,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 15:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":163798,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:43:00] local.INFO: TCP Data received {"connection_id":164788,"ip":"117.224.27.186","data_length":795,"data_hex":"000000000000030f8e0a000000000001ffb80100000000000000000000000000..."} 
[2026-08-28 15:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164788,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000001ffb80100000000000000000000000000..."} 
[2026-08-28 15:43:00] local.INFO: Processing buffer {"connection_id":164788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000001ffb80100000000000000000000000000..."} 
[2026-08-28 15:43:00] local.INFO: Packet analysis {"connection_id":164788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-28 15:43:00] local.INFO: Extracted packet for processing {"connection_id":164788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-28 15:43:00] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-28 15:43:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:43:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29489773735313408,"note":"Value kept but may cause issues"} 
[2026-08-28 15:43:00] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,21,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-28 15:43:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":131000,"timestamp_seconds":131,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 15:43:00] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:43:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-28 15:43:00] local.INFO: Teltonika packet parsed successfully {"connection_id":164788,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:43:00] local.INFO: Passing IMEI to GPS processor {"connection_id":164788,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-28 15:43:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":164788,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-28 15:43:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.27.186","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-28 15:43:00] local.WARNING: DEBUG: No valid data to process  
[2026-08-28 15:43:00] local.INFO: DEBUG: GPS processor result {"connection_id":164788,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-28 15:43:00] local.ERROR: GPS data processing failed {"connection_id":164788,"error":"No valid data to process"} 
[2026-08-28 15:43:00] local.INFO: Acknowledgment sent {"connection_id":164788,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-28 15:43:02] local.INFO: TCP Data received {"connection_id":163798,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163798,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:43:02] local.INFO: Processing buffer {"connection_id":163798,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:43:02] local.INFO: IMEI packet received {"connection_id":163798,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 15:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":163798,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:43:03] local.INFO: TCP Data received {"connection_id":163798,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047d7cc40012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d7cc40012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:43:03] local.INFO: Processing buffer {"connection_id":163798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d7cc40012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:43:03] local.INFO: Packet analysis {"connection_id":163798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d7"} 
[2026-08-28 15:43:03] local.INFO: Extracted packet for processing {"connection_id":163798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d7"} 
[2026-08-28 15:43:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705323264001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787911720000,"timestamp_ms":1787911720000,"timestamp_seconds":1787911720,"priority":1,"record_length":96,"hex_timestamp":"000001a047d7cc40"} 
[2026-08-28 15:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:43:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 15:43:03] 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-28 15:43:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163798,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163798,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705323264001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705323264001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:43:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:43:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705323264001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":163798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708395,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:43:04] local.INFO: GPS data processed {"connection_id":163798,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:43:04] local.INFO: Acknowledgment sent {"connection_id":163798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:43:09] local.INFO: TCP Data received {"connection_id":164789,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047d9db98012d34c14006aa4840000d00e62a..."} 
[2026-08-28 15:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d9db98012d34c14006aa4840000d00e62a..."} 
[2026-08-28 15:43:09] local.INFO: Processing buffer {"connection_id":164789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d9db98012d34c14006aa4840000d00e62a..."} 
[2026-08-28 15:43:09] local.INFO: Packet analysis {"connection_id":164789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d9"} 
[2026-08-28 15:43:09] local.INFO: Extracted packet for processing {"connection_id":164789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d9"} 
[2026-08-28 15:43:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:43:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705357824001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:43:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:43:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:43:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:43:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787911855000,"timestamp_ms":1787911855000,"timestamp_seconds":1787911855,"priority":1,"record_length":96,"hex_timestamp":"000001a047d9db98"} 
[2026-08-28 15:43:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:43:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-08-28 15:43:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:43:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:43:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:43:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:43:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:43:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:43:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:43:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:43:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:43:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:43:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705357824001,"66":25430,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:43:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705357824001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:43:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:43:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:43: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-28 15:43:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:43:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705357824001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:43:09] local.INFO: DEBUG: GPS processor result {"connection_id":164789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:43:09] local.INFO: GPS data processed {"connection_id":164789,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:43:09] local.INFO: Acknowledgment sent {"connection_id":164789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:43:10] local.INFO: TCP Data received {"connection_id":164790,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:43:10] local.INFO: Processing buffer {"connection_id":164790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:43:10] local.INFO: IMEI packet received {"connection_id":164790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 15:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":164790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:43:16] local.INFO: TCP Data received {"connection_id":164790,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:43:16] local.INFO: Processing buffer {"connection_id":164790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:43:16] local.INFO: IMEI packet received {"connection_id":164790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:43:16] local.INFO: IMEI acknowledgment sent {"connection_id":164790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:43:17] local.INFO: TCP Data received {"connection_id":164790,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047d8e580012d17c90007213358003d00d32b..."} 
[2026-08-28 15:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d8e580012d17c90007213358003d00d32b..."} 
[2026-08-28 15:43:17] local.INFO: Processing buffer {"connection_id":164790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d8e580012d17c90007213358003d00d32b..."} 
[2026-08-28 15:43:17] local.INFO: Packet analysis {"connection_id":164790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d8"} 
[2026-08-28 15:43:17] local.INFO: Extracted packet for processing {"connection_id":164790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d8"} 
[2026-08-28 15:43:17] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616344,"longitude_deg":75.6533504,"latitude_deg":11.9616344,"altitude":61,"angle":211,"satellites":43,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213358","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:43:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705413376001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:43:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15934732395085824,"note":"Value kept but may cause issues"} 
[2026-08-28 15:43:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812968448,"note":"Value kept but may cause issues"} 
[2026-08-28 15:43:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:43:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787911792000,"timestamp_ms":1787911792000,"timestamp_seconds":1787911792,"priority":1,"record_length":96,"hex_timestamp":"000001a047d8e580"} 
[2026-08-28 15: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-28 15:43:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15: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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-08-28 15:43:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15: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-28 15: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-28 15:43:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:43:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:43:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:43:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:43:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:43:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:43:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:43:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705413376001,"66":12776,"122":206,"28":31744,"24":0,"16":15934732395085824,"45":1713901163812968448},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-28 15:43:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:43:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:43:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705413376001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:43:17] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-28 15:43:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:43:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15934732395085824,"km_value":15934732395085.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:43:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812968448,"description":"Unknown IO ID 45"} 
[2026-08-28 15:43:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705413376001,"power":12776,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1713901163812968448}} 
[2026-08-28 15:43:17] 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":708397,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:43:17] local.INFO: GPS data processed {"connection_id":164790,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:43:17] local.INFO: Acknowledgment sent {"connection_id":164790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:43:36] local.INFO: TCP Data received {"connection_id":163798,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047d7cc40012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d7cc40012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:43:36] local.INFO: Processing buffer {"connection_id":163798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d7cc40012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:43:36] local.INFO: Packet analysis {"connection_id":163798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d7"} 
[2026-08-28 15:43:36] local.INFO: Extracted packet for processing {"connection_id":163798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d7"} 
[2026-08-28 15:43:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705323264001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:43:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787911720000,"timestamp_ms":1787911720000,"timestamp_seconds":1787911720,"priority":1,"record_length":96,"hex_timestamp":"000001a047d7cc40"} 
[2026-08-28 15:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 15:43:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:43:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163798,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163798,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:43:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705323264001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705323264001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:43:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:43:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705323264001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":163798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708398,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:43:36] local.INFO: GPS data processed {"connection_id":163798,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:43:36] local.INFO: Acknowledgment sent {"connection_id":163798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:43:36] local.INFO: TCP Data received {"connection_id":163799,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:43:36] local.INFO: Processing buffer {"connection_id":163799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:43:36] local.INFO: IMEI packet received {"connection_id":163799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 15:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":163799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:43:40] local.INFO: TCP Data received {"connection_id":163799,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:43:40] local.INFO: Processing buffer {"connection_id":163799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:43:40] local.INFO: IMEI packet received {"connection_id":163799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 15:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":163799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:43:42] local.INFO: TCP Data received {"connection_id":163799,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047d9db98012d34c14006aa4840000d00e62a..."} 
[2026-08-28 15:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d9db98012d34c14006aa4840000d00e62a..."} 
[2026-08-28 15:43:42] local.INFO: Processing buffer {"connection_id":163799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d9db98012d34c14006aa4840000d00e62a..."} 
[2026-08-28 15:43:42] local.INFO: Packet analysis {"connection_id":163799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d9"} 
[2026-08-28 15:43:42] local.INFO: Extracted packet for processing {"connection_id":163799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d9"} 
[2026-08-28 15:43:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705357824001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:43:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:43:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:43:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:43:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787911855000,"timestamp_ms":1787911855000,"timestamp_seconds":1787911855,"priority":1,"record_length":96,"hex_timestamp":"000001a047d9db98"} 
[2026-08-28 15:43:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:43: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-28 15:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-08-28 15:43:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:43:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:43:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:43:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:43:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:43:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:43:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:43:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:43:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:43:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:43:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705357824001,"66":25430,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:43:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:43:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:43:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705357824001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:43:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:43:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15: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-28 15:43:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:43:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705357824001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":163799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:43:42] local.INFO: GPS data processed {"connection_id":163799,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:43:42] local.INFO: Acknowledgment sent {"connection_id":163799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:43:47] local.INFO: TCP Data received {"connection_id":163799,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047d9db98012d34c14006aa4840000d00e62a..."} 
[2026-08-28 15:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d9db98012d34c14006aa4840000d00e62a..."} 
[2026-08-28 15:43:47] local.INFO: Processing buffer {"connection_id":163799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d9db98012d34c14006aa4840000d00e62a..."} 
[2026-08-28 15:43:47] local.INFO: Packet analysis {"connection_id":163799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d9"} 
[2026-08-28 15:43:47] local.INFO: Extracted packet for processing {"connection_id":163799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d9"} 
[2026-08-28 15:43:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705357824001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:43:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:43:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:43:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:43:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787911855000,"timestamp_ms":1787911855000,"timestamp_seconds":1787911855,"priority":1,"record_length":96,"hex_timestamp":"000001a047d9db98"} 
[2026-08-28 15: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-28 15:43: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-28 15: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-08-28 15:43:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15: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-28 15: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-28 15:43:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:43:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:43:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:43:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:43:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:43:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:43:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:43:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705357824001,"66":25430,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:43:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:43:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:43:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705357824001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:43:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:43:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15: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-28 15:43:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:43:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705357824001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":163799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:43:47] local.INFO: GPS data processed {"connection_id":163799,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:43:47] local.INFO: Acknowledgment sent {"connection_id":163799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:43:49] local.INFO: TCP Data received {"connection_id":164790,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047d93788012d17c90007213358003d00d329..."} 
[2026-08-28 15:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d93788012d17c90007213358003d00d329..."} 
[2026-08-28 15:43:49] local.INFO: Processing buffer {"connection_id":164790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d93788012d17c90007213358003d00d329..."} 
[2026-08-28 15:43:49] local.INFO: Packet analysis {"connection_id":164790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d9"} 
[2026-08-28 15:43:49] local.INFO: Extracted packet for processing {"connection_id":164790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d9"} 
[2026-08-28 15:43:49] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616344,"longitude_deg":75.6533504,"latitude_deg":11.9616344,"altitude":61,"angle":211,"satellites":41,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213358","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:43:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705418752001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:43:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15934732395085824,"note":"Value kept but may cause issues"} 
[2026-08-28 15:43:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812968448,"note":"Value kept but may cause issues"} 
[2026-08-28 15:43:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:43:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787911813000,"timestamp_ms":1787911813000,"timestamp_seconds":1787911813,"priority":1,"record_length":96,"hex_timestamp":"000001a047d93788"} 
[2026-08-28 15: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-28 15:43:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15:43:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-28 15:43:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15: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-28 15: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-28 15:43:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:43:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:43:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:43:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:43:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:43:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:43:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:43:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705418752001,"66":12711,"122":206,"28":31744,"24":0,"16":15934732395085824,"45":1713901163812968448},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-28 15:43:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:43:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:43:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705418752001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:43:49] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-28 15:43:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:43:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15934732395085824,"km_value":15934732395085.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:43:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812968448,"description":"Unknown IO ID 45"} 
[2026-08-28 15:43:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705418752001,"power":12711,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1713901163812968448}} 
[2026-08-28 15:43: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":708401,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:43:49] local.INFO: GPS data processed {"connection_id":164790,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:43:49] local.INFO: Acknowledgment sent {"connection_id":164790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:43:56] local.INFO: TCP Data received {"connection_id":164791,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164791,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:43:56] local.INFO: Processing buffer {"connection_id":164791,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:43:56] local.INFO: IMEI packet received {"connection_id":164791,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 15:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":164791,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:44:02] local.INFO: TCP Data received {"connection_id":164791,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164791,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:44:02] local.INFO: Processing buffer {"connection_id":164791,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:44:02] local.INFO: IMEI packet received {"connection_id":164791,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 15:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":164791,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:44:03] local.INFO: TCP Data received {"connection_id":164791,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047d7cc40012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d7cc40012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:44:03] local.INFO: Processing buffer {"connection_id":164791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d7cc40012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:44:03] local.INFO: Packet analysis {"connection_id":164791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d7"} 
[2026-08-28 15:44:03] local.INFO: Extracted packet for processing {"connection_id":164791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d7"} 
[2026-08-28 15:44:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705323264001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:44:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787911720000,"timestamp_ms":1787911720000,"timestamp_seconds":1787911720,"priority":1,"record_length":96,"hex_timestamp":"000001a047d7cc40"} 
[2026-08-28 15:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:44:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 15:44:03] 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-28 15:44:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":164791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":164791,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":164791,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705323264001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705323264001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:44:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:44:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705323264001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:44:03] 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":708402,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:44:03] local.INFO: GPS data processed {"connection_id":164791,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:44:03] local.INFO: Acknowledgment sent {"connection_id":164791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:44:16] local.INFO: TCP Data received {"connection_id":166155,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166155,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:44:16] local.INFO: Processing buffer {"connection_id":166155,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:44:16] local.INFO: IMEI packet received {"connection_id":166155,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 15:44:16] local.INFO: IMEI acknowledgment sent {"connection_id":166155,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:44:21] local.INFO: TCP Data received {"connection_id":166155,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166155,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:44:21] local.INFO: Processing buffer {"connection_id":166155,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:44:21] local.INFO: IMEI packet received {"connection_id":166155,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:44:21] local.INFO: IMEI acknowledgment sent {"connection_id":166155,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:44:22] local.INFO: TCP Data received {"connection_id":166155,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047d98990012d17c90007213358003d00d326..."} 
[2026-08-28 15:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d98990012d17c90007213358003d00d326..."} 
[2026-08-28 15:44:22] local.INFO: Processing buffer {"connection_id":166155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d98990012d17c90007213358003d00d326..."} 
[2026-08-28 15:44:22] local.INFO: Packet analysis {"connection_id":166155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d9"} 
[2026-08-28 15:44:22] local.INFO: Extracted packet for processing {"connection_id":166155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d9"} 
[2026-08-28 15:44:22] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616344,"longitude_deg":75.6533504,"latitude_deg":11.9616344,"altitude":61,"angle":211,"satellites":38,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213358","is_valid_coordinates":true} 
[2026-08-28 15:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:44:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705424128001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:44:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15934732395085824,"note":"Value kept but may cause issues"} 
[2026-08-28 15:44:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812968448,"note":"Value kept but may cause issues"} 
[2026-08-28 15:44:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:44:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787911834000,"timestamp_ms":1787911834000,"timestamp_seconds":1787911834,"priority":1,"record_length":96,"hex_timestamp":"000001a047d98990"} 
[2026-08-28 15:44:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:44: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-28 15:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-28 15:44:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:44:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:44:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:44:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:44:22] local.INFO: Teltonika packet parsed successfully {"connection_id":166155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:44:22] local.INFO: Passing IMEI to GPS processor {"connection_id":166155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:44:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":166155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:44:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:44:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:44:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:44:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705424128001,"66":12743,"122":206,"28":31744,"24":0,"16":15934732395085824,"45":1713901163812968448},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-28 15:44:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:44:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:44:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705424128001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:44:22] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-28 15:44:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:44:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15934732395085824,"km_value":15934732395085.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:44:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812968448,"description":"Unknown IO ID 45"} 
[2026-08-28 15:44:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705424128001,"power":12743,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1713901163812968448}} 
[2026-08-28 15:44:22] local.INFO: DEBUG: GPS processor result {"connection_id":166155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708403,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:44:22] local.INFO: GPS data processed {"connection_id":166155,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:44:22] local.INFO: Acknowledgment sent {"connection_id":166155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:44:24] local.INFO: TCP Data received {"connection_id":166155,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047d9db98012d17c90007213358003d00d32a..."} 
[2026-08-28 15:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d9db98012d17c90007213358003d00d32a..."} 
[2026-08-28 15:44:24] local.INFO: Processing buffer {"connection_id":166155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d9db98012d17c90007213358003d00d32a..."} 
[2026-08-28 15:44:24] local.INFO: Packet analysis {"connection_id":166155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d9"} 
[2026-08-28 15:44:24] local.INFO: Extracted packet for processing {"connection_id":166155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d9"} 
[2026-08-28 15:44:24] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616344,"longitude_deg":75.6533504,"latitude_deg":11.9616344,"altitude":61,"angle":211,"satellites":42,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213358","is_valid_coordinates":true} 
[2026-08-28 15:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:44:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705429504001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:44:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15934732395085824,"note":"Value kept but may cause issues"} 
[2026-08-28 15:44:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812968448,"note":"Value kept but may cause issues"} 
[2026-08-28 15:44:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:44:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787911855000,"timestamp_ms":1787911855000,"timestamp_seconds":1787911855,"priority":1,"record_length":96,"hex_timestamp":"000001a047d9db98"} 
[2026-08-28 15:44:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:44:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-28 15:44:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:44:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:44:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:44:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:44:24] local.INFO: Teltonika packet parsed successfully {"connection_id":166155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:44:24] local.INFO: Passing IMEI to GPS processor {"connection_id":166155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:44:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":166155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:44:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:44:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:44:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:44:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705429504001,"66":12765,"122":206,"28":31744,"24":0,"16":15934732395085824,"45":1713901163812968448},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-28 15:44:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:44:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:44:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705429504001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:44:24] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-28 15:44:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:44:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15934732395085824,"km_value":15934732395085.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:44:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812968448,"description":"Unknown IO ID 45"} 
[2026-08-28 15:44:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705429504001,"power":12765,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1713901163812968448}} 
[2026-08-28 15:44:24] local.INFO: DEBUG: GPS processor result {"connection_id":166155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708404,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:44:24] local.INFO: GPS data processed {"connection_id":166155,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:44:24] local.INFO: Acknowledgment sent {"connection_id":166155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:44:31] local.INFO: TCP Data received {"connection_id":166156,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:44:31] local.INFO: Processing buffer {"connection_id":166156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:44:31] local.INFO: IMEI packet received {"connection_id":166156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 15:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":166156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:44:36] local.INFO: TCP Data received {"connection_id":166156,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:44:36] local.INFO: Processing buffer {"connection_id":166156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:44:36] local.INFO: IMEI packet received {"connection_id":166156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 15:44:36] local.INFO: IMEI acknowledgment sent {"connection_id":166156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:44:36] local.INFO: TCP Data received {"connection_id":164791,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047dc6408012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047dc6408012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:44:36] local.INFO: Processing buffer {"connection_id":164791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047dc6408012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:44:36] local.INFO: Packet analysis {"connection_id":164791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047dc"} 
[2026-08-28 15:44:36] local.INFO: Extracted packet for processing {"connection_id":164791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047dc"} 
[2026-08-28 15:44:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705400320001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:44:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:44:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787912021000,"timestamp_ms":1787912021000,"timestamp_seconds":1787912021,"priority":1,"record_length":96,"hex_timestamp":"000001a047dc6408"} 
[2026-08-28 15:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:44:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:44:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:44:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":164791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":164791,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":164791,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:44:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705400320001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705400320001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:44:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:44:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:44:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705400320001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:44:36] 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":708405,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:44:36] local.INFO: GPS data processed {"connection_id":164791,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:44:36] local.INFO: Acknowledgment sent {"connection_id":164791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:44:39] local.INFO: TCP Data received {"connection_id":166156,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047d9db98012d34c14006aa4840000d00e62a..."} 
[2026-08-28 15:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d9db98012d34c14006aa4840000d00e62a..."} 
[2026-08-28 15:44:39] local.INFO: Processing buffer {"connection_id":166156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d9db98012d34c14006aa4840000d00e62a..."} 
[2026-08-28 15:44:39] local.INFO: Packet analysis {"connection_id":166156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d9"} 
[2026-08-28 15:44:39] local.INFO: Extracted packet for processing {"connection_id":166156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d9"} 
[2026-08-28 15:44:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:44:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705357824001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:44:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:44:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:44:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:44:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787911855000,"timestamp_ms":1787911855000,"timestamp_seconds":1787911855,"priority":1,"record_length":96,"hex_timestamp":"000001a047d9db98"} 
[2026-08-28 15:44:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:44:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-08-28 15:44:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:44:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:44:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:44:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:44:39] local.INFO: Teltonika packet parsed successfully {"connection_id":166156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:44:39] local.INFO: Passing IMEI to GPS processor {"connection_id":166156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:44:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":166156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:44:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:44:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:44:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:44:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705357824001,"66":25430,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:44:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:44:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:44:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705357824001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:44:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:44:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:44:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:44:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:44:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705357824001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:44:39] local.INFO: DEBUG: GPS processor result {"connection_id":166156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:44:39] local.INFO: GPS data processed {"connection_id":166156,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:44:39] local.INFO: Acknowledgment sent {"connection_id":166156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:44:55] local.INFO: TCP Data received {"connection_id":166155,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047da2da0012d17c90007213358003d00d32b..."} 
[2026-08-28 15:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047da2da0012d17c90007213358003d00d32b..."} 
[2026-08-28 15:44:55] local.INFO: Processing buffer {"connection_id":166155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047da2da0012d17c90007213358003d00d32b..."} 
[2026-08-28 15:44:55] local.INFO: Packet analysis {"connection_id":166155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047da"} 
[2026-08-28 15:44:55] local.INFO: Extracted packet for processing {"connection_id":166155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047da"} 
[2026-08-28 15:44:55] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616344,"longitude_deg":75.6533504,"latitude_deg":11.9616344,"altitude":61,"angle":211,"satellites":43,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213358","is_valid_coordinates":true} 
[2026-08-28 15:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:44:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705434880001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:44:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15934732395085824,"note":"Value kept but may cause issues"} 
[2026-08-28 15:44:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812968448,"note":"Value kept but may cause issues"} 
[2026-08-28 15:44:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:44:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787911876000,"timestamp_ms":1787911876000,"timestamp_seconds":1787911876,"priority":1,"record_length":96,"hex_timestamp":"000001a047da2da0"} 
[2026-08-28 15:44:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:44:55] 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-28 15:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-28 15:44:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:44:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:44:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:44:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:44:55] local.INFO: Teltonika packet parsed successfully {"connection_id":166155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:44:55] local.INFO: Passing IMEI to GPS processor {"connection_id":166155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:44:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":166155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:44:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:44:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:44:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:44:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705434880001,"66":12711,"122":206,"28":31744,"24":0,"16":15934732395085824,"45":1713901163812968448},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-28 15:44:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:44:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:44:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705434880001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:44:55] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-28 15:44:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:44:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15934732395085824,"km_value":15934732395085.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:44:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812968448,"description":"Unknown IO ID 45"} 
[2026-08-28 15:44:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705434880001,"power":12711,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1713901163812968448}} 
[2026-08-28 15:44:55] local.INFO: DEBUG: GPS processor result {"connection_id":166155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708407,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:44:55] local.INFO: GPS data processed {"connection_id":166155,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:44:55] local.INFO: Acknowledgment sent {"connection_id":166155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:44:57] local.INFO: TCP Data received {"connection_id":163800,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163800,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:44:57] local.INFO: Processing buffer {"connection_id":163800,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:44:57] local.INFO: IMEI packet received {"connection_id":163800,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 15:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":163800,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:45:02] local.INFO: TCP Data received {"connection_id":163800,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163800,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:45:02] local.INFO: Processing buffer {"connection_id":163800,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:45:02] local.INFO: IMEI packet received {"connection_id":163800,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 15:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":163800,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:45:03] local.INFO: TCP Data received {"connection_id":163800,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047dc6408012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047dc6408012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:45:03] local.INFO: Processing buffer {"connection_id":163800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047dc6408012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:45:03] local.INFO: Packet analysis {"connection_id":163800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047dc"} 
[2026-08-28 15:45:03] local.INFO: Extracted packet for processing {"connection_id":163800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047dc"} 
[2026-08-28 15:45:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705400320001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:45:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787912021000,"timestamp_ms":1787912021000,"timestamp_seconds":1787912021,"priority":1,"record_length":96,"hex_timestamp":"000001a047dc6408"} 
[2026-08-28 15:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:45:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:45:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:45:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163800,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163800,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:45:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705400320001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705400320001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:45:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:45:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705400320001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:45:03] 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":708408,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:45:03] local.INFO: GPS data processed {"connection_id":163800,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:45:03] local.INFO: Acknowledgment sent {"connection_id":163800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:45:09] local.INFO: TCP Data received {"connection_id":163800,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047dc6408012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047dc6408012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:45:09] local.INFO: Processing buffer {"connection_id":163800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047dc6408012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:45:09] local.INFO: Packet analysis {"connection_id":163800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047dc"} 
[2026-08-28 15:45:09] local.INFO: Extracted packet for processing {"connection_id":163800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047dc"} 
[2026-08-28 15:45:09] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705400320001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:45:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787912021000,"timestamp_ms":1787912021000,"timestamp_seconds":1787912021,"priority":1,"record_length":96,"hex_timestamp":"000001a047dc6408"} 
[2026-08-28 15:45:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:45:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:45: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-28 15:45:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:45:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163800,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163800,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:45:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705400320001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705400320001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:45:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:45:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:45:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:45:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705400320001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:45:09] 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":708409,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:45:09] local.INFO: GPS data processed {"connection_id":163800,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:45:09] local.INFO: Acknowledgment sent {"connection_id":163800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:45:10] local.INFO: TCP Data received {"connection_id":166156,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047d9db98012d34c14006aa4840000d00e62a..."} 
[2026-08-28 15:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d9db98012d34c14006aa4840000d00e62a..."} 
[2026-08-28 15:45:10] local.INFO: Processing buffer {"connection_id":166156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d9db98012d34c14006aa4840000d00e62a..."} 
[2026-08-28 15:45:10] local.INFO: Packet analysis {"connection_id":166156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d9"} 
[2026-08-28 15:45:10] local.INFO: Extracted packet for processing {"connection_id":166156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d9"} 
[2026-08-28 15:45:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705357824001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:45:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:45:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787911855000,"timestamp_ms":1787911855000,"timestamp_seconds":1787911855,"priority":1,"record_length":96,"hex_timestamp":"000001a047d9db98"} 
[2026-08-28 15:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:45:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-08-28 15:45:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:45:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":166156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":166156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":166156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:45:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705357824001,"66":25430,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705357824001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:45:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:45:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:45:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705357824001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":166156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:45:10] local.INFO: GPS data processed {"connection_id":166156,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:45:10] local.INFO: Acknowledgment sent {"connection_id":166156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:45:11] local.INFO: TCP Data received {"connection_id":163530,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:45:11] local.INFO: Processing buffer {"connection_id":163530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:45:11] local.INFO: IMEI packet received {"connection_id":163530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 15:45:11] local.INFO: IMEI acknowledgment sent {"connection_id":163530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:45:16] local.INFO: TCP Data received {"connection_id":163530,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:45:16] local.INFO: Processing buffer {"connection_id":163530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:45:16] local.INFO: IMEI packet received {"connection_id":163530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:45:16] local.INFO: IMEI acknowledgment sent {"connection_id":163530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:45:17] local.INFO: TCP Data received {"connection_id":163530,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047da7fa8012d17c90007213358003d00d32a..."} 
[2026-08-28 15:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047da7fa8012d17c90007213358003d00d32a..."} 
[2026-08-28 15:45:17] local.INFO: Processing buffer {"connection_id":163530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047da7fa8012d17c90007213358003d00d32a..."} 
[2026-08-28 15:45:17] local.INFO: Packet analysis {"connection_id":163530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047da"} 
[2026-08-28 15:45:17] local.INFO: Extracted packet for processing {"connection_id":163530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047da"} 
[2026-08-28 15:45:17] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616344,"longitude_deg":75.6533504,"latitude_deg":11.9616344,"altitude":61,"angle":211,"satellites":42,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213358","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705440256001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:45:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15934732395085824,"note":"Value kept but may cause issues"} 
[2026-08-28 15:45:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812968448,"note":"Value kept but may cause issues"} 
[2026-08-28 15:45:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:45:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787911897000,"timestamp_ms":1787911897000,"timestamp_seconds":1787911897,"priority":1,"record_length":96,"hex_timestamp":"000001a047da7fa8"} 
[2026-08-28 15: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-28 15:45:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-28 15:45:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15: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-28 15: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-28 15:45:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:45:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:45:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:45:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:45:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:45:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:45:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:45:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705440256001,"66":12711,"122":206,"28":31744,"24":0,"16":15934732395085824,"45":1713901163812968448},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-28 15:45:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:45:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:45:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705440256001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:45:17] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-28 15:45:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:45:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15934732395085824,"km_value":15934732395085.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:45:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812968448,"description":"Unknown IO ID 45"} 
[2026-08-28 15:45:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705440256001,"power":12711,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1713901163812968448}} 
[2026-08-28 15:45:17] 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":708411,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:45:17] local.INFO: GPS data processed {"connection_id":163530,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:45:17] local.INFO: Acknowledgment sent {"connection_id":163530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:45:30] local.INFO: TCP Data received {"connection_id":164792,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:45:30] local.INFO: Processing buffer {"connection_id":164792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:45:30] local.INFO: IMEI packet received {"connection_id":164792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 15:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":164792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:45:36] local.INFO: TCP Data received {"connection_id":164792,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:45:36] local.INFO: Processing buffer {"connection_id":164792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:45:36] local.INFO: IMEI packet received {"connection_id":164792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 15:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":164792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:45:38] local.INFO: TCP Data received {"connection_id":164792,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047d9db98012d34c14006aa4840000d00e62a..."} 
[2026-08-28 15:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d9db98012d34c14006aa4840000d00e62a..."} 
[2026-08-28 15:45:38] local.INFO: Processing buffer {"connection_id":164792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d9db98012d34c14006aa4840000d00e62a..."} 
[2026-08-28 15:45:38] local.INFO: Packet analysis {"connection_id":164792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d9"} 
[2026-08-28 15:45:38] local.INFO: Extracted packet for processing {"connection_id":164792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d9"} 
[2026-08-28 15:45:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705357824001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787911855000,"timestamp_ms":1787911855000,"timestamp_seconds":1787911855,"priority":1,"record_length":96,"hex_timestamp":"000001a047d9db98"} 
[2026-08-28 15:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:45: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-28 15:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-08-28 15:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:45:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705357824001,"66":25430,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705357824001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:45:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:45:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:45: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-28 15:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705357824001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":164792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:45:38] local.INFO: GPS data processed {"connection_id":164792,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:45:38] local.INFO: Acknowledgment sent {"connection_id":164792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:45:41] local.INFO: TCP Data received {"connection_id":163800,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047dc6408012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047dc6408012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:45:41] local.INFO: Processing buffer {"connection_id":163800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047dc6408012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:45:41] local.INFO: Packet analysis {"connection_id":163800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047dc"} 
[2026-08-28 15:45:41] local.INFO: Extracted packet for processing {"connection_id":163800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047dc"} 
[2026-08-28 15:45:41] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705400320001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:45:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:45:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787912021000,"timestamp_ms":1787912021000,"timestamp_seconds":1787912021,"priority":1,"record_length":96,"hex_timestamp":"000001a047dc6408"} 
[2026-08-28 15: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-28 15:45:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:45:41] 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-28 15: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-28 15: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-28 15:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":163800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":163800,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":163800,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:45:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705400320001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705400320001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:45:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:45:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:45:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705400320001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:45:42] 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":708413,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:45:42] local.INFO: GPS data processed {"connection_id":163800,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:45:42] local.INFO: Acknowledgment sent {"connection_id":163800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:45:48] local.INFO: TCP Data received {"connection_id":163530,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047dad1b0012d17c90007213358003d00d328..."} 
[2026-08-28 15:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047dad1b0012d17c90007213358003d00d328..."} 
[2026-08-28 15:45:48] local.INFO: Processing buffer {"connection_id":163530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047dad1b0012d17c90007213358003d00d328..."} 
[2026-08-28 15:45:48] local.INFO: Packet analysis {"connection_id":163530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047da"} 
[2026-08-28 15:45:48] local.INFO: Extracted packet for processing {"connection_id":163530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047da"} 
[2026-08-28 15:45:48] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616344,"longitude_deg":75.6533504,"latitude_deg":11.9616344,"altitude":61,"angle":211,"satellites":40,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213358","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:45:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705445632001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:45:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15934732395085824,"note":"Value kept but may cause issues"} 
[2026-08-28 15:45:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812968448,"note":"Value kept but may cause issues"} 
[2026-08-28 15:45:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:45:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787911918000,"timestamp_ms":1787911918000,"timestamp_seconds":1787911918,"priority":1,"record_length":96,"hex_timestamp":"000001a047dad1b0"} 
[2026-08-28 15: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-28 15:45:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15:45:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-28 15:45:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15: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-28 15: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-28 15:45:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:45:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:45:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:45:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:45:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:45:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:45:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:45:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705445632001,"66":12667,"122":206,"28":31744,"24":0,"16":15934732395085824,"45":1713901163812968448},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-28 15:45:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:45:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:45:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705445632001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:45:48] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-28 15:45:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:45:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15934732395085824,"km_value":15934732395085.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:45:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812968448,"description":"Unknown IO ID 45"} 
[2026-08-28 15:45:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705445632001,"power":12667,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1713901163812968448}} 
[2026-08-28 15:45:48] 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":708414,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:45:48] local.INFO: GPS data processed {"connection_id":163530,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:45:48] local.INFO: Acknowledgment sent {"connection_id":163530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:45:56] local.INFO: TCP Data received {"connection_id":163801,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163801,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:45:56] local.INFO: Processing buffer {"connection_id":163801,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:45:56] local.INFO: IMEI packet received {"connection_id":163801,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 15:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":163801,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:46:01] local.INFO: TCP Data received {"connection_id":163801,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163801,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:46:01] local.INFO: Processing buffer {"connection_id":163801,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:46:01] local.INFO: IMEI packet received {"connection_id":163801,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 15:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":163801,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:46:03] local.INFO: TCP Data received {"connection_id":163801,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047dc6408012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047dc6408012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:46:03] local.INFO: Processing buffer {"connection_id":163801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047dc6408012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:46:03] local.INFO: Packet analysis {"connection_id":163801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047dc"} 
[2026-08-28 15:46:03] local.INFO: Extracted packet for processing {"connection_id":163801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047dc"} 
[2026-08-28 15:46:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705400320001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:46:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787912021000,"timestamp_ms":1787912021000,"timestamp_seconds":1787912021,"priority":1,"record_length":96,"hex_timestamp":"000001a047dc6408"} 
[2026-08-28 15:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:46:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:46:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:46:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163801,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163801,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:46:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705400320001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705400320001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:46:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:46:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705400320001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:46:03] 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":708415,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:46:03] local.INFO: GPS data processed {"connection_id":163801,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:46:03] local.INFO: Acknowledgment sent {"connection_id":163801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:46:11] local.INFO: TCP Data received {"connection_id":164792,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047d9db98012d34c14006aa4840000d00e62a..."} 
[2026-08-28 15:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047d9db98012d34c14006aa4840000d00e62a..."} 
[2026-08-28 15:46:11] local.INFO: Processing buffer {"connection_id":164792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047d9db98012d34c14006aa4840000d00e62a..."} 
[2026-08-28 15:46:11] local.INFO: Packet analysis {"connection_id":164792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047d9"} 
[2026-08-28 15:46:11] local.INFO: Extracted packet for processing {"connection_id":164792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047d9"} 
[2026-08-28 15:46:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705357824001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:46:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:46:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:46:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:46:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787911855000,"timestamp_ms":1787911855000,"timestamp_seconds":1787911855,"priority":1,"record_length":96,"hex_timestamp":"000001a047d9db98"} 
[2026-08-28 15:46:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:46: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-28 15:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-08-28 15:46:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:46:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:46:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:46:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:46:11] local.INFO: Teltonika packet parsed successfully {"connection_id":164792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:46:11] local.INFO: Passing IMEI to GPS processor {"connection_id":164792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:46:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":164792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:46:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:46:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:46:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:46:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705357824001,"66":25430,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:46:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:46:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:46:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705357824001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:46:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:46:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:46: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-28 15:46:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:46:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705357824001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:46:11] local.INFO: DEBUG: GPS processor result {"connection_id":164792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:46:11] local.INFO: GPS data processed {"connection_id":164792,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:46:11] local.INFO: Acknowledgment sent {"connection_id":164792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:46:11] local.INFO: TCP Data received {"connection_id":164793,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:46:11] local.INFO: Processing buffer {"connection_id":164793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:46:11] local.INFO: IMEI packet received {"connection_id":164793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 15:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":164793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:46:16] local.INFO: TCP Data received {"connection_id":164793,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:46:16] local.INFO: Processing buffer {"connection_id":164793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:46:16] local.INFO: IMEI packet received {"connection_id":164793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:46:16] local.INFO: IMEI acknowledgment sent {"connection_id":164793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:46:17] local.INFO: TCP Data received {"connection_id":164793,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047db23b8012d17c90007213358003d00d32a..."} 
[2026-08-28 15:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047db23b8012d17c90007213358003d00d32a..."} 
[2026-08-28 15:46:17] local.INFO: Processing buffer {"connection_id":164793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047db23b8012d17c90007213358003d00d32a..."} 
[2026-08-28 15:46:17] local.INFO: Packet analysis {"connection_id":164793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047db"} 
[2026-08-28 15:46:17] local.INFO: Extracted packet for processing {"connection_id":164793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047db"} 
[2026-08-28 15:46:17] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616344,"longitude_deg":75.6533504,"latitude_deg":11.9616344,"altitude":61,"angle":211,"satellites":42,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213358","is_valid_coordinates":true} 
[2026-08-28 15:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:46:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705451008001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:46:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15934732395085824,"note":"Value kept but may cause issues"} 
[2026-08-28 15:46:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812968448,"note":"Value kept but may cause issues"} 
[2026-08-28 15:46:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:46:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787911939000,"timestamp_ms":1787911939000,"timestamp_seconds":1787911939,"priority":1,"record_length":96,"hex_timestamp":"000001a047db23b8"} 
[2026-08-28 15:46:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:46:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-28 15:46: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-28 15:46:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:46:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:46:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:46:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:46:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:46:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:46:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:46:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:46:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:46:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705451008001,"66":12678,"122":206,"28":31744,"24":0,"16":15934732395085824,"45":1713901163812968448},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-28 15:46:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:46:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:46:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705451008001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:46:17] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-28 15:46:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:46:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15934732395085824,"km_value":15934732395085.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:46:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812968448,"description":"Unknown IO ID 45"} 
[2026-08-28 15:46:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705451008001,"power":12678,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1713901163812968448}} 
[2026-08-28 15:46: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":708417,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:46:17] local.INFO: GPS data processed {"connection_id":164793,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:46:17] local.INFO: Acknowledgment sent {"connection_id":164793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:46:30] local.INFO: TCP Data received {"connection_id":163802,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:46:30] local.INFO: Processing buffer {"connection_id":163802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:46:30] local.INFO: IMEI packet received {"connection_id":163802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 15:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":163802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:46:35] local.INFO: TCP Data received {"connection_id":163802,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:46:35] local.INFO: Processing buffer {"connection_id":163802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:46:35] local.INFO: IMEI packet received {"connection_id":163802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 15:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":163802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:46:35] local.INFO: TCP Data received {"connection_id":163802,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:46:35] local.INFO: Processing buffer {"connection_id":163802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:46:35] local.INFO: IMEI packet received {"connection_id":163802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 15:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":163802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:46:35] local.INFO: TCP Data received {"connection_id":163801,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047dc6408012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047dc6408012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:46:35] local.INFO: Processing buffer {"connection_id":163801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047dc6408012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:46:35] local.INFO: Packet analysis {"connection_id":163801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047dc"} 
[2026-08-28 15:46:35] local.INFO: Extracted packet for processing {"connection_id":163801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047dc"} 
[2026-08-28 15:46:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705400320001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:46:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:46:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787912021000,"timestamp_ms":1787912021000,"timestamp_seconds":1787912021,"priority":1,"record_length":96,"hex_timestamp":"000001a047dc6408"} 
[2026-08-28 15:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:46:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:46:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:46:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163801,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163801,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:46:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705400320001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705400320001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:46:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:46:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:46:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705400320001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:46:35] 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":708418,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:46:35] local.INFO: GPS data processed {"connection_id":163801,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:46:35] local.INFO: Acknowledgment sent {"connection_id":163801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:46:38] local.INFO: TCP Data received {"connection_id":163802,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047de7360012d34c14006aa4840000c00e62b..."} 
[2026-08-28 15:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047de7360012d34c14006aa4840000c00e62b..."} 
[2026-08-28 15:46:38] local.INFO: Processing buffer {"connection_id":163802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047de7360012d34c14006aa4840000c00e62b..."} 
[2026-08-28 15:46:38] local.INFO: Packet analysis {"connection_id":163802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047de"} 
[2026-08-28 15:46:38] local.INFO: Extracted packet for processing {"connection_id":163802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047de"} 
[2026-08-28 15:46:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705434880001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:46:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787912156000,"timestamp_ms":1787912156000,"timestamp_seconds":1787912156,"priority":1,"record_length":96,"hex_timestamp":"000001a047de7360"} 
[2026-08-28 15:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:46:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 15:46:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:46:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:46:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705434880001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705434880001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:46:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:46:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:46: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-28 15:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705434880001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:46:38] 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":708419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:46:38] local.INFO: GPS data processed {"connection_id":163802,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:46:38] local.INFO: Acknowledgment sent {"connection_id":163802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:46:41] local.INFO: TCP Data received {"connection_id":163802,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047de7360012d34c14006aa4840000c00e62b..."} 
[2026-08-28 15:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047de7360012d34c14006aa4840000c00e62b..."} 
[2026-08-28 15:46:41] local.INFO: Processing buffer {"connection_id":163802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047de7360012d34c14006aa4840000c00e62b..."} 
[2026-08-28 15:46:41] local.INFO: Packet analysis {"connection_id":163802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047de"} 
[2026-08-28 15:46:41] local.INFO: Extracted packet for processing {"connection_id":163802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047de"} 
[2026-08-28 15:46:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:46:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705434880001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:46:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:46:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:46:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:46:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787912156000,"timestamp_ms":1787912156000,"timestamp_seconds":1787912156,"priority":1,"record_length":96,"hex_timestamp":"000001a047de7360"} 
[2026-08-28 15:46:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:46: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-28 15:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 15:46:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:46:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:46:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:46:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:46:41] local.INFO: Teltonika packet parsed successfully {"connection_id":163802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:46:41] local.INFO: Passing IMEI to GPS processor {"connection_id":163802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:46:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":163802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:46:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:46:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:46:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:46:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705434880001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:46:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:46:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:46:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705434880001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:46:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:46:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:46: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-28 15:46:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:46:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705434880001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:46: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":708420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:46:41] local.INFO: GPS data processed {"connection_id":163802,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:46:41] local.INFO: Acknowledgment sent {"connection_id":163802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:46:49] local.INFO: TCP Data received {"connection_id":164793,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047db75c0012d17c90007213358003d00d32a..."} 
[2026-08-28 15:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047db75c0012d17c90007213358003d00d32a..."} 
[2026-08-28 15:46:49] local.INFO: Processing buffer {"connection_id":164793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047db75c0012d17c90007213358003d00d32a..."} 
[2026-08-28 15:46:49] local.INFO: Packet analysis {"connection_id":164793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047db"} 
[2026-08-28 15:46:49] local.INFO: Extracted packet for processing {"connection_id":164793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047db"} 
[2026-08-28 15:46:49] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616344,"longitude_deg":75.6533504,"latitude_deg":11.9616344,"altitude":61,"angle":211,"satellites":42,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213358","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:46:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705456384001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:46:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15934732395085824,"note":"Value kept but may cause issues"} 
[2026-08-28 15:46:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812968448,"note":"Value kept but may cause issues"} 
[2026-08-28 15:46:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:46:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787911960000,"timestamp_ms":1787911960000,"timestamp_seconds":1787911960,"priority":1,"record_length":96,"hex_timestamp":"000001a047db75c0"} 
[2026-08-28 15: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-28 15:46:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-28 15:46:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15: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-28 15: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-28 15:46:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:46:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:46:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:46:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:46:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:46:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:46:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:46:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705456384001,"66":12667,"122":206,"28":31744,"24":0,"16":15934732395085824,"45":1713901163812968448},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-28 15:46:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:46:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:46:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705456384001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:46:49] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-28 15:46:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:46:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15934732395085824,"km_value":15934732395085.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:46:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812968448,"description":"Unknown IO ID 45"} 
[2026-08-28 15:46:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705456384001,"power":12667,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1713901163812968448}} 
[2026-08-28 15:46:49] 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":708421,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:46:49] local.INFO: GPS data processed {"connection_id":164793,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:46:49] local.INFO: Acknowledgment sent {"connection_id":164793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:46:56] local.INFO: TCP Data received {"connection_id":163531,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163531,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:46:56] local.INFO: Processing buffer {"connection_id":163531,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:46:56] local.INFO: IMEI packet received {"connection_id":163531,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 15:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":163531,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:47:02] local.INFO: TCP Data received {"connection_id":163531,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163531,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:47:02] local.INFO: Processing buffer {"connection_id":163531,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:47:02] local.INFO: IMEI packet received {"connection_id":163531,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 15:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":163531,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:47:04] local.INFO: TCP Data received {"connection_id":163531,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047dc6408012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047dc6408012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:47:04] local.INFO: Processing buffer {"connection_id":163531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047dc6408012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:47:04] local.INFO: Packet analysis {"connection_id":163531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047dc"} 
[2026-08-28 15:47:04] local.INFO: Extracted packet for processing {"connection_id":163531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047dc"} 
[2026-08-28 15:47:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705400320001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:47:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787912021000,"timestamp_ms":1787912021000,"timestamp_seconds":1787912021,"priority":1,"record_length":96,"hex_timestamp":"000001a047dc6408"} 
[2026-08-28 15:47:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:47:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:47:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:47:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:47:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":163531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":163531,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":163531,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:47:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705400320001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705400320001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:47:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:47:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705400320001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:47:04] 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":708422,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:47:04] local.INFO: GPS data processed {"connection_id":163531,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:47:04] local.INFO: Acknowledgment sent {"connection_id":163531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:47:10] local.INFO: TCP Data received {"connection_id":163803,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:47:10] local.INFO: Processing buffer {"connection_id":163803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:47:10] local.INFO: IMEI packet received {"connection_id":163803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 15:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":163803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:47:13] local.INFO: TCP Data received {"connection_id":163802,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047de7360012d34c14006aa4840000c00e62b..."} 
[2026-08-28 15:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047de7360012d34c14006aa4840000c00e62b..."} 
[2026-08-28 15:47:13] local.INFO: Processing buffer {"connection_id":163802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047de7360012d34c14006aa4840000c00e62b..."} 
[2026-08-28 15:47:13] local.INFO: Packet analysis {"connection_id":163802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047de"} 
[2026-08-28 15:47:13] local.INFO: Extracted packet for processing {"connection_id":163802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047de"} 
[2026-08-28 15:47:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705434880001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:47:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:47:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787912156000,"timestamp_ms":1787912156000,"timestamp_seconds":1787912156,"priority":1,"record_length":96,"hex_timestamp":"000001a047de7360"} 
[2026-08-28 15: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-28 15:47: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-28 15: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":86,"data_length":795,"current_offset":136} 
[2026-08-28 15:47: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-28 15: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-28 15: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-28 15:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705434880001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705434880001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:47:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:47:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15: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-28 15:47:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705434880001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:47: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":708423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:47:13] local.INFO: GPS data processed {"connection_id":163802,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:47:13] local.INFO: Acknowledgment sent {"connection_id":163802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:47:16] local.INFO: TCP Data received {"connection_id":163803,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:47:16] local.INFO: Processing buffer {"connection_id":163803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:47:16] local.INFO: IMEI packet received {"connection_id":163803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:47:16] local.INFO: IMEI acknowledgment sent {"connection_id":163803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:47:19] local.INFO: TCP Data received {"connection_id":163803,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047dbc7c8012d17c90007213358003d00d329..."} 
[2026-08-28 15:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047dbc7c8012d17c90007213358003d00d329..."} 
[2026-08-28 15:47:19] local.INFO: Processing buffer {"connection_id":163803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047dbc7c8012d17c90007213358003d00d329..."} 
[2026-08-28 15:47:19] local.INFO: Packet analysis {"connection_id":163803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047db"} 
[2026-08-28 15:47:19] local.INFO: Extracted packet for processing {"connection_id":163803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047db"} 
[2026-08-28 15:47:19] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616344,"longitude_deg":75.6533504,"latitude_deg":11.9616344,"altitude":61,"angle":211,"satellites":41,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213358","is_valid_coordinates":true} 
[2026-08-28 15:47:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:47:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705461760001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:47:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15934732395085824,"note":"Value kept but may cause issues"} 
[2026-08-28 15:47:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812968448,"note":"Value kept but may cause issues"} 
[2026-08-28 15:47:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:47:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787911981000,"timestamp_ms":1787911981000,"timestamp_seconds":1787911981,"priority":1,"record_length":96,"hex_timestamp":"000001a047dbc7c8"} 
[2026-08-28 15:47:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:47:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15:47:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-28 15:47:19] 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-28 15:47:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:47:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:47:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:47:19] local.INFO: Teltonika packet parsed successfully {"connection_id":163803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:47:19] local.INFO: Passing IMEI to GPS processor {"connection_id":163803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:47:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":163803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:47:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:47:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:47:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:47:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705461760001,"66":12613,"122":206,"28":31744,"24":0,"16":15934732395085824,"45":1713901163812968448},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-28 15:47:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:47:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:47:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705461760001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:47:19] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-28 15:47:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:47:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15934732395085824,"km_value":15934732395085.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:47:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812968448,"description":"Unknown IO ID 45"} 
[2026-08-28 15:47:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705461760001,"power":12613,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1713901163812968448}} 
[2026-08-28 15:47:19] 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":708424,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:47:19] local.INFO: GPS data processed {"connection_id":163803,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:47:19] local.INFO: Acknowledgment sent {"connection_id":163803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:47:31] local.INFO: TCP Data received {"connection_id":163532,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:47:31] local.INFO: Processing buffer {"connection_id":163532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:47:31] local.INFO: IMEI packet received {"connection_id":163532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 15:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":163532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:47:35] local.INFO: TCP Data received {"connection_id":163532,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:47:35] local.INFO: Processing buffer {"connection_id":163532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:47:35] local.INFO: IMEI packet received {"connection_id":163532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 15:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":163532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:47:35] local.INFO: TCP Data received {"connection_id":163531,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047dc6408012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047dc6408012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:47:35] local.INFO: Processing buffer {"connection_id":163531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047dc6408012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:47:35] local.INFO: Packet analysis {"connection_id":163531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047dc"} 
[2026-08-28 15:47:35] local.INFO: Extracted packet for processing {"connection_id":163531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047dc"} 
[2026-08-28 15:47:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705400320001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787912021000,"timestamp_ms":1787912021000,"timestamp_seconds":1787912021,"priority":1,"record_length":96,"hex_timestamp":"000001a047dc6408"} 
[2026-08-28 15:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:47:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:47:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:47:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163531,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163531,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705400320001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705400320001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:47:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:47:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705400320001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:47:36] 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":708425,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:47:36] local.INFO: GPS data processed {"connection_id":163531,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:47:36] local.INFO: Acknowledgment sent {"connection_id":163531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:47:38] local.INFO: TCP Data received {"connection_id":163532,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047de7360012d34c14006aa4840000c00e62b..."} 
[2026-08-28 15:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047de7360012d34c14006aa4840000c00e62b..."} 
[2026-08-28 15:47:38] local.INFO: Processing buffer {"connection_id":163532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047de7360012d34c14006aa4840000c00e62b..."} 
[2026-08-28 15:47:38] local.INFO: Packet analysis {"connection_id":163532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047de"} 
[2026-08-28 15:47:38] local.INFO: Extracted packet for processing {"connection_id":163532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047de"} 
[2026-08-28 15:47:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705434880001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787912156000,"timestamp_ms":1787912156000,"timestamp_seconds":1787912156,"priority":1,"record_length":96,"hex_timestamp":"000001a047de7360"} 
[2026-08-28 15:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:47: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-28 15:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 15:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:47:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705434880001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705434880001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:47:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:47:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:47: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-28 15:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705434880001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:47:38] 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":708426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:47:38] local.INFO: GPS data processed {"connection_id":163532,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:47:38] local.INFO: Acknowledgment sent {"connection_id":163532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:47:50] local.INFO: TCP Data received {"connection_id":163803,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047dc19d0012d17c90007213358003d00d32a..."} 
[2026-08-28 15:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047dc19d0012d17c90007213358003d00d32a..."} 
[2026-08-28 15:47:50] local.INFO: Processing buffer {"connection_id":163803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047dc19d0012d17c90007213358003d00d32a..."} 
[2026-08-28 15:47:50] local.INFO: Packet analysis {"connection_id":163803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047dc"} 
[2026-08-28 15:47:50] local.INFO: Extracted packet for processing {"connection_id":163803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047dc"} 
[2026-08-28 15:47:50] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616344,"longitude_deg":75.6533504,"latitude_deg":11.9616344,"altitude":61,"angle":211,"satellites":42,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213358","is_valid_coordinates":true} 
[2026-08-28 15:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:47:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705467136001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:47:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15934732395085824,"note":"Value kept but may cause issues"} 
[2026-08-28 15:47:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812968448,"note":"Value kept but may cause issues"} 
[2026-08-28 15:47:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:47:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787912002000,"timestamp_ms":1787912002000,"timestamp_seconds":1787912002,"priority":1,"record_length":96,"hex_timestamp":"000001a047dc19d0"} 
[2026-08-28 15:47:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:47:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-28 15:47:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15: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-28 15: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-28 15:47:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:47:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:47:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:47:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:47:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:47:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:47:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:47:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705467136001,"66":12613,"122":206,"28":31744,"24":0,"16":15934732395085824,"45":1713901163812968448},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-28 15:47:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:47:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:47:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705467136001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:47:51] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-28 15:47:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:47:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15934732395085824,"km_value":15934732395085.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:47:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812968448,"description":"Unknown IO ID 45"} 
[2026-08-28 15:47:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705467136001,"power":12613,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1713901163812968448}} 
[2026-08-28 15:47: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":708427,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:47:51] local.INFO: GPS data processed {"connection_id":163803,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:47:51] local.INFO: Acknowledgment sent {"connection_id":163803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:47:56] local.INFO: TCP Data received {"connection_id":163804,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163804,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:47:56] local.INFO: Processing buffer {"connection_id":163804,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:47:56] local.INFO: IMEI packet received {"connection_id":163804,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 15:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":163804,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:48:02] local.INFO: TCP Data received {"connection_id":163804,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163804,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:48:02] local.INFO: Processing buffer {"connection_id":163804,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:48:02] local.INFO: IMEI packet received {"connection_id":163804,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 15:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":163804,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:48:04] local.INFO: TCP Data received {"connection_id":163804,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047dc6408012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047dc6408012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:48:04] local.INFO: Processing buffer {"connection_id":163804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047dc6408012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:48:04] local.INFO: Packet analysis {"connection_id":163804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047dc"} 
[2026-08-28 15:48:04] local.INFO: Extracted packet for processing {"connection_id":163804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047dc"} 
[2026-08-28 15:48:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705400320001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:48:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787912021000,"timestamp_ms":1787912021000,"timestamp_seconds":1787912021,"priority":1,"record_length":96,"hex_timestamp":"000001a047dc6408"} 
[2026-08-28 15:48:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:48:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:48:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:48:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:48:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":163804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":163804,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":163804,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:48:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705400320001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705400320001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:48:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:48:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705400320001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":163804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708428,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:48:04] local.INFO: GPS data processed {"connection_id":163804,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:48:04] local.INFO: Acknowledgment sent {"connection_id":163804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:48:09] local.INFO: TCP Data received {"connection_id":163532,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047de7360012d34c14006aa4840000c00e62b..."} 
[2026-08-28 15:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047de7360012d34c14006aa4840000c00e62b..."} 
[2026-08-28 15:48:09] local.INFO: Processing buffer {"connection_id":163532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047de7360012d34c14006aa4840000c00e62b..."} 
[2026-08-28 15:48:09] local.INFO: Packet analysis {"connection_id":163532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047de"} 
[2026-08-28 15:48:09] local.INFO: Extracted packet for processing {"connection_id":163532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047de"} 
[2026-08-28 15:48:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705434880001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:48:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:48:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787912156000,"timestamp_ms":1787912156000,"timestamp_seconds":1787912156,"priority":1,"record_length":96,"hex_timestamp":"000001a047de7360"} 
[2026-08-28 15:48:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:48: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-28 15:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 15:48:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:48:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:48:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:48:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705434880001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705434880001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:48:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:48:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:48: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-28 15:48:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705434880001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:48:09] 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":708429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:48:09] local.INFO: GPS data processed {"connection_id":163532,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:48:09] local.INFO: Acknowledgment sent {"connection_id":163532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:48:10] local.INFO: TCP Data received {"connection_id":163533,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163533,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:48:10] local.INFO: Processing buffer {"connection_id":163533,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:48:10] local.INFO: IMEI packet received {"connection_id":163533,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 15:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":163533,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:48:12] local.INFO: TCP Data received {"connection_id":163533,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163533,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:48:12] local.INFO: Processing buffer {"connection_id":163533,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:48:12] local.INFO: IMEI packet received {"connection_id":163533,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:48:12] local.INFO: IMEI acknowledgment sent {"connection_id":163533,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:48:15] local.INFO: TCP Data received {"connection_id":163533,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163533,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:48:15] local.INFO: Processing buffer {"connection_id":163533,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:48:15] local.INFO: IMEI packet received {"connection_id":163533,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":163533,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:48:17] local.INFO: TCP Data received {"connection_id":163533,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047dc6bd8012d17c90007213358003d00d32b..."} 
[2026-08-28 15:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047dc6bd8012d17c90007213358003d00d32b..."} 
[2026-08-28 15:48:17] local.INFO: Processing buffer {"connection_id":163533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047dc6bd8012d17c90007213358003d00d32b..."} 
[2026-08-28 15:48:17] local.INFO: Packet analysis {"connection_id":163533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047dc"} 
[2026-08-28 15:48:17] local.INFO: Extracted packet for processing {"connection_id":163533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047dc"} 
[2026-08-28 15:48:17] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616344,"longitude_deg":75.6533504,"latitude_deg":11.9616344,"altitude":61,"angle":211,"satellites":43,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213358","is_valid_coordinates":true} 
[2026-08-28 15:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:48:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705472512001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:48:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15934732395085824,"note":"Value kept but may cause issues"} 
[2026-08-28 15:48:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812968448,"note":"Value kept but may cause issues"} 
[2026-08-28 15:48:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:48:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787912023000,"timestamp_ms":1787912023000,"timestamp_seconds":1787912023,"priority":1,"record_length":96,"hex_timestamp":"000001a047dc6bd8"} 
[2026-08-28 15:48:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:48:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-28 15:48:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:48:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:48:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:48:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:48:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:48:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:48:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:48:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:48:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:48:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:48:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705472512001,"66":12667,"122":206,"28":31744,"24":0,"16":15934732395085824,"45":1713901163812968448},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-28 15:48:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:48:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:48:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705472512001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:48:17] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-28 15:48:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:48:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15934732395085824,"km_value":15934732395085.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:48:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812968448,"description":"Unknown IO ID 45"} 
[2026-08-28 15:48:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705472512001,"power":12667,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1713901163812968448}} 
[2026-08-28 15:48:17] 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":708430,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:48:17] local.INFO: GPS data processed {"connection_id":163533,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:48:17] local.INFO: Acknowledgment sent {"connection_id":163533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:48:30] local.INFO: TCP Data received {"connection_id":164794,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:48:30] local.INFO: Processing buffer {"connection_id":164794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:48:30] local.INFO: IMEI packet received {"connection_id":164794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 15:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":164794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:48:36] local.INFO: TCP Data received {"connection_id":164794,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:48:36] local.INFO: Processing buffer {"connection_id":164794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:48:36] local.INFO: IMEI packet received {"connection_id":164794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 15:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":164794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:48:36] local.INFO: TCP Data received {"connection_id":163804,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047dc6408012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047dc6408012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:48:36] local.INFO: Processing buffer {"connection_id":163804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047dc6408012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:48:36] local.INFO: Packet analysis {"connection_id":163804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047dc"} 
[2026-08-28 15:48:36] local.INFO: Extracted packet for processing {"connection_id":163804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047dc"} 
[2026-08-28 15:48:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705400320001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:48:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:48:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787912021000,"timestamp_ms":1787912021000,"timestamp_seconds":1787912021,"priority":1,"record_length":96,"hex_timestamp":"000001a047dc6408"} 
[2026-08-28 15:48:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:48:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:48:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:48:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:48:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163804,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163804,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:48:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:48:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705400320001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:48:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:48:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:48:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705400320001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:48:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:48:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:48:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:48:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:48:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705400320001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":163804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708431,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:48:36] local.INFO: GPS data processed {"connection_id":163804,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:48:36] local.INFO: Acknowledgment sent {"connection_id":163804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:48:41] local.INFO: TCP Data received {"connection_id":164794,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047de7360012d34c14006aa4840000c00e62b..."} 
[2026-08-28 15:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047de7360012d34c14006aa4840000c00e62b..."} 
[2026-08-28 15:48:41] local.INFO: Processing buffer {"connection_id":164794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047de7360012d34c14006aa4840000c00e62b..."} 
[2026-08-28 15:48:41] local.INFO: Packet analysis {"connection_id":164794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047de"} 
[2026-08-28 15:48:41] local.INFO: Extracted packet for processing {"connection_id":164794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047de"} 
[2026-08-28 15:48:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705434880001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:48:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:48:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787912156000,"timestamp_ms":1787912156000,"timestamp_seconds":1787912156,"priority":1,"record_length":96,"hex_timestamp":"000001a047de7360"} 
[2026-08-28 15: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-28 15:48: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-28 15:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 15:48:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15: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-28 15: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-28 15:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":164794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":164794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":164794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:48:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705434880001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705434880001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:48:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:48:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15: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-28 15:48:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705434880001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:48:41] 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":708432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:48:41] local.INFO: GPS data processed {"connection_id":164794,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:48:41] local.INFO: Acknowledgment sent {"connection_id":164794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:48:48] local.INFO: TCP Data received {"connection_id":163533,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047dcbde0012d17c90007213358003d00d32a..."} 
[2026-08-28 15:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047dcbde0012d17c90007213358003d00d32a..."} 
[2026-08-28 15:48:48] local.INFO: Processing buffer {"connection_id":163533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047dcbde0012d17c90007213358003d00d32a..."} 
[2026-08-28 15:48:48] local.INFO: Packet analysis {"connection_id":163533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047dc"} 
[2026-08-28 15:48:48] local.INFO: Extracted packet for processing {"connection_id":163533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047dc"} 
[2026-08-28 15:48:48] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616344,"longitude_deg":75.6533504,"latitude_deg":11.9616344,"altitude":61,"angle":211,"satellites":42,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213358","is_valid_coordinates":true} 
[2026-08-28 15:48:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:48:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705477888001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:48:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15934732395085824,"note":"Value kept but may cause issues"} 
[2026-08-28 15:48:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812968448,"note":"Value kept but may cause issues"} 
[2026-08-28 15:48:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:48:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787912044000,"timestamp_ms":1787912044000,"timestamp_seconds":1787912044,"priority":1,"record_length":96,"hex_timestamp":"000001a047dcbde0"} 
[2026-08-28 15:48:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:48:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15:48:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-28 15:48:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:48:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:48:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:48:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:48:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:48:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:48:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:48:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:48:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:48:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:48:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705477888001,"66":12645,"122":206,"28":31744,"24":0,"16":15934732395085824,"45":1713901163812968448},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-28 15:48:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:48:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:48:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705477888001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:48:48] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-28 15:48:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:48:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15934732395085824,"km_value":15934732395085.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:48:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812968448,"description":"Unknown IO ID 45"} 
[2026-08-28 15:48:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705477888001,"power":12645,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1713901163812968448}} 
[2026-08-28 15:48:48] 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":708433,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:48:48] local.INFO: GPS data processed {"connection_id":163533,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:48:48] local.INFO: Acknowledgment sent {"connection_id":163533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:49:02] local.INFO: TCP Data received {"connection_id":163805,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163805,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:49:02] local.INFO: Processing buffer {"connection_id":163805,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:49:02] local.INFO: IMEI packet received {"connection_id":163805,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 15:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":163805,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:49:07] local.INFO: TCP Data received {"connection_id":163805,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163805,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:49:07] local.INFO: Processing buffer {"connection_id":163805,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:49:07] local.INFO: IMEI packet received {"connection_id":163805,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 15:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":163805,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:49:09] local.INFO: TCP Data received {"connection_id":163805,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047dc6408012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047dc6408012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:49:09] local.INFO: Processing buffer {"connection_id":163805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047dc6408012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:49:09] local.INFO: Packet analysis {"connection_id":163805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047dc"} 
[2026-08-28 15:49:09] local.INFO: Extracted packet for processing {"connection_id":163805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047dc"} 
[2026-08-28 15:49:09] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705400320001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:49:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787912021000,"timestamp_ms":1787912021000,"timestamp_seconds":1787912021,"priority":1,"record_length":96,"hex_timestamp":"000001a047dc6408"} 
[2026-08-28 15:49:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:49:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:49: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-28 15:49:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:49:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163805,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163805,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:49:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705400320001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705400320001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:49:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:49:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705400320001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":163805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708434,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:49:09] local.INFO: GPS data processed {"connection_id":163805,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:49:09] local.INFO: Acknowledgment sent {"connection_id":163805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:49:13] local.INFO: TCP Data received {"connection_id":163805,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047dc6408012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047dc6408012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:49:13] local.INFO: Processing buffer {"connection_id":163805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047dc6408012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:49:13] local.INFO: Packet analysis {"connection_id":163805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047dc"} 
[2026-08-28 15:49:13] local.INFO: Extracted packet for processing {"connection_id":163805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047dc"} 
[2026-08-28 15:49:13] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:49:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705400320001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:49:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:49:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:49:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:49:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787912021000,"timestamp_ms":1787912021000,"timestamp_seconds":1787912021,"priority":1,"record_length":96,"hex_timestamp":"000001a047dc6408"} 
[2026-08-28 15: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-28 15:49:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15: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":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:49:13] 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-28 15: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-28 15: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-28 15:49:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:49:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:49:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163805,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:49:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163805,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:49:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:49:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:49:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:49:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705400320001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:49:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:49:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:49:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705400320001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:49:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:49:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:49:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:49:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:49:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705400320001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:49:13] local.INFO: DEBUG: GPS processor result {"connection_id":163805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708435,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:49:13] local.INFO: GPS data processed {"connection_id":163805,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:49:13] local.INFO: Acknowledgment sent {"connection_id":163805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:49:14] local.INFO: TCP Data received {"connection_id":164794,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047de7360012d34c14006aa4840000c00e62b..."} 
[2026-08-28 15:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047de7360012d34c14006aa4840000c00e62b..."} 
[2026-08-28 15:49:14] local.INFO: Processing buffer {"connection_id":164794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047de7360012d34c14006aa4840000c00e62b..."} 
[2026-08-28 15:49:14] local.INFO: Packet analysis {"connection_id":164794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047de"} 
[2026-08-28 15:49:14] local.INFO: Extracted packet for processing {"connection_id":164794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047de"} 
[2026-08-28 15:49:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:49:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705434880001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:49:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:49:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:49:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:49:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787912156000,"timestamp_ms":1787912156000,"timestamp_seconds":1787912156,"priority":1,"record_length":96,"hex_timestamp":"000001a047de7360"} 
[2026-08-28 15: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-28 15: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-28 15: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":86,"data_length":795,"current_offset":136} 
[2026-08-28 15:49: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-28 15: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-28 15: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-28 15:49:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:49:14] local.INFO: Teltonika packet parsed successfully {"connection_id":164794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:49:14] local.INFO: Passing IMEI to GPS processor {"connection_id":164794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:49:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":164794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:49:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:49:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:49:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:49:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705434880001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:49:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:49:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:49:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705434880001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:49:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:49:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15: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-28 15:49:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:49:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705434880001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:49:14] 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":708436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:49:14] local.INFO: GPS data processed {"connection_id":164794,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:49:14] local.INFO: Acknowledgment sent {"connection_id":164794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:49:15] local.INFO: TCP Data received {"connection_id":164795,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164795,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:49:15] local.INFO: Processing buffer {"connection_id":164795,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:49:15] local.INFO: IMEI packet received {"connection_id":164795,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 15:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":164795,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:49:16] local.INFO: TCP Data received {"connection_id":164795,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164795,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:49:16] local.INFO: Processing buffer {"connection_id":164795,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:49:16] local.INFO: IMEI packet received {"connection_id":164795,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:49:16] local.INFO: IMEI acknowledgment sent {"connection_id":164795,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:49:21] local.INFO: TCP Data received {"connection_id":164795,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164795,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:49:21] local.INFO: Processing buffer {"connection_id":164795,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:49:21] local.INFO: IMEI packet received {"connection_id":164795,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:49:21] local.INFO: IMEI acknowledgment sent {"connection_id":164795,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:49:23] local.INFO: TCP Data received {"connection_id":164795,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047e04438012d17c90007213358003d00d32a..."} 
[2026-08-28 15:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047e04438012d17c90007213358003d00d32a..."} 
[2026-08-28 15:49:23] local.INFO: Processing buffer {"connection_id":164795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047e04438012d17c90007213358003d00d32a..."} 
[2026-08-28 15:49:23] local.INFO: Packet analysis {"connection_id":164795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047e0"} 
[2026-08-28 15:49:23] local.INFO: Extracted packet for processing {"connection_id":164795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047e0"} 
[2026-08-28 15:49:23] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616344,"longitude_deg":75.6533504,"latitude_deg":11.9616344,"altitude":61,"angle":211,"satellites":42,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213358","is_valid_coordinates":true} 
[2026-08-28 15:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:49:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705537024001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:49:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15934732395085824,"note":"Value kept but may cause issues"} 
[2026-08-28 15:49:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812968448,"note":"Value kept but may cause issues"} 
[2026-08-28 15:49:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:49:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787912275000,"timestamp_ms":1787912275000,"timestamp_seconds":1787912275,"priority":1,"record_length":96,"hex_timestamp":"000001a047e04438"} 
[2026-08-28 15:49:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:49: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-28 15:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 15:49:23] 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-28 15:49:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:49:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:49:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:49:23] local.INFO: Teltonika packet parsed successfully {"connection_id":164795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:49:23] local.INFO: Passing IMEI to GPS processor {"connection_id":164795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:49:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":164795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:49:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:49:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:49:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:49:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705537024001,"66":12591,"122":206,"28":31744,"24":0,"16":15934732395085824,"45":1713901163812968448},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-28 15:49:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:49:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:49:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705537024001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:49:23] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-28 15:49:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:49:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15934732395085824,"km_value":15934732395085.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:49:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812968448,"description":"Unknown IO ID 45"} 
[2026-08-28 15:49:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705537024001,"power":12591,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1713901163812968448}} 
[2026-08-28 15:49:23] 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":708437,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:49:23] local.INFO: GPS data processed {"connection_id":164795,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:49:23] local.INFO: Acknowledgment sent {"connection_id":164795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:49:26] local.INFO: TCP Data received {"connection_id":164795,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047e09640012d17c90007213358003d00d328..."} 
[2026-08-28 15:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047e09640012d17c90007213358003d00d328..."} 
[2026-08-28 15:49:26] local.INFO: Processing buffer {"connection_id":164795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047e09640012d17c90007213358003d00d328..."} 
[2026-08-28 15:49:26] local.INFO: Packet analysis {"connection_id":164795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047e0"} 
[2026-08-28 15:49:26] local.INFO: Extracted packet for processing {"connection_id":164795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047e0"} 
[2026-08-28 15:49:26] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616344,"longitude_deg":75.6533504,"latitude_deg":11.9616344,"altitude":61,"angle":211,"satellites":40,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213358","is_valid_coordinates":true} 
[2026-08-28 15:49:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:49:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705542400001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:49:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15934732395085824,"note":"Value kept but may cause issues"} 
[2026-08-28 15:49:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812968448,"note":"Value kept but may cause issues"} 
[2026-08-28 15:49:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:49:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787912296000,"timestamp_ms":1787912296000,"timestamp_seconds":1787912296,"priority":1,"record_length":96,"hex_timestamp":"000001a047e09640"} 
[2026-08-28 15:49:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:49:26] 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-28 15:49:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-28 15:49:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:49:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:49:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:49:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:49:26] local.INFO: Teltonika packet parsed successfully {"connection_id":164795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:49:26] local.INFO: Passing IMEI to GPS processor {"connection_id":164795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:49:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":164795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:49:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:49:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:49:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:49:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705542400001,"66":12558,"122":206,"28":31744,"24":0,"16":15934732395085824,"45":1713901163812968448},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-28 15:49:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:49:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:49:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705542400001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:49:26] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-28 15:49:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:49:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15934732395085824,"km_value":15934732395085.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:49:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812968448,"description":"Unknown IO ID 45"} 
[2026-08-28 15:49:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705542400001,"power":12558,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1713901163812968448}} 
[2026-08-28 15:49:26] 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":708438,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:49:26] local.INFO: GPS data processed {"connection_id":164795,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:49:26] local.INFO: Acknowledgment sent {"connection_id":164795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:49:30] local.INFO: TCP Data received {"connection_id":163806,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:49:30] local.INFO: Processing buffer {"connection_id":163806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:49:30] local.INFO: IMEI packet received {"connection_id":163806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 15:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":163806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:49:36] local.INFO: TCP Data received {"connection_id":163806,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:49:36] local.INFO: Processing buffer {"connection_id":163806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:49:36] local.INFO: IMEI packet received {"connection_id":163806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 15:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":163806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:49:38] local.INFO: TCP Data received {"connection_id":163806,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047de7360012d34c14006aa4840000c00e62b..."} 
[2026-08-28 15:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047de7360012d34c14006aa4840000c00e62b..."} 
[2026-08-28 15:49:38] local.INFO: Processing buffer {"connection_id":163806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047de7360012d34c14006aa4840000c00e62b..."} 
[2026-08-28 15:49:38] local.INFO: Packet analysis {"connection_id":163806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047de"} 
[2026-08-28 15:49:38] local.INFO: Extracted packet for processing {"connection_id":163806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047de"} 
[2026-08-28 15:49:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705434880001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:49:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787912156000,"timestamp_ms":1787912156000,"timestamp_seconds":1787912156,"priority":1,"record_length":96,"hex_timestamp":"000001a047de7360"} 
[2026-08-28 15:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:49: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-28 15:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 15:49:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:49:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:49:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705434880001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705434880001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:49:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:49:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:49: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-28 15:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705434880001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":163806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:49:38] local.INFO: GPS data processed {"connection_id":163806,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:49:38] local.INFO: Acknowledgment sent {"connection_id":163806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:49:57] local.INFO: TCP Data received {"connection_id":166157,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166157,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:49:57] local.INFO: Processing buffer {"connection_id":166157,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:49:57] local.INFO: IMEI packet received {"connection_id":166157,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 15:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":166157,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:50:02] local.INFO: TCP Data received {"connection_id":166157,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166157,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:50:02] local.INFO: Processing buffer {"connection_id":166157,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:50:02] local.INFO: IMEI packet received {"connection_id":166157,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 15:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":166157,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:50:04] local.INFO: TCP Data received {"connection_id":166157,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047e0fbd0012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047e0fbd0012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:50:04] local.INFO: Processing buffer {"connection_id":166157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047e0fbd0012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:50:04] local.INFO: Packet analysis {"connection_id":166157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047e0"} 
[2026-08-28 15:50:04] local.INFO: Extracted packet for processing {"connection_id":166157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047e0"} 
[2026-08-28 15:50:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705477376001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:50:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787912322000,"timestamp_ms":1787912322000,"timestamp_seconds":1787912322,"priority":1,"record_length":96,"hex_timestamp":"000001a047e0fbd0"} 
[2026-08-28 15:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:50:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 15:50:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:50:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":166157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":166157,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":166157,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:50:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705477376001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705477376001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:50:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:50:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705477376001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":166157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708440,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:50:04] local.INFO: GPS data processed {"connection_id":166157,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:50:04] local.INFO: Acknowledgment sent {"connection_id":166157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:50:10] local.INFO: TCP Data received {"connection_id":163806,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047de7360012d34c14006aa4840000c00e62b..."} 
[2026-08-28 15:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047de7360012d34c14006aa4840000c00e62b..."} 
[2026-08-28 15:50:10] local.INFO: Processing buffer {"connection_id":163806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047de7360012d34c14006aa4840000c00e62b..."} 
[2026-08-28 15:50:10] local.INFO: Packet analysis {"connection_id":163806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047de"} 
[2026-08-28 15:50:10] local.INFO: Extracted packet for processing {"connection_id":163806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047de"} 
[2026-08-28 15:50:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705434880001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:50:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:50:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787912156000,"timestamp_ms":1787912156000,"timestamp_seconds":1787912156,"priority":1,"record_length":96,"hex_timestamp":"000001a047de7360"} 
[2026-08-28 15:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:50:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 15:50:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:50:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:50:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705434880001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705434880001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:50:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:50:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:50:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705434880001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":163806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:50:10] local.INFO: GPS data processed {"connection_id":163806,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:50:10] local.INFO: Acknowledgment sent {"connection_id":163806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:50:11] local.INFO: TCP Data received {"connection_id":163534,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:50:11] local.INFO: Processing buffer {"connection_id":163534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:50:11] local.INFO: IMEI packet received {"connection_id":163534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 15:50:11] local.INFO: IMEI acknowledgment sent {"connection_id":163534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:50:16] local.INFO: TCP Data received {"connection_id":163534,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:50:16] local.INFO: Processing buffer {"connection_id":163534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:50:16] local.INFO: IMEI packet received {"connection_id":163534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:50:16] local.INFO: IMEI acknowledgment sent {"connection_id":163534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:50:17] local.INFO: TCP Data received {"connection_id":163534,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047e0e848012d17c90007213358003d00d32b..."} 
[2026-08-28 15:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047e0e848012d17c90007213358003d00d32b..."} 
[2026-08-28 15:50:17] local.INFO: Processing buffer {"connection_id":163534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047e0e848012d17c90007213358003d00d32b..."} 
[2026-08-28 15:50:17] local.INFO: Packet analysis {"connection_id":163534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047e0"} 
[2026-08-28 15:50:17] local.INFO: Extracted packet for processing {"connection_id":163534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047e0"} 
[2026-08-28 15:50:17] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616344,"longitude_deg":75.6533504,"latitude_deg":11.9616344,"altitude":61,"angle":211,"satellites":43,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213358","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:50:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705547776001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:50:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15934732395085824,"note":"Value kept but may cause issues"} 
[2026-08-28 15:50:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812968448,"note":"Value kept but may cause issues"} 
[2026-08-28 15:50:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:50:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787912317000,"timestamp_ms":1787912317000,"timestamp_seconds":1787912317,"priority":1,"record_length":96,"hex_timestamp":"000001a047e0e848"} 
[2026-08-28 15: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-28 15:50:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-28 15:50:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-08-28 15:50:17] local.WARNING: Large IO value detected {"io_id":156,"raw_value":2382364672,"note":"Value kept but may cause issues"} 
[2026-08-28 15:50:17] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249286658127901528,"note":"Value kept but may cause issues"} 
[2026-08-28 15:50:17] local.WARNING: Large IO value detected {"io_id":71,"raw_value":3746439169,"note":"Value kept but may cause issues"} 
[2026-08-28 15:50:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883532494,"corrected_to":0} 
[2026-08-28 15:50:17] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2626551808,"note":"Value kept but may cause issues"} 
[2026-08-28 15:50:17] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8791253094361995264,"note":"Value kept but may cause issues"} 
[2026-08-28 15:50:17] local.WARNING: Large IO value detected {"io_id":77,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-28 15:50:17] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-08-28 15:50:17] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,122,28,24,241,158,16,156,160,68,45,51,61,42,10,66,242,41,1,240,14,71,33,4,113,205,252,201,88,239,49,2,56,7,231,77,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883532494,"validated":0}]} 
[2026-08-28 15:50:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395745405065756672,"timestamp_seconds":4395745405065756.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 15: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-28 15:50:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:50:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:50:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:50:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:50:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:50:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:50:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:50:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705547776001,"66":12580,"122":206,"28":31744,"24":0,"16":15934732395085824,"45":1713901163812968448},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-28 15:50:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:50:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:50:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705547776001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:50:17] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-28 15:50:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:50:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15934732395085824,"km_value":15934732395085.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:50:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812968448,"description":"Unknown IO ID 45"} 
[2026-08-28 15:50:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705547776001,"power":12580,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1713901163812968448}} 
[2026-08-28 15:50:17] 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":708442,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:50:17] local.INFO: GPS data processed {"connection_id":163534,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:50:17] local.INFO: Acknowledgment sent {"connection_id":163534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:50:36] local.INFO: TCP Data received {"connection_id":163807,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:50:36] local.INFO: Processing buffer {"connection_id":163807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:50:36] local.INFO: IMEI packet received {"connection_id":163807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 15:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":163807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:50:36] local.INFO: TCP Data received {"connection_id":166157,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047e0fbd0012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047e0fbd0012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:50:36] local.INFO: Processing buffer {"connection_id":166157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047e0fbd0012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:50:36] local.INFO: Packet analysis {"connection_id":166157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047e0"} 
[2026-08-28 15:50:36] local.INFO: Extracted packet for processing {"connection_id":166157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047e0"} 
[2026-08-28 15:50:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705477376001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:50:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787912322000,"timestamp_ms":1787912322000,"timestamp_seconds":1787912322,"priority":1,"record_length":96,"hex_timestamp":"000001a047e0fbd0"} 
[2026-08-28 15:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 15:50:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:50:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":166157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":166157,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":166157,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:50:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705477376001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705477376001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:50:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:50:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705477376001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":166157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708443,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:50:36] local.INFO: GPS data processed {"connection_id":166157,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:50:36] local.INFO: Acknowledgment sent {"connection_id":166157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:50:41] local.INFO: TCP Data received {"connection_id":163807,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:50:41] local.INFO: Processing buffer {"connection_id":163807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:50:41] local.INFO: IMEI packet received {"connection_id":163807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 15:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":163807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:50:42] local.INFO: TCP Data received {"connection_id":163807,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047de7360012d34c14006aa4840000c00e62b..."} 
[2026-08-28 15:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047de7360012d34c14006aa4840000c00e62b..."} 
[2026-08-28 15:50:42] local.INFO: Processing buffer {"connection_id":163807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047de7360012d34c14006aa4840000c00e62b..."} 
[2026-08-28 15:50:42] local.INFO: Packet analysis {"connection_id":163807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047de"} 
[2026-08-28 15:50:42] local.INFO: Extracted packet for processing {"connection_id":163807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047de"} 
[2026-08-28 15:50:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705434880001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:50:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:50:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787912156000,"timestamp_ms":1787912156000,"timestamp_seconds":1787912156,"priority":1,"record_length":96,"hex_timestamp":"000001a047de7360"} 
[2026-08-28 15: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-28 15:50: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-28 15: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":86,"data_length":795,"current_offset":136} 
[2026-08-28 15:50: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-28 15: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-28 15: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-28 15:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:50:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705434880001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705434880001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:50:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:50:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15: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-28 15:50:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705434880001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":163807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:50:42] local.INFO: GPS data processed {"connection_id":163807,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:50:42] local.INFO: Acknowledgment sent {"connection_id":163807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:50:46] local.INFO: TCP Data received {"connection_id":163807,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047de7360012d34c14006aa4840000c00e62b..."} 
[2026-08-28 15:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047de7360012d34c14006aa4840000c00e62b..."} 
[2026-08-28 15:50:46] local.INFO: Processing buffer {"connection_id":163807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047de7360012d34c14006aa4840000c00e62b..."} 
[2026-08-28 15:50:46] local.INFO: Packet analysis {"connection_id":163807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047de"} 
[2026-08-28 15:50:46] local.INFO: Extracted packet for processing {"connection_id":163807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047de"} 
[2026-08-28 15:50:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:50:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705434880001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:50:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:50:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:50:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:50:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787912156000,"timestamp_ms":1787912156000,"timestamp_seconds":1787912156,"priority":1,"record_length":96,"hex_timestamp":"000001a047de7360"} 
[2026-08-28 15: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-28 15:50: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-28 15: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 15:50: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-28 15: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-28 15: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-28 15:50:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:50:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:50:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:50:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:50:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:50:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:50:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:50:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705434880001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:50:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:50:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:50:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705434880001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:50:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:50:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:50: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-28 15:50:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:50:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705434880001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:50:46] local.INFO: DEBUG: GPS processor result {"connection_id":163807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:50:46] local.INFO: GPS data processed {"connection_id":163807,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:50:46] local.INFO: Acknowledgment sent {"connection_id":163807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:50:49] local.INFO: TCP Data received {"connection_id":163534,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047e13a50012d17c90007213358003d00d32a..."} 
[2026-08-28 15:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047e13a50012d17c90007213358003d00d32a..."} 
[2026-08-28 15:50:49] local.INFO: Processing buffer {"connection_id":163534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047e13a50012d17c90007213358003d00d32a..."} 
[2026-08-28 15:50:49] local.INFO: Packet analysis {"connection_id":163534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047e1"} 
[2026-08-28 15:50:49] local.INFO: Extracted packet for processing {"connection_id":163534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047e1"} 
[2026-08-28 15:50:49] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616344,"longitude_deg":75.6533504,"latitude_deg":11.9616344,"altitude":61,"angle":211,"satellites":42,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213358","is_valid_coordinates":true} 
[2026-08-28 15:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:50:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705553152001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:50:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15934732395085824,"note":"Value kept but may cause issues"} 
[2026-08-28 15:50:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812968448,"note":"Value kept but may cause issues"} 
[2026-08-28 15:50:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:50:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787912338000,"timestamp_ms":1787912338000,"timestamp_seconds":1787912338,"priority":1,"record_length":96,"hex_timestamp":"000001a047e13a50"} 
[2026-08-28 15:50:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:50:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-08-28 15:50:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:50:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:50:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:50:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:50:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:50:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:50:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:50:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:50:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:50:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:50:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705553152001,"66":12461,"122":206,"28":31744,"24":0,"16":15934732395085824,"45":1713901163812968448},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-28 15:50:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:50:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:50:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705553152001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:50:49] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-28 15:50:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:50:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15934732395085824,"km_value":15934732395085.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:50:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812968448,"description":"Unknown IO ID 45"} 
[2026-08-28 15:50:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705553152001,"power":12461,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1713901163812968448}} 
[2026-08-28 15:50:49] 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":708446,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:50:49] local.INFO: GPS data processed {"connection_id":163534,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:50:49] local.INFO: Acknowledgment sent {"connection_id":163534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:50:56] local.INFO: TCP Data received {"connection_id":163808,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163808,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:50:56] local.INFO: Processing buffer {"connection_id":163808,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:50:56] local.INFO: IMEI packet received {"connection_id":163808,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 15:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":163808,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:51:01] local.INFO: TCP Data received {"connection_id":163808,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163808,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:51:01] local.INFO: Processing buffer {"connection_id":163808,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:51:01] local.INFO: IMEI packet received {"connection_id":163808,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 15:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":163808,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:51:05] local.INFO: TCP Data received {"connection_id":163808,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047e0fbd0012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047e0fbd0012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:51:05] local.INFO: Processing buffer {"connection_id":163808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047e0fbd0012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:51:05] local.INFO: Packet analysis {"connection_id":163808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047e0"} 
[2026-08-28 15:51:05] local.INFO: Extracted packet for processing {"connection_id":163808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047e0"} 
[2026-08-28 15:51:05] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705477376001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787912322000,"timestamp_ms":1787912322000,"timestamp_seconds":1787912322,"priority":1,"record_length":96,"hex_timestamp":"000001a047e0fbd0"} 
[2026-08-28 15:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:51:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 15:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:51:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":163808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":163808,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":163808,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:51:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705477376001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705477376001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:51:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:51:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705477376001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":163808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708447,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:51:05] local.INFO: GPS data processed {"connection_id":163808,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:51:05] local.INFO: Acknowledgment sent {"connection_id":163808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:51:11] local.INFO: TCP Data received {"connection_id":164796,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164796,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:51:11] local.INFO: Processing buffer {"connection_id":164796,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:51:11] local.INFO: IMEI packet received {"connection_id":164796,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 15:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":164796,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:51:15] local.INFO: TCP Data received {"connection_id":164796,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164796,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:51:15] local.INFO: Processing buffer {"connection_id":164796,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:51:15] local.INFO: IMEI packet received {"connection_id":164796,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:51:15] local.INFO: IMEI acknowledgment sent {"connection_id":164796,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:51:17] local.INFO: TCP Data received {"connection_id":164796,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047e18c58012d17c90007213358003d00d328..."} 
[2026-08-28 15:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047e18c58012d17c90007213358003d00d328..."} 
[2026-08-28 15:51:17] local.INFO: Processing buffer {"connection_id":164796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047e18c58012d17c90007213358003d00d328..."} 
[2026-08-28 15:51:17] local.INFO: Packet analysis {"connection_id":164796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047e1"} 
[2026-08-28 15:51:17] local.INFO: Extracted packet for processing {"connection_id":164796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047e1"} 
[2026-08-28 15:51:17] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616344,"longitude_deg":75.6533504,"latitude_deg":11.9616344,"altitude":61,"angle":211,"satellites":40,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213358","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:51:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705558528001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:51:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15934732395085824,"note":"Value kept but may cause issues"} 
[2026-08-28 15:51:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812968448,"note":"Value kept but may cause issues"} 
[2026-08-28 15:51:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:51:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787912359000,"timestamp_ms":1787912359000,"timestamp_seconds":1787912359,"priority":1,"record_length":96,"hex_timestamp":"000001a047e18c58"} 
[2026-08-28 15: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-28 15:51:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 15:51: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-28 15: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-28 15: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-28 15:51:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:51:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:51:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164796,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:51:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164796,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:51:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:51:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:51:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:51:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705558528001,"66":12548,"122":206,"28":31744,"24":0,"16":15934732395085824,"45":1713901163812968448},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-28 15:51:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:51:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:51:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705558528001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:51:17] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-28 15:51:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:51:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15934732395085824,"km_value":15934732395085.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:51:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812968448,"description":"Unknown IO ID 45"} 
[2026-08-28 15:51:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705558528001,"power":12548,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1713901163812968448}} 
[2026-08-28 15:51:17] 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":708448,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:51:17] local.INFO: GPS data processed {"connection_id":164796,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:51:17] local.INFO: Acknowledgment sent {"connection_id":164796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:51:31] local.INFO: TCP Data received {"connection_id":164797,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:51:31] local.INFO: Processing buffer {"connection_id":164797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:51:31] local.INFO: IMEI packet received {"connection_id":164797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 15:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":164797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:51:35] local.INFO: TCP Data received {"connection_id":164797,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:51:35] local.INFO: Processing buffer {"connection_id":164797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:51:35] local.INFO: IMEI packet received {"connection_id":164797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 15:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":164797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:51:36] local.INFO: TCP Data received {"connection_id":163808,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047e0fbd0012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047e0fbd0012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:51:36] local.INFO: Processing buffer {"connection_id":163808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047e0fbd0012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:51:36] local.INFO: Packet analysis {"connection_id":163808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047e0"} 
[2026-08-28 15:51:36] local.INFO: Extracted packet for processing {"connection_id":163808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047e0"} 
[2026-08-28 15:51:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705477376001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787912322000,"timestamp_ms":1787912322000,"timestamp_seconds":1787912322,"priority":1,"record_length":96,"hex_timestamp":"000001a047e0fbd0"} 
[2026-08-28 15:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 15:51:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:51:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163808,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163808,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705477376001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705477376001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:51:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:51:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705477376001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":163808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708449,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:51:36] local.INFO: GPS data processed {"connection_id":163808,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:51:36] local.INFO: Acknowledgment sent {"connection_id":163808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:51:38] local.INFO: TCP Data received {"connection_id":164797,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047e30b28012d34c14006aa4840000c00e62d..."} 
[2026-08-28 15:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047e30b28012d34c14006aa4840000c00e62d..."} 
[2026-08-28 15:51:38] local.INFO: Processing buffer {"connection_id":164797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047e30b28012d34c14006aa4840000c00e62d..."} 
[2026-08-28 15:51:38] local.INFO: Packet analysis {"connection_id":164797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047e3"} 
[2026-08-28 15:51:38] local.INFO: Extracted packet for processing {"connection_id":164797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047e3"} 
[2026-08-28 15:51:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705511936001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:51:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787912457000,"timestamp_ms":1787912457000,"timestamp_seconds":1787912457,"priority":1,"record_length":96,"hex_timestamp":"000001a047e30b28"} 
[2026-08-28 15:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:51: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-28 15:51:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:51:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705511936001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705511936001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:51:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:51:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:51: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-28 15:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705511936001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":164797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:51:38] local.INFO: GPS data processed {"connection_id":164797,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:51:38] local.INFO: Acknowledgment sent {"connection_id":164797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:51:41] local.INFO: TCP Data received {"connection_id":164797,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047e30b28012d34c14006aa4840000c00e62d..."} 
[2026-08-28 15:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047e30b28012d34c14006aa4840000c00e62d..."} 
[2026-08-28 15:51:41] local.INFO: Processing buffer {"connection_id":164797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047e30b28012d34c14006aa4840000c00e62d..."} 
[2026-08-28 15:51:41] local.INFO: Packet analysis {"connection_id":164797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047e3"} 
[2026-08-28 15:51:41] local.INFO: Extracted packet for processing {"connection_id":164797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047e3"} 
[2026-08-28 15:51:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:51:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705511936001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:51:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:51:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:51:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:51:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787912457000,"timestamp_ms":1787912457000,"timestamp_seconds":1787912457,"priority":1,"record_length":96,"hex_timestamp":"000001a047e30b28"} 
[2026-08-28 15: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-28 15:51:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:51:41] 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-28 15: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-28 15: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-28 15:51:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:51:41] local.INFO: Teltonika packet parsed successfully {"connection_id":164797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:51:41] local.INFO: Passing IMEI to GPS processor {"connection_id":164797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:51:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":164797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:51:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:51:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:51:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:51:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705511936001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:51:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:51:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:51:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705511936001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:51:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:51:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15: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-28 15:51:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:51:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705511936001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:51:41] local.INFO: DEBUG: GPS processor result {"connection_id":164797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:51:41] local.INFO: GPS data processed {"connection_id":164797,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:51:41] local.INFO: Acknowledgment sent {"connection_id":164797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:51:48] local.INFO: TCP Data received {"connection_id":164796,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047e1de60012d17c90007213358003d00d329..."} 
[2026-08-28 15:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047e1de60012d17c90007213358003d00d329..."} 
[2026-08-28 15:51:48] local.INFO: Processing buffer {"connection_id":164796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047e1de60012d17c90007213358003d00d329..."} 
[2026-08-28 15:51:48] local.INFO: Packet analysis {"connection_id":164796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047e1"} 
[2026-08-28 15:51:48] local.INFO: Extracted packet for processing {"connection_id":164796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047e1"} 
[2026-08-28 15:51:48] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616344,"longitude_deg":75.6533504,"latitude_deg":11.9616344,"altitude":61,"angle":211,"satellites":41,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213358","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:51:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705563904001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:51:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15934732395085824,"note":"Value kept but may cause issues"} 
[2026-08-28 15:51:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812968448,"note":"Value kept but may cause issues"} 
[2026-08-28 15:51:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:51:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787912380000,"timestamp_ms":1787912380000,"timestamp_seconds":1787912380,"priority":1,"record_length":96,"hex_timestamp":"000001a047e1de60"} 
[2026-08-28 15: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-28 15:51:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15:51:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-28 15:51:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-28 15:51:48] local.WARNING: Large IO value detected {"io_id":156,"raw_value":2382364672,"note":"Value kept but may cause issues"} 
[2026-08-28 15:51:48] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197685453,"note":"Value kept but may cause issues"} 
[2026-08-28 15:51:48] local.WARNING: Large IO value detected {"io_id":71,"raw_value":3762567169,"note":"Value kept but may cause issues"} 
[2026-08-28 15:51:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883532494,"corrected_to":0} 
[2026-08-28 15:51:48] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2902511079,"note":"Value kept but may cause issues"} 
[2026-08-28 15:51:48] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2626551808,"note":"Value kept but may cause issues"} 
[2026-08-28 15:51:48] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8791253094361995264,"note":"Value kept but may cause issues"} 
[2026-08-28 15:51:48] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,122,28,24,241,158,16,156,160,58,45,51,61,42,10,66,232,43,150,1,240,14,71,33,4,113,205,242,201,88,41,239,48,2,56,7,231],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883532494,"validated":0}]} 
[2026-08-28 15:51:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395745405065756672,"timestamp_seconds":4395745405065756.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 15: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-28 15:51:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:51:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:51:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164796,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:51:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164796,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:51:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:51:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:51:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:51:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705563904001,"66":12461,"122":206,"28":31744,"24":0,"16":15934732395085824,"45":1713901163812968448},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-28 15:51:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:51:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:51:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705563904001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:51:48] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-28 15:51:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:51:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15934732395085824,"km_value":15934732395085.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:51:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812968448,"description":"Unknown IO ID 45"} 
[2026-08-28 15:51:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705563904001,"power":12461,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1713901163812968448}} 
[2026-08-28 15:51:48] 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":708452,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:51:48] local.INFO: GPS data processed {"connection_id":164796,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:51:48] local.INFO: Acknowledgment sent {"connection_id":164796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:52:01] local.INFO: TCP Data received {"connection_id":166158,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166158,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:52:01] local.INFO: Processing buffer {"connection_id":166158,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:52:01] local.INFO: IMEI packet received {"connection_id":166158,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 15:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":166158,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:52:06] local.INFO: TCP Data received {"connection_id":166158,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166158,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:52:06] local.INFO: Processing buffer {"connection_id":166158,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:52:06] local.INFO: IMEI packet received {"connection_id":166158,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 15:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":166158,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:52:08] local.INFO: TCP Data received {"connection_id":166158,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047e0fbd0012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047e0fbd0012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:52:08] local.INFO: Processing buffer {"connection_id":166158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047e0fbd0012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:52:08] local.INFO: Packet analysis {"connection_id":166158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047e0"} 
[2026-08-28 15:52:08] local.INFO: Extracted packet for processing {"connection_id":166158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047e0"} 
[2026-08-28 15:52:08] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705477376001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:52:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787912322000,"timestamp_ms":1787912322000,"timestamp_seconds":1787912322,"priority":1,"record_length":96,"hex_timestamp":"000001a047e0fbd0"} 
[2026-08-28 15:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:52:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 15:52:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:52:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":166158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":166158,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":166158,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705477376001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705477376001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:52:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:52:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705477376001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":166158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708453,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:52:08] local.INFO: GPS data processed {"connection_id":166158,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:52:08] local.INFO: Acknowledgment sent {"connection_id":166158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:52:10] local.INFO: TCP Data received {"connection_id":163535,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163535,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:52:10] local.INFO: Processing buffer {"connection_id":163535,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:52:10] local.INFO: IMEI packet received {"connection_id":163535,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 15:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":163535,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:52:12] local.INFO: TCP Data received {"connection_id":166158,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047e0fbd0012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047e0fbd0012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:52:12] local.INFO: Processing buffer {"connection_id":166158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047e0fbd0012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:52:12] local.INFO: Packet analysis {"connection_id":166158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047e0"} 
[2026-08-28 15:52:12] local.INFO: Extracted packet for processing {"connection_id":166158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047e0"} 
[2026-08-28 15:52:12] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705477376001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:52:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:52:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787912322000,"timestamp_ms":1787912322000,"timestamp_seconds":1787912322,"priority":1,"record_length":96,"hex_timestamp":"000001a047e0fbd0"} 
[2026-08-28 15:52:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:52:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 15:52:12] 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-28 15:52:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:52:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":166158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":166158,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":166158,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:52:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705477376001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705477376001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:52:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:52:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:52:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:52:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705477376001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":166158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708454,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:52:12] local.INFO: GPS data processed {"connection_id":166158,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:52:12] local.INFO: Acknowledgment sent {"connection_id":166158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:52:14] local.INFO: TCP Data received {"connection_id":164797,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047e30b28012d34c14006aa4840000c00e62d..."} 
[2026-08-28 15:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047e30b28012d34c14006aa4840000c00e62d..."} 
[2026-08-28 15:52:14] local.INFO: Processing buffer {"connection_id":164797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047e30b28012d34c14006aa4840000c00e62d..."} 
[2026-08-28 15:52:14] local.INFO: Packet analysis {"connection_id":164797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047e3"} 
[2026-08-28 15:52:14] local.INFO: Extracted packet for processing {"connection_id":164797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047e3"} 
[2026-08-28 15:52:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:52:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705511936001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:52:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:52:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:52:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:52:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787912457000,"timestamp_ms":1787912457000,"timestamp_seconds":1787912457,"priority":1,"record_length":96,"hex_timestamp":"000001a047e30b28"} 
[2026-08-28 15: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-28 15:52:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15: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":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:52: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-28 15: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-28 15: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-28 15:52:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:52:14] local.INFO: Teltonika packet parsed successfully {"connection_id":164797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:52:14] local.INFO: Passing IMEI to GPS processor {"connection_id":164797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:52:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":164797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:52:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:52:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:52:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:52:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705511936001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:52:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:52:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:52:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705511936001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:52:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:52:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15: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-28 15:52:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:52:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705511936001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:52:14] local.INFO: DEBUG: GPS processor result {"connection_id":164797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:52:14] local.INFO: GPS data processed {"connection_id":164797,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:52:14] local.INFO: Acknowledgment sent {"connection_id":164797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:52:16] local.INFO: TCP Data received {"connection_id":163535,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163535,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:52:16] local.INFO: Processing buffer {"connection_id":163535,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:52:16] local.INFO: IMEI packet received {"connection_id":163535,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:52:16] local.INFO: IMEI acknowledgment sent {"connection_id":163535,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:52:17] local.INFO: TCP Data received {"connection_id":163535,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047e23068012d17c90007213358003d00d328..."} 
[2026-08-28 15:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047e23068012d17c90007213358003d00d328..."} 
[2026-08-28 15:52:17] local.INFO: Processing buffer {"connection_id":163535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047e23068012d17c90007213358003d00d328..."} 
[2026-08-28 15:52:17] local.INFO: Packet analysis {"connection_id":163535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047e2"} 
[2026-08-28 15:52:17] local.INFO: Extracted packet for processing {"connection_id":163535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047e2"} 
[2026-08-28 15:52:17] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616344,"longitude_deg":75.6533504,"latitude_deg":11.9616344,"altitude":61,"angle":211,"satellites":40,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213358","is_valid_coordinates":true} 
[2026-08-28 15:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705569280001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15934732395085824,"note":"Value kept but may cause issues"} 
[2026-08-28 15:52:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812968448,"note":"Value kept but may cause issues"} 
[2026-08-28 15:52:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787912401000,"timestamp_ms":1787912401000,"timestamp_seconds":1787912401,"priority":1,"record_length":96,"hex_timestamp":"000001a047e23068"} 
[2026-08-28 15:52:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:52:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 15:52: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-28 15:52:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:52:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:52:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705569280001,"66":12526,"122":206,"28":31744,"24":0,"16":15934732395085824,"45":1713901163812968448},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-28 15:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705569280001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:52:17] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-28 15:52:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15934732395085824,"km_value":15934732395085.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:52:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812968448,"description":"Unknown IO ID 45"} 
[2026-08-28 15:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705569280001,"power":12526,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1713901163812968448}} 
[2026-08-28 15:52:17] 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":708456,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:52:17] local.INFO: GPS data processed {"connection_id":163535,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:52:17] local.INFO: Acknowledgment sent {"connection_id":163535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:52:17] local.INFO: TCP Data received {"connection_id":166158,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047e0fbd0012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047e0fbd0012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:52:17] local.INFO: Processing buffer {"connection_id":166158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047e0fbd0012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:52:17] local.INFO: Packet analysis {"connection_id":166158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047e0"} 
[2026-08-28 15:52:17] local.INFO: Extracted packet for processing {"connection_id":166158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047e0"} 
[2026-08-28 15:52:17] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705477376001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:52:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:52:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787912322000,"timestamp_ms":1787912322000,"timestamp_seconds":1787912322,"priority":1,"record_length":96,"hex_timestamp":"000001a047e0fbd0"} 
[2026-08-28 15:52:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:52:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 15:52: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-28 15:52:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:52:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":166158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":166158,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":166158,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:52:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705477376001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705477376001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:52:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:52:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:52:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705477376001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":166158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708457,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:52:17] local.INFO: GPS data processed {"connection_id":166158,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:52:17] local.INFO: Acknowledgment sent {"connection_id":166158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:52:30] local.INFO: TCP Data received {"connection_id":166159,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:52:30] local.INFO: Processing buffer {"connection_id":166159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:52:30] local.INFO: IMEI packet received {"connection_id":166159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 15:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":166159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:52:36] local.INFO: TCP Data received {"connection_id":166159,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:52:36] local.INFO: Processing buffer {"connection_id":166159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:52:36] local.INFO: IMEI packet received {"connection_id":166159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 15:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":166159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:52:38] local.INFO: TCP Data received {"connection_id":166159,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047e30b28012d34c14006aa4840000c00e62d..."} 
[2026-08-28 15:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047e30b28012d34c14006aa4840000c00e62d..."} 
[2026-08-28 15:52:38] local.INFO: Processing buffer {"connection_id":166159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047e30b28012d34c14006aa4840000c00e62d..."} 
[2026-08-28 15:52:38] local.INFO: Packet analysis {"connection_id":166159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047e3"} 
[2026-08-28 15:52:38] local.INFO: Extracted packet for processing {"connection_id":166159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047e3"} 
[2026-08-28 15:52:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705511936001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787912457000,"timestamp_ms":1787912457000,"timestamp_seconds":1787912457,"priority":1,"record_length":96,"hex_timestamp":"000001a047e30b28"} 
[2026-08-28 15:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:52: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-28 15:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":166159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":166159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":166159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705511936001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:52:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:52:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705511936001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:52:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:52:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:52:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:52:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:52:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705511936001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:52:39] local.INFO: DEBUG: GPS processor result {"connection_id":166159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:52:39] local.INFO: GPS data processed {"connection_id":166159,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:52:39] local.INFO: Acknowledgment sent {"connection_id":166159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:52:48] local.INFO: TCP Data received {"connection_id":163535,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047e28270012d17c90007213358003d00d32a..."} 
[2026-08-28 15:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047e28270012d17c90007213358003d00d32a..."} 
[2026-08-28 15:52:48] local.INFO: Processing buffer {"connection_id":163535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047e28270012d17c90007213358003d00d32a..."} 
[2026-08-28 15:52:48] local.INFO: Packet analysis {"connection_id":163535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047e2"} 
[2026-08-28 15:52:48] local.INFO: Extracted packet for processing {"connection_id":163535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047e2"} 
[2026-08-28 15:52:48] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616344,"longitude_deg":75.6533504,"latitude_deg":11.9616344,"altitude":61,"angle":211,"satellites":42,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213358","is_valid_coordinates":true} 
[2026-08-28 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-28 15:52:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705574656001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:52:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15934732395085824,"note":"Value kept but may cause issues"} 
[2026-08-28 15:52:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812968448,"note":"Value kept but may cause issues"} 
[2026-08-28 15:52:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:52:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787912422000,"timestamp_ms":1787912422000,"timestamp_seconds":1787912422,"priority":1,"record_length":96,"hex_timestamp":"000001a047e28270"} 
[2026-08-28 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-28 15:52:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-28 15:52:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 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-28 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-28 15:52:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:52:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:52:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:52:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:52:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:52:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:52:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:52:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705574656001,"66":12537,"122":206,"28":31744,"24":0,"16":15934732395085824,"45":1713901163812968448},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-28 15:52:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:52:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:52:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705574656001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:52:48] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-28 15:52:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:52:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15934732395085824,"km_value":15934732395085.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:52:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812968448,"description":"Unknown IO ID 45"} 
[2026-08-28 15:52:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705574656001,"power":12537,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1713901163812968448}} 
[2026-08-28 15:52:48] 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":708459,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:52:48] local.INFO: GPS data processed {"connection_id":163535,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:52:48] local.INFO: Acknowledgment sent {"connection_id":163535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:52:56] local.INFO: TCP Data received {"connection_id":163809,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163809,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:52:56] local.INFO: Processing buffer {"connection_id":163809,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:52:56] local.INFO: IMEI packet received {"connection_id":163809,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 15:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":163809,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:53:02] local.INFO: TCP Data received {"connection_id":163809,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163809,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:53:02] local.INFO: Processing buffer {"connection_id":163809,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:53:02] local.INFO: IMEI packet received {"connection_id":163809,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 15:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":163809,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:53:03] local.INFO: TCP Data received {"connection_id":163809,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047e0fbd0012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047e0fbd0012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:53:03] local.INFO: Processing buffer {"connection_id":163809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047e0fbd0012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:53:03] local.INFO: Packet analysis {"connection_id":163809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047e0"} 
[2026-08-28 15:53:03] local.INFO: Extracted packet for processing {"connection_id":163809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047e0"} 
[2026-08-28 15:53:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705477376001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787912322000,"timestamp_ms":1787912322000,"timestamp_seconds":1787912322,"priority":1,"record_length":96,"hex_timestamp":"000001a047e0fbd0"} 
[2026-08-28 15:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:53:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 15:53:03] 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-28 15:53:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163809,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163809,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705477376001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705477376001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:53:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:53:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705477376001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:53:04] local.INFO: DEBUG: GPS processor result {"connection_id":163809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708460,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:53:04] local.INFO: GPS data processed {"connection_id":163809,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:53:04] local.INFO: Acknowledgment sent {"connection_id":163809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:53:10] local.INFO: TCP Data received {"connection_id":166160,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166160,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:53:10] local.INFO: Processing buffer {"connection_id":166160,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:53:10] local.INFO: IMEI packet received {"connection_id":166160,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 15:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":166160,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:53:11] local.INFO: TCP Data received {"connection_id":166159,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047e30b28012d34c14006aa4840000c00e62d..."} 
[2026-08-28 15:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047e30b28012d34c14006aa4840000c00e62d..."} 
[2026-08-28 15:53:11] local.INFO: Processing buffer {"connection_id":166159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047e30b28012d34c14006aa4840000c00e62d..."} 
[2026-08-28 15:53:11] local.INFO: Packet analysis {"connection_id":166159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047e3"} 
[2026-08-28 15:53:11] local.INFO: Extracted packet for processing {"connection_id":166159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047e3"} 
[2026-08-28 15:53:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705511936001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:53:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:53:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787912457000,"timestamp_ms":1787912457000,"timestamp_seconds":1787912457,"priority":1,"record_length":96,"hex_timestamp":"000001a047e30b28"} 
[2026-08-28 15:53:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:53:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:53: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-28 15:53:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:53:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":166159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":166159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":166159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:53:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705511936001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705511936001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:53:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:53:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:53: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-28 15:53:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705511936001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":166159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:53:11] local.INFO: GPS data processed {"connection_id":166159,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:53:11] local.INFO: Acknowledgment sent {"connection_id":166159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:53:16] local.INFO: TCP Data received {"connection_id":166160,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166160,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:53:16] local.INFO: Processing buffer {"connection_id":166160,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:53:16] local.INFO: IMEI packet received {"connection_id":166160,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:53:16] local.INFO: IMEI acknowledgment sent {"connection_id":166160,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:53:17] local.INFO: TCP Data received {"connection_id":166160,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047e2d478012d17c90007213358003d00d32a..."} 
[2026-08-28 15:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047e2d478012d17c90007213358003d00d32a..."} 
[2026-08-28 15:53:17] local.INFO: Processing buffer {"connection_id":166160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047e2d478012d17c90007213358003d00d32a..."} 
[2026-08-28 15:53:17] local.INFO: Packet analysis {"connection_id":166160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047e2"} 
[2026-08-28 15:53:17] local.INFO: Extracted packet for processing {"connection_id":166160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047e2"} 
[2026-08-28 15:53:17] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616344,"longitude_deg":75.6533504,"latitude_deg":11.9616344,"altitude":61,"angle":211,"satellites":42,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213358","is_valid_coordinates":true} 
[2026-08-28 15:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:53:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705580032001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:53:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15934732395085824,"note":"Value kept but may cause issues"} 
[2026-08-28 15:53:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812968448,"note":"Value kept but may cause issues"} 
[2026-08-28 15:53:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:53:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787912443000,"timestamp_ms":1787912443000,"timestamp_seconds":1787912443,"priority":1,"record_length":96,"hex_timestamp":"000001a047e2d478"} 
[2026-08-28 15:53:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:53:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-28 15:53:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:53: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-28 15:53:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:53:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:53:17] local.INFO: Teltonika packet parsed successfully {"connection_id":166160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:53:17] local.INFO: Passing IMEI to GPS processor {"connection_id":166160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:53:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":166160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:53:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:53:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:53:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:53:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705580032001,"66":12548,"122":206,"28":31744,"24":0,"16":15934732395085824,"45":1713901163812968448},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-28 15:53:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:53:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:53:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705580032001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:53:17] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-28 15:53:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:53:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15934732395085824,"km_value":15934732395085.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:53:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812968448,"description":"Unknown IO ID 45"} 
[2026-08-28 15:53:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705580032001,"power":12548,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1713901163812968448}} 
[2026-08-28 15:53:17] local.INFO: DEBUG: GPS processor result {"connection_id":166160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708462,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:53:17] local.INFO: GPS data processed {"connection_id":166160,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:53:17] local.INFO: Acknowledgment sent {"connection_id":166160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:53:30] local.INFO: TCP Data received {"connection_id":163810,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:53:30] local.INFO: Processing buffer {"connection_id":163810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:53:30] local.INFO: IMEI packet received {"connection_id":163810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 15:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":163810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:53:36] local.INFO: TCP Data received {"connection_id":163809,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047e0fbd0012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047e0fbd0012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:53:36] local.INFO: Processing buffer {"connection_id":163809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047e0fbd0012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:53:36] local.INFO: Packet analysis {"connection_id":163809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047e0"} 
[2026-08-28 15:53:36] local.INFO: Extracted packet for processing {"connection_id":163809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047e0"} 
[2026-08-28 15:53:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705477376001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787912322000,"timestamp_ms":1787912322000,"timestamp_seconds":1787912322,"priority":1,"record_length":96,"hex_timestamp":"000001a047e0fbd0"} 
[2026-08-28 15:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 15:53:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:53:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163809,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163809,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705477376001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705477376001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:53:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:53:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705477376001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":163809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708463,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:53:36] local.INFO: GPS data processed {"connection_id":163809,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:53:36] local.INFO: Acknowledgment sent {"connection_id":163809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:53:36] local.INFO: TCP Data received {"connection_id":163810,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:53:36] local.INFO: Processing buffer {"connection_id":163810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:53:36] local.INFO: IMEI packet received {"connection_id":163810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 15:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":163810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:53:38] local.INFO: TCP Data received {"connection_id":163810,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047e30b28012d34c14006aa4840000c00e62d..."} 
[2026-08-28 15:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047e30b28012d34c14006aa4840000c00e62d..."} 
[2026-08-28 15:53:38] local.INFO: Processing buffer {"connection_id":163810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047e30b28012d34c14006aa4840000c00e62d..."} 
[2026-08-28 15:53:38] local.INFO: Packet analysis {"connection_id":163810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047e3"} 
[2026-08-28 15:53:38] local.INFO: Extracted packet for processing {"connection_id":163810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047e3"} 
[2026-08-28 15:53:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705511936001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787912457000,"timestamp_ms":1787912457000,"timestamp_seconds":1787912457,"priority":1,"record_length":96,"hex_timestamp":"000001a047e30b28"} 
[2026-08-28 15:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:53: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-28 15:53:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705511936001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705511936001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:53:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:53:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:53: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-28 15:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705511936001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":163810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:53:38] local.INFO: GPS data processed {"connection_id":163810,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:53:38] local.INFO: Acknowledgment sent {"connection_id":163810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:53:49] local.INFO: TCP Data received {"connection_id":166160,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047e32680012d17c90007213358003d00d328..."} 
[2026-08-28 15:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047e32680012d17c90007213358003d00d328..."} 
[2026-08-28 15:53:49] local.INFO: Processing buffer {"connection_id":166160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047e32680012d17c90007213358003d00d328..."} 
[2026-08-28 15:53:49] local.INFO: Packet analysis {"connection_id":166160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047e3"} 
[2026-08-28 15:53:49] local.INFO: Extracted packet for processing {"connection_id":166160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047e3"} 
[2026-08-28 15:53:49] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616344,"longitude_deg":75.6533504,"latitude_deg":11.9616344,"altitude":61,"angle":211,"satellites":40,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213358","is_valid_coordinates":true} 
[2026-08-28 15:53: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-28 15:53:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705585408001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:53:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15934732395085824,"note":"Value kept but may cause issues"} 
[2026-08-28 15:53:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812968448,"note":"Value kept but may cause issues"} 
[2026-08-28 15:53:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:53:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787912464000,"timestamp_ms":1787912464000,"timestamp_seconds":1787912464,"priority":1,"record_length":96,"hex_timestamp":"000001a047e32680"} 
[2026-08-28 15:53:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:53:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15:53:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-28 15:53:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-28 15:53:49] local.WARNING: Large IO value detected {"io_id":156,"raw_value":2382364672,"note":"Value kept but may cause issues"} 
[2026-08-28 15:53:49] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2902511079,"note":"Value kept but may cause issues"} 
[2026-08-28 15:53:49] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199127245,"note":"Value kept but may cause issues"} 
[2026-08-28 15:53:49] local.WARNING: Large IO value detected {"io_id":71,"raw_value":3784071169,"note":"Value kept but may cause issues"} 
[2026-08-28 15:53:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883532494,"corrected_to":0} 
[2026-08-28 15:53:49] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2626551808,"note":"Value kept but may cause issues"} 
[2026-08-28 15:53:49] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8791253094361995264,"note":"Value kept but may cause issues"} 
[2026-08-28 15:53:49] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,122,28,24,241,158,16,156,160,130,45,51,61,42,10,66,48,40,222,1,240,173,71,33,4,113,205,58,201,88,239,2,56,7,231],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883532494,"validated":0}]} 
[2026-08-28 15:53:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395745413655691264,"timestamp_seconds":4395745413655691.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 15:53:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:53:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:53:49] local.INFO: Teltonika packet parsed successfully {"connection_id":166160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:53:49] local.INFO: Passing IMEI to GPS processor {"connection_id":166160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:53:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":166160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:53:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:53:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:53:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:53:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705585408001,"66":12558,"122":206,"28":31744,"24":0,"16":15934732395085824,"45":1713901163812968448},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-28 15:53:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:53:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:53:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705585408001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:53:49] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-28 15:53:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:53:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15934732395085824,"km_value":15934732395085.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:53:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812968448,"description":"Unknown IO ID 45"} 
[2026-08-28 15:53:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705585408001,"power":12558,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1713901163812968448}} 
[2026-08-28 15:53:49] local.INFO: DEBUG: GPS processor result {"connection_id":166160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708465,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:53:49] local.INFO: GPS data processed {"connection_id":166160,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:53:49] local.INFO: Acknowledgment sent {"connection_id":166160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:53:56] local.INFO: TCP Data received {"connection_id":166161,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166161,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:53:56] local.INFO: Processing buffer {"connection_id":166161,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:53:56] local.INFO: IMEI packet received {"connection_id":166161,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 15:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":166161,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:54:01] local.INFO: TCP Data received {"connection_id":166161,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166161,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:54:01] local.INFO: Processing buffer {"connection_id":166161,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:54:01] local.INFO: IMEI packet received {"connection_id":166161,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 15:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":166161,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:54:03] local.INFO: TCP Data received {"connection_id":166161,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047e0fbd0012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047e0fbd0012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:54:03] local.INFO: Processing buffer {"connection_id":166161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047e0fbd0012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:54:03] local.INFO: Packet analysis {"connection_id":166161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047e0"} 
[2026-08-28 15:54:03] local.INFO: Extracted packet for processing {"connection_id":166161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047e0"} 
[2026-08-28 15:54:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705477376001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787912322000,"timestamp_ms":1787912322000,"timestamp_seconds":1787912322,"priority":1,"record_length":96,"hex_timestamp":"000001a047e0fbd0"} 
[2026-08-28 15:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:54:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 15:54:03] 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-28 15:54:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":166161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":166161,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":166161,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:54:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705477376001,"66":25473,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705477376001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:54:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:54:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705477376001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":166161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708466,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:54:03] local.INFO: GPS data processed {"connection_id":166161,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:54:03] local.INFO: Acknowledgment sent {"connection_id":166161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:54:11] local.INFO: TCP Data received {"connection_id":163810,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047e30b28012d34c14006aa4840000c00e62d..."} 
[2026-08-28 15:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047e30b28012d34c14006aa4840000c00e62d..."} 
[2026-08-28 15:54:11] local.INFO: Processing buffer {"connection_id":163810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047e30b28012d34c14006aa4840000c00e62d..."} 
[2026-08-28 15:54:11] local.INFO: Packet analysis {"connection_id":163810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047e3"} 
[2026-08-28 15:54:11] local.INFO: Extracted packet for processing {"connection_id":163810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047e3"} 
[2026-08-28 15:54:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:54:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705511936001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:54:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:54:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:54:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:54:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787912457000,"timestamp_ms":1787912457000,"timestamp_seconds":1787912457,"priority":1,"record_length":96,"hex_timestamp":"000001a047e30b28"} 
[2026-08-28 15:54:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:54:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:54: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-28 15:54:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:54:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:54:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:54:11] local.INFO: Teltonika packet parsed successfully {"connection_id":163810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:54:11] local.INFO: Passing IMEI to GPS processor {"connection_id":163810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:54:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":163810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:54:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:54:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:54:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:54:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705511936001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:54:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:54:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:54:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705511936001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:54:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:54:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:54: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-28 15:54:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:54:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705511936001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:54:11] local.INFO: DEBUG: GPS processor result {"connection_id":163810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:54:11] local.INFO: GPS data processed {"connection_id":163810,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:54:11] local.INFO: Acknowledgment sent {"connection_id":163810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:54:16] local.INFO: TCP Data received {"connection_id":163536,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163536,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:54:16] local.INFO: Processing buffer {"connection_id":163536,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:54:16] local.INFO: IMEI packet received {"connection_id":163536,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 15:54:16] local.INFO: IMEI acknowledgment sent {"connection_id":163536,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:54:21] local.INFO: TCP Data received {"connection_id":163536,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163536,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:54:21] local.INFO: Processing buffer {"connection_id":163536,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:54:21] local.INFO: IMEI packet received {"connection_id":163536,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:54:21] local.INFO: IMEI acknowledgment sent {"connection_id":163536,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:54:22] local.INFO: TCP Data received {"connection_id":163536,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047e37888012d17c90007213358003d00d328..."} 
[2026-08-28 15:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047e37888012d17c90007213358003d00d328..."} 
[2026-08-28 15:54:22] local.INFO: Processing buffer {"connection_id":163536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047e37888012d17c90007213358003d00d328..."} 
[2026-08-28 15:54:22] local.INFO: Packet analysis {"connection_id":163536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047e3"} 
[2026-08-28 15:54:22] local.INFO: Extracted packet for processing {"connection_id":163536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047e3"} 
[2026-08-28 15:54:22] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616344,"longitude_deg":75.6533504,"latitude_deg":11.9616344,"altitude":61,"angle":211,"satellites":40,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213358","is_valid_coordinates":true} 
[2026-08-28 15:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:54:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705590784001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:54:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15934732395085824,"note":"Value kept but may cause issues"} 
[2026-08-28 15:54:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812968448,"note":"Value kept but may cause issues"} 
[2026-08-28 15:54:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:54:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787912485000,"timestamp_ms":1787912485000,"timestamp_seconds":1787912485,"priority":1,"record_length":96,"hex_timestamp":"000001a047e37888"} 
[2026-08-28 15:54:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:54:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-28 15:54:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-08-28 15:54:22] local.WARNING: Large IO value detected {"io_id":156,"raw_value":2382364672,"note":"Value kept but may cause issues"} 
[2026-08-28 15:54:22] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249286658127901528,"note":"Value kept but may cause issues"} 
[2026-08-28 15:54:22] local.WARNING: Large IO value detected {"io_id":71,"raw_value":3789447169,"note":"Value kept but may cause issues"} 
[2026-08-28 15:54:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883532494,"corrected_to":0} 
[2026-08-28 15:54:22] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2626551808,"note":"Value kept but may cause issues"} 
[2026-08-28 15:54:22] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8791253094361995264,"note":"Value kept but may cause issues"} 
[2026-08-28 15:54:22] local.WARNING: Large IO value detected {"io_id":77,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-28 15:54:22] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-08-28 15:54:22] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,122,28,24,241,158,16,156,160,212,45,51,61,42,10,66,130,48,1,240,238,71,33,4,113,205,140,201,88,40,239,49,2,56,7,231,77,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3883532494,"validated":0}]} 
[2026-08-28 15:54:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395745405065756672,"timestamp_seconds":4395745405065756.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 15:54:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:54:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:54:22] local.INFO: Teltonika packet parsed successfully {"connection_id":163536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:54:22] local.INFO: Passing IMEI to GPS processor {"connection_id":163536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:54:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":163536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:54:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:54:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:54:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:54:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705590784001,"66":12548,"122":206,"28":31744,"24":0,"16":15934732395085824,"45":1713901163812968448},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-28 15:54:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:54:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:54:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705590784001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:54:22] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-28 15:54:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:54:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15934732395085824,"km_value":15934732395085.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:54:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812968448,"description":"Unknown IO ID 45"} 
[2026-08-28 15:54:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705590784001,"power":12548,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1713901163812968448}} 
[2026-08-28 15:54:23] 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":708468,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:54:23] local.INFO: GPS data processed {"connection_id":163536,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:54:23] local.INFO: Acknowledgment sent {"connection_id":163536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:54:24] local.INFO: TCP Data received {"connection_id":163536,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047e3ca90012d17c90007213358003d00d328..."} 
[2026-08-28 15:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047e3ca90012d17c90007213358003d00d328..."} 
[2026-08-28 15:54:24] local.INFO: Processing buffer {"connection_id":163536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047e3ca90012d17c90007213358003d00d328..."} 
[2026-08-28 15:54:24] local.INFO: Packet analysis {"connection_id":163536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047e3"} 
[2026-08-28 15:54:24] local.INFO: Extracted packet for processing {"connection_id":163536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047e3"} 
[2026-08-28 15:54:24] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616344,"longitude_deg":75.6533504,"latitude_deg":11.9616344,"altitude":61,"angle":211,"satellites":40,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213358","is_valid_coordinates":true} 
[2026-08-28 15:54:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:54:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705596160001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:54:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15934732395085824,"note":"Value kept but may cause issues"} 
[2026-08-28 15:54:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812968448,"note":"Value kept but may cause issues"} 
[2026-08-28 15:54:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:54:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787912506000,"timestamp_ms":1787912506000,"timestamp_seconds":1787912506,"priority":1,"record_length":96,"hex_timestamp":"000001a047e3ca90"} 
[2026-08-28 15:54:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:54:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15:54:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-28 15:54:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-28 15:54:24] local.WARNING: Large IO value detected {"io_id":156,"raw_value":2382364672,"note":"Value kept but may cause issues"} 
[2026-08-28 15:54:24] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197030093,"note":"Value kept but may cause issues"} 
[2026-08-28 15:54:24] local.WARNING: Large IO value detected {"io_id":71,"raw_value":3794823169,"note":"Value kept but may cause issues"} 
[2026-08-28 15:54:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883532494,"corrected_to":0} 
[2026-08-28 15:54:24] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2902511079,"note":"Value kept but may cause issues"} 
[2026-08-28 15:54:24] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2626551808,"note":"Value kept but may cause issues"} 
[2026-08-28 15:54:24] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8791253094361995264,"note":"Value kept but may cause issues"} 
[2026-08-28 15:54:24] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,122,28,24,241,158,16,156,160,38,45,51,61,40,10,66,212,42,130,1,240,249,71,33,4,113,205,222,201,88,41,239,48,2,56,7,231],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883532494,"validated":0}]} 
[2026-08-28 15:54:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395745405065756672,"timestamp_seconds":4395745405065756.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 15:54:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:54:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:54:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:54:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:54:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:54:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:54:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:54:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:54:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705596160001,"66":12526,"122":206,"28":31744,"24":0,"16":15934732395085824,"45":1713901163812968448},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-28 15:54:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:54:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:54:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705596160001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:54:24] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-28 15:54:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:54:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15934732395085824,"km_value":15934732395085.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:54:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812968448,"description":"Unknown IO ID 45"} 
[2026-08-28 15:54:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705596160001,"power":12526,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1713901163812968448}} 
[2026-08-28 15:54:24] 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":708469,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:54:24] local.INFO: GPS data processed {"connection_id":163536,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:54:24] local.INFO: Acknowledgment sent {"connection_id":163536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:54:36] local.INFO: TCP Data received {"connection_id":163811,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:54:36] local.INFO: Processing buffer {"connection_id":163811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:54:36] local.INFO: IMEI packet received {"connection_id":163811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 15:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":163811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:54:36] local.INFO: TCP Data received {"connection_id":166161,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047e59398012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047e59398012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:54:36] local.INFO: Processing buffer {"connection_id":166161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047e59398012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:54:36] local.INFO: Packet analysis {"connection_id":166161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047e5"} 
[2026-08-28 15:54:36] local.INFO: Extracted packet for processing {"connection_id":166161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047e5"} 
[2026-08-28 15:54:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705554432001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:54:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787912623000,"timestamp_ms":1787912623000,"timestamp_seconds":1787912623,"priority":1,"record_length":96,"hex_timestamp":"000001a047e59398"} 
[2026-08-28 15:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:54:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:54:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":166161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":166161,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":166161,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:54:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705554432001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705554432001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:54:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:54:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705554432001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":166161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708470,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:54:36] local.INFO: GPS data processed {"connection_id":166161,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:54:36] local.INFO: Acknowledgment sent {"connection_id":166161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:54:41] local.INFO: TCP Data received {"connection_id":163811,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:54:41] local.INFO: Processing buffer {"connection_id":163811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:54:41] local.INFO: IMEI packet received {"connection_id":163811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 15:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":163811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:54:43] local.INFO: TCP Data received {"connection_id":163811,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047e30b28012d34c14006aa4840000c00e62d..."} 
[2026-08-28 15:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047e30b28012d34c14006aa4840000c00e62d..."} 
[2026-08-28 15:54:43] local.INFO: Processing buffer {"connection_id":163811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047e30b28012d34c14006aa4840000c00e62d..."} 
[2026-08-28 15:54:43] local.INFO: Packet analysis {"connection_id":163811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047e3"} 
[2026-08-28 15:54:43] local.INFO: Extracted packet for processing {"connection_id":163811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047e3"} 
[2026-08-28 15:54:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:54:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705511936001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:54:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:54:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:54:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:54:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787912457000,"timestamp_ms":1787912457000,"timestamp_seconds":1787912457,"priority":1,"record_length":96,"hex_timestamp":"000001a047e30b28"} 
[2026-08-28 15: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-28 15:54: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-28 15: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":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:54: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-28 15: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-28 15: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-28 15:54:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:54:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:54:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:54:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:54:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:54:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:54:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:54:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705511936001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:54:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:54:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:54:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705511936001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:54:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:54:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15: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-28 15:54:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:54:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705511936001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:54:43] local.INFO: DEBUG: GPS processor result {"connection_id":163811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:54:43] local.INFO: GPS data processed {"connection_id":163811,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:54:43] local.INFO: Acknowledgment sent {"connection_id":163811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:54:47] local.INFO: TCP Data received {"connection_id":163811,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047e30b28012d34c14006aa4840000c00e62d..."} 
[2026-08-28 15:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047e30b28012d34c14006aa4840000c00e62d..."} 
[2026-08-28 15:54:47] local.INFO: Processing buffer {"connection_id":163811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047e30b28012d34c14006aa4840000c00e62d..."} 
[2026-08-28 15:54:47] local.INFO: Packet analysis {"connection_id":163811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047e3"} 
[2026-08-28 15:54:47] local.INFO: Extracted packet for processing {"connection_id":163811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047e3"} 
[2026-08-28 15:54:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705511936001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:54:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:54:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787912457000,"timestamp_ms":1787912457000,"timestamp_seconds":1787912457,"priority":1,"record_length":96,"hex_timestamp":"000001a047e30b28"} 
[2026-08-28 15:54:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:54: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-28 15:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:54: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-28 15:54:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:54:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:54:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705511936001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705511936001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:54:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:54:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:54: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-28 15:54:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705511936001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":163811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:54:47] local.INFO: GPS data processed {"connection_id":163811,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:54:47] local.INFO: Acknowledgment sent {"connection_id":163811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:54:56] local.INFO: TCP Data received {"connection_id":163536,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047e41c98012d17c90007213358003d00d32a..."} 
[2026-08-28 15:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047e41c98012d17c90007213358003d00d32a..."} 
[2026-08-28 15:54:56] local.INFO: Processing buffer {"connection_id":163536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047e41c98012d17c90007213358003d00d32a..."} 
[2026-08-28 15:54:56] local.INFO: Packet analysis {"connection_id":163536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047e4"} 
[2026-08-28 15:54:56] local.INFO: Extracted packet for processing {"connection_id":163536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047e4"} 
[2026-08-28 15:54:56] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616344,"longitude_deg":75.6533504,"latitude_deg":11.9616344,"altitude":61,"angle":211,"satellites":42,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"07213358","is_valid_coordinates":true} 
[2026-08-28 15:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705601536001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15934732395085824,"note":"Value kept but may cause issues"} 
[2026-08-28 15:54:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812968448,"note":"Value kept but may cause issues"} 
[2026-08-28 15:54:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787912527000,"timestamp_ms":1787912527000,"timestamp_seconds":1787912527,"priority":1,"record_length":96,"hex_timestamp":"000001a047e41c98"} 
[2026-08-28 15:54:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:54:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-28 15:54:56] 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-28 15:54:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:54:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":163536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":163536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":163536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:54:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:54:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705601536001,"66":12548,"122":206,"28":31744,"24":0,"16":15934732395085824,"45":1713901163812968448},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-28 15:54:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:54:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:54:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705601536001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:54:56] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-28 15:54:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:54:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15934732395085824,"km_value":15934732395085.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:54:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812968448,"description":"Unknown IO ID 45"} 
[2026-08-28 15:54:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705601536001,"power":12548,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1713901163812968448}} 
[2026-08-28 15:54:56] 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":708473,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:54:56] local.INFO: GPS data processed {"connection_id":163536,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:54:56] local.INFO: Acknowledgment sent {"connection_id":163536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:54:56] local.INFO: TCP Data received {"connection_id":164798,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164798,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:54:56] local.INFO: Processing buffer {"connection_id":164798,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:54:56] local.INFO: IMEI packet received {"connection_id":164798,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 15:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":164798,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:55:02] local.INFO: TCP Data received {"connection_id":164798,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164798,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:55:02] local.INFO: Processing buffer {"connection_id":164798,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:55:02] local.INFO: IMEI packet received {"connection_id":164798,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 15:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":164798,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:55:05] local.INFO: TCP Data received {"connection_id":164798,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047e59398012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047e59398012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:55:05] local.INFO: Processing buffer {"connection_id":164798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047e59398012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:55:05] local.INFO: Packet analysis {"connection_id":164798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047e5"} 
[2026-08-28 15:55:05] local.INFO: Extracted packet for processing {"connection_id":164798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047e5"} 
[2026-08-28 15:55:05] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705554432001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787912623000,"timestamp_ms":1787912623000,"timestamp_seconds":1787912623,"priority":1,"record_length":96,"hex_timestamp":"000001a047e59398"} 
[2026-08-28 15:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:55:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:55:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":164798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":164798,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":164798,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705554432001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705554432001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:55:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:55:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705554432001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:55:05] 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":708474,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:55:05] local.INFO: GPS data processed {"connection_id":164798,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:55:05] local.INFO: Acknowledgment sent {"connection_id":164798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:55:11] local.INFO: TCP Data received {"connection_id":166162,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166162,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:55:11] local.INFO: Processing buffer {"connection_id":166162,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:55:11] local.INFO: IMEI packet received {"connection_id":166162,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 15:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":166162,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:55:16] local.INFO: TCP Data received {"connection_id":166162,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166162,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:55:16] local.INFO: Processing buffer {"connection_id":166162,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:55:16] local.INFO: IMEI packet received {"connection_id":166162,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:55:16] local.INFO: IMEI acknowledgment sent {"connection_id":166162,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:55:17] local.INFO: TCP Data received {"connection_id":166162,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047e600f8012d17d8c0072154300043001b28..."} 
[2026-08-28 15:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047e600f8012d17d8c0072154300043001b28..."} 
[2026-08-28 15:55:17] local.INFO: Processing buffer {"connection_id":166162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047e600f8012d17d8c0072154300043001b28..."} 
[2026-08-28 15:55:17] local.INFO: Packet analysis {"connection_id":166162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047e6"} 
[2026-08-28 15:55:17] local.INFO: Extracted packet for processing {"connection_id":166162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047e6"} 
[2026-08-28 15:55:17] local.INFO: GPS Element Parsed {"raw_longitude":756537536,"raw_latitude":119624752,"longitude_deg":75.6537536,"latitude_deg":11.9624752,"altitude":67,"angle":27,"satellites":40,"speed":26,"hex_longitude":"2d17d8c0","hex_latitude":"07215430","is_valid_coordinates":true} 
[2026-08-28 15:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705634304001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:55:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15935256381095936,"note":"Value kept but may cause issues"} 
[2026-08-28 15:55:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713127107627116544,"note":"Value kept but may cause issues"} 
[2026-08-28 15:55:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:55:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787912651000,"timestamp_ms":1787912651000,"timestamp_seconds":1787912651,"priority":1,"record_length":96,"hex_timestamp":"000001a047e600f8"} 
[2026-08-28 15:55:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:55:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-28 15:55:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:55:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:55:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:55:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":166162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":166162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":166162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:55:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:55:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:55:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:55:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705634304001,"66":14265,"122":206,"28":31744,"24":26,"16":15935256381095936,"45":1713127107627116544},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-28 15:55:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:55:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:55:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705634304001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:55:17] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-28 15:55:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:55:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15935256381095936,"km_value":15935256381095.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:55:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713127107627116544,"description":"Unknown IO ID 45"} 
[2026-08-28 15:55:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705634304001,"power":14265,"unknown_122":206,"unknown_28":31744,"ignition":26,"odometer":null,"unknown_45":1713127107627116544}} 
[2026-08-28 15:55:17] local.INFO: DEBUG: GPS processor result {"connection_id":166162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708475,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:55:17] local.INFO: GPS data processed {"connection_id":166162,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:55:17] local.INFO: Acknowledgment sent {"connection_id":166162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:55:31] local.INFO: TCP Data received {"connection_id":163812,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:55:31] local.INFO: Processing buffer {"connection_id":163812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:55:31] local.INFO: IMEI packet received {"connection_id":163812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 15:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":163812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:55:35] local.INFO: TCP Data received {"connection_id":163812,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:55:35] local.INFO: Processing buffer {"connection_id":163812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:55:35] local.INFO: IMEI packet received {"connection_id":163812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 15:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":163812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:55:37] local.INFO: TCP Data received {"connection_id":164798,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047e59398012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047e59398012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:55:37] local.INFO: Processing buffer {"connection_id":164798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047e59398012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:55:37] local.INFO: Packet analysis {"connection_id":164798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047e5"} 
[2026-08-28 15:55:37] local.INFO: Extracted packet for processing {"connection_id":164798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047e5"} 
[2026-08-28 15:55:37] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705554432001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787912623000,"timestamp_ms":1787912623000,"timestamp_seconds":1787912623,"priority":1,"record_length":96,"hex_timestamp":"000001a047e59398"} 
[2026-08-28 15:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164798,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164798,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705554432001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705554432001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:55:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:55:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705554432001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:55:37] 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":708476,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:55:37] local.INFO: GPS data processed {"connection_id":164798,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:55:37] local.INFO: Acknowledgment sent {"connection_id":164798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:55:38] local.INFO: TCP Data received {"connection_id":163812,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047e30b28012d34c14006aa4840000c00e62d..."} 
[2026-08-28 15:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047e30b28012d34c14006aa4840000c00e62d..."} 
[2026-08-28 15:55:38] local.INFO: Processing buffer {"connection_id":163812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047e30b28012d34c14006aa4840000c00e62d..."} 
[2026-08-28 15:55:38] local.INFO: Packet analysis {"connection_id":163812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047e3"} 
[2026-08-28 15:55:38] local.INFO: Extracted packet for processing {"connection_id":163812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047e3"} 
[2026-08-28 15:55:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705511936001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:55:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787912457000,"timestamp_ms":1787912457000,"timestamp_seconds":1787912457,"priority":1,"record_length":96,"hex_timestamp":"000001a047e30b28"} 
[2026-08-28 15:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:55: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-28 15:55:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:55:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705511936001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705511936001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:55:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:55:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:55: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-28 15:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705511936001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":163812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:55:38] local.INFO: GPS data processed {"connection_id":163812,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:55:38] local.INFO: Acknowledgment sent {"connection_id":163812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:55:49] local.INFO: TCP Data received {"connection_id":166162,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047e62fd8012d17eac0072172400047002328..."} 
[2026-08-28 15:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047e62fd8012d17eac0072172400047002328..."} 
[2026-08-28 15:55:49] local.INFO: Processing buffer {"connection_id":166162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047e62fd8012d17eac0072172400047002328..."} 
[2026-08-28 15:55:49] local.INFO: Packet analysis {"connection_id":166162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047e6"} 
[2026-08-28 15:55:49] local.INFO: Extracted packet for processing {"connection_id":166162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047e6"} 
[2026-08-28 15:55:49] local.INFO: GPS Element Parsed {"raw_longitude":756542144,"raw_latitude":119632448,"longitude_deg":75.6542144,"latitude_deg":11.9632448,"altitude":71,"angle":35,"satellites":40,"speed":33,"hex_longitude":"2d17eac0","hex_latitude":"07217240","is_valid_coordinates":true} 
[2026-08-28 15:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:55:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705638656001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:55:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15935690172792832,"note":"Value kept but may cause issues"} 
[2026-08-28 15:55:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1718334394698313728,"note":"Value kept but may cause issues"} 
[2026-08-28 15:55:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:55:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787912663000,"timestamp_ms":1787912663000,"timestamp_seconds":1787912663,"priority":1,"record_length":96,"hex_timestamp":"000001a047e62fd8"} 
[2026-08-28 15:55:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:55:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 15:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-28 15:55:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:55:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:55:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:55:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:55:49] local.INFO: Teltonika packet parsed successfully {"connection_id":166162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:55:49] local.INFO: Passing IMEI to GPS processor {"connection_id":166162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:55:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":166162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 15:55:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:55:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 15:55:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 15:55:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705638656001,"66":14080,"120":206,"28":31744,"24":33,"16":15935690172792832,"45":1718334394698313728},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 15:55:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 15:55:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 15:55:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705638656001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:55:49] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 15:55:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 15:55:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15935690172792832,"km_value":15935690172792.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:55:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1718334394698313728,"description":"Unknown IO ID 45"} 
[2026-08-28 15:55:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705638656001,"power":14080,"unknown_120":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1718334394698313728}} 
[2026-08-28 15:55:49] local.INFO: DEBUG: GPS processor result {"connection_id":166162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708478,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:55:49] local.INFO: GPS data processed {"connection_id":166162,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:55:49] local.INFO: Acknowledgment sent {"connection_id":166162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:56:02] local.INFO: TCP Data received {"connection_id":166163,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166163,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:56:02] local.INFO: Processing buffer {"connection_id":166163,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:56:02] local.INFO: IMEI packet received {"connection_id":166163,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 15:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":166163,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:56:07] local.INFO: TCP Data received {"connection_id":166163,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166163,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:56:07] local.INFO: Processing buffer {"connection_id":166163,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:56:07] local.INFO: IMEI packet received {"connection_id":166163,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 15:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":166163,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:56:09] local.INFO: TCP Data received {"connection_id":166163,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047e59398012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047e59398012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:56:09] local.INFO: Processing buffer {"connection_id":166163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047e59398012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:56:09] local.INFO: Packet analysis {"connection_id":166163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047e5"} 
[2026-08-28 15:56:09] local.INFO: Extracted packet for processing {"connection_id":166163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047e5"} 
[2026-08-28 15:56:09] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705554432001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:56:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:56:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787912623000,"timestamp_ms":1787912623000,"timestamp_seconds":1787912623,"priority":1,"record_length":96,"hex_timestamp":"000001a047e59398"} 
[2026-08-28 15:56:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:56:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:56: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-28 15:56:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:56:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":166163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":166163,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":166163,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:56:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705554432001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705554432001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:56:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:56:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:56:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705554432001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:56:09] local.INFO: TCP Data received {"connection_id":163537,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163537,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:56:09] local.INFO: Processing buffer {"connection_id":163537,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:56:09] local.INFO: IMEI packet received {"connection_id":163537,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 15:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":163537,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":166163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708479,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:56:09] local.INFO: GPS data processed {"connection_id":166163,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:56:09] local.INFO: Acknowledgment sent {"connection_id":166163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:56:10] local.INFO: TCP Data received {"connection_id":163537,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163537,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:56:10] local.INFO: Processing buffer {"connection_id":163537,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:56:10] local.INFO: IMEI packet received {"connection_id":163537,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":163537,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:56:10] local.INFO: TCP Data received {"connection_id":163812,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047e30b28012d34c14006aa4840000c00e62d..."} 
[2026-08-28 15:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047e30b28012d34c14006aa4840000c00e62d..."} 
[2026-08-28 15:56:10] local.INFO: Processing buffer {"connection_id":163812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047e30b28012d34c14006aa4840000c00e62d..."} 
[2026-08-28 15:56:10] local.INFO: Packet analysis {"connection_id":163812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047e3"} 
[2026-08-28 15:56:10] local.INFO: Extracted packet for processing {"connection_id":163812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047e3"} 
[2026-08-28 15:56:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705511936001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:56:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787912457000,"timestamp_ms":1787912457000,"timestamp_seconds":1787912457,"priority":1,"record_length":96,"hex_timestamp":"000001a047e30b28"} 
[2026-08-28 15:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:56:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:56:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:56:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:56:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705511936001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705511936001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:56:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:56:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705511936001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":163812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:56:10] local.INFO: GPS data processed {"connection_id":163812,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:56:10] local.INFO: Acknowledgment sent {"connection_id":163812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:56:10] local.INFO: TCP Data received {"connection_id":163537,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163537,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:56:10] local.INFO: Processing buffer {"connection_id":163537,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:56:10] local.INFO: IMEI packet received {"connection_id":163537,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":163537,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:56:11] local.INFO: TCP Data received {"connection_id":163537,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163537,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:56:11] local.INFO: Processing buffer {"connection_id":163537,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 15:56:11] local.INFO: IMEI packet received {"connection_id":163537,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 15:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":163537,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:56:14] local.INFO: TCP Data received {"connection_id":166163,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047e59398012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047e59398012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:56:14] local.INFO: Processing buffer {"connection_id":166163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047e59398012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:56:14] local.INFO: Packet analysis {"connection_id":166163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047e5"} 
[2026-08-28 15:56:14] local.INFO: Extracted packet for processing {"connection_id":166163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047e5"} 
[2026-08-28 15:56:14] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:56:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705554432001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:56:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:56:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:56:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:56:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787912623000,"timestamp_ms":1787912623000,"timestamp_seconds":1787912623,"priority":1,"record_length":96,"hex_timestamp":"000001a047e59398"} 
[2026-08-28 15: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-28 15:56:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15: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":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:56: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-28 15: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-28 15: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-28 15:56:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:56:14] local.INFO: Teltonika packet parsed successfully {"connection_id":166163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:56:14] local.INFO: Passing IMEI to GPS processor {"connection_id":166163,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:56:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":166163,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:56:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:56:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:56:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:56:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705554432001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:56:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:56:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:56:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705554432001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:56:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:56:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:56:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:56:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:56:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705554432001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:56:14] local.INFO: DEBUG: GPS processor result {"connection_id":166163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708481,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:56:14] local.INFO: GPS data processed {"connection_id":166163,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:56:14] local.INFO: Acknowledgment sent {"connection_id":166163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:56:30] local.INFO: TCP Data received {"connection_id":164799,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:56:30] local.INFO: Processing buffer {"connection_id":164799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:56:30] local.INFO: IMEI packet received {"connection_id":164799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 15:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":164799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:56:35] local.INFO: TCP Data received {"connection_id":164799,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:56:35] local.INFO: Processing buffer {"connection_id":164799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:56:35] local.INFO: IMEI packet received {"connection_id":164799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 15:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":164799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:56:38] local.INFO: TCP Data received {"connection_id":164799,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047e7a2f0012d34c14006aa4840000900e62a..."} 
[2026-08-28 15:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047e7a2f0012d34c14006aa4840000900e62a..."} 
[2026-08-28 15:56:38] local.INFO: Processing buffer {"connection_id":164799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047e7a2f0012d34c14006aa4840000900e62a..."} 
[2026-08-28 15:56:38] local.INFO: Packet analysis {"connection_id":164799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047e7"} 
[2026-08-28 15:56:38] local.INFO: Extracted packet for processing {"connection_id":164799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047e7"} 
[2026-08-28 15:56:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705588992001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:56:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787912758000,"timestamp_ms":1787912758000,"timestamp_seconds":1787912758,"priority":1,"record_length":96,"hex_timestamp":"000001a047e7a2f0"} 
[2026-08-28 15:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:56:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:56: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-28 15:56:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:56:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705588992001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705588992001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:56:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:56:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:56: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-28 15:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705588992001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":164799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:56:38] local.INFO: GPS data processed {"connection_id":164799,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:56:38] local.INFO: Acknowledgment sent {"connection_id":164799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:56:57] local.INFO: TCP Data received {"connection_id":164800,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164800,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:56:57] local.INFO: Processing buffer {"connection_id":164800,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:56:57] local.INFO: IMEI packet received {"connection_id":164800,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 15:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":164800,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:57:01] local.INFO: TCP Data received {"connection_id":164800,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164800,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:57:01] local.INFO: Processing buffer {"connection_id":164800,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:57:01] local.INFO: IMEI packet received {"connection_id":164800,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 15:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":164800,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:57:04] local.INFO: TCP Data received {"connection_id":164800,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047e59398012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047e59398012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:57:04] local.INFO: Processing buffer {"connection_id":164800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047e59398012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:57:04] local.INFO: Packet analysis {"connection_id":164800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047e5"} 
[2026-08-28 15:57:04] local.INFO: Extracted packet for processing {"connection_id":164800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047e5"} 
[2026-08-28 15:57:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705554432001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787912623000,"timestamp_ms":1787912623000,"timestamp_seconds":1787912623,"priority":1,"record_length":96,"hex_timestamp":"000001a047e59398"} 
[2026-08-28 15:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:57:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":164800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":164800,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":164800,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705554432001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705554432001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:57:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:57:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705554432001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:57:04] 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":708483,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:57:04] local.INFO: GPS data processed {"connection_id":164800,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:57:04] local.INFO: Acknowledgment sent {"connection_id":164800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:57:10] local.INFO: TCP Data received {"connection_id":164799,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047e7a2f0012d34c14006aa4840000900e62a..."} 
[2026-08-28 15:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047e7a2f0012d34c14006aa4840000900e62a..."} 
[2026-08-28 15:57:10] local.INFO: Processing buffer {"connection_id":164799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047e7a2f0012d34c14006aa4840000900e62a..."} 
[2026-08-28 15:57:10] local.INFO: Packet analysis {"connection_id":164799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047e7"} 
[2026-08-28 15:57:10] local.INFO: Extracted packet for processing {"connection_id":164799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047e7"} 
[2026-08-28 15:57:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705588992001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:57:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:57:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787912758000,"timestamp_ms":1787912758000,"timestamp_seconds":1787912758,"priority":1,"record_length":96,"hex_timestamp":"000001a047e7a2f0"} 
[2026-08-28 15:57:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:57:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:57:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:57:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:57:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":164799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":164799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":164799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:57:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705588992001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705588992001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:57:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:57:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:57:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705588992001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":164799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:57:10] local.INFO: GPS data processed {"connection_id":164799,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:57:10] local.INFO: Acknowledgment sent {"connection_id":164799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:57:36] local.INFO: TCP Data received {"connection_id":163813,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:57:36] local.INFO: Processing buffer {"connection_id":163813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:57:36] local.INFO: IMEI packet received {"connection_id":163813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 15:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":163813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:57:36] local.INFO: TCP Data received {"connection_id":164800,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047e59398012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047e59398012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:57:36] local.INFO: Processing buffer {"connection_id":164800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047e59398012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:57:36] local.INFO: Packet analysis {"connection_id":164800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047e5"} 
[2026-08-28 15:57:36] local.INFO: Extracted packet for processing {"connection_id":164800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047e5"} 
[2026-08-28 15:57:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705554432001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:57:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787912623000,"timestamp_ms":1787912623000,"timestamp_seconds":1787912623,"priority":1,"record_length":96,"hex_timestamp":"000001a047e59398"} 
[2026-08-28 15:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:57:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:57:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:57:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":164800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":164800,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":164800,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:57:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705554432001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705554432001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:57:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:57:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705554432001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:57:36] 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":708485,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:57:36] local.INFO: GPS data processed {"connection_id":164800,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:57:36] local.INFO: Acknowledgment sent {"connection_id":164800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:57:40] local.INFO: TCP Data received {"connection_id":163813,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:57:40] local.INFO: Processing buffer {"connection_id":163813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:57:40] local.INFO: IMEI packet received {"connection_id":163813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 15:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":163813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:57:43] local.INFO: TCP Data received {"connection_id":163813,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047e7a2f0012d34c14006aa4840000900e62a..."} 
[2026-08-28 15:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047e7a2f0012d34c14006aa4840000900e62a..."} 
[2026-08-28 15:57:43] local.INFO: Processing buffer {"connection_id":163813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047e7a2f0012d34c14006aa4840000900e62a..."} 
[2026-08-28 15:57:43] local.INFO: Packet analysis {"connection_id":163813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047e7"} 
[2026-08-28 15:57:43] local.INFO: Extracted packet for processing {"connection_id":163813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047e7"} 
[2026-08-28 15:57:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:57:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705588992001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:57:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:57:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:57:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:57:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787912758000,"timestamp_ms":1787912758000,"timestamp_seconds":1787912758,"priority":1,"record_length":96,"hex_timestamp":"000001a047e7a2f0"} 
[2026-08-28 15:57:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:57: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-28 15:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:57: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-28 15:57:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:57:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:57:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:57:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:57:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:57:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:57:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:57:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:57:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:57:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705588992001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:57:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:57:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:57:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705588992001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:57:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:57:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15: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-28 15:57:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:57:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705588992001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:57:43] local.INFO: DEBUG: GPS processor result {"connection_id":163813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:57:43] local.INFO: GPS data processed {"connection_id":163813,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:57:43] local.INFO: Acknowledgment sent {"connection_id":163813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:57:47] local.INFO: TCP Data received {"connection_id":163813,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047e7a2f0012d34c14006aa4840000900e62a..."} 
[2026-08-28 15:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047e7a2f0012d34c14006aa4840000900e62a..."} 
[2026-08-28 15:57:47] local.INFO: Processing buffer {"connection_id":163813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047e7a2f0012d34c14006aa4840000900e62a..."} 
[2026-08-28 15:57:47] local.INFO: Packet analysis {"connection_id":163813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047e7"} 
[2026-08-28 15:57:47] local.INFO: Extracted packet for processing {"connection_id":163813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047e7"} 
[2026-08-28 15:57:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:57:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705588992001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:57:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:57:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:57:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:57:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787912758000,"timestamp_ms":1787912758000,"timestamp_seconds":1787912758,"priority":1,"record_length":96,"hex_timestamp":"000001a047e7a2f0"} 
[2026-08-28 15:57:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:57: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-28 15:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:57: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-28 15:57:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:57:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:57:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:57:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:57:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:57:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:57:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:57:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:57:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:57:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705588992001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:57:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:57:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:57:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705588992001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:57:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:57:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15: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-28 15:57:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:57:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705588992001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:57:47] local.INFO: DEBUG: GPS processor result {"connection_id":163813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:57:47] local.INFO: GPS data processed {"connection_id":163813,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:57:47] local.INFO: Acknowledgment sent {"connection_id":163813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:57:56] local.INFO: TCP Data received {"connection_id":164802,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164802,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:57:56] local.INFO: Processing buffer {"connection_id":164802,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:57:56] local.INFO: IMEI packet received {"connection_id":164802,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 15:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":164802,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:58:02] local.INFO: TCP Data received {"connection_id":164802,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164802,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:58:02] local.INFO: Processing buffer {"connection_id":164802,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:58:02] local.INFO: IMEI packet received {"connection_id":164802,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 15:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":164802,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:58:06] local.INFO: TCP Data received {"connection_id":164802,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047e59398012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047e59398012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:58:06] local.INFO: Processing buffer {"connection_id":164802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047e59398012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:58:06] local.INFO: Packet analysis {"connection_id":164802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047e5"} 
[2026-08-28 15:58:06] local.INFO: Extracted packet for processing {"connection_id":164802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047e5"} 
[2026-08-28 15:58:06] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705554432001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787912623000,"timestamp_ms":1787912623000,"timestamp_seconds":1787912623,"priority":1,"record_length":96,"hex_timestamp":"000001a047e59398"} 
[2026-08-28 15:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:58: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-28 15:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":164802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":164802,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":164802,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705554432001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705554432001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:58:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:58:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705554432001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:58:06] 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":708488,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:58:06] local.INFO: GPS data processed {"connection_id":164802,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:58:06] local.INFO: Acknowledgment sent {"connection_id":164802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:58:30] local.INFO: TCP Data received {"connection_id":166164,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:58:30] local.INFO: Processing buffer {"connection_id":166164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:58:30] local.INFO: IMEI packet received {"connection_id":166164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 15:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":166164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:58:35] local.INFO: TCP Data received {"connection_id":166164,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:58:35] local.INFO: Processing buffer {"connection_id":166164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:58:35] local.INFO: IMEI packet received {"connection_id":166164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 15:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":166164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:58:38] local.INFO: TCP Data received {"connection_id":166164,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047e7a2f0012d34c14006aa4840000900e62a..."} 
[2026-08-28 15:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047e7a2f0012d34c14006aa4840000900e62a..."} 
[2026-08-28 15:58:38] local.INFO: Processing buffer {"connection_id":166164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047e7a2f0012d34c14006aa4840000900e62a..."} 
[2026-08-28 15:58:38] local.INFO: Packet analysis {"connection_id":166164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047e7"} 
[2026-08-28 15:58:38] local.INFO: Extracted packet for processing {"connection_id":166164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047e7"} 
[2026-08-28 15:58:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705588992001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787912758000,"timestamp_ms":1787912758000,"timestamp_seconds":1787912758,"priority":1,"record_length":96,"hex_timestamp":"000001a047e7a2f0"} 
[2026-08-28 15:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:58: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-28 15:58:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":166164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":166164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":166164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705588992001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705588992001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:58:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:58:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:58: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-28 15:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705588992001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":166164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:58:38] local.INFO: GPS data processed {"connection_id":166164,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:58:38] local.INFO: Acknowledgment sent {"connection_id":166164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:58:39] local.INFO: TCP Data received {"connection_id":164802,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047e59398012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047e59398012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:58:39] local.INFO: Processing buffer {"connection_id":164802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047e59398012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:58:39] local.INFO: Packet analysis {"connection_id":164802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047e5"} 
[2026-08-28 15:58:39] local.INFO: Extracted packet for processing {"connection_id":164802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047e5"} 
[2026-08-28 15:58:39] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705554432001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:58:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:58:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787912623000,"timestamp_ms":1787912623000,"timestamp_seconds":1787912623,"priority":1,"record_length":96,"hex_timestamp":"000001a047e59398"} 
[2026-08-28 15:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:58:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:58:39] 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-28 15:58:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":164802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":164802,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":164802,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:58:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705554432001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705554432001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:58:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:58:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:58:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705554432001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:58:39] 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":708490,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:58:39] local.INFO: GPS data processed {"connection_id":164802,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:58:39] local.INFO: Acknowledgment sent {"connection_id":164802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:58:56] local.INFO: TCP Data received {"connection_id":163539,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163539,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:58:56] local.INFO: Processing buffer {"connection_id":163539,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:58:56] local.INFO: IMEI packet received {"connection_id":163539,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 15:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":163539,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:59:01] local.INFO: TCP Data received {"connection_id":163539,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163539,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:59:01] local.INFO: Processing buffer {"connection_id":163539,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:59:01] local.INFO: IMEI packet received {"connection_id":163539,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 15:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":163539,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:59:03] local.INFO: TCP Data received {"connection_id":163539,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047e59398012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047e59398012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:59:03] local.INFO: Processing buffer {"connection_id":163539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047e59398012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:59:03] local.INFO: Packet analysis {"connection_id":163539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047e5"} 
[2026-08-28 15:59:03] local.INFO: Extracted packet for processing {"connection_id":163539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047e5"} 
[2026-08-28 15:59:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705554432001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787912623000,"timestamp_ms":1787912623000,"timestamp_seconds":1787912623,"priority":1,"record_length":96,"hex_timestamp":"000001a047e59398"} 
[2026-08-28 15:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:59:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:59:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:59:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163539,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163539,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:59:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705554432001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705554432001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:59:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:59:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705554432001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:59:03] 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":708491,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:59:03] local.INFO: GPS data processed {"connection_id":163539,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:59:03] local.INFO: Acknowledgment sent {"connection_id":163539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:59:07] local.INFO: TCP Data received {"connection_id":163814,"ip":"36.106.167.189","data_length":56,"data_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-08-28 15:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163814,"packet_length":56,"packet_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-08-28 15:59:07] local.INFO: Processing buffer {"connection_id":163814,"buffer_length":56,"buffer_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-08-28 15:59:07] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":163814,"buffer_length":56,"first_bytes_hex":"474554202f20485454502f312e310d0a"} 
[2026-08-28 15:59:08] local.INFO: TCP Data received {"connection_id":166165,"ip":"182.242.168.25","data_length":1457,"data_hex":"16030105ac010005a80303c5b93e2b353eff2d5db26a40ea7f82594a160a8097..."} 
[2026-08-28 15:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166165,"packet_length":1457,"packet_hex":"16030105ac010005a80303c5b93e2b353eff2d5db26a40ea7f82594a160a8097..."} 
[2026-08-28 15:59:08] local.INFO: Processing buffer {"connection_id":166165,"buffer_length":1457,"buffer_hex":"16030105ac010005a80303c5b93e2b353eff2d5db26a40ea7f82594a160a8097..."} 
[2026-08-28 15:59:08] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":166165,"buffer_length":1457,"first_bytes_hex":"16030105ac010005a80303c5b93e2b35"} 
[2026-08-28 15:59:10] local.INFO: TCP Data received {"connection_id":166166,"ip":"121.29.149.136","data_length":1388,"data_hex":"16030105ac010005a803030df807bfb3a60c317cf06271791b087e19ea8ad6a6..."} 
[2026-08-28 15:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166166,"packet_length":1388,"packet_hex":"16030105ac010005a803030df807bfb3a60c317cf06271791b087e19ea8ad6a6..."} 
[2026-08-28 15:59:10] local.INFO: Processing buffer {"connection_id":166166,"buffer_length":1388,"buffer_hex":"16030105ac010005a803030df807bfb3a60c317cf06271791b087e19ea8ad6a6..."} 
[2026-08-28 15:59:10] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":166166,"buffer_length":1388,"first_bytes_hex":"16030105ac010005a803030df807bfb3"} 
[2026-08-28 15:59:10] local.INFO: TCP Data received {"connection_id":166166,"ip":"121.29.149.136","data_length":69,"data_hex":"17780ad91face530b072b0a7ffe8a4eac430b472e7788480171a36cef0c3c9f8..."} 
[2026-08-28 15:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166166,"packet_length":69,"packet_hex":"17780ad91face530b072b0a7ffe8a4eac430b472e7788480171a36cef0c3c9f8..."} 
[2026-08-28 15:59:10] local.INFO: Processing buffer {"connection_id":166166,"buffer_length":69,"buffer_hex":"17780ad91face530b072b0a7ffe8a4eac430b472e7788480171a36cef0c3c9f8..."} 
[2026-08-28 15:59:10] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":166166,"buffer_length":69,"first_bytes_hex":"17780ad91face530b072b0a7ffe8a4ea"} 
[2026-08-28 15:59:10] local.INFO: TCP Data received {"connection_id":166164,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047e7a2f0012d34c14006aa4840000900e62a..."} 
[2026-08-28 15:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047e7a2f0012d34c14006aa4840000900e62a..."} 
[2026-08-28 15:59:10] local.INFO: Processing buffer {"connection_id":166164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047e7a2f0012d34c14006aa4840000900e62a..."} 
[2026-08-28 15:59:10] local.INFO: Packet analysis {"connection_id":166164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047e7"} 
[2026-08-28 15:59:10] local.INFO: Extracted packet for processing {"connection_id":166164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047e7"} 
[2026-08-28 15:59:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705588992001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:59:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:59:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787912758000,"timestamp_ms":1787912758000,"timestamp_seconds":1787912758,"priority":1,"record_length":96,"hex_timestamp":"000001a047e7a2f0"} 
[2026-08-28 15:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:59:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 15:59:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:59:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":166164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":166164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":166164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:59:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705588992001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705588992001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:59:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:59:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:59:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705588992001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":166164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:59:10] local.INFO: GPS data processed {"connection_id":166164,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:59:10] local.INFO: Acknowledgment sent {"connection_id":166164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:59:17] local.INFO: TCP Data received {"connection_id":166168,"ip":"60.166.83.45","data_length":16,"data_hex":"5553455220616e6f6e796d6f75730d0a..."} 
[2026-08-28 15:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166168,"packet_length":16,"packet_hex":"5553455220616e6f6e796d6f75730d0a..."} 
[2026-08-28 15:59:17] local.INFO: Processing buffer {"connection_id":166168,"buffer_length":16,"buffer_hex":"5553455220616e6f6e796d6f75730d0a..."} 
[2026-08-28 15:59:17] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":166168,"buffer_length":16,"first_bytes_hex":"5553455220616e6f6e796d6f75730d0a"} 
[2026-08-28 15:59:30] local.INFO: TCP Data received {"connection_id":163540,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:59:30] local.INFO: Processing buffer {"connection_id":163540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:59:30] local.INFO: IMEI packet received {"connection_id":163540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 15:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":163540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 15:59:35] local.INFO: TCP Data received {"connection_id":163539,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047ea2b60012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ea2b60012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:59:35] local.INFO: Processing buffer {"connection_id":163539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ea2b60012d34bcc006aa4200000300002b..."} 
[2026-08-28 15:59:35] local.INFO: Packet analysis {"connection_id":163539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ea"} 
[2026-08-28 15:59:35] local.INFO: Extracted packet for processing {"connection_id":163539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ea"} 
[2026-08-28 15:59:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 15:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 15:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705631488001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 15:59:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 15:59:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787912924000,"timestamp_ms":1787912924000,"timestamp_seconds":1787912924,"priority":1,"record_length":96,"hex_timestamp":"000001a047ea2b60"} 
[2026-08-28 15:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 15:59:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 15:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 15:59:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 15:59:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 15:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 15:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163539,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163539,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 15:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 15:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 15:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705631488001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 15:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 15:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705631488001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:59:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:59:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 15:59:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 15:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705631488001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 15:59:35] 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":708493,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:59:35] local.INFO: GPS data processed {"connection_id":163539,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:59:35] local.INFO: Acknowledgment sent {"connection_id":163539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:59:36] local.INFO: TCP Data received {"connection_id":163540,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:59:36] local.INFO: Processing buffer {"connection_id":163540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 15:59:36] local.INFO: IMEI packet received {"connection_id":163540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 15:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":163540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 15:59:38] local.INFO: TCP Data received {"connection_id":163540,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047e7a2f0012d34c14006aa4840000900e62a..."} 
[2026-08-28 15:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047e7a2f0012d34c14006aa4840000900e62a..."} 
[2026-08-28 15:59:38] local.INFO: Processing buffer {"connection_id":163540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047e7a2f0012d34c14006aa4840000900e62a..."} 
[2026-08-28 15:59:38] local.INFO: Packet analysis {"connection_id":163540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047e7"} 
[2026-08-28 15:59:38] local.INFO: Extracted packet for processing {"connection_id":163540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047e7"} 
[2026-08-28 15:59:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 15: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-28 15:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705588992001,"note":"Value kept but may cause issues"} 
[2026-08-28 15:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 15:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 15:59:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 15:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787912758000,"timestamp_ms":1787912758000,"timestamp_seconds":1787912758,"priority":1,"record_length":96,"hex_timestamp":"000001a047e7a2f0"} 
[2026-08-28 15: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-28 15: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-28 15: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-28 15: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-28 15: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-28 15: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-28 15:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 15:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 15:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 15:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 15:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 15:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 15:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705588992001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 15:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 15:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 15:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705588992001,"description":"Unknown IO ID 0"} 
[2026-08-28 15:59:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 15:59:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 15: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-28 15:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 15:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705588992001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 15:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":163540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 15:59:38] local.INFO: GPS data processed {"connection_id":163540,"processed":1,"errors":0,"total":1} 
[2026-08-28 15:59:38] local.INFO: Acknowledgment sent {"connection_id":163540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 15:59:53] local.INFO: TCP Data received {"connection_id":163815,"ip":"66.132.172.220","data_length":243,"data_hex":"16030100ee010000ea03036a2b7f456ab380d04fd80b643d0a815d3d25d1d7f9..."} 
[2026-08-28 15:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163815,"packet_length":243,"packet_hex":"16030100ee010000ea03036a2b7f456ab380d04fd80b643d0a815d3d25d1d7f9..."} 
[2026-08-28 15:59:53] local.INFO: Processing buffer {"connection_id":163815,"buffer_length":243,"buffer_hex":"16030100ee010000ea03036a2b7f456ab380d04fd80b643d0a815d3d25d1d7f9..."} 
[2026-08-28 15:59:53] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":163815,"buffer_length":243,"first_bytes_hex":"16030100ee010000ea03036a2b7f456a"} 
[2026-08-28 15:59:56] local.INFO: TCP Data received {"connection_id":164805,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164805,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:59:56] local.INFO: Processing buffer {"connection_id":164805,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 15:59:56] local.INFO: IMEI packet received {"connection_id":164805,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 15:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":164805,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:00:01] local.INFO: TCP Data received {"connection_id":164805,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164805,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:00:01] local.INFO: Processing buffer {"connection_id":164805,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:00:01] local.INFO: IMEI packet received {"connection_id":164805,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 16:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":164805,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:00:04] local.INFO: TCP Data received {"connection_id":164805,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047ea2b60012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ea2b60012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:00:04] local.INFO: Processing buffer {"connection_id":164805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ea2b60012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:00:04] local.INFO: Packet analysis {"connection_id":164805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ea"} 
[2026-08-28 16:00:04] local.INFO: Extracted packet for processing {"connection_id":164805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ea"} 
[2026-08-28 16:00:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705631488001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:00:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:00:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787912924000,"timestamp_ms":1787912924000,"timestamp_seconds":1787912924,"priority":1,"record_length":96,"hex_timestamp":"000001a047ea2b60"} 
[2026-08-28 16:00:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:00:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 16:00:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:00:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:00:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":164805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":164805,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":164805,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:00:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705631488001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705631488001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:00:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:00:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:00:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705631488001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:00:04] 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":708495,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:00:04] local.INFO: GPS data processed {"connection_id":164805,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:00:04] local.INFO: Acknowledgment sent {"connection_id":164805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:00:11] local.INFO: TCP Data received {"connection_id":163540,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047e7a2f0012d34c14006aa4840000900e62a..."} 
[2026-08-28 16:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047e7a2f0012d34c14006aa4840000900e62a..."} 
[2026-08-28 16:00:11] local.INFO: Processing buffer {"connection_id":163540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047e7a2f0012d34c14006aa4840000900e62a..."} 
[2026-08-28 16:00:11] local.INFO: Packet analysis {"connection_id":163540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047e7"} 
[2026-08-28 16:00:11] local.INFO: Extracted packet for processing {"connection_id":163540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047e7"} 
[2026-08-28 16:00:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705588992001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:00:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:00:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787912758000,"timestamp_ms":1787912758000,"timestamp_seconds":1787912758,"priority":1,"record_length":96,"hex_timestamp":"000001a047e7a2f0"} 
[2026-08-28 16:00:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:00: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-28 16:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 16:00: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-28 16:00:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:00:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":163540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":163540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":163540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:00:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705588992001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705588992001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:00:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:00:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:00: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-28 16:00:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705588992001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":163540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:00:11] local.INFO: GPS data processed {"connection_id":163540,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:00:11] local.INFO: Acknowledgment sent {"connection_id":163540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:00:30] local.INFO: TCP Data received {"connection_id":166169,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:00:30] local.INFO: Processing buffer {"connection_id":166169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:00:30] local.INFO: IMEI packet received {"connection_id":166169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 16:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":166169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:00:36] local.INFO: TCP Data received {"connection_id":166169,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:00:36] local.INFO: Processing buffer {"connection_id":166169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:00:36] local.INFO: IMEI packet received {"connection_id":166169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 16:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":166169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:00:37] local.INFO: TCP Data received {"connection_id":164805,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047ea2b60012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ea2b60012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:00:37] local.INFO: Processing buffer {"connection_id":164805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ea2b60012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:00:37] local.INFO: Packet analysis {"connection_id":164805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ea"} 
[2026-08-28 16:00:37] local.INFO: Extracted packet for processing {"connection_id":164805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ea"} 
[2026-08-28 16:00:37] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705631488001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787912924000,"timestamp_ms":1787912924000,"timestamp_seconds":1787912924,"priority":1,"record_length":96,"hex_timestamp":"000001a047ea2b60"} 
[2026-08-28 16:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 16:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164805,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164805,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705631488001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705631488001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:00:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:00:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705631488001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:00:37] 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":708497,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:00:37] local.INFO: GPS data processed {"connection_id":164805,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:00:37] local.INFO: Acknowledgment sent {"connection_id":164805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:00:38] local.INFO: TCP Data received {"connection_id":166169,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047e7a2f0012d34c14006aa4840000900e62a..."} 
[2026-08-28 16:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047e7a2f0012d34c14006aa4840000900e62a..."} 
[2026-08-28 16:00:38] local.INFO: Processing buffer {"connection_id":166169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047e7a2f0012d34c14006aa4840000900e62a..."} 
[2026-08-28 16:00:38] local.INFO: Packet analysis {"connection_id":166169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047e7"} 
[2026-08-28 16:00:38] local.INFO: Extracted packet for processing {"connection_id":166169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047e7"} 
[2026-08-28 16:00:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705588992001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:00:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787912758000,"timestamp_ms":1787912758000,"timestamp_seconds":1787912758,"priority":1,"record_length":96,"hex_timestamp":"000001a047e7a2f0"} 
[2026-08-28 16:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:00: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-28 16:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 16:00: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-28 16:00:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":166169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":166169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":166169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:00:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705588992001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705588992001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:00:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:00:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:00: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-28 16:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705588992001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":166169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:00:38] local.INFO: GPS data processed {"connection_id":166169,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:00:38] local.INFO: Acknowledgment sent {"connection_id":166169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:00:57] local.INFO: TCP Data received {"connection_id":163816,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163816,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:00:57] local.INFO: Processing buffer {"connection_id":163816,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:00:57] local.INFO: IMEI packet received {"connection_id":163816,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 16:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":163816,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:01:01] local.INFO: TCP Data received {"connection_id":163816,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163816,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:01:01] local.INFO: Processing buffer {"connection_id":163816,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:01:01] local.INFO: IMEI packet received {"connection_id":163816,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 16:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":163816,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:01:04] local.INFO: TCP Data received {"connection_id":163816,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047ea2b60012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ea2b60012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:01:04] local.INFO: Processing buffer {"connection_id":163816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ea2b60012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:01:04] local.INFO: Packet analysis {"connection_id":163816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ea"} 
[2026-08-28 16:01:04] local.INFO: Extracted packet for processing {"connection_id":163816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ea"} 
[2026-08-28 16:01:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705631488001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:01:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787912924000,"timestamp_ms":1787912924000,"timestamp_seconds":1787912924,"priority":1,"record_length":96,"hex_timestamp":"000001a047ea2b60"} 
[2026-08-28 16:01:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:01:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 16:01:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:01:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:01:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":163816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":163816,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":163816,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705631488001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705631488001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:01:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:01:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705631488001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":163816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708499,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:01:04] local.INFO: GPS data processed {"connection_id":163816,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:01:04] local.INFO: Acknowledgment sent {"connection_id":163816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:01:10] local.INFO: TCP Data received {"connection_id":166169,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047e7a2f0012d34c14006aa4840000900e62a..."} 
[2026-08-28 16:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047e7a2f0012d34c14006aa4840000900e62a..."} 
[2026-08-28 16:01:10] local.INFO: Processing buffer {"connection_id":166169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047e7a2f0012d34c14006aa4840000900e62a..."} 
[2026-08-28 16:01:10] local.INFO: Packet analysis {"connection_id":166169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047e7"} 
[2026-08-28 16:01:10] local.INFO: Extracted packet for processing {"connection_id":166169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047e7"} 
[2026-08-28 16:01:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705588992001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:01:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787912758000,"timestamp_ms":1787912758000,"timestamp_seconds":1787912758,"priority":1,"record_length":96,"hex_timestamp":"000001a047e7a2f0"} 
[2026-08-28 16:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:01:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 16:01:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:01:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":166169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":166169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":166169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:01:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705588992001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705588992001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:01:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:01:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705588992001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":166169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:01:10] local.INFO: GPS data processed {"connection_id":166169,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:01:10] local.INFO: Acknowledgment sent {"connection_id":166169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:01:16] local.INFO: TCP Data received {"connection_id":163817,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163817,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:01:16] local.INFO: Processing buffer {"connection_id":163817,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:01:16] local.INFO: IMEI packet received {"connection_id":163817,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 16:01:16] local.INFO: IMEI acknowledgment sent {"connection_id":163817,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:01:17] local.INFO: TCP Data received {"connection_id":163817,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047e9e128012d1848c00721e5480052013523..."} 
[2026-08-28 16:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047e9e128012d1848c00721e5480052013523..."} 
[2026-08-28 16:01:17] local.INFO: Processing buffer {"connection_id":163817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047e9e128012d1848c00721e5480052013523..."} 
[2026-08-28 16:01:17] local.INFO: Packet analysis {"connection_id":163817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047e9"} 
[2026-08-28 16:01:17] local.INFO: Extracted packet for processing {"connection_id":163817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047e9"} 
[2026-08-28 16:01:17] local.INFO: GPS Element Parsed {"raw_longitude":756566208,"raw_latitude":119661896,"longitude_deg":75.6566208,"latitude_deg":11.9661896,"altitude":82,"angle":309,"satellites":35,"speed":7,"hex_longitude":"2d1848c0","hex_latitude":"0721e548","is_valid_coordinates":true} 
[2026-08-28 16: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-28 16:01:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705702656001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:01:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15938812614017024,"note":"Value kept but may cause issues"} 
[2026-08-28 16:01:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1750633648285159424,"note":"Value kept but may cause issues"} 
[2026-08-28 16:01:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:01:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787912905000,"timestamp_ms":1787912905000,"timestamp_seconds":1787912905,"priority":1,"record_length":96,"hex_timestamp":"000001a047e9e128"} 
[2026-08-28 16: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-28 16:01:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-28 16:01:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16: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-28 16: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-28 16:01:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:01:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:01:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:01:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:01:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:01:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:01:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:01:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705702656001,"66":12939,"120":206,"28":31744,"24":7,"16":15938812614017024,"45":1750633648285159424},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 16:01:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:01:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:01:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705702656001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:01:17] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 16:01:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 16:01:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15938812614017024,"km_value":15938812614017.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:01:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1750633648285159424,"description":"Unknown IO ID 45"} 
[2026-08-28 16:01:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705702656001,"power":12939,"unknown_120":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1750633648285159424}} 
[2026-08-28 16:01:17] local.INFO: DEBUG: GPS processor result {"connection_id":163817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708501,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:01:17] local.INFO: GPS data processed {"connection_id":163817,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:01:17] local.INFO: Acknowledgment sent {"connection_id":163817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:01:36] local.INFO: TCP Data received {"connection_id":163816,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047ea2b60012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ea2b60012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:01:36] local.INFO: Processing buffer {"connection_id":163816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ea2b60012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:01:36] local.INFO: Packet analysis {"connection_id":163816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ea"} 
[2026-08-28 16:01:36] local.INFO: Extracted packet for processing {"connection_id":163816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ea"} 
[2026-08-28 16:01:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705631488001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787912924000,"timestamp_ms":1787912924000,"timestamp_seconds":1787912924,"priority":1,"record_length":96,"hex_timestamp":"000001a047ea2b60"} 
[2026-08-28 16:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 16:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:01:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163816,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163816,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705631488001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705631488001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:01:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:01:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705631488001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":163816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708502,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:01:36] local.INFO: GPS data processed {"connection_id":163816,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:01:36] local.INFO: Acknowledgment sent {"connection_id":163816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:01:37] local.INFO: TCP Data received {"connection_id":163543,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:01:37] local.INFO: Processing buffer {"connection_id":163543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:01:37] local.INFO: IMEI packet received {"connection_id":163543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 16:01:37] local.INFO: IMEI acknowledgment sent {"connection_id":163543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:01:37] local.INFO: TCP Data received {"connection_id":163543,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:01:37] local.INFO: Processing buffer {"connection_id":163543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:01:37] local.INFO: IMEI packet received {"connection_id":163543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 16:01:37] local.INFO: IMEI acknowledgment sent {"connection_id":163543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:01:39] local.INFO: TCP Data received {"connection_id":163543,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047ec3ab8012d34c14006aa4840000a00e628..."} 
[2026-08-28 16:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ec3ab8012d34c14006aa4840000a00e628..."} 
[2026-08-28 16:01:39] local.INFO: Processing buffer {"connection_id":163543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ec3ab8012d34c14006aa4840000a00e628..."} 
[2026-08-28 16:01:39] local.INFO: Packet analysis {"connection_id":163543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ec"} 
[2026-08-28 16:01:39] local.INFO: Extracted packet for processing {"connection_id":163543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ec"} 
[2026-08-28 16:01:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:01:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705666048001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:01:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:01:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:01:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:01:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787913059000,"timestamp_ms":1787913059000,"timestamp_seconds":1787913059,"priority":1,"record_length":96,"hex_timestamp":"000001a047ec3ab8"} 
[2026-08-28 16:01:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:01:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 16:01:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:01:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:01:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:01:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:01:39] local.INFO: Teltonika packet parsed successfully {"connection_id":163543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:01:39] local.INFO: Passing IMEI to GPS processor {"connection_id":163543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:01:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":163543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:01:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:01:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:01:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:01:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705666048001,"66":25451,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:01:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:01:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:01:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705666048001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:01:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:01:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:01:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:01:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:01:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705666048001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:01:39] 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":708503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:01:39] local.INFO: GPS data processed {"connection_id":163543,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:01:39] local.INFO: Acknowledgment sent {"connection_id":163543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:01:41] local.INFO: TCP Data received {"connection_id":163543,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047ec3ab8012d34c14006aa4840000a00e628..."} 
[2026-08-28 16:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ec3ab8012d34c14006aa4840000a00e628..."} 
[2026-08-28 16:01:41] local.INFO: Processing buffer {"connection_id":163543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ec3ab8012d34c14006aa4840000a00e628..."} 
[2026-08-28 16:01:41] local.INFO: Packet analysis {"connection_id":163543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ec"} 
[2026-08-28 16:01:41] local.INFO: Extracted packet for processing {"connection_id":163543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ec"} 
[2026-08-28 16:01:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705666048001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:01:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:01:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787913059000,"timestamp_ms":1787913059000,"timestamp_seconds":1787913059,"priority":1,"record_length":96,"hex_timestamp":"000001a047ec3ab8"} 
[2026-08-28 16:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:01:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 16:01:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:01:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":163543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":163543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":163543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:01:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705666048001,"66":25451,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705666048001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:01:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:01:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:01: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-28 16:01:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705666048001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:01:41] 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":708504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:01:41] local.INFO: GPS data processed {"connection_id":163543,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:01:41] local.INFO: Acknowledgment sent {"connection_id":163543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:01:49] local.INFO: TCP Data received {"connection_id":163817,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047ea0838012d1846c00721e588005200f127..."} 
[2026-08-28 16:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ea0838012d1846c00721e588005200f127..."} 
[2026-08-28 16:01:49] local.INFO: Processing buffer {"connection_id":163817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ea0838012d1846c00721e588005200f127..."} 
[2026-08-28 16:01:49] local.INFO: Packet analysis {"connection_id":163817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ea"} 
[2026-08-28 16:01:49] local.INFO: Extracted packet for processing {"connection_id":163817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ea"} 
[2026-08-28 16:01:49] local.INFO: GPS Element Parsed {"raw_longitude":756565696,"raw_latitude":119661960,"longitude_deg":75.6565696,"latitude_deg":11.966196,"altitude":82,"angle":241,"satellites":39,"speed":7,"hex_longitude":"2d1846c0","hex_latitude":"0721e588","is_valid_coordinates":true} 
[2026-08-28 16: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-28 16:01:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705703680001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:01:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15938842678788096,"note":"Value kept but may cause issues"} 
[2026-08-28 16:01:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1749859592099416064,"note":"Value kept but may cause issues"} 
[2026-08-28 16:01:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:01:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787912915000,"timestamp_ms":1787912915000,"timestamp_seconds":1787912915,"priority":1,"record_length":96,"hex_timestamp":"000001a047ea0838"} 
[2026-08-28 16: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-28 16:01:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-28 16:01:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16: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-28 16: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-28 16:01:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:01:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:01:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:01:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:01:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:01:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:01:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:01:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705703680001,"66":12232,"120":206,"28":31744,"24":7,"16":15938842678788096,"45":1749859592099416064},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 16:01:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:01:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:01:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705703680001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:01:49] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 16:01:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 16:01:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15938842678788096,"km_value":15938842678788.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:01:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1749859592099416064,"description":"Unknown IO ID 45"} 
[2026-08-28 16:01:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705703680001,"power":12232,"unknown_120":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1749859592099416064}} 
[2026-08-28 16:01:49] local.INFO: DEBUG: GPS processor result {"connection_id":163817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708505,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:01:49] local.INFO: GPS data processed {"connection_id":163817,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:01:49] local.INFO: Acknowledgment sent {"connection_id":163817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:01:56] local.INFO: TCP Data received {"connection_id":164807,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164807,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:01:56] local.INFO: Processing buffer {"connection_id":164807,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:01:56] local.INFO: IMEI packet received {"connection_id":164807,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 16:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":164807,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:02:01] local.INFO: TCP Data received {"connection_id":164807,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164807,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:02:02] local.INFO: Processing buffer {"connection_id":164807,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:02:02] local.INFO: IMEI packet received {"connection_id":164807,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 16:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":164807,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:02:04] local.INFO: TCP Data received {"connection_id":164807,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047ea2b60012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ea2b60012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:02:04] local.INFO: Processing buffer {"connection_id":164807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ea2b60012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:02:04] local.INFO: Packet analysis {"connection_id":164807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ea"} 
[2026-08-28 16:02:04] local.INFO: Extracted packet for processing {"connection_id":164807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ea"} 
[2026-08-28 16:02:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705631488001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:02:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787912924000,"timestamp_ms":1787912924000,"timestamp_seconds":1787912924,"priority":1,"record_length":96,"hex_timestamp":"000001a047ea2b60"} 
[2026-08-28 16:02:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:02:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 16:02:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:02:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:02:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":164807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":164807,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":164807,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:02:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705631488001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705631488001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:02:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:02:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705631488001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:02:04] 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":708506,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:02:04] local.INFO: GPS data processed {"connection_id":164807,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:02:04] local.INFO: Acknowledgment sent {"connection_id":164807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:02:11] local.INFO: TCP Data received {"connection_id":164808,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:02:11] local.INFO: Processing buffer {"connection_id":164808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:02:11] local.INFO: IMEI packet received {"connection_id":164808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 16:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":164808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:02:13] local.INFO: TCP Data received {"connection_id":163543,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047ec3ab8012d34c14006aa4840000a00e628..."} 
[2026-08-28 16:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ec3ab8012d34c14006aa4840000a00e628..."} 
[2026-08-28 16:02:13] local.INFO: Processing buffer {"connection_id":163543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ec3ab8012d34c14006aa4840000a00e628..."} 
[2026-08-28 16:02:13] local.INFO: Packet analysis {"connection_id":163543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ec"} 
[2026-08-28 16:02:13] local.INFO: Extracted packet for processing {"connection_id":163543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ec"} 
[2026-08-28 16:02:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:02:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705666048001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:02:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:02:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:02:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:02:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787913059000,"timestamp_ms":1787913059000,"timestamp_seconds":1787913059,"priority":1,"record_length":96,"hex_timestamp":"000001a047ec3ab8"} 
[2026-08-28 16:02:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:02: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-28 16:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 16:02:13] 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-28 16:02:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:02:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:02:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:02:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:02:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:02:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:02:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:02:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:02:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:02:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705666048001,"66":25451,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:02:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:02:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:02:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705666048001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:02:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:02:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16: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-28 16:02:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:02:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705666048001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:02:13] 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":708507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:02:13] local.INFO: GPS data processed {"connection_id":163543,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:02:13] local.INFO: Acknowledgment sent {"connection_id":163543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:02:16] local.INFO: TCP Data received {"connection_id":164808,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:02:16] local.INFO: Processing buffer {"connection_id":164808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:02:16] local.INFO: IMEI packet received {"connection_id":164808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 16:02:16] local.INFO: IMEI acknowledgment sent {"connection_id":164808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:02:17] local.INFO: TCP Data received {"connection_id":164808,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047ea0c20012d1846400721e4f8005200e027..."} 
[2026-08-28 16:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ea0c20012d1846400721e4f8005200e027..."} 
[2026-08-28 16:02:17] local.INFO: Processing buffer {"connection_id":164808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ea0c20012d1846400721e4f8005200e027..."} 
[2026-08-28 16:02:17] local.INFO: Packet analysis {"connection_id":164808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ea"} 
[2026-08-28 16:02:17] local.INFO: Extracted packet for processing {"connection_id":164808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ea"} 
[2026-08-28 16:02:17] local.INFO: GPS Element Parsed {"raw_longitude":756565568,"raw_latitude":119661816,"longitude_deg":75.6565568,"latitude_deg":11.9661816,"altitude":82,"angle":224,"satellites":39,"speed":12,"hex_longitude":"2d184640","hex_latitude":"0721e4f8","is_valid_coordinates":true} 
[2026-08-28 16: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-28 16:02:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705706240001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:02:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15938851268722688,"note":"Value kept but may cause issues"} 
[2026-08-28 16:02:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1749296642146011136,"note":"Value kept but may cause issues"} 
[2026-08-28 16:02:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:02:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787912916000,"timestamp_ms":1787912916000,"timestamp_seconds":1787912916,"priority":1,"record_length":96,"hex_timestamp":"000001a047ea0c20"} 
[2026-08-28 16: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-28 16:02:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 16:02:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16: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-28 16: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-28 16:02:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:02:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:02:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:02:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:02:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:02:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:02:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:02:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705706240001,"66":12765,"120":206,"28":31744,"24":12,"16":15938851268722688,"45":1749296642146011136},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 16:02:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:02:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:02:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705706240001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:02:17] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 16:02:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 16:02:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15938851268722688,"km_value":15938851268722.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:02:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1749296642146011136,"description":"Unknown IO ID 45"} 
[2026-08-28 16:02:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705706240001,"power":12765,"unknown_120":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1749296642146011136}} 
[2026-08-28 16:02:17] 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":708508,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:02:17] local.INFO: GPS data processed {"connection_id":164808,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:02:17] local.INFO: Acknowledgment sent {"connection_id":164808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:02:30] local.INFO: TCP Data received {"connection_id":166170,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:02:30] local.INFO: Processing buffer {"connection_id":166170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:02:30] local.INFO: IMEI packet received {"connection_id":166170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 16:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":166170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:02:36] local.INFO: TCP Data received {"connection_id":166170,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:02:36] local.INFO: Processing buffer {"connection_id":166170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:02:36] local.INFO: IMEI packet received {"connection_id":166170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 16:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":166170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:02:37] local.INFO: TCP Data received {"connection_id":164807,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047ea2b60012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ea2b60012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:02:37] local.INFO: Processing buffer {"connection_id":164807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ea2b60012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:02:37] local.INFO: Packet analysis {"connection_id":164807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ea"} 
[2026-08-28 16:02:37] local.INFO: Extracted packet for processing {"connection_id":164807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ea"} 
[2026-08-28 16:02:37] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705631488001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787912924000,"timestamp_ms":1787912924000,"timestamp_seconds":1787912924,"priority":1,"record_length":96,"hex_timestamp":"000001a047ea2b60"} 
[2026-08-28 16:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 16:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164807,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164807,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705631488001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705631488001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:02:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:02:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705631488001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:02:37] 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":708509,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:02:37] local.INFO: GPS data processed {"connection_id":164807,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:02:37] local.INFO: Acknowledgment sent {"connection_id":164807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:02:38] local.INFO: TCP Data received {"connection_id":166170,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047ec3ab8012d34c14006aa4840000a00e628..."} 
[2026-08-28 16:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ec3ab8012d34c14006aa4840000a00e628..."} 
[2026-08-28 16:02:38] local.INFO: Processing buffer {"connection_id":166170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ec3ab8012d34c14006aa4840000a00e628..."} 
[2026-08-28 16:02:38] local.INFO: Packet analysis {"connection_id":166170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ec"} 
[2026-08-28 16:02:38] local.INFO: Extracted packet for processing {"connection_id":166170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ec"} 
[2026-08-28 16:02:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705666048001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:02:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787913059000,"timestamp_ms":1787913059000,"timestamp_seconds":1787913059,"priority":1,"record_length":96,"hex_timestamp":"000001a047ec3ab8"} 
[2026-08-28 16:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:02: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-28 16:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 16:02: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-28 16:02:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":166170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":166170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":166170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:02:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705666048001,"66":25451,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705666048001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:02:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:02:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:02: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-28 16:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705666048001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":166170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:02:38] local.INFO: GPS data processed {"connection_id":166170,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:02:38] local.INFO: Acknowledgment sent {"connection_id":166170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:02:49] local.INFO: TCP Data received {"connection_id":164808,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047ea13f0012d1844000721e268005100d528..."} 
[2026-08-28 16:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ea13f0012d1844000721e268005100d528..."} 
[2026-08-28 16:02:49] local.INFO: Processing buffer {"connection_id":164808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ea13f0012d1844000721e268005100d528..."} 
[2026-08-28 16:02:49] local.INFO: Packet analysis {"connection_id":164808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ea"} 
[2026-08-28 16:02:49] local.INFO: Extracted packet for processing {"connection_id":164808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ea"} 
[2026-08-28 16:02:49] local.INFO: GPS Element Parsed {"raw_longitude":756564992,"raw_latitude":119661160,"longitude_deg":75.6564992,"latitude_deg":11.966116,"altitude":81,"angle":213,"satellites":40,"speed":20,"hex_longitude":"2d184400","hex_latitude":"0721e268","is_valid_coordinates":true} 
[2026-08-28 16: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-28 16:02:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705706496001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:02:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15938894218395648,"note":"Value kept but may cause issues"} 
[2026-08-28 16:02:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1749155904657618944,"note":"Value kept but may cause issues"} 
[2026-08-28 16:02:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:02:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787912918000,"timestamp_ms":1787912918000,"timestamp_seconds":1787912918,"priority":1,"record_length":96,"hex_timestamp":"000001a047ea13f0"} 
[2026-08-28 16: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-28 16:02:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-28 16:02:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16: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-28 16: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-28 16:02:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:02:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:02:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:02:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:02:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:02:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:02:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:02:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705706496001,"66":12841,"120":206,"28":31744,"24":20,"16":15938894218395648,"45":1749155904657618944},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 16:02:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:02:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:02:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705706496001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:02:49] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 16:02:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 16:02:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15938894218395648,"km_value":15938894218395.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:02:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1749155904657618944,"description":"Unknown IO ID 45"} 
[2026-08-28 16:02:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705706496001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":20,"odometer":null,"unknown_45":1749155904657618944}} 
[2026-08-28 16:02:49] 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":708511,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:02:49] local.INFO: GPS data processed {"connection_id":164808,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:02:49] local.INFO: Acknowledgment sent {"connection_id":164808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:02:56] local.INFO: TCP Data received {"connection_id":163544,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163544,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:02:56] local.INFO: Processing buffer {"connection_id":163544,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:02:56] local.INFO: IMEI packet received {"connection_id":163544,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 16:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":163544,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:03:02] local.INFO: TCP Data received {"connection_id":163544,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163544,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:03:02] local.INFO: Processing buffer {"connection_id":163544,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:03:02] local.INFO: IMEI packet received {"connection_id":163544,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 16:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":163544,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:03:03] local.INFO: TCP Data received {"connection_id":163544,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047ea2b60012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ea2b60012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:03:03] local.INFO: Processing buffer {"connection_id":163544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ea2b60012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:03:03] local.INFO: Packet analysis {"connection_id":163544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ea"} 
[2026-08-28 16:03:03] local.INFO: Extracted packet for processing {"connection_id":163544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ea"} 
[2026-08-28 16:03:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705631488001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787912924000,"timestamp_ms":1787912924000,"timestamp_seconds":1787912924,"priority":1,"record_length":96,"hex_timestamp":"000001a047ea2b60"} 
[2026-08-28 16:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:03:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 16:03:03] 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-28 16:03:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163544,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163544,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705631488001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705631488001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:03:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:03:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705631488001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:03:03] 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":708512,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:03:03] local.INFO: GPS data processed {"connection_id":163544,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:03:03] local.INFO: Acknowledgment sent {"connection_id":163544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:03:09] local.INFO: TCP Data received {"connection_id":166170,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047ec3ab8012d34c14006aa4840000a00e628..."} 
[2026-08-28 16:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ec3ab8012d34c14006aa4840000a00e628..."} 
[2026-08-28 16:03:09] local.INFO: Processing buffer {"connection_id":166170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ec3ab8012d34c14006aa4840000a00e628..."} 
[2026-08-28 16:03:09] local.INFO: Packet analysis {"connection_id":166170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ec"} 
[2026-08-28 16:03:09] local.INFO: Extracted packet for processing {"connection_id":166170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ec"} 
[2026-08-28 16:03:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705666048001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:03:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:03:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787913059000,"timestamp_ms":1787913059000,"timestamp_seconds":1787913059,"priority":1,"record_length":96,"hex_timestamp":"000001a047ec3ab8"} 
[2026-08-28 16:03:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:03: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-28 16:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 16:03:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:03:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:03:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":166170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":166170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":166170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:03:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705666048001,"66":25451,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705666048001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:03:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:03:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:03: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-28 16:03:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705666048001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":166170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:03:09] local.INFO: GPS data processed {"connection_id":166170,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:03:09] local.INFO: Acknowledgment sent {"connection_id":166170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:03:10] local.INFO: TCP Data received {"connection_id":166171,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166171,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:03:10] local.INFO: Processing buffer {"connection_id":166171,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:03:10] local.INFO: IMEI packet received {"connection_id":166171,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 16:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":166171,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:03:16] local.INFO: TCP Data received {"connection_id":166171,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166171,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:03:16] local.INFO: Processing buffer {"connection_id":166171,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:03:16] local.INFO: IMEI packet received {"connection_id":166171,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 16:03:16] local.INFO: IMEI acknowledgment sent {"connection_id":166171,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:03:17] local.INFO: TCP Data received {"connection_id":166171,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047ea5270012d182f400721c4f0004a00d623..."} 
[2026-08-28 16:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ea5270012d182f400721c4f0004a00d623..."} 
[2026-08-28 16:03:17] local.INFO: Processing buffer {"connection_id":166171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ea5270012d182f400721c4f0004a00d623..."} 
[2026-08-28 16:03:17] local.INFO: Packet analysis {"connection_id":166171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ea"} 
[2026-08-28 16:03:17] local.INFO: Extracted packet for processing {"connection_id":166171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ea"} 
[2026-08-28 16:03:17] local.INFO: GPS Element Parsed {"raw_longitude":756559680,"raw_latitude":119653616,"longitude_deg":75.655968,"latitude_deg":11.9653616,"altitude":74,"angle":214,"satellites":35,"speed":20,"hex_longitude":"2d182f40","hex_latitude":"0721c4f0","is_valid_coordinates":true} 
[2026-08-28 16:03:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:03:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705707008001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:03:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15939340894994432,"note":"Value kept but may cause issues"} 
[2026-08-28 16:03:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1748522585959852032,"note":"Value kept but may cause issues"} 
[2026-08-28 16:03:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:03:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787912934000,"timestamp_ms":1787912934000,"timestamp_seconds":1787912934,"priority":1,"record_length":96,"hex_timestamp":"000001a047ea5270"} 
[2026-08-28 16:03:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:03:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:03:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-28 16:03:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:03:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:03:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:03:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:03:17] local.INFO: Teltonika packet parsed successfully {"connection_id":166171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:03:17] local.INFO: Passing IMEI to GPS processor {"connection_id":166171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:03:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":166171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:03:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:03:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:03:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:03:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705707008001,"66":12885,"120":206,"28":31744,"24":20,"16":15939340894994432,"45":1748522585959852032},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 16:03:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:03:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:03:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705707008001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:03:17] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 16:03:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 16:03:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15939340894994432,"km_value":15939340894994.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:03:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1748522585959852032,"description":"Unknown IO ID 45"} 
[2026-08-28 16:03:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705707008001,"power":12885,"unknown_120":206,"unknown_28":31744,"ignition":20,"odometer":null,"unknown_45":1748522585959852032}} 
[2026-08-28 16:03:17] local.INFO: DEBUG: GPS processor result {"connection_id":166171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708514,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:03:17] local.INFO: GPS data processed {"connection_id":166171,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:03:17] local.INFO: Acknowledgment sent {"connection_id":166171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:03:30] local.INFO: TCP Data received {"connection_id":163818,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:03:30] local.INFO: Processing buffer {"connection_id":163818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:03:30] local.INFO: IMEI packet received {"connection_id":163818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 16:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":163818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:03:35] local.INFO: TCP Data received {"connection_id":163544,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047ea2b60012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ea2b60012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:03:35] local.INFO: Processing buffer {"connection_id":163544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ea2b60012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:03:35] local.INFO: Packet analysis {"connection_id":163544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ea"} 
[2026-08-28 16:03:35] local.INFO: Extracted packet for processing {"connection_id":163544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ea"} 
[2026-08-28 16:03:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705631488001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:03:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787912924000,"timestamp_ms":1787912924000,"timestamp_seconds":1787912924,"priority":1,"record_length":96,"hex_timestamp":"000001a047ea2b60"} 
[2026-08-28 16:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:03:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 16:03:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:03:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163544,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163544,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705631488001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705631488001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:03:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:03:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:03:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705631488001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:03:35] 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":708515,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:03:35] local.INFO: GPS data processed {"connection_id":163544,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:03:35] local.INFO: Acknowledgment sent {"connection_id":163544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:03:36] local.INFO: TCP Data received {"connection_id":163818,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:03:36] local.INFO: Processing buffer {"connection_id":163818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:03:36] local.INFO: IMEI packet received {"connection_id":163818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 16:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":163818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:03:38] local.INFO: TCP Data received {"connection_id":163818,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047ec3ab8012d34c14006aa4840000a00e628..."} 
[2026-08-28 16:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ec3ab8012d34c14006aa4840000a00e628..."} 
[2026-08-28 16:03:38] local.INFO: Processing buffer {"connection_id":163818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ec3ab8012d34c14006aa4840000a00e628..."} 
[2026-08-28 16:03:38] local.INFO: Packet analysis {"connection_id":163818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ec"} 
[2026-08-28 16:03:38] local.INFO: Extracted packet for processing {"connection_id":163818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ec"} 
[2026-08-28 16:03:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705666048001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:03:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787913059000,"timestamp_ms":1787913059000,"timestamp_seconds":1787913059,"priority":1,"record_length":96,"hex_timestamp":"000001a047ec3ab8"} 
[2026-08-28 16:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:03: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-28 16:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 16:03: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-28 16:03:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:03:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705666048001,"66":25451,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705666048001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:03:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:03:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:03: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-28 16:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705666048001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":163818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:03:38] local.INFO: GPS data processed {"connection_id":163818,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:03:38] local.INFO: Acknowledgment sent {"connection_id":163818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:03:49] local.INFO: TCP Data received {"connection_id":166171,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047ea6dc8012d182a400721be48004900f229..."} 
[2026-08-28 16:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ea6dc8012d182a400721be48004900f229..."} 
[2026-08-28 16:03:49] local.INFO: Processing buffer {"connection_id":166171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ea6dc8012d182a400721be48004900f229..."} 
[2026-08-28 16:03:49] local.INFO: Packet analysis {"connection_id":166171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ea"} 
[2026-08-28 16:03:49] local.INFO: Extracted packet for processing {"connection_id":166171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ea"} 
[2026-08-28 16:03:49] local.INFO: GPS Element Parsed {"raw_longitude":756558400,"raw_latitude":119651912,"longitude_deg":75.65584,"latitude_deg":11.9651912,"altitude":73,"angle":242,"satellites":41,"speed":8,"hex_longitude":"2d182a40","hex_latitude":"0721be48","is_valid_coordinates":true} 
[2026-08-28 16: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-28 16:03:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705711104001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:03:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15939443974209536,"note":"Value kept but may cause issues"} 
[2026-08-28 16:03:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742681980191174656,"note":"Value kept but may cause issues"} 
[2026-08-28 16:03:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:03:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787912941000,"timestamp_ms":1787912941000,"timestamp_seconds":1787912941,"priority":1,"record_length":96,"hex_timestamp":"000001a047ea6dc8"} 
[2026-08-28 16: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-28 16:03:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-28 16:03:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16: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-28 16: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-28 16:03:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:03:49] local.INFO: Teltonika packet parsed successfully {"connection_id":166171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:03:49] local.INFO: Passing IMEI to GPS processor {"connection_id":166171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:03:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":166171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:03:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:03:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:03:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:03:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705711104001,"66":12548,"120":206,"28":31744,"24":8,"16":15939443974209536,"45":1742681980191174656},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 16:03:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:03:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:03:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705711104001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:03:49] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 16:03:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 16:03:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15939443974209536,"km_value":15939443974209.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:03:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742681980191174656,"description":"Unknown IO ID 45"} 
[2026-08-28 16:03:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705711104001,"power":12548,"unknown_120":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1742681980191174656}} 
[2026-08-28 16:03:49] local.INFO: DEBUG: GPS processor result {"connection_id":166171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708517,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:03:49] local.INFO: GPS data processed {"connection_id":166171,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:03:49] local.INFO: Acknowledgment sent {"connection_id":166171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:03:56] local.INFO: TCP Data received {"connection_id":163819,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163819,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:03:56] local.INFO: Processing buffer {"connection_id":163819,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:03:56] local.INFO: IMEI packet received {"connection_id":163819,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 16:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":163819,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:04:02] local.INFO: TCP Data received {"connection_id":163819,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163819,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:04:02] local.INFO: Processing buffer {"connection_id":163819,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:04:02] local.INFO: IMEI packet received {"connection_id":163819,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 16:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":163819,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:04:03] local.INFO: TCP Data received {"connection_id":163819,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047ea2b60012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ea2b60012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:04:03] local.INFO: Processing buffer {"connection_id":163819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ea2b60012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:04:03] local.INFO: Packet analysis {"connection_id":163819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ea"} 
[2026-08-28 16:04:03] local.INFO: Extracted packet for processing {"connection_id":163819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ea"} 
[2026-08-28 16:04:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705631488001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787912924000,"timestamp_ms":1787912924000,"timestamp_seconds":1787912924,"priority":1,"record_length":96,"hex_timestamp":"000001a047ea2b60"} 
[2026-08-28 16:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:04:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 16:04:03] 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-28 16:04:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163819,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163819,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705631488001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705631488001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:04:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:04:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705631488001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":163819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708518,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:04:03] local.INFO: GPS data processed {"connection_id":163819,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:04:03] local.INFO: Acknowledgment sent {"connection_id":163819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:04:10] local.INFO: TCP Data received {"connection_id":166172,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166172,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:04:10] local.INFO: Processing buffer {"connection_id":166172,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:04:10] local.INFO: IMEI packet received {"connection_id":166172,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 16:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":166172,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:04:11] local.INFO: TCP Data received {"connection_id":163818,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047ec3ab8012d34c14006aa4840000a00e628..."} 
[2026-08-28 16:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ec3ab8012d34c14006aa4840000a00e628..."} 
[2026-08-28 16:04:11] local.INFO: Processing buffer {"connection_id":163818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ec3ab8012d34c14006aa4840000a00e628..."} 
[2026-08-28 16:04:11] local.INFO: Packet analysis {"connection_id":163818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ec"} 
[2026-08-28 16:04:11] local.INFO: Extracted packet for processing {"connection_id":163818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ec"} 
[2026-08-28 16:04:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705666048001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:04:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:04:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787913059000,"timestamp_ms":1787913059000,"timestamp_seconds":1787913059,"priority":1,"record_length":96,"hex_timestamp":"000001a047ec3ab8"} 
[2026-08-28 16:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:04: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-28 16:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 16:04:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:04:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":163818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":163818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":163818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:04:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705666048001,"66":25451,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705666048001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:04:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:04:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:04: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-28 16:04:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705666048001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":163818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:04:11] local.INFO: GPS data processed {"connection_id":163818,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:04:11] local.INFO: Acknowledgment sent {"connection_id":163818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:04:12] local.INFO: TCP Data received {"connection_id":166172,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166172,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:04:12] local.INFO: Processing buffer {"connection_id":166172,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:04:12] local.INFO: IMEI packet received {"connection_id":166172,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 16:04:12] local.INFO: IMEI acknowledgment sent {"connection_id":166172,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:04:16] local.INFO: TCP Data received {"connection_id":166172,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166172,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:04:16] local.INFO: Processing buffer {"connection_id":166172,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:04:16] local.INFO: IMEI packet received {"connection_id":166172,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 16:04:16] local.INFO: IMEI acknowledgment sent {"connection_id":166172,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:04:17] local.INFO: TCP Data received {"connection_id":166172,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047edf420012d1824800721ba68004d00ec27..."} 
[2026-08-28 16:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047edf420012d1824800721ba68004d00ec27..."} 
[2026-08-28 16:04:17] local.INFO: Processing buffer {"connection_id":166172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047edf420012d1824800721ba68004d00ec27..."} 
[2026-08-28 16:04:17] local.INFO: Packet analysis {"connection_id":166172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ed"} 
[2026-08-28 16:04:17] local.INFO: Extracted packet for processing {"connection_id":166172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ed"} 
[2026-08-28 16:04:17] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650920,"longitude_deg":75.6556928,"latitude_deg":11.965092,"altitude":77,"angle":236,"satellites":39,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721ba68","is_valid_coordinates":true} 
[2026-08-28 16:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:04:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705766656001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:04:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15939534168522752,"note":"Value kept but may cause issues"} 
[2026-08-28 16:04:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190844928,"note":"Value kept but may cause issues"} 
[2026-08-28 16:04:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:04:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787913172000,"timestamp_ms":1787913172000,"timestamp_seconds":1787913172,"priority":1,"record_length":96,"hex_timestamp":"000001a047edf420"} 
[2026-08-28 16:04:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:04:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-28 16:04: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-28 16:04:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:04:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:04:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:04:17] local.INFO: Teltonika packet parsed successfully {"connection_id":166172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:04:17] local.INFO: Passing IMEI to GPS processor {"connection_id":166172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:04:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":166172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:04:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:04:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:04:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:04:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705766656001,"66":12722,"120":206,"28":31744,"24":0,"16":15939534168522752,"45":1739656124190844928},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 16:04:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:04:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:04:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705766656001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:04:17] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 16:04:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 16:04:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15939534168522752,"km_value":15939534168522.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:04:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190844928,"description":"Unknown IO ID 45"} 
[2026-08-28 16:04:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705766656001,"power":12722,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739656124190844928}} 
[2026-08-28 16:04:17] local.INFO: DEBUG: GPS processor result {"connection_id":166172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708520,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:04:17] local.INFO: GPS data processed {"connection_id":166172,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:04:17] local.INFO: Acknowledgment sent {"connection_id":166172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:04:30] local.INFO: TCP Data received {"connection_id":164809,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:04:30] local.INFO: Processing buffer {"connection_id":164809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:04:30] local.INFO: IMEI packet received {"connection_id":164809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 16:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":164809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:04:35] local.INFO: TCP Data received {"connection_id":164809,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:04:36] local.INFO: Processing buffer {"connection_id":164809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:04:36] local.INFO: IMEI packet received {"connection_id":164809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 16:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":164809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:04:36] local.INFO: TCP Data received {"connection_id":163819,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047eec328012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047eec328012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:04:36] local.INFO: Processing buffer {"connection_id":163819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047eec328012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:04:36] local.INFO: Packet analysis {"connection_id":163819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ee"} 
[2026-08-28 16:04:36] local.INFO: Extracted packet for processing {"connection_id":163819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ee"} 
[2026-08-28 16:04:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705708544001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:04:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787913225000,"timestamp_ms":1787913225000,"timestamp_seconds":1787913225,"priority":1,"record_length":96,"hex_timestamp":"000001a047eec328"} 
[2026-08-28 16:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:04:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 16:04:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:04:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163819,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163819,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:04:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705708544001,"66":25430,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705708544001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:04:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:04:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705708544001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":163819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708521,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:04:36] local.INFO: GPS data processed {"connection_id":163819,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:04:36] local.INFO: Acknowledgment sent {"connection_id":163819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:04:38] local.INFO: TCP Data received {"connection_id":164809,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047ec3ab8012d34c14006aa4840000a00e628..."} 
[2026-08-28 16:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ec3ab8012d34c14006aa4840000a00e628..."} 
[2026-08-28 16:04:38] local.INFO: Processing buffer {"connection_id":164809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ec3ab8012d34c14006aa4840000a00e628..."} 
[2026-08-28 16:04:38] local.INFO: Packet analysis {"connection_id":164809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ec"} 
[2026-08-28 16:04:38] local.INFO: Extracted packet for processing {"connection_id":164809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ec"} 
[2026-08-28 16:04:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705666048001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:04:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787913059000,"timestamp_ms":1787913059000,"timestamp_seconds":1787913059,"priority":1,"record_length":96,"hex_timestamp":"000001a047ec3ab8"} 
[2026-08-28 16:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:04: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-28 16:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 16:04: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-28 16:04:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:04:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705666048001,"66":25451,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705666048001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:04:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:04:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:04: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-28 16:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705666048001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:04:38] 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":708522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:04:38] local.INFO: GPS data processed {"connection_id":164809,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:04:38] local.INFO: Acknowledgment sent {"connection_id":164809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:04:49] local.INFO: TCP Data received {"connection_id":166172,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047ee4628012d1824800721ba68004d00ec26..."} 
[2026-08-28 16:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ee4628012d1824800721ba68004d00ec26..."} 
[2026-08-28 16:04:49] local.INFO: Processing buffer {"connection_id":166172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ee4628012d1824800721ba68004d00ec26..."} 
[2026-08-28 16:04:49] local.INFO: Packet analysis {"connection_id":166172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ee"} 
[2026-08-28 16:04:49] local.INFO: Extracted packet for processing {"connection_id":166172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ee"} 
[2026-08-28 16:04:49] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650920,"longitude_deg":75.6556928,"latitude_deg":11.965092,"altitude":77,"angle":236,"satellites":38,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721ba68","is_valid_coordinates":true} 
[2026-08-28 16: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-28 16:04:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705772032001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:04:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15939534168522752,"note":"Value kept but may cause issues"} 
[2026-08-28 16:04:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190844928,"note":"Value kept but may cause issues"} 
[2026-08-28 16:04:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:04:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787913193000,"timestamp_ms":1787913193000,"timestamp_seconds":1787913193,"priority":1,"record_length":96,"hex_timestamp":"000001a047ee4628"} 
[2026-08-28 16: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-28 16:04:49] 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-28 16: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-28 16:04:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16: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-28 16: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-28 16:04:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:04:49] local.INFO: Teltonika packet parsed successfully {"connection_id":166172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:04:49] local.INFO: Passing IMEI to GPS processor {"connection_id":166172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:04:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":166172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:04:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:04:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:04:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:04:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705772032001,"66":12232,"120":206,"28":31744,"24":0,"16":15939534168522752,"45":1739656124190844928},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 16:04:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:04:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:04:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705772032001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:04:49] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 16:04:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 16:04:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15939534168522752,"km_value":15939534168522.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:04:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190844928,"description":"Unknown IO ID 45"} 
[2026-08-28 16:04:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705772032001,"power":12232,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739656124190844928}} 
[2026-08-28 16:04:49] local.INFO: DEBUG: GPS processor result {"connection_id":166172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708523,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:04:49] local.INFO: GPS data processed {"connection_id":166172,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:04:49] local.INFO: Acknowledgment sent {"connection_id":166172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:04:57] local.INFO: TCP Data received {"connection_id":163820,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163820,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:04:57] local.INFO: Processing buffer {"connection_id":163820,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:04:57] local.INFO: IMEI packet received {"connection_id":163820,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 16:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":163820,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:05:02] local.INFO: TCP Data received {"connection_id":163820,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163820,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:05:02] local.INFO: Processing buffer {"connection_id":163820,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:05:02] local.INFO: IMEI packet received {"connection_id":163820,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 16:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":163820,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:05:03] local.INFO: TCP Data received {"connection_id":163820,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047eec328012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047eec328012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:05:03] local.INFO: Processing buffer {"connection_id":163820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047eec328012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:05:03] local.INFO: Packet analysis {"connection_id":163820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ee"} 
[2026-08-28 16:05:03] local.INFO: Extracted packet for processing {"connection_id":163820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ee"} 
[2026-08-28 16:05:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705708544001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787913225000,"timestamp_ms":1787913225000,"timestamp_seconds":1787913225,"priority":1,"record_length":96,"hex_timestamp":"000001a047eec328"} 
[2026-08-28 16:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:05:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 16:05:03] 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-28 16:05:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163820,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163820,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705708544001,"66":25430,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705708544001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:05:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:05:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705708544001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":163820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708524,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:05:04] local.INFO: GPS data processed {"connection_id":163820,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:05:04] local.INFO: Acknowledgment sent {"connection_id":163820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:05:07] local.INFO: TCP Data received {"connection_id":163820,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047eec328012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047eec328012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:05:07] local.INFO: Processing buffer {"connection_id":163820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047eec328012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:05:07] local.INFO: Packet analysis {"connection_id":163820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ee"} 
[2026-08-28 16:05:07] local.INFO: Extracted packet for processing {"connection_id":163820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ee"} 
[2026-08-28 16:05:07] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705708544001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:05:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787913225000,"timestamp_ms":1787913225000,"timestamp_seconds":1787913225,"priority":1,"record_length":96,"hex_timestamp":"000001a047eec328"} 
[2026-08-28 16:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:05:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 16:05:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:05:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":163820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":163820,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":163820,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705708544001,"66":25430,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705708544001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:05:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:05:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705708544001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":163820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708525,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:05:07] local.INFO: GPS data processed {"connection_id":163820,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:05:07] local.INFO: Acknowledgment sent {"connection_id":163820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:05:09] local.INFO: TCP Data received {"connection_id":164809,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047ec3ab8012d34c14006aa4840000a00e628..."} 
[2026-08-28 16:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ec3ab8012d34c14006aa4840000a00e628..."} 
[2026-08-28 16:05:09] local.INFO: Processing buffer {"connection_id":164809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ec3ab8012d34c14006aa4840000a00e628..."} 
[2026-08-28 16:05:09] local.INFO: Packet analysis {"connection_id":164809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ec"} 
[2026-08-28 16:05:09] local.INFO: Extracted packet for processing {"connection_id":164809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ec"} 
[2026-08-28 16:05:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705666048001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:05:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:05:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:05:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:05:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787913059000,"timestamp_ms":1787913059000,"timestamp_seconds":1787913059,"priority":1,"record_length":96,"hex_timestamp":"000001a047ec3ab8"} 
[2026-08-28 16:05:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:05: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-28 16:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 16:05:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:05:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:05:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:05:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:05:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:05:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:05:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:05:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:05:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:05:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:05:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705666048001,"66":25451,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:05:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:05:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:05:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705666048001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:05:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:05:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:05: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-28 16:05:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:05:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705666048001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:05:09] 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":708526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:05:09] local.INFO: GPS data processed {"connection_id":164809,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:05:09] local.INFO: Acknowledgment sent {"connection_id":164809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:05:15] local.INFO: TCP Data received {"connection_id":163545,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:05:15] local.INFO: Processing buffer {"connection_id":163545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:05:15] local.INFO: IMEI packet received {"connection_id":163545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 16:05:15] local.INFO: IMEI acknowledgment sent {"connection_id":163545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:05:16] local.INFO: TCP Data received {"connection_id":163545,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:05:16] local.INFO: Processing buffer {"connection_id":163545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:05:16] local.INFO: IMEI packet received {"connection_id":163545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 16:05:16] local.INFO: IMEI acknowledgment sent {"connection_id":163545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:05:20] local.INFO: TCP Data received {"connection_id":163545,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:05:20] local.INFO: Processing buffer {"connection_id":163545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:05:20] local.INFO: IMEI packet received {"connection_id":163545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 16:05:20] local.INFO: IMEI acknowledgment sent {"connection_id":163545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:05:22] local.INFO: TCP Data received {"connection_id":163545,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047ee9830012d1824800721ba68004d00ec26..."} 
[2026-08-28 16:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ee9830012d1824800721ba68004d00ec26..."} 
[2026-08-28 16:05:22] local.INFO: Processing buffer {"connection_id":163545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ee9830012d1824800721ba68004d00ec26..."} 
[2026-08-28 16:05:22] local.INFO: Packet analysis {"connection_id":163545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ee"} 
[2026-08-28 16:05:22] local.INFO: Extracted packet for processing {"connection_id":163545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ee"} 
[2026-08-28 16:05:22] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650920,"longitude_deg":75.6556928,"latitude_deg":11.965092,"altitude":77,"angle":236,"satellites":38,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721ba68","is_valid_coordinates":true} 
[2026-08-28 16:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:05:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705777408001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:05:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15939534168522752,"note":"Value kept but may cause issues"} 
[2026-08-28 16:05:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190844928,"note":"Value kept but may cause issues"} 
[2026-08-28 16:05:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:05:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787913214000,"timestamp_ms":1787913214000,"timestamp_seconds":1787913214,"priority":1,"record_length":96,"hex_timestamp":"000001a047ee9830"} 
[2026-08-28 16:05:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:05:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 16:05:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:05:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:05:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:05:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:05:22] local.INFO: Teltonika packet parsed successfully {"connection_id":163545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:05:22] local.INFO: Passing IMEI to GPS processor {"connection_id":163545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:05:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":163545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:05:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:05:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:05:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:05:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705777408001,"66":12667,"120":206,"28":31744,"24":0,"16":15939534168522752,"45":1739656124190844928},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 16:05:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:05:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:05:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705777408001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:05:22] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 16:05:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 16:05:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15939534168522752,"km_value":15939534168522.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:05:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190844928,"description":"Unknown IO ID 45"} 
[2026-08-28 16:05:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705777408001,"power":12667,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739656124190844928}} 
[2026-08-28 16:05:22] 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":708527,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:05:22] local.INFO: GPS data processed {"connection_id":163545,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:05:22] local.INFO: Acknowledgment sent {"connection_id":163545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:05:26] local.INFO: TCP Data received {"connection_id":163545,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047eeea38012d1824800721ba68004d00ec27..."} 
[2026-08-28 16:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047eeea38012d1824800721ba68004d00ec27..."} 
[2026-08-28 16:05:26] local.INFO: Processing buffer {"connection_id":163545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047eeea38012d1824800721ba68004d00ec27..."} 
[2026-08-28 16:05:26] local.INFO: Packet analysis {"connection_id":163545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ee"} 
[2026-08-28 16:05:26] local.INFO: Extracted packet for processing {"connection_id":163545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ee"} 
[2026-08-28 16:05:26] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650920,"longitude_deg":75.6556928,"latitude_deg":11.965092,"altitude":77,"angle":236,"satellites":39,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721ba68","is_valid_coordinates":true} 
[2026-08-28 16:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:05:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705782784001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:05:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15939534168522752,"note":"Value kept but may cause issues"} 
[2026-08-28 16:05:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190844928,"note":"Value kept but may cause issues"} 
[2026-08-28 16:05:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:05:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787913235000,"timestamp_ms":1787913235000,"timestamp_seconds":1787913235,"priority":1,"record_length":96,"hex_timestamp":"000001a047eeea38"} 
[2026-08-28 16:05:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:05:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-28 16:05:26] 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-28 16:05:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:05:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:05:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:05:26] local.INFO: Teltonika packet parsed successfully {"connection_id":163545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:05:26] local.INFO: Passing IMEI to GPS processor {"connection_id":163545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:05:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":163545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:05:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:05:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:05:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:05:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705782784001,"66":12711,"120":206,"28":31744,"24":0,"16":15939534168522752,"45":1739656124190844928},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 16:05:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:05:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:05:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705782784001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:05:26] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 16:05:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 16:05:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15939534168522752,"km_value":15939534168522.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:05:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190844928,"description":"Unknown IO ID 45"} 
[2026-08-28 16:05:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705782784001,"power":12711,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739656124190844928}} 
[2026-08-28 16:05:27] 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":708528,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:05:27] local.INFO: GPS data processed {"connection_id":163545,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:05:27] local.INFO: Acknowledgment sent {"connection_id":163545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:05:36] local.INFO: TCP Data received {"connection_id":164810,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:05:36] local.INFO: Processing buffer {"connection_id":164810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:05:36] local.INFO: IMEI packet received {"connection_id":164810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 16:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":164810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:05:39] local.INFO: TCP Data received {"connection_id":163820,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047eec328012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047eec328012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:05:39] local.INFO: Processing buffer {"connection_id":163820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047eec328012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:05:39] local.INFO: Packet analysis {"connection_id":163820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ee"} 
[2026-08-28 16:05:39] local.INFO: Extracted packet for processing {"connection_id":163820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ee"} 
[2026-08-28 16:05:39] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:05:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:05:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705708544001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:05:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:05:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:05:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:05:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787913225000,"timestamp_ms":1787913225000,"timestamp_seconds":1787913225,"priority":1,"record_length":96,"hex_timestamp":"000001a047eec328"} 
[2026-08-28 16:05:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:05:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:05:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 16:05:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:05:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:05:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:05:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:05:39] local.INFO: Teltonika packet parsed successfully {"connection_id":163820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:05:39] local.INFO: Passing IMEI to GPS processor {"connection_id":163820,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:05:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":163820,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:05:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:05:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:05:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:05:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705708544001,"66":25430,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:05:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:05:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:05:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705708544001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:05:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:05:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:05:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:05:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:05:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705708544001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:05:39] local.INFO: DEBUG: GPS processor result {"connection_id":163820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708529,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:05:39] local.INFO: GPS data processed {"connection_id":163820,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:05:39] local.INFO: Acknowledgment sent {"connection_id":163820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:05:40] local.INFO: TCP Data received {"connection_id":164810,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:05:40] local.INFO: Processing buffer {"connection_id":164810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:05:40] local.INFO: IMEI packet received {"connection_id":164810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 16:05:40] local.INFO: IMEI acknowledgment sent {"connection_id":164810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:05:42] local.INFO: TCP Data received {"connection_id":164810,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047ec3ab8012d34c14006aa4840000a00e628..."} 
[2026-08-28 16:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ec3ab8012d34c14006aa4840000a00e628..."} 
[2026-08-28 16:05:42] local.INFO: Processing buffer {"connection_id":164810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ec3ab8012d34c14006aa4840000a00e628..."} 
[2026-08-28 16:05:42] local.INFO: Packet analysis {"connection_id":164810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ec"} 
[2026-08-28 16:05:42] local.INFO: Extracted packet for processing {"connection_id":164810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ec"} 
[2026-08-28 16:05:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 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-28 16:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705666048001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:05:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:05:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787913059000,"timestamp_ms":1787913059000,"timestamp_seconds":1787913059,"priority":1,"record_length":96,"hex_timestamp":"000001a047ec3ab8"} 
[2026-08-28 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-28 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-28 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":151,"data_length":795,"current_offset":136} 
[2026-08-28 16:05: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-28 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-28 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-28 16:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":164810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":164810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":164810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:05:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705666048001,"66":25451,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705666048001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:05:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:05:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 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-28 16:05:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705666048001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:05:42] 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":708530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:05:42] local.INFO: GPS data processed {"connection_id":164810,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:05:42] local.INFO: Acknowledgment sent {"connection_id":164810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:05:47] local.INFO: TCP Data received {"connection_id":164810,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047ec3ab8012d34c14006aa4840000a00e628..."} 
[2026-08-28 16:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ec3ab8012d34c14006aa4840000a00e628..."} 
[2026-08-28 16:05:47] local.INFO: Processing buffer {"connection_id":164810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ec3ab8012d34c14006aa4840000a00e628..."} 
[2026-08-28 16:05:47] local.INFO: Packet analysis {"connection_id":164810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ec"} 
[2026-08-28 16:05:47] local.INFO: Extracted packet for processing {"connection_id":164810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ec"} 
[2026-08-28 16:05:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16: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-28 16:05:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705666048001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:05:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:05:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:05:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:05:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787913059000,"timestamp_ms":1787913059000,"timestamp_seconds":1787913059,"priority":1,"record_length":96,"hex_timestamp":"000001a047ec3ab8"} 
[2026-08-28 16: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-28 16:05: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-28 16: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":151,"data_length":795,"current_offset":136} 
[2026-08-28 16:05: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-28 16: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-28 16: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-28 16:05:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:05:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:05:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:05:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:05:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:05:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:05:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:05:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705666048001,"66":25451,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:05:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:05:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:05:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705666048001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:05:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:05:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16: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-28 16:05:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:05:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705666048001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:05:47] 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":708531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:05:47] local.INFO: GPS data processed {"connection_id":164810,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:05:47] local.INFO: Acknowledgment sent {"connection_id":164810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:05:56] local.INFO: TCP Data received {"connection_id":166173,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166173,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:05:56] local.INFO: Processing buffer {"connection_id":166173,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:05:56] local.INFO: IMEI packet received {"connection_id":166173,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 16:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":166173,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:06:02] local.INFO: TCP Data received {"connection_id":166173,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166173,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:06:02] local.INFO: Processing buffer {"connection_id":166173,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:06:02] local.INFO: IMEI packet received {"connection_id":166173,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 16:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":166173,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:06:03] local.INFO: TCP Data received {"connection_id":166173,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047eec328012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047eec328012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:06:03] local.INFO: Processing buffer {"connection_id":166173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047eec328012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:06:03] local.INFO: Packet analysis {"connection_id":166173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ee"} 
[2026-08-28 16:06:03] local.INFO: Extracted packet for processing {"connection_id":166173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ee"} 
[2026-08-28 16:06:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705708544001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787913225000,"timestamp_ms":1787913225000,"timestamp_seconds":1787913225,"priority":1,"record_length":96,"hex_timestamp":"000001a047eec328"} 
[2026-08-28 16:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:06:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 16:06:03] 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-28 16:06:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":166173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":166173,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":166173,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:06:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705708544001,"66":25430,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705708544001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:06:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:06:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705708544001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":166173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708532,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:06:03] local.INFO: GPS data processed {"connection_id":166173,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:06:03] local.INFO: Acknowledgment sent {"connection_id":166173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:06:11] local.INFO: TCP Data received {"connection_id":163821,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:06:11] local.INFO: Processing buffer {"connection_id":163821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:06:11] local.INFO: IMEI packet received {"connection_id":163821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 16:06:11] local.INFO: IMEI acknowledgment sent {"connection_id":163821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:06:15] local.INFO: TCP Data received {"connection_id":163821,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:06:15] local.INFO: Processing buffer {"connection_id":163821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:06:15] local.INFO: IMEI packet received {"connection_id":163821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 16:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":163821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:06:16] local.INFO: TCP Data received {"connection_id":163821,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047ef3c40012d1824800721ba68004d00ec28..."} 
[2026-08-28 16:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ef3c40012d1824800721ba68004d00ec28..."} 
[2026-08-28 16:06:16] local.INFO: Processing buffer {"connection_id":163821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ef3c40012d1824800721ba68004d00ec28..."} 
[2026-08-28 16:06:16] local.INFO: Packet analysis {"connection_id":163821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ef"} 
[2026-08-28 16:06:16] local.INFO: Extracted packet for processing {"connection_id":163821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ef"} 
[2026-08-28 16:06:16] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650920,"longitude_deg":75.6556928,"latitude_deg":11.965092,"altitude":77,"angle":236,"satellites":40,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721ba68","is_valid_coordinates":true} 
[2026-08-28 16:06:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705788160001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:06:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15939534168522752,"note":"Value kept but may cause issues"} 
[2026-08-28 16:06:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190844928,"note":"Value kept but may cause issues"} 
[2026-08-28 16:06:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:06:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787913256000,"timestamp_ms":1787913256000,"timestamp_seconds":1787913256,"priority":1,"record_length":96,"hex_timestamp":"000001a047ef3c40"} 
[2026-08-28 16:06:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:06:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:06:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-28 16:06:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:06:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:06:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:06:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:06:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:06:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:06:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:06:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705788160001,"66":12667,"120":206,"28":31744,"24":0,"16":15939534168522752,"45":1739656124190844928},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 16:06:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:06:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:06:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705788160001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:06:16] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 16:06:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 16:06:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15939534168522752,"km_value":15939534168522.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:06:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190844928,"description":"Unknown IO ID 45"} 
[2026-08-28 16:06:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705788160001,"power":12667,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739656124190844928}} 
[2026-08-28 16:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":163821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708533,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:06:16] local.INFO: GPS data processed {"connection_id":163821,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:06:16] local.INFO: Acknowledgment sent {"connection_id":163821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:06:31] local.INFO: TCP Data received {"connection_id":163546,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:06:31] local.INFO: Processing buffer {"connection_id":163546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:06:31] local.INFO: IMEI packet received {"connection_id":163546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 16:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":163546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:06:36] local.INFO: TCP Data received {"connection_id":163546,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:06:36] local.INFO: Processing buffer {"connection_id":163546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:06:36] local.INFO: IMEI packet received {"connection_id":163546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 16:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":163546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:06:36] local.INFO: TCP Data received {"connection_id":166173,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047eec328012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047eec328012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:06:36] local.INFO: Processing buffer {"connection_id":166173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047eec328012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:06:36] local.INFO: Packet analysis {"connection_id":166173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ee"} 
[2026-08-28 16:06:36] local.INFO: Extracted packet for processing {"connection_id":166173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ee"} 
[2026-08-28 16:06:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705708544001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787913225000,"timestamp_ms":1787913225000,"timestamp_seconds":1787913225,"priority":1,"record_length":96,"hex_timestamp":"000001a047eec328"} 
[2026-08-28 16:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 16:06:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:06:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":166173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":166173,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":166173,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:06:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705708544001,"66":25430,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705708544001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:06:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:06:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705708544001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":166173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708534,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:06:36] local.INFO: GPS data processed {"connection_id":166173,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:06:36] local.INFO: Acknowledgment sent {"connection_id":166173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:06:38] local.INFO: TCP Data received {"connection_id":163546,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047ec3ab8012d34c14006aa4840000a00e628..."} 
[2026-08-28 16:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ec3ab8012d34c14006aa4840000a00e628..."} 
[2026-08-28 16:06:38] local.INFO: Processing buffer {"connection_id":163546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ec3ab8012d34c14006aa4840000a00e628..."} 
[2026-08-28 16:06:38] local.INFO: Packet analysis {"connection_id":163546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ec"} 
[2026-08-28 16:06:38] local.INFO: Extracted packet for processing {"connection_id":163546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ec"} 
[2026-08-28 16:06:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705666048001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:06:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787913059000,"timestamp_ms":1787913059000,"timestamp_seconds":1787913059,"priority":1,"record_length":96,"hex_timestamp":"000001a047ec3ab8"} 
[2026-08-28 16:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:06: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-28 16:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 16:06: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-28 16:06:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:06:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705666048001,"66":25451,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705666048001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:06:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:06:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:06: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-28 16:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705666048001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:06:38] 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":708535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:06:38] local.INFO: GPS data processed {"connection_id":163546,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:06:38] local.INFO: Acknowledgment sent {"connection_id":163546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:06:48] local.INFO: TCP Data received {"connection_id":163821,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047ef8e48012d1824800721ba68004d00ec26..."} 
[2026-08-28 16:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ef8e48012d1824800721ba68004d00ec26..."} 
[2026-08-28 16:06:48] local.INFO: Processing buffer {"connection_id":163821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ef8e48012d1824800721ba68004d00ec26..."} 
[2026-08-28 16:06:48] local.INFO: Packet analysis {"connection_id":163821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ef"} 
[2026-08-28 16:06:48] local.INFO: Extracted packet for processing {"connection_id":163821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ef"} 
[2026-08-28 16:06:48] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650920,"longitude_deg":75.6556928,"latitude_deg":11.965092,"altitude":77,"angle":236,"satellites":38,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721ba68","is_valid_coordinates":true} 
[2026-08-28 16:06:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:06:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705793536001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:06:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15939534168522752,"note":"Value kept but may cause issues"} 
[2026-08-28 16:06:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190844928,"note":"Value kept but may cause issues"} 
[2026-08-28 16:06:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:06:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787913277000,"timestamp_ms":1787913277000,"timestamp_seconds":1787913277,"priority":1,"record_length":96,"hex_timestamp":"000001a047ef8e48"} 
[2026-08-28 16:06:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:06:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:06:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-28 16:06:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:06:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:06:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:06:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:06:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:06:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:06:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:06:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:06:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:06:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:06:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705793536001,"66":12667,"120":206,"28":31744,"24":0,"16":15939534168522752,"45":1739656124190844928},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 16:06:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:06:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:06:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705793536001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:06:48] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 16:06:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 16:06:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15939534168522752,"km_value":15939534168522.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:06:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190844928,"description":"Unknown IO ID 45"} 
[2026-08-28 16:06:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705793536001,"power":12667,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739656124190844928}} 
[2026-08-28 16:06:48] local.INFO: DEBUG: GPS processor result {"connection_id":163821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708536,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:06:48] local.INFO: GPS data processed {"connection_id":163821,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:06:48] local.INFO: Acknowledgment sent {"connection_id":163821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:06:56] local.INFO: TCP Data received {"connection_id":164811,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164811,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:06:56] local.INFO: Processing buffer {"connection_id":164811,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:06:56] local.INFO: IMEI packet received {"connection_id":164811,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 16:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":164811,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:07:01] local.INFO: TCP Data received {"connection_id":164811,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164811,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:07:01] local.INFO: Processing buffer {"connection_id":164811,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:07:01] local.INFO: IMEI packet received {"connection_id":164811,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 16:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":164811,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:07:03] local.INFO: TCP Data received {"connection_id":164811,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047eec328012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047eec328012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:07:03] local.INFO: Processing buffer {"connection_id":164811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047eec328012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:07:03] local.INFO: Packet analysis {"connection_id":164811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ee"} 
[2026-08-28 16:07:03] local.INFO: Extracted packet for processing {"connection_id":164811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ee"} 
[2026-08-28 16:07:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705708544001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787913225000,"timestamp_ms":1787913225000,"timestamp_seconds":1787913225,"priority":1,"record_length":96,"hex_timestamp":"000001a047eec328"} 
[2026-08-28 16:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:07:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 16:07:03] 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-28 16:07:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":164811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":164811,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":164811,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705708544001,"66":25430,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705708544001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:07:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:07:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705708544001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":164811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708537,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:07:03] local.INFO: GPS data processed {"connection_id":164811,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:07:03] local.INFO: Acknowledgment sent {"connection_id":164811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:07:08] local.INFO: TCP Data received {"connection_id":164812,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:07:08] local.INFO: Processing buffer {"connection_id":164812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:07:08] local.INFO: IMEI packet received {"connection_id":164812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 16:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":164812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:07:10] local.INFO: TCP Data received {"connection_id":164812,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:07:10] local.INFO: Processing buffer {"connection_id":164812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:07:10] local.INFO: IMEI packet received {"connection_id":164812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 16:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":164812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:07:11] local.INFO: TCP Data received {"connection_id":163546,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047f0d280012d34c14006aa4840000f00e62a..."} 
[2026-08-28 16:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047f0d280012d34c14006aa4840000f00e62a..."} 
[2026-08-28 16:07:11] local.INFO: Processing buffer {"connection_id":163546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047f0d280012d34c14006aa4840000f00e62a..."} 
[2026-08-28 16:07:11] local.INFO: Packet analysis {"connection_id":163546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047f0"} 
[2026-08-28 16:07:11] local.INFO: Extracted packet for processing {"connection_id":163546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047f0"} 
[2026-08-28 16:07:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705743104001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:07:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:07:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787913360000,"timestamp_ms":1787913360000,"timestamp_seconds":1787913360,"priority":1,"record_length":96,"hex_timestamp":"000001a047f0d280"} 
[2026-08-28 16:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:07: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-28 16:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-28 16:07:11] 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-28 16:07:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":163546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":163546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":163546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:07:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705743104001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705743104001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:07:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:07:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:07: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-28 16:07:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705743104001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:07:11] 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":708538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:07:11] local.INFO: GPS data processed {"connection_id":163546,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:07:11] local.INFO: Acknowledgment sent {"connection_id":163546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:07:16] local.INFO: TCP Data received {"connection_id":164812,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:07:16] local.INFO: Processing buffer {"connection_id":164812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:07:16] local.INFO: IMEI packet received {"connection_id":164812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 16:07:16] local.INFO: IMEI acknowledgment sent {"connection_id":164812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:07:17] local.INFO: TCP Data received {"connection_id":164812,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047efe050012d1824800721ba68004d00ec27..."} 
[2026-08-28 16:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047efe050012d1824800721ba68004d00ec27..."} 
[2026-08-28 16:07:17] local.INFO: Processing buffer {"connection_id":164812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047efe050012d1824800721ba68004d00ec27..."} 
[2026-08-28 16:07:17] local.INFO: Packet analysis {"connection_id":164812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ef"} 
[2026-08-28 16:07:17] local.INFO: Extracted packet for processing {"connection_id":164812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ef"} 
[2026-08-28 16:07:17] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650920,"longitude_deg":75.6556928,"latitude_deg":11.965092,"altitude":77,"angle":236,"satellites":39,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721ba68","is_valid_coordinates":true} 
[2026-08-28 16: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-28 16:07:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705798912001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:07:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15939534168522752,"note":"Value kept but may cause issues"} 
[2026-08-28 16:07:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190844928,"note":"Value kept but may cause issues"} 
[2026-08-28 16:07:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:07:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787913298000,"timestamp_ms":1787913298000,"timestamp_seconds":1787913298,"priority":1,"record_length":96,"hex_timestamp":"000001a047efe050"} 
[2026-08-28 16: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-28 16:07:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-28 16:07: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-28 16: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-28 16: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-28 16:07:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:07:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:07:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:07:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:07:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:07:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:07:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:07:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705798912001,"66":12645,"120":206,"28":31744,"24":0,"16":15939534168522752,"45":1739656124190844928},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 16:07:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:07:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:07:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705798912001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:07:17] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 16:07:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 16:07:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15939534168522752,"km_value":15939534168522.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:07:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190844928,"description":"Unknown IO ID 45"} 
[2026-08-28 16:07:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705798912001,"power":12645,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739656124190844928}} 
[2026-08-28 16:07:17] 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":708539,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:07:17] local.INFO: GPS data processed {"connection_id":164812,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:07:17] local.INFO: Acknowledgment sent {"connection_id":164812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:07:30] local.INFO: TCP Data received {"connection_id":164813,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:07:30] local.INFO: Processing buffer {"connection_id":164813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:07:30] local.INFO: IMEI packet received {"connection_id":164813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 16:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":164813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:07:35] local.INFO: TCP Data received {"connection_id":164811,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047eec328012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047eec328012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:07:35] local.INFO: Processing buffer {"connection_id":164811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047eec328012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:07:35] local.INFO: Packet analysis {"connection_id":164811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ee"} 
[2026-08-28 16:07:35] local.INFO: Extracted packet for processing {"connection_id":164811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ee"} 
[2026-08-28 16:07:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705708544001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:07:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:07:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787913225000,"timestamp_ms":1787913225000,"timestamp_seconds":1787913225,"priority":1,"record_length":96,"hex_timestamp":"000001a047eec328"} 
[2026-08-28 16:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:07:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 16:07:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:07:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":164811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":164811,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":164811,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:07:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705708544001,"66":25430,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705708544001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:07:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:07:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:07:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705708544001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":164811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708540,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:07:35] local.INFO: GPS data processed {"connection_id":164811,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:07:35] local.INFO: Acknowledgment sent {"connection_id":164811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:07:36] local.INFO: TCP Data received {"connection_id":164813,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:07:36] local.INFO: Processing buffer {"connection_id":164813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:07:36] local.INFO: IMEI packet received {"connection_id":164813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 16:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":164813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:07:37] local.INFO: TCP Data received {"connection_id":164813,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047f0d280012d34c14006aa4840000f00e62a..."} 
[2026-08-28 16:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047f0d280012d34c14006aa4840000f00e62a..."} 
[2026-08-28 16:07:37] local.INFO: Processing buffer {"connection_id":164813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047f0d280012d34c14006aa4840000f00e62a..."} 
[2026-08-28 16:07:37] local.INFO: Packet analysis {"connection_id":164813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047f0"} 
[2026-08-28 16:07:37] local.INFO: Extracted packet for processing {"connection_id":164813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047f0"} 
[2026-08-28 16:07:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705743104001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787913360000,"timestamp_ms":1787913360000,"timestamp_seconds":1787913360,"priority":1,"record_length":96,"hex_timestamp":"000001a047f0d280"} 
[2026-08-28 16:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-28 16:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705743104001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705743104001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:07:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:07:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:07: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-28 16:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705743104001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:07:37] 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":708541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:07:37] local.INFO: GPS data processed {"connection_id":164813,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:07:37] local.INFO: Acknowledgment sent {"connection_id":164813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:07:49] local.INFO: TCP Data received {"connection_id":164812,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047f03258012d1824800721ba68004d00ec27..."} 
[2026-08-28 16:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047f03258012d1824800721ba68004d00ec27..."} 
[2026-08-28 16:07:49] local.INFO: Processing buffer {"connection_id":164812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047f03258012d1824800721ba68004d00ec27..."} 
[2026-08-28 16:07:49] local.INFO: Packet analysis {"connection_id":164812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047f0"} 
[2026-08-28 16:07:49] local.INFO: Extracted packet for processing {"connection_id":164812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047f0"} 
[2026-08-28 16:07:49] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650920,"longitude_deg":75.6556928,"latitude_deg":11.965092,"altitude":77,"angle":236,"satellites":39,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721ba68","is_valid_coordinates":true} 
[2026-08-28 16:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:07:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705804288001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:07:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15939534168522752,"note":"Value kept but may cause issues"} 
[2026-08-28 16:07:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190844928,"note":"Value kept but may cause issues"} 
[2026-08-28 16:07:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:07:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787913319000,"timestamp_ms":1787913319000,"timestamp_seconds":1787913319,"priority":1,"record_length":96,"hex_timestamp":"000001a047f03258"} 
[2026-08-28 16:07:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:07:49] 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-28 16:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-28 16:07:49] 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-28 16:07:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:07:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:07:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:07:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:07:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:07:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:07:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:07:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:07:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:07:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705804288001,"66":12613,"120":206,"28":31744,"24":0,"16":15939534168522752,"45":1739656124190844928},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 16:07:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:07:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:07:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705804288001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:07:49] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 16:07:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 16:07:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15939534168522752,"km_value":15939534168522.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:07:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190844928,"description":"Unknown IO ID 45"} 
[2026-08-28 16:07:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705804288001,"power":12613,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739656124190844928}} 
[2026-08-28 16:07:49] 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":708542,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:07:49] local.INFO: GPS data processed {"connection_id":164812,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:07:49] local.INFO: Acknowledgment sent {"connection_id":164812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:07:56] local.INFO: TCP Data received {"connection_id":163822,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163822,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:07:56] local.INFO: Processing buffer {"connection_id":163822,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:07:56] local.INFO: IMEI packet received {"connection_id":163822,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 16:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":163822,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:08:01] local.INFO: TCP Data received {"connection_id":163822,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163822,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:08:01] local.INFO: Processing buffer {"connection_id":163822,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:08:01] local.INFO: IMEI packet received {"connection_id":163822,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 16:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":163822,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:08:03] local.INFO: TCP Data received {"connection_id":163822,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047eec328012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047eec328012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:08:03] local.INFO: Processing buffer {"connection_id":163822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047eec328012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:08:03] local.INFO: Packet analysis {"connection_id":163822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ee"} 
[2026-08-28 16:08:03] local.INFO: Extracted packet for processing {"connection_id":163822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ee"} 
[2026-08-28 16:08:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705708544001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:08:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787913225000,"timestamp_ms":1787913225000,"timestamp_seconds":1787913225,"priority":1,"record_length":96,"hex_timestamp":"000001a047eec328"} 
[2026-08-28 16:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:08:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 16:08:03] 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-28 16:08:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163822,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163822,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705708544001,"66":25430,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705708544001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:08:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:08:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705708544001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":163822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708543,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:08:03] local.INFO: GPS data processed {"connection_id":163822,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:08:03] local.INFO: Acknowledgment sent {"connection_id":163822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:08:10] local.INFO: TCP Data received {"connection_id":163547,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:08:10] local.INFO: Processing buffer {"connection_id":163547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:08:10] local.INFO: IMEI packet received {"connection_id":163547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 16:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":163547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:08:10] local.INFO: TCP Data received {"connection_id":164813,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047f0d280012d34c14006aa4840000f00e62a..."} 
[2026-08-28 16:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047f0d280012d34c14006aa4840000f00e62a..."} 
[2026-08-28 16:08:10] local.INFO: Processing buffer {"connection_id":164813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047f0d280012d34c14006aa4840000f00e62a..."} 
[2026-08-28 16:08:10] local.INFO: Packet analysis {"connection_id":164813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047f0"} 
[2026-08-28 16:08:10] local.INFO: Extracted packet for processing {"connection_id":164813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047f0"} 
[2026-08-28 16:08:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705743104001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787913360000,"timestamp_ms":1787913360000,"timestamp_seconds":1787913360,"priority":1,"record_length":96,"hex_timestamp":"000001a047f0d280"} 
[2026-08-28 16:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-28 16:08:10] 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-28 16:08:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":164813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":164813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":164813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:08:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705743104001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705743104001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:08:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:08:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705743104001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:08:10] 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":708544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:08:10] local.INFO: GPS data processed {"connection_id":164813,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:08:10] local.INFO: Acknowledgment sent {"connection_id":164813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:08:10] local.INFO: TCP Data received {"connection_id":163547,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:08:10] local.INFO: Processing buffer {"connection_id":163547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:08:10] local.INFO: IMEI packet received {"connection_id":163547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 16:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":163547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:08:16] local.INFO: TCP Data received {"connection_id":163547,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:08:16] local.INFO: Processing buffer {"connection_id":163547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:08:16] local.INFO: IMEI packet received {"connection_id":163547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 16:08:16] local.INFO: IMEI acknowledgment sent {"connection_id":163547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:08:17] local.INFO: TCP Data received {"connection_id":163547,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047f078a8012d1823800721b868004a00d127..."} 
[2026-08-28 16:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047f078a8012d1823800721b868004a00d127..."} 
[2026-08-28 16:08:17] local.INFO: Processing buffer {"connection_id":163547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047f078a8012d1823800721b868004a00d127..."} 
[2026-08-28 16:08:17] local.INFO: Packet analysis {"connection_id":163547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047f0"} 
[2026-08-28 16:08:17] local.INFO: Extracted packet for processing {"connection_id":163547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047f0"} 
[2026-08-28 16:08:17] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650408,"longitude_deg":75.6556672,"latitude_deg":11.9650408,"altitude":74,"angle":209,"satellites":39,"speed":1,"hex_longitude":"2d182380","hex_latitude":"0721b868","is_valid_coordinates":true} 
[2026-08-28 16: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-28 16:08:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705809664001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:08:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15939559938326528,"note":"Value kept but may cause issues"} 
[2026-08-28 16:08:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190844928,"note":"Value kept but may cause issues"} 
[2026-08-28 16:08:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:08:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787913337000,"timestamp_ms":1787913337000,"timestamp_seconds":1787913337,"priority":1,"record_length":96,"hex_timestamp":"000001a047f078a8"} 
[2026-08-28 16: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-28 16:08:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-28 16:08:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16: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-28 16: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-28 16:08:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:08:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:08:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:08:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:08:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:08:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:08:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:08:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705809664001,"66":12591,"120":206,"28":31744,"24":1,"16":15939559938326528,"45":1739656124190844928},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 16:08:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:08:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:08:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705809664001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:08:17] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 16:08:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 16:08:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15939559938326528,"km_value":15939559938326.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:08:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190844928,"description":"Unknown IO ID 45"} 
[2026-08-28 16:08:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705809664001,"power":12591,"unknown_120":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":1739656124190844928}} 
[2026-08-28 16:08:17] local.INFO: DEBUG: GPS processor result {"connection_id":163547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:08:17] local.INFO: GPS data processed {"connection_id":163547,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:08:17] local.INFO: Acknowledgment sent {"connection_id":163547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:08:35] local.INFO: TCP Data received {"connection_id":163822,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047eec328012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047eec328012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:08:35] local.INFO: Processing buffer {"connection_id":163822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047eec328012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:08:35] local.INFO: Packet analysis {"connection_id":163822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ee"} 
[2026-08-28 16:08:35] local.INFO: Extracted packet for processing {"connection_id":163822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ee"} 
[2026-08-28 16:08:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:08:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705708544001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:08:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:08:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:08:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:08:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787913225000,"timestamp_ms":1787913225000,"timestamp_seconds":1787913225,"priority":1,"record_length":96,"hex_timestamp":"000001a047eec328"} 
[2026-08-28 16:08:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:08:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 16:08:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:08:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:08:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:08:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:08:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:08:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163822,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:08:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163822,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:08:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:08:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:08:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:08:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705708544001,"66":25430,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:08:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:08:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:08:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705708544001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:08:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:08:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:08:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:08:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:08:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705708544001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:08:35] local.INFO: DEBUG: GPS processor result {"connection_id":163822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708546,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:08:35] local.INFO: GPS data processed {"connection_id":163822,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:08:35] local.INFO: Acknowledgment sent {"connection_id":163822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:08:36] local.INFO: TCP Data received {"connection_id":163548,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:08:36] local.INFO: Processing buffer {"connection_id":163548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:08:36] local.INFO: IMEI packet received {"connection_id":163548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 16:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":163548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:08:41] local.INFO: TCP Data received {"connection_id":163548,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:08:41] local.INFO: Processing buffer {"connection_id":163548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:08:41] local.INFO: IMEI packet received {"connection_id":163548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 16:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":163548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:08:42] local.INFO: TCP Data received {"connection_id":163548,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047f0d280012d34c14006aa4840000f00e62a..."} 
[2026-08-28 16:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047f0d280012d34c14006aa4840000f00e62a..."} 
[2026-08-28 16:08:42] local.INFO: Processing buffer {"connection_id":163548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047f0d280012d34c14006aa4840000f00e62a..."} 
[2026-08-28 16:08:42] local.INFO: Packet analysis {"connection_id":163548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047f0"} 
[2026-08-28 16:08:42] local.INFO: Extracted packet for processing {"connection_id":163548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047f0"} 
[2026-08-28 16:08:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16: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-28 16:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705743104001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:08:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:08:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787913360000,"timestamp_ms":1787913360000,"timestamp_seconds":1787913360,"priority":1,"record_length":96,"hex_timestamp":"000001a047f0d280"} 
[2026-08-28 16: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-28 16: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-28 16: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":107,"data_length":795,"current_offset":136} 
[2026-08-28 16:08: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-28 16: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-28 16: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-28 16:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:08:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705743104001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705743104001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:08:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:08:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16: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-28 16:08:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705743104001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:08:42] 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":708547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:08:42] local.INFO: GPS data processed {"connection_id":163548,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:08:42] local.INFO: Acknowledgment sent {"connection_id":163548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:08:47] local.INFO: TCP Data received {"connection_id":163548,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047f0d280012d34c14006aa4840000f00e62a..."} 
[2026-08-28 16:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047f0d280012d34c14006aa4840000f00e62a..."} 
[2026-08-28 16:08:47] local.INFO: Processing buffer {"connection_id":163548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047f0d280012d34c14006aa4840000f00e62a..."} 
[2026-08-28 16:08:47] local.INFO: Packet analysis {"connection_id":163548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047f0"} 
[2026-08-28 16:08:47] local.INFO: Extracted packet for processing {"connection_id":163548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047f0"} 
[2026-08-28 16:08:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:08:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:08:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705743104001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:08:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:08:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:08:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:08:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787913360000,"timestamp_ms":1787913360000,"timestamp_seconds":1787913360,"priority":1,"record_length":96,"hex_timestamp":"000001a047f0d280"} 
[2026-08-28 16:08:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:08: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-28 16:08:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-28 16:08:47] 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-28 16:08:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:08:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:08:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:08:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:08:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:08:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:08:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:08:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:08:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:08:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705743104001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:08:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:08:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:08:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705743104001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:08:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:08:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16: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-28 16:08:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:08:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705743104001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:08:47] 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":708548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:08:47] local.INFO: GPS data processed {"connection_id":163548,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:08:47] local.INFO: Acknowledgment sent {"connection_id":163548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:08:49] local.INFO: TCP Data received {"connection_id":163547,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047f08c30012d1823400721b7a0004a00c127..."} 
[2026-08-28 16:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047f08c30012d1823400721b7a0004a00c127..."} 
[2026-08-28 16:08:49] local.INFO: Processing buffer {"connection_id":163547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047f08c30012d1823400721b7a0004a00c127..."} 
[2026-08-28 16:08:49] local.INFO: Packet analysis {"connection_id":163547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047f0"} 
[2026-08-28 16:08:49] local.INFO: Extracted packet for processing {"connection_id":163547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047f0"} 
[2026-08-28 16:08:49] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650208,"longitude_deg":75.6556608,"latitude_deg":11.9650208,"altitude":74,"angle":193,"satellites":39,"speed":1,"hex_longitude":"2d182340","hex_latitude":"0721b7a0","is_valid_coordinates":true} 
[2026-08-28 16:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:08:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705814272001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:08:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15939572823228416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:08:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649214003200,"note":"Value kept but may cause issues"} 
[2026-08-28 16:08:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:08:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787913342000,"timestamp_ms":1787913342000,"timestamp_seconds":1787913342,"priority":1,"record_length":96,"hex_timestamp":"000001a047f08c30"} 
[2026-08-28 16:08:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:08:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-28 16:08:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:08:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:08:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:08:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:08:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:08:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:08:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:08:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:08:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:08:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:08:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705814272001,"66":12558,"120":206,"28":31744,"24":1,"16":15939572823228416,"45":1739374649214003200},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 16:08:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:08:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:08:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705814272001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:08:49] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 16:08:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 16:08:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15939572823228416,"km_value":15939572823228.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:08:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649214003200,"description":"Unknown IO ID 45"} 
[2026-08-28 16:08:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705814272001,"power":12558,"unknown_120":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":1739374649214003200}} 
[2026-08-28 16:08:49] local.INFO: DEBUG: GPS processor result {"connection_id":163547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708549,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:08:49] local.INFO: GPS data processed {"connection_id":163547,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:08:49] local.INFO: Acknowledgment sent {"connection_id":163547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:09:02] local.INFO: TCP Data received {"connection_id":163823,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163823,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:09:02] local.INFO: Processing buffer {"connection_id":163823,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:09:02] local.INFO: IMEI packet received {"connection_id":163823,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 16:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":163823,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:09:07] local.INFO: TCP Data received {"connection_id":163823,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163823,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:09:07] local.INFO: Processing buffer {"connection_id":163823,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:09:07] local.INFO: IMEI packet received {"connection_id":163823,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 16:09:07] local.INFO: IMEI acknowledgment sent {"connection_id":163823,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:09:08] local.INFO: TCP Data received {"connection_id":163823,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047eec328012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047eec328012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:09:08] local.INFO: Processing buffer {"connection_id":163823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047eec328012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:09:08] local.INFO: Packet analysis {"connection_id":163823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ee"} 
[2026-08-28 16:09:08] local.INFO: Extracted packet for processing {"connection_id":163823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ee"} 
[2026-08-28 16:09:08] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705708544001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:09:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787913225000,"timestamp_ms":1787913225000,"timestamp_seconds":1787913225,"priority":1,"record_length":96,"hex_timestamp":"000001a047eec328"} 
[2026-08-28 16:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:09:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 16:09:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:09:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163823,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163823,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:09:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705708544001,"66":25430,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705708544001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:09:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:09:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705708544001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":163823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708550,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:09:08] local.INFO: GPS data processed {"connection_id":163823,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:09:08] local.INFO: Acknowledgment sent {"connection_id":163823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:09:10] local.INFO: TCP Data received {"connection_id":166174,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166174,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:09:10] local.INFO: Processing buffer {"connection_id":166174,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:09:10] local.INFO: IMEI packet received {"connection_id":166174,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 16:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":166174,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:09:13] local.INFO: TCP Data received {"connection_id":166174,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166174,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:09:13] local.INFO: Processing buffer {"connection_id":166174,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:09:13] local.INFO: IMEI packet received {"connection_id":166174,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 16:09:13] local.INFO: IMEI acknowledgment sent {"connection_id":166174,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:09:13] local.INFO: TCP Data received {"connection_id":163823,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047eec328012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047eec328012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:09:13] local.INFO: Processing buffer {"connection_id":163823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047eec328012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:09:13] local.INFO: Packet analysis {"connection_id":163823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ee"} 
[2026-08-28 16:09:13] local.INFO: Extracted packet for processing {"connection_id":163823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ee"} 
[2026-08-28 16:09:13] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16: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-28 16:09:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705708544001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:09:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:09:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:09:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:09:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787913225000,"timestamp_ms":1787913225000,"timestamp_seconds":1787913225,"priority":1,"record_length":96,"hex_timestamp":"000001a047eec328"} 
[2026-08-28 16: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-28 16:09:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16: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":118,"data_length":795,"current_offset":136} 
[2026-08-28 16:09: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-28 16: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-28 16: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-28 16:09:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:09:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:09:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163823,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:09:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163823,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:09:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:09:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:09:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:09:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705708544001,"66":25430,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:09:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:09:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:09:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705708544001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:09:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:09:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:09:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:09:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:09:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705708544001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:09:13] local.INFO: DEBUG: GPS processor result {"connection_id":163823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708551,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:09:13] local.INFO: GPS data processed {"connection_id":163823,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:09:13] local.INFO: Acknowledgment sent {"connection_id":163823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:09:16] local.INFO: TCP Data received {"connection_id":166174,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166174,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:09:16] local.INFO: Processing buffer {"connection_id":166174,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:09:16] local.INFO: IMEI packet received {"connection_id":166174,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 16:09:16] local.INFO: IMEI acknowledgment sent {"connection_id":166174,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:09:18] local.INFO: TCP Data received {"connection_id":166174,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047f09bd0012d1823000721b6f8004a00d027..."} 
[2026-08-28 16:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047f09bd0012d1823000721b6f8004a00d027..."} 
[2026-08-28 16:09:18] local.INFO: Processing buffer {"connection_id":166174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047f09bd0012d1823000721b6f8004a00d027..."} 
[2026-08-28 16:09:18] local.INFO: Packet analysis {"connection_id":166174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047f0"} 
[2026-08-28 16:09:18] local.INFO: Extracted packet for processing {"connection_id":166174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047f0"} 
[2026-08-28 16:09:18] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119650040,"longitude_deg":75.6556544,"latitude_deg":11.965004,"altitude":74,"angle":208,"satellites":39,"speed":1,"hex_longitude":"2d182300","hex_latitude":"0721b6f8","is_valid_coordinates":true} 
[2026-08-28 16: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-28 16:09:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705815552001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:09:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15939585708130304,"note":"Value kept but may cause issues"} 
[2026-08-28 16:09:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469774336,"note":"Value kept but may cause issues"} 
[2026-08-28 16:09:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:09:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787913346000,"timestamp_ms":1787913346000,"timestamp_seconds":1787913346,"priority":1,"record_length":96,"hex_timestamp":"000001a047f09bd0"} 
[2026-08-28 16: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-28 16:09:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-28 16:09:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-08-28 16:09:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249387263441877608,"note":"Value kept but may cause issues"} 
[2026-08-28 16:09:18] local.WARNING: Large IO value detected {"io_id":71,"raw_value":4019079169,"note":"Value kept but may cause issues"} 
[2026-08-28 16:09:18] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3127377997,"note":"Value kept but may cause issues"} 
[2026-08-28 16:09:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-08-28 16:09:18] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2147951034,"note":"Value kept but may cause issues"} 
[2026-08-28 16:09:18] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2699821056,"note":"Value kept but may cause issues"} 
[2026-08-28 16:09:18] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-08-28 16:09:18] local.WARNING: Large IO value detected {"io_id":79,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-28 16:09:18] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-08-28 16:09:18] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,120,28,24,241,158,16,160,45,128,184,74,39,10,66,50,186,77,224,1,240,101,71,33,4,113,205,60,36,104,40,239,49,2,56,7,231,79,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-08-28 16:09:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332474332054618112,"timestamp_seconds":5332474332054618.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 16: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-28 16:09:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:09:18] local.INFO: Teltonika packet parsed successfully {"connection_id":166174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:09:18] local.INFO: Passing IMEI to GPS processor {"connection_id":166174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:09:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":166174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:09:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:09:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:09:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:09:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705815552001,"66":12613,"120":206,"28":31744,"24":1,"16":15939585708130304,"45":1739304280469774336},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 16:09:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:09:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:09:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705815552001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:09:18] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 16:09:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 16:09:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15939585708130304,"km_value":15939585708130.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:09:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469774336,"description":"Unknown IO ID 45"} 
[2026-08-28 16:09:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705815552001,"power":12613,"unknown_120":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":1739304280469774336}} 
[2026-08-28 16:09:18] local.INFO: DEBUG: GPS processor result {"connection_id":166174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708552,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:09:18] local.INFO: GPS data processed {"connection_id":166174,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:09:18] local.INFO: Acknowledgment sent {"connection_id":166174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:09:30] local.INFO: TCP Data received {"connection_id":163824,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:09:30] local.INFO: Processing buffer {"connection_id":163824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:09:30] local.INFO: IMEI packet received {"connection_id":163824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 16:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":163824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:09:36] local.INFO: TCP Data received {"connection_id":163824,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:09:36] local.INFO: Processing buffer {"connection_id":163824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:09:36] local.INFO: IMEI packet received {"connection_id":163824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 16:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":163824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:09:38] local.INFO: TCP Data received {"connection_id":163824,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047f0d280012d34c14006aa4840000f00e62a..."} 
[2026-08-28 16:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047f0d280012d34c14006aa4840000f00e62a..."} 
[2026-08-28 16:09:38] local.INFO: Processing buffer {"connection_id":163824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047f0d280012d34c14006aa4840000f00e62a..."} 
[2026-08-28 16:09:38] local.INFO: Packet analysis {"connection_id":163824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047f0"} 
[2026-08-28 16:09:38] local.INFO: Extracted packet for processing {"connection_id":163824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047f0"} 
[2026-08-28 16:09:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705743104001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787913360000,"timestamp_ms":1787913360000,"timestamp_seconds":1787913360,"priority":1,"record_length":96,"hex_timestamp":"000001a047f0d280"} 
[2026-08-28 16:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:09: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-28 16:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-28 16:09:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:09:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705743104001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705743104001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:09:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:09:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:09: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-28 16:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705743104001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":163824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:09:38] local.INFO: GPS data processed {"connection_id":163824,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:09:38] local.INFO: Acknowledgment sent {"connection_id":163824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:09:49] local.INFO: TCP Data received {"connection_id":166174,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047f0edd8012d1823000721b6a0004b00c826..."} 
[2026-08-28 16:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047f0edd8012d1823000721b6a0004b00c826..."} 
[2026-08-28 16:09:49] local.INFO: Processing buffer {"connection_id":166174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047f0edd8012d1823000721b6a0004b00c826..."} 
[2026-08-28 16:09:49] local.INFO: Packet analysis {"connection_id":166174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047f0"} 
[2026-08-28 16:09:49] local.INFO: Extracted packet for processing {"connection_id":166174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047f0"} 
[2026-08-28 16:09:49] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649952,"longitude_deg":75.6556544,"latitude_deg":11.9649952,"altitude":75,"angle":200,"satellites":38,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b6a0","is_valid_coordinates":true} 
[2026-08-28 16: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-28 16:09:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705816576001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:09:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15939585708130304,"note":"Value kept but may cause issues"} 
[2026-08-28 16:09:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725553664,"note":"Value kept but may cause issues"} 
[2026-08-28 16:09:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:09:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787913367000,"timestamp_ms":1787913367000,"timestamp_seconds":1787913367,"priority":1,"record_length":96,"hex_timestamp":"000001a047f0edd8"} 
[2026-08-28 16: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-28 16:09:49] 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-28 16: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-28 16:09:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16: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-28 16: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-28 16:09:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:09:49] local.INFO: Teltonika packet parsed successfully {"connection_id":166174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:09:49] local.INFO: Passing IMEI to GPS processor {"connection_id":166174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:09:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":166174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:09:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:09:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:09:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:09:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705816576001,"66":12645,"120":206,"28":31744,"24":0,"16":15939585708130304,"45":1739233911725553664},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 16:09:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:09:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:09:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705816576001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:09:49] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 16:09:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 16:09:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15939585708130304,"km_value":15939585708130.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:09:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725553664,"description":"Unknown IO ID 45"} 
[2026-08-28 16:09:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705816576001,"power":12645,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739233911725553664}} 
[2026-08-28 16:09:49] local.INFO: DEBUG: GPS processor result {"connection_id":166174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708554,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:09:49] local.INFO: GPS data processed {"connection_id":166174,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:09:49] local.INFO: Acknowledgment sent {"connection_id":166174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:09:56] local.INFO: TCP Data received {"connection_id":163549,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163549,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:09:56] local.INFO: Processing buffer {"connection_id":163549,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:09:56] local.INFO: IMEI packet received {"connection_id":163549,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 16:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":163549,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:10:02] local.INFO: TCP Data received {"connection_id":163549,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163549,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:10:02] local.INFO: Processing buffer {"connection_id":163549,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:10:02] local.INFO: IMEI packet received {"connection_id":163549,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 16:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":163549,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:10:03] local.INFO: TCP Data received {"connection_id":163549,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047f35af0012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047f35af0012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:10:03] local.INFO: Processing buffer {"connection_id":163549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047f35af0012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:10:03] local.INFO: Packet analysis {"connection_id":163549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047f3"} 
[2026-08-28 16:10:03] local.INFO: Extracted packet for processing {"connection_id":163549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047f3"} 
[2026-08-28 16:10:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705785600001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:10:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787913526000,"timestamp_ms":1787913526000,"timestamp_seconds":1787913526,"priority":1,"record_length":96,"hex_timestamp":"000001a047f35af0"} 
[2026-08-28 16:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:10:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 16:10:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:10:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163549,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163549,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705785600001,"66":25430,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705785600001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:10:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:10:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705785600001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":163549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708555,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:10:03] local.INFO: GPS data processed {"connection_id":163549,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:10:03] local.INFO: Acknowledgment sent {"connection_id":163549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:10:10] local.INFO: TCP Data received {"connection_id":163550,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163550,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:10:10] local.INFO: Processing buffer {"connection_id":163550,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:10:10] local.INFO: IMEI packet received {"connection_id":163550,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 16:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":163550,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:10:11] local.INFO: TCP Data received {"connection_id":163824,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047f0d280012d34c14006aa4840000f00e62a..."} 
[2026-08-28 16:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047f0d280012d34c14006aa4840000f00e62a..."} 
[2026-08-28 16:10:11] local.INFO: Processing buffer {"connection_id":163824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047f0d280012d34c14006aa4840000f00e62a..."} 
[2026-08-28 16:10:11] local.INFO: Packet analysis {"connection_id":163824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047f0"} 
[2026-08-28 16:10:11] local.INFO: Extracted packet for processing {"connection_id":163824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047f0"} 
[2026-08-28 16:10:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705743104001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:10:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:10:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787913360000,"timestamp_ms":1787913360000,"timestamp_seconds":1787913360,"priority":1,"record_length":96,"hex_timestamp":"000001a047f0d280"} 
[2026-08-28 16:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:10:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-28 16:10:11] 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-28 16:10:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":163824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":163824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":163824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:10:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705743104001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705743104001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:10:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:10:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:10: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-28 16:10:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705743104001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":163824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:10:11] local.INFO: GPS data processed {"connection_id":163824,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:10:11] local.INFO: Acknowledgment sent {"connection_id":163824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:10:16] local.INFO: TCP Data received {"connection_id":163550,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163550,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:10:16] local.INFO: Processing buffer {"connection_id":163550,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:10:16] local.INFO: IMEI packet received {"connection_id":163550,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 16:10:16] local.INFO: IMEI acknowledgment sent {"connection_id":163550,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:10:17] local.INFO: TCP Data received {"connection_id":163550,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047f13fe0012d1823000721b6a0004b00c828..."} 
[2026-08-28 16:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047f13fe0012d1823000721b6a0004b00c828..."} 
[2026-08-28 16:10:17] local.INFO: Processing buffer {"connection_id":163550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047f13fe0012d1823000721b6a0004b00c828..."} 
[2026-08-28 16:10:17] local.INFO: Packet analysis {"connection_id":163550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047f1"} 
[2026-08-28 16:10:17] local.INFO: Extracted packet for processing {"connection_id":163550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047f1"} 
[2026-08-28 16:10:17] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649952,"longitude_deg":75.6556544,"latitude_deg":11.9649952,"altitude":75,"angle":200,"satellites":40,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b6a0","is_valid_coordinates":true} 
[2026-08-28 16:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:10:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705821952001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:10:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15939585708130304,"note":"Value kept but may cause issues"} 
[2026-08-28 16:10:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725531136,"note":"Value kept but may cause issues"} 
[2026-08-28 16:10:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:10:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787913388000,"timestamp_ms":1787913388000,"timestamp_seconds":1787913388,"priority":1,"record_length":96,"hex_timestamp":"000001a047f13fe0"} 
[2026-08-28 16:10:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:10:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-28 16:10: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-28 16:10:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:10:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:10:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:10:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:10:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:10:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:10:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:10:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:10:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:10:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705821952001,"66":12602,"120":206,"28":31744,"24":0,"16":15939585708130304,"45":1739233911725531136},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 16:10:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:10:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:10:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705821952001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:10:17] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 16:10:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 16:10:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15939585708130304,"km_value":15939585708130.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:10:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725531136,"description":"Unknown IO ID 45"} 
[2026-08-28 16:10:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705821952001,"power":12602,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739233911725531136}} 
[2026-08-28 16:10:17] 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":708557,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:10:17] local.INFO: GPS data processed {"connection_id":163550,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:10:17] local.INFO: Acknowledgment sent {"connection_id":163550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:10:30] local.INFO: TCP Data received {"connection_id":163825,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:10:30] local.INFO: Processing buffer {"connection_id":163825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:10:30] local.INFO: IMEI packet received {"connection_id":163825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 16:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":163825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:10:35] local.INFO: TCP Data received {"connection_id":163549,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047f35af0012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047f35af0012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:10:35] local.INFO: Processing buffer {"connection_id":163549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047f35af0012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:10:35] local.INFO: Packet analysis {"connection_id":163549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047f3"} 
[2026-08-28 16:10:35] local.INFO: Extracted packet for processing {"connection_id":163549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047f3"} 
[2026-08-28 16:10:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705785600001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:10:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787913526000,"timestamp_ms":1787913526000,"timestamp_seconds":1787913526,"priority":1,"record_length":96,"hex_timestamp":"000001a047f35af0"} 
[2026-08-28 16:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:10:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 16:10:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:10:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163549,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163549,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705785600001,"66":25430,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705785600001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:10:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:10:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705785600001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":163549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708558,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:10:35] local.INFO: GPS data processed {"connection_id":163549,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:10:35] local.INFO: Acknowledgment sent {"connection_id":163549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:10:35] local.INFO: TCP Data received {"connection_id":163825,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:10:35] local.INFO: Processing buffer {"connection_id":163825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:10:35] local.INFO: IMEI packet received {"connection_id":163825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 16:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":163825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:10:38] local.INFO: TCP Data received {"connection_id":163825,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047f0d280012d34c14006aa4840000f00e62a..."} 
[2026-08-28 16:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047f0d280012d34c14006aa4840000f00e62a..."} 
[2026-08-28 16:10:38] local.INFO: Processing buffer {"connection_id":163825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047f0d280012d34c14006aa4840000f00e62a..."} 
[2026-08-28 16:10:38] local.INFO: Packet analysis {"connection_id":163825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047f0"} 
[2026-08-28 16:10:38] local.INFO: Extracted packet for processing {"connection_id":163825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047f0"} 
[2026-08-28 16:10:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705743104001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787913360000,"timestamp_ms":1787913360000,"timestamp_seconds":1787913360,"priority":1,"record_length":96,"hex_timestamp":"000001a047f0d280"} 
[2026-08-28 16:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:10: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-28 16:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-28 16:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:10:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705743104001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705743104001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:10:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:10:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:10: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-28 16:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705743104001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":163825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:10:38] local.INFO: GPS data processed {"connection_id":163825,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:10:38] local.INFO: Acknowledgment sent {"connection_id":163825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:10:49] local.INFO: TCP Data received {"connection_id":163550,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047f147b0012d1822c00721b5a8004b00d828..."} 
[2026-08-28 16:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047f147b0012d1822c00721b5a8004b00d828..."} 
[2026-08-28 16:10:49] local.INFO: Processing buffer {"connection_id":163550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047f147b0012d1822c00721b5a8004b00d828..."} 
[2026-08-28 16:10:49] local.INFO: Packet analysis {"connection_id":163550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047f1"} 
[2026-08-28 16:10:49] local.INFO: Extracted packet for processing {"connection_id":163550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047f1"} 
[2026-08-28 16:10:49] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649704,"longitude_deg":75.655648,"latitude_deg":11.9649704,"altitude":75,"angle":216,"satellites":40,"speed":2,"hex_longitude":"2d1822c0","hex_latitude":"0721b5a8","is_valid_coordinates":true} 
[2026-08-28 16: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-28 16:10:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705827328001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:10:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15939598593032192,"note":"Value kept but may cause issues"} 
[2026-08-28 16:10:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725531136,"note":"Value kept but may cause issues"} 
[2026-08-28 16:10:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:10:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787913390000,"timestamp_ms":1787913390000,"timestamp_seconds":1787913390,"priority":1,"record_length":96,"hex_timestamp":"000001a047f147b0"} 
[2026-08-28 16: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-28 16:10:49] 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-28 16: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-08-28 16:10:49] 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-28 16: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-28 16: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-28 16:10:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:10:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:10:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:10:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:10:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:10:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:10:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:10:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705827328001,"66":12613,"120":206,"28":31744,"24":2,"16":15939598593032192,"45":1739233911725531136},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 16:10:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:10:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:10:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705827328001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:10:49] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 16:10:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 16:10:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15939598593032192,"km_value":15939598593032.191,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:10:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725531136,"description":"Unknown IO ID 45"} 
[2026-08-28 16:10:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705827328001,"power":12613,"unknown_120":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1739233911725531136}} 
[2026-08-28 16:10: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":708560,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:10:49] local.INFO: GPS data processed {"connection_id":163550,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:10:49] local.INFO: Acknowledgment sent {"connection_id":163550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:10:56] local.INFO: TCP Data received {"connection_id":166175,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166175,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:10:56] local.INFO: Processing buffer {"connection_id":166175,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:10:56] local.INFO: IMEI packet received {"connection_id":166175,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 16:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":166175,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:11:01] local.INFO: TCP Data received {"connection_id":166175,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166175,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:11:01] local.INFO: Processing buffer {"connection_id":166175,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:11:01] local.INFO: IMEI packet received {"connection_id":166175,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 16:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":166175,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:11:03] local.INFO: TCP Data received {"connection_id":166175,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047f35af0012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047f35af0012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:11:03] local.INFO: Processing buffer {"connection_id":166175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047f35af0012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:11:03] local.INFO: Packet analysis {"connection_id":166175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047f3"} 
[2026-08-28 16:11:03] local.INFO: Extracted packet for processing {"connection_id":166175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047f3"} 
[2026-08-28 16:11:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705785600001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787913526000,"timestamp_ms":1787913526000,"timestamp_seconds":1787913526,"priority":1,"record_length":96,"hex_timestamp":"000001a047f35af0"} 
[2026-08-28 16:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:11:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 16:11:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:11:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":166175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":166175,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":166175,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705785600001,"66":25430,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705785600001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:11:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:11:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705785600001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":166175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708561,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:11:03] local.INFO: GPS data processed {"connection_id":166175,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:11:03] local.INFO: Acknowledgment sent {"connection_id":166175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:11:09] local.INFO: TCP Data received {"connection_id":163825,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047f0d280012d34c14006aa4840000f00e62a..."} 
[2026-08-28 16:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047f0d280012d34c14006aa4840000f00e62a..."} 
[2026-08-28 16:11:09] local.INFO: Processing buffer {"connection_id":163825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047f0d280012d34c14006aa4840000f00e62a..."} 
[2026-08-28 16:11:09] local.INFO: Packet analysis {"connection_id":163825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047f0"} 
[2026-08-28 16:11:09] local.INFO: Extracted packet for processing {"connection_id":163825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047f0"} 
[2026-08-28 16:11:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705743104001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:11:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:11:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787913360000,"timestamp_ms":1787913360000,"timestamp_seconds":1787913360,"priority":1,"record_length":96,"hex_timestamp":"000001a047f0d280"} 
[2026-08-28 16:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:11: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-28 16:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-28 16:11:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:11:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:11:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705743104001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705743104001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:11:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:11:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:11: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-28 16:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705743104001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":163825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:11:09] local.INFO: GPS data processed {"connection_id":163825,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:11:09] local.INFO: Acknowledgment sent {"connection_id":163825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:11:10] local.INFO: TCP Data received {"connection_id":164814,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164814,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:11:10] local.INFO: Processing buffer {"connection_id":164814,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:11:10] local.INFO: IMEI packet received {"connection_id":164814,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 16:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":164814,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:11:16] local.INFO: TCP Data received {"connection_id":164814,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164814,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:11:16] local.INFO: Processing buffer {"connection_id":164814,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:11:16] local.INFO: IMEI packet received {"connection_id":164814,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 16:11:16] local.INFO: IMEI acknowledgment sent {"connection_id":164814,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:11:17] local.INFO: TCP Data received {"connection_id":164814,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047f199b8012d1822800721b578004b00dd28..."} 
[2026-08-28 16:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047f199b8012d1822800721b578004b00dd28..."} 
[2026-08-28 16:11:17] local.INFO: Processing buffer {"connection_id":164814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047f199b8012d1822800721b578004b00dd28..."} 
[2026-08-28 16:11:17] local.INFO: Packet analysis {"connection_id":164814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047f1"} 
[2026-08-28 16:11:17] local.INFO: Extracted packet for processing {"connection_id":164814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047f1"} 
[2026-08-28 16:11:17] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649656,"longitude_deg":75.6556416,"latitude_deg":11.9649656,"altitude":75,"angle":221,"satellites":40,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b578","is_valid_coordinates":true} 
[2026-08-28 16:11:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:11:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705827840001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:11:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15939607182966784,"note":"Value kept but may cause issues"} 
[2026-08-28 16:11:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981289984,"note":"Value kept but may cause issues"} 
[2026-08-28 16:11:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:11:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787913411000,"timestamp_ms":1787913411000,"timestamp_seconds":1787913411,"priority":1,"record_length":96,"hex_timestamp":"000001a047f199b8"} 
[2026-08-28 16:11:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:11:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:11:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-28 16:11:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:11:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:11:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:11:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:11:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:11:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:11:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:11:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:11:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:11:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:11:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705827840001,"66":12591,"120":206,"28":31744,"24":0,"16":15939607182966784,"45":1739163542981289984},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 16:11:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:11:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:11:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705827840001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:11:17] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 16:11:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 16:11:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15939607182966784,"km_value":15939607182966.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:11:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981289984,"description":"Unknown IO ID 45"} 
[2026-08-28 16:11:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705827840001,"power":12591,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739163542981289984}} 
[2026-08-28 16:11:17] 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":708563,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:11:17] local.INFO: GPS data processed {"connection_id":164814,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:11:17] local.INFO: Acknowledgment sent {"connection_id":164814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:11:30] local.INFO: TCP Data received {"connection_id":163551,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:11:30] local.INFO: Processing buffer {"connection_id":163551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:11:30] local.INFO: IMEI packet received {"connection_id":163551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 16:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":163551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:11:35] local.INFO: TCP Data received {"connection_id":166175,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047f35af0012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047f35af0012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:11:35] local.INFO: Processing buffer {"connection_id":166175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047f35af0012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:11:35] local.INFO: Packet analysis {"connection_id":166175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047f3"} 
[2026-08-28 16:11:35] local.INFO: Extracted packet for processing {"connection_id":166175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047f3"} 
[2026-08-28 16:11:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705785600001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787913526000,"timestamp_ms":1787913526000,"timestamp_seconds":1787913526,"priority":1,"record_length":96,"hex_timestamp":"000001a047f35af0"} 
[2026-08-28 16:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:11:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 16:11:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:11:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":166175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":166175,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":166175,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705785600001,"66":25430,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705785600001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:11:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:11:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705785600001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":166175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708564,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:11:35] local.INFO: GPS data processed {"connection_id":166175,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:11:35] local.INFO: Acknowledgment sent {"connection_id":166175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:11:35] local.INFO: TCP Data received {"connection_id":163551,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:11:35] local.INFO: Processing buffer {"connection_id":163551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:11:35] local.INFO: IMEI packet received {"connection_id":163551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 16:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":163551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:11:38] local.INFO: TCP Data received {"connection_id":163551,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047f0d280012d34c14006aa4840000f00e62a..."} 
[2026-08-28 16:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047f0d280012d34c14006aa4840000f00e62a..."} 
[2026-08-28 16:11:38] local.INFO: Processing buffer {"connection_id":163551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047f0d280012d34c14006aa4840000f00e62a..."} 
[2026-08-28 16:11:38] local.INFO: Packet analysis {"connection_id":163551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047f0"} 
[2026-08-28 16:11:38] local.INFO: Extracted packet for processing {"connection_id":163551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047f0"} 
[2026-08-28 16:11:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705743104001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:11:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787913360000,"timestamp_ms":1787913360000,"timestamp_seconds":1787913360,"priority":1,"record_length":96,"hex_timestamp":"000001a047f0d280"} 
[2026-08-28 16:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:11: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-28 16:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-28 16:11:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:11:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705743104001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705743104001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:11:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:11:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:11: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-28 16:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705743104001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:11:38] 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":708565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:11:38] local.INFO: GPS data processed {"connection_id":163551,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:11:38] local.INFO: Acknowledgment sent {"connection_id":163551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:11:49] local.INFO: TCP Data received {"connection_id":164814,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047f1e7d8012d1821000721b3d0004a00d128..."} 
[2026-08-28 16:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047f1e7d8012d1821000721b3d0004a00d128..."} 
[2026-08-28 16:11:49] local.INFO: Processing buffer {"connection_id":164814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047f1e7d8012d1821000721b3d0004a00d128..."} 
[2026-08-28 16:11:49] local.INFO: Packet analysis {"connection_id":164814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047f1"} 
[2026-08-28 16:11:49] local.INFO: Extracted packet for processing {"connection_id":164814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047f1"} 
[2026-08-28 16:11:49] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119649232,"longitude_deg":75.6556032,"latitude_deg":11.9649232,"altitude":74,"angle":209,"satellites":40,"speed":2,"hex_longitude":"2d182100","hex_latitude":"0721b3d0","is_valid_coordinates":true} 
[2026-08-28 16: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-28 16:11:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705833216001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:11:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15939637247737856,"note":"Value kept but may cause issues"} 
[2026-08-28 16:11:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237100032,"note":"Value kept but may cause issues"} 
[2026-08-28 16:11:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:11:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787913431000,"timestamp_ms":1787913431000,"timestamp_seconds":1787913431,"priority":1,"record_length":96,"hex_timestamp":"000001a047f1e7d8"} 
[2026-08-28 16: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-28 16:11:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-28 16:11:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16: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-28 16: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-28 16:11:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:11:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:11:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:11:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:11:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:11:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:11:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:11:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705833216001,"66":12591,"120":206,"28":31744,"24":2,"16":15939637247737856,"45":1739093174237100032},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 16:11:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:11:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:11:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705833216001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:11:49] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 16:11:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 16:11:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15939637247737856,"km_value":15939637247737.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:11:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237100032,"description":"Unknown IO ID 45"} 
[2026-08-28 16:11:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705833216001,"power":12591,"unknown_120":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1739093174237100032}} 
[2026-08-28 16:11:49] 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":708566,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:11:49] local.INFO: GPS data processed {"connection_id":164814,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:11:49] local.INFO: Acknowledgment sent {"connection_id":164814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:11:56] local.INFO: TCP Data received {"connection_id":163826,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163826,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:11:56] local.INFO: Processing buffer {"connection_id":163826,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:11:56] local.INFO: IMEI packet received {"connection_id":163826,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 16:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":163826,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:12:01] local.INFO: TCP Data received {"connection_id":163826,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163826,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:12:01] local.INFO: Processing buffer {"connection_id":163826,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:12:01] local.INFO: IMEI packet received {"connection_id":163826,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 16:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":163826,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:12:03] local.INFO: TCP Data received {"connection_id":163826,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047f35af0012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047f35af0012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:12:03] local.INFO: Processing buffer {"connection_id":163826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047f35af0012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:12:03] local.INFO: Packet analysis {"connection_id":163826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047f3"} 
[2026-08-28 16:12:03] local.INFO: Extracted packet for processing {"connection_id":163826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047f3"} 
[2026-08-28 16:12:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705785600001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:12:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787913526000,"timestamp_ms":1787913526000,"timestamp_seconds":1787913526,"priority":1,"record_length":96,"hex_timestamp":"000001a047f35af0"} 
[2026-08-28 16:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:12:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 16:12:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:12:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163826,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163826,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705785600001,"66":25430,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705785600001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:12:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:12:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705785600001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":163826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708567,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:12:03] local.INFO: GPS data processed {"connection_id":163826,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:12:03] local.INFO: Acknowledgment sent {"connection_id":163826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:12:10] local.INFO: TCP Data received {"connection_id":163551,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047f56a48012d34c14006aa4840000900e62a..."} 
[2026-08-28 16:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047f56a48012d34c14006aa4840000900e62a..."} 
[2026-08-28 16:12:10] local.INFO: Processing buffer {"connection_id":163551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047f56a48012d34c14006aa4840000900e62a..."} 
[2026-08-28 16:12:10] local.INFO: Packet analysis {"connection_id":163551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047f5"} 
[2026-08-28 16:12:10] local.INFO: Extracted packet for processing {"connection_id":163551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047f5"} 
[2026-08-28 16:12:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705820160001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:12:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:12:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787913661000,"timestamp_ms":1787913661000,"timestamp_seconds":1787913661,"priority":1,"record_length":96,"hex_timestamp":"000001a047f56a48"} 
[2026-08-28 16:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:12:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 16:12:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:12:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:12:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705820160001,"66":25430,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705820160001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:12:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:12:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:12:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705820160001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:12:10] 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":708568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:12:10] local.INFO: GPS data processed {"connection_id":163551,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:12:10] local.INFO: Acknowledgment sent {"connection_id":163551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:12:16] local.INFO: TCP Data received {"connection_id":163552,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:12:16] local.INFO: Processing buffer {"connection_id":163552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:12:16] local.INFO: IMEI packet received {"connection_id":163552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 16:12:16] local.INFO: IMEI acknowledgment sent {"connection_id":163552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:12:20] local.INFO: TCP Data received {"connection_id":163552,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:12:20] local.INFO: Processing buffer {"connection_id":163552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:12:20] local.INFO: IMEI packet received {"connection_id":163552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 16:12:20] local.INFO: IMEI acknowledgment sent {"connection_id":163552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:12:21] local.INFO: TCP Data received {"connection_id":163552,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047f56e30012d1820c00721b358004b00d228..."} 
[2026-08-28 16:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047f56e30012d1820c00721b358004b00d228..."} 
[2026-08-28 16:12:21] local.INFO: Processing buffer {"connection_id":163552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047f56e30012d1820c00721b358004b00d228..."} 
[2026-08-28 16:12:21] local.INFO: Packet analysis {"connection_id":163552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047f5"} 
[2026-08-28 16:12:21] local.INFO: Extracted packet for processing {"connection_id":163552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047f5"} 
[2026-08-28 16:12:21] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649112,"longitude_deg":75.6555968,"latitude_deg":11.9649112,"altitude":75,"angle":210,"satellites":40,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b358","is_valid_coordinates":true} 
[2026-08-28 16: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-28 16:12:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705892096001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:12:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15939645837672448,"note":"Value kept but may cause issues"} 
[2026-08-28 16:12:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027717120,"note":"Value kept but may cause issues"} 
[2026-08-28 16:12:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:12:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787913662000,"timestamp_ms":1787913662000,"timestamp_seconds":1787913662,"priority":1,"record_length":96,"hex_timestamp":"000001a047f56e30"} 
[2026-08-28 16: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-28 16:12:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 16:12:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16: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-28 16: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-28 16:12:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:12:21] local.INFO: Teltonika packet parsed successfully {"connection_id":163552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:12:21] local.INFO: Passing IMEI to GPS processor {"connection_id":163552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:12:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":163552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:12:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:12:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:12:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:12:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705892096001,"66":12515,"120":206,"28":31744,"24":0,"16":15939645837672448,"45":1738600593027717120},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 16:12:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:12:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:12:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705892096001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:12:21] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 16:12:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 16:12:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15939645837672448,"km_value":15939645837672.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:12:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027717120,"description":"Unknown IO ID 45"} 
[2026-08-28 16:12:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705892096001,"power":12515,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738600593027717120}} 
[2026-08-28 16:12:21] 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":708569,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:12:21] local.INFO: GPS data processed {"connection_id":163552,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:12:21] local.INFO: Acknowledgment sent {"connection_id":163552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:12:22] local.INFO: TCP Data received {"connection_id":163552,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047f5c038012d1820c00721b358004b00d229..."} 
[2026-08-28 16:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047f5c038012d1820c00721b358004b00d229..."} 
[2026-08-28 16:12:22] local.INFO: Processing buffer {"connection_id":163552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047f5c038012d1820c00721b358004b00d229..."} 
[2026-08-28 16:12:22] local.INFO: Packet analysis {"connection_id":163552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047f5"} 
[2026-08-28 16:12:22] local.INFO: Extracted packet for processing {"connection_id":163552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047f5"} 
[2026-08-28 16:12:22] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649112,"longitude_deg":75.6555968,"latitude_deg":11.9649112,"altitude":75,"angle":210,"satellites":41,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b358","is_valid_coordinates":true} 
[2026-08-28 16:12: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-28 16:12:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705897472001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:12:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15939645837672448,"note":"Value kept but may cause issues"} 
[2026-08-28 16:12:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027717120,"note":"Value kept but may cause issues"} 
[2026-08-28 16:12:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:12:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787913683000,"timestamp_ms":1787913683000,"timestamp_seconds":1787913683,"priority":1,"record_length":96,"hex_timestamp":"000001a047f5c038"} 
[2026-08-28 16:12:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:12:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:12:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-08-28 16:12:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:12:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:12:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:12:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:12:22] local.INFO: Teltonika packet parsed successfully {"connection_id":163552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:12:22] local.INFO: Passing IMEI to GPS processor {"connection_id":163552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:12:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":163552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:12:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:12:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:12:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:12:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705897472001,"66":12504,"120":206,"28":31744,"24":0,"16":15939645837672448,"45":1738600593027717120},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 16:12:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:12:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:12:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705897472001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:12:22] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 16:12:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 16:12:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15939645837672448,"km_value":15939645837672.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:12:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027717120,"description":"Unknown IO ID 45"} 
[2026-08-28 16:12:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705897472001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738600593027717120}} 
[2026-08-28 16:12:22] 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":708570,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:12:22] local.INFO: GPS data processed {"connection_id":163552,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:12:22] local.INFO: Acknowledgment sent {"connection_id":163552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:12:30] local.INFO: TCP Data received {"connection_id":166176,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:12:30] local.INFO: Processing buffer {"connection_id":166176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:12:30] local.INFO: IMEI packet received {"connection_id":166176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 16:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":166176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:12:34] local.INFO: TCP Data received {"connection_id":163826,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047f35af0012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047f35af0012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:12:34] local.INFO: Processing buffer {"connection_id":163826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047f35af0012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:12:34] local.INFO: Packet analysis {"connection_id":163826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047f3"} 
[2026-08-28 16:12:34] local.INFO: Extracted packet for processing {"connection_id":163826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047f3"} 
[2026-08-28 16:12:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705785600001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:12:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:12:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787913526000,"timestamp_ms":1787913526000,"timestamp_seconds":1787913526,"priority":1,"record_length":96,"hex_timestamp":"000001a047f35af0"} 
[2026-08-28 16:12:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:12:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 16:12:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:12:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:12:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163826,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163826,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:12:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705785600001,"66":25430,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705785600001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:12:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:12:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:12:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705785600001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":163826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708571,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:12:35] local.INFO: GPS data processed {"connection_id":163826,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:12:35] local.INFO: Acknowledgment sent {"connection_id":163826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:12:35] local.INFO: TCP Data received {"connection_id":166176,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:12:35] local.INFO: Processing buffer {"connection_id":166176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:12:35] local.INFO: IMEI packet received {"connection_id":166176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 16:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":166176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:12:37] local.INFO: TCP Data received {"connection_id":166176,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047f56a48012d34c14006aa4840000900e62a..."} 
[2026-08-28 16:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047f56a48012d34c14006aa4840000900e62a..."} 
[2026-08-28 16:12:37] local.INFO: Processing buffer {"connection_id":166176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047f56a48012d34c14006aa4840000900e62a..."} 
[2026-08-28 16:12:37] local.INFO: Packet analysis {"connection_id":166176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047f5"} 
[2026-08-28 16:12:37] local.INFO: Extracted packet for processing {"connection_id":166176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047f5"} 
[2026-08-28 16:12:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705820160001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787913661000,"timestamp_ms":1787913661000,"timestamp_seconds":1787913661,"priority":1,"record_length":96,"hex_timestamp":"000001a047f56a48"} 
[2026-08-28 16:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 16:12:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:12:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":166176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":166176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":166176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705820160001,"66":25430,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705820160001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:12:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:12:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:12: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-28 16:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705820160001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":166176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:12:37] local.INFO: GPS data processed {"connection_id":166176,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:12:37] local.INFO: Acknowledgment sent {"connection_id":166176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:12:54] local.INFO: TCP Data received {"connection_id":163552,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047f60a70012d1820000721b2d8004d00c629..."} 
[2026-08-28 16:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047f60a70012d1820000721b2d8004d00c629..."} 
[2026-08-28 16:12:54] local.INFO: Processing buffer {"connection_id":163552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047f60a70012d1820000721b2d8004d00c629..."} 
[2026-08-28 16:12:54] local.INFO: Packet analysis {"connection_id":163552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047f6"} 
[2026-08-28 16:12:54] local.INFO: Extracted packet for processing {"connection_id":163552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047f6"} 
[2026-08-28 16:12:54] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648984,"longitude_deg":75.6555776,"latitude_deg":11.9648984,"altitude":77,"angle":198,"satellites":41,"speed":2,"hex_longitude":"2d182000","hex_latitude":"0721b2d8","is_valid_coordinates":true} 
[2026-08-28 16:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:12:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705902848001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:12:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15939654427607040,"note":"Value kept but may cause issues"} 
[2026-08-28 16:12:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027717120,"note":"Value kept but may cause issues"} 
[2026-08-28 16:12:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:12:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787913702000,"timestamp_ms":1787913702000,"timestamp_seconds":1787913702,"priority":1,"record_length":96,"hex_timestamp":"000001a047f60a70"} 
[2026-08-28 16:12:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:12:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-28 16:12:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:12:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:12:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:12:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:12:54] local.INFO: Teltonika packet parsed successfully {"connection_id":163552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:12:54] local.INFO: Passing IMEI to GPS processor {"connection_id":163552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:12:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":163552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:12:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:12:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:12:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:12:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705902848001,"66":12526,"120":206,"28":31744,"24":2,"16":15939654427607040,"45":1738600593027717120},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 16:12:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:12:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:12:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705902848001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:12:54] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 16:12:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 16:12:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15939654427607040,"km_value":15939654427607.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:12:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027717120,"description":"Unknown IO ID 45"} 
[2026-08-28 16:12:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705902848001,"power":12526,"unknown_120":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1738600593027717120}} 
[2026-08-28 16:12:54] 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":708573,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:12:54] local.INFO: GPS data processed {"connection_id":163552,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:12:54] local.INFO: Acknowledgment sent {"connection_id":163552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:13:01] local.INFO: TCP Data received {"connection_id":164815,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164815,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:13:01] local.INFO: Processing buffer {"connection_id":164815,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:13:01] local.INFO: IMEI packet received {"connection_id":164815,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 16:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":164815,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:13:06] local.INFO: TCP Data received {"connection_id":164815,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164815,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:13:06] local.INFO: Processing buffer {"connection_id":164815,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:13:06] local.INFO: IMEI packet received {"connection_id":164815,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 16:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":164815,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:13:07] local.INFO: TCP Data received {"connection_id":164815,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047f35af0012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047f35af0012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:13:07] local.INFO: Processing buffer {"connection_id":164815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047f35af0012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:13:07] local.INFO: Packet analysis {"connection_id":164815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047f3"} 
[2026-08-28 16:13:07] local.INFO: Extracted packet for processing {"connection_id":164815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047f3"} 
[2026-08-28 16:13:07] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705785600001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787913526000,"timestamp_ms":1787913526000,"timestamp_seconds":1787913526,"priority":1,"record_length":96,"hex_timestamp":"000001a047f35af0"} 
[2026-08-28 16:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:13:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 16:13:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:13:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":164815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":164815,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":164815,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705785600001,"66":25430,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705785600001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:13:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:13:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705785600001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":164815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708574,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:13:08] local.INFO: GPS data processed {"connection_id":164815,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:13:08] local.INFO: Acknowledgment sent {"connection_id":164815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:13:09] local.INFO: TCP Data received {"connection_id":166176,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047f56a48012d34c14006aa4840000900e62a..."} 
[2026-08-28 16:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047f56a48012d34c14006aa4840000900e62a..."} 
[2026-08-28 16:13:09] local.INFO: Processing buffer {"connection_id":166176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047f56a48012d34c14006aa4840000900e62a..."} 
[2026-08-28 16:13:09] local.INFO: Packet analysis {"connection_id":166176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047f5"} 
[2026-08-28 16:13:09] local.INFO: Extracted packet for processing {"connection_id":166176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047f5"} 
[2026-08-28 16:13:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705820160001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:13:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:13:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787913661000,"timestamp_ms":1787913661000,"timestamp_seconds":1787913661,"priority":1,"record_length":96,"hex_timestamp":"000001a047f56a48"} 
[2026-08-28 16:13:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:13:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 16:13:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:13:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:13:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":166176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":166176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":166176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:13:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705820160001,"66":25430,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705820160001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:13:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:13:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:13: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-28 16:13:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705820160001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:13:09] local.INFO: DEBUG: GPS processor result {"connection_id":166176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:13:09] local.INFO: GPS data processed {"connection_id":166176,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:13:09] local.INFO: Acknowledgment sent {"connection_id":166176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:13:10] local.INFO: TCP Data received {"connection_id":163827,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163827,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:13:10] local.INFO: Processing buffer {"connection_id":163827,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:13:10] local.INFO: IMEI packet received {"connection_id":163827,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 16:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":163827,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:13:13] local.INFO: TCP Data received {"connection_id":164815,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047f35af0012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047f35af0012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:13:13] local.INFO: Processing buffer {"connection_id":164815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047f35af0012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:13:13] local.INFO: Packet analysis {"connection_id":164815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047f3"} 
[2026-08-28 16:13:13] local.INFO: Extracted packet for processing {"connection_id":164815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047f3"} 
[2026-08-28 16:13:13] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:13:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705785600001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:13:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:13:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:13:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:13:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787913526000,"timestamp_ms":1787913526000,"timestamp_seconds":1787913526,"priority":1,"record_length":96,"hex_timestamp":"000001a047f35af0"} 
[2026-08-28 16:13:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:13:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 16: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-28 16:13:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:13:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:13:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:13:13] local.INFO: Teltonika packet parsed successfully {"connection_id":164815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:13:13] local.INFO: Passing IMEI to GPS processor {"connection_id":164815,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:13:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":164815,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:13:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:13:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:13:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:13:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705785600001,"66":25430,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:13:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:13:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:13:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705785600001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:13:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:13:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:13:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:13:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:13:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705785600001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:13:13] local.INFO: DEBUG: GPS processor result {"connection_id":164815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708576,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:13:13] local.INFO: GPS data processed {"connection_id":164815,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:13:13] local.INFO: Acknowledgment sent {"connection_id":164815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:13:16] local.INFO: TCP Data received {"connection_id":163827,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163827,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:13:16] local.INFO: Processing buffer {"connection_id":163827,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:13:16] local.INFO: IMEI packet received {"connection_id":163827,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 16:13:16] local.INFO: IMEI acknowledgment sent {"connection_id":163827,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:13:17] local.INFO: TCP Data received {"connection_id":163827,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047f61628012d181f800721b220004d00d229..."} 
[2026-08-28 16:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047f61628012d181f800721b220004d00d229..."} 
[2026-08-28 16:13:17] local.INFO: Processing buffer {"connection_id":163827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047f61628012d181f800721b220004d00d229..."} 
[2026-08-28 16:13:17] local.INFO: Packet analysis {"connection_id":163827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047f6"} 
[2026-08-28 16:13:17] local.INFO: Extracted packet for processing {"connection_id":163827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047f6"} 
[2026-08-28 16:13:17] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648800,"longitude_deg":75.6555648,"latitude_deg":11.96488,"altitude":77,"angle":210,"satellites":41,"speed":3,"hex_longitude":"2d181f80","hex_latitude":"0721b220","is_valid_coordinates":true} 
[2026-08-28 16:13:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:13:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705907712001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:13:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15939667312508928,"note":"Value kept but may cause issues"} 
[2026-08-28 16:13:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795151360,"note":"Value kept but may cause issues"} 
[2026-08-28 16:13:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:13:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787913705000,"timestamp_ms":1787913705000,"timestamp_seconds":1787913705,"priority":1,"record_length":96,"hex_timestamp":"000001a047f61628"} 
[2026-08-28 16:13:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:13:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:13:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-28 16:13: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-28 16:13:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:13:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:13:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:13:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:13:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:13:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:13:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:13:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:13:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:13:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705907712001,"66":12504,"120":206,"28":31744,"24":3,"16":15939667312508928,"45":1738389486795151360},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 16:13:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:13:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:13:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705907712001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:13:17] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 16:13:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 16:13:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15939667312508928,"km_value":15939667312508.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:13:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795151360,"description":"Unknown IO ID 45"} 
[2026-08-28 16:13:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705907712001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1738389486795151360}} 
[2026-08-28 16:13:17] local.INFO: DEBUG: GPS processor result {"connection_id":163827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708577,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:13:17] local.INFO: GPS data processed {"connection_id":163827,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:13:17] local.INFO: Acknowledgment sent {"connection_id":163827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:13:31] local.INFO: TCP Data received {"connection_id":164816,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:13:31] local.INFO: Processing buffer {"connection_id":164816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:13:31] local.INFO: IMEI packet received {"connection_id":164816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 16:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":164816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:13:35] local.INFO: TCP Data received {"connection_id":164816,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:13:35] local.INFO: Processing buffer {"connection_id":164816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:13:35] local.INFO: IMEI packet received {"connection_id":164816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 16:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":164816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:13:37] local.INFO: TCP Data received {"connection_id":164816,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047f56a48012d34c14006aa4840000900e62a..."} 
[2026-08-28 16:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047f56a48012d34c14006aa4840000900e62a..."} 
[2026-08-28 16:13:37] local.INFO: Processing buffer {"connection_id":164816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047f56a48012d34c14006aa4840000900e62a..."} 
[2026-08-28 16:13:37] local.INFO: Packet analysis {"connection_id":164816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047f5"} 
[2026-08-28 16:13:37] local.INFO: Extracted packet for processing {"connection_id":164816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047f5"} 
[2026-08-28 16:13:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705820160001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787913661000,"timestamp_ms":1787913661000,"timestamp_seconds":1787913661,"priority":1,"record_length":96,"hex_timestamp":"000001a047f56a48"} 
[2026-08-28 16:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 16:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705820160001,"66":25430,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705820160001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:13:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:13:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:13: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-28 16:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705820160001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:13:37] 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":708578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:13:37] local.INFO: GPS data processed {"connection_id":164816,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:13:37] local.INFO: Acknowledgment sent {"connection_id":164816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:13:48] local.INFO: TCP Data received {"connection_id":163827,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047f66830012d181f400721b180004d00d728..."} 
[2026-08-28 16:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047f66830012d181f400721b180004d00d728..."} 
[2026-08-28 16:13:48] local.INFO: Processing buffer {"connection_id":163827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047f66830012d181f400721b180004d00d728..."} 
[2026-08-28 16:13:48] local.INFO: Packet analysis {"connection_id":163827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047f6"} 
[2026-08-28 16:13:48] local.INFO: Extracted packet for processing {"connection_id":163827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047f6"} 
[2026-08-28 16:13:48] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648640,"longitude_deg":75.6555584,"latitude_deg":11.964864,"altitude":77,"angle":215,"satellites":40,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b180","is_valid_coordinates":true} 
[2026-08-28 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-28 16:13:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705908480001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:13:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15939675902443520,"note":"Value kept but may cause issues"} 
[2026-08-28 16:13:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306748928,"note":"Value kept but may cause issues"} 
[2026-08-28 16:13:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:13:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787913726000,"timestamp_ms":1787913726000,"timestamp_seconds":1787913726,"priority":1,"record_length":96,"hex_timestamp":"000001a047f66830"} 
[2026-08-28 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-28 16:13:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:13:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-28 16:13:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 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-28 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-28 16:13:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:13:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:13:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:13:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:13:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:13:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:13:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:13:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705908480001,"66":12504,"120":206,"28":31744,"24":0,"16":15939675902443520,"45":1738248749306748928},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 16:13:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:13:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:13:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705908480001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:13:48] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 16:13:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 16:13:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15939675902443520,"km_value":15939675902443.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:13:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306748928,"description":"Unknown IO ID 45"} 
[2026-08-28 16:13:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705908480001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738248749306748928}} 
[2026-08-28 16:13:49] local.INFO: DEBUG: GPS processor result {"connection_id":163827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708579,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:13:49] local.INFO: GPS data processed {"connection_id":163827,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:13:49] local.INFO: Acknowledgment sent {"connection_id":163827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:13:56] local.INFO: TCP Data received {"connection_id":166177,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166177,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:13:56] local.INFO: Processing buffer {"connection_id":166177,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:13:56] local.INFO: IMEI packet received {"connection_id":166177,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 16:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":166177,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:14:02] local.INFO: TCP Data received {"connection_id":166177,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166177,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:14:02] local.INFO: Processing buffer {"connection_id":166177,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:14:02] local.INFO: IMEI packet received {"connection_id":166177,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 16:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":166177,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:14:02] local.INFO: TCP Data received {"connection_id":166177,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047f35af0012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047f35af0012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:14:02] local.INFO: Processing buffer {"connection_id":166177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047f35af0012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:14:02] local.INFO: Packet analysis {"connection_id":166177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047f3"} 
[2026-08-28 16:14:02] local.INFO: Extracted packet for processing {"connection_id":166177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047f3"} 
[2026-08-28 16:14:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705785600001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:14:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:14:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787913526000,"timestamp_ms":1787913526000,"timestamp_seconds":1787913526,"priority":1,"record_length":96,"hex_timestamp":"000001a047f35af0"} 
[2026-08-28 16:14:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:14:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 16:14:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:14:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:14:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":166177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":166177,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":166177,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:14:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705785600001,"66":25430,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705785600001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:14:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:14:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:14:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705785600001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":166177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708580,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:14:03] local.INFO: GPS data processed {"connection_id":166177,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:14:03] local.INFO: Acknowledgment sent {"connection_id":166177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:14:08] local.INFO: TCP Data received {"connection_id":163553,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163553,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:14:08] local.INFO: Processing buffer {"connection_id":163553,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:14:08] local.INFO: IMEI packet received {"connection_id":163553,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 16:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":163553,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:14:09] local.INFO: TCP Data received {"connection_id":164816,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047f56a48012d34c14006aa4840000900e62a..."} 
[2026-08-28 16:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047f56a48012d34c14006aa4840000900e62a..."} 
[2026-08-28 16:14:09] local.INFO: Processing buffer {"connection_id":164816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047f56a48012d34c14006aa4840000900e62a..."} 
[2026-08-28 16:14:09] local.INFO: Packet analysis {"connection_id":164816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047f5"} 
[2026-08-28 16:14:09] local.INFO: Extracted packet for processing {"connection_id":164816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047f5"} 
[2026-08-28 16:14:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705820160001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:14:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787913661000,"timestamp_ms":1787913661000,"timestamp_seconds":1787913661,"priority":1,"record_length":96,"hex_timestamp":"000001a047f56a48"} 
[2026-08-28 16:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 16:14:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:14:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:14:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705820160001,"66":25430,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705820160001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:14:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:14:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:14: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-28 16:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705820160001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:14:09] 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":708581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:14:09] local.INFO: GPS data processed {"connection_id":164816,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:14:09] local.INFO: Acknowledgment sent {"connection_id":164816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:14:10] local.INFO: TCP Data received {"connection_id":163553,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163553,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:14:10] local.INFO: Processing buffer {"connection_id":163553,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:14:10] local.INFO: IMEI packet received {"connection_id":163553,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 16:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":163553,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:14:16] local.INFO: TCP Data received {"connection_id":163553,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163553,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:14:16] local.INFO: Processing buffer {"connection_id":163553,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:14:16] local.INFO: IMEI packet received {"connection_id":163553,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 16:14:16] local.INFO: IMEI acknowledgment sent {"connection_id":163553,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:14:17] local.INFO: TCP Data received {"connection_id":163553,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047f6ba38012d181f400721b180004d00d726..."} 
[2026-08-28 16:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047f6ba38012d181f400721b180004d00d726..."} 
[2026-08-28 16:14:17] local.INFO: Processing buffer {"connection_id":163553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047f6ba38012d181f400721b180004d00d726..."} 
[2026-08-28 16:14:17] local.INFO: Packet analysis {"connection_id":163553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047f6"} 
[2026-08-28 16:14:17] local.INFO: Extracted packet for processing {"connection_id":163553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047f6"} 
[2026-08-28 16:14:17] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648640,"longitude_deg":75.6555584,"latitude_deg":11.964864,"altitude":77,"angle":215,"satellites":38,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b180","is_valid_coordinates":true} 
[2026-08-28 16:14:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:14:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705913856001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:14:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15939675902443520,"note":"Value kept but may cause issues"} 
[2026-08-28 16:14:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562530304,"note":"Value kept but may cause issues"} 
[2026-08-28 16:14:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:14:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787913747000,"timestamp_ms":1787913747000,"timestamp_seconds":1787913747,"priority":1,"record_length":96,"hex_timestamp":"000001a047f6ba38"} 
[2026-08-28 16:14:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:14:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:14:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-28 16:14:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:14:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:14:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:14:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:14:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:14:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:14:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:14:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:14:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:14:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:14:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705913856001,"66":12504,"120":206,"28":31744,"24":0,"16":15939675902443520,"45":1738178380562530304},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 16:14:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:14:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:14:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705913856001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:14:17] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 16:14:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 16:14:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15939675902443520,"km_value":15939675902443.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:14:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562530304,"description":"Unknown IO ID 45"} 
[2026-08-28 16:14:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705913856001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562530304}} 
[2026-08-28 16:14:17] 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":708582,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:14:17] local.INFO: GPS data processed {"connection_id":163553,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:14:17] local.INFO: Acknowledgment sent {"connection_id":163553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:14:30] local.INFO: TCP Data received {"connection_id":166178,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:14:30] local.INFO: Processing buffer {"connection_id":166178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:14:30] local.INFO: IMEI packet received {"connection_id":166178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 16:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":166178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:14:34] local.INFO: TCP Data received {"connection_id":166177,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047f7f2b8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047f7f2b8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:14:34] local.INFO: Processing buffer {"connection_id":166177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047f7f2b8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:14:34] local.INFO: Packet analysis {"connection_id":166177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047f7"} 
[2026-08-28 16:14:34] local.INFO: Extracted packet for processing {"connection_id":166177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047f7"} 
[2026-08-28 16:14:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705862656001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:14:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787913827000,"timestamp_ms":1787913827000,"timestamp_seconds":1787913827,"priority":1,"record_length":96,"hex_timestamp":"000001a047f7f2b8"} 
[2026-08-28 16:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:14:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 16:14:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:14:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":166177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":166177,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":166177,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:14:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705862656001,"66":25419,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705862656001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:14:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:14:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705862656001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":166177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708583,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:14:34] local.INFO: GPS data processed {"connection_id":166177,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:14:34] local.INFO: Acknowledgment sent {"connection_id":166177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:14:35] local.INFO: TCP Data received {"connection_id":166178,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:14:35] local.INFO: Processing buffer {"connection_id":166178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:14:35] local.INFO: IMEI packet received {"connection_id":166178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 16:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":166178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:14:38] local.INFO: TCP Data received {"connection_id":166178,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047f56a48012d34c14006aa4840000900e62a..."} 
[2026-08-28 16:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047f56a48012d34c14006aa4840000900e62a..."} 
[2026-08-28 16:14:38] local.INFO: Processing buffer {"connection_id":166178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047f56a48012d34c14006aa4840000900e62a..."} 
[2026-08-28 16:14:38] local.INFO: Packet analysis {"connection_id":166178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047f5"} 
[2026-08-28 16:14:38] local.INFO: Extracted packet for processing {"connection_id":166178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047f5"} 
[2026-08-28 16:14:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705820160001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787913661000,"timestamp_ms":1787913661000,"timestamp_seconds":1787913661,"priority":1,"record_length":96,"hex_timestamp":"000001a047f56a48"} 
[2026-08-28 16:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 16:14:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:14:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":166178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":166178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":166178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705820160001,"66":25430,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705820160001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:14:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:14:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:14: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-28 16:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705820160001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":166178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:14:38] local.INFO: GPS data processed {"connection_id":166178,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:14:38] local.INFO: Acknowledgment sent {"connection_id":166178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:14:49] local.INFO: TCP Data received {"connection_id":163553,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047f70c40012d181f400721b180004d00d727..."} 
[2026-08-28 16:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047f70c40012d181f400721b180004d00d727..."} 
[2026-08-28 16:14:49] local.INFO: Processing buffer {"connection_id":163553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047f70c40012d181f400721b180004d00d727..."} 
[2026-08-28 16:14:49] local.INFO: Packet analysis {"connection_id":163553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047f7"} 
[2026-08-28 16:14:49] local.INFO: Extracted packet for processing {"connection_id":163553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047f7"} 
[2026-08-28 16:14:49] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648640,"longitude_deg":75.6555584,"latitude_deg":11.964864,"altitude":77,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b180","is_valid_coordinates":true} 
[2026-08-28 16: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-28 16:14:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705919232001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:14:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15939675902443520,"note":"Value kept but may cause issues"} 
[2026-08-28 16:14:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562530304,"note":"Value kept but may cause issues"} 
[2026-08-28 16:14:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:14:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787913768000,"timestamp_ms":1787913768000,"timestamp_seconds":1787913768,"priority":1,"record_length":96,"hex_timestamp":"000001a047f70c40"} 
[2026-08-28 16: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-28 16:14:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-28 16:14:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16: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-28 16: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-28 16:14:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:14:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:14:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:14:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:14:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:14:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:14:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:14:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705919232001,"66":12504,"120":206,"28":31744,"24":0,"16":15939675902443520,"45":1738178380562530304},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 16:14:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:14:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:14:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705919232001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:14:49] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 16:14:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 16:14:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15939675902443520,"km_value":15939675902443.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:14:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562530304,"description":"Unknown IO ID 45"} 
[2026-08-28 16:14:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705919232001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562530304}} 
[2026-08-28 16:14:49] 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":708585,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:14:49] local.INFO: GPS data processed {"connection_id":163553,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:14:49] local.INFO: Acknowledgment sent {"connection_id":163553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:14:56] local.INFO: TCP Data received {"connection_id":166179,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166179,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:14:56] local.INFO: Processing buffer {"connection_id":166179,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:14:56] local.INFO: IMEI packet received {"connection_id":166179,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 16:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":166179,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:15:01] local.INFO: TCP Data received {"connection_id":166179,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166179,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:15:01] local.INFO: Processing buffer {"connection_id":166179,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:15:01] local.INFO: IMEI packet received {"connection_id":166179,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 16:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":166179,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:15:03] local.INFO: TCP Data received {"connection_id":166179,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047f7f2b8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047f7f2b8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:15:03] local.INFO: Processing buffer {"connection_id":166179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047f7f2b8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:15:03] local.INFO: Packet analysis {"connection_id":166179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047f7"} 
[2026-08-28 16:15:03] local.INFO: Extracted packet for processing {"connection_id":166179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047f7"} 
[2026-08-28 16:15:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705862656001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787913827000,"timestamp_ms":1787913827000,"timestamp_seconds":1787913827,"priority":1,"record_length":96,"hex_timestamp":"000001a047f7f2b8"} 
[2026-08-28 16:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:15:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 16:15:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:15:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":166179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":166179,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":166179,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705862656001,"66":25419,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705862656001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:15:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:15:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705862656001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":166179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708586,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:15:03] local.INFO: GPS data processed {"connection_id":166179,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:15:03] local.INFO: Acknowledgment sent {"connection_id":166179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:15:10] local.INFO: TCP Data received {"connection_id":166178,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047f56a48012d34c14006aa4840000900e62a..."} 
[2026-08-28 16:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047f56a48012d34c14006aa4840000900e62a..."} 
[2026-08-28 16:15:10] local.INFO: Processing buffer {"connection_id":166178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047f56a48012d34c14006aa4840000900e62a..."} 
[2026-08-28 16:15:10] local.INFO: Packet analysis {"connection_id":166178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047f5"} 
[2026-08-28 16:15:10] local.INFO: Extracted packet for processing {"connection_id":166178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047f5"} 
[2026-08-28 16:15:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705820160001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:15:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787913661000,"timestamp_ms":1787913661000,"timestamp_seconds":1787913661,"priority":1,"record_length":96,"hex_timestamp":"000001a047f56a48"} 
[2026-08-28 16:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:15:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 16:15:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:15:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":166178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":166178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":166178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:15:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705820160001,"66":25430,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705820160001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:15:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:15:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:15:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705820160001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":166178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:15:10] local.INFO: GPS data processed {"connection_id":166178,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:15:10] local.INFO: Acknowledgment sent {"connection_id":166178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:15:11] local.INFO: TCP Data received {"connection_id":164817,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164817,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:15:11] local.INFO: Processing buffer {"connection_id":164817,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:15:11] local.INFO: IMEI packet received {"connection_id":164817,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 16:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":164817,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:15:11] local.INFO: TCP Data received {"connection_id":164817,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164817,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:15:11] local.INFO: Processing buffer {"connection_id":164817,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:15:11] local.INFO: IMEI packet received {"connection_id":164817,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 16:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":164817,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:15:16] local.INFO: TCP Data received {"connection_id":164817,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164817,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:15:16] local.INFO: Processing buffer {"connection_id":164817,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:15:16] local.INFO: IMEI packet received {"connection_id":164817,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 16:15:16] local.INFO: IMEI acknowledgment sent {"connection_id":164817,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:15:17] local.INFO: TCP Data received {"connection_id":164817,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047f75e48012d181f400721b180004d00d727..."} 
[2026-08-28 16:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047f75e48012d181f400721b180004d00d727..."} 
[2026-08-28 16:15:17] local.INFO: Processing buffer {"connection_id":164817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047f75e48012d181f400721b180004d00d727..."} 
[2026-08-28 16:15:17] local.INFO: Packet analysis {"connection_id":164817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047f7"} 
[2026-08-28 16:15:17] local.INFO: Extracted packet for processing {"connection_id":164817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047f7"} 
[2026-08-28 16:15:17] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648640,"longitude_deg":75.6555584,"latitude_deg":11.964864,"altitude":77,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b180","is_valid_coordinates":true} 
[2026-08-28 16:15:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:15:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705924608001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:15:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15939675902443520,"note":"Value kept but may cause issues"} 
[2026-08-28 16:15:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562530304,"note":"Value kept but may cause issues"} 
[2026-08-28 16:15:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:15:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787913789000,"timestamp_ms":1787913789000,"timestamp_seconds":1787913789,"priority":1,"record_length":96,"hex_timestamp":"000001a047f75e48"} 
[2026-08-28 16:15:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:15:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:15:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-28 16:15:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:15:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:15:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:15:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:15:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:15:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:15:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:15:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:15:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:15:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:15:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705924608001,"66":12504,"120":206,"28":31744,"24":0,"16":15939675902443520,"45":1738178380562530304},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 16:15:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:15:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:15:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705924608001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:15:17] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 16:15:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 16:15:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15939675902443520,"km_value":15939675902443.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:15:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562530304,"description":"Unknown IO ID 45"} 
[2026-08-28 16:15:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705924608001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562530304}} 
[2026-08-28 16:15:17] 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":708588,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:15:17] local.INFO: GPS data processed {"connection_id":164817,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:15:17] local.INFO: Acknowledgment sent {"connection_id":164817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:15:30] local.INFO: TCP Data received {"connection_id":164818,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:15:30] local.INFO: Processing buffer {"connection_id":164818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:15:30] local.INFO: IMEI packet received {"connection_id":164818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 16:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":164818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:15:35] local.INFO: TCP Data received {"connection_id":166179,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047f7f2b8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047f7f2b8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:15:35] local.INFO: Processing buffer {"connection_id":166179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047f7f2b8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:15:35] local.INFO: Packet analysis {"connection_id":166179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047f7"} 
[2026-08-28 16:15:35] local.INFO: Extracted packet for processing {"connection_id":166179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047f7"} 
[2026-08-28 16:15:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705862656001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:15:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:15:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787913827000,"timestamp_ms":1787913827000,"timestamp_seconds":1787913827,"priority":1,"record_length":96,"hex_timestamp":"000001a047f7f2b8"} 
[2026-08-28 16:15:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:15:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 16:15:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:15:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:15:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":166179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":166179,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":166179,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:15:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705862656001,"66":25419,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705862656001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:15:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:15:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:15:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:15:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705862656001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:15:36] local.INFO: TCP Data received {"connection_id":164818,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:15:36] local.INFO: Processing buffer {"connection_id":164818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:15:36] local.INFO: IMEI packet received {"connection_id":164818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 16:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":164818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":166179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708589,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:15:36] local.INFO: GPS data processed {"connection_id":166179,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:15:36] local.INFO: Acknowledgment sent {"connection_id":166179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:15:38] local.INFO: TCP Data received {"connection_id":164818,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047f56a48012d34c14006aa4840000900e62a..."} 
[2026-08-28 16:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047f56a48012d34c14006aa4840000900e62a..."} 
[2026-08-28 16:15:38] local.INFO: Processing buffer {"connection_id":164818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047f56a48012d34c14006aa4840000900e62a..."} 
[2026-08-28 16:15:38] local.INFO: Packet analysis {"connection_id":164818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047f5"} 
[2026-08-28 16:15:38] local.INFO: Extracted packet for processing {"connection_id":164818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047f5"} 
[2026-08-28 16:15:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705820160001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:15:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787913661000,"timestamp_ms":1787913661000,"timestamp_seconds":1787913661,"priority":1,"record_length":96,"hex_timestamp":"000001a047f56a48"} 
[2026-08-28 16:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:15:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 16:15:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:15:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:15:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705820160001,"66":25430,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705820160001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:15:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:15:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:15: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-28 16:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705820160001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:15:38] 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":708590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:15:38] local.INFO: GPS data processed {"connection_id":164818,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:15:38] local.INFO: Acknowledgment sent {"connection_id":164818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:15:49] local.INFO: TCP Data received {"connection_id":164817,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047f7b050012d181f400721b180004d00d727..."} 
[2026-08-28 16:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047f7b050012d181f400721b180004d00d727..."} 
[2026-08-28 16:15:49] local.INFO: Processing buffer {"connection_id":164817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047f7b050012d181f400721b180004d00d727..."} 
[2026-08-28 16:15:49] local.INFO: Packet analysis {"connection_id":164817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047f7"} 
[2026-08-28 16:15:49] local.INFO: Extracted packet for processing {"connection_id":164817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047f7"} 
[2026-08-28 16:15:49] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648640,"longitude_deg":75.6555584,"latitude_deg":11.964864,"altitude":77,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b180","is_valid_coordinates":true} 
[2026-08-28 16: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-28 16:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705929984001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:15:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15939675902443520,"note":"Value kept but may cause issues"} 
[2026-08-28 16:15:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562530304,"note":"Value kept but may cause issues"} 
[2026-08-28 16:15:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:15:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787913810000,"timestamp_ms":1787913810000,"timestamp_seconds":1787913810,"priority":1,"record_length":96,"hex_timestamp":"000001a047f7b050"} 
[2026-08-28 16: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-28 16:15:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-28 16:15:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16: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-28 16: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-28 16:15:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:15:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:15:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:15:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:15:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:15:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:15:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:15:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705929984001,"66":12428,"120":206,"28":31744,"24":0,"16":15939675902443520,"45":1738178380562530304},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 16:15:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:15:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:15:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705929984001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:15:49] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 16:15:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 16:15:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15939675902443520,"km_value":15939675902443.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:15:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562530304,"description":"Unknown IO ID 45"} 
[2026-08-28 16:15:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705929984001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562530304}} 
[2026-08-28 16:15:49] 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":708591,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:15:49] local.INFO: GPS data processed {"connection_id":164817,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:15:49] local.INFO: Acknowledgment sent {"connection_id":164817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:15:56] local.INFO: TCP Data received {"connection_id":166180,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166180,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:15:56] local.INFO: Processing buffer {"connection_id":166180,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:15:56] local.INFO: IMEI packet received {"connection_id":166180,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 16:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":166180,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:16:01] local.INFO: TCP Data received {"connection_id":166180,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166180,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:16:01] local.INFO: Processing buffer {"connection_id":166180,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:16:01] local.INFO: IMEI packet received {"connection_id":166180,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 16:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":166180,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:16:02] local.INFO: TCP Data received {"connection_id":166180,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047f7f2b8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047f7f2b8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:16:02] local.INFO: Processing buffer {"connection_id":166180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047f7f2b8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:16:02] local.INFO: Packet analysis {"connection_id":166180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047f7"} 
[2026-08-28 16:16:02] local.INFO: Extracted packet for processing {"connection_id":166180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047f7"} 
[2026-08-28 16:16:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:16:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705862656001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:16:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:16:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:16:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:16:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787913827000,"timestamp_ms":1787913827000,"timestamp_seconds":1787913827,"priority":1,"record_length":96,"hex_timestamp":"000001a047f7f2b8"} 
[2026-08-28 16:16:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:16:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 16:16:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:16:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:16:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:16:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:16:02] local.INFO: Teltonika packet parsed successfully {"connection_id":166180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:16:02] local.INFO: Passing IMEI to GPS processor {"connection_id":166180,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:16:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":166180,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:16:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:16:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:16:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:16:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705862656001,"66":25419,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:16:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:16:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:16:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705862656001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:16:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:16:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:16:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:16:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:16:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705862656001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:16:02] local.INFO: DEBUG: GPS processor result {"connection_id":166180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708592,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:16:02] local.INFO: GPS data processed {"connection_id":166180,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:16:02] local.INFO: Acknowledgment sent {"connection_id":166180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:16:09] local.INFO: TCP Data received {"connection_id":164818,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047f56a48012d34c14006aa4840000900e62a..."} 
[2026-08-28 16:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047f56a48012d34c14006aa4840000900e62a..."} 
[2026-08-28 16:16:09] local.INFO: Processing buffer {"connection_id":164818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047f56a48012d34c14006aa4840000900e62a..."} 
[2026-08-28 16:16:09] local.INFO: Packet analysis {"connection_id":164818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047f5"} 
[2026-08-28 16:16:09] local.INFO: Extracted packet for processing {"connection_id":164818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047f5"} 
[2026-08-28 16:16:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705820160001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:16:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787913661000,"timestamp_ms":1787913661000,"timestamp_seconds":1787913661,"priority":1,"record_length":96,"hex_timestamp":"000001a047f56a48"} 
[2026-08-28 16:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:16:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 16:16:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:16:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705820160001,"66":25430,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705820160001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:16:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:16:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:16: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-28 16:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705820160001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:16:09] 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":708593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:16:09] local.INFO: GPS data processed {"connection_id":164818,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:16:09] local.INFO: Acknowledgment sent {"connection_id":164818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:16:10] local.INFO: TCP Data received {"connection_id":163828,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163828,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:16:10] local.INFO: Processing buffer {"connection_id":163828,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:16:10] local.INFO: IMEI packet received {"connection_id":163828,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 16:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":163828,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:16:14] local.INFO: TCP Data received {"connection_id":163828,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163828,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:16:14] local.INFO: Processing buffer {"connection_id":163828,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:16:14] local.INFO: IMEI packet received {"connection_id":163828,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 16:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":163828,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:16:15] local.INFO: TCP Data received {"connection_id":163828,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163828,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:16:15] local.INFO: Processing buffer {"connection_id":163828,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:16:15] local.INFO: IMEI packet received {"connection_id":163828,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 16:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":163828,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:16:16] local.INFO: TCP Data received {"connection_id":163828,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047f80258012d181f400721b180004d00d726..."} 
[2026-08-28 16:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047f80258012d181f400721b180004d00d726..."} 
[2026-08-28 16:16:16] local.INFO: Processing buffer {"connection_id":163828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047f80258012d181f400721b180004d00d726..."} 
[2026-08-28 16:16:16] local.INFO: Packet analysis {"connection_id":163828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047f8"} 
[2026-08-28 16:16:16] local.INFO: Extracted packet for processing {"connection_id":163828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047f8"} 
[2026-08-28 16:16:16] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648640,"longitude_deg":75.6555584,"latitude_deg":11.964864,"altitude":77,"angle":215,"satellites":38,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b180","is_valid_coordinates":true} 
[2026-08-28 16:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:16:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705935360001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:16:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15939675902443520,"note":"Value kept but may cause issues"} 
[2026-08-28 16:16:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562530304,"note":"Value kept but may cause issues"} 
[2026-08-28 16:16:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:16:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787913831000,"timestamp_ms":1787913831000,"timestamp_seconds":1787913831,"priority":1,"record_length":96,"hex_timestamp":"000001a047f80258"} 
[2026-08-28 16:16:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:16:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:16:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-28 16:16:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:16:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:16:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:16:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:16:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:16:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:16:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:16:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:16:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:16:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:16:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705935360001,"66":12461,"120":206,"28":31744,"24":0,"16":15939675902443520,"45":1738178380562530304},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 16:16:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:16:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:16:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705935360001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:16:16] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 16:16:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 16:16:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15939675902443520,"km_value":15939675902443.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:16:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562530304,"description":"Unknown IO ID 45"} 
[2026-08-28 16:16:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705935360001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562530304}} 
[2026-08-28 16:16:17] local.INFO: DEBUG: GPS processor result {"connection_id":163828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708594,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:16:17] local.INFO: GPS data processed {"connection_id":163828,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:16:17] local.INFO: Acknowledgment sent {"connection_id":163828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:16:21] local.INFO: TCP Data received {"connection_id":163828,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047f85460012d181f400721b180004d00d726..."} 
[2026-08-28 16:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047f85460012d181f400721b180004d00d726..."} 
[2026-08-28 16:16:21] local.INFO: Processing buffer {"connection_id":163828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047f85460012d181f400721b180004d00d726..."} 
[2026-08-28 16:16:21] local.INFO: Packet analysis {"connection_id":163828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047f8"} 
[2026-08-28 16:16:21] local.INFO: Extracted packet for processing {"connection_id":163828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047f8"} 
[2026-08-28 16:16:21] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648640,"longitude_deg":75.6555584,"latitude_deg":11.964864,"altitude":77,"angle":215,"satellites":38,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b180","is_valid_coordinates":true} 
[2026-08-28 16:16:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:16:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705940736001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:16:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15939675902443520,"note":"Value kept but may cause issues"} 
[2026-08-28 16:16:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562530304,"note":"Value kept but may cause issues"} 
[2026-08-28 16:16:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:16:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787913852000,"timestamp_ms":1787913852000,"timestamp_seconds":1787913852,"priority":1,"record_length":96,"hex_timestamp":"000001a047f85460"} 
[2026-08-28 16:16:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:16:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:16:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 16:16:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:16:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:16:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:16:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:16:21] local.INFO: Teltonika packet parsed successfully {"connection_id":163828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:16:21] local.INFO: Passing IMEI to GPS processor {"connection_id":163828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:16:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":163828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:16:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:16:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:16:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:16:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705940736001,"66":12461,"120":206,"28":31744,"24":0,"16":15939675902443520,"45":1738178380562530304},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 16:16:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:16:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:16:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705940736001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:16:21] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 16:16:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 16:16:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15939675902443520,"km_value":15939675902443.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:16:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562530304,"description":"Unknown IO ID 45"} 
[2026-08-28 16:16:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705940736001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562530304}} 
[2026-08-28 16:16:22] local.INFO: DEBUG: GPS processor result {"connection_id":163828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708595,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:16:22] local.INFO: GPS data processed {"connection_id":163828,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:16:22] local.INFO: Acknowledgment sent {"connection_id":163828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:16:35] local.INFO: TCP Data received {"connection_id":166180,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047f7f2b8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047f7f2b8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:16:35] local.INFO: Processing buffer {"connection_id":166180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047f7f2b8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:16:35] local.INFO: Packet analysis {"connection_id":166180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047f7"} 
[2026-08-28 16:16:35] local.INFO: Extracted packet for processing {"connection_id":166180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047f7"} 
[2026-08-28 16:16:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705862656001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:16:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:16:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787913827000,"timestamp_ms":1787913827000,"timestamp_seconds":1787913827,"priority":1,"record_length":96,"hex_timestamp":"000001a047f7f2b8"} 
[2026-08-28 16:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:16:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 16:16:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:16:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":166180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":166180,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":166180,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705862656001,"66":25419,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705862656001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:16:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:16:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:16:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705862656001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":166180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708596,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:16:35] local.INFO: GPS data processed {"connection_id":166180,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:16:35] local.INFO: Acknowledgment sent {"connection_id":166180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:16:35] local.INFO: TCP Data received {"connection_id":163554,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:16:35] local.INFO: Processing buffer {"connection_id":163554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:16:35] local.INFO: IMEI packet received {"connection_id":163554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 16:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":163554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:16:40] local.INFO: TCP Data received {"connection_id":163554,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:16:40] local.INFO: Processing buffer {"connection_id":163554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:16:40] local.INFO: IMEI packet received {"connection_id":163554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 16:16:40] local.INFO: IMEI acknowledgment sent {"connection_id":163554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:16:42] local.INFO: TCP Data received {"connection_id":163554,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047fa0210012d34c14006aa4840000300e62a..."} 
[2026-08-28 16:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047fa0210012d34c14006aa4840000300e62a..."} 
[2026-08-28 16:16:42] local.INFO: Processing buffer {"connection_id":163554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047fa0210012d34c14006aa4840000300e62a..."} 
[2026-08-28 16:16:42] local.INFO: Packet analysis {"connection_id":163554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047fa"} 
[2026-08-28 16:16:42] local.INFO: Extracted packet for processing {"connection_id":163554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047fa"} 
[2026-08-28 16:16:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16: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-28 16:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705897216001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787913962000,"timestamp_ms":1787913962000,"timestamp_seconds":1787913962,"priority":1,"record_length":96,"hex_timestamp":"000001a047fa0210"} 
[2026-08-28 16: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-28 16:16: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-28 16: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":86,"data_length":795,"current_offset":136} 
[2026-08-28 16:16: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-28 16: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-28 16: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-28 16:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705897216001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705897216001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:16:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:16:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16: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-28 16:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705897216001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":163554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:16:42] local.INFO: GPS data processed {"connection_id":163554,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:16:42] local.INFO: Acknowledgment sent {"connection_id":163554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:16:44] local.INFO: TCP Data received {"connection_id":163554,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047fa0210012d34c14006aa4840000300e62a..."} 
[2026-08-28 16:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047fa0210012d34c14006aa4840000300e62a..."} 
[2026-08-28 16:16:44] local.INFO: Processing buffer {"connection_id":163554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047fa0210012d34c14006aa4840000300e62a..."} 
[2026-08-28 16:16:44] local.INFO: Packet analysis {"connection_id":163554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047fa"} 
[2026-08-28 16:16:44] local.INFO: Extracted packet for processing {"connection_id":163554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047fa"} 
[2026-08-28 16:16:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 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-28 16:16:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705897216001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:16:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:16:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:16:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:16:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787913962000,"timestamp_ms":1787913962000,"timestamp_seconds":1787913962,"priority":1,"record_length":96,"hex_timestamp":"000001a047fa0210"} 
[2026-08-28 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-28 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-28 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":86,"data_length":795,"current_offset":136} 
[2026-08-28 16:16: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-28 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-28 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-28 16:16:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:16:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:16:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:16:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:16:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:16:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:16:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:16:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705897216001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:16:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:16:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:16:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705897216001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:16:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:16:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 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-28 16:16:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:16:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705897216001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:16:44] local.INFO: DEBUG: GPS processor result {"connection_id":163554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:16:44] local.INFO: GPS data processed {"connection_id":163554,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:16:44] local.INFO: Acknowledgment sent {"connection_id":163554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:16:53] local.INFO: TCP Data received {"connection_id":163828,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047f8a668012d181f400721b180004d00d728..."} 
[2026-08-28 16:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047f8a668012d181f400721b180004d00d728..."} 
[2026-08-28 16:16:53] local.INFO: Processing buffer {"connection_id":163828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047f8a668012d181f400721b180004d00d728..."} 
[2026-08-28 16:16:53] local.INFO: Packet analysis {"connection_id":163828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047f8"} 
[2026-08-28 16:16:53] local.INFO: Extracted packet for processing {"connection_id":163828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047f8"} 
[2026-08-28 16:16:53] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648640,"longitude_deg":75.6555584,"latitude_deg":11.964864,"altitude":77,"angle":215,"satellites":40,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b180","is_valid_coordinates":true} 
[2026-08-28 16:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:16:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705946112001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:16:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15939675902443520,"note":"Value kept but may cause issues"} 
[2026-08-28 16:16:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562530304,"note":"Value kept but may cause issues"} 
[2026-08-28 16:16:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:16:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787913873000,"timestamp_ms":1787913873000,"timestamp_seconds":1787913873,"priority":1,"record_length":96,"hex_timestamp":"000001a047f8a668"} 
[2026-08-28 16:16:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:16:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 16:16:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:16:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:16:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:16:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:16:53] local.INFO: Teltonika packet parsed successfully {"connection_id":163828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:16:53] local.INFO: Passing IMEI to GPS processor {"connection_id":163828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:16:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":163828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:16:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:16:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:16:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:16:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705946112001,"66":12461,"120":206,"28":31744,"24":0,"16":15939675902443520,"45":1738178380562530304},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 16:16:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:16:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:16:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705946112001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:16:53] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 16:16:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 16:16:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15939675902443520,"km_value":15939675902443.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:16:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562530304,"description":"Unknown IO ID 45"} 
[2026-08-28 16:16:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705946112001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562530304}} 
[2026-08-28 16:16:53] local.INFO: DEBUG: GPS processor result {"connection_id":163828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708599,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:16:53] local.INFO: GPS data processed {"connection_id":163828,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:16:53] local.INFO: Acknowledgment sent {"connection_id":163828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:17:01] local.INFO: TCP Data received {"connection_id":166181,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166181,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:17:01] local.INFO: Processing buffer {"connection_id":166181,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:17:01] local.INFO: IMEI packet received {"connection_id":166181,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 16:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":166181,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:17:06] local.INFO: TCP Data received {"connection_id":166181,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166181,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:17:06] local.INFO: Processing buffer {"connection_id":166181,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:17:06] local.INFO: IMEI packet received {"connection_id":166181,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 16:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":166181,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:17:08] local.INFO: TCP Data received {"connection_id":166181,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047f7f2b8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047f7f2b8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:17:08] local.INFO: Processing buffer {"connection_id":166181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047f7f2b8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:17:08] local.INFO: Packet analysis {"connection_id":166181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047f7"} 
[2026-08-28 16:17:08] local.INFO: Extracted packet for processing {"connection_id":166181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047f7"} 
[2026-08-28 16:17:08] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16: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-28 16:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705862656001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787913827000,"timestamp_ms":1787913827000,"timestamp_seconds":1787913827,"priority":1,"record_length":96,"hex_timestamp":"000001a047f7f2b8"} 
[2026-08-28 16: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-28 16:17:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 16:17: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-28 16: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-28 16: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-28 16:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":166181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":166181,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":166181,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705862656001,"66":25419,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705862656001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:17:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:17:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705862656001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":166181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708600,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:17:08] local.INFO: GPS data processed {"connection_id":166181,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:17:08] local.INFO: Acknowledgment sent {"connection_id":166181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:17:10] local.INFO: TCP Data received {"connection_id":163555,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163555,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:17:10] local.INFO: Processing buffer {"connection_id":163555,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:17:10] local.INFO: IMEI packet received {"connection_id":163555,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 16:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":163555,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:17:12] local.INFO: TCP Data received {"connection_id":166181,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047f7f2b8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047f7f2b8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:17:12] local.INFO: Processing buffer {"connection_id":166181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047f7f2b8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:17:12] local.INFO: Packet analysis {"connection_id":166181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047f7"} 
[2026-08-28 16:17:12] local.INFO: Extracted packet for processing {"connection_id":166181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047f7"} 
[2026-08-28 16:17:12] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705862656001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:17:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:17:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787913827000,"timestamp_ms":1787913827000,"timestamp_seconds":1787913827,"priority":1,"record_length":96,"hex_timestamp":"000001a047f7f2b8"} 
[2026-08-28 16:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:17:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 16:17:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:17:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":166181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":166181,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":166181,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:17:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705862656001,"66":25419,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705862656001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:17:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:17:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:17:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705862656001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:17:12] local.INFO: DEBUG: GPS processor result {"connection_id":166181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708601,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:17:12] local.INFO: GPS data processed {"connection_id":166181,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:17:12] local.INFO: Acknowledgment sent {"connection_id":166181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:17:16] local.INFO: TCP Data received {"connection_id":163554,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047fa0210012d34c14006aa4840000300e62a..."} 
[2026-08-28 16:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047fa0210012d34c14006aa4840000300e62a..."} 
[2026-08-28 16:17:16] local.INFO: Processing buffer {"connection_id":163554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047fa0210012d34c14006aa4840000300e62a..."} 
[2026-08-28 16:17:16] local.INFO: Packet analysis {"connection_id":163554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047fa"} 
[2026-08-28 16:17:16] local.INFO: Extracted packet for processing {"connection_id":163554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047fa"} 
[2026-08-28 16:17:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:17:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705897216001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:17:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:17:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:17:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:17:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787913962000,"timestamp_ms":1787913962000,"timestamp_seconds":1787913962,"priority":1,"record_length":96,"hex_timestamp":"000001a047fa0210"} 
[2026-08-28 16:17:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16: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-28 16:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 16: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-28 16:17:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:17:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:17:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:17:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:17:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:17:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:17:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:17:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:17:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:17:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705897216001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:17:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:17:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:17:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705897216001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:17:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:17:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16: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-28 16:17:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:17:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705897216001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:17:16] local.INFO: DEBUG: GPS processor result {"connection_id":163554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:17:16] local.INFO: GPS data processed {"connection_id":163554,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:17:16] local.INFO: Acknowledgment sent {"connection_id":163554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:17:16] local.INFO: TCP Data received {"connection_id":163555,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163555,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:17:16] local.INFO: Processing buffer {"connection_id":163555,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:17:16] local.INFO: IMEI packet received {"connection_id":163555,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 16:17:16] local.INFO: IMEI acknowledgment sent {"connection_id":163555,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:17:17] local.INFO: TCP Data received {"connection_id":163555,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047f8f870012d181f400721b180004d00d728..."} 
[2026-08-28 16:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047f8f870012d181f400721b180004d00d728..."} 
[2026-08-28 16:17:17] local.INFO: Processing buffer {"connection_id":163555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047f8f870012d181f400721b180004d00d728..."} 
[2026-08-28 16:17:17] local.INFO: Packet analysis {"connection_id":163555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047f8"} 
[2026-08-28 16:17:17] local.INFO: Extracted packet for processing {"connection_id":163555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047f8"} 
[2026-08-28 16:17:17] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648640,"longitude_deg":75.6555584,"latitude_deg":11.964864,"altitude":77,"angle":215,"satellites":40,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b180","is_valid_coordinates":true} 
[2026-08-28 16:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:17:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705951488001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:17:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15939675902443520,"note":"Value kept but may cause issues"} 
[2026-08-28 16:17:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562530304,"note":"Value kept but may cause issues"} 
[2026-08-28 16:17:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:17:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787913894000,"timestamp_ms":1787913894000,"timestamp_seconds":1787913894,"priority":1,"record_length":96,"hex_timestamp":"000001a047f8f870"} 
[2026-08-28 16:17:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:17:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 16:17: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-28 16:17:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:17:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:17:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:17:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:17:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:17:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:17:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:17:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:17:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:17:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705951488001,"66":12493,"120":206,"28":31744,"24":0,"16":15939675902443520,"45":1738178380562530304},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 16:17:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:17:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:17:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705951488001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:17:17] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 16:17:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 16:17:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15939675902443520,"km_value":15939675902443.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:17:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562530304,"description":"Unknown IO ID 45"} 
[2026-08-28 16:17:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705951488001,"power":12493,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562530304}} 
[2026-08-28 16:17:17] 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":708603,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:17:17] local.INFO: GPS data processed {"connection_id":163555,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:17:17] local.INFO: Acknowledgment sent {"connection_id":163555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:17:30] local.INFO: TCP Data received {"connection_id":166182,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:17:30] local.INFO: Processing buffer {"connection_id":166182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:17:30] local.INFO: IMEI packet received {"connection_id":166182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 16:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":166182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:17:35] local.INFO: TCP Data received {"connection_id":166182,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:17:35] local.INFO: Processing buffer {"connection_id":166182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:17:35] local.INFO: IMEI packet received {"connection_id":166182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 16:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":166182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:17:37] local.INFO: TCP Data received {"connection_id":166182,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047fa0210012d34c14006aa4840000300e62a..."} 
[2026-08-28 16:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047fa0210012d34c14006aa4840000300e62a..."} 
[2026-08-28 16:17:37] local.INFO: Processing buffer {"connection_id":166182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047fa0210012d34c14006aa4840000300e62a..."} 
[2026-08-28 16:17:37] local.INFO: Packet analysis {"connection_id":166182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047fa"} 
[2026-08-28 16:17:37] local.INFO: Extracted packet for processing {"connection_id":166182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047fa"} 
[2026-08-28 16:17:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705897216001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787913962000,"timestamp_ms":1787913962000,"timestamp_seconds":1787913962,"priority":1,"record_length":96,"hex_timestamp":"000001a047fa0210"} 
[2026-08-28 16:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 16:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":166182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":166182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":166182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705897216001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705897216001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:17:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:17:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:17: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-28 16:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705897216001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":166182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:17:37] local.INFO: GPS data processed {"connection_id":166182,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:17:37] local.INFO: Acknowledgment sent {"connection_id":166182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:17:49] local.INFO: TCP Data received {"connection_id":163555,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047f94a78012d181f400721b180004d00d728..."} 
[2026-08-28 16:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047f94a78012d181f400721b180004d00d728..."} 
[2026-08-28 16:17:49] local.INFO: Processing buffer {"connection_id":163555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047f94a78012d181f400721b180004d00d728..."} 
[2026-08-28 16:17:49] local.INFO: Packet analysis {"connection_id":163555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047f9"} 
[2026-08-28 16:17:49] local.INFO: Extracted packet for processing {"connection_id":163555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047f9"} 
[2026-08-28 16:17:49] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648640,"longitude_deg":75.6555584,"latitude_deg":11.964864,"altitude":77,"angle":215,"satellites":40,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b180","is_valid_coordinates":true} 
[2026-08-28 16: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-28 16:17:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705956864001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:17:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15939675902443520,"note":"Value kept but may cause issues"} 
[2026-08-28 16:17:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562530304,"note":"Value kept but may cause issues"} 
[2026-08-28 16:17:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:17:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787913915000,"timestamp_ms":1787913915000,"timestamp_seconds":1787913915,"priority":1,"record_length":96,"hex_timestamp":"000001a047f94a78"} 
[2026-08-28 16: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-28 16:17:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16: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":48,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-28 16:17:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2283,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16: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-28 16: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-28 16:17:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:17:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:17:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:17:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:17:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:17:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:17:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:17:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705956864001,"66":12461,"120":206,"28":31744,"24":0,"16":15939675902443520,"45":1738178380562530304},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 16:17:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:17:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:17:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705956864001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:17:49] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 16:17:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 16:17:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15939675902443520,"km_value":15939675902443.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:17:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562530304,"description":"Unknown IO ID 45"} 
[2026-08-28 16:17:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705956864001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562530304}} 
[2026-08-28 16:17:49] 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":708605,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:17:49] local.INFO: GPS data processed {"connection_id":163555,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:17:49] local.INFO: Acknowledgment sent {"connection_id":163555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:17:56] local.INFO: TCP Data received {"connection_id":166183,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166183,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:17:56] local.INFO: Processing buffer {"connection_id":166183,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:17:56] local.INFO: IMEI packet received {"connection_id":166183,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 16:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":166183,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:18:03] local.INFO: TCP Data received {"connection_id":166183,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166183,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:18:03] local.INFO: Processing buffer {"connection_id":166183,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:18:03] local.INFO: IMEI packet received {"connection_id":166183,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 16:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":166183,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:18:04] local.INFO: TCP Data received {"connection_id":166183,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047f7f2b8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047f7f2b8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:18:04] local.INFO: Processing buffer {"connection_id":166183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047f7f2b8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:18:04] local.INFO: Packet analysis {"connection_id":166183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047f7"} 
[2026-08-28 16:18:04] local.INFO: Extracted packet for processing {"connection_id":166183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047f7"} 
[2026-08-28 16:18:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705862656001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:18:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787913827000,"timestamp_ms":1787913827000,"timestamp_seconds":1787913827,"priority":1,"record_length":96,"hex_timestamp":"000001a047f7f2b8"} 
[2026-08-28 16:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:18:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 16:18:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:18:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":166183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":166183,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":166183,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:18:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705862656001,"66":25419,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705862656001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:18:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:18:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705862656001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":166183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708606,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:18:04] local.INFO: GPS data processed {"connection_id":166183,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:18:04] local.INFO: Acknowledgment sent {"connection_id":166183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:18:09] local.INFO: TCP Data received {"connection_id":166182,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047fa0210012d34c14006aa4840000300e62a..."} 
[2026-08-28 16:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047fa0210012d34c14006aa4840000300e62a..."} 
[2026-08-28 16:18:09] local.INFO: Processing buffer {"connection_id":166182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047fa0210012d34c14006aa4840000300e62a..."} 
[2026-08-28 16:18:09] local.INFO: Packet analysis {"connection_id":166182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047fa"} 
[2026-08-28 16:18:09] local.INFO: Extracted packet for processing {"connection_id":166182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047fa"} 
[2026-08-28 16:18:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:18:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705897216001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:18:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:18:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:18:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:18:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787913962000,"timestamp_ms":1787913962000,"timestamp_seconds":1787913962,"priority":1,"record_length":96,"hex_timestamp":"000001a047fa0210"} 
[2026-08-28 16:18:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:18:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 16:18:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:18:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:18:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:18:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:18:09] local.INFO: Teltonika packet parsed successfully {"connection_id":166182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:18:09] local.INFO: Passing IMEI to GPS processor {"connection_id":166182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:18:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":166182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:18:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:18:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:18:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:18:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705897216001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:18:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:18:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:18:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705897216001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:18:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:18:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:18: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-28 16:18:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:18:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705897216001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:18:09] local.INFO: DEBUG: GPS processor result {"connection_id":166182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:18:09] local.INFO: GPS data processed {"connection_id":166182,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:18:09] local.INFO: Acknowledgment sent {"connection_id":166182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:18:16] local.INFO: TCP Data received {"connection_id":163556,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163556,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:18:16] local.INFO: Processing buffer {"connection_id":163556,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:18:16] local.INFO: IMEI packet received {"connection_id":163556,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 16:18:16] local.INFO: IMEI acknowledgment sent {"connection_id":163556,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:18:20] local.INFO: TCP Data received {"connection_id":163556,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163556,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:18:20] local.INFO: Processing buffer {"connection_id":163556,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:18:20] local.INFO: IMEI packet received {"connection_id":163556,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 16:18:20] local.INFO: IMEI acknowledgment sent {"connection_id":163556,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:18:21] local.INFO: TCP Data received {"connection_id":163556,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047f99c80012d181f400721b180004d00d728..."} 
[2026-08-28 16:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047f99c80012d181f400721b180004d00d728..."} 
[2026-08-28 16:18:21] local.INFO: Processing buffer {"connection_id":163556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047f99c80012d181f400721b180004d00d728..."} 
[2026-08-28 16:18:21] local.INFO: Packet analysis {"connection_id":163556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047f9"} 
[2026-08-28 16:18:21] local.INFO: Extracted packet for processing {"connection_id":163556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047f9"} 
[2026-08-28 16:18:21] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648640,"longitude_deg":75.6555584,"latitude_deg":11.964864,"altitude":77,"angle":215,"satellites":40,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b180","is_valid_coordinates":true} 
[2026-08-28 16:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:18:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705962240001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:18:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15939675902443520,"note":"Value kept but may cause issues"} 
[2026-08-28 16:18:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562530304,"note":"Value kept but may cause issues"} 
[2026-08-28 16:18:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:18:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787913936000,"timestamp_ms":1787913936000,"timestamp_seconds":1787913936,"priority":1,"record_length":96,"hex_timestamp":"000001a047f99c80"} 
[2026-08-28 16:18:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:18:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 16:18:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:18:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:18:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:18:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:18:21] local.INFO: Teltonika packet parsed successfully {"connection_id":163556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:18:21] local.INFO: Passing IMEI to GPS processor {"connection_id":163556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:18:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":163556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:18:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:18:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:18:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:18:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705962240001,"66":12428,"120":206,"28":31744,"24":0,"16":15939675902443520,"45":1738178380562530304},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 16:18:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:18:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:18:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705962240001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:18:21] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 16:18:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 16:18:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15939675902443520,"km_value":15939675902443.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:18:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562530304,"description":"Unknown IO ID 45"} 
[2026-08-28 16:18:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705962240001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562530304}} 
[2026-08-28 16:18:21] 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":708608,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:18:21] local.INFO: GPS data processed {"connection_id":163556,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:18:21] local.INFO: Acknowledgment sent {"connection_id":163556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:18:23] local.INFO: TCP Data received {"connection_id":163556,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047f9ee88012d181f400721b180004d00d728..."} 
[2026-08-28 16:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047f9ee88012d181f400721b180004d00d728..."} 
[2026-08-28 16:18:23] local.INFO: Processing buffer {"connection_id":163556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047f9ee88012d181f400721b180004d00d728..."} 
[2026-08-28 16:18:23] local.INFO: Packet analysis {"connection_id":163556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047f9"} 
[2026-08-28 16:18:23] local.INFO: Extracted packet for processing {"connection_id":163556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047f9"} 
[2026-08-28 16:18:23] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648640,"longitude_deg":75.6555584,"latitude_deg":11.964864,"altitude":77,"angle":215,"satellites":40,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b180","is_valid_coordinates":true} 
[2026-08-28 16:18:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:18:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705967616001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:18:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15939675902443520,"note":"Value kept but may cause issues"} 
[2026-08-28 16:18:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562530304,"note":"Value kept but may cause issues"} 
[2026-08-28 16:18:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:18:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787913957000,"timestamp_ms":1787913957000,"timestamp_seconds":1787913957,"priority":1,"record_length":96,"hex_timestamp":"000001a047f9ee88"} 
[2026-08-28 16:18:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:18:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:18:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-28 16:18:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:18:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:18:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:18:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:18:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:18:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:18:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:18:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:18:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:18:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:18:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705967616001,"66":12461,"120":206,"28":31744,"24":0,"16":15939675902443520,"45":1738178380562530304},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 16:18:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:18:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:18:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705967616001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:18:23] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 16:18:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 16:18:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15939675902443520,"km_value":15939675902443.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:18:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562530304,"description":"Unknown IO ID 45"} 
[2026-08-28 16:18:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705967616001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562530304}} 
[2026-08-28 16:18:23] 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":708609,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:18:23] local.INFO: GPS data processed {"connection_id":163556,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:18:23] local.INFO: Acknowledgment sent {"connection_id":163556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:18:30] local.INFO: TCP Data received {"connection_id":163829,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:18:30] local.INFO: Processing buffer {"connection_id":163829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:18:30] local.INFO: IMEI packet received {"connection_id":163829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 16:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":163829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:18:35] local.INFO: TCP Data received {"connection_id":163829,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:18:35] local.INFO: Processing buffer {"connection_id":163829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:18:35] local.INFO: IMEI packet received {"connection_id":163829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 16:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":163829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:18:36] local.INFO: TCP Data received {"connection_id":166183,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047f7f2b8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047f7f2b8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:18:36] local.INFO: Processing buffer {"connection_id":166183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047f7f2b8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:18:36] local.INFO: Packet analysis {"connection_id":166183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047f7"} 
[2026-08-28 16:18:36] local.INFO: Extracted packet for processing {"connection_id":166183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047f7"} 
[2026-08-28 16:18:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705862656001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787913827000,"timestamp_ms":1787913827000,"timestamp_seconds":1787913827,"priority":1,"record_length":96,"hex_timestamp":"000001a047f7f2b8"} 
[2026-08-28 16:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 16:18:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:18:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":166183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":166183,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":166183,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705862656001,"66":25419,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705862656001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:18:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:18:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705862656001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":166183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708610,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:18:36] local.INFO: GPS data processed {"connection_id":166183,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:18:36] local.INFO: Acknowledgment sent {"connection_id":166183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:18:38] local.INFO: TCP Data received {"connection_id":163829,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047fa0210012d34c14006aa4840000300e62a..."} 
[2026-08-28 16:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047fa0210012d34c14006aa4840000300e62a..."} 
[2026-08-28 16:18:38] local.INFO: Processing buffer {"connection_id":163829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047fa0210012d34c14006aa4840000300e62a..."} 
[2026-08-28 16:18:38] local.INFO: Packet analysis {"connection_id":163829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047fa"} 
[2026-08-28 16:18:38] local.INFO: Extracted packet for processing {"connection_id":163829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047fa"} 
[2026-08-28 16:18:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:18:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705897216001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:18:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:18:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:18:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:18:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787913962000,"timestamp_ms":1787913962000,"timestamp_seconds":1787913962,"priority":1,"record_length":96,"hex_timestamp":"000001a047fa0210"} 
[2026-08-28 16:18:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:18: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-28 16:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 16:18:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:18:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:18:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:18:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:18:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:18:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:18:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:18:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:18:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:18:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:18:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705897216001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:18:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:18:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:18:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705897216001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:18:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:18:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:18: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-28 16:18:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:18:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705897216001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:18:38] local.INFO: DEBUG: GPS processor result {"connection_id":163829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:18:38] local.INFO: GPS data processed {"connection_id":163829,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:18:38] local.INFO: Acknowledgment sent {"connection_id":163829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:18:55] local.INFO: TCP Data received {"connection_id":163556,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047fa4090012d181f400721b180004d00d728..."} 
[2026-08-28 16:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047fa4090012d181f400721b180004d00d728..."} 
[2026-08-28 16:18:55] local.INFO: Processing buffer {"connection_id":163556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047fa4090012d181f400721b180004d00d728..."} 
[2026-08-28 16:18:55] local.INFO: Packet analysis {"connection_id":163556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047fa"} 
[2026-08-28 16:18:55] local.INFO: Extracted packet for processing {"connection_id":163556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047fa"} 
[2026-08-28 16:18:55] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648640,"longitude_deg":75.6555584,"latitude_deg":11.964864,"altitude":77,"angle":215,"satellites":40,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b180","is_valid_coordinates":true} 
[2026-08-28 16:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705972992001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15939675902443520,"note":"Value kept but may cause issues"} 
[2026-08-28 16:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562530304,"note":"Value kept but may cause issues"} 
[2026-08-28 16:18:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787913978000,"timestamp_ms":1787913978000,"timestamp_seconds":1787913978,"priority":1,"record_length":96,"hex_timestamp":"000001a047fa4090"} 
[2026-08-28 16:18:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:18:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 16:18:55] 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-28 16:18:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:18:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":163556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":163556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":163556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:18:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705972992001,"66":12504,"120":206,"28":31744,"24":0,"16":15939675902443520,"45":1738178380562530304},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 16:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705972992001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:18:55] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 16:18:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 16:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15939675902443520,"km_value":15939675902443.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562530304,"description":"Unknown IO ID 45"} 
[2026-08-28 16:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705972992001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562530304}} 
[2026-08-28 16:18:55] 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":708612,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:18:55] local.INFO: GPS data processed {"connection_id":163556,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:18:55] local.INFO: Acknowledgment sent {"connection_id":163556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:18:56] local.INFO: TCP Data received {"connection_id":164819,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164819,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:18:56] local.INFO: Processing buffer {"connection_id":164819,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:18:56] local.INFO: IMEI packet received {"connection_id":164819,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 16:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":164819,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:19:01] local.INFO: TCP Data received {"connection_id":164819,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164819,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:19:01] local.INFO: Processing buffer {"connection_id":164819,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:19:01] local.INFO: IMEI packet received {"connection_id":164819,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 16:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":164819,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:19:03] local.INFO: TCP Data received {"connection_id":164819,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047f7f2b8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047f7f2b8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:19:03] local.INFO: Processing buffer {"connection_id":164819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047f7f2b8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:19:03] local.INFO: Packet analysis {"connection_id":164819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047f7"} 
[2026-08-28 16:19:03] local.INFO: Extracted packet for processing {"connection_id":164819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047f7"} 
[2026-08-28 16:19:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705862656001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787913827000,"timestamp_ms":1787913827000,"timestamp_seconds":1787913827,"priority":1,"record_length":96,"hex_timestamp":"000001a047f7f2b8"} 
[2026-08-28 16:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 16:19:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:19:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":164819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":164819,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":164819,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705862656001,"66":25419,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705862656001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:19:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:19:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705862656001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:19:03] 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":708613,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:19:03] local.INFO: GPS data processed {"connection_id":164819,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:19:03] local.INFO: Acknowledgment sent {"connection_id":164819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:19:09] local.INFO: TCP Data received {"connection_id":163829,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047fa0210012d34c14006aa4840000300e62a..."} 
[2026-08-28 16:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047fa0210012d34c14006aa4840000300e62a..."} 
[2026-08-28 16:19:09] local.INFO: Processing buffer {"connection_id":163829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047fa0210012d34c14006aa4840000300e62a..."} 
[2026-08-28 16:19:09] local.INFO: Packet analysis {"connection_id":163829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047fa"} 
[2026-08-28 16:19:09] local.INFO: Extracted packet for processing {"connection_id":163829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047fa"} 
[2026-08-28 16:19:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705897216001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787913962000,"timestamp_ms":1787913962000,"timestamp_seconds":1787913962,"priority":1,"record_length":96,"hex_timestamp":"000001a047fa0210"} 
[2026-08-28 16:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 16:19:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:19:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:19:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705897216001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705897216001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:19:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:19:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:19: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-28 16:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705897216001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":163829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:19:09] local.INFO: GPS data processed {"connection_id":163829,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:19:09] local.INFO: Acknowledgment sent {"connection_id":163829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:19:10] local.INFO: TCP Data received {"connection_id":166184,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166184,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:19:10] local.INFO: Processing buffer {"connection_id":166184,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:19:10] local.INFO: IMEI packet received {"connection_id":166184,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 16:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":166184,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:19:16] local.INFO: TCP Data received {"connection_id":166184,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166184,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:19:16] local.INFO: Processing buffer {"connection_id":166184,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:19:16] local.INFO: IMEI packet received {"connection_id":166184,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 16:19:16] local.INFO: IMEI acknowledgment sent {"connection_id":166184,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:19:17] local.INFO: TCP Data received {"connection_id":166184,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047fa9298012d181f400721b180004d00d727..."} 
[2026-08-28 16:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047fa9298012d181f400721b180004d00d727..."} 
[2026-08-28 16:19:17] local.INFO: Processing buffer {"connection_id":166184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047fa9298012d181f400721b180004d00d727..."} 
[2026-08-28 16:19:17] local.INFO: Packet analysis {"connection_id":166184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047fa"} 
[2026-08-28 16:19:17] local.INFO: Extracted packet for processing {"connection_id":166184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047fa"} 
[2026-08-28 16:19:17] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648640,"longitude_deg":75.6555584,"latitude_deg":11.964864,"altitude":77,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b180","is_valid_coordinates":true} 
[2026-08-28 16: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-28 16:19:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705978368001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:19:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15939675902443520,"note":"Value kept but may cause issues"} 
[2026-08-28 16:19:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562530304,"note":"Value kept but may cause issues"} 
[2026-08-28 16:19:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:19:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787913999000,"timestamp_ms":1787913999000,"timestamp_seconds":1787913999,"priority":1,"record_length":96,"hex_timestamp":"000001a047fa9298"} 
[2026-08-28 16: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-28 16:19:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-28 16:19:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16: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-28 16: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-28 16:19:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:19:17] local.INFO: Teltonika packet parsed successfully {"connection_id":166184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:19:17] local.INFO: Passing IMEI to GPS processor {"connection_id":166184,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:19:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":166184,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:19:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:19:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:19:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:19:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705978368001,"66":12461,"120":206,"28":31744,"24":0,"16":15939675902443520,"45":1738178380562530304},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 16:19:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:19:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:19:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705978368001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:19:17] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 16:19:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 16:19:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15939675902443520,"km_value":15939675902443.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:19:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562530304,"description":"Unknown IO ID 45"} 
[2026-08-28 16:19:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705978368001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562530304}} 
[2026-08-28 16:19:17] local.INFO: DEBUG: GPS processor result {"connection_id":166184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708615,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:19:17] local.INFO: GPS data processed {"connection_id":166184,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:19:17] local.INFO: Acknowledgment sent {"connection_id":166184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:19:35] local.INFO: TCP Data received {"connection_id":164819,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047fc8a80012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047fc8a80012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:19:35] local.INFO: Processing buffer {"connection_id":164819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047fc8a80012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:19:35] local.INFO: Packet analysis {"connection_id":164819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047fc"} 
[2026-08-28 16:19:35] local.INFO: Extracted packet for processing {"connection_id":164819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047fc"} 
[2026-08-28 16:19:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705939712001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:19:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:19:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787914128000,"timestamp_ms":1787914128000,"timestamp_seconds":1787914128,"priority":1,"record_length":96,"hex_timestamp":"000001a047fc8a80"} 
[2026-08-28 16:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:19:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-28 16:19:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:19:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":164819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":164819,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":164819,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:19:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705939712001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705939712001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:19:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:19:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:19:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705939712001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:19:35] 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":708616,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:19:35] local.INFO: GPS data processed {"connection_id":164819,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:19:35] local.INFO: Acknowledgment sent {"connection_id":164819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:19:36] local.INFO: TCP Data received {"connection_id":166185,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:19:36] local.INFO: Processing buffer {"connection_id":166185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:19:36] local.INFO: IMEI packet received {"connection_id":166185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 16:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":166185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:19:40] local.INFO: TCP Data received {"connection_id":166185,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:19:40] local.INFO: Processing buffer {"connection_id":166185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:19:40] local.INFO: IMEI packet received {"connection_id":166185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 16:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":166185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:19:42] local.INFO: TCP Data received {"connection_id":166185,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047fa0210012d34c14006aa4840000300e62a..."} 
[2026-08-28 16:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047fa0210012d34c14006aa4840000300e62a..."} 
[2026-08-28 16:19:42] local.INFO: Processing buffer {"connection_id":166185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047fa0210012d34c14006aa4840000300e62a..."} 
[2026-08-28 16:19:42] local.INFO: Packet analysis {"connection_id":166185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047fa"} 
[2026-08-28 16:19:42] local.INFO: Extracted packet for processing {"connection_id":166185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047fa"} 
[2026-08-28 16:19:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 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-28 16:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705897216001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:19:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:19:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787913962000,"timestamp_ms":1787913962000,"timestamp_seconds":1787913962,"priority":1,"record_length":96,"hex_timestamp":"000001a047fa0210"} 
[2026-08-28 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-28 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-28 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":86,"data_length":795,"current_offset":136} 
[2026-08-28 16:19: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-28 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-28 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-28 16:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":166185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":166185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":166185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:19:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705897216001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705897216001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:19:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:19:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 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-28 16:19:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705897216001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":166185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:19:42] local.INFO: GPS data processed {"connection_id":166185,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:19:42] local.INFO: Acknowledgment sent {"connection_id":166185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:19:46] local.INFO: TCP Data received {"connection_id":166185,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047fa0210012d34c14006aa4840000300e62a..."} 
[2026-08-28 16:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047fa0210012d34c14006aa4840000300e62a..."} 
[2026-08-28 16:19:46] local.INFO: Processing buffer {"connection_id":166185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047fa0210012d34c14006aa4840000300e62a..."} 
[2026-08-28 16:19:46] local.INFO: Packet analysis {"connection_id":166185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047fa"} 
[2026-08-28 16:19:46] local.INFO: Extracted packet for processing {"connection_id":166185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047fa"} 
[2026-08-28 16:19:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705897216001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:19:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:19:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787913962000,"timestamp_ms":1787913962000,"timestamp_seconds":1787913962,"priority":1,"record_length":96,"hex_timestamp":"000001a047fa0210"} 
[2026-08-28 16:19:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:19: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-28 16:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 16:19: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-28 16:19:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:19:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":166185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":166185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":166185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:19:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705897216001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705897216001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:19:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:19:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:19: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-28 16:19:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705897216001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":166185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:19:46] local.INFO: GPS data processed {"connection_id":166185,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:19:46] local.INFO: Acknowledgment sent {"connection_id":166185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:19:49] local.INFO: TCP Data received {"connection_id":166184,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047fae0b8012d181f400721b180004d00d728..."} 
[2026-08-28 16:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047fae0b8012d181f400721b180004d00d728..."} 
[2026-08-28 16:19:49] local.INFO: Processing buffer {"connection_id":166184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047fae0b8012d181f400721b180004d00d728..."} 
[2026-08-28 16:19:49] local.INFO: Packet analysis {"connection_id":166184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047fa"} 
[2026-08-28 16:19:49] local.INFO: Extracted packet for processing {"connection_id":166184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047fa"} 
[2026-08-28 16:19:49] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648640,"longitude_deg":75.6555584,"latitude_deg":11.964864,"altitude":77,"angle":215,"satellites":40,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b180","is_valid_coordinates":true} 
[2026-08-28 16:19:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:19:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705983744001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:19:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15939675902443520,"note":"Value kept but may cause issues"} 
[2026-08-28 16:19:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562530304,"note":"Value kept but may cause issues"} 
[2026-08-28 16:19:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:19:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787914019000,"timestamp_ms":1787914019000,"timestamp_seconds":1787914019,"priority":1,"record_length":96,"hex_timestamp":"000001a047fae0b8"} 
[2026-08-28 16:19:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:19:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:19:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 16:19:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:19:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:19:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:19:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:19:49] local.INFO: Teltonika packet parsed successfully {"connection_id":166184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:19:49] local.INFO: Passing IMEI to GPS processor {"connection_id":166184,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:19:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":166184,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:19:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:19:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:19:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:19:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705983744001,"66":12461,"120":206,"28":31744,"24":0,"16":15939675902443520,"45":1738178380562530304},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 16:19:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:19:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:19:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705983744001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:19:49] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 16:19:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 16:19:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15939675902443520,"km_value":15939675902443.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:19:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562530304,"description":"Unknown IO ID 45"} 
[2026-08-28 16:19:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705983744001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562530304}} 
[2026-08-28 16:19:49] local.INFO: DEBUG: GPS processor result {"connection_id":166184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708619,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:19:49] local.INFO: GPS data processed {"connection_id":166184,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:19:49] local.INFO: Acknowledgment sent {"connection_id":166184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:19:56] local.INFO: TCP Data received {"connection_id":166186,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166186,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:19:56] local.INFO: Processing buffer {"connection_id":166186,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:19:56] local.INFO: IMEI packet received {"connection_id":166186,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 16:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":166186,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:20:01] local.INFO: TCP Data received {"connection_id":166186,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166186,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:20:01] local.INFO: Processing buffer {"connection_id":166186,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:20:01] local.INFO: IMEI packet received {"connection_id":166186,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 16:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":166186,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:20:03] local.INFO: TCP Data received {"connection_id":166186,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047fc8a80012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047fc8a80012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:20:03] local.INFO: Processing buffer {"connection_id":166186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047fc8a80012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:20:03] local.INFO: Packet analysis {"connection_id":166186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047fc"} 
[2026-08-28 16:20:03] local.INFO: Extracted packet for processing {"connection_id":166186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047fc"} 
[2026-08-28 16:20:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705939712001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:20:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787914128000,"timestamp_ms":1787914128000,"timestamp_seconds":1787914128,"priority":1,"record_length":96,"hex_timestamp":"000001a047fc8a80"} 
[2026-08-28 16:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:20:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-28 16:20:03] 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-28 16:20:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":166186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":166186,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":166186,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705939712001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705939712001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:20:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:20:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705939712001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":166186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708620,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:20:03] local.INFO: GPS data processed {"connection_id":166186,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:20:03] local.INFO: Acknowledgment sent {"connection_id":166186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:20:10] local.INFO: TCP Data received {"connection_id":163830,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163830,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:20:10] local.INFO: Processing buffer {"connection_id":163830,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:20:10] local.INFO: IMEI packet received {"connection_id":163830,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 16:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":163830,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:20:16] local.INFO: TCP Data received {"connection_id":163830,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163830,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:20:16] local.INFO: Processing buffer {"connection_id":163830,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:20:16] local.INFO: IMEI packet received {"connection_id":163830,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 16:20:16] local.INFO: IMEI acknowledgment sent {"connection_id":163830,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:20:18] local.INFO: TCP Data received {"connection_id":163830,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047fb36a8012d181f400721b180004d00d727..."} 
[2026-08-28 16:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047fb36a8012d181f400721b180004d00d727..."} 
[2026-08-28 16:20:18] local.INFO: Processing buffer {"connection_id":163830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047fb36a8012d181f400721b180004d00d727..."} 
[2026-08-28 16:20:18] local.INFO: Packet analysis {"connection_id":163830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047fb"} 
[2026-08-28 16:20:18] local.INFO: Extracted packet for processing {"connection_id":163830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047fb"} 
[2026-08-28 16:20:18] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648640,"longitude_deg":75.6555584,"latitude_deg":11.964864,"altitude":77,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b180","is_valid_coordinates":true} 
[2026-08-28 16:20:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:20:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705988864001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:20:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15939675902443520,"note":"Value kept but may cause issues"} 
[2026-08-28 16:20:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562530304,"note":"Value kept but may cause issues"} 
[2026-08-28 16:20:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:20:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787914041000,"timestamp_ms":1787914041000,"timestamp_seconds":1787914041,"priority":1,"record_length":96,"hex_timestamp":"000001a047fb36a8"} 
[2026-08-28 16:20:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:20:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:20:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 16:20:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:20:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:20:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:20:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:20:18] local.INFO: Teltonika packet parsed successfully {"connection_id":163830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:20:18] local.INFO: Passing IMEI to GPS processor {"connection_id":163830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:20:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":163830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:20:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:20:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:20:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:20:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705988864001,"66":12504,"120":206,"28":31744,"24":0,"16":15939675902443520,"45":1738178380562530304},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 16:20:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:20:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:20:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705988864001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:20:18] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 16:20:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 16:20:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15939675902443520,"km_value":15939675902443.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:20:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562530304,"description":"Unknown IO ID 45"} 
[2026-08-28 16:20:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705988864001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562530304}} 
[2026-08-28 16:20:18] local.INFO: DEBUG: GPS processor result {"connection_id":163830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708621,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:20:18] local.INFO: GPS data processed {"connection_id":163830,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:20:18] local.INFO: Acknowledgment sent {"connection_id":163830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:20:31] local.INFO: TCP Data received {"connection_id":164820,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:20:31] local.INFO: Processing buffer {"connection_id":164820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:20:31] local.INFO: IMEI packet received {"connection_id":164820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 16:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":164820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:20:35] local.INFO: TCP Data received {"connection_id":166186,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047fc8a80012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047fc8a80012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:20:35] local.INFO: Processing buffer {"connection_id":166186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047fc8a80012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:20:35] local.INFO: Packet analysis {"connection_id":166186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047fc"} 
[2026-08-28 16:20:35] local.INFO: Extracted packet for processing {"connection_id":166186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047fc"} 
[2026-08-28 16:20:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:20:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705939712001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:20:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:20:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:20:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:20:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787914128000,"timestamp_ms":1787914128000,"timestamp_seconds":1787914128,"priority":1,"record_length":96,"hex_timestamp":"000001a047fc8a80"} 
[2026-08-28 16:20:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:20:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-28 16:20:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:20:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:20:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:20:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:20:35] local.INFO: Teltonika packet parsed successfully {"connection_id":166186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:20:35] local.INFO: Passing IMEI to GPS processor {"connection_id":166186,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:20:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":166186,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:20:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:20:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:20:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:20:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705939712001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:20:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:20:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:20:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705939712001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:20:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:20:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:20:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:20:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:20:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705939712001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:20:35] local.INFO: DEBUG: GPS processor result {"connection_id":166186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708622,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:20:35] local.INFO: GPS data processed {"connection_id":166186,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:20:35] local.INFO: Acknowledgment sent {"connection_id":166186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:20:36] local.INFO: TCP Data received {"connection_id":164820,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:20:36] local.INFO: Processing buffer {"connection_id":164820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:20:36] local.INFO: IMEI packet received {"connection_id":164820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 16:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":164820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:20:38] local.INFO: TCP Data received {"connection_id":164820,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047fa0210012d34c14006aa4840000300e62a..."} 
[2026-08-28 16:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047fa0210012d34c14006aa4840000300e62a..."} 
[2026-08-28 16:20:38] local.INFO: Processing buffer {"connection_id":164820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047fa0210012d34c14006aa4840000300e62a..."} 
[2026-08-28 16:20:38] local.INFO: Packet analysis {"connection_id":164820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047fa"} 
[2026-08-28 16:20:38] local.INFO: Extracted packet for processing {"connection_id":164820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047fa"} 
[2026-08-28 16:20:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705897216001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:20:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787913962000,"timestamp_ms":1787913962000,"timestamp_seconds":1787913962,"priority":1,"record_length":96,"hex_timestamp":"000001a047fa0210"} 
[2026-08-28 16:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:20: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-28 16:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 16:20:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:20:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705897216001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705897216001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:20:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:20:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:20: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-28 16:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705897216001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:20:38] 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":708623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:20:38] local.INFO: GPS data processed {"connection_id":164820,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:20:38] local.INFO: Acknowledgment sent {"connection_id":164820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:20:49] local.INFO: TCP Data received {"connection_id":163830,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047fb88b0012d181f400721b180004d00d728..."} 
[2026-08-28 16:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047fb88b0012d181f400721b180004d00d728..."} 
[2026-08-28 16:20:49] local.INFO: Processing buffer {"connection_id":163830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047fb88b0012d181f400721b180004d00d728..."} 
[2026-08-28 16:20:49] local.INFO: Packet analysis {"connection_id":163830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047fb"} 
[2026-08-28 16:20:49] local.INFO: Extracted packet for processing {"connection_id":163830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047fb"} 
[2026-08-28 16:20:49] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648640,"longitude_deg":75.6555584,"latitude_deg":11.964864,"altitude":77,"angle":215,"satellites":40,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b180","is_valid_coordinates":true} 
[2026-08-28 16:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:20:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705994496001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:20:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15939675902443520,"note":"Value kept but may cause issues"} 
[2026-08-28 16:20:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562530304,"note":"Value kept but may cause issues"} 
[2026-08-28 16:20:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:20:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787914062000,"timestamp_ms":1787914062000,"timestamp_seconds":1787914062,"priority":1,"record_length":96,"hex_timestamp":"000001a047fb88b0"} 
[2026-08-28 16:20:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:20:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-28 16:20:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:20:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:20:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:20:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:20:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:20:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:20:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:20:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:20:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:20:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:20:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705994496001,"66":12461,"120":206,"28":31744,"24":0,"16":15939675902443520,"45":1738178380562530304},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 16:20:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:20:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:20:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705994496001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:20:49] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 16:20:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 16:20:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15939675902443520,"km_value":15939675902443.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:20:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562530304,"description":"Unknown IO ID 45"} 
[2026-08-28 16:20:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705994496001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562530304}} 
[2026-08-28 16:20:49] local.INFO: DEBUG: GPS processor result {"connection_id":163830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708624,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:20:49] local.INFO: GPS data processed {"connection_id":163830,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:20:49] local.INFO: Acknowledgment sent {"connection_id":163830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:21:02] local.INFO: TCP Data received {"connection_id":166187,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166187,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:21:02] local.INFO: Processing buffer {"connection_id":166187,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:21:02] local.INFO: IMEI packet received {"connection_id":166187,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 16:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":166187,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:21:07] local.INFO: TCP Data received {"connection_id":166187,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166187,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:21:07] local.INFO: Processing buffer {"connection_id":166187,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:21:07] local.INFO: IMEI packet received {"connection_id":166187,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 16:21:07] local.INFO: IMEI acknowledgment sent {"connection_id":166187,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:21:08] local.INFO: TCP Data received {"connection_id":166187,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047fc8a80012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047fc8a80012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:21:08] local.INFO: Processing buffer {"connection_id":166187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047fc8a80012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:21:08] local.INFO: Packet analysis {"connection_id":166187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047fc"} 
[2026-08-28 16:21:08] local.INFO: Extracted packet for processing {"connection_id":166187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047fc"} 
[2026-08-28 16:21:08] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:21:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705939712001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:21:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:21:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787914128000,"timestamp_ms":1787914128000,"timestamp_seconds":1787914128,"priority":1,"record_length":96,"hex_timestamp":"000001a047fc8a80"} 
[2026-08-28 16:21:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:21:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-28 16:21: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-28 16:21:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:21:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":166187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":166187,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":166187,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:21:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705939712001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705939712001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:21:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:21:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:21:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:21:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705939712001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:21:08] local.INFO: DEBUG: GPS processor result {"connection_id":166187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708625,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:21:08] local.INFO: GPS data processed {"connection_id":166187,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:21:08] local.INFO: Acknowledgment sent {"connection_id":166187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:21:10] local.INFO: TCP Data received {"connection_id":163831,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163831,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:21:10] local.INFO: Processing buffer {"connection_id":163831,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:21:10] local.INFO: IMEI packet received {"connection_id":163831,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 16:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":163831,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:21:10] local.INFO: TCP Data received {"connection_id":164820,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047fa0210012d34c14006aa4840000300e62a..."} 
[2026-08-28 16:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047fa0210012d34c14006aa4840000300e62a..."} 
[2026-08-28 16:21:10] local.INFO: Processing buffer {"connection_id":164820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047fa0210012d34c14006aa4840000300e62a..."} 
[2026-08-28 16:21:10] local.INFO: Packet analysis {"connection_id":164820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047fa"} 
[2026-08-28 16:21:10] local.INFO: Extracted packet for processing {"connection_id":164820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047fa"} 
[2026-08-28 16:21:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705897216001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:21:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:21:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787913962000,"timestamp_ms":1787913962000,"timestamp_seconds":1787913962,"priority":1,"record_length":96,"hex_timestamp":"000001a047fa0210"} 
[2026-08-28 16:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:21:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 16:21:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:21:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":164820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":164820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":164820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:21:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705897216001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705897216001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:21:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:21:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:21:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705897216001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:21:10] 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":708626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:21:10] local.INFO: GPS data processed {"connection_id":164820,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:21:10] local.INFO: Acknowledgment sent {"connection_id":164820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:21:12] local.INFO: TCP Data received {"connection_id":166187,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047fc8a80012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047fc8a80012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:21:12] local.INFO: Processing buffer {"connection_id":166187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047fc8a80012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:21:12] local.INFO: Packet analysis {"connection_id":166187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047fc"} 
[2026-08-28 16:21:12] local.INFO: Extracted packet for processing {"connection_id":166187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047fc"} 
[2026-08-28 16:21:12] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705939712001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:21:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:21:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787914128000,"timestamp_ms":1787914128000,"timestamp_seconds":1787914128,"priority":1,"record_length":96,"hex_timestamp":"000001a047fc8a80"} 
[2026-08-28 16:21:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:21:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-28 16:21:12] 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-28 16:21:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:21:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":166187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":166187,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":166187,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:21:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705939712001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705939712001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:21:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:21:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:21:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705939712001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":166187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708627,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:21:12] local.INFO: GPS data processed {"connection_id":166187,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:21:12] local.INFO: Acknowledgment sent {"connection_id":166187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:21:16] local.INFO: TCP Data received {"connection_id":163831,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163831,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:21:16] local.INFO: Processing buffer {"connection_id":163831,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:21:16] local.INFO: IMEI packet received {"connection_id":163831,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 16:21:16] local.INFO: IMEI acknowledgment sent {"connection_id":163831,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:21:17] local.INFO: TCP Data received {"connection_id":163831,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047fbdab8012d181f400721b180004d00d728..."} 
[2026-08-28 16:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047fbdab8012d181f400721b180004d00d728..."} 
[2026-08-28 16:21:17] local.INFO: Processing buffer {"connection_id":163831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047fbdab8012d181f400721b180004d00d728..."} 
[2026-08-28 16:21:17] local.INFO: Packet analysis {"connection_id":163831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047fb"} 
[2026-08-28 16:21:17] local.INFO: Extracted packet for processing {"connection_id":163831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047fb"} 
[2026-08-28 16:21:17] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648640,"longitude_deg":75.6555584,"latitude_deg":11.964864,"altitude":77,"angle":215,"satellites":40,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b180","is_valid_coordinates":true} 
[2026-08-28 16: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-28 16:21:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705999872001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:21:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15939675902443520,"note":"Value kept but may cause issues"} 
[2026-08-28 16:21:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562530304,"note":"Value kept but may cause issues"} 
[2026-08-28 16:21:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:21:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787914083000,"timestamp_ms":1787914083000,"timestamp_seconds":1787914083,"priority":1,"record_length":96,"hex_timestamp":"000001a047fbdab8"} 
[2026-08-28 16: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-28 16:21:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 16:21: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-28 16: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-28 16: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-28 16:21:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:21:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:21:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:21:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:21:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:21:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:21:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:21:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705999872001,"66":12461,"120":206,"28":31744,"24":0,"16":15939675902443520,"45":1738178380562530304},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 16:21:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:21:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:21:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705999872001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:21:17] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 16:21:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 16:21:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15939675902443520,"km_value":15939675902443.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:21:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562530304,"description":"Unknown IO ID 45"} 
[2026-08-28 16:21:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705999872001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562530304}} 
[2026-08-28 16:21:17] local.INFO: DEBUG: GPS processor result {"connection_id":163831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708628,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:21:17] local.INFO: GPS data processed {"connection_id":163831,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:21:17] local.INFO: Acknowledgment sent {"connection_id":163831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:21:30] local.INFO: TCP Data received {"connection_id":164821,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:21:30] local.INFO: Processing buffer {"connection_id":164821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:21:30] local.INFO: IMEI packet received {"connection_id":164821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 16:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":164821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:21:35] local.INFO: TCP Data received {"connection_id":164821,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:21:35] local.INFO: Processing buffer {"connection_id":164821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:21:35] local.INFO: IMEI packet received {"connection_id":164821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 16:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":164821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:21:37] local.INFO: TCP Data received {"connection_id":164821,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047fa0210012d34c14006aa4840000300e62a..."} 
[2026-08-28 16:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047fa0210012d34c14006aa4840000300e62a..."} 
[2026-08-28 16:21:37] local.INFO: Processing buffer {"connection_id":164821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047fa0210012d34c14006aa4840000300e62a..."} 
[2026-08-28 16:21:37] local.INFO: Packet analysis {"connection_id":164821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047fa"} 
[2026-08-28 16:21:37] local.INFO: Extracted packet for processing {"connection_id":164821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047fa"} 
[2026-08-28 16:21:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":3,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16: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-28 16:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705897216001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787913962000,"timestamp_ms":1787913962000,"timestamp_seconds":1787913962,"priority":1,"record_length":96,"hex_timestamp":"000001a047fa0210"} 
[2026-08-28 16: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-28 16:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 16:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16: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-28 16: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-28 16:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705897216001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705897216001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:21:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:21:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:21: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-28 16:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705897216001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":164821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:21:37] local.INFO: GPS data processed {"connection_id":164821,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:21:37] local.INFO: Acknowledgment sent {"connection_id":164821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:21:49] local.INFO: TCP Data received {"connection_id":163831,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047fc2cc0012d181f400721b180004d00d729..."} 
[2026-08-28 16:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047fc2cc0012d181f400721b180004d00d729..."} 
[2026-08-28 16:21:49] local.INFO: Processing buffer {"connection_id":163831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047fc2cc0012d181f400721b180004d00d729..."} 
[2026-08-28 16:21:49] local.INFO: Packet analysis {"connection_id":163831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047fc"} 
[2026-08-28 16:21:49] local.INFO: Extracted packet for processing {"connection_id":163831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047fc"} 
[2026-08-28 16:21:49] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648640,"longitude_deg":75.6555584,"latitude_deg":11.964864,"altitude":77,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b180","is_valid_coordinates":true} 
[2026-08-28 16:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706005248001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15939675902443520,"note":"Value kept but may cause issues"} 
[2026-08-28 16:21:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562530304,"note":"Value kept but may cause issues"} 
[2026-08-28 16:21:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787914104000,"timestamp_ms":1787914104000,"timestamp_seconds":1787914104,"priority":1,"record_length":96,"hex_timestamp":"000001a047fc2cc0"} 
[2026-08-28 16:21:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:21:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 16:21:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:21:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:21:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:21:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706005248001,"66":12461,"120":206,"28":31744,"24":0,"16":15939675902443520,"45":1738178380562530304},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 16:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706005248001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:21:49] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 16:21:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 16:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15939675902443520,"km_value":15939675902443.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:21:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562530304,"description":"Unknown IO ID 45"} 
[2026-08-28 16:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706005248001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562530304}} 
[2026-08-28 16:21:49] local.INFO: DEBUG: GPS processor result {"connection_id":163831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708630,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:21:49] local.INFO: GPS data processed {"connection_id":163831,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:21:49] local.INFO: Acknowledgment sent {"connection_id":163831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:21:56] local.INFO: TCP Data received {"connection_id":163832,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163832,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:21:56] local.INFO: Processing buffer {"connection_id":163832,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:21:56] local.INFO: IMEI packet received {"connection_id":163832,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 16:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":163832,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:22:02] local.INFO: TCP Data received {"connection_id":163832,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163832,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:22:02] local.INFO: Processing buffer {"connection_id":163832,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:22:02] local.INFO: IMEI packet received {"connection_id":163832,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 16:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":163832,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:22:03] local.INFO: TCP Data received {"connection_id":163832,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047fc8a80012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047fc8a80012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:22:03] local.INFO: Processing buffer {"connection_id":163832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047fc8a80012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:22:03] local.INFO: Packet analysis {"connection_id":163832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047fc"} 
[2026-08-28 16:22:03] local.INFO: Extracted packet for processing {"connection_id":163832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047fc"} 
[2026-08-28 16:22:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705939712001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:22:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787914128000,"timestamp_ms":1787914128000,"timestamp_seconds":1787914128,"priority":1,"record_length":96,"hex_timestamp":"000001a047fc8a80"} 
[2026-08-28 16:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:22:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-28 16:22:03] 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-28 16:22:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163832,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163832,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:22:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705939712001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705939712001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:22:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:22:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705939712001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":163832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708631,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:22:03] local.INFO: GPS data processed {"connection_id":163832,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:22:03] local.INFO: Acknowledgment sent {"connection_id":163832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:22:08] local.INFO: TCP Data received {"connection_id":164821,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047fe99d8012d34c14006aa4840000900e629..."} 
[2026-08-28 16:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047fe99d8012d34c14006aa4840000900e629..."} 
[2026-08-28 16:22:08] local.INFO: Processing buffer {"connection_id":164821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047fe99d8012d34c14006aa4840000900e629..."} 
[2026-08-28 16:22:08] local.INFO: Packet analysis {"connection_id":164821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047fe"} 
[2026-08-28 16:22:08] local.INFO: Extracted packet for processing {"connection_id":164821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047fe"} 
[2026-08-28 16:22:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16: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-28 16:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705974272001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:22:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787914263000,"timestamp_ms":1787914263000,"timestamp_seconds":1787914263,"priority":1,"record_length":96,"hex_timestamp":"000001a047fe99d8"} 
[2026-08-28 16: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-28 16:22: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-28 16:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 16:22: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-28 16: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-28 16: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-28 16:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:22:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705974272001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705974272001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:22:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:22:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:22: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-28 16:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705974272001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":164821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:22:08] local.INFO: GPS data processed {"connection_id":164821,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:22:08] local.INFO: Acknowledgment sent {"connection_id":164821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:22:11] local.INFO: TCP Data received {"connection_id":163557,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163557,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:22:11] local.INFO: Processing buffer {"connection_id":163557,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:22:11] local.INFO: IMEI packet received {"connection_id":163557,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 16:22:11] local.INFO: IMEI acknowledgment sent {"connection_id":163557,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:22:11] local.INFO: TCP Data received {"connection_id":163557,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163557,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:22:11] local.INFO: Processing buffer {"connection_id":163557,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:22:11] local.INFO: IMEI packet received {"connection_id":163557,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 16:22:11] local.INFO: IMEI acknowledgment sent {"connection_id":163557,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:22:16] local.INFO: TCP Data received {"connection_id":163557,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163557,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:22:16] local.INFO: Processing buffer {"connection_id":163557,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:22:16] local.INFO: IMEI packet received {"connection_id":163557,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 16:22:16] local.INFO: IMEI acknowledgment sent {"connection_id":163557,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:22:17] local.INFO: TCP Data received {"connection_id":163557,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047fc7ec8012d181f400721b180004d00d727..."} 
[2026-08-28 16:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047fc7ec8012d181f400721b180004d00d727..."} 
[2026-08-28 16:22:17] local.INFO: Processing buffer {"connection_id":163557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047fc7ec8012d181f400721b180004d00d727..."} 
[2026-08-28 16:22:17] local.INFO: Packet analysis {"connection_id":163557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047fc"} 
[2026-08-28 16:22:17] local.INFO: Extracted packet for processing {"connection_id":163557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047fc"} 
[2026-08-28 16:22:17] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648640,"longitude_deg":75.6555584,"latitude_deg":11.964864,"altitude":77,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b180","is_valid_coordinates":true} 
[2026-08-28 16: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-28 16:22:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706010624001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:22:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15939675902443520,"note":"Value kept but may cause issues"} 
[2026-08-28 16:22:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562530304,"note":"Value kept but may cause issues"} 
[2026-08-28 16:22:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:22:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787914125000,"timestamp_ms":1787914125000,"timestamp_seconds":1787914125,"priority":1,"record_length":96,"hex_timestamp":"000001a047fc7ec8"} 
[2026-08-28 16: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-28 16:22:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 16:22: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-28 16: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-28 16: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-28 16:22:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:22:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:22:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:22:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:22:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:22:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:22:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:22:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706010624001,"66":12461,"120":206,"28":31744,"24":0,"16":15939675902443520,"45":1738178380562530304},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 16:22:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:22:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:22:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706010624001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:22:17] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 16:22:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 16:22:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15939675902443520,"km_value":15939675902443.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:22:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562530304,"description":"Unknown IO ID 45"} 
[2026-08-28 16:22:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706010624001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562530304}} 
[2026-08-28 16:22:17] 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":708633,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:22:17] local.INFO: GPS data processed {"connection_id":163557,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:22:17] local.INFO: Acknowledgment sent {"connection_id":163557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:22:30] local.INFO: TCP Data received {"connection_id":166188,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:22:30] local.INFO: Processing buffer {"connection_id":166188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:22:30] local.INFO: IMEI packet received {"connection_id":166188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 16:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":166188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:22:35] local.INFO: TCP Data received {"connection_id":163832,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047fc8a80012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047fc8a80012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:22:35] local.INFO: Processing buffer {"connection_id":163832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047fc8a80012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:22:35] local.INFO: Packet analysis {"connection_id":163832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047fc"} 
[2026-08-28 16:22:35] local.INFO: Extracted packet for processing {"connection_id":163832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047fc"} 
[2026-08-28 16:22:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705939712001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:22:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:22:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:22:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:22:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787914128000,"timestamp_ms":1787914128000,"timestamp_seconds":1787914128,"priority":1,"record_length":96,"hex_timestamp":"000001a047fc8a80"} 
[2026-08-28 16:22:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:22:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-28 16:22:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:22:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:22:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:22:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:22:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:22:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163832,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:22:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163832,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:22:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:22:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:22:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:22:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705939712001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:22:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:22:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:22:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705939712001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:22:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:22:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:22:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:22:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:22:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705939712001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:22:35] local.INFO: DEBUG: GPS processor result {"connection_id":163832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708634,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:22:35] local.INFO: GPS data processed {"connection_id":163832,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:22:35] local.INFO: Acknowledgment sent {"connection_id":163832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:22:36] local.INFO: TCP Data received {"connection_id":166188,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:22:36] local.INFO: Processing buffer {"connection_id":166188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:22:36] local.INFO: IMEI packet received {"connection_id":166188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 16:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":166188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:22:37] local.INFO: TCP Data received {"connection_id":166188,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047fe99d8012d34c14006aa4840000900e629..."} 
[2026-08-28 16:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047fe99d8012d34c14006aa4840000900e629..."} 
[2026-08-28 16:22:37] local.INFO: Processing buffer {"connection_id":166188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047fe99d8012d34c14006aa4840000900e629..."} 
[2026-08-28 16:22:37] local.INFO: Packet analysis {"connection_id":166188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047fe"} 
[2026-08-28 16:22:37] local.INFO: Extracted packet for processing {"connection_id":166188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047fe"} 
[2026-08-28 16:22:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705974272001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787914263000,"timestamp_ms":1787914263000,"timestamp_seconds":1787914263,"priority":1,"record_length":96,"hex_timestamp":"000001a047fe99d8"} 
[2026-08-28 16:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 16:22:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:22:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":166188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":166188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":166188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705974272001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705974272001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:22:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:22:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:22: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-28 16:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705974272001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":166188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:22:38] local.INFO: GPS data processed {"connection_id":166188,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:22:38] local.INFO: Acknowledgment sent {"connection_id":166188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:22:49] local.INFO: TCP Data received {"connection_id":163557,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047fcd0d0012d181f400721b180004d00d729..."} 
[2026-08-28 16:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047fcd0d0012d181f400721b180004d00d729..."} 
[2026-08-28 16:22:49] local.INFO: Processing buffer {"connection_id":163557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047fcd0d0012d181f400721b180004d00d729..."} 
[2026-08-28 16:22:49] local.INFO: Packet analysis {"connection_id":163557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047fc"} 
[2026-08-28 16:22:49] local.INFO: Extracted packet for processing {"connection_id":163557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047fc"} 
[2026-08-28 16:22:49] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648640,"longitude_deg":75.6555584,"latitude_deg":11.964864,"altitude":77,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b180","is_valid_coordinates":true} 
[2026-08-28 16:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:22:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706016000001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:22:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15939675902443520,"note":"Value kept but may cause issues"} 
[2026-08-28 16:22:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562530304,"note":"Value kept but may cause issues"} 
[2026-08-28 16:22:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:22:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787914146000,"timestamp_ms":1787914146000,"timestamp_seconds":1787914146,"priority":1,"record_length":96,"hex_timestamp":"000001a047fcd0d0"} 
[2026-08-28 16:22:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:22:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 16:22:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:22:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:22:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:22:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:22:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:22:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:22:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:22:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:22:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:22:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:22:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706016000001,"66":12461,"120":206,"28":31744,"24":0,"16":15939675902443520,"45":1738178380562530304},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 16:22:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:22:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:22:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706016000001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:22:49] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 16:22:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 16:22:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15939675902443520,"km_value":15939675902443.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:22:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562530304,"description":"Unknown IO ID 45"} 
[2026-08-28 16:22:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706016000001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562530304}} 
[2026-08-28 16:22:49] 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":708636,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:22:49] local.INFO: GPS data processed {"connection_id":163557,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:22:49] local.INFO: Acknowledgment sent {"connection_id":163557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:22:56] local.INFO: TCP Data received {"connection_id":164822,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164822,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:22:56] local.INFO: Processing buffer {"connection_id":164822,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:22:56] local.INFO: IMEI packet received {"connection_id":164822,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 16:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":164822,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:23:02] local.INFO: TCP Data received {"connection_id":164822,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164822,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:23:02] local.INFO: Processing buffer {"connection_id":164822,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:23:02] local.INFO: IMEI packet received {"connection_id":164822,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 16:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":164822,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:23:03] local.INFO: TCP Data received {"connection_id":164822,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047fc8a80012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047fc8a80012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:23:03] local.INFO: Processing buffer {"connection_id":164822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047fc8a80012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:23:03] local.INFO: Packet analysis {"connection_id":164822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047fc"} 
[2026-08-28 16:23:03] local.INFO: Extracted packet for processing {"connection_id":164822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047fc"} 
[2026-08-28 16:23:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705939712001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787914128000,"timestamp_ms":1787914128000,"timestamp_seconds":1787914128,"priority":1,"record_length":96,"hex_timestamp":"000001a047fc8a80"} 
[2026-08-28 16:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:23:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-28 16:23:03] 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-28 16:23:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":164822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":164822,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":164822,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705939712001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705939712001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:23:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:23:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705939712001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:23:03] 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":708637,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:23:03] local.INFO: GPS data processed {"connection_id":164822,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:23:03] local.INFO: Acknowledgment sent {"connection_id":164822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:23:10] local.INFO: TCP Data received {"connection_id":166188,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047fe99d8012d34c14006aa4840000900e629..."} 
[2026-08-28 16:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047fe99d8012d34c14006aa4840000900e629..."} 
[2026-08-28 16:23:10] local.INFO: Processing buffer {"connection_id":166188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047fe99d8012d34c14006aa4840000900e629..."} 
[2026-08-28 16:23:10] local.INFO: Packet analysis {"connection_id":166188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047fe"} 
[2026-08-28 16:23:10] local.INFO: Extracted packet for processing {"connection_id":166188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047fe"} 
[2026-08-28 16:23:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705974272001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:23:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:23:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787914263000,"timestamp_ms":1787914263000,"timestamp_seconds":1787914263,"priority":1,"record_length":96,"hex_timestamp":"000001a047fe99d8"} 
[2026-08-28 16:23:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:23:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 16:23:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:23:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:23:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":166188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":166188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":166188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:23:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705974272001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705974272001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:23:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:23:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:23:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705974272001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:23:10] local.INFO: DEBUG: GPS processor result {"connection_id":166188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:23:10] local.INFO: GPS data processed {"connection_id":166188,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:23:10] local.INFO: Acknowledgment sent {"connection_id":166188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:23:10] local.INFO: TCP Data received {"connection_id":166189,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166189,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:23:10] local.INFO: Processing buffer {"connection_id":166189,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:23:10] local.INFO: IMEI packet received {"connection_id":166189,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 16:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":166189,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:23:14] local.INFO: TCP Data received {"connection_id":166189,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166189,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:23:14] local.INFO: Processing buffer {"connection_id":166189,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:23:14] local.INFO: IMEI packet received {"connection_id":166189,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 16:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":166189,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:23:15] local.INFO: TCP Data received {"connection_id":166189,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166189,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:23:15] local.INFO: Processing buffer {"connection_id":166189,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:23:15] local.INFO: IMEI packet received {"connection_id":166189,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 16:23:15] local.INFO: IMEI acknowledgment sent {"connection_id":166189,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:23:16] local.INFO: TCP Data received {"connection_id":166189,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047fd22d8012d181f400721b180004d00d727..."} 
[2026-08-28 16:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047fd22d8012d181f400721b180004d00d727..."} 
[2026-08-28 16:23:16] local.INFO: Processing buffer {"connection_id":166189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047fd22d8012d181f400721b180004d00d727..."} 
[2026-08-28 16:23:16] local.INFO: Packet analysis {"connection_id":166189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047fd"} 
[2026-08-28 16:23:16] local.INFO: Extracted packet for processing {"connection_id":166189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047fd"} 
[2026-08-28 16:23:16] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648640,"longitude_deg":75.6555584,"latitude_deg":11.964864,"altitude":77,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b180","is_valid_coordinates":true} 
[2026-08-28 16:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:23:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706021376001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:23:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15939675902443520,"note":"Value kept but may cause issues"} 
[2026-08-28 16:23:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562530304,"note":"Value kept but may cause issues"} 
[2026-08-28 16:23:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:23:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787914167000,"timestamp_ms":1787914167000,"timestamp_seconds":1787914167,"priority":1,"record_length":96,"hex_timestamp":"000001a047fd22d8"} 
[2026-08-28 16:23:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:23:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 16:23:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:23:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:23:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:23:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:23:16] local.INFO: Teltonika packet parsed successfully {"connection_id":166189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:23:16] local.INFO: Passing IMEI to GPS processor {"connection_id":166189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:23:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":166189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:23:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:23:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:23:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:23:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706021376001,"66":12461,"120":206,"28":31744,"24":0,"16":15939675902443520,"45":1738178380562530304},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 16:23:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:23:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:23:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706021376001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:23:16] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 16:23:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 16:23:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15939675902443520,"km_value":15939675902443.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:23:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562530304,"description":"Unknown IO ID 45"} 
[2026-08-28 16:23:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706021376001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562530304}} 
[2026-08-28 16:23:17] local.INFO: DEBUG: GPS processor result {"connection_id":166189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708639,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:23:17] local.INFO: GPS data processed {"connection_id":166189,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:23:17] local.INFO: Acknowledgment sent {"connection_id":166189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:23:21] local.INFO: TCP Data received {"connection_id":166189,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047fd74e0012d181f400721b180004d00d727..."} 
[2026-08-28 16:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047fd74e0012d181f400721b180004d00d727..."} 
[2026-08-28 16:23:21] local.INFO: Processing buffer {"connection_id":166189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047fd74e0012d181f400721b180004d00d727..."} 
[2026-08-28 16:23:21] local.INFO: Packet analysis {"connection_id":166189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047fd"} 
[2026-08-28 16:23:21] local.INFO: Extracted packet for processing {"connection_id":166189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047fd"} 
[2026-08-28 16:23:21] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648640,"longitude_deg":75.6555584,"latitude_deg":11.964864,"altitude":77,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b180","is_valid_coordinates":true} 
[2026-08-28 16:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:23:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706026752001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:23:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15939675902443520,"note":"Value kept but may cause issues"} 
[2026-08-28 16:23:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562530304,"note":"Value kept but may cause issues"} 
[2026-08-28 16:23:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:23:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787914188000,"timestamp_ms":1787914188000,"timestamp_seconds":1787914188,"priority":1,"record_length":96,"hex_timestamp":"000001a047fd74e0"} 
[2026-08-28 16:23:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:23:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 16:23:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:23:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:23:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:23:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:23:21] local.INFO: Teltonika packet parsed successfully {"connection_id":166189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:23:21] local.INFO: Passing IMEI to GPS processor {"connection_id":166189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:23:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":166189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:23:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:23:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:23:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:23:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706026752001,"66":12461,"120":206,"28":31744,"24":0,"16":15939675902443520,"45":1738178380562530304},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 16:23:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:23:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:23:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706026752001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:23:21] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 16:23:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 16:23:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15939675902443520,"km_value":15939675902443.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:23:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562530304,"description":"Unknown IO ID 45"} 
[2026-08-28 16:23:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706026752001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562530304}} 
[2026-08-28 16:23:22] local.INFO: DEBUG: GPS processor result {"connection_id":166189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708640,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:23:22] local.INFO: GPS data processed {"connection_id":166189,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:23:22] local.INFO: Acknowledgment sent {"connection_id":166189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:23:36] local.INFO: TCP Data received {"connection_id":164822,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047fc8a80012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047fc8a80012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:23:36] local.INFO: Processing buffer {"connection_id":164822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047fc8a80012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:23:36] local.INFO: Packet analysis {"connection_id":164822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047fc"} 
[2026-08-28 16:23:36] local.INFO: Extracted packet for processing {"connection_id":164822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047fc"} 
[2026-08-28 16:23:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705939712001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787914128000,"timestamp_ms":1787914128000,"timestamp_seconds":1787914128,"priority":1,"record_length":96,"hex_timestamp":"000001a047fc8a80"} 
[2026-08-28 16:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-28 16:23:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:23:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":164822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":164822,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":164822,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:23:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705939712001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705939712001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:23:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:23:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705939712001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:23:36] 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":708641,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:23:36] local.INFO: GPS data processed {"connection_id":164822,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:23:36] local.INFO: Acknowledgment sent {"connection_id":164822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:23:37] local.INFO: TCP Data received {"connection_id":166190,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:23:37] local.INFO: Processing buffer {"connection_id":166190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:23:37] local.INFO: IMEI packet received {"connection_id":166190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 16:23:37] local.INFO: IMEI acknowledgment sent {"connection_id":166190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:23:40] local.INFO: TCP Data received {"connection_id":166190,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:23:40] local.INFO: Processing buffer {"connection_id":166190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:23:40] local.INFO: IMEI packet received {"connection_id":166190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 16:23:40] local.INFO: IMEI acknowledgment sent {"connection_id":166190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:23:41] local.INFO: TCP Data received {"connection_id":166190,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047fe99d8012d34c14006aa4840000900e629..."} 
[2026-08-28 16:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047fe99d8012d34c14006aa4840000900e629..."} 
[2026-08-28 16:23:41] local.INFO: Processing buffer {"connection_id":166190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047fe99d8012d34c14006aa4840000900e629..."} 
[2026-08-28 16:23:41] local.INFO: Packet analysis {"connection_id":166190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047fe"} 
[2026-08-28 16:23:41] local.INFO: Extracted packet for processing {"connection_id":166190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047fe"} 
[2026-08-28 16:23:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:23:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705974272001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:23:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:23:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:23:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787914263000,"timestamp_ms":1787914263000,"timestamp_seconds":1787914263,"priority":1,"record_length":96,"hex_timestamp":"000001a047fe99d8"} 
[2026-08-28 16:23:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:23: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-28 16:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 16:23:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:23:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:23:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:23:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":166190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":166190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":166190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:23:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:23:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705974272001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705974272001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:23:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:23:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:23: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-28 16:23:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705974272001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":166190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:23:41] local.INFO: GPS data processed {"connection_id":166190,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:23:41] local.INFO: Acknowledgment sent {"connection_id":166190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:23:46] local.INFO: TCP Data received {"connection_id":166190,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047fe99d8012d34c14006aa4840000900e629..."} 
[2026-08-28 16:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047fe99d8012d34c14006aa4840000900e629..."} 
[2026-08-28 16:23:46] local.INFO: Processing buffer {"connection_id":166190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047fe99d8012d34c14006aa4840000900e629..."} 
[2026-08-28 16:23:46] local.INFO: Packet analysis {"connection_id":166190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047fe"} 
[2026-08-28 16:23:46] local.INFO: Extracted packet for processing {"connection_id":166190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047fe"} 
[2026-08-28 16:23:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705974272001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:23:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:23:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787914263000,"timestamp_ms":1787914263000,"timestamp_seconds":1787914263,"priority":1,"record_length":96,"hex_timestamp":"000001a047fe99d8"} 
[2026-08-28 16:23:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:23: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-28 16:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 16:23:46] 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-28 16:23:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:23:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":166190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":166190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":166190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:23:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:23:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705974272001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:23:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:23:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:23:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705974272001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:23:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:23:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16: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-28 16:23:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:23:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705974272001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:23:46] local.INFO: DEBUG: GPS processor result {"connection_id":166190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:23:46] local.INFO: GPS data processed {"connection_id":166190,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:23:46] local.INFO: Acknowledgment sent {"connection_id":166190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:23:53] local.INFO: TCP Data received {"connection_id":166189,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047fdc6e8012d181f400721b180004d00d727..."} 
[2026-08-28 16:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047fdc6e8012d181f400721b180004d00d727..."} 
[2026-08-28 16:23:53] local.INFO: Processing buffer {"connection_id":166189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047fdc6e8012d181f400721b180004d00d727..."} 
[2026-08-28 16:23:53] local.INFO: Packet analysis {"connection_id":166189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047fd"} 
[2026-08-28 16:23:53] local.INFO: Extracted packet for processing {"connection_id":166189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047fd"} 
[2026-08-28 16:23:53] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648640,"longitude_deg":75.6555584,"latitude_deg":11.964864,"altitude":77,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b180","is_valid_coordinates":true} 
[2026-08-28 16: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-28 16:23:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706032128001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:23:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15939675902443520,"note":"Value kept but may cause issues"} 
[2026-08-28 16:23:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562530304,"note":"Value kept but may cause issues"} 
[2026-08-28 16:23:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:23:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787914209000,"timestamp_ms":1787914209000,"timestamp_seconds":1787914209,"priority":1,"record_length":96,"hex_timestamp":"000001a047fdc6e8"} 
[2026-08-28 16: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-28 16:23:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 16:23:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16: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-28 16: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-28 16:23:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:23:53] local.INFO: Teltonika packet parsed successfully {"connection_id":166189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:23:53] local.INFO: Passing IMEI to GPS processor {"connection_id":166189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:23:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":166189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:23:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:23:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:23:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:23:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706032128001,"66":11906,"120":206,"28":31744,"24":0,"16":15939675902443520,"45":1738178380562530304},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 16:23:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:23:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:23:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706032128001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:23:53] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 16:23:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 16:23:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15939675902443520,"km_value":15939675902443.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:23:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562530304,"description":"Unknown IO ID 45"} 
[2026-08-28 16:23:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706032128001,"power":11906,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562530304}} 
[2026-08-28 16:23:53] local.INFO: DEBUG: GPS processor result {"connection_id":166189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708644,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:23:53] local.INFO: GPS data processed {"connection_id":166189,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:23:53] local.INFO: Acknowledgment sent {"connection_id":166189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:23:56] local.INFO: TCP Data received {"connection_id":163833,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163833,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:23:56] local.INFO: Processing buffer {"connection_id":163833,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:23:56] local.INFO: IMEI packet received {"connection_id":163833,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 16:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":163833,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:24:01] local.INFO: TCP Data received {"connection_id":163833,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163833,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:24:01] local.INFO: Processing buffer {"connection_id":163833,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:24:01] local.INFO: IMEI packet received {"connection_id":163833,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 16:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":163833,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:24:03] local.INFO: TCP Data received {"connection_id":163833,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a047fc8a80012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047fc8a80012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:24:03] local.INFO: Processing buffer {"connection_id":163833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047fc8a80012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:24:03] local.INFO: Packet analysis {"connection_id":163833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047fc"} 
[2026-08-28 16:24:03] local.INFO: Extracted packet for processing {"connection_id":163833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047fc"} 
[2026-08-28 16:24:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705939712001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:24:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787914128000,"timestamp_ms":1787914128000,"timestamp_seconds":1787914128,"priority":1,"record_length":96,"hex_timestamp":"000001a047fc8a80"} 
[2026-08-28 16:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:24:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-28 16:24:03] 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-28 16:24:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163833,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163833,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705939712001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705939712001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:24:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:24:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705939712001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":163833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708645,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:24:03] local.INFO: GPS data processed {"connection_id":163833,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:24:03] local.INFO: Acknowledgment sent {"connection_id":163833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:24:10] local.INFO: TCP Data received {"connection_id":164823,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164823,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:24:10] local.INFO: Processing buffer {"connection_id":164823,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:24:10] local.INFO: IMEI packet received {"connection_id":164823,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 16:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":164823,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:24:16] local.INFO: TCP Data received {"connection_id":164823,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164823,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:24:16] local.INFO: Processing buffer {"connection_id":164823,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:24:16] local.INFO: IMEI packet received {"connection_id":164823,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 16:24:16] local.INFO: IMEI acknowledgment sent {"connection_id":164823,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:24:17] local.INFO: TCP Data received {"connection_id":164823,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047fe18f0012d181f400721b180004d00d728..."} 
[2026-08-28 16:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047fe18f0012d181f400721b180004d00d728..."} 
[2026-08-28 16:24:17] local.INFO: Processing buffer {"connection_id":164823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047fe18f0012d181f400721b180004d00d728..."} 
[2026-08-28 16:24:17] local.INFO: Packet analysis {"connection_id":164823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047fe"} 
[2026-08-28 16:24:17] local.INFO: Extracted packet for processing {"connection_id":164823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047fe"} 
[2026-08-28 16:24:17] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648640,"longitude_deg":75.6555584,"latitude_deg":11.964864,"altitude":77,"angle":215,"satellites":40,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b180","is_valid_coordinates":true} 
[2026-08-28 16:24:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:24:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706037504001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:24:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15939675902443520,"note":"Value kept but may cause issues"} 
[2026-08-28 16:24:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562530304,"note":"Value kept but may cause issues"} 
[2026-08-28 16:24:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:24:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787914230000,"timestamp_ms":1787914230000,"timestamp_seconds":1787914230,"priority":1,"record_length":96,"hex_timestamp":"000001a047fe18f0"} 
[2026-08-28 16:24:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:24:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:24:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-08-28 16:24:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1598,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:24:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:24:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:24:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:24:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:24:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:24:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:24:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:24:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:24:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:24:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706037504001,"66":12428,"120":206,"28":31744,"24":0,"16":15939675902443520,"45":1738178380562530304},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 16:24:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:24:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:24:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706037504001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:24:17] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 16:24:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 16:24:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15939675902443520,"km_value":15939675902443.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:24:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562530304,"description":"Unknown IO ID 45"} 
[2026-08-28 16:24:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706037504001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562530304}} 
[2026-08-28 16:24:17] 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":708646,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:24:17] local.INFO: GPS data processed {"connection_id":164823,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:24:17] local.INFO: Acknowledgment sent {"connection_id":164823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:24:31] local.INFO: TCP Data received {"connection_id":163834,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:24:31] local.INFO: Processing buffer {"connection_id":163834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:24:31] local.INFO: IMEI packet received {"connection_id":163834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 16:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":163834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:24:35] local.INFO: TCP Data received {"connection_id":163833,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048012248012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048012248012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:24:35] local.INFO: Processing buffer {"connection_id":163833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048012248012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:24:35] local.INFO: Packet analysis {"connection_id":163833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04801"} 
[2026-08-28 16:24:35] local.INFO: Extracted packet for processing {"connection_id":163833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04801"} 
[2026-08-28 16:24:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706016768001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:24:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:24:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787914429000,"timestamp_ms":1787914429000,"timestamp_seconds":1787914429,"priority":1,"record_length":96,"hex_timestamp":"000001a048012248"} 
[2026-08-28 16:24:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:24:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 16:24:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:24:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:24:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163833,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163833,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:24:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706016768001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706016768001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:24:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:24:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:24:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706016768001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":163833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708647,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:24:35] local.INFO: GPS data processed {"connection_id":163833,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:24:35] local.INFO: Acknowledgment sent {"connection_id":163833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:24:35] local.INFO: TCP Data received {"connection_id":163834,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:24:35] local.INFO: Processing buffer {"connection_id":163834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:24:35] local.INFO: IMEI packet received {"connection_id":163834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 16:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":163834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:24:37] local.INFO: TCP Data received {"connection_id":163834,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047fe99d8012d34c14006aa4840000900e629..."} 
[2026-08-28 16:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047fe99d8012d34c14006aa4840000900e629..."} 
[2026-08-28 16:24:37] local.INFO: Processing buffer {"connection_id":163834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047fe99d8012d34c14006aa4840000900e629..."} 
[2026-08-28 16:24:37] local.INFO: Packet analysis {"connection_id":163834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047fe"} 
[2026-08-28 16:24:37] local.INFO: Extracted packet for processing {"connection_id":163834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047fe"} 
[2026-08-28 16:24:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705974272001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787914263000,"timestamp_ms":1787914263000,"timestamp_seconds":1787914263,"priority":1,"record_length":96,"hex_timestamp":"000001a047fe99d8"} 
[2026-08-28 16:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 16:24:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705974272001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705974272001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:24:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:24:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:24: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-28 16:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705974272001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":163834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:24:37] local.INFO: GPS data processed {"connection_id":163834,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:24:37] local.INFO: Acknowledgment sent {"connection_id":163834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:24:49] local.INFO: TCP Data received {"connection_id":164823,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047fe6af8012d181f400721b180004d00d728..."} 
[2026-08-28 16:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047fe6af8012d181f400721b180004d00d728..."} 
[2026-08-28 16:24:49] local.INFO: Processing buffer {"connection_id":164823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047fe6af8012d181f400721b180004d00d728..."} 
[2026-08-28 16:24:49] local.INFO: Packet analysis {"connection_id":164823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047fe"} 
[2026-08-28 16:24:49] local.INFO: Extracted packet for processing {"connection_id":164823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047fe"} 
[2026-08-28 16:24:49] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648640,"longitude_deg":75.6555584,"latitude_deg":11.964864,"altitude":77,"angle":215,"satellites":40,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b180","is_valid_coordinates":true} 
[2026-08-28 16:24:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:24:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706042880001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:24:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15939675902443520,"note":"Value kept but may cause issues"} 
[2026-08-28 16:24:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562530304,"note":"Value kept but may cause issues"} 
[2026-08-28 16:24:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:24:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787914251000,"timestamp_ms":1787914251000,"timestamp_seconds":1787914251,"priority":1,"record_length":96,"hex_timestamp":"000001a047fe6af8"} 
[2026-08-28 16:24:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:24:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:24:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-28 16:24:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:24:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:24:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:24:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:24:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:24:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:24:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:24:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:24:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:24:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:24:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706042880001,"66":12461,"120":206,"28":31744,"24":0,"16":15939675902443520,"45":1738178380562530304},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 16:24:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:24:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:24:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706042880001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:24:49] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 16:24:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 16:24:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15939675902443520,"km_value":15939675902443.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:24:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562530304,"description":"Unknown IO ID 45"} 
[2026-08-28 16:24:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706042880001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562530304}} 
[2026-08-28 16:24:49] 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":708649,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:24:49] local.INFO: GPS data processed {"connection_id":164823,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:24:49] local.INFO: Acknowledgment sent {"connection_id":164823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:25:01] local.INFO: TCP Data received {"connection_id":163558,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163558,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:25:01] local.INFO: Processing buffer {"connection_id":163558,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:25:01] local.INFO: IMEI packet received {"connection_id":163558,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 16:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":163558,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:25:06] local.INFO: TCP Data received {"connection_id":163558,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163558,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:25:06] local.INFO: Processing buffer {"connection_id":163558,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:25:06] local.INFO: IMEI packet received {"connection_id":163558,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 16:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":163558,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:25:09] local.INFO: TCP Data received {"connection_id":163558,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048012248012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048012248012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:25:09] local.INFO: Processing buffer {"connection_id":163558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048012248012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:25:09] local.INFO: Packet analysis {"connection_id":163558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04801"} 
[2026-08-28 16:25:09] local.INFO: Extracted packet for processing {"connection_id":163558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04801"} 
[2026-08-28 16:25:09] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:25:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706016768001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:25:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:25:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:25:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:25:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787914429000,"timestamp_ms":1787914429000,"timestamp_seconds":1787914429,"priority":1,"record_length":96,"hex_timestamp":"000001a048012248"} 
[2026-08-28 16:25:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:25:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 16:25:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:25:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:25:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:25:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163558,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163558,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:25:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:25:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:25:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:25:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706016768001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:25:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:25:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:25:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706016768001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:25:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:25:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:25:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:25:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:25:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706016768001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:25:09] 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":708650,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:25:09] local.INFO: GPS data processed {"connection_id":163558,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:25:09] local.INFO: Acknowledgment sent {"connection_id":163558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:25:09] local.INFO: TCP Data received {"connection_id":163834,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047fe99d8012d34c14006aa4840000900e629..."} 
[2026-08-28 16:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047fe99d8012d34c14006aa4840000900e629..."} 
[2026-08-28 16:25:09] local.INFO: Processing buffer {"connection_id":163834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047fe99d8012d34c14006aa4840000900e629..."} 
[2026-08-28 16:25:09] local.INFO: Packet analysis {"connection_id":163834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047fe"} 
[2026-08-28 16:25:09] local.INFO: Extracted packet for processing {"connection_id":163834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047fe"} 
[2026-08-28 16:25:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:25:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705974272001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:25:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:25:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:25:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:25:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787914263000,"timestamp_ms":1787914263000,"timestamp_seconds":1787914263,"priority":1,"record_length":96,"hex_timestamp":"000001a047fe99d8"} 
[2026-08-28 16:25:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:25: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-28 16:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 16:25:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:25:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:25:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:25:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:25:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:25:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:25:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:25:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705974272001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:25:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:25:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:25:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705974272001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:25:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:25:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:25: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-28 16:25:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:25:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705974272001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:25:09] local.INFO: DEBUG: GPS processor result {"connection_id":163834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:25:09] local.INFO: GPS data processed {"connection_id":163834,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:25:09] local.INFO: Acknowledgment sent {"connection_id":163834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:25:13] local.INFO: TCP Data received {"connection_id":163558,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048012248012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048012248012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:25:13] local.INFO: Processing buffer {"connection_id":163558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048012248012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:25:13] local.INFO: Packet analysis {"connection_id":163558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04801"} 
[2026-08-28 16:25:13] local.INFO: Extracted packet for processing {"connection_id":163558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04801"} 
[2026-08-28 16:25:13] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:25:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:25:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706016768001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:25:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:25:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:25:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:25:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787914429000,"timestamp_ms":1787914429000,"timestamp_seconds":1787914429,"priority":1,"record_length":96,"hex_timestamp":"000001a048012248"} 
[2026-08-28 16:25:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:25:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:25:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 16:25: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-28 16:25:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:25:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:25:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:25:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:25:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163558,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:25:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163558,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:25:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:25:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:25:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:25:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706016768001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:25:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:25:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:25:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706016768001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:25:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:25:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:25:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:25:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:25:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706016768001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:25:13] 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":708652,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:25:13] local.INFO: GPS data processed {"connection_id":163558,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:25:13] local.INFO: Acknowledgment sent {"connection_id":163558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:25:16] local.INFO: TCP Data received {"connection_id":164824,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164824,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:25:16] local.INFO: Processing buffer {"connection_id":164824,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:25:16] local.INFO: IMEI packet received {"connection_id":164824,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 16:25:16] local.INFO: IMEI acknowledgment sent {"connection_id":164824,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:25:21] local.INFO: TCP Data received {"connection_id":164824,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164824,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:25:21] local.INFO: Processing buffer {"connection_id":164824,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:25:21] local.INFO: IMEI packet received {"connection_id":164824,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 16:25:21] local.INFO: IMEI acknowledgment sent {"connection_id":164824,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:25:22] local.INFO: TCP Data received {"connection_id":164824,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047febd00012d181f400721b180004d00d727..."} 
[2026-08-28 16:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047febd00012d181f400721b180004d00d727..."} 
[2026-08-28 16:25:22] local.INFO: Processing buffer {"connection_id":164824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047febd00012d181f400721b180004d00d727..."} 
[2026-08-28 16:25:22] local.INFO: Packet analysis {"connection_id":164824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047fe"} 
[2026-08-28 16:25:22] local.INFO: Extracted packet for processing {"connection_id":164824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047fe"} 
[2026-08-28 16:25:22] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648640,"longitude_deg":75.6555584,"latitude_deg":11.964864,"altitude":77,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b180","is_valid_coordinates":true} 
[2026-08-28 16:25:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:25:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706048256001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:25:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15939675902443520,"note":"Value kept but may cause issues"} 
[2026-08-28 16:25:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562530304,"note":"Value kept but may cause issues"} 
[2026-08-28 16:25:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:25:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787914272000,"timestamp_ms":1787914272000,"timestamp_seconds":1787914272,"priority":1,"record_length":96,"hex_timestamp":"000001a047febd00"} 
[2026-08-28 16:25:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:25:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:25:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 16:25:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:25:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:25:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:25:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:25:22] local.INFO: Teltonika packet parsed successfully {"connection_id":164824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:25:22] local.INFO: Passing IMEI to GPS processor {"connection_id":164824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:25:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":164824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:25:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:25:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:25:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:25:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706048256001,"66":12439,"120":206,"28":31744,"24":0,"16":15939675902443520,"45":1738178380562530304},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 16:25:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:25:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:25:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706048256001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:25:22] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 16:25:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 16:25:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15939675902443520,"km_value":15939675902443.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:25:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562530304,"description":"Unknown IO ID 45"} 
[2026-08-28 16:25:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706048256001,"power":12439,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562530304}} 
[2026-08-28 16:25:22] 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":708653,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:25:22] local.INFO: GPS data processed {"connection_id":164824,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:25:22] local.INFO: Acknowledgment sent {"connection_id":164824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:25:27] local.INFO: TCP Data received {"connection_id":164824,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a047ff0f08012d181f400721b180004d00d727..."} 
[2026-08-28 16:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047ff0f08012d181f400721b180004d00d727..."} 
[2026-08-28 16:25:27] local.INFO: Processing buffer {"connection_id":164824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047ff0f08012d181f400721b180004d00d727..."} 
[2026-08-28 16:25:27] local.INFO: Packet analysis {"connection_id":164824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047ff"} 
[2026-08-28 16:25:27] local.INFO: Extracted packet for processing {"connection_id":164824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047ff"} 
[2026-08-28 16:25:27] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648640,"longitude_deg":75.6555584,"latitude_deg":11.964864,"altitude":77,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b180","is_valid_coordinates":true} 
[2026-08-28 16:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:25:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706053632001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:25:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15939675902443520,"note":"Value kept but may cause issues"} 
[2026-08-28 16:25:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562530304,"note":"Value kept but may cause issues"} 
[2026-08-28 16:25:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:25:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787914293000,"timestamp_ms":1787914293000,"timestamp_seconds":1787914293,"priority":1,"record_length":96,"hex_timestamp":"000001a047ff0f08"} 
[2026-08-28 16:25:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:25:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 16:25:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:25:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:25:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:25:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:25:27] local.INFO: Teltonika packet parsed successfully {"connection_id":164824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:25:27] local.INFO: Passing IMEI to GPS processor {"connection_id":164824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:25:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":164824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:25:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:25:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:25:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:25:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706053632001,"66":12461,"120":206,"28":31744,"24":0,"16":15939675902443520,"45":1738178380562530304},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 16:25:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:25:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:25:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706053632001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:25:27] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 16:25:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 16:25:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15939675902443520,"km_value":15939675902443.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:25:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562530304,"description":"Unknown IO ID 45"} 
[2026-08-28 16:25:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706053632001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738178380562530304}} 
[2026-08-28 16:25:27] 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":708654,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:25:27] local.INFO: GPS data processed {"connection_id":164824,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:25:27] local.INFO: Acknowledgment sent {"connection_id":164824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:25:30] local.INFO: TCP Data received {"connection_id":163559,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:25:30] local.INFO: Processing buffer {"connection_id":163559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:25:30] local.INFO: IMEI packet received {"connection_id":163559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 16:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":163559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:25:36] local.INFO: TCP Data received {"connection_id":163559,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:25:36] local.INFO: Processing buffer {"connection_id":163559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:25:36] local.INFO: IMEI packet received {"connection_id":163559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 16:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":163559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:25:38] local.INFO: TCP Data received {"connection_id":163559,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047fe99d8012d34c14006aa4840000900e629..."} 
[2026-08-28 16:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047fe99d8012d34c14006aa4840000900e629..."} 
[2026-08-28 16:25:38] local.INFO: Processing buffer {"connection_id":163559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047fe99d8012d34c14006aa4840000900e629..."} 
[2026-08-28 16:25:38] local.INFO: Packet analysis {"connection_id":163559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047fe"} 
[2026-08-28 16:25:38] local.INFO: Extracted packet for processing {"connection_id":163559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047fe"} 
[2026-08-28 16:25:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705974272001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:25:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787914263000,"timestamp_ms":1787914263000,"timestamp_seconds":1787914263,"priority":1,"record_length":96,"hex_timestamp":"000001a047fe99d8"} 
[2026-08-28 16:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:25: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-28 16:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 16:25: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-28 16:25:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:25:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705974272001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705974272001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:25:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:25:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:25: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-28 16:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705974272001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":163559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:25:38] local.INFO: GPS data processed {"connection_id":163559,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:25:38] local.INFO: Acknowledgment sent {"connection_id":163559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:25:56] local.INFO: TCP Data received {"connection_id":164825,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164825,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:25:56] local.INFO: Processing buffer {"connection_id":164825,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:25:56] local.INFO: IMEI packet received {"connection_id":164825,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 16:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":164825,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:26:02] local.INFO: TCP Data received {"connection_id":164825,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164825,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:26:02] local.INFO: Processing buffer {"connection_id":164825,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:26:02] local.INFO: IMEI packet received {"connection_id":164825,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 16:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":164825,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:26:03] local.INFO: TCP Data received {"connection_id":164825,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048012248012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048012248012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:26:03] local.INFO: Processing buffer {"connection_id":164825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048012248012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:26:03] local.INFO: Packet analysis {"connection_id":164825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04801"} 
[2026-08-28 16:26:03] local.INFO: Extracted packet for processing {"connection_id":164825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04801"} 
[2026-08-28 16:26:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706016768001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:26:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787914429000,"timestamp_ms":1787914429000,"timestamp_seconds":1787914429,"priority":1,"record_length":96,"hex_timestamp":"000001a048012248"} 
[2026-08-28 16:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:26:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 16:26:03] 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-28 16:26:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":164825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":164825,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":164825,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706016768001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706016768001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:26:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:26:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706016768001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":164825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708656,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:26:03] local.INFO: GPS data processed {"connection_id":164825,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:26:03] local.INFO: Acknowledgment sent {"connection_id":164825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:26:11] local.INFO: TCP Data received {"connection_id":163559,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047fe99d8012d34c14006aa4840000900e629..."} 
[2026-08-28 16:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047fe99d8012d34c14006aa4840000900e629..."} 
[2026-08-28 16:26:11] local.INFO: Processing buffer {"connection_id":163559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047fe99d8012d34c14006aa4840000900e629..."} 
[2026-08-28 16:26:11] local.INFO: Packet analysis {"connection_id":163559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047fe"} 
[2026-08-28 16:26:11] local.INFO: Extracted packet for processing {"connection_id":163559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047fe"} 
[2026-08-28 16:26:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705974272001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787914263000,"timestamp_ms":1787914263000,"timestamp_seconds":1787914263,"priority":1,"record_length":96,"hex_timestamp":"000001a047fe99d8"} 
[2026-08-28 16:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:26: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-28 16:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 16:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:26:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":163559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":163559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":163559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705974272001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705974272001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:26:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:26:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:26: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-28 16:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705974272001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":163559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:26:11] local.INFO: GPS data processed {"connection_id":163559,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:26:11] local.INFO: Acknowledgment sent {"connection_id":163559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:26:11] local.INFO: TCP Data received {"connection_id":163835,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:26:11] local.INFO: Processing buffer {"connection_id":163835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:26:11] local.INFO: IMEI packet received {"connection_id":163835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 16:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":163835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:26:12] local.INFO: TCP Data received {"connection_id":163835,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:26:12] local.INFO: Processing buffer {"connection_id":163835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:26:12] local.INFO: IMEI packet received {"connection_id":163835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 16:26:12] local.INFO: IMEI acknowledgment sent {"connection_id":163835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:26:13] local.INFO: TCP Data received {"connection_id":163835,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a048021478012d181d400721aad0004b008d28..."} 
[2026-08-28 16:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048021478012d181d400721aad0004b008d28..."} 
[2026-08-28 16:26:13] local.INFO: Processing buffer {"connection_id":163835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048021478012d181d400721aad0004b008d28..."} 
[2026-08-28 16:26:13] local.INFO: Packet analysis {"connection_id":163835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04802"} 
[2026-08-28 16:26:13] local.INFO: Extracted packet for processing {"connection_id":163835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04802"} 
[2026-08-28 16:26:13] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119646928,"longitude_deg":75.6555072,"latitude_deg":11.9646928,"altitude":75,"angle":141,"satellites":40,"speed":3,"hex_longitude":"2d181d40","hex_latitude":"0721aad0","is_valid_coordinates":true} 
[2026-08-28 16: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-28 16:26:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706109184001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:26:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15939766096756736,"note":"Value kept but may cause issues"} 
[2026-08-28 16:26:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864531968,"note":"Value kept but may cause issues"} 
[2026-08-28 16:26:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:26:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787914491000,"timestamp_ms":1787914491000,"timestamp_seconds":1787914491,"priority":1,"record_length":96,"hex_timestamp":"000001a048021478"} 
[2026-08-28 16: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-28 16:26:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-28 16:26:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16: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-28 16: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-28 16:26:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:26:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:26:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:26:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:26:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:26:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:26:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:26:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706109184001,"66":14070,"120":206,"28":31744,"24":3,"16":15939766096756736,"45":1737545061864531968},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 16:26:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:26:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:26:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706109184001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:26:13] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 16:26:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 16:26:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15939766096756736,"km_value":15939766096756.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:26:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864531968,"description":"Unknown IO ID 45"} 
[2026-08-28 16:26:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706109184001,"power":14070,"unknown_120":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1737545061864531968}} 
[2026-08-28 16:26:13] local.INFO: DEBUG: GPS processor result {"connection_id":163835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708658,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:26:13] local.INFO: GPS data processed {"connection_id":163835,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:26:13] local.INFO: Acknowledgment sent {"connection_id":163835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:26:16] local.INFO: TCP Data received {"connection_id":163835,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a048022be8012d181ec00721a8c8004b009928..."} 
[2026-08-28 16:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048022be8012d181ec00721a8c8004b009928..."} 
[2026-08-28 16:26:16] local.INFO: Processing buffer {"connection_id":163835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048022be8012d181ec00721a8c8004b009928..."} 
[2026-08-28 16:26:16] local.INFO: Packet analysis {"connection_id":163835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04802"} 
[2026-08-28 16:26:16] local.INFO: Extracted packet for processing {"connection_id":163835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04802"} 
[2026-08-28 16:26:16] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119646408,"longitude_deg":75.6555456,"latitude_deg":11.9646408,"altitude":75,"angle":153,"satellites":40,"speed":3,"hex_longitude":"2d181ec0","hex_latitude":"0721a8c8","is_valid_coordinates":true} 
[2026-08-28 16: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-28 16:26:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706109696001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:26:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15939796161527808,"note":"Value kept but may cause issues"} 
[2026-08-28 16:26:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608670720,"note":"Value kept but may cause issues"} 
[2026-08-28 16:26:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:26:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787914497000,"timestamp_ms":1787914497000,"timestamp_seconds":1787914497,"priority":1,"record_length":96,"hex_timestamp":"000001a048022be8"} 
[2026-08-28 16: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-28 16:26:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:26:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-28 16:26:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16: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-28 16: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-28 16:26:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:26:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:26:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:26:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:26:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:26:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:26:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:26:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706109696001,"66":14113,"120":206,"28":31744,"24":3,"16":15939796161527808,"45":1737615430608670720},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 16:26:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:26:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:26:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706109696001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:26:16] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 16:26:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 16:26:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15939796161527808,"km_value":15939796161527.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:26:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608670720,"description":"Unknown IO ID 45"} 
[2026-08-28 16:26:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706109696001,"power":14113,"unknown_120":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1737615430608670720}} 
[2026-08-28 16:26:16] local.INFO: DEBUG: GPS processor result {"connection_id":163835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708659,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:26:16] local.INFO: GPS data processed {"connection_id":163835,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:26:16] local.INFO: Acknowledgment sent {"connection_id":163835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:26:30] local.INFO: TCP Data received {"connection_id":164826,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:26:30] local.INFO: Processing buffer {"connection_id":164826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:26:30] local.INFO: IMEI packet received {"connection_id":164826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 16:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":164826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:26:36] local.INFO: TCP Data received {"connection_id":164826,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:26:36] local.INFO: Processing buffer {"connection_id":164826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:26:36] local.INFO: IMEI packet received {"connection_id":164826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 16:26:36] local.INFO: IMEI acknowledgment sent {"connection_id":164826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:26:36] local.INFO: TCP Data received {"connection_id":164825,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048012248012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048012248012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:26:36] local.INFO: Processing buffer {"connection_id":164825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048012248012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:26:36] local.INFO: Packet analysis {"connection_id":164825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04801"} 
[2026-08-28 16:26:36] local.INFO: Extracted packet for processing {"connection_id":164825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04801"} 
[2026-08-28 16:26:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706016768001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787914429000,"timestamp_ms":1787914429000,"timestamp_seconds":1787914429,"priority":1,"record_length":96,"hex_timestamp":"000001a048012248"} 
[2026-08-28 16:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 16:26:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:26:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":164825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":164825,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":164825,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:26:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706016768001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706016768001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:26:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:26:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706016768001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":164825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708660,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:26:36] local.INFO: GPS data processed {"connection_id":164825,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:26:36] local.INFO: Acknowledgment sent {"connection_id":164825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:26:37] local.INFO: TCP Data received {"connection_id":164826,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a047fe99d8012d34c14006aa4840000900e629..."} 
[2026-08-28 16:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047fe99d8012d34c14006aa4840000900e629..."} 
[2026-08-28 16:26:37] local.INFO: Processing buffer {"connection_id":164826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047fe99d8012d34c14006aa4840000900e629..."} 
[2026-08-28 16:26:37] local.INFO: Packet analysis {"connection_id":164826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047fe"} 
[2026-08-28 16:26:37] local.INFO: Extracted packet for processing {"connection_id":164826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047fe"} 
[2026-08-28 16:26:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457705974272001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787914263000,"timestamp_ms":1787914263000,"timestamp_seconds":1787914263,"priority":1,"record_length":96,"hex_timestamp":"000001a047fe99d8"} 
[2026-08-28 16:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 16:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457705974272001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457705974272001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:26:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:26:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:26: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-28 16:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457705974272001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:26:37] 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":708661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:26:37] local.INFO: GPS data processed {"connection_id":164826,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:26:37] local.INFO: Acknowledgment sent {"connection_id":164826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:26:48] local.INFO: TCP Data received {"connection_id":163835,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a0480252f8012d181f800721a818004b008429..."} 
[2026-08-28 16:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0480252f8012d181f800721a818004b008429..."} 
[2026-08-28 16:26:48] local.INFO: Processing buffer {"connection_id":163835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0480252f8012d181f800721a818004b008429..."} 
[2026-08-28 16:26:48] local.INFO: Packet analysis {"connection_id":163835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04802"} 
[2026-08-28 16:26:48] local.INFO: Extracted packet for processing {"connection_id":163835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04802"} 
[2026-08-28 16:26:48] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119646232,"longitude_deg":75.6555648,"latitude_deg":11.9646232,"altitude":75,"angle":132,"satellites":41,"speed":3,"hex_longitude":"2d181f80","hex_latitude":"0721a818","is_valid_coordinates":true} 
[2026-08-28 16:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:26:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706111232001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:26:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15939817636364288,"note":"Value kept but may cause issues"} 
[2026-08-28 16:26:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643073603584,"note":"Value kept but may cause issues"} 
[2026-08-28 16:26:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:26:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787914507000,"timestamp_ms":1787914507000,"timestamp_seconds":1787914507,"priority":1,"record_length":96,"hex_timestamp":"000001a0480252f8"} 
[2026-08-28 16:26:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:26:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-28 16:26:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:26:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:26:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:26:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:26:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:26:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:26:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:26:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:26:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:26:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:26:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706111232001,"66":14189,"120":206,"28":31744,"24":3,"16":15939817636364288,"45":1738037643073603584},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 16:26:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:26:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:26:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706111232001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:26:48] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 16:26:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 16:26:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15939817636364288,"km_value":15939817636364.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:26:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643073603584,"description":"Unknown IO ID 45"} 
[2026-08-28 16:26:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706111232001,"power":14189,"unknown_120":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1738037643073603584}} 
[2026-08-28 16:26:48] local.INFO: DEBUG: GPS processor result {"connection_id":163835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708662,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:26:48] local.INFO: GPS data processed {"connection_id":163835,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:26:48] local.INFO: Acknowledgment sent {"connection_id":163835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:26:56] local.INFO: TCP Data received {"connection_id":166191,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166191,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:26:56] local.INFO: Processing buffer {"connection_id":166191,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:26:56] local.INFO: IMEI packet received {"connection_id":166191,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 16:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":166191,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:27:01] local.INFO: TCP Data received {"connection_id":166191,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166191,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:27:01] local.INFO: Processing buffer {"connection_id":166191,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:27:01] local.INFO: IMEI packet received {"connection_id":166191,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 16:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":166191,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:27:03] local.INFO: TCP Data received {"connection_id":166191,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048012248012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048012248012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:27:03] local.INFO: Processing buffer {"connection_id":166191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048012248012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:27:03] local.INFO: Packet analysis {"connection_id":166191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04801"} 
[2026-08-28 16:27:03] local.INFO: Extracted packet for processing {"connection_id":166191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04801"} 
[2026-08-28 16:27:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706016768001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:27:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787914429000,"timestamp_ms":1787914429000,"timestamp_seconds":1787914429,"priority":1,"record_length":96,"hex_timestamp":"000001a048012248"} 
[2026-08-28 16:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:27:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 16:27:03] 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-28 16:27:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":166191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":166191,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":166191,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:27:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706016768001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706016768001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:27:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:27:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706016768001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":166191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708663,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:27:03] local.INFO: GPS data processed {"connection_id":166191,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:27:03] local.INFO: Acknowledgment sent {"connection_id":166191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:27:09] local.INFO: TCP Data received {"connection_id":164826,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0480331a0012d34c14006aa4840000600e62b..."} 
[2026-08-28 16:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0480331a0012d34c14006aa4840000600e62b..."} 
[2026-08-28 16:27:09] local.INFO: Processing buffer {"connection_id":164826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0480331a0012d34c14006aa4840000600e62b..."} 
[2026-08-28 16:27:09] local.INFO: Packet analysis {"connection_id":164826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04803"} 
[2026-08-28 16:27:09] local.INFO: Extracted packet for processing {"connection_id":164826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04803"} 
[2026-08-28 16:27:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706051328001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:27:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:27:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787914564000,"timestamp_ms":1787914564000,"timestamp_seconds":1787914564,"priority":1,"record_length":96,"hex_timestamp":"000001a0480331a0"} 
[2026-08-28 16:27:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:27: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-28 16:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 16:27:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:27:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:27:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:27:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706051328001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706051328001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:27:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:27:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:27: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-28 16:27:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706051328001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:27:09] 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":708664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:27:09] local.INFO: GPS data processed {"connection_id":164826,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:27:09] local.INFO: Acknowledgment sent {"connection_id":164826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:27:11] local.INFO: TCP Data received {"connection_id":163836,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:27:11] local.INFO: Processing buffer {"connection_id":163836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:27:11] local.INFO: IMEI packet received {"connection_id":163836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 16:27:11] local.INFO: IMEI acknowledgment sent {"connection_id":163836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:27:12] local.INFO: TCP Data received {"connection_id":163836,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:27:12] local.INFO: Processing buffer {"connection_id":163836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:27:12] local.INFO: IMEI packet received {"connection_id":163836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 16:27:12] local.INFO: IMEI acknowledgment sent {"connection_id":163836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:27:16] local.INFO: TCP Data received {"connection_id":163836,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:27:16] local.INFO: Processing buffer {"connection_id":163836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:27:16] local.INFO: IMEI packet received {"connection_id":163836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 16:27:16] local.INFO: IMEI acknowledgment sent {"connection_id":163836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:27:21] local.INFO: TCP Data received {"connection_id":163836,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a048036c38012d18c880072139500045009627..."} 
[2026-08-28 16:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048036c38012d18c880072139500045009627..."} 
[2026-08-28 16:27:21] local.INFO: Processing buffer {"connection_id":163836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048036c38012d18c880072139500045009627..."} 
[2026-08-28 16:27:21] local.INFO: Packet analysis {"connection_id":163836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04803"} 
[2026-08-28 16:27:21] local.INFO: Extracted packet for processing {"connection_id":163836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04803"} 
[2026-08-28 16:27:21] local.INFO: GPS Element Parsed {"raw_longitude":756598912,"raw_latitude":119617872,"longitude_deg":75.6598912,"latitude_deg":11.9617872,"altitude":69,"angle":150,"satellites":39,"speed":34,"hex_longitude":"2d18c880","hex_latitude":"07213950","is_valid_coordinates":true} 
[2026-08-28 16: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-28 16:27:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706130688001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:27:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15942506285891584,"note":"Value kept but may cause issues"} 
[2026-08-28 16:27:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784692120457381888,"note":"Value kept but may cause issues"} 
[2026-08-28 16:27:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:27:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787914579000,"timestamp_ms":1787914579000,"timestamp_seconds":1787914579,"priority":1,"record_length":96,"hex_timestamp":"000001a048036c38"} 
[2026-08-28 16: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-28 16:27:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-28 16:27:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16: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-28 16: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-28 16:27:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:27:21] local.INFO: Teltonika packet parsed successfully {"connection_id":163836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:27:21] local.INFO: Passing IMEI to GPS processor {"connection_id":163836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:27:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":163836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:27:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:27:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:27:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:27:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706130688001,"66":14265,"121":206,"28":31744,"24":34,"16":15942506285891584,"45":1784692120457381888},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 16:27:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:27:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:27:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706130688001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:27:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 16:27:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 16:27:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15942506285891584,"km_value":15942506285891.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:27:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784692120457381888,"description":"Unknown IO ID 45"} 
[2026-08-28 16:27:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706130688001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1784692120457381888}} 
[2026-08-28 16:27:21] local.INFO: DEBUG: GPS processor result {"connection_id":163836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708665,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:27:21] local.INFO: GPS data processed {"connection_id":163836,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:27:21] local.INFO: Acknowledgment sent {"connection_id":163836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:27:21] local.INFO: TCP Data received {"connection_id":163836,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a048038790012d18d28007212488004200af27..."} 
[2026-08-28 16:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048038790012d18d28007212488004200af27..."} 
[2026-08-28 16:27:21] local.INFO: Processing buffer {"connection_id":163836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048038790012d18d28007212488004200af27..."} 
[2026-08-28 16:27:21] local.INFO: Packet analysis {"connection_id":163836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04803"} 
[2026-08-28 16:27:21] local.INFO: Extracted packet for processing {"connection_id":163836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04803"} 
[2026-08-28 16:27:21] local.INFO: GPS Element Parsed {"raw_longitude":756601472,"raw_latitude":119612552,"longitude_deg":75.6601472,"latitude_deg":11.9612552,"altitude":66,"angle":175,"satellites":39,"speed":33,"hex_longitude":"2d18d280","hex_latitude":"07212488","is_valid_coordinates":true} 
[2026-08-28 16: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-28 16:27:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706132224001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:27:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15942794048700416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:27:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785818020362932224,"note":"Value kept but may cause issues"} 
[2026-08-28 16:27:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:27:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787914586000,"timestamp_ms":1787914586000,"timestamp_seconds":1787914586,"priority":1,"record_length":96,"hex_timestamp":"000001a048038790"} 
[2026-08-28 16: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-28 16:27:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-28 16:27:21] 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-28 16: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-28 16: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-28 16:27:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:27:21] local.INFO: Teltonika packet parsed successfully {"connection_id":163836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:27:21] local.INFO: Passing IMEI to GPS processor {"connection_id":163836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:27:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":163836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:27:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:27:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:27:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:27:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706132224001,"66":14080,"121":206,"28":31744,"24":33,"16":15942794048700416,"45":1785818020362932224},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 16:27:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:27:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:27:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706132224001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:27:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 16:27:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 16:27:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15942794048700416,"km_value":15942794048700.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:27:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785818020362932224,"description":"Unknown IO ID 45"} 
[2026-08-28 16:27:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706132224001,"power":14080,"unknown_121":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1785818020362932224}} 
[2026-08-28 16:27:22] local.INFO: DEBUG: GPS processor result {"connection_id":163836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708666,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:27:22] local.INFO: GPS data processed {"connection_id":163836,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:27:22] local.INFO: Acknowledgment sent {"connection_id":163836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:27:30] local.INFO: TCP Data received {"connection_id":163560,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:27:30] local.INFO: Processing buffer {"connection_id":163560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:27:30] local.INFO: IMEI packet received {"connection_id":163560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 16:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":163560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:27:35] local.INFO: TCP Data received {"connection_id":163560,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:27:35] local.INFO: Processing buffer {"connection_id":163560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:27:35] local.INFO: IMEI packet received {"connection_id":163560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 16:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":163560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:27:36] local.INFO: TCP Data received {"connection_id":166191,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048012248012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048012248012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:27:36] local.INFO: Processing buffer {"connection_id":166191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048012248012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:27:36] local.INFO: Packet analysis {"connection_id":166191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04801"} 
[2026-08-28 16:27:36] local.INFO: Extracted packet for processing {"connection_id":166191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04801"} 
[2026-08-28 16:27:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706016768001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787914429000,"timestamp_ms":1787914429000,"timestamp_seconds":1787914429,"priority":1,"record_length":96,"hex_timestamp":"000001a048012248"} 
[2026-08-28 16:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 16:27:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:27:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":166191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":166191,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":166191,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706016768001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706016768001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:27:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:27:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706016768001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":166191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708667,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:27:36] local.INFO: GPS data processed {"connection_id":166191,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:27:36] local.INFO: Acknowledgment sent {"connection_id":166191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:27:37] local.INFO: TCP Data received {"connection_id":163560,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0480331a0012d34c14006aa4840000600e62b..."} 
[2026-08-28 16:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0480331a0012d34c14006aa4840000600e62b..."} 
[2026-08-28 16:27:37] local.INFO: Processing buffer {"connection_id":163560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0480331a0012d34c14006aa4840000600e62b..."} 
[2026-08-28 16:27:37] local.INFO: Packet analysis {"connection_id":163560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04803"} 
[2026-08-28 16:27:37] local.INFO: Extracted packet for processing {"connection_id":163560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04803"} 
[2026-08-28 16:27:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706051328001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787914564000,"timestamp_ms":1787914564000,"timestamp_seconds":1787914564,"priority":1,"record_length":96,"hex_timestamp":"000001a0480331a0"} 
[2026-08-28 16:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 16:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706051328001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706051328001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:27:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:27:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:27: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-28 16:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706051328001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:27:37] 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":708668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:27:37] local.INFO: GPS data processed {"connection_id":163560,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:27:37] local.INFO: Acknowledgment sent {"connection_id":163560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:27:53] local.INFO: TCP Data received {"connection_id":163836,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a04803a2e8012d18d34007210d58003e00a126..."} 
[2026-08-28 16:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04803a2e8012d18d34007210d58003e00a126..."} 
[2026-08-28 16:27:53] local.INFO: Processing buffer {"connection_id":163836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04803a2e8012d18d34007210d58003e00a126..."} 
[2026-08-28 16:27:53] local.INFO: Packet analysis {"connection_id":163836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04803"} 
[2026-08-28 16:27:53] local.INFO: Extracted packet for processing {"connection_id":163836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04803"} 
[2026-08-28 16:27:53] local.INFO: GPS Element Parsed {"raw_longitude":756601664,"raw_latitude":119606616,"longitude_deg":75.6601664,"latitude_deg":11.9606616,"altitude":62,"angle":161,"satellites":38,"speed":35,"hex_longitude":"2d18d340","hex_latitude":"07210d58","is_valid_coordinates":true} 
[2026-08-28 16:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:27:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706134016001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:27:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15943086106476544,"note":"Value kept but may cause issues"} 
[2026-08-28 16:27:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788632770128676864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:27:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:27:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787914593000,"timestamp_ms":1787914593000,"timestamp_seconds":1787914593,"priority":1,"record_length":96,"hex_timestamp":"000001a04803a2e8"} 
[2026-08-28 16:27:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:27:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-28 16:27:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454499072,"note":"Value kept but may cause issues"} 
[2026-08-28 16:27:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-08-28 16:27:53] local.WARNING: Large IO value detected {"io_id":37,"raw_value":3892391192,"note":"Value kept but may cause issues"} 
[2026-08-28 16:27:53] local.WARNING: Large IO value detected {"io_id":174,"raw_value":2147950960,"note":"Value kept but may cause issues"} 
[2026-08-28 16:27:53] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2733309952,"note":"Value kept but may cause issues"} 
[2026-08-28 16:27:53] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,121,28,24,241,158,16,163,160,108,45,128,57,69,39,10,66,84,77,71,40,1,240,180,72,33,4,113,205,36,37,174,216,239,56,2,7,76,38],"length":479,"final_offset":609,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-08-28 16:27:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4755993788543991808,"timestamp_seconds":4755993788543992.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 16:27:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:27:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:27:53] local.INFO: Teltonika packet parsed successfully {"connection_id":163836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:27:53] local.INFO: Passing IMEI to GPS processor {"connection_id":163836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:27:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":163836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:27:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:27:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:27:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:27:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706134016001,"66":14298,"121":206,"28":31744,"24":35,"16":15943086106476544,"45":1788632770128676864},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 16:27:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:27:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:27:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706134016001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:27:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 16:27:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 16:27:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15943086106476544,"km_value":15943086106476.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:27:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788632770128676864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:27:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706134016001,"power":14298,"unknown_121":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1788632770128676864}} 
[2026-08-28 16:27:53] local.INFO: DEBUG: GPS processor result {"connection_id":163836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708669,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:27:53] local.INFO: GPS data processed {"connection_id":163836,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:27:53] local.INFO: Acknowledgment sent {"connection_id":163836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:27:56] local.INFO: TCP Data received {"connection_id":163561,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163561,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:27:56] local.INFO: Processing buffer {"connection_id":163561,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:27:56] local.INFO: IMEI packet received {"connection_id":163561,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 16:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":163561,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:28:02] local.INFO: TCP Data received {"connection_id":163561,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163561,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:28:02] local.INFO: Processing buffer {"connection_id":163561,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:28:02] local.INFO: IMEI packet received {"connection_id":163561,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 16:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":163561,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:28:03] local.INFO: TCP Data received {"connection_id":163561,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048012248012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048012248012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:28:03] local.INFO: Processing buffer {"connection_id":163561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048012248012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:28:03] local.INFO: Packet analysis {"connection_id":163561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04801"} 
[2026-08-28 16:28:03] local.INFO: Extracted packet for processing {"connection_id":163561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04801"} 
[2026-08-28 16:28:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706016768001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:28:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787914429000,"timestamp_ms":1787914429000,"timestamp_seconds":1787914429,"priority":1,"record_length":96,"hex_timestamp":"000001a048012248"} 
[2026-08-28 16:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:28:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 16:28:03] 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-28 16:28:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163561,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163561,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:28:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706016768001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706016768001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:28:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:28:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706016768001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:28:03] 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":708670,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:28:03] local.INFO: GPS data processed {"connection_id":163561,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:28:03] local.INFO: Acknowledgment sent {"connection_id":163561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:28:09] local.INFO: TCP Data received {"connection_id":163560,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0480331a0012d34c14006aa4840000600e62b..."} 
[2026-08-28 16:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0480331a0012d34c14006aa4840000600e62b..."} 
[2026-08-28 16:28:09] local.INFO: Processing buffer {"connection_id":163560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0480331a0012d34c14006aa4840000600e62b..."} 
[2026-08-28 16:28:09] local.INFO: Packet analysis {"connection_id":163560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04803"} 
[2026-08-28 16:28:09] local.INFO: Extracted packet for processing {"connection_id":163560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04803"} 
[2026-08-28 16:28:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706051328001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787914564000,"timestamp_ms":1787914564000,"timestamp_seconds":1787914564,"priority":1,"record_length":96,"hex_timestamp":"000001a0480331a0"} 
[2026-08-28 16:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 16:28:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:28:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:28:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706051328001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706051328001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:28:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:28:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:28: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-28 16:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706051328001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:28:09] 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":708671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:28:09] local.INFO: GPS data processed {"connection_id":163560,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:28:09] local.INFO: Acknowledgment sent {"connection_id":163560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:28:12] local.INFO: TCP Data received {"connection_id":163562,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163562,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:28:12] local.INFO: Processing buffer {"connection_id":163562,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:28:12] local.INFO: IMEI packet received {"connection_id":163562,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 16:28:12] local.INFO: IMEI acknowledgment sent {"connection_id":163562,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:28:12] local.INFO: TCP Data received {"connection_id":163562,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163562,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:28:12] local.INFO: Processing buffer {"connection_id":163562,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:28:12] local.INFO: IMEI packet received {"connection_id":163562,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 16:28:12] local.INFO: IMEI acknowledgment sent {"connection_id":163562,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:28:17] local.INFO: TCP Data received {"connection_id":163562,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163562,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:28:17] local.INFO: Processing buffer {"connection_id":163562,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:28:17] local.INFO: IMEI packet received {"connection_id":163562,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 16:28:17] local.INFO: IMEI acknowledgment sent {"connection_id":163562,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:28:19] local.INFO: TCP Data received {"connection_id":163562,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a04803b670012d18d8400720fe08003c009225..."} 
[2026-08-28 16:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04803b670012d18d8400720fe08003c009225..."} 
[2026-08-28 16:28:19] local.INFO: Processing buffer {"connection_id":163562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04803b670012d18d8400720fe08003c009225..."} 
[2026-08-28 16:28:19] local.INFO: Packet analysis {"connection_id":163562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04803"} 
[2026-08-28 16:28:19] local.INFO: Extracted packet for processing {"connection_id":163562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04803"} 
[2026-08-28 16:28:19] local.INFO: GPS Element Parsed {"raw_longitude":756602944,"raw_latitude":119602696,"longitude_deg":75.6602944,"latitude_deg":11.9602696,"altitude":60,"angle":146,"satellites":37,"speed":31,"hex_longitude":"2d18d840","hex_latitude":"0720fe08","is_valid_coordinates":true} 
[2026-08-28 16:28:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:28:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706135808001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:28:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15943287969939456,"note":"Value kept but may cause issues"} 
[2026-08-28 16:28:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788843876359690240,"note":"Value kept but may cause issues"} 
[2026-08-28 16:28:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:28:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787914598000,"timestamp_ms":1787914598000,"timestamp_seconds":1787914598,"priority":1,"record_length":96,"hex_timestamp":"000001a04803b670"} 
[2026-08-28 16:28:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:28:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:28:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-28 16:28:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:28:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:28:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:28:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:28:19] local.INFO: Teltonika packet parsed successfully {"connection_id":163562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:28:19] local.INFO: Passing IMEI to GPS processor {"connection_id":163562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:28:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":163562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:28:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:28:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:28:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:28:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706135808001,"66":14298,"121":206,"28":31744,"24":31,"16":15943287969939456,"45":1788843876359690240},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 16:28:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:28:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:28:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706135808001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:28:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 16:28:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 16:28:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15943287969939456,"km_value":15943287969939.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:28:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788843876359690240,"description":"Unknown IO ID 45"} 
[2026-08-28 16:28:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706135808001,"power":14298,"unknown_121":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1788843876359690240}} 
[2026-08-28 16:28:19] local.INFO: DEBUG: GPS processor result {"connection_id":163562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708672,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:28:19] local.INFO: GPS data processed {"connection_id":163562,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:28:19] local.INFO: Acknowledgment sent {"connection_id":163562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:28:22] local.INFO: TCP Data received {"connection_id":163562,"ip":"117.225.245.189","data_length":795,"data_hex":"000000000000030f8e0a000001a04803ba58012d18da400720fbc8003b008625..."} 
[2026-08-28 16:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04803ba58012d18da400720fbc8003b008625..."} 
[2026-08-28 16:28:22] local.INFO: Processing buffer {"connection_id":163562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04803ba58012d18da400720fbc8003b008625..."} 
[2026-08-28 16:28:22] local.INFO: Packet analysis {"connection_id":163562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04803"} 
[2026-08-28 16:28:22] local.INFO: Extracted packet for processing {"connection_id":163562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04803"} 
[2026-08-28 16:28:22] local.INFO: GPS Element Parsed {"raw_longitude":756603456,"raw_latitude":119602120,"longitude_deg":75.6603456,"latitude_deg":11.960212,"altitude":59,"angle":134,"satellites":37,"speed":30,"hex_longitude":"2d18da40","hex_latitude":"0720fbc8","is_valid_coordinates":true} 
[2026-08-28 16:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:28:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706137088001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:28:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15943322329677824,"note":"Value kept but may cause issues"} 
[2026-08-28 16:28:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790251251242240000,"note":"Value kept but may cause issues"} 
[2026-08-28 16:28:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:28:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787914599000,"timestamp_ms":1787914599000,"timestamp_seconds":1787914599,"priority":1,"record_length":96,"hex_timestamp":"000001a04803ba58"} 
[2026-08-28 16:28:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:28:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-28 16:28:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:28:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:28:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:28:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:28:22] local.INFO: Teltonika packet parsed successfully {"connection_id":163562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:28:22] local.INFO: Passing IMEI to GPS processor {"connection_id":163562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:28:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":163562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:28:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.245.189","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:28:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:28:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:28:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706137088001,"66":14233,"121":206,"28":31744,"24":30,"16":15943322329677824,"45":1790251251242240000},"client_ip":"117.225.245.189","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 16:28:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:28:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:28:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706137088001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:28:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 16:28:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 16:28:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15943322329677824,"km_value":15943322329677.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:28:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790251251242240000,"description":"Unknown IO ID 45"} 
[2026-08-28 16:28:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706137088001,"power":14233,"unknown_121":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1790251251242240000}} 
[2026-08-28 16:28:22] local.INFO: DEBUG: GPS processor result {"connection_id":163562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708673,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:28:22] local.INFO: GPS data processed {"connection_id":163562,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:28:22] local.INFO: Acknowledgment sent {"connection_id":163562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:28:30] local.INFO: TCP Data received {"connection_id":164827,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:28:30] local.INFO: Processing buffer {"connection_id":164827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:28:30] local.INFO: IMEI packet received {"connection_id":164827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 16:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":164827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:28:35] local.INFO: TCP Data received {"connection_id":163561,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048012248012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048012248012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:28:35] local.INFO: Processing buffer {"connection_id":163561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048012248012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:28:35] local.INFO: Packet analysis {"connection_id":163561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04801"} 
[2026-08-28 16:28:35] local.INFO: Extracted packet for processing {"connection_id":163561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04801"} 
[2026-08-28 16:28:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:28:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706016768001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:28:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:28:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:28:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:28:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787914429000,"timestamp_ms":1787914429000,"timestamp_seconds":1787914429,"priority":1,"record_length":96,"hex_timestamp":"000001a048012248"} 
[2026-08-28 16:28:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:28:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 16:28:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:28:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:28:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:28:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:28:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:28:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163561,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:28:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163561,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:28:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:28:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:28:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706016768001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:28:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:28:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:28:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706016768001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:28:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:28:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:28:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:28:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:28:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706016768001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:28:35] 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":708674,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:28:35] local.INFO: GPS data processed {"connection_id":163561,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:28:35] local.INFO: Acknowledgment sent {"connection_id":163561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:28:35] local.INFO: TCP Data received {"connection_id":164827,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:28:35] local.INFO: Processing buffer {"connection_id":164827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:28:35] local.INFO: IMEI packet received {"connection_id":164827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 16:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":164827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:28:38] local.INFO: TCP Data received {"connection_id":164827,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0480331a0012d34c14006aa4840000600e62b..."} 
[2026-08-28 16:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0480331a0012d34c14006aa4840000600e62b..."} 
[2026-08-28 16:28:38] local.INFO: Processing buffer {"connection_id":164827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0480331a0012d34c14006aa4840000600e62b..."} 
[2026-08-28 16:28:38] local.INFO: Packet analysis {"connection_id":164827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04803"} 
[2026-08-28 16:28:38] local.INFO: Extracted packet for processing {"connection_id":164827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04803"} 
[2026-08-28 16:28:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706051328001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787914564000,"timestamp_ms":1787914564000,"timestamp_seconds":1787914564,"priority":1,"record_length":96,"hex_timestamp":"000001a0480331a0"} 
[2026-08-28 16:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:28: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-28 16:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 16:28: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-28 16:28:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706051328001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706051328001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:28:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:28:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:28: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-28 16:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706051328001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:28:38] 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":708675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:28:38] local.INFO: GPS data processed {"connection_id":164827,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:28:38] local.INFO: Acknowledgment sent {"connection_id":164827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:28:56] local.INFO: TCP Data received {"connection_id":163837,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163837,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:28:56] local.INFO: Processing buffer {"connection_id":163837,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:28:56] local.INFO: IMEI packet received {"connection_id":163837,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 16:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":163837,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:29:01] local.INFO: TCP Data received {"connection_id":163837,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163837,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:29:01] local.INFO: Processing buffer {"connection_id":163837,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:29:01] local.INFO: IMEI packet received {"connection_id":163837,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 16:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":163837,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:29:02] local.INFO: TCP Data received {"connection_id":163837,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048012248012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048012248012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:29:02] local.INFO: Processing buffer {"connection_id":163837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048012248012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:29:02] local.INFO: Packet analysis {"connection_id":163837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04801"} 
[2026-08-28 16:29:02] local.INFO: Extracted packet for processing {"connection_id":163837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04801"} 
[2026-08-28 16:29:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:29:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706016768001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:29:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:29:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787914429000,"timestamp_ms":1787914429000,"timestamp_seconds":1787914429,"priority":1,"record_length":96,"hex_timestamp":"000001a048012248"} 
[2026-08-28 16:29:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:29:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:29:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 16:29: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-28 16:29:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:29:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163837,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163837,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:29:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706016768001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706016768001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:29:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:29:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:29:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:29:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706016768001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":163837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708676,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:29:03] local.INFO: GPS data processed {"connection_id":163837,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:29:03] local.INFO: Acknowledgment sent {"connection_id":163837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:29:10] local.INFO: TCP Data received {"connection_id":164827,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0480331a0012d34c14006aa4840000600e62b..."} 
[2026-08-28 16:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0480331a0012d34c14006aa4840000600e62b..."} 
[2026-08-28 16:29:10] local.INFO: Processing buffer {"connection_id":164827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0480331a0012d34c14006aa4840000600e62b..."} 
[2026-08-28 16:29:10] local.INFO: Packet analysis {"connection_id":164827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04803"} 
[2026-08-28 16:29:10] local.INFO: Extracted packet for processing {"connection_id":164827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04803"} 
[2026-08-28 16:29:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706051328001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:29:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:29:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787914564000,"timestamp_ms":1787914564000,"timestamp_seconds":1787914564,"priority":1,"record_length":96,"hex_timestamp":"000001a0480331a0"} 
[2026-08-28 16:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:29:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 16:29:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:29:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":164827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":164827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":164827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:29:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706051328001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706051328001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:29:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:29:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:29:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706051328001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:29:10] 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":708677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:29:10] local.INFO: GPS data processed {"connection_id":164827,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:29:10] local.INFO: Acknowledgment sent {"connection_id":164827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:29:14] local.INFO: TCP Data received {"connection_id":164828,"ip":"117.225.245.189","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164828,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:29:14] local.INFO: Processing buffer {"connection_id":164828,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:29:14] local.INFO: IMEI packet received {"connection_id":164828,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 16:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":164828,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:29:24] local.INFO: TCP Data received {"connection_id":164828,"ip":"117.225.245.189","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-28 16:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164828,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-28 16:29:24] local.INFO: Processing buffer {"connection_id":164828,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-28 16:29:24] local.INFO: IMEI packet received {"connection_id":164828,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 16:29:24] local.INFO: IMEI acknowledgment sent {"connection_id":164828,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:29:30] local.INFO: TCP Data received {"connection_id":164829,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:29:30] local.INFO: Processing buffer {"connection_id":164829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:29:30] local.INFO: IMEI packet received {"connection_id":164829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 16:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":164829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:29:34] local.INFO: TCP Data received {"connection_id":163837,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04805ba10012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04805ba10012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:29:34] local.INFO: Processing buffer {"connection_id":163837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04805ba10012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:29:34] local.INFO: Packet analysis {"connection_id":163837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04805"} 
[2026-08-28 16:29:34] local.INFO: Extracted packet for processing {"connection_id":163837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04805"} 
[2026-08-28 16:29:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706093824001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:29:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787914730000,"timestamp_ms":1787914730000,"timestamp_seconds":1787914730,"priority":1,"record_length":96,"hex_timestamp":"000001a04805ba10"} 
[2026-08-28 16:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:29:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 16:29:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:29:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163837,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163837,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706093824001,"66":25430,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706093824001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:29:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:29:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706093824001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":163837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708678,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:29:34] local.INFO: GPS data processed {"connection_id":163837,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:29:34] local.INFO: Acknowledgment sent {"connection_id":163837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:29:35] local.INFO: TCP Data received {"connection_id":164829,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:29:35] local.INFO: Processing buffer {"connection_id":164829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:29:35] local.INFO: IMEI packet received {"connection_id":164829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 16:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":164829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:29:37] local.INFO: TCP Data received {"connection_id":164829,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0480331a0012d34c14006aa4840000600e62b..."} 
[2026-08-28 16:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0480331a0012d34c14006aa4840000600e62b..."} 
[2026-08-28 16:29:37] local.INFO: Processing buffer {"connection_id":164829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0480331a0012d34c14006aa4840000600e62b..."} 
[2026-08-28 16:29:37] local.INFO: Packet analysis {"connection_id":164829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04803"} 
[2026-08-28 16:29:37] local.INFO: Extracted packet for processing {"connection_id":164829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04803"} 
[2026-08-28 16:29:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706051328001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787914564000,"timestamp_ms":1787914564000,"timestamp_seconds":1787914564,"priority":1,"record_length":96,"hex_timestamp":"000001a0480331a0"} 
[2026-08-28 16:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 16:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706051328001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706051328001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:29:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:29:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:29: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-28 16:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706051328001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:29:37] 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":708679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:29:37] local.INFO: GPS data processed {"connection_id":164829,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:29:37] local.INFO: Acknowledgment sent {"connection_id":164829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:30:06] local.INFO: TCP Data received {"connection_id":164830,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164830,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:30:06] local.INFO: Processing buffer {"connection_id":164830,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:30:06] local.INFO: IMEI packet received {"connection_id":164830,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 16:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":164830,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:30:09] local.INFO: TCP Data received {"connection_id":164829,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0480331a0012d34c14006aa4840000600e62b..."} 
[2026-08-28 16:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0480331a0012d34c14006aa4840000600e62b..."} 
[2026-08-28 16:30:09] local.INFO: Processing buffer {"connection_id":164829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0480331a0012d34c14006aa4840000600e62b..."} 
[2026-08-28 16:30:09] local.INFO: Packet analysis {"connection_id":164829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04803"} 
[2026-08-28 16:30:09] local.INFO: Extracted packet for processing {"connection_id":164829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04803"} 
[2026-08-28 16:30:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706051328001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:30:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:30:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:30:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:30:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787914564000,"timestamp_ms":1787914564000,"timestamp_seconds":1787914564,"priority":1,"record_length":96,"hex_timestamp":"000001a0480331a0"} 
[2026-08-28 16:30:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:30: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-28 16:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 16:30:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:30:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:30:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:30:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:30:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:30:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:30:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:30:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:30:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:30:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706051328001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706051328001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:30:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:30:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:30: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-28 16:30:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:30:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706051328001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:30:09] 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":708680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:30:09] local.INFO: GPS data processed {"connection_id":164829,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:30:09] local.INFO: Acknowledgment sent {"connection_id":164829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:30:11] local.INFO: TCP Data received {"connection_id":164830,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164830,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:30:11] local.INFO: Processing buffer {"connection_id":164830,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:30:11] local.INFO: IMEI packet received {"connection_id":164830,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 16:30:11] local.INFO: IMEI acknowledgment sent {"connection_id":164830,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:30:13] local.INFO: TCP Data received {"connection_id":164830,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04805ba10012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04805ba10012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:30:13] local.INFO: Processing buffer {"connection_id":164830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04805ba10012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:30:13] local.INFO: Packet analysis {"connection_id":164830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04805"} 
[2026-08-28 16:30:13] local.INFO: Extracted packet for processing {"connection_id":164830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04805"} 
[2026-08-28 16:30:13] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:30:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706093824001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:30:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:30:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:30:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:30:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787914730000,"timestamp_ms":1787914730000,"timestamp_seconds":1787914730,"priority":1,"record_length":96,"hex_timestamp":"000001a04805ba10"} 
[2026-08-28 16:30:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:30:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 16:30: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-28 16:30:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:30:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:30:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:30:13] local.INFO: Teltonika packet parsed successfully {"connection_id":164830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:30:13] local.INFO: Passing IMEI to GPS processor {"connection_id":164830,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:30:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":164830,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:30:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:30:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:30:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:30:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706093824001,"66":25430,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:30:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:30:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:30:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706093824001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:30:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:30:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:30:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:30:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:30:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706093824001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:30:13] 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":708681,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:30:13] local.INFO: GPS data processed {"connection_id":164830,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:30:13] local.INFO: Acknowledgment sent {"connection_id":164830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:30:35] local.INFO: TCP Data received {"connection_id":164831,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:30:35] local.INFO: Processing buffer {"connection_id":164831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:30:35] local.INFO: IMEI packet received {"connection_id":164831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 16:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":164831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:30:40] local.INFO: TCP Data received {"connection_id":164831,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:30:40] local.INFO: Processing buffer {"connection_id":164831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:30:40] local.INFO: IMEI packet received {"connection_id":164831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 16:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":164831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:30:42] local.INFO: TCP Data received {"connection_id":164831,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0480331a0012d34c14006aa4840000600e62b..."} 
[2026-08-28 16:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0480331a0012d34c14006aa4840000600e62b..."} 
[2026-08-28 16:30:42] local.INFO: Processing buffer {"connection_id":164831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0480331a0012d34c14006aa4840000600e62b..."} 
[2026-08-28 16:30:42] local.INFO: Packet analysis {"connection_id":164831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04803"} 
[2026-08-28 16:30:42] local.INFO: Extracted packet for processing {"connection_id":164831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04803"} 
[2026-08-28 16:30:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16: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-28 16:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706051328001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:30:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:30:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787914564000,"timestamp_ms":1787914564000,"timestamp_seconds":1787914564,"priority":1,"record_length":96,"hex_timestamp":"000001a0480331a0"} 
[2026-08-28 16: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-28 16:30: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-28 16: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":151,"data_length":795,"current_offset":136} 
[2026-08-28 16:30: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-28 16: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-28 16: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-28 16:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":164831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":164831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":164831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:30:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706051328001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706051328001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:30:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:30:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16: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-28 16:30:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706051328001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:30:42] 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":708682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:30:42] local.INFO: GPS data processed {"connection_id":164831,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:30:42] local.INFO: Acknowledgment sent {"connection_id":164831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:30:46] local.INFO: TCP Data received {"connection_id":164831,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0480331a0012d34c14006aa4840000600e62b..."} 
[2026-08-28 16:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0480331a0012d34c14006aa4840000600e62b..."} 
[2026-08-28 16:30:46] local.INFO: Processing buffer {"connection_id":164831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0480331a0012d34c14006aa4840000600e62b..."} 
[2026-08-28 16:30:46] local.INFO: Packet analysis {"connection_id":164831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04803"} 
[2026-08-28 16:30:46] local.INFO: Extracted packet for processing {"connection_id":164831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04803"} 
[2026-08-28 16:30:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706051328001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:30:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:30:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787914564000,"timestamp_ms":1787914564000,"timestamp_seconds":1787914564,"priority":1,"record_length":96,"hex_timestamp":"000001a0480331a0"} 
[2026-08-28 16:30:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:30: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-28 16:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 16:30:46] 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-28 16:30:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:30:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:30:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706051328001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706051328001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:30:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:30:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:30: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-28 16:30:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:30:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706051328001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:30:46] 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":708683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:30:46] local.INFO: GPS data processed {"connection_id":164831,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:30:46] local.INFO: Acknowledgment sent {"connection_id":164831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:31:02] local.INFO: TCP Data received {"connection_id":164832,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164832,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:31:02] local.INFO: Processing buffer {"connection_id":164832,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:31:02] local.INFO: IMEI packet received {"connection_id":164832,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 16:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":164832,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:31:06] local.INFO: TCP Data received {"connection_id":164832,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164832,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:31:06] local.INFO: Processing buffer {"connection_id":164832,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:31:06] local.INFO: IMEI packet received {"connection_id":164832,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 16:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":164832,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:31:07] local.INFO: TCP Data received {"connection_id":164832,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04805ba10012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04805ba10012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:31:07] local.INFO: Processing buffer {"connection_id":164832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04805ba10012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:31:07] local.INFO: Packet analysis {"connection_id":164832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04805"} 
[2026-08-28 16:31:07] local.INFO: Extracted packet for processing {"connection_id":164832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04805"} 
[2026-08-28 16:31:07] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16: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-28 16:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706093824001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:31:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787914730000,"timestamp_ms":1787914730000,"timestamp_seconds":1787914730,"priority":1,"record_length":96,"hex_timestamp":"000001a04805ba10"} 
[2026-08-28 16:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:31:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 16:31:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:31:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":164832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":164832,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":164832,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706093824001,"66":25430,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706093824001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:31:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:31:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706093824001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:31:07] 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":708684,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:31:07] local.INFO: GPS data processed {"connection_id":164832,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:31:07] local.INFO: Acknowledgment sent {"connection_id":164832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:31:13] local.INFO: TCP Data received {"connection_id":164832,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04805ba10012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04805ba10012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:31:13] local.INFO: Processing buffer {"connection_id":164832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04805ba10012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:31:13] local.INFO: Packet analysis {"connection_id":164832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04805"} 
[2026-08-28 16:31:13] local.INFO: Extracted packet for processing {"connection_id":164832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04805"} 
[2026-08-28 16:31:13] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16: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-28 16:31:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706093824001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:31:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:31:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:31:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:31:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787914730000,"timestamp_ms":1787914730000,"timestamp_seconds":1787914730,"priority":1,"record_length":96,"hex_timestamp":"000001a04805ba10"} 
[2026-08-28 16: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-28 16:31:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16: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":118,"data_length":795,"current_offset":136} 
[2026-08-28 16:31: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-28 16: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-28 16: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-28 16:31:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:31:13] local.INFO: Teltonika packet parsed successfully {"connection_id":164832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:31:13] local.INFO: Passing IMEI to GPS processor {"connection_id":164832,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:31:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":164832,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:31:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:31:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:31:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:31:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706093824001,"66":25430,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:31:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:31:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:31:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706093824001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:31:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:31:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:31:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:31:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:31:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706093824001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:31:13] 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":708685,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:31:13] local.INFO: GPS data processed {"connection_id":164832,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:31:13] local.INFO: Acknowledgment sent {"connection_id":164832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:31:31] local.INFO: TCP Data received {"connection_id":166192,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:31:31] local.INFO: Processing buffer {"connection_id":166192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:31:31] local.INFO: IMEI packet received {"connection_id":166192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 16:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":166192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:31:35] local.INFO: TCP Data received {"connection_id":166192,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:31:35] local.INFO: Processing buffer {"connection_id":166192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:31:35] local.INFO: IMEI packet received {"connection_id":166192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 16:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":166192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:31:37] local.INFO: TCP Data received {"connection_id":166192,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0480331a0012d34c14006aa4840000600e62b..."} 
[2026-08-28 16:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0480331a0012d34c14006aa4840000600e62b..."} 
[2026-08-28 16:31:37] local.INFO: Processing buffer {"connection_id":166192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0480331a0012d34c14006aa4840000600e62b..."} 
[2026-08-28 16:31:37] local.INFO: Packet analysis {"connection_id":166192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04803"} 
[2026-08-28 16:31:37] local.INFO: Extracted packet for processing {"connection_id":166192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04803"} 
[2026-08-28 16:31:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":6,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706051328001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:31:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787914564000,"timestamp_ms":1787914564000,"timestamp_seconds":1787914564,"priority":1,"record_length":96,"hex_timestamp":"000001a0480331a0"} 
[2026-08-28 16:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:31:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 16:31:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:31:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":166192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":166192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":166192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:31:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706051328001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706051328001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:31:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:31:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:31: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-28 16:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706051328001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":166192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:31:38] local.INFO: GPS data processed {"connection_id":166192,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:31:38] local.INFO: Acknowledgment sent {"connection_id":166192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:31:56] local.INFO: TCP Data received {"connection_id":163563,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163563,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:31:56] local.INFO: Processing buffer {"connection_id":163563,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:31:56] local.INFO: IMEI packet received {"connection_id":163563,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 16:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":163563,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:32:02] local.INFO: TCP Data received {"connection_id":163563,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163563,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:32:02] local.INFO: Processing buffer {"connection_id":163563,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:32:02] local.INFO: IMEI packet received {"connection_id":163563,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 16:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":163563,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:32:03] local.INFO: TCP Data received {"connection_id":163563,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04805ba10012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04805ba10012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:32:03] local.INFO: Processing buffer {"connection_id":163563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04805ba10012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:32:03] local.INFO: Packet analysis {"connection_id":163563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04805"} 
[2026-08-28 16:32:03] local.INFO: Extracted packet for processing {"connection_id":163563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04805"} 
[2026-08-28 16:32:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706093824001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:32:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787914730000,"timestamp_ms":1787914730000,"timestamp_seconds":1787914730,"priority":1,"record_length":96,"hex_timestamp":"000001a04805ba10"} 
[2026-08-28 16:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:32:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 16:32:03] 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-28 16:32:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163563,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163563,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:32:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706093824001,"66":25430,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706093824001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:32:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:32:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:32:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706093824001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":163563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708687,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:32:03] local.INFO: GPS data processed {"connection_id":163563,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:32:03] local.INFO: Acknowledgment sent {"connection_id":163563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:32:08] local.INFO: TCP Data received {"connection_id":166192,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04807c968012d34c14006aa4840000b00e628..."} 
[2026-08-28 16:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04807c968012d34c14006aa4840000b00e628..."} 
[2026-08-28 16:32:08] local.INFO: Processing buffer {"connection_id":166192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04807c968012d34c14006aa4840000b00e628..."} 
[2026-08-28 16:32:08] local.INFO: Packet analysis {"connection_id":166192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04807"} 
[2026-08-28 16:32:08] local.INFO: Extracted packet for processing {"connection_id":166192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04807"} 
[2026-08-28 16:32:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706128384001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:32:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787914865000,"timestamp_ms":1787914865000,"timestamp_seconds":1787914865,"priority":1,"record_length":96,"hex_timestamp":"000001a04807c968"} 
[2026-08-28 16:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:32: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-28 16:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 16:32: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-28 16:32:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":166192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":166192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":166192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:32:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706128384001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706128384001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:32:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:32:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:32: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-28 16:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706128384001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":166192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:32:08] local.INFO: GPS data processed {"connection_id":166192,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:32:08] local.INFO: Acknowledgment sent {"connection_id":166192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:32:30] local.INFO: TCP Data received {"connection_id":163838,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:32:30] local.INFO: Processing buffer {"connection_id":163838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:32:30] local.INFO: IMEI packet received {"connection_id":163838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 16:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":163838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:32:35] local.INFO: TCP Data received {"connection_id":163838,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:32:35] local.INFO: Processing buffer {"connection_id":163838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:32:35] local.INFO: IMEI packet received {"connection_id":163838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 16:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":163838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:32:36] local.INFO: TCP Data received {"connection_id":163563,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04805ba10012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04805ba10012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:32:36] local.INFO: Processing buffer {"connection_id":163563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04805ba10012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:32:36] local.INFO: Packet analysis {"connection_id":163563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04805"} 
[2026-08-28 16:32:36] local.INFO: Extracted packet for processing {"connection_id":163563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04805"} 
[2026-08-28 16:32:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706093824001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:32:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787914730000,"timestamp_ms":1787914730000,"timestamp_seconds":1787914730,"priority":1,"record_length":96,"hex_timestamp":"000001a04805ba10"} 
[2026-08-28 16:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 16:32:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:32:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163563,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163563,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:32:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706093824001,"66":25430,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706093824001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:32:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:32:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706093824001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":163563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708689,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:32:36] local.INFO: GPS data processed {"connection_id":163563,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:32:36] local.INFO: Acknowledgment sent {"connection_id":163563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:32:38] local.INFO: TCP Data received {"connection_id":163838,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04807c968012d34c14006aa4840000b00e628..."} 
[2026-08-28 16:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04807c968012d34c14006aa4840000b00e628..."} 
[2026-08-28 16:32:38] local.INFO: Processing buffer {"connection_id":163838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04807c968012d34c14006aa4840000b00e628..."} 
[2026-08-28 16:32:38] local.INFO: Packet analysis {"connection_id":163838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04807"} 
[2026-08-28 16:32:38] local.INFO: Extracted packet for processing {"connection_id":163838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04807"} 
[2026-08-28 16:32:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706128384001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:32:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787914865000,"timestamp_ms":1787914865000,"timestamp_seconds":1787914865,"priority":1,"record_length":96,"hex_timestamp":"000001a04807c968"} 
[2026-08-28 16:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:32: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-28 16:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 16:32: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-28 16:32:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:32:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706128384001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706128384001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:32:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:32:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:32: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-28 16:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706128384001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":163838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:32:38] local.INFO: GPS data processed {"connection_id":163838,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:32:38] local.INFO: Acknowledgment sent {"connection_id":163838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:32:56] local.INFO: TCP Data received {"connection_id":166193,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166193,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:32:56] local.INFO: Processing buffer {"connection_id":166193,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:32:56] local.INFO: IMEI packet received {"connection_id":166193,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 16:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":166193,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:33:01] local.INFO: TCP Data received {"connection_id":166193,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166193,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:33:01] local.INFO: Processing buffer {"connection_id":166193,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:33:01] local.INFO: IMEI packet received {"connection_id":166193,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 16:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":166193,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:33:02] local.INFO: TCP Data received {"connection_id":166193,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04805ba10012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04805ba10012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:33:02] local.INFO: Processing buffer {"connection_id":166193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04805ba10012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:33:02] local.INFO: Packet analysis {"connection_id":166193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04805"} 
[2026-08-28 16:33:02] local.INFO: Extracted packet for processing {"connection_id":166193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04805"} 
[2026-08-28 16:33:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:33:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706093824001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:33:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:33:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:33:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:33:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787914730000,"timestamp_ms":1787914730000,"timestamp_seconds":1787914730,"priority":1,"record_length":96,"hex_timestamp":"000001a04805ba10"} 
[2026-08-28 16:33:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:33:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 16:33: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-28 16:33:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:33:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:33:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:33:02] local.INFO: Teltonika packet parsed successfully {"connection_id":166193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:33:02] local.INFO: Passing IMEI to GPS processor {"connection_id":166193,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:33:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":166193,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:33:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:33:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:33:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706093824001,"66":25430,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706093824001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:33:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:33:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706093824001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":166193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708691,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:33:03] local.INFO: GPS data processed {"connection_id":166193,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:33:03] local.INFO: Acknowledgment sent {"connection_id":166193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:33:10] local.INFO: TCP Data received {"connection_id":163838,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04807c968012d34c14006aa4840000b00e628..."} 
[2026-08-28 16:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04807c968012d34c14006aa4840000b00e628..."} 
[2026-08-28 16:33:10] local.INFO: Processing buffer {"connection_id":163838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04807c968012d34c14006aa4840000b00e628..."} 
[2026-08-28 16:33:10] local.INFO: Packet analysis {"connection_id":163838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04807"} 
[2026-08-28 16:33:10] local.INFO: Extracted packet for processing {"connection_id":163838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04807"} 
[2026-08-28 16:33:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706128384001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:33:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:33:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787914865000,"timestamp_ms":1787914865000,"timestamp_seconds":1787914865,"priority":1,"record_length":96,"hex_timestamp":"000001a04807c968"} 
[2026-08-28 16:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:33:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 16:33:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:33:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:33:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706128384001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706128384001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:33:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:33:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:33:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706128384001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":163838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:33:10] local.INFO: GPS data processed {"connection_id":163838,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:33:10] local.INFO: Acknowledgment sent {"connection_id":163838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:33:26] local.INFO: TCP Data received {"connection_id":164833,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164833,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:33:26] local.INFO: Processing buffer {"connection_id":164833,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:33:26] local.INFO: IMEI packet received {"connection_id":164833,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 16:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":164833,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:33:30] local.INFO: TCP Data received {"connection_id":164833,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164833,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:33:30] local.INFO: Processing buffer {"connection_id":164833,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:33:30] local.INFO: IMEI packet received {"connection_id":164833,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 16:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":164833,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:33:31] local.INFO: TCP Data received {"connection_id":164833,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a04808b3c8012d1a04400720bd58003300f328..."} 
[2026-08-28 16:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04808b3c8012d1a04400720bd58003300f328..."} 
[2026-08-28 16:33:31] local.INFO: Processing buffer {"connection_id":164833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04808b3c8012d1a04400720bd58003300f328..."} 
[2026-08-28 16:33:31] local.INFO: Packet analysis {"connection_id":164833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04808"} 
[2026-08-28 16:33:31] local.INFO: Extracted packet for processing {"connection_id":164833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04808"} 
[2026-08-28 16:33:31] local.INFO: GPS Element Parsed {"raw_longitude":756679744,"raw_latitude":119586136,"longitude_deg":75.6679744,"latitude_deg":11.9586136,"altitude":51,"angle":243,"satellites":40,"speed":29,"hex_longitude":"2d1a0440","hex_latitude":"0720bd58","is_valid_coordinates":true} 
[2026-08-28 16:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706218496001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15949618751733760,"note":"Value kept but may cause issues"} 
[2026-08-28 16:33:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1879830662577133568,"note":"Value kept but may cause issues"} 
[2026-08-28 16:33:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787914925000,"timestamp_ms":1787914925000,"timestamp_seconds":1787914925,"priority":1,"record_length":96,"hex_timestamp":"000001a04808b3c8"} 
[2026-08-28 16:33:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:33:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-08-28 16:33:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2723,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:33:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:33:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":164833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":164833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":164833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:33:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706218496001,"66":13993,"121":206,"28":31744,"24":29,"16":15949618751733760,"45":1879830662577133568},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 16:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706218496001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:33:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 16:33:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 16:33:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15949618751733760,"km_value":15949618751733.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:33:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1879830662577133568,"description":"Unknown IO ID 45"} 
[2026-08-28 16:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706218496001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1879830662577133568}} 
[2026-08-28 16:33:31] 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":708693,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:33:31] local.INFO: GPS data processed {"connection_id":164833,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:33:31] local.INFO: Acknowledgment sent {"connection_id":164833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:33:35] local.INFO: TCP Data received {"connection_id":166193,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04805ba10012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04805ba10012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:33:35] local.INFO: Processing buffer {"connection_id":166193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04805ba10012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:33:35] local.INFO: Packet analysis {"connection_id":166193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04805"} 
[2026-08-28 16:33:35] local.INFO: Extracted packet for processing {"connection_id":166193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04805"} 
[2026-08-28 16:33:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706093824001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:33:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787914730000,"timestamp_ms":1787914730000,"timestamp_seconds":1787914730,"priority":1,"record_length":96,"hex_timestamp":"000001a04805ba10"} 
[2026-08-28 16:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:33:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 16:33:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:33:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":166193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":166193,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":166193,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:33:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706093824001,"66":25430,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706093824001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:33:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:33:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706093824001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:33:35] local.INFO: DEBUG: GPS processor result {"connection_id":166193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708694,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:33:35] local.INFO: GPS data processed {"connection_id":166193,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:33:35] local.INFO: Acknowledgment sent {"connection_id":166193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:33:35] local.INFO: TCP Data received {"connection_id":166194,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:33:35] local.INFO: Processing buffer {"connection_id":166194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:33:35] local.INFO: IMEI packet received {"connection_id":166194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 16:33:35] local.INFO: IMEI acknowledgment sent {"connection_id":166194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:33:37] local.INFO: TCP Data received {"connection_id":164833,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a04808e2a8012d19e8000720b2e80033010429..."} 
[2026-08-28 16:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04808e2a8012d19e8000720b2e80033010429..."} 
[2026-08-28 16:33:37] local.INFO: Processing buffer {"connection_id":164833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04808e2a8012d19e8000720b2e80033010429..."} 
[2026-08-28 16:33:37] local.INFO: Packet analysis {"connection_id":164833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04808"} 
[2026-08-28 16:33:37] local.INFO: Extracted packet for processing {"connection_id":164833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04808"} 
[2026-08-28 16:33:37] local.INFO: GPS Element Parsed {"raw_longitude":756672512,"raw_latitude":119583464,"longitude_deg":75.6672512,"latitude_deg":11.9583464,"altitude":51,"angle":260,"satellites":41,"speed":24,"hex_longitude":"2d19e800","hex_latitude":"0720b2e8","is_valid_coordinates":true} 
[2026-08-28 16:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706220800001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15949988118921216,"note":"Value kept but may cause issues"} 
[2026-08-28 16:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1874693744251197440,"note":"Value kept but may cause issues"} 
[2026-08-28 16:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787914937000,"timestamp_ms":1787914937000,"timestamp_seconds":1787914937,"priority":1,"record_length":96,"hex_timestamp":"000001a04808e2a8"} 
[2026-08-28 16:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-28 16:33:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706220800001,"66":13961,"103":206,"83":41984,"24":24,"16":15949988118921216,"45":1874693744251197440},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 16:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706220800001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:33:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 16:33:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 16:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15949988118921216,"km_value":15949988118921.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1874693744251197440,"description":"Unknown IO ID 45"} 
[2026-08-28 16:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706220800001,"power":13961,"unknown_103":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1874693744251197440}} 
[2026-08-28 16:33:37] 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":708695,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:33:37] local.INFO: GPS data processed {"connection_id":164833,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:33:37] local.INFO: Acknowledgment sent {"connection_id":164833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:33:40] local.INFO: TCP Data received {"connection_id":166194,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:33:40] local.INFO: Processing buffer {"connection_id":166194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:33:40] local.INFO: IMEI packet received {"connection_id":166194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 16:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":166194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:33:41] local.INFO: TCP Data received {"connection_id":166194,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04807c968012d34c14006aa4840000b00e628..."} 
[2026-08-28 16:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04807c968012d34c14006aa4840000b00e628..."} 
[2026-08-28 16:33:41] local.INFO: Processing buffer {"connection_id":166194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04807c968012d34c14006aa4840000b00e628..."} 
[2026-08-28 16:33:41] local.INFO: Packet analysis {"connection_id":166194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04807"} 
[2026-08-28 16:33:41] local.INFO: Extracted packet for processing {"connection_id":166194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04807"} 
[2026-08-28 16:33:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706128384001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:33:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:33:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787914865000,"timestamp_ms":1787914865000,"timestamp_seconds":1787914865,"priority":1,"record_length":96,"hex_timestamp":"000001a04807c968"} 
[2026-08-28 16:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:33:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 16:33:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:33:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":166194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":166194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":166194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:33:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706128384001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706128384001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:33:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:33:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:33: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-28 16:33:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706128384001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":166194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:33:41] local.INFO: GPS data processed {"connection_id":166194,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:33:41] local.INFO: Acknowledgment sent {"connection_id":166194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:33:47] local.INFO: TCP Data received {"connection_id":166194,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04807c968012d34c14006aa4840000b00e628..."} 
[2026-08-28 16:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04807c968012d34c14006aa4840000b00e628..."} 
[2026-08-28 16:33:47] local.INFO: Processing buffer {"connection_id":166194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04807c968012d34c14006aa4840000b00e628..."} 
[2026-08-28 16:33:47] local.INFO: Packet analysis {"connection_id":166194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04807"} 
[2026-08-28 16:33:47] local.INFO: Extracted packet for processing {"connection_id":166194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04807"} 
[2026-08-28 16:33:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:33:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706128384001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:33:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:33:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:33:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:33:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787914865000,"timestamp_ms":1787914865000,"timestamp_seconds":1787914865,"priority":1,"record_length":96,"hex_timestamp":"000001a04807c968"} 
[2026-08-28 16:33:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:33: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-28 16:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 16:33: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-28 16:33:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:33:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:33:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:33:47] local.INFO: Teltonika packet parsed successfully {"connection_id":166194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:33:47] local.INFO: Passing IMEI to GPS processor {"connection_id":166194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:33:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":166194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:33:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:33:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:33:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:33:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706128384001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:33:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:33:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:33:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706128384001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:33:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:33:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16: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-28 16:33:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:33:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706128384001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:33:47] local.INFO: DEBUG: GPS processor result {"connection_id":166194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:33:47] local.INFO: GPS data processed {"connection_id":166194,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:33:47] local.INFO: Acknowledgment sent {"connection_id":166194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:33:56] local.INFO: TCP Data received {"connection_id":164834,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164834,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:33:56] local.INFO: Processing buffer {"connection_id":164834,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:33:56] local.INFO: IMEI packet received {"connection_id":164834,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 16:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":164834,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:34:01] local.INFO: TCP Data received {"connection_id":164834,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164834,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:34:01] local.INFO: Processing buffer {"connection_id":164834,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:34:01] local.INFO: IMEI packet received {"connection_id":164834,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 16:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":164834,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:34:03] local.INFO: TCP Data received {"connection_id":164834,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04805ba10012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04805ba10012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:34:03] local.INFO: Processing buffer {"connection_id":164834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04805ba10012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:34:03] local.INFO: Packet analysis {"connection_id":164834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04805"} 
[2026-08-28 16:34:03] local.INFO: Extracted packet for processing {"connection_id":164834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04805"} 
[2026-08-28 16:34:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706093824001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787914730000,"timestamp_ms":1787914730000,"timestamp_seconds":1787914730,"priority":1,"record_length":96,"hex_timestamp":"000001a04805ba10"} 
[2026-08-28 16:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:34:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 16:34:03] 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-28 16:34:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":164834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":164834,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":164834,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706093824001,"66":25430,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706093824001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:34:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:34:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706093824001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:34:03] 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":708698,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:34:03] local.INFO: GPS data processed {"connection_id":164834,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:34:03] local.INFO: Acknowledgment sent {"connection_id":164834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:34:07] local.INFO: TCP Data received {"connection_id":163564,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163564,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:34:07] local.INFO: Processing buffer {"connection_id":163564,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:34:07] local.INFO: IMEI packet received {"connection_id":163564,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 16:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":163564,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:34:08] local.INFO: TCP Data received {"connection_id":163564,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163564,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:34:08] local.INFO: Processing buffer {"connection_id":163564,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:34:08] local.INFO: IMEI packet received {"connection_id":163564,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 16:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":163564,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:34:10] local.INFO: TCP Data received {"connection_id":163564,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163564,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:34:10] local.INFO: Processing buffer {"connection_id":163564,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:34:10] local.INFO: IMEI packet received {"connection_id":163564,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 16:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":163564,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:34:16] local.INFO: TCP Data received {"connection_id":163564,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163564,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:34:16] local.INFO: Processing buffer {"connection_id":163564,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:34:16] local.INFO: IMEI packet received {"connection_id":163564,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 16:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":163564,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:34:16] local.INFO: TCP Data received {"connection_id":163564,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a04809bd68012d19b4400720ac880035012826..."} 
[2026-08-28 16:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04809bd68012d19b4400720ac880035012826..."} 
[2026-08-28 16:34:16] local.INFO: Processing buffer {"connection_id":163564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04809bd68012d19b4400720ac880035012826..."} 
[2026-08-28 16:34:16] local.INFO: Packet analysis {"connection_id":163564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04809"} 
[2026-08-28 16:34:16] local.INFO: Extracted packet for processing {"connection_id":163564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04809"} 
[2026-08-28 16:34:16] local.INFO: GPS Element Parsed {"raw_longitude":756659264,"raw_latitude":119581832,"longitude_deg":75.6659264,"latitude_deg":11.9581832,"altitude":53,"angle":296,"satellites":38,"speed":20,"hex_longitude":"2d19b440","hex_latitude":"0720ac88","is_valid_coordinates":true} 
[2026-08-28 16:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:34:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706237184001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:34:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15950713968394240,"note":"Value kept but may cause issues"} 
[2026-08-28 16:34:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853794227229069312,"note":"Value kept but may cause issues"} 
[2026-08-28 16:34:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:34:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787914993000,"timestamp_ms":1787914993000,"timestamp_seconds":1787914993,"priority":1,"record_length":96,"hex_timestamp":"000001a04809bd68"} 
[2026-08-28 16:34:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:34:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-28 16:34:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:34:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:34:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:34:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:34:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:34:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163564,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:34:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163564,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:34:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:34:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:34:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:34:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706237184001,"66":13167,"103":206,"83":41984,"24":20,"16":15950713968394240,"45":1853794227229069312},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 16:34:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:34:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:34:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706237184001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:34:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 16:34:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 16:34:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15950713968394240,"km_value":15950713968394.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:34:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853794227229069312,"description":"Unknown IO ID 45"} 
[2026-08-28 16:34:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706237184001,"power":13167,"unknown_103":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1853794227229069312}} 
[2026-08-28 16:34:16] local.INFO: DEBUG: GPS processor result {"connection_id":163564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708699,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:34:16] local.INFO: GPS data processed {"connection_id":163564,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:34:16] local.INFO: Acknowledgment sent {"connection_id":163564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:34:30] local.INFO: TCP Data received {"connection_id":164835,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:34:30] local.INFO: Processing buffer {"connection_id":164835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:34:30] local.INFO: IMEI packet received {"connection_id":164835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 16:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":164835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:34:34] local.INFO: TCP Data received {"connection_id":164834,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0480a51d8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0480a51d8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:34:34] local.INFO: Processing buffer {"connection_id":164834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0480a51d8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:34:34] local.INFO: Packet analysis {"connection_id":164834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0480a"} 
[2026-08-28 16:34:34] local.INFO: Extracted packet for processing {"connection_id":164834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0480a"} 
[2026-08-28 16:34:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706170880001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:34:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:34:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787915031000,"timestamp_ms":1787915031000,"timestamp_seconds":1787915031,"priority":1,"record_length":96,"hex_timestamp":"000001a0480a51d8"} 
[2026-08-28 16:34:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:34:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 16:34:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:34:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:34:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":164834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":164834,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":164834,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706170880001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706170880001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:34:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:34:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:34:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706170880001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:34:34] 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":708700,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:34:34] local.INFO: GPS data processed {"connection_id":164834,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:34:34] local.INFO: Acknowledgment sent {"connection_id":164834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:34:36] local.INFO: TCP Data received {"connection_id":164835,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:34:36] local.INFO: Processing buffer {"connection_id":164835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:34:36] local.INFO: IMEI packet received {"connection_id":164835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 16:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":164835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:34:37] local.INFO: TCP Data received {"connection_id":164835,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04807c968012d34c14006aa4840000b00e628..."} 
[2026-08-28 16:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04807c968012d34c14006aa4840000b00e628..."} 
[2026-08-28 16:34:37] local.INFO: Processing buffer {"connection_id":164835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04807c968012d34c14006aa4840000b00e628..."} 
[2026-08-28 16:34:37] local.INFO: Packet analysis {"connection_id":164835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04807"} 
[2026-08-28 16:34:37] local.INFO: Extracted packet for processing {"connection_id":164835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04807"} 
[2026-08-28 16:34:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706128384001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787914865000,"timestamp_ms":1787914865000,"timestamp_seconds":1787914865,"priority":1,"record_length":96,"hex_timestamp":"000001a04807c968"} 
[2026-08-28 16:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 16:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706128384001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706128384001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:34:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:34:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:34: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-28 16:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706128384001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:34:37] 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":708701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:34:37] local.INFO: GPS data processed {"connection_id":164835,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:34:37] local.INFO: Acknowledgment sent {"connection_id":164835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:34:47] local.INFO: TCP Data received {"connection_id":163564,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a04809d0f0012d19a9800720b0300037011b26..."} 
[2026-08-28 16:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04809d0f0012d19a9800720b0300037011b26..."} 
[2026-08-28 16:34:47] local.INFO: Processing buffer {"connection_id":163564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04809d0f0012d19a9800720b0300037011b26..."} 
[2026-08-28 16:34:47] local.INFO: Packet analysis {"connection_id":163564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04809"} 
[2026-08-28 16:34:47] local.INFO: Extracted packet for processing {"connection_id":163564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04809"} 
[2026-08-28 16:34:47] local.INFO: GPS Element Parsed {"raw_longitude":756656512,"raw_latitude":119582768,"longitude_deg":75.6656512,"latitude_deg":11.9582768,"altitude":55,"angle":283,"satellites":38,"speed":24,"hex_longitude":"2d19a980","hex_latitude":"0720b030","is_valid_coordinates":true} 
[2026-08-28 16:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706238208001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15950851407347712,"note":"Value kept but may cause issues"} 
[2026-08-28 16:34:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852175746113243136,"note":"Value kept but may cause issues"} 
[2026-08-28 16:34:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787914998000,"timestamp_ms":1787914998000,"timestamp_seconds":1787914998,"priority":1,"record_length":96,"hex_timestamp":"000001a04809d0f0"} 
[2026-08-28 16:34:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:34:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-28 16:34:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:34:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:34:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163564,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163564,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:34:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706238208001,"66":13135,"103":206,"83":41984,"24":24,"16":15950851407347712,"45":1852175746113243136},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 16:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706238208001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:34:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 16:34:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 16:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15950851407347712,"km_value":15950851407347.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:34:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852175746113243136,"description":"Unknown IO ID 45"} 
[2026-08-28 16:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706238208001,"power":13135,"unknown_103":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1852175746113243136}} 
[2026-08-28 16:34:48] local.INFO: DEBUG: GPS processor result {"connection_id":163564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708702,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:34:48] local.INFO: GPS data processed {"connection_id":163564,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:34:48] local.INFO: Acknowledgment sent {"connection_id":163564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:35:01] local.INFO: TCP Data received {"connection_id":166195,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166195,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:35:01] local.INFO: Processing buffer {"connection_id":166195,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:35:01] local.INFO: IMEI packet received {"connection_id":166195,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 16:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":166195,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:35:06] local.INFO: TCP Data received {"connection_id":166195,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166195,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:35:06] local.INFO: Processing buffer {"connection_id":166195,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:35:06] local.INFO: IMEI packet received {"connection_id":166195,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 16:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":166195,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:35:08] local.INFO: TCP Data received {"connection_id":166195,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0480a51d8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0480a51d8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:35:08] local.INFO: Processing buffer {"connection_id":166195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0480a51d8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:35:08] local.INFO: Packet analysis {"connection_id":166195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0480a"} 
[2026-08-28 16:35:08] local.INFO: Extracted packet for processing {"connection_id":166195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0480a"} 
[2026-08-28 16:35:08] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706170880001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:35:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:35:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787915031000,"timestamp_ms":1787915031000,"timestamp_seconds":1787915031,"priority":1,"record_length":96,"hex_timestamp":"000001a0480a51d8"} 
[2026-08-28 16:35:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:35:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 16:35: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-28 16:35:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:35:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":166195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":166195,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":166195,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:35:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706170880001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706170880001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:35:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:35:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:35:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:35:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706170880001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":166195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708703,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:35:08] local.INFO: GPS data processed {"connection_id":166195,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:35:08] local.INFO: Acknowledgment sent {"connection_id":166195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:35:09] local.INFO: TCP Data received {"connection_id":164835,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04807c968012d34c14006aa4840000b00e628..."} 
[2026-08-28 16:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04807c968012d34c14006aa4840000b00e628..."} 
[2026-08-28 16:35:09] local.INFO: Processing buffer {"connection_id":164835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04807c968012d34c14006aa4840000b00e628..."} 
[2026-08-28 16:35:09] local.INFO: Packet analysis {"connection_id":164835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04807"} 
[2026-08-28 16:35:09] local.INFO: Extracted packet for processing {"connection_id":164835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04807"} 
[2026-08-28 16:35:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706128384001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:35:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787914865000,"timestamp_ms":1787914865000,"timestamp_seconds":1787914865,"priority":1,"record_length":96,"hex_timestamp":"000001a04807c968"} 
[2026-08-28 16:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:35: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-28 16:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 16:35:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:35:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:35:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706128384001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706128384001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:35:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:35:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:35: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-28 16:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706128384001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:35:09] 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":708704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:35:09] local.INFO: GPS data processed {"connection_id":164835,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:35:09] local.INFO: Acknowledgment sent {"connection_id":164835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:35:10] local.INFO: TCP Data received {"connection_id":163839,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163839,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:35:10] local.INFO: Processing buffer {"connection_id":163839,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:35:10] local.INFO: IMEI packet received {"connection_id":163839,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 16:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":163839,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:35:12] local.INFO: TCP Data received {"connection_id":163839,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163839,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:35:12] local.INFO: Processing buffer {"connection_id":163839,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:35:12] local.INFO: IMEI packet received {"connection_id":163839,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 16:35:12] local.INFO: IMEI acknowledgment sent {"connection_id":163839,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:35:13] local.INFO: TCP Data received {"connection_id":166195,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0480a51d8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0480a51d8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:35:13] local.INFO: Processing buffer {"connection_id":166195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0480a51d8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:35:13] local.INFO: Packet analysis {"connection_id":166195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0480a"} 
[2026-08-28 16:35:13] local.INFO: Extracted packet for processing {"connection_id":166195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0480a"} 
[2026-08-28 16:35:13] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:35:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706170880001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:35:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:35:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:35:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:35:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787915031000,"timestamp_ms":1787915031000,"timestamp_seconds":1787915031,"priority":1,"record_length":96,"hex_timestamp":"000001a0480a51d8"} 
[2026-08-28 16:35:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:35:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 16:35: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-28 16:35:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:35:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:35:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:35:13] local.INFO: Teltonika packet parsed successfully {"connection_id":166195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:35:13] local.INFO: Passing IMEI to GPS processor {"connection_id":166195,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:35:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":166195,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:35:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:35:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:35:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:35:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706170880001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:35:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:35:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:35:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706170880001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:35:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:35:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:35:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:35:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:35:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706170880001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:35:13] local.INFO: DEBUG: GPS processor result {"connection_id":166195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708705,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:35:13] local.INFO: GPS data processed {"connection_id":166195,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:35:13] local.INFO: Acknowledgment sent {"connection_id":166195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:35:16] local.INFO: TCP Data received {"connection_id":163839,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163839,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:35:16] local.INFO: Processing buffer {"connection_id":163839,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:35:16] local.INFO: IMEI packet received {"connection_id":163839,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 16:35:16] local.INFO: IMEI acknowledgment sent {"connection_id":163839,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:35:16] local.INFO: TCP Data received {"connection_id":163839,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a04809fbe8012d198f800720b3600039010c27..."} 
[2026-08-28 16:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04809fbe8012d198f800720b3600039010c27..."} 
[2026-08-28 16:35:16] local.INFO: Processing buffer {"connection_id":163839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04809fbe8012d198f800720b3600039010c27..."} 
[2026-08-28 16:35:16] local.INFO: Packet analysis {"connection_id":163839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04809"} 
[2026-08-28 16:35:16] local.INFO: Extracted packet for processing {"connection_id":163839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04809"} 
[2026-08-28 16:35:16] local.INFO: GPS Element Parsed {"raw_longitude":756649856,"raw_latitude":119583584,"longitude_deg":75.6649856,"latitude_deg":11.9583584,"altitude":57,"angle":268,"satellites":39,"speed":12,"hex_longitude":"2d198f80","hex_latitude":"0720b360","is_valid_coordinates":true} 
[2026-08-28 16:35:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706239488001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15951169234927616,"note":"Value kept but may cause issues"} 
[2026-08-28 16:35:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849149890113843200,"note":"Value kept but may cause issues"} 
[2026-08-28 16:35:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787915009000,"timestamp_ms":1787915009000,"timestamp_seconds":1787915009,"priority":1,"record_length":96,"hex_timestamp":"000001a04809fbe8"} 
[2026-08-28 16:35:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:35:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:35:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-28 16:35:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:35:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:35:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:35:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:35:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706239488001,"66":12461,"103":206,"83":41984,"24":12,"16":15951169234927616,"45":1849149890113843200},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 16:35:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:35:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:35:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706239488001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:35:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 16:35:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 16:35:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15951169234927616,"km_value":15951169234927.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:35:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849149890113843200,"description":"Unknown IO ID 45"} 
[2026-08-28 16:35:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706239488001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1849149890113843200}} 
[2026-08-28 16:35:17] local.INFO: DEBUG: GPS processor result {"connection_id":163839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708706,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:35:17] local.INFO: GPS data processed {"connection_id":163839,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:35:17] local.INFO: Acknowledgment sent {"connection_id":163839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:35:31] local.INFO: TCP Data received {"connection_id":163565,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:35:31] local.INFO: Processing buffer {"connection_id":163565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:35:31] local.INFO: IMEI packet received {"connection_id":163565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 16:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":163565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:35:35] local.INFO: TCP Data received {"connection_id":163565,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:35:35] local.INFO: Processing buffer {"connection_id":163565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:35:35] local.INFO: IMEI packet received {"connection_id":163565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 16:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":163565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:35:36] local.INFO: TCP Data received {"connection_id":163565,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04807c968012d34c14006aa4840000b00e628..."} 
[2026-08-28 16:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04807c968012d34c14006aa4840000b00e628..."} 
[2026-08-28 16:35:36] local.INFO: Processing buffer {"connection_id":163565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04807c968012d34c14006aa4840000b00e628..."} 
[2026-08-28 16:35:36] local.INFO: Packet analysis {"connection_id":163565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04807"} 
[2026-08-28 16:35:36] local.INFO: Extracted packet for processing {"connection_id":163565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04807"} 
[2026-08-28 16:35:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706128384001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787914865000,"timestamp_ms":1787914865000,"timestamp_seconds":1787914865,"priority":1,"record_length":96,"hex_timestamp":"000001a04807c968"} 
[2026-08-28 16:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 16:35:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:35:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:35:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706128384001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706128384001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:35:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:35:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706128384001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:35:36] 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":708707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:35:36] local.INFO: GPS data processed {"connection_id":163565,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:35:36] local.INFO: Acknowledgment sent {"connection_id":163565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:35:48] local.INFO: TCP Data received {"connection_id":163839,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0480a03b8012d198d800720b328003900ff27..."} 
[2026-08-28 16:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0480a03b8012d198d800720b328003900ff27..."} 
[2026-08-28 16:35:48] local.INFO: Processing buffer {"connection_id":163839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0480a03b8012d198d800720b328003900ff27..."} 
[2026-08-28 16:35:48] local.INFO: Packet analysis {"connection_id":163839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0480a"} 
[2026-08-28 16:35:48] local.INFO: Extracted packet for processing {"connection_id":163839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0480a"} 
[2026-08-28 16:35:48] local.INFO: GPS Element Parsed {"raw_longitude":756649344,"raw_latitude":119583528,"longitude_deg":75.6649344,"latitude_deg":11.9583528,"altitude":57,"angle":255,"satellites":39,"speed":8,"hex_longitude":"2d198d80","hex_latitude":"0720b328","is_valid_coordinates":true} 
[2026-08-28 16:35:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:35:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706242304001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:35:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15951195004731392,"note":"Value kept but may cause issues"} 
[2026-08-28 16:35:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1841831540719575040,"note":"Value kept but may cause issues"} 
[2026-08-28 16:35:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:35:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787915011000,"timestamp_ms":1787915011000,"timestamp_seconds":1787915011,"priority":1,"record_length":96,"hex_timestamp":"000001a0480a03b8"} 
[2026-08-28 16:35:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:35:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:35:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 16:35:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:35:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:35:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:35:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:35:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:35:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:35:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:35:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:35:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:35:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:35:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706242304001,"66":13102,"103":206,"83":41984,"24":8,"16":15951195004731392,"45":1841831540719575040},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 16:35:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:35:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:35:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706242304001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:35:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 16:35:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 16:35:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15951195004731392,"km_value":15951195004731.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:35:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1841831540719575040,"description":"Unknown IO ID 45"} 
[2026-08-28 16:35:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706242304001,"power":13102,"unknown_103":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1841831540719575040}} 
[2026-08-28 16:35:48] local.INFO: DEBUG: GPS processor result {"connection_id":163839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708708,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:35:48] local.INFO: GPS data processed {"connection_id":163839,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:35:48] local.INFO: Acknowledgment sent {"connection_id":163839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:35:56] local.INFO: TCP Data received {"connection_id":166196,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166196,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:35:56] local.INFO: Processing buffer {"connection_id":166196,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:35:56] local.INFO: IMEI packet received {"connection_id":166196,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 16:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":166196,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:36:01] local.INFO: TCP Data received {"connection_id":166196,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166196,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:36:01] local.INFO: Processing buffer {"connection_id":166196,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:36:01] local.INFO: IMEI packet received {"connection_id":166196,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 16:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":166196,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:36:02] local.INFO: TCP Data received {"connection_id":166196,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0480a51d8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0480a51d8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:36:02] local.INFO: Processing buffer {"connection_id":166196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0480a51d8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:36:02] local.INFO: Packet analysis {"connection_id":166196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0480a"} 
[2026-08-28 16:36:02] local.INFO: Extracted packet for processing {"connection_id":166196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0480a"} 
[2026-08-28 16:36:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:36:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706170880001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:36:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:36:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:36:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:36:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787915031000,"timestamp_ms":1787915031000,"timestamp_seconds":1787915031,"priority":1,"record_length":96,"hex_timestamp":"000001a0480a51d8"} 
[2026-08-28 16:36:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:36:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 16:36:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:36:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:36:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:36:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:36:02] local.INFO: Teltonika packet parsed successfully {"connection_id":166196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:36:02] local.INFO: Passing IMEI to GPS processor {"connection_id":166196,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:36:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":166196,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:36:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:36:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:36:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:36:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706170880001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:36:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:36:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:36:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706170880001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:36:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:36:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:36:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:36:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:36:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706170880001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:36:02] local.INFO: DEBUG: GPS processor result {"connection_id":166196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708709,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:36:02] local.INFO: GPS data processed {"connection_id":166196,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:36:02] local.INFO: Acknowledgment sent {"connection_id":166196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:36:08] local.INFO: TCP Data received {"connection_id":163565,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04807c968012d34c14006aa4840000b00e628..."} 
[2026-08-28 16:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04807c968012d34c14006aa4840000b00e628..."} 
[2026-08-28 16:36:08] local.INFO: Processing buffer {"connection_id":163565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04807c968012d34c14006aa4840000b00e628..."} 
[2026-08-28 16:36:08] local.INFO: Packet analysis {"connection_id":163565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04807"} 
[2026-08-28 16:36:08] local.INFO: Extracted packet for processing {"connection_id":163565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04807"} 
[2026-08-28 16:36:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706128384001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:36:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787914865000,"timestamp_ms":1787914865000,"timestamp_seconds":1787914865,"priority":1,"record_length":96,"hex_timestamp":"000001a04807c968"} 
[2026-08-28 16:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:36: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-28 16:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 16:36: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-28 16:36:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:36:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706128384001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706128384001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:36:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:36:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:36: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-28 16:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706128384001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:36:08] 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":708710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:36:08] local.INFO: GPS data processed {"connection_id":163565,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:36:08] local.INFO: Acknowledgment sent {"connection_id":163565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:36:11] local.INFO: TCP Data received {"connection_id":163566,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163566,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:36:11] local.INFO: Processing buffer {"connection_id":163566,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:36:11] local.INFO: IMEI packet received {"connection_id":163566,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 16:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":163566,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:36:15] local.INFO: TCP Data received {"connection_id":163566,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163566,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:36:15] local.INFO: Processing buffer {"connection_id":163566,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:36:15] local.INFO: IMEI packet received {"connection_id":163566,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 16:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":163566,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:36:15] local.INFO: TCP Data received {"connection_id":163566,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0480a55c0012d198bc00720b290003a00f924..."} 
[2026-08-28 16:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0480a55c0012d198bc00720b290003a00f924..."} 
[2026-08-28 16:36:15] local.INFO: Processing buffer {"connection_id":163566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0480a55c0012d198bc00720b290003a00f924..."} 
[2026-08-28 16:36:15] local.INFO: Packet analysis {"connection_id":163566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0480a"} 
[2026-08-28 16:36:15] local.INFO: Extracted packet for processing {"connection_id":163566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0480a"} 
[2026-08-28 16:36:15] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119583376,"longitude_deg":75.6648896,"latitude_deg":11.9583376,"altitude":58,"angle":249,"satellites":36,"speed":0,"hex_longitude":"2d198bc0","hex_latitude":"0720b290","is_valid_coordinates":true} 
[2026-08-28 16:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706242816001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15951216479567872,"note":"Value kept but may cause issues"} 
[2026-08-28 16:36:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1841268590766139392,"note":"Value kept but may cause issues"} 
[2026-08-28 16:36:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787915032000,"timestamp_ms":1787915032000,"timestamp_seconds":1787915032,"priority":1,"record_length":96,"hex_timestamp":"000001a0480a55c0"} 
[2026-08-28 16:36:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:36:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-28 16:36:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:36:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:36:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:36:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706242816001,"66":13102,"103":206,"83":41984,"24":0,"16":15951216479567872,"45":1841268590766139392},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 16:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706242816001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:36:15] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 16:36:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 16:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15951216479567872,"km_value":15951216479567.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:36:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1841268590766139392,"description":"Unknown IO ID 45"} 
[2026-08-28 16:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706242816001,"power":13102,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1841268590766139392}} 
[2026-08-28 16:36:16] 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":708711,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:36:16] local.INFO: GPS data processed {"connection_id":163566,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:36:16] local.INFO: Acknowledgment sent {"connection_id":163566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:36:30] local.INFO: TCP Data received {"connection_id":164836,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:36:30] local.INFO: Processing buffer {"connection_id":164836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:36:30] local.INFO: IMEI packet received {"connection_id":164836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 16:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":164836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:36:34] local.INFO: TCP Data received {"connection_id":166196,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0480a51d8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0480a51d8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:36:34] local.INFO: Processing buffer {"connection_id":166196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0480a51d8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:36:34] local.INFO: Packet analysis {"connection_id":166196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0480a"} 
[2026-08-28 16:36:34] local.INFO: Extracted packet for processing {"connection_id":166196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0480a"} 
[2026-08-28 16:36:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706170880001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:36:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:36:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787915031000,"timestamp_ms":1787915031000,"timestamp_seconds":1787915031,"priority":1,"record_length":96,"hex_timestamp":"000001a0480a51d8"} 
[2026-08-28 16:36:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:36:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 16:36:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:36:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:36:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":166196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":166196,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":166196,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:36:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:36:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706170880001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:36:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:36:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:36:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706170880001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:36:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:36:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:36:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:36:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:36:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706170880001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:36:34] local.INFO: DEBUG: GPS processor result {"connection_id":166196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708712,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:36:34] local.INFO: GPS data processed {"connection_id":166196,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:36:34] local.INFO: Acknowledgment sent {"connection_id":166196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:36:35] local.INFO: TCP Data received {"connection_id":164836,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:36:35] local.INFO: Processing buffer {"connection_id":164836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:36:35] local.INFO: IMEI packet received {"connection_id":164836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 16:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":164836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:36:38] local.INFO: TCP Data received {"connection_id":164836,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04807c968012d34c14006aa4840000b00e628..."} 
[2026-08-28 16:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04807c968012d34c14006aa4840000b00e628..."} 
[2026-08-28 16:36:38] local.INFO: Processing buffer {"connection_id":164836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04807c968012d34c14006aa4840000b00e628..."} 
[2026-08-28 16:36:38] local.INFO: Packet analysis {"connection_id":164836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04807"} 
[2026-08-28 16:36:38] local.INFO: Extracted packet for processing {"connection_id":164836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04807"} 
[2026-08-28 16:36:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706128384001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:36:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787914865000,"timestamp_ms":1787914865000,"timestamp_seconds":1787914865,"priority":1,"record_length":96,"hex_timestamp":"000001a04807c968"} 
[2026-08-28 16:36:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:36: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-28 16:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 16:36: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-28 16:36:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:36:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:36:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706128384001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706128384001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:36:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:36:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:36: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-28 16:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706128384001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:36:38] 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":708713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:36:38] local.INFO: GPS data processed {"connection_id":164836,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:36:38] local.INFO: Acknowledgment sent {"connection_id":164836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:36:47] local.INFO: TCP Data received {"connection_id":163566,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0480aa7c8012d198bc00720b290003a00f924..."} 
[2026-08-28 16:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0480aa7c8012d198bc00720b290003a00f924..."} 
[2026-08-28 16:36:47] local.INFO: Processing buffer {"connection_id":163566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0480aa7c8012d198bc00720b290003a00f924..."} 
[2026-08-28 16:36:47] local.INFO: Packet analysis {"connection_id":163566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0480a"} 
[2026-08-28 16:36:47] local.INFO: Extracted packet for processing {"connection_id":163566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0480a"} 
[2026-08-28 16:36:47] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119583376,"longitude_deg":75.6648896,"latitude_deg":11.9583376,"altitude":58,"angle":249,"satellites":36,"speed":0,"hex_longitude":"2d198bc0","hex_latitude":"0720b290","is_valid_coordinates":true} 
[2026-08-28 16:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:36:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706248192001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15951216479567872,"note":"Value kept but may cause issues"} 
[2026-08-28 16:36:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840776009556856832,"note":"Value kept but may cause issues"} 
[2026-08-28 16:36:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:36:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787915053000,"timestamp_ms":1787915053000,"timestamp_seconds":1787915053,"priority":1,"record_length":96,"hex_timestamp":"000001a0480aa7c8"} 
[2026-08-28 16:36:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:36:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-28 16:36:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:36:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:36:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:36:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:36:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:36:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:36:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706248192001,"66":13015,"103":206,"83":41984,"24":0,"16":15951216479567872,"45":1840776009556856832},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 16:36:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:36:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:36:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706248192001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:36:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 16:36:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 16:36:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15951216479567872,"km_value":15951216479567.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:36:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840776009556856832,"description":"Unknown IO ID 45"} 
[2026-08-28 16:36:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706248192001,"power":13015,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840776009556856832}} 
[2026-08-28 16:36:47] 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":708714,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:36:47] local.INFO: GPS data processed {"connection_id":163566,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:36:47] local.INFO: Acknowledgment sent {"connection_id":163566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:36:56] local.INFO: TCP Data received {"connection_id":163840,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163840,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:36:56] local.INFO: Processing buffer {"connection_id":163840,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:36:56] local.INFO: IMEI packet received {"connection_id":163840,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 16:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":163840,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:37:01] local.INFO: TCP Data received {"connection_id":163840,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163840,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:37:01] local.INFO: Processing buffer {"connection_id":163840,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:37:01] local.INFO: IMEI packet received {"connection_id":163840,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 16:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":163840,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:37:02] local.INFO: TCP Data received {"connection_id":163840,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0480a51d8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0480a51d8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:37:02] local.INFO: Processing buffer {"connection_id":163840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0480a51d8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:37:02] local.INFO: Packet analysis {"connection_id":163840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0480a"} 
[2026-08-28 16:37:02] local.INFO: Extracted packet for processing {"connection_id":163840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0480a"} 
[2026-08-28 16:37:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:37:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:37:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706170880001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:37:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:37:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:37:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:37:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787915031000,"timestamp_ms":1787915031000,"timestamp_seconds":1787915031,"priority":1,"record_length":96,"hex_timestamp":"000001a0480a51d8"} 
[2026-08-28 16:37:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:37:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:37:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 16:37:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:37:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:37:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:37:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:37:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:37:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163840,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:37:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163840,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:37:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:37:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:37:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:37:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706170880001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:37:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:37:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:37:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706170880001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:37:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:37:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:37:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:37:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:37:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706170880001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":163840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708715,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:37:03] local.INFO: GPS data processed {"connection_id":163840,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:37:03] local.INFO: Acknowledgment sent {"connection_id":163840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:37:10] local.INFO: TCP Data received {"connection_id":164836,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0480c6130012d34c14006aa4840000b00e628..."} 
[2026-08-28 16:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0480c6130012d34c14006aa4840000b00e628..."} 
[2026-08-28 16:37:10] local.INFO: Processing buffer {"connection_id":164836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0480c6130012d34c14006aa4840000b00e628..."} 
[2026-08-28 16:37:10] local.INFO: Packet analysis {"connection_id":164836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0480c"} 
[2026-08-28 16:37:10] local.INFO: Extracted packet for processing {"connection_id":164836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0480c"} 
[2026-08-28 16:37:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706205440001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:37:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:37:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787915166000,"timestamp_ms":1787915166000,"timestamp_seconds":1787915166,"priority":1,"record_length":96,"hex_timestamp":"000001a0480c6130"} 
[2026-08-28 16:37:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:37:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 16:37:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:37:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:37:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":164836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":164836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":164836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:37:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706205440001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706205440001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:37:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:37:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:37:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706205440001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:37:10] 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":708716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:37:10] local.INFO: GPS data processed {"connection_id":164836,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:37:10] local.INFO: Acknowledgment sent {"connection_id":164836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:37:10] local.INFO: TCP Data received {"connection_id":164837,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164837,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:37:10] local.INFO: Processing buffer {"connection_id":164837,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:37:10] local.INFO: IMEI packet received {"connection_id":164837,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 16:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":164837,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:37:16] local.INFO: TCP Data received {"connection_id":164837,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164837,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:37:16] local.INFO: Processing buffer {"connection_id":164837,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:37:16] local.INFO: IMEI packet received {"connection_id":164837,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 16:37:16] local.INFO: IMEI acknowledgment sent {"connection_id":164837,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:37:16] local.INFO: TCP Data received {"connection_id":164837,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0480af9d0012d198bc00720b290003a00f923..."} 
[2026-08-28 16:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0480af9d0012d198bc00720b290003a00f923..."} 
[2026-08-28 16:37:16] local.INFO: Processing buffer {"connection_id":164837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0480af9d0012d198bc00720b290003a00f923..."} 
[2026-08-28 16:37:16] local.INFO: Packet analysis {"connection_id":164837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0480a"} 
[2026-08-28 16:37:16] local.INFO: Extracted packet for processing {"connection_id":164837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0480a"} 
[2026-08-28 16:37:16] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119583376,"longitude_deg":75.6648896,"latitude_deg":11.9583376,"altitude":58,"angle":249,"satellites":35,"speed":0,"hex_longitude":"2d198bc0","hex_latitude":"0720b290","is_valid_coordinates":true} 
[2026-08-28 16:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:37:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706253568001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:37:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15951216479567872,"note":"Value kept but may cause issues"} 
[2026-08-28 16:37:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840776009556856832,"note":"Value kept but may cause issues"} 
[2026-08-28 16:37:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:37:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787915074000,"timestamp_ms":1787915074000,"timestamp_seconds":1787915074,"priority":1,"record_length":96,"hex_timestamp":"000001a0480af9d0"} 
[2026-08-28 16:37:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:37:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-28 16:37:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:37:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:37:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:37:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:37:16] local.INFO: Teltonika packet parsed successfully {"connection_id":164837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:37:16] local.INFO: Passing IMEI to GPS processor {"connection_id":164837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:37:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":164837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:37:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:37:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:37:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:37:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706253568001,"66":12874,"103":206,"83":41984,"24":0,"16":15951216479567872,"45":1840776009556856832},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 16:37:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:37:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:37:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706253568001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:37:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 16:37:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 16:37:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15951216479567872,"km_value":15951216479567.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:37:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840776009556856832,"description":"Unknown IO ID 45"} 
[2026-08-28 16:37:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706253568001,"power":12874,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840776009556856832}} 
[2026-08-28 16:37:16] 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":708717,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:37:16] local.INFO: GPS data processed {"connection_id":164837,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:37:16] local.INFO: Acknowledgment sent {"connection_id":164837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:37:30] local.INFO: TCP Data received {"connection_id":166197,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:37:30] local.INFO: Processing buffer {"connection_id":166197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:37:30] local.INFO: IMEI packet received {"connection_id":166197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 16:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":166197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:37:35] local.INFO: TCP Data received {"connection_id":166197,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:37:35] local.INFO: Processing buffer {"connection_id":166197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:37:35] local.INFO: IMEI packet received {"connection_id":166197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 16:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":166197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:37:35] local.INFO: TCP Data received {"connection_id":163840,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0480a51d8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0480a51d8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:37:35] local.INFO: Processing buffer {"connection_id":163840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0480a51d8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:37:35] local.INFO: Packet analysis {"connection_id":163840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0480a"} 
[2026-08-28 16:37:35] local.INFO: Extracted packet for processing {"connection_id":163840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0480a"} 
[2026-08-28 16:37:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706170880001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:37:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787915031000,"timestamp_ms":1787915031000,"timestamp_seconds":1787915031,"priority":1,"record_length":96,"hex_timestamp":"000001a0480a51d8"} 
[2026-08-28 16:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:37:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 16:37:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:37:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163840,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163840,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:37:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706170880001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706170880001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:37:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:37:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:37:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706170880001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":163840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708718,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:37:36] local.INFO: GPS data processed {"connection_id":163840,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:37:36] local.INFO: Acknowledgment sent {"connection_id":163840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:37:37] local.INFO: TCP Data received {"connection_id":166197,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0480c6130012d34c14006aa4840000b00e628..."} 
[2026-08-28 16:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0480c6130012d34c14006aa4840000b00e628..."} 
[2026-08-28 16:37:37] local.INFO: Processing buffer {"connection_id":166197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0480c6130012d34c14006aa4840000b00e628..."} 
[2026-08-28 16:37:37] local.INFO: Packet analysis {"connection_id":166197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0480c"} 
[2026-08-28 16:37:37] local.INFO: Extracted packet for processing {"connection_id":166197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0480c"} 
[2026-08-28 16:37:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706205440001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787915166000,"timestamp_ms":1787915166000,"timestamp_seconds":1787915166,"priority":1,"record_length":96,"hex_timestamp":"000001a0480c6130"} 
[2026-08-28 16:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 16:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":166197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":166197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":166197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706205440001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706205440001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:37:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:37:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:37: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-28 16:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706205440001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":166197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:37:37] local.INFO: GPS data processed {"connection_id":166197,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:37:37] local.INFO: Acknowledgment sent {"connection_id":166197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:37:47] local.INFO: TCP Data received {"connection_id":164837,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0480b4bd8012d198bc00720b290003a00f925..."} 
[2026-08-28 16:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0480b4bd8012d198bc00720b290003a00f925..."} 
[2026-08-28 16:37:47] local.INFO: Processing buffer {"connection_id":164837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0480b4bd8012d198bc00720b290003a00f925..."} 
[2026-08-28 16:37:47] local.INFO: Packet analysis {"connection_id":164837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0480b"} 
[2026-08-28 16:37:47] local.INFO: Extracted packet for processing {"connection_id":164837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0480b"} 
[2026-08-28 16:37:47] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119583376,"longitude_deg":75.6648896,"latitude_deg":11.9583376,"altitude":58,"angle":249,"satellites":37,"speed":0,"hex_longitude":"2d198bc0","hex_latitude":"0720b290","is_valid_coordinates":true} 
[2026-08-28 16:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:37:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706258944001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15951216479567872,"note":"Value kept but may cause issues"} 
[2026-08-28 16:37:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840776009556856832,"note":"Value kept but may cause issues"} 
[2026-08-28 16:37:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787915095000,"timestamp_ms":1787915095000,"timestamp_seconds":1787915095,"priority":1,"record_length":96,"hex_timestamp":"000001a0480b4bd8"} 
[2026-08-28 16:37:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:37:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-08-28 16:37:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:37:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:37:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:37:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706258944001,"66":13015,"103":206,"83":41984,"24":0,"16":15951216479567872,"45":1840776009556856832},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 16:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706258944001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:37:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 16:37:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 16:37:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15951216479567872,"km_value":15951216479567.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:37:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840776009556856832,"description":"Unknown IO ID 45"} 
[2026-08-28 16:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706258944001,"power":13015,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840776009556856832}} 
[2026-08-28 16:37:48] 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":708720,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:37:48] local.INFO: GPS data processed {"connection_id":164837,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:37:48] local.INFO: Acknowledgment sent {"connection_id":164837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:37:56] local.INFO: TCP Data received {"connection_id":166198,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166198,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:37:56] local.INFO: Processing buffer {"connection_id":166198,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:37:56] local.INFO: IMEI packet received {"connection_id":166198,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 16:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":166198,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:38:01] local.INFO: TCP Data received {"connection_id":166198,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166198,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:38:01] local.INFO: Processing buffer {"connection_id":166198,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:38:01] local.INFO: IMEI packet received {"connection_id":166198,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 16:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":166198,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:38:04] local.INFO: TCP Data received {"connection_id":166198,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0480a51d8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0480a51d8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:38:04] local.INFO: Processing buffer {"connection_id":166198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0480a51d8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:38:04] local.INFO: Packet analysis {"connection_id":166198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0480a"} 
[2026-08-28 16:38:04] local.INFO: Extracted packet for processing {"connection_id":166198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0480a"} 
[2026-08-28 16:38:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706170880001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:38:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787915031000,"timestamp_ms":1787915031000,"timestamp_seconds":1787915031,"priority":1,"record_length":96,"hex_timestamp":"000001a0480a51d8"} 
[2026-08-28 16:38:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:38:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 16:38:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:38:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:38:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":166198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":166198,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":166198,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:38:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706170880001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706170880001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:38:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:38:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706170880001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":166198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708721,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:38:04] local.INFO: GPS data processed {"connection_id":166198,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:38:04] local.INFO: Acknowledgment sent {"connection_id":166198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:38:08] local.INFO: TCP Data received {"connection_id":166197,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0480c6130012d34c14006aa4840000b00e628..."} 
[2026-08-28 16:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0480c6130012d34c14006aa4840000b00e628..."} 
[2026-08-28 16:38:08] local.INFO: Processing buffer {"connection_id":166197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0480c6130012d34c14006aa4840000b00e628..."} 
[2026-08-28 16:38:08] local.INFO: Packet analysis {"connection_id":166197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0480c"} 
[2026-08-28 16:38:08] local.INFO: Extracted packet for processing {"connection_id":166197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0480c"} 
[2026-08-28 16:38:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706205440001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:38:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787915166000,"timestamp_ms":1787915166000,"timestamp_seconds":1787915166,"priority":1,"record_length":96,"hex_timestamp":"000001a0480c6130"} 
[2026-08-28 16:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:38: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-28 16:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 16:38: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-28 16:38:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":166197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":166197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":166197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706205440001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706205440001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:38:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:38:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:38: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-28 16:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706205440001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":166197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:38:08] local.INFO: GPS data processed {"connection_id":166197,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:38:08] local.INFO: Acknowledgment sent {"connection_id":166197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:38:10] local.INFO: TCP Data received {"connection_id":164838,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164838,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:38:10] local.INFO: Processing buffer {"connection_id":164838,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:38:10] local.INFO: IMEI packet received {"connection_id":164838,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 16:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":164838,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:38:16] local.INFO: TCP Data received {"connection_id":164838,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164838,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:38:16] local.INFO: Processing buffer {"connection_id":164838,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:38:16] local.INFO: IMEI packet received {"connection_id":164838,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 16:38:16] local.INFO: IMEI acknowledgment sent {"connection_id":164838,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:38:17] local.INFO: TCP Data received {"connection_id":164838,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0480b9de0012d198bc00720b290003a00f928..."} 
[2026-08-28 16:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0480b9de0012d198bc00720b290003a00f928..."} 
[2026-08-28 16:38:17] local.INFO: Processing buffer {"connection_id":164838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0480b9de0012d198bc00720b290003a00f928..."} 
[2026-08-28 16:38:17] local.INFO: Packet analysis {"connection_id":164838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0480b"} 
[2026-08-28 16:38:17] local.INFO: Extracted packet for processing {"connection_id":164838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0480b"} 
[2026-08-28 16:38:17] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119583376,"longitude_deg":75.6648896,"latitude_deg":11.9583376,"altitude":58,"angle":249,"satellites":40,"speed":0,"hex_longitude":"2d198bc0","hex_latitude":"0720b290","is_valid_coordinates":true} 
[2026-08-28 16: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-28 16:38:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706264320001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:38:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15951216479567872,"note":"Value kept but may cause issues"} 
[2026-08-28 16:38:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840776009556856832,"note":"Value kept but may cause issues"} 
[2026-08-28 16:38:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:38:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787915116000,"timestamp_ms":1787915116000,"timestamp_seconds":1787915116,"priority":1,"record_length":96,"hex_timestamp":"000001a0480b9de0"} 
[2026-08-28 16: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-28 16:38:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-28 16:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-28 16:38:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16: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-28 16: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-28 16:38:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:38:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:38:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:38:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:38:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:38:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:38:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:38:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706264320001,"66":12950,"103":206,"83":41984,"24":0,"16":15951216479567872,"45":1840776009556856832},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 16:38:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:38:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:38:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706264320001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:38:17] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 16:38:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 16:38:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15951216479567872,"km_value":15951216479567.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:38:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840776009556856832,"description":"Unknown IO ID 45"} 
[2026-08-28 16:38:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706264320001,"power":12950,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840776009556856832}} 
[2026-08-28 16:38:17] 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":708723,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:38:17] local.INFO: GPS data processed {"connection_id":164838,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:38:17] local.INFO: Acknowledgment sent {"connection_id":164838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:38:31] local.INFO: TCP Data received {"connection_id":166199,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:38:31] local.INFO: Processing buffer {"connection_id":166199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:38:31] local.INFO: IMEI packet received {"connection_id":166199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 16:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":166199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:38:36] local.INFO: TCP Data received {"connection_id":166199,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:38:36] local.INFO: Processing buffer {"connection_id":166199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:38:36] local.INFO: IMEI packet received {"connection_id":166199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 16:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":166199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:38:37] local.INFO: TCP Data received {"connection_id":166198,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0480a51d8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0480a51d8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:38:37] local.INFO: Processing buffer {"connection_id":166198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0480a51d8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:38:37] local.INFO: Packet analysis {"connection_id":166198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0480a"} 
[2026-08-28 16:38:37] local.INFO: Extracted packet for processing {"connection_id":166198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0480a"} 
[2026-08-28 16:38:37] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706170880001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787915031000,"timestamp_ms":1787915031000,"timestamp_seconds":1787915031,"priority":1,"record_length":96,"hex_timestamp":"000001a0480a51d8"} 
[2026-08-28 16:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 16:38:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":166198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":166198,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":166198,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706170880001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706170880001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:38:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:38:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706170880001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":166198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708724,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:38:37] local.INFO: GPS data processed {"connection_id":166198,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:38:37] local.INFO: Acknowledgment sent {"connection_id":166198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:38:38] local.INFO: TCP Data received {"connection_id":166199,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0480c6130012d34c14006aa4840000b00e628..."} 
[2026-08-28 16:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0480c6130012d34c14006aa4840000b00e628..."} 
[2026-08-28 16:38:38] local.INFO: Processing buffer {"connection_id":166199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0480c6130012d34c14006aa4840000b00e628..."} 
[2026-08-28 16:38:38] local.INFO: Packet analysis {"connection_id":166199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0480c"} 
[2026-08-28 16:38:38] local.INFO: Extracted packet for processing {"connection_id":166199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0480c"} 
[2026-08-28 16:38:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706205440001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:38:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787915166000,"timestamp_ms":1787915166000,"timestamp_seconds":1787915166,"priority":1,"record_length":96,"hex_timestamp":"000001a0480c6130"} 
[2026-08-28 16:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:38: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-28 16:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 16:38: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-28 16:38:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":166199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":166199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":166199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:38:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706205440001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706205440001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:38:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:38:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:38: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-28 16:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706205440001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":166199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:38:38] local.INFO: GPS data processed {"connection_id":166199,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:38:38] local.INFO: Acknowledgment sent {"connection_id":166199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:38:48] local.INFO: TCP Data received {"connection_id":164838,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0480befe8012d198bc00720b290003a00f926..."} 
[2026-08-28 16:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0480befe8012d198bc00720b290003a00f926..."} 
[2026-08-28 16:38:48] local.INFO: Processing buffer {"connection_id":164838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0480befe8012d198bc00720b290003a00f926..."} 
[2026-08-28 16:38:48] local.INFO: Packet analysis {"connection_id":164838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0480b"} 
[2026-08-28 16:38:48] local.INFO: Extracted packet for processing {"connection_id":164838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0480b"} 
[2026-08-28 16:38:48] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119583376,"longitude_deg":75.6648896,"latitude_deg":11.9583376,"altitude":58,"angle":249,"satellites":38,"speed":0,"hex_longitude":"2d198bc0","hex_latitude":"0720b290","is_valid_coordinates":true} 
[2026-08-28 16: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-28 16:38:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706269696001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:38:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15951216479567872,"note":"Value kept but may cause issues"} 
[2026-08-28 16:38:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840776009556856832,"note":"Value kept but may cause issues"} 
[2026-08-28 16:38:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:38:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787915137000,"timestamp_ms":1787915137000,"timestamp_seconds":1787915137,"priority":1,"record_length":96,"hex_timestamp":"000001a0480befe8"} 
[2026-08-28 16: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-28 16:38:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-28 16:38:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16: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-28 16: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-28 16:38:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:38:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:38:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:38:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:38:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:38:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:38:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:38:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706269696001,"66":12950,"103":206,"83":41984,"24":0,"16":15951216479567872,"45":1840776009556856832},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 16:38:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:38:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:38:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706269696001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:38:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 16:38:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 16:38:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15951216479567872,"km_value":15951216479567.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:38:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840776009556856832,"description":"Unknown IO ID 45"} 
[2026-08-28 16:38:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706269696001,"power":12950,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840776009556856832}} 
[2026-08-28 16:38:48] 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":708726,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:38:48] local.INFO: GPS data processed {"connection_id":164838,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:38:48] local.INFO: Acknowledgment sent {"connection_id":164838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:39:01] local.INFO: TCP Data received {"connection_id":163841,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163841,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:39:01] local.INFO: Processing buffer {"connection_id":163841,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:39:01] local.INFO: IMEI packet received {"connection_id":163841,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 16:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":163841,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:39:06] local.INFO: TCP Data received {"connection_id":163841,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163841,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:39:06] local.INFO: Processing buffer {"connection_id":163841,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:39:06] local.INFO: IMEI packet received {"connection_id":163841,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 16:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":163841,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:39:08] local.INFO: TCP Data received {"connection_id":163841,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0480a51d8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0480a51d8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:39:08] local.INFO: Processing buffer {"connection_id":163841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0480a51d8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:39:08] local.INFO: Packet analysis {"connection_id":163841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0480a"} 
[2026-08-28 16:39:08] local.INFO: Extracted packet for processing {"connection_id":163841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0480a"} 
[2026-08-28 16:39:08] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706170880001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:39:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787915031000,"timestamp_ms":1787915031000,"timestamp_seconds":1787915031,"priority":1,"record_length":96,"hex_timestamp":"000001a0480a51d8"} 
[2026-08-28 16:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:39:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 16:39: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-28 16:39:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163841,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163841,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:39:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706170880001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706170880001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:39:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:39:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706170880001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":163841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708727,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:39:08] local.INFO: GPS data processed {"connection_id":163841,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:39:08] local.INFO: Acknowledgment sent {"connection_id":163841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:39:10] local.INFO: TCP Data received {"connection_id":163567,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:39:10] local.INFO: Processing buffer {"connection_id":163567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:39:10] local.INFO: IMEI packet received {"connection_id":163567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 16:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":163567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:39:11] local.INFO: TCP Data received {"connection_id":166199,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0480c6130012d34c14006aa4840000b00e628..."} 
[2026-08-28 16:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0480c6130012d34c14006aa4840000b00e628..."} 
[2026-08-28 16:39:11] local.INFO: Processing buffer {"connection_id":166199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0480c6130012d34c14006aa4840000b00e628..."} 
[2026-08-28 16:39:11] local.INFO: Packet analysis {"connection_id":166199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0480c"} 
[2026-08-28 16:39:11] local.INFO: Extracted packet for processing {"connection_id":166199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0480c"} 
[2026-08-28 16:39:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706205440001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:39:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787915166000,"timestamp_ms":1787915166000,"timestamp_seconds":1787915166,"priority":1,"record_length":96,"hex_timestamp":"000001a0480c6130"} 
[2026-08-28 16:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:39: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-28 16:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 16:39:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:39:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":166199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":166199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":166199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706205440001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706205440001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:39:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:39:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:39: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-28 16:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706205440001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":166199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:39:11] local.INFO: GPS data processed {"connection_id":166199,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:39:11] local.INFO: Acknowledgment sent {"connection_id":166199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:39:12] local.INFO: TCP Data received {"connection_id":163841,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0480a51d8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0480a51d8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:39:12] local.INFO: Processing buffer {"connection_id":163841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0480a51d8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:39:12] local.INFO: Packet analysis {"connection_id":163841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0480a"} 
[2026-08-28 16:39:12] local.INFO: Extracted packet for processing {"connection_id":163841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0480a"} 
[2026-08-28 16:39:12] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:39:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:39:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706170880001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:39:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:39:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:39:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:39:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787915031000,"timestamp_ms":1787915031000,"timestamp_seconds":1787915031,"priority":1,"record_length":96,"hex_timestamp":"000001a0480a51d8"} 
[2026-08-28 16:39:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:39:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:39:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 16:39:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:39:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:39:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:39:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:39:12] local.INFO: Teltonika packet parsed successfully {"connection_id":163841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:39:12] local.INFO: Passing IMEI to GPS processor {"connection_id":163841,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:39:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":163841,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:39:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:39:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:39:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:39:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706170880001,"66":25462,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:39:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:39:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:39:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706170880001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:39:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:39:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:39:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:39:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:39:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706170880001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:39:12] local.INFO: DEBUG: GPS processor result {"connection_id":163841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708729,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:39:12] local.INFO: GPS data processed {"connection_id":163841,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:39:12] local.INFO: Acknowledgment sent {"connection_id":163841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:39:16] local.INFO: TCP Data received {"connection_id":163567,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:39:16] local.INFO: Processing buffer {"connection_id":163567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:39:16] local.INFO: IMEI packet received {"connection_id":163567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 16:39:16] local.INFO: IMEI acknowledgment sent {"connection_id":163567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:39:17] local.INFO: TCP Data received {"connection_id":163567,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0480c3e08012d198bc00720b290003a00f925..."} 
[2026-08-28 16:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0480c3e08012d198bc00720b290003a00f925..."} 
[2026-08-28 16:39:17] local.INFO: Processing buffer {"connection_id":163567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0480c3e08012d198bc00720b290003a00f925..."} 
[2026-08-28 16:39:17] local.INFO: Packet analysis {"connection_id":163567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0480c"} 
[2026-08-28 16:39:17] local.INFO: Extracted packet for processing {"connection_id":163567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0480c"} 
[2026-08-28 16:39:17] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119583376,"longitude_deg":75.6648896,"latitude_deg":11.9583376,"altitude":58,"angle":249,"satellites":37,"speed":0,"hex_longitude":"2d198bc0","hex_latitude":"0720b290","is_valid_coordinates":true} 
[2026-08-28 16: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-28 16:39:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706275072001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:39:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15951216479567872,"note":"Value kept but may cause issues"} 
[2026-08-28 16:39:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840776009556856832,"note":"Value kept but may cause issues"} 
[2026-08-28 16:39:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:39:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787915157000,"timestamp_ms":1787915157000,"timestamp_seconds":1787915157,"priority":1,"record_length":96,"hex_timestamp":"000001a0480c3e08"} 
[2026-08-28 16: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-28 16:39:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-28 16: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-28 16:39:17] 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-28 16: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-28 16: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-28 16:39:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:39:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:39:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:39:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:39:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:39:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:39:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:39:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706275072001,"66":12950,"103":206,"83":41984,"24":0,"16":15951216479567872,"45":1840776009556856832},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 16:39:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:39:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:39:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706275072001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:39:17] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 16:39:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 16:39:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15951216479567872,"km_value":15951216479567.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:39:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840776009556856832,"description":"Unknown IO ID 45"} 
[2026-08-28 16:39:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706275072001,"power":12950,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840776009556856832}} 
[2026-08-28 16:39:17] 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":708730,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:39:17] local.INFO: GPS data processed {"connection_id":163567,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:39:17] local.INFO: Acknowledgment sent {"connection_id":163567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:39:30] local.INFO: TCP Data received {"connection_id":166200,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:39:30] local.INFO: Processing buffer {"connection_id":166200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:39:30] local.INFO: IMEI packet received {"connection_id":166200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 16:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":166200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:39:36] local.INFO: TCP Data received {"connection_id":166200,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:39:36] local.INFO: Processing buffer {"connection_id":166200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:39:36] local.INFO: IMEI packet received {"connection_id":166200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 16:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":166200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:39:37] local.INFO: TCP Data received {"connection_id":166200,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0480c6130012d34c14006aa4840000b00e628..."} 
[2026-08-28 16:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0480c6130012d34c14006aa4840000b00e628..."} 
[2026-08-28 16:39:37] local.INFO: Processing buffer {"connection_id":166200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0480c6130012d34c14006aa4840000b00e628..."} 
[2026-08-28 16:39:37] local.INFO: Packet analysis {"connection_id":166200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0480c"} 
[2026-08-28 16:39:37] local.INFO: Extracted packet for processing {"connection_id":166200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0480c"} 
[2026-08-28 16:39:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706205440001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787915166000,"timestamp_ms":1787915166000,"timestamp_seconds":1787915166,"priority":1,"record_length":96,"hex_timestamp":"000001a0480c6130"} 
[2026-08-28 16:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 16:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":166200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":166200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":166200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706205440001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706205440001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:39:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:39:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:39: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-28 16:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706205440001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":166200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:39:37] local.INFO: GPS data processed {"connection_id":166200,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:39:37] local.INFO: Acknowledgment sent {"connection_id":166200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:39:48] local.INFO: TCP Data received {"connection_id":163567,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0480c9010012d198bc00720b290003a00f923..."} 
[2026-08-28 16:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0480c9010012d198bc00720b290003a00f923..."} 
[2026-08-28 16:39:48] local.INFO: Processing buffer {"connection_id":163567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0480c9010012d198bc00720b290003a00f923..."} 
[2026-08-28 16:39:48] local.INFO: Packet analysis {"connection_id":163567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0480c"} 
[2026-08-28 16:39:48] local.INFO: Extracted packet for processing {"connection_id":163567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0480c"} 
[2026-08-28 16:39:48] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119583376,"longitude_deg":75.6648896,"latitude_deg":11.9583376,"altitude":58,"angle":249,"satellites":35,"speed":0,"hex_longitude":"2d198bc0","hex_latitude":"0720b290","is_valid_coordinates":true} 
[2026-08-28 16:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:39:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706280192001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:39:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15951216479567872,"note":"Value kept but may cause issues"} 
[2026-08-28 16:39:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840776009556856832,"note":"Value kept but may cause issues"} 
[2026-08-28 16:39:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:39:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787915178000,"timestamp_ms":1787915178000,"timestamp_seconds":1787915178,"priority":1,"record_length":96,"hex_timestamp":"000001a0480c9010"} 
[2026-08-28 16:39:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:39:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-28 16:39:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:39:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:39:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:39:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:39:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:39:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:39:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:39:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:39:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:39:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:39:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706280192001,"66":12928,"103":206,"83":41984,"24":0,"16":15951216479567872,"45":1840776009556856832},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 16:39:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:39:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:39:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706280192001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:39:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 16:39:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 16:39:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15951216479567872,"km_value":15951216479567.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:39:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840776009556856832,"description":"Unknown IO ID 45"} 
[2026-08-28 16:39:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706280192001,"power":12928,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840776009556856832}} 
[2026-08-28 16:39:48] 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":708732,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:39:48] local.INFO: GPS data processed {"connection_id":163567,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:39:48] local.INFO: Acknowledgment sent {"connection_id":163567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:39:56] local.INFO: TCP Data received {"connection_id":166201,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166201,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:39:56] local.INFO: Processing buffer {"connection_id":166201,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:39:56] local.INFO: IMEI packet received {"connection_id":166201,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 16:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":166201,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:40:01] local.INFO: TCP Data received {"connection_id":166201,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166201,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:40:01] local.INFO: Processing buffer {"connection_id":166201,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:40:01] local.INFO: IMEI packet received {"connection_id":166201,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 16:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":166201,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:40:02] local.INFO: TCP Data received {"connection_id":166201,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0480ee9a0012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0480ee9a0012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:40:02] local.INFO: Processing buffer {"connection_id":166201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0480ee9a0012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:40:02] local.INFO: Packet analysis {"connection_id":166201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0480e"} 
[2026-08-28 16:40:02] local.INFO: Extracted packet for processing {"connection_id":166201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0480e"} 
[2026-08-28 16:40:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706247936001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:40:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:40:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787915332000,"timestamp_ms":1787915332000,"timestamp_seconds":1787915332,"priority":1,"record_length":96,"hex_timestamp":"000001a0480ee9a0"} 
[2026-08-28 16:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:40:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 16:40: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-28 16:40:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":166201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":166201,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":166201,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:40:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706247936001,"66":25430,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706247936001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:40:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:40:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:40:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706247936001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":166201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708733,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:40:02] local.INFO: GPS data processed {"connection_id":166201,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:40:02] local.INFO: Acknowledgment sent {"connection_id":166201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:40:08] local.INFO: TCP Data received {"connection_id":166200,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0480c6130012d34c14006aa4840000b00e628..."} 
[2026-08-28 16:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0480c6130012d34c14006aa4840000b00e628..."} 
[2026-08-28 16:40:08] local.INFO: Processing buffer {"connection_id":166200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0480c6130012d34c14006aa4840000b00e628..."} 
[2026-08-28 16:40:08] local.INFO: Packet analysis {"connection_id":166200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0480c"} 
[2026-08-28 16:40:08] local.INFO: Extracted packet for processing {"connection_id":166200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0480c"} 
[2026-08-28 16:40:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706205440001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:40:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787915166000,"timestamp_ms":1787915166000,"timestamp_seconds":1787915166,"priority":1,"record_length":96,"hex_timestamp":"000001a0480c6130"} 
[2026-08-28 16:40:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:40: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-28 16:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 16:40: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-28 16:40:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:40:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":166200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":166200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":166200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:40:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706205440001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706205440001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:40:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:40:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:40: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-28 16:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706205440001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":166200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:40:08] local.INFO: GPS data processed {"connection_id":166200,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:40:08] local.INFO: Acknowledgment sent {"connection_id":166200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:40:10] local.INFO: TCP Data received {"connection_id":163568,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:40:10] local.INFO: Processing buffer {"connection_id":163568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:40:10] local.INFO: IMEI packet received {"connection_id":163568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 16:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":163568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:40:16] local.INFO: TCP Data received {"connection_id":163568,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:40:16] local.INFO: Processing buffer {"connection_id":163568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:40:16] local.INFO: IMEI packet received {"connection_id":163568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 16:40:16] local.INFO: IMEI acknowledgment sent {"connection_id":163568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:40:16] local.INFO: TCP Data received {"connection_id":163568,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0480ce218012d198bc00720b290003a00f91f..."} 
[2026-08-28 16:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0480ce218012d198bc00720b290003a00f91f..."} 
[2026-08-28 16:40:16] local.INFO: Processing buffer {"connection_id":163568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0480ce218012d198bc00720b290003a00f91f..."} 
[2026-08-28 16:40:16] local.INFO: Packet analysis {"connection_id":163568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0480c"} 
[2026-08-28 16:40:16] local.INFO: Extracted packet for processing {"connection_id":163568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0480c"} 
[2026-08-28 16:40:16] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119583376,"longitude_deg":75.6648896,"latitude_deg":11.9583376,"altitude":58,"angle":249,"satellites":31,"speed":0,"hex_longitude":"2d198bc0","hex_latitude":"0720b290","is_valid_coordinates":true} 
[2026-08-28 16: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-28 16:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706285568001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15951216479567872,"note":"Value kept but may cause issues"} 
[2026-08-28 16:40:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840776009556856832,"note":"Value kept but may cause issues"} 
[2026-08-28 16:40:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787915199000,"timestamp_ms":1787915199000,"timestamp_seconds":1787915199,"priority":1,"record_length":96,"hex_timestamp":"000001a0480ce218"} 
[2026-08-28 16: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-28 16:40:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16: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":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-08-28 16:40:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16: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-28 16: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-28 16:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:40:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706285568001,"66":12461,"103":206,"83":41984,"24":0,"16":15951216479567872,"45":1840776009556856832},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 16:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706285568001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:40:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 16:40:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 16:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15951216479567872,"km_value":15951216479567.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:40:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840776009556856832,"description":"Unknown IO ID 45"} 
[2026-08-28 16:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706285568001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840776009556856832}} 
[2026-08-28 16:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":163568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708735,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:40:16] local.INFO: GPS data processed {"connection_id":163568,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:40:16] local.INFO: Acknowledgment sent {"connection_id":163568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:40:30] local.INFO: TCP Data received {"connection_id":163842,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:40:30] local.INFO: Processing buffer {"connection_id":163842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:40:30] local.INFO: IMEI packet received {"connection_id":163842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 16:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":163842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:40:34] local.INFO: TCP Data received {"connection_id":166201,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0480ee9a0012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0480ee9a0012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:40:34] local.INFO: Processing buffer {"connection_id":166201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0480ee9a0012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:40:34] local.INFO: Packet analysis {"connection_id":166201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0480e"} 
[2026-08-28 16:40:34] local.INFO: Extracted packet for processing {"connection_id":166201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0480e"} 
[2026-08-28 16:40:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706247936001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:40:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787915332000,"timestamp_ms":1787915332000,"timestamp_seconds":1787915332,"priority":1,"record_length":96,"hex_timestamp":"000001a0480ee9a0"} 
[2026-08-28 16:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:40:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 16:40:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:40:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":166201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":166201,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":166201,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:40:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706247936001,"66":25430,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706247936001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:40:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:40:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706247936001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":166201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708736,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:40:34] local.INFO: GPS data processed {"connection_id":166201,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:40:34] local.INFO: Acknowledgment sent {"connection_id":166201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:40:35] local.INFO: TCP Data received {"connection_id":163842,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:40:35] local.INFO: Processing buffer {"connection_id":163842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:40:35] local.INFO: IMEI packet received {"connection_id":163842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 16:40:35] local.INFO: IMEI acknowledgment sent {"connection_id":163842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:40:38] local.INFO: TCP Data received {"connection_id":163842,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0480c6130012d34c14006aa4840000b00e628..."} 
[2026-08-28 16:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0480c6130012d34c14006aa4840000b00e628..."} 
[2026-08-28 16:40:38] local.INFO: Processing buffer {"connection_id":163842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0480c6130012d34c14006aa4840000b00e628..."} 
[2026-08-28 16:40:38] local.INFO: Packet analysis {"connection_id":163842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0480c"} 
[2026-08-28 16:40:38] local.INFO: Extracted packet for processing {"connection_id":163842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0480c"} 
[2026-08-28 16:40:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706205440001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:40:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787915166000,"timestamp_ms":1787915166000,"timestamp_seconds":1787915166,"priority":1,"record_length":96,"hex_timestamp":"000001a0480c6130"} 
[2026-08-28 16:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:40: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-28 16:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 16:40: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-28 16:40:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:40:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706205440001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706205440001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:40:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:40:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:40: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-28 16:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706205440001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":163842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:40:38] local.INFO: GPS data processed {"connection_id":163842,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:40:38] local.INFO: Acknowledgment sent {"connection_id":163842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:40:47] local.INFO: TCP Data received {"connection_id":163568,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0480d3420012d198bc00720b290003a00f920..."} 
[2026-08-28 16:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0480d3420012d198bc00720b290003a00f920..."} 
[2026-08-28 16:40:47] local.INFO: Processing buffer {"connection_id":163568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0480d3420012d198bc00720b290003a00f920..."} 
[2026-08-28 16:40:47] local.INFO: Packet analysis {"connection_id":163568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0480d"} 
[2026-08-28 16:40:47] local.INFO: Extracted packet for processing {"connection_id":163568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0480d"} 
[2026-08-28 16:40:47] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119583376,"longitude_deg":75.6648896,"latitude_deg":11.9583376,"altitude":58,"angle":249,"satellites":32,"speed":0,"hex_longitude":"2d198bc0","hex_latitude":"0720b290","is_valid_coordinates":true} 
[2026-08-28 16:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:40:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706290944001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:40:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15951216479567872,"note":"Value kept but may cause issues"} 
[2026-08-28 16:40:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840776009556856832,"note":"Value kept but may cause issues"} 
[2026-08-28 16:40: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-28 16:40:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787915220000,"timestamp_ms":1787915220000,"timestamp_seconds":1787915220,"priority":1,"record_length":96,"hex_timestamp":"000001a0480d3420"} 
[2026-08-28 16:40:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:40:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 16:40:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:40:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:40:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:40:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:40:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:40:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:40:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:40:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:40:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:40:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:40:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706290944001,"66":12841,"103":206,"83":41984,"24":0,"16":15951216479567872,"45":1840776009556856832},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 16:40:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:40:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:40:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706290944001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:40:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 16:40:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 16:40:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15951216479567872,"km_value":15951216479567.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:40:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840776009556856832,"description":"Unknown IO ID 45"} 
[2026-08-28 16:40:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706290944001,"power":12841,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840776009556856832}} 
[2026-08-28 16:40:48] local.INFO: DEBUG: GPS processor result {"connection_id":163568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708738,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:40:48] local.INFO: GPS data processed {"connection_id":163568,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:40:48] local.INFO: Acknowledgment sent {"connection_id":163568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:40:56] local.INFO: TCP Data received {"connection_id":163843,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163843,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:40:56] local.INFO: Processing buffer {"connection_id":163843,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:40:56] local.INFO: IMEI packet received {"connection_id":163843,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 16:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":163843,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:41:01] local.INFO: TCP Data received {"connection_id":163843,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163843,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:41:01] local.INFO: Processing buffer {"connection_id":163843,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:41:01] local.INFO: IMEI packet received {"connection_id":163843,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 16:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":163843,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:41:03] local.INFO: TCP Data received {"connection_id":163843,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0480ee9a0012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0480ee9a0012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:41:03] local.INFO: Processing buffer {"connection_id":163843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0480ee9a0012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:41:03] local.INFO: Packet analysis {"connection_id":163843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0480e"} 
[2026-08-28 16:41:03] local.INFO: Extracted packet for processing {"connection_id":163843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0480e"} 
[2026-08-28 16:41:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706247936001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787915332000,"timestamp_ms":1787915332000,"timestamp_seconds":1787915332,"priority":1,"record_length":96,"hex_timestamp":"000001a0480ee9a0"} 
[2026-08-28 16:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:41:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 16:41:03] 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-28 16:41:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163843,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163843,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706247936001,"66":25430,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706247936001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:41:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:41:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706247936001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":163843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708739,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:41:03] local.INFO: GPS data processed {"connection_id":163843,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:41:03] local.INFO: Acknowledgment sent {"connection_id":163843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:41:10] local.INFO: TCP Data received {"connection_id":163842,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0480c6130012d34c14006aa4840000b00e628..."} 
[2026-08-28 16:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0480c6130012d34c14006aa4840000b00e628..."} 
[2026-08-28 16:41:10] local.INFO: Processing buffer {"connection_id":163842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0480c6130012d34c14006aa4840000b00e628..."} 
[2026-08-28 16:41:10] local.INFO: Packet analysis {"connection_id":163842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0480c"} 
[2026-08-28 16:41:10] local.INFO: Extracted packet for processing {"connection_id":163842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0480c"} 
[2026-08-28 16:41:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706205440001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:41:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:41:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787915166000,"timestamp_ms":1787915166000,"timestamp_seconds":1787915166,"priority":1,"record_length":96,"hex_timestamp":"000001a0480c6130"} 
[2026-08-28 16:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:41:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 16:41:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:41:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:41:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706205440001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706205440001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:41:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:41:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:41:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706205440001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":163842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:41:10] local.INFO: GPS data processed {"connection_id":163842,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:41:10] local.INFO: Acknowledgment sent {"connection_id":163842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:41:10] local.INFO: TCP Data received {"connection_id":164839,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164839,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:41:10] local.INFO: Processing buffer {"connection_id":164839,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:41:10] local.INFO: IMEI packet received {"connection_id":164839,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 16:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":164839,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:41:16] local.INFO: TCP Data received {"connection_id":164839,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164839,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:41:16] local.INFO: Processing buffer {"connection_id":164839,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:41:16] local.INFO: IMEI packet received {"connection_id":164839,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 16:41:16] local.INFO: IMEI acknowledgment sent {"connection_id":164839,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:41:17] local.INFO: TCP Data received {"connection_id":164839,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0480d8a10012d198bc00720b290003a00f921..."} 
[2026-08-28 16:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0480d8a10012d198bc00720b290003a00f921..."} 
[2026-08-28 16:41:17] local.INFO: Processing buffer {"connection_id":164839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0480d8a10012d198bc00720b290003a00f921..."} 
[2026-08-28 16:41:17] local.INFO: Packet analysis {"connection_id":164839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0480d"} 
[2026-08-28 16:41:17] local.INFO: Extracted packet for processing {"connection_id":164839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0480d"} 
[2026-08-28 16:41:17] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119583376,"longitude_deg":75.6648896,"latitude_deg":11.9583376,"altitude":58,"angle":249,"satellites":33,"speed":0,"hex_longitude":"2d198bc0","hex_latitude":"0720b290","is_valid_coordinates":true} 
[2026-08-28 16: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-28 16:41:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706296320001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:41:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15951216479567872,"note":"Value kept but may cause issues"} 
[2026-08-28 16:41:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840776009556856832,"note":"Value kept but may cause issues"} 
[2026-08-28 16:41:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:41:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787915242000,"timestamp_ms":1787915242000,"timestamp_seconds":1787915242,"priority":1,"record_length":96,"hex_timestamp":"000001a0480d8a10"} 
[2026-08-28 16: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-28 16:41:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-28 16: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-28 16:41:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16: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-28 16: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-28 16:41:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:41:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:41:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:41:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:41:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:41:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:41:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:41:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706296320001,"66":12841,"103":206,"83":41984,"24":0,"16":15951216479567872,"45":1840776009556856832},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 16:41:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:41:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:41:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706296320001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:41:17] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 16:41:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 16:41:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15951216479567872,"km_value":15951216479567.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:41:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840776009556856832,"description":"Unknown IO ID 45"} 
[2026-08-28 16:41:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706296320001,"power":12841,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840776009556856832}} 
[2026-08-28 16:41:17] local.INFO: DEBUG: GPS processor result {"connection_id":164839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708741,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:41:17] local.INFO: GPS data processed {"connection_id":164839,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:41:17] local.INFO: Acknowledgment sent {"connection_id":164839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:41:34] local.INFO: TCP Data received {"connection_id":163843,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0480ee9a0012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0480ee9a0012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:41:34] local.INFO: Processing buffer {"connection_id":163843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0480ee9a0012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:41:34] local.INFO: Packet analysis {"connection_id":163843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0480e"} 
[2026-08-28 16:41:34] local.INFO: Extracted packet for processing {"connection_id":163843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0480e"} 
[2026-08-28 16:41:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:41:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706247936001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:41:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:41:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:41:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:41:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787915332000,"timestamp_ms":1787915332000,"timestamp_seconds":1787915332,"priority":1,"record_length":96,"hex_timestamp":"000001a0480ee9a0"} 
[2026-08-28 16:41:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:41:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 16:41:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:41:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:41:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:41:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:41:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:41:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163843,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:41:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163843,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:41:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:41:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:41:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:41:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706247936001,"66":25430,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:41:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:41:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:41:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706247936001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:41:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:41:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:41:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:41:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:41:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706247936001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:41:34] local.INFO: DEBUG: GPS processor result {"connection_id":163843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708742,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:41:34] local.INFO: GPS data processed {"connection_id":163843,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:41:34] local.INFO: Acknowledgment sent {"connection_id":163843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:41:36] local.INFO: TCP Data received {"connection_id":164840,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:41:36] local.INFO: Processing buffer {"connection_id":164840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:41:36] local.INFO: IMEI packet received {"connection_id":164840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 16:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":164840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:41:40] local.INFO: TCP Data received {"connection_id":164840,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:41:40] local.INFO: Processing buffer {"connection_id":164840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:41:40] local.INFO: IMEI packet received {"connection_id":164840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 16:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":164840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:41:42] local.INFO: TCP Data received {"connection_id":164840,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0480c6130012d34c14006aa4840000b00e628..."} 
[2026-08-28 16:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0480c6130012d34c14006aa4840000b00e628..."} 
[2026-08-28 16:41:42] local.INFO: Processing buffer {"connection_id":164840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0480c6130012d34c14006aa4840000b00e628..."} 
[2026-08-28 16:41:42] local.INFO: Packet analysis {"connection_id":164840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0480c"} 
[2026-08-28 16:41:42] local.INFO: Extracted packet for processing {"connection_id":164840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0480c"} 
[2026-08-28 16:41:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706205440001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:41:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:41:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:41:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787915166000,"timestamp_ms":1787915166000,"timestamp_seconds":1787915166,"priority":1,"record_length":96,"hex_timestamp":"000001a0480c6130"} 
[2026-08-28 16:41:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:41: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-28 16:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 16:41: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-28 16:41:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:41:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":164840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":164840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":164840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:41:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:41:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:41:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:41:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706205440001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:41:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:41:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:41:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706205440001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:41:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:41:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16: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-28 16:41:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:41:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706205440001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:41:42] 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":708743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:41:42] local.INFO: GPS data processed {"connection_id":164840,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:41:42] local.INFO: Acknowledgment sent {"connection_id":164840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:41:46] local.INFO: TCP Data received {"connection_id":164840,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0480c6130012d34c14006aa4840000b00e628..."} 
[2026-08-28 16:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0480c6130012d34c14006aa4840000b00e628..."} 
[2026-08-28 16:41:46] local.INFO: Processing buffer {"connection_id":164840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0480c6130012d34c14006aa4840000b00e628..."} 
[2026-08-28 16:41:46] local.INFO: Packet analysis {"connection_id":164840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0480c"} 
[2026-08-28 16:41:46] local.INFO: Extracted packet for processing {"connection_id":164840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0480c"} 
[2026-08-28 16:41:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16: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-28 16:41:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706205440001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:41:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:41:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:41:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:41:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787915166000,"timestamp_ms":1787915166000,"timestamp_seconds":1787915166,"priority":1,"record_length":96,"hex_timestamp":"000001a0480c6130"} 
[2026-08-28 16: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-28 16:41: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-28 16: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 16:41:46] 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-28 16: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-28 16: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-28 16:41:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:41:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:41:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:41:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:41:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:41:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:41:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:41:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706205440001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:41:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:41:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:41:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706205440001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:41:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:41:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:41: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-28 16:41:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:41:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706205440001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:41:46] 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":708744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:41:46] local.INFO: GPS data processed {"connection_id":164840,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:41:46] local.INFO: Acknowledgment sent {"connection_id":164840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:41:48] local.INFO: TCP Data received {"connection_id":164839,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0480ddc18012d198bc00720b290003a00f924..."} 
[2026-08-28 16:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0480ddc18012d198bc00720b290003a00f924..."} 
[2026-08-28 16:41:48] local.INFO: Processing buffer {"connection_id":164839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0480ddc18012d198bc00720b290003a00f924..."} 
[2026-08-28 16:41:48] local.INFO: Packet analysis {"connection_id":164839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0480d"} 
[2026-08-28 16:41:48] local.INFO: Extracted packet for processing {"connection_id":164839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0480d"} 
[2026-08-28 16:41:48] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119583376,"longitude_deg":75.6648896,"latitude_deg":11.9583376,"altitude":58,"angle":249,"satellites":36,"speed":0,"hex_longitude":"2d198bc0","hex_latitude":"0720b290","is_valid_coordinates":true} 
[2026-08-28 16:41:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:41:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706301952001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:41:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15951216479567872,"note":"Value kept but may cause issues"} 
[2026-08-28 16:41:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840776009556856832,"note":"Value kept but may cause issues"} 
[2026-08-28 16:41:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:41:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787915263000,"timestamp_ms":1787915263000,"timestamp_seconds":1787915263,"priority":1,"record_length":96,"hex_timestamp":"000001a0480ddc18"} 
[2026-08-28 16:41:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:41:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:41:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-28 16:41:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:41:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:41:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:41:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:41:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:41:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:41:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:41:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:41:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:41:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:41:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706301952001,"66":12841,"103":206,"83":41984,"24":0,"16":15951216479567872,"45":1840776009556856832},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 16:41:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:41:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:41:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706301952001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:41:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 16:41:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 16:41:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15951216479567872,"km_value":15951216479567.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:41:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840776009556856832,"description":"Unknown IO ID 45"} 
[2026-08-28 16:41:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706301952001,"power":12841,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840776009556856832}} 
[2026-08-28 16:41:48] local.INFO: DEBUG: GPS processor result {"connection_id":164839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708745,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:41:48] local.INFO: GPS data processed {"connection_id":164839,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:41:48] local.INFO: Acknowledgment sent {"connection_id":164839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:41:56] local.INFO: TCP Data received {"connection_id":166202,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166202,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:41:56] local.INFO: Processing buffer {"connection_id":166202,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:41:56] local.INFO: IMEI packet received {"connection_id":166202,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 16:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":166202,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:42:01] local.INFO: TCP Data received {"connection_id":166202,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166202,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:42:01] local.INFO: Processing buffer {"connection_id":166202,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:42:01] local.INFO: IMEI packet received {"connection_id":166202,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 16:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":166202,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:42:03] local.INFO: TCP Data received {"connection_id":166202,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0480ee9a0012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0480ee9a0012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:42:03] local.INFO: Processing buffer {"connection_id":166202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0480ee9a0012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:42:03] local.INFO: Packet analysis {"connection_id":166202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0480e"} 
[2026-08-28 16:42:03] local.INFO: Extracted packet for processing {"connection_id":166202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0480e"} 
[2026-08-28 16:42:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706247936001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:42:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787915332000,"timestamp_ms":1787915332000,"timestamp_seconds":1787915332,"priority":1,"record_length":96,"hex_timestamp":"000001a0480ee9a0"} 
[2026-08-28 16:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:42:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 16:42:03] 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-28 16:42:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":166202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":166202,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":166202,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706247936001,"66":25430,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706247936001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:42:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:42:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706247936001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":166202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708746,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:42:03] local.INFO: GPS data processed {"connection_id":166202,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:42:03] local.INFO: Acknowledgment sent {"connection_id":166202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:42:11] local.INFO: TCP Data received {"connection_id":166203,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166203,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:42:11] local.INFO: Processing buffer {"connection_id":166203,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:42:11] local.INFO: IMEI packet received {"connection_id":166203,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 16:42:11] local.INFO: IMEI acknowledgment sent {"connection_id":166203,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:42:16] local.INFO: TCP Data received {"connection_id":166203,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166203,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:42:16] local.INFO: Processing buffer {"connection_id":166203,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:42:16] local.INFO: IMEI packet received {"connection_id":166203,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 16:42:16] local.INFO: IMEI acknowledgment sent {"connection_id":166203,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:42:21] local.INFO: TCP Data received {"connection_id":166203,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166203,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:42:21] local.INFO: Processing buffer {"connection_id":166203,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:42:21] local.INFO: IMEI packet received {"connection_id":166203,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 16:42:21] local.INFO: IMEI acknowledgment sent {"connection_id":166203,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:42:21] local.INFO: TCP Data received {"connection_id":166203,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0480e2e20012d198bc00720b290003a00f925..."} 
[2026-08-28 16:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0480e2e20012d198bc00720b290003a00f925..."} 
[2026-08-28 16:42:21] local.INFO: Processing buffer {"connection_id":166203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0480e2e20012d198bc00720b290003a00f925..."} 
[2026-08-28 16:42:21] local.INFO: Packet analysis {"connection_id":166203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0480e"} 
[2026-08-28 16:42:21] local.INFO: Extracted packet for processing {"connection_id":166203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0480e"} 
[2026-08-28 16:42:21] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119583376,"longitude_deg":75.6648896,"latitude_deg":11.9583376,"altitude":58,"angle":249,"satellites":37,"speed":0,"hex_longitude":"2d198bc0","hex_latitude":"0720b290","is_valid_coordinates":true} 
[2026-08-28 16:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:42:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706307328001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:42:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15951216479567872,"note":"Value kept but may cause issues"} 
[2026-08-28 16:42:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840776009556856832,"note":"Value kept but may cause issues"} 
[2026-08-28 16:42:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:42:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787915284000,"timestamp_ms":1787915284000,"timestamp_seconds":1787915284,"priority":1,"record_length":96,"hex_timestamp":"000001a0480e2e20"} 
[2026-08-28 16:42:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:42:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:42:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-28 16:42:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:42:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:42:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:42:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:42:21] local.INFO: Teltonika packet parsed successfully {"connection_id":166203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:42:21] local.INFO: Passing IMEI to GPS processor {"connection_id":166203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:42:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":166203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:42:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:42:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:42:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:42:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706307328001,"66":12819,"103":206,"83":41984,"24":0,"16":15951216479567872,"45":1840776009556856832},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 16:42:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:42:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:42:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706307328001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:42:21] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 16:42:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 16:42:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15951216479567872,"km_value":15951216479567.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:42:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840776009556856832,"description":"Unknown IO ID 45"} 
[2026-08-28 16:42:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706307328001,"power":12819,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840776009556856832}} 
[2026-08-28 16:42:21] local.INFO: DEBUG: GPS processor result {"connection_id":166203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708747,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:42:21] local.INFO: GPS data processed {"connection_id":166203,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:42:21] local.INFO: Acknowledgment sent {"connection_id":166203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:42:26] local.INFO: TCP Data received {"connection_id":166203,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0480e8028012d198bc00720b290003a00f926..."} 
[2026-08-28 16:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0480e8028012d198bc00720b290003a00f926..."} 
[2026-08-28 16:42:26] local.INFO: Processing buffer {"connection_id":166203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0480e8028012d198bc00720b290003a00f926..."} 
[2026-08-28 16:42:26] local.INFO: Packet analysis {"connection_id":166203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0480e"} 
[2026-08-28 16:42:26] local.INFO: Extracted packet for processing {"connection_id":166203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0480e"} 
[2026-08-28 16:42:26] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119583376,"longitude_deg":75.6648896,"latitude_deg":11.9583376,"altitude":58,"angle":249,"satellites":38,"speed":0,"hex_longitude":"2d198bc0","hex_latitude":"0720b290","is_valid_coordinates":true} 
[2026-08-28 16:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:42:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706312704001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:42:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15951216479567872,"note":"Value kept but may cause issues"} 
[2026-08-28 16:42:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840776009556856832,"note":"Value kept but may cause issues"} 
[2026-08-28 16:42:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:42:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787915305000,"timestamp_ms":1787915305000,"timestamp_seconds":1787915305,"priority":1,"record_length":96,"hex_timestamp":"000001a0480e8028"} 
[2026-08-28 16:42:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:42:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.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-28 16:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-28 16:42:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-08-28 16:42:26] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-28 16:42:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-28 16:42:26] local.WARNING: Large IO value detected {"io_id":171,"raw_value":2348810240,"note":"Value kept but may cause issues"} 
[2026-08-28 16:42:26] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-28 16:42:26] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503843023618048,"note":"Value kept but may cause issues"} 
[2026-08-28 16:42:26] local.WARNING: Large IO value detected {"io_id":72,"raw_value":860161145600314304,"note":"Value kept but may cause issues"} 
[2026-08-28 16:42:26] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2995781690,"note":"Value kept but may cause issues"} 
[2026-08-28 16:42:26] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5836929004162318592,"note":"Value kept but may cause issues"} 
[2026-08-28 16:42:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8675904093319069720,"corrected_to":0} 
[2026-08-28 16:42:26] local.WARNING: Large IO value detected {"io_id":144,"raw_value":16326618767163392,"note":"Value kept but may cause issues"} 
[2026-08-28 16:42:26] local.WARNING: Large IO value detected {"io_id":139,"raw_value":3221692594,"note":"Value kept but may cause issues"} 
[2026-08-28 16:42:26] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182186759946496,"note":"Value kept but may cause issues"} 
[2026-08-28 16:42:26] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-7637879051012485549,"note":"Value kept but may cause issues"} 
[2026-08-28 16:42:26] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2878078976,"note":"Value kept but may cause issues"} 
[2026-08-28 16:42:26] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2356103885715732774,"note":"Value kept but may cause issues"} 
[2026-08-28 16:42:26] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-28 16:42:26] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195050496,"note":"Value kept but may cause issues"} 
[2026-08-28 16:42:26] local.WARNING: Large IO value detected {"io_id":224,"raw_value":84752056002748594,"note":"Value kept but may cause issues"} 
[2026-08-28 16:42:26] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,103,83,24,241,157,16,171,160,220,45,192,178,58,36,10,66,138,33,52,1,240,41,227,72,32,4,113,205,144,139,35,239,50,2,56,7,164,140,69,224],"length":625,"final_offset":755,"validated_count":41,"validation_warnings":[{"io_id":205,"original":8675904093319069720,"validated":0}]} 
[2026-08-28 16:42:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179614391508926464,"timestamp_seconds":4179614391508926.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 16:42:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:42:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:42:26] local.INFO: Teltonika packet parsed successfully {"connection_id":166203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:42:26] local.INFO: Passing IMEI to GPS processor {"connection_id":166203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:42:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":166203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:42:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:42:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:42:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:42:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706312704001,"66":12809,"103":206,"83":41984,"24":0,"16":15951216479567872,"45":1840776009556856832},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 16:42:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:42:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:42:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706312704001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:42:26] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 16:42:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 16:42:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15951216479567872,"km_value":15951216479567.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:42:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840776009556856832,"description":"Unknown IO ID 45"} 
[2026-08-28 16:42:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706312704001,"power":12809,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840776009556856832}} 
[2026-08-28 16:42:26] local.INFO: DEBUG: GPS processor result {"connection_id":166203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708748,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:42:26] local.INFO: GPS data processed {"connection_id":166203,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:42:26] local.INFO: Acknowledgment sent {"connection_id":166203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:42:30] local.INFO: TCP Data received {"connection_id":164841,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:42:30] local.INFO: Processing buffer {"connection_id":164841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:42:30] local.INFO: IMEI packet received {"connection_id":164841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 16:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":164841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:42:35] local.INFO: TCP Data received {"connection_id":166202,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0480ee9a0012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0480ee9a0012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:42:35] local.INFO: Processing buffer {"connection_id":166202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0480ee9a0012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:42:35] local.INFO: Packet analysis {"connection_id":166202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0480e"} 
[2026-08-28 16:42:35] local.INFO: Extracted packet for processing {"connection_id":166202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0480e"} 
[2026-08-28 16:42:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706247936001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787915332000,"timestamp_ms":1787915332000,"timestamp_seconds":1787915332,"priority":1,"record_length":96,"hex_timestamp":"000001a0480ee9a0"} 
[2026-08-28 16:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:42:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 16:42:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:42:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":166202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":166202,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":166202,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706247936001,"66":25430,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706247936001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:42:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:42:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706247936001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":166202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708749,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:42:35] local.INFO: GPS data processed {"connection_id":166202,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:42:35] local.INFO: Acknowledgment sent {"connection_id":166202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:42:35] local.INFO: TCP Data received {"connection_id":164841,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:42:35] local.INFO: Processing buffer {"connection_id":164841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:42:35] local.INFO: IMEI packet received {"connection_id":164841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 16:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":164841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:42:39] local.INFO: TCP Data received {"connection_id":164841,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04810f8f8012d34c14006aa4840000f00e626..."} 
[2026-08-28 16:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04810f8f8012d34c14006aa4840000f00e626..."} 
[2026-08-28 16:42:39] local.INFO: Processing buffer {"connection_id":164841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04810f8f8012d34c14006aa4840000f00e626..."} 
[2026-08-28 16:42:39] local.INFO: Packet analysis {"connection_id":164841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04810"} 
[2026-08-28 16:42:39] local.INFO: Extracted packet for processing {"connection_id":164841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04810"} 
[2026-08-28 16:42:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:42:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706282496001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:42:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:42:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:42:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:42:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787915467000,"timestamp_ms":1787915467000,"timestamp_seconds":1787915467,"priority":1,"record_length":96,"hex_timestamp":"000001a04810f8f8"} 
[2026-08-28 16:42:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:42:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 16:42:39] 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-28 16:42:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:42:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:42:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:42:39] local.INFO: Teltonika packet parsed successfully {"connection_id":164841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:42:39] local.INFO: Passing IMEI to GPS processor {"connection_id":164841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:42:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":164841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:42:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:42:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:42:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:42:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706282496001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:42:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:42:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:42:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706282496001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:42:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:42:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:42:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:42:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:42:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706282496001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:42:39] 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":708750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:42:39] local.INFO: GPS data processed {"connection_id":164841,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:42:39] local.INFO: Acknowledgment sent {"connection_id":164841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:42:45] local.INFO: TCP Data received {"connection_id":166204,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166204,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:42:45] local.INFO: Processing buffer {"connection_id":166204,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:42:45] local.INFO: IMEI packet received {"connection_id":166204,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 16:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":166204,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:42:50] local.INFO: TCP Data received {"connection_id":166204,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166204,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:42:50] local.INFO: Processing buffer {"connection_id":166204,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:42:50] local.INFO: IMEI packet received {"connection_id":166204,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 16:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":166204,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:42:51] local.INFO: TCP Data received {"connection_id":166204,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a00000000000084d00100000000000000000000000000..."} 
[2026-08-28 16:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166204,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000084d00100000000000000000000000000..."} 
[2026-08-28 16:42:51] local.INFO: Processing buffer {"connection_id":166204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000084d00100000000000000000000000000..."} 
[2026-08-28 16:42:51] local.INFO: Packet analysis {"connection_id":166204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-28 16:42:51] local.INFO: Extracted packet for processing {"connection_id":166204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-28 16:42:51] 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-28 16:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231097343639552,"note":"Value kept but may cause issues"} 
[2026-08-28 16:42:51] 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-28 16:42:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":34000,"timestamp_seconds":34,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 16:42:51] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-28 16:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":166204,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":166204,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-28 16:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":166204,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-28 16:42:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-28 16:42:51] local.WARNING: DEBUG: No valid data to process  
[2026-08-28 16:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":166204,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-28 16:42:51] local.ERROR: GPS data processing failed {"connection_id":166204,"error":"No valid data to process"} 
[2026-08-28 16:42:51] local.INFO: Acknowledgment sent {"connection_id":166204,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-28 16:42:56] local.INFO: TCP Data received {"connection_id":166205,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166205,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:42:56] local.INFO: Processing buffer {"connection_id":166205,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:42:56] local.INFO: IMEI packet received {"connection_id":166205,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 16:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":166205,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:43:01] local.INFO: TCP Data received {"connection_id":166205,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166205,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:43:01] local.INFO: Processing buffer {"connection_id":166205,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:43:01] local.INFO: IMEI packet received {"connection_id":166205,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 16:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":166205,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:43:03] local.INFO: TCP Data received {"connection_id":166205,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0480ee9a0012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0480ee9a0012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:43:03] local.INFO: Processing buffer {"connection_id":166205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0480ee9a0012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:43:03] local.INFO: Packet analysis {"connection_id":166205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0480e"} 
[2026-08-28 16:43:03] local.INFO: Extracted packet for processing {"connection_id":166205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0480e"} 
[2026-08-28 16:43:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706247936001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787915332000,"timestamp_ms":1787915332000,"timestamp_seconds":1787915332,"priority":1,"record_length":96,"hex_timestamp":"000001a0480ee9a0"} 
[2026-08-28 16:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:43:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 16:43:03] 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-28 16:43:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":166205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":166205,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":166205,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706247936001,"66":25430,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706247936001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:43:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:43:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706247936001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":166205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708751,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:43:04] local.INFO: GPS data processed {"connection_id":166205,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:43:04] local.INFO: Acknowledgment sent {"connection_id":166205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:43:10] local.INFO: TCP Data received {"connection_id":164841,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04810f8f8012d34c14006aa4840000f00e626..."} 
[2026-08-28 16:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04810f8f8012d34c14006aa4840000f00e626..."} 
[2026-08-28 16:43:10] local.INFO: Processing buffer {"connection_id":164841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04810f8f8012d34c14006aa4840000f00e626..."} 
[2026-08-28 16:43:10] local.INFO: Packet analysis {"connection_id":164841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04810"} 
[2026-08-28 16:43:10] local.INFO: Extracted packet for processing {"connection_id":164841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04810"} 
[2026-08-28 16:43:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706282496001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787915467000,"timestamp_ms":1787915467000,"timestamp_seconds":1787915467,"priority":1,"record_length":96,"hex_timestamp":"000001a04810f8f8"} 
[2026-08-28 16:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 16:43:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:43:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":164841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":164841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":164841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706282496001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706282496001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:43:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:43:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:43:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706282496001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:43:10] 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":708752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:43:10] local.INFO: GPS data processed {"connection_id":164841,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:43:10] local.INFO: Acknowledgment sent {"connection_id":164841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:43:10] local.INFO: TCP Data received {"connection_id":163569,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163569,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:43:10] local.INFO: Processing buffer {"connection_id":163569,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:43:10] local.INFO: IMEI packet received {"connection_id":163569,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 16:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":163569,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:43:15] local.INFO: TCP Data received {"connection_id":163569,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163569,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:43:15] local.INFO: Processing buffer {"connection_id":163569,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:43:15] local.INFO: IMEI packet received {"connection_id":163569,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 16:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":163569,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:43:15] local.INFO: TCP Data received {"connection_id":163569,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0480ed230012d198bc00720b290003a00f923..."} 
[2026-08-28 16:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0480ed230012d198bc00720b290003a00f923..."} 
[2026-08-28 16:43:15] local.INFO: Processing buffer {"connection_id":163569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0480ed230012d198bc00720b290003a00f923..."} 
[2026-08-28 16:43:15] local.INFO: Packet analysis {"connection_id":163569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0480e"} 
[2026-08-28 16:43:15] local.INFO: Extracted packet for processing {"connection_id":163569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0480e"} 
[2026-08-28 16:43:15] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119583376,"longitude_deg":75.6648896,"latitude_deg":11.9583376,"altitude":58,"angle":249,"satellites":35,"speed":0,"hex_longitude":"2d198bc0","hex_latitude":"0720b290","is_valid_coordinates":true} 
[2026-08-28 16: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-28 16:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706318080001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15951216479567872,"note":"Value kept but may cause issues"} 
[2026-08-28 16:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840776009556856832,"note":"Value kept but may cause issues"} 
[2026-08-28 16:43:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787915326000,"timestamp_ms":1787915326000,"timestamp_seconds":1787915326,"priority":1,"record_length":96,"hex_timestamp":"000001a0480ed230"} 
[2026-08-28 16: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-28 16:43:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-28 16:43:15] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-28 16:43:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-28 16:43:15] local.WARNING: Large IO value detected {"io_id":171,"raw_value":2348810240,"note":"Value kept but may cause issues"} 
[2026-08-28 16:43:15] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-28 16:43:15] local.WARNING: Large IO value detected {"io_id":72,"raw_value":882151378155834304,"note":"Value kept but may cause issues"} 
[2026-08-28 16:43:15] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2995781690,"note":"Value kept but may cause issues"} 
[2026-08-28 16:43:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-28 16:43:15] local.WARNING: Large IO value detected {"io_id":139,"raw_value":3221692594,"note":"Value kept but may cause issues"} 
[2026-08-28 16:43:15] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2902510968,"note":"Value kept but may cause issues"} 
[2026-08-28 16:43:15] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2878078976,"note":"Value kept but may cause issues"} 
[2026-08-28 16:43:15] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2356103885715732773,"note":"Value kept but may cause issues"} 
[2026-08-28 16:43:15] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-9223146119846900141,"note":"Value kept but may cause issues"} 
[2026-08-28 16:43:15] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-28 16:43:15] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,103,83,24,241,157,16,171,160,46,45,192,178,58,37,10,66,220,36,138,1,240,41,227,72,32,4,113,205,226,139,144,31,239,48,2,56,7,50,164,140],"length":535,"final_offset":665,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-28 16:43:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179614395803893760,"timestamp_seconds":4179614395803894.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 16: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-28 16:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:43:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706318080001,"66":12798,"103":206,"83":41984,"24":0,"16":15951216479567872,"45":1840776009556856832},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 16:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706318080001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:43:15] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 16:43:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 16:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15951216479567872,"km_value":15951216479567.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840776009556856832,"description":"Unknown IO ID 45"} 
[2026-08-28 16:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706318080001,"power":12798,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840776009556856832}} 
[2026-08-28 16:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":163569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708753,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:43:15] local.INFO: GPS data processed {"connection_id":163569,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:43:15] local.INFO: Acknowledgment sent {"connection_id":163569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:43:22] local.INFO: TCP Data received {"connection_id":166204,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000000000000dea80100000000000000000000000000..."} 
[2026-08-28 16:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166204,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000dea80100000000000000000000000000..."} 
[2026-08-28 16:43:22] local.INFO: Processing buffer {"connection_id":166204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000dea80100000000000000000000000000..."} 
[2026-08-28 16:43:22] local.INFO: Packet analysis {"connection_id":166204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-28 16:43:22] local.INFO: Extracted packet for processing {"connection_id":166204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-28 16:43:22] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-28 16: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-28 16:43:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231097343639552,"note":"Value kept but may cause issues"} 
[2026-08-28 16:43:22] 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-28 16:43:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":57000,"timestamp_seconds":57,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 16:43:22] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:43:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-28 16:43:22] local.INFO: Teltonika packet parsed successfully {"connection_id":166204,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:43:22] local.INFO: Passing IMEI to GPS processor {"connection_id":166204,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-28 16:43:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":166204,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-28 16:43:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-28 16:43:22] local.WARNING: DEBUG: No valid data to process  
[2026-08-28 16:43:22] local.INFO: DEBUG: GPS processor result {"connection_id":166204,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-28 16:43:22] local.ERROR: GPS data processing failed {"connection_id":166204,"error":"No valid data to process"} 
[2026-08-28 16:43:22] local.INFO: Acknowledgment sent {"connection_id":166204,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-28 16:43:30] local.INFO: TCP Data received {"connection_id":166206,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:43:30] local.INFO: Processing buffer {"connection_id":166206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:43:30] local.INFO: IMEI packet received {"connection_id":166206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 16:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":166206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:43:35] local.INFO: TCP Data received {"connection_id":166206,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:43:35] local.INFO: Processing buffer {"connection_id":166206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:43:35] local.INFO: IMEI packet received {"connection_id":166206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 16:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":166206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:43:35] local.INFO: TCP Data received {"connection_id":166205,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0480ee9a0012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0480ee9a0012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:43:35] local.INFO: Processing buffer {"connection_id":166205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0480ee9a0012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:43:35] local.INFO: Packet analysis {"connection_id":166205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0480e"} 
[2026-08-28 16:43:35] local.INFO: Extracted packet for processing {"connection_id":166205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0480e"} 
[2026-08-28 16:43:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706247936001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:43:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:43:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787915332000,"timestamp_ms":1787915332000,"timestamp_seconds":1787915332,"priority":1,"record_length":96,"hex_timestamp":"000001a0480ee9a0"} 
[2026-08-28 16:43:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:43:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 16:43:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:43:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:43:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":166205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":166205,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":166205,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:43:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706247936001,"66":25430,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706247936001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:43:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:43:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:43:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:43:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706247936001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:43:35] local.INFO: DEBUG: GPS processor result {"connection_id":166205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708754,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:43:35] local.INFO: GPS data processed {"connection_id":166205,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:43:35] local.INFO: Acknowledgment sent {"connection_id":166205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:43:38] local.INFO: TCP Data received {"connection_id":166206,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04810f8f8012d34c14006aa4840000f00e626..."} 
[2026-08-28 16:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04810f8f8012d34c14006aa4840000f00e626..."} 
[2026-08-28 16:43:38] local.INFO: Processing buffer {"connection_id":166206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04810f8f8012d34c14006aa4840000f00e626..."} 
[2026-08-28 16:43:38] local.INFO: Packet analysis {"connection_id":166206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04810"} 
[2026-08-28 16:43:38] local.INFO: Extracted packet for processing {"connection_id":166206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04810"} 
[2026-08-28 16:43:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706282496001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:43:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787915467000,"timestamp_ms":1787915467000,"timestamp_seconds":1787915467,"priority":1,"record_length":96,"hex_timestamp":"000001a04810f8f8"} 
[2026-08-28 16:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:43: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-28 16:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 16:43: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-28 16:43:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":166206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":166206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":166206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:43:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706282496001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706282496001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:43:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:43:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:43: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-28 16:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706282496001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":166206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:43:38] local.INFO: GPS data processed {"connection_id":166206,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:43:38] local.INFO: Acknowledgment sent {"connection_id":166206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:43:46] local.INFO: TCP Data received {"connection_id":163569,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0480f2438012d198bc00720b290003a00f925..."} 
[2026-08-28 16:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0480f2438012d198bc00720b290003a00f925..."} 
[2026-08-28 16:43:46] local.INFO: Processing buffer {"connection_id":163569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0480f2438012d198bc00720b290003a00f925..."} 
[2026-08-28 16:43:46] local.INFO: Packet analysis {"connection_id":163569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0480f"} 
[2026-08-28 16:43:46] local.INFO: Extracted packet for processing {"connection_id":163569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0480f"} 
[2026-08-28 16:43:46] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119583376,"longitude_deg":75.6648896,"latitude_deg":11.9583376,"altitude":58,"angle":249,"satellites":37,"speed":0,"hex_longitude":"2d198bc0","hex_latitude":"0720b290","is_valid_coordinates":true} 
[2026-08-28 16:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:43:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706323456001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:43:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15951216479567872,"note":"Value kept but may cause issues"} 
[2026-08-28 16:43:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840776009556856832,"note":"Value kept but may cause issues"} 
[2026-08-28 16:43: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-28 16:43:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787915347000,"timestamp_ms":1787915347000,"timestamp_seconds":1787915347,"priority":1,"record_length":96,"hex_timestamp":"000001a0480f2438"} 
[2026-08-28 16:43:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:43:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:43:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-28 16:43:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:43:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:43:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:43:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:43:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:43:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:43:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:43:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:43:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:43:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:43:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706323456001,"66":12776,"103":206,"83":41984,"24":0,"16":15951216479567872,"45":1840776009556856832},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 16:43:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:43:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:43:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706323456001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:43:46] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 16:43:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 16:43:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15951216479567872,"km_value":15951216479567.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:43:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840776009556856832,"description":"Unknown IO ID 45"} 
[2026-08-28 16:43:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706323456001,"power":12776,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840776009556856832}} 
[2026-08-28 16:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":163569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708756,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:43:47] local.INFO: GPS data processed {"connection_id":163569,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:43:47] local.INFO: Acknowledgment sent {"connection_id":163569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:43:53] local.INFO: TCP Data received {"connection_id":166204,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a04812d970012d7b550005e142280032008008..."} 
[2026-08-28 16:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04812d970012d7b550005e142280032008008..."} 
[2026-08-28 16:43:53] local.INFO: Processing buffer {"connection_id":166204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04812d970012d7b550005e142280032008008..."} 
[2026-08-28 16:43:53] local.INFO: Packet analysis {"connection_id":166204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04812"} 
[2026-08-28 16:43:53] local.INFO: Extracted packet for processing {"connection_id":166204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04812"} 
[2026-08-28 16:43:53] local.INFO: GPS Element Parsed {"raw_longitude":763057408,"raw_latitude":98648616,"longitude_deg":76.3057408,"latitude_deg":9.8648616,"altitude":50,"angle":128,"satellites":8,"speed":1,"hex_longitude":"2d7b5500","hex_latitude":"05e14228","is_valid_coordinates":true} 
[2026-08-28 16:43:53] 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-28 16:43:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231097343639552,"note":"Value kept but may cause issues"} 
[2026-08-28 16:43:53] 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-28 16:43:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787915590000,"timestamp_ms":1787915590000,"timestamp_seconds":1787915590,"priority":1,"record_length":96,"hex_timestamp":"000001a04812d970"} 
[2026-08-28 16:43:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:43:53] 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-28 16:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 16:43:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:43:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:43:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:43:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:43:53] local.INFO: Teltonika packet parsed successfully {"connection_id":166204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:43:53] local.INFO: Passing IMEI to GPS processor {"connection_id":166204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 16:43:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":166204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 16:43:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:43:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 16:43:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 16:43:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12461,"217":206,"85":15104,"24":1,"16":125231097343639552},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16]} 
[2026-08-28 16:43:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 16:43:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 16:43:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-28 16:43:53] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 16:43:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 16:43:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231097343639552,"km_value":125231097343639.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:43:53] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12461,"unknown_217":206,"unknown_85":15104,"ignition":1,"odometer":null}} 
[2026-08-28 16:43:53] local.INFO: DEBUG: GPS processor result {"connection_id":166204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708757,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:43:53] local.INFO: GPS data processed {"connection_id":166204,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:43:53] local.INFO: Acknowledgment sent {"connection_id":166204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:44:01] local.INFO: TCP Data received {"connection_id":164842,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164842,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:44:01] local.INFO: Processing buffer {"connection_id":164842,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:44:01] local.INFO: IMEI packet received {"connection_id":164842,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 16:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":164842,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:44:06] local.INFO: TCP Data received {"connection_id":164842,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164842,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:44:06] local.INFO: Processing buffer {"connection_id":164842,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:44:06] local.INFO: IMEI packet received {"connection_id":164842,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 16:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":164842,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:44:08] local.INFO: TCP Data received {"connection_id":164842,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0480ee9a0012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0480ee9a0012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:44:08] local.INFO: Processing buffer {"connection_id":164842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0480ee9a0012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:44:08] local.INFO: Packet analysis {"connection_id":164842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0480e"} 
[2026-08-28 16:44:08] local.INFO: Extracted packet for processing {"connection_id":164842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0480e"} 
[2026-08-28 16:44:08] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706247936001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:44:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787915332000,"timestamp_ms":1787915332000,"timestamp_seconds":1787915332,"priority":1,"record_length":96,"hex_timestamp":"000001a0480ee9a0"} 
[2026-08-28 16:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 16:44:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:44:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164842,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164842,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706247936001,"66":25430,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706247936001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:44:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:44:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706247936001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":164842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708758,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:44:08] local.INFO: GPS data processed {"connection_id":164842,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:44:08] local.INFO: Acknowledgment sent {"connection_id":164842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:44:10] local.INFO: TCP Data received {"connection_id":166206,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04810f8f8012d34c14006aa4840000f00e626..."} 
[2026-08-28 16:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04810f8f8012d34c14006aa4840000f00e626..."} 
[2026-08-28 16:44:10] local.INFO: Processing buffer {"connection_id":166206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04810f8f8012d34c14006aa4840000f00e626..."} 
[2026-08-28 16:44:10] local.INFO: Packet analysis {"connection_id":166206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04810"} 
[2026-08-28 16:44:10] local.INFO: Extracted packet for processing {"connection_id":166206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04810"} 
[2026-08-28 16:44:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706282496001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:44:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:44:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787915467000,"timestamp_ms":1787915467000,"timestamp_seconds":1787915467,"priority":1,"record_length":96,"hex_timestamp":"000001a04810f8f8"} 
[2026-08-28 16:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:44:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 16:44:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:44:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":166206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":166206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":166206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:44:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706282496001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706282496001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:44:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:44:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:44:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706282496001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":166206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:44:10] local.INFO: GPS data processed {"connection_id":166206,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:44:10] local.INFO: Acknowledgment sent {"connection_id":166206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:44:10] local.INFO: TCP Data received {"connection_id":163844,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163844,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:44:10] local.INFO: Processing buffer {"connection_id":163844,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:44:10] local.INFO: IMEI packet received {"connection_id":163844,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 16:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":163844,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:44:12] local.INFO: TCP Data received {"connection_id":164842,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0480ee9a0012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0480ee9a0012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:44:12] local.INFO: Processing buffer {"connection_id":164842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0480ee9a0012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:44:12] local.INFO: Packet analysis {"connection_id":164842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0480e"} 
[2026-08-28 16:44:12] local.INFO: Extracted packet for processing {"connection_id":164842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0480e"} 
[2026-08-28 16:44:12] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:44:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:44:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706247936001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:44:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:44:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:44:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:44:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787915332000,"timestamp_ms":1787915332000,"timestamp_seconds":1787915332,"priority":1,"record_length":96,"hex_timestamp":"000001a0480ee9a0"} 
[2026-08-28 16:44:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:44:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:44:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 16:44:12] 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-28 16:44:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:44:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:44:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:44:12] local.INFO: Teltonika packet parsed successfully {"connection_id":164842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:44:12] local.INFO: Passing IMEI to GPS processor {"connection_id":164842,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:44:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":164842,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:44:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:44:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:44:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:44:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706247936001,"66":25430,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:44:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:44:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:44:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706247936001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:44:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:44:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:44:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:44:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:44:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706247936001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:44:12] local.INFO: DEBUG: GPS processor result {"connection_id":164842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708760,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:44:12] local.INFO: GPS data processed {"connection_id":164842,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:44:12] local.INFO: Acknowledgment sent {"connection_id":164842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:44:16] local.INFO: TCP Data received {"connection_id":163844,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163844,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:44:16] local.INFO: Processing buffer {"connection_id":163844,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:44:16] local.INFO: IMEI packet received {"connection_id":163844,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 16:44:16] local.INFO: IMEI acknowledgment sent {"connection_id":163844,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:44:16] local.INFO: TCP Data received {"connection_id":163844,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0480f7640012d198bc00720b290003a00f926..."} 
[2026-08-28 16:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0480f7640012d198bc00720b290003a00f926..."} 
[2026-08-28 16:44:16] local.INFO: Processing buffer {"connection_id":163844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0480f7640012d198bc00720b290003a00f926..."} 
[2026-08-28 16:44:16] local.INFO: Packet analysis {"connection_id":163844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0480f"} 
[2026-08-28 16:44:16] local.INFO: Extracted packet for processing {"connection_id":163844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0480f"} 
[2026-08-28 16:44:16] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119583376,"longitude_deg":75.6648896,"latitude_deg":11.9583376,"altitude":58,"angle":249,"satellites":38,"speed":0,"hex_longitude":"2d198bc0","hex_latitude":"0720b290","is_valid_coordinates":true} 
[2026-08-28 16:44:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:44:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706328832001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:44:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15951216479567872,"note":"Value kept but may cause issues"} 
[2026-08-28 16:44:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840776009556856832,"note":"Value kept but may cause issues"} 
[2026-08-28 16:44:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:44:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787915368000,"timestamp_ms":1787915368000,"timestamp_seconds":1787915368,"priority":1,"record_length":96,"hex_timestamp":"000001a0480f7640"} 
[2026-08-28 16:44:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:44:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:44:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-28 16:44:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:44:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:44:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:44:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:44:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:44:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:44:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:44:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:44:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:44:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:44:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706328832001,"66":12776,"103":206,"83":41984,"24":0,"16":15951216479567872,"45":1840776009556856832},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 16:44:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:44:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:44:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706328832001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:44:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 16:44:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 16:44:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15951216479567872,"km_value":15951216479567.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:44:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840776009556856832,"description":"Unknown IO ID 45"} 
[2026-08-28 16:44:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706328832001,"power":12776,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840776009556856832}} 
[2026-08-28 16:44:16] local.INFO: DEBUG: GPS processor result {"connection_id":163844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708761,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:44:16] local.INFO: GPS data processed {"connection_id":163844,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:44:16] local.INFO: Acknowledgment sent {"connection_id":163844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:44:23] local.INFO: TCP Data received {"connection_id":166204,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a04812e910012d7b554005e142400030008008..."} 
[2026-08-28 16:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04812e910012d7b554005e142400030008008..."} 
[2026-08-28 16:44:23] local.INFO: Processing buffer {"connection_id":166204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04812e910012d7b554005e142400030008008..."} 
[2026-08-28 16:44:23] local.INFO: Packet analysis {"connection_id":166204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04812"} 
[2026-08-28 16:44:23] local.INFO: Extracted packet for processing {"connection_id":166204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04812"} 
[2026-08-28 16:44:23] local.INFO: GPS Element Parsed {"raw_longitude":763057472,"raw_latitude":98648640,"longitude_deg":76.3057472,"latitude_deg":9.864864,"altitude":48,"angle":128,"satellites":8,"speed":0,"hex_longitude":"2d7b5540","hex_latitude":"05e14240","is_valid_coordinates":true} 
[2026-08-28 16: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-28 16:44:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706391040001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:44:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231101638606848,"note":"Value kept but may cause issues"} 
[2026-08-28 16:44:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8887009464939587584,"note":"Value kept but may cause issues"} 
[2026-08-28 16: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-28 16:44:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787915594000,"timestamp_ms":1787915594000,"timestamp_seconds":1787915594,"priority":1,"record_length":96,"hex_timestamp":"000001a04812e910"} 
[2026-08-28 16: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-28 16:44:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 16:44:23] 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-28 16:44:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16: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-28 16:44:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:44:23] local.INFO: Teltonika packet parsed successfully {"connection_id":166204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:44:23] local.INFO: Passing IMEI to GPS processor {"connection_id":166204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 16:44:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":166204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 16:44:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:44:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 16:44:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 16:44:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706391040001,"66":12461,"217":206,"85":15104,"24":0,"16":125231101638606848,"45":8887009464939587584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 16:44:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 16:44:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 16:44:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706391040001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:44:23] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 16:44:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 16:44:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231101638606848,"km_value":125231101638606.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:44:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8887009464939587584,"description":"Unknown IO ID 45"} 
[2026-08-28 16:44:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706391040001,"power":12461,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8887009464939587584}} 
[2026-08-28 16:44:24] local.INFO: DEBUG: GPS processor result {"connection_id":166204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708762,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:44:24] local.INFO: GPS data processed {"connection_id":166204,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:44:24] local.INFO: Acknowledgment sent {"connection_id":166204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:44:30] local.INFO: TCP Data received {"connection_id":166207,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:44:30] local.INFO: Processing buffer {"connection_id":166207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:44:30] local.INFO: IMEI packet received {"connection_id":166207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 16:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":166207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:44:35] local.INFO: TCP Data received {"connection_id":166207,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:44:35] local.INFO: Processing buffer {"connection_id":166207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:44:35] local.INFO: IMEI packet received {"connection_id":166207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 16:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":166207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:44:37] local.INFO: TCP Data received {"connection_id":166207,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04810f8f8012d34c14006aa4840000f00e626..."} 
[2026-08-28 16:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04810f8f8012d34c14006aa4840000f00e626..."} 
[2026-08-28 16:44:37] local.INFO: Processing buffer {"connection_id":166207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04810f8f8012d34c14006aa4840000f00e626..."} 
[2026-08-28 16:44:37] local.INFO: Packet analysis {"connection_id":166207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04810"} 
[2026-08-28 16:44:37] local.INFO: Extracted packet for processing {"connection_id":166207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04810"} 
[2026-08-28 16:44:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706282496001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787915467000,"timestamp_ms":1787915467000,"timestamp_seconds":1787915467,"priority":1,"record_length":96,"hex_timestamp":"000001a04810f8f8"} 
[2026-08-28 16:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 16:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:44:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":166207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":166207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":166207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706282496001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706282496001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:44:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:44:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:44: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-28 16:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706282496001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":166207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:44:37] local.INFO: GPS data processed {"connection_id":166207,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:44:37] local.INFO: Acknowledgment sent {"connection_id":166207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:44:47] local.INFO: TCP Data received {"connection_id":163844,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a04812fc98012d198bc00720b290003a00f928..."} 
[2026-08-28 16:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04812fc98012d198bc00720b290003a00f928..."} 
[2026-08-28 16:44:47] local.INFO: Processing buffer {"connection_id":163844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04812fc98012d198bc00720b290003a00f928..."} 
[2026-08-28 16:44:47] local.INFO: Packet analysis {"connection_id":163844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04812"} 
[2026-08-28 16:44:47] local.INFO: Extracted packet for processing {"connection_id":163844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04812"} 
[2026-08-28 16:44:47] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119583376,"longitude_deg":75.6648896,"latitude_deg":11.9583376,"altitude":58,"angle":249,"satellites":40,"speed":0,"hex_longitude":"2d198bc0","hex_latitude":"0720b290","is_valid_coordinates":true} 
[2026-08-28 16:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:44:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706387968001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:44:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15951216479567872,"note":"Value kept but may cause issues"} 
[2026-08-28 16:44:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840776009556856832,"note":"Value kept but may cause issues"} 
[2026-08-28 16:44:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:44:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787915599000,"timestamp_ms":1787915599000,"timestamp_seconds":1787915599,"priority":1,"record_length":96,"hex_timestamp":"000001a04812fc98"} 
[2026-08-28 16:44:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:44:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:44:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-28 16:44:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:44:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:44:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:44:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:44:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:44:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:44:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:44:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:44:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:44:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:44:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706387968001,"66":12613,"103":206,"83":41984,"24":0,"16":15951216479567872,"45":1840776009556856832},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 16:44:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:44:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:44:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706387968001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:44:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 16:44:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 16:44:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15951216479567872,"km_value":15951216479567.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:44:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840776009556856832,"description":"Unknown IO ID 45"} 
[2026-08-28 16:44:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706387968001,"power":12613,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840776009556856832}} 
[2026-08-28 16:44:48] local.INFO: DEBUG: GPS processor result {"connection_id":163844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708764,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:44:48] local.INFO: GPS data processed {"connection_id":163844,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:44:48] local.INFO: Acknowledgment sent {"connection_id":163844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:44:54] local.INFO: TCP Data received {"connection_id":166204,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a048133b18012d7b56c005e141e80034007f08..."} 
[2026-08-28 16:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048133b18012d7b56c005e141e80034007f08..."} 
[2026-08-28 16:44:54] local.INFO: Processing buffer {"connection_id":166204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048133b18012d7b56c005e141e80034007f08..."} 
[2026-08-28 16:44:54] local.INFO: Packet analysis {"connection_id":166204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04813"} 
[2026-08-28 16:44:54] local.INFO: Extracted packet for processing {"connection_id":166204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04813"} 
[2026-08-28 16:44:54] local.INFO: GPS Element Parsed {"raw_longitude":763057856,"raw_latitude":98648552,"longitude_deg":76.3057856,"latitude_deg":9.8648552,"altitude":52,"angle":127,"satellites":8,"speed":1,"hex_longitude":"2d7b56c0","hex_latitude":"05e141e8","is_valid_coordinates":true} 
[2026-08-28 16:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:44:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706392064001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:44:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8887079833683771392,"note":"Value kept but may cause issues"} 
[2026-08-28 16:44:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231131703377920,"note":"Value kept but may cause issues"} 
[2026-08-28 16:44:54] 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-28 16:44:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787915615000,"timestamp_ms":1787915615000,"timestamp_seconds":1787915615,"priority":1,"record_length":96,"hex_timestamp":"000001a048133b18"} 
[2026-08-28 16:44:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:44:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 16:44:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:44:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:44:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:44:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:44:54] local.INFO: Teltonika packet parsed successfully {"connection_id":166204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:44:54] local.INFO: Passing IMEI to GPS processor {"connection_id":166204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 16:44:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":166204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 16:44:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:44:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 16:44:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 16:44:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706392064001,"66":12461,"45":8887079833683771392,"85":15104,"24":1,"16":125231131703377920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-28 16:44:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 16:44:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 16:44:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706392064001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:44:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8887079833683771392,"description":"Unknown IO ID 45"} 
[2026-08-28 16:44:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 16:44:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231131703377920,"km_value":125231131703377.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:44:54] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457706392064001,"power":12461,"unknown_45":8887079833683771392,"unknown_85":15104,"ignition":1,"odometer":null}} 
[2026-08-28 16:44:54] local.INFO: DEBUG: GPS processor result {"connection_id":166204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708765,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:44:54] local.INFO: GPS data processed {"connection_id":166204,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:44:54] local.INFO: Acknowledgment sent {"connection_id":166204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:44:57] local.INFO: TCP Data received {"connection_id":163570,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163570,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:44:57] local.INFO: Processing buffer {"connection_id":163570,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:44:57] local.INFO: IMEI packet received {"connection_id":163570,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 16:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":163570,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:45:01] local.INFO: TCP Data received {"connection_id":163570,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163570,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:45:01] local.INFO: Processing buffer {"connection_id":163570,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:45:01] local.INFO: IMEI packet received {"connection_id":163570,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 16:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":163570,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:45:03] local.INFO: TCP Data received {"connection_id":163570,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048138168012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048138168012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:45:03] local.INFO: Processing buffer {"connection_id":163570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048138168012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:45:03] local.INFO: Packet analysis {"connection_id":163570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04813"} 
[2026-08-28 16:45:03] local.INFO: Extracted packet for processing {"connection_id":163570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04813"} 
[2026-08-28 16:45:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706324992001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:45:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787915633000,"timestamp_ms":1787915633000,"timestamp_seconds":1787915633,"priority":1,"record_length":96,"hex_timestamp":"000001a048138168"} 
[2026-08-28 16:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:45:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 16:45:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:45:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163570,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163570,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:45:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706324992001,"66":25419,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706324992001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:45:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:45:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706324992001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:45:03] 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":708766,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:45:03] local.INFO: GPS data processed {"connection_id":163570,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:45:03] local.INFO: Acknowledgment sent {"connection_id":163570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:45:09] local.INFO: TCP Data received {"connection_id":166207,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04810f8f8012d34c14006aa4840000f00e626..."} 
[2026-08-28 16:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04810f8f8012d34c14006aa4840000f00e626..."} 
[2026-08-28 16:45:09] local.INFO: Processing buffer {"connection_id":166207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04810f8f8012d34c14006aa4840000f00e626..."} 
[2026-08-28 16:45:09] local.INFO: Packet analysis {"connection_id":166207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04810"} 
[2026-08-28 16:45:09] local.INFO: Extracted packet for processing {"connection_id":166207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04810"} 
[2026-08-28 16:45:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706282496001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:45:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787915467000,"timestamp_ms":1787915467000,"timestamp_seconds":1787915467,"priority":1,"record_length":96,"hex_timestamp":"000001a04810f8f8"} 
[2026-08-28 16:45:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:45:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 16:45: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-28 16:45:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:45:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":166207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":166207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":166207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:45:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706282496001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706282496001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:45:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:45:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:45: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-28 16:45:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706282496001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":166207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:45:09] local.INFO: GPS data processed {"connection_id":166207,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:45:09] local.INFO: Acknowledgment sent {"connection_id":166207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:45:11] local.INFO: TCP Data received {"connection_id":166208,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166208,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:45:11] local.INFO: Processing buffer {"connection_id":166208,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:45:11] local.INFO: IMEI packet received {"connection_id":166208,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 16:45:11] local.INFO: IMEI acknowledgment sent {"connection_id":166208,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:45:16] local.INFO: TCP Data received {"connection_id":166208,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166208,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:45:16] local.INFO: Processing buffer {"connection_id":166208,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:45:16] local.INFO: IMEI packet received {"connection_id":166208,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 16:45:16] local.INFO: IMEI acknowledgment sent {"connection_id":166208,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:45:16] local.INFO: TCP Data received {"connection_id":166208,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a048134ea0012d198bc00720b290003a00f926..."} 
[2026-08-28 16:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048134ea0012d198bc00720b290003a00f926..."} 
[2026-08-28 16:45:16] local.INFO: Processing buffer {"connection_id":166208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048134ea0012d198bc00720b290003a00f926..."} 
[2026-08-28 16:45:16] local.INFO: Packet analysis {"connection_id":166208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04813"} 
[2026-08-28 16:45:16] local.INFO: Extracted packet for processing {"connection_id":166208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04813"} 
[2026-08-28 16:45:16] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119583376,"longitude_deg":75.6648896,"latitude_deg":11.9583376,"altitude":58,"angle":249,"satellites":38,"speed":0,"hex_longitude":"2d198bc0","hex_latitude":"0720b290","is_valid_coordinates":true} 
[2026-08-28 16:45:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:45:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706393344001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:45:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15951216479567872,"note":"Value kept but may cause issues"} 
[2026-08-28 16:45:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840776009556856832,"note":"Value kept but may cause issues"} 
[2026-08-28 16:45:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:45:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787915620000,"timestamp_ms":1787915620000,"timestamp_seconds":1787915620,"priority":1,"record_length":96,"hex_timestamp":"000001a048134ea0"} 
[2026-08-28 16:45:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:45:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:45:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-28 16:45:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:45:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:45:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:45:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:45:16] local.INFO: Teltonika packet parsed successfully {"connection_id":166208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:45:16] local.INFO: Passing IMEI to GPS processor {"connection_id":166208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:45:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":166208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:45:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:45:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:45:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:45:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706393344001,"66":12558,"103":206,"83":41984,"24":0,"16":15951216479567872,"45":1840776009556856832},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 16:45:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:45:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:45:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706393344001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:45:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 16:45:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 16:45:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15951216479567872,"km_value":15951216479567.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:45:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840776009556856832,"description":"Unknown IO ID 45"} 
[2026-08-28 16:45:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706393344001,"power":12558,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840776009556856832}} 
[2026-08-28 16:45:16] local.INFO: DEBUG: GPS processor result {"connection_id":166208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708768,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:45:16] local.INFO: GPS data processed {"connection_id":166208,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:45:16] local.INFO: Acknowledgment sent {"connection_id":166208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:45:25] local.INFO: TCP Data received {"connection_id":166204,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a048138d20012d7b57c005e14198003a008108..."} 
[2026-08-28 16:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048138d20012d7b57c005e14198003a008108..."} 
[2026-08-28 16:45:25] local.INFO: Processing buffer {"connection_id":166204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048138d20012d7b57c005e14198003a008108..."} 
[2026-08-28 16:45:25] local.INFO: Packet analysis {"connection_id":166204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04813"} 
[2026-08-28 16:45:25] local.INFO: Extracted packet for processing {"connection_id":166204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04813"} 
[2026-08-28 16:45:25] local.INFO: GPS Element Parsed {"raw_longitude":763058112,"raw_latitude":98648472,"longitude_deg":76.3058112,"latitude_deg":9.8648472,"altitude":58,"angle":129,"satellites":8,"speed":0,"hex_longitude":"2d7b57c0","hex_latitude":"05e14198","is_valid_coordinates":true} 
[2026-08-28 16:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:45:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706397440001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:45:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8887502046148814848,"note":"Value kept but may cause issues"} 
[2026-08-28 16:45:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231148883247104,"note":"Value kept but may cause issues"} 
[2026-08-28 16:45:25] 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-28 16:45:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787915636000,"timestamp_ms":1787915636000,"timestamp_seconds":1787915636,"priority":1,"record_length":96,"hex_timestamp":"000001a048138d20"} 
[2026-08-28 16:45:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:45:25] 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-28 16:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 16:45:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:45:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:45:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:45:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:45:25] local.INFO: Teltonika packet parsed successfully {"connection_id":166204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:45:25] local.INFO: Passing IMEI to GPS processor {"connection_id":166204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 16:45:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":166204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 16:45:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:45:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 16:45:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 16:45:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706397440001,"66":12461,"45":8887502046148814848,"85":15104,"24":0,"16":125231148883247104},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-28 16:45:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 16:45:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 16:45:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706397440001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:45:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8887502046148814848,"description":"Unknown IO ID 45"} 
[2026-08-28 16:45:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 16:45:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231148883247104,"km_value":125231148883247.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:45:25] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457706397440001,"power":12461,"unknown_45":8887502046148814848,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-28 16:45:25] local.INFO: DEBUG: GPS processor result {"connection_id":166204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708769,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:45:25] local.INFO: GPS data processed {"connection_id":166204,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:45:25] local.INFO: Acknowledgment sent {"connection_id":166204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:45:35] local.INFO: TCP Data received {"connection_id":163570,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048138168012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048138168012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:45:35] local.INFO: Processing buffer {"connection_id":163570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048138168012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:45:35] local.INFO: Packet analysis {"connection_id":163570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04813"} 
[2026-08-28 16:45:35] local.INFO: Extracted packet for processing {"connection_id":163570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04813"} 
[2026-08-28 16:45:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:45:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706324992001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:45:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:45:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:45:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:45:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787915633000,"timestamp_ms":1787915633000,"timestamp_seconds":1787915633,"priority":1,"record_length":96,"hex_timestamp":"000001a048138168"} 
[2026-08-28 16:45:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:45:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 16:45:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:45:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:45:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:45:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:45:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:45:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163570,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:45:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163570,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:45:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:45:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:45:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:45:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706324992001,"66":25419,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:45:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:45:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:45:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706324992001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:45:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:45:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:45:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:45:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:45:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706324992001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:45: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":708770,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:45:35] local.INFO: GPS data processed {"connection_id":163570,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:45:35] local.INFO: Acknowledgment sent {"connection_id":163570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:45:35] local.INFO: TCP Data received {"connection_id":164843,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:45:35] local.INFO: Processing buffer {"connection_id":164843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:45:35] local.INFO: IMEI packet received {"connection_id":164843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 16:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":164843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:45:40] local.INFO: TCP Data received {"connection_id":164843,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:45:40] local.INFO: Processing buffer {"connection_id":164843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:45:40] local.INFO: IMEI packet received {"connection_id":164843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 16:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":164843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:45:43] local.INFO: TCP Data received {"connection_id":164843,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04810f8f8012d34c14006aa4840000f00e626..."} 
[2026-08-28 16:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04810f8f8012d34c14006aa4840000f00e626..."} 
[2026-08-28 16:45:43] local.INFO: Processing buffer {"connection_id":164843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04810f8f8012d34c14006aa4840000f00e626..."} 
[2026-08-28 16:45:43] local.INFO: Packet analysis {"connection_id":164843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04810"} 
[2026-08-28 16:45:43] local.INFO: Extracted packet for processing {"connection_id":164843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04810"} 
[2026-08-28 16:45:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 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-28 16:45:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706282496001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:45:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:45:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:45:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:45:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787915467000,"timestamp_ms":1787915467000,"timestamp_seconds":1787915467,"priority":1,"record_length":96,"hex_timestamp":"000001a04810f8f8"} 
[2026-08-28 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-28 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-28 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":129,"data_length":795,"current_offset":136} 
[2026-08-28 16: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-28 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-28 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-28 16:45:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:45:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:45:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:45:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:45:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:45:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:45:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:45:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706282496001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:45:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:45:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:45:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706282496001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:45:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:45:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 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-28 16:45:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:45:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706282496001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:45:43] 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":708771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:45:43] local.INFO: GPS data processed {"connection_id":164843,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:45:43] local.INFO: Acknowledgment sent {"connection_id":164843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:45:46] local.INFO: TCP Data received {"connection_id":164843,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04810f8f8012d34c14006aa4840000f00e626..."} 
[2026-08-28 16:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04810f8f8012d34c14006aa4840000f00e626..."} 
[2026-08-28 16:45:46] local.INFO: Processing buffer {"connection_id":164843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04810f8f8012d34c14006aa4840000f00e626..."} 
[2026-08-28 16:45:46] local.INFO: Packet analysis {"connection_id":164843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04810"} 
[2026-08-28 16:45:46] local.INFO: Extracted packet for processing {"connection_id":164843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04810"} 
[2026-08-28 16:45:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706282496001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:45:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:45:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787915467000,"timestamp_ms":1787915467000,"timestamp_seconds":1787915467,"priority":1,"record_length":96,"hex_timestamp":"000001a04810f8f8"} 
[2026-08-28 16:45:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:45: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-28 16:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 16:45: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-28 16: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-28 16:45:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:45:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706282496001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706282496001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:45:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:45:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:45: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-28 16:45:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:45:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706282496001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:45:46] 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":708772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:45:46] local.INFO: GPS data processed {"connection_id":164843,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:45:46] local.INFO: Acknowledgment sent {"connection_id":164843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:45:48] local.INFO: TCP Data received {"connection_id":166208,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a04813a0a8012d198bc00720b290003a00f925..."} 
[2026-08-28 16:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04813a0a8012d198bc00720b290003a00f925..."} 
[2026-08-28 16:45:48] local.INFO: Processing buffer {"connection_id":166208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04813a0a8012d198bc00720b290003a00f925..."} 
[2026-08-28 16:45:48] local.INFO: Packet analysis {"connection_id":166208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04813"} 
[2026-08-28 16:45:48] local.INFO: Extracted packet for processing {"connection_id":166208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04813"} 
[2026-08-28 16:45:48] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119583376,"longitude_deg":75.6648896,"latitude_deg":11.9583376,"altitude":58,"angle":249,"satellites":37,"speed":0,"hex_longitude":"2d198bc0","hex_latitude":"0720b290","is_valid_coordinates":true} 
[2026-08-28 16:45:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:45:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706398720001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:45:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15951216479567872,"note":"Value kept but may cause issues"} 
[2026-08-28 16:45:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840776009556856832,"note":"Value kept but may cause issues"} 
[2026-08-28 16:45:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:45:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787915641000,"timestamp_ms":1787915641000,"timestamp_seconds":1787915641,"priority":1,"record_length":96,"hex_timestamp":"000001a04813a0a8"} 
[2026-08-28 16:45:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:45:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:45:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-28 16:45:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-28 16:45:48] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-28 16:45:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-28 16:45:48] local.WARNING: Large IO value detected {"io_id":171,"raw_value":2348810240,"note":"Value kept but may cause issues"} 
[2026-08-28 16:45:48] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249782262994088592,"note":"Value kept but may cause issues"} 
[2026-08-28 16:45:48] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2995781690,"note":"Value kept but may cause issues"} 
[2026-08-28 16:45:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-28 16:45:48] local.WARNING: Large IO value detected {"io_id":176,"raw_value":2415996185,"note":"Value kept but may cause issues"} 
[2026-08-28 16:45:48] local.WARNING: Large IO value detected {"io_id":139,"raw_value":3221692594,"note":"Value kept but may cause issues"} 
[2026-08-28 16:45:48] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3355495800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:45:48] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2878078976,"note":"Value kept but may cause issues"} 
[2026-08-28 16:45:48] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7422159044535654400,"note":"Value kept but may cause issues"} 
[2026-08-28 16:45:48] local.WARNING: Large IO value detected {"io_id":81,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-28 16:45:48] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-28 16:45:48] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,103,83,24,241,157,16,171,160,252,45,192,178,58,40,10,66,170,39,88,1,240,69,227,72,32,4,113,205,176,139,144,239,47,2,56,7,120,81,206],"length":575,"final_offset":705,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-28 16:45:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179614395803893760,"timestamp_seconds":4179614395803894.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 16:45:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:45:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:45:48] local.INFO: Teltonika packet parsed successfully {"connection_id":166208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:45:48] local.INFO: Passing IMEI to GPS processor {"connection_id":166208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:45:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":166208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:45:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:45:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:45:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:45:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706398720001,"66":12613,"103":206,"83":41984,"24":0,"16":15951216479567872,"45":1840776009556856832},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 16:45:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:45:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:45:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706398720001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:45:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 16:45:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 16:45:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15951216479567872,"km_value":15951216479567.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:45:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840776009556856832,"description":"Unknown IO ID 45"} 
[2026-08-28 16:45:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706398720001,"power":12613,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840776009556856832}} 
[2026-08-28 16:45:48] local.INFO: DEBUG: GPS processor result {"connection_id":166208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708773,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:45:48] local.INFO: GPS data processed {"connection_id":166208,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:45:48] local.INFO: Acknowledgment sent {"connection_id":166208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:45:56] local.INFO: TCP Data received {"connection_id":166204,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a04813ac60012d7b57c005e14190003a00b708..."} 
[2026-08-28 16:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04813ac60012d7b57c005e14190003a00b708..."} 
[2026-08-28 16:45:56] local.INFO: Processing buffer {"connection_id":166204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04813ac60012d7b57c005e14190003a00b708..."} 
[2026-08-28 16:45:56] local.INFO: Packet analysis {"connection_id":166204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04813"} 
[2026-08-28 16:45:56] local.INFO: Extracted packet for processing {"connection_id":166204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04813"} 
[2026-08-28 16:45:56] local.INFO: GPS Element Parsed {"raw_longitude":763058112,"raw_latitude":98648464,"longitude_deg":76.3058112,"latitude_deg":9.8648464,"altitude":58,"angle":183,"satellites":8,"speed":1,"hex_longitude":"2d7b57c0","hex_latitude":"05e14190","is_valid_coordinates":true} 
[2026-08-28 16:45:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:45:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706402816001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:45:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8887783521125505024,"note":"Value kept but may cause issues"} 
[2026-08-28 16:45:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231148883247104,"note":"Value kept but may cause issues"} 
[2026-08-28 16:45:56] 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-28 16:45:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787915644000,"timestamp_ms":1787915644000,"timestamp_seconds":1787915644,"priority":1,"record_length":96,"hex_timestamp":"000001a04813ac60"} 
[2026-08-28 16:45:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:45:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2048,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:45:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 16:45:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:45:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:45:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:45:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:45:56] local.INFO: Teltonika packet parsed successfully {"connection_id":166204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:45:56] local.INFO: Passing IMEI to GPS processor {"connection_id":166204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 16:45:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":166204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 16:45:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:45:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 16:45:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 16:45:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706402816001,"66":12461,"45":8887783521125505024,"85":15104,"24":1,"16":125231148883247104},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-28 16:45:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 16:45:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 16:45:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706402816001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:45:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8887783521125505024,"description":"Unknown IO ID 45"} 
[2026-08-28 16:45:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 16:45:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231148883247104,"km_value":125231148883247.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:45:56] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457706402816001,"power":12461,"unknown_45":8887783521125505024,"unknown_85":15104,"ignition":1,"odometer":null}} 
[2026-08-28 16:45:56] local.INFO: DEBUG: GPS processor result {"connection_id":166204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708774,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:45:56] local.INFO: GPS data processed {"connection_id":166204,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:45:56] local.INFO: Acknowledgment sent {"connection_id":166204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:45:56] local.INFO: TCP Data received {"connection_id":163571,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163571,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:45:56] local.INFO: Processing buffer {"connection_id":163571,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:45:56] local.INFO: IMEI packet received {"connection_id":163571,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 16:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":163571,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:46:01] local.INFO: TCP Data received {"connection_id":163571,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163571,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:46:01] local.INFO: Processing buffer {"connection_id":163571,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:46:01] local.INFO: IMEI packet received {"connection_id":163571,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 16:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":163571,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:46:03] local.INFO: TCP Data received {"connection_id":163571,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048138168012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048138168012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:46:03] local.INFO: Processing buffer {"connection_id":163571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048138168012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:46:03] local.INFO: Packet analysis {"connection_id":163571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04813"} 
[2026-08-28 16:46:03] local.INFO: Extracted packet for processing {"connection_id":163571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04813"} 
[2026-08-28 16:46:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706324992001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:46:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787915633000,"timestamp_ms":1787915633000,"timestamp_seconds":1787915633,"priority":1,"record_length":96,"hex_timestamp":"000001a048138168"} 
[2026-08-28 16:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:46:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 16:46:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:46:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163571,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163571,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:46:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706324992001,"66":25419,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706324992001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:46:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:46:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706324992001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":163571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708775,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:46:03] local.INFO: GPS data processed {"connection_id":163571,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:46:03] local.INFO: Acknowledgment sent {"connection_id":163571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:46:10] local.INFO: TCP Data received {"connection_id":166209,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166209,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:46:10] local.INFO: Processing buffer {"connection_id":166209,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:46:10] local.INFO: IMEI packet received {"connection_id":166209,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 16:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":166209,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:46:16] local.INFO: TCP Data received {"connection_id":166209,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166209,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:46:16] local.INFO: Processing buffer {"connection_id":166209,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:46:16] local.INFO: IMEI packet received {"connection_id":166209,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 16:46:16] local.INFO: IMEI acknowledgment sent {"connection_id":166209,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:46:16] local.INFO: TCP Data received {"connection_id":166209,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a04813eec8012d198bc00720b290003a00f920..."} 
[2026-08-28 16:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04813eec8012d198bc00720b290003a00f920..."} 
[2026-08-28 16:46:16] local.INFO: Processing buffer {"connection_id":166209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04813eec8012d198bc00720b290003a00f920..."} 
[2026-08-28 16:46:16] local.INFO: Packet analysis {"connection_id":166209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04813"} 
[2026-08-28 16:46:16] local.INFO: Extracted packet for processing {"connection_id":166209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04813"} 
[2026-08-28 16:46:16] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119583376,"longitude_deg":75.6648896,"latitude_deg":11.9583376,"altitude":58,"angle":249,"satellites":32,"speed":0,"hex_longitude":"2d198bc0","hex_latitude":"0720b290","is_valid_coordinates":true} 
[2026-08-28 16:46:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:46:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706404096001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:46:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15951216479567872,"note":"Value kept but may cause issues"} 
[2026-08-28 16:46:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840776009556856832,"note":"Value kept but may cause issues"} 
[2026-08-28 16:46:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:46:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787915661000,"timestamp_ms":1787915661000,"timestamp_seconds":1787915661,"priority":1,"record_length":96,"hex_timestamp":"000001a04813eec8"} 
[2026-08-28 16:46:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:46:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:46:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-28 16:46:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:46:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:46:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:46:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:46:16] local.INFO: Teltonika packet parsed successfully {"connection_id":166209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:46:16] local.INFO: Passing IMEI to GPS processor {"connection_id":166209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:46:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":166209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:46:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:46:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:46:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:46:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706404096001,"66":12580,"103":206,"83":41984,"24":0,"16":15951216479567872,"45":1840776009556856832},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 16:46:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:46:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:46:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706404096001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:46:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 16:46:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 16:46:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15951216479567872,"km_value":15951216479567.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:46:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840776009556856832,"description":"Unknown IO ID 45"} 
[2026-08-28 16:46:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706404096001,"power":12580,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840776009556856832}} 
[2026-08-28 16:46:16] local.INFO: DEBUG: GPS processor result {"connection_id":166209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708776,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:46:16] local.INFO: GPS data processed {"connection_id":166209,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:46:16] local.INFO: Acknowledgment sent {"connection_id":166209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:46:27] local.INFO: TCP Data received {"connection_id":166204,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a04813fe68012d7b588005e14108003900b00d..."} 
[2026-08-28 16:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04813fe68012d7b588005e14108003900b00d..."} 
[2026-08-28 16:46:27] local.INFO: Processing buffer {"connection_id":166204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04813fe68012d7b588005e14108003900b00d..."} 
[2026-08-28 16:46:27] local.INFO: Packet analysis {"connection_id":166204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04813"} 
[2026-08-28 16:46:27] local.INFO: Extracted packet for processing {"connection_id":166204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04813"} 
[2026-08-28 16:46:27] local.INFO: GPS Element Parsed {"raw_longitude":763058304,"raw_latitude":98648328,"longitude_deg":76.3058304,"latitude_deg":9.8648328,"altitude":57,"angle":176,"satellites":13,"speed":0,"hex_longitude":"2d7b5880","hex_latitude":"05e14108","is_valid_coordinates":true} 
[2026-08-28 16:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:46:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706404864001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:46:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8887783521125502976,"note":"Value kept but may cause issues"} 
[2026-08-28 16:46:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231166063116288,"note":"Value kept but may cause issues"} 
[2026-08-28 16:46:27] 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-28 16:46:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787915665000,"timestamp_ms":1787915665000,"timestamp_seconds":1787915665,"priority":1,"record_length":96,"hex_timestamp":"000001a04813fe68"} 
[2026-08-28 16:46:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:46:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2816,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 16:46:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:46:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:46:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:46:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:46:27] local.INFO: Teltonika packet parsed successfully {"connection_id":166204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:46:27] local.INFO: Passing IMEI to GPS processor {"connection_id":166204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 16:46:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":166204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 16:46:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:46:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 16:46:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 16:46:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706404864001,"66":12461,"45":8887783521125502976,"85":15104,"24":0,"16":125231166063116288},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-28 16:46:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 16:46:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 16:46:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706404864001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:46:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8887783521125502976,"description":"Unknown IO ID 45"} 
[2026-08-28 16:46:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 16:46:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231166063116288,"km_value":125231166063116.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:46:27] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457706404864001,"power":12461,"unknown_45":8887783521125502976,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-28 16:46:27] local.INFO: DEBUG: GPS processor result {"connection_id":166204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708777,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:46:27] local.INFO: GPS data processed {"connection_id":166204,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:46:27] local.INFO: Acknowledgment sent {"connection_id":166204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:46:30] local.INFO: TCP Data received {"connection_id":164844,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:46:30] local.INFO: Processing buffer {"connection_id":164844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:46:30] local.INFO: IMEI packet received {"connection_id":164844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 16:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":164844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:46:35] local.INFO: TCP Data received {"connection_id":164844,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:46:35] local.INFO: Processing buffer {"connection_id":164844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:46:35] local.INFO: IMEI packet received {"connection_id":164844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 16:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":164844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:46:35] local.INFO: TCP Data received {"connection_id":163571,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048138168012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048138168012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:46:35] local.INFO: Processing buffer {"connection_id":163571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048138168012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:46:35] local.INFO: Packet analysis {"connection_id":163571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04813"} 
[2026-08-28 16:46:35] local.INFO: Extracted packet for processing {"connection_id":163571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04813"} 
[2026-08-28 16:46:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706324992001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:46:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:46:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787915633000,"timestamp_ms":1787915633000,"timestamp_seconds":1787915633,"priority":1,"record_length":96,"hex_timestamp":"000001a048138168"} 
[2026-08-28 16:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:46:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 16:46:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:46:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163571,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163571,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:46:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706324992001,"66":25419,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706324992001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:46:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:46:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706324992001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":163571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708778,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:46:36] local.INFO: GPS data processed {"connection_id":163571,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:46:36] local.INFO: Acknowledgment sent {"connection_id":163571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:46:38] local.INFO: TCP Data received {"connection_id":164844,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04810f8f8012d34c14006aa4840000f00e626..."} 
[2026-08-28 16:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04810f8f8012d34c14006aa4840000f00e626..."} 
[2026-08-28 16:46:38] local.INFO: Processing buffer {"connection_id":164844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04810f8f8012d34c14006aa4840000f00e626..."} 
[2026-08-28 16:46:38] local.INFO: Packet analysis {"connection_id":164844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04810"} 
[2026-08-28 16:46:38] local.INFO: Extracted packet for processing {"connection_id":164844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04810"} 
[2026-08-28 16:46:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706282496001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:46:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787915467000,"timestamp_ms":1787915467000,"timestamp_seconds":1787915467,"priority":1,"record_length":96,"hex_timestamp":"000001a04810f8f8"} 
[2026-08-28 16:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:46:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 16:46: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-28 16:46:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:46:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706282496001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706282496001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:46:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:46:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:46: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-28 16:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706282496001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:46:38] 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":708779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:46:38] local.INFO: GPS data processed {"connection_id":164844,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:46:38] local.INFO: Acknowledgment sent {"connection_id":164844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:46:48] local.INFO: TCP Data received {"connection_id":166209,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0481440d0012d198bc00720b290003a00f924..."} 
[2026-08-28 16:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0481440d0012d198bc00720b290003a00f924..."} 
[2026-08-28 16:46:48] local.INFO: Processing buffer {"connection_id":166209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0481440d0012d198bc00720b290003a00f924..."} 
[2026-08-28 16:46:48] local.INFO: Packet analysis {"connection_id":166209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04814"} 
[2026-08-28 16:46:48] local.INFO: Extracted packet for processing {"connection_id":166209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04814"} 
[2026-08-28 16:46:48] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119583376,"longitude_deg":75.6648896,"latitude_deg":11.9583376,"altitude":58,"angle":249,"satellites":36,"speed":0,"hex_longitude":"2d198bc0","hex_latitude":"0720b290","is_valid_coordinates":true} 
[2026-08-28 16:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:46:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706409216001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:46:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15951216479567872,"note":"Value kept but may cause issues"} 
[2026-08-28 16:46:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840776009556856832,"note":"Value kept but may cause issues"} 
[2026-08-28 16:46:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:46:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787915682000,"timestamp_ms":1787915682000,"timestamp_seconds":1787915682,"priority":1,"record_length":96,"hex_timestamp":"000001a0481440d0"} 
[2026-08-28 16:46:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:46:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-08-28 16:46:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:46:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:46:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:46:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:46:48] local.INFO: Teltonika packet parsed successfully {"connection_id":166209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:46:48] local.INFO: Passing IMEI to GPS processor {"connection_id":166209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:46:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":166209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:46:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:46:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:46:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:46:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706409216001,"66":14102,"103":206,"83":41984,"24":0,"16":15951216479567872,"45":1840776009556856832},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 16:46:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:46:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:46:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706409216001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:46:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 16:46:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 16:46:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15951216479567872,"km_value":15951216479567.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:46:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840776009556856832,"description":"Unknown IO ID 45"} 
[2026-08-28 16:46:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706409216001,"power":14102,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840776009556856832}} 
[2026-08-28 16:46:48] local.INFO: DEBUG: GPS processor result {"connection_id":166209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708780,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:46:48] local.INFO: GPS data processed {"connection_id":166209,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:46:48] local.INFO: Acknowledgment sent {"connection_id":166209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:46:56] local.INFO: TCP Data received {"connection_id":163845,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163845,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:46:56] local.INFO: Processing buffer {"connection_id":163845,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:46:56] local.INFO: IMEI packet received {"connection_id":163845,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 16:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":163845,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:46:57] local.INFO: TCP Data received {"connection_id":166204,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a048140250012d7b588005e14108003900850d..."} 
[2026-08-28 16:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048140250012d7b588005e14108003900850d..."} 
[2026-08-28 16:46:57] local.INFO: Processing buffer {"connection_id":166204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048140250012d7b588005e14108003900850d..."} 
[2026-08-28 16:46:57] local.INFO: Packet analysis {"connection_id":166204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04814"} 
[2026-08-28 16:46:57] local.INFO: Extracted packet for processing {"connection_id":166204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04814"} 
[2026-08-28 16:46:57] local.INFO: GPS Element Parsed {"raw_longitude":763058304,"raw_latitude":98648328,"longitude_deg":76.3058304,"latitude_deg":9.8648328,"altitude":57,"angle":133,"satellites":13,"speed":0,"hex_longitude":"2d7b5880","hex_latitude":"05e14108","is_valid_coordinates":true} 
[2026-08-28 16:46:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:46:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706410240001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:46:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8887994627358001152,"note":"Value kept but may cause issues"} 
[2026-08-28 16:46:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231166063116288,"note":"Value kept but may cause issues"} 
[2026-08-28 16:46:57] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-28 16:46:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787915666000,"timestamp_ms":1787915666000,"timestamp_seconds":1787915666,"priority":1,"record_length":96,"hex_timestamp":"000001a048140250"} 
[2026-08-28 16:46:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:46:57] 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-28 16:46:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 16:46:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:46:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:46:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:46:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:46:57] local.INFO: Teltonika packet parsed successfully {"connection_id":166204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:46:57] local.INFO: Passing IMEI to GPS processor {"connection_id":166204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 16:46:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":166204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 16:46:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:46:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 16:46:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 16:46:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706410240001,"66":12461,"45":8887994627358001152,"85":15104,"24":0,"16":125231166063116288},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-28 16:46:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 16:46:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 16:46:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706410240001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:46:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8887994627358001152,"description":"Unknown IO ID 45"} 
[2026-08-28 16:46:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 16:46:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231166063116288,"km_value":125231166063116.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:46:57] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457706410240001,"power":12461,"unknown_45":8887994627358001152,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-28 16:46:58] local.INFO: DEBUG: GPS processor result {"connection_id":166204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708781,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:46:58] local.INFO: GPS data processed {"connection_id":166204,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:46:58] local.INFO: Acknowledgment sent {"connection_id":166204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:47:01] local.INFO: TCP Data received {"connection_id":163845,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163845,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:47:01] local.INFO: Processing buffer {"connection_id":163845,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:47:01] local.INFO: IMEI packet received {"connection_id":163845,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 16:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":163845,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:47:02] local.INFO: TCP Data received {"connection_id":163845,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048138168012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048138168012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:47:02] local.INFO: Processing buffer {"connection_id":163845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048138168012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:47:02] local.INFO: Packet analysis {"connection_id":163845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04813"} 
[2026-08-28 16:47:02] local.INFO: Extracted packet for processing {"connection_id":163845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04813"} 
[2026-08-28 16:47:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:47:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:47:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706324992001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:47:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:47:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:47:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:47:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787915633000,"timestamp_ms":1787915633000,"timestamp_seconds":1787915633,"priority":1,"record_length":96,"hex_timestamp":"000001a048138168"} 
[2026-08-28 16:47:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:47:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:47:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 16:47:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:47:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:47:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:47:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:47:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:47:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163845,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:47:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163845,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:47:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:47:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:47:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:47:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706324992001,"66":25419,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:47:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:47:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:47:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706324992001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:47:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:47:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:47:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:47:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:47:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706324992001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:47:02] local.INFO: DEBUG: GPS processor result {"connection_id":163845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708782,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:47:02] local.INFO: GPS data processed {"connection_id":163845,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:47:02] local.INFO: Acknowledgment sent {"connection_id":163845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:47:10] local.INFO: TCP Data received {"connection_id":164844,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0481590c0012d34c14006aa4840001100e628..."} 
[2026-08-28 16:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0481590c0012d34c14006aa4840001100e628..."} 
[2026-08-28 16:47:10] local.INFO: Processing buffer {"connection_id":164844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0481590c0012d34c14006aa4840001100e628..."} 
[2026-08-28 16:47:10] local.INFO: Packet analysis {"connection_id":164844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04815"} 
[2026-08-28 16:47:10] local.INFO: Extracted packet for processing {"connection_id":164844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04815"} 
[2026-08-28 16:47:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706359552001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:47:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:47:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787915768000,"timestamp_ms":1787915768000,"timestamp_seconds":1787915768,"priority":1,"record_length":96,"hex_timestamp":"000001a0481590c0"} 
[2026-08-28 16:47:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:47:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 16:47:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:47:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:47:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":164844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":164844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":164844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:47:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706359552001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706359552001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:47:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:47:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:47:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:47:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:47:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706359552001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:47:10] 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":708783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:47:10] local.INFO: GPS data processed {"connection_id":164844,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:47:10] local.INFO: Acknowledgment sent {"connection_id":164844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:47:10] local.INFO: TCP Data received {"connection_id":166210,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166210,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:47:10] local.INFO: Processing buffer {"connection_id":166210,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:47:10] local.INFO: IMEI packet received {"connection_id":166210,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 16:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":166210,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:47:16] local.INFO: TCP Data received {"connection_id":166210,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166210,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:47:16] local.INFO: Processing buffer {"connection_id":166210,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:47:16] local.INFO: IMEI packet received {"connection_id":166210,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 16:47:16] local.INFO: IMEI acknowledgment sent {"connection_id":166210,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:47:16] local.INFO: TCP Data received {"connection_id":166210,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a048158508012d193b400720b3200035013222..."} 
[2026-08-28 16:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048158508012d193b400720b3200035013222..."} 
[2026-08-28 16:47:16] local.INFO: Processing buffer {"connection_id":166210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048158508012d193b400720b3200035013222..."} 
[2026-08-28 16:47:16] local.INFO: Packet analysis {"connection_id":166210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04815"} 
[2026-08-28 16:47:16] local.INFO: Extracted packet for processing {"connection_id":166210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04815"} 
[2026-08-28 16:47:16] local.INFO: GPS Element Parsed {"raw_longitude":756628288,"raw_latitude":119583520,"longitude_deg":75.6628288,"latitude_deg":11.958352,"altitude":53,"angle":306,"satellites":34,"speed":34,"hex_longitude":"2d193b40","hex_latitude":"0720b320","is_valid_coordinates":true} 
[2026-08-28 16: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-28 16:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706435072001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15952281631457280,"note":"Value kept but may cause issues"} 
[2026-08-28 16:47:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1820720917465948160,"note":"Value kept but may cause issues"} 
[2026-08-28 16:47:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787915765000,"timestamp_ms":1787915765000,"timestamp_seconds":1787915765,"priority":1,"record_length":96,"hex_timestamp":"000001a048158508"} 
[2026-08-28 16: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-28 16:47:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-28 16:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6984045765,"note":"Value kept but may cause issues"} 
[2026-08-28 16:47:16] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-28 16:47:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-28 16:47:16] local.WARNING: Large IO value detected {"io_id":160,"raw_value":84752050634039475,"note":"Value kept but may cause issues"} 
[2026-08-28 16:47:16] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2197867896,"note":"Value kept but may cause issues"} 
[2026-08-28 16:47:16] local.WARNING: Large IO value detected {"io_id":128,"raw_value":17171327064474112,"note":"Value kept but may cause issues"} 
[2026-08-28 16:47:16] local.WARNING: Large IO value detected {"io_id":171,"raw_value":2717908992,"note":"Value kept but may cause issues"} 
[2026-08-28 16:47:16] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":13465703,"corrected_to":0} 
[2026-08-28 16:47:16] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503843024142336,"note":"Value kept but may cause issues"} 
[2026-08-28 16:47:16] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3021996093,"note":"Value kept but may cause issues"} 
[2026-08-28 16:47:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-28 16:47:16] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2878734336,"note":"Value kept but may cause issues"} 
[2026-08-28 16:47:16] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,103,83,24,241,157,16,172,160,105,45,64,170,55,36,10,66,23,128,171,54,224,1,240,246,227,72,32,4,113,205,8,209,137,239,2,56,7,61,3,206],"length":529,"final_offset":659,"validated_count":41,"validation_warnings":[{"io_id":246,"original":13465703,"validated":0},{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-28 16:47:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3891429091041214464,"timestamp_seconds":3891429091041214.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 16: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-28 16:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":166210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":166210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":166210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:47:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706435072001,"66":14298,"103":206,"83":41984,"24":34,"16":15952281631457280,"45":1820720917465948160},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 16:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706435072001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:47:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 16:47:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 16:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15952281631457280,"km_value":15952281631457.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:47:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1820720917465948160,"description":"Unknown IO ID 45"} 
[2026-08-28 16:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706435072001,"power":14298,"unknown_103":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1820720917465948160}} 
[2026-08-28 16:47:17] local.INFO: DEBUG: GPS processor result {"connection_id":166210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708784,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:47:17] local.INFO: GPS data processed {"connection_id":166210,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:47:17] local.INFO: Acknowledgment sent {"connection_id":166210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:47:25] local.INFO: TCP Data received {"connection_id":163572,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163572,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:47:25] local.INFO: Processing buffer {"connection_id":163572,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:47:25] local.INFO: IMEI packet received {"connection_id":163572,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 16:47:25] local.INFO: IMEI acknowledgment sent {"connection_id":163572,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:47:28] local.INFO: TCP Data received {"connection_id":163572,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163572,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:47:28] local.INFO: Processing buffer {"connection_id":163572,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:47:28] local.INFO: IMEI packet received {"connection_id":163572,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 16:47:28] local.INFO: IMEI acknowledgment sent {"connection_id":163572,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:47:30] local.INFO: TCP Data received {"connection_id":163572,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163572,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:47:30] local.INFO: Processing buffer {"connection_id":163572,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:47:30] local.INFO: IMEI packet received {"connection_id":163572,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 16:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":163572,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:47:30] local.INFO: TCP Data received {"connection_id":166211,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:47:30] local.INFO: Processing buffer {"connection_id":166211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:47:30] local.INFO: IMEI packet received {"connection_id":166211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 16:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":166211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:47:30] local.INFO: TCP Data received {"connection_id":163572,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a048145070012d7b58c005e140e0003900820d..."} 
[2026-08-28 16:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048145070012d7b58c005e140e0003900820d..."} 
[2026-08-28 16:47:30] local.INFO: Processing buffer {"connection_id":163572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048145070012d7b58c005e140e0003900820d..."} 
[2026-08-28 16:47:30] local.INFO: Packet analysis {"connection_id":163572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04814"} 
[2026-08-28 16:47:30] local.INFO: Extracted packet for processing {"connection_id":163572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04814"} 
[2026-08-28 16:47:30] local.INFO: GPS Element Parsed {"raw_longitude":763058368,"raw_latitude":98648288,"longitude_deg":76.3058368,"latitude_deg":9.8648288,"altitude":57,"angle":130,"satellites":13,"speed":0,"hex_longitude":"2d7b58c0","hex_latitude":"05e140e0","is_valid_coordinates":true} 
[2026-08-28 16:47:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:47:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706410496001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:47:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8887994627358001152,"note":"Value kept but may cause issues"} 
[2026-08-28 16:47:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231174653050880,"note":"Value kept but may cause issues"} 
[2026-08-28 16:47:30] 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-28 16:47:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787915686000,"timestamp_ms":1787915686000,"timestamp_seconds":1787915686,"priority":1,"record_length":96,"hex_timestamp":"000001a048145070"} 
[2026-08-28 16:47:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:47:30] 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-28 16:47:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 16:47:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:47:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:47:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:47:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:47:30] local.INFO: Teltonika packet parsed successfully {"connection_id":163572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:47:30] local.INFO: Passing IMEI to GPS processor {"connection_id":163572,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 16:47:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":163572,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 16:47:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:47:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 16:47:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 16:47:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706410496001,"66":12461,"45":8887994627358001152,"85":15104,"24":0,"16":125231174653050880},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-28 16:47:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 16:47:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 16:47:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706410496001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:47:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8887994627358001152,"description":"Unknown IO ID 45"} 
[2026-08-28 16:47:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 16:47:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231174653050880,"km_value":125231174653050.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:47:30] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457706410496001,"power":12461,"unknown_45":8887994627358001152,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-28 16:47:30] 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":708785,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:47:30] local.INFO: GPS data processed {"connection_id":163572,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:47:30] local.INFO: Acknowledgment sent {"connection_id":163572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:47:34] local.INFO: TCP Data received {"connection_id":163845,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048138168012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048138168012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:47:34] local.INFO: Processing buffer {"connection_id":163845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048138168012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:47:34] local.INFO: Packet analysis {"connection_id":163845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04813"} 
[2026-08-28 16:47:34] local.INFO: Extracted packet for processing {"connection_id":163845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04813"} 
[2026-08-28 16:47:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706324992001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:47:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787915633000,"timestamp_ms":1787915633000,"timestamp_seconds":1787915633,"priority":1,"record_length":96,"hex_timestamp":"000001a048138168"} 
[2026-08-28 16:47:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:47:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 16:47:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:47:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:47:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163845,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163845,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706324992001,"66":25419,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706324992001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:47:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:47:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706324992001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":163845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708786,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:47:34] local.INFO: GPS data processed {"connection_id":163845,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:47:34] local.INFO: Acknowledgment sent {"connection_id":163845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:47:35] local.INFO: TCP Data received {"connection_id":166211,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:47:35] local.INFO: Processing buffer {"connection_id":166211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:47:35] local.INFO: IMEI packet received {"connection_id":166211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 16:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":166211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:47:37] local.INFO: TCP Data received {"connection_id":166211,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0481590c0012d34c14006aa4840001100e628..."} 
[2026-08-28 16:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0481590c0012d34c14006aa4840001100e628..."} 
[2026-08-28 16:47:37] local.INFO: Processing buffer {"connection_id":166211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0481590c0012d34c14006aa4840001100e628..."} 
[2026-08-28 16:47:37] local.INFO: Packet analysis {"connection_id":166211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04815"} 
[2026-08-28 16:47:37] local.INFO: Extracted packet for processing {"connection_id":166211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04815"} 
[2026-08-28 16:47:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706359552001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787915768000,"timestamp_ms":1787915768000,"timestamp_seconds":1787915768,"priority":1,"record_length":96,"hex_timestamp":"000001a0481590c0"} 
[2026-08-28 16:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 16:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":166211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":166211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":166211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706359552001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706359552001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:47:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:47:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:47: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-28 16:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706359552001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":166211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:47:37] local.INFO: GPS data processed {"connection_id":166211,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:47:37] local.INFO: Acknowledgment sent {"connection_id":166211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:47:48] local.INFO: TCP Data received {"connection_id":166210,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a048165fc8012d18c440072142680045016125..."} 
[2026-08-28 16:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048165fc8012d18c440072142680045016125..."} 
[2026-08-28 16:47:48] local.INFO: Processing buffer {"connection_id":166210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048165fc8012d18c440072142680045016125..."} 
[2026-08-28 16:47:48] local.INFO: Packet analysis {"connection_id":166210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04816"} 
[2026-08-28 16:47:48] local.INFO: Extracted packet for processing {"connection_id":166210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04816"} 
[2026-08-28 16:47:48] local.INFO: GPS Element Parsed {"raw_longitude":756597824,"raw_latitude":119620200,"longitude_deg":75.6597824,"latitude_deg":11.96202,"altitude":69,"angle":353,"satellites":37,"speed":34,"hex_longitude":"2d18c440","hex_latitude":"07214268","is_valid_coordinates":true} 
[2026-08-28 16:47:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:47:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706448384001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:47:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954755532619776,"note":"Value kept but may cause issues"} 
[2026-08-28 16:47:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787577238966593536,"note":"Value kept but may cause issues"} 
[2026-08-28 16:47:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:47:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787915821000,"timestamp_ms":1787915821000,"timestamp_seconds":1787915821,"priority":1,"record_length":96,"hex_timestamp":"000001a048165fc8"} 
[2026-08-28 16:47:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:47:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:47:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-28 16:47:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:47:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:47:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:47:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:47:48] local.INFO: Teltonika packet parsed successfully {"connection_id":166210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:47:48] local.INFO: Passing IMEI to GPS processor {"connection_id":166210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:47:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":166210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:47:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:47:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:47:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:47:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706448384001,"66":14374,"106":206,"83":41984,"24":34,"16":15954755532619776,"45":1787577238966593536},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-28 16:47:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:47:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:47:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706448384001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:47:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:47:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 16:47:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954755532619776,"km_value":15954755532619.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:47:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787577238966593536,"description":"Unknown IO ID 45"} 
[2026-08-28 16:47:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706448384001,"power":14374,"unknown_106":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1787577238966593536}} 
[2026-08-28 16:47:48] local.INFO: DEBUG: GPS processor result {"connection_id":166210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708788,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:47:48] local.INFO: GPS data processed {"connection_id":166210,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:47:48] local.INFO: Acknowledgment sent {"connection_id":166210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:47:56] local.INFO: TCP Data received {"connection_id":163573,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163573,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:47:56] local.INFO: Processing buffer {"connection_id":163573,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:47:56] local.INFO: IMEI packet received {"connection_id":163573,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 16:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":163573,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:48:01] local.INFO: TCP Data received {"connection_id":163572,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a04814a278012d7b594005e140d0003900820e..."} 
[2026-08-28 16:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04814a278012d7b594005e140d0003900820e..."} 
[2026-08-28 16:48:01] local.INFO: Processing buffer {"connection_id":163572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04814a278012d7b594005e140d0003900820e..."} 
[2026-08-28 16:48:01] local.INFO: Packet analysis {"connection_id":163572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04814"} 
[2026-08-28 16:48:01] local.INFO: Extracted packet for processing {"connection_id":163572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04814"} 
[2026-08-28 16:48:01] local.INFO: GPS Element Parsed {"raw_longitude":763058496,"raw_latitude":98648272,"longitude_deg":76.3058496,"latitude_deg":9.8648272,"altitude":57,"angle":130,"satellites":14,"speed":0,"hex_longitude":"2d7b5940","hex_latitude":"05e140d0","is_valid_coordinates":true} 
[2026-08-28 16:48:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:48:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706415616001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:48:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888064996102168576,"note":"Value kept but may cause issues"} 
[2026-08-28 16:48:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231183242985472,"note":"Value kept but may cause issues"} 
[2026-08-28 16:48:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-28 16:48:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787915707000,"timestamp_ms":1787915707000,"timestamp_seconds":1787915707,"priority":1,"record_length":96,"hex_timestamp":"000001a04814a278"} 
[2026-08-28 16:48:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:48:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4864,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:48:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 16:48:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:48:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:48:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:48:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:48:01] local.INFO: Teltonika packet parsed successfully {"connection_id":163572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:48:01] local.INFO: Passing IMEI to GPS processor {"connection_id":163572,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 16:48:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":163572,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 16:48:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:48:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 16:48:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 16:48:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706415616001,"66":12461,"45":8888064996102168576,"85":15104,"24":0,"16":125231183242985472},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-28 16:48:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 16:48:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 16:48:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706415616001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:48:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888064996102168576,"description":"Unknown IO ID 45"} 
[2026-08-28 16:48:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 16:48:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231183242985472,"km_value":125231183242985.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:48:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457706415616001,"power":12461,"unknown_45":8888064996102168576,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-28 16:48:01] 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":708789,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:48:01] local.INFO: GPS data processed {"connection_id":163572,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:48:01] local.INFO: Acknowledgment sent {"connection_id":163572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:48:01] local.INFO: TCP Data received {"connection_id":163573,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163573,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:48:01] local.INFO: Processing buffer {"connection_id":163573,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:48:01] local.INFO: IMEI packet received {"connection_id":163573,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 16:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":163573,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:48:02] local.INFO: TCP Data received {"connection_id":163573,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048138168012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048138168012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:48:02] local.INFO: Processing buffer {"connection_id":163573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048138168012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:48:02] local.INFO: Packet analysis {"connection_id":163573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04813"} 
[2026-08-28 16:48:02] local.INFO: Extracted packet for processing {"connection_id":163573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04813"} 
[2026-08-28 16:48:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:48:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:48:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706324992001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:48:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:48:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:48:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:48:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787915633000,"timestamp_ms":1787915633000,"timestamp_seconds":1787915633,"priority":1,"record_length":96,"hex_timestamp":"000001a048138168"} 
[2026-08-28 16:48:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:48:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:48:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 16:48:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:48:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:48:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:48:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:48:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:48:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163573,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:48:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163573,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:48:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:48:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:48:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:48:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706324992001,"66":25419,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:48:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:48:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:48:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706324992001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:48:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:48:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:48:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:48:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:48:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706324992001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:48:03] 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":708790,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:48:03] local.INFO: GPS data processed {"connection_id":163573,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:48:03] local.INFO: Acknowledgment sent {"connection_id":163573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:48:08] local.INFO: TCP Data received {"connection_id":166211,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0481590c0012d34c14006aa4840001100e628..."} 
[2026-08-28 16:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0481590c0012d34c14006aa4840001100e628..."} 
[2026-08-28 16:48:08] local.INFO: Processing buffer {"connection_id":166211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0481590c0012d34c14006aa4840001100e628..."} 
[2026-08-28 16:48:08] local.INFO: Packet analysis {"connection_id":166211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04815"} 
[2026-08-28 16:48:08] local.INFO: Extracted packet for processing {"connection_id":166211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04815"} 
[2026-08-28 16:48:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706359552001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:48:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787915768000,"timestamp_ms":1787915768000,"timestamp_seconds":1787915768,"priority":1,"record_length":96,"hex_timestamp":"000001a0481590c0"} 
[2026-08-28 16:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:48: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-28 16:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 16:48:08] 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-28 16:48:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":166211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":166211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":166211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706359552001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706359552001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:48:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:48:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:48: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-28 16:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706359552001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":166211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:48:08] local.INFO: GPS data processed {"connection_id":166211,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:48:08] local.INFO: Acknowledgment sent {"connection_id":166211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:48:10] local.INFO: TCP Data received {"connection_id":163574,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:48:10] local.INFO: Processing buffer {"connection_id":163574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:48:10] local.INFO: IMEI packet received {"connection_id":163574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 16:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":163574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:48:11] local.INFO: TCP Data received {"connection_id":163574,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:48:11] local.INFO: Processing buffer {"connection_id":163574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:48:11] local.INFO: IMEI packet received {"connection_id":163574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 16:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":163574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:48:16] local.INFO: TCP Data received {"connection_id":163574,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:48:16] local.INFO: Processing buffer {"connection_id":163574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:48:16] local.INFO: IMEI packet received {"connection_id":163574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 16:48:16] local.INFO: IMEI acknowledgment sent {"connection_id":163574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:48:16] local.INFO: TCP Data received {"connection_id":163574,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a048167350012d18c240072152c80047014f24..."} 
[2026-08-28 16:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048167350012d18c240072152c80047014f24..."} 
[2026-08-28 16:48:16] local.INFO: Processing buffer {"connection_id":163574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048167350012d18c240072152c80047014f24..."} 
[2026-08-28 16:48:16] local.INFO: Packet analysis {"connection_id":163574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04816"} 
[2026-08-28 16:48:16] local.INFO: Extracted packet for processing {"connection_id":163574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04816"} 
[2026-08-28 16:48:16] local.INFO: GPS Element Parsed {"raw_longitude":756597312,"raw_latitude":119624392,"longitude_deg":75.6597312,"latitude_deg":11.9624392,"altitude":71,"angle":335,"satellites":36,"speed":33,"hex_longitude":"2d18c240","hex_latitude":"072152c8","is_valid_coordinates":true} 
[2026-08-28 16:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706450176001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15954961691049984,"note":"Value kept but may cause issues"} 
[2026-08-28 16:48:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784621751712507904,"note":"Value kept but may cause issues"} 
[2026-08-28 16:48:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787915826000,"timestamp_ms":1787915826000,"timestamp_seconds":1787915826,"priority":1,"record_length":96,"hex_timestamp":"000001a048167350"} 
[2026-08-28 16:48:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:48:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-28 16:48:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16: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-28 16:48:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:48:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706450176001,"66":14341,"106":206,"83":41984,"24":33,"16":15954961691049984,"45":1784621751712507904},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-28 16:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706450176001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:48:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:48:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 16:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15954961691049984,"km_value":15954961691049.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:48:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784621751712507904,"description":"Unknown IO ID 45"} 
[2026-08-28 16:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706450176001,"power":14341,"unknown_106":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1784621751712507904}} 
[2026-08-28 16:48:16] 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":708792,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:48:16] local.INFO: GPS data processed {"connection_id":163574,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:48:16] local.INFO: Acknowledgment sent {"connection_id":163574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:48:32] local.INFO: TCP Data received {"connection_id":163572,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a04814f480012d7b598005e140f8003a00820e..."} 
[2026-08-28 16:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04814f480012d7b598005e140f8003a00820e..."} 
[2026-08-28 16:48:32] local.INFO: Processing buffer {"connection_id":163572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04814f480012d7b598005e140f8003a00820e..."} 
[2026-08-28 16:48:32] local.INFO: Packet analysis {"connection_id":163572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04814"} 
[2026-08-28 16:48:32] local.INFO: Extracted packet for processing {"connection_id":163572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04814"} 
[2026-08-28 16:48:32] local.INFO: GPS Element Parsed {"raw_longitude":763058560,"raw_latitude":98648312,"longitude_deg":76.305856,"latitude_deg":9.8648312,"altitude":58,"angle":130,"satellites":14,"speed":0,"hex_longitude":"2d7b5980","hex_latitude":"05e140f8","is_valid_coordinates":true} 
[2026-08-28 16:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706420992001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:48:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888205733590519808,"note":"Value kept but may cause issues"} 
[2026-08-28 16:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231191832920064,"note":"Value kept but may cause issues"} 
[2026-08-28 16:48:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-28 16:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787915728000,"timestamp_ms":1787915728000,"timestamp_seconds":1787915728,"priority":1,"record_length":96,"hex_timestamp":"000001a04814f480"} 
[2026-08-28 16:48:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:48:32] 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-28 16:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 16:48:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:48:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:48:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":163572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":163572,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 16:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":163572,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 16:48:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 16:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 16:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706420992001,"66":12439,"45":8888205733590519808,"85":15104,"24":0,"16":125231191832920064},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-28 16:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 16:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 16:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706420992001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:48:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888205733590519808,"description":"Unknown IO ID 45"} 
[2026-08-28 16:48:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 16:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231191832920064,"km_value":125231191832920.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:48:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457706420992001,"power":12439,"unknown_45":8888205733590519808,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-28 16:48:32] 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":708793,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:48:32] local.INFO: GPS data processed {"connection_id":163572,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:48:32] local.INFO: Acknowledgment sent {"connection_id":163572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:48:34] local.INFO: TCP Data received {"connection_id":163573,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048138168012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048138168012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:48:34] local.INFO: Processing buffer {"connection_id":163573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048138168012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:48:34] local.INFO: Packet analysis {"connection_id":163573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04813"} 
[2026-08-28 16:48:34] local.INFO: Extracted packet for processing {"connection_id":163573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04813"} 
[2026-08-28 16:48:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706324992001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787915633000,"timestamp_ms":1787915633000,"timestamp_seconds":1787915633,"priority":1,"record_length":96,"hex_timestamp":"000001a048138168"} 
[2026-08-28 16:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:48:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 16:48:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:48:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163573,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163573,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706324992001,"66":25419,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706324992001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:48:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:48:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706324992001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:48:34] 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":708794,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:48:34] local.INFO: GPS data processed {"connection_id":163573,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:48:34] local.INFO: Acknowledgment sent {"connection_id":163573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:48:35] local.INFO: TCP Data received {"connection_id":164845,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:48:35] local.INFO: Processing buffer {"connection_id":164845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:48:35] local.INFO: IMEI packet received {"connection_id":164845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 16:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":164845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:48:40] local.INFO: TCP Data received {"connection_id":164845,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:48:40] local.INFO: Processing buffer {"connection_id":164845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:48:40] local.INFO: IMEI packet received {"connection_id":164845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 16:48:40] local.INFO: IMEI acknowledgment sent {"connection_id":164845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:48:42] local.INFO: TCP Data received {"connection_id":164845,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0481590c0012d34c14006aa4840001100e628..."} 
[2026-08-28 16:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0481590c0012d34c14006aa4840001100e628..."} 
[2026-08-28 16:48:42] local.INFO: Processing buffer {"connection_id":164845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0481590c0012d34c14006aa4840001100e628..."} 
[2026-08-28 16:48:42] local.INFO: Packet analysis {"connection_id":164845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04815"} 
[2026-08-28 16:48:42] local.INFO: Extracted packet for processing {"connection_id":164845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04815"} 
[2026-08-28 16:48:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16: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-28 16:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706359552001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:48:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:48:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787915768000,"timestamp_ms":1787915768000,"timestamp_seconds":1787915768,"priority":1,"record_length":96,"hex_timestamp":"000001a0481590c0"} 
[2026-08-28 16: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-28 16:48: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-28 16: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":129,"data_length":795,"current_offset":136} 
[2026-08-28 16:48: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-28 16: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-28 16: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-28 16:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":164845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":164845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":164845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:48:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706359552001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706359552001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:48:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:48:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16: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-28 16:48:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706359552001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":164845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:48:42] local.INFO: GPS data processed {"connection_id":164845,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:48:42] local.INFO: Acknowledgment sent {"connection_id":164845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:48:46] local.INFO: TCP Data received {"connection_id":164845,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0481590c0012d34c14006aa4840001100e628..."} 
[2026-08-28 16:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0481590c0012d34c14006aa4840001100e628..."} 
[2026-08-28 16:48:46] local.INFO: Processing buffer {"connection_id":164845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0481590c0012d34c14006aa4840001100e628..."} 
[2026-08-28 16:48:46] local.INFO: Packet analysis {"connection_id":164845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04815"} 
[2026-08-28 16:48:46] local.INFO: Extracted packet for processing {"connection_id":164845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04815"} 
[2026-08-28 16:48:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16: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-28 16:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706359552001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:48:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:48:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787915768000,"timestamp_ms":1787915768000,"timestamp_seconds":1787915768,"priority":1,"record_length":96,"hex_timestamp":"000001a0481590c0"} 
[2026-08-28 16: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-28 16:48: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-28 16: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 16:48: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-28 16: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-28 16: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-28 16:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:48:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706359552001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706359552001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:48:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:48:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:48: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-28 16:48:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:48:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706359552001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:48:46] local.INFO: DEBUG: GPS processor result {"connection_id":164845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:48:46] local.INFO: GPS data processed {"connection_id":164845,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:48:46] local.INFO: Acknowledgment sent {"connection_id":164845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:48:47] local.INFO: TCP Data received {"connection_id":163574,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a048167b20012d18bf00072158200048014224..."} 
[2026-08-28 16:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048167b20012d18bf00072158200048014224..."} 
[2026-08-28 16:48:48] local.INFO: Processing buffer {"connection_id":163574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048167b20012d18bf00072158200048014224..."} 
[2026-08-28 16:48:48] local.INFO: Packet analysis {"connection_id":163574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04816"} 
[2026-08-28 16:48:48] local.INFO: Extracted packet for processing {"connection_id":163574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04816"} 
[2026-08-28 16:48:48] local.INFO: GPS Element Parsed {"raw_longitude":756596480,"raw_latitude":119625760,"longitude_deg":75.659648,"latitude_deg":11.962576,"altitude":72,"angle":322,"satellites":36,"speed":32,"hex_longitude":"2d18bf00","hex_latitude":"07215820","is_valid_coordinates":true} 
[2026-08-28 16:48:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:48:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706451456001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:48:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15955039000461312,"note":"Value kept but may cause issues"} 
[2026-08-28 16:48:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784058801760159744,"note":"Value kept but may cause issues"} 
[2026-08-28 16:48:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:48:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787915828000,"timestamp_ms":1787915828000,"timestamp_seconds":1787915828,"priority":1,"record_length":96,"hex_timestamp":"000001a048167b20"} 
[2026-08-28 16:48:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:48:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:48:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-28 16:48:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6984046089,"note":"Value kept but may cause issues"} 
[2026-08-28 16:48:48] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-28 16:48:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-28 16:48:48] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503843064578048,"note":"Value kept but may cause issues"} 
[2026-08-28 16:48:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-28 16:48:48] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2921660416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:48:48] local.WARNING: Large IO value detected {"io_id":216,"raw_value":84751290424828155,"note":"Value kept but may cause issues"} 
[2026-08-28 16:48:48] local.WARNING: Large IO value detected {"io_id":120,"raw_value":16889847826359296,"note":"Value kept but may cause issues"} 
[2026-08-28 16:48:48] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,106,83,24,241,157,16,174,160,95,45,64,66,69,37,10,68,192,103,60,1,240,218,227,72,33,4,113,205,36,210,104,239,56,2,7,61,206,216,120],"length":529,"final_offset":659,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-28 16:48:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5116457667709173760,"timestamp_seconds":5116457667709174.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 16:48:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:48:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:48:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:48:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:48:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:48:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:48:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:48:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:48:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706451456001,"66":14363,"106":206,"83":41984,"24":32,"16":15955039000461312,"45":1784058801760159744},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-28 16:48:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:48:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:48:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706451456001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:48:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:48:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 16:48:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15955039000461312,"km_value":15955039000461.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:48:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784058801760159744,"description":"Unknown IO ID 45"} 
[2026-08-28 16:48:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706451456001,"power":14363,"unknown_106":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1784058801760159744}} 
[2026-08-28 16:48:48] 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":708797,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:48:48] local.INFO: GPS data processed {"connection_id":163574,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:48:48] local.INFO: Acknowledgment sent {"connection_id":163574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:49:01] local.INFO: TCP Data received {"connection_id":163575,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163575,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:49:01] local.INFO: Processing buffer {"connection_id":163575,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:49:01] local.INFO: IMEI packet received {"connection_id":163575,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 16:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":163575,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:49:03] local.INFO: TCP Data received {"connection_id":163572,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a048154688012d7b598005e140c8003900820e..."} 
[2026-08-28 16:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048154688012d7b598005e140c8003900820e..."} 
[2026-08-28 16:49:03] local.INFO: Processing buffer {"connection_id":163572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048154688012d7b598005e140c8003900820e..."} 
[2026-08-28 16:49:03] local.INFO: Packet analysis {"connection_id":163572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04815"} 
[2026-08-28 16:49:03] local.INFO: Extracted packet for processing {"connection_id":163572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04815"} 
[2026-08-28 16:49:03] local.INFO: GPS Element Parsed {"raw_longitude":763058560,"raw_latitude":98648264,"longitude_deg":76.305856,"latitude_deg":9.8648264,"altitude":57,"angle":130,"satellites":14,"speed":0,"hex_longitude":"2d7b5980","hex_latitude":"05e140c8","is_valid_coordinates":true} 
[2026-08-28 16:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706426368001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888276102334707712,"note":"Value kept but may cause issues"} 
[2026-08-28 16:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231191832920064,"note":"Value kept but may cause issues"} 
[2026-08-28 16:49:03] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-28 16:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787915749000,"timestamp_ms":1787915749000,"timestamp_seconds":1787915749,"priority":1,"record_length":96,"hex_timestamp":"000001a048154688"} 
[2026-08-28 16:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:49:03] 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-28 16:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 16:49:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:49:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163572,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 16:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163572,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 16:49:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 16:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 16:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706426368001,"66":12428,"45":8888276102334707712,"85":15104,"24":0,"16":125231191832920064},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-28 16:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 16:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 16:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706426368001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888276102334707712,"description":"Unknown IO ID 45"} 
[2026-08-28 16:49:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 16:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231191832920064,"km_value":125231191832920.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:49:03] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457706426368001,"power":12428,"unknown_45":8888276102334707712,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-28 16:49:04] 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":708798,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:49:04] local.INFO: GPS data processed {"connection_id":163572,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:49:04] local.INFO: Acknowledgment sent {"connection_id":163572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:49:06] local.INFO: TCP Data received {"connection_id":163575,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163575,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:49:06] local.INFO: Processing buffer {"connection_id":163575,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:49:06] local.INFO: IMEI packet received {"connection_id":163575,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 16:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":163575,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:49:07] local.INFO: TCP Data received {"connection_id":163575,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048138168012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048138168012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:49:07] local.INFO: Processing buffer {"connection_id":163575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048138168012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:49:07] local.INFO: Packet analysis {"connection_id":163575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04813"} 
[2026-08-28 16:49:07] local.INFO: Extracted packet for processing {"connection_id":163575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04813"} 
[2026-08-28 16:49:07] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16: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-28 16:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706324992001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:49:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:49:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787915633000,"timestamp_ms":1787915633000,"timestamp_seconds":1787915633,"priority":1,"record_length":96,"hex_timestamp":"000001a048138168"} 
[2026-08-28 16: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-28 16:49:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 16:49:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16: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-28 16: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-28 16:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":163575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":163575,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":163575,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:49:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706324992001,"66":25419,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706324992001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:49:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:49:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:49:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706324992001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:49:07] 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":708799,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:49:07] local.INFO: GPS data processed {"connection_id":163575,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:49:07] local.INFO: Acknowledgment sent {"connection_id":163575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:49:10] local.INFO: TCP Data received {"connection_id":166212,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166212,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:49:10] local.INFO: Processing buffer {"connection_id":166212,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:49:10] local.INFO: IMEI packet received {"connection_id":166212,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 16:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":166212,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:49:14] local.INFO: TCP Data received {"connection_id":163575,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048138168012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048138168012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:49:14] local.INFO: Processing buffer {"connection_id":163575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048138168012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:49:14] local.INFO: Packet analysis {"connection_id":163575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04813"} 
[2026-08-28 16:49:14] local.INFO: Extracted packet for processing {"connection_id":163575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04813"} 
[2026-08-28 16:49:14] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:49:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706324992001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:49:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:49:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:49:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:49:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787915633000,"timestamp_ms":1787915633000,"timestamp_seconds":1787915633,"priority":1,"record_length":96,"hex_timestamp":"000001a048138168"} 
[2026-08-28 16:49:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:49:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 16:49: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-28 16:49:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:49:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:49:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:49:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:49:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163575,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:49:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163575,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:49:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:49:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:49:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:49:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706324992001,"66":25419,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:49:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:49:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:49:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706324992001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:49:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:49:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:49:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:49:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:49:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706324992001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:49:14] 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":708800,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:49:14] local.INFO: GPS data processed {"connection_id":163575,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:49:14] local.INFO: Acknowledgment sent {"connection_id":163575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:49:16] local.INFO: TCP Data received {"connection_id":166212,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166212,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:49:16] local.INFO: Processing buffer {"connection_id":166212,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:49:16] local.INFO: IMEI packet received {"connection_id":166212,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 16:49:16] local.INFO: IMEI acknowledgment sent {"connection_id":166212,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:49:25] local.INFO: TCP Data received {"connection_id":166213,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166213,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:49:25] local.INFO: Processing buffer {"connection_id":166213,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:49:25] local.INFO: IMEI packet received {"connection_id":166213,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 16:49:25] local.INFO: IMEI acknowledgment sent {"connection_id":166213,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:49:30] local.INFO: TCP Data received {"connection_id":166213,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166213,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:49:30] local.INFO: Processing buffer {"connection_id":166213,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:49:30] local.INFO: IMEI packet received {"connection_id":166213,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 16:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":166213,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:49:30] local.INFO: TCP Data received {"connection_id":163846,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:49:30] local.INFO: Processing buffer {"connection_id":163846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:49:30] local.INFO: IMEI packet received {"connection_id":163846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 16:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":163846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:49:31] local.INFO: TCP Data received {"connection_id":166213,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a048157950012d7b59c005e140b0003800c00e..."} 
[2026-08-28 16:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048157950012d7b59c005e140b0003800c00e..."} 
[2026-08-28 16:49:31] local.INFO: Processing buffer {"connection_id":166213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048157950012d7b59c005e140b0003800c00e..."} 
[2026-08-28 16:49:31] local.INFO: Packet analysis {"connection_id":166213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04815"} 
[2026-08-28 16:49:31] local.INFO: Extracted packet for processing {"connection_id":166213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04815"} 
[2026-08-28 16:49:31] local.INFO: GPS Element Parsed {"raw_longitude":763058624,"raw_latitude":98648240,"longitude_deg":76.3058624,"latitude_deg":9.864824,"altitude":56,"angle":192,"satellites":14,"speed":1,"hex_longitude":"2d7b59c0","hex_latitude":"05e140b0","is_valid_coordinates":true} 
[2026-08-28 16:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706431744001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:49:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888276102334695424,"note":"Value kept but may cause issues"} 
[2026-08-28 16:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231196127887360,"note":"Value kept but may cause issues"} 
[2026-08-28 16:49:31] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-28 16:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787915762000,"timestamp_ms":1787915762000,"timestamp_seconds":1787915762,"priority":1,"record_length":96,"hex_timestamp":"000001a048157950"} 
[2026-08-28 16:49:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:49:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-28 16:49:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:49:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:49:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":166213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":166213,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 16:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":166213,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 16:49:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 16:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 16:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706431744001,"66":12385,"45":8888276102334695424,"85":15104,"24":1,"16":125231196127887360},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-28 16:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 16:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 16:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706431744001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:49:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888276102334695424,"description":"Unknown IO ID 45"} 
[2026-08-28 16:49:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 16:49:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231196127887360,"km_value":125231196127887.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:49:31] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457706431744001,"power":12385,"unknown_45":8888276102334695424,"unknown_85":15104,"ignition":1,"odometer":null}} 
[2026-08-28 16:49:31] local.INFO: DEBUG: GPS processor result {"connection_id":166213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708801,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:49:31] local.INFO: GPS data processed {"connection_id":166213,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:49:31] local.INFO: Acknowledgment sent {"connection_id":166213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:49:35] local.INFO: TCP Data received {"connection_id":163846,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:49:35] local.INFO: Processing buffer {"connection_id":163846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:49:35] local.INFO: IMEI packet received {"connection_id":163846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 16:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":163846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:49:37] local.INFO: TCP Data received {"connection_id":163846,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0481590c0012d34c14006aa4840001100e628..."} 
[2026-08-28 16:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0481590c0012d34c14006aa4840001100e628..."} 
[2026-08-28 16:49:37] local.INFO: Processing buffer {"connection_id":163846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0481590c0012d34c14006aa4840001100e628..."} 
[2026-08-28 16:49:37] local.INFO: Packet analysis {"connection_id":163846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04815"} 
[2026-08-28 16:49:37] local.INFO: Extracted packet for processing {"connection_id":163846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04815"} 
[2026-08-28 16:49:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706359552001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787915768000,"timestamp_ms":1787915768000,"timestamp_seconds":1787915768,"priority":1,"record_length":96,"hex_timestamp":"000001a0481590c0"} 
[2026-08-28 16:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 16:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:49:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706359552001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706359552001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:49:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:49:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:49: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-28 16:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706359552001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":163846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:49:37] local.INFO: GPS data processed {"connection_id":163846,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:49:37] local.INFO: Acknowledgment sent {"connection_id":163846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:49:56] local.INFO: TCP Data received {"connection_id":164846,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164846,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:49:56] local.INFO: Processing buffer {"connection_id":164846,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:49:56] local.INFO: IMEI packet received {"connection_id":164846,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 16:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":164846,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:50:01] local.INFO: TCP Data received {"connection_id":164846,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164846,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:50:01] local.INFO: Processing buffer {"connection_id":164846,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:50:01] local.INFO: IMEI packet received {"connection_id":164846,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 16:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":164846,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:50:02] local.INFO: TCP Data received {"connection_id":166213,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a04818a9b8012d7b5a4005e140180026011b11..."} 
[2026-08-28 16:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04818a9b8012d7b5a4005e140180026011b11..."} 
[2026-08-28 16:50:02] local.INFO: Processing buffer {"connection_id":166213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04818a9b8012d7b5a4005e140180026011b11..."} 
[2026-08-28 16:50:02] local.INFO: Packet analysis {"connection_id":166213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04818"} 
[2026-08-28 16:50:02] local.INFO: Extracted packet for processing {"connection_id":166213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04818"} 
[2026-08-28 16:50:02] local.INFO: GPS Element Parsed {"raw_longitude":763058752,"raw_latitude":98648088,"longitude_deg":76.3058752,"latitude_deg":9.8648088,"altitude":38,"angle":283,"satellites":17,"speed":0,"hex_longitude":"2d7b5a40","hex_latitude":"05e14018","is_valid_coordinates":true} 
[2026-08-28 16:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706483200001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231277732265984,"note":"Value kept but may cause issues"} 
[2026-08-28 16:50:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888487208567183360,"note":"Value kept but may cause issues"} 
[2026-08-28 16:50:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787915971000,"timestamp_ms":1787915971000,"timestamp_seconds":1787915971,"priority":1,"record_length":96,"hex_timestamp":"000001a04818a9b8"} 
[2026-08-28 16:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:50:02] 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-28 16:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 16:50:02] 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-28 16:50:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":166213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":166213,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 16:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":166213,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 16:50:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 16:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 16:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706483200001,"66":12461,"217":206,"85":15104,"24":0,"16":125231277732265984,"45":8888487208567183360},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 16:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 16:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 16:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706483200001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:50:02] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 16:50:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 16:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231277732265984,"km_value":125231277732265.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:50:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888487208567183360,"description":"Unknown IO ID 45"} 
[2026-08-28 16:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706483200001,"power":12461,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8888487208567183360}} 
[2026-08-28 16:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":166213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708803,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:50:02] local.INFO: GPS data processed {"connection_id":166213,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:50:02] local.INFO: Acknowledgment sent {"connection_id":166213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:50:03] local.INFO: TCP Data received {"connection_id":164846,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048181930012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048181930012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:50:03] local.INFO: Processing buffer {"connection_id":164846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048181930012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:50:03] local.INFO: Packet analysis {"connection_id":164846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04818"} 
[2026-08-28 16:50:03] local.INFO: Extracted packet for processing {"connection_id":164846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04818"} 
[2026-08-28 16:50:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706402048001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:50:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787915934000,"timestamp_ms":1787915934000,"timestamp_seconds":1787915934,"priority":1,"record_length":96,"hex_timestamp":"000001a048181930"} 
[2026-08-28 16:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:50:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-28 16:50:03] 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-28 16:50:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":164846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":164846,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":164846,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706402048001,"66":25397,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706402048001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:50:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:50:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706402048001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:50:03] 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":708804,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:50:03] local.INFO: GPS data processed {"connection_id":164846,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:50:03] local.INFO: Acknowledgment sent {"connection_id":164846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:50:03] local.INFO: TCP Data received {"connection_id":163576,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163576,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:50:03] local.INFO: Processing buffer {"connection_id":163576,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:50:03] local.INFO: IMEI packet received {"connection_id":163576,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 16:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":163576,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:50:04] local.INFO: TCP Data received {"connection_id":163576,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163576,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:50:04] local.INFO: Processing buffer {"connection_id":163576,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:50:04] local.INFO: IMEI packet received {"connection_id":163576,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 16:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":163576,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:50:08] local.INFO: TCP Data received {"connection_id":163576,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163576,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:50:08] local.INFO: Processing buffer {"connection_id":163576,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:50:08] local.INFO: IMEI packet received {"connection_id":163576,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 16:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":163576,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:50:09] local.INFO: TCP Data received {"connection_id":163846,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0481590c0012d34c14006aa4840001100e628..."} 
[2026-08-28 16:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0481590c0012d34c14006aa4840001100e628..."} 
[2026-08-28 16:50:09] local.INFO: Processing buffer {"connection_id":163846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0481590c0012d34c14006aa4840001100e628..."} 
[2026-08-28 16:50:09] local.INFO: Packet analysis {"connection_id":163846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04815"} 
[2026-08-28 16:50:09] local.INFO: Extracted packet for processing {"connection_id":163846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04815"} 
[2026-08-28 16:50:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706359552001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:50:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787915768000,"timestamp_ms":1787915768000,"timestamp_seconds":1787915768,"priority":1,"record_length":96,"hex_timestamp":"000001a0481590c0"} 
[2026-08-28 16:50:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:50:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 16:50:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:50:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:50:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:50:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706359552001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706359552001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:50:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:50:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:50: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-28 16:50:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706359552001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":163846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:50:09] local.INFO: GPS data processed {"connection_id":163846,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:50:09] local.INFO: Acknowledgment sent {"connection_id":163846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:50:09] local.INFO: TCP Data received {"connection_id":163576,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048182100012d181dc00721a6d8004f013925..."} 
[2026-08-28 16:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048182100012d181dc00721a6d8004f013925..."} 
[2026-08-28 16:50:09] local.INFO: Processing buffer {"connection_id":163576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048182100012d181dc00721a6d8004f013925..."} 
[2026-08-28 16:50:09] local.INFO: Packet analysis {"connection_id":163576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04818"} 
[2026-08-28 16:50:09] local.INFO: Extracted packet for processing {"connection_id":163576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04818"} 
[2026-08-28 16:50:09] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119645912,"longitude_deg":75.65552,"latitude_deg":11.9645912,"altitude":79,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721a6d8","is_valid_coordinates":true} 
[2026-08-28 16:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15957306743193600,"note":"Value kept but may cause issues"} 
[2026-08-28 16:50:09] 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-28 16:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787915936000,"timestamp_ms":1787915936000,"timestamp_seconds":1787915936,"priority":1,"record_length":96,"hex_timestamp":"000001a048182100"} 
[2026-08-28 16:50:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:50:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-08-28 16:50:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:50:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:50:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:50:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":14004,"24":0,"16":15957306743193600},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16]} 
[2026-08-28 16:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-28 16:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15957306743193600,"km_value":15957306743193.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:50:09] local.INFO: IO Data Validated and Processed {"original_count":4,"validated_count":4,"validated_data":{"unknown_0":0,"power":14004,"ignition":0,"odometer":null}} 
[2026-08-28 16:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":163576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708806,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:50:09] local.INFO: GPS data processed {"connection_id":163576,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:50:09] local.INFO: Acknowledgment sent {"connection_id":163576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:50:30] local.INFO: TCP Data received {"connection_id":163577,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163577,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:50:30] local.INFO: Processing buffer {"connection_id":163577,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:50:30] local.INFO: IMEI packet received {"connection_id":163577,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 16:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":163577,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:50:31] local.INFO: TCP Data received {"connection_id":164847,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:50:31] local.INFO: Processing buffer {"connection_id":164847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:50:31] local.INFO: IMEI packet received {"connection_id":164847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 16:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":164847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:50:34] local.INFO: TCP Data received {"connection_id":164846,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048181930012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048181930012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:50:34] local.INFO: Processing buffer {"connection_id":164846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048181930012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:50:34] local.INFO: Packet analysis {"connection_id":164846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04818"} 
[2026-08-28 16:50:34] local.INFO: Extracted packet for processing {"connection_id":164846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04818"} 
[2026-08-28 16:50:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706402048001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:50:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:50:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787915934000,"timestamp_ms":1787915934000,"timestamp_seconds":1787915934,"priority":1,"record_length":96,"hex_timestamp":"000001a048181930"} 
[2026-08-28 16:50:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:50:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-28 16:50:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:50:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:50:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":164846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":164846,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":164846,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:50:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706402048001,"66":25397,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706402048001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:50:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:50:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:50:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:50:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706402048001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:50:34] 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":708807,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:50:34] local.INFO: GPS data processed {"connection_id":164846,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:50:34] local.INFO: Acknowledgment sent {"connection_id":164846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:50:35] local.INFO: TCP Data received {"connection_id":164847,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:50:35] local.INFO: Processing buffer {"connection_id":164847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:50:35] local.INFO: IMEI packet received {"connection_id":164847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 16:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":164847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:50:37] local.INFO: TCP Data received {"connection_id":163577,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163577,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:50:37] local.INFO: Processing buffer {"connection_id":163577,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:50:37] local.INFO: IMEI packet received {"connection_id":163577,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 16:50:37] local.INFO: IMEI acknowledgment sent {"connection_id":163577,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:50:37] local.INFO: TCP Data received {"connection_id":164847,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0481590c0012d34c14006aa4840001100e628..."} 
[2026-08-28 16:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0481590c0012d34c14006aa4840001100e628..."} 
[2026-08-28 16:50:37] local.INFO: Processing buffer {"connection_id":164847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0481590c0012d34c14006aa4840001100e628..."} 
[2026-08-28 16:50:37] local.INFO: Packet analysis {"connection_id":164847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04815"} 
[2026-08-28 16:50:37] local.INFO: Extracted packet for processing {"connection_id":164847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04815"} 
[2026-08-28 16:50:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16: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-28 16:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706359552001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787915768000,"timestamp_ms":1787915768000,"timestamp_seconds":1787915768,"priority":1,"record_length":96,"hex_timestamp":"000001a0481590c0"} 
[2026-08-28 16: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-28 16:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 16:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16: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-28 16: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-28 16:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706359552001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706359552001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:50:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:50:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:50: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-28 16:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706359552001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:50:37] 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":708808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:50:37] local.INFO: GPS data processed {"connection_id":164847,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:50:37] local.INFO: Acknowledgment sent {"connection_id":164847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:50:40] local.INFO: TCP Data received {"connection_id":163576,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048189630012d181dc00721a6d8004f013926..."} 
[2026-08-28 16:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048189630012d181dc00721a6d8004f013926..."} 
[2026-08-28 16:50:40] local.INFO: Processing buffer {"connection_id":163576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048189630012d181dc00721a6d8004f013926..."} 
[2026-08-28 16:50:40] local.INFO: Packet analysis {"connection_id":163576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04818"} 
[2026-08-28 16:50:40] local.INFO: Extracted packet for processing {"connection_id":163576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04818"} 
[2026-08-28 16:50:40] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119645912,"longitude_deg":75.65552,"latitude_deg":11.9645912,"altitude":79,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721a6d8","is_valid_coordinates":true} 
[2026-08-28 16:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:50:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706479616001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:50:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15957306743193600,"note":"Value kept but may cause issues"} 
[2026-08-28 16:50:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168096765952,"note":"Value kept but may cause issues"} 
[2026-08-28 16:50:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:50:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787915966000,"timestamp_ms":1787915966000,"timestamp_seconds":1787915966,"priority":1,"record_length":96,"hex_timestamp":"000001a048189630"} 
[2026-08-28 16:50:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:50:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-28 16:50:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:50:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:50:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:50:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:50:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:50:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:50:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:50:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:50:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:50:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:50:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706479616001,"66":14428,"105":206,"83":41984,"24":0,"16":15957306743193600,"45":1737756168096765952},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 16:50:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:50:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:50:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706479616001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:50:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 16:50:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 16:50:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15957306743193600,"km_value":15957306743193.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:50:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168096765952,"description":"Unknown IO ID 45"} 
[2026-08-28 16:50:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706479616001,"power":14428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168096765952}} 
[2026-08-28 16:50:40] local.INFO: DEBUG: GPS processor result {"connection_id":163576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708809,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:50:40] local.INFO: GPS data processed {"connection_id":163576,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:50:40] local.INFO: Acknowledgment sent {"connection_id":163576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:50:42] local.INFO: TCP Data received {"connection_id":163577,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a04818fbc0012d7b5a0005e140080025011b11..."} 
[2026-08-28 16:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04818fbc0012d7b5a0005e140080025011b11..."} 
[2026-08-28 16:50:42] local.INFO: Processing buffer {"connection_id":163577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04818fbc0012d7b5a0005e140080025011b11..."} 
[2026-08-28 16:50:42] local.INFO: Packet analysis {"connection_id":163577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04818"} 
[2026-08-28 16:50:42] local.INFO: Extracted packet for processing {"connection_id":163577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04818"} 
[2026-08-28 16:50:42] local.INFO: GPS Element Parsed {"raw_longitude":763058688,"raw_latitude":98648072,"longitude_deg":76.3058688,"latitude_deg":9.8648072,"altitude":37,"angle":283,"satellites":17,"speed":0,"hex_longitude":"2d7b5a00","hex_latitude":"05e14008","is_valid_coordinates":true} 
[2026-08-28 16:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706488576001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:50:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888487208567183360,"note":"Value kept but may cause issues"} 
[2026-08-28 16:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231286322200576,"note":"Value kept but may cause issues"} 
[2026-08-28 16:50:42] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-28 16:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787915992000,"timestamp_ms":1787915992000,"timestamp_seconds":1787915992,"priority":1,"record_length":96,"hex_timestamp":"000001a04818fbc0"} 
[2026-08-28 16:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:50:42] 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-28 16:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 16:50:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:50:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163577,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 16:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163577,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 16:50:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 16:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 16:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706488576001,"66":12461,"45":8888487208567183360,"85":15104,"24":0,"16":125231286322200576},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-28 16:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 16:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 16:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706488576001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:50:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888487208567183360,"description":"Unknown IO ID 45"} 
[2026-08-28 16:50:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 16:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231286322200576,"km_value":125231286322200.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:50:42] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457706488576001,"power":12461,"unknown_45":8888487208567183360,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-28 16:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":163577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708810,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:50:42] local.INFO: GPS data processed {"connection_id":163577,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:50:42] local.INFO: Acknowledgment sent {"connection_id":163577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:50:56] local.INFO: TCP Data received {"connection_id":166214,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166214,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:50:56] local.INFO: Processing buffer {"connection_id":166214,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:50:56] local.INFO: IMEI packet received {"connection_id":166214,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 16:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":166214,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:51:01] local.INFO: TCP Data received {"connection_id":166214,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166214,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:51:01] local.INFO: Processing buffer {"connection_id":166214,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:51:01] local.INFO: IMEI packet received {"connection_id":166214,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 16:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":166214,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:51:03] local.INFO: TCP Data received {"connection_id":166214,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048181930012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048181930012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:51:03] local.INFO: Processing buffer {"connection_id":166214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048181930012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:51:03] local.INFO: Packet analysis {"connection_id":166214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04818"} 
[2026-08-28 16:51:03] local.INFO: Extracted packet for processing {"connection_id":166214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04818"} 
[2026-08-28 16:51:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706402048001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:51:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787915934000,"timestamp_ms":1787915934000,"timestamp_seconds":1787915934,"priority":1,"record_length":96,"hex_timestamp":"000001a048181930"} 
[2026-08-28 16:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:51:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-28 16:51:03] 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-28 16:51:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":166214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":166214,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":166214,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:51:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706402048001,"66":25397,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706402048001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:51:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:51:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706402048001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":166214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708811,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:51:03] local.INFO: GPS data processed {"connection_id":166214,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:51:03] local.INFO: Acknowledgment sent {"connection_id":166214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:51:09] local.INFO: TCP Data received {"connection_id":164847,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0481590c0012d34c14006aa4840001100e628..."} 
[2026-08-28 16:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0481590c0012d34c14006aa4840001100e628..."} 
[2026-08-28 16:51:09] local.INFO: Processing buffer {"connection_id":164847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0481590c0012d34c14006aa4840001100e628..."} 
[2026-08-28 16:51:09] local.INFO: Packet analysis {"connection_id":164847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04815"} 
[2026-08-28 16:51:09] local.INFO: Extracted packet for processing {"connection_id":164847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04815"} 
[2026-08-28 16:51:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706359552001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:51:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:51:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787915768000,"timestamp_ms":1787915768000,"timestamp_seconds":1787915768,"priority":1,"record_length":96,"hex_timestamp":"000001a0481590c0"} 
[2026-08-28 16:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:51: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-28 16:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 16:51: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-28 16:51:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:51:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706359552001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706359552001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:51:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:51:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:51: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-28 16:51:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706359552001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:51:09] 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":708812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:51:09] local.INFO: GPS data processed {"connection_id":164847,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:51:09] local.INFO: Acknowledgment sent {"connection_id":164847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:51:11] local.INFO: TCP Data received {"connection_id":163576,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a04818e838012d181dc00721a6d8004f013924..."} 
[2026-08-28 16:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04818e838012d181dc00721a6d8004f013924..."} 
[2026-08-28 16:51:11] local.INFO: Processing buffer {"connection_id":163576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04818e838012d181dc00721a6d8004f013924..."} 
[2026-08-28 16:51:11] local.INFO: Packet analysis {"connection_id":163576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04818"} 
[2026-08-28 16:51:11] local.INFO: Extracted packet for processing {"connection_id":163576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04818"} 
[2026-08-28 16:51:11] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119645912,"longitude_deg":75.65552,"latitude_deg":11.9645912,"altitude":79,"angle":313,"satellites":36,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721a6d8","is_valid_coordinates":true} 
[2026-08-28 16:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706487296001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15957306743193600,"note":"Value kept but may cause issues"} 
[2026-08-28 16:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168096765952,"note":"Value kept but may cause issues"} 
[2026-08-28 16:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787915987000,"timestamp_ms":1787915987000,"timestamp_seconds":1787915987,"priority":1,"record_length":96,"hex_timestamp":"000001a04818e838"} 
[2026-08-28 16:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:51:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-28 16:51:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:51:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":163576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":163576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":163576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706487296001,"66":14396,"105":206,"83":41984,"24":0,"16":15957306743193600,"45":1737756168096765952},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 16:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706487296001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:51:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 16:51:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 16:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15957306743193600,"km_value":15957306743193.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168096765952,"description":"Unknown IO ID 45"} 
[2026-08-28 16:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706487296001,"power":14396,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168096765952}} 
[2026-08-28 16:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":163576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708813,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:51:11] local.INFO: GPS data processed {"connection_id":163576,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:51:11] local.INFO: Acknowledgment sent {"connection_id":163576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:51:25] local.INFO: TCP Data received {"connection_id":163847,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163847,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:51:25] local.INFO: Processing buffer {"connection_id":163847,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:51:25] local.INFO: IMEI packet received {"connection_id":163847,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 16:51:25] local.INFO: IMEI acknowledgment sent {"connection_id":163847,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:51:27] local.INFO: TCP Data received {"connection_id":163847,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163847,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:51:27] local.INFO: Processing buffer {"connection_id":163847,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:51:27] local.INFO: IMEI packet received {"connection_id":163847,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 16:51:27] local.INFO: IMEI acknowledgment sent {"connection_id":163847,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:51:27] local.INFO: TCP Data received {"connection_id":163847,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a048191330012d7b5a0005e140180025006012..."} 
[2026-08-28 16:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048191330012d7b5a0005e140180025006012..."} 
[2026-08-28 16:51:27] local.INFO: Processing buffer {"connection_id":163847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048191330012d7b5a0005e140180025006012..."} 
[2026-08-28 16:51:27] local.INFO: Packet analysis {"connection_id":163847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04819"} 
[2026-08-28 16:51:27] local.INFO: Extracted packet for processing {"connection_id":163847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04819"} 
[2026-08-28 16:51:27] local.INFO: GPS Element Parsed {"raw_longitude":763058688,"raw_latitude":98648088,"longitude_deg":76.3058688,"latitude_deg":9.8648088,"altitude":37,"angle":96,"satellites":18,"speed":1,"hex_longitude":"2d7b5a00","hex_latitude":"05e14018","is_valid_coordinates":true} 
[2026-08-28 16:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706493952001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:51:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888416839823001600,"note":"Value kept but may cause issues"} 
[2026-08-28 16:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231290617167872,"note":"Value kept but may cause issues"} 
[2026-08-28 16:51:27] 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-28 16:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787915998000,"timestamp_ms":1787915998000,"timestamp_seconds":1787915998,"priority":1,"record_length":96,"hex_timestamp":"000001a048191330"} 
[2026-08-28 16:51:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:51:27] 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-28 16:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 16:51:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:51:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:51:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":163847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":163847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 16:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":163847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 16:51:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 16:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 16:51:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706493952001,"66":12461,"45":8888416839823001600,"85":15104,"24":1,"16":125231290617167872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-28 16:51:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 16:51:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 16:51:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706493952001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:51:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888416839823001600,"description":"Unknown IO ID 45"} 
[2026-08-28 16:51:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 16:51:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231290617167872,"km_value":125231290617167.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:51:27] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457706493952001,"power":12461,"unknown_45":8888416839823001600,"unknown_85":15104,"ignition":1,"odometer":null}} 
[2026-08-28 16:51:27] local.INFO: DEBUG: GPS processor result {"connection_id":163847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708814,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:51:27] local.INFO: GPS data processed {"connection_id":163847,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:51:27] local.INFO: Acknowledgment sent {"connection_id":163847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:51:30] local.INFO: TCP Data received {"connection_id":166215,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:51:30] local.INFO: Processing buffer {"connection_id":166215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:51:30] local.INFO: IMEI packet received {"connection_id":166215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 16:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":166215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:51:35] local.INFO: TCP Data received {"connection_id":166214,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048181930012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048181930012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:51:35] local.INFO: Processing buffer {"connection_id":166214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048181930012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:51:35] local.INFO: Packet analysis {"connection_id":166214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04818"} 
[2026-08-28 16:51:35] local.INFO: Extracted packet for processing {"connection_id":166214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04818"} 
[2026-08-28 16:51:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:51:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706402048001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:51:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:51:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:51:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:51:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787915934000,"timestamp_ms":1787915934000,"timestamp_seconds":1787915934,"priority":1,"record_length":96,"hex_timestamp":"000001a048181930"} 
[2026-08-28 16:51:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:51:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-28 16:51:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:51:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:51:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:51:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:51:35] local.INFO: Teltonika packet parsed successfully {"connection_id":166214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:51:35] local.INFO: Passing IMEI to GPS processor {"connection_id":166214,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:51:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":166214,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:51:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:51:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:51:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:51:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706402048001,"66":25397,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:51:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:51:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:51:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706402048001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:51:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:51:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:51:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:51:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:51:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706402048001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:51:35] local.INFO: DEBUG: GPS processor result {"connection_id":166214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708815,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:51:35] local.INFO: GPS data processed {"connection_id":166214,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:51:35] local.INFO: Acknowledgment sent {"connection_id":166214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:51:36] local.INFO: TCP Data received {"connection_id":166215,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:51:36] local.INFO: Processing buffer {"connection_id":166215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:51:36] local.INFO: IMEI packet received {"connection_id":166215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 16:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":166215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:51:37] local.INFO: TCP Data received {"connection_id":166215,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0481590c0012d34c14006aa4840001100e628..."} 
[2026-08-28 16:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0481590c0012d34c14006aa4840001100e628..."} 
[2026-08-28 16:51:37] local.INFO: Processing buffer {"connection_id":166215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0481590c0012d34c14006aa4840001100e628..."} 
[2026-08-28 16:51:37] local.INFO: Packet analysis {"connection_id":166215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04815"} 
[2026-08-28 16:51:37] local.INFO: Extracted packet for processing {"connection_id":166215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04815"} 
[2026-08-28 16:51:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16: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-28 16:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706359552001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787915768000,"timestamp_ms":1787915768000,"timestamp_seconds":1787915768,"priority":1,"record_length":96,"hex_timestamp":"000001a0481590c0"} 
[2026-08-28 16: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-28 16:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 16:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16: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-28 16: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-28 16:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":166215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":166215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":166215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706359552001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706359552001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:51:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:51:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:51: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-28 16:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706359552001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":166215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:51:37] local.INFO: GPS data processed {"connection_id":166215,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:51:37] local.INFO: Acknowledgment sent {"connection_id":166215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:51:42] local.INFO: TCP Data received {"connection_id":163576,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a04818f008012d181c400721a808004e015b25..."} 
[2026-08-28 16:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04818f008012d181c400721a808004e015b25..."} 
[2026-08-28 16:51:42] local.INFO: Processing buffer {"connection_id":163576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04818f008012d181c400721a808004e015b25..."} 
[2026-08-28 16:51:42] local.INFO: Packet analysis {"connection_id":163576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04818"} 
[2026-08-28 16:51:42] local.INFO: Extracted packet for processing {"connection_id":163576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04818"} 
[2026-08-28 16:51:42] local.INFO: GPS Element Parsed {"raw_longitude":756554816,"raw_latitude":119646216,"longitude_deg":75.6554816,"latitude_deg":11.9646216,"altitude":78,"angle":347,"satellites":37,"speed":7,"hex_longitude":"2d181c40","hex_latitude":"0721a808","is_valid_coordinates":true} 
[2026-08-28 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-28 16:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706492672001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15957332512997376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:51:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168096765952,"note":"Value kept but may cause issues"} 
[2026-08-28 16:51:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787915989000,"timestamp_ms":1787915989000,"timestamp_seconds":1787915989,"priority":1,"record_length":96,"hex_timestamp":"000001a04818f008"} 
[2026-08-28 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-28 16:51:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-28 16:51:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 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-28 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-28 16:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:51:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706492672001,"66":14330,"105":206,"83":41984,"24":7,"16":15957332512997376,"45":1737756168096765952},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 16:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706492672001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:51:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 16:51:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 16:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15957332512997376,"km_value":15957332512997.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:51:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168096765952,"description":"Unknown IO ID 45"} 
[2026-08-28 16:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706492672001,"power":14330,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1737756168096765952}} 
[2026-08-28 16:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":163576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708817,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:51:42] local.INFO: GPS data processed {"connection_id":163576,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:51:42] local.INFO: Acknowledgment sent {"connection_id":163576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:51:56] local.INFO: TCP Data received {"connection_id":163578,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163578,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:51:56] local.INFO: Processing buffer {"connection_id":163578,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:51:56] local.INFO: IMEI packet received {"connection_id":163578,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 16:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":163578,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:51:58] local.INFO: TCP Data received {"connection_id":163847,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a048191ee8012d7b5a0005e140080025007512..."} 
[2026-08-28 16:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048191ee8012d7b5a0005e140080025007512..."} 
[2026-08-28 16:51:58] local.INFO: Processing buffer {"connection_id":163847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048191ee8012d7b5a0005e140080025007512..."} 
[2026-08-28 16:51:58] local.INFO: Packet analysis {"connection_id":163847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04819"} 
[2026-08-28 16:51:58] local.INFO: Extracted packet for processing {"connection_id":163847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04819"} 
[2026-08-28 16:51:58] local.INFO: GPS Element Parsed {"raw_longitude":763058688,"raw_latitude":98648072,"longitude_deg":76.3058688,"latitude_deg":9.8648072,"altitude":37,"angle":117,"satellites":18,"speed":1,"hex_longitude":"2d7b5a00","hex_latitude":"05e14008","is_valid_coordinates":true} 
[2026-08-28 16:51:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:51:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706495488001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:51:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888416839823005696,"note":"Value kept but may cause issues"} 
[2026-08-28 16:51:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231290617167872,"note":"Value kept but may cause issues"} 
[2026-08-28 16:51:58] 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-28 16:51:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787916001000,"timestamp_ms":1787916001000,"timestamp_seconds":1787916001,"priority":1,"record_length":96,"hex_timestamp":"000001a048191ee8"} 
[2026-08-28 16:51:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:51:58] 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-28 16:51:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 16:51:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:51:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:51:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:51:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:51:58] local.INFO: Teltonika packet parsed successfully {"connection_id":163847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:51:58] local.INFO: Passing IMEI to GPS processor {"connection_id":163847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 16:51:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":163847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 16:51:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:51:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 16:51:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 16:51:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706495488001,"66":12385,"45":8888416839823005696,"85":15104,"24":1,"16":125231290617167872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-28 16:51:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 16:51:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 16:51:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706495488001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:51:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888416839823005696,"description":"Unknown IO ID 45"} 
[2026-08-28 16:51:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 16:51:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231290617167872,"km_value":125231290617167.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:51:58] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457706495488001,"power":12385,"unknown_45":8888416839823005696,"unknown_85":15104,"ignition":1,"odometer":null}} 
[2026-08-28 16:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":163847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708818,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:51:59] local.INFO: GPS data processed {"connection_id":163847,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:51:59] local.INFO: Acknowledgment sent {"connection_id":163847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:52:01] local.INFO: TCP Data received {"connection_id":163578,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163578,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:52:01] local.INFO: Processing buffer {"connection_id":163578,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:52:01] local.INFO: IMEI packet received {"connection_id":163578,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 16:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":163578,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:52:03] local.INFO: TCP Data received {"connection_id":163578,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048181930012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048181930012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:52:03] local.INFO: Processing buffer {"connection_id":163578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048181930012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:52:03] local.INFO: Packet analysis {"connection_id":163578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04818"} 
[2026-08-28 16:52:03] local.INFO: Extracted packet for processing {"connection_id":163578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04818"} 
[2026-08-28 16:52:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706402048001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:52:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787915934000,"timestamp_ms":1787915934000,"timestamp_seconds":1787915934,"priority":1,"record_length":96,"hex_timestamp":"000001a048181930"} 
[2026-08-28 16:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:52:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-28 16:52:03] 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-28 16:52:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163578,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163578,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:52:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706402048001,"66":25397,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706402048001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:52:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:52:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706402048001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:52:03] 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":708819,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:52:03] local.INFO: GPS data processed {"connection_id":163578,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:52:03] local.INFO: Acknowledgment sent {"connection_id":163578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:52:08] local.INFO: TCP Data received {"connection_id":166215,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0481a2888012d34c14006aa4840001700e628..."} 
[2026-08-28 16:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0481a2888012d34c14006aa4840001700e628..."} 
[2026-08-28 16:52:08] local.INFO: Processing buffer {"connection_id":166215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0481a2888012d34c14006aa4840001700e628..."} 
[2026-08-28 16:52:08] local.INFO: Packet analysis {"connection_id":166215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0481a"} 
[2026-08-28 16:52:08] local.INFO: Extracted packet for processing {"connection_id":166215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0481a"} 
[2026-08-28 16:52:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":23,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706436608001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:52:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787916069000,"timestamp_ms":1787916069000,"timestamp_seconds":1787916069,"priority":1,"record_length":96,"hex_timestamp":"000001a0481a2888"} 
[2026-08-28 16:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:52: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-28 16:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 16:52: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-28 16:52:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":166215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":166215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":166215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706436608001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706436608001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:52:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:52:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:52: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-28 16:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706436608001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":166215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:52:08] local.INFO: GPS data processed {"connection_id":166215,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:52:08] local.INFO: Acknowledgment sent {"connection_id":166215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:52:13] local.INFO: TCP Data received {"connection_id":163576,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a04818f3f0012d181bc00721a8c8004e016725..."} 
[2026-08-28 16:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04818f3f0012d181bc00721a8c8004e016725..."} 
[2026-08-28 16:52:13] local.INFO: Processing buffer {"connection_id":163576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04818f3f0012d181bc00721a8c8004e016725..."} 
[2026-08-28 16:52:13] local.INFO: Packet analysis {"connection_id":163576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04818"} 
[2026-08-28 16:52:13] local.INFO: Extracted packet for processing {"connection_id":163576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04818"} 
[2026-08-28 16:52:13] local.INFO: GPS Element Parsed {"raw_longitude":756554688,"raw_latitude":119646408,"longitude_deg":75.6554688,"latitude_deg":11.9646408,"altitude":78,"angle":359,"satellites":37,"speed":7,"hex_longitude":"2d181bc0","hex_latitude":"0721a8c8","is_valid_coordinates":true} 
[2026-08-28 16:52:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:52:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706493184001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:52:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15957341102931968,"note":"Value kept but may cause issues"} 
[2026-08-28 16:52:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737333955631777792,"note":"Value kept but may cause issues"} 
[2026-08-28 16:52:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:52:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787915990000,"timestamp_ms":1787915990000,"timestamp_seconds":1787915990,"priority":1,"record_length":96,"hex_timestamp":"000001a04818f3f0"} 
[2026-08-28 16:52:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:52:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:52:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-08-28 16:52:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2723,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:52:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:52:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:52:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:52:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:52:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:52:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:52:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:52:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:52:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:52:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706493184001,"66":14080,"105":206,"83":41984,"24":7,"16":15957341102931968,"45":1737333955631777792},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 16:52:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:52:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:52:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706493184001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:52:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 16:52:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 16:52:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15957341102931968,"km_value":15957341102931.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:52:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737333955631777792,"description":"Unknown IO ID 45"} 
[2026-08-28 16:52:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706493184001,"power":14080,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1737333955631777792}} 
[2026-08-28 16:52:13] local.INFO: DEBUG: GPS processor result {"connection_id":163576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708821,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:52:13] local.INFO: GPS data processed {"connection_id":163576,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:52:13] local.INFO: Acknowledgment sent {"connection_id":163576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:52:25] local.INFO: TCP Data received {"connection_id":163579,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163579,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:52:25] local.INFO: Processing buffer {"connection_id":163579,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:52:25] local.INFO: IMEI packet received {"connection_id":163579,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 16:52:25] local.INFO: IMEI acknowledgment sent {"connection_id":163579,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:52:30] local.INFO: TCP Data received {"connection_id":163579,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163579,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:52:30] local.INFO: Processing buffer {"connection_id":163579,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:52:30] local.INFO: IMEI packet received {"connection_id":163579,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 16:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":163579,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:52:31] local.INFO: TCP Data received {"connection_id":163579,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0481922d0012d7b5a4005e140000025008812..."} 
[2026-08-28 16:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0481922d0012d7b5a4005e140000025008812..."} 
[2026-08-28 16:52:31] local.INFO: Processing buffer {"connection_id":163579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0481922d0012d7b5a4005e140000025008812..."} 
[2026-08-28 16:52:31] local.INFO: Packet analysis {"connection_id":163579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04819"} 
[2026-08-28 16:52:31] local.INFO: Extracted packet for processing {"connection_id":163579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04819"} 
[2026-08-28 16:52:31] local.INFO: GPS Element Parsed {"raw_longitude":763058752,"raw_latitude":98648064,"longitude_deg":76.3058752,"latitude_deg":9.8648064,"altitude":37,"angle":136,"satellites":18,"speed":1,"hex_longitude":"2d7b5a40","hex_latitude":"05e14000","is_valid_coordinates":true} 
[2026-08-28 16:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706496256001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888416839823001600,"note":"Value kept but may cause issues"} 
[2026-08-28 16:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231294912135168,"note":"Value kept but may cause issues"} 
[2026-08-28 16:52:31] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-28 16:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787916002000,"timestamp_ms":1787916002000,"timestamp_seconds":1787916002,"priority":1,"record_length":96,"hex_timestamp":"000001a0481922d0"} 
[2026-08-28 16:52:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:52:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 16:52:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:52:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:52:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":163579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":163579,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 16:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":163579,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 16:52:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 16:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 16:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706496256001,"66":12385,"45":8888416839823001600,"85":15104,"24":1,"16":125231294912135168},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-28 16:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 16:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 16:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706496256001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:52:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888416839823001600,"description":"Unknown IO ID 45"} 
[2026-08-28 16:52:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 16:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231294912135168,"km_value":125231294912135.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:52:31] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457706496256001,"power":12385,"unknown_45":8888416839823001600,"unknown_85":15104,"ignition":1,"odometer":null}} 
[2026-08-28 16:52:31] 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":708822,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:52:31] local.INFO: GPS data processed {"connection_id":163579,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:52:31] local.INFO: Acknowledgment sent {"connection_id":163579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:52:35] local.INFO: TCP Data received {"connection_id":163578,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048181930012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048181930012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:52:35] local.INFO: Processing buffer {"connection_id":163578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048181930012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:52:35] local.INFO: Packet analysis {"connection_id":163578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04818"} 
[2026-08-28 16:52:35] local.INFO: Extracted packet for processing {"connection_id":163578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04818"} 
[2026-08-28 16:52:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706402048001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:52:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:52:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787915934000,"timestamp_ms":1787915934000,"timestamp_seconds":1787915934,"priority":1,"record_length":96,"hex_timestamp":"000001a048181930"} 
[2026-08-28 16:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:52:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-28 16:52:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:52:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163578,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163578,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:52:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706402048001,"66":25397,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706402048001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:52:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:52:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:52:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706402048001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:52:35] 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":708823,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:52:35] local.INFO: GPS data processed {"connection_id":163578,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:52:35] local.INFO: Acknowledgment sent {"connection_id":163578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:52:35] local.INFO: TCP Data received {"connection_id":163848,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:52:35] local.INFO: Processing buffer {"connection_id":163848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:52:35] local.INFO: IMEI packet received {"connection_id":163848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 16:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":163848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:52:40] local.INFO: TCP Data received {"connection_id":163848,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:52:40] local.INFO: Processing buffer {"connection_id":163848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:52:40] local.INFO: IMEI packet received {"connection_id":163848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 16:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":163848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:52:42] local.INFO: TCP Data received {"connection_id":163848,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0481a2888012d34c14006aa4840001700e628..."} 
[2026-08-28 16:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0481a2888012d34c14006aa4840001700e628..."} 
[2026-08-28 16:52:42] local.INFO: Processing buffer {"connection_id":163848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0481a2888012d34c14006aa4840001700e628..."} 
[2026-08-28 16:52:42] local.INFO: Packet analysis {"connection_id":163848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0481a"} 
[2026-08-28 16:52:42] local.INFO: Extracted packet for processing {"connection_id":163848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0481a"} 
[2026-08-28 16:52:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":23,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16: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-28 16:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706436608001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:52:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:52:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787916069000,"timestamp_ms":1787916069000,"timestamp_seconds":1787916069,"priority":1,"record_length":96,"hex_timestamp":"000001a0481a2888"} 
[2026-08-28 16: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-28 16:52:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16: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":151,"data_length":795,"current_offset":136} 
[2026-08-28 16:52: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-28 16: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-28 16: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-28 16:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:52:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706436608001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706436608001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:52:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:52:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16: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-28 16:52:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706436608001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":163848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:52:42] local.INFO: GPS data processed {"connection_id":163848,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:52:42] local.INFO: Acknowledgment sent {"connection_id":163848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:52:44] local.INFO: TCP Data received {"connection_id":163576,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a04818f7d8012d181c400721a9a0004e000d25..."} 
[2026-08-28 16:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04818f7d8012d181c400721a9a0004e000d25..."} 
[2026-08-28 16:52:44] local.INFO: Processing buffer {"connection_id":163576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04818f7d8012d181c400721a9a0004e000d25..."} 
[2026-08-28 16:52:44] local.INFO: Packet analysis {"connection_id":163576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04818"} 
[2026-08-28 16:52:44] local.INFO: Extracted packet for processing {"connection_id":163576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04818"} 
[2026-08-28 16:52:44] local.INFO: GPS Element Parsed {"raw_longitude":756554816,"raw_latitude":119646624,"longitude_deg":75.6554816,"latitude_deg":11.9646624,"altitude":78,"angle":13,"satellites":37,"speed":9,"hex_longitude":"2d181c40","hex_latitude":"0721a9a0","is_valid_coordinates":true} 
[2026-08-28 16:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:52:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706493440001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15957353987833856,"note":"Value kept but may cause issues"} 
[2026-08-28 16:52:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737193218143471616,"note":"Value kept but may cause issues"} 
[2026-08-28 16:52:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787915991000,"timestamp_ms":1787915991000,"timestamp_seconds":1787915991,"priority":1,"record_length":96,"hex_timestamp":"000001a04818f7d8"} 
[2026-08-28 16:52:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:52:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-28 16:52:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3439329280,"note":"Value kept but may cause issues"} 
[2026-08-28 16:52:44] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2799173711,"note":"Value kept but may cause issues"} 
[2026-08-28 16:52:44] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":2013331456,"corrected_to":0} 
[2026-08-28 16:52:44] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2298531072,"note":"Value kept but may cause issues"} 
[2026-08-28 16:52:44] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2971009024,"note":"Value kept but may cause issues"} 
[2026-08-28 16:52:44] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,177,160,240,45,64,168,78,37,10,66,232,192,166,79,36,150,1,92,227,72,33,4,113,205,204,239,2,54,56],"length":479,"final_offset":609,"validated_count":36,"validation_warnings":[{"io_id":204,"original":2013331456,"validated":0}]} 
[2026-08-28 16:52:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620887218546999296,"timestamp_seconds":5620887218546999.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 16:52:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:52:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:52:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:52:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706493440001,"66":14080,"105":206,"83":41984,"24":9,"16":15957353987833856,"45":1737193218143471616},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 16:52:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:52:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:52:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706493440001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:52:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 16:52:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 16:52:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15957353987833856,"km_value":15957353987833.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:52:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737193218143471616,"description":"Unknown IO ID 45"} 
[2026-08-28 16:52:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706493440001,"power":14080,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1737193218143471616}} 
[2026-08-28 16:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":163576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708825,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:52:44] local.INFO: GPS data processed {"connection_id":163576,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:52:44] local.INFO: Acknowledgment sent {"connection_id":163576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:52:46] local.INFO: TCP Data received {"connection_id":163848,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0481a2888012d34c14006aa4840001700e628..."} 
[2026-08-28 16:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0481a2888012d34c14006aa4840001700e628..."} 
[2026-08-28 16:52:46] local.INFO: Processing buffer {"connection_id":163848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0481a2888012d34c14006aa4840001700e628..."} 
[2026-08-28 16:52:46] local.INFO: Packet analysis {"connection_id":163848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0481a"} 
[2026-08-28 16:52:46] local.INFO: Extracted packet for processing {"connection_id":163848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0481a"} 
[2026-08-28 16:52:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":23,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:52:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706436608001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:52:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:52:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:52:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:52:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787916069000,"timestamp_ms":1787916069000,"timestamp_seconds":1787916069,"priority":1,"record_length":96,"hex_timestamp":"000001a0481a2888"} 
[2026-08-28 16:52:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:52: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-28 16:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 16:52:46] 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-28 16:52:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:52:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:52:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:52:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:52:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:52:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:52:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:52:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:52:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:52:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706436608001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:52:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:52:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:52:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706436608001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:52:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:52:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:52: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-28 16:52:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:52:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706436608001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:52:46] local.INFO: DEBUG: GPS processor result {"connection_id":163848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:52:46] local.INFO: GPS data processed {"connection_id":163848,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:52:46] local.INFO: Acknowledgment sent {"connection_id":163848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:53:01] local.INFO: TCP Data received {"connection_id":163849,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163849,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:53:01] local.INFO: Processing buffer {"connection_id":163849,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:53:01] local.INFO: IMEI packet received {"connection_id":163849,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 16:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":163849,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:53:02] local.INFO: TCP Data received {"connection_id":163579,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0481970f0012d7b5a0005e13fe80024009012..."} 
[2026-08-28 16:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0481970f0012d7b5a0005e13fe80024009012..."} 
[2026-08-28 16:53:02] local.INFO: Processing buffer {"connection_id":163579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0481970f0012d7b5a0005e13fe80024009012..."} 
[2026-08-28 16:53:02] local.INFO: Packet analysis {"connection_id":163579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04819"} 
[2026-08-28 16:53:02] local.INFO: Extracted packet for processing {"connection_id":163579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04819"} 
[2026-08-28 16:53:02] local.INFO: GPS Element Parsed {"raw_longitude":763058688,"raw_latitude":98648040,"longitude_deg":76.3058688,"latitude_deg":9.864804,"altitude":36,"angle":144,"satellites":18,"speed":0,"hex_longitude":"2d7b5a00","hex_latitude":"05e13fe8","is_valid_coordinates":true} 
[2026-08-28 16:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706496512001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:53:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888487208567177216,"note":"Value kept but may cause issues"} 
[2026-08-28 16:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231303502069760,"note":"Value kept but may cause issues"} 
[2026-08-28 16:53:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-28 16:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787916022000,"timestamp_ms":1787916022000,"timestamp_seconds":1787916022,"priority":1,"record_length":96,"hex_timestamp":"000001a0481970f0"} 
[2026-08-28 16:53:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:53:02] 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-28 16:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 16:53:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:53:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:53:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163579,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 16:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163579,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 16:53:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 16:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 16:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706496512001,"66":12461,"45":8888487208567177216,"85":15104,"24":0,"16":125231303502069760},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-28 16:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 16:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 16:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706496512001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:53:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888487208567177216,"description":"Unknown IO ID 45"} 
[2026-08-28 16:53:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 16:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231303502069760,"km_value":125231303502069.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:53:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457706496512001,"power":12461,"unknown_45":8888487208567177216,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-28 16:53:02] 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":708827,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:53:02] local.INFO: GPS data processed {"connection_id":163579,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:53:02] local.INFO: Acknowledgment sent {"connection_id":163579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:53:06] local.INFO: TCP Data received {"connection_id":163849,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163849,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:53:06] local.INFO: Processing buffer {"connection_id":163849,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:53:06] local.INFO: IMEI packet received {"connection_id":163849,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 16:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":163849,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:53:07] local.INFO: TCP Data received {"connection_id":163849,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048181930012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048181930012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:53:07] local.INFO: Processing buffer {"connection_id":163849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048181930012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:53:07] local.INFO: Packet analysis {"connection_id":163849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04818"} 
[2026-08-28 16:53:07] local.INFO: Extracted packet for processing {"connection_id":163849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04818"} 
[2026-08-28 16:53:07] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706402048001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787915934000,"timestamp_ms":1787915934000,"timestamp_seconds":1787915934,"priority":1,"record_length":96,"hex_timestamp":"000001a048181930"} 
[2026-08-28 16:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-28 16:53:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:53:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":163849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":163849,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":163849,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706402048001,"66":25397,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706402048001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:53:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:53:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706402048001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":163849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708828,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:53:07] local.INFO: GPS data processed {"connection_id":163849,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:53:07] local.INFO: Acknowledgment sent {"connection_id":163849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:53:13] local.INFO: TCP Data received {"connection_id":163849,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048181930012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048181930012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:53:13] local.INFO: Processing buffer {"connection_id":163849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048181930012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:53:13] local.INFO: Packet analysis {"connection_id":163849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04818"} 
[2026-08-28 16:53:13] local.INFO: Extracted packet for processing {"connection_id":163849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04818"} 
[2026-08-28 16:53:13] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16: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-28 16:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706402048001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:53:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:53:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787915934000,"timestamp_ms":1787915934000,"timestamp_seconds":1787915934,"priority":1,"record_length":96,"hex_timestamp":"000001a048181930"} 
[2026-08-28 16: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-28 16:53:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16: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":75,"data_length":795,"current_offset":136} 
[2026-08-28 16:53: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-28 16: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-28 16: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-28 16:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163849,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163849,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:53:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706402048001,"66":25397,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706402048001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:53:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:53:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:53:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:53:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706402048001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":163849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708829,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:53:13] local.INFO: GPS data processed {"connection_id":163849,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:53:13] local.INFO: Acknowledgment sent {"connection_id":163849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:53:15] local.INFO: TCP Data received {"connection_id":163576,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a04818fbc0012d181c800721aa88004e001f25..."} 
[2026-08-28 16:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04818fbc0012d181c800721aa88004e001f25..."} 
[2026-08-28 16:53:15] local.INFO: Processing buffer {"connection_id":163576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04818fbc0012d181c800721aa88004e001f25..."} 
[2026-08-28 16:53:15] local.INFO: Packet analysis {"connection_id":163576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04818"} 
[2026-08-28 16:53:15] local.INFO: Extracted packet for processing {"connection_id":163576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04818"} 
[2026-08-28 16:53:15] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119646856,"longitude_deg":75.655488,"latitude_deg":11.9646856,"altitude":78,"angle":31,"satellites":37,"speed":10,"hex_longitude":"2d181c80","hex_latitude":"0721aa88","is_valid_coordinates":true} 
[2026-08-28 16: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-28 16:53:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706493696001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:53:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15957366872735744,"note":"Value kept but may cause issues"} 
[2026-08-28 16:53:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737333955631882240,"note":"Value kept but may cause issues"} 
[2026-08-28 16:53:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:53:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787915992000,"timestamp_ms":1787915992000,"timestamp_seconds":1787915992,"priority":1,"record_length":96,"hex_timestamp":"000001a04818fbc0"} 
[2026-08-28 16: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-28 16:53:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-28 16:53:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3439329280,"note":"Value kept but may cause issues"} 
[2026-08-28 16:53:15] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-28 16:53:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-28 16:53:15] local.WARNING: Large IO value detected {"io_id":29,"raw_value":3221692838,"note":"Value kept but may cause issues"} 
[2026-08-28 16:53:15] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3019951360,"note":"Value kept but may cause issues"} 
[2026-08-28 16:53:15] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2971009024,"note":"Value kept but may cause issues"} 
[2026-08-28 16:53:15] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,105,83,24,241,157,16,177,160,243,45,192,168,78,37,10,66,240,64,232,1,60,227,72,33,4,113,205,29,216,239,54,2,56],"length":479,"final_offset":609,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-28 16:53:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620506787523919872,"timestamp_seconds":5620506787523920.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 16: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-28 16:53:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:53:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:53:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:53:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:53:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:53:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:53:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:53:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706493696001,"66":14363,"105":206,"83":41984,"24":10,"16":15957366872735744,"45":1737333955631882240},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 16:53:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:53:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:53:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706493696001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:53:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 16:53:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 16:53:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15957366872735744,"km_value":15957366872735.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:53:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737333955631882240,"description":"Unknown IO ID 45"} 
[2026-08-28 16:53:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706493696001,"power":14363,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1737333955631882240}} 
[2026-08-28 16:53:15] local.INFO: DEBUG: GPS processor result {"connection_id":163576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708830,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:53:15] local.INFO: GPS data processed {"connection_id":163576,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:53:15] local.INFO: Acknowledgment sent {"connection_id":163576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:53:25] local.INFO: TCP Data received {"connection_id":164848,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164848,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:53:25] local.INFO: Processing buffer {"connection_id":164848,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:53:25] local.INFO: IMEI packet received {"connection_id":164848,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 16:53:25] local.INFO: IMEI acknowledgment sent {"connection_id":164848,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:53:30] local.INFO: TCP Data received {"connection_id":164848,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164848,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:53:30] local.INFO: Processing buffer {"connection_id":164848,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:53:30] local.INFO: IMEI packet received {"connection_id":164848,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 16:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":164848,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:53:30] local.INFO: TCP Data received {"connection_id":163580,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:53:30] local.INFO: Processing buffer {"connection_id":163580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:53:30] local.INFO: IMEI packet received {"connection_id":163580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 16:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":163580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:53:31] local.INFO: TCP Data received {"connection_id":164848,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0481be5d8012d7b58c005e13f700020009013..."} 
[2026-08-28 16:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0481be5d8012d7b58c005e13f700020009013..."} 
[2026-08-28 16:53:31] local.INFO: Processing buffer {"connection_id":164848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0481be5d8012d7b58c005e13f700020009013..."} 
[2026-08-28 16:53:31] local.INFO: Packet analysis {"connection_id":164848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0481b"} 
[2026-08-28 16:53:31] local.INFO: Extracted packet for processing {"connection_id":164848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0481b"} 
[2026-08-28 16:53:31] local.INFO: GPS Element Parsed {"raw_longitude":763058368,"raw_latitude":98647920,"longitude_deg":76.3058368,"latitude_deg":9.864792,"altitude":32,"angle":144,"satellites":19,"speed":0,"hex_longitude":"2d7b58c0","hex_latitude":"05e13f70","is_valid_coordinates":true} 
[2026-08-28 16:53:31] 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-28 16:53:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706542848001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:53:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888064996102074368,"note":"Value kept but may cause issues"} 
[2026-08-28 16:53:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231367926579200,"note":"Value kept but may cause issues"} 
[2026-08-28 16:53:31] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-28 16:53:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787916183000,"timestamp_ms":1787916183000,"timestamp_seconds":1787916183,"priority":1,"record_length":96,"hex_timestamp":"000001a0481be5d8"} 
[2026-08-28 16:53:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:53:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:53:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-28 16:53:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:53:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:53:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:53:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:53:31] local.INFO: Teltonika packet parsed successfully {"connection_id":164848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:53:31] local.INFO: Passing IMEI to GPS processor {"connection_id":164848,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 16:53:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":164848,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 16:53:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:53:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 16:53:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 16:53:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706542848001,"66":13656,"45":8888064996102074368,"85":15104,"24":0,"16":125231367926579200},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-28 16:53:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 16:53:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 16:53:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706542848001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:53:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888064996102074368,"description":"Unknown IO ID 45"} 
[2026-08-28 16:53:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 16:53:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231367926579200,"km_value":125231367926579.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:53:31] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457706542848001,"power":13656,"unknown_45":8888064996102074368,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-28 16:53:31] 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":708831,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:53:31] local.INFO: GPS data processed {"connection_id":164848,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:53:31] local.INFO: Acknowledgment sent {"connection_id":164848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:53:35] local.INFO: TCP Data received {"connection_id":163580,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:53:35] local.INFO: Processing buffer {"connection_id":163580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:53:35] local.INFO: IMEI packet received {"connection_id":163580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 16:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":163580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:53:37] local.INFO: TCP Data received {"connection_id":163580,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0481a2888012d34c14006aa4840001700e628..."} 
[2026-08-28 16:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0481a2888012d34c14006aa4840001700e628..."} 
[2026-08-28 16:53:37] local.INFO: Processing buffer {"connection_id":163580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0481a2888012d34c14006aa4840001700e628..."} 
[2026-08-28 16:53:37] local.INFO: Packet analysis {"connection_id":163580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0481a"} 
[2026-08-28 16:53:37] local.INFO: Extracted packet for processing {"connection_id":163580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0481a"} 
[2026-08-28 16:53:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":23,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706436608001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787916069000,"timestamp_ms":1787916069000,"timestamp_seconds":1787916069,"priority":1,"record_length":96,"hex_timestamp":"000001a0481a2888"} 
[2026-08-28 16:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 16:53:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706436608001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706436608001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:53:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:53:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:53: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-28 16:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706436608001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:53:37] 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":708832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:53:37] local.INFO: GPS data processed {"connection_id":163580,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:53:37] local.INFO: Acknowledgment sent {"connection_id":163580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:53:46] local.INFO: TCP Data received {"connection_id":163576,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0481945f8012d1828800721bcc8004d000a26..."} 
[2026-08-28 16:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0481945f8012d1828800721bcc8004d000a26..."} 
[2026-08-28 16:53:46] local.INFO: Processing buffer {"connection_id":163576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0481945f8012d1828800721bcc8004d000a26..."} 
[2026-08-28 16:53:46] local.INFO: Packet analysis {"connection_id":163576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04819"} 
[2026-08-28 16:53:46] local.INFO: Extracted packet for processing {"connection_id":163576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04819"} 
[2026-08-28 16:53:46] local.INFO: GPS Element Parsed {"raw_longitude":756557952,"raw_latitude":119651528,"longitude_deg":75.6557952,"latitude_deg":11.9651528,"altitude":77,"angle":10,"satellites":38,"speed":7,"hex_longitude":"2d182880","hex_latitude":"0721bcc8","is_valid_coordinates":true} 
[2026-08-28 16: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-28 16:53:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706493952001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:53:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15957637455675392,"note":"Value kept but may cause issues"} 
[2026-08-28 16:53:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324376119296,"note":"Value kept but may cause issues"} 
[2026-08-28 16: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-28 16:53:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787916011000,"timestamp_ms":1787916011000,"timestamp_seconds":1787916011,"priority":1,"record_length":96,"hex_timestamp":"000001a0481945f8"} 
[2026-08-28 16: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-28 16:53:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-28 16:53:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16: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-28 16: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-28 16:53:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:53:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:53:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:53:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:53:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:53:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:53:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:53:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706493952001,"66":14113,"105":206,"83":41984,"24":7,"16":15957637455675392,"45":1737404324376119296},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 16:53:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:53:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:53:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706493952001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:53:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 16:53:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 16:53:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15957637455675392,"km_value":15957637455675.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:53:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324376119296,"description":"Unknown IO ID 45"} 
[2026-08-28 16:53:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706493952001,"power":14113,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1737404324376119296}} 
[2026-08-28 16:53:46] local.INFO: DEBUG: GPS processor result {"connection_id":163576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708833,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:53:46] local.INFO: GPS data processed {"connection_id":163576,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:53:46] local.INFO: Acknowledgment sent {"connection_id":163576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:53:56] local.INFO: TCP Data received {"connection_id":163581,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163581,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:53:56] local.INFO: Processing buffer {"connection_id":163581,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:53:56] local.INFO: IMEI packet received {"connection_id":163581,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 16:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":163581,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:54:01] local.INFO: TCP Data received {"connection_id":163581,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163581,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:54:01] local.INFO: Processing buffer {"connection_id":163581,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:54:01] local.INFO: IMEI packet received {"connection_id":163581,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 16:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":163581,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:54:02] local.INFO: TCP Data received {"connection_id":164848,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0481c14b8012d7b58c005e13f700020009013..."} 
[2026-08-28 16:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0481c14b8012d7b58c005e13f700020009013..."} 
[2026-08-28 16:54:02] local.INFO: Processing buffer {"connection_id":164848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0481c14b8012d7b58c005e13f700020009013..."} 
[2026-08-28 16:54:02] local.INFO: Packet analysis {"connection_id":164848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0481c"} 
[2026-08-28 16:54:02] local.INFO: Extracted packet for processing {"connection_id":164848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0481c"} 
[2026-08-28 16:54:02] local.INFO: GPS Element Parsed {"raw_longitude":763058368,"raw_latitude":98647920,"longitude_deg":76.3058368,"latitude_deg":9.864792,"altitude":32,"angle":144,"satellites":19,"speed":0,"hex_longitude":"2d7b58c0","hex_latitude":"05e13f70","is_valid_coordinates":true} 
[2026-08-28 16:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706542848001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:54:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888064996102074368,"note":"Value kept but may cause issues"} 
[2026-08-28 16:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231372221546496,"note":"Value kept but may cause issues"} 
[2026-08-28 16:54:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-28 16:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787916195000,"timestamp_ms":1787916195000,"timestamp_seconds":1787916195,"priority":1,"record_length":96,"hex_timestamp":"000001a0481c14b8"} 
[2026-08-28 16:54:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:54:02] 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-28 16:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-28 16:54:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:54:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:54:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":164848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":164848,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 16:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":164848,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 16:54:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 16:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 16:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706542848001,"66":13363,"45":8888064996102074368,"85":15104,"24":0,"16":125231372221546496},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-28 16:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 16:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 16:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706542848001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:54:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888064996102074368,"description":"Unknown IO ID 45"} 
[2026-08-28 16:54:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 16:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231372221546496,"km_value":125231372221546.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:54:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457706542848001,"power":13363,"unknown_45":8888064996102074368,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-28 16:54:02] 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":708834,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:54:02] local.INFO: GPS data processed {"connection_id":164848,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:54:02] local.INFO: Acknowledgment sent {"connection_id":164848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:54:03] local.INFO: TCP Data received {"connection_id":163581,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048181930012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048181930012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:54:03] local.INFO: Processing buffer {"connection_id":163581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048181930012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:54:03] local.INFO: Packet analysis {"connection_id":163581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04818"} 
[2026-08-28 16:54:03] local.INFO: Extracted packet for processing {"connection_id":163581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04818"} 
[2026-08-28 16:54:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706402048001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787915934000,"timestamp_ms":1787915934000,"timestamp_seconds":1787915934,"priority":1,"record_length":96,"hex_timestamp":"000001a048181930"} 
[2026-08-28 16:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:54:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-28 16:54:03] 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-28 16:54:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163581,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163581,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:54:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706402048001,"66":25397,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706402048001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:54:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:54:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706402048001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:54:03] 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":708835,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:54:03] local.INFO: GPS data processed {"connection_id":163581,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:54:03] local.INFO: Acknowledgment sent {"connection_id":163581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:54:09] local.INFO: TCP Data received {"connection_id":163580,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0481a2888012d34c14006aa4840001700e628..."} 
[2026-08-28 16:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0481a2888012d34c14006aa4840001700e628..."} 
[2026-08-28 16:54:09] local.INFO: Processing buffer {"connection_id":163580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0481a2888012d34c14006aa4840001700e628..."} 
[2026-08-28 16:54:09] local.INFO: Packet analysis {"connection_id":163580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0481a"} 
[2026-08-28 16:54:09] local.INFO: Extracted packet for processing {"connection_id":163580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0481a"} 
[2026-08-28 16:54:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":23,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706436608001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:54:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:54:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787916069000,"timestamp_ms":1787916069000,"timestamp_seconds":1787916069,"priority":1,"record_length":96,"hex_timestamp":"000001a0481a2888"} 
[2026-08-28 16:54:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:54: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-28 16:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 16:54:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:54:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:54:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:54:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706436608001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706436608001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:54:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:54:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:54: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-28 16:54:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706436608001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:54:09] 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":708836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:54:09] local.INFO: GPS data processed {"connection_id":163580,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:54:09] local.INFO: Acknowledgment sent {"connection_id":163580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:54:17] local.INFO: TCP Data received {"connection_id":163576,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0481949e0012d1828800721bd68004d014825..."} 
[2026-08-28 16:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0481949e0012d1828800721bd68004d014825..."} 
[2026-08-28 16:54:17] local.INFO: Processing buffer {"connection_id":163576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0481949e0012d1828800721bd68004d014825..."} 
[2026-08-28 16:54:17] local.INFO: Packet analysis {"connection_id":163576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04819"} 
[2026-08-28 16:54:17] local.INFO: Extracted packet for processing {"connection_id":163576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04819"} 
[2026-08-28 16:54:17] local.INFO: GPS Element Parsed {"raw_longitude":756557952,"raw_latitude":119651688,"longitude_deg":75.6557952,"latitude_deg":11.9651688,"altitude":77,"angle":328,"satellites":37,"speed":6,"hex_longitude":"2d182880","hex_latitude":"0721bd68","is_valid_coordinates":true} 
[2026-08-28 16: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-28 16:54:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706498816001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:54:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15957641750642688,"note":"Value kept but may cause issues"} 
[2026-08-28 16:54:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740782024097843200,"note":"Value kept but may cause issues"} 
[2026-08-28 16: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-28 16:54:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787916012000,"timestamp_ms":1787916012000,"timestamp_seconds":1787916012,"priority":1,"record_length":96,"hex_timestamp":"000001a0481949e0"} 
[2026-08-28 16: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-28 16:54:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-28 16:54:17] 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-28 16: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-28 16: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-28 16:54:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:54:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:54:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:54:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:54:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:54:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:54:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:54:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706498816001,"66":14004,"105":206,"83":41984,"24":6,"16":15957641750642688,"45":1740782024097843200},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 16:54:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:54:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:54:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706498816001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:54:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 16:54:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 16:54:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15957641750642688,"km_value":15957641750642.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:54:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740782024097843200,"description":"Unknown IO ID 45"} 
[2026-08-28 16:54:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706498816001,"power":14004,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1740782024097843200}} 
[2026-08-28 16:54:18] local.INFO: DEBUG: GPS processor result {"connection_id":163576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708837,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:54:18] local.INFO: GPS data processed {"connection_id":163576,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:54:18] local.INFO: Acknowledgment sent {"connection_id":163576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:54:27] local.INFO: TCP Data received {"connection_id":163850,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163850,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:54:27] local.INFO: Processing buffer {"connection_id":163850,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:54:27] local.INFO: IMEI packet received {"connection_id":163850,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 16:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":163850,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:54:30] local.INFO: TCP Data received {"connection_id":163850,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163850,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:54:30] local.INFO: Processing buffer {"connection_id":163850,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:54:30] local.INFO: IMEI packet received {"connection_id":163850,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 16:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":163850,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:54:30] local.INFO: TCP Data received {"connection_id":164849,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:54:30] local.INFO: Processing buffer {"connection_id":164849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:54:30] local.INFO: IMEI packet received {"connection_id":164849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 16:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":164849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:54:34] local.INFO: TCP Data received {"connection_id":163581,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0481cb0f8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0481cb0f8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:54:34] local.INFO: Processing buffer {"connection_id":163581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0481cb0f8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:54:34] local.INFO: Packet analysis {"connection_id":163581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0481c"} 
[2026-08-28 16:54:34] local.INFO: Extracted packet for processing {"connection_id":163581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0481c"} 
[2026-08-28 16:54:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706479104001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:54:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:54:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787916235000,"timestamp_ms":1787916235000,"timestamp_seconds":1787916235,"priority":1,"record_length":96,"hex_timestamp":"000001a0481cb0f8"} 
[2026-08-28 16:54:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:54:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 16:54:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:54:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:54:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163581,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163581,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:54:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706479104001,"66":25430,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706479104001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:54:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:54:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:54:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706479104001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:54:34] 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":708838,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:54:34] local.INFO: GPS data processed {"connection_id":163581,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:54:34] local.INFO: Acknowledgment sent {"connection_id":163581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:54:35] local.INFO: TCP Data received {"connection_id":163850,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163850,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:54:35] local.INFO: Processing buffer {"connection_id":163850,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:54:35] local.INFO: IMEI packet received {"connection_id":163850,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 16:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":163850,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:54:35] local.INFO: TCP Data received {"connection_id":164849,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:54:35] local.INFO: Processing buffer {"connection_id":164849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:54:35] local.INFO: IMEI packet received {"connection_id":164849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 16:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":164849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:54:36] local.INFO: TCP Data received {"connection_id":163850,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0481c14b8012d7b58c005e13f700020009013..."} 
[2026-08-28 16:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0481c14b8012d7b58c005e13f700020009013..."} 
[2026-08-28 16:54:36] local.INFO: Processing buffer {"connection_id":163850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0481c14b8012d7b58c005e13f700020009013..."} 
[2026-08-28 16:54:36] local.INFO: Packet analysis {"connection_id":163850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0481c"} 
[2026-08-28 16:54:36] local.INFO: Extracted packet for processing {"connection_id":163850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0481c"} 
[2026-08-28 16:54:36] local.INFO: GPS Element Parsed {"raw_longitude":763058368,"raw_latitude":98647920,"longitude_deg":76.3058368,"latitude_deg":9.864792,"altitude":32,"angle":144,"satellites":19,"speed":0,"hex_longitude":"2d7b58c0","hex_latitude":"05e13f70","is_valid_coordinates":true} 
[2026-08-28 16:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706545920001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888064996102074368,"note":"Value kept but may cause issues"} 
[2026-08-28 16:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231372221546496,"note":"Value kept but may cause issues"} 
[2026-08-28 16:54:36] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-28 16:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787916195000,"timestamp_ms":1787916195000,"timestamp_seconds":1787916195,"priority":1,"record_length":96,"hex_timestamp":"000001a0481c14b8"} 
[2026-08-28 16:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-28 16:54:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:54:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 16:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 16:54:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 16:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 16:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706545920001,"66":13363,"45":8888064996102074368,"85":15104,"24":0,"16":125231372221546496},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-28 16:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 16:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 16:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706545920001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888064996102074368,"description":"Unknown IO ID 45"} 
[2026-08-28 16:54:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 16:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231372221546496,"km_value":125231372221546.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:54:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457706545920001,"power":13363,"unknown_45":8888064996102074368,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-28 16:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":163850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708839,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:54:36] local.INFO: GPS data processed {"connection_id":163850,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:54:36] local.INFO: Acknowledgment sent {"connection_id":163850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:54:38] local.INFO: TCP Data received {"connection_id":164849,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0481a2888012d34c14006aa4840001700e628..."} 
[2026-08-28 16:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0481a2888012d34c14006aa4840001700e628..."} 
[2026-08-28 16:54:38] local.INFO: Processing buffer {"connection_id":164849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0481a2888012d34c14006aa4840001700e628..."} 
[2026-08-28 16:54:38] local.INFO: Packet analysis {"connection_id":164849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0481a"} 
[2026-08-28 16:54:38] local.INFO: Extracted packet for processing {"connection_id":164849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0481a"} 
[2026-08-28 16:54:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":23,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706436608001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787916069000,"timestamp_ms":1787916069000,"timestamp_seconds":1787916069,"priority":1,"record_length":96,"hex_timestamp":"000001a0481a2888"} 
[2026-08-28 16:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:54: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-28 16:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 16:54: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-28 16:54:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706436608001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706436608001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:54:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:54:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:54: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-28 16:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706436608001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:54:38] 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":708840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:54:38] local.INFO: GPS data processed {"connection_id":164849,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:54:38] local.INFO: Acknowledgment sent {"connection_id":164849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:54:40] local.INFO: TCP Data received {"connection_id":163850,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0481c2070012d7b58c005e13f700020009013..."} 
[2026-08-28 16:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0481c2070012d7b58c005e13f700020009013..."} 
[2026-08-28 16:54:40] local.INFO: Processing buffer {"connection_id":163850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0481c2070012d7b58c005e13f700020009013..."} 
[2026-08-28 16:54:40] local.INFO: Packet analysis {"connection_id":163850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0481c"} 
[2026-08-28 16:54:40] local.INFO: Extracted packet for processing {"connection_id":163850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0481c"} 
[2026-08-28 16:54:40] local.INFO: GPS Element Parsed {"raw_longitude":763058368,"raw_latitude":98647920,"longitude_deg":76.3058368,"latitude_deg":9.864792,"altitude":32,"angle":144,"satellites":19,"speed":0,"hex_longitude":"2d7b58c0","hex_latitude":"05e13f70","is_valid_coordinates":true} 
[2026-08-28 16:54:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:54:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706545920001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:54:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888064996102074368,"note":"Value kept but may cause issues"} 
[2026-08-28 16:54:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231372221546496,"note":"Value kept but may cause issues"} 
[2026-08-28 16:54:40] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-28 16:54:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787916198000,"timestamp_ms":1787916198000,"timestamp_seconds":1787916198,"priority":1,"record_length":96,"hex_timestamp":"000001a0481c2070"} 
[2026-08-28 16:54:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:54:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:54:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-28 16:54:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:54:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:54:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:54:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:54:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:54:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 16:54:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 16:54:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:54:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 16:54:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 16:54:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706545920001,"66":13048,"45":8888064996102074368,"85":15104,"24":0,"16":125231372221546496},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-28 16:54:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 16:54:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 16:54:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706545920001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:54:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888064996102074368,"description":"Unknown IO ID 45"} 
[2026-08-28 16:54:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 16:54:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231372221546496,"km_value":125231372221546.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:54:40] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457706545920001,"power":13048,"unknown_45":8888064996102074368,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-28 16:54:40] local.INFO: DEBUG: GPS processor result {"connection_id":163850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708841,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:54:40] local.INFO: GPS data processed {"connection_id":163850,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:54:40] local.INFO: Acknowledgment sent {"connection_id":163850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:54:43] local.INFO: TCP Data received {"connection_id":166216,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166216,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:54:43] local.INFO: Processing buffer {"connection_id":166216,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:54:43] local.INFO: IMEI packet received {"connection_id":166216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 16:54:43] local.INFO: IMEI acknowledgment sent {"connection_id":166216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:54:43] local.INFO: TCP Data received {"connection_id":166216,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166216,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:54:43] local.INFO: Processing buffer {"connection_id":166216,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:54:43] local.INFO: IMEI packet received {"connection_id":166216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 16:54:43] local.INFO: IMEI acknowledgment sent {"connection_id":166216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:54:48] local.INFO: TCP Data received {"connection_id":166216,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166216,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:54:48] local.INFO: Processing buffer {"connection_id":166216,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:54:48] local.INFO: IMEI packet received {"connection_id":166216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 16:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":166216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:54:49] local.INFO: TCP Data received {"connection_id":166216,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048199be8012d1828800721bbd8004d014826..."} 
[2026-08-28 16:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048199be8012d1828800721bbd8004d014826..."} 
[2026-08-28 16:54:49] local.INFO: Processing buffer {"connection_id":166216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048199be8012d1828800721bbd8004d014826..."} 
[2026-08-28 16:54:49] local.INFO: Packet analysis {"connection_id":166216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04819"} 
[2026-08-28 16:54:49] local.INFO: Extracted packet for processing {"connection_id":166216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04819"} 
[2026-08-28 16:54:49] local.INFO: GPS Element Parsed {"raw_longitude":756557952,"raw_latitude":119651288,"longitude_deg":75.6557952,"latitude_deg":11.9651288,"altitude":77,"angle":328,"satellites":38,"speed":5,"hex_longitude":"2d182880","hex_latitude":"0721bbd8","is_valid_coordinates":true} 
[2026-08-28 16: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-28 16:54:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706499072001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:54:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15957697585217536,"note":"Value kept but may cause issues"} 
[2026-08-28 16:54:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740782024097884160,"note":"Value kept but may cause issues"} 
[2026-08-28 16:54:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:54:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787916033000,"timestamp_ms":1787916033000,"timestamp_seconds":1787916033,"priority":1,"record_length":96,"hex_timestamp":"000001a048199be8"} 
[2026-08-28 16: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-28 16:54:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-28 16:54:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16: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-28 16: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-28 16:54:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:54:49] local.INFO: Teltonika packet parsed successfully {"connection_id":166216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:54:49] local.INFO: Passing IMEI to GPS processor {"connection_id":166216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:54:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":166216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:54:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:54:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:54:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:54:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706499072001,"66":13135,"105":206,"83":41984,"24":5,"16":15957697585217536,"45":1740782024097884160},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 16:54:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:54:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:54:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706499072001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:54:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 16:54:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 16:54:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15957697585217536,"km_value":15957697585217.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:54:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740782024097884160,"description":"Unknown IO ID 45"} 
[2026-08-28 16:54:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706499072001,"power":13135,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1740782024097884160}} 
[2026-08-28 16:54:49] local.INFO: DEBUG: GPS processor result {"connection_id":166216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708842,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:54:49] local.INFO: GPS data processed {"connection_id":166216,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:54:49] local.INFO: Acknowledgment sent {"connection_id":166216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:54:56] local.INFO: TCP Data received {"connection_id":164850,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164850,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:54:56] local.INFO: Processing buffer {"connection_id":164850,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:54:56] local.INFO: IMEI packet received {"connection_id":164850,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 16:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":164850,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:55:01] local.INFO: TCP Data received {"connection_id":164850,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164850,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:55:01] local.INFO: Processing buffer {"connection_id":164850,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:55:01] local.INFO: IMEI packet received {"connection_id":164850,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 16:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":164850,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:55:03] local.INFO: TCP Data received {"connection_id":164850,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0481cb0f8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0481cb0f8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:55:03] local.INFO: Processing buffer {"connection_id":164850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0481cb0f8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:55:03] local.INFO: Packet analysis {"connection_id":164850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0481c"} 
[2026-08-28 16:55:03] local.INFO: Extracted packet for processing {"connection_id":164850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0481c"} 
[2026-08-28 16:55:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706479104001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:55:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:55:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787916235000,"timestamp_ms":1787916235000,"timestamp_seconds":1787916235,"priority":1,"record_length":96,"hex_timestamp":"000001a0481cb0f8"} 
[2026-08-28 16:55:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:55:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 16:55:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:55:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:55:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":164850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":164850,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":164850,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:55:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706479104001,"66":25430,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706479104001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:55:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:55:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:55:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:55:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706479104001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:55:03] 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":708843,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:55:03] local.INFO: GPS data processed {"connection_id":164850,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:55:03] local.INFO: Acknowledgment sent {"connection_id":164850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:55:10] local.INFO: TCP Data received {"connection_id":164849,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0481a2888012d34c14006aa4840001700e628..."} 
[2026-08-28 16:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0481a2888012d34c14006aa4840001700e628..."} 
[2026-08-28 16:55:10] local.INFO: Processing buffer {"connection_id":164849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0481a2888012d34c14006aa4840001700e628..."} 
[2026-08-28 16:55:10] local.INFO: Packet analysis {"connection_id":164849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0481a"} 
[2026-08-28 16:55:10] local.INFO: Extracted packet for processing {"connection_id":164849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0481a"} 
[2026-08-28 16:55:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":23,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706436608001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:55:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:55:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787916069000,"timestamp_ms":1787916069000,"timestamp_seconds":1787916069,"priority":1,"record_length":96,"hex_timestamp":"000001a0481a2888"} 
[2026-08-28 16:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:55:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 16:55:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:55:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":164849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":164849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":164849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:55:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706436608001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706436608001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:55:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:55:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:55:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706436608001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:55:10] 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":708844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:55:10] local.INFO: GPS data processed {"connection_id":164849,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:55:10] local.INFO: Acknowledgment sent {"connection_id":164849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:55:20] local.INFO: TCP Data received {"connection_id":166216,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a04819a3b8012d1827c00721bb10004d00d726..."} 
[2026-08-28 16:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04819a3b8012d1827c00721bb10004d00d726..."} 
[2026-08-28 16:55:20] local.INFO: Processing buffer {"connection_id":166216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04819a3b8012d1827c00721bb10004d00d726..."} 
[2026-08-28 16:55:20] local.INFO: Packet analysis {"connection_id":166216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04819"} 
[2026-08-28 16:55:20] local.INFO: Extracted packet for processing {"connection_id":166216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04819"} 
[2026-08-28 16:55:20] local.INFO: GPS Element Parsed {"raw_longitude":756557760,"raw_latitude":119651088,"longitude_deg":75.655776,"latitude_deg":11.9651088,"altitude":77,"angle":215,"satellites":38,"speed":6,"hex_longitude":"2d1827c0","hex_latitude":"0721bb10","is_valid_coordinates":true} 
[2026-08-28 16:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706504448001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15957710470119424,"note":"Value kept but may cause issues"} 
[2026-08-28 16:55:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740782024097781760,"note":"Value kept but may cause issues"} 
[2026-08-28 16:55:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787916035000,"timestamp_ms":1787916035000,"timestamp_seconds":1787916035,"priority":1,"record_length":96,"hex_timestamp":"000001a04819a3b8"} 
[2026-08-28 16:55:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:55:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-28 16:55:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:55:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:55:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":166216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":166216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":166216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:55:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706504448001,"66":13135,"105":206,"83":41984,"24":6,"16":15957710470119424,"45":1740782024097781760},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 16:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706504448001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:55:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 16:55:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 16:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15957710470119424,"km_value":15957710470119.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:55:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740782024097781760,"description":"Unknown IO ID 45"} 
[2026-08-28 16:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706504448001,"power":13135,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1740782024097781760}} 
[2026-08-28 16:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":166216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708845,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:55:20] local.INFO: GPS data processed {"connection_id":166216,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:55:20] local.INFO: Acknowledgment sent {"connection_id":166216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:55:23] local.INFO: TCP Data received {"connection_id":166217,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166217,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:55:23] local.INFO: Processing buffer {"connection_id":166217,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:55:23] local.INFO: IMEI packet received {"connection_id":166217,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 16:55:23] local.INFO: IMEI acknowledgment sent {"connection_id":166217,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:55:25] local.INFO: TCP Data received {"connection_id":166217,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166217,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:55:25] local.INFO: Processing buffer {"connection_id":166217,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:55:25] local.INFO: IMEI packet received {"connection_id":166217,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 16:55:25] local.INFO: IMEI acknowledgment sent {"connection_id":166217,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:55:30] local.INFO: TCP Data received {"connection_id":166217,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166217,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:55:30] local.INFO: Processing buffer {"connection_id":166217,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:55:30] local.INFO: IMEI packet received {"connection_id":166217,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 16:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":166217,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:55:30] local.INFO: TCP Data received {"connection_id":164851,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:55:30] local.INFO: Processing buffer {"connection_id":164851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:55:30] local.INFO: IMEI packet received {"connection_id":164851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 16:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":164851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:55:30] local.INFO: TCP Data received {"connection_id":166217,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0481c2070012d7b58c005e13f700020009013..."} 
[2026-08-28 16:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0481c2070012d7b58c005e13f700020009013..."} 
[2026-08-28 16:55:30] local.INFO: Processing buffer {"connection_id":166217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0481c2070012d7b58c005e13f700020009013..."} 
[2026-08-28 16:55:30] local.INFO: Packet analysis {"connection_id":166217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0481c"} 
[2026-08-28 16:55:30] local.INFO: Extracted packet for processing {"connection_id":166217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0481c"} 
[2026-08-28 16:55:30] local.INFO: GPS Element Parsed {"raw_longitude":763058368,"raw_latitude":98647920,"longitude_deg":76.3058368,"latitude_deg":9.864792,"altitude":32,"angle":144,"satellites":19,"speed":0,"hex_longitude":"2d7b58c0","hex_latitude":"05e13f70","is_valid_coordinates":true} 
[2026-08-28 16:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706546688001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:55:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888064996102074368,"note":"Value kept but may cause issues"} 
[2026-08-28 16:55:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231372221546496,"note":"Value kept but may cause issues"} 
[2026-08-28 16:55:30] 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-28 16:55:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787916198000,"timestamp_ms":1787916198000,"timestamp_seconds":1787916198,"priority":1,"record_length":96,"hex_timestamp":"000001a0481c2070"} 
[2026-08-28 16:55:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:55:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-28 16:55:30] 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-28 16:55:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:55:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:55:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:55:30] local.INFO: Teltonika packet parsed successfully {"connection_id":166217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:55:30] local.INFO: Passing IMEI to GPS processor {"connection_id":166217,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 16:55:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":166217,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 16:55:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:55:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 16:55:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 16:55:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706546688001,"66":13048,"45":8888064996102074368,"85":15104,"24":0,"16":125231372221546496},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-28 16:55:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 16:55:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 16:55:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706546688001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:55:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888064996102074368,"description":"Unknown IO ID 45"} 
[2026-08-28 16:55:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 16:55:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231372221546496,"km_value":125231372221546.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:55:30] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457706546688001,"power":13048,"unknown_45":8888064996102074368,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-28 16:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":166217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708846,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:55:31] local.INFO: GPS data processed {"connection_id":166217,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:55:31] local.INFO: Acknowledgment sent {"connection_id":166217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:55:35] local.INFO: TCP Data received {"connection_id":164850,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0481cb0f8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0481cb0f8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:55:35] local.INFO: Processing buffer {"connection_id":164850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0481cb0f8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:55:35] local.INFO: Packet analysis {"connection_id":164850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0481c"} 
[2026-08-28 16:55:35] local.INFO: Extracted packet for processing {"connection_id":164850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0481c"} 
[2026-08-28 16:55:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:55:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706479104001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:55:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:55:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:55:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:55:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787916235000,"timestamp_ms":1787916235000,"timestamp_seconds":1787916235,"priority":1,"record_length":96,"hex_timestamp":"000001a0481cb0f8"} 
[2026-08-28 16:55:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:55:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 16:55:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:55:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:55:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:55:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:55:35] local.INFO: Teltonika packet parsed successfully {"connection_id":164850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:55:35] local.INFO: Passing IMEI to GPS processor {"connection_id":164850,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:55:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":164850,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:55:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:55:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:55:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:55:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706479104001,"66":25430,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:55:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:55:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:55:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706479104001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:55:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:55:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:55:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:55:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:55:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706479104001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:55:35] 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":708847,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:55:35] local.INFO: GPS data processed {"connection_id":164850,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:55:35] local.INFO: Acknowledgment sent {"connection_id":164850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:55:36] local.INFO: TCP Data received {"connection_id":164851,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:55:36] local.INFO: Processing buffer {"connection_id":164851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:55:36] local.INFO: IMEI packet received {"connection_id":164851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 16:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":164851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:55:37] local.INFO: TCP Data received {"connection_id":164851,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0481a2888012d34c14006aa4840001700e628..."} 
[2026-08-28 16:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0481a2888012d34c14006aa4840001700e628..."} 
[2026-08-28 16:55:37] local.INFO: Processing buffer {"connection_id":164851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0481a2888012d34c14006aa4840001700e628..."} 
[2026-08-28 16:55:37] local.INFO: Packet analysis {"connection_id":164851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0481a"} 
[2026-08-28 16:55:37] local.INFO: Extracted packet for processing {"connection_id":164851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0481a"} 
[2026-08-28 16:55:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":23,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706436608001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787916069000,"timestamp_ms":1787916069000,"timestamp_seconds":1787916069,"priority":1,"record_length":96,"hex_timestamp":"000001a0481a2888"} 
[2026-08-28 16:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 16:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706436608001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706436608001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:55:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:55:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:55: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-28 16:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706436608001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":164851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:55:37] local.INFO: GPS data processed {"connection_id":164851,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:55:37] local.INFO: Acknowledgment sent {"connection_id":164851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:55:51] local.INFO: TCP Data received {"connection_id":166216,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0481d2a10012d1826000721b978004e00d725..."} 
[2026-08-28 16:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0481d2a10012d1826000721b978004e00d725..."} 
[2026-08-28 16:55:51] local.INFO: Processing buffer {"connection_id":166216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0481d2a10012d1826000721b978004e00d725..."} 
[2026-08-28 16:55:51] local.INFO: Packet analysis {"connection_id":166216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0481d"} 
[2026-08-28 16:55:51] local.INFO: Extracted packet for processing {"connection_id":166216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0481d"} 
[2026-08-28 16:55:51] local.INFO: GPS Element Parsed {"raw_longitude":756557312,"raw_latitude":119650680,"longitude_deg":75.6557312,"latitude_deg":11.965068,"altitude":78,"angle":215,"satellites":37,"speed":0,"hex_longitude":"2d182600","hex_latitude":"0721b978","is_valid_coordinates":true} 
[2026-08-28 16: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-28 16:55:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706558720001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:55:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15957744829857792,"note":"Value kept but may cause issues"} 
[2026-08-28 16:55:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740078336655849472,"note":"Value kept but may cause issues"} 
[2026-08-28 16:55: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-28 16:55:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787916266000,"timestamp_ms":1787916266000,"timestamp_seconds":1787916266,"priority":1,"record_length":96,"hex_timestamp":"000001a0481d2a10"} 
[2026-08-28 16: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-28 16:55:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16: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":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-08-28 16:55:51] 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-28 16: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-28 16: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-28 16:55:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:55:51] local.INFO: Teltonika packet parsed successfully {"connection_id":166216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:55:51] local.INFO: Passing IMEI to GPS processor {"connection_id":166216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:55:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":166216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:55:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:55:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:55:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:55:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706558720001,"66":12874,"105":206,"83":41984,"24":0,"16":15957744829857792,"45":1740078336655849472},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 16:55:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:55:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:55:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706558720001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:55:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 16:55:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 16:55:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15957744829857792,"km_value":15957744829857.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:55:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740078336655849472,"description":"Unknown IO ID 45"} 
[2026-08-28 16:55:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706558720001,"power":12874,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740078336655849472}} 
[2026-08-28 16:55:51] local.INFO: DEBUG: GPS processor result {"connection_id":166216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708849,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:55:51] local.INFO: GPS data processed {"connection_id":166216,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:55:51] local.INFO: Acknowledgment sent {"connection_id":166216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:55:56] local.INFO: TCP Data received {"connection_id":163582,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163582,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:55:56] local.INFO: Processing buffer {"connection_id":163582,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:55:56] local.INFO: IMEI packet received {"connection_id":163582,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 16:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":163582,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:56:01] local.INFO: TCP Data received {"connection_id":163582,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163582,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:56:01] local.INFO: Processing buffer {"connection_id":163582,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:56:01] local.INFO: IMEI packet received {"connection_id":163582,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 16:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":163582,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:56:02] local.INFO: TCP Data received {"connection_id":166217,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0481c8218012d7b58c005e13f78001f009013..."} 
[2026-08-28 16:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0481c8218012d7b58c005e13f78001f009013..."} 
[2026-08-28 16:56:02] local.INFO: Processing buffer {"connection_id":166217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0481c8218012d7b58c005e13f78001f009013..."} 
[2026-08-28 16:56:02] local.INFO: Packet analysis {"connection_id":166217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0481c"} 
[2026-08-28 16:56:02] local.INFO: Extracted packet for processing {"connection_id":166217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0481c"} 
[2026-08-28 16:56:02] local.INFO: GPS Element Parsed {"raw_longitude":763058368,"raw_latitude":98647928,"longitude_deg":76.3058368,"latitude_deg":9.8647928,"altitude":31,"angle":144,"satellites":19,"speed":0,"hex_longitude":"2d7b58c0","hex_latitude":"05e13f78","is_valid_coordinates":true} 
[2026-08-28 16:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706546688001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888064996102074368,"note":"Value kept but may cause issues"} 
[2026-08-28 16:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231376516513792,"note":"Value kept but may cause issues"} 
[2026-08-28 16:56:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-28 16:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787916223000,"timestamp_ms":1787916223000,"timestamp_seconds":1787916223,"priority":1,"record_length":96,"hex_timestamp":"000001a0481c8218"} 
[2026-08-28 16:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:56:02] 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-28 16:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-28 16:56:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:56:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":166217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":166217,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 16:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":166217,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 16:56:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 16:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 16:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706546688001,"66":12765,"45":8888064996102074368,"85":15104,"24":0,"16":125231376516513792},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-28 16:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 16:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 16:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706546688001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888064996102074368,"description":"Unknown IO ID 45"} 
[2026-08-28 16:56:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 16:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231376516513792,"km_value":125231376516513.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:56:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457706546688001,"power":12765,"unknown_45":8888064996102074368,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-28 16:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":166217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708850,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:56:02] local.INFO: GPS data processed {"connection_id":166217,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:56:02] local.INFO: Acknowledgment sent {"connection_id":166217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:56:03] local.INFO: TCP Data received {"connection_id":163582,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0481cb0f8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0481cb0f8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:56:03] local.INFO: Processing buffer {"connection_id":163582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0481cb0f8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:56:03] local.INFO: Packet analysis {"connection_id":163582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0481c"} 
[2026-08-28 16:56:03] local.INFO: Extracted packet for processing {"connection_id":163582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0481c"} 
[2026-08-28 16:56:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706479104001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:56:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787916235000,"timestamp_ms":1787916235000,"timestamp_seconds":1787916235,"priority":1,"record_length":96,"hex_timestamp":"000001a0481cb0f8"} 
[2026-08-28 16:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:56:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 16:56:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:56:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163582,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163582,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:56:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706479104001,"66":25430,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706479104001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:56:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:56:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706479104001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":163582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708851,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:56:03] local.INFO: GPS data processed {"connection_id":163582,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:56:03] local.INFO: Acknowledgment sent {"connection_id":163582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:56:09] local.INFO: TCP Data received {"connection_id":164851,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0481a2888012d34c14006aa4840001700e628..."} 
[2026-08-28 16:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0481a2888012d34c14006aa4840001700e628..."} 
[2026-08-28 16:56:09] local.INFO: Processing buffer {"connection_id":164851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0481a2888012d34c14006aa4840001700e628..."} 
[2026-08-28 16:56:09] local.INFO: Packet analysis {"connection_id":164851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0481a"} 
[2026-08-28 16:56:09] local.INFO: Extracted packet for processing {"connection_id":164851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0481a"} 
[2026-08-28 16:56:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":23,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706436608001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:56:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:56:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787916069000,"timestamp_ms":1787916069000,"timestamp_seconds":1787916069,"priority":1,"record_length":96,"hex_timestamp":"000001a0481a2888"} 
[2026-08-28 16:56:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:56: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-28 16:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 16:56:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:56:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:56:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:56:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706436608001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706436608001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:56:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:56:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:56: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-28 16:56:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706436608001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":164851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:56:09] local.INFO: GPS data processed {"connection_id":164851,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:56:09] local.INFO: Acknowledgment sent {"connection_id":164851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:56:22] local.INFO: TCP Data received {"connection_id":166216,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0481d7c18012d1826000721b978004e00d725..."} 
[2026-08-28 16:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0481d7c18012d1826000721b978004e00d725..."} 
[2026-08-28 16:56:22] local.INFO: Processing buffer {"connection_id":166216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0481d7c18012d1826000721b978004e00d725..."} 
[2026-08-28 16:56:22] local.INFO: Packet analysis {"connection_id":166216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0481d"} 
[2026-08-28 16:56:22] local.INFO: Extracted packet for processing {"connection_id":166216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0481d"} 
[2026-08-28 16:56:22] local.INFO: GPS Element Parsed {"raw_longitude":756557312,"raw_latitude":119650680,"longitude_deg":75.6557312,"latitude_deg":11.965068,"altitude":78,"angle":215,"satellites":37,"speed":0,"hex_longitude":"2d182600","hex_latitude":"0721b978","is_valid_coordinates":true} 
[2026-08-28 16:56: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-28 16:56:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706564096001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:56:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15957744829857792,"note":"Value kept but may cause issues"} 
[2026-08-28 16:56:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740078336655849472,"note":"Value kept but may cause issues"} 
[2026-08-28 16:56: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-28 16:56:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787916287000,"timestamp_ms":1787916287000,"timestamp_seconds":1787916287,"priority":1,"record_length":96,"hex_timestamp":"000001a0481d7c18"} 
[2026-08-28 16:56:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:56:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:56: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":74,"data_length":795,"current_offset":136} 
[2026-08-28 16:56:22] 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-28 16:56: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-28 16:56:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:56:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:56:22] local.INFO: Teltonika packet parsed successfully {"connection_id":166216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:56:22] local.INFO: Passing IMEI to GPS processor {"connection_id":166216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:56:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":166216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:56:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:56:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:56:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:56:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706564096001,"66":12841,"105":206,"83":41984,"24":0,"16":15957744829857792,"45":1740078336655849472},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 16:56:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:56:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:56:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706564096001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:56:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 16:56:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 16:56:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15957744829857792,"km_value":15957744829857.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:56:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740078336655849472,"description":"Unknown IO ID 45"} 
[2026-08-28 16:56:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706564096001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740078336655849472}} 
[2026-08-28 16:56:22] local.INFO: DEBUG: GPS processor result {"connection_id":166216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708853,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:56:22] local.INFO: GPS data processed {"connection_id":166216,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:56:22] local.INFO: Acknowledgment sent {"connection_id":166216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:56:25] local.INFO: TCP Data received {"connection_id":166218,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166218,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:56:25] local.INFO: Processing buffer {"connection_id":166218,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:56:25] local.INFO: IMEI packet received {"connection_id":166218,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 16:56:25] local.INFO: IMEI acknowledgment sent {"connection_id":166218,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:56:25] local.INFO: TCP Data received {"connection_id":166218,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166218,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:56:25] local.INFO: Processing buffer {"connection_id":166218,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:56:25] local.INFO: IMEI packet received {"connection_id":166218,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 16:56:25] local.INFO: IMEI acknowledgment sent {"connection_id":166218,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:56:30] local.INFO: TCP Data received {"connection_id":166218,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166218,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:56:30] local.INFO: Processing buffer {"connection_id":166218,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:56:30] local.INFO: IMEI packet received {"connection_id":166218,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 16:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":166218,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:56:30] local.INFO: TCP Data received {"connection_id":164852,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:56:30] local.INFO: Processing buffer {"connection_id":164852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:56:30] local.INFO: IMEI packet received {"connection_id":164852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 16:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":164852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:56:30] local.INFO: TCP Data received {"connection_id":166218,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0481cd420012d7b594005e13f70001f009014..."} 
[2026-08-28 16:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0481cd420012d7b594005e13f70001f009014..."} 
[2026-08-28 16:56:30] local.INFO: Processing buffer {"connection_id":166218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0481cd420012d7b594005e13f70001f009014..."} 
[2026-08-28 16:56:30] local.INFO: Packet analysis {"connection_id":166218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0481c"} 
[2026-08-28 16:56:30] local.INFO: Extracted packet for processing {"connection_id":166218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0481c"} 
[2026-08-28 16:56:30] local.INFO: GPS Element Parsed {"raw_longitude":763058496,"raw_latitude":98647920,"longitude_deg":76.3058496,"latitude_deg":9.864792,"altitude":31,"angle":144,"satellites":20,"speed":0,"hex_longitude":"2d7b5940","hex_latitude":"05e13f70","is_valid_coordinates":true} 
[2026-08-28 16:56:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:56:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706553088001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:56:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888064996102076416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:56:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231385106448384,"note":"Value kept but may cause issues"} 
[2026-08-28 16:56:30] 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-28 16:56:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787916244000,"timestamp_ms":1787916244000,"timestamp_seconds":1787916244,"priority":1,"record_length":96,"hex_timestamp":"000001a0481cd420"} 
[2026-08-28 16:56:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:56:30] 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-28 16:56:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-28 16:56:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:56:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:56:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:56:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:56:30] local.INFO: Teltonika packet parsed successfully {"connection_id":166218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:56:30] local.INFO: Passing IMEI to GPS processor {"connection_id":166218,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 16:56:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":166218,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 16:56:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:56:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 16:56:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 16:56:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706553088001,"66":12743,"45":8888064996102076416,"85":15104,"24":0,"16":125231385106448384},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-28 16:56:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 16:56:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 16:56:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706553088001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:56:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888064996102076416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:56:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 16:56:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231385106448384,"km_value":125231385106448.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:56:31] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457706553088001,"power":12743,"unknown_45":8888064996102076416,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-28 16:56:31] local.INFO: DEBUG: GPS processor result {"connection_id":166218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708854,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:56:31] local.INFO: GPS data processed {"connection_id":166218,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:56:31] local.INFO: Acknowledgment sent {"connection_id":166218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:56:35] local.INFO: TCP Data received {"connection_id":163582,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0481cb0f8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0481cb0f8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:56:35] local.INFO: Processing buffer {"connection_id":163582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0481cb0f8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:56:35] local.INFO: Packet analysis {"connection_id":163582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0481c"} 
[2026-08-28 16:56:35] local.INFO: Extracted packet for processing {"connection_id":163582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0481c"} 
[2026-08-28 16:56:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706479104001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:56:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:56:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787916235000,"timestamp_ms":1787916235000,"timestamp_seconds":1787916235,"priority":1,"record_length":96,"hex_timestamp":"000001a0481cb0f8"} 
[2026-08-28 16:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:56:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 16:56:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:56:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163582,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163582,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:56:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706479104001,"66":25430,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706479104001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:56:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:56:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:56:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706479104001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":163582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708855,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:56:35] local.INFO: GPS data processed {"connection_id":163582,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:56:35] local.INFO: Acknowledgment sent {"connection_id":163582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:56:35] local.INFO: TCP Data received {"connection_id":164852,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:56:35] local.INFO: Processing buffer {"connection_id":164852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:56:35] local.INFO: IMEI packet received {"connection_id":164852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 16:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":164852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:56:37] local.INFO: TCP Data received {"connection_id":164852,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0481a2888012d34c14006aa4840001700e628..."} 
[2026-08-28 16:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0481a2888012d34c14006aa4840001700e628..."} 
[2026-08-28 16:56:37] local.INFO: Processing buffer {"connection_id":164852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0481a2888012d34c14006aa4840001700e628..."} 
[2026-08-28 16:56:37] local.INFO: Packet analysis {"connection_id":164852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0481a"} 
[2026-08-28 16:56:37] local.INFO: Extracted packet for processing {"connection_id":164852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0481a"} 
[2026-08-28 16:56:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":23,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706436608001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787916069000,"timestamp_ms":1787916069000,"timestamp_seconds":1787916069,"priority":1,"record_length":96,"hex_timestamp":"000001a0481a2888"} 
[2026-08-28 16:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 16:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706436608001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706436608001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:56:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:56:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:56: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-28 16:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706436608001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:56:37] 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":708856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:56:37] local.INFO: GPS data processed {"connection_id":164852,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:56:37] local.INFO: Acknowledgment sent {"connection_id":164852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:56:43] local.INFO: TCP Data received {"connection_id":164853,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:56:43] local.INFO: Processing buffer {"connection_id":164853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:56:43] local.INFO: IMEI packet received {"connection_id":164853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 16:56:43] local.INFO: IMEI acknowledgment sent {"connection_id":164853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:56:48] local.INFO: TCP Data received {"connection_id":164853,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:56:48] local.INFO: Processing buffer {"connection_id":164853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:56:48] local.INFO: IMEI packet received {"connection_id":164853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 16:56:48] local.INFO: IMEI acknowledgment sent {"connection_id":164853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:56:49] local.INFO: TCP Data received {"connection_id":164853,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0481dce20012d1826000721b978004e00d724..."} 
[2026-08-28 16:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0481dce20012d1826000721b978004e00d724..."} 
[2026-08-28 16:56:49] local.INFO: Processing buffer {"connection_id":164853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0481dce20012d1826000721b978004e00d724..."} 
[2026-08-28 16:56:49] local.INFO: Packet analysis {"connection_id":164853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0481d"} 
[2026-08-28 16:56:49] local.INFO: Extracted packet for processing {"connection_id":164853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0481d"} 
[2026-08-28 16:56:49] local.INFO: GPS Element Parsed {"raw_longitude":756557312,"raw_latitude":119650680,"longitude_deg":75.6557312,"latitude_deg":11.965068,"altitude":78,"angle":215,"satellites":36,"speed":0,"hex_longitude":"2d182600","hex_latitude":"0721b978","is_valid_coordinates":true} 
[2026-08-28 16:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:56:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706569472001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:56:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15957744829857792,"note":"Value kept but may cause issues"} 
[2026-08-28 16:56:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740078336655849472,"note":"Value kept but may cause issues"} 
[2026-08-28 16:56:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:56:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787916308000,"timestamp_ms":1787916308000,"timestamp_seconds":1787916308,"priority":1,"record_length":96,"hex_timestamp":"000001a0481dce20"} 
[2026-08-28 16:56:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:56:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-28 16:56:49] 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-28 16:56:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:56:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:56:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:56:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:56:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:56:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:56:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:56:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:56:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:56:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706569472001,"66":12841,"105":206,"83":41984,"24":0,"16":15957744829857792,"45":1740078336655849472},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 16:56:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:56:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:56:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706569472001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:56:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 16:56:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 16:56:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15957744829857792,"km_value":15957744829857.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:56:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740078336655849472,"description":"Unknown IO ID 45"} 
[2026-08-28 16:56:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706569472001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740078336655849472}} 
[2026-08-28 16:56:49] 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":708857,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:56:49] local.INFO: GPS data processed {"connection_id":164853,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:56:49] local.INFO: Acknowledgment sent {"connection_id":164853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:57:01] local.INFO: TCP Data received {"connection_id":163583,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163583,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:57:01] local.INFO: Processing buffer {"connection_id":163583,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:57:01] local.INFO: IMEI packet received {"connection_id":163583,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 16:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":163583,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:57:02] local.INFO: TCP Data received {"connection_id":166218,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0481d2628012d7b594005e13f68001e009014..."} 
[2026-08-28 16:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0481d2628012d7b594005e13f68001e009014..."} 
[2026-08-28 16:57:02] local.INFO: Processing buffer {"connection_id":166218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0481d2628012d7b594005e13f68001e009014..."} 
[2026-08-28 16:57:02] local.INFO: Packet analysis {"connection_id":166218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0481d"} 
[2026-08-28 16:57:02] local.INFO: Extracted packet for processing {"connection_id":166218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0481d"} 
[2026-08-28 16:57:02] local.INFO: GPS Element Parsed {"raw_longitude":763058496,"raw_latitude":98647912,"longitude_deg":76.3058496,"latitude_deg":9.8647912,"altitude":30,"angle":144,"satellites":20,"speed":0,"hex_longitude":"2d7b5940","hex_latitude":"05e13f68","is_valid_coordinates":true} 
[2026-08-28 16:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706558464001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:57:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888205733590429696,"note":"Value kept but may cause issues"} 
[2026-08-28 16:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231389401415680,"note":"Value kept but may cause issues"} 
[2026-08-28 16:57:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-28 16:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787916265000,"timestamp_ms":1787916265000,"timestamp_seconds":1787916265,"priority":1,"record_length":96,"hex_timestamp":"000001a0481d2628"} 
[2026-08-28 16:57:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:57:02] 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-28 16:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-28 16:57:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:57:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:57:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:57:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":166218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":166218,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 16:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":166218,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 16:57:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 16:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 16:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706558464001,"66":12722,"45":8888205733590429696,"85":15104,"24":0,"16":125231389401415680},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-28 16:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 16:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 16:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706558464001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:57:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888205733590429696,"description":"Unknown IO ID 45"} 
[2026-08-28 16:57:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 16:57:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231389401415680,"km_value":125231389401415.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:57:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457706558464001,"power":12722,"unknown_45":8888205733590429696,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-28 16:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":166218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708858,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:57:02] local.INFO: GPS data processed {"connection_id":166218,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:57:02] local.INFO: Acknowledgment sent {"connection_id":166218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:57:06] local.INFO: TCP Data received {"connection_id":163583,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163583,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:57:06] local.INFO: Processing buffer {"connection_id":163583,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:57:06] local.INFO: IMEI packet received {"connection_id":163583,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 16:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":163583,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:57:08] local.INFO: TCP Data received {"connection_id":163583,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0481cb0f8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0481cb0f8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:57:08] local.INFO: Processing buffer {"connection_id":163583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0481cb0f8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:57:08] local.INFO: Packet analysis {"connection_id":163583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0481c"} 
[2026-08-28 16:57:08] local.INFO: Extracted packet for processing {"connection_id":163583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0481c"} 
[2026-08-28 16:57:08] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706479104001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:57:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787916235000,"timestamp_ms":1787916235000,"timestamp_seconds":1787916235,"priority":1,"record_length":96,"hex_timestamp":"000001a0481cb0f8"} 
[2026-08-28 16:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:57:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 16:57:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:57:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163583,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163583,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:57:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706479104001,"66":25430,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706479104001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:57:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:57:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706479104001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":163583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708859,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:57:08] local.INFO: GPS data processed {"connection_id":163583,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:57:08] local.INFO: Acknowledgment sent {"connection_id":163583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:57:08] local.INFO: TCP Data received {"connection_id":164852,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0481ec050012d34c14006aa4840000f00e627..."} 
[2026-08-28 16:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0481ec050012d34c14006aa4840000f00e627..."} 
[2026-08-28 16:57:08] local.INFO: Processing buffer {"connection_id":164852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0481ec050012d34c14006aa4840000f00e627..."} 
[2026-08-28 16:57:08] local.INFO: Packet analysis {"connection_id":164852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0481e"} 
[2026-08-28 16:57:08] local.INFO: Extracted packet for processing {"connection_id":164852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0481e"} 
[2026-08-28 16:57:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706513664001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:57:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787916370000,"timestamp_ms":1787916370000,"timestamp_seconds":1787916370,"priority":1,"record_length":96,"hex_timestamp":"000001a0481ec050"} 
[2026-08-28 16:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:57: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-28 16:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 16:57: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-28 16:57:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:57:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706513664001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706513664001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:57:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:57:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:57: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-28 16:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706513664001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:57:09] 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":708860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:57:09] local.INFO: GPS data processed {"connection_id":164852,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:57:09] local.INFO: Acknowledgment sent {"connection_id":164852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:57:12] local.INFO: TCP Data received {"connection_id":163583,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0481cb0f8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0481cb0f8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:57:13] local.INFO: Processing buffer {"connection_id":163583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0481cb0f8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:57:13] local.INFO: Packet analysis {"connection_id":163583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0481c"} 
[2026-08-28 16:57:13] local.INFO: Extracted packet for processing {"connection_id":163583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0481c"} 
[2026-08-28 16:57:13] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16: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-28 16:57:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706479104001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:57:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:57:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:57:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:57:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787916235000,"timestamp_ms":1787916235000,"timestamp_seconds":1787916235,"priority":1,"record_length":96,"hex_timestamp":"000001a0481cb0f8"} 
[2026-08-28 16: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-28 16:57:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16: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-28 16: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-28 16: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-28 16: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-28 16:57:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:57:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:57:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163583,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:57:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163583,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:57:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:57:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:57:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:57:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706479104001,"66":25430,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:57:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:57:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:57:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706479104001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:57:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:57:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:57:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:57:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:57:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706479104001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:57:13] local.INFO: DEBUG: GPS processor result {"connection_id":163583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708861,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:57:13] local.INFO: GPS data processed {"connection_id":163583,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:57:13] local.INFO: Acknowledgment sent {"connection_id":163583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:57:20] local.INFO: TCP Data received {"connection_id":164853,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0481e2028012d1826000721b978004e00d726..."} 
[2026-08-28 16:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0481e2028012d1826000721b978004e00d726..."} 
[2026-08-28 16:57:20] local.INFO: Processing buffer {"connection_id":164853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0481e2028012d1826000721b978004e00d726..."} 
[2026-08-28 16:57:20] local.INFO: Packet analysis {"connection_id":164853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0481e"} 
[2026-08-28 16:57:20] local.INFO: Extracted packet for processing {"connection_id":164853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0481e"} 
[2026-08-28 16:57:20] local.INFO: GPS Element Parsed {"raw_longitude":756557312,"raw_latitude":119650680,"longitude_deg":75.6557312,"latitude_deg":11.965068,"altitude":78,"angle":215,"satellites":38,"speed":0,"hex_longitude":"2d182600","hex_latitude":"0721b978","is_valid_coordinates":true} 
[2026-08-28 16:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:57:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706574848001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:57:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15957744829857792,"note":"Value kept but may cause issues"} 
[2026-08-28 16:57:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740078336655849472,"note":"Value kept but may cause issues"} 
[2026-08-28 16:57:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:57:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787916329000,"timestamp_ms":1787916329000,"timestamp_seconds":1787916329,"priority":1,"record_length":96,"hex_timestamp":"000001a0481e2028"} 
[2026-08-28 16:57:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:57:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-28 16:57:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:57:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:57:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:57:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:57:20] local.INFO: Teltonika packet parsed successfully {"connection_id":164853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:57:20] local.INFO: Passing IMEI to GPS processor {"connection_id":164853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:57:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":164853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:57:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:57:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:57:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:57:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706574848001,"66":12841,"105":206,"83":41984,"24":0,"16":15957744829857792,"45":1740078336655849472},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 16:57:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:57:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:57:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706574848001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:57:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 16:57:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 16:57:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15957744829857792,"km_value":15957744829857.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:57:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740078336655849472,"description":"Unknown IO ID 45"} 
[2026-08-28 16:57:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706574848001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740078336655849472}} 
[2026-08-28 16:57:20] 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":708862,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:57:20] local.INFO: GPS data processed {"connection_id":164853,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:57:20] local.INFO: Acknowledgment sent {"connection_id":164853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:57:25] local.INFO: TCP Data received {"connection_id":163851,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163851,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:57:25] local.INFO: Processing buffer {"connection_id":163851,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:57:25] local.INFO: IMEI packet received {"connection_id":163851,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 16:57:25] local.INFO: IMEI acknowledgment sent {"connection_id":163851,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:57:28] local.INFO: TCP Data received {"connection_id":163851,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163851,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:57:28] local.INFO: Processing buffer {"connection_id":163851,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:57:28] local.INFO: IMEI packet received {"connection_id":163851,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 16:57:28] local.INFO: IMEI acknowledgment sent {"connection_id":163851,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:57:29] local.INFO: TCP Data received {"connection_id":163851,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0481d7830012d7b594005e13f50001e009014..."} 
[2026-08-28 16:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0481d7830012d7b594005e13f50001e009014..."} 
[2026-08-28 16:57:29] local.INFO: Processing buffer {"connection_id":163851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0481d7830012d7b594005e13f50001e009014..."} 
[2026-08-28 16:57:29] local.INFO: Packet analysis {"connection_id":163851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0481d"} 
[2026-08-28 16:57:29] local.INFO: Extracted packet for processing {"connection_id":163851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0481d"} 
[2026-08-28 16:57:29] local.INFO: GPS Element Parsed {"raw_longitude":763058496,"raw_latitude":98647888,"longitude_deg":76.3058496,"latitude_deg":9.8647888,"altitude":30,"angle":144,"satellites":20,"speed":0,"hex_longitude":"2d7b5940","hex_latitude":"05e13f50","is_valid_coordinates":true} 
[2026-08-28 16:57:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:57:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706563840001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:57:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888205733590427648,"note":"Value kept but may cause issues"} 
[2026-08-28 16:57:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231389401415680,"note":"Value kept but may cause issues"} 
[2026-08-28 16:57:29] 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-28 16:57:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787916286000,"timestamp_ms":1787916286000,"timestamp_seconds":1787916286,"priority":1,"record_length":96,"hex_timestamp":"000001a0481d7830"} 
[2026-08-28 16:57:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:57:29] 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-28 16:57:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-28 16:57:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:57:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:57:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:57:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:57:29] local.INFO: Teltonika packet parsed successfully {"connection_id":163851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:57:29] local.INFO: Passing IMEI to GPS processor {"connection_id":163851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 16:57:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":163851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 16:57:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:57:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 16:57:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 16:57:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706563840001,"66":12613,"45":8888205733590427648,"85":15104,"24":0,"16":125231389401415680},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-28 16:57:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 16:57:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 16:57:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706563840001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:57:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888205733590427648,"description":"Unknown IO ID 45"} 
[2026-08-28 16:57:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 16:57:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231389401415680,"km_value":125231389401415.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:57:29] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457706563840001,"power":12613,"unknown_45":8888205733590427648,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-28 16:57:29] local.INFO: DEBUG: GPS processor result {"connection_id":163851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708863,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:57:29] local.INFO: GPS data processed {"connection_id":163851,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:57:29] local.INFO: Acknowledgment sent {"connection_id":163851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:57:30] local.INFO: TCP Data received {"connection_id":163852,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:57:30] local.INFO: Processing buffer {"connection_id":163852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:57:30] local.INFO: IMEI packet received {"connection_id":163852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 16:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":163852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:57:35] local.INFO: TCP Data received {"connection_id":163852,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:57:35] local.INFO: Processing buffer {"connection_id":163852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:57:35] local.INFO: IMEI packet received {"connection_id":163852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 16:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":163852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:57:36] local.INFO: TCP Data received {"connection_id":163852,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0481ec050012d34c14006aa4840000f00e627..."} 
[2026-08-28 16:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0481ec050012d34c14006aa4840000f00e627..."} 
[2026-08-28 16:57:36] local.INFO: Processing buffer {"connection_id":163852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0481ec050012d34c14006aa4840000f00e627..."} 
[2026-08-28 16:57:36] local.INFO: Packet analysis {"connection_id":163852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0481e"} 
[2026-08-28 16:57:36] local.INFO: Extracted packet for processing {"connection_id":163852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0481e"} 
[2026-08-28 16:57:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706513664001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:57:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787916370000,"timestamp_ms":1787916370000,"timestamp_seconds":1787916370,"priority":1,"record_length":96,"hex_timestamp":"000001a0481ec050"} 
[2026-08-28 16:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:57:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 16:57:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:57:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:57:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706513664001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706513664001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:57:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:57:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706513664001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":163852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:57:36] local.INFO: GPS data processed {"connection_id":163852,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:57:36] local.INFO: Acknowledgment sent {"connection_id":163852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:57:48] local.INFO: TCP Data received {"connection_id":163584,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163584,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:57:48] local.INFO: Processing buffer {"connection_id":163584,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:57:48] local.INFO: IMEI packet received {"connection_id":163584,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 16:57:48] local.INFO: IMEI acknowledgment sent {"connection_id":163584,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:57:52] local.INFO: TCP Data received {"connection_id":163584,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163584,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:57:52] local.INFO: Processing buffer {"connection_id":163584,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:57:52] local.INFO: IMEI packet received {"connection_id":163584,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 16:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":163584,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:57:53] local.INFO: TCP Data received {"connection_id":163584,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0481e7230012d1826000721b978004e00d726..."} 
[2026-08-28 16:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0481e7230012d1826000721b978004e00d726..."} 
[2026-08-28 16:57:53] local.INFO: Processing buffer {"connection_id":163584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0481e7230012d1826000721b978004e00d726..."} 
[2026-08-28 16:57:53] local.INFO: Packet analysis {"connection_id":163584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0481e"} 
[2026-08-28 16:57:53] local.INFO: Extracted packet for processing {"connection_id":163584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0481e"} 
[2026-08-28 16:57:53] local.INFO: GPS Element Parsed {"raw_longitude":756557312,"raw_latitude":119650680,"longitude_deg":75.6557312,"latitude_deg":11.965068,"altitude":78,"angle":215,"satellites":38,"speed":0,"hex_longitude":"2d182600","hex_latitude":"0721b978","is_valid_coordinates":true} 
[2026-08-28 16: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-28 16:57:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706580224001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:57:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15957744829857792,"note":"Value kept but may cause issues"} 
[2026-08-28 16:57:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740078336655849472,"note":"Value kept but may cause issues"} 
[2026-08-28 16:57: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-28 16:57:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787916350000,"timestamp_ms":1787916350000,"timestamp_seconds":1787916350,"priority":1,"record_length":96,"hex_timestamp":"000001a0481e7230"} 
[2026-08-28 16: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-28 16:57:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-28 16:57:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16: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-28 16: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-28 16:57:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:57:53] local.INFO: Teltonika packet parsed successfully {"connection_id":163584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:57:53] local.INFO: Passing IMEI to GPS processor {"connection_id":163584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:57:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":163584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:57:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:57:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:57:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:57:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706580224001,"66":12819,"105":206,"83":41984,"24":0,"16":15957744829857792,"45":1740078336655849472},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 16:57:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:57:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:57:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706580224001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:57:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 16:57:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 16:57:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15957744829857792,"km_value":15957744829857.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:57:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740078336655849472,"description":"Unknown IO ID 45"} 
[2026-08-28 16:57:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706580224001,"power":12819,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740078336655849472}} 
[2026-08-28 16:57:53] 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":708865,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:57:53] local.INFO: GPS data processed {"connection_id":163584,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:57:53] local.INFO: Acknowledgment sent {"connection_id":163584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:57:54] local.INFO: TCP Data received {"connection_id":163584,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0481ec438012d1826000721b978004e00d726..."} 
[2026-08-28 16:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0481ec438012d1826000721b978004e00d726..."} 
[2026-08-28 16:57:54] local.INFO: Processing buffer {"connection_id":163584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0481ec438012d1826000721b978004e00d726..."} 
[2026-08-28 16:57:54] local.INFO: Packet analysis {"connection_id":163584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0481e"} 
[2026-08-28 16:57:54] local.INFO: Extracted packet for processing {"connection_id":163584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0481e"} 
[2026-08-28 16:57:54] local.INFO: GPS Element Parsed {"raw_longitude":756557312,"raw_latitude":119650680,"longitude_deg":75.6557312,"latitude_deg":11.965068,"altitude":78,"angle":215,"satellites":38,"speed":0,"hex_longitude":"2d182600","hex_latitude":"0721b978","is_valid_coordinates":true} 
[2026-08-28 16:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:57:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706585600001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:57:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15957744829857792,"note":"Value kept but may cause issues"} 
[2026-08-28 16:57:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740078336655849472,"note":"Value kept but may cause issues"} 
[2026-08-28 16:57:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:57:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787916371000,"timestamp_ms":1787916371000,"timestamp_seconds":1787916371,"priority":1,"record_length":96,"hex_timestamp":"000001a0481ec438"} 
[2026-08-28 16:57:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:57: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-28 16:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-28 16:57:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-08-28 16:57:54] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-28 16:57:54] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-28 16:57:54] local.WARNING: Large IO value detected {"io_id":240,"raw_value":84750519478198713,"note":"Value kept but may cause issues"} 
[2026-08-28 16:57:54] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503843123232768,"note":"Value kept but may cause issues"} 
[2026-08-28 16:57:54] local.WARNING: Large IO value detected {"io_id":72,"raw_value":2032240540809438720,"note":"Value kept but may cause issues"} 
[2026-08-28 16:57:54] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3111649358,"note":"Value kept but may cause issues"} 
[2026-08-28 16:57:54] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5836929004162318592,"note":"Value kept but may cause issues"} 
[2026-08-28 16:57:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7667660726741499928,"corrected_to":0} 
[2026-08-28 16:57:54] local.WARNING: Large IO value detected {"io_id":120,"raw_value":21955972238934016,"note":"Value kept but may cause issues"} 
[2026-08-28 16:57:54] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182191054913792,"note":"Value kept but may cause issues"} 
[2026-08-28 16:57:54] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-8430512645525680557,"note":"Value kept but may cause issues"} 
[2026-08-28 16:57:54] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2977693696,"note":"Value kept but may cause issues"} 
[2026-08-28 16:57:54] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2430105416647104294,"note":"Value kept but may cause issues"} 
[2026-08-28 16:57:54] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-28 16:57:54] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195050496,"note":"Value kept but may cause issues"} 
[2026-08-28 16:57:54] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,177,160,32,45,185,78,38,10,66,206,36,124,1,240,41,227,72,33,4,113,205,216,120,37,239,50,2,56,7,164,69],"length":625,"final_offset":755,"validated_count":38,"validation_warnings":[{"io_id":205,"original":7667660726741499928,"validated":0}]} 
[2026-08-28 16:57:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620728893167108096,"timestamp_seconds":5620728893167108.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 16:57:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:57:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:57:54] local.INFO: Teltonika packet parsed successfully {"connection_id":163584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:57:54] local.INFO: Passing IMEI to GPS processor {"connection_id":163584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:57:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":163584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:57:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:57:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:57:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:57:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706585600001,"66":12798,"105":206,"83":41984,"24":0,"16":15957744829857792,"45":1740078336655849472},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 16:57:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:57:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:57:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706585600001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:57:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 16:57:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 16:57:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15957744829857792,"km_value":15957744829857.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:57:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740078336655849472,"description":"Unknown IO ID 45"} 
[2026-08-28 16:57:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706585600001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740078336655849472}} 
[2026-08-28 16:57:54] 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":708866,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:57:54] local.INFO: GPS data processed {"connection_id":163584,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:57:54] local.INFO: Acknowledgment sent {"connection_id":163584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:57:56] local.INFO: TCP Data received {"connection_id":163853,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163853,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:57:56] local.INFO: Processing buffer {"connection_id":163853,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:57:56] local.INFO: IMEI packet received {"connection_id":163853,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 16:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":163853,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:57:59] local.INFO: TCP Data received {"connection_id":163851,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0481dca38012d7b594005e13f20001e009014..."} 
[2026-08-28 16:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0481dca38012d7b594005e13f20001e009014..."} 
[2026-08-28 16:57:59] local.INFO: Processing buffer {"connection_id":163851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0481dca38012d7b594005e13f20001e009014..."} 
[2026-08-28 16:57:59] local.INFO: Packet analysis {"connection_id":163851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0481d"} 
[2026-08-28 16:57:59] local.INFO: Extracted packet for processing {"connection_id":163851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0481d"} 
[2026-08-28 16:57:59] local.INFO: GPS Element Parsed {"raw_longitude":763058496,"raw_latitude":98647840,"longitude_deg":76.3058496,"latitude_deg":9.864784,"altitude":30,"angle":144,"satellites":20,"speed":0,"hex_longitude":"2d7b5940","hex_latitude":"05e13f20","is_valid_coordinates":true} 
[2026-08-28 16:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706569216001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888205733590421504,"note":"Value kept but may cause issues"} 
[2026-08-28 16:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231393696382976,"note":"Value kept but may cause issues"} 
[2026-08-28 16:57:59] 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-28 16:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787916307000,"timestamp_ms":1787916307000,"timestamp_seconds":1787916307,"priority":1,"record_length":96,"hex_timestamp":"000001a0481dca38"} 
[2026-08-28 16:57:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:57:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-28 16:57:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:57:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:57:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":163851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":163851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 16:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":163851,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 16:57:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 16:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 16:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706569216001,"66":12232,"45":8888205733590421504,"85":15104,"24":0,"16":125231393696382976},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-28 16:58:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 16:58:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 16:58:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706569216001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:58:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888205733590421504,"description":"Unknown IO ID 45"} 
[2026-08-28 16:58:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 16:58:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231393696382976,"km_value":125231393696382.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:58:00] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457706569216001,"power":12232,"unknown_45":8888205733590421504,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-28 16:58:00] local.INFO: DEBUG: GPS processor result {"connection_id":163851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708867,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:58:00] local.INFO: GPS data processed {"connection_id":163851,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:58:00] local.INFO: Acknowledgment sent {"connection_id":163851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:58:01] local.INFO: TCP Data received {"connection_id":163853,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163853,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:58:01] local.INFO: Processing buffer {"connection_id":163853,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:58:01] local.INFO: IMEI packet received {"connection_id":163853,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 16:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":163853,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:58:03] local.INFO: TCP Data received {"connection_id":163853,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0481cb0f8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0481cb0f8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:58:03] local.INFO: Processing buffer {"connection_id":163853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0481cb0f8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:58:03] local.INFO: Packet analysis {"connection_id":163853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0481c"} 
[2026-08-28 16:58:03] local.INFO: Extracted packet for processing {"connection_id":163853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0481c"} 
[2026-08-28 16:58:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706479104001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:58:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787916235000,"timestamp_ms":1787916235000,"timestamp_seconds":1787916235,"priority":1,"record_length":96,"hex_timestamp":"000001a0481cb0f8"} 
[2026-08-28 16:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:58:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 16:58:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:58:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:58:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163853,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163853,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:58:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706479104001,"66":25430,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706479104001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:58:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:58:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706479104001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":163853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708868,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:58:03] local.INFO: GPS data processed {"connection_id":163853,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:58:03] local.INFO: Acknowledgment sent {"connection_id":163853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:58:08] local.INFO: TCP Data received {"connection_id":163852,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0481ec050012d34c14006aa4840000f00e627..."} 
[2026-08-28 16:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0481ec050012d34c14006aa4840000f00e627..."} 
[2026-08-28 16:58:08] local.INFO: Processing buffer {"connection_id":163852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0481ec050012d34c14006aa4840000f00e627..."} 
[2026-08-28 16:58:08] local.INFO: Packet analysis {"connection_id":163852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0481e"} 
[2026-08-28 16:58:08] local.INFO: Extracted packet for processing {"connection_id":163852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0481e"} 
[2026-08-28 16:58:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706513664001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:58:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787916370000,"timestamp_ms":1787916370000,"timestamp_seconds":1787916370,"priority":1,"record_length":96,"hex_timestamp":"000001a0481ec050"} 
[2026-08-28 16:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:58: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-28 16:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 16:58: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-28 16:58:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:58:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706513664001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706513664001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:58:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:58:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:58: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-28 16:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706513664001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":163852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:58:08] local.INFO: GPS data processed {"connection_id":163852,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:58:08] local.INFO: Acknowledgment sent {"connection_id":163852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:58:25] local.INFO: TCP Data received {"connection_id":166219,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166219,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:58:25] local.INFO: Processing buffer {"connection_id":166219,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:58:25] local.INFO: IMEI packet received {"connection_id":166219,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 16:58:25] local.INFO: IMEI acknowledgment sent {"connection_id":166219,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:58:25] local.INFO: TCP Data received {"connection_id":163584,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0481f1640012d1826000721b978004e00d726..."} 
[2026-08-28 16:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0481f1640012d1826000721b978004e00d726..."} 
[2026-08-28 16:58:25] local.INFO: Processing buffer {"connection_id":163584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0481f1640012d1826000721b978004e00d726..."} 
[2026-08-28 16:58:25] local.INFO: Packet analysis {"connection_id":163584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0481f"} 
[2026-08-28 16:58:25] local.INFO: Extracted packet for processing {"connection_id":163584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0481f"} 
[2026-08-28 16:58:25] local.INFO: GPS Element Parsed {"raw_longitude":756557312,"raw_latitude":119650680,"longitude_deg":75.6557312,"latitude_deg":11.965068,"altitude":78,"angle":215,"satellites":38,"speed":0,"hex_longitude":"2d182600","hex_latitude":"0721b978","is_valid_coordinates":true} 
[2026-08-28 16:58:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:58:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706590976001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:58:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15957744829857792,"note":"Value kept but may cause issues"} 
[2026-08-28 16:58:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740078336655849472,"note":"Value kept but may cause issues"} 
[2026-08-28 16:58:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:58:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787916392000,"timestamp_ms":1787916392000,"timestamp_seconds":1787916392,"priority":1,"record_length":96,"hex_timestamp":"000001a0481f1640"} 
[2026-08-28 16:58:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:58:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:58:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-28 16:58:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:58:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:58:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:58:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:58:25] local.INFO: Teltonika packet parsed successfully {"connection_id":163584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:58:25] local.INFO: Passing IMEI to GPS processor {"connection_id":163584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:58:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":163584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:58:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:58:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:58:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:58:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706590976001,"66":12776,"105":206,"83":41984,"24":0,"16":15957744829857792,"45":1740078336655849472},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 16:58:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:58:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:58:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706590976001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:58:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 16:58:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 16:58:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15957744829857792,"km_value":15957744829857.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:58:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740078336655849472,"description":"Unknown IO ID 45"} 
[2026-08-28 16:58:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706590976001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740078336655849472}} 
[2026-08-28 16:58:25] 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":708870,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:58:25] local.INFO: GPS data processed {"connection_id":163584,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:58:25] local.INFO: Acknowledgment sent {"connection_id":163584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:58:30] local.INFO: TCP Data received {"connection_id":166220,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:58:30] local.INFO: Processing buffer {"connection_id":166220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:58:30] local.INFO: IMEI packet received {"connection_id":166220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 16:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":166220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:58:30] local.INFO: TCP Data received {"connection_id":166219,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166219,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:58:30] local.INFO: Processing buffer {"connection_id":166219,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:58:30] local.INFO: IMEI packet received {"connection_id":166219,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 16:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":166219,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:58:31] local.INFO: TCP Data received {"connection_id":166219,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0481e00e8012d7b58c005e13f20001e012515..."} 
[2026-08-28 16:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0481e00e8012d7b58c005e13f20001e012515..."} 
[2026-08-28 16:58:31] local.INFO: Processing buffer {"connection_id":166219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0481e00e8012d7b58c005e13f20001e012515..."} 
[2026-08-28 16:58:31] local.INFO: Packet analysis {"connection_id":166219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0481e"} 
[2026-08-28 16:58:31] local.INFO: Extracted packet for processing {"connection_id":166219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0481e"} 
[2026-08-28 16:58:31] local.INFO: GPS Element Parsed {"raw_longitude":763058368,"raw_latitude":98647840,"longitude_deg":76.3058368,"latitude_deg":9.864784,"altitude":30,"angle":293,"satellites":21,"speed":1,"hex_longitude":"2d7b58c0","hex_latitude":"05e13f20","is_valid_coordinates":true} 
[2026-08-28 16:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706574592001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:58:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888205733590409216,"note":"Value kept but may cause issues"} 
[2026-08-28 16:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231397991350272,"note":"Value kept but may cause issues"} 
[2026-08-28 16:58:31] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-28 16:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787916321000,"timestamp_ms":1787916321000,"timestamp_seconds":1787916321,"priority":1,"record_length":96,"hex_timestamp":"000001a0481e00e8"} 
[2026-08-28 16:58:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:58:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 16:58:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:58:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:58:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":166219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":166219,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 16:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":166219,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 16:58:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 16:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 16:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706574592001,"66":12624,"45":8888205733590409216,"85":15104,"24":1,"16":125231397991350272},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-28 16:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 16:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 16:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706574592001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:58:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888205733590409216,"description":"Unknown IO ID 45"} 
[2026-08-28 16:58:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 16:58:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231397991350272,"km_value":125231397991350.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:58:31] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457706574592001,"power":12624,"unknown_45":8888205733590409216,"unknown_85":15104,"ignition":1,"odometer":null}} 
[2026-08-28 16:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":166219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708871,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:58:31] local.INFO: GPS data processed {"connection_id":166219,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:58:31] local.INFO: Acknowledgment sent {"connection_id":166219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:58:35] local.INFO: TCP Data received {"connection_id":163853,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0481cb0f8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0481cb0f8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:58:35] local.INFO: Processing buffer {"connection_id":163853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0481cb0f8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:58:35] local.INFO: Packet analysis {"connection_id":163853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0481c"} 
[2026-08-28 16:58:35] local.INFO: Extracted packet for processing {"connection_id":163853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0481c"} 
[2026-08-28 16:58:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706479104001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:58:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:58:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787916235000,"timestamp_ms":1787916235000,"timestamp_seconds":1787916235,"priority":1,"record_length":96,"hex_timestamp":"000001a0481cb0f8"} 
[2026-08-28 16:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:58:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 16:58:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:58:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163853,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163853,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:58:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706479104001,"66":25430,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706479104001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:58:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:58:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:58:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706479104001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":163853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708872,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:58:35] local.INFO: GPS data processed {"connection_id":163853,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:58:35] local.INFO: Acknowledgment sent {"connection_id":163853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:58:35] local.INFO: TCP Data received {"connection_id":166220,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:58:35] local.INFO: Processing buffer {"connection_id":166220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:58:35] local.INFO: IMEI packet received {"connection_id":166220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 16:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":166220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:58:37] local.INFO: TCP Data received {"connection_id":166220,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0481ec050012d34c14006aa4840000f00e627..."} 
[2026-08-28 16:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0481ec050012d34c14006aa4840000f00e627..."} 
[2026-08-28 16:58:37] local.INFO: Processing buffer {"connection_id":166220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0481ec050012d34c14006aa4840000f00e627..."} 
[2026-08-28 16:58:37] local.INFO: Packet analysis {"connection_id":166220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0481e"} 
[2026-08-28 16:58:37] local.INFO: Extracted packet for processing {"connection_id":166220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0481e"} 
[2026-08-28 16:58:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706513664001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787916370000,"timestamp_ms":1787916370000,"timestamp_seconds":1787916370,"priority":1,"record_length":96,"hex_timestamp":"000001a0481ec050"} 
[2026-08-28 16:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 16:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":166220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":166220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":166220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706513664001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706513664001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:58:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:58:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:58: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-28 16:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706513664001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":166220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:58:38] local.INFO: GPS data processed {"connection_id":166220,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:58:38] local.INFO: Acknowledgment sent {"connection_id":166220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:58:43] local.INFO: TCP Data received {"connection_id":164854,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164854,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:58:43] local.INFO: Processing buffer {"connection_id":164854,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:58:43] local.INFO: IMEI packet received {"connection_id":164854,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 16:58:43] local.INFO: IMEI acknowledgment sent {"connection_id":164854,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:58:48] local.INFO: TCP Data received {"connection_id":164854,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164854,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:58:48] local.INFO: Processing buffer {"connection_id":164854,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:58:48] local.INFO: IMEI packet received {"connection_id":164854,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 16:58:48] local.INFO: IMEI acknowledgment sent {"connection_id":164854,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:58:49] local.INFO: TCP Data received {"connection_id":164854,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0481f6848012d1826000721b978004e00d726..."} 
[2026-08-28 16:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0481f6848012d1826000721b978004e00d726..."} 
[2026-08-28 16:58:49] local.INFO: Processing buffer {"connection_id":164854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0481f6848012d1826000721b978004e00d726..."} 
[2026-08-28 16:58:49] local.INFO: Packet analysis {"connection_id":164854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0481f"} 
[2026-08-28 16:58:49] local.INFO: Extracted packet for processing {"connection_id":164854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0481f"} 
[2026-08-28 16:58:49] local.INFO: GPS Element Parsed {"raw_longitude":756557312,"raw_latitude":119650680,"longitude_deg":75.6557312,"latitude_deg":11.965068,"altitude":78,"angle":215,"satellites":38,"speed":0,"hex_longitude":"2d182600","hex_latitude":"0721b978","is_valid_coordinates":true} 
[2026-08-28 16:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:58:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706596352001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:58:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15957744829857792,"note":"Value kept but may cause issues"} 
[2026-08-28 16:58:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740078336655849472,"note":"Value kept but may cause issues"} 
[2026-08-28 16:58:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:58:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787916413000,"timestamp_ms":1787916413000,"timestamp_seconds":1787916413,"priority":1,"record_length":96,"hex_timestamp":"000001a0481f6848"} 
[2026-08-28 16:58:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:58:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-28 16:58:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:58:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:58:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:58:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:58:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:58:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:58:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:58:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:58:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:58:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:58:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706596352001,"66":12776,"105":206,"83":41984,"24":0,"16":15957744829857792,"45":1740078336655849472},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 16:58:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:58:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:58:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706596352001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:58:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 16:58:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 16:58:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15957744829857792,"km_value":15957744829857.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:58:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740078336655849472,"description":"Unknown IO ID 45"} 
[2026-08-28 16:58:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706596352001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740078336655849472}} 
[2026-08-28 16:58:49] 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":708874,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:58:49] local.INFO: GPS data processed {"connection_id":164854,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:58:49] local.INFO: Acknowledgment sent {"connection_id":164854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:58:56] local.INFO: TCP Data received {"connection_id":164855,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164855,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:58:56] local.INFO: Processing buffer {"connection_id":164855,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:58:56] local.INFO: IMEI packet received {"connection_id":164855,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 16:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":164855,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:59:01] local.INFO: TCP Data received {"connection_id":164855,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164855,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:59:01] local.INFO: Processing buffer {"connection_id":164855,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 16:59:01] local.INFO: IMEI packet received {"connection_id":164855,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 16:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":164855,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:59:02] local.INFO: TCP Data received {"connection_id":166219,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0481e4f08012d7b588005e13f10001e012515..."} 
[2026-08-28 16:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0481e4f08012d7b588005e13f10001e012515..."} 
[2026-08-28 16:59:02] local.INFO: Processing buffer {"connection_id":166219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0481e4f08012d7b588005e13f10001e012515..."} 
[2026-08-28 16:59:02] local.INFO: Packet analysis {"connection_id":166219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0481e"} 
[2026-08-28 16:59:02] local.INFO: Extracted packet for processing {"connection_id":166219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0481e"} 
[2026-08-28 16:59:02] local.INFO: GPS Element Parsed {"raw_longitude":763058304,"raw_latitude":98647824,"longitude_deg":76.3058304,"latitude_deg":9.8647824,"altitude":30,"angle":293,"satellites":21,"speed":0,"hex_longitude":"2d7b5880","hex_latitude":"05e13f10","is_valid_coordinates":true} 
[2026-08-28 16:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706578176001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:59:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888064996102053888,"note":"Value kept but may cause issues"} 
[2026-08-28 16:59:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231402286317568,"note":"Value kept but may cause issues"} 
[2026-08-28 16:59:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-28 16:59:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787916341000,"timestamp_ms":1787916341000,"timestamp_seconds":1787916341,"priority":1,"record_length":96,"hex_timestamp":"000001a0481e4f08"} 
[2026-08-28 16:59:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:59:02] 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-28 16:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-28 16:59:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:59:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:59:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:59:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:59:02] local.INFO: Teltonika packet parsed successfully {"connection_id":166219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:59:02] local.INFO: Passing IMEI to GPS processor {"connection_id":166219,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 16:59:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":166219,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 16:59:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:59:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 16:59:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 16:59:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706578176001,"66":12667,"45":8888064996102053888,"85":15104,"24":0,"16":125231402286317568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-28 16:59:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 16:59:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 16:59:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706578176001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:59:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888064996102053888,"description":"Unknown IO ID 45"} 
[2026-08-28 16:59:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 16:59:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231402286317568,"km_value":125231402286317.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:59:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457706578176001,"power":12667,"unknown_45":8888064996102053888,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-28 16:59:02] local.INFO: DEBUG: GPS processor result {"connection_id":166219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708875,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:59:02] local.INFO: GPS data processed {"connection_id":166219,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:59:02] local.INFO: Acknowledgment sent {"connection_id":166219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:59:03] local.INFO: TCP Data received {"connection_id":164855,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0481cb0f8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0481cb0f8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:59:03] local.INFO: Processing buffer {"connection_id":164855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0481cb0f8012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:59:03] local.INFO: Packet analysis {"connection_id":164855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0481c"} 
[2026-08-28 16:59:03] local.INFO: Extracted packet for processing {"connection_id":164855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0481c"} 
[2026-08-28 16:59:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706479104001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787916235000,"timestamp_ms":1787916235000,"timestamp_seconds":1787916235,"priority":1,"record_length":96,"hex_timestamp":"000001a0481cb0f8"} 
[2026-08-28 16:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:59:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 16:59:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:59:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":164855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":164855,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":164855,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:59:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706479104001,"66":25430,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706479104001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:59:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:59:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706479104001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:59:03] 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":708876,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:59:03] local.INFO: GPS data processed {"connection_id":164855,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:59:03] local.INFO: Acknowledgment sent {"connection_id":164855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:59:10] local.INFO: TCP Data received {"connection_id":166220,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0481ec050012d34c14006aa4840000f00e627..."} 
[2026-08-28 16:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0481ec050012d34c14006aa4840000f00e627..."} 
[2026-08-28 16:59:10] local.INFO: Processing buffer {"connection_id":166220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0481ec050012d34c14006aa4840000f00e627..."} 
[2026-08-28 16:59:10] local.INFO: Packet analysis {"connection_id":166220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0481e"} 
[2026-08-28 16:59:10] local.INFO: Extracted packet for processing {"connection_id":166220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0481e"} 
[2026-08-28 16:59:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706513664001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:59:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:59:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787916370000,"timestamp_ms":1787916370000,"timestamp_seconds":1787916370,"priority":1,"record_length":96,"hex_timestamp":"000001a0481ec050"} 
[2026-08-28 16:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:59:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 16:59:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:59:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":166220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":166220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":166220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:59:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706513664001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706513664001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:59:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:59:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:59:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706513664001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":166220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:59:10] local.INFO: GPS data processed {"connection_id":166220,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:59:10] local.INFO: Acknowledgment sent {"connection_id":166220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:59:20] local.INFO: TCP Data received {"connection_id":164854,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0481fba50012d1826000721b978004e00d725..."} 
[2026-08-28 16:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0481fba50012d1826000721b978004e00d725..."} 
[2026-08-28 16:59:20] local.INFO: Processing buffer {"connection_id":164854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0481fba50012d1826000721b978004e00d725..."} 
[2026-08-28 16:59:20] local.INFO: Packet analysis {"connection_id":164854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0481f"} 
[2026-08-28 16:59:20] local.INFO: Extracted packet for processing {"connection_id":164854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0481f"} 
[2026-08-28 16:59:20] local.INFO: GPS Element Parsed {"raw_longitude":756557312,"raw_latitude":119650680,"longitude_deg":75.6557312,"latitude_deg":11.965068,"altitude":78,"angle":215,"satellites":37,"speed":0,"hex_longitude":"2d182600","hex_latitude":"0721b978","is_valid_coordinates":true} 
[2026-08-28 16:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706601728001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15957744829857792,"note":"Value kept but may cause issues"} 
[2026-08-28 16:59:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740078336655849472,"note":"Value kept but may cause issues"} 
[2026-08-28 16:59:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787916434000,"timestamp_ms":1787916434000,"timestamp_seconds":1787916434,"priority":1,"record_length":96,"hex_timestamp":"000001a0481fba50"} 
[2026-08-28 16:59:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:59:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-28 16:59:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:59:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:59:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":164854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":164854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":164854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:59:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706601728001,"66":12776,"105":206,"83":41984,"24":0,"16":15957744829857792,"45":1740078336655849472},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 16:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706601728001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:59:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 16:59:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 16:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15957744829857792,"km_value":15957744829857.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:59:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740078336655849472,"description":"Unknown IO ID 45"} 
[2026-08-28 16:59:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706601728001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740078336655849472}} 
[2026-08-28 16:59: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":708878,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:59:20] local.INFO: GPS data processed {"connection_id":164854,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:59:20] local.INFO: Acknowledgment sent {"connection_id":164854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:59:25] local.INFO: TCP Data received {"connection_id":164856,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164856,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:59:25] local.INFO: Processing buffer {"connection_id":164856,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:59:25] local.INFO: IMEI packet received {"connection_id":164856,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 16:59:25] local.INFO: IMEI acknowledgment sent {"connection_id":164856,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:59:30] local.INFO: TCP Data received {"connection_id":163585,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:59:30] local.INFO: Processing buffer {"connection_id":163585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:59:30] local.INFO: IMEI packet received {"connection_id":163585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 16:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":163585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:59:30] local.INFO: TCP Data received {"connection_id":164856,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164856,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:59:30] local.INFO: Processing buffer {"connection_id":164856,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 16:59:30] local.INFO: IMEI packet received {"connection_id":164856,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 16:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":164856,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:59:31] local.INFO: TCP Data received {"connection_id":164856,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0481ea110012d7b588005e13f10001d012515..."} 
[2026-08-28 16:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0481ea110012d7b588005e13f10001d012515..."} 
[2026-08-28 16:59:31] local.INFO: Processing buffer {"connection_id":164856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0481ea110012d7b588005e13f10001d012515..."} 
[2026-08-28 16:59:31] local.INFO: Packet analysis {"connection_id":164856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0481e"} 
[2026-08-28 16:59:31] local.INFO: Extracted packet for processing {"connection_id":164856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0481e"} 
[2026-08-28 16:59:31] local.INFO: GPS Element Parsed {"raw_longitude":763058304,"raw_latitude":98647824,"longitude_deg":76.3058304,"latitude_deg":9.8647824,"altitude":29,"angle":293,"satellites":21,"speed":0,"hex_longitude":"2d7b5880","hex_latitude":"05e13f10","is_valid_coordinates":true} 
[2026-08-28 16:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706583296001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:59:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8887994627357872128,"note":"Value kept but may cause issues"} 
[2026-08-28 16:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231402286317568,"note":"Value kept but may cause issues"} 
[2026-08-28 16:59:31] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-28 16:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787916362000,"timestamp_ms":1787916362000,"timestamp_seconds":1787916362,"priority":1,"record_length":96,"hex_timestamp":"000001a0481ea110"} 
[2026-08-28 16:59:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:59:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-28 16:59:31] 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-28 16:59:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:59:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":164856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":164856,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 16:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":164856,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 16:59:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 16:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 16:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706583296001,"66":12613,"45":8887994627357872128,"85":15104,"24":0,"16":125231402286317568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-28 16:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 16:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 16:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706583296001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:59:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8887994627357872128,"description":"Unknown IO ID 45"} 
[2026-08-28 16:59:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 16:59:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231402286317568,"km_value":125231402286317.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:59:31] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457706583296001,"power":12613,"unknown_45":8887994627357872128,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-28 16:59:31] 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":708879,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:59:31] local.INFO: GPS data processed {"connection_id":164856,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:59:31] local.INFO: Acknowledgment sent {"connection_id":164856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:59:35] local.INFO: TCP Data received {"connection_id":164855,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0482148c0012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482148c0012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:59:35] local.INFO: Processing buffer {"connection_id":164855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482148c0012d34bcc006aa4200000300002b..."} 
[2026-08-28 16:59:35] local.INFO: Packet analysis {"connection_id":164855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04821"} 
[2026-08-28 16:59:35] local.INFO: Extracted packet for processing {"connection_id":164855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04821"} 
[2026-08-28 16:59:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 16:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 16:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706556160001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 16:59:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 16:59:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787916536000,"timestamp_ms":1787916536000,"timestamp_seconds":1787916536,"priority":1,"record_length":96,"hex_timestamp":"000001a0482148c0"} 
[2026-08-28 16:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 16:59:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 16:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 16:59:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16:59:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 16:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 16:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":164855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":164855,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":164855,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 16:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 16:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 16:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706556160001,"66":25419,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 16:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 16:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706556160001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:59:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:59:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:59:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 16:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706556160001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 16:59:35] local.INFO: TCP Data received {"connection_id":163585,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:59:35] local.INFO: Processing buffer {"connection_id":163585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 16:59:35] local.INFO: IMEI packet received {"connection_id":163585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 16:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":163585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:59:36] 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":708880,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:59:36] local.INFO: GPS data processed {"connection_id":164855,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:59:36] local.INFO: Acknowledgment sent {"connection_id":164855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:59:38] local.INFO: TCP Data received {"connection_id":163585,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0481ec050012d34c14006aa4840000f00e627..."} 
[2026-08-28 16:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0481ec050012d34c14006aa4840000f00e627..."} 
[2026-08-28 16:59:38] local.INFO: Processing buffer {"connection_id":163585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0481ec050012d34c14006aa4840000f00e627..."} 
[2026-08-28 16:59:38] local.INFO: Packet analysis {"connection_id":163585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0481e"} 
[2026-08-28 16:59:38] local.INFO: Extracted packet for processing {"connection_id":163585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0481e"} 
[2026-08-28 16:59:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 16: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-28 16:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706513664001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 16:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 16:59:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787916370000,"timestamp_ms":1787916370000,"timestamp_seconds":1787916370,"priority":1,"record_length":96,"hex_timestamp":"000001a0481ec050"} 
[2026-08-28 16: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-28 16: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-28 16: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":151,"data_length":795,"current_offset":136} 
[2026-08-28 16:59: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-28 16: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-28 16: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-28 16:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 16:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 16:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 16:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706513664001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 16:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 16:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 16:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706513664001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:59:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 16:59:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 16: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-28 16:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 16:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706513664001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 16:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":163585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:59:38] local.INFO: GPS data processed {"connection_id":163585,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:59:38] local.INFO: Acknowledgment sent {"connection_id":163585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 16:59:43] local.INFO: TCP Data received {"connection_id":166221,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166221,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:59:43] local.INFO: Processing buffer {"connection_id":166221,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:59:43] local.INFO: IMEI packet received {"connection_id":166221,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 16:59:43] local.INFO: IMEI acknowledgment sent {"connection_id":166221,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 16:59:48] local.INFO: TCP Data received {"connection_id":166221,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166221,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:59:48] local.INFO: Processing buffer {"connection_id":166221,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 16:59:48] local.INFO: IMEI packet received {"connection_id":166221,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 16:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":166221,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 16:59:49] local.INFO: TCP Data received {"connection_id":166221,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048200c58012d1826000721b978004e00d726..."} 
[2026-08-28 16:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048200c58012d1826000721b978004e00d726..."} 
[2026-08-28 16:59:49] local.INFO: Processing buffer {"connection_id":166221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048200c58012d1826000721b978004e00d726..."} 
[2026-08-28 16:59:49] local.INFO: Packet analysis {"connection_id":166221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04820"} 
[2026-08-28 16:59:49] local.INFO: Extracted packet for processing {"connection_id":166221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04820"} 
[2026-08-28 16:59:49] local.INFO: GPS Element Parsed {"raw_longitude":756557312,"raw_latitude":119650680,"longitude_deg":75.6557312,"latitude_deg":11.965068,"altitude":78,"angle":215,"satellites":38,"speed":0,"hex_longitude":"2d182600","hex_latitude":"0721b978","is_valid_coordinates":true} 
[2026-08-28 16: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-28 16:59:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706607104001,"note":"Value kept but may cause issues"} 
[2026-08-28 16:59:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15957744829857792,"note":"Value kept but may cause issues"} 
[2026-08-28 16:59:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740078336655849472,"note":"Value kept but may cause issues"} 
[2026-08-28 16:59:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 16:59:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787916455000,"timestamp_ms":1787916455000,"timestamp_seconds":1787916455,"priority":1,"record_length":96,"hex_timestamp":"000001a048200c58"} 
[2026-08-28 16: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-28 16:59:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 16: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-28 16:59:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 16: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-28 16: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-28 16:59:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 16:59:49] local.INFO: Teltonika packet parsed successfully {"connection_id":166221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 16:59:49] local.INFO: Passing IMEI to GPS processor {"connection_id":166221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:59:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":166221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 16:59:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 16:59:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 16:59:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 16:59:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706607104001,"66":12722,"105":206,"83":41984,"24":0,"16":15957744829857792,"45":1740078336655849472},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 16:59:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 16:59:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 16:59:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706607104001,"description":"Unknown IO ID 0"} 
[2026-08-28 16:59:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 16:59:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 16:59:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15957744829857792,"km_value":15957744829857.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 16:59:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740078336655849472,"description":"Unknown IO ID 45"} 
[2026-08-28 16:59:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706607104001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740078336655849472}} 
[2026-08-28 16:59:49] local.INFO: DEBUG: GPS processor result {"connection_id":166221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708882,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 16:59:49] local.INFO: GPS data processed {"connection_id":166221,"processed":1,"errors":0,"total":1} 
[2026-08-28 16:59:49] local.INFO: Acknowledgment sent {"connection_id":166221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:00:01] local.INFO: TCP Data received {"connection_id":164857,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164857,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:00:01] local.INFO: Processing buffer {"connection_id":164857,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:00:01] local.INFO: IMEI packet received {"connection_id":164857,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 17:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":164857,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:00:02] local.INFO: TCP Data received {"connection_id":164856,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0481ef318012d7b588005e13f18001d012515..."} 
[2026-08-28 17:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0481ef318012d7b588005e13f18001d012515..."} 
[2026-08-28 17:00:02] local.INFO: Processing buffer {"connection_id":164856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0481ef318012d7b588005e13f18001d012515..."} 
[2026-08-28 17:00:02] local.INFO: Packet analysis {"connection_id":164856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0481e"} 
[2026-08-28 17:00:02] local.INFO: Extracted packet for processing {"connection_id":164856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0481e"} 
[2026-08-28 17:00:02] local.INFO: GPS Element Parsed {"raw_longitude":763058304,"raw_latitude":98647832,"longitude_deg":76.3058304,"latitude_deg":9.8647832,"altitude":29,"angle":293,"satellites":21,"speed":0,"hex_longitude":"2d7b5880","hex_latitude":"05e13f18","is_valid_coordinates":true} 
[2026-08-28 17:00:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:00:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706588672001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:00:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8887994627357872128,"note":"Value kept but may cause issues"} 
[2026-08-28 17:00:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231402286317568,"note":"Value kept but may cause issues"} 
[2026-08-28 17:00:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-28 17:00:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787916383000,"timestamp_ms":1787916383000,"timestamp_seconds":1787916383,"priority":1,"record_length":96,"hex_timestamp":"000001a0481ef318"} 
[2026-08-28 17:00:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:00:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:00:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-28 17:00:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:00:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:00:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:00:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:00:02] local.INFO: Teltonika packet parsed successfully {"connection_id":164856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:00:02] local.INFO: Passing IMEI to GPS processor {"connection_id":164856,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:00:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":164856,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:00:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:00:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:00:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:00:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706588672001,"66":12613,"45":8887994627357872128,"85":15104,"24":0,"16":125231402286317568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-28 17:00:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:00:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:00:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706588672001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:00:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8887994627357872128,"description":"Unknown IO ID 45"} 
[2026-08-28 17:00:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:00:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231402286317568,"km_value":125231402286317.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:00:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457706588672001,"power":12613,"unknown_45":8887994627357872128,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-28 17:00:02] 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":708883,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:00:02] local.INFO: GPS data processed {"connection_id":164856,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:00:02] local.INFO: Acknowledgment sent {"connection_id":164856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:00:06] local.INFO: TCP Data received {"connection_id":164857,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164857,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:00:06] local.INFO: Processing buffer {"connection_id":164857,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:00:06] local.INFO: IMEI packet received {"connection_id":164857,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 17:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":164857,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:00:08] local.INFO: TCP Data received {"connection_id":164857,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0482148c0012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482148c0012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:00:08] local.INFO: Processing buffer {"connection_id":164857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482148c0012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:00:08] local.INFO: Packet analysis {"connection_id":164857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04821"} 
[2026-08-28 17:00:08] local.INFO: Extracted packet for processing {"connection_id":164857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04821"} 
[2026-08-28 17:00:08] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:00:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706556160001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:00:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:00:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:00:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:00:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787916536000,"timestamp_ms":1787916536000,"timestamp_seconds":1787916536,"priority":1,"record_length":96,"hex_timestamp":"000001a0482148c0"} 
[2026-08-28 17:00:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:00:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 17:00: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-28 17:00:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:00:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:00:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:00:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:00:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164857,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:00:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164857,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:00:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:00:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:00:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:00:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706556160001,"66":25419,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:00:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:00:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:00:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706556160001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:00:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:00:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:00:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:00:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:00:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706556160001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:00:08] local.INFO: DEBUG: GPS processor result {"connection_id":164857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708884,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:00:08] local.INFO: GPS data processed {"connection_id":164857,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:00:08] local.INFO: Acknowledgment sent {"connection_id":164857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:00:09] local.INFO: TCP Data received {"connection_id":163585,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0481ec050012d34c14006aa4840000f00e627..."} 
[2026-08-28 17:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0481ec050012d34c14006aa4840000f00e627..."} 
[2026-08-28 17:00:09] local.INFO: Processing buffer {"connection_id":163585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0481ec050012d34c14006aa4840000f00e627..."} 
[2026-08-28 17:00:09] local.INFO: Packet analysis {"connection_id":163585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0481e"} 
[2026-08-28 17:00:09] local.INFO: Extracted packet for processing {"connection_id":163585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0481e"} 
[2026-08-28 17:00:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:00:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706513664001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:00:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:00:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:00:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787916370000,"timestamp_ms":1787916370000,"timestamp_seconds":1787916370,"priority":1,"record_length":96,"hex_timestamp":"000001a0481ec050"} 
[2026-08-28 17:00:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:00: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-28 17:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 17:00:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:00:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:00:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:00:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:00:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:00:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:00:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706513664001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:00:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:00:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:00:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706513664001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:00:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:00:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:00: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-28 17:00:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:00:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706513664001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:00:09] local.INFO: DEBUG: GPS processor result {"connection_id":163585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:00:09] local.INFO: GPS data processed {"connection_id":163585,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:00:09] local.INFO: Acknowledgment sent {"connection_id":163585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:00:12] local.INFO: TCP Data received {"connection_id":164857,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0482148c0012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482148c0012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:00:12] local.INFO: Processing buffer {"connection_id":164857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482148c0012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:00:12] local.INFO: Packet analysis {"connection_id":164857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04821"} 
[2026-08-28 17:00:12] local.INFO: Extracted packet for processing {"connection_id":164857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04821"} 
[2026-08-28 17:00:12] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:00:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706556160001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:00:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:00:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:00:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:00:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787916536000,"timestamp_ms":1787916536000,"timestamp_seconds":1787916536,"priority":1,"record_length":96,"hex_timestamp":"000001a0482148c0"} 
[2026-08-28 17:00:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:00:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 17:00:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:00:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:00:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:00:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:00:12] local.INFO: Teltonika packet parsed successfully {"connection_id":164857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:00:12] local.INFO: Passing IMEI to GPS processor {"connection_id":164857,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:00:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":164857,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:00:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:00:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:00:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:00:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706556160001,"66":25419,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:00:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:00:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:00:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706556160001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:00:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:00:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:00:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:00:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:00:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706556160001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:00:12] local.INFO: DEBUG: GPS processor result {"connection_id":164857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708886,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:00:12] local.INFO: GPS data processed {"connection_id":164857,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:00:12] local.INFO: Acknowledgment sent {"connection_id":164857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:00:20] local.INFO: TCP Data received {"connection_id":166221,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048205e60012d1826000721b978004e00d725..."} 
[2026-08-28 17:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048205e60012d1826000721b978004e00d725..."} 
[2026-08-28 17:00:20] local.INFO: Processing buffer {"connection_id":166221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048205e60012d1826000721b978004e00d725..."} 
[2026-08-28 17:00:20] local.INFO: Packet analysis {"connection_id":166221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04820"} 
[2026-08-28 17:00:20] local.INFO: Extracted packet for processing {"connection_id":166221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04820"} 
[2026-08-28 17:00:20] local.INFO: GPS Element Parsed {"raw_longitude":756557312,"raw_latitude":119650680,"longitude_deg":75.6557312,"latitude_deg":11.965068,"altitude":78,"angle":215,"satellites":37,"speed":0,"hex_longitude":"2d182600","hex_latitude":"0721b978","is_valid_coordinates":true} 
[2026-08-28 17: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-28 17:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706612480001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15957744829857792,"note":"Value kept but may cause issues"} 
[2026-08-28 17:00:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740078336655849472,"note":"Value kept but may cause issues"} 
[2026-08-28 17:00:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787916476000,"timestamp_ms":1787916476000,"timestamp_seconds":1787916476,"priority":1,"record_length":96,"hex_timestamp":"000001a048205e60"} 
[2026-08-28 17: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-28 17:00:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-28 17:00:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17: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-28 17: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-28 17:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":166221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":166221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":166221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:00:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706612480001,"66":12211,"105":206,"83":41984,"24":0,"16":15957744829857792,"45":1740078336655849472},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 17:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706612480001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:00:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 17:00:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15957744829857792,"km_value":15957744829857.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:00:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740078336655849472,"description":"Unknown IO ID 45"} 
[2026-08-28 17:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706612480001,"power":12211,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740078336655849472}} 
[2026-08-28 17:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":166221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708887,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:00:20] local.INFO: GPS data processed {"connection_id":166221,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:00:20] local.INFO: Acknowledgment sent {"connection_id":166221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:00:25] local.INFO: TCP Data received {"connection_id":164858,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164858,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:00:25] local.INFO: Processing buffer {"connection_id":164858,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:00:25] local.INFO: IMEI packet received {"connection_id":164858,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 17:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":164858,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:00:26] local.INFO: TCP Data received {"connection_id":164858,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164858,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:00:26] local.INFO: Processing buffer {"connection_id":164858,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:00:26] local.INFO: IMEI packet received {"connection_id":164858,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 17:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":164858,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:00:30] local.INFO: TCP Data received {"connection_id":164858,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164858,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:00:30] local.INFO: Processing buffer {"connection_id":164858,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:00:30] local.INFO: IMEI packet received {"connection_id":164858,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 17:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":164858,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:00:31] local.INFO: TCP Data received {"connection_id":164858,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a04821fc70012d7b520005e13fa0000001051a..."} 
[2026-08-28 17:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04821fc70012d7b520005e13fa0000001051a..."} 
[2026-08-28 17:00:31] local.INFO: Processing buffer {"connection_id":164858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04821fc70012d7b520005e13fa0000001051a..."} 
[2026-08-28 17:00:31] local.INFO: Packet analysis {"connection_id":164858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04821"} 
[2026-08-28 17:00:31] local.INFO: Extracted packet for processing {"connection_id":164858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04821"} 
[2026-08-28 17:00:31] local.INFO: GPS Element Parsed {"raw_longitude":763056640,"raw_latitude":98647968,"longitude_deg":76.305664,"latitude_deg":9.8647968,"altitude":0,"angle":261,"satellites":26,"speed":0,"hex_longitude":"2d7b5200","hex_latitude":"05e13fa0","is_valid_coordinates":true} 
[2026-08-28 17:00:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706639616001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231539725271040,"note":"Value kept but may cause issues"} 
[2026-08-28 17:00:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886094671265126400,"note":"Value kept but may cause issues"} 
[2026-08-28 17:00:31] 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-28 17:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787916582000,"timestamp_ms":1787916582000,"timestamp_seconds":1787916582,"priority":1,"record_length":96,"hex_timestamp":"000001a04821fc70"} 
[2026-08-28 17:00:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:00:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:00:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-08-28 17:00:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:00:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:00:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":164858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":164858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":164858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:00:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706639616001,"66":12515,"217":206,"85":15104,"24":0,"16":125231539725271040,"45":8886094671265126400},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 17:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706639616001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:00:31] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 17:00:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:00:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231539725271040,"km_value":125231539725271.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:00:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886094671265126400,"description":"Unknown IO ID 45"} 
[2026-08-28 17:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706639616001,"power":12515,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886094671265126400}} 
[2026-08-28 17:00:31] 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":708888,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:00:31] local.INFO: GPS data processed {"connection_id":164858,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:00:31] local.INFO: Acknowledgment sent {"connection_id":164858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:00:35] local.INFO: TCP Data received {"connection_id":163854,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:00:35] local.INFO: Processing buffer {"connection_id":163854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:00:35] local.INFO: IMEI packet received {"connection_id":163854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 17:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":163854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:00:40] local.INFO: TCP Data received {"connection_id":163854,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:00:40] local.INFO: Processing buffer {"connection_id":163854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:00:40] local.INFO: IMEI packet received {"connection_id":163854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 17:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":163854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:00:41] local.INFO: TCP Data received {"connection_id":163854,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0481ec050012d34c14006aa4840000f00e627..."} 
[2026-08-28 17:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0481ec050012d34c14006aa4840000f00e627..."} 
[2026-08-28 17:00:41] local.INFO: Processing buffer {"connection_id":163854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0481ec050012d34c14006aa4840000f00e627..."} 
[2026-08-28 17:00:41] local.INFO: Packet analysis {"connection_id":163854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0481e"} 
[2026-08-28 17:00:41] local.INFO: Extracted packet for processing {"connection_id":163854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0481e"} 
[2026-08-28 17:00:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:00:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706513664001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:00:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:00:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:00:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:00:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787916370000,"timestamp_ms":1787916370000,"timestamp_seconds":1787916370,"priority":1,"record_length":96,"hex_timestamp":"000001a0481ec050"} 
[2026-08-28 17:00:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:00: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-28 17:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 17:00:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:00:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:00:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:00:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:00:41] local.INFO: Teltonika packet parsed successfully {"connection_id":163854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:00:41] local.INFO: Passing IMEI to GPS processor {"connection_id":163854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:00:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":163854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:00:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:00:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:00:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:00:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706513664001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:00:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:00:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:00:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706513664001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:00:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:00:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:00: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-28 17:00:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:00:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706513664001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:00:41] local.INFO: DEBUG: GPS processor result {"connection_id":163854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:00:41] local.INFO: GPS data processed {"connection_id":163854,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:00:41] local.INFO: Acknowledgment sent {"connection_id":163854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:00:43] local.INFO: TCP Data received {"connection_id":163855,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:00:43] local.INFO: Processing buffer {"connection_id":163855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:00:43] local.INFO: IMEI packet received {"connection_id":163855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 17:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":163855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:00:46] local.INFO: TCP Data received {"connection_id":163854,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0481ec050012d34c14006aa4840000f00e627..."} 
[2026-08-28 17:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0481ec050012d34c14006aa4840000f00e627..."} 
[2026-08-28 17:00:46] local.INFO: Processing buffer {"connection_id":163854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0481ec050012d34c14006aa4840000f00e627..."} 
[2026-08-28 17:00:46] local.INFO: Packet analysis {"connection_id":163854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0481e"} 
[2026-08-28 17:00:46] local.INFO: Extracted packet for processing {"connection_id":163854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0481e"} 
[2026-08-28 17:00:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706513664001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:00:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:00:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787916370000,"timestamp_ms":1787916370000,"timestamp_seconds":1787916370,"priority":1,"record_length":96,"hex_timestamp":"000001a0481ec050"} 
[2026-08-28 17:00:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:00: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-28 17:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 17:00:46] 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-28 17:00:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:00:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:00:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:00:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706513664001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:00:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:00:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:00:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706513664001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:00:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:00:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:00: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-28 17:00:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:00:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706513664001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:00:46] local.INFO: DEBUG: GPS processor result {"connection_id":163854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:00:46] local.INFO: GPS data processed {"connection_id":163854,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:00:46] local.INFO: Acknowledgment sent {"connection_id":163854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:00:48] local.INFO: TCP Data received {"connection_id":163855,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:00:48] local.INFO: Processing buffer {"connection_id":163855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:00:48] local.INFO: IMEI packet received {"connection_id":163855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":163855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:00:49] local.INFO: TCP Data received {"connection_id":163855,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a04820b068012d1826000721b978004e00d727..."} 
[2026-08-28 17:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04820b068012d1826000721b978004e00d727..."} 
[2026-08-28 17:00:49] local.INFO: Processing buffer {"connection_id":163855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04820b068012d1826000721b978004e00d727..."} 
[2026-08-28 17:00:49] local.INFO: Packet analysis {"connection_id":163855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04820"} 
[2026-08-28 17:00:49] local.INFO: Extracted packet for processing {"connection_id":163855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04820"} 
[2026-08-28 17:00:49] local.INFO: GPS Element Parsed {"raw_longitude":756557312,"raw_latitude":119650680,"longitude_deg":75.6557312,"latitude_deg":11.965068,"altitude":78,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2d182600","hex_latitude":"0721b978","is_valid_coordinates":true} 
[2026-08-28 17: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-28 17:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706617856001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15957744829857792,"note":"Value kept but may cause issues"} 
[2026-08-28 17:00:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740078336655849472,"note":"Value kept but may cause issues"} 
[2026-08-28 17:00:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787916497000,"timestamp_ms":1787916497000,"timestamp_seconds":1787916497,"priority":1,"record_length":96,"hex_timestamp":"000001a04820b068"} 
[2026-08-28 17: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-28 17:00:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 17:00:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17: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-28 17: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-28 17:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:00:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706617856001,"66":12689,"105":206,"83":41984,"24":0,"16":15957744829857792,"45":1740078336655849472},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 17:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706617856001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:00:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 17:00:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15957744829857792,"km_value":15957744829857.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:00:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740078336655849472,"description":"Unknown IO ID 45"} 
[2026-08-28 17:00:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706617856001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740078336655849472}} 
[2026-08-28 17:00:49] local.INFO: DEBUG: GPS processor result {"connection_id":163855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708891,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:00:49] local.INFO: GPS data processed {"connection_id":163855,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:00:49] local.INFO: Acknowledgment sent {"connection_id":163855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:00:56] local.INFO: TCP Data received {"connection_id":163586,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163586,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:00:56] local.INFO: Processing buffer {"connection_id":163586,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:00:56] local.INFO: IMEI packet received {"connection_id":163586,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 17:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":163586,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:01:01] local.INFO: TCP Data received {"connection_id":163586,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163586,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:01:01] local.INFO: Processing buffer {"connection_id":163586,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:01:01] local.INFO: IMEI packet received {"connection_id":163586,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 17:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":163586,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:01:02] local.INFO: TCP Data received {"connection_id":164858,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a048224e78012d7b520005e13f88000001051a..."} 
[2026-08-28 17:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048224e78012d7b520005e13f88000001051a..."} 
[2026-08-28 17:01:02] local.INFO: Processing buffer {"connection_id":164858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048224e78012d7b520005e13f88000001051a..."} 
[2026-08-28 17:01:02] local.INFO: Packet analysis {"connection_id":164858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04822"} 
[2026-08-28 17:01:02] local.INFO: Extracted packet for processing {"connection_id":164858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04822"} 
[2026-08-28 17:01:02] local.INFO: GPS Element Parsed {"raw_longitude":763056640,"raw_latitude":98647944,"longitude_deg":76.305664,"latitude_deg":9.8647944,"altitude":0,"angle":261,"satellites":26,"speed":0,"hex_longitude":"2d7b5200","hex_latitude":"05e13f88","is_valid_coordinates":true} 
[2026-08-28 17:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706644992001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231544020238336,"note":"Value kept but may cause issues"} 
[2026-08-28 17:01:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886165040009289728,"note":"Value kept but may cause issues"} 
[2026-08-28 17:01:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787916603000,"timestamp_ms":1787916603000,"timestamp_seconds":1787916603,"priority":1,"record_length":96,"hex_timestamp":"000001a048224e78"} 
[2026-08-28 17:01:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:01:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-08-28 17:01:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:01:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:01:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":164858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":164858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":164858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:01:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706644992001,"66":12504,"217":206,"85":15104,"24":0,"16":125231544020238336,"45":8886165040009289728},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 17:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706644992001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:01:02] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 17:01:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231544020238336,"km_value":125231544020238.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:01:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886165040009289728,"description":"Unknown IO ID 45"} 
[2026-08-28 17:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706644992001,"power":12504,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886165040009289728}} 
[2026-08-28 17:01:02] 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":708892,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:01:02] local.INFO: GPS data processed {"connection_id":164858,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:01:02] local.INFO: Acknowledgment sent {"connection_id":164858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:01:03] local.INFO: TCP Data received {"connection_id":163586,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0482148c0012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482148c0012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:01:03] local.INFO: Processing buffer {"connection_id":163586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482148c0012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:01:03] local.INFO: Packet analysis {"connection_id":163586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04821"} 
[2026-08-28 17:01:03] local.INFO: Extracted packet for processing {"connection_id":163586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04821"} 
[2026-08-28 17:01:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706556160001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787916536000,"timestamp_ms":1787916536000,"timestamp_seconds":1787916536,"priority":1,"record_length":96,"hex_timestamp":"000001a0482148c0"} 
[2026-08-28 17:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:01:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 17:01:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:01:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163586,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163586,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:01:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706556160001,"66":25419,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706556160001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:01:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:01:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706556160001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:01:03] 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":708893,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:01:03] local.INFO: GPS data processed {"connection_id":163586,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:01:03] local.INFO: Acknowledgment sent {"connection_id":163586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:01:20] local.INFO: TCP Data received {"connection_id":163855,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048210270012d1826000721b978004e00d726..."} 
[2026-08-28 17:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048210270012d1826000721b978004e00d726..."} 
[2026-08-28 17:01:20] local.INFO: Processing buffer {"connection_id":163855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048210270012d1826000721b978004e00d726..."} 
[2026-08-28 17:01:20] local.INFO: Packet analysis {"connection_id":163855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04821"} 
[2026-08-28 17:01:20] local.INFO: Extracted packet for processing {"connection_id":163855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04821"} 
[2026-08-28 17:01:20] local.INFO: GPS Element Parsed {"raw_longitude":756557312,"raw_latitude":119650680,"longitude_deg":75.6557312,"latitude_deg":11.965068,"altitude":78,"angle":215,"satellites":38,"speed":0,"hex_longitude":"2d182600","hex_latitude":"0721b978","is_valid_coordinates":true} 
[2026-08-28 17:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:01:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706623232001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:01:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15957744829857792,"note":"Value kept but may cause issues"} 
[2026-08-28 17:01:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740078336655849472,"note":"Value kept but may cause issues"} 
[2026-08-28 17:01:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:01:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787916518000,"timestamp_ms":1787916518000,"timestamp_seconds":1787916518,"priority":1,"record_length":96,"hex_timestamp":"000001a048210270"} 
[2026-08-28 17:01:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:01:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-28 17:01:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:01:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:01:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:01:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:01:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:01:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:01:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:01:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:01:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:01:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:01:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706623232001,"66":12645,"105":206,"83":41984,"24":0,"16":15957744829857792,"45":1740078336655849472},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 17:01:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:01:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:01:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706623232001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:01:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 17:01:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:01:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15957744829857792,"km_value":15957744829857.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:01:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740078336655849472,"description":"Unknown IO ID 45"} 
[2026-08-28 17:01:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706623232001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740078336655849472}} 
[2026-08-28 17:01:20] local.INFO: DEBUG: GPS processor result {"connection_id":163855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708894,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:01:20] local.INFO: GPS data processed {"connection_id":163855,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:01:20] local.INFO: Acknowledgment sent {"connection_id":163855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:01:29] local.INFO: TCP Data received {"connection_id":166222,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166222,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:01:29] local.INFO: Processing buffer {"connection_id":166222,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:01:29] local.INFO: IMEI packet received {"connection_id":166222,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 17:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":166222,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:01:30] local.INFO: TCP Data received {"connection_id":166222,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166222,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:01:30] local.INFO: Processing buffer {"connection_id":166222,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:01:30] local.INFO: IMEI packet received {"connection_id":166222,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 17:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":166222,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:01:30] local.INFO: TCP Data received {"connection_id":166223,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:01:30] local.INFO: Processing buffer {"connection_id":166223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:01:30] local.INFO: IMEI packet received {"connection_id":166223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 17:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":166223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:01:35] local.INFO: TCP Data received {"connection_id":163586,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0482148c0012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482148c0012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:01:35] local.INFO: Processing buffer {"connection_id":163586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482148c0012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:01:35] local.INFO: Packet analysis {"connection_id":163586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04821"} 
[2026-08-28 17:01:35] local.INFO: Extracted packet for processing {"connection_id":163586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04821"} 
[2026-08-28 17:01:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706556160001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:01:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:01:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787916536000,"timestamp_ms":1787916536000,"timestamp_seconds":1787916536,"priority":1,"record_length":96,"hex_timestamp":"000001a0482148c0"} 
[2026-08-28 17:01:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:01:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 17:01:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:01:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:01:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163586,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163586,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:01:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706556160001,"66":25419,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706556160001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:01:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:01:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:01:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706556160001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:01:35] 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":708895,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:01:35] local.INFO: GPS data processed {"connection_id":163586,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:01:35] local.INFO: Acknowledgment sent {"connection_id":163586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:01:36] local.INFO: TCP Data received {"connection_id":166222,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166222,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:01:36] local.INFO: Processing buffer {"connection_id":166222,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:01:36] local.INFO: IMEI packet received {"connection_id":166222,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 17:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":166222,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:01:36] local.INFO: TCP Data received {"connection_id":166223,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:01:36] local.INFO: Processing buffer {"connection_id":166223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:01:36] local.INFO: IMEI packet received {"connection_id":166223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 17:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":166223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:01:37] local.INFO: TCP Data received {"connection_id":166222,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a04822a080012d7b524005e13f80000001051a..."} 
[2026-08-28 17:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04822a080012d7b524005e13f80000001051a..."} 
[2026-08-28 17:01:37] local.INFO: Processing buffer {"connection_id":166222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04822a080012d7b524005e13f80000001051a..."} 
[2026-08-28 17:01:37] local.INFO: Packet analysis {"connection_id":166222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04822"} 
[2026-08-28 17:01:37] local.INFO: Extracted packet for processing {"connection_id":166222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04822"} 
[2026-08-28 17:01:37] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98647936,"longitude_deg":76.3056704,"latitude_deg":9.8647936,"altitude":0,"angle":261,"satellites":26,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13f80","is_valid_coordinates":true} 
[2026-08-28 17:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706650368001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231548315205632,"note":"Value kept but may cause issues"} 
[2026-08-28 17:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886165040009283584,"note":"Value kept but may cause issues"} 
[2026-08-28 17:01: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-28 17:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787916624000,"timestamp_ms":1787916624000,"timestamp_seconds":1787916624,"priority":1,"record_length":96,"hex_timestamp":"000001a04822a080"} 
[2026-08-28 17:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:01:37] 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-28 17:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-28 17:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":166222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":166222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":166222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706650368001,"66":12526,"217":206,"85":15104,"24":0,"16":125231548315205632,"45":8886165040009283584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 17:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706650368001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:01:37] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 17:01:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231548315205632,"km_value":125231548315205.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886165040009283584,"description":"Unknown IO ID 45"} 
[2026-08-28 17:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706650368001,"power":12526,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886165040009283584}} 
[2026-08-28 17:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":166222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708896,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:01:37] local.INFO: GPS data processed {"connection_id":166222,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:01:37] local.INFO: Acknowledgment sent {"connection_id":166222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:01:39] local.INFO: TCP Data received {"connection_id":166223,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0481ec050012d34c14006aa4840000f00e627..."} 
[2026-08-28 17:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0481ec050012d34c14006aa4840000f00e627..."} 
[2026-08-28 17:01:39] local.INFO: Processing buffer {"connection_id":166223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0481ec050012d34c14006aa4840000f00e627..."} 
[2026-08-28 17:01:39] local.INFO: Packet analysis {"connection_id":166223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0481e"} 
[2026-08-28 17:01:39] local.INFO: Extracted packet for processing {"connection_id":166223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0481e"} 
[2026-08-28 17:01:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:01:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706513664001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:01:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:01:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:01:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:01:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787916370000,"timestamp_ms":1787916370000,"timestamp_seconds":1787916370,"priority":1,"record_length":96,"hex_timestamp":"000001a0481ec050"} 
[2026-08-28 17:01:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:01:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 17:01:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:01:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:01:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:01:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:01:39] local.INFO: Teltonika packet parsed successfully {"connection_id":166223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:01:39] local.INFO: Passing IMEI to GPS processor {"connection_id":166223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:01:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":166223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:01:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:01:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:01:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:01:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706513664001,"66":25495,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:01:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:01:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:01:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706513664001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:01:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:01:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:01:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:01:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:01:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706513664001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:01:39] local.INFO: DEBUG: GPS processor result {"connection_id":166223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:01:39] local.INFO: GPS data processed {"connection_id":166223,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:01:39] local.INFO: Acknowledgment sent {"connection_id":166223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:01:43] local.INFO: TCP Data received {"connection_id":163587,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163587,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:01:43] local.INFO: Processing buffer {"connection_id":163587,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:01:43] local.INFO: IMEI packet received {"connection_id":163587,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 17:01:43] local.INFO: IMEI acknowledgment sent {"connection_id":163587,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:01:43] local.INFO: TCP Data received {"connection_id":163587,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163587,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:01:43] local.INFO: Processing buffer {"connection_id":163587,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:01:43] local.INFO: IMEI packet received {"connection_id":163587,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:01:43] local.INFO: IMEI acknowledgment sent {"connection_id":163587,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:01:48] local.INFO: TCP Data received {"connection_id":163587,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163587,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:01:48] local.INFO: Processing buffer {"connection_id":163587,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:01:48] local.INFO: IMEI packet received {"connection_id":163587,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":163587,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:01:49] local.INFO: TCP Data received {"connection_id":163587,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048215478012d1826000721b978004e00d727..."} 
[2026-08-28 17:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048215478012d1826000721b978004e00d727..."} 
[2026-08-28 17:01:49] local.INFO: Processing buffer {"connection_id":163587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048215478012d1826000721b978004e00d727..."} 
[2026-08-28 17:01:49] local.INFO: Packet analysis {"connection_id":163587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04821"} 
[2026-08-28 17:01:49] local.INFO: Extracted packet for processing {"connection_id":163587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04821"} 
[2026-08-28 17:01:49] local.INFO: GPS Element Parsed {"raw_longitude":756557312,"raw_latitude":119650680,"longitude_deg":75.6557312,"latitude_deg":11.965068,"altitude":78,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2d182600","hex_latitude":"0721b978","is_valid_coordinates":true} 
[2026-08-28 17: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-28 17:01:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706628608001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:01:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15957744829857792,"note":"Value kept but may cause issues"} 
[2026-08-28 17:01:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740078336655849472,"note":"Value kept but may cause issues"} 
[2026-08-28 17:01:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:01:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787916539000,"timestamp_ms":1787916539000,"timestamp_seconds":1787916539,"priority":1,"record_length":96,"hex_timestamp":"000001a048215478"} 
[2026-08-28 17: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-28 17:01:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-28 17:01:49] 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-28 17: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-28 17: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-28 17:01:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:01:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:01:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:01:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:01:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:01:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:01:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:01:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706628608001,"66":12689,"105":206,"83":41984,"24":0,"16":15957744829857792,"45":1740078336655849472},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 17:01:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:01:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:01:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706628608001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:01:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 17:01:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:01:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15957744829857792,"km_value":15957744829857.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:01:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740078336655849472,"description":"Unknown IO ID 45"} 
[2026-08-28 17:01:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706628608001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740078336655849472}} 
[2026-08-28 17:01:49] 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":708898,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:01:49] local.INFO: GPS data processed {"connection_id":163587,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:01:49] local.INFO: Acknowledgment sent {"connection_id":163587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:01:56] local.INFO: TCP Data received {"connection_id":163856,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163856,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:01:56] local.INFO: Processing buffer {"connection_id":163856,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:01:56] local.INFO: IMEI packet received {"connection_id":163856,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 17:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":163856,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:02:01] local.INFO: TCP Data received {"connection_id":163856,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163856,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:02:01] local.INFO: Processing buffer {"connection_id":163856,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:02:01] local.INFO: IMEI packet received {"connection_id":163856,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 17:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":163856,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:02:03] local.INFO: TCP Data received {"connection_id":163856,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0482148c0012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482148c0012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:02:03] local.INFO: Processing buffer {"connection_id":163856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482148c0012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:02:03] local.INFO: Packet analysis {"connection_id":163856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04821"} 
[2026-08-28 17:02:03] local.INFO: Extracted packet for processing {"connection_id":163856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04821"} 
[2026-08-28 17:02:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706556160001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:02:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787916536000,"timestamp_ms":1787916536000,"timestamp_seconds":1787916536,"priority":1,"record_length":96,"hex_timestamp":"000001a0482148c0"} 
[2026-08-28 17:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:02:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 17:02:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:02:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163856,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163856,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706556160001,"66":25419,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706556160001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:02:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:02:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706556160001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":163856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708899,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:02:03] local.INFO: GPS data processed {"connection_id":163856,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:02:03] local.INFO: Acknowledgment sent {"connection_id":163856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:02:08] local.INFO: TCP Data received {"connection_id":166222,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a04822f288012d7b528005e13f980000010519..."} 
[2026-08-28 17:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04822f288012d7b528005e13f980000010519..."} 
[2026-08-28 17:02:08] local.INFO: Processing buffer {"connection_id":166222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04822f288012d7b528005e13f980000010519..."} 
[2026-08-28 17:02:08] local.INFO: Packet analysis {"connection_id":166222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04822"} 
[2026-08-28 17:02:08] local.INFO: Extracted packet for processing {"connection_id":166222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04822"} 
[2026-08-28 17:02:08] local.INFO: GPS Element Parsed {"raw_longitude":763056768,"raw_latitude":98647960,"longitude_deg":76.3056768,"latitude_deg":9.864796,"altitude":0,"angle":261,"satellites":25,"speed":0,"hex_longitude":"2d7b5280","hex_latitude":"05e13f98","is_valid_coordinates":true} 
[2026-08-28 17:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706655744001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231556905140224,"note":"Value kept but may cause issues"} 
[2026-08-28 17:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753459200,"note":"Value kept but may cause issues"} 
[2026-08-28 17:02:08] 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-28 17:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787916645000,"timestamp_ms":1787916645000,"timestamp_seconds":1787916645,"priority":1,"record_length":96,"hex_timestamp":"000001a04822f288"} 
[2026-08-28 17:02:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:02: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-28 17:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-28 17:02:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:02:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:02:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":166222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":166222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":166222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:02:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706655744001,"66":12515,"217":206,"85":15104,"24":0,"16":125231556905140224,"45":8886235408753459200},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 17:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706655744001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:02:08] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 17:02:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231556905140224,"km_value":125231556905140.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753459200,"description":"Unknown IO ID 45"} 
[2026-08-28 17:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706655744001,"power":12515,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753459200}} 
[2026-08-28 17:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":166222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708900,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:02:08] local.INFO: GPS data processed {"connection_id":166222,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:02:08] local.INFO: Acknowledgment sent {"connection_id":166222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:02:11] local.INFO: TCP Data received {"connection_id":166223,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048235818012d34c14006aa4840000c00e628..."} 
[2026-08-28 17:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048235818012d34c14006aa4840000c00e628..."} 
[2026-08-28 17:02:11] local.INFO: Processing buffer {"connection_id":166223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048235818012d34c14006aa4840000c00e628..."} 
[2026-08-28 17:02:11] local.INFO: Packet analysis {"connection_id":166223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04823"} 
[2026-08-28 17:02:11] local.INFO: Extracted packet for processing {"connection_id":166223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04823"} 
[2026-08-28 17:02:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706590720001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:02:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:02:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787916671000,"timestamp_ms":1787916671000,"timestamp_seconds":1787916671,"priority":1,"record_length":96,"hex_timestamp":"000001a048235818"} 
[2026-08-28 17:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:02: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-28 17:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 17:02:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:02:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":166223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":166223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":166223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:02:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706590720001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706590720001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:02:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:02:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:02: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-28 17:02:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706590720001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":166223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:02:11] local.INFO: GPS data processed {"connection_id":166223,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:02:11] local.INFO: Acknowledgment sent {"connection_id":166223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:02:20] local.INFO: TCP Data received {"connection_id":163587,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a04821a680012d1826000721b978004e00d727..."} 
[2026-08-28 17:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04821a680012d1826000721b978004e00d727..."} 
[2026-08-28 17:02:20] local.INFO: Processing buffer {"connection_id":163587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04821a680012d1826000721b978004e00d727..."} 
[2026-08-28 17:02:20] local.INFO: Packet analysis {"connection_id":163587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04821"} 
[2026-08-28 17:02:20] local.INFO: Extracted packet for processing {"connection_id":163587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04821"} 
[2026-08-28 17:02:20] local.INFO: GPS Element Parsed {"raw_longitude":756557312,"raw_latitude":119650680,"longitude_deg":75.6557312,"latitude_deg":11.965068,"altitude":78,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2d182600","hex_latitude":"0721b978","is_valid_coordinates":true} 
[2026-08-28 17:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:02:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706633984001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:02:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15957744829857792,"note":"Value kept but may cause issues"} 
[2026-08-28 17:02:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740078336655849472,"note":"Value kept but may cause issues"} 
[2026-08-28 17:02:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:02:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787916560000,"timestamp_ms":1787916560000,"timestamp_seconds":1787916560,"priority":1,"record_length":96,"hex_timestamp":"000001a04821a680"} 
[2026-08-28 17:02:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:02:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-28 17:02:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:02:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:02:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:02:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:02:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:02:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:02:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:02:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:02:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:02:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:02:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706633984001,"66":12678,"105":206,"83":41984,"24":0,"16":15957744829857792,"45":1740078336655849472},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 17:02:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:02:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:02:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706633984001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:02:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 17:02:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:02:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15957744829857792,"km_value":15957744829857.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:02:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740078336655849472,"description":"Unknown IO ID 45"} 
[2026-08-28 17:02:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706633984001,"power":12678,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740078336655849472}} 
[2026-08-28 17:02:20] 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":708902,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:02:20] local.INFO: GPS data processed {"connection_id":163587,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:02:20] local.INFO: Acknowledgment sent {"connection_id":163587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:02:25] local.INFO: TCP Data received {"connection_id":163588,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163588,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:02:25] local.INFO: Processing buffer {"connection_id":163588,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:02:25] local.INFO: IMEI packet received {"connection_id":163588,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 17:02:25] local.INFO: IMEI acknowledgment sent {"connection_id":163588,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:02:30] local.INFO: TCP Data received {"connection_id":164859,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:02:30] local.INFO: Processing buffer {"connection_id":164859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:02:30] local.INFO: IMEI packet received {"connection_id":164859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 17:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":164859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:02:30] local.INFO: TCP Data received {"connection_id":163588,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163588,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:02:30] local.INFO: Processing buffer {"connection_id":163588,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:02:30] local.INFO: IMEI packet received {"connection_id":163588,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 17:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":163588,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:02:31] local.INFO: TCP Data received {"connection_id":163588,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a048234490012d7b51c005e140100000010519..."} 
[2026-08-28 17:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048234490012d7b51c005e140100000010519..."} 
[2026-08-28 17:02:31] local.INFO: Processing buffer {"connection_id":163588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048234490012d7b51c005e140100000010519..."} 
[2026-08-28 17:02:31] local.INFO: Packet analysis {"connection_id":163588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04823"} 
[2026-08-28 17:02:31] local.INFO: Extracted packet for processing {"connection_id":163588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04823"} 
[2026-08-28 17:02:31] local.INFO: GPS Element Parsed {"raw_longitude":763056576,"raw_latitude":98648080,"longitude_deg":76.3056576,"latitude_deg":9.864808,"altitude":0,"angle":261,"satellites":25,"speed":0,"hex_longitude":"2d7b51c0","hex_latitude":"05e14010","is_valid_coordinates":true} 
[2026-08-28 17:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706661120001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231574085009408,"note":"Value kept but may cause issues"} 
[2026-08-28 17:02:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886305777497643008,"note":"Value kept but may cause issues"} 
[2026-08-28 17:02:31] 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-28 17:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787916666000,"timestamp_ms":1787916666000,"timestamp_seconds":1787916666,"priority":1,"record_length":96,"hex_timestamp":"000001a048234490"} 
[2026-08-28 17:02:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:02:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-08-28 17:02:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:02:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:02:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":163588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":163588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":163588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:02:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706661120001,"66":12504,"217":206,"85":15104,"24":0,"16":125231574085009408,"45":8886305777497643008},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 17:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706661120001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:02:31] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 17:02:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:02:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231574085009408,"km_value":125231574085009.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:02:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886305777497643008,"description":"Unknown IO ID 45"} 
[2026-08-28 17:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706661120001,"power":12504,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886305777497643008}} 
[2026-08-28 17:02:31] 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":708903,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:02:31] local.INFO: GPS data processed {"connection_id":163588,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:02:31] local.INFO: Acknowledgment sent {"connection_id":163588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:02:34] local.INFO: TCP Data received {"connection_id":163856,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0482148c0012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482148c0012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:02:34] local.INFO: Processing buffer {"connection_id":163856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482148c0012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:02:34] local.INFO: Packet analysis {"connection_id":163856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04821"} 
[2026-08-28 17:02:34] local.INFO: Extracted packet for processing {"connection_id":163856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04821"} 
[2026-08-28 17:02:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706556160001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:02:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:02:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787916536000,"timestamp_ms":1787916536000,"timestamp_seconds":1787916536,"priority":1,"record_length":96,"hex_timestamp":"000001a0482148c0"} 
[2026-08-28 17:02:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:02:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 17:02:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:02:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:02:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163856,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163856,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:02:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706556160001,"66":25419,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706556160001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:02:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:02:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:02:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706556160001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":163856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708904,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:02:35] local.INFO: GPS data processed {"connection_id":163856,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:02:35] local.INFO: Acknowledgment sent {"connection_id":163856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:02:35] local.INFO: TCP Data received {"connection_id":164859,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:02:35] local.INFO: Processing buffer {"connection_id":164859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:02:35] local.INFO: IMEI packet received {"connection_id":164859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 17:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":164859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:02:38] local.INFO: TCP Data received {"connection_id":164859,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048235818012d34c14006aa4840000c00e628..."} 
[2026-08-28 17:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048235818012d34c14006aa4840000c00e628..."} 
[2026-08-28 17:02:38] local.INFO: Processing buffer {"connection_id":164859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048235818012d34c14006aa4840000c00e628..."} 
[2026-08-28 17:02:38] local.INFO: Packet analysis {"connection_id":164859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04823"} 
[2026-08-28 17:02:38] local.INFO: Extracted packet for processing {"connection_id":164859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04823"} 
[2026-08-28 17:02:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706590720001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:02:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787916671000,"timestamp_ms":1787916671000,"timestamp_seconds":1787916671,"priority":1,"record_length":96,"hex_timestamp":"000001a048235818"} 
[2026-08-28 17:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:02: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-28 17:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 17:02: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-28 17:02:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:02:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706590720001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706590720001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:02:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:02:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:02: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-28 17:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706590720001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:02:38] 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":708905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:02:38] local.INFO: GPS data processed {"connection_id":164859,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:02:38] local.INFO: Acknowledgment sent {"connection_id":164859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:02:43] local.INFO: TCP Data received {"connection_id":163589,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163589,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:02:43] local.INFO: Processing buffer {"connection_id":163589,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:02:43] local.INFO: IMEI packet received {"connection_id":163589,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 17:02:43] local.INFO: IMEI acknowledgment sent {"connection_id":163589,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:02:46] local.INFO: TCP Data received {"connection_id":163589,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163589,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:02:46] local.INFO: Processing buffer {"connection_id":163589,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:02:46] local.INFO: IMEI packet received {"connection_id":163589,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":163589,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:02:48] local.INFO: TCP Data received {"connection_id":163589,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163589,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:02:48] local.INFO: Processing buffer {"connection_id":163589,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:02:48] local.INFO: IMEI packet received {"connection_id":163589,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:02:48] local.INFO: IMEI acknowledgment sent {"connection_id":163589,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:02:48] local.INFO: TCP Data received {"connection_id":163589,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a04821f888012d1826000721b978004e00d728..."} 
[2026-08-28 17:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04821f888012d1826000721b978004e00d728..."} 
[2026-08-28 17:02:48] local.INFO: Processing buffer {"connection_id":163589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04821f888012d1826000721b978004e00d728..."} 
[2026-08-28 17:02:48] local.INFO: Packet analysis {"connection_id":163589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04821"} 
[2026-08-28 17:02:48] local.INFO: Extracted packet for processing {"connection_id":163589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04821"} 
[2026-08-28 17:02:48] local.INFO: GPS Element Parsed {"raw_longitude":756557312,"raw_latitude":119650680,"longitude_deg":75.6557312,"latitude_deg":11.965068,"altitude":78,"angle":215,"satellites":40,"speed":0,"hex_longitude":"2d182600","hex_latitude":"0721b978","is_valid_coordinates":true} 
[2026-08-28 17: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-28 17:02:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706639360001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:02:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15957744829857792,"note":"Value kept but may cause issues"} 
[2026-08-28 17:02:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740078336655849472,"note":"Value kept but may cause issues"} 
[2026-08-28 17:02:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:02:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787916581000,"timestamp_ms":1787916581000,"timestamp_seconds":1787916581,"priority":1,"record_length":96,"hex_timestamp":"000001a04821f888"} 
[2026-08-28 17: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-28 17:02:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-28 17:02:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17: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-28 17: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-28 17:02:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:02:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:02:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:02:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:02:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:02:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:02:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:02:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706639360001,"66":12461,"105":206,"83":41984,"24":0,"16":15957744829857792,"45":1740078336655849472},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 17:02:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:02:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:02:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706639360001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:02:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 17:02:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:02:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15957744829857792,"km_value":15957744829857.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:02:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740078336655849472,"description":"Unknown IO ID 45"} 
[2026-08-28 17:02:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706639360001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740078336655849472}} 
[2026-08-28 17:02:49] 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":708906,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:02:49] local.INFO: GPS data processed {"connection_id":163589,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:02:49] local.INFO: Acknowledgment sent {"connection_id":163589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:02:56] local.INFO: TCP Data received {"connection_id":163857,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163857,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:02:56] local.INFO: Processing buffer {"connection_id":163857,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:02:56] local.INFO: IMEI packet received {"connection_id":163857,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 17:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":163857,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:03:01] local.INFO: TCP Data received {"connection_id":163857,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163857,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:03:01] local.INFO: Processing buffer {"connection_id":163857,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:03:01] local.INFO: IMEI packet received {"connection_id":163857,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 17:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":163857,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:03:02] local.INFO: TCP Data received {"connection_id":163588,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a048239698012d7b51c005e13ff80000010519..."} 
[2026-08-28 17:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048239698012d7b51c005e13ff80000010519..."} 
[2026-08-28 17:03:02] local.INFO: Processing buffer {"connection_id":163588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048239698012d7b51c005e13ff80000010519..."} 
[2026-08-28 17:03:02] local.INFO: Packet analysis {"connection_id":163588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04823"} 
[2026-08-28 17:03:02] local.INFO: Extracted packet for processing {"connection_id":163588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04823"} 
[2026-08-28 17:03:02] local.INFO: GPS Element Parsed {"raw_longitude":763056576,"raw_latitude":98648056,"longitude_deg":76.3056576,"latitude_deg":9.8648056,"altitude":0,"angle":261,"satellites":25,"speed":0,"hex_longitude":"2d7b51c0","hex_latitude":"05e13ff8","is_valid_coordinates":true} 
[2026-08-28 17:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:03:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706666496001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:03:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231582674944000,"note":"Value kept but may cause issues"} 
[2026-08-28 17:03:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886094671265140736,"note":"Value kept but may cause issues"} 
[2026-08-28 17:03:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:03:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787916687000,"timestamp_ms":1787916687000,"timestamp_seconds":1787916687,"priority":1,"record_length":96,"hex_timestamp":"000001a048239698"} 
[2026-08-28 17:03:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:03:02] 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-28 17:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-28 17:03:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:03:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:03:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:03:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:03:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:03:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:03:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:03:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:03:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:03:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:03:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706666496001,"66":12461,"217":206,"85":15104,"24":0,"16":125231582674944000,"45":8886094671265140736},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 17:03:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:03:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:03:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706666496001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:03:02] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 17:03:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:03:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231582674944000,"km_value":125231582674944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:03:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886094671265140736,"description":"Unknown IO ID 45"} 
[2026-08-28 17:03:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706666496001,"power":12461,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886094671265140736}} 
[2026-08-28 17:03:02] 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":708907,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:03:02] local.INFO: GPS data processed {"connection_id":163588,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:03:02] local.INFO: Acknowledgment sent {"connection_id":163588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:03:03] local.INFO: TCP Data received {"connection_id":163857,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0482148c0012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482148c0012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:03:03] local.INFO: Processing buffer {"connection_id":163857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482148c0012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:03:03] local.INFO: Packet analysis {"connection_id":163857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04821"} 
[2026-08-28 17:03:03] local.INFO: Extracted packet for processing {"connection_id":163857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04821"} 
[2026-08-28 17:03:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706556160001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787916536000,"timestamp_ms":1787916536000,"timestamp_seconds":1787916536,"priority":1,"record_length":96,"hex_timestamp":"000001a0482148c0"} 
[2026-08-28 17:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:03:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 17:03:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:03:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163857,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163857,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706556160001,"66":25419,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706556160001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:03:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:03:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706556160001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":163857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708908,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:03:03] local.INFO: GPS data processed {"connection_id":163857,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:03:03] local.INFO: Acknowledgment sent {"connection_id":163857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:03:09] local.INFO: TCP Data received {"connection_id":164859,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048235818012d34c14006aa4840000c00e628..."} 
[2026-08-28 17:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048235818012d34c14006aa4840000c00e628..."} 
[2026-08-28 17:03:09] local.INFO: Processing buffer {"connection_id":164859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048235818012d34c14006aa4840000c00e628..."} 
[2026-08-28 17:03:09] local.INFO: Packet analysis {"connection_id":164859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04823"} 
[2026-08-28 17:03:09] local.INFO: Extracted packet for processing {"connection_id":164859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04823"} 
[2026-08-28 17:03:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706590720001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:03:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:03:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787916671000,"timestamp_ms":1787916671000,"timestamp_seconds":1787916671,"priority":1,"record_length":96,"hex_timestamp":"000001a048235818"} 
[2026-08-28 17:03:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:03: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-28 17:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 17:03:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:03:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:03:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:03:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706590720001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706590720001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:03:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:03:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:03: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-28 17:03:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706590720001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:03:09] 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":708909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:03:09] local.INFO: GPS data processed {"connection_id":164859,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:03:09] local.INFO: Acknowledgment sent {"connection_id":164859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:03:25] local.INFO: TCP Data received {"connection_id":164860,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164860,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:03:25] local.INFO: Processing buffer {"connection_id":164860,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:03:25] local.INFO: IMEI packet received {"connection_id":164860,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 17:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":164860,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:03:28] local.INFO: TCP Data received {"connection_id":163589,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048224a90012d1826000721b978004e00d728..."} 
[2026-08-28 17:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048224a90012d1826000721b978004e00d728..."} 
[2026-08-28 17:03:28] local.INFO: Processing buffer {"connection_id":163589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048224a90012d1826000721b978004e00d728..."} 
[2026-08-28 17:03:28] local.INFO: Packet analysis {"connection_id":163589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04822"} 
[2026-08-28 17:03:28] local.INFO: Extracted packet for processing {"connection_id":163589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04822"} 
[2026-08-28 17:03:28] local.INFO: GPS Element Parsed {"raw_longitude":756557312,"raw_latitude":119650680,"longitude_deg":75.6557312,"latitude_deg":11.965068,"altitude":78,"angle":215,"satellites":40,"speed":0,"hex_longitude":"2d182600","hex_latitude":"0721b978","is_valid_coordinates":true} 
[2026-08-28 17:03:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:03:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706644736001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:03:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15957744829857792,"note":"Value kept but may cause issues"} 
[2026-08-28 17:03:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740078336655849472,"note":"Value kept but may cause issues"} 
[2026-08-28 17:03:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:03:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787916602000,"timestamp_ms":1787916602000,"timestamp_seconds":1787916602,"priority":1,"record_length":96,"hex_timestamp":"000001a048224a90"} 
[2026-08-28 17:03:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:03:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:03:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 17:03:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:03:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:03:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:03:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:03:28] local.INFO: Teltonika packet parsed successfully {"connection_id":163589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:03:28] local.INFO: Passing IMEI to GPS processor {"connection_id":163589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:03:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":163589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:03:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:03:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:03:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:03:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706644736001,"66":12548,"105":206,"83":41984,"24":0,"16":15957744829857792,"45":1740078336655849472},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 17:03:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:03:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:03:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706644736001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:03:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 17:03:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:03:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15957744829857792,"km_value":15957744829857.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:03:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740078336655849472,"description":"Unknown IO ID 45"} 
[2026-08-28 17:03:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706644736001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740078336655849472}} 
[2026-08-28 17:03:28] 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":708910,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:03:28] local.INFO: GPS data processed {"connection_id":163589,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:03:28] local.INFO: Acknowledgment sent {"connection_id":163589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:03:30] local.INFO: TCP Data received {"connection_id":164860,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164860,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:03:30] local.INFO: Processing buffer {"connection_id":164860,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:03:30] local.INFO: IMEI packet received {"connection_id":164860,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 17:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":164860,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:03:31] local.INFO: TCP Data received {"connection_id":164860,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a04823e8a0012d7b51c005e14018000001051a..."} 
[2026-08-28 17:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04823e8a0012d7b51c005e14018000001051a..."} 
[2026-08-28 17:03:31] local.INFO: Processing buffer {"connection_id":164860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04823e8a0012d7b51c005e14018000001051a..."} 
[2026-08-28 17:03:31] local.INFO: Packet analysis {"connection_id":164860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04823"} 
[2026-08-28 17:03:31] local.INFO: Extracted packet for processing {"connection_id":164860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04823"} 
[2026-08-28 17:03:31] local.INFO: GPS Element Parsed {"raw_longitude":763056576,"raw_latitude":98648088,"longitude_deg":76.3056576,"latitude_deg":9.8648088,"altitude":0,"angle":261,"satellites":26,"speed":0,"hex_longitude":"2d7b51c0","hex_latitude":"05e14018","is_valid_coordinates":true} 
[2026-08-28 17:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706671872001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231586969911296,"note":"Value kept but may cause issues"} 
[2026-08-28 17:03:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886094671265134592,"note":"Value kept but may cause issues"} 
[2026-08-28 17:03:31] 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-28 17:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787916708000,"timestamp_ms":1787916708000,"timestamp_seconds":1787916708,"priority":1,"record_length":96,"hex_timestamp":"000001a04823e8a0"} 
[2026-08-28 17:03:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:03:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 17:03:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:03:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:03:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":164860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":164860,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":164860,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:03:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706671872001,"66":12504,"217":206,"85":15104,"24":0,"16":125231586969911296,"45":8886094671265134592},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 17:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706671872001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:03:31] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 17:03:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:03:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231586969911296,"km_value":125231586969911.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:03:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886094671265134592,"description":"Unknown IO ID 45"} 
[2026-08-28 17:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706671872001,"power":12504,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886094671265134592}} 
[2026-08-28 17:03:31] 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":708911,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:03:31] local.INFO: GPS data processed {"connection_id":164860,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:03:31] local.INFO: Acknowledgment sent {"connection_id":164860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:03:35] local.INFO: TCP Data received {"connection_id":163857,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0482148c0012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482148c0012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:03:35] local.INFO: Processing buffer {"connection_id":163857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482148c0012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:03:35] local.INFO: Packet analysis {"connection_id":163857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04821"} 
[2026-08-28 17:03:35] local.INFO: Extracted packet for processing {"connection_id":163857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04821"} 
[2026-08-28 17:03:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706556160001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:03:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787916536000,"timestamp_ms":1787916536000,"timestamp_seconds":1787916536,"priority":1,"record_length":96,"hex_timestamp":"000001a0482148c0"} 
[2026-08-28 17:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:03:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 17:03:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:03:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163857,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163857,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706556160001,"66":25419,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706556160001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:03:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:03:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:03:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706556160001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":163857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708912,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:03:35] local.INFO: GPS data processed {"connection_id":163857,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:03:35] local.INFO: Acknowledgment sent {"connection_id":163857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:03:35] local.INFO: TCP Data received {"connection_id":166224,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:03:35] local.INFO: Processing buffer {"connection_id":166224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:03:35] local.INFO: IMEI packet received {"connection_id":166224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 17:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":166224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:03:40] local.INFO: TCP Data received {"connection_id":166224,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:03:40] local.INFO: Processing buffer {"connection_id":166224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:03:40] local.INFO: IMEI packet received {"connection_id":166224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 17:03:40] local.INFO: IMEI acknowledgment sent {"connection_id":166224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:03:42] local.INFO: TCP Data received {"connection_id":166224,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048235818012d34c14006aa4840000c00e628..."} 
[2026-08-28 17:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048235818012d34c14006aa4840000c00e628..."} 
[2026-08-28 17:03:42] local.INFO: Processing buffer {"connection_id":166224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048235818012d34c14006aa4840000c00e628..."} 
[2026-08-28 17:03:42] local.INFO: Packet analysis {"connection_id":166224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04823"} 
[2026-08-28 17:03:42] local.INFO: Extracted packet for processing {"connection_id":166224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04823"} 
[2026-08-28 17:03:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706590720001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:03:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:03:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787916671000,"timestamp_ms":1787916671000,"timestamp_seconds":1787916671,"priority":1,"record_length":96,"hex_timestamp":"000001a048235818"} 
[2026-08-28 17:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:03:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 17:03: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-28 17:03:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":166224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":166224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":166224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:03:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706590720001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706590720001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:03:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:03:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17: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-28 17:03:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706590720001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":166224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:03:42] local.INFO: GPS data processed {"connection_id":166224,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:03:42] local.INFO: Acknowledgment sent {"connection_id":166224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:03:46] local.INFO: TCP Data received {"connection_id":166224,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048235818012d34c14006aa4840000c00e628..."} 
[2026-08-28 17:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048235818012d34c14006aa4840000c00e628..."} 
[2026-08-28 17:03:46] local.INFO: Processing buffer {"connection_id":166224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048235818012d34c14006aa4840000c00e628..."} 
[2026-08-28 17:03:46] local.INFO: Packet analysis {"connection_id":166224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04823"} 
[2026-08-28 17:03:46] local.INFO: Extracted packet for processing {"connection_id":166224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04823"} 
[2026-08-28 17:03:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706590720001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:03:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:03:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787916671000,"timestamp_ms":1787916671000,"timestamp_seconds":1787916671,"priority":1,"record_length":96,"hex_timestamp":"000001a048235818"} 
[2026-08-28 17:03:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:03: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-28 17:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 17:03:46] 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-28 17:03:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:03:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":166224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":166224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":166224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:03:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706590720001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706590720001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:03:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:03:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:03: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-28 17:03:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706590720001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":166224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:03:46] local.INFO: GPS data processed {"connection_id":166224,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:03:46] local.INFO: Acknowledgment sent {"connection_id":166224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:03:48] local.INFO: TCP Data received {"connection_id":163858,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:03:48] local.INFO: Processing buffer {"connection_id":163858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:03:48] local.INFO: IMEI packet received {"connection_id":163858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 17:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":163858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:03:49] local.INFO: TCP Data received {"connection_id":163858,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:03:49] local.INFO: Processing buffer {"connection_id":163858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:03:49] local.INFO: IMEI packet received {"connection_id":163858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":163858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:03:49] local.INFO: TCP Data received {"connection_id":163858,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048229c98012d1826000721b978004e00d728..."} 
[2026-08-28 17:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048229c98012d1826000721b978004e00d728..."} 
[2026-08-28 17:03:49] local.INFO: Processing buffer {"connection_id":163858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048229c98012d1826000721b978004e00d728..."} 
[2026-08-28 17:03:49] local.INFO: Packet analysis {"connection_id":163858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04822"} 
[2026-08-28 17:03:49] local.INFO: Extracted packet for processing {"connection_id":163858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04822"} 
[2026-08-28 17:03:49] local.INFO: GPS Element Parsed {"raw_longitude":756557312,"raw_latitude":119650680,"longitude_deg":75.6557312,"latitude_deg":11.965068,"altitude":78,"angle":215,"satellites":40,"speed":0,"hex_longitude":"2d182600","hex_latitude":"0721b978","is_valid_coordinates":true} 
[2026-08-28 17:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:03:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706650112001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:03:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15957744829857792,"note":"Value kept but may cause issues"} 
[2026-08-28 17:03:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740078336655849472,"note":"Value kept but may cause issues"} 
[2026-08-28 17:03:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:03:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787916623000,"timestamp_ms":1787916623000,"timestamp_seconds":1787916623,"priority":1,"record_length":96,"hex_timestamp":"000001a048229c98"} 
[2026-08-28 17:03:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:03:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-28 17:03:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-28 17:03:49] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-28 17:03:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-28 17:03:49] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184174944461,"note":"Value kept but may cause issues"} 
[2026-08-28 17:03:49] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3111649358,"note":"Value kept but may cause issues"} 
[2026-08-28 17:03:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-28 17:03:49] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2432748906,"note":"Value kept but may cause issues"} 
[2026-08-28 17:03:49] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2977693696,"note":"Value kept but may cause issues"} 
[2026-08-28 17:03:49] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-28 17:03:49] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,177,160,248,45,185,78,40,10,66,166,39,84,1,240,145,227,72,33,4,113,205,176,38,120,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-28 17:03:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620728901757042688,"timestamp_seconds":5620728901757043.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 17:03:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:03:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:03:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:03:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:03:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:03:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:03:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:03:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:03:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706650112001,"66":12526,"105":206,"83":41984,"24":0,"16":15957744829857792,"45":1740078336655849472},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 17:03:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:03:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:03:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706650112001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:03:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 17:03:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:03:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15957744829857792,"km_value":15957744829857.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:03:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740078336655849472,"description":"Unknown IO ID 45"} 
[2026-08-28 17:03:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706650112001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740078336655849472}} 
[2026-08-28 17:03:49] local.INFO: DEBUG: GPS processor result {"connection_id":163858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708915,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:03:49] local.INFO: GPS data processed {"connection_id":163858,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:03:49] local.INFO: Acknowledgment sent {"connection_id":163858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:03:53] local.INFO: TCP Data received {"connection_id":163858,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a04822eea0012d1826000721b978004e00d727..."} 
[2026-08-28 17:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04822eea0012d1826000721b978004e00d727..."} 
[2026-08-28 17:03:53] local.INFO: Processing buffer {"connection_id":163858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04822eea0012d1826000721b978004e00d727..."} 
[2026-08-28 17:03:53] local.INFO: Packet analysis {"connection_id":163858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04822"} 
[2026-08-28 17:03:53] local.INFO: Extracted packet for processing {"connection_id":163858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04822"} 
[2026-08-28 17:03:53] local.INFO: GPS Element Parsed {"raw_longitude":756557312,"raw_latitude":119650680,"longitude_deg":75.6557312,"latitude_deg":11.965068,"altitude":78,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2d182600","hex_latitude":"0721b978","is_valid_coordinates":true} 
[2026-08-28 17:03:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:03:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706655488001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:03:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15957744829857792,"note":"Value kept but may cause issues"} 
[2026-08-28 17:03:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740078336655849472,"note":"Value kept but may cause issues"} 
[2026-08-28 17:03: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-28 17:03:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787916644000,"timestamp_ms":1787916644000,"timestamp_seconds":1787916644,"priority":1,"record_length":96,"hex_timestamp":"000001a04822eea0"} 
[2026-08-28 17:03:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:03:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:03:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-28 17:03:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:03:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:03:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:03:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:03:53] local.INFO: Teltonika packet parsed successfully {"connection_id":163858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:03:53] local.INFO: Passing IMEI to GPS processor {"connection_id":163858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:03:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":163858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:03:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:03:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:03:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:03:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706655488001,"66":12461,"105":206,"83":41984,"24":0,"16":15957744829857792,"45":1740078336655849472},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 17:03:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:03:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:03:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706655488001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:03:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 17:03:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:03:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15957744829857792,"km_value":15957744829857.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:03:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740078336655849472,"description":"Unknown IO ID 45"} 
[2026-08-28 17:03:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706655488001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740078336655849472}} 
[2026-08-28 17:03:53] local.INFO: DEBUG: GPS processor result {"connection_id":163858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708916,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:03:53] local.INFO: GPS data processed {"connection_id":163858,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:03:53] local.INFO: Acknowledgment sent {"connection_id":163858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:03:56] local.INFO: TCP Data received {"connection_id":164861,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164861,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:03:56] local.INFO: Processing buffer {"connection_id":164861,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:03:56] local.INFO: IMEI packet received {"connection_id":164861,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 17:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":164861,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:04:01] local.INFO: TCP Data received {"connection_id":164861,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164861,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:04:01] local.INFO: Processing buffer {"connection_id":164861,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:04:01] local.INFO: IMEI packet received {"connection_id":164861,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 17:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":164861,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:04:02] local.INFO: TCP Data received {"connection_id":164860,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a048243aa8012d7b51c005e13fe0000001051a..."} 
[2026-08-28 17:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048243aa8012d7b51c005e13fe0000001051a..."} 
[2026-08-28 17:04:02] local.INFO: Processing buffer {"connection_id":164860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048243aa8012d7b51c005e13fe0000001051a..."} 
[2026-08-28 17:04:02] local.INFO: Packet analysis {"connection_id":164860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04824"} 
[2026-08-28 17:04:02] local.INFO: Extracted packet for processing {"connection_id":164860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04824"} 
[2026-08-28 17:04:02] local.INFO: GPS Element Parsed {"raw_longitude":763056576,"raw_latitude":98648032,"longitude_deg":76.3056576,"latitude_deg":9.8648032,"altitude":0,"angle":261,"satellites":26,"speed":0,"hex_longitude":"2d7b51c0","hex_latitude":"05e13fe0","is_valid_coordinates":true} 
[2026-08-28 17:04:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:04:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706677248001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:04:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231591264878592,"note":"Value kept but may cause issues"} 
[2026-08-28 17:04:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886094671265142784,"note":"Value kept but may cause issues"} 
[2026-08-28 17:04:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:04:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787916729000,"timestamp_ms":1787916729000,"timestamp_seconds":1787916729,"priority":1,"record_length":96,"hex_timestamp":"000001a048243aa8"} 
[2026-08-28 17:04:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:04:02] 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-28 17:04:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-28 17:04:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:04:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:04:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:04:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:04:02] local.INFO: Teltonika packet parsed successfully {"connection_id":164860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:04:02] local.INFO: Passing IMEI to GPS processor {"connection_id":164860,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:04:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":164860,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:04:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:04:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:04:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:04:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706677248001,"66":12461,"217":206,"85":15104,"24":0,"16":125231591264878592,"45":8886094671265142784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 17:04:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:04:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:04:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706677248001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:04:02] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 17:04:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:04:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231591264878592,"km_value":125231591264878.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:04:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886094671265142784,"description":"Unknown IO ID 45"} 
[2026-08-28 17:04:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706677248001,"power":12461,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886094671265142784}} 
[2026-08-28 17:04:02] 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":708917,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:04:02] local.INFO: GPS data processed {"connection_id":164860,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:04:02] local.INFO: Acknowledgment sent {"connection_id":164860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:04:02] local.INFO: TCP Data received {"connection_id":164861,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0482148c0012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482148c0012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:04:02] local.INFO: Processing buffer {"connection_id":164861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482148c0012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:04:02] local.INFO: Packet analysis {"connection_id":164861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04821"} 
[2026-08-28 17:04:02] local.INFO: Extracted packet for processing {"connection_id":164861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04821"} 
[2026-08-28 17:04:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:04:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:04:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706556160001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:04:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:04:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:04:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:04:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787916536000,"timestamp_ms":1787916536000,"timestamp_seconds":1787916536,"priority":1,"record_length":96,"hex_timestamp":"000001a0482148c0"} 
[2026-08-28 17:04:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:04:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:04:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 17:04:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:04:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:04:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:04:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:04:02] local.INFO: Teltonika packet parsed successfully {"connection_id":164861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:04:02] local.INFO: Passing IMEI to GPS processor {"connection_id":164861,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:04:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":164861,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:04:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:04:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:04:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:04:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706556160001,"66":25419,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:04:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:04:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:04:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706556160001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:04:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:04:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:04:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:04:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:04:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706556160001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":164861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708918,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:04:03] local.INFO: GPS data processed {"connection_id":164861,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:04:03] local.INFO: Acknowledgment sent {"connection_id":164861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:04:24] local.INFO: TCP Data received {"connection_id":163858,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0482340a8012d1826000721b978004e00d727..."} 
[2026-08-28 17:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482340a8012d1826000721b978004e00d727..."} 
[2026-08-28 17:04:24] local.INFO: Processing buffer {"connection_id":163858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482340a8012d1826000721b978004e00d727..."} 
[2026-08-28 17:04:24] local.INFO: Packet analysis {"connection_id":163858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04823"} 
[2026-08-28 17:04:24] local.INFO: Extracted packet for processing {"connection_id":163858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04823"} 
[2026-08-28 17:04:24] local.INFO: GPS Element Parsed {"raw_longitude":756557312,"raw_latitude":119650680,"longitude_deg":75.6557312,"latitude_deg":11.965068,"altitude":78,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2d182600","hex_latitude":"0721b978","is_valid_coordinates":true} 
[2026-08-28 17:04:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:04:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706660864001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:04:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15957744829857792,"note":"Value kept but may cause issues"} 
[2026-08-28 17:04:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740078336655849472,"note":"Value kept but may cause issues"} 
[2026-08-28 17:04:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:04:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787916665000,"timestamp_ms":1787916665000,"timestamp_seconds":1787916665,"priority":1,"record_length":96,"hex_timestamp":"000001a0482340a8"} 
[2026-08-28 17:04:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:04:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:04:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 17:04:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:04:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:04:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:04:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:04:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:04:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:04:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:04:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:04:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:04:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:04:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706660864001,"66":13243,"105":206,"83":41984,"24":0,"16":15957744829857792,"45":1740078336655849472},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 17:04:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:04:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:04:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706660864001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:04:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 17:04:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:04:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15957744829857792,"km_value":15957744829857.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:04:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740078336655849472,"description":"Unknown IO ID 45"} 
[2026-08-28 17:04:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706660864001,"power":13243,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740078336655849472}} 
[2026-08-28 17:04:24] local.INFO: DEBUG: GPS processor result {"connection_id":163858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708919,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:04:24] local.INFO: GPS data processed {"connection_id":163858,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:04:24] local.INFO: Acknowledgment sent {"connection_id":163858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:04:27] local.INFO: TCP Data received {"connection_id":166225,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166225,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:04:27] local.INFO: Processing buffer {"connection_id":166225,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:04:27] local.INFO: IMEI packet received {"connection_id":166225,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 17:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":166225,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:04:30] local.INFO: TCP Data received {"connection_id":166225,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166225,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:04:30] local.INFO: Processing buffer {"connection_id":166225,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:04:30] local.INFO: IMEI packet received {"connection_id":166225,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 17:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":166225,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:04:30] local.INFO: TCP Data received {"connection_id":163590,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:04:30] local.INFO: Processing buffer {"connection_id":163590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:04:30] local.INFO: IMEI packet received {"connection_id":163590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 17:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":163590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:04:31] local.INFO: TCP Data received {"connection_id":166225,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a048248cb0012d7b520005e13fd0000001051b..."} 
[2026-08-28 17:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048248cb0012d7b520005e13fd0000001051b..."} 
[2026-08-28 17:04:31] local.INFO: Processing buffer {"connection_id":166225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048248cb0012d7b520005e13fd0000001051b..."} 
[2026-08-28 17:04:31] local.INFO: Packet analysis {"connection_id":166225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04824"} 
[2026-08-28 17:04:31] local.INFO: Extracted packet for processing {"connection_id":166225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04824"} 
[2026-08-28 17:04:31] local.INFO: GPS Element Parsed {"raw_longitude":763056640,"raw_latitude":98648016,"longitude_deg":76.305664,"latitude_deg":9.8648016,"altitude":0,"angle":261,"satellites":27,"speed":0,"hex_longitude":"2d7b5200","hex_latitude":"05e13fd0","is_valid_coordinates":true} 
[2026-08-28 17:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706682624001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231595559845888,"note":"Value kept but may cause issues"} 
[2026-08-28 17:04:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886094671265128448,"note":"Value kept but may cause issues"} 
[2026-08-28 17:04:31] 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-28 17:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787916750000,"timestamp_ms":1787916750000,"timestamp_seconds":1787916750,"priority":1,"record_length":96,"hex_timestamp":"000001a048248cb0"} 
[2026-08-28 17:04:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:04:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 17:04:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:04:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:04:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":166225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":166225,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":166225,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:04:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706682624001,"66":12515,"217":206,"85":15104,"24":0,"16":125231595559845888,"45":8886094671265128448},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 17:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706682624001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:04:31] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 17:04:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:04:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231595559845888,"km_value":125231595559845.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:04:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886094671265128448,"description":"Unknown IO ID 45"} 
[2026-08-28 17:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706682624001,"power":12515,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886094671265128448}} 
[2026-08-28 17:04:31] local.INFO: DEBUG: GPS processor result {"connection_id":166225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708920,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:04:31] local.INFO: GPS data processed {"connection_id":166225,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:04:31] local.INFO: Acknowledgment sent {"connection_id":166225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:04:34] local.INFO: TCP Data received {"connection_id":164861,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0482148c0012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482148c0012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:04:34] local.INFO: Processing buffer {"connection_id":164861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482148c0012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:04:34] local.INFO: Packet analysis {"connection_id":164861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04821"} 
[2026-08-28 17:04:34] local.INFO: Extracted packet for processing {"connection_id":164861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04821"} 
[2026-08-28 17:04:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:04:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706556160001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:04:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:04:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:04:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:04:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787916536000,"timestamp_ms":1787916536000,"timestamp_seconds":1787916536,"priority":1,"record_length":96,"hex_timestamp":"000001a0482148c0"} 
[2026-08-28 17:04:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:04:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 17:04:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:04:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:04:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:04:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:04:34] local.INFO: Teltonika packet parsed successfully {"connection_id":164861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:04:34] local.INFO: Passing IMEI to GPS processor {"connection_id":164861,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:04:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":164861,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:04:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:04:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:04:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:04:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706556160001,"66":25419,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:04:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:04:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:04:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706556160001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:04:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:04:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:04:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:04:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:04:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706556160001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:04:34] local.INFO: DEBUG: GPS processor result {"connection_id":164861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708921,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:04:34] local.INFO: GPS data processed {"connection_id":164861,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:04:34] local.INFO: Acknowledgment sent {"connection_id":164861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:04:35] local.INFO: TCP Data received {"connection_id":163590,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:04:35] local.INFO: Processing buffer {"connection_id":163590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:04:35] local.INFO: IMEI packet received {"connection_id":163590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 17:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":163590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:04:37] local.INFO: TCP Data received {"connection_id":163590,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048235818012d34c14006aa4840000c00e628..."} 
[2026-08-28 17:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048235818012d34c14006aa4840000c00e628..."} 
[2026-08-28 17:04:37] local.INFO: Processing buffer {"connection_id":163590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048235818012d34c14006aa4840000c00e628..."} 
[2026-08-28 17:04:37] local.INFO: Packet analysis {"connection_id":163590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04823"} 
[2026-08-28 17:04:37] local.INFO: Extracted packet for processing {"connection_id":163590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04823"} 
[2026-08-28 17:04:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706590720001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787916671000,"timestamp_ms":1787916671000,"timestamp_seconds":1787916671,"priority":1,"record_length":96,"hex_timestamp":"000001a048235818"} 
[2026-08-28 17:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 17:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706590720001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706590720001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:04:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:04:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:04: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-28 17:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706590720001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:04:37] 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":708922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:04:37] local.INFO: GPS data processed {"connection_id":163590,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:04:37] local.INFO: Acknowledgment sent {"connection_id":163590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:04:43] local.INFO: TCP Data received {"connection_id":164862,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164862,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:04:43] local.INFO: Processing buffer {"connection_id":164862,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:04:43] local.INFO: IMEI packet received {"connection_id":164862,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 17:04:43] local.INFO: IMEI acknowledgment sent {"connection_id":164862,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:04:49] local.INFO: TCP Data received {"connection_id":164862,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164862,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:04:49] local.INFO: Processing buffer {"connection_id":164862,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:04:49] local.INFO: IMEI packet received {"connection_id":164862,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:04:49] local.INFO: IMEI acknowledgment sent {"connection_id":164862,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:04:54] local.INFO: TCP Data received {"connection_id":164862,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0482392b0012d1826000721b978004e00d727..."} 
[2026-08-28 17:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482392b0012d1826000721b978004e00d727..."} 
[2026-08-28 17:04:54] local.INFO: Processing buffer {"connection_id":164862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482392b0012d1826000721b978004e00d727..."} 
[2026-08-28 17:04:54] local.INFO: Packet analysis {"connection_id":164862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04823"} 
[2026-08-28 17:04:54] local.INFO: Extracted packet for processing {"connection_id":164862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04823"} 
[2026-08-28 17:04:54] local.INFO: GPS Element Parsed {"raw_longitude":756557312,"raw_latitude":119650680,"longitude_deg":75.6557312,"latitude_deg":11.965068,"altitude":78,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2d182600","hex_latitude":"0721b978","is_valid_coordinates":true} 
[2026-08-28 17: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-28 17:04:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706666240001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:04:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15957744829857792,"note":"Value kept but may cause issues"} 
[2026-08-28 17:04:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740078336655849472,"note":"Value kept but may cause issues"} 
[2026-08-28 17:04:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:04:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787916686000,"timestamp_ms":1787916686000,"timestamp_seconds":1787916686,"priority":1,"record_length":96,"hex_timestamp":"000001a0482392b0"} 
[2026-08-28 17: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-28 17:04: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-28 17: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-28 17:04:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17: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-28 17: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-28 17:04:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:04:54] local.INFO: Teltonika packet parsed successfully {"connection_id":164862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:04:54] local.INFO: Passing IMEI to GPS processor {"connection_id":164862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:04:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":164862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:04:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:04:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:04:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:04:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706666240001,"66":12819,"105":206,"83":41984,"24":0,"16":15957744829857792,"45":1740078336655849472},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 17:04:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:04:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:04:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706666240001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:04:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 17:04:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:04:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15957744829857792,"km_value":15957744829857.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:04:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740078336655849472,"description":"Unknown IO ID 45"} 
[2026-08-28 17:04:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706666240001,"power":12819,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740078336655849472}} 
[2026-08-28 17:04:54] 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":708923,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:04:54] local.INFO: GPS data processed {"connection_id":164862,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:04:54] local.INFO: Acknowledgment sent {"connection_id":164862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:05:01] local.INFO: TCP Data received {"connection_id":163859,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163859,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:05:01] local.INFO: Processing buffer {"connection_id":163859,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:05:01] local.INFO: IMEI packet received {"connection_id":163859,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 17:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":163859,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:05:04] local.INFO: TCP Data received {"connection_id":166225,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a04824deb8012d7b520005e13fe0000001051b..."} 
[2026-08-28 17:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04824deb8012d7b520005e13fe0000001051b..."} 
[2026-08-28 17:05:04] local.INFO: Processing buffer {"connection_id":166225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04824deb8012d7b520005e13fe0000001051b..."} 
[2026-08-28 17:05:04] local.INFO: Packet analysis {"connection_id":166225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04824"} 
[2026-08-28 17:05:04] local.INFO: Extracted packet for processing {"connection_id":166225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04824"} 
[2026-08-28 17:05:04] local.INFO: GPS Element Parsed {"raw_longitude":763056640,"raw_latitude":98648032,"longitude_deg":76.305664,"latitude_deg":9.8648032,"altitude":0,"angle":261,"satellites":27,"speed":0,"hex_longitude":"2d7b5200","hex_latitude":"05e13fe0","is_valid_coordinates":true} 
[2026-08-28 17:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706688000001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231599854813184,"note":"Value kept but may cause issues"} 
[2026-08-28 17:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886165040009302016,"note":"Value kept but may cause issues"} 
[2026-08-28 17:05:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787916771000,"timestamp_ms":1787916771000,"timestamp_seconds":1787916771,"priority":1,"record_length":96,"hex_timestamp":"000001a04824deb8"} 
[2026-08-28 17:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:05:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-08-28 17:05:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:05:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":166225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":166225,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":166225,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:05:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706688000001,"66":12472,"217":206,"85":15104,"24":0,"16":125231599854813184,"45":8886165040009302016},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 17:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706688000001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:05:04] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 17:05:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231599854813184,"km_value":125231599854813.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886165040009302016,"description":"Unknown IO ID 45"} 
[2026-08-28 17:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706688000001,"power":12472,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886165040009302016}} 
[2026-08-28 17:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":166225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708924,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:05:04] local.INFO: GPS data processed {"connection_id":166225,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:05:04] local.INFO: Acknowledgment sent {"connection_id":166225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:05:06] local.INFO: TCP Data received {"connection_id":163859,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163859,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:05:06] local.INFO: Processing buffer {"connection_id":163859,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:05:06] local.INFO: IMEI packet received {"connection_id":163859,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 17:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":163859,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:05:08] local.INFO: TCP Data received {"connection_id":163859,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04825e088012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04825e088012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:05:08] local.INFO: Processing buffer {"connection_id":163859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04825e088012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:05:08] local.INFO: Packet analysis {"connection_id":163859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04825"} 
[2026-08-28 17:05:08] local.INFO: Extracted packet for processing {"connection_id":163859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04825"} 
[2026-08-28 17:05:08] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706633216001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:05:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787916837000,"timestamp_ms":1787916837000,"timestamp_seconds":1787916837,"priority":1,"record_length":96,"hex_timestamp":"000001a04825e088"} 
[2026-08-28 17:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:05:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-28 17:05: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-28 17:05:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163859,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163859,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706633216001,"66":25397,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706633216001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:05:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:05:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706633216001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":163859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708925,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:05:08] local.INFO: GPS data processed {"connection_id":163859,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:05:08] local.INFO: Acknowledgment sent {"connection_id":163859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:05:09] local.INFO: TCP Data received {"connection_id":163590,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048235818012d34c14006aa4840000c00e628..."} 
[2026-08-28 17:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048235818012d34c14006aa4840000c00e628..."} 
[2026-08-28 17:05:09] local.INFO: Processing buffer {"connection_id":163590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048235818012d34c14006aa4840000c00e628..."} 
[2026-08-28 17:05:09] local.INFO: Packet analysis {"connection_id":163590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04823"} 
[2026-08-28 17:05:09] local.INFO: Extracted packet for processing {"connection_id":163590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04823"} 
[2026-08-28 17:05:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706590720001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:05:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:05:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:05:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:05:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787916671000,"timestamp_ms":1787916671000,"timestamp_seconds":1787916671,"priority":1,"record_length":96,"hex_timestamp":"000001a048235818"} 
[2026-08-28 17:05:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:05: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-28 17:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 17:05:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:05:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:05:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:05:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:05:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:05:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:05:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:05:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:05:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:05:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:05:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706590720001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:05:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:05:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:05:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706590720001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:05:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:05:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:05: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-28 17:05:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:05:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706590720001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:05:09] 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":708926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:05:09] local.INFO: GPS data processed {"connection_id":163590,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:05:09] local.INFO: Acknowledgment sent {"connection_id":163590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:05:25] local.INFO: TCP Data received {"connection_id":163860,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163860,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:05:25] local.INFO: Processing buffer {"connection_id":163860,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:05:25] local.INFO: IMEI packet received {"connection_id":163860,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 17:05:25] local.INFO: IMEI acknowledgment sent {"connection_id":163860,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:05:28] local.INFO: TCP Data received {"connection_id":164862,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a04823e4b8012d1823400721b5c0004d00da28..."} 
[2026-08-28 17:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04823e4b8012d1823400721b5c0004d00da28..."} 
[2026-08-28 17:05:28] local.INFO: Processing buffer {"connection_id":164862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04823e4b8012d1823400721b5c0004d00da28..."} 
[2026-08-28 17:05:28] local.INFO: Packet analysis {"connection_id":164862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04823"} 
[2026-08-28 17:05:28] local.INFO: Extracted packet for processing {"connection_id":164862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04823"} 
[2026-08-28 17:05:28] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649728,"longitude_deg":75.6556608,"latitude_deg":11.9649728,"altitude":77,"angle":218,"satellites":40,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b5c0","is_valid_coordinates":true} 
[2026-08-28 17:05:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:05:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706671616001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:05:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15957804959399936,"note":"Value kept but may cause issues"} 
[2026-08-28 17:05:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740078336655849472,"note":"Value kept but may cause issues"} 
[2026-08-28 17:05:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:05:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787916707000,"timestamp_ms":1787916707000,"timestamp_seconds":1787916707,"priority":1,"record_length":96,"hex_timestamp":"000001a04823e4b8"} 
[2026-08-28 17:05:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:05:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:05:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-28 17:05:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-08-28 17:05:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-28 17:05:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-28 17:05:28] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-28 17:05:28] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503843123232768,"note":"Value kept but may cause issues"} 
[2026-08-28 17:05:28] local.WARNING: Large IO value detected {"io_id":72,"raw_value":2401676447742174720,"note":"Value kept but may cause issues"} 
[2026-08-28 17:05:28] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3111649358,"note":"Value kept but may cause issues"} 
[2026-08-28 17:05:28] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5908986598200246528,"note":"Value kept but may cause issues"} 
[2026-08-28 17:05:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7667660726741499928,"corrected_to":0} 
[2026-08-28 17:05:28] local.WARNING: Large IO value detected {"io_id":248,"raw_value":2281778456,"note":"Value kept but may cause issues"} 
[2026-08-28 17:05:28] local.WARNING: Large IO value detected {"io_id":120,"raw_value":21955972238934016,"note":"Value kept but may cause issues"} 
[2026-08-28 17:05:28] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182191054913792,"note":"Value kept but may cause issues"} 
[2026-08-28 17:05:28] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2902510954,"note":"Value kept but may cause issues"} 
[2026-08-28 17:05:28] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2977693696,"note":"Value kept but may cause issues"} 
[2026-08-28 17:05:28] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2430105416647104295,"note":"Value kept but may cause issues"} 
[2026-08-28 17:05:28] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-8790800615715320237,"note":"Value kept but may cause issues"} 
[2026-08-28 17:05:28] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-28 17:05:28] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194983680,"note":"Value kept but may cause issues"} 
[2026-08-28 17:05:28] local.WARNING: Large IO value detected {"io_id":112,"raw_value":84750519478198713,"note":"Value kept but may cause issues"} 
[2026-08-28 17:05:28] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,105,83,24,241,157,16,177,160,64,45,185,78,39,10,66,238,156,1,240,227,72,33,4,113,205,248,38,120,40,239,48,2,56,7,49,164,124,69,112],"length":625,"final_offset":755,"validated_count":40,"validation_warnings":[{"io_id":205,"original":7667660726741499928,"validated":0}]} 
[2026-08-28 17:05:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620728897462075392,"timestamp_seconds":5620728897462075.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 17:05:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:05:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:05:28] local.INFO: Teltonika packet parsed successfully {"connection_id":164862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:05:28] local.INFO: Passing IMEI to GPS processor {"connection_id":164862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:05:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":164862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:05:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:05:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:05:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:05:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706671616001,"66":12809,"105":206,"83":41984,"24":0,"16":15957804959399936,"45":1740078336655849472},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 17:05:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:05:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:05:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706671616001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:05:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 17:05:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:05:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15957804959399936,"km_value":15957804959399.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:05:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740078336655849472,"description":"Unknown IO ID 45"} 
[2026-08-28 17:05:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706671616001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740078336655849472}} 
[2026-08-28 17:05:28] 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":708927,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:05:28] local.INFO: GPS data processed {"connection_id":164862,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:05:28] local.INFO: Acknowledgment sent {"connection_id":164862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:05:30] local.INFO: TCP Data received {"connection_id":163860,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163860,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:05:30] local.INFO: Processing buffer {"connection_id":163860,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:05:30] local.INFO: IMEI packet received {"connection_id":163860,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 17:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":163860,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:05:30] local.INFO: TCP Data received {"connection_id":166226,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:05:30] local.INFO: Processing buffer {"connection_id":166226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:05:30] local.INFO: IMEI packet received {"connection_id":166226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 17:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":166226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:05:31] local.INFO: TCP Data received {"connection_id":163860,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0482530c0012d7b520005e14038000001051c..."} 
[2026-08-28 17:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482530c0012d7b520005e14038000001051c..."} 
[2026-08-28 17:05:31] local.INFO: Processing buffer {"connection_id":163860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482530c0012d7b520005e14038000001051c..."} 
[2026-08-28 17:05:31] local.INFO: Packet analysis {"connection_id":163860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04825"} 
[2026-08-28 17:05:31] local.INFO: Extracted packet for processing {"connection_id":163860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04825"} 
[2026-08-28 17:05:31] local.INFO: GPS Element Parsed {"raw_longitude":763056640,"raw_latitude":98648120,"longitude_deg":76.305664,"latitude_deg":9.864812,"altitude":0,"angle":261,"satellites":28,"speed":0,"hex_longitude":"2d7b5200","hex_latitude":"05e14038","is_valid_coordinates":true} 
[2026-08-28 17:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706693376001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231604149780480,"note":"Value kept but may cause issues"} 
[2026-08-28 17:05:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886165040009306112,"note":"Value kept but may cause issues"} 
[2026-08-28 17:05:31] 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-28 17:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787916792000,"timestamp_ms":1787916792000,"timestamp_seconds":1787916792,"priority":1,"record_length":96,"hex_timestamp":"000001a0482530c0"} 
[2026-08-28 17:05:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:05:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-28 17:05:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2094,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:05:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:05:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":163860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":163860,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":163860,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:05:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706693376001,"66":12504,"217":206,"85":15104,"24":0,"16":125231604149780480,"45":8886165040009306112},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 17:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706693376001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:05:31] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 17:05:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231604149780480,"km_value":125231604149780.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:05:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886165040009306112,"description":"Unknown IO ID 45"} 
[2026-08-28 17:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706693376001,"power":12504,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886165040009306112}} 
[2026-08-28 17:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":163860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708928,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:05:31] local.INFO: GPS data processed {"connection_id":163860,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:05:31] local.INFO: Acknowledgment sent {"connection_id":163860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:05:36] local.INFO: TCP Data received {"connection_id":166226,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:05:36] local.INFO: Processing buffer {"connection_id":166226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:05:36] local.INFO: IMEI packet received {"connection_id":166226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 17:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":166226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:05:37] local.INFO: TCP Data received {"connection_id":166226,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048235818012d34c14006aa4840000c00e628..."} 
[2026-08-28 17:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048235818012d34c14006aa4840000c00e628..."} 
[2026-08-28 17:05:37] local.INFO: Processing buffer {"connection_id":166226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048235818012d34c14006aa4840000c00e628..."} 
[2026-08-28 17:05:37] local.INFO: Packet analysis {"connection_id":166226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04823"} 
[2026-08-28 17:05:37] local.INFO: Extracted packet for processing {"connection_id":166226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04823"} 
[2026-08-28 17:05:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706590720001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787916671000,"timestamp_ms":1787916671000,"timestamp_seconds":1787916671,"priority":1,"record_length":96,"hex_timestamp":"000001a048235818"} 
[2026-08-28 17:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 17:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":166226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":166226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":166226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706590720001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706590720001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:05:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:05:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:05: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-28 17:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706590720001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":166226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:05:37] local.INFO: GPS data processed {"connection_id":166226,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:05:37] local.INFO: Acknowledgment sent {"connection_id":166226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:05:39] local.INFO: TCP Data received {"connection_id":163859,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04825e088012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04825e088012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:05:39] local.INFO: Processing buffer {"connection_id":163859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04825e088012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:05:39] local.INFO: Packet analysis {"connection_id":163859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04825"} 
[2026-08-28 17:05:39] local.INFO: Extracted packet for processing {"connection_id":163859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04825"} 
[2026-08-28 17:05:39] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:05:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:05:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706633216001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:05:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:05:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:05:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:05:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787916837000,"timestamp_ms":1787916837000,"timestamp_seconds":1787916837,"priority":1,"record_length":96,"hex_timestamp":"000001a04825e088"} 
[2026-08-28 17:05:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:05:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:05:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-28 17:05:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:05:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:05:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:05:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:05:39] local.INFO: Teltonika packet parsed successfully {"connection_id":163859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:05:39] local.INFO: Passing IMEI to GPS processor {"connection_id":163859,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:05:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":163859,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:05:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:05:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:05:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:05:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706633216001,"66":25397,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:05:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:05:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:05:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706633216001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:05:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:05:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:05:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:05:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:05:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706633216001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:05:39] local.INFO: DEBUG: GPS processor result {"connection_id":163859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708930,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:05:39] local.INFO: GPS data processed {"connection_id":163859,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:05:39] local.INFO: Acknowledgment sent {"connection_id":163859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:05:43] local.INFO: TCP Data received {"connection_id":163591,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:05:43] local.INFO: Processing buffer {"connection_id":163591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:05:43] local.INFO: IMEI packet received {"connection_id":163591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 17:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":163591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:05:48] local.INFO: TCP Data received {"connection_id":163591,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:05:48] local.INFO: Processing buffer {"connection_id":163591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:05:48] local.INFO: IMEI packet received {"connection_id":163591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":163591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:05:49] local.INFO: TCP Data received {"connection_id":163591,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0482436c0012d1823400721b5a8004d00da28..."} 
[2026-08-28 17:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482436c0012d1823400721b5a8004d00da28..."} 
[2026-08-28 17:05:49] local.INFO: Processing buffer {"connection_id":163591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482436c0012d1823400721b5a8004d00da28..."} 
[2026-08-28 17:05:49] local.INFO: Packet analysis {"connection_id":163591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04824"} 
[2026-08-28 17:05:49] local.INFO: Extracted packet for processing {"connection_id":163591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04824"} 
[2026-08-28 17:05:49] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649704,"longitude_deg":75.6556608,"latitude_deg":11.9649704,"altitude":77,"angle":218,"satellites":40,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b5a8","is_valid_coordinates":true} 
[2026-08-28 17:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706676992001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15957804959399936,"note":"Value kept but may cause issues"} 
[2026-08-28 17:05:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469651456,"note":"Value kept but may cause issues"} 
[2026-08-28 17:05:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787916728000,"timestamp_ms":1787916728000,"timestamp_seconds":1787916728,"priority":1,"record_length":96,"hex_timestamp":"000001a0482436c0"} 
[2026-08-28 17:05:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:05:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-28 17:05:49] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-28 17:05:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-28 17:05:49] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-28 17:05:49] local.WARNING: Large IO value detected {"io_id":72,"raw_value":2424766191925470720,"note":"Value kept but may cause issues"} 
[2026-08-28 17:05:49] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3111649358,"note":"Value kept but may cause issues"} 
[2026-08-28 17:05:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-28 17:05:49] local.WARNING: Large IO value detected {"io_id":74,"raw_value":2415996184,"note":"Value kept but may cause issues"} 
[2026-08-28 17:05:49] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2977693696,"note":"Value kept but may cause issues"} 
[2026-08-28 17:05:49] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2430105416647104295,"note":"Value kept but may cause issues"} 
[2026-08-28 17:05:49] local.WARNING: Large IO value detected {"io_id":48,"raw_value":-5980554448236130733,"note":"Value kept but may cause issues"} 
[2026-08-28 17:05:49] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-28 17:05:49] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,177,160,146,45,185,78,39,10,66,64,238,1,240,173,227,72,33,4,113,205,74,38,120,40,239,49,2,56,7,48,164,124],"length":535,"final_offset":665,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-28 17:05:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548674606253998080,"timestamp_seconds":5548674606253998.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 17:05:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:05:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706676992001,"66":12819,"105":206,"83":41984,"24":0,"16":15957804959399936,"45":1739304280469651456},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 17:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706676992001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:05:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 17:05:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15957804959399936,"km_value":15957804959399.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:05:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469651456,"description":"Unknown IO ID 45"} 
[2026-08-28 17:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706676992001,"power":12819,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469651456}} 
[2026-08-28 17:05:49] 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":708931,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:05:49] local.INFO: GPS data processed {"connection_id":163591,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:05:49] local.INFO: Acknowledgment sent {"connection_id":163591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:05:56] local.INFO: TCP Data received {"connection_id":164863,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164863,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:05:56] local.INFO: Processing buffer {"connection_id":164863,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:05:56] local.INFO: IMEI packet received {"connection_id":164863,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 17:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":164863,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:06:01] local.INFO: TCP Data received {"connection_id":164863,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164863,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:06:01] local.INFO: Processing buffer {"connection_id":164863,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:06:01] local.INFO: IMEI packet received {"connection_id":164863,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 17:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":164863,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:06:02] local.INFO: TCP Data received {"connection_id":163860,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0482582c8012d7b51c005e14050000001051d..."} 
[2026-08-28 17:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482582c8012d7b51c005e14050000001051d..."} 
[2026-08-28 17:06:02] local.INFO: Processing buffer {"connection_id":163860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482582c8012d7b51c005e14050000001051d..."} 
[2026-08-28 17:06:02] local.INFO: Packet analysis {"connection_id":163860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04825"} 
[2026-08-28 17:06:02] local.INFO: Extracted packet for processing {"connection_id":163860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04825"} 
[2026-08-28 17:06:02] local.INFO: GPS Element Parsed {"raw_longitude":763056576,"raw_latitude":98648144,"longitude_deg":76.3056576,"latitude_deg":9.8648144,"altitude":0,"angle":261,"satellites":29,"speed":0,"hex_longitude":"2d7b51c0","hex_latitude":"05e14050","is_valid_coordinates":true} 
[2026-08-28 17:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706698752001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231608444747776,"note":"Value kept but may cause issues"} 
[2026-08-28 17:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886165040009328640,"note":"Value kept but may cause issues"} 
[2026-08-28 17:06:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787916813000,"timestamp_ms":1787916813000,"timestamp_seconds":1787916813,"priority":1,"record_length":96,"hex_timestamp":"000001a0482582c8"} 
[2026-08-28 17:06:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:06:02] 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-28 17:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-28 17:06:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:06:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:06:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163860,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163860,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:06:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706698752001,"66":12439,"217":206,"85":15104,"24":0,"16":125231608444747776,"45":8886165040009328640},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 17:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706698752001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:06:02] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 17:06:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231608444747776,"km_value":125231608444747.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886165040009328640,"description":"Unknown IO ID 45"} 
[2026-08-28 17:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706698752001,"power":12439,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886165040009328640}} 
[2026-08-28 17:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":163860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708932,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:06:02] local.INFO: GPS data processed {"connection_id":163860,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:06:02] local.INFO: Acknowledgment sent {"connection_id":163860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:06:02] local.INFO: TCP Data received {"connection_id":164863,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04825e088012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04825e088012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:06:02] local.INFO: Processing buffer {"connection_id":164863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04825e088012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:06:02] local.INFO: Packet analysis {"connection_id":164863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04825"} 
[2026-08-28 17:06:02] local.INFO: Extracted packet for processing {"connection_id":164863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04825"} 
[2026-08-28 17:06:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706633216001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:06:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787916837000,"timestamp_ms":1787916837000,"timestamp_seconds":1787916837,"priority":1,"record_length":96,"hex_timestamp":"000001a04825e088"} 
[2026-08-28 17:06:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:06:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-28 17:06:02] 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-28 17:06:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:06:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":164863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":164863,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":164863,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:06:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706633216001,"66":25397,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706633216001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:06:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:06:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706633216001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:06:03] 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":708933,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:06:03] local.INFO: GPS data processed {"connection_id":164863,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:06:03] local.INFO: Acknowledgment sent {"connection_id":164863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:06:09] local.INFO: TCP Data received {"connection_id":166226,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048235818012d34c14006aa4840000c00e628..."} 
[2026-08-28 17:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048235818012d34c14006aa4840000c00e628..."} 
[2026-08-28 17:06:09] local.INFO: Processing buffer {"connection_id":166226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048235818012d34c14006aa4840000c00e628..."} 
[2026-08-28 17:06:09] local.INFO: Packet analysis {"connection_id":166226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04823"} 
[2026-08-28 17:06:09] local.INFO: Extracted packet for processing {"connection_id":166226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04823"} 
[2026-08-28 17:06:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706590720001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:06:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:06:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787916671000,"timestamp_ms":1787916671000,"timestamp_seconds":1787916671,"priority":1,"record_length":96,"hex_timestamp":"000001a048235818"} 
[2026-08-28 17:06:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:06:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 17:06:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:06:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:06:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":166226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":166226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":166226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:06:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706590720001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706590720001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:06:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:06:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:06: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-28 17:06:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706590720001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:06:09] local.INFO: DEBUG: GPS processor result {"connection_id":166226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:06:09] local.INFO: GPS data processed {"connection_id":166226,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:06:09] local.INFO: Acknowledgment sent {"connection_id":166226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:06:20] local.INFO: TCP Data received {"connection_id":163591,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0482488c8012d1823400721b5a8004d00da27..."} 
[2026-08-28 17:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482488c8012d1823400721b5a8004d00da27..."} 
[2026-08-28 17:06:20] local.INFO: Processing buffer {"connection_id":163591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482488c8012d1823400721b5a8004d00da27..."} 
[2026-08-28 17:06:20] local.INFO: Packet analysis {"connection_id":163591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04824"} 
[2026-08-28 17:06:20] local.INFO: Extracted packet for processing {"connection_id":163591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04824"} 
[2026-08-28 17:06:20] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649704,"longitude_deg":75.6556608,"latitude_deg":11.9649704,"altitude":77,"angle":218,"satellites":39,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b5a8","is_valid_coordinates":true} 
[2026-08-28 17:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706682368001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15957804959399936,"note":"Value kept but may cause issues"} 
[2026-08-28 17:06:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469645312,"note":"Value kept but may cause issues"} 
[2026-08-28 17:06:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787916749000,"timestamp_ms":1787916749000,"timestamp_seconds":1787916749,"priority":1,"record_length":96,"hex_timestamp":"000001a0482488c8"} 
[2026-08-28 17:06:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:06:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-28 17:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-08-28 17:06:20] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-28 17:06:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-28 17:06:20] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-28 17:06:20] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503843123232768,"note":"Value kept but may cause issues"} 
[2026-08-28 17:06:20] local.WARNING: Large IO value detected {"io_id":72,"raw_value":2447855936108766720,"note":"Value kept but may cause issues"} 
[2026-08-28 17:06:20] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3111649358,"note":"Value kept but may cause issues"} 
[2026-08-28 17:06:20] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5981044192238174464,"note":"Value kept but may cause issues"} 
[2026-08-28 17:06:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7667660726741499928,"corrected_to":0} 
[2026-08-28 17:06:20] local.WARNING: Large IO value detected {"io_id":156,"raw_value":2550213912,"note":"Value kept but may cause issues"} 
[2026-08-28 17:06:20] local.WARNING: Large IO value detected {"io_id":120,"raw_value":21955972255711232,"note":"Value kept but may cause issues"} 
[2026-08-28 17:06:20] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182191054913792,"note":"Value kept but may cause issues"} 
[2026-08-28 17:06:20] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3993029994,"note":"Value kept but may cause issues"} 
[2026-08-28 17:06:20] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2977693696,"note":"Value kept but may cause issues"} 
[2026-08-28 17:06:20] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2430105416647104296,"note":"Value kept but may cause issues"} 
[2026-08-28 17:06:20] local.WARNING: Large IO value detected {"io_id":49,"raw_value":288456233063599699,"note":"Value kept but may cause issues"} 
[2026-08-28 17:06:20] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-28 17:06:20] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194925312,"note":"Value kept but may cause issues"} 
[2026-08-28 17:06:20] local.WARNING: Large IO value detected {"io_id":128,"raw_value":84750519478198713,"note":"Value kept but may cause issues"} 
[2026-08-28 17:06:20] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,105,83,24,241,157,16,177,160,228,45,64,181,77,40,10,66,146,185,78,39,1,240,187,227,72,33,4,113,205,156,38,120,239,48,2,56,7,49,164,124,69,128],"length":625,"final_offset":755,"validated_count":43,"validation_warnings":[{"io_id":205,"original":7667660726741499928,"validated":0}]} 
[2026-08-28 17:06:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548674606253998080,"timestamp_seconds":5548674606253998.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 17:06:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:06:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706682368001,"66":12798,"105":206,"83":41984,"24":0,"16":15957804959399936,"45":1739304280469645312},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 17:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706682368001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:06:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 17:06:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15957804959399936,"km_value":15957804959399.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:06:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469645312,"description":"Unknown IO ID 45"} 
[2026-08-28 17:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706682368001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469645312}} 
[2026-08-28 17:06:20] 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":708935,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:06:20] local.INFO: GPS data processed {"connection_id":163591,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:06:20] local.INFO: Acknowledgment sent {"connection_id":163591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:06:30] local.INFO: TCP Data received {"connection_id":163592,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163592,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:06:30] local.INFO: Processing buffer {"connection_id":163592,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:06:30] local.INFO: IMEI packet received {"connection_id":163592,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 17:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":163592,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:06:30] local.INFO: TCP Data received {"connection_id":164864,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:06:30] local.INFO: Processing buffer {"connection_id":164864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:06:30] local.INFO: IMEI packet received {"connection_id":164864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 17:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":164864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:06:34] local.INFO: TCP Data received {"connection_id":164863,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04825e088012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04825e088012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:06:34] local.INFO: Processing buffer {"connection_id":164863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04825e088012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:06:34] local.INFO: Packet analysis {"connection_id":164863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04825"} 
[2026-08-28 17:06:34] local.INFO: Extracted packet for processing {"connection_id":164863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04825"} 
[2026-08-28 17:06:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706633216001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:06:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:06:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787916837000,"timestamp_ms":1787916837000,"timestamp_seconds":1787916837,"priority":1,"record_length":96,"hex_timestamp":"000001a04825e088"} 
[2026-08-28 17:06:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:06:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-28 17:06:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:06:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:06:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":164863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":164863,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":164863,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:06:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706633216001,"66":25397,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706633216001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:06:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:06:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:06:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:06:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706633216001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:06:34] 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":708936,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:06:34] local.INFO: GPS data processed {"connection_id":164863,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:06:34] local.INFO: Acknowledgment sent {"connection_id":164863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:06:35] local.INFO: TCP Data received {"connection_id":163592,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163592,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:06:35] local.INFO: Processing buffer {"connection_id":163592,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:06:35] local.INFO: IMEI packet received {"connection_id":163592,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 17:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":163592,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:06:35] local.INFO: TCP Data received {"connection_id":164864,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:06:35] local.INFO: Processing buffer {"connection_id":164864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:06:35] local.INFO: IMEI packet received {"connection_id":164864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 17:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":164864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:06:38] local.INFO: TCP Data received {"connection_id":164864,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048235818012d34c14006aa4840000c00e628..."} 
[2026-08-28 17:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048235818012d34c14006aa4840000c00e628..."} 
[2026-08-28 17:06:38] local.INFO: Processing buffer {"connection_id":164864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048235818012d34c14006aa4840000c00e628..."} 
[2026-08-28 17:06:38] local.INFO: Packet analysis {"connection_id":164864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04823"} 
[2026-08-28 17:06:38] local.INFO: Extracted packet for processing {"connection_id":164864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04823"} 
[2026-08-28 17:06:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706590720001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:06:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787916671000,"timestamp_ms":1787916671000,"timestamp_seconds":1787916671,"priority":1,"record_length":96,"hex_timestamp":"000001a048235818"} 
[2026-08-28 17:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:06: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-28 17:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 17:06: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-28 17:06:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:06:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706590720001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706590720001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:06:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:06:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:06: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-28 17:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706590720001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":164864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:06:38] local.INFO: GPS data processed {"connection_id":164864,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:06:38] local.INFO: Acknowledgment sent {"connection_id":164864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:06:40] local.INFO: TCP Data received {"connection_id":163592,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a04825d4d0012d7b520005e13ff8000001051d..."} 
[2026-08-28 17:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04825d4d0012d7b520005e13ff8000001051d..."} 
[2026-08-28 17:06:40] local.INFO: Processing buffer {"connection_id":163592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04825d4d0012d7b520005e13ff8000001051d..."} 
[2026-08-28 17:06:40] local.INFO: Packet analysis {"connection_id":163592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04825"} 
[2026-08-28 17:06:40] local.INFO: Extracted packet for processing {"connection_id":163592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04825"} 
[2026-08-28 17:06:40] local.INFO: GPS Element Parsed {"raw_longitude":763056640,"raw_latitude":98648056,"longitude_deg":76.305664,"latitude_deg":9.8648056,"altitude":0,"angle":261,"satellites":29,"speed":0,"hex_longitude":"2d7b5200","hex_latitude":"05e13ff8","is_valid_coordinates":true} 
[2026-08-28 17:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:06:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706704128001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:06:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231617034682368,"note":"Value kept but may cause issues"} 
[2026-08-28 17:06:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886094671265157120,"note":"Value kept but may cause issues"} 
[2026-08-28 17:06: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-28 17:06:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787916834000,"timestamp_ms":1787916834000,"timestamp_seconds":1787916834,"priority":1,"record_length":96,"hex_timestamp":"000001a04825d4d0"} 
[2026-08-28 17:06:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:06:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 17:06:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:06:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:06:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:06:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:06:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:06:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:06:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:06:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:06:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:06:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:06:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706704128001,"66":11602,"217":206,"85":15104,"24":0,"16":125231617034682368,"45":8886094671265157120},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 17:06:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:06:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:06:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706704128001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:06:40] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 17:06:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:06:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231617034682368,"km_value":125231617034682.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:06:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886094671265157120,"description":"Unknown IO ID 45"} 
[2026-08-28 17:06:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706704128001,"power":11602,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886094671265157120}} 
[2026-08-28 17:06:40] 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":708938,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:06:40] local.INFO: GPS data processed {"connection_id":163592,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:06:40] local.INFO: Acknowledgment sent {"connection_id":163592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:06:41] local.INFO: TCP Data received {"connection_id":163592,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0482626d8012d7b524005e13fe8000001051d..."} 
[2026-08-28 17:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482626d8012d7b524005e13fe8000001051d..."} 
[2026-08-28 17:06:41] local.INFO: Processing buffer {"connection_id":163592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482626d8012d7b524005e13fe8000001051d..."} 
[2026-08-28 17:06:41] local.INFO: Packet analysis {"connection_id":163592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04826"} 
[2026-08-28 17:06:41] local.INFO: Extracted packet for processing {"connection_id":163592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04826"} 
[2026-08-28 17:06:41] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98648040,"longitude_deg":76.3056704,"latitude_deg":9.864804,"altitude":0,"angle":261,"satellites":29,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e13fe8","is_valid_coordinates":true} 
[2026-08-28 17:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706709504001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231634214551552,"note":"Value kept but may cause issues"} 
[2026-08-28 17:06:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886165040009312256,"note":"Value kept but may cause issues"} 
[2026-08-28 17:06:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787916855000,"timestamp_ms":1787916855000,"timestamp_seconds":1787916855,"priority":1,"record_length":96,"hex_timestamp":"000001a0482626d8"} 
[2026-08-28 17:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:06:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-08-28 17:06:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1161,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:06:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":163592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":163592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":163592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:06:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706709504001,"66":12472,"217":206,"85":15104,"24":0,"16":125231634214551552,"45":8886165040009312256},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 17:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706709504001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:06:41] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 17:06:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231634214551552,"km_value":125231634214551.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:06:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886165040009312256,"description":"Unknown IO ID 45"} 
[2026-08-28 17:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706709504001,"power":12472,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886165040009312256}} 
[2026-08-28 17:06:41] 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":708939,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:06:41] local.INFO: GPS data processed {"connection_id":163592,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:06:41] local.INFO: Acknowledgment sent {"connection_id":163592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:06:43] local.INFO: TCP Data received {"connection_id":163861,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:06:43] local.INFO: Processing buffer {"connection_id":163861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:06:43] local.INFO: IMEI packet received {"connection_id":163861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 17:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":163861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:06:48] local.INFO: TCP Data received {"connection_id":163861,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:06:48] local.INFO: Processing buffer {"connection_id":163861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:06:48] local.INFO: IMEI packet received {"connection_id":163861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":163861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:06:49] local.INFO: TCP Data received {"connection_id":163861,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a04824dad0012d1823400721b5a8004d00da26..."} 
[2026-08-28 17:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04824dad0012d1823400721b5a8004d00da26..."} 
[2026-08-28 17:06:49] local.INFO: Processing buffer {"connection_id":163861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04824dad0012d1823400721b5a8004d00da26..."} 
[2026-08-28 17:06:49] local.INFO: Packet analysis {"connection_id":163861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04824"} 
[2026-08-28 17:06:49] local.INFO: Extracted packet for processing {"connection_id":163861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04824"} 
[2026-08-28 17:06:49] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649704,"longitude_deg":75.6556608,"latitude_deg":11.9649704,"altitude":77,"angle":218,"satellites":38,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b5a8","is_valid_coordinates":true} 
[2026-08-28 17:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:06:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706687744001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:06:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15957804959399936,"note":"Value kept but may cause issues"} 
[2026-08-28 17:06:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469645312,"note":"Value kept but may cause issues"} 
[2026-08-28 17:06:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:06:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787916770000,"timestamp_ms":1787916770000,"timestamp_seconds":1787916770,"priority":1,"record_length":96,"hex_timestamp":"000001a04824dad0"} 
[2026-08-28 17:06:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:06:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-28 17:06:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:06: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-28 17:06:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:06:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:06:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:06:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:06:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:06:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:06:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:06:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:06:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706687744001,"66":12776,"105":206,"83":41984,"24":0,"16":15957804959399936,"45":1739304280469645312},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 17:06:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:06:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:06:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706687744001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:06:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 17:06:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:06:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15957804959399936,"km_value":15957804959399.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:06:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469645312,"description":"Unknown IO ID 45"} 
[2026-08-28 17:06:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706687744001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469645312}} 
[2026-08-28 17:06:49] local.INFO: DEBUG: GPS processor result {"connection_id":163861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708940,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:06:49] local.INFO: GPS data processed {"connection_id":163861,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:06:49] local.INFO: Acknowledgment sent {"connection_id":163861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:06:56] local.INFO: TCP Data received {"connection_id":164865,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164865,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:06:56] local.INFO: Processing buffer {"connection_id":164865,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:06:56] local.INFO: IMEI packet received {"connection_id":164865,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 17:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":164865,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:07:01] local.INFO: TCP Data received {"connection_id":164865,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164865,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:07:01] local.INFO: Processing buffer {"connection_id":164865,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:07:01] local.INFO: IMEI packet received {"connection_id":164865,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 17:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":164865,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:07:03] local.INFO: TCP Data received {"connection_id":164865,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04825e088012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04825e088012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:07:03] local.INFO: Processing buffer {"connection_id":164865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04825e088012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:07:03] local.INFO: Packet analysis {"connection_id":164865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04825"} 
[2026-08-28 17:07:03] local.INFO: Extracted packet for processing {"connection_id":164865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04825"} 
[2026-08-28 17:07:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706633216001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787916837000,"timestamp_ms":1787916837000,"timestamp_seconds":1787916837,"priority":1,"record_length":96,"hex_timestamp":"000001a04825e088"} 
[2026-08-28 17:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:07:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-28 17:07:03] 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-28 17:07:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":164865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":164865,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":164865,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706633216001,"66":25397,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706633216001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:07:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:07:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706633216001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:07:04] 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":708941,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:07:04] local.INFO: GPS data processed {"connection_id":164865,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:07:04] local.INFO: Acknowledgment sent {"connection_id":164865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:07:09] local.INFO: TCP Data received {"connection_id":164864,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04827efe0012d34c14006aa4840000a00e628..."} 
[2026-08-28 17:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04827efe0012d34c14006aa4840000a00e628..."} 
[2026-08-28 17:07:09] local.INFO: Processing buffer {"connection_id":164864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04827efe0012d34c14006aa4840000a00e628..."} 
[2026-08-28 17:07:09] local.INFO: Packet analysis {"connection_id":164864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04827"} 
[2026-08-28 17:07:09] local.INFO: Extracted packet for processing {"connection_id":164864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04827"} 
[2026-08-28 17:07:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706667776001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:07:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787916972000,"timestamp_ms":1787916972000,"timestamp_seconds":1787916972,"priority":1,"record_length":96,"hex_timestamp":"000001a04827efe0"} 
[2026-08-28 17:07:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:07: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-28 17:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 17:07: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-28 17:07:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:07:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:07:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706667776001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706667776001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:07:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:07:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:07: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-28 17:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706667776001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":164864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:07:09] local.INFO: GPS data processed {"connection_id":164864,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:07:09] local.INFO: Acknowledgment sent {"connection_id":164864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:07:20] local.INFO: TCP Data received {"connection_id":163861,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048252cd8012d1823400721b5a8004d00da28..."} 
[2026-08-28 17:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048252cd8012d1823400721b5a8004d00da28..."} 
[2026-08-28 17:07:20] local.INFO: Processing buffer {"connection_id":163861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048252cd8012d1823400721b5a8004d00da28..."} 
[2026-08-28 17:07:20] local.INFO: Packet analysis {"connection_id":163861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04825"} 
[2026-08-28 17:07:20] local.INFO: Extracted packet for processing {"connection_id":163861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04825"} 
[2026-08-28 17:07:20] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649704,"longitude_deg":75.6556608,"latitude_deg":11.9649704,"altitude":77,"angle":218,"satellites":40,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b5a8","is_valid_coordinates":true} 
[2026-08-28 17:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706693120001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15957804959399936,"note":"Value kept but may cause issues"} 
[2026-08-28 17:07:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469645312,"note":"Value kept but may cause issues"} 
[2026-08-28 17:07:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787916791000,"timestamp_ms":1787916791000,"timestamp_seconds":1787916791,"priority":1,"record_length":96,"hex_timestamp":"000001a048252cd8"} 
[2026-08-28 17:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:07:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-28 17:07:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:07:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:07:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706693120001,"66":12765,"105":206,"83":41984,"24":0,"16":15957804959399936,"45":1739304280469645312},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 17:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706693120001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:07:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 17:07:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15957804959399936,"km_value":15957804959399.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:07:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469645312,"description":"Unknown IO ID 45"} 
[2026-08-28 17:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706693120001,"power":12765,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469645312}} 
[2026-08-28 17:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":163861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708943,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:07:20] local.INFO: GPS data processed {"connection_id":163861,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:07:20] local.INFO: Acknowledgment sent {"connection_id":163861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:07:21] local.INFO: TCP Data received {"connection_id":163593,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163593,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:07:21] local.INFO: Processing buffer {"connection_id":163593,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:07:21] local.INFO: IMEI packet received {"connection_id":163593,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 17:07:21] local.INFO: IMEI acknowledgment sent {"connection_id":163593,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:07:25] local.INFO: TCP Data received {"connection_id":163593,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163593,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:07:25] local.INFO: Processing buffer {"connection_id":163593,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:07:25] local.INFO: IMEI packet received {"connection_id":163593,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 17:07:25] local.INFO: IMEI acknowledgment sent {"connection_id":163593,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:07:30] local.INFO: TCP Data received {"connection_id":163593,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163593,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:07:30] local.INFO: Processing buffer {"connection_id":163593,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:07:30] local.INFO: IMEI packet received {"connection_id":163593,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 17:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":163593,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:07:31] local.INFO: TCP Data received {"connection_id":163593,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0482678e0012d7b528005e14000000001051d..."} 
[2026-08-28 17:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482678e0012d7b528005e14000000001051d..."} 
[2026-08-28 17:07:31] local.INFO: Processing buffer {"connection_id":163593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482678e0012d7b528005e14000000001051d..."} 
[2026-08-28 17:07:31] local.INFO: Packet analysis {"connection_id":163593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04826"} 
[2026-08-28 17:07:31] local.INFO: Extracted packet for processing {"connection_id":163593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04826"} 
[2026-08-28 17:07:31] local.INFO: GPS Element Parsed {"raw_longitude":763056768,"raw_latitude":98648064,"longitude_deg":76.3056768,"latitude_deg":9.8648064,"altitude":0,"angle":261,"satellites":29,"speed":0,"hex_longitude":"2d7b5280","hex_latitude":"05e14000","is_valid_coordinates":true} 
[2026-08-28 17:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706714880001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231638509518848,"note":"Value kept but may cause issues"} 
[2026-08-28 17:07:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753485824,"note":"Value kept but may cause issues"} 
[2026-08-28 17:07:31] 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-28 17:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787916876000,"timestamp_ms":1787916876000,"timestamp_seconds":1787916876,"priority":1,"record_length":96,"hex_timestamp":"000001a0482678e0"} 
[2026-08-28 17:07:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:07:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-28 17:07:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2094,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:07:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:07:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":163593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":163593,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":163593,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:07:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706714880001,"66":12472,"217":206,"85":15104,"24":0,"16":125231638509518848,"45":8886235408753485824},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 17:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706714880001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:07:31] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 17:07:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:07:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231638509518848,"km_value":125231638509518.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:07:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753485824,"description":"Unknown IO ID 45"} 
[2026-08-28 17:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706714880001,"power":12472,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753485824}} 
[2026-08-28 17:07:31] 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":708944,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:07:31] local.INFO: GPS data processed {"connection_id":163593,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:07:31] local.INFO: Acknowledgment sent {"connection_id":163593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:07:35] local.INFO: TCP Data received {"connection_id":164865,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04825e088012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04825e088012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:07:35] local.INFO: Processing buffer {"connection_id":164865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04825e088012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:07:35] local.INFO: Packet analysis {"connection_id":164865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04825"} 
[2026-08-28 17:07:35] local.INFO: Extracted packet for processing {"connection_id":164865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04825"} 
[2026-08-28 17:07:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706633216001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:07:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:07:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787916837000,"timestamp_ms":1787916837000,"timestamp_seconds":1787916837,"priority":1,"record_length":96,"hex_timestamp":"000001a04825e088"} 
[2026-08-28 17:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:07:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-28 17:07:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:07:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":164865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":164865,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":164865,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:07:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706633216001,"66":25397,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706633216001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:07:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:07:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:07:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706633216001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:07:35] 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":708945,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:07:35] local.INFO: GPS data processed {"connection_id":164865,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:07:35] local.INFO: Acknowledgment sent {"connection_id":164865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:07:35] local.INFO: TCP Data received {"connection_id":163862,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:07:35] local.INFO: Processing buffer {"connection_id":163862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:07:35] local.INFO: IMEI packet received {"connection_id":163862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 17:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":163862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:07:40] local.INFO: TCP Data received {"connection_id":163862,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:07:40] local.INFO: Processing buffer {"connection_id":163862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:07:40] local.INFO: IMEI packet received {"connection_id":163862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 17:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":163862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:07:42] local.INFO: TCP Data received {"connection_id":163862,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04827efe0012d34c14006aa4840000a00e628..."} 
[2026-08-28 17:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04827efe0012d34c14006aa4840000a00e628..."} 
[2026-08-28 17:07:42] local.INFO: Processing buffer {"connection_id":163862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04827efe0012d34c14006aa4840000a00e628..."} 
[2026-08-28 17:07:42] local.INFO: Packet analysis {"connection_id":163862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04827"} 
[2026-08-28 17:07:42] local.INFO: Extracted packet for processing {"connection_id":163862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04827"} 
[2026-08-28 17:07:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17: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-28 17:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706667776001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:07:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:07:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787916972000,"timestamp_ms":1787916972000,"timestamp_seconds":1787916972,"priority":1,"record_length":96,"hex_timestamp":"000001a04827efe0"} 
[2026-08-28 17: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-28 17:07: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-28 17: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":129,"data_length":795,"current_offset":136} 
[2026-08-28 17:07: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-28 17: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-28 17: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-28 17:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:07:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706667776001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706667776001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:07:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:07:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17: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-28 17:07:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706667776001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":163862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:07:42] local.INFO: GPS data processed {"connection_id":163862,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:07:42] local.INFO: Acknowledgment sent {"connection_id":163862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:07:43] local.INFO: TCP Data received {"connection_id":163863,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163863,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:07:43] local.INFO: Processing buffer {"connection_id":163863,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:07:43] local.INFO: IMEI packet received {"connection_id":163863,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 17:07:43] local.INFO: IMEI acknowledgment sent {"connection_id":163863,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:07:46] local.INFO: TCP Data received {"connection_id":163862,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04827efe0012d34c14006aa4840000a00e628..."} 
[2026-08-28 17:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04827efe0012d34c14006aa4840000a00e628..."} 
[2026-08-28 17:07:46] local.INFO: Processing buffer {"connection_id":163862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04827efe0012d34c14006aa4840000a00e628..."} 
[2026-08-28 17:07:46] local.INFO: Packet analysis {"connection_id":163862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04827"} 
[2026-08-28 17:07:46] local.INFO: Extracted packet for processing {"connection_id":163862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04827"} 
[2026-08-28 17:07:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:07:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706667776001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:07:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:07:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:07:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:07:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787916972000,"timestamp_ms":1787916972000,"timestamp_seconds":1787916972,"priority":1,"record_length":96,"hex_timestamp":"000001a04827efe0"} 
[2026-08-28 17:07:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:07: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-28 17:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 17:07: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-28 17:07:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:07:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:07:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:07:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:07:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:07:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:07:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:07:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:07:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:07:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706667776001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:07:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:07:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:07:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706667776001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:07:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:07:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:07: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-28 17:07:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:07:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706667776001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:07:46] local.INFO: DEBUG: GPS processor result {"connection_id":163862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:07:46] local.INFO: GPS data processed {"connection_id":163862,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:07:46] local.INFO: Acknowledgment sent {"connection_id":163862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:07:48] local.INFO: TCP Data received {"connection_id":163863,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163863,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:07:48] local.INFO: Processing buffer {"connection_id":163863,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:07:48] local.INFO: IMEI packet received {"connection_id":163863,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":163863,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:07:49] local.INFO: TCP Data received {"connection_id":163863,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048257ee0012d1823400721b5a8004d00da28..."} 
[2026-08-28 17:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048257ee0012d1823400721b5a8004d00da28..."} 
[2026-08-28 17:07:49] local.INFO: Processing buffer {"connection_id":163863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048257ee0012d1823400721b5a8004d00da28..."} 
[2026-08-28 17:07:49] local.INFO: Packet analysis {"connection_id":163863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04825"} 
[2026-08-28 17:07:49] local.INFO: Extracted packet for processing {"connection_id":163863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04825"} 
[2026-08-28 17:07:49] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649704,"longitude_deg":75.6556608,"latitude_deg":11.9649704,"altitude":77,"angle":218,"satellites":40,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b5a8","is_valid_coordinates":true} 
[2026-08-28 17:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:07:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706698496001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:07:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15957804959399936,"note":"Value kept but may cause issues"} 
[2026-08-28 17:07:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469645312,"note":"Value kept but may cause issues"} 
[2026-08-28 17:07:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:07:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787916812000,"timestamp_ms":1787916812000,"timestamp_seconds":1787916812,"priority":1,"record_length":96,"hex_timestamp":"000001a048257ee0"} 
[2026-08-28 17:07:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:07:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-28 17:07:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:07:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:07:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:07:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:07:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:07:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:07:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:07:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:07:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:07:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:07:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706698496001,"66":12765,"105":206,"83":41984,"24":0,"16":15957804959399936,"45":1739304280469645312},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 17:07:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:07:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:07:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706698496001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:07:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 17:07:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:07:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15957804959399936,"km_value":15957804959399.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:07:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469645312,"description":"Unknown IO ID 45"} 
[2026-08-28 17:07:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706698496001,"power":12765,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469645312}} 
[2026-08-28 17:07:49] local.INFO: DEBUG: GPS processor result {"connection_id":163863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708948,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:07:49] local.INFO: GPS data processed {"connection_id":163863,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:07:49] local.INFO: Acknowledgment sent {"connection_id":163863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:07:56] local.INFO: TCP Data received {"connection_id":164866,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164866,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:07:56] local.INFO: Processing buffer {"connection_id":164866,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:07:56] local.INFO: IMEI packet received {"connection_id":164866,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 17:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":164866,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:08:01] local.INFO: TCP Data received {"connection_id":164866,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164866,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:08:01] local.INFO: Processing buffer {"connection_id":164866,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:08:01] local.INFO: IMEI packet received {"connection_id":164866,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 17:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":164866,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:08:02] local.INFO: TCP Data received {"connection_id":163593,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a04826cae8012d7b530005e13fc8000001051d..."} 
[2026-08-28 17:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04826cae8012d7b530005e13fc8000001051d..."} 
[2026-08-28 17:08:02] local.INFO: Processing buffer {"connection_id":163593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04826cae8012d7b530005e13fc8000001051d..."} 
[2026-08-28 17:08:02] local.INFO: Packet analysis {"connection_id":163593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04826"} 
[2026-08-28 17:08:02] local.INFO: Extracted packet for processing {"connection_id":163593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04826"} 
[2026-08-28 17:08:02] local.INFO: GPS Element Parsed {"raw_longitude":763056896,"raw_latitude":98648008,"longitude_deg":76.3056896,"latitude_deg":9.8648008,"altitude":0,"angle":261,"satellites":29,"speed":0,"hex_longitude":"2d7b5300","hex_latitude":"05e13fc8","is_valid_coordinates":true} 
[2026-08-28 17:08:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:08:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706720256001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:08:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231659984355328,"note":"Value kept but may cause issues"} 
[2026-08-28 17:08:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886305777497669632,"note":"Value kept but may cause issues"} 
[2026-08-28 17:08:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:08:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787916897000,"timestamp_ms":1787916897000,"timestamp_seconds":1787916897,"priority":1,"record_length":96,"hex_timestamp":"000001a04826cae8"} 
[2026-08-28 17:08:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:08:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:08:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-28 17:08:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2094,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:08:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:08:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:08:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:08:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:08:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163593,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:08:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163593,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:08:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:08:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:08:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:08:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706720256001,"66":12472,"217":206,"85":15104,"24":0,"16":125231659984355328,"45":8886305777497669632},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 17:08:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:08:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:08:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706720256001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:08:02] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 17:08:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:08:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231659984355328,"km_value":125231659984355.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:08:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886305777497669632,"description":"Unknown IO ID 45"} 
[2026-08-28 17:08:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706720256001,"power":12472,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886305777497669632}} 
[2026-08-28 17:08:02] 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":708949,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:08:02] local.INFO: GPS data processed {"connection_id":163593,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:08:02] local.INFO: Acknowledgment sent {"connection_id":163593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:08:03] local.INFO: TCP Data received {"connection_id":164866,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04825e088012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04825e088012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:08:03] local.INFO: Processing buffer {"connection_id":164866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04825e088012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:08:03] local.INFO: Packet analysis {"connection_id":164866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04825"} 
[2026-08-28 17:08:03] local.INFO: Extracted packet for processing {"connection_id":164866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04825"} 
[2026-08-28 17:08:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706633216001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:08:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787916837000,"timestamp_ms":1787916837000,"timestamp_seconds":1787916837,"priority":1,"record_length":96,"hex_timestamp":"000001a04825e088"} 
[2026-08-28 17:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:08:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-28 17:08:03] 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-28 17:08:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":164866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":164866,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":164866,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706633216001,"66":25397,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706633216001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:08:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:08:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706633216001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":164866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708950,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:08:03] local.INFO: GPS data processed {"connection_id":164866,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:08:03] local.INFO: Acknowledgment sent {"connection_id":164866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:08:20] local.INFO: TCP Data received {"connection_id":163863,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a04825d0e8012d1823400721b5a8004d00da28..."} 
[2026-08-28 17:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04825d0e8012d1823400721b5a8004d00da28..."} 
[2026-08-28 17:08:20] local.INFO: Processing buffer {"connection_id":163863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04825d0e8012d1823400721b5a8004d00da28..."} 
[2026-08-28 17:08:20] local.INFO: Packet analysis {"connection_id":163863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04825"} 
[2026-08-28 17:08:20] local.INFO: Extracted packet for processing {"connection_id":163863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04825"} 
[2026-08-28 17:08:20] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649704,"longitude_deg":75.6556608,"latitude_deg":11.9649704,"altitude":77,"angle":218,"satellites":40,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b5a8","is_valid_coordinates":true} 
[2026-08-28 17:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:08:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706703872001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:08:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15957804959399936,"note":"Value kept but may cause issues"} 
[2026-08-28 17:08:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469645312,"note":"Value kept but may cause issues"} 
[2026-08-28 17:08:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:08:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787916833000,"timestamp_ms":1787916833000,"timestamp_seconds":1787916833,"priority":1,"record_length":96,"hex_timestamp":"000001a04825d0e8"} 
[2026-08-28 17:08:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:08:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-28 17:08:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:08:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:08:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:08:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:08:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:08:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:08:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:08:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:08:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:08:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:08:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706703872001,"66":12667,"105":206,"83":41984,"24":0,"16":15957804959399936,"45":1739304280469645312},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 17:08:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:08:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:08:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706703872001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:08:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 17:08:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:08:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15957804959399936,"km_value":15957804959399.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:08:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469645312,"description":"Unknown IO ID 45"} 
[2026-08-28 17:08:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706703872001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469645312}} 
[2026-08-28 17:08:20] local.INFO: DEBUG: GPS processor result {"connection_id":163863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708951,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:08:20] local.INFO: GPS data processed {"connection_id":163863,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:08:20] local.INFO: Acknowledgment sent {"connection_id":163863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:08:25] local.INFO: TCP Data received {"connection_id":164867,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164867,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:08:25] local.INFO: Processing buffer {"connection_id":164867,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:08:25] local.INFO: IMEI packet received {"connection_id":164867,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 17:08:25] local.INFO: IMEI acknowledgment sent {"connection_id":164867,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:08:27] local.INFO: TCP Data received {"connection_id":164867,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164867,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:08:27] local.INFO: Processing buffer {"connection_id":164867,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:08:27] local.INFO: IMEI packet received {"connection_id":164867,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 17:08:27] local.INFO: IMEI acknowledgment sent {"connection_id":164867,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:08:27] local.INFO: TCP Data received {"connection_id":164867,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a048271cf0012d7b534005e14018000201051d..."} 
[2026-08-28 17:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048271cf0012d7b534005e14018000201051d..."} 
[2026-08-28 17:08:27] local.INFO: Processing buffer {"connection_id":164867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048271cf0012d7b534005e14018000201051d..."} 
[2026-08-28 17:08:27] local.INFO: Packet analysis {"connection_id":164867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04827"} 
[2026-08-28 17:08:27] local.INFO: Extracted packet for processing {"connection_id":164867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04827"} 
[2026-08-28 17:08:27] local.INFO: GPS Element Parsed {"raw_longitude":763056960,"raw_latitude":98648088,"longitude_deg":76.305696,"latitude_deg":9.8648088,"altitude":2,"angle":261,"satellites":29,"speed":0,"hex_longitude":"2d7b5340","hex_latitude":"05e14018","is_valid_coordinates":true} 
[2026-08-28 17:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:08:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706725632001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:08:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231668574289920,"note":"Value kept but may cause issues"} 
[2026-08-28 17:08:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886446514986010624,"note":"Value kept but may cause issues"} 
[2026-08-28 17:08:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:08:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787916918000,"timestamp_ms":1787916918000,"timestamp_seconds":1787916918,"priority":1,"record_length":96,"hex_timestamp":"000001a048271cf0"} 
[2026-08-28 17:08:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:08:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-28 17:08:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2094,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:08:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:08:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:08:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:08:27] local.INFO: Teltonika packet parsed successfully {"connection_id":164867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:08:27] local.INFO: Passing IMEI to GPS processor {"connection_id":164867,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:08:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":164867,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:08:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:08:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:08:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:08:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706725632001,"66":12504,"217":206,"85":15104,"24":0,"16":125231668574289920,"45":8886446514986010624},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 17:08:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:08:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:08:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706725632001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:08:27] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 17:08:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:08:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231668574289920,"km_value":125231668574289.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:08:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886446514986010624,"description":"Unknown IO ID 45"} 
[2026-08-28 17:08:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706725632001,"power":12504,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886446514986010624}} 
[2026-08-28 17:08:28] 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":708952,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:08:28] local.INFO: GPS data processed {"connection_id":164867,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:08:28] local.INFO: Acknowledgment sent {"connection_id":164867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:08:30] local.INFO: TCP Data received {"connection_id":163594,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:08:30] local.INFO: Processing buffer {"connection_id":163594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:08:30] local.INFO: IMEI packet received {"connection_id":163594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 17:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":163594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:08:34] local.INFO: TCP Data received {"connection_id":164866,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04825e088012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04825e088012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:08:34] local.INFO: Processing buffer {"connection_id":164866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04825e088012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:08:34] local.INFO: Packet analysis {"connection_id":164866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04825"} 
[2026-08-28 17:08:34] local.INFO: Extracted packet for processing {"connection_id":164866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04825"} 
[2026-08-28 17:08:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:08:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706633216001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:08:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:08:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:08:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:08:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787916837000,"timestamp_ms":1787916837000,"timestamp_seconds":1787916837,"priority":1,"record_length":96,"hex_timestamp":"000001a04825e088"} 
[2026-08-28 17:08:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:08:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-28 17:08:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:08:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:08:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:08:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:08:34] local.INFO: Teltonika packet parsed successfully {"connection_id":164866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:08:34] local.INFO: Passing IMEI to GPS processor {"connection_id":164866,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:08:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":164866,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:08:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:08:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:08:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:08:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706633216001,"66":25397,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:08:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:08:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:08:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706633216001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:08:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:08:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:08:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:08:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:08:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706633216001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:08:34] local.INFO: DEBUG: GPS processor result {"connection_id":164866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708953,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:08:34] local.INFO: GPS data processed {"connection_id":164866,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:08:34] local.INFO: Acknowledgment sent {"connection_id":164866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:08:35] local.INFO: TCP Data received {"connection_id":163594,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:08:35] local.INFO: Processing buffer {"connection_id":163594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:08:35] local.INFO: IMEI packet received {"connection_id":163594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 17:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":163594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:08:38] local.INFO: TCP Data received {"connection_id":163594,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04827efe0012d34c14006aa4840000a00e628..."} 
[2026-08-28 17:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04827efe0012d34c14006aa4840000a00e628..."} 
[2026-08-28 17:08:38] local.INFO: Processing buffer {"connection_id":163594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04827efe0012d34c14006aa4840000a00e628..."} 
[2026-08-28 17:08:38] local.INFO: Packet analysis {"connection_id":163594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04827"} 
[2026-08-28 17:08:38] local.INFO: Extracted packet for processing {"connection_id":163594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04827"} 
[2026-08-28 17:08:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706667776001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787916972000,"timestamp_ms":1787916972000,"timestamp_seconds":1787916972,"priority":1,"record_length":96,"hex_timestamp":"000001a04827efe0"} 
[2026-08-28 17:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:08: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-28 17:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 17:08: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-28 17:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706667776001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706667776001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:08:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:08:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:08: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-28 17:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706667776001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":163594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:08:38] local.INFO: GPS data processed {"connection_id":163594,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:08:38] local.INFO: Acknowledgment sent {"connection_id":163594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:08:43] local.INFO: TCP Data received {"connection_id":163595,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163595,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:08:43] local.INFO: Processing buffer {"connection_id":163595,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:08:43] local.INFO: IMEI packet received {"connection_id":163595,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 17:08:43] local.INFO: IMEI acknowledgment sent {"connection_id":163595,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:08:43] local.INFO: TCP Data received {"connection_id":163595,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163595,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:08:43] local.INFO: Processing buffer {"connection_id":163595,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:08:43] local.INFO: IMEI packet received {"connection_id":163595,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:08:43] local.INFO: IMEI acknowledgment sent {"connection_id":163595,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:08:48] local.INFO: TCP Data received {"connection_id":163595,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163595,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:08:48] local.INFO: Processing buffer {"connection_id":163595,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:08:48] local.INFO: IMEI packet received {"connection_id":163595,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:08:48] local.INFO: IMEI acknowledgment sent {"connection_id":163595,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:08:49] local.INFO: TCP Data received {"connection_id":163595,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0482622f0012d1823400721b5a8004d00da28..."} 
[2026-08-28 17:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482622f0012d1823400721b5a8004d00da28..."} 
[2026-08-28 17:08:49] local.INFO: Processing buffer {"connection_id":163595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482622f0012d1823400721b5a8004d00da28..."} 
[2026-08-28 17:08:49] local.INFO: Packet analysis {"connection_id":163595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04826"} 
[2026-08-28 17:08:49] local.INFO: Extracted packet for processing {"connection_id":163595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04826"} 
[2026-08-28 17:08:49] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649704,"longitude_deg":75.6556608,"latitude_deg":11.9649704,"altitude":77,"angle":218,"satellites":40,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b5a8","is_valid_coordinates":true} 
[2026-08-28 17: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-28 17:08:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706709248001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:08:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15957804959399936,"note":"Value kept but may cause issues"} 
[2026-08-28 17:08:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469645312,"note":"Value kept but may cause issues"} 
[2026-08-28 17:08:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:08:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787916854000,"timestamp_ms":1787916854000,"timestamp_seconds":1787916854,"priority":1,"record_length":96,"hex_timestamp":"000001a0482622f0"} 
[2026-08-28 17: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-28 17:08:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-28 17:08:49] 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-28 17: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-28 17: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-28 17:08:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:08:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:08:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:08:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:08:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:08:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:08:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:08:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706709248001,"66":12689,"105":206,"83":41984,"24":0,"16":15957804959399936,"45":1739304280469645312},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 17:08:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:08:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:08:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706709248001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:08:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 17:08:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:08:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15957804959399936,"km_value":15957804959399.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:08:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469645312,"description":"Unknown IO ID 45"} 
[2026-08-28 17:08:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706709248001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469645312}} 
[2026-08-28 17:08:49] 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":708955,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:08:49] local.INFO: GPS data processed {"connection_id":163595,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:08:49] local.INFO: Acknowledgment sent {"connection_id":163595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:08:58] local.INFO: TCP Data received {"connection_id":164867,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a048276ef8012d7b534005e14030000401051d..."} 
[2026-08-28 17:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048276ef8012d7b534005e14030000401051d..."} 
[2026-08-28 17:08:58] local.INFO: Processing buffer {"connection_id":164867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048276ef8012d7b534005e14030000401051d..."} 
[2026-08-28 17:08:58] local.INFO: Packet analysis {"connection_id":164867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04827"} 
[2026-08-28 17:08:58] local.INFO: Extracted packet for processing {"connection_id":164867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04827"} 
[2026-08-28 17:08:58] local.INFO: GPS Element Parsed {"raw_longitude":763056960,"raw_latitude":98648112,"longitude_deg":76.305696,"latitude_deg":9.8648112,"altitude":4,"angle":261,"satellites":29,"speed":0,"hex_longitude":"2d7b5340","hex_latitude":"05e14030","is_valid_coordinates":true} 
[2026-08-28 17:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:08:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706731008001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:08:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231685754159104,"note":"Value kept but may cause issues"} 
[2026-08-28 17:08:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886516883730208768,"note":"Value kept but may cause issues"} 
[2026-08-28 17:08:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:08:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787916939000,"timestamp_ms":1787916939000,"timestamp_seconds":1787916939,"priority":1,"record_length":96,"hex_timestamp":"000001a048276ef8"} 
[2026-08-28 17:08:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:08:58] 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-28 17:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-28 17:08:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:08:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:08:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:08:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:08:58] local.INFO: Teltonika packet parsed successfully {"connection_id":164867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:08:58] local.INFO: Passing IMEI to GPS processor {"connection_id":164867,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:08:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":164867,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:08:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:08:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:08:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:08:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706731008001,"66":12461,"217":206,"85":15104,"24":0,"16":125231685754159104,"45":8886516883730208768},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 17:08:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:08:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:08:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706731008001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:08:58] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 17:08:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:08:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231685754159104,"km_value":125231685754159.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:08:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886516883730208768,"description":"Unknown IO ID 45"} 
[2026-08-28 17:08:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706731008001,"power":12461,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886516883730208768}} 
[2026-08-28 17:08:59] 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":708956,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:08:59] local.INFO: GPS data processed {"connection_id":164867,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:08:59] local.INFO: Acknowledgment sent {"connection_id":164867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:09:01] local.INFO: TCP Data received {"connection_id":166227,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166227,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:09:01] local.INFO: Processing buffer {"connection_id":166227,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:09:01] local.INFO: IMEI packet received {"connection_id":166227,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 17:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":166227,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:09:06] local.INFO: TCP Data received {"connection_id":166227,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166227,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:09:06] local.INFO: Processing buffer {"connection_id":166227,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:09:06] local.INFO: IMEI packet received {"connection_id":166227,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 17:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":166227,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:09:07] local.INFO: TCP Data received {"connection_id":166227,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04825e088012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04825e088012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:09:07] local.INFO: Processing buffer {"connection_id":166227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04825e088012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:09:07] local.INFO: Packet analysis {"connection_id":166227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04825"} 
[2026-08-28 17:09:07] local.INFO: Extracted packet for processing {"connection_id":166227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04825"} 
[2026-08-28 17:09:07] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17: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-28 17:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706633216001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:09:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787916837000,"timestamp_ms":1787916837000,"timestamp_seconds":1787916837,"priority":1,"record_length":96,"hex_timestamp":"000001a04825e088"} 
[2026-08-28 17: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-28 17:09:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-28 17:09:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17: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-28 17: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-28 17:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":166227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":166227,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":166227,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:09:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706633216001,"66":25397,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706633216001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:09:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:09:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706633216001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":166227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708957,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:09:07] local.INFO: GPS data processed {"connection_id":166227,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:09:07] local.INFO: Acknowledgment sent {"connection_id":166227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:09:10] local.INFO: TCP Data received {"connection_id":163594,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04827efe0012d34c14006aa4840000a00e628..."} 
[2026-08-28 17:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04827efe0012d34c14006aa4840000a00e628..."} 
[2026-08-28 17:09:10] local.INFO: Processing buffer {"connection_id":163594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04827efe0012d34c14006aa4840000a00e628..."} 
[2026-08-28 17:09:10] local.INFO: Packet analysis {"connection_id":163594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04827"} 
[2026-08-28 17:09:10] local.INFO: Extracted packet for processing {"connection_id":163594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04827"} 
[2026-08-28 17:09:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706667776001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:09:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787916972000,"timestamp_ms":1787916972000,"timestamp_seconds":1787916972,"priority":1,"record_length":96,"hex_timestamp":"000001a04827efe0"} 
[2026-08-28 17:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:09:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 17:09:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:09:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:09:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706667776001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706667776001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:09:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:09:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706667776001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":163594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:09:10] local.INFO: GPS data processed {"connection_id":163594,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:09:10] local.INFO: Acknowledgment sent {"connection_id":163594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:09:12] local.INFO: TCP Data received {"connection_id":166227,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04825e088012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04825e088012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:09:12] local.INFO: Processing buffer {"connection_id":166227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04825e088012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:09:12] local.INFO: Packet analysis {"connection_id":166227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04825"} 
[2026-08-28 17:09:12] local.INFO: Extracted packet for processing {"connection_id":166227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04825"} 
[2026-08-28 17:09:12] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706633216001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:09:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:09:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787916837000,"timestamp_ms":1787916837000,"timestamp_seconds":1787916837,"priority":1,"record_length":96,"hex_timestamp":"000001a04825e088"} 
[2026-08-28 17:09:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:09:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-28 17:09:12] 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-28 17:09:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:09:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":166227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":166227,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":166227,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706633216001,"66":25397,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706633216001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:09:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:09:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:09:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706633216001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":166227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708959,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:09:12] local.INFO: GPS data processed {"connection_id":166227,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:09:12] local.INFO: Acknowledgment sent {"connection_id":166227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:09:20] local.INFO: TCP Data received {"connection_id":163595,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0482674f8012d1823400721b5a8004d00da28..."} 
[2026-08-28 17:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482674f8012d1823400721b5a8004d00da28..."} 
[2026-08-28 17:09:20] local.INFO: Processing buffer {"connection_id":163595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482674f8012d1823400721b5a8004d00da28..."} 
[2026-08-28 17:09:20] local.INFO: Packet analysis {"connection_id":163595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04826"} 
[2026-08-28 17:09:20] local.INFO: Extracted packet for processing {"connection_id":163595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04826"} 
[2026-08-28 17:09:20] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649704,"longitude_deg":75.6556608,"latitude_deg":11.9649704,"altitude":77,"angle":218,"satellites":40,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b5a8","is_valid_coordinates":true} 
[2026-08-28 17: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-28 17:09:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706714624001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:09:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15957804959399936,"note":"Value kept but may cause issues"} 
[2026-08-28 17:09:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469645312,"note":"Value kept but may cause issues"} 
[2026-08-28 17:09:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:09:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787916875000,"timestamp_ms":1787916875000,"timestamp_seconds":1787916875,"priority":1,"record_length":96,"hex_timestamp":"000001a0482674f8"} 
[2026-08-28 17: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-28 17:09:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-28 17:09:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17: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-28 17: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-28 17:09:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:09:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:09:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:09:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:09:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:09:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:09:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:09:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706714624001,"66":12689,"105":206,"83":41984,"24":0,"16":15957804959399936,"45":1739304280469645312},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 17:09:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:09:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:09:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706714624001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:09:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 17:09:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:09:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15957804959399936,"km_value":15957804959399.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:09:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469645312,"description":"Unknown IO ID 45"} 
[2026-08-28 17:09:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706714624001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469645312}} 
[2026-08-28 17:09:20] 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":708960,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:09:20] local.INFO: GPS data processed {"connection_id":163595,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:09:20] local.INFO: Acknowledgment sent {"connection_id":163595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:09:25] local.INFO: TCP Data received {"connection_id":163864,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163864,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:09:25] local.INFO: Processing buffer {"connection_id":163864,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:09:25] local.INFO: IMEI packet received {"connection_id":163864,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 17:09:25] local.INFO: IMEI acknowledgment sent {"connection_id":163864,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:09:30] local.INFO: TCP Data received {"connection_id":163864,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163864,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:09:30] local.INFO: Processing buffer {"connection_id":163864,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:09:30] local.INFO: IMEI packet received {"connection_id":163864,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 17:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":163864,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:09:30] local.INFO: TCP Data received {"connection_id":164868,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:09:30] local.INFO: Processing buffer {"connection_id":164868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:09:30] local.INFO: IMEI packet received {"connection_id":164868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 17:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":164868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:09:30] local.INFO: TCP Data received {"connection_id":163864,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a04827c100012d7b534005e14090000701051d..."} 
[2026-08-28 17:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04827c100012d7b534005e14090000701051d..."} 
[2026-08-28 17:09:31] local.INFO: Processing buffer {"connection_id":163864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04827c100012d7b534005e14090000701051d..."} 
[2026-08-28 17:09:31] local.INFO: Packet analysis {"connection_id":163864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04827"} 
[2026-08-28 17:09:31] local.INFO: Extracted packet for processing {"connection_id":163864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04827"} 
[2026-08-28 17:09:31] local.INFO: GPS Element Parsed {"raw_longitude":763056960,"raw_latitude":98648208,"longitude_deg":76.305696,"latitude_deg":9.8648208,"altitude":7,"angle":261,"satellites":29,"speed":0,"hex_longitude":"2d7b5340","hex_latitude":"05e14090","is_valid_coordinates":true} 
[2026-08-28 17:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:09:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706736384001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:09:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231698639060992,"note":"Value kept but may cause issues"} 
[2026-08-28 17:09:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886516883730214912,"note":"Value kept but may cause issues"} 
[2026-08-28 17:09:31] 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-28 17:09:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787916960000,"timestamp_ms":1787916960000,"timestamp_seconds":1787916960,"priority":1,"record_length":96,"hex_timestamp":"000001a04827c100"} 
[2026-08-28 17:09:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:09:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 17:09:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:09:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:09:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:09:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:09:31] local.INFO: Teltonika packet parsed successfully {"connection_id":163864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:09:31] local.INFO: Passing IMEI to GPS processor {"connection_id":163864,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:09:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":163864,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:09:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:09:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:09:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:09:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706736384001,"66":12472,"217":206,"85":15104,"24":0,"16":125231698639060992,"45":8886516883730214912},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 17:09:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:09:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:09:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706736384001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:09:31] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 17:09:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:09:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231698639060992,"km_value":125231698639060.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:09:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886516883730214912,"description":"Unknown IO ID 45"} 
[2026-08-28 17:09:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706736384001,"power":12472,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886516883730214912}} 
[2026-08-28 17:09:31] local.INFO: DEBUG: GPS processor result {"connection_id":163864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708961,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:09:31] local.INFO: GPS data processed {"connection_id":163864,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:09:31] local.INFO: Acknowledgment sent {"connection_id":163864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:09:35] local.INFO: TCP Data received {"connection_id":164868,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:09:35] local.INFO: Processing buffer {"connection_id":164868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:09:35] local.INFO: IMEI packet received {"connection_id":164868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 17:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":164868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:09:37] local.INFO: TCP Data received {"connection_id":164868,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04827efe0012d34c14006aa4840000a00e628..."} 
[2026-08-28 17:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04827efe0012d34c14006aa4840000a00e628..."} 
[2026-08-28 17:09:37] local.INFO: Processing buffer {"connection_id":164868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04827efe0012d34c14006aa4840000a00e628..."} 
[2026-08-28 17:09:37] local.INFO: Packet analysis {"connection_id":164868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04827"} 
[2026-08-28 17:09:37] local.INFO: Extracted packet for processing {"connection_id":164868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04827"} 
[2026-08-28 17:09:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706667776001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787916972000,"timestamp_ms":1787916972000,"timestamp_seconds":1787916972,"priority":1,"record_length":96,"hex_timestamp":"000001a04827efe0"} 
[2026-08-28 17:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 17:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706667776001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706667776001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:09:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:09:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:09: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-28 17:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706667776001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:09:37] 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":708962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:09:37] local.INFO: GPS data processed {"connection_id":164868,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:09:37] local.INFO: Acknowledgment sent {"connection_id":164868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:09:43] local.INFO: TCP Data received {"connection_id":163865,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163865,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:09:43] local.INFO: Processing buffer {"connection_id":163865,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:09:43] local.INFO: IMEI packet received {"connection_id":163865,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 17:09:43] local.INFO: IMEI acknowledgment sent {"connection_id":163865,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:09:46] local.INFO: TCP Data received {"connection_id":163865,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163865,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:09:46] local.INFO: Processing buffer {"connection_id":163865,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:09:46] local.INFO: IMEI packet received {"connection_id":163865,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:09:46] local.INFO: IMEI acknowledgment sent {"connection_id":163865,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:09:48] local.INFO: TCP Data received {"connection_id":163865,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163865,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:09:48] local.INFO: Processing buffer {"connection_id":163865,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:09:48] local.INFO: IMEI packet received {"connection_id":163865,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":163865,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:09:48] local.INFO: TCP Data received {"connection_id":163865,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a04829fb50012d1821400721b3b0004a00d228..."} 
[2026-08-28 17:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04829fb50012d1821400721b3b0004a00d228..."} 
[2026-08-28 17:09:48] local.INFO: Processing buffer {"connection_id":163865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04829fb50012d1821400721b3b0004a00d228..."} 
[2026-08-28 17:09:48] local.INFO: Packet analysis {"connection_id":163865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04829"} 
[2026-08-28 17:09:48] local.INFO: Extracted packet for processing {"connection_id":163865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04829"} 
[2026-08-28 17:09:48] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649200,"longitude_deg":75.6556096,"latitude_deg":11.96492,"altitude":74,"angle":210,"satellites":40,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b3b0","is_valid_coordinates":true} 
[2026-08-28 17: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-28 17:09:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706773760001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:09:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15957839319138304,"note":"Value kept but may cause issues"} 
[2026-08-28 17:09:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516094976,"note":"Value kept but may cause issues"} 
[2026-08-28 17:09:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:09:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787917106000,"timestamp_ms":1787917106000,"timestamp_seconds":1787917106,"priority":1,"record_length":96,"hex_timestamp":"000001a04829fb50"} 
[2026-08-28 17: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-28 17:09:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:09:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-28 17:09:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17: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-28 17: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-28 17:09:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:09:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:09:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:09:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:09:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:09:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:09:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:09:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706773760001,"66":12558,"105":206,"83":41984,"24":0,"16":15957839319138304,"45":1738741330516094976},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 17:09:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:09:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:09:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706773760001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:09:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 17:09:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:09:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15957839319138304,"km_value":15957839319138.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:09:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516094976,"description":"Unknown IO ID 45"} 
[2026-08-28 17:09:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706773760001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516094976}} 
[2026-08-28 17:09:48] local.INFO: DEBUG: GPS processor result {"connection_id":163865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708963,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:09:48] local.INFO: GPS data processed {"connection_id":163865,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:09:48] local.INFO: Acknowledgment sent {"connection_id":163865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:09:56] local.INFO: TCP Data received {"connection_id":166228,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166228,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:09:56] local.INFO: Processing buffer {"connection_id":166228,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:09:56] local.INFO: IMEI packet received {"connection_id":166228,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 17:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":166228,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:10:01] local.INFO: TCP Data received {"connection_id":166228,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166228,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:10:01] local.INFO: Processing buffer {"connection_id":166228,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:10:01] local.INFO: IMEI packet received {"connection_id":166228,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 17:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":166228,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:10:01] local.INFO: TCP Data received {"connection_id":163864,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a048281308012d7b538005e14048000801051d..."} 
[2026-08-28 17:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048281308012d7b538005e14048000801051d..."} 
[2026-08-28 17:10:01] local.INFO: Processing buffer {"connection_id":163864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048281308012d7b538005e14048000801051d..."} 
[2026-08-28 17:10:01] local.INFO: Packet analysis {"connection_id":163864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04828"} 
[2026-08-28 17:10:01] local.INFO: Extracted packet for processing {"connection_id":163864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04828"} 
[2026-08-28 17:10:01] local.INFO: GPS Element Parsed {"raw_longitude":763057024,"raw_latitude":98648136,"longitude_deg":76.3057024,"latitude_deg":9.8648136,"altitude":8,"angle":261,"satellites":29,"speed":0,"hex_longitude":"2d7b5380","hex_latitude":"05e14048","is_valid_coordinates":true} 
[2026-08-28 17:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:10:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706741760001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:10:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231707228995584,"note":"Value kept but may cause issues"} 
[2026-08-28 17:10:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886516883730239488,"note":"Value kept but may cause issues"} 
[2026-08-28 17:10: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-28 17:10:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787916981000,"timestamp_ms":1787916981000,"timestamp_seconds":1787916981,"priority":1,"record_length":96,"hex_timestamp":"000001a048281308"} 
[2026-08-28 17:10:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:10:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-28 17:10:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2094,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:10:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:10:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:10:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:10:01] local.INFO: Teltonika packet parsed successfully {"connection_id":163864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:10:01] local.INFO: Passing IMEI to GPS processor {"connection_id":163864,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:10:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":163864,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:10:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:10:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:10:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:10:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706741760001,"66":12461,"217":206,"85":15104,"24":0,"16":125231707228995584,"45":8886516883730239488},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 17:10:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:10:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:10:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706741760001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:10:01] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 17:10:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:10:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231707228995584,"km_value":125231707228995.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:10:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886516883730239488,"description":"Unknown IO ID 45"} 
[2026-08-28 17:10:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706741760001,"power":12461,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886516883730239488}} 
[2026-08-28 17:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":163864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708964,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:10:02] local.INFO: GPS data processed {"connection_id":163864,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:10:02] local.INFO: Acknowledgment sent {"connection_id":163864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:10:03] local.INFO: TCP Data received {"connection_id":166228,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0482a7850012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482a7850012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:10:03] local.INFO: Processing buffer {"connection_id":166228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482a7850012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:10:03] local.INFO: Packet analysis {"connection_id":166228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0482a"} 
[2026-08-28 17:10:03] local.INFO: Extracted packet for processing {"connection_id":166228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0482a"} 
[2026-08-28 17:10:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706710272001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:10:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787917138000,"timestamp_ms":1787917138000,"timestamp_seconds":1787917138,"priority":1,"record_length":96,"hex_timestamp":"000001a0482a7850"} 
[2026-08-28 17:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:10:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 17:10:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:10:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":166228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":166228,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":166228,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706710272001,"66":25397,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706710272001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:10:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:10:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706710272001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":166228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708965,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:10:03] local.INFO: GPS data processed {"connection_id":166228,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:10:03] local.INFO: Acknowledgment sent {"connection_id":166228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:10:08] local.INFO: TCP Data received {"connection_id":164868,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04827efe0012d34c14006aa4840000a00e628..."} 
[2026-08-28 17:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04827efe0012d34c14006aa4840000a00e628..."} 
[2026-08-28 17:10:08] local.INFO: Processing buffer {"connection_id":164868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04827efe0012d34c14006aa4840000a00e628..."} 
[2026-08-28 17:10:08] local.INFO: Packet analysis {"connection_id":164868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04827"} 
[2026-08-28 17:10:08] local.INFO: Extracted packet for processing {"connection_id":164868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04827"} 
[2026-08-28 17:10:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706667776001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:10:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787916972000,"timestamp_ms":1787916972000,"timestamp_seconds":1787916972,"priority":1,"record_length":96,"hex_timestamp":"000001a04827efe0"} 
[2026-08-28 17:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:10: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-28 17:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 17:10:08] 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-28 17:10:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:10:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706667776001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706667776001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:10:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:10:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:10: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-28 17:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706667776001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:10:08] 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":708966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:10:08] local.INFO: GPS data processed {"connection_id":164868,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:10:08] local.INFO: Acknowledgment sent {"connection_id":164868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:10:19] local.INFO: TCP Data received {"connection_id":163865,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0482a4d58012d1821400721b3b0004a00d228..."} 
[2026-08-28 17:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482a4d58012d1821400721b3b0004a00d228..."} 
[2026-08-28 17:10:19] local.INFO: Processing buffer {"connection_id":163865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482a4d58012d1821400721b3b0004a00d228..."} 
[2026-08-28 17:10:19] local.INFO: Packet analysis {"connection_id":163865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0482a"} 
[2026-08-28 17:10:19] local.INFO: Extracted packet for processing {"connection_id":163865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0482a"} 
[2026-08-28 17:10:19] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649200,"longitude_deg":75.6556096,"latitude_deg":11.96492,"altitude":74,"angle":210,"satellites":40,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b3b0","is_valid_coordinates":true} 
[2026-08-28 17:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:10:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706779136001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:10:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15957839319138304,"note":"Value kept but may cause issues"} 
[2026-08-28 17:10:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516094976,"note":"Value kept but may cause issues"} 
[2026-08-28 17:10:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:10:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787917127000,"timestamp_ms":1787917127000,"timestamp_seconds":1787917127,"priority":1,"record_length":96,"hex_timestamp":"000001a0482a4d58"} 
[2026-08-28 17:10:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:10:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-28 17:10:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-28 17:10:19] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-28 17:10:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-28 17:10:19] local.WARNING: Large IO value detected {"io_id":177,"raw_value":2315255808,"note":"Value kept but may cause issues"} 
[2026-08-28 17:10:19] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249385889052341672,"note":"Value kept but may cause issues"} 
[2026-08-28 17:10:19] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3047686221,"note":"Value kept but may cause issues"} 
[2026-08-28 17:10:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-28 17:10:19] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2978611200,"note":"Value kept but may cause issues"} 
[2026-08-28 17:10:19] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-28 17:10:19] local.WARNING: Large IO value detected {"io_id":82,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-28 17:10:19] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-28 17:10:19] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,105,83,24,241,157,16,177,160,169,45,64,179,74,40,10,66,87,181,77,5,1,240,14,227,72,33,4,113,205,97,35,168,239,49,2,56,7,106,82,206],"length":575,"final_offset":705,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-28 17:10:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332493028047192064,"timestamp_seconds":5332493028047192.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 17:10:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:10:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:10:19] local.INFO: Teltonika packet parsed successfully {"connection_id":163865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:10:19] local.INFO: Passing IMEI to GPS processor {"connection_id":163865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:10:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":163865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:10:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:10:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:10:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:10:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706779136001,"66":12548,"105":206,"83":41984,"24":0,"16":15957839319138304,"45":1738741330516094976},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 17:10:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:10:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:10:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706779136001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:10:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 17:10:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:10:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15957839319138304,"km_value":15957839319138.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:10:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516094976,"description":"Unknown IO ID 45"} 
[2026-08-28 17:10:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706779136001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516094976}} 
[2026-08-28 17:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":163865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708967,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:10:20] local.INFO: GPS data processed {"connection_id":163865,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:10:20] local.INFO: Acknowledgment sent {"connection_id":163865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:10:25] local.INFO: TCP Data received {"connection_id":166229,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166229,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:10:25] local.INFO: Processing buffer {"connection_id":166229,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:10:25] local.INFO: IMEI packet received {"connection_id":166229,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 17:10:25] local.INFO: IMEI acknowledgment sent {"connection_id":166229,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:10:30] local.INFO: TCP Data received {"connection_id":166229,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166229,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:10:30] local.INFO: Processing buffer {"connection_id":166229,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:10:30] local.INFO: IMEI packet received {"connection_id":166229,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 17:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":166229,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:10:30] local.INFO: TCP Data received {"connection_id":163596,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:10:30] local.INFO: Processing buffer {"connection_id":163596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:10:30] local.INFO: IMEI packet received {"connection_id":163596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 17:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":163596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:10:30] local.INFO: TCP Data received {"connection_id":166229,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a048286510012d7b538005e14008000501051d..."} 
[2026-08-28 17:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048286510012d7b538005e14008000501051d..."} 
[2026-08-28 17:10:30] local.INFO: Processing buffer {"connection_id":166229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048286510012d7b538005e14008000501051d..."} 
[2026-08-28 17:10:30] local.INFO: Packet analysis {"connection_id":166229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04828"} 
[2026-08-28 17:10:30] local.INFO: Extracted packet for processing {"connection_id":166229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04828"} 
[2026-08-28 17:10:30] local.INFO: GPS Element Parsed {"raw_longitude":763057024,"raw_latitude":98648072,"longitude_deg":76.3057024,"latitude_deg":9.8648072,"altitude":5,"angle":261,"satellites":29,"speed":0,"hex_longitude":"2d7b5380","hex_latitude":"05e14008","is_valid_coordinates":true} 
[2026-08-28 17:10:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706747136001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231707228995584,"note":"Value kept but may cause issues"} 
[2026-08-28 17:10:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886587252474398720,"note":"Value kept but may cause issues"} 
[2026-08-28 17:10:30] 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-28 17:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787917002000,"timestamp_ms":1787917002000,"timestamp_seconds":1787917002,"priority":1,"record_length":96,"hex_timestamp":"000001a048286510"} 
[2026-08-28 17:10:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:10:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:10:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 17:10:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:10:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:10:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":166229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":166229,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":166229,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:10:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706747136001,"66":12472,"217":206,"85":15104,"24":0,"16":125231707228995584,"45":8886587252474398720},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 17:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706747136001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:10:30] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 17:10:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231707228995584,"km_value":125231707228995.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:10:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886587252474398720,"description":"Unknown IO ID 45"} 
[2026-08-28 17:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706747136001,"power":12472,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886587252474398720}} 
[2026-08-28 17:10:30] local.INFO: DEBUG: GPS processor result {"connection_id":166229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708968,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:10:30] local.INFO: GPS data processed {"connection_id":166229,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:10:30] local.INFO: Acknowledgment sent {"connection_id":166229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:10:35] local.INFO: TCP Data received {"connection_id":166228,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0482a7850012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482a7850012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:10:35] local.INFO: Processing buffer {"connection_id":166228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482a7850012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:10:35] local.INFO: Packet analysis {"connection_id":166228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0482a"} 
[2026-08-28 17:10:35] local.INFO: Extracted packet for processing {"connection_id":166228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0482a"} 
[2026-08-28 17:10:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706710272001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:10:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787917138000,"timestamp_ms":1787917138000,"timestamp_seconds":1787917138,"priority":1,"record_length":96,"hex_timestamp":"000001a0482a7850"} 
[2026-08-28 17:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:10:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 17:10:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:10:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":166228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":166228,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":166228,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706710272001,"66":25397,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706710272001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:10:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:10:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706710272001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":166228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708969,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:10:35] local.INFO: GPS data processed {"connection_id":166228,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:10:35] local.INFO: Acknowledgment sent {"connection_id":166228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:10:35] local.INFO: TCP Data received {"connection_id":163596,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:10:35] local.INFO: Processing buffer {"connection_id":163596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:10:35] local.INFO: IMEI packet received {"connection_id":163596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 17:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":163596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:10:37] local.INFO: TCP Data received {"connection_id":163596,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04827efe0012d34c14006aa4840000a00e628..."} 
[2026-08-28 17:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04827efe0012d34c14006aa4840000a00e628..."} 
[2026-08-28 17:10:37] local.INFO: Processing buffer {"connection_id":163596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04827efe0012d34c14006aa4840000a00e628..."} 
[2026-08-28 17:10:37] local.INFO: Packet analysis {"connection_id":163596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04827"} 
[2026-08-28 17:10:37] local.INFO: Extracted packet for processing {"connection_id":163596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04827"} 
[2026-08-28 17:10:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706667776001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787916972000,"timestamp_ms":1787916972000,"timestamp_seconds":1787916972,"priority":1,"record_length":96,"hex_timestamp":"000001a04827efe0"} 
[2026-08-28 17:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 17:10:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706667776001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706667776001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:10:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:10:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:10: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-28 17:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706667776001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":163596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:10:37] local.INFO: GPS data processed {"connection_id":163596,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:10:37] local.INFO: Acknowledgment sent {"connection_id":163596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:10:48] local.INFO: TCP Data received {"connection_id":166230,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166230,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:10:48] local.INFO: Processing buffer {"connection_id":166230,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:10:48] local.INFO: IMEI packet received {"connection_id":166230,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 17:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":166230,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:10:49] local.INFO: TCP Data received {"connection_id":166230,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166230,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:10:49] local.INFO: Processing buffer {"connection_id":166230,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:10:49] local.INFO: IMEI packet received {"connection_id":166230,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":166230,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:10:49] local.INFO: TCP Data received {"connection_id":166230,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0482a9f60012d1820000721b2c8004b00d327..."} 
[2026-08-28 17:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482a9f60012d1820000721b2c8004b00d327..."} 
[2026-08-28 17:10:49] local.INFO: Processing buffer {"connection_id":166230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482a9f60012d1820000721b2c8004b00d327..."} 
[2026-08-28 17:10:49] local.INFO: Packet analysis {"connection_id":166230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0482a"} 
[2026-08-28 17:10:49] local.INFO: Extracted packet for processing {"connection_id":166230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0482a"} 
[2026-08-28 17:10:49] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648968,"longitude_deg":75.6555776,"latitude_deg":11.9648968,"altitude":75,"angle":211,"satellites":39,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b2c8","is_valid_coordinates":true} 
[2026-08-28 17: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-28 17:10:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706784512001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:10:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15957860793974784,"note":"Value kept but may cause issues"} 
[2026-08-28 17:10:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516094976,"note":"Value kept but may cause issues"} 
[2026-08-28 17:10:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:10:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787917148000,"timestamp_ms":1787917148000,"timestamp_seconds":1787917148,"priority":1,"record_length":96,"hex_timestamp":"000001a0482a9f60"} 
[2026-08-28 17: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-28 17:10:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-28 17:10:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-28 17:10:49] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-28 17:10:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-28 17:10:49] local.WARNING: Large IO value detected {"io_id":177,"raw_value":2315255808,"note":"Value kept but may cause issues"} 
[2026-08-28 17:10:49] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-08-28 17:10:49] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3047686221,"note":"Value kept but may cause issues"} 
[2026-08-28 17:10:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-28 17:10:49] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2978611200,"note":"Value kept but may cause issues"} 
[2026-08-28 17:10:49] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-28 17:10:49] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,177,160,251,45,64,179,74,40,10,66,169,87,1,240,14,227,72,33,4,113,205,35,168,239,49,2,56,7,77,106],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-28 17:10:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332493028047192064,"timestamp_seconds":5332493028047192.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 17: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-28 17:10:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:10:49] local.INFO: Teltonika packet parsed successfully {"connection_id":166230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:10:49] local.INFO: Passing IMEI to GPS processor {"connection_id":166230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:10:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":166230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:10:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:10:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:10:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:10:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706784512001,"66":12537,"105":206,"83":41984,"24":0,"16":15957860793974784,"45":1738741330516094976},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 17:10:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:10:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:10:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706784512001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:10:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 17:10:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:10:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15957860793974784,"km_value":15957860793974.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:10:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516094976,"description":"Unknown IO ID 45"} 
[2026-08-28 17:10:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706784512001,"power":12537,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516094976}} 
[2026-08-28 17:10:49] local.INFO: DEBUG: GPS processor result {"connection_id":166230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708971,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:10:49] local.INFO: GPS data processed {"connection_id":166230,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:10:49] local.INFO: Acknowledgment sent {"connection_id":166230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:10:53] local.INFO: TCP Data received {"connection_id":166230,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0482af168012d1820000721b2c8004b00d327..."} 
[2026-08-28 17:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482af168012d1820000721b2c8004b00d327..."} 
[2026-08-28 17:10:53] local.INFO: Processing buffer {"connection_id":166230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482af168012d1820000721b2c8004b00d327..."} 
[2026-08-28 17:10:53] local.INFO: Packet analysis {"connection_id":166230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0482a"} 
[2026-08-28 17:10:53] local.INFO: Extracted packet for processing {"connection_id":166230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0482a"} 
[2026-08-28 17:10:53] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648968,"longitude_deg":75.6555776,"latitude_deg":11.9648968,"altitude":75,"angle":211,"satellites":39,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b2c8","is_valid_coordinates":true} 
[2026-08-28 17: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-28 17:10:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706789888001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:10:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15957860793974784,"note":"Value kept but may cause issues"} 
[2026-08-28 17:10:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795147264,"note":"Value kept but may cause issues"} 
[2026-08-28 17:10: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-28 17:10:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787917169000,"timestamp_ms":1787917169000,"timestamp_seconds":1787917169,"priority":1,"record_length":96,"hex_timestamp":"000001a0482af168"} 
[2026-08-28 17: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-28 17:10:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-28 17:10:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17: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-28 17: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-28 17:10:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:10:53] local.INFO: Teltonika packet parsed successfully {"connection_id":166230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:10:53] local.INFO: Passing IMEI to GPS processor {"connection_id":166230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:10:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":166230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:10:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:10:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:10:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:10:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706789888001,"66":12537,"105":206,"83":41984,"24":0,"16":15957860793974784,"45":1738389486795147264},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 17:10:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:10:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:10:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706789888001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:10:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 17:10:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:10:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15957860793974784,"km_value":15957860793974.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:10:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795147264,"description":"Unknown IO ID 45"} 
[2026-08-28 17:10:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706789888001,"power":12537,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795147264}} 
[2026-08-28 17:10:53] local.INFO: DEBUG: GPS processor result {"connection_id":166230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708972,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:10:53] local.INFO: GPS data processed {"connection_id":166230,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:10:53] local.INFO: Acknowledgment sent {"connection_id":166230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:10:56] local.INFO: TCP Data received {"connection_id":164869,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164869,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:10:56] local.INFO: Processing buffer {"connection_id":164869,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:10:56] local.INFO: IMEI packet received {"connection_id":164869,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 17:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":164869,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:11:01] local.INFO: TCP Data received {"connection_id":166229,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0482b9190012d7b534005e140c80007000b1e..."} 
[2026-08-28 17:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482b9190012d7b534005e140c80007000b1e..."} 
[2026-08-28 17:11:01] local.INFO: Processing buffer {"connection_id":166229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482b9190012d7b534005e140c80007000b1e..."} 
[2026-08-28 17:11:01] local.INFO: Packet analysis {"connection_id":166229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0482b"} 
[2026-08-28 17:11:01] local.INFO: Extracted packet for processing {"connection_id":166229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0482b"} 
[2026-08-28 17:11:01] local.INFO: GPS Element Parsed {"raw_longitude":763056960,"raw_latitude":98648264,"longitude_deg":76.305696,"latitude_deg":9.8648264,"altitude":7,"angle":11,"satellites":30,"speed":0,"hex_longitude":"2d7b5340","hex_latitude":"05e140c8","is_valid_coordinates":true} 
[2026-08-28 17:11:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:11:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706800384001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:11:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231806013243392,"note":"Value kept but may cause issues"} 
[2026-08-28 17:11:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886516883730259968,"note":"Value kept but may cause issues"} 
[2026-08-28 17:11: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-28 17:11:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787917210000,"timestamp_ms":1787917210000,"timestamp_seconds":1787917210,"priority":1,"record_length":96,"hex_timestamp":"000001a0482b9190"} 
[2026-08-28 17:11:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:11:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:11:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 17:11:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:11:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:11:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:11:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:11:01] local.INFO: Teltonika packet parsed successfully {"connection_id":166229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:11:01] local.INFO: Passing IMEI to GPS processor {"connection_id":166229,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:11:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":166229,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:11:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:11:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:11:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:11:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706800384001,"66":12461,"217":206,"85":15104,"24":0,"16":125231806013243392,"45":8886516883730259968},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 17:11:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:11:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:11:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706800384001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:11:01] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 17:11:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:11:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231806013243392,"km_value":125231806013243.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:11:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886516883730259968,"description":"Unknown IO ID 45"} 
[2026-08-28 17:11:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706800384001,"power":12461,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886516883730259968}} 
[2026-08-28 17:11:01] local.INFO: TCP Data received {"connection_id":164869,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164869,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:11:01] local.INFO: Processing buffer {"connection_id":164869,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:11:01] local.INFO: IMEI packet received {"connection_id":164869,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 17:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":164869,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:11:01] local.INFO: DEBUG: GPS processor result {"connection_id":166229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708973,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:11:01] local.INFO: GPS data processed {"connection_id":166229,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:11:01] local.INFO: Acknowledgment sent {"connection_id":166229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:11:03] local.INFO: TCP Data received {"connection_id":164869,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0482a7850012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482a7850012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:11:03] local.INFO: Processing buffer {"connection_id":164869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482a7850012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:11:03] local.INFO: Packet analysis {"connection_id":164869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0482a"} 
[2026-08-28 17:11:03] local.INFO: Extracted packet for processing {"connection_id":164869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0482a"} 
[2026-08-28 17:11:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706710272001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787917138000,"timestamp_ms":1787917138000,"timestamp_seconds":1787917138,"priority":1,"record_length":96,"hex_timestamp":"000001a0482a7850"} 
[2026-08-28 17:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:11:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 17:11:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:11:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":164869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":164869,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":164869,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706710272001,"66":25397,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706710272001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:11:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:11:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706710272001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:11:03] 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":708974,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:11:03] local.INFO: GPS data processed {"connection_id":164869,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:11:03] local.INFO: Acknowledgment sent {"connection_id":164869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:11:08] local.INFO: TCP Data received {"connection_id":163596,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04827efe0012d34c14006aa4840000a00e628..."} 
[2026-08-28 17:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04827efe0012d34c14006aa4840000a00e628..."} 
[2026-08-28 17:11:08] local.INFO: Processing buffer {"connection_id":163596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04827efe0012d34c14006aa4840000a00e628..."} 
[2026-08-28 17:11:08] local.INFO: Packet analysis {"connection_id":163596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04827"} 
[2026-08-28 17:11:08] local.INFO: Extracted packet for processing {"connection_id":163596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04827"} 
[2026-08-28 17:11:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706667776001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:11:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787916972000,"timestamp_ms":1787916972000,"timestamp_seconds":1787916972,"priority":1,"record_length":96,"hex_timestamp":"000001a04827efe0"} 
[2026-08-28 17:11:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:11: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-28 17:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 17:11:08] 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-28 17:11:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:11:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:11:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706667776001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706667776001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:11:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:11:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:11: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-28 17:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706667776001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":163596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:11:09] local.INFO: GPS data processed {"connection_id":163596,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:11:09] local.INFO: Acknowledgment sent {"connection_id":163596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:11:24] local.INFO: TCP Data received {"connection_id":166230,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0482b4370012d1820000721b2c8004b00d328..."} 
[2026-08-28 17:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482b4370012d1820000721b2c8004b00d328..."} 
[2026-08-28 17:11:24] local.INFO: Processing buffer {"connection_id":166230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482b4370012d1820000721b2c8004b00d328..."} 
[2026-08-28 17:11:24] local.INFO: Packet analysis {"connection_id":166230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0482b"} 
[2026-08-28 17:11:24] local.INFO: Extracted packet for processing {"connection_id":166230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0482b"} 
[2026-08-28 17:11:24] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648968,"longitude_deg":75.6555776,"latitude_deg":11.9648968,"altitude":75,"angle":211,"satellites":40,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b2c8","is_valid_coordinates":true} 
[2026-08-28 17:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:11:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706795264001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:11:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15957860793974784,"note":"Value kept but may cause issues"} 
[2026-08-28 17:11:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795147264,"note":"Value kept but may cause issues"} 
[2026-08-28 17:11:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:11:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787917190000,"timestamp_ms":1787917190000,"timestamp_seconds":1787917190,"priority":1,"record_length":96,"hex_timestamp":"000001a0482b4370"} 
[2026-08-28 17:11:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:11:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-28 17:11:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:11:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:11:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:11:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:11:24] local.INFO: Teltonika packet parsed successfully {"connection_id":166230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:11:24] local.INFO: Passing IMEI to GPS processor {"connection_id":166230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:11:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":166230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:11:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:11:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:11:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:11:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706795264001,"66":12461,"105":206,"83":41984,"24":0,"16":15957860793974784,"45":1738389486795147264},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 17:11:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:11:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:11:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706795264001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:11:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 17:11:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:11:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15957860793974784,"km_value":15957860793974.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:11:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795147264,"description":"Unknown IO ID 45"} 
[2026-08-28 17:11:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706795264001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795147264}} 
[2026-08-28 17:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":166230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708976,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:11:24] local.INFO: GPS data processed {"connection_id":166230,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:11:24] local.INFO: Acknowledgment sent {"connection_id":166230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:11:25] local.INFO: TCP Data received {"connection_id":163866,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163866,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:11:25] local.INFO: Processing buffer {"connection_id":163866,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:11:25] local.INFO: IMEI packet received {"connection_id":163866,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 17:11:25] local.INFO: IMEI acknowledgment sent {"connection_id":163866,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:11:30] local.INFO: TCP Data received {"connection_id":163866,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163866,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:11:30] local.INFO: Processing buffer {"connection_id":163866,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:11:30] local.INFO: IMEI packet received {"connection_id":163866,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 17:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":163866,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:11:30] local.INFO: TCP Data received {"connection_id":163867,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:11:30] local.INFO: Processing buffer {"connection_id":163867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:11:30] local.INFO: IMEI packet received {"connection_id":163867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 17:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":163867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:11:30] local.INFO: TCP Data received {"connection_id":163866,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0482be398012d7b530005e140a00007000b1d..."} 
[2026-08-28 17:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482be398012d7b530005e140a00007000b1d..."} 
[2026-08-28 17:11:30] local.INFO: Processing buffer {"connection_id":163866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482be398012d7b530005e140a00007000b1d..."} 
[2026-08-28 17:11:30] local.INFO: Packet analysis {"connection_id":163866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0482b"} 
[2026-08-28 17:11:30] local.INFO: Extracted packet for processing {"connection_id":163866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0482b"} 
[2026-08-28 17:11:30] local.INFO: GPS Element Parsed {"raw_longitude":763056896,"raw_latitude":98648224,"longitude_deg":76.3056896,"latitude_deg":9.8648224,"altitude":7,"angle":11,"satellites":29,"speed":0,"hex_longitude":"2d7b5300","hex_latitude":"05e140a0","is_valid_coordinates":true} 
[2026-08-28 17:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:11:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706805760001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231814603177984,"note":"Value kept but may cause issues"} 
[2026-08-28 17:11:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886516883730253824,"note":"Value kept but may cause issues"} 
[2026-08-28 17:11:30] 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-28 17:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787917231000,"timestamp_ms":1787917231000,"timestamp_seconds":1787917231,"priority":1,"record_length":96,"hex_timestamp":"000001a0482be398"} 
[2026-08-28 17:11:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:11:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 17:11:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:11:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:11:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:11:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":163866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":163866,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":163866,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:11:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:11:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706805760001,"66":12461,"217":206,"85":15104,"24":0,"16":125231814603177984,"45":8886516883730253824},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 17:11:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:11:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:11:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706805760001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:11:30] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 17:11:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:11:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231814603177984,"km_value":125231814603177.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:11:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886516883730253824,"description":"Unknown IO ID 45"} 
[2026-08-28 17:11:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706805760001,"power":12461,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886516883730253824}} 
[2026-08-28 17:11:30] local.INFO: DEBUG: GPS processor result {"connection_id":163866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708977,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:11:30] local.INFO: GPS data processed {"connection_id":163866,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:11:30] local.INFO: Acknowledgment sent {"connection_id":163866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:11:35] local.INFO: TCP Data received {"connection_id":164869,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0482a7850012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482a7850012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:11:35] local.INFO: Processing buffer {"connection_id":164869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482a7850012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:11:35] local.INFO: Packet analysis {"connection_id":164869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0482a"} 
[2026-08-28 17:11:35] local.INFO: Extracted packet for processing {"connection_id":164869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0482a"} 
[2026-08-28 17:11:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706710272001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787917138000,"timestamp_ms":1787917138000,"timestamp_seconds":1787917138,"priority":1,"record_length":96,"hex_timestamp":"000001a0482a7850"} 
[2026-08-28 17:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:11:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 17:11:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:11:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":164869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":164869,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":164869,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706710272001,"66":25397,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706710272001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:11:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:11:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706710272001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:11:35] 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":708978,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:11:35] local.INFO: GPS data processed {"connection_id":164869,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:11:35] local.INFO: Acknowledgment sent {"connection_id":164869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:11:36] local.INFO: TCP Data received {"connection_id":163867,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:11:36] local.INFO: Processing buffer {"connection_id":163867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:11:36] local.INFO: IMEI packet received {"connection_id":163867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 17:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":163867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:11:38] local.INFO: TCP Data received {"connection_id":163867,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04827efe0012d34c14006aa4840000a00e628..."} 
[2026-08-28 17:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04827efe0012d34c14006aa4840000a00e628..."} 
[2026-08-28 17:11:38] local.INFO: Processing buffer {"connection_id":163867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04827efe0012d34c14006aa4840000a00e628..."} 
[2026-08-28 17:11:38] local.INFO: Packet analysis {"connection_id":163867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04827"} 
[2026-08-28 17:11:38] local.INFO: Extracted packet for processing {"connection_id":163867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04827"} 
[2026-08-28 17:11:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706667776001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:11:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787916972000,"timestamp_ms":1787916972000,"timestamp_seconds":1787916972,"priority":1,"record_length":96,"hex_timestamp":"000001a04827efe0"} 
[2026-08-28 17:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:11: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-28 17:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 17:11: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-28 17:11:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706667776001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706667776001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:11:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:11:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:11: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-28 17:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706667776001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":163867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:11:38] local.INFO: GPS data processed {"connection_id":163867,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:11:38] local.INFO: Acknowledgment sent {"connection_id":163867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:11:43] local.INFO: TCP Data received {"connection_id":163597,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163597,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:11:43] local.INFO: Processing buffer {"connection_id":163597,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:11:43] local.INFO: IMEI packet received {"connection_id":163597,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 17:11:43] local.INFO: IMEI acknowledgment sent {"connection_id":163597,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:11:48] local.INFO: TCP Data received {"connection_id":163597,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163597,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:11:48] local.INFO: Processing buffer {"connection_id":163597,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:11:48] local.INFO: IMEI packet received {"connection_id":163597,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":163597,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:11:53] local.INFO: TCP Data received {"connection_id":163597,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0482b9578012d1820000721b2c8004b00d327..."} 
[2026-08-28 17:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482b9578012d1820000721b2c8004b00d327..."} 
[2026-08-28 17:11:53] local.INFO: Processing buffer {"connection_id":163597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482b9578012d1820000721b2c8004b00d327..."} 
[2026-08-28 17:11:53] local.INFO: Packet analysis {"connection_id":163597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0482b"} 
[2026-08-28 17:11:53] local.INFO: Extracted packet for processing {"connection_id":163597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0482b"} 
[2026-08-28 17:11:53] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648968,"longitude_deg":75.6555776,"latitude_deg":11.9648968,"altitude":75,"angle":211,"satellites":39,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b2c8","is_valid_coordinates":true} 
[2026-08-28 17: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-28 17:11:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706800640001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:11:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15957860793974784,"note":"Value kept but may cause issues"} 
[2026-08-28 17:11:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795147264,"note":"Value kept but may cause issues"} 
[2026-08-28 17:11: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-28 17:11:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787917211000,"timestamp_ms":1787917211000,"timestamp_seconds":1787917211,"priority":1,"record_length":96,"hex_timestamp":"000001a0482b9578"} 
[2026-08-28 17: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-28 17:11:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 17:11:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17: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-28 17: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-28 17:11:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:11:53] local.INFO: Teltonika packet parsed successfully {"connection_id":163597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:11:53] local.INFO: Passing IMEI to GPS processor {"connection_id":163597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:11:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":163597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:11:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:11:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:11:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:11:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706800640001,"66":12526,"105":206,"83":41984,"24":0,"16":15957860793974784,"45":1738389486795147264},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 17:11:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:11:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:11:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706800640001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:11:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 17:11:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:11:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15957860793974784,"km_value":15957860793974.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:11:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795147264,"description":"Unknown IO ID 45"} 
[2026-08-28 17:11:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706800640001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795147264}} 
[2026-08-28 17:11:53] 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":708980,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:11:53] local.INFO: GPS data processed {"connection_id":163597,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:11:53] local.INFO: Acknowledgment sent {"connection_id":163597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:11:56] local.INFO: TCP Data received {"connection_id":166231,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166231,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:11:56] local.INFO: Processing buffer {"connection_id":166231,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:11:56] local.INFO: IMEI packet received {"connection_id":166231,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 17:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":166231,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:12:01] local.INFO: TCP Data received {"connection_id":166231,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166231,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:12:01] local.INFO: Processing buffer {"connection_id":166231,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:12:01] local.INFO: IMEI packet received {"connection_id":166231,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 17:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":166231,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:12:02] local.INFO: TCP Data received {"connection_id":163866,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0482c35a0012d7b530005e140c00008000b1e..."} 
[2026-08-28 17:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482c35a0012d7b530005e140c00008000b1e..."} 
[2026-08-28 17:12:02] local.INFO: Processing buffer {"connection_id":163866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482c35a0012d7b530005e140c00008000b1e..."} 
[2026-08-28 17:12:02] local.INFO: Packet analysis {"connection_id":163866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0482c"} 
[2026-08-28 17:12:02] local.INFO: Extracted packet for processing {"connection_id":163866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0482c"} 
[2026-08-28 17:12:02] local.INFO: GPS Element Parsed {"raw_longitude":763056896,"raw_latitude":98648256,"longitude_deg":76.3056896,"latitude_deg":9.8648256,"altitude":8,"angle":11,"satellites":30,"speed":0,"hex_longitude":"2d7b5300","hex_latitude":"05e140c0","is_valid_coordinates":true} 
[2026-08-28 17:12:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706811136001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231836078014464,"note":"Value kept but may cause issues"} 
[2026-08-28 17:12:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886446514986065920,"note":"Value kept but may cause issues"} 
[2026-08-28 17:12:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787917252000,"timestamp_ms":1787917252000,"timestamp_seconds":1787917252,"priority":1,"record_length":96,"hex_timestamp":"000001a0482c35a0"} 
[2026-08-28 17:12:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:12:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:12:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 17:12:02] 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-28 17:12:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:12:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163866,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163866,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:12:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706811136001,"66":12472,"217":206,"85":15104,"24":0,"16":125231836078014464,"45":8886446514986065920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 17:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706811136001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:12:02] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 17:12:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:12:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231836078014464,"km_value":125231836078014.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:12:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886446514986065920,"description":"Unknown IO ID 45"} 
[2026-08-28 17:12:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706811136001,"power":12472,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886446514986065920}} 
[2026-08-28 17:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":163866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708981,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:12:02] local.INFO: GPS data processed {"connection_id":163866,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:12:02] local.INFO: Acknowledgment sent {"connection_id":163866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:12:02] local.INFO: TCP Data received {"connection_id":166231,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0482a7850012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482a7850012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:12:02] local.INFO: Processing buffer {"connection_id":166231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482a7850012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:12:02] local.INFO: Packet analysis {"connection_id":166231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0482a"} 
[2026-08-28 17:12:02] local.INFO: Extracted packet for processing {"connection_id":166231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0482a"} 
[2026-08-28 17:12:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:12:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706710272001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:12:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:12:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787917138000,"timestamp_ms":1787917138000,"timestamp_seconds":1787917138,"priority":1,"record_length":96,"hex_timestamp":"000001a0482a7850"} 
[2026-08-28 17:12:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:12:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:12:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 17:12:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:12:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:12:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":166231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":166231,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":166231,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:12:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706710272001,"66":25397,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706710272001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:12:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:12:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:12:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:12:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:12:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706710272001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":166231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708982,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:12:02] local.INFO: GPS data processed {"connection_id":166231,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:12:02] local.INFO: Acknowledgment sent {"connection_id":166231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:12:10] local.INFO: TCP Data received {"connection_id":163867,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0482c87a8012d34c14006aa4840000a00e628..."} 
[2026-08-28 17:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482c87a8012d34c14006aa4840000a00e628..."} 
[2026-08-28 17:12:10] local.INFO: Processing buffer {"connection_id":163867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482c87a8012d34c14006aa4840000a00e628..."} 
[2026-08-28 17:12:10] local.INFO: Packet analysis {"connection_id":163867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0482c"} 
[2026-08-28 17:12:10] local.INFO: Extracted packet for processing {"connection_id":163867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0482c"} 
[2026-08-28 17:12:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706744832001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:12:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:12:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787917273000,"timestamp_ms":1787917273000,"timestamp_seconds":1787917273,"priority":1,"record_length":96,"hex_timestamp":"000001a0482c87a8"} 
[2026-08-28 17:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:12:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 17:12:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:12:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:12:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706744832001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706744832001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:12:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:12:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:12:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706744832001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":163867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:12:10] local.INFO: GPS data processed {"connection_id":163867,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:12:10] local.INFO: Acknowledgment sent {"connection_id":163867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:12:24] local.INFO: TCP Data received {"connection_id":163597,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0482be780012d1820000721b2c8004b00d326..."} 
[2026-08-28 17:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482be780012d1820000721b2c8004b00d326..."} 
[2026-08-28 17:12:24] local.INFO: Processing buffer {"connection_id":163597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482be780012d1820000721b2c8004b00d326..."} 
[2026-08-28 17:12:24] local.INFO: Packet analysis {"connection_id":163597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0482b"} 
[2026-08-28 17:12:24] local.INFO: Extracted packet for processing {"connection_id":163597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0482b"} 
[2026-08-28 17:12:24] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648968,"longitude_deg":75.6555776,"latitude_deg":11.9648968,"altitude":75,"angle":211,"satellites":38,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b2c8","is_valid_coordinates":true} 
[2026-08-28 17:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:12:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706806016001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:12:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15957860793974784,"note":"Value kept but may cause issues"} 
[2026-08-28 17:12:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795147264,"note":"Value kept but may cause issues"} 
[2026-08-28 17:12:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:12:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787917232000,"timestamp_ms":1787917232000,"timestamp_seconds":1787917232,"priority":1,"record_length":96,"hex_timestamp":"000001a0482be780"} 
[2026-08-28 17:12:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:12:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-28 17:12:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:12:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:12:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:12:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:12:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:12:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:12:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:12:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:12:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:12:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:12:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706806016001,"66":12526,"105":206,"83":41984,"24":0,"16":15957860793974784,"45":1738389486795147264},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 17:12:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:12:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:12:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706806016001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:12:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 17:12:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:12:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15957860793974784,"km_value":15957860793974.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:12:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795147264,"description":"Unknown IO ID 45"} 
[2026-08-28 17:12:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706806016001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795147264}} 
[2026-08-28 17:12:24] 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":708984,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:12:24] local.INFO: GPS data processed {"connection_id":163597,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:12:24] local.INFO: Acknowledgment sent {"connection_id":163597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:12:25] local.INFO: TCP Data received {"connection_id":164870,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164870,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:12:25] local.INFO: Processing buffer {"connection_id":164870,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:12:25] local.INFO: IMEI packet received {"connection_id":164870,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 17:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":164870,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:12:30] local.INFO: TCP Data received {"connection_id":164870,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164870,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:12:30] local.INFO: Processing buffer {"connection_id":164870,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:12:30] local.INFO: IMEI packet received {"connection_id":164870,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 17:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":164870,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:12:31] local.INFO: TCP Data received {"connection_id":163868,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:12:31] local.INFO: Processing buffer {"connection_id":163868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:12:31] local.INFO: IMEI packet received {"connection_id":163868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 17:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":163868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:12:31] local.INFO: TCP Data received {"connection_id":164870,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0482c87a8012d7b534005e140d80009000b1e..."} 
[2026-08-28 17:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482c87a8012d7b534005e140d80009000b1e..."} 
[2026-08-28 17:12:31] local.INFO: Processing buffer {"connection_id":164870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482c87a8012d7b534005e140d80009000b1e..."} 
[2026-08-28 17:12:31] local.INFO: Packet analysis {"connection_id":164870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0482c"} 
[2026-08-28 17:12:31] local.INFO: Extracted packet for processing {"connection_id":164870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0482c"} 
[2026-08-28 17:12:31] local.INFO: GPS Element Parsed {"raw_longitude":763056960,"raw_latitude":98648280,"longitude_deg":76.305696,"latitude_deg":9.864828,"altitude":9,"angle":11,"satellites":30,"speed":0,"hex_longitude":"2d7b5340","hex_latitude":"05e140d8","is_valid_coordinates":true} 
[2026-08-28 17:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706816512001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231844667949056,"note":"Value kept but may cause issues"} 
[2026-08-28 17:12:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886446514986074112,"note":"Value kept but may cause issues"} 
[2026-08-28 17:12:31] 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-28 17:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787917273000,"timestamp_ms":1787917273000,"timestamp_seconds":1787917273,"priority":1,"record_length":96,"hex_timestamp":"000001a0482c87a8"} 
[2026-08-28 17:12:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:12:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-28 17:12:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2094,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:12:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:12:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":164870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":164870,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":164870,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:12:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706816512001,"66":12461,"217":206,"85":15104,"24":0,"16":125231844667949056,"45":8886446514986074112},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 17:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706816512001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:12:31] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 17:12:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:12:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231844667949056,"km_value":125231844667949.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:12:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886446514986074112,"description":"Unknown IO ID 45"} 
[2026-08-28 17:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706816512001,"power":12461,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886446514986074112}} 
[2026-08-28 17:12:31] 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":708985,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:12:31] local.INFO: GPS data processed {"connection_id":164870,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:12:31] local.INFO: Acknowledgment sent {"connection_id":164870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:12:34] local.INFO: TCP Data received {"connection_id":166231,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0482a7850012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482a7850012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:12:34] local.INFO: Processing buffer {"connection_id":166231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482a7850012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:12:34] local.INFO: Packet analysis {"connection_id":166231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0482a"} 
[2026-08-28 17:12:34] local.INFO: Extracted packet for processing {"connection_id":166231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0482a"} 
[2026-08-28 17:12:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706710272001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:12:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:12:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787917138000,"timestamp_ms":1787917138000,"timestamp_seconds":1787917138,"priority":1,"record_length":96,"hex_timestamp":"000001a0482a7850"} 
[2026-08-28 17:12:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:12:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 17:12:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:12:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:12:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":166231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":166231,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":166231,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:12:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706710272001,"66":25397,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706710272001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:12:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:12:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:12:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706710272001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":166231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708986,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:12:34] local.INFO: GPS data processed {"connection_id":166231,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:12:34] local.INFO: Acknowledgment sent {"connection_id":166231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:12:35] local.INFO: TCP Data received {"connection_id":163868,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:12:35] local.INFO: Processing buffer {"connection_id":163868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:12:35] local.INFO: IMEI packet received {"connection_id":163868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 17:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":163868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:12:38] local.INFO: TCP Data received {"connection_id":163868,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0482c87a8012d34c14006aa4840000a00e628..."} 
[2026-08-28 17:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482c87a8012d34c14006aa4840000a00e628..."} 
[2026-08-28 17:12:38] local.INFO: Processing buffer {"connection_id":163868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482c87a8012d34c14006aa4840000a00e628..."} 
[2026-08-28 17:12:38] local.INFO: Packet analysis {"connection_id":163868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0482c"} 
[2026-08-28 17:12:38] local.INFO: Extracted packet for processing {"connection_id":163868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0482c"} 
[2026-08-28 17:12:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706744832001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:12:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787917273000,"timestamp_ms":1787917273000,"timestamp_seconds":1787917273,"priority":1,"record_length":96,"hex_timestamp":"000001a0482c87a8"} 
[2026-08-28 17:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:12:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 17:12: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-28 17:12:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706744832001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706744832001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:12:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:12:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17: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-28 17:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706744832001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":163868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:12:38] local.INFO: GPS data processed {"connection_id":163868,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:12:38] local.INFO: Acknowledgment sent {"connection_id":163868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:12:43] local.INFO: TCP Data received {"connection_id":164871,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164871,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:12:43] local.INFO: Processing buffer {"connection_id":164871,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:12:43] local.INFO: IMEI packet received {"connection_id":164871,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 17:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":164871,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:12:48] local.INFO: TCP Data received {"connection_id":164871,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164871,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:12:48] local.INFO: Processing buffer {"connection_id":164871,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:12:48] local.INFO: IMEI packet received {"connection_id":164871,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":164871,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:12:49] local.INFO: TCP Data received {"connection_id":164871,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0482c3988012d1820000721b2c8004b00d325..."} 
[2026-08-28 17:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482c3988012d1820000721b2c8004b00d325..."} 
[2026-08-28 17:12:49] local.INFO: Processing buffer {"connection_id":164871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482c3988012d1820000721b2c8004b00d325..."} 
[2026-08-28 17:12:49] local.INFO: Packet analysis {"connection_id":164871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0482c"} 
[2026-08-28 17:12:49] local.INFO: Extracted packet for processing {"connection_id":164871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0482c"} 
[2026-08-28 17:12:49] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648968,"longitude_deg":75.6555776,"latitude_deg":11.9648968,"altitude":75,"angle":211,"satellites":37,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b2c8","is_valid_coordinates":true} 
[2026-08-28 17: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-28 17:12:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706811392001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:12:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15957860793974784,"note":"Value kept but may cause issues"} 
[2026-08-28 17:12:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795147264,"note":"Value kept but may cause issues"} 
[2026-08-28 17:12:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:12:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787917253000,"timestamp_ms":1787917253000,"timestamp_seconds":1787917253,"priority":1,"record_length":96,"hex_timestamp":"000001a0482c3988"} 
[2026-08-28 17: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-28 17:12:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-28 17:12:49] 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-28 17: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-28 17: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-28 17:12:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:12:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:12:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:12:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:12:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:12:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:12:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:12:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706811392001,"66":12504,"105":206,"83":41984,"24":0,"16":15957860793974784,"45":1738389486795147264},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 17:12:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:12:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:12:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706811392001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:12:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 17:12:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:12:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15957860793974784,"km_value":15957860793974.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:12:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795147264,"description":"Unknown IO ID 45"} 
[2026-08-28 17:12:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706811392001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795147264}} 
[2026-08-28 17:12:49] 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":708988,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:12:49] local.INFO: GPS data processed {"connection_id":164871,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:12:49] local.INFO: Acknowledgment sent {"connection_id":164871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:13:01] local.INFO: TCP Data received {"connection_id":163869,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163869,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:13:01] local.INFO: Processing buffer {"connection_id":163869,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:13:01] local.INFO: IMEI packet received {"connection_id":163869,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 17:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":163869,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:13:02] local.INFO: TCP Data received {"connection_id":164870,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0482cd9b0012d7b534005e140e00009000b1d..."} 
[2026-08-28 17:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482cd9b0012d7b534005e140e00009000b1d..."} 
[2026-08-28 17:13:02] local.INFO: Processing buffer {"connection_id":164870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482cd9b0012d7b534005e140e00009000b1d..."} 
[2026-08-28 17:13:02] local.INFO: Packet analysis {"connection_id":164870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0482c"} 
[2026-08-28 17:13:02] local.INFO: Extracted packet for processing {"connection_id":164870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0482c"} 
[2026-08-28 17:13:02] local.INFO: GPS Element Parsed {"raw_longitude":763056960,"raw_latitude":98648288,"longitude_deg":76.305696,"latitude_deg":9.8648288,"altitude":9,"angle":11,"satellites":29,"speed":0,"hex_longitude":"2d7b5340","hex_latitude":"05e140e0","is_valid_coordinates":true} 
[2026-08-28 17:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:13:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706821888001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:13:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231853257883648,"note":"Value kept but may cause issues"} 
[2026-08-28 17:13:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886516883730257920,"note":"Value kept but may cause issues"} 
[2026-08-28 17:13:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:13:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787917294000,"timestamp_ms":1787917294000,"timestamp_seconds":1787917294,"priority":1,"record_length":96,"hex_timestamp":"000001a0482cd9b0"} 
[2026-08-28 17:13:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:13:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 17:13:02] 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-28 17:13:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:13:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:13:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:13:02] local.INFO: Teltonika packet parsed successfully {"connection_id":164870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:13:02] local.INFO: Passing IMEI to GPS processor {"connection_id":164870,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:13:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":164870,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:13:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:13:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:13:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:13:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706821888001,"66":12472,"217":206,"85":15104,"24":0,"16":125231853257883648,"45":8886516883730257920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 17:13:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:13:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:13:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706821888001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:13:02] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 17:13:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:13:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231853257883648,"km_value":125231853257883.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:13:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886516883730257920,"description":"Unknown IO ID 45"} 
[2026-08-28 17:13:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706821888001,"power":12472,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886516883730257920}} 
[2026-08-28 17:13:02] 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":708989,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:13:02] local.INFO: GPS data processed {"connection_id":164870,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:13:02] local.INFO: Acknowledgment sent {"connection_id":164870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:13:06] local.INFO: TCP Data received {"connection_id":163869,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163869,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:13:06] local.INFO: Processing buffer {"connection_id":163869,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:13:06] local.INFO: IMEI packet received {"connection_id":163869,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 17:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":163869,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:13:08] local.INFO: TCP Data received {"connection_id":163869,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0482a7850012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482a7850012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:13:08] local.INFO: Processing buffer {"connection_id":163869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482a7850012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:13:08] local.INFO: Packet analysis {"connection_id":163869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0482a"} 
[2026-08-28 17:13:08] local.INFO: Extracted packet for processing {"connection_id":163869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0482a"} 
[2026-08-28 17:13:08] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706710272001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:13:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:13:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787917138000,"timestamp_ms":1787917138000,"timestamp_seconds":1787917138,"priority":1,"record_length":96,"hex_timestamp":"000001a0482a7850"} 
[2026-08-28 17:13:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:13:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 17:13:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:13:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:13:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163869,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163869,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:13:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706710272001,"66":25397,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706710272001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:13:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:13:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:13:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:13:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706710272001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":163869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708990,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:13:08] local.INFO: GPS data processed {"connection_id":163869,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:13:08] local.INFO: Acknowledgment sent {"connection_id":163869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:13:09] local.INFO: TCP Data received {"connection_id":163868,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0482c87a8012d34c14006aa4840000a00e628..."} 
[2026-08-28 17:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482c87a8012d34c14006aa4840000a00e628..."} 
[2026-08-28 17:13:09] local.INFO: Processing buffer {"connection_id":163868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482c87a8012d34c14006aa4840000a00e628..."} 
[2026-08-28 17:13:09] local.INFO: Packet analysis {"connection_id":163868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0482c"} 
[2026-08-28 17:13:09] local.INFO: Extracted packet for processing {"connection_id":163868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0482c"} 
[2026-08-28 17:13:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706744832001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:13:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:13:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787917273000,"timestamp_ms":1787917273000,"timestamp_seconds":1787917273,"priority":1,"record_length":96,"hex_timestamp":"000001a0482c87a8"} 
[2026-08-28 17:13:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:13:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 17:13: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-28 17:13:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:13:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:13:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706744832001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706744832001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:13:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:13:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:13:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706744832001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":163868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:13:10] local.INFO: GPS data processed {"connection_id":163868,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:13:10] local.INFO: Acknowledgment sent {"connection_id":163868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:13:12] local.INFO: TCP Data received {"connection_id":163869,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0482a7850012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482a7850012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:13:12] local.INFO: Processing buffer {"connection_id":163869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482a7850012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:13:12] local.INFO: Packet analysis {"connection_id":163869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0482a"} 
[2026-08-28 17:13:12] local.INFO: Extracted packet for processing {"connection_id":163869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0482a"} 
[2026-08-28 17:13:12] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706710272001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:13:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:13:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787917138000,"timestamp_ms":1787917138000,"timestamp_seconds":1787917138,"priority":1,"record_length":96,"hex_timestamp":"000001a0482a7850"} 
[2026-08-28 17:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:13:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 17:13:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:13:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":163869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":163869,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":163869,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:13:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706710272001,"66":25397,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706710272001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:13:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:13:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:13:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706710272001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:13:13] local.INFO: DEBUG: GPS processor result {"connection_id":163869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708992,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:13:13] local.INFO: GPS data processed {"connection_id":163869,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:13:13] local.INFO: Acknowledgment sent {"connection_id":163869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:13:20] local.INFO: TCP Data received {"connection_id":164871,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0482c8b90012d1820000721b2c8004b00d327..."} 
[2026-08-28 17:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482c8b90012d1820000721b2c8004b00d327..."} 
[2026-08-28 17:13:20] local.INFO: Processing buffer {"connection_id":164871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482c8b90012d1820000721b2c8004b00d327..."} 
[2026-08-28 17:13:20] local.INFO: Packet analysis {"connection_id":164871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0482c"} 
[2026-08-28 17:13:20] local.INFO: Extracted packet for processing {"connection_id":164871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0482c"} 
[2026-08-28 17:13:20] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648968,"longitude_deg":75.6555776,"latitude_deg":11.9648968,"altitude":75,"angle":211,"satellites":39,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b2c8","is_valid_coordinates":true} 
[2026-08-28 17:13:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:13:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706816768001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:13:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15957860793974784,"note":"Value kept but may cause issues"} 
[2026-08-28 17:13:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795147264,"note":"Value kept but may cause issues"} 
[2026-08-28 17:13:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:13:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787917274000,"timestamp_ms":1787917274000,"timestamp_seconds":1787917274,"priority":1,"record_length":96,"hex_timestamp":"000001a0482c8b90"} 
[2026-08-28 17:13:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:13:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:13:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-28 17:13:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:13:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:13:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:13:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:13:20] local.INFO: Teltonika packet parsed successfully {"connection_id":164871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:13:20] local.INFO: Passing IMEI to GPS processor {"connection_id":164871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:13:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":164871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:13:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:13:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:13:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:13:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706816768001,"66":12428,"105":206,"83":41984,"24":0,"16":15957860793974784,"45":1738389486795147264},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 17:13:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:13:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:13:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706816768001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:13:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 17:13:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:13:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15957860793974784,"km_value":15957860793974.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:13:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795147264,"description":"Unknown IO ID 45"} 
[2026-08-28 17:13:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706816768001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795147264}} 
[2026-08-28 17:13:20] 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":708993,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:13:20] local.INFO: GPS data processed {"connection_id":164871,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:13:20] local.INFO: Acknowledgment sent {"connection_id":164871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:13:25] local.INFO: TCP Data received {"connection_id":163870,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163870,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:13:25] local.INFO: Processing buffer {"connection_id":163870,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:13:25] local.INFO: IMEI packet received {"connection_id":163870,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 17:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":163870,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:13:30] local.INFO: TCP Data received {"connection_id":164872,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:13:30] local.INFO: Processing buffer {"connection_id":164872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:13:30] local.INFO: IMEI packet received {"connection_id":164872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 17:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":164872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:13:30] local.INFO: TCP Data received {"connection_id":163870,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163870,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:13:30] local.INFO: Processing buffer {"connection_id":163870,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:13:30] local.INFO: IMEI packet received {"connection_id":163870,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 17:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":163870,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:13:31] local.INFO: TCP Data received {"connection_id":163870,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0482d2bb8012d7b530005e140d8000a000b1e..."} 
[2026-08-28 17:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482d2bb8012d7b530005e140d8000a000b1e..."} 
[2026-08-28 17:13:31] local.INFO: Processing buffer {"connection_id":163870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482d2bb8012d7b530005e140d8000a000b1e..."} 
[2026-08-28 17:13:31] local.INFO: Packet analysis {"connection_id":163870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0482d"} 
[2026-08-28 17:13:31] local.INFO: Extracted packet for processing {"connection_id":163870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0482d"} 
[2026-08-28 17:13:31] local.INFO: GPS Element Parsed {"raw_longitude":763056896,"raw_latitude":98648280,"longitude_deg":76.3056896,"latitude_deg":9.864828,"altitude":10,"angle":11,"satellites":30,"speed":0,"hex_longitude":"2d7b5300","hex_latitude":"05e140d8","is_valid_coordinates":true} 
[2026-08-28 17:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706827264001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231866142785536,"note":"Value kept but may cause issues"} 
[2026-08-28 17:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886516883730259968,"note":"Value kept but may cause issues"} 
[2026-08-28 17:13:31] 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-28 17:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787917315000,"timestamp_ms":1787917315000,"timestamp_seconds":1787917315,"priority":1,"record_length":96,"hex_timestamp":"000001a0482d2bb8"} 
[2026-08-28 17:13:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:13:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-28 17:13:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2094,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:13:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:13:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":163870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":163870,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":163870,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:13:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706827264001,"66":12472,"217":206,"85":15104,"24":0,"16":125231866142785536,"45":8886516883730259968},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 17:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706827264001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:13:31] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 17:13:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231866142785536,"km_value":125231866142785.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886516883730259968,"description":"Unknown IO ID 45"} 
[2026-08-28 17:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706827264001,"power":12472,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886516883730259968}} 
[2026-08-28 17:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":163870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708994,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:13:31] local.INFO: GPS data processed {"connection_id":163870,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:13:31] local.INFO: Acknowledgment sent {"connection_id":163870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:13:35] local.INFO: TCP Data received {"connection_id":164872,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:13:35] local.INFO: Processing buffer {"connection_id":164872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:13:35] local.INFO: IMEI packet received {"connection_id":164872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 17:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":164872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:13:37] local.INFO: TCP Data received {"connection_id":164872,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0482c87a8012d34c14006aa4840000a00e628..."} 
[2026-08-28 17:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482c87a8012d34c14006aa4840000a00e628..."} 
[2026-08-28 17:13:37] local.INFO: Processing buffer {"connection_id":164872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482c87a8012d34c14006aa4840000a00e628..."} 
[2026-08-28 17:13:37] local.INFO: Packet analysis {"connection_id":164872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0482c"} 
[2026-08-28 17:13:37] local.INFO: Extracted packet for processing {"connection_id":164872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0482c"} 
[2026-08-28 17:13:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706744832001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787917273000,"timestamp_ms":1787917273000,"timestamp_seconds":1787917273,"priority":1,"record_length":96,"hex_timestamp":"000001a0482c87a8"} 
[2026-08-28 17:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 17:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706744832001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706744832001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:13:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:13:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:13: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-28 17:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706744832001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:13:37] 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":708995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:13:37] local.INFO: GPS data processed {"connection_id":164872,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:13:37] local.INFO: Acknowledgment sent {"connection_id":164872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:13:48] local.INFO: TCP Data received {"connection_id":163598,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163598,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:13:48] local.INFO: Processing buffer {"connection_id":163598,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:13:48] local.INFO: IMEI packet received {"connection_id":163598,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 17:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":163598,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:13:53] local.INFO: TCP Data received {"connection_id":163598,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163598,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:13:53] local.INFO: Processing buffer {"connection_id":163598,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:13:53] local.INFO: IMEI packet received {"connection_id":163598,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":163598,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:13:54] local.INFO: TCP Data received {"connection_id":163598,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0482cdd98012d1820000721b2c8004b00d328..."} 
[2026-08-28 17:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482cdd98012d1820000721b2c8004b00d328..."} 
[2026-08-28 17:13:54] local.INFO: Processing buffer {"connection_id":163598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482cdd98012d1820000721b2c8004b00d328..."} 
[2026-08-28 17:13:54] local.INFO: Packet analysis {"connection_id":163598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0482c"} 
[2026-08-28 17:13:54] local.INFO: Extracted packet for processing {"connection_id":163598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0482c"} 
[2026-08-28 17:13:54] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648968,"longitude_deg":75.6555776,"latitude_deg":11.9648968,"altitude":75,"angle":211,"satellites":40,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b2c8","is_valid_coordinates":true} 
[2026-08-28 17:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:13:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706822144001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:13:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15957860793974784,"note":"Value kept but may cause issues"} 
[2026-08-28 17:13:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795147264,"note":"Value kept but may cause issues"} 
[2026-08-28 17:13:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:13:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787917295000,"timestamp_ms":1787917295000,"timestamp_seconds":1787917295,"priority":1,"record_length":96,"hex_timestamp":"000001a0482cdd98"} 
[2026-08-28 17:13:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:13: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-28 17:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-28 17:13:54] 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-28 17:13:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:13:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:13:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:13:54] local.INFO: Teltonika packet parsed successfully {"connection_id":163598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:13:54] local.INFO: Passing IMEI to GPS processor {"connection_id":163598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:13:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":163598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:13:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:13:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:13:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:13:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706822144001,"66":12504,"105":206,"83":41984,"24":0,"16":15957860793974784,"45":1738389486795147264},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 17:13:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:13:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:13:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706822144001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:13:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 17:13:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:13:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15957860793974784,"km_value":15957860793974.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:13:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795147264,"description":"Unknown IO ID 45"} 
[2026-08-28 17:13:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706822144001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795147264}} 
[2026-08-28 17:13:54] local.INFO: DEBUG: GPS processor result {"connection_id":163598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708996,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:13:54] local.INFO: GPS data processed {"connection_id":163598,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:13:54] local.INFO: Acknowledgment sent {"connection_id":163598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:13:56] local.INFO: TCP Data received {"connection_id":163871,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163871,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:13:56] local.INFO: Processing buffer {"connection_id":163871,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:13:56] local.INFO: IMEI packet received {"connection_id":163871,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 17:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":163871,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:14:01] local.INFO: TCP Data received {"connection_id":163871,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163871,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:14:01] local.INFO: Processing buffer {"connection_id":163871,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:14:01] local.INFO: IMEI packet received {"connection_id":163871,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 17:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":163871,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:14:02] local.INFO: TCP Data received {"connection_id":163871,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0482a7850012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482a7850012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:14:02] local.INFO: Processing buffer {"connection_id":163871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482a7850012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:14:02] local.INFO: Packet analysis {"connection_id":163871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0482a"} 
[2026-08-28 17:14:02] local.INFO: Extracted packet for processing {"connection_id":163871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0482a"} 
[2026-08-28 17:14:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706710272001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:14:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:14:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787917138000,"timestamp_ms":1787917138000,"timestamp_seconds":1787917138,"priority":1,"record_length":96,"hex_timestamp":"000001a0482a7850"} 
[2026-08-28 17:14:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:14:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 17:14:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:14:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:14:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163871,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163871,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:14:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706710272001,"66":25397,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706710272001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:14:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:14:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:14:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706710272001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":163871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708997,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:14:02] local.INFO: GPS data processed {"connection_id":163871,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:14:02] local.INFO: Acknowledgment sent {"connection_id":163871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:14:02] local.INFO: TCP Data received {"connection_id":163870,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0482d7dc0012d7b534005e140d0000e000b1d..."} 
[2026-08-28 17:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482d7dc0012d7b534005e140d0000e000b1d..."} 
[2026-08-28 17:14:02] local.INFO: Processing buffer {"connection_id":163870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482d7dc0012d7b534005e140d0000e000b1d..."} 
[2026-08-28 17:14:02] local.INFO: Packet analysis {"connection_id":163870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0482d"} 
[2026-08-28 17:14:02] local.INFO: Extracted packet for processing {"connection_id":163870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0482d"} 
[2026-08-28 17:14:02] local.INFO: GPS Element Parsed {"raw_longitude":763056960,"raw_latitude":98648272,"longitude_deg":76.305696,"latitude_deg":9.8648272,"altitude":14,"angle":11,"satellites":29,"speed":0,"hex_longitude":"2d7b5340","hex_latitude":"05e140d0","is_valid_coordinates":true} 
[2026-08-28 17:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706832640001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231870437752832,"note":"Value kept but may cause issues"} 
[2026-08-28 17:14:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886446514986080256,"note":"Value kept but may cause issues"} 
[2026-08-28 17:14:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787917336000,"timestamp_ms":1787917336000,"timestamp_seconds":1787917336,"priority":1,"record_length":96,"hex_timestamp":"000001a0482d7dc0"} 
[2026-08-28 17:14:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:14:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-28 17:14:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2094,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:14:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:14:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163870,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163870,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:14:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706832640001,"66":12461,"217":206,"85":15104,"24":0,"16":125231870437752832,"45":8886446514986080256},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 17:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706832640001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:14:02] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 17:14:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231870437752832,"km_value":125231870437752.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:14:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886446514986080256,"description":"Unknown IO ID 45"} 
[2026-08-28 17:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706832640001,"power":12461,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886446514986080256}} 
[2026-08-28 17:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":163870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":708998,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:14:03] local.INFO: GPS data processed {"connection_id":163870,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:14:03] local.INFO: Acknowledgment sent {"connection_id":163870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:14:08] local.INFO: TCP Data received {"connection_id":164872,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0482c87a8012d34c14006aa4840000a00e628..."} 
[2026-08-28 17:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482c87a8012d34c14006aa4840000a00e628..."} 
[2026-08-28 17:14:08] local.INFO: Processing buffer {"connection_id":164872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482c87a8012d34c14006aa4840000a00e628..."} 
[2026-08-28 17:14:08] local.INFO: Packet analysis {"connection_id":164872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0482c"} 
[2026-08-28 17:14:08] local.INFO: Extracted packet for processing {"connection_id":164872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0482c"} 
[2026-08-28 17:14:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17: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-28 17:14:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706744832001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:14:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:14:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:14:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:14:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787917273000,"timestamp_ms":1787917273000,"timestamp_seconds":1787917273,"priority":1,"record_length":96,"hex_timestamp":"000001a0482c87a8"} 
[2026-08-28 17: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-28 17:14:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17: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":129,"data_length":795,"current_offset":136} 
[2026-08-28 17:14:08] 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-28 17: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-28 17: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-28 17:14:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:14:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:14:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:14:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:14:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:14:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:14:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:14:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706744832001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:14:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:14:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:14:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706744832001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:14:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:14:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17: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-28 17:14:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:14:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706744832001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:14:08] 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":708999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:14:08] local.INFO: GPS data processed {"connection_id":164872,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:14:08] local.INFO: Acknowledgment sent {"connection_id":164872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:14:25] local.INFO: TCP Data received {"connection_id":166232,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166232,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:14:25] local.INFO: Processing buffer {"connection_id":166232,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:14:25] local.INFO: IMEI packet received {"connection_id":166232,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 17:14:25] local.INFO: IMEI acknowledgment sent {"connection_id":166232,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:14:30] local.INFO: TCP Data received {"connection_id":166232,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166232,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:14:30] local.INFO: Processing buffer {"connection_id":166232,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:14:30] local.INFO: IMEI packet received {"connection_id":166232,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 17:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":166232,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:14:30] local.INFO: TCP Data received {"connection_id":163599,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:14:30] local.INFO: Processing buffer {"connection_id":163599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:14:30] local.INFO: IMEI packet received {"connection_id":163599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 17:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":163599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:14:31] local.INFO: TCP Data received {"connection_id":166232,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0482dcfc8012d7b53c005e140d00011000b1e..."} 
[2026-08-28 17:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482dcfc8012d7b53c005e140d00011000b1e..."} 
[2026-08-28 17:14:31] local.INFO: Processing buffer {"connection_id":166232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482dcfc8012d7b53c005e140d00011000b1e..."} 
[2026-08-28 17:14:31] local.INFO: Packet analysis {"connection_id":166232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0482d"} 
[2026-08-28 17:14:31] local.INFO: Extracted packet for processing {"connection_id":166232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0482d"} 
[2026-08-28 17:14:31] local.INFO: GPS Element Parsed {"raw_longitude":763057088,"raw_latitude":98648272,"longitude_deg":76.3057088,"latitude_deg":9.8648272,"altitude":17,"angle":11,"satellites":30,"speed":0,"hex_longitude":"2d7b53c0","hex_latitude":"05e140d0","is_valid_coordinates":true} 
[2026-08-28 17:14:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:14:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706838016001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:14:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231879027687424,"note":"Value kept but may cause issues"} 
[2026-08-28 17:14:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886516883730255872,"note":"Value kept but may cause issues"} 
[2026-08-28 17:14:31] 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-28 17:14:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787917357000,"timestamp_ms":1787917357000,"timestamp_seconds":1787917357,"priority":1,"record_length":96,"hex_timestamp":"000001a0482dcfc8"} 
[2026-08-28 17:14:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:14:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:14:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 17:14:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:14:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:14:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:14:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:14:31] local.INFO: Teltonika packet parsed successfully {"connection_id":166232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:14:31] local.INFO: Passing IMEI to GPS processor {"connection_id":166232,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:14:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":166232,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:14:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:14:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:14:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:14:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706838016001,"66":12461,"217":206,"85":15104,"24":0,"16":125231879027687424,"45":8886516883730255872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 17:14:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:14:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:14:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706838016001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:14:31] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 17:14:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:14:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231879027687424,"km_value":125231879027687.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:14:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886516883730255872,"description":"Unknown IO ID 45"} 
[2026-08-28 17:14:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706838016001,"power":12461,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886516883730255872}} 
[2026-08-28 17:14:31] local.INFO: DEBUG: GPS processor result {"connection_id":166232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709000,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:14:31] local.INFO: GPS data processed {"connection_id":166232,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:14:31] local.INFO: Acknowledgment sent {"connection_id":166232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:14:34] local.INFO: TCP Data received {"connection_id":163871,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0482a7850012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482a7850012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:14:34] local.INFO: Processing buffer {"connection_id":163871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482a7850012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:14:34] local.INFO: Packet analysis {"connection_id":163871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0482a"} 
[2026-08-28 17:14:34] local.INFO: Extracted packet for processing {"connection_id":163871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0482a"} 
[2026-08-28 17:14:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706710272001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:14:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787917138000,"timestamp_ms":1787917138000,"timestamp_seconds":1787917138,"priority":1,"record_length":96,"hex_timestamp":"000001a0482a7850"} 
[2026-08-28 17:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:14:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 17:14:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:14:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163871,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163871,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:14:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706710272001,"66":25397,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706710272001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:14:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:14:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706710272001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":163871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709001,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:14:34] local.INFO: GPS data processed {"connection_id":163871,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:14:34] local.INFO: Acknowledgment sent {"connection_id":163871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:14:35] local.INFO: TCP Data received {"connection_id":163599,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:14:35] local.INFO: Processing buffer {"connection_id":163599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:14:35] local.INFO: IMEI packet received {"connection_id":163599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 17:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":163599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:14:37] local.INFO: TCP Data received {"connection_id":163599,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0482c87a8012d34c14006aa4840000a00e628..."} 
[2026-08-28 17:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482c87a8012d34c14006aa4840000a00e628..."} 
[2026-08-28 17:14:37] local.INFO: Processing buffer {"connection_id":163599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482c87a8012d34c14006aa4840000a00e628..."} 
[2026-08-28 17:14:37] local.INFO: Packet analysis {"connection_id":163599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0482c"} 
[2026-08-28 17:14:37] local.INFO: Extracted packet for processing {"connection_id":163599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0482c"} 
[2026-08-28 17:14:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17: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-28 17:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706744832001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787917273000,"timestamp_ms":1787917273000,"timestamp_seconds":1787917273,"priority":1,"record_length":96,"hex_timestamp":"000001a0482c87a8"} 
[2026-08-28 17: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-28 17:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 17:14:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17: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-28 17: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-28 17:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706744832001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706744832001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:14:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:14:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:14: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-28 17:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706744832001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:14:37] 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":709002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:14:37] local.INFO: GPS data processed {"connection_id":163599,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:14:37] local.INFO: Acknowledgment sent {"connection_id":163599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:14:40] local.INFO: TCP Data received {"connection_id":163600,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:14:40] local.INFO: Processing buffer {"connection_id":163600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:14:40] local.INFO: IMEI packet received {"connection_id":163600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 17:14:40] local.INFO: IMEI acknowledgment sent {"connection_id":163600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:14:43] local.INFO: TCP Data received {"connection_id":163600,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:14:43] local.INFO: Processing buffer {"connection_id":163600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:14:43] local.INFO: IMEI packet received {"connection_id":163600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:14:43] local.INFO: IMEI acknowledgment sent {"connection_id":163600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:14:48] local.INFO: TCP Data received {"connection_id":163600,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:14:48] local.INFO: Processing buffer {"connection_id":163600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:14:48] local.INFO: IMEI packet received {"connection_id":163600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":163600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:14:49] local.INFO: TCP Data received {"connection_id":163600,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0482d81a8012d181e000721af30004c00cd26..."} 
[2026-08-28 17:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482d81a8012d181e000721af30004c00cd26..."} 
[2026-08-28 17:14:49] local.INFO: Processing buffer {"connection_id":163600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482d81a8012d181e000721af30004c00cd26..."} 
[2026-08-28 17:14:49] local.INFO: Packet analysis {"connection_id":163600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0482d"} 
[2026-08-28 17:14:49] local.INFO: Extracted packet for processing {"connection_id":163600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0482d"} 
[2026-08-28 17:14:49] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119648048,"longitude_deg":75.6555264,"latitude_deg":11.9648048,"altitude":76,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-28 17: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-28 17:14:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706832896001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:14:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15957912333582336,"note":"Value kept but may cause issues"} 
[2026-08-28 17:14:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841490432,"note":"Value kept but may cause issues"} 
[2026-08-28 17:14:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:14:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787917337000,"timestamp_ms":1787917337000,"timestamp_seconds":1787917337,"priority":1,"record_length":96,"hex_timestamp":"000001a0482d81a8"} 
[2026-08-28 17: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-28 17:14:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 17:14:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17: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-28 17: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-28 17:14:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:14:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:14:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:14:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:14:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:14:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:14:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:14:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706832896001,"66":12428,"105":206,"83":41984,"24":0,"16":15957912333582336,"45":1737826536841490432},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 17:14:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:14:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:14:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706832896001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:14:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 17:14:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:14:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15957912333582336,"km_value":15957912333582.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:14:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841490432,"description":"Unknown IO ID 45"} 
[2026-08-28 17:14:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706832896001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841490432}} 
[2026-08-28 17:14:49] 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":709003,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:14:49] local.INFO: GPS data processed {"connection_id":163600,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:14:49] local.INFO: Acknowledgment sent {"connection_id":163600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:14:49] local.INFO: TCP Data received {"connection_id":163598,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0482d2fa0012d181e000721af30004c00cd27..."} 
[2026-08-28 17:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482d2fa0012d181e000721af30004c00cd27..."} 
[2026-08-28 17:14:49] local.INFO: Processing buffer {"connection_id":163598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482d2fa0012d181e000721af30004c00cd27..."} 
[2026-08-28 17:14:49] local.INFO: Packet analysis {"connection_id":163598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0482d"} 
[2026-08-28 17:14:49] local.INFO: Extracted packet for processing {"connection_id":163598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0482d"} 
[2026-08-28 17:14:49] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119648048,"longitude_deg":75.6555264,"latitude_deg":11.9648048,"altitude":76,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-28 17: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-28 17:14:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706827520001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:14:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15957912333582336,"note":"Value kept but may cause issues"} 
[2026-08-28 17:14:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795147264,"note":"Value kept but may cause issues"} 
[2026-08-28 17:14:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:14:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787917316000,"timestamp_ms":1787917316000,"timestamp_seconds":1787917316,"priority":1,"record_length":96,"hex_timestamp":"000001a0482d2fa0"} 
[2026-08-28 17: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-28 17:14:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-28 17:14:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17: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-28 17: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-28 17:14:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:14:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:14:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:14:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:14:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:14:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:14:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:14:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706827520001,"66":12287,"105":206,"83":41984,"24":0,"16":15957912333582336,"45":1738389486795147264},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 17:14:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:14:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:14:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706827520001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:14:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 17:14:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:14:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15957912333582336,"km_value":15957912333582.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:14:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795147264,"description":"Unknown IO ID 45"} 
[2026-08-28 17:14:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706827520001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795147264}} 
[2026-08-28 17:14:49] local.INFO: DEBUG: GPS processor result {"connection_id":163598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709004,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:14:49] local.INFO: GPS data processed {"connection_id":163598,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:14:49] local.INFO: Acknowledgment sent {"connection_id":163598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:14:56] local.INFO: TCP Data received {"connection_id":163601,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163601,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:14:56] local.INFO: Processing buffer {"connection_id":163601,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:14:56] local.INFO: IMEI packet received {"connection_id":163601,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 17:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":163601,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:15:01] local.INFO: TCP Data received {"connection_id":163601,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163601,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:15:01] local.INFO: Processing buffer {"connection_id":163601,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:15:01] local.INFO: IMEI packet received {"connection_id":163601,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 17:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":163601,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:15:03] local.INFO: TCP Data received {"connection_id":166232,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0482e21d0012d7b538005e140f80012000b1e..."} 
[2026-08-28 17:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482e21d0012d7b538005e140f80012000b1e..."} 
[2026-08-28 17:15:03] local.INFO: Processing buffer {"connection_id":166232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482e21d0012d7b538005e140f80012000b1e..."} 
[2026-08-28 17:15:03] local.INFO: Packet analysis {"connection_id":166232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0482e"} 
[2026-08-28 17:15:03] local.INFO: Extracted packet for processing {"connection_id":166232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0482e"} 
[2026-08-28 17:15:03] local.INFO: GPS Element Parsed {"raw_longitude":763057024,"raw_latitude":98648312,"longitude_deg":76.3057024,"latitude_deg":9.8648312,"altitude":18,"angle":11,"satellites":30,"speed":0,"hex_longitude":"2d7b5380","hex_latitude":"05e140f8","is_valid_coordinates":true} 
[2026-08-28 17:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706843392001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231887617622016,"note":"Value kept but may cause issues"} 
[2026-08-28 17:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886657621218611200,"note":"Value kept but may cause issues"} 
[2026-08-28 17:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787917378000,"timestamp_ms":1787917378000,"timestamp_seconds":1787917378,"priority":1,"record_length":96,"hex_timestamp":"000001a0482e21d0"} 
[2026-08-28 17:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:15:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 17:15:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:15:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":166232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":166232,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":166232,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706843392001,"66":12461,"217":206,"85":15104,"24":0,"16":125231887617622016,"45":8886657621218611200},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 17:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706843392001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:15:03] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 17:15:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231887617622016,"km_value":125231887617622.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886657621218611200,"description":"Unknown IO ID 45"} 
[2026-08-28 17:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706843392001,"power":12461,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886657621218611200}} 
[2026-08-28 17:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":166232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709005,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:15:03] local.INFO: GPS data processed {"connection_id":166232,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:15:03] local.INFO: Acknowledgment sent {"connection_id":166232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:15:04] local.INFO: TCP Data received {"connection_id":163601,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0482f1018012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482f1018012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:15:04] local.INFO: Processing buffer {"connection_id":163601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482f1018012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:15:04] local.INFO: Packet analysis {"connection_id":163601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0482f"} 
[2026-08-28 17:15:04] local.INFO: Extracted packet for processing {"connection_id":163601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0482f"} 
[2026-08-28 17:15:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706787328001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:15:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787917439000,"timestamp_ms":1787917439000,"timestamp_seconds":1787917439,"priority":1,"record_length":96,"hex_timestamp":"000001a0482f1018"} 
[2026-08-28 17:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:15:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 17:15:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:15:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":163601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":163601,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":163601,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:15:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706787328001,"66":25375,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706787328001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:15:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:15:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706787328001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":163601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709006,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:15:04] local.INFO: GPS data processed {"connection_id":163601,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:15:04] local.INFO: Acknowledgment sent {"connection_id":163601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:15:09] local.INFO: TCP Data received {"connection_id":163599,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0482c87a8012d34c14006aa4840000a00e628..."} 
[2026-08-28 17:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482c87a8012d34c14006aa4840000a00e628..."} 
[2026-08-28 17:15:09] local.INFO: Processing buffer {"connection_id":163599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482c87a8012d34c14006aa4840000a00e628..."} 
[2026-08-28 17:15:09] local.INFO: Packet analysis {"connection_id":163599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0482c"} 
[2026-08-28 17:15:09] local.INFO: Extracted packet for processing {"connection_id":163599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0482c"} 
[2026-08-28 17:15:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706744832001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:15:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:15:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787917273000,"timestamp_ms":1787917273000,"timestamp_seconds":1787917273,"priority":1,"record_length":96,"hex_timestamp":"000001a0482c87a8"} 
[2026-08-28 17:15:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:15:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 17:15:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:15:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:15:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:15:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706744832001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706744832001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:15:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:15:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:15: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-28 17:15:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706744832001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:15:09] 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":709007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:15:09] local.INFO: GPS data processed {"connection_id":163599,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:15:09] local.INFO: Acknowledgment sent {"connection_id":163599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:15:20] local.INFO: TCP Data received {"connection_id":163600,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0482dd3b0012d181e000721af30004c00cd26..."} 
[2026-08-28 17:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482dd3b0012d181e000721af30004c00cd26..."} 
[2026-08-28 17:15:20] local.INFO: Processing buffer {"connection_id":163600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482dd3b0012d181e000721af30004c00cd26..."} 
[2026-08-28 17:15:20] local.INFO: Packet analysis {"connection_id":163600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0482d"} 
[2026-08-28 17:15:20] local.INFO: Extracted packet for processing {"connection_id":163600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0482d"} 
[2026-08-28 17:15:20] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119648048,"longitude_deg":75.6555264,"latitude_deg":11.9648048,"altitude":76,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-28 17:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:15:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706838272001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:15:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15957912333582336,"note":"Value kept but may cause issues"} 
[2026-08-28 17:15:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841490432,"note":"Value kept but may cause issues"} 
[2026-08-28 17:15:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:15:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787917358000,"timestamp_ms":1787917358000,"timestamp_seconds":1787917358,"priority":1,"record_length":96,"hex_timestamp":"000001a0482dd3b0"} 
[2026-08-28 17:15:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:15:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-28 17:15:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:15:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:15:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:15:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:15:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:15:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:15:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:15:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:15:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:15:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:15:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706838272001,"66":12493,"105":206,"83":41984,"24":0,"16":15957912333582336,"45":1737826536841490432},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 17:15:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:15:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:15:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706838272001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:15:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 17:15:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:15:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15957912333582336,"km_value":15957912333582.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:15:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841490432,"description":"Unknown IO ID 45"} 
[2026-08-28 17:15:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706838272001,"power":12493,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841490432}} 
[2026-08-28 17:15:20] 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":709008,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:15:20] local.INFO: GPS data processed {"connection_id":163600,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:15:20] local.INFO: Acknowledgment sent {"connection_id":163600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:15:30] local.INFO: TCP Data received {"connection_id":164873,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164873,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:15:30] local.INFO: Processing buffer {"connection_id":164873,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:15:30] local.INFO: IMEI packet received {"connection_id":164873,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 17:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":164873,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:15:35] local.INFO: TCP Data received {"connection_id":164873,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164873,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:15:35] local.INFO: Processing buffer {"connection_id":164873,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:15:35] local.INFO: IMEI packet received {"connection_id":164873,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 17:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":164873,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:15:35] local.INFO: TCP Data received {"connection_id":163601,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0482f1018012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482f1018012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:15:35] local.INFO: Processing buffer {"connection_id":163601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482f1018012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:15:35] local.INFO: Packet analysis {"connection_id":163601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0482f"} 
[2026-08-28 17:15:35] local.INFO: Extracted packet for processing {"connection_id":163601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0482f"} 
[2026-08-28 17:15:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706787328001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:15:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:15:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787917439000,"timestamp_ms":1787917439000,"timestamp_seconds":1787917439,"priority":1,"record_length":96,"hex_timestamp":"000001a0482f1018"} 
[2026-08-28 17:15:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:15:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 17:15:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:15:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:15:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163601,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163601,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:15:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706787328001,"66":25375,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706787328001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:15:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:15:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:15:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:15:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706787328001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":163601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709009,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:15:35] local.INFO: GPS data processed {"connection_id":163601,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:15:35] local.INFO: Acknowledgment sent {"connection_id":163601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:15:36] local.INFO: TCP Data received {"connection_id":166233,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:15:36] local.INFO: Processing buffer {"connection_id":166233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:15:36] local.INFO: IMEI packet received {"connection_id":166233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 17:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":166233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:15:36] local.INFO: TCP Data received {"connection_id":164873,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0482e73d8012d7b53c005e140c00011000b1e..."} 
[2026-08-28 17:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482e73d8012d7b53c005e140c00011000b1e..."} 
[2026-08-28 17:15:36] local.INFO: Processing buffer {"connection_id":164873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482e73d8012d7b53c005e140c00011000b1e..."} 
[2026-08-28 17:15:36] local.INFO: Packet analysis {"connection_id":164873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0482e"} 
[2026-08-28 17:15:36] local.INFO: Extracted packet for processing {"connection_id":164873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0482e"} 
[2026-08-28 17:15:36] local.INFO: GPS Element Parsed {"raw_longitude":763057088,"raw_latitude":98648256,"longitude_deg":76.3057088,"latitude_deg":9.8648256,"altitude":17,"angle":11,"satellites":30,"speed":0,"hex_longitude":"2d7b53c0","hex_latitude":"05e140c0","is_valid_coordinates":true} 
[2026-08-28 17:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706848768001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231896207556608,"note":"Value kept but may cause issues"} 
[2026-08-28 17:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886587252474443776,"note":"Value kept but may cause issues"} 
[2026-08-28 17:15:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787917399000,"timestamp_ms":1787917399000,"timestamp_seconds":1787917399,"priority":1,"record_length":96,"hex_timestamp":"000001a0482e73d8"} 
[2026-08-28 17:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 17:15:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:15:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":164873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":164873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":164873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706848768001,"66":12461,"217":206,"85":15104,"24":0,"16":125231896207556608,"45":8886587252474443776},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 17:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706848768001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:15:36] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 17:15:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231896207556608,"km_value":125231896207556.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886587252474443776,"description":"Unknown IO ID 45"} 
[2026-08-28 17:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706848768001,"power":12461,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886587252474443776}} 
[2026-08-28 17:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":164873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709010,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:15:36] local.INFO: GPS data processed {"connection_id":164873,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:15:36] local.INFO: Acknowledgment sent {"connection_id":164873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:15:37] local.INFO: TCP Data received {"connection_id":164873,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0482ec5e0012d7b538005e140c00010000b1e..."} 
[2026-08-28 17:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482ec5e0012d7b538005e140c00010000b1e..."} 
[2026-08-28 17:15:37] local.INFO: Processing buffer {"connection_id":164873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482ec5e0012d7b538005e140c00010000b1e..."} 
[2026-08-28 17:15:37] local.INFO: Packet analysis {"connection_id":164873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0482e"} 
[2026-08-28 17:15:37] local.INFO: Extracted packet for processing {"connection_id":164873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0482e"} 
[2026-08-28 17:15:37] local.INFO: GPS Element Parsed {"raw_longitude":763057024,"raw_latitude":98648256,"longitude_deg":76.3057024,"latitude_deg":9.8648256,"altitude":16,"angle":11,"satellites":30,"speed":0,"hex_longitude":"2d7b5380","hex_latitude":"05e140c0","is_valid_coordinates":true} 
[2026-08-28 17:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706854144001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231900502523904,"note":"Value kept but may cause issues"} 
[2026-08-28 17:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886657621218607104,"note":"Value kept but may cause issues"} 
[2026-08-28 17:15: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-28 17:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787917420000,"timestamp_ms":1787917420000,"timestamp_seconds":1787917420,"priority":1,"record_length":96,"hex_timestamp":"000001a0482ec5e0"} 
[2026-08-28 17:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 17:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706854144001,"66":12461,"217":206,"85":15104,"24":0,"16":125231900502523904,"45":8886657621218607104},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 17:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706854144001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:15:37] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 17:15:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231900502523904,"km_value":125231900502523.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886657621218607104,"description":"Unknown IO ID 45"} 
[2026-08-28 17:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706854144001,"power":12461,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886657621218607104}} 
[2026-08-28 17:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":164873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709011,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:15:37] local.INFO: GPS data processed {"connection_id":164873,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:15:37] local.INFO: Acknowledgment sent {"connection_id":164873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:15:40] local.INFO: TCP Data received {"connection_id":166233,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:15:40] local.INFO: Processing buffer {"connection_id":166233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:15:40] local.INFO: IMEI packet received {"connection_id":166233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 17:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":166233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:15:41] local.INFO: TCP Data received {"connection_id":166233,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0482c87a8012d34c14006aa4840000a00e628..."} 
[2026-08-28 17:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482c87a8012d34c14006aa4840000a00e628..."} 
[2026-08-28 17:15:41] local.INFO: Processing buffer {"connection_id":166233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482c87a8012d34c14006aa4840000a00e628..."} 
[2026-08-28 17:15:41] local.INFO: Packet analysis {"connection_id":166233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0482c"} 
[2026-08-28 17:15:41] local.INFO: Extracted packet for processing {"connection_id":166233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0482c"} 
[2026-08-28 17:15:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706744832001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:15:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:15:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787917273000,"timestamp_ms":1787917273000,"timestamp_seconds":1787917273,"priority":1,"record_length":96,"hex_timestamp":"000001a0482c87a8"} 
[2026-08-28 17:15:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:15: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-28 17:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 17:15:41] 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-28 17: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-28 17:15:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":166233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":166233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":166233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:15:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706744832001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706744832001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:15:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:15:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17: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-28 17:15:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706744832001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:15:41] local.INFO: DEBUG: GPS processor result {"connection_id":166233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:15:41] local.INFO: GPS data processed {"connection_id":166233,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:15:41] local.INFO: Acknowledgment sent {"connection_id":166233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:15:43] local.INFO: TCP Data received {"connection_id":166234,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166234,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:15:43] local.INFO: Processing buffer {"connection_id":166234,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:15:43] local.INFO: IMEI packet received {"connection_id":166234,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 17:15:43] local.INFO: IMEI acknowledgment sent {"connection_id":166234,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:15:44] local.INFO: TCP Data received {"connection_id":166234,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166234,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:15:44] local.INFO: Processing buffer {"connection_id":166234,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:15:44] local.INFO: IMEI packet received {"connection_id":166234,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:15:44] local.INFO: IMEI acknowledgment sent {"connection_id":166234,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:15:46] local.INFO: TCP Data received {"connection_id":166233,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0482c87a8012d34c14006aa4840000a00e628..."} 
[2026-08-28 17:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482c87a8012d34c14006aa4840000a00e628..."} 
[2026-08-28 17:15:46] local.INFO: Processing buffer {"connection_id":166233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482c87a8012d34c14006aa4840000a00e628..."} 
[2026-08-28 17:15:46] local.INFO: Packet analysis {"connection_id":166233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0482c"} 
[2026-08-28 17:15:46] local.INFO: Extracted packet for processing {"connection_id":166233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0482c"} 
[2026-08-28 17:15:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17: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-28 17:15:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706744832001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:15:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:15:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:15:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:15:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787917273000,"timestamp_ms":1787917273000,"timestamp_seconds":1787917273,"priority":1,"record_length":96,"hex_timestamp":"000001a0482c87a8"} 
[2026-08-28 17: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-28 17:15: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-28 17: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":129,"data_length":795,"current_offset":136} 
[2026-08-28 17:15: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-28 17: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-28 17: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-28 17:15:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:15:46] local.INFO: Teltonika packet parsed successfully {"connection_id":166233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:15:46] local.INFO: Passing IMEI to GPS processor {"connection_id":166233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:15:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":166233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:15:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:15:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:15:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:15:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706744832001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:15:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:15:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:15:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706744832001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:15:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:15:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17: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-28 17:15:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:15:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706744832001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:15:46] local.INFO: DEBUG: GPS processor result {"connection_id":166233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:15:46] local.INFO: GPS data processed {"connection_id":166233,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:15:46] local.INFO: Acknowledgment sent {"connection_id":166233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:15:48] local.INFO: TCP Data received {"connection_id":166234,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166234,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:15:48] local.INFO: Processing buffer {"connection_id":166234,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:15:48] local.INFO: IMEI packet received {"connection_id":166234,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":166234,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:15:49] local.INFO: TCP Data received {"connection_id":166234,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0482e25b8012d181e000721af30004c00cd27..."} 
[2026-08-28 17:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482e25b8012d181e000721af30004c00cd27..."} 
[2026-08-28 17:15:49] local.INFO: Processing buffer {"connection_id":166234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482e25b8012d181e000721af30004c00cd27..."} 
[2026-08-28 17:15:49] local.INFO: Packet analysis {"connection_id":166234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0482e"} 
[2026-08-28 17:15:49] local.INFO: Extracted packet for processing {"connection_id":166234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0482e"} 
[2026-08-28 17:15:49] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119648048,"longitude_deg":75.6555264,"latitude_deg":11.9648048,"altitude":76,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-28 17: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-28 17:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706843648001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:15:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15957912333582336,"note":"Value kept but may cause issues"} 
[2026-08-28 17:15:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841490432,"note":"Value kept but may cause issues"} 
[2026-08-28 17:15:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:15:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787917379000,"timestamp_ms":1787917379000,"timestamp_seconds":1787917379,"priority":1,"record_length":96,"hex_timestamp":"000001a0482e25b8"} 
[2026-08-28 17: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-28 17:15:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17: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":48,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-28 17:15:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2283,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17: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-28 17: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-28 17:15:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:15:49] local.INFO: Teltonika packet parsed successfully {"connection_id":166234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:15:49] local.INFO: Passing IMEI to GPS processor {"connection_id":166234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:15:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":166234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:15:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:15:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:15:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:15:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706843648001,"66":12461,"105":206,"83":41984,"24":0,"16":15957912333582336,"45":1737826536841490432},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 17:15:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:15:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:15:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706843648001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:15:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 17:15:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:15:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15957912333582336,"km_value":15957912333582.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:15:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841490432,"description":"Unknown IO ID 45"} 
[2026-08-28 17:15:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706843648001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841490432}} 
[2026-08-28 17:15:49] local.INFO: DEBUG: GPS processor result {"connection_id":166234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709014,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:15:49] local.INFO: GPS data processed {"connection_id":166234,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:15:49] local.INFO: Acknowledgment sent {"connection_id":166234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:15:56] local.INFO: TCP Data received {"connection_id":163872,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163872,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:15:56] local.INFO: Processing buffer {"connection_id":163872,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:15:56] local.INFO: IMEI packet received {"connection_id":163872,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 17:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":163872,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:16:01] local.INFO: TCP Data received {"connection_id":163872,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163872,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:16:01] local.INFO: Processing buffer {"connection_id":163872,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:16:01] local.INFO: IMEI packet received {"connection_id":163872,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 17:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":163872,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:16:03] local.INFO: TCP Data received {"connection_id":163872,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0482f1018012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482f1018012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:16:03] local.INFO: Processing buffer {"connection_id":163872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482f1018012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:16:03] local.INFO: Packet analysis {"connection_id":163872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0482f"} 
[2026-08-28 17:16:03] local.INFO: Extracted packet for processing {"connection_id":163872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0482f"} 
[2026-08-28 17:16:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706787328001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:16:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787917439000,"timestamp_ms":1787917439000,"timestamp_seconds":1787917439,"priority":1,"record_length":96,"hex_timestamp":"000001a0482f1018"} 
[2026-08-28 17:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:16:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 17:16:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:16:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163872,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163872,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:16:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706787328001,"66":25375,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706787328001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:16:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:16:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706787328001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":163872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709015,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:16:03] local.INFO: GPS data processed {"connection_id":163872,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:16:03] local.INFO: Acknowledgment sent {"connection_id":163872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:16:08] local.INFO: TCP Data received {"connection_id":164873,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0482f17e8012d7b538005e140c0000e000b1e..."} 
[2026-08-28 17:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482f17e8012d7b538005e140c0000e000b1e..."} 
[2026-08-28 17:16:08] local.INFO: Processing buffer {"connection_id":164873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482f17e8012d7b538005e140c0000e000b1e..."} 
[2026-08-28 17:16:08] local.INFO: Packet analysis {"connection_id":164873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0482f"} 
[2026-08-28 17:16:08] local.INFO: Extracted packet for processing {"connection_id":164873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0482f"} 
[2026-08-28 17:16:08] local.INFO: GPS Element Parsed {"raw_longitude":763057024,"raw_latitude":98648256,"longitude_deg":76.3057024,"latitude_deg":9.8648256,"altitude":14,"angle":11,"satellites":30,"speed":0,"hex_longitude":"2d7b5380","hex_latitude":"05e140c0","is_valid_coordinates":true} 
[2026-08-28 17:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706859520001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231913387425792,"note":"Value kept but may cause issues"} 
[2026-08-28 17:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886587252474429440,"note":"Value kept but may cause issues"} 
[2026-08-28 17:16:08] 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-28 17:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787917441000,"timestamp_ms":1787917441000,"timestamp_seconds":1787917441,"priority":1,"record_length":96,"hex_timestamp":"000001a0482f17e8"} 
[2026-08-28 17:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:16:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 17:16:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:16:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:16:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706859520001,"66":12461,"217":206,"85":15104,"24":0,"16":125231913387425792,"45":8886587252474429440},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 17:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706859520001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:16:08] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 17:16:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231913387425792,"km_value":125231913387425.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886587252474429440,"description":"Unknown IO ID 45"} 
[2026-08-28 17:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706859520001,"power":12461,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886587252474429440}} 
[2026-08-28 17:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":164873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709016,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:16:08] local.INFO: GPS data processed {"connection_id":164873,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:16:08] local.INFO: Acknowledgment sent {"connection_id":164873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:16:20] local.INFO: TCP Data received {"connection_id":166234,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0482e77c0012d181e000721af30004c00cd26..."} 
[2026-08-28 17:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482e77c0012d181e000721af30004c00cd26..."} 
[2026-08-28 17:16:20] local.INFO: Processing buffer {"connection_id":166234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482e77c0012d181e000721af30004c00cd26..."} 
[2026-08-28 17:16:20] local.INFO: Packet analysis {"connection_id":166234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0482e"} 
[2026-08-28 17:16:20] local.INFO: Extracted packet for processing {"connection_id":166234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0482e"} 
[2026-08-28 17:16:20] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119648048,"longitude_deg":75.6555264,"latitude_deg":11.9648048,"altitude":76,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-28 17:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:16:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706849024001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:16:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15957912333582336,"note":"Value kept but may cause issues"} 
[2026-08-28 17:16:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841490432,"note":"Value kept but may cause issues"} 
[2026-08-28 17:16:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:16:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787917400000,"timestamp_ms":1787917400000,"timestamp_seconds":1787917400,"priority":1,"record_length":96,"hex_timestamp":"000001a0482e77c0"} 
[2026-08-28 17:16:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:16:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 17:16:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:16:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:16:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:16:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:16:20] local.INFO: Teltonika packet parsed successfully {"connection_id":166234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:16:20] local.INFO: Passing IMEI to GPS processor {"connection_id":166234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:16:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":166234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:16:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:16:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:16:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:16:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706849024001,"66":12504,"105":206,"83":41984,"24":0,"16":15957912333582336,"45":1737826536841490432},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 17:16:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:16:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:16:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706849024001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:16:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 17:16:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:16:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15957912333582336,"km_value":15957912333582.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:16:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841490432,"description":"Unknown IO ID 45"} 
[2026-08-28 17:16:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706849024001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841490432}} 
[2026-08-28 17:16:20] local.INFO: DEBUG: GPS processor result {"connection_id":166234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709017,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:16:20] local.INFO: GPS data processed {"connection_id":166234,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:16:20] local.INFO: Acknowledgment sent {"connection_id":166234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:16:25] local.INFO: TCP Data received {"connection_id":163873,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163873,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:16:25] local.INFO: Processing buffer {"connection_id":163873,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:16:25] local.INFO: IMEI packet received {"connection_id":163873,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 17:16:25] local.INFO: IMEI acknowledgment sent {"connection_id":163873,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:16:30] local.INFO: TCP Data received {"connection_id":163873,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163873,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:16:30] local.INFO: Processing buffer {"connection_id":163873,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:16:30] local.INFO: IMEI packet received {"connection_id":163873,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 17:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":163873,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:16:30] local.INFO: TCP Data received {"connection_id":166235,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:16:30] local.INFO: Processing buffer {"connection_id":166235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:16:30] local.INFO: IMEI packet received {"connection_id":166235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 17:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":166235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:16:31] local.INFO: TCP Data received {"connection_id":163873,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0482f3b10012d7b53c005e140a0000e00691e..."} 
[2026-08-28 17:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482f3b10012d7b53c005e140a0000e00691e..."} 
[2026-08-28 17:16:31] local.INFO: Processing buffer {"connection_id":163873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482f3b10012d7b53c005e140a0000e00691e..."} 
[2026-08-28 17:16:31] local.INFO: Packet analysis {"connection_id":163873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0482f"} 
[2026-08-28 17:16:31] local.INFO: Extracted packet for processing {"connection_id":163873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0482f"} 
[2026-08-28 17:16:31] local.INFO: GPS Element Parsed {"raw_longitude":763057088,"raw_latitude":98648224,"longitude_deg":76.3057088,"latitude_deg":9.8648224,"altitude":14,"angle":105,"satellites":30,"speed":0,"hex_longitude":"2d7b53c0","hex_latitude":"05e140a0","is_valid_coordinates":true} 
[2026-08-28 17:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:16:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706864896001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:16:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231917682393088,"note":"Value kept but may cause issues"} 
[2026-08-28 17:16:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886587252474429440,"note":"Value kept but may cause issues"} 
[2026-08-28 17:16:31] 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-28 17:16:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787917450000,"timestamp_ms":1787917450000,"timestamp_seconds":1787917450,"priority":1,"record_length":96,"hex_timestamp":"000001a0482f3b10"} 
[2026-08-28 17:16:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:16:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 17:16:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:16:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:16:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:16:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:16:31] local.INFO: Teltonika packet parsed successfully {"connection_id":163873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:16:31] local.INFO: Passing IMEI to GPS processor {"connection_id":163873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:16:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":163873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:16:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:16:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:16:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:16:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706864896001,"66":12461,"217":206,"85":15104,"24":0,"16":125231917682393088,"45":8886587252474429440},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 17:16:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:16:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:16:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706864896001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:16:31] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 17:16:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:16:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231917682393088,"km_value":125231917682393.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:16:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886587252474429440,"description":"Unknown IO ID 45"} 
[2026-08-28 17:16:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706864896001,"power":12461,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886587252474429440}} 
[2026-08-28 17:16:31] local.INFO: DEBUG: GPS processor result {"connection_id":163873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709018,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:16:31] local.INFO: GPS data processed {"connection_id":163873,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:16:31] local.INFO: Acknowledgment sent {"connection_id":163873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:16:35] local.INFO: TCP Data received {"connection_id":163872,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0482f1018012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482f1018012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:16:35] local.INFO: Processing buffer {"connection_id":163872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482f1018012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:16:35] local.INFO: Packet analysis {"connection_id":163872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0482f"} 
[2026-08-28 17:16:35] local.INFO: Extracted packet for processing {"connection_id":163872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0482f"} 
[2026-08-28 17:16:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706787328001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:16:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:16:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787917439000,"timestamp_ms":1787917439000,"timestamp_seconds":1787917439,"priority":1,"record_length":96,"hex_timestamp":"000001a0482f1018"} 
[2026-08-28 17:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:16:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 17:16:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:16:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163872,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163872,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706787328001,"66":25375,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706787328001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:16:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:16:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:16:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706787328001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":163872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709019,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:16:35] local.INFO: GPS data processed {"connection_id":163872,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:16:35] local.INFO: Acknowledgment sent {"connection_id":163872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:16:35] local.INFO: TCP Data received {"connection_id":166235,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:16:35] local.INFO: Processing buffer {"connection_id":166235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:16:35] local.INFO: IMEI packet received {"connection_id":166235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 17:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":166235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:16:38] local.INFO: TCP Data received {"connection_id":166235,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0482c87a8012d34c14006aa4840000a00e628..."} 
[2026-08-28 17:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482c87a8012d34c14006aa4840000a00e628..."} 
[2026-08-28 17:16:38] local.INFO: Processing buffer {"connection_id":166235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482c87a8012d34c14006aa4840000a00e628..."} 
[2026-08-28 17:16:38] local.INFO: Packet analysis {"connection_id":166235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0482c"} 
[2026-08-28 17:16:38] local.INFO: Extracted packet for processing {"connection_id":166235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0482c"} 
[2026-08-28 17:16:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706744832001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:16:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:16:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787917273000,"timestamp_ms":1787917273000,"timestamp_seconds":1787917273,"priority":1,"record_length":96,"hex_timestamp":"000001a0482c87a8"} 
[2026-08-28 17:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:16:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 17:16: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-28 17:16:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":166235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":166235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":166235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:16:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706744832001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706744832001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:16:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:16:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:16: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-28 17:16:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706744832001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":166235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:16:38] local.INFO: GPS data processed {"connection_id":166235,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:16:38] local.INFO: Acknowledgment sent {"connection_id":166235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:16:43] local.INFO: TCP Data received {"connection_id":164874,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164874,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:16:43] local.INFO: Processing buffer {"connection_id":164874,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:16:43] local.INFO: IMEI packet received {"connection_id":164874,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 17:16:43] local.INFO: IMEI acknowledgment sent {"connection_id":164874,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:16:46] local.INFO: TCP Data received {"connection_id":164874,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164874,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:16:46] local.INFO: Processing buffer {"connection_id":164874,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:16:46] local.INFO: IMEI packet received {"connection_id":164874,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":164874,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:16:48] local.INFO: TCP Data received {"connection_id":164874,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164874,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:16:48] local.INFO: Processing buffer {"connection_id":164874,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:16:48] local.INFO: IMEI packet received {"connection_id":164874,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:16:48] local.INFO: IMEI acknowledgment sent {"connection_id":164874,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:16:48] local.INFO: TCP Data received {"connection_id":164874,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0482ec9c8012d181e000721af30004c00cd26..."} 
[2026-08-28 17:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482ec9c8012d181e000721af30004c00cd26..."} 
[2026-08-28 17:16:48] local.INFO: Processing buffer {"connection_id":164874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482ec9c8012d181e000721af30004c00cd26..."} 
[2026-08-28 17:16:48] local.INFO: Packet analysis {"connection_id":164874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0482e"} 
[2026-08-28 17:16:48] local.INFO: Extracted packet for processing {"connection_id":164874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0482e"} 
[2026-08-28 17:16:48] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119648048,"longitude_deg":75.6555264,"latitude_deg":11.9648048,"altitude":76,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-28 17: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-28 17:16:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706854400001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:16:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15957912333582336,"note":"Value kept but may cause issues"} 
[2026-08-28 17:16:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841490432,"note":"Value kept but may cause issues"} 
[2026-08-28 17:16:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:16:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787917421000,"timestamp_ms":1787917421000,"timestamp_seconds":1787917421,"priority":1,"record_length":96,"hex_timestamp":"000001a0482ec9c8"} 
[2026-08-28 17: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-28 17:16:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:16:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-28 17:16:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17: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-28 17: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-28 17:16:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:16:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:16:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:16:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:16:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:16:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:16:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:16:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706854400001,"66":12461,"105":206,"83":41984,"24":0,"16":15957912333582336,"45":1737826536841490432},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 17:16:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:16:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:16:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706854400001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:16:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 17:16:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:16:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15957912333582336,"km_value":15957912333582.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:16:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841490432,"description":"Unknown IO ID 45"} 
[2026-08-28 17:16:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706854400001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841490432}} 
[2026-08-28 17:16:48] 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":709021,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:16:48] local.INFO: GPS data processed {"connection_id":164874,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:16:48] local.INFO: Acknowledgment sent {"connection_id":164874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:16:53] local.INFO: TCP Data received {"connection_id":164874,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0482f1bd0012d181e000721af30004c00cd23..."} 
[2026-08-28 17:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482f1bd0012d181e000721af30004c00cd23..."} 
[2026-08-28 17:16:53] local.INFO: Processing buffer {"connection_id":164874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482f1bd0012d181e000721af30004c00cd23..."} 
[2026-08-28 17:16:53] local.INFO: Packet analysis {"connection_id":164874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0482f"} 
[2026-08-28 17:16:53] local.INFO: Extracted packet for processing {"connection_id":164874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0482f"} 
[2026-08-28 17:16:53] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119648048,"longitude_deg":75.6555264,"latitude_deg":11.9648048,"altitude":76,"angle":205,"satellites":35,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-28 17:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:16:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706859776001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:16:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15957912333582336,"note":"Value kept but may cause issues"} 
[2026-08-28 17:16:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841490432,"note":"Value kept but may cause issues"} 
[2026-08-28 17:16: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-28 17:16:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787917442000,"timestamp_ms":1787917442000,"timestamp_seconds":1787917442,"priority":1,"record_length":96,"hex_timestamp":"000001a0482f1bd0"} 
[2026-08-28 17:16:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:16:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 17:16:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:16:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:16:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:16:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:16:53] local.INFO: Teltonika packet parsed successfully {"connection_id":164874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:16:53] local.INFO: Passing IMEI to GPS processor {"connection_id":164874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:16:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":164874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:16:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:16:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:16:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:16:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706859776001,"66":12504,"105":206,"83":41984,"24":0,"16":15957912333582336,"45":1737826536841490432},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 17:16:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:16:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:16:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706859776001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:16:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 17:16:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:16:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15957912333582336,"km_value":15957912333582.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:16:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841490432,"description":"Unknown IO ID 45"} 
[2026-08-28 17:16:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706859776001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841490432}} 
[2026-08-28 17:16:53] 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":709022,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:16:53] local.INFO: GPS data processed {"connection_id":164874,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:16:53] local.INFO: Acknowledgment sent {"connection_id":164874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:17:01] local.INFO: TCP Data received {"connection_id":163874,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163874,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:17:01] local.INFO: Processing buffer {"connection_id":163874,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:17:01] local.INFO: IMEI packet received {"connection_id":163874,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 17:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":163874,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:17:03] local.INFO: TCP Data received {"connection_id":163873,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0482f8930012d7b53c005e14090000e00691e..."} 
[2026-08-28 17:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482f8930012d7b53c005e14090000e00691e..."} 
[2026-08-28 17:17:03] local.INFO: Processing buffer {"connection_id":163873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482f8930012d7b53c005e14090000e00691e..."} 
[2026-08-28 17:17:03] local.INFO: Packet analysis {"connection_id":163873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0482f"} 
[2026-08-28 17:17:03] local.INFO: Extracted packet for processing {"connection_id":163873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0482f"} 
[2026-08-28 17:17:03] local.INFO: GPS Element Parsed {"raw_longitude":763057088,"raw_latitude":98648208,"longitude_deg":76.3057088,"latitude_deg":9.8648208,"altitude":14,"angle":105,"satellites":30,"speed":0,"hex_longitude":"2d7b53c0","hex_latitude":"05e14090","is_valid_coordinates":true} 
[2026-08-28 17:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706867200001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231917682393088,"note":"Value kept but may cause issues"} 
[2026-08-28 17:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886657621218598912,"note":"Value kept but may cause issues"} 
[2026-08-28 17:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787917470000,"timestamp_ms":1787917470000,"timestamp_seconds":1787917470,"priority":1,"record_length":96,"hex_timestamp":"000001a0482f8930"} 
[2026-08-28 17:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:17:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 17:17:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:17:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:17:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706867200001,"66":12004,"217":206,"85":15104,"24":0,"16":125231917682393088,"45":8886657621218598912},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 17:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706867200001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:17:03] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 17:17:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231917682393088,"km_value":125231917682393.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886657621218598912,"description":"Unknown IO ID 45"} 
[2026-08-28 17:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706867200001,"power":12004,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886657621218598912}} 
[2026-08-28 17:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":163873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709023,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:17:03] local.INFO: GPS data processed {"connection_id":163873,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:17:03] local.INFO: Acknowledgment sent {"connection_id":163873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:17:06] local.INFO: TCP Data received {"connection_id":163874,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163874,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:17:06] local.INFO: Processing buffer {"connection_id":163874,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:17:06] local.INFO: IMEI packet received {"connection_id":163874,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 17:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":163874,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:17:08] local.INFO: TCP Data received {"connection_id":163874,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0482f1018012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482f1018012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:17:08] local.INFO: Processing buffer {"connection_id":163874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482f1018012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:17:08] local.INFO: Packet analysis {"connection_id":163874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0482f"} 
[2026-08-28 17:17:08] local.INFO: Extracted packet for processing {"connection_id":163874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0482f"} 
[2026-08-28 17:17:08] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17: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-28 17:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706787328001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787917439000,"timestamp_ms":1787917439000,"timestamp_seconds":1787917439,"priority":1,"record_length":96,"hex_timestamp":"000001a0482f1018"} 
[2026-08-28 17: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-28 17:17:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 17:17:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17: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-28 17: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-28 17:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163874,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163874,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706787328001,"66":25375,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706787328001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:17:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:17:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706787328001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":163874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709024,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:17:08] local.INFO: GPS data processed {"connection_id":163874,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:17:08] local.INFO: Acknowledgment sent {"connection_id":163874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:17:10] local.INFO: TCP Data received {"connection_id":166235,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048311f70012d34c14006aa4840000a00e627..."} 
[2026-08-28 17:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048311f70012d34c14006aa4840000a00e627..."} 
[2026-08-28 17:17:10] local.INFO: Processing buffer {"connection_id":166235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048311f70012d34c14006aa4840000a00e627..."} 
[2026-08-28 17:17:10] local.INFO: Packet analysis {"connection_id":166235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04831"} 
[2026-08-28 17:17:10] local.INFO: Extracted packet for processing {"connection_id":166235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04831"} 
[2026-08-28 17:17:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706821888001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:17:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:17:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787917574000,"timestamp_ms":1787917574000,"timestamp_seconds":1787917574,"priority":1,"record_length":96,"hex_timestamp":"000001a048311f70"} 
[2026-08-28 17:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:17:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 17:17:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:17:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":166235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":166235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":166235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:17:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706821888001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706821888001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:17:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:17:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:17:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706821888001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":166235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:17:10] local.INFO: GPS data processed {"connection_id":166235,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:17:10] local.INFO: Acknowledgment sent {"connection_id":166235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:17:24] local.INFO: TCP Data received {"connection_id":164874,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0482f6dd8012d181e000721af30004c00cd22..."} 
[2026-08-28 17:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482f6dd8012d181e000721af30004c00cd22..."} 
[2026-08-28 17:17:24] local.INFO: Processing buffer {"connection_id":164874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482f6dd8012d181e000721af30004c00cd22..."} 
[2026-08-28 17:17:24] local.INFO: Packet analysis {"connection_id":164874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0482f"} 
[2026-08-28 17:17:24] local.INFO: Extracted packet for processing {"connection_id":164874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0482f"} 
[2026-08-28 17:17:24] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119648048,"longitude_deg":75.6555264,"latitude_deg":11.9648048,"altitude":76,"angle":205,"satellites":34,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-28 17:17:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:17:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706865152001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:17:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15957912333582336,"note":"Value kept but may cause issues"} 
[2026-08-28 17:17:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841490432,"note":"Value kept but may cause issues"} 
[2026-08-28 17:17:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:17:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787917463000,"timestamp_ms":1787917463000,"timestamp_seconds":1787917463,"priority":1,"record_length":96,"hex_timestamp":"000001a0482f6dd8"} 
[2026-08-28 17:17:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:17:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:17:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-28 17:17:24] 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-28 17:17:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:17:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:17:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:17:24] local.INFO: Teltonika packet parsed successfully {"connection_id":164874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:17:24] local.INFO: Passing IMEI to GPS processor {"connection_id":164874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:17:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":164874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:17:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:17:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:17:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:17:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706865152001,"66":12461,"105":206,"83":41984,"24":0,"16":15957912333582336,"45":1737826536841490432},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 17:17:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:17:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:17:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706865152001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:17:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 17:17:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:17:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15957912333582336,"km_value":15957912333582.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:17:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841490432,"description":"Unknown IO ID 45"} 
[2026-08-28 17:17:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706865152001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841490432}} 
[2026-08-28 17:17:24] 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":709026,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:17:24] local.INFO: GPS data processed {"connection_id":164874,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:17:24] local.INFO: Acknowledgment sent {"connection_id":164874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:17:25] local.INFO: TCP Data received {"connection_id":164875,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164875,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:17:25] local.INFO: Processing buffer {"connection_id":164875,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:17:25] local.INFO: IMEI packet received {"connection_id":164875,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 17:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":164875,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:17:30] local.INFO: TCP Data received {"connection_id":164875,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164875,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:17:30] local.INFO: Processing buffer {"connection_id":164875,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:17:30] local.INFO: IMEI packet received {"connection_id":164875,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 17:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":164875,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:17:30] local.INFO: TCP Data received {"connection_id":163602,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:17:30] local.INFO: Processing buffer {"connection_id":163602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:17:30] local.INFO: IMEI packet received {"connection_id":163602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 17:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":163602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:17:31] local.INFO: TCP Data received {"connection_id":164875,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0482fdb38012d7b53c005e14068000d00691c..."} 
[2026-08-28 17:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482fdb38012d7b53c005e14068000d00691c..."} 
[2026-08-28 17:17:31] local.INFO: Processing buffer {"connection_id":164875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482fdb38012d7b53c005e14068000d00691c..."} 
[2026-08-28 17:17:31] local.INFO: Packet analysis {"connection_id":164875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0482f"} 
[2026-08-28 17:17:31] local.INFO: Extracted packet for processing {"connection_id":164875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0482f"} 
[2026-08-28 17:17:31] local.INFO: GPS Element Parsed {"raw_longitude":763057088,"raw_latitude":98648168,"longitude_deg":76.3057088,"latitude_deg":9.8648168,"altitude":13,"angle":105,"satellites":28,"speed":0,"hex_longitude":"2d7b53c0","hex_latitude":"05e14068","is_valid_coordinates":true} 
[2026-08-28 17:17:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:17:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706872320001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:17:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231930567294976,"note":"Value kept but may cause issues"} 
[2026-08-28 17:17:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886657621218594816,"note":"Value kept but may cause issues"} 
[2026-08-28 17:17:31] 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-28 17:17:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787917491000,"timestamp_ms":1787917491000,"timestamp_seconds":1787917491,"priority":1,"record_length":96,"hex_timestamp":"000001a0482fdb38"} 
[2026-08-28 17:17:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:17:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:17:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-28 17:17:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2480,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:17:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:17:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:17:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:17:31] local.INFO: Teltonika packet parsed successfully {"connection_id":164875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:17:31] local.INFO: Passing IMEI to GPS processor {"connection_id":164875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:17:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":164875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:17:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:17:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:17:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:17:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706872320001,"66":12472,"217":206,"85":15104,"24":0,"16":125231930567294976,"45":8886657621218594816},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 17:17:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:17:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:17:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706872320001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:17:31] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 17:17:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:17:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231930567294976,"km_value":125231930567294.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:17:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886657621218594816,"description":"Unknown IO ID 45"} 
[2026-08-28 17:17:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706872320001,"power":12472,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886657621218594816}} 
[2026-08-28 17:17:31] 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":709027,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:17:31] local.INFO: GPS data processed {"connection_id":164875,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:17:31] local.INFO: Acknowledgment sent {"connection_id":164875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:17:35] local.INFO: TCP Data received {"connection_id":163602,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:17:35] local.INFO: Processing buffer {"connection_id":163602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:17:35] local.INFO: IMEI packet received {"connection_id":163602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 17:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":163602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:17:37] local.INFO: TCP Data received {"connection_id":163602,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048311f70012d34c14006aa4840000a00e627..."} 
[2026-08-28 17:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048311f70012d34c14006aa4840000a00e627..."} 
[2026-08-28 17:17:37] local.INFO: Processing buffer {"connection_id":163602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048311f70012d34c14006aa4840000a00e627..."} 
[2026-08-28 17:17:37] local.INFO: Packet analysis {"connection_id":163602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04831"} 
[2026-08-28 17:17:37] local.INFO: Extracted packet for processing {"connection_id":163602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04831"} 
[2026-08-28 17:17:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706821888001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787917574000,"timestamp_ms":1787917574000,"timestamp_seconds":1787917574,"priority":1,"record_length":96,"hex_timestamp":"000001a048311f70"} 
[2026-08-28 17:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 17:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706821888001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706821888001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:17:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:17:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:17: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-28 17:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706821888001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:17:37] 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":709028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:17:37] local.INFO: GPS data processed {"connection_id":163602,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:17:37] local.INFO: Acknowledgment sent {"connection_id":163602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:17:40] local.INFO: TCP Data received {"connection_id":163874,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0482f1018012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482f1018012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:17:40] local.INFO: Processing buffer {"connection_id":163874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482f1018012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:17:40] local.INFO: Packet analysis {"connection_id":163874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0482f"} 
[2026-08-28 17:17:40] local.INFO: Extracted packet for processing {"connection_id":163874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0482f"} 
[2026-08-28 17:17:40] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:17:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706787328001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:17:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:17:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:17:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:17:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787917439000,"timestamp_ms":1787917439000,"timestamp_seconds":1787917439,"priority":1,"record_length":96,"hex_timestamp":"000001a0482f1018"} 
[2026-08-28 17:17:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:17:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 17:17:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:17:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:17:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:17:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:17:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:17:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163874,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:17:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163874,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:17:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:17:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:17:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:17:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706787328001,"66":25375,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:17:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:17:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:17:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706787328001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:17:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:17:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:17:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:17:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:17:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706787328001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:17:40] local.INFO: DEBUG: GPS processor result {"connection_id":163874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709029,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:17:40] local.INFO: GPS data processed {"connection_id":163874,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:17:40] local.INFO: Acknowledgment sent {"connection_id":163874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:17:43] local.INFO: TCP Data received {"connection_id":163875,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163875,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:17:43] local.INFO: Processing buffer {"connection_id":163875,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:17:43] local.INFO: IMEI packet received {"connection_id":163875,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 17:17:43] local.INFO: IMEI acknowledgment sent {"connection_id":163875,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:17:48] local.INFO: TCP Data received {"connection_id":163875,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163875,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:17:48] local.INFO: Processing buffer {"connection_id":163875,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:17:48] local.INFO: IMEI packet received {"connection_id":163875,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:17:48] local.INFO: IMEI acknowledgment sent {"connection_id":163875,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:17:49] local.INFO: TCP Data received {"connection_id":163875,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0482fbfe0012d181e000721af30004c00cd27..."} 
[2026-08-28 17:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482fbfe0012d181e000721af30004c00cd27..."} 
[2026-08-28 17:17:49] local.INFO: Processing buffer {"connection_id":163875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482fbfe0012d181e000721af30004c00cd27..."} 
[2026-08-28 17:17:49] local.INFO: Packet analysis {"connection_id":163875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0482f"} 
[2026-08-28 17:17:49] local.INFO: Extracted packet for processing {"connection_id":163875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0482f"} 
[2026-08-28 17:17:49] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119648048,"longitude_deg":75.6555264,"latitude_deg":11.9648048,"altitude":76,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-28 17: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-28 17:17:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706870528001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:17:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15957912333582336,"note":"Value kept but may cause issues"} 
[2026-08-28 17:17:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841490432,"note":"Value kept but may cause issues"} 
[2026-08-28 17:17:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:17:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787917484000,"timestamp_ms":1787917484000,"timestamp_seconds":1787917484,"priority":1,"record_length":96,"hex_timestamp":"000001a0482fbfe0"} 
[2026-08-28 17: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-28 17:17:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 17:17:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17: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-28 17: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-28 17:17:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:17:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:17:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:17:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:17:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:17:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:17:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:17:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706870528001,"66":12406,"105":206,"83":41984,"24":0,"16":15957912333582336,"45":1737826536841490432},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 17:17:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:17:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:17:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706870528001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:17:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 17:17:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:17:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15957912333582336,"km_value":15957912333582.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:17:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841490432,"description":"Unknown IO ID 45"} 
[2026-08-28 17:17:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706870528001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841490432}} 
[2026-08-28 17:17:49] local.INFO: DEBUG: GPS processor result {"connection_id":163875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709030,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:17:49] local.INFO: GPS data processed {"connection_id":163875,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:17:49] local.INFO: Acknowledgment sent {"connection_id":163875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:17:56] local.INFO: TCP Data received {"connection_id":166236,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166236,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:17:56] local.INFO: Processing buffer {"connection_id":166236,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:17:56] local.INFO: IMEI packet received {"connection_id":166236,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 17:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":166236,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:18:01] local.INFO: TCP Data received {"connection_id":166236,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166236,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:18:01] local.INFO: Processing buffer {"connection_id":166236,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:18:01] local.INFO: IMEI packet received {"connection_id":166236,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 17:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":166236,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:18:01] local.INFO: TCP Data received {"connection_id":164875,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a048302d40012d7b534005e14040000b00691d..."} 
[2026-08-28 17:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048302d40012d7b534005e14040000b00691d..."} 
[2026-08-28 17:18:01] local.INFO: Processing buffer {"connection_id":164875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048302d40012d7b534005e14040000b00691d..."} 
[2026-08-28 17:18:01] local.INFO: Packet analysis {"connection_id":164875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04830"} 
[2026-08-28 17:18:01] local.INFO: Extracted packet for processing {"connection_id":164875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04830"} 
[2026-08-28 17:18:01] local.INFO: GPS Element Parsed {"raw_longitude":763056960,"raw_latitude":98648128,"longitude_deg":76.305696,"latitude_deg":9.8648128,"altitude":11,"angle":105,"satellites":29,"speed":0,"hex_longitude":"2d7b5340","hex_latitude":"05e14040","is_valid_coordinates":true} 
[2026-08-28 17:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706877696001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231939157229568,"note":"Value kept but may cause issues"} 
[2026-08-28 17:18:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886657621218584576,"note":"Value kept but may cause issues"} 
[2026-08-28 17:18: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-28 17:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787917512000,"timestamp_ms":1787917512000,"timestamp_seconds":1787917512,"priority":1,"record_length":96,"hex_timestamp":"000001a048302d40"} 
[2026-08-28 17:18:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:18:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-28 17:18:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2094,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:18:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:18:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":164875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":164875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":164875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:18:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706877696001,"66":12461,"217":206,"85":15104,"24":0,"16":125231939157229568,"45":8886657621218584576},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 17:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706877696001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:18:01] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 17:18:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231939157229568,"km_value":125231939157229.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:18:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886657621218584576,"description":"Unknown IO ID 45"} 
[2026-08-28 17:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706877696001,"power":12461,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886657621218584576}} 
[2026-08-28 17:18:01] 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":709031,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:18:01] local.INFO: GPS data processed {"connection_id":164875,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:18:01] local.INFO: Acknowledgment sent {"connection_id":164875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:18:03] local.INFO: TCP Data received {"connection_id":166236,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0482f1018012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482f1018012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:18:03] local.INFO: Processing buffer {"connection_id":166236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482f1018012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:18:03] local.INFO: Packet analysis {"connection_id":166236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0482f"} 
[2026-08-28 17:18:03] local.INFO: Extracted packet for processing {"connection_id":166236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0482f"} 
[2026-08-28 17:18:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706787328001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:18:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787917439000,"timestamp_ms":1787917439000,"timestamp_seconds":1787917439,"priority":1,"record_length":96,"hex_timestamp":"000001a0482f1018"} 
[2026-08-28 17:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:18:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 17:18:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:18:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":166236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":166236,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":166236,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706787328001,"66":25375,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706787328001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:18:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:18:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706787328001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":166236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709032,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:18:03] local.INFO: GPS data processed {"connection_id":166236,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:18:03] local.INFO: Acknowledgment sent {"connection_id":166236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:18:08] local.INFO: TCP Data received {"connection_id":163602,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048311f70012d34c14006aa4840000a00e627..."} 
[2026-08-28 17:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048311f70012d34c14006aa4840000a00e627..."} 
[2026-08-28 17:18:08] local.INFO: Processing buffer {"connection_id":163602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048311f70012d34c14006aa4840000a00e627..."} 
[2026-08-28 17:18:08] local.INFO: Packet analysis {"connection_id":163602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04831"} 
[2026-08-28 17:18:08] local.INFO: Extracted packet for processing {"connection_id":163602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04831"} 
[2026-08-28 17:18:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706821888001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:18:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787917574000,"timestamp_ms":1787917574000,"timestamp_seconds":1787917574,"priority":1,"record_length":96,"hex_timestamp":"000001a048311f70"} 
[2026-08-28 17:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:18:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 17:18:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:18:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:18:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706821888001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706821888001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:18:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:18:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:18: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-28 17:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706821888001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:18:09] 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":709033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:18:09] local.INFO: GPS data processed {"connection_id":163602,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:18:09] local.INFO: Acknowledgment sent {"connection_id":163602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:18:20] local.INFO: TCP Data received {"connection_id":163875,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0483011e8012d181e000721af30004c00cd24..."} 
[2026-08-28 17:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0483011e8012d181e000721af30004c00cd24..."} 
[2026-08-28 17:18:20] local.INFO: Processing buffer {"connection_id":163875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0483011e8012d181e000721af30004c00cd24..."} 
[2026-08-28 17:18:20] local.INFO: Packet analysis {"connection_id":163875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04830"} 
[2026-08-28 17:18:20] local.INFO: Extracted packet for processing {"connection_id":163875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04830"} 
[2026-08-28 17:18:20] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119648048,"longitude_deg":75.6555264,"latitude_deg":11.9648048,"altitude":76,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-28 17:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:18:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706875904001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:18:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15957912333582336,"note":"Value kept but may cause issues"} 
[2026-08-28 17:18:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841490432,"note":"Value kept but may cause issues"} 
[2026-08-28 17:18:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:18:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787917505000,"timestamp_ms":1787917505000,"timestamp_seconds":1787917505,"priority":1,"record_length":96,"hex_timestamp":"000001a0483011e8"} 
[2026-08-28 17:18:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:18:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 17:18:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:18:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:18:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:18:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:18:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:18:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:18:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:18:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:18:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:18:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:18:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706875904001,"66":12461,"105":206,"83":41984,"24":0,"16":15957912333582336,"45":1737826536841490432},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 17:18:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:18:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:18:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706875904001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:18:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 17:18:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:18:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15957912333582336,"km_value":15957912333582.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:18:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841490432,"description":"Unknown IO ID 45"} 
[2026-08-28 17:18:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706875904001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841490432}} 
[2026-08-28 17:18:20] local.INFO: DEBUG: GPS processor result {"connection_id":163875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709034,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:18:20] local.INFO: GPS data processed {"connection_id":163875,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:18:20] local.INFO: Acknowledgment sent {"connection_id":163875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:18:23] local.INFO: TCP Data received {"connection_id":166237,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166237,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:18:23] local.INFO: Processing buffer {"connection_id":166237,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:18:23] local.INFO: IMEI packet received {"connection_id":166237,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 17:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":166237,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:18:25] local.INFO: TCP Data received {"connection_id":166237,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166237,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:18:25] local.INFO: Processing buffer {"connection_id":166237,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:18:25] local.INFO: IMEI packet received {"connection_id":166237,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 17:18:25] local.INFO: IMEI acknowledgment sent {"connection_id":166237,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:18:30] local.INFO: TCP Data received {"connection_id":163876,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:18:30] local.INFO: Processing buffer {"connection_id":163876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:18:30] local.INFO: IMEI packet received {"connection_id":163876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 17:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":163876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:18:30] local.INFO: TCP Data received {"connection_id":166237,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166237,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:18:30] local.INFO: Processing buffer {"connection_id":166237,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:18:30] local.INFO: IMEI packet received {"connection_id":166237,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 17:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":166237,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:18:31] local.INFO: TCP Data received {"connection_id":166237,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a048307f48012d7b524005e14038000700691e..."} 
[2026-08-28 17:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048307f48012d7b524005e14038000700691e..."} 
[2026-08-28 17:18:31] local.INFO: Processing buffer {"connection_id":166237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048307f48012d7b524005e14038000700691e..."} 
[2026-08-28 17:18:31] local.INFO: Packet analysis {"connection_id":166237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04830"} 
[2026-08-28 17:18:31] local.INFO: Extracted packet for processing {"connection_id":166237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04830"} 
[2026-08-28 17:18:31] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98648120,"longitude_deg":76.3056704,"latitude_deg":9.864812,"altitude":7,"angle":105,"satellites":30,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e14038","is_valid_coordinates":true} 
[2026-08-28 17:18:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:18:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706883072001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:18:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231952042131456,"note":"Value kept but may cause issues"} 
[2026-08-28 17:18:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886516883730219008,"note":"Value kept but may cause issues"} 
[2026-08-28 17:18:31] 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-28 17:18:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787917533000,"timestamp_ms":1787917533000,"timestamp_seconds":1787917533,"priority":1,"record_length":96,"hex_timestamp":"000001a048307f48"} 
[2026-08-28 17:18:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:18:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:18:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 17:18:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:18:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:18:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:18:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:18:31] local.INFO: Teltonika packet parsed successfully {"connection_id":166237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:18:31] local.INFO: Passing IMEI to GPS processor {"connection_id":166237,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:18:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":166237,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:18:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:18:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:18:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:18:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706883072001,"66":12461,"217":206,"85":15104,"24":0,"16":125231952042131456,"45":8886516883730219008},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 17:18:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:18:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:18:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706883072001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:18:31] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 17:18:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:18:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231952042131456,"km_value":125231952042131.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:18:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886516883730219008,"description":"Unknown IO ID 45"} 
[2026-08-28 17:18:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706883072001,"power":12461,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886516883730219008}} 
[2026-08-28 17:18:31] local.INFO: DEBUG: GPS processor result {"connection_id":166237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709035,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:18:31] local.INFO: GPS data processed {"connection_id":166237,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:18:31] local.INFO: Acknowledgment sent {"connection_id":166237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:18:35] local.INFO: TCP Data received {"connection_id":163876,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:18:35] local.INFO: Processing buffer {"connection_id":163876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:18:35] local.INFO: IMEI packet received {"connection_id":163876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 17:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":163876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:18:37] local.INFO: TCP Data received {"connection_id":166236,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0482f1018012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482f1018012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:18:37] local.INFO: Processing buffer {"connection_id":166236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482f1018012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:18:37] local.INFO: Packet analysis {"connection_id":166236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0482f"} 
[2026-08-28 17:18:37] local.INFO: Extracted packet for processing {"connection_id":166236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0482f"} 
[2026-08-28 17:18:37] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706787328001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787917439000,"timestamp_ms":1787917439000,"timestamp_seconds":1787917439,"priority":1,"record_length":96,"hex_timestamp":"000001a0482f1018"} 
[2026-08-28 17:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 17:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":166236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":166236,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":166236,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706787328001,"66":25375,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706787328001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:18:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:18:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706787328001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":166236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709036,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:18:37] local.INFO: GPS data processed {"connection_id":166236,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:18:37] local.INFO: Acknowledgment sent {"connection_id":166236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:18:37] local.INFO: TCP Data received {"connection_id":163876,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048311f70012d34c14006aa4840000a00e627..."} 
[2026-08-28 17:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048311f70012d34c14006aa4840000a00e627..."} 
[2026-08-28 17:18:37] local.INFO: Processing buffer {"connection_id":163876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048311f70012d34c14006aa4840000a00e627..."} 
[2026-08-28 17:18:37] local.INFO: Packet analysis {"connection_id":163876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04831"} 
[2026-08-28 17:18:37] local.INFO: Extracted packet for processing {"connection_id":163876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04831"} 
[2026-08-28 17:18:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706821888001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787917574000,"timestamp_ms":1787917574000,"timestamp_seconds":1787917574,"priority":1,"record_length":96,"hex_timestamp":"000001a048311f70"} 
[2026-08-28 17:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:18:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 17:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:18:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706821888001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706821888001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:18:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:18:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:18: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-28 17:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706821888001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":163876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:18:37] local.INFO: GPS data processed {"connection_id":163876,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:18:37] local.INFO: Acknowledgment sent {"connection_id":163876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:18:48] local.INFO: TCP Data received {"connection_id":164876,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164876,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:18:48] local.INFO: Processing buffer {"connection_id":164876,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:18:48] local.INFO: IMEI packet received {"connection_id":164876,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 17:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":164876,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:18:52] local.INFO: TCP Data received {"connection_id":164876,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164876,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:18:52] local.INFO: Processing buffer {"connection_id":164876,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:18:52] local.INFO: IMEI packet received {"connection_id":164876,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":164876,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:18:53] local.INFO: TCP Data received {"connection_id":164876,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0483063f0012d181e000721af30004c00cd24..."} 
[2026-08-28 17:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0483063f0012d181e000721af30004c00cd24..."} 
[2026-08-28 17:18:53] local.INFO: Processing buffer {"connection_id":164876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0483063f0012d181e000721af30004c00cd24..."} 
[2026-08-28 17:18:53] local.INFO: Packet analysis {"connection_id":164876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04830"} 
[2026-08-28 17:18:53] local.INFO: Extracted packet for processing {"connection_id":164876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04830"} 
[2026-08-28 17:18:53] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119648048,"longitude_deg":75.6555264,"latitude_deg":11.9648048,"altitude":76,"angle":205,"satellites":36,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-28 17: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-28 17:18:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706881280001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:18:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15957912333582336,"note":"Value kept but may cause issues"} 
[2026-08-28 17:18:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841490432,"note":"Value kept but may cause issues"} 
[2026-08-28 17:18: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-28 17:18:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787917526000,"timestamp_ms":1787917526000,"timestamp_seconds":1787917526,"priority":1,"record_length":96,"hex_timestamp":"000001a0483063f0"} 
[2026-08-28 17: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-28 17:18:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 17:18:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17: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-28 17: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-28 17:18:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:18:53] local.INFO: Teltonika packet parsed successfully {"connection_id":164876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:18:53] local.INFO: Passing IMEI to GPS processor {"connection_id":164876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:18:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":164876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:18:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:18:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:18:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:18:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706881280001,"66":12461,"105":206,"83":41984,"24":0,"16":15957912333582336,"45":1737826536841490432},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 17:18:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:18:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:18:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706881280001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:18:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 17:18:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:18:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15957912333582336,"km_value":15957912333582.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:18:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841490432,"description":"Unknown IO ID 45"} 
[2026-08-28 17:18:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706881280001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841490432}} 
[2026-08-28 17:18:53] 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":709038,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:18:53] local.INFO: GPS data processed {"connection_id":164876,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:18:53] local.INFO: Acknowledgment sent {"connection_id":164876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:18:53] local.INFO: TCP Data received {"connection_id":164876,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a04830b5f8012d181e000721af30004c00cd26..."} 
[2026-08-28 17:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04830b5f8012d181e000721af30004c00cd26..."} 
[2026-08-28 17:18:53] local.INFO: Processing buffer {"connection_id":164876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04830b5f8012d181e000721af30004c00cd26..."} 
[2026-08-28 17:18:53] local.INFO: Packet analysis {"connection_id":164876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04830"} 
[2026-08-28 17:18:53] local.INFO: Extracted packet for processing {"connection_id":164876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04830"} 
[2026-08-28 17:18:53] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119648048,"longitude_deg":75.6555264,"latitude_deg":11.9648048,"altitude":76,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-28 17: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-28 17:18:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706886656001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:18:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15957912333582336,"note":"Value kept but may cause issues"} 
[2026-08-28 17:18:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841490432,"note":"Value kept but may cause issues"} 
[2026-08-28 17:18: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-28 17:18:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787917547000,"timestamp_ms":1787917547000,"timestamp_seconds":1787917547,"priority":1,"record_length":96,"hex_timestamp":"000001a04830b5f8"} 
[2026-08-28 17: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-28 17:18:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 17:18:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17: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-28 17: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-28 17:18:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:18:53] local.INFO: Teltonika packet parsed successfully {"connection_id":164876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:18:53] local.INFO: Passing IMEI to GPS processor {"connection_id":164876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:18:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":164876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:18:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:18:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:18:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:18:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706886656001,"66":12461,"105":206,"83":41984,"24":0,"16":15957912333582336,"45":1737826536841490432},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 17:18:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:18:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:18:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706886656001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:18:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 17:18:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:18:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15957912333582336,"km_value":15957912333582.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:18:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841490432,"description":"Unknown IO ID 45"} 
[2026-08-28 17:18:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706886656001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841490432}} 
[2026-08-28 17:18:54] 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":709039,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:18:54] local.INFO: GPS data processed {"connection_id":164876,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:18:54] local.INFO: Acknowledgment sent {"connection_id":164876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:18:56] local.INFO: TCP Data received {"connection_id":164877,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164877,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:18:56] local.INFO: Processing buffer {"connection_id":164877,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:18:56] local.INFO: IMEI packet received {"connection_id":164877,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 17:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":164877,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:19:01] local.INFO: TCP Data received {"connection_id":164877,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164877,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:19:01] local.INFO: Processing buffer {"connection_id":164877,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:19:01] local.INFO: IMEI packet received {"connection_id":164877,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 17:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":164877,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:19:02] local.INFO: TCP Data received {"connection_id":166237,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a04830d150012d7b524005e14060000600691c..."} 
[2026-08-28 17:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04830d150012d7b524005e14060000600691c..."} 
[2026-08-28 17:19:02] local.INFO: Processing buffer {"connection_id":166237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04830d150012d7b524005e14060000600691c..."} 
[2026-08-28 17:19:02] local.INFO: Packet analysis {"connection_id":166237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04830"} 
[2026-08-28 17:19:02] local.INFO: Extracted packet for processing {"connection_id":166237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04830"} 
[2026-08-28 17:19:02] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98648160,"longitude_deg":76.3056704,"latitude_deg":9.864816,"altitude":6,"angle":105,"satellites":28,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e14060","is_valid_coordinates":true} 
[2026-08-28 17:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:19:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706888448001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:19:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231964927033344,"note":"Value kept but may cause issues"} 
[2026-08-28 17:19:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753506304,"note":"Value kept but may cause issues"} 
[2026-08-28 17:19:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:19:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787917554000,"timestamp_ms":1787917554000,"timestamp_seconds":1787917554,"priority":1,"record_length":96,"hex_timestamp":"000001a04830d150"} 
[2026-08-28 17:19:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:19:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 17:19:02] 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-28 17:19:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:19:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:19:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:19:02] local.INFO: Teltonika packet parsed successfully {"connection_id":166237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:19:02] local.INFO: Passing IMEI to GPS processor {"connection_id":166237,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:19:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":166237,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:19:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:19:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:19:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:19:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706888448001,"66":12439,"217":206,"85":15104,"24":0,"16":125231964927033344,"45":8886235408753506304},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 17:19:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:19:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:19:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706888448001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:19:02] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 17:19:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:19:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231964927033344,"km_value":125231964927033.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:19:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753506304,"description":"Unknown IO ID 45"} 
[2026-08-28 17:19:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706888448001,"power":12439,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753506304}} 
[2026-08-28 17:19:02] local.INFO: DEBUG: GPS processor result {"connection_id":166237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709040,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:19:02] local.INFO: GPS data processed {"connection_id":166237,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:19:02] local.INFO: Acknowledgment sent {"connection_id":166237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:19:03] local.INFO: TCP Data received {"connection_id":164877,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0482f1018012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482f1018012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:19:03] local.INFO: Processing buffer {"connection_id":164877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482f1018012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:19:03] local.INFO: Packet analysis {"connection_id":164877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0482f"} 
[2026-08-28 17:19:03] local.INFO: Extracted packet for processing {"connection_id":164877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0482f"} 
[2026-08-28 17:19:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706787328001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787917439000,"timestamp_ms":1787917439000,"timestamp_seconds":1787917439,"priority":1,"record_length":96,"hex_timestamp":"000001a0482f1018"} 
[2026-08-28 17:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 17:19:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:19:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":164877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":164877,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":164877,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706787328001,"66":25375,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706787328001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:19:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:19:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706787328001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:19:03] 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":709041,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:19:03] local.INFO: GPS data processed {"connection_id":164877,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:19:03] local.INFO: Acknowledgment sent {"connection_id":164877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:19:09] local.INFO: TCP Data received {"connection_id":163876,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048311f70012d34c14006aa4840000a00e627..."} 
[2026-08-28 17:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048311f70012d34c14006aa4840000a00e627..."} 
[2026-08-28 17:19:09] local.INFO: Processing buffer {"connection_id":163876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048311f70012d34c14006aa4840000a00e627..."} 
[2026-08-28 17:19:09] local.INFO: Packet analysis {"connection_id":163876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04831"} 
[2026-08-28 17:19:09] local.INFO: Extracted packet for processing {"connection_id":163876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04831"} 
[2026-08-28 17:19:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706821888001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787917574000,"timestamp_ms":1787917574000,"timestamp_seconds":1787917574,"priority":1,"record_length":96,"hex_timestamp":"000001a048311f70"} 
[2026-08-28 17:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 17:19:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:19:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:19:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706821888001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706821888001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:19:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:19:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:19: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-28 17:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706821888001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":163876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:19:09] local.INFO: GPS data processed {"connection_id":163876,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:19:09] local.INFO: Acknowledgment sent {"connection_id":163876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:19:25] local.INFO: TCP Data received {"connection_id":164876,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048310800012d181e000721af30004c00cd26..."} 
[2026-08-28 17:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048310800012d181e000721af30004c00cd26..."} 
[2026-08-28 17:19:25] local.INFO: Processing buffer {"connection_id":164876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048310800012d181e000721af30004c00cd26..."} 
[2026-08-28 17:19:25] local.INFO: Packet analysis {"connection_id":164876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04831"} 
[2026-08-28 17:19:25] local.INFO: Extracted packet for processing {"connection_id":164876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04831"} 
[2026-08-28 17:19:25] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119648048,"longitude_deg":75.6555264,"latitude_deg":11.9648048,"altitude":76,"angle":205,"satellites":38,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-28 17:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:19:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706892032001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:19:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15957912333582336,"note":"Value kept but may cause issues"} 
[2026-08-28 17:19:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841490432,"note":"Value kept but may cause issues"} 
[2026-08-28 17:19:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:19:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787917568000,"timestamp_ms":1787917568000,"timestamp_seconds":1787917568,"priority":1,"record_length":96,"hex_timestamp":"000001a048310800"} 
[2026-08-28 17:19:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:19:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 17:19:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:19:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:19:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:19:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:19:25] local.INFO: Teltonika packet parsed successfully {"connection_id":164876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:19:25] local.INFO: Passing IMEI to GPS processor {"connection_id":164876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:19:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":164876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:19:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:19:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:19:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:19:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706892032001,"66":12461,"105":206,"83":41984,"24":0,"16":15957912333582336,"45":1737826536841490432},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 17:19:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:19:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:19:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706892032001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:19:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 17:19:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:19:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15957912333582336,"km_value":15957912333582.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:19:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841490432,"description":"Unknown IO ID 45"} 
[2026-08-28 17:19:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706892032001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841490432}} 
[2026-08-28 17:19:25] 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":709043,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:19:25] local.INFO: GPS data processed {"connection_id":164876,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:19:25] local.INFO: Acknowledgment sent {"connection_id":164876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:19:25] local.INFO: TCP Data received {"connection_id":164878,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164878,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:19:25] local.INFO: Processing buffer {"connection_id":164878,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:19:25] local.INFO: IMEI packet received {"connection_id":164878,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 17:19:25] local.INFO: IMEI acknowledgment sent {"connection_id":164878,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:19:26] local.INFO: TCP Data received {"connection_id":164878,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164878,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:19:26] local.INFO: Processing buffer {"connection_id":164878,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:19:26] local.INFO: IMEI packet received {"connection_id":164878,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 17:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":164878,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:19:30] local.INFO: TCP Data received {"connection_id":164878,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164878,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:19:30] local.INFO: Processing buffer {"connection_id":164878,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:19:30] local.INFO: IMEI packet received {"connection_id":164878,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 17:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":164878,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:19:31] local.INFO: TCP Data received {"connection_id":164878,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a048312358012d7b524005e14060000700691d..."} 
[2026-08-28 17:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048312358012d7b524005e14060000700691d..."} 
[2026-08-28 17:19:31] local.INFO: Processing buffer {"connection_id":164878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048312358012d7b524005e14060000700691d..."} 
[2026-08-28 17:19:31] local.INFO: Packet analysis {"connection_id":164878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04831"} 
[2026-08-28 17:19:31] local.INFO: Extracted packet for processing {"connection_id":164878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04831"} 
[2026-08-28 17:19:31] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98648160,"longitude_deg":76.3056704,"latitude_deg":9.864816,"altitude":7,"angle":105,"satellites":29,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e14060","is_valid_coordinates":true} 
[2026-08-28 17:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706893824001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231964927033344,"note":"Value kept but may cause issues"} 
[2026-08-28 17:19:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753516544,"note":"Value kept but may cause issues"} 
[2026-08-28 17:19:31] 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-28 17:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787917575000,"timestamp_ms":1787917575000,"timestamp_seconds":1787917575,"priority":1,"record_length":96,"hex_timestamp":"000001a048312358"} 
[2026-08-28 17:19:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:19:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 17:19:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:19:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:19:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":164878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":164878,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":164878,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:19:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706893824001,"66":12461,"217":206,"85":15104,"24":0,"16":125231964927033344,"45":8886235408753516544},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 17:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706893824001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:19:31] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 17:19:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:19:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231964927033344,"km_value":125231964927033.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:19:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753516544,"description":"Unknown IO ID 45"} 
[2026-08-28 17:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706893824001,"power":12461,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753516544}} 
[2026-08-28 17:19:31] 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":709044,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:19:31] local.INFO: GPS data processed {"connection_id":164878,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:19:31] local.INFO: Acknowledgment sent {"connection_id":164878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:19:34] local.INFO: TCP Data received {"connection_id":164877,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0482f1018012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0482f1018012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:19:34] local.INFO: Processing buffer {"connection_id":164877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0482f1018012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:19:34] local.INFO: Packet analysis {"connection_id":164877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0482f"} 
[2026-08-28 17:19:34] local.INFO: Extracted packet for processing {"connection_id":164877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0482f"} 
[2026-08-28 17:19:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706787328001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:19:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:19:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787917439000,"timestamp_ms":1787917439000,"timestamp_seconds":1787917439,"priority":1,"record_length":96,"hex_timestamp":"000001a0482f1018"} 
[2026-08-28 17:19:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:19:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 17:19:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:19:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:19:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":164877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":164877,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":164877,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:19:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706787328001,"66":25375,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706787328001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:19:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:19:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:19:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706787328001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:19:34] 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":709045,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:19:34] local.INFO: GPS data processed {"connection_id":164877,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:19:34] local.INFO: Acknowledgment sent {"connection_id":164877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:19:35] local.INFO: TCP Data received {"connection_id":163603,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:19:35] local.INFO: Processing buffer {"connection_id":163603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:19:35] local.INFO: IMEI packet received {"connection_id":163603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 17:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":163603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:19:40] local.INFO: TCP Data received {"connection_id":163603,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:19:40] local.INFO: Processing buffer {"connection_id":163603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:19:40] local.INFO: IMEI packet received {"connection_id":163603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 17:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":163603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:19:42] local.INFO: TCP Data received {"connection_id":163603,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048311f70012d34c14006aa4840000a00e627..."} 
[2026-08-28 17:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048311f70012d34c14006aa4840000a00e627..."} 
[2026-08-28 17:19:43] local.INFO: Processing buffer {"connection_id":163603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048311f70012d34c14006aa4840000a00e627..."} 
[2026-08-28 17:19:43] local.INFO: Packet analysis {"connection_id":163603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04831"} 
[2026-08-28 17:19:43] local.INFO: Extracted packet for processing {"connection_id":163603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04831"} 
[2026-08-28 17:19:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 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-28 17:19:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706821888001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:19:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:19:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:19:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:19:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787917574000,"timestamp_ms":1787917574000,"timestamp_seconds":1787917574,"priority":1,"record_length":96,"hex_timestamp":"000001a048311f70"} 
[2026-08-28 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-28 17: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-28 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":118,"data_length":795,"current_offset":136} 
[2026-08-28 17:19: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-28 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-28 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-28 17:19:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:19:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:19:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:19:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:19:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:19:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:19:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:19:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706821888001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:19:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:19:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:19:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706821888001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:19:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:19:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 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-28 17:19:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:19:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706821888001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:19: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":709046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:19:43] local.INFO: GPS data processed {"connection_id":163603,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:19:43] local.INFO: Acknowledgment sent {"connection_id":163603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:19:43] local.INFO: TCP Data received {"connection_id":164879,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164879,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:19:43] local.INFO: Processing buffer {"connection_id":164879,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:19:43] local.INFO: IMEI packet received {"connection_id":164879,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 17:19:43] local.INFO: IMEI acknowledgment sent {"connection_id":164879,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:19:45] local.INFO: TCP Data received {"connection_id":163603,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048311f70012d34c14006aa4840000a00e627..."} 
[2026-08-28 17:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048311f70012d34c14006aa4840000a00e627..."} 
[2026-08-28 17:19:45] local.INFO: Processing buffer {"connection_id":163603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048311f70012d34c14006aa4840000a00e627..."} 
[2026-08-28 17:19:45] local.INFO: Packet analysis {"connection_id":163603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04831"} 
[2026-08-28 17:19:45] local.INFO: Extracted packet for processing {"connection_id":163603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04831"} 
[2026-08-28 17:19:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17: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-28 17:19:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706821888001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:19:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:19:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:19:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:19:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787917574000,"timestamp_ms":1787917574000,"timestamp_seconds":1787917574,"priority":1,"record_length":96,"hex_timestamp":"000001a048311f70"} 
[2026-08-28 17: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-28 17:19: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-28 17: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":118,"data_length":795,"current_offset":136} 
[2026-08-28 17:19: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-28 17: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-28 17: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-28 17:19:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:19:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:19:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:19:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:19:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:19:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:19:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:19:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706821888001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:19:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:19:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:19:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706821888001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:19:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:19:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17: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-28 17:19:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:19:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706821888001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:19:45] 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":709047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:19:45] local.INFO: GPS data processed {"connection_id":163603,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:19:45] local.INFO: Acknowledgment sent {"connection_id":163603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:19:48] local.INFO: TCP Data received {"connection_id":164879,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164879,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:19:48] local.INFO: Processing buffer {"connection_id":164879,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:19:48] local.INFO: IMEI packet received {"connection_id":164879,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":164879,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:19:49] local.INFO: TCP Data received {"connection_id":164879,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048315a08012d181e000721af30004c00cd27..."} 
[2026-08-28 17:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048315a08012d181e000721af30004c00cd27..."} 
[2026-08-28 17:19:49] local.INFO: Processing buffer {"connection_id":164879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048315a08012d181e000721af30004c00cd27..."} 
[2026-08-28 17:19:49] local.INFO: Packet analysis {"connection_id":164879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04831"} 
[2026-08-28 17:19:49] local.INFO: Extracted packet for processing {"connection_id":164879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04831"} 
[2026-08-28 17:19:49] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119648048,"longitude_deg":75.6555264,"latitude_deg":11.9648048,"altitude":76,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-28 17:19:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:19:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706897408001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:19:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15957912333582336,"note":"Value kept but may cause issues"} 
[2026-08-28 17:19:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841490432,"note":"Value kept but may cause issues"} 
[2026-08-28 17:19:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:19:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787917589000,"timestamp_ms":1787917589000,"timestamp_seconds":1787917589,"priority":1,"record_length":96,"hex_timestamp":"000001a048315a08"} 
[2026-08-28 17:19:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:19:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:19:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 17:19:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:19:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:19:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:19:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:19:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:19:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:19:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:19:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:19:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:19:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:19:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706897408001,"66":12461,"105":206,"83":41984,"24":0,"16":15957912333582336,"45":1737826536841490432},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 17:19:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:19:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:19:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706897408001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:19:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 17:19:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:19:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15957912333582336,"km_value":15957912333582.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:19:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841490432,"description":"Unknown IO ID 45"} 
[2026-08-28 17:19:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706897408001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841490432}} 
[2026-08-28 17:19: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":709048,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:19:49] local.INFO: GPS data processed {"connection_id":164879,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:19:49] local.INFO: Acknowledgment sent {"connection_id":164879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:20:01] local.INFO: TCP Data received {"connection_id":163877,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163877,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:20:01] local.INFO: Processing buffer {"connection_id":163877,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:20:01] local.INFO: IMEI packet received {"connection_id":163877,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 17:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":163877,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:20:02] local.INFO: TCP Data received {"connection_id":164878,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a048317560012d7b528005e14060000900691c..."} 
[2026-08-28 17:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048317560012d7b528005e14060000900691c..."} 
[2026-08-28 17:20:02] local.INFO: Processing buffer {"connection_id":164878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048317560012d7b528005e14060000900691c..."} 
[2026-08-28 17:20:02] local.INFO: Packet analysis {"connection_id":164878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04831"} 
[2026-08-28 17:20:02] local.INFO: Extracted packet for processing {"connection_id":164878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04831"} 
[2026-08-28 17:20:02] local.INFO: GPS Element Parsed {"raw_longitude":763056768,"raw_latitude":98648160,"longitude_deg":76.3056768,"latitude_deg":9.864816,"altitude":9,"angle":105,"satellites":28,"speed":0,"hex_longitude":"2d7b5280","hex_latitude":"05e14060","is_valid_coordinates":true} 
[2026-08-28 17:20:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:20:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706899200001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:20:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231973516967936,"note":"Value kept but may cause issues"} 
[2026-08-28 17:20:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753516544,"note":"Value kept but may cause issues"} 
[2026-08-28 17:20:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:20:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787917596000,"timestamp_ms":1787917596000,"timestamp_seconds":1787917596,"priority":1,"record_length":96,"hex_timestamp":"000001a048317560"} 
[2026-08-28 17:20:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:20:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:20:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 17:20:02] 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-28 17:20:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:20:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:20:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:20:02] local.INFO: Teltonika packet parsed successfully {"connection_id":164878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:20:02] local.INFO: Passing IMEI to GPS processor {"connection_id":164878,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:20:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":164878,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:20:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:20:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:20:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:20:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706899200001,"66":12461,"217":206,"85":15104,"24":0,"16":125231973516967936,"45":8886235408753516544},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 17:20:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:20:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:20:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706899200001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:20:02] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 17:20:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:20:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231973516967936,"km_value":125231973516967.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:20:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753516544,"description":"Unknown IO ID 45"} 
[2026-08-28 17:20:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706899200001,"power":12461,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753516544}} 
[2026-08-28 17:20:02] 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":709049,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:20:02] local.INFO: GPS data processed {"connection_id":164878,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:20:02] local.INFO: Acknowledgment sent {"connection_id":164878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:20:06] local.INFO: TCP Data received {"connection_id":163877,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163877,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:20:06] local.INFO: Processing buffer {"connection_id":163877,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:20:06] local.INFO: IMEI packet received {"connection_id":163877,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 17:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":163877,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:20:08] local.INFO: TCP Data received {"connection_id":163877,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04833a7e0012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04833a7e0012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:20:08] local.INFO: Processing buffer {"connection_id":163877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04833a7e0012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:20:08] local.INFO: Packet analysis {"connection_id":163877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04833"} 
[2026-08-28 17:20:08] local.INFO: Extracted packet for processing {"connection_id":163877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04833"} 
[2026-08-28 17:20:08] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706864384001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:20:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787917740000,"timestamp_ms":1787917740000,"timestamp_seconds":1787917740,"priority":1,"record_length":96,"hex_timestamp":"000001a04833a7e0"} 
[2026-08-28 17:20:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:20:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 17:20:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:20:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:20:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163877,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163877,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:20:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706864384001,"66":25375,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706864384001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:20:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:20:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706864384001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":163877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709050,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:20:08] local.INFO: GPS data processed {"connection_id":163877,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:20:08] local.INFO: Acknowledgment sent {"connection_id":163877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:20:12] local.INFO: TCP Data received {"connection_id":163877,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04833a7e0012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04833a7e0012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:20:12] local.INFO: Processing buffer {"connection_id":163877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04833a7e0012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:20:12] local.INFO: Packet analysis {"connection_id":163877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04833"} 
[2026-08-28 17:20:12] local.INFO: Extracted packet for processing {"connection_id":163877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04833"} 
[2026-08-28 17:20:12] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:20:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706864384001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:20:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:20:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:20:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:20:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787917740000,"timestamp_ms":1787917740000,"timestamp_seconds":1787917740,"priority":1,"record_length":96,"hex_timestamp":"000001a04833a7e0"} 
[2026-08-28 17:20:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:20:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 17:20:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:20:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:20:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:20:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:20:12] local.INFO: Teltonika packet parsed successfully {"connection_id":163877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:20:12] local.INFO: Passing IMEI to GPS processor {"connection_id":163877,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:20:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":163877,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:20:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:20:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:20:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:20:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706864384001,"66":25375,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:20:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:20:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:20:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706864384001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:20:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:20:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:20:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:20:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:20:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706864384001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:20:13] local.INFO: DEBUG: GPS processor result {"connection_id":163877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709051,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:20:13] local.INFO: GPS data processed {"connection_id":163877,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:20:13] local.INFO: Acknowledgment sent {"connection_id":163877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:20:20] local.INFO: TCP Data received {"connection_id":164879,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a04831ac10012d181e000721af30004c00cd27..."} 
[2026-08-28 17:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04831ac10012d181e000721af30004c00cd27..."} 
[2026-08-28 17:20:20] local.INFO: Processing buffer {"connection_id":164879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04831ac10012d181e000721af30004c00cd27..."} 
[2026-08-28 17:20:20] local.INFO: Packet analysis {"connection_id":164879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04831"} 
[2026-08-28 17:20:20] local.INFO: Extracted packet for processing {"connection_id":164879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04831"} 
[2026-08-28 17:20:20] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119648048,"longitude_deg":75.6555264,"latitude_deg":11.9648048,"altitude":76,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-28 17:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706902784001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15957912333582336,"note":"Value kept but may cause issues"} 
[2026-08-28 17:20:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841490432,"note":"Value kept but may cause issues"} 
[2026-08-28 17:20:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787917610000,"timestamp_ms":1787917610000,"timestamp_seconds":1787917610,"priority":1,"record_length":96,"hex_timestamp":"000001a04831ac10"} 
[2026-08-28 17:20:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:20:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 17:20:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:20:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:20:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":164879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":164879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":164879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:20:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706902784001,"66":12461,"105":206,"83":41984,"24":0,"16":15957912333582336,"45":1737826536841490432},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 17:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706902784001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:20:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 17:20:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15957912333582336,"km_value":15957912333582.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:20:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841490432,"description":"Unknown IO ID 45"} 
[2026-08-28 17:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706902784001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841490432}} 
[2026-08-28 17:20:20] 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":709052,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:20:20] local.INFO: GPS data processed {"connection_id":164879,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:20:20] local.INFO: Acknowledgment sent {"connection_id":164879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:20:25] local.INFO: TCP Data received {"connection_id":164880,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164880,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:20:25] local.INFO: Processing buffer {"connection_id":164880,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:20:25] local.INFO: IMEI packet received {"connection_id":164880,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 17:20:25] local.INFO: IMEI acknowledgment sent {"connection_id":164880,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:20:29] local.INFO: TCP Data received {"connection_id":164880,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164880,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:20:29] local.INFO: Processing buffer {"connection_id":164880,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:20:29] local.INFO: IMEI packet received {"connection_id":164880,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 17:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":164880,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:20:30] local.INFO: TCP Data received {"connection_id":164880,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164880,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:20:30] local.INFO: Processing buffer {"connection_id":164880,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:20:30] local.INFO: IMEI packet received {"connection_id":164880,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 17:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":164880,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:20:30] local.INFO: TCP Data received {"connection_id":164881,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:20:30] local.INFO: Processing buffer {"connection_id":164881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:20:30] local.INFO: IMEI packet received {"connection_id":164881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 17:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":164881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:20:30] local.INFO: TCP Data received {"connection_id":164880,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a04831c768012d7b524005e14098000800691e..."} 
[2026-08-28 17:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04831c768012d7b524005e14098000800691e..."} 
[2026-08-28 17:20:30] local.INFO: Processing buffer {"connection_id":164880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04831c768012d7b524005e14098000800691e..."} 
[2026-08-28 17:20:30] local.INFO: Packet analysis {"connection_id":164880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04831"} 
[2026-08-28 17:20:30] local.INFO: Extracted packet for processing {"connection_id":164880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04831"} 
[2026-08-28 17:20:30] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98648216,"longitude_deg":76.3056704,"latitude_deg":9.8648216,"altitude":8,"angle":105,"satellites":30,"speed":0,"hex_longitude":"2d7b5240","hex_latitude":"05e14098","is_valid_coordinates":true} 
[2026-08-28 17:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:20:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706904576001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:20:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231982106902528,"note":"Value kept but may cause issues"} 
[2026-08-28 17:20:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886305777497694208,"note":"Value kept but may cause issues"} 
[2026-08-28 17:20:30] 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-28 17:20:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787917617000,"timestamp_ms":1787917617000,"timestamp_seconds":1787917617,"priority":1,"record_length":96,"hex_timestamp":"000001a04831c768"} 
[2026-08-28 17:20:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:20:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 17:20:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:20:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:20:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:20:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:20:30] local.INFO: Teltonika packet parsed successfully {"connection_id":164880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:20:30] local.INFO: Passing IMEI to GPS processor {"connection_id":164880,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:20:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":164880,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:20:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:20:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:20:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:20:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706904576001,"66":12461,"217":206,"85":15104,"24":0,"16":125231982106902528,"45":8886305777497694208},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 17:20:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:20:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:20:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706904576001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:20:30] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 17:20:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:20:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231982106902528,"km_value":125231982106902.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:20:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886305777497694208,"description":"Unknown IO ID 45"} 
[2026-08-28 17:20:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706904576001,"power":12461,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886305777497694208}} 
[2026-08-28 17:20:31] 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":709053,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:20:31] local.INFO: GPS data processed {"connection_id":164880,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:20:31] local.INFO: Acknowledgment sent {"connection_id":164880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:20:35] local.INFO: TCP Data received {"connection_id":164880,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a048321970012d7b518005e140c80005011c1e..."} 
[2026-08-28 17:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048321970012d7b518005e140c80005011c1e..."} 
[2026-08-28 17:20:35] local.INFO: Processing buffer {"connection_id":164880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048321970012d7b518005e140c80005011c1e..."} 
[2026-08-28 17:20:35] local.INFO: Packet analysis {"connection_id":164880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04832"} 
[2026-08-28 17:20:35] local.INFO: Extracted packet for processing {"connection_id":164880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04832"} 
[2026-08-28 17:20:35] local.INFO: GPS Element Parsed {"raw_longitude":763056512,"raw_latitude":98648264,"longitude_deg":76.3056512,"latitude_deg":9.8648264,"altitude":5,"angle":284,"satellites":30,"speed":0,"hex_longitude":"2d7b5180","hex_latitude":"05e140c8","is_valid_coordinates":true} 
[2026-08-28 17:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:20:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706909952001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:20:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231994991804416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:20:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408753530880,"note":"Value kept but may cause issues"} 
[2026-08-28 17:20:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:20:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787917638000,"timestamp_ms":1787917638000,"timestamp_seconds":1787917638,"priority":1,"record_length":96,"hex_timestamp":"000001a048321970"} 
[2026-08-28 17:20:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:20:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 17:20:35] 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-28 17:20:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:20:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:20:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:20:35] local.INFO: Teltonika packet parsed successfully {"connection_id":164880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:20:35] local.INFO: Passing IMEI to GPS processor {"connection_id":164880,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:20:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":164880,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:20:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:20:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:20:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:20:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706909952001,"66":12428,"217":206,"85":15104,"24":0,"16":125231994991804416,"45":8886235408753530880},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 17:20:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:20:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:20:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706909952001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:20:35] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 17:20:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:20:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231994991804416,"km_value":125231994991804.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:20:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408753530880,"description":"Unknown IO ID 45"} 
[2026-08-28 17:20:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706909952001,"power":12428,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886235408753530880}} 
[2026-08-28 17:20:35] 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":709054,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:20:35] local.INFO: GPS data processed {"connection_id":164880,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:20:35] local.INFO: Acknowledgment sent {"connection_id":164880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:20:35] local.INFO: TCP Data received {"connection_id":164881,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:20:35] local.INFO: Processing buffer {"connection_id":164881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:20:35] local.INFO: IMEI packet received {"connection_id":164881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 17:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":164881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:20:38] local.INFO: TCP Data received {"connection_id":164881,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048311f70012d34c14006aa4840000a00e627..."} 
[2026-08-28 17:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048311f70012d34c14006aa4840000a00e627..."} 
[2026-08-28 17:20:38] local.INFO: Processing buffer {"connection_id":164881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048311f70012d34c14006aa4840000a00e627..."} 
[2026-08-28 17:20:38] local.INFO: Packet analysis {"connection_id":164881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04831"} 
[2026-08-28 17:20:38] local.INFO: Extracted packet for processing {"connection_id":164881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04831"} 
[2026-08-28 17:20:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706821888001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:20:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787917574000,"timestamp_ms":1787917574000,"timestamp_seconds":1787917574,"priority":1,"record_length":96,"hex_timestamp":"000001a048311f70"} 
[2026-08-28 17:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 17:20:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:20:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706821888001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706821888001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:20:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:20:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:20: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-28 17:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706821888001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:20:38] 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":709055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:20:38] local.INFO: GPS data processed {"connection_id":164881,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:20:38] local.INFO: Acknowledgment sent {"connection_id":164881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:20:43] local.INFO: TCP Data received {"connection_id":163604,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163604,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:20:43] local.INFO: Processing buffer {"connection_id":163604,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:20:43] local.INFO: IMEI packet received {"connection_id":163604,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 17:20:43] local.INFO: IMEI acknowledgment sent {"connection_id":163604,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:20:48] local.INFO: TCP Data received {"connection_id":163604,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163604,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:20:48] local.INFO: Processing buffer {"connection_id":163604,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:20:48] local.INFO: IMEI packet received {"connection_id":163604,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":163604,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:20:49] local.INFO: TCP Data received {"connection_id":163604,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a04831fe18012d181e000721af30004c00cd28..."} 
[2026-08-28 17:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04831fe18012d181e000721af30004c00cd28..."} 
[2026-08-28 17:20:49] local.INFO: Processing buffer {"connection_id":163604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04831fe18012d181e000721af30004c00cd28..."} 
[2026-08-28 17:20:49] local.INFO: Packet analysis {"connection_id":163604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04831"} 
[2026-08-28 17:20:49] local.INFO: Extracted packet for processing {"connection_id":163604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04831"} 
[2026-08-28 17:20:49] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119648048,"longitude_deg":75.6555264,"latitude_deg":11.9648048,"altitude":76,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-28 17:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:20:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706908160001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:20:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15957912333582336,"note":"Value kept but may cause issues"} 
[2026-08-28 17:20:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841490432,"note":"Value kept but may cause issues"} 
[2026-08-28 17:20:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:20:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787917631000,"timestamp_ms":1787917631000,"timestamp_seconds":1787917631,"priority":1,"record_length":96,"hex_timestamp":"000001a04831fe18"} 
[2026-08-28 17:20:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:20:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 17:20:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17: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-28 17:20:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:20:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:20:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:20:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:20:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:20:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:20:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:20:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:20:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706908160001,"66":12461,"105":206,"83":41984,"24":0,"16":15957912333582336,"45":1737826536841490432},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 17:20:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:20:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:20:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706908160001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:20:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 17:20:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:20:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15957912333582336,"km_value":15957912333582.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:20:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841490432,"description":"Unknown IO ID 45"} 
[2026-08-28 17:20:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706908160001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841490432}} 
[2026-08-28 17:20:49] 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":709056,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:20:49] local.INFO: GPS data processed {"connection_id":163604,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:20:49] local.INFO: Acknowledgment sent {"connection_id":163604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:20:56] local.INFO: TCP Data received {"connection_id":166238,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166238,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:20:56] local.INFO: Processing buffer {"connection_id":166238,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:20:56] local.INFO: IMEI packet received {"connection_id":166238,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 17:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":166238,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:21:01] local.INFO: TCP Data received {"connection_id":166238,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166238,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:21:01] local.INFO: Processing buffer {"connection_id":166238,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:21:01] local.INFO: IMEI packet received {"connection_id":166238,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 17:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":166238,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:21:02] local.INFO: TCP Data received {"connection_id":166238,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04833a7e0012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04833a7e0012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:21:02] local.INFO: Processing buffer {"connection_id":166238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04833a7e0012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:21:02] local.INFO: Packet analysis {"connection_id":166238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04833"} 
[2026-08-28 17:21:02] local.INFO: Extracted packet for processing {"connection_id":166238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04833"} 
[2026-08-28 17:21:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706864384001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:21:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:21:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787917740000,"timestamp_ms":1787917740000,"timestamp_seconds":1787917740,"priority":1,"record_length":96,"hex_timestamp":"000001a04833a7e0"} 
[2026-08-28 17:21:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:21:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 17:21:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:21:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:21:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":166238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":166238,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":166238,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:21:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706864384001,"66":25375,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706864384001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:21:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:21:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:21:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:21:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706864384001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":166238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709057,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:21:02] local.INFO: GPS data processed {"connection_id":166238,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:21:02] local.INFO: Acknowledgment sent {"connection_id":166238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:21:07] local.INFO: TCP Data received {"connection_id":164880,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a048321970012d7b518005e140c80005011c1e..."} 
[2026-08-28 17:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048321970012d7b518005e140c80005011c1e..."} 
[2026-08-28 17:21:07] local.INFO: Processing buffer {"connection_id":164880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048321970012d7b518005e140c80005011c1e..."} 
[2026-08-28 17:21:07] local.INFO: Packet analysis {"connection_id":164880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04832"} 
[2026-08-28 17:21:07] local.INFO: Extracted packet for processing {"connection_id":164880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04832"} 
[2026-08-28 17:21:07] local.INFO: GPS Element Parsed {"raw_longitude":763056512,"raw_latitude":98648264,"longitude_deg":76.3056512,"latitude_deg":9.8648264,"altitude":5,"angle":284,"satellites":30,"speed":0,"hex_longitude":"2d7b5180","hex_latitude":"05e140c8","is_valid_coordinates":true} 
[2026-08-28 17:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706915328001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125231994991804416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886024302521010176,"note":"Value kept but may cause issues"} 
[2026-08-28 17:21: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-28 17:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787917638000,"timestamp_ms":1787917638000,"timestamp_seconds":1787917638,"priority":1,"record_length":96,"hex_timestamp":"000001a048321970"} 
[2026-08-28 17:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:21:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-28 17:21:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:21:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":164880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":164880,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":164880,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706915328001,"66":12461,"217":206,"85":15104,"24":0,"16":125231994991804416,"45":8886024302521010176},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 17:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706915328001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:21:07] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 17:21:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125231994991804416,"km_value":125231994991804.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886024302521010176,"description":"Unknown IO ID 45"} 
[2026-08-28 17:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706915328001,"power":12461,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886024302521010176}} 
[2026-08-28 17:21:07] 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":709058,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:21:07] local.INFO: GPS data processed {"connection_id":164880,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:21:07] local.INFO: Acknowledgment sent {"connection_id":164880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:21:11] local.INFO: TCP Data received {"connection_id":164881,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048311f70012d34c14006aa4840000a00e627..."} 
[2026-08-28 17:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048311f70012d34c14006aa4840000a00e627..."} 
[2026-08-28 17:21:11] local.INFO: Processing buffer {"connection_id":164881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048311f70012d34c14006aa4840000a00e627..."} 
[2026-08-28 17:21:11] local.INFO: Packet analysis {"connection_id":164881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04831"} 
[2026-08-28 17:21:11] local.INFO: Extracted packet for processing {"connection_id":164881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04831"} 
[2026-08-28 17:21:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706821888001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787917574000,"timestamp_ms":1787917574000,"timestamp_seconds":1787917574,"priority":1,"record_length":96,"hex_timestamp":"000001a048311f70"} 
[2026-08-28 17:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:21:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 17:21:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:21:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":164881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":164881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":164881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:21:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706821888001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706821888001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:21:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:21:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:21: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-28 17:21:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706821888001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:21:11] 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":709059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:21:11] local.INFO: GPS data processed {"connection_id":164881,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:21:11] local.INFO: Acknowledgment sent {"connection_id":164881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:21:20] local.INFO: TCP Data received {"connection_id":163604,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048325020012d181e000721af30004c00cd27..."} 
[2026-08-28 17:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048325020012d181e000721af30004c00cd27..."} 
[2026-08-28 17:21:20] local.INFO: Processing buffer {"connection_id":163604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048325020012d181e000721af30004c00cd27..."} 
[2026-08-28 17:21:20] local.INFO: Packet analysis {"connection_id":163604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04832"} 
[2026-08-28 17:21:20] local.INFO: Extracted packet for processing {"connection_id":163604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04832"} 
[2026-08-28 17:21:20] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119648048,"longitude_deg":75.6555264,"latitude_deg":11.9648048,"altitude":76,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-28 17: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-28 17:21:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706913536001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:21:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15957912333582336,"note":"Value kept but may cause issues"} 
[2026-08-28 17:21:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841490432,"note":"Value kept but may cause issues"} 
[2026-08-28 17:21:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:21:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787917652000,"timestamp_ms":1787917652000,"timestamp_seconds":1787917652,"priority":1,"record_length":96,"hex_timestamp":"000001a048325020"} 
[2026-08-28 17: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-28 17:21:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 17:21:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17: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-28 17: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-28 17:21:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:21:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:21:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:21:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:21:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:21:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:21:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:21:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706913536001,"66":12461,"105":206,"83":41984,"24":0,"16":15957912333582336,"45":1737826536841490432},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 17:21:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:21:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:21:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706913536001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:21:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 17:21:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:21:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15957912333582336,"km_value":15957912333582.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:21:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841490432,"description":"Unknown IO ID 45"} 
[2026-08-28 17:21:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706913536001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841490432}} 
[2026-08-28 17:21:20] 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":709060,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:21:20] local.INFO: GPS data processed {"connection_id":163604,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:21:20] local.INFO: Acknowledgment sent {"connection_id":163604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:21:25] local.INFO: TCP Data received {"connection_id":164882,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164882,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:21:25] local.INFO: Processing buffer {"connection_id":164882,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:21:25] local.INFO: IMEI packet received {"connection_id":164882,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 17:21:25] local.INFO: IMEI acknowledgment sent {"connection_id":164882,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:21:30] local.INFO: TCP Data received {"connection_id":164883,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:21:30] local.INFO: Processing buffer {"connection_id":164883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:21:30] local.INFO: IMEI packet received {"connection_id":164883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 17:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":164883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:21:30] local.INFO: TCP Data received {"connection_id":164882,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164882,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:21:30] local.INFO: Processing buffer {"connection_id":164882,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:21:30] local.INFO: IMEI packet received {"connection_id":164882,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 17:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":164882,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:21:31] local.INFO: TCP Data received {"connection_id":164882,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a048326b78012d7b518005e140f80004011c1e..."} 
[2026-08-28 17:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048326b78012d7b518005e140f80004011c1e..."} 
[2026-08-28 17:21:31] local.INFO: Processing buffer {"connection_id":164882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048326b78012d7b518005e140f80004011c1e..."} 
[2026-08-28 17:21:31] local.INFO: Packet analysis {"connection_id":164882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04832"} 
[2026-08-28 17:21:31] local.INFO: Extracted packet for processing {"connection_id":164882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04832"} 
[2026-08-28 17:21:31] local.INFO: GPS Element Parsed {"raw_longitude":763056512,"raw_latitude":98648312,"longitude_deg":76.3056512,"latitude_deg":9.8648312,"altitude":4,"angle":284,"satellites":30,"speed":0,"hex_longitude":"2d7b5180","hex_latitude":"05e140f8","is_valid_coordinates":true} 
[2026-08-28 17:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:21:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706915328001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:21:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232003581739008,"note":"Value kept but may cause issues"} 
[2026-08-28 17:21:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886024302521010176,"note":"Value kept but may cause issues"} 
[2026-08-28 17:21:31] 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-28 17:21:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787917659000,"timestamp_ms":1787917659000,"timestamp_seconds":1787917659,"priority":1,"record_length":96,"hex_timestamp":"000001a048326b78"} 
[2026-08-28 17:21:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:21:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 17:21:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:21:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:21:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:21:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:21:31] local.INFO: Teltonika packet parsed successfully {"connection_id":164882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:21:31] local.INFO: Passing IMEI to GPS processor {"connection_id":164882,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:21:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":164882,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:21:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:21:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:21:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:21:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706915328001,"66":12439,"217":206,"85":15104,"24":0,"16":125232003581739008,"45":8886024302521010176},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 17:21:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:21:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:21:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706915328001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:21:31] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 17:21:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:21:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232003581739008,"km_value":125232003581739.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:21:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886024302521010176,"description":"Unknown IO ID 45"} 
[2026-08-28 17:21:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706915328001,"power":12439,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886024302521010176}} 
[2026-08-28 17:21:31] 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":709061,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:21:31] local.INFO: GPS data processed {"connection_id":164882,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:21:31] local.INFO: Acknowledgment sent {"connection_id":164882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:21:34] local.INFO: TCP Data received {"connection_id":166238,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04833a7e0012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04833a7e0012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:21:34] local.INFO: Processing buffer {"connection_id":166238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04833a7e0012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:21:34] local.INFO: Packet analysis {"connection_id":166238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04833"} 
[2026-08-28 17:21:34] local.INFO: Extracted packet for processing {"connection_id":166238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04833"} 
[2026-08-28 17:21:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706864384001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:21:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787917740000,"timestamp_ms":1787917740000,"timestamp_seconds":1787917740,"priority":1,"record_length":96,"hex_timestamp":"000001a04833a7e0"} 
[2026-08-28 17:21:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:21:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 17:21:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:21:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:21:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":166238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":166238,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":166238,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:21:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706864384001,"66":25375,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706864384001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:21:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:21:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706864384001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":166238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709062,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:21:34] local.INFO: GPS data processed {"connection_id":166238,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:21:34] local.INFO: Acknowledgment sent {"connection_id":166238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:21:35] local.INFO: TCP Data received {"connection_id":164883,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:21:35] local.INFO: Processing buffer {"connection_id":164883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:21:35] local.INFO: IMEI packet received {"connection_id":164883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 17:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":164883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:21:37] local.INFO: TCP Data received {"connection_id":164883,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048311f70012d34c14006aa4840000a00e627..."} 
[2026-08-28 17:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048311f70012d34c14006aa4840000a00e627..."} 
[2026-08-28 17:21:37] local.INFO: Processing buffer {"connection_id":164883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048311f70012d34c14006aa4840000a00e627..."} 
[2026-08-28 17:21:37] local.INFO: Packet analysis {"connection_id":164883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04831"} 
[2026-08-28 17:21:37] local.INFO: Extracted packet for processing {"connection_id":164883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04831"} 
[2026-08-28 17:21:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17: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-28 17:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706821888001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787917574000,"timestamp_ms":1787917574000,"timestamp_seconds":1787917574,"priority":1,"record_length":96,"hex_timestamp":"000001a048311f70"} 
[2026-08-28 17: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-28 17:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 17:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17: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-28 17: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-28 17:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706821888001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706821888001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:21:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:21:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:21: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-28 17:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706821888001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":164883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:21:37] local.INFO: GPS data processed {"connection_id":164883,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:21:37] local.INFO: Acknowledgment sent {"connection_id":164883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:21:43] local.INFO: TCP Data received {"connection_id":163605,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163605,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:21:43] local.INFO: Processing buffer {"connection_id":163605,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:21:43] local.INFO: IMEI packet received {"connection_id":163605,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 17:21:43] local.INFO: IMEI acknowledgment sent {"connection_id":163605,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:21:46] local.INFO: TCP Data received {"connection_id":163605,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163605,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:21:46] local.INFO: Processing buffer {"connection_id":163605,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:21:46] local.INFO: IMEI packet received {"connection_id":163605,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":163605,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:21:47] local.INFO: TCP Data received {"connection_id":163605,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a04832a228012d181e000721af30004c00cd27..."} 
[2026-08-28 17:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04832a228012d181e000721af30004c00cd27..."} 
[2026-08-28 17:21:47] local.INFO: Processing buffer {"connection_id":163605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04832a228012d181e000721af30004c00cd27..."} 
[2026-08-28 17:21:47] local.INFO: Packet analysis {"connection_id":163605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04832"} 
[2026-08-28 17:21:47] local.INFO: Extracted packet for processing {"connection_id":163605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04832"} 
[2026-08-28 17:21:47] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119648048,"longitude_deg":75.6555264,"latitude_deg":11.9648048,"altitude":76,"angle":205,"satellites":39,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-08-28 17:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706918912001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15957912333582336,"note":"Value kept but may cause issues"} 
[2026-08-28 17:21:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841490432,"note":"Value kept but may cause issues"} 
[2026-08-28 17:21:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787917673000,"timestamp_ms":1787917673000,"timestamp_seconds":1787917673,"priority":1,"record_length":96,"hex_timestamp":"000001a04832a228"} 
[2026-08-28 17:21:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:21:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:21:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 17:21:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:21:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:21:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:21:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706918912001,"66":12406,"105":206,"83":41984,"24":0,"16":15957912333582336,"45":1737826536841490432},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 17:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706918912001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:21:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 17:21:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:21:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15957912333582336,"km_value":15957912333582.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:21:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841490432,"description":"Unknown IO ID 45"} 
[2026-08-28 17:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706918912001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841490432}} 
[2026-08-28 17:21:47] local.INFO: DEBUG: GPS processor result {"connection_id":163605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709064,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:21:47] local.INFO: GPS data processed {"connection_id":163605,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:21:47] local.INFO: Acknowledgment sent {"connection_id":163605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:22:00] local.INFO: TCP Data received {"connection_id":163606,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163606,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:22:00] local.INFO: Processing buffer {"connection_id":163606,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:22:00] local.INFO: IMEI packet received {"connection_id":163606,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 17:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":163606,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:22:01] local.INFO: TCP Data received {"connection_id":163606,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163606,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:22:01] local.INFO: Processing buffer {"connection_id":163606,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:22:01] local.INFO: IMEI packet received {"connection_id":163606,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 17:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":163606,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:22:02] local.INFO: TCP Data received {"connection_id":163606,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04833a7e0012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04833a7e0012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:22:02] local.INFO: Processing buffer {"connection_id":163606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04833a7e0012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:22:02] local.INFO: Packet analysis {"connection_id":163606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04833"} 
[2026-08-28 17:22:02] local.INFO: Extracted packet for processing {"connection_id":163606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04833"} 
[2026-08-28 17:22:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:22:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706864384001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:22:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:22:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:22:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:22:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787917740000,"timestamp_ms":1787917740000,"timestamp_seconds":1787917740,"priority":1,"record_length":96,"hex_timestamp":"000001a04833a7e0"} 
[2026-08-28 17:22:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:22:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 17:22:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:22:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:22:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:22:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:22:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:22:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163606,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:22:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163606,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:22:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:22:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:22:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:22:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706864384001,"66":25375,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:22:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:22:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:22:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706864384001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:22:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:22:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:22:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:22:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:22:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706864384001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:22:02] 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":709065,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:22:02] local.INFO: GPS data processed {"connection_id":163606,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:22:02] local.INFO: Acknowledgment sent {"connection_id":163606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:22:02] local.INFO: TCP Data received {"connection_id":164882,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a04832bd80012d7b51c005e140a00004011c1e..."} 
[2026-08-28 17:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04832bd80012d7b51c005e140a00004011c1e..."} 
[2026-08-28 17:22:02] local.INFO: Processing buffer {"connection_id":164882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04832bd80012d7b51c005e140a00004011c1e..."} 
[2026-08-28 17:22:02] local.INFO: Packet analysis {"connection_id":164882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04832"} 
[2026-08-28 17:22:02] local.INFO: Extracted packet for processing {"connection_id":164882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04832"} 
[2026-08-28 17:22:02] local.INFO: GPS Element Parsed {"raw_longitude":763056576,"raw_latitude":98648224,"longitude_deg":76.3056576,"latitude_deg":9.8648224,"altitude":4,"angle":284,"satellites":30,"speed":0,"hex_longitude":"2d7b51c0","hex_latitude":"05e140a0","is_valid_coordinates":true} 
[2026-08-28 17:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:22:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706920704001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:22:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232007876706304,"note":"Value kept but may cause issues"} 
[2026-08-28 17:22:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886024302521022464,"note":"Value kept but may cause issues"} 
[2026-08-28 17:22:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:22:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787917680000,"timestamp_ms":1787917680000,"timestamp_seconds":1787917680,"priority":1,"record_length":96,"hex_timestamp":"000001a04832bd80"} 
[2026-08-28 17:22:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:22:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 17:22:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:22:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:22:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:22:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:22:02] local.INFO: Teltonika packet parsed successfully {"connection_id":164882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:22:02] local.INFO: Passing IMEI to GPS processor {"connection_id":164882,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:22:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":164882,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:22:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:22:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:22:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:22:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706920704001,"66":12461,"217":206,"85":15104,"24":0,"16":125232007876706304,"45":8886024302521022464},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 17:22:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:22:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:22:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706920704001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:22:02] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 17:22:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:22:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232007876706304,"km_value":125232007876706.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:22:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886024302521022464,"description":"Unknown IO ID 45"} 
[2026-08-28 17:22:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706920704001,"power":12461,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886024302521022464}} 
[2026-08-28 17:22:02] 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":709066,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:22:02] local.INFO: GPS data processed {"connection_id":164882,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:22:02] local.INFO: Acknowledgment sent {"connection_id":164882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:22:07] local.INFO: TCP Data received {"connection_id":163606,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04833a7e0012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04833a7e0012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:22:07] local.INFO: Processing buffer {"connection_id":163606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04833a7e0012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:22:07] local.INFO: Packet analysis {"connection_id":163606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04833"} 
[2026-08-28 17:22:07] local.INFO: Extracted packet for processing {"connection_id":163606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04833"} 
[2026-08-28 17:22:07] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706864384001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787917740000,"timestamp_ms":1787917740000,"timestamp_seconds":1787917740,"priority":1,"record_length":96,"hex_timestamp":"000001a04833a7e0"} 
[2026-08-28 17:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 17:22:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:22:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":163606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":163606,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":163606,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706864384001,"66":25375,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706864384001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:22:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:22:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706864384001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:22:07] 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":709067,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:22:07] local.INFO: GPS data processed {"connection_id":163606,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:22:07] local.INFO: Acknowledgment sent {"connection_id":163606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:22:09] local.INFO: TCP Data received {"connection_id":164883,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04835b738012d34c14006aa4840000c00e628..."} 
[2026-08-28 17:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04835b738012d34c14006aa4840000c00e628..."} 
[2026-08-28 17:22:09] local.INFO: Processing buffer {"connection_id":164883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04835b738012d34c14006aa4840000c00e628..."} 
[2026-08-28 17:22:09] local.INFO: Packet analysis {"connection_id":164883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04835"} 
[2026-08-28 17:22:09] local.INFO: Extracted packet for processing {"connection_id":164883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04835"} 
[2026-08-28 17:22:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706898944001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:22:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:22:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787917875000,"timestamp_ms":1787917875000,"timestamp_seconds":1787917875,"priority":1,"record_length":96,"hex_timestamp":"000001a04835b738"} 
[2026-08-28 17:22:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:22:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 17:22: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-28 17:22:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:22:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:22:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706898944001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706898944001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:22:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:22:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:22: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-28 17:22:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706898944001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":164883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:22:09] local.INFO: GPS data processed {"connection_id":164883,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:22:09] local.INFO: Acknowledgment sent {"connection_id":164883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:22:18] local.INFO: TCP Data received {"connection_id":163605,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a04835cac0012d181f800721a7980050006327..."} 
[2026-08-28 17:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04835cac0012d181f800721a7980050006327..."} 
[2026-08-28 17:22:18] local.INFO: Processing buffer {"connection_id":163605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04835cac0012d181f800721a7980050006327..."} 
[2026-08-28 17:22:18] local.INFO: Packet analysis {"connection_id":163605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04835"} 
[2026-08-28 17:22:18] local.INFO: Extracted packet for processing {"connection_id":163605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04835"} 
[2026-08-28 17:22:18] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119646104,"longitude_deg":75.6555648,"latitude_deg":11.9646104,"altitude":80,"angle":99,"satellites":39,"speed":6,"hex_longitude":"2d181f80","hex_latitude":"0721a798","is_valid_coordinates":true} 
[2026-08-28 17:22:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:22:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706977024001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:22:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15958019707764736,"note":"Value kept but may cause issues"} 
[2026-08-28 17:22:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643073538048,"note":"Value kept but may cause issues"} 
[2026-08-28 17:22: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-28 17:22:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787917880000,"timestamp_ms":1787917880000,"timestamp_seconds":1787917880,"priority":1,"record_length":96,"hex_timestamp":"000001a04835cac0"} 
[2026-08-28 17:22:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:22:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:22:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-28 17:22:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:22:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:22:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:22:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:22:18] local.INFO: Teltonika packet parsed successfully {"connection_id":163605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:22:18] local.INFO: Passing IMEI to GPS processor {"connection_id":163605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:22:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":163605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:22:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:22:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:22:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:22:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706977024001,"66":13939,"105":206,"83":41984,"24":6,"16":15958019707764736,"45":1738037643073538048},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 17:22:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:22:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:22:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706977024001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:22:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 17:22:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:22:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15958019707764736,"km_value":15958019707764.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:22:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643073538048,"description":"Unknown IO ID 45"} 
[2026-08-28 17:22:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706977024001,"power":13939,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1738037643073538048}} 
[2026-08-28 17:22:18] local.INFO: DEBUG: GPS processor result {"connection_id":163605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709069,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:22:18] local.INFO: GPS data processed {"connection_id":163605,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:22:18] local.INFO: Acknowledgment sent {"connection_id":163605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:22:30] local.INFO: TCP Data received {"connection_id":166239,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166239,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:22:30] local.INFO: Processing buffer {"connection_id":166239,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:22:30] local.INFO: IMEI packet received {"connection_id":166239,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 17:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":166239,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:22:35] local.INFO: TCP Data received {"connection_id":166239,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166239,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:22:35] local.INFO: Processing buffer {"connection_id":166239,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:22:35] local.INFO: IMEI packet received {"connection_id":166239,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 17:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":166239,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:22:35] local.INFO: TCP Data received {"connection_id":166240,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:22:35] local.INFO: Processing buffer {"connection_id":166240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:22:35] local.INFO: IMEI packet received {"connection_id":166240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 17:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":166240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:22:36] local.INFO: TCP Data received {"connection_id":166239,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0483695e0012d7b530005e140a00015011c1e..."} 
[2026-08-28 17:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0483695e0012d7b530005e140a00015011c1e..."} 
[2026-08-28 17:22:36] local.INFO: Processing buffer {"connection_id":166239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0483695e0012d7b530005e140a00015011c1e..."} 
[2026-08-28 17:22:36] local.INFO: Packet analysis {"connection_id":166239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04836"} 
[2026-08-28 17:22:36] local.INFO: Extracted packet for processing {"connection_id":166239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04836"} 
[2026-08-28 17:22:36] local.INFO: GPS Element Parsed {"raw_longitude":763056896,"raw_latitude":98648224,"longitude_deg":76.3056896,"latitude_deg":9.8648224,"altitude":21,"angle":284,"satellites":30,"speed":0,"hex_longitude":"2d7b5300","hex_latitude":"05e140a0","is_valid_coordinates":true} 
[2026-08-28 17:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706985216001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886516883730247680,"note":"Value kept but may cause issues"} 
[2026-08-28 17:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232102365986816,"note":"Value kept but may cause issues"} 
[2026-08-28 17:22:36] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-28 17:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787917932000,"timestamp_ms":1787917932000,"timestamp_seconds":1787917932,"priority":1,"record_length":96,"hex_timestamp":"000001a0483695e0"} 
[2026-08-28 17:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:22:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 17:22:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:22:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":166239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":166239,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":166239,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:22:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706985216001,"66":12461,"45":8886516883730247680,"85":15104,"24":0,"16":125232102365986816},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-28 17:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706985216001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886516883730247680,"description":"Unknown IO ID 45"} 
[2026-08-28 17:22:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232102365986816,"km_value":125232102365986.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:22:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457706985216001,"power":12461,"unknown_45":8886516883730247680,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-28 17:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":166239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709070,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:22:36] local.INFO: GPS data processed {"connection_id":166239,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:22:36] local.INFO: Acknowledgment sent {"connection_id":166239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:22:39] local.INFO: TCP Data received {"connection_id":163606,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04833a7e0012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04833a7e0012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:22:39] local.INFO: Processing buffer {"connection_id":163606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04833a7e0012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:22:39] local.INFO: Packet analysis {"connection_id":163606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04833"} 
[2026-08-28 17:22:39] local.INFO: Extracted packet for processing {"connection_id":163606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04833"} 
[2026-08-28 17:22:39] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706864384001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:22:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:22:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787917740000,"timestamp_ms":1787917740000,"timestamp_seconds":1787917740,"priority":1,"record_length":96,"hex_timestamp":"000001a04833a7e0"} 
[2026-08-28 17:22:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:22:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 17:22:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:22:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:22:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":163606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":163606,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":163606,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:22:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706864384001,"66":25375,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706864384001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:22:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:22:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:22:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706864384001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:22:39] 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":709071,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:22:39] local.INFO: GPS data processed {"connection_id":163606,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:22:39] local.INFO: Acknowledgment sent {"connection_id":163606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:22:40] local.INFO: TCP Data received {"connection_id":166240,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:22:40] local.INFO: Processing buffer {"connection_id":166240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:22:40] local.INFO: IMEI packet received {"connection_id":166240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 17:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":166240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:22:43] local.INFO: TCP Data received {"connection_id":166240,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04835b738012d34c14006aa4840000c00e628..."} 
[2026-08-28 17:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04835b738012d34c14006aa4840000c00e628..."} 
[2026-08-28 17:22:43] local.INFO: Processing buffer {"connection_id":166240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04835b738012d34c14006aa4840000c00e628..."} 
[2026-08-28 17:22:43] local.INFO: Packet analysis {"connection_id":166240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04835"} 
[2026-08-28 17:22:43] local.INFO: Extracted packet for processing {"connection_id":166240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04835"} 
[2026-08-28 17:22:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17: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-28 17:22:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706898944001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:22:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:22:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:22:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:22:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787917875000,"timestamp_ms":1787917875000,"timestamp_seconds":1787917875,"priority":1,"record_length":96,"hex_timestamp":"000001a04835b738"} 
[2026-08-28 17: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-28 17:22: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-28 17: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":129,"data_length":795,"current_offset":136} 
[2026-08-28 17:22: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-28 17: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-28 17: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-28 17:22:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:22:43] local.INFO: Teltonika packet parsed successfully {"connection_id":166240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:22:43] local.INFO: Passing IMEI to GPS processor {"connection_id":166240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:22:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":166240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:22:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:22:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:22:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:22:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706898944001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:22:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:22:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:22:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706898944001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:22:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:22:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17: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-28 17:22:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:22:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706898944001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:22:43] local.INFO: DEBUG: GPS processor result {"connection_id":166240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:22:43] local.INFO: GPS data processed {"connection_id":166240,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:22:43] local.INFO: Acknowledgment sent {"connection_id":166240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:22:43] local.INFO: TCP Data received {"connection_id":163607,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163607,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:22:43] local.INFO: Processing buffer {"connection_id":163607,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:22:43] local.INFO: IMEI packet received {"connection_id":163607,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 17:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":163607,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:22:43] local.INFO: TCP Data received {"connection_id":163607,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163607,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:22:43] local.INFO: Processing buffer {"connection_id":163607,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:22:43] local.INFO: IMEI packet received {"connection_id":163607,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":163607,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:22:44] local.INFO: TCP Data received {"connection_id":166239,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a04836c0d8012d7b528005e140b00014011c1e..."} 
[2026-08-28 17:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04836c0d8012d7b528005e140b00014011c1e..."} 
[2026-08-28 17:22:44] local.INFO: Processing buffer {"connection_id":166239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04836c0d8012d7b528005e140b00014011c1e..."} 
[2026-08-28 17:22:44] local.INFO: Packet analysis {"connection_id":166239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04836"} 
[2026-08-28 17:22:44] local.INFO: Extracted packet for processing {"connection_id":166239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04836"} 
[2026-08-28 17:22:44] local.INFO: GPS Element Parsed {"raw_longitude":763056768,"raw_latitude":98648240,"longitude_deg":76.3056768,"latitude_deg":9.864824,"altitude":20,"angle":284,"satellites":30,"speed":0,"hex_longitude":"2d7b5280","hex_latitude":"05e140b0","is_valid_coordinates":true} 
[2026-08-28 17:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:22:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706990592001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:22:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886446514986065920,"note":"Value kept but may cause issues"} 
[2026-08-28 17:22:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232106660954112,"note":"Value kept but may cause issues"} 
[2026-08-28 17:22: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-28 17:22:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787917943000,"timestamp_ms":1787917943000,"timestamp_seconds":1787917943,"priority":1,"record_length":96,"hex_timestamp":"000001a04836c0d8"} 
[2026-08-28 17:22:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:22:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 17:22:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:22:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:22:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:22:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:22:44] local.INFO: Teltonika packet parsed successfully {"connection_id":166239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:22:44] local.INFO: Passing IMEI to GPS processor {"connection_id":166239,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:22:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":166239,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:22:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:22:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:22:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:22:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706990592001,"66":12461,"45":8886446514986065920,"85":15104,"24":0,"16":125232106660954112},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-28 17:22:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:22:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:22:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706990592001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:22:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886446514986065920,"description":"Unknown IO ID 45"} 
[2026-08-28 17:22:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:22:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232106660954112,"km_value":125232106660954.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:22:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457706990592001,"power":12461,"unknown_45":8886446514986065920,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-28 17:22:44] local.INFO: DEBUG: GPS processor result {"connection_id":166239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709073,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:22:44] local.INFO: GPS data processed {"connection_id":166239,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:22:44] local.INFO: Acknowledgment sent {"connection_id":166239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:22:46] local.INFO: TCP Data received {"connection_id":166240,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04835b738012d34c14006aa4840000c00e628..."} 
[2026-08-28 17:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04835b738012d34c14006aa4840000c00e628..."} 
[2026-08-28 17:22:46] local.INFO: Processing buffer {"connection_id":166240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04835b738012d34c14006aa4840000c00e628..."} 
[2026-08-28 17:22:46] local.INFO: Packet analysis {"connection_id":166240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04835"} 
[2026-08-28 17:22:46] local.INFO: Extracted packet for processing {"connection_id":166240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04835"} 
[2026-08-28 17:22:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:22:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706898944001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:22:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:22:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:22:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:22:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787917875000,"timestamp_ms":1787917875000,"timestamp_seconds":1787917875,"priority":1,"record_length":96,"hex_timestamp":"000001a04835b738"} 
[2026-08-28 17: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-28 17:22: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-28 17: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 17:22: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-28 17: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-28 17: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-28 17:22:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:22:46] local.INFO: Teltonika packet parsed successfully {"connection_id":166240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:22:46] local.INFO: Passing IMEI to GPS processor {"connection_id":166240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:22:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":166240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:22:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:22:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:22:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:22:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706898944001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:22:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:22:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:22:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706898944001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:22:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:22:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:22: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-28 17:22:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:22:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706898944001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:22:46] local.INFO: DEBUG: GPS processor result {"connection_id":166240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:22:46] local.INFO: GPS data processed {"connection_id":166240,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:22:46] local.INFO: Acknowledgment sent {"connection_id":166240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:22:47] local.INFO: TCP Data received {"connection_id":163607,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163607,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:22:47] local.INFO: Processing buffer {"connection_id":163607,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:22:47] local.INFO: IMEI packet received {"connection_id":163607,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":163607,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:22:48] local.INFO: TCP Data received {"connection_id":163607,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a04835d290012d1820400721a7380050007f27..."} 
[2026-08-28 17:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04835d290012d1820400721a7380050007f27..."} 
[2026-08-28 17:22:48] local.INFO: Processing buffer {"connection_id":163607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04835d290012d1820400721a7380050007f27..."} 
[2026-08-28 17:22:48] local.INFO: Packet analysis {"connection_id":163607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04835"} 
[2026-08-28 17:22:48] local.INFO: Extracted packet for processing {"connection_id":163607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04835"} 
[2026-08-28 17:22:48] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119646008,"longitude_deg":75.655584,"latitude_deg":11.9646008,"altitude":80,"angle":127,"satellites":39,"speed":5,"hex_longitude":"2d182040","hex_latitude":"0721a738","is_valid_coordinates":true} 
[2026-08-28 17:22:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:22:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706977280001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:22:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15958032592666624,"note":"Value kept but may cause issues"} 
[2026-08-28 17:22:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306058752,"note":"Value kept but may cause issues"} 
[2026-08-28 17:22:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:22:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787917882000,"timestamp_ms":1787917882000,"timestamp_seconds":1787917882,"priority":1,"record_length":96,"hex_timestamp":"000001a04835d290"} 
[2026-08-28 17:22:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:22:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:22:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-08-28 17:22:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1503,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:22:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:22:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:22:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:22:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:22:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:22:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:22:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:22:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:22:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:22:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706977280001,"66":13972,"105":206,"83":41984,"24":5,"16":15958032592666624,"45":1738248749306058752},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 17:22:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:22:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:22:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706977280001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:22:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 17:22:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:22:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15958032592666624,"km_value":15958032592666.623,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:22:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306058752,"description":"Unknown IO ID 45"} 
[2026-08-28 17:22:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706977280001,"power":13972,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1738248749306058752}} 
[2026-08-28 17:22:48] local.INFO: DEBUG: GPS processor result {"connection_id":163607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709075,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:22:48] local.INFO: GPS data processed {"connection_id":163607,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:22:48] local.INFO: Acknowledgment sent {"connection_id":163607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:22:56] local.INFO: TCP Data received {"connection_id":164884,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164884,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:22:56] local.INFO: Processing buffer {"connection_id":164884,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:22:56] local.INFO: IMEI packet received {"connection_id":164884,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 17:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":164884,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:23:01] local.INFO: TCP Data received {"connection_id":164884,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164884,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:23:01] local.INFO: Processing buffer {"connection_id":164884,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:23:01] local.INFO: IMEI packet received {"connection_id":164884,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 17:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":164884,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:23:03] local.INFO: TCP Data received {"connection_id":164884,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04833a7e0012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04833a7e0012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:23:03] local.INFO: Processing buffer {"connection_id":164884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04833a7e0012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:23:03] local.INFO: Packet analysis {"connection_id":164884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04833"} 
[2026-08-28 17:23:03] local.INFO: Extracted packet for processing {"connection_id":164884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04833"} 
[2026-08-28 17:23:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706864384001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787917740000,"timestamp_ms":1787917740000,"timestamp_seconds":1787917740,"priority":1,"record_length":96,"hex_timestamp":"000001a04833a7e0"} 
[2026-08-28 17:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:23:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 17:23:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:23:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":164884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":164884,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":164884,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706864384001,"66":25375,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706864384001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:23:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:23:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706864384001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:23:03] 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":709076,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:23:03] local.INFO: GPS data processed {"connection_id":164884,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:23:03] local.INFO: Acknowledgment sent {"connection_id":164884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:23:25] local.INFO: TCP Data received {"connection_id":166241,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166241,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:23:25] local.INFO: Processing buffer {"connection_id":166241,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:23:25] local.INFO: IMEI packet received {"connection_id":166241,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 17:23:25] local.INFO: IMEI acknowledgment sent {"connection_id":166241,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:23:30] local.INFO: TCP Data received {"connection_id":166241,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166241,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:23:30] local.INFO: Processing buffer {"connection_id":166241,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:23:30] local.INFO: IMEI packet received {"connection_id":166241,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 17:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":166241,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:23:30] local.INFO: TCP Data received {"connection_id":166242,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:23:30] local.INFO: Processing buffer {"connection_id":166242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:23:30] local.INFO: IMEI packet received {"connection_id":166242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 17:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":166242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:23:31] local.INFO: TCP Data received {"connection_id":166241,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a04836c0d8012d7b528005e140b00014011c1e..."} 
[2026-08-28 17:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04836c0d8012d7b528005e140b00014011c1e..."} 
[2026-08-28 17:23:31] local.INFO: Processing buffer {"connection_id":166241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04836c0d8012d7b528005e140b00014011c1e..."} 
[2026-08-28 17:23:31] local.INFO: Packet analysis {"connection_id":166241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04836"} 
[2026-08-28 17:23:31] local.INFO: Extracted packet for processing {"connection_id":166241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04836"} 
[2026-08-28 17:23:31] local.INFO: GPS Element Parsed {"raw_longitude":763056768,"raw_latitude":98648240,"longitude_deg":76.3056768,"latitude_deg":9.864824,"altitude":20,"angle":284,"satellites":30,"speed":0,"hex_longitude":"2d7b5280","hex_latitude":"05e140b0","is_valid_coordinates":true} 
[2026-08-28 17:23:31] 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-28 17:23:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706993408001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:23:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886305777497714688,"note":"Value kept but may cause issues"} 
[2026-08-28 17:23:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232106660954112,"note":"Value kept but may cause issues"} 
[2026-08-28 17:23:31] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-28 17:23:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787917943000,"timestamp_ms":1787917943000,"timestamp_seconds":1787917943,"priority":1,"record_length":96,"hex_timestamp":"000001a04836c0d8"} 
[2026-08-28 17:23:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:23:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 17:23:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:23:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:23:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:23:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:23:31] local.INFO: Teltonika packet parsed successfully {"connection_id":166241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:23:31] local.INFO: Passing IMEI to GPS processor {"connection_id":166241,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:23:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":166241,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:23:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:23:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:23:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:23:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706993408001,"66":12461,"45":8886305777497714688,"85":15104,"24":0,"16":125232106660954112},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-28 17:23:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:23:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:23:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706993408001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:23:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886305777497714688,"description":"Unknown IO ID 45"} 
[2026-08-28 17:23:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:23:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232106660954112,"km_value":125232106660954.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:23:31] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457706993408001,"power":12461,"unknown_45":8886305777497714688,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-28 17:23:31] local.INFO: DEBUG: GPS processor result {"connection_id":166241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709077,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:23:31] local.INFO: GPS data processed {"connection_id":166241,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:23:31] local.INFO: Acknowledgment sent {"connection_id":166241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:23:32] local.INFO: TCP Data received {"connection_id":163607,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a04835d678012d1820c00721a6f00050008d27..."} 
[2026-08-28 17:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04835d678012d1820c00721a6f00050008d27..."} 
[2026-08-28 17:23:32] local.INFO: Processing buffer {"connection_id":163607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04835d678012d1820c00721a6f00050008d27..."} 
[2026-08-28 17:23:32] local.INFO: Packet analysis {"connection_id":163607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04835"} 
[2026-08-28 17:23:32] local.INFO: Extracted packet for processing {"connection_id":163607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04835"} 
[2026-08-28 17:23:32] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119645936,"longitude_deg":75.6555968,"latitude_deg":11.9645936,"altitude":80,"angle":141,"satellites":39,"speed":3,"hex_longitude":"2d1820c0","hex_latitude":"0721a6f0","is_valid_coordinates":true} 
[2026-08-28 17:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706977792001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15958036887633920,"note":"Value kept but may cause issues"} 
[2026-08-28 17:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855538567168,"note":"Value kept but may cause issues"} 
[2026-08-28 17:23:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787917883000,"timestamp_ms":1787917883000,"timestamp_seconds":1787917883,"priority":1,"record_length":96,"hex_timestamp":"000001a04835d678"} 
[2026-08-28 17:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:23:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-28 17:23:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:23:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":163607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":163607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":163607,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706977792001,"66":13972,"105":206,"83":41984,"24":3,"16":15958036887633920,"45":1738459855538567168},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 17:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706977792001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:23:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 17:23:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15958036887633920,"km_value":15958036887633.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855538567168,"description":"Unknown IO ID 45"} 
[2026-08-28 17:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706977792001,"power":13972,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1738459855538567168}} 
[2026-08-28 17:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":163607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709078,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:23:32] local.INFO: GPS data processed {"connection_id":163607,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:23:32] local.INFO: Acknowledgment sent {"connection_id":163607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:23:36] local.INFO: TCP Data received {"connection_id":164884,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04833a7e0012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04833a7e0012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:23:36] local.INFO: Processing buffer {"connection_id":164884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04833a7e0012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:23:36] local.INFO: Packet analysis {"connection_id":164884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04833"} 
[2026-08-28 17:23:36] local.INFO: Extracted packet for processing {"connection_id":164884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04833"} 
[2026-08-28 17:23:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706864384001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787917740000,"timestamp_ms":1787917740000,"timestamp_seconds":1787917740,"priority":1,"record_length":96,"hex_timestamp":"000001a04833a7e0"} 
[2026-08-28 17:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 17:23:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:23:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":164884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":164884,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":164884,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:23:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706864384001,"66":25375,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706864384001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:23:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:23:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706864384001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:23:36] local.INFO: TCP Data received {"connection_id":166242,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:23:36] local.INFO: Processing buffer {"connection_id":166242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:23:36] local.INFO: IMEI packet received {"connection_id":166242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 17:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":166242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:23:36] 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":709079,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:23:36] local.INFO: GPS data processed {"connection_id":164884,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:23:36] local.INFO: Acknowledgment sent {"connection_id":164884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:23:37] local.INFO: TCP Data received {"connection_id":166242,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04835b738012d34c14006aa4840000c00e628..."} 
[2026-08-28 17:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04835b738012d34c14006aa4840000c00e628..."} 
[2026-08-28 17:23:37] local.INFO: Processing buffer {"connection_id":166242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04835b738012d34c14006aa4840000c00e628..."} 
[2026-08-28 17:23:37] local.INFO: Packet analysis {"connection_id":166242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04835"} 
[2026-08-28 17:23:37] local.INFO: Extracted packet for processing {"connection_id":166242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04835"} 
[2026-08-28 17:23:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17: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-28 17:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706898944001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787917875000,"timestamp_ms":1787917875000,"timestamp_seconds":1787917875,"priority":1,"record_length":96,"hex_timestamp":"000001a04835b738"} 
[2026-08-28 17: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-28 17:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 17:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17: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-28 17: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-28 17:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":166242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":166242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":166242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706898944001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706898944001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:23:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:23:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:23: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-28 17:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706898944001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":166242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:23:37] local.INFO: GPS data processed {"connection_id":166242,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:23:37] local.INFO: Acknowledgment sent {"connection_id":166242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:23:43] local.INFO: TCP Data received {"connection_id":164885,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164885,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:23:43] local.INFO: Processing buffer {"connection_id":164885,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:23:43] local.INFO: IMEI packet received {"connection_id":164885,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 17:23:43] local.INFO: IMEI acknowledgment sent {"connection_id":164885,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:23:45] local.INFO: TCP Data received {"connection_id":164885,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164885,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:23:45] local.INFO: Processing buffer {"connection_id":164885,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:23:45] local.INFO: IMEI packet received {"connection_id":164885,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":164885,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:23:47] local.INFO: TCP Data received {"connection_id":164885,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164885,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:23:47] local.INFO: Processing buffer {"connection_id":164885,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:23:47] local.INFO: IMEI packet received {"connection_id":164885,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:23:47] local.INFO: IMEI acknowledgment sent {"connection_id":164885,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:23:48] local.INFO: TCP Data received {"connection_id":164885,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048371ab0012d18908007217dc0004a007024..."} 
[2026-08-28 17:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048371ab0012d18908007217dc0004a007024..."} 
[2026-08-28 17:23:48] local.INFO: Processing buffer {"connection_id":164885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048371ab0012d18908007217dc0004a007024..."} 
[2026-08-28 17:23:48] local.INFO: Packet analysis {"connection_id":164885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04837"} 
[2026-08-28 17:23:48] local.INFO: Extracted packet for processing {"connection_id":164885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04837"} 
[2026-08-28 17:23:48] local.INFO: GPS Element Parsed {"raw_longitude":756584576,"raw_latitude":119635392,"longitude_deg":75.6584576,"latitude_deg":11.9635392,"altitude":74,"angle":112,"satellites":36,"speed":41,"hex_longitude":"2d189080","hex_latitude":"07217dc0","is_valid_coordinates":true} 
[2026-08-28 17: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-28 17:23:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706998528001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:23:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15959531536252928,"note":"Value kept but may cause issues"} 
[2026-08-28 17:23:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766677721951340544,"note":"Value kept but may cause issues"} 
[2026-08-28 17:23:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:23:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787917966000,"timestamp_ms":1787917966000,"timestamp_seconds":1787917966,"priority":1,"record_length":96,"hex_timestamp":"000001a048371ab0"} 
[2026-08-28 17: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-28 17:23:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:23:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-28 17:23:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17: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-28 17: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-28 17:23:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:23:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:23:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:23:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:23:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:23:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:23:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:23:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706998528001,"66":14135,"106":206,"83":41984,"24":41,"16":15959531536252928,"45":1766677721951340544},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-28 17:23:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:23:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:23:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706998528001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:23:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:23:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:23:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15959531536252928,"km_value":15959531536252.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:23:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766677721951340544,"description":"Unknown IO ID 45"} 
[2026-08-28 17:23:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706998528001,"power":14135,"unknown_106":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1766677721951340544}} 
[2026-08-28 17:23:48] 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":709081,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:23:48] local.INFO: GPS data processed {"connection_id":164885,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:23:48] local.INFO: Acknowledgment sent {"connection_id":164885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:23:57] local.INFO: TCP Data received {"connection_id":163878,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163878,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:23:57] local.INFO: Processing buffer {"connection_id":163878,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:23:57] local.INFO: IMEI packet received {"connection_id":163878,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 17:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":163878,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:24:01] local.INFO: TCP Data received {"connection_id":163878,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163878,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:24:01] local.INFO: Processing buffer {"connection_id":163878,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:24:01] local.INFO: IMEI packet received {"connection_id":163878,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 17:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":163878,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:24:02] local.INFO: TCP Data received {"connection_id":166241,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a04836c0d8012d7b528005e140b00014011c1e..."} 
[2026-08-28 17:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04836c0d8012d7b528005e140b00014011c1e..."} 
[2026-08-28 17:24:02] local.INFO: Processing buffer {"connection_id":166241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04836c0d8012d7b528005e140b00014011c1e..."} 
[2026-08-28 17:24:02] local.INFO: Packet analysis {"connection_id":166241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04836"} 
[2026-08-28 17:24:02] local.INFO: Extracted packet for processing {"connection_id":166241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04836"} 
[2026-08-28 17:24:02] local.INFO: GPS Element Parsed {"raw_longitude":763056768,"raw_latitude":98648240,"longitude_deg":76.3056768,"latitude_deg":9.864824,"altitude":20,"angle":284,"satellites":30,"speed":0,"hex_longitude":"2d7b5280","hex_latitude":"05e140b0","is_valid_coordinates":true} 
[2026-08-28 17:24:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:24:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706993408001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:24:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886305777497714688,"note":"Value kept but may cause issues"} 
[2026-08-28 17:24:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232106660954112,"note":"Value kept but may cause issues"} 
[2026-08-28 17:24:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-28 17:24:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787917943000,"timestamp_ms":1787917943000,"timestamp_seconds":1787917943,"priority":1,"record_length":96,"hex_timestamp":"000001a04836c0d8"} 
[2026-08-28 17:24:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:24: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-28 17:24:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 17:24:02] 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-28 17:24:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:24:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:24:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:24:02] local.INFO: Teltonika packet parsed successfully {"connection_id":166241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:24:02] local.INFO: Passing IMEI to GPS processor {"connection_id":166241,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:24:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":166241,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:24:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:24:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:24:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:24:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706993408001,"66":12461,"45":8886305777497714688,"85":15104,"24":0,"16":125232106660954112},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-28 17:24:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:24:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:24:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706993408001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:24:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886305777497714688,"description":"Unknown IO ID 45"} 
[2026-08-28 17:24:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:24:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232106660954112,"km_value":125232106660954.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:24:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457706993408001,"power":12461,"unknown_45":8886305777497714688,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-28 17:24:02] local.INFO: DEBUG: GPS processor result {"connection_id":166241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709082,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:24:02] local.INFO: GPS data processed {"connection_id":166241,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:24:02] local.INFO: Acknowledgment sent {"connection_id":166241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:24:04] local.INFO: TCP Data received {"connection_id":163878,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04833a7e0012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04833a7e0012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:24:04] local.INFO: Processing buffer {"connection_id":163878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04833a7e0012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:24:04] local.INFO: Packet analysis {"connection_id":163878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04833"} 
[2026-08-28 17:24:04] local.INFO: Extracted packet for processing {"connection_id":163878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04833"} 
[2026-08-28 17:24:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706864384001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:24:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787917740000,"timestamp_ms":1787917740000,"timestamp_seconds":1787917740,"priority":1,"record_length":96,"hex_timestamp":"000001a04833a7e0"} 
[2026-08-28 17:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:24:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 17:24:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:24:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":163878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":163878,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":163878,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:24:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706864384001,"66":25375,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706864384001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:24:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:24:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706864384001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":163878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709083,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:24:04] local.INFO: GPS data processed {"connection_id":163878,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:24:04] local.INFO: Acknowledgment sent {"connection_id":163878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:24:09] local.INFO: TCP Data received {"connection_id":166242,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04835b738012d34c14006aa4840000c00e628..."} 
[2026-08-28 17:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04835b738012d34c14006aa4840000c00e628..."} 
[2026-08-28 17:24:09] local.INFO: Processing buffer {"connection_id":166242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04835b738012d34c14006aa4840000c00e628..."} 
[2026-08-28 17:24:09] local.INFO: Packet analysis {"connection_id":166242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04835"} 
[2026-08-28 17:24:09] local.INFO: Extracted packet for processing {"connection_id":166242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04835"} 
[2026-08-28 17:24:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706898944001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:24:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:24:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787917875000,"timestamp_ms":1787917875000,"timestamp_seconds":1787917875,"priority":1,"record_length":96,"hex_timestamp":"000001a04835b738"} 
[2026-08-28 17:24:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:24:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 17:24: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-28 17:24:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:24:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":166242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":166242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":166242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:24:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706898944001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706898944001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:24:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:24:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:24: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-28 17:24:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706898944001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":166242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:24:09] local.INFO: GPS data processed {"connection_id":166242,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:24:09] local.INFO: Acknowledgment sent {"connection_id":166242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:24:19] local.INFO: TCP Data received {"connection_id":164885,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048373dd8012d18acc0072171e8004a007f23..."} 
[2026-08-28 17:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048373dd8012d18acc0072171e8004a007f23..."} 
[2026-08-28 17:24:19] local.INFO: Processing buffer {"connection_id":164885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048373dd8012d18acc0072171e8004a007f23..."} 
[2026-08-28 17:24:19] local.INFO: Packet analysis {"connection_id":164885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04837"} 
[2026-08-28 17:24:19] local.INFO: Extracted packet for processing {"connection_id":164885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04837"} 
[2026-08-28 17:24:19] local.INFO: GPS Element Parsed {"raw_longitude":756591808,"raw_latitude":119632360,"longitude_deg":75.6591808,"latitude_deg":11.963236,"altitude":74,"angle":127,"satellites":35,"speed":31,"hex_longitude":"2d18acc0","hex_latitude":"072171e8","is_valid_coordinates":true} 
[2026-08-28 17: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-28 17:24:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706999296001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:24:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15959909493374976,"note":"Value kept but may cause issues"} 
[2026-08-28 17:24:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1770055421671620608,"note":"Value kept but may cause issues"} 
[2026-08-28 17:24:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:24:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787917975000,"timestamp_ms":1787917975000,"timestamp_seconds":1787917975,"priority":1,"record_length":96,"hex_timestamp":"000001a048373dd8"} 
[2026-08-28 17: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-28 17:24:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-28 17:24:19] 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-28 17: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-28 17: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-28 17:24:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:24:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:24:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:24:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:24:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706999296001,"66":14298,"106":206,"83":41984,"24":31,"16":15959909493374976,"45":1770055421671620608},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-28 17:24:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:24:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:24:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706999296001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:24:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:24:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:24:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15959909493374976,"km_value":15959909493374.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:24:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1770055421671620608,"description":"Unknown IO ID 45"} 
[2026-08-28 17:24:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706999296001,"power":14298,"unknown_106":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1770055421671620608}} 
[2026-08-28 17:24:19] 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":709085,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:24:19] local.INFO: GPS data processed {"connection_id":164885,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:24:19] local.INFO: Acknowledgment sent {"connection_id":164885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:24:25] local.INFO: TCP Data received {"connection_id":163879,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163879,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:24:25] local.INFO: Processing buffer {"connection_id":163879,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:24:25] local.INFO: IMEI packet received {"connection_id":163879,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 17:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":163879,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:24:30] local.INFO: TCP Data received {"connection_id":166243,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:24:30] local.INFO: Processing buffer {"connection_id":166243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:24:30] local.INFO: IMEI packet received {"connection_id":166243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 17:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":166243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:24:30] local.INFO: TCP Data received {"connection_id":163879,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163879,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:24:30] local.INFO: Processing buffer {"connection_id":163879,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:24:30] local.INFO: IMEI packet received {"connection_id":163879,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 17:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":163879,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:24:31] local.INFO: TCP Data received {"connection_id":163879,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a048387a40012d7b520005e140d80013011c1d..."} 
[2026-08-28 17:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048387a40012d7b520005e140d80013011c1d..."} 
[2026-08-28 17:24:31] local.INFO: Processing buffer {"connection_id":163879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048387a40012d7b520005e140d80013011c1d..."} 
[2026-08-28 17:24:31] local.INFO: Packet analysis {"connection_id":163879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04838"} 
[2026-08-28 17:24:31] local.INFO: Extracted packet for processing {"connection_id":163879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04838"} 
[2026-08-28 17:24:31] local.INFO: GPS Element Parsed {"raw_longitude":763056640,"raw_latitude":98648280,"longitude_deg":76.305664,"latitude_deg":9.864828,"altitude":19,"angle":284,"satellites":29,"speed":0,"hex_longitude":"2d7b5200","hex_latitude":"05e140d8","is_valid_coordinates":true} 
[2026-08-28 17:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706993408001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:24:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886305777497714688,"note":"Value kept but may cause issues"} 
[2026-08-28 17:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232106660954112,"note":"Value kept but may cause issues"} 
[2026-08-28 17:24:31] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-28 17:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787918056000,"timestamp_ms":1787918056000,"timestamp_seconds":1787918056,"priority":1,"record_length":96,"hex_timestamp":"000001a048387a40"} 
[2026-08-28 17:24:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:24:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 17:24:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:24:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:24:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":163879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":163879,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":163879,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:24:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706993408001,"66":12613,"45":8886305777497714688,"85":15104,"24":0,"16":125232106660954112},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-28 17:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706993408001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:24:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886305777497714688,"description":"Unknown IO ID 45"} 
[2026-08-28 17:24:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232106660954112,"km_value":125232106660954.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:24:31] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457706993408001,"power":12613,"unknown_45":8886305777497714688,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-28 17:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":163879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709086,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:24:31] local.INFO: GPS data processed {"connection_id":163879,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:24:31] local.INFO: Acknowledgment sent {"connection_id":163879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:24:35] local.INFO: TCP Data received {"connection_id":166243,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:24:35] local.INFO: Processing buffer {"connection_id":166243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:24:35] local.INFO: IMEI packet received {"connection_id":166243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 17:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":166243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:24:36] local.INFO: TCP Data received {"connection_id":163878,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04833a7e0012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04833a7e0012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:24:36] local.INFO: Processing buffer {"connection_id":163878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04833a7e0012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:24:36] local.INFO: Packet analysis {"connection_id":163878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04833"} 
[2026-08-28 17:24:36] local.INFO: Extracted packet for processing {"connection_id":163878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04833"} 
[2026-08-28 17:24:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17: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-28 17:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706864384001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787917740000,"timestamp_ms":1787917740000,"timestamp_seconds":1787917740,"priority":1,"record_length":96,"hex_timestamp":"000001a04833a7e0"} 
[2026-08-28 17: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-28 17:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 17:24:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17: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-28 17: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-28 17:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163878,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163878,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:24:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706864384001,"66":25375,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706864384001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:24:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:24:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706864384001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":163878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709087,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:24:36] local.INFO: GPS data processed {"connection_id":163878,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:24:36] local.INFO: Acknowledgment sent {"connection_id":163878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:24:38] local.INFO: TCP Data received {"connection_id":166243,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04835b738012d34c14006aa4840000c00e628..."} 
[2026-08-28 17:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04835b738012d34c14006aa4840000c00e628..."} 
[2026-08-28 17:24:38] local.INFO: Processing buffer {"connection_id":166243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04835b738012d34c14006aa4840000c00e628..."} 
[2026-08-28 17:24:38] local.INFO: Packet analysis {"connection_id":166243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04835"} 
[2026-08-28 17:24:38] local.INFO: Extracted packet for processing {"connection_id":166243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04835"} 
[2026-08-28 17:24:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706898944001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:24:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787917875000,"timestamp_ms":1787917875000,"timestamp_seconds":1787917875,"priority":1,"record_length":96,"hex_timestamp":"000001a04835b738"} 
[2026-08-28 17:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:24:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 17:24: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-28 17:24:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":166243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":166243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":166243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:24:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706898944001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706898944001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:24:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:24:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:24: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-28 17:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706898944001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":166243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:24:38] local.INFO: GPS data processed {"connection_id":166243,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:24:38] local.INFO: Acknowledgment sent {"connection_id":166243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:24:43] local.INFO: TCP Data received {"connection_id":166244,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166244,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:24:43] local.INFO: Processing buffer {"connection_id":166244,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:24:43] local.INFO: IMEI packet received {"connection_id":166244,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 17:24:43] local.INFO: IMEI acknowledgment sent {"connection_id":166244,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:24:45] local.INFO: TCP Data received {"connection_id":166244,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166244,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:24:45] local.INFO: Processing buffer {"connection_id":166244,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:24:45] local.INFO: IMEI packet received {"connection_id":166244,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:24:45] local.INFO: IMEI acknowledgment sent {"connection_id":166244,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:24:48] local.INFO: TCP Data received {"connection_id":166244,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166244,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:24:48] local.INFO: Processing buffer {"connection_id":166244,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:24:48] local.INFO: IMEI packet received {"connection_id":166244,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:24:48] local.INFO: IMEI acknowledgment sent {"connection_id":166244,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:24:49] local.INFO: TCP Data received {"connection_id":166244,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a04837e1e8012d18da400720fc78003b008c23..."} 
[2026-08-28 17:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04837e1e8012d18da400720fc78003b008c23..."} 
[2026-08-28 17:24:49] local.INFO: Processing buffer {"connection_id":166244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04837e1e8012d18da400720fc78003b008c23..."} 
[2026-08-28 17:24:49] local.INFO: Packet analysis {"connection_id":166244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04837"} 
[2026-08-28 17:24:49] local.INFO: Extracted packet for processing {"connection_id":166244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04837"} 
[2026-08-28 17:24:49] local.INFO: GPS Element Parsed {"raw_longitude":756603456,"raw_latitude":119602296,"longitude_deg":75.6603456,"latitude_deg":11.9602296,"altitude":59,"angle":140,"satellites":35,"speed":36,"hex_longitude":"2d18da40","hex_latitude":"0720fc78","is_valid_coordinates":true} 
[2026-08-28 17:24:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:24:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707011840001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:24:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15961515811143680,"note":"Value kept but may cause issues"} 
[2026-08-28 17:24:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789829038777448448,"note":"Value kept but may cause issues"} 
[2026-08-28 17:24:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:24:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787918017000,"timestamp_ms":1787918017000,"timestamp_seconds":1787918017,"priority":1,"record_length":96,"hex_timestamp":"000001a04837e1e8"} 
[2026-08-28 17:24:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:24:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:24:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-28 17:24:49] 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-28 17:24:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:24:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:24:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:24:49] local.INFO: Teltonika packet parsed successfully {"connection_id":166244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:24:49] local.INFO: Passing IMEI to GPS processor {"connection_id":166244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:24:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":166244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:24:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:24:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:24:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:24:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707011840001,"66":13352,"103":206,"83":41984,"24":36,"16":15961515811143680,"45":1789829038777448448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 17:24:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:24:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:24:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707011840001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:24:49] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 17:24:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:24:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15961515811143680,"km_value":15961515811143.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:24:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789829038777448448,"description":"Unknown IO ID 45"} 
[2026-08-28 17:24:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707011840001,"power":13352,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1789829038777448448}} 
[2026-08-28 17:24:49] local.INFO: DEBUG: GPS processor result {"connection_id":166244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709089,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:24:49] local.INFO: GPS data processed {"connection_id":166244,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:24:49] local.INFO: Acknowledgment sent {"connection_id":166244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:25:02] local.INFO: TCP Data received {"connection_id":164886,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164886,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:25:02] local.INFO: Processing buffer {"connection_id":164886,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:25:02] local.INFO: IMEI packet received {"connection_id":164886,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 17:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":164886,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:25:02] local.INFO: TCP Data received {"connection_id":163879,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a048390eb0012d7b530005e141000013006c1e..."} 
[2026-08-28 17:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048390eb0012d7b530005e141000013006c1e..."} 
[2026-08-28 17:25:02] local.INFO: Processing buffer {"connection_id":163879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048390eb0012d7b530005e141000013006c1e..."} 
[2026-08-28 17:25:02] local.INFO: Packet analysis {"connection_id":163879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04839"} 
[2026-08-28 17:25:02] local.INFO: Extracted packet for processing {"connection_id":163879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04839"} 
[2026-08-28 17:25:02] local.INFO: GPS Element Parsed {"raw_longitude":763056896,"raw_latitude":98648320,"longitude_deg":76.3056896,"latitude_deg":9.864832,"altitude":19,"angle":108,"satellites":30,"speed":0,"hex_longitude":"2d7b5300","hex_latitude":"05e14100","is_valid_coordinates":true} 
[2026-08-28 17:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707032064001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232115250888704,"note":"Value kept but may cause issues"} 
[2026-08-28 17:25:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886446514986090496,"note":"Value kept but may cause issues"} 
[2026-08-28 17:25:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787918094000,"timestamp_ms":1787918094000,"timestamp_seconds":1787918094,"priority":1,"record_length":96,"hex_timestamp":"000001a048390eb0"} 
[2026-08-28 17:25:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:25:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-28 17:25:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:25:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:25:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163879,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163879,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:25:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707032064001,"66":13374,"217":206,"85":15104,"24":0,"16":125232115250888704,"45":8886446514986090496},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 17:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707032064001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:25:02] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 17:25:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:25:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232115250888704,"km_value":125232115250888.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:25:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886446514986090496,"description":"Unknown IO ID 45"} 
[2026-08-28 17:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707032064001,"power":13374,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886446514986090496}} 
[2026-08-28 17:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":163879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709090,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:25:02] local.INFO: GPS data processed {"connection_id":163879,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:25:02] local.INFO: Acknowledgment sent {"connection_id":163879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:25:06] local.INFO: TCP Data received {"connection_id":164886,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164886,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:25:06] local.INFO: Processing buffer {"connection_id":164886,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:25:06] local.INFO: IMEI packet received {"connection_id":164886,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 17:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":164886,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:25:09] local.INFO: TCP Data received {"connection_id":164886,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048383fa8012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048383fa8012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:25:09] local.INFO: Processing buffer {"connection_id":164886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048383fa8012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:25:09] local.INFO: Packet analysis {"connection_id":164886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04838"} 
[2026-08-28 17:25:09] local.INFO: Extracted packet for processing {"connection_id":164886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04838"} 
[2026-08-28 17:25:09] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:25:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706941440001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:25:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:25:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:25:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:25:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787918041000,"timestamp_ms":1787918041000,"timestamp_seconds":1787918041,"priority":1,"record_length":96,"hex_timestamp":"000001a048383fa8"} 
[2026-08-28 17:25:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:25:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 17:25:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:25:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:25:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:25:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164886,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164886,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:25:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:25:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:25:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:25:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706941440001,"66":25375,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:25:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:25:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:25:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706941440001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:25:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:25:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:25:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:25:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:25:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706941440001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:25:09] local.INFO: DEBUG: GPS processor result {"connection_id":164886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709091,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:25:09] local.INFO: GPS data processed {"connection_id":164886,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:25:09] local.INFO: Acknowledgment sent {"connection_id":164886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:25:10] local.INFO: TCP Data received {"connection_id":166243,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04835b738012d34c14006aa4840000c00e628..."} 
[2026-08-28 17:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04835b738012d34c14006aa4840000c00e628..."} 
[2026-08-28 17:25:10] local.INFO: Processing buffer {"connection_id":166243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04835b738012d34c14006aa4840000c00e628..."} 
[2026-08-28 17:25:10] local.INFO: Packet analysis {"connection_id":166243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04835"} 
[2026-08-28 17:25:10] local.INFO: Extracted packet for processing {"connection_id":166243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04835"} 
[2026-08-28 17:25:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706898944001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:25:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787917875000,"timestamp_ms":1787917875000,"timestamp_seconds":1787917875,"priority":1,"record_length":96,"hex_timestamp":"000001a04835b738"} 
[2026-08-28 17:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:25:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 17:25:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:25:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":166243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":166243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":166243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:25:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706898944001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706898944001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:25:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:25:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706898944001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":166243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:25:10] local.INFO: GPS data processed {"connection_id":166243,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:25:10] local.INFO: Acknowledgment sent {"connection_id":166243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:25:12] local.INFO: TCP Data received {"connection_id":164886,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048383fa8012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048383fa8012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:25:12] local.INFO: Processing buffer {"connection_id":164886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048383fa8012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:25:12] local.INFO: Packet analysis {"connection_id":164886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04838"} 
[2026-08-28 17:25:12] local.INFO: Extracted packet for processing {"connection_id":164886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04838"} 
[2026-08-28 17:25:12] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:25:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706941440001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:25:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:25:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787918041000,"timestamp_ms":1787918041000,"timestamp_seconds":1787918041,"priority":1,"record_length":96,"hex_timestamp":"000001a048383fa8"} 
[2026-08-28 17:25:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:25:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 17:25:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:25:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:25:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":164886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":164886,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":164886,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:25:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:25:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706941440001,"66":25375,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:25:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:25:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:25:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706941440001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:25:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:25:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:25:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:25:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:25:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706941440001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:25:13] local.INFO: DEBUG: GPS processor result {"connection_id":164886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709093,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:25:13] local.INFO: GPS data processed {"connection_id":164886,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:25:13] local.INFO: Acknowledgment sent {"connection_id":164886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:25:20] local.INFO: TCP Data received {"connection_id":166244,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0483808f8012d18ef800720e0400038009324..."} 
[2026-08-28 17:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0483808f8012d18ef800720e0400038009324..."} 
[2026-08-28 17:25:20] local.INFO: Processing buffer {"connection_id":166244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0483808f8012d18ef800720e0400038009324..."} 
[2026-08-28 17:25:20] local.INFO: Packet analysis {"connection_id":166244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04838"} 
[2026-08-28 17:25:20] local.INFO: Extracted packet for processing {"connection_id":166244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04838"} 
[2026-08-28 17:25:20] local.INFO: GPS Element Parsed {"raw_longitude":756608896,"raw_latitude":119595072,"longitude_deg":75.6608896,"latitude_deg":11.9595072,"altitude":56,"angle":147,"satellites":36,"speed":37,"hex_longitude":"2d18ef80","hex_latitude":"0720e040","is_valid_coordinates":true} 
[2026-08-28 17:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:25:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707012352001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:25:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15961953897807872,"note":"Value kept but may cause issues"} 
[2026-08-28 17:25:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790814201195558912,"note":"Value kept but may cause issues"} 
[2026-08-28 17:25:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:25:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787918027000,"timestamp_ms":1787918027000,"timestamp_seconds":1787918027,"priority":1,"record_length":96,"hex_timestamp":"000001a0483808f8"} 
[2026-08-28 17:25:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:25:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-28 17:25:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:25:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:25:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:25:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:25:20] local.INFO: Teltonika packet parsed successfully {"connection_id":166244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:25:20] local.INFO: Passing IMEI to GPS processor {"connection_id":166244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:25:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":166244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:25:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:25:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:25:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:25:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707012352001,"66":14276,"103":206,"83":41984,"24":37,"16":15961953897807872,"45":1790814201195558912},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 17:25:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:25:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:25:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707012352001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:25:20] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 17:25:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:25:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15961953897807872,"km_value":15961953897807.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:25:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790814201195558912,"description":"Unknown IO ID 45"} 
[2026-08-28 17:25:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707012352001,"power":14276,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1790814201195558912}} 
[2026-08-28 17:25:20] local.INFO: DEBUG: GPS processor result {"connection_id":166244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709094,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:25:20] local.INFO: GPS data processed {"connection_id":166244,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:25:20] local.INFO: Acknowledgment sent {"connection_id":166244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:25:25] local.INFO: TCP Data received {"connection_id":164887,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164887,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:25:25] local.INFO: Processing buffer {"connection_id":164887,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:25:25] local.INFO: IMEI packet received {"connection_id":164887,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 17:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":164887,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:25:30] local.INFO: TCP Data received {"connection_id":163608,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:25:30] local.INFO: Processing buffer {"connection_id":163608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:25:30] local.INFO: IMEI packet received {"connection_id":163608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 17:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":163608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:25:30] local.INFO: TCP Data received {"connection_id":164887,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164887,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:25:30] local.INFO: Processing buffer {"connection_id":164887,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:25:30] local.INFO: IMEI packet received {"connection_id":164887,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 17:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":164887,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:25:31] local.INFO: TCP Data received {"connection_id":164887,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a048391680012d7b530005e141000013006c1e..."} 
[2026-08-28 17:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048391680012d7b530005e141000013006c1e..."} 
[2026-08-28 17:25:31] local.INFO: Processing buffer {"connection_id":164887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048391680012d7b530005e141000013006c1e..."} 
[2026-08-28 17:25:31] local.INFO: Packet analysis {"connection_id":164887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04839"} 
[2026-08-28 17:25:31] local.INFO: Extracted packet for processing {"connection_id":164887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04839"} 
[2026-08-28 17:25:31] local.INFO: GPS Element Parsed {"raw_longitude":763056896,"raw_latitude":98648320,"longitude_deg":76.3056896,"latitude_deg":9.864832,"altitude":19,"angle":108,"satellites":30,"speed":0,"hex_longitude":"2d7b5300","hex_latitude":"05e14100","is_valid_coordinates":true} 
[2026-08-28 17:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707032064001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232115250888704,"note":"Value kept but may cause issues"} 
[2026-08-28 17:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886446514986090496,"note":"Value kept but may cause issues"} 
[2026-08-28 17:25:31] 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-28 17:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787918096000,"timestamp_ms":1787918096000,"timestamp_seconds":1787918096,"priority":1,"record_length":96,"hex_timestamp":"000001a048391680"} 
[2026-08-28 17:25:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:25:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-28 17:25:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:25:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:25:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":164887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":164887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":164887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:25:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707032064001,"66":12939,"217":206,"85":15104,"24":0,"16":125232115250888704,"45":8886446514986090496},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 17:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707032064001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:25:31] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 17:25:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232115250888704,"km_value":125232115250888.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886446514986090496,"description":"Unknown IO ID 45"} 
[2026-08-28 17:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707032064001,"power":12939,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886446514986090496}} 
[2026-08-28 17:25:31] 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":709095,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:25:31] local.INFO: GPS data processed {"connection_id":164887,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:25:31] local.INFO: Acknowledgment sent {"connection_id":164887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:25:36] local.INFO: TCP Data received {"connection_id":163608,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:25:36] local.INFO: Processing buffer {"connection_id":163608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:25:36] local.INFO: IMEI packet received {"connection_id":163608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 17:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":163608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:25:38] local.INFO: TCP Data received {"connection_id":163608,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04835b738012d34c14006aa4840000c00e628..."} 
[2026-08-28 17:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04835b738012d34c14006aa4840000c00e628..."} 
[2026-08-28 17:25:38] local.INFO: Processing buffer {"connection_id":163608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04835b738012d34c14006aa4840000c00e628..."} 
[2026-08-28 17:25:38] local.INFO: Packet analysis {"connection_id":163608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04835"} 
[2026-08-28 17:25:38] local.INFO: Extracted packet for processing {"connection_id":163608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04835"} 
[2026-08-28 17:25:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706898944001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:25:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787917875000,"timestamp_ms":1787917875000,"timestamp_seconds":1787917875,"priority":1,"record_length":96,"hex_timestamp":"000001a04835b738"} 
[2026-08-28 17:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:25:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 17:25: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-28 17:25:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:25:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706898944001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706898944001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:25:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:25:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:25: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-28 17:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706898944001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:25:38] 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":709096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:25:38] local.INFO: GPS data processed {"connection_id":163608,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:25:38] local.INFO: Acknowledgment sent {"connection_id":163608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:25:43] local.INFO: TCP Data received {"connection_id":164888,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164888,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:25:43] local.INFO: Processing buffer {"connection_id":164888,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:25:43] local.INFO: IMEI packet received {"connection_id":164888,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 17:25:43] local.INFO: IMEI acknowledgment sent {"connection_id":164888,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:25:43] local.INFO: TCP Data received {"connection_id":164888,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164888,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:25:43] local.INFO: Processing buffer {"connection_id":164888,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:25:43] local.INFO: IMEI packet received {"connection_id":164888,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:25:43] local.INFO: IMEI acknowledgment sent {"connection_id":164888,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:25:48] local.INFO: TCP Data received {"connection_id":164888,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164888,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:25:48] local.INFO: Processing buffer {"connection_id":164888,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:25:48] local.INFO: IMEI packet received {"connection_id":164888,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":164888,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:25:49] local.INFO: TCP Data received {"connection_id":164888,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a04838f740012d19b9000720aa100025007a25..."} 
[2026-08-28 17:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04838f740012d19b9000720aa100025007a25..."} 
[2026-08-28 17:25:49] local.INFO: Processing buffer {"connection_id":164888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04838f740012d19b9000720aa100025007a25..."} 
[2026-08-28 17:25:49] local.INFO: Packet analysis {"connection_id":164888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04838"} 
[2026-08-28 17:25:49] local.INFO: Extracted packet for processing {"connection_id":164888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04838"} 
[2026-08-28 17:25:49] local.INFO: GPS Element Parsed {"raw_longitude":756660480,"raw_latitude":119581200,"longitude_deg":75.666048,"latitude_deg":11.95812,"altitude":37,"angle":122,"satellites":37,"speed":25,"hex_longitude":"2d19b900","hex_latitude":"0720aa10","is_valid_coordinates":true} 
[2026-08-28 17: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-28 17:25:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707029504001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:25:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15964621072498688,"note":"Value kept but may cause issues"} 
[2026-08-28 17:25:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850416527508989952,"note":"Value kept but may cause issues"} 
[2026-08-28 17:25:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:25:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787918088000,"timestamp_ms":1787918088000,"timestamp_seconds":1787918088,"priority":1,"record_length":96,"hex_timestamp":"000001a04838f740"} 
[2026-08-28 17: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-28 17:25:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:25:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-28 17:25:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17: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-28 17: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-28 17:25:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:25:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:25:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:25:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:25:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:25:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:25:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:25:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707029504001,"66":14298,"103":206,"83":41984,"24":25,"16":15964621072498688,"45":1850416527508989952},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 17:25:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:25:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:25:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707029504001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:25:49] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 17:25:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:25:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15964621072498688,"km_value":15964621072498.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:25:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850416527508989952,"description":"Unknown IO ID 45"} 
[2026-08-28 17:25:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707029504001,"power":14298,"unknown_103":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1850416527508989952}} 
[2026-08-28 17:25:49] 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":709097,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:25:49] local.INFO: GPS data processed {"connection_id":164888,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:25:49] local.INFO: Acknowledgment sent {"connection_id":164888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:25:56] local.INFO: TCP Data received {"connection_id":163609,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163609,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:25:56] local.INFO: Processing buffer {"connection_id":163609,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:25:56] local.INFO: IMEI packet received {"connection_id":163609,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 17:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":163609,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:26:01] local.INFO: TCP Data received {"connection_id":163609,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163609,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:26:01] local.INFO: Processing buffer {"connection_id":163609,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:26:01] local.INFO: IMEI packet received {"connection_id":163609,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 17:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":163609,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:26:02] local.INFO: TCP Data received {"connection_id":164887,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a048391680012d7b530005e141000013006c1e..."} 
[2026-08-28 17:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048391680012d7b530005e141000013006c1e..."} 
[2026-08-28 17:26:02] local.INFO: Processing buffer {"connection_id":164887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048391680012d7b530005e141000013006c1e..."} 
[2026-08-28 17:26:02] local.INFO: Packet analysis {"connection_id":164887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04839"} 
[2026-08-28 17:26:02] local.INFO: Extracted packet for processing {"connection_id":164887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04839"} 
[2026-08-28 17:26:02] local.INFO: GPS Element Parsed {"raw_longitude":763056896,"raw_latitude":98648320,"longitude_deg":76.3056896,"latitude_deg":9.864832,"altitude":19,"angle":108,"satellites":30,"speed":0,"hex_longitude":"2d7b5300","hex_latitude":"05e14100","is_valid_coordinates":true} 
[2026-08-28 17:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707032576001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232115250888704,"note":"Value kept but may cause issues"} 
[2026-08-28 17:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886446514986090496,"note":"Value kept but may cause issues"} 
[2026-08-28 17:26:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787918096000,"timestamp_ms":1787918096000,"timestamp_seconds":1787918096,"priority":1,"record_length":96,"hex_timestamp":"000001a048391680"} 
[2026-08-28 17:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:26:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-28 17:26:02] 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-28 17:26:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":164887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":164887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":164887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707032576001,"66":12939,"217":206,"85":15104,"24":0,"16":125232115250888704,"45":8886446514986090496},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 17:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707032576001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:26:02] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 17:26:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232115250888704,"km_value":125232115250888.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886446514986090496,"description":"Unknown IO ID 45"} 
[2026-08-28 17:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707032576001,"power":12939,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886446514986090496}} 
[2026-08-28 17:26:02] 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":709098,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:26:02] local.INFO: GPS data processed {"connection_id":164887,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:26:02] local.INFO: Acknowledgment sent {"connection_id":164887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:26:03] local.INFO: TCP Data received {"connection_id":163609,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048383fa8012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048383fa8012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:26:03] local.INFO: Processing buffer {"connection_id":163609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048383fa8012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:26:03] local.INFO: Packet analysis {"connection_id":163609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04838"} 
[2026-08-28 17:26:03] local.INFO: Extracted packet for processing {"connection_id":163609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04838"} 
[2026-08-28 17:26:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706941440001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:26:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787918041000,"timestamp_ms":1787918041000,"timestamp_seconds":1787918041,"priority":1,"record_length":96,"hex_timestamp":"000001a048383fa8"} 
[2026-08-28 17:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:26:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 17:26:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:26:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163609,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163609,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706941440001,"66":25375,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706941440001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:26:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:26:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706941440001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:26:03] 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":709099,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:26:03] local.INFO: GPS data processed {"connection_id":163609,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:26:03] local.INFO: Acknowledgment sent {"connection_id":163609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:26:09] local.INFO: TCP Data received {"connection_id":163608,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04835b738012d34c14006aa4840000c00e628..."} 
[2026-08-28 17:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04835b738012d34c14006aa4840000c00e628..."} 
[2026-08-28 17:26:09] local.INFO: Processing buffer {"connection_id":163608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04835b738012d34c14006aa4840000c00e628..."} 
[2026-08-28 17:26:09] local.INFO: Packet analysis {"connection_id":163608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04835"} 
[2026-08-28 17:26:09] local.INFO: Extracted packet for processing {"connection_id":163608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04835"} 
[2026-08-28 17:26:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706898944001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:26:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787917875000,"timestamp_ms":1787917875000,"timestamp_seconds":1787917875,"priority":1,"record_length":96,"hex_timestamp":"000001a04835b738"} 
[2026-08-28 17:26:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:26:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 17:26: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-28 17:26:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:26:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:26:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706898944001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706898944001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:26:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:26:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:26: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-28 17:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706898944001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:26:09] 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":709100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:26:09] local.INFO: GPS data processed {"connection_id":163608,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:26:09] local.INFO: Acknowledgment sent {"connection_id":163608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:26:21] local.INFO: TCP Data received {"connection_id":164888,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a04839a320012d19cdc0072017c80027009021..."} 
[2026-08-28 17:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04839a320012d19cdc0072017c80027009021..."} 
[2026-08-28 17:26:21] local.INFO: Processing buffer {"connection_id":164888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04839a320012d19cdc0072017c80027009021..."} 
[2026-08-28 17:26:21] local.INFO: Packet analysis {"connection_id":164888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04839"} 
[2026-08-28 17:26:21] local.INFO: Extracted packet for processing {"connection_id":164888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04839"} 
[2026-08-28 17:26:21] local.INFO: GPS Element Parsed {"raw_longitude":756665792,"raw_latitude":119543752,"longitude_deg":75.6665792,"latitude_deg":11.9543752,"altitude":39,"angle":144,"satellites":33,"speed":33,"hex_longitude":"2d19cdc0","hex_latitude":"072017c8","is_valid_coordinates":true} 
[2026-08-28 17:26:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:26:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707039744001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:26:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15966575282618368,"note":"Value kept but may cause issues"} 
[2026-08-28 17:26:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856116395779067904,"note":"Value kept but may cause issues"} 
[2026-08-28 17:26:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:26:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787918132000,"timestamp_ms":1787918132000,"timestamp_seconds":1787918132,"priority":1,"record_length":96,"hex_timestamp":"000001a04839a320"} 
[2026-08-28 17:26:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:26:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:26:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-28 17:26:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:26:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:26:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:26:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:26:21] local.INFO: Teltonika packet parsed successfully {"connection_id":164888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:26:21] local.INFO: Passing IMEI to GPS processor {"connection_id":164888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:26:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":164888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:26:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:26:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:26:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:26:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707039744001,"66":14352,"101":206,"83":41984,"24":33,"16":15966575282618368,"45":1856116395779067904},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-28 17:26:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:26:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:26:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707039744001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:26:21] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-28 17:26:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:26:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15966575282618368,"km_value":15966575282618.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:26:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856116395779067904,"description":"Unknown IO ID 45"} 
[2026-08-28 17:26:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707039744001,"power":14352,"unknown_101":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1856116395779067904}} 
[2026-08-28 17:26:21] 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":709101,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:26:21] local.INFO: GPS data processed {"connection_id":164888,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:26:21] local.INFO: Acknowledgment sent {"connection_id":164888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:26:25] local.INFO: TCP Data received {"connection_id":164889,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164889,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:26:25] local.INFO: Processing buffer {"connection_id":164889,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:26:25] local.INFO: IMEI packet received {"connection_id":164889,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 17:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":164889,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:26:30] local.INFO: TCP Data received {"connection_id":164889,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164889,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:26:30] local.INFO: Processing buffer {"connection_id":164889,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:26:30] local.INFO: IMEI packet received {"connection_id":164889,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 17:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":164889,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:26:31] local.INFO: TCP Data received {"connection_id":164889,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a048392620012d7b530005e140e00013006c1e..."} 
[2026-08-28 17:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048392620012d7b530005e140e00013006c1e..."} 
[2026-08-28 17:26:31] local.INFO: Processing buffer {"connection_id":164889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048392620012d7b530005e140e00013006c1e..."} 
[2026-08-28 17:26:31] local.INFO: Packet analysis {"connection_id":164889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04839"} 
[2026-08-28 17:26:31] local.INFO: Extracted packet for processing {"connection_id":164889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04839"} 
[2026-08-28 17:26:31] local.INFO: GPS Element Parsed {"raw_longitude":763056896,"raw_latitude":98648288,"longitude_deg":76.3056896,"latitude_deg":9.8648288,"altitude":19,"angle":108,"satellites":30,"speed":0,"hex_longitude":"2d7b5300","hex_latitude":"05e140e0","is_valid_coordinates":true} 
[2026-08-28 17:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707032576001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232119545856000,"note":"Value kept but may cause issues"} 
[2026-08-28 17:26:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886446514986090496,"note":"Value kept but may cause issues"} 
[2026-08-28 17:26:31] 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-28 17:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787918100000,"timestamp_ms":1787918100000,"timestamp_seconds":1787918100,"priority":1,"record_length":96,"hex_timestamp":"000001a048392620"} 
[2026-08-28 17:26:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:26:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-28 17:26:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:26:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:26:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":164889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":164889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":164889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:26:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707032576001,"66":12374,"217":206,"85":15104,"24":0,"16":125232119545856000,"45":8886446514986090496},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 17:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707032576001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:26:31] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 17:26:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232119545856000,"km_value":125232119545856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:26:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886446514986090496,"description":"Unknown IO ID 45"} 
[2026-08-28 17:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707032576001,"power":12374,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886446514986090496}} 
[2026-08-28 17:26:31] 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":709102,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:26:31] local.INFO: GPS data processed {"connection_id":164889,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:26:31] local.INFO: Acknowledgment sent {"connection_id":164889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:26:35] local.INFO: TCP Data received {"connection_id":163610,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:26:35] local.INFO: Processing buffer {"connection_id":163610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:26:35] local.INFO: IMEI packet received {"connection_id":163610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 17:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":163610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:26:36] local.INFO: TCP Data received {"connection_id":163609,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048383fa8012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048383fa8012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:26:36] local.INFO: Processing buffer {"connection_id":163609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048383fa8012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:26:36] local.INFO: Packet analysis {"connection_id":163609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04838"} 
[2026-08-28 17:26:36] local.INFO: Extracted packet for processing {"connection_id":163609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04838"} 
[2026-08-28 17:26:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706941440001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787918041000,"timestamp_ms":1787918041000,"timestamp_seconds":1787918041,"priority":1,"record_length":96,"hex_timestamp":"000001a048383fa8"} 
[2026-08-28 17:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 17:26:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:26:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163609,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163609,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:26:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706941440001,"66":25375,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706941440001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:26:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:26:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706941440001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:26:36] 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":709103,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:26:36] local.INFO: GPS data processed {"connection_id":163609,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:26:36] local.INFO: Acknowledgment sent {"connection_id":163609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:26:41] local.INFO: TCP Data received {"connection_id":163610,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:26:41] local.INFO: Processing buffer {"connection_id":163610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:26:41] local.INFO: IMEI packet received {"connection_id":163610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 17:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":163610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:26:44] local.INFO: TCP Data received {"connection_id":163610,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04835b738012d34c14006aa4840000c00e628..."} 
[2026-08-28 17:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04835b738012d34c14006aa4840000c00e628..."} 
[2026-08-28 17:26:44] local.INFO: Processing buffer {"connection_id":163610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04835b738012d34c14006aa4840000c00e628..."} 
[2026-08-28 17:26:44] local.INFO: Packet analysis {"connection_id":163610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04835"} 
[2026-08-28 17:26:44] local.INFO: Extracted packet for processing {"connection_id":163610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04835"} 
[2026-08-28 17:26:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706898944001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:26:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:26:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787917875000,"timestamp_ms":1787917875000,"timestamp_seconds":1787917875,"priority":1,"record_length":96,"hex_timestamp":"000001a04835b738"} 
[2026-08-28 17:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17: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-28 17:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 17:26: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-28 17:26:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:26:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706898944001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706898944001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:26:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:26:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17: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-28 17:26:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706898944001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:26:44] local.INFO: DEBUG: GPS processor result {"connection_id":163610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:26:44] local.INFO: GPS data processed {"connection_id":163610,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:26:44] local.INFO: Acknowledgment sent {"connection_id":163610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:26:45] local.INFO: TCP Data received {"connection_id":163610,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04835b738012d34c14006aa4840000c00e628..."} 
[2026-08-28 17:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04835b738012d34c14006aa4840000c00e628..."} 
[2026-08-28 17:26:45] local.INFO: Processing buffer {"connection_id":163610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04835b738012d34c14006aa4840000c00e628..."} 
[2026-08-28 17:26:45] local.INFO: Packet analysis {"connection_id":163610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04835"} 
[2026-08-28 17:26:45] local.INFO: Extracted packet for processing {"connection_id":163610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04835"} 
[2026-08-28 17:26:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17: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-28 17:26:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706898944001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:26:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:26:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:26:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:26:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787917875000,"timestamp_ms":1787917875000,"timestamp_seconds":1787917875,"priority":1,"record_length":96,"hex_timestamp":"000001a04835b738"} 
[2026-08-28 17: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-28 17:26: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-28 17: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":129,"data_length":795,"current_offset":136} 
[2026-08-28 17:26: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-28 17: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-28 17: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-28 17:26:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:26:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:26:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:26:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:26:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:26:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:26:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:26:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706898944001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:26:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:26:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:26:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706898944001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:26:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:26:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17: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-28 17:26:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:26:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706898944001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:26:45] local.INFO: DEBUG: GPS processor result {"connection_id":163610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:26:45] local.INFO: GPS data processed {"connection_id":163610,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:26:45] local.INFO: Acknowledgment sent {"connection_id":163610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:26:48] local.INFO: TCP Data received {"connection_id":166245,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166245,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:26:48] local.INFO: Processing buffer {"connection_id":166245,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:26:48] local.INFO: IMEI packet received {"connection_id":166245,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 17:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":166245,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:26:49] local.INFO: TCP Data received {"connection_id":166245,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166245,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:26:49] local.INFO: Processing buffer {"connection_id":166245,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:26:49] local.INFO: IMEI packet received {"connection_id":166245,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:26:49] local.INFO: IMEI acknowledgment sent {"connection_id":166245,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:26:49] local.INFO: TCP Data received {"connection_id":166245,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a04839aed8012d19d540072010880028007f22..."} 
[2026-08-28 17:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04839aed8012d19d540072010880028007f22..."} 
[2026-08-28 17:26:49] local.INFO: Processing buffer {"connection_id":166245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04839aed8012d19d540072010880028007f22..."} 
[2026-08-28 17:26:49] local.INFO: Packet analysis {"connection_id":166245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04839"} 
[2026-08-28 17:26:49] local.INFO: Extracted packet for processing {"connection_id":166245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04839"} 
[2026-08-28 17:26:49] local.INFO: GPS Element Parsed {"raw_longitude":756667712,"raw_latitude":119541896,"longitude_deg":75.6667712,"latitude_deg":11.9541896,"altitude":40,"angle":127,"satellites":34,"speed":36,"hex_longitude":"2d19d540","hex_latitude":"07201088","is_valid_coordinates":true} 
[2026-08-28 17: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-28 17:26:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707041792001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:26:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15966704131637248,"note":"Value kept but may cause issues"} 
[2026-08-28 17:26:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859353358009616384,"note":"Value kept but may cause issues"} 
[2026-08-28 17:26: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-28 17:26:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787918135000,"timestamp_ms":1787918135000,"timestamp_seconds":1787918135,"priority":1,"record_length":96,"hex_timestamp":"000001a04839aed8"} 
[2026-08-28 17: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-28 17:26:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17: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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-28 17:26:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733144320,"note":"Value kept but may cause issues"} 
[2026-08-28 17:26:49] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-28 17:26:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-28 17:26:49] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-28 17:26:49] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":13465703,"corrected_to":0} 
[2026-08-28 17:26:49] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503843230449664,"note":"Value kept but may cause issues"} 
[2026-08-28 17:26:49] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18638616184846439,"note":"Value kept but may cause issues"} 
[2026-08-28 17:26:49] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5981044192238174464,"note":"Value kept but may cause issues"} 
[2026-08-28 17:26:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-28 17:26:49] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3088515072,"note":"Value kept but may cause issues"} 
[2026-08-28 17:26:49] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-28 17:26:49] local.WARNING: Large IO value detected {"io_id":224,"raw_value":84752258939953313,"note":"Value kept but may cause issues"} 
[2026-08-28 17:26:49] local.WARNING: Large IO value detected {"io_id":248,"raw_value":10696900156069376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:26:49] local.WARNING: Large IO value detected {"io_id":25,"raw_value":-4899908557803618266,"note":"Value kept but may cause issues"} 
[2026-08-28 17:26:49] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,101,83,24,241,157,16,185,160,131,45,64,48,37,35,10,66,92,128,85,36,184,57,1,240,246,227,72,32,4,113,205,34,174,168,239,56,103,2,7,38,26,206,224,248,25],"length":628,"final_offset":758,"validated_count":46,"validation_warnings":[{"io_id":246,"original":13465703,"validated":0},{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-28 17:26:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2810404638889672704,"timestamp_seconds":2810404638889672.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 17: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-28 17:26:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:26:49] local.INFO: Teltonika packet parsed successfully {"connection_id":166245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:26:49] local.INFO: Passing IMEI to GPS processor {"connection_id":166245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:26:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":166245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:26:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:26:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:26:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:26:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707041792001,"66":14363,"101":206,"83":41984,"24":36,"16":15966704131637248,"45":1859353358009616384},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-28 17:26:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:26:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:26:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707041792001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:26:49] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-28 17:26:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:26:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15966704131637248,"km_value":15966704131637.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:26:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859353358009616384,"description":"Unknown IO ID 45"} 
[2026-08-28 17:26:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707041792001,"power":14363,"unknown_101":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1859353358009616384}} 
[2026-08-28 17:26:49] local.INFO: DEBUG: GPS processor result {"connection_id":166245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709106,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:26:49] local.INFO: GPS data processed {"connection_id":166245,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:26:49] local.INFO: Acknowledgment sent {"connection_id":166245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:26:52] local.INFO: TCP Data received {"connection_id":166245,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a04839c648012d19e500072005000028008d24..."} 
[2026-08-28 17:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04839c648012d19e500072005000028008d24..."} 
[2026-08-28 17:26:52] local.INFO: Processing buffer {"connection_id":166245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04839c648012d19e500072005000028008d24..."} 
[2026-08-28 17:26:52] local.INFO: Packet analysis {"connection_id":166245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04839"} 
[2026-08-28 17:26:52] local.INFO: Extracted packet for processing {"connection_id":166245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04839"} 
[2026-08-28 17:26:52] local.INFO: GPS Element Parsed {"raw_longitude":756671744,"raw_latitude":119538944,"longitude_deg":75.6671744,"latitude_deg":11.9538944,"altitude":40,"angle":141,"satellites":36,"speed":32,"hex_longitude":"2d19e500","hex_latitude":"07200500","is_valid_coordinates":true} 
[2026-08-28 17: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-28 17:26:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707042560001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:26:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15966944649805824,"note":"Value kept but may cause issues"} 
[2026-08-28 17:26:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861464420334471168,"note":"Value kept but may cause issues"} 
[2026-08-28 17:26:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:26:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787918141000,"timestamp_ms":1787918141000,"timestamp_seconds":1787918141,"priority":1,"record_length":96,"hex_timestamp":"000001a04839c648"} 
[2026-08-28 17: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-28 17:26:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-28 17:26:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17: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-28 17: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-28 17:26:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:26:52] local.INFO: Teltonika packet parsed successfully {"connection_id":166245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:26:52] local.INFO: Passing IMEI to GPS processor {"connection_id":166245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:26:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":166245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:26:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:26:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:26:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:26:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707042560001,"66":14363,"101":206,"83":41984,"24":32,"16":15966944649805824,"45":1861464420334471168},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-28 17:26:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:26:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:26:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707042560001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:26:52] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-28 17:26:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:26:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15966944649805824,"km_value":15966944649805.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:26:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861464420334471168,"description":"Unknown IO ID 45"} 
[2026-08-28 17:26:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707042560001,"power":14363,"unknown_101":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1861464420334471168}} 
[2026-08-28 17:26:52] local.INFO: DEBUG: GPS processor result {"connection_id":166245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709107,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:26:52] local.INFO: GPS data processed {"connection_id":166245,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:26:52] local.INFO: Acknowledgment sent {"connection_id":166245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:26:56] local.INFO: TCP Data received {"connection_id":164890,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164890,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:26:56] local.INFO: Processing buffer {"connection_id":164890,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:26:56] local.INFO: IMEI packet received {"connection_id":164890,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 17:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":164890,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:27:01] local.INFO: TCP Data received {"connection_id":164890,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164890,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:27:01] local.INFO: Processing buffer {"connection_id":164890,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:27:01] local.INFO: IMEI packet received {"connection_id":164890,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 17:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":164890,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:27:02] local.INFO: TCP Data received {"connection_id":164889,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0483ad7b8012d7b520005e141480010006c1e..."} 
[2026-08-28 17:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0483ad7b8012d7b520005e141480010006c1e..."} 
[2026-08-28 17:27:02] local.INFO: Processing buffer {"connection_id":164889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0483ad7b8012d7b520005e141480010006c1e..."} 
[2026-08-28 17:27:02] local.INFO: Packet analysis {"connection_id":164889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0483a"} 
[2026-08-28 17:27:02] local.INFO: Extracted packet for processing {"connection_id":164889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0483a"} 
[2026-08-28 17:27:02] local.INFO: GPS Element Parsed {"raw_longitude":763056640,"raw_latitude":98648392,"longitude_deg":76.305664,"latitude_deg":9.8648392,"altitude":16,"angle":108,"satellites":30,"speed":0,"hex_longitude":"2d7b5200","hex_latitude":"05e14148","is_valid_coordinates":true} 
[2026-08-28 17:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:27:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707062016001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:27:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232119545856000,"note":"Value kept but may cause issues"} 
[2026-08-28 17:27:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886165040009398272,"note":"Value kept but may cause issues"} 
[2026-08-28 17:27:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:27:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787918211000,"timestamp_ms":1787918211000,"timestamp_seconds":1787918211,"priority":1,"record_length":96,"hex_timestamp":"000001a0483ad7b8"} 
[2026-08-28 17:27:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:27:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-28 17:27:02] 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-28 17:27:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:27:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:27:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:27:02] local.INFO: Teltonika packet parsed successfully {"connection_id":164889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:27:02] local.INFO: Passing IMEI to GPS processor {"connection_id":164889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:27:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":164889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:27:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:27:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:27:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:27:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707062016001,"66":12645,"217":206,"85":15104,"24":0,"16":125232119545856000,"45":8886165040009398272},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 17:27:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:27:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:27:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707062016001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:27:02] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 17:27:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:27:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232119545856000,"km_value":125232119545856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:27:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886165040009398272,"description":"Unknown IO ID 45"} 
[2026-08-28 17:27:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707062016001,"power":12645,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886165040009398272}} 
[2026-08-28 17:27:02] 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":709108,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:27:02] local.INFO: GPS data processed {"connection_id":164889,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:27:02] local.INFO: Acknowledgment sent {"connection_id":164889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:27:03] local.INFO: TCP Data received {"connection_id":164890,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048383fa8012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048383fa8012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:27:03] local.INFO: Processing buffer {"connection_id":164890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048383fa8012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:27:03] local.INFO: Packet analysis {"connection_id":164890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04838"} 
[2026-08-28 17:27:03] local.INFO: Extracted packet for processing {"connection_id":164890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04838"} 
[2026-08-28 17:27:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706941440001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:27:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787918041000,"timestamp_ms":1787918041000,"timestamp_seconds":1787918041,"priority":1,"record_length":96,"hex_timestamp":"000001a048383fa8"} 
[2026-08-28 17:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:27:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 17:27:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:27:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":164890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":164890,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":164890,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:27:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706941440001,"66":25375,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706941440001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:27:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:27:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706941440001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:27:03] 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":709109,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:27:03] local.INFO: GPS data processed {"connection_id":164890,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:27:03] local.INFO: Acknowledgment sent {"connection_id":164890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:27:23] local.INFO: TCP Data received {"connection_id":166245,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0483a7de0012d1a7840071fced80031008c23..."} 
[2026-08-28 17:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0483a7de0012d1a7840071fced80031008c23..."} 
[2026-08-28 17:27:23] local.INFO: Processing buffer {"connection_id":166245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0483a7de0012d1a7840071fced80031008c23..."} 
[2026-08-28 17:27:23] local.INFO: Packet analysis {"connection_id":166245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0483a"} 
[2026-08-28 17:27:23] local.INFO: Extracted packet for processing {"connection_id":166245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0483a"} 
[2026-08-28 17:27:23] local.INFO: GPS Element Parsed {"raw_longitude":756709440,"raw_latitude":119525080,"longitude_deg":75.670944,"latitude_deg":11.952508,"altitude":49,"angle":140,"satellites":35,"speed":36,"hex_longitude":"2d1a7840","hex_latitude":"071fced8","is_valid_coordinates":true} 
[2026-08-28 17: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-28 17:27:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707055360001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:27:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15968916039794688,"note":"Value kept but may cause issues"} 
[2026-08-28 17:27:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1905233779209158656,"note":"Value kept but may cause issues"} 
[2026-08-28 17:27: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-28 17:27:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787918188000,"timestamp_ms":1787918188000,"timestamp_seconds":1787918188,"priority":1,"record_length":96,"hex_timestamp":"000001a0483a7de0"} 
[2026-08-28 17: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-28 17:27:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-28 17:27:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17: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-28 17: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-28 17:27:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:27:23] local.INFO: Teltonika packet parsed successfully {"connection_id":166245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:27:23] local.INFO: Passing IMEI to GPS processor {"connection_id":166245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:27:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":166245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:27:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:27:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:27:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:27:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707055360001,"66":13624,"101":206,"83":41984,"24":36,"16":15968916039794688,"45":1905233779209158656},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-28 17:27:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:27:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:27:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707055360001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:27:23] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-28 17:27:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:27:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15968916039794688,"km_value":15968916039794.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:27:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1905233779209158656,"description":"Unknown IO ID 45"} 
[2026-08-28 17:27:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707055360001,"power":13624,"unknown_101":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1905233779209158656}} 
[2026-08-28 17:27:23] local.INFO: DEBUG: GPS processor result {"connection_id":166245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709110,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:27:23] local.INFO: GPS data processed {"connection_id":166245,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:27:23] local.INFO: Acknowledgment sent {"connection_id":166245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:27:25] local.INFO: TCP Data received {"connection_id":163611,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163611,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:27:25] local.INFO: Processing buffer {"connection_id":163611,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:27:25] local.INFO: IMEI packet received {"connection_id":163611,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 17:27:25] local.INFO: IMEI acknowledgment sent {"connection_id":163611,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:27:25] local.INFO: TCP Data received {"connection_id":163611,"ip":"42.106.6.18","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-28 17:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163611,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-28 17:27:25] local.INFO: Processing buffer {"connection_id":163611,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-28 17:27:25] local.INFO: IMEI packet received {"connection_id":163611,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 17:27:25] local.INFO: IMEI acknowledgment sent {"connection_id":163611,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:27:25] local.INFO: TCP Data received {"connection_id":163611,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163611,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:27:25] local.INFO: Processing buffer {"connection_id":163611,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-28 17:27:25] local.INFO: IMEI packet received {"connection_id":163611,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 17:27:25] local.INFO: IMEI acknowledgment sent {"connection_id":163611,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:27:30] local.INFO: TCP Data received {"connection_id":163880,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:27:30] local.INFO: Processing buffer {"connection_id":163880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:27:30] local.INFO: IMEI packet received {"connection_id":163880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 17:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":163880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:27:35] local.INFO: TCP Data received {"connection_id":164890,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048383fa8012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048383fa8012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:27:35] local.INFO: Processing buffer {"connection_id":164890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048383fa8012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:27:35] local.INFO: Packet analysis {"connection_id":164890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04838"} 
[2026-08-28 17:27:35] local.INFO: Extracted packet for processing {"connection_id":164890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04838"} 
[2026-08-28 17:27:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706941440001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787918041000,"timestamp_ms":1787918041000,"timestamp_seconds":1787918041,"priority":1,"record_length":96,"hex_timestamp":"000001a048383fa8"} 
[2026-08-28 17:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:27:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 17:27: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-28 17:27:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":164890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":164890,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":164890,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706941440001,"66":25375,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706941440001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:27:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:27:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706941440001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:27:35] 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":709111,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:27:35] local.INFO: GPS data processed {"connection_id":164890,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:27:35] local.INFO: Acknowledgment sent {"connection_id":164890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:27:35] local.INFO: TCP Data received {"connection_id":163880,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:27:35] local.INFO: Processing buffer {"connection_id":163880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:27:35] local.INFO: IMEI packet received {"connection_id":163880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 17:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":163880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:27:37] local.INFO: TCP Data received {"connection_id":163880,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0483a4f00012d34c14006aa4840000500e628..."} 
[2026-08-28 17:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0483a4f00012d34c14006aa4840000500e628..."} 
[2026-08-28 17:27:37] local.INFO: Processing buffer {"connection_id":163880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0483a4f00012d34c14006aa4840000500e628..."} 
[2026-08-28 17:27:37] local.INFO: Packet analysis {"connection_id":163880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0483a"} 
[2026-08-28 17:27:37] local.INFO: Extracted packet for processing {"connection_id":163880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0483a"} 
[2026-08-28 17:27:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706976000001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787918176000,"timestamp_ms":1787918176000,"timestamp_seconds":1787918176,"priority":1,"record_length":96,"hex_timestamp":"000001a0483a4f00"} 
[2026-08-28 17:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 17:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706976000001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706976000001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:27:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:27:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:27: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-28 17:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706976000001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":163880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:27:37] local.INFO: GPS data processed {"connection_id":163880,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:27:37] local.INFO: Acknowledgment sent {"connection_id":163880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:27:43] local.INFO: TCP Data received {"connection_id":166246,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166246,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:27:43] local.INFO: Processing buffer {"connection_id":166246,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:27:43] local.INFO: IMEI packet received {"connection_id":166246,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 17:27:43] local.INFO: IMEI acknowledgment sent {"connection_id":166246,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:27:48] local.INFO: TCP Data received {"connection_id":166246,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166246,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:27:48] local.INFO: Processing buffer {"connection_id":166246,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:27:48] local.INFO: IMEI packet received {"connection_id":166246,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:27:48] local.INFO: IMEI acknowledgment sent {"connection_id":166246,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:27:49] local.INFO: TCP Data received {"connection_id":166246,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0483aa4f0012d1a8c80071fafd00035008f24..."} 
[2026-08-28 17:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0483aa4f0012d1a8c80071fafd00035008f24..."} 
[2026-08-28 17:27:49] local.INFO: Processing buffer {"connection_id":166246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0483aa4f0012d1a8c80071fafd00035008f24..."} 
[2026-08-28 17:27:49] local.INFO: Packet analysis {"connection_id":166246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0483a"} 
[2026-08-28 17:27:49] local.INFO: Extracted packet for processing {"connection_id":166246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0483a"} 
[2026-08-28 17:27:49] local.INFO: GPS Element Parsed {"raw_longitude":756714624,"raw_latitude":119517136,"longitude_deg":75.6714624,"latitude_deg":11.9517136,"altitude":53,"angle":143,"satellites":36,"speed":36,"hex_longitude":"2d1a8c80","hex_latitude":"071fafd0","is_valid_coordinates":true} 
[2026-08-28 17: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-28 17:27:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707056128001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:27:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15969371306328064,"note":"Value kept but may cause issues"} 
[2026-08-28 17:27:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1907344841534003200,"note":"Value kept but may cause issues"} 
[2026-08-28 17:27: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-28 17:27:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787918198000,"timestamp_ms":1787918198000,"timestamp_seconds":1787918198,"priority":1,"record_length":96,"hex_timestamp":"000001a0483aa4f0"} 
[2026-08-28 17: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-28 17:27:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-28 17:27:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17: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-28 17: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-28 17:27:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:27:49] local.INFO: Teltonika packet parsed successfully {"connection_id":166246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:27:49] local.INFO: Passing IMEI to GPS processor {"connection_id":166246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:27:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":166246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:27:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:27:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:27:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:27:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707056128001,"66":14070,"101":206,"83":41984,"24":36,"16":15969371306328064,"45":1907344841534003200},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-28 17:27:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:27:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:27:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707056128001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:27:49] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-28 17:27:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:27:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15969371306328064,"km_value":15969371306328.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:27:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1907344841534003200,"description":"Unknown IO ID 45"} 
[2026-08-28 17:27:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707056128001,"power":14070,"unknown_101":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1907344841534003200}} 
[2026-08-28 17:27:49] local.INFO: DEBUG: GPS processor result {"connection_id":166246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709113,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:27:49] local.INFO: GPS data processed {"connection_id":166246,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:27:49] local.INFO: Acknowledgment sent {"connection_id":166246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:27:56] local.INFO: TCP Data received {"connection_id":164891,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164891,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:27:56] local.INFO: Processing buffer {"connection_id":164891,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:27:56] local.INFO: IMEI packet received {"connection_id":164891,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 17:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":164891,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:28:01] local.INFO: TCP Data received {"connection_id":164891,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164891,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:28:01] local.INFO: Processing buffer {"connection_id":164891,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:28:01] local.INFO: IMEI packet received {"connection_id":164891,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 17:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":164891,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:28:02] local.INFO: TCP Data received {"connection_id":164891,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048383fa8012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048383fa8012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:28:02] local.INFO: Processing buffer {"connection_id":164891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048383fa8012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:28:02] local.INFO: Packet analysis {"connection_id":164891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04838"} 
[2026-08-28 17:28:02] local.INFO: Extracted packet for processing {"connection_id":164891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04838"} 
[2026-08-28 17:28:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706941440001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:28:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:28:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787918041000,"timestamp_ms":1787918041000,"timestamp_seconds":1787918041,"priority":1,"record_length":96,"hex_timestamp":"000001a048383fa8"} 
[2026-08-28 17:28:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:28:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 17:28:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:28:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:28:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":164891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":164891,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":164891,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:28:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706941440001,"66":25375,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706941440001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:28:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:28:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:28:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:28:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:28:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706941440001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:28:02] 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":709114,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:28:02] local.INFO: GPS data processed {"connection_id":164891,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:28:02] local.INFO: Acknowledgment sent {"connection_id":164891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:28:08] local.INFO: TCP Data received {"connection_id":163880,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0483a4f00012d34c14006aa4840000500e628..."} 
[2026-08-28 17:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0483a4f00012d34c14006aa4840000500e628..."} 
[2026-08-28 17:28:08] local.INFO: Processing buffer {"connection_id":163880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0483a4f00012d34c14006aa4840000500e628..."} 
[2026-08-28 17:28:08] local.INFO: Packet analysis {"connection_id":163880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0483a"} 
[2026-08-28 17:28:08] local.INFO: Extracted packet for processing {"connection_id":163880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0483a"} 
[2026-08-28 17:28:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706976000001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:28:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787918176000,"timestamp_ms":1787918176000,"timestamp_seconds":1787918176,"priority":1,"record_length":96,"hex_timestamp":"000001a0483a4f00"} 
[2026-08-28 17:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:28:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 17:28:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:28:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:28:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706976000001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706976000001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:28:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:28:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:28: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-28 17:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706976000001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":163880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:28:08] local.INFO: GPS data processed {"connection_id":163880,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:28:08] local.INFO: Acknowledgment sent {"connection_id":163880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:28:20] local.INFO: TCP Data received {"connection_id":166246,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0483ab490012d1a9440071fa7b00034008123..."} 
[2026-08-28 17:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0483ab490012d1a9440071fa7b00034008123..."} 
[2026-08-28 17:28:20] local.INFO: Processing buffer {"connection_id":166246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0483ab490012d1a9440071fa7b00034008123..."} 
[2026-08-28 17:28:20] local.INFO: Packet analysis {"connection_id":166246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0483a"} 
[2026-08-28 17:28:20] local.INFO: Extracted packet for processing {"connection_id":166246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0483a"} 
[2026-08-28 17:28:20] local.INFO: GPS Element Parsed {"raw_longitude":756716608,"raw_latitude":119515056,"longitude_deg":75.6716608,"latitude_deg":11.9515056,"altitude":52,"angle":129,"satellites":35,"speed":23,"hex_longitude":"2d1a9440","hex_latitude":"071fa7b0","is_valid_coordinates":true} 
[2026-08-28 17: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-28 17:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707058688001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15969508745281536,"note":"Value kept but may cause issues"} 
[2026-08-28 17:28:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1913044709810360320,"note":"Value kept but may cause issues"} 
[2026-08-28 17:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787918202000,"timestamp_ms":1787918202000,"timestamp_seconds":1787918202,"priority":1,"record_length":96,"hex_timestamp":"000001a0483ab490"} 
[2026-08-28 17: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-28 17:28:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-28 17:28:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17: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-28 17: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-28 17:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":166246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":166246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":166246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:28:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707058688001,"66":14102,"101":206,"83":41984,"24":23,"16":15969508745281536,"45":1913044709810360320},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-28 17:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707058688001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:28:20] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-28 17:28:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15969508745281536,"km_value":15969508745281.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:28:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1913044709810360320,"description":"Unknown IO ID 45"} 
[2026-08-28 17:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707058688001,"power":14102,"unknown_101":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1913044709810360320}} 
[2026-08-28 17:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":166246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709116,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:28:20] local.INFO: GPS data processed {"connection_id":166246,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:28:20] local.INFO: Acknowledgment sent {"connection_id":166246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:28:30] local.INFO: TCP Data received {"connection_id":163881,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:28:30] local.INFO: Processing buffer {"connection_id":163881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:28:30] local.INFO: IMEI packet received {"connection_id":163881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 17:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":163881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:28:34] local.INFO: TCP Data received {"connection_id":164891,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048383fa8012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048383fa8012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:28:34] local.INFO: Processing buffer {"connection_id":164891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048383fa8012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:28:34] local.INFO: Packet analysis {"connection_id":164891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04838"} 
[2026-08-28 17:28:34] local.INFO: Extracted packet for processing {"connection_id":164891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04838"} 
[2026-08-28 17:28:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706941440001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:28:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787918041000,"timestamp_ms":1787918041000,"timestamp_seconds":1787918041,"priority":1,"record_length":96,"hex_timestamp":"000001a048383fa8"} 
[2026-08-28 17:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:28:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 17:28:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:28:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":164891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":164891,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":164891,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:28:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706941440001,"66":25375,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706941440001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:28:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:28:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:28:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706941440001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:28:35] 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":709117,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:28:35] local.INFO: GPS data processed {"connection_id":164891,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:28:35] local.INFO: Acknowledgment sent {"connection_id":164891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:28:35] local.INFO: TCP Data received {"connection_id":163881,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:28:35] local.INFO: Processing buffer {"connection_id":163881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:28:35] local.INFO: IMEI packet received {"connection_id":163881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 17:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":163881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:28:37] local.INFO: TCP Data received {"connection_id":163881,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0483a4f00012d34c14006aa4840000500e628..."} 
[2026-08-28 17:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0483a4f00012d34c14006aa4840000500e628..."} 
[2026-08-28 17:28:37] local.INFO: Processing buffer {"connection_id":163881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0483a4f00012d34c14006aa4840000500e628..."} 
[2026-08-28 17:28:37] local.INFO: Packet analysis {"connection_id":163881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0483a"} 
[2026-08-28 17:28:37] local.INFO: Extracted packet for processing {"connection_id":163881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0483a"} 
[2026-08-28 17:28:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706976000001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787918176000,"timestamp_ms":1787918176000,"timestamp_seconds":1787918176,"priority":1,"record_length":96,"hex_timestamp":"000001a0483a4f00"} 
[2026-08-28 17:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 17:28:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706976000001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706976000001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:28:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:28:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:28: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-28 17:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706976000001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":163881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:28:37] local.INFO: GPS data processed {"connection_id":163881,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:28:37] local.INFO: Acknowledgment sent {"connection_id":163881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:28:42] local.INFO: TCP Data received {"connection_id":163882,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163882,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:28:42] local.INFO: Processing buffer {"connection_id":163882,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:28:42] local.INFO: IMEI packet received {"connection_id":163882,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 17:28:42] local.INFO: IMEI acknowledgment sent {"connection_id":163882,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:28:42] local.INFO: TCP Data received {"connection_id":163882,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163882,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:28:42] local.INFO: Processing buffer {"connection_id":163882,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:28:42] local.INFO: IMEI packet received {"connection_id":163882,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:28:42] local.INFO: IMEI acknowledgment sent {"connection_id":163882,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:28:43] local.INFO: TCP Data received {"connection_id":163882,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163882,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:28:43] local.INFO: Processing buffer {"connection_id":163882,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:28:43] local.INFO: IMEI packet received {"connection_id":163882,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:28:43] local.INFO: IMEI acknowledgment sent {"connection_id":163882,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:28:44] local.INFO: TCP Data received {"connection_id":163882,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163882,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:28:44] local.INFO: Processing buffer {"connection_id":163882,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:28:44] local.INFO: IMEI packet received {"connection_id":163882,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:28:44] local.INFO: IMEI acknowledgment sent {"connection_id":163882,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:28:56] local.INFO: TCP Data received {"connection_id":164892,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164892,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:28:56] local.INFO: Processing buffer {"connection_id":164892,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:28:56] local.INFO: IMEI packet received {"connection_id":164892,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 17:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":164892,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:29:01] local.INFO: TCP Data received {"connection_id":164892,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164892,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:29:01] local.INFO: Processing buffer {"connection_id":164892,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:29:01] local.INFO: IMEI packet received {"connection_id":164892,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 17:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":164892,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:29:03] local.INFO: TCP Data received {"connection_id":164892,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048383fa8012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048383fa8012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:29:03] local.INFO: Processing buffer {"connection_id":164892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048383fa8012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:29:03] local.INFO: Packet analysis {"connection_id":164892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04838"} 
[2026-08-28 17:29:03] local.INFO: Extracted packet for processing {"connection_id":164892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04838"} 
[2026-08-28 17:29:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706941440001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787918041000,"timestamp_ms":1787918041000,"timestamp_seconds":1787918041,"priority":1,"record_length":96,"hex_timestamp":"000001a048383fa8"} 
[2026-08-28 17:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:29:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 17:29:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:29:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":164892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":164892,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":164892,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706941440001,"66":25375,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706941440001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:29:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:29:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706941440001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:29:03] 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":709119,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:29:03] local.INFO: GPS data processed {"connection_id":164892,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:29:03] local.INFO: Acknowledgment sent {"connection_id":164892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:29:10] local.INFO: TCP Data received {"connection_id":163881,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0483a4f00012d34c14006aa4840000500e628..."} 
[2026-08-28 17:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0483a4f00012d34c14006aa4840000500e628..."} 
[2026-08-28 17:29:10] local.INFO: Processing buffer {"connection_id":163881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0483a4f00012d34c14006aa4840000500e628..."} 
[2026-08-28 17:29:10] local.INFO: Packet analysis {"connection_id":163881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0483a"} 
[2026-08-28 17:29:10] local.INFO: Extracted packet for processing {"connection_id":163881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0483a"} 
[2026-08-28 17:29:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706976000001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:29:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:29:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787918176000,"timestamp_ms":1787918176000,"timestamp_seconds":1787918176,"priority":1,"record_length":96,"hex_timestamp":"000001a0483a4f00"} 
[2026-08-28 17:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:29:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 17:29:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:29:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:29:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706976000001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706976000001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:29:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:29:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:29:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706976000001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":163881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:29:10] local.INFO: GPS data processed {"connection_id":163881,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:29:10] local.INFO: Acknowledgment sent {"connection_id":163881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:29:34] local.INFO: TCP Data received {"connection_id":164892,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048383fa8012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048383fa8012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:29:34] local.INFO: Processing buffer {"connection_id":164892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048383fa8012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:29:34] local.INFO: Packet analysis {"connection_id":164892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04838"} 
[2026-08-28 17:29:34] local.INFO: Extracted packet for processing {"connection_id":164892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04838"} 
[2026-08-28 17:29:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706941440001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:29:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787918041000,"timestamp_ms":1787918041000,"timestamp_seconds":1787918041,"priority":1,"record_length":96,"hex_timestamp":"000001a048383fa8"} 
[2026-08-28 17:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:29:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 17:29:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:29:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":164892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":164892,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":164892,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706941440001,"66":25375,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706941440001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:29:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:29:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706941440001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:29:34] 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":709121,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:29:34] local.INFO: GPS data processed {"connection_id":164892,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:29:34] local.INFO: Acknowledgment sent {"connection_id":164892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:29:35] local.INFO: TCP Data received {"connection_id":164893,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:29:35] local.INFO: Processing buffer {"connection_id":164893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:29:35] local.INFO: IMEI packet received {"connection_id":164893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 17:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":164893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:29:40] local.INFO: TCP Data received {"connection_id":164893,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:29:40] local.INFO: Processing buffer {"connection_id":164893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:29:40] local.INFO: IMEI packet received {"connection_id":164893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 17:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":164893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:29:43] local.INFO: TCP Data received {"connection_id":164893,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0483a4f00012d34c14006aa4840000500e628..."} 
[2026-08-28 17:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0483a4f00012d34c14006aa4840000500e628..."} 
[2026-08-28 17:29:43] local.INFO: Processing buffer {"connection_id":164893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0483a4f00012d34c14006aa4840000500e628..."} 
[2026-08-28 17:29:43] local.INFO: Packet analysis {"connection_id":164893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0483a"} 
[2026-08-28 17:29:43] local.INFO: Extracted packet for processing {"connection_id":164893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0483a"} 
[2026-08-28 17:29:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17: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-28 17:29:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706976000001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:29:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:29:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:29:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:29:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787918176000,"timestamp_ms":1787918176000,"timestamp_seconds":1787918176,"priority":1,"record_length":96,"hex_timestamp":"000001a0483a4f00"} 
[2026-08-28 17: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-28 17: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-28 17: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":118,"data_length":795,"current_offset":136} 
[2026-08-28 17:29: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-28 17: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-28 17: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-28 17:29:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:29:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:29:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:29:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:29:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:29:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:29:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:29:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706976000001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:29:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:29:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:29:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706976000001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:29:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:29:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17: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-28 17:29:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:29:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706976000001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:29:43] 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":709122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:29:43] local.INFO: GPS data processed {"connection_id":164893,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:29:43] local.INFO: Acknowledgment sent {"connection_id":164893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:29:47] local.INFO: TCP Data received {"connection_id":164893,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0483a4f00012d34c14006aa4840000500e628..."} 
[2026-08-28 17:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0483a4f00012d34c14006aa4840000500e628..."} 
[2026-08-28 17:29:47] local.INFO: Processing buffer {"connection_id":164893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0483a4f00012d34c14006aa4840000500e628..."} 
[2026-08-28 17:29:47] local.INFO: Packet analysis {"connection_id":164893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0483a"} 
[2026-08-28 17:29:47] local.INFO: Extracted packet for processing {"connection_id":164893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0483a"} 
[2026-08-28 17:29:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706976000001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:29:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:29:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787918176000,"timestamp_ms":1787918176000,"timestamp_seconds":1787918176,"priority":1,"record_length":96,"hex_timestamp":"000001a0483a4f00"} 
[2026-08-28 17:29:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17: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-28 17:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 17:29: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-28 17:29:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:29:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:29:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706976000001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706976000001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:29:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:29:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17: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-28 17:29:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706976000001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:29:47] 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":709123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:29:47] local.INFO: GPS data processed {"connection_id":164893,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:29:47] local.INFO: Acknowledgment sent {"connection_id":164893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:30:02] local.INFO: TCP Data received {"connection_id":164895,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164895,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:30:02] local.INFO: Processing buffer {"connection_id":164895,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:30:02] local.INFO: IMEI packet received {"connection_id":164895,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 17:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":164895,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:30:06] local.INFO: TCP Data received {"connection_id":164895,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164895,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:30:06] local.INFO: Processing buffer {"connection_id":164895,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:30:06] local.INFO: IMEI packet received {"connection_id":164895,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 17:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":164895,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:30:08] local.INFO: TCP Data received {"connection_id":164895,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0483cd770012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0483cd770012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:30:08] local.INFO: Processing buffer {"connection_id":164895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0483cd770012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:30:08] local.INFO: Packet analysis {"connection_id":164895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0483c"} 
[2026-08-28 17:30:08] local.INFO: Extracted packet for processing {"connection_id":164895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0483c"} 
[2026-08-28 17:30:08] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707018496001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:30:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787918342000,"timestamp_ms":1787918342000,"timestamp_seconds":1787918342,"priority":1,"record_length":96,"hex_timestamp":"000001a0483cd770"} 
[2026-08-28 17:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:30:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 17:30:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:30:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164895,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164895,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:30:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707018496001,"66":25375,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707018496001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:30:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:30:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707018496001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:30:09] local.INFO: DEBUG: GPS processor result {"connection_id":164895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709124,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:30:09] local.INFO: GPS data processed {"connection_id":164895,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:30:09] local.INFO: Acknowledgment sent {"connection_id":164895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:30:31] local.INFO: TCP Data received {"connection_id":163884,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:30:31] local.INFO: Processing buffer {"connection_id":163884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:30:31] local.INFO: IMEI packet received {"connection_id":163884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 17:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":163884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:30:35] local.INFO: TCP Data received {"connection_id":163884,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:30:35] local.INFO: Processing buffer {"connection_id":163884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:30:35] local.INFO: IMEI packet received {"connection_id":163884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 17:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":163884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:30:37] local.INFO: TCP Data received {"connection_id":163884,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0483a4f00012d34c14006aa4840000500e628..."} 
[2026-08-28 17:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0483a4f00012d34c14006aa4840000500e628..."} 
[2026-08-28 17:30:37] local.INFO: Processing buffer {"connection_id":163884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0483a4f00012d34c14006aa4840000500e628..."} 
[2026-08-28 17:30:37] local.INFO: Packet analysis {"connection_id":163884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0483a"} 
[2026-08-28 17:30:37] local.INFO: Extracted packet for processing {"connection_id":163884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0483a"} 
[2026-08-28 17:30:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706976000001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787918176000,"timestamp_ms":1787918176000,"timestamp_seconds":1787918176,"priority":1,"record_length":96,"hex_timestamp":"000001a0483a4f00"} 
[2026-08-28 17:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 17:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706976000001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706976000001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:30:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:30:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:30: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-28 17:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706976000001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":163884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:30:37] local.INFO: GPS data processed {"connection_id":163884,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:30:37] local.INFO: Acknowledgment sent {"connection_id":163884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:30:41] local.INFO: TCP Data received {"connection_id":164895,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0483cd770012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0483cd770012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:30:41] local.INFO: Processing buffer {"connection_id":164895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0483cd770012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:30:41] local.INFO: Packet analysis {"connection_id":164895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0483c"} 
[2026-08-28 17:30:41] local.INFO: Extracted packet for processing {"connection_id":164895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0483c"} 
[2026-08-28 17:30:41] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707018496001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:30:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:30:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:30:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787918342000,"timestamp_ms":1787918342000,"timestamp_seconds":1787918342,"priority":1,"record_length":96,"hex_timestamp":"000001a0483cd770"} 
[2026-08-28 17:30:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:30:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 17:30: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-28 17:30:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:30:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":164895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":164895,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":164895,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:30:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:30:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:30:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:30:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707018496001,"66":25375,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:30:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:30:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:30:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707018496001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:30:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:30:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:30:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:30:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:30:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707018496001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:30:41] local.INFO: DEBUG: GPS processor result {"connection_id":164895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709126,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:30:41] local.INFO: GPS data processed {"connection_id":164895,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:30:41] local.INFO: Acknowledgment sent {"connection_id":164895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:30:43] local.INFO: TCP Data received {"connection_id":163884,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0483a4f00012d34c14006aa4840000500e628..."} 
[2026-08-28 17:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0483a4f00012d34c14006aa4840000500e628..."} 
[2026-08-28 17:30:43] local.INFO: Processing buffer {"connection_id":163884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0483a4f00012d34c14006aa4840000500e628..."} 
[2026-08-28 17:30:43] local.INFO: Packet analysis {"connection_id":163884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0483a"} 
[2026-08-28 17:30:43] local.INFO: Extracted packet for processing {"connection_id":163884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0483a"} 
[2026-08-28 17:30:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17: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-28 17:30:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706976000001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:30:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:30:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:30:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:30:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787918176000,"timestamp_ms":1787918176000,"timestamp_seconds":1787918176,"priority":1,"record_length":96,"hex_timestamp":"000001a0483a4f00"} 
[2026-08-28 17: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-28 17: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-28 17: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-28 17: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-28 17: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-28 17: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-28 17:30:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:30:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:30:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:30:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:30:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:30:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:30:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:30:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706976000001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:30:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:30:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:30:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706976000001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:30:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:30:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17: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-28 17:30:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:30:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706976000001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:30:43] local.INFO: DEBUG: GPS processor result {"connection_id":163884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:30:43] local.INFO: GPS data processed {"connection_id":163884,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:30:43] local.INFO: Acknowledgment sent {"connection_id":163884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:30:56] local.INFO: TCP Data received {"connection_id":163885,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163885,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:30:56] local.INFO: Processing buffer {"connection_id":163885,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:30:56] local.INFO: IMEI packet received {"connection_id":163885,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 17:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":163885,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:31:01] local.INFO: TCP Data received {"connection_id":163885,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163885,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:31:01] local.INFO: Processing buffer {"connection_id":163885,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:31:01] local.INFO: IMEI packet received {"connection_id":163885,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 17:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":163885,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:31:03] local.INFO: TCP Data received {"connection_id":163885,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0483cd770012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0483cd770012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:31:03] local.INFO: Processing buffer {"connection_id":163885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0483cd770012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:31:03] local.INFO: Packet analysis {"connection_id":163885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0483c"} 
[2026-08-28 17:31:03] local.INFO: Extracted packet for processing {"connection_id":163885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0483c"} 
[2026-08-28 17:31:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707018496001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:31:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787918342000,"timestamp_ms":1787918342000,"timestamp_seconds":1787918342,"priority":1,"record_length":96,"hex_timestamp":"000001a0483cd770"} 
[2026-08-28 17:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:31:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 17:31:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:31:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163885,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163885,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:31:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707018496001,"66":25375,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707018496001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:31:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:31:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707018496001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":163885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709128,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:31:03] local.INFO: GPS data processed {"connection_id":163885,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:31:03] local.INFO: Acknowledgment sent {"connection_id":163885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:31:15] local.INFO: TCP Data received {"connection_id":163884,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0483a4f00012d34c14006aa4840000500e628..."} 
[2026-08-28 17:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0483a4f00012d34c14006aa4840000500e628..."} 
[2026-08-28 17:31:15] local.INFO: Processing buffer {"connection_id":163884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0483a4f00012d34c14006aa4840000500e628..."} 
[2026-08-28 17:31:15] local.INFO: Packet analysis {"connection_id":163884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0483a"} 
[2026-08-28 17:31:15] local.INFO: Extracted packet for processing {"connection_id":163884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0483a"} 
[2026-08-28 17:31:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 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-28 17:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706976000001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:31:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:31:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787918176000,"timestamp_ms":1787918176000,"timestamp_seconds":1787918176,"priority":1,"record_length":96,"hex_timestamp":"000001a0483a4f00"} 
[2026-08-28 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-28 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-28 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":118,"data_length":795,"current_offset":136} 
[2026-08-28 17:31: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-28 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-28 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-28 17:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706976000001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706976000001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:31:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:31:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 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-28 17:31:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706976000001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":163884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:31:15] local.INFO: GPS data processed {"connection_id":163884,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:31:15] local.INFO: Acknowledgment sent {"connection_id":163884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:31:30] local.INFO: TCP Data received {"connection_id":164897,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:31:30] local.INFO: Processing buffer {"connection_id":164897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:31:30] local.INFO: IMEI packet received {"connection_id":164897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 17:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":164897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:31:35] local.INFO: TCP Data received {"connection_id":163885,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0483cd770012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0483cd770012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:31:35] local.INFO: Processing buffer {"connection_id":163885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0483cd770012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:31:35] local.INFO: Packet analysis {"connection_id":163885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0483c"} 
[2026-08-28 17:31:35] local.INFO: Extracted packet for processing {"connection_id":163885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0483c"} 
[2026-08-28 17:31:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707018496001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:31:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787918342000,"timestamp_ms":1787918342000,"timestamp_seconds":1787918342,"priority":1,"record_length":96,"hex_timestamp":"000001a0483cd770"} 
[2026-08-28 17:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:31:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 17:31: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-28 17:31:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163885,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163885,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707018496001,"66":25375,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707018496001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:31:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:31:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707018496001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":163885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709130,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:31:35] local.INFO: GPS data processed {"connection_id":163885,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:31:35] local.INFO: Acknowledgment sent {"connection_id":163885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:31:36] local.INFO: TCP Data received {"connection_id":164897,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:31:36] local.INFO: Processing buffer {"connection_id":164897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:31:36] local.INFO: IMEI packet received {"connection_id":164897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 17:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":164897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:31:38] local.INFO: TCP Data received {"connection_id":164897,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0483a4f00012d34c14006aa4840000500e628..."} 
[2026-08-28 17:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0483a4f00012d34c14006aa4840000500e628..."} 
[2026-08-28 17:31:38] local.INFO: Processing buffer {"connection_id":164897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0483a4f00012d34c14006aa4840000500e628..."} 
[2026-08-28 17:31:38] local.INFO: Packet analysis {"connection_id":164897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0483a"} 
[2026-08-28 17:31:38] local.INFO: Extracted packet for processing {"connection_id":164897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0483a"} 
[2026-08-28 17:31:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17: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-28 17:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457706976000001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787918176000,"timestamp_ms":1787918176000,"timestamp_seconds":1787918176,"priority":1,"record_length":96,"hex_timestamp":"000001a0483a4f00"} 
[2026-08-28 17:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 17:31:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:31:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457706976000001,"66":25473,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457706976000001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:31:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:31:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:31: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-28 17:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457706976000001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:31:38] 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":709131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:31:38] local.INFO: GPS data processed {"connection_id":164897,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:31:38] local.INFO: Acknowledgment sent {"connection_id":164897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:31:56] local.INFO: TCP Data received {"connection_id":163612,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163612,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:31:56] local.INFO: Processing buffer {"connection_id":163612,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:31:56] local.INFO: IMEI packet received {"connection_id":163612,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 17:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":163612,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:32:01] local.INFO: TCP Data received {"connection_id":163612,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163612,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:32:01] local.INFO: Processing buffer {"connection_id":163612,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:32:01] local.INFO: IMEI packet received {"connection_id":163612,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 17:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":163612,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:32:03] local.INFO: TCP Data received {"connection_id":163612,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0483cd770012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0483cd770012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:32:03] local.INFO: Processing buffer {"connection_id":163612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0483cd770012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:32:03] local.INFO: Packet analysis {"connection_id":163612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0483c"} 
[2026-08-28 17:32:03] local.INFO: Extracted packet for processing {"connection_id":163612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0483c"} 
[2026-08-28 17:32:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707018496001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:32:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787918342000,"timestamp_ms":1787918342000,"timestamp_seconds":1787918342,"priority":1,"record_length":96,"hex_timestamp":"000001a0483cd770"} 
[2026-08-28 17:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:32:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 17:32:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:32:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163612,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163612,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:32:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707018496001,"66":25375,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707018496001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:32:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:32:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:32:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707018496001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:32:03] 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":709132,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:32:03] local.INFO: GPS data processed {"connection_id":163612,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:32:03] local.INFO: Acknowledgment sent {"connection_id":163612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:32:11] local.INFO: TCP Data received {"connection_id":164897,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0483ee6c8012d34c14006aa4840000900e628..."} 
[2026-08-28 17:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0483ee6c8012d34c14006aa4840000900e628..."} 
[2026-08-28 17:32:11] local.INFO: Processing buffer {"connection_id":164897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0483ee6c8012d34c14006aa4840000900e628..."} 
[2026-08-28 17:32:11] local.INFO: Packet analysis {"connection_id":164897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0483e"} 
[2026-08-28 17:32:11] local.INFO: Extracted packet for processing {"connection_id":164897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0483e"} 
[2026-08-28 17:32:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707053056001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:32:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787918477000,"timestamp_ms":1787918477000,"timestamp_seconds":1787918477,"priority":1,"record_length":96,"hex_timestamp":"000001a0483ee6c8"} 
[2026-08-28 17:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:32:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 17:32:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:32:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":164897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":164897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":164897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707053056001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707053056001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:32:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:32:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:32: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-28 17:32:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707053056001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:32:11] 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":709133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:32:11] local.INFO: GPS data processed {"connection_id":164897,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:32:11] local.INFO: Acknowledgment sent {"connection_id":164897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:32:30] local.INFO: TCP Data received {"connection_id":163613,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163613,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:32:30] local.INFO: Processing buffer {"connection_id":163613,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:32:30] local.INFO: IMEI packet received {"connection_id":163613,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 17:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":163613,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:32:30] local.INFO: TCP Data received {"connection_id":166250,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:32:30] local.INFO: Processing buffer {"connection_id":166250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:32:30] local.INFO: IMEI packet received {"connection_id":166250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 17:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":166250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:32:31] local.INFO: TCP Data received {"connection_id":163613,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0483c6df8012d7b520005e140180011006c1f..."} 
[2026-08-28 17:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0483c6df8012d7b520005e140180011006c1f..."} 
[2026-08-28 17:32:31] local.INFO: Processing buffer {"connection_id":163613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0483c6df8012d7b520005e140180011006c1f..."} 
[2026-08-28 17:32:31] local.INFO: Packet analysis {"connection_id":163613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0483c"} 
[2026-08-28 17:32:31] local.INFO: Extracted packet for processing {"connection_id":163613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0483c"} 
[2026-08-28 17:32:31] local.INFO: GPS Element Parsed {"raw_longitude":763056640,"raw_latitude":98648088,"longitude_deg":76.305664,"latitude_deg":9.8648088,"altitude":17,"angle":108,"satellites":31,"speed":0,"hex_longitude":"2d7b5200","hex_latitude":"05e14018","is_valid_coordinates":true} 
[2026-08-28 17:32:31] 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-28 17:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707088640001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232123840823296,"note":"Value kept but may cause issues"} 
[2026-08-28 17:32:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886165040009320448,"note":"Value kept but may cause issues"} 
[2026-08-28 17:32:31] 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-28 17:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787918315000,"timestamp_ms":1787918315000,"timestamp_seconds":1787918315,"priority":1,"record_length":96,"hex_timestamp":"000001a0483c6df8"} 
[2026-08-28 17:32:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:32:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-28 17:32:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:32:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:32:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":163613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":163613,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":163613,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:32:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707088640001,"66":12624,"217":206,"85":15104,"24":0,"16":125232123840823296,"45":8886165040009320448},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 17:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707088640001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:32:31] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 17:32:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:32:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232123840823296,"km_value":125232123840823.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:32:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886165040009320448,"description":"Unknown IO ID 45"} 
[2026-08-28 17:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707088640001,"power":12624,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886165040009320448}} 
[2026-08-28 17:32:31] 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":709134,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:32:31] local.INFO: GPS data processed {"connection_id":163613,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:32:31] local.INFO: Acknowledgment sent {"connection_id":163613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:32:35] local.INFO: TCP Data received {"connection_id":163612,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0483cd770012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0483cd770012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:32:35] local.INFO: Processing buffer {"connection_id":163612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0483cd770012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:32:35] local.INFO: Packet analysis {"connection_id":163612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0483c"} 
[2026-08-28 17:32:35] local.INFO: Extracted packet for processing {"connection_id":163612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0483c"} 
[2026-08-28 17:32:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707018496001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787918342000,"timestamp_ms":1787918342000,"timestamp_seconds":1787918342,"priority":1,"record_length":96,"hex_timestamp":"000001a0483cd770"} 
[2026-08-28 17:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:32:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 17:32: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-28 17:32:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163612,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163612,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707018496001,"66":25375,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707018496001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:32:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:32:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707018496001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:32:35] local.INFO: TCP Data received {"connection_id":166250,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:32:35] local.INFO: Processing buffer {"connection_id":166250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:32:35] local.INFO: IMEI packet received {"connection_id":166250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 17:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":166250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:32:35] 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":709135,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:32:35] local.INFO: GPS data processed {"connection_id":163612,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:32:35] local.INFO: Acknowledgment sent {"connection_id":163612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:32:38] local.INFO: TCP Data received {"connection_id":166250,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0483ee6c8012d34c14006aa4840000900e628..."} 
[2026-08-28 17:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0483ee6c8012d34c14006aa4840000900e628..."} 
[2026-08-28 17:32:38] local.INFO: Processing buffer {"connection_id":166250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0483ee6c8012d34c14006aa4840000900e628..."} 
[2026-08-28 17:32:38] local.INFO: Packet analysis {"connection_id":166250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0483e"} 
[2026-08-28 17:32:38] local.INFO: Extracted packet for processing {"connection_id":166250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0483e"} 
[2026-08-28 17:32:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707053056001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:32:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787918477000,"timestamp_ms":1787918477000,"timestamp_seconds":1787918477,"priority":1,"record_length":96,"hex_timestamp":"000001a0483ee6c8"} 
[2026-08-28 17:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:32:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 17:32: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-28 17:32:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":166250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":166250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":166250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:32:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707053056001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707053056001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:32:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:32:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:32: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-28 17:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707053056001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":166250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:32:38] local.INFO: GPS data processed {"connection_id":166250,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:32:38] local.INFO: Acknowledgment sent {"connection_id":166250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:33:01] local.INFO: TCP Data received {"connection_id":163614,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163614,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:33:01] local.INFO: Processing buffer {"connection_id":163614,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:33:01] local.INFO: IMEI packet received {"connection_id":163614,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 17:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":163614,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:33:02] local.INFO: TCP Data received {"connection_id":163613,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0483ca0c0012d7b528005e140700010006c1e..."} 
[2026-08-28 17:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0483ca0c0012d7b528005e140700010006c1e..."} 
[2026-08-28 17:33:02] local.INFO: Processing buffer {"connection_id":163613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0483ca0c0012d7b528005e140700010006c1e..."} 
[2026-08-28 17:33:02] local.INFO: Packet analysis {"connection_id":163613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0483c"} 
[2026-08-28 17:33:02] local.INFO: Extracted packet for processing {"connection_id":163613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0483c"} 
[2026-08-28 17:33:02] local.INFO: GPS Element Parsed {"raw_longitude":763056768,"raw_latitude":98648176,"longitude_deg":76.3056768,"latitude_deg":9.8648176,"altitude":16,"angle":108,"satellites":30,"speed":0,"hex_longitude":"2d7b5280","hex_latitude":"05e14070","is_valid_coordinates":true} 
[2026-08-28 17:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:33:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707088640001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:33:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232132430757888,"note":"Value kept but may cause issues"} 
[2026-08-28 17:33:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886165040009320448,"note":"Value kept but may cause issues"} 
[2026-08-28 17:33:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:33:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787918328000,"timestamp_ms":1787918328000,"timestamp_seconds":1787918328,"priority":1,"record_length":96,"hex_timestamp":"000001a0483ca0c0"} 
[2026-08-28 17:33:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:33:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-28 17:33:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:33:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:33:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:33:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:33:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:33:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163613,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:33:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163613,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:33:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:33:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:33:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:33:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707088640001,"66":13559,"217":206,"85":15104,"24":0,"16":125232132430757888,"45":8886165040009320448},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 17:33:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:33:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:33:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707088640001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:33:02] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 17:33:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:33:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232132430757888,"km_value":125232132430757.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:33:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886165040009320448,"description":"Unknown IO ID 45"} 
[2026-08-28 17:33:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707088640001,"power":13559,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886165040009320448}} 
[2026-08-28 17:33:02] 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":709137,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:33:02] local.INFO: GPS data processed {"connection_id":163613,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:33:02] local.INFO: Acknowledgment sent {"connection_id":163613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:33:06] local.INFO: TCP Data received {"connection_id":163614,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163614,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:33:06] local.INFO: Processing buffer {"connection_id":163614,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:33:06] local.INFO: IMEI packet received {"connection_id":163614,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 17:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":163614,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:33:07] local.INFO: TCP Data received {"connection_id":163614,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0483cd770012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0483cd770012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:33:07] local.INFO: Processing buffer {"connection_id":163614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0483cd770012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:33:07] local.INFO: Packet analysis {"connection_id":163614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0483c"} 
[2026-08-28 17:33:07] local.INFO: Extracted packet for processing {"connection_id":163614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0483c"} 
[2026-08-28 17:33:07] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707018496001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:33:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787918342000,"timestamp_ms":1787918342000,"timestamp_seconds":1787918342,"priority":1,"record_length":96,"hex_timestamp":"000001a0483cd770"} 
[2026-08-28 17:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:33:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 17:33:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:33:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":163614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":163614,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":163614,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707018496001,"66":25375,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707018496001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:33:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:33:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707018496001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:33:07] 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":709138,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:33:07] local.INFO: GPS data processed {"connection_id":163614,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:33:07] local.INFO: Acknowledgment sent {"connection_id":163614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:33:09] local.INFO: TCP Data received {"connection_id":166250,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0483ee6c8012d34c14006aa4840000900e628..."} 
[2026-08-28 17:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0483ee6c8012d34c14006aa4840000900e628..."} 
[2026-08-28 17:33:09] local.INFO: Processing buffer {"connection_id":166250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0483ee6c8012d34c14006aa4840000900e628..."} 
[2026-08-28 17:33:09] local.INFO: Packet analysis {"connection_id":166250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0483e"} 
[2026-08-28 17:33:09] local.INFO: Extracted packet for processing {"connection_id":166250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0483e"} 
[2026-08-28 17:33:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707053056001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:33:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787918477000,"timestamp_ms":1787918477000,"timestamp_seconds":1787918477,"priority":1,"record_length":96,"hex_timestamp":"000001a0483ee6c8"} 
[2026-08-28 17:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:33:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 17:33: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-28 17:33:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":166250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":166250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":166250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:33:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707053056001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707053056001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:33:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:33:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:33: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-28 17:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707053056001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":166250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:33:09] local.INFO: GPS data processed {"connection_id":166250,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:33:09] local.INFO: Acknowledgment sent {"connection_id":166250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:33:12] local.INFO: TCP Data received {"connection_id":163614,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0483cd770012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0483cd770012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:33:12] local.INFO: Processing buffer {"connection_id":163614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0483cd770012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:33:12] local.INFO: Packet analysis {"connection_id":163614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0483c"} 
[2026-08-28 17:33:12] local.INFO: Extracted packet for processing {"connection_id":163614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0483c"} 
[2026-08-28 17:33:12] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:33:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707018496001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:33:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:33:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:33:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:33:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787918342000,"timestamp_ms":1787918342000,"timestamp_seconds":1787918342,"priority":1,"record_length":96,"hex_timestamp":"000001a0483cd770"} 
[2026-08-28 17:33:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:33:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 17:33:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:33:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:33:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:33:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:33:12] local.INFO: Teltonika packet parsed successfully {"connection_id":163614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:33:12] local.INFO: Passing IMEI to GPS processor {"connection_id":163614,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:33:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":163614,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:33:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:33:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:33:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:33:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707018496001,"66":25375,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:33:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:33:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:33:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707018496001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:33:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:33:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:33:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:33:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:33:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707018496001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:33:12] 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":709140,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:33:12] local.INFO: GPS data processed {"connection_id":163614,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:33:12] local.INFO: Acknowledgment sent {"connection_id":163614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:33:25] local.INFO: TCP Data received {"connection_id":164899,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164899,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:33:25] local.INFO: Processing buffer {"connection_id":164899,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:33:25] local.INFO: IMEI packet received {"connection_id":164899,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 17:33:25] local.INFO: IMEI acknowledgment sent {"connection_id":164899,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:33:30] local.INFO: TCP Data received {"connection_id":164899,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164899,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:33:30] local.INFO: Processing buffer {"connection_id":164899,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:33:30] local.INFO: IMEI packet received {"connection_id":164899,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 17:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":164899,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:33:31] local.INFO: TCP Data received {"connection_id":164899,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0483ca0c0012d7b528005e140700010006c1e..."} 
[2026-08-28 17:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0483ca0c0012d7b528005e140700010006c1e..."} 
[2026-08-28 17:33:31] local.INFO: Processing buffer {"connection_id":164899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0483ca0c0012d7b528005e140700010006c1e..."} 
[2026-08-28 17:33:31] local.INFO: Packet analysis {"connection_id":164899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0483c"} 
[2026-08-28 17:33:31] local.INFO: Extracted packet for processing {"connection_id":164899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0483c"} 
[2026-08-28 17:33:31] local.INFO: GPS Element Parsed {"raw_longitude":763056768,"raw_latitude":98648176,"longitude_deg":76.3056768,"latitude_deg":9.8648176,"altitude":16,"angle":108,"satellites":30,"speed":0,"hex_longitude":"2d7b5280","hex_latitude":"05e14070","is_valid_coordinates":true} 
[2026-08-28 17:33:31] 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-28 17:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707091968001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232132430757888,"note":"Value kept but may cause issues"} 
[2026-08-28 17:33:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886305777497698304,"note":"Value kept but may cause issues"} 
[2026-08-28 17:33:31] 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-28 17:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787918328000,"timestamp_ms":1787918328000,"timestamp_seconds":1787918328,"priority":1,"record_length":96,"hex_timestamp":"000001a0483ca0c0"} 
[2026-08-28 17:33:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:33:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-28 17:33:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:33:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:33:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":164899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":164899,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":164899,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:33:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707091968001,"66":13559,"217":206,"85":15104,"24":0,"16":125232132430757888,"45":8886305777497698304},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 17:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707091968001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:33:31] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 17:33:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:33:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232132430757888,"km_value":125232132430757.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:33:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886305777497698304,"description":"Unknown IO ID 45"} 
[2026-08-28 17:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707091968001,"power":13559,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886305777497698304}} 
[2026-08-28 17:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":164899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709141,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:33:31] local.INFO: GPS data processed {"connection_id":164899,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:33:31] local.INFO: Acknowledgment sent {"connection_id":164899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:33:35] local.INFO: TCP Data received {"connection_id":164900,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:33:35] local.INFO: Processing buffer {"connection_id":164900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:33:35] local.INFO: IMEI packet received {"connection_id":164900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 17:33:35] local.INFO: IMEI acknowledgment sent {"connection_id":164900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:33:40] local.INFO: TCP Data received {"connection_id":164900,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:33:40] local.INFO: Processing buffer {"connection_id":164900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:33:40] local.INFO: IMEI packet received {"connection_id":164900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 17:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":164900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:33:43] local.INFO: TCP Data received {"connection_id":164900,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0483ee6c8012d34c14006aa4840000900e628..."} 
[2026-08-28 17:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0483ee6c8012d34c14006aa4840000900e628..."} 
[2026-08-28 17:33:43] local.INFO: Processing buffer {"connection_id":164900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0483ee6c8012d34c14006aa4840000900e628..."} 
[2026-08-28 17:33:43] local.INFO: Packet analysis {"connection_id":164900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0483e"} 
[2026-08-28 17:33:43] local.INFO: Extracted packet for processing {"connection_id":164900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0483e"} 
[2026-08-28 17:33:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17: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-28 17:33:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707053056001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:33:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:33:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:33:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:33:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787918477000,"timestamp_ms":1787918477000,"timestamp_seconds":1787918477,"priority":1,"record_length":96,"hex_timestamp":"000001a0483ee6c8"} 
[2026-08-28 17: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-28 17:33: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-28 17: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":129,"data_length":795,"current_offset":136} 
[2026-08-28 17:33: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-28 17: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-28 17: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-28 17:33:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:33:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:33:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:33:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:33:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:33:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:33:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:33:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707053056001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:33:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:33:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:33:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707053056001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:33:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:33:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17: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-28 17:33:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:33:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707053056001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:33:43] 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":709142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:33:43] local.INFO: GPS data processed {"connection_id":164900,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:33:43] local.INFO: Acknowledgment sent {"connection_id":164900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:33:46] local.INFO: TCP Data received {"connection_id":164900,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0483ee6c8012d34c14006aa4840000900e628..."} 
[2026-08-28 17:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0483ee6c8012d34c14006aa4840000900e628..."} 
[2026-08-28 17:33:46] local.INFO: Processing buffer {"connection_id":164900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0483ee6c8012d34c14006aa4840000900e628..."} 
[2026-08-28 17:33:46] local.INFO: Packet analysis {"connection_id":164900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0483e"} 
[2026-08-28 17:33:46] local.INFO: Extracted packet for processing {"connection_id":164900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0483e"} 
[2026-08-28 17:33:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707053056001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:33:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:33:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:33:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:33:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787918477000,"timestamp_ms":1787918477000,"timestamp_seconds":1787918477,"priority":1,"record_length":96,"hex_timestamp":"000001a0483ee6c8"} 
[2026-08-28 17:33:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:33: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-28 17:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 17:33: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-28 17:33: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-28 17:33:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:33:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:33:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:33:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:33:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:33:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:33:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:33:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:33:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707053056001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:33:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:33:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:33:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707053056001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:33:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:33:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:33: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-28 17:33:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:33:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707053056001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:33:46] 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":709143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:33:46] local.INFO: GPS data processed {"connection_id":164900,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:33:46] local.INFO: Acknowledgment sent {"connection_id":164900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:33:48] local.INFO: TCP Data received {"connection_id":163615,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163615,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:33:48] local.INFO: Processing buffer {"connection_id":163615,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:33:48] local.INFO: IMEI packet received {"connection_id":163615,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 17:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":163615,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:33:48] local.INFO: TCP Data received {"connection_id":163615,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0483fc570012d18cfc007212b980041015028..."} 
[2026-08-28 17:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0483fc570012d18cfc007212b980041015028..."} 
[2026-08-28 17:33:48] local.INFO: Processing buffer {"connection_id":163615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0483fc570012d18cfc007212b980041015028..."} 
[2026-08-28 17:33:48] local.INFO: Packet analysis {"connection_id":163615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0483f"} 
[2026-08-28 17:33:48] local.INFO: Extracted packet for processing {"connection_id":163615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0483f"} 
[2026-08-28 17:33:48] local.INFO: GPS Element Parsed {"raw_longitude":756600768,"raw_latitude":119614360,"longitude_deg":75.6600768,"latitude_deg":11.961436,"altitude":65,"angle":336,"satellites":40,"speed":34,"hex_longitude":"2d18cfc0","hex_latitude":"07212b98","is_valid_coordinates":true} 
[2026-08-28 17:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:33:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707144448001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:33:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15978326313140224,"note":"Value kept but may cause issues"} 
[2026-08-28 17:33:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788210557663868928,"note":"Value kept but may cause issues"} 
[2026-08-28 17:33:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:33:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787918534000,"timestamp_ms":1787918534000,"timestamp_seconds":1787918534,"priority":1,"record_length":96,"hex_timestamp":"000001a0483fc570"} 
[2026-08-28 17:33:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:33:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-28 17:33:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:33:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:33:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:33:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:33:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:33:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:33:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:33:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:33:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:33:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:33:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707144448001,"66":14330,"106":206,"83":41984,"24":34,"16":15978326313140224,"45":1788210557663868928},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-28 17:33:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:33:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:33:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707144448001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:33:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:33:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:33:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15978326313140224,"km_value":15978326313140.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:33:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788210557663868928,"description":"Unknown IO ID 45"} 
[2026-08-28 17:33:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707144448001,"power":14330,"unknown_106":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1788210557663868928}} 
[2026-08-28 17:33:48] 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":709144,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:33:48] local.INFO: GPS data processed {"connection_id":163615,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:33:48] local.INFO: Acknowledgment sent {"connection_id":163615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:33:56] local.INFO: TCP Data received {"connection_id":166251,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166251,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:33:56] local.INFO: Processing buffer {"connection_id":166251,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:33:56] local.INFO: IMEI packet received {"connection_id":166251,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 17:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":166251,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:34:01] local.INFO: TCP Data received {"connection_id":166251,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166251,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:34:01] local.INFO: Processing buffer {"connection_id":166251,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:34:01] local.INFO: IMEI packet received {"connection_id":166251,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 17:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":166251,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:34:02] local.INFO: TCP Data received {"connection_id":164899,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a048414828012d7b520005e140c8000c006c20..."} 
[2026-08-28 17:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048414828012d7b520005e140c8000c006c20..."} 
[2026-08-28 17:34:02] local.INFO: Processing buffer {"connection_id":164899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048414828012d7b520005e140c8000c006c20..."} 
[2026-08-28 17:34:02] local.INFO: Packet analysis {"connection_id":164899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04841"} 
[2026-08-28 17:34:02] local.INFO: Extracted packet for processing {"connection_id":164899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04841"} 
[2026-08-28 17:34:02] local.INFO: GPS Element Parsed {"raw_longitude":763056640,"raw_latitude":98648264,"longitude_deg":76.305664,"latitude_deg":9.8648264,"altitude":12,"angle":108,"satellites":32,"speed":0,"hex_longitude":"2d7b5200","hex_latitude":"05e140c8","is_valid_coordinates":true} 
[2026-08-28 17:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:34:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707091968001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:34:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886305777497698304,"note":"Value kept but may cause issues"} 
[2026-08-28 17:34:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232132430757888,"note":"Value kept but may cause issues"} 
[2026-08-28 17:34:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-28 17:34:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787918633000,"timestamp_ms":1787918633000,"timestamp_seconds":1787918633,"priority":1,"record_length":96,"hex_timestamp":"000001a048414828"} 
[2026-08-28 17:34:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:34:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-28 17:34:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:34:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:34:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:34:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:34:02] local.INFO: Teltonika packet parsed successfully {"connection_id":164899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:34:02] local.INFO: Passing IMEI to GPS processor {"connection_id":164899,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:34:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":164899,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:34:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:34:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:34:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:34:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707091968001,"66":12613,"45":8886305777497698304,"85":15104,"24":0,"16":125232132430757888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-28 17:34:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:34:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:34:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707091968001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:34:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886305777497698304,"description":"Unknown IO ID 45"} 
[2026-08-28 17:34:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:34:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232132430757888,"km_value":125232132430757.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:34:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457707091968001,"power":12613,"unknown_45":8886305777497698304,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-28 17:34:02] local.INFO: DEBUG: GPS processor result {"connection_id":164899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709145,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:34:02] local.INFO: GPS data processed {"connection_id":164899,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:34:02] local.INFO: Acknowledgment sent {"connection_id":164899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:34:03] local.INFO: TCP Data received {"connection_id":166251,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0483cd770012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0483cd770012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:34:03] local.INFO: Processing buffer {"connection_id":166251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0483cd770012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:34:03] local.INFO: Packet analysis {"connection_id":166251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0483c"} 
[2026-08-28 17:34:03] local.INFO: Extracted packet for processing {"connection_id":166251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0483c"} 
[2026-08-28 17:34:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707018496001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787918342000,"timestamp_ms":1787918342000,"timestamp_seconds":1787918342,"priority":1,"record_length":96,"hex_timestamp":"000001a0483cd770"} 
[2026-08-28 17:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:34:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 17:34:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:34:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":166251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":166251,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":166251,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707018496001,"66":25375,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707018496001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:34:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:34:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707018496001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":166251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709146,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:34:03] local.INFO: GPS data processed {"connection_id":166251,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:34:03] local.INFO: Acknowledgment sent {"connection_id":166251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:34:19] local.INFO: TCP Data received {"connection_id":163615,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a04840bf70012d18294007219c78004b013025..."} 
[2026-08-28 17:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04840bf70012d18294007219c78004b013025..."} 
[2026-08-28 17:34:19] local.INFO: Processing buffer {"connection_id":163615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04840bf70012d18294007219c78004b013025..."} 
[2026-08-28 17:34:19] local.INFO: Packet analysis {"connection_id":163615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04840"} 
[2026-08-28 17:34:19] local.INFO: Extracted packet for processing {"connection_id":163615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04840"} 
[2026-08-28 17:34:19] local.INFO: GPS Element Parsed {"raw_longitude":756558144,"raw_latitude":119643256,"longitude_deg":75.6558144,"latitude_deg":11.9643256,"altitude":75,"angle":304,"satellites":37,"speed":13,"hex_longitude":"2d182940","hex_latitude":"07219c78","is_valid_coordinates":true} 
[2026-08-28 17:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:34:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707159552001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:34:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15981014962667520,"note":"Value kept but may cause issues"} 
[2026-08-28 17:34:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744370830048348160,"note":"Value kept but may cause issues"} 
[2026-08-28 17:34:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:34:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787918598000,"timestamp_ms":1787918598000,"timestamp_seconds":1787918598,"priority":1,"record_length":96,"hex_timestamp":"000001a04840bf70"} 
[2026-08-28 17:34:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:34:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-28 17:34:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:34:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:34:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:34:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:34:19] local.INFO: Teltonika packet parsed successfully {"connection_id":163615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:34:19] local.INFO: Passing IMEI to GPS processor {"connection_id":163615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:34:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":163615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:34:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:34:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:34:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:34:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707159552001,"66":14428,"105":206,"83":41984,"24":13,"16":15981014962667520,"45":1744370830048348160},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 17:34:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:34:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:34:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707159552001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:34:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 17:34:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:34:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15981014962667520,"km_value":15981014962667.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:34:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744370830048348160,"description":"Unknown IO ID 45"} 
[2026-08-28 17:34:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707159552001,"power":14428,"unknown_105":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1744370830048348160}} 
[2026-08-28 17:34:19] 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":709147,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:34:19] local.INFO: GPS data processed {"connection_id":163615,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:34:19] local.INFO: Acknowledgment sent {"connection_id":163615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:34:30] local.INFO: TCP Data received {"connection_id":164901,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164901,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:34:30] local.INFO: Processing buffer {"connection_id":164901,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:34:30] local.INFO: IMEI packet received {"connection_id":164901,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 17:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":164901,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:34:30] local.INFO: TCP Data received {"connection_id":163616,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:34:30] local.INFO: Processing buffer {"connection_id":163616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:34:30] local.INFO: IMEI packet received {"connection_id":163616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 17:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":163616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:34:35] local.INFO: TCP Data received {"connection_id":166251,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0483cd770012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0483cd770012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:34:35] local.INFO: Processing buffer {"connection_id":166251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0483cd770012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:34:35] local.INFO: Packet analysis {"connection_id":166251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0483c"} 
[2026-08-28 17:34:35] local.INFO: Extracted packet for processing {"connection_id":166251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0483c"} 
[2026-08-28 17:34:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707018496001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:34:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:34:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787918342000,"timestamp_ms":1787918342000,"timestamp_seconds":1787918342,"priority":1,"record_length":96,"hex_timestamp":"000001a0483cd770"} 
[2026-08-28 17:34:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:34:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 17:34: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-28 17:34:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:34:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":166251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":166251,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":166251,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:34:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707018496001,"66":25375,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:34:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:34:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707018496001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:34:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:34:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:34:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:34:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:34:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707018496001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:34:35] local.INFO: DEBUG: GPS processor result {"connection_id":166251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709148,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:34:35] local.INFO: GPS data processed {"connection_id":166251,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:34:35] local.INFO: Acknowledgment sent {"connection_id":166251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:34:35] local.INFO: TCP Data received {"connection_id":164901,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164901,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:34:35] local.INFO: Processing buffer {"connection_id":164901,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:34:35] local.INFO: IMEI packet received {"connection_id":164901,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 17:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":164901,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:34:35] local.INFO: TCP Data received {"connection_id":163616,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:34:35] local.INFO: Processing buffer {"connection_id":163616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:34:35] local.INFO: IMEI packet received {"connection_id":163616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 17:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":163616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:34:36] local.INFO: TCP Data received {"connection_id":164901,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a048414828012d7b520005e140c8000c006c20..."} 
[2026-08-28 17:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048414828012d7b520005e140c8000c006c20..."} 
[2026-08-28 17:34:36] local.INFO: Processing buffer {"connection_id":164901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048414828012d7b520005e140c8000c006c20..."} 
[2026-08-28 17:34:36] local.INFO: Packet analysis {"connection_id":164901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04841"} 
[2026-08-28 17:34:36] local.INFO: Extracted packet for processing {"connection_id":164901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04841"} 
[2026-08-28 17:34:36] local.INFO: GPS Element Parsed {"raw_longitude":763056640,"raw_latitude":98648264,"longitude_deg":76.305664,"latitude_deg":9.8648264,"altitude":12,"angle":108,"satellites":32,"speed":0,"hex_longitude":"2d7b5200","hex_latitude":"05e140c8","is_valid_coordinates":true} 
[2026-08-28 17:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707091968001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:34:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886305777497698304,"note":"Value kept but may cause issues"} 
[2026-08-28 17:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232132430757888,"note":"Value kept but may cause issues"} 
[2026-08-28 17:34:36] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-28 17:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787918633000,"timestamp_ms":1787918633000,"timestamp_seconds":1787918633,"priority":1,"record_length":96,"hex_timestamp":"000001a048414828"} 
[2026-08-28 17:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:34:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-28 17:34:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:34:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":164901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":164901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":164901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:34:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707091968001,"66":12613,"45":8886305777497698304,"85":15104,"24":0,"16":125232132430757888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-28 17:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707091968001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:34:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886305777497698304,"description":"Unknown IO ID 45"} 
[2026-08-28 17:34:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232132430757888,"km_value":125232132430757.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:34:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457707091968001,"power":12613,"unknown_45":8886305777497698304,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-28 17:34:36] 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":709149,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:34:36] local.INFO: GPS data processed {"connection_id":164901,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:34:36] local.INFO: Acknowledgment sent {"connection_id":164901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:34:38] local.INFO: TCP Data received {"connection_id":163616,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0483ee6c8012d34c14006aa4840000900e628..."} 
[2026-08-28 17:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0483ee6c8012d34c14006aa4840000900e628..."} 
[2026-08-28 17:34:38] local.INFO: Processing buffer {"connection_id":163616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0483ee6c8012d34c14006aa4840000900e628..."} 
[2026-08-28 17:34:38] local.INFO: Packet analysis {"connection_id":163616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0483e"} 
[2026-08-28 17:34:38] local.INFO: Extracted packet for processing {"connection_id":163616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0483e"} 
[2026-08-28 17:34:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707053056001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:34:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787918477000,"timestamp_ms":1787918477000,"timestamp_seconds":1787918477,"priority":1,"record_length":96,"hex_timestamp":"000001a0483ee6c8"} 
[2026-08-28 17:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:34:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 17:34: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-28 17:34:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:34:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707053056001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707053056001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:34:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:34:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:34: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-28 17:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707053056001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:34:38] 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":709150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:34:38] local.INFO: GPS data processed {"connection_id":163616,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:34:38] local.INFO: Acknowledgment sent {"connection_id":163616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:34:40] local.INFO: TCP Data received {"connection_id":164901,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a048414828012d7b520005e140c8000c006c20..."} 
[2026-08-28 17:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048414828012d7b520005e140c8000c006c20..."} 
[2026-08-28 17:34:40] local.INFO: Processing buffer {"connection_id":164901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048414828012d7b520005e140c8000c006c20..."} 
[2026-08-28 17:34:40] local.INFO: Packet analysis {"connection_id":164901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04841"} 
[2026-08-28 17:34:40] local.INFO: Extracted packet for processing {"connection_id":164901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04841"} 
[2026-08-28 17:34:40] local.INFO: GPS Element Parsed {"raw_longitude":763056640,"raw_latitude":98648264,"longitude_deg":76.305664,"latitude_deg":9.8648264,"altitude":12,"angle":108,"satellites":32,"speed":0,"hex_longitude":"2d7b5200","hex_latitude":"05e140c8","is_valid_coordinates":true} 
[2026-08-28 17:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707091968001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:34:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886305777497698304,"note":"Value kept but may cause issues"} 
[2026-08-28 17:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232132430757888,"note":"Value kept but may cause issues"} 
[2026-08-28 17:34:40] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-28 17:34:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787918633000,"timestamp_ms":1787918633000,"timestamp_seconds":1787918633,"priority":1,"record_length":96,"hex_timestamp":"000001a048414828"} 
[2026-08-28 17:34:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:34:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-28 17:34:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:34:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:34:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:34:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":164901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":164901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":164901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:34:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:34:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:34:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:34:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707091968001,"66":12613,"45":8886305777497698304,"85":15104,"24":0,"16":125232132430757888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-28 17:34:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:34:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:34:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707091968001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:34:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886305777497698304,"description":"Unknown IO ID 45"} 
[2026-08-28 17:34:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:34:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232132430757888,"km_value":125232132430757.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:34:40] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457707091968001,"power":12613,"unknown_45":8886305777497698304,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-28 17:34:40] 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":709151,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:34:40] local.INFO: GPS data processed {"connection_id":164901,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:34:40] local.INFO: Acknowledgment sent {"connection_id":164901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:34:42] local.INFO: TCP Data received {"connection_id":166252,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166252,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:34:42] local.INFO: Processing buffer {"connection_id":166252,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:34:42] local.INFO: IMEI packet received {"connection_id":166252,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 17:34:42] local.INFO: IMEI acknowledgment sent {"connection_id":166252,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:34:43] local.INFO: TCP Data received {"connection_id":166252,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166252,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:34:43] local.INFO: Processing buffer {"connection_id":166252,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:34:43] local.INFO: IMEI packet received {"connection_id":166252,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:34:43] local.INFO: IMEI acknowledgment sent {"connection_id":166252,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:34:48] local.INFO: TCP Data received {"connection_id":166252,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166252,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:34:48] local.INFO: Processing buffer {"connection_id":166252,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:34:48] local.INFO: IMEI packet received {"connection_id":166252,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:34:48] local.INFO: IMEI acknowledgment sent {"connection_id":166252,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:34:49] local.INFO: TCP Data received {"connection_id":166252,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a04840c740012d1827c007219dd0004c014225..."} 
[2026-08-28 17:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04840c740012d1827c007219dd0004c014225..."} 
[2026-08-28 17:34:49] local.INFO: Processing buffer {"connection_id":166252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04840c740012d1827c007219dd0004c014225..."} 
[2026-08-28 17:34:49] local.INFO: Packet analysis {"connection_id":166252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04840"} 
[2026-08-28 17:34:49] local.INFO: Extracted packet for processing {"connection_id":166252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04840"} 
[2026-08-28 17:34:49] local.INFO: GPS Element Parsed {"raw_longitude":756557760,"raw_latitude":119643600,"longitude_deg":75.655776,"latitude_deg":11.96436,"altitude":76,"angle":322,"satellites":37,"speed":7,"hex_longitude":"2d1827c0","hex_latitude":"07219dd0","is_valid_coordinates":true} 
[2026-08-28 17:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:34:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707161088001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:34:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15981040732471296,"note":"Value kept but may cause issues"} 
[2026-08-28 17:34:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740993130328258560,"note":"Value kept but may cause issues"} 
[2026-08-28 17:34:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:34:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787918600000,"timestamp_ms":1787918600000,"timestamp_seconds":1787918600,"priority":1,"record_length":96,"hex_timestamp":"000001a04840c740"} 
[2026-08-28 17:34:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:34:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-28 17:34:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:34:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:34:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:34:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:34:49] local.INFO: Teltonika packet parsed successfully {"connection_id":166252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:34:49] local.INFO: Passing IMEI to GPS processor {"connection_id":166252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:34:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":166252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:34:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:34:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:34:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:34:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707161088001,"66":14374,"105":206,"83":41984,"24":7,"16":15981040732471296,"45":1740993130328258560},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 17:34:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:34:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:34:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707161088001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:34:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 17:34:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:34:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15981040732471296,"km_value":15981040732471.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:34:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740993130328258560,"description":"Unknown IO ID 45"} 
[2026-08-28 17:34:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707161088001,"power":14374,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1740993130328258560}} 
[2026-08-28 17:34:49] local.INFO: DEBUG: GPS processor result {"connection_id":166252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709152,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:34:49] local.INFO: GPS data processed {"connection_id":166252,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:34:49] local.INFO: Acknowledgment sent {"connection_id":166252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:34:56] local.INFO: TCP Data received {"connection_id":166253,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166253,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:34:56] local.INFO: Processing buffer {"connection_id":166253,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:34:56] local.INFO: IMEI packet received {"connection_id":166253,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 17:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":166253,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:35:02] local.INFO: TCP Data received {"connection_id":166253,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166253,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:35:02] local.INFO: Processing buffer {"connection_id":166253,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:35:02] local.INFO: IMEI packet received {"connection_id":166253,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 17:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":166253,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:35:04] local.INFO: TCP Data received {"connection_id":166253,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048416f38012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048416f38012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:35:04] local.INFO: Processing buffer {"connection_id":166253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048416f38012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:35:04] local.INFO: Packet analysis {"connection_id":166253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04841"} 
[2026-08-28 17:35:04] local.INFO: Extracted packet for processing {"connection_id":166253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04841"} 
[2026-08-28 17:35:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707095552001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:35:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787918643000,"timestamp_ms":1787918643000,"timestamp_seconds":1787918643,"priority":1,"record_length":96,"hex_timestamp":"000001a048416f38"} 
[2026-08-28 17:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:35:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 17:35:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:35:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":166253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":166253,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":166253,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707095552001,"66":25375,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707095552001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:35:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:35:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707095552001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":166253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709153,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:35:04] local.INFO: GPS data processed {"connection_id":166253,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:35:04] local.INFO: Acknowledgment sent {"connection_id":166253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:35:10] local.INFO: TCP Data received {"connection_id":163616,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0483ee6c8012d34c14006aa4840000900e628..."} 
[2026-08-28 17:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0483ee6c8012d34c14006aa4840000900e628..."} 
[2026-08-28 17:35:10] local.INFO: Processing buffer {"connection_id":163616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0483ee6c8012d34c14006aa4840000900e628..."} 
[2026-08-28 17:35:10] local.INFO: Packet analysis {"connection_id":163616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0483e"} 
[2026-08-28 17:35:10] local.INFO: Extracted packet for processing {"connection_id":163616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0483e"} 
[2026-08-28 17:35:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707053056001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:35:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787918477000,"timestamp_ms":1787918477000,"timestamp_seconds":1787918477,"priority":1,"record_length":96,"hex_timestamp":"000001a0483ee6c8"} 
[2026-08-28 17:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:35:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 17:35:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:35:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:35:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707053056001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707053056001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:35:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:35:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:35:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707053056001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:35:10] 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":709154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:35:10] local.INFO: GPS data processed {"connection_id":163616,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:35:10] local.INFO: Acknowledgment sent {"connection_id":163616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:35:20] local.INFO: TCP Data received {"connection_id":166252,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a04840ee50012d1821800721a3c8004d013225..."} 
[2026-08-28 17:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04840ee50012d1821800721a3c8004d013225..."} 
[2026-08-28 17:35:20] local.INFO: Processing buffer {"connection_id":166252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04840ee50012d1821800721a3c8004d013225..."} 
[2026-08-28 17:35:20] local.INFO: Packet analysis {"connection_id":166252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04840"} 
[2026-08-28 17:35:20] local.INFO: Extracted packet for processing {"connection_id":166252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04840"} 
[2026-08-28 17:35:20] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119645128,"longitude_deg":75.655616,"latitude_deg":11.9645128,"altitude":77,"angle":306,"satellites":37,"speed":12,"hex_longitude":"2d182180","hex_latitude":"0721a3c8","is_valid_coordinates":true} 
[2026-08-28 17:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707161600001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15981148106653696,"note":"Value kept but may cause issues"} 
[2026-08-28 17:35:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740570917863280640,"note":"Value kept but may cause issues"} 
[2026-08-28 17:35:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787918610000,"timestamp_ms":1787918610000,"timestamp_seconds":1787918610,"priority":1,"record_length":96,"hex_timestamp":"000001a04840ee50"} 
[2026-08-28 17:35:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:35:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-28 17:35:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:35:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:35:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":166252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":166252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":166252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:35:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707161600001,"66":14048,"105":206,"83":41984,"24":12,"16":15981148106653696,"45":1740570917863280640},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 17:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707161600001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:35:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 17:35:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15981148106653696,"km_value":15981148106653.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:35:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740570917863280640,"description":"Unknown IO ID 45"} 
[2026-08-28 17:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707161600001,"power":14048,"unknown_105":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1740570917863280640}} 
[2026-08-28 17:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":166252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709155,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:35:20] local.INFO: GPS data processed {"connection_id":166252,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:35:20] local.INFO: Acknowledgment sent {"connection_id":166252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:35:25] local.INFO: TCP Data received {"connection_id":166254,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166254,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:35:25] local.INFO: Processing buffer {"connection_id":166254,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:35:25] local.INFO: IMEI packet received {"connection_id":166254,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 17:35:25] local.INFO: IMEI acknowledgment sent {"connection_id":166254,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:35:30] local.INFO: TCP Data received {"connection_id":166254,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166254,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:35:30] local.INFO: Processing buffer {"connection_id":166254,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:35:30] local.INFO: IMEI packet received {"connection_id":166254,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 17:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":166254,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:35:31] local.INFO: TCP Data received {"connection_id":166254,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a048414828012d7b520005e140c8000c006c20..."} 
[2026-08-28 17:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048414828012d7b520005e140c8000c006c20..."} 
[2026-08-28 17:35:31] local.INFO: Processing buffer {"connection_id":166254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048414828012d7b520005e140c8000c006c20..."} 
[2026-08-28 17:35:31] local.INFO: Packet analysis {"connection_id":166254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04841"} 
[2026-08-28 17:35:31] local.INFO: Extracted packet for processing {"connection_id":166254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04841"} 
[2026-08-28 17:35:31] local.INFO: GPS Element Parsed {"raw_longitude":763056640,"raw_latitude":98648264,"longitude_deg":76.305664,"latitude_deg":9.8648264,"altitude":12,"angle":108,"satellites":32,"speed":0,"hex_longitude":"2d7b5200","hex_latitude":"05e140c8","is_valid_coordinates":true} 
[2026-08-28 17:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707091968001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:35:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886305777497698304,"note":"Value kept but may cause issues"} 
[2026-08-28 17:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232132430757888,"note":"Value kept but may cause issues"} 
[2026-08-28 17:35:31] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-28 17:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787918633000,"timestamp_ms":1787918633000,"timestamp_seconds":1787918633,"priority":1,"record_length":96,"hex_timestamp":"000001a048414828"} 
[2026-08-28 17:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:35:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-28 17:35:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:35:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":166254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":166254,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":166254,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:35:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707091968001,"66":12613,"45":8886305777497698304,"85":15104,"24":0,"16":125232132430757888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-28 17:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707091968001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:35:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886305777497698304,"description":"Unknown IO ID 45"} 
[2026-08-28 17:35:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232132430757888,"km_value":125232132430757.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:35:31] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457707091968001,"power":12613,"unknown_45":8886305777497698304,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-28 17:35:31] local.INFO: TCP Data received {"connection_id":163887,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:35:31] local.INFO: Processing buffer {"connection_id":163887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:35:31] local.INFO: IMEI packet received {"connection_id":163887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 17:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":163887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":166254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709156,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:35:31] local.INFO: GPS data processed {"connection_id":166254,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:35:31] local.INFO: Acknowledgment sent {"connection_id":166254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:35:35] local.INFO: TCP Data received {"connection_id":163887,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:35:35] local.INFO: Processing buffer {"connection_id":163887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:35:35] local.INFO: IMEI packet received {"connection_id":163887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 17:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":163887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:35:36] local.INFO: TCP Data received {"connection_id":166253,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048416f38012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048416f38012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:35:36] local.INFO: Processing buffer {"connection_id":166253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048416f38012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:35:36] local.INFO: Packet analysis {"connection_id":166253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04841"} 
[2026-08-28 17:35:36] local.INFO: Extracted packet for processing {"connection_id":166253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04841"} 
[2026-08-28 17:35:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707095552001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787918643000,"timestamp_ms":1787918643000,"timestamp_seconds":1787918643,"priority":1,"record_length":96,"hex_timestamp":"000001a048416f38"} 
[2026-08-28 17:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 17:35:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:35:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":166253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":166253,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":166253,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:35:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707095552001,"66":25375,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707095552001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:35:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:35:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707095552001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":166253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709157,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:35:37] local.INFO: GPS data processed {"connection_id":166253,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:35:37] local.INFO: Acknowledgment sent {"connection_id":166253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:35:37] local.INFO: TCP Data received {"connection_id":163887,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0483ee6c8012d34c14006aa4840000900e628..."} 
[2026-08-28 17:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0483ee6c8012d34c14006aa4840000900e628..."} 
[2026-08-28 17:35:37] local.INFO: Processing buffer {"connection_id":163887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0483ee6c8012d34c14006aa4840000900e628..."} 
[2026-08-28 17:35:37] local.INFO: Packet analysis {"connection_id":163887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0483e"} 
[2026-08-28 17:35:37] local.INFO: Extracted packet for processing {"connection_id":163887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0483e"} 
[2026-08-28 17:35:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707053056001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787918477000,"timestamp_ms":1787918477000,"timestamp_seconds":1787918477,"priority":1,"record_length":96,"hex_timestamp":"000001a0483ee6c8"} 
[2026-08-28 17:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 17:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707053056001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707053056001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:35:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:35:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:35: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-28 17:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707053056001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":163887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:35:37] local.INFO: GPS data processed {"connection_id":163887,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:35:37] local.INFO: Acknowledgment sent {"connection_id":163887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:35:43] local.INFO: TCP Data received {"connection_id":163888,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163888,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:35:43] local.INFO: Processing buffer {"connection_id":163888,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:35:43] local.INFO: IMEI packet received {"connection_id":163888,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 17:35:43] local.INFO: IMEI acknowledgment sent {"connection_id":163888,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:35:48] local.INFO: TCP Data received {"connection_id":163888,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163888,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:35:48] local.INFO: Processing buffer {"connection_id":163888,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:35:48] local.INFO: IMEI packet received {"connection_id":163888,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":163888,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:35:49] local.INFO: TCP Data received {"connection_id":163888,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048413888012d181bc00721a758004c014b26..."} 
[2026-08-28 17:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048413888012d181bc00721a758004c014b26..."} 
[2026-08-28 17:35:49] local.INFO: Processing buffer {"connection_id":163888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048413888012d181bc00721a758004c014b26..."} 
[2026-08-28 17:35:49] local.INFO: Packet analysis {"connection_id":163888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04841"} 
[2026-08-28 17:35:49] local.INFO: Extracted packet for processing {"connection_id":163888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04841"} 
[2026-08-28 17:35:49] local.INFO: GPS Element Parsed {"raw_longitude":756554688,"raw_latitude":119646040,"longitude_deg":75.6554688,"latitude_deg":11.964604,"altitude":76,"angle":331,"satellites":38,"speed":8,"hex_longitude":"2d181bc0","hex_latitude":"0721a758","is_valid_coordinates":true} 
[2026-08-28 17:35: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-28 17:35:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707164160001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:35:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15981234005999616,"note":"Value kept but may cause issues"} 
[2026-08-28 17:35:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699259230208,"note":"Value kept but may cause issues"} 
[2026-08-28 17:35:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:35:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787918629000,"timestamp_ms":1787918629000,"timestamp_seconds":1787918629,"priority":1,"record_length":96,"hex_timestamp":"000001a048413888"} 
[2026-08-28 17:35:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:35:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:35:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-28 17:35:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:35: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-28 17:35:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:35:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:35:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:35:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:35:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:35:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:35:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:35:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:35:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707164160001,"66":13276,"105":206,"83":41984,"24":8,"16":15981234005999616,"45":1738811699259230208},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 17:35:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:35:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:35:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707164160001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:35:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 17:35:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:35:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15981234005999616,"km_value":15981234005999.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:35:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699259230208,"description":"Unknown IO ID 45"} 
[2026-08-28 17:35:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707164160001,"power":13276,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1738811699259230208}} 
[2026-08-28 17:35:49] local.INFO: DEBUG: GPS processor result {"connection_id":163888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709159,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:35:49] local.INFO: GPS data processed {"connection_id":163888,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:35:49] local.INFO: Acknowledgment sent {"connection_id":163888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:35:56] local.INFO: TCP Data received {"connection_id":163617,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163617,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:35:56] local.INFO: Processing buffer {"connection_id":163617,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:35:56] local.INFO: IMEI packet received {"connection_id":163617,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 17:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":163617,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:36:01] local.INFO: TCP Data received {"connection_id":163617,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163617,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:36:01] local.INFO: Processing buffer {"connection_id":163617,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:36:01] local.INFO: IMEI packet received {"connection_id":163617,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 17:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":163617,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:36:02] local.INFO: TCP Data received {"connection_id":166254,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a048414828012d7b520005e140c8000c006c20..."} 
[2026-08-28 17:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048414828012d7b520005e140c8000c006c20..."} 
[2026-08-28 17:36:02] local.INFO: Processing buffer {"connection_id":166254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048414828012d7b520005e140c8000c006c20..."} 
[2026-08-28 17:36:02] local.INFO: Packet analysis {"connection_id":166254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04841"} 
[2026-08-28 17:36:02] local.INFO: Extracted packet for processing {"connection_id":166254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04841"} 
[2026-08-28 17:36:02] local.INFO: GPS Element Parsed {"raw_longitude":763056640,"raw_latitude":98648264,"longitude_deg":76.305664,"latitude_deg":9.8648264,"altitude":12,"angle":108,"satellites":32,"speed":0,"hex_longitude":"2d7b5200","hex_latitude":"05e140c8","is_valid_coordinates":true} 
[2026-08-28 17:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:36:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707091968001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:36:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886305777497698304,"note":"Value kept but may cause issues"} 
[2026-08-28 17:36:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232132430757888,"note":"Value kept but may cause issues"} 
[2026-08-28 17:36:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-28 17:36:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787918633000,"timestamp_ms":1787918633000,"timestamp_seconds":1787918633,"priority":1,"record_length":96,"hex_timestamp":"000001a048414828"} 
[2026-08-28 17:36:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:36:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-28 17:36:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:36:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:36:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:36:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:36:02] local.INFO: Teltonika packet parsed successfully {"connection_id":166254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:36:02] local.INFO: Passing IMEI to GPS processor {"connection_id":166254,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:36:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":166254,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:36:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:36:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:36:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:36:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707091968001,"66":12613,"45":8886305777497698304,"85":15104,"24":0,"16":125232132430757888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-28 17:36:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:36:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:36:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707091968001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:36:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886305777497698304,"description":"Unknown IO ID 45"} 
[2026-08-28 17:36:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:36:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232132430757888,"km_value":125232132430757.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:36:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457707091968001,"power":12613,"unknown_45":8886305777497698304,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-28 17:36:02] local.INFO: DEBUG: GPS processor result {"connection_id":166254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709160,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:36:02] local.INFO: GPS data processed {"connection_id":166254,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:36:02] local.INFO: Acknowledgment sent {"connection_id":166254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:36:03] local.INFO: TCP Data received {"connection_id":163617,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048416f38012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048416f38012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:36:03] local.INFO: Processing buffer {"connection_id":163617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048416f38012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:36:03] local.INFO: Packet analysis {"connection_id":163617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04841"} 
[2026-08-28 17:36:03] local.INFO: Extracted packet for processing {"connection_id":163617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04841"} 
[2026-08-28 17:36:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707095552001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:36:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787918643000,"timestamp_ms":1787918643000,"timestamp_seconds":1787918643,"priority":1,"record_length":96,"hex_timestamp":"000001a048416f38"} 
[2026-08-28 17:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:36:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 17:36:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:36:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163617,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163617,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:36:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707095552001,"66":25375,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707095552001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:36:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:36:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707095552001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:36:04] 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":709161,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:36:04] local.INFO: GPS data processed {"connection_id":163617,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:36:04] local.INFO: Acknowledgment sent {"connection_id":163617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:36:08] local.INFO: TCP Data received {"connection_id":163887,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0483ee6c8012d34c14006aa4840000900e628..."} 
[2026-08-28 17:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0483ee6c8012d34c14006aa4840000900e628..."} 
[2026-08-28 17:36:08] local.INFO: Processing buffer {"connection_id":163887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0483ee6c8012d34c14006aa4840000900e628..."} 
[2026-08-28 17:36:08] local.INFO: Packet analysis {"connection_id":163887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0483e"} 
[2026-08-28 17:36:08] local.INFO: Extracted packet for processing {"connection_id":163887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0483e"} 
[2026-08-28 17:36:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707053056001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:36:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787918477000,"timestamp_ms":1787918477000,"timestamp_seconds":1787918477,"priority":1,"record_length":96,"hex_timestamp":"000001a0483ee6c8"} 
[2026-08-28 17:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:36:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 17:36:08] 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-28 17:36:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:36:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707053056001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707053056001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:36:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:36:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:36: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-28 17:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707053056001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":163887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:36:09] local.INFO: GPS data processed {"connection_id":163887,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:36:09] local.INFO: Acknowledgment sent {"connection_id":163887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:36:20] local.INFO: TCP Data received {"connection_id":163888,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048413c70012d181b800721a840004c015f25..."} 
[2026-08-28 17:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048413c70012d181b800721a840004c015f25..."} 
[2026-08-28 17:36:20] local.INFO: Processing buffer {"connection_id":163888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048413c70012d181b800721a840004c015f25..."} 
[2026-08-28 17:36:20] local.INFO: Packet analysis {"connection_id":163888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04841"} 
[2026-08-28 17:36:20] local.INFO: Extracted packet for processing {"connection_id":163888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04841"} 
[2026-08-28 17:36:20] local.INFO: GPS Element Parsed {"raw_longitude":756554624,"raw_latitude":119646272,"longitude_deg":75.6554624,"latitude_deg":11.9646272,"altitude":76,"angle":351,"satellites":37,"speed":10,"hex_longitude":"2d181b80","hex_latitude":"0721a840","is_valid_coordinates":true} 
[2026-08-28 17:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:36:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707169024001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:36:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15981246890901504,"note":"Value kept but may cause issues"} 
[2026-08-28 17:36:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737193218143377408,"note":"Value kept but may cause issues"} 
[2026-08-28 17:36:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:36:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787918630000,"timestamp_ms":1787918630000,"timestamp_seconds":1787918630,"priority":1,"record_length":96,"hex_timestamp":"000001a048413c70"} 
[2026-08-28 17:36:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:36:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-28 17:36:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:36:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:36:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:36:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:36:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:36:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:36:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:36:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:36:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:36:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:36:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707169024001,"66":13167,"105":206,"83":41984,"24":10,"16":15981246890901504,"45":1737193218143377408},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 17:36:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:36:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:36:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707169024001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:36:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 17:36:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:36:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15981246890901504,"km_value":15981246890901.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:36:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737193218143377408,"description":"Unknown IO ID 45"} 
[2026-08-28 17:36:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707169024001,"power":13167,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1737193218143377408}} 
[2026-08-28 17:36:20] local.INFO: DEBUG: GPS processor result {"connection_id":163888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709163,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:36:20] local.INFO: GPS data processed {"connection_id":163888,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:36:20] local.INFO: Acknowledgment sent {"connection_id":163888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:36:25] local.INFO: TCP Data received {"connection_id":163889,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163889,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:36:25] local.INFO: Processing buffer {"connection_id":163889,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:36:25] local.INFO: IMEI packet received {"connection_id":163889,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 17:36:25] local.INFO: IMEI acknowledgment sent {"connection_id":163889,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:36:30] local.INFO: TCP Data received {"connection_id":163890,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:36:30] local.INFO: Processing buffer {"connection_id":163890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:36:30] local.INFO: IMEI packet received {"connection_id":163890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 17:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":163890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:36:30] local.INFO: TCP Data received {"connection_id":163889,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163889,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:36:30] local.INFO: Processing buffer {"connection_id":163889,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:36:30] local.INFO: IMEI packet received {"connection_id":163889,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 17:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":163889,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:36:31] local.INFO: TCP Data received {"connection_id":163889,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a048414828012d7b520005e140c8000c006c20..."} 
[2026-08-28 17:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048414828012d7b520005e140c8000c006c20..."} 
[2026-08-28 17:36:31] local.INFO: Processing buffer {"connection_id":163889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048414828012d7b520005e140c8000c006c20..."} 
[2026-08-28 17:36:31] local.INFO: Packet analysis {"connection_id":163889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04841"} 
[2026-08-28 17:36:31] local.INFO: Extracted packet for processing {"connection_id":163889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04841"} 
[2026-08-28 17:36:31] local.INFO: GPS Element Parsed {"raw_longitude":763056640,"raw_latitude":98648264,"longitude_deg":76.305664,"latitude_deg":9.8648264,"altitude":12,"angle":108,"satellites":32,"speed":0,"hex_longitude":"2d7b5200","hex_latitude":"05e140c8","is_valid_coordinates":true} 
[2026-08-28 17:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707091968001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:36:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886305777497698304,"note":"Value kept but may cause issues"} 
[2026-08-28 17:36:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232132430757888,"note":"Value kept but may cause issues"} 
[2026-08-28 17:36:31] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-28 17:36:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787918633000,"timestamp_ms":1787918633000,"timestamp_seconds":1787918633,"priority":1,"record_length":96,"hex_timestamp":"000001a048414828"} 
[2026-08-28 17:36:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:36:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-28 17:36:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:36:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:36:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:36:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:36:31] local.INFO: Teltonika packet parsed successfully {"connection_id":163889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:36:31] local.INFO: Passing IMEI to GPS processor {"connection_id":163889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:36:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":163889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:36:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:36:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:36:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:36:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707091968001,"66":12613,"45":8886305777497698304,"85":15104,"24":0,"16":125232132430757888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-28 17:36:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:36:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:36:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707091968001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:36:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886305777497698304,"description":"Unknown IO ID 45"} 
[2026-08-28 17:36:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:36:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232132430757888,"km_value":125232132430757.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:36:31] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457707091968001,"power":12613,"unknown_45":8886305777497698304,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-28 17:36:31] local.INFO: DEBUG: GPS processor result {"connection_id":163889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709164,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:36:31] local.INFO: GPS data processed {"connection_id":163889,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:36:31] local.INFO: Acknowledgment sent {"connection_id":163889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:36:36] local.INFO: TCP Data received {"connection_id":163890,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:36:36] local.INFO: Processing buffer {"connection_id":163890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:36:36] local.INFO: IMEI packet received {"connection_id":163890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 17:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":163890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:36:38] local.INFO: TCP Data received {"connection_id":163617,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048416f38012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048416f38012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:36:38] local.INFO: Processing buffer {"connection_id":163617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048416f38012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:36:38] local.INFO: Packet analysis {"connection_id":163617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04841"} 
[2026-08-28 17:36:38] local.INFO: Extracted packet for processing {"connection_id":163617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04841"} 
[2026-08-28 17:36:38] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707095552001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:36:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787918643000,"timestamp_ms":1787918643000,"timestamp_seconds":1787918643,"priority":1,"record_length":96,"hex_timestamp":"000001a048416f38"} 
[2026-08-28 17:36:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:36:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 17:36:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:36:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:36:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163617,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163617,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:36:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707095552001,"66":25375,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707095552001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:36:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:36:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707095552001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:36:38] 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":709165,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:36:38] local.INFO: GPS data processed {"connection_id":163617,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:36:38] local.INFO: Acknowledgment sent {"connection_id":163617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:36:41] local.INFO: TCP Data received {"connection_id":163890,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0483ee6c8012d34c14006aa4840000900e628..."} 
[2026-08-28 17:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0483ee6c8012d34c14006aa4840000900e628..."} 
[2026-08-28 17:36:41] local.INFO: Processing buffer {"connection_id":163890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0483ee6c8012d34c14006aa4840000900e628..."} 
[2026-08-28 17:36:41] local.INFO: Packet analysis {"connection_id":163890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0483e"} 
[2026-08-28 17:36:41] local.INFO: Extracted packet for processing {"connection_id":163890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0483e"} 
[2026-08-28 17:36:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707053056001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:36:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:36:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787918477000,"timestamp_ms":1787918477000,"timestamp_seconds":1787918477,"priority":1,"record_length":96,"hex_timestamp":"000001a0483ee6c8"} 
[2026-08-28 17:36:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:36: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-28 17:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-28 17:36:41] 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-28 17:36:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:36:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":163890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":163890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":163890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:36:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707053056001,"66":25462,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707053056001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:36:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:36:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:36: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-28 17:36:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707053056001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":163890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:36:41] local.INFO: GPS data processed {"connection_id":163890,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:36:41] local.INFO: Acknowledgment sent {"connection_id":163890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:36:43] local.INFO: TCP Data received {"connection_id":166255,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166255,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:36:43] local.INFO: Processing buffer {"connection_id":166255,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:36:43] local.INFO: IMEI packet received {"connection_id":166255,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 17:36:43] local.INFO: IMEI acknowledgment sent {"connection_id":166255,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:36:48] local.INFO: TCP Data received {"connection_id":166255,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166255,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:36:48] local.INFO: Processing buffer {"connection_id":166255,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:36:48] local.INFO: IMEI packet received {"connection_id":166255,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":166255,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:36:49] local.INFO: TCP Data received {"connection_id":166255,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048414058012d181bc00721a960004c000e26..."} 
[2026-08-28 17:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048414058012d181bc00721a960004c000e26..."} 
[2026-08-28 17:36:49] local.INFO: Processing buffer {"connection_id":166255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048414058012d181bc00721a960004c000e26..."} 
[2026-08-28 17:36:49] local.INFO: Packet analysis {"connection_id":166255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04841"} 
[2026-08-28 17:36:49] local.INFO: Extracted packet for processing {"connection_id":166255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04841"} 
[2026-08-28 17:36:49] local.INFO: GPS Element Parsed {"raw_longitude":756554688,"raw_latitude":119646560,"longitude_deg":75.6554688,"latitude_deg":11.964656,"altitude":76,"angle":14,"satellites":38,"speed":12,"hex_longitude":"2d181bc0","hex_latitude":"0721a960","is_valid_coordinates":true} 
[2026-08-28 17: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-28 17:36:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707169280001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:36:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15981259775803392,"note":"Value kept but may cause issues"} 
[2026-08-28 17:36:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737122849399259136,"note":"Value kept but may cause issues"} 
[2026-08-28 17:36:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:36:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787918631000,"timestamp_ms":1787918631000,"timestamp_seconds":1787918631,"priority":1,"record_length":96,"hex_timestamp":"000001a048414058"} 
[2026-08-28 17: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-28 17:36:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17: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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-28 17:36:49] 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-28 17: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-28 17: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-28 17:36:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:36:49] local.INFO: Teltonika packet parsed successfully {"connection_id":166255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:36:49] local.INFO: Passing IMEI to GPS processor {"connection_id":166255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:36:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":166255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:36:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:36:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:36:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:36:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707169280001,"66":13167,"105":206,"83":41984,"24":12,"16":15981259775803392,"45":1737122849399259136},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 17:36:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:36:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:36:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707169280001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:36:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 17:36:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:36:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15981259775803392,"km_value":15981259775803.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:36:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737122849399259136,"description":"Unknown IO ID 45"} 
[2026-08-28 17:36:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707169280001,"power":13167,"unknown_105":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1737122849399259136}} 
[2026-08-28 17:36:49] local.INFO: DEBUG: GPS processor result {"connection_id":166255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709167,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:36:49] local.INFO: GPS data processed {"connection_id":166255,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:36:49] local.INFO: Acknowledgment sent {"connection_id":166255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:36:56] local.INFO: TCP Data received {"connection_id":166256,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166256,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:36:56] local.INFO: Processing buffer {"connection_id":166256,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:36:56] local.INFO: IMEI packet received {"connection_id":166256,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 17:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":166256,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:37:02] local.INFO: TCP Data received {"connection_id":166256,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166256,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:37:02] local.INFO: Processing buffer {"connection_id":166256,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:37:02] local.INFO: IMEI packet received {"connection_id":166256,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 17:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":166256,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:37:02] local.INFO: TCP Data received {"connection_id":163889,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a048414828012d7b520005e140c8000c006c20..."} 
[2026-08-28 17:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048414828012d7b520005e140c8000c006c20..."} 
[2026-08-28 17:37:02] local.INFO: Processing buffer {"connection_id":163889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048414828012d7b520005e140c8000c006c20..."} 
[2026-08-28 17:37:02] local.INFO: Packet analysis {"connection_id":163889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04841"} 
[2026-08-28 17:37:02] local.INFO: Extracted packet for processing {"connection_id":163889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04841"} 
[2026-08-28 17:37:02] local.INFO: GPS Element Parsed {"raw_longitude":763056640,"raw_latitude":98648264,"longitude_deg":76.305664,"latitude_deg":9.8648264,"altitude":12,"angle":108,"satellites":32,"speed":0,"hex_longitude":"2d7b5200","hex_latitude":"05e140c8","is_valid_coordinates":true} 
[2026-08-28 17:37:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:37:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707091968001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:37:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886305777497698304,"note":"Value kept but may cause issues"} 
[2026-08-28 17:37:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232132430757888,"note":"Value kept but may cause issues"} 
[2026-08-28 17:37:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-28 17:37:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787918633000,"timestamp_ms":1787918633000,"timestamp_seconds":1787918633,"priority":1,"record_length":96,"hex_timestamp":"000001a048414828"} 
[2026-08-28 17:37:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:37:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:37:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-28 17:37:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:37:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:37:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:37:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:37:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:37:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:37:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:37:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:37:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:37:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:37:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707091968001,"66":12613,"45":8886305777497698304,"85":15104,"24":0,"16":125232132430757888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-28 17:37:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:37:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:37:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707091968001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:37:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886305777497698304,"description":"Unknown IO ID 45"} 
[2026-08-28 17:37:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:37:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232132430757888,"km_value":125232132430757.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:37:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457707091968001,"power":12613,"unknown_45":8886305777497698304,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-28 17:37:02] local.INFO: DEBUG: GPS processor result {"connection_id":163889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709168,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:37:02] local.INFO: GPS data processed {"connection_id":163889,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:37:02] local.INFO: Acknowledgment sent {"connection_id":163889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:37:06] local.INFO: TCP Data received {"connection_id":166256,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048416f38012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048416f38012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:37:06] local.INFO: Processing buffer {"connection_id":166256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048416f38012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:37:06] local.INFO: Packet analysis {"connection_id":166256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04841"} 
[2026-08-28 17:37:06] local.INFO: Extracted packet for processing {"connection_id":166256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04841"} 
[2026-08-28 17:37:06] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707095552001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787918643000,"timestamp_ms":1787918643000,"timestamp_seconds":1787918643,"priority":1,"record_length":96,"hex_timestamp":"000001a048416f38"} 
[2026-08-28 17:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 17:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":166256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":166256,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":166256,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707095552001,"66":25375,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707095552001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:37:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:37:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707095552001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":166256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709169,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:37:06] local.INFO: GPS data processed {"connection_id":166256,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:37:06] local.INFO: Acknowledgment sent {"connection_id":166256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:37:16] local.INFO: TCP Data received {"connection_id":163890,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048437e90012d34c14006aa4840000f00e628..."} 
[2026-08-28 17:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048437e90012d34c14006aa4840000f00e628..."} 
[2026-08-28 17:37:16] local.INFO: Processing buffer {"connection_id":163890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048437e90012d34c14006aa4840000f00e628..."} 
[2026-08-28 17:37:16] local.INFO: Packet analysis {"connection_id":163890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04843"} 
[2026-08-28 17:37:16] local.INFO: Extracted packet for processing {"connection_id":163890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04843"} 
[2026-08-28 17:37:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:37:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707130112001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:37:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:37:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:37:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:37:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787918778000,"timestamp_ms":1787918778000,"timestamp_seconds":1787918778,"priority":1,"record_length":96,"hex_timestamp":"000001a048437e90"} 
[2026-08-28 17:37:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:37:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 17:37: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-28 17:37:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:37:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:37:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:37:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:37:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:37:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:37:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:37:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:37:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:37:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707130112001,"66":25451,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:37:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:37:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:37:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707130112001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:37:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:37:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17: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-28 17:37:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:37:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707130112001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:37:16] local.INFO: DEBUG: GPS processor result {"connection_id":163890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:37:16] local.INFO: GPS data processed {"connection_id":163890,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:37:16] local.INFO: Acknowledgment sent {"connection_id":163890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:37:20] local.INFO: TCP Data received {"connection_id":166255,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048414440012d181c800721aa80004d001e26..."} 
[2026-08-28 17:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048414440012d181c800721aa80004d001e26..."} 
[2026-08-28 17:37:20] local.INFO: Processing buffer {"connection_id":166255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048414440012d181c800721aa80004d001e26..."} 
[2026-08-28 17:37:20] local.INFO: Packet analysis {"connection_id":166255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04841"} 
[2026-08-28 17:37:20] local.INFO: Extracted packet for processing {"connection_id":166255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04841"} 
[2026-08-28 17:37:20] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119646848,"longitude_deg":75.655488,"latitude_deg":11.9646848,"altitude":77,"angle":30,"satellites":38,"speed":13,"hex_longitude":"2d181c80","hex_latitude":"0721aa80","is_valid_coordinates":true} 
[2026-08-28 17:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:37:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707169536001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:37:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15981276955672576,"note":"Value kept but may cause issues"} 
[2026-08-28 17:37:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737193218143510528,"note":"Value kept but may cause issues"} 
[2026-08-28 17:37:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:37:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787918632000,"timestamp_ms":1787918632000,"timestamp_seconds":1787918632,"priority":1,"record_length":96,"hex_timestamp":"000001a048414440"} 
[2026-08-28 17:37:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:37:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-28 17:37:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:37:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:37:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:37:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:37:20] local.INFO: Teltonika packet parsed successfully {"connection_id":166255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:37:20] local.INFO: Passing IMEI to GPS processor {"connection_id":166255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:37:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":166255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:37:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:37:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:37:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:37:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707169536001,"66":13156,"105":206,"83":41984,"24":13,"16":15981276955672576,"45":1737193218143510528},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 17:37:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:37:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:37:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707169536001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:37:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 17:37:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:37:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15981276955672576,"km_value":15981276955672.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:37:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737193218143510528,"description":"Unknown IO ID 45"} 
[2026-08-28 17:37:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707169536001,"power":13156,"unknown_105":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1737193218143510528}} 
[2026-08-28 17:37:20] local.INFO: DEBUG: GPS processor result {"connection_id":166255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709171,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:37:20] local.INFO: GPS data processed {"connection_id":166255,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:37:20] local.INFO: Acknowledgment sent {"connection_id":166255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:37:25] local.INFO: TCP Data received {"connection_id":163891,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163891,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:37:25] local.INFO: Processing buffer {"connection_id":163891,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:37:25] local.INFO: IMEI packet received {"connection_id":163891,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 17:37:25] local.INFO: IMEI acknowledgment sent {"connection_id":163891,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:37:30] local.INFO: TCP Data received {"connection_id":163891,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163891,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:37:30] local.INFO: Processing buffer {"connection_id":163891,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:37:30] local.INFO: IMEI packet received {"connection_id":163891,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 17:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":163891,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:37:31] local.INFO: TCP Data received {"connection_id":163891,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a048414828012d7b520005e140c8000c006c20..."} 
[2026-08-28 17:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048414828012d7b520005e140c8000c006c20..."} 
[2026-08-28 17:37:31] local.INFO: Processing buffer {"connection_id":163891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048414828012d7b520005e140c8000c006c20..."} 
[2026-08-28 17:37:31] local.INFO: Packet analysis {"connection_id":163891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04841"} 
[2026-08-28 17:37:31] local.INFO: Extracted packet for processing {"connection_id":163891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04841"} 
[2026-08-28 17:37:31] local.INFO: GPS Element Parsed {"raw_longitude":763056640,"raw_latitude":98648264,"longitude_deg":76.305664,"latitude_deg":9.8648264,"altitude":12,"angle":108,"satellites":32,"speed":0,"hex_longitude":"2d7b5200","hex_latitude":"05e140c8","is_valid_coordinates":true} 
[2026-08-28 17:37:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:37:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707091968001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:37:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886305777497698304,"note":"Value kept but may cause issues"} 
[2026-08-28 17:37:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232132430757888,"note":"Value kept but may cause issues"} 
[2026-08-28 17:37:31] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-28 17:37:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787918633000,"timestamp_ms":1787918633000,"timestamp_seconds":1787918633,"priority":1,"record_length":96,"hex_timestamp":"000001a048414828"} 
[2026-08-28 17:37:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:37:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:37:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-28 17:37:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:37:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:37:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:37:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:37:31] local.INFO: Teltonika packet parsed successfully {"connection_id":163891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:37:31] local.INFO: Passing IMEI to GPS processor {"connection_id":163891,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:37:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":163891,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:37:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:37:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:37:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:37:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707091968001,"66":12613,"45":8886305777497698304,"85":15104,"24":0,"16":125232132430757888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-28 17:37:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:37:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:37:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707091968001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:37:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886305777497698304,"description":"Unknown IO ID 45"} 
[2026-08-28 17:37:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:37:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232132430757888,"km_value":125232132430757.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:37:31] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457707091968001,"power":12613,"unknown_45":8886305777497698304,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-28 17:37:31] local.INFO: DEBUG: GPS processor result {"connection_id":163891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709172,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:37:31] local.INFO: GPS data processed {"connection_id":163891,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:37:31] local.INFO: Acknowledgment sent {"connection_id":163891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:37:35] local.INFO: TCP Data received {"connection_id":164902,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:37:35] local.INFO: Processing buffer {"connection_id":164902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:37:35] local.INFO: IMEI packet received {"connection_id":164902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 17:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":164902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:37:41] local.INFO: TCP Data received {"connection_id":166256,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048416f38012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048416f38012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:37:41] local.INFO: Processing buffer {"connection_id":166256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048416f38012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:37:41] local.INFO: Packet analysis {"connection_id":166256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04841"} 
[2026-08-28 17:37:41] local.INFO: Extracted packet for processing {"connection_id":166256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04841"} 
[2026-08-28 17:37:41] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:37:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707095552001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:37:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:37:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:37:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:37:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787918643000,"timestamp_ms":1787918643000,"timestamp_seconds":1787918643,"priority":1,"record_length":96,"hex_timestamp":"000001a048416f38"} 
[2026-08-28 17:37:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:37:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 17: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-28 17:37:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:37:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:37:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:37:41] local.INFO: Teltonika packet parsed successfully {"connection_id":166256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:37:41] local.INFO: Passing IMEI to GPS processor {"connection_id":166256,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:37:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":166256,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:37:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:37:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:37:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:37:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707095552001,"66":25375,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:37:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:37:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:37:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707095552001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:37:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:37:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:37:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:37:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:37:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707095552001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:37:41] local.INFO: DEBUG: GPS processor result {"connection_id":166256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709173,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:37:41] local.INFO: GPS data processed {"connection_id":166256,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:37:41] local.INFO: Acknowledgment sent {"connection_id":166256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:37:43] local.INFO: TCP Data received {"connection_id":166257,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166257,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:37:43] local.INFO: Processing buffer {"connection_id":166257,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:37:43] local.INFO: IMEI packet received {"connection_id":166257,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 17:37:43] local.INFO: IMEI acknowledgment sent {"connection_id":166257,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:37:48] local.INFO: TCP Data received {"connection_id":166257,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166257,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:37:48] local.INFO: Processing buffer {"connection_id":166257,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:37:48] local.INFO: IMEI packet received {"connection_id":166257,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":166257,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:37:49] local.INFO: TCP Data received {"connection_id":166257,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048417320012d1825800721b7f8004d000026..."} 
[2026-08-28 17:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048417320012d1825800721b7f8004d000026..."} 
[2026-08-28 17:37:49] local.INFO: Processing buffer {"connection_id":166257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048417320012d1825800721b7f8004d000026..."} 
[2026-08-28 17:37:49] local.INFO: Packet analysis {"connection_id":166257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04841"} 
[2026-08-28 17:37:49] local.INFO: Extracted packet for processing {"connection_id":166257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04841"} 
[2026-08-28 17:37:49] local.INFO: GPS Element Parsed {"raw_longitude":756557184,"raw_latitude":119650296,"longitude_deg":75.6557184,"latitude_deg":11.9650296,"altitude":77,"angle":0,"satellites":38,"speed":8,"hex_longitude":"2d182580","hex_latitude":"0721b7f8","is_valid_coordinates":true} 
[2026-08-28 17: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-28 17:37:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707169792001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:37:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15981478819135488,"note":"Value kept but may cause issues"} 
[2026-08-28 17:37:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324376117248,"note":"Value kept but may cause issues"} 
[2026-08-28 17:37:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:37:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787918644000,"timestamp_ms":1787918644000,"timestamp_seconds":1787918644,"priority":1,"record_length":96,"hex_timestamp":"000001a048417320"} 
[2026-08-28 17: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-28 17:37:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17: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":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-28 17:37:49] 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-28 17: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-28 17: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-28 17:37:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:37:49] local.INFO: Teltonika packet parsed successfully {"connection_id":166257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:37:49] local.INFO: Passing IMEI to GPS processor {"connection_id":166257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:37:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":166257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:37:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:37:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:37:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:37:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707169792001,"66":13167,"105":206,"83":41984,"24":8,"16":15981478819135488,"45":1737404324376117248},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 17:37:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:37:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:37:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707169792001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:37:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 17:37:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:37:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15981478819135488,"km_value":15981478819135.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:37:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324376117248,"description":"Unknown IO ID 45"} 
[2026-08-28 17:37:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707169792001,"power":13167,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1737404324376117248}} 
[2026-08-28 17:37:49] local.INFO: DEBUG: GPS processor result {"connection_id":166257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709174,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:37:49] local.INFO: GPS data processed {"connection_id":166257,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:37:49] local.INFO: Acknowledgment sent {"connection_id":166257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:37:49] local.INFO: TCP Data received {"connection_id":164902,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:37:49] local.INFO: Processing buffer {"connection_id":164902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:37:49] local.INFO: IMEI packet received {"connection_id":164902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 17:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":164902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:37:52] local.INFO: TCP Data received {"connection_id":164902,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048437e90012d34c14006aa4840000f00e628..."} 
[2026-08-28 17:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048437e90012d34c14006aa4840000f00e628..."} 
[2026-08-28 17:37:52] local.INFO: Processing buffer {"connection_id":164902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048437e90012d34c14006aa4840000f00e628..."} 
[2026-08-28 17:37:52] local.INFO: Packet analysis {"connection_id":164902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04843"} 
[2026-08-28 17:37:52] local.INFO: Extracted packet for processing {"connection_id":164902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04843"} 
[2026-08-28 17:37:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17: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-28 17:37:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707130112001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:37:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:37:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:37:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:37:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787918778000,"timestamp_ms":1787918778000,"timestamp_seconds":1787918778,"priority":1,"record_length":96,"hex_timestamp":"000001a048437e90"} 
[2026-08-28 17: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-28 17:37: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-28 17: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":118,"data_length":795,"current_offset":136} 
[2026-08-28 17:37: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-28 17: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-28 17: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-28 17:37:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:37:52] local.INFO: Teltonika packet parsed successfully {"connection_id":164902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:37:52] local.INFO: Passing IMEI to GPS processor {"connection_id":164902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:37:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":164902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:37:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:37:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:37:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:37:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707130112001,"66":25451,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:37:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:37:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:37:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707130112001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:37:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:37:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17: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-28 17:37:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:37:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707130112001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:37:52] 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":709175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:37:52] local.INFO: GPS data processed {"connection_id":164902,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:37:52] local.INFO: Acknowledgment sent {"connection_id":164902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:38:02] local.INFO: TCP Data received {"connection_id":163891,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a048414828012d7b520005e140c8000c006c20..."} 
[2026-08-28 17:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048414828012d7b520005e140c8000c006c20..."} 
[2026-08-28 17:38:02] local.INFO: Processing buffer {"connection_id":163891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048414828012d7b520005e140c8000c006c20..."} 
[2026-08-28 17:38:02] local.INFO: Packet analysis {"connection_id":163891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04841"} 
[2026-08-28 17:38:02] local.INFO: Extracted packet for processing {"connection_id":163891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04841"} 
[2026-08-28 17:38:02] local.INFO: GPS Element Parsed {"raw_longitude":763056640,"raw_latitude":98648264,"longitude_deg":76.305664,"latitude_deg":9.8648264,"altitude":12,"angle":108,"satellites":32,"speed":0,"hex_longitude":"2d7b5200","hex_latitude":"05e140c8","is_valid_coordinates":true} 
[2026-08-28 17:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707091968001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:38:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886305777497698304,"note":"Value kept but may cause issues"} 
[2026-08-28 17:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232132430757888,"note":"Value kept but may cause issues"} 
[2026-08-28 17:38:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-28 17:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787918633000,"timestamp_ms":1787918633000,"timestamp_seconds":1787918633,"priority":1,"record_length":96,"hex_timestamp":"000001a048414828"} 
[2026-08-28 17:38:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:38:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-28 17:38:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:38:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:38:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163891,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163891,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:38:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707091968001,"66":12613,"45":8886305777497698304,"85":15104,"24":0,"16":125232132430757888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-28 17:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707091968001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:38:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886305777497698304,"description":"Unknown IO ID 45"} 
[2026-08-28 17:38:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232132430757888,"km_value":125232132430757.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:38:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457707091968001,"power":12613,"unknown_45":8886305777497698304,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-28 17:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":163891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709176,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:38:02] local.INFO: GPS data processed {"connection_id":163891,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:38:02] local.INFO: Acknowledgment sent {"connection_id":163891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:38:06] local.INFO: TCP Data received {"connection_id":163892,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163892,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:38:06] local.INFO: Processing buffer {"connection_id":163892,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:38:06] local.INFO: IMEI packet received {"connection_id":163892,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 17:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":163892,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:38:06] local.INFO: TCP Data received {"connection_id":163892,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163892,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:38:06] local.INFO: Processing buffer {"connection_id":163892,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:38:06] local.INFO: IMEI packet received {"connection_id":163892,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 17:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":163892,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:38:09] local.INFO: TCP Data received {"connection_id":163892,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048416f38012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048416f38012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:38:09] local.INFO: Processing buffer {"connection_id":163892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048416f38012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:38:09] local.INFO: Packet analysis {"connection_id":163892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04841"} 
[2026-08-28 17:38:09] local.INFO: Extracted packet for processing {"connection_id":163892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04841"} 
[2026-08-28 17:38:09] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707095552001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:38:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:38:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787918643000,"timestamp_ms":1787918643000,"timestamp_seconds":1787918643,"priority":1,"record_length":96,"hex_timestamp":"000001a048416f38"} 
[2026-08-28 17:38:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:38:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 17:38:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:38:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:38:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163892,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163892,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:38:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:38:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707095552001,"66":25375,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:38:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:38:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:38:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707095552001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:38:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:38:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:38:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:38:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:38:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707095552001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":163892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709177,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:38:09] local.INFO: GPS data processed {"connection_id":163892,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:38:09] local.INFO: Acknowledgment sent {"connection_id":163892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:38:11] local.INFO: TCP Data received {"connection_id":163892,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048416f38012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048416f38012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:38:11] local.INFO: Processing buffer {"connection_id":163892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048416f38012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:38:11] local.INFO: Packet analysis {"connection_id":163892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04841"} 
[2026-08-28 17:38:11] local.INFO: Extracted packet for processing {"connection_id":163892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04841"} 
[2026-08-28 17:38:11] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707095552001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:38:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:38:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787918643000,"timestamp_ms":1787918643000,"timestamp_seconds":1787918643,"priority":1,"record_length":96,"hex_timestamp":"000001a048416f38"} 
[2026-08-28 17:38:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:38:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 17:38:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:38:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:38:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":163892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":163892,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":163892,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:38:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707095552001,"66":25375,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707095552001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:38:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:38:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:38:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707095552001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":163892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709178,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:38:11] local.INFO: GPS data processed {"connection_id":163892,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:38:11] local.INFO: Acknowledgment sent {"connection_id":163892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:38:20] local.INFO: TCP Data received {"connection_id":166257,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a04841a200012d1824000721b740004c00c128..."} 
[2026-08-28 17:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04841a200012d1824000721b740004c00c128..."} 
[2026-08-28 17:38:20] local.INFO: Processing buffer {"connection_id":166257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04841a200012d1824000721b740004c00c128..."} 
[2026-08-28 17:38:20] local.INFO: Packet analysis {"connection_id":166257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04841"} 
[2026-08-28 17:38:20] local.INFO: Extracted packet for processing {"connection_id":166257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04841"} 
[2026-08-28 17:38:20] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119650112,"longitude_deg":75.65568,"latitude_deg":11.9650112,"altitude":76,"angle":193,"satellites":40,"speed":6,"hex_longitude":"2d182400","hex_latitude":"0721b740","is_valid_coordinates":true} 
[2026-08-28 17:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:38:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707172864001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:38:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15981513178873856,"note":"Value kept but may cause issues"} 
[2026-08-28 17:38:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739937599167395840,"note":"Value kept but may cause issues"} 
[2026-08-28 17:38:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:38:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787918656000,"timestamp_ms":1787918656000,"timestamp_seconds":1787918656,"priority":1,"record_length":96,"hex_timestamp":"000001a04841a200"} 
[2026-08-28 17:38:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:38:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-28 17:38:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:38:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:38:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:38:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:38:20] local.INFO: Teltonika packet parsed successfully {"connection_id":166257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:38:20] local.INFO: Passing IMEI to GPS processor {"connection_id":166257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:38:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":166257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:38:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:38:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:38:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:38:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707172864001,"66":13222,"105":206,"83":41984,"24":6,"16":15981513178873856,"45":1739937599167395840},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 17:38:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:38:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:38:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707172864001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:38:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 17:38:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:38:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15981513178873856,"km_value":15981513178873.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:38:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739937599167395840,"description":"Unknown IO ID 45"} 
[2026-08-28 17:38:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707172864001,"power":13222,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1739937599167395840}} 
[2026-08-28 17:38:20] local.INFO: DEBUG: GPS processor result {"connection_id":166257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709179,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:38:20] local.INFO: GPS data processed {"connection_id":166257,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:38:20] local.INFO: Acknowledgment sent {"connection_id":166257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:38:25] local.INFO: TCP Data received {"connection_id":164903,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164903,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:38:25] local.INFO: Processing buffer {"connection_id":164903,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:38:25] local.INFO: IMEI packet received {"connection_id":164903,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 17:38:25] local.INFO: IMEI acknowledgment sent {"connection_id":164903,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:38:30] local.INFO: TCP Data received {"connection_id":163618,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:38:30] local.INFO: Processing buffer {"connection_id":163618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:38:30] local.INFO: IMEI packet received {"connection_id":163618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 17:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":163618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:38:30] local.INFO: TCP Data received {"connection_id":164903,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164903,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:38:30] local.INFO: Processing buffer {"connection_id":164903,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:38:30] local.INFO: IMEI packet received {"connection_id":164903,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 17:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":164903,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:38:32] local.INFO: TCP Data received {"connection_id":164903,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a048414828012d7b520005e140c8000c006c20..."} 
[2026-08-28 17:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048414828012d7b520005e140c8000c006c20..."} 
[2026-08-28 17:38:32] local.INFO: Processing buffer {"connection_id":164903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048414828012d7b520005e140c8000c006c20..."} 
[2026-08-28 17:38:32] local.INFO: Packet analysis {"connection_id":164903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04841"} 
[2026-08-28 17:38:32] local.INFO: Extracted packet for processing {"connection_id":164903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04841"} 
[2026-08-28 17:38:32] local.INFO: GPS Element Parsed {"raw_longitude":763056640,"raw_latitude":98648264,"longitude_deg":76.305664,"latitude_deg":9.8648264,"altitude":12,"angle":108,"satellites":32,"speed":0,"hex_longitude":"2d7b5200","hex_latitude":"05e140c8","is_valid_coordinates":true} 
[2026-08-28 17:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:38:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707091968001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:38:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886305777497698304,"note":"Value kept but may cause issues"} 
[2026-08-28 17:38:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232132430757888,"note":"Value kept but may cause issues"} 
[2026-08-28 17:38:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-28 17:38:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787918633000,"timestamp_ms":1787918633000,"timestamp_seconds":1787918633,"priority":1,"record_length":96,"hex_timestamp":"000001a048414828"} 
[2026-08-28 17:38:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:38:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-28 17:38:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:38:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:38:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:38:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:38:32] local.INFO: Teltonika packet parsed successfully {"connection_id":164903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:38:32] local.INFO: Passing IMEI to GPS processor {"connection_id":164903,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:38:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":164903,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:38:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:38:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:38:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:38:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707091968001,"66":12613,"45":8886305777497698304,"85":15104,"24":0,"16":125232132430757888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-28 17:38:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:38:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:38:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707091968001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:38:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886305777497698304,"description":"Unknown IO ID 45"} 
[2026-08-28 17:38:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:38:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232132430757888,"km_value":125232132430757.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:38:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457707091968001,"power":12613,"unknown_45":8886305777497698304,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-08-28 17:38:32] 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":709180,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:38:32] local.INFO: GPS data processed {"connection_id":164903,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:38:32] local.INFO: Acknowledgment sent {"connection_id":164903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:38:35] local.INFO: TCP Data received {"connection_id":163618,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:38:35] local.INFO: Processing buffer {"connection_id":163618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:38:35] local.INFO: IMEI packet received {"connection_id":163618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 17:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":163618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:38:38] local.INFO: TCP Data received {"connection_id":163618,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048437e90012d34c14006aa4840000f00e628..."} 
[2026-08-28 17:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048437e90012d34c14006aa4840000f00e628..."} 
[2026-08-28 17:38:38] local.INFO: Processing buffer {"connection_id":163618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048437e90012d34c14006aa4840000f00e628..."} 
[2026-08-28 17:38:38] local.INFO: Packet analysis {"connection_id":163618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04843"} 
[2026-08-28 17:38:38] local.INFO: Extracted packet for processing {"connection_id":163618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04843"} 
[2026-08-28 17:38:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707130112001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:38:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787918778000,"timestamp_ms":1787918778000,"timestamp_seconds":1787918778,"priority":1,"record_length":96,"hex_timestamp":"000001a048437e90"} 
[2026-08-28 17:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:38:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 17:38:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:38:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:38:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707130112001,"66":25451,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707130112001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:38:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:38:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:38: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-28 17:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707130112001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:38:38] 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":709181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:38:38] local.INFO: GPS data processed {"connection_id":163618,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:38:38] local.INFO: Acknowledgment sent {"connection_id":163618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:38:45] local.INFO: TCP Data received {"connection_id":163619,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163619,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:38:45] local.INFO: Processing buffer {"connection_id":163619,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:38:45] local.INFO: IMEI packet received {"connection_id":163619,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 17:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":163619,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:38:48] local.INFO: TCP Data received {"connection_id":163619,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163619,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:38:48] local.INFO: Processing buffer {"connection_id":163619,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:38:48] local.INFO: IMEI packet received {"connection_id":163619,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":163619,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:38:48] local.INFO: TCP Data received {"connection_id":163619,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163619,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:38:48] local.INFO: Processing buffer {"connection_id":163619,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:38:48] local.INFO: IMEI packet received {"connection_id":163619,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":163619,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:38:49] local.INFO: TCP Data received {"connection_id":163619,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163619,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:38:49] local.INFO: Processing buffer {"connection_id":163619,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:38:49] local.INFO: IMEI packet received {"connection_id":163619,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":163619,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:38:49] local.INFO: TCP Data received {"connection_id":163619,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a04844de20012d1824000721b460004b008b29..."} 
[2026-08-28 17:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04844de20012d1824000721b460004b008b29..."} 
[2026-08-28 17:38:49] local.INFO: Processing buffer {"connection_id":163619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04844de20012d1824000721b460004b008b29..."} 
[2026-08-28 17:38:49] local.INFO: Packet analysis {"connection_id":163619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04844"} 
[2026-08-28 17:38:49] local.INFO: Extracted packet for processing {"connection_id":163619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04844"} 
[2026-08-28 17:38:49] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119649376,"longitude_deg":75.65568,"latitude_deg":11.9649376,"altitude":75,"angle":139,"satellites":41,"speed":5,"hex_longitude":"2d182400","hex_latitude":"0721b460","is_valid_coordinates":true} 
[2026-08-28 17:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:38:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707229696001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:38:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15981573308416000,"note":"Value kept but may cause issues"} 
[2026-08-28 17:38:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469604352,"note":"Value kept but may cause issues"} 
[2026-08-28 17:38:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:38:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787918868000,"timestamp_ms":1787918868000,"timestamp_seconds":1787918868,"priority":1,"record_length":96,"hex_timestamp":"000001a04844de20"} 
[2026-08-28 17:38:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:38:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-28 17:38:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:38:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:38:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:38:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:38:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:38:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:38:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:38:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:38:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:38:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:38:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707229696001,"66":14298,"105":206,"83":41984,"24":5,"16":15981573308416000,"45":1739304280469604352},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 17:38:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:38:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:38:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707229696001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:38:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 17:38:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:38:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15981573308416000,"km_value":15981573308416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:38:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469604352,"description":"Unknown IO ID 45"} 
[2026-08-28 17:38:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707229696001,"power":14298,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1739304280469604352}} 
[2026-08-28 17:38:50] local.INFO: DEBUG: GPS processor result {"connection_id":163619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709182,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:38:50] local.INFO: GPS data processed {"connection_id":163619,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:38:50] local.INFO: Acknowledgment sent {"connection_id":163619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:38:50] local.INFO: TCP Data received {"connection_id":163619,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a04844e208012d1824400721b3b8004c009c29..."} 
[2026-08-28 17:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04844e208012d1824400721b3b8004c009c29..."} 
[2026-08-28 17:38:50] local.INFO: Processing buffer {"connection_id":163619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04844e208012d1824400721b3b8004c009c29..."} 
[2026-08-28 17:38:50] local.INFO: Packet analysis {"connection_id":163619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04844"} 
[2026-08-28 17:38:50] local.INFO: Extracted packet for processing {"connection_id":163619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04844"} 
[2026-08-28 17:38:50] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119649208,"longitude_deg":75.6556864,"latitude_deg":11.9649208,"altitude":76,"angle":156,"satellites":41,"speed":7,"hex_longitude":"2d182440","hex_latitude":"0721b3b8","is_valid_coordinates":true} 
[2026-08-28 17: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-28 17:38:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707230208001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:38:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15981581898350592,"note":"Value kept but may cause issues"} 
[2026-08-28 17:38:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702094336,"note":"Value kept but may cause issues"} 
[2026-08-28 17:38: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-28 17:38:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787918869000,"timestamp_ms":1787918869000,"timestamp_seconds":1787918869,"priority":1,"record_length":96,"hex_timestamp":"000001a04844e208"} 
[2026-08-28 17: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-28 17:38:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-28 17:38:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17: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-28 17: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-28 17:38:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:38:50] local.INFO: Teltonika packet parsed successfully {"connection_id":163619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:38:50] local.INFO: Passing IMEI to GPS processor {"connection_id":163619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:38:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":163619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:38:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:38:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:38:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:38:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707230208001,"66":14298,"105":206,"83":41984,"24":7,"16":15981581898350592,"45":1739515386702094336},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 17:38:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:38:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:38:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707230208001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:38:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 17:38:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:38:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15981581898350592,"km_value":15981581898350.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:38:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702094336,"description":"Unknown IO ID 45"} 
[2026-08-28 17:38:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707230208001,"power":14298,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1739515386702094336}} 
[2026-08-28 17:38:50] local.INFO: DEBUG: GPS processor result {"connection_id":163619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709183,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:38:50] local.INFO: GPS data processed {"connection_id":163619,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:38:50] local.INFO: Acknowledgment sent {"connection_id":163619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:38:57] local.INFO: TCP Data received {"connection_id":163620,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163620,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:38:57] local.INFO: Processing buffer {"connection_id":163620,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:38:57] local.INFO: IMEI packet received {"connection_id":163620,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 17:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":163620,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:39:02] local.INFO: TCP Data received {"connection_id":163620,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163620,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:39:02] local.INFO: Processing buffer {"connection_id":163620,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:39:02] local.INFO: IMEI packet received {"connection_id":163620,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 17:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":163620,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:39:03] local.INFO: TCP Data received {"connection_id":164903,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a04845c880012d7b520005e140c80011006c21..."} 
[2026-08-28 17:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04845c880012d7b520005e140c80011006c21..."} 
[2026-08-28 17:39:03] local.INFO: Processing buffer {"connection_id":164903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04845c880012d7b520005e140c80011006c21..."} 
[2026-08-28 17:39:03] local.INFO: Packet analysis {"connection_id":164903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04845"} 
[2026-08-28 17:39:03] local.INFO: Extracted packet for processing {"connection_id":164903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04845"} 
[2026-08-28 17:39:03] local.INFO: GPS Element Parsed {"raw_longitude":763056640,"raw_latitude":98648264,"longitude_deg":76.305664,"latitude_deg":9.8648264,"altitude":17,"angle":108,"satellites":33,"speed":0,"hex_longitude":"2d7b5200","hex_latitude":"05e140c8","is_valid_coordinates":true} 
[2026-08-28 17:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707170048001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232132430757888,"note":"Value kept but may cause issues"} 
[2026-08-28 17:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886165040009365504,"note":"Value kept but may cause issues"} 
[2026-08-28 17:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787918928000,"timestamp_ms":1787918928000,"timestamp_seconds":1787918928,"priority":1,"record_length":96,"hex_timestamp":"000001a04845c880"} 
[2026-08-28 17:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:39:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-28 17:39:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:39:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":164903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":164903,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":164903,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:39:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707170048001,"66":9449,"216":206,"85":15104,"24":0,"16":125232132430757888,"45":8886165040009365504},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-08-28 17:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707170048001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:39:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-28 17:39:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232132430757888,"km_value":125232132430757.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886165040009365504,"description":"Unknown IO ID 45"} 
[2026-08-28 17:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707170048001,"power":9449,"unknown_216":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886165040009365504}} 
[2026-08-28 17:39:03] 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":709184,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:39:03] local.INFO: GPS data processed {"connection_id":164903,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:39:03] local.INFO: Acknowledgment sent {"connection_id":164903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:39:04] local.INFO: TCP Data received {"connection_id":163620,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048416f38012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048416f38012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:39:04] local.INFO: Processing buffer {"connection_id":163620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048416f38012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:39:04] local.INFO: Packet analysis {"connection_id":163620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04841"} 
[2026-08-28 17:39:04] local.INFO: Extracted packet for processing {"connection_id":163620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04841"} 
[2026-08-28 17:39:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707095552001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:39:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787918643000,"timestamp_ms":1787918643000,"timestamp_seconds":1787918643,"priority":1,"record_length":96,"hex_timestamp":"000001a048416f38"} 
[2026-08-28 17:39:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:39:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 17:39:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:39:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:39:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":163620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":163620,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":163620,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:39:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707095552001,"66":25375,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707095552001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:39:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:39:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707095552001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:39:05] 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":709185,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:39:05] local.INFO: GPS data processed {"connection_id":163620,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:39:05] local.INFO: Acknowledgment sent {"connection_id":163620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:39:08] local.INFO: TCP Data received {"connection_id":163620,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048416f38012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048416f38012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:39:08] local.INFO: Processing buffer {"connection_id":163620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048416f38012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:39:08] local.INFO: Packet analysis {"connection_id":163620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04841"} 
[2026-08-28 17:39:08] local.INFO: Extracted packet for processing {"connection_id":163620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04841"} 
[2026-08-28 17:39:08] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707095552001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:39:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787918643000,"timestamp_ms":1787918643000,"timestamp_seconds":1787918643,"priority":1,"record_length":96,"hex_timestamp":"000001a048416f38"} 
[2026-08-28 17:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:39:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 17:39:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:39:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163620,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163620,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:39:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707095552001,"66":25375,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707095552001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:39:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:39:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707095552001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:39:08] 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":709186,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:39:08] local.INFO: GPS data processed {"connection_id":163620,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:39:08] local.INFO: Acknowledgment sent {"connection_id":163620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:39:13] local.INFO: TCP Data received {"connection_id":163618,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048437e90012d34c14006aa4840000f00e628..."} 
[2026-08-28 17:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048437e90012d34c14006aa4840000f00e628..."} 
[2026-08-28 17:39:13] local.INFO: Processing buffer {"connection_id":163618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048437e90012d34c14006aa4840000f00e628..."} 
[2026-08-28 17:39:13] local.INFO: Packet analysis {"connection_id":163618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04843"} 
[2026-08-28 17:39:13] local.INFO: Extracted packet for processing {"connection_id":163618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04843"} 
[2026-08-28 17:39:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17: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-28 17:39:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707130112001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:39:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:39:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:39:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:39:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787918778000,"timestamp_ms":1787918778000,"timestamp_seconds":1787918778,"priority":1,"record_length":96,"hex_timestamp":"000001a048437e90"} 
[2026-08-28 17: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-28 17: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-28 17: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":118,"data_length":795,"current_offset":136} 
[2026-08-28 17:39: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-28 17: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-28 17: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-28 17:39:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:39:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:39:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:39:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:39:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:39:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:39:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:39:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707130112001,"66":25451,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:39:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:39:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:39:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707130112001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:39:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:39:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17: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-28 17:39:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:39:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707130112001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:39:13] 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":709187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:39:13] local.INFO: GPS data processed {"connection_id":163618,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:39:13] local.INFO: Acknowledgment sent {"connection_id":163618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:39:21] local.INFO: TCP Data received {"connection_id":163619,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a04844e5f0012d1824400721b308004c00bf29..."} 
[2026-08-28 17:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04844e5f0012d1824400721b308004c00bf29..."} 
[2026-08-28 17:39:21] local.INFO: Processing buffer {"connection_id":163619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04844e5f0012d1824400721b308004c00bf29..."} 
[2026-08-28 17:39:21] local.INFO: Packet analysis {"connection_id":163619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04844"} 
[2026-08-28 17:39:21] local.INFO: Extracted packet for processing {"connection_id":163619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04844"} 
[2026-08-28 17:39:21] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119649032,"longitude_deg":75.6556864,"latitude_deg":11.9649032,"altitude":76,"angle":191,"satellites":41,"speed":7,"hex_longitude":"2d182440","hex_latitude":"0721b308","is_valid_coordinates":true} 
[2026-08-28 17:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707230464001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15981590488285184,"note":"Value kept but may cause issues"} 
[2026-08-28 17:39:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446228992,"note":"Value kept but may cause issues"} 
[2026-08-28 17:39:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787918870000,"timestamp_ms":1787918870000,"timestamp_seconds":1787918870,"priority":1,"record_length":96,"hex_timestamp":"000001a04844e5f0"} 
[2026-08-28 17:39:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:39:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-28 17:39:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:39:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:39:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":163619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":163619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":163619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:39:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707230464001,"66":14265,"105":206,"83":41984,"24":7,"16":15981590488285184,"45":1739585755446228992},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 17:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707230464001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:39:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 17:39:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15981590488285184,"km_value":15981590488285.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:39:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446228992,"description":"Unknown IO ID 45"} 
[2026-08-28 17:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707230464001,"power":14265,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1739585755446228992}} 
[2026-08-28 17:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":163619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709188,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:39:21] local.INFO: GPS data processed {"connection_id":163619,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:39:21] local.INFO: Acknowledgment sent {"connection_id":163619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:39:30] local.INFO: TCP Data received {"connection_id":163894,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:39:30] local.INFO: Processing buffer {"connection_id":163894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:39:30] local.INFO: IMEI packet received {"connection_id":163894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 17:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":163894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:39:30] local.INFO: TCP Data received {"connection_id":163893,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163893,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:39:30] local.INFO: Processing buffer {"connection_id":163893,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:39:30] local.INFO: IMEI packet received {"connection_id":163893,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 17:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":163893,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:39:35] local.INFO: TCP Data received {"connection_id":163893,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163893,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:39:35] local.INFO: Processing buffer {"connection_id":163893,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:39:35] local.INFO: IMEI packet received {"connection_id":163893,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 17:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":163893,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:39:35] local.INFO: TCP Data received {"connection_id":163894,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:39:35] local.INFO: Processing buffer {"connection_id":163894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:39:35] local.INFO: IMEI packet received {"connection_id":163894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 17:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":163894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:39:36] local.INFO: TCP Data received {"connection_id":163893,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a04845c880012d7b520005e140c80011006c21..."} 
[2026-08-28 17:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04845c880012d7b520005e140c80011006c21..."} 
[2026-08-28 17:39:36] local.INFO: Processing buffer {"connection_id":163893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04845c880012d7b520005e140c80011006c21..."} 
[2026-08-28 17:39:36] local.INFO: Packet analysis {"connection_id":163893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04845"} 
[2026-08-28 17:39:36] local.INFO: Extracted packet for processing {"connection_id":163893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04845"} 
[2026-08-28 17:39:36] local.INFO: GPS Element Parsed {"raw_longitude":763056640,"raw_latitude":98648264,"longitude_deg":76.305664,"latitude_deg":9.8648264,"altitude":17,"angle":108,"satellites":33,"speed":0,"hex_longitude":"2d7b5200","hex_latitude":"05e140c8","is_valid_coordinates":true} 
[2026-08-28 17:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707245568001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232132430757888,"note":"Value kept but may cause issues"} 
[2026-08-28 17:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886165040009365504,"note":"Value kept but may cause issues"} 
[2026-08-28 17:39:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787918928000,"timestamp_ms":1787918928000,"timestamp_seconds":1787918928,"priority":1,"record_length":96,"hex_timestamp":"000001a04845c880"} 
[2026-08-28 17:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:39:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":36,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 17:39:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2475,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:39:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163893,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163893,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:39:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707245568001,"66":9449,"216":206,"85":15104,"24":0,"16":125232132430757888,"45":8886165040009365504},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-08-28 17:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707245568001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:39:36] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-28 17:39:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232132430757888,"km_value":125232132430757.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886165040009365504,"description":"Unknown IO ID 45"} 
[2026-08-28 17:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707245568001,"power":9449,"unknown_216":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886165040009365504}} 
[2026-08-28 17:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":163893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709189,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:39:36] local.INFO: GPS data processed {"connection_id":163893,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:39:36] local.INFO: Acknowledgment sent {"connection_id":163893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:39:37] local.INFO: TCP Data received {"connection_id":163894,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048437e90012d34c14006aa4840000f00e628..."} 
[2026-08-28 17:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048437e90012d34c14006aa4840000f00e628..."} 
[2026-08-28 17:39:37] local.INFO: Processing buffer {"connection_id":163894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048437e90012d34c14006aa4840000f00e628..."} 
[2026-08-28 17:39:37] local.INFO: Packet analysis {"connection_id":163894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04843"} 
[2026-08-28 17:39:37] local.INFO: Extracted packet for processing {"connection_id":163894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04843"} 
[2026-08-28 17:39:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707130112001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787918778000,"timestamp_ms":1787918778000,"timestamp_seconds":1787918778,"priority":1,"record_length":96,"hex_timestamp":"000001a048437e90"} 
[2026-08-28 17:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 17:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707130112001,"66":25451,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707130112001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:39:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:39:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:39: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-28 17:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707130112001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":163894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:39:37] local.INFO: GPS data processed {"connection_id":163894,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:39:37] local.INFO: Acknowledgment sent {"connection_id":163894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:39:40] local.INFO: TCP Data received {"connection_id":163620,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048416f38012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048416f38012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:39:40] local.INFO: Processing buffer {"connection_id":163620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048416f38012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:39:40] local.INFO: Packet analysis {"connection_id":163620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04841"} 
[2026-08-28 17:39:40] local.INFO: Extracted packet for processing {"connection_id":163620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04841"} 
[2026-08-28 17:39:40] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707095552001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:39:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:39:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:39:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787918643000,"timestamp_ms":1787918643000,"timestamp_seconds":1787918643,"priority":1,"record_length":96,"hex_timestamp":"000001a048416f38"} 
[2026-08-28 17:39:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:39:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 17:39:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:39:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:39:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163620,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163620,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:39:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:39:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:39:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:39:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707095552001,"66":25375,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:39:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:39:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:39:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707095552001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:39:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:39:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:39:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:39:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:39:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707095552001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:39:40] 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":709191,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:39:40] local.INFO: GPS data processed {"connection_id":163620,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:39:40] local.INFO: Acknowledgment sent {"connection_id":163620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:39:40] local.INFO: TCP Data received {"connection_id":163893,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a04845dff0012d7b520005e140c80011006c1f..."} 
[2026-08-28 17:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04845dff0012d7b520005e140c80011006c1f..."} 
[2026-08-28 17:39:40] local.INFO: Processing buffer {"connection_id":163893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04845dff0012d7b520005e140c80011006c1f..."} 
[2026-08-28 17:39:40] local.INFO: Packet analysis {"connection_id":163893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04845"} 
[2026-08-28 17:39:40] local.INFO: Extracted packet for processing {"connection_id":163893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04845"} 
[2026-08-28 17:39:40] local.INFO: GPS Element Parsed {"raw_longitude":763056640,"raw_latitude":98648264,"longitude_deg":76.305664,"latitude_deg":9.8648264,"altitude":17,"angle":108,"satellites":31,"speed":0,"hex_longitude":"2d7b5200","hex_latitude":"05e140c8","is_valid_coordinates":true} 
[2026-08-28 17:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707245568001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232132430757888,"note":"Value kept but may cause issues"} 
[2026-08-28 17:39:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886165040009365504,"note":"Value kept but may cause issues"} 
[2026-08-28 17:39:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:39:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787918934000,"timestamp_ms":1787918934000,"timestamp_seconds":1787918934,"priority":1,"record_length":96,"hex_timestamp":"000001a04845dff0"} 
[2026-08-28 17:39:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:39:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":36,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 17:39:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2475,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:39:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:39:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163893,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163893,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:39:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:39:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:39:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:39:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707245568001,"66":4112,"216":206,"85":15104,"24":0,"16":125232132430757888,"45":8886165040009365504},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-08-28 17:39:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:39:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:39:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707245568001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:39:40] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-28 17:39:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:39:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232132430757888,"km_value":125232132430757.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:39:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886165040009365504,"description":"Unknown IO ID 45"} 
[2026-08-28 17:39:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707245568001,"power":4112,"unknown_216":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886165040009365504}} 
[2026-08-28 17:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":163893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709192,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:39:41] local.INFO: GPS data processed {"connection_id":163893,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:39:41] local.INFO: Acknowledgment sent {"connection_id":163893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:39:43] local.INFO: TCP Data received {"connection_id":163621,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:39:43] local.INFO: Processing buffer {"connection_id":163621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:39:43] local.INFO: IMEI packet received {"connection_id":163621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 17:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":163621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:39:46] local.INFO: TCP Data received {"connection_id":163621,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:39:46] local.INFO: Processing buffer {"connection_id":163621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:39:46] local.INFO: IMEI packet received {"connection_id":163621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":163621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:39:46] local.INFO: TCP Data received {"connection_id":163621,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048452088012d1823800721b168004c00ee27..."} 
[2026-08-28 17:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048452088012d1823800721b168004c00ee27..."} 
[2026-08-28 17:39:46] local.INFO: Processing buffer {"connection_id":163621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048452088012d1823800721b168004c00ee27..."} 
[2026-08-28 17:39:46] local.INFO: Packet analysis {"connection_id":163621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04845"} 
[2026-08-28 17:39:46] local.INFO: Extracted packet for processing {"connection_id":163621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04845"} 
[2026-08-28 17:39:46] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119648616,"longitude_deg":75.6556672,"latitude_deg":11.9648616,"altitude":76,"angle":238,"satellites":39,"speed":6,"hex_longitude":"2d182380","hex_latitude":"0721b168","is_valid_coordinates":true} 
[2026-08-28 17: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-28 17:39:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707230720001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:39:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15981620553056256,"note":"Value kept but may cause issues"} 
[2026-08-28 17:39:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446183936,"note":"Value kept but may cause issues"} 
[2026-08-28 17:39:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:39:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787918885000,"timestamp_ms":1787918885000,"timestamp_seconds":1787918885,"priority":1,"record_length":96,"hex_timestamp":"000001a048452088"} 
[2026-08-28 17: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-28 17:39:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-28 17:39:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17: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-28 17: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-28 17:39:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:39:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:39:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:39:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:39:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:39:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:39:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:39:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707230720001,"66":14070,"105":206,"83":41984,"24":6,"16":15981620553056256,"45":1739585755446183936},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 17:39:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:39:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:39:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707230720001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:39:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 17:39:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:39:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15981620553056256,"km_value":15981620553056.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:39:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446183936,"description":"Unknown IO ID 45"} 
[2026-08-28 17:39:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707230720001,"power":14070,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1739585755446183936}} 
[2026-08-28 17:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":163621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709193,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:39:47] local.INFO: GPS data processed {"connection_id":163621,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:39:47] local.INFO: Acknowledgment sent {"connection_id":163621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:39:56] local.INFO: TCP Data received {"connection_id":163622,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163622,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:39:56] local.INFO: Processing buffer {"connection_id":163622,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:39:56] local.INFO: IMEI packet received {"connection_id":163622,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 17:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":163622,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:40:01] local.INFO: TCP Data received {"connection_id":163622,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163622,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:40:01] local.INFO: Processing buffer {"connection_id":163622,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:40:01] local.INFO: IMEI packet received {"connection_id":163622,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 17:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":163622,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:40:02] local.INFO: TCP Data received {"connection_id":163622,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048460700012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048460700012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:40:02] local.INFO: Processing buffer {"connection_id":163622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048460700012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:40:02] local.INFO: Packet analysis {"connection_id":163622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04846"} 
[2026-08-28 17:40:02] local.INFO: Extracted packet for processing {"connection_id":163622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04846"} 
[2026-08-28 17:40:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707172608001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:40:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:40:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787918944000,"timestamp_ms":1787918944000,"timestamp_seconds":1787918944,"priority":1,"record_length":96,"hex_timestamp":"000001a048460700"} 
[2026-08-28 17:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:40:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 17:40:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:40:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163622,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163622,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:40:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707172608001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707172608001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:40:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:40:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:40:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707172608001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:40:02] 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":709194,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:40:02] local.INFO: GPS data processed {"connection_id":163622,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:40:02] local.INFO: Acknowledgment sent {"connection_id":163622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:40:09] local.INFO: TCP Data received {"connection_id":163894,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048437e90012d34c14006aa4840000f00e628..."} 
[2026-08-28 17:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048437e90012d34c14006aa4840000f00e628..."} 
[2026-08-28 17:40:09] local.INFO: Processing buffer {"connection_id":163894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048437e90012d34c14006aa4840000f00e628..."} 
[2026-08-28 17:40:09] local.INFO: Packet analysis {"connection_id":163894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04843"} 
[2026-08-28 17:40:09] local.INFO: Extracted packet for processing {"connection_id":163894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04843"} 
[2026-08-28 17:40:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707130112001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:40:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787918778000,"timestamp_ms":1787918778000,"timestamp_seconds":1787918778,"priority":1,"record_length":96,"hex_timestamp":"000001a048437e90"} 
[2026-08-28 17:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:40:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 17:40:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:40:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:40:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707130112001,"66":25451,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707130112001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:40:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:40:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:40: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-28 17:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707130112001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":163894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:40:09] local.INFO: GPS data processed {"connection_id":163894,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:40:09] local.INFO: Acknowledgment sent {"connection_id":163894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:40:18] local.INFO: TCP Data received {"connection_id":163621,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048452858012d1822800721b040004d00dd28..."} 
[2026-08-28 17:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048452858012d1822800721b040004d00dd28..."} 
[2026-08-28 17:40:18] local.INFO: Processing buffer {"connection_id":163621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048452858012d1822800721b040004d00dd28..."} 
[2026-08-28 17:40:18] local.INFO: Packet analysis {"connection_id":163621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04845"} 
[2026-08-28 17:40:18] local.INFO: Extracted packet for processing {"connection_id":163621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04845"} 
[2026-08-28 17:40:18] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119648320,"longitude_deg":75.6556416,"latitude_deg":11.964832,"altitude":77,"angle":221,"satellites":40,"speed":11,"hex_longitude":"2d182280","hex_latitude":"0721b040","is_valid_coordinates":true} 
[2026-08-28 17:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:40:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707234560001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:40:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15981642027892736,"note":"Value kept but may cause issues"} 
[2026-08-28 17:40:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213544448,"note":"Value kept but may cause issues"} 
[2026-08-28 17:40: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-28 17:40:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787918887000,"timestamp_ms":1787918887000,"timestamp_seconds":1787918887,"priority":1,"record_length":96,"hex_timestamp":"000001a048452858"} 
[2026-08-28 17:40:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:40:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-28 17:40: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-28 17:40:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:40:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:40:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:40:18] local.INFO: Teltonika packet parsed successfully {"connection_id":163621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:40:18] local.INFO: Passing IMEI to GPS processor {"connection_id":163621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:40:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":163621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:40:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:40:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:40:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:40:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707234560001,"66":13961,"105":206,"83":41984,"24":11,"16":15981642027892736,"45":1739374649213544448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 17:40:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:40:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:40:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707234560001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:40:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 17:40:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:40:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15981642027892736,"km_value":15981642027892.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:40:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213544448,"description":"Unknown IO ID 45"} 
[2026-08-28 17:40:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707234560001,"power":13961,"unknown_105":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1739374649213544448}} 
[2026-08-28 17:40:18] local.INFO: DEBUG: GPS processor result {"connection_id":163621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709196,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:40:18] local.INFO: GPS data processed {"connection_id":163621,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:40:18] local.INFO: Acknowledgment sent {"connection_id":163621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:40:25] local.INFO: TCP Data received {"connection_id":164904,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164904,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:40:25] local.INFO: Processing buffer {"connection_id":164904,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:40:25] local.INFO: IMEI packet received {"connection_id":164904,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 17:40:25] local.INFO: IMEI acknowledgment sent {"connection_id":164904,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:40:30] local.INFO: TCP Data received {"connection_id":166258,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:40:30] local.INFO: Processing buffer {"connection_id":166258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:40:30] local.INFO: IMEI packet received {"connection_id":166258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 17:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":166258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:40:30] local.INFO: TCP Data received {"connection_id":164904,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164904,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:40:30] local.INFO: Processing buffer {"connection_id":164904,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:40:30] local.INFO: IMEI packet received {"connection_id":164904,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 17:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":164904,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:40:31] local.INFO: TCP Data received {"connection_id":164904,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a04845dff0012d7b520005e140c80011006c1f..."} 
[2026-08-28 17:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04845dff0012d7b520005e140c80011006c1f..."} 
[2026-08-28 17:40:31] local.INFO: Processing buffer {"connection_id":164904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04845dff0012d7b520005e140c80011006c1f..."} 
[2026-08-28 17:40:31] local.INFO: Packet analysis {"connection_id":164904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04845"} 
[2026-08-28 17:40:31] local.INFO: Extracted packet for processing {"connection_id":164904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04845"} 
[2026-08-28 17:40:31] local.INFO: GPS Element Parsed {"raw_longitude":763056640,"raw_latitude":98648264,"longitude_deg":76.305664,"latitude_deg":9.8648264,"altitude":17,"angle":108,"satellites":31,"speed":0,"hex_longitude":"2d7b5200","hex_latitude":"05e140c8","is_valid_coordinates":true} 
[2026-08-28 17:40:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:40:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707245568001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:40:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232132430757888,"note":"Value kept but may cause issues"} 
[2026-08-28 17:40:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886165040009365504,"note":"Value kept but may cause issues"} 
[2026-08-28 17:40:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:40:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787918934000,"timestamp_ms":1787918934000,"timestamp_seconds":1787918934,"priority":1,"record_length":96,"hex_timestamp":"000001a04845dff0"} 
[2026-08-28 17:40:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:40:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:40:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":36,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 17:40:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2475,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:40:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:40:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:40:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:40:31] local.INFO: Teltonika packet parsed successfully {"connection_id":164904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:40:31] local.INFO: Passing IMEI to GPS processor {"connection_id":164904,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:40:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":164904,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:40:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:40:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:40:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:40:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707245568001,"66":4112,"216":206,"85":15104,"24":0,"16":125232132430757888,"45":8886165040009365504},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-08-28 17:40:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:40:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:40:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707245568001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:40:31] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-28 17:40:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:40:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232132430757888,"km_value":125232132430757.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:40:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886165040009365504,"description":"Unknown IO ID 45"} 
[2026-08-28 17:40:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707245568001,"power":4112,"unknown_216":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886165040009365504}} 
[2026-08-28 17:40:31] 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":709197,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:40:31] local.INFO: GPS data processed {"connection_id":164904,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:40:31] local.INFO: Acknowledgment sent {"connection_id":164904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:40:35] local.INFO: TCP Data received {"connection_id":163622,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048460700012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048460700012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:40:35] local.INFO: Processing buffer {"connection_id":163622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048460700012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:40:35] local.INFO: Packet analysis {"connection_id":163622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04846"} 
[2026-08-28 17:40:35] local.INFO: Extracted packet for processing {"connection_id":163622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04846"} 
[2026-08-28 17:40:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707172608001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:40:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:40:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787918944000,"timestamp_ms":1787918944000,"timestamp_seconds":1787918944,"priority":1,"record_length":96,"hex_timestamp":"000001a048460700"} 
[2026-08-28 17:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:40:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 17:40: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-28 17:40:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163622,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163622,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:40:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707172608001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707172608001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:40:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:40:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:40:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707172608001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:40:35] 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":709198,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:40:35] local.INFO: GPS data processed {"connection_id":163622,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:40:35] local.INFO: Acknowledgment sent {"connection_id":163622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:40:35] local.INFO: TCP Data received {"connection_id":166258,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:40:35] local.INFO: Processing buffer {"connection_id":166258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:40:35] local.INFO: IMEI packet received {"connection_id":166258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 17:40:35] local.INFO: IMEI acknowledgment sent {"connection_id":166258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:40:40] local.INFO: TCP Data received {"connection_id":166258,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048437e90012d34c14006aa4840000f00e628..."} 
[2026-08-28 17:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048437e90012d34c14006aa4840000f00e628..."} 
[2026-08-28 17:40:40] local.INFO: Processing buffer {"connection_id":166258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048437e90012d34c14006aa4840000f00e628..."} 
[2026-08-28 17:40:40] local.INFO: Packet analysis {"connection_id":166258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04843"} 
[2026-08-28 17:40:40] local.INFO: Extracted packet for processing {"connection_id":166258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04843"} 
[2026-08-28 17:40:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:40:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707130112001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:40:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:40:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:40:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:40:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787918778000,"timestamp_ms":1787918778000,"timestamp_seconds":1787918778,"priority":1,"record_length":96,"hex_timestamp":"000001a048437e90"} 
[2026-08-28 17:40:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:40:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 17:40:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:40:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:40:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:40:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:40:40] local.INFO: Teltonika packet parsed successfully {"connection_id":166258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:40:40] local.INFO: Passing IMEI to GPS processor {"connection_id":166258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:40:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":166258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:40:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:40:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:40:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:40:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707130112001,"66":25451,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:40:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:40:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:40:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707130112001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:40:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:40:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:40: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-28 17:40:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:40:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707130112001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:40:40] local.INFO: DEBUG: GPS processor result {"connection_id":166258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:40:40] local.INFO: GPS data processed {"connection_id":166258,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:40:40] local.INFO: Acknowledgment sent {"connection_id":166258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:40:41] local.INFO: TCP Data received {"connection_id":164905,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164905,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:40:41] local.INFO: Processing buffer {"connection_id":164905,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:40:41] local.INFO: IMEI packet received {"connection_id":164905,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 17:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":164905,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:40:41] local.INFO: TCP Data received {"connection_id":164905,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164905,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:40:41] local.INFO: Processing buffer {"connection_id":164905,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:40:41] local.INFO: IMEI packet received {"connection_id":164905,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":164905,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:40:43] local.INFO: TCP Data received {"connection_id":164905,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164905,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:40:43] local.INFO: Processing buffer {"connection_id":164905,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:40:43] local.INFO: IMEI packet received {"connection_id":164905,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":164905,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:40:43] local.INFO: TCP Data received {"connection_id":164905,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164905,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:40:43] local.INFO: Processing buffer {"connection_id":164905,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:40:43] local.INFO: IMEI packet received {"connection_id":164905,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":164905,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:40:56] local.INFO: TCP Data received {"connection_id":164906,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164906,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:40:56] local.INFO: Processing buffer {"connection_id":164906,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:40:56] local.INFO: IMEI packet received {"connection_id":164906,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 17:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":164906,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:41:01] local.INFO: TCP Data received {"connection_id":164906,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164906,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:41:01] local.INFO: Processing buffer {"connection_id":164906,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:41:01] local.INFO: IMEI packet received {"connection_id":164906,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 17:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":164906,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:41:03] local.INFO: TCP Data received {"connection_id":164904,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a04845dff0012d7b520005e140c80011006c1f..."} 
[2026-08-28 17:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04845dff0012d7b520005e140c80011006c1f..."} 
[2026-08-28 17:41:03] local.INFO: Processing buffer {"connection_id":164904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04845dff0012d7b520005e140c80011006c1f..."} 
[2026-08-28 17:41:03] local.INFO: Packet analysis {"connection_id":164904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04845"} 
[2026-08-28 17:41:03] local.INFO: Extracted packet for processing {"connection_id":164904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04845"} 
[2026-08-28 17:41:03] local.INFO: GPS Element Parsed {"raw_longitude":763056640,"raw_latitude":98648264,"longitude_deg":76.305664,"latitude_deg":9.8648264,"altitude":17,"angle":108,"satellites":31,"speed":0,"hex_longitude":"2d7b5200","hex_latitude":"05e140c8","is_valid_coordinates":true} 
[2026-08-28 17:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707245568001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232132430757888,"note":"Value kept but may cause issues"} 
[2026-08-28 17:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886165040009365504,"note":"Value kept but may cause issues"} 
[2026-08-28 17:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787918934000,"timestamp_ms":1787918934000,"timestamp_seconds":1787918934,"priority":1,"record_length":96,"hex_timestamp":"000001a04845dff0"} 
[2026-08-28 17:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:41:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":36,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 17:41:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2475,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:41:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":164904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":164904,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":164904,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707245568001,"66":4112,"216":206,"85":15104,"24":0,"16":125232132430757888,"45":8886165040009365504},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-08-28 17:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707245568001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:41:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-28 17:41:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232132430757888,"km_value":125232132430757.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886165040009365504,"description":"Unknown IO ID 45"} 
[2026-08-28 17:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707245568001,"power":4112,"unknown_216":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886165040009365504}} 
[2026-08-28 17:41:03] 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":709200,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:41:03] local.INFO: GPS data processed {"connection_id":164904,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:41:03] local.INFO: Acknowledgment sent {"connection_id":164904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:41:03] local.INFO: TCP Data received {"connection_id":164906,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048460700012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048460700012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:41:03] local.INFO: Processing buffer {"connection_id":164906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048460700012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:41:03] local.INFO: Packet analysis {"connection_id":164906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04846"} 
[2026-08-28 17:41:03] local.INFO: Extracted packet for processing {"connection_id":164906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04846"} 
[2026-08-28 17:41:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707172608001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787918944000,"timestamp_ms":1787918944000,"timestamp_seconds":1787918944,"priority":1,"record_length":96,"hex_timestamp":"000001a048460700"} 
[2026-08-28 17:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:41:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 17:41:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:41:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":164906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":164906,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":164906,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707172608001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707172608001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:41:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:41:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707172608001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:41:03] 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":709201,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:41:03] local.INFO: GPS data processed {"connection_id":164906,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:41:03] local.INFO: Acknowledgment sent {"connection_id":164906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:41:13] local.INFO: TCP Data received {"connection_id":166258,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048437e90012d34c14006aa4840000f00e628..."} 
[2026-08-28 17:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048437e90012d34c14006aa4840000f00e628..."} 
[2026-08-28 17:41:13] local.INFO: Processing buffer {"connection_id":166258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048437e90012d34c14006aa4840000f00e628..."} 
[2026-08-28 17:41:13] local.INFO: Packet analysis {"connection_id":166258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04843"} 
[2026-08-28 17:41:13] local.INFO: Extracted packet for processing {"connection_id":166258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04843"} 
[2026-08-28 17:41:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17: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-28 17:41:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707130112001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:41:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:41:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:41:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:41:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787918778000,"timestamp_ms":1787918778000,"timestamp_seconds":1787918778,"priority":1,"record_length":96,"hex_timestamp":"000001a048437e90"} 
[2026-08-28 17: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-28 17:41: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-28 17: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":118,"data_length":795,"current_offset":136} 
[2026-08-28 17:41: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-28 17: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-28 17: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-28 17:41:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:41:13] local.INFO: Teltonika packet parsed successfully {"connection_id":166258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:41:13] local.INFO: Passing IMEI to GPS processor {"connection_id":166258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:41:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":166258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:41:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:41:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:41:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:41:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707130112001,"66":25451,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:41:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:41:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:41:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707130112001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:41:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:41:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17: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-28 17:41:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:41:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707130112001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:41:13] local.INFO: DEBUG: GPS processor result {"connection_id":166258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:41:13] local.INFO: GPS data processed {"connection_id":166258,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:41:13] local.INFO: Acknowledgment sent {"connection_id":166258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:41:27] local.INFO: TCP Data received {"connection_id":166259,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166259,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:41:27] local.INFO: Processing buffer {"connection_id":166259,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:41:27] local.INFO: IMEI packet received {"connection_id":166259,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 17:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":166259,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:41:30] local.INFO: TCP Data received {"connection_id":166259,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166259,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:41:30] local.INFO: Processing buffer {"connection_id":166259,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:41:30] local.INFO: IMEI packet received {"connection_id":166259,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 17:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":166259,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:41:31] local.INFO: TCP Data received {"connection_id":166259,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a04845dff0012d7b520005e140c80011006c1f..."} 
[2026-08-28 17:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04845dff0012d7b520005e140c80011006c1f..."} 
[2026-08-28 17:41:31] local.INFO: Processing buffer {"connection_id":166259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04845dff0012d7b520005e140c80011006c1f..."} 
[2026-08-28 17:41:31] local.INFO: Packet analysis {"connection_id":166259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04845"} 
[2026-08-28 17:41:31] local.INFO: Extracted packet for processing {"connection_id":166259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04845"} 
[2026-08-28 17:41:31] local.INFO: GPS Element Parsed {"raw_longitude":763056640,"raw_latitude":98648264,"longitude_deg":76.305664,"latitude_deg":9.8648264,"altitude":17,"angle":108,"satellites":31,"speed":0,"hex_longitude":"2d7b5200","hex_latitude":"05e140c8","is_valid_coordinates":true} 
[2026-08-28 17:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:41:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707245568001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:41:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232132430757888,"note":"Value kept but may cause issues"} 
[2026-08-28 17:41:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886165040009365504,"note":"Value kept but may cause issues"} 
[2026-08-28 17:41:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:41:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787918934000,"timestamp_ms":1787918934000,"timestamp_seconds":1787918934,"priority":1,"record_length":96,"hex_timestamp":"000001a04845dff0"} 
[2026-08-28 17:41:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:41:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":36,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 17:41:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2475,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:41:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:41:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:41:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:41:31] local.INFO: Teltonika packet parsed successfully {"connection_id":166259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:41:31] local.INFO: Passing IMEI to GPS processor {"connection_id":166259,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:41:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":166259,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:41:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:41:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:41:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:41:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707245568001,"66":4112,"216":206,"85":15104,"24":0,"16":125232132430757888,"45":8886165040009365504},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-08-28 17:41:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:41:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:41:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707245568001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:41:31] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-28 17:41:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:41:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232132430757888,"km_value":125232132430757.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:41:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886165040009365504,"description":"Unknown IO ID 45"} 
[2026-08-28 17:41:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707245568001,"power":4112,"unknown_216":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886165040009365504}} 
[2026-08-28 17:41:31] local.INFO: DEBUG: GPS processor result {"connection_id":166259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709203,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:41:31] local.INFO: GPS data processed {"connection_id":166259,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:41:31] local.INFO: Acknowledgment sent {"connection_id":166259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:41:35] local.INFO: TCP Data received {"connection_id":163895,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:41:35] local.INFO: Processing buffer {"connection_id":163895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:41:35] local.INFO: IMEI packet received {"connection_id":163895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 17:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":163895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:41:36] local.INFO: TCP Data received {"connection_id":164906,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048460700012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048460700012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:41:36] local.INFO: Processing buffer {"connection_id":164906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048460700012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:41:36] local.INFO: Packet analysis {"connection_id":164906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04846"} 
[2026-08-28 17:41:36] local.INFO: Extracted packet for processing {"connection_id":164906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04846"} 
[2026-08-28 17:41:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707172608001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787918944000,"timestamp_ms":1787918944000,"timestamp_seconds":1787918944,"priority":1,"record_length":96,"hex_timestamp":"000001a048460700"} 
[2026-08-28 17:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:41:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 17:41:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:41:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":164906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":164906,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":164906,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707172608001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707172608001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:41:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:41:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707172608001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:41:36] 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":709204,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:41:36] local.INFO: GPS data processed {"connection_id":164906,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:41:36] local.INFO: Acknowledgment sent {"connection_id":164906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:41:36] local.INFO: TCP Data received {"connection_id":166259,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a04845dff0012d7b520005e140c80011006c1f..."} 
[2026-08-28 17:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04845dff0012d7b520005e140c80011006c1f..."} 
[2026-08-28 17:41:36] local.INFO: Processing buffer {"connection_id":166259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04845dff0012d7b520005e140c80011006c1f..."} 
[2026-08-28 17:41:36] local.INFO: Packet analysis {"connection_id":166259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04845"} 
[2026-08-28 17:41:36] local.INFO: Extracted packet for processing {"connection_id":166259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04845"} 
[2026-08-28 17:41:36] local.INFO: GPS Element Parsed {"raw_longitude":763056640,"raw_latitude":98648264,"longitude_deg":76.305664,"latitude_deg":9.8648264,"altitude":17,"angle":108,"satellites":31,"speed":0,"hex_longitude":"2d7b5200","hex_latitude":"05e140c8","is_valid_coordinates":true} 
[2026-08-28 17:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707245568001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232132430757888,"note":"Value kept but may cause issues"} 
[2026-08-28 17:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886165040009365504,"note":"Value kept but may cause issues"} 
[2026-08-28 17:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787918934000,"timestamp_ms":1787918934000,"timestamp_seconds":1787918934,"priority":1,"record_length":96,"hex_timestamp":"000001a04845dff0"} 
[2026-08-28 17:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:41:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":36,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 17:41:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2475,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:41:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":166259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":166259,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":166259,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707245568001,"66":4112,"216":206,"85":15104,"24":0,"16":125232132430757888,"45":8886165040009365504},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-08-28 17:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707245568001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:41:36] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-28 17:41:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232132430757888,"km_value":125232132430757.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886165040009365504,"description":"Unknown IO ID 45"} 
[2026-08-28 17:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707245568001,"power":4112,"unknown_216":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886165040009365504}} 
[2026-08-28 17:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":166259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709205,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:41:36] local.INFO: GPS data processed {"connection_id":166259,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:41:36] local.INFO: Acknowledgment sent {"connection_id":166259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:41:40] local.INFO: TCP Data received {"connection_id":163895,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:41:40] local.INFO: Processing buffer {"connection_id":163895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:41:40] local.INFO: IMEI packet received {"connection_id":163895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 17:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":163895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:41:43] local.INFO: TCP Data received {"connection_id":163895,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048437e90012d34c14006aa4840000f00e628..."} 
[2026-08-28 17:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048437e90012d34c14006aa4840000f00e628..."} 
[2026-08-28 17:41:43] local.INFO: Processing buffer {"connection_id":163895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048437e90012d34c14006aa4840000f00e628..."} 
[2026-08-28 17:41:43] local.INFO: Packet analysis {"connection_id":163895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04843"} 
[2026-08-28 17:41:43] local.INFO: Extracted packet for processing {"connection_id":163895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04843"} 
[2026-08-28 17:41:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17: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-28 17:41:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707130112001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:41:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:41:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:41:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:41:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787918778000,"timestamp_ms":1787918778000,"timestamp_seconds":1787918778,"priority":1,"record_length":96,"hex_timestamp":"000001a048437e90"} 
[2026-08-28 17: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-28 17: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-28 17: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":118,"data_length":795,"current_offset":136} 
[2026-08-28 17:41: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-28 17: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-28 17: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-28 17:41:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:41:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:41:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:41:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:41:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:41:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:41:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:41:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707130112001,"66":25451,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:41:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:41:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:41:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707130112001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:41:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:41:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17: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-28 17:41:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:41:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707130112001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:41:43] local.INFO: DEBUG: GPS processor result {"connection_id":163895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:41:43] local.INFO: GPS data processed {"connection_id":163895,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:41:43] local.INFO: Acknowledgment sent {"connection_id":163895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:41:46] local.INFO: TCP Data received {"connection_id":163895,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048437e90012d34c14006aa4840000f00e628..."} 
[2026-08-28 17:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048437e90012d34c14006aa4840000f00e628..."} 
[2026-08-28 17:41:46] local.INFO: Processing buffer {"connection_id":163895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048437e90012d34c14006aa4840000f00e628..."} 
[2026-08-28 17:41:46] local.INFO: Packet analysis {"connection_id":163895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04843"} 
[2026-08-28 17:41:46] local.INFO: Extracted packet for processing {"connection_id":163895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04843"} 
[2026-08-28 17:41:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17: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-28 17:41:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707130112001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:41:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:41:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:41:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:41:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787918778000,"timestamp_ms":1787918778000,"timestamp_seconds":1787918778,"priority":1,"record_length":96,"hex_timestamp":"000001a048437e90"} 
[2026-08-28 17: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-28 17:41: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-28 17: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 17:41: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-28 17: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-28 17: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-28 17:41:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:41:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:41:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:41:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:41:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:41:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:41:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:41:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707130112001,"66":25451,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:41:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:41:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:41:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707130112001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:41:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:41:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:41: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-28 17:41:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:41:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707130112001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:41:46] local.INFO: DEBUG: GPS processor result {"connection_id":163895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:41:46] local.INFO: GPS data processed {"connection_id":163895,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:41:46] local.INFO: Acknowledgment sent {"connection_id":163895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:41:56] local.INFO: TCP Data received {"connection_id":163896,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163896,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:41:56] local.INFO: Processing buffer {"connection_id":163896,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:41:56] local.INFO: IMEI packet received {"connection_id":163896,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 17:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":163896,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:42:02] local.INFO: TCP Data received {"connection_id":163896,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163896,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:42:02] local.INFO: Processing buffer {"connection_id":163896,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:42:02] local.INFO: IMEI packet received {"connection_id":163896,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 17:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":163896,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:42:03] local.INFO: TCP Data received {"connection_id":163896,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048460700012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048460700012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:42:03] local.INFO: Processing buffer {"connection_id":163896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048460700012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:42:03] local.INFO: Packet analysis {"connection_id":163896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04846"} 
[2026-08-28 17:42:03] local.INFO: Extracted packet for processing {"connection_id":163896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04846"} 
[2026-08-28 17:42:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707172608001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:42:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787918944000,"timestamp_ms":1787918944000,"timestamp_seconds":1787918944,"priority":1,"record_length":96,"hex_timestamp":"000001a048460700"} 
[2026-08-28 17:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:42:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 17:42:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:42:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163896,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163896,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707172608001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707172608001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:42:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:42:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707172608001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":163896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709208,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:42:03] local.INFO: GPS data processed {"connection_id":163896,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:42:03] local.INFO: Acknowledgment sent {"connection_id":163896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:42:07] local.INFO: TCP Data received {"connection_id":166259,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a04845dff0012d7b520005e140c80011006c1f..."} 
[2026-08-28 17:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04845dff0012d7b520005e140c80011006c1f..."} 
[2026-08-28 17:42:08] local.INFO: Processing buffer {"connection_id":166259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04845dff0012d7b520005e140c80011006c1f..."} 
[2026-08-28 17:42:08] local.INFO: Packet analysis {"connection_id":166259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04845"} 
[2026-08-28 17:42:08] local.INFO: Extracted packet for processing {"connection_id":166259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04845"} 
[2026-08-28 17:42:08] local.INFO: GPS Element Parsed {"raw_longitude":763056640,"raw_latitude":98648264,"longitude_deg":76.305664,"latitude_deg":9.8648264,"altitude":17,"angle":108,"satellites":31,"speed":0,"hex_longitude":"2d7b5200","hex_latitude":"05e140c8","is_valid_coordinates":true} 
[2026-08-28 17: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-28 17:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707245568001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232132430757888,"note":"Value kept but may cause issues"} 
[2026-08-28 17:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886165040009365504,"note":"Value kept but may cause issues"} 
[2026-08-28 17:42:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787918934000,"timestamp_ms":1787918934000,"timestamp_seconds":1787918934,"priority":1,"record_length":96,"hex_timestamp":"000001a04845dff0"} 
[2026-08-28 17: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-28 17:42:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17: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":36,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 17:42:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2475,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17: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-28 17: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-28 17:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":166259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":166259,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":166259,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707245568001,"66":4112,"216":206,"85":15104,"24":0,"16":125232132430757888,"45":8886165040009365504},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-08-28 17:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707245568001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:42:08] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-28 17:42:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232132430757888,"km_value":125232132430757.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886165040009365504,"description":"Unknown IO ID 45"} 
[2026-08-28 17:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707245568001,"power":4112,"unknown_216":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886165040009365504}} 
[2026-08-28 17:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":166259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709209,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:42:08] local.INFO: GPS data processed {"connection_id":166259,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:42:08] local.INFO: Acknowledgment sent {"connection_id":166259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:42:25] local.INFO: TCP Data received {"connection_id":166260,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166260,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:42:25] local.INFO: Processing buffer {"connection_id":166260,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:42:25] local.INFO: IMEI packet received {"connection_id":166260,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 17:42:25] local.INFO: IMEI acknowledgment sent {"connection_id":166260,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:42:30] local.INFO: TCP Data received {"connection_id":164908,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:42:30] local.INFO: Processing buffer {"connection_id":164908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:42:30] local.INFO: IMEI packet received {"connection_id":164908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 17:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":164908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:42:30] local.INFO: TCP Data received {"connection_id":166260,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166260,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:42:30] local.INFO: Processing buffer {"connection_id":166260,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:42:30] local.INFO: IMEI packet received {"connection_id":166260,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 17:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":166260,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:42:32] local.INFO: TCP Data received {"connection_id":166260,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a04845dff0012d7b520005e140c80011006c1f..."} 
[2026-08-28 17:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04845dff0012d7b520005e140c80011006c1f..."} 
[2026-08-28 17:42:32] local.INFO: Processing buffer {"connection_id":166260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04845dff0012d7b520005e140c80011006c1f..."} 
[2026-08-28 17:42:32] local.INFO: Packet analysis {"connection_id":166260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04845"} 
[2026-08-28 17:42:32] local.INFO: Extracted packet for processing {"connection_id":166260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04845"} 
[2026-08-28 17:42:32] local.INFO: GPS Element Parsed {"raw_longitude":763056640,"raw_latitude":98648264,"longitude_deg":76.305664,"latitude_deg":9.8648264,"altitude":17,"angle":108,"satellites":31,"speed":0,"hex_longitude":"2d7b5200","hex_latitude":"05e140c8","is_valid_coordinates":true} 
[2026-08-28 17:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707245568001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232132430757888,"note":"Value kept but may cause issues"} 
[2026-08-28 17:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886165040009365504,"note":"Value kept but may cause issues"} 
[2026-08-28 17:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787918934000,"timestamp_ms":1787918934000,"timestamp_seconds":1787918934,"priority":1,"record_length":96,"hex_timestamp":"000001a04845dff0"} 
[2026-08-28 17:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:42:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":36,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 17:42:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2475,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:42:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":166260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":166260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":166260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707245568001,"66":4112,"216":206,"85":15104,"24":0,"16":125232132430757888,"45":8886165040009365504},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-08-28 17:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707245568001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:42:32] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-28 17:42:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232132430757888,"km_value":125232132430757.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886165040009365504,"description":"Unknown IO ID 45"} 
[2026-08-28 17:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707245568001,"power":4112,"unknown_216":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886165040009365504}} 
[2026-08-28 17:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":166260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709210,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:42:32] local.INFO: GPS data processed {"connection_id":166260,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:42:32] local.INFO: Acknowledgment sent {"connection_id":166260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:42:35] local.INFO: TCP Data received {"connection_id":164908,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:42:35] local.INFO: Processing buffer {"connection_id":164908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:42:35] local.INFO: IMEI packet received {"connection_id":164908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 17:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":164908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:42:38] local.INFO: TCP Data received {"connection_id":163896,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048460700012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048460700012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:42:38] local.INFO: Processing buffer {"connection_id":163896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048460700012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:42:38] local.INFO: Packet analysis {"connection_id":163896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04846"} 
[2026-08-28 17:42:38] local.INFO: Extracted packet for processing {"connection_id":163896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04846"} 
[2026-08-28 17:42:38] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707172608001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:42:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787918944000,"timestamp_ms":1787918944000,"timestamp_seconds":1787918944,"priority":1,"record_length":96,"hex_timestamp":"000001a048460700"} 
[2026-08-28 17:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:42:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 17:42:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:42:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163896,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163896,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:42:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707172608001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707172608001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:42:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:42:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707172608001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":163896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709211,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:42:38] local.INFO: GPS data processed {"connection_id":163896,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:42:38] local.INFO: Acknowledgment sent {"connection_id":163896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:42:39] local.INFO: TCP Data received {"connection_id":164908,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048481658012d34c14006aa4840000b00e629..."} 
[2026-08-28 17:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048481658012d34c14006aa4840000b00e629..."} 
[2026-08-28 17:42:39] local.INFO: Processing buffer {"connection_id":164908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048481658012d34c14006aa4840000b00e629..."} 
[2026-08-28 17:42:39] local.INFO: Packet analysis {"connection_id":164908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04848"} 
[2026-08-28 17:42:39] local.INFO: Extracted packet for processing {"connection_id":164908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04848"} 
[2026-08-28 17:42:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:42:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707207168001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:42:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:42:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:42:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:42:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787919079000,"timestamp_ms":1787919079000,"timestamp_seconds":1787919079,"priority":1,"record_length":96,"hex_timestamp":"000001a048481658"} 
[2026-08-28 17:42:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:42:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-28 17:42:39] 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-28 17:42:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:42:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:42:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:42:39] local.INFO: Teltonika packet parsed successfully {"connection_id":164908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:42:39] local.INFO: Passing IMEI to GPS processor {"connection_id":164908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:42:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":164908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:42:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:42:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:42:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:42:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707207168001,"66":25430,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:42:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:42:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:42:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707207168001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:42:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:42:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:42:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:42:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:42:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707207168001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:42:39] 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":709212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:42:39] local.INFO: GPS data processed {"connection_id":164908,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:42:39] local.INFO: Acknowledgment sent {"connection_id":164908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:43:02] local.INFO: TCP Data received {"connection_id":163897,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163897,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:43:02] local.INFO: Processing buffer {"connection_id":163897,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:43:02] local.INFO: IMEI packet received {"connection_id":163897,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 17:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":163897,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:43:03] local.INFO: TCP Data received {"connection_id":166260,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a04845dff0012d7b520005e140c80011006c1f..."} 
[2026-08-28 17:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04845dff0012d7b520005e140c80011006c1f..."} 
[2026-08-28 17:43:03] local.INFO: Processing buffer {"connection_id":166260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04845dff0012d7b520005e140c80011006c1f..."} 
[2026-08-28 17:43:03] local.INFO: Packet analysis {"connection_id":166260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04845"} 
[2026-08-28 17:43:03] local.INFO: Extracted packet for processing {"connection_id":166260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04845"} 
[2026-08-28 17:43:03] local.INFO: GPS Element Parsed {"raw_longitude":763056640,"raw_latitude":98648264,"longitude_deg":76.305664,"latitude_deg":9.8648264,"altitude":17,"angle":108,"satellites":31,"speed":0,"hex_longitude":"2d7b5200","hex_latitude":"05e140c8","is_valid_coordinates":true} 
[2026-08-28 17:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707245568001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232132430757888,"note":"Value kept but may cause issues"} 
[2026-08-28 17:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886165040009365504,"note":"Value kept but may cause issues"} 
[2026-08-28 17:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787918934000,"timestamp_ms":1787918934000,"timestamp_seconds":1787918934,"priority":1,"record_length":96,"hex_timestamp":"000001a04845dff0"} 
[2026-08-28 17:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:43:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":36,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 17:43:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2475,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:43:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":166260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":166260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":166260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707245568001,"66":4112,"216":206,"85":15104,"24":0,"16":125232132430757888,"45":8886165040009365504},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-08-28 17:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707245568001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:43:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-28 17:43:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232132430757888,"km_value":125232132430757.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886165040009365504,"description":"Unknown IO ID 45"} 
[2026-08-28 17:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707245568001,"power":4112,"unknown_216":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886165040009365504}} 
[2026-08-28 17:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":166260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709213,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:43:03] local.INFO: GPS data processed {"connection_id":166260,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:43:03] local.INFO: Acknowledgment sent {"connection_id":166260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:43:06] local.INFO: TCP Data received {"connection_id":163897,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163897,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:43:06] local.INFO: Processing buffer {"connection_id":163897,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:43:06] local.INFO: IMEI packet received {"connection_id":163897,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 17:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":163897,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:43:08] local.INFO: TCP Data received {"connection_id":163897,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048460700012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048460700012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:43:08] local.INFO: Processing buffer {"connection_id":163897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048460700012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:43:08] local.INFO: Packet analysis {"connection_id":163897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04846"} 
[2026-08-28 17:43:08] local.INFO: Extracted packet for processing {"connection_id":163897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04846"} 
[2026-08-28 17:43:08] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:43:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707172608001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:43:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:43:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:43:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:43:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787918944000,"timestamp_ms":1787918944000,"timestamp_seconds":1787918944,"priority":1,"record_length":96,"hex_timestamp":"000001a048460700"} 
[2026-08-28 17:43:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:43:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 17:43:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:43:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:43:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:43:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:43:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:43:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163897,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:43:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163897,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:43:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:43:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:43:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:43:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707172608001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:43:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:43:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:43:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707172608001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:43:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:43:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:43:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:43:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:43:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707172608001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:43:08] local.INFO: DEBUG: GPS processor result {"connection_id":163897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709214,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:43:08] local.INFO: GPS data processed {"connection_id":163897,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:43:08] local.INFO: Acknowledgment sent {"connection_id":163897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:43:11] local.INFO: TCP Data received {"connection_id":164908,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048481658012d34c14006aa4840000b00e629..."} 
[2026-08-28 17:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048481658012d34c14006aa4840000b00e629..."} 
[2026-08-28 17:43:11] local.INFO: Processing buffer {"connection_id":164908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048481658012d34c14006aa4840000b00e629..."} 
[2026-08-28 17:43:11] local.INFO: Packet analysis {"connection_id":164908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04848"} 
[2026-08-28 17:43:11] local.INFO: Extracted packet for processing {"connection_id":164908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04848"} 
[2026-08-28 17:43:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707207168001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:43:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:43:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787919079000,"timestamp_ms":1787919079000,"timestamp_seconds":1787919079,"priority":1,"record_length":96,"hex_timestamp":"000001a048481658"} 
[2026-08-28 17:43:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:43:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-28 17:43:11] 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-28 17:43:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:43:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":164908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":164908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":164908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:43:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707207168001,"66":25430,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707207168001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:43:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:43:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:43: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-28 17:43:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707207168001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:43:11] 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":709215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:43:11] local.INFO: GPS data processed {"connection_id":164908,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:43:11] local.INFO: Acknowledgment sent {"connection_id":164908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:43:12] local.INFO: TCP Data received {"connection_id":163897,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048460700012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048460700012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:43:12] local.INFO: Processing buffer {"connection_id":163897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048460700012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:43:12] local.INFO: Packet analysis {"connection_id":163897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04846"} 
[2026-08-28 17:43:12] local.INFO: Extracted packet for processing {"connection_id":163897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04846"} 
[2026-08-28 17:43:12] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:43:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707172608001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:43:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:43:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:43:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:43:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787918944000,"timestamp_ms":1787918944000,"timestamp_seconds":1787918944,"priority":1,"record_length":96,"hex_timestamp":"000001a048460700"} 
[2026-08-28 17:43:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:43:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 17:43:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:43:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:43:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:43:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:43:12] local.INFO: Teltonika packet parsed successfully {"connection_id":163897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:43:12] local.INFO: Passing IMEI to GPS processor {"connection_id":163897,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:43:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":163897,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:43:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:43:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:43:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:43:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707172608001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:43:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:43:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:43:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707172608001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:43:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:43:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:43:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:43:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:43:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707172608001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:43:12] local.INFO: DEBUG: GPS processor result {"connection_id":163897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709216,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:43:12] local.INFO: GPS data processed {"connection_id":163897,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:43:12] local.INFO: Acknowledgment sent {"connection_id":163897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:43:19] local.INFO: TCP Data received {"connection_id":164910,"ip":"91.196.152.28","data_length":614,"data_hex":"16030302610100025d0303d03b2ae31040bdebaac8f11da0b6813afdc410e1af..."} 
[2026-08-28 17:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164910,"packet_length":614,"packet_hex":"16030302610100025d0303d03b2ae31040bdebaac8f11da0b6813afdc410e1af..."} 
[2026-08-28 17:43:19] local.INFO: Processing buffer {"connection_id":164910,"buffer_length":614,"buffer_hex":"16030302610100025d0303d03b2ae31040bdebaac8f11da0b6813afdc410e1af..."} 
[2026-08-28 17:43:19] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":164910,"buffer_length":614,"first_bytes_hex":"16030302610100025d0303d03b2ae310"} 
[2026-08-28 17:43:25] local.INFO: TCP Data received {"connection_id":163623,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163623,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:43:25] local.INFO: Processing buffer {"connection_id":163623,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:43:25] local.INFO: IMEI packet received {"connection_id":163623,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 17:43:25] local.INFO: IMEI acknowledgment sent {"connection_id":163623,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:43:30] local.INFO: TCP Data received {"connection_id":166261,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:43:30] local.INFO: Processing buffer {"connection_id":166261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:43:30] local.INFO: IMEI packet received {"connection_id":166261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 17:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":166261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:43:30] local.INFO: TCP Data received {"connection_id":163623,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163623,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:43:30] local.INFO: Processing buffer {"connection_id":163623,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:43:30] local.INFO: IMEI packet received {"connection_id":163623,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 17:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":163623,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:43:31] local.INFO: TCP Data received {"connection_id":163623,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a04845dff0012d7b520005e140c80011006c1f..."} 
[2026-08-28 17:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04845dff0012d7b520005e140c80011006c1f..."} 
[2026-08-28 17:43:31] local.INFO: Processing buffer {"connection_id":163623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04845dff0012d7b520005e140c80011006c1f..."} 
[2026-08-28 17:43:31] local.INFO: Packet analysis {"connection_id":163623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04845"} 
[2026-08-28 17:43:31] local.INFO: Extracted packet for processing {"connection_id":163623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04845"} 
[2026-08-28 17:43:31] local.INFO: GPS Element Parsed {"raw_longitude":763056640,"raw_latitude":98648264,"longitude_deg":76.305664,"latitude_deg":9.8648264,"altitude":17,"angle":108,"satellites":31,"speed":0,"hex_longitude":"2d7b5200","hex_latitude":"05e140c8","is_valid_coordinates":true} 
[2026-08-28 17:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707245568001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232132430757888,"note":"Value kept but may cause issues"} 
[2026-08-28 17:43:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886165040009365504,"note":"Value kept but may cause issues"} 
[2026-08-28 17:43:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787918934000,"timestamp_ms":1787918934000,"timestamp_seconds":1787918934,"priority":1,"record_length":96,"hex_timestamp":"000001a04845dff0"} 
[2026-08-28 17:43:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:43:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":36,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 17:43:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2475,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:43:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:43:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":163623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":163623,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":163623,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:43:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707245568001,"66":4112,"216":206,"85":15104,"24":0,"16":125232132430757888,"45":8886165040009365504},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-08-28 17:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707245568001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:43:31] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-28 17:43:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:43:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232132430757888,"km_value":125232132430757.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:43:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886165040009365504,"description":"Unknown IO ID 45"} 
[2026-08-28 17:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707245568001,"power":4112,"unknown_216":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886165040009365504}} 
[2026-08-28 17:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":163623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709217,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:43:31] local.INFO: GPS data processed {"connection_id":163623,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:43:31] local.INFO: Acknowledgment sent {"connection_id":163623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:43:35] local.INFO: TCP Data received {"connection_id":166261,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:43:35] local.INFO: Processing buffer {"connection_id":166261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:43:35] local.INFO: IMEI packet received {"connection_id":166261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 17:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":166261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:43:37] local.INFO: TCP Data received {"connection_id":166261,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048481658012d34c14006aa4840000b00e629..."} 
[2026-08-28 17:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048481658012d34c14006aa4840000b00e629..."} 
[2026-08-28 17:43:37] local.INFO: Processing buffer {"connection_id":166261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048481658012d34c14006aa4840000b00e629..."} 
[2026-08-28 17:43:37] local.INFO: Packet analysis {"connection_id":166261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04848"} 
[2026-08-28 17:43:37] local.INFO: Extracted packet for processing {"connection_id":166261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04848"} 
[2026-08-28 17:43:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707207168001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787919079000,"timestamp_ms":1787919079000,"timestamp_seconds":1787919079,"priority":1,"record_length":96,"hex_timestamp":"000001a048481658"} 
[2026-08-28 17:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-28 17:43:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":166261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":166261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":166261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707207168001,"66":25430,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707207168001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:43:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:43:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:43: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-28 17:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707207168001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":166261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:43:37] local.INFO: GPS data processed {"connection_id":166261,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:43:37] local.INFO: Acknowledgment sent {"connection_id":166261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:43:56] local.INFO: TCP Data received {"connection_id":163899,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163899,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:43:56] local.INFO: Processing buffer {"connection_id":163899,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:43:56] local.INFO: IMEI packet received {"connection_id":163899,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 17:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":163899,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:44:01] local.INFO: TCP Data received {"connection_id":163899,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163899,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:44:01] local.INFO: Processing buffer {"connection_id":163899,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:44:01] local.INFO: IMEI packet received {"connection_id":163899,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 17:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":163899,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:44:03] local.INFO: TCP Data received {"connection_id":163899,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048460700012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048460700012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:44:03] local.INFO: Processing buffer {"connection_id":163899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048460700012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:44:03] local.INFO: Packet analysis {"connection_id":163899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04846"} 
[2026-08-28 17:44:03] local.INFO: Extracted packet for processing {"connection_id":163899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04846"} 
[2026-08-28 17:44:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707172608001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:44:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787918944000,"timestamp_ms":1787918944000,"timestamp_seconds":1787918944,"priority":1,"record_length":96,"hex_timestamp":"000001a048460700"} 
[2026-08-28 17:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:44:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 17:44:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:44:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163899,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163899,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707172608001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707172608001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:44:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:44:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707172608001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":163899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709219,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:44:03] local.INFO: GPS data processed {"connection_id":163899,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:44:03] local.INFO: Acknowledgment sent {"connection_id":163899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:44:11] local.INFO: TCP Data received {"connection_id":166261,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048481658012d34c14006aa4840000b00e629..."} 
[2026-08-28 17:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048481658012d34c14006aa4840000b00e629..."} 
[2026-08-28 17:44:11] local.INFO: Processing buffer {"connection_id":166261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048481658012d34c14006aa4840000b00e629..."} 
[2026-08-28 17:44:11] local.INFO: Packet analysis {"connection_id":166261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04848"} 
[2026-08-28 17:44:11] local.INFO: Extracted packet for processing {"connection_id":166261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04848"} 
[2026-08-28 17:44:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707207168001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:44:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:44:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787919079000,"timestamp_ms":1787919079000,"timestamp_seconds":1787919079,"priority":1,"record_length":96,"hex_timestamp":"000001a048481658"} 
[2026-08-28 17:44:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:44:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-28 17:44:11] 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-28 17:44:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:44:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":166261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":166261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":166261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:44:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707207168001,"66":25430,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707207168001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:44:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:44:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:44: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-28 17:44:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707207168001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":166261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:44:11] local.INFO: GPS data processed {"connection_id":166261,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:44:11] local.INFO: Acknowledgment sent {"connection_id":166261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:44:30] local.INFO: TCP Data received {"connection_id":163900,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:44:30] local.INFO: Processing buffer {"connection_id":163900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:44:30] local.INFO: IMEI packet received {"connection_id":163900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 17:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":163900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:44:35] local.INFO: TCP Data received {"connection_id":163900,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:44:35] local.INFO: Processing buffer {"connection_id":163900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:44:35] local.INFO: IMEI packet received {"connection_id":163900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 17:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":163900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:44:38] local.INFO: TCP Data received {"connection_id":163900,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048481658012d34c14006aa4840000b00e629..."} 
[2026-08-28 17:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048481658012d34c14006aa4840000b00e629..."} 
[2026-08-28 17:44:38] local.INFO: Processing buffer {"connection_id":163900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048481658012d34c14006aa4840000b00e629..."} 
[2026-08-28 17:44:38] local.INFO: Packet analysis {"connection_id":163900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04848"} 
[2026-08-28 17:44:38] local.INFO: Extracted packet for processing {"connection_id":163900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04848"} 
[2026-08-28 17:44:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707207168001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:44:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787919079000,"timestamp_ms":1787919079000,"timestamp_seconds":1787919079,"priority":1,"record_length":96,"hex_timestamp":"000001a048481658"} 
[2026-08-28 17:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:44:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-28 17:44:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:44:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:44:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707207168001,"66":25430,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707207168001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:44:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:44:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:44: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-28 17:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707207168001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":163900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:44:38] local.INFO: GPS data processed {"connection_id":163900,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:44:38] local.INFO: Acknowledgment sent {"connection_id":163900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:44:46] local.INFO: TCP Data received {"connection_id":163899,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048460700012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048460700012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:44:46] local.INFO: Processing buffer {"connection_id":163899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048460700012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:44:46] local.INFO: Packet analysis {"connection_id":163899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04846"} 
[2026-08-28 17:44:46] local.INFO: Extracted packet for processing {"connection_id":163899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04846"} 
[2026-08-28 17:44:46] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707172608001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:44:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:44:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787918944000,"timestamp_ms":1787918944000,"timestamp_seconds":1787918944,"priority":1,"record_length":96,"hex_timestamp":"000001a048460700"} 
[2026-08-28 17:44:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:44:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 17:44: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-28 17:44:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:44:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163899,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163899,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:44:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707172608001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707172608001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:44:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:44:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:44:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707172608001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":163899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709222,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:44:46] local.INFO: GPS data processed {"connection_id":163899,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:44:46] local.INFO: Acknowledgment sent {"connection_id":163899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:44:56] local.INFO: TCP Data received {"connection_id":166263,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166263,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:44:56] local.INFO: Processing buffer {"connection_id":166263,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:44:56] local.INFO: IMEI packet received {"connection_id":166263,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 17:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":166263,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:45:01] local.INFO: TCP Data received {"connection_id":166263,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166263,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:45:01] local.INFO: Processing buffer {"connection_id":166263,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:45:01] local.INFO: IMEI packet received {"connection_id":166263,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 17:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":166263,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:45:03] local.INFO: TCP Data received {"connection_id":166263,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0484a9ec8012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0484a9ec8012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:45:03] local.INFO: Processing buffer {"connection_id":166263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0484a9ec8012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:45:03] local.INFO: Packet analysis {"connection_id":166263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0484a"} 
[2026-08-28 17:45:03] local.INFO: Extracted packet for processing {"connection_id":166263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0484a"} 
[2026-08-28 17:45:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707249664001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:45:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787919245000,"timestamp_ms":1787919245000,"timestamp_seconds":1787919245,"priority":1,"record_length":96,"hex_timestamp":"000001a0484a9ec8"} 
[2026-08-28 17:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:45:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 17:45:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:45:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":166263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":166263,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":166263,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:45:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707249664001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707249664001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:45:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:45:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707249664001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":166263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709223,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:45:04] local.INFO: GPS data processed {"connection_id":166263,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:45:04] local.INFO: Acknowledgment sent {"connection_id":166263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:45:12] local.INFO: TCP Data received {"connection_id":163900,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048481658012d34c14006aa4840000b00e629..."} 
[2026-08-28 17:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048481658012d34c14006aa4840000b00e629..."} 
[2026-08-28 17:45:12] local.INFO: Processing buffer {"connection_id":163900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048481658012d34c14006aa4840000b00e629..."} 
[2026-08-28 17:45:12] local.INFO: Packet analysis {"connection_id":163900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04848"} 
[2026-08-28 17:45:12] local.INFO: Extracted packet for processing {"connection_id":163900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04848"} 
[2026-08-28 17:45:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707207168001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:45:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787919079000,"timestamp_ms":1787919079000,"timestamp_seconds":1787919079,"priority":1,"record_length":96,"hex_timestamp":"000001a048481658"} 
[2026-08-28 17:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:45:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-28 17:45:12] 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-28 17:45:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":163900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":163900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":163900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707207168001,"66":25430,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707207168001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:45:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:45:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:45: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-28 17:45:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707207168001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":163900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:45:12] local.INFO: GPS data processed {"connection_id":163900,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:45:12] local.INFO: Acknowledgment sent {"connection_id":163900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:45:35] local.INFO: TCP Data received {"connection_id":166264,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:45:35] local.INFO: Processing buffer {"connection_id":166264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:45:35] local.INFO: IMEI packet received {"connection_id":166264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 17:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":166264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:45:37] local.INFO: TCP Data received {"connection_id":166263,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0484a9ec8012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0484a9ec8012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:45:37] local.INFO: Processing buffer {"connection_id":166263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0484a9ec8012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:45:37] local.INFO: Packet analysis {"connection_id":166263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0484a"} 
[2026-08-28 17:45:37] local.INFO: Extracted packet for processing {"connection_id":166263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0484a"} 
[2026-08-28 17:45:37] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707249664001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787919245000,"timestamp_ms":1787919245000,"timestamp_seconds":1787919245,"priority":1,"record_length":96,"hex_timestamp":"000001a0484a9ec8"} 
[2026-08-28 17:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 17:45:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":166263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":166263,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":166263,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707249664001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707249664001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:45:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:45:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707249664001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":166263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709225,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:45:37] local.INFO: GPS data processed {"connection_id":166263,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:45:37] local.INFO: Acknowledgment sent {"connection_id":166263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:45:45] local.INFO: TCP Data received {"connection_id":166264,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:45:45] local.INFO: Processing buffer {"connection_id":166264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:45:45] local.INFO: IMEI packet received {"connection_id":166264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 17:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":166264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:45:46] local.INFO: TCP Data received {"connection_id":166264,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048481658012d34c14006aa4840000b00e629..."} 
[2026-08-28 17:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048481658012d34c14006aa4840000b00e629..."} 
[2026-08-28 17:45:46] local.INFO: Processing buffer {"connection_id":166264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048481658012d34c14006aa4840000b00e629..."} 
[2026-08-28 17:45:46] local.INFO: Packet analysis {"connection_id":166264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04848"} 
[2026-08-28 17:45:46] local.INFO: Extracted packet for processing {"connection_id":166264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04848"} 
[2026-08-28 17:45:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707207168001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:45:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:45:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787919079000,"timestamp_ms":1787919079000,"timestamp_seconds":1787919079,"priority":1,"record_length":96,"hex_timestamp":"000001a048481658"} 
[2026-08-28 17:45:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:45: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-28 17:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-28 17:45:46] 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-28 17:45:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:45:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":166264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":166264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":166264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:45:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707207168001,"66":25430,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707207168001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:45:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:45:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:45: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-28 17:45:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:45:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707207168001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":166264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:45:46] local.INFO: GPS data processed {"connection_id":166264,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:45:46] local.INFO: Acknowledgment sent {"connection_id":166264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:45:53] local.INFO: TCP Data received {"connection_id":163624,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163624,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:45:53] local.INFO: Processing buffer {"connection_id":163624,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:45:53] local.INFO: IMEI packet received {"connection_id":163624,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 17:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":163624,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:45:58] local.INFO: TCP Data received {"connection_id":163624,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163624,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:45:58] local.INFO: Processing buffer {"connection_id":163624,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:45:58] local.INFO: IMEI packet received {"connection_id":163624,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":163624,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:45:59] local.INFO: TCP Data received {"connection_id":163624,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0484abe08012d1a6b800720cb78004400ba26..."} 
[2026-08-28 17:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0484abe08012d1a6b800720cb78004400ba26..."} 
[2026-08-28 17:45:59] local.INFO: Processing buffer {"connection_id":163624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0484abe08012d1a6b800720cb78004400ba26..."} 
[2026-08-28 17:45:59] local.INFO: Packet analysis {"connection_id":163624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0484a"} 
[2026-08-28 17:45:59] local.INFO: Extracted packet for processing {"connection_id":163624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0484a"} 
[2026-08-28 17:45:59] local.INFO: GPS Element Parsed {"raw_longitude":756706176,"raw_latitude":119589752,"longitude_deg":75.6706176,"latitude_deg":11.9589752,"altitude":68,"angle":186,"satellites":38,"speed":6,"hex_longitude":"2d1a6b80","hex_latitude":"0720cb78","is_valid_coordinates":true} 
[2026-08-28 17:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707328000001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15991292819406848,"note":"Value kept but may cause issues"} 
[2026-08-28 17:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903896773085999104,"note":"Value kept but may cause issues"} 
[2026-08-28 17:45:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787919253000,"timestamp_ms":1787919253000,"timestamp_seconds":1787919253,"priority":1,"record_length":96,"hex_timestamp":"000001a0484abe08"} 
[2026-08-28 17:45:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:45:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-28 17:45:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:45:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:45:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":163624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":163624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":163624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:45:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707328000001,"66":14048,"103":206,"83":41984,"24":6,"16":15991292819406848,"45":1903896773085999104},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 17:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707328000001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:45:59] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 17:45:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15991292819406848,"km_value":15991292819406.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:45:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903896773085999104,"description":"Unknown IO ID 45"} 
[2026-08-28 17:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707328000001,"power":14048,"unknown_103":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1903896773085999104}} 
[2026-08-28 17:45:59] 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":709227,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:45:59] local.INFO: GPS data processed {"connection_id":163624,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:45:59] local.INFO: Acknowledgment sent {"connection_id":163624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:46:01] local.INFO: TCP Data received {"connection_id":163901,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163901,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:46:01] local.INFO: Processing buffer {"connection_id":163901,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:46:01] local.INFO: IMEI packet received {"connection_id":163901,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 17:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":163901,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:46:06] local.INFO: TCP Data received {"connection_id":163901,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163901,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:46:06] local.INFO: Processing buffer {"connection_id":163901,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:46:06] local.INFO: IMEI packet received {"connection_id":163901,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 17:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":163901,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:46:08] local.INFO: TCP Data received {"connection_id":163901,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0484a9ec8012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0484a9ec8012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:46:08] local.INFO: Processing buffer {"connection_id":163901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0484a9ec8012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:46:08] local.INFO: Packet analysis {"connection_id":163901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0484a"} 
[2026-08-28 17:46:08] local.INFO: Extracted packet for processing {"connection_id":163901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0484a"} 
[2026-08-28 17:46:08] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707249664001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787919245000,"timestamp_ms":1787919245000,"timestamp_seconds":1787919245,"priority":1,"record_length":96,"hex_timestamp":"000001a0484a9ec8"} 
[2026-08-28 17:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:46:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 17:46:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:46:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163901,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163901,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:46:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707249664001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707249664001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:46:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:46:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707249664001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":163901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709228,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:46:08] local.INFO: GPS data processed {"connection_id":163901,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:46:08] local.INFO: Acknowledgment sent {"connection_id":163901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:46:14] local.INFO: TCP Data received {"connection_id":163901,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0484a9ec8012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0484a9ec8012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:46:14] local.INFO: Processing buffer {"connection_id":163901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0484a9ec8012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:46:14] local.INFO: Packet analysis {"connection_id":163901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0484a"} 
[2026-08-28 17:46:14] local.INFO: Extracted packet for processing {"connection_id":163901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0484a"} 
[2026-08-28 17:46:14] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 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-28 17:46:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707249664001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:46:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:46:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:46:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:46:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787919245000,"timestamp_ms":1787919245000,"timestamp_seconds":1787919245,"priority":1,"record_length":96,"hex_timestamp":"000001a0484a9ec8"} 
[2026-08-28 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-28 17:46:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 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-28 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-28 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-28 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-28 17:46:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:46:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:46:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163901,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:46:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163901,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:46:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:46:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:46:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:46:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707249664001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:46:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:46:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:46:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707249664001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:46:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:46:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:46:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:46:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:46:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707249664001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:46:15] local.INFO: DEBUG: GPS processor result {"connection_id":163901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709229,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:46:15] local.INFO: GPS data processed {"connection_id":163901,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:46:15] local.INFO: Acknowledgment sent {"connection_id":163901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:46:35] local.INFO: TCP Data received {"connection_id":163902,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:46:35] local.INFO: Processing buffer {"connection_id":163902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:46:35] local.INFO: IMEI packet received {"connection_id":163902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 17:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":163902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:46:41] local.INFO: TCP Data received {"connection_id":163902,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:46:41] local.INFO: Processing buffer {"connection_id":163902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:46:41] local.INFO: IMEI packet received {"connection_id":163902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 17:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":163902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:46:43] local.INFO: TCP Data received {"connection_id":163903,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163903,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:46:43] local.INFO: Processing buffer {"connection_id":163903,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:46:43] local.INFO: IMEI packet received {"connection_id":163903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 17:46:43] local.INFO: IMEI acknowledgment sent {"connection_id":163903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:46:43] local.INFO: TCP Data received {"connection_id":163903,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163903,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:46:43] local.INFO: Processing buffer {"connection_id":163903,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:46:43] local.INFO: IMEI packet received {"connection_id":163903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:46:43] local.INFO: IMEI acknowledgment sent {"connection_id":163903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:46:44] local.INFO: TCP Data received {"connection_id":163903,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163903,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:46:44] local.INFO: Processing buffer {"connection_id":163903,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:46:44] local.INFO: IMEI packet received {"connection_id":163903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":163903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:46:45] local.INFO: TCP Data received {"connection_id":163902,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048481658012d34c14006aa4840000b00e629..."} 
[2026-08-28 17:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048481658012d34c14006aa4840000b00e629..."} 
[2026-08-28 17:46:45] local.INFO: Processing buffer {"connection_id":163902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048481658012d34c14006aa4840000b00e629..."} 
[2026-08-28 17:46:45] local.INFO: Packet analysis {"connection_id":163902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04848"} 
[2026-08-28 17:46:45] local.INFO: Extracted packet for processing {"connection_id":163902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04848"} 
[2026-08-28 17:46:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:46:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707207168001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:46:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:46:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:46:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:46:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787919079000,"timestamp_ms":1787919079000,"timestamp_seconds":1787919079,"priority":1,"record_length":96,"hex_timestamp":"000001a048481658"} 
[2026-08-28 17:46:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:46: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-28 17:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-28 17:46:45] 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-28 17:46:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:46:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:46:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:46:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:46:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:46:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:46:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:46:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:46:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:46:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707207168001,"66":25430,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:46:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:46:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:46:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707207168001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:46:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:46:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17: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-28 17:46:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:46:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707207168001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:46:45] local.INFO: DEBUG: GPS processor result {"connection_id":163902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:46:45] local.INFO: GPS data processed {"connection_id":163902,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:46:45] local.INFO: Acknowledgment sent {"connection_id":163902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:46:48] local.INFO: TCP Data received {"connection_id":163903,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163903,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:46:48] local.INFO: Processing buffer {"connection_id":163903,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:46:48] local.INFO: IMEI packet received {"connection_id":163903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":163903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:46:49] local.INFO: TCP Data received {"connection_id":163903,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0484c3cd8012d1a5a400720e4a00043013128..."} 
[2026-08-28 17:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0484c3cd8012d1a5a400720e4a00043013128..."} 
[2026-08-28 17:46:49] local.INFO: Processing buffer {"connection_id":163903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0484c3cd8012d1a5a400720e4a00043013128..."} 
[2026-08-28 17:46:49] local.INFO: Packet analysis {"connection_id":163903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0484c"} 
[2026-08-28 17:46:49] local.INFO: Extracted packet for processing {"connection_id":163903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0484c"} 
[2026-08-28 17:46:49] local.INFO: GPS Element Parsed {"raw_longitude":756701760,"raw_latitude":119596192,"longitude_deg":75.670176,"latitude_deg":11.9596192,"altitude":67,"angle":305,"satellites":40,"speed":17,"hex_longitude":"2d1a5a40","hex_latitude":"0720e4a0","is_valid_coordinates":true} 
[2026-08-28 17: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-28 17:46:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707350272001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:46:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15991760970842112,"note":"Value kept but may cause issues"} 
[2026-08-28 17:46:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1904178248063035392,"note":"Value kept but may cause issues"} 
[2026-08-28 17:46:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:46:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787919351000,"timestamp_ms":1787919351000,"timestamp_seconds":1787919351,"priority":1,"record_length":96,"hex_timestamp":"000001a0484c3cd8"} 
[2026-08-28 17: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-28 17:46:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-28 17:46:49] 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-28 17: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-28 17: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-28 17:46:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:46:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:46:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:46:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:46:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:46:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:46:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:46:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707350272001,"66":14483,"103":206,"83":41984,"24":17,"16":15991760970842112,"45":1904178248063035392},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 17:46:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:46:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:46:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707350272001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:46:49] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 17:46:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:46:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15991760970842112,"km_value":15991760970842.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:46:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1904178248063035392,"description":"Unknown IO ID 45"} 
[2026-08-28 17:46:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707350272001,"power":14483,"unknown_103":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1904178248063035392}} 
[2026-08-28 17:46:49] local.INFO: DEBUG: GPS processor result {"connection_id":163903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709231,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:46:49] local.INFO: GPS data processed {"connection_id":163903,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:46:49] local.INFO: Acknowledgment sent {"connection_id":163903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:46:56] local.INFO: TCP Data received {"connection_id":163625,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163625,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:46:56] local.INFO: Processing buffer {"connection_id":163625,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:46:56] local.INFO: IMEI packet received {"connection_id":163625,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 17:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":163625,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:47:02] local.INFO: TCP Data received {"connection_id":163625,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163625,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:47:02] local.INFO: Processing buffer {"connection_id":163625,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:47:02] local.INFO: IMEI packet received {"connection_id":163625,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 17:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":163625,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:47:07] local.INFO: TCP Data received {"connection_id":163625,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0484a9ec8012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0484a9ec8012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:47:07] local.INFO: Processing buffer {"connection_id":163625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0484a9ec8012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:47:07] local.INFO: Packet analysis {"connection_id":163625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0484a"} 
[2026-08-28 17:47:07] local.INFO: Extracted packet for processing {"connection_id":163625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0484a"} 
[2026-08-28 17:47:07] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707249664001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787919245000,"timestamp_ms":1787919245000,"timestamp_seconds":1787919245,"priority":1,"record_length":96,"hex_timestamp":"000001a0484a9ec8"} 
[2026-08-28 17:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:47:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 17:47:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:47:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":163625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":163625,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":163625,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707249664001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707249664001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:47:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:47:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707249664001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:47:07] 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":709232,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:47:07] local.INFO: GPS data processed {"connection_id":163625,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:47:07] local.INFO: Acknowledgment sent {"connection_id":163625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:47:20] local.INFO: TCP Data received {"connection_id":163903,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0484c67d0012d1a49800720eed00043012426..."} 
[2026-08-28 17:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0484c67d0012d1a49800720eed00043012426..."} 
[2026-08-28 17:47:20] local.INFO: Processing buffer {"connection_id":163903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0484c67d0012d1a49800720eed00043012426..."} 
[2026-08-28 17:47:20] local.INFO: Packet analysis {"connection_id":163903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0484c"} 
[2026-08-28 17:47:20] local.INFO: Extracted packet for processing {"connection_id":163903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0484c"} 
[2026-08-28 17:47:20] local.INFO: GPS Element Parsed {"raw_longitude":756697472,"raw_latitude":119598800,"longitude_deg":75.6697472,"latitude_deg":11.95988,"altitude":67,"angle":292,"satellites":38,"speed":16,"hex_longitude":"2d1a4980","hex_latitude":"0720eed0","is_valid_coordinates":true} 
[2026-08-28 17:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:47:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707353856001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:47:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15992001489010688,"note":"Value kept but may cause issues"} 
[2026-08-28 17:47:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1898900592250888192,"note":"Value kept but may cause issues"} 
[2026-08-28 17:47:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:47:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787919362000,"timestamp_ms":1787919362000,"timestamp_seconds":1787919362,"priority":1,"record_length":96,"hex_timestamp":"000001a0484c67d0"} 
[2026-08-28 17:47:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:47:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-28 17:47:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:47:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:47:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:47:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:47:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:47:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:47:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:47:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:47:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:47:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:47:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707353856001,"66":14080,"103":206,"83":41984,"24":16,"16":15992001489010688,"45":1898900592250888192},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 17:47:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:47:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:47:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707353856001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:47:20] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 17:47:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:47:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15992001489010688,"km_value":15992001489010.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:47:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1898900592250888192,"description":"Unknown IO ID 45"} 
[2026-08-28 17:47:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707353856001,"power":14080,"unknown_103":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1898900592250888192}} 
[2026-08-28 17:47:20] local.INFO: DEBUG: GPS processor result {"connection_id":163903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709233,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:47:20] local.INFO: GPS data processed {"connection_id":163903,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:47:20] local.INFO: Acknowledgment sent {"connection_id":163903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:47:30] local.INFO: TCP Data received {"connection_id":163626,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:47:30] local.INFO: Processing buffer {"connection_id":163626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:47:30] local.INFO: IMEI packet received {"connection_id":163626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 17:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":163626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:47:36] local.INFO: TCP Data received {"connection_id":163626,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:47:36] local.INFO: Processing buffer {"connection_id":163626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:47:36] local.INFO: IMEI packet received {"connection_id":163626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 17:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":163626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:47:39] local.INFO: TCP Data received {"connection_id":163626,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0484cae20012d34c14006aa4840000900e628..."} 
[2026-08-28 17:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0484cae20012d34c14006aa4840000900e628..."} 
[2026-08-28 17:47:39] local.INFO: Processing buffer {"connection_id":163626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0484cae20012d34c14006aa4840000900e628..."} 
[2026-08-28 17:47:39] local.INFO: Packet analysis {"connection_id":163626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0484c"} 
[2026-08-28 17:47:39] local.INFO: Extracted packet for processing {"connection_id":163626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0484c"} 
[2026-08-28 17:47:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:47:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707284224001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:47:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:47:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:47:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:47:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787919380000,"timestamp_ms":1787919380000,"timestamp_seconds":1787919380,"priority":1,"record_length":96,"hex_timestamp":"000001a0484cae20"} 
[2026-08-28 17:47:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:47:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 17:47:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:47:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:47:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:47:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:47:39] local.INFO: Teltonika packet parsed successfully {"connection_id":163626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:47:39] local.INFO: Passing IMEI to GPS processor {"connection_id":163626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:47:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":163626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:47:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:47:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:47:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:47:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707284224001,"66":25441,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:47:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:47:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:47:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707284224001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:47:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:47:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:47:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:47:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:47:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707284224001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:47:39] local.INFO: DEBUG: GPS processor result {"connection_id":163626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:47:39] local.INFO: GPS data processed {"connection_id":163626,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:47:39] local.INFO: Acknowledgment sent {"connection_id":163626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:47:41] local.INFO: TCP Data received {"connection_id":163625,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0484a9ec8012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0484a9ec8012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:47:41] local.INFO: Processing buffer {"connection_id":163625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0484a9ec8012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:47:41] local.INFO: Packet analysis {"connection_id":163625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0484a"} 
[2026-08-28 17:47:41] local.INFO: Extracted packet for processing {"connection_id":163625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0484a"} 
[2026-08-28 17:47:41] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707249664001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:47:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:47:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787919245000,"timestamp_ms":1787919245000,"timestamp_seconds":1787919245,"priority":1,"record_length":96,"hex_timestamp":"000001a0484a9ec8"} 
[2026-08-28 17:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:47:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 17:47: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-28 17:47:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":163625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":163625,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":163625,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:47:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707249664001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707249664001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:47:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:47:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:47:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707249664001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:47:41] 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":709235,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:47:41] local.INFO: GPS data processed {"connection_id":163625,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:47:41] local.INFO: Acknowledgment sent {"connection_id":163625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:47:43] local.INFO: TCP Data received {"connection_id":166265,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166265,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:47:43] local.INFO: Processing buffer {"connection_id":166265,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:47:43] local.INFO: IMEI packet received {"connection_id":166265,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 17:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":166265,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:47:44] local.INFO: TCP Data received {"connection_id":166265,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166265,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:47:44] local.INFO: Processing buffer {"connection_id":166265,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:47:44] local.INFO: IMEI packet received {"connection_id":166265,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:47:44] local.INFO: IMEI acknowledgment sent {"connection_id":166265,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:47:48] local.INFO: TCP Data received {"connection_id":166265,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166265,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:47:48] local.INFO: Processing buffer {"connection_id":166265,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:47:48] local.INFO: IMEI packet received {"connection_id":166265,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":166265,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:47:48] local.INFO: TCP Data received {"connection_id":166265,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0484d2350012d1a25800720d3b8003f00f425..."} 
[2026-08-28 17:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0484d2350012d1a25800720d3b8003f00f425..."} 
[2026-08-28 17:47:48] local.INFO: Processing buffer {"connection_id":166265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0484d2350012d1a25800720d3b8003f00f425..."} 
[2026-08-28 17:47:48] local.INFO: Packet analysis {"connection_id":166265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0484d"} 
[2026-08-28 17:47:48] local.INFO: Extracted packet for processing {"connection_id":166265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0484d"} 
[2026-08-28 17:47:48] local.INFO: GPS Element Parsed {"raw_longitude":756688256,"raw_latitude":119591864,"longitude_deg":75.6688256,"latitude_deg":11.9591864,"altitude":63,"angle":244,"satellites":37,"speed":15,"hex_longitude":"2d1a2580","hex_latitude":"0720d3b8","is_valid_coordinates":true} 
[2026-08-28 17: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-28 17:47:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707364864001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:47:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15992701568679936,"note":"Value kept but may cause issues"} 
[2026-08-28 17:47:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1886023112065572864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:47:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:47:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787919410000,"timestamp_ms":1787919410000,"timestamp_seconds":1787919410,"priority":1,"record_length":96,"hex_timestamp":"000001a0484d2350"} 
[2026-08-28 17: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-28 17:47:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-28 17:47:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17: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-28 17: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-28 17:47:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:47:48] local.INFO: Teltonika packet parsed successfully {"connection_id":166265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:47:48] local.INFO: Passing IMEI to GPS processor {"connection_id":166265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:47:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":166265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:47:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:47:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:47:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:47:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707364864001,"66":14483,"103":206,"83":41984,"24":15,"16":15992701568679936,"45":1886023112065572864},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 17:47:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:47:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:47:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707364864001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:47:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 17:47:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:47:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15992701568679936,"km_value":15992701568679.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:47:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1886023112065572864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:47:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707364864001,"power":14483,"unknown_103":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1886023112065572864}} 
[2026-08-28 17:47:48] local.INFO: DEBUG: GPS processor result {"connection_id":166265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709236,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:47:48] local.INFO: GPS data processed {"connection_id":166265,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:47:48] local.INFO: Acknowledgment sent {"connection_id":166265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:47:56] local.INFO: TCP Data received {"connection_id":163904,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163904,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:47:56] local.INFO: Processing buffer {"connection_id":163904,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:47:56] local.INFO: IMEI packet received {"connection_id":163904,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 17:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":163904,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:48:01] local.INFO: TCP Data received {"connection_id":163904,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163904,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:48:01] local.INFO: Processing buffer {"connection_id":163904,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:48:01] local.INFO: IMEI packet received {"connection_id":163904,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 17:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":163904,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:48:03] local.INFO: TCP Data received {"connection_id":163904,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0484a9ec8012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0484a9ec8012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:48:03] local.INFO: Processing buffer {"connection_id":163904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0484a9ec8012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:48:03] local.INFO: Packet analysis {"connection_id":163904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0484a"} 
[2026-08-28 17:48:03] local.INFO: Extracted packet for processing {"connection_id":163904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0484a"} 
[2026-08-28 17:48:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707249664001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:48:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787919245000,"timestamp_ms":1787919245000,"timestamp_seconds":1787919245,"priority":1,"record_length":96,"hex_timestamp":"000001a0484a9ec8"} 
[2026-08-28 17:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:48:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 17:48:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:48:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163904,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163904,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707249664001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707249664001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:48:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:48:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707249664001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":163904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709237,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:48:03] local.INFO: GPS data processed {"connection_id":163904,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:48:03] local.INFO: Acknowledgment sent {"connection_id":163904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:48:11] local.INFO: TCP Data received {"connection_id":163626,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0484cae20012d34c14006aa4840000900e628..."} 
[2026-08-28 17:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0484cae20012d34c14006aa4840000900e628..."} 
[2026-08-28 17:48:11] local.INFO: Processing buffer {"connection_id":163626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0484cae20012d34c14006aa4840000900e628..."} 
[2026-08-28 17:48:11] local.INFO: Packet analysis {"connection_id":163626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0484c"} 
[2026-08-28 17:48:11] local.INFO: Extracted packet for processing {"connection_id":163626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0484c"} 
[2026-08-28 17:48:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:48:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707284224001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:48:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:48:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:48:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:48:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787919380000,"timestamp_ms":1787919380000,"timestamp_seconds":1787919380,"priority":1,"record_length":96,"hex_timestamp":"000001a0484cae20"} 
[2026-08-28 17:48:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:48:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 17:48:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:48:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:48:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:48:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:48:11] local.INFO: Teltonika packet parsed successfully {"connection_id":163626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:48:11] local.INFO: Passing IMEI to GPS processor {"connection_id":163626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:48:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":163626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:48:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:48:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:48:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:48:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707284224001,"66":25441,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:48:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:48:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:48:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707284224001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:48:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:48:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:48: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-28 17:48:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:48:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707284224001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:48:11] local.INFO: DEBUG: GPS processor result {"connection_id":163626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:48:11] local.INFO: GPS data processed {"connection_id":163626,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:48:11] local.INFO: Acknowledgment sent {"connection_id":163626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:48:19] local.INFO: TCP Data received {"connection_id":166265,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0484d4290012d1a17000720cc10003c00e227..."} 
[2026-08-28 17:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0484d4290012d1a17000720cc10003c00e227..."} 
[2026-08-28 17:48:19] local.INFO: Processing buffer {"connection_id":166265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0484d4290012d1a17000720cc10003c00e227..."} 
[2026-08-28 17:48:19] local.INFO: Packet analysis {"connection_id":166265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0484d"} 
[2026-08-28 17:48:19] local.INFO: Extracted packet for processing {"connection_id":166265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0484d"} 
[2026-08-28 17:48:19] local.INFO: GPS Element Parsed {"raw_longitude":756684544,"raw_latitude":119589904,"longitude_deg":75.6684544,"latitude_deg":11.9589904,"altitude":60,"angle":226,"satellites":39,"speed":21,"hex_longitude":"2d1a1700","hex_latitude":"0720cc10","is_valid_coordinates":true} 
[2026-08-28 17:48:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:48:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707368960001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:48:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15992903432142848,"note":"Value kept but may cause issues"} 
[2026-08-28 17:48:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1884052787228293120,"note":"Value kept but may cause issues"} 
[2026-08-28 17:48:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:48:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787919418000,"timestamp_ms":1787919418000,"timestamp_seconds":1787919418,"priority":1,"record_length":96,"hex_timestamp":"000001a0484d4290"} 
[2026-08-28 17:48:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:48:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:48:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-28 17:48:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:48:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:48:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:48:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:48:19] local.INFO: Teltonika packet parsed successfully {"connection_id":166265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:48:19] local.INFO: Passing IMEI to GPS processor {"connection_id":166265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:48:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":166265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:48:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:48:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:48:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:48:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707368960001,"66":14494,"103":206,"83":41984,"24":21,"16":15992903432142848,"45":1884052787228293120},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 17:48:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:48:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:48:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707368960001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:48:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 17:48:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:48:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15992903432142848,"km_value":15992903432142.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:48:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1884052787228293120,"description":"Unknown IO ID 45"} 
[2026-08-28 17:48:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707368960001,"power":14494,"unknown_103":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1884052787228293120}} 
[2026-08-28 17:48:19] local.INFO: DEBUG: GPS processor result {"connection_id":166265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709239,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:48:19] local.INFO: GPS data processed {"connection_id":166265,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:48:19] local.INFO: Acknowledgment sent {"connection_id":166265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:48:36] local.INFO: TCP Data received {"connection_id":163627,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:48:36] local.INFO: Processing buffer {"connection_id":163627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:48:36] local.INFO: IMEI packet received {"connection_id":163627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 17:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":163627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:48:37] local.INFO: TCP Data received {"connection_id":163904,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0484a9ec8012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0484a9ec8012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:48:37] local.INFO: Processing buffer {"connection_id":163904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0484a9ec8012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:48:37] local.INFO: Packet analysis {"connection_id":163904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0484a"} 
[2026-08-28 17:48:37] local.INFO: Extracted packet for processing {"connection_id":163904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0484a"} 
[2026-08-28 17:48:37] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707249664001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787919245000,"timestamp_ms":1787919245000,"timestamp_seconds":1787919245,"priority":1,"record_length":96,"hex_timestamp":"000001a0484a9ec8"} 
[2026-08-28 17:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 17:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163904,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163904,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707249664001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707249664001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:48:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:48:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707249664001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":163904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709240,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:48:38] local.INFO: GPS data processed {"connection_id":163904,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:48:38] local.INFO: Acknowledgment sent {"connection_id":163904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:48:41] local.INFO: TCP Data received {"connection_id":163627,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:48:41] local.INFO: Processing buffer {"connection_id":163627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:48:41] local.INFO: IMEI packet received {"connection_id":163627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 17:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":163627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:48:44] local.INFO: TCP Data received {"connection_id":163627,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0484cae20012d34c14006aa4840000900e628..."} 
[2026-08-28 17:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0484cae20012d34c14006aa4840000900e628..."} 
[2026-08-28 17:48:44] local.INFO: Processing buffer {"connection_id":163627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0484cae20012d34c14006aa4840000900e628..."} 
[2026-08-28 17:48:44] local.INFO: Packet analysis {"connection_id":163627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0484c"} 
[2026-08-28 17:48:44] local.INFO: Extracted packet for processing {"connection_id":163627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0484c"} 
[2026-08-28 17:48:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17: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-28 17:48:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707284224001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:48:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:48:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:48:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:48:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787919380000,"timestamp_ms":1787919380000,"timestamp_seconds":1787919380,"priority":1,"record_length":96,"hex_timestamp":"000001a0484cae20"} 
[2026-08-28 17: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-28 17: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-28 17: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-28 17: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-28 17: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-28 17: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-28 17:48:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:48:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:48:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:48:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:48:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:48:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:48:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:48:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707284224001,"66":25441,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:48:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:48:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:48:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707284224001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:48:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:48:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17: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-28 17:48:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:48:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707284224001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:48:44] 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":709241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:48:44] local.INFO: GPS data processed {"connection_id":163627,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:48:44] local.INFO: Acknowledgment sent {"connection_id":163627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:48:46] local.INFO: TCP Data received {"connection_id":163627,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0484cae20012d34c14006aa4840000900e628..."} 
[2026-08-28 17:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0484cae20012d34c14006aa4840000900e628..."} 
[2026-08-28 17:48:46] local.INFO: Processing buffer {"connection_id":163627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0484cae20012d34c14006aa4840000900e628..."} 
[2026-08-28 17:48:46] local.INFO: Packet analysis {"connection_id":163627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0484c"} 
[2026-08-28 17:48:46] local.INFO: Extracted packet for processing {"connection_id":163627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0484c"} 
[2026-08-28 17:48:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17: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-28 17:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707284224001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:48:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:48:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787919380000,"timestamp_ms":1787919380000,"timestamp_seconds":1787919380,"priority":1,"record_length":96,"hex_timestamp":"000001a0484cae20"} 
[2026-08-28 17: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-28 17:48: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-28 17: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 17:48: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-28 17: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-28 17: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-28 17:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:48:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707284224001,"66":25441,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707284224001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:48:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:48:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:48: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-28 17:48:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:48:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707284224001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:48:46] 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":709242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:48:46] local.INFO: GPS data processed {"connection_id":163627,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:48:46] local.INFO: Acknowledgment sent {"connection_id":163627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:48:48] local.INFO: TCP Data received {"connection_id":164912,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:48:48] local.INFO: Processing buffer {"connection_id":164912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:48:48] local.INFO: IMEI packet received {"connection_id":164912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 17:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":164912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:48:51] local.INFO: TCP Data received {"connection_id":164912,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:48:51] local.INFO: Processing buffer {"connection_id":164912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:48:51] local.INFO: IMEI packet received {"connection_id":164912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:48:51] local.INFO: IMEI acknowledgment sent {"connection_id":164912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:48:51] local.INFO: TCP Data received {"connection_id":164912,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0484dfe10012d19bc800720a6b80033012725..."} 
[2026-08-28 17:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0484dfe10012d19bc800720a6b80033012725..."} 
[2026-08-28 17:48:51] local.INFO: Processing buffer {"connection_id":164912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0484dfe10012d19bc800720a6b80033012725..."} 
[2026-08-28 17:48:51] local.INFO: Packet analysis {"connection_id":164912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0484d"} 
[2026-08-28 17:48:51] local.INFO: Extracted packet for processing {"connection_id":164912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0484d"} 
[2026-08-28 17:48:51] local.INFO: GPS Element Parsed {"raw_longitude":756661376,"raw_latitude":119580344,"longitude_deg":75.6661376,"latitude_deg":11.9580344,"altitude":51,"angle":295,"satellites":37,"speed":10,"hex_longitude":"2d19bc80","hex_latitude":"0720a6b8","is_valid_coordinates":true} 
[2026-08-28 17:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707382272001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15994166152527872,"note":"Value kept but may cause issues"} 
[2026-08-28 17:48:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856257133275058176,"note":"Value kept but may cause issues"} 
[2026-08-28 17:48: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-28 17:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787919466000,"timestamp_ms":1787919466000,"timestamp_seconds":1787919466,"priority":1,"record_length":96,"hex_timestamp":"000001a0484dfe10"} 
[2026-08-28 17:48:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:48:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-28 17:48:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:48:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:48:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":164912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":164912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":164912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:48:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707382272001,"66":14048,"103":206,"83":41984,"24":10,"16":15994166152527872,"45":1856257133275058176},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 17:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707382272001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:48:51] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 17:48:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15994166152527872,"km_value":15994166152527.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:48:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856257133275058176,"description":"Unknown IO ID 45"} 
[2026-08-28 17:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707382272001,"power":14048,"unknown_103":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1856257133275058176}} 
[2026-08-28 17:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":164912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709243,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:48:51] local.INFO: GPS data processed {"connection_id":164912,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:48:51] local.INFO: Acknowledgment sent {"connection_id":164912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:48:56] local.INFO: TCP Data received {"connection_id":166266,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166266,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:48:56] local.INFO: Processing buffer {"connection_id":166266,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:48:56] local.INFO: IMEI packet received {"connection_id":166266,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 17:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":166266,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:49:01] local.INFO: TCP Data received {"connection_id":166266,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166266,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:49:01] local.INFO: Processing buffer {"connection_id":166266,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:49:01] local.INFO: IMEI packet received {"connection_id":166266,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 17:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":166266,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:49:04] local.INFO: TCP Data received {"connection_id":166266,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0484a9ec8012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0484a9ec8012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:49:04] local.INFO: Processing buffer {"connection_id":166266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0484a9ec8012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:49:04] local.INFO: Packet analysis {"connection_id":166266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0484a"} 
[2026-08-28 17:49:04] local.INFO: Extracted packet for processing {"connection_id":166266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0484a"} 
[2026-08-28 17:49:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707249664001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:49:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787919245000,"timestamp_ms":1787919245000,"timestamp_seconds":1787919245,"priority":1,"record_length":96,"hex_timestamp":"000001a0484a9ec8"} 
[2026-08-28 17:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:49:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 17:49:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:49:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":166266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":166266,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":166266,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707249664001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707249664001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:49:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:49:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707249664001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":166266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709244,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:49:04] local.INFO: GPS data processed {"connection_id":166266,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:49:04] local.INFO: Acknowledgment sent {"connection_id":166266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:49:22] local.INFO: TCP Data received {"connection_id":164912,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0484e2908012d19a9c00720af800036011c22..."} 
[2026-08-28 17:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0484e2908012d19a9c00720af800036011c22..."} 
[2026-08-28 17:49:22] local.INFO: Processing buffer {"connection_id":164912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0484e2908012d19a9c00720af800036011c22..."} 
[2026-08-28 17:49:22] local.INFO: Packet analysis {"connection_id":164912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0484e"} 
[2026-08-28 17:49:22] local.INFO: Extracted packet for processing {"connection_id":164912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0484e"} 
[2026-08-28 17:49:22] local.INFO: GPS Element Parsed {"raw_longitude":756656576,"raw_latitude":119582592,"longitude_deg":75.6656576,"latitude_deg":11.9582592,"altitude":54,"angle":284,"satellites":34,"speed":23,"hex_longitude":"2d19a9c0","hex_latitude":"0720af80","is_valid_coordinates":true} 
[2026-08-28 17:49: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-28 17:49:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707383296001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:49:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15994419555598336,"note":"Value kept but may cause issues"} 
[2026-08-28 17:49:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854497914670725120,"note":"Value kept but may cause issues"} 
[2026-08-28 17:49:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:49:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787919477000,"timestamp_ms":1787919477000,"timestamp_seconds":1787919477,"priority":1,"record_length":96,"hex_timestamp":"000001a0484e2908"} 
[2026-08-28 17:49:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:49:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-28 17:49:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:49: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-28 17:49:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:49:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:49:22] local.INFO: Teltonika packet parsed successfully {"connection_id":164912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:49:22] local.INFO: Passing IMEI to GPS processor {"connection_id":164912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:49:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":164912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:49:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:49:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:49:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:49:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707383296001,"66":14483,"103":206,"83":41984,"24":23,"16":15994419555598336,"45":1854497914670725120},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 17:49:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:49:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:49:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707383296001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:49:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 17:49:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:49:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15994419555598336,"km_value":15994419555598.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:49:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854497914670725120,"description":"Unknown IO ID 45"} 
[2026-08-28 17:49:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707383296001,"power":14483,"unknown_103":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1854497914670725120}} 
[2026-08-28 17:49:23] local.INFO: DEBUG: GPS processor result {"connection_id":164912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709245,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:49:23] local.INFO: GPS data processed {"connection_id":164912,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:49:23] local.INFO: Acknowledgment sent {"connection_id":164912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:49:35] local.INFO: TCP Data received {"connection_id":164913,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:49:35] local.INFO: Processing buffer {"connection_id":164913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:49:35] local.INFO: IMEI packet received {"connection_id":164913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 17:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":164913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:49:36] local.INFO: TCP Data received {"connection_id":164913,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:49:36] local.INFO: Processing buffer {"connection_id":164913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:49:36] local.INFO: IMEI packet received {"connection_id":164913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 17:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":164913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:49:39] local.INFO: TCP Data received {"connection_id":166266,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0484a9ec8012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0484a9ec8012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:49:39] local.INFO: Processing buffer {"connection_id":166266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0484a9ec8012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:49:39] local.INFO: Packet analysis {"connection_id":166266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0484a"} 
[2026-08-28 17:49:39] local.INFO: Extracted packet for processing {"connection_id":166266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0484a"} 
[2026-08-28 17:49:39] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707249664001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:49:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:49:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787919245000,"timestamp_ms":1787919245000,"timestamp_seconds":1787919245,"priority":1,"record_length":96,"hex_timestamp":"000001a0484a9ec8"} 
[2026-08-28 17:49:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:49:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 17:49:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:49:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:49:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":166266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":166266,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":166266,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:49:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707249664001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707249664001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:49:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:49:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:49:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707249664001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":166266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709246,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:49:39] local.INFO: GPS data processed {"connection_id":166266,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:49:39] local.INFO: Acknowledgment sent {"connection_id":166266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:49:43] local.INFO: TCP Data received {"connection_id":164914,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164914,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:49:43] local.INFO: Processing buffer {"connection_id":164914,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:49:43] local.INFO: IMEI packet received {"connection_id":164914,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 17:49:43] local.INFO: IMEI acknowledgment sent {"connection_id":164914,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:49:43] local.INFO: TCP Data received {"connection_id":164914,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164914,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:49:43] local.INFO: Processing buffer {"connection_id":164914,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:49:43] local.INFO: IMEI packet received {"connection_id":164914,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:49:43] local.INFO: IMEI acknowledgment sent {"connection_id":164914,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:49:44] local.INFO: TCP Data received {"connection_id":164914,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164914,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:49:44] local.INFO: Processing buffer {"connection_id":164914,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:49:44] local.INFO: IMEI packet received {"connection_id":164914,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:49:44] local.INFO: IMEI acknowledgment sent {"connection_id":164914,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:49:45] local.INFO: TCP Data received {"connection_id":164914,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164914,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:49:45] local.INFO: Processing buffer {"connection_id":164914,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:49:45] local.INFO: IMEI packet received {"connection_id":164914,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:49:45] local.INFO: IMEI acknowledgment sent {"connection_id":164914,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:49:45] local.INFO: TCP Data received {"connection_id":164914,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0484ef810012d1959000720a090003600f224..."} 
[2026-08-28 17:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0484ef810012d1959000720a090003600f224..."} 
[2026-08-28 17:49:45] local.INFO: Processing buffer {"connection_id":164914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0484ef810012d1959000720a090003600f224..."} 
[2026-08-28 17:49:45] local.INFO: Packet analysis {"connection_id":164914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0484e"} 
[2026-08-28 17:49:45] local.INFO: Extracted packet for processing {"connection_id":164914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0484e"} 
[2026-08-28 17:49:45] local.INFO: GPS Element Parsed {"raw_longitude":756635904,"raw_latitude":119578768,"longitude_deg":75.6635904,"latitude_deg":11.9578768,"altitude":54,"angle":242,"satellites":36,"speed":12,"hex_longitude":"2d195900","hex_latitude":"0720a090","is_valid_coordinates":true} 
[2026-08-28 17: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-28 17:49:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707399424001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:49:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15995523362193408,"note":"Value kept but may cause issues"} 
[2026-08-28 17:49:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1826702260720185344,"note":"Value kept but may cause issues"} 
[2026-08-28 17:49:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:49:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787919530000,"timestamp_ms":1787919530000,"timestamp_seconds":1787919530,"priority":1,"record_length":96,"hex_timestamp":"000001a0484ef810"} 
[2026-08-28 17:49:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:49:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-28 17:49:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:49:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:49:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:49:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:49:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:49:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:49:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:49:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:49:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:49:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:49:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707399424001,"66":14048,"103":206,"83":41984,"24":12,"16":15995523362193408,"45":1826702260720185344},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 17:49:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:49:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:49:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707399424001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:49:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 17:49:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:49:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15995523362193408,"km_value":15995523362193.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:49:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1826702260720185344,"description":"Unknown IO ID 45"} 
[2026-08-28 17:49:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707399424001,"power":14048,"unknown_103":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1826702260720185344}} 
[2026-08-28 17:49:45] 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":709247,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:49:45] local.INFO: GPS data processed {"connection_id":164914,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:49:45] local.INFO: Acknowledgment sent {"connection_id":164914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:49:47] local.INFO: TCP Data received {"connection_id":164913,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0484cae20012d34c14006aa4840000900e628..."} 
[2026-08-28 17:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0484cae20012d34c14006aa4840000900e628..."} 
[2026-08-28 17:49:47] local.INFO: Processing buffer {"connection_id":164913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0484cae20012d34c14006aa4840000900e628..."} 
[2026-08-28 17:49:47] local.INFO: Packet analysis {"connection_id":164913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0484c"} 
[2026-08-28 17:49:47] local.INFO: Extracted packet for processing {"connection_id":164913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0484c"} 
[2026-08-28 17:49:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707284224001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:49:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:49:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787919380000,"timestamp_ms":1787919380000,"timestamp_seconds":1787919380,"priority":1,"record_length":96,"hex_timestamp":"000001a0484cae20"} 
[2026-08-28 17:49:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:49: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-28 17:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 17:49: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-28 17:49:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:49:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:49:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707284224001,"66":25441,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707284224001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:49:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:49:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:49: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-28 17:49:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707284224001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":164913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:49:47] local.INFO: GPS data processed {"connection_id":164913,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:49:47] local.INFO: Acknowledgment sent {"connection_id":164913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:49:48] local.INFO: TCP Data received {"connection_id":164914,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0484efbf8012d1957800720a0500036010424..."} 
[2026-08-28 17:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0484efbf8012d1957800720a0500036010424..."} 
[2026-08-28 17:49:48] local.INFO: Processing buffer {"connection_id":164914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0484efbf8012d1957800720a0500036010424..."} 
[2026-08-28 17:49:48] local.INFO: Packet analysis {"connection_id":164914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0484e"} 
[2026-08-28 17:49:48] local.INFO: Extracted packet for processing {"connection_id":164914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0484e"} 
[2026-08-28 17:49:48] local.INFO: GPS Element Parsed {"raw_longitude":756635520,"raw_latitude":119578704,"longitude_deg":75.663552,"latitude_deg":11.9578704,"altitude":54,"angle":260,"satellites":36,"speed":12,"hex_longitude":"2d195780","hex_latitude":"0720a050","is_valid_coordinates":true} 
[2026-08-28 17: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-28 17:49:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707399680001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:49:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15995540542062592,"note":"Value kept but may cause issues"} 
[2026-08-28 17:49:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1826491154487611392,"note":"Value kept but may cause issues"} 
[2026-08-28 17:49:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:49:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787919531000,"timestamp_ms":1787919531000,"timestamp_seconds":1787919531,"priority":1,"record_length":96,"hex_timestamp":"000001a0484efbf8"} 
[2026-08-28 17: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-28 17:49:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:49:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-28 17:49:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17: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-28 17: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-28 17:49:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:49:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:49:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:49:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:49:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:49:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:49:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:49:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707399680001,"66":14048,"103":206,"83":41984,"24":12,"16":15995540542062592,"45":1826491154487611392},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 17:49:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:49:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:49:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707399680001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:49:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 17:49:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:49:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15995540542062592,"km_value":15995540542062.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:49:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1826491154487611392,"description":"Unknown IO ID 45"} 
[2026-08-28 17:49:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707399680001,"power":14048,"unknown_103":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1826491154487611392}} 
[2026-08-28 17:49:48] 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":709249,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:49:48] local.INFO: GPS data processed {"connection_id":164914,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:49:48] local.INFO: Acknowledgment sent {"connection_id":164914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:49:52] local.INFO: TCP Data received {"connection_id":164913,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0484cae20012d34c14006aa4840000900e628..."} 
[2026-08-28 17:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0484cae20012d34c14006aa4840000900e628..."} 
[2026-08-28 17:49:52] local.INFO: Processing buffer {"connection_id":164913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0484cae20012d34c14006aa4840000900e628..."} 
[2026-08-28 17:49:52] local.INFO: Packet analysis {"connection_id":164913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0484c"} 
[2026-08-28 17:49:52] local.INFO: Extracted packet for processing {"connection_id":164913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0484c"} 
[2026-08-28 17:49:52] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:49:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707284224001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:49:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:49:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:49:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:49:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787919380000,"timestamp_ms":1787919380000,"timestamp_seconds":1787919380,"priority":1,"record_length":96,"hex_timestamp":"000001a0484cae20"} 
[2026-08-28 17:49:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:49: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-28 17:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 17:49: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-28 17:49:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:49:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:49:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:49:52] local.INFO: Teltonika packet parsed successfully {"connection_id":164913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:49:52] local.INFO: Passing IMEI to GPS processor {"connection_id":164913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:49:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":164913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:49:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:49:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:49:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:49:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707284224001,"66":25441,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:49:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:49:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:49:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707284224001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:49:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:49:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:49: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-28 17:49:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:49:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707284224001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:49:52] local.INFO: DEBUG: GPS processor result {"connection_id":164913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:49:52] local.INFO: GPS data processed {"connection_id":164913,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:49:52] local.INFO: Acknowledgment sent {"connection_id":164913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:49:56] local.INFO: TCP Data received {"connection_id":166267,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166267,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:49:56] local.INFO: Processing buffer {"connection_id":166267,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:49:56] local.INFO: IMEI packet received {"connection_id":166267,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 17:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":166267,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:50:01] local.INFO: TCP Data received {"connection_id":166267,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166267,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:50:01] local.INFO: Processing buffer {"connection_id":166267,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:50:01] local.INFO: IMEI packet received {"connection_id":166267,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 17:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":166267,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:50:04] local.INFO: TCP Data received {"connection_id":166267,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0484f3690012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0484f3690012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:50:04] local.INFO: Processing buffer {"connection_id":166267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0484f3690012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:50:04] local.INFO: Packet analysis {"connection_id":166267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0484f"} 
[2026-08-28 17:50:04] local.INFO: Extracted packet for processing {"connection_id":166267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0484f"} 
[2026-08-28 17:50:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707326720001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:50:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787919546000,"timestamp_ms":1787919546000,"timestamp_seconds":1787919546,"priority":1,"record_length":96,"hex_timestamp":"000001a0484f3690"} 
[2026-08-28 17:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:50:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 17:50:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:50:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":166267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":166267,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":166267,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:50:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707326720001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707326720001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:50:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:50:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707326720001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":166267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709251,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:50:04] local.INFO: GPS data processed {"connection_id":166267,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:50:04] local.INFO: Acknowledgment sent {"connection_id":166267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:50:19] local.INFO: TCP Data received {"connection_id":164914,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0484f0b98012d19530007209f00003600f625..."} 
[2026-08-28 17:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0484f0b98012d19530007209f00003600f625..."} 
[2026-08-28 17:50:19] local.INFO: Processing buffer {"connection_id":164914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0484f0b98012d19530007209f00003600f625..."} 
[2026-08-28 17:50:19] local.INFO: Packet analysis {"connection_id":164914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0484f"} 
[2026-08-28 17:50:19] local.INFO: Extracted packet for processing {"connection_id":164914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0484f"} 
[2026-08-28 17:50:19] local.INFO: GPS Element Parsed {"raw_longitude":756634368,"raw_latitude":119578368,"longitude_deg":75.6634368,"latitude_deg":11.9578368,"altitude":54,"angle":246,"satellites":37,"speed":12,"hex_longitude":"2d195300","hex_latitude":"07209f00","is_valid_coordinates":true} 
[2026-08-28 17:50:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:50:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707399936001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:50:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15995600671604736,"note":"Value kept but may cause issues"} 
[2026-08-28 17:50:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1826068942022529024,"note":"Value kept but may cause issues"} 
[2026-08-28 17:50:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:50:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787919535000,"timestamp_ms":1787919535000,"timestamp_seconds":1787919535,"priority":1,"record_length":96,"hex_timestamp":"000001a0484f0b98"} 
[2026-08-28 17:50:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:50:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:50:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-28 17:50:19] 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-28 17:50:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:50:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:50:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:50:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:50:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:50:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:50:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:50:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:50:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:50:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707399936001,"66":14070,"103":206,"83":41984,"24":12,"16":15995600671604736,"45":1826068942022529024},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 17:50:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:50:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:50:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707399936001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:50:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 17:50:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:50:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15995600671604736,"km_value":15995600671604.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:50:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1826068942022529024,"description":"Unknown IO ID 45"} 
[2026-08-28 17:50:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707399936001,"power":14070,"unknown_103":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1826068942022529024}} 
[2026-08-28 17:50:19] 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":709252,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:50:19] local.INFO: GPS data processed {"connection_id":164914,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:50:19] local.INFO: Acknowledgment sent {"connection_id":164914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:50:30] local.INFO: TCP Data received {"connection_id":163628,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:50:30] local.INFO: Processing buffer {"connection_id":163628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:50:30] local.INFO: IMEI packet received {"connection_id":163628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 17:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":163628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:50:35] local.INFO: TCP Data received {"connection_id":163628,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:50:35] local.INFO: Processing buffer {"connection_id":163628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:50:35] local.INFO: IMEI packet received {"connection_id":163628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 17:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":163628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:50:38] local.INFO: TCP Data received {"connection_id":163628,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0484cae20012d34c14006aa4840000900e628..."} 
[2026-08-28 17:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0484cae20012d34c14006aa4840000900e628..."} 
[2026-08-28 17:50:38] local.INFO: Processing buffer {"connection_id":163628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0484cae20012d34c14006aa4840000900e628..."} 
[2026-08-28 17:50:38] local.INFO: Packet analysis {"connection_id":163628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0484c"} 
[2026-08-28 17:50:38] local.INFO: Extracted packet for processing {"connection_id":163628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0484c"} 
[2026-08-28 17:50:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707284224001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787919380000,"timestamp_ms":1787919380000,"timestamp_seconds":1787919380,"priority":1,"record_length":96,"hex_timestamp":"000001a0484cae20"} 
[2026-08-28 17:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 17:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:50:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707284224001,"66":25441,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707284224001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:50:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:50:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:50: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-28 17:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707284224001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:50:38] 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":709253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:50:38] local.INFO: GPS data processed {"connection_id":163628,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:50:38] local.INFO: Acknowledgment sent {"connection_id":163628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:50:39] local.INFO: TCP Data received {"connection_id":166267,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0484f3690012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0484f3690012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:50:39] local.INFO: Processing buffer {"connection_id":166267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0484f3690012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:50:39] local.INFO: Packet analysis {"connection_id":166267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0484f"} 
[2026-08-28 17:50:39] local.INFO: Extracted packet for processing {"connection_id":166267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0484f"} 
[2026-08-28 17:50:39] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707326720001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:50:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:50:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787919546000,"timestamp_ms":1787919546000,"timestamp_seconds":1787919546,"priority":1,"record_length":96,"hex_timestamp":"000001a0484f3690"} 
[2026-08-28 17:50:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:50:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 17:50:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:50:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:50:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":166267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":166267,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":166267,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:50:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707326720001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707326720001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:50:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:50:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:50:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707326720001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":166267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709254,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:50:39] local.INFO: GPS data processed {"connection_id":166267,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:50:39] local.INFO: Acknowledgment sent {"connection_id":166267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:50:43] local.INFO: TCP Data received {"connection_id":163629,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163629,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:50:43] local.INFO: Processing buffer {"connection_id":163629,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:50:43] local.INFO: IMEI packet received {"connection_id":163629,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 17:50:43] local.INFO: IMEI acknowledgment sent {"connection_id":163629,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:50:48] local.INFO: TCP Data received {"connection_id":163629,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163629,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:50:48] local.INFO: Processing buffer {"connection_id":163629,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:50:48] local.INFO: IMEI packet received {"connection_id":163629,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":163629,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:50:49] local.INFO: TCP Data received {"connection_id":163629,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0484f0f80012d1951c007209e50003600eb25..."} 
[2026-08-28 17:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0484f0f80012d1951c007209e50003600eb25..."} 
[2026-08-28 17:50:49] local.INFO: Processing buffer {"connection_id":163629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0484f0f80012d1951c007209e50003600eb25..."} 
[2026-08-28 17:50:49] local.INFO: Packet analysis {"connection_id":163629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0484f"} 
[2026-08-28 17:50:49] local.INFO: Extracted packet for processing {"connection_id":163629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0484f"} 
[2026-08-28 17:50:49] local.INFO: GPS Element Parsed {"raw_longitude":756634048,"raw_latitude":119578192,"longitude_deg":75.6634048,"latitude_deg":11.9578192,"altitude":54,"angle":235,"satellites":37,"speed":10,"hex_longitude":"2d1951c0","hex_latitude":"07209e50","is_valid_coordinates":true} 
[2026-08-28 17:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:50:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707400960001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:50:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15995613556506624,"note":"Value kept but may cause issues"} 
[2026-08-28 17:50:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824802304627245056,"note":"Value kept but may cause issues"} 
[2026-08-28 17:50:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:50:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787919536000,"timestamp_ms":1787919536000,"timestamp_seconds":1787919536,"priority":1,"record_length":96,"hex_timestamp":"000001a0484f0f80"} 
[2026-08-28 17:50:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:50:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-28 17:50:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:50:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:50:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:50:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:50:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:50:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:50:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:50:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:50:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:50:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:50:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707400960001,"66":14048,"103":206,"83":41984,"24":10,"16":15995613556506624,"45":1824802304627245056},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 17:50:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:50:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:50:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707400960001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:50:49] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 17:50:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:50:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15995613556506624,"km_value":15995613556506.623,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:50:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824802304627245056,"description":"Unknown IO ID 45"} 
[2026-08-28 17:50:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707400960001,"power":14048,"unknown_103":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1824802304627245056}} 
[2026-08-28 17:50:49] 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":709255,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:50:49] local.INFO: GPS data processed {"connection_id":163629,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:50:49] local.INFO: Acknowledgment sent {"connection_id":163629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:50:56] local.INFO: TCP Data received {"connection_id":164915,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164915,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:50:56] local.INFO: Processing buffer {"connection_id":164915,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:50:56] local.INFO: IMEI packet received {"connection_id":164915,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 17:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":164915,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:51:01] local.INFO: TCP Data received {"connection_id":164915,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164915,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:51:01] local.INFO: Processing buffer {"connection_id":164915,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:51:01] local.INFO: IMEI packet received {"connection_id":164915,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 17:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":164915,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:51:05] local.INFO: TCP Data received {"connection_id":164915,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0484f3690012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0484f3690012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:51:05] local.INFO: Processing buffer {"connection_id":164915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0484f3690012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:51:05] local.INFO: Packet analysis {"connection_id":164915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0484f"} 
[2026-08-28 17:51:05] local.INFO: Extracted packet for processing {"connection_id":164915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0484f"} 
[2026-08-28 17:51:05] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707326720001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787919546000,"timestamp_ms":1787919546000,"timestamp_seconds":1787919546,"priority":1,"record_length":96,"hex_timestamp":"000001a0484f3690"} 
[2026-08-28 17:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:51:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 17:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:51:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":164915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":164915,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":164915,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:51:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707326720001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707326720001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:51:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:51:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707326720001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:51:05] 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":709256,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:51:05] local.INFO: GPS data processed {"connection_id":164915,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:51:05] local.INFO: Acknowledgment sent {"connection_id":164915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:51:12] local.INFO: TCP Data received {"connection_id":163628,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0484cae20012d34c14006aa4840000900e628..."} 
[2026-08-28 17:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0484cae20012d34c14006aa4840000900e628..."} 
[2026-08-28 17:51:12] local.INFO: Processing buffer {"connection_id":163628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0484cae20012d34c14006aa4840000900e628..."} 
[2026-08-28 17:51:12] local.INFO: Packet analysis {"connection_id":163628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0484c"} 
[2026-08-28 17:51:12] local.INFO: Extracted packet for processing {"connection_id":163628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0484c"} 
[2026-08-28 17:51:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707284224001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:51:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:51:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787919380000,"timestamp_ms":1787919380000,"timestamp_seconds":1787919380,"priority":1,"record_length":96,"hex_timestamp":"000001a0484cae20"} 
[2026-08-28 17:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:51:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 17:51:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:51:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":163628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":163628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":163628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:51:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707284224001,"66":25441,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707284224001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:51:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:51:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:51: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-28 17:51:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707284224001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:51:12] 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":709257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:51:12] local.INFO: GPS data processed {"connection_id":163628,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:51:12] local.INFO: Acknowledgment sent {"connection_id":163628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:51:20] local.INFO: TCP Data received {"connection_id":163629,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0484f1750012d19508007209cd0003500c825..."} 
[2026-08-28 17:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0484f1750012d19508007209cd0003500c825..."} 
[2026-08-28 17:51:20] local.INFO: Processing buffer {"connection_id":163629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0484f1750012d19508007209cd0003500c825..."} 
[2026-08-28 17:51:20] local.INFO: Packet analysis {"connection_id":163629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0484f"} 
[2026-08-28 17:51:20] local.INFO: Extracted packet for processing {"connection_id":163629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0484f"} 
[2026-08-28 17:51:20] local.INFO: GPS Element Parsed {"raw_longitude":756633728,"raw_latitude":119577808,"longitude_deg":75.6633728,"latitude_deg":11.9577808,"altitude":53,"angle":200,"satellites":37,"speed":8,"hex_longitude":"2d195080","hex_latitude":"07209cd0","is_valid_coordinates":true} 
[2026-08-28 17:51:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:51:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707401216001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:51:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15995639326310400,"note":"Value kept but may cause issues"} 
[2026-08-28 17:51:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824450460906311680,"note":"Value kept but may cause issues"} 
[2026-08-28 17:51:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:51:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787919538000,"timestamp_ms":1787919538000,"timestamp_seconds":1787919538,"priority":1,"record_length":96,"hex_timestamp":"000001a0484f1750"} 
[2026-08-28 17:51:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:51:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:51:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-28 17:51:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:51:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:51:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:51:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:51:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:51:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:51:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:51:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:51:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:51:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:51:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707401216001,"66":14080,"103":206,"83":41984,"24":8,"16":15995639326310400,"45":1824450460906311680},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 17:51:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:51:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:51:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707401216001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:51:20] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 17:51:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:51:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15995639326310400,"km_value":15995639326310.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:51:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824450460906311680,"description":"Unknown IO ID 45"} 
[2026-08-28 17:51:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707401216001,"power":14080,"unknown_103":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1824450460906311680}} 
[2026-08-28 17:51:20] 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":709258,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:51:20] local.INFO: GPS data processed {"connection_id":163629,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:51:20] local.INFO: Acknowledgment sent {"connection_id":163629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:51:30] local.INFO: TCP Data received {"connection_id":166268,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:51:30] local.INFO: Processing buffer {"connection_id":166268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:51:30] local.INFO: IMEI packet received {"connection_id":166268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 17:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":166268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:51:35] local.INFO: TCP Data received {"connection_id":166268,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:51:35] local.INFO: Processing buffer {"connection_id":166268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:51:35] local.INFO: IMEI packet received {"connection_id":166268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 17:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":166268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:51:38] local.INFO: TCP Data received {"connection_id":166268,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0484cae20012d34c14006aa4840000900e628..."} 
[2026-08-28 17:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0484cae20012d34c14006aa4840000900e628..."} 
[2026-08-28 17:51:38] local.INFO: Processing buffer {"connection_id":166268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0484cae20012d34c14006aa4840000900e628..."} 
[2026-08-28 17:51:38] local.INFO: Packet analysis {"connection_id":166268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0484c"} 
[2026-08-28 17:51:38] local.INFO: Extracted packet for processing {"connection_id":166268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0484c"} 
[2026-08-28 17:51:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707284224001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:51:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787919380000,"timestamp_ms":1787919380000,"timestamp_seconds":1787919380,"priority":1,"record_length":96,"hex_timestamp":"000001a0484cae20"} 
[2026-08-28 17:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 17:51:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:51:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":166268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":166268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":166268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:51:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707284224001,"66":25441,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707284224001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:51:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:51:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:51: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-28 17:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707284224001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":166268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:51:38] local.INFO: GPS data processed {"connection_id":166268,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:51:38] local.INFO: Acknowledgment sent {"connection_id":166268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:51:40] local.INFO: TCP Data received {"connection_id":164915,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0484f3690012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0484f3690012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:51:40] local.INFO: Processing buffer {"connection_id":164915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0484f3690012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:51:40] local.INFO: Packet analysis {"connection_id":164915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0484f"} 
[2026-08-28 17:51:40] local.INFO: Extracted packet for processing {"connection_id":164915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0484f"} 
[2026-08-28 17:51:40] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:51: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-28 17:51:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707326720001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:51:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:51:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:51:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:51:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787919546000,"timestamp_ms":1787919546000,"timestamp_seconds":1787919546,"priority":1,"record_length":96,"hex_timestamp":"000001a0484f3690"} 
[2026-08-28 17:51:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:51:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:51: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-28 17:51: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-28 17:51: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-28 17:51:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:51:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:51:40] local.INFO: Teltonika packet parsed successfully {"connection_id":164915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:51:40] local.INFO: Passing IMEI to GPS processor {"connection_id":164915,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:51:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":164915,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:51:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:51:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:51:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:51:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707326720001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:51:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:51:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:51:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707326720001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:51:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:51:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:51:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:51:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:51:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707326720001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:51:40] 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":709260,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:51:40] local.INFO: GPS data processed {"connection_id":164915,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:51:40] local.INFO: Acknowledgment sent {"connection_id":164915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:51:43] local.INFO: TCP Data received {"connection_id":163905,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163905,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:51:43] local.INFO: Processing buffer {"connection_id":163905,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:51:43] local.INFO: IMEI packet received {"connection_id":163905,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 17:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":163905,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:51:44] local.INFO: TCP Data received {"connection_id":163905,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163905,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:51:44] local.INFO: Processing buffer {"connection_id":163905,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:51:44] local.INFO: IMEI packet received {"connection_id":163905,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:51:44] local.INFO: IMEI acknowledgment sent {"connection_id":163905,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:51:48] local.INFO: TCP Data received {"connection_id":163905,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163905,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:51:48] local.INFO: Processing buffer {"connection_id":163905,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:51:48] local.INFO: IMEI packet received {"connection_id":163905,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":163905,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:51:49] local.INFO: TCP Data received {"connection_id":163905,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0484f1b38012d19504007209be8003500bb26..."} 
[2026-08-28 17:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0484f1b38012d19504007209be8003500bb26..."} 
[2026-08-28 17:51:49] local.INFO: Processing buffer {"connection_id":163905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0484f1b38012d19504007209be8003500bb26..."} 
[2026-08-28 17:51:49] local.INFO: Packet analysis {"connection_id":163905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0484f"} 
[2026-08-28 17:51:49] local.INFO: Extracted packet for processing {"connection_id":163905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0484f"} 
[2026-08-28 17:51:49] local.INFO: GPS Element Parsed {"raw_longitude":756633664,"raw_latitude":119577576,"longitude_deg":75.6633664,"latitude_deg":11.9577576,"altitude":53,"angle":187,"satellites":38,"speed":9,"hex_longitude":"2d195040","hex_latitude":"07209be8","is_valid_coordinates":true} 
[2026-08-28 17: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-28 17:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707401728001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:51:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15995652211212288,"note":"Value kept but may cause issues"} 
[2026-08-28 17:51:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824098617185325056,"note":"Value kept but may cause issues"} 
[2026-08-28 17:51:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:51:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787919539000,"timestamp_ms":1787919539000,"timestamp_seconds":1787919539,"priority":1,"record_length":96,"hex_timestamp":"000001a0484f1b38"} 
[2026-08-28 17: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-28 17:51:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-28 17:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219968,"note":"Value kept but may cause issues"} 
[2026-08-28 17:51:49] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-28 17:51:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-28 17:51:49] local.WARNING: Large IO value detected {"io_id":211,"raw_value":3690987520,"note":"Value kept but may cause issues"} 
[2026-08-28 17:51:49] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2693791798,"note":"Value kept but may cause issues"} 
[2026-08-28 17:51:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-28 17:51:49] local.WARNING: Large IO value detected {"io_id":89,"raw_value":3221692577,"note":"Value kept but may cause issues"} 
[2026-08-28 17:51:49] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3553951744,"note":"Value kept but may cause issues"} 
[2026-08-28 17:51:49] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,103,83,24,241,157,16,211,160,15,45,192,158,54,37,10,66,11,159,251,128,1,240,224,227,72,32,4,113,205,12,244,89,48,36,239,56,2,7],"length":479,"final_offset":609,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-28 17:51:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3819272545250050048,"timestamp_seconds":3819272545250050.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 17: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-28 17:51:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:51:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:51:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:51:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:51:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:51:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:51:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:51:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707401728001,"66":14080,"103":206,"83":41984,"24":9,"16":15995652211212288,"45":1824098617185325056},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 17:51:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:51:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:51:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707401728001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:51:49] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 17:51:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:51:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15995652211212288,"km_value":15995652211212.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:51:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824098617185325056,"description":"Unknown IO ID 45"} 
[2026-08-28 17:51:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707401728001,"power":14080,"unknown_103":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1824098617185325056}} 
[2026-08-28 17:51:49] local.INFO: DEBUG: GPS processor result {"connection_id":163905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709261,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:51:49] local.INFO: GPS data processed {"connection_id":163905,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:51:49] local.INFO: Acknowledgment sent {"connection_id":163905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:52:02] local.INFO: TCP Data received {"connection_id":163630,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163630,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:52:02] local.INFO: Processing buffer {"connection_id":163630,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:52:02] local.INFO: IMEI packet received {"connection_id":163630,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 17:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":163630,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:52:07] local.INFO: TCP Data received {"connection_id":163630,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163630,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:52:07] local.INFO: Processing buffer {"connection_id":163630,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:52:07] local.INFO: IMEI packet received {"connection_id":163630,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 17:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":163630,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:52:10] local.INFO: TCP Data received {"connection_id":163630,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0484f3690012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0484f3690012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:52:10] local.INFO: Processing buffer {"connection_id":163630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0484f3690012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:52:10] local.INFO: Packet analysis {"connection_id":163630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0484f"} 
[2026-08-28 17:52:10] local.INFO: Extracted packet for processing {"connection_id":163630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0484f"} 
[2026-08-28 17:52:10] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707326720001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:52:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:52:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787919546000,"timestamp_ms":1787919546000,"timestamp_seconds":1787919546,"priority":1,"record_length":96,"hex_timestamp":"000001a0484f3690"} 
[2026-08-28 17:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:52:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 17:52:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:52:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163630,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163630,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:52:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707326720001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707326720001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:52:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:52:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:52:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707326720001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":163630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709262,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:52:10] local.INFO: GPS data processed {"connection_id":163630,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:52:10] local.INFO: Acknowledgment sent {"connection_id":163630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:52:13] local.INFO: TCP Data received {"connection_id":163630,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0484f3690012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0484f3690012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:52:13] local.INFO: Processing buffer {"connection_id":163630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0484f3690012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:52:13] local.INFO: Packet analysis {"connection_id":163630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0484f"} 
[2026-08-28 17:52:13] local.INFO: Extracted packet for processing {"connection_id":163630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0484f"} 
[2026-08-28 17:52:13] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:52:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:52:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707326720001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:52:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:52:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:52:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:52:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787919546000,"timestamp_ms":1787919546000,"timestamp_seconds":1787919546,"priority":1,"record_length":96,"hex_timestamp":"000001a0484f3690"} 
[2026-08-28 17:52:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:52:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:52:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 17:52: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-28 17:52:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:52:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:52:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:52:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:52:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163630,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:52:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163630,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:52:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:52:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:52:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:52:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707326720001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:52:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:52:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:52:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707326720001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:52:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:52:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:52:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:52:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:52:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707326720001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:52:13] local.INFO: DEBUG: GPS processor result {"connection_id":163630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709263,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:52:13] local.INFO: GPS data processed {"connection_id":163630,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:52:13] local.INFO: Acknowledgment sent {"connection_id":163630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:52:13] local.INFO: TCP Data received {"connection_id":166268,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0485145e8012d34c14006aa4840001500e629..."} 
[2026-08-28 17:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0485145e8012d34c14006aa4840001500e629..."} 
[2026-08-28 17:52:13] local.INFO: Processing buffer {"connection_id":166268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0485145e8012d34c14006aa4840001500e629..."} 
[2026-08-28 17:52:13] local.INFO: Packet analysis {"connection_id":166268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04851"} 
[2026-08-28 17:52:13] local.INFO: Extracted packet for processing {"connection_id":166268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04851"} 
[2026-08-28 17:52:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":21,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:52:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:52:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707361280001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:52:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:52:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:52:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:52:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787919681000,"timestamp_ms":1787919681000,"timestamp_seconds":1787919681,"priority":1,"record_length":96,"hex_timestamp":"000001a0485145e8"} 
[2026-08-28 17:52:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:52: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-28 17:52:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 17:52: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-28 17:52:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:52:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:52:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:52:13] local.INFO: Teltonika packet parsed successfully {"connection_id":166268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:52:13] local.INFO: Passing IMEI to GPS processor {"connection_id":166268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:52:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":166268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:52:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:52:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:52:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:52:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707361280001,"66":25441,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:52:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:52:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:52:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707361280001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:52:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:52:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:52: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-28 17:52:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:52:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707361280001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:52:13] local.INFO: DEBUG: GPS processor result {"connection_id":166268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:52:13] local.INFO: GPS data processed {"connection_id":166268,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:52:13] local.INFO: Acknowledgment sent {"connection_id":166268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:52:20] local.INFO: TCP Data received {"connection_id":163905,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048518080012d19520007209c680037002f28..."} 
[2026-08-28 17:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048518080012d19520007209c680037002f28..."} 
[2026-08-28 17:52:20] local.INFO: Processing buffer {"connection_id":163905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048518080012d19520007209c680037002f28..."} 
[2026-08-28 17:52:20] local.INFO: Packet analysis {"connection_id":163905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04851"} 
[2026-08-28 17:52:20] local.INFO: Extracted packet for processing {"connection_id":163905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04851"} 
[2026-08-28 17:52:20] local.INFO: GPS Element Parsed {"raw_longitude":756634112,"raw_latitude":119577704,"longitude_deg":75.6634112,"latitude_deg":11.9577704,"altitude":55,"angle":47,"satellites":40,"speed":9,"hex_longitude":"2d195200","hex_latitude":"07209c68","is_valid_coordinates":true} 
[2026-08-28 17: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-28 17:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707441920001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15996622873821184,"note":"Value kept but may cause issues"} 
[2026-08-28 17:52:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824309723417782272,"note":"Value kept but may cause issues"} 
[2026-08-28 17:52:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787919696000,"timestamp_ms":1787919696000,"timestamp_seconds":1787919696,"priority":1,"record_length":96,"hex_timestamp":"000001a048518080"} 
[2026-08-28 17: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-28 17:52:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-28 17:52:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17: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-28 17: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-28 17:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:52:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707441920001,"66":13580,"103":206,"83":41984,"24":9,"16":15996622873821184,"45":1824309723417782272},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 17:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707441920001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:52:20] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 17:52:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15996622873821184,"km_value":15996622873821.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:52:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824309723417782272,"description":"Unknown IO ID 45"} 
[2026-08-28 17:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707441920001,"power":13580,"unknown_103":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1824309723417782272}} 
[2026-08-28 17:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":163905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709265,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:52:20] local.INFO: GPS data processed {"connection_id":163905,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:52:20] local.INFO: Acknowledgment sent {"connection_id":163905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:52:31] local.INFO: TCP Data received {"connection_id":163906,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:52:31] local.INFO: Processing buffer {"connection_id":163906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:52:31] local.INFO: IMEI packet received {"connection_id":163906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 17:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":163906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:52:35] local.INFO: TCP Data received {"connection_id":163906,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:52:35] local.INFO: Processing buffer {"connection_id":163906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:52:35] local.INFO: IMEI packet received {"connection_id":163906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 17:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":163906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:52:38] local.INFO: TCP Data received {"connection_id":163906,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0485145e8012d34c14006aa4840001500e629..."} 
[2026-08-28 17:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0485145e8012d34c14006aa4840001500e629..."} 
[2026-08-28 17:52:38] local.INFO: Processing buffer {"connection_id":163906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0485145e8012d34c14006aa4840001500e629..."} 
[2026-08-28 17:52:38] local.INFO: Packet analysis {"connection_id":163906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04851"} 
[2026-08-28 17:52:38] local.INFO: Extracted packet for processing {"connection_id":163906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04851"} 
[2026-08-28 17:52:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":21,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707361280001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787919681000,"timestamp_ms":1787919681000,"timestamp_seconds":1787919681,"priority":1,"record_length":96,"hex_timestamp":"000001a0485145e8"} 
[2026-08-28 17:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 17:52: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-28 17:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707361280001,"66":25441,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707361280001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:52:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:52:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:52: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-28 17:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707361280001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":163906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:52:38] local.INFO: GPS data processed {"connection_id":163906,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:52:38] local.INFO: Acknowledgment sent {"connection_id":163906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:52:42] local.INFO: TCP Data received {"connection_id":163906,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0485145e8012d34c14006aa4840001500e629..."} 
[2026-08-28 17:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0485145e8012d34c14006aa4840001500e629..."} 
[2026-08-28 17:52:42] local.INFO: Processing buffer {"connection_id":163906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0485145e8012d34c14006aa4840001500e629..."} 
[2026-08-28 17:52:42] local.INFO: Packet analysis {"connection_id":163906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04851"} 
[2026-08-28 17:52:42] local.INFO: Extracted packet for processing {"connection_id":163906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04851"} 
[2026-08-28 17:52:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":21,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 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-28 17:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707361280001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:52:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:52:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787919681000,"timestamp_ms":1787919681000,"timestamp_seconds":1787919681,"priority":1,"record_length":96,"hex_timestamp":"000001a0485145e8"} 
[2026-08-28 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-28 17: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-28 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-28 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-28 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-28 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-28 17:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:52:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707361280001,"66":25441,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707361280001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:52:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:52:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 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-28 17:52:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707361280001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":163906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:52:42] local.INFO: GPS data processed {"connection_id":163906,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:52:42] local.INFO: Acknowledgment sent {"connection_id":163906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:52:43] local.INFO: TCP Data received {"connection_id":166269,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166269,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:52:43] local.INFO: Processing buffer {"connection_id":166269,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:52:43] local.INFO: IMEI packet received {"connection_id":166269,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 17:52:43] local.INFO: IMEI acknowledgment sent {"connection_id":166269,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:52:43] local.INFO: TCP Data received {"connection_id":166269,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166269,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:52:43] local.INFO: Processing buffer {"connection_id":166269,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:52:43] local.INFO: IMEI packet received {"connection_id":166269,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:52:43] local.INFO: IMEI acknowledgment sent {"connection_id":166269,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:52:48] local.INFO: TCP Data received {"connection_id":166269,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166269,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:52:48] local.INFO: Processing buffer {"connection_id":166269,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:52:48] local.INFO: IMEI packet received {"connection_id":166269,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":166269,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:52:49] local.INFO: TCP Data received {"connection_id":166269,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048518850012d19538007209d880038003e27..."} 
[2026-08-28 17:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048518850012d19538007209d880038003e27..."} 
[2026-08-28 17:52:49] local.INFO: Processing buffer {"connection_id":166269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048518850012d19538007209d880038003e27..."} 
[2026-08-28 17:52:49] local.INFO: Packet analysis {"connection_id":166269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04851"} 
[2026-08-28 17:52:49] local.INFO: Extracted packet for processing {"connection_id":166269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04851"} 
[2026-08-28 17:52:49] local.INFO: GPS Element Parsed {"raw_longitude":756634496,"raw_latitude":119577992,"longitude_deg":75.6634496,"latitude_deg":11.9577992,"altitude":56,"angle":62,"satellites":39,"speed":8,"hex_longitude":"2d195380","hex_latitude":"07209d88","is_valid_coordinates":true} 
[2026-08-28 17: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-28 17:52:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707442176001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:52:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15996644348657664,"note":"Value kept but may cause issues"} 
[2026-08-28 17:52:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824520829650364416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:52:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:52:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787919698000,"timestamp_ms":1787919698000,"timestamp_seconds":1787919698,"priority":1,"record_length":96,"hex_timestamp":"000001a048518850"} 
[2026-08-28 17: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-28 17:52:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-28 17:52:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751528148,"note":"Value kept but may cause issues"} 
[2026-08-28 17:52:49] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-28 17:52:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-28 17:52:49] local.WARNING: Large IO value detected {"io_id":212,"raw_value":3204448256,"note":"Value kept but may cause issues"} 
[2026-08-28 17:52:49] local.WARNING: Large IO value detected {"io_id":56,"raw_value":9007425171748867667,"note":"Value kept but may cause issues"} 
[2026-08-28 17:52:49] local.WARNING: Large IO value detected {"io_id":1,"raw_value":4623226548307099658,"note":"Value kept but may cause issues"} 
[2026-08-28 17:52:49] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-28 17:52:49] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2468872246,"note":"Value kept but may cause issues"} 
[2026-08-28 17:52:49] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18638663429486695,"note":"Value kept but may cause issues"} 
[2026-08-28 17:52:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-28 17:52:49] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-28 17:52:49] local.WARNING: Large IO value detected {"io_id":25,"raw_value":6719378480296362036,"note":"Value kept but may cause issues"} 
[2026-08-28 17:52:49] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755455275761905,"note":"Value kept but may cause issues"} 
[2026-08-28 17:52:49] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,103,83,24,241,157,16,212,160,124,45,64,155,56,40,10,66,112,152,55,101,1,240,60,227,72,32,4,113,205,13,93,81,224,239,2,7,54,12,25,164],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-28 17:52:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3963219520931823616,"timestamp_seconds":3963219520931823.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 17: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-28 17:52:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:52:49] local.INFO: Teltonika packet parsed successfully {"connection_id":166269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:52:49] local.INFO: Passing IMEI to GPS processor {"connection_id":166269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:52:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":166269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:52:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:52:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:52:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:52:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707442176001,"66":14352,"103":206,"83":41984,"24":8,"16":15996644348657664,"45":1824520829650364416},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 17:52:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:52:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:52:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707442176001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:52:49] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 17:52:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:52:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15996644348657664,"km_value":15996644348657.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:52:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824520829650364416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:52:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707442176001,"power":14352,"unknown_103":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1824520829650364416}} 
[2026-08-28 17:52:49] local.INFO: DEBUG: GPS processor result {"connection_id":166269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709268,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:52:49] local.INFO: GPS data processed {"connection_id":166269,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:52:49] local.INFO: Acknowledgment sent {"connection_id":166269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:52:56] local.INFO: TCP Data received {"connection_id":166270,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166270,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:52:56] local.INFO: Processing buffer {"connection_id":166270,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:52:56] local.INFO: IMEI packet received {"connection_id":166270,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 17:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":166270,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:53:01] local.INFO: TCP Data received {"connection_id":166270,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166270,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:53:01] local.INFO: Processing buffer {"connection_id":166270,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:53:01] local.INFO: IMEI packet received {"connection_id":166270,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 17:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":166270,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:53:03] local.INFO: TCP Data received {"connection_id":166270,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0484f3690012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0484f3690012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:53:03] local.INFO: Processing buffer {"connection_id":166270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0484f3690012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:53:03] local.INFO: Packet analysis {"connection_id":166270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0484f"} 
[2026-08-28 17:53:03] local.INFO: Extracted packet for processing {"connection_id":166270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0484f"} 
[2026-08-28 17:53:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707326720001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787919546000,"timestamp_ms":1787919546000,"timestamp_seconds":1787919546,"priority":1,"record_length":96,"hex_timestamp":"000001a0484f3690"} 
[2026-08-28 17:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:53:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 17:53:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:53:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":166270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":166270,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":166270,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707326720001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707326720001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:53:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:53:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707326720001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:53:04] local.INFO: DEBUG: GPS processor result {"connection_id":166270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709269,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:53:04] local.INFO: GPS data processed {"connection_id":166270,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:53:04] local.INFO: Acknowledgment sent {"connection_id":166270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:53:16] local.INFO: TCP Data received {"connection_id":163906,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0485145e8012d34c14006aa4840001500e629..."} 
[2026-08-28 17:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0485145e8012d34c14006aa4840001500e629..."} 
[2026-08-28 17:53:16] local.INFO: Processing buffer {"connection_id":163906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0485145e8012d34c14006aa4840001500e629..."} 
[2026-08-28 17:53:16] local.INFO: Packet analysis {"connection_id":163906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04851"} 
[2026-08-28 17:53:16] local.INFO: Extracted packet for processing {"connection_id":163906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04851"} 
[2026-08-28 17:53:16] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":21,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17: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-28 17:53:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707361280001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:53:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:53:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:53:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:53:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787919681000,"timestamp_ms":1787919681000,"timestamp_seconds":1787919681,"priority":1,"record_length":96,"hex_timestamp":"000001a0485145e8"} 
[2026-08-28 17: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-28 17:53: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-28 17: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-28 17: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-28 17: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-28 17: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-28 17:53:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:53:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:53:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:53:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:53:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:53:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:53:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:53:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707361280001,"66":25441,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:53:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:53:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:53:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707361280001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:53:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:53:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17: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-28 17:53:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:53:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707361280001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:53:16] local.INFO: DEBUG: GPS processor result {"connection_id":163906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:53:16] local.INFO: GPS data processed {"connection_id":163906,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:53:16] local.INFO: Acknowledgment sent {"connection_id":163906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:53:20] local.INFO: TCP Data received {"connection_id":166269,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048524ba0012d190a400720c9380037012d27..."} 
[2026-08-28 17:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048524ba0012d190a400720c9380037012d27..."} 
[2026-08-28 17:53:20] local.INFO: Processing buffer {"connection_id":166269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048524ba0012d190a400720c9380037012d27..."} 
[2026-08-28 17:53:20] local.INFO: Packet analysis {"connection_id":166269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04852"} 
[2026-08-28 17:53:20] local.INFO: Extracted packet for processing {"connection_id":166269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04852"} 
[2026-08-28 17:53:20] local.INFO: GPS Element Parsed {"raw_longitude":756615744,"raw_latitude":119589176,"longitude_deg":75.6615744,"latitude_deg":11.9589176,"altitude":55,"angle":301,"satellites":39,"speed":30,"hex_longitude":"2d190a40","hex_latitude":"0720c938","is_valid_coordinates":true} 
[2026-08-28 17:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:53:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707452672001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:53:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15997932838846464,"note":"Value kept but may cause issues"} 
[2026-08-28 17:53:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1814246993002412032,"note":"Value kept but may cause issues"} 
[2026-08-28 17:53:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:53:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787919748000,"timestamp_ms":1787919748000,"timestamp_seconds":1787919748,"priority":1,"record_length":96,"hex_timestamp":"000001a048524ba0"} 
[2026-08-28 17:53:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:53:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-28 17:53:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:53:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:53:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:53:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:53:20] local.INFO: Teltonika packet parsed successfully {"connection_id":166269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:53:20] local.INFO: Passing IMEI to GPS processor {"connection_id":166269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:53:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":166269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:53:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:53:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:53:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:53:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707452672001,"66":14080,"103":206,"83":41984,"24":30,"16":15997932838846464,"45":1814246993002412032},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 17:53:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:53:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:53:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707452672001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:53:20] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 17:53:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:53:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15997932838846464,"km_value":15997932838846.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:53:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1814246993002412032,"description":"Unknown IO ID 45"} 
[2026-08-28 17:53:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707452672001,"power":14080,"unknown_103":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1814246993002412032}} 
[2026-08-28 17:53:20] local.INFO: DEBUG: GPS processor result {"connection_id":166269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709271,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:53:20] local.INFO: GPS data processed {"connection_id":166269,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:53:20] local.INFO: Acknowledgment sent {"connection_id":166269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:53:30] local.INFO: TCP Data received {"connection_id":166271,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:53:30] local.INFO: Processing buffer {"connection_id":166271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:53:30] local.INFO: IMEI packet received {"connection_id":166271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 17:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":166271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:53:35] local.INFO: TCP Data received {"connection_id":166271,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:53:35] local.INFO: Processing buffer {"connection_id":166271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:53:35] local.INFO: IMEI packet received {"connection_id":166271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 17:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":166271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:53:38] local.INFO: TCP Data received {"connection_id":166271,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0485145e8012d34c14006aa4840001500e629..."} 
[2026-08-28 17:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0485145e8012d34c14006aa4840001500e629..."} 
[2026-08-28 17:53:38] local.INFO: Processing buffer {"connection_id":166271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0485145e8012d34c14006aa4840001500e629..."} 
[2026-08-28 17:53:38] local.INFO: Packet analysis {"connection_id":166271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04851"} 
[2026-08-28 17:53:38] local.INFO: Extracted packet for processing {"connection_id":166271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04851"} 
[2026-08-28 17:53:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":21,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707361280001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787919681000,"timestamp_ms":1787919681000,"timestamp_seconds":1787919681,"priority":1,"record_length":96,"hex_timestamp":"000001a0485145e8"} 
[2026-08-28 17:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 17:53: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-28 17:53:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":166271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":166271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":166271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707361280001,"66":25441,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707361280001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:53:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:53:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:53: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-28 17:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707361280001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":166271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:53:38] local.INFO: GPS data processed {"connection_id":166271,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:53:38] local.INFO: Acknowledgment sent {"connection_id":166271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:53:38] local.INFO: TCP Data received {"connection_id":166270,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0484f3690012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0484f3690012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:53:38] local.INFO: Processing buffer {"connection_id":166270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0484f3690012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:53:38] local.INFO: Packet analysis {"connection_id":166270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0484f"} 
[2026-08-28 17:53:38] local.INFO: Extracted packet for processing {"connection_id":166270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0484f"} 
[2026-08-28 17:53:38] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707326720001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787919546000,"timestamp_ms":1787919546000,"timestamp_seconds":1787919546,"priority":1,"record_length":96,"hex_timestamp":"000001a0484f3690"} 
[2026-08-28 17:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 17:53:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:53:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":166270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":166270,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":166270,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707326720001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707326720001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:53:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:53:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707326720001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":166270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709273,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:53:38] local.INFO: GPS data processed {"connection_id":166270,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:53:38] local.INFO: Acknowledgment sent {"connection_id":166270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:53:43] local.INFO: TCP Data received {"connection_id":163631,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:53:43] local.INFO: Processing buffer {"connection_id":163631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:53:43] local.INFO: IMEI packet received {"connection_id":163631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 17:53:43] local.INFO: IMEI acknowledgment sent {"connection_id":163631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:53:48] local.INFO: TCP Data received {"connection_id":163631,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:53:48] local.INFO: Processing buffer {"connection_id":163631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:53:48] local.INFO: IMEI packet received {"connection_id":163631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":163631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:53:49] local.INFO: TCP Data received {"connection_id":163631,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048526ec8012d18f3000720d9000039013c27..."} 
[2026-08-28 17:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048526ec8012d18f3000720d9000039013c27..."} 
[2026-08-28 17:53:49] local.INFO: Processing buffer {"connection_id":163631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048526ec8012d18f3000720d9000039013c27..."} 
[2026-08-28 17:53:49] local.INFO: Packet analysis {"connection_id":163631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04852"} 
[2026-08-28 17:53:49] local.INFO: Extracted packet for processing {"connection_id":163631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04852"} 
[2026-08-28 17:53:49] local.INFO: GPS Element Parsed {"raw_longitude":756609792,"raw_latitude":119593216,"longitude_deg":75.6609792,"latitude_deg":11.9593216,"altitude":57,"angle":316,"satellites":39,"speed":35,"hex_longitude":"2d18f300","hex_latitude":"0720d900","is_valid_coordinates":true} 
[2026-08-28 17:53: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-28 17:53:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707455488001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:53:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15998276436230144,"note":"Value kept but may cause issues"} 
[2026-08-28 17:53:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1804325000074311680,"note":"Value kept but may cause issues"} 
[2026-08-28 17:53:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:53:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787919757000,"timestamp_ms":1787919757000,"timestamp_seconds":1787919757,"priority":1,"record_length":96,"hex_timestamp":"000001a048526ec8"} 
[2026-08-28 17:53:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:53:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:53:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-28 17:53:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219968,"note":"Value kept but may cause issues"} 
[2026-08-28 17:53:49] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-28 17:53:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-28 17:53:49] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2861039672,"note":"Value kept but may cause issues"} 
[2026-08-28 17:53:49] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3221278072,"note":"Value kept but may cause issues"} 
[2026-08-28 17:53:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-28 17:53:49] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3574923264,"note":"Value kept but may cause issues"} 
[2026-08-28 17:53:49] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,103,83,24,241,157,16,214,160,32,45,128,186,52,38,10,66,213,17,64,179,54,39,5,1,240,92,227,72,4,113,205,222,89,248,41,239,2,56,7,57,6],"length":479,"final_offset":609,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-28 17:53:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3963498792591687680,"timestamp_seconds":3963498792591687.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 17:53:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:53:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:53:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:53:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:53:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:53:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:53:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:53:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:53:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707455488001,"66":14396,"103":206,"83":41984,"24":35,"16":15998276436230144,"45":1804325000074311680},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 17:53:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:53:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:53:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707455488001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:53:49] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 17:53:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:53:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15998276436230144,"km_value":15998276436230.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:53:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1804325000074311680,"description":"Unknown IO ID 45"} 
[2026-08-28 17:53:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707455488001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1804325000074311680}} 
[2026-08-28 17:53:49] 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":709274,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:53:49] local.INFO: GPS data processed {"connection_id":163631,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:53:49] local.INFO: Acknowledgment sent {"connection_id":163631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:53:56] local.INFO: TCP Data received {"connection_id":163632,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163632,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:53:56] local.INFO: Processing buffer {"connection_id":163632,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:53:56] local.INFO: IMEI packet received {"connection_id":163632,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 17:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":163632,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:54:01] local.INFO: TCP Data received {"connection_id":163632,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163632,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:54:01] local.INFO: Processing buffer {"connection_id":163632,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:54:01] local.INFO: IMEI packet received {"connection_id":163632,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 17:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":163632,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:54:03] local.INFO: TCP Data received {"connection_id":163632,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0484f3690012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0484f3690012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:54:03] local.INFO: Processing buffer {"connection_id":163632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0484f3690012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:54:03] local.INFO: Packet analysis {"connection_id":163632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0484f"} 
[2026-08-28 17:54:03] local.INFO: Extracted packet for processing {"connection_id":163632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0484f"} 
[2026-08-28 17:54:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707326720001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787919546000,"timestamp_ms":1787919546000,"timestamp_seconds":1787919546,"priority":1,"record_length":96,"hex_timestamp":"000001a0484f3690"} 
[2026-08-28 17:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:54:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 17:54:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:54:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163632,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163632,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:54:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707326720001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707326720001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:54:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:54:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707326720001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:54:03] 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":709275,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:54:03] local.INFO: GPS data processed {"connection_id":163632,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:54:03] local.INFO: Acknowledgment sent {"connection_id":163632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:54:09] local.INFO: TCP Data received {"connection_id":166271,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0485145e8012d34c14006aa4840001500e629..."} 
[2026-08-28 17:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0485145e8012d34c14006aa4840001500e629..."} 
[2026-08-28 17:54:09] local.INFO: Processing buffer {"connection_id":166271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0485145e8012d34c14006aa4840001500e629..."} 
[2026-08-28 17:54:09] local.INFO: Packet analysis {"connection_id":166271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04851"} 
[2026-08-28 17:54:09] local.INFO: Extracted packet for processing {"connection_id":166271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04851"} 
[2026-08-28 17:54:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":21,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707361280001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:54:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:54:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787919681000,"timestamp_ms":1787919681000,"timestamp_seconds":1787919681,"priority":1,"record_length":96,"hex_timestamp":"000001a0485145e8"} 
[2026-08-28 17:54:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:54:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 17:54:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:54:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:54:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":166271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":166271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":166271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:54:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707361280001,"66":25441,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707361280001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:54:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:54:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:54: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-28 17:54:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707361280001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:54:09] local.INFO: DEBUG: GPS processor result {"connection_id":166271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:54:09] local.INFO: GPS data processed {"connection_id":166271,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:54:09] local.INFO: Acknowledgment sent {"connection_id":166271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:54:20] local.INFO: TCP Data received {"connection_id":163631,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048527a80012d18ec400720e1e00039014827..."} 
[2026-08-28 17:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048527a80012d18ec400720e1e00039014827..."} 
[2026-08-28 17:54:20] local.INFO: Processing buffer {"connection_id":163631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048527a80012d18ec400720e1e00039014827..."} 
[2026-08-28 17:54:20] local.INFO: Packet analysis {"connection_id":163631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04852"} 
[2026-08-28 17:54:20] local.INFO: Extracted packet for processing {"connection_id":163631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04852"} 
[2026-08-28 17:54:20] local.INFO: GPS Element Parsed {"raw_longitude":756608064,"raw_latitude":119595488,"longitude_deg":75.6608064,"latitude_deg":11.9595488,"altitude":57,"angle":328,"satellites":39,"speed":37,"hex_longitude":"2d18ec40","hex_latitude":"0720e1e0","is_valid_coordinates":true} 
[2026-08-28 17:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:54:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707457792001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:54:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":15998413875183616,"note":"Value kept but may cause issues"} 
[2026-08-28 17:54:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1797780706866823168,"note":"Value kept but may cause issues"} 
[2026-08-28 17:54:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:54:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787919760000,"timestamp_ms":1787919760000,"timestamp_seconds":1787919760,"priority":1,"record_length":96,"hex_timestamp":"000001a048527a80"} 
[2026-08-28 17:54:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:54:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-28 17:54:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:54:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:54:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:54:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:54:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:54:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:54:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:54:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:54:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:54:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:54:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707457792001,"66":14363,"103":206,"83":41984,"24":37,"16":15998413875183616,"45":1797780706866823168},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 17:54:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:54:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:54:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707457792001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:54:20] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 17:54:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:54:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":15998413875183616,"km_value":15998413875183.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:54:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1797780706866823168,"description":"Unknown IO ID 45"} 
[2026-08-28 17:54:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707457792001,"power":14363,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1797780706866823168}} 
[2026-08-28 17:54:20] 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":709277,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:54:20] local.INFO: GPS data processed {"connection_id":163631,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:54:20] local.INFO: Acknowledgment sent {"connection_id":163631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:54:30] local.INFO: TCP Data received {"connection_id":163907,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:54:30] local.INFO: Processing buffer {"connection_id":163907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:54:30] local.INFO: IMEI packet received {"connection_id":163907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 17:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":163907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:54:35] local.INFO: TCP Data received {"connection_id":163907,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:54:35] local.INFO: Processing buffer {"connection_id":163907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:54:35] local.INFO: IMEI packet received {"connection_id":163907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 17:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":163907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:54:36] local.INFO: TCP Data received {"connection_id":163632,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0484f3690012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0484f3690012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:54:36] local.INFO: Processing buffer {"connection_id":163632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0484f3690012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:54:36] local.INFO: Packet analysis {"connection_id":163632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0484f"} 
[2026-08-28 17:54:36] local.INFO: Extracted packet for processing {"connection_id":163632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0484f"} 
[2026-08-28 17:54:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707326720001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:54:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787919546000,"timestamp_ms":1787919546000,"timestamp_seconds":1787919546,"priority":1,"record_length":96,"hex_timestamp":"000001a0484f3690"} 
[2026-08-28 17:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 17:54:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:54:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163632,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163632,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:54:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707326720001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707326720001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:54:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:54:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707326720001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:54:36] 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":709278,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:54:36] local.INFO: GPS data processed {"connection_id":163632,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:54:36] local.INFO: Acknowledgment sent {"connection_id":163632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:54:37] local.INFO: TCP Data received {"connection_id":163907,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0485145e8012d34c14006aa4840001500e629..."} 
[2026-08-28 17:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0485145e8012d34c14006aa4840001500e629..."} 
[2026-08-28 17:54:37] local.INFO: Processing buffer {"connection_id":163907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0485145e8012d34c14006aa4840001500e629..."} 
[2026-08-28 17:54:37] local.INFO: Packet analysis {"connection_id":163907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04851"} 
[2026-08-28 17:54:37] local.INFO: Extracted packet for processing {"connection_id":163907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04851"} 
[2026-08-28 17:54:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":21,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707361280001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787919681000,"timestamp_ms":1787919681000,"timestamp_seconds":1787919681,"priority":1,"record_length":96,"hex_timestamp":"000001a0485145e8"} 
[2026-08-28 17:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 17:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:54:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707361280001,"66":25441,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707361280001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:54:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:54:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:54: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-28 17:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707361280001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":163907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:54:37] local.INFO: GPS data processed {"connection_id":163907,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:54:37] local.INFO: Acknowledgment sent {"connection_id":163907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:54:48] local.INFO: TCP Data received {"connection_id":166272,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166272,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:54:48] local.INFO: Processing buffer {"connection_id":166272,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:54:48] local.INFO: IMEI packet received {"connection_id":166272,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 17:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":166272,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:54:49] local.INFO: TCP Data received {"connection_id":166272,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166272,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:54:49] local.INFO: Processing buffer {"connection_id":166272,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:54:49] local.INFO: IMEI packet received {"connection_id":166272,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":166272,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:54:50] local.INFO: TCP Data received {"connection_id":166272,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048535d10012d18bf00072156580040014428..."} 
[2026-08-28 17:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048535d10012d18bf00072156580040014428..."} 
[2026-08-28 17:54:50] local.INFO: Processing buffer {"connection_id":166272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048535d10012d18bf00072156580040014428..."} 
[2026-08-28 17:54:50] local.INFO: Packet analysis {"connection_id":166272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04853"} 
[2026-08-28 17:54:50] local.INFO: Extracted packet for processing {"connection_id":166272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04853"} 
[2026-08-28 17:54:50] local.INFO: GPS Element Parsed {"raw_longitude":756596480,"raw_latitude":119625304,"longitude_deg":75.659648,"latitude_deg":11.9625304,"altitude":64,"angle":324,"satellites":40,"speed":30,"hex_longitude":"2d18bf00","hex_latitude":"07215658","is_valid_coordinates":true} 
[2026-08-28 17:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:54:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707472896001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:54:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16000020192952320,"note":"Value kept but may cause issues"} 
[2026-08-28 17:54:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783918064271661056,"note":"Value kept but may cause issues"} 
[2026-08-28 17:54:50] 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-28 17:54:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787919818000,"timestamp_ms":1787919818000,"timestamp_seconds":1787919818,"priority":1,"record_length":96,"hex_timestamp":"000001a048535d10"} 
[2026-08-28 17:54:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:54:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-08-28 17:54:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:54:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:54:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:54:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:54:50] local.INFO: Teltonika packet parsed successfully {"connection_id":166272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:54:50] local.INFO: Passing IMEI to GPS processor {"connection_id":166272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:54:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":166272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:54:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:54:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:54:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:54:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707472896001,"66":13852,"106":206,"83":41984,"24":30,"16":16000020192952320,"45":1783918064271661056},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-28 17:54:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:54:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:54:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707472896001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:54:50] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:54:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:54:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16000020192952320,"km_value":16000020192952.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:54:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783918064271661056,"description":"Unknown IO ID 45"} 
[2026-08-28 17:54:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707472896001,"power":13852,"unknown_106":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1783918064271661056}} 
[2026-08-28 17:54:50] local.INFO: DEBUG: GPS processor result {"connection_id":166272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709280,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:54:50] local.INFO: GPS data processed {"connection_id":166272,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:54:50] local.INFO: Acknowledgment sent {"connection_id":166272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:54:54] local.INFO: TCP Data received {"connection_id":166272,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048538bf0012d18a980072171f80046013227..."} 
[2026-08-28 17:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048538bf0012d18a980072171f80046013227..."} 
[2026-08-28 17:54:54] local.INFO: Processing buffer {"connection_id":166272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048538bf0012d18a980072171f80046013227..."} 
[2026-08-28 17:54:54] local.INFO: Packet analysis {"connection_id":166272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04853"} 
[2026-08-28 17:54:54] local.INFO: Extracted packet for processing {"connection_id":166272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04853"} 
[2026-08-28 17:54:54] local.INFO: GPS Element Parsed {"raw_longitude":756590976,"raw_latitude":119632376,"longitude_deg":75.6590976,"latitude_deg":11.9632376,"altitude":70,"angle":306,"satellites":39,"speed":30,"hex_longitude":"2d18a980","hex_latitude":"072171f8","is_valid_coordinates":true} 
[2026-08-28 17:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707473408001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:54:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16000453984649216,"note":"Value kept but may cause issues"} 
[2026-08-28 17:54:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783144008086083584,"note":"Value kept but may cause issues"} 
[2026-08-28 17:54:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:54:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787919830000,"timestamp_ms":1787919830000,"timestamp_seconds":1787919830,"priority":1,"record_length":96,"hex_timestamp":"000001a048538bf0"} 
[2026-08-28 17:54:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:54:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-08-28 17:54:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:54:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:54:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:54:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:54:54] local.INFO: Teltonika packet parsed successfully {"connection_id":166272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:54:54] local.INFO: Passing IMEI to GPS processor {"connection_id":166272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:54:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":166272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:54:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:54:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:54:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:54:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707473408001,"66":14374,"106":206,"83":41984,"24":30,"16":16000453984649216,"45":1783144008086083584},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-28 17:54:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:54:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:54:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707473408001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:54:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:54:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:54:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16000453984649216,"km_value":16000453984649.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:54:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783144008086083584,"description":"Unknown IO ID 45"} 
[2026-08-28 17:54:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707473408001,"power":14374,"unknown_106":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1783144008086083584}} 
[2026-08-28 17:54:54] local.INFO: DEBUG: GPS processor result {"connection_id":166272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709281,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:54:54] local.INFO: GPS data processed {"connection_id":166272,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:54:54] local.INFO: Acknowledgment sent {"connection_id":166272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:54:56] local.INFO: TCP Data received {"connection_id":163633,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163633,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:54:56] local.INFO: Processing buffer {"connection_id":163633,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:54:56] local.INFO: IMEI packet received {"connection_id":163633,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 17:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":163633,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:55:01] local.INFO: TCP Data received {"connection_id":163633,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163633,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:55:01] local.INFO: Processing buffer {"connection_id":163633,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:55:01] local.INFO: IMEI packet received {"connection_id":163633,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 17:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":163633,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:55:03] local.INFO: TCP Data received {"connection_id":163633,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04853ce58012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04853ce58012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:55:03] local.INFO: Processing buffer {"connection_id":163633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04853ce58012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:55:03] local.INFO: Packet analysis {"connection_id":163633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04853"} 
[2026-08-28 17:55:03] local.INFO: Extracted packet for processing {"connection_id":163633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04853"} 
[2026-08-28 17:55:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707403776001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:55:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:55:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787919847000,"timestamp_ms":1787919847000,"timestamp_seconds":1787919847,"priority":1,"record_length":96,"hex_timestamp":"000001a04853ce58"} 
[2026-08-28 17:55:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:55:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 17:55:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:55:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:55:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163633,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163633,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:55:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707403776001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707403776001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:55:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:55:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:55:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:55:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707403776001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:55:03] 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":709282,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:55:03] local.INFO: GPS data processed {"connection_id":163633,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:55:03] local.INFO: Acknowledgment sent {"connection_id":163633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:55:10] local.INFO: TCP Data received {"connection_id":163907,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0485145e8012d34c14006aa4840001500e629..."} 
[2026-08-28 17:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0485145e8012d34c14006aa4840001500e629..."} 
[2026-08-28 17:55:10] local.INFO: Processing buffer {"connection_id":163907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0485145e8012d34c14006aa4840001500e629..."} 
[2026-08-28 17:55:10] local.INFO: Packet analysis {"connection_id":163907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04851"} 
[2026-08-28 17:55:10] local.INFO: Extracted packet for processing {"connection_id":163907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04851"} 
[2026-08-28 17:55:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":21,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707361280001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:55:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:55:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787919681000,"timestamp_ms":1787919681000,"timestamp_seconds":1787919681,"priority":1,"record_length":96,"hex_timestamp":"000001a0485145e8"} 
[2026-08-28 17:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:55:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 17:55:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:55:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:55:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707361280001,"66":25441,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707361280001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:55:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:55:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:55:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707361280001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":163907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:55:10] local.INFO: GPS data processed {"connection_id":163907,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:55:10] local.INFO: Acknowledgment sent {"connection_id":163907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:55:25] local.INFO: TCP Data received {"connection_id":166272,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048538bf0012d18a980072171f80046013227..."} 
[2026-08-28 17:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048538bf0012d18a980072171f80046013227..."} 
[2026-08-28 17:55:25] local.INFO: Processing buffer {"connection_id":166272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048538bf0012d18a980072171f80046013227..."} 
[2026-08-28 17:55:25] local.INFO: Packet analysis {"connection_id":166272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04853"} 
[2026-08-28 17:55:25] local.INFO: Extracted packet for processing {"connection_id":166272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04853"} 
[2026-08-28 17:55:25] local.INFO: GPS Element Parsed {"raw_longitude":756590976,"raw_latitude":119632376,"longitude_deg":75.6590976,"latitude_deg":11.9632376,"altitude":70,"angle":306,"satellites":39,"speed":30,"hex_longitude":"2d18a980","hex_latitude":"072171f8","is_valid_coordinates":true} 
[2026-08-28 17:55:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:55:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707476480001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:55:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16000453984649216,"note":"Value kept but may cause issues"} 
[2026-08-28 17:55:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777092296088614912,"note":"Value kept but may cause issues"} 
[2026-08-28 17:55:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:55:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787919830000,"timestamp_ms":1787919830000,"timestamp_seconds":1787919830,"priority":1,"record_length":96,"hex_timestamp":"000001a048538bf0"} 
[2026-08-28 17:55:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:55:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:55:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-28 17:55:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:55:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:55:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:55:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:55:25] local.INFO: Teltonika packet parsed successfully {"connection_id":166272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:55:25] local.INFO: Passing IMEI to GPS processor {"connection_id":166272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:55:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":166272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:55:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:55:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:55:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:55:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707476480001,"66":14374,"106":206,"83":41984,"24":30,"16":16000453984649216,"45":1777092296088614912},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-28 17:55:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:55:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:55:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707476480001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:55:25] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:55:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:55:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16000453984649216,"km_value":16000453984649.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:55:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777092296088614912,"description":"Unknown IO ID 45"} 
[2026-08-28 17:55:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707476480001,"power":14374,"unknown_106":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1777092296088614912}} 
[2026-08-28 17:55:25] local.INFO: DEBUG: GPS processor result {"connection_id":166272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709284,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:55:25] local.INFO: GPS data processed {"connection_id":166272,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:55:25] local.INFO: Acknowledgment sent {"connection_id":166272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:55:36] local.INFO: TCP Data received {"connection_id":163634,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:55:36] local.INFO: Processing buffer {"connection_id":163634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:55:36] local.INFO: IMEI packet received {"connection_id":163634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 17:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":163634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:55:37] local.INFO: TCP Data received {"connection_id":163633,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04853ce58012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04853ce58012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:55:37] local.INFO: Processing buffer {"connection_id":163633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04853ce58012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:55:37] local.INFO: Packet analysis {"connection_id":163633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04853"} 
[2026-08-28 17:55:37] local.INFO: Extracted packet for processing {"connection_id":163633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04853"} 
[2026-08-28 17:55:37] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707403776001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787919847000,"timestamp_ms":1787919847000,"timestamp_seconds":1787919847,"priority":1,"record_length":96,"hex_timestamp":"000001a04853ce58"} 
[2026-08-28 17:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 17:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163633,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163633,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707403776001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707403776001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:55:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:55:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707403776001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:55:38] 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":709285,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:55:38] local.INFO: GPS data processed {"connection_id":163633,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:55:38] local.INFO: Acknowledgment sent {"connection_id":163633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:55:41] local.INFO: TCP Data received {"connection_id":163634,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:55:41] local.INFO: Processing buffer {"connection_id":163634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:55:41] local.INFO: IMEI packet received {"connection_id":163634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 17:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":163634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:55:43] local.INFO: TCP Data received {"connection_id":164916,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:55:43] local.INFO: Processing buffer {"connection_id":164916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:55:43] local.INFO: IMEI packet received {"connection_id":164916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 17:55:43] local.INFO: IMEI acknowledgment sent {"connection_id":164916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:55:43] local.INFO: TCP Data received {"connection_id":163634,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0485145e8012d34c14006aa4840001500e629..."} 
[2026-08-28 17:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0485145e8012d34c14006aa4840001500e629..."} 
[2026-08-28 17:55:43] local.INFO: Processing buffer {"connection_id":163634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0485145e8012d34c14006aa4840001500e629..."} 
[2026-08-28 17:55:43] local.INFO: Packet analysis {"connection_id":163634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04851"} 
[2026-08-28 17:55:43] local.INFO: Extracted packet for processing {"connection_id":163634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04851"} 
[2026-08-28 17:55:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":21,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 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-28 17:55:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707361280001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:55:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:55:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:55:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:55:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787919681000,"timestamp_ms":1787919681000,"timestamp_seconds":1787919681,"priority":1,"record_length":96,"hex_timestamp":"000001a0485145e8"} 
[2026-08-28 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-28 17:55: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-28 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":97,"data_length":795,"current_offset":136} 
[2026-08-28 17:55: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-28 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-28 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-28 17:55:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:55:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:55:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:55:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:55:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:55:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:55:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:55:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707361280001,"66":25441,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:55:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:55:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:55:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707361280001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:55:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:55:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 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-28 17:55:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:55:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707361280001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:55:43] 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":709286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:55:43] local.INFO: GPS data processed {"connection_id":163634,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:55:43] local.INFO: Acknowledgment sent {"connection_id":163634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:55:46] local.INFO: TCP Data received {"connection_id":163634,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0485145e8012d34c14006aa4840001500e629..."} 
[2026-08-28 17:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0485145e8012d34c14006aa4840001500e629..."} 
[2026-08-28 17:55:46] local.INFO: Processing buffer {"connection_id":163634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0485145e8012d34c14006aa4840001500e629..."} 
[2026-08-28 17:55:46] local.INFO: Packet analysis {"connection_id":163634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04851"} 
[2026-08-28 17:55:46] local.INFO: Extracted packet for processing {"connection_id":163634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04851"} 
[2026-08-28 17:55:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":21,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17: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-28 17:55:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707361280001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:55:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:55:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:55:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:55:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787919681000,"timestamp_ms":1787919681000,"timestamp_seconds":1787919681,"priority":1,"record_length":96,"hex_timestamp":"000001a0485145e8"} 
[2026-08-28 17: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-28 17: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-28 17: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 17:55: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-28 17: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-28 17: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-28 17:55:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:55:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:55:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:55:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:55:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:55:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:55:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:55:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707361280001,"66":25441,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:55:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:55:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:55:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707361280001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:55:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:55:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17: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-28 17:55:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:55:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707361280001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:55:46] 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":709287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:55:46] local.INFO: GPS data processed {"connection_id":163634,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:55:46] local.INFO: Acknowledgment sent {"connection_id":163634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:55:48] local.INFO: TCP Data received {"connection_id":164916,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:55:48] local.INFO: Processing buffer {"connection_id":164916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:55:48] local.INFO: IMEI packet received {"connection_id":164916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":164916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:55:49] local.INFO: TCP Data received {"connection_id":164916,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0485393c0012d18a3c0072174e00047012227..."} 
[2026-08-28 17:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0485393c0012d18a3c0072174e00047012227..."} 
[2026-08-28 17:55:49] local.INFO: Processing buffer {"connection_id":164916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0485393c0012d18a3c0072174e00047012227..."} 
[2026-08-28 17:55:49] local.INFO: Packet analysis {"connection_id":164916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04853"} 
[2026-08-28 17:55:49] local.INFO: Extracted packet for processing {"connection_id":164916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04853"} 
[2026-08-28 17:55:49] local.INFO: GPS Element Parsed {"raw_longitude":756589504,"raw_latitude":119633120,"longitude_deg":75.6589504,"latitude_deg":11.963312,"altitude":71,"angle":290,"satellites":39,"speed":33,"hex_longitude":"2d18a3c0","hex_latitude":"072174e0","is_valid_coordinates":true} 
[2026-08-28 17:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:55:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707476480001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:55:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16000531294060544,"note":"Value kept but may cause issues"} 
[2026-08-28 17:55:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777092296088614912,"note":"Value kept but may cause issues"} 
[2026-08-28 17:55:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:55:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787919832000,"timestamp_ms":1787919832000,"timestamp_seconds":1787919832,"priority":1,"record_length":96,"hex_timestamp":"000001a0485393c0"} 
[2026-08-28 17:55:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:55:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-28 17:55:49] 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-28 17:55:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:55:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:55:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:55:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:55:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:55:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:55:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:55:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:55:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:55:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707476480001,"66":14374,"106":206,"83":41984,"24":33,"16":16000531294060544,"45":1777092296088614912},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-28 17:55:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:55:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:55:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707476480001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:55:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:55:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:55:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16000531294060544,"km_value":16000531294060.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:55:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777092296088614912,"description":"Unknown IO ID 45"} 
[2026-08-28 17:55:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707476480001,"power":14374,"unknown_106":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1777092296088614912}} 
[2026-08-28 17:55:49] 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":709288,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:55:49] local.INFO: GPS data processed {"connection_id":164916,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:55:49] local.INFO: Acknowledgment sent {"connection_id":164916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:55:56] local.INFO: TCP Data received {"connection_id":163635,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163635,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:55:56] local.INFO: Processing buffer {"connection_id":163635,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:55:56] local.INFO: IMEI packet received {"connection_id":163635,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 17:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":163635,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:56:00] local.INFO: TCP Data received {"connection_id":163908,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163908,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:56:00] local.INFO: Processing buffer {"connection_id":163908,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:56:00] local.INFO: IMEI packet received {"connection_id":163908,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 17:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":163908,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:56:01] local.INFO: TCP Data received {"connection_id":163635,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163635,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:56:01] local.INFO: Processing buffer {"connection_id":163635,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:56:01] local.INFO: IMEI packet received {"connection_id":163635,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 17:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":163635,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:56:03] local.INFO: TCP Data received {"connection_id":163635,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04853ce58012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04853ce58012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:56:03] local.INFO: Processing buffer {"connection_id":163635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04853ce58012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:56:03] local.INFO: Packet analysis {"connection_id":163635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04853"} 
[2026-08-28 17:56:03] local.INFO: Extracted packet for processing {"connection_id":163635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04853"} 
[2026-08-28 17:56:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707403776001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:56:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787919847000,"timestamp_ms":1787919847000,"timestamp_seconds":1787919847,"priority":1,"record_length":96,"hex_timestamp":"000001a04853ce58"} 
[2026-08-28 17:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:56:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 17:56:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:56:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163635,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163635,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:56:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707403776001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707403776001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:56:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:56:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707403776001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:56:03] 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":709289,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:56:03] local.INFO: GPS data processed {"connection_id":163635,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:56:03] local.INFO: Acknowledgment sent {"connection_id":163635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:56:05] local.INFO: TCP Data received {"connection_id":163908,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163908,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:56:05] local.INFO: Processing buffer {"connection_id":163908,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:56:05] local.INFO: IMEI packet received {"connection_id":163908,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 17:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":163908,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:56:06] local.INFO: TCP Data received {"connection_id":163908,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a04854e3b0012d7b50c005e140f0000a006122..."} 
[2026-08-28 17:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04854e3b0012d7b50c005e140f0000a006122..."} 
[2026-08-28 17:56:06] local.INFO: Processing buffer {"connection_id":163908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04854e3b0012d7b50c005e140f0000a006122..."} 
[2026-08-28 17:56:06] local.INFO: Packet analysis {"connection_id":163908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04854"} 
[2026-08-28 17:56:06] local.INFO: Extracted packet for processing {"connection_id":163908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04854"} 
[2026-08-28 17:56:06] local.INFO: GPS Element Parsed {"raw_longitude":763056320,"raw_latitude":98648304,"longitude_deg":76.305632,"latitude_deg":9.8648304,"altitude":10,"angle":97,"satellites":34,"speed":0,"hex_longitude":"2d7b50c0","hex_latitude":"05e140f0","is_valid_coordinates":true} 
[2026-08-28 17:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707499008001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232132430757888,"note":"Value kept but may cause issues"} 
[2026-08-28 17:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885813196288487424,"note":"Value kept but may cause issues"} 
[2026-08-28 17:56:06] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-28 17:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787919918000,"timestamp_ms":1787919918000,"timestamp_seconds":1787919918,"priority":1,"record_length":96,"hex_timestamp":"000001a04854e3b0"} 
[2026-08-28 17:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:56:06] 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-28 17:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-08-28 17:56:06] 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-28 17:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163908,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163908,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707499008001,"66":2275,"24":0,"16":125232132430757888,"45":8885813196288487424},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-28 17:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707499008001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232132430757888,"km_value":125232132430757.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885813196288487424,"description":"Unknown IO ID 45"} 
[2026-08-28 17:56:06] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457707499008001,"power":2275,"ignition":0,"odometer":null,"unknown_45":8885813196288487424}} 
[2026-08-28 17:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":163908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709290,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:56:06] local.INFO: GPS data processed {"connection_id":163908,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:56:06] local.INFO: Acknowledgment sent {"connection_id":163908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:56:20] local.INFO: TCP Data received {"connection_id":164916,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a04853bad0012d187fc0072181780049011522..."} 
[2026-08-28 17:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04853bad0012d187fc0072181780049011522..."} 
[2026-08-28 17:56:20] local.INFO: Processing buffer {"connection_id":164916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04853bad0012d187fc0072181780049011522..."} 
[2026-08-28 17:56:20] local.INFO: Packet analysis {"connection_id":164916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04853"} 
[2026-08-28 17:56:20] local.INFO: Extracted packet for processing {"connection_id":164916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04853"} 
[2026-08-28 17:56:20] local.INFO: GPS Element Parsed {"raw_longitude":756580288,"raw_latitude":119636344,"longitude_deg":75.6580288,"latitude_deg":11.9636344,"altitude":73,"angle":277,"satellites":34,"speed":37,"hex_longitude":"2d187fc0","hex_latitude":"07218178","is_valid_coordinates":true} 
[2026-08-28 17: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-28 17:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707476992001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16000999445495808,"note":"Value kept but may cause issues"} 
[2026-08-28 17:56:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775473814972719104,"note":"Value kept but may cause issues"} 
[2026-08-28 17:56:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787919842000,"timestamp_ms":1787919842000,"timestamp_seconds":1787919842,"priority":1,"record_length":96,"hex_timestamp":"000001a04853bad0"} 
[2026-08-28 17: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-28 17:56:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-28 17:56:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17: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-28 17: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-28 17:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":164916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":164916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":164916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 17:56:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 17:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 17:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707476992001,"66":14428,"106":206,"83":41984,"24":37,"16":16000999445495808,"45":1775473814972719104},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-28 17:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 17:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 17:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707476992001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:56:20] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:56:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 17:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16000999445495808,"km_value":16000999445495.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:56:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775473814972719104,"description":"Unknown IO ID 45"} 
[2026-08-28 17:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707476992001,"power":14428,"unknown_106":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1775473814972719104}} 
[2026-08-28 17:56:20] 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":709291,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:56:20] local.INFO: GPS data processed {"connection_id":164916,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:56:20] local.INFO: Acknowledgment sent {"connection_id":164916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:56:30] local.INFO: TCP Data received {"connection_id":166274,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166274,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:56:30] local.INFO: Processing buffer {"connection_id":166274,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:56:30] local.INFO: IMEI packet received {"connection_id":166274,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 17:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":166274,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:56:30] local.INFO: TCP Data received {"connection_id":166273,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:56:30] local.INFO: Processing buffer {"connection_id":166273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:56:30] local.INFO: IMEI packet received {"connection_id":166273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 17:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":166273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:56:35] local.INFO: TCP Data received {"connection_id":166274,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166274,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:56:35] local.INFO: Processing buffer {"connection_id":166274,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:56:35] local.INFO: IMEI packet received {"connection_id":166274,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 17:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":166274,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:56:35] local.INFO: TCP Data received {"connection_id":166273,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:56:35] local.INFO: Processing buffer {"connection_id":166273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:56:35] local.INFO: IMEI packet received {"connection_id":166273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 17:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":166273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:56:36] local.INFO: TCP Data received {"connection_id":166274,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a04854e3b0012d7b50c005e140f0000a006122..."} 
[2026-08-28 17:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04854e3b0012d7b50c005e140f0000a006122..."} 
[2026-08-28 17:56:36] local.INFO: Processing buffer {"connection_id":166274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04854e3b0012d7b50c005e140f0000a006122..."} 
[2026-08-28 17:56:36] local.INFO: Packet analysis {"connection_id":166274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04854"} 
[2026-08-28 17:56:36] local.INFO: Extracted packet for processing {"connection_id":166274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04854"} 
[2026-08-28 17:56:36] local.INFO: GPS Element Parsed {"raw_longitude":763056320,"raw_latitude":98648304,"longitude_deg":76.305632,"latitude_deg":9.8648304,"altitude":10,"angle":97,"satellites":34,"speed":0,"hex_longitude":"2d7b50c0","hex_latitude":"05e140f0","is_valid_coordinates":true} 
[2026-08-28 17:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707499008001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232132430757888,"note":"Value kept but may cause issues"} 
[2026-08-28 17:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885813196288487424,"note":"Value kept but may cause issues"} 
[2026-08-28 17:56: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-28 17:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787919918000,"timestamp_ms":1787919918000,"timestamp_seconds":1787919918,"priority":1,"record_length":96,"hex_timestamp":"000001a04854e3b0"} 
[2026-08-28 17:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:56: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-28 17:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-08-28 17:56:36] 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-28 17:56:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":166274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":166274,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":166274,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:56:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707499008001,"66":2275,"24":0,"16":125232132430757888,"45":8885813196288487424},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-28 17:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707499008001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232132430757888,"km_value":125232132430757.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885813196288487424,"description":"Unknown IO ID 45"} 
[2026-08-28 17:56:36] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457707499008001,"power":2275,"ignition":0,"odometer":null,"unknown_45":8885813196288487424}} 
[2026-08-28 17:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":166274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709292,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:56:36] local.INFO: GPS data processed {"connection_id":166274,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:56:36] local.INFO: Acknowledgment sent {"connection_id":166274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:56:37] local.INFO: TCP Data received {"connection_id":166273,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0485145e8012d34c14006aa4840001500e629..."} 
[2026-08-28 17:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0485145e8012d34c14006aa4840001500e629..."} 
[2026-08-28 17:56:37] local.INFO: Processing buffer {"connection_id":166273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0485145e8012d34c14006aa4840001500e629..."} 
[2026-08-28 17:56:37] local.INFO: Packet analysis {"connection_id":166273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04851"} 
[2026-08-28 17:56:37] local.INFO: Extracted packet for processing {"connection_id":166273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04851"} 
[2026-08-28 17:56:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":21,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707361280001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787919681000,"timestamp_ms":1787919681000,"timestamp_seconds":1787919681,"priority":1,"record_length":96,"hex_timestamp":"000001a0485145e8"} 
[2026-08-28 17:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 17:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":166273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":166273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":166273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707361280001,"66":25441,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707361280001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:56:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:56:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:56: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-28 17:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707361280001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":166273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:56:37] local.INFO: GPS data processed {"connection_id":166273,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:56:37] local.INFO: Acknowledgment sent {"connection_id":166273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:56:37] local.INFO: TCP Data received {"connection_id":163635,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04853ce58012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04853ce58012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:56:37] local.INFO: Processing buffer {"connection_id":163635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04853ce58012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:56:37] local.INFO: Packet analysis {"connection_id":163635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04853"} 
[2026-08-28 17:56:37] local.INFO: Extracted packet for processing {"connection_id":163635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04853"} 
[2026-08-28 17:56:37] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707403776001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787919847000,"timestamp_ms":1787919847000,"timestamp_seconds":1787919847,"priority":1,"record_length":96,"hex_timestamp":"000001a04853ce58"} 
[2026-08-28 17:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 17:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163635,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163635,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707403776001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707403776001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:56:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:56:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707403776001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:56:37] 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":709294,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:56:37] local.INFO: GPS data processed {"connection_id":163635,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:56:37] local.INFO: Acknowledgment sent {"connection_id":163635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:56:41] local.INFO: TCP Data received {"connection_id":163909,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163909,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:56:41] local.INFO: Processing buffer {"connection_id":163909,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:56:41] local.INFO: IMEI packet received {"connection_id":163909,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 17:56:41] local.INFO: IMEI acknowledgment sent {"connection_id":163909,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:56:42] local.INFO: TCP Data received {"connection_id":163909,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163909,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:56:42] local.INFO: Processing buffer {"connection_id":163909,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:56:42] local.INFO: IMEI packet received {"connection_id":163909,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:56:42] local.INFO: IMEI acknowledgment sent {"connection_id":163909,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:56:42] local.INFO: TCP Data received {"connection_id":166273,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0485145e8012d34c14006aa4840001500e629..."} 
[2026-08-28 17:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0485145e8012d34c14006aa4840001500e629..."} 
[2026-08-28 17:56:42] local.INFO: Processing buffer {"connection_id":166273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0485145e8012d34c14006aa4840001500e629..."} 
[2026-08-28 17:56:42] local.INFO: Packet analysis {"connection_id":166273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04851"} 
[2026-08-28 17:56:42] local.INFO: Extracted packet for processing {"connection_id":166273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04851"} 
[2026-08-28 17:56:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":21,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 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-28 17:56:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707361280001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:56:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:56:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:56:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:56:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787919681000,"timestamp_ms":1787919681000,"timestamp_seconds":1787919681,"priority":1,"record_length":96,"hex_timestamp":"000001a0485145e8"} 
[2026-08-28 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-28 17: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-28 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":97,"data_length":795,"current_offset":136} 
[2026-08-28 17:56: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-28 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-28 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-28 17:56:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:56:42] local.INFO: Teltonika packet parsed successfully {"connection_id":166273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:56:42] local.INFO: Passing IMEI to GPS processor {"connection_id":166273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:56:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":166273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:56:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:56:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:56:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:56:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707361280001,"66":25441,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:56:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:56:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:56:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707361280001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:56:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:56:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 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-28 17:56:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:56:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707361280001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:56:42] local.INFO: DEBUG: GPS processor result {"connection_id":166273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:56:42] local.INFO: GPS data processed {"connection_id":166273,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:56:42] local.INFO: Acknowledgment sent {"connection_id":166273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:56:43] local.INFO: TCP Data received {"connection_id":163909,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163909,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:56:43] local.INFO: Processing buffer {"connection_id":163909,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:56:43] local.INFO: IMEI packet received {"connection_id":163909,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:56:43] local.INFO: IMEI acknowledgment sent {"connection_id":163909,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:56:43] local.INFO: TCP Data received {"connection_id":163909,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163909,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:56:43] local.INFO: Processing buffer {"connection_id":163909,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 17:56:43] local.INFO: IMEI packet received {"connection_id":163909,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 17:56:43] local.INFO: IMEI acknowledgment sent {"connection_id":163909,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:56:56] local.INFO: TCP Data received {"connection_id":163636,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163636,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:56:56] local.INFO: Processing buffer {"connection_id":163636,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:56:56] local.INFO: IMEI packet received {"connection_id":163636,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 17:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":163636,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:57:01] local.INFO: TCP Data received {"connection_id":163636,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163636,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:57:01] local.INFO: Processing buffer {"connection_id":163636,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:57:01] local.INFO: IMEI packet received {"connection_id":163636,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 17:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":163636,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:57:04] local.INFO: TCP Data received {"connection_id":163636,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04853ce58012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04853ce58012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:57:04] local.INFO: Processing buffer {"connection_id":163636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04853ce58012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:57:04] local.INFO: Packet analysis {"connection_id":163636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04853"} 
[2026-08-28 17:57:04] local.INFO: Extracted packet for processing {"connection_id":163636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04853"} 
[2026-08-28 17:57:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707403776001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787919847000,"timestamp_ms":1787919847000,"timestamp_seconds":1787919847,"priority":1,"record_length":96,"hex_timestamp":"000001a04853ce58"} 
[2026-08-28 17:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 17:57:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":163636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":163636,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":163636,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707403776001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707403776001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:57:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:57:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707403776001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:57:04] 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":709296,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:57:04] local.INFO: GPS data processed {"connection_id":163636,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:57:04] local.INFO: Acknowledgment sent {"connection_id":163636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:57:07] local.INFO: TCP Data received {"connection_id":166274,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a04854e3b0012d7b50c005e140f0000a006122..."} 
[2026-08-28 17:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04854e3b0012d7b50c005e140f0000a006122..."} 
[2026-08-28 17:57:07] local.INFO: Processing buffer {"connection_id":166274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04854e3b0012d7b50c005e140f0000a006122..."} 
[2026-08-28 17:57:07] local.INFO: Packet analysis {"connection_id":166274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04854"} 
[2026-08-28 17:57:07] local.INFO: Extracted packet for processing {"connection_id":166274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04854"} 
[2026-08-28 17:57:07] local.INFO: GPS Element Parsed {"raw_longitude":763056320,"raw_latitude":98648304,"longitude_deg":76.305632,"latitude_deg":9.8648304,"altitude":10,"angle":97,"satellites":34,"speed":0,"hex_longitude":"2d7b50c0","hex_latitude":"05e140f0","is_valid_coordinates":true} 
[2026-08-28 17:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707499008001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232132430757888,"note":"Value kept but may cause issues"} 
[2026-08-28 17:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885813196288487424,"note":"Value kept but may cause issues"} 
[2026-08-28 17:57: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-28 17:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787919918000,"timestamp_ms":1787919918000,"timestamp_seconds":1787919918,"priority":1,"record_length":96,"hex_timestamp":"000001a04854e3b0"} 
[2026-08-28 17:57:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:57: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-28 17:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-08-28 17:57:07] 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-28 17:57:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:57:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":166274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":166274,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":166274,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:57:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707499008001,"66":2275,"24":0,"16":125232132430757888,"45":8885813196288487424},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-28 17:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707499008001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232132430757888,"km_value":125232132430757.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885813196288487424,"description":"Unknown IO ID 45"} 
[2026-08-28 17:57:07] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457707499008001,"power":2275,"ignition":0,"odometer":null,"unknown_45":8885813196288487424}} 
[2026-08-28 17:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":166274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709297,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:57:07] local.INFO: GPS data processed {"connection_id":166274,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:57:07] local.INFO: Acknowledgment sent {"connection_id":166274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:57:18] local.INFO: TCP Data received {"connection_id":166273,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04855ddb0012d34c14006aa4840000f00e629..."} 
[2026-08-28 17:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04855ddb0012d34c14006aa4840000f00e629..."} 
[2026-08-28 17:57:18] local.INFO: Processing buffer {"connection_id":166273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04855ddb0012d34c14006aa4840000f00e629..."} 
[2026-08-28 17:57:18] local.INFO: Packet analysis {"connection_id":166273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04855"} 
[2026-08-28 17:57:18] local.INFO: Extracted packet for processing {"connection_id":166273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04855"} 
[2026-08-28 17:57:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:57:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707438336001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:57:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:57:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:57:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:57:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787919982000,"timestamp_ms":1787919982000,"timestamp_seconds":1787919982,"priority":1,"record_length":96,"hex_timestamp":"000001a04855ddb0"} 
[2026-08-28 17:57:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:57: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-28 17:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 17:57: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-28 17:57:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:57:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:57:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:57:18] local.INFO: Teltonika packet parsed successfully {"connection_id":166273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:57:18] local.INFO: Passing IMEI to GPS processor {"connection_id":166273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:57:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":166273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:57:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:57:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:57:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:57:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707438336001,"66":25430,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:57:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:57:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:57:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707438336001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:57:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:57:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17: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-28 17:57:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:57:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707438336001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:57:18] local.INFO: DEBUG: GPS processor result {"connection_id":166273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:57:18] local.INFO: GPS data processed {"connection_id":166273,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:57:18] local.INFO: Acknowledgment sent {"connection_id":166273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:57:25] local.INFO: TCP Data received {"connection_id":163637,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163637,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:57:25] local.INFO: Processing buffer {"connection_id":163637,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:57:25] local.INFO: IMEI packet received {"connection_id":163637,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 17:57:25] local.INFO: IMEI acknowledgment sent {"connection_id":163637,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:57:30] local.INFO: TCP Data received {"connection_id":163637,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163637,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:57:30] local.INFO: Processing buffer {"connection_id":163637,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:57:30] local.INFO: IMEI packet received {"connection_id":163637,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 17:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":163637,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:57:31] local.INFO: TCP Data received {"connection_id":163637,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a048559378012d7b50c005e140c00007006121..."} 
[2026-08-28 17:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048559378012d7b50c005e140c00007006121..."} 
[2026-08-28 17:57:31] local.INFO: Processing buffer {"connection_id":163637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048559378012d7b50c005e140c00007006121..."} 
[2026-08-28 17:57:31] local.INFO: Packet analysis {"connection_id":163637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04855"} 
[2026-08-28 17:57:31] local.INFO: Extracted packet for processing {"connection_id":163637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04855"} 
[2026-08-28 17:57:31] local.INFO: GPS Element Parsed {"raw_longitude":763056320,"raw_latitude":98648256,"longitude_deg":76.305632,"latitude_deg":9.8648256,"altitude":7,"angle":97,"satellites":33,"speed":0,"hex_longitude":"2d7b50c0","hex_latitude":"05e140c0","is_valid_coordinates":true} 
[2026-08-28 17:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:57:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707499008001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:57:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232149610627072,"note":"Value kept but may cause issues"} 
[2026-08-28 17:57:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885813196288487424,"note":"Value kept but may cause issues"} 
[2026-08-28 17:57:31] 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-28 17:57:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787919963000,"timestamp_ms":1787919963000,"timestamp_seconds":1787919963,"priority":1,"record_length":96,"hex_timestamp":"000001a048559378"} 
[2026-08-28 17:57:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:57:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-08-28 17:57:31] 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-28 17:57:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:57:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:57:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:57:31] local.INFO: Teltonika packet parsed successfully {"connection_id":163637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:57:31] local.INFO: Passing IMEI to GPS processor {"connection_id":163637,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:57:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":163637,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:57:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:57:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:57:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:57:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707499008001,"66":12428,"217":206,"85":15104,"24":0,"16":125232149610627072,"45":8885813196288487424},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 17:57:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:57:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:57:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707499008001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:57:31] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 17:57:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:57:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232149610627072,"km_value":125232149610627.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:57:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885813196288487424,"description":"Unknown IO ID 45"} 
[2026-08-28 17:57:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707499008001,"power":12428,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8885813196288487424}} 
[2026-08-28 17:57:31] 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":709299,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:57:31] local.INFO: GPS data processed {"connection_id":163637,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:57:31] local.INFO: Acknowledgment sent {"connection_id":163637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:57:35] local.INFO: TCP Data received {"connection_id":164917,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:57:35] local.INFO: Processing buffer {"connection_id":164917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:57:35] local.INFO: IMEI packet received {"connection_id":164917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 17:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":164917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:57:37] local.INFO: TCP Data received {"connection_id":163636,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04853ce58012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04853ce58012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:57:37] local.INFO: Processing buffer {"connection_id":163636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04853ce58012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:57:37] local.INFO: Packet analysis {"connection_id":163636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04853"} 
[2026-08-28 17:57:37] local.INFO: Extracted packet for processing {"connection_id":163636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04853"} 
[2026-08-28 17:57:37] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707403776001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:57:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787919847000,"timestamp_ms":1787919847000,"timestamp_seconds":1787919847,"priority":1,"record_length":96,"hex_timestamp":"000001a04853ce58"} 
[2026-08-28 17:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 17:57:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:57:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163636,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163636,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707403776001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707403776001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:57:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:57:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707403776001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:57:37] 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":709300,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:57:37] local.INFO: GPS data processed {"connection_id":163636,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:57:37] local.INFO: Acknowledgment sent {"connection_id":163636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:57:40] local.INFO: TCP Data received {"connection_id":164917,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:57:40] local.INFO: Processing buffer {"connection_id":164917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:57:40] local.INFO: IMEI packet received {"connection_id":164917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 17:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":164917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:57:43] local.INFO: TCP Data received {"connection_id":164917,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04855ddb0012d34c14006aa4840000f00e629..."} 
[2026-08-28 17:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04855ddb0012d34c14006aa4840000f00e629..."} 
[2026-08-28 17:57:43] local.INFO: Processing buffer {"connection_id":164917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04855ddb0012d34c14006aa4840000f00e629..."} 
[2026-08-28 17:57:43] local.INFO: Packet analysis {"connection_id":164917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04855"} 
[2026-08-28 17:57:43] local.INFO: Extracted packet for processing {"connection_id":164917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04855"} 
[2026-08-28 17:57:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17: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-28 17:57:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707438336001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:57:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:57:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:57:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:57:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787919982000,"timestamp_ms":1787919982000,"timestamp_seconds":1787919982,"priority":1,"record_length":96,"hex_timestamp":"000001a04855ddb0"} 
[2026-08-28 17: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-28 17:57: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-28 17: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":97,"data_length":795,"current_offset":136} 
[2026-08-28 17:57: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-28 17: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-28 17: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-28 17:57:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:57:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:57:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:57:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:57:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:57:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:57:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:57:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707438336001,"66":25430,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:57:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:57:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:57:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707438336001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:57:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:57:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17: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-28 17:57:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:57:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707438336001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:57:43] local.INFO: DEBUG: GPS processor result {"connection_id":164917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:57:43] local.INFO: GPS data processed {"connection_id":164917,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:57:43] local.INFO: Acknowledgment sent {"connection_id":164917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:57:56] local.INFO: TCP Data received {"connection_id":163911,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163911,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:57:56] local.INFO: Processing buffer {"connection_id":163911,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:57:56] local.INFO: IMEI packet received {"connection_id":163911,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 17:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":163911,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:58:02] local.INFO: TCP Data received {"connection_id":163637,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a04855e580012d7b510005e140700006006121..."} 
[2026-08-28 17:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04855e580012d7b510005e140700006006121..."} 
[2026-08-28 17:58:02] local.INFO: Processing buffer {"connection_id":163637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04855e580012d7b510005e140700006006121..."} 
[2026-08-28 17:58:02] local.INFO: Packet analysis {"connection_id":163637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04855"} 
[2026-08-28 17:58:02] local.INFO: Extracted packet for processing {"connection_id":163637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04855"} 
[2026-08-28 17:58:02] local.INFO: GPS Element Parsed {"raw_longitude":763056384,"raw_latitude":98648176,"longitude_deg":76.3056384,"latitude_deg":9.8648176,"altitude":6,"angle":97,"satellites":33,"speed":0,"hex_longitude":"2d7b5100","hex_latitude":"05e14070","is_valid_coordinates":true} 
[2026-08-28 17:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707510528001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232162495528960,"note":"Value kept but may cause issues"} 
[2026-08-28 17:58:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885813196288475136,"note":"Value kept but may cause issues"} 
[2026-08-28 17:58:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787919984000,"timestamp_ms":1787919984000,"timestamp_seconds":1787919984,"priority":1,"record_length":96,"hex_timestamp":"000001a04855e580"} 
[2026-08-28 17:58:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:58:02] 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-28 17:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-28 17:58:02] 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-28 17:58:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:58:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163637,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163637,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:58:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707510528001,"66":11852,"217":206,"85":15104,"24":0,"16":125232162495528960,"45":8885813196288475136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 17:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707510528001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:58:02] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 17:58:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232162495528960,"km_value":125232162495528.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:58:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885813196288475136,"description":"Unknown IO ID 45"} 
[2026-08-28 17:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707510528001,"power":11852,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8885813196288475136}} 
[2026-08-28 17:58:02] 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":709302,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:58:02] local.INFO: GPS data processed {"connection_id":163637,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:58:02] local.INFO: Acknowledgment sent {"connection_id":163637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:58:02] local.INFO: TCP Data received {"connection_id":163911,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163911,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:58:02] local.INFO: Processing buffer {"connection_id":163911,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:58:02] local.INFO: IMEI packet received {"connection_id":163911,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 17:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":163911,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:58:04] local.INFO: TCP Data received {"connection_id":163911,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04853ce58012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04853ce58012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:58:04] local.INFO: Processing buffer {"connection_id":163911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04853ce58012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:58:04] local.INFO: Packet analysis {"connection_id":163911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04853"} 
[2026-08-28 17:58:04] local.INFO: Extracted packet for processing {"connection_id":163911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04853"} 
[2026-08-28 17:58:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707403776001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:58:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787919847000,"timestamp_ms":1787919847000,"timestamp_seconds":1787919847,"priority":1,"record_length":96,"hex_timestamp":"000001a04853ce58"} 
[2026-08-28 17:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:58:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 17:58:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:58:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":163911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":163911,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":163911,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707403776001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707403776001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:58:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:58:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707403776001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":163911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709303,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:58:04] local.INFO: GPS data processed {"connection_id":163911,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:58:04] local.INFO: Acknowledgment sent {"connection_id":163911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:58:21] local.INFO: TCP Data received {"connection_id":164917,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04855ddb0012d34c14006aa4840000f00e629..."} 
[2026-08-28 17:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04855ddb0012d34c14006aa4840000f00e629..."} 
[2026-08-28 17:58:21] local.INFO: Processing buffer {"connection_id":164917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04855ddb0012d34c14006aa4840000f00e629..."} 
[2026-08-28 17:58:21] local.INFO: Packet analysis {"connection_id":164917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04855"} 
[2026-08-28 17:58:21] local.INFO: Extracted packet for processing {"connection_id":164917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04855"} 
[2026-08-28 17:58:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:58:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707438336001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:58:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:58:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:58:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:58:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787919982000,"timestamp_ms":1787919982000,"timestamp_seconds":1787919982,"priority":1,"record_length":96,"hex_timestamp":"000001a04855ddb0"} 
[2026-08-28 17:58:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:58:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 17:58: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-28 17:58:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:58:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:58:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:58:21] local.INFO: Teltonika packet parsed successfully {"connection_id":164917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:58:21] local.INFO: Passing IMEI to GPS processor {"connection_id":164917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:58:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":164917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:58:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:58:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:58:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:58:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707438336001,"66":25430,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:58:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:58:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:58:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707438336001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:58:21] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:58:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:58: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-28 17:58:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:58:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707438336001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:58:21] local.INFO: DEBUG: GPS processor result {"connection_id":164917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:58:21] local.INFO: GPS data processed {"connection_id":164917,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:58:21] local.INFO: Acknowledgment sent {"connection_id":164917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:58:25] local.INFO: TCP Data received {"connection_id":163912,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163912,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:58:25] local.INFO: Processing buffer {"connection_id":163912,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:58:25] local.INFO: IMEI packet received {"connection_id":163912,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 17:58:25] local.INFO: IMEI acknowledgment sent {"connection_id":163912,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:58:27] local.INFO: TCP Data received {"connection_id":163912,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163912,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:58:27] local.INFO: Processing buffer {"connection_id":163912,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:58:27] local.INFO: IMEI packet received {"connection_id":163912,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 17:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":163912,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:58:30] local.INFO: TCP Data received {"connection_id":163912,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163912,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:58:30] local.INFO: Processing buffer {"connection_id":163912,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:58:30] local.INFO: IMEI packet received {"connection_id":163912,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 17:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":163912,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:58:31] local.INFO: TCP Data received {"connection_id":163912,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a048563788012d7b520005e140380005006122..."} 
[2026-08-28 17:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048563788012d7b520005e140380005006122..."} 
[2026-08-28 17:58:31] local.INFO: Processing buffer {"connection_id":163912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048563788012d7b520005e140380005006122..."} 
[2026-08-28 17:58:31] local.INFO: Packet analysis {"connection_id":163912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04856"} 
[2026-08-28 17:58:31] local.INFO: Extracted packet for processing {"connection_id":163912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04856"} 
[2026-08-28 17:58:31] local.INFO: GPS Element Parsed {"raw_longitude":763056640,"raw_latitude":98648120,"longitude_deg":76.305664,"latitude_deg":9.864812,"altitude":5,"angle":97,"satellites":34,"speed":0,"hex_longitude":"2d7b5200","hex_latitude":"05e14038","is_valid_coordinates":true} 
[2026-08-28 17:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707515904001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232175380430848,"note":"Value kept but may cause issues"} 
[2026-08-28 17:58:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885883565032632320,"note":"Value kept but may cause issues"} 
[2026-08-28 17:58:31] 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-28 17:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787920005000,"timestamp_ms":1787920005000,"timestamp_seconds":1787920005,"priority":1,"record_length":96,"hex_timestamp":"000001a048563788"} 
[2026-08-28 17:58:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:58:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 17:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-28 17:58:31] 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-28 17:58:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:58:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":163912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":163912,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":163912,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:58:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707515904001,"66":13624,"217":206,"85":15104,"24":0,"16":125232175380430848,"45":8885883565032632320},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 17:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707515904001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:58:31] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 17:58:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:58:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232175380430848,"km_value":125232175380430.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:58:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885883565032632320,"description":"Unknown IO ID 45"} 
[2026-08-28 17:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707515904001,"power":13624,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8885883565032632320}} 
[2026-08-28 17:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":163912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709305,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:58:31] local.INFO: GPS data processed {"connection_id":163912,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:58:31] local.INFO: Acknowledgment sent {"connection_id":163912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:58:40] local.INFO: TCP Data received {"connection_id":163911,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04853ce58012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04853ce58012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:58:40] local.INFO: Processing buffer {"connection_id":163911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04853ce58012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:58:40] local.INFO: Packet analysis {"connection_id":163911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04853"} 
[2026-08-28 17:58:40] local.INFO: Extracted packet for processing {"connection_id":163911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04853"} 
[2026-08-28 17:58:40] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 17:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:58:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707403776001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:58:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:58:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:58:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:58:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787919847000,"timestamp_ms":1787919847000,"timestamp_seconds":1787919847,"priority":1,"record_length":96,"hex_timestamp":"000001a04853ce58"} 
[2026-08-28 17:58:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:58:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 17:58: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-28 17:58:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:58:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:58:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:58:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:58:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163911,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:58:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163911,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:58:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:58:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:58:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:58:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707403776001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:58:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:58:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:58:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707403776001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:58:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:58:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:58:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:58:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:58:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707403776001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:58:40] local.INFO: DEBUG: GPS processor result {"connection_id":163911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709306,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:58:40] local.INFO: GPS data processed {"connection_id":163911,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:58:40] local.INFO: Acknowledgment sent {"connection_id":163911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:58:40] local.INFO: TCP Data received {"connection_id":163913,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:58:40] local.INFO: Processing buffer {"connection_id":163913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:58:40] local.INFO: IMEI packet received {"connection_id":163913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 17:58:40] local.INFO: IMEI acknowledgment sent {"connection_id":163913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:58:46] local.INFO: TCP Data received {"connection_id":163913,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:58:46] local.INFO: Processing buffer {"connection_id":163913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:58:46] local.INFO: IMEI packet received {"connection_id":163913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 17:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":163913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:58:48] local.INFO: TCP Data received {"connection_id":163913,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04855ddb0012d34c14006aa4840000f00e629..."} 
[2026-08-28 17:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04855ddb0012d34c14006aa4840000f00e629..."} 
[2026-08-28 17:58:48] local.INFO: Processing buffer {"connection_id":163913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04855ddb0012d34c14006aa4840000f00e629..."} 
[2026-08-28 17:58:48] local.INFO: Packet analysis {"connection_id":163913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04855"} 
[2026-08-28 17:58:48] local.INFO: Extracted packet for processing {"connection_id":163913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04855"} 
[2026-08-28 17:58:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17: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-28 17:58:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707438336001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:58:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:58:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:58:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:58:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787919982000,"timestamp_ms":1787919982000,"timestamp_seconds":1787919982,"priority":1,"record_length":96,"hex_timestamp":"000001a04855ddb0"} 
[2026-08-28 17: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-28 17:58: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-28 17: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-28 17: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-28 17: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-28 17: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-28 17:58:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:58:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:58:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:58:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:58:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:58:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:58:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:58:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707438336001,"66":25430,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:58:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:58:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:58:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707438336001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:58:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:58:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17: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-28 17:58:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:58:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707438336001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:58:48] local.INFO: DEBUG: GPS processor result {"connection_id":163913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:58:48] local.INFO: GPS data processed {"connection_id":163913,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:58:48] local.INFO: Acknowledgment sent {"connection_id":163913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:59:02] local.INFO: TCP Data received {"connection_id":163912,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a048568990012d7b51c005e140400005006121..."} 
[2026-08-28 17:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048568990012d7b51c005e140400005006121..."} 
[2026-08-28 17:59:02] local.INFO: Processing buffer {"connection_id":163912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048568990012d7b51c005e140400005006121..."} 
[2026-08-28 17:59:02] local.INFO: Packet analysis {"connection_id":163912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04856"} 
[2026-08-28 17:59:02] local.INFO: Extracted packet for processing {"connection_id":163912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04856"} 
[2026-08-28 17:59:02] local.INFO: GPS Element Parsed {"raw_longitude":763056576,"raw_latitude":98648128,"longitude_deg":76.3056576,"latitude_deg":9.8648128,"altitude":5,"angle":97,"satellites":33,"speed":0,"hex_longitude":"2d7b51c0","hex_latitude":"05e14040","is_valid_coordinates":true} 
[2026-08-28 17:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707521280001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:59:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232188265332736,"note":"Value kept but may cause issues"} 
[2026-08-28 17:59:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886165040009328640,"note":"Value kept but may cause issues"} 
[2026-08-28 17:59:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:59:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787920026000,"timestamp_ms":1787920026000,"timestamp_seconds":1787920026,"priority":1,"record_length":96,"hex_timestamp":"000001a048568990"} 
[2026-08-28 17:59:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:59:02] 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-28 17:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-28 17:59:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:59:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:59:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:59:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:59:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:59:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163912,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:59:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163912,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:59:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:59:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:59:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:59:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707521280001,"66":13580,"217":206,"85":15104,"24":0,"16":125232188265332736,"45":8886165040009328640},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 17:59:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:59:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:59:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707521280001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:59:02] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 17:59:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:59:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232188265332736,"km_value":125232188265332.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:59:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886165040009328640,"description":"Unknown IO ID 45"} 
[2026-08-28 17:59:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707521280001,"power":13580,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886165040009328640}} 
[2026-08-28 17:59:02] local.INFO: DEBUG: GPS processor result {"connection_id":163912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709308,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:59:02] local.INFO: GPS data processed {"connection_id":163912,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:59:02] local.INFO: Acknowledgment sent {"connection_id":163912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:59:06] local.INFO: TCP Data received {"connection_id":166276,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166276,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:59:06] local.INFO: Processing buffer {"connection_id":166276,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:59:06] local.INFO: IMEI packet received {"connection_id":166276,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 17:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":166276,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:59:12] local.INFO: TCP Data received {"connection_id":166276,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166276,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:59:12] local.INFO: Processing buffer {"connection_id":166276,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:59:12] local.INFO: IMEI packet received {"connection_id":166276,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 17:59:12] local.INFO: IMEI acknowledgment sent {"connection_id":166276,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:59:14] local.INFO: TCP Data received {"connection_id":166276,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04853ce58012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04853ce58012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:59:14] local.INFO: Processing buffer {"connection_id":166276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04853ce58012d34bcc006aa4200000300002b..."} 
[2026-08-28 17:59:14] local.INFO: Packet analysis {"connection_id":166276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04853"} 
[2026-08-28 17:59:14] local.INFO: Extracted packet for processing {"connection_id":166276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04853"} 
[2026-08-28 17:59:14] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821312,"longitude_deg":75.8430912,"latitude_deg":11.1821312,"altitude":3,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4200","is_valid_coordinates":true} 
[2026-08-28 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-28 17:59:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707403776001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:59:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 17:59:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 17:59:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:59:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787919847000,"timestamp_ms":1787919847000,"timestamp_seconds":1787919847,"priority":1,"record_length":96,"hex_timestamp":"000001a04853ce58"} 
[2026-08-28 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-28 17:59:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 17:59: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-28 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-28 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-28 17:59:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:59:14] local.INFO: Teltonika packet parsed successfully {"connection_id":166276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:59:14] local.INFO: Passing IMEI to GPS processor {"connection_id":166276,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:59:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":166276,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 17:59:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:59:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 17:59:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 17:59:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707403776001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:59:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 17:59:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 17:59:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707403776001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:59:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:59:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:59:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:59:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 17:59:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707403776001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 17:59:14] local.INFO: DEBUG: GPS processor result {"connection_id":166276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709309,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:59:14] local.INFO: GPS data processed {"connection_id":166276,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:59:14] local.INFO: Acknowledgment sent {"connection_id":166276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:59:30] local.INFO: TCP Data received {"connection_id":163914,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163914,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:59:30] local.INFO: Processing buffer {"connection_id":163914,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:59:30] local.INFO: IMEI packet received {"connection_id":163914,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 17:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":163914,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:59:30] local.INFO: TCP Data received {"connection_id":164918,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:59:30] local.INFO: Processing buffer {"connection_id":164918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:59:30] local.INFO: IMEI packet received {"connection_id":164918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 17:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":164918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 17:59:35] local.INFO: TCP Data received {"connection_id":164918,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:59:35] local.INFO: Processing buffer {"connection_id":164918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 17:59:35] local.INFO: IMEI packet received {"connection_id":164918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 17:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":164918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:59:35] local.INFO: TCP Data received {"connection_id":163914,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163914,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:59:35] local.INFO: Processing buffer {"connection_id":163914,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 17:59:35] local.INFO: IMEI packet received {"connection_id":163914,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 17:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":163914,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 17:59:36] local.INFO: TCP Data received {"connection_id":163914,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a04856acb8012d7b51c005e140500004006122..."} 
[2026-08-28 17:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04856acb8012d7b51c005e140500004006122..."} 
[2026-08-28 17:59:36] local.INFO: Processing buffer {"connection_id":163914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04856acb8012d7b51c005e140500004006122..."} 
[2026-08-28 17:59:36] local.INFO: Packet analysis {"connection_id":163914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04856"} 
[2026-08-28 17:59:36] local.INFO: Extracted packet for processing {"connection_id":163914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04856"} 
[2026-08-28 17:59:36] local.INFO: GPS Element Parsed {"raw_longitude":763056576,"raw_latitude":98648144,"longitude_deg":76.3056576,"latitude_deg":9.8648144,"altitude":4,"angle":97,"satellites":34,"speed":0,"hex_longitude":"2d7b51c0","hex_latitude":"05e14050","is_valid_coordinates":true} 
[2026-08-28 17:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707526656001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232188265332736,"note":"Value kept but may cause issues"} 
[2026-08-28 17:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886094671265153024,"note":"Value kept but may cause issues"} 
[2026-08-28 17:59:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787920035000,"timestamp_ms":1787920035000,"timestamp_seconds":1787920035,"priority":1,"record_length":96,"hex_timestamp":"000001a04856acb8"} 
[2026-08-28 17:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:59:36] 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-28 17:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-28 17:59:36] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3779129344,"note":"Value kept but may cause issues"} 
[2026-08-28 17:59:36] local.WARNING: Large IO value detected {"io_id":233,"raw_value":4194304000,"note":"Value kept but may cause issues"} 
[2026-08-28 17:59:36] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-4834062245145083904,"note":"Value kept but may cause issues"} 
[2026-08-28 17:59:36] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-28 17:59:36] local.WARNING: Large IO value detected {"io_id":227,"raw_value":2952867195,"note":"Value kept but may cause issues"} 
[2026-08-28 17:59:36] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18587119526936576,"note":"Value kept but may cause issues"} 
[2026-08-28 17:59:36] local.WARNING: Large IO value detected {"io_id":80,"raw_value":3221610816,"note":"Value kept but may cause issues"} 
[2026-08-28 17:59:36] local.WARNING: Large IO value detected {"io_id":8,"raw_value":-2089444827216163328,"note":"Value kept but may cause issues"} 
[2026-08-28 17:59:36] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835469387268112,"note":"Value kept but may cause issues"} 
[2026-08-28 17:59:36] local.WARNING: Large IO value detected {"io_id":188,"raw_value":3925213184,"note":"Value kept but may cause issues"} 
[2026-08-28 17:59:36] local.WARNING: Large IO value detected {"io_id":123,"raw_value":5818657183577931786,"note":"Value kept but may cause issues"} 
[2026-08-28 17:59:36] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,217,85,24,241,157,16,234,160,55,45,64,5,34,10,66,229,6,33,233,147,192,1,240,140,227,72,225,4,113,205,80,239,8,2,188,123],"length":577,"final_offset":707,"validated_count":37,"validation_warnings":[]} 
[2026-08-28 17:59:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360394764551454720,"timestamp_seconds":360394764551454.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 17:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163914,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163914,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:59:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707526656001,"66":13580,"217":206,"85":15104,"24":0,"16":125232188265332736,"45":8886094671265153024},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 17:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707526656001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:59:36] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 17:59:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232188265332736,"km_value":125232188265332.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886094671265153024,"description":"Unknown IO ID 45"} 
[2026-08-28 17:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707526656001,"power":13580,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886094671265153024}} 
[2026-08-28 17:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":163914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709310,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:59:36] local.INFO: GPS data processed {"connection_id":163914,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:59:36] local.INFO: Acknowledgment sent {"connection_id":163914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:59:37] local.INFO: TCP Data received {"connection_id":163914,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a04856acb8012d7b51c005e140500004006122..."} 
[2026-08-28 17:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04856acb8012d7b51c005e140500004006122..."} 
[2026-08-28 17:59:37] local.INFO: Processing buffer {"connection_id":163914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04856acb8012d7b51c005e140500004006122..."} 
[2026-08-28 17:59:37] local.INFO: Packet analysis {"connection_id":163914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04856"} 
[2026-08-28 17:59:37] local.INFO: Extracted packet for processing {"connection_id":163914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04856"} 
[2026-08-28 17:59:37] local.INFO: GPS Element Parsed {"raw_longitude":763056576,"raw_latitude":98648144,"longitude_deg":76.3056576,"latitude_deg":9.8648144,"altitude":4,"angle":97,"satellites":34,"speed":0,"hex_longitude":"2d7b51c0","hex_latitude":"05e14050","is_valid_coordinates":true} 
[2026-08-28 17:59: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-28 17:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707528960001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232188265332736,"note":"Value kept but may cause issues"} 
[2026-08-28 17:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886094671265157120,"note":"Value kept but may cause issues"} 
[2026-08-28 17:59: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-28 17:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787920035000,"timestamp_ms":1787920035000,"timestamp_seconds":1787920035,"priority":1,"record_length":96,"hex_timestamp":"000001a04856acb8"} 
[2026-08-28 17:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-28 17:59:37] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3779129344,"note":"Value kept but may cause issues"} 
[2026-08-28 17:59:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-4834062245145083904,"note":"Value kept but may cause issues"} 
[2026-08-28 17:59:37] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-28 17:59:37] local.WARNING: Large IO value detected {"io_id":227,"raw_value":2952867195,"note":"Value kept but may cause issues"} 
[2026-08-28 17:59:37] local.WARNING: Large IO value detected {"io_id":233,"raw_value":4244635648,"note":"Value kept but may cause issues"} 
[2026-08-28 17:59:37] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18587119526936576,"note":"Value kept but may cause issues"} 
[2026-08-28 17:59:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1608057038,"corrected_to":0} 
[2026-08-28 17:59:37] local.WARNING: Large IO value detected {"io_id":80,"raw_value":3221610816,"note":"Value kept but may cause issues"} 
[2026-08-28 17:59:37] local.WARNING: Large IO value detected {"io_id":8,"raw_value":-2089444827216163328,"note":"Value kept but may cause issues"} 
[2026-08-28 17:59:37] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835469387268112,"note":"Value kept but may cause issues"} 
[2026-08-28 17:59:37] local.WARNING: Large IO value detected {"io_id":188,"raw_value":3925213184,"note":"Value kept but may cause issues"} 
[2026-08-28 17:59:37] local.WARNING: Large IO value detected {"io_id":123,"raw_value":5818657183577931786,"note":"Value kept but may cause issues"} 
[2026-08-28 17:59:37] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,217,85,24,241,157,16,234,160,137,45,192,64,5,33,10,66,55,34,229,1,240,76,227,233,72,225,4,113,205,80,239,8,2,188,123],"length":577,"final_offset":707,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1608057038,"validated":0}]} 
[2026-08-28 17:59:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288337174808494319,"timestamp_seconds":288337174808494.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 17:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163914,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163914,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 17:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 17:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 17:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707528960001,"66":13580,"217":206,"85":15104,"24":0,"16":125232188265332736,"45":8886094671265157120},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 17:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 17:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 17:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707528960001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:59:37] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 17:59:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 17:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232188265332736,"km_value":125232188265332.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 17:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886094671265157120,"description":"Unknown IO ID 45"} 
[2026-08-28 17:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707528960001,"power":13580,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886094671265157120}} 
[2026-08-28 17:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":163914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709311,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:59:37] local.INFO: GPS data processed {"connection_id":163914,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:59:37] local.INFO: Acknowledgment sent {"connection_id":163914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:59:37] local.INFO: TCP Data received {"connection_id":164918,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04855ddb0012d34c14006aa4840000f00e629..."} 
[2026-08-28 17:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04855ddb0012d34c14006aa4840000f00e629..."} 
[2026-08-28 17:59:37] local.INFO: Processing buffer {"connection_id":164918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04855ddb0012d34c14006aa4840000f00e629..."} 
[2026-08-28 17:59:37] local.INFO: Packet analysis {"connection_id":164918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04855"} 
[2026-08-28 17:59:37] local.INFO: Extracted packet for processing {"connection_id":164918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04855"} 
[2026-08-28 17:59:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 17:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 17:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707438336001,"note":"Value kept but may cause issues"} 
[2026-08-28 17:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 17:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 17:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 17:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787919982000,"timestamp_ms":1787919982000,"timestamp_seconds":1787919982,"priority":1,"record_length":96,"hex_timestamp":"000001a04855ddb0"} 
[2026-08-28 17:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 17:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 17:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 17:59:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 17:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 17:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 17:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 17:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 17:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 17:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 17:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 17:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 17:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707438336001,"66":25430,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 17:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 17:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 17:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707438336001,"description":"Unknown IO ID 0"} 
[2026-08-28 17:59:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 17:59:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 17:59: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-28 17:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 17:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707438336001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 17:59:37] 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":709312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 17:59:37] local.INFO: GPS data processed {"connection_id":164918,"processed":1,"errors":0,"total":1} 
[2026-08-28 17:59:37] local.INFO: Acknowledgment sent {"connection_id":164918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 17:59:56] local.INFO: TCP Data received {"connection_id":164919,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164919,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:59:56] local.INFO: Processing buffer {"connection_id":164919,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 17:59:56] local.INFO: IMEI packet received {"connection_id":164919,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 17:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":164919,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:00:01] local.INFO: TCP Data received {"connection_id":164919,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164919,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:00:01] local.INFO: Processing buffer {"connection_id":164919,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:00:01] local.INFO: IMEI packet received {"connection_id":164919,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 18:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":164919,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:00:04] local.INFO: TCP Data received {"connection_id":164919,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04858eed8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04858eed8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:00:04] local.INFO: Processing buffer {"connection_id":164919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04858eed8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:00:04] local.INFO: Packet analysis {"connection_id":164919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04858"} 
[2026-08-28 18:00:04] local.INFO: Extracted packet for processing {"connection_id":164919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04858"} 
[2026-08-28 18:00:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707480832001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:00:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 18:00:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787920183000,"timestamp_ms":1787920183000,"timestamp_seconds":1787920183,"priority":1,"record_length":96,"hex_timestamp":"000001a04858eed8"} 
[2026-08-28 18:00:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:00:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:00:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:00:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:00:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":164919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":164919,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":164919,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:00:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707480832001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707480832001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:00:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:00:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:00:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 18:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707480832001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 18:00:04] 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":709313,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:00:04] local.INFO: GPS data processed {"connection_id":164919,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:00:04] local.INFO: Acknowledgment sent {"connection_id":164919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:00:08] local.INFO: TCP Data received {"connection_id":163914,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a04858e708012d7b504005e13db0000800c422..."} 
[2026-08-28 18:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04858e708012d7b504005e13db0000800c422..."} 
[2026-08-28 18:00:08] local.INFO: Processing buffer {"connection_id":163914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04858e708012d7b504005e13db0000800c422..."} 
[2026-08-28 18:00:08] local.INFO: Packet analysis {"connection_id":163914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04858"} 
[2026-08-28 18:00:08] local.INFO: Extracted packet for processing {"connection_id":163914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04858"} 
[2026-08-28 18:00:08] local.INFO: GPS Element Parsed {"raw_longitude":763056192,"raw_latitude":98647472,"longitude_deg":76.3056192,"latitude_deg":9.8647472,"altitude":8,"angle":196,"satellites":34,"speed":2,"hex_longitude":"2d7b5040","hex_latitude":"05e13db0","is_valid_coordinates":true} 
[2026-08-28 18:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:00:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707565568001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:00:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232291344547840,"note":"Value kept but may cause issues"} 
[2026-08-28 18:00:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885672458800001024,"note":"Value kept but may cause issues"} 
[2026-08-28 18:00:08] 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-28 18:00:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787920181000,"timestamp_ms":1787920181000,"timestamp_seconds":1787920181,"priority":1,"record_length":96,"hex_timestamp":"000001a04858e708"} 
[2026-08-28 18:00:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:00: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-28 18:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-28 18:00:08] 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-28 18:00:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:00:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:00:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:00:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:00:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163914,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 18:00:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163914,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 18:00:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:00:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 18:00:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 18:00:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707565568001,"66":13319,"217":206,"85":15104,"24":2,"16":125232291344547840,"45":8885672458800001024},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 18:00:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 18:00:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 18:00:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707565568001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:00:08] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 18:00:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 18:00:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232291344547840,"km_value":125232291344547.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:00:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885672458800001024,"description":"Unknown IO ID 45"} 
[2026-08-28 18:00:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707565568001,"power":13319,"unknown_217":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8885672458800001024}} 
[2026-08-28 18:00:08] local.INFO: DEBUG: GPS processor result {"connection_id":163914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709314,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:00:08] local.INFO: GPS data processed {"connection_id":163914,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:00:08] local.INFO: Acknowledgment sent {"connection_id":163914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:00:11] local.INFO: TCP Data received {"connection_id":164918,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04855ddb0012d34c14006aa4840000f00e629..."} 
[2026-08-28 18:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04855ddb0012d34c14006aa4840000f00e629..."} 
[2026-08-28 18:00:11] local.INFO: Processing buffer {"connection_id":164918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04855ddb0012d34c14006aa4840000f00e629..."} 
[2026-08-28 18:00:11] local.INFO: Packet analysis {"connection_id":164918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04855"} 
[2026-08-28 18:00:11] local.INFO: Extracted packet for processing {"connection_id":164918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04855"} 
[2026-08-28 18:00:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707438336001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:00:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:00:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787919982000,"timestamp_ms":1787919982000,"timestamp_seconds":1787919982,"priority":1,"record_length":96,"hex_timestamp":"000001a04855ddb0"} 
[2026-08-28 18:00:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:00: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-28 18:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 18:00: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-28 18:00:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:00:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":164918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":164918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":164918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:00:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707438336001,"66":25430,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707438336001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:00:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:00:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:00: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-28 18:00:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707438336001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:00:11] 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":709315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:00:11] local.INFO: GPS data processed {"connection_id":164918,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:00:11] local.INFO: Acknowledgment sent {"connection_id":164918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:00:25] local.INFO: TCP Data received {"connection_id":163915,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163915,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:00:25] local.INFO: Processing buffer {"connection_id":163915,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:00:25] local.INFO: IMEI packet received {"connection_id":163915,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 18:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":163915,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:00:29] local.INFO: TCP Data received {"connection_id":163915,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163915,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:00:29] local.INFO: Processing buffer {"connection_id":163915,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:00:29] local.INFO: IMEI packet received {"connection_id":163915,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 18:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":163915,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:00:30] local.INFO: TCP Data received {"connection_id":163915,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a04858eed8012d7b508005e13d10000800a922..."} 
[2026-08-28 18:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04858eed8012d7b508005e13d10000800a922..."} 
[2026-08-28 18:00:30] local.INFO: Processing buffer {"connection_id":163915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04858eed8012d7b508005e13d10000800a922..."} 
[2026-08-28 18:00:30] local.INFO: Packet analysis {"connection_id":163915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04858"} 
[2026-08-28 18:00:30] local.INFO: Extracted packet for processing {"connection_id":163915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04858"} 
[2026-08-28 18:00:30] local.INFO: GPS Element Parsed {"raw_longitude":763056256,"raw_latitude":98647312,"longitude_deg":76.3056256,"latitude_deg":9.8647312,"altitude":8,"angle":169,"satellites":34,"speed":3,"hex_longitude":"2d7b5080","hex_latitude":"05e13d10","is_valid_coordinates":true} 
[2026-08-28 18:00:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707566336001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232299934482432,"note":"Value kept but may cause issues"} 
[2026-08-28 18:00:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885672458799919104,"note":"Value kept but may cause issues"} 
[2026-08-28 18:00:30] 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-28 18:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787920183000,"timestamp_ms":1787920183000,"timestamp_seconds":1787920183,"priority":1,"record_length":96,"hex_timestamp":"000001a04858eed8"} 
[2026-08-28 18:00:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:00:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:00:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-28 18:00:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-28 18:00:30] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-08-28 18:00:30] local.WARNING: Large IO value detected {"io_id":225,"raw_value":4643211224415281408,"note":"Value kept but may cause issues"} 
[2026-08-28 18:00:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1608057038,"corrected_to":0} 
[2026-08-28 18:00:30] local.WARNING: Large IO value detected {"io_id":81,"raw_value":2147868992,"note":"Value kept but may cause issues"} 
[2026-08-28 18:00:30] local.WARNING: Large IO value detected {"io_id":188,"raw_value":3926589440,"note":"Value kept but may cause issues"} 
[2026-08-28 18:00:30] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3779092480,"note":"Value kept but may cause issues"} 
[2026-08-28 18:00:30] local.WARNING: Large IO value detected {"io_id":110,"raw_value":57807755851748667,"note":"Value kept but may cause issues"} 
[2026-08-28 18:00:30] local.WARNING: Large IO value detected {"io_id":87,"raw_value":7791228650205003781,"note":"Value kept but may cause issues"} 
[2026-08-28 18:00:30] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,217,85,24,241,157,16,234,160,219,45,64,62,6,35,10,66,199,63,7,149,128,1,240,242,227,72,225,4,113,205,81,34,239,53,2,188,5,110,87],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1608057038,"validated":0}]} 
[2026-08-28 18:00:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576676402611486720,"timestamp_seconds":576676402611486.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 18:00:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":163915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":163915,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 18:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":163915,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 18:00:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 18:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 18:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707566336001,"66":13254,"217":206,"85":15104,"24":3,"16":125232299934482432,"45":8885672458799919104},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 18:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 18:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 18:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707566336001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:00:30] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 18:00:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 18:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232299934482432,"km_value":125232299934482.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:00:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885672458799919104,"description":"Unknown IO ID 45"} 
[2026-08-28 18:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707566336001,"power":13254,"unknown_217":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8885672458799919104}} 
[2026-08-28 18:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":163915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709316,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:00:30] local.INFO: GPS data processed {"connection_id":163915,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:00:30] local.INFO: Acknowledgment sent {"connection_id":163915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:00:35] local.INFO: TCP Data received {"connection_id":166278,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:00:35] local.INFO: Processing buffer {"connection_id":166278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:00:35] local.INFO: IMEI packet received {"connection_id":166278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 18:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":166278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:00:38] local.INFO: TCP Data received {"connection_id":164919,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04858eed8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04858eed8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:00:38] local.INFO: Processing buffer {"connection_id":164919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04858eed8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:00:38] local.INFO: Packet analysis {"connection_id":164919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04858"} 
[2026-08-28 18:00:38] local.INFO: Extracted packet for processing {"connection_id":164919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04858"} 
[2026-08-28 18:00:38] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707480832001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 18:00:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787920183000,"timestamp_ms":1787920183000,"timestamp_seconds":1787920183,"priority":1,"record_length":96,"hex_timestamp":"000001a04858eed8"} 
[2026-08-28 18:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:00:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:00:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:00:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164919,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164919,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:00:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707480832001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707480832001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:00:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:00:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 18:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707480832001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 18:00:38] 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":709317,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:00:38] local.INFO: GPS data processed {"connection_id":164919,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:00:38] local.INFO: Acknowledgment sent {"connection_id":164919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:00:41] local.INFO: TCP Data received {"connection_id":166278,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:00:41] local.INFO: Processing buffer {"connection_id":166278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:00:41] local.INFO: IMEI packet received {"connection_id":166278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 18:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":166278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:00:46] local.INFO: TCP Data received {"connection_id":166278,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04855ddb0012d34c14006aa4840000f00e629..."} 
[2026-08-28 18:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04855ddb0012d34c14006aa4840000f00e629..."} 
[2026-08-28 18:00:46] local.INFO: Processing buffer {"connection_id":166278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04855ddb0012d34c14006aa4840000f00e629..."} 
[2026-08-28 18:00:46] local.INFO: Packet analysis {"connection_id":166278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04855"} 
[2026-08-28 18:00:46] local.INFO: Extracted packet for processing {"connection_id":166278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04855"} 
[2026-08-28 18:00:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707438336001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:00:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:00:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787919982000,"timestamp_ms":1787919982000,"timestamp_seconds":1787919982,"priority":1,"record_length":96,"hex_timestamp":"000001a04855ddb0"} 
[2026-08-28 18:00:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:00: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-28 18:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 18:00: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-28 18:00:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:00:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":166278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":166278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":166278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:00:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:00:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707438336001,"66":25430,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:00:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:00:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:00:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707438336001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:00:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:00:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:00: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-28 18:00:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:00:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707438336001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:00:46] local.INFO: DEBUG: GPS processor result {"connection_id":166278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:00:46] local.INFO: GPS data processed {"connection_id":166278,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:00:46] local.INFO: Acknowledgment sent {"connection_id":166278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:00:48] local.INFO: TCP Data received {"connection_id":166278,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04855ddb0012d34c14006aa4840000f00e629..."} 
[2026-08-28 18:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04855ddb0012d34c14006aa4840000f00e629..."} 
[2026-08-28 18:00:48] local.INFO: Processing buffer {"connection_id":166278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04855ddb0012d34c14006aa4840000f00e629..."} 
[2026-08-28 18:00:48] local.INFO: Packet analysis {"connection_id":166278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04855"} 
[2026-08-28 18:00:48] local.INFO: Extracted packet for processing {"connection_id":166278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04855"} 
[2026-08-28 18:00:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:00:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:00:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707438336001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:00:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:00:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:00:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:00:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787919982000,"timestamp_ms":1787919982000,"timestamp_seconds":1787919982,"priority":1,"record_length":96,"hex_timestamp":"000001a04855ddb0"} 
[2026-08-28 18:00:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:00: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-28 18:00:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 18:00: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-28 18:00:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:00:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:00:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:00:48] local.INFO: Teltonika packet parsed successfully {"connection_id":166278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:00:48] local.INFO: Passing IMEI to GPS processor {"connection_id":166278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:00:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":166278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:00:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:00:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:00:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:00:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707438336001,"66":25430,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:00:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:00:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:00:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707438336001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:00:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:00:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18: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-28 18:00:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:00:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707438336001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:00:48] local.INFO: DEBUG: GPS processor result {"connection_id":166278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:00:48] local.INFO: GPS data processed {"connection_id":166278,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:00:48] local.INFO: Acknowledgment sent {"connection_id":166278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:00:56] local.INFO: TCP Data received {"connection_id":163638,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163638,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:00:56] local.INFO: Processing buffer {"connection_id":163638,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:00:56] local.INFO: IMEI packet received {"connection_id":163638,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 18:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":163638,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:01:01] local.INFO: TCP Data received {"connection_id":163915,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a04858fe78012d7b518005e13b90000800b723..."} 
[2026-08-28 18:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04858fe78012d7b518005e13b90000800b723..."} 
[2026-08-28 18:01:01] local.INFO: Processing buffer {"connection_id":163915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04858fe78012d7b518005e13b90000800b723..."} 
[2026-08-28 18:01:01] local.INFO: Packet analysis {"connection_id":163915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04858"} 
[2026-08-28 18:01:01] local.INFO: Extracted packet for processing {"connection_id":163915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04858"} 
[2026-08-28 18:01:01] local.INFO: GPS Element Parsed {"raw_longitude":763056512,"raw_latitude":98646928,"longitude_deg":76.3056512,"latitude_deg":9.8646928,"altitude":8,"angle":183,"satellites":35,"speed":4,"hex_longitude":"2d7b5180","hex_latitude":"05e13b90","is_valid_coordinates":true} 
[2026-08-28 18:01:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:01:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707566848001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:01:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232321409318912,"note":"Value kept but may cause issues"} 
[2026-08-28 18:01:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885742827544055808,"note":"Value kept but may cause issues"} 
[2026-08-28 18:01: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-28 18:01:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787920187000,"timestamp_ms":1787920187000,"timestamp_seconds":1787920187,"priority":1,"record_length":96,"hex_timestamp":"000001a04858fe78"} 
[2026-08-28 18:01:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:01:01] 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-28 18:01:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-28 18:01:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:01:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:01:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:01:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:01:01] local.INFO: Teltonika packet parsed successfully {"connection_id":163915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:01:01] local.INFO: Passing IMEI to GPS processor {"connection_id":163915,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 18:01:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":163915,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 18:01:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:01:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 18:01:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 18:01:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707566848001,"66":13493,"217":206,"85":15104,"24":4,"16":125232321409318912,"45":8885742827544055808},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 18:01:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 18:01:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 18:01:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707566848001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:01:01] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 18:01:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 18:01:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232321409318912,"km_value":125232321409318.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:01:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885742827544055808,"description":"Unknown IO ID 45"} 
[2026-08-28 18:01:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707566848001,"power":13493,"unknown_217":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8885742827544055808}} 
[2026-08-28 18:01:01] local.INFO: DEBUG: GPS processor result {"connection_id":163915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709320,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:01:01] local.INFO: GPS data processed {"connection_id":163915,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:01:01] local.INFO: Acknowledgment sent {"connection_id":163915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:01:01] local.INFO: TCP Data received {"connection_id":163638,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163638,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:01:01] local.INFO: Processing buffer {"connection_id":163638,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:01:01] local.INFO: IMEI packet received {"connection_id":163638,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 18:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":163638,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:01:04] local.INFO: TCP Data received {"connection_id":163638,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04858eed8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04858eed8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:01:04] local.INFO: Processing buffer {"connection_id":163638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04858eed8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:01:04] local.INFO: Packet analysis {"connection_id":163638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04858"} 
[2026-08-28 18:01:04] local.INFO: Extracted packet for processing {"connection_id":163638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04858"} 
[2026-08-28 18:01:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707480832001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 18:01:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787920183000,"timestamp_ms":1787920183000,"timestamp_seconds":1787920183,"priority":1,"record_length":96,"hex_timestamp":"000001a04858eed8"} 
[2026-08-28 18:01:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:01:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:01:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:01:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:01:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":163638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":163638,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":163638,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707480832001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707480832001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:01:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:01:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 18:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707480832001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 18:01:04] 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":709321,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:01:04] local.INFO: GPS data processed {"connection_id":163638,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:01:04] local.INFO: Acknowledgment sent {"connection_id":163638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:01:25] local.INFO: TCP Data received {"connection_id":163639,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163639,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:01:25] local.INFO: Processing buffer {"connection_id":163639,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:01:25] local.INFO: IMEI packet received {"connection_id":163639,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 18:01:25] local.INFO: IMEI acknowledgment sent {"connection_id":163639,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:01:30] local.INFO: TCP Data received {"connection_id":163639,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163639,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:01:30] local.INFO: Processing buffer {"connection_id":163639,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:01:30] local.INFO: IMEI packet received {"connection_id":163639,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 18:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":163639,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:01:31] local.INFO: TCP Data received {"connection_id":163639,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a048595080012d7b518005e13bf0000600b623..."} 
[2026-08-28 18:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048595080012d7b518005e13bf0000600b623..."} 
[2026-08-28 18:01:31] local.INFO: Processing buffer {"connection_id":163639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048595080012d7b518005e13bf0000600b623..."} 
[2026-08-28 18:01:31] local.INFO: Packet analysis {"connection_id":163639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04859"} 
[2026-08-28 18:01:31] local.INFO: Extracted packet for processing {"connection_id":163639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04859"} 
[2026-08-28 18:01:31] local.INFO: GPS Element Parsed {"raw_longitude":763056512,"raw_latitude":98647024,"longitude_deg":76.3056512,"latitude_deg":9.8647024,"altitude":6,"angle":182,"satellites":35,"speed":1,"hex_longitude":"2d7b5180","hex_latitude":"05e13bf0","is_valid_coordinates":true} 
[2026-08-28 18:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707567872001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232347179122688,"note":"Value kept but may cause issues"} 
[2026-08-28 18:01:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886024302520668160,"note":"Value kept but may cause issues"} 
[2026-08-28 18:01:31] 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-28 18:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787920208000,"timestamp_ms":1787920208000,"timestamp_seconds":1787920208,"priority":1,"record_length":96,"hex_timestamp":"000001a048595080"} 
[2026-08-28 18:01:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:01:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-28 18:01:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:01:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:01:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":163639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":163639,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 18:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":163639,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 18:01:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 18:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 18:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707567872001,"66":13015,"217":206,"85":15104,"24":1,"16":125232347179122688,"45":8886024302520668160},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 18:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 18:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 18:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707567872001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:01:31] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 18:01:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 18:01:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232347179122688,"km_value":125232347179122.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:01:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886024302520668160,"description":"Unknown IO ID 45"} 
[2026-08-28 18:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707567872001,"power":13015,"unknown_217":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8886024302520668160}} 
[2026-08-28 18:01:31] 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":709322,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:01:31] local.INFO: GPS data processed {"connection_id":163639,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:01:31] local.INFO: Acknowledgment sent {"connection_id":163639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:01:35] local.INFO: TCP Data received {"connection_id":163640,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:01:35] local.INFO: Processing buffer {"connection_id":163640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:01:35] local.INFO: IMEI packet received {"connection_id":163640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 18:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":163640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:01:38] local.INFO: TCP Data received {"connection_id":163638,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04858eed8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04858eed8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:01:38] local.INFO: Processing buffer {"connection_id":163638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04858eed8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:01:38] local.INFO: Packet analysis {"connection_id":163638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04858"} 
[2026-08-28 18:01:38] local.INFO: Extracted packet for processing {"connection_id":163638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04858"} 
[2026-08-28 18:01:38] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18: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-28 18:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707480832001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 18:01:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787920183000,"timestamp_ms":1787920183000,"timestamp_seconds":1787920183,"priority":1,"record_length":96,"hex_timestamp":"000001a04858eed8"} 
[2026-08-28 18: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-28 18:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:01:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18: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-28 18: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-28 18:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163638,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163638,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:01:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707480832001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707480832001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:01:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:01:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 18:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707480832001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 18:01:38] 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":709323,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:01:38] local.INFO: GPS data processed {"connection_id":163638,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:01:38] local.INFO: Acknowledgment sent {"connection_id":163638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:01:41] local.INFO: TCP Data received {"connection_id":163640,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:01:41] local.INFO: Processing buffer {"connection_id":163640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:01:41] local.INFO: IMEI packet received {"connection_id":163640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 18:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":163640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:01:44] local.INFO: TCP Data received {"connection_id":163640,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04855ddb0012d34c14006aa4840000f00e629..."} 
[2026-08-28 18:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04855ddb0012d34c14006aa4840000f00e629..."} 
[2026-08-28 18:01:44] local.INFO: Processing buffer {"connection_id":163640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04855ddb0012d34c14006aa4840000f00e629..."} 
[2026-08-28 18:01:44] local.INFO: Packet analysis {"connection_id":163640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04855"} 
[2026-08-28 18:01:44] local.INFO: Extracted packet for processing {"connection_id":163640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04855"} 
[2026-08-28 18:01:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:01:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:01:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707438336001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:01:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:01:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:01:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:01:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787919982000,"timestamp_ms":1787919982000,"timestamp_seconds":1787919982,"priority":1,"record_length":96,"hex_timestamp":"000001a04855ddb0"} 
[2026-08-28 18:01:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:01: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-28 18:01:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 18:01: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-28 18:01:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:01:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:01:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:01:44] local.INFO: Teltonika packet parsed successfully {"connection_id":163640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:01:44] local.INFO: Passing IMEI to GPS processor {"connection_id":163640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:01:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":163640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:01:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:01:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:01:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:01:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707438336001,"66":25430,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:01:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:01:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:01:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707438336001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:01:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:01:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18: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-28 18:01:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:01:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707438336001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:01:44] 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":709324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:01:44] local.INFO: GPS data processed {"connection_id":163640,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:01:44] local.INFO: Acknowledgment sent {"connection_id":163640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:01:48] local.INFO: TCP Data received {"connection_id":163916,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:01:48] local.INFO: Processing buffer {"connection_id":163916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:01:48] local.INFO: IMEI packet received {"connection_id":163916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 18:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":163916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:01:52] local.INFO: TCP Data received {"connection_id":163916,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:01:52] local.INFO: Processing buffer {"connection_id":163916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:01:52] local.INFO: IMEI packet received {"connection_id":163916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":163916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:01:53] local.INFO: TCP Data received {"connection_id":163916,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a04856cbf8012d1821800721b340004d00d728..."} 
[2026-08-28 18:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04856cbf8012d1821800721b340004d00d728..."} 
[2026-08-28 18:01:53] local.INFO: Processing buffer {"connection_id":163916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04856cbf8012d1821800721b340004d00d728..."} 
[2026-08-28 18:01:53] local.INFO: Packet analysis {"connection_id":163916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04856"} 
[2026-08-28 18:01:53] local.INFO: Extracted packet for processing {"connection_id":163916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04856"} 
[2026-08-28 18:01:53] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649088,"longitude_deg":75.655616,"latitude_deg":11.9649088,"altitude":77,"angle":215,"satellites":40,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b340","is_valid_coordinates":true} 
[2026-08-28 18: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-28 18:01:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707525632001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:01:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16002700252545024,"note":"Value kept but may cause issues"} 
[2026-08-28 18:01:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469633024,"note":"Value kept but may cause issues"} 
[2026-08-28 18:01: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-28 18:01:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787920043000,"timestamp_ms":1787920043000,"timestamp_seconds":1787920043,"priority":1,"record_length":96,"hex_timestamp":"000001a04856cbf8"} 
[2026-08-28 18: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-28 18:01:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-28 18:01:53] 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-28 18: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-28 18: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-28 18:01:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:01:53] local.INFO: Teltonika packet parsed successfully {"connection_id":163916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:01:53] local.INFO: Passing IMEI to GPS processor {"connection_id":163916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:01:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":163916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:01:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:01:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:01:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:01:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707525632001,"66":13080,"105":206,"83":41984,"24":0,"16":16002700252545024,"45":1739304280469633024},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:01:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:01:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:01:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707525632001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:01:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:01:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:01:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16002700252545024,"km_value":16002700252545.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:01:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469633024,"description":"Unknown IO ID 45"} 
[2026-08-28 18:01:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707525632001,"power":13080,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469633024}} 
[2026-08-28 18:01:53] local.INFO: DEBUG: GPS processor result {"connection_id":163916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709325,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:01:53] local.INFO: GPS data processed {"connection_id":163916,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:01:53] local.INFO: Acknowledgment sent {"connection_id":163916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:01:53] local.INFO: TCP Data received {"connection_id":163916,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048571e00012d1821800721b340004d00d729..."} 
[2026-08-28 18:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048571e00012d1821800721b340004d00d729..."} 
[2026-08-28 18:01:53] local.INFO: Processing buffer {"connection_id":163916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048571e00012d1821800721b340004d00d729..."} 
[2026-08-28 18:01:53] local.INFO: Packet analysis {"connection_id":163916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04857"} 
[2026-08-28 18:01:53] local.INFO: Extracted packet for processing {"connection_id":163916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04857"} 
[2026-08-28 18:01:53] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649088,"longitude_deg":75.655616,"latitude_deg":11.9649088,"altitude":77,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b340","is_valid_coordinates":true} 
[2026-08-28 18: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-28 18:01:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707531008001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:01:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16002700252545024,"note":"Value kept but may cause issues"} 
[2026-08-28 18:01:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260243968,"note":"Value kept but may cause issues"} 
[2026-08-28 18:01: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-28 18:01:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787920064000,"timestamp_ms":1787920064000,"timestamp_seconds":1787920064,"priority":1,"record_length":96,"hex_timestamp":"000001a048571e00"} 
[2026-08-28 18: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-28 18:01:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-28 18:01:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18: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-28 18: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-28 18:01:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:01:53] local.INFO: Teltonika packet parsed successfully {"connection_id":163916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:01:53] local.INFO: Passing IMEI to GPS processor {"connection_id":163916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:01:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":163916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:01:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:01:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:01:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:01:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707531008001,"66":12961,"105":206,"83":41984,"24":0,"16":16002700252545024,"45":1738811699260243968},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:01:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:01:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:01:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707531008001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:01:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:01:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:01:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16002700252545024,"km_value":16002700252545.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:01:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260243968,"description":"Unknown IO ID 45"} 
[2026-08-28 18:01:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707531008001,"power":12961,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260243968}} 
[2026-08-28 18:01:53] local.INFO: DEBUG: GPS processor result {"connection_id":163916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709326,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:01:53] local.INFO: GPS data processed {"connection_id":163916,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:01:53] local.INFO: Acknowledgment sent {"connection_id":163916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:01:56] local.INFO: TCP Data received {"connection_id":163641,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163641,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:01:56] local.INFO: Processing buffer {"connection_id":163641,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:01:56] local.INFO: IMEI packet received {"connection_id":163641,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 18:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":163641,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:02:01] local.INFO: TCP Data received {"connection_id":163641,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163641,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:02:01] local.INFO: Processing buffer {"connection_id":163641,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:02:01] local.INFO: IMEI packet received {"connection_id":163641,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 18:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":163641,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:02:02] local.INFO: TCP Data received {"connection_id":163639,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a048596408012d7b51c005e13a48000600a722..."} 
[2026-08-28 18:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048596408012d7b51c005e13a48000600a722..."} 
[2026-08-28 18:02:02] local.INFO: Processing buffer {"connection_id":163639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048596408012d7b51c005e13a48000600a722..."} 
[2026-08-28 18:02:02] local.INFO: Packet analysis {"connection_id":163639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04859"} 
[2026-08-28 18:02:02] local.INFO: Extracted packet for processing {"connection_id":163639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04859"} 
[2026-08-28 18:02:02] local.INFO: GPS Element Parsed {"raw_longitude":763056576,"raw_latitude":98646600,"longitude_deg":76.3056576,"latitude_deg":9.86466,"altitude":6,"angle":167,"satellites":34,"speed":3,"hex_longitude":"2d7b51c0","hex_latitude":"05e13a48","is_valid_coordinates":true} 
[2026-08-28 18:02:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:02:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707573248001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:02:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232368653959168,"note":"Value kept but may cause issues"} 
[2026-08-28 18:02:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886024302520692736,"note":"Value kept but may cause issues"} 
[2026-08-28 18:02:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:02:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787920213000,"timestamp_ms":1787920213000,"timestamp_seconds":1787920213,"priority":1,"record_length":96,"hex_timestamp":"000001a048596408"} 
[2026-08-28 18:02:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:02:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:02:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-28 18:02:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:02:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:02:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:02:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:02:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:02:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163639,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 18:02:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163639,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 18:02:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:02:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 18:02:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 18:02:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707573248001,"66":13722,"217":206,"85":15104,"24":3,"16":125232368653959168,"45":8886024302520692736},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 18:02:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 18:02:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 18:02:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707573248001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:02:02] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 18:02:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 18:02:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232368653959168,"km_value":125232368653959.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:02:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886024302520692736,"description":"Unknown IO ID 45"} 
[2026-08-28 18:02:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707573248001,"power":13722,"unknown_217":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8886024302520692736}} 
[2026-08-28 18:02:02] 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":709327,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:02:02] local.INFO: GPS data processed {"connection_id":163639,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:02:02] local.INFO: Acknowledgment sent {"connection_id":163639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:02:03] local.INFO: TCP Data received {"connection_id":163641,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04858eed8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04858eed8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:02:03] local.INFO: Processing buffer {"connection_id":163641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04858eed8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:02:03] local.INFO: Packet analysis {"connection_id":163641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04858"} 
[2026-08-28 18:02:03] local.INFO: Extracted packet for processing {"connection_id":163641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04858"} 
[2026-08-28 18:02:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707480832001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 18:02:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787920183000,"timestamp_ms":1787920183000,"timestamp_seconds":1787920183,"priority":1,"record_length":96,"hex_timestamp":"000001a04858eed8"} 
[2026-08-28 18:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:02:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:02:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:02:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163641,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163641,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707480832001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707480832001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:02:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:02:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 18:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707480832001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 18:02:03] 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":709328,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:02:03] local.INFO: GPS data processed {"connection_id":163641,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:02:03] local.INFO: Acknowledgment sent {"connection_id":163641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:02:17] local.INFO: TCP Data received {"connection_id":163640,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0485a7578012d34c14006aa4840000f00e629..."} 
[2026-08-28 18:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0485a7578012d34c14006aa4840000f00e629..."} 
[2026-08-28 18:02:17] local.INFO: Processing buffer {"connection_id":163640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0485a7578012d34c14006aa4840000f00e629..."} 
[2026-08-28 18:02:17] local.INFO: Packet analysis {"connection_id":163640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0485a"} 
[2026-08-28 18:02:17] local.INFO: Extracted packet for processing {"connection_id":163640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0485a"} 
[2026-08-28 18:02:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18: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-28 18:02:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707515392001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:02:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:02:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:02:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:02:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787920283000,"timestamp_ms":1787920283000,"timestamp_seconds":1787920283,"priority":1,"record_length":96,"hex_timestamp":"000001a0485a7578"} 
[2026-08-28 18: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-28 18:02:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 18:02: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-28 18: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-28 18: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-28 18:02:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:02:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:02:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:02:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:02:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:02:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:02:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:02:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707515392001,"66":25430,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:02:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:02:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:02:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707515392001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:02:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:02:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:02: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-28 18:02:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:02:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707515392001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:02:17] 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":709329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:02:17] local.INFO: GPS data processed {"connection_id":163640,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:02:17] local.INFO: Acknowledgment sent {"connection_id":163640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:02:24] local.INFO: TCP Data received {"connection_id":163916,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048577008012d1821800721b340004d00d729..."} 
[2026-08-28 18:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048577008012d1821800721b340004d00d729..."} 
[2026-08-28 18:02:24] local.INFO: Processing buffer {"connection_id":163916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048577008012d1821800721b340004d00d729..."} 
[2026-08-28 18:02:24] local.INFO: Packet analysis {"connection_id":163916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04857"} 
[2026-08-28 18:02:24] local.INFO: Extracted packet for processing {"connection_id":163916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04857"} 
[2026-08-28 18:02:24] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649088,"longitude_deg":75.655616,"latitude_deg":11.9649088,"altitude":77,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b340","is_valid_coordinates":true} 
[2026-08-28 18:02:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:02:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707536384001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:02:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16002700252545024,"note":"Value kept but may cause issues"} 
[2026-08-28 18:02:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260243968,"note":"Value kept but may cause issues"} 
[2026-08-28 18:02:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:02:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787920085000,"timestamp_ms":1787920085000,"timestamp_seconds":1787920085,"priority":1,"record_length":96,"hex_timestamp":"000001a048577008"} 
[2026-08-28 18:02:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:02:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:02:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-28 18:02:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:02:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:02:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:02:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:02:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:02:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:02:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:02:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:02:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:02:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:02:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707536384001,"66":12863,"105":206,"83":41984,"24":0,"16":16002700252545024,"45":1738811699260243968},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:02:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:02:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:02:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707536384001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:02:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:02:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:02:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16002700252545024,"km_value":16002700252545.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:02:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260243968,"description":"Unknown IO ID 45"} 
[2026-08-28 18:02:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707536384001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260243968}} 
[2026-08-28 18:02:24] local.INFO: DEBUG: GPS processor result {"connection_id":163916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709330,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:02:24] local.INFO: GPS data processed {"connection_id":163916,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:02:24] local.INFO: Acknowledgment sent {"connection_id":163916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:02:25] local.INFO: TCP Data received {"connection_id":166280,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166280,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:02:25] local.INFO: Processing buffer {"connection_id":166280,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:02:25] local.INFO: IMEI packet received {"connection_id":166280,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 18:02:25] local.INFO: IMEI acknowledgment sent {"connection_id":166280,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:02:30] local.INFO: TCP Data received {"connection_id":166281,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:02:30] local.INFO: Processing buffer {"connection_id":166281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:02:30] local.INFO: IMEI packet received {"connection_id":166281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 18:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":166281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:02:30] local.INFO: TCP Data received {"connection_id":166280,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166280,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:02:30] local.INFO: Processing buffer {"connection_id":166280,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:02:30] local.INFO: IMEI packet received {"connection_id":166280,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 18:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":166280,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:02:31] local.INFO: TCP Data received {"connection_id":166280,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a048597790012d7b530005e138180006009923..."} 
[2026-08-28 18:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048597790012d7b530005e138180006009923..."} 
[2026-08-28 18:02:31] local.INFO: Processing buffer {"connection_id":166280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048597790012d7b530005e138180006009923..."} 
[2026-08-28 18:02:31] local.INFO: Packet analysis {"connection_id":166280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04859"} 
[2026-08-28 18:02:31] local.INFO: Extracted packet for processing {"connection_id":166280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04859"} 
[2026-08-28 18:02:31] local.INFO: GPS Element Parsed {"raw_longitude":763056896,"raw_latitude":98646040,"longitude_deg":76.3056896,"latitude_deg":9.864604,"altitude":6,"angle":153,"satellites":35,"speed":4,"hex_longitude":"2d7b5300","hex_latitude":"05e13818","is_valid_coordinates":true} 
[2026-08-28 18:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707574528001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232398718730240,"note":"Value kept but may cause issues"} 
[2026-08-28 18:02:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886094671264761856,"note":"Value kept but may cause issues"} 
[2026-08-28 18:02:31] 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-28 18:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787920218000,"timestamp_ms":1787920218000,"timestamp_seconds":1787920218,"priority":1,"record_length":96,"hex_timestamp":"000001a048597790"} 
[2026-08-28 18:02:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:02:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-08-28 18:02:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:02:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:02:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":166280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":166280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 18:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":166280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 18:02:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 18:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 18:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707574528001,"66":13406,"217":206,"85":15104,"24":4,"16":125232398718730240,"45":8886094671264761856},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 18:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 18:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 18:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707574528001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:02:31] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 18:02:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 18:02:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232398718730240,"km_value":125232398718730.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:02:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886094671264761856,"description":"Unknown IO ID 45"} 
[2026-08-28 18:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707574528001,"power":13406,"unknown_217":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8886094671264761856}} 
[2026-08-28 18:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":166280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709331,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:02:31] local.INFO: GPS data processed {"connection_id":166280,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:02:31] local.INFO: Acknowledgment sent {"connection_id":166280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:02:35] local.INFO: TCP Data received {"connection_id":166281,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:02:35] local.INFO: Processing buffer {"connection_id":166281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:02:35] local.INFO: IMEI packet received {"connection_id":166281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 18:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":166281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:02:38] local.INFO: TCP Data received {"connection_id":166281,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0485a7578012d34c14006aa4840000f00e629..."} 
[2026-08-28 18:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0485a7578012d34c14006aa4840000f00e629..."} 
[2026-08-28 18:02:38] local.INFO: Processing buffer {"connection_id":166281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0485a7578012d34c14006aa4840000f00e629..."} 
[2026-08-28 18:02:38] local.INFO: Packet analysis {"connection_id":166281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0485a"} 
[2026-08-28 18:02:38] local.INFO: Extracted packet for processing {"connection_id":166281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0485a"} 
[2026-08-28 18:02:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707515392001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:02:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787920283000,"timestamp_ms":1787920283000,"timestamp_seconds":1787920283,"priority":1,"record_length":96,"hex_timestamp":"000001a0485a7578"} 
[2026-08-28 18:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:02:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 18:02:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:02:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":166281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":166281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":166281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:02:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707515392001,"66":25430,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707515392001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:02:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:02:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:02: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-28 18:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707515392001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":166281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:02:38] local.INFO: GPS data processed {"connection_id":166281,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:02:38] local.INFO: Acknowledgment sent {"connection_id":166281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:02:38] local.INFO: TCP Data received {"connection_id":163641,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04858eed8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04858eed8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:02:38] local.INFO: Processing buffer {"connection_id":163641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04858eed8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:02:38] local.INFO: Packet analysis {"connection_id":163641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04858"} 
[2026-08-28 18:02:38] local.INFO: Extracted packet for processing {"connection_id":163641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04858"} 
[2026-08-28 18:02:38] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707480832001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 18:02:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787920183000,"timestamp_ms":1787920183000,"timestamp_seconds":1787920183,"priority":1,"record_length":96,"hex_timestamp":"000001a04858eed8"} 
[2026-08-28 18:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:02:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:02:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:02:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163641,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163641,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:02:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707480832001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707480832001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:02:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:02:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 18:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707480832001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 18:02:38] 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":709333,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:02:38] local.INFO: GPS data processed {"connection_id":163641,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:02:38] local.INFO: Acknowledgment sent {"connection_id":163641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:02:43] local.INFO: TCP Data received {"connection_id":163917,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163917,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:02:43] local.INFO: Processing buffer {"connection_id":163917,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:02:43] local.INFO: IMEI packet received {"connection_id":163917,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 18:02:43] local.INFO: IMEI acknowledgment sent {"connection_id":163917,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:02:48] local.INFO: TCP Data received {"connection_id":163917,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163917,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:02:48] local.INFO: Processing buffer {"connection_id":163917,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:02:48] local.INFO: IMEI packet received {"connection_id":163917,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:02:48] local.INFO: IMEI acknowledgment sent {"connection_id":163917,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:02:49] local.INFO: TCP Data received {"connection_id":163917,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a04857c210012d1821800721b340004d00d72b..."} 
[2026-08-28 18:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04857c210012d1821800721b340004d00d72b..."} 
[2026-08-28 18:02:49] local.INFO: Processing buffer {"connection_id":163917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04857c210012d1821800721b340004d00d72b..."} 
[2026-08-28 18:02:49] local.INFO: Packet analysis {"connection_id":163917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04857"} 
[2026-08-28 18:02:49] local.INFO: Extracted packet for processing {"connection_id":163917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04857"} 
[2026-08-28 18:02:49] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649088,"longitude_deg":75.655616,"latitude_deg":11.9649088,"altitude":77,"angle":215,"satellites":43,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b340","is_valid_coordinates":true} 
[2026-08-28 18: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-28 18:02:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707541760001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:02:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16002700252545024,"note":"Value kept but may cause issues"} 
[2026-08-28 18:02:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260243968,"note":"Value kept but may cause issues"} 
[2026-08-28 18:02:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:02:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787920106000,"timestamp_ms":1787920106000,"timestamp_seconds":1787920106,"priority":1,"record_length":96,"hex_timestamp":"000001a04857c210"} 
[2026-08-28 18: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-28 18:02:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-28 18:02:49] 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-28 18: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-28 18: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-28 18:02:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:02:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:02:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:02:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:02:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:02:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:02:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:02:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707541760001,"66":12885,"105":206,"83":41984,"24":0,"16":16002700252545024,"45":1738811699260243968},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:02:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:02:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:02:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707541760001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:02:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:02:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:02:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16002700252545024,"km_value":16002700252545.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:02:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260243968,"description":"Unknown IO ID 45"} 
[2026-08-28 18:02:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707541760001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260243968}} 
[2026-08-28 18:02:49] local.INFO: DEBUG: GPS processor result {"connection_id":163917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709334,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:02:49] local.INFO: GPS data processed {"connection_id":163917,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:02:49] local.INFO: Acknowledgment sent {"connection_id":163917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:02:56] local.INFO: TCP Data received {"connection_id":163642,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163642,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:02:56] local.INFO: Processing buffer {"connection_id":163642,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:02:56] local.INFO: IMEI packet received {"connection_id":163642,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 18:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":163642,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:03:01] local.INFO: TCP Data received {"connection_id":163642,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163642,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:03:01] local.INFO: Processing buffer {"connection_id":163642,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:03:01] local.INFO: IMEI packet received {"connection_id":163642,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 18:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":163642,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:03:02] local.INFO: TCP Data received {"connection_id":166280,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a048599ab8012d7b53c005e13558000600ac23..."} 
[2026-08-28 18:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048599ab8012d7b53c005e13558000600ac23..."} 
[2026-08-28 18:03:02] local.INFO: Processing buffer {"connection_id":166280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048599ab8012d7b53c005e13558000600ac23..."} 
[2026-08-28 18:03:02] local.INFO: Packet analysis {"connection_id":166280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04859"} 
[2026-08-28 18:03:02] local.INFO: Extracted packet for processing {"connection_id":166280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04859"} 
[2026-08-28 18:03:02] local.INFO: GPS Element Parsed {"raw_longitude":763057088,"raw_latitude":98645336,"longitude_deg":76.3057088,"latitude_deg":9.8645336,"altitude":6,"angle":172,"satellites":35,"speed":2,"hex_longitude":"2d7b53c0","hex_latitude":"05e13558","is_valid_coordinates":true} 
[2026-08-28 18:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:03:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707575808001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:03:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232441668403200,"note":"Value kept but may cause issues"} 
[2026-08-28 18:03:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886446514985506816,"note":"Value kept but may cause issues"} 
[2026-08-28 18:03:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:03:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787920227000,"timestamp_ms":1787920227000,"timestamp_seconds":1787920227,"priority":1,"record_length":96,"hex_timestamp":"000001a048599ab8"} 
[2026-08-28 18:03:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:03:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-28 18:03:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:03:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:03:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:03:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:03:02] local.INFO: Teltonika packet parsed successfully {"connection_id":166280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:03:02] local.INFO: Passing IMEI to GPS processor {"connection_id":166280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 18:03:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":166280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 18:03:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:03:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 18:03:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 18:03:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707575808001,"66":13319,"217":206,"85":15104,"24":2,"16":125232441668403200,"45":8886446514985506816},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 18:03:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 18:03:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 18:03:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707575808001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:03:02] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 18:03:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 18:03:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232441668403200,"km_value":125232441668403.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:03:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886446514985506816,"description":"Unknown IO ID 45"} 
[2026-08-28 18:03:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707575808001,"power":13319,"unknown_217":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8886446514985506816}} 
[2026-08-28 18:03:02] local.INFO: DEBUG: GPS processor result {"connection_id":166280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709335,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:03:02] local.INFO: GPS data processed {"connection_id":166280,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:03:02] local.INFO: Acknowledgment sent {"connection_id":166280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:03:03] local.INFO: TCP Data received {"connection_id":163642,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04858eed8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04858eed8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:03:03] local.INFO: Processing buffer {"connection_id":163642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04858eed8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:03:03] local.INFO: Packet analysis {"connection_id":163642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04858"} 
[2026-08-28 18:03:03] local.INFO: Extracted packet for processing {"connection_id":163642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04858"} 
[2026-08-28 18:03:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707480832001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 18:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787920183000,"timestamp_ms":1787920183000,"timestamp_seconds":1787920183,"priority":1,"record_length":96,"hex_timestamp":"000001a04858eed8"} 
[2026-08-28 18:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:03:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:03:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:03:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163642,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163642,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707480832001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707480832001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:03:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:03:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 18:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707480832001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 18:03:03] 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":709336,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:03:03] local.INFO: GPS data processed {"connection_id":163642,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:03:03] local.INFO: Acknowledgment sent {"connection_id":163642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:03:11] local.INFO: TCP Data received {"connection_id":166281,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0485a7578012d34c14006aa4840000f00e629..."} 
[2026-08-28 18:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0485a7578012d34c14006aa4840000f00e629..."} 
[2026-08-28 18:03:11] local.INFO: Processing buffer {"connection_id":166281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0485a7578012d34c14006aa4840000f00e629..."} 
[2026-08-28 18:03:11] local.INFO: Packet analysis {"connection_id":166281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0485a"} 
[2026-08-28 18:03:11] local.INFO: Extracted packet for processing {"connection_id":166281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0485a"} 
[2026-08-28 18:03:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707515392001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:03:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:03:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787920283000,"timestamp_ms":1787920283000,"timestamp_seconds":1787920283,"priority":1,"record_length":96,"hex_timestamp":"000001a0485a7578"} 
[2026-08-28 18:03:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:03:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 18:03:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:03:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:03:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":166281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":166281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":166281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:03:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707515392001,"66":25430,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707515392001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:03:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:03:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:03: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-28 18:03:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707515392001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":166281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:03:11] local.INFO: GPS data processed {"connection_id":166281,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:03:11] local.INFO: Acknowledgment sent {"connection_id":166281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:03:20] local.INFO: TCP Data received {"connection_id":163917,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048581418012d1821800721b340004d00d72a..."} 
[2026-08-28 18:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048581418012d1821800721b340004d00d72a..."} 
[2026-08-28 18:03:20] local.INFO: Processing buffer {"connection_id":163917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048581418012d1821800721b340004d00d72a..."} 
[2026-08-28 18:03:20] local.INFO: Packet analysis {"connection_id":163917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04858"} 
[2026-08-28 18:03:20] local.INFO: Extracted packet for processing {"connection_id":163917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04858"} 
[2026-08-28 18:03:20] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649088,"longitude_deg":75.655616,"latitude_deg":11.9649088,"altitude":77,"angle":215,"satellites":42,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b340","is_valid_coordinates":true} 
[2026-08-28 18: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-28 18:03:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707547136001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:03:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16002700252545024,"note":"Value kept but may cause issues"} 
[2026-08-28 18:03:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260243968,"note":"Value kept but may cause issues"} 
[2026-08-28 18:03:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:03:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787920127000,"timestamp_ms":1787920127000,"timestamp_seconds":1787920127,"priority":1,"record_length":96,"hex_timestamp":"000001a048581418"} 
[2026-08-28 18: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-28 18:03:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-28 18:03:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18: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-28 18: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-28 18:03:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:03:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:03:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:03:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:03:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:03:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:03:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:03:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707547136001,"66":12841,"105":206,"83":41984,"24":0,"16":16002700252545024,"45":1738811699260243968},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:03:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:03:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:03:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707547136001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:03:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:03:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:03:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16002700252545024,"km_value":16002700252545.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:03:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260243968,"description":"Unknown IO ID 45"} 
[2026-08-28 18:03:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707547136001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260243968}} 
[2026-08-28 18:03:20] local.INFO: DEBUG: GPS processor result {"connection_id":163917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709338,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:03:20] local.INFO: GPS data processed {"connection_id":163917,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:03:20] local.INFO: Acknowledgment sent {"connection_id":163917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:03:25] local.INFO: TCP Data received {"connection_id":163643,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163643,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:03:25] local.INFO: Processing buffer {"connection_id":163643,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:03:25] local.INFO: IMEI packet received {"connection_id":163643,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 18:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":163643,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:03:30] local.INFO: TCP Data received {"connection_id":163643,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163643,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:03:30] local.INFO: Processing buffer {"connection_id":163643,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:03:30] local.INFO: IMEI packet received {"connection_id":163643,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 18:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":163643,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:03:31] local.INFO: TCP Data received {"connection_id":163643,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a04859a288012d7b538005e13528000600be23..."} 
[2026-08-28 18:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04859a288012d7b538005e13528000600be23..."} 
[2026-08-28 18:03:31] local.INFO: Processing buffer {"connection_id":163643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04859a288012d7b538005e13528000600be23..."} 
[2026-08-28 18:03:31] local.INFO: Packet analysis {"connection_id":163643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04859"} 
[2026-08-28 18:03:31] local.INFO: Extracted packet for processing {"connection_id":163643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04859"} 
[2026-08-28 18:03:31] local.INFO: GPS Element Parsed {"raw_longitude":763057024,"raw_latitude":98645288,"longitude_deg":76.3057024,"latitude_deg":9.8645288,"altitude":6,"angle":190,"satellites":35,"speed":1,"hex_longitude":"2d7b5380","hex_latitude":"05e13528","is_valid_coordinates":true} 
[2026-08-28 18:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707578112001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232445963370496,"note":"Value kept but may cause issues"} 
[2026-08-28 18:03:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886657621217859584,"note":"Value kept but may cause issues"} 
[2026-08-28 18:03:31] 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-28 18:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787920229000,"timestamp_ms":1787920229000,"timestamp_seconds":1787920229,"priority":1,"record_length":96,"hex_timestamp":"000001a04859a288"} 
[2026-08-28 18:03:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:03:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-28 18:03:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-28 18:03:31] local.WARNING: Large IO value detected {"io_id":80,"raw_value":2147868989,"note":"Value kept but may cause issues"} 
[2026-08-28 18:03:31] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-28 18:03:31] local.WARNING: Large IO value detected {"io_id":225,"raw_value":4535124850547565312,"note":"Value kept but may cause issues"} 
[2026-08-28 18:03:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1608057038,"corrected_to":0} 
[2026-08-28 18:03:31] local.WARNING: Large IO value detected {"io_id":238,"raw_value":3623955835,"note":"Value kept but may cause issues"} 
[2026-08-28 18:03:31] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3321941343,"note":"Value kept but may cause issues"} 
[2026-08-28 18:03:31] local.WARNING: Large IO value detected {"io_id":188,"raw_value":3927769088,"note":"Value kept but may cause issues"} 
[2026-08-28 18:03:31] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3778916352,"note":"Value kept but may cause issues"} 
[2026-08-28 18:03:31] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57807755851748667,"note":"Value kept but may cause issues"} 
[2026-08-28 18:03:31] local.WARNING: Large IO value detected {"io_id":88,"raw_value":-2643611686412468219,"note":"Value kept but may cause issues"} 
[2026-08-28 18:03:31] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,217,85,24,241,157,16,234,160,119,45,56,6,35,10,66,100,192,58,34,80,128,1,240,215,227,72,225,4,113,205,238,239,51,2,188,5,8,7,88],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1608057038,"validated":0}]} 
[2026-08-28 18:03:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432534830551531520,"timestamp_seconds":432534830551531.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 18:03:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":163643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":163643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 18:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":163643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 18:03:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 18:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 18:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707578112001,"66":13374,"217":206,"85":15104,"24":1,"16":125232445963370496,"45":8886657621217859584},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 18:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 18:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 18:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707578112001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:03:31] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 18:03:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 18:03:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232445963370496,"km_value":125232445963370.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:03:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886657621217859584,"description":"Unknown IO ID 45"} 
[2026-08-28 18:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707578112001,"power":13374,"unknown_217":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8886657621217859584}} 
[2026-08-28 18:03:31] 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":709339,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:03:31] local.INFO: GPS data processed {"connection_id":163643,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:03:31] local.INFO: Acknowledgment sent {"connection_id":163643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:03:35] local.INFO: TCP Data received {"connection_id":163918,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:03:35] local.INFO: Processing buffer {"connection_id":163918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:03:35] local.INFO: IMEI packet received {"connection_id":163918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 18:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":163918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:03:38] local.INFO: TCP Data received {"connection_id":163642,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04858eed8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04858eed8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:03:38] local.INFO: Processing buffer {"connection_id":163642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04858eed8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:03:38] local.INFO: Packet analysis {"connection_id":163642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04858"} 
[2026-08-28 18:03:38] local.INFO: Extracted packet for processing {"connection_id":163642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04858"} 
[2026-08-28 18:03:38] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707480832001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 18:03:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787920183000,"timestamp_ms":1787920183000,"timestamp_seconds":1787920183,"priority":1,"record_length":96,"hex_timestamp":"000001a04858eed8"} 
[2026-08-28 18:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:03:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:03:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163642,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163642,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:03:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707480832001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707480832001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:03:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:03:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 18:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707480832001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 18:03:38] 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":709340,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:03:38] local.INFO: GPS data processed {"connection_id":163642,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:03:38] local.INFO: Acknowledgment sent {"connection_id":163642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:03:40] local.INFO: TCP Data received {"connection_id":163918,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:03:40] local.INFO: Processing buffer {"connection_id":163918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:03:40] local.INFO: IMEI packet received {"connection_id":163918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 18:03:40] local.INFO: IMEI acknowledgment sent {"connection_id":163918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:03:43] local.INFO: TCP Data received {"connection_id":163644,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163644,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:03:43] local.INFO: Processing buffer {"connection_id":163644,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:03:43] local.INFO: IMEI packet received {"connection_id":163644,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 18:03:43] local.INFO: IMEI acknowledgment sent {"connection_id":163644,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:03:43] local.INFO: TCP Data received {"connection_id":163918,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0485a7578012d34c14006aa4840000f00e629..."} 
[2026-08-28 18:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0485a7578012d34c14006aa4840000f00e629..."} 
[2026-08-28 18:03:43] local.INFO: Processing buffer {"connection_id":163918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0485a7578012d34c14006aa4840000f00e629..."} 
[2026-08-28 18:03:43] local.INFO: Packet analysis {"connection_id":163918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0485a"} 
[2026-08-28 18:03:43] local.INFO: Extracted packet for processing {"connection_id":163918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0485a"} 
[2026-08-28 18:03:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18: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-28 18:03:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707515392001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:03:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:03:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:03:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:03:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787920283000,"timestamp_ms":1787920283000,"timestamp_seconds":1787920283,"priority":1,"record_length":96,"hex_timestamp":"000001a0485a7578"} 
[2026-08-28 18: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-28 18:03: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-28 18: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-28 18: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-28 18: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-28 18: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-28 18:03:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:03:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:03:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:03:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:03:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:03:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:03:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:03:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707515392001,"66":25430,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:03:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:03:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:03:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707515392001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:03:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:03:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18: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-28 18:03:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:03:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707515392001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:03:43] local.INFO: DEBUG: GPS processor result {"connection_id":163918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:03:43] local.INFO: GPS data processed {"connection_id":163918,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:03:43] local.INFO: Acknowledgment sent {"connection_id":163918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:03:46] local.INFO: TCP Data received {"connection_id":163918,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0485a7578012d34c14006aa4840000f00e629..."} 
[2026-08-28 18:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0485a7578012d34c14006aa4840000f00e629..."} 
[2026-08-28 18:03:46] local.INFO: Processing buffer {"connection_id":163918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0485a7578012d34c14006aa4840000f00e629..."} 
[2026-08-28 18:03:46] local.INFO: Packet analysis {"connection_id":163918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0485a"} 
[2026-08-28 18:03:46] local.INFO: Extracted packet for processing {"connection_id":163918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0485a"} 
[2026-08-28 18:03:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707515392001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:03:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:03:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787920283000,"timestamp_ms":1787920283000,"timestamp_seconds":1787920283,"priority":1,"record_length":96,"hex_timestamp":"000001a0485a7578"} 
[2026-08-28 18:03:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:03:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 18:03: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-28 18:03:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:03:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:03:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707515392001,"66":25430,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707515392001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:03:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:03:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:03: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-28 18:03:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707515392001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":163918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:03:46] local.INFO: GPS data processed {"connection_id":163918,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:03:46] local.INFO: Acknowledgment sent {"connection_id":163918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:03:48] local.INFO: TCP Data received {"connection_id":163644,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163644,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:03:48] local.INFO: Processing buffer {"connection_id":163644,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:03:48] local.INFO: IMEI packet received {"connection_id":163644,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":163644,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:03:54] local.INFO: TCP Data received {"connection_id":163918,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0485a7578012d34c14006aa4840000f00e629..."} 
[2026-08-28 18:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0485a7578012d34c14006aa4840000f00e629..."} 
[2026-08-28 18:03:54] local.INFO: Processing buffer {"connection_id":163918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0485a7578012d34c14006aa4840000f00e629..."} 
[2026-08-28 18:03:54] local.INFO: Packet analysis {"connection_id":163918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0485a"} 
[2026-08-28 18:03:54] local.INFO: Extracted packet for processing {"connection_id":163918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0485a"} 
[2026-08-28 18:03:54] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18: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-28 18:03:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707515392001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:03:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:03:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:03:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:03:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787920283000,"timestamp_ms":1787920283000,"timestamp_seconds":1787920283,"priority":1,"record_length":96,"hex_timestamp":"000001a0485a7578"} 
[2026-08-28 18: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-28 18:03:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18: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-28 18: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-28 18: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-28 18: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-28 18:03:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:03:54] local.INFO: Teltonika packet parsed successfully {"connection_id":163918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:03:54] local.INFO: Passing IMEI to GPS processor {"connection_id":163918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:03:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":163918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:03:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:03:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:03:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:03:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707515392001,"66":25430,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:03:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:03:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:03:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707515392001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:03:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:03:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18: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-28 18:03:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:03:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707515392001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:03:54] local.INFO: DEBUG: GPS processor result {"connection_id":163918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:03:54] local.INFO: GPS data processed {"connection_id":163918,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:03:54] local.INFO: Acknowledgment sent {"connection_id":163918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:03:58] local.INFO: TCP Data received {"connection_id":163644,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048586620012d1821800721b340004d00d72a..."} 
[2026-08-28 18:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048586620012d1821800721b340004d00d72a..."} 
[2026-08-28 18:03:58] local.INFO: Processing buffer {"connection_id":163644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048586620012d1821800721b340004d00d72a..."} 
[2026-08-28 18:03:58] local.INFO: Packet analysis {"connection_id":163644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04858"} 
[2026-08-28 18:03:58] local.INFO: Extracted packet for processing {"connection_id":163644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04858"} 
[2026-08-28 18:03:58] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649088,"longitude_deg":75.655616,"latitude_deg":11.9649088,"altitude":77,"angle":215,"satellites":42,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b340","is_valid_coordinates":true} 
[2026-08-28 18:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:03:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707552512001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:03:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16002700252545024,"note":"Value kept but may cause issues"} 
[2026-08-28 18:03:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260243968,"note":"Value kept but may cause issues"} 
[2026-08-28 18:03:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:03:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787920148000,"timestamp_ms":1787920148000,"timestamp_seconds":1787920148,"priority":1,"record_length":96,"hex_timestamp":"000001a048586620"} 
[2026-08-28 18:03:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:03:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-28 18:03:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:03:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:03:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:03:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:03:58] local.INFO: Teltonika packet parsed successfully {"connection_id":163644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:03:58] local.INFO: Passing IMEI to GPS processor {"connection_id":163644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:03:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":163644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:03:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:03:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:03:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:03:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707552512001,"66":12841,"105":206,"83":41984,"24":0,"16":16002700252545024,"45":1738811699260243968},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:03:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:03:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:03:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707552512001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:03:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:03:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:03:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16002700252545024,"km_value":16002700252545.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:03:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260243968,"description":"Unknown IO ID 45"} 
[2026-08-28 18:03:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707552512001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260243968}} 
[2026-08-28 18:03:58] local.INFO: DEBUG: GPS processor result {"connection_id":163644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709344,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:03:58] local.INFO: GPS data processed {"connection_id":163644,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:03:58] local.INFO: Acknowledgment sent {"connection_id":163644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:04:02] local.INFO: TCP Data received {"connection_id":166282,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166282,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:04:02] local.INFO: Processing buffer {"connection_id":166282,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:04:02] local.INFO: IMEI packet received {"connection_id":166282,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 18:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":166282,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:04:02] local.INFO: TCP Data received {"connection_id":163643,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a04859c1c8012d7b538005e134d8000600d024..."} 
[2026-08-28 18:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04859c1c8012d7b538005e134d8000600d024..."} 
[2026-08-28 18:04:02] local.INFO: Processing buffer {"connection_id":163643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04859c1c8012d7b538005e134d8000600d024..."} 
[2026-08-28 18:04:02] local.INFO: Packet analysis {"connection_id":163643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04859"} 
[2026-08-28 18:04:02] local.INFO: Extracted packet for processing {"connection_id":163643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04859"} 
[2026-08-28 18:04:02] local.INFO: GPS Element Parsed {"raw_longitude":763057024,"raw_latitude":98645208,"longitude_deg":76.3057024,"latitude_deg":9.8645208,"altitude":6,"angle":208,"satellites":36,"speed":1,"hex_longitude":"2d7b5380","hex_latitude":"05e134d8","is_valid_coordinates":true} 
[2026-08-28 18:04:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:04:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707578624001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:04:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232450258337792,"note":"Value kept but may cause issues"} 
[2026-08-28 18:04:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886587252473669632,"note":"Value kept but may cause issues"} 
[2026-08-28 18:04:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:04:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787920237000,"timestamp_ms":1787920237000,"timestamp_seconds":1787920237,"priority":1,"record_length":96,"hex_timestamp":"000001a04859c1c8"} 
[2026-08-28 18:04:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:04:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:04:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-28 18:04:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:04:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:04:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:04:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:04:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:04:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 18:04:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 18:04:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:04:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 18:04:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 18:04:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707578624001,"66":13472,"217":206,"85":15104,"24":1,"16":125232450258337792,"45":8886587252473669632},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 18:04:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 18:04:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 18:04:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707578624001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:04:02] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 18:04:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 18:04:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232450258337792,"km_value":125232450258337.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:04:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886587252473669632,"description":"Unknown IO ID 45"} 
[2026-08-28 18:04:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707578624001,"power":13472,"unknown_217":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8886587252473669632}} 
[2026-08-28 18:04:02] 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":709345,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:04:02] local.INFO: GPS data processed {"connection_id":163643,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:04:02] local.INFO: Acknowledgment sent {"connection_id":163643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:04:06] local.INFO: TCP Data received {"connection_id":166282,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166282,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:04:06] local.INFO: Processing buffer {"connection_id":166282,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:04:06] local.INFO: IMEI packet received {"connection_id":166282,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 18:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":166282,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:04:09] local.INFO: TCP Data received {"connection_id":166282,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04858eed8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04858eed8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:04:09] local.INFO: Processing buffer {"connection_id":166282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04858eed8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:04:09] local.INFO: Packet analysis {"connection_id":166282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04858"} 
[2026-08-28 18:04:09] local.INFO: Extracted packet for processing {"connection_id":166282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04858"} 
[2026-08-28 18:04:09] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707480832001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:04:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 18:04:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787920183000,"timestamp_ms":1787920183000,"timestamp_seconds":1787920183,"priority":1,"record_length":96,"hex_timestamp":"000001a04858eed8"} 
[2026-08-28 18:04:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:04:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:04:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:04:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:04:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":166282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":166282,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":166282,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:04:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707480832001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707480832001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:04:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:04:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:04:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:04:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 18:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707480832001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 18:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":166282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709346,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:04:09] local.INFO: GPS data processed {"connection_id":166282,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:04:09] local.INFO: Acknowledgment sent {"connection_id":166282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:04:12] local.INFO: TCP Data received {"connection_id":166282,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04858eed8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04858eed8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:04:12] local.INFO: Processing buffer {"connection_id":166282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04858eed8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:04:12] local.INFO: Packet analysis {"connection_id":166282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04858"} 
[2026-08-28 18:04:12] local.INFO: Extracted packet for processing {"connection_id":166282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04858"} 
[2026-08-28 18:04:12] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707480832001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:04:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452644864,"note":"Value kept but may cause issues"} 
[2026-08-28 18:04:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787920183000,"timestamp_ms":1787920183000,"timestamp_seconds":1787920183,"priority":1,"record_length":96,"hex_timestamp":"000001a04858eed8"} 
[2026-08-28 18:04:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:04:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:04: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-28 18:04:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:04:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":166282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":166282,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":166282,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:04:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707480832001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452644864},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707480832001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:04:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:04:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:04:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452644864,"description":"Unknown IO ID 45"} 
[2026-08-28 18:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707480832001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452644864}} 
[2026-08-28 18:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":166282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709347,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:04:12] local.INFO: GPS data processed {"connection_id":166282,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:04:12] local.INFO: Acknowledgment sent {"connection_id":166282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:04:25] local.INFO: TCP Data received {"connection_id":164920,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164920,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:04:25] local.INFO: Processing buffer {"connection_id":164920,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:04:25] local.INFO: IMEI packet received {"connection_id":164920,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 18:04:25] local.INFO: IMEI acknowledgment sent {"connection_id":164920,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:04:30] local.INFO: TCP Data received {"connection_id":164920,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164920,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:04:30] local.INFO: Processing buffer {"connection_id":164920,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:04:30] local.INFO: IMEI packet received {"connection_id":164920,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 18:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":164920,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:04:31] local.INFO: TCP Data received {"connection_id":163645,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:04:31] local.INFO: Processing buffer {"connection_id":163645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:04:31] local.INFO: IMEI packet received {"connection_id":163645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 18:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":163645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:04:31] local.INFO: TCP Data received {"connection_id":164920,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a04859c5b0012d7b538005e134c00006009f24..."} 
[2026-08-28 18:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04859c5b0012d7b538005e134c00006009f24..."} 
[2026-08-28 18:04:31] local.INFO: Processing buffer {"connection_id":164920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04859c5b0012d7b538005e134c00006009f24..."} 
[2026-08-28 18:04:31] local.INFO: Packet analysis {"connection_id":164920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04859"} 
[2026-08-28 18:04:31] local.INFO: Extracted packet for processing {"connection_id":164920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04859"} 
[2026-08-28 18:04:31] local.INFO: GPS Element Parsed {"raw_longitude":763057024,"raw_latitude":98645184,"longitude_deg":76.3057024,"latitude_deg":9.8645184,"altitude":6,"angle":159,"satellites":36,"speed":2,"hex_longitude":"2d7b5380","hex_latitude":"05e134c0","is_valid_coordinates":true} 
[2026-08-28 18:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707580672001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232450258337792,"note":"Value kept but may cause issues"} 
[2026-08-28 18:04:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886587252473649152,"note":"Value kept but may cause issues"} 
[2026-08-28 18:04:31] 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-28 18:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787920238000,"timestamp_ms":1787920238000,"timestamp_seconds":1787920238,"priority":1,"record_length":96,"hex_timestamp":"000001a04859c5b0"} 
[2026-08-28 18:04:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:04:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-28 18:04:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:04:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:04:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":164920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":164920,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 18:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":164920,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 18:04:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 18:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 18:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707580672001,"66":13472,"217":206,"85":15104,"24":2,"16":125232450258337792,"45":8886587252473649152},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 18:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 18:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 18:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707580672001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:04:31] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 18:04:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 18:04:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232450258337792,"km_value":125232450258337.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:04:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886587252473649152,"description":"Unknown IO ID 45"} 
[2026-08-28 18:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707580672001,"power":13472,"unknown_217":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8886587252473649152}} 
[2026-08-28 18:04:31] local.INFO: DEBUG: GPS processor result {"connection_id":164920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709348,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:04:31] local.INFO: GPS data processed {"connection_id":164920,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:04:31] local.INFO: Acknowledgment sent {"connection_id":164920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:04:35] local.INFO: TCP Data received {"connection_id":163645,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:04:35] local.INFO: Processing buffer {"connection_id":163645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:04:35] local.INFO: IMEI packet received {"connection_id":163645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 18:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":163645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:04:38] local.INFO: TCP Data received {"connection_id":163645,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0485a7578012d34c14006aa4840000f00e629..."} 
[2026-08-28 18:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0485a7578012d34c14006aa4840000f00e629..."} 
[2026-08-28 18:04:38] local.INFO: Processing buffer {"connection_id":163645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0485a7578012d34c14006aa4840000f00e629..."} 
[2026-08-28 18:04:38] local.INFO: Packet analysis {"connection_id":163645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0485a"} 
[2026-08-28 18:04:38] local.INFO: Extracted packet for processing {"connection_id":163645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0485a"} 
[2026-08-28 18:04:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707515392001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:04:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787920283000,"timestamp_ms":1787920283000,"timestamp_seconds":1787920283,"priority":1,"record_length":96,"hex_timestamp":"000001a0485a7578"} 
[2026-08-28 18:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:04:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 18:04:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:04:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:04:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707515392001,"66":25430,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707515392001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:04:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:04:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:04: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-28 18:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707515392001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":163645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:04:38] local.INFO: GPS data processed {"connection_id":163645,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:04:38] local.INFO: Acknowledgment sent {"connection_id":163645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:04:42] local.INFO: TCP Data received {"connection_id":163645,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0485a7578012d34c14006aa4840000f00e629..."} 
[2026-08-28 18:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0485a7578012d34c14006aa4840000f00e629..."} 
[2026-08-28 18:04:42] local.INFO: Processing buffer {"connection_id":163645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0485a7578012d34c14006aa4840000f00e629..."} 
[2026-08-28 18:04:42] local.INFO: Packet analysis {"connection_id":163645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0485a"} 
[2026-08-28 18:04:42] local.INFO: Extracted packet for processing {"connection_id":163645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0485a"} 
[2026-08-28 18:04:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18: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-28 18:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707515392001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:04:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:04:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787920283000,"timestamp_ms":1787920283000,"timestamp_seconds":1787920283,"priority":1,"record_length":96,"hex_timestamp":"000001a0485a7578"} 
[2026-08-28 18: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-28 18: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-28 18: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-28 18: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-28 18: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-28 18: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-28 18:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:04:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707515392001,"66":25430,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707515392001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:04:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:04:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18: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-28 18:04:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:04:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707515392001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":163645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:04:42] local.INFO: GPS data processed {"connection_id":163645,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:04:42] local.INFO: Acknowledgment sent {"connection_id":163645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:04:43] local.INFO: TCP Data received {"connection_id":163646,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:04:43] local.INFO: Processing buffer {"connection_id":163646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:04:43] local.INFO: IMEI packet received {"connection_id":163646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 18:04:43] local.INFO: IMEI acknowledgment sent {"connection_id":163646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:04:48] local.INFO: TCP Data received {"connection_id":163646,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:04:48] local.INFO: Processing buffer {"connection_id":163646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:04:48] local.INFO: IMEI packet received {"connection_id":163646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":163646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:04:49] local.INFO: TCP Data received {"connection_id":163646,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0485bec78012d1820000721b260004e00ce2a..."} 
[2026-08-28 18:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0485bec78012d1820000721b260004e00ce2a..."} 
[2026-08-28 18:04:49] local.INFO: Processing buffer {"connection_id":163646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0485bec78012d1820000721b260004e00ce2a..."} 
[2026-08-28 18:04:49] local.INFO: Packet analysis {"connection_id":163646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0485b"} 
[2026-08-28 18:04:49] local.INFO: Extracted packet for processing {"connection_id":163646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0485b"} 
[2026-08-28 18:04:49] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648864,"longitude_deg":75.6555776,"latitude_deg":11.9648864,"altitude":78,"angle":206,"satellites":42,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b260","is_valid_coordinates":true} 
[2026-08-28 18: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-28 18:04:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707611648001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:04:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16002726022348800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:04:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795120640,"note":"Value kept but may cause issues"} 
[2026-08-28 18:04:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:04:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787920379000,"timestamp_ms":1787920379000,"timestamp_seconds":1787920379,"priority":1,"record_length":96,"hex_timestamp":"000001a0485bec78"} 
[2026-08-28 18: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-28 18:04:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-28 18:04:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18: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-28 18: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-28 18:04:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:04:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:04:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:04:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:04:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:04:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:04:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:04:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707611648001,"66":12689,"105":206,"83":41984,"24":0,"16":16002726022348800,"45":1738389486795120640},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:04:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:04:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:04:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707611648001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:04:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:04:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:04:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16002726022348800,"km_value":16002726022348.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:04:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795120640,"description":"Unknown IO ID 45"} 
[2026-08-28 18:04:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707611648001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795120640}} 
[2026-08-28 18:04:49] local.INFO: DEBUG: GPS processor result {"connection_id":163646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709351,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:04:49] local.INFO: GPS data processed {"connection_id":163646,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:04:49] local.INFO: Acknowledgment sent {"connection_id":163646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:04:56] local.INFO: TCP Data received {"connection_id":163919,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163919,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:04:56] local.INFO: Processing buffer {"connection_id":163919,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:04:56] local.INFO: IMEI packet received {"connection_id":163919,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 18:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":163919,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:05:01] local.INFO: TCP Data received {"connection_id":163919,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163919,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:05:01] local.INFO: Processing buffer {"connection_id":163919,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:05:01] local.INFO: IMEI packet received {"connection_id":163919,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 18:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":163919,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:05:02] local.INFO: TCP Data received {"connection_id":164920,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a04859d168012d7b538005e13428000600ab24..."} 
[2026-08-28 18:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04859d168012d7b538005e13428000600ab24..."} 
[2026-08-28 18:05:02] local.INFO: Processing buffer {"connection_id":164920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04859d168012d7b538005e13428000600ab24..."} 
[2026-08-28 18:05:02] local.INFO: Packet analysis {"connection_id":164920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04859"} 
[2026-08-28 18:05:02] local.INFO: Extracted packet for processing {"connection_id":164920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04859"} 
[2026-08-28 18:05:02] local.INFO: GPS Element Parsed {"raw_longitude":763057024,"raw_latitude":98645032,"longitude_deg":76.3057024,"latitude_deg":9.8645032,"altitude":6,"angle":171,"satellites":36,"speed":1,"hex_longitude":"2d7b5380","hex_latitude":"05e13428","is_valid_coordinates":true} 
[2026-08-28 18:05:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:05:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707580928001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:05:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232458848272384,"note":"Value kept but may cause issues"} 
[2026-08-28 18:05:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886587252473643008,"note":"Value kept but may cause issues"} 
[2026-08-28 18:05:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:05:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787920241000,"timestamp_ms":1787920241000,"timestamp_seconds":1787920241,"priority":1,"record_length":96,"hex_timestamp":"000001a04859d168"} 
[2026-08-28 18:05:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:05:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:05:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-28 18:05:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:05:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:05:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:05:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:05:02] local.INFO: Teltonika packet parsed successfully {"connection_id":164920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:05:02] local.INFO: Passing IMEI to GPS processor {"connection_id":164920,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 18:05:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":164920,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 18:05:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:05:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 18:05:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 18:05:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707580928001,"66":13493,"217":206,"85":15104,"24":1,"16":125232458848272384,"45":8886587252473643008},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 18:05:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 18:05:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 18:05:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707580928001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:05:02] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 18:05:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 18:05:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232458848272384,"km_value":125232458848272.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:05:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886587252473643008,"description":"Unknown IO ID 45"} 
[2026-08-28 18:05:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707580928001,"power":13493,"unknown_217":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8886587252473643008}} 
[2026-08-28 18:05:02] local.INFO: DEBUG: GPS processor result {"connection_id":164920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709352,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:05:02] local.INFO: GPS data processed {"connection_id":164920,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:05:02] local.INFO: Acknowledgment sent {"connection_id":164920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:05:04] local.INFO: TCP Data received {"connection_id":163919,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0485d7ed0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0485d7ed0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:05:04] local.INFO: Processing buffer {"connection_id":163919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0485d7ed0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:05:04] local.INFO: Packet analysis {"connection_id":163919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0485d"} 
[2026-08-28 18:05:04] local.INFO: Extracted packet for processing {"connection_id":163919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0485d"} 
[2026-08-28 18:05:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707566848001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:05:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787920482000,"timestamp_ms":1787920482000,"timestamp_seconds":1787920482,"priority":1,"record_length":96,"hex_timestamp":"000001a0485d7ed0"} 
[2026-08-28 18:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:05:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:05:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:05:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":163919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":163919,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":163919,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:05:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707566848001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707566848001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:05:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:05:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707566848001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":163919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709353,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:05:04] local.INFO: GPS data processed {"connection_id":163919,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:05:04] local.INFO: Acknowledgment sent {"connection_id":163919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:05:15] local.INFO: TCP Data received {"connection_id":163645,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0485a7578012d34c14006aa4840000f00e629..."} 
[2026-08-28 18:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0485a7578012d34c14006aa4840000f00e629..."} 
[2026-08-28 18:05:15] local.INFO: Processing buffer {"connection_id":163645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0485a7578012d34c14006aa4840000f00e629..."} 
[2026-08-28 18:05:15] local.INFO: Packet analysis {"connection_id":163645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0485a"} 
[2026-08-28 18:05:15] local.INFO: Extracted packet for processing {"connection_id":163645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0485a"} 
[2026-08-28 18:05:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18: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-28 18:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707515392001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:05:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:05:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787920283000,"timestamp_ms":1787920283000,"timestamp_seconds":1787920283,"priority":1,"record_length":96,"hex_timestamp":"000001a0485a7578"} 
[2026-08-28 18: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-28 18:05: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-28 18: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-28 18: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-28 18: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-28 18: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-28 18:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:05:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707515392001,"66":25430,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707515392001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:05:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:05:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18: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-28 18:05:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707515392001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":163645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:05:15] local.INFO: GPS data processed {"connection_id":163645,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:05:15] local.INFO: Acknowledgment sent {"connection_id":163645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:05:20] local.INFO: TCP Data received {"connection_id":163646,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0485c3e80012d1820000721b260004e00ce29..."} 
[2026-08-28 18:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0485c3e80012d1820000721b260004e00ce29..."} 
[2026-08-28 18:05:20] local.INFO: Processing buffer {"connection_id":163646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0485c3e80012d1820000721b260004e00ce29..."} 
[2026-08-28 18:05:20] local.INFO: Packet analysis {"connection_id":163646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0485c"} 
[2026-08-28 18:05:20] local.INFO: Extracted packet for processing {"connection_id":163646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0485c"} 
[2026-08-28 18:05:20] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648864,"longitude_deg":75.6555776,"latitude_deg":11.9648864,"altitude":78,"angle":206,"satellites":41,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b260","is_valid_coordinates":true} 
[2026-08-28 18: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-28 18:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707617024001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16002726022348800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:05:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795120640,"note":"Value kept but may cause issues"} 
[2026-08-28 18:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787920400000,"timestamp_ms":1787920400000,"timestamp_seconds":1787920400,"priority":1,"record_length":96,"hex_timestamp":"000001a0485c3e80"} 
[2026-08-28 18: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-28 18:05:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-28 18:05:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18: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-28 18: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-28 18:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:05:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707617024001,"66":12689,"105":206,"83":41984,"24":0,"16":16002726022348800,"45":1738389486795120640},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707617024001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:05:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:05:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16002726022348800,"km_value":16002726022348.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:05:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795120640,"description":"Unknown IO ID 45"} 
[2026-08-28 18:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707617024001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795120640}} 
[2026-08-28 18:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":163646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709355,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:05:20] local.INFO: GPS data processed {"connection_id":163646,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:05:20] local.INFO: Acknowledgment sent {"connection_id":163646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:05:25] local.INFO: TCP Data received {"connection_id":166283,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166283,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:05:25] local.INFO: Processing buffer {"connection_id":166283,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:05:25] local.INFO: IMEI packet received {"connection_id":166283,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 18:05:25] local.INFO: IMEI acknowledgment sent {"connection_id":166283,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:05:30] local.INFO: TCP Data received {"connection_id":166283,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166283,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:05:30] local.INFO: Processing buffer {"connection_id":166283,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:05:30] local.INFO: IMEI packet received {"connection_id":166283,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 18:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":166283,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:05:30] local.INFO: TCP Data received {"connection_id":163920,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:05:30] local.INFO: Processing buffer {"connection_id":163920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:05:30] local.INFO: IMEI packet received {"connection_id":163920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 18:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":163920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:05:31] local.INFO: TCP Data received {"connection_id":166283,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a04859e108012d7b53c005e13390000600b324..."} 
[2026-08-28 18:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04859e108012d7b53c005e13390000600b324..."} 
[2026-08-28 18:05:31] local.INFO: Processing buffer {"connection_id":166283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04859e108012d7b53c005e13390000600b324..."} 
[2026-08-28 18:05:31] local.INFO: Packet analysis {"connection_id":166283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04859"} 
[2026-08-28 18:05:31] local.INFO: Extracted packet for processing {"connection_id":166283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04859"} 
[2026-08-28 18:05:31] local.INFO: GPS Element Parsed {"raw_longitude":763057088,"raw_latitude":98644880,"longitude_deg":76.3057088,"latitude_deg":9.864488,"altitude":6,"angle":179,"satellites":36,"speed":1,"hex_longitude":"2d7b53c0","hex_latitude":"05e13390","is_valid_coordinates":true} 
[2026-08-28 18:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707581696001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232467438206976,"note":"Value kept but may cause issues"} 
[2026-08-28 18:05:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886587252473604096,"note":"Value kept but may cause issues"} 
[2026-08-28 18:05:31] 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-28 18:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787920245000,"timestamp_ms":1787920245000,"timestamp_seconds":1787920245,"priority":1,"record_length":96,"hex_timestamp":"000001a04859e108"} 
[2026-08-28 18:05:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:05:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-28 18:05:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:05:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:05:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":166283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":166283,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 18:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":166283,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 18:05:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 18:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 18:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707581696001,"66":13450,"217":206,"85":15104,"24":1,"16":125232467438206976,"45":8886587252473604096},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 18:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 18:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 18:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707581696001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:05:31] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 18:05:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 18:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232467438206976,"km_value":125232467438206.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:05:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886587252473604096,"description":"Unknown IO ID 45"} 
[2026-08-28 18:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707581696001,"power":13450,"unknown_217":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8886587252473604096}} 
[2026-08-28 18:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":166283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709356,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:05:31] local.INFO: GPS data processed {"connection_id":166283,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:05:31] local.INFO: Acknowledgment sent {"connection_id":166283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:05:35] local.INFO: TCP Data received {"connection_id":163920,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:05:35] local.INFO: Processing buffer {"connection_id":163920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:05:35] local.INFO: IMEI packet received {"connection_id":163920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 18:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":163920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:05:37] local.INFO: TCP Data received {"connection_id":163920,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0485a7578012d34c14006aa4840000f00e629..."} 
[2026-08-28 18:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0485a7578012d34c14006aa4840000f00e629..."} 
[2026-08-28 18:05:37] local.INFO: Processing buffer {"connection_id":163920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0485a7578012d34c14006aa4840000f00e629..."} 
[2026-08-28 18:05:37] local.INFO: Packet analysis {"connection_id":163920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0485a"} 
[2026-08-28 18:05:37] local.INFO: Extracted packet for processing {"connection_id":163920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0485a"} 
[2026-08-28 18:05:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707515392001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787920283000,"timestamp_ms":1787920283000,"timestamp_seconds":1787920283,"priority":1,"record_length":96,"hex_timestamp":"000001a0485a7578"} 
[2026-08-28 18:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 18:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707515392001,"66":25430,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707515392001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:05:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:05:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:05: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-28 18:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707515392001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":163920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:05:37] local.INFO: GPS data processed {"connection_id":163920,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:05:37] local.INFO: Acknowledgment sent {"connection_id":163920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:05:37] local.INFO: TCP Data received {"connection_id":163919,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0485d7ed0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0485d7ed0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:05:37] local.INFO: Processing buffer {"connection_id":163919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0485d7ed0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:05:37] local.INFO: Packet analysis {"connection_id":163919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0485d"} 
[2026-08-28 18:05:37] local.INFO: Extracted packet for processing {"connection_id":163919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0485d"} 
[2026-08-28 18:05:37] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707566848001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787920482000,"timestamp_ms":1787920482000,"timestamp_seconds":1787920482,"priority":1,"record_length":96,"hex_timestamp":"000001a0485d7ed0"} 
[2026-08-28 18:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163919,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163919,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707566848001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707566848001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:05:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:05:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707566848001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":163919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709358,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:05:37] local.INFO: GPS data processed {"connection_id":163919,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:05:37] local.INFO: Acknowledgment sent {"connection_id":163919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:05:43] local.INFO: TCP Data received {"connection_id":164921,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164921,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:05:43] local.INFO: Processing buffer {"connection_id":164921,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:05:43] local.INFO: IMEI packet received {"connection_id":164921,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 18:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":164921,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:05:43] local.INFO: TCP Data received {"connection_id":164921,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164921,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:05:43] local.INFO: Processing buffer {"connection_id":164921,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:05:43] local.INFO: IMEI packet received {"connection_id":164921,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":164921,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:05:48] local.INFO: TCP Data received {"connection_id":164921,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164921,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:05:48] local.INFO: Processing buffer {"connection_id":164921,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:05:48] local.INFO: IMEI packet received {"connection_id":164921,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":164921,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:05:49] local.INFO: TCP Data received {"connection_id":164921,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0485c9088012d1820000721b260004e00ce28..."} 
[2026-08-28 18:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0485c9088012d1820000721b260004e00ce28..."} 
[2026-08-28 18:05:49] local.INFO: Processing buffer {"connection_id":164921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0485c9088012d1820000721b260004e00ce28..."} 
[2026-08-28 18:05:49] local.INFO: Packet analysis {"connection_id":164921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0485c"} 
[2026-08-28 18:05:49] local.INFO: Extracted packet for processing {"connection_id":164921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0485c"} 
[2026-08-28 18:05:49] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648864,"longitude_deg":75.6555776,"latitude_deg":11.9648864,"altitude":78,"angle":206,"satellites":40,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b260","is_valid_coordinates":true} 
[2026-08-28 18:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707622400001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16002726022348800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:05:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795120640,"note":"Value kept but may cause issues"} 
[2026-08-28 18:05:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787920421000,"timestamp_ms":1787920421000,"timestamp_seconds":1787920421,"priority":1,"record_length":96,"hex_timestamp":"000001a0485c9088"} 
[2026-08-28 18:05:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:05:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-28 18:05:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:05:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:05:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:05:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707622400001,"66":12667,"105":206,"83":41984,"24":0,"16":16002726022348800,"45":1738389486795120640},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707622400001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:05:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:05:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16002726022348800,"km_value":16002726022348.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:05:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795120640,"description":"Unknown IO ID 45"} 
[2026-08-28 18:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707622400001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795120640}} 
[2026-08-28 18:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":164921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709359,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:05:49] local.INFO: GPS data processed {"connection_id":164921,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:05:49] local.INFO: Acknowledgment sent {"connection_id":164921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:05:56] local.INFO: TCP Data received {"connection_id":163647,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163647,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:05:56] local.INFO: Processing buffer {"connection_id":163647,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:05:56] local.INFO: IMEI packet received {"connection_id":163647,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 18:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":163647,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:06:01] local.INFO: TCP Data received {"connection_id":163647,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163647,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:06:01] local.INFO: Processing buffer {"connection_id":163647,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:06:01] local.INFO: IMEI packet received {"connection_id":163647,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 18:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":163647,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:06:02] local.INFO: TCP Data received {"connection_id":166283,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a04859e108012d7b53c005e13390000600b324..."} 
[2026-08-28 18:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04859e108012d7b53c005e13390000600b324..."} 
[2026-08-28 18:06:02] local.INFO: Processing buffer {"connection_id":166283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04859e108012d7b53c005e13390000600b324..."} 
[2026-08-28 18:06:02] local.INFO: Packet analysis {"connection_id":166283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04859"} 
[2026-08-28 18:06:02] local.INFO: Extracted packet for processing {"connection_id":166283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04859"} 
[2026-08-28 18:06:02] local.INFO: GPS Element Parsed {"raw_longitude":763057088,"raw_latitude":98644880,"longitude_deg":76.3057088,"latitude_deg":9.864488,"altitude":6,"angle":179,"satellites":36,"speed":1,"hex_longitude":"2d7b53c0","hex_latitude":"05e13390","is_valid_coordinates":true} 
[2026-08-28 18:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707582720001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232467438206976,"note":"Value kept but may cause issues"} 
[2026-08-28 18:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886657621217742848,"note":"Value kept but may cause issues"} 
[2026-08-28 18:06:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787920245000,"timestamp_ms":1787920245000,"timestamp_seconds":1787920245,"priority":1,"record_length":96,"hex_timestamp":"000001a04859e108"} 
[2026-08-28 18:06:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:06:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-28 18:06:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:06:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:06:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":166283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":166283,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 18:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":166283,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 18:06:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 18:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 18:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707582720001,"66":13450,"217":206,"85":15104,"24":1,"16":125232467438206976,"45":8886657621217742848},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 18:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 18:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 18:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707582720001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:06:02] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 18:06:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 18:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232467438206976,"km_value":125232467438206.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886657621217742848,"description":"Unknown IO ID 45"} 
[2026-08-28 18:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707582720001,"power":13450,"unknown_217":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8886657621217742848}} 
[2026-08-28 18:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":166283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709360,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:06:02] local.INFO: GPS data processed {"connection_id":166283,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:06:02] local.INFO: Acknowledgment sent {"connection_id":166283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:06:03] local.INFO: TCP Data received {"connection_id":163647,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0485d7ed0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0485d7ed0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:06:03] local.INFO: Processing buffer {"connection_id":163647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0485d7ed0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:06:03] local.INFO: Packet analysis {"connection_id":163647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0485d"} 
[2026-08-28 18:06:03] local.INFO: Extracted packet for processing {"connection_id":163647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0485d"} 
[2026-08-28 18:06:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707566848001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787920482000,"timestamp_ms":1787920482000,"timestamp_seconds":1787920482,"priority":1,"record_length":96,"hex_timestamp":"000001a0485d7ed0"} 
[2026-08-28 18:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:06:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:06:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:06:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163647,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163647,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:06:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707566848001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707566848001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:06:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:06:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707566848001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":163647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709361,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:06:03] local.INFO: GPS data processed {"connection_id":163647,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:06:03] local.INFO: Acknowledgment sent {"connection_id":163647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:06:10] local.INFO: TCP Data received {"connection_id":163920,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0485a7578012d34c14006aa4840000f00e629..."} 
[2026-08-28 18:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0485a7578012d34c14006aa4840000f00e629..."} 
[2026-08-28 18:06:10] local.INFO: Processing buffer {"connection_id":163920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0485a7578012d34c14006aa4840000f00e629..."} 
[2026-08-28 18:06:10] local.INFO: Packet analysis {"connection_id":163920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0485a"} 
[2026-08-28 18:06:10] local.INFO: Extracted packet for processing {"connection_id":163920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0485a"} 
[2026-08-28 18:06:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707515392001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:06:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:06:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787920283000,"timestamp_ms":1787920283000,"timestamp_seconds":1787920283,"priority":1,"record_length":96,"hex_timestamp":"000001a0485a7578"} 
[2026-08-28 18:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:06:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 18:06:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:06:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:06:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707515392001,"66":25430,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707515392001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:06:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:06:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:06:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707515392001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":163920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:06:10] local.INFO: GPS data processed {"connection_id":163920,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:06:10] local.INFO: Acknowledgment sent {"connection_id":163920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:06:20] local.INFO: TCP Data received {"connection_id":164921,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0485ce290012d1820000721b260004e00ce2a..."} 
[2026-08-28 18:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0485ce290012d1820000721b260004e00ce2a..."} 
[2026-08-28 18:06:20] local.INFO: Processing buffer {"connection_id":164921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0485ce290012d1820000721b260004e00ce2a..."} 
[2026-08-28 18:06:20] local.INFO: Packet analysis {"connection_id":164921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0485c"} 
[2026-08-28 18:06:20] local.INFO: Extracted packet for processing {"connection_id":164921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0485c"} 
[2026-08-28 18:06:20] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648864,"longitude_deg":75.6555776,"latitude_deg":11.9648864,"altitude":78,"angle":206,"satellites":42,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b260","is_valid_coordinates":true} 
[2026-08-28 18: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-28 18:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707627776001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16002726022348800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:06:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795120640,"note":"Value kept but may cause issues"} 
[2026-08-28 18:06:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787920442000,"timestamp_ms":1787920442000,"timestamp_seconds":1787920442,"priority":1,"record_length":96,"hex_timestamp":"000001a0485ce290"} 
[2026-08-28 18: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-28 18:06:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-28 18:06:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18: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-28 18: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-28 18:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":164921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":164921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":164921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:06:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707627776001,"66":12678,"105":206,"83":41984,"24":0,"16":16002726022348800,"45":1738389486795120640},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707627776001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:06:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:06:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16002726022348800,"km_value":16002726022348.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:06:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795120640,"description":"Unknown IO ID 45"} 
[2026-08-28 18:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707627776001,"power":12678,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795120640}} 
[2026-08-28 18:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":164921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709363,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:06:20] local.INFO: GPS data processed {"connection_id":164921,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:06:20] local.INFO: Acknowledgment sent {"connection_id":164921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:06:30] local.INFO: TCP Data received {"connection_id":166285,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:06:30] local.INFO: Processing buffer {"connection_id":166285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:06:30] local.INFO: IMEI packet received {"connection_id":166285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 18:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":166285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:06:30] local.INFO: TCP Data received {"connection_id":166284,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166284,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:06:30] local.INFO: Processing buffer {"connection_id":166284,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:06:30] local.INFO: IMEI packet received {"connection_id":166284,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 18:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":166284,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:06:35] local.INFO: TCP Data received {"connection_id":166284,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166284,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:06:35] local.INFO: Processing buffer {"connection_id":166284,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:06:35] local.INFO: IMEI packet received {"connection_id":166284,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 18:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":166284,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:06:35] local.INFO: TCP Data received {"connection_id":166285,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:06:35] local.INFO: Processing buffer {"connection_id":166285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:06:35] local.INFO: IMEI packet received {"connection_id":166285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 18:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":166285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:06:36] local.INFO: TCP Data received {"connection_id":166284,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0485e80a0012d7b528005e13300000500b125..."} 
[2026-08-28 18:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0485e80a0012d7b528005e13300000500b125..."} 
[2026-08-28 18:06:36] local.INFO: Processing buffer {"connection_id":166284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0485e80a0012d7b528005e13300000500b125..."} 
[2026-08-28 18:06:36] local.INFO: Packet analysis {"connection_id":166284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0485e"} 
[2026-08-28 18:06:36] local.INFO: Extracted packet for processing {"connection_id":166284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0485e"} 
[2026-08-28 18:06:36] local.INFO: GPS Element Parsed {"raw_longitude":763056768,"raw_latitude":98644736,"longitude_deg":76.3056768,"latitude_deg":9.8644736,"altitude":5,"angle":177,"satellites":37,"speed":0,"hex_longitude":"2d7b5280","hex_latitude":"05e13300","is_valid_coordinates":true} 
[2026-08-28 18:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707582720001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232467438206976,"note":"Value kept but may cause issues"} 
[2026-08-28 18:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886657621217742848,"note":"Value kept but may cause issues"} 
[2026-08-28 18:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787920548000,"timestamp_ms":1787920548000,"timestamp_seconds":1787920548,"priority":1,"record_length":96,"hex_timestamp":"000001a0485e80a0"} 
[2026-08-28 18:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-28 18:06:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:06:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":166284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":166284,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 18:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":166284,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 18:06:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 18:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 18:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707582720001,"66":12863,"217":206,"85":15104,"24":0,"16":125232467438206976,"45":8886657621217742848},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 18:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 18:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 18:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707582720001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:06:36] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 18:06:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 18:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232467438206976,"km_value":125232467438206.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886657621217742848,"description":"Unknown IO ID 45"} 
[2026-08-28 18:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707582720001,"power":12863,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886657621217742848}} 
[2026-08-28 18:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":166284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709364,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:06:36] local.INFO: GPS data processed {"connection_id":166284,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:06:36] local.INFO: Acknowledgment sent {"connection_id":166284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:06:37] local.INFO: TCP Data received {"connection_id":163647,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0485d7ed0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0485d7ed0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:06:37] local.INFO: Processing buffer {"connection_id":163647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0485d7ed0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:06:37] local.INFO: Packet analysis {"connection_id":163647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0485d"} 
[2026-08-28 18:06:37] local.INFO: Extracted packet for processing {"connection_id":163647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0485d"} 
[2026-08-28 18:06:37] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707566848001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787920482000,"timestamp_ms":1787920482000,"timestamp_seconds":1787920482,"priority":1,"record_length":96,"hex_timestamp":"000001a0485d7ed0"} 
[2026-08-28 18:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163647,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163647,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707566848001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707566848001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:06:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:06:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707566848001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":163647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709365,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:06:37] local.INFO: GPS data processed {"connection_id":163647,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:06:37] local.INFO: Acknowledgment sent {"connection_id":163647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:06:38] local.INFO: TCP Data received {"connection_id":166285,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0485a7578012d34c14006aa4840000f00e629..."} 
[2026-08-28 18:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0485a7578012d34c14006aa4840000f00e629..."} 
[2026-08-28 18:06:38] local.INFO: Processing buffer {"connection_id":166285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0485a7578012d34c14006aa4840000f00e629..."} 
[2026-08-28 18:06:38] local.INFO: Packet analysis {"connection_id":166285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0485a"} 
[2026-08-28 18:06:38] local.INFO: Extracted packet for processing {"connection_id":166285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0485a"} 
[2026-08-28 18:06:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707515392001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:06:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787920283000,"timestamp_ms":1787920283000,"timestamp_seconds":1787920283,"priority":1,"record_length":96,"hex_timestamp":"000001a0485a7578"} 
[2026-08-28 18:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:06:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 18:06:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:06:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":166285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":166285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":166285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:06:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707515392001,"66":25430,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707515392001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:06:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:06:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:06: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-28 18:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707515392001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":166285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:06:38] local.INFO: GPS data processed {"connection_id":166285,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:06:38] local.INFO: Acknowledgment sent {"connection_id":166285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:06:40] local.INFO: TCP Data received {"connection_id":166284,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0485e80a0012d7b528005e13300000500b125..."} 
[2026-08-28 18:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0485e80a0012d7b528005e13300000500b125..."} 
[2026-08-28 18:06:40] local.INFO: Processing buffer {"connection_id":166284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0485e80a0012d7b528005e13300000500b125..."} 
[2026-08-28 18:06:40] local.INFO: Packet analysis {"connection_id":166284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0485e"} 
[2026-08-28 18:06:40] local.INFO: Extracted packet for processing {"connection_id":166284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0485e"} 
[2026-08-28 18:06:40] local.INFO: GPS Element Parsed {"raw_longitude":763056768,"raw_latitude":98644736,"longitude_deg":76.3056768,"latitude_deg":9.8644736,"altitude":5,"angle":177,"satellites":37,"speed":0,"hex_longitude":"2d7b5280","hex_latitude":"05e13300","is_valid_coordinates":true} 
[2026-08-28 18:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:06:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707582720001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:06:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232467438206976,"note":"Value kept but may cause issues"} 
[2026-08-28 18:06:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886657621217742848,"note":"Value kept but may cause issues"} 
[2026-08-28 18:06: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-28 18:06:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787920548000,"timestamp_ms":1787920548000,"timestamp_seconds":1787920548,"priority":1,"record_length":96,"hex_timestamp":"000001a0485e80a0"} 
[2026-08-28 18:06:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:06:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-28 18:06:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:06:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:06:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:06:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:06:40] local.INFO: Teltonika packet parsed successfully {"connection_id":166284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:06:40] local.INFO: Passing IMEI to GPS processor {"connection_id":166284,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 18:06:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":166284,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 18:06:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:06:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 18:06:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 18:06:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707582720001,"66":12863,"217":206,"85":15104,"24":0,"16":125232467438206976,"45":8886657621217742848},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 18:06:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 18:06:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 18:06:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707582720001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:06:40] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 18:06:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 18:06:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232467438206976,"km_value":125232467438206.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:06:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886657621217742848,"description":"Unknown IO ID 45"} 
[2026-08-28 18:06:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707582720001,"power":12863,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886657621217742848}} 
[2026-08-28 18:06:40] local.INFO: DEBUG: GPS processor result {"connection_id":166284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709367,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:06:40] local.INFO: GPS data processed {"connection_id":166284,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:06:40] local.INFO: Acknowledgment sent {"connection_id":166284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:06:43] local.INFO: TCP Data received {"connection_id":163648,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163648,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:06:43] local.INFO: Processing buffer {"connection_id":163648,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:06:43] local.INFO: IMEI packet received {"connection_id":163648,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 18:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":163648,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:06:46] local.INFO: TCP Data received {"connection_id":163648,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163648,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:06:46] local.INFO: Processing buffer {"connection_id":163648,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:06:46] local.INFO: IMEI packet received {"connection_id":163648,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":163648,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:06:48] local.INFO: TCP Data received {"connection_id":163648,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163648,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:06:48] local.INFO: Processing buffer {"connection_id":163648,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:06:48] local.INFO: IMEI packet received {"connection_id":163648,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":163648,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:06:48] local.INFO: TCP Data received {"connection_id":163648,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0485d3498012d1820000721b260004e00ce29..."} 
[2026-08-28 18:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0485d3498012d1820000721b260004e00ce29..."} 
[2026-08-28 18:06:48] local.INFO: Processing buffer {"connection_id":163648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0485d3498012d1820000721b260004e00ce29..."} 
[2026-08-28 18:06:48] local.INFO: Packet analysis {"connection_id":163648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0485d"} 
[2026-08-28 18:06:48] local.INFO: Extracted packet for processing {"connection_id":163648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0485d"} 
[2026-08-28 18:06:48] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648864,"longitude_deg":75.6555776,"latitude_deg":11.9648864,"altitude":78,"angle":206,"satellites":41,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b260","is_valid_coordinates":true} 
[2026-08-28 18:06:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:06:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707633152001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:06:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16002726022348800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:06:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795120640,"note":"Value kept but may cause issues"} 
[2026-08-28 18:06:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:06:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787920463000,"timestamp_ms":1787920463000,"timestamp_seconds":1787920463,"priority":1,"record_length":96,"hex_timestamp":"000001a0485d3498"} 
[2026-08-28 18:06:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:06:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:06:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-28 18:06:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:06:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:06:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:06:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:06:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:06:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:06:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:06:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:06:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:06:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:06:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707633152001,"66":12667,"105":206,"83":41984,"24":0,"16":16002726022348800,"45":1738389486795120640},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:06:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:06:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:06:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707633152001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:06:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:06:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:06:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16002726022348800,"km_value":16002726022348.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:06:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795120640,"description":"Unknown IO ID 45"} 
[2026-08-28 18:06:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707633152001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795120640}} 
[2026-08-28 18:06:48] 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":709368,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:06:48] local.INFO: GPS data processed {"connection_id":163648,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:06:48] local.INFO: Acknowledgment sent {"connection_id":163648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:07:01] local.INFO: TCP Data received {"connection_id":163921,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163921,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:07:01] local.INFO: Processing buffer {"connection_id":163921,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:07:01] local.INFO: IMEI packet received {"connection_id":163921,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 18:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":163921,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:07:06] local.INFO: TCP Data received {"connection_id":163921,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163921,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:07:06] local.INFO: Processing buffer {"connection_id":163921,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:07:06] local.INFO: IMEI packet received {"connection_id":163921,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 18:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":163921,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:07:07] local.INFO: TCP Data received {"connection_id":163921,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0485d7ed0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0485d7ed0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:07:07] local.INFO: Processing buffer {"connection_id":163921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0485d7ed0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:07:07] local.INFO: Packet analysis {"connection_id":163921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0485d"} 
[2026-08-28 18:07:07] local.INFO: Extracted packet for processing {"connection_id":163921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0485d"} 
[2026-08-28 18:07:07] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707566848001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787920482000,"timestamp_ms":1787920482000,"timestamp_seconds":1787920482,"priority":1,"record_length":96,"hex_timestamp":"000001a0485d7ed0"} 
[2026-08-28 18:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:07:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:07:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:07:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":163921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":163921,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":163921,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707566848001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707566848001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:07:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:07:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707566848001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":163921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709369,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:07:08] local.INFO: GPS data processed {"connection_id":163921,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:07:08] local.INFO: Acknowledgment sent {"connection_id":163921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:07:12] local.INFO: TCP Data received {"connection_id":166285,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0485f0d40012d34c14006aa4840000b00e62a..."} 
[2026-08-28 18:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0485f0d40012d34c14006aa4840000b00e62a..."} 
[2026-08-28 18:07:12] local.INFO: Processing buffer {"connection_id":166285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0485f0d40012d34c14006aa4840000b00e62a..."} 
[2026-08-28 18:07:12] local.INFO: Packet analysis {"connection_id":166285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0485f"} 
[2026-08-28 18:07:12] local.INFO: Extracted packet for processing {"connection_id":166285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0485f"} 
[2026-08-28 18:07:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:07:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707592448001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:07:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:07:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:07:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:07:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787920584000,"timestamp_ms":1787920584000,"timestamp_seconds":1787920584,"priority":1,"record_length":96,"hex_timestamp":"000001a0485f0d40"} 
[2026-08-28 18:07:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:07: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-28 18:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 18:07:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:07:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:07:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:07:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:07:12] local.INFO: Teltonika packet parsed successfully {"connection_id":166285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:07:12] local.INFO: Passing IMEI to GPS processor {"connection_id":166285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:07:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":166285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:07:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:07:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:07:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:07:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707592448001,"66":25430,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:07:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:07:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:07:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707592448001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:07:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:07:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:07: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-28 18:07:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:07:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707592448001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:07:12] local.INFO: DEBUG: GPS processor result {"connection_id":166285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:07:12] local.INFO: GPS data processed {"connection_id":166285,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:07:12] local.INFO: Acknowledgment sent {"connection_id":166285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:07:13] local.INFO: TCP Data received {"connection_id":163921,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0485d7ed0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0485d7ed0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:07:13] local.INFO: Processing buffer {"connection_id":163921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0485d7ed0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:07:13] local.INFO: Packet analysis {"connection_id":163921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0485d"} 
[2026-08-28 18:07:13] local.INFO: Extracted packet for processing {"connection_id":163921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0485d"} 
[2026-08-28 18:07:13] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18: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-28 18:07:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707566848001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:07:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:07:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:07:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:07:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787920482000,"timestamp_ms":1787920482000,"timestamp_seconds":1787920482,"priority":1,"record_length":96,"hex_timestamp":"000001a0485d7ed0"} 
[2026-08-28 18: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-28 18:07:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18: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-28 18: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-28 18: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-28 18: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-28 18:07:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:07:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:07:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163921,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:07:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163921,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:07:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:07:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:07:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:07:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707566848001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:07:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:07:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:07:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707566848001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:07:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:07:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:07:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:07:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:07:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707566848001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:07:13] local.INFO: DEBUG: GPS processor result {"connection_id":163921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709371,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:07:13] local.INFO: GPS data processed {"connection_id":163921,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:07:13] local.INFO: Acknowledgment sent {"connection_id":163921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:07:19] local.INFO: TCP Data received {"connection_id":163648,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0485d86a0012d1820000721b260004e00ce2a..."} 
[2026-08-28 18:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0485d86a0012d1820000721b260004e00ce2a..."} 
[2026-08-28 18:07:19] local.INFO: Processing buffer {"connection_id":163648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0485d86a0012d1820000721b260004e00ce2a..."} 
[2026-08-28 18:07:19] local.INFO: Packet analysis {"connection_id":163648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0485d"} 
[2026-08-28 18:07:19] local.INFO: Extracted packet for processing {"connection_id":163648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0485d"} 
[2026-08-28 18:07:19] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648864,"longitude_deg":75.6555776,"latitude_deg":11.9648864,"altitude":78,"angle":206,"satellites":42,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b260","is_valid_coordinates":true} 
[2026-08-28 18:07:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:07:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707638528001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:07:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16002726022348800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:07:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795120640,"note":"Value kept but may cause issues"} 
[2026-08-28 18:07:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:07:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787920484000,"timestamp_ms":1787920484000,"timestamp_seconds":1787920484,"priority":1,"record_length":96,"hex_timestamp":"000001a0485d86a0"} 
[2026-08-28 18:07:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:07:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:07:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-28 18:07:19] 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-28 18:07:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:07:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:07:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:07:19] local.INFO: Teltonika packet parsed successfully {"connection_id":163648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:07:19] local.INFO: Passing IMEI to GPS processor {"connection_id":163648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:07:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":163648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:07:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:07:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:07:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:07:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707638528001,"66":12613,"105":206,"83":41984,"24":0,"16":16002726022348800,"45":1738389486795120640},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:07:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:07:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:07:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707638528001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:07:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:07:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:07:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16002726022348800,"km_value":16002726022348.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:07:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795120640,"description":"Unknown IO ID 45"} 
[2026-08-28 18:07:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707638528001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795120640}} 
[2026-08-28 18:07:20] 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":709372,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:07:20] local.INFO: GPS data processed {"connection_id":163648,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:07:20] local.INFO: Acknowledgment sent {"connection_id":163648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:07:25] local.INFO: TCP Data received {"connection_id":164922,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164922,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:07:25] local.INFO: Processing buffer {"connection_id":164922,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:07:25] local.INFO: IMEI packet received {"connection_id":164922,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 18:07:25] local.INFO: IMEI acknowledgment sent {"connection_id":164922,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:07:30] local.INFO: TCP Data received {"connection_id":164922,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164922,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:07:30] local.INFO: Processing buffer {"connection_id":164922,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:07:30] local.INFO: IMEI packet received {"connection_id":164922,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 18:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":164922,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:07:31] local.INFO: TCP Data received {"connection_id":164922,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0485e80a0012d7b528005e13300000500b125..."} 
[2026-08-28 18:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0485e80a0012d7b528005e13300000500b125..."} 
[2026-08-28 18:07:31] local.INFO: Processing buffer {"connection_id":164922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0485e80a0012d7b528005e13300000500b125..."} 
[2026-08-28 18:07:31] local.INFO: Packet analysis {"connection_id":164922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0485e"} 
[2026-08-28 18:07:31] local.INFO: Extracted packet for processing {"connection_id":164922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0485e"} 
[2026-08-28 18:07:31] local.INFO: GPS Element Parsed {"raw_longitude":763056768,"raw_latitude":98644736,"longitude_deg":76.3056768,"latitude_deg":9.8644736,"altitude":5,"angle":177,"satellites":37,"speed":0,"hex_longitude":"2d7b5280","hex_latitude":"05e13300","is_valid_coordinates":true} 
[2026-08-28 18:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707582720001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232467438206976,"note":"Value kept but may cause issues"} 
[2026-08-28 18:07:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886657621217742848,"note":"Value kept but may cause issues"} 
[2026-08-28 18:07:31] 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-28 18:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787920548000,"timestamp_ms":1787920548000,"timestamp_seconds":1787920548,"priority":1,"record_length":96,"hex_timestamp":"000001a0485e80a0"} 
[2026-08-28 18:07:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:07:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-28 18:07:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:07:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:07:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":164922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":164922,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 18:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":164922,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 18:07:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 18:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 18:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707582720001,"66":12863,"217":206,"85":15104,"24":0,"16":125232467438206976,"45":8886657621217742848},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 18:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 18:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 18:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707582720001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:07:31] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 18:07:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 18:07:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232467438206976,"km_value":125232467438206.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:07:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886657621217742848,"description":"Unknown IO ID 45"} 
[2026-08-28 18:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707582720001,"power":12863,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886657621217742848}} 
[2026-08-28 18:07:31] 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":709373,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:07:31] local.INFO: GPS data processed {"connection_id":164922,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:07:31] local.INFO: Acknowledgment sent {"connection_id":164922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:07:35] local.INFO: TCP Data received {"connection_id":166286,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:07:35] local.INFO: Processing buffer {"connection_id":166286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:07:35] local.INFO: IMEI packet received {"connection_id":166286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 18:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":166286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:07:40] local.INFO: TCP Data received {"connection_id":166286,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:07:40] local.INFO: Processing buffer {"connection_id":166286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:07:40] local.INFO: IMEI packet received {"connection_id":166286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 18:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":166286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:07:43] local.INFO: TCP Data received {"connection_id":163922,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:07:43] local.INFO: Processing buffer {"connection_id":163922,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:07:43] local.INFO: IMEI packet received {"connection_id":163922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 18:07:43] local.INFO: IMEI acknowledgment sent {"connection_id":163922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:07:43] local.INFO: TCP Data received {"connection_id":166286,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0485f0d40012d34c14006aa4840000b00e62a..."} 
[2026-08-28 18:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0485f0d40012d34c14006aa4840000b00e62a..."} 
[2026-08-28 18:07:43] local.INFO: Processing buffer {"connection_id":166286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0485f0d40012d34c14006aa4840000b00e62a..."} 
[2026-08-28 18:07:43] local.INFO: Packet analysis {"connection_id":166286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0485f"} 
[2026-08-28 18:07:43] local.INFO: Extracted packet for processing {"connection_id":166286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0485f"} 
[2026-08-28 18:07:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:07:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:07:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707592448001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:07:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:07:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:07:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:07:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787920584000,"timestamp_ms":1787920584000,"timestamp_seconds":1787920584,"priority":1,"record_length":96,"hex_timestamp":"000001a0485f0d40"} 
[2026-08-28 18:07:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:07: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-28 18:07:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 18: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-28 18:07:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:07:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:07:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:07:43] local.INFO: Teltonika packet parsed successfully {"connection_id":166286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:07:43] local.INFO: Passing IMEI to GPS processor {"connection_id":166286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:07:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":166286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:07:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:07:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:07:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:07:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707592448001,"66":25430,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:07:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:07:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:07:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707592448001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:07:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:07:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18: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-28 18:07:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:07:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707592448001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:07:43] local.INFO: DEBUG: GPS processor result {"connection_id":166286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:07:43] local.INFO: GPS data processed {"connection_id":166286,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:07:43] local.INFO: Acknowledgment sent {"connection_id":166286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:07:48] local.INFO: TCP Data received {"connection_id":163922,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:07:48] local.INFO: Processing buffer {"connection_id":163922,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:07:48] local.INFO: IMEI packet received {"connection_id":163922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":163922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:07:49] local.INFO: TCP Data received {"connection_id":163922,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0485dd8a8012d1820000721b260004e00ce2b..."} 
[2026-08-28 18:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0485dd8a8012d1820000721b260004e00ce2b..."} 
[2026-08-28 18:07:49] local.INFO: Processing buffer {"connection_id":163922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0485dd8a8012d1820000721b260004e00ce2b..."} 
[2026-08-28 18:07:49] local.INFO: Packet analysis {"connection_id":163922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0485d"} 
[2026-08-28 18:07:49] local.INFO: Extracted packet for processing {"connection_id":163922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0485d"} 
[2026-08-28 18:07:49] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648864,"longitude_deg":75.6555776,"latitude_deg":11.9648864,"altitude":78,"angle":206,"satellites":43,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b260","is_valid_coordinates":true} 
[2026-08-28 18:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:07:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707643904001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:07:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16002726022348800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:07:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795120640,"note":"Value kept but may cause issues"} 
[2026-08-28 18:07:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:07:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787920505000,"timestamp_ms":1787920505000,"timestamp_seconds":1787920505,"priority":1,"record_length":96,"hex_timestamp":"000001a0485dd8a8"} 
[2026-08-28 18:07:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:07:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-28 18:07:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:07:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:07:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:07:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:07:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:07:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:07:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:07:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:07:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:07:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:07:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707643904001,"66":12558,"105":206,"83":41984,"24":0,"16":16002726022348800,"45":1738389486795120640},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:07:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:07:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:07:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707643904001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:07:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:07:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:07:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16002726022348800,"km_value":16002726022348.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:07:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795120640,"description":"Unknown IO ID 45"} 
[2026-08-28 18:07:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707643904001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795120640}} 
[2026-08-28 18:07:49] local.INFO: DEBUG: GPS processor result {"connection_id":163922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709375,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:07:49] local.INFO: GPS data processed {"connection_id":163922,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:07:49] local.INFO: Acknowledgment sent {"connection_id":163922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:07:56] local.INFO: TCP Data received {"connection_id":166287,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166287,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:07:56] local.INFO: Processing buffer {"connection_id":166287,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:07:56] local.INFO: IMEI packet received {"connection_id":166287,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 18:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":166287,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:08:01] local.INFO: TCP Data received {"connection_id":166287,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166287,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:08:01] local.INFO: Processing buffer {"connection_id":166287,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:08:01] local.INFO: IMEI packet received {"connection_id":166287,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 18:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":166287,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:08:03] local.INFO: TCP Data received {"connection_id":164922,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0485e80a0012d7b528005e13300000500b125..."} 
[2026-08-28 18:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0485e80a0012d7b528005e13300000500b125..."} 
[2026-08-28 18:08:03] local.INFO: Processing buffer {"connection_id":164922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0485e80a0012d7b528005e13300000500b125..."} 
[2026-08-28 18:08:03] local.INFO: Packet analysis {"connection_id":164922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0485e"} 
[2026-08-28 18:08:03] local.INFO: Extracted packet for processing {"connection_id":164922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0485e"} 
[2026-08-28 18:08:03] local.INFO: GPS Element Parsed {"raw_longitude":763056768,"raw_latitude":98644736,"longitude_deg":76.3056768,"latitude_deg":9.8644736,"altitude":5,"angle":177,"satellites":37,"speed":0,"hex_longitude":"2d7b5280","hex_latitude":"05e13300","is_valid_coordinates":true} 
[2026-08-28 18:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707582720001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232467438206976,"note":"Value kept but may cause issues"} 
[2026-08-28 18:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886657621217742848,"note":"Value kept but may cause issues"} 
[2026-08-28 18:08:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787920548000,"timestamp_ms":1787920548000,"timestamp_seconds":1787920548,"priority":1,"record_length":96,"hex_timestamp":"000001a0485e80a0"} 
[2026-08-28 18:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:08:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-28 18:08:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:08:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":164922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":164922,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 18:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":164922,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 18:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 18:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 18:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707582720001,"66":12863,"217":206,"85":15104,"24":0,"16":125232467438206976,"45":8886657621217742848},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 18:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 18:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 18:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707582720001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:08:03] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 18:08:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 18:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232467438206976,"km_value":125232467438206.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886657621217742848,"description":"Unknown IO ID 45"} 
[2026-08-28 18:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707582720001,"power":12863,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886657621217742848}} 
[2026-08-28 18:08:03] 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":709376,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:08:03] local.INFO: GPS data processed {"connection_id":164922,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:08:03] local.INFO: Acknowledgment sent {"connection_id":164922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:08:04] local.INFO: TCP Data received {"connection_id":166287,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0485d7ed0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0485d7ed0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:08:04] local.INFO: Processing buffer {"connection_id":166287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0485d7ed0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:08:04] local.INFO: Packet analysis {"connection_id":166287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0485d"} 
[2026-08-28 18:08:04] local.INFO: Extracted packet for processing {"connection_id":166287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0485d"} 
[2026-08-28 18:08:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707566848001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:08:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787920482000,"timestamp_ms":1787920482000,"timestamp_seconds":1787920482,"priority":1,"record_length":96,"hex_timestamp":"000001a0485d7ed0"} 
[2026-08-28 18:08:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:08:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:08:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:08:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:08:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":166287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":166287,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":166287,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:08:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707566848001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707566848001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:08:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:08:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707566848001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":166287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709377,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:08:04] local.INFO: GPS data processed {"connection_id":166287,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:08:04] local.INFO: Acknowledgment sent {"connection_id":166287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:08:18] local.INFO: TCP Data received {"connection_id":166286,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0485f0d40012d34c14006aa4840000b00e62a..."} 
[2026-08-28 18:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0485f0d40012d34c14006aa4840000b00e62a..."} 
[2026-08-28 18:08:18] local.INFO: Processing buffer {"connection_id":166286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0485f0d40012d34c14006aa4840000b00e62a..."} 
[2026-08-28 18:08:18] local.INFO: Packet analysis {"connection_id":166286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0485f"} 
[2026-08-28 18:08:18] local.INFO: Extracted packet for processing {"connection_id":166286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0485f"} 
[2026-08-28 18:08:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:08:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:08:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707592448001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:08:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:08:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:08:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:08:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787920584000,"timestamp_ms":1787920584000,"timestamp_seconds":1787920584,"priority":1,"record_length":96,"hex_timestamp":"000001a0485f0d40"} 
[2026-08-28 18:08:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:08:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:08:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 18:08:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:08:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:08:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:08:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:08:18] local.INFO: Teltonika packet parsed successfully {"connection_id":166286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:08:18] local.INFO: Passing IMEI to GPS processor {"connection_id":166286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:08:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":166286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:08:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:08:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:08:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:08:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707592448001,"66":25430,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:08:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:08:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:08:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707592448001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:08:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:08:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:08: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-28 18:08:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:08:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707592448001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:08:18] local.INFO: DEBUG: GPS processor result {"connection_id":166286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:08:18] local.INFO: GPS data processed {"connection_id":166286,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:08:18] local.INFO: Acknowledgment sent {"connection_id":166286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:08:20] local.INFO: TCP Data received {"connection_id":163922,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0485e2ab0012d1820000721b260004e00ce2b..."} 
[2026-08-28 18:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0485e2ab0012d1820000721b260004e00ce2b..."} 
[2026-08-28 18:08:20] local.INFO: Processing buffer {"connection_id":163922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0485e2ab0012d1820000721b260004e00ce2b..."} 
[2026-08-28 18:08:20] local.INFO: Packet analysis {"connection_id":163922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0485e"} 
[2026-08-28 18:08:20] local.INFO: Extracted packet for processing {"connection_id":163922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0485e"} 
[2026-08-28 18:08:20] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648864,"longitude_deg":75.6555776,"latitude_deg":11.9648864,"altitude":78,"angle":206,"satellites":43,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b260","is_valid_coordinates":true} 
[2026-08-28 18:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:08:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707649280001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:08:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16002726022348800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:08:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795120640,"note":"Value kept but may cause issues"} 
[2026-08-28 18:08:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:08:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787920526000,"timestamp_ms":1787920526000,"timestamp_seconds":1787920526,"priority":1,"record_length":96,"hex_timestamp":"000001a0485e2ab0"} 
[2026-08-28 18:08:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:08:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-28 18:08:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-28 18:08:20] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-28 18:08:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-28 18:08:20] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249382315639550560,"note":"Value kept but may cause issues"} 
[2026-08-28 18:08:20] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2992635982,"note":"Value kept but may cause issues"} 
[2026-08-28 18:08:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-28 18:08:20] local.WARNING: Large IO value detected {"io_id":62,"raw_value":2147560728,"note":"Value kept but may cause issues"} 
[2026-08-28 18:08:20] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2432748906,"note":"Value kept but may cause issues"} 
[2026-08-28 18:08:20] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3664052224,"note":"Value kept but may cause issues"} 
[2026-08-28 18:08:20] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-28 18:08:20] local.WARNING: Large IO value detected {"io_id":85,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-28 18:08:20] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-28 18:08:20] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,218,160,134,45,178,78,42,10,66,52,41,226,1,240,227,72,33,4,113,205,62,32,96,239,49,2,56,7,106,85,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-28 18:08:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620719019037294592,"timestamp_seconds":5620719019037295.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 18:08:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:08:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:08:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:08:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:08:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:08:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:08:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:08:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:08:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707649280001,"66":12558,"105":206,"83":41984,"24":0,"16":16002726022348800,"45":1738389486795120640},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:08:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:08:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:08:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707649280001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:08:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:08:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:08:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16002726022348800,"km_value":16002726022348.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:08:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795120640,"description":"Unknown IO ID 45"} 
[2026-08-28 18:08:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707649280001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795120640}} 
[2026-08-28 18:08:20] local.INFO: DEBUG: GPS processor result {"connection_id":163922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709379,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:08:20] local.INFO: GPS data processed {"connection_id":163922,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:08:20] local.INFO: Acknowledgment sent {"connection_id":163922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:08:25] local.INFO: TCP Data received {"connection_id":166288,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166288,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:08:25] local.INFO: Processing buffer {"connection_id":166288,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:08:25] local.INFO: IMEI packet received {"connection_id":166288,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 18:08:25] local.INFO: IMEI acknowledgment sent {"connection_id":166288,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:08:30] local.INFO: TCP Data received {"connection_id":166289,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:08:30] local.INFO: Processing buffer {"connection_id":166289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:08:30] local.INFO: IMEI packet received {"connection_id":166289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 18:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":166289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:08:30] local.INFO: TCP Data received {"connection_id":166288,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166288,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:08:30] local.INFO: Processing buffer {"connection_id":166288,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:08:30] local.INFO: IMEI packet received {"connection_id":166288,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 18:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":166288,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:08:32] local.INFO: TCP Data received {"connection_id":166288,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0485e80a0012d7b528005e13300000500b125..."} 
[2026-08-28 18:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0485e80a0012d7b528005e13300000500b125..."} 
[2026-08-28 18:08:32] local.INFO: Processing buffer {"connection_id":166288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0485e80a0012d7b528005e13300000500b125..."} 
[2026-08-28 18:08:32] local.INFO: Packet analysis {"connection_id":166288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0485e"} 
[2026-08-28 18:08:32] local.INFO: Extracted packet for processing {"connection_id":166288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0485e"} 
[2026-08-28 18:08:32] local.INFO: GPS Element Parsed {"raw_longitude":763056768,"raw_latitude":98644736,"longitude_deg":76.3056768,"latitude_deg":9.8644736,"altitude":5,"angle":177,"satellites":37,"speed":0,"hex_longitude":"2d7b5280","hex_latitude":"05e13300","is_valid_coordinates":true} 
[2026-08-28 18:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707582720001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232467438206976,"note":"Value kept but may cause issues"} 
[2026-08-28 18:08:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886657621217742848,"note":"Value kept but may cause issues"} 
[2026-08-28 18:08:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787920548000,"timestamp_ms":1787920548000,"timestamp_seconds":1787920548,"priority":1,"record_length":96,"hex_timestamp":"000001a0485e80a0"} 
[2026-08-28 18:08:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:08:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-28 18:08:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:08:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:08:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":166288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":166288,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 18:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":166288,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 18:08:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 18:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 18:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707582720001,"66":12863,"217":206,"85":15104,"24":0,"16":125232467438206976,"45":8886657621217742848},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 18:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 18:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 18:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707582720001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:08:32] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 18:08:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 18:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232467438206976,"km_value":125232467438206.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886657621217742848,"description":"Unknown IO ID 45"} 
[2026-08-28 18:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707582720001,"power":12863,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886657621217742848}} 
[2026-08-28 18:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":166288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709380,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:08:32] local.INFO: GPS data processed {"connection_id":166288,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:08:32] local.INFO: Acknowledgment sent {"connection_id":166288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:08:35] local.INFO: TCP Data received {"connection_id":166289,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:08:35] local.INFO: Processing buffer {"connection_id":166289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:08:35] local.INFO: IMEI packet received {"connection_id":166289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 18:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":166289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:08:37] local.INFO: TCP Data received {"connection_id":166289,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0485f0d40012d34c14006aa4840000b00e62a..."} 
[2026-08-28 18:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0485f0d40012d34c14006aa4840000b00e62a..."} 
[2026-08-28 18:08:37] local.INFO: Processing buffer {"connection_id":166289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0485f0d40012d34c14006aa4840000b00e62a..."} 
[2026-08-28 18:08:37] local.INFO: Packet analysis {"connection_id":166289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0485f"} 
[2026-08-28 18:08:37] local.INFO: Extracted packet for processing {"connection_id":166289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0485f"} 
[2026-08-28 18:08:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18: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-28 18:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707592448001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787920584000,"timestamp_ms":1787920584000,"timestamp_seconds":1787920584,"priority":1,"record_length":96,"hex_timestamp":"000001a0485f0d40"} 
[2026-08-28 18: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-28 18:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 18:08:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18: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-28 18: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-28 18:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":166289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":166289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":166289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:08:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707592448001,"66":25430,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707592448001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:08:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:08:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:08: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-28 18:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707592448001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":166289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:08:37] local.INFO: GPS data processed {"connection_id":166289,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:08:37] local.INFO: Acknowledgment sent {"connection_id":166289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:08:43] local.INFO: TCP Data received {"connection_id":163649,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163649,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:08:43] local.INFO: Processing buffer {"connection_id":163649,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:08:43] local.INFO: IMEI packet received {"connection_id":163649,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 18:08:43] local.INFO: IMEI acknowledgment sent {"connection_id":163649,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:08:43] local.INFO: TCP Data received {"connection_id":166287,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0485d7ed0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0485d7ed0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:08:43] local.INFO: Processing buffer {"connection_id":166287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0485d7ed0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:08:43] local.INFO: Packet analysis {"connection_id":166287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0485d"} 
[2026-08-28 18:08:43] local.INFO: Extracted packet for processing {"connection_id":166287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0485d"} 
[2026-08-28 18:08:43] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18: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-28 18:08:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707566848001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:08:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:08:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:08:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:08:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787920482000,"timestamp_ms":1787920482000,"timestamp_seconds":1787920482,"priority":1,"record_length":96,"hex_timestamp":"000001a0485d7ed0"} 
[2026-08-28 18: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-28 18:08:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:08: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-28 18: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-28 18: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-28 18:08:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:08:43] local.INFO: Teltonika packet parsed successfully {"connection_id":166287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:08:43] local.INFO: Passing IMEI to GPS processor {"connection_id":166287,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:08:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":166287,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:08:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:08:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:08:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:08:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707566848001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:08:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:08:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:08:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707566848001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:08:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:08:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:08:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:08:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:08:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707566848001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:08:43] local.INFO: DEBUG: GPS processor result {"connection_id":166287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709382,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:08:43] local.INFO: GPS data processed {"connection_id":166287,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:08:43] local.INFO: Acknowledgment sent {"connection_id":166287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:08:48] local.INFO: TCP Data received {"connection_id":163649,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163649,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:08:48] local.INFO: Processing buffer {"connection_id":163649,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:08:48] local.INFO: IMEI packet received {"connection_id":163649,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:08:48] local.INFO: IMEI acknowledgment sent {"connection_id":163649,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:08:49] local.INFO: TCP Data received {"connection_id":163649,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0485e7cb8012d1820000721b260004e00ce2a..."} 
[2026-08-28 18:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0485e7cb8012d1820000721b260004e00ce2a..."} 
[2026-08-28 18:08:49] local.INFO: Processing buffer {"connection_id":163649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0485e7cb8012d1820000721b260004e00ce2a..."} 
[2026-08-28 18:08:49] local.INFO: Packet analysis {"connection_id":163649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0485e"} 
[2026-08-28 18:08:49] local.INFO: Extracted packet for processing {"connection_id":163649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0485e"} 
[2026-08-28 18:08:49] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648864,"longitude_deg":75.6555776,"latitude_deg":11.9648864,"altitude":78,"angle":206,"satellites":42,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b260","is_valid_coordinates":true} 
[2026-08-28 18: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-28 18:08:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707654656001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:08:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16002726022348800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:08:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795120640,"note":"Value kept but may cause issues"} 
[2026-08-28 18:08:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:08:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787920547000,"timestamp_ms":1787920547000,"timestamp_seconds":1787920547,"priority":1,"record_length":96,"hex_timestamp":"000001a0485e7cb8"} 
[2026-08-28 18: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-28 18:08:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-28 18:08:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-28 18:08:49] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-28 18:08:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-28 18:08:49] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249382315639550560,"note":"Value kept but may cause issues"} 
[2026-08-28 18:08:49] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2992635982,"note":"Value kept but may cause issues"} 
[2026-08-28 18:08:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-28 18:08:49] local.WARNING: Large IO value detected {"io_id":144,"raw_value":2281778456,"note":"Value kept but may cause issues"} 
[2026-08-28 18:08:49] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3664052224,"note":"Value kept but may cause issues"} 
[2026-08-28 18:08:49] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-28 18:08:49] local.WARNING: Large IO value detected {"io_id":85,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-28 18:08:49] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-28 18:08:49] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,105,83,24,241,157,16,218,160,216,45,178,78,43,10,66,134,42,52,1,240,123,227,72,33,4,113,205,144,32,96,40,239,49,2,56,7,106,85,206],"length":575,"final_offset":705,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-28 18:08:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620719019037294592,"timestamp_seconds":5620719019037295.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 18: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-28 18:08:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:08:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:08:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:08:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:08:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:08:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:08:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:08:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707654656001,"66":12580,"105":206,"83":41984,"24":0,"16":16002726022348800,"45":1738389486795120640},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:08:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:08:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:08:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707654656001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:08:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:08:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:08:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16002726022348800,"km_value":16002726022348.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:08:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795120640,"description":"Unknown IO ID 45"} 
[2026-08-28 18:08:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707654656001,"power":12580,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795120640}} 
[2026-08-28 18:08:49] 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":709383,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:08:49] local.INFO: GPS data processed {"connection_id":163649,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:08:49] local.INFO: Acknowledgment sent {"connection_id":163649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:08:56] local.INFO: TCP Data received {"connection_id":164923,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164923,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:08:56] local.INFO: Processing buffer {"connection_id":164923,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:08:56] local.INFO: IMEI packet received {"connection_id":164923,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 18:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":164923,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:09:01] local.INFO: TCP Data received {"connection_id":164923,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164923,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:09:01] local.INFO: Processing buffer {"connection_id":164923,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:09:01] local.INFO: IMEI packet received {"connection_id":164923,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 18:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":164923,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:09:03] local.INFO: TCP Data received {"connection_id":166288,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0485e80a0012d7b528005e13300000500b125..."} 
[2026-08-28 18:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0485e80a0012d7b528005e13300000500b125..."} 
[2026-08-28 18:09:03] local.INFO: Processing buffer {"connection_id":166288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0485e80a0012d7b528005e13300000500b125..."} 
[2026-08-28 18:09:03] local.INFO: Packet analysis {"connection_id":166288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0485e"} 
[2026-08-28 18:09:03] local.INFO: Extracted packet for processing {"connection_id":166288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0485e"} 
[2026-08-28 18:09:03] local.INFO: GPS Element Parsed {"raw_longitude":763056768,"raw_latitude":98644736,"longitude_deg":76.3056768,"latitude_deg":9.8644736,"altitude":5,"angle":177,"satellites":37,"speed":0,"hex_longitude":"2d7b5280","hex_latitude":"05e13300","is_valid_coordinates":true} 
[2026-08-28 18:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707582720001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232467438206976,"note":"Value kept but may cause issues"} 
[2026-08-28 18:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886657621217742848,"note":"Value kept but may cause issues"} 
[2026-08-28 18:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787920548000,"timestamp_ms":1787920548000,"timestamp_seconds":1787920548,"priority":1,"record_length":96,"hex_timestamp":"000001a0485e80a0"} 
[2026-08-28 18:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-28 18:09:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:09:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":166288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":166288,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 18:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":166288,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 18:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 18:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 18:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707582720001,"66":12863,"217":206,"85":15104,"24":0,"16":125232467438206976,"45":8886657621217742848},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 18:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 18:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 18:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707582720001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:09:03] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 18:09:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 18:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232467438206976,"km_value":125232467438206.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886657621217742848,"description":"Unknown IO ID 45"} 
[2026-08-28 18:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707582720001,"power":12863,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886657621217742848}} 
[2026-08-28 18:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":166288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709384,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:09:03] local.INFO: GPS data processed {"connection_id":166288,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:09:03] local.INFO: Acknowledgment sent {"connection_id":166288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:09:03] local.INFO: TCP Data received {"connection_id":164923,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0485d7ed0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0485d7ed0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:09:03] local.INFO: Processing buffer {"connection_id":164923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0485d7ed0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:09:03] local.INFO: Packet analysis {"connection_id":164923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0485d"} 
[2026-08-28 18:09:03] local.INFO: Extracted packet for processing {"connection_id":164923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0485d"} 
[2026-08-28 18:09:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707566848001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787920482000,"timestamp_ms":1787920482000,"timestamp_seconds":1787920482,"priority":1,"record_length":96,"hex_timestamp":"000001a0485d7ed0"} 
[2026-08-28 18:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:09:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:09:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":164923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":164923,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":164923,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707566848001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707566848001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:09:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:09:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707566848001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":164923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709385,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:09:03] local.INFO: GPS data processed {"connection_id":164923,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:09:03] local.INFO: Acknowledgment sent {"connection_id":164923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:09:09] local.INFO: TCP Data received {"connection_id":166289,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0485f0d40012d34c14006aa4840000b00e62a..."} 
[2026-08-28 18:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0485f0d40012d34c14006aa4840000b00e62a..."} 
[2026-08-28 18:09:09] local.INFO: Processing buffer {"connection_id":166289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0485f0d40012d34c14006aa4840000b00e62a..."} 
[2026-08-28 18:09:09] local.INFO: Packet analysis {"connection_id":166289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0485f"} 
[2026-08-28 18:09:09] local.INFO: Extracted packet for processing {"connection_id":166289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0485f"} 
[2026-08-28 18:09:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707592448001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:09:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:09:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:09:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:09:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787920584000,"timestamp_ms":1787920584000,"timestamp_seconds":1787920584,"priority":1,"record_length":96,"hex_timestamp":"000001a0485f0d40"} 
[2026-08-28 18:09:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:09:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 18:09:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:09:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:09:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:09:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:09:09] local.INFO: Teltonika packet parsed successfully {"connection_id":166289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:09:09] local.INFO: Passing IMEI to GPS processor {"connection_id":166289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:09:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":166289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:09:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:09:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:09:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:09:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707592448001,"66":25430,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:09:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:09:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:09:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707592448001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:09:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:09:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:09: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-28 18:09:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:09:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707592448001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":166289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:09:09] local.INFO: GPS data processed {"connection_id":166289,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:09:09] local.INFO: Acknowledgment sent {"connection_id":166289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:09:20] local.INFO: TCP Data received {"connection_id":163649,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0485ecec0012d1820000721b260004e00ce2a..."} 
[2026-08-28 18:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0485ecec0012d1820000721b260004e00ce2a..."} 
[2026-08-28 18:09:20] local.INFO: Processing buffer {"connection_id":163649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0485ecec0012d1820000721b260004e00ce2a..."} 
[2026-08-28 18:09:20] local.INFO: Packet analysis {"connection_id":163649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0485e"} 
[2026-08-28 18:09:20] local.INFO: Extracted packet for processing {"connection_id":163649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0485e"} 
[2026-08-28 18:09:20] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648864,"longitude_deg":75.6555776,"latitude_deg":11.9648864,"altitude":78,"angle":206,"satellites":42,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b260","is_valid_coordinates":true} 
[2026-08-28 18:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:09:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707660032001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:09:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16002726022348800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:09:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795120640,"note":"Value kept but may cause issues"} 
[2026-08-28 18:09:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:09:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787920568000,"timestamp_ms":1787920568000,"timestamp_seconds":1787920568,"priority":1,"record_length":96,"hex_timestamp":"000001a0485ecec0"} 
[2026-08-28 18:09:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:09:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-08-28 18:09:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:09:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:09:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:09:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:09:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:09:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:09:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:09:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:09:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:09:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:09:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707660032001,"66":12526,"105":206,"83":41984,"24":0,"16":16002726022348800,"45":1738389486795120640},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:09:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:09:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:09:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707660032001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:09:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:09:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:09:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16002726022348800,"km_value":16002726022348.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:09:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795120640,"description":"Unknown IO ID 45"} 
[2026-08-28 18:09:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707660032001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795120640}} 
[2026-08-28 18:09:20] 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":709387,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:09:20] local.INFO: GPS data processed {"connection_id":163649,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:09:20] local.INFO: Acknowledgment sent {"connection_id":163649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:09:25] local.INFO: TCP Data received {"connection_id":163923,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163923,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:09:25] local.INFO: Processing buffer {"connection_id":163923,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:09:25] local.INFO: IMEI packet received {"connection_id":163923,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 18:09:25] local.INFO: IMEI acknowledgment sent {"connection_id":163923,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:09:30] local.INFO: TCP Data received {"connection_id":164924,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:09:30] local.INFO: Processing buffer {"connection_id":164924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:09:30] local.INFO: IMEI packet received {"connection_id":164924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 18:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":164924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:09:30] local.INFO: TCP Data received {"connection_id":163923,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163923,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:09:30] local.INFO: Processing buffer {"connection_id":163923,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:09:30] local.INFO: IMEI packet received {"connection_id":163923,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 18:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":163923,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:09:31] local.INFO: TCP Data received {"connection_id":163923,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0485e80a0012d7b528005e13300000500b125..."} 
[2026-08-28 18:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0485e80a0012d7b528005e13300000500b125..."} 
[2026-08-28 18:09:31] local.INFO: Processing buffer {"connection_id":163923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0485e80a0012d7b528005e13300000500b125..."} 
[2026-08-28 18:09:31] local.INFO: Packet analysis {"connection_id":163923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0485e"} 
[2026-08-28 18:09:31] local.INFO: Extracted packet for processing {"connection_id":163923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0485e"} 
[2026-08-28 18:09:31] local.INFO: GPS Element Parsed {"raw_longitude":763056768,"raw_latitude":98644736,"longitude_deg":76.3056768,"latitude_deg":9.8644736,"altitude":5,"angle":177,"satellites":37,"speed":0,"hex_longitude":"2d7b5280","hex_latitude":"05e13300","is_valid_coordinates":true} 
[2026-08-28 18:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:09:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707582720001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:09:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232467438206976,"note":"Value kept but may cause issues"} 
[2026-08-28 18:09:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886657621217742848,"note":"Value kept but may cause issues"} 
[2026-08-28 18:09:31] 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-28 18:09:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787920548000,"timestamp_ms":1787920548000,"timestamp_seconds":1787920548,"priority":1,"record_length":96,"hex_timestamp":"000001a0485e80a0"} 
[2026-08-28 18:09:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:09:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-28 18:09:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:09:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:09:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:09:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:09:31] local.INFO: Teltonika packet parsed successfully {"connection_id":163923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:09:31] local.INFO: Passing IMEI to GPS processor {"connection_id":163923,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 18:09:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":163923,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 18:09:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:09:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 18:09:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 18:09:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707582720001,"66":12863,"217":206,"85":15104,"24":0,"16":125232467438206976,"45":8886657621217742848},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 18:09:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 18:09:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 18:09:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707582720001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:09:31] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 18:09:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 18:09:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232467438206976,"km_value":125232467438206.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:09:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886657621217742848,"description":"Unknown IO ID 45"} 
[2026-08-28 18:09:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707582720001,"power":12863,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886657621217742848}} 
[2026-08-28 18:09:31] local.INFO: DEBUG: GPS processor result {"connection_id":163923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709388,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:09:31] local.INFO: GPS data processed {"connection_id":163923,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:09:31] local.INFO: Acknowledgment sent {"connection_id":163923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:09:35] local.INFO: TCP Data received {"connection_id":164924,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:09:35] local.INFO: Processing buffer {"connection_id":164924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:09:35] local.INFO: IMEI packet received {"connection_id":164924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 18:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":164924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:09:38] local.INFO: TCP Data received {"connection_id":164923,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0485d7ed0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0485d7ed0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:09:38] local.INFO: Processing buffer {"connection_id":164923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0485d7ed0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:09:38] local.INFO: Packet analysis {"connection_id":164923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0485d"} 
[2026-08-28 18:09:38] local.INFO: Extracted packet for processing {"connection_id":164923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0485d"} 
[2026-08-28 18:09:38] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707566848001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787920482000,"timestamp_ms":1787920482000,"timestamp_seconds":1787920482,"priority":1,"record_length":96,"hex_timestamp":"000001a0485d7ed0"} 
[2026-08-28 18:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:09:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:09:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164923,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164923,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707566848001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707566848001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:09:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:09:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707566848001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":164923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709389,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:09:38] local.INFO: GPS data processed {"connection_id":164923,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:09:38] local.INFO: Acknowledgment sent {"connection_id":164923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:09:38] local.INFO: TCP Data received {"connection_id":164924,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0485f0d40012d34c14006aa4840000b00e62a..."} 
[2026-08-28 18:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0485f0d40012d34c14006aa4840000b00e62a..."} 
[2026-08-28 18:09:38] local.INFO: Processing buffer {"connection_id":164924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0485f0d40012d34c14006aa4840000b00e62a..."} 
[2026-08-28 18:09:38] local.INFO: Packet analysis {"connection_id":164924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0485f"} 
[2026-08-28 18:09:38] local.INFO: Extracted packet for processing {"connection_id":164924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0485f"} 
[2026-08-28 18:09:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707592448001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787920584000,"timestamp_ms":1787920584000,"timestamp_seconds":1787920584,"priority":1,"record_length":96,"hex_timestamp":"000001a0485f0d40"} 
[2026-08-28 18:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 18:09:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:09:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707592448001,"66":25430,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707592448001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:09:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:09:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:09: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-28 18:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707592448001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:09:38] 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":709390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:09:38] local.INFO: GPS data processed {"connection_id":164924,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:09:38] local.INFO: Acknowledgment sent {"connection_id":164924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:09:48] local.INFO: TCP Data received {"connection_id":164925,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164925,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:09:48] local.INFO: Processing buffer {"connection_id":164925,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:09:48] local.INFO: IMEI packet received {"connection_id":164925,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 18:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":164925,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:09:53] local.INFO: TCP Data received {"connection_id":164925,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164925,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:09:53] local.INFO: Processing buffer {"connection_id":164925,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:09:53] local.INFO: IMEI packet received {"connection_id":164925,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":164925,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:09:54] local.INFO: TCP Data received {"connection_id":164925,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0485f20c8012d1820000721b260004e00ce2a..."} 
[2026-08-28 18:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0485f20c8012d1820000721b260004e00ce2a..."} 
[2026-08-28 18:09:54] local.INFO: Processing buffer {"connection_id":164925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0485f20c8012d1820000721b260004e00ce2a..."} 
[2026-08-28 18:09:54] local.INFO: Packet analysis {"connection_id":164925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0485f"} 
[2026-08-28 18:09:54] local.INFO: Extracted packet for processing {"connection_id":164925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0485f"} 
[2026-08-28 18:09:54] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648864,"longitude_deg":75.6555776,"latitude_deg":11.9648864,"altitude":78,"angle":206,"satellites":42,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b260","is_valid_coordinates":true} 
[2026-08-28 18:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:09:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707665408001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:09:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16002726022348800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:09:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795120640,"note":"Value kept but may cause issues"} 
[2026-08-28 18:09:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:09:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787920589000,"timestamp_ms":1787920589000,"timestamp_seconds":1787920589,"priority":1,"record_length":96,"hex_timestamp":"000001a0485f20c8"} 
[2026-08-28 18:09:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:09:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-28 18:09:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:09:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:09:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:09:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:09:54] local.INFO: Teltonika packet parsed successfully {"connection_id":164925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:09:54] local.INFO: Passing IMEI to GPS processor {"connection_id":164925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:09:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":164925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:09:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:09:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:09:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:09:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707665408001,"66":12558,"105":206,"83":41984,"24":0,"16":16002726022348800,"45":1738389486795120640},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:09:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:09:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:09:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707665408001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:09:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:09:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:09:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16002726022348800,"km_value":16002726022348.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:09:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795120640,"description":"Unknown IO ID 45"} 
[2026-08-28 18:09:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707665408001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795120640}} 
[2026-08-28 18:09:54] 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":709391,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:09:54] local.INFO: GPS data processed {"connection_id":164925,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:09:54] local.INFO: Acknowledgment sent {"connection_id":164925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:09:55] local.INFO: TCP Data received {"connection_id":164925,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0485f72d0012d1820000721b260004e00ce28..."} 
[2026-08-28 18:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0485f72d0012d1820000721b260004e00ce28..."} 
[2026-08-28 18:09:55] local.INFO: Processing buffer {"connection_id":164925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0485f72d0012d1820000721b260004e00ce28..."} 
[2026-08-28 18:09:55] local.INFO: Packet analysis {"connection_id":164925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0485f"} 
[2026-08-28 18:09:55] local.INFO: Extracted packet for processing {"connection_id":164925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0485f"} 
[2026-08-28 18:09:55] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648864,"longitude_deg":75.6555776,"latitude_deg":11.9648864,"altitude":78,"angle":206,"satellites":40,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b260","is_valid_coordinates":true} 
[2026-08-28 18:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:09:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707670784001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:09:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16002726022348800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:09:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795120640,"note":"Value kept but may cause issues"} 
[2026-08-28 18:09:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:09:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787920610000,"timestamp_ms":1787920610000,"timestamp_seconds":1787920610,"priority":1,"record_length":96,"hex_timestamp":"000001a0485f72d0"} 
[2026-08-28 18:09:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:09:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-28 18:09:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-28 18:09:55] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-28 18:09:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-28 18:09:55] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-28 18:09:55] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249382315639550560,"note":"Value kept but may cause issues"} 
[2026-08-28 18:09:55] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2992635982,"note":"Value kept but may cause issues"} 
[2026-08-28 18:09:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-28 18:09:55] local.WARNING: Large IO value detected {"io_id":134,"raw_value":2684431640,"note":"Value kept but may cause issues"} 
[2026-08-28 18:09:55] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3664052224,"note":"Value kept but may cause issues"} 
[2026-08-28 18:09:55] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-28 18:09:55] local.WARNING: Large IO value detected {"io_id":84,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-28 18:09:55] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,218,160,206,45,178,78,42,10,66,124,1,240,14,227,72,33,4,113,205,134,32,96,239,49,2,56,7,106,84],"length":575,"final_offset":705,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-28 18:09:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620719014742327296,"timestamp_seconds":5620719014742327.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 18:09:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:09:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:09:55] local.INFO: Teltonika packet parsed successfully {"connection_id":164925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:09:55] local.INFO: Passing IMEI to GPS processor {"connection_id":164925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:09:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":164925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:09:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:09:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:09:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:09:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707670784001,"66":12591,"105":206,"83":41984,"24":0,"16":16002726022348800,"45":1738389486795120640},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:09:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:09:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:09:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707670784001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:09:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:09:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:09:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16002726022348800,"km_value":16002726022348.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:09:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795120640,"description":"Unknown IO ID 45"} 
[2026-08-28 18:09:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707670784001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795120640}} 
[2026-08-28 18:09:55] 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":709392,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:09:55] local.INFO: GPS data processed {"connection_id":164925,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:09:55] local.INFO: Acknowledgment sent {"connection_id":164925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:09:56] local.INFO: TCP Data received {"connection_id":164926,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164926,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:09:56] local.INFO: Processing buffer {"connection_id":164926,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:09:56] local.INFO: IMEI packet received {"connection_id":164926,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 18:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":164926,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:10:01] local.INFO: TCP Data received {"connection_id":164926,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164926,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:10:01] local.INFO: Processing buffer {"connection_id":164926,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:10:01] local.INFO: IMEI packet received {"connection_id":164926,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 18:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":164926,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:10:02] local.INFO: TCP Data received {"connection_id":163923,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0485e80a0012d7b528005e13300000500b125..."} 
[2026-08-28 18:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0485e80a0012d7b528005e13300000500b125..."} 
[2026-08-28 18:10:02] local.INFO: Processing buffer {"connection_id":163923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0485e80a0012d7b528005e13300000500b125..."} 
[2026-08-28 18:10:02] local.INFO: Packet analysis {"connection_id":163923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0485e"} 
[2026-08-28 18:10:02] local.INFO: Extracted packet for processing {"connection_id":163923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0485e"} 
[2026-08-28 18:10:02] local.INFO: GPS Element Parsed {"raw_longitude":763056768,"raw_latitude":98644736,"longitude_deg":76.3056768,"latitude_deg":9.8644736,"altitude":5,"angle":177,"satellites":37,"speed":0,"hex_longitude":"2d7b5280","hex_latitude":"05e13300","is_valid_coordinates":true} 
[2026-08-28 18:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707582720001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232467438206976,"note":"Value kept but may cause issues"} 
[2026-08-28 18:10:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886657621217742848,"note":"Value kept but may cause issues"} 
[2026-08-28 18:10:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787920548000,"timestamp_ms":1787920548000,"timestamp_seconds":1787920548,"priority":1,"record_length":96,"hex_timestamp":"000001a0485e80a0"} 
[2026-08-28 18:10:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:10:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-28 18:10:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:10:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:10:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163923,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 18:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163923,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 18:10:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 18:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 18:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707582720001,"66":12863,"217":206,"85":15104,"24":0,"16":125232467438206976,"45":8886657621217742848},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 18:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 18:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 18:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707582720001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:10:02] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 18:10:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 18:10:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232467438206976,"km_value":125232467438206.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:10:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886657621217742848,"description":"Unknown IO ID 45"} 
[2026-08-28 18:10:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707582720001,"power":12863,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886657621217742848}} 
[2026-08-28 18:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":163923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709393,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:10:02] local.INFO: GPS data processed {"connection_id":163923,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:10:02] local.INFO: Acknowledgment sent {"connection_id":163923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:10:03] local.INFO: TCP Data received {"connection_id":164926,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0486212b0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0486212b0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:10:03] local.INFO: Processing buffer {"connection_id":164926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0486212b0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:10:03] local.INFO: Packet analysis {"connection_id":164926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04862"} 
[2026-08-28 18:10:03] local.INFO: Extracted packet for processing {"connection_id":164926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04862"} 
[2026-08-28 18:10:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707643392001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:10:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787920782000,"timestamp_ms":1787920782000,"timestamp_seconds":1787920782,"priority":1,"record_length":96,"hex_timestamp":"000001a0486212b0"} 
[2026-08-28 18:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:10:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:10:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:10:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":164926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":164926,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":164926,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707643392001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707643392001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:10:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:10:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707643392001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":164926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709394,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:10:03] local.INFO: GPS data processed {"connection_id":164926,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:10:03] local.INFO: Acknowledgment sent {"connection_id":164926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:10:11] local.INFO: TCP Data received {"connection_id":164924,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0485f0d40012d34c14006aa4840000b00e62a..."} 
[2026-08-28 18:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0485f0d40012d34c14006aa4840000b00e62a..."} 
[2026-08-28 18:10:11] local.INFO: Processing buffer {"connection_id":164924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0485f0d40012d34c14006aa4840000b00e62a..."} 
[2026-08-28 18:10:11] local.INFO: Packet analysis {"connection_id":164924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0485f"} 
[2026-08-28 18:10:11] local.INFO: Extracted packet for processing {"connection_id":164924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0485f"} 
[2026-08-28 18:10:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707592448001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:10:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:10:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787920584000,"timestamp_ms":1787920584000,"timestamp_seconds":1787920584,"priority":1,"record_length":96,"hex_timestamp":"000001a0485f0d40"} 
[2026-08-28 18:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:10: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-28 18:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 18:10:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:10:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":164924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":164924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":164924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:10:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707592448001,"66":25430,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707592448001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:10:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:10:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:10: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-28 18:10:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707592448001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:10:11] 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":709395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:10:11] local.INFO: GPS data processed {"connection_id":164924,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:10:11] local.INFO: Acknowledgment sent {"connection_id":164924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:10:25] local.INFO: TCP Data received {"connection_id":163650,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163650,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:10:25] local.INFO: Processing buffer {"connection_id":163650,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:10:25] local.INFO: IMEI packet received {"connection_id":163650,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 18:10:25] local.INFO: IMEI acknowledgment sent {"connection_id":163650,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:10:26] local.INFO: TCP Data received {"connection_id":164925,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0485fc4d8012d1820000721b260004e00ce2a..."} 
[2026-08-28 18:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0485fc4d8012d1820000721b260004e00ce2a..."} 
[2026-08-28 18:10:26] local.INFO: Processing buffer {"connection_id":164925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0485fc4d8012d1820000721b260004e00ce2a..."} 
[2026-08-28 18:10:26] local.INFO: Packet analysis {"connection_id":164925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0485f"} 
[2026-08-28 18:10:26] local.INFO: Extracted packet for processing {"connection_id":164925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0485f"} 
[2026-08-28 18:10:26] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648864,"longitude_deg":75.6555776,"latitude_deg":11.9648864,"altitude":78,"angle":206,"satellites":42,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b260","is_valid_coordinates":true} 
[2026-08-28 18:10:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:10:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707676160001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:10:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16002726022348800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:10:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795120640,"note":"Value kept but may cause issues"} 
[2026-08-28 18:10:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:10:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787920631000,"timestamp_ms":1787920631000,"timestamp_seconds":1787920631,"priority":1,"record_length":96,"hex_timestamp":"000001a0485fc4d8"} 
[2026-08-28 18:10:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:10:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:10:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-28 18:10:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:10:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:10:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:10:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:10:26] local.INFO: Teltonika packet parsed successfully {"connection_id":164925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:10:26] local.INFO: Passing IMEI to GPS processor {"connection_id":164925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:10:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":164925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:10:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:10:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:10:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:10:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707676160001,"66":12591,"105":206,"83":41984,"24":0,"16":16002726022348800,"45":1738389486795120640},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:10:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:10:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:10:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707676160001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:10:26] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:10:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:10:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16002726022348800,"km_value":16002726022348.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:10:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795120640,"description":"Unknown IO ID 45"} 
[2026-08-28 18:10:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707676160001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795120640}} 
[2026-08-28 18:10:26] 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":709396,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:10:26] local.INFO: GPS data processed {"connection_id":164925,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:10:26] local.INFO: Acknowledgment sent {"connection_id":164925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:10:30] local.INFO: TCP Data received {"connection_id":163650,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163650,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:10:30] local.INFO: Processing buffer {"connection_id":163650,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:10:30] local.INFO: IMEI packet received {"connection_id":163650,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 18:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":163650,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:10:31] local.INFO: TCP Data received {"connection_id":163650,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0485e80a0012d7b528005e13300000500b125..."} 
[2026-08-28 18:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0485e80a0012d7b528005e13300000500b125..."} 
[2026-08-28 18:10:31] local.INFO: Processing buffer {"connection_id":163650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0485e80a0012d7b528005e13300000500b125..."} 
[2026-08-28 18:10:31] local.INFO: Packet analysis {"connection_id":163650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0485e"} 
[2026-08-28 18:10:31] local.INFO: Extracted packet for processing {"connection_id":163650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0485e"} 
[2026-08-28 18:10:31] local.INFO: GPS Element Parsed {"raw_longitude":763056768,"raw_latitude":98644736,"longitude_deg":76.3056768,"latitude_deg":9.8644736,"altitude":5,"angle":177,"satellites":37,"speed":0,"hex_longitude":"2d7b5280","hex_latitude":"05e13300","is_valid_coordinates":true} 
[2026-08-28 18:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:10:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707582720001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:10:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232467438206976,"note":"Value kept but may cause issues"} 
[2026-08-28 18:10:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886657621217742848,"note":"Value kept but may cause issues"} 
[2026-08-28 18:10:31] 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-28 18:10:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787920548000,"timestamp_ms":1787920548000,"timestamp_seconds":1787920548,"priority":1,"record_length":96,"hex_timestamp":"000001a0485e80a0"} 
[2026-08-28 18:10:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:10:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-28 18:10:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:10:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:10:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:10:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:10:31] local.INFO: Teltonika packet parsed successfully {"connection_id":163650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:10:31] local.INFO: Passing IMEI to GPS processor {"connection_id":163650,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 18:10:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":163650,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 18:10:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:10:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 18:10:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 18:10:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707582720001,"66":12863,"217":206,"85":15104,"24":0,"16":125232467438206976,"45":8886657621217742848},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 18:10:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 18:10:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 18:10:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707582720001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:10:31] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 18:10:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 18:10:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232467438206976,"km_value":125232467438206.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:10:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886657621217742848,"description":"Unknown IO ID 45"} 
[2026-08-28 18:10:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707582720001,"power":12863,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886657621217742848}} 
[2026-08-28 18:10:31] 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":709397,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:10:31] local.INFO: GPS data processed {"connection_id":163650,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:10:31] local.INFO: Acknowledgment sent {"connection_id":163650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:10:35] local.INFO: TCP Data received {"connection_id":164927,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:10:35] local.INFO: Processing buffer {"connection_id":164927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:10:35] local.INFO: IMEI packet received {"connection_id":164927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 18:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":164927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:10:36] local.INFO: TCP Data received {"connection_id":164926,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0486212b0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0486212b0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:10:36] local.INFO: Processing buffer {"connection_id":164926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0486212b0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:10:36] local.INFO: Packet analysis {"connection_id":164926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04862"} 
[2026-08-28 18:10:36] local.INFO: Extracted packet for processing {"connection_id":164926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04862"} 
[2026-08-28 18:10:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18: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-28 18:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707643392001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787920782000,"timestamp_ms":1787920782000,"timestamp_seconds":1787920782,"priority":1,"record_length":96,"hex_timestamp":"000001a0486212b0"} 
[2026-08-28 18: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-28 18:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:10:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18: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-28 18: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-28 18:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":164926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":164926,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":164926,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707643392001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707643392001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:10:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:10:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707643392001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":164926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709398,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:10:36] local.INFO: GPS data processed {"connection_id":164926,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:10:36] local.INFO: Acknowledgment sent {"connection_id":164926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:10:40] local.INFO: TCP Data received {"connection_id":164927,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:10:40] local.INFO: Processing buffer {"connection_id":164927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:10:40] local.INFO: IMEI packet received {"connection_id":164927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 18:10:40] local.INFO: IMEI acknowledgment sent {"connection_id":164927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:10:43] local.INFO: TCP Data received {"connection_id":163924,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163924,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:10:43] local.INFO: Processing buffer {"connection_id":163924,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:10:43] local.INFO: IMEI packet received {"connection_id":163924,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 18:10:43] local.INFO: IMEI acknowledgment sent {"connection_id":163924,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:10:43] local.INFO: TCP Data received {"connection_id":164927,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0485f0d40012d34c14006aa4840000b00e62a..."} 
[2026-08-28 18:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0485f0d40012d34c14006aa4840000b00e62a..."} 
[2026-08-28 18:10:43] local.INFO: Processing buffer {"connection_id":164927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0485f0d40012d34c14006aa4840000b00e62a..."} 
[2026-08-28 18:10:43] local.INFO: Packet analysis {"connection_id":164927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0485f"} 
[2026-08-28 18:10:43] local.INFO: Extracted packet for processing {"connection_id":164927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0485f"} 
[2026-08-28 18:10:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:10:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707592448001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:10:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:10:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:10:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:10:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787920584000,"timestamp_ms":1787920584000,"timestamp_seconds":1787920584,"priority":1,"record_length":96,"hex_timestamp":"000001a0485f0d40"} 
[2026-08-28 18:10:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:10: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-28 18:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 18:10: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-28 18:10:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:10:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:10:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:10:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:10:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:10:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:10:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:10:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:10:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:10:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707592448001,"66":25430,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:10:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:10:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:10:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707592448001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:10:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:10:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18: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-28 18:10:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:10:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707592448001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:10:43] 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":709399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:10:43] local.INFO: GPS data processed {"connection_id":164927,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:10:43] local.INFO: Acknowledgment sent {"connection_id":164927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:10:46] local.INFO: TCP Data received {"connection_id":164927,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0485f0d40012d34c14006aa4840000b00e62a..."} 
[2026-08-28 18:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0485f0d40012d34c14006aa4840000b00e62a..."} 
[2026-08-28 18:10:46] local.INFO: Processing buffer {"connection_id":164927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0485f0d40012d34c14006aa4840000b00e62a..."} 
[2026-08-28 18:10:46] local.INFO: Packet analysis {"connection_id":164927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0485f"} 
[2026-08-28 18:10:46] local.INFO: Extracted packet for processing {"connection_id":164927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0485f"} 
[2026-08-28 18:10:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18: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-28 18:10:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707592448001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:10:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:10:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:10:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:10:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787920584000,"timestamp_ms":1787920584000,"timestamp_seconds":1787920584,"priority":1,"record_length":96,"hex_timestamp":"000001a0485f0d40"} 
[2026-08-28 18: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-28 18:10: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-28 18: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 18:10: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-28 18: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-28 18: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-28 18:10:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:10:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:10:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:10:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:10:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:10:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:10:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:10:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707592448001,"66":25430,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:10:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:10:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:10:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707592448001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:10:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:10:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:10: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-28 18:10:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:10:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707592448001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:10:46] 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":709400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:10:46] local.INFO: GPS data processed {"connection_id":164927,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:10:46] local.INFO: Acknowledgment sent {"connection_id":164927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:10:48] local.INFO: TCP Data received {"connection_id":163924,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163924,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:10:48] local.INFO: Processing buffer {"connection_id":163924,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:10:48] local.INFO: IMEI packet received {"connection_id":163924,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":163924,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:10:49] local.INFO: TCP Data received {"connection_id":163924,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0486016e0012d1820000721b260004e00ce2b..."} 
[2026-08-28 18:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0486016e0012d1820000721b260004e00ce2b..."} 
[2026-08-28 18:10:49] local.INFO: Processing buffer {"connection_id":163924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0486016e0012d1820000721b260004e00ce2b..."} 
[2026-08-28 18:10:49] local.INFO: Packet analysis {"connection_id":163924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04860"} 
[2026-08-28 18:10:49] local.INFO: Extracted packet for processing {"connection_id":163924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04860"} 
[2026-08-28 18:10:49] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648864,"longitude_deg":75.6555776,"latitude_deg":11.9648864,"altitude":78,"angle":206,"satellites":43,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b260","is_valid_coordinates":true} 
[2026-08-28 18: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-28 18:10:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707681536001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:10:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16002726022348800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:10:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795120640,"note":"Value kept but may cause issues"} 
[2026-08-28 18:10:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:10:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787920652000,"timestamp_ms":1787920652000,"timestamp_seconds":1787920652,"priority":1,"record_length":96,"hex_timestamp":"000001a0486016e0"} 
[2026-08-28 18: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-28 18:10:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-28 18:10:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18: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-28 18: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-28 18:10:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:10:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:10:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:10:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:10:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:10:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:10:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:10:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707681536001,"66":12558,"105":206,"83":41984,"24":0,"16":16002726022348800,"45":1738389486795120640},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:10:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:10:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:10:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707681536001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:10:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:10:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:10:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16002726022348800,"km_value":16002726022348.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:10:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795120640,"description":"Unknown IO ID 45"} 
[2026-08-28 18:10:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707681536001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795120640}} 
[2026-08-28 18:10:49] local.INFO: DEBUG: GPS processor result {"connection_id":163924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709401,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:10:49] local.INFO: GPS data processed {"connection_id":163924,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:10:49] local.INFO: Acknowledgment sent {"connection_id":163924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:11:02] local.INFO: TCP Data received {"connection_id":163650,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0486308c8012d7b528005e13300000400b129..."} 
[2026-08-28 18:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0486308c8012d7b528005e13300000400b129..."} 
[2026-08-28 18:11:02] local.INFO: Processing buffer {"connection_id":163650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0486308c8012d7b528005e13300000400b129..."} 
[2026-08-28 18:11:02] local.INFO: Packet analysis {"connection_id":163650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04863"} 
[2026-08-28 18:11:02] local.INFO: Extracted packet for processing {"connection_id":163650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04863"} 
[2026-08-28 18:11:02] local.INFO: GPS Element Parsed {"raw_longitude":763056768,"raw_latitude":98644736,"longitude_deg":76.3056768,"latitude_deg":9.8644736,"altitude":4,"angle":177,"satellites":41,"speed":0,"hex_longitude":"2d7b5280","hex_latitude":"05e13300","is_valid_coordinates":true} 
[2026-08-28 18:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707660288001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232467438206976,"note":"Value kept but may cause issues"} 
[2026-08-28 18:11:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886305777496817664,"note":"Value kept but may cause issues"} 
[2026-08-28 18:11:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787920845000,"timestamp_ms":1787920845000,"timestamp_seconds":1787920845,"priority":1,"record_length":96,"hex_timestamp":"000001a0486308c8"} 
[2026-08-28 18:11:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:11:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-28 18:11:02] 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-28 18:11:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:11:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163650,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 18:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163650,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 18:11:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 18:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 18:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707660288001,"66":12809,"217":206,"85":15104,"24":0,"16":125232467438206976,"45":8886305777496817664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 18:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 18:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 18:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707660288001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:11:02] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 18:11:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 18:11:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232467438206976,"km_value":125232467438206.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:11:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886305777496817664,"description":"Unknown IO ID 45"} 
[2026-08-28 18:11:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707660288001,"power":12809,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886305777496817664}} 
[2026-08-28 18:11:02] 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":709402,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:11:02] local.INFO: GPS data processed {"connection_id":163650,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:11:02] local.INFO: Acknowledgment sent {"connection_id":163650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:11:10] local.INFO: TCP Data received {"connection_id":163651,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163651,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:11:10] local.INFO: Processing buffer {"connection_id":163651,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:11:10] local.INFO: IMEI packet received {"connection_id":163651,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 18:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":163651,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:11:11] local.INFO: TCP Data received {"connection_id":163651,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163651,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:11:11] local.INFO: Processing buffer {"connection_id":163651,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:11:11] local.INFO: IMEI packet received {"connection_id":163651,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 18:11:11] local.INFO: IMEI acknowledgment sent {"connection_id":163651,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:11:13] local.INFO: TCP Data received {"connection_id":163651,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0486212b0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0486212b0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:11:13] local.INFO: Processing buffer {"connection_id":163651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0486212b0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:11:13] local.INFO: Packet analysis {"connection_id":163651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04862"} 
[2026-08-28 18:11:13] local.INFO: Extracted packet for processing {"connection_id":163651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04862"} 
[2026-08-28 18:11:13] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 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-28 18:11:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707643392001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:11:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:11:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:11:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:11:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787920782000,"timestamp_ms":1787920782000,"timestamp_seconds":1787920782,"priority":1,"record_length":96,"hex_timestamp":"000001a0486212b0"} 
[2026-08-28 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-28 18:11:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:11: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-28 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-28 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-28 18:11:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:11:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:11:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163651,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:11:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163651,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:11:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:11:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:11:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:11:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707643392001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:11:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:11:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:11:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707643392001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:11:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:11:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:11:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:11:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:11:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707643392001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:11:14] local.INFO: DEBUG: GPS processor result {"connection_id":163651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709403,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:11:14] local.INFO: GPS data processed {"connection_id":163651,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:11:14] local.INFO: Acknowledgment sent {"connection_id":163651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:11:15] local.INFO: TCP Data received {"connection_id":163651,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0486212b0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0486212b0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:11:15] local.INFO: Processing buffer {"connection_id":163651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0486212b0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:11:15] local.INFO: Packet analysis {"connection_id":163651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04862"} 
[2026-08-28 18:11:15] local.INFO: Extracted packet for processing {"connection_id":163651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04862"} 
[2026-08-28 18:11:15] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18: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-28 18:11:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707643392001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:11:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:11:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:11:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:11:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787920782000,"timestamp_ms":1787920782000,"timestamp_seconds":1787920782,"priority":1,"record_length":96,"hex_timestamp":"000001a0486212b0"} 
[2026-08-28 18: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-28 18:11:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18: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":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:11: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-28 18: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-28 18: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-28 18:11:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:11:15] local.INFO: Teltonika packet parsed successfully {"connection_id":163651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:11:15] local.INFO: Passing IMEI to GPS processor {"connection_id":163651,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:11:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":163651,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:11:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:11:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:11:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:11:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707643392001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:11:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:11:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:11:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707643392001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:11:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:11:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:11:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:11:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:11:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707643392001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:11:15] local.INFO: DEBUG: GPS processor result {"connection_id":163651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709404,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:11:15] local.INFO: GPS data processed {"connection_id":163651,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:11:15] local.INFO: Acknowledgment sent {"connection_id":163651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:11:19] local.INFO: TCP Data received {"connection_id":163924,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0486068e8012d1820000721b260004e00ce2a..."} 
[2026-08-28 18:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0486068e8012d1820000721b260004e00ce2a..."} 
[2026-08-28 18:11:19] local.INFO: Processing buffer {"connection_id":163924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0486068e8012d1820000721b260004e00ce2a..."} 
[2026-08-28 18:11:19] local.INFO: Packet analysis {"connection_id":163924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04860"} 
[2026-08-28 18:11:19] local.INFO: Extracted packet for processing {"connection_id":163924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04860"} 
[2026-08-28 18:11:19] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648864,"longitude_deg":75.6555776,"latitude_deg":11.9648864,"altitude":78,"angle":206,"satellites":42,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b260","is_valid_coordinates":true} 
[2026-08-28 18:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:11:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707686912001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:11:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16002726022348800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:11:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795120640,"note":"Value kept but may cause issues"} 
[2026-08-28 18:11:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:11:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787920673000,"timestamp_ms":1787920673000,"timestamp_seconds":1787920673,"priority":1,"record_length":96,"hex_timestamp":"000001a0486068e8"} 
[2026-08-28 18:11:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:11:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-28 18:11:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-28 18:11:19] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-28 18:11:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-28 18:11:19] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249382315639550560,"note":"Value kept but may cause issues"} 
[2026-08-28 18:11:19] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2992635982,"note":"Value kept but may cause issues"} 
[2026-08-28 18:11:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-28 18:11:19] local.WARNING: Large IO value detected {"io_id":124,"raw_value":3087084824,"note":"Value kept but may cause issues"} 
[2026-08-28 18:11:19] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3664052224,"note":"Value kept but may cause issues"} 
[2026-08-28 18:11:19] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-28 18:11:19] local.WARNING: Large IO value detected {"io_id":84,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-28 18:11:19] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-28 18:11:19] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,218,160,196,45,178,78,42,10,66,114,40,32,1,240,14,227,72,33,4,113,205,124,96,239,49,2,56,7,106,84,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-28 18:11:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620719019037294592,"timestamp_seconds":5620719019037295.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 18:11:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:11:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:11:19] local.INFO: Teltonika packet parsed successfully {"connection_id":163924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:11:19] local.INFO: Passing IMEI to GPS processor {"connection_id":163924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:11:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":163924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:11:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:11:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:11:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:11:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707686912001,"66":12526,"105":206,"83":41984,"24":0,"16":16002726022348800,"45":1738389486795120640},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:11:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:11:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:11:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707686912001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:11:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:11:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:11:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16002726022348800,"km_value":16002726022348.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:11:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795120640,"description":"Unknown IO ID 45"} 
[2026-08-28 18:11:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707686912001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795120640}} 
[2026-08-28 18:11:19] local.INFO: DEBUG: GPS processor result {"connection_id":163924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709405,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:11:19] local.INFO: GPS data processed {"connection_id":163924,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:11:19] local.INFO: Acknowledgment sent {"connection_id":163924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:11:30] local.INFO: TCP Data received {"connection_id":163652,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163652,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:11:30] local.INFO: Processing buffer {"connection_id":163652,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:11:30] local.INFO: IMEI packet received {"connection_id":163652,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 18:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":163652,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:11:31] local.INFO: TCP Data received {"connection_id":164928,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:11:31] local.INFO: Processing buffer {"connection_id":164928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:11:31] local.INFO: IMEI packet received {"connection_id":164928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 18:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":164928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:11:35] local.INFO: TCP Data received {"connection_id":163652,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163652,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:11:35] local.INFO: Processing buffer {"connection_id":163652,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:11:35] local.INFO: IMEI packet received {"connection_id":163652,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 18:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":163652,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:11:36] local.INFO: TCP Data received {"connection_id":163652,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0486308c8012d7b528005e13300000400b129..."} 
[2026-08-28 18:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0486308c8012d7b528005e13300000400b129..."} 
[2026-08-28 18:11:36] local.INFO: Processing buffer {"connection_id":163652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0486308c8012d7b528005e13300000400b129..."} 
[2026-08-28 18:11:36] local.INFO: Packet analysis {"connection_id":163652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04863"} 
[2026-08-28 18:11:36] local.INFO: Extracted packet for processing {"connection_id":163652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04863"} 
[2026-08-28 18:11:36] local.INFO: GPS Element Parsed {"raw_longitude":763056768,"raw_latitude":98644736,"longitude_deg":76.3056768,"latitude_deg":9.8644736,"altitude":4,"angle":177,"satellites":41,"speed":0,"hex_longitude":"2d7b5280","hex_latitude":"05e13300","is_valid_coordinates":true} 
[2026-08-28 18:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707736320001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232467438206976,"note":"Value kept but may cause issues"} 
[2026-08-28 18:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886305777496817664,"note":"Value kept but may cause issues"} 
[2026-08-28 18:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787920845000,"timestamp_ms":1787920845000,"timestamp_seconds":1787920845,"priority":1,"record_length":96,"hex_timestamp":"000001a0486308c8"} 
[2026-08-28 18:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-28 18:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":72057594205701120,"note":"Value kept but may cause issues"} 
[2026-08-28 18:11:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-28 18:11:36] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2218823260844278237,"note":"Value kept but may cause issues"} 
[2026-08-28 18:11:36] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-28 18:11:36] local.WARNING: Large IO value detected {"io_id":72,"raw_value":6458874354242114432,"note":"Value kept but may cause issues"} 
[2026-08-28 18:11:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1608057038,"corrected_to":0} 
[2026-08-28 18:11:36] local.WARNING: Large IO value detected {"io_id":197,"raw_value":2952867195,"note":"Value kept but may cause issues"} 
[2026-08-28 18:11:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2147868980,"note":"Value kept but may cause issues"} 
[2026-08-28 18:11:36] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-6917303216094785963,"note":"Value kept but may cause issues"} 
[2026-08-28 18:11:36] local.WARNING: Large IO value detected {"io_id":188,"raw_value":3930062848,"note":"Value kept but may cause issues"} 
[2026-08-28 18:11:36] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755403736154353,"note":"Value kept but may cause issues"} 
[2026-08-28 18:11:36] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,217,85,24,241,157,16,234,160,128,45,51,5,37,10,66,225,192,6,36,240,138,227,72,4,113,205,1,197,83,239,52,2,188,59,64],"length":535,"final_offset":665,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1608057038,"validated":0}]} 
[2026-08-28 18:11:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288425165803487263,"timestamp_seconds":288425165803487.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 18:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163652,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 18:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163652,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 18:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 18:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 18:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707736320001,"66":12809,"217":206,"85":15104,"24":0,"16":125232467438206976,"45":8886305777496817664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 18:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 18:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 18:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707736320001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:11:36] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 18:11:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 18:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232467438206976,"km_value":125232467438206.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886305777496817664,"description":"Unknown IO ID 45"} 
[2026-08-28 18:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707736320001,"power":12809,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886305777496817664}} 
[2026-08-28 18:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":163652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709406,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:11:36] local.INFO: GPS data processed {"connection_id":163652,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:11:36] local.INFO: Acknowledgment sent {"connection_id":163652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:11:36] local.INFO: TCP Data received {"connection_id":164928,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:11:36] local.INFO: Processing buffer {"connection_id":164928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:11:36] local.INFO: IMEI packet received {"connection_id":164928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 18:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":164928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:11:37] local.INFO: TCP Data received {"connection_id":164928,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0485f0d40012d34c14006aa4840000b00e62a..."} 
[2026-08-28 18:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0485f0d40012d34c14006aa4840000b00e62a..."} 
[2026-08-28 18:11:37] local.INFO: Processing buffer {"connection_id":164928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0485f0d40012d34c14006aa4840000b00e62a..."} 
[2026-08-28 18:11:37] local.INFO: Packet analysis {"connection_id":164928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0485f"} 
[2026-08-28 18:11:37] local.INFO: Extracted packet for processing {"connection_id":164928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0485f"} 
[2026-08-28 18:11:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18: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-28 18:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707592448001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787920584000,"timestamp_ms":1787920584000,"timestamp_seconds":1787920584,"priority":1,"record_length":96,"hex_timestamp":"000001a0485f0d40"} 
[2026-08-28 18: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-28 18:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 18:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18: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-28 18: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-28 18:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707592448001,"66":25430,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707592448001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:11:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:11:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:11: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-28 18:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707592448001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":164928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:11:38] local.INFO: GPS data processed {"connection_id":164928,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:11:38] local.INFO: Acknowledgment sent {"connection_id":164928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:11:40] local.INFO: TCP Data received {"connection_id":166290,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166290,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:11:40] local.INFO: Processing buffer {"connection_id":166290,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:11:40] local.INFO: IMEI packet received {"connection_id":166290,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 18:11:40] local.INFO: IMEI acknowledgment sent {"connection_id":166290,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:11:40] local.INFO: TCP Data received {"connection_id":163652,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a048631868012d7b528005e13300000400b128..."} 
[2026-08-28 18:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048631868012d7b528005e13300000400b128..."} 
[2026-08-28 18:11:40] local.INFO: Processing buffer {"connection_id":163652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048631868012d7b528005e13300000400b128..."} 
[2026-08-28 18:11:40] local.INFO: Packet analysis {"connection_id":163652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04863"} 
[2026-08-28 18:11:40] local.INFO: Extracted packet for processing {"connection_id":163652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04863"} 
[2026-08-28 18:11:40] local.INFO: GPS Element Parsed {"raw_longitude":763056768,"raw_latitude":98644736,"longitude_deg":76.3056768,"latitude_deg":9.8644736,"altitude":4,"angle":177,"satellites":40,"speed":0,"hex_longitude":"2d7b5280","hex_latitude":"05e13300","is_valid_coordinates":true} 
[2026-08-28 18:11:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:11:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707736320001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:11:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232467438206976,"note":"Value kept but may cause issues"} 
[2026-08-28 18:11:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886305777496817664,"note":"Value kept but may cause issues"} 
[2026-08-28 18:11: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-28 18:11:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787920849000,"timestamp_ms":1787920849000,"timestamp_seconds":1787920849,"priority":1,"record_length":96,"hex_timestamp":"000001a048631868"} 
[2026-08-28 18:11:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:11:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:11:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-28 18:11:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":72057594205701120,"note":"Value kept but may cause issues"} 
[2026-08-28 18:11:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-28 18:11:40] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2218911221774495708,"note":"Value kept but may cause issues"} 
[2026-08-28 18:11:40] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-28 18:11:40] local.WARNING: Large IO value detected {"io_id":72,"raw_value":6467670447264322432,"note":"Value kept but may cause issues"} 
[2026-08-28 18:11:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1608057038,"corrected_to":0} 
[2026-08-28 18:11:40] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2147868980,"note":"Value kept but may cause issues"} 
[2026-08-28 18:11:40] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-6917303216094785963,"note":"Value kept but may cause issues"} 
[2026-08-28 18:11:40] local.WARNING: Large IO value detected {"io_id":188,"raw_value":3930193920,"note":"Value kept but may cause issues"} 
[2026-08-28 18:11:40] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755408031121649,"note":"Value kept but may cause issues"} 
[2026-08-28 18:11:40] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,217,85,24,241,157,16,234,160,8,45,128,51,4,41,10,66,5,37,225,192,240,138,227,72,113,205,1,209,83,40,36,239,52,2,188,6,59,64],"length":535,"final_offset":665,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1608057038,"validated":0}]} 
[2026-08-28 18:11:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288425165803487298,"timestamp_seconds":288425165803487.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 18:11:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:11:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:11:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:11:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163652,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 18:11:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163652,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 18:11:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:11:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 18:11:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 18:11:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707736320001,"66":4460,"217":206,"85":15104,"24":0,"16":125232467438206976,"45":8886305777496817664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 18:11:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 18:11:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 18:11:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707736320001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:11:40] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 18:11:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 18:11:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232467438206976,"km_value":125232467438206.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:11:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886305777496817664,"description":"Unknown IO ID 45"} 
[2026-08-28 18:11:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707736320001,"power":4460,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886305777496817664}} 
[2026-08-28 18:11:40] local.INFO: DEBUG: GPS processor result {"connection_id":163652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709408,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:11:40] local.INFO: GPS data processed {"connection_id":163652,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:11:40] local.INFO: Acknowledgment sent {"connection_id":163652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:11:43] local.INFO: TCP Data received {"connection_id":166290,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166290,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:11:43] local.INFO: Processing buffer {"connection_id":166290,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:11:43] local.INFO: IMEI packet received {"connection_id":166290,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:11:43] local.INFO: IMEI acknowledgment sent {"connection_id":166290,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:11:48] local.INFO: TCP Data received {"connection_id":166290,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166290,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:11:48] local.INFO: Processing buffer {"connection_id":166290,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:11:48] local.INFO: IMEI packet received {"connection_id":166290,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":166290,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:11:49] local.INFO: TCP Data received {"connection_id":166290,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a04860baf0012d1820000721b260004e00ce2a..."} 
[2026-08-28 18:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04860baf0012d1820000721b260004e00ce2a..."} 
[2026-08-28 18:11:49] local.INFO: Processing buffer {"connection_id":166290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04860baf0012d1820000721b260004e00ce2a..."} 
[2026-08-28 18:11:49] local.INFO: Packet analysis {"connection_id":166290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04860"} 
[2026-08-28 18:11:49] local.INFO: Extracted packet for processing {"connection_id":166290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04860"} 
[2026-08-28 18:11:49] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648864,"longitude_deg":75.6555776,"latitude_deg":11.9648864,"altitude":78,"angle":206,"satellites":42,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b260","is_valid_coordinates":true} 
[2026-08-28 18: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-28 18:11:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707692288001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:11:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16002726022348800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:11:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795120640,"note":"Value kept but may cause issues"} 
[2026-08-28 18:11:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:11:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787920694000,"timestamp_ms":1787920694000,"timestamp_seconds":1787920694,"priority":1,"record_length":96,"hex_timestamp":"000001a04860baf0"} 
[2026-08-28 18: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-28 18:11:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-28 18:11:49] 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-28 18: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-28 18: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-28 18:11:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:11:49] local.INFO: Teltonika packet parsed successfully {"connection_id":166290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:11:49] local.INFO: Passing IMEI to GPS processor {"connection_id":166290,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:11:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":166290,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:11:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:11:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:11:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:11:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707692288001,"66":12548,"105":206,"83":41984,"24":0,"16":16002726022348800,"45":1738389486795120640},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:11:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:11:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:11:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707692288001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:11:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:11:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:11:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16002726022348800,"km_value":16002726022348.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:11:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795120640,"description":"Unknown IO ID 45"} 
[2026-08-28 18:11:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707692288001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795120640}} 
[2026-08-28 18:11:49] local.INFO: DEBUG: GPS processor result {"connection_id":166290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709409,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:11:49] local.INFO: GPS data processed {"connection_id":166290,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:11:49] local.INFO: Acknowledgment sent {"connection_id":166290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:11:56] local.INFO: TCP Data received {"connection_id":163653,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163653,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:11:56] local.INFO: Processing buffer {"connection_id":163653,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:11:56] local.INFO: IMEI packet received {"connection_id":163653,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 18:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":163653,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:12:02] local.INFO: TCP Data received {"connection_id":163653,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163653,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:12:02] local.INFO: Processing buffer {"connection_id":163653,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:12:02] local.INFO: IMEI packet received {"connection_id":163653,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 18:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":163653,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:12:05] local.INFO: TCP Data received {"connection_id":163653,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0486212b0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0486212b0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:12:05] local.INFO: Processing buffer {"connection_id":163653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0486212b0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:12:05] local.INFO: Packet analysis {"connection_id":163653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04862"} 
[2026-08-28 18:12:05] local.INFO: Extracted packet for processing {"connection_id":163653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04862"} 
[2026-08-28 18:12:05] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707643392001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787920782000,"timestamp_ms":1787920782000,"timestamp_seconds":1787920782,"priority":1,"record_length":96,"hex_timestamp":"000001a0486212b0"} 
[2026-08-28 18:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:12:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":163653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":163653,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":163653,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707643392001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707643392001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:12:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:12:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707643392001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:12:05] 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":709410,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:12:05] local.INFO: GPS data processed {"connection_id":163653,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:12:05] local.INFO: Acknowledgment sent {"connection_id":163653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:12:12] local.INFO: TCP Data received {"connection_id":164928,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04863a508012d34c14006aa4840001100e62a..."} 
[2026-08-28 18:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04863a508012d34c14006aa4840001100e62a..."} 
[2026-08-28 18:12:12] local.INFO: Processing buffer {"connection_id":164928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04863a508012d34c14006aa4840001100e62a..."} 
[2026-08-28 18:12:12] local.INFO: Packet analysis {"connection_id":164928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04863"} 
[2026-08-28 18:12:12] local.INFO: Extracted packet for processing {"connection_id":164928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04863"} 
[2026-08-28 18:12:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:12:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707669504001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:12:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:12:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:12:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:12:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787920885000,"timestamp_ms":1787920885000,"timestamp_seconds":1787920885,"priority":1,"record_length":96,"hex_timestamp":"000001a04863a508"} 
[2026-08-28 18:12:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:12: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-28 18:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 18:12:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:12:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:12:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:12:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:12:12] local.INFO: Teltonika packet parsed successfully {"connection_id":164928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:12:12] local.INFO: Passing IMEI to GPS processor {"connection_id":164928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:12:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":164928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:12:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:12:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:12:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:12:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707669504001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:12:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:12:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:12:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707669504001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:12:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:12:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:12: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-28 18:12:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:12:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707669504001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:12:12] local.INFO: DEBUG: GPS processor result {"connection_id":164928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:12:12] local.INFO: GPS data processed {"connection_id":164928,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:12:12] local.INFO: Acknowledgment sent {"connection_id":164928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:12:20] local.INFO: TCP Data received {"connection_id":166290,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048610cf8012d181dc00721ae90004b00ce29..."} 
[2026-08-28 18:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048610cf8012d181dc00721ae90004b00ce29..."} 
[2026-08-28 18:12:20] local.INFO: Processing buffer {"connection_id":166290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048610cf8012d181dc00721ae90004b00ce29..."} 
[2026-08-28 18:12:20] local.INFO: Packet analysis {"connection_id":166290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04861"} 
[2026-08-28 18:12:20] local.INFO: Extracted packet for processing {"connection_id":166290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04861"} 
[2026-08-28 18:12:20] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647888,"longitude_deg":75.65552,"latitude_deg":11.9647888,"altitude":75,"angle":206,"satellites":41,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ae90","is_valid_coordinates":true} 
[2026-08-28 18:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:12:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707697664001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:12:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16002781856923648,"note":"Value kept but may cause issues"} 
[2026-08-28 18:12:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795120640,"note":"Value kept but may cause issues"} 
[2026-08-28 18:12:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:12:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787920715000,"timestamp_ms":1787920715000,"timestamp_seconds":1787920715,"priority":1,"record_length":96,"hex_timestamp":"000001a048610cf8"} 
[2026-08-28 18:12:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:12:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-28 18:12:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-28 18:12:20] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-28 18:12:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-28 18:12:20] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184195588301,"note":"Value kept but may cause issues"} 
[2026-08-28 18:12:20] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2992635982,"note":"Value kept but may cause issues"} 
[2026-08-28 18:12:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-28 18:12:20] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3664052224,"note":"Value kept but may cause issues"} 
[2026-08-28 18:12:20] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-28 18:12:20] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,218,160,104,45,178,78,42,10,66,22,43,196,1,240,47,227,72,33,4,113,205,32,96,239,49,2,56,7,106],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-28 18:12:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620719014742327296,"timestamp_seconds":5620719014742327.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 18:12:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:12:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:12:20] local.INFO: Teltonika packet parsed successfully {"connection_id":166290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:12:20] local.INFO: Passing IMEI to GPS processor {"connection_id":166290,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:12:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":166290,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:12:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:12:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:12:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:12:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707697664001,"66":12548,"105":206,"83":41984,"24":0,"16":16002781856923648,"45":1738389486795120640},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:12:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:12:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:12:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707697664001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:12:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:12:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:12:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16002781856923648,"km_value":16002781856923.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:12:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795120640,"description":"Unknown IO ID 45"} 
[2026-08-28 18:12:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707697664001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795120640}} 
[2026-08-28 18:12:20] local.INFO: DEBUG: GPS processor result {"connection_id":166290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709412,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:12:20] local.INFO: GPS data processed {"connection_id":166290,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:12:20] local.INFO: Acknowledgment sent {"connection_id":166290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:12:25] local.INFO: TCP Data received {"connection_id":163654,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163654,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:12:25] local.INFO: Processing buffer {"connection_id":163654,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:12:25] local.INFO: IMEI packet received {"connection_id":163654,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 18:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":163654,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:12:30] local.INFO: TCP Data received {"connection_id":164929,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:12:30] local.INFO: Processing buffer {"connection_id":164929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:12:30] local.INFO: IMEI packet received {"connection_id":164929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 18:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":164929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:12:30] local.INFO: TCP Data received {"connection_id":163654,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163654,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:12:30] local.INFO: Processing buffer {"connection_id":163654,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:12:30] local.INFO: IMEI packet received {"connection_id":163654,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 18:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":163654,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:12:32] local.INFO: TCP Data received {"connection_id":163654,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a048631868012d7b528005e13300000400b128..."} 
[2026-08-28 18:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048631868012d7b528005e13300000400b128..."} 
[2026-08-28 18:12:32] local.INFO: Processing buffer {"connection_id":163654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048631868012d7b528005e13300000400b128..."} 
[2026-08-28 18:12:32] local.INFO: Packet analysis {"connection_id":163654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04863"} 
[2026-08-28 18:12:32] local.INFO: Extracted packet for processing {"connection_id":163654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04863"} 
[2026-08-28 18:12:32] local.INFO: GPS Element Parsed {"raw_longitude":763056768,"raw_latitude":98644736,"longitude_deg":76.3056768,"latitude_deg":9.8644736,"altitude":4,"angle":177,"satellites":40,"speed":0,"hex_longitude":"2d7b5280","hex_latitude":"05e13300","is_valid_coordinates":true} 
[2026-08-28 18:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707736320001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232467438206976,"note":"Value kept but may cause issues"} 
[2026-08-28 18:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886305777496817664,"note":"Value kept but may cause issues"} 
[2026-08-28 18:12:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787920849000,"timestamp_ms":1787920849000,"timestamp_seconds":1787920849,"priority":1,"record_length":96,"hex_timestamp":"000001a048631868"} 
[2026-08-28 18:12:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:12:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-28 18:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":72057594205701120,"note":"Value kept but may cause issues"} 
[2026-08-28 18:12:32] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-28 18:12:32] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2218911221774495708,"note":"Value kept but may cause issues"} 
[2026-08-28 18:12:32] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-28 18:12:32] local.WARNING: Large IO value detected {"io_id":72,"raw_value":6467670447264322432,"note":"Value kept but may cause issues"} 
[2026-08-28 18:12:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1608057038,"corrected_to":0} 
[2026-08-28 18:12:32] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2147868980,"note":"Value kept but may cause issues"} 
[2026-08-28 18:12:32] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-6917303216094785963,"note":"Value kept but may cause issues"} 
[2026-08-28 18:12:32] local.WARNING: Large IO value detected {"io_id":188,"raw_value":3930193920,"note":"Value kept but may cause issues"} 
[2026-08-28 18:12:32] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755408031121649,"note":"Value kept but may cause issues"} 
[2026-08-28 18:12:32] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,217,85,24,241,157,16,234,160,8,45,128,51,4,41,10,66,5,37,225,192,240,138,227,72,113,205,1,209,83,40,36,239,52,2,188,6,59,64],"length":535,"final_offset":665,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1608057038,"validated":0}]} 
[2026-08-28 18:12:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288425165803487298,"timestamp_seconds":288425165803487.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 18:12:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":163654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":163654,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 18:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":163654,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 18:12:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 18:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 18:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707736320001,"66":4460,"217":206,"85":15104,"24":0,"16":125232467438206976,"45":8886305777496817664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 18:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 18:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 18:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707736320001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:12:32] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 18:12:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 18:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232467438206976,"km_value":125232467438206.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886305777496817664,"description":"Unknown IO ID 45"} 
[2026-08-28 18:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707736320001,"power":4460,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886305777496817664}} 
[2026-08-28 18:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":163654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709413,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:12:32] local.INFO: GPS data processed {"connection_id":163654,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:12:32] local.INFO: Acknowledgment sent {"connection_id":163654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:12:35] local.INFO: TCP Data received {"connection_id":164929,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:12:35] local.INFO: Processing buffer {"connection_id":164929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:12:35] local.INFO: IMEI packet received {"connection_id":164929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 18:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":164929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:12:37] local.INFO: TCP Data received {"connection_id":164929,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04863a508012d34c14006aa4840001100e62a..."} 
[2026-08-28 18:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04863a508012d34c14006aa4840001100e62a..."} 
[2026-08-28 18:12:37] local.INFO: Processing buffer {"connection_id":164929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04863a508012d34c14006aa4840001100e62a..."} 
[2026-08-28 18:12:37] local.INFO: Packet analysis {"connection_id":164929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04863"} 
[2026-08-28 18:12:37] local.INFO: Extracted packet for processing {"connection_id":164929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04863"} 
[2026-08-28 18:12:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707669504001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787920885000,"timestamp_ms":1787920885000,"timestamp_seconds":1787920885,"priority":1,"record_length":96,"hex_timestamp":"000001a04863a508"} 
[2026-08-28 18:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 18:12:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:12:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707669504001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707669504001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:12:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:12:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:12: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-28 18:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707669504001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:12:37] 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":709414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:12:37] local.INFO: GPS data processed {"connection_id":164929,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:12:37] local.INFO: Acknowledgment sent {"connection_id":164929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:12:38] local.INFO: TCP Data received {"connection_id":163653,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0486212b0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0486212b0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:12:38] local.INFO: Processing buffer {"connection_id":163653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0486212b0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:12:38] local.INFO: Packet analysis {"connection_id":163653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04862"} 
[2026-08-28 18:12:38] local.INFO: Extracted packet for processing {"connection_id":163653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04862"} 
[2026-08-28 18:12:38] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18: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-28 18:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707643392001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:12:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787920782000,"timestamp_ms":1787920782000,"timestamp_seconds":1787920782,"priority":1,"record_length":96,"hex_timestamp":"000001a0486212b0"} 
[2026-08-28 18: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-28 18:12:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:12:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18: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-28 18: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-28 18:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163653,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163653,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707643392001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707643392001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:12:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:12:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707643392001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:12:38] 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":709415,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:12:38] local.INFO: GPS data processed {"connection_id":163653,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:12:38] local.INFO: Acknowledgment sent {"connection_id":163653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:12:43] local.INFO: TCP Data received {"connection_id":166291,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:12:43] local.INFO: Processing buffer {"connection_id":166291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:12:43] local.INFO: IMEI packet received {"connection_id":166291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 18:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":166291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:12:43] local.INFO: TCP Data received {"connection_id":166291,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:12:43] local.INFO: Processing buffer {"connection_id":166291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:12:43] local.INFO: IMEI packet received {"connection_id":166291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":166291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:12:48] local.INFO: TCP Data received {"connection_id":166291,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:12:48] local.INFO: Processing buffer {"connection_id":166291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:12:48] local.INFO: IMEI packet received {"connection_id":166291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":166291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:12:49] local.INFO: TCP Data received {"connection_id":166291,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048615f00012d181dc00721ae90004b00ce29..."} 
[2026-08-28 18:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048615f00012d181dc00721ae90004b00ce29..."} 
[2026-08-28 18:12:49] local.INFO: Processing buffer {"connection_id":166291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048615f00012d181dc00721ae90004b00ce29..."} 
[2026-08-28 18:12:49] local.INFO: Packet analysis {"connection_id":166291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04861"} 
[2026-08-28 18:12:49] local.INFO: Extracted packet for processing {"connection_id":166291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04861"} 
[2026-08-28 18:12:49] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647888,"longitude_deg":75.65552,"latitude_deg":11.9647888,"altitude":75,"angle":206,"satellites":41,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ae90","is_valid_coordinates":true} 
[2026-08-28 18: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-28 18:12:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707703040001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:12:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16002781856923648,"note":"Value kept but may cause issues"} 
[2026-08-28 18:12:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097271808,"note":"Value kept but may cause issues"} 
[2026-08-28 18:12:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:12:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787920736000,"timestamp_ms":1787920736000,"timestamp_seconds":1787920736,"priority":1,"record_length":96,"hex_timestamp":"000001a048615f00"} 
[2026-08-28 18: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-28 18:12:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-28 18:12:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-28 18:12:49] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-28 18:12:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-28 18:12:49] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197685453,"note":"Value kept but may cause issues"} 
[2026-08-28 18:12:49] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2992635982,"note":"Value kept but may cause issues"} 
[2026-08-28 18:12:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-28 18:12:49] local.WARNING: Large IO value detected {"io_id":114,"raw_value":3489738008,"note":"Value kept but may cause issues"} 
[2026-08-28 18:12:49] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3664052224,"note":"Value kept but may cause issues"} 
[2026-08-28 18:12:49] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-28 18:12:49] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,218,160,186,45,178,78,42,10,66,104,22,1,240,14,227,72,33,4,113,205,114,32,96,40,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-28 18:12:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404546228333576192,"timestamp_seconds":5404546228333576.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 18: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-28 18:12:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:12:49] local.INFO: Teltonika packet parsed successfully {"connection_id":166291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:12:49] local.INFO: Passing IMEI to GPS processor {"connection_id":166291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:12:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":166291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:12:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:12:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:12:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:12:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707703040001,"66":12548,"105":206,"83":41984,"24":0,"16":16002781856923648,"45":1737756168097271808},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:12:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:12:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:12:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707703040001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:12:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:12:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:12:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16002781856923648,"km_value":16002781856923.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:12:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097271808,"description":"Unknown IO ID 45"} 
[2026-08-28 18:12:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707703040001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097271808}} 
[2026-08-28 18:12:49] local.INFO: DEBUG: GPS processor result {"connection_id":166291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709416,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:12:49] local.INFO: GPS data processed {"connection_id":166291,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:12:49] local.INFO: Acknowledgment sent {"connection_id":166291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:12:56] local.INFO: TCP Data received {"connection_id":163925,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163925,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:12:56] local.INFO: Processing buffer {"connection_id":163925,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:12:56] local.INFO: IMEI packet received {"connection_id":163925,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 18:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":163925,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:13:01] local.INFO: TCP Data received {"connection_id":163925,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163925,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:13:01] local.INFO: Processing buffer {"connection_id":163925,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:13:01] local.INFO: IMEI packet received {"connection_id":163925,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 18:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":163925,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:13:03] local.INFO: TCP Data received {"connection_id":163654,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a048631868012d7b528005e13300000400b128..."} 
[2026-08-28 18:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048631868012d7b528005e13300000400b128..."} 
[2026-08-28 18:13:03] local.INFO: Processing buffer {"connection_id":163654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048631868012d7b528005e13300000400b128..."} 
[2026-08-28 18:13:03] local.INFO: Packet analysis {"connection_id":163654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04863"} 
[2026-08-28 18:13:03] local.INFO: Extracted packet for processing {"connection_id":163654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04863"} 
[2026-08-28 18:13:03] local.INFO: GPS Element Parsed {"raw_longitude":763056768,"raw_latitude":98644736,"longitude_deg":76.3056768,"latitude_deg":9.8644736,"altitude":4,"angle":177,"satellites":40,"speed":0,"hex_longitude":"2d7b5280","hex_latitude":"05e13300","is_valid_coordinates":true} 
[2026-08-28 18:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707736320001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232467438206976,"note":"Value kept but may cause issues"} 
[2026-08-28 18:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886305777496817664,"note":"Value kept but may cause issues"} 
[2026-08-28 18:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787920849000,"timestamp_ms":1787920849000,"timestamp_seconds":1787920849,"priority":1,"record_length":96,"hex_timestamp":"000001a048631868"} 
[2026-08-28 18:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:13:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-28 18:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":72057594205701120,"note":"Value kept but may cause issues"} 
[2026-08-28 18:13:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-28 18:13:03] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2218911221774495708,"note":"Value kept but may cause issues"} 
[2026-08-28 18:13:03] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-28 18:13:03] local.WARNING: Large IO value detected {"io_id":72,"raw_value":6467670447264322432,"note":"Value kept but may cause issues"} 
[2026-08-28 18:13:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1608057038,"corrected_to":0} 
[2026-08-28 18:13:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2147868980,"note":"Value kept but may cause issues"} 
[2026-08-28 18:13:03] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-6917303216094785963,"note":"Value kept but may cause issues"} 
[2026-08-28 18:13:03] local.WARNING: Large IO value detected {"io_id":188,"raw_value":3930193920,"note":"Value kept but may cause issues"} 
[2026-08-28 18:13:03] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755408031121649,"note":"Value kept but may cause issues"} 
[2026-08-28 18:13:03] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,217,85,24,241,157,16,234,160,8,45,128,51,4,41,10,66,5,37,225,192,240,138,227,72,113,205,1,209,83,40,36,239,52,2,188,6,59,64],"length":535,"final_offset":665,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1608057038,"validated":0}]} 
[2026-08-28 18:13:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288425165803487298,"timestamp_seconds":288425165803487.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 18:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163654,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 18:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163654,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 18:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 18:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 18:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707736320001,"66":4460,"217":206,"85":15104,"24":0,"16":125232467438206976,"45":8886305777496817664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 18:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 18:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 18:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707736320001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:13:03] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 18:13:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 18:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232467438206976,"km_value":125232467438206.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886305777496817664,"description":"Unknown IO ID 45"} 
[2026-08-28 18:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707736320001,"power":4460,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886305777496817664}} 
[2026-08-28 18:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":163654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709417,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:13:03] local.INFO: GPS data processed {"connection_id":163654,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:13:03] local.INFO: Acknowledgment sent {"connection_id":163654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:13:04] local.INFO: TCP Data received {"connection_id":163925,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0486212b0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0486212b0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:13:04] local.INFO: Processing buffer {"connection_id":163925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0486212b0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:13:04] local.INFO: Packet analysis {"connection_id":163925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04862"} 
[2026-08-28 18:13:04] local.INFO: Extracted packet for processing {"connection_id":163925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04862"} 
[2026-08-28 18:13:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707643392001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787920782000,"timestamp_ms":1787920782000,"timestamp_seconds":1787920782,"priority":1,"record_length":96,"hex_timestamp":"000001a0486212b0"} 
[2026-08-28 18:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:13:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":163925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":163925,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":163925,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707643392001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707643392001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:13:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:13:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707643392001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":163925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709418,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:13:04] local.INFO: GPS data processed {"connection_id":163925,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:13:04] local.INFO: Acknowledgment sent {"connection_id":163925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:13:12] local.INFO: TCP Data received {"connection_id":164929,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04863a508012d34c14006aa4840001100e62a..."} 
[2026-08-28 18:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04863a508012d34c14006aa4840001100e62a..."} 
[2026-08-28 18:13:12] local.INFO: Processing buffer {"connection_id":164929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04863a508012d34c14006aa4840001100e62a..."} 
[2026-08-28 18:13:12] local.INFO: Packet analysis {"connection_id":164929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04863"} 
[2026-08-28 18:13:12] local.INFO: Extracted packet for processing {"connection_id":164929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04863"} 
[2026-08-28 18:13:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707669504001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:13:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:13:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787920885000,"timestamp_ms":1787920885000,"timestamp_seconds":1787920885,"priority":1,"record_length":96,"hex_timestamp":"000001a04863a508"} 
[2026-08-28 18:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:13: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-28 18:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 18:13:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:13:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":164929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":164929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":164929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:13:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707669504001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707669504001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:13:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:13:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:13: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-28 18:13:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707669504001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:13:12] 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":709419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:13:12] local.INFO: GPS data processed {"connection_id":164929,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:13:12] local.INFO: Acknowledgment sent {"connection_id":164929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:13:25] local.INFO: TCP Data received {"connection_id":163926,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163926,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:13:25] local.INFO: Processing buffer {"connection_id":163926,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:13:25] local.INFO: IMEI packet received {"connection_id":163926,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 18:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":163926,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:13:28] local.INFO: TCP Data received {"connection_id":166291,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a04861b108012d181dc00721ae90004b00ce27..."} 
[2026-08-28 18:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04861b108012d181dc00721ae90004b00ce27..."} 
[2026-08-28 18:13:28] local.INFO: Processing buffer {"connection_id":166291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04861b108012d181dc00721ae90004b00ce27..."} 
[2026-08-28 18:13:28] local.INFO: Packet analysis {"connection_id":166291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04861"} 
[2026-08-28 18:13:28] local.INFO: Extracted packet for processing {"connection_id":166291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04861"} 
[2026-08-28 18:13:28] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647888,"longitude_deg":75.65552,"latitude_deg":11.9647888,"altitude":75,"angle":206,"satellites":39,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ae90","is_valid_coordinates":true} 
[2026-08-28 18:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707708416001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:13:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16002781856923648,"note":"Value kept but may cause issues"} 
[2026-08-28 18:13:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097271808,"note":"Value kept but may cause issues"} 
[2026-08-28 18:13:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:13:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787920757000,"timestamp_ms":1787920757000,"timestamp_seconds":1787920757,"priority":1,"record_length":96,"hex_timestamp":"000001a04861b108"} 
[2026-08-28 18:13:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:13:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-28 18:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-28 18:13:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-28 18:13:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-28 18:13:28] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199848141,"note":"Value kept but may cause issues"} 
[2026-08-28 18:13:28] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2992635982,"note":"Value kept but may cause issues"} 
[2026-08-28 18:13:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-28 18:13:28] local.WARNING: Large IO value detected {"io_id":196,"raw_value":3623955736,"note":"Value kept but may cause issues"} 
[2026-08-28 18:13:28] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3664052224,"note":"Value kept but may cause issues"} 
[2026-08-28 18:13:28] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-28 18:13:28] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,105,83,24,241,157,16,218,160,12,45,192,174,75,41,10,66,186,178,78,42,104,1,240,238,227,72,33,4,113,205,196,32,96,239,49,2,56,7,106],"length":485,"final_offset":615,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-28 18:13:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404546228333576192,"timestamp_seconds":5404546228333576.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 18:13:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:13:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:13:28] local.INFO: Teltonika packet parsed successfully {"connection_id":166291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:13:28] local.INFO: Passing IMEI to GPS processor {"connection_id":166291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:13:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":166291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:13:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:13:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:13:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:13:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707708416001,"66":12461,"105":206,"83":41984,"24":0,"16":16002781856923648,"45":1737756168097271808},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:13:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:13:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:13:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707708416001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:13:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:13:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:13:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16002781856923648,"km_value":16002781856923.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:13:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097271808,"description":"Unknown IO ID 45"} 
[2026-08-28 18:13:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707708416001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097271808}} 
[2026-08-28 18:13:28] local.INFO: DEBUG: GPS processor result {"connection_id":166291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709420,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:13:28] local.INFO: GPS data processed {"connection_id":166291,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:13:28] local.INFO: Acknowledgment sent {"connection_id":166291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:13:30] local.INFO: TCP Data received {"connection_id":166292,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:13:30] local.INFO: Processing buffer {"connection_id":166292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:13:30] local.INFO: IMEI packet received {"connection_id":166292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 18:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":166292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:13:30] local.INFO: TCP Data received {"connection_id":163926,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163926,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:13:30] local.INFO: Processing buffer {"connection_id":163926,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:13:30] local.INFO: IMEI packet received {"connection_id":163926,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 18:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":163926,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:13:31] local.INFO: TCP Data received {"connection_id":163926,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a048631868012d7b528005e13300000400b128..."} 
[2026-08-28 18:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048631868012d7b528005e13300000400b128..."} 
[2026-08-28 18:13:31] local.INFO: Processing buffer {"connection_id":163926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048631868012d7b528005e13300000400b128..."} 
[2026-08-28 18:13:31] local.INFO: Packet analysis {"connection_id":163926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04863"} 
[2026-08-28 18:13:31] local.INFO: Extracted packet for processing {"connection_id":163926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04863"} 
[2026-08-28 18:13:31] local.INFO: GPS Element Parsed {"raw_longitude":763056768,"raw_latitude":98644736,"longitude_deg":76.3056768,"latitude_deg":9.8644736,"altitude":4,"angle":177,"satellites":40,"speed":0,"hex_longitude":"2d7b5280","hex_latitude":"05e13300","is_valid_coordinates":true} 
[2026-08-28 18:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707736320001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232467438206976,"note":"Value kept but may cause issues"} 
[2026-08-28 18:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886305777496817664,"note":"Value kept but may cause issues"} 
[2026-08-28 18:13:31] 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-28 18:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787920849000,"timestamp_ms":1787920849000,"timestamp_seconds":1787920849,"priority":1,"record_length":96,"hex_timestamp":"000001a048631868"} 
[2026-08-28 18:13:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:13:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-28 18:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":72057594205701120,"note":"Value kept but may cause issues"} 
[2026-08-28 18:13:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-28 18:13:31] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2218911221774495708,"note":"Value kept but may cause issues"} 
[2026-08-28 18:13:31] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-28 18:13:31] local.WARNING: Large IO value detected {"io_id":72,"raw_value":6467670447264322432,"note":"Value kept but may cause issues"} 
[2026-08-28 18:13:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1608057038,"corrected_to":0} 
[2026-08-28 18:13:31] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2147868980,"note":"Value kept but may cause issues"} 
[2026-08-28 18:13:31] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-6917303216094785963,"note":"Value kept but may cause issues"} 
[2026-08-28 18:13:31] local.WARNING: Large IO value detected {"io_id":188,"raw_value":3930193920,"note":"Value kept but may cause issues"} 
[2026-08-28 18:13:31] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755408031121649,"note":"Value kept but may cause issues"} 
[2026-08-28 18:13:31] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,217,85,24,241,157,16,234,160,8,45,128,51,4,41,10,66,5,37,225,192,240,138,227,72,113,205,1,209,83,40,36,239,52,2,188,6,59,64],"length":535,"final_offset":665,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1608057038,"validated":0}]} 
[2026-08-28 18:13:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288425165803487298,"timestamp_seconds":288425165803487.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 18:13:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":163926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":163926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 18:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":163926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 18:13:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 18:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 18:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707736320001,"66":4460,"217":206,"85":15104,"24":0,"16":125232467438206976,"45":8886305777496817664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 18:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 18:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 18:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707736320001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:13:31] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 18:13:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 18:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232467438206976,"km_value":125232467438206.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886305777496817664,"description":"Unknown IO ID 45"} 
[2026-08-28 18:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707736320001,"power":4460,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886305777496817664}} 
[2026-08-28 18:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":163926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709421,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:13:31] local.INFO: GPS data processed {"connection_id":163926,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:13:31] local.INFO: Acknowledgment sent {"connection_id":163926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:13:35] local.INFO: TCP Data received {"connection_id":166292,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:13:35] local.INFO: Processing buffer {"connection_id":166292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:13:35] local.INFO: IMEI packet received {"connection_id":166292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 18:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":166292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:13:39] local.INFO: TCP Data received {"connection_id":166292,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04863a508012d34c14006aa4840001100e62a..."} 
[2026-08-28 18:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04863a508012d34c14006aa4840001100e62a..."} 
[2026-08-28 18:13:39] local.INFO: Processing buffer {"connection_id":166292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04863a508012d34c14006aa4840001100e62a..."} 
[2026-08-28 18:13:39] local.INFO: Packet analysis {"connection_id":166292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04863"} 
[2026-08-28 18:13:39] local.INFO: Extracted packet for processing {"connection_id":166292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04863"} 
[2026-08-28 18:13:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:13:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707669504001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:13:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:13:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:13:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:13:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787920885000,"timestamp_ms":1787920885000,"timestamp_seconds":1787920885,"priority":1,"record_length":96,"hex_timestamp":"000001a04863a508"} 
[2026-08-28 18:13:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:13:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 18:13:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:13:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:13:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:13:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:13:39] local.INFO: Teltonika packet parsed successfully {"connection_id":166292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:13:39] local.INFO: Passing IMEI to GPS processor {"connection_id":166292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:13:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":166292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:13:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:13:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:13:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:13:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707669504001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:13:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:13:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:13:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707669504001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:13:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:13:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:13:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:13:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:13:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707669504001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:13:39] local.INFO: DEBUG: GPS processor result {"connection_id":166292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:13:39] local.INFO: GPS data processed {"connection_id":166292,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:13:39] local.INFO: Acknowledgment sent {"connection_id":166292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:13:40] local.INFO: TCP Data received {"connection_id":163925,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0486212b0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0486212b0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:13:40] local.INFO: Processing buffer {"connection_id":163925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0486212b0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:13:40] local.INFO: Packet analysis {"connection_id":163925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04862"} 
[2026-08-28 18:13:40] local.INFO: Extracted packet for processing {"connection_id":163925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04862"} 
[2026-08-28 18:13:40] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707643392001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:13:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:13:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787920782000,"timestamp_ms":1787920782000,"timestamp_seconds":1787920782,"priority":1,"record_length":96,"hex_timestamp":"000001a0486212b0"} 
[2026-08-28 18:13:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:13:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:13: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-28 18:13:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:13:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163925,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163925,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:13:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707643392001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707643392001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:13:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:13:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:13:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707643392001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:13:40] local.INFO: DEBUG: GPS processor result {"connection_id":163925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709423,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:13:40] local.INFO: GPS data processed {"connection_id":163925,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:13:40] local.INFO: Acknowledgment sent {"connection_id":163925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:13:43] local.INFO: TCP Data received {"connection_id":163655,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:13:43] local.INFO: Processing buffer {"connection_id":163655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:13:43] local.INFO: IMEI packet received {"connection_id":163655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 18:13:43] local.INFO: IMEI acknowledgment sent {"connection_id":163655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:13:46] local.INFO: TCP Data received {"connection_id":163655,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:13:46] local.INFO: Processing buffer {"connection_id":163655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:13:46] local.INFO: IMEI packet received {"connection_id":163655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":163655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:13:48] local.INFO: TCP Data received {"connection_id":163655,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:13:48] local.INFO: Processing buffer {"connection_id":163655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:13:48] local.INFO: IMEI packet received {"connection_id":163655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":163655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:13:48] local.INFO: TCP Data received {"connection_id":163655,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048620310012d181dc00721ae90004b00ce28..."} 
[2026-08-28 18:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048620310012d181dc00721ae90004b00ce28..."} 
[2026-08-28 18:13:48] local.INFO: Processing buffer {"connection_id":163655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048620310012d181dc00721ae90004b00ce28..."} 
[2026-08-28 18:13:48] local.INFO: Packet analysis {"connection_id":163655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04862"} 
[2026-08-28 18:13:48] local.INFO: Extracted packet for processing {"connection_id":163655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04862"} 
[2026-08-28 18:13:48] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647888,"longitude_deg":75.65552,"latitude_deg":11.9647888,"altitude":75,"angle":206,"satellites":40,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ae90","is_valid_coordinates":true} 
[2026-08-28 18: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-28 18:13:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707713792001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:13:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16002781856923648,"note":"Value kept but may cause issues"} 
[2026-08-28 18:13:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097271808,"note":"Value kept but may cause issues"} 
[2026-08-28 18:13:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:13:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787920778000,"timestamp_ms":1787920778000,"timestamp_seconds":1787920778,"priority":1,"record_length":96,"hex_timestamp":"000001a048620310"} 
[2026-08-28 18: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-28 18:13:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:13:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 18:13:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18: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-28 18: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-28 18:13:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:13:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:13:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:13:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:13:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:13:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:13:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:13:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707713792001,"66":12548,"105":206,"83":41984,"24":0,"16":16002781856923648,"45":1737756168097271808},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:13:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:13:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:13:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707713792001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:13:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:13:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:13:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16002781856923648,"km_value":16002781856923.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:13:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097271808,"description":"Unknown IO ID 45"} 
[2026-08-28 18:13:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707713792001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097271808}} 
[2026-08-28 18:13: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":709424,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:13:48] local.INFO: GPS data processed {"connection_id":163655,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:13:48] local.INFO: Acknowledgment sent {"connection_id":163655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:13:53] local.INFO: TCP Data received {"connection_id":163655,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048625518012d181dc00721ae90004b00ce27..."} 
[2026-08-28 18:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048625518012d181dc00721ae90004b00ce27..."} 
[2026-08-28 18:13:53] local.INFO: Processing buffer {"connection_id":163655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048625518012d181dc00721ae90004b00ce27..."} 
[2026-08-28 18:13:53] local.INFO: Packet analysis {"connection_id":163655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04862"} 
[2026-08-28 18:13:53] local.INFO: Extracted packet for processing {"connection_id":163655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04862"} 
[2026-08-28 18:13:53] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647888,"longitude_deg":75.65552,"latitude_deg":11.9647888,"altitude":75,"angle":206,"satellites":39,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ae90","is_valid_coordinates":true} 
[2026-08-28 18: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-28 18:13:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707719168001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:13:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16002781856923648,"note":"Value kept but may cause issues"} 
[2026-08-28 18:13:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097271808,"note":"Value kept but may cause issues"} 
[2026-08-28 18:13:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:13:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787920799000,"timestamp_ms":1787920799000,"timestamp_seconds":1787920799,"priority":1,"record_length":96,"hex_timestamp":"000001a048625518"} 
[2026-08-28 18: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-28 18:13:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-28 18:13:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-28 18:13:53] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-28 18:13:53] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-28 18:13:53] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197685453,"note":"Value kept but may cause issues"} 
[2026-08-28 18:13:53] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2992635982,"note":"Value kept but may cause issues"} 
[2026-08-28 18:13:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-28 18:13:53] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3892391192,"note":"Value kept but may cause issues"} 
[2026-08-28 18:13:53] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3993029994,"note":"Value kept but may cause issues"} 
[2026-08-28 18:13:53] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3664052224,"note":"Value kept but may cause issues"} 
[2026-08-28 18:13:53] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-28 18:13:53] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,218,160,177,45,192,174,75,39,10,66,95,41,12,1,240,4,227,72,33,113,205,104,32,96,42,239,48,2,56,7,78,106],"length":485,"final_offset":615,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-28 18:13:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404546224038608896,"timestamp_seconds":5404546224038609.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 18: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-28 18:13:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:13:53] local.INFO: Teltonika packet parsed successfully {"connection_id":163655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:13:53] local.INFO: Passing IMEI to GPS processor {"connection_id":163655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:13:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":163655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:13:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:13:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:13:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:13:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707719168001,"66":12504,"105":206,"83":41984,"24":0,"16":16002781856923648,"45":1737756168097271808},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:13:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:13:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:13:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707719168001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:13:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:13:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:13:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16002781856923648,"km_value":16002781856923.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:13:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097271808,"description":"Unknown IO ID 45"} 
[2026-08-28 18:13:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707719168001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097271808}} 
[2026-08-28 18:13:53] 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":709425,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:13:53] local.INFO: GPS data processed {"connection_id":163655,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:13:53] local.INFO: Acknowledgment sent {"connection_id":163655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:13:58] local.INFO: TCP Data received {"connection_id":164930,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164930,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:13:58] local.INFO: Processing buffer {"connection_id":164930,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:13:58] local.INFO: IMEI packet received {"connection_id":164930,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 18:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":164930,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:14:02] local.INFO: TCP Data received {"connection_id":163926,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a048631868012d7b528005e13300000400b128..."} 
[2026-08-28 18:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048631868012d7b528005e13300000400b128..."} 
[2026-08-28 18:14:02] local.INFO: Processing buffer {"connection_id":163926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048631868012d7b528005e13300000400b128..."} 
[2026-08-28 18:14:02] local.INFO: Packet analysis {"connection_id":163926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04863"} 
[2026-08-28 18:14:02] local.INFO: Extracted packet for processing {"connection_id":163926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04863"} 
[2026-08-28 18:14:02] local.INFO: GPS Element Parsed {"raw_longitude":763056768,"raw_latitude":98644736,"longitude_deg":76.3056768,"latitude_deg":9.8644736,"altitude":4,"angle":177,"satellites":40,"speed":0,"hex_longitude":"2d7b5280","hex_latitude":"05e13300","is_valid_coordinates":true} 
[2026-08-28 18:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707736320001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232467438206976,"note":"Value kept but may cause issues"} 
[2026-08-28 18:14:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886305777496817664,"note":"Value kept but may cause issues"} 
[2026-08-28 18:14:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787920849000,"timestamp_ms":1787920849000,"timestamp_seconds":1787920849,"priority":1,"record_length":96,"hex_timestamp":"000001a048631868"} 
[2026-08-28 18:14:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:14:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-28 18:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":72057594205701120,"note":"Value kept but may cause issues"} 
[2026-08-28 18:14:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-28 18:14:02] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2218911221774495708,"note":"Value kept but may cause issues"} 
[2026-08-28 18:14:02] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-28 18:14:02] local.WARNING: Large IO value detected {"io_id":72,"raw_value":6467670447264322432,"note":"Value kept but may cause issues"} 
[2026-08-28 18:14:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1608057038,"corrected_to":0} 
[2026-08-28 18:14:02] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2147868980,"note":"Value kept but may cause issues"} 
[2026-08-28 18:14:02] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-6917303216094785963,"note":"Value kept but may cause issues"} 
[2026-08-28 18:14:02] local.WARNING: Large IO value detected {"io_id":188,"raw_value":3930193920,"note":"Value kept but may cause issues"} 
[2026-08-28 18:14:02] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755408031121649,"note":"Value kept but may cause issues"} 
[2026-08-28 18:14:02] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,217,85,24,241,157,16,234,160,8,45,128,51,4,41,10,66,5,37,225,192,240,138,227,72,113,205,1,209,83,40,36,239,52,2,188,6,59,64],"length":535,"final_offset":665,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1608057038,"validated":0}]} 
[2026-08-28 18:14:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288425165803487298,"timestamp_seconds":288425165803487.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 18:14:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 18:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 18:14:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 18:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 18:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707736320001,"66":4460,"217":206,"85":15104,"24":0,"16":125232467438206976,"45":8886305777496817664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 18:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 18:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 18:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707736320001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:14:02] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 18:14:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 18:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232467438206976,"km_value":125232467438206.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:14:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886305777496817664,"description":"Unknown IO ID 45"} 
[2026-08-28 18:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707736320001,"power":4460,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886305777496817664}} 
[2026-08-28 18:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":163926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709426,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:14:02] local.INFO: GPS data processed {"connection_id":163926,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:14:02] local.INFO: Acknowledgment sent {"connection_id":163926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:14:02] local.INFO: TCP Data received {"connection_id":164930,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164930,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:14:02] local.INFO: Processing buffer {"connection_id":164930,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:14:02] local.INFO: IMEI packet received {"connection_id":164930,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 18:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":164930,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:14:05] local.INFO: TCP Data received {"connection_id":164930,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0486212b0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0486212b0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:14:05] local.INFO: Processing buffer {"connection_id":164930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0486212b0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:14:05] local.INFO: Packet analysis {"connection_id":164930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04862"} 
[2026-08-28 18:14:05] local.INFO: Extracted packet for processing {"connection_id":164930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04862"} 
[2026-08-28 18:14:05] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707643392001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787920782000,"timestamp_ms":1787920782000,"timestamp_seconds":1787920782,"priority":1,"record_length":96,"hex_timestamp":"000001a0486212b0"} 
[2026-08-28 18:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:14:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:14:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":164930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":164930,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":164930,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707643392001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707643392001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:14:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:14:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707643392001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:14:05] 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":709427,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:14:05] local.INFO: GPS data processed {"connection_id":164930,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:14:05] local.INFO: Acknowledgment sent {"connection_id":164930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:14:09] local.INFO: TCP Data received {"connection_id":164930,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0486212b0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0486212b0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:14:09] local.INFO: Processing buffer {"connection_id":164930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0486212b0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:14:09] local.INFO: Packet analysis {"connection_id":164930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04862"} 
[2026-08-28 18:14:09] local.INFO: Extracted packet for processing {"connection_id":164930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04862"} 
[2026-08-28 18:14:09] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707643392001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:14:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787920782000,"timestamp_ms":1787920782000,"timestamp_seconds":1787920782,"priority":1,"record_length":96,"hex_timestamp":"000001a0486212b0"} 
[2026-08-28 18:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:14:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:14:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164930,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164930,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:14:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707643392001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707643392001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:14:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:14:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707643392001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:14:09] 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":709428,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:14:09] local.INFO: GPS data processed {"connection_id":164930,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:14:09] local.INFO: Acknowledgment sent {"connection_id":164930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:14:14] local.INFO: TCP Data received {"connection_id":166292,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04863a508012d34c14006aa4840001100e62a..."} 
[2026-08-28 18:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04863a508012d34c14006aa4840001100e62a..."} 
[2026-08-28 18:14:14] local.INFO: Processing buffer {"connection_id":166292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04863a508012d34c14006aa4840001100e62a..."} 
[2026-08-28 18:14:14] local.INFO: Packet analysis {"connection_id":166292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04863"} 
[2026-08-28 18:14:14] local.INFO: Extracted packet for processing {"connection_id":166292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04863"} 
[2026-08-28 18:14:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18: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-28 18:14:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707669504001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:14:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:14:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:14:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:14:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787920885000,"timestamp_ms":1787920885000,"timestamp_seconds":1787920885,"priority":1,"record_length":96,"hex_timestamp":"000001a04863a508"} 
[2026-08-28 18: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-28 18: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-28 18: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":86,"data_length":795,"current_offset":136} 
[2026-08-28 18:14: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-28 18: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-28 18: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-28 18:14:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:14:14] local.INFO: Teltonika packet parsed successfully {"connection_id":166292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:14:14] local.INFO: Passing IMEI to GPS processor {"connection_id":166292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:14:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":166292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:14:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:14:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:14:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:14:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707669504001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:14:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:14:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:14:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707669504001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:14:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:14:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18: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-28 18:14:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:14:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707669504001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:14:14] local.INFO: DEBUG: GPS processor result {"connection_id":166292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:14:14] local.INFO: GPS data processed {"connection_id":166292,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:14:14] local.INFO: Acknowledgment sent {"connection_id":166292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:14:24] local.INFO: TCP Data received {"connection_id":163655,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a04862a720012d181dc00721ae90004b00ce29..."} 
[2026-08-28 18:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04862a720012d181dc00721ae90004b00ce29..."} 
[2026-08-28 18:14:24] local.INFO: Processing buffer {"connection_id":163655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04862a720012d181dc00721ae90004b00ce29..."} 
[2026-08-28 18:14:24] local.INFO: Packet analysis {"connection_id":163655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04862"} 
[2026-08-28 18:14:24] local.INFO: Extracted packet for processing {"connection_id":163655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04862"} 
[2026-08-28 18:14:24] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647888,"longitude_deg":75.65552,"latitude_deg":11.9647888,"altitude":75,"angle":206,"satellites":41,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ae90","is_valid_coordinates":true} 
[2026-08-28 18:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:14:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707724544001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:14:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16002781856923648,"note":"Value kept but may cause issues"} 
[2026-08-28 18:14:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097271808,"note":"Value kept but may cause issues"} 
[2026-08-28 18:14:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:14:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787920820000,"timestamp_ms":1787920820000,"timestamp_seconds":1787920820,"priority":1,"record_length":96,"hex_timestamp":"000001a04862a720"} 
[2026-08-28 18:14:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:14:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-28 18:14:24] 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-28 18:14:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:14:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:14:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:14:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:14:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:14:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:14:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:14:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:14:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:14:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707724544001,"66":12504,"105":206,"83":41984,"24":0,"16":16002781856923648,"45":1737756168097271808},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:14:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:14:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:14:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707724544001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:14:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:14:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:14:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16002781856923648,"km_value":16002781856923.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:14:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097271808,"description":"Unknown IO ID 45"} 
[2026-08-28 18:14:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707724544001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097271808}} 
[2026-08-28 18:14:25] 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":709430,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:14:25] local.INFO: GPS data processed {"connection_id":163655,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:14:25] local.INFO: Acknowledgment sent {"connection_id":163655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:14:25] local.INFO: TCP Data received {"connection_id":163656,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163656,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:14:25] local.INFO: Processing buffer {"connection_id":163656,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:14:25] local.INFO: IMEI packet received {"connection_id":163656,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-28 18:14:25] local.INFO: IMEI acknowledgment sent {"connection_id":163656,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:14:30] local.INFO: TCP Data received {"connection_id":163656,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163656,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:14:30] local.INFO: Processing buffer {"connection_id":163656,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-28 18:14:30] local.INFO: IMEI packet received {"connection_id":163656,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-28 18:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":163656,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:14:32] local.INFO: TCP Data received {"connection_id":163656,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a048631868012d7b528005e13300000400b128..."} 
[2026-08-28 18:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048631868012d7b528005e13300000400b128..."} 
[2026-08-28 18:14:32] local.INFO: Processing buffer {"connection_id":163656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048631868012d7b528005e13300000400b128..."} 
[2026-08-28 18:14:32] local.INFO: Packet analysis {"connection_id":163656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04863"} 
[2026-08-28 18:14:32] local.INFO: Extracted packet for processing {"connection_id":163656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04863"} 
[2026-08-28 18:14:32] local.INFO: GPS Element Parsed {"raw_longitude":763056768,"raw_latitude":98644736,"longitude_deg":76.3056768,"latitude_deg":9.8644736,"altitude":4,"angle":177,"satellites":40,"speed":0,"hex_longitude":"2d7b5280","hex_latitude":"05e13300","is_valid_coordinates":true} 
[2026-08-28 18:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707736320001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":125232467438206976,"note":"Value kept but may cause issues"} 
[2026-08-28 18:14:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886305777496817664,"note":"Value kept but may cause issues"} 
[2026-08-28 18:14:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787920849000,"timestamp_ms":1787920849000,"timestamp_seconds":1787920849,"priority":1,"record_length":96,"hex_timestamp":"000001a048631868"} 
[2026-08-28 18:14:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:14:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-28 18:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":72057594205701120,"note":"Value kept but may cause issues"} 
[2026-08-28 18:14:32] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-28 18:14:32] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2218911221774495708,"note":"Value kept but may cause issues"} 
[2026-08-28 18:14:32] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-28 18:14:32] local.WARNING: Large IO value detected {"io_id":72,"raw_value":6467670447264322432,"note":"Value kept but may cause issues"} 
[2026-08-28 18:14:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1608057038,"corrected_to":0} 
[2026-08-28 18:14:32] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2147868980,"note":"Value kept but may cause issues"} 
[2026-08-28 18:14:32] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-6917303216094785963,"note":"Value kept but may cause issues"} 
[2026-08-28 18:14:32] local.WARNING: Large IO value detected {"io_id":188,"raw_value":3930193920,"note":"Value kept but may cause issues"} 
[2026-08-28 18:14:32] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755408031121649,"note":"Value kept but may cause issues"} 
[2026-08-28 18:14:32] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,217,85,24,241,157,16,234,160,8,45,128,51,4,41,10,66,5,37,225,192,240,138,227,72,113,205,1,209,83,40,36,239,52,2,188,6,59,64],"length":535,"final_offset":665,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1608057038,"validated":0}]} 
[2026-08-28 18:14:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288425165803487298,"timestamp_seconds":288425165803487.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 18:14:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":163656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":163656,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 18:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":163656,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-28 18:14:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-28 18:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-28 18:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707736320001,"66":4460,"217":206,"85":15104,"24":0,"16":125232467438206976,"45":8886305777496817664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-28 18:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-28 18:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-28 18:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707736320001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:14:32] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-28 18:14:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-28 18:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":125232467438206976,"km_value":125232467438206.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:14:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886305777496817664,"description":"Unknown IO ID 45"} 
[2026-08-28 18:14:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707736320001,"power":4460,"unknown_217":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8886305777496817664}} 
[2026-08-28 18:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":163656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709431,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:14:32] local.INFO: GPS data processed {"connection_id":163656,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:14:32] local.INFO: Acknowledgment sent {"connection_id":163656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:14:36] local.INFO: TCP Data received {"connection_id":163657,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:14:36] local.INFO: Processing buffer {"connection_id":163657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:14:36] local.INFO: IMEI packet received {"connection_id":163657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 18:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":163657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:14:40] local.INFO: TCP Data received {"connection_id":163657,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:14:40] local.INFO: Processing buffer {"connection_id":163657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:14:40] local.INFO: IMEI packet received {"connection_id":163657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 18:14:40] local.INFO: IMEI acknowledgment sent {"connection_id":163657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:14:42] local.INFO: TCP Data received {"connection_id":164930,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0486212b0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0486212b0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:14:42] local.INFO: Processing buffer {"connection_id":164930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0486212b0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:14:42] local.INFO: Packet analysis {"connection_id":164930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04862"} 
[2026-08-28 18:14:42] local.INFO: Extracted packet for processing {"connection_id":164930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04862"} 
[2026-08-28 18:14:42] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 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-28 18:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707643392001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:14:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:14:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787920782000,"timestamp_ms":1787920782000,"timestamp_seconds":1787920782,"priority":1,"record_length":96,"hex_timestamp":"000001a0486212b0"} 
[2026-08-28 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-28 18:14:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:14: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-28 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-28 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-28 18:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":164930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":164930,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":164930,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:14:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707643392001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707643392001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:14:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:14:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:14:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707643392001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:14:43] local.INFO: TCP Data received {"connection_id":163658,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163658,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:14:43] local.INFO: Processing buffer {"connection_id":163658,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:14:43] local.INFO: IMEI packet received {"connection_id":163658,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 18:14:43] local.INFO: IMEI acknowledgment sent {"connection_id":163658,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:14:43] 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":709432,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:14:43] local.INFO: GPS data processed {"connection_id":164930,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:14:43] local.INFO: Acknowledgment sent {"connection_id":164930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:14:43] local.INFO: TCP Data received {"connection_id":163657,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04863a508012d34c14006aa4840001100e62a..."} 
[2026-08-28 18:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04863a508012d34c14006aa4840001100e62a..."} 
[2026-08-28 18:14:43] local.INFO: Processing buffer {"connection_id":163657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04863a508012d34c14006aa4840001100e62a..."} 
[2026-08-28 18:14:43] local.INFO: Packet analysis {"connection_id":163657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04863"} 
[2026-08-28 18:14:43] local.INFO: Extracted packet for processing {"connection_id":163657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04863"} 
[2026-08-28 18:14:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:14:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707669504001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:14:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:14:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:14:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:14:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787920885000,"timestamp_ms":1787920885000,"timestamp_seconds":1787920885,"priority":1,"record_length":96,"hex_timestamp":"000001a04863a508"} 
[2026-08-28 18:14:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:14:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 18: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-28 18: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-28 18:14:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:14:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:14:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:14:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:14:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:14:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:14:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:14:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:14:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707669504001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:14:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:14:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:14:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707669504001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:14:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:14:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18: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-28 18:14:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:14:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707669504001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:14:43] 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":709433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:14:43] local.INFO: GPS data processed {"connection_id":163657,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:14:43] local.INFO: Acknowledgment sent {"connection_id":163657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:14:47] local.INFO: TCP Data received {"connection_id":163657,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04863a508012d34c14006aa4840001100e62a..."} 
[2026-08-28 18:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04863a508012d34c14006aa4840001100e62a..."} 
[2026-08-28 18:14:47] local.INFO: Processing buffer {"connection_id":163657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04863a508012d34c14006aa4840001100e62a..."} 
[2026-08-28 18:14:47] local.INFO: Packet analysis {"connection_id":163657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04863"} 
[2026-08-28 18:14:47] local.INFO: Extracted packet for processing {"connection_id":163657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04863"} 
[2026-08-28 18:14:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 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-28 18:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707669504001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:14:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:14:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:14:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:14:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787920885000,"timestamp_ms":1787920885000,"timestamp_seconds":1787920885,"priority":1,"record_length":96,"hex_timestamp":"000001a04863a508"} 
[2026-08-28 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-28 18: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-28 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":86,"data_length":795,"current_offset":136} 
[2026-08-28 18: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-28 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-28 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-28 18:14:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:14:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:14:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:14:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:14:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:14:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:14:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:14:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707669504001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:14:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:14:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:14:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707669504001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:14:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:14:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 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-28 18:14:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:14:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707669504001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:14:47] 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":709434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:14:47] local.INFO: GPS data processed {"connection_id":163657,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:14:47] local.INFO: Acknowledgment sent {"connection_id":163657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:14:48] local.INFO: TCP Data received {"connection_id":163658,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163658,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:14:48] local.INFO: Processing buffer {"connection_id":163658,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:14:48] local.INFO: IMEI packet received {"connection_id":163658,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":163658,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:14:49] local.INFO: TCP Data received {"connection_id":163658,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a04862f928012d181dc00721ae90004b00ce2a..."} 
[2026-08-28 18:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04862f928012d181dc00721ae90004b00ce2a..."} 
[2026-08-28 18:14:49] local.INFO: Processing buffer {"connection_id":163658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04862f928012d181dc00721ae90004b00ce2a..."} 
[2026-08-28 18:14:49] local.INFO: Packet analysis {"connection_id":163658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04862"} 
[2026-08-28 18:14:49] local.INFO: Extracted packet for processing {"connection_id":163658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04862"} 
[2026-08-28 18:14:49] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647888,"longitude_deg":75.65552,"latitude_deg":11.9647888,"altitude":75,"angle":206,"satellites":42,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ae90","is_valid_coordinates":true} 
[2026-08-28 18: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-28 18:14:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707729920001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:14:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16002781856923648,"note":"Value kept but may cause issues"} 
[2026-08-28 18:14:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097271808,"note":"Value kept but may cause issues"} 
[2026-08-28 18:14:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:14:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787920841000,"timestamp_ms":1787920841000,"timestamp_seconds":1787920841,"priority":1,"record_length":96,"hex_timestamp":"000001a04862f928"} 
[2026-08-28 18: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-28 18:14:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-28 18:14:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18: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-28 18: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-28 18:14:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:14:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:14:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:14:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:14:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:14:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:14:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:14:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707729920001,"66":12504,"105":206,"83":41984,"24":0,"16":16002781856923648,"45":1737756168097271808},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:14:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:14:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:14:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707729920001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:14:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:14:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:14:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16002781856923648,"km_value":16002781856923.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:14:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097271808,"description":"Unknown IO ID 45"} 
[2026-08-28 18:14:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707729920001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097271808}} 
[2026-08-28 18:14:49] 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":709435,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:14:49] local.INFO: GPS data processed {"connection_id":163658,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:14:49] local.INFO: Acknowledgment sent {"connection_id":163658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:15:02] local.INFO: TCP Data received {"connection_id":163927,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163927,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:15:02] local.INFO: Processing buffer {"connection_id":163927,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:15:02] local.INFO: IMEI packet received {"connection_id":163927,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 18:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":163927,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:15:08] local.INFO: TCP Data received {"connection_id":163927,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163927,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:15:08] local.INFO: Processing buffer {"connection_id":163927,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:15:08] local.INFO: IMEI packet received {"connection_id":163927,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 18:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":163927,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:15:10] local.INFO: TCP Data received {"connection_id":163927,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048668368012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048668368012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:15:10] local.INFO: Processing buffer {"connection_id":163927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048668368012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:15:10] local.INFO: Packet analysis {"connection_id":163927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04866"} 
[2026-08-28 18:15:10] local.INFO: Extracted packet for processing {"connection_id":163927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04866"} 
[2026-08-28 18:15:10] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707720192001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:15:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787921073000,"timestamp_ms":1787921073000,"timestamp_seconds":1787921073,"priority":1,"record_length":96,"hex_timestamp":"000001a048668368"} 
[2026-08-28 18:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:15:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:15:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:15:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163927,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163927,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:15:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707720192001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707720192001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:15:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:15:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:15:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707720192001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":163927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709436,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:15:10] local.INFO: GPS data processed {"connection_id":163927,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:15:10] local.INFO: Acknowledgment sent {"connection_id":163927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:15:13] local.INFO: TCP Data received {"connection_id":163927,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048668368012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048668368012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:15:13] local.INFO: Processing buffer {"connection_id":163927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048668368012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:15:13] local.INFO: Packet analysis {"connection_id":163927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04866"} 
[2026-08-28 18:15:13] local.INFO: Extracted packet for processing {"connection_id":163927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04866"} 
[2026-08-28 18:15:13] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:15:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707720192001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:15:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:15:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:15:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:15:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787921073000,"timestamp_ms":1787921073000,"timestamp_seconds":1787921073,"priority":1,"record_length":96,"hex_timestamp":"000001a048668368"} 
[2026-08-28 18:15:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:15:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:15: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-28 18:15:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:15:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:15:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:15:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:15:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163927,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:15:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163927,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:15:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:15:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:15:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:15:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707720192001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:15:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:15:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:15:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707720192001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:15:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:15:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:15:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:15:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:15:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707720192001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:15:13] local.INFO: DEBUG: GPS processor result {"connection_id":163927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709437,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:15:13] local.INFO: GPS data processed {"connection_id":163927,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:15:13] local.INFO: Acknowledgment sent {"connection_id":163927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:15:20] local.INFO: TCP Data received {"connection_id":163658,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048634b30012d181dc00721ae90004b00ce29..."} 
[2026-08-28 18:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048634b30012d181dc00721ae90004b00ce29..."} 
[2026-08-28 18:15:20] local.INFO: Processing buffer {"connection_id":163658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048634b30012d181dc00721ae90004b00ce29..."} 
[2026-08-28 18:15:20] local.INFO: Packet analysis {"connection_id":163658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04863"} 
[2026-08-28 18:15:20] local.INFO: Extracted packet for processing {"connection_id":163658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04863"} 
[2026-08-28 18:15:20] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647888,"longitude_deg":75.65552,"latitude_deg":11.9647888,"altitude":75,"angle":206,"satellites":41,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ae90","is_valid_coordinates":true} 
[2026-08-28 18:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:15:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707735296001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:15:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16002781856923648,"note":"Value kept but may cause issues"} 
[2026-08-28 18:15:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097271808,"note":"Value kept but may cause issues"} 
[2026-08-28 18:15:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:15:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787920862000,"timestamp_ms":1787920862000,"timestamp_seconds":1787920862,"priority":1,"record_length":96,"hex_timestamp":"000001a048634b30"} 
[2026-08-28 18:15:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:15:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-28 18:15:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:15:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:15:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:15:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:15:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:15:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:15:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:15:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:15:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:15:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:15:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707735296001,"66":12504,"105":206,"83":41984,"24":0,"16":16002781856923648,"45":1737756168097271808},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:15:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:15:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:15:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707735296001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:15:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:15:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:15:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16002781856923648,"km_value":16002781856923.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:15:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097271808,"description":"Unknown IO ID 45"} 
[2026-08-28 18:15:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707735296001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097271808}} 
[2026-08-28 18:15:20] 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":709438,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:15:20] local.INFO: GPS data processed {"connection_id":163658,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:15:20] local.INFO: Acknowledgment sent {"connection_id":163658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:15:30] local.INFO: TCP Data received {"connection_id":164931,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:15:30] local.INFO: Processing buffer {"connection_id":164931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:15:30] local.INFO: IMEI packet received {"connection_id":164931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 18:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":164931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:15:35] local.INFO: TCP Data received {"connection_id":164931,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:15:35] local.INFO: Processing buffer {"connection_id":164931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:15:35] local.INFO: IMEI packet received {"connection_id":164931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 18:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":164931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:15:37] local.INFO: TCP Data received {"connection_id":164931,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04863a508012d34c14006aa4840001100e62a..."} 
[2026-08-28 18:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04863a508012d34c14006aa4840001100e62a..."} 
[2026-08-28 18:15:37] local.INFO: Processing buffer {"connection_id":164931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04863a508012d34c14006aa4840001100e62a..."} 
[2026-08-28 18:15:37] local.INFO: Packet analysis {"connection_id":164931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04863"} 
[2026-08-28 18:15:37] local.INFO: Extracted packet for processing {"connection_id":164931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04863"} 
[2026-08-28 18:15:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18: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-28 18:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707669504001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787920885000,"timestamp_ms":1787920885000,"timestamp_seconds":1787920885,"priority":1,"record_length":96,"hex_timestamp":"000001a04863a508"} 
[2026-08-28 18: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-28 18:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 18:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18: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-28 18: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-28 18:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707669504001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707669504001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:15:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:15:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:15: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-28 18:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707669504001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":164931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:15:37] local.INFO: GPS data processed {"connection_id":164931,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:15:37] local.INFO: Acknowledgment sent {"connection_id":164931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:15:42] local.INFO: TCP Data received {"connection_id":163659,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:15:42] local.INFO: Processing buffer {"connection_id":163659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:15:42] local.INFO: IMEI packet received {"connection_id":163659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 18:15:42] local.INFO: IMEI acknowledgment sent {"connection_id":163659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:15:48] local.INFO: TCP Data received {"connection_id":163659,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:15:48] local.INFO: Processing buffer {"connection_id":163659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:15:48] local.INFO: IMEI packet received {"connection_id":163659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":163659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:15:49] local.INFO: TCP Data received {"connection_id":163659,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048639d38012d181dc00721ae90004b00ce28..."} 
[2026-08-28 18:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048639d38012d181dc00721ae90004b00ce28..."} 
[2026-08-28 18:15:49] local.INFO: Processing buffer {"connection_id":163659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048639d38012d181dc00721ae90004b00ce28..."} 
[2026-08-28 18:15:49] local.INFO: Packet analysis {"connection_id":163659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04863"} 
[2026-08-28 18:15:49] local.INFO: Extracted packet for processing {"connection_id":163659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04863"} 
[2026-08-28 18:15:49] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647888,"longitude_deg":75.65552,"latitude_deg":11.9647888,"altitude":75,"angle":206,"satellites":40,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ae90","is_valid_coordinates":true} 
[2026-08-28 18: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-28 18:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707740672001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:15:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16002781856923648,"note":"Value kept but may cause issues"} 
[2026-08-28 18:15:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097271808,"note":"Value kept but may cause issues"} 
[2026-08-28 18:15:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:15:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787920883000,"timestamp_ms":1787920883000,"timestamp_seconds":1787920883,"priority":1,"record_length":96,"hex_timestamp":"000001a048639d38"} 
[2026-08-28 18: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-28 18:15:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-28 18:15:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18: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-28 18: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-28 18:15:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:15:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:15:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:15:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:15:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:15:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:15:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:15:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707740672001,"66":12461,"105":206,"83":41984,"24":0,"16":16002781856923648,"45":1737756168097271808},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:15:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:15:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:15:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707740672001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:15:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:15:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:15:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16002781856923648,"km_value":16002781856923.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:15:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097271808,"description":"Unknown IO ID 45"} 
[2026-08-28 18:15:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707740672001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097271808}} 
[2026-08-28 18:15:49] local.INFO: DEBUG: GPS processor result {"connection_id":163659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709440,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:15:49] local.INFO: GPS data processed {"connection_id":163659,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:15:49] local.INFO: Acknowledgment sent {"connection_id":163659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:15:57] local.INFO: TCP Data received {"connection_id":163928,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163928,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:15:57] local.INFO: Processing buffer {"connection_id":163928,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:15:57] local.INFO: IMEI packet received {"connection_id":163928,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 18:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":163928,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:16:02] local.INFO: TCP Data received {"connection_id":163928,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163928,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:16:02] local.INFO: Processing buffer {"connection_id":163928,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:16:02] local.INFO: IMEI packet received {"connection_id":163928,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 18:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":163928,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:16:07] local.INFO: TCP Data received {"connection_id":163928,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048668368012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048668368012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:16:07] local.INFO: Processing buffer {"connection_id":163928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048668368012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:16:07] local.INFO: Packet analysis {"connection_id":163928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04866"} 
[2026-08-28 18:16:07] local.INFO: Extracted packet for processing {"connection_id":163928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04866"} 
[2026-08-28 18:16:07] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707720192001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:16:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:16:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787921073000,"timestamp_ms":1787921073000,"timestamp_seconds":1787921073,"priority":1,"record_length":96,"hex_timestamp":"000001a048668368"} 
[2026-08-28 18:16:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:16:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:16:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:16:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:16:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":163928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":163928,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":163928,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:16:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707720192001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:16:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:16:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707720192001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:16:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:16:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:16:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:16:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:16:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707720192001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:16:07] local.INFO: DEBUG: GPS processor result {"connection_id":163928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709441,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:16:07] local.INFO: GPS data processed {"connection_id":163928,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:16:07] local.INFO: Acknowledgment sent {"connection_id":163928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:16:20] local.INFO: TCP Data received {"connection_id":163659,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a04863ef40012d181dc00721ae90004b00ce29..."} 
[2026-08-28 18:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04863ef40012d181dc00721ae90004b00ce29..."} 
[2026-08-28 18:16:20] local.INFO: Processing buffer {"connection_id":163659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04863ef40012d181dc00721ae90004b00ce29..."} 
[2026-08-28 18:16:20] local.INFO: Packet analysis {"connection_id":163659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04863"} 
[2026-08-28 18:16:20] local.INFO: Extracted packet for processing {"connection_id":163659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04863"} 
[2026-08-28 18:16:20] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647888,"longitude_deg":75.65552,"latitude_deg":11.9647888,"altitude":75,"angle":206,"satellites":41,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ae90","is_valid_coordinates":true} 
[2026-08-28 18:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:16:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707746048001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:16:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16002781856923648,"note":"Value kept but may cause issues"} 
[2026-08-28 18:16:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097271808,"note":"Value kept but may cause issues"} 
[2026-08-28 18:16:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:16:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787920904000,"timestamp_ms":1787920904000,"timestamp_seconds":1787920904,"priority":1,"record_length":96,"hex_timestamp":"000001a04863ef40"} 
[2026-08-28 18:16:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:16:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 18:16:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:16:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:16:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:16:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:16:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:16:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:16:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:16:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:16:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:16:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:16:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707746048001,"66":12493,"105":206,"83":41984,"24":0,"16":16002781856923648,"45":1737756168097271808},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:16:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:16:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:16:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707746048001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:16:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:16:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:16:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16002781856923648,"km_value":16002781856923.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:16:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097271808,"description":"Unknown IO ID 45"} 
[2026-08-28 18:16:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707746048001,"power":12493,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097271808}} 
[2026-08-28 18:16:20] local.INFO: DEBUG: GPS processor result {"connection_id":163659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709442,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:16:20] local.INFO: GPS data processed {"connection_id":163659,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:16:20] local.INFO: Acknowledgment sent {"connection_id":163659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:16:22] local.INFO: TCP Data received {"connection_id":164931,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04863a508012d34c14006aa4840001100e62a..."} 
[2026-08-28 18:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04863a508012d34c14006aa4840001100e62a..."} 
[2026-08-28 18:16:22] local.INFO: Processing buffer {"connection_id":164931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04863a508012d34c14006aa4840001100e62a..."} 
[2026-08-28 18:16:22] local.INFO: Packet analysis {"connection_id":164931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04863"} 
[2026-08-28 18:16:22] local.INFO: Extracted packet for processing {"connection_id":164931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04863"} 
[2026-08-28 18:16:22] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:16:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:16:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707669504001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:16:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:16:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:16:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:16:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787920885000,"timestamp_ms":1787920885000,"timestamp_seconds":1787920885,"priority":1,"record_length":96,"hex_timestamp":"000001a04863a508"} 
[2026-08-28 18:16:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:16:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:16:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 18:16: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-28 18:16:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:16:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:16:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:16:22] local.INFO: Teltonika packet parsed successfully {"connection_id":164931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:16:22] local.INFO: Passing IMEI to GPS processor {"connection_id":164931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:16:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":164931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:16:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:16:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:16:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:16:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707669504001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:16:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:16:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:16:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707669504001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:16:22] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:16:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:16: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-28 18:16:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:16:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707669504001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:16:22] local.INFO: DEBUG: GPS processor result {"connection_id":164931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:16:22] local.INFO: GPS data processed {"connection_id":164931,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:16:22] local.INFO: Acknowledgment sent {"connection_id":164931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:16:30] local.INFO: TCP Data received {"connection_id":166293,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:16:30] local.INFO: Processing buffer {"connection_id":166293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:16:30] local.INFO: IMEI packet received {"connection_id":166293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 18:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":166293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:16:35] local.INFO: TCP Data received {"connection_id":166293,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:16:35] local.INFO: Processing buffer {"connection_id":166293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:16:35] local.INFO: IMEI packet received {"connection_id":166293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 18:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":166293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:16:37] local.INFO: TCP Data received {"connection_id":166293,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04863a508012d34c14006aa4840001100e62a..."} 
[2026-08-28 18:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04863a508012d34c14006aa4840001100e62a..."} 
[2026-08-28 18:16:37] local.INFO: Processing buffer {"connection_id":166293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04863a508012d34c14006aa4840001100e62a..."} 
[2026-08-28 18:16:37] local.INFO: Packet analysis {"connection_id":166293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04863"} 
[2026-08-28 18:16:37] local.INFO: Extracted packet for processing {"connection_id":166293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04863"} 
[2026-08-28 18:16:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18: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-28 18:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707669504001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787920885000,"timestamp_ms":1787920885000,"timestamp_seconds":1787920885,"priority":1,"record_length":96,"hex_timestamp":"000001a04863a508"} 
[2026-08-28 18: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-28 18:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 18:16:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:16:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18: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-28 18:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":166293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":166293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":166293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707669504001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707669504001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:16:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:16:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:16: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-28 18:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707669504001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":166293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:16:37] local.INFO: GPS data processed {"connection_id":166293,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:16:37] local.INFO: Acknowledgment sent {"connection_id":166293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:16:42] local.INFO: TCP Data received {"connection_id":164932,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164932,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:16:42] local.INFO: Processing buffer {"connection_id":164932,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:16:42] local.INFO: IMEI packet received {"connection_id":164932,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 18:16:42] local.INFO: IMEI acknowledgment sent {"connection_id":164932,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:16:46] local.INFO: TCP Data received {"connection_id":163928,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048668368012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048668368012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:16:46] local.INFO: Processing buffer {"connection_id":163928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048668368012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:16:46] local.INFO: Packet analysis {"connection_id":163928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04866"} 
[2026-08-28 18:16:46] local.INFO: Extracted packet for processing {"connection_id":163928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04866"} 
[2026-08-28 18:16:46] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:16:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707720192001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:16:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:16:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:16:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:16:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787921073000,"timestamp_ms":1787921073000,"timestamp_seconds":1787921073,"priority":1,"record_length":96,"hex_timestamp":"000001a048668368"} 
[2026-08-28 18:16:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:16:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:16: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-28 18:16:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:16:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:16:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:16:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:16:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163928,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:16:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163928,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:16:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:16:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:16:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:16:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707720192001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:16:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:16:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:16:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707720192001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:16:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:16:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:16:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:16:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:16:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707720192001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:16:46] local.INFO: DEBUG: GPS processor result {"connection_id":163928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709445,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:16:46] local.INFO: GPS data processed {"connection_id":163928,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:16:46] local.INFO: Acknowledgment sent {"connection_id":163928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:16:48] local.INFO: TCP Data received {"connection_id":164932,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164932,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:16:48] local.INFO: Processing buffer {"connection_id":164932,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:16:48] local.INFO: IMEI packet received {"connection_id":164932,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:16:48] local.INFO: IMEI acknowledgment sent {"connection_id":164932,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:16:49] local.INFO: TCP Data received {"connection_id":164932,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048644148012d181dc00721ae90004b00ce2a..."} 
[2026-08-28 18:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048644148012d181dc00721ae90004b00ce2a..."} 
[2026-08-28 18:16:49] local.INFO: Processing buffer {"connection_id":164932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048644148012d181dc00721ae90004b00ce2a..."} 
[2026-08-28 18:16:49] local.INFO: Packet analysis {"connection_id":164932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04864"} 
[2026-08-28 18:16:49] local.INFO: Extracted packet for processing {"connection_id":164932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04864"} 
[2026-08-28 18:16:49] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647888,"longitude_deg":75.65552,"latitude_deg":11.9647888,"altitude":75,"angle":206,"satellites":42,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ae90","is_valid_coordinates":true} 
[2026-08-28 18:16: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-28 18:16:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707751424001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:16:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16002781856923648,"note":"Value kept but may cause issues"} 
[2026-08-28 18:16:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097271808,"note":"Value kept but may cause issues"} 
[2026-08-28 18:16:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:16:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787920925000,"timestamp_ms":1787920925000,"timestamp_seconds":1787920925,"priority":1,"record_length":96,"hex_timestamp":"000001a048644148"} 
[2026-08-28 18:16:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:16:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-28 18:16:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2283,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:16: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-28 18:16:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:16:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:16:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:16:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:16:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:16:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:16:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:16:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:16:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707751424001,"66":12461,"105":206,"83":41984,"24":0,"16":16002781856923648,"45":1737756168097271808},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:16:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:16:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:16:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707751424001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:16:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:16:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:16:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16002781856923648,"km_value":16002781856923.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:16:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097271808,"description":"Unknown IO ID 45"} 
[2026-08-28 18:16:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707751424001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097271808}} 
[2026-08-28 18:16:49] 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":709446,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:16:49] local.INFO: GPS data processed {"connection_id":164932,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:16:49] local.INFO: Acknowledgment sent {"connection_id":164932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:17:06] local.INFO: TCP Data received {"connection_id":163929,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163929,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:17:06] local.INFO: Processing buffer {"connection_id":163929,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:17:06] local.INFO: IMEI packet received {"connection_id":163929,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 18:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":163929,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:17:07] local.INFO: TCP Data received {"connection_id":163929,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163929,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:17:07] local.INFO: Processing buffer {"connection_id":163929,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:17:07] local.INFO: IMEI packet received {"connection_id":163929,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 18:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":163929,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:17:10] local.INFO: TCP Data received {"connection_id":163929,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048668368012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048668368012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:17:10] local.INFO: Processing buffer {"connection_id":163929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048668368012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:17:10] local.INFO: Packet analysis {"connection_id":163929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04866"} 
[2026-08-28 18:17:10] local.INFO: Extracted packet for processing {"connection_id":163929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04866"} 
[2026-08-28 18:17:10] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707720192001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:17:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:17:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787921073000,"timestamp_ms":1787921073000,"timestamp_seconds":1787921073,"priority":1,"record_length":96,"hex_timestamp":"000001a048668368"} 
[2026-08-28 18:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:17:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:17:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:17:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163929,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163929,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:17:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707720192001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707720192001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:17:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:17:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:17:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707720192001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":163929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709447,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:17:10] local.INFO: GPS data processed {"connection_id":163929,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:17:10] local.INFO: Acknowledgment sent {"connection_id":163929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:17:13] local.INFO: TCP Data received {"connection_id":163929,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048668368012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048668368012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:17:13] local.INFO: Processing buffer {"connection_id":163929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048668368012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:17:13] local.INFO: Packet analysis {"connection_id":163929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04866"} 
[2026-08-28 18:17:13] local.INFO: Extracted packet for processing {"connection_id":163929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04866"} 
[2026-08-28 18:17:13] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:17:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:17:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707720192001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:17:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:17:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:17:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:17:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787921073000,"timestamp_ms":1787921073000,"timestamp_seconds":1787921073,"priority":1,"record_length":96,"hex_timestamp":"000001a048668368"} 
[2026-08-28 18:17:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:17:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:17:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18: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-28 18:17:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:17:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:17:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:17:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:17:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163929,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:17:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163929,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:17:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:17:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:17:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:17:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707720192001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:17:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:17:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:17:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707720192001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:17:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:17:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:17:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:17:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:17:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707720192001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:17:13] local.INFO: DEBUG: GPS processor result {"connection_id":163929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709448,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:17:13] local.INFO: GPS data processed {"connection_id":163929,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:17:13] local.INFO: Acknowledgment sent {"connection_id":163929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:17:17] local.INFO: TCP Data received {"connection_id":166293,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048683cd0012d34c14006aa4840000e00e627..."} 
[2026-08-28 18:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048683cd0012d34c14006aa4840000e00e627..."} 
[2026-08-28 18:17:17] local.INFO: Processing buffer {"connection_id":166293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048683cd0012d34c14006aa4840000e00e627..."} 
[2026-08-28 18:17:17] local.INFO: Packet analysis {"connection_id":166293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04868"} 
[2026-08-28 18:17:17] local.INFO: Extracted packet for processing {"connection_id":166293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04868"} 
[2026-08-28 18:17:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:17:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707746560001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:17:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:17:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:17:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:17:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787921186000,"timestamp_ms":1787921186000,"timestamp_seconds":1787921186,"priority":1,"record_length":96,"hex_timestamp":"000001a048683cd0"} 
[2026-08-28 18:17:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:17: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-28 18:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 18:17: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-28 18:17:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:17:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:17:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:17:17] local.INFO: Teltonika packet parsed successfully {"connection_id":166293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:17:17] local.INFO: Passing IMEI to GPS processor {"connection_id":166293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:17:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":166293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:17:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:17:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:17:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:17:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707746560001,"66":25419,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:17:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:17:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:17:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707746560001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:17:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:17:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:17: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-28 18:17:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:17:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707746560001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:17:17] local.INFO: DEBUG: GPS processor result {"connection_id":166293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:17:17] local.INFO: GPS data processed {"connection_id":166293,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:17:17] local.INFO: Acknowledgment sent {"connection_id":166293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:17:20] local.INFO: TCP Data received {"connection_id":164932,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a04867c7a0012d181dc00721ae90004b00ce29..."} 
[2026-08-28 18:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04867c7a0012d181dc00721ae90004b00ce29..."} 
[2026-08-28 18:17:20] local.INFO: Processing buffer {"connection_id":164932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04867c7a0012d181dc00721ae90004b00ce29..."} 
[2026-08-28 18:17:20] local.INFO: Packet analysis {"connection_id":164932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04867"} 
[2026-08-28 18:17:20] local.INFO: Extracted packet for processing {"connection_id":164932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04867"} 
[2026-08-28 18:17:20] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647888,"longitude_deg":75.65552,"latitude_deg":11.9647888,"altitude":75,"angle":206,"satellites":41,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ae90","is_valid_coordinates":true} 
[2026-08-28 18:17:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:17:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707810560001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:17:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16002781856923648,"note":"Value kept but may cause issues"} 
[2026-08-28 18:17:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097271808,"note":"Value kept but may cause issues"} 
[2026-08-28 18:17:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:17:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787921156000,"timestamp_ms":1787921156000,"timestamp_seconds":1787921156,"priority":1,"record_length":96,"hex_timestamp":"000001a04867c7a0"} 
[2026-08-28 18:17:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:17:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:17:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 18:17:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:17:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:17:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:17:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:17:20] local.INFO: Teltonika packet parsed successfully {"connection_id":164932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:17:20] local.INFO: Passing IMEI to GPS processor {"connection_id":164932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:17:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":164932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:17:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:17:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:17:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:17:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707810560001,"66":12374,"105":206,"83":41984,"24":0,"16":16002781856923648,"45":1737756168097271808},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:17:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:17:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:17:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707810560001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:17:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:17:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:17:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16002781856923648,"km_value":16002781856923.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:17:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097271808,"description":"Unknown IO ID 45"} 
[2026-08-28 18:17:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707810560001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097271808}} 
[2026-08-28 18:17:20] 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":709450,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:17:20] local.INFO: GPS data processed {"connection_id":164932,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:17:20] local.INFO: Acknowledgment sent {"connection_id":164932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:17:42] local.INFO: TCP Data received {"connection_id":166294,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166294,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:17:42] local.INFO: Processing buffer {"connection_id":166294,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:17:42] local.INFO: IMEI packet received {"connection_id":166294,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 18:17:42] local.INFO: IMEI acknowledgment sent {"connection_id":166294,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:17:48] local.INFO: TCP Data received {"connection_id":166294,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166294,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:17:48] local.INFO: Processing buffer {"connection_id":166294,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:17:48] local.INFO: IMEI packet received {"connection_id":166294,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:17:48] local.INFO: IMEI acknowledgment sent {"connection_id":166294,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:17:49] local.INFO: TCP Data received {"connection_id":166294,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0486819a8012d181dc00721ae90004b00ce28..."} 
[2026-08-28 18:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0486819a8012d181dc00721ae90004b00ce28..."} 
[2026-08-28 18:17:49] local.INFO: Processing buffer {"connection_id":166294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0486819a8012d181dc00721ae90004b00ce28..."} 
[2026-08-28 18:17:49] local.INFO: Packet analysis {"connection_id":166294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04868"} 
[2026-08-28 18:17:49] local.INFO: Extracted packet for processing {"connection_id":166294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04868"} 
[2026-08-28 18:17:49] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647888,"longitude_deg":75.65552,"latitude_deg":11.9647888,"altitude":75,"angle":206,"satellites":40,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ae90","is_valid_coordinates":true} 
[2026-08-28 18:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:17:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707815936001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:17:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16002781856923648,"note":"Value kept but may cause issues"} 
[2026-08-28 18:17:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097271808,"note":"Value kept but may cause issues"} 
[2026-08-28 18:17:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:17:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787921177000,"timestamp_ms":1787921177000,"timestamp_seconds":1787921177,"priority":1,"record_length":96,"hex_timestamp":"000001a0486819a8"} 
[2026-08-28 18:17:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:17:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 18:17:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:17:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:17:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:17:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:17:49] local.INFO: Teltonika packet parsed successfully {"connection_id":166294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:17:49] local.INFO: Passing IMEI to GPS processor {"connection_id":166294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:17:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":166294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:17:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:17:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:17:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:17:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707815936001,"66":12374,"105":206,"83":41984,"24":0,"16":16002781856923648,"45":1737756168097271808},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:17:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:17:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:17:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707815936001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:17:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:17:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:17:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16002781856923648,"km_value":16002781856923.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:17:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097271808,"description":"Unknown IO ID 45"} 
[2026-08-28 18:17:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707815936001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097271808}} 
[2026-08-28 18:17:49] local.INFO: DEBUG: GPS processor result {"connection_id":166294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709451,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:17:49] local.INFO: GPS data processed {"connection_id":166294,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:17:49] local.INFO: Acknowledgment sent {"connection_id":166294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:17:56] local.INFO: TCP Data received {"connection_id":163930,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163930,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:17:56] local.INFO: Processing buffer {"connection_id":163930,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:17:56] local.INFO: IMEI packet received {"connection_id":163930,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 18:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":163930,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:18:00] local.INFO: TCP Data received {"connection_id":164933,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:18:00] local.INFO: Processing buffer {"connection_id":164933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:18:00] local.INFO: IMEI packet received {"connection_id":164933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 18:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":164933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:18:01] local.INFO: TCP Data received {"connection_id":163930,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163930,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:18:01] local.INFO: Processing buffer {"connection_id":163930,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:18:01] local.INFO: IMEI packet received {"connection_id":163930,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 18:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":163930,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:18:06] local.INFO: TCP Data received {"connection_id":164933,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:18:06] local.INFO: Processing buffer {"connection_id":164933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:18:06] local.INFO: IMEI packet received {"connection_id":164933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 18:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":164933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:18:06] local.INFO: TCP Data received {"connection_id":163930,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048668368012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048668368012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:18:06] local.INFO: Processing buffer {"connection_id":163930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048668368012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:18:06] local.INFO: Packet analysis {"connection_id":163930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04866"} 
[2026-08-28 18:18:06] local.INFO: Extracted packet for processing {"connection_id":163930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04866"} 
[2026-08-28 18:18:06] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707720192001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787921073000,"timestamp_ms":1787921073000,"timestamp_seconds":1787921073,"priority":1,"record_length":96,"hex_timestamp":"000001a048668368"} 
[2026-08-28 18:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:18:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:18:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:18:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163930,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163930,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707720192001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707720192001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:18:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:18:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707720192001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":163930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709452,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:18:06] local.INFO: GPS data processed {"connection_id":163930,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:18:06] local.INFO: Acknowledgment sent {"connection_id":163930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:18:09] local.INFO: TCP Data received {"connection_id":164933,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048683cd0012d34c14006aa4840000e00e627..."} 
[2026-08-28 18:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048683cd0012d34c14006aa4840000e00e627..."} 
[2026-08-28 18:18:09] local.INFO: Processing buffer {"connection_id":164933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048683cd0012d34c14006aa4840000e00e627..."} 
[2026-08-28 18:18:09] local.INFO: Packet analysis {"connection_id":164933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04868"} 
[2026-08-28 18:18:09] local.INFO: Extracted packet for processing {"connection_id":164933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04868"} 
[2026-08-28 18:18:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:18:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707746560001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:18:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:18:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:18:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:18:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787921186000,"timestamp_ms":1787921186000,"timestamp_seconds":1787921186,"priority":1,"record_length":96,"hex_timestamp":"000001a048683cd0"} 
[2026-08-28 18:18:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:18:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 18:18:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:18:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:18:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:18:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:18:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:18:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:18:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:18:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:18:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:18:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:18:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707746560001,"66":25419,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:18:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:18:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:18:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707746560001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:18:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:18:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:18: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-28 18:18:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:18:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707746560001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:18:09] local.INFO: DEBUG: GPS processor result {"connection_id":164933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:18:09] local.INFO: GPS data processed {"connection_id":164933,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:18:09] local.INFO: Acknowledgment sent {"connection_id":164933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:18:12] local.INFO: TCP Data received {"connection_id":164933,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048683cd0012d34c14006aa4840000e00e627..."} 
[2026-08-28 18:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048683cd0012d34c14006aa4840000e00e627..."} 
[2026-08-28 18:18:12] local.INFO: Processing buffer {"connection_id":164933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048683cd0012d34c14006aa4840000e00e627..."} 
[2026-08-28 18:18:12] local.INFO: Packet analysis {"connection_id":164933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04868"} 
[2026-08-28 18:18:12] local.INFO: Extracted packet for processing {"connection_id":164933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04868"} 
[2026-08-28 18:18:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:18:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707746560001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:18:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:18:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:18:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:18:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787921186000,"timestamp_ms":1787921186000,"timestamp_seconds":1787921186,"priority":1,"record_length":96,"hex_timestamp":"000001a048683cd0"} 
[2026-08-28 18:18:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:18: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-28 18:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 18:18:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:18:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:18:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:18:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:18:12] local.INFO: Teltonika packet parsed successfully {"connection_id":164933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:18:12] local.INFO: Passing IMEI to GPS processor {"connection_id":164933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:18:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":164933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:18:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:18:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:18:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:18:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707746560001,"66":25419,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:18:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:18:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:18:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707746560001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:18:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:18:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:18: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-28 18:18:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:18:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707746560001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:18:12] local.INFO: DEBUG: GPS processor result {"connection_id":164933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:18:12] local.INFO: GPS data processed {"connection_id":164933,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:18:12] local.INFO: Acknowledgment sent {"connection_id":164933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:18:19] local.INFO: TCP Data received {"connection_id":166294,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048686bb0012d181dc00721ae90004b00ce28..."} 
[2026-08-28 18:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048686bb0012d181dc00721ae90004b00ce28..."} 
[2026-08-28 18:18:19] local.INFO: Processing buffer {"connection_id":166294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048686bb0012d181dc00721ae90004b00ce28..."} 
[2026-08-28 18:18:19] local.INFO: Packet analysis {"connection_id":166294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04868"} 
[2026-08-28 18:18:19] local.INFO: Extracted packet for processing {"connection_id":166294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04868"} 
[2026-08-28 18:18:19] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647888,"longitude_deg":75.65552,"latitude_deg":11.9647888,"altitude":75,"angle":206,"satellites":40,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ae90","is_valid_coordinates":true} 
[2026-08-28 18: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-28 18:18:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707821312001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:18:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16002781856923648,"note":"Value kept but may cause issues"} 
[2026-08-28 18:18:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097271808,"note":"Value kept but may cause issues"} 
[2026-08-28 18:18:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:18:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787921198000,"timestamp_ms":1787921198000,"timestamp_seconds":1787921198,"priority":1,"record_length":96,"hex_timestamp":"000001a048686bb0"} 
[2026-08-28 18: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-28 18:18:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 18:18:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18: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-28 18: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-28 18:18:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:18:19] local.INFO: Teltonika packet parsed successfully {"connection_id":166294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:18:19] local.INFO: Passing IMEI to GPS processor {"connection_id":166294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:18:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":166294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:18:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:18:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:18:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:18:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707821312001,"66":12341,"105":206,"83":41984,"24":0,"16":16002781856923648,"45":1737756168097271808},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:18:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:18:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:18:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707821312001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:18:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:18:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:18:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16002781856923648,"km_value":16002781856923.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:18:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097271808,"description":"Unknown IO ID 45"} 
[2026-08-28 18:18:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707821312001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097271808}} 
[2026-08-28 18:18:19] local.INFO: DEBUG: GPS processor result {"connection_id":166294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709455,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:18:19] local.INFO: GPS data processed {"connection_id":166294,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:18:19] local.INFO: Acknowledgment sent {"connection_id":166294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:18:31] local.INFO: TCP Data received {"connection_id":163660,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:18:31] local.INFO: Processing buffer {"connection_id":163660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:18:31] local.INFO: IMEI packet received {"connection_id":163660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 18:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":163660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:18:36] local.INFO: TCP Data received {"connection_id":163660,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:18:36] local.INFO: Processing buffer {"connection_id":163660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:18:36] local.INFO: IMEI packet received {"connection_id":163660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 18:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":163660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:18:39] local.INFO: TCP Data received {"connection_id":163660,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048683cd0012d34c14006aa4840000e00e627..."} 
[2026-08-28 18:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048683cd0012d34c14006aa4840000e00e627..."} 
[2026-08-28 18:18:39] local.INFO: Processing buffer {"connection_id":163660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048683cd0012d34c14006aa4840000e00e627..."} 
[2026-08-28 18:18:39] local.INFO: Packet analysis {"connection_id":163660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04868"} 
[2026-08-28 18:18:39] local.INFO: Extracted packet for processing {"connection_id":163660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04868"} 
[2026-08-28 18:18:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:18:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707746560001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:18:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:18:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:18:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:18:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787921186000,"timestamp_ms":1787921186000,"timestamp_seconds":1787921186,"priority":1,"record_length":96,"hex_timestamp":"000001a048683cd0"} 
[2026-08-28 18:18:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:18:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 18:18:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:18:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:18:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:18:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:18:39] local.INFO: Teltonika packet parsed successfully {"connection_id":163660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:18:39] local.INFO: Passing IMEI to GPS processor {"connection_id":163660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:18:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":163660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:18:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:18:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:18:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:18:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707746560001,"66":25419,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:18:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:18:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:18:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707746560001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:18:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:18:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:18:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:18:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:18:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707746560001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:18:39] local.INFO: DEBUG: GPS processor result {"connection_id":163660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:18:39] local.INFO: GPS data processed {"connection_id":163660,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:18:39] local.INFO: Acknowledgment sent {"connection_id":163660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:18:41] local.INFO: TCP Data received {"connection_id":163930,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048668368012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048668368012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:18:41] local.INFO: Processing buffer {"connection_id":163930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048668368012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:18:41] local.INFO: Packet analysis {"connection_id":163930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04866"} 
[2026-08-28 18:18:41] local.INFO: Extracted packet for processing {"connection_id":163930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04866"} 
[2026-08-28 18:18:41] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707720192001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:18:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:18:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787921073000,"timestamp_ms":1787921073000,"timestamp_seconds":1787921073,"priority":1,"record_length":96,"hex_timestamp":"000001a048668368"} 
[2026-08-28 18:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:18:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:18: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-28 18:18:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":163930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":163930,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":163930,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:18:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707720192001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707720192001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:18:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:18:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:18:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707720192001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":163930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709457,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:18:41] local.INFO: GPS data processed {"connection_id":163930,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:18:41] local.INFO: Acknowledgment sent {"connection_id":163930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:18:48] local.INFO: TCP Data received {"connection_id":166295,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166295,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:18:48] local.INFO: Processing buffer {"connection_id":166295,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:18:48] local.INFO: IMEI packet received {"connection_id":166295,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 18:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":166295,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:18:53] local.INFO: TCP Data received {"connection_id":166295,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166295,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:18:53] local.INFO: Processing buffer {"connection_id":166295,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:18:53] local.INFO: IMEI packet received {"connection_id":166295,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":166295,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:18:54] local.INFO: TCP Data received {"connection_id":166295,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a04868bdb8012d181dc00721ae90004b00ce29..."} 
[2026-08-28 18:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04868bdb8012d181dc00721ae90004b00ce29..."} 
[2026-08-28 18:18:54] local.INFO: Processing buffer {"connection_id":166295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04868bdb8012d181dc00721ae90004b00ce29..."} 
[2026-08-28 18:18:54] local.INFO: Packet analysis {"connection_id":166295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04868"} 
[2026-08-28 18:18:54] local.INFO: Extracted packet for processing {"connection_id":166295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04868"} 
[2026-08-28 18:18:54] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647888,"longitude_deg":75.65552,"latitude_deg":11.9647888,"altitude":75,"angle":206,"satellites":41,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ae90","is_valid_coordinates":true} 
[2026-08-28 18:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:18:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707826688001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:18:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16002781856923648,"note":"Value kept but may cause issues"} 
[2026-08-28 18:18:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097271808,"note":"Value kept but may cause issues"} 
[2026-08-28 18:18:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:18:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787921219000,"timestamp_ms":1787921219000,"timestamp_seconds":1787921219,"priority":1,"record_length":96,"hex_timestamp":"000001a04868bdb8"} 
[2026-08-28 18:18:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:18:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 18:18:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:18:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:18:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:18:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:18:54] local.INFO: Teltonika packet parsed successfully {"connection_id":166295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:18:54] local.INFO: Passing IMEI to GPS processor {"connection_id":166295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:18:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":166295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:18:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:18:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:18:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:18:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707826688001,"66":12341,"105":206,"83":41984,"24":0,"16":16002781856923648,"45":1737756168097271808},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:18:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:18:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:18:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707826688001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:18:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:18:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:18:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16002781856923648,"km_value":16002781856923.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:18:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097271808,"description":"Unknown IO ID 45"} 
[2026-08-28 18:18:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707826688001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097271808}} 
[2026-08-28 18:18:54] local.INFO: DEBUG: GPS processor result {"connection_id":166295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709458,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:18:54] local.INFO: GPS data processed {"connection_id":166295,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:18:54] local.INFO: Acknowledgment sent {"connection_id":166295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:18:56] local.INFO: TCP Data received {"connection_id":164934,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164934,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:18:56] local.INFO: Processing buffer {"connection_id":164934,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:18:56] local.INFO: IMEI packet received {"connection_id":164934,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 18:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":164934,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:18:58] local.INFO: TCP Data received {"connection_id":166295,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048690fc0012d181dc00721ae90004b00ce29..."} 
[2026-08-28 18:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048690fc0012d181dc00721ae90004b00ce29..."} 
[2026-08-28 18:18:58] local.INFO: Processing buffer {"connection_id":166295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048690fc0012d181dc00721ae90004b00ce29..."} 
[2026-08-28 18:18:58] local.INFO: Packet analysis {"connection_id":166295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04869"} 
[2026-08-28 18:18:58] local.INFO: Extracted packet for processing {"connection_id":166295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04869"} 
[2026-08-28 18:18:58] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647888,"longitude_deg":75.65552,"latitude_deg":11.9647888,"altitude":75,"angle":206,"satellites":41,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ae90","is_valid_coordinates":true} 
[2026-08-28 18:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:18:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707832064001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:18:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16002781856923648,"note":"Value kept but may cause issues"} 
[2026-08-28 18:18:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097271808,"note":"Value kept but may cause issues"} 
[2026-08-28 18:18:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:18:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787921240000,"timestamp_ms":1787921240000,"timestamp_seconds":1787921240,"priority":1,"record_length":96,"hex_timestamp":"000001a048690fc0"} 
[2026-08-28 18:18:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:18:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 18:18:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:18:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:18:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:18:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:18:58] local.INFO: Teltonika packet parsed successfully {"connection_id":166295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:18:58] local.INFO: Passing IMEI to GPS processor {"connection_id":166295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:18:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":166295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:18:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:18:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:18:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:18:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707832064001,"66":12341,"105":206,"83":41984,"24":0,"16":16002781856923648,"45":1737756168097271808},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:18:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:18:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:18:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707832064001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:18:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:18:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:18:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16002781856923648,"km_value":16002781856923.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:18:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097271808,"description":"Unknown IO ID 45"} 
[2026-08-28 18:18:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707832064001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097271808}} 
[2026-08-28 18:18:58] local.INFO: DEBUG: GPS processor result {"connection_id":166295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709459,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:18:58] local.INFO: GPS data processed {"connection_id":166295,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:18:58] local.INFO: Acknowledgment sent {"connection_id":166295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:19:02] local.INFO: TCP Data received {"connection_id":164934,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164934,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:19:02] local.INFO: Processing buffer {"connection_id":164934,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:19:02] local.INFO: IMEI packet received {"connection_id":164934,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 18:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":164934,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:19:05] local.INFO: TCP Data received {"connection_id":164934,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048668368012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048668368012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:19:05] local.INFO: Processing buffer {"connection_id":164934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048668368012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:19:05] local.INFO: Packet analysis {"connection_id":164934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04866"} 
[2026-08-28 18:19:05] local.INFO: Extracted packet for processing {"connection_id":164934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04866"} 
[2026-08-28 18:19:05] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707720192001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787921073000,"timestamp_ms":1787921073000,"timestamp_seconds":1787921073,"priority":1,"record_length":96,"hex_timestamp":"000001a048668368"} 
[2026-08-28 18:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:19:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":164934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":164934,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":164934,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707720192001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707720192001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:19:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:19:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707720192001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":164934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709460,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:19:05] local.INFO: GPS data processed {"connection_id":164934,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:19:05] local.INFO: Acknowledgment sent {"connection_id":164934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:19:12] local.INFO: TCP Data received {"connection_id":163660,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048683cd0012d34c14006aa4840000e00e627..."} 
[2026-08-28 18:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048683cd0012d34c14006aa4840000e00e627..."} 
[2026-08-28 18:19:12] local.INFO: Processing buffer {"connection_id":163660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048683cd0012d34c14006aa4840000e00e627..."} 
[2026-08-28 18:19:12] local.INFO: Packet analysis {"connection_id":163660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04868"} 
[2026-08-28 18:19:12] local.INFO: Extracted packet for processing {"connection_id":163660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04868"} 
[2026-08-28 18:19:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707746560001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:19:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:19:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787921186000,"timestamp_ms":1787921186000,"timestamp_seconds":1787921186,"priority":1,"record_length":96,"hex_timestamp":"000001a048683cd0"} 
[2026-08-28 18:19:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:19: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-28 18:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 18:19:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:19:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:19:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":163660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":163660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":163660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:19:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707746560001,"66":25419,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707746560001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:19:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:19:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:19: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-28 18:19:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707746560001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":163660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:19:12] local.INFO: GPS data processed {"connection_id":163660,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:19:12] local.INFO: Acknowledgment sent {"connection_id":163660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:19:30] local.INFO: TCP Data received {"connection_id":166296,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:19:30] local.INFO: Processing buffer {"connection_id":166296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:19:30] local.INFO: IMEI packet received {"connection_id":166296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 18:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":166296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:19:35] local.INFO: TCP Data received {"connection_id":166296,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:19:35] local.INFO: Processing buffer {"connection_id":166296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:19:35] local.INFO: IMEI packet received {"connection_id":166296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 18:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":166296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:19:37] local.INFO: TCP Data received {"connection_id":166296,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048683cd0012d34c14006aa4840000e00e627..."} 
[2026-08-28 18:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048683cd0012d34c14006aa4840000e00e627..."} 
[2026-08-28 18:19:37] local.INFO: Processing buffer {"connection_id":166296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048683cd0012d34c14006aa4840000e00e627..."} 
[2026-08-28 18:19:37] local.INFO: Packet analysis {"connection_id":166296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04868"} 
[2026-08-28 18:19:37] local.INFO: Extracted packet for processing {"connection_id":166296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04868"} 
[2026-08-28 18:19:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707746560001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787921186000,"timestamp_ms":1787921186000,"timestamp_seconds":1787921186,"priority":1,"record_length":96,"hex_timestamp":"000001a048683cd0"} 
[2026-08-28 18:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 18:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":166296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":166296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":166296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707746560001,"66":25419,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707746560001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:19:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:19:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:19: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-28 18:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707746560001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":166296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:19:37] local.INFO: GPS data processed {"connection_id":166296,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:19:37] local.INFO: Acknowledgment sent {"connection_id":166296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:19:40] local.INFO: TCP Data received {"connection_id":164934,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048668368012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048668368012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:19:40] local.INFO: Processing buffer {"connection_id":164934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048668368012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:19:40] local.INFO: Packet analysis {"connection_id":164934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04866"} 
[2026-08-28 18:19:40] local.INFO: Extracted packet for processing {"connection_id":164934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04866"} 
[2026-08-28 18:19:40] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707720192001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:19:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:19:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787921073000,"timestamp_ms":1787921073000,"timestamp_seconds":1787921073,"priority":1,"record_length":96,"hex_timestamp":"000001a048668368"} 
[2026-08-28 18:19:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:19:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:19: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-28 18:19:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:19:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":164934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":164934,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":164934,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:19:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707720192001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707720192001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:19:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:19:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:19:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:19:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707720192001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:19:40] local.INFO: DEBUG: GPS processor result {"connection_id":164934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709463,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:19:40] local.INFO: GPS data processed {"connection_id":164934,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:19:40] local.INFO: Acknowledgment sent {"connection_id":164934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:19:43] local.INFO: TCP Data received {"connection_id":163931,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163931,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:19:43] local.INFO: Processing buffer {"connection_id":163931,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:19:43] local.INFO: IMEI packet received {"connection_id":163931,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 18:19:43] local.INFO: IMEI acknowledgment sent {"connection_id":163931,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:19:43] local.INFO: TCP Data received {"connection_id":163931,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163931,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:19:43] local.INFO: Processing buffer {"connection_id":163931,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:19:43] local.INFO: IMEI packet received {"connection_id":163931,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:19:43] local.INFO: IMEI acknowledgment sent {"connection_id":163931,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:19:48] local.INFO: TCP Data received {"connection_id":163931,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163931,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:19:48] local.INFO: Processing buffer {"connection_id":163931,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:19:48] local.INFO: IMEI packet received {"connection_id":163931,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":163931,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:19:49] local.INFO: TCP Data received {"connection_id":163931,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0486961c8012d181dc00721ae90004b00ce27..."} 
[2026-08-28 18:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0486961c8012d181dc00721ae90004b00ce27..."} 
[2026-08-28 18:19:49] local.INFO: Processing buffer {"connection_id":163931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0486961c8012d181dc00721ae90004b00ce27..."} 
[2026-08-28 18:19:49] local.INFO: Packet analysis {"connection_id":163931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04869"} 
[2026-08-28 18:19:49] local.INFO: Extracted packet for processing {"connection_id":163931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04869"} 
[2026-08-28 18:19:49] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647888,"longitude_deg":75.65552,"latitude_deg":11.9647888,"altitude":75,"angle":206,"satellites":39,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ae90","is_valid_coordinates":true} 
[2026-08-28 18:19:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:19:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707837440001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:19:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16002781856923648,"note":"Value kept but may cause issues"} 
[2026-08-28 18:19:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097271808,"note":"Value kept but may cause issues"} 
[2026-08-28 18:19:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:19:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787921261000,"timestamp_ms":1787921261000,"timestamp_seconds":1787921261,"priority":1,"record_length":96,"hex_timestamp":"000001a0486961c8"} 
[2026-08-28 18:19:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:19:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:19:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 18:19:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:19:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:19:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:19:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:19:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:19:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:19:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:19:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:19:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:19:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:19:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707837440001,"66":12341,"105":206,"83":41984,"24":0,"16":16002781856923648,"45":1737756168097271808},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:19:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:19:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:19:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707837440001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:19:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:19:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:19:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16002781856923648,"km_value":16002781856923.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:19:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097271808,"description":"Unknown IO ID 45"} 
[2026-08-28 18:19:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707837440001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097271808}} 
[2026-08-28 18:19:49] local.INFO: DEBUG: GPS processor result {"connection_id":163931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709464,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:19:49] local.INFO: GPS data processed {"connection_id":163931,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:19:49] local.INFO: Acknowledgment sent {"connection_id":163931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:19:56] local.INFO: TCP Data received {"connection_id":163661,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163661,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:19:56] local.INFO: Processing buffer {"connection_id":163661,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:19:56] local.INFO: IMEI packet received {"connection_id":163661,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 18:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":163661,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:20:01] local.INFO: TCP Data received {"connection_id":163661,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163661,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:20:01] local.INFO: Processing buffer {"connection_id":163661,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:20:01] local.INFO: IMEI packet received {"connection_id":163661,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 18:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":163661,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:20:04] local.INFO: TCP Data received {"connection_id":163661,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0486af420012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0486af420012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:20:04] local.INFO: Processing buffer {"connection_id":163661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0486af420012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:20:04] local.INFO: Packet analysis {"connection_id":163661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0486a"} 
[2026-08-28 18:20:04] local.INFO: Extracted packet for processing {"connection_id":163661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0486a"} 
[2026-08-28 18:20:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707794688001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:20:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787921364000,"timestamp_ms":1787921364000,"timestamp_seconds":1787921364,"priority":1,"record_length":96,"hex_timestamp":"000001a0486af420"} 
[2026-08-28 18:20:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:20:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:20:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:20:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:20:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":163661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":163661,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":163661,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:20:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707794688001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707794688001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:20:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:20:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707794688001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":163661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709465,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:20:05] local.INFO: GPS data processed {"connection_id":163661,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:20:05] local.INFO: Acknowledgment sent {"connection_id":163661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:20:10] local.INFO: TCP Data received {"connection_id":166296,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048683cd0012d34c14006aa4840000e00e627..."} 
[2026-08-28 18:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048683cd0012d34c14006aa4840000e00e627..."} 
[2026-08-28 18:20:10] local.INFO: Processing buffer {"connection_id":166296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048683cd0012d34c14006aa4840000e00e627..."} 
[2026-08-28 18:20:10] local.INFO: Packet analysis {"connection_id":166296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04868"} 
[2026-08-28 18:20:10] local.INFO: Extracted packet for processing {"connection_id":166296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04868"} 
[2026-08-28 18:20:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707746560001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:20:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:20:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787921186000,"timestamp_ms":1787921186000,"timestamp_seconds":1787921186,"priority":1,"record_length":96,"hex_timestamp":"000001a048683cd0"} 
[2026-08-28 18:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:20:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 18:20:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:20:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":166296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":166296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":166296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:20:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707746560001,"66":25419,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707746560001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:20:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:20:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:20:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707746560001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":166296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:20:10] local.INFO: GPS data processed {"connection_id":166296,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:20:10] local.INFO: Acknowledgment sent {"connection_id":166296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:20:20] local.INFO: TCP Data received {"connection_id":163931,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a04869b3d0012d181dc00721ae90004b00ce28..."} 
[2026-08-28 18:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04869b3d0012d181dc00721ae90004b00ce28..."} 
[2026-08-28 18:20:20] local.INFO: Processing buffer {"connection_id":163931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04869b3d0012d181dc00721ae90004b00ce28..."} 
[2026-08-28 18:20:20] local.INFO: Packet analysis {"connection_id":163931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04869"} 
[2026-08-28 18:20:20] local.INFO: Extracted packet for processing {"connection_id":163931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04869"} 
[2026-08-28 18:20:20] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647888,"longitude_deg":75.65552,"latitude_deg":11.9647888,"altitude":75,"angle":206,"satellites":40,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ae90","is_valid_coordinates":true} 
[2026-08-28 18:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707842816001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16002781856923648,"note":"Value kept but may cause issues"} 
[2026-08-28 18:20:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097271808,"note":"Value kept but may cause issues"} 
[2026-08-28 18:20:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787921282000,"timestamp_ms":1787921282000,"timestamp_seconds":1787921282,"priority":1,"record_length":96,"hex_timestamp":"000001a04869b3d0"} 
[2026-08-28 18:20:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:20:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 18:20:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:20:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:20:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:20:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707842816001,"66":12319,"105":206,"83":41984,"24":0,"16":16002781856923648,"45":1737756168097271808},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707842816001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:20:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:20:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16002781856923648,"km_value":16002781856923.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:20:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097271808,"description":"Unknown IO ID 45"} 
[2026-08-28 18:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707842816001,"power":12319,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097271808}} 
[2026-08-28 18:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":163931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709467,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:20:20] local.INFO: GPS data processed {"connection_id":163931,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:20:20] local.INFO: Acknowledgment sent {"connection_id":163931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:20:30] local.INFO: TCP Data received {"connection_id":166297,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:20:30] local.INFO: Processing buffer {"connection_id":166297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:20:30] local.INFO: IMEI packet received {"connection_id":166297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 18:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":166297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:20:35] local.INFO: TCP Data received {"connection_id":166297,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:20:35] local.INFO: Processing buffer {"connection_id":166297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:20:35] local.INFO: IMEI packet received {"connection_id":166297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 18:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":166297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:20:37] local.INFO: TCP Data received {"connection_id":166297,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048683cd0012d34c14006aa4840000e00e627..."} 
[2026-08-28 18:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048683cd0012d34c14006aa4840000e00e627..."} 
[2026-08-28 18:20:37] local.INFO: Processing buffer {"connection_id":166297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048683cd0012d34c14006aa4840000e00e627..."} 
[2026-08-28 18:20:37] local.INFO: Packet analysis {"connection_id":166297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04868"} 
[2026-08-28 18:20:37] local.INFO: Extracted packet for processing {"connection_id":166297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04868"} 
[2026-08-28 18:20:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707746560001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787921186000,"timestamp_ms":1787921186000,"timestamp_seconds":1787921186,"priority":1,"record_length":96,"hex_timestamp":"000001a048683cd0"} 
[2026-08-28 18:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 18:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":166297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":166297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":166297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707746560001,"66":25419,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707746560001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:20:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:20:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:20: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-28 18:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707746560001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":166297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:20:37] local.INFO: GPS data processed {"connection_id":166297,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:20:37] local.INFO: Acknowledgment sent {"connection_id":166297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:20:37] local.INFO: TCP Data received {"connection_id":163661,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0486af420012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0486af420012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:20:37] local.INFO: Processing buffer {"connection_id":163661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0486af420012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:20:37] local.INFO: Packet analysis {"connection_id":163661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0486a"} 
[2026-08-28 18:20:37] local.INFO: Extracted packet for processing {"connection_id":163661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0486a"} 
[2026-08-28 18:20:37] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707794688001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787921364000,"timestamp_ms":1787921364000,"timestamp_seconds":1787921364,"priority":1,"record_length":96,"hex_timestamp":"000001a0486af420"} 
[2026-08-28 18:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163661,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163661,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707794688001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707794688001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:20:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:20:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707794688001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":163661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709469,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:20:38] local.INFO: GPS data processed {"connection_id":163661,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:20:38] local.INFO: Acknowledgment sent {"connection_id":163661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:20:42] local.INFO: TCP Data received {"connection_id":166298,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166298,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:20:42] local.INFO: Processing buffer {"connection_id":166298,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:20:42] local.INFO: IMEI packet received {"connection_id":166298,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 18:20:42] local.INFO: IMEI acknowledgment sent {"connection_id":166298,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:20:44] local.INFO: TCP Data received {"connection_id":166298,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166298,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:20:44] local.INFO: Processing buffer {"connection_id":166298,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:20:44] local.INFO: IMEI packet received {"connection_id":166298,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:20:44] local.INFO: IMEI acknowledgment sent {"connection_id":166298,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:20:46] local.INFO: TCP Data received {"connection_id":166298,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166298,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:20:46] local.INFO: Processing buffer {"connection_id":166298,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:20:46] local.INFO: IMEI packet received {"connection_id":166298,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":166298,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:20:46] local.INFO: TCP Data received {"connection_id":166298,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0486a05d8012d181dc00721ae90004b00ce26..."} 
[2026-08-28 18:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0486a05d8012d181dc00721ae90004b00ce26..."} 
[2026-08-28 18:20:46] local.INFO: Processing buffer {"connection_id":166298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0486a05d8012d181dc00721ae90004b00ce26..."} 
[2026-08-28 18:20:46] local.INFO: Packet analysis {"connection_id":166298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0486a"} 
[2026-08-28 18:20:46] local.INFO: Extracted packet for processing {"connection_id":166298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0486a"} 
[2026-08-28 18:20:46] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647888,"longitude_deg":75.65552,"latitude_deg":11.9647888,"altitude":75,"angle":206,"satellites":38,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ae90","is_valid_coordinates":true} 
[2026-08-28 18:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:20:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707848192001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:20:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16002781856923648,"note":"Value kept but may cause issues"} 
[2026-08-28 18:20:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097271808,"note":"Value kept but may cause issues"} 
[2026-08-28 18:20: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-28 18:20:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787921303000,"timestamp_ms":1787921303000,"timestamp_seconds":1787921303,"priority":1,"record_length":96,"hex_timestamp":"000001a0486a05d8"} 
[2026-08-28 18:20:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:20:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 18:20:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:20:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:20:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:20:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:20:46] local.INFO: Teltonika packet parsed successfully {"connection_id":166298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:20:46] local.INFO: Passing IMEI to GPS processor {"connection_id":166298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:20:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":166298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:20:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:20:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:20:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:20:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707848192001,"66":12287,"105":206,"83":41984,"24":0,"16":16002781856923648,"45":1737756168097271808},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:20:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:20:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:20:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707848192001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:20:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:20:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:20:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16002781856923648,"km_value":16002781856923.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:20:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097271808,"description":"Unknown IO ID 45"} 
[2026-08-28 18:20:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707848192001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097271808}} 
[2026-08-28 18:20:47] local.INFO: DEBUG: GPS processor result {"connection_id":166298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709470,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:20:47] local.INFO: GPS data processed {"connection_id":166298,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:20:47] local.INFO: Acknowledgment sent {"connection_id":166298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:20:48] local.INFO: TCP Data received {"connection_id":166298,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0486a57e0012d181dc00721ae90004b00ce28..."} 
[2026-08-28 18:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0486a57e0012d181dc00721ae90004b00ce28..."} 
[2026-08-28 18:20:48] local.INFO: Processing buffer {"connection_id":166298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0486a57e0012d181dc00721ae90004b00ce28..."} 
[2026-08-28 18:20:48] local.INFO: Packet analysis {"connection_id":166298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0486a"} 
[2026-08-28 18:20:48] local.INFO: Extracted packet for processing {"connection_id":166298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0486a"} 
[2026-08-28 18:20:48] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647888,"longitude_deg":75.65552,"latitude_deg":11.9647888,"altitude":75,"angle":206,"satellites":40,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ae90","is_valid_coordinates":true} 
[2026-08-28 18:20:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:20:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707853568001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:20:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16002781856923648,"note":"Value kept but may cause issues"} 
[2026-08-28 18:20:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097271808,"note":"Value kept but may cause issues"} 
[2026-08-28 18:20:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:20:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787921324000,"timestamp_ms":1787921324000,"timestamp_seconds":1787921324,"priority":1,"record_length":96,"hex_timestamp":"000001a0486a57e0"} 
[2026-08-28 18:20:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:20:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:20:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 18:20:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:20:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:20:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:20:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:20:48] local.INFO: Teltonika packet parsed successfully {"connection_id":166298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:20:48] local.INFO: Passing IMEI to GPS processor {"connection_id":166298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:20:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":166298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:20:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:20:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:20:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:20:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707853568001,"66":12232,"105":206,"83":41984,"24":0,"16":16002781856923648,"45":1737756168097271808},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:20:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:20:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:20:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707853568001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:20:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:20:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:20:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16002781856923648,"km_value":16002781856923.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:20:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097271808,"description":"Unknown IO ID 45"} 
[2026-08-28 18:20:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707853568001,"power":12232,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097271808}} 
[2026-08-28 18:20:48] local.INFO: DEBUG: GPS processor result {"connection_id":166298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709471,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:20:48] local.INFO: GPS data processed {"connection_id":166298,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:20:48] local.INFO: Acknowledgment sent {"connection_id":166298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:20:56] local.INFO: TCP Data received {"connection_id":163662,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163662,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:20:56] local.INFO: Processing buffer {"connection_id":163662,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:20:56] local.INFO: IMEI packet received {"connection_id":163662,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 18:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":163662,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:21:01] local.INFO: TCP Data received {"connection_id":163662,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163662,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:21:01] local.INFO: Processing buffer {"connection_id":163662,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:21:01] local.INFO: IMEI packet received {"connection_id":163662,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 18:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":163662,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:21:03] local.INFO: TCP Data received {"connection_id":163662,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0486af420012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0486af420012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:21:03] local.INFO: Processing buffer {"connection_id":163662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0486af420012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:21:03] local.INFO: Packet analysis {"connection_id":163662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0486a"} 
[2026-08-28 18:21:03] local.INFO: Extracted packet for processing {"connection_id":163662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0486a"} 
[2026-08-28 18:21:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707794688001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787921364000,"timestamp_ms":1787921364000,"timestamp_seconds":1787921364,"priority":1,"record_length":96,"hex_timestamp":"000001a0486af420"} 
[2026-08-28 18:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:21:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:21:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:21:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163662,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163662,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707794688001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707794688001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:21:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:21:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707794688001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":163662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709472,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:21:03] local.INFO: GPS data processed {"connection_id":163662,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:21:03] local.INFO: Acknowledgment sent {"connection_id":163662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:21:09] local.INFO: TCP Data received {"connection_id":166297,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048683cd0012d34c14006aa4840000e00e627..."} 
[2026-08-28 18:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048683cd0012d34c14006aa4840000e00e627..."} 
[2026-08-28 18:21:09] local.INFO: Processing buffer {"connection_id":166297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048683cd0012d34c14006aa4840000e00e627..."} 
[2026-08-28 18:21:09] local.INFO: Packet analysis {"connection_id":166297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04868"} 
[2026-08-28 18:21:09] local.INFO: Extracted packet for processing {"connection_id":166297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04868"} 
[2026-08-28 18:21:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707746560001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:21:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787921186000,"timestamp_ms":1787921186000,"timestamp_seconds":1787921186,"priority":1,"record_length":96,"hex_timestamp":"000001a048683cd0"} 
[2026-08-28 18:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 18:21:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:21:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":166297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":166297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":166297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:21:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707746560001,"66":25419,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707746560001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:21:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:21:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:21: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-28 18:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707746560001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":166297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:21:09] local.INFO: GPS data processed {"connection_id":166297,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:21:09] local.INFO: Acknowledgment sent {"connection_id":166297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:21:19] local.INFO: TCP Data received {"connection_id":166298,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0486bf9d8012d18648007218310004e006627..."} 
[2026-08-28 18:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0486bf9d8012d18648007218310004e006627..."} 
[2026-08-28 18:21:19] local.INFO: Processing buffer {"connection_id":166298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0486bf9d8012d18648007218310004e006627..."} 
[2026-08-28 18:21:19] local.INFO: Packet analysis {"connection_id":166298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0486b"} 
[2026-08-28 18:21:19] local.INFO: Extracted packet for processing {"connection_id":166298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0486b"} 
[2026-08-28 18:21:19] local.INFO: GPS Element Parsed {"raw_longitude":756573312,"raw_latitude":119636752,"longitude_deg":75.6573312,"latitude_deg":11.9636752,"altitude":78,"angle":102,"satellites":39,"speed":41,"hex_longitude":"2d186480","hex_latitude":"07218310","is_valid_coordinates":true} 
[2026-08-28 18:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:21:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707885056001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:21:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16003855598747648,"note":"Value kept but may cause issues"} 
[2026-08-28 18:21:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1752181760651386880,"note":"Value kept but may cause issues"} 
[2026-08-28 18:21:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:21:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787921431000,"timestamp_ms":1787921431000,"timestamp_seconds":1787921431,"priority":1,"record_length":96,"hex_timestamp":"000001a0486bf9d8"} 
[2026-08-28 18:21:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:21:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-28 18:21:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:21:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:21:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:21:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:21:19] local.INFO: Teltonika packet parsed successfully {"connection_id":166298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:21:19] local.INFO: Passing IMEI to GPS processor {"connection_id":166298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:21:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":166298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:21:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:21:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:21:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:21:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707885056001,"66":14265,"106":206,"83":41984,"24":41,"16":16003855598747648,"45":1752181760651386880},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-28 18:21:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:21:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:21:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707885056001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:21:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:21:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:21:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16003855598747648,"km_value":16003855598747.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:21:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1752181760651386880,"description":"Unknown IO ID 45"} 
[2026-08-28 18:21:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707885056001,"power":14265,"unknown_106":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1752181760651386880}} 
[2026-08-28 18:21:19] local.INFO: DEBUG: GPS processor result {"connection_id":166298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709474,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:21:19] local.INFO: GPS data processed {"connection_id":166298,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:21:19] local.INFO: Acknowledgment sent {"connection_id":166298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:21:30] local.INFO: TCP Data received {"connection_id":163663,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:21:30] local.INFO: Processing buffer {"connection_id":163663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:21:30] local.INFO: IMEI packet received {"connection_id":163663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 18:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":163663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:21:35] local.INFO: TCP Data received {"connection_id":163663,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:21:35] local.INFO: Processing buffer {"connection_id":163663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:21:35] local.INFO: IMEI packet received {"connection_id":163663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 18:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":163663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:21:35] local.INFO: TCP Data received {"connection_id":163662,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0486af420012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0486af420012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:21:35] local.INFO: Processing buffer {"connection_id":163662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0486af420012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:21:35] local.INFO: Packet analysis {"connection_id":163662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0486a"} 
[2026-08-28 18:21:35] local.INFO: Extracted packet for processing {"connection_id":163662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0486a"} 
[2026-08-28 18:21:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:21:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707794688001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:21:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:21:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:21:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:21:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787921364000,"timestamp_ms":1787921364000,"timestamp_seconds":1787921364,"priority":1,"record_length":96,"hex_timestamp":"000001a0486af420"} 
[2026-08-28 18:21:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:21:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:21:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:21:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:21:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:21:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:21:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:21:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163662,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:21:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163662,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:21:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:21:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:21:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:21:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707794688001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:21:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:21:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:21:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707794688001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:21:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:21:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:21:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:21:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:21:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707794688001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":163662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709475,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:21:36] local.INFO: GPS data processed {"connection_id":163662,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:21:36] local.INFO: Acknowledgment sent {"connection_id":163662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:21:38] local.INFO: TCP Data received {"connection_id":163663,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048683cd0012d34c14006aa4840000e00e627..."} 
[2026-08-28 18:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048683cd0012d34c14006aa4840000e00e627..."} 
[2026-08-28 18:21:38] local.INFO: Processing buffer {"connection_id":163663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048683cd0012d34c14006aa4840000e00e627..."} 
[2026-08-28 18:21:38] local.INFO: Packet analysis {"connection_id":163663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04868"} 
[2026-08-28 18:21:38] local.INFO: Extracted packet for processing {"connection_id":163663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04868"} 
[2026-08-28 18:21:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707746560001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787921186000,"timestamp_ms":1787921186000,"timestamp_seconds":1787921186,"priority":1,"record_length":96,"hex_timestamp":"000001a048683cd0"} 
[2026-08-28 18:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 18:21:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707746560001,"66":25419,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707746560001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:21:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:21:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:21: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-28 18:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707746560001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:21:38] 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":709476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:21:38] local.INFO: GPS data processed {"connection_id":163663,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:21:38] local.INFO: Acknowledgment sent {"connection_id":163663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:21:43] local.INFO: TCP Data received {"connection_id":163932,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163932,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:21:43] local.INFO: Processing buffer {"connection_id":163932,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:21:43] local.INFO: IMEI packet received {"connection_id":163932,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 18:21:43] local.INFO: IMEI acknowledgment sent {"connection_id":163932,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:21:44] local.INFO: TCP Data received {"connection_id":163932,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163932,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:21:44] local.INFO: Processing buffer {"connection_id":163932,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:21:44] local.INFO: IMEI packet received {"connection_id":163932,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:21:44] local.INFO: IMEI acknowledgment sent {"connection_id":163932,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:21:50] local.INFO: TCP Data received {"connection_id":163932,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163932,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:21:50] local.INFO: Processing buffer {"connection_id":163932,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:21:50] local.INFO: IMEI packet received {"connection_id":163932,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:21:50] local.INFO: IMEI acknowledgment sent {"connection_id":163932,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:21:53] local.INFO: TCP Data received {"connection_id":163932,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0486c01a8012d186c4007218230004e005b27..."} 
[2026-08-28 18:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0486c01a8012d186c4007218230004e005b27..."} 
[2026-08-28 18:21:53] local.INFO: Processing buffer {"connection_id":163932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0486c01a8012d186c4007218230004e005b27..."} 
[2026-08-28 18:21:53] local.INFO: Packet analysis {"connection_id":163932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0486c"} 
[2026-08-28 18:21:53] local.INFO: Extracted packet for processing {"connection_id":163932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0486c"} 
[2026-08-28 18:21:53] local.INFO: GPS Element Parsed {"raw_longitude":756575296,"raw_latitude":119636528,"longitude_deg":75.6575296,"latitude_deg":11.9636528,"altitude":78,"angle":91,"satellites":39,"speed":39,"hex_longitude":"2d186c40","hex_latitude":"07218230","is_valid_coordinates":true} 
[2026-08-28 18: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-28 18:21:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707886336001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:21:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16003950088028160,"note":"Value kept but may cause issues"} 
[2026-08-28 18:21:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757670522696699904,"note":"Value kept but may cause issues"} 
[2026-08-28 18:21:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:21:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787921433000,"timestamp_ms":1787921433000,"timestamp_seconds":1787921433,"priority":1,"record_length":96,"hex_timestamp":"000001a0486c01a8"} 
[2026-08-28 18: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-28 18:21:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-28 18:21:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18: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-28 18: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-28 18:21:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:21:53] local.INFO: Teltonika packet parsed successfully {"connection_id":163932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:21:53] local.INFO: Passing IMEI to GPS processor {"connection_id":163932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:21:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":163932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:21:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:21:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:21:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:21:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707886336001,"66":13972,"106":206,"83":41984,"24":39,"16":16003950088028160,"45":1757670522696699904},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-28 18:21:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:21:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:21:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707886336001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:21:53] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:21:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:21:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16003950088028160,"km_value":16003950088028.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:21:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757670522696699904,"description":"Unknown IO ID 45"} 
[2026-08-28 18:21:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707886336001,"power":13972,"unknown_106":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1757670522696699904}} 
[2026-08-28 18:21:53] local.INFO: DEBUG: GPS processor result {"connection_id":163932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709477,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:21:53] local.INFO: GPS data processed {"connection_id":163932,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:21:53] local.INFO: Acknowledgment sent {"connection_id":163932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:21:56] local.INFO: TCP Data received {"connection_id":166299,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166299,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:21:56] local.INFO: Processing buffer {"connection_id":166299,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:21:56] local.INFO: IMEI packet received {"connection_id":166299,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 18:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":166299,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:22:01] local.INFO: TCP Data received {"connection_id":166299,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166299,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:22:01] local.INFO: Processing buffer {"connection_id":166299,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:22:01] local.INFO: IMEI packet received {"connection_id":166299,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 18:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":166299,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:22:03] local.INFO: TCP Data received {"connection_id":166299,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0486af420012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0486af420012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:22:03] local.INFO: Processing buffer {"connection_id":166299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0486af420012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:22:03] local.INFO: Packet analysis {"connection_id":166299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0486a"} 
[2026-08-28 18:22:03] local.INFO: Extracted packet for processing {"connection_id":166299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0486a"} 
[2026-08-28 18:22:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707794688001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:22:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787921364000,"timestamp_ms":1787921364000,"timestamp_seconds":1787921364,"priority":1,"record_length":96,"hex_timestamp":"000001a0486af420"} 
[2026-08-28 18:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:22:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:22:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:22:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":166299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":166299,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":166299,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:22:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707794688001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707794688001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:22:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:22:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707794688001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":166299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709478,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:22:03] local.INFO: GPS data processed {"connection_id":166299,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:22:03] local.INFO: Acknowledgment sent {"connection_id":166299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:22:09] local.INFO: TCP Data received {"connection_id":163663,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0486cd498012d34c14006aa4840000f00e62b..."} 
[2026-08-28 18:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0486cd498012d34c14006aa4840000f00e62b..."} 
[2026-08-28 18:22:09] local.INFO: Processing buffer {"connection_id":163663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0486cd498012d34c14006aa4840000f00e62b..."} 
[2026-08-28 18:22:09] local.INFO: Packet analysis {"connection_id":163663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0486c"} 
[2026-08-28 18:22:09] local.INFO: Extracted packet for processing {"connection_id":163663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0486c"} 
[2026-08-28 18:22:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707823616001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:22:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:22:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787921487000,"timestamp_ms":1787921487000,"timestamp_seconds":1787921487,"priority":1,"record_length":96,"hex_timestamp":"000001a0486cd498"} 
[2026-08-28 18:22:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:22:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-28 18:22:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:22:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:22:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:22:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707823616001,"66":25397,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707823616001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:22:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:22:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:22: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-28 18:22:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707823616001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:22:09] 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":709479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:22:09] local.INFO: GPS data processed {"connection_id":163663,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:22:09] local.INFO: Acknowledgment sent {"connection_id":163663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:22:25] local.INFO: TCP Data received {"connection_id":163932,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0486ceff0012d18f3c00720db200038008b22..."} 
[2026-08-28 18:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0486ceff0012d18f3c00720db200038008b22..."} 
[2026-08-28 18:22:25] local.INFO: Processing buffer {"connection_id":163932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0486ceff0012d18f3c00720db200038008b22..."} 
[2026-08-28 18:22:25] local.INFO: Packet analysis {"connection_id":163932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0486c"} 
[2026-08-28 18:22:25] local.INFO: Extracted packet for processing {"connection_id":163932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0486c"} 
[2026-08-28 18:22:25] local.INFO: GPS Element Parsed {"raw_longitude":756609984,"raw_latitude":119593760,"longitude_deg":75.6609984,"latitude_deg":11.959376,"altitude":56,"angle":139,"satellites":34,"speed":45,"hex_longitude":"2d18f3c0","hex_latitude":"0720db20","is_valid_coordinates":true} 
[2026-08-28 18:22:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:22:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707901184001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:22:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16006900730560512,"note":"Value kept but may cause issues"} 
[2026-08-28 18:22:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1794614113380157440,"note":"Value kept but may cause issues"} 
[2026-08-28 18:22:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:22:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787921494000,"timestamp_ms":1787921494000,"timestamp_seconds":1787921494,"priority":1,"record_length":96,"hex_timestamp":"000001a0486ceff0"} 
[2026-08-28 18:22:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:22:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:22:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-28 18:22:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:22:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:22:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:22:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:22:25] local.INFO: Teltonika packet parsed successfully {"connection_id":163932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:22:25] local.INFO: Passing IMEI to GPS processor {"connection_id":163932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:22:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":163932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:22:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:22:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:22:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:22:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707901184001,"66":14265,"103":206,"83":41984,"24":45,"16":16006900730560512,"45":1794614113380157440},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 18:22:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:22:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:22:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707901184001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:22:25] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 18:22:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:22:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16006900730560512,"km_value":16006900730560.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:22:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1794614113380157440,"description":"Unknown IO ID 45"} 
[2026-08-28 18:22:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707901184001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":1794614113380157440}} 
[2026-08-28 18:22:25] local.INFO: DEBUG: GPS processor result {"connection_id":163932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709480,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:22:25] local.INFO: GPS data processed {"connection_id":163932,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:22:25] local.INFO: Acknowledgment sent {"connection_id":163932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:22:35] local.INFO: TCP Data received {"connection_id":166299,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0486af420012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0486af420012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:22:35] local.INFO: Processing buffer {"connection_id":166299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0486af420012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:22:35] local.INFO: Packet analysis {"connection_id":166299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0486a"} 
[2026-08-28 18:22:35] local.INFO: Extracted packet for processing {"connection_id":166299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0486a"} 
[2026-08-28 18:22:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707794688001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:22:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:22:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:22:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:22:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787921364000,"timestamp_ms":1787921364000,"timestamp_seconds":1787921364,"priority":1,"record_length":96,"hex_timestamp":"000001a0486af420"} 
[2026-08-28 18:22:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:22:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:22:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:22:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:22:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:22:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:22:35] local.INFO: Teltonika packet parsed successfully {"connection_id":166299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:22:35] local.INFO: Passing IMEI to GPS processor {"connection_id":166299,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:22:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":166299,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:22:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:22:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:22:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:22:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707794688001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:22:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:22:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:22:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707794688001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:22:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:22:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:22:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:22:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:22:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707794688001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:22:35] local.INFO: DEBUG: GPS processor result {"connection_id":166299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709481,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:22:35] local.INFO: GPS data processed {"connection_id":166299,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:22:35] local.INFO: Acknowledgment sent {"connection_id":166299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:22:36] local.INFO: TCP Data received {"connection_id":166300,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:22:36] local.INFO: Processing buffer {"connection_id":166300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:22:36] local.INFO: IMEI packet received {"connection_id":166300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 18:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":166300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:22:40] local.INFO: TCP Data received {"connection_id":166300,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:22:40] local.INFO: Processing buffer {"connection_id":166300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:22:40] local.INFO: IMEI packet received {"connection_id":166300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 18:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":166300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:22:41] local.INFO: TCP Data received {"connection_id":163664,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:22:41] local.INFO: Processing buffer {"connection_id":163664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:22:41] local.INFO: IMEI packet received {"connection_id":163664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 18:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":163664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:22:43] local.INFO: TCP Data received {"connection_id":163664,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:22:43] local.INFO: Processing buffer {"connection_id":163664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:22:43] local.INFO: IMEI packet received {"connection_id":163664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":163664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:22:43] local.INFO: TCP Data received {"connection_id":166300,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0486cd498012d34c14006aa4840000f00e62b..."} 
[2026-08-28 18:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0486cd498012d34c14006aa4840000f00e62b..."} 
[2026-08-28 18:22:43] local.INFO: Processing buffer {"connection_id":166300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0486cd498012d34c14006aa4840000f00e62b..."} 
[2026-08-28 18:22:43] local.INFO: Packet analysis {"connection_id":166300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0486c"} 
[2026-08-28 18:22:43] local.INFO: Extracted packet for processing {"connection_id":166300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0486c"} 
[2026-08-28 18:22:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18: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-28 18:22:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707823616001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:22:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:22:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:22:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:22:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787921487000,"timestamp_ms":1787921487000,"timestamp_seconds":1787921487,"priority":1,"record_length":96,"hex_timestamp":"000001a0486cd498"} 
[2026-08-28 18: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-28 18:22:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18: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":75,"data_length":795,"current_offset":136} 
[2026-08-28 18:22: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-28 18: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-28 18: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-28 18:22:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:22:43] local.INFO: Teltonika packet parsed successfully {"connection_id":166300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:22:43] local.INFO: Passing IMEI to GPS processor {"connection_id":166300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:22:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":166300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:22:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:22:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:22:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:22:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707823616001,"66":25397,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:22:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:22:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:22:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707823616001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:22:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:22:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18: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-28 18:22:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:22:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707823616001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:22:43] local.INFO: DEBUG: GPS processor result {"connection_id":166300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:22:43] local.INFO: GPS data processed {"connection_id":166300,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:22:43] local.INFO: Acknowledgment sent {"connection_id":166300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:22:44] local.INFO: TCP Data received {"connection_id":163664,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:22:44] local.INFO: Processing buffer {"connection_id":163664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:22:44] local.INFO: IMEI packet received {"connection_id":163664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:22:44] local.INFO: IMEI acknowledgment sent {"connection_id":163664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:22:48] local.INFO: TCP Data received {"connection_id":163664,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:22:48] local.INFO: Processing buffer {"connection_id":163664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:22:48] local.INFO: IMEI packet received {"connection_id":163664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":163664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:22:49] local.INFO: TCP Data received {"connection_id":163664,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0486cfba8012d18fdc00720d2900037007e25..."} 
[2026-08-28 18:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0486cfba8012d18fdc00720d2900037007e25..."} 
[2026-08-28 18:22:49] local.INFO: Processing buffer {"connection_id":163664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0486cfba8012d18fdc00720d2900037007e25..."} 
[2026-08-28 18:22:49] local.INFO: Packet analysis {"connection_id":163664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0486c"} 
[2026-08-28 18:22:49] local.INFO: Extracted packet for processing {"connection_id":163664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0486c"} 
[2026-08-28 18:22:49] local.INFO: GPS Element Parsed {"raw_longitude":756612544,"raw_latitude":119591568,"longitude_deg":75.6612544,"latitude_deg":11.9591568,"altitude":55,"angle":126,"satellites":37,"speed":43,"hex_longitude":"2d18fdc0","hex_latitude":"0720d290","is_valid_coordinates":true} 
[2026-08-28 18:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:22:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707902464001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:22:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16007063939317760,"note":"Value kept but may cause issues"} 
[2026-08-28 18:22:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1797991813099495424,"note":"Value kept but may cause issues"} 
[2026-08-28 18:22:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:22:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787921497000,"timestamp_ms":1787921497000,"timestamp_seconds":1787921497,"priority":1,"record_length":96,"hex_timestamp":"000001a0486cfba8"} 
[2026-08-28 18:22:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:22:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-28 18:22:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:22:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:22:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:22:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:22:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:22:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:22:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:22:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:22:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:22:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:22:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707902464001,"66":13722,"103":206,"83":41984,"24":43,"16":16007063939317760,"45":1797991813099495424},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 18:22:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:22:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:22:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707902464001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:22:49] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 18:22:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:22:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16007063939317760,"km_value":16007063939317.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:22:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1797991813099495424,"description":"Unknown IO ID 45"} 
[2026-08-28 18:22:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707902464001,"power":13722,"unknown_103":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1797991813099495424}} 
[2026-08-28 18:22:49] local.INFO: DEBUG: GPS processor result {"connection_id":163664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709483,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:22:49] local.INFO: GPS data processed {"connection_id":163664,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:22:49] local.INFO: Acknowledgment sent {"connection_id":163664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:22:56] local.INFO: TCP Data received {"connection_id":166301,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166301,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:22:56] local.INFO: Processing buffer {"connection_id":166301,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:22:56] local.INFO: IMEI packet received {"connection_id":166301,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 18:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":166301,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:23:01] local.INFO: TCP Data received {"connection_id":166301,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166301,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:23:01] local.INFO: Processing buffer {"connection_id":166301,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:23:01] local.INFO: IMEI packet received {"connection_id":166301,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 18:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":166301,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:23:12] local.INFO: TCP Data received {"connection_id":166301,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0486af420012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0486af420012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:23:12] local.INFO: Processing buffer {"connection_id":166301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0486af420012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:23:12] local.INFO: Packet analysis {"connection_id":166301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0486a"} 
[2026-08-28 18:23:12] local.INFO: Extracted packet for processing {"connection_id":166301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0486a"} 
[2026-08-28 18:23:12] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:23:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707794688001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:23:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:23:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:23:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:23:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787921364000,"timestamp_ms":1787921364000,"timestamp_seconds":1787921364,"priority":1,"record_length":96,"hex_timestamp":"000001a0486af420"} 
[2026-08-28 18:23:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:23:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:23: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-28 18:23:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:23:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:23:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:23:12] local.INFO: Teltonika packet parsed successfully {"connection_id":166301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:23:12] local.INFO: Passing IMEI to GPS processor {"connection_id":166301,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:23:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":166301,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:23:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:23:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:23:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:23:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707794688001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:23:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:23:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:23:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707794688001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:23:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:23:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:23:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:23:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:23:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707794688001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:23:12] local.INFO: DEBUG: GPS processor result {"connection_id":166301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709484,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:23:12] local.INFO: GPS data processed {"connection_id":166301,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:23:12] local.INFO: Acknowledgment sent {"connection_id":166301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:23:17] local.INFO: TCP Data received {"connection_id":166300,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0486cd498012d34c14006aa4840000f00e62b..."} 
[2026-08-28 18:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0486cd498012d34c14006aa4840000f00e62b..."} 
[2026-08-28 18:23:17] local.INFO: Processing buffer {"connection_id":166300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0486cd498012d34c14006aa4840000f00e62b..."} 
[2026-08-28 18:23:17] local.INFO: Packet analysis {"connection_id":166300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0486c"} 
[2026-08-28 18:23:17] local.INFO: Extracted packet for processing {"connection_id":166300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0486c"} 
[2026-08-28 18:23:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:23:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:23:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707823616001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:23:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:23:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:23:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:23:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787921487000,"timestamp_ms":1787921487000,"timestamp_seconds":1787921487,"priority":1,"record_length":96,"hex_timestamp":"000001a0486cd498"} 
[2026-08-28 18: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-28 18:23:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-28 18:23: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-28 18: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-28 18: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-28 18:23:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:23:17] local.INFO: Teltonika packet parsed successfully {"connection_id":166300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:23:17] local.INFO: Passing IMEI to GPS processor {"connection_id":166300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:23:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":166300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:23:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:23:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:23:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:23:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707823616001,"66":25397,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:23:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:23:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:23:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707823616001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:23:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:23:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:23: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-28 18:23:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:23:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707823616001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:23:17] local.INFO: DEBUG: GPS processor result {"connection_id":166300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:23:17] local.INFO: GPS data processed {"connection_id":166300,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:23:17] local.INFO: Acknowledgment sent {"connection_id":166300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:23:20] local.INFO: TCP Data received {"connection_id":163664,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0486dde38012d19ae4007209150003200c326..."} 
[2026-08-28 18:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0486dde38012d19ae4007209150003200c326..."} 
[2026-08-28 18:23:20] local.INFO: Processing buffer {"connection_id":163664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0486dde38012d19ae4007209150003200c326..."} 
[2026-08-28 18:23:20] local.INFO: Packet analysis {"connection_id":163664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0486d"} 
[2026-08-28 18:23:20] local.INFO: Extracted packet for processing {"connection_id":163664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0486d"} 
[2026-08-28 18:23:20] local.INFO: GPS Element Parsed {"raw_longitude":756657728,"raw_latitude":119574864,"longitude_deg":75.6657728,"latitude_deg":11.9574864,"altitude":50,"angle":195,"satellites":38,"speed":35,"hex_longitude":"2d19ae40","hex_latitude":"07209150","is_valid_coordinates":true} 
[2026-08-28 18:23:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:23:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707917056001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:23:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16009881437863936,"note":"Value kept but may cause issues"} 
[2026-08-28 18:23:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852738696065634304,"note":"Value kept but may cause issues"} 
[2026-08-28 18:23:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:23:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787921555000,"timestamp_ms":1787921555000,"timestamp_seconds":1787921555,"priority":1,"record_length":96,"hex_timestamp":"000001a0486dde38"} 
[2026-08-28 18:23:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:23:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:23:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-28 18:23:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:23:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:23:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:23:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:23:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:23:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:23:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:23:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:23:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:23:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:23:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707917056001,"66":14048,"103":206,"83":41984,"24":35,"16":16009881437863936,"45":1852738696065634304},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 18:23:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:23:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:23:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707917056001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:23:20] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 18:23:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:23:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16009881437863936,"km_value":16009881437863.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:23:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852738696065634304,"description":"Unknown IO ID 45"} 
[2026-08-28 18:23:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707917056001,"power":14048,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1852738696065634304}} 
[2026-08-28 18:23:20] local.INFO: DEBUG: GPS processor result {"connection_id":163664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709486,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:23:20] local.INFO: GPS data processed {"connection_id":163664,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:23:20] local.INFO: Acknowledgment sent {"connection_id":163664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:23:30] local.INFO: TCP Data received {"connection_id":164935,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:23:30] local.INFO: Processing buffer {"connection_id":164935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:23:30] local.INFO: IMEI packet received {"connection_id":164935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 18:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":164935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:23:35] local.INFO: TCP Data received {"connection_id":164935,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:23:35] local.INFO: Processing buffer {"connection_id":164935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:23:35] local.INFO: IMEI packet received {"connection_id":164935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 18:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":164935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:23:37] local.INFO: TCP Data received {"connection_id":164935,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0486cd498012d34c14006aa4840000f00e62b..."} 
[2026-08-28 18:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0486cd498012d34c14006aa4840000f00e62b..."} 
[2026-08-28 18:23:37] local.INFO: Processing buffer {"connection_id":164935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0486cd498012d34c14006aa4840000f00e62b..."} 
[2026-08-28 18:23:37] local.INFO: Packet analysis {"connection_id":164935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0486c"} 
[2026-08-28 18:23:37] local.INFO: Extracted packet for processing {"connection_id":164935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0486c"} 
[2026-08-28 18:23:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18: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-28 18:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707823616001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787921487000,"timestamp_ms":1787921487000,"timestamp_seconds":1787921487,"priority":1,"record_length":96,"hex_timestamp":"000001a0486cd498"} 
[2026-08-28 18: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-28 18:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-28 18:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18: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-28 18: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-28 18:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707823616001,"66":25397,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707823616001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:23:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:23:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:23: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-28 18:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707823616001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:23: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":709487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:23:37] local.INFO: GPS data processed {"connection_id":164935,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:23:37] local.INFO: Acknowledgment sent {"connection_id":164935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:23:43] local.INFO: TCP Data received {"connection_id":163933,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163933,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:23:43] local.INFO: Processing buffer {"connection_id":163933,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:23:43] local.INFO: IMEI packet received {"connection_id":163933,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 18:23:43] local.INFO: IMEI acknowledgment sent {"connection_id":163933,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:23:44] local.INFO: TCP Data received {"connection_id":163933,"ip":"42.106.6.47","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-28 18:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163933,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-28 18:23:44] local.INFO: Processing buffer {"connection_id":163933,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-28 18:23:44] local.INFO: IMEI packet received {"connection_id":163933,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:23:44] local.INFO: IMEI acknowledgment sent {"connection_id":163933,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:23:46] local.INFO: TCP Data received {"connection_id":163933,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163933,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:23:46] local.INFO: Processing buffer {"connection_id":163933,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-28 18:23:46] local.INFO: IMEI packet received {"connection_id":163933,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":163933,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:23:56] local.INFO: TCP Data received {"connection_id":164936,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164936,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:23:56] local.INFO: Processing buffer {"connection_id":164936,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:23:56] local.INFO: IMEI packet received {"connection_id":164936,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 18:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":164936,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:24:01] local.INFO: TCP Data received {"connection_id":164936,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164936,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:24:01] local.INFO: Processing buffer {"connection_id":164936,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:24:01] local.INFO: IMEI packet received {"connection_id":164936,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 18:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":164936,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:24:03] local.INFO: TCP Data received {"connection_id":164936,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0486af420012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0486af420012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:24:03] local.INFO: Processing buffer {"connection_id":164936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0486af420012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:24:03] local.INFO: Packet analysis {"connection_id":164936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0486a"} 
[2026-08-28 18:24:03] local.INFO: Extracted packet for processing {"connection_id":164936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0486a"} 
[2026-08-28 18:24:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707794688001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:24:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787921364000,"timestamp_ms":1787921364000,"timestamp_seconds":1787921364,"priority":1,"record_length":96,"hex_timestamp":"000001a0486af420"} 
[2026-08-28 18:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:24:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:24:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:24:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":164936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":164936,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":164936,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707794688001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707794688001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:24:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:24:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707794688001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:24:03] 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":709488,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:24:03] local.INFO: GPS data processed {"connection_id":164936,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:24:03] local.INFO: Acknowledgment sent {"connection_id":164936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:24:10] local.INFO: TCP Data received {"connection_id":164935,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0486cd498012d34c14006aa4840000f00e62b..."} 
[2026-08-28 18:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0486cd498012d34c14006aa4840000f00e62b..."} 
[2026-08-28 18:24:10] local.INFO: Processing buffer {"connection_id":164935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0486cd498012d34c14006aa4840000f00e62b..."} 
[2026-08-28 18:24:10] local.INFO: Packet analysis {"connection_id":164935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0486c"} 
[2026-08-28 18:24:10] local.INFO: Extracted packet for processing {"connection_id":164935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0486c"} 
[2026-08-28 18:24:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707823616001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787921487000,"timestamp_ms":1787921487000,"timestamp_seconds":1787921487,"priority":1,"record_length":96,"hex_timestamp":"000001a0486cd498"} 
[2026-08-28 18:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:24:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-28 18:24:10] 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-28 18:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":164935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":164935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":164935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707823616001,"66":25397,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707823616001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:24:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:24:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707823616001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:24:10] 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":709489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:24:10] local.INFO: GPS data processed {"connection_id":164935,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:24:10] local.INFO: Acknowledgment sent {"connection_id":164935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:24:30] local.INFO: TCP Data received {"connection_id":163665,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:24:30] local.INFO: Processing buffer {"connection_id":163665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:24:30] local.INFO: IMEI packet received {"connection_id":163665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 18:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":163665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:24:35] local.INFO: TCP Data received {"connection_id":164936,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0486af420012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0486af420012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:24:35] local.INFO: Processing buffer {"connection_id":164936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0486af420012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:24:35] local.INFO: Packet analysis {"connection_id":164936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0486a"} 
[2026-08-28 18:24:35] local.INFO: Extracted packet for processing {"connection_id":164936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0486a"} 
[2026-08-28 18:24:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707794688001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:24:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:24:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787921364000,"timestamp_ms":1787921364000,"timestamp_seconds":1787921364,"priority":1,"record_length":96,"hex_timestamp":"000001a0486af420"} 
[2026-08-28 18:24:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:24:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:24:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:24:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:24:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":164936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":164936,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":164936,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:24:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707794688001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707794688001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:24:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:24:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:24:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707794688001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:24:35] 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":709490,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:24:35] local.INFO: GPS data processed {"connection_id":164936,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:24:35] local.INFO: Acknowledgment sent {"connection_id":164936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:24:35] local.INFO: TCP Data received {"connection_id":163665,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:24:35] local.INFO: Processing buffer {"connection_id":163665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:24:35] local.INFO: IMEI packet received {"connection_id":163665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 18:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":163665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:24:38] local.INFO: TCP Data received {"connection_id":163665,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0486cd498012d34c14006aa4840000f00e62b..."} 
[2026-08-28 18:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0486cd498012d34c14006aa4840000f00e62b..."} 
[2026-08-28 18:24:38] local.INFO: Processing buffer {"connection_id":163665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0486cd498012d34c14006aa4840000f00e62b..."} 
[2026-08-28 18:24:38] local.INFO: Packet analysis {"connection_id":163665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0486c"} 
[2026-08-28 18:24:38] local.INFO: Extracted packet for processing {"connection_id":163665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0486c"} 
[2026-08-28 18:24:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707823616001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:24:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787921487000,"timestamp_ms":1787921487000,"timestamp_seconds":1787921487,"priority":1,"record_length":96,"hex_timestamp":"000001a0486cd498"} 
[2026-08-28 18:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:24:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-28 18:24:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:24:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:24:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707823616001,"66":25397,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707823616001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:24:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:24:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:24: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-28 18:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707823616001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:24:38] 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":709491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:24:38] local.INFO: GPS data processed {"connection_id":163665,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:24:38] local.INFO: Acknowledgment sent {"connection_id":163665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:25:01] local.INFO: TCP Data received {"connection_id":164937,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164937,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:25:01] local.INFO: Processing buffer {"connection_id":164937,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:25:01] local.INFO: IMEI packet received {"connection_id":164937,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 18:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":164937,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:25:06] local.INFO: TCP Data received {"connection_id":164937,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164937,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:25:06] local.INFO: Processing buffer {"connection_id":164937,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:25:06] local.INFO: IMEI packet received {"connection_id":164937,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 18:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":164937,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:25:09] local.INFO: TCP Data received {"connection_id":164937,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0486f5d08012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0486f5d08012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:25:09] local.INFO: Processing buffer {"connection_id":164937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0486f5d08012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:25:09] local.INFO: Packet analysis {"connection_id":164937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0486f"} 
[2026-08-28 18:25:09] local.INFO: Extracted packet for processing {"connection_id":164937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0486f"} 
[2026-08-28 18:25:09] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:25:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707869184001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:25:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:25:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:25:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:25:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787921653000,"timestamp_ms":1787921653000,"timestamp_seconds":1787921653,"priority":1,"record_length":96,"hex_timestamp":"000001a0486f5d08"} 
[2026-08-28 18:25:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:25:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:25:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:25:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:25:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:25:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164937,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164937,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:25:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:25:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:25:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:25:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707869184001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:25:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:25:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:25:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707869184001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:25:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:25:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:25:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:25:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:25:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707869184001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:25:09] 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":709492,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:25:09] local.INFO: GPS data processed {"connection_id":164937,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:25:09] local.INFO: Acknowledgment sent {"connection_id":164937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:25:10] local.INFO: TCP Data received {"connection_id":163665,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0486cd498012d34c14006aa4840000f00e62b..."} 
[2026-08-28 18:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0486cd498012d34c14006aa4840000f00e62b..."} 
[2026-08-28 18:25:10] local.INFO: Processing buffer {"connection_id":163665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0486cd498012d34c14006aa4840000f00e62b..."} 
[2026-08-28 18:25:10] local.INFO: Packet analysis {"connection_id":163665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0486c"} 
[2026-08-28 18:25:10] local.INFO: Extracted packet for processing {"connection_id":163665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0486c"} 
[2026-08-28 18:25:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707823616001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:25:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787921487000,"timestamp_ms":1787921487000,"timestamp_seconds":1787921487,"priority":1,"record_length":96,"hex_timestamp":"000001a0486cd498"} 
[2026-08-28 18:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:25:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-28 18:25:10] 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-28 18:25:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:25:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707823616001,"66":25397,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707823616001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:25:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:25:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707823616001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:25:10] 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":709493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:25:10] local.INFO: GPS data processed {"connection_id":163665,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:25:10] local.INFO: Acknowledgment sent {"connection_id":163665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:25:13] local.INFO: TCP Data received {"connection_id":164937,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0486f5d08012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0486f5d08012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:25:13] local.INFO: Processing buffer {"connection_id":164937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0486f5d08012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:25:13] local.INFO: Packet analysis {"connection_id":164937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0486f"} 
[2026-08-28 18:25:13] local.INFO: Extracted packet for processing {"connection_id":164937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0486f"} 
[2026-08-28 18:25:13] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 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-28 18:25:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707869184001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:25:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:25:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:25:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:25:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787921653000,"timestamp_ms":1787921653000,"timestamp_seconds":1787921653,"priority":1,"record_length":96,"hex_timestamp":"000001a0486f5d08"} 
[2026-08-28 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-28 18:25:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 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":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:25: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-28 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-28 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-28 18:25:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:25:13] local.INFO: Teltonika packet parsed successfully {"connection_id":164937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:25:13] local.INFO: Passing IMEI to GPS processor {"connection_id":164937,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:25:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":164937,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:25:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:25:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:25:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:25:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707869184001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:25:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:25:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:25:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707869184001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:25:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:25:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:25:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:25:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:25:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707869184001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:25:13] 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":709494,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:25:13] local.INFO: GPS data processed {"connection_id":164937,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:25:13] local.INFO: Acknowledgment sent {"connection_id":164937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:25:30] local.INFO: TCP Data received {"connection_id":164938,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:25:30] local.INFO: Processing buffer {"connection_id":164938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:25:30] local.INFO: IMEI packet received {"connection_id":164938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 18:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":164938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:25:35] local.INFO: TCP Data received {"connection_id":164938,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:25:35] local.INFO: Processing buffer {"connection_id":164938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:25:35] local.INFO: IMEI packet received {"connection_id":164938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 18:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":164938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:25:36] local.INFO: TCP Data received {"connection_id":164938,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0486cd498012d34c14006aa4840000f00e62b..."} 
[2026-08-28 18:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0486cd498012d34c14006aa4840000f00e62b..."} 
[2026-08-28 18:25:36] local.INFO: Processing buffer {"connection_id":164938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0486cd498012d34c14006aa4840000f00e62b..."} 
[2026-08-28 18:25:36] local.INFO: Packet analysis {"connection_id":164938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0486c"} 
[2026-08-28 18:25:36] local.INFO: Extracted packet for processing {"connection_id":164938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0486c"} 
[2026-08-28 18:25:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707823616001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:25:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787921487000,"timestamp_ms":1787921487000,"timestamp_seconds":1787921487,"priority":1,"record_length":96,"hex_timestamp":"000001a0486cd498"} 
[2026-08-28 18:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:25:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-28 18:25:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:25:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":164938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":164938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":164938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707823616001,"66":25397,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707823616001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:25:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:25:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707823616001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:25:36] 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":709495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:25:36] local.INFO: GPS data processed {"connection_id":164938,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:25:36] local.INFO: Acknowledgment sent {"connection_id":164938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:25:56] local.INFO: TCP Data received {"connection_id":166303,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166303,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:25:56] local.INFO: Processing buffer {"connection_id":166303,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:25:56] local.INFO: IMEI packet received {"connection_id":166303,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 18:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":166303,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:26:03] local.INFO: TCP Data received {"connection_id":166303,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166303,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:26:03] local.INFO: Processing buffer {"connection_id":166303,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:26:03] local.INFO: IMEI packet received {"connection_id":166303,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 18:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":166303,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:26:05] local.INFO: TCP Data received {"connection_id":166303,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0486f5d08012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0486f5d08012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:26:05] local.INFO: Processing buffer {"connection_id":166303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0486f5d08012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:26:05] local.INFO: Packet analysis {"connection_id":166303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0486f"} 
[2026-08-28 18:26:05] local.INFO: Extracted packet for processing {"connection_id":166303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0486f"} 
[2026-08-28 18:26:05] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707869184001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787921653000,"timestamp_ms":1787921653000,"timestamp_seconds":1787921653,"priority":1,"record_length":96,"hex_timestamp":"000001a0486f5d08"} 
[2026-08-28 18:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:26:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":166303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":166303,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":166303,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707869184001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707869184001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:26:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:26:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707869184001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":166303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709496,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:26:05] local.INFO: GPS data processed {"connection_id":166303,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:26:05] local.INFO: Acknowledgment sent {"connection_id":166303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:26:08] local.INFO: TCP Data received {"connection_id":164938,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0486cd498012d34c14006aa4840000f00e62b..."} 
[2026-08-28 18:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0486cd498012d34c14006aa4840000f00e62b..."} 
[2026-08-28 18:26:08] local.INFO: Processing buffer {"connection_id":164938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0486cd498012d34c14006aa4840000f00e62b..."} 
[2026-08-28 18:26:08] local.INFO: Packet analysis {"connection_id":164938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0486c"} 
[2026-08-28 18:26:08] local.INFO: Extracted packet for processing {"connection_id":164938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0486c"} 
[2026-08-28 18:26:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707823616001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:26:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787921487000,"timestamp_ms":1787921487000,"timestamp_seconds":1787921487,"priority":1,"record_length":96,"hex_timestamp":"000001a0486cd498"} 
[2026-08-28 18:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:26:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-28 18:26: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-28 18:26:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:26:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707823616001,"66":25397,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707823616001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:26:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:26:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:26: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-28 18:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707823616001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:26:08] 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":709497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:26:08] local.INFO: GPS data processed {"connection_id":164938,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:26:08] local.INFO: Acknowledgment sent {"connection_id":164938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:26:31] local.INFO: TCP Data received {"connection_id":163935,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:26:31] local.INFO: Processing buffer {"connection_id":163935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:26:31] local.INFO: IMEI packet received {"connection_id":163935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 18:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":163935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:26:35] local.INFO: TCP Data received {"connection_id":163935,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:26:35] local.INFO: Processing buffer {"connection_id":163935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:26:35] local.INFO: IMEI packet received {"connection_id":163935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 18:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":163935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:26:37] local.INFO: TCP Data received {"connection_id":166303,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0486f5d08012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0486f5d08012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:26:37] local.INFO: Processing buffer {"connection_id":166303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0486f5d08012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:26:37] local.INFO: Packet analysis {"connection_id":166303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0486f"} 
[2026-08-28 18:26:37] local.INFO: Extracted packet for processing {"connection_id":166303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0486f"} 
[2026-08-28 18:26:37] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707869184001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787921653000,"timestamp_ms":1787921653000,"timestamp_seconds":1787921653,"priority":1,"record_length":96,"hex_timestamp":"000001a0486f5d08"} 
[2026-08-28 18:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":166303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":166303,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":166303,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707869184001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707869184001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:26:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:26:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707869184001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":166303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709498,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:26:37] local.INFO: GPS data processed {"connection_id":166303,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:26:37] local.INFO: Acknowledgment sent {"connection_id":166303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:26:38] local.INFO: TCP Data received {"connection_id":163935,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0486cd498012d34c14006aa4840000f00e62b..."} 
[2026-08-28 18:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0486cd498012d34c14006aa4840000f00e62b..."} 
[2026-08-28 18:26:38] local.INFO: Processing buffer {"connection_id":163935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0486cd498012d34c14006aa4840000f00e62b..."} 
[2026-08-28 18:26:38] local.INFO: Packet analysis {"connection_id":163935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0486c"} 
[2026-08-28 18:26:38] local.INFO: Extracted packet for processing {"connection_id":163935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0486c"} 
[2026-08-28 18:26:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707823616001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:26:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:26:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787921487000,"timestamp_ms":1787921487000,"timestamp_seconds":1787921487,"priority":1,"record_length":96,"hex_timestamp":"000001a0486cd498"} 
[2026-08-28 18:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:26:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-28 18:26:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:26:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:26:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707823616001,"66":25397,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707823616001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:26:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:26:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:26: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-28 18:26:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707823616001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":163935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:26:38] local.INFO: GPS data processed {"connection_id":163935,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:26:38] local.INFO: Acknowledgment sent {"connection_id":163935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:26:56] local.INFO: TCP Data received {"connection_id":164940,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164940,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:26:56] local.INFO: Processing buffer {"connection_id":164940,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:26:56] local.INFO: IMEI packet received {"connection_id":164940,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 18:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":164940,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:27:01] local.INFO: TCP Data received {"connection_id":164940,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164940,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:27:01] local.INFO: Processing buffer {"connection_id":164940,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:27:01] local.INFO: IMEI packet received {"connection_id":164940,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 18:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":164940,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:27:04] local.INFO: TCP Data received {"connection_id":164940,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0486f5d08012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0486f5d08012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:27:04] local.INFO: Processing buffer {"connection_id":164940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0486f5d08012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:27:04] local.INFO: Packet analysis {"connection_id":164940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0486f"} 
[2026-08-28 18:27:04] local.INFO: Extracted packet for processing {"connection_id":164940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0486f"} 
[2026-08-28 18:27:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707869184001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787921653000,"timestamp_ms":1787921653000,"timestamp_seconds":1787921653,"priority":1,"record_length":96,"hex_timestamp":"000001a0486f5d08"} 
[2026-08-28 18:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:27:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:27:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":164940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":164940,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":164940,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:27:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707869184001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707869184001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:27:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:27:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707869184001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:27:05] 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":709500,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:27:05] local.INFO: GPS data processed {"connection_id":164940,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:27:05] local.INFO: Acknowledgment sent {"connection_id":164940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:27:10] local.INFO: TCP Data received {"connection_id":163935,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048716c60012d34c14006aa4840000f00e62e..."} 
[2026-08-28 18:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048716c60012d34c14006aa4840000f00e62e..."} 
[2026-08-28 18:27:10] local.INFO: Processing buffer {"connection_id":163935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048716c60012d34c14006aa4840000f00e62e..."} 
[2026-08-28 18:27:10] local.INFO: Packet analysis {"connection_id":163935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04871"} 
[2026-08-28 18:27:10] local.INFO: Extracted packet for processing {"connection_id":163935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04871"} 
[2026-08-28 18:27:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707900672001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:27:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:27:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787921788000,"timestamp_ms":1787921788000,"timestamp_seconds":1787921788,"priority":1,"record_length":96,"hex_timestamp":"000001a048716c60"} 
[2026-08-28 18:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:27:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 18:27:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:27:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:27:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707900672001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707900672001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:27:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:27:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:27:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707900672001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":163935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:27:10] local.INFO: GPS data processed {"connection_id":163935,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:27:10] local.INFO: Acknowledgment sent {"connection_id":163935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:27:30] local.INFO: TCP Data received {"connection_id":163666,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:27:30] local.INFO: Processing buffer {"connection_id":163666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:27:30] local.INFO: IMEI packet received {"connection_id":163666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 18:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":163666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:27:35] local.INFO: TCP Data received {"connection_id":163666,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:27:35] local.INFO: Processing buffer {"connection_id":163666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:27:35] local.INFO: IMEI packet received {"connection_id":163666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 18:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":163666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:27:36] local.INFO: TCP Data received {"connection_id":164940,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0486f5d08012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0486f5d08012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:27:36] local.INFO: Processing buffer {"connection_id":164940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0486f5d08012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:27:36] local.INFO: Packet analysis {"connection_id":164940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0486f"} 
[2026-08-28 18:27:36] local.INFO: Extracted packet for processing {"connection_id":164940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0486f"} 
[2026-08-28 18:27:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707869184001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787921653000,"timestamp_ms":1787921653000,"timestamp_seconds":1787921653,"priority":1,"record_length":96,"hex_timestamp":"000001a0486f5d08"} 
[2026-08-28 18:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:27:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:27:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":164940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":164940,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":164940,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707869184001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707869184001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:27:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:27:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707869184001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:27:37] 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":709502,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:27:37] local.INFO: GPS data processed {"connection_id":164940,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:27:37] local.INFO: Acknowledgment sent {"connection_id":164940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:27:37] local.INFO: TCP Data received {"connection_id":163666,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048716c60012d34c14006aa4840000f00e62e..."} 
[2026-08-28 18:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048716c60012d34c14006aa4840000f00e62e..."} 
[2026-08-28 18:27:37] local.INFO: Processing buffer {"connection_id":163666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048716c60012d34c14006aa4840000f00e62e..."} 
[2026-08-28 18:27:37] local.INFO: Packet analysis {"connection_id":163666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04871"} 
[2026-08-28 18:27:37] local.INFO: Extracted packet for processing {"connection_id":163666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04871"} 
[2026-08-28 18:27:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707900672001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787921788000,"timestamp_ms":1787921788000,"timestamp_seconds":1787921788,"priority":1,"record_length":96,"hex_timestamp":"000001a048716c60"} 
[2026-08-28 18:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 18:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707900672001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707900672001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:27:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:27:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:27: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-28 18:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707900672001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:27:37] 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":709503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:27:37] local.INFO: GPS data processed {"connection_id":163666,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:27:37] local.INFO: Acknowledgment sent {"connection_id":163666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:27:56] local.INFO: TCP Data received {"connection_id":166305,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166305,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:27:56] local.INFO: Processing buffer {"connection_id":166305,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:27:56] local.INFO: IMEI packet received {"connection_id":166305,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 18:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":166305,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:28:01] local.INFO: TCP Data received {"connection_id":166305,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166305,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:28:01] local.INFO: Processing buffer {"connection_id":166305,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:28:01] local.INFO: IMEI packet received {"connection_id":166305,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 18:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":166305,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:28:03] local.INFO: TCP Data received {"connection_id":166305,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0486f5d08012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0486f5d08012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:28:03] local.INFO: Processing buffer {"connection_id":166305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0486f5d08012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:28:03] local.INFO: Packet analysis {"connection_id":166305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0486f"} 
[2026-08-28 18:28:03] local.INFO: Extracted packet for processing {"connection_id":166305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0486f"} 
[2026-08-28 18:28:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707869184001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:28:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787921653000,"timestamp_ms":1787921653000,"timestamp_seconds":1787921653,"priority":1,"record_length":96,"hex_timestamp":"000001a0486f5d08"} 
[2026-08-28 18:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:28:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:28:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:28:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":166305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":166305,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":166305,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:28:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707869184001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707869184001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:28:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:28:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707869184001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":166305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709504,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:28:03] local.INFO: GPS data processed {"connection_id":166305,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:28:03] local.INFO: Acknowledgment sent {"connection_id":166305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:28:09] local.INFO: TCP Data received {"connection_id":163666,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048716c60012d34c14006aa4840000f00e62e..."} 
[2026-08-28 18:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048716c60012d34c14006aa4840000f00e62e..."} 
[2026-08-28 18:28:09] local.INFO: Processing buffer {"connection_id":163666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048716c60012d34c14006aa4840000f00e62e..."} 
[2026-08-28 18:28:09] local.INFO: Packet analysis {"connection_id":163666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04871"} 
[2026-08-28 18:28:09] local.INFO: Extracted packet for processing {"connection_id":163666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04871"} 
[2026-08-28 18:28:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707900672001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787921788000,"timestamp_ms":1787921788000,"timestamp_seconds":1787921788,"priority":1,"record_length":96,"hex_timestamp":"000001a048716c60"} 
[2026-08-28 18:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 18:28:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:28:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:28:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707900672001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707900672001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:28:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:28:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:28: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-28 18:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707900672001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:28:09] 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":709505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:28:09] local.INFO: GPS data processed {"connection_id":163666,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:28:09] local.INFO: Acknowledgment sent {"connection_id":163666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:28:35] local.INFO: TCP Data received {"connection_id":166306,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:28:35] local.INFO: Processing buffer {"connection_id":166306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:28:35] local.INFO: IMEI packet received {"connection_id":166306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 18:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":166306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:28:36] local.INFO: TCP Data received {"connection_id":166305,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0486f5d08012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0486f5d08012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:28:36] local.INFO: Processing buffer {"connection_id":166305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0486f5d08012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:28:36] local.INFO: Packet analysis {"connection_id":166305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0486f"} 
[2026-08-28 18:28:36] local.INFO: Extracted packet for processing {"connection_id":166305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0486f"} 
[2026-08-28 18:28:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707869184001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:28:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787921653000,"timestamp_ms":1787921653000,"timestamp_seconds":1787921653,"priority":1,"record_length":96,"hex_timestamp":"000001a0486f5d08"} 
[2026-08-28 18:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:28:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:28:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:28:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":166305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":166305,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":166305,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:28:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707869184001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707869184001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:28:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:28:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707869184001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":166305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709506,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:28:36] local.INFO: GPS data processed {"connection_id":166305,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:28:36] local.INFO: Acknowledgment sent {"connection_id":166305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:28:40] local.INFO: TCP Data received {"connection_id":166306,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:28:40] local.INFO: Processing buffer {"connection_id":166306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:28:40] local.INFO: IMEI packet received {"connection_id":166306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 18:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":166306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:28:42] local.INFO: TCP Data received {"connection_id":166306,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048716c60012d34c14006aa4840000f00e62e..."} 
[2026-08-28 18:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048716c60012d34c14006aa4840000f00e62e..."} 
[2026-08-28 18:28:42] local.INFO: Processing buffer {"connection_id":166306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048716c60012d34c14006aa4840000f00e62e..."} 
[2026-08-28 18:28:42] local.INFO: Packet analysis {"connection_id":166306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04871"} 
[2026-08-28 18:28:42] local.INFO: Extracted packet for processing {"connection_id":166306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04871"} 
[2026-08-28 18:28:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 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-28 18:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707900672001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:28:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:28:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787921788000,"timestamp_ms":1787921788000,"timestamp_seconds":1787921788,"priority":1,"record_length":96,"hex_timestamp":"000001a048716c60"} 
[2026-08-28 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-28 18:28:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 18:28: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-28 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-28 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-28 18:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":166306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":166306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":166306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:28:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707900672001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707900672001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:28:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:28:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 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-28 18:28:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707900672001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":166306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:28:42] local.INFO: GPS data processed {"connection_id":166306,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:28:42] local.INFO: Acknowledgment sent {"connection_id":166306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:28:46] local.INFO: TCP Data received {"connection_id":166306,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048716c60012d34c14006aa4840000f00e62e..."} 
[2026-08-28 18:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048716c60012d34c14006aa4840000f00e62e..."} 
[2026-08-28 18:28:46] local.INFO: Processing buffer {"connection_id":166306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048716c60012d34c14006aa4840000f00e62e..."} 
[2026-08-28 18:28:46] local.INFO: Packet analysis {"connection_id":166306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04871"} 
[2026-08-28 18:28:46] local.INFO: Extracted packet for processing {"connection_id":166306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04871"} 
[2026-08-28 18:28:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18: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-28 18:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707900672001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:28:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:28:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787921788000,"timestamp_ms":1787921788000,"timestamp_seconds":1787921788,"priority":1,"record_length":96,"hex_timestamp":"000001a048716c60"} 
[2026-08-28 18: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-28 18:28:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 18:28: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-28 18: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-28 18: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-28 18:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":166306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":166306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":166306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:28:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707900672001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707900672001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:28:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:28:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18: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-28 18:28:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707900672001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":166306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:28:46] local.INFO: GPS data processed {"connection_id":166306,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:28:46] local.INFO: Acknowledgment sent {"connection_id":166306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:28:48] local.INFO: TCP Data received {"connection_id":166307,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166307,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:28:48] local.INFO: Processing buffer {"connection_id":166307,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:28:48] local.INFO: IMEI packet received {"connection_id":166307,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 18:28:48] local.INFO: IMEI acknowledgment sent {"connection_id":166307,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:28:49] local.INFO: TCP Data received {"connection_id":166307,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a04872b868012d18850007218050004c011c29..."} 
[2026-08-28 18:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04872b868012d18850007218050004c011c29..."} 
[2026-08-28 18:28:49] local.INFO: Processing buffer {"connection_id":166307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04872b868012d18850007218050004c011c29..."} 
[2026-08-28 18:28:49] local.INFO: Packet analysis {"connection_id":166307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04872"} 
[2026-08-28 18:28:49] local.INFO: Extracted packet for processing {"connection_id":166307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04872"} 
[2026-08-28 18:28:49] local.INFO: GPS Element Parsed {"raw_longitude":756581632,"raw_latitude":119636048,"longitude_deg":75.6581632,"latitude_deg":11.9636048,"altitude":76,"angle":284,"satellites":41,"speed":32,"hex_longitude":"2d188500","hex_latitude":"07218050","is_valid_coordinates":true} 
[2026-08-28 18: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-28 18:28:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707996416001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:28:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16019278826307584,"note":"Value kept but may cause issues"} 
[2026-08-28 18:28:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776740452367835136,"note":"Value kept but may cause issues"} 
[2026-08-28 18:28:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:28:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787921873000,"timestamp_ms":1787921873000,"timestamp_seconds":1787921873,"priority":1,"record_length":96,"hex_timestamp":"000001a04872b868"} 
[2026-08-28 18: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-28 18:28:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-28 18:28:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219968,"note":"Value kept but may cause issues"} 
[2026-08-28 18:28:49] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-28 18:28:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-28 18:28:49] local.WARNING: Large IO value detected {"io_id":232,"raw_value":2449473536,"note":"Value kept but may cause issues"} 
[2026-08-28 18:28:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-08-28 18:28:49] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3899457536,"note":"Value kept but may cause issues"} 
[2026-08-28 18:28:49] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,106,83,24,241,157,16,233,160,129,45,192,112,74,42,10,66,232,75,128,1,240,92,227,72,33,4,113,205,25,55,196,32,41,239,103,2,56,7,67],"length":479,"final_offset":609,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-08-28 18:28:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332588694150447104,"timestamp_seconds":5332588694150447.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 18: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-28 18:28:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:28:49] local.INFO: Teltonika packet parsed successfully {"connection_id":166307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:28:49] local.INFO: Passing IMEI to GPS processor {"connection_id":166307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:28:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":166307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:28:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:28:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:28:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:28:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707996416001,"66":14048,"106":206,"83":41984,"24":32,"16":16019278826307584,"45":1776740452367835136},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-28 18:28:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:28:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:28:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707996416001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:28:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:28:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:28:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16019278826307584,"km_value":16019278826307.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:28:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776740452367835136,"description":"Unknown IO ID 45"} 
[2026-08-28 18:28:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707996416001,"power":14048,"unknown_106":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1776740452367835136}} 
[2026-08-28 18:28:49] local.INFO: DEBUG: GPS processor result {"connection_id":166307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709509,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:28:49] local.INFO: GPS data processed {"connection_id":166307,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:28:49] local.INFO: Acknowledgment sent {"connection_id":166307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:28:56] local.INFO: TCP Data received {"connection_id":164941,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164941,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:28:56] local.INFO: Processing buffer {"connection_id":164941,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:28:56] local.INFO: IMEI packet received {"connection_id":164941,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 18:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":164941,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:29:01] local.INFO: TCP Data received {"connection_id":164941,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164941,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:29:01] local.INFO: Processing buffer {"connection_id":164941,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:29:01] local.INFO: IMEI packet received {"connection_id":164941,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 18:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":164941,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:29:03] local.INFO: TCP Data received {"connection_id":164941,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0486f5d08012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0486f5d08012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:29:03] local.INFO: Processing buffer {"connection_id":164941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0486f5d08012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:29:03] local.INFO: Packet analysis {"connection_id":164941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0486f"} 
[2026-08-28 18:29:03] local.INFO: Extracted packet for processing {"connection_id":164941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0486f"} 
[2026-08-28 18:29:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707869184001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787921653000,"timestamp_ms":1787921653000,"timestamp_seconds":1787921653,"priority":1,"record_length":96,"hex_timestamp":"000001a0486f5d08"} 
[2026-08-28 18:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:29:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:29:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:29:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":164941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":164941,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":164941,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707869184001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707869184001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:29:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:29:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707869184001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:29:03] 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":709510,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:29:03] local.INFO: GPS data processed {"connection_id":164941,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:29:03] local.INFO: Acknowledgment sent {"connection_id":164941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:29:20] local.INFO: TCP Data received {"connection_id":166307,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a04872b868012d18850007218050004c011c29..."} 
[2026-08-28 18:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04872b868012d18850007218050004c011c29..."} 
[2026-08-28 18:29:20] local.INFO: Processing buffer {"connection_id":166307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04872b868012d18850007218050004c011c29..."} 
[2026-08-28 18:29:20] local.INFO: Packet analysis {"connection_id":166307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04872"} 
[2026-08-28 18:29:20] local.INFO: Extracted packet for processing {"connection_id":166307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04872"} 
[2026-08-28 18:29:20] local.INFO: GPS Element Parsed {"raw_longitude":756581632,"raw_latitude":119636048,"longitude_deg":75.6581632,"latitude_deg":11.9636048,"altitude":76,"angle":284,"satellites":41,"speed":32,"hex_longitude":"2d188500","hex_latitude":"07218050","is_valid_coordinates":true} 
[2026-08-28 18:29:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:29:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707999488001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:29:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16019278826307584,"note":"Value kept but may cause issues"} 
[2026-08-28 18:29:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766818459439616000,"note":"Value kept but may cause issues"} 
[2026-08-28 18:29:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:29:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787921873000,"timestamp_ms":1787921873000,"timestamp_seconds":1787921873,"priority":1,"record_length":96,"hex_timestamp":"000001a04872b868"} 
[2026-08-28 18:29:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:29:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:29:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-28 18:29:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:29:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:29:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:29:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:29:20] local.INFO: Teltonika packet parsed successfully {"connection_id":166307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:29:20] local.INFO: Passing IMEI to GPS processor {"connection_id":166307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:29:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":166307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:29:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:29:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:29:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:29:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707999488001,"66":14048,"106":206,"83":41984,"24":32,"16":16019278826307584,"45":1766818459439616000},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-28 18:29:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:29:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:29:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707999488001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:29:20] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:29:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:29:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16019278826307584,"km_value":16019278826307.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:29:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766818459439616000,"description":"Unknown IO ID 45"} 
[2026-08-28 18:29:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707999488001,"power":14048,"unknown_106":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1766818459439616000}} 
[2026-08-28 18:29:20] local.INFO: DEBUG: GPS processor result {"connection_id":166307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709511,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:29:20] local.INFO: GPS data processed {"connection_id":166307,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:29:20] local.INFO: Acknowledgment sent {"connection_id":166307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:29:30] local.INFO: TCP Data received {"connection_id":163936,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:29:30] local.INFO: Processing buffer {"connection_id":163936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:29:30] local.INFO: IMEI packet received {"connection_id":163936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 18:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":163936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:29:35] local.INFO: TCP Data received {"connection_id":164941,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0486f5d08012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0486f5d08012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:29:35] local.INFO: Processing buffer {"connection_id":164941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0486f5d08012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:29:35] local.INFO: Packet analysis {"connection_id":164941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0486f"} 
[2026-08-28 18:29:35] local.INFO: Extracted packet for processing {"connection_id":164941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0486f"} 
[2026-08-28 18:29:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707869184001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:29:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787921653000,"timestamp_ms":1787921653000,"timestamp_seconds":1787921653,"priority":1,"record_length":96,"hex_timestamp":"000001a0486f5d08"} 
[2026-08-28 18:29:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:29:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:29:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:29:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:29:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":164941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":164941,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":164941,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:29:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707869184001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707869184001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:29:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:29:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:29:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707869184001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:29:35] 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":709512,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:29:35] local.INFO: GPS data processed {"connection_id":164941,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:29:35] local.INFO: Acknowledgment sent {"connection_id":164941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:29:35] local.INFO: TCP Data received {"connection_id":163936,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:29:35] local.INFO: Processing buffer {"connection_id":163936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:29:35] local.INFO: IMEI packet received {"connection_id":163936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 18:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":163936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:29:37] local.INFO: TCP Data received {"connection_id":163936,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048716c60012d34c14006aa4840000f00e62e..."} 
[2026-08-28 18:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048716c60012d34c14006aa4840000f00e62e..."} 
[2026-08-28 18:29:37] local.INFO: Processing buffer {"connection_id":163936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048716c60012d34c14006aa4840000f00e62e..."} 
[2026-08-28 18:29:37] local.INFO: Packet analysis {"connection_id":163936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04871"} 
[2026-08-28 18:29:37] local.INFO: Extracted packet for processing {"connection_id":163936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04871"} 
[2026-08-28 18:29:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707900672001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787921788000,"timestamp_ms":1787921788000,"timestamp_seconds":1787921788,"priority":1,"record_length":96,"hex_timestamp":"000001a048716c60"} 
[2026-08-28 18:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 18:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707900672001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707900672001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:29:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:29:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:29: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-28 18:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707900672001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":163936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:29:37] local.INFO: GPS data processed {"connection_id":163936,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:29:37] local.INFO: Acknowledgment sent {"connection_id":163936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:29:43] local.INFO: TCP Data received {"connection_id":163937,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163937,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:29:43] local.INFO: Processing buffer {"connection_id":163937,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:29:43] local.INFO: IMEI packet received {"connection_id":163937,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 18:29:43] local.INFO: IMEI acknowledgment sent {"connection_id":163937,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:29:47] local.INFO: TCP Data received {"connection_id":163937,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163937,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:29:47] local.INFO: Processing buffer {"connection_id":163937,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:29:47] local.INFO: IMEI packet received {"connection_id":163937,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":163937,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:29:47] local.INFO: TCP Data received {"connection_id":163937,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a04872c420012d187b8007218168004c010d28..."} 
[2026-08-28 18:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04872c420012d187b8007218168004c010d28..."} 
[2026-08-28 18:29:47] local.INFO: Processing buffer {"connection_id":163937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04872c420012d187b8007218168004c010d28..."} 
[2026-08-28 18:29:47] local.INFO: Packet analysis {"connection_id":163937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04872"} 
[2026-08-28 18:29:47] local.INFO: Extracted packet for processing {"connection_id":163937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04872"} 
[2026-08-28 18:29:47] local.INFO: GPS Element Parsed {"raw_longitude":756579200,"raw_latitude":119636328,"longitude_deg":75.65792,"latitude_deg":11.9636328,"altitude":76,"angle":269,"satellites":40,"speed":31,"hex_longitude":"2d187b80","hex_latitude":"07218168","is_valid_coordinates":true} 
[2026-08-28 18: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-28 18:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707999488001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16019399085391872,"note":"Value kept but may cause issues"} 
[2026-08-28 18:29:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766818459439616000,"note":"Value kept but may cause issues"} 
[2026-08-28 18:29: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-28 18:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787921876000,"timestamp_ms":1787921876000,"timestamp_seconds":1787921876,"priority":1,"record_length":96,"hex_timestamp":"000001a04872c420"} 
[2026-08-28 18: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-28 18:29:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-28 18:29:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18: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-28 18: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-28 18:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:29:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707999488001,"66":14048,"106":206,"83":41984,"24":31,"16":16019399085391872,"45":1766818459439616000},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-28 18:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707999488001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:29:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:29:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16019399085391872,"km_value":16019399085391.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:29:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766818459439616000,"description":"Unknown IO ID 45"} 
[2026-08-28 18:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707999488001,"power":14048,"unknown_106":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1766818459439616000}} 
[2026-08-28 18:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":163937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709514,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:29:47] local.INFO: GPS data processed {"connection_id":163937,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:29:47] local.INFO: Acknowledgment sent {"connection_id":163937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:30:01] local.INFO: TCP Data received {"connection_id":163938,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163938,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:30:01] local.INFO: Processing buffer {"connection_id":163938,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:30:01] local.INFO: IMEI packet received {"connection_id":163938,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 18:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":163938,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:30:06] local.INFO: TCP Data received {"connection_id":163938,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163938,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:30:06] local.INFO: Processing buffer {"connection_id":163938,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:30:06] local.INFO: IMEI packet received {"connection_id":163938,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 18:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":163938,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:30:08] local.INFO: TCP Data received {"connection_id":163938,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04873f4d0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04873f4d0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:30:08] local.INFO: Processing buffer {"connection_id":163938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04873f4d0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:30:08] local.INFO: Packet analysis {"connection_id":163938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04873"} 
[2026-08-28 18:30:08] local.INFO: Extracted packet for processing {"connection_id":163938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04873"} 
[2026-08-28 18:30:08] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707943168001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:30:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787921954000,"timestamp_ms":1787921954000,"timestamp_seconds":1787921954,"priority":1,"record_length":96,"hex_timestamp":"000001a04873f4d0"} 
[2026-08-28 18:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:30:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:30:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:30:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163938,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163938,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:30:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707943168001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707943168001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:30:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:30:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707943168001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":163938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709515,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:30:08] local.INFO: GPS data processed {"connection_id":163938,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:30:08] local.INFO: Acknowledgment sent {"connection_id":163938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:30:09] local.INFO: TCP Data received {"connection_id":163936,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048716c60012d34c14006aa4840000f00e62e..."} 
[2026-08-28 18:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048716c60012d34c14006aa4840000f00e62e..."} 
[2026-08-28 18:30:09] local.INFO: Processing buffer {"connection_id":163936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048716c60012d34c14006aa4840000f00e62e..."} 
[2026-08-28 18:30:09] local.INFO: Packet analysis {"connection_id":163936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04871"} 
[2026-08-28 18:30:09] local.INFO: Extracted packet for processing {"connection_id":163936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04871"} 
[2026-08-28 18:30:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707900672001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:30:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:30:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:30:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:30:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787921788000,"timestamp_ms":1787921788000,"timestamp_seconds":1787921788,"priority":1,"record_length":96,"hex_timestamp":"000001a048716c60"} 
[2026-08-28 18:30:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:30:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 18:30:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:30:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:30:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:30:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:30:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:30:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:30:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:30:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:30:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:30:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707900672001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707900672001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:30:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:30:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:30: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-28 18:30:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:30:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707900672001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:30:09] local.INFO: DEBUG: GPS processor result {"connection_id":163936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:30:09] local.INFO: GPS data processed {"connection_id":163936,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:30:09] local.INFO: Acknowledgment sent {"connection_id":163936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:30:14] local.INFO: TCP Data received {"connection_id":163938,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04873f4d0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04873f4d0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:30:14] local.INFO: Processing buffer {"connection_id":163938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04873f4d0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:30:14] local.INFO: Packet analysis {"connection_id":163938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04873"} 
[2026-08-28 18:30:14] local.INFO: Extracted packet for processing {"connection_id":163938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04873"} 
[2026-08-28 18:30:14] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:30:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707943168001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:30:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:30:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:30:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:30:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787921954000,"timestamp_ms":1787921954000,"timestamp_seconds":1787921954,"priority":1,"record_length":96,"hex_timestamp":"000001a04873f4d0"} 
[2026-08-28 18:30:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:30:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:30: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-28 18:30:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:30:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:30:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:30:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:30:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163938,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:30:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163938,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:30:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:30:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:30:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:30:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707943168001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:30:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:30:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:30:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707943168001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:30:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:30:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:30:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:30:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:30:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707943168001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:30:14] local.INFO: DEBUG: GPS processor result {"connection_id":163938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709517,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:30:14] local.INFO: GPS data processed {"connection_id":163938,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:30:14] local.INFO: Acknowledgment sent {"connection_id":163938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:30:18] local.INFO: TCP Data received {"connection_id":163937,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a04872df78012d186500072180e0004d01192b..."} 
[2026-08-28 18:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04872df78012d186500072180e0004d01192b..."} 
[2026-08-28 18:30:18] local.INFO: Processing buffer {"connection_id":163937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04872df78012d186500072180e0004d01192b..."} 
[2026-08-28 18:30:18] local.INFO: Packet analysis {"connection_id":163937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04872"} 
[2026-08-28 18:30:18] local.INFO: Extracted packet for processing {"connection_id":163937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04872"} 
[2026-08-28 18:30:18] local.INFO: GPS Element Parsed {"raw_longitude":756573440,"raw_latitude":119636192,"longitude_deg":75.657344,"latitude_deg":11.9636192,"altitude":77,"angle":281,"satellites":43,"speed":34,"hex_longitude":"2d186500","hex_latitude":"072180e0","is_valid_coordinates":true} 
[2026-08-28 18:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:30:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708000256001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:30:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16019673963298816,"note":"Value kept but may cause issues"} 
[2026-08-28 18:30:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764144447160936448,"note":"Value kept but may cause issues"} 
[2026-08-28 18:30: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-28 18:30:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787921883000,"timestamp_ms":1787921883000,"timestamp_seconds":1787921883,"priority":1,"record_length":96,"hex_timestamp":"000001a04872df78"} 
[2026-08-28 18:30:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:30:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-28 18:30:18] 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-28 18:30:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:30:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:30:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:30:18] local.INFO: Teltonika packet parsed successfully {"connection_id":163937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:30:18] local.INFO: Passing IMEI to GPS processor {"connection_id":163937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:30:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":163937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:30:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:30:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:30:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:30:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708000256001,"66":14428,"106":206,"83":41984,"24":34,"16":16019673963298816,"45":1764144447160936448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-28 18:30:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:30:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:30:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708000256001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:30:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:30:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:30:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16019673963298816,"km_value":16019673963298.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:30:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764144447160936448,"description":"Unknown IO ID 45"} 
[2026-08-28 18:30:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708000256001,"power":14428,"unknown_106":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1764144447160936448}} 
[2026-08-28 18:30:18] local.INFO: DEBUG: GPS processor result {"connection_id":163937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709518,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:30:18] local.INFO: GPS data processed {"connection_id":163937,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:30:18] local.INFO: Acknowledgment sent {"connection_id":163937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:30:30] local.INFO: TCP Data received {"connection_id":166308,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:30:30] local.INFO: Processing buffer {"connection_id":166308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:30:30] local.INFO: IMEI packet received {"connection_id":166308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 18:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":166308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:30:35] local.INFO: TCP Data received {"connection_id":166308,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:30:35] local.INFO: Processing buffer {"connection_id":166308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:30:35] local.INFO: IMEI packet received {"connection_id":166308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 18:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":166308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:30:37] local.INFO: TCP Data received {"connection_id":166308,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048716c60012d34c14006aa4840000f00e62e..."} 
[2026-08-28 18:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048716c60012d34c14006aa4840000f00e62e..."} 
[2026-08-28 18:30:37] local.INFO: Processing buffer {"connection_id":166308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048716c60012d34c14006aa4840000f00e62e..."} 
[2026-08-28 18:30:37] local.INFO: Packet analysis {"connection_id":166308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04871"} 
[2026-08-28 18:30:37] local.INFO: Extracted packet for processing {"connection_id":166308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04871"} 
[2026-08-28 18:30:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707900672001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787921788000,"timestamp_ms":1787921788000,"timestamp_seconds":1787921788,"priority":1,"record_length":96,"hex_timestamp":"000001a048716c60"} 
[2026-08-28 18:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 18:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":166308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":166308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":166308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707900672001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707900672001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:30:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:30:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:30: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-28 18:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707900672001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":166308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:30:37] local.INFO: GPS data processed {"connection_id":166308,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:30:37] local.INFO: Acknowledgment sent {"connection_id":166308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:30:42] local.INFO: TCP Data received {"connection_id":163939,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163939,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:30:42] local.INFO: Processing buffer {"connection_id":163939,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:30:42] local.INFO: IMEI packet received {"connection_id":163939,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 18:30:42] local.INFO: IMEI acknowledgment sent {"connection_id":163939,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:30:48] local.INFO: TCP Data received {"connection_id":163939,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163939,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:30:48] local.INFO: Processing buffer {"connection_id":163939,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:30:48] local.INFO: IMEI packet received {"connection_id":163939,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:30:48] local.INFO: IMEI acknowledgment sent {"connection_id":163939,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:30:49] local.INFO: TCP Data received {"connection_id":163939,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a04872eb30012d185b0007218480004e01272a..."} 
[2026-08-28 18:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04872eb30012d185b0007218480004e01272a..."} 
[2026-08-28 18:30:49] local.INFO: Processing buffer {"connection_id":163939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04872eb30012d185b0007218480004e01272a..."} 
[2026-08-28 18:30:49] local.INFO: Packet analysis {"connection_id":163939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04872"} 
[2026-08-28 18:30:49] local.INFO: Extracted packet for processing {"connection_id":163939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04872"} 
[2026-08-28 18:30:49] local.INFO: GPS Element Parsed {"raw_longitude":756570880,"raw_latitude":119637120,"longitude_deg":75.657088,"latitude_deg":11.963712,"altitude":78,"angle":295,"satellites":42,"speed":34,"hex_longitude":"2d185b00","hex_latitude":"07218480","is_valid_coordinates":true} 
[2026-08-28 18:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:30:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708002048001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:30:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16019802812317696,"note":"Value kept but may cause issues"} 
[2026-08-28 18:30:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757811260184911872,"note":"Value kept but may cause issues"} 
[2026-08-28 18:30:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:30:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787921886000,"timestamp_ms":1787921886000,"timestamp_seconds":1787921886,"priority":1,"record_length":96,"hex_timestamp":"000001a04872eb30"} 
[2026-08-28 18:30:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:30:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-28 18:30:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:30:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:30:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:30:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:30:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:30:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:30:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:30:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:30:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:30:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:30:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708002048001,"66":14080,"106":206,"83":41984,"24":34,"16":16019802812317696,"45":1757811260184911872},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-28 18:30:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:30:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:30:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708002048001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:30:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:30:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:30:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16019802812317696,"km_value":16019802812317.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:30:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757811260184911872,"description":"Unknown IO ID 45"} 
[2026-08-28 18:30:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708002048001,"power":14080,"unknown_106":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1757811260184911872}} 
[2026-08-28 18:30:49] local.INFO: DEBUG: GPS processor result {"connection_id":163939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709520,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:30:49] local.INFO: GPS data processed {"connection_id":163939,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:30:49] local.INFO: Acknowledgment sent {"connection_id":163939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:30:56] local.INFO: TCP Data received {"connection_id":164942,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164942,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:30:56] local.INFO: Processing buffer {"connection_id":164942,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:30:56] local.INFO: IMEI packet received {"connection_id":164942,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 18:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":164942,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:31:01] local.INFO: TCP Data received {"connection_id":164942,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164942,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:31:01] local.INFO: Processing buffer {"connection_id":164942,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:31:01] local.INFO: IMEI packet received {"connection_id":164942,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 18:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":164942,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:31:03] local.INFO: TCP Data received {"connection_id":164942,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04873f4d0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04873f4d0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:31:03] local.INFO: Processing buffer {"connection_id":164942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04873f4d0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:31:03] local.INFO: Packet analysis {"connection_id":164942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04873"} 
[2026-08-28 18:31:03] local.INFO: Extracted packet for processing {"connection_id":164942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04873"} 
[2026-08-28 18:31:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707943168001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:31:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787921954000,"timestamp_ms":1787921954000,"timestamp_seconds":1787921954,"priority":1,"record_length":96,"hex_timestamp":"000001a04873f4d0"} 
[2026-08-28 18:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:31:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:31:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:31:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":164942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":164942,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":164942,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:31:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707943168001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707943168001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:31:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:31:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707943168001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:31:03] 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":709521,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:31:03] local.INFO: GPS data processed {"connection_id":164942,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:31:03] local.INFO: Acknowledgment sent {"connection_id":164942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:31:09] local.INFO: TCP Data received {"connection_id":166308,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048716c60012d34c14006aa4840000f00e62e..."} 
[2026-08-28 18:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048716c60012d34c14006aa4840000f00e62e..."} 
[2026-08-28 18:31:09] local.INFO: Processing buffer {"connection_id":166308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048716c60012d34c14006aa4840000f00e62e..."} 
[2026-08-28 18:31:09] local.INFO: Packet analysis {"connection_id":166308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04871"} 
[2026-08-28 18:31:09] local.INFO: Extracted packet for processing {"connection_id":166308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04871"} 
[2026-08-28 18:31:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707900672001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:31:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787921788000,"timestamp_ms":1787921788000,"timestamp_seconds":1787921788,"priority":1,"record_length":96,"hex_timestamp":"000001a048716c60"} 
[2026-08-28 18:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 18:31:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:31:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":166308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":166308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":166308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:31:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707900672001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707900672001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:31:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:31:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:31: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-28 18:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707900672001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":166308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:31:09] local.INFO: GPS data processed {"connection_id":166308,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:31:09] local.INFO: Acknowledgment sent {"connection_id":166308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:31:20] local.INFO: TCP Data received {"connection_id":163939,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048731628012d183a00072193780051012029..."} 
[2026-08-28 18:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048731628012d183a00072193780051012029..."} 
[2026-08-28 18:31:20] local.INFO: Processing buffer {"connection_id":163939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048731628012d183a00072193780051012029..."} 
[2026-08-28 18:31:20] local.INFO: Packet analysis {"connection_id":163939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04873"} 
[2026-08-28 18:31:20] local.INFO: Extracted packet for processing {"connection_id":163939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04873"} 
[2026-08-28 18:31:20] local.INFO: GPS Element Parsed {"raw_longitude":756562432,"raw_latitude":119640952,"longitude_deg":75.6562432,"latitude_deg":11.9640952,"altitude":81,"angle":288,"satellites":41,"speed":29,"hex_longitude":"2d183a00","hex_latitude":"07219378","is_valid_coordinates":true} 
[2026-08-28 18: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-28 18:31:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708002816001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:31:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16020245193949184,"note":"Value kept but may cause issues"} 
[2026-08-28 18:31:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754996510418042880,"note":"Value kept but may cause issues"} 
[2026-08-28 18:31:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:31:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787921897000,"timestamp_ms":1787921897000,"timestamp_seconds":1787921897,"priority":1,"record_length":96,"hex_timestamp":"000001a048731628"} 
[2026-08-28 18: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-28 18:31:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-28 18:31:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446303232,"note":"Value kept but may cause issues"} 
[2026-08-28 18:31:20] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-28 18:31:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-28 18:31:20] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2152726604,"note":"Value kept but may cause issues"} 
[2026-08-28 18:31:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-08-28 18:31:20] local.WARNING: Large IO value detected {"io_id":137,"raw_value":2281778456,"note":"Value kept but may cause issues"} 
[2026-08-28 18:31:20] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3909681152,"note":"Value kept but may cause issues"} 
[2026-08-28 18:31:20] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,106,83,24,241,157,16,233,160,223,45,128,77,43,10,66,196,129,76,40,184,1,240,224,227,72,33,4,113,205,32,137,168,42,239,55,2,56,7,74,27],"length":479,"final_offset":609,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-08-28 18:31:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620816871279427584,"timestamp_seconds":5620816871279428.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 18: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-28 18:31:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:31:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:31:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:31:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:31:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:31:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:31:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:31:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708002816001,"66":13102,"105":206,"83":41984,"24":29,"16":16020245193949184,"45":1754996510418042880},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:31:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:31:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:31:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708002816001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:31:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:31:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:31:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16020245193949184,"km_value":16020245193949.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:31:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754996510418042880,"description":"Unknown IO ID 45"} 
[2026-08-28 18:31:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708002816001,"power":13102,"unknown_105":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1754996510418042880}} 
[2026-08-28 18:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":163939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709523,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:31:20] local.INFO: GPS data processed {"connection_id":163939,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:31:20] local.INFO: Acknowledgment sent {"connection_id":163939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:31:30] local.INFO: TCP Data received {"connection_id":163667,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:31:30] local.INFO: Processing buffer {"connection_id":163667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:31:30] local.INFO: IMEI packet received {"connection_id":163667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 18:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":163667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:31:36] local.INFO: TCP Data received {"connection_id":163667,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:31:36] local.INFO: Processing buffer {"connection_id":163667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:31:36] local.INFO: IMEI packet received {"connection_id":163667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 18:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":163667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:31:36] local.INFO: TCP Data received {"connection_id":164942,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04873f4d0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04873f4d0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:31:36] local.INFO: Processing buffer {"connection_id":164942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04873f4d0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:31:36] local.INFO: Packet analysis {"connection_id":164942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04873"} 
[2026-08-28 18:31:36] local.INFO: Extracted packet for processing {"connection_id":164942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04873"} 
[2026-08-28 18:31:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707943168001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:31:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:31:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787921954000,"timestamp_ms":1787921954000,"timestamp_seconds":1787921954,"priority":1,"record_length":96,"hex_timestamp":"000001a04873f4d0"} 
[2026-08-28 18:31:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:31:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:31:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:31:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:31:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":164942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":164942,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":164942,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:31:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707943168001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707943168001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:31:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:31:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:31:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707943168001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:31: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":709524,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:31:36] local.INFO: GPS data processed {"connection_id":164942,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:31:36] local.INFO: Acknowledgment sent {"connection_id":164942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:31:37] local.INFO: TCP Data received {"connection_id":163667,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048716c60012d34c14006aa4840000f00e62e..."} 
[2026-08-28 18:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048716c60012d34c14006aa4840000f00e62e..."} 
[2026-08-28 18:31:37] local.INFO: Processing buffer {"connection_id":163667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048716c60012d34c14006aa4840000f00e62e..."} 
[2026-08-28 18:31:37] local.INFO: Packet analysis {"connection_id":163667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04871"} 
[2026-08-28 18:31:37] local.INFO: Extracted packet for processing {"connection_id":163667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04871"} 
[2026-08-28 18:31:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707900672001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:31:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787921788000,"timestamp_ms":1787921788000,"timestamp_seconds":1787921788,"priority":1,"record_length":96,"hex_timestamp":"000001a048716c60"} 
[2026-08-28 18:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:31:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 18:31:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:31:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:31:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707900672001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707900672001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:31:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:31:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:31: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-28 18:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707900672001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:31:37] 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":709525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:31:37] local.INFO: GPS data processed {"connection_id":163667,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:31:37] local.INFO: Acknowledgment sent {"connection_id":163667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:31:42] local.INFO: TCP Data received {"connection_id":163668,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:31:42] local.INFO: Processing buffer {"connection_id":163668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:31:42] local.INFO: IMEI packet received {"connection_id":163668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 18:31:42] local.INFO: IMEI acknowledgment sent {"connection_id":163668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:31:48] local.INFO: TCP Data received {"connection_id":163668,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:31:48] local.INFO: Processing buffer {"connection_id":163668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:31:48] local.INFO: IMEI packet received {"connection_id":163668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":163668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:31:49] local.INFO: TCP Data received {"connection_id":163668,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048732d98012d182f40072197b0004f013128..."} 
[2026-08-28 18:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048732d98012d182f40072197b0004f013128..."} 
[2026-08-28 18:31:49] local.INFO: Processing buffer {"connection_id":163668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048732d98012d182f40072197b0004f013128..."} 
[2026-08-28 18:31:49] local.INFO: Packet analysis {"connection_id":163668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04873"} 
[2026-08-28 18:31:49] local.INFO: Extracted packet for processing {"connection_id":163668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04873"} 
[2026-08-28 18:31:49] local.INFO: GPS Element Parsed {"raw_longitude":756559680,"raw_latitude":119642032,"longitude_deg":75.655968,"latitude_deg":11.9642032,"altitude":79,"angle":305,"satellites":40,"speed":12,"hex_longitude":"2d182f40","hex_latitude":"072197b0","is_valid_coordinates":true} 
[2026-08-28 18: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-28 18:31:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708005632001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:31:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16020386927869952,"note":"Value kept but may cause issues"} 
[2026-08-28 18:31:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1745707836187572224,"note":"Value kept but may cause issues"} 
[2026-08-28 18:31:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:31:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787921903000,"timestamp_ms":1787921903000,"timestamp_seconds":1787921903,"priority":1,"record_length":96,"hex_timestamp":"000001a048732d98"} 
[2026-08-28 18: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-28 18:31:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-28 18:31:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18: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-28 18: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-28 18:31:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:31:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:31:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:31:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:31:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:31:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:31:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:31:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708005632001,"66":13243,"105":206,"83":41984,"24":12,"16":16020386927869952,"45":1745707836187572224},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:31:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:31:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:31:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708005632001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:31:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:31:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:31:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16020386927869952,"km_value":16020386927869.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:31:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1745707836187572224,"description":"Unknown IO ID 45"} 
[2026-08-28 18:31:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708005632001,"power":13243,"unknown_105":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1745707836187572224}} 
[2026-08-28 18:31:49] 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":709526,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:31:49] local.INFO: GPS data processed {"connection_id":163668,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:31:49] local.INFO: Acknowledgment sent {"connection_id":163668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:31:56] local.INFO: TCP Data received {"connection_id":163940,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163940,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:31:56] local.INFO: Processing buffer {"connection_id":163940,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:31:56] local.INFO: IMEI packet received {"connection_id":163940,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 18:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":163940,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:32:01] local.INFO: TCP Data received {"connection_id":163940,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163940,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:32:01] local.INFO: Processing buffer {"connection_id":163940,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:32:01] local.INFO: IMEI packet received {"connection_id":163940,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 18:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":163940,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:32:03] local.INFO: TCP Data received {"connection_id":163940,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04873f4d0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04873f4d0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:32:03] local.INFO: Processing buffer {"connection_id":163940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04873f4d0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:32:03] local.INFO: Packet analysis {"connection_id":163940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04873"} 
[2026-08-28 18:32:03] local.INFO: Extracted packet for processing {"connection_id":163940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04873"} 
[2026-08-28 18:32:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707943168001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:32:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787921954000,"timestamp_ms":1787921954000,"timestamp_seconds":1787921954,"priority":1,"record_length":96,"hex_timestamp":"000001a04873f4d0"} 
[2026-08-28 18:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:32:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:32:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:32:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163940,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163940,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:32:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707943168001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707943168001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:32:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:32:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:32:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707943168001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":163940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709527,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:32:03] local.INFO: GPS data processed {"connection_id":163940,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:32:03] local.INFO: Acknowledgment sent {"connection_id":163940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:32:10] local.INFO: TCP Data received {"connection_id":163667,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048760428012d34c14006aa4840001400e628..."} 
[2026-08-28 18:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048760428012d34c14006aa4840001400e628..."} 
[2026-08-28 18:32:10] local.INFO: Processing buffer {"connection_id":163667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048760428012d34c14006aa4840001400e628..."} 
[2026-08-28 18:32:10] local.INFO: Packet analysis {"connection_id":163667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04876"} 
[2026-08-28 18:32:10] local.INFO: Extracted packet for processing {"connection_id":163667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04876"} 
[2026-08-28 18:32:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":20,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707977728001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787922089000,"timestamp_ms":1787922089000,"timestamp_seconds":1787922089,"priority":1,"record_length":96,"hex_timestamp":"000001a048760428"} 
[2026-08-28 18:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 18:32:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707977728001,"66":25397,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707977728001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:32:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:32:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707977728001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:32:10] 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":709528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:32:10] local.INFO: GPS data processed {"connection_id":163667,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:32:10] local.INFO: Acknowledgment sent {"connection_id":163667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:32:20] local.INFO: TCP Data received {"connection_id":163668,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0487377d0012d182b4007219b700050008328..."} 
[2026-08-28 18:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0487377d0012d182b4007219b700050008328..."} 
[2026-08-28 18:32:20] local.INFO: Processing buffer {"connection_id":163668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0487377d0012d182b4007219b700050008328..."} 
[2026-08-28 18:32:20] local.INFO: Packet analysis {"connection_id":163668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04873"} 
[2026-08-28 18:32:20] local.INFO: Extracted packet for processing {"connection_id":163668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04873"} 
[2026-08-28 18:32:20] local.INFO: GPS Element Parsed {"raw_longitude":756558656,"raw_latitude":119642992,"longitude_deg":75.6558656,"latitude_deg":11.9642992,"altitude":80,"angle":131,"satellites":40,"speed":2,"hex_longitude":"2d182b40","hex_latitude":"07219b70","is_valid_coordinates":true} 
[2026-08-28 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-28 18:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708007168001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16020468532248576,"note":"Value kept but may cause issues"} 
[2026-08-28 18:32:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742681980188209152,"note":"Value kept but may cause issues"} 
[2026-08-28 18:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787921922000,"timestamp_ms":1787921922000,"timestamp_seconds":1787921922,"priority":1,"record_length":96,"hex_timestamp":"000001a0487377d0"} 
[2026-08-28 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-28 18:32:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-28 18:32:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 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-28 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-28 18:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:32:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708007168001,"66":13135,"105":206,"83":41984,"24":2,"16":16020468532248576,"45":1742681980188209152},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708007168001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:32:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:32:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16020468532248576,"km_value":16020468532248.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:32:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742681980188209152,"description":"Unknown IO ID 45"} 
[2026-08-28 18:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708007168001,"power":13135,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1742681980188209152}} 
[2026-08-28 18:32:20] 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":709529,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:32:20] local.INFO: GPS data processed {"connection_id":163668,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:32:20] local.INFO: Acknowledgment sent {"connection_id":163668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:32:35] local.INFO: TCP Data received {"connection_id":163940,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04873f4d0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04873f4d0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:32:35] local.INFO: Processing buffer {"connection_id":163940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04873f4d0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:32:35] local.INFO: Packet analysis {"connection_id":163940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04873"} 
[2026-08-28 18:32:35] local.INFO: Extracted packet for processing {"connection_id":163940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04873"} 
[2026-08-28 18:32:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707943168001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787921954000,"timestamp_ms":1787921954000,"timestamp_seconds":1787921954,"priority":1,"record_length":96,"hex_timestamp":"000001a04873f4d0"} 
[2026-08-28 18:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:32:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:32:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:32:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163940,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163940,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707943168001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707943168001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:32:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:32:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707943168001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":163940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709530,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:32:35] local.INFO: GPS data processed {"connection_id":163940,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:32:35] local.INFO: Acknowledgment sent {"connection_id":163940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:32:35] local.INFO: TCP Data received {"connection_id":163941,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:32:35] local.INFO: Processing buffer {"connection_id":163941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:32:35] local.INFO: IMEI packet received {"connection_id":163941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 18:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":163941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:32:40] local.INFO: TCP Data received {"connection_id":163941,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:32:40] local.INFO: Processing buffer {"connection_id":163941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:32:40] local.INFO: IMEI packet received {"connection_id":163941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 18:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":163941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:32:41] local.INFO: TCP Data received {"connection_id":163941,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048760428012d34c14006aa4840001400e628..."} 
[2026-08-28 18:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048760428012d34c14006aa4840001400e628..."} 
[2026-08-28 18:32:41] local.INFO: Processing buffer {"connection_id":163941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048760428012d34c14006aa4840001400e628..."} 
[2026-08-28 18:32:41] local.INFO: Packet analysis {"connection_id":163941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04876"} 
[2026-08-28 18:32:41] local.INFO: Extracted packet for processing {"connection_id":163941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04876"} 
[2026-08-28 18:32:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":20,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707977728001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:32:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:32:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787922089000,"timestamp_ms":1787922089000,"timestamp_seconds":1787922089,"priority":1,"record_length":96,"hex_timestamp":"000001a048760428"} 
[2026-08-28 18:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:32:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 18:32: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-28 18:32:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":163941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":163941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":163941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:32:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707977728001,"66":25397,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707977728001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:32:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:32:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:32: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-28 18:32:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707977728001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":163941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:32:41] local.INFO: GPS data processed {"connection_id":163941,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:32:41] local.INFO: Acknowledgment sent {"connection_id":163941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:32:46] local.INFO: TCP Data received {"connection_id":163941,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048760428012d34c14006aa4840001400e628..."} 
[2026-08-28 18:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048760428012d34c14006aa4840001400e628..."} 
[2026-08-28 18:32:46] local.INFO: Processing buffer {"connection_id":163941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048760428012d34c14006aa4840001400e628..."} 
[2026-08-28 18:32:46] local.INFO: Packet analysis {"connection_id":163941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04876"} 
[2026-08-28 18:32:46] local.INFO: Extracted packet for processing {"connection_id":163941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04876"} 
[2026-08-28 18:32:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":20,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18: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-28 18:32:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707977728001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:32:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:32:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:32:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:32:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787922089000,"timestamp_ms":1787922089000,"timestamp_seconds":1787922089,"priority":1,"record_length":96,"hex_timestamp":"000001a048760428"} 
[2026-08-28 18: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-28 18:32:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 18:32: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-28 18: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-28 18: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-28 18:32:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:32:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:32:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:32:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:32:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:32:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:32:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:32:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707977728001,"66":25397,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:32:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:32:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:32:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707977728001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:32:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:32:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:32: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-28 18:32:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:32:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707977728001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:32:46] local.INFO: DEBUG: GPS processor result {"connection_id":163941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:32:46] local.INFO: GPS data processed {"connection_id":163941,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:32:46] local.INFO: Acknowledgment sent {"connection_id":163941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:32:47] local.INFO: TCP Data received {"connection_id":164943,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164943,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:32:47] local.INFO: Processing buffer {"connection_id":164943,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:32:47] local.INFO: IMEI packet received {"connection_id":164943,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 18:32:47] local.INFO: IMEI acknowledgment sent {"connection_id":164943,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:32:53] local.INFO: TCP Data received {"connection_id":164943,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164943,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:32:53] local.INFO: Processing buffer {"connection_id":164943,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:32:53] local.INFO: IMEI packet received {"connection_id":164943,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":164943,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:32:54] local.INFO: TCP Data received {"connection_id":164943,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048738b58012d182bc007219b800050013728..."} 
[2026-08-28 18:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048738b58012d182bc007219b800050013728..."} 
[2026-08-28 18:32:54] local.INFO: Processing buffer {"connection_id":164943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048738b58012d182bc007219b800050013728..."} 
[2026-08-28 18:32:54] local.INFO: Packet analysis {"connection_id":164943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04873"} 
[2026-08-28 18:32:54] local.INFO: Extracted packet for processing {"connection_id":164943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04873"} 
[2026-08-28 18:32:54] local.INFO: GPS Element Parsed {"raw_longitude":756558784,"raw_latitude":119643008,"longitude_deg":75.6558784,"latitude_deg":11.9643008,"altitude":80,"angle":311,"satellites":40,"speed":0,"hex_longitude":"2d182bc0","hex_latitude":"07219b80","is_valid_coordinates":true} 
[2026-08-28 18:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:32:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708012032001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:32:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16020472827215872,"note":"Value kept but may cause issues"} 
[2026-08-28 18:32:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741556080281612288,"note":"Value kept but may cause issues"} 
[2026-08-28 18:32:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:32:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787921927000,"timestamp_ms":1787921927000,"timestamp_seconds":1787921927,"priority":1,"record_length":96,"hex_timestamp":"000001a048738b58"} 
[2026-08-28 18:32:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:32:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-28 18:32:54] 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-28 18:32:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:32:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:32:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:32:54] local.INFO: Teltonika packet parsed successfully {"connection_id":164943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:32:54] local.INFO: Passing IMEI to GPS processor {"connection_id":164943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:32:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":164943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:32:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:32:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:32:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:32:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708012032001,"66":13102,"105":206,"83":41984,"24":0,"16":16020472827215872,"45":1741556080281612288},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:32:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:32:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:32:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708012032001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:32:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:32:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:32:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16020472827215872,"km_value":16020472827215.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:32:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741556080281612288,"description":"Unknown IO ID 45"} 
[2026-08-28 18:32:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708012032001,"power":13102,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741556080281612288}} 
[2026-08-28 18:32:54] 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":709533,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:32:54] local.INFO: GPS data processed {"connection_id":164943,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:32:54] local.INFO: Acknowledgment sent {"connection_id":164943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:33:01] local.INFO: TCP Data received {"connection_id":163669,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163669,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:33:01] local.INFO: Processing buffer {"connection_id":163669,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:33:01] local.INFO: IMEI packet received {"connection_id":163669,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 18:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":163669,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:33:06] local.INFO: TCP Data received {"connection_id":163669,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163669,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:33:06] local.INFO: Processing buffer {"connection_id":163669,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:33:06] local.INFO: IMEI packet received {"connection_id":163669,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 18:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":163669,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:33:08] local.INFO: TCP Data received {"connection_id":163669,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04873f4d0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04873f4d0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:33:08] local.INFO: Processing buffer {"connection_id":163669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04873f4d0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:33:08] local.INFO: Packet analysis {"connection_id":163669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04873"} 
[2026-08-28 18:33:08] local.INFO: Extracted packet for processing {"connection_id":163669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04873"} 
[2026-08-28 18:33:08] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707943168001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:33:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787921954000,"timestamp_ms":1787921954000,"timestamp_seconds":1787921954,"priority":1,"record_length":96,"hex_timestamp":"000001a04873f4d0"} 
[2026-08-28 18:33:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:33:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:33:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:33:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:33:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163669,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163669,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:33:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707943168001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707943168001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:33:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:33:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707943168001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:33:08] 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":709534,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:33:08] local.INFO: GPS data processed {"connection_id":163669,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:33:08] local.INFO: Acknowledgment sent {"connection_id":163669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:33:12] local.INFO: TCP Data received {"connection_id":163669,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04873f4d0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04873f4d0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:33:12] local.INFO: Processing buffer {"connection_id":163669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04873f4d0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:33:12] local.INFO: Packet analysis {"connection_id":163669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04873"} 
[2026-08-28 18:33:12] local.INFO: Extracted packet for processing {"connection_id":163669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04873"} 
[2026-08-28 18:33:12] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:33:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707943168001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:33:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:33:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:33:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:33:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787921954000,"timestamp_ms":1787921954000,"timestamp_seconds":1787921954,"priority":1,"record_length":96,"hex_timestamp":"000001a04873f4d0"} 
[2026-08-28 18:33:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:33:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:33:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:33:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:33:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:33:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:33:12] local.INFO: Teltonika packet parsed successfully {"connection_id":163669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:33:12] local.INFO: Passing IMEI to GPS processor {"connection_id":163669,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:33:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":163669,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:33:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:33:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:33:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:33:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707943168001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:33:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:33:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:33:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707943168001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:33:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:33:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:33:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:33:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:33:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707943168001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:33:12] 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":709535,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:33:12] local.INFO: GPS data processed {"connection_id":163669,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:33:12] local.INFO: Acknowledgment sent {"connection_id":163669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:33:25] local.INFO: TCP Data received {"connection_id":164943,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048738f40012d182b4007219ba00050012c29..."} 
[2026-08-28 18:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048738f40012d182b4007219ba00050012c29..."} 
[2026-08-28 18:33:25] local.INFO: Processing buffer {"connection_id":164943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048738f40012d182b4007219ba00050012c29..."} 
[2026-08-28 18:33:25] local.INFO: Packet analysis {"connection_id":164943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04873"} 
[2026-08-28 18:33:25] local.INFO: Extracted packet for processing {"connection_id":164943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04873"} 
[2026-08-28 18:33:25] local.INFO: GPS Element Parsed {"raw_longitude":756558656,"raw_latitude":119643040,"longitude_deg":75.6558656,"latitude_deg":11.964304,"altitude":80,"angle":300,"satellites":41,"speed":3,"hex_longitude":"2d182b40","hex_latitude":"07219ba0","is_valid_coordinates":true} 
[2026-08-28 18:33:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:33:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708013312001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:33:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16020477122183168,"note":"Value kept but may cause issues"} 
[2026-08-28 18:33:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741696817769971712,"note":"Value kept but may cause issues"} 
[2026-08-28 18:33:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:33:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787921928000,"timestamp_ms":1787921928000,"timestamp_seconds":1787921928,"priority":1,"record_length":96,"hex_timestamp":"000001a048738f40"} 
[2026-08-28 18:33:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:33:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:33:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-28 18:33:25] 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-28 18:33:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:33:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:33:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:33:25] local.INFO: Teltonika packet parsed successfully {"connection_id":164943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:33:25] local.INFO: Passing IMEI to GPS processor {"connection_id":164943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:33:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":164943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:33:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:33:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:33:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:33:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708013312001,"66":13102,"105":206,"83":41984,"24":3,"16":16020477122183168,"45":1741696817769971712},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:33:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:33:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:33:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708013312001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:33:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:33:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:33:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16020477122183168,"km_value":16020477122183.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:33:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741696817769971712,"description":"Unknown IO ID 45"} 
[2026-08-28 18:33:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708013312001,"power":13102,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1741696817769971712}} 
[2026-08-28 18:33:25] 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":709536,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:33:25] local.INFO: GPS data processed {"connection_id":164943,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:33:25] local.INFO: Acknowledgment sent {"connection_id":164943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:33:31] local.INFO: TCP Data received {"connection_id":166309,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:33:31] local.INFO: Processing buffer {"connection_id":166309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:33:31] local.INFO: IMEI packet received {"connection_id":166309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 18:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":166309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:33:35] local.INFO: TCP Data received {"connection_id":166309,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:33:35] local.INFO: Processing buffer {"connection_id":166309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:33:35] local.INFO: IMEI packet received {"connection_id":166309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 18:33:35] local.INFO: IMEI acknowledgment sent {"connection_id":166309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:33:36] local.INFO: TCP Data received {"connection_id":166309,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048760428012d34c14006aa4840001400e628..."} 
[2026-08-28 18:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048760428012d34c14006aa4840001400e628..."} 
[2026-08-28 18:33:36] local.INFO: Processing buffer {"connection_id":166309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048760428012d34c14006aa4840001400e628..."} 
[2026-08-28 18:33:36] local.INFO: Packet analysis {"connection_id":166309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04876"} 
[2026-08-28 18:33:36] local.INFO: Extracted packet for processing {"connection_id":166309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04876"} 
[2026-08-28 18:33:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":20,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707977728001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:33:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787922089000,"timestamp_ms":1787922089000,"timestamp_seconds":1787922089,"priority":1,"record_length":96,"hex_timestamp":"000001a048760428"} 
[2026-08-28 18:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:33:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 18:33:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:33:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":166309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":166309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":166309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:33:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707977728001,"66":25397,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707977728001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:33:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:33:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707977728001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":166309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:33:36] local.INFO: GPS data processed {"connection_id":166309,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:33:36] local.INFO: Acknowledgment sent {"connection_id":166309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:33:43] local.INFO: TCP Data received {"connection_id":163670,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163670,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:33:43] local.INFO: Processing buffer {"connection_id":163670,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:33:43] local.INFO: IMEI packet received {"connection_id":163670,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 18:33:43] local.INFO: IMEI acknowledgment sent {"connection_id":163670,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:33:43] local.INFO: TCP Data received {"connection_id":163670,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163670,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:33:43] local.INFO: Processing buffer {"connection_id":163670,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:33:43] local.INFO: IMEI packet received {"connection_id":163670,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:33:43] local.INFO: IMEI acknowledgment sent {"connection_id":163670,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:33:44] local.INFO: TCP Data received {"connection_id":163670,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163670,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:33:44] local.INFO: Processing buffer {"connection_id":163670,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:33:44] local.INFO: IMEI packet received {"connection_id":163670,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":163670,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:33:47] local.INFO: TCP Data received {"connection_id":163670,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163670,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:33:47] local.INFO: Processing buffer {"connection_id":163670,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:33:47] local.INFO: IMEI packet received {"connection_id":163670,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:33:47] local.INFO: IMEI acknowledgment sent {"connection_id":163670,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:33:47] local.INFO: TCP Data received {"connection_id":163670,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0487705f8012d182ac007219c680052014a23..."} 
[2026-08-28 18:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0487705f8012d182ac007219c680052014a23..."} 
[2026-08-28 18:33:47] local.INFO: Processing buffer {"connection_id":163670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0487705f8012d182ac007219c680052014a23..."} 
[2026-08-28 18:33:47] local.INFO: Packet analysis {"connection_id":163670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04877"} 
[2026-08-28 18:33:47] local.INFO: Extracted packet for processing {"connection_id":163670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04877"} 
[2026-08-28 18:33:47] local.INFO: GPS Element Parsed {"raw_longitude":756558528,"raw_latitude":119643240,"longitude_deg":75.6558528,"latitude_deg":11.964324,"altitude":82,"angle":330,"satellites":35,"speed":1,"hex_longitude":"2d182ac0","hex_latitude":"07219c68","is_valid_coordinates":true} 
[2026-08-28 18: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-28 18:33:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708067328001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:33:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16020494302052352,"note":"Value kept but may cause issues"} 
[2026-08-28 18:33:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741415342793287680,"note":"Value kept but may cause issues"} 
[2026-08-28 18:33:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:33:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787922155000,"timestamp_ms":1787922155000,"timestamp_seconds":1787922155,"priority":1,"record_length":96,"hex_timestamp":"000001a0487705f8"} 
[2026-08-28 18: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-28 18:33:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-28 18:33:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18: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-28 18: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-28 18:33:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:33:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:33:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:33:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:33:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:33:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:33:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:33:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708067328001,"66":14298,"105":206,"83":41984,"24":1,"16":16020494302052352,"45":1741415342793287680},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:33:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:33:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:33:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708067328001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:33:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:33:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:33:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16020494302052352,"km_value":16020494302052.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:33:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741415342793287680,"description":"Unknown IO ID 45"} 
[2026-08-28 18:33:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708067328001,"power":14298,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1741415342793287680}} 
[2026-08-28 18:33:48] 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":709538,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:33:48] local.INFO: GPS data processed {"connection_id":163670,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:33:48] local.INFO: Acknowledgment sent {"connection_id":163670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:33:48] local.INFO: TCP Data received {"connection_id":163670,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048774090012d182a4007219d680051013726..."} 
[2026-08-28 18:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048774090012d182a4007219d680051013726..."} 
[2026-08-28 18:33:48] local.INFO: Processing buffer {"connection_id":163670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048774090012d182a4007219d680051013726..."} 
[2026-08-28 18:33:48] local.INFO: Packet analysis {"connection_id":163670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04877"} 
[2026-08-28 18:33:48] local.INFO: Extracted packet for processing {"connection_id":163670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04877"} 
[2026-08-28 18:33:48] local.INFO: GPS Element Parsed {"raw_longitude":756558400,"raw_latitude":119643496,"longitude_deg":75.65584,"latitude_deg":11.9643496,"altitude":81,"angle":311,"satellites":38,"speed":6,"hex_longitude":"2d182a40","hex_latitude":"07219d68","is_valid_coordinates":true} 
[2026-08-28 18: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-28 18:33:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708071680001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:33:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16020511481921536,"note":"Value kept but may cause issues"} 
[2026-08-28 18:33:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741415342793320448,"note":"Value kept but may cause issues"} 
[2026-08-28 18:33:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:33:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787922170000,"timestamp_ms":1787922170000,"timestamp_seconds":1787922170,"priority":1,"record_length":96,"hex_timestamp":"000001a048774090"} 
[2026-08-28 18: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-28 18:33:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-28 18:33:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18: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-28 18: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-28 18:33:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:33:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:33:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:33:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:33:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:33:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:33:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:33:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708071680001,"66":14298,"105":206,"83":41984,"24":6,"16":16020511481921536,"45":1741415342793320448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:33:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:33:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:33:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708071680001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:33:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:33:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:33:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16020511481921536,"km_value":16020511481921.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:33:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741415342793320448,"description":"Unknown IO ID 45"} 
[2026-08-28 18:33:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708071680001,"power":14298,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1741415342793320448}} 
[2026-08-28 18:33:48] 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":709539,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:33:48] local.INFO: GPS data processed {"connection_id":163670,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:33:48] local.INFO: Acknowledgment sent {"connection_id":163670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:33:56] local.INFO: TCP Data received {"connection_id":166310,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166310,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:33:56] local.INFO: Processing buffer {"connection_id":166310,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:33:56] local.INFO: IMEI packet received {"connection_id":166310,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 18:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":166310,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:34:01] local.INFO: TCP Data received {"connection_id":166310,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166310,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:34:01] local.INFO: Processing buffer {"connection_id":166310,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:34:01] local.INFO: IMEI packet received {"connection_id":166310,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 18:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":166310,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:34:04] local.INFO: TCP Data received {"connection_id":166310,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04873f4d0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04873f4d0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:34:04] local.INFO: Processing buffer {"connection_id":166310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04873f4d0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:34:04] local.INFO: Packet analysis {"connection_id":166310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04873"} 
[2026-08-28 18:34:04] local.INFO: Extracted packet for processing {"connection_id":166310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04873"} 
[2026-08-28 18:34:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707943168001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:34:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787921954000,"timestamp_ms":1787921954000,"timestamp_seconds":1787921954,"priority":1,"record_length":96,"hex_timestamp":"000001a04873f4d0"} 
[2026-08-28 18:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:34:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:34:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:34:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":166310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":166310,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":166310,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707943168001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707943168001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:34:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:34:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707943168001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":166310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709540,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:34:04] local.INFO: GPS data processed {"connection_id":166310,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:34:04] local.INFO: Acknowledgment sent {"connection_id":166310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:34:08] local.INFO: TCP Data received {"connection_id":166309,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048760428012d34c14006aa4840001400e628..."} 
[2026-08-28 18:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048760428012d34c14006aa4840001400e628..."} 
[2026-08-28 18:34:08] local.INFO: Processing buffer {"connection_id":166309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048760428012d34c14006aa4840001400e628..."} 
[2026-08-28 18:34:08] local.INFO: Packet analysis {"connection_id":166309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04876"} 
[2026-08-28 18:34:08] local.INFO: Extracted packet for processing {"connection_id":166309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04876"} 
[2026-08-28 18:34:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":20,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707977728001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:34:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787922089000,"timestamp_ms":1787922089000,"timestamp_seconds":1787922089,"priority":1,"record_length":96,"hex_timestamp":"000001a048760428"} 
[2026-08-28 18:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:34:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 18:34:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:34:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":166309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":166309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":166309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:34:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707977728001,"66":25397,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707977728001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:34:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:34:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:34: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-28 18:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707977728001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":166309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:34:08] local.INFO: GPS data processed {"connection_id":166309,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:34:08] local.INFO: Acknowledgment sent {"connection_id":166309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:34:19] local.INFO: TCP Data received {"connection_id":163670,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048777b28012d181f800721a5b8004f01262b..."} 
[2026-08-28 18:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048777b28012d181f800721a5b8004f01262b..."} 
[2026-08-28 18:34:19] local.INFO: Processing buffer {"connection_id":163670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048777b28012d181f800721a5b8004f01262b..."} 
[2026-08-28 18:34:19] local.INFO: Packet analysis {"connection_id":163670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04877"} 
[2026-08-28 18:34:19] local.INFO: Extracted packet for processing {"connection_id":163670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04877"} 
[2026-08-28 18:34:19] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119645624,"longitude_deg":75.6555648,"latitude_deg":11.9645624,"altitude":79,"angle":294,"satellites":43,"speed":6,"hex_longitude":"2d181f80","hex_latitude":"0721a5b8","is_valid_coordinates":true} 
[2026-08-28 18:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:34:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708075520001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:34:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16020678985646080,"note":"Value kept but may cause issues"} 
[2026-08-28 18:34:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741274605305030656,"note":"Value kept but may cause issues"} 
[2026-08-28 18:34:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:34:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787922185000,"timestamp_ms":1787922185000,"timestamp_seconds":1787922185,"priority":1,"record_length":96,"hex_timestamp":"000001a048777b28"} 
[2026-08-28 18:34:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:34:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-28 18:34:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:34:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:34:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:34:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:34:19] local.INFO: Teltonika packet parsed successfully {"connection_id":163670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:34:19] local.INFO: Passing IMEI to GPS processor {"connection_id":163670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:34:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":163670,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:34:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:34:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:34:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:34:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708075520001,"66":14080,"105":206,"83":41984,"24":6,"16":16020678985646080,"45":1741274605305030656},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:34:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:34:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:34:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708075520001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:34:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:34:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:34:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16020678985646080,"km_value":16020678985646.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:34:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741274605305030656,"description":"Unknown IO ID 45"} 
[2026-08-28 18:34:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708075520001,"power":14080,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1741274605305030656}} 
[2026-08-28 18:34:19] 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":709542,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:34:19] local.INFO: GPS data processed {"connection_id":163670,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:34:19] local.INFO: Acknowledgment sent {"connection_id":163670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:34:30] local.INFO: TCP Data received {"connection_id":163942,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:34:30] local.INFO: Processing buffer {"connection_id":163942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:34:30] local.INFO: IMEI packet received {"connection_id":163942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 18:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":163942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:34:35] local.INFO: TCP Data received {"connection_id":163942,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:34:35] local.INFO: Processing buffer {"connection_id":163942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:34:35] local.INFO: IMEI packet received {"connection_id":163942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 18:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":163942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:34:36] local.INFO: TCP Data received {"connection_id":166310,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04873f4d0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04873f4d0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:34:36] local.INFO: Processing buffer {"connection_id":166310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04873f4d0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:34:36] local.INFO: Packet analysis {"connection_id":166310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04873"} 
[2026-08-28 18:34:36] local.INFO: Extracted packet for processing {"connection_id":166310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04873"} 
[2026-08-28 18:34:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707943168001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:34:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:34:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787921954000,"timestamp_ms":1787921954000,"timestamp_seconds":1787921954,"priority":1,"record_length":96,"hex_timestamp":"000001a04873f4d0"} 
[2026-08-28 18:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:34:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:34:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:34:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":166310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":166310,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":166310,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:34:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707943168001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707943168001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:34:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:34:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:34:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707943168001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":166310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709543,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:34:36] local.INFO: GPS data processed {"connection_id":166310,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:34:36] local.INFO: Acknowledgment sent {"connection_id":166310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:34:37] local.INFO: TCP Data received {"connection_id":163942,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048760428012d34c14006aa4840001400e628..."} 
[2026-08-28 18:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048760428012d34c14006aa4840001400e628..."} 
[2026-08-28 18:34:37] local.INFO: Processing buffer {"connection_id":163942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048760428012d34c14006aa4840001400e628..."} 
[2026-08-28 18:34:37] local.INFO: Packet analysis {"connection_id":163942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04876"} 
[2026-08-28 18:34:37] local.INFO: Extracted packet for processing {"connection_id":163942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04876"} 
[2026-08-28 18:34:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":20,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707977728001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787922089000,"timestamp_ms":1787922089000,"timestamp_seconds":1787922089,"priority":1,"record_length":96,"hex_timestamp":"000001a048760428"} 
[2026-08-28 18:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 18:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707977728001,"66":25397,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707977728001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:34:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:34:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:34: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-28 18:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707977728001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":163942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:34:37] local.INFO: GPS data processed {"connection_id":163942,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:34:37] local.INFO: Acknowledgment sent {"connection_id":163942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:34:43] local.INFO: TCP Data received {"connection_id":166311,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166311,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:34:43] local.INFO: Processing buffer {"connection_id":166311,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:34:43] local.INFO: IMEI packet received {"connection_id":166311,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 18:34:43] local.INFO: IMEI acknowledgment sent {"connection_id":166311,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:34:45] local.INFO: TCP Data received {"connection_id":166311,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166311,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:34:45] local.INFO: Processing buffer {"connection_id":166311,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:34:45] local.INFO: IMEI packet received {"connection_id":166311,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":166311,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:34:48] local.INFO: TCP Data received {"connection_id":166311,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166311,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:34:48] local.INFO: Processing buffer {"connection_id":166311,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:34:48] local.INFO: IMEI packet received {"connection_id":166311,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:34:48] local.INFO: IMEI acknowledgment sent {"connection_id":166311,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:34:48] local.INFO: TCP Data received {"connection_id":166311,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048777f10012d181f400721a608004f01352b..."} 
[2026-08-28 18:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048777f10012d181f400721a608004f01352b..."} 
[2026-08-28 18:34:48] local.INFO: Processing buffer {"connection_id":166311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048777f10012d181f400721a608004f01352b..."} 
[2026-08-28 18:34:48] local.INFO: Packet analysis {"connection_id":166311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04877"} 
[2026-08-28 18:34:48] local.INFO: Extracted packet for processing {"connection_id":166311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04877"} 
[2026-08-28 18:34:48] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119645704,"longitude_deg":75.6555584,"latitude_deg":11.9645704,"altitude":79,"angle":309,"satellites":43,"speed":5,"hex_longitude":"2d181f40","hex_latitude":"0721a608","is_valid_coordinates":true} 
[2026-08-28 18: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-28 18:34:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708079360001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:34:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16020683280613376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:34:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749305935872,"note":"Value kept but may cause issues"} 
[2026-08-28 18:34:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:34:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787922186000,"timestamp_ms":1787922186000,"timestamp_seconds":1787922186,"priority":1,"record_length":96,"hex_timestamp":"000001a048777f10"} 
[2026-08-28 18: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-28 18:34:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-28 18:34:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446302976,"note":"Value kept but may cause issues"} 
[2026-08-28 18:34:48] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-28 18:34:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-28 18:34:48] local.WARNING: Large IO value detected {"io_id":234,"raw_value":2365587456,"note":"Value kept but may cause issues"} 
[2026-08-28 18:34:48] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2615672912,"note":"Value kept but may cause issues"} 
[2026-08-28 18:34:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-28 18:34:48] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2147560728,"note":"Value kept but may cause issues"} 
[2026-08-28 18:34:48] local.WARNING: Large IO value detected {"io_id":42,"raw_value":3221692827,"note":"Value kept but may cause issues"} 
[2026-08-28 18:34:48] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3935109120,"note":"Value kept but may cause issues"} 
[2026-08-28 18:34:48] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,105,83,24,241,157,16,234,160,64,45,81,38,10,66,5,192,156,82,35,195,1,240,148,227,72,33,4,113,205,31,42,232,34,239,49,2,56,7,80],"length":479,"final_offset":609,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-28 18:34:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692873370098860032,"timestamp_seconds":5692873370098860.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 18: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-28 18:34:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:34:48] local.INFO: Teltonika packet parsed successfully {"connection_id":166311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:34:48] local.INFO: Passing IMEI to GPS processor {"connection_id":166311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:34:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":166311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:34:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:34:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:34:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:34:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708079360001,"66":13993,"105":206,"83":41984,"24":5,"16":16020683280613376,"45":1738248749305935872},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:34:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:34:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:34:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708079360001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:34:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:34:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:34:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16020683280613376,"km_value":16020683280613.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:34:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749305935872,"description":"Unknown IO ID 45"} 
[2026-08-28 18:34:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708079360001,"power":13993,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1738248749305935872}} 
[2026-08-28 18:34:49] local.INFO: DEBUG: GPS processor result {"connection_id":166311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:34:49] local.INFO: GPS data processed {"connection_id":166311,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:34:49] local.INFO: Acknowledgment sent {"connection_id":166311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:34:53] local.INFO: TCP Data received {"connection_id":166311,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048778ac8012d181dc00721a718004f01462c..."} 
[2026-08-28 18:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048778ac8012d181dc00721a718004f01462c..."} 
[2026-08-28 18:34:53] local.INFO: Processing buffer {"connection_id":166311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048778ac8012d181dc00721a718004f01462c..."} 
[2026-08-28 18:34:53] local.INFO: Packet analysis {"connection_id":166311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04877"} 
[2026-08-28 18:34:53] local.INFO: Extracted packet for processing {"connection_id":166311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04877"} 
[2026-08-28 18:34:53] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119645976,"longitude_deg":75.65552,"latitude_deg":11.9645976,"altitude":79,"angle":326,"satellites":44,"speed":7,"hex_longitude":"2d181dc0","hex_latitude":"0721a718","is_valid_coordinates":true} 
[2026-08-28 18: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-28 18:34:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708079616001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:34:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16020704755449856,"note":"Value kept but may cause issues"} 
[2026-08-28 18:34:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380561778688,"note":"Value kept but may cause issues"} 
[2026-08-28 18:34: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-28 18:34:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787922189000,"timestamp_ms":1787922189000,"timestamp_seconds":1787922189,"priority":1,"record_length":96,"hex_timestamp":"000001a048778ac8"} 
[2026-08-28 18: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-28 18:34:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:34:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-28 18:34:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18: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-28 18: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-28 18:34:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:34:53] local.INFO: Teltonika packet parsed successfully {"connection_id":166311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:34:53] local.INFO: Passing IMEI to GPS processor {"connection_id":166311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:34:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":166311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:34:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:34:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:34:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:34:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708079616001,"66":13993,"105":206,"83":41984,"24":7,"16":16020704755449856,"45":1738178380561778688},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:34:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:34:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:34:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708079616001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:34:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:34:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:34:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16020704755449856,"km_value":16020704755449.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:34:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380561778688,"description":"Unknown IO ID 45"} 
[2026-08-28 18:34:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708079616001,"power":13993,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1738178380561778688}} 
[2026-08-28 18:34:53] local.INFO: DEBUG: GPS processor result {"connection_id":166311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709546,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:34:53] local.INFO: GPS data processed {"connection_id":166311,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:34:53] local.INFO: Acknowledgment sent {"connection_id":166311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:34:57] local.INFO: TCP Data received {"connection_id":163943,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163943,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:34:57] local.INFO: Processing buffer {"connection_id":163943,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:34:57] local.INFO: IMEI packet received {"connection_id":163943,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 18:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":163943,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:35:01] local.INFO: TCP Data received {"connection_id":163943,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163943,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:35:01] local.INFO: Processing buffer {"connection_id":163943,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:35:01] local.INFO: IMEI packet received {"connection_id":163943,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 18:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":163943,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:35:03] local.INFO: TCP Data received {"connection_id":163943,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048788c98012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048788c98012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:35:03] local.INFO: Processing buffer {"connection_id":163943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048788c98012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:35:03] local.INFO: Packet analysis {"connection_id":163943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04878"} 
[2026-08-28 18:35:03] local.INFO: Extracted packet for processing {"connection_id":163943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04878"} 
[2026-08-28 18:35:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708020224001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:35:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787922255000,"timestamp_ms":1787922255000,"timestamp_seconds":1787922255,"priority":1,"record_length":96,"hex_timestamp":"000001a048788c98"} 
[2026-08-28 18:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:35:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:35:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:35:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163943,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163943,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:35:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708020224001,"66":25299,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708020224001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:35:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:35:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708020224001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":163943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709547,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:35:03] local.INFO: GPS data processed {"connection_id":163943,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:35:03] local.INFO: Acknowledgment sent {"connection_id":163943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:35:09] local.INFO: TCP Data received {"connection_id":163942,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048760428012d34c14006aa4840001400e628..."} 
[2026-08-28 18:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048760428012d34c14006aa4840001400e628..."} 
[2026-08-28 18:35:09] local.INFO: Processing buffer {"connection_id":163942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048760428012d34c14006aa4840001400e628..."} 
[2026-08-28 18:35:09] local.INFO: Packet analysis {"connection_id":163942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04876"} 
[2026-08-28 18:35:09] local.INFO: Extracted packet for processing {"connection_id":163942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04876"} 
[2026-08-28 18:35:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":20,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707977728001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:35:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787922089000,"timestamp_ms":1787922089000,"timestamp_seconds":1787922089,"priority":1,"record_length":96,"hex_timestamp":"000001a048760428"} 
[2026-08-28 18:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:35:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 18:35:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:35:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:35:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707977728001,"66":25397,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707977728001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:35:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:35:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:35: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-28 18:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707977728001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":163942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:35:09] local.INFO: GPS data processed {"connection_id":163942,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:35:09] local.INFO: Acknowledgment sent {"connection_id":163942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:35:24] local.INFO: TCP Data received {"connection_id":166311,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048779298012d181d000721a8a0004e01662c..."} 
[2026-08-28 18:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048779298012d181d000721a8a0004e01662c..."} 
[2026-08-28 18:35:24] local.INFO: Processing buffer {"connection_id":166311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048779298012d181d000721a8a0004e01662c..."} 
[2026-08-28 18:35:24] local.INFO: Packet analysis {"connection_id":166311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04877"} 
[2026-08-28 18:35:24] local.INFO: Extracted packet for processing {"connection_id":166311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04877"} 
[2026-08-28 18:35:24] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119646368,"longitude_deg":75.6555008,"latitude_deg":11.9646368,"altitude":78,"angle":358,"satellites":44,"speed":11,"hex_longitude":"2d181d00","hex_latitude":"0721a8a0","is_valid_coordinates":true} 
[2026-08-28 18:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:35:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708080384001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:35:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16020726230286336,"note":"Value kept but may cause issues"} 
[2026-08-28 18:35:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168096782336,"note":"Value kept but may cause issues"} 
[2026-08-28 18:35:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:35:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787922191000,"timestamp_ms":1787922191000,"timestamp_seconds":1787922191,"priority":1,"record_length":96,"hex_timestamp":"000001a048779298"} 
[2026-08-28 18:35:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:35:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-28 18:35:24] 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-28 18:35:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:35:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:35:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:35:24] local.INFO: Teltonika packet parsed successfully {"connection_id":166311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:35:24] local.INFO: Passing IMEI to GPS processor {"connection_id":166311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:35:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":166311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:35:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:35:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:35:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:35:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708080384001,"66":13961,"105":206,"83":41984,"24":11,"16":16020726230286336,"45":1737756168096782336},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:35:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:35:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:35:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708080384001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:35:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:35:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:35:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16020726230286336,"km_value":16020726230286.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:35:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168096782336,"description":"Unknown IO ID 45"} 
[2026-08-28 18:35:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708080384001,"power":13961,"unknown_105":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1737756168096782336}} 
[2026-08-28 18:35:24] local.INFO: DEBUG: GPS processor result {"connection_id":166311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709549,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:35:24] local.INFO: GPS data processed {"connection_id":166311,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:35:24] local.INFO: Acknowledgment sent {"connection_id":166311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:35:30] local.INFO: TCP Data received {"connection_id":163671,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:35:30] local.INFO: Processing buffer {"connection_id":163671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:35:30] local.INFO: IMEI packet received {"connection_id":163671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 18:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":163671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:35:34] local.INFO: TCP Data received {"connection_id":163943,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048788c98012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048788c98012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:35:34] local.INFO: Processing buffer {"connection_id":163943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048788c98012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:35:34] local.INFO: Packet analysis {"connection_id":163943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04878"} 
[2026-08-28 18:35:34] local.INFO: Extracted packet for processing {"connection_id":163943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04878"} 
[2026-08-28 18:35:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708020224001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:35:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:35:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787922255000,"timestamp_ms":1787922255000,"timestamp_seconds":1787922255,"priority":1,"record_length":96,"hex_timestamp":"000001a048788c98"} 
[2026-08-28 18:35:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:35:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:35:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:35:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:35:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163943,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163943,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:35:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708020224001,"66":25299,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708020224001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:35:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:35:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:35:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708020224001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":163943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709550,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:35:35] local.INFO: GPS data processed {"connection_id":163943,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:35:35] local.INFO: Acknowledgment sent {"connection_id":163943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:35:35] local.INFO: TCP Data received {"connection_id":163671,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:35:35] local.INFO: Processing buffer {"connection_id":163671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:35:35] local.INFO: IMEI packet received {"connection_id":163671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 18:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":163671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:35:36] local.INFO: TCP Data received {"connection_id":163671,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048760428012d34c14006aa4840001400e628..."} 
[2026-08-28 18:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048760428012d34c14006aa4840001400e628..."} 
[2026-08-28 18:35:36] local.INFO: Processing buffer {"connection_id":163671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048760428012d34c14006aa4840001400e628..."} 
[2026-08-28 18:35:36] local.INFO: Packet analysis {"connection_id":163671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04876"} 
[2026-08-28 18:35:36] local.INFO: Extracted packet for processing {"connection_id":163671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04876"} 
[2026-08-28 18:35:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":20,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707977728001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787922089000,"timestamp_ms":1787922089000,"timestamp_seconds":1787922089,"priority":1,"record_length":96,"hex_timestamp":"000001a048760428"} 
[2026-08-28 18:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 18:35:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:35:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:35:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707977728001,"66":25397,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707977728001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:35:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:35:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707977728001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:35:36] 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":709551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:35:36] local.INFO: GPS data processed {"connection_id":163671,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:35:36] local.INFO: Acknowledgment sent {"connection_id":163671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:35:43] local.INFO: TCP Data received {"connection_id":163672,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:35:43] local.INFO: Processing buffer {"connection_id":163672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:35:43] local.INFO: IMEI packet received {"connection_id":163672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 18:35:43] local.INFO: IMEI acknowledgment sent {"connection_id":163672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:35:48] local.INFO: TCP Data received {"connection_id":163672,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:35:48] local.INFO: Processing buffer {"connection_id":163672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:35:48] local.INFO: IMEI packet received {"connection_id":163672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":163672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:35:49] local.INFO: TCP Data received {"connection_id":163672,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048779680012d181d000721a9a0004e00132b..."} 
[2026-08-28 18:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048779680012d181d000721a9a0004e00132b..."} 
[2026-08-28 18:35:49] local.INFO: Processing buffer {"connection_id":163672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048779680012d181d000721a9a0004e00132b..."} 
[2026-08-28 18:35:49] local.INFO: Packet analysis {"connection_id":163672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04877"} 
[2026-08-28 18:35:49] local.INFO: Extracted packet for processing {"connection_id":163672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04877"} 
[2026-08-28 18:35:49] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119646624,"longitude_deg":75.6555008,"latitude_deg":11.9646624,"altitude":78,"angle":19,"satellites":43,"speed":11,"hex_longitude":"2d181d00","hex_latitude":"0721a9a0","is_valid_coordinates":true} 
[2026-08-28 18:35: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-28 18:35:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708080896001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:35:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16020739115188224,"note":"Value kept but may cause issues"} 
[2026-08-28 18:35:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864349696,"note":"Value kept but may cause issues"} 
[2026-08-28 18:35:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:35:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787922192000,"timestamp_ms":1787922192000,"timestamp_seconds":1787922192,"priority":1,"record_length":96,"hex_timestamp":"000001a048779680"} 
[2026-08-28 18:35:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:35:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:35:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-08-28 18:35:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:35: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-28 18:35:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:35:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:35:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:35:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:35:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:35:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:35:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:35:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:35:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708080896001,"66":13993,"105":206,"83":41984,"24":11,"16":16020739115188224,"45":1737545061864349696},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:35:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:35:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:35:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708080896001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:35:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:35:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:35:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16020739115188224,"km_value":16020739115188.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:35:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864349696,"description":"Unknown IO ID 45"} 
[2026-08-28 18:35:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708080896001,"power":13993,"unknown_105":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1737545061864349696}} 
[2026-08-28 18:35:49] 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":709552,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:35:49] local.INFO: GPS data processed {"connection_id":163672,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:35:49] local.INFO: Acknowledgment sent {"connection_id":163672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:35:56] local.INFO: TCP Data received {"connection_id":163944,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163944,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:35:56] local.INFO: Processing buffer {"connection_id":163944,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:35:56] local.INFO: IMEI packet received {"connection_id":163944,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 18:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":163944,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:36:01] local.INFO: TCP Data received {"connection_id":163944,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163944,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:36:01] local.INFO: Processing buffer {"connection_id":163944,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:36:01] local.INFO: IMEI packet received {"connection_id":163944,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 18:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":163944,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:36:02] local.INFO: TCP Data received {"connection_id":163944,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048788c98012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048788c98012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:36:02] local.INFO: Processing buffer {"connection_id":163944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048788c98012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:36:02] local.INFO: Packet analysis {"connection_id":163944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04878"} 
[2026-08-28 18:36:02] local.INFO: Extracted packet for processing {"connection_id":163944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04878"} 
[2026-08-28 18:36:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:36:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708020224001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:36:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:36:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:36:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:36:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787922255000,"timestamp_ms":1787922255000,"timestamp_seconds":1787922255,"priority":1,"record_length":96,"hex_timestamp":"000001a048788c98"} 
[2026-08-28 18:36:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:36:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:36:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:36:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:36:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:36:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:36:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:36:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163944,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:36:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163944,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:36:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:36:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:36:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708020224001,"66":25299,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708020224001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:36:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:36:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708020224001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":163944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709553,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:36:03] local.INFO: GPS data processed {"connection_id":163944,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:36:03] local.INFO: Acknowledgment sent {"connection_id":163944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:36:08] local.INFO: TCP Data received {"connection_id":163671,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048760428012d34c14006aa4840001400e628..."} 
[2026-08-28 18:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048760428012d34c14006aa4840001400e628..."} 
[2026-08-28 18:36:08] local.INFO: Processing buffer {"connection_id":163671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048760428012d34c14006aa4840001400e628..."} 
[2026-08-28 18:36:08] local.INFO: Packet analysis {"connection_id":163671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04876"} 
[2026-08-28 18:36:08] local.INFO: Extracted packet for processing {"connection_id":163671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04876"} 
[2026-08-28 18:36:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":20,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707977728001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:36:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787922089000,"timestamp_ms":1787922089000,"timestamp_seconds":1787922089,"priority":1,"record_length":96,"hex_timestamp":"000001a048760428"} 
[2026-08-28 18:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:36:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 18:36:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:36:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:36:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707977728001,"66":25397,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707977728001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:36:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:36:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:36: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-28 18:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707977728001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:36:08] 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":709554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:36:08] local.INFO: GPS data processed {"connection_id":163671,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:36:08] local.INFO: Acknowledgment sent {"connection_id":163671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:36:20] local.INFO: TCP Data received {"connection_id":163672,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048779e50012d181e400721ab90004e00222c..."} 
[2026-08-28 18:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048779e50012d181e400721ab90004e00222c..."} 
[2026-08-28 18:36:20] local.INFO: Processing buffer {"connection_id":163672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048779e50012d181e400721ab90004e00222c..."} 
[2026-08-28 18:36:20] local.INFO: Packet analysis {"connection_id":163672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04877"} 
[2026-08-28 18:36:20] local.INFO: Extracted packet for processing {"connection_id":163672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04877"} 
[2026-08-28 18:36:20] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647120,"longitude_deg":75.6555328,"latitude_deg":11.964712,"altitude":78,"angle":34,"satellites":44,"speed":12,"hex_longitude":"2d181e40","hex_latitude":"0721ab90","is_valid_coordinates":true} 
[2026-08-28 18:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:36:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708081152001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:36:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16020769179959296,"note":"Value kept but may cause issues"} 
[2026-08-28 18:36:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864415232,"note":"Value kept but may cause issues"} 
[2026-08-28 18:36:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:36:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787922194000,"timestamp_ms":1787922194000,"timestamp_seconds":1787922194,"priority":1,"record_length":96,"hex_timestamp":"000001a048779e50"} 
[2026-08-28 18:36:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:36:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-28 18:36:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:36:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:36:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:36:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:36:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:36:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:36:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:36:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:36:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:36:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:36:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708081152001,"66":13961,"105":206,"83":41984,"24":12,"16":16020769179959296,"45":1737545061864415232},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:36:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:36:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:36:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708081152001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:36:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:36:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:36:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16020769179959296,"km_value":16020769179959.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:36:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864415232,"description":"Unknown IO ID 45"} 
[2026-08-28 18:36:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708081152001,"power":13961,"unknown_105":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1737545061864415232}} 
[2026-08-28 18:36:20] 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":709555,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:36:20] local.INFO: GPS data processed {"connection_id":163672,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:36:20] local.INFO: Acknowledgment sent {"connection_id":163672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:36:34] local.INFO: TCP Data received {"connection_id":163944,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048788c98012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048788c98012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:36:34] local.INFO: Processing buffer {"connection_id":163944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048788c98012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:36:34] local.INFO: Packet analysis {"connection_id":163944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04878"} 
[2026-08-28 18:36:34] local.INFO: Extracted packet for processing {"connection_id":163944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04878"} 
[2026-08-28 18:36:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708020224001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:36:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:36:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787922255000,"timestamp_ms":1787922255000,"timestamp_seconds":1787922255,"priority":1,"record_length":96,"hex_timestamp":"000001a048788c98"} 
[2026-08-28 18:36:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:36:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:36:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:36:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:36:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163944,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163944,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:36:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:36:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708020224001,"66":25299,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:36:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:36:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:36:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708020224001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:36:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:36:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:36:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:36:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:36:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708020224001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:36:34] local.INFO: DEBUG: GPS processor result {"connection_id":163944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709556,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:36:34] local.INFO: GPS data processed {"connection_id":163944,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:36:34] local.INFO: Acknowledgment sent {"connection_id":163944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:36:35] local.INFO: TCP Data received {"connection_id":164944,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:36:35] local.INFO: Processing buffer {"connection_id":164944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:36:35] local.INFO: IMEI packet received {"connection_id":164944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 18:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":164944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:36:40] local.INFO: TCP Data received {"connection_id":164944,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:36:40] local.INFO: Processing buffer {"connection_id":164944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:36:40] local.INFO: IMEI packet received {"connection_id":164944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 18:36:40] local.INFO: IMEI acknowledgment sent {"connection_id":164944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:36:42] local.INFO: TCP Data received {"connection_id":164944,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048760428012d34c14006aa4840001400e628..."} 
[2026-08-28 18:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048760428012d34c14006aa4840001400e628..."} 
[2026-08-28 18:36:42] local.INFO: Processing buffer {"connection_id":164944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048760428012d34c14006aa4840001400e628..."} 
[2026-08-28 18:36:42] local.INFO: Packet analysis {"connection_id":164944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04876"} 
[2026-08-28 18:36:42] local.INFO: Extracted packet for processing {"connection_id":164944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04876"} 
[2026-08-28 18:36:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":20,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 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-28 18:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707977728001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:36:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:36:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787922089000,"timestamp_ms":1787922089000,"timestamp_seconds":1787922089,"priority":1,"record_length":96,"hex_timestamp":"000001a048760428"} 
[2026-08-28 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-28 18:36:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 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":31,"data_length":795,"current_offset":136} 
[2026-08-28 18: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-28 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-28 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-28 18:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":164944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":164944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":164944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:36:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707977728001,"66":25397,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707977728001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:36:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:36:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 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-28 18:36:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707977728001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:36:42] 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":709557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:36:42] local.INFO: GPS data processed {"connection_id":164944,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:36:42] local.INFO: Acknowledgment sent {"connection_id":164944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:36:42] local.INFO: TCP Data received {"connection_id":164945,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164945,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:36:42] local.INFO: Processing buffer {"connection_id":164945,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:36:42] local.INFO: IMEI packet received {"connection_id":164945,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 18:36:42] local.INFO: IMEI acknowledgment sent {"connection_id":164945,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:36:46] local.INFO: TCP Data received {"connection_id":164944,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048760428012d34c14006aa4840001400e628..."} 
[2026-08-28 18:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048760428012d34c14006aa4840001400e628..."} 
[2026-08-28 18:36:46] local.INFO: Processing buffer {"connection_id":164944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048760428012d34c14006aa4840001400e628..."} 
[2026-08-28 18:36:46] local.INFO: Packet analysis {"connection_id":164944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04876"} 
[2026-08-28 18:36:46] local.INFO: Extracted packet for processing {"connection_id":164944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04876"} 
[2026-08-28 18:36:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":20,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:36:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457707977728001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:36:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:36:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:36:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:36:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787922089000,"timestamp_ms":1787922089000,"timestamp_seconds":1787922089,"priority":1,"record_length":96,"hex_timestamp":"000001a048760428"} 
[2026-08-28 18:36:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:36:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 18:36: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-28 18:36:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:36:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:36:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:36:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:36:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:36:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:36:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:36:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:36:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:36:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457707977728001,"66":25397,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:36:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:36:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:36:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457707977728001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:36:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:36:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:36: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-28 18:36:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:36:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457707977728001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:36:46] 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":709558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:36:46] local.INFO: GPS data processed {"connection_id":164944,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:36:46] local.INFO: Acknowledgment sent {"connection_id":164944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:36:48] local.INFO: TCP Data received {"connection_id":164945,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164945,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:36:48] local.INFO: Processing buffer {"connection_id":164945,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:36:48] local.INFO: IMEI packet received {"connection_id":164945,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":164945,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:36:49] local.INFO: TCP Data received {"connection_id":164945,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a04877c948012d1824400721b558004c01642a..."} 
[2026-08-28 18:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04877c948012d1824400721b558004c01642a..."} 
[2026-08-28 18:36:49] local.INFO: Processing buffer {"connection_id":164945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04877c948012d1824400721b558004c01642a..."} 
[2026-08-28 18:36:49] local.INFO: Packet analysis {"connection_id":164945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04877"} 
[2026-08-28 18:36:49] local.INFO: Extracted packet for processing {"connection_id":164945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04877"} 
[2026-08-28 18:36:49] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119649624,"longitude_deg":75.6556864,"latitude_deg":11.9649624,"altitude":76,"angle":356,"satellites":42,"speed":5,"hex_longitude":"2d182440","hex_latitude":"0721b558","is_valid_coordinates":true} 
[2026-08-28 18:36:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:36:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708081664001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:36:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16020910913880064,"note":"Value kept but may cause issues"} 
[2026-08-28 18:36:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585430528,"note":"Value kept but may cause issues"} 
[2026-08-28 18:36:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:36:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787922205000,"timestamp_ms":1787922205000,"timestamp_seconds":1787922205,"priority":1,"record_length":96,"hex_timestamp":"000001a04877c948"} 
[2026-08-28 18:36:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:36:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:36:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-08-28 18:36:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:36:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:36:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:36:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:36:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:36:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:36:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:36:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:36:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:36:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:36:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708081664001,"66":14396,"105":206,"83":41984,"24":5,"16":16020910913880064,"45":1737896905585430528},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:36:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:36:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:36:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708081664001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:36:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:36:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:36:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16020910913880064,"km_value":16020910913880.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:36:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585430528,"description":"Unknown IO ID 45"} 
[2026-08-28 18:36:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708081664001,"power":14396,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1737896905585430528}} 
[2026-08-28 18:36:49] 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":709559,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:36:49] local.INFO: GPS data processed {"connection_id":164945,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:36:49] local.INFO: Acknowledgment sent {"connection_id":164945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:37:01] local.INFO: TCP Data received {"connection_id":163673,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163673,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:37:01] local.INFO: Processing buffer {"connection_id":163673,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:37:01] local.INFO: IMEI packet received {"connection_id":163673,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 18:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":163673,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:37:06] local.INFO: TCP Data received {"connection_id":163673,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163673,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:37:06] local.INFO: Processing buffer {"connection_id":163673,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:37:06] local.INFO: IMEI packet received {"connection_id":163673,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 18:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":163673,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:37:08] local.INFO: TCP Data received {"connection_id":163673,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048788c98012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048788c98012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:37:08] local.INFO: Processing buffer {"connection_id":163673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048788c98012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:37:08] local.INFO: Packet analysis {"connection_id":163673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04878"} 
[2026-08-28 18:37:08] local.INFO: Extracted packet for processing {"connection_id":163673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04878"} 
[2026-08-28 18:37:08] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708020224001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:37:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787922255000,"timestamp_ms":1787922255000,"timestamp_seconds":1787922255,"priority":1,"record_length":96,"hex_timestamp":"000001a048788c98"} 
[2026-08-28 18:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:37:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:37:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:37:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163673,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163673,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:37:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708020224001,"66":25299,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708020224001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:37:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:37:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708020224001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:37:08] 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":709560,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:37:08] local.INFO: GPS data processed {"connection_id":163673,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:37:08] local.INFO: Acknowledgment sent {"connection_id":163673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:37:12] local.INFO: TCP Data received {"connection_id":163673,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048788c98012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048788c98012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:37:12] local.INFO: Processing buffer {"connection_id":163673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048788c98012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:37:12] local.INFO: Packet analysis {"connection_id":163673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04878"} 
[2026-08-28 18:37:12] local.INFO: Extracted packet for processing {"connection_id":163673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04878"} 
[2026-08-28 18:37:12] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:37:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708020224001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:37:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:37:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:37:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:37:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787922255000,"timestamp_ms":1787922255000,"timestamp_seconds":1787922255,"priority":1,"record_length":96,"hex_timestamp":"000001a048788c98"} 
[2026-08-28 18:37:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:37:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:37: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-28 18:37:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:37:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:37:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:37:12] local.INFO: Teltonika packet parsed successfully {"connection_id":163673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:37:12] local.INFO: Passing IMEI to GPS processor {"connection_id":163673,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:37:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":163673,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:37:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:37:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:37:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:37:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708020224001,"66":25299,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:37:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:37:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:37:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708020224001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:37:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:37:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:37:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:37:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:37:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708020224001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:37:12] 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":709561,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:37:12] local.INFO: GPS data processed {"connection_id":163673,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:37:12] local.INFO: Acknowledgment sent {"connection_id":163673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:37:20] local.INFO: TCP Data received {"connection_id":164945,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048781b50012d1822800721b780004c01642b..."} 
[2026-08-28 18:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048781b50012d1822800721b780004c01642b..."} 
[2026-08-28 18:37:20] local.INFO: Processing buffer {"connection_id":164945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048781b50012d1822800721b780004c01642b..."} 
[2026-08-28 18:37:20] local.INFO: Packet analysis {"connection_id":164945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04878"} 
[2026-08-28 18:37:20] local.INFO: Extracted packet for processing {"connection_id":164945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04878"} 
[2026-08-28 18:37:20] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119650176,"longitude_deg":75.6556416,"latitude_deg":11.9650176,"altitude":76,"angle":356,"satellites":43,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b780","is_valid_coordinates":true} 
[2026-08-28 18:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:37:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708084480001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:37:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16020949568585728,"note":"Value kept but may cause issues"} 
[2026-08-28 18:37:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446335488,"note":"Value kept but may cause issues"} 
[2026-08-28 18:37:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:37:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787922226000,"timestamp_ms":1787922226000,"timestamp_seconds":1787922226,"priority":1,"record_length":96,"hex_timestamp":"000001a048781b50"} 
[2026-08-28 18:37:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:37:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-28 18:37:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:37:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:37:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:37:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:37:20] local.INFO: Teltonika packet parsed successfully {"connection_id":164945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:37:20] local.INFO: Passing IMEI to GPS processor {"connection_id":164945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:37:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":164945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:37:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:37:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:37:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:37:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708084480001,"66":13656,"105":206,"83":41984,"24":0,"16":16020949568585728,"45":1739585755446335488},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:37:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:37:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:37:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708084480001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:37:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:37:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:37:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16020949568585728,"km_value":16020949568585.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:37:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446335488,"description":"Unknown IO ID 45"} 
[2026-08-28 18:37:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708084480001,"power":13656,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739585755446335488}} 
[2026-08-28 18:37:20] 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":709562,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:37:20] local.INFO: GPS data processed {"connection_id":164945,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:37:20] local.INFO: Acknowledgment sent {"connection_id":164945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:37:30] local.INFO: TCP Data received {"connection_id":163674,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:37:30] local.INFO: Processing buffer {"connection_id":163674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:37:30] local.INFO: IMEI packet received {"connection_id":163674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 18:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":163674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:37:35] local.INFO: TCP Data received {"connection_id":163674,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:37:35] local.INFO: Processing buffer {"connection_id":163674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:37:35] local.INFO: IMEI packet received {"connection_id":163674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 18:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":163674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:37:36] local.INFO: TCP Data received {"connection_id":163674,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0487a9bf0012d34c14006aa4840000d00e628..."} 
[2026-08-28 18:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0487a9bf0012d34c14006aa4840000d00e628..."} 
[2026-08-28 18:37:37] local.INFO: Processing buffer {"connection_id":163674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0487a9bf0012d34c14006aa4840000d00e628..."} 
[2026-08-28 18:37:37] local.INFO: Packet analysis {"connection_id":163674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0487a"} 
[2026-08-28 18:37:37] local.INFO: Extracted packet for processing {"connection_id":163674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0487a"} 
[2026-08-28 18:37:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708054784001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787922390000,"timestamp_ms":1787922390000,"timestamp_seconds":1787922390,"priority":1,"record_length":96,"hex_timestamp":"000001a0487a9bf0"} 
[2026-08-28 18:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 18:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708054784001,"66":25419,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708054784001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:37:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:37:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:37: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-28 18:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708054784001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:37:37] 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":709563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:37:37] local.INFO: GPS data processed {"connection_id":163674,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:37:37] local.INFO: Acknowledgment sent {"connection_id":163674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:37:42] local.INFO: TCP Data received {"connection_id":166312,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:37:42] local.INFO: Processing buffer {"connection_id":166312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:37:42] local.INFO: IMEI packet received {"connection_id":166312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 18:37:42] local.INFO: IMEI acknowledgment sent {"connection_id":166312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:37:48] local.INFO: TCP Data received {"connection_id":166312,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:37:48] local.INFO: Processing buffer {"connection_id":166312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:37:48] local.INFO: IMEI packet received {"connection_id":166312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":166312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:37:49] local.INFO: TCP Data received {"connection_id":166312,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048786d58012d1822800721b7c0004b01642c..."} 
[2026-08-28 18:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048786d58012d1822800721b7c0004b01642c..."} 
[2026-08-28 18:37:49] local.INFO: Processing buffer {"connection_id":166312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048786d58012d1822800721b7c0004b01642c..."} 
[2026-08-28 18:37:49] local.INFO: Packet analysis {"connection_id":166312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04878"} 
[2026-08-28 18:37:49] local.INFO: Extracted packet for processing {"connection_id":166312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04878"} 
[2026-08-28 18:37:49] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119650240,"longitude_deg":75.6556416,"latitude_deg":11.965024,"altitude":75,"angle":356,"satellites":44,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b7c0","is_valid_coordinates":true} 
[2026-08-28 18: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-28 18:37:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708089856001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:37:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16020962453487616,"note":"Value kept but may cause issues"} 
[2026-08-28 18:37:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237233152,"note":"Value kept but may cause issues"} 
[2026-08-28 18:37:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:37:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787922247000,"timestamp_ms":1787922247000,"timestamp_seconds":1787922247,"priority":1,"record_length":96,"hex_timestamp":"000001a048786d58"} 
[2026-08-28 18: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-28 18:37:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-28 18:37:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18: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-28 18: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-28 18:37:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:37:49] local.INFO: Teltonika packet parsed successfully {"connection_id":166312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:37:49] local.INFO: Passing IMEI to GPS processor {"connection_id":166312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:37:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":166312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:37:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:37:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:37:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:37:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708089856001,"66":13048,"105":206,"83":41984,"24":0,"16":16020962453487616,"45":1739093174237233152},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:37:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:37:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:37:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708089856001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:37:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:37:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:37:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16020962453487616,"km_value":16020962453487.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:37:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237233152,"description":"Unknown IO ID 45"} 
[2026-08-28 18:37:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708089856001,"power":13048,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739093174237233152}} 
[2026-08-28 18:37:49] local.INFO: DEBUG: GPS processor result {"connection_id":166312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709564,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:37:49] local.INFO: GPS data processed {"connection_id":166312,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:37:49] local.INFO: Acknowledgment sent {"connection_id":166312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:37:56] local.INFO: TCP Data received {"connection_id":164946,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164946,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:37:56] local.INFO: Processing buffer {"connection_id":164946,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:37:56] local.INFO: IMEI packet received {"connection_id":164946,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 18:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":164946,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:38:01] local.INFO: TCP Data received {"connection_id":164946,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164946,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:38:01] local.INFO: Processing buffer {"connection_id":164946,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:38:01] local.INFO: IMEI packet received {"connection_id":164946,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 18:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":164946,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:38:04] local.INFO: TCP Data received {"connection_id":164946,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048788c98012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048788c98012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:38:04] local.INFO: Processing buffer {"connection_id":164946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048788c98012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:38:04] local.INFO: Packet analysis {"connection_id":164946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04878"} 
[2026-08-28 18:38:04] local.INFO: Extracted packet for processing {"connection_id":164946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04878"} 
[2026-08-28 18:38:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708020224001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:38:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787922255000,"timestamp_ms":1787922255000,"timestamp_seconds":1787922255,"priority":1,"record_length":96,"hex_timestamp":"000001a048788c98"} 
[2026-08-28 18:38:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:38:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:38:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:38:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:38:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":164946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":164946,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":164946,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:38:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708020224001,"66":25299,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708020224001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:38:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:38:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708020224001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":164946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709565,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:38:04] local.INFO: GPS data processed {"connection_id":164946,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:38:04] local.INFO: Acknowledgment sent {"connection_id":164946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:38:08] local.INFO: TCP Data received {"connection_id":163674,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0487a9bf0012d34c14006aa4840000d00e628..."} 
[2026-08-28 18:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0487a9bf0012d34c14006aa4840000d00e628..."} 
[2026-08-28 18:38:08] local.INFO: Processing buffer {"connection_id":163674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0487a9bf0012d34c14006aa4840000d00e628..."} 
[2026-08-28 18:38:08] local.INFO: Packet analysis {"connection_id":163674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0487a"} 
[2026-08-28 18:38:08] local.INFO: Extracted packet for processing {"connection_id":163674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0487a"} 
[2026-08-28 18:38:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708054784001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:38:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787922390000,"timestamp_ms":1787922390000,"timestamp_seconds":1787922390,"priority":1,"record_length":96,"hex_timestamp":"000001a0487a9bf0"} 
[2026-08-28 18:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:38:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 18:38:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:38:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708054784001,"66":25419,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708054784001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:38:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:38:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:38: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-28 18:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708054784001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:38:08] 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":709566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:38:08] local.INFO: GPS data processed {"connection_id":163674,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:38:08] local.INFO: Acknowledgment sent {"connection_id":163674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:38:20] local.INFO: TCP Data received {"connection_id":166312,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a04878bf60012d1823400721b898004b01642b..."} 
[2026-08-28 18:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04878bf60012d1823400721b898004b01642b..."} 
[2026-08-28 18:38:20] local.INFO: Processing buffer {"connection_id":166312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04878bf60012d1823400721b898004b01642b..."} 
[2026-08-28 18:38:20] local.INFO: Packet analysis {"connection_id":166312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04878"} 
[2026-08-28 18:38:20] local.INFO: Extracted packet for processing {"connection_id":166312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04878"} 
[2026-08-28 18:38:20] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650456,"longitude_deg":75.6556608,"latitude_deg":11.9650456,"altitude":75,"angle":356,"satellites":43,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b898","is_valid_coordinates":true} 
[2026-08-28 18: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-28 18:38:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708095232001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:38:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16020996813225984,"note":"Value kept but may cause issues"} 
[2026-08-28 18:38:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237249536,"note":"Value kept but may cause issues"} 
[2026-08-28 18:38:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:38:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787922268000,"timestamp_ms":1787922268000,"timestamp_seconds":1787922268,"priority":1,"record_length":96,"hex_timestamp":"000001a04878bf60"} 
[2026-08-28 18: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-28 18:38:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-28 18:38:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18: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-28 18: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-28 18:38:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:38:20] local.INFO: Teltonika packet parsed successfully {"connection_id":166312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:38:20] local.INFO: Passing IMEI to GPS processor {"connection_id":166312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:38:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":166312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:38:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:38:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:38:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:38:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708095232001,"66":13080,"105":206,"83":41984,"24":0,"16":16020996813225984,"45":1739093174237249536},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:38:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:38:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:38:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708095232001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:38:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:38:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:38:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16020996813225984,"km_value":16020996813225.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:38:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237249536,"description":"Unknown IO ID 45"} 
[2026-08-28 18:38:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708095232001,"power":13080,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739093174237249536}} 
[2026-08-28 18:38:20] local.INFO: DEBUG: GPS processor result {"connection_id":166312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709567,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:38:20] local.INFO: GPS data processed {"connection_id":166312,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:38:20] local.INFO: Acknowledgment sent {"connection_id":166312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:38:30] local.INFO: TCP Data received {"connection_id":163945,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:38:30] local.INFO: Processing buffer {"connection_id":163945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:38:30] local.INFO: IMEI packet received {"connection_id":163945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 18:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":163945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:38:35] local.INFO: TCP Data received {"connection_id":163945,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:38:35] local.INFO: Processing buffer {"connection_id":163945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:38:35] local.INFO: IMEI packet received {"connection_id":163945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 18:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":163945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:38:36] local.INFO: TCP Data received {"connection_id":164946,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048788c98012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048788c98012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:38:36] local.INFO: Processing buffer {"connection_id":164946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048788c98012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:38:36] local.INFO: Packet analysis {"connection_id":164946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04878"} 
[2026-08-28 18:38:36] local.INFO: Extracted packet for processing {"connection_id":164946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04878"} 
[2026-08-28 18:38:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708020224001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:38:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787922255000,"timestamp_ms":1787922255000,"timestamp_seconds":1787922255,"priority":1,"record_length":96,"hex_timestamp":"000001a048788c98"} 
[2026-08-28 18:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:38:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:38:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:38:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":164946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":164946,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":164946,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:38:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708020224001,"66":25299,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708020224001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:38:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:38:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708020224001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":164946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709568,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:38:36] local.INFO: GPS data processed {"connection_id":164946,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:38:36] local.INFO: Acknowledgment sent {"connection_id":164946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:38:37] local.INFO: TCP Data received {"connection_id":163945,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0487a9bf0012d34c14006aa4840000d00e628..."} 
[2026-08-28 18:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0487a9bf0012d34c14006aa4840000d00e628..."} 
[2026-08-28 18:38:37] local.INFO: Processing buffer {"connection_id":163945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0487a9bf0012d34c14006aa4840000d00e628..."} 
[2026-08-28 18:38:37] local.INFO: Packet analysis {"connection_id":163945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0487a"} 
[2026-08-28 18:38:37] local.INFO: Extracted packet for processing {"connection_id":163945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0487a"} 
[2026-08-28 18:38:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708054784001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787922390000,"timestamp_ms":1787922390000,"timestamp_seconds":1787922390,"priority":1,"record_length":96,"hex_timestamp":"000001a0487a9bf0"} 
[2026-08-28 18:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 18:38:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708054784001,"66":25419,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708054784001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:38:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:38:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:38: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-28 18:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708054784001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":163945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:38:37] local.INFO: GPS data processed {"connection_id":163945,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:38:37] local.INFO: Acknowledgment sent {"connection_id":163945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:38:45] local.INFO: TCP Data received {"connection_id":163946,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163946,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:38:45] local.INFO: Processing buffer {"connection_id":163946,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:38:45] local.INFO: IMEI packet received {"connection_id":163946,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 18:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":163946,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:38:47] local.INFO: TCP Data received {"connection_id":163946,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163946,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:38:47] local.INFO: Processing buffer {"connection_id":163946,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:38:47] local.INFO: IMEI packet received {"connection_id":163946,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":163946,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:38:47] local.INFO: TCP Data received {"connection_id":163946,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163946,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:38:47] local.INFO: Processing buffer {"connection_id":163946,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:38:47] local.INFO: IMEI packet received {"connection_id":163946,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":163946,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:38:51] local.INFO: TCP Data received {"connection_id":163946,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163946,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:38:51] local.INFO: Processing buffer {"connection_id":163946,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:38:51] local.INFO: IMEI packet received {"connection_id":163946,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:38:51] local.INFO: IMEI acknowledgment sent {"connection_id":163946,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:38:54] local.INFO: TCP Data received {"connection_id":163946,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0487c0f08012d1822c00721b780004900ac2d..."} 
[2026-08-28 18:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0487c0f08012d1822c00721b780004900ac2d..."} 
[2026-08-28 18:38:54] local.INFO: Processing buffer {"connection_id":163946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0487c0f08012d1822c00721b780004900ac2d..."} 
[2026-08-28 18:38:54] local.INFO: Packet analysis {"connection_id":163946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0487c"} 
[2026-08-28 18:38:54] local.INFO: Extracted packet for processing {"connection_id":163946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0487c"} 
[2026-08-28 18:38:54] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119650176,"longitude_deg":75.655648,"latitude_deg":11.9650176,"altitude":73,"angle":172,"satellites":45,"speed":2,"hex_longitude":"2d1822c0","hex_latitude":"0721b780","is_valid_coordinates":true} 
[2026-08-28 18:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:38:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708154368001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:38:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16021013993095168,"note":"Value kept but may cause issues"} 
[2026-08-28 18:38:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469837824,"note":"Value kept but may cause issues"} 
[2026-08-28 18:38:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:38:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787922485000,"timestamp_ms":1787922485000,"timestamp_seconds":1787922485,"priority":1,"record_length":96,"hex_timestamp":"000001a0487c0f08"} 
[2026-08-28 18:38:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:38:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-28 18:38:54] 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-28 18:38:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:38:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:38:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:38:54] local.INFO: Teltonika packet parsed successfully {"connection_id":163946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:38:54] local.INFO: Passing IMEI to GPS processor {"connection_id":163946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:38:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":163946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:38:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:38:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:38:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:38:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708154368001,"66":12819,"105":206,"83":41984,"24":2,"16":16021013993095168,"45":1739304280469837824},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:38:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:38:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:38:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708154368001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:38:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:38:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:38:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16021013993095168,"km_value":16021013993095.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:38:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469837824,"description":"Unknown IO ID 45"} 
[2026-08-28 18:38:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708154368001,"power":12819,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1739304280469837824}} 
[2026-08-28 18:38:54] local.INFO: DEBUG: GPS processor result {"connection_id":163946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709570,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:38:54] local.INFO: GPS data processed {"connection_id":163946,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:38:54] local.INFO: Acknowledgment sent {"connection_id":163946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:38:57] local.INFO: TCP Data received {"connection_id":163675,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163675,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:38:57] local.INFO: Processing buffer {"connection_id":163675,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:38:57] local.INFO: IMEI packet received {"connection_id":163675,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 18:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":163675,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:39:01] local.INFO: TCP Data received {"connection_id":163675,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163675,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:39:01] local.INFO: Processing buffer {"connection_id":163675,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:39:01] local.INFO: IMEI packet received {"connection_id":163675,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 18:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":163675,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:39:03] local.INFO: TCP Data received {"connection_id":163675,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048788c98012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048788c98012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:39:03] local.INFO: Processing buffer {"connection_id":163675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048788c98012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:39:03] local.INFO: Packet analysis {"connection_id":163675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04878"} 
[2026-08-28 18:39:03] local.INFO: Extracted packet for processing {"connection_id":163675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04878"} 
[2026-08-28 18:39:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708020224001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787922255000,"timestamp_ms":1787922255000,"timestamp_seconds":1787922255,"priority":1,"record_length":96,"hex_timestamp":"000001a048788c98"} 
[2026-08-28 18:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:39:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:39:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:39:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163675,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163675,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:39:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708020224001,"66":25299,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708020224001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:39:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:39:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708020224001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:39:03] 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":709571,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:39:03] local.INFO: GPS data processed {"connection_id":163675,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:39:03] local.INFO: Acknowledgment sent {"connection_id":163675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:39:09] local.INFO: TCP Data received {"connection_id":163945,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0487a9bf0012d34c14006aa4840000d00e628..."} 
[2026-08-28 18:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0487a9bf0012d34c14006aa4840000d00e628..."} 
[2026-08-28 18:39:09] local.INFO: Processing buffer {"connection_id":163945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0487a9bf0012d34c14006aa4840000d00e628..."} 
[2026-08-28 18:39:09] local.INFO: Packet analysis {"connection_id":163945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0487a"} 
[2026-08-28 18:39:09] local.INFO: Extracted packet for processing {"connection_id":163945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0487a"} 
[2026-08-28 18:39:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708054784001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:39:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:39:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787922390000,"timestamp_ms":1787922390000,"timestamp_seconds":1787922390,"priority":1,"record_length":96,"hex_timestamp":"000001a0487a9bf0"} 
[2026-08-28 18:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:39:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 18:39:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:39:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:39:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708054784001,"66":25419,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708054784001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:39:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:39:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:39: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-28 18:39:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708054784001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":163945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:39:09] local.INFO: GPS data processed {"connection_id":163945,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:39:09] local.INFO: Acknowledgment sent {"connection_id":163945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:39:25] local.INFO: TCP Data received {"connection_id":163946,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0487c16d8012d1822c00721b6f8004900bb2d..."} 
[2026-08-28 18:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0487c16d8012d1822c00721b6f8004900bb2d..."} 
[2026-08-28 18:39:25] local.INFO: Processing buffer {"connection_id":163946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0487c16d8012d1822c00721b6f8004900bb2d..."} 
[2026-08-28 18:39:25] local.INFO: Packet analysis {"connection_id":163946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0487c"} 
[2026-08-28 18:39:25] local.INFO: Extracted packet for processing {"connection_id":163946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0487c"} 
[2026-08-28 18:39:25] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119650040,"longitude_deg":75.655648,"latitude_deg":11.965004,"altitude":73,"angle":187,"satellites":45,"speed":2,"hex_longitude":"2d1822c0","hex_latitude":"0721b6f8","is_valid_coordinates":true} 
[2026-08-28 18:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:39:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708156160001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:39:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16021022583029760,"note":"Value kept but may cause issues"} 
[2026-08-28 18:39:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981410816,"note":"Value kept but may cause issues"} 
[2026-08-28 18:39:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:39:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787922487000,"timestamp_ms":1787922487000,"timestamp_seconds":1787922487,"priority":1,"record_length":96,"hex_timestamp":"000001a0487c16d8"} 
[2026-08-28 18:39:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:39:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-28 18:39:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-08-28 18:39:25] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-28 18:39:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-28 18:39:25] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-28 18:39:25] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503844088381440,"note":"Value kept but may cause issues"} 
[2026-08-28 18:39:25] local.WARNING: Large IO value detected {"io_id":72,"raw_value":8793137540004062016,"note":"Value kept but may cause issues"} 
[2026-08-28 18:39:25] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3096969291,"note":"Value kept but may cause issues"} 
[2026-08-28 18:39:25] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6197216974351958272,"note":"Value kept but may cause issues"} 
[2026-08-28 18:39:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7667660726741499928,"corrected_to":0} 
[2026-08-28 18:39:25] local.WARNING: Large IO value detected {"io_id":171,"raw_value":2415996184,"note":"Value kept but may cause issues"} 
[2026-08-28 18:39:25] local.WARNING: Large IO value detected {"io_id":152,"raw_value":21112152966299648,"note":"Value kept but may cause issues"} 
[2026-08-28 18:39:25] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182208234782976,"note":"Value kept but may cause issues"} 
[2026-08-28 18:39:25] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-6845245576691265965,"note":"Value kept but may cause issues"} 
[2026-08-28 18:39:25] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3942842368,"note":"Value kept but may cause issues"} 
[2026-08-28 18:39:25] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2429859125992186920,"note":"Value kept but may cause issues"} 
[2026-08-28 18:39:25] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-28 18:39:25] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195050496,"note":"Value kept but may cause issues"} 
[2026-08-28 18:39:25] local.WARNING: Large IO value detected {"io_id":120,"raw_value":84750507667038648,"note":"Value kept but may cause issues"} 
[2026-08-28 18:39:25] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,105,83,24,241,157,16,235,160,243,45,64,184,75,47,10,66,161,46,79,1,240,139,227,72,33,4,113,205,171,35,152,44,239,50,2,56,7,164,3,69,120],"length":625,"final_offset":755,"validated_count":42,"validation_warnings":[{"io_id":205,"original":7667660726741499928,"validated":0}]} 
[2026-08-28 18:39:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5260393674042376192,"timestamp_seconds":5260393674042376.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 18:39:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:39:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:39:25] local.INFO: Teltonika packet parsed successfully {"connection_id":163946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:39:25] local.INFO: Passing IMEI to GPS processor {"connection_id":163946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:39:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":163946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:39:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:39:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:39:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:39:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708156160001,"66":12841,"105":206,"83":41984,"24":2,"16":16021022583029760,"45":1739163542981410816},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:39:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:39:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:39:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708156160001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:39:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:39:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:39:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16021022583029760,"km_value":16021022583029.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:39:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981410816,"description":"Unknown IO ID 45"} 
[2026-08-28 18:39:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708156160001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1739163542981410816}} 
[2026-08-28 18:39:25] local.INFO: DEBUG: GPS processor result {"connection_id":163946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709573,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:39:25] local.INFO: GPS data processed {"connection_id":163946,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:39:25] local.INFO: Acknowledgment sent {"connection_id":163946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:39:30] local.INFO: TCP Data received {"connection_id":166313,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:39:30] local.INFO: Processing buffer {"connection_id":166313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:39:30] local.INFO: IMEI packet received {"connection_id":166313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 18:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":166313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:39:35] local.INFO: TCP Data received {"connection_id":163675,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048788c98012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048788c98012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:39:35] local.INFO: Processing buffer {"connection_id":163675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048788c98012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:39:35] local.INFO: Packet analysis {"connection_id":163675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04878"} 
[2026-08-28 18:39:35] local.INFO: Extracted packet for processing {"connection_id":163675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04878"} 
[2026-08-28 18:39:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708020224001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:39:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:39:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787922255000,"timestamp_ms":1787922255000,"timestamp_seconds":1787922255,"priority":1,"record_length":96,"hex_timestamp":"000001a048788c98"} 
[2026-08-28 18:39:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:39:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:39:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:39:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:39:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163675,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163675,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:39:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708020224001,"66":25299,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708020224001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:39:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:39:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:39:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:39:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708020224001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:39:35] 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":709574,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:39:35] local.INFO: GPS data processed {"connection_id":163675,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:39:35] local.INFO: Acknowledgment sent {"connection_id":163675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:39:35] local.INFO: TCP Data received {"connection_id":166313,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:39:35] local.INFO: Processing buffer {"connection_id":166313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:39:35] local.INFO: IMEI packet received {"connection_id":166313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 18:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":166313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:39:37] local.INFO: TCP Data received {"connection_id":166313,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0487a9bf0012d34c14006aa4840000d00e628..."} 
[2026-08-28 18:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0487a9bf0012d34c14006aa4840000d00e628..."} 
[2026-08-28 18:39:37] local.INFO: Processing buffer {"connection_id":166313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0487a9bf0012d34c14006aa4840000d00e628..."} 
[2026-08-28 18:39:37] local.INFO: Packet analysis {"connection_id":166313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0487a"} 
[2026-08-28 18:39:37] local.INFO: Extracted packet for processing {"connection_id":166313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0487a"} 
[2026-08-28 18:39:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708054784001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787922390000,"timestamp_ms":1787922390000,"timestamp_seconds":1787922390,"priority":1,"record_length":96,"hex_timestamp":"000001a0487a9bf0"} 
[2026-08-28 18:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 18:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":166313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":166313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":166313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708054784001,"66":25419,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708054784001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:39:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:39:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:39: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-28 18:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708054784001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":166313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:39:37] local.INFO: GPS data processed {"connection_id":166313,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:39:37] local.INFO: Acknowledgment sent {"connection_id":166313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:39:43] local.INFO: TCP Data received {"connection_id":164947,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:39:43] local.INFO: Processing buffer {"connection_id":164947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:39:43] local.INFO: IMEI packet received {"connection_id":164947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 18:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":164947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:39:48] local.INFO: TCP Data received {"connection_id":164947,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:39:48] local.INFO: Processing buffer {"connection_id":164947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:39:48] local.INFO: IMEI packet received {"connection_id":164947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":164947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:39:48] local.INFO: TCP Data received {"connection_id":164947,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0487c1ea8012d1822c00721b6a0004900c72d..."} 
[2026-08-28 18:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0487c1ea8012d1822c00721b6a0004900c72d..."} 
[2026-08-28 18:39:48] local.INFO: Processing buffer {"connection_id":164947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0487c1ea8012d1822c00721b6a0004900c72d..."} 
[2026-08-28 18:39:48] local.INFO: Packet analysis {"connection_id":164947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0487c"} 
[2026-08-28 18:39:48] local.INFO: Extracted packet for processing {"connection_id":164947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0487c"} 
[2026-08-28 18:39:48] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649952,"longitude_deg":75.655648,"latitude_deg":11.9649952,"altitude":73,"angle":199,"satellites":45,"speed":2,"hex_longitude":"2d1822c0","hex_latitude":"0721b6a0","is_valid_coordinates":true} 
[2026-08-28 18:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:39:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708156672001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:39:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16021022583029760,"note":"Value kept but may cause issues"} 
[2026-08-28 18:39:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981376000,"note":"Value kept but may cause issues"} 
[2026-08-28 18:39:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:39:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787922489000,"timestamp_ms":1787922489000,"timestamp_seconds":1787922489,"priority":1,"record_length":96,"hex_timestamp":"000001a0487c1ea8"} 
[2026-08-28 18:39:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:39:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-28 18:39:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:39:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:39:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:39:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:39:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:39:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:39:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:39:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:39:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:39:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:39:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708156672001,"66":12841,"105":206,"83":41984,"24":2,"16":16021022583029760,"45":1739163542981376000},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:39:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:39:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:39:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708156672001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:39:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:39:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:39:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16021022583029760,"km_value":16021022583029.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:39:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981376000,"description":"Unknown IO ID 45"} 
[2026-08-28 18:39:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708156672001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1739163542981376000}} 
[2026-08-28 18:39:48] local.INFO: DEBUG: GPS processor result {"connection_id":164947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709576,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:39:48] local.INFO: GPS data processed {"connection_id":164947,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:39:48] local.INFO: Acknowledgment sent {"connection_id":164947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:39:56] local.INFO: TCP Data received {"connection_id":166314,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166314,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:39:56] local.INFO: Processing buffer {"connection_id":166314,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:39:56] local.INFO: IMEI packet received {"connection_id":166314,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 18:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":166314,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:40:01] local.INFO: TCP Data received {"connection_id":166314,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166314,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:40:01] local.INFO: Processing buffer {"connection_id":166314,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:40:01] local.INFO: IMEI packet received {"connection_id":166314,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 18:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":166314,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:40:03] local.INFO: TCP Data received {"connection_id":166314,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0487d2460012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0487d2460012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:40:03] local.INFO: Processing buffer {"connection_id":166314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0487d2460012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:40:03] local.INFO: Packet analysis {"connection_id":166314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0487d"} 
[2026-08-28 18:40:03] local.INFO: Extracted packet for processing {"connection_id":166314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0487d"} 
[2026-08-28 18:40:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708097280001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787922556000,"timestamp_ms":1787922556000,"timestamp_seconds":1787922556,"priority":1,"record_length":96,"hex_timestamp":"000001a0487d2460"} 
[2026-08-28 18:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:40:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 18:40:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:40:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":166314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":166314,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":166314,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708097280001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708097280001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:40:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:40:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708097280001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":166314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709577,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:40:03] local.INFO: GPS data processed {"connection_id":166314,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:40:03] local.INFO: Acknowledgment sent {"connection_id":166314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:40:09] local.INFO: TCP Data received {"connection_id":166313,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0487a9bf0012d34c14006aa4840000d00e628..."} 
[2026-08-28 18:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0487a9bf0012d34c14006aa4840000d00e628..."} 
[2026-08-28 18:40:09] local.INFO: Processing buffer {"connection_id":166313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0487a9bf0012d34c14006aa4840000d00e628..."} 
[2026-08-28 18:40:09] local.INFO: Packet analysis {"connection_id":166313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0487a"} 
[2026-08-28 18:40:09] local.INFO: Extracted packet for processing {"connection_id":166313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0487a"} 
[2026-08-28 18:40:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708054784001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:40:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787922390000,"timestamp_ms":1787922390000,"timestamp_seconds":1787922390,"priority":1,"record_length":96,"hex_timestamp":"000001a0487a9bf0"} 
[2026-08-28 18:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:40:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 18:40:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:40:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":166313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":166313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":166313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708054784001,"66":25419,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708054784001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:40:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:40:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708054784001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":166313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:40:10] local.INFO: GPS data processed {"connection_id":166313,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:40:10] local.INFO: Acknowledgment sent {"connection_id":166313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:40:20] local.INFO: TCP Data received {"connection_id":164947,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0487c2e48012d1822800721b5d8004900d32c..."} 
[2026-08-28 18:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0487c2e48012d1822800721b5d8004900d32c..."} 
[2026-08-28 18:40:20] local.INFO: Processing buffer {"connection_id":164947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0487c2e48012d1822800721b5d8004900d32c..."} 
[2026-08-28 18:40:20] local.INFO: Packet analysis {"connection_id":164947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0487c"} 
[2026-08-28 18:40:20] local.INFO: Extracted packet for processing {"connection_id":164947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0487c"} 
[2026-08-28 18:40:20] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649752,"longitude_deg":75.6556416,"latitude_deg":11.9649752,"altitude":73,"angle":211,"satellites":44,"speed":2,"hex_longitude":"2d182280","hex_latitude":"0721b5d8","is_valid_coordinates":true} 
[2026-08-28 18:40:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:40:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708157184001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:40:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16021035467931648,"note":"Value kept but may cause issues"} 
[2026-08-28 18:40:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981353472,"note":"Value kept but may cause issues"} 
[2026-08-28 18:40:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:40:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787922493000,"timestamp_ms":1787922493000,"timestamp_seconds":1787922493,"priority":1,"record_length":96,"hex_timestamp":"000001a0487c2e48"} 
[2026-08-28 18:40:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:40:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:40:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-28 18:40:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:40:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:40:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:40:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:40:20] local.INFO: Teltonika packet parsed successfully {"connection_id":164947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:40:20] local.INFO: Passing IMEI to GPS processor {"connection_id":164947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:40:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":164947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:40:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:40:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:40:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:40:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708157184001,"66":12809,"105":206,"83":41984,"24":2,"16":16021035467931648,"45":1739163542981353472},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:40:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:40:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:40:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708157184001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:40:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:40:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:40:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16021035467931648,"km_value":16021035467931.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:40:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981353472,"description":"Unknown IO ID 45"} 
[2026-08-28 18:40:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708157184001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1739163542981353472}} 
[2026-08-28 18:40:20] local.INFO: DEBUG: GPS processor result {"connection_id":164947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709579,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:40:20] local.INFO: GPS data processed {"connection_id":164947,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:40:20] local.INFO: Acknowledgment sent {"connection_id":164947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:40:35] local.INFO: TCP Data received {"connection_id":166314,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0487d2460012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0487d2460012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:40:35] local.INFO: Processing buffer {"connection_id":166314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0487d2460012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:40:35] local.INFO: Packet analysis {"connection_id":166314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0487d"} 
[2026-08-28 18:40:35] local.INFO: Extracted packet for processing {"connection_id":166314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0487d"} 
[2026-08-28 18:40:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708097280001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:40:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:40:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787922556000,"timestamp_ms":1787922556000,"timestamp_seconds":1787922556,"priority":1,"record_length":96,"hex_timestamp":"000001a0487d2460"} 
[2026-08-28 18:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:40:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 18:40:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:40:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":166314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":166314,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":166314,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:40:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708097280001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708097280001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:40:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:40:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:40:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708097280001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:40:35] local.INFO: TCP Data received {"connection_id":163676,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:40:35] local.INFO: Processing buffer {"connection_id":163676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:40:35] local.INFO: IMEI packet received {"connection_id":163676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 18:40:35] local.INFO: IMEI acknowledgment sent {"connection_id":163676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":166314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709580,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:40:35] local.INFO: GPS data processed {"connection_id":166314,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:40:35] local.INFO: Acknowledgment sent {"connection_id":166314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:40:40] local.INFO: TCP Data received {"connection_id":163676,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:40:40] local.INFO: Processing buffer {"connection_id":163676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:40:40] local.INFO: IMEI packet received {"connection_id":163676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 18:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":163676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:40:42] local.INFO: TCP Data received {"connection_id":163676,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0487a9bf0012d34c14006aa4840000d00e628..."} 
[2026-08-28 18:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0487a9bf0012d34c14006aa4840000d00e628..."} 
[2026-08-28 18:40:42] local.INFO: Processing buffer {"connection_id":163676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0487a9bf0012d34c14006aa4840000d00e628..."} 
[2026-08-28 18:40:42] local.INFO: Packet analysis {"connection_id":163676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0487a"} 
[2026-08-28 18:40:42] local.INFO: Extracted packet for processing {"connection_id":163676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0487a"} 
[2026-08-28 18:40:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18: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-28 18:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708054784001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:40:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:40:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787922390000,"timestamp_ms":1787922390000,"timestamp_seconds":1787922390,"priority":1,"record_length":96,"hex_timestamp":"000001a0487a9bf0"} 
[2026-08-28 18: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-28 18:40:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18: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-28 18: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-28 18: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-28 18: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-28 18:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:40:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708054784001,"66":25419,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708054784001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:40:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:40:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18: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-28 18:40:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708054784001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:40:42] 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":709581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:40:42] local.INFO: GPS data processed {"connection_id":163676,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:40:42] local.INFO: Acknowledgment sent {"connection_id":163676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:40:43] local.INFO: TCP Data received {"connection_id":163947,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:40:43] local.INFO: Processing buffer {"connection_id":163947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:40:43] local.INFO: IMEI packet received {"connection_id":163947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 18:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":163947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:40:47] local.INFO: TCP Data received {"connection_id":163676,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0487a9bf0012d34c14006aa4840000d00e628..."} 
[2026-08-28 18:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0487a9bf0012d34c14006aa4840000d00e628..."} 
[2026-08-28 18:40:47] local.INFO: Processing buffer {"connection_id":163676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0487a9bf0012d34c14006aa4840000d00e628..."} 
[2026-08-28 18:40:47] local.INFO: Packet analysis {"connection_id":163676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0487a"} 
[2026-08-28 18:40:47] local.INFO: Extracted packet for processing {"connection_id":163676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0487a"} 
[2026-08-28 18:40:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 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-28 18:40:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708054784001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:40:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:40:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:40:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:40:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787922390000,"timestamp_ms":1787922390000,"timestamp_seconds":1787922390,"priority":1,"record_length":96,"hex_timestamp":"000001a0487a9bf0"} 
[2026-08-28 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-28 18:40:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 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-28 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-28 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-28 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-28 18:40:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:40:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:40:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:40:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:40:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:40:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:40:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:40:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708054784001,"66":25419,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:40:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:40:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:40:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708054784001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:40:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:40:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 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-28 18:40:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:40:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708054784001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:40:47] 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":709582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:40:47] local.INFO: GPS data processed {"connection_id":163676,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:40:47] local.INFO: Acknowledgment sent {"connection_id":163676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:40:47] local.INFO: TCP Data received {"connection_id":163947,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:40:47] local.INFO: Processing buffer {"connection_id":163947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:40:47] local.INFO: IMEI packet received {"connection_id":163947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:40:47] local.INFO: IMEI acknowledgment sent {"connection_id":163947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:40:48] local.INFO: TCP Data received {"connection_id":163947,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0487c8050012d1821800721b460004900d72d..."} 
[2026-08-28 18:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0487c8050012d1821800721b460004900d72d..."} 
[2026-08-28 18:40:48] local.INFO: Processing buffer {"connection_id":163947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0487c8050012d1821800721b460004900d72d..."} 
[2026-08-28 18:40:48] local.INFO: Packet analysis {"connection_id":163947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0487c"} 
[2026-08-28 18:40:48] local.INFO: Extracted packet for processing {"connection_id":163947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0487c"} 
[2026-08-28 18:40:48] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649376,"longitude_deg":75.655616,"latitude_deg":11.9649376,"altitude":73,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b460","is_valid_coordinates":true} 
[2026-08-28 18:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:40:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708158208001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:40:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16021061237735424,"note":"Value kept but may cause issues"} 
[2026-08-28 18:40:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237124608,"note":"Value kept but may cause issues"} 
[2026-08-28 18:40:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:40:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787922514000,"timestamp_ms":1787922514000,"timestamp_seconds":1787922514,"priority":1,"record_length":96,"hex_timestamp":"000001a0487c8050"} 
[2026-08-28 18:40:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:40:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-28 18:40:48] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-28 18:40:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-28 18:40:48] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-28 18:40:48] local.WARNING: Large IO value detected {"io_id":72,"raw_value":8862406772553950016,"note":"Value kept but may cause issues"} 
[2026-08-28 18:40:48] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3096969291,"note":"Value kept but may cause issues"} 
[2026-08-28 18:40:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-28 18:40:48] local.WARNING: Large IO value detected {"io_id":161,"raw_value":2818649368,"note":"Value kept but may cause issues"} 
[2026-08-28 18:40:48] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-8430512645525680557,"note":"Value kept but may cause issues"} 
[2026-08-28 18:40:48] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3942842368,"note":"Value kept but may cause issues"} 
[2026-08-28 18:40:48] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2429859125992186924,"note":"Value kept but may cause issues"} 
[2026-08-28 18:40:48] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-28 18:40:48] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,235,160,30,45,192,182,73,10,66,22,15,1,240,19,227,72,33,4,113,205,161,35,152,46,239,50,2,56,7,75,164,3],"length":535,"final_offset":665,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-28 18:40:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5260436550700892160,"timestamp_seconds":5260436550700892.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 18:40:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:40:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:40:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:40:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:40:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:40:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:40:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:40:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:40:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708158208001,"66":12841,"105":206,"83":41984,"24":0,"16":16021061237735424,"45":1739093174237124608},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:40:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:40:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:40:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708158208001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:40:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:40:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:40:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16021061237735424,"km_value":16021061237735.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:40:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237124608,"description":"Unknown IO ID 45"} 
[2026-08-28 18:40:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708158208001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739093174237124608}} 
[2026-08-28 18:40:48] local.INFO: DEBUG: GPS processor result {"connection_id":163947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709583,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:40:48] local.INFO: GPS data processed {"connection_id":163947,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:40:48] local.INFO: Acknowledgment sent {"connection_id":163947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:40:56] local.INFO: TCP Data received {"connection_id":163677,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163677,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:40:56] local.INFO: Processing buffer {"connection_id":163677,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:40:56] local.INFO: IMEI packet received {"connection_id":163677,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 18:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":163677,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:41:01] local.INFO: TCP Data received {"connection_id":163677,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163677,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:41:01] local.INFO: Processing buffer {"connection_id":163677,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:41:01] local.INFO: IMEI packet received {"connection_id":163677,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 18:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":163677,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:41:04] local.INFO: TCP Data received {"connection_id":163677,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0487d2460012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0487d2460012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:41:04] local.INFO: Processing buffer {"connection_id":163677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0487d2460012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:41:04] local.INFO: Packet analysis {"connection_id":163677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0487d"} 
[2026-08-28 18:41:04] local.INFO: Extracted packet for processing {"connection_id":163677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0487d"} 
[2026-08-28 18:41:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708097280001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:41:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787922556000,"timestamp_ms":1787922556000,"timestamp_seconds":1787922556,"priority":1,"record_length":96,"hex_timestamp":"000001a0487d2460"} 
[2026-08-28 18:41:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:41:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 18:41:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:41:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:41:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":163677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":163677,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":163677,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:41:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708097280001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708097280001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:41:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:41:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708097280001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":163677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709584,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:41:04] local.INFO: GPS data processed {"connection_id":163677,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:41:04] local.INFO: Acknowledgment sent {"connection_id":163677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:41:19] local.INFO: TCP Data received {"connection_id":163947,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0487cd258012d1821800721b460004900d72e..."} 
[2026-08-28 18:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0487cd258012d1821800721b460004900d72e..."} 
[2026-08-28 18:41:19] local.INFO: Processing buffer {"connection_id":163947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0487cd258012d1821800721b460004900d72e..."} 
[2026-08-28 18:41:19] local.INFO: Packet analysis {"connection_id":163947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0487c"} 
[2026-08-28 18:41:19] local.INFO: Extracted packet for processing {"connection_id":163947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0487c"} 
[2026-08-28 18:41:19] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649376,"longitude_deg":75.655616,"latitude_deg":11.9649376,"altitude":73,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b460","is_valid_coordinates":true} 
[2026-08-28 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-28 18:41:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708163584001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:41:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16021061237735424,"note":"Value kept but may cause issues"} 
[2026-08-28 18:41:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260317696,"note":"Value kept but may cause issues"} 
[2026-08-28 18:41:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:41:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787922535000,"timestamp_ms":1787922535000,"timestamp_seconds":1787922535,"priority":1,"record_length":96,"hex_timestamp":"000001a0487cd258"} 
[2026-08-28 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-28 18:41:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-28 18:41:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 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-28 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-28 18:41:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:41:19] local.INFO: Teltonika packet parsed successfully {"connection_id":163947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:41:19] local.INFO: Passing IMEI to GPS processor {"connection_id":163947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:41:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":163947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:41:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:41:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:41:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:41:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708163584001,"66":12776,"105":206,"83":41984,"24":0,"16":16021061237735424,"45":1738811699260317696},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:41:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:41:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:41:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708163584001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:41:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:41:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:41:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16021061237735424,"km_value":16021061237735.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:41:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260317696,"description":"Unknown IO ID 45"} 
[2026-08-28 18:41:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708163584001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260317696}} 
[2026-08-28 18:41:19] local.INFO: DEBUG: GPS processor result {"connection_id":163947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709585,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:41:19] local.INFO: GPS data processed {"connection_id":163947,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:41:19] local.INFO: Acknowledgment sent {"connection_id":163947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:41:30] local.INFO: TCP Data received {"connection_id":163678,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:41:30] local.INFO: Processing buffer {"connection_id":163678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:41:30] local.INFO: IMEI packet received {"connection_id":163678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 18:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":163678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:41:35] local.INFO: TCP Data received {"connection_id":163678,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:41:36] local.INFO: Processing buffer {"connection_id":163678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:41:36] local.INFO: IMEI packet received {"connection_id":163678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 18:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":163678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:41:36] local.INFO: TCP Data received {"connection_id":163677,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0487d2460012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0487d2460012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:41:36] local.INFO: Processing buffer {"connection_id":163677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0487d2460012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:41:36] local.INFO: Packet analysis {"connection_id":163677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0487d"} 
[2026-08-28 18:41:36] local.INFO: Extracted packet for processing {"connection_id":163677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0487d"} 
[2026-08-28 18:41:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708097280001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787922556000,"timestamp_ms":1787922556000,"timestamp_seconds":1787922556,"priority":1,"record_length":96,"hex_timestamp":"000001a0487d2460"} 
[2026-08-28 18:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:41:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 18:41:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:41:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163677,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163677,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708097280001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708097280001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:41:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:41:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708097280001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":163677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709586,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:41:37] local.INFO: GPS data processed {"connection_id":163677,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:41:37] local.INFO: Acknowledgment sent {"connection_id":163677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:41:38] local.INFO: TCP Data received {"connection_id":163678,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0487a9bf0012d34c14006aa4840000d00e628..."} 
[2026-08-28 18:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0487a9bf0012d34c14006aa4840000d00e628..."} 
[2026-08-28 18:41:38] local.INFO: Processing buffer {"connection_id":163678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0487a9bf0012d34c14006aa4840000d00e628..."} 
[2026-08-28 18:41:38] local.INFO: Packet analysis {"connection_id":163678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0487a"} 
[2026-08-28 18:41:38] local.INFO: Extracted packet for processing {"connection_id":163678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0487a"} 
[2026-08-28 18:41:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708054784001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:41:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787922390000,"timestamp_ms":1787922390000,"timestamp_seconds":1787922390,"priority":1,"record_length":96,"hex_timestamp":"000001a0487a9bf0"} 
[2026-08-28 18:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 18:41:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:41:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708054784001,"66":25419,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708054784001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:41:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:41:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:41: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-28 18:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708054784001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":163678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:41:38] local.INFO: GPS data processed {"connection_id":163678,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:41:38] local.INFO: Acknowledgment sent {"connection_id":163678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:41:43] local.INFO: TCP Data received {"connection_id":163948,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163948,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:41:43] local.INFO: Processing buffer {"connection_id":163948,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:41:43] local.INFO: IMEI packet received {"connection_id":163948,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 18:41:43] local.INFO: IMEI acknowledgment sent {"connection_id":163948,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:41:47] local.INFO: TCP Data received {"connection_id":163948,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163948,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:41:47] local.INFO: Processing buffer {"connection_id":163948,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:41:47] local.INFO: IMEI packet received {"connection_id":163948,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":163948,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:41:48] local.INFO: TCP Data received {"connection_id":163948,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0487d2460012d1821800721b460004900d72f..."} 
[2026-08-28 18:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0487d2460012d1821800721b460004900d72f..."} 
[2026-08-28 18:41:48] local.INFO: Processing buffer {"connection_id":163948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0487d2460012d1821800721b460004900d72f..."} 
[2026-08-28 18:41:48] local.INFO: Packet analysis {"connection_id":163948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0487d"} 
[2026-08-28 18:41:48] local.INFO: Extracted packet for processing {"connection_id":163948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0487d"} 
[2026-08-28 18:41:48] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649376,"longitude_deg":75.655616,"latitude_deg":11.9649376,"altitude":73,"angle":215,"satellites":47,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b460","is_valid_coordinates":true} 
[2026-08-28 18:41:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:41:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708168960001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:41:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16021061237735424,"note":"Value kept but may cause issues"} 
[2026-08-28 18:41:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260317696,"note":"Value kept but may cause issues"} 
[2026-08-28 18:41:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:41:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787922556000,"timestamp_ms":1787922556000,"timestamp_seconds":1787922556,"priority":1,"record_length":96,"hex_timestamp":"000001a0487d2460"} 
[2026-08-28 18:41:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:41:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:41:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-28 18:41:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:41:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:41:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:41:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:41:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:41:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:41:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:41:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:41:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:41:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:41:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708168960001,"66":12819,"105":206,"83":41984,"24":0,"16":16021061237735424,"45":1738811699260317696},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:41:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:41:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:41:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708168960001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:41:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:41:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:41:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16021061237735424,"km_value":16021061237735.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:41:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260317696,"description":"Unknown IO ID 45"} 
[2026-08-28 18:41:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708168960001,"power":12819,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260317696}} 
[2026-08-28 18:41:48] local.INFO: DEBUG: GPS processor result {"connection_id":163948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709588,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:41:48] local.INFO: GPS data processed {"connection_id":163948,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:41:48] local.INFO: Acknowledgment sent {"connection_id":163948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:41:56] local.INFO: TCP Data received {"connection_id":163949,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163949,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:41:56] local.INFO: Processing buffer {"connection_id":163949,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:41:56] local.INFO: IMEI packet received {"connection_id":163949,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 18:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":163949,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:42:01] local.INFO: TCP Data received {"connection_id":163949,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163949,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:42:01] local.INFO: Processing buffer {"connection_id":163949,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:42:01] local.INFO: IMEI packet received {"connection_id":163949,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 18:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":163949,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:42:04] local.INFO: TCP Data received {"connection_id":163949,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0487d2460012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0487d2460012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:42:04] local.INFO: Processing buffer {"connection_id":163949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0487d2460012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:42:04] local.INFO: Packet analysis {"connection_id":163949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0487d"} 
[2026-08-28 18:42:04] local.INFO: Extracted packet for processing {"connection_id":163949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0487d"} 
[2026-08-28 18:42:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708097280001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787922556000,"timestamp_ms":1787922556000,"timestamp_seconds":1787922556,"priority":1,"record_length":96,"hex_timestamp":"000001a0487d2460"} 
[2026-08-28 18:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 18:42:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:42:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":163949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":163949,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":163949,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708097280001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708097280001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:42:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:42:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708097280001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":163949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709589,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:42:04] local.INFO: GPS data processed {"connection_id":163949,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:42:04] local.INFO: Acknowledgment sent {"connection_id":163949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:42:12] local.INFO: TCP Data received {"connection_id":163678,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0487f33b8012d34c14006aa4840001000e62a..."} 
[2026-08-28 18:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0487f33b8012d34c14006aa4840001000e62a..."} 
[2026-08-28 18:42:12] local.INFO: Processing buffer {"connection_id":163678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0487f33b8012d34c14006aa4840001000e62a..."} 
[2026-08-28 18:42:12] local.INFO: Packet analysis {"connection_id":163678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0487f"} 
[2026-08-28 18:42:12] local.INFO: Extracted packet for processing {"connection_id":163678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0487f"} 
[2026-08-28 18:42:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:42:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708131840001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:42:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:42:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:42:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:42:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787922691000,"timestamp_ms":1787922691000,"timestamp_seconds":1787922691,"priority":1,"record_length":96,"hex_timestamp":"000001a0487f33b8"} 
[2026-08-28 18:42:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:42:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-28 18:42:12] 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-28 18:42:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:42:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:42:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:42:12] local.INFO: Teltonika packet parsed successfully {"connection_id":163678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:42:12] local.INFO: Passing IMEI to GPS processor {"connection_id":163678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:42:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":163678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:42:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:42:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:42:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:42:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708131840001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:42:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:42:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:42:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708131840001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:42:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:42:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:42: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-28 18:42:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:42:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708131840001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:42:12] local.INFO: DEBUG: GPS processor result {"connection_id":163678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:42:12] local.INFO: GPS data processed {"connection_id":163678,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:42:12] local.INFO: Acknowledgment sent {"connection_id":163678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:42:19] local.INFO: TCP Data received {"connection_id":163948,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0487d7668012d1821800721b460004900d72e..."} 
[2026-08-28 18:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0487d7668012d1821800721b460004900d72e..."} 
[2026-08-28 18:42:19] local.INFO: Processing buffer {"connection_id":163948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0487d7668012d1821800721b460004900d72e..."} 
[2026-08-28 18:42:19] local.INFO: Packet analysis {"connection_id":163948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0487d"} 
[2026-08-28 18:42:19] local.INFO: Extracted packet for processing {"connection_id":163948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0487d"} 
[2026-08-28 18:42:19] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649376,"longitude_deg":75.655616,"latitude_deg":11.9649376,"altitude":73,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b460","is_valid_coordinates":true} 
[2026-08-28 18:42:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:42:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708174336001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:42:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16021061237735424,"note":"Value kept but may cause issues"} 
[2026-08-28 18:42:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260317696,"note":"Value kept but may cause issues"} 
[2026-08-28 18:42:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:42:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787922577000,"timestamp_ms":1787922577000,"timestamp_seconds":1787922577,"priority":1,"record_length":96,"hex_timestamp":"000001a0487d7668"} 
[2026-08-28 18:42:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:42:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:42:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-28 18:42:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-08-28 18:42:19] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-28 18:42:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-28 18:42:19] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-28 18:42:19] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503844088381440,"note":"Value kept but may cause issues"} 
[2026-08-28 18:42:19] local.WARNING: Large IO value detected {"io_id":72,"raw_value":8931676005103838016,"note":"Value kept but may cause issues"} 
[2026-08-28 18:42:19] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3063939145,"note":"Value kept but may cause issues"} 
[2026-08-28 18:42:19] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6197216974351958272,"note":"Value kept but may cause issues"} 
[2026-08-28 18:42:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7667660726741499928,"corrected_to":0} 
[2026-08-28 18:42:19] local.WARNING: Large IO value detected {"io_id":22,"raw_value":3623955736,"note":"Value kept but may cause issues"} 
[2026-08-28 18:42:19] local.WARNING: Large IO value detected {"io_id":34,"raw_value":3221692854,"note":"Value kept but may cause issues"} 
[2026-08-28 18:42:19] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182208234782976,"note":"Value kept but may cause issues"} 
[2026-08-28 18:42:19] local.WARNING: Large IO value detected {"io_id":50,"raw_value":1369320143632518739,"note":"Value kept but may cause issues"} 
[2026-08-28 18:42:19] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3943235584,"note":"Value kept but may cause issues"} 
[2026-08-28 18:42:19] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2429859125992186927,"note":"Value kept but may cause issues"} 
[2026-08-28 18:42:19] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755408031121649,"note":"Value kept but may cause issues"} 
[2026-08-28 18:42:19] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195028224,"note":"Value kept but may cause issues"} 
[2026-08-28 18:42:19] local.WARNING: Large IO value detected {"io_id":168,"raw_value":84750507667038648,"note":"Value kept but may cause issues"} 
[2026-08-28 18:42:19] local.WARNING: Large IO value detected {"io_id":152,"raw_value":21112153033408512,"note":"Value kept but may cause issues"} 
[2026-08-28 18:42:19] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,235,160,210,45,128,180,73,46,10,66,1,240,9,227,72,33,4,113,205,2,22,34,248,239,50,56,7,164,69,168,152],"length":625,"final_offset":755,"validated_count":38,"validation_warnings":[{"io_id":205,"original":7667660726741499928,"validated":0}]} 
[2026-08-28 18:42:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5260440961632174080,"timestamp_seconds":5260440961632174.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 18:42:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:42:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:42:19] local.INFO: Teltonika packet parsed successfully {"connection_id":163948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:42:19] local.INFO: Passing IMEI to GPS processor {"connection_id":163948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:42:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":163948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:42:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:42:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:42:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:42:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708174336001,"66":12743,"105":206,"83":41984,"24":0,"16":16021061237735424,"45":1738811699260317696},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:42:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:42:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:42:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708174336001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:42:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:42:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:42:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16021061237735424,"km_value":16021061237735.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:42:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260317696,"description":"Unknown IO ID 45"} 
[2026-08-28 18:42:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708174336001,"power":12743,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260317696}} 
[2026-08-28 18:42:19] local.INFO: DEBUG: GPS processor result {"connection_id":163948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709591,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:42:19] local.INFO: GPS data processed {"connection_id":163948,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:42:19] local.INFO: Acknowledgment sent {"connection_id":163948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:42:30] local.INFO: TCP Data received {"connection_id":164948,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:42:30] local.INFO: Processing buffer {"connection_id":164948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:42:30] local.INFO: IMEI packet received {"connection_id":164948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 18:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":164948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:42:35] local.INFO: TCP Data received {"connection_id":164948,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:42:35] local.INFO: Processing buffer {"connection_id":164948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:42:35] local.INFO: IMEI packet received {"connection_id":164948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 18:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":164948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:42:37] local.INFO: TCP Data received {"connection_id":164948,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0487f33b8012d34c14006aa4840001000e62a..."} 
[2026-08-28 18:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0487f33b8012d34c14006aa4840001000e62a..."} 
[2026-08-28 18:42:37] local.INFO: Processing buffer {"connection_id":164948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0487f33b8012d34c14006aa4840001000e62a..."} 
[2026-08-28 18:42:37] local.INFO: Packet analysis {"connection_id":164948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0487f"} 
[2026-08-28 18:42:37] local.INFO: Extracted packet for processing {"connection_id":164948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0487f"} 
[2026-08-28 18:42:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708131840001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787922691000,"timestamp_ms":1787922691000,"timestamp_seconds":1787922691,"priority":1,"record_length":96,"hex_timestamp":"000001a0487f33b8"} 
[2026-08-28 18:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-28 18:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708131840001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708131840001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:42:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:42:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:42: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-28 18:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708131840001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":164948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:42:37] local.INFO: GPS data processed {"connection_id":164948,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:42:37] local.INFO: Acknowledgment sent {"connection_id":164948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:42:38] local.INFO: TCP Data received {"connection_id":163949,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0487d2460012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0487d2460012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:42:38] local.INFO: Processing buffer {"connection_id":163949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0487d2460012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:42:38] local.INFO: Packet analysis {"connection_id":163949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0487d"} 
[2026-08-28 18:42:38] local.INFO: Extracted packet for processing {"connection_id":163949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0487d"} 
[2026-08-28 18:42:38] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708097280001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:42:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787922556000,"timestamp_ms":1787922556000,"timestamp_seconds":1787922556,"priority":1,"record_length":96,"hex_timestamp":"000001a0487d2460"} 
[2026-08-28 18:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:42:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 18:42:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:42:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163949,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163949,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:42:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708097280001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708097280001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:42:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:42:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708097280001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":163949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709593,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:42:38] local.INFO: GPS data processed {"connection_id":163949,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:42:38] local.INFO: Acknowledgment sent {"connection_id":163949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:42:42] local.INFO: TCP Data received {"connection_id":166315,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166315,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:42:42] local.INFO: Processing buffer {"connection_id":166315,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:42:42] local.INFO: IMEI packet received {"connection_id":166315,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 18:42:42] local.INFO: IMEI acknowledgment sent {"connection_id":166315,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:42:42] local.INFO: TCP Data received {"connection_id":166315,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166315,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:42:42] local.INFO: Processing buffer {"connection_id":166315,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:42:42] local.INFO: IMEI packet received {"connection_id":166315,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:42:42] local.INFO: IMEI acknowledgment sent {"connection_id":166315,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:42:47] local.INFO: TCP Data received {"connection_id":166315,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166315,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:42:47] local.INFO: Processing buffer {"connection_id":166315,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:42:47] local.INFO: IMEI packet received {"connection_id":166315,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:42:47] local.INFO: IMEI acknowledgment sent {"connection_id":166315,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:42:48] local.INFO: TCP Data received {"connection_id":166315,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0487dc870012d1821800721b460004900d72e..."} 
[2026-08-28 18:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0487dc870012d1821800721b460004900d72e..."} 
[2026-08-28 18:42:48] local.INFO: Processing buffer {"connection_id":166315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0487dc870012d1821800721b460004900d72e..."} 
[2026-08-28 18:42:48] local.INFO: Packet analysis {"connection_id":166315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0487d"} 
[2026-08-28 18:42:48] local.INFO: Extracted packet for processing {"connection_id":166315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0487d"} 
[2026-08-28 18:42:48] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649376,"longitude_deg":75.655616,"latitude_deg":11.9649376,"altitude":73,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b460","is_valid_coordinates":true} 
[2026-08-28 18:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:42:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708179712001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:42:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16021061237735424,"note":"Value kept but may cause issues"} 
[2026-08-28 18:42:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260317696,"note":"Value kept but may cause issues"} 
[2026-08-28 18:42:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:42:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787922598000,"timestamp_ms":1787922598000,"timestamp_seconds":1787922598,"priority":1,"record_length":96,"hex_timestamp":"000001a0487dc870"} 
[2026-08-28 18:42:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:42:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-28 18:42:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:42:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:42:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:42:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:42:48] local.INFO: Teltonika packet parsed successfully {"connection_id":166315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:42:48] local.INFO: Passing IMEI to GPS processor {"connection_id":166315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:42:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":166315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:42:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:42:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:42:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:42:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708179712001,"66":12798,"105":206,"83":41984,"24":0,"16":16021061237735424,"45":1738811699260317696},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:42:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:42:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:42:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708179712001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:42:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:42:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:42:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16021061237735424,"km_value":16021061237735.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:42:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260317696,"description":"Unknown IO ID 45"} 
[2026-08-28 18:42:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708179712001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260317696}} 
[2026-08-28 18:42:48] local.INFO: DEBUG: GPS processor result {"connection_id":166315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709594,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:42:48] local.INFO: GPS data processed {"connection_id":166315,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:42:48] local.INFO: Acknowledgment sent {"connection_id":166315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:42:56] local.INFO: TCP Data received {"connection_id":163679,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163679,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:42:56] local.INFO: Processing buffer {"connection_id":163679,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:42:56] local.INFO: IMEI packet received {"connection_id":163679,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 18:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":163679,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:43:01] local.INFO: TCP Data received {"connection_id":163679,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163679,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:43:01] local.INFO: Processing buffer {"connection_id":163679,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:43:01] local.INFO: IMEI packet received {"connection_id":163679,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 18:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":163679,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:43:03] local.INFO: TCP Data received {"connection_id":163679,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0487d2460012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0487d2460012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:43:03] local.INFO: Processing buffer {"connection_id":163679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0487d2460012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:43:03] local.INFO: Packet analysis {"connection_id":163679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0487d"} 
[2026-08-28 18:43:03] local.INFO: Extracted packet for processing {"connection_id":163679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0487d"} 
[2026-08-28 18:43:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708097280001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787922556000,"timestamp_ms":1787922556000,"timestamp_seconds":1787922556,"priority":1,"record_length":96,"hex_timestamp":"000001a0487d2460"} 
[2026-08-28 18:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:43:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 18:43:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:43:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163679,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163679,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708097280001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708097280001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:43:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:43:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708097280001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:43:04] 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":709595,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:43:04] local.INFO: GPS data processed {"connection_id":163679,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:43:04] local.INFO: Acknowledgment sent {"connection_id":163679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:43:10] local.INFO: TCP Data received {"connection_id":164948,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0487f33b8012d34c14006aa4840001000e62a..."} 
[2026-08-28 18:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0487f33b8012d34c14006aa4840001000e62a..."} 
[2026-08-28 18:43:10] local.INFO: Processing buffer {"connection_id":164948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0487f33b8012d34c14006aa4840001000e62a..."} 
[2026-08-28 18:43:10] local.INFO: Packet analysis {"connection_id":164948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0487f"} 
[2026-08-28 18:43:10] local.INFO: Extracted packet for processing {"connection_id":164948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0487f"} 
[2026-08-28 18:43:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708131840001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787922691000,"timestamp_ms":1787922691000,"timestamp_seconds":1787922691,"priority":1,"record_length":96,"hex_timestamp":"000001a0487f33b8"} 
[2026-08-28 18:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-28 18:43:10] 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-28 18:43:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":164948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":164948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":164948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708131840001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708131840001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:43:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:43:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:43:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708131840001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":164948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:43:10] local.INFO: GPS data processed {"connection_id":164948,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:43:10] local.INFO: Acknowledgment sent {"connection_id":164948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:43:19] local.INFO: TCP Data received {"connection_id":166315,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0487e1a78012d1821800721b460004900d72f..."} 
[2026-08-28 18:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0487e1a78012d1821800721b460004900d72f..."} 
[2026-08-28 18:43:19] local.INFO: Processing buffer {"connection_id":166315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0487e1a78012d1821800721b460004900d72f..."} 
[2026-08-28 18:43:19] local.INFO: Packet analysis {"connection_id":166315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0487e"} 
[2026-08-28 18:43:19] local.INFO: Extracted packet for processing {"connection_id":166315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0487e"} 
[2026-08-28 18:43:19] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649376,"longitude_deg":75.655616,"latitude_deg":11.9649376,"altitude":73,"angle":215,"satellites":47,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b460","is_valid_coordinates":true} 
[2026-08-28 18: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-28 18:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708185088001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:43:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16021061237735424,"note":"Value kept but may cause issues"} 
[2026-08-28 18:43:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260317696,"note":"Value kept but may cause issues"} 
[2026-08-28 18:43:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:43:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787922619000,"timestamp_ms":1787922619000,"timestamp_seconds":1787922619,"priority":1,"record_length":96,"hex_timestamp":"000001a0487e1a78"} 
[2026-08-28 18: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-28 18:43:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-28 18:43:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18: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-28 18: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-28 18:43:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:43:19] local.INFO: Teltonika packet parsed successfully {"connection_id":166315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:43:19] local.INFO: Passing IMEI to GPS processor {"connection_id":166315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:43:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":166315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:43:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:43:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:43:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:43:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708185088001,"66":12798,"105":206,"83":41984,"24":0,"16":16021061237735424,"45":1738811699260317696},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:43:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:43:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:43:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708185088001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:43:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:43:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:43:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16021061237735424,"km_value":16021061237735.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:43:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260317696,"description":"Unknown IO ID 45"} 
[2026-08-28 18:43:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708185088001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260317696}} 
[2026-08-28 18:43:19] local.INFO: DEBUG: GPS processor result {"connection_id":166315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709597,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:43:19] local.INFO: GPS data processed {"connection_id":166315,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:43:19] local.INFO: Acknowledgment sent {"connection_id":166315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:43:36] local.INFO: TCP Data received {"connection_id":164949,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:43:36] local.INFO: Processing buffer {"connection_id":164949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:43:36] local.INFO: IMEI packet received {"connection_id":164949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 18:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":164949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:43:37] local.INFO: TCP Data received {"connection_id":163679,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0487d2460012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0487d2460012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:43:37] local.INFO: Processing buffer {"connection_id":163679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0487d2460012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:43:37] local.INFO: Packet analysis {"connection_id":163679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0487d"} 
[2026-08-28 18:43:37] local.INFO: Extracted packet for processing {"connection_id":163679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0487d"} 
[2026-08-28 18:43:37] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708097280001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787922556000,"timestamp_ms":1787922556000,"timestamp_seconds":1787922556,"priority":1,"record_length":96,"hex_timestamp":"000001a0487d2460"} 
[2026-08-28 18:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 18:43:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163679,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163679,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708097280001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708097280001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:43:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:43:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708097280001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:43:37] 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":709598,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:43:37] local.INFO: GPS data processed {"connection_id":163679,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:43:37] local.INFO: Acknowledgment sent {"connection_id":163679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:43:40] local.INFO: TCP Data received {"connection_id":164949,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:43:40] local.INFO: Processing buffer {"connection_id":164949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:43:40] local.INFO: IMEI packet received {"connection_id":164949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 18:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":164949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:43:42] local.INFO: TCP Data received {"connection_id":163950,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163950,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:43:42] local.INFO: Processing buffer {"connection_id":163950,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:43:42] local.INFO: IMEI packet received {"connection_id":163950,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 18:43:42] local.INFO: IMEI acknowledgment sent {"connection_id":163950,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:43:43] local.INFO: TCP Data received {"connection_id":164949,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0487f33b8012d34c14006aa4840001000e62a..."} 
[2026-08-28 18:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0487f33b8012d34c14006aa4840001000e62a..."} 
[2026-08-28 18:43:43] local.INFO: Processing buffer {"connection_id":164949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0487f33b8012d34c14006aa4840001000e62a..."} 
[2026-08-28 18:43:43] local.INFO: Packet analysis {"connection_id":164949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0487f"} 
[2026-08-28 18:43:43] local.INFO: Extracted packet for processing {"connection_id":164949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0487f"} 
[2026-08-28 18:43:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18: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-28 18:43:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708131840001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:43:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:43:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:43:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:43:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787922691000,"timestamp_ms":1787922691000,"timestamp_seconds":1787922691,"priority":1,"record_length":96,"hex_timestamp":"000001a0487f33b8"} 
[2026-08-28 18: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-28 18:43:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18: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":75,"data_length":795,"current_offset":136} 
[2026-08-28 18:43: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-28 18: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-28 18: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-28 18:43:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:43:43] local.INFO: Teltonika packet parsed successfully {"connection_id":164949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:43:43] local.INFO: Passing IMEI to GPS processor {"connection_id":164949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:43:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":164949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:43:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:43:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:43:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:43:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708131840001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:43:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:43:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:43:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708131840001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:43:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:43:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18: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-28 18:43:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:43:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708131840001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:43:43] local.INFO: DEBUG: GPS processor result {"connection_id":164949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:43:43] local.INFO: GPS data processed {"connection_id":164949,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:43:43] local.INFO: Acknowledgment sent {"connection_id":164949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:43:45] local.INFO: TCP Data received {"connection_id":163950,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163950,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:43:45] local.INFO: Processing buffer {"connection_id":163950,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:43:45] local.INFO: IMEI packet received {"connection_id":163950,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":163950,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:43:45] local.INFO: TCP Data received {"connection_id":164949,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0487f33b8012d34c14006aa4840001000e62a..."} 
[2026-08-28 18:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0487f33b8012d34c14006aa4840001000e62a..."} 
[2026-08-28 18:43:45] local.INFO: Processing buffer {"connection_id":164949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0487f33b8012d34c14006aa4840001000e62a..."} 
[2026-08-28 18:43:45] local.INFO: Packet analysis {"connection_id":164949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0487f"} 
[2026-08-28 18:43:45] local.INFO: Extracted packet for processing {"connection_id":164949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0487f"} 
[2026-08-28 18:43:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:43:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708131840001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:43:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:43:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:43:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:43:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787922691000,"timestamp_ms":1787922691000,"timestamp_seconds":1787922691,"priority":1,"record_length":96,"hex_timestamp":"000001a0487f33b8"} 
[2026-08-28 18:43:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:43:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-28 18:43: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-28 18:43:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:43:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:43:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:43:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:43:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:43:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:43:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:43:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:43:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:43:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708131840001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:43:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:43:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:43:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708131840001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:43:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:43:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18: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-28 18:43:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:43:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708131840001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:43:45] local.INFO: DEBUG: GPS processor result {"connection_id":164949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:43:45] local.INFO: GPS data processed {"connection_id":164949,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:43:45] local.INFO: Acknowledgment sent {"connection_id":164949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:43:47] local.INFO: TCP Data received {"connection_id":163950,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163950,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:43:47] local.INFO: Processing buffer {"connection_id":163950,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:43:47] local.INFO: IMEI packet received {"connection_id":163950,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:43:47] local.INFO: IMEI acknowledgment sent {"connection_id":163950,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:43:48] local.INFO: TCP Data received {"connection_id":163950,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0487e6c80012d1821800721b460004900d730..."} 
[2026-08-28 18:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0487e6c80012d1821800721b460004900d730..."} 
[2026-08-28 18:43:48] local.INFO: Processing buffer {"connection_id":163950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0487e6c80012d1821800721b460004900d730..."} 
[2026-08-28 18:43:48] local.INFO: Packet analysis {"connection_id":163950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0487e"} 
[2026-08-28 18:43:48] local.INFO: Extracted packet for processing {"connection_id":163950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0487e"} 
[2026-08-28 18:43:48] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649376,"longitude_deg":75.655616,"latitude_deg":11.9649376,"altitude":73,"angle":215,"satellites":48,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b460","is_valid_coordinates":true} 
[2026-08-28 18:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:43:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708190464001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:43:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16021061237735424,"note":"Value kept but may cause issues"} 
[2026-08-28 18:43:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260317696,"note":"Value kept but may cause issues"} 
[2026-08-28 18:43:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:43:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787922640000,"timestamp_ms":1787922640000,"timestamp_seconds":1787922640,"priority":1,"record_length":96,"hex_timestamp":"000001a0487e6c80"} 
[2026-08-28 18:43:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:43:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-28 18:43:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:43:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:43:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:43:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:43:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:43:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:43:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:43:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:43:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:43:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:43:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708190464001,"66":12765,"105":206,"83":41984,"24":0,"16":16021061237735424,"45":1738811699260317696},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:43:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:43:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:43:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708190464001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:43:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:43:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:43:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16021061237735424,"km_value":16021061237735.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:43:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260317696,"description":"Unknown IO ID 45"} 
[2026-08-28 18:43:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708190464001,"power":12765,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260317696}} 
[2026-08-28 18:43:48] local.INFO: DEBUG: GPS processor result {"connection_id":163950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709601,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:43:48] local.INFO: GPS data processed {"connection_id":163950,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:43:48] local.INFO: Acknowledgment sent {"connection_id":163950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:43:56] local.INFO: TCP Data received {"connection_id":163680,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163680,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:43:56] local.INFO: Processing buffer {"connection_id":163680,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:43:56] local.INFO: IMEI packet received {"connection_id":163680,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 18:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":163680,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:44:01] local.INFO: TCP Data received {"connection_id":163680,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163680,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:44:01] local.INFO: Processing buffer {"connection_id":163680,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:44:01] local.INFO: IMEI packet received {"connection_id":163680,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 18:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":163680,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:44:03] local.INFO: TCP Data received {"connection_id":163680,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0487d2460012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0487d2460012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:44:03] local.INFO: Processing buffer {"connection_id":163680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0487d2460012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:44:03] local.INFO: Packet analysis {"connection_id":163680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0487d"} 
[2026-08-28 18:44:03] local.INFO: Extracted packet for processing {"connection_id":163680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0487d"} 
[2026-08-28 18:44:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708097280001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:44:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787922556000,"timestamp_ms":1787922556000,"timestamp_seconds":1787922556,"priority":1,"record_length":96,"hex_timestamp":"000001a0487d2460"} 
[2026-08-28 18:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:44:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 18:44:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:44:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163680,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163680,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708097280001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708097280001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:44:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:44:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708097280001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:44:03] 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":709602,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:44:03] local.INFO: GPS data processed {"connection_id":163680,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:44:03] local.INFO: Acknowledgment sent {"connection_id":163680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:44:19] local.INFO: TCP Data received {"connection_id":163950,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0487ebe88012d1821800721b460004900d72e..."} 
[2026-08-28 18:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0487ebe88012d1821800721b460004900d72e..."} 
[2026-08-28 18:44:19] local.INFO: Processing buffer {"connection_id":163950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0487ebe88012d1821800721b460004900d72e..."} 
[2026-08-28 18:44:19] local.INFO: Packet analysis {"connection_id":163950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0487e"} 
[2026-08-28 18:44:19] local.INFO: Extracted packet for processing {"connection_id":163950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0487e"} 
[2026-08-28 18:44:19] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649376,"longitude_deg":75.655616,"latitude_deg":11.9649376,"altitude":73,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b460","is_valid_coordinates":true} 
[2026-08-28 18: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-28 18:44:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708195840001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:44:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16021061237735424,"note":"Value kept but may cause issues"} 
[2026-08-28 18:44:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260317696,"note":"Value kept but may cause issues"} 
[2026-08-28 18:44:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:44:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787922661000,"timestamp_ms":1787922661000,"timestamp_seconds":1787922661,"priority":1,"record_length":96,"hex_timestamp":"000001a0487ebe88"} 
[2026-08-28 18: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-28 18:44:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-28 18:44:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18: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-28 18: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-28 18:44:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:44:19] local.INFO: Teltonika packet parsed successfully {"connection_id":163950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:44:19] local.INFO: Passing IMEI to GPS processor {"connection_id":163950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:44:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":163950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:44:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:44:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:44:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:44:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708195840001,"66":12722,"105":206,"83":41984,"24":0,"16":16021061237735424,"45":1738811699260317696},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:44:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:44:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:44:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708195840001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:44:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:44:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:44:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16021061237735424,"km_value":16021061237735.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:44:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260317696,"description":"Unknown IO ID 45"} 
[2026-08-28 18:44:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708195840001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260317696}} 
[2026-08-28 18:44:19] local.INFO: DEBUG: GPS processor result {"connection_id":163950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709603,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:44:19] local.INFO: GPS data processed {"connection_id":163950,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:44:19] local.INFO: Acknowledgment sent {"connection_id":163950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:44:30] local.INFO: TCP Data received {"connection_id":166316,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:44:30] local.INFO: Processing buffer {"connection_id":166316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:44:30] local.INFO: IMEI packet received {"connection_id":166316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 18:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":166316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:44:35] local.INFO: TCP Data received {"connection_id":163680,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0487d2460012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0487d2460012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:44:35] local.INFO: Processing buffer {"connection_id":163680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0487d2460012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:44:35] local.INFO: Packet analysis {"connection_id":163680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0487d"} 
[2026-08-28 18:44:35] local.INFO: Extracted packet for processing {"connection_id":163680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0487d"} 
[2026-08-28 18:44:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708097280001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:44:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:44:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787922556000,"timestamp_ms":1787922556000,"timestamp_seconds":1787922556,"priority":1,"record_length":96,"hex_timestamp":"000001a0487d2460"} 
[2026-08-28 18:44:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:44:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 18:44:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:44:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:44:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163680,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163680,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:44:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708097280001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708097280001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:44:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:44:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:44:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:44:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708097280001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:44:35] 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":709604,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:44:35] local.INFO: GPS data processed {"connection_id":163680,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:44:35] local.INFO: Acknowledgment sent {"connection_id":163680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:44:35] local.INFO: TCP Data received {"connection_id":166316,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:44:35] local.INFO: Processing buffer {"connection_id":166316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:44:35] local.INFO: IMEI packet received {"connection_id":166316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 18:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":166316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:44:36] local.INFO: TCP Data received {"connection_id":166316,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0487f33b8012d34c14006aa4840001000e62a..."} 
[2026-08-28 18:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0487f33b8012d34c14006aa4840001000e62a..."} 
[2026-08-28 18:44:36] local.INFO: Processing buffer {"connection_id":166316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0487f33b8012d34c14006aa4840001000e62a..."} 
[2026-08-28 18:44:36] local.INFO: Packet analysis {"connection_id":166316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0487f"} 
[2026-08-28 18:44:36] local.INFO: Extracted packet for processing {"connection_id":166316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0487f"} 
[2026-08-28 18:44:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708131840001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:44:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:44:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787922691000,"timestamp_ms":1787922691000,"timestamp_seconds":1787922691,"priority":1,"record_length":96,"hex_timestamp":"000001a0487f33b8"} 
[2026-08-28 18:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:44:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-28 18:44:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:44:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":166316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":166316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":166316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:44:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708131840001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708131840001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:44:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:44:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:44:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708131840001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":166316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:44:36] local.INFO: GPS data processed {"connection_id":166316,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:44:36] local.INFO: Acknowledgment sent {"connection_id":166316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:44:42] local.INFO: TCP Data received {"connection_id":164950,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164950,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:44:42] local.INFO: Processing buffer {"connection_id":164950,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:44:42] local.INFO: IMEI packet received {"connection_id":164950,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 18:44:42] local.INFO: IMEI acknowledgment sent {"connection_id":164950,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:44:48] local.INFO: TCP Data received {"connection_id":164950,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164950,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:44:48] local.INFO: Processing buffer {"connection_id":164950,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:44:48] local.INFO: IMEI packet received {"connection_id":164950,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":164950,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:44:48] local.INFO: TCP Data received {"connection_id":164950,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0487f1090012d1821800721b460004900d72e..."} 
[2026-08-28 18:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0487f1090012d1821800721b460004900d72e..."} 
[2026-08-28 18:44:48] local.INFO: Processing buffer {"connection_id":164950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0487f1090012d1821800721b460004900d72e..."} 
[2026-08-28 18:44:48] local.INFO: Packet analysis {"connection_id":164950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0487f"} 
[2026-08-28 18:44:48] local.INFO: Extracted packet for processing {"connection_id":164950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0487f"} 
[2026-08-28 18:44:48] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649376,"longitude_deg":75.655616,"latitude_deg":11.9649376,"altitude":73,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b460","is_valid_coordinates":true} 
[2026-08-28 18:44:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:44:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708201216001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:44:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16021061237735424,"note":"Value kept but may cause issues"} 
[2026-08-28 18:44:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260317696,"note":"Value kept but may cause issues"} 
[2026-08-28 18:44:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:44:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787922682000,"timestamp_ms":1787922682000,"timestamp_seconds":1787922682,"priority":1,"record_length":96,"hex_timestamp":"000001a0487f1090"} 
[2026-08-28 18:44:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:44:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:44:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-28 18:44:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:44:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:44:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:44:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:44:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:44:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:44:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:44:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:44:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:44:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:44:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708201216001,"66":12254,"105":206,"83":41984,"24":0,"16":16021061237735424,"45":1738811699260317696},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:44:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:44:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:44:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708201216001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:44:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:44:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:44:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16021061237735424,"km_value":16021061237735.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:44:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260317696,"description":"Unknown IO ID 45"} 
[2026-08-28 18:44:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708201216001,"power":12254,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260317696}} 
[2026-08-28 18:44:48] 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":709606,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:44:48] local.INFO: GPS data processed {"connection_id":164950,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:44:48] local.INFO: Acknowledgment sent {"connection_id":164950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:45:01] local.INFO: TCP Data received {"connection_id":163951,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163951,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:45:01] local.INFO: Processing buffer {"connection_id":163951,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:45:01] local.INFO: IMEI packet received {"connection_id":163951,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 18:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":163951,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:45:06] local.INFO: TCP Data received {"connection_id":163951,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163951,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:45:06] local.INFO: Processing buffer {"connection_id":163951,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:45:06] local.INFO: IMEI packet received {"connection_id":163951,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 18:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":163951,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:45:09] local.INFO: TCP Data received {"connection_id":163951,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04881bc28012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04881bc28012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:45:09] local.INFO: Processing buffer {"connection_id":163951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04881bc28012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:45:09] local.INFO: Packet analysis {"connection_id":163951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04881"} 
[2026-08-28 18:45:09] local.INFO: Extracted packet for processing {"connection_id":163951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04881"} 
[2026-08-28 18:45:09] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708174336001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:45:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787922857000,"timestamp_ms":1787922857000,"timestamp_seconds":1787922857,"priority":1,"record_length":96,"hex_timestamp":"000001a04881bc28"} 
[2026-08-28 18:45:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:45:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:45:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:45:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:45:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163951,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163951,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:45:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708174336001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708174336001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:45:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:45:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:45:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:45:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708174336001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":163951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709607,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:45:09] local.INFO: GPS data processed {"connection_id":163951,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:45:09] local.INFO: Acknowledgment sent {"connection_id":163951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:45:09] local.INFO: TCP Data received {"connection_id":166316,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0487f33b8012d34c14006aa4840001000e62a..."} 
[2026-08-28 18:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0487f33b8012d34c14006aa4840001000e62a..."} 
[2026-08-28 18:45:09] local.INFO: Processing buffer {"connection_id":166316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0487f33b8012d34c14006aa4840001000e62a..."} 
[2026-08-28 18:45:09] local.INFO: Packet analysis {"connection_id":166316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0487f"} 
[2026-08-28 18:45:09] local.INFO: Extracted packet for processing {"connection_id":166316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0487f"} 
[2026-08-28 18:45:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708131840001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:45:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787922691000,"timestamp_ms":1787922691000,"timestamp_seconds":1787922691,"priority":1,"record_length":96,"hex_timestamp":"000001a0487f33b8"} 
[2026-08-28 18:45:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:45:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-28 18:45:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:45:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:45:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":166316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":166316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":166316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:45:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708131840001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708131840001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:45:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:45:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:45: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-28 18:45:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708131840001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":166316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:45:09] local.INFO: GPS data processed {"connection_id":166316,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:45:09] local.INFO: Acknowledgment sent {"connection_id":166316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:45:13] local.INFO: TCP Data received {"connection_id":163951,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04881bc28012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04881bc28012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:45:13] local.INFO: Processing buffer {"connection_id":163951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04881bc28012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:45:13] local.INFO: Packet analysis {"connection_id":163951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04881"} 
[2026-08-28 18:45:13] local.INFO: Extracted packet for processing {"connection_id":163951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04881"} 
[2026-08-28 18:45:13] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 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-28 18:45:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708174336001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:45:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:45:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:45:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:45:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787922857000,"timestamp_ms":1787922857000,"timestamp_seconds":1787922857,"priority":1,"record_length":96,"hex_timestamp":"000001a04881bc28"} 
[2026-08-28 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-28 18:45:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:45: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-28 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-28 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-28 18:45:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:45:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:45:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163951,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:45:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163951,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:45:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:45:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:45:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:45:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708174336001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:45:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:45:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:45:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708174336001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:45:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:45:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:45:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:45:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:45:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708174336001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:45:13] local.INFO: DEBUG: GPS processor result {"connection_id":163951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709609,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:45:13] local.INFO: GPS data processed {"connection_id":163951,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:45:13] local.INFO: Acknowledgment sent {"connection_id":163951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:45:19] local.INFO: TCP Data received {"connection_id":164950,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0487f6298012d1821800721b460004900d730..."} 
[2026-08-28 18:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0487f6298012d1821800721b460004900d730..."} 
[2026-08-28 18:45:19] local.INFO: Processing buffer {"connection_id":164950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0487f6298012d1821800721b460004900d730..."} 
[2026-08-28 18:45:19] local.INFO: Packet analysis {"connection_id":164950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0487f"} 
[2026-08-28 18:45:19] local.INFO: Extracted packet for processing {"connection_id":164950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0487f"} 
[2026-08-28 18:45:19] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649376,"longitude_deg":75.655616,"latitude_deg":11.9649376,"altitude":73,"angle":215,"satellites":48,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b460","is_valid_coordinates":true} 
[2026-08-28 18:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:45:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708206592001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:45:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16021061237735424,"note":"Value kept but may cause issues"} 
[2026-08-28 18:45:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260317696,"note":"Value kept but may cause issues"} 
[2026-08-28 18:45:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:45:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787922703000,"timestamp_ms":1787922703000,"timestamp_seconds":1787922703,"priority":1,"record_length":96,"hex_timestamp":"000001a0487f6298"} 
[2026-08-28 18:45:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:45:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-28 18:45:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:45:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:45:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:45:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:45:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:45:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:45:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:45:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:45:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:45:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:45:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708206592001,"66":13352,"105":206,"83":41984,"24":0,"16":16021061237735424,"45":1738811699260317696},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:45:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:45:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:45:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708206592001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:45:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:45:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:45:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16021061237735424,"km_value":16021061237735.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:45:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260317696,"description":"Unknown IO ID 45"} 
[2026-08-28 18:45:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708206592001,"power":13352,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260317696}} 
[2026-08-28 18:45:20] 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":709610,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:45:20] local.INFO: GPS data processed {"connection_id":164950,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:45:20] local.INFO: Acknowledgment sent {"connection_id":164950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:45:30] local.INFO: TCP Data received {"connection_id":166317,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:45:30] local.INFO: Processing buffer {"connection_id":166317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:45:30] local.INFO: IMEI packet received {"connection_id":166317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 18:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":166317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:45:36] local.INFO: TCP Data received {"connection_id":166317,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:45:36] local.INFO: Processing buffer {"connection_id":166317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:45:36] local.INFO: IMEI packet received {"connection_id":166317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 18:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":166317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:45:37] local.INFO: TCP Data received {"connection_id":166317,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0487f33b8012d34c14006aa4840001000e62a..."} 
[2026-08-28 18:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0487f33b8012d34c14006aa4840001000e62a..."} 
[2026-08-28 18:45:37] local.INFO: Processing buffer {"connection_id":166317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0487f33b8012d34c14006aa4840001000e62a..."} 
[2026-08-28 18:45:37] local.INFO: Packet analysis {"connection_id":166317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0487f"} 
[2026-08-28 18:45:37] local.INFO: Extracted packet for processing {"connection_id":166317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0487f"} 
[2026-08-28 18:45:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708131840001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787922691000,"timestamp_ms":1787922691000,"timestamp_seconds":1787922691,"priority":1,"record_length":96,"hex_timestamp":"000001a0487f33b8"} 
[2026-08-28 18:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-28 18:45:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":166317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":166317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":166317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708131840001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708131840001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:45:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:45:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:45: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-28 18:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708131840001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":166317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:45:37] local.INFO: GPS data processed {"connection_id":166317,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:45:37] local.INFO: Acknowledgment sent {"connection_id":166317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:45:47] local.INFO: TCP Data received {"connection_id":166318,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166318,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:45:47] local.INFO: Processing buffer {"connection_id":166318,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:45:47] local.INFO: IMEI packet received {"connection_id":166318,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 18:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":166318,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:45:51] local.INFO: TCP Data received {"connection_id":166318,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166318,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:45:51] local.INFO: Processing buffer {"connection_id":166318,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:45:51] local.INFO: IMEI packet received {"connection_id":166318,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:45:51] local.INFO: IMEI acknowledgment sent {"connection_id":166318,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:45:52] local.INFO: TCP Data received {"connection_id":166318,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0487fb4a0012d1821800721b460004900d72f..."} 
[2026-08-28 18:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0487fb4a0012d1821800721b460004900d72f..."} 
[2026-08-28 18:45:52] local.INFO: Processing buffer {"connection_id":166318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0487fb4a0012d1821800721b460004900d72f..."} 
[2026-08-28 18:45:52] local.INFO: Packet analysis {"connection_id":166318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0487f"} 
[2026-08-28 18:45:52] local.INFO: Extracted packet for processing {"connection_id":166318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0487f"} 
[2026-08-28 18:45:52] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649376,"longitude_deg":75.655616,"latitude_deg":11.9649376,"altitude":73,"angle":215,"satellites":47,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b460","is_valid_coordinates":true} 
[2026-08-28 18: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-28 18:45:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708211968001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:45:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16021061237735424,"note":"Value kept but may cause issues"} 
[2026-08-28 18:45:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260317696,"note":"Value kept but may cause issues"} 
[2026-08-28 18:45: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-28 18:45:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787922724000,"timestamp_ms":1787922724000,"timestamp_seconds":1787922724,"priority":1,"record_length":96,"hex_timestamp":"000001a0487fb4a0"} 
[2026-08-28 18: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-28 18:45:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-28 18:45:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18: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-28 18: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-28 18:45:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:45:52] local.INFO: Teltonika packet parsed successfully {"connection_id":166318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:45:52] local.INFO: Passing IMEI to GPS processor {"connection_id":166318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:45:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":166318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:45:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:45:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:45:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:45:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708211968001,"66":12689,"105":206,"83":41984,"24":0,"16":16021061237735424,"45":1738811699260317696},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:45:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:45:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:45:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708211968001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:45:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:45:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:45:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16021061237735424,"km_value":16021061237735.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:45:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260317696,"description":"Unknown IO ID 45"} 
[2026-08-28 18:45:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708211968001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260317696}} 
[2026-08-28 18:45:52] local.INFO: DEBUG: GPS processor result {"connection_id":166318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709612,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:45:52] local.INFO: GPS data processed {"connection_id":166318,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:45:52] local.INFO: Acknowledgment sent {"connection_id":166318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:45:56] local.INFO: TCP Data received {"connection_id":164951,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164951,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:45:56] local.INFO: Processing buffer {"connection_id":164951,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:45:56] local.INFO: IMEI packet received {"connection_id":164951,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 18:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":164951,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:46:01] local.INFO: TCP Data received {"connection_id":164951,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164951,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:46:01] local.INFO: Processing buffer {"connection_id":164951,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:46:01] local.INFO: IMEI packet received {"connection_id":164951,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 18:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":164951,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:46:03] local.INFO: TCP Data received {"connection_id":164951,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04881bc28012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04881bc28012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:46:03] local.INFO: Processing buffer {"connection_id":164951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04881bc28012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:46:03] local.INFO: Packet analysis {"connection_id":164951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04881"} 
[2026-08-28 18:46:03] local.INFO: Extracted packet for processing {"connection_id":164951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04881"} 
[2026-08-28 18:46:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708174336001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:46:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787922857000,"timestamp_ms":1787922857000,"timestamp_seconds":1787922857,"priority":1,"record_length":96,"hex_timestamp":"000001a04881bc28"} 
[2026-08-28 18:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:46:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:46:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:46:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":164951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":164951,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":164951,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:46:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708174336001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708174336001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:46:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:46:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708174336001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":164951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709613,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:46:04] local.INFO: GPS data processed {"connection_id":164951,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:46:04] local.INFO: Acknowledgment sent {"connection_id":164951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:46:09] local.INFO: TCP Data received {"connection_id":166317,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0487f33b8012d34c14006aa4840001000e62a..."} 
[2026-08-28 18:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0487f33b8012d34c14006aa4840001000e62a..."} 
[2026-08-28 18:46:09] local.INFO: Processing buffer {"connection_id":166317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0487f33b8012d34c14006aa4840001000e62a..."} 
[2026-08-28 18:46:09] local.INFO: Packet analysis {"connection_id":166317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0487f"} 
[2026-08-28 18:46:09] local.INFO: Extracted packet for processing {"connection_id":166317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0487f"} 
[2026-08-28 18:46:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708131840001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:46:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:46:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787922691000,"timestamp_ms":1787922691000,"timestamp_seconds":1787922691,"priority":1,"record_length":96,"hex_timestamp":"000001a0487f33b8"} 
[2026-08-28 18:46:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:46:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-28 18:46:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:46:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:46:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":166317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":166317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":166317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:46:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708131840001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708131840001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:46:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:46:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:46: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-28 18:46:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708131840001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":166317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:46:09] local.INFO: GPS data processed {"connection_id":166317,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:46:09] local.INFO: Acknowledgment sent {"connection_id":166317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:46:23] local.INFO: TCP Data received {"connection_id":166318,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0488006a8012d1820c00721b3d8004c00ce31..."} 
[2026-08-28 18:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0488006a8012d1820c00721b3d8004c00ce31..."} 
[2026-08-28 18:46:23] local.INFO: Processing buffer {"connection_id":166318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0488006a8012d1820c00721b3d8004c00ce31..."} 
[2026-08-28 18:46:23] local.INFO: Packet analysis {"connection_id":166318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04880"} 
[2026-08-28 18:46:23] local.INFO: Extracted packet for processing {"connection_id":166318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04880"} 
[2026-08-28 18:46:23] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649240,"longitude_deg":75.6555968,"latitude_deg":11.964924,"altitude":76,"angle":206,"satellites":49,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b3d8","is_valid_coordinates":true} 
[2026-08-28 18:46:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:46:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708217344001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:46:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16021074122637312,"note":"Value kept but may cause issues"} 
[2026-08-28 18:46:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260317696,"note":"Value kept but may cause issues"} 
[2026-08-28 18:46: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-28 18:46:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787922745000,"timestamp_ms":1787922745000,"timestamp_seconds":1787922745,"priority":1,"record_length":96,"hex_timestamp":"000001a0488006a8"} 
[2026-08-28 18:46:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:46:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:46:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-28 18:46:23] 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-28 18:46:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:46:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:46:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:46:23] local.INFO: Teltonika packet parsed successfully {"connection_id":166318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:46:23] local.INFO: Passing IMEI to GPS processor {"connection_id":166318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:46:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":166318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:46:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:46:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:46:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:46:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708217344001,"66":12722,"105":206,"83":41984,"24":0,"16":16021074122637312,"45":1738811699260317696},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:46:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:46:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:46:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708217344001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:46:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:46:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:46:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16021074122637312,"km_value":16021074122637.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:46:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260317696,"description":"Unknown IO ID 45"} 
[2026-08-28 18:46:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708217344001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260317696}} 
[2026-08-28 18:46:23] local.INFO: DEBUG: GPS processor result {"connection_id":166318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709615,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:46:23] local.INFO: GPS data processed {"connection_id":166318,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:46:23] local.INFO: Acknowledgment sent {"connection_id":166318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:46:30] local.INFO: TCP Data received {"connection_id":164952,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:46:30] local.INFO: Processing buffer {"connection_id":164952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:46:30] local.INFO: IMEI packet received {"connection_id":164952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 18:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":164952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:46:35] local.INFO: TCP Data received {"connection_id":164952,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:46:35] local.INFO: Processing buffer {"connection_id":164952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:46:35] local.INFO: IMEI packet received {"connection_id":164952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 18:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":164952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:46:36] local.INFO: TCP Data received {"connection_id":164951,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04881bc28012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04881bc28012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:46:36] local.INFO: Processing buffer {"connection_id":164951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04881bc28012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:46:36] local.INFO: Packet analysis {"connection_id":164951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04881"} 
[2026-08-28 18:46:36] local.INFO: Extracted packet for processing {"connection_id":164951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04881"} 
[2026-08-28 18:46:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708174336001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787922857000,"timestamp_ms":1787922857000,"timestamp_seconds":1787922857,"priority":1,"record_length":96,"hex_timestamp":"000001a04881bc28"} 
[2026-08-28 18:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:46:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:46:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":164951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":164951,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":164951,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:46:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708174336001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708174336001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:46:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:46:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708174336001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":164951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709616,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:46:36] local.INFO: GPS data processed {"connection_id":164951,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:46:36] local.INFO: Acknowledgment sent {"connection_id":164951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:46:37] local.INFO: TCP Data received {"connection_id":164952,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0487f33b8012d34c14006aa4840001000e62a..."} 
[2026-08-28 18:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0487f33b8012d34c14006aa4840001000e62a..."} 
[2026-08-28 18:46:37] local.INFO: Processing buffer {"connection_id":164952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0487f33b8012d34c14006aa4840001000e62a..."} 
[2026-08-28 18:46:37] local.INFO: Packet analysis {"connection_id":164952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0487f"} 
[2026-08-28 18:46:37] local.INFO: Extracted packet for processing {"connection_id":164952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0487f"} 
[2026-08-28 18:46:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708131840001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787922691000,"timestamp_ms":1787922691000,"timestamp_seconds":1787922691,"priority":1,"record_length":96,"hex_timestamp":"000001a0487f33b8"} 
[2026-08-28 18:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-28 18:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:46:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708131840001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708131840001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:46:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:46:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:46: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-28 18:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708131840001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":164952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:46:37] local.INFO: GPS data processed {"connection_id":164952,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:46:37] local.INFO: Acknowledgment sent {"connection_id":164952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:46:43] local.INFO: TCP Data received {"connection_id":163952,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163952,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:46:43] local.INFO: Processing buffer {"connection_id":163952,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:46:43] local.INFO: IMEI packet received {"connection_id":163952,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 18:46:43] local.INFO: IMEI acknowledgment sent {"connection_id":163952,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:46:47] local.INFO: TCP Data received {"connection_id":163952,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163952,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:46:47] local.INFO: Processing buffer {"connection_id":163952,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:46:47] local.INFO: IMEI packet received {"connection_id":163952,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":163952,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:46:48] local.INFO: TCP Data received {"connection_id":163952,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0488058b0012d1820c00721b3a0004c00d72e..."} 
[2026-08-28 18:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0488058b0012d1820c00721b3a0004c00d72e..."} 
[2026-08-28 18:46:48] local.INFO: Processing buffer {"connection_id":163952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0488058b0012d1820c00721b3a0004c00d72e..."} 
[2026-08-28 18:46:48] local.INFO: Packet analysis {"connection_id":163952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04880"} 
[2026-08-28 18:46:48] local.INFO: Extracted packet for processing {"connection_id":163952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04880"} 
[2026-08-28 18:46:48] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649184,"longitude_deg":75.6555968,"latitude_deg":11.9649184,"altitude":76,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b3a0","is_valid_coordinates":true} 
[2026-08-28 18:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:46:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708222720001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:46:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16021078417604608,"note":"Value kept but may cause issues"} 
[2026-08-28 18:46:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027749888,"note":"Value kept but may cause issues"} 
[2026-08-28 18:46:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:46:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787922766000,"timestamp_ms":1787922766000,"timestamp_seconds":1787922766,"priority":1,"record_length":96,"hex_timestamp":"000001a0488058b0"} 
[2026-08-28 18:46:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:46:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-28 18:46:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:46:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:46:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:46:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:46:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:46:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:46:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:46:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:46:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:46:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:46:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708222720001,"66":12689,"105":206,"83":41984,"24":0,"16":16021078417604608,"45":1738600593027749888},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:46:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:46:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:46:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708222720001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:46:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:46:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:46:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16021078417604608,"km_value":16021078417604.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:46:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027749888,"description":"Unknown IO ID 45"} 
[2026-08-28 18:46:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708222720001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027749888}} 
[2026-08-28 18:46:48] local.INFO: DEBUG: GPS processor result {"connection_id":163952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709618,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:46:48] local.INFO: GPS data processed {"connection_id":163952,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:46:48] local.INFO: Acknowledgment sent {"connection_id":163952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:47:01] local.INFO: TCP Data received {"connection_id":164953,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164953,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:47:01] local.INFO: Processing buffer {"connection_id":164953,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:47:01] local.INFO: IMEI packet received {"connection_id":164953,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 18:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":164953,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:47:06] local.INFO: TCP Data received {"connection_id":164953,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164953,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:47:06] local.INFO: Processing buffer {"connection_id":164953,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:47:06] local.INFO: IMEI packet received {"connection_id":164953,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 18:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":164953,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:47:08] local.INFO: TCP Data received {"connection_id":164953,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04881bc28012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04881bc28012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:47:08] local.INFO: Processing buffer {"connection_id":164953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04881bc28012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:47:08] local.INFO: Packet analysis {"connection_id":164953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04881"} 
[2026-08-28 18:47:08] local.INFO: Extracted packet for processing {"connection_id":164953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04881"} 
[2026-08-28 18:47:08] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708174336001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:47:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787922857000,"timestamp_ms":1787922857000,"timestamp_seconds":1787922857,"priority":1,"record_length":96,"hex_timestamp":"000001a04881bc28"} 
[2026-08-28 18: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-28 18:47:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:47:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18: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-28 18: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-28 18:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164953,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164953,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:47:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708174336001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708174336001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:47:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:47:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708174336001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":164953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709619,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:47:08] local.INFO: GPS data processed {"connection_id":164953,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:47:08] local.INFO: Acknowledgment sent {"connection_id":164953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:47:09] local.INFO: TCP Data received {"connection_id":164952,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0487f33b8012d34c14006aa4840001000e62a..."} 
[2026-08-28 18:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0487f33b8012d34c14006aa4840001000e62a..."} 
[2026-08-28 18:47:09] local.INFO: Processing buffer {"connection_id":164952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0487f33b8012d34c14006aa4840001000e62a..."} 
[2026-08-28 18:47:09] local.INFO: Packet analysis {"connection_id":164952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0487f"} 
[2026-08-28 18:47:09] local.INFO: Extracted packet for processing {"connection_id":164952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0487f"} 
[2026-08-28 18:47:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708131840001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787922691000,"timestamp_ms":1787922691000,"timestamp_seconds":1787922691,"priority":1,"record_length":96,"hex_timestamp":"000001a0487f33b8"} 
[2026-08-28 18:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-28 18:47:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:47:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:47:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708131840001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708131840001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:47:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:47:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:47: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-28 18:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708131840001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":164952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:47:09] local.INFO: GPS data processed {"connection_id":164952,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:47:09] local.INFO: Acknowledgment sent {"connection_id":164952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:47:13] local.INFO: TCP Data received {"connection_id":164953,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04881bc28012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04881bc28012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:47:13] local.INFO: Processing buffer {"connection_id":164953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04881bc28012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:47:13] local.INFO: Packet analysis {"connection_id":164953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04881"} 
[2026-08-28 18:47:13] local.INFO: Extracted packet for processing {"connection_id":164953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04881"} 
[2026-08-28 18:47:13] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18: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-28 18:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708174336001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:47:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:47:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787922857000,"timestamp_ms":1787922857000,"timestamp_seconds":1787922857,"priority":1,"record_length":96,"hex_timestamp":"000001a04881bc28"} 
[2026-08-28 18: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-28 18:47:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18: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":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:47: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-28 18: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-28 18: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-28 18:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":164953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":164953,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":164953,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708174336001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708174336001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:47:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:47:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:47:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708174336001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":164953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709621,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:47:13] local.INFO: GPS data processed {"connection_id":164953,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:47:13] local.INFO: Acknowledgment sent {"connection_id":164953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:47:19] local.INFO: TCP Data received {"connection_id":163952,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a04880aab8012d1820c00721b3a0004c00d730..."} 
[2026-08-28 18:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04880aab8012d1820c00721b3a0004c00d730..."} 
[2026-08-28 18:47:19] local.INFO: Processing buffer {"connection_id":163952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04880aab8012d1820c00721b3a0004c00d730..."} 
[2026-08-28 18:47:19] local.INFO: Packet analysis {"connection_id":163952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04880"} 
[2026-08-28 18:47:19] local.INFO: Extracted packet for processing {"connection_id":163952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04880"} 
[2026-08-28 18:47:19] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649184,"longitude_deg":75.6555968,"latitude_deg":11.9649184,"altitude":76,"angle":215,"satellites":48,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b3a0","is_valid_coordinates":true} 
[2026-08-28 18:47:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:47:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708228096001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:47:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16021078417604608,"note":"Value kept but may cause issues"} 
[2026-08-28 18:47:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027735552,"note":"Value kept but may cause issues"} 
[2026-08-28 18:47:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:47:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787922787000,"timestamp_ms":1787922787000,"timestamp_seconds":1787922787,"priority":1,"record_length":96,"hex_timestamp":"000001a04880aab8"} 
[2026-08-28 18:47:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:47:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:47:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-28 18:47:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:47:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:47:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:47:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:47:19] local.INFO: Teltonika packet parsed successfully {"connection_id":163952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:47:19] local.INFO: Passing IMEI to GPS processor {"connection_id":163952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:47:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":163952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:47:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:47:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:47:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:47:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708228096001,"66":12689,"105":206,"83":41984,"24":0,"16":16021078417604608,"45":1738600593027735552},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:47:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:47:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:47:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708228096001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:47:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:47:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:47:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16021078417604608,"km_value":16021078417604.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:47:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027735552,"description":"Unknown IO ID 45"} 
[2026-08-28 18:47:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708228096001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027735552}} 
[2026-08-28 18:47:19] local.INFO: DEBUG: GPS processor result {"connection_id":163952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709622,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:47:19] local.INFO: GPS data processed {"connection_id":163952,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:47:19] local.INFO: Acknowledgment sent {"connection_id":163952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:47:36] local.INFO: TCP Data received {"connection_id":166319,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:47:36] local.INFO: Processing buffer {"connection_id":166319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:47:36] local.INFO: IMEI packet received {"connection_id":166319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 18:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":166319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:47:40] local.INFO: TCP Data received {"connection_id":166319,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:47:40] local.INFO: Processing buffer {"connection_id":166319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:47:40] local.INFO: IMEI packet received {"connection_id":166319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 18:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":166319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:47:42] local.INFO: TCP Data received {"connection_id":166319,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04883cb80012d34c14006aa4840000e00e62a..."} 
[2026-08-28 18:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04883cb80012d34c14006aa4840000e00e62a..."} 
[2026-08-28 18:47:42] local.INFO: Processing buffer {"connection_id":166319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04883cb80012d34c14006aa4840000e00e62a..."} 
[2026-08-28 18:47:42] local.INFO: Packet analysis {"connection_id":166319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04883"} 
[2026-08-28 18:47:42] local.INFO: Extracted packet for processing {"connection_id":166319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04883"} 
[2026-08-28 18:47:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 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-28 18:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708208896001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:47:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:47:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787922992000,"timestamp_ms":1787922992000,"timestamp_seconds":1787922992,"priority":1,"record_length":96,"hex_timestamp":"000001a04883cb80"} 
[2026-08-28 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-28 18: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-28 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-28 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-28 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-28 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-28 18:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":166319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":166319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":166319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708208896001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708208896001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:47:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:47:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 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-28 18:47:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708208896001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":166319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:47:42] local.INFO: GPS data processed {"connection_id":166319,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:47:42] local.INFO: Acknowledgment sent {"connection_id":166319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:47:43] local.INFO: TCP Data received {"connection_id":166320,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166320,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:47:43] local.INFO: Processing buffer {"connection_id":166320,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:47:43] local.INFO: IMEI packet received {"connection_id":166320,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 18:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":166320,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:47:46] local.INFO: TCP Data received {"connection_id":166319,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04883cb80012d34c14006aa4840000e00e62a..."} 
[2026-08-28 18:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04883cb80012d34c14006aa4840000e00e62a..."} 
[2026-08-28 18:47:46] local.INFO: Processing buffer {"connection_id":166319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04883cb80012d34c14006aa4840000e00e62a..."} 
[2026-08-28 18:47:46] local.INFO: Packet analysis {"connection_id":166319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04883"} 
[2026-08-28 18:47:46] local.INFO: Extracted packet for processing {"connection_id":166319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04883"} 
[2026-08-28 18:47:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18: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-28 18:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708208896001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:47:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:47:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787922992000,"timestamp_ms":1787922992000,"timestamp_seconds":1787922992,"priority":1,"record_length":96,"hex_timestamp":"000001a04883cb80"} 
[2026-08-28 18: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-28 18:47: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-28 18: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 18:47: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-28 18: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-28 18: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-28 18:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":166319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":166319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":166319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:47:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708208896001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708208896001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:47:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:47:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:47: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-28 18:47:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708208896001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":166319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:47:46] local.INFO: GPS data processed {"connection_id":166319,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:47:46] local.INFO: Acknowledgment sent {"connection_id":166319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:47:47] local.INFO: TCP Data received {"connection_id":166320,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166320,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:47:47] local.INFO: Processing buffer {"connection_id":166320,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:47:47] local.INFO: IMEI packet received {"connection_id":166320,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:47:47] local.INFO: IMEI acknowledgment sent {"connection_id":166320,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:47:48] local.INFO: TCP Data received {"connection_id":166320,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a04880fcc0012d1820c00721b3a0004c00d72f..."} 
[2026-08-28 18:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04880fcc0012d1820c00721b3a0004c00d72f..."} 
[2026-08-28 18:47:48] local.INFO: Processing buffer {"connection_id":166320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04880fcc0012d1820c00721b3a0004c00d72f..."} 
[2026-08-28 18:47:48] local.INFO: Packet analysis {"connection_id":166320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04880"} 
[2026-08-28 18:47:48] local.INFO: Extracted packet for processing {"connection_id":166320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04880"} 
[2026-08-28 18:47:48] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649184,"longitude_deg":75.6555968,"latitude_deg":11.9649184,"altitude":76,"angle":215,"satellites":47,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b3a0","is_valid_coordinates":true} 
[2026-08-28 18:47:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:47:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708233472001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:47:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16021078417604608,"note":"Value kept but may cause issues"} 
[2026-08-28 18:47:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027735552,"note":"Value kept but may cause issues"} 
[2026-08-28 18:47:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:47:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787922808000,"timestamp_ms":1787922808000,"timestamp_seconds":1787922808,"priority":1,"record_length":96,"hex_timestamp":"000001a04880fcc0"} 
[2026-08-28 18:47:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:47:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:47:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-28 18:47:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:47:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:47:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:47:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:47:48] local.INFO: Teltonika packet parsed successfully {"connection_id":166320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:47:48] local.INFO: Passing IMEI to GPS processor {"connection_id":166320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:47:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":166320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:47:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:47:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:47:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:47:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708233472001,"66":12678,"105":206,"83":41984,"24":0,"16":16021078417604608,"45":1738600593027735552},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:47:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:47:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:47:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708233472001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:47:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:47:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:47:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16021078417604608,"km_value":16021078417604.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:47:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027735552,"description":"Unknown IO ID 45"} 
[2026-08-28 18:47:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708233472001,"power":12678,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027735552}} 
[2026-08-28 18:47:48] local.INFO: DEBUG: GPS processor result {"connection_id":166320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709625,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:47:48] local.INFO: GPS data processed {"connection_id":166320,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:47:48] local.INFO: Acknowledgment sent {"connection_id":166320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:47:56] local.INFO: TCP Data received {"connection_id":163953,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163953,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:47:56] local.INFO: Processing buffer {"connection_id":163953,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:47:56] local.INFO: IMEI packet received {"connection_id":163953,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 18:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":163953,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:48:01] local.INFO: TCP Data received {"connection_id":163953,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163953,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:48:01] local.INFO: Processing buffer {"connection_id":163953,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:48:01] local.INFO: IMEI packet received {"connection_id":163953,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 18:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":163953,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:48:03] local.INFO: TCP Data received {"connection_id":163953,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04881bc28012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04881bc28012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:48:03] local.INFO: Processing buffer {"connection_id":163953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04881bc28012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:48:03] local.INFO: Packet analysis {"connection_id":163953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04881"} 
[2026-08-28 18:48:03] local.INFO: Extracted packet for processing {"connection_id":163953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04881"} 
[2026-08-28 18:48:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708174336001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:48:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787922857000,"timestamp_ms":1787922857000,"timestamp_seconds":1787922857,"priority":1,"record_length":96,"hex_timestamp":"000001a04881bc28"} 
[2026-08-28 18:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:48:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:48:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:48:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163953,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163953,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708174336001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708174336001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:48:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:48:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708174336001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":163953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709626,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:48:03] local.INFO: GPS data processed {"connection_id":163953,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:48:03] local.INFO: Acknowledgment sent {"connection_id":163953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:48:19] local.INFO: TCP Data received {"connection_id":166320,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048814ec8012d1820c00721b3a0004c00d72d..."} 
[2026-08-28 18:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048814ec8012d1820c00721b3a0004c00d72d..."} 
[2026-08-28 18:48:19] local.INFO: Processing buffer {"connection_id":166320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048814ec8012d1820c00721b3a0004c00d72d..."} 
[2026-08-28 18:48:19] local.INFO: Packet analysis {"connection_id":166320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04881"} 
[2026-08-28 18:48:19] local.INFO: Extracted packet for processing {"connection_id":166320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04881"} 
[2026-08-28 18:48:19] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649184,"longitude_deg":75.6555968,"latitude_deg":11.9649184,"altitude":76,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b3a0","is_valid_coordinates":true} 
[2026-08-28 18:48:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:48:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708238848001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:48:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16021078417604608,"note":"Value kept but may cause issues"} 
[2026-08-28 18:48:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027735552,"note":"Value kept but may cause issues"} 
[2026-08-28 18:48:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:48:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787922829000,"timestamp_ms":1787922829000,"timestamp_seconds":1787922829,"priority":1,"record_length":96,"hex_timestamp":"000001a048814ec8"} 
[2026-08-28 18:48:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:48:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:48:19] local.INFO: IO Element 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-28 18:48:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:48:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:48:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:48:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:48:19] local.INFO: Teltonika packet parsed successfully {"connection_id":166320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:48:19] local.INFO: Passing IMEI to GPS processor {"connection_id":166320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:48:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":166320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:48:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:48:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:48:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:48:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708238848001,"66":12667,"105":206,"83":41984,"24":0,"16":16021078417604608,"45":1738600593027735552},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:48:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:48:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:48:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708238848001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:48:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:48:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:48:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16021078417604608,"km_value":16021078417604.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:48:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027735552,"description":"Unknown IO ID 45"} 
[2026-08-28 18:48:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708238848001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027735552}} 
[2026-08-28 18:48:19] local.INFO: DEBUG: GPS processor result {"connection_id":166320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709627,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:48:19] local.INFO: GPS data processed {"connection_id":166320,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:48:19] local.INFO: Acknowledgment sent {"connection_id":166320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:48:30] local.INFO: TCP Data received {"connection_id":164954,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:48:30] local.INFO: Processing buffer {"connection_id":164954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:48:30] local.INFO: IMEI packet received {"connection_id":164954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 18:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":164954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:48:35] local.INFO: TCP Data received {"connection_id":164954,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:48:35] local.INFO: Processing buffer {"connection_id":164954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:48:35] local.INFO: IMEI packet received {"connection_id":164954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 18:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":164954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:48:35] local.INFO: TCP Data received {"connection_id":163953,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04881bc28012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04881bc28012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:48:35] local.INFO: Processing buffer {"connection_id":163953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04881bc28012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:48:35] local.INFO: Packet analysis {"connection_id":163953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04881"} 
[2026-08-28 18:48:35] local.INFO: Extracted packet for processing {"connection_id":163953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04881"} 
[2026-08-28 18:48:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708174336001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:48:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:48:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787922857000,"timestamp_ms":1787922857000,"timestamp_seconds":1787922857,"priority":1,"record_length":96,"hex_timestamp":"000001a04881bc28"} 
[2026-08-28 18:48:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:48:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:48:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:48:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:48:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163953,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163953,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:48:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708174336001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708174336001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:48:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:48:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:48:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708174336001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":163953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709628,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:48:36] local.INFO: GPS data processed {"connection_id":163953,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:48:36] local.INFO: Acknowledgment sent {"connection_id":163953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:48:37] local.INFO: TCP Data received {"connection_id":164954,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04883cb80012d34c14006aa4840000e00e62a..."} 
[2026-08-28 18:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04883cb80012d34c14006aa4840000e00e62a..."} 
[2026-08-28 18:48:37] local.INFO: Processing buffer {"connection_id":164954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04883cb80012d34c14006aa4840000e00e62a..."} 
[2026-08-28 18:48:37] local.INFO: Packet analysis {"connection_id":164954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04883"} 
[2026-08-28 18:48:37] local.INFO: Extracted packet for processing {"connection_id":164954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04883"} 
[2026-08-28 18:48:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708208896001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787922992000,"timestamp_ms":1787922992000,"timestamp_seconds":1787922992,"priority":1,"record_length":96,"hex_timestamp":"000001a04883cb80"} 
[2026-08-28 18:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 18:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708208896001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708208896001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:48:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:48:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:48: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-28 18:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708208896001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:48:37] 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":709629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:48:37] local.INFO: GPS data processed {"connection_id":164954,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:48:37] local.INFO: Acknowledgment sent {"connection_id":164954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:48:43] local.INFO: TCP Data received {"connection_id":164955,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164955,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:48:43] local.INFO: Processing buffer {"connection_id":164955,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:48:43] local.INFO: IMEI packet received {"connection_id":164955,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 18:48:43] local.INFO: IMEI acknowledgment sent {"connection_id":164955,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:48:47] local.INFO: TCP Data received {"connection_id":164955,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164955,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:48:47] local.INFO: Processing buffer {"connection_id":164955,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:48:47] local.INFO: IMEI packet received {"connection_id":164955,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:48:47] local.INFO: IMEI acknowledgment sent {"connection_id":164955,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:48:48] local.INFO: TCP Data received {"connection_id":164955,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a04881a0d0012d1820c00721b3a0004c00d72d..."} 
[2026-08-28 18:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04881a0d0012d1820c00721b3a0004c00d72d..."} 
[2026-08-28 18:48:48] local.INFO: Processing buffer {"connection_id":164955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04881a0d0012d1820c00721b3a0004c00d72d..."} 
[2026-08-28 18:48:48] local.INFO: Packet analysis {"connection_id":164955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04881"} 
[2026-08-28 18:48:48] local.INFO: Extracted packet for processing {"connection_id":164955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04881"} 
[2026-08-28 18:48:48] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649184,"longitude_deg":75.6555968,"latitude_deg":11.9649184,"altitude":76,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b3a0","is_valid_coordinates":true} 
[2026-08-28 18:48:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:48:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708244224001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:48:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16021078417604608,"note":"Value kept but may cause issues"} 
[2026-08-28 18:48:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027735552,"note":"Value kept but may cause issues"} 
[2026-08-28 18:48:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:48:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787922850000,"timestamp_ms":1787922850000,"timestamp_seconds":1787922850,"priority":1,"record_length":96,"hex_timestamp":"000001a04881a0d0"} 
[2026-08-28 18:48:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:48:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:48:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-28 18:48:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:48:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:48:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:48:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:48:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:48:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:48:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:48:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:48:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:48:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:48:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708244224001,"66":12504,"105":206,"83":41984,"24":0,"16":16021078417604608,"45":1738600593027735552},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:48:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:48:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:48:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708244224001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:48:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:48:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:48:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16021078417604608,"km_value":16021078417604.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:48:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027735552,"description":"Unknown IO ID 45"} 
[2026-08-28 18:48:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708244224001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027735552}} 
[2026-08-28 18:48:48] 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":709630,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:48:48] local.INFO: GPS data processed {"connection_id":164955,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:48:48] local.INFO: Acknowledgment sent {"connection_id":164955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:48:57] local.INFO: TCP Data received {"connection_id":163954,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163954,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:48:57] local.INFO: Processing buffer {"connection_id":163954,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:48:57] local.INFO: IMEI packet received {"connection_id":163954,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 18:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":163954,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:49:02] local.INFO: TCP Data received {"connection_id":163954,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163954,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:49:02] local.INFO: Processing buffer {"connection_id":163954,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:49:02] local.INFO: IMEI packet received {"connection_id":163954,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 18:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":163954,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:49:04] local.INFO: TCP Data received {"connection_id":163954,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04881bc28012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04881bc28012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:49:04] local.INFO: Processing buffer {"connection_id":163954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04881bc28012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:49:04] local.INFO: Packet analysis {"connection_id":163954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04881"} 
[2026-08-28 18:49:04] local.INFO: Extracted packet for processing {"connection_id":163954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04881"} 
[2026-08-28 18:49:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708174336001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:49:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787922857000,"timestamp_ms":1787922857000,"timestamp_seconds":1787922857,"priority":1,"record_length":96,"hex_timestamp":"000001a04881bc28"} 
[2026-08-28 18:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:49:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:49:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:49:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":163954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":163954,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":163954,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708174336001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708174336001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:49:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:49:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708174336001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":163954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709631,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:49:04] local.INFO: GPS data processed {"connection_id":163954,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:49:04] local.INFO: Acknowledgment sent {"connection_id":163954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:49:10] local.INFO: TCP Data received {"connection_id":164954,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04883cb80012d34c14006aa4840000e00e62a..."} 
[2026-08-28 18:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04883cb80012d34c14006aa4840000e00e62a..."} 
[2026-08-28 18:49:10] local.INFO: Processing buffer {"connection_id":164954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04883cb80012d34c14006aa4840000e00e62a..."} 
[2026-08-28 18:49:10] local.INFO: Packet analysis {"connection_id":164954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04883"} 
[2026-08-28 18:49:10] local.INFO: Extracted packet for processing {"connection_id":164954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04883"} 
[2026-08-28 18:49:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708208896001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:49:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787922992000,"timestamp_ms":1787922992000,"timestamp_seconds":1787922992,"priority":1,"record_length":96,"hex_timestamp":"000001a04883cb80"} 
[2026-08-28 18:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:49:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:49:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 18:49:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:49:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":164954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":164954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":164954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:49:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708208896001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708208896001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:49:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:49:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:49: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-28 18:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708208896001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:49:11] 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":709632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:49:11] local.INFO: GPS data processed {"connection_id":164954,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:49:11] local.INFO: Acknowledgment sent {"connection_id":164954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:49:19] local.INFO: TCP Data received {"connection_id":164955,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a04881f2d8012d1820c00721b3a0004c00d72d..."} 
[2026-08-28 18:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04881f2d8012d1820c00721b3a0004c00d72d..."} 
[2026-08-28 18:49:19] local.INFO: Processing buffer {"connection_id":164955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04881f2d8012d1820c00721b3a0004c00d72d..."} 
[2026-08-28 18:49:19] local.INFO: Packet analysis {"connection_id":164955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04881"} 
[2026-08-28 18:49:19] local.INFO: Extracted packet for processing {"connection_id":164955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04881"} 
[2026-08-28 18:49:19] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649184,"longitude_deg":75.6555968,"latitude_deg":11.9649184,"altitude":76,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d1820c0","hex_latitude":"0721b3a0","is_valid_coordinates":true} 
[2026-08-28 18:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:49:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708249600001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:49:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16021078417604608,"note":"Value kept but may cause issues"} 
[2026-08-28 18:49:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027735552,"note":"Value kept but may cause issues"} 
[2026-08-28 18:49:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:49:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787922871000,"timestamp_ms":1787922871000,"timestamp_seconds":1787922871,"priority":1,"record_length":96,"hex_timestamp":"000001a04881f2d8"} 
[2026-08-28 18:49:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:49:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-28 18:49:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:49:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:49:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:49:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:49:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:49:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:49:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:49:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:49:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:49:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:49:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708249600001,"66":12580,"105":206,"83":41984,"24":0,"16":16021078417604608,"45":1738600593027735552},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:49:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:49:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:49:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708249600001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:49:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:49:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:49:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16021078417604608,"km_value":16021078417604.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:49:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027735552,"description":"Unknown IO ID 45"} 
[2026-08-28 18:49:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708249600001,"power":12580,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027735552}} 
[2026-08-28 18:49:19] 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":709633,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:49:19] local.INFO: GPS data processed {"connection_id":164955,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:49:19] local.INFO: Acknowledgment sent {"connection_id":164955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:49:30] local.INFO: TCP Data received {"connection_id":166321,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:49:30] local.INFO: Processing buffer {"connection_id":166321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:49:30] local.INFO: IMEI packet received {"connection_id":166321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 18:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":166321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:49:35] local.INFO: TCP Data received {"connection_id":166321,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:49:35] local.INFO: Processing buffer {"connection_id":166321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:49:35] local.INFO: IMEI packet received {"connection_id":166321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 18:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":166321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:49:36] local.INFO: TCP Data received {"connection_id":163954,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04881bc28012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04881bc28012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:49:36] local.INFO: Processing buffer {"connection_id":163954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04881bc28012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:49:36] local.INFO: Packet analysis {"connection_id":163954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04881"} 
[2026-08-28 18:49:36] local.INFO: Extracted packet for processing {"connection_id":163954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04881"} 
[2026-08-28 18:49:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708174336001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787922857000,"timestamp_ms":1787922857000,"timestamp_seconds":1787922857,"priority":1,"record_length":96,"hex_timestamp":"000001a04881bc28"} 
[2026-08-28 18:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:49:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:49:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163954,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163954,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:49:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708174336001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708174336001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:49:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:49:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708174336001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":163954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709634,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:49:37] local.INFO: GPS data processed {"connection_id":163954,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:49:37] local.INFO: Acknowledgment sent {"connection_id":163954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:49:37] local.INFO: TCP Data received {"connection_id":166321,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04883cb80012d34c14006aa4840000e00e62a..."} 
[2026-08-28 18:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04883cb80012d34c14006aa4840000e00e62a..."} 
[2026-08-28 18:49:37] local.INFO: Processing buffer {"connection_id":166321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04883cb80012d34c14006aa4840000e00e62a..."} 
[2026-08-28 18:49:37] local.INFO: Packet analysis {"connection_id":166321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04883"} 
[2026-08-28 18:49:37] local.INFO: Extracted packet for processing {"connection_id":166321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04883"} 
[2026-08-28 18:49:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708208896001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787922992000,"timestamp_ms":1787922992000,"timestamp_seconds":1787922992,"priority":1,"record_length":96,"hex_timestamp":"000001a04883cb80"} 
[2026-08-28 18:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 18:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:49:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":166321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":166321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":166321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708208896001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708208896001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:49:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:49:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:49: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-28 18:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708208896001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":166321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:49:37] local.INFO: GPS data processed {"connection_id":166321,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:49:37] local.INFO: Acknowledgment sent {"connection_id":166321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:49:43] local.INFO: TCP Data received {"connection_id":164956,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164956,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:49:43] local.INFO: Processing buffer {"connection_id":164956,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:49:43] local.INFO: IMEI packet received {"connection_id":164956,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 18:49:43] local.INFO: IMEI acknowledgment sent {"connection_id":164956,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:49:48] local.INFO: TCP Data received {"connection_id":164956,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164956,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:49:48] local.INFO: Processing buffer {"connection_id":164956,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:49:48] local.INFO: IMEI packet received {"connection_id":164956,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":164956,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:49:48] local.INFO: TCP Data received {"connection_id":164956,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048857548012d181fc00721b178005000ca2e..."} 
[2026-08-28 18:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048857548012d181fc00721b178005000ca2e..."} 
[2026-08-28 18:49:48] local.INFO: Processing buffer {"connection_id":164956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048857548012d181fc00721b178005000ca2e..."} 
[2026-08-28 18:49:48] local.INFO: Packet analysis {"connection_id":164956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04885"} 
[2026-08-28 18:49:48] local.INFO: Extracted packet for processing {"connection_id":164956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04885"} 
[2026-08-28 18:49:48] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648632,"longitude_deg":75.6555712,"latitude_deg":11.9648632,"altitude":80,"angle":202,"satellites":46,"speed":1,"hex_longitude":"2d181fc0","hex_latitude":"0721b178","is_valid_coordinates":true} 
[2026-08-28 18: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-28 18:49:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708308736001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:49:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16021104187408384,"note":"Value kept but may cause issues"} 
[2026-08-28 18:49:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027735552,"note":"Value kept but may cause issues"} 
[2026-08-28 18:49:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:49:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787923101000,"timestamp_ms":1787923101000,"timestamp_seconds":1787923101,"priority":1,"record_length":96,"hex_timestamp":"000001a048857548"} 
[2026-08-28 18: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-28 18:49:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:49:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-28 18:49:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18: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-28 18: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-28 18:49:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:49:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:49:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:49:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:49:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:49:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:49:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:49:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708308736001,"66":12526,"105":206,"83":41984,"24":1,"16":16021104187408384,"45":1738600593027735552},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:49:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:49:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:49:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708308736001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:49:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:49:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:49:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16021104187408384,"km_value":16021104187408.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:49:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027735552,"description":"Unknown IO ID 45"} 
[2026-08-28 18:49:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708308736001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1738600593027735552}} 
[2026-08-28 18:49:48] 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":709636,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:49:48] local.INFO: GPS data processed {"connection_id":164956,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:49:48] local.INFO: Acknowledgment sent {"connection_id":164956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:49:56] local.INFO: TCP Data received {"connection_id":163681,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163681,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:49:56] local.INFO: Processing buffer {"connection_id":163681,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:49:56] local.INFO: IMEI packet received {"connection_id":163681,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 18:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":163681,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:49:56] local.INFO: TCP Data received {"connection_id":163681,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163681,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:49:56] local.INFO: Processing buffer {"connection_id":163681,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:49:56] local.INFO: IMEI packet received {"connection_id":163681,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 18:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":163681,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:50:01] local.INFO: TCP Data received {"connection_id":163681,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163681,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:50:01] local.INFO: Processing buffer {"connection_id":163681,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:50:01] local.INFO: IMEI packet received {"connection_id":163681,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 18:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":163681,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:50:03] local.INFO: TCP Data received {"connection_id":163681,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0488653f0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0488653f0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:50:03] local.INFO: Processing buffer {"connection_id":163681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0488653f0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:50:03] local.INFO: Packet analysis {"connection_id":163681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04886"} 
[2026-08-28 18:50:03] local.INFO: Extracted packet for processing {"connection_id":163681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04886"} 
[2026-08-28 18:50:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708251392001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:50:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787923158000,"timestamp_ms":1787923158000,"timestamp_seconds":1787923158,"priority":1,"record_length":96,"hex_timestamp":"000001a0488653f0"} 
[2026-08-28 18:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:50:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:50:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:50:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163681,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163681,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708251392001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708251392001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:50:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:50:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708251392001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:50:03] 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":709637,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:50:03] local.INFO: GPS data processed {"connection_id":163681,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:50:03] local.INFO: Acknowledgment sent {"connection_id":163681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:50:09] local.INFO: TCP Data received {"connection_id":166321,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04883cb80012d34c14006aa4840000e00e62a..."} 
[2026-08-28 18:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04883cb80012d34c14006aa4840000e00e62a..."} 
[2026-08-28 18:50:09] local.INFO: Processing buffer {"connection_id":166321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04883cb80012d34c14006aa4840000e00e62a..."} 
[2026-08-28 18:50:09] local.INFO: Packet analysis {"connection_id":166321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04883"} 
[2026-08-28 18:50:09] local.INFO: Extracted packet for processing {"connection_id":166321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04883"} 
[2026-08-28 18:50:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708208896001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:50:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787922992000,"timestamp_ms":1787922992000,"timestamp_seconds":1787922992,"priority":1,"record_length":96,"hex_timestamp":"000001a04883cb80"} 
[2026-08-28 18:50:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:50:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 18:50:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:50:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:50:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":166321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":166321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":166321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:50:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708208896001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708208896001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:50:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:50:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:50: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-28 18:50:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708208896001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":166321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:50:09] local.INFO: GPS data processed {"connection_id":166321,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:50:09] local.INFO: Acknowledgment sent {"connection_id":166321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:50:19] local.INFO: TCP Data received {"connection_id":164956,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a04885c750012d181fc00721b120005000cb2c..."} 
[2026-08-28 18:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04885c750012d181fc00721b120005000cb2c..."} 
[2026-08-28 18:50:19] local.INFO: Processing buffer {"connection_id":164956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04885c750012d181fc00721b120005000cb2c..."} 
[2026-08-28 18:50:19] local.INFO: Packet analysis {"connection_id":164956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04885"} 
[2026-08-28 18:50:19] local.INFO: Extracted packet for processing {"connection_id":164956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04885"} 
[2026-08-28 18:50:19] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648544,"longitude_deg":75.6555712,"latitude_deg":11.9648544,"altitude":80,"angle":203,"satellites":44,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b120","is_valid_coordinates":true} 
[2026-08-28 18:50:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:50:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708313856001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:50:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16021108482375680,"note":"Value kept but may cause issues"} 
[2026-08-28 18:50:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050883584,"note":"Value kept but may cause issues"} 
[2026-08-28 18:50:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:50:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787923122000,"timestamp_ms":1787923122000,"timestamp_seconds":1787923122,"priority":1,"record_length":96,"hex_timestamp":"000001a04885c750"} 
[2026-08-28 18:50:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:50:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:50:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-28 18:50:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:50:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:50:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:50:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:50:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:50:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:50:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:50:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:50:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:50:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:50:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708313856001,"66":12504,"105":206,"83":41984,"24":0,"16":16021108482375680,"45":1738319118050883584},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:50:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:50:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:50:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708313856001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:50:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:50:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:50:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16021108482375680,"km_value":16021108482375.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:50:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050883584,"description":"Unknown IO ID 45"} 
[2026-08-28 18:50:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708313856001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050883584}} 
[2026-08-28 18:50:19] 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":709639,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:50:19] local.INFO: GPS data processed {"connection_id":164956,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:50:19] local.INFO: Acknowledgment sent {"connection_id":164956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:50:30] local.INFO: TCP Data received {"connection_id":163682,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:50:30] local.INFO: Processing buffer {"connection_id":163682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:50:30] local.INFO: IMEI packet received {"connection_id":163682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 18:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":163682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:50:35] local.INFO: TCP Data received {"connection_id":163682,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:50:35] local.INFO: Processing buffer {"connection_id":163682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:50:35] local.INFO: IMEI packet received {"connection_id":163682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 18:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":163682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:50:36] local.INFO: TCP Data received {"connection_id":163681,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0488653f0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0488653f0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:50:36] local.INFO: Processing buffer {"connection_id":163681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0488653f0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:50:36] local.INFO: Packet analysis {"connection_id":163681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04886"} 
[2026-08-28 18:50:36] local.INFO: Extracted packet for processing {"connection_id":163681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04886"} 
[2026-08-28 18:50:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708251392001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:50:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787923158000,"timestamp_ms":1787923158000,"timestamp_seconds":1787923158,"priority":1,"record_length":96,"hex_timestamp":"000001a0488653f0"} 
[2026-08-28 18:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:50:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:50:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163681,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163681,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:50:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708251392001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708251392001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:50:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:50:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708251392001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:50:36] 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":709640,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:50:36] local.INFO: GPS data processed {"connection_id":163681,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:50:36] local.INFO: Acknowledgment sent {"connection_id":163681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:50:38] local.INFO: TCP Data received {"connection_id":163682,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04883cb80012d34c14006aa4840000e00e62a..."} 
[2026-08-28 18:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04883cb80012d34c14006aa4840000e00e62a..."} 
[2026-08-28 18:50:38] local.INFO: Processing buffer {"connection_id":163682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04883cb80012d34c14006aa4840000e00e62a..."} 
[2026-08-28 18:50:38] local.INFO: Packet analysis {"connection_id":163682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04883"} 
[2026-08-28 18:50:38] local.INFO: Extracted packet for processing {"connection_id":163682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04883"} 
[2026-08-28 18:50:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708208896001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787922992000,"timestamp_ms":1787922992000,"timestamp_seconds":1787922992,"priority":1,"record_length":96,"hex_timestamp":"000001a04883cb80"} 
[2026-08-28 18:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 18:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:50:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708208896001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708208896001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:50:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:50:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:50: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-28 18:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708208896001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":163682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:50:38] local.INFO: GPS data processed {"connection_id":163682,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:50:38] local.INFO: Acknowledgment sent {"connection_id":163682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:50:42] local.INFO: TCP Data received {"connection_id":164957,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164957,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:50:42] local.INFO: Processing buffer {"connection_id":164957,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:50:42] local.INFO: IMEI packet received {"connection_id":164957,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 18:50:42] local.INFO: IMEI acknowledgment sent {"connection_id":164957,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:50:44] local.INFO: TCP Data received {"connection_id":164957,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164957,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:50:44] local.INFO: Processing buffer {"connection_id":164957,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:50:44] local.INFO: IMEI packet received {"connection_id":164957,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:50:44] local.INFO: IMEI acknowledgment sent {"connection_id":164957,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:50:47] local.INFO: TCP Data received {"connection_id":164957,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164957,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:50:47] local.INFO: Processing buffer {"connection_id":164957,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:50:47] local.INFO: IMEI packet received {"connection_id":164957,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":164957,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:50:48] local.INFO: TCP Data received {"connection_id":164957,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048861958012d181fc00721b120005000cb2c..."} 
[2026-08-28 18:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048861958012d181fc00721b120005000cb2c..."} 
[2026-08-28 18:50:48] local.INFO: Processing buffer {"connection_id":164957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048861958012d181fc00721b120005000cb2c..."} 
[2026-08-28 18:50:48] local.INFO: Packet analysis {"connection_id":164957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04886"} 
[2026-08-28 18:50:48] local.INFO: Extracted packet for processing {"connection_id":164957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04886"} 
[2026-08-28 18:50:48] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648544,"longitude_deg":75.6555712,"latitude_deg":11.9648544,"altitude":80,"angle":203,"satellites":44,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b120","is_valid_coordinates":true} 
[2026-08-28 18:50:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:50:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708319232001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:50:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16021108482375680,"note":"Value kept but may cause issues"} 
[2026-08-28 18:50:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050861056,"note":"Value kept but may cause issues"} 
[2026-08-28 18:50:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:50:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787923143000,"timestamp_ms":1787923143000,"timestamp_seconds":1787923143,"priority":1,"record_length":96,"hex_timestamp":"000001a048861958"} 
[2026-08-28 18:50:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:50:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:50:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-28 18:50:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:50:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:50:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:50:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:50:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:50:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:50:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:50:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:50:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:50:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:50:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708319232001,"66":12526,"105":206,"83":41984,"24":0,"16":16021108482375680,"45":1738319118050861056},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:50:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:50:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:50:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708319232001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:50:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:50:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:50:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16021108482375680,"km_value":16021108482375.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:50:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050861056,"description":"Unknown IO ID 45"} 
[2026-08-28 18:50:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708319232001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050861056}} 
[2026-08-28 18:50:48] 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":709642,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:50:48] local.INFO: GPS data processed {"connection_id":164957,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:50:48] local.INFO: Acknowledgment sent {"connection_id":164957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:50:56] local.INFO: TCP Data received {"connection_id":163955,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163955,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:50:56] local.INFO: Processing buffer {"connection_id":163955,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:50:56] local.INFO: IMEI packet received {"connection_id":163955,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 18:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":163955,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:51:01] local.INFO: TCP Data received {"connection_id":163955,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163955,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:51:01] local.INFO: Processing buffer {"connection_id":163955,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:51:01] local.INFO: IMEI packet received {"connection_id":163955,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 18:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":163955,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:51:04] local.INFO: TCP Data received {"connection_id":163955,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0488653f0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0488653f0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:51:04] local.INFO: Processing buffer {"connection_id":163955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0488653f0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:51:04] local.INFO: Packet analysis {"connection_id":163955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04886"} 
[2026-08-28 18:51:04] local.INFO: Extracted packet for processing {"connection_id":163955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04886"} 
[2026-08-28 18:51:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708251392001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:51:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787923158000,"timestamp_ms":1787923158000,"timestamp_seconds":1787923158,"priority":1,"record_length":96,"hex_timestamp":"000001a0488653f0"} 
[2026-08-28 18:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:51:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:51:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:51:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":163955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":163955,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":163955,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:51:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708251392001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708251392001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:51:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:51:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708251392001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":163955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709643,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:51:04] local.INFO: GPS data processed {"connection_id":163955,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:51:04] local.INFO: Acknowledgment sent {"connection_id":163955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:51:12] local.INFO: TCP Data received {"connection_id":163682,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04883cb80012d34c14006aa4840000e00e62a..."} 
[2026-08-28 18:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04883cb80012d34c14006aa4840000e00e62a..."} 
[2026-08-28 18:51:12] local.INFO: Processing buffer {"connection_id":163682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04883cb80012d34c14006aa4840000e00e62a..."} 
[2026-08-28 18:51:12] local.INFO: Packet analysis {"connection_id":163682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04883"} 
[2026-08-28 18:51:12] local.INFO: Extracted packet for processing {"connection_id":163682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04883"} 
[2026-08-28 18:51:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708208896001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:51:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:51:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787922992000,"timestamp_ms":1787922992000,"timestamp_seconds":1787922992,"priority":1,"record_length":96,"hex_timestamp":"000001a04883cb80"} 
[2026-08-28 18:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:51: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-28 18:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 18:51:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:51:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":163682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":163682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":163682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:51:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708208896001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708208896001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:51:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:51:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:51: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-28 18:51:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708208896001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":163682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:51:12] local.INFO: GPS data processed {"connection_id":163682,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:51:12] local.INFO: Acknowledgment sent {"connection_id":163682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:51:21] local.INFO: TCP Data received {"connection_id":164957,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048866b60012d181fc00721b120005000cb27..."} 
[2026-08-28 18:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048866b60012d181fc00721b120005000cb27..."} 
[2026-08-28 18:51:21] local.INFO: Processing buffer {"connection_id":164957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048866b60012d181fc00721b120005000cb27..."} 
[2026-08-28 18:51:21] local.INFO: Packet analysis {"connection_id":164957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04886"} 
[2026-08-28 18:51:21] local.INFO: Extracted packet for processing {"connection_id":164957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04886"} 
[2026-08-28 18:51:21] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648544,"longitude_deg":75.6555712,"latitude_deg":11.9648544,"altitude":80,"angle":203,"satellites":39,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b120","is_valid_coordinates":true} 
[2026-08-28 18:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708324608001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16021108482375680,"note":"Value kept but may cause issues"} 
[2026-08-28 18:51:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050861056,"note":"Value kept but may cause issues"} 
[2026-08-28 18:51:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787923164000,"timestamp_ms":1787923164000,"timestamp_seconds":1787923164,"priority":1,"record_length":96,"hex_timestamp":"000001a048866b60"} 
[2026-08-28 18:51:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:51:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-28 18:51:21] 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-28 18:51:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:51:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":164957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":164957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":164957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:51:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708324608001,"66":12504,"105":206,"83":41984,"24":0,"16":16021108482375680,"45":1738319118050861056},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708324608001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:51:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:51:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16021108482375680,"km_value":16021108482375.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:51:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050861056,"description":"Unknown IO ID 45"} 
[2026-08-28 18:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708324608001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050861056}} 
[2026-08-28 18:51:21] 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":709645,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:51:21] local.INFO: GPS data processed {"connection_id":164957,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:51:21] local.INFO: Acknowledgment sent {"connection_id":164957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:51:36] local.INFO: TCP Data received {"connection_id":163956,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:51:36] local.INFO: Processing buffer {"connection_id":163956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:51:36] local.INFO: IMEI packet received {"connection_id":163956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 18:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":163956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:51:38] local.INFO: TCP Data received {"connection_id":163955,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0488653f0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0488653f0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:51:38] local.INFO: Processing buffer {"connection_id":163955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0488653f0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:51:38] local.INFO: Packet analysis {"connection_id":163955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04886"} 
[2026-08-28 18:51:38] local.INFO: Extracted packet for processing {"connection_id":163955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04886"} 
[2026-08-28 18:51:38] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708251392001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:51:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787923158000,"timestamp_ms":1787923158000,"timestamp_seconds":1787923158,"priority":1,"record_length":96,"hex_timestamp":"000001a0488653f0"} 
[2026-08-28 18:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:51:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:51:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163955,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163955,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:51:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708251392001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708251392001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:51:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:51:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708251392001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":163955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709646,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:51:38] local.INFO: GPS data processed {"connection_id":163955,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:51:38] local.INFO: Acknowledgment sent {"connection_id":163955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:51:40] local.INFO: TCP Data received {"connection_id":163956,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:51:40] local.INFO: Processing buffer {"connection_id":163956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:51:40] local.INFO: IMEI packet received {"connection_id":163956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 18:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":163956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:51:42] local.INFO: TCP Data received {"connection_id":163956,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04883cb80012d34c14006aa4840000e00e62a..."} 
[2026-08-28 18:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04883cb80012d34c14006aa4840000e00e62a..."} 
[2026-08-28 18:51:42] local.INFO: Processing buffer {"connection_id":163956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04883cb80012d34c14006aa4840000e00e62a..."} 
[2026-08-28 18:51:42] local.INFO: Packet analysis {"connection_id":163956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04883"} 
[2026-08-28 18:51:42] local.INFO: Extracted packet for processing {"connection_id":163956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04883"} 
[2026-08-28 18:51:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18: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-28 18:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708208896001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:51:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:51:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787922992000,"timestamp_ms":1787922992000,"timestamp_seconds":1787922992,"priority":1,"record_length":96,"hex_timestamp":"000001a04883cb80"} 
[2026-08-28 18: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-28 18: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-28 18: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-28 18: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-28 18: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-28 18: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-28 18:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:51:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708208896001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708208896001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:51:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:51:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18: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-28 18:51:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708208896001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":163956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:51:42] local.INFO: GPS data processed {"connection_id":163956,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:51:42] local.INFO: Acknowledgment sent {"connection_id":163956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:51:47] local.INFO: TCP Data received {"connection_id":164958,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164958,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:51:47] local.INFO: Processing buffer {"connection_id":164958,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:51:47] local.INFO: IMEI packet received {"connection_id":164958,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 18:51:47] local.INFO: IMEI acknowledgment sent {"connection_id":164958,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:51:47] local.INFO: TCP Data received {"connection_id":164958,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164958,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:51:47] local.INFO: Processing buffer {"connection_id":164958,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:51:47] local.INFO: IMEI packet received {"connection_id":164958,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:51:47] local.INFO: IMEI acknowledgment sent {"connection_id":164958,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:51:50] local.INFO: TCP Data received {"connection_id":163956,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04883cb80012d34c14006aa4840000e00e62a..."} 
[2026-08-28 18:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04883cb80012d34c14006aa4840000e00e62a..."} 
[2026-08-28 18:51:50] local.INFO: Processing buffer {"connection_id":163956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04883cb80012d34c14006aa4840000e00e62a..."} 
[2026-08-28 18:51:50] local.INFO: Packet analysis {"connection_id":163956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04883"} 
[2026-08-28 18:51:50] local.INFO: Extracted packet for processing {"connection_id":163956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04883"} 
[2026-08-28 18:51:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18: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-28 18:51:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708208896001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:51:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:51:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:51:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:51:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787922992000,"timestamp_ms":1787922992000,"timestamp_seconds":1787922992,"priority":1,"record_length":96,"hex_timestamp":"000001a04883cb80"} 
[2026-08-28 18: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-28 18:51:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18: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":31,"data_length":795,"current_offset":136} 
[2026-08-28 18:51:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18: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-28 18: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-28 18:51:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:51:50] local.INFO: Teltonika packet parsed successfully {"connection_id":163956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:51:50] local.INFO: Passing IMEI to GPS processor {"connection_id":163956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:51:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":163956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:51:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:51:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:51:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:51:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708208896001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:51:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:51:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:51:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708208896001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:51:50] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:51:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18: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-28 18:51:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:51:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708208896001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:51:50] local.INFO: DEBUG: GPS processor result {"connection_id":163956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:51:50] local.INFO: GPS data processed {"connection_id":163956,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:51:50] local.INFO: Acknowledgment sent {"connection_id":163956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:51:53] local.INFO: TCP Data received {"connection_id":164958,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164958,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:51:53] local.INFO: Processing buffer {"connection_id":164958,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:51:53] local.INFO: IMEI packet received {"connection_id":164958,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":164958,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:51:53] local.INFO: TCP Data received {"connection_id":164958,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a04886bd68012d181fc00721b120005000cb2c..."} 
[2026-08-28 18:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04886bd68012d181fc00721b120005000cb2c..."} 
[2026-08-28 18:51:53] local.INFO: Processing buffer {"connection_id":164958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04886bd68012d181fc00721b120005000cb2c..."} 
[2026-08-28 18:51:53] local.INFO: Packet analysis {"connection_id":164958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04886"} 
[2026-08-28 18:51:53] local.INFO: Extracted packet for processing {"connection_id":164958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04886"} 
[2026-08-28 18:51:53] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648544,"longitude_deg":75.6555712,"latitude_deg":11.9648544,"altitude":80,"angle":203,"satellites":44,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b120","is_valid_coordinates":true} 
[2026-08-28 18: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-28 18:51:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708329984001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:51:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16021108482375680,"note":"Value kept but may cause issues"} 
[2026-08-28 18:51:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050861056,"note":"Value kept but may cause issues"} 
[2026-08-28 18:51: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-28 18:51:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787923185000,"timestamp_ms":1787923185000,"timestamp_seconds":1787923185,"priority":1,"record_length":96,"hex_timestamp":"000001a04886bd68"} 
[2026-08-28 18: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-28 18:51:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-28 18:51:53] 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-28 18: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-28 18: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-28 18:51:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:51:53] local.INFO: Teltonika packet parsed successfully {"connection_id":164958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:51:53] local.INFO: Passing IMEI to GPS processor {"connection_id":164958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:51:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":164958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:51:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:51:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:51:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:51:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708329984001,"66":12504,"105":206,"83":41984,"24":0,"16":16021108482375680,"45":1738319118050861056},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:51:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:51:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:51:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708329984001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:51:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:51:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:51:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16021108482375680,"km_value":16021108482375.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:51:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050861056,"description":"Unknown IO ID 45"} 
[2026-08-28 18:51:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708329984001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050861056}} 
[2026-08-28 18:51:54] 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":709649,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:51:54] local.INFO: GPS data processed {"connection_id":164958,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:51:54] local.INFO: Acknowledgment sent {"connection_id":164958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:51:56] local.INFO: TCP Data received {"connection_id":166322,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166322,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:51:56] local.INFO: Processing buffer {"connection_id":166322,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:51:56] local.INFO: IMEI packet received {"connection_id":166322,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 18:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":166322,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:51:58] local.INFO: TCP Data received {"connection_id":164958,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048870f70012d181fc00721b120005000cb2c..."} 
[2026-08-28 18:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048870f70012d181fc00721b120005000cb2c..."} 
[2026-08-28 18:51:58] local.INFO: Processing buffer {"connection_id":164958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048870f70012d181fc00721b120005000cb2c..."} 
[2026-08-28 18:51:58] local.INFO: Packet analysis {"connection_id":164958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04887"} 
[2026-08-28 18:51:58] local.INFO: Extracted packet for processing {"connection_id":164958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04887"} 
[2026-08-28 18:51:58] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648544,"longitude_deg":75.6555712,"latitude_deg":11.9648544,"altitude":80,"angle":203,"satellites":44,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b120","is_valid_coordinates":true} 
[2026-08-28 18:51:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:51:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708335360001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:51:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16021108482375680,"note":"Value kept but may cause issues"} 
[2026-08-28 18:51:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050861056,"note":"Value kept but may cause issues"} 
[2026-08-28 18:51:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:51:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787923206000,"timestamp_ms":1787923206000,"timestamp_seconds":1787923206,"priority":1,"record_length":96,"hex_timestamp":"000001a048870f70"} 
[2026-08-28 18:51:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:51:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:51:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-28 18:51:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:51:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:51:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:51:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:51:58] local.INFO: Teltonika packet parsed successfully {"connection_id":164958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:51:58] local.INFO: Passing IMEI to GPS processor {"connection_id":164958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:51:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":164958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:51:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:51:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:51:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:51:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708335360001,"66":12461,"105":206,"83":41984,"24":0,"16":16021108482375680,"45":1738319118050861056},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:51:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:51:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:51:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708335360001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:51:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:51:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:51:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16021108482375680,"km_value":16021108482375.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:51:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050861056,"description":"Unknown IO ID 45"} 
[2026-08-28 18:51:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708335360001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050861056}} 
[2026-08-28 18:51:58] 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":709650,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:51:58] local.INFO: GPS data processed {"connection_id":164958,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:51:58] local.INFO: Acknowledgment sent {"connection_id":164958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:52:01] local.INFO: TCP Data received {"connection_id":166322,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166322,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:52:01] local.INFO: Processing buffer {"connection_id":166322,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:52:01] local.INFO: IMEI packet received {"connection_id":166322,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 18:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":166322,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:52:03] local.INFO: TCP Data received {"connection_id":166322,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0488653f0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0488653f0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:52:03] local.INFO: Processing buffer {"connection_id":166322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0488653f0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:52:03] local.INFO: Packet analysis {"connection_id":166322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04886"} 
[2026-08-28 18:52:03] local.INFO: Extracted packet for processing {"connection_id":166322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04886"} 
[2026-08-28 18:52:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708251392001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:52:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787923158000,"timestamp_ms":1787923158000,"timestamp_seconds":1787923158,"priority":1,"record_length":96,"hex_timestamp":"000001a0488653f0"} 
[2026-08-28 18:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:52:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:52:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:52:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":166322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":166322,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":166322,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:52:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708251392001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708251392001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:52:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:52:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708251392001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":166322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709651,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:52:03] local.INFO: GPS data processed {"connection_id":166322,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:52:03] local.INFO: Acknowledgment sent {"connection_id":166322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:52:30] local.INFO: TCP Data received {"connection_id":163683,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:52:30] local.INFO: Processing buffer {"connection_id":163683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:52:30] local.INFO: IMEI packet received {"connection_id":163683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 18:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":163683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:52:35] local.INFO: TCP Data received {"connection_id":163683,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:52:35] local.INFO: Processing buffer {"connection_id":163683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:52:35] local.INFO: IMEI packet received {"connection_id":163683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 18:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":163683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:52:35] local.INFO: TCP Data received {"connection_id":166322,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0488653f0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0488653f0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:52:35] local.INFO: Processing buffer {"connection_id":166322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0488653f0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:52:35] local.INFO: Packet analysis {"connection_id":166322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04886"} 
[2026-08-28 18:52:35] local.INFO: Extracted packet for processing {"connection_id":166322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04886"} 
[2026-08-28 18:52:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708251392001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:52:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:52:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787923158000,"timestamp_ms":1787923158000,"timestamp_seconds":1787923158,"priority":1,"record_length":96,"hex_timestamp":"000001a0488653f0"} 
[2026-08-28 18:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:52:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:52:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:52:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":166322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":166322,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":166322,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:52:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708251392001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708251392001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:52:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:52:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:52:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708251392001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":166322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709652,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:52:36] local.INFO: GPS data processed {"connection_id":166322,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:52:36] local.INFO: Acknowledgment sent {"connection_id":166322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:52:38] local.INFO: TCP Data received {"connection_id":163683,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048886348012d34c14006aa4840000c00e629..."} 
[2026-08-28 18:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048886348012d34c14006aa4840000c00e629..."} 
[2026-08-28 18:52:38] local.INFO: Processing buffer {"connection_id":163683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048886348012d34c14006aa4840000c00e629..."} 
[2026-08-28 18:52:38] local.INFO: Packet analysis {"connection_id":163683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04888"} 
[2026-08-28 18:52:38] local.INFO: Extracted packet for processing {"connection_id":163683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04888"} 
[2026-08-28 18:52:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708285952001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787923293000,"timestamp_ms":1787923293000,"timestamp_seconds":1787923293,"priority":1,"record_length":96,"hex_timestamp":"000001a048886348"} 
[2026-08-28 18:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 18:52:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708285952001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708285952001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:52:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:52:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:52: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-28 18:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708285952001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":163683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:52:38] local.INFO: GPS data processed {"connection_id":163683,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:52:38] local.INFO: Acknowledgment sent {"connection_id":163683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:52:41] local.INFO: TCP Data received {"connection_id":163683,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048886348012d34c14006aa4840000c00e629..."} 
[2026-08-28 18:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048886348012d34c14006aa4840000c00e629..."} 
[2026-08-28 18:52:41] local.INFO: Processing buffer {"connection_id":163683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048886348012d34c14006aa4840000c00e629..."} 
[2026-08-28 18:52:41] local.INFO: Packet analysis {"connection_id":163683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04888"} 
[2026-08-28 18:52:41] local.INFO: Extracted packet for processing {"connection_id":163683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04888"} 
[2026-08-28 18:52:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18: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-28 18:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708285952001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:52:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:52:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787923293000,"timestamp_ms":1787923293000,"timestamp_seconds":1787923293,"priority":1,"record_length":96,"hex_timestamp":"000001a048886348"} 
[2026-08-28 18: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-28 18:52: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-28 18: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 18:52: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-28 18: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-28 18: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-28 18:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":163683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":163683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":163683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:52:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708285952001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708285952001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:52:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:52:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18: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-28 18:52:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708285952001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":163683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:52:41] local.INFO: GPS data processed {"connection_id":163683,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:52:41] local.INFO: Acknowledgment sent {"connection_id":163683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:52:44] local.INFO: TCP Data received {"connection_id":166323,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166323,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:52:44] local.INFO: Processing buffer {"connection_id":166323,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:52:44] local.INFO: IMEI packet received {"connection_id":166323,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 18:52:44] local.INFO: IMEI acknowledgment sent {"connection_id":166323,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:52:48] local.INFO: TCP Data received {"connection_id":166323,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166323,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:52:48] local.INFO: Processing buffer {"connection_id":166323,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:52:48] local.INFO: IMEI packet received {"connection_id":166323,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":166323,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:52:49] local.INFO: TCP Data received {"connection_id":166323,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048876178012d181fc00721b120005000cb2a..."} 
[2026-08-28 18:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048876178012d181fc00721b120005000cb2a..."} 
[2026-08-28 18:52:49] local.INFO: Processing buffer {"connection_id":166323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048876178012d181fc00721b120005000cb2a..."} 
[2026-08-28 18:52:49] local.INFO: Packet analysis {"connection_id":166323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04887"} 
[2026-08-28 18:52:49] local.INFO: Extracted packet for processing {"connection_id":166323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04887"} 
[2026-08-28 18:52:49] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648544,"longitude_deg":75.6555712,"latitude_deg":11.9648544,"altitude":80,"angle":203,"satellites":42,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b120","is_valid_coordinates":true} 
[2026-08-28 18: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-28 18:52:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708340736001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:52:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16021108482375680,"note":"Value kept but may cause issues"} 
[2026-08-28 18:52:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050861056,"note":"Value kept but may cause issues"} 
[2026-08-28 18:52:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:52:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787923227000,"timestamp_ms":1787923227000,"timestamp_seconds":1787923227,"priority":1,"record_length":96,"hex_timestamp":"000001a048876178"} 
[2026-08-28 18: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-28 18:52:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 18:52:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18: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-28 18: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-28 18:52:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:52:49] local.INFO: Teltonika packet parsed successfully {"connection_id":166323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:52:49] local.INFO: Passing IMEI to GPS processor {"connection_id":166323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:52:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":166323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:52:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:52:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:52:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:52:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708340736001,"66":12298,"105":206,"83":41984,"24":0,"16":16021108482375680,"45":1738319118050861056},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:52:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:52:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:52:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708340736001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:52:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:52:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:52:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16021108482375680,"km_value":16021108482375.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:52:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050861056,"description":"Unknown IO ID 45"} 
[2026-08-28 18:52:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708340736001,"power":12298,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050861056}} 
[2026-08-28 18:52:49] local.INFO: DEBUG: GPS processor result {"connection_id":166323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709655,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:52:49] local.INFO: GPS data processed {"connection_id":166323,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:52:49] local.INFO: Acknowledgment sent {"connection_id":166323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:52:50] local.INFO: TCP Data received {"connection_id":166323,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a04887b380012d181fc00721b120005000cb2c..."} 
[2026-08-28 18:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04887b380012d181fc00721b120005000cb2c..."} 
[2026-08-28 18:52:50] local.INFO: Processing buffer {"connection_id":166323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04887b380012d181fc00721b120005000cb2c..."} 
[2026-08-28 18:52:50] local.INFO: Packet analysis {"connection_id":166323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04887"} 
[2026-08-28 18:52:50] local.INFO: Extracted packet for processing {"connection_id":166323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04887"} 
[2026-08-28 18:52:50] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648544,"longitude_deg":75.6555712,"latitude_deg":11.9648544,"altitude":80,"angle":203,"satellites":44,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b120","is_valid_coordinates":true} 
[2026-08-28 18:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:52:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708346112001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:52:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16021108482375680,"note":"Value kept but may cause issues"} 
[2026-08-28 18:52:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050861056,"note":"Value kept but may cause issues"} 
[2026-08-28 18:52: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-28 18:52:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787923248000,"timestamp_ms":1787923248000,"timestamp_seconds":1787923248,"priority":1,"record_length":96,"hex_timestamp":"000001a04887b380"} 
[2026-08-28 18:52:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:52:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-28 18:52:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-28 18:52:50] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263193525760,"note":"Value kept but may cause issues"} 
[2026-08-28 18:52:50] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185656,"note":"Value kept but may cause issues"} 
[2026-08-28 18:52:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-28 18:52:50] local.WARNING: Large IO value detected {"io_id":235,"raw_value":2017612633061982209,"note":"Value kept but may cause issues"} 
[2026-08-28 18:52:50] local.WARNING: Large IO value detected {"io_id":160,"raw_value":5225625995405236256,"note":"Value kept but may cause issues"} 
[2026-08-28 18:52:50] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513889332278067415,"note":"Value kept but may cause issues"} 
[2026-08-28 18:52:50] local.WARNING: Large IO value detected {"io_id":80,"raw_value":56908522847207424,"note":"Value kept but may cause issues"} 
[2026-08-28 18:52:50] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832599,"note":"Value kept but may cause issues"} 
[2026-08-28 18:52:50] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3525756440531239118,"note":"Value kept but may cause issues"} 
[2026-08-28 18:52:50] local.WARNING: Large IO value detected {"io_id":72,"raw_value":2249807873,"note":"Value kept but may cause issues"} 
[2026-08-28 18:52:50] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2971664464,"note":"Value kept but may cause issues"} 
[2026-08-28 18:52:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-28 18:52:50] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3221692849,"note":"Value kept but may cause issues"} 
[2026-08-28 18:52:50] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3623931242,"note":"Value kept but may cause issues"} 
[2026-08-28 18:52:50] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3944546304,"note":"Value kept but may cause issues"} 
[2026-08-28 18:52:50] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,235,160,15,45,192,177,80,44,10,66,189,107,1,240,216,227,72,33,4,113,205,199,31,32,239,48,2,56,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-28 18:52:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5764830904283299840,"timestamp_seconds":5764830904283300.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 18:52:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:52:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:52:50] local.INFO: Teltonika packet parsed successfully {"connection_id":166323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:52:50] local.INFO: Passing IMEI to GPS processor {"connection_id":166323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:52:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":166323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:52:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:52:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:52:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:52:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708346112001,"66":13537,"105":206,"83":41984,"24":0,"16":16021108482375680,"45":1738319118050861056},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:52:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:52:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:52:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708346112001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:52:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:52:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:52:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16021108482375680,"km_value":16021108482375.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:52:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050861056,"description":"Unknown IO ID 45"} 
[2026-08-28 18:52:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708346112001,"power":13537,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050861056}} 
[2026-08-28 18:52:50] local.INFO: DEBUG: GPS processor result {"connection_id":166323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709656,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:52:50] local.INFO: GPS data processed {"connection_id":166323,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:52:50] local.INFO: Acknowledgment sent {"connection_id":166323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:52:56] local.INFO: TCP Data received {"connection_id":164959,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164959,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:52:56] local.INFO: Processing buffer {"connection_id":164959,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:52:56] local.INFO: IMEI packet received {"connection_id":164959,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 18:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":164959,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:53:01] local.INFO: TCP Data received {"connection_id":164959,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164959,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:53:01] local.INFO: Processing buffer {"connection_id":164959,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:53:01] local.INFO: IMEI packet received {"connection_id":164959,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 18:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":164959,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:53:03] local.INFO: TCP Data received {"connection_id":164959,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0488653f0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0488653f0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:53:03] local.INFO: Processing buffer {"connection_id":164959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0488653f0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:53:03] local.INFO: Packet analysis {"connection_id":164959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04886"} 
[2026-08-28 18:53:03] local.INFO: Extracted packet for processing {"connection_id":164959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04886"} 
[2026-08-28 18:53:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708251392001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787923158000,"timestamp_ms":1787923158000,"timestamp_seconds":1787923158,"priority":1,"record_length":96,"hex_timestamp":"000001a0488653f0"} 
[2026-08-28 18:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:53:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:53:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:53:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":164959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":164959,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":164959,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708251392001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708251392001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:53:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:53:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708251392001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:53:03] 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":709657,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:53:03] local.INFO: GPS data processed {"connection_id":164959,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:53:03] local.INFO: Acknowledgment sent {"connection_id":164959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:53:14] local.INFO: TCP Data received {"connection_id":163683,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048886348012d34c14006aa4840000c00e629..."} 
[2026-08-28 18:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048886348012d34c14006aa4840000c00e629..."} 
[2026-08-28 18:53:14] local.INFO: Processing buffer {"connection_id":163683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048886348012d34c14006aa4840000c00e629..."} 
[2026-08-28 18:53:14] local.INFO: Packet analysis {"connection_id":163683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04888"} 
[2026-08-28 18:53:14] local.INFO: Extracted packet for processing {"connection_id":163683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04888"} 
[2026-08-28 18:53:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 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-28 18:53:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708285952001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:53:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:53:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:53:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:53:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787923293000,"timestamp_ms":1787923293000,"timestamp_seconds":1787923293,"priority":1,"record_length":96,"hex_timestamp":"000001a048886348"} 
[2026-08-28 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-28 18: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-28 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":31,"data_length":795,"current_offset":136} 
[2026-08-28 18:53: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-28 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-28 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-28 18:53:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:53:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:53:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:53:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:53:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:53:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:53:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:53:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708285952001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:53:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:53:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:53:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708285952001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:53:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:53:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 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-28 18:53:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:53:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708285952001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:53:14] local.INFO: DEBUG: GPS processor result {"connection_id":163683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:53:14] local.INFO: GPS data processed {"connection_id":163683,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:53:14] local.INFO: Acknowledgment sent {"connection_id":163683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:53:21] local.INFO: TCP Data received {"connection_id":166323,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048893638012d188f0007217e50004e007229..."} 
[2026-08-28 18:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048893638012d188f0007217e50004e007229..."} 
[2026-08-28 18:53:21] local.INFO: Processing buffer {"connection_id":166323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048893638012d188f0007217e50004e007229..."} 
[2026-08-28 18:53:21] local.INFO: Packet analysis {"connection_id":166323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04889"} 
[2026-08-28 18:53:21] local.INFO: Extracted packet for processing {"connection_id":166323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04889"} 
[2026-08-28 18:53:21] local.INFO: GPS Element Parsed {"raw_longitude":756584192,"raw_latitude":119635536,"longitude_deg":75.6584192,"latitude_deg":11.9635536,"altitude":78,"angle":114,"satellites":41,"speed":39,"hex_longitude":"2d188f00","hex_latitude":"07217e50","is_valid_coordinates":true} 
[2026-08-28 18:53:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:53:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708376064001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:53:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16022723390078976,"note":"Value kept but may cause issues"} 
[2026-08-28 18:53:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766536984463022080,"note":"Value kept but may cause issues"} 
[2026-08-28 18:53:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:53:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787923347000,"timestamp_ms":1787923347000,"timestamp_seconds":1787923347,"priority":1,"record_length":96,"hex_timestamp":"000001a048893638"} 
[2026-08-28 18:53:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:53:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:53:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-08-28 18:53:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:53:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:53:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:53:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:53:21] local.INFO: Teltonika packet parsed successfully {"connection_id":166323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:53:21] local.INFO: Passing IMEI to GPS processor {"connection_id":166323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:53:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":166323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:53:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:53:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:53:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:53:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708376064001,"66":13733,"105":206,"83":41984,"24":39,"16":16022723390078976,"45":1766536984463022080},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-28 18:53:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:53:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:53:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708376064001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:53:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 18:53:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:53:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16022723390078976,"km_value":16022723390078.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:53:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766536984463022080,"description":"Unknown IO ID 45"} 
[2026-08-28 18:53:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708376064001,"power":13733,"unknown_105":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1766536984463022080}} 
[2026-08-28 18:53:21] local.INFO: DEBUG: GPS processor result {"connection_id":166323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709659,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:53:21] local.INFO: GPS data processed {"connection_id":166323,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:53:21] local.INFO: Acknowledgment sent {"connection_id":166323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:53:30] local.INFO: TCP Data received {"connection_id":164960,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:53:30] local.INFO: Processing buffer {"connection_id":164960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:53:30] local.INFO: IMEI packet received {"connection_id":164960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 18:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":164960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:53:35] local.INFO: TCP Data received {"connection_id":164959,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0488653f0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0488653f0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:53:35] local.INFO: Processing buffer {"connection_id":164959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0488653f0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:53:35] local.INFO: Packet analysis {"connection_id":164959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04886"} 
[2026-08-28 18:53:35] local.INFO: Extracted packet for processing {"connection_id":164959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04886"} 
[2026-08-28 18:53:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:53:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708251392001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:53:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:53:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:53:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:53:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787923158000,"timestamp_ms":1787923158000,"timestamp_seconds":1787923158,"priority":1,"record_length":96,"hex_timestamp":"000001a0488653f0"} 
[2026-08-28 18:53:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:53:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:53:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:53:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:53:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:53:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:53:35] local.INFO: Teltonika packet parsed successfully {"connection_id":164959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:53:35] local.INFO: Passing IMEI to GPS processor {"connection_id":164959,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:53:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":164959,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:53:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:53:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:53:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:53:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708251392001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:53:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:53:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:53:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708251392001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:53:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:53:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:53:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:53:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:53:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708251392001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:53:35] 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":709660,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:53:35] local.INFO: GPS data processed {"connection_id":164959,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:53:35] local.INFO: Acknowledgment sent {"connection_id":164959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:53:35] local.INFO: TCP Data received {"connection_id":164960,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:53:35] local.INFO: Processing buffer {"connection_id":164960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:53:35] local.INFO: IMEI packet received {"connection_id":164960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 18:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":164960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:53:38] local.INFO: TCP Data received {"connection_id":164960,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048886348012d34c14006aa4840000c00e629..."} 
[2026-08-28 18:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048886348012d34c14006aa4840000c00e629..."} 
[2026-08-28 18:53:38] local.INFO: Processing buffer {"connection_id":164960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048886348012d34c14006aa4840000c00e629..."} 
[2026-08-28 18:53:38] local.INFO: Packet analysis {"connection_id":164960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04888"} 
[2026-08-28 18:53:38] local.INFO: Extracted packet for processing {"connection_id":164960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04888"} 
[2026-08-28 18:53:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708285952001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787923293000,"timestamp_ms":1787923293000,"timestamp_seconds":1787923293,"priority":1,"record_length":96,"hex_timestamp":"000001a048886348"} 
[2026-08-28 18:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 18:53:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:53:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708285952001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708285952001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:53:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:53:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:53: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-28 18:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708285952001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:53:38] 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":709661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:53:38] local.INFO: GPS data processed {"connection_id":164960,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:53:38] local.INFO: Acknowledgment sent {"connection_id":164960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:53:40] local.INFO: TCP Data received {"connection_id":163957,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163957,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:53:40] local.INFO: Processing buffer {"connection_id":163957,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:53:40] local.INFO: IMEI packet received {"connection_id":163957,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 18:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":163957,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:53:43] local.INFO: TCP Data received {"connection_id":163957,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163957,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:53:43] local.INFO: Processing buffer {"connection_id":163957,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:53:43] local.INFO: IMEI packet received {"connection_id":163957,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:53:43] local.INFO: IMEI acknowledgment sent {"connection_id":163957,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:53:48] local.INFO: TCP Data received {"connection_id":163957,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163957,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:53:48] local.INFO: Processing buffer {"connection_id":163957,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:53:48] local.INFO: IMEI packet received {"connection_id":163957,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":163957,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:53:49] local.INFO: TCP Data received {"connection_id":163957,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048895960012d18ac8007217160004c00822a..."} 
[2026-08-28 18:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048895960012d18ac8007217160004c00822a..."} 
[2026-08-28 18:53:49] local.INFO: Processing buffer {"connection_id":163957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048895960012d18ac8007217160004c00822a..."} 
[2026-08-28 18:53:49] local.INFO: Packet analysis {"connection_id":163957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04889"} 
[2026-08-28 18:53:49] local.INFO: Extracted packet for processing {"connection_id":163957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04889"} 
[2026-08-28 18:53:49] local.INFO: GPS Element Parsed {"raw_longitude":756591744,"raw_latitude":119632224,"longitude_deg":75.6591744,"latitude_deg":11.9632224,"altitude":76,"angle":130,"satellites":42,"speed":32,"hex_longitude":"2d18ac80","hex_latitude":"07217160","is_valid_coordinates":true} 
[2026-08-28 18:53: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-28 18:53:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708376832001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:53:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16023118527070208,"note":"Value kept but may cause issues"} 
[2026-08-28 18:53:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1769633209206591488,"note":"Value kept but may cause issues"} 
[2026-08-28 18:53:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:53:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787923356000,"timestamp_ms":1787923356000,"timestamp_seconds":1787923356,"priority":1,"record_length":96,"hex_timestamp":"000001a048895960"} 
[2026-08-28 18:53:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:53:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:53:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":165,"data_length":795,"current_offset":136} 
[2026-08-28 18:53:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1948,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:53: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-28 18:53:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:53:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:53:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:53:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:53:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:53:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:53:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:53:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:53:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708376832001,"66":13330,"106":206,"83":41984,"24":32,"16":16023118527070208,"45":1769633209206591488},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-28 18:53:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:53:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:53:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708376832001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:53:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:53:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:53:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16023118527070208,"km_value":16023118527070.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:53:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1769633209206591488,"description":"Unknown IO ID 45"} 
[2026-08-28 18:53:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708376832001,"power":13330,"unknown_106":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1769633209206591488}} 
[2026-08-28 18:53:49] local.INFO: DEBUG: GPS processor result {"connection_id":163957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709662,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:53:49] local.INFO: GPS data processed {"connection_id":163957,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:53:49] local.INFO: Acknowledgment sent {"connection_id":163957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:53:56] local.INFO: TCP Data received {"connection_id":164961,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164961,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:53:56] local.INFO: Processing buffer {"connection_id":164961,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:53:56] local.INFO: IMEI packet received {"connection_id":164961,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 18:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":164961,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:54:01] local.INFO: TCP Data received {"connection_id":164961,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164961,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:54:01] local.INFO: Processing buffer {"connection_id":164961,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:54:01] local.INFO: IMEI packet received {"connection_id":164961,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 18:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":164961,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:54:03] local.INFO: TCP Data received {"connection_id":164961,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0488653f0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0488653f0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:54:03] local.INFO: Processing buffer {"connection_id":164961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0488653f0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:54:03] local.INFO: Packet analysis {"connection_id":164961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04886"} 
[2026-08-28 18:54:03] local.INFO: Extracted packet for processing {"connection_id":164961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04886"} 
[2026-08-28 18:54:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708251392001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787923158000,"timestamp_ms":1787923158000,"timestamp_seconds":1787923158,"priority":1,"record_length":96,"hex_timestamp":"000001a0488653f0"} 
[2026-08-28 18:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:54:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:54:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:54:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":164961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":164961,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":164961,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:54:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708251392001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708251392001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:54:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:54:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708251392001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:54:03] 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":709663,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:54:03] local.INFO: GPS data processed {"connection_id":164961,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:54:03] local.INFO: Acknowledgment sent {"connection_id":164961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:54:11] local.INFO: TCP Data received {"connection_id":164960,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048886348012d34c14006aa4840000c00e629..."} 
[2026-08-28 18:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048886348012d34c14006aa4840000c00e629..."} 
[2026-08-28 18:54:11] local.INFO: Processing buffer {"connection_id":164960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048886348012d34c14006aa4840000c00e629..."} 
[2026-08-28 18:54:11] local.INFO: Packet analysis {"connection_id":164960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04888"} 
[2026-08-28 18:54:11] local.INFO: Extracted packet for processing {"connection_id":164960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04888"} 
[2026-08-28 18:54:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:54:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708285952001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:54:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:54:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:54:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:54:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787923293000,"timestamp_ms":1787923293000,"timestamp_seconds":1787923293,"priority":1,"record_length":96,"hex_timestamp":"000001a048886348"} 
[2026-08-28 18:54:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:54: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-28 18:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 18:54:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:54:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:54:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:54:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:54:11] local.INFO: Teltonika packet parsed successfully {"connection_id":164960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:54:11] local.INFO: Passing IMEI to GPS processor {"connection_id":164960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:54:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":164960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:54:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:54:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:54:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:54:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708285952001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:54:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:54:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:54:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708285952001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:54:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:54:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:54: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-28 18:54:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:54:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708285952001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:54:11] 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":709664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:54:11] local.INFO: GPS data processed {"connection_id":164960,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:54:11] local.INFO: Acknowledgment sent {"connection_id":164960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:54:20] local.INFO: TCP Data received {"connection_id":163957,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0488a3fd8012d18ca400720fb20003b00bd2d..."} 
[2026-08-28 18:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0488a3fd8012d18ca400720fb20003b00bd2d..."} 
[2026-08-28 18:54:20] local.INFO: Processing buffer {"connection_id":163957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0488a3fd8012d18ca400720fb20003b00bd2d..."} 
[2026-08-28 18:54:20] local.INFO: Packet analysis {"connection_id":163957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0488a"} 
[2026-08-28 18:54:20] local.INFO: Extracted packet for processing {"connection_id":163957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0488a"} 
[2026-08-28 18:54:20] local.INFO: GPS Element Parsed {"raw_longitude":756599360,"raw_latitude":119601952,"longitude_deg":75.659936,"latitude_deg":11.9601952,"altitude":59,"angle":189,"satellites":45,"speed":16,"hex_longitude":"2d18ca40","hex_latitude":"0720fb20","is_valid_coordinates":true} 
[2026-08-28 18:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:54:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708393216001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:54:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16024827924054016,"note":"Value kept but may cause issues"} 
[2026-08-28 18:54:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786732814033514496,"note":"Value kept but may cause issues"} 
[2026-08-28 18:54:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:54:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787923415000,"timestamp_ms":1787923415000,"timestamp_seconds":1787923415,"priority":1,"record_length":96,"hex_timestamp":"000001a0488a3fd8"} 
[2026-08-28 18:54:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:54:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-08-28 18:54:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:54:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:54:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:54:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:54:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:54:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:54:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:54:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:54:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:54:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:54:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708393216001,"66":12841,"103":206,"83":41984,"24":16,"16":16024827924054016,"45":1786732814033514496},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 18:54:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:54:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:54:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708393216001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:54:20] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 18:54:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:54:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16024827924054016,"km_value":16024827924054.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:54:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786732814033514496,"description":"Unknown IO ID 45"} 
[2026-08-28 18:54:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708393216001,"power":12841,"unknown_103":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1786732814033514496}} 
[2026-08-28 18:54:20] local.INFO: DEBUG: GPS processor result {"connection_id":163957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709665,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:54:20] local.INFO: GPS data processed {"connection_id":163957,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:54:20] local.INFO: Acknowledgment sent {"connection_id":163957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:54:35] local.INFO: TCP Data received {"connection_id":166324,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:54:35] local.INFO: Processing buffer {"connection_id":166324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:54:35] local.INFO: IMEI packet received {"connection_id":166324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 18:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":166324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:54:36] local.INFO: TCP Data received {"connection_id":164961,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0488653f0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0488653f0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:54:36] local.INFO: Processing buffer {"connection_id":164961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0488653f0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:54:36] local.INFO: Packet analysis {"connection_id":164961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04886"} 
[2026-08-28 18:54:36] local.INFO: Extracted packet for processing {"connection_id":164961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04886"} 
[2026-08-28 18:54:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708251392001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:54:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787923158000,"timestamp_ms":1787923158000,"timestamp_seconds":1787923158,"priority":1,"record_length":96,"hex_timestamp":"000001a0488653f0"} 
[2026-08-28 18:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:54:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:54:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":164961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":164961,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":164961,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:54:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708251392001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708251392001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:54:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:54:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708251392001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:54:36] 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":709666,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:54:36] local.INFO: GPS data processed {"connection_id":164961,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:54:36] local.INFO: Acknowledgment sent {"connection_id":164961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:54:40] local.INFO: TCP Data received {"connection_id":166324,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:54:40] local.INFO: Processing buffer {"connection_id":166324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:54:40] local.INFO: IMEI packet received {"connection_id":166324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 18:54:40] local.INFO: IMEI acknowledgment sent {"connection_id":166324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:54:42] local.INFO: TCP Data received {"connection_id":166324,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048886348012d34c14006aa4840000c00e629..."} 
[2026-08-28 18:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048886348012d34c14006aa4840000c00e629..."} 
[2026-08-28 18:54:42] local.INFO: Processing buffer {"connection_id":166324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048886348012d34c14006aa4840000c00e629..."} 
[2026-08-28 18:54:42] local.INFO: Packet analysis {"connection_id":166324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04888"} 
[2026-08-28 18:54:42] local.INFO: Extracted packet for processing {"connection_id":166324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04888"} 
[2026-08-28 18:54:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708285952001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:54:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:54:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787923293000,"timestamp_ms":1787923293000,"timestamp_seconds":1787923293,"priority":1,"record_length":96,"hex_timestamp":"000001a048886348"} 
[2026-08-28 18:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18: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-28 18:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 18: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-28 18:54:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":166324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":166324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":166324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:54:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708285952001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708285952001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:54:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:54:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18: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-28 18:54:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708285952001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":166324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:54:42] local.INFO: GPS data processed {"connection_id":166324,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:54:42] local.INFO: Acknowledgment sent {"connection_id":166324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:54:43] local.INFO: TCP Data received {"connection_id":166325,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166325,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:54:43] local.INFO: Processing buffer {"connection_id":166325,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:54:43] local.INFO: IMEI packet received {"connection_id":166325,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 18:54:43] local.INFO: IMEI acknowledgment sent {"connection_id":166325,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:54:45] local.INFO: TCP Data received {"connection_id":166324,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048886348012d34c14006aa4840000c00e629..."} 
[2026-08-28 18:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048886348012d34c14006aa4840000c00e629..."} 
[2026-08-28 18:54:45] local.INFO: Processing buffer {"connection_id":166324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048886348012d34c14006aa4840000c00e629..."} 
[2026-08-28 18:54:45] local.INFO: Packet analysis {"connection_id":166324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04888"} 
[2026-08-28 18:54:45] local.INFO: Extracted packet for processing {"connection_id":166324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04888"} 
[2026-08-28 18:54:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 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-28 18:54:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708285952001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:54:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:54:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:54:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:54:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787923293000,"timestamp_ms":1787923293000,"timestamp_seconds":1787923293,"priority":1,"record_length":96,"hex_timestamp":"000001a048886348"} 
[2026-08-28 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-28 18:54: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-28 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-28 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-28 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-28 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-28 18:54:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:54:45] local.INFO: Teltonika packet parsed successfully {"connection_id":166324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:54:45] local.INFO: Passing IMEI to GPS processor {"connection_id":166324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:54:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":166324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:54:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:54:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:54:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:54:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708285952001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:54:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:54:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:54:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708285952001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:54:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:54:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 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-28 18:54:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:54:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708285952001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:54:45] local.INFO: DEBUG: GPS processor result {"connection_id":166324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:54:45] local.INFO: GPS data processed {"connection_id":166324,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:54:45] local.INFO: Acknowledgment sent {"connection_id":166324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:54:48] local.INFO: TCP Data received {"connection_id":166325,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166325,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:54:48] local.INFO: Processing buffer {"connection_id":166325,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:54:48] local.INFO: IMEI packet received {"connection_id":166325,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":166325,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:54:49] local.INFO: TCP Data received {"connection_id":166325,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0488a4f78012d18c9400720f4a8003b00b12d..."} 
[2026-08-28 18:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0488a4f78012d18c9400720f4a8003b00b12d..."} 
[2026-08-28 18:54:49] local.INFO: Processing buffer {"connection_id":166325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0488a4f78012d18c9400720f4a8003b00b12d..."} 
[2026-08-28 18:54:49] local.INFO: Packet analysis {"connection_id":166325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0488a"} 
[2026-08-28 18:54:49] local.INFO: Extracted packet for processing {"connection_id":166325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0488a"} 
[2026-08-28 18:54:49] local.INFO: GPS Element Parsed {"raw_longitude":756599104,"raw_latitude":119600296,"longitude_deg":75.6599104,"latitude_deg":11.9600296,"altitude":59,"angle":177,"satellites":45,"speed":15,"hex_longitude":"2d18c940","hex_latitude":"0720f4a8","is_valid_coordinates":true} 
[2026-08-28 18: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-28 18:54:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708394240001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:54:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16024909528432640,"note":"Value kept but may cause issues"} 
[2026-08-28 18:54:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786310601568100352,"note":"Value kept but may cause issues"} 
[2026-08-28 18:54:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:54:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787923419000,"timestamp_ms":1787923419000,"timestamp_seconds":1787923419,"priority":1,"record_length":96,"hex_timestamp":"000001a0488a4f78"} 
[2026-08-28 18: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-28 18:54:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-28 18:54:49] 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-28 18: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-28 18: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-28 18:54:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:54:49] local.INFO: Teltonika packet parsed successfully {"connection_id":166325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:54:49] local.INFO: Passing IMEI to GPS processor {"connection_id":166325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:54:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":166325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:54:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:54:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:54:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:54:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708394240001,"66":13798,"103":206,"83":41984,"24":15,"16":16024909528432640,"45":1786310601568100352},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 18:54:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:54:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:54:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708394240001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:54:49] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 18:54:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:54:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16024909528432640,"km_value":16024909528432.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:54:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786310601568100352,"description":"Unknown IO ID 45"} 
[2026-08-28 18:54:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708394240001,"power":13798,"unknown_103":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1786310601568100352}} 
[2026-08-28 18:54:49] local.INFO: DEBUG: GPS processor result {"connection_id":166325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709669,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:54:49] local.INFO: GPS data processed {"connection_id":166325,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:54:49] local.INFO: Acknowledgment sent {"connection_id":166325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:54:57] local.INFO: TCP Data received {"connection_id":164962,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164962,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:54:57] local.INFO: Processing buffer {"connection_id":164962,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:54:57] local.INFO: IMEI packet received {"connection_id":164962,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 18:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":164962,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:55:01] local.INFO: TCP Data received {"connection_id":164962,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164962,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:55:01] local.INFO: Processing buffer {"connection_id":164962,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:55:01] local.INFO: IMEI packet received {"connection_id":164962,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 18:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":164962,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:55:06] local.INFO: TCP Data received {"connection_id":164962,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164962,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:55:06] local.INFO: Processing buffer {"connection_id":164962,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:55:06] local.INFO: IMEI packet received {"connection_id":164962,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 18:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":164962,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:55:08] local.INFO: TCP Data received {"connection_id":164962,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0488aebb8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0488aebb8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:55:08] local.INFO: Processing buffer {"connection_id":164962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0488aebb8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:55:08] local.INFO: Packet analysis {"connection_id":164962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0488a"} 
[2026-08-28 18:55:08] local.INFO: Extracted packet for processing {"connection_id":164962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0488a"} 
[2026-08-28 18:55:08] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708328448001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:55:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:55:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787923459000,"timestamp_ms":1787923459000,"timestamp_seconds":1787923459,"priority":1,"record_length":96,"hex_timestamp":"000001a0488aebb8"} 
[2026-08-28 18:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:55:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:55:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:55:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164962,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164962,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:55:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708328448001,"66":25299,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708328448001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:55:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:55:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:55:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708328448001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:55:08] 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":709670,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:55:08] local.INFO: GPS data processed {"connection_id":164962,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:55:08] local.INFO: Acknowledgment sent {"connection_id":164962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:55:11] local.INFO: TCP Data received {"connection_id":164962,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0488aebb8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0488aebb8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:55:11] local.INFO: Processing buffer {"connection_id":164962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0488aebb8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:55:11] local.INFO: Packet analysis {"connection_id":164962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0488a"} 
[2026-08-28 18:55:11] local.INFO: Extracted packet for processing {"connection_id":164962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0488a"} 
[2026-08-28 18:55:11] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708328448001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:55:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:55:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787923459000,"timestamp_ms":1787923459000,"timestamp_seconds":1787923459,"priority":1,"record_length":96,"hex_timestamp":"000001a0488aebb8"} 
[2026-08-28 18:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:55:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:55: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-28 18:55:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":164962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":164962,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":164962,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:55:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708328448001,"66":25299,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708328448001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:55:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:55:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:55:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708328448001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:55:12] 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":709671,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:55:12] local.INFO: GPS data processed {"connection_id":164962,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:55:12] local.INFO: Acknowledgment sent {"connection_id":164962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:55:20] local.INFO: TCP Data received {"connection_id":166325,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0488a5748012d18c9800720f268003b009f2c..."} 
[2026-08-28 18:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0488a5748012d18c9800720f268003b009f2c..."} 
[2026-08-28 18:55:20] local.INFO: Processing buffer {"connection_id":166325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0488a5748012d18c9800720f268003b009f2c..."} 
[2026-08-28 18:55:20] local.INFO: Packet analysis {"connection_id":166325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0488a"} 
[2026-08-28 18:55:20] local.INFO: Extracted packet for processing {"connection_id":166325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0488a"} 
[2026-08-28 18:55:20] local.INFO: GPS Element Parsed {"raw_longitude":756599168,"raw_latitude":119599720,"longitude_deg":75.6599168,"latitude_deg":11.959972,"altitude":59,"angle":159,"satellites":44,"speed":10,"hex_longitude":"2d18c980","hex_latitude":"0720f268","is_valid_coordinates":true} 
[2026-08-28 18:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708395264001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16024939593203712,"note":"Value kept but may cause issues"} 
[2026-08-28 18:55:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786029126590965760,"note":"Value kept but may cause issues"} 
[2026-08-28 18:55:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787923421000,"timestamp_ms":1787923421000,"timestamp_seconds":1787923421,"priority":1,"record_length":96,"hex_timestamp":"000001a0488a5748"} 
[2026-08-28 18:55:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:55:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-08-28 18:55:20] 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-28 18:55:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:55:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":166325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":166325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":166325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:55:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708395264001,"66":13820,"103":206,"83":41984,"24":10,"16":16024939593203712,"45":1786029126590965760},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 18:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708395264001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:55:20] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 18:55:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16024939593203712,"km_value":16024939593203.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:55:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786029126590965760,"description":"Unknown IO ID 45"} 
[2026-08-28 18:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708395264001,"power":13820,"unknown_103":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1786029126590965760}} 
[2026-08-28 18:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":166325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709672,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:55:20] local.INFO: GPS data processed {"connection_id":166325,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:55:20] local.INFO: Acknowledgment sent {"connection_id":166325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:55:30] local.INFO: TCP Data received {"connection_id":163684,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:55:30] local.INFO: Processing buffer {"connection_id":163684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:55:30] local.INFO: IMEI packet received {"connection_id":163684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 18:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":163684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:55:36] local.INFO: TCP Data received {"connection_id":163684,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:55:36] local.INFO: Processing buffer {"connection_id":163684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:55:36] local.INFO: IMEI packet received {"connection_id":163684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 18:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":163684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:55:40] local.INFO: TCP Data received {"connection_id":163684,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048886348012d34c14006aa4840000c00e629..."} 
[2026-08-28 18:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048886348012d34c14006aa4840000c00e629..."} 
[2026-08-28 18:55:40] local.INFO: Processing buffer {"connection_id":163684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048886348012d34c14006aa4840000c00e629..."} 
[2026-08-28 18:55:40] local.INFO: Packet analysis {"connection_id":163684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04888"} 
[2026-08-28 18:55:40] local.INFO: Extracted packet for processing {"connection_id":163684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04888"} 
[2026-08-28 18:55:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:55:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708285952001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:55:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:55:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:55:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:55:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787923293000,"timestamp_ms":1787923293000,"timestamp_seconds":1787923293,"priority":1,"record_length":96,"hex_timestamp":"000001a048886348"} 
[2026-08-28 18:55:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:55: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-28 18:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 18:55:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:55:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:55:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:55:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:55:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:55:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:55:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:55:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:55:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:55:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:55:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708285952001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:55:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:55:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:55:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708285952001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:55:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:55:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:55: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-28 18:55:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:55:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708285952001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:55:40] 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":709673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:55:40] local.INFO: GPS data processed {"connection_id":163684,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:55:40] local.INFO: Acknowledgment sent {"connection_id":163684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:55:43] local.INFO: TCP Data received {"connection_id":164963,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164963,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:55:43] local.INFO: Processing buffer {"connection_id":164963,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:55:43] local.INFO: IMEI packet received {"connection_id":164963,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 18:55:43] local.INFO: IMEI acknowledgment sent {"connection_id":164963,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:55:43] local.INFO: TCP Data received {"connection_id":164963,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164963,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:55:43] local.INFO: Processing buffer {"connection_id":164963,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:55:43] local.INFO: IMEI packet received {"connection_id":164963,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:55:43] local.INFO: IMEI acknowledgment sent {"connection_id":164963,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:55:45] local.INFO: TCP Data received {"connection_id":164963,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164963,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:55:45] local.INFO: Processing buffer {"connection_id":164963,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:55:45] local.INFO: IMEI packet received {"connection_id":164963,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:55:45] local.INFO: IMEI acknowledgment sent {"connection_id":164963,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:55:47] local.INFO: TCP Data received {"connection_id":164963,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164963,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:55:47] local.INFO: Processing buffer {"connection_id":164963,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:55:47] local.INFO: IMEI packet received {"connection_id":164963,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:55:47] local.INFO: IMEI acknowledgment sent {"connection_id":164963,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:55:49] local.INFO: TCP Data received {"connection_id":164963,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0488a8df8012d18c9400720ef78003c00ba2c..."} 
[2026-08-28 18:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0488a8df8012d18c9400720ef78003c00ba2c..."} 
[2026-08-28 18:55:49] local.INFO: Processing buffer {"connection_id":164963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0488a8df8012d18c9400720ef78003c00ba2c..."} 
[2026-08-28 18:55:49] local.INFO: Packet analysis {"connection_id":164963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0488a"} 
[2026-08-28 18:55:49] local.INFO: Extracted packet for processing {"connection_id":164963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0488a"} 
[2026-08-28 18:55:49] local.INFO: GPS Element Parsed {"raw_longitude":756599104,"raw_latitude":119598968,"longitude_deg":75.6599104,"latitude_deg":11.9598968,"altitude":60,"angle":186,"satellites":44,"speed":5,"hex_longitude":"2d18c940","hex_latitude":"0720ef78","is_valid_coordinates":true} 
[2026-08-28 18: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-28 18:55:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708395776001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:55:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16024986837843968,"note":"Value kept but may cause issues"} 
[2026-08-28 18:55:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786099495334995968,"note":"Value kept but may cause issues"} 
[2026-08-28 18:55:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:55:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787923435000,"timestamp_ms":1787923435000,"timestamp_seconds":1787923435,"priority":1,"record_length":96,"hex_timestamp":"000001a0488a8df8"} 
[2026-08-28 18: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-28 18:55:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-08-28 18:55:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18: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-28 18: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-28 18:55:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:55:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:55:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:55:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:55:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:55:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:55:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:55:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708395776001,"66":13917,"103":206,"83":41984,"24":5,"16":16024986837843968,"45":1786099495334995968},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 18:55:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:55:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:55:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708395776001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:55:49] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 18:55:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:55:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16024986837843968,"km_value":16024986837843.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:55:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786099495334995968,"description":"Unknown IO ID 45"} 
[2026-08-28 18:55:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708395776001,"power":13917,"unknown_103":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1786099495334995968}} 
[2026-08-28 18:55:49] 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":709674,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:55:49] local.INFO: GPS data processed {"connection_id":164963,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:55:49] local.INFO: Acknowledgment sent {"connection_id":164963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:55:56] local.INFO: TCP Data received {"connection_id":163685,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163685,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:55:56] local.INFO: Processing buffer {"connection_id":163685,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:55:56] local.INFO: IMEI packet received {"connection_id":163685,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 18:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":163685,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:56:01] local.INFO: TCP Data received {"connection_id":163685,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163685,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:56:01] local.INFO: Processing buffer {"connection_id":163685,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:56:01] local.INFO: IMEI packet received {"connection_id":163685,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 18:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":163685,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:56:03] local.INFO: TCP Data received {"connection_id":163685,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0488aebb8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0488aebb8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:56:03] local.INFO: Processing buffer {"connection_id":163685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0488aebb8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:56:03] local.INFO: Packet analysis {"connection_id":163685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0488a"} 
[2026-08-28 18:56:03] local.INFO: Extracted packet for processing {"connection_id":163685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0488a"} 
[2026-08-28 18:56:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708328448001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:56:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787923459000,"timestamp_ms":1787923459000,"timestamp_seconds":1787923459,"priority":1,"record_length":96,"hex_timestamp":"000001a0488aebb8"} 
[2026-08-28 18:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:56:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:56:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:56:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163685,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163685,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:56:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708328448001,"66":25299,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708328448001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:56:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:56:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708328448001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:56:03] 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":709675,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:56:03] local.INFO: GPS data processed {"connection_id":163685,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:56:03] local.INFO: Acknowledgment sent {"connection_id":163685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:56:12] local.INFO: TCP Data received {"connection_id":163684,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048886348012d34c14006aa4840000c00e629..."} 
[2026-08-28 18:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048886348012d34c14006aa4840000c00e629..."} 
[2026-08-28 18:56:12] local.INFO: Processing buffer {"connection_id":163684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048886348012d34c14006aa4840000c00e629..."} 
[2026-08-28 18:56:12] local.INFO: Packet analysis {"connection_id":163684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04888"} 
[2026-08-28 18:56:12] local.INFO: Extracted packet for processing {"connection_id":163684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04888"} 
[2026-08-28 18:56:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18: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-28 18:56:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708285952001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:56:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:56:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:56:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:56:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787923293000,"timestamp_ms":1787923293000,"timestamp_seconds":1787923293,"priority":1,"record_length":96,"hex_timestamp":"000001a048886348"} 
[2026-08-28 18: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-28 18:56: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-28 18: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":31,"data_length":795,"current_offset":136} 
[2026-08-28 18:56:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18: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-28 18: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-28 18:56:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:56:12] local.INFO: Teltonika packet parsed successfully {"connection_id":163684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:56:12] local.INFO: Passing IMEI to GPS processor {"connection_id":163684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:56:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":163684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:56:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:56:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:56:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:56:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708285952001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:56:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:56:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:56:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708285952001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:56:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:56:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18: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-28 18:56:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:56:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708285952001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:56:12] 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":709676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:56:12] local.INFO: GPS data processed {"connection_id":163684,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:56:12] local.INFO: Acknowledgment sent {"connection_id":163684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:56:20] local.INFO: TCP Data received {"connection_id":164963,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0488bf558012d18bcc007208fa8002900ae26..."} 
[2026-08-28 18:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0488bf558012d18bcc007208fa8002900ae26..."} 
[2026-08-28 18:56:20] local.INFO: Processing buffer {"connection_id":164963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0488bf558012d18bcc007208fa8002900ae26..."} 
[2026-08-28 18:56:20] local.INFO: Packet analysis {"connection_id":164963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0488b"} 
[2026-08-28 18:56:20] local.INFO: Extracted packet for processing {"connection_id":164963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0488b"} 
[2026-08-28 18:56:20] local.INFO: GPS Element Parsed {"raw_longitude":756595904,"raw_latitude":119574440,"longitude_deg":75.6595904,"latitude_deg":11.957444,"altitude":41,"angle":174,"satellites":38,"speed":3,"hex_longitude":"2d18bcc0","hex_latitude":"07208fa8","is_valid_coordinates":true} 
[2026-08-28 18:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708422656001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16026279623000064,"note":"Value kept but may cause issues"} 
[2026-08-28 18:56:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1782440320631318528,"note":"Value kept but may cause issues"} 
[2026-08-28 18:56:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787923527000,"timestamp_ms":1787923527000,"timestamp_seconds":1787923527,"priority":1,"record_length":96,"hex_timestamp":"000001a0488bf558"} 
[2026-08-28 18:56:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:56:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-08-28 18:56:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":819,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:56:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:56:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":164963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":164963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":164963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:56:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708422656001,"66":13863,"103":206,"83":41984,"24":3,"16":16026279623000064,"45":1782440320631318528},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 18:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708422656001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:56:20] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 18:56:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16026279623000064,"km_value":16026279623000.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:56:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1782440320631318528,"description":"Unknown IO ID 45"} 
[2026-08-28 18:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708422656001,"power":13863,"unknown_103":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1782440320631318528}} 
[2026-08-28 18:56:20] 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":709677,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:56:20] local.INFO: GPS data processed {"connection_id":164963,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:56:20] local.INFO: Acknowledgment sent {"connection_id":164963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:56:30] local.INFO: TCP Data received {"connection_id":163958,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:56:30] local.INFO: Processing buffer {"connection_id":163958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:56:30] local.INFO: IMEI packet received {"connection_id":163958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 18:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":163958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:56:34] local.INFO: TCP Data received {"connection_id":163685,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0488aebb8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0488aebb8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:56:34] local.INFO: Processing buffer {"connection_id":163685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0488aebb8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:56:34] local.INFO: Packet analysis {"connection_id":163685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0488a"} 
[2026-08-28 18:56:34] local.INFO: Extracted packet for processing {"connection_id":163685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0488a"} 
[2026-08-28 18:56:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708328448001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:56:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:56:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787923459000,"timestamp_ms":1787923459000,"timestamp_seconds":1787923459,"priority":1,"record_length":96,"hex_timestamp":"000001a0488aebb8"} 
[2026-08-28 18:56:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:56:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:56:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:56:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:56:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163685,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163685,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:56:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708328448001,"66":25299,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708328448001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:56:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:56:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:56:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708328448001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:56:34] 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":709678,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:56:34] local.INFO: GPS data processed {"connection_id":163685,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:56:34] local.INFO: Acknowledgment sent {"connection_id":163685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:56:35] local.INFO: TCP Data received {"connection_id":163958,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:56:35] local.INFO: Processing buffer {"connection_id":163958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:56:35] local.INFO: IMEI packet received {"connection_id":163958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 18:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":163958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:56:37] local.INFO: TCP Data received {"connection_id":163958,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048886348012d34c14006aa4840000c00e629..."} 
[2026-08-28 18:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048886348012d34c14006aa4840000c00e629..."} 
[2026-08-28 18:56:37] local.INFO: Processing buffer {"connection_id":163958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048886348012d34c14006aa4840000c00e629..."} 
[2026-08-28 18:56:37] local.INFO: Packet analysis {"connection_id":163958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04888"} 
[2026-08-28 18:56:37] local.INFO: Extracted packet for processing {"connection_id":163958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04888"} 
[2026-08-28 18:56:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708285952001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787923293000,"timestamp_ms":1787923293000,"timestamp_seconds":1787923293,"priority":1,"record_length":96,"hex_timestamp":"000001a048886348"} 
[2026-08-28 18:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 18:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708285952001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708285952001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:56:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:56:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:56: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-28 18:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708285952001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":163958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:56:37] local.INFO: GPS data processed {"connection_id":163958,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:56:37] local.INFO: Acknowledgment sent {"connection_id":163958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:56:42] local.INFO: TCP Data received {"connection_id":166326,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166326,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:56:42] local.INFO: Processing buffer {"connection_id":166326,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:56:42] local.INFO: IMEI packet received {"connection_id":166326,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 18:56:42] local.INFO: IMEI acknowledgment sent {"connection_id":166326,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:56:45] local.INFO: TCP Data received {"connection_id":166326,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166326,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:56:45] local.INFO: Processing buffer {"connection_id":166326,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:56:45] local.INFO: IMEI packet received {"connection_id":166326,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":166326,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:56:46] local.INFO: TCP Data received {"connection_id":166326,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166326,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:56:46] local.INFO: Processing buffer {"connection_id":166326,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:56:46] local.INFO: IMEI packet received {"connection_id":166326,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":166326,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:56:47] local.INFO: TCP Data received {"connection_id":166326,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166326,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:56:47] local.INFO: Processing buffer {"connection_id":166326,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:56:47] local.INFO: IMEI packet received {"connection_id":166326,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:56:47] local.INFO: IMEI acknowledgment sent {"connection_id":166326,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:56:48] local.INFO: TCP Data received {"connection_id":166326,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0488c04f8012d18bd8007208da0002800a128..."} 
[2026-08-28 18:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0488c04f8012d18bd8007208da0002800a128..."} 
[2026-08-28 18:56:48] local.INFO: Processing buffer {"connection_id":166326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0488c04f8012d18bd8007208da0002800a128..."} 
[2026-08-28 18:56:48] local.INFO: Packet analysis {"connection_id":166326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0488c"} 
[2026-08-28 18:56:48] local.INFO: Extracted packet for processing {"connection_id":166326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0488c"} 
[2026-08-28 18:56:48] local.INFO: GPS Element Parsed {"raw_longitude":756596096,"raw_latitude":119573920,"longitude_deg":75.6596096,"latitude_deg":11.957392,"altitude":40,"angle":161,"satellites":40,"speed":5,"hex_longitude":"2d18bd80","hex_latitude":"07208da0","is_valid_coordinates":true} 
[2026-08-28 18:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:56:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708422912001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:56:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16026305392803840,"note":"Value kept but may cause issues"} 
[2026-08-28 18:56:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1782510689375463424,"note":"Value kept but may cause issues"} 
[2026-08-28 18:56:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:56:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787923531000,"timestamp_ms":1787923531000,"timestamp_seconds":1787923531,"priority":1,"record_length":96,"hex_timestamp":"000001a0488c04f8"} 
[2026-08-28 18:56:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:56:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-08-28 18:56:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":819,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:56:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:56:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:56:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:56:48] local.INFO: Teltonika packet parsed successfully {"connection_id":166326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:56:48] local.INFO: Passing IMEI to GPS processor {"connection_id":166326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:56:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":166326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:56:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:56:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:56:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:56:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708422912001,"66":13559,"103":206,"83":41984,"24":5,"16":16026305392803840,"45":1782510689375463424},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 18:56:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:56:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:56:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708422912001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:56:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 18:56:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:56:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16026305392803840,"km_value":16026305392803.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:56:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1782510689375463424,"description":"Unknown IO ID 45"} 
[2026-08-28 18:56:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708422912001,"power":13559,"unknown_103":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1782510689375463424}} 
[2026-08-28 18:56:48] local.INFO: DEBUG: GPS processor result {"connection_id":166326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709680,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:56:48] local.INFO: GPS data processed {"connection_id":166326,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:56:48] local.INFO: Acknowledgment sent {"connection_id":166326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:56:56] local.INFO: TCP Data received {"connection_id":163686,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163686,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:56:56] local.INFO: Processing buffer {"connection_id":163686,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:56:56] local.INFO: IMEI packet received {"connection_id":163686,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 18:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":163686,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:57:01] local.INFO: TCP Data received {"connection_id":163686,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163686,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:57:01] local.INFO: Processing buffer {"connection_id":163686,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:57:01] local.INFO: IMEI packet received {"connection_id":163686,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 18:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":163686,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:57:04] local.INFO: TCP Data received {"connection_id":163686,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0488aebb8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0488aebb8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:57:04] local.INFO: Processing buffer {"connection_id":163686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0488aebb8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:57:04] local.INFO: Packet analysis {"connection_id":163686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0488a"} 
[2026-08-28 18:57:04] local.INFO: Extracted packet for processing {"connection_id":163686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0488a"} 
[2026-08-28 18:57:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708328448001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787923459000,"timestamp_ms":1787923459000,"timestamp_seconds":1787923459,"priority":1,"record_length":96,"hex_timestamp":"000001a0488aebb8"} 
[2026-08-28 18:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:57:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":163686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":163686,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":163686,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708328448001,"66":25299,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708328448001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:57:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:57:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708328448001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:57:04] 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":709681,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:57:04] local.INFO: GPS data processed {"connection_id":163686,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:57:04] local.INFO: Acknowledgment sent {"connection_id":163686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:57:12] local.INFO: TCP Data received {"connection_id":163958,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048886348012d34c14006aa4840000c00e629..."} 
[2026-08-28 18:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048886348012d34c14006aa4840000c00e629..."} 
[2026-08-28 18:57:12] local.INFO: Processing buffer {"connection_id":163958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048886348012d34c14006aa4840000c00e629..."} 
[2026-08-28 18:57:12] local.INFO: Packet analysis {"connection_id":163958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04888"} 
[2026-08-28 18:57:12] local.INFO: Extracted packet for processing {"connection_id":163958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04888"} 
[2026-08-28 18:57:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:57:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708285952001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:57:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:57:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:57:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:57:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787923293000,"timestamp_ms":1787923293000,"timestamp_seconds":1787923293,"priority":1,"record_length":96,"hex_timestamp":"000001a048886348"} 
[2026-08-28 18:57:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:57: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-28 18:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 18:57:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:57:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:57:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:57:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:57:12] local.INFO: Teltonika packet parsed successfully {"connection_id":163958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:57:12] local.INFO: Passing IMEI to GPS processor {"connection_id":163958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:57:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":163958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:57:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:57:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:57:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:57:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708285952001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:57:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:57:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:57:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708285952001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:57:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:57:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:57: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-28 18:57:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:57:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708285952001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:57:12] local.INFO: DEBUG: GPS processor result {"connection_id":163958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:57:12] local.INFO: GPS data processed {"connection_id":163958,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:57:12] local.INFO: Acknowledgment sent {"connection_id":163958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:57:20] local.INFO: TCP Data received {"connection_id":166326,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0488ccc30012d18db8007205a98002800812c..."} 
[2026-08-28 18:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0488ccc30012d18db8007205a98002800812c..."} 
[2026-08-28 18:57:20] local.INFO: Processing buffer {"connection_id":166326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0488ccc30012d18db8007205a98002800812c..."} 
[2026-08-28 18:57:20] local.INFO: Packet analysis {"connection_id":166326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0488c"} 
[2026-08-28 18:57:20] local.INFO: Extracted packet for processing {"connection_id":166326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0488c"} 
[2026-08-28 18:57:20] local.INFO: GPS Element Parsed {"raw_longitude":756603776,"raw_latitude":119560856,"longitude_deg":75.6603776,"latitude_deg":11.9560856,"altitude":40,"angle":129,"satellites":44,"speed":14,"hex_longitude":"2d18db80","hex_latitude":"07205a98","is_valid_coordinates":true} 
[2026-08-28 18:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:57:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708436736001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:57:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16027082781884416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:57:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790814201184997376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:57:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:57:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787923582000,"timestamp_ms":1787923582000,"timestamp_seconds":1787923582,"priority":1,"record_length":96,"hex_timestamp":"000001a0488ccc30"} 
[2026-08-28 18:57:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:57:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-08-28 18:57:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:57:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:57:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:57:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:57:20] local.INFO: Teltonika packet parsed successfully {"connection_id":166326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:57:20] local.INFO: Passing IMEI to GPS processor {"connection_id":166326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:57:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":166326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:57:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:57:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:57:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:57:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708436736001,"66":13820,"102":206,"83":41984,"24":14,"16":16027082781884416,"45":1790814201184997376},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 18:57:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:57:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:57:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708436736001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:57:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 18:57:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:57:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16027082781884416,"km_value":16027082781884.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:57:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790814201184997376,"description":"Unknown IO ID 45"} 
[2026-08-28 18:57:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708436736001,"power":13820,"unknown_102":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1790814201184997376}} 
[2026-08-28 18:57:20] local.INFO: DEBUG: GPS processor result {"connection_id":166326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709683,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:57:20] local.INFO: GPS data processed {"connection_id":166326,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:57:20] local.INFO: Acknowledgment sent {"connection_id":166326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:57:30] local.INFO: TCP Data received {"connection_id":166327,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:57:30] local.INFO: Processing buffer {"connection_id":166327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:57:30] local.INFO: IMEI packet received {"connection_id":166327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 18:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":166327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:57:35] local.INFO: TCP Data received {"connection_id":166327,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:57:35] local.INFO: Processing buffer {"connection_id":166327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:57:35] local.INFO: IMEI packet received {"connection_id":166327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 18:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":166327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:57:36] local.INFO: TCP Data received {"connection_id":163686,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0488aebb8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0488aebb8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:57:36] local.INFO: Processing buffer {"connection_id":163686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0488aebb8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:57:36] local.INFO: Packet analysis {"connection_id":163686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0488a"} 
[2026-08-28 18:57:36] local.INFO: Extracted packet for processing {"connection_id":163686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0488a"} 
[2026-08-28 18:57:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708328448001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:57:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787923459000,"timestamp_ms":1787923459000,"timestamp_seconds":1787923459,"priority":1,"record_length":96,"hex_timestamp":"000001a0488aebb8"} 
[2026-08-28 18:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:57:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:57:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:57:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163686,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163686,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:57:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708328448001,"66":25299,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708328448001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:57:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:57:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708328448001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:57:36] 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":709684,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:57:36] local.INFO: GPS data processed {"connection_id":163686,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:57:36] local.INFO: Acknowledgment sent {"connection_id":163686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:57:37] local.INFO: TCP Data received {"connection_id":166327,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0488cfb10012d34c14006aa4840000d00e62b..."} 
[2026-08-28 18:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0488cfb10012d34c14006aa4840000d00e62b..."} 
[2026-08-28 18:57:37] local.INFO: Processing buffer {"connection_id":166327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0488cfb10012d34c14006aa4840000d00e62b..."} 
[2026-08-28 18:57:37] local.INFO: Packet analysis {"connection_id":166327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0488c"} 
[2026-08-28 18:57:37] local.INFO: Extracted packet for processing {"connection_id":166327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0488c"} 
[2026-08-28 18:57:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708363008001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:57:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787923594000,"timestamp_ms":1787923594000,"timestamp_seconds":1787923594,"priority":1,"record_length":96,"hex_timestamp":"000001a0488cfb10"} 
[2026-08-28 18:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 18:57:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:57:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":166327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":166327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":166327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708363008001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708363008001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:57:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:57:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:57: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-28 18:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708363008001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":166327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:57:37] local.INFO: GPS data processed {"connection_id":166327,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:57:37] local.INFO: Acknowledgment sent {"connection_id":166327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:57:42] local.INFO: TCP Data received {"connection_id":163959,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163959,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:57:42] local.INFO: Processing buffer {"connection_id":163959,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:57:42] local.INFO: IMEI packet received {"connection_id":163959,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 18:57:42] local.INFO: IMEI acknowledgment sent {"connection_id":163959,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:57:48] local.INFO: TCP Data received {"connection_id":163959,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163959,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:57:48] local.INFO: Processing buffer {"connection_id":163959,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:57:48] local.INFO: IMEI packet received {"connection_id":163959,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:57:48] local.INFO: IMEI acknowledgment sent {"connection_id":163959,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:57:48] local.INFO: TCP Data received {"connection_id":163959,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0488cd018012d18dc00072059a0002900982c..."} 
[2026-08-28 18:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0488cd018012d18dc00072059a0002900982c..."} 
[2026-08-28 18:57:48] local.INFO: Processing buffer {"connection_id":163959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0488cd018012d18dc00072059a0002900982c..."} 
[2026-08-28 18:57:48] local.INFO: Packet analysis {"connection_id":163959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0488c"} 
[2026-08-28 18:57:48] local.INFO: Extracted packet for processing {"connection_id":163959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0488c"} 
[2026-08-28 18:57:48] local.INFO: GPS Element Parsed {"raw_longitude":756603904,"raw_latitude":119560608,"longitude_deg":75.6603904,"latitude_deg":11.9560608,"altitude":41,"angle":152,"satellites":44,"speed":11,"hex_longitude":"2d18dc00","hex_latitude":"072059a0","is_valid_coordinates":true} 
[2026-08-28 18:57:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:57:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708436992001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:57:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16027095666786304,"note":"Value kept but may cause issues"} 
[2026-08-28 18:57:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791166044905838592,"note":"Value kept but may cause issues"} 
[2026-08-28 18:57:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:57:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787923583000,"timestamp_ms":1787923583000,"timestamp_seconds":1787923583,"priority":1,"record_length":96,"hex_timestamp":"000001a0488cd018"} 
[2026-08-28 18:57:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:57:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:57:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-08-28 18:57:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18: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-28 18:57:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:57:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:57:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:57:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:57:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:57:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:57:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:57:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:57:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708436992001,"66":13820,"102":206,"83":41984,"24":11,"16":16027095666786304,"45":1791166044905838592},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 18:57:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:57:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:57:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708436992001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:57:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 18:57:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:57:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16027095666786304,"km_value":16027095666786.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:57:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791166044905838592,"description":"Unknown IO ID 45"} 
[2026-08-28 18:57:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708436992001,"power":13820,"unknown_102":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1791166044905838592}} 
[2026-08-28 18:57:49] local.INFO: DEBUG: GPS processor result {"connection_id":163959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709686,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:57:49] local.INFO: GPS data processed {"connection_id":163959,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:57:49] local.INFO: Acknowledgment sent {"connection_id":163959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:57:56] local.INFO: TCP Data received {"connection_id":164964,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164964,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:57:56] local.INFO: Processing buffer {"connection_id":164964,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:57:56] local.INFO: IMEI packet received {"connection_id":164964,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 18:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":164964,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:58:01] local.INFO: TCP Data received {"connection_id":164964,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164964,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:58:01] local.INFO: Processing buffer {"connection_id":164964,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:58:01] local.INFO: IMEI packet received {"connection_id":164964,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 18:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":164964,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:58:03] local.INFO: TCP Data received {"connection_id":164964,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0488aebb8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0488aebb8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:58:03] local.INFO: Processing buffer {"connection_id":164964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0488aebb8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:58:03] local.INFO: Packet analysis {"connection_id":164964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0488a"} 
[2026-08-28 18:58:03] local.INFO: Extracted packet for processing {"connection_id":164964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0488a"} 
[2026-08-28 18:58:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708328448001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:58:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787923459000,"timestamp_ms":1787923459000,"timestamp_seconds":1787923459,"priority":1,"record_length":96,"hex_timestamp":"000001a0488aebb8"} 
[2026-08-28 18:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:58:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:58:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:58:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:58:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":164964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":164964,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":164964,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:58:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708328448001,"66":25299,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708328448001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:58:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:58:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708328448001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:58:03] 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":709687,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:58:03] local.INFO: GPS data processed {"connection_id":164964,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:58:03] local.INFO: Acknowledgment sent {"connection_id":164964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:58:09] local.INFO: TCP Data received {"connection_id":166327,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0488cfb10012d34c14006aa4840000d00e62b..."} 
[2026-08-28 18:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0488cfb10012d34c14006aa4840000d00e62b..."} 
[2026-08-28 18:58:09] local.INFO: Processing buffer {"connection_id":166327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0488cfb10012d34c14006aa4840000d00e62b..."} 
[2026-08-28 18:58:09] local.INFO: Packet analysis {"connection_id":166327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0488c"} 
[2026-08-28 18:58:09] local.INFO: Extracted packet for processing {"connection_id":166327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0488c"} 
[2026-08-28 18:58:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708363008001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:58:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:58:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:58:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:58:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787923594000,"timestamp_ms":1787923594000,"timestamp_seconds":1787923594,"priority":1,"record_length":96,"hex_timestamp":"000001a0488cfb10"} 
[2026-08-28 18:58:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:58:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 18:58:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:58:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:58:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:58:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:58:09] local.INFO: Teltonika packet parsed successfully {"connection_id":166327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:58:09] local.INFO: Passing IMEI to GPS processor {"connection_id":166327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:58:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":166327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:58:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:58:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:58:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:58:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708363008001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:58:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:58:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:58:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708363008001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:58:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:58:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:58: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-28 18:58:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:58:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708363008001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:58:09] local.INFO: DEBUG: GPS processor result {"connection_id":166327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:58:09] local.INFO: GPS data processed {"connection_id":166327,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:58:09] local.INFO: Acknowledgment sent {"connection_id":166327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:58:20] local.INFO: TCP Data received {"connection_id":163959,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0488ddda0012d19148007200c88003900852a..."} 
[2026-08-28 18:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0488ddda0012d19148007200c88003900852a..."} 
[2026-08-28 18:58:20] local.INFO: Processing buffer {"connection_id":163959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0488ddda0012d19148007200c88003900852a..."} 
[2026-08-28 18:58:20] local.INFO: Packet analysis {"connection_id":163959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0488d"} 
[2026-08-28 18:58:20] local.INFO: Extracted packet for processing {"connection_id":163959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0488d"} 
[2026-08-28 18:58:20] local.INFO: GPS Element Parsed {"raw_longitude":756618368,"raw_latitude":119540872,"longitude_deg":75.6618368,"latitude_deg":11.9540872,"altitude":57,"angle":133,"satellites":42,"speed":11,"hex_longitude":"2d191480","hex_latitude":"07200c88","is_valid_coordinates":true} 
[2026-08-28 18:58:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:58:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708454656001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:58:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16028676214751232,"note":"Value kept but may cause issues"} 
[2026-08-28 18:58:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1806999012340752384,"note":"Value kept but may cause issues"} 
[2026-08-28 18:58:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:58:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787923652000,"timestamp_ms":1787923652000,"timestamp_seconds":1787923652,"priority":1,"record_length":96,"hex_timestamp":"000001a0488ddda0"} 
[2026-08-28 18:58:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:58:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:58:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-28 18:58:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:58:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:58:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:58:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:58:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:58:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:58:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:58:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:58:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:58:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:58:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708454656001,"66":12841,"102":206,"83":41984,"24":11,"16":16028676214751232,"45":1806999012340752384},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 18:58:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:58:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:58:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708454656001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:58:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 18:58:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:58:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16028676214751232,"km_value":16028676214751.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:58:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1806999012340752384,"description":"Unknown IO ID 45"} 
[2026-08-28 18:58:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708454656001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1806999012340752384}} 
[2026-08-28 18:58:20] local.INFO: DEBUG: GPS processor result {"connection_id":163959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709689,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:58:20] local.INFO: GPS data processed {"connection_id":163959,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:58:20] local.INFO: Acknowledgment sent {"connection_id":163959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:58:35] local.INFO: TCP Data received {"connection_id":163687,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:58:35] local.INFO: Processing buffer {"connection_id":163687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:58:35] local.INFO: IMEI packet received {"connection_id":163687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 18:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":163687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:58:35] local.INFO: TCP Data received {"connection_id":164964,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0488aebb8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0488aebb8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:58:35] local.INFO: Processing buffer {"connection_id":164964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0488aebb8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:58:35] local.INFO: Packet analysis {"connection_id":164964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0488a"} 
[2026-08-28 18:58:35] local.INFO: Extracted packet for processing {"connection_id":164964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0488a"} 
[2026-08-28 18:58:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708328448001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:58:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:58:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787923459000,"timestamp_ms":1787923459000,"timestamp_seconds":1787923459,"priority":1,"record_length":96,"hex_timestamp":"000001a0488aebb8"} 
[2026-08-28 18:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:58:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:58:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:58:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":164964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":164964,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":164964,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:58:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708328448001,"66":25299,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708328448001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:58:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:58:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:58:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708328448001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:58:35] 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":709690,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:58:35] local.INFO: GPS data processed {"connection_id":164964,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:58:35] local.INFO: Acknowledgment sent {"connection_id":164964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:58:40] local.INFO: TCP Data received {"connection_id":163687,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:58:40] local.INFO: Processing buffer {"connection_id":163687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:58:40] local.INFO: IMEI packet received {"connection_id":163687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 18:58:40] local.INFO: IMEI acknowledgment sent {"connection_id":163687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:58:42] local.INFO: TCP Data received {"connection_id":163687,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0488cfb10012d34c14006aa4840000d00e62b..."} 
[2026-08-28 18:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0488cfb10012d34c14006aa4840000d00e62b..."} 
[2026-08-28 18:58:42] local.INFO: Processing buffer {"connection_id":163687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0488cfb10012d34c14006aa4840000d00e62b..."} 
[2026-08-28 18:58:42] local.INFO: Packet analysis {"connection_id":163687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0488c"} 
[2026-08-28 18:58:42] local.INFO: Extracted packet for processing {"connection_id":163687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0488c"} 
[2026-08-28 18:58:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 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-28 18:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708363008001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:58:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:58:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787923594000,"timestamp_ms":1787923594000,"timestamp_seconds":1787923594,"priority":1,"record_length":96,"hex_timestamp":"000001a0488cfb10"} 
[2026-08-28 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-28 18: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-28 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-28 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-28 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-28 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-28 18:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:58:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708363008001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708363008001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:58:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:58:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 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-28 18:58:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708363008001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:58: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":709691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:58:42] local.INFO: GPS data processed {"connection_id":163687,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:58:42] local.INFO: Acknowledgment sent {"connection_id":163687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:58:46] local.INFO: TCP Data received {"connection_id":163687,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0488cfb10012d34c14006aa4840000d00e62b..."} 
[2026-08-28 18:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0488cfb10012d34c14006aa4840000d00e62b..."} 
[2026-08-28 18:58:46] local.INFO: Processing buffer {"connection_id":163687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0488cfb10012d34c14006aa4840000d00e62b..."} 
[2026-08-28 18:58:46] local.INFO: Packet analysis {"connection_id":163687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0488c"} 
[2026-08-28 18:58:46] local.INFO: Extracted packet for processing {"connection_id":163687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0488c"} 
[2026-08-28 18:58:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708363008001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:58:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:58:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787923594000,"timestamp_ms":1787923594000,"timestamp_seconds":1787923594,"priority":1,"record_length":96,"hex_timestamp":"000001a0488cfb10"} 
[2026-08-28 18:58:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:58: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-28 18:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 18:58: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-28 18:58:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:58:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:58:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708363008001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708363008001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:58:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:58:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:58: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-28 18:58:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708363008001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:58:46] 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":709692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:58:46] local.INFO: GPS data processed {"connection_id":163687,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:58:46] local.INFO: Acknowledgment sent {"connection_id":163687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:58:48] local.INFO: TCP Data received {"connection_id":164965,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164965,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:58:48] local.INFO: Processing buffer {"connection_id":164965,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:58:48] local.INFO: IMEI packet received {"connection_id":164965,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 18:58:48] local.INFO: IMEI acknowledgment sent {"connection_id":164965,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:58:53] local.INFO: TCP Data received {"connection_id":164965,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164965,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:58:53] local.INFO: Processing buffer {"connection_id":164965,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:58:53] local.INFO: IMEI packet received {"connection_id":164965,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":164965,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:58:53] local.INFO: TCP Data received {"connection_id":164965,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0488de188012d19154007200bf00038006e2b..."} 
[2026-08-28 18:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0488de188012d19154007200bf00038006e2b..."} 
[2026-08-28 18:58:53] local.INFO: Processing buffer {"connection_id":164965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0488de188012d19154007200bf00038006e2b..."} 
[2026-08-28 18:58:53] local.INFO: Packet analysis {"connection_id":164965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0488d"} 
[2026-08-28 18:58:53] local.INFO: Extracted packet for processing {"connection_id":164965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0488d"} 
[2026-08-28 18:58:53] local.INFO: GPS Element Parsed {"raw_longitude":756618560,"raw_latitude":119540720,"longitude_deg":75.661856,"latitude_deg":11.954072,"altitude":56,"angle":110,"satellites":43,"speed":11,"hex_longitude":"2d191540","hex_latitude":"07200bf0","is_valid_coordinates":true} 
[2026-08-28 18:58:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:58:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708454912001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:58:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16028689099653120,"note":"Value kept but may cause issues"} 
[2026-08-28 18:58:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1807210118573230080,"note":"Value kept but may cause issues"} 
[2026-08-28 18:58:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:58:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787923653000,"timestamp_ms":1787923653000,"timestamp_seconds":1787923653,"priority":1,"record_length":96,"hex_timestamp":"000001a0488de188"} 
[2026-08-28 18:58:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:58:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:58:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-28 18:58:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:58:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:58:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:58:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:58:53] local.INFO: Teltonika packet parsed successfully {"connection_id":164965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:58:53] local.INFO: Passing IMEI to GPS processor {"connection_id":164965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:58:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":164965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:58:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:58:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:58:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:58:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708454912001,"66":12841,"102":206,"83":41984,"24":11,"16":16028689099653120,"45":1807210118573230080},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 18:58:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:58:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:58:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708454912001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:58:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 18:58:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:58:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16028689099653120,"km_value":16028689099653.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:58:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1807210118573230080,"description":"Unknown IO ID 45"} 
[2026-08-28 18:58:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708454912001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1807210118573230080}} 
[2026-08-28 18:58:54] local.INFO: DEBUG: GPS processor result {"connection_id":164965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709693,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:58:54] local.INFO: GPS data processed {"connection_id":164965,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:58:54] local.INFO: Acknowledgment sent {"connection_id":164965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:58:54] local.INFO: TCP Data received {"connection_id":164965,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0488de570012d19168007200bc80038005a2c..."} 
[2026-08-28 18:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0488de570012d19168007200bc80038005a2c..."} 
[2026-08-28 18:58:54] local.INFO: Processing buffer {"connection_id":164965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0488de570012d19168007200bc80038005a2c..."} 
[2026-08-28 18:58:54] local.INFO: Packet analysis {"connection_id":164965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0488d"} 
[2026-08-28 18:58:54] local.INFO: Extracted packet for processing {"connection_id":164965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0488d"} 
[2026-08-28 18:58:54] local.INFO: GPS Element Parsed {"raw_longitude":756618880,"raw_latitude":119540680,"longitude_deg":75.661888,"latitude_deg":11.954068,"altitude":56,"angle":90,"satellites":44,"speed":13,"hex_longitude":"2d191680","hex_latitude":"07200bc8","is_valid_coordinates":true} 
[2026-08-28 18:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:58:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708455168001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:58:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16028701984555008,"note":"Value kept but may cause issues"} 
[2026-08-28 18:58:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1807421224805724160,"note":"Value kept but may cause issues"} 
[2026-08-28 18:58:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:58:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787923654000,"timestamp_ms":1787923654000,"timestamp_seconds":1787923654,"priority":1,"record_length":96,"hex_timestamp":"000001a0488de570"} 
[2026-08-28 18:58:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:58:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-28 18:58:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:58:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:58:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:58:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:58:54] local.INFO: Teltonika packet parsed successfully {"connection_id":164965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:58:54] local.INFO: Passing IMEI to GPS processor {"connection_id":164965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:58:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":164965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:58:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:58:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:58:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:58:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708455168001,"66":13722,"102":206,"83":41984,"24":13,"16":16028701984555008,"45":1807421224805724160},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 18:58:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:58:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:58:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708455168001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:58:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 18:58:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:58:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16028701984555008,"km_value":16028701984555.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:58:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1807421224805724160,"description":"Unknown IO ID 45"} 
[2026-08-28 18:58:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708455168001,"power":13722,"unknown_102":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1807421224805724160}} 
[2026-08-28 18:58:54] local.INFO: DEBUG: GPS processor result {"connection_id":164965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709694,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:58:54] local.INFO: GPS data processed {"connection_id":164965,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:58:54] local.INFO: Acknowledgment sent {"connection_id":164965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:59:01] local.INFO: TCP Data received {"connection_id":163960,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163960,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:59:01] local.INFO: Processing buffer {"connection_id":163960,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:59:01] local.INFO: IMEI packet received {"connection_id":163960,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 18:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":163960,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:59:06] local.INFO: TCP Data received {"connection_id":163960,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163960,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:59:06] local.INFO: Processing buffer {"connection_id":163960,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:59:06] local.INFO: IMEI packet received {"connection_id":163960,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 18:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":163960,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:59:08] local.INFO: TCP Data received {"connection_id":163960,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0488aebb8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0488aebb8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:59:08] local.INFO: Processing buffer {"connection_id":163960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0488aebb8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:59:08] local.INFO: Packet analysis {"connection_id":163960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0488a"} 
[2026-08-28 18:59:08] local.INFO: Extracted packet for processing {"connection_id":163960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0488a"} 
[2026-08-28 18:59:08] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708328448001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:59:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787923459000,"timestamp_ms":1787923459000,"timestamp_seconds":1787923459,"priority":1,"record_length":96,"hex_timestamp":"000001a0488aebb8"} 
[2026-08-28 18:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:59:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:59:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:59:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163960,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163960,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:59:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708328448001,"66":25299,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708328448001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:59:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:59:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708328448001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":163960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709695,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:59:09] local.INFO: GPS data processed {"connection_id":163960,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:59:09] local.INFO: Acknowledgment sent {"connection_id":163960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:59:12] local.INFO: TCP Data received {"connection_id":163960,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0488aebb8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0488aebb8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:59:12] local.INFO: Processing buffer {"connection_id":163960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0488aebb8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:59:12] local.INFO: Packet analysis {"connection_id":163960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0488a"} 
[2026-08-28 18:59:12] local.INFO: Extracted packet for processing {"connection_id":163960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0488a"} 
[2026-08-28 18:59:12] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:59:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708328448001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:59:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:59:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:59:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:59:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787923459000,"timestamp_ms":1787923459000,"timestamp_seconds":1787923459,"priority":1,"record_length":96,"hex_timestamp":"000001a0488aebb8"} 
[2026-08-28 18:59:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:59:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 18:59: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-28 18:59:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:59:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:59:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:59:12] local.INFO: Teltonika packet parsed successfully {"connection_id":163960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:59:12] local.INFO: Passing IMEI to GPS processor {"connection_id":163960,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:59:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":163960,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:59:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:59:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:59:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:59:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708328448001,"66":25299,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:59:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:59:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:59:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708328448001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:59:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:59:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:59:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:59:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:59:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708328448001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 18:59:12] local.INFO: DEBUG: GPS processor result {"connection_id":163960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709696,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:59:12] local.INFO: GPS data processed {"connection_id":163960,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:59:12] local.INFO: Acknowledgment sent {"connection_id":163960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:59:25] local.INFO: TCP Data received {"connection_id":164965,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0488e3778012d19264007200bb0003400592b..."} 
[2026-08-28 18:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0488e3778012d19264007200bb0003400592b..."} 
[2026-08-28 18:59:25] local.INFO: Processing buffer {"connection_id":164965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0488e3778012d19264007200bb0003400592b..."} 
[2026-08-28 18:59:25] local.INFO: Packet analysis {"connection_id":164965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0488e"} 
[2026-08-28 18:59:25] local.INFO: Extracted packet for processing {"connection_id":164965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0488e"} 
[2026-08-28 18:59:25] local.INFO: GPS Element Parsed {"raw_longitude":756622912,"raw_latitude":119540656,"longitude_deg":75.6622912,"latitude_deg":11.9540656,"altitude":52,"angle":89,"satellites":43,"speed":0,"hex_longitude":"2d192640","hex_latitude":"07200bb0","is_valid_coordinates":true} 
[2026-08-28 18:59:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:59:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708455424001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:59:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16028895258083328,"note":"Value kept but may cause issues"} 
[2026-08-28 18:59:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1807773068526602240,"note":"Value kept but may cause issues"} 
[2026-08-28 18:59:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:59:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787923675000,"timestamp_ms":1787923675000,"timestamp_seconds":1787923675,"priority":1,"record_length":96,"hex_timestamp":"000001a0488e3778"} 
[2026-08-28 18:59:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:59:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 18:59:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-08-28 18:59:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:59:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:59:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:59:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:59:25] local.INFO: Teltonika packet parsed successfully {"connection_id":164965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:59:25] local.INFO: Passing IMEI to GPS processor {"connection_id":164965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:59:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":164965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 18:59:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:59:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 18:59:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 18:59:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708455424001,"66":13820,"102":206,"83":41984,"24":0,"16":16028895258083328,"45":1807773068526602240},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 18:59:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 18:59:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 18:59:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708455424001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:59:25] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 18:59:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 18:59:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16028895258083328,"km_value":16028895258083.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:59:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1807773068526602240,"description":"Unknown IO ID 45"} 
[2026-08-28 18:59:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708455424001,"power":13820,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1807773068526602240}} 
[2026-08-28 18:59:25] local.INFO: DEBUG: GPS processor result {"connection_id":164965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709697,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:59:25] local.INFO: GPS data processed {"connection_id":164965,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:59:25] local.INFO: Acknowledgment sent {"connection_id":164965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:59:30] local.INFO: TCP Data received {"connection_id":163961,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:59:30] local.INFO: Processing buffer {"connection_id":163961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:59:30] local.INFO: IMEI packet received {"connection_id":163961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 18:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":163961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:59:35] local.INFO: TCP Data received {"connection_id":163961,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:59:35] local.INFO: Processing buffer {"connection_id":163961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 18:59:35] local.INFO: IMEI packet received {"connection_id":163961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 18:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":163961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:59:37] local.INFO: TCP Data received {"connection_id":163961,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0488cfb10012d34c14006aa4840000d00e62b..."} 
[2026-08-28 18:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0488cfb10012d34c14006aa4840000d00e62b..."} 
[2026-08-28 18:59:37] local.INFO: Processing buffer {"connection_id":163961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0488cfb10012d34c14006aa4840000d00e62b..."} 
[2026-08-28 18:59:37] local.INFO: Packet analysis {"connection_id":163961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0488c"} 
[2026-08-28 18:59:37] local.INFO: Extracted packet for processing {"connection_id":163961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0488c"} 
[2026-08-28 18:59:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 18:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708363008001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 18:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 18:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787923594000,"timestamp_ms":1787923594000,"timestamp_seconds":1787923594,"priority":1,"record_length":96,"hex_timestamp":"000001a0488cfb10"} 
[2026-08-28 18:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 18:59:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 18:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 18:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 18:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 18:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708363008001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 18:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 18:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708363008001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:59:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:59:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:59: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-28 18:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 18:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708363008001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 18:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":163961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 18:59:37] local.INFO: GPS data processed {"connection_id":163961,"processed":1,"errors":0,"total":1} 
[2026-08-28 18:59:37] local.INFO: Acknowledgment sent {"connection_id":163961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 18:59:41] local.INFO: TCP Data received {"connection_id":163962,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163962,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:59:41] local.INFO: Processing buffer {"connection_id":163962,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:59:41] local.INFO: IMEI packet received {"connection_id":163962,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 18:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":163962,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:59:42] local.INFO: TCP Data received {"connection_id":163962,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163962,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:59:42] local.INFO: Processing buffer {"connection_id":163962,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:59:42] local.INFO: IMEI packet received {"connection_id":163962,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:59:42] local.INFO: IMEI acknowledgment sent {"connection_id":163962,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:59:43] local.INFO: TCP Data received {"connection_id":163962,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163962,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:59:43] local.INFO: Processing buffer {"connection_id":163962,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:59:43] local.INFO: IMEI packet received {"connection_id":163962,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:59:43] local.INFO: IMEI acknowledgment sent {"connection_id":163962,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:59:44] local.INFO: TCP Data received {"connection_id":163962,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163962,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:59:44] local.INFO: Processing buffer {"connection_id":163962,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 18:59:44] local.INFO: IMEI packet received {"connection_id":163962,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 18:59:44] local.INFO: IMEI acknowledgment sent {"connection_id":163962,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:59:56] local.INFO: TCP Data received {"connection_id":163963,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163963,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:59:56] local.INFO: Processing buffer {"connection_id":163963,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:59:56] local.INFO: IMEI packet received {"connection_id":163963,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 18:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":163963,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 18:59:58] local.INFO: TCP Data received {"connection_id":163963,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163963,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:59:58] local.INFO: Processing buffer {"connection_id":163963,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 18:59:58] local.INFO: IMEI packet received {"connection_id":163963,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 18:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":163963,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 18:59:59] local.INFO: TCP Data received {"connection_id":163963,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0488f8380012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0488f8380012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:59:59] local.INFO: Processing buffer {"connection_id":163963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0488f8380012d34bcc006aa41e0000d000026..."} 
[2026-08-28 18:59:59] local.INFO: Packet analysis {"connection_id":163963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0488f"} 
[2026-08-28 18:59:59] local.INFO: Extracted packet for processing {"connection_id":163963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0488f"} 
[2026-08-28 18:59:59] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 18:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 18:59:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708405504001,"note":"Value kept but may cause issues"} 
[2026-08-28 18:59:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 18:59:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 18:59:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 18:59:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787923760000,"timestamp_ms":1787923760000,"timestamp_seconds":1787923760,"priority":1,"record_length":96,"hex_timestamp":"000001a0488f8380"} 
[2026-08-28 18:59:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 18:59:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 18:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 18:59:59] 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-28 18:59:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 18:59:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 18:59:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 18:59:59] local.INFO: Teltonika packet parsed successfully {"connection_id":163963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 18:59:59] local.INFO: Passing IMEI to GPS processor {"connection_id":163963,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:59:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":163963,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 18:59:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 18:59:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 18:59:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 18:59:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708405504001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 18:59:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 18:59:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 18:59:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708405504001,"description":"Unknown IO ID 0"} 
[2026-08-28 18:59:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 18:59:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 18:59:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 18:59:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 18:59:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708405504001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:00:00] local.INFO: DEBUG: GPS processor result {"connection_id":163963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709699,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:00:00] local.INFO: GPS data processed {"connection_id":163963,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:00:00] local.INFO: Acknowledgment sent {"connection_id":163963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:00:08] local.INFO: TCP Data received {"connection_id":163961,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0488cfb10012d34c14006aa4840000d00e62b..."} 
[2026-08-28 19:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0488cfb10012d34c14006aa4840000d00e62b..."} 
[2026-08-28 19:00:08] local.INFO: Processing buffer {"connection_id":163961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0488cfb10012d34c14006aa4840000d00e62b..."} 
[2026-08-28 19:00:08] local.INFO: Packet analysis {"connection_id":163961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0488c"} 
[2026-08-28 19:00:08] local.INFO: Extracted packet for processing {"connection_id":163961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0488c"} 
[2026-08-28 19:00:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:00:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708363008001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:00:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:00:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:00:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:00:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787923594000,"timestamp_ms":1787923594000,"timestamp_seconds":1787923594,"priority":1,"record_length":96,"hex_timestamp":"000001a0488cfb10"} 
[2026-08-28 19:00:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:00: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-28 19:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 19:00:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:00:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:00:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:00:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:00:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:00:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:00:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:00:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:00:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:00:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:00:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708363008001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:00:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:00:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:00:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708363008001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:00:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:00:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:00: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-28 19:00:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:00:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708363008001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:00:08] local.INFO: DEBUG: GPS processor result {"connection_id":163961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:00:08] local.INFO: GPS data processed {"connection_id":163961,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:00:08] local.INFO: Acknowledgment sent {"connection_id":163961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:00:30] local.INFO: TCP Data received {"connection_id":166328,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:00:30] local.INFO: Processing buffer {"connection_id":166328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:00:30] local.INFO: IMEI packet received {"connection_id":166328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 19:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":166328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:00:33] local.INFO: TCP Data received {"connection_id":163963,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0488f8380012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0488f8380012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:00:33] local.INFO: Processing buffer {"connection_id":163963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0488f8380012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:00:33] local.INFO: Packet analysis {"connection_id":163963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0488f"} 
[2026-08-28 19:00:33] local.INFO: Extracted packet for processing {"connection_id":163963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0488f"} 
[2026-08-28 19:00:33] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708405504001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787923760000,"timestamp_ms":1787923760000,"timestamp_seconds":1787923760,"priority":1,"record_length":96,"hex_timestamp":"000001a0488f8380"} 
[2026-08-28 19:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:00:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 19:00:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:00:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":163963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":163963,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":163963,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708405504001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708405504001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:00:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:00:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708405504001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":163963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709701,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:00:33] local.INFO: GPS data processed {"connection_id":163963,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:00:33] local.INFO: Acknowledgment sent {"connection_id":163963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:00:35] local.INFO: TCP Data received {"connection_id":166328,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:00:35] local.INFO: Processing buffer {"connection_id":166328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:00:35] local.INFO: IMEI packet received {"connection_id":166328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 19:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":166328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:00:38] local.INFO: TCP Data received {"connection_id":166328,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0488cfb10012d34c14006aa4840000d00e62b..."} 
[2026-08-28 19:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0488cfb10012d34c14006aa4840000d00e62b..."} 
[2026-08-28 19:00:38] local.INFO: Processing buffer {"connection_id":166328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0488cfb10012d34c14006aa4840000d00e62b..."} 
[2026-08-28 19:00:38] local.INFO: Packet analysis {"connection_id":166328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0488c"} 
[2026-08-28 19:00:38] local.INFO: Extracted packet for processing {"connection_id":166328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0488c"} 
[2026-08-28 19:00:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708363008001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:00:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787923594000,"timestamp_ms":1787923594000,"timestamp_seconds":1787923594,"priority":1,"record_length":96,"hex_timestamp":"000001a0488cfb10"} 
[2026-08-28 19:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:00:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 19:00:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:00:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":166328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":166328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":166328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:00:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708363008001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708363008001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:00:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:00:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:00: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-28 19:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708363008001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":166328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:00:38] local.INFO: GPS data processed {"connection_id":166328,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:00:38] local.INFO: Acknowledgment sent {"connection_id":166328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:00:56] local.INFO: TCP Data received {"connection_id":163964,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163964,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:00:56] local.INFO: Processing buffer {"connection_id":163964,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:00:56] local.INFO: IMEI packet received {"connection_id":163964,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 19:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":163964,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:01:01] local.INFO: TCP Data received {"connection_id":163964,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163964,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:01:01] local.INFO: Processing buffer {"connection_id":163964,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:01:01] local.INFO: IMEI packet received {"connection_id":163964,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 19:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":163964,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:01:04] local.INFO: TCP Data received {"connection_id":163964,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0488f8380012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0488f8380012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:01:04] local.INFO: Processing buffer {"connection_id":163964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0488f8380012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:01:04] local.INFO: Packet analysis {"connection_id":163964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0488f"} 
[2026-08-28 19:01:04] local.INFO: Extracted packet for processing {"connection_id":163964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0488f"} 
[2026-08-28 19:01:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708405504001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:01:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787923760000,"timestamp_ms":1787923760000,"timestamp_seconds":1787923760,"priority":1,"record_length":96,"hex_timestamp":"000001a0488f8380"} 
[2026-08-28 19:01:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:01:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 19:01:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:01:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:01:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":163964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":163964,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":163964,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708405504001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708405504001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:01:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:01:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708405504001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":163964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709703,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:01:04] local.INFO: GPS data processed {"connection_id":163964,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:01:04] local.INFO: Acknowledgment sent {"connection_id":163964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:01:10] local.INFO: TCP Data received {"connection_id":166328,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0488cfb10012d34c14006aa4840000d00e62b..."} 
[2026-08-28 19:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0488cfb10012d34c14006aa4840000d00e62b..."} 
[2026-08-28 19:01:10] local.INFO: Processing buffer {"connection_id":166328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0488cfb10012d34c14006aa4840000d00e62b..."} 
[2026-08-28 19:01:10] local.INFO: Packet analysis {"connection_id":166328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0488c"} 
[2026-08-28 19:01:10] local.INFO: Extracted packet for processing {"connection_id":166328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0488c"} 
[2026-08-28 19:01:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708363008001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:01:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787923594000,"timestamp_ms":1787923594000,"timestamp_seconds":1787923594,"priority":1,"record_length":96,"hex_timestamp":"000001a0488cfb10"} 
[2026-08-28 19:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:01:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 19:01:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:01:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":166328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":166328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":166328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:01:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708363008001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708363008001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:01:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:01:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708363008001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":166328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:01:10] local.INFO: GPS data processed {"connection_id":166328,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:01:10] local.INFO: Acknowledgment sent {"connection_id":166328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:01:30] local.INFO: TCP Data received {"connection_id":163688,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:01:30] local.INFO: Processing buffer {"connection_id":163688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:01:30] local.INFO: IMEI packet received {"connection_id":163688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 19:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":163688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:01:35] local.INFO: TCP Data received {"connection_id":163688,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:01:35] local.INFO: Processing buffer {"connection_id":163688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:01:35] local.INFO: IMEI packet received {"connection_id":163688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 19:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":163688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:01:36] local.INFO: TCP Data received {"connection_id":163964,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0488f8380012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0488f8380012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:01:36] local.INFO: Processing buffer {"connection_id":163964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0488f8380012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:01:36] local.INFO: Packet analysis {"connection_id":163964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0488f"} 
[2026-08-28 19:01:36] local.INFO: Extracted packet for processing {"connection_id":163964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0488f"} 
[2026-08-28 19:01:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708405504001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787923760000,"timestamp_ms":1787923760000,"timestamp_seconds":1787923760,"priority":1,"record_length":96,"hex_timestamp":"000001a0488f8380"} 
[2026-08-28 19:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 19:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:01:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163964,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163964,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708405504001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708405504001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:01:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:01:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708405504001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":163964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709705,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:01:36] local.INFO: GPS data processed {"connection_id":163964,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:01:36] local.INFO: Acknowledgment sent {"connection_id":163964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:01:37] local.INFO: TCP Data received {"connection_id":163688,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0488cfb10012d34c14006aa4840000d00e62b..."} 
[2026-08-28 19:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0488cfb10012d34c14006aa4840000d00e62b..."} 
[2026-08-28 19:01:37] local.INFO: Processing buffer {"connection_id":163688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0488cfb10012d34c14006aa4840000d00e62b..."} 
[2026-08-28 19:01:37] local.INFO: Packet analysis {"connection_id":163688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0488c"} 
[2026-08-28 19:01:37] local.INFO: Extracted packet for processing {"connection_id":163688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0488c"} 
[2026-08-28 19:01:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708363008001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787923594000,"timestamp_ms":1787923594000,"timestamp_seconds":1787923594,"priority":1,"record_length":96,"hex_timestamp":"000001a0488cfb10"} 
[2026-08-28 19:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 19:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708363008001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708363008001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:01:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:01:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:01: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-28 19:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708363008001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":163688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:01:37] local.INFO: GPS data processed {"connection_id":163688,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:01:37] local.INFO: Acknowledgment sent {"connection_id":163688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:01:56] local.INFO: TCP Data received {"connection_id":163689,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163689,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:01:56] local.INFO: Processing buffer {"connection_id":163689,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:01:56] local.INFO: IMEI packet received {"connection_id":163689,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 19:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":163689,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:02:01] local.INFO: TCP Data received {"connection_id":163689,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163689,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:02:01] local.INFO: Processing buffer {"connection_id":163689,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:02:01] local.INFO: IMEI packet received {"connection_id":163689,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 19:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":163689,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:02:03] local.INFO: TCP Data received {"connection_id":163689,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0488f8380012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0488f8380012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:02:03] local.INFO: Processing buffer {"connection_id":163689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0488f8380012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:02:03] local.INFO: Packet analysis {"connection_id":163689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0488f"} 
[2026-08-28 19:02:03] local.INFO: Extracted packet for processing {"connection_id":163689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0488f"} 
[2026-08-28 19:02:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708405504001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:02:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787923760000,"timestamp_ms":1787923760000,"timestamp_seconds":1787923760,"priority":1,"record_length":96,"hex_timestamp":"000001a0488f8380"} 
[2026-08-28 19:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:02:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 19:02:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:02:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163689,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163689,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708405504001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708405504001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:02:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:02:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708405504001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:02:03] 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":709707,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:02:03] local.INFO: GPS data processed {"connection_id":163689,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:02:03] local.INFO: Acknowledgment sent {"connection_id":163689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:02:10] local.INFO: TCP Data received {"connection_id":163688,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0488cfb10012d34c14006aa4840000d00e62b..."} 
[2026-08-28 19:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0488cfb10012d34c14006aa4840000d00e62b..."} 
[2026-08-28 19:02:10] local.INFO: Processing buffer {"connection_id":163688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0488cfb10012d34c14006aa4840000d00e62b..."} 
[2026-08-28 19:02:10] local.INFO: Packet analysis {"connection_id":163688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0488c"} 
[2026-08-28 19:02:10] local.INFO: Extracted packet for processing {"connection_id":163688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0488c"} 
[2026-08-28 19:02:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708363008001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:02:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:02:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787923594000,"timestamp_ms":1787923594000,"timestamp_seconds":1787923594,"priority":1,"record_length":96,"hex_timestamp":"000001a0488cfb10"} 
[2026-08-28 19:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:02:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 19:02:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:02:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":163688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":163688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":163688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:02:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708363008001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708363008001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:02:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:02:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708363008001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":163688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:02:10] local.INFO: GPS data processed {"connection_id":163688,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:02:10] local.INFO: Acknowledgment sent {"connection_id":163688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:02:35] local.INFO: TCP Data received {"connection_id":163689,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0488f8380012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0488f8380012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:02:35] local.INFO: Processing buffer {"connection_id":163689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0488f8380012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:02:35] local.INFO: Packet analysis {"connection_id":163689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0488f"} 
[2026-08-28 19:02:35] local.INFO: Extracted packet for processing {"connection_id":163689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0488f"} 
[2026-08-28 19:02:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708405504001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787923760000,"timestamp_ms":1787923760000,"timestamp_seconds":1787923760,"priority":1,"record_length":96,"hex_timestamp":"000001a0488f8380"} 
[2026-08-28 19:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:02:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 19:02:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:02:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163689,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163689,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708405504001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708405504001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:02:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:02:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708405504001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:02:35] 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":709709,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:02:35] local.INFO: GPS data processed {"connection_id":163689,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:02:35] local.INFO: Acknowledgment sent {"connection_id":163689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:02:35] local.INFO: TCP Data received {"connection_id":166330,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:02:35] local.INFO: Processing buffer {"connection_id":166330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:02:35] local.INFO: IMEI packet received {"connection_id":166330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 19:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":166330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:02:40] local.INFO: TCP Data received {"connection_id":166330,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:02:40] local.INFO: Processing buffer {"connection_id":166330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:02:40] local.INFO: IMEI packet received {"connection_id":166330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 19:02:40] local.INFO: IMEI acknowledgment sent {"connection_id":166330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:02:41] local.INFO: TCP Data received {"connection_id":166330,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0489192d8012d34c14006aa4840001000e62b..."} 
[2026-08-28 19:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0489192d8012d34c14006aa4840001000e62b..."} 
[2026-08-28 19:02:41] local.INFO: Processing buffer {"connection_id":166330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0489192d8012d34c14006aa4840001000e62b..."} 
[2026-08-28 19:02:41] local.INFO: Packet analysis {"connection_id":166330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04891"} 
[2026-08-28 19:02:41] local.INFO: Extracted packet for processing {"connection_id":166330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04891"} 
[2026-08-28 19:02:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19: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-28 19:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708440064001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:02:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:02:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787923895000,"timestamp_ms":1787923895000,"timestamp_seconds":1787923895,"priority":1,"record_length":96,"hex_timestamp":"000001a0489192d8"} 
[2026-08-28 19: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-28 19:02:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 19:02: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-28 19: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-28 19: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-28 19:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":166330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":166330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":166330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:02:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708440064001,"66":24908,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708440064001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:02:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:02:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19: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-28 19:02:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708440064001,"power":24908,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":166330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:02:41] local.INFO: GPS data processed {"connection_id":166330,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:02:41] local.INFO: Acknowledgment sent {"connection_id":166330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:02:47] local.INFO: TCP Data received {"connection_id":166330,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0489192d8012d34c14006aa4840001000e62b..."} 
[2026-08-28 19:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0489192d8012d34c14006aa4840001000e62b..."} 
[2026-08-28 19:02:47] local.INFO: Processing buffer {"connection_id":166330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0489192d8012d34c14006aa4840001000e62b..."} 
[2026-08-28 19:02:47] local.INFO: Packet analysis {"connection_id":166330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04891"} 
[2026-08-28 19:02:47] local.INFO: Extracted packet for processing {"connection_id":166330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04891"} 
[2026-08-28 19:02:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:02:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708440064001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:02:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:02:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:02:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:02:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787923895000,"timestamp_ms":1787923895000,"timestamp_seconds":1787923895,"priority":1,"record_length":96,"hex_timestamp":"000001a0489192d8"} 
[2026-08-28 19:02:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:02:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:02:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 19: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-28 19:02:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:02:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:02:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:02:47] local.INFO: Teltonika packet parsed successfully {"connection_id":166330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:02:47] local.INFO: Passing IMEI to GPS processor {"connection_id":166330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:02:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":166330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:02:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:02:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:02:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:02:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708440064001,"66":24908,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:02:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:02:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:02:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708440064001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:02:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:02:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19: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-28 19:02:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:02:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708440064001,"power":24908,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:02:47] local.INFO: DEBUG: GPS processor result {"connection_id":166330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:02:47] local.INFO: GPS data processed {"connection_id":166330,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:02:47] local.INFO: Acknowledgment sent {"connection_id":166330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:03:01] local.INFO: TCP Data received {"connection_id":163965,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163965,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:03:01] local.INFO: Processing buffer {"connection_id":163965,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:03:01] local.INFO: IMEI packet received {"connection_id":163965,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 19:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":163965,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:03:06] local.INFO: TCP Data received {"connection_id":163965,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163965,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:03:06] local.INFO: Processing buffer {"connection_id":163965,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:03:06] local.INFO: IMEI packet received {"connection_id":163965,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 19:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":163965,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:03:08] local.INFO: TCP Data received {"connection_id":163965,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0488f8380012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0488f8380012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:03:08] local.INFO: Processing buffer {"connection_id":163965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0488f8380012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:03:08] local.INFO: Packet analysis {"connection_id":163965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0488f"} 
[2026-08-28 19:03:08] local.INFO: Extracted packet for processing {"connection_id":163965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0488f"} 
[2026-08-28 19:03:08] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708405504001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:03:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787923760000,"timestamp_ms":1787923760000,"timestamp_seconds":1787923760,"priority":1,"record_length":96,"hex_timestamp":"000001a0488f8380"} 
[2026-08-28 19:03:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:03:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 19:03:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:03:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:03:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163965,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163965,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:03:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708405504001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708405504001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:03:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:03:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708405504001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":163965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709712,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:03:08] local.INFO: GPS data processed {"connection_id":163965,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:03:08] local.INFO: Acknowledgment sent {"connection_id":163965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:03:12] local.INFO: TCP Data received {"connection_id":163965,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0488f8380012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0488f8380012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:03:12] local.INFO: Processing buffer {"connection_id":163965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0488f8380012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:03:12] local.INFO: Packet analysis {"connection_id":163965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0488f"} 
[2026-08-28 19:03:12] local.INFO: Extracted packet for processing {"connection_id":163965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0488f"} 
[2026-08-28 19:03:12] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708405504001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:03:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:03:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787923760000,"timestamp_ms":1787923760000,"timestamp_seconds":1787923760,"priority":1,"record_length":96,"hex_timestamp":"000001a0488f8380"} 
[2026-08-28 19:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:03:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 19:03:12] 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-28 19:03:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":163965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":163965,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":163965,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708405504001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708405504001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:03:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:03:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:03:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708405504001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:03:13] local.INFO: DEBUG: GPS processor result {"connection_id":163965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709713,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:03:13] local.INFO: GPS data processed {"connection_id":163965,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:03:13] local.INFO: Acknowledgment sent {"connection_id":163965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:03:31] local.INFO: TCP Data received {"connection_id":163690,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:03:31] local.INFO: Processing buffer {"connection_id":163690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:03:31] local.INFO: IMEI packet received {"connection_id":163690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 19:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":163690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:03:36] local.INFO: TCP Data received {"connection_id":163690,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:03:36] local.INFO: Processing buffer {"connection_id":163690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:03:36] local.INFO: IMEI packet received {"connection_id":163690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 19:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":163690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:03:37] local.INFO: TCP Data received {"connection_id":163690,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0489192d8012d34c14006aa4840001000e62b..."} 
[2026-08-28 19:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0489192d8012d34c14006aa4840001000e62b..."} 
[2026-08-28 19:03:37] local.INFO: Processing buffer {"connection_id":163690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0489192d8012d34c14006aa4840001000e62b..."} 
[2026-08-28 19:03:37] local.INFO: Packet analysis {"connection_id":163690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04891"} 
[2026-08-28 19:03:37] local.INFO: Extracted packet for processing {"connection_id":163690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04891"} 
[2026-08-28 19:03:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708440064001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:03:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787923895000,"timestamp_ms":1787923895000,"timestamp_seconds":1787923895,"priority":1,"record_length":96,"hex_timestamp":"000001a0489192d8"} 
[2026-08-28 19:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 19:03:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:03:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708440064001,"66":24908,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708440064001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:03:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:03:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:03: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-28 19:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708440064001,"power":24908,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":163690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:03:37] local.INFO: GPS data processed {"connection_id":163690,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:03:37] local.INFO: Acknowledgment sent {"connection_id":163690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:03:56] local.INFO: TCP Data received {"connection_id":163966,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163966,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:03:56] local.INFO: Processing buffer {"connection_id":163966,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:03:56] local.INFO: IMEI packet received {"connection_id":163966,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 19:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":163966,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:04:01] local.INFO: TCP Data received {"connection_id":163966,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163966,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:04:01] local.INFO: Processing buffer {"connection_id":163966,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:04:01] local.INFO: IMEI packet received {"connection_id":163966,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 19:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":163966,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:04:03] local.INFO: TCP Data received {"connection_id":163966,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0488f8380012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0488f8380012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:04:03] local.INFO: Processing buffer {"connection_id":163966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0488f8380012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:04:03] local.INFO: Packet analysis {"connection_id":163966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0488f"} 
[2026-08-28 19:04:03] local.INFO: Extracted packet for processing {"connection_id":163966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0488f"} 
[2026-08-28 19:04:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708405504001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787923760000,"timestamp_ms":1787923760000,"timestamp_seconds":1787923760,"priority":1,"record_length":96,"hex_timestamp":"000001a0488f8380"} 
[2026-08-28 19:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:04:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 19:04:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:04:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163966,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163966,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708405504001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708405504001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:04:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:04:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708405504001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":163966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709715,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:04:03] local.INFO: GPS data processed {"connection_id":163966,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:04:03] local.INFO: Acknowledgment sent {"connection_id":163966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:04:09] local.INFO: TCP Data received {"connection_id":163690,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0489192d8012d34c14006aa4840001000e62b..."} 
[2026-08-28 19:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0489192d8012d34c14006aa4840001000e62b..."} 
[2026-08-28 19:04:09] local.INFO: Processing buffer {"connection_id":163690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0489192d8012d34c14006aa4840001000e62b..."} 
[2026-08-28 19:04:09] local.INFO: Packet analysis {"connection_id":163690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04891"} 
[2026-08-28 19:04:09] local.INFO: Extracted packet for processing {"connection_id":163690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04891"} 
[2026-08-28 19:04:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708440064001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:04:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:04:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787923895000,"timestamp_ms":1787923895000,"timestamp_seconds":1787923895,"priority":1,"record_length":96,"hex_timestamp":"000001a0489192d8"} 
[2026-08-28 19:04:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:04:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 19:04:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:04:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:04:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:04:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708440064001,"66":24908,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708440064001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:04:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:04:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:04: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-28 19:04:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708440064001,"power":24908,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":163690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:04:09] local.INFO: GPS data processed {"connection_id":163690,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:04:09] local.INFO: Acknowledgment sent {"connection_id":163690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:04:30] local.INFO: TCP Data received {"connection_id":163691,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:04:30] local.INFO: Processing buffer {"connection_id":163691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:04:30] local.INFO: IMEI packet received {"connection_id":163691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 19:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":163691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:04:35] local.INFO: TCP Data received {"connection_id":163966,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0488f8380012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0488f8380012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:04:35] local.INFO: Processing buffer {"connection_id":163966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0488f8380012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:04:35] local.INFO: Packet analysis {"connection_id":163966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0488f"} 
[2026-08-28 19:04:35] local.INFO: Extracted packet for processing {"connection_id":163966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0488f"} 
[2026-08-28 19:04:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708405504001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:04:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787923760000,"timestamp_ms":1787923760000,"timestamp_seconds":1787923760,"priority":1,"record_length":96,"hex_timestamp":"000001a0488f8380"} 
[2026-08-28 19:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:04:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 19:04:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:04:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163966,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163966,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708405504001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708405504001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:04:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:04:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708405504001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":163966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709717,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:04:35] local.INFO: GPS data processed {"connection_id":163966,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:04:35] local.INFO: Acknowledgment sent {"connection_id":163966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:04:35] local.INFO: TCP Data received {"connection_id":163691,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:04:35] local.INFO: Processing buffer {"connection_id":163691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:04:35] local.INFO: IMEI packet received {"connection_id":163691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 19:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":163691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:04:36] local.INFO: TCP Data received {"connection_id":163691,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0489192d8012d34c14006aa4840001000e62b..."} 
[2026-08-28 19:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0489192d8012d34c14006aa4840001000e62b..."} 
[2026-08-28 19:04:36] local.INFO: Processing buffer {"connection_id":163691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0489192d8012d34c14006aa4840001000e62b..."} 
[2026-08-28 19:04:36] local.INFO: Packet analysis {"connection_id":163691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04891"} 
[2026-08-28 19:04:36] local.INFO: Extracted packet for processing {"connection_id":163691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04891"} 
[2026-08-28 19:04:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708440064001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:04:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787923895000,"timestamp_ms":1787923895000,"timestamp_seconds":1787923895,"priority":1,"record_length":96,"hex_timestamp":"000001a0489192d8"} 
[2026-08-28 19:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:04:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 19:04:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:04:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:04:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708440064001,"66":24908,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708440064001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:04:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:04:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708440064001,"power":24908,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:04:37] 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":709718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:04:37] local.INFO: GPS data processed {"connection_id":163691,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:04:37] local.INFO: Acknowledgment sent {"connection_id":163691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:04:48] local.INFO: TCP Data received {"connection_id":164969,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:04:48] local.INFO: Processing buffer {"connection_id":164969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:04:48] local.INFO: IMEI packet received {"connection_id":164969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 19:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":164969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:04:48] local.INFO: TCP Data received {"connection_id":164969,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048903730012d196740071feea0003e00512d..."} 
[2026-08-28 19:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048903730012d196740071feea0003e00512d..."} 
[2026-08-28 19:04:48] local.INFO: Processing buffer {"connection_id":164969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048903730012d196740071feea0003e00512d..."} 
[2026-08-28 19:04:48] local.INFO: Packet analysis {"connection_id":164969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04890"} 
[2026-08-28 19:04:48] local.INFO: Extracted packet for processing {"connection_id":164969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04890"} 
[2026-08-28 19:04:48] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533216,"longitude_deg":75.6639552,"latitude_deg":11.9533216,"altitude":62,"angle":81,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071feea0","is_valid_coordinates":true} 
[2026-08-28 19: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-28 19:04:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708488960001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:04:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16029878805594112,"note":"Value kept but may cause issues"} 
[2026-08-28 19:04:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894076928,"note":"Value kept but may cause issues"} 
[2026-08-28 19:04:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:04:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787923806000,"timestamp_ms":1787923806000,"timestamp_seconds":1787923806,"priority":1,"record_length":96,"hex_timestamp":"000001a048903730"} 
[2026-08-28 19: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-28 19:04:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-28 19:04:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19: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-28 19: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-28 19:04:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:04:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:04:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:04:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:04:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:04:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:04:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:04:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708488960001,"66":12330,"102":206,"83":41984,"24":0,"16":16029878805594112,"45":1830502172894076928},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 19:04:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:04:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:04:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708488960001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:04:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 19:04:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:04:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16029878805594112,"km_value":16029878805594.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:04:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894076928,"description":"Unknown IO ID 45"} 
[2026-08-28 19:04:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708488960001,"power":12330,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894076928}} 
[2026-08-28 19:04:49] 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":709719,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:04:49] local.INFO: GPS data processed {"connection_id":164969,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:04:49] local.INFO: Acknowledgment sent {"connection_id":164969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:04:56] local.INFO: TCP Data received {"connection_id":164970,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164970,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:04:56] local.INFO: Processing buffer {"connection_id":164970,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:04:56] local.INFO: IMEI packet received {"connection_id":164970,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 19:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":164970,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:04:59] local.INFO: TCP Data received {"connection_id":164970,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164970,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:04:59] local.INFO: Processing buffer {"connection_id":164970,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:04:59] local.INFO: IMEI packet received {"connection_id":164970,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 19:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":164970,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:05:01] local.INFO: TCP Data received {"connection_id":164970,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164970,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:05:01] local.INFO: Processing buffer {"connection_id":164970,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:05:01] local.INFO: IMEI packet received {"connection_id":164970,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 19:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":164970,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:05:02] local.INFO: TCP Data received {"connection_id":164970,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048941b48012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048941b48012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:05:02] local.INFO: Processing buffer {"connection_id":164970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048941b48012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:05:02] local.INFO: Packet analysis {"connection_id":164970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04894"} 
[2026-08-28 19:05:02] local.INFO: Extracted packet for processing {"connection_id":164970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04894"} 
[2026-08-28 19:05:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:05:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:05:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708482560001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:05:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:05:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:05:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:05:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787924061000,"timestamp_ms":1787924061000,"timestamp_seconds":1787924061,"priority":1,"record_length":96,"hex_timestamp":"000001a048941b48"} 
[2026-08-28 19:05:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:05:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:05:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 19:05:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:05:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:05:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:05:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:05:02] local.INFO: Teltonika packet parsed successfully {"connection_id":164970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:05:02] local.INFO: Passing IMEI to GPS processor {"connection_id":164970,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:05:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":164970,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:05:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:05:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:05:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:05:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708482560001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:05:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:05:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:05:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708482560001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:05:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:05:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:05:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:05:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:05:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708482560001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:05:02] 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":709720,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:05:02] local.INFO: GPS data processed {"connection_id":164970,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:05:02] local.INFO: Acknowledgment sent {"connection_id":164970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:05:07] local.INFO: TCP Data received {"connection_id":164970,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048941b48012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048941b48012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:05:07] local.INFO: Processing buffer {"connection_id":164970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048941b48012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:05:07] local.INFO: Packet analysis {"connection_id":164970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04894"} 
[2026-08-28 19:05:07] local.INFO: Extracted packet for processing {"connection_id":164970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04894"} 
[2026-08-28 19:05:07] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708482560001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:05:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787924061000,"timestamp_ms":1787924061000,"timestamp_seconds":1787924061,"priority":1,"record_length":96,"hex_timestamp":"000001a048941b48"} 
[2026-08-28 19:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:05:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 19:05:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:05:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":164970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":164970,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":164970,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708482560001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708482560001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:05:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:05:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708482560001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:05:07] 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":709721,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:05:07] local.INFO: GPS data processed {"connection_id":164970,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:05:07] local.INFO: Acknowledgment sent {"connection_id":164970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:05:09] local.INFO: TCP Data received {"connection_id":163691,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0489192d8012d34c14006aa4840001000e62b..."} 
[2026-08-28 19:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0489192d8012d34c14006aa4840001000e62b..."} 
[2026-08-28 19:05:09] local.INFO: Processing buffer {"connection_id":163691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0489192d8012d34c14006aa4840001000e62b..."} 
[2026-08-28 19:05:09] local.INFO: Packet analysis {"connection_id":163691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04891"} 
[2026-08-28 19:05:09] local.INFO: Extracted packet for processing {"connection_id":163691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04891"} 
[2026-08-28 19:05:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708440064001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:05:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:05:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:05:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:05:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787923895000,"timestamp_ms":1787923895000,"timestamp_seconds":1787923895,"priority":1,"record_length":96,"hex_timestamp":"000001a0489192d8"} 
[2026-08-28 19:05:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:05:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 19:05:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:05:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:05:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:05:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:05:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:05:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:05:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:05:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:05:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:05:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:05:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708440064001,"66":24908,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:05:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:05:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:05:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708440064001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:05:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:05:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:05: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-28 19:05:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:05:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708440064001,"power":24908,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:05:09] 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":709722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:05:09] local.INFO: GPS data processed {"connection_id":163691,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:05:09] local.INFO: Acknowledgment sent {"connection_id":163691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:05:20] local.INFO: TCP Data received {"connection_id":164969,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a04893bd88012d196740071feea0003e00512e..."} 
[2026-08-28 19:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04893bd88012d196740071feea0003e00512e..."} 
[2026-08-28 19:05:20] local.INFO: Processing buffer {"connection_id":164969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04893bd88012d196740071feea0003e00512e..."} 
[2026-08-28 19:05:20] local.INFO: Packet analysis {"connection_id":164969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04893"} 
[2026-08-28 19:05:20] local.INFO: Extracted packet for processing {"connection_id":164969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04893"} 
[2026-08-28 19:05:20] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533216,"longitude_deg":75.6639552,"latitude_deg":11.9533216,"altitude":62,"angle":81,"satellites":46,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071feea0","is_valid_coordinates":true} 
[2026-08-28 19: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-28 19:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708548096001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16029878805594112,"note":"Value kept but may cause issues"} 
[2026-08-28 19:05:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894076928,"note":"Value kept but may cause issues"} 
[2026-08-28 19:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787924037000,"timestamp_ms":1787924037000,"timestamp_seconds":1787924037,"priority":1,"record_length":96,"hex_timestamp":"000001a04893bd88"} 
[2026-08-28 19: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-28 19:05:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-28 19:05:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19: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-28 19: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-28 19:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":164969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":164969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":164969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:05:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708548096001,"66":12254,"102":206,"83":41984,"24":0,"16":16029878805594112,"45":1830502172894076928},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 19:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708548096001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:05:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 19:05:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16029878805594112,"km_value":16029878805594.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:05:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894076928,"description":"Unknown IO ID 45"} 
[2026-08-28 19:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708548096001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894076928}} 
[2026-08-28 19:05:20] 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":709723,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:05:20] local.INFO: GPS data processed {"connection_id":164969,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:05:20] local.INFO: Acknowledgment sent {"connection_id":164969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:05:30] local.INFO: TCP Data received {"connection_id":164971,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:05:30] local.INFO: Processing buffer {"connection_id":164971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:05:30] local.INFO: IMEI packet received {"connection_id":164971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 19:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":164971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:05:35] local.INFO: TCP Data received {"connection_id":164971,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:05:35] local.INFO: Processing buffer {"connection_id":164971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:05:35] local.INFO: IMEI packet received {"connection_id":164971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 19:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":164971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:05:36] local.INFO: TCP Data received {"connection_id":164971,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0489192d8012d34c14006aa4840001000e62b..."} 
[2026-08-28 19:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0489192d8012d34c14006aa4840001000e62b..."} 
[2026-08-28 19:05:36] local.INFO: Processing buffer {"connection_id":164971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0489192d8012d34c14006aa4840001000e62b..."} 
[2026-08-28 19:05:36] local.INFO: Packet analysis {"connection_id":164971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04891"} 
[2026-08-28 19:05:36] local.INFO: Extracted packet for processing {"connection_id":164971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04891"} 
[2026-08-28 19:05:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708440064001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787923895000,"timestamp_ms":1787923895000,"timestamp_seconds":1787923895,"priority":1,"record_length":96,"hex_timestamp":"000001a0489192d8"} 
[2026-08-28 19:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 19:05:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:05:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":164971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":164971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":164971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:05:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708440064001,"66":24908,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708440064001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:05:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:05:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708440064001,"power":24908,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":164971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:05:36] local.INFO: GPS data processed {"connection_id":164971,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:05:36] local.INFO: Acknowledgment sent {"connection_id":164971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:05:40] local.INFO: TCP Data received {"connection_id":164970,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048941b48012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048941b48012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:05:40] local.INFO: Processing buffer {"connection_id":164970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048941b48012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:05:40] local.INFO: Packet analysis {"connection_id":164970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04894"} 
[2026-08-28 19:05:40] local.INFO: Extracted packet for processing {"connection_id":164970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04894"} 
[2026-08-28 19:05:40] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:05:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708482560001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:05:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:05:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:05:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:05:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787924061000,"timestamp_ms":1787924061000,"timestamp_seconds":1787924061,"priority":1,"record_length":96,"hex_timestamp":"000001a048941b48"} 
[2026-08-28 19:05:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:05:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 19:05: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-28 19:05:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:05:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:05:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:05:40] local.INFO: Teltonika packet parsed successfully {"connection_id":164970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:05:40] local.INFO: Passing IMEI to GPS processor {"connection_id":164970,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:05:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":164970,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:05:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:05:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:05:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:05:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708482560001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:05:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:05:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:05:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708482560001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:05:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:05:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:05:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:05:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:05:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708482560001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:05:40] 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":709725,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:05:40] local.INFO: GPS data processed {"connection_id":164970,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:05:40] local.INFO: Acknowledgment sent {"connection_id":164970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:05:42] local.INFO: TCP Data received {"connection_id":164972,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164972,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:05:42] local.INFO: Processing buffer {"connection_id":164972,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:05:42] local.INFO: IMEI packet received {"connection_id":164972,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 19:05:42] local.INFO: IMEI acknowledgment sent {"connection_id":164972,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:05:48] local.INFO: TCP Data received {"connection_id":164972,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164972,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:05:48] local.INFO: Processing buffer {"connection_id":164972,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:05:48] local.INFO: IMEI packet received {"connection_id":164972,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 19:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":164972,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:05:48] local.INFO: TCP Data received {"connection_id":164972,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048940f90012d196740071feea0003e005124..."} 
[2026-08-28 19:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048940f90012d196740071feea0003e005124..."} 
[2026-08-28 19:05:48] local.INFO: Processing buffer {"connection_id":164972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048940f90012d196740071feea0003e005124..."} 
[2026-08-28 19:05:48] local.INFO: Packet analysis {"connection_id":164972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04894"} 
[2026-08-28 19:05:48] local.INFO: Extracted packet for processing {"connection_id":164972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04894"} 
[2026-08-28 19:05:48] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533216,"longitude_deg":75.6639552,"latitude_deg":11.9533216,"altitude":62,"angle":81,"satellites":36,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071feea0","is_valid_coordinates":true} 
[2026-08-28 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-28 19:05:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708553472001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:05:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16029878805594112,"note":"Value kept but may cause issues"} 
[2026-08-28 19:05:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894076928,"note":"Value kept but may cause issues"} 
[2026-08-28 19:05:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:05:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787924058000,"timestamp_ms":1787924058000,"timestamp_seconds":1787924058,"priority":1,"record_length":96,"hex_timestamp":"000001a048940f90"} 
[2026-08-28 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-28 19:05:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-28 19:05:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 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-28 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-28 19:05:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:05:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:05:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:05:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:05:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:05:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:05:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:05:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708553472001,"66":12254,"102":206,"83":41984,"24":0,"16":16029878805594112,"45":1830502172894076928},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 19:05:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:05:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:05:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708553472001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:05:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 19:05:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:05:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16029878805594112,"km_value":16029878805594.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:05:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894076928,"description":"Unknown IO ID 45"} 
[2026-08-28 19:05:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708553472001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894076928}} 
[2026-08-28 19:05:49] 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":709726,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:05:49] local.INFO: GPS data processed {"connection_id":164972,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:05:49] local.INFO: Acknowledgment sent {"connection_id":164972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:05:56] local.INFO: TCP Data received {"connection_id":163692,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163692,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:05:56] local.INFO: Processing buffer {"connection_id":163692,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:05:56] local.INFO: IMEI packet received {"connection_id":163692,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 19:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":163692,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:06:01] local.INFO: TCP Data received {"connection_id":163692,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163692,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:06:01] local.INFO: Processing buffer {"connection_id":163692,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:06:01] local.INFO: IMEI packet received {"connection_id":163692,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 19:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":163692,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:06:03] local.INFO: TCP Data received {"connection_id":163692,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048941b48012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048941b48012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:06:03] local.INFO: Processing buffer {"connection_id":163692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048941b48012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:06:03] local.INFO: Packet analysis {"connection_id":163692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04894"} 
[2026-08-28 19:06:03] local.INFO: Extracted packet for processing {"connection_id":163692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04894"} 
[2026-08-28 19:06:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708482560001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787924061000,"timestamp_ms":1787924061000,"timestamp_seconds":1787924061,"priority":1,"record_length":96,"hex_timestamp":"000001a048941b48"} 
[2026-08-28 19:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:06:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 19:06:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:06:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163692,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163692,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:06:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708482560001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708482560001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:06:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:06:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708482560001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":163692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709727,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:06:04] local.INFO: GPS data processed {"connection_id":163692,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:06:04] local.INFO: Acknowledgment sent {"connection_id":163692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:06:09] local.INFO: TCP Data received {"connection_id":164971,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0489192d8012d34c14006aa4840001000e62b..."} 
[2026-08-28 19:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0489192d8012d34c14006aa4840001000e62b..."} 
[2026-08-28 19:06:09] local.INFO: Processing buffer {"connection_id":164971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0489192d8012d34c14006aa4840001000e62b..."} 
[2026-08-28 19:06:09] local.INFO: Packet analysis {"connection_id":164971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04891"} 
[2026-08-28 19:06:09] local.INFO: Extracted packet for processing {"connection_id":164971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04891"} 
[2026-08-28 19:06:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708440064001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:06:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:06:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787923895000,"timestamp_ms":1787923895000,"timestamp_seconds":1787923895,"priority":1,"record_length":96,"hex_timestamp":"000001a0489192d8"} 
[2026-08-28 19:06:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:06:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 19:06:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:06:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:06:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:06:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708440064001,"66":24908,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708440064001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:06:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:06:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:06: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-28 19:06:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708440064001,"power":24908,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:06:09] local.INFO: DEBUG: GPS processor result {"connection_id":164971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:06:09] local.INFO: GPS data processed {"connection_id":164971,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:06:09] local.INFO: Acknowledgment sent {"connection_id":164971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:06:20] local.INFO: TCP Data received {"connection_id":164972,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048946198012d196740071feea0003e00512c..."} 
[2026-08-28 19:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048946198012d196740071feea0003e00512c..."} 
[2026-08-28 19:06:20] local.INFO: Processing buffer {"connection_id":164972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048946198012d196740071feea0003e00512c..."} 
[2026-08-28 19:06:20] local.INFO: Packet analysis {"connection_id":164972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04894"} 
[2026-08-28 19:06:20] local.INFO: Extracted packet for processing {"connection_id":164972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04894"} 
[2026-08-28 19:06:20] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533216,"longitude_deg":75.6639552,"latitude_deg":11.9533216,"altitude":62,"angle":81,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071feea0","is_valid_coordinates":true} 
[2026-08-28 19: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-28 19:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708558848001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16029878805594112,"note":"Value kept but may cause issues"} 
[2026-08-28 19:06:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894076928,"note":"Value kept but may cause issues"} 
[2026-08-28 19:06:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787924079000,"timestamp_ms":1787924079000,"timestamp_seconds":1787924079,"priority":1,"record_length":96,"hex_timestamp":"000001a048946198"} 
[2026-08-28 19: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-28 19:06:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-28 19:06:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19: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-28 19: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-28 19:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":164972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":164972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":164972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:06:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708558848001,"66":12254,"102":206,"83":41984,"24":0,"16":16029878805594112,"45":1830502172894076928},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 19:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708558848001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:06:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 19:06:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16029878805594112,"km_value":16029878805594.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:06:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894076928,"description":"Unknown IO ID 45"} 
[2026-08-28 19:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708558848001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894076928}} 
[2026-08-28 19:06:20] 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":709729,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:06:20] local.INFO: GPS data processed {"connection_id":164972,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:06:20] local.INFO: Acknowledgment sent {"connection_id":164972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:06:35] local.INFO: TCP Data received {"connection_id":164973,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:06:35] local.INFO: Processing buffer {"connection_id":164973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:06:35] local.INFO: IMEI packet received {"connection_id":164973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 19:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":164973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:06:35] local.INFO: TCP Data received {"connection_id":163692,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048941b48012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048941b48012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:06:35] local.INFO: Processing buffer {"connection_id":163692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048941b48012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:06:35] local.INFO: Packet analysis {"connection_id":163692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04894"} 
[2026-08-28 19:06:35] local.INFO: Extracted packet for processing {"connection_id":163692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04894"} 
[2026-08-28 19:06:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:06:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708482560001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:06:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:06:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:06:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:06:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787924061000,"timestamp_ms":1787924061000,"timestamp_seconds":1787924061,"priority":1,"record_length":96,"hex_timestamp":"000001a048941b48"} 
[2026-08-28 19:06:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:06:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 19:06:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:06:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:06:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:06:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:06:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:06:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163692,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:06:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163692,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:06:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:06:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:06:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:06:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708482560001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:06:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:06:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:06:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708482560001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:06:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:06:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:06:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:06:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:06:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708482560001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:06:35] local.INFO: DEBUG: GPS processor result {"connection_id":163692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709730,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:06:35] local.INFO: GPS data processed {"connection_id":163692,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:06:35] local.INFO: Acknowledgment sent {"connection_id":163692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:06:40] local.INFO: TCP Data received {"connection_id":164973,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:06:40] local.INFO: Processing buffer {"connection_id":164973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:06:40] local.INFO: IMEI packet received {"connection_id":164973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 19:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":164973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:06:42] local.INFO: TCP Data received {"connection_id":164973,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0489192d8012d34c14006aa4840001000e62b..."} 
[2026-08-28 19:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0489192d8012d34c14006aa4840001000e62b..."} 
[2026-08-28 19:06:42] local.INFO: Processing buffer {"connection_id":164973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0489192d8012d34c14006aa4840001000e62b..."} 
[2026-08-28 19:06:42] local.INFO: Packet analysis {"connection_id":164973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04891"} 
[2026-08-28 19:06:42] local.INFO: Extracted packet for processing {"connection_id":164973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04891"} 
[2026-08-28 19:06:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 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-28 19:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708440064001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:06:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:06:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787923895000,"timestamp_ms":1787923895000,"timestamp_seconds":1787923895,"priority":1,"record_length":96,"hex_timestamp":"000001a0489192d8"} 
[2026-08-28 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-28 19:06:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 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-28 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-28 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-28 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-28 19:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":164973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":164973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":164973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:06:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708440064001,"66":24908,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708440064001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:06:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:06:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 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-28 19:06:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708440064001,"power":24908,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:06:42] 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":709731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:06:42] local.INFO: GPS data processed {"connection_id":164973,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:06:42] local.INFO: Acknowledgment sent {"connection_id":164973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:06:47] local.INFO: TCP Data received {"connection_id":164973,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0489192d8012d34c14006aa4840001000e62b..."} 
[2026-08-28 19:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0489192d8012d34c14006aa4840001000e62b..."} 
[2026-08-28 19:06:47] local.INFO: Processing buffer {"connection_id":164973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0489192d8012d34c14006aa4840001000e62b..."} 
[2026-08-28 19:06:47] local.INFO: Packet analysis {"connection_id":164973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04891"} 
[2026-08-28 19:06:47] local.INFO: Extracted packet for processing {"connection_id":164973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04891"} 
[2026-08-28 19:06:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:06:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708440064001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:06:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:06:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:06:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:06:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787923895000,"timestamp_ms":1787923895000,"timestamp_seconds":1787923895,"priority":1,"record_length":96,"hex_timestamp":"000001a0489192d8"} 
[2026-08-28 19:06:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:06:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 19:06: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-28 19:06:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:06:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:06:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:06:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:06:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:06:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:06:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:06:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:06:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:06:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708440064001,"66":24908,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:06:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:06:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:06:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708440064001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:06:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:06:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:06: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-28 19:06:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:06:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708440064001,"power":24908,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:06:47] 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":709732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:06:47] local.INFO: GPS data processed {"connection_id":164973,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:06:47] local.INFO: Acknowledgment sent {"connection_id":164973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:06:48] local.INFO: TCP Data received {"connection_id":166331,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:06:48] local.INFO: Processing buffer {"connection_id":166331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:06:48] local.INFO: IMEI packet received {"connection_id":166331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 19:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":166331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:06:53] local.INFO: TCP Data received {"connection_id":166331,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:06:53] local.INFO: Processing buffer {"connection_id":166331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:06:53] local.INFO: IMEI packet received {"connection_id":166331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 19:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":166331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:06:53] local.INFO: TCP Data received {"connection_id":166331,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a04894b3a0012d196740071feea0003e00512c..."} 
[2026-08-28 19:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04894b3a0012d196740071feea0003e00512c..."} 
[2026-08-28 19:06:53] local.INFO: Processing buffer {"connection_id":166331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04894b3a0012d196740071feea0003e00512c..."} 
[2026-08-28 19:06:53] local.INFO: Packet analysis {"connection_id":166331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04894"} 
[2026-08-28 19:06:53] local.INFO: Extracted packet for processing {"connection_id":166331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04894"} 
[2026-08-28 19:06:53] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533216,"longitude_deg":75.6639552,"latitude_deg":11.9533216,"altitude":62,"angle":81,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071feea0","is_valid_coordinates":true} 
[2026-08-28 19:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:06:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708564224001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:06:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16029878805594112,"note":"Value kept but may cause issues"} 
[2026-08-28 19:06:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894076928,"note":"Value kept but may cause issues"} 
[2026-08-28 19:06:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:06:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787924100000,"timestamp_ms":1787924100000,"timestamp_seconds":1787924100,"priority":1,"record_length":96,"hex_timestamp":"000001a04894b3a0"} 
[2026-08-28 19:06:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:06:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-28 19:06:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:06:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:06:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:06:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:06:53] local.INFO: Teltonika packet parsed successfully {"connection_id":166331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:06:53] local.INFO: Passing IMEI to GPS processor {"connection_id":166331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:06:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":166331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:06:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:06:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:06:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:06:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708564224001,"66":12265,"102":206,"83":41984,"24":0,"16":16029878805594112,"45":1830502172894076928},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 19:06:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:06:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:06:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708564224001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:06:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 19:06:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:06:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16029878805594112,"km_value":16029878805594.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:06:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894076928,"description":"Unknown IO ID 45"} 
[2026-08-28 19:06:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708564224001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894076928}} 
[2026-08-28 19:06:54] local.INFO: DEBUG: GPS processor result {"connection_id":166331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709733,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:06:54] local.INFO: GPS data processed {"connection_id":166331,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:06:54] local.INFO: Acknowledgment sent {"connection_id":166331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:06:58] local.INFO: TCP Data received {"connection_id":166331,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0489505a8012d196740071feea0003e005129..."} 
[2026-08-28 19:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0489505a8012d196740071feea0003e005129..."} 
[2026-08-28 19:06:58] local.INFO: Processing buffer {"connection_id":166331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0489505a8012d196740071feea0003e005129..."} 
[2026-08-28 19:06:58] local.INFO: Packet analysis {"connection_id":166331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04895"} 
[2026-08-28 19:06:58] local.INFO: Extracted packet for processing {"connection_id":166331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04895"} 
[2026-08-28 19:06:58] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533216,"longitude_deg":75.6639552,"latitude_deg":11.9533216,"altitude":62,"angle":81,"satellites":41,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071feea0","is_valid_coordinates":true} 
[2026-08-28 19:06:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:06:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708569600001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:06:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16029878805594112,"note":"Value kept but may cause issues"} 
[2026-08-28 19:06:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894076928,"note":"Value kept but may cause issues"} 
[2026-08-28 19:06:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:06:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787924121000,"timestamp_ms":1787924121000,"timestamp_seconds":1787924121,"priority":1,"record_length":96,"hex_timestamp":"000001a0489505a8"} 
[2026-08-28 19:06:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:06:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19:06:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 19:06:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2530,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:06:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:06:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:06:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:06:58] local.INFO: Teltonika packet parsed successfully {"connection_id":166331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:06:58] local.INFO: Passing IMEI to GPS processor {"connection_id":166331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:06:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":166331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:06:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:06:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:06:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:06:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708569600001,"66":12232,"102":206,"83":41984,"24":0,"16":16029878805594112,"45":1830502172894076928},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 19:06:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:06:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:06:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708569600001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:06:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 19:06:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:06:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16029878805594112,"km_value":16029878805594.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:06:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894076928,"description":"Unknown IO ID 45"} 
[2026-08-28 19:06:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708569600001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894076928}} 
[2026-08-28 19:06:58] local.INFO: DEBUG: GPS processor result {"connection_id":166331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709734,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:06:58] local.INFO: GPS data processed {"connection_id":166331,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:06:58] local.INFO: Acknowledgment sent {"connection_id":166331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:07:01] local.INFO: TCP Data received {"connection_id":166332,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166332,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:07:01] local.INFO: Processing buffer {"connection_id":166332,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:07:01] local.INFO: IMEI packet received {"connection_id":166332,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 19:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":166332,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:07:06] local.INFO: TCP Data received {"connection_id":166332,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166332,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:07:06] local.INFO: Processing buffer {"connection_id":166332,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:07:06] local.INFO: IMEI packet received {"connection_id":166332,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 19:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":166332,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:07:09] local.INFO: TCP Data received {"connection_id":166332,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048941b48012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048941b48012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:07:09] local.INFO: Processing buffer {"connection_id":166332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048941b48012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:07:09] local.INFO: Packet analysis {"connection_id":166332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04894"} 
[2026-08-28 19:07:09] local.INFO: Extracted packet for processing {"connection_id":166332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04894"} 
[2026-08-28 19:07:09] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708482560001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:07:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787924061000,"timestamp_ms":1787924061000,"timestamp_seconds":1787924061,"priority":1,"record_length":96,"hex_timestamp":"000001a048941b48"} 
[2026-08-28 19:07:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 19:07:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:07:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:07:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":166332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":166332,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":166332,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:07:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708482560001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708482560001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:07:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:07:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708482560001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":166332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709735,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:07:09] local.INFO: GPS data processed {"connection_id":166332,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:07:09] local.INFO: Acknowledgment sent {"connection_id":166332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:07:30] local.INFO: TCP Data received {"connection_id":166333,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:07:30] local.INFO: Processing buffer {"connection_id":166333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:07:30] local.INFO: IMEI packet received {"connection_id":166333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 19:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":166333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:07:35] local.INFO: TCP Data received {"connection_id":166333,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:07:35] local.INFO: Processing buffer {"connection_id":166333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:07:35] local.INFO: IMEI packet received {"connection_id":166333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 19:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":166333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:07:38] local.INFO: TCP Data received {"connection_id":166333,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048962aa0012d34c14006aa4840000f00e62a..."} 
[2026-08-28 19:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048962aa0012d34c14006aa4840000f00e62a..."} 
[2026-08-28 19:07:38] local.INFO: Processing buffer {"connection_id":166333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048962aa0012d34c14006aa4840000f00e62a..."} 
[2026-08-28 19:07:38] local.INFO: Packet analysis {"connection_id":166333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04896"} 
[2026-08-28 19:07:38] local.INFO: Extracted packet for processing {"connection_id":166333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04896"} 
[2026-08-28 19:07:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708517120001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:07:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787924196000,"timestamp_ms":1787924196000,"timestamp_seconds":1787924196,"priority":1,"record_length":96,"hex_timestamp":"000001a048962aa0"} 
[2026-08-28 19:07:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:07:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-28 19:07:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1367,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:07:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:07:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":166333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":166333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":166333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:07:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708517120001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708517120001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:07:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:07:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:07: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-28 19:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708517120001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":166333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:07:38] local.INFO: GPS data processed {"connection_id":166333,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:07:38] local.INFO: Acknowledgment sent {"connection_id":166333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:07:41] local.INFO: TCP Data received {"connection_id":166332,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048941b48012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048941b48012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:07:41] local.INFO: Processing buffer {"connection_id":166332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048941b48012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:07:41] local.INFO: Packet analysis {"connection_id":166332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04894"} 
[2026-08-28 19:07:41] local.INFO: Extracted packet for processing {"connection_id":166332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04894"} 
[2026-08-28 19:07:41] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708482560001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:07:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:07:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787924061000,"timestamp_ms":1787924061000,"timestamp_seconds":1787924061,"priority":1,"record_length":96,"hex_timestamp":"000001a048941b48"} 
[2026-08-28 19:07:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:07:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 19:07: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-28 19:07:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:07:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":166332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":166332,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":166332,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:07:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708482560001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708482560001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:07:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:07:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:07:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708482560001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":166332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709737,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:07:41] local.INFO: GPS data processed {"connection_id":166332,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:07:41] local.INFO: Acknowledgment sent {"connection_id":166332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:07:42] local.INFO: TCP Data received {"connection_id":163967,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163967,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:07:42] local.INFO: Processing buffer {"connection_id":163967,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:07:42] local.INFO: IMEI packet received {"connection_id":163967,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 19:07:42] local.INFO: IMEI acknowledgment sent {"connection_id":163967,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:07:44] local.INFO: TCP Data received {"connection_id":163967,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163967,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:07:44] local.INFO: Processing buffer {"connection_id":163967,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:07:44] local.INFO: IMEI packet received {"connection_id":163967,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 19:07:44] local.INFO: IMEI acknowledgment sent {"connection_id":163967,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:07:48] local.INFO: TCP Data received {"connection_id":163967,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163967,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:07:48] local.INFO: Processing buffer {"connection_id":163967,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:07:48] local.INFO: IMEI packet received {"connection_id":163967,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 19:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":163967,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:07:48] local.INFO: TCP Data received {"connection_id":163967,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0489557b0012d196740071feea0003e00512c..."} 
[2026-08-28 19:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0489557b0012d196740071feea0003e00512c..."} 
[2026-08-28 19:07:48] local.INFO: Processing buffer {"connection_id":163967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0489557b0012d196740071feea0003e00512c..."} 
[2026-08-28 19:07:48] local.INFO: Packet analysis {"connection_id":163967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04895"} 
[2026-08-28 19:07:48] local.INFO: Extracted packet for processing {"connection_id":163967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04895"} 
[2026-08-28 19:07:48] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533216,"longitude_deg":75.6639552,"latitude_deg":11.9533216,"altitude":62,"angle":81,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071feea0","is_valid_coordinates":true} 
[2026-08-28 19: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-28 19:07:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708574976001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:07:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16029878805594112,"note":"Value kept but may cause issues"} 
[2026-08-28 19:07:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894076928,"note":"Value kept but may cause issues"} 
[2026-08-28 19:07:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:07:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787924142000,"timestamp_ms":1787924142000,"timestamp_seconds":1787924142,"priority":1,"record_length":96,"hex_timestamp":"000001a0489557b0"} 
[2026-08-28 19: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-28 19:07:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 19:07:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19: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-28 19: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-28 19:07:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:07:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:07:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:07:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:07:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:07:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:07:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:07:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708574976001,"66":12156,"102":206,"83":41984,"24":0,"16":16029878805594112,"45":1830502172894076928},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 19:07:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:07:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:07:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708574976001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:07:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 19:07:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:07:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16029878805594112,"km_value":16029878805594.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:07:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894076928,"description":"Unknown IO ID 45"} 
[2026-08-28 19:07:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708574976001,"power":12156,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894076928}} 
[2026-08-28 19:07:49] local.INFO: DEBUG: GPS processor result {"connection_id":163967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709738,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:07:49] local.INFO: GPS data processed {"connection_id":163967,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:07:49] local.INFO: Acknowledgment sent {"connection_id":163967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:07:53] local.INFO: TCP Data received {"connection_id":163967,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a04895a9b8012d196740071feea0003e00512b..."} 
[2026-08-28 19:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04895a9b8012d196740071feea0003e00512b..."} 
[2026-08-28 19:07:53] local.INFO: Processing buffer {"connection_id":163967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04895a9b8012d196740071feea0003e00512b..."} 
[2026-08-28 19:07:53] local.INFO: Packet analysis {"connection_id":163967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04895"} 
[2026-08-28 19:07:53] local.INFO: Extracted packet for processing {"connection_id":163967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04895"} 
[2026-08-28 19:07:53] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533216,"longitude_deg":75.6639552,"latitude_deg":11.9533216,"altitude":62,"angle":81,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071feea0","is_valid_coordinates":true} 
[2026-08-28 19:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:07:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708580352001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:07:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16029878805594112,"note":"Value kept but may cause issues"} 
[2026-08-28 19:07:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894076928,"note":"Value kept but may cause issues"} 
[2026-08-28 19:07:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:07:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787924163000,"timestamp_ms":1787924163000,"timestamp_seconds":1787924163,"priority":1,"record_length":96,"hex_timestamp":"000001a04895a9b8"} 
[2026-08-28 19:07:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:07:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 19:07:53] 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-28 19:07:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:07:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:07:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:07:53] local.INFO: Teltonika packet parsed successfully {"connection_id":163967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:07:53] local.INFO: Passing IMEI to GPS processor {"connection_id":163967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:07:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":163967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:07:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:07:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:07:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:07:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708580352001,"66":12254,"102":206,"83":41984,"24":0,"16":16029878805594112,"45":1830502172894076928},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 19:07:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:07:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:07:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708580352001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:07:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 19:07:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:07:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16029878805594112,"km_value":16029878805594.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:07:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894076928,"description":"Unknown IO ID 45"} 
[2026-08-28 19:07:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708580352001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894076928}} 
[2026-08-28 19:07:53] local.INFO: DEBUG: GPS processor result {"connection_id":163967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709739,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:07:53] local.INFO: GPS data processed {"connection_id":163967,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:07:53] local.INFO: Acknowledgment sent {"connection_id":163967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:07:56] local.INFO: TCP Data received {"connection_id":163693,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163693,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:07:56] local.INFO: Processing buffer {"connection_id":163693,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:07:56] local.INFO: IMEI packet received {"connection_id":163693,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 19:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":163693,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:08:01] local.INFO: TCP Data received {"connection_id":163693,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163693,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:08:01] local.INFO: Processing buffer {"connection_id":163693,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:08:01] local.INFO: IMEI packet received {"connection_id":163693,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 19:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":163693,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:08:03] local.INFO: TCP Data received {"connection_id":163693,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048941b48012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048941b48012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:08:03] local.INFO: Processing buffer {"connection_id":163693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048941b48012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:08:03] local.INFO: Packet analysis {"connection_id":163693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04894"} 
[2026-08-28 19:08:03] local.INFO: Extracted packet for processing {"connection_id":163693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04894"} 
[2026-08-28 19:08:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708482560001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:08:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787924061000,"timestamp_ms":1787924061000,"timestamp_seconds":1787924061,"priority":1,"record_length":96,"hex_timestamp":"000001a048941b48"} 
[2026-08-28 19:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:08:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 19:08:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:08:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163693,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163693,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708482560001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708482560001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:08:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:08:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708482560001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:08:04] 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":709740,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:08:04] local.INFO: GPS data processed {"connection_id":163693,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:08:04] local.INFO: Acknowledgment sent {"connection_id":163693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:08:09] local.INFO: TCP Data received {"connection_id":166333,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048962aa0012d34c14006aa4840000f00e62a..."} 
[2026-08-28 19:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048962aa0012d34c14006aa4840000f00e62a..."} 
[2026-08-28 19:08:09] local.INFO: Processing buffer {"connection_id":166333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048962aa0012d34c14006aa4840000f00e62a..."} 
[2026-08-28 19:08:09] local.INFO: Packet analysis {"connection_id":166333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04896"} 
[2026-08-28 19:08:09] local.INFO: Extracted packet for processing {"connection_id":166333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04896"} 
[2026-08-28 19:08:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708517120001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:08:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:08:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787924196000,"timestamp_ms":1787924196000,"timestamp_seconds":1787924196,"priority":1,"record_length":96,"hex_timestamp":"000001a048962aa0"} 
[2026-08-28 19:08:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:08:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-28 19:08:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1367,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:08:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:08:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":166333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":166333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":166333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:08:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708517120001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708517120001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:08:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:08:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:08: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-28 19:08:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708517120001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:08:09] local.INFO: DEBUG: GPS processor result {"connection_id":166333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:08:09] local.INFO: GPS data processed {"connection_id":166333,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:08:09] local.INFO: Acknowledgment sent {"connection_id":166333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:08:24] local.INFO: TCP Data received {"connection_id":163967,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a04895fbc0012d196740071feea0003e00512a..."} 
[2026-08-28 19:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04895fbc0012d196740071feea0003e00512a..."} 
[2026-08-28 19:08:24] local.INFO: Processing buffer {"connection_id":163967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04895fbc0012d196740071feea0003e00512a..."} 
[2026-08-28 19:08:24] local.INFO: Packet analysis {"connection_id":163967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04895"} 
[2026-08-28 19:08:24] local.INFO: Extracted packet for processing {"connection_id":163967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04895"} 
[2026-08-28 19:08:24] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533216,"longitude_deg":75.6639552,"latitude_deg":11.9533216,"altitude":62,"angle":81,"satellites":42,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071feea0","is_valid_coordinates":true} 
[2026-08-28 19:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:08:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708585728001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:08:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16029878805594112,"note":"Value kept but may cause issues"} 
[2026-08-28 19:08:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894076928,"note":"Value kept but may cause issues"} 
[2026-08-28 19:08:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:08:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787924184000,"timestamp_ms":1787924184000,"timestamp_seconds":1787924184,"priority":1,"record_length":96,"hex_timestamp":"000001a04895fbc0"} 
[2026-08-28 19:08:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:08:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-28 19:08:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:08:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:08:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:08:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:08:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:08:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:08:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:08:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:08:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:08:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:08:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708585728001,"66":11961,"102":206,"83":41984,"24":0,"16":16029878805594112,"45":1830502172894076928},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 19:08:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:08:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:08:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708585728001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:08:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 19:08:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:08:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16029878805594112,"km_value":16029878805594.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:08:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894076928,"description":"Unknown IO ID 45"} 
[2026-08-28 19:08:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708585728001,"power":11961,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894076928}} 
[2026-08-28 19:08:25] local.INFO: DEBUG: GPS processor result {"connection_id":163967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709742,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:08:25] local.INFO: GPS data processed {"connection_id":163967,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:08:25] local.INFO: Acknowledgment sent {"connection_id":163967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:08:30] local.INFO: TCP Data received {"connection_id":163694,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:08:30] local.INFO: Processing buffer {"connection_id":163694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:08:30] local.INFO: IMEI packet received {"connection_id":163694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 19:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":163694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:08:35] local.INFO: TCP Data received {"connection_id":163694,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:08:35] local.INFO: Processing buffer {"connection_id":163694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:08:35] local.INFO: IMEI packet received {"connection_id":163694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 19:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":163694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:08:36] local.INFO: TCP Data received {"connection_id":163693,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048941b48012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048941b48012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:08:36] local.INFO: Processing buffer {"connection_id":163693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048941b48012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:08:36] local.INFO: Packet analysis {"connection_id":163693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04894"} 
[2026-08-28 19:08:36] local.INFO: Extracted packet for processing {"connection_id":163693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04894"} 
[2026-08-28 19:08:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708482560001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787924061000,"timestamp_ms":1787924061000,"timestamp_seconds":1787924061,"priority":1,"record_length":96,"hex_timestamp":"000001a048941b48"} 
[2026-08-28 19:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 19:08:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163693,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163693,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708482560001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708482560001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:08:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:08:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708482560001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:08:36] 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":709743,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:08:36] local.INFO: GPS data processed {"connection_id":163693,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:08:36] local.INFO: Acknowledgment sent {"connection_id":163693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:08:38] local.INFO: TCP Data received {"connection_id":163694,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048962aa0012d34c14006aa4840000f00e62a..."} 
[2026-08-28 19:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048962aa0012d34c14006aa4840000f00e62a..."} 
[2026-08-28 19:08:38] local.INFO: Processing buffer {"connection_id":163694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048962aa0012d34c14006aa4840000f00e62a..."} 
[2026-08-28 19:08:38] local.INFO: Packet analysis {"connection_id":163694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04896"} 
[2026-08-28 19:08:38] local.INFO: Extracted packet for processing {"connection_id":163694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04896"} 
[2026-08-28 19:08:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708517120001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787924196000,"timestamp_ms":1787924196000,"timestamp_seconds":1787924196,"priority":1,"record_length":96,"hex_timestamp":"000001a048962aa0"} 
[2026-08-28 19:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-28 19:08:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1367,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708517120001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708517120001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:08:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:08:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:08: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-28 19:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708517120001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:08:38] 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":709744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:08:38] local.INFO: GPS data processed {"connection_id":163694,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:08:38] local.INFO: Acknowledgment sent {"connection_id":163694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:08:43] local.INFO: TCP Data received {"connection_id":166334,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166334,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:08:43] local.INFO: Processing buffer {"connection_id":166334,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:08:43] local.INFO: IMEI packet received {"connection_id":166334,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 19:08:43] local.INFO: IMEI acknowledgment sent {"connection_id":166334,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:08:47] local.INFO: TCP Data received {"connection_id":166334,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166334,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:08:47] local.INFO: Processing buffer {"connection_id":166334,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:08:47] local.INFO: IMEI packet received {"connection_id":166334,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 19:08:47] local.INFO: IMEI acknowledgment sent {"connection_id":166334,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:08:48] local.INFO: TCP Data received {"connection_id":166334,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048964dc8012d196740071feea0003e00512c..."} 
[2026-08-28 19:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048964dc8012d196740071feea0003e00512c..."} 
[2026-08-28 19:08:48] local.INFO: Processing buffer {"connection_id":166334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048964dc8012d196740071feea0003e00512c..."} 
[2026-08-28 19:08:48] local.INFO: Packet analysis {"connection_id":166334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04896"} 
[2026-08-28 19:08:48] local.INFO: Extracted packet for processing {"connection_id":166334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04896"} 
[2026-08-28 19:08:48] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533216,"longitude_deg":75.6639552,"latitude_deg":11.9533216,"altitude":62,"angle":81,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071feea0","is_valid_coordinates":true} 
[2026-08-28 19: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-28 19:08:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708591104001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:08:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16029878805594112,"note":"Value kept but may cause issues"} 
[2026-08-28 19:08:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894076928,"note":"Value kept but may cause issues"} 
[2026-08-28 19:08:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:08:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787924205000,"timestamp_ms":1787924205000,"timestamp_seconds":1787924205,"priority":1,"record_length":96,"hex_timestamp":"000001a048964dc8"} 
[2026-08-28 19: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-28 19:08:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19: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":46,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-28 19:08:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2093,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19: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-28 19: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-28 19:08:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:08:48] local.INFO: Teltonika packet parsed successfully {"connection_id":166334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:08:48] local.INFO: Passing IMEI to GPS processor {"connection_id":166334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:08:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":166334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:08:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:08:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:08:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:08:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708591104001,"66":12156,"102":206,"83":41984,"24":0,"16":16029878805594112,"45":1830502172894076928},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 19:08:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:08:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:08:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708591104001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:08:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 19:08:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:08:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16029878805594112,"km_value":16029878805594.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:08:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894076928,"description":"Unknown IO ID 45"} 
[2026-08-28 19:08:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708591104001,"power":12156,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894076928}} 
[2026-08-28 19:08:48] local.INFO: DEBUG: GPS processor result {"connection_id":166334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709745,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:08:48] local.INFO: GPS data processed {"connection_id":166334,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:08:48] local.INFO: Acknowledgment sent {"connection_id":166334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:08:56] local.INFO: TCP Data received {"connection_id":164974,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164974,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:08:56] local.INFO: Processing buffer {"connection_id":164974,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:08:56] local.INFO: IMEI packet received {"connection_id":164974,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 19:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":164974,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:09:01] local.INFO: TCP Data received {"connection_id":164974,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164974,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:09:01] local.INFO: Processing buffer {"connection_id":164974,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:09:01] local.INFO: IMEI packet received {"connection_id":164974,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 19:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":164974,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:09:04] local.INFO: TCP Data received {"connection_id":164974,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048941b48012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048941b48012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:09:04] local.INFO: Processing buffer {"connection_id":164974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048941b48012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:09:04] local.INFO: Packet analysis {"connection_id":164974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04894"} 
[2026-08-28 19:09:04] local.INFO: Extracted packet for processing {"connection_id":164974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04894"} 
[2026-08-28 19:09:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708482560001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:09:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787924061000,"timestamp_ms":1787924061000,"timestamp_seconds":1787924061,"priority":1,"record_length":96,"hex_timestamp":"000001a048941b48"} 
[2026-08-28 19:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:09:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 19:09:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:09:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":164974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":164974,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":164974,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:09:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708482560001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708482560001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:09:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:09:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708482560001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:09:04] 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":709746,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:09:04] local.INFO: GPS data processed {"connection_id":164974,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:09:04] local.INFO: Acknowledgment sent {"connection_id":164974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:09:11] local.INFO: TCP Data received {"connection_id":163694,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048962aa0012d34c14006aa4840000f00e62a..."} 
[2026-08-28 19:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048962aa0012d34c14006aa4840000f00e62a..."} 
[2026-08-28 19:09:11] local.INFO: Processing buffer {"connection_id":163694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048962aa0012d34c14006aa4840000f00e62a..."} 
[2026-08-28 19:09:11] local.INFO: Packet analysis {"connection_id":163694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04896"} 
[2026-08-28 19:09:11] local.INFO: Extracted packet for processing {"connection_id":163694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04896"} 
[2026-08-28 19:09:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708517120001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:09:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:09:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787924196000,"timestamp_ms":1787924196000,"timestamp_seconds":1787924196,"priority":1,"record_length":96,"hex_timestamp":"000001a048962aa0"} 
[2026-08-28 19:09:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:09: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-28 19:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-28 19:09:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1367,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:09:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:09:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":163694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":163694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":163694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:09:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708517120001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708517120001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:09:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:09:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:09: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-28 19:09:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708517120001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:09:11] 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":709747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:09:11] local.INFO: GPS data processed {"connection_id":163694,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:09:11] local.INFO: Acknowledgment sent {"connection_id":163694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:09:19] local.INFO: TCP Data received {"connection_id":166334,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048969fd0012d196740071feea0003e00512e..."} 
[2026-08-28 19:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048969fd0012d196740071feea0003e00512e..."} 
[2026-08-28 19:09:19] local.INFO: Processing buffer {"connection_id":166334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048969fd0012d196740071feea0003e00512e..."} 
[2026-08-28 19:09:19] local.INFO: Packet analysis {"connection_id":166334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04896"} 
[2026-08-28 19:09:19] local.INFO: Extracted packet for processing {"connection_id":166334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04896"} 
[2026-08-28 19:09:19] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533216,"longitude_deg":75.6639552,"latitude_deg":11.9533216,"altitude":62,"angle":81,"satellites":46,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071feea0","is_valid_coordinates":true} 
[2026-08-28 19:09:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:09:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708596480001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:09:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16029878805594112,"note":"Value kept but may cause issues"} 
[2026-08-28 19:09:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894076928,"note":"Value kept but may cause issues"} 
[2026-08-28 19:09:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:09:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787924226000,"timestamp_ms":1787924226000,"timestamp_seconds":1787924226,"priority":1,"record_length":96,"hex_timestamp":"000001a048969fd0"} 
[2026-08-28 19:09:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:09:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19:09:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 19:09:19] 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-28 19:09:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:09:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:09:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:09:19] local.INFO: Teltonika packet parsed successfully {"connection_id":166334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:09:19] local.INFO: Passing IMEI to GPS processor {"connection_id":166334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:09:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":166334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:09:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:09:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:09:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:09:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708596480001,"66":12178,"102":206,"83":41984,"24":0,"16":16029878805594112,"45":1830502172894076928},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 19:09:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:09:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:09:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708596480001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:09:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 19:09:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:09:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16029878805594112,"km_value":16029878805594.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:09:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894076928,"description":"Unknown IO ID 45"} 
[2026-08-28 19:09:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708596480001,"power":12178,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894076928}} 
[2026-08-28 19:09:19] local.INFO: DEBUG: GPS processor result {"connection_id":166334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709748,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:09:19] local.INFO: GPS data processed {"connection_id":166334,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:09:19] local.INFO: Acknowledgment sent {"connection_id":166334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:09:30] local.INFO: TCP Data received {"connection_id":163968,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:09:30] local.INFO: Processing buffer {"connection_id":163968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:09:30] local.INFO: IMEI packet received {"connection_id":163968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 19:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":163968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:09:35] local.INFO: TCP Data received {"connection_id":163968,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:09:35] local.INFO: Processing buffer {"connection_id":163968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:09:35] local.INFO: IMEI packet received {"connection_id":163968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 19:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":163968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:09:36] local.INFO: TCP Data received {"connection_id":164974,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048941b48012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048941b48012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:09:36] local.INFO: Processing buffer {"connection_id":164974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048941b48012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:09:36] local.INFO: Packet analysis {"connection_id":164974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04894"} 
[2026-08-28 19:09:36] local.INFO: Extracted packet for processing {"connection_id":164974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04894"} 
[2026-08-28 19:09:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708482560001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787924061000,"timestamp_ms":1787924061000,"timestamp_seconds":1787924061,"priority":1,"record_length":96,"hex_timestamp":"000001a048941b48"} 
[2026-08-28 19:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:09:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 19:09:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:09:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":164974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":164974,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":164974,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:09:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708482560001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708482560001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:09:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:09:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708482560001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:09:36] 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":709749,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:09:36] local.INFO: GPS data processed {"connection_id":164974,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:09:36] local.INFO: Acknowledgment sent {"connection_id":164974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:09:37] local.INFO: TCP Data received {"connection_id":163968,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048962aa0012d34c14006aa4840000f00e62a..."} 
[2026-08-28 19:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048962aa0012d34c14006aa4840000f00e62a..."} 
[2026-08-28 19:09:37] local.INFO: Processing buffer {"connection_id":163968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048962aa0012d34c14006aa4840000f00e62a..."} 
[2026-08-28 19:09:37] local.INFO: Packet analysis {"connection_id":163968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04896"} 
[2026-08-28 19:09:37] local.INFO: Extracted packet for processing {"connection_id":163968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04896"} 
[2026-08-28 19:09:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708517120001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787924196000,"timestamp_ms":1787924196000,"timestamp_seconds":1787924196,"priority":1,"record_length":96,"hex_timestamp":"000001a048962aa0"} 
[2026-08-28 19:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-28 19:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1367,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708517120001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708517120001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:09:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:09:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:09: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-28 19:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708517120001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":163968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:09:37] local.INFO: GPS data processed {"connection_id":163968,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:09:37] local.INFO: Acknowledgment sent {"connection_id":163968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:09:43] local.INFO: TCP Data received {"connection_id":163695,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163695,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:09:43] local.INFO: Processing buffer {"connection_id":163695,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:09:43] local.INFO: IMEI packet received {"connection_id":163695,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 19:09:43] local.INFO: IMEI acknowledgment sent {"connection_id":163695,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:09:48] local.INFO: TCP Data received {"connection_id":163695,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163695,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:09:48] local.INFO: Processing buffer {"connection_id":163695,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:09:48] local.INFO: IMEI packet received {"connection_id":163695,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 19:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":163695,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:09:48] local.INFO: TCP Data received {"connection_id":163695,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a04896f1d8012d196740071feea0003e00512b..."} 
[2026-08-28 19:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04896f1d8012d196740071feea0003e00512b..."} 
[2026-08-28 19:09:48] local.INFO: Processing buffer {"connection_id":163695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04896f1d8012d196740071feea0003e00512b..."} 
[2026-08-28 19:09:48] local.INFO: Packet analysis {"connection_id":163695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04896"} 
[2026-08-28 19:09:48] local.INFO: Extracted packet for processing {"connection_id":163695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04896"} 
[2026-08-28 19:09:48] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533216,"longitude_deg":75.6639552,"latitude_deg":11.9533216,"altitude":62,"angle":81,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071feea0","is_valid_coordinates":true} 
[2026-08-28 19:09:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:09:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708601856001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:09:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16029878805594112,"note":"Value kept but may cause issues"} 
[2026-08-28 19:09:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894076928,"note":"Value kept but may cause issues"} 
[2026-08-28 19:09:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:09:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787924247000,"timestamp_ms":1787924247000,"timestamp_seconds":1787924247,"priority":1,"record_length":96,"hex_timestamp":"000001a04896f1d8"} 
[2026-08-28 19:09:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:09:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19:09:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-28 19:09:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1747,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:09:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:09:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:09:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:09:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:09:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:09:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:09:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:09:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:09:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:09:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708601856001,"66":11971,"102":206,"83":41984,"24":0,"16":16029878805594112,"45":1830502172894076928},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 19:09:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:09:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:09:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708601856001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:09:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 19:09:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:09:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16029878805594112,"km_value":16029878805594.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:09:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894076928,"description":"Unknown IO ID 45"} 
[2026-08-28 19:09:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708601856001,"power":11971,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894076928}} 
[2026-08-28 19:09:49] 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":709751,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:09:49] local.INFO: GPS data processed {"connection_id":163695,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:09:49] local.INFO: Acknowledgment sent {"connection_id":163695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:09:56] local.INFO: TCP Data received {"connection_id":166335,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166335,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:09:56] local.INFO: Processing buffer {"connection_id":166335,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:09:56] local.INFO: IMEI packet received {"connection_id":166335,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 19:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":166335,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:10:00] local.INFO: TCP Data received {"connection_id":166335,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166335,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:10:00] local.INFO: Processing buffer {"connection_id":166335,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:10:00] local.INFO: IMEI packet received {"connection_id":166335,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 19:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":166335,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:10:02] local.INFO: TCP Data received {"connection_id":166335,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04898b310012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04898b310012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:10:02] local.INFO: Processing buffer {"connection_id":166335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04898b310012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:10:02] local.INFO: Packet analysis {"connection_id":166335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04898"} 
[2026-08-28 19:10:02] local.INFO: Extracted packet for processing {"connection_id":166335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04898"} 
[2026-08-28 19:10:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708559616001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:10:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:10:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787924362000,"timestamp_ms":1787924362000,"timestamp_seconds":1787924362,"priority":1,"record_length":96,"hex_timestamp":"000001a04898b310"} 
[2026-08-28 19:10:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:10:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 19:10:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:10:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:10:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":166335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":166335,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":166335,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:10:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708559616001,"66":25299,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708559616001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:10:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:10:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:10:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:10:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:10:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708559616001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":166335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709752,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:10:02] local.INFO: GPS data processed {"connection_id":166335,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:10:02] local.INFO: Acknowledgment sent {"connection_id":166335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:10:08] local.INFO: TCP Data received {"connection_id":163968,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048962aa0012d34c14006aa4840000f00e62a..."} 
[2026-08-28 19:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048962aa0012d34c14006aa4840000f00e62a..."} 
[2026-08-28 19:10:08] local.INFO: Processing buffer {"connection_id":163968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048962aa0012d34c14006aa4840000f00e62a..."} 
[2026-08-28 19:10:08] local.INFO: Packet analysis {"connection_id":163968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04896"} 
[2026-08-28 19:10:08] local.INFO: Extracted packet for processing {"connection_id":163968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04896"} 
[2026-08-28 19:10:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708517120001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:10:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787924196000,"timestamp_ms":1787924196000,"timestamp_seconds":1787924196,"priority":1,"record_length":96,"hex_timestamp":"000001a048962aa0"} 
[2026-08-28 19:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:10: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-28 19:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-28 19:10:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1367,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:10:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:10:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708517120001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708517120001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:10:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:10:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:10: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-28 19:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708517120001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":163968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:10:08] local.INFO: GPS data processed {"connection_id":163968,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:10:08] local.INFO: Acknowledgment sent {"connection_id":163968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:10:20] local.INFO: TCP Data received {"connection_id":163695,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0489743e0012d196740071feea0003e00512b..."} 
[2026-08-28 19:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0489743e0012d196740071feea0003e00512b..."} 
[2026-08-28 19:10:20] local.INFO: Processing buffer {"connection_id":163695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0489743e0012d196740071feea0003e00512b..."} 
[2026-08-28 19:10:20] local.INFO: Packet analysis {"connection_id":163695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04897"} 
[2026-08-28 19:10:20] local.INFO: Extracted packet for processing {"connection_id":163695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04897"} 
[2026-08-28 19:10:20] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533216,"longitude_deg":75.6639552,"latitude_deg":11.9533216,"altitude":62,"angle":81,"satellites":43,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071feea0","is_valid_coordinates":true} 
[2026-08-28 19: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-28 19:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708607232001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16029878805594112,"note":"Value kept but may cause issues"} 
[2026-08-28 19:10:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894076928,"note":"Value kept but may cause issues"} 
[2026-08-28 19:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787924268000,"timestamp_ms":1787924268000,"timestamp_seconds":1787924268,"priority":1,"record_length":96,"hex_timestamp":"000001a0489743e0"} 
[2026-08-28 19: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-28 19:10:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19: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":46,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-28 19:10:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2183,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19: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-28 19: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-28 19:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:10:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708607232001,"66":12200,"102":206,"83":41984,"24":0,"16":16029878805594112,"45":1830502172894076928},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 19:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708607232001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:10:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 19:10:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16029878805594112,"km_value":16029878805594.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:10:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894076928,"description":"Unknown IO ID 45"} 
[2026-08-28 19:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708607232001,"power":12200,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894076928}} 
[2026-08-28 19:10:20] 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":709754,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:10:20] local.INFO: GPS data processed {"connection_id":163695,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:10:20] local.INFO: Acknowledgment sent {"connection_id":163695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:10:35] local.INFO: TCP Data received {"connection_id":166335,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04898b310012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04898b310012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:10:35] local.INFO: Processing buffer {"connection_id":166335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04898b310012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:10:35] local.INFO: Packet analysis {"connection_id":166335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04898"} 
[2026-08-28 19:10:35] local.INFO: Extracted packet for processing {"connection_id":166335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04898"} 
[2026-08-28 19:10:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708559616001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:10:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787924362000,"timestamp_ms":1787924362000,"timestamp_seconds":1787924362,"priority":1,"record_length":96,"hex_timestamp":"000001a04898b310"} 
[2026-08-28 19:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:10:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 19:10:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:10:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":166335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":166335,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":166335,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708559616001,"66":25299,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708559616001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:10:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:10:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708559616001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":166335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709755,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:10:35] local.INFO: GPS data processed {"connection_id":166335,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:10:35] local.INFO: Acknowledgment sent {"connection_id":166335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:10:35] local.INFO: TCP Data received {"connection_id":164975,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:10:35] local.INFO: Processing buffer {"connection_id":164975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:10:35] local.INFO: IMEI packet received {"connection_id":164975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 19:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":164975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:10:40] local.INFO: TCP Data received {"connection_id":164975,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:10:40] local.INFO: Processing buffer {"connection_id":164975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:10:40] local.INFO: IMEI packet received {"connection_id":164975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 19:10:40] local.INFO: IMEI acknowledgment sent {"connection_id":164975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:10:42] local.INFO: TCP Data received {"connection_id":164975,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048962aa0012d34c14006aa4840000f00e62a..."} 
[2026-08-28 19:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048962aa0012d34c14006aa4840000f00e62a..."} 
[2026-08-28 19:10:42] local.INFO: Processing buffer {"connection_id":164975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048962aa0012d34c14006aa4840000f00e62a..."} 
[2026-08-28 19:10:42] local.INFO: Packet analysis {"connection_id":164975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04896"} 
[2026-08-28 19:10:42] local.INFO: Extracted packet for processing {"connection_id":164975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04896"} 
[2026-08-28 19:10:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19: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-28 19:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708517120001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:10:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:10:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787924196000,"timestamp_ms":1787924196000,"timestamp_seconds":1787924196,"priority":1,"record_length":96,"hex_timestamp":"000001a048962aa0"} 
[2026-08-28 19: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-28 19: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-28 19: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":97,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-28 19:10:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1367,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19: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-28 19: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-28 19:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":164975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":164975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":164975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:10:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708517120001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708517120001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:10:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:10:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19: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-28 19:10:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708517120001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:10:42] 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":709756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:10:42] local.INFO: GPS data processed {"connection_id":164975,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:10:42] local.INFO: Acknowledgment sent {"connection_id":164975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:10:43] local.INFO: TCP Data received {"connection_id":166336,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166336,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:10:43] local.INFO: Processing buffer {"connection_id":166336,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:10:43] local.INFO: IMEI packet received {"connection_id":166336,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 19:10:43] local.INFO: IMEI acknowledgment sent {"connection_id":166336,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:10:46] local.INFO: TCP Data received {"connection_id":164975,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048962aa0012d34c14006aa4840000f00e62a..."} 
[2026-08-28 19:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048962aa0012d34c14006aa4840000f00e62a..."} 
[2026-08-28 19:10:46] local.INFO: Processing buffer {"connection_id":164975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048962aa0012d34c14006aa4840000f00e62a..."} 
[2026-08-28 19:10:46] local.INFO: Packet analysis {"connection_id":164975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04896"} 
[2026-08-28 19:10:46] local.INFO: Extracted packet for processing {"connection_id":164975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04896"} 
[2026-08-28 19:10:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19: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-28 19:10:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708517120001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:10:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:10:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:10:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:10:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787924196000,"timestamp_ms":1787924196000,"timestamp_seconds":1787924196,"priority":1,"record_length":96,"hex_timestamp":"000001a048962aa0"} 
[2026-08-28 19: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-28 19:10: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-28 19: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":97,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-28 19:10:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1367,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19: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-28 19: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-28 19:10:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:10:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:10:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:10:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:10:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:10:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:10:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:10:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708517120001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:10:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:10:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:10:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708517120001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:10:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:10:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:10: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-28 19:10:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:10:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708517120001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:10:46] 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":709757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:10:46] local.INFO: GPS data processed {"connection_id":164975,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:10:46] local.INFO: Acknowledgment sent {"connection_id":164975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:10:48] local.INFO: TCP Data received {"connection_id":166336,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166336,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:10:48] local.INFO: Processing buffer {"connection_id":166336,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:10:48] local.INFO: IMEI packet received {"connection_id":166336,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 19:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":166336,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:10:48] local.INFO: TCP Data received {"connection_id":166336,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0489795e8012d196740071feea0003e00512c..."} 
[2026-08-28 19:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0489795e8012d196740071feea0003e00512c..."} 
[2026-08-28 19:10:48] local.INFO: Processing buffer {"connection_id":166336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0489795e8012d196740071feea0003e00512c..."} 
[2026-08-28 19:10:48] local.INFO: Packet analysis {"connection_id":166336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04897"} 
[2026-08-28 19:10:48] local.INFO: Extracted packet for processing {"connection_id":166336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04897"} 
[2026-08-28 19:10:48] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533216,"longitude_deg":75.6639552,"latitude_deg":11.9533216,"altitude":62,"angle":81,"satellites":44,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071feea0","is_valid_coordinates":true} 
[2026-08-28 19: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-28 19:10:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708612608001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:10:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16029878805594112,"note":"Value kept but may cause issues"} 
[2026-08-28 19:10:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894076928,"note":"Value kept but may cause issues"} 
[2026-08-28 19:10:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:10:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787924289000,"timestamp_ms":1787924289000,"timestamp_seconds":1787924289,"priority":1,"record_length":96,"hex_timestamp":"000001a0489795e8"} 
[2026-08-28 19: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-28 19:10:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19: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":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-08-28 19:10:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1945,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19: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-28 19: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-28 19:10:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:10:48] local.INFO: Teltonika packet parsed successfully {"connection_id":166336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:10:48] local.INFO: Passing IMEI to GPS processor {"connection_id":166336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:10:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":166336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:10:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:10:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:10:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:10:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708612608001,"66":12254,"102":206,"83":41984,"24":0,"16":16029878805594112,"45":1830502172894076928},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 19:10:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:10:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:10:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708612608001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:10:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 19:10:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:10:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16029878805594112,"km_value":16029878805594.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:10:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894076928,"description":"Unknown IO ID 45"} 
[2026-08-28 19:10:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708612608001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894076928}} 
[2026-08-28 19:10:49] local.INFO: DEBUG: GPS processor result {"connection_id":166336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709758,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:10:49] local.INFO: GPS data processed {"connection_id":166336,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:10:49] local.INFO: Acknowledgment sent {"connection_id":166336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:10:56] local.INFO: TCP Data received {"connection_id":163696,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163696,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:10:56] local.INFO: Processing buffer {"connection_id":163696,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:10:56] local.INFO: IMEI packet received {"connection_id":163696,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 19:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":163696,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:11:01] local.INFO: TCP Data received {"connection_id":163696,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163696,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:11:01] local.INFO: Processing buffer {"connection_id":163696,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:11:01] local.INFO: IMEI packet received {"connection_id":163696,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 19:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":163696,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:11:03] local.INFO: TCP Data received {"connection_id":163696,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04898b310012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04898b310012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:11:03] local.INFO: Processing buffer {"connection_id":163696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04898b310012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:11:03] local.INFO: Packet analysis {"connection_id":163696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04898"} 
[2026-08-28 19:11:03] local.INFO: Extracted packet for processing {"connection_id":163696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04898"} 
[2026-08-28 19:11:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708559616001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787924362000,"timestamp_ms":1787924362000,"timestamp_seconds":1787924362,"priority":1,"record_length":96,"hex_timestamp":"000001a04898b310"} 
[2026-08-28 19:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:11:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 19:11:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:11:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163696,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163696,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708559616001,"66":25299,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708559616001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:11:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:11:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708559616001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:11:03] 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":709759,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:11:03] local.INFO: GPS data processed {"connection_id":163696,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:11:03] local.INFO: Acknowledgment sent {"connection_id":163696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:11:20] local.INFO: TCP Data received {"connection_id":166336,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a04897e7f0012d196740071feea0003e00512d..."} 
[2026-08-28 19:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04897e7f0012d196740071feea0003e00512d..."} 
[2026-08-28 19:11:20] local.INFO: Processing buffer {"connection_id":166336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04897e7f0012d196740071feea0003e00512d..."} 
[2026-08-28 19:11:20] local.INFO: Packet analysis {"connection_id":166336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04897"} 
[2026-08-28 19:11:20] local.INFO: Extracted packet for processing {"connection_id":166336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04897"} 
[2026-08-28 19:11:20] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119533216,"longitude_deg":75.6639552,"latitude_deg":11.9533216,"altitude":62,"angle":81,"satellites":45,"speed":0,"hex_longitude":"2d196740","hex_latitude":"071feea0","is_valid_coordinates":true} 
[2026-08-28 19: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-28 19:11:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708617984001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:11:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16029878805594112,"note":"Value kept but may cause issues"} 
[2026-08-28 19:11:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894076928,"note":"Value kept but may cause issues"} 
[2026-08-28 19:11:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:11:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787924310000,"timestamp_ms":1787924310000,"timestamp_seconds":1787924310,"priority":1,"record_length":96,"hex_timestamp":"000001a04897e7f0"} 
[2026-08-28 19: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-28 19:11:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-28 19:11:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19: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-28 19: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-28 19:11:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:11:20] local.INFO: Teltonika packet parsed successfully {"connection_id":166336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:11:20] local.INFO: Passing IMEI to GPS processor {"connection_id":166336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:11:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":166336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:11:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:11:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:11:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:11:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708617984001,"66":12232,"102":206,"83":41984,"24":0,"16":16029878805594112,"45":1830502172894076928},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-28 19:11:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:11:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:11:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708617984001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:11:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-28 19:11:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:11:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16029878805594112,"km_value":16029878805594.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:11:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894076928,"description":"Unknown IO ID 45"} 
[2026-08-28 19:11:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708617984001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830502172894076928}} 
[2026-08-28 19:11:20] local.INFO: DEBUG: GPS processor result {"connection_id":166336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709760,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:11:20] local.INFO: GPS data processed {"connection_id":166336,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:11:20] local.INFO: Acknowledgment sent {"connection_id":166336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:11:30] local.INFO: TCP Data received {"connection_id":164976,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:11:30] local.INFO: Processing buffer {"connection_id":164976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:11:30] local.INFO: IMEI packet received {"connection_id":164976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 19:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":164976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:11:35] local.INFO: TCP Data received {"connection_id":163696,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04898b310012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04898b310012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:11:35] local.INFO: Processing buffer {"connection_id":163696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04898b310012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:11:35] local.INFO: Packet analysis {"connection_id":163696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04898"} 
[2026-08-28 19:11:35] local.INFO: Extracted packet for processing {"connection_id":163696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04898"} 
[2026-08-28 19:11:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708559616001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787924362000,"timestamp_ms":1787924362000,"timestamp_seconds":1787924362,"priority":1,"record_length":96,"hex_timestamp":"000001a04898b310"} 
[2026-08-28 19:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:11:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 19:11:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:11:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163696,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163696,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708559616001,"66":25299,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708559616001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:11:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:11:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708559616001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:11:35] 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":709761,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:11:35] local.INFO: GPS data processed {"connection_id":163696,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:11:35] local.INFO: Acknowledgment sent {"connection_id":163696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:11:35] local.INFO: TCP Data received {"connection_id":164976,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:11:35] local.INFO: Processing buffer {"connection_id":164976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:11:35] local.INFO: IMEI packet received {"connection_id":164976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 19:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":164976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:11:37] local.INFO: TCP Data received {"connection_id":164976,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048962aa0012d34c14006aa4840000f00e62a..."} 
[2026-08-28 19:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048962aa0012d34c14006aa4840000f00e62a..."} 
[2026-08-28 19:11:37] local.INFO: Processing buffer {"connection_id":164976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048962aa0012d34c14006aa4840000f00e62a..."} 
[2026-08-28 19:11:37] local.INFO: Packet analysis {"connection_id":164976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04896"} 
[2026-08-28 19:11:37] local.INFO: Extracted packet for processing {"connection_id":164976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04896"} 
[2026-08-28 19:11:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708517120001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787924196000,"timestamp_ms":1787924196000,"timestamp_seconds":1787924196,"priority":1,"record_length":96,"hex_timestamp":"000001a048962aa0"} 
[2026-08-28 19:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-28 19:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1367,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708517120001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708517120001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:11:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:11:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:11: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-28 19:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708517120001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":164976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:11:37] local.INFO: GPS data processed {"connection_id":164976,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:11:37] local.INFO: Acknowledgment sent {"connection_id":164976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:11:42] local.INFO: TCP Data received {"connection_id":166337,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166337,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:11:42] local.INFO: Processing buffer {"connection_id":166337,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:11:42] local.INFO: IMEI packet received {"connection_id":166337,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 19:11:42] local.INFO: IMEI acknowledgment sent {"connection_id":166337,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:11:45] local.INFO: TCP Data received {"connection_id":166337,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166337,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:11:45] local.INFO: Processing buffer {"connection_id":166337,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:11:45] local.INFO: IMEI packet received {"connection_id":166337,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 19:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":166337,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:11:48] local.INFO: TCP Data received {"connection_id":166337,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166337,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:11:48] local.INFO: Processing buffer {"connection_id":166337,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:11:48] local.INFO: IMEI packet received {"connection_id":166337,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 19:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":166337,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:11:49] local.INFO: TCP Data received {"connection_id":166337,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a04899ff18012d198540071ff068004500522e..."} 
[2026-08-28 19:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04899ff18012d198540071ff068004500522e..."} 
[2026-08-28 19:11:49] local.INFO: Processing buffer {"connection_id":166337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04899ff18012d198540071ff068004500522e..."} 
[2026-08-28 19:11:49] local.INFO: Packet analysis {"connection_id":166337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04899"} 
[2026-08-28 19:11:49] local.INFO: Extracted packet for processing {"connection_id":166337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04899"} 
[2026-08-28 19:11:49] local.INFO: GPS Element Parsed {"raw_longitude":756647232,"raw_latitude":119533672,"longitude_deg":75.6647232,"latitude_deg":11.9533672,"altitude":69,"angle":82,"satellites":46,"speed":22,"hex_longitude":"2d198540","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-08-28 19: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-28 19:11:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708658176001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:11:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16030269647618048,"note":"Value kept but may cause issues"} 
[2026-08-28 19:11:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838313103497885696,"note":"Value kept but may cause issues"} 
[2026-08-28 19:11: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-28 19:11:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787924447000,"timestamp_ms":1787924447000,"timestamp_seconds":1787924447,"priority":1,"record_length":96,"hex_timestamp":"000001a04899ff18"} 
[2026-08-28 19: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-28 19:11:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-28 19:11:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19: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-28 19: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-28 19:11:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:11:49] local.INFO: Teltonika packet parsed successfully {"connection_id":166337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:11:49] local.INFO: Passing IMEI to GPS processor {"connection_id":166337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:11:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":166337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:11:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:11:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:11:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:11:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708658176001,"66":13678,"101":206,"83":41984,"24":22,"16":16030269647618048,"45":1838313103497885696},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-28 19:11:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:11:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:11:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708658176001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:11:49] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-28 19:11:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:11:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16030269647618048,"km_value":16030269647618.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:11:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838313103497885696,"description":"Unknown IO ID 45"} 
[2026-08-28 19:11:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708658176001,"power":13678,"unknown_101":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1838313103497885696}} 
[2026-08-28 19:11:49] local.INFO: DEBUG: GPS processor result {"connection_id":166337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709763,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:11:49] local.INFO: GPS data processed {"connection_id":166337,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:11:49] local.INFO: Acknowledgment sent {"connection_id":166337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:11:56] local.INFO: TCP Data received {"connection_id":163969,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163969,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:11:56] local.INFO: Processing buffer {"connection_id":163969,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:11:56] local.INFO: IMEI packet received {"connection_id":163969,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 19:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":163969,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:12:01] local.INFO: TCP Data received {"connection_id":163969,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163969,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:12:01] local.INFO: Processing buffer {"connection_id":163969,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:12:01] local.INFO: IMEI packet received {"connection_id":163969,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 19:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":163969,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:12:03] local.INFO: TCP Data received {"connection_id":163969,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04898b310012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04898b310012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:12:03] local.INFO: Processing buffer {"connection_id":163969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04898b310012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:12:03] local.INFO: Packet analysis {"connection_id":163969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04898"} 
[2026-08-28 19:12:03] local.INFO: Extracted packet for processing {"connection_id":163969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04898"} 
[2026-08-28 19:12:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708559616001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:12:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787924362000,"timestamp_ms":1787924362000,"timestamp_seconds":1787924362,"priority":1,"record_length":96,"hex_timestamp":"000001a04898b310"} 
[2026-08-28 19:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:12:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 19:12:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:12:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163969,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163969,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708559616001,"66":25299,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708559616001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:12:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:12:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708559616001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":163969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709764,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:12:03] local.INFO: GPS data processed {"connection_id":163969,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:12:03] local.INFO: Acknowledgment sent {"connection_id":163969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:12:09] local.INFO: TCP Data received {"connection_id":164976,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048962aa0012d34c14006aa4840000f00e62a..."} 
[2026-08-28 19:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048962aa0012d34c14006aa4840000f00e62a..."} 
[2026-08-28 19:12:09] local.INFO: Processing buffer {"connection_id":164976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048962aa0012d34c14006aa4840000f00e62a..."} 
[2026-08-28 19:12:09] local.INFO: Packet analysis {"connection_id":164976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04896"} 
[2026-08-28 19:12:09] local.INFO: Extracted packet for processing {"connection_id":164976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04896"} 
[2026-08-28 19:12:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":15,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708517120001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:12:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787924196000,"timestamp_ms":1787924196000,"timestamp_seconds":1787924196,"priority":1,"record_length":96,"hex_timestamp":"000001a048962aa0"} 
[2026-08-28 19:12:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:12:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-28 19:12:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1367,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:12:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:12:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:12:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708517120001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708517120001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:12:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:12:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:12: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-28 19:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708517120001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":164976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:12:09] local.INFO: GPS data processed {"connection_id":164976,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:12:09] local.INFO: Acknowledgment sent {"connection_id":164976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:12:19] local.INFO: TCP Data received {"connection_id":166337,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0489ab2c8012d19dc8007200b80002f012a2d..."} 
[2026-08-28 19:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0489ab2c8012d19dc8007200b80002f012a2d..."} 
[2026-08-28 19:12:19] local.INFO: Processing buffer {"connection_id":166337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0489ab2c8012d19dc8007200b80002f012a2d..."} 
[2026-08-28 19:12:19] local.INFO: Packet analysis {"connection_id":166337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0489a"} 
[2026-08-28 19:12:19] local.INFO: Extracted packet for processing {"connection_id":166337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0489a"} 
[2026-08-28 19:12:19] local.INFO: GPS Element Parsed {"raw_longitude":756669568,"raw_latitude":119540608,"longitude_deg":75.6669568,"latitude_deg":11.9540608,"altitude":47,"angle":298,"satellites":45,"speed":17,"hex_longitude":"2d19dc80","hex_latitude":"07200b80","is_valid_coordinates":true} 
[2026-08-28 19:12:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:12:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708669952001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:12:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16031549547872256,"note":"Value kept but may cause issues"} 
[2026-08-28 19:12:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863786588891953152,"note":"Value kept but may cause issues"} 
[2026-08-28 19:12:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:12:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787924493000,"timestamp_ms":1787924493000,"timestamp_seconds":1787924493,"priority":1,"record_length":96,"hex_timestamp":"000001a0489ab2c8"} 
[2026-08-28 19:12:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:12:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19:12:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-28 19:12:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:12:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:12:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:12:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:12:19] local.INFO: Teltonika packet parsed successfully {"connection_id":166337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:12:19] local.INFO: Passing IMEI to GPS processor {"connection_id":166337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:12:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":166337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:12:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:12:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:12:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:12:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708669952001,"66":13167,"101":206,"83":41984,"24":17,"16":16031549547872256,"45":1863786588891953152},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-28 19:12:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:12:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:12:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708669952001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:12:19] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-28 19:12:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:12:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16031549547872256,"km_value":16031549547872.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:12:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863786588891953152,"description":"Unknown IO ID 45"} 
[2026-08-28 19:12:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708669952001,"power":13167,"unknown_101":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1863786588891953152}} 
[2026-08-28 19:12:20] local.INFO: DEBUG: GPS processor result {"connection_id":166337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709766,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:12:20] local.INFO: GPS data processed {"connection_id":166337,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:12:20] local.INFO: Acknowledgment sent {"connection_id":166337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:12:30] local.INFO: TCP Data received {"connection_id":163697,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:12:30] local.INFO: Processing buffer {"connection_id":163697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:12:30] local.INFO: IMEI packet received {"connection_id":163697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 19:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":163697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:12:35] local.INFO: TCP Data received {"connection_id":163697,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:12:35] local.INFO: Processing buffer {"connection_id":163697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:12:35] local.INFO: IMEI packet received {"connection_id":163697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 19:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":163697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:12:35] local.INFO: TCP Data received {"connection_id":163969,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04898b310012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04898b310012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:12:35] local.INFO: Processing buffer {"connection_id":163969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04898b310012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:12:35] local.INFO: Packet analysis {"connection_id":163969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04898"} 
[2026-08-28 19:12:35] local.INFO: Extracted packet for processing {"connection_id":163969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04898"} 
[2026-08-28 19:12:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708559616001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:12:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:12:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787924362000,"timestamp_ms":1787924362000,"timestamp_seconds":1787924362,"priority":1,"record_length":96,"hex_timestamp":"000001a04898b310"} 
[2026-08-28 19:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:12:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 19:12:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:12:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163969,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163969,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708559616001,"66":25299,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708559616001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:12:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:12:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:12:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708559616001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":163969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709767,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:12:35] local.INFO: GPS data processed {"connection_id":163969,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:12:35] local.INFO: Acknowledgment sent {"connection_id":163969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:12:36] local.INFO: TCP Data received {"connection_id":163697,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0489ac268012d34c14006aa4840001000e62a..."} 
[2026-08-28 19:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0489ac268012d34c14006aa4840001000e62a..."} 
[2026-08-28 19:12:36] local.INFO: Processing buffer {"connection_id":163697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0489ac268012d34c14006aa4840001000e62a..."} 
[2026-08-28 19:12:36] local.INFO: Packet analysis {"connection_id":163697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0489a"} 
[2026-08-28 19:12:36] local.INFO: Extracted packet for processing {"connection_id":163697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0489a"} 
[2026-08-28 19:12:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708594176001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:12:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787924497000,"timestamp_ms":1787924497000,"timestamp_seconds":1787924497,"priority":1,"record_length":96,"hex_timestamp":"000001a0489ac268"} 
[2026-08-28 19:12:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:12:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 19:12:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:12:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:12:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:12:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708594176001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708594176001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:12:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:12:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:12:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708594176001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:12:36] 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":709768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:12:36] local.INFO: GPS data processed {"connection_id":163697,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:12:36] local.INFO: Acknowledgment sent {"connection_id":163697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:12:42] local.INFO: TCP Data received {"connection_id":166338,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166338,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:12:42] local.INFO: Processing buffer {"connection_id":166338,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:12:42] local.INFO: IMEI packet received {"connection_id":166338,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 19:12:42] local.INFO: IMEI acknowledgment sent {"connection_id":166338,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:12:48] local.INFO: TCP Data received {"connection_id":166338,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166338,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:12:48] local.INFO: Processing buffer {"connection_id":166338,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:12:48] local.INFO: IMEI packet received {"connection_id":166338,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 19:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":166338,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:12:48] local.INFO: TCP Data received {"connection_id":166338,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0489aca38012d19d28007201140002e01392c..."} 
[2026-08-28 19:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0489aca38012d19d28007201140002e01392c..."} 
[2026-08-28 19:12:48] local.INFO: Processing buffer {"connection_id":166338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0489aca38012d19d28007201140002e01392c..."} 
[2026-08-28 19:12:48] local.INFO: Packet analysis {"connection_id":166338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0489a"} 
[2026-08-28 19:12:48] local.INFO: Extracted packet for processing {"connection_id":166338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0489a"} 
[2026-08-28 19:12:48] local.INFO: GPS Element Parsed {"raw_longitude":756667008,"raw_latitude":119542080,"longitude_deg":75.6667008,"latitude_deg":11.954208,"altitude":46,"angle":313,"satellites":44,"speed":16,"hex_longitude":"2d19d280","hex_latitude":"07201140","is_valid_coordinates":true} 
[2026-08-28 19: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-28 19:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708670208001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:12:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16031691281793024,"note":"Value kept but may cause issues"} 
[2026-08-28 19:12:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863505113915293696,"note":"Value kept but may cause issues"} 
[2026-08-28 19:12:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:12:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787924499000,"timestamp_ms":1787924499000,"timestamp_seconds":1787924499,"priority":1,"record_length":96,"hex_timestamp":"000001a0489aca38"} 
[2026-08-28 19: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-28 19:12:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19: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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-28 19:12:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19: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-28 19: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-28 19:12:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:12:48] local.INFO: Teltonika packet parsed successfully {"connection_id":166338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:12:48] local.INFO: Passing IMEI to GPS processor {"connection_id":166338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:12:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":166338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:12:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:12:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:12:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:12:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708670208001,"66":13222,"101":206,"83":41984,"24":16,"16":16031691281793024,"45":1863505113915293696},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-28 19:12:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:12:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:12:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708670208001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:12:48] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-28 19:12:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:12:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16031691281793024,"km_value":16031691281793.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:12:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863505113915293696,"description":"Unknown IO ID 45"} 
[2026-08-28 19:12:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708670208001,"power":13222,"unknown_101":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1863505113915293696}} 
[2026-08-28 19:12:49] local.INFO: DEBUG: GPS processor result {"connection_id":166338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709769,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:12:49] local.INFO: GPS data processed {"connection_id":166338,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:12:49] local.INFO: Acknowledgment sent {"connection_id":166338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:12:56] local.INFO: TCP Data received {"connection_id":164977,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164977,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:12:56] local.INFO: Processing buffer {"connection_id":164977,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:12:56] local.INFO: IMEI packet received {"connection_id":164977,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 19:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":164977,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:13:01] local.INFO: TCP Data received {"connection_id":164977,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164977,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:13:01] local.INFO: Processing buffer {"connection_id":164977,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:13:01] local.INFO: IMEI packet received {"connection_id":164977,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 19:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":164977,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:13:03] local.INFO: TCP Data received {"connection_id":164977,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04898b310012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04898b310012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:13:03] local.INFO: Processing buffer {"connection_id":164977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04898b310012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:13:03] local.INFO: Packet analysis {"connection_id":164977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04898"} 
[2026-08-28 19:13:03] local.INFO: Extracted packet for processing {"connection_id":164977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04898"} 
[2026-08-28 19:13:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708559616001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787924362000,"timestamp_ms":1787924362000,"timestamp_seconds":1787924362,"priority":1,"record_length":96,"hex_timestamp":"000001a04898b310"} 
[2026-08-28 19:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:13:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 19:13:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:13:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":164977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":164977,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":164977,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708559616001,"66":25299,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708559616001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:13:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:13:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708559616001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:13:03] 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":709770,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:13:03] local.INFO: GPS data processed {"connection_id":164977,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:13:03] local.INFO: Acknowledgment sent {"connection_id":164977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:13:08] local.INFO: TCP Data received {"connection_id":163697,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0489ac268012d34c14006aa4840001000e62a..."} 
[2026-08-28 19:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0489ac268012d34c14006aa4840001000e62a..."} 
[2026-08-28 19:13:08] local.INFO: Processing buffer {"connection_id":163697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0489ac268012d34c14006aa4840001000e62a..."} 
[2026-08-28 19:13:08] local.INFO: Packet analysis {"connection_id":163697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0489a"} 
[2026-08-28 19:13:08] local.INFO: Extracted packet for processing {"connection_id":163697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0489a"} 
[2026-08-28 19:13:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708594176001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:13:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:13:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787924497000,"timestamp_ms":1787924497000,"timestamp_seconds":1787924497,"priority":1,"record_length":96,"hex_timestamp":"000001a0489ac268"} 
[2026-08-28 19:13:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:13:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 19:13:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:13:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:13:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:13:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708594176001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708594176001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:13:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:13:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:13: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-28 19:13:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708594176001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:13:08] 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":709771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:13:08] local.INFO: GPS data processed {"connection_id":163697,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:13:08] local.INFO: Acknowledgment sent {"connection_id":163697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:13:19] local.INFO: TCP Data received {"connection_id":166338,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0489ace20012d19d1c007201298002e014c2c..."} 
[2026-08-28 19:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0489ace20012d19d1c007201298002e014c2c..."} 
[2026-08-28 19:13:19] local.INFO: Processing buffer {"connection_id":166338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0489ace20012d19d1c007201298002e014c2c..."} 
[2026-08-28 19:13:19] local.INFO: Packet analysis {"connection_id":166338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0489a"} 
[2026-08-28 19:13:19] local.INFO: Extracted packet for processing {"connection_id":166338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0489a"} 
[2026-08-28 19:13:19] local.INFO: GPS Element Parsed {"raw_longitude":756666816,"raw_latitude":119542424,"longitude_deg":75.6666816,"latitude_deg":11.9542424,"altitude":46,"angle":332,"satellites":44,"speed":14,"hex_longitude":"2d19d1c0","hex_latitude":"07201298","is_valid_coordinates":true} 
[2026-08-28 19:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:13:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708671744001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:13:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16031708461662208,"note":"Value kept but may cause issues"} 
[2026-08-28 19:13:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860690364148563968,"note":"Value kept but may cause issues"} 
[2026-08-28 19:13:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:13:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787924500000,"timestamp_ms":1787924500000,"timestamp_seconds":1787924500,"priority":1,"record_length":96,"hex_timestamp":"000001a0489ace20"} 
[2026-08-28 19:13:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:13:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-28 19:13:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:13:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:13:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:13:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:13:19] local.INFO: Teltonika packet parsed successfully {"connection_id":166338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:13:19] local.INFO: Passing IMEI to GPS processor {"connection_id":166338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:13:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":166338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:13:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:13:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:13:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:13:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708671744001,"66":13124,"101":206,"83":41984,"24":14,"16":16031708461662208,"45":1860690364148563968},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-28 19:13:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:13:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:13:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708671744001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:13:19] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-28 19:13:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:13:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16031708461662208,"km_value":16031708461662.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:13:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860690364148563968,"description":"Unknown IO ID 45"} 
[2026-08-28 19:13:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708671744001,"power":13124,"unknown_101":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1860690364148563968}} 
[2026-08-28 19:13:19] local.INFO: DEBUG: GPS processor result {"connection_id":166338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709772,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:13:19] local.INFO: GPS data processed {"connection_id":166338,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:13:19] local.INFO: Acknowledgment sent {"connection_id":166338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:13:35] local.INFO: TCP Data received {"connection_id":164978,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:13:35] local.INFO: Processing buffer {"connection_id":164978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:13:35] local.INFO: IMEI packet received {"connection_id":164978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 19:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":164978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:13:36] local.INFO: TCP Data received {"connection_id":164977,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04898b310012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04898b310012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:13:36] local.INFO: Processing buffer {"connection_id":164977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04898b310012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:13:36] local.INFO: Packet analysis {"connection_id":164977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04898"} 
[2026-08-28 19:13:36] local.INFO: Extracted packet for processing {"connection_id":164977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04898"} 
[2026-08-28 19:13:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19: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-28 19:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708559616001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:13:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787924362000,"timestamp_ms":1787924362000,"timestamp_seconds":1787924362,"priority":1,"record_length":96,"hex_timestamp":"000001a04898b310"} 
[2026-08-28 19: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-28 19:13:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 19:13:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19: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-28 19: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-28 19:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":164977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":164977,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":164977,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:13:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708559616001,"66":25299,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708559616001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:13:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:13:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708559616001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:13:36] 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":709773,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:13:36] local.INFO: GPS data processed {"connection_id":164977,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:13:36] local.INFO: Acknowledgment sent {"connection_id":164977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:13:40] local.INFO: TCP Data received {"connection_id":164978,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:13:40] local.INFO: Processing buffer {"connection_id":164978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:13:40] local.INFO: IMEI packet received {"connection_id":164978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 19:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":164978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:13:42] local.INFO: TCP Data received {"connection_id":164978,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0489ac268012d34c14006aa4840001000e62a..."} 
[2026-08-28 19:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0489ac268012d34c14006aa4840001000e62a..."} 
[2026-08-28 19:13:42] local.INFO: Processing buffer {"connection_id":164978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0489ac268012d34c14006aa4840001000e62a..."} 
[2026-08-28 19:13:42] local.INFO: Packet analysis {"connection_id":164978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0489a"} 
[2026-08-28 19:13:42] local.INFO: Extracted packet for processing {"connection_id":164978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0489a"} 
[2026-08-28 19:13:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 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-28 19:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708594176001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:13:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:13:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787924497000,"timestamp_ms":1787924497000,"timestamp_seconds":1787924497,"priority":1,"record_length":96,"hex_timestamp":"000001a0489ac268"} 
[2026-08-28 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-28 19:13:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 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-28 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-28 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-28 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-28 19:13:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":164978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":164978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":164978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:13:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:13:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708594176001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:13:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:13:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:13:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708594176001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:13:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:13:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 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-28 19:13:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:13:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708594176001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:13:42] 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":709774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:13:42] local.INFO: GPS data processed {"connection_id":164978,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:13:42] local.INFO: Acknowledgment sent {"connection_id":164978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:13:42] local.INFO: TCP Data received {"connection_id":166339,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166339,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:13:42] local.INFO: Processing buffer {"connection_id":166339,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:13:42] local.INFO: IMEI packet received {"connection_id":166339,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 19:13:42] local.INFO: IMEI acknowledgment sent {"connection_id":166339,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:13:46] local.INFO: TCP Data received {"connection_id":164978,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0489ac268012d34c14006aa4840001000e62a..."} 
[2026-08-28 19:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0489ac268012d34c14006aa4840001000e62a..."} 
[2026-08-28 19:13:46] local.INFO: Processing buffer {"connection_id":164978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0489ac268012d34c14006aa4840001000e62a..."} 
[2026-08-28 19:13:46] local.INFO: Packet analysis {"connection_id":164978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0489a"} 
[2026-08-28 19:13:46] local.INFO: Extracted packet for processing {"connection_id":164978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0489a"} 
[2026-08-28 19:13:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19: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-28 19:13:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708594176001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:13:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:13:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:13:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:13:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787924497000,"timestamp_ms":1787924497000,"timestamp_seconds":1787924497,"priority":1,"record_length":96,"hex_timestamp":"000001a0489ac268"} 
[2026-08-28 19: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-28 19:13:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19: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":31,"data_length":795,"current_offset":136} 
[2026-08-28 19:13: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-28 19: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-28 19: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-28 19:13:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:13:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:13:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:13:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:13:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:13:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:13:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:13:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708594176001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:13:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:13:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:13:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708594176001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:13:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:13:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19: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-28 19:13:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:13:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708594176001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:13:46] 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":709775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:13:46] local.INFO: GPS data processed {"connection_id":164978,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:13:46] local.INFO: Acknowledgment sent {"connection_id":164978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:13:48] local.INFO: TCP Data received {"connection_id":166339,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166339,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:13:48] local.INFO: Processing buffer {"connection_id":166339,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:13:48] local.INFO: IMEI packet received {"connection_id":166339,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 19:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":166339,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:13:48] local.INFO: TCP Data received {"connection_id":166339,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0489b2028012d19d04007201538002f014b2b..."} 
[2026-08-28 19:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0489b2028012d19d04007201538002f014b2b..."} 
[2026-08-28 19:13:48] local.INFO: Processing buffer {"connection_id":166339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0489b2028012d19d04007201538002f014b2b..."} 
[2026-08-28 19:13:48] local.INFO: Packet analysis {"connection_id":166339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0489b"} 
[2026-08-28 19:13:48] local.INFO: Extracted packet for processing {"connection_id":166339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0489b"} 
[2026-08-28 19:13:48] local.INFO: GPS Element Parsed {"raw_longitude":756666432,"raw_latitude":119543096,"longitude_deg":75.6666432,"latitude_deg":11.9543096,"altitude":47,"angle":331,"satellites":43,"speed":0,"hex_longitude":"2d19d040","hex_latitude":"07201538","is_valid_coordinates":true} 
[2026-08-28 19: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-28 19:13:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708672000001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:13:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16031751411335168,"note":"Value kept but may cause issues"} 
[2026-08-28 19:13:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860479257916119040,"note":"Value kept but may cause issues"} 
[2026-08-28 19:13:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:13:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787924521000,"timestamp_ms":1787924521000,"timestamp_seconds":1787924521,"priority":1,"record_length":96,"hex_timestamp":"000001a0489b2028"} 
[2026-08-28 19: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-28 19:13:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19: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":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-28 19:13:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19: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-28 19: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-28 19:13:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:13:48] local.INFO: Teltonika packet parsed successfully {"connection_id":166339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:13:48] local.INFO: Passing IMEI to GPS processor {"connection_id":166339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:13:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":166339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:13:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:13:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:13:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:13:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708672000001,"66":13015,"101":206,"83":41984,"24":0,"16":16031751411335168,"45":1860479257916119040},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-28 19:13:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:13:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:13:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708672000001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:13:48] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-28 19:13:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:13:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16031751411335168,"km_value":16031751411335.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:13:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860479257916119040,"description":"Unknown IO ID 45"} 
[2026-08-28 19:13:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708672000001,"power":13015,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1860479257916119040}} 
[2026-08-28 19:13:49] local.INFO: DEBUG: GPS processor result {"connection_id":166339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709776,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:13:49] local.INFO: GPS data processed {"connection_id":166339,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:13:49] local.INFO: Acknowledgment sent {"connection_id":166339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:13:56] local.INFO: TCP Data received {"connection_id":164979,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164979,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:13:56] local.INFO: Processing buffer {"connection_id":164979,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:13:56] local.INFO: IMEI packet received {"connection_id":164979,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 19:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":164979,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:14:01] local.INFO: TCP Data received {"connection_id":164979,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164979,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:14:01] local.INFO: Processing buffer {"connection_id":164979,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:14:01] local.INFO: IMEI packet received {"connection_id":164979,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 19:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":164979,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:14:03] local.INFO: TCP Data received {"connection_id":164979,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04898b310012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04898b310012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:14:03] local.INFO: Processing buffer {"connection_id":164979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04898b310012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:14:03] local.INFO: Packet analysis {"connection_id":164979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04898"} 
[2026-08-28 19:14:03] local.INFO: Extracted packet for processing {"connection_id":164979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04898"} 
[2026-08-28 19:14:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708559616001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787924362000,"timestamp_ms":1787924362000,"timestamp_seconds":1787924362,"priority":1,"record_length":96,"hex_timestamp":"000001a04898b310"} 
[2026-08-28 19:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:14:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 19:14:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:14:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":164979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":164979,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":164979,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708559616001,"66":25299,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708559616001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:14:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:14:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708559616001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:14:03] 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":709777,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:14:03] local.INFO: GPS data processed {"connection_id":164979,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:14:03] local.INFO: Acknowledgment sent {"connection_id":164979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:14:19] local.INFO: TCP Data received {"connection_id":166339,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0489b7230012d19d04007201538002f014b26..."} 
[2026-08-28 19:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0489b7230012d19d04007201538002f014b26..."} 
[2026-08-28 19:14:19] local.INFO: Processing buffer {"connection_id":166339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0489b7230012d19d04007201538002f014b26..."} 
[2026-08-28 19:14:19] local.INFO: Packet analysis {"connection_id":166339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0489b"} 
[2026-08-28 19:14:19] local.INFO: Extracted packet for processing {"connection_id":166339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0489b"} 
[2026-08-28 19:14:19] local.INFO: GPS Element Parsed {"raw_longitude":756666432,"raw_latitude":119543096,"longitude_deg":75.6666432,"latitude_deg":11.9543096,"altitude":47,"angle":331,"satellites":38,"speed":0,"hex_longitude":"2d19d040","hex_latitude":"07201538","is_valid_coordinates":true} 
[2026-08-28 19: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-28 19:14:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708677376001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:14:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16031751411335168,"note":"Value kept but may cause issues"} 
[2026-08-28 19:14:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860057045451225088,"note":"Value kept but may cause issues"} 
[2026-08-28 19:14:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:14:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787924542000,"timestamp_ms":1787924542000,"timestamp_seconds":1787924542,"priority":1,"record_length":96,"hex_timestamp":"000001a0489b7230"} 
[2026-08-28 19: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-28 19:14:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-28 19:14:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19: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-28 19: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-28 19:14:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:14:19] local.INFO: Teltonika packet parsed successfully {"connection_id":166339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:14:19] local.INFO: Passing IMEI to GPS processor {"connection_id":166339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:14:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":166339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:14:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:14:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:14:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:14:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708677376001,"66":11928,"101":206,"83":41984,"24":0,"16":16031751411335168,"45":1860057045451225088},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-28 19:14:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:14:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:14:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708677376001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:14:19] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-28 19:14:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:14:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16031751411335168,"km_value":16031751411335.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:14:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860057045451225088,"description":"Unknown IO ID 45"} 
[2026-08-28 19:14:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708677376001,"power":11928,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1860057045451225088}} 
[2026-08-28 19:14:19] local.INFO: DEBUG: GPS processor result {"connection_id":166339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709778,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:14:19] local.INFO: GPS data processed {"connection_id":166339,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:14:19] local.INFO: Acknowledgment sent {"connection_id":166339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:14:30] local.INFO: TCP Data received {"connection_id":163698,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:14:30] local.INFO: Processing buffer {"connection_id":163698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:14:30] local.INFO: IMEI packet received {"connection_id":163698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 19:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":163698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:14:35] local.INFO: TCP Data received {"connection_id":164979,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04898b310012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04898b310012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:14:35] local.INFO: Processing buffer {"connection_id":164979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04898b310012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:14:35] local.INFO: Packet analysis {"connection_id":164979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04898"} 
[2026-08-28 19:14:35] local.INFO: Extracted packet for processing {"connection_id":164979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04898"} 
[2026-08-28 19:14:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708559616001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:14:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787924362000,"timestamp_ms":1787924362000,"timestamp_seconds":1787924362,"priority":1,"record_length":96,"hex_timestamp":"000001a04898b310"} 
[2026-08-28 19:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:14:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 19:14:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:14:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":164979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":164979,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":164979,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:14:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708559616001,"66":25299,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708559616001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:14:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:14:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708559616001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:14:35] 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":709779,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:14:35] local.INFO: GPS data processed {"connection_id":164979,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:14:35] local.INFO: Acknowledgment sent {"connection_id":164979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:14:35] local.INFO: TCP Data received {"connection_id":163698,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:14:35] local.INFO: Processing buffer {"connection_id":163698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:14:35] local.INFO: IMEI packet received {"connection_id":163698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 19:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":163698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:14:36] local.INFO: TCP Data received {"connection_id":163698,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0489ac268012d34c14006aa4840001000e62a..."} 
[2026-08-28 19:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0489ac268012d34c14006aa4840001000e62a..."} 
[2026-08-28 19:14:36] local.INFO: Processing buffer {"connection_id":163698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0489ac268012d34c14006aa4840001000e62a..."} 
[2026-08-28 19:14:36] local.INFO: Packet analysis {"connection_id":163698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0489a"} 
[2026-08-28 19:14:36] local.INFO: Extracted packet for processing {"connection_id":163698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0489a"} 
[2026-08-28 19:14:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708594176001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:14:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787924497000,"timestamp_ms":1787924497000,"timestamp_seconds":1787924497,"priority":1,"record_length":96,"hex_timestamp":"000001a0489ac268"} 
[2026-08-28 19:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:14:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 19:14:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:14:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:14:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708594176001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708594176001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:14:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:14:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708594176001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:14:37] 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":709780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:14:37] local.INFO: GPS data processed {"connection_id":163698,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:14:37] local.INFO: Acknowledgment sent {"connection_id":163698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:14:44] local.INFO: TCP Data received {"connection_id":166340,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166340,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:14:44] local.INFO: Processing buffer {"connection_id":166340,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:14:44] local.INFO: IMEI packet received {"connection_id":166340,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 19:14:44] local.INFO: IMEI acknowledgment sent {"connection_id":166340,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:14:48] local.INFO: TCP Data received {"connection_id":166340,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166340,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:14:48] local.INFO: Processing buffer {"connection_id":166340,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:14:48] local.INFO: IMEI packet received {"connection_id":166340,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 19:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":166340,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:14:53] local.INFO: TCP Data received {"connection_id":166340,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166340,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:14:53] local.INFO: Processing buffer {"connection_id":166340,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:14:53] local.INFO: IMEI packet received {"connection_id":166340,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 19:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":166340,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:14:54] local.INFO: TCP Data received {"connection_id":166340,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0489bc438012d19d04007201538002f014b26..."} 
[2026-08-28 19:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0489bc438012d19d04007201538002f014b26..."} 
[2026-08-28 19:14:54] local.INFO: Processing buffer {"connection_id":166340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0489bc438012d19d04007201538002f014b26..."} 
[2026-08-28 19:14:54] local.INFO: Packet analysis {"connection_id":166340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0489b"} 
[2026-08-28 19:14:54] local.INFO: Extracted packet for processing {"connection_id":166340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0489b"} 
[2026-08-28 19:14:54] local.INFO: GPS Element Parsed {"raw_longitude":756666432,"raw_latitude":119543096,"longitude_deg":75.6666432,"latitude_deg":11.9543096,"altitude":47,"angle":331,"satellites":38,"speed":0,"hex_longitude":"2d19d040","hex_latitude":"07201538","is_valid_coordinates":true} 
[2026-08-28 19:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:14:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708682752001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:14:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16031751411335168,"note":"Value kept but may cause issues"} 
[2026-08-28 19:14:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860057045451225088,"note":"Value kept but may cause issues"} 
[2026-08-28 19:14:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:14:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787924563000,"timestamp_ms":1787924563000,"timestamp_seconds":1787924563,"priority":1,"record_length":96,"hex_timestamp":"000001a0489bc438"} 
[2026-08-28 19:14:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:14:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19:14:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-28 19:14:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1796,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:14:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:14:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:14:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:14:54] local.INFO: Teltonika packet parsed successfully {"connection_id":166340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:14:54] local.INFO: Passing IMEI to GPS processor {"connection_id":166340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:14:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":166340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:14:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:14:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:14:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:14:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708682752001,"66":12319,"101":206,"83":41984,"24":0,"16":16031751411335168,"45":1860057045451225088},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-28 19:14:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:14:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:14:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708682752001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:14:54] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-28 19:14:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:14:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16031751411335168,"km_value":16031751411335.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:14:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860057045451225088,"description":"Unknown IO ID 45"} 
[2026-08-28 19:14:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708682752001,"power":12319,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1860057045451225088}} 
[2026-08-28 19:14:54] local.INFO: DEBUG: GPS processor result {"connection_id":166340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709781,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:14:54] local.INFO: GPS data processed {"connection_id":166340,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:14:54] local.INFO: Acknowledgment sent {"connection_id":166340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:14:58] local.INFO: TCP Data received {"connection_id":166340,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0489c1640012d19d04007201538002f014b27..."} 
[2026-08-28 19:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0489c1640012d19d04007201538002f014b27..."} 
[2026-08-28 19:14:58] local.INFO: Processing buffer {"connection_id":166340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0489c1640012d19d04007201538002f014b27..."} 
[2026-08-28 19:14:58] local.INFO: Packet analysis {"connection_id":166340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0489c"} 
[2026-08-28 19:14:58] local.INFO: Extracted packet for processing {"connection_id":166340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0489c"} 
[2026-08-28 19:14:58] local.INFO: GPS Element Parsed {"raw_longitude":756666432,"raw_latitude":119543096,"longitude_deg":75.6666432,"latitude_deg":11.9543096,"altitude":47,"angle":331,"satellites":39,"speed":0,"hex_longitude":"2d19d040","hex_latitude":"07201538","is_valid_coordinates":true} 
[2026-08-28 19:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:14:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708688128001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:14:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16031751411335168,"note":"Value kept but may cause issues"} 
[2026-08-28 19:14:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860057045451225088,"note":"Value kept but may cause issues"} 
[2026-08-28 19:14:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:14:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787924584000,"timestamp_ms":1787924584000,"timestamp_seconds":1787924584,"priority":1,"record_length":96,"hex_timestamp":"000001a0489c1640"} 
[2026-08-28 19:14:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:14:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 19:14:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:14:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:14:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:14:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:14:58] local.INFO: Teltonika packet parsed successfully {"connection_id":166340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:14:58] local.INFO: Passing IMEI to GPS processor {"connection_id":166340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:14:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":166340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:14:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:14:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:14:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:14:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708688128001,"66":12765,"101":206,"83":41984,"24":0,"16":16031751411335168,"45":1860057045451225088},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-28 19:14:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:14:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:14:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708688128001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:14:58] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-28 19:14:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:14:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16031751411335168,"km_value":16031751411335.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:14:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860057045451225088,"description":"Unknown IO ID 45"} 
[2026-08-28 19:14:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708688128001,"power":12765,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1860057045451225088}} 
[2026-08-28 19:14:58] local.INFO: DEBUG: GPS processor result {"connection_id":166340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709782,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:14:58] local.INFO: GPS data processed {"connection_id":166340,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:14:58] local.INFO: Acknowledgment sent {"connection_id":166340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:15:01] local.INFO: TCP Data received {"connection_id":163970,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163970,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:15:01] local.INFO: Processing buffer {"connection_id":163970,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:15:01] local.INFO: IMEI packet received {"connection_id":163970,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 19:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":163970,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:15:02] local.INFO: TCP Data received {"connection_id":163970,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163970,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:15:02] local.INFO: Processing buffer {"connection_id":163970,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:15:02] local.INFO: IMEI packet received {"connection_id":163970,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 19:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":163970,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:15:06] local.INFO: TCP Data received {"connection_id":163970,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163970,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:15:06] local.INFO: Processing buffer {"connection_id":163970,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:15:06] local.INFO: IMEI packet received {"connection_id":163970,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 19:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":163970,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:15:08] local.INFO: TCP Data received {"connection_id":163970,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0489d4ad8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0489d4ad8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:15:08] local.INFO: Processing buffer {"connection_id":163970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0489d4ad8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:15:08] local.INFO: Packet analysis {"connection_id":163970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0489d"} 
[2026-08-28 19:15:08] local.INFO: Extracted packet for processing {"connection_id":163970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0489d"} 
[2026-08-28 19:15:08] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708636672001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:15:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:15:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787924663000,"timestamp_ms":1787924663000,"timestamp_seconds":1787924663,"priority":1,"record_length":96,"hex_timestamp":"000001a0489d4ad8"} 
[2026-08-28 19:15:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:15:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 19:15:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:15:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163970,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163970,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:15:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708636672001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708636672001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:15:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:15:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708636672001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":163970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709783,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:15:08] local.INFO: GPS data processed {"connection_id":163970,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:15:08] local.INFO: Acknowledgment sent {"connection_id":163970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:15:09] local.INFO: TCP Data received {"connection_id":163698,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0489ac268012d34c14006aa4840001000e62a..."} 
[2026-08-28 19:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0489ac268012d34c14006aa4840001000e62a..."} 
[2026-08-28 19:15:09] local.INFO: Processing buffer {"connection_id":163698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0489ac268012d34c14006aa4840001000e62a..."} 
[2026-08-28 19:15:09] local.INFO: Packet analysis {"connection_id":163698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0489a"} 
[2026-08-28 19:15:09] local.INFO: Extracted packet for processing {"connection_id":163698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0489a"} 
[2026-08-28 19:15:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708594176001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:15:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:15:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787924497000,"timestamp_ms":1787924497000,"timestamp_seconds":1787924497,"priority":1,"record_length":96,"hex_timestamp":"000001a0489ac268"} 
[2026-08-28 19:15:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:15:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 19:15:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:15:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:15:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:15:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708594176001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708594176001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:15:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:15:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:15: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-28 19:15:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708594176001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:15:09] 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":709784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:15:09] local.INFO: GPS data processed {"connection_id":163698,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:15:09] local.INFO: Acknowledgment sent {"connection_id":163698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:15:12] local.INFO: TCP Data received {"connection_id":163970,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0489d4ad8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0489d4ad8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:15:12] local.INFO: Processing buffer {"connection_id":163970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0489d4ad8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:15:12] local.INFO: Packet analysis {"connection_id":163970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0489d"} 
[2026-08-28 19:15:12] local.INFO: Extracted packet for processing {"connection_id":163970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0489d"} 
[2026-08-28 19:15:12] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:15:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708636672001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:15:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:15:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:15:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:15:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787924663000,"timestamp_ms":1787924663000,"timestamp_seconds":1787924663,"priority":1,"record_length":96,"hex_timestamp":"000001a0489d4ad8"} 
[2026-08-28 19:15:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:15:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 19:15:12] 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-28 19:15:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:15:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:15:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:15:12] local.INFO: Teltonika packet parsed successfully {"connection_id":163970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:15:12] local.INFO: Passing IMEI to GPS processor {"connection_id":163970,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:15:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":163970,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:15:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:15:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:15:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:15:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708636672001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:15:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:15:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:15:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708636672001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:15:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:15:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:15:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:15:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:15:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708636672001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:15:12] local.INFO: DEBUG: GPS processor result {"connection_id":163970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709785,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:15:12] local.INFO: GPS data processed {"connection_id":163970,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:15:12] local.INFO: Acknowledgment sent {"connection_id":163970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:15:30] local.INFO: TCP Data received {"connection_id":164980,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:15:30] local.INFO: Processing buffer {"connection_id":164980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:15:30] local.INFO: IMEI packet received {"connection_id":164980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 19:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":164980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:15:35] local.INFO: TCP Data received {"connection_id":164980,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:15:35] local.INFO: Processing buffer {"connection_id":164980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:15:35] local.INFO: IMEI packet received {"connection_id":164980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 19:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":164980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:15:36] local.INFO: TCP Data received {"connection_id":164980,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0489ac268012d34c14006aa4840001000e62a..."} 
[2026-08-28 19:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0489ac268012d34c14006aa4840001000e62a..."} 
[2026-08-28 19:15:36] local.INFO: Processing buffer {"connection_id":164980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0489ac268012d34c14006aa4840001000e62a..."} 
[2026-08-28 19:15:36] local.INFO: Packet analysis {"connection_id":164980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0489a"} 
[2026-08-28 19:15:36] local.INFO: Extracted packet for processing {"connection_id":164980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0489a"} 
[2026-08-28 19:15:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708594176001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:15:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787924497000,"timestamp_ms":1787924497000,"timestamp_seconds":1787924497,"priority":1,"record_length":96,"hex_timestamp":"000001a0489ac268"} 
[2026-08-28 19:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 19:15:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:15:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":164980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":164980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":164980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708594176001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708594176001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:15:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:15:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708594176001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":164980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:15:36] local.INFO: GPS data processed {"connection_id":164980,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:15:36] local.INFO: Acknowledgment sent {"connection_id":164980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:15:43] local.INFO: TCP Data received {"connection_id":163971,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163971,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:15:43] local.INFO: Processing buffer {"connection_id":163971,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:15:43] local.INFO: IMEI packet received {"connection_id":163971,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 19:15:43] local.INFO: IMEI acknowledgment sent {"connection_id":163971,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:15:48] local.INFO: TCP Data received {"connection_id":163971,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163971,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:15:48] local.INFO: Processing buffer {"connection_id":163971,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:15:48] local.INFO: IMEI packet received {"connection_id":163971,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 19:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":163971,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:15:48] local.INFO: TCP Data received {"connection_id":163971,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0489c6848012d19d04007201538002f014b28..."} 
[2026-08-28 19:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0489c6848012d19d04007201538002f014b28..."} 
[2026-08-28 19:15:49] local.INFO: Processing buffer {"connection_id":163971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0489c6848012d19d04007201538002f014b28..."} 
[2026-08-28 19:15:49] local.INFO: Packet analysis {"connection_id":163971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0489c"} 
[2026-08-28 19:15:49] local.INFO: Extracted packet for processing {"connection_id":163971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0489c"} 
[2026-08-28 19:15:49] local.INFO: GPS Element Parsed {"raw_longitude":756666432,"raw_latitude":119543096,"longitude_deg":75.6666432,"latitude_deg":11.9543096,"altitude":47,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d19d040","hex_latitude":"07201538","is_valid_coordinates":true} 
[2026-08-28 19: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-28 19:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708693504001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:15:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16031751411335168,"note":"Value kept but may cause issues"} 
[2026-08-28 19:15:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860057045451225088,"note":"Value kept but may cause issues"} 
[2026-08-28 19:15: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-28 19:15:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787924605000,"timestamp_ms":1787924605000,"timestamp_seconds":1787924605,"priority":1,"record_length":96,"hex_timestamp":"000001a0489c6848"} 
[2026-08-28 19: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-28 19:15:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-28 19:15:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19: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-28 19: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-28 19:15:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:15:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:15:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:15:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:15:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:15:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:15:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:15:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708693504001,"66":12689,"101":206,"83":41984,"24":0,"16":16031751411335168,"45":1860057045451225088},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-28 19:15:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:15:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:15:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708693504001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:15:49] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-28 19:15:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:15:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16031751411335168,"km_value":16031751411335.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:15:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860057045451225088,"description":"Unknown IO ID 45"} 
[2026-08-28 19:15:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708693504001,"power":12689,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1860057045451225088}} 
[2026-08-28 19:15:49] local.INFO: DEBUG: GPS processor result {"connection_id":163971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709787,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:15:49] local.INFO: GPS data processed {"connection_id":163971,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:15:49] local.INFO: Acknowledgment sent {"connection_id":163971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:15:56] local.INFO: TCP Data received {"connection_id":163699,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163699,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:15:56] local.INFO: Processing buffer {"connection_id":163699,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:15:56] local.INFO: IMEI packet received {"connection_id":163699,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 19:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":163699,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:16:01] local.INFO: TCP Data received {"connection_id":163699,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163699,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:16:01] local.INFO: Processing buffer {"connection_id":163699,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:16:01] local.INFO: IMEI packet received {"connection_id":163699,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 19:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":163699,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:16:02] local.INFO: TCP Data received {"connection_id":163699,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0489d4ad8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0489d4ad8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:16:02] local.INFO: Processing buffer {"connection_id":163699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0489d4ad8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:16:02] local.INFO: Packet analysis {"connection_id":163699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0489d"} 
[2026-08-28 19:16:02] local.INFO: Extracted packet for processing {"connection_id":163699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0489d"} 
[2026-08-28 19:16:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:16:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708636672001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:16:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:16:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:16:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:16:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787924663000,"timestamp_ms":1787924663000,"timestamp_seconds":1787924663,"priority":1,"record_length":96,"hex_timestamp":"000001a0489d4ad8"} 
[2026-08-28 19:16:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:16:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 19:16:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:16:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:16:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:16:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:16:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:16:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163699,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:16:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163699,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:16:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:16:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:16:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:16:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708636672001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:16:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:16:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:16:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708636672001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:16:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:16:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:16:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:16:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:16:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708636672001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:16:03] 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":709788,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:16:03] local.INFO: GPS data processed {"connection_id":163699,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:16:03] local.INFO: Acknowledgment sent {"connection_id":163699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:16:08] local.INFO: TCP Data received {"connection_id":164980,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0489ac268012d34c14006aa4840001000e62a..."} 
[2026-08-28 19:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0489ac268012d34c14006aa4840001000e62a..."} 
[2026-08-28 19:16:08] local.INFO: Processing buffer {"connection_id":164980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0489ac268012d34c14006aa4840001000e62a..."} 
[2026-08-28 19:16:08] local.INFO: Packet analysis {"connection_id":164980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0489a"} 
[2026-08-28 19:16:08] local.INFO: Extracted packet for processing {"connection_id":164980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0489a"} 
[2026-08-28 19:16:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708594176001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:16:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787924497000,"timestamp_ms":1787924497000,"timestamp_seconds":1787924497,"priority":1,"record_length":96,"hex_timestamp":"000001a0489ac268"} 
[2026-08-28 19:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:16:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 19:16:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:16:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:16:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708594176001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708594176001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:16:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:16:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:16: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-28 19:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708594176001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":164980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:16:08] local.INFO: GPS data processed {"connection_id":164980,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:16:08] local.INFO: Acknowledgment sent {"connection_id":164980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:16:20] local.INFO: TCP Data received {"connection_id":163971,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0489cba50012d19d04007201538002f014b27..."} 
[2026-08-28 19:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0489cba50012d19d04007201538002f014b27..."} 
[2026-08-28 19:16:20] local.INFO: Processing buffer {"connection_id":163971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0489cba50012d19d04007201538002f014b27..."} 
[2026-08-28 19:16:20] local.INFO: Packet analysis {"connection_id":163971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0489c"} 
[2026-08-28 19:16:20] local.INFO: Extracted packet for processing {"connection_id":163971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0489c"} 
[2026-08-28 19:16:20] local.INFO: GPS Element Parsed {"raw_longitude":756666432,"raw_latitude":119543096,"longitude_deg":75.6666432,"latitude_deg":11.9543096,"altitude":47,"angle":331,"satellites":39,"speed":0,"hex_longitude":"2d19d040","hex_latitude":"07201538","is_valid_coordinates":true} 
[2026-08-28 19:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:16:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708698880001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:16:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16031751411335168,"note":"Value kept but may cause issues"} 
[2026-08-28 19:16:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860057045451225088,"note":"Value kept but may cause issues"} 
[2026-08-28 19:16:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:16:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787924626000,"timestamp_ms":1787924626000,"timestamp_seconds":1787924626,"priority":1,"record_length":96,"hex_timestamp":"000001a0489cba50"} 
[2026-08-28 19:16:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:16:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-28 19:16:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:16:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:16:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:16:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:16:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:16:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:16:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:16:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:16:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:16:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:16:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708698880001,"66":12580,"101":206,"83":41984,"24":0,"16":16031751411335168,"45":1860057045451225088},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-28 19:16:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:16:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:16:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708698880001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:16:20] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-28 19:16:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:16:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16031751411335168,"km_value":16031751411335.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:16:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860057045451225088,"description":"Unknown IO ID 45"} 
[2026-08-28 19:16:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708698880001,"power":12580,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1860057045451225088}} 
[2026-08-28 19:16:20] local.INFO: DEBUG: GPS processor result {"connection_id":163971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709790,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:16:20] local.INFO: GPS data processed {"connection_id":163971,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:16:20] local.INFO: Acknowledgment sent {"connection_id":163971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:16:30] local.INFO: TCP Data received {"connection_id":164981,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:16:30] local.INFO: Processing buffer {"connection_id":164981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:16:30] local.INFO: IMEI packet received {"connection_id":164981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 19:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":164981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:16:34] local.INFO: TCP Data received {"connection_id":163699,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0489d4ad8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0489d4ad8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:16:34] local.INFO: Processing buffer {"connection_id":163699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0489d4ad8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:16:34] local.INFO: Packet analysis {"connection_id":163699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0489d"} 
[2026-08-28 19:16:34] local.INFO: Extracted packet for processing {"connection_id":163699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0489d"} 
[2026-08-28 19:16:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708636672001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:16:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:16:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787924663000,"timestamp_ms":1787924663000,"timestamp_seconds":1787924663,"priority":1,"record_length":96,"hex_timestamp":"000001a0489d4ad8"} 
[2026-08-28 19:16:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:16:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 19:16:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:16:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:16:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163699,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163699,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:16:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:16:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708636672001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:16:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:16:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:16:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708636672001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:16:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:16:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:16:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:16:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:16:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708636672001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:16:34] 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":709791,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:16:34] local.INFO: GPS data processed {"connection_id":163699,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:16:34] local.INFO: Acknowledgment sent {"connection_id":163699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:16:35] local.INFO: TCP Data received {"connection_id":164981,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:16:35] local.INFO: Processing buffer {"connection_id":164981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:16:35] local.INFO: IMEI packet received {"connection_id":164981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 19:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":164981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:16:37] local.INFO: TCP Data received {"connection_id":164981,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0489ac268012d34c14006aa4840001000e62a..."} 
[2026-08-28 19:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0489ac268012d34c14006aa4840001000e62a..."} 
[2026-08-28 19:16:37] local.INFO: Processing buffer {"connection_id":164981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0489ac268012d34c14006aa4840001000e62a..."} 
[2026-08-28 19:16:37] local.INFO: Packet analysis {"connection_id":164981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0489a"} 
[2026-08-28 19:16:37] local.INFO: Extracted packet for processing {"connection_id":164981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0489a"} 
[2026-08-28 19:16:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708594176001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787924497000,"timestamp_ms":1787924497000,"timestamp_seconds":1787924497,"priority":1,"record_length":96,"hex_timestamp":"000001a0489ac268"} 
[2026-08-28 19:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 19:16:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:16:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708594176001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708594176001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:16:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:16:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:16: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-28 19:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708594176001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":164981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:16:37] local.INFO: GPS data processed {"connection_id":164981,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:16:37] local.INFO: Acknowledgment sent {"connection_id":164981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:16:40] local.INFO: TCP Data received {"connection_id":164982,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:16:40] local.INFO: Processing buffer {"connection_id":164982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:16:40] local.INFO: IMEI packet received {"connection_id":164982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 19:16:40] local.INFO: IMEI acknowledgment sent {"connection_id":164982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:16:43] local.INFO: TCP Data received {"connection_id":164982,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:16:43] local.INFO: Processing buffer {"connection_id":164982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:16:43] local.INFO: IMEI packet received {"connection_id":164982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 19:16:43] local.INFO: IMEI acknowledgment sent {"connection_id":164982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:16:43] local.INFO: TCP Data received {"connection_id":164982,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:16:43] local.INFO: Processing buffer {"connection_id":164982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:16:43] local.INFO: IMEI packet received {"connection_id":164982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 19:16:43] local.INFO: IMEI acknowledgment sent {"connection_id":164982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:16:48] local.INFO: TCP Data received {"connection_id":164982,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:16:48] local.INFO: Processing buffer {"connection_id":164982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:16:48] local.INFO: IMEI packet received {"connection_id":164982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 19:16:48] local.INFO: IMEI acknowledgment sent {"connection_id":164982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:16:49] local.INFO: TCP Data received {"connection_id":164982,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0489ec9a8012d19ad40072089880034015f2b..."} 
[2026-08-28 19:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0489ec9a8012d19ad40072089880034015f2b..."} 
[2026-08-28 19:16:49] local.INFO: Processing buffer {"connection_id":164982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0489ec9a8012d19ad40072089880034015f2b..."} 
[2026-08-28 19:16:49] local.INFO: Packet analysis {"connection_id":164982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0489e"} 
[2026-08-28 19:16:49] local.INFO: Extracted packet for processing {"connection_id":164982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0489e"} 
[2026-08-28 19:16:49] local.INFO: GPS Element Parsed {"raw_longitude":756657472,"raw_latitude":119572872,"longitude_deg":75.6657472,"latitude_deg":11.9572872,"altitude":52,"angle":351,"satellites":43,"speed":38,"hex_longitude":"2d19ad40","hex_latitude":"07208988","is_valid_coordinates":true} 
[2026-08-28 19:16: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-28 19:16:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708736512001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:16:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16033276124725248,"note":"Value kept but may cause issues"} 
[2026-08-28 19:16:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853301646015485952,"note":"Value kept but may cause issues"} 
[2026-08-28 19:16:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:16:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787924761000,"timestamp_ms":1787924761000,"timestamp_seconds":1787924761,"priority":1,"record_length":96,"hex_timestamp":"000001a0489ec9a8"} 
[2026-08-28 19:16:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:16:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-28 19:16:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:16: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-28 19:16:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:16:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:16:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:16:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:16:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:16:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:16:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:16:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:16:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708736512001,"66":13526,"103":206,"83":41984,"24":38,"16":16033276124725248,"45":1853301646015485952},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 19:16:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:16:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:16:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708736512001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:16:49] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 19:16:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:16:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16033276124725248,"km_value":16033276124725.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:16:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853301646015485952,"description":"Unknown IO ID 45"} 
[2026-08-28 19:16:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708736512001,"power":13526,"unknown_103":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1853301646015485952}} 
[2026-08-28 19:16:49] 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":709793,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:16:49] local.INFO: GPS data processed {"connection_id":164982,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:16:49] local.INFO: Acknowledgment sent {"connection_id":164982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:16:56] local.INFO: TCP Data received {"connection_id":163972,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163972,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:16:56] local.INFO: Processing buffer {"connection_id":163972,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:16:56] local.INFO: IMEI packet received {"connection_id":163972,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 19:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":163972,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:17:01] local.INFO: TCP Data received {"connection_id":163972,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163972,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:17:01] local.INFO: Processing buffer {"connection_id":163972,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:17:01] local.INFO: IMEI packet received {"connection_id":163972,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 19:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":163972,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:17:04] local.INFO: TCP Data received {"connection_id":163972,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0489d4ad8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0489d4ad8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:17:04] local.INFO: Processing buffer {"connection_id":163972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0489d4ad8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:17:04] local.INFO: Packet analysis {"connection_id":163972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0489d"} 
[2026-08-28 19:17:04] local.INFO: Extracted packet for processing {"connection_id":163972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0489d"} 
[2026-08-28 19:17:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:17:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708636672001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:17:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:17:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:17:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:17:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787924663000,"timestamp_ms":1787924663000,"timestamp_seconds":1787924663,"priority":1,"record_length":96,"hex_timestamp":"000001a0489d4ad8"} 
[2026-08-28 19:17:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:17:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 19:17:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:17:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:17:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:17:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:17:04] local.INFO: Teltonika packet parsed successfully {"connection_id":163972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:17:04] local.INFO: Passing IMEI to GPS processor {"connection_id":163972,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:17:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":163972,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:17:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:17:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:17:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:17:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708636672001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:17:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:17:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:17:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708636672001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:17:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:17:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:17:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:17:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:17:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708636672001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:17:04] local.INFO: DEBUG: GPS processor result {"connection_id":163972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709794,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:17:04] local.INFO: GPS data processed {"connection_id":163972,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:17:04] local.INFO: Acknowledgment sent {"connection_id":163972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:17:08] local.INFO: TCP Data received {"connection_id":164981,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0489ac268012d34c14006aa4840001000e62a..."} 
[2026-08-28 19:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0489ac268012d34c14006aa4840001000e62a..."} 
[2026-08-28 19:17:08] local.INFO: Processing buffer {"connection_id":164981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0489ac268012d34c14006aa4840001000e62a..."} 
[2026-08-28 19:17:08] local.INFO: Packet analysis {"connection_id":164981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0489a"} 
[2026-08-28 19:17:08] local.INFO: Extracted packet for processing {"connection_id":164981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0489a"} 
[2026-08-28 19:17:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19: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-28 19:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708594176001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787924497000,"timestamp_ms":1787924497000,"timestamp_seconds":1787924497,"priority":1,"record_length":96,"hex_timestamp":"000001a0489ac268"} 
[2026-08-28 19: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-28 19:17:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 19:17:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19: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-28 19: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-28 19:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708594176001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708594176001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:17:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:17:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:17: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-28 19:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708594176001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":164981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:17:08] local.INFO: GPS data processed {"connection_id":164981,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:17:08] local.INFO: Acknowledgment sent {"connection_id":164981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:17:30] local.INFO: TCP Data received {"connection_id":163700,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:17:30] local.INFO: Processing buffer {"connection_id":163700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:17:30] local.INFO: IMEI packet received {"connection_id":163700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 19:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":163700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:17:35] local.INFO: TCP Data received {"connection_id":163700,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:17:35] local.INFO: Processing buffer {"connection_id":163700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:17:35] local.INFO: IMEI packet received {"connection_id":163700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 19:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":163700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:17:36] local.INFO: TCP Data received {"connection_id":163972,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0489d4ad8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0489d4ad8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:17:36] local.INFO: Processing buffer {"connection_id":163972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0489d4ad8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:17:36] local.INFO: Packet analysis {"connection_id":163972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0489d"} 
[2026-08-28 19:17:36] local.INFO: Extracted packet for processing {"connection_id":163972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0489d"} 
[2026-08-28 19:17:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708636672001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787924663000,"timestamp_ms":1787924663000,"timestamp_seconds":1787924663,"priority":1,"record_length":96,"hex_timestamp":"000001a0489d4ad8"} 
[2026-08-28 19:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 19:17:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:17:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163972,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163972,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:17:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708636672001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708636672001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:17:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:17:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708636672001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":163972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709796,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:17:36] local.INFO: GPS data processed {"connection_id":163972,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:17:36] local.INFO: Acknowledgment sent {"connection_id":163972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:17:37] local.INFO: TCP Data received {"connection_id":163700,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0489f5a30012d34c14006aa4840000b00e62a..."} 
[2026-08-28 19:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0489f5a30012d34c14006aa4840000b00e62a..."} 
[2026-08-28 19:17:37] local.INFO: Processing buffer {"connection_id":163700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0489f5a30012d34c14006aa4840000b00e62a..."} 
[2026-08-28 19:17:37] local.INFO: Packet analysis {"connection_id":163700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0489f"} 
[2026-08-28 19:17:37] local.INFO: Extracted packet for processing {"connection_id":163700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0489f"} 
[2026-08-28 19:17:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708671232001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787924798000,"timestamp_ms":1787924798000,"timestamp_seconds":1787924798,"priority":1,"record_length":96,"hex_timestamp":"000001a0489f5a30"} 
[2026-08-28 19:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 19:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708671232001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708671232001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:17:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:17:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:17: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-28 19:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708671232001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:17:37] 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":709797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:17:37] local.INFO: GPS data processed {"connection_id":163700,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:17:37] local.INFO: Acknowledgment sent {"connection_id":163700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:17:42] local.INFO: TCP Data received {"connection_id":163701,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163701,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:17:42] local.INFO: Processing buffer {"connection_id":163701,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:17:42] local.INFO: IMEI packet received {"connection_id":163701,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 19:17:42] local.INFO: IMEI acknowledgment sent {"connection_id":163701,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:17:45] local.INFO: TCP Data received {"connection_id":164982,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0489ed178012d19ad00072090f8003500092a..."} 
[2026-08-28 19:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0489ed178012d19ad00072090f8003500092a..."} 
[2026-08-28 19:17:45] local.INFO: Processing buffer {"connection_id":164982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0489ed178012d19ad00072090f8003500092a..."} 
[2026-08-28 19:17:45] local.INFO: Packet analysis {"connection_id":164982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0489e"} 
[2026-08-28 19:17:45] local.INFO: Extracted packet for processing {"connection_id":164982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0489e"} 
[2026-08-28 19:17:45] local.INFO: GPS Element Parsed {"raw_longitude":756657408,"raw_latitude":119574776,"longitude_deg":75.6657408,"latitude_deg":11.9574776,"altitude":53,"angle":9,"satellites":42,"speed":37,"hex_longitude":"2d19ad00","hex_latitude":"072090f8","is_valid_coordinates":true} 
[2026-08-28 19: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-28 19:17:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708738816001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:17:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16033366319038464,"note":"Value kept but may cause issues"} 
[2026-08-28 19:17:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850205421273974784,"note":"Value kept but may cause issues"} 
[2026-08-28 19:17:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:17:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787924763000,"timestamp_ms":1787924763000,"timestamp_seconds":1787924763,"priority":1,"record_length":96,"hex_timestamp":"000001a0489ed178"} 
[2026-08-28 19: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-28 19:17:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-28 19:17:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19: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-28 19: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-28 19:17:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:17:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:17:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:17:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:17:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:17:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:17:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:17:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708738816001,"66":13417,"103":206,"83":41984,"24":37,"16":16033366319038464,"45":1850205421273974784},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 19:17:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:17:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:17:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708738816001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:17:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 19:17:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:17:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16033366319038464,"km_value":16033366319038.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:17:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850205421273974784,"description":"Unknown IO ID 45"} 
[2026-08-28 19:17:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708738816001,"power":13417,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1850205421273974784}} 
[2026-08-28 19:17:45] 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":709798,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:17:45] local.INFO: GPS data processed {"connection_id":164982,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:17:45] local.INFO: Acknowledgment sent {"connection_id":164982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:17:49] local.INFO: TCP Data received {"connection_id":163701,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163701,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:17:49] local.INFO: Processing buffer {"connection_id":163701,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:17:49] local.INFO: IMEI packet received {"connection_id":163701,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 19:17:49] local.INFO: IMEI acknowledgment sent {"connection_id":163701,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:17:50] local.INFO: TCP Data received {"connection_id":163701,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0489f9c98012d19e6400720b210003900542e..."} 
[2026-08-28 19:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0489f9c98012d19e6400720b210003900542e..."} 
[2026-08-28 19:17:50] local.INFO: Processing buffer {"connection_id":163701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0489f9c98012d19e6400720b210003900542e..."} 
[2026-08-28 19:17:50] local.INFO: Packet analysis {"connection_id":163701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0489f"} 
[2026-08-28 19:17:50] local.INFO: Extracted packet for processing {"connection_id":163701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0489f"} 
[2026-08-28 19:17:50] local.INFO: GPS Element Parsed {"raw_longitude":756672064,"raw_latitude":119583248,"longitude_deg":75.6672064,"latitude_deg":11.9583248,"altitude":57,"angle":84,"satellites":46,"speed":23,"hex_longitude":"2d19e640","hex_latitude":"0720b210","is_valid_coordinates":true} 
[2026-08-28 19:17: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-28 19:17:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708751360001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:17:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16034285442039808,"note":"Value kept but may cause issues"} 
[2026-08-28 19:17:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863575482670428160,"note":"Value kept but may cause issues"} 
[2026-08-28 19:17:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:17:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787924815000,"timestamp_ms":1787924815000,"timestamp_seconds":1787924815,"priority":1,"record_length":96,"hex_timestamp":"000001a0489f9c98"} 
[2026-08-28 19:17:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:17:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19:17:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-28 19:17:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:17: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-28 19:17:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:17:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:17:50] local.INFO: Teltonika packet parsed successfully {"connection_id":163701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:17:50] local.INFO: Passing IMEI to GPS processor {"connection_id":163701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:17:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":163701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:17:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:17:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:17:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:17:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708751360001,"66":13559,"103":206,"83":41984,"24":23,"16":16034285442039808,"45":1863575482670428160},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 19:17:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:17:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:17:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708751360001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:17:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 19:17:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:17:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16034285442039808,"km_value":16034285442039.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:17:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863575482670428160,"description":"Unknown IO ID 45"} 
[2026-08-28 19:17:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708751360001,"power":13559,"unknown_103":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1863575482670428160}} 
[2026-08-28 19:17:50] local.INFO: DEBUG: GPS processor result {"connection_id":163701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709799,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:17:50] local.INFO: GPS data processed {"connection_id":163701,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:17:50] local.INFO: Acknowledgment sent {"connection_id":163701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:17:56] local.INFO: TCP Data received {"connection_id":164983,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164983,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:17:56] local.INFO: Processing buffer {"connection_id":164983,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:17:56] local.INFO: IMEI packet received {"connection_id":164983,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 19:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":164983,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:18:01] local.INFO: TCP Data received {"connection_id":164983,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164983,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:18:01] local.INFO: Processing buffer {"connection_id":164983,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:18:01] local.INFO: IMEI packet received {"connection_id":164983,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 19:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":164983,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:18:04] local.INFO: TCP Data received {"connection_id":164983,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0489d4ad8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0489d4ad8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:18:04] local.INFO: Processing buffer {"connection_id":164983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0489d4ad8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:18:04] local.INFO: Packet analysis {"connection_id":164983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0489d"} 
[2026-08-28 19:18:04] local.INFO: Extracted packet for processing {"connection_id":164983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0489d"} 
[2026-08-28 19:18:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708636672001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:18:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787924663000,"timestamp_ms":1787924663000,"timestamp_seconds":1787924663,"priority":1,"record_length":96,"hex_timestamp":"000001a0489d4ad8"} 
[2026-08-28 19:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:18:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 19:18:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:18:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":164983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":164983,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":164983,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:18:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708636672001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708636672001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:18:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:18:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708636672001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:18:04] 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":709800,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:18:04] local.INFO: GPS data processed {"connection_id":164983,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:18:04] local.INFO: Acknowledgment sent {"connection_id":164983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:18:09] local.INFO: TCP Data received {"connection_id":163700,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0489f5a30012d34c14006aa4840000b00e62a..."} 
[2026-08-28 19:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0489f5a30012d34c14006aa4840000b00e62a..."} 
[2026-08-28 19:18:09] local.INFO: Processing buffer {"connection_id":163700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0489f5a30012d34c14006aa4840000b00e62a..."} 
[2026-08-28 19:18:09] local.INFO: Packet analysis {"connection_id":163700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0489f"} 
[2026-08-28 19:18:09] local.INFO: Extracted packet for processing {"connection_id":163700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0489f"} 
[2026-08-28 19:18:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:18:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708671232001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:18:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:18:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:18:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:18:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787924798000,"timestamp_ms":1787924798000,"timestamp_seconds":1787924798,"priority":1,"record_length":96,"hex_timestamp":"000001a0489f5a30"} 
[2026-08-28 19:18:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:18:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 19:18:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:18:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:18:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:18:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:18:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:18:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:18:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:18:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:18:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:18:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:18:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708671232001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:18:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:18:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:18:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708671232001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:18:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:18:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:18: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-28 19:18:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:18:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708671232001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:18:09] 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":709801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:18:09] local.INFO: GPS data processed {"connection_id":163700,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:18:09] local.INFO: Acknowledgment sent {"connection_id":163700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:18:27] local.INFO: TCP Data received {"connection_id":163701,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0489fa468012d19eb400720b350003800462e..."} 
[2026-08-28 19:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0489fa468012d19eb400720b350003800462e..."} 
[2026-08-28 19:18:27] local.INFO: Processing buffer {"connection_id":163701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0489fa468012d19eb400720b350003800462e..."} 
[2026-08-28 19:18:27] local.INFO: Packet analysis {"connection_id":163701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0489f"} 
[2026-08-28 19:18:27] local.INFO: Extracted packet for processing {"connection_id":163701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0489f"} 
[2026-08-28 19:18:27] local.INFO: GPS Element Parsed {"raw_longitude":756673344,"raw_latitude":119583568,"longitude_deg":75.6673344,"latitude_deg":11.9583568,"altitude":56,"angle":70,"satellites":46,"speed":27,"hex_longitude":"2d19eb40","hex_latitude":"0720b350","is_valid_coordinates":true} 
[2026-08-28 19:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708752640001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:18:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16034349866549248,"note":"Value kept but may cause issues"} 
[2026-08-28 19:18:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1866249494949138432,"note":"Value kept but may cause issues"} 
[2026-08-28 19:18:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:18:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787924817000,"timestamp_ms":1787924817000,"timestamp_seconds":1787924817,"priority":1,"record_length":96,"hex_timestamp":"000001a0489fa468"} 
[2026-08-28 19:18:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:18:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-28 19:18:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:18:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:18:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:18:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:18:27] local.INFO: Teltonika packet parsed successfully {"connection_id":163701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:18:27] local.INFO: Passing IMEI to GPS processor {"connection_id":163701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:18:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":163701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:18:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:18:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:18:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:18:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708752640001,"66":13559,"103":206,"83":41984,"24":27,"16":16034349866549248,"45":1866249494949138432},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 19:18:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:18:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:18:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708752640001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:18:27] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 19:18:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:18:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16034349866549248,"km_value":16034349866549.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:18:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1866249494949138432,"description":"Unknown IO ID 45"} 
[2026-08-28 19:18:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708752640001,"power":13559,"unknown_103":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1866249494949138432}} 
[2026-08-28 19:18:27] local.INFO: DEBUG: GPS processor result {"connection_id":163701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709802,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:18:27] local.INFO: GPS data processed {"connection_id":163701,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:18:27] local.INFO: Acknowledgment sent {"connection_id":163701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:18:35] local.INFO: TCP Data received {"connection_id":163973,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:18:35] local.INFO: Processing buffer {"connection_id":163973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:18:35] local.INFO: IMEI packet received {"connection_id":163973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 19:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":163973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:18:36] local.INFO: TCP Data received {"connection_id":164983,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0489d4ad8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0489d4ad8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:18:36] local.INFO: Processing buffer {"connection_id":164983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0489d4ad8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:18:36] local.INFO: Packet analysis {"connection_id":164983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0489d"} 
[2026-08-28 19:18:36] local.INFO: Extracted packet for processing {"connection_id":164983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0489d"} 
[2026-08-28 19:18:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708636672001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787924663000,"timestamp_ms":1787924663000,"timestamp_seconds":1787924663,"priority":1,"record_length":96,"hex_timestamp":"000001a0489d4ad8"} 
[2026-08-28 19:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 19:18:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:18:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":164983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":164983,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":164983,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708636672001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708636672001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:18:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:18:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708636672001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:18:36] 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":709803,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:18:36] local.INFO: GPS data processed {"connection_id":164983,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:18:36] local.INFO: Acknowledgment sent {"connection_id":164983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:18:40] local.INFO: TCP Data received {"connection_id":163973,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:18:40] local.INFO: Processing buffer {"connection_id":163973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:18:40] local.INFO: IMEI packet received {"connection_id":163973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 19:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":163973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:18:43] local.INFO: TCP Data received {"connection_id":163973,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0489f5a30012d34c14006aa4840000b00e62a..."} 
[2026-08-28 19:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0489f5a30012d34c14006aa4840000b00e62a..."} 
[2026-08-28 19:18:43] local.INFO: Processing buffer {"connection_id":163973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0489f5a30012d34c14006aa4840000b00e62a..."} 
[2026-08-28 19:18:43] local.INFO: Packet analysis {"connection_id":163973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0489f"} 
[2026-08-28 19:18:43] local.INFO: Extracted packet for processing {"connection_id":163973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0489f"} 
[2026-08-28 19:18:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19: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-28 19:18:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708671232001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:18:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:18:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:18:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:18:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787924798000,"timestamp_ms":1787924798000,"timestamp_seconds":1787924798,"priority":1,"record_length":96,"hex_timestamp":"000001a0489f5a30"} 
[2026-08-28 19: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-28 19:18:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19: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":31,"data_length":795,"current_offset":136} 
[2026-08-28 19:18: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-28 19: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-28 19: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-28 19:18:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:18:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:18:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:18:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:18:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:18:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:18:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:18:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708671232001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:18:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:18:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:18:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708671232001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:18:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:18:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19: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-28 19:18:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:18:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708671232001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:18:43] local.INFO: DEBUG: GPS processor result {"connection_id":163973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:18:43] local.INFO: GPS data processed {"connection_id":163973,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:18:43] local.INFO: Acknowledgment sent {"connection_id":163973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:18:43] local.INFO: TCP Data received {"connection_id":164984,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164984,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:18:43] local.INFO: Processing buffer {"connection_id":164984,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:18:43] local.INFO: IMEI packet received {"connection_id":164984,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 19:18:43] local.INFO: IMEI acknowledgment sent {"connection_id":164984,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:18:45] local.INFO: TCP Data received {"connection_id":164984,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164984,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:18:45] local.INFO: Processing buffer {"connection_id":164984,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:18:45] local.INFO: IMEI packet received {"connection_id":164984,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 19:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":164984,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:18:46] local.INFO: TCP Data received {"connection_id":163973,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0489f5a30012d34c14006aa4840000b00e62a..."} 
[2026-08-28 19:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0489f5a30012d34c14006aa4840000b00e62a..."} 
[2026-08-28 19:18:46] local.INFO: Processing buffer {"connection_id":163973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0489f5a30012d34c14006aa4840000b00e62a..."} 
[2026-08-28 19:18:46] local.INFO: Packet analysis {"connection_id":163973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0489f"} 
[2026-08-28 19:18:46] local.INFO: Extracted packet for processing {"connection_id":163973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0489f"} 
[2026-08-28 19:18:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:18:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708671232001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:18:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:18:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:18:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:18:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787924798000,"timestamp_ms":1787924798000,"timestamp_seconds":1787924798,"priority":1,"record_length":96,"hex_timestamp":"000001a0489f5a30"} 
[2026-08-28 19:18:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:18:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 19:18: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-28 19:18:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:18:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:18:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:18:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:18:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:18:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:18:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:18:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:18:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:18:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708671232001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:18:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:18:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:18:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708671232001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:18:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:18:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:18: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-28 19:18:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:18:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708671232001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:18:46] local.INFO: DEBUG: GPS processor result {"connection_id":163973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:18:46] local.INFO: GPS data processed {"connection_id":163973,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:18:46] local.INFO: Acknowledgment sent {"connection_id":163973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:18:52] local.INFO: TCP Data received {"connection_id":164984,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164984,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:18:52] local.INFO: Processing buffer {"connection_id":164984,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:18:52] local.INFO: IMEI packet received {"connection_id":164984,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 19:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":164984,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:18:54] local.INFO: TCP Data received {"connection_id":164984,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0489fd348012d1a0a400720c080003600382d..."} 
[2026-08-28 19:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0489fd348012d1a0a400720c080003600382d..."} 
[2026-08-28 19:18:54] local.INFO: Processing buffer {"connection_id":164984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0489fd348012d1a0a400720c080003600382d..."} 
[2026-08-28 19:18:54] local.INFO: Packet analysis {"connection_id":164984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0489f"} 
[2026-08-28 19:18:54] local.INFO: Extracted packet for processing {"connection_id":164984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0489f"} 
[2026-08-28 19:18:54] local.INFO: GPS Element Parsed {"raw_longitude":756681280,"raw_latitude":119586944,"longitude_deg":75.668128,"latitude_deg":11.9586944,"altitude":54,"angle":56,"satellites":45,"speed":26,"hex_longitude":"2d1a0a40","hex_latitude":"0720c080","is_valid_coordinates":true} 
[2026-08-28 19:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:18:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708753152001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:18:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16034762183409664,"note":"Value kept but may cause issues"} 
[2026-08-28 19:18:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1867656869832773632,"note":"Value kept but may cause issues"} 
[2026-08-28 19:18:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:18:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787924829000,"timestamp_ms":1787924829000,"timestamp_seconds":1787924829,"priority":1,"record_length":96,"hex_timestamp":"000001a0489fd348"} 
[2026-08-28 19:18:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:18:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-28 19:18:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:18:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:18:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:18:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:18:54] local.INFO: Teltonika packet parsed successfully {"connection_id":164984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:18:54] local.INFO: Passing IMEI to GPS processor {"connection_id":164984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:18:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":164984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:18:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:18:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:18:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:18:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708753152001,"66":13417,"103":206,"83":41984,"24":26,"16":16034762183409664,"45":1867656869832773632},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 19:18:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:18:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:18:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708753152001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:18:54] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 19:18:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:18:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16034762183409664,"km_value":16034762183409.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:18:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1867656869832773632,"description":"Unknown IO ID 45"} 
[2026-08-28 19:18:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708753152001,"power":13417,"unknown_103":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1867656869832773632}} 
[2026-08-28 19:18:54] 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":709806,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:18:54] local.INFO: GPS data processed {"connection_id":164984,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:18:54] local.INFO: Acknowledgment sent {"connection_id":164984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:18:55] local.INFO: TCP Data received {"connection_id":164984,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0489fe2e8012d1a10400720c5780037002b2d..."} 
[2026-08-28 19:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0489fe2e8012d1a10400720c5780037002b2d..."} 
[2026-08-28 19:18:55] local.INFO: Processing buffer {"connection_id":164984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0489fe2e8012d1a10400720c5780037002b2d..."} 
[2026-08-28 19:18:55] local.INFO: Packet analysis {"connection_id":164984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0489f"} 
[2026-08-28 19:18:55] local.INFO: Extracted packet for processing {"connection_id":164984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0489f"} 
[2026-08-28 19:18:55] local.INFO: GPS Element Parsed {"raw_longitude":756682816,"raw_latitude":119588216,"longitude_deg":75.6682816,"latitude_deg":11.9588216,"altitude":55,"angle":43,"satellites":45,"speed":11,"hex_longitude":"2d1a1040","hex_latitude":"0720c578","is_valid_coordinates":true} 
[2026-08-28 19:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708756224001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16034856672690176,"note":"Value kept but may cause issues"} 
[2026-08-28 19:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1876382594111668224,"note":"Value kept but may cause issues"} 
[2026-08-28 19:18:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787924833000,"timestamp_ms":1787924833000,"timestamp_seconds":1787924833,"priority":1,"record_length":96,"hex_timestamp":"000001a0489fe2e8"} 
[2026-08-28 19:18:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:18:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-28 19:18:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:18:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:18:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":164984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":164984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":164984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:18:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708756224001,"66":13580,"103":206,"83":41984,"24":11,"16":16034856672690176,"45":1876382594111668224},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 19:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708756224001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:18:55] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 19:18:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16034856672690176,"km_value":16034856672690.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1876382594111668224,"description":"Unknown IO ID 45"} 
[2026-08-28 19:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708756224001,"power":13580,"unknown_103":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1876382594111668224}} 
[2026-08-28 19:18:55] 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":709807,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:18:55] local.INFO: GPS data processed {"connection_id":164984,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:18:55] local.INFO: Acknowledgment sent {"connection_id":164984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:19:01] local.INFO: TCP Data received {"connection_id":163974,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163974,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:19:01] local.INFO: Processing buffer {"connection_id":163974,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:19:01] local.INFO: IMEI packet received {"connection_id":163974,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 19:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":163974,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:19:06] local.INFO: TCP Data received {"connection_id":163974,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163974,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:19:06] local.INFO: Processing buffer {"connection_id":163974,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:19:06] local.INFO: IMEI packet received {"connection_id":163974,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 19:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":163974,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:19:08] local.INFO: TCP Data received {"connection_id":163974,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0489d4ad8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0489d4ad8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:19:08] local.INFO: Processing buffer {"connection_id":163974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0489d4ad8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:19:08] local.INFO: Packet analysis {"connection_id":163974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0489d"} 
[2026-08-28 19:19:08] local.INFO: Extracted packet for processing {"connection_id":163974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0489d"} 
[2026-08-28 19:19:08] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708636672001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:19:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787924663000,"timestamp_ms":1787924663000,"timestamp_seconds":1787924663,"priority":1,"record_length":96,"hex_timestamp":"000001a0489d4ad8"} 
[2026-08-28 19:19:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:19:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 19:19:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:19:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:19:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163974,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163974,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:19:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708636672001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708636672001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:19:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:19:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708636672001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":163974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709808,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:19:08] local.INFO: GPS data processed {"connection_id":163974,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:19:08] local.INFO: Acknowledgment sent {"connection_id":163974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:19:13] local.INFO: TCP Data received {"connection_id":163974,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0489d4ad8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0489d4ad8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:19:13] local.INFO: Processing buffer {"connection_id":163974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0489d4ad8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:19:13] local.INFO: Packet analysis {"connection_id":163974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0489d"} 
[2026-08-28 19:19:13] local.INFO: Extracted packet for processing {"connection_id":163974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0489d"} 
[2026-08-28 19:19:13] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19: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-28 19:19:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708636672001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:19:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:19:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:19:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:19:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787924663000,"timestamp_ms":1787924663000,"timestamp_seconds":1787924663,"priority":1,"record_length":96,"hex_timestamp":"000001a0489d4ad8"} 
[2026-08-28 19: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-28 19:19:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19: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":211,"data_length":795,"current_offset":136} 
[2026-08-28 19:19: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-28 19: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-28 19: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-28 19:19:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:19:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:19:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163974,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:19:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163974,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:19:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:19:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:19:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:19:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708636672001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:19:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:19:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:19:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708636672001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:19:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:19:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:19:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:19:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:19:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708636672001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:19:13] local.INFO: DEBUG: GPS processor result {"connection_id":163974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709809,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:19:13] local.INFO: GPS data processed {"connection_id":163974,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:19:13] local.INFO: Acknowledgment sent {"connection_id":163974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:19:17] local.INFO: TCP Data received {"connection_id":163974,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0489d4ad8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0489d4ad8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:19:17] local.INFO: Processing buffer {"connection_id":163974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0489d4ad8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:19:17] local.INFO: Packet analysis {"connection_id":163974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0489d"} 
[2026-08-28 19:19:17] local.INFO: Extracted packet for processing {"connection_id":163974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0489d"} 
[2026-08-28 19:19:17] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:19:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:19:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708636672001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:19:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:19:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:19:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:19:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787924663000,"timestamp_ms":1787924663000,"timestamp_seconds":1787924663,"priority":1,"record_length":96,"hex_timestamp":"000001a0489d4ad8"} 
[2026-08-28 19:19:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:19:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:19:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 19:19:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:19:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:19:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:19:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:19:17] local.INFO: Teltonika packet parsed successfully {"connection_id":163974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:19:17] local.INFO: Passing IMEI to GPS processor {"connection_id":163974,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:19:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":163974,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:19:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:19:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:19:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:19:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708636672001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:19:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:19:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:19:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708636672001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:19:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:19:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:19:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:19:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:19:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708636672001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:19:17] local.INFO: DEBUG: GPS processor result {"connection_id":163974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709810,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:19:17] local.INFO: GPS data processed {"connection_id":163974,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:19:17] local.INFO: Acknowledgment sent {"connection_id":163974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:19:26] local.INFO: TCP Data received {"connection_id":164984,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048a14278012d1a920007211120004700a428..."} 
[2026-08-28 19:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048a14278012d1a920007211120004700a428..."} 
[2026-08-28 19:19:26] local.INFO: Processing buffer {"connection_id":164984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048a14278012d1a920007211120004700a428..."} 
[2026-08-28 19:19:26] local.INFO: Packet analysis {"connection_id":164984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048a1"} 
[2026-08-28 19:19:26] local.INFO: Extracted packet for processing {"connection_id":164984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048a1"} 
[2026-08-28 19:19:26] local.INFO: GPS Element Parsed {"raw_longitude":756716032,"raw_latitude":119607584,"longitude_deg":75.6716032,"latitude_deg":11.9607584,"altitude":71,"angle":164,"satellites":40,"speed":5,"hex_longitude":"2d1a9200","hex_latitude":"07211120","is_valid_coordinates":true} 
[2026-08-28 19:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:19:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708775936001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:19:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16036913962024960,"note":"Value kept but may cause issues"} 
[2026-08-28 19:19:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912833603601547264,"note":"Value kept but may cause issues"} 
[2026-08-28 19:19:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:19:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787924923000,"timestamp_ms":1787924923000,"timestamp_seconds":1787924923,"priority":1,"record_length":96,"hex_timestamp":"000001a048a14278"} 
[2026-08-28 19:19:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:19:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-28 19:19:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:19:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:19:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:19:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:19:26] local.INFO: Teltonika packet parsed successfully {"connection_id":164984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:19:26] local.INFO: Passing IMEI to GPS processor {"connection_id":164984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:19:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":164984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:19:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:19:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:19:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:19:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708775936001,"66":12972,"103":206,"83":41984,"24":5,"16":16036913962024960,"45":1912833603601547264},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-28 19:19:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:19:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:19:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708775936001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:19:26] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-28 19:19:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:19:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16036913962024960,"km_value":16036913962024.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:19:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912833603601547264,"description":"Unknown IO ID 45"} 
[2026-08-28 19:19:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708775936001,"power":12972,"unknown_103":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1912833603601547264}} 
[2026-08-28 19:19:26] 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":709811,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:19:26] local.INFO: GPS data processed {"connection_id":164984,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:19:26] local.INFO: Acknowledgment sent {"connection_id":164984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:19:30] local.INFO: TCP Data received {"connection_id":164985,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:19:30] local.INFO: Processing buffer {"connection_id":164985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:19:30] local.INFO: IMEI packet received {"connection_id":164985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 19:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":164985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:19:35] local.INFO: TCP Data received {"connection_id":164985,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:19:35] local.INFO: Processing buffer {"connection_id":164985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:19:35] local.INFO: IMEI packet received {"connection_id":164985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 19:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":164985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:19:37] local.INFO: TCP Data received {"connection_id":164985,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0489f5a30012d34c14006aa4840000b00e62a..."} 
[2026-08-28 19:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0489f5a30012d34c14006aa4840000b00e62a..."} 
[2026-08-28 19:19:37] local.INFO: Processing buffer {"connection_id":164985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0489f5a30012d34c14006aa4840000b00e62a..."} 
[2026-08-28 19:19:37] local.INFO: Packet analysis {"connection_id":164985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0489f"} 
[2026-08-28 19:19:37] local.INFO: Extracted packet for processing {"connection_id":164985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0489f"} 
[2026-08-28 19:19:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708671232001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787924798000,"timestamp_ms":1787924798000,"timestamp_seconds":1787924798,"priority":1,"record_length":96,"hex_timestamp":"000001a0489f5a30"} 
[2026-08-28 19:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 19:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708671232001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708671232001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:19:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:19:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:19: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-28 19:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708671232001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:19:37] 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":709812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:19:37] local.INFO: GPS data processed {"connection_id":164985,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:19:37] local.INFO: Acknowledgment sent {"connection_id":164985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:19:56] local.INFO: TCP Data received {"connection_id":166341,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166341,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:19:56] local.INFO: Processing buffer {"connection_id":166341,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:19:56] local.INFO: IMEI packet received {"connection_id":166341,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 19:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":166341,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:20:01] local.INFO: TCP Data received {"connection_id":166341,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166341,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:20:01] local.INFO: Processing buffer {"connection_id":166341,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:20:01] local.INFO: IMEI packet received {"connection_id":166341,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 19:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":166341,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:20:03] local.INFO: TCP Data received {"connection_id":166341,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048a1e2a0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048a1e2a0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:20:03] local.INFO: Processing buffer {"connection_id":166341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048a1e2a0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:20:03] local.INFO: Packet analysis {"connection_id":166341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048a1"} 
[2026-08-28 19:20:03] local.INFO: Extracted packet for processing {"connection_id":166341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048a1"} 
[2026-08-28 19:20:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708713728001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:20:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787924964000,"timestamp_ms":1787924964000,"timestamp_seconds":1787924964,"priority":1,"record_length":96,"hex_timestamp":"000001a048a1e2a0"} 
[2026-08-28 19:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:20:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 19:20:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:20:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":166341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":166341,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":166341,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708713728001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708713728001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:20:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:20:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708713728001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":166341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709813,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:20:03] local.INFO: GPS data processed {"connection_id":166341,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:20:03] local.INFO: Acknowledgment sent {"connection_id":166341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:20:08] local.INFO: TCP Data received {"connection_id":164985,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0489f5a30012d34c14006aa4840000b00e62a..."} 
[2026-08-28 19:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0489f5a30012d34c14006aa4840000b00e62a..."} 
[2026-08-28 19:20:08] local.INFO: Processing buffer {"connection_id":164985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0489f5a30012d34c14006aa4840000b00e62a..."} 
[2026-08-28 19:20:08] local.INFO: Packet analysis {"connection_id":164985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0489f"} 
[2026-08-28 19:20:08] local.INFO: Extracted packet for processing {"connection_id":164985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0489f"} 
[2026-08-28 19:20:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708671232001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:20:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787924798000,"timestamp_ms":1787924798000,"timestamp_seconds":1787924798,"priority":1,"record_length":96,"hex_timestamp":"000001a0489f5a30"} 
[2026-08-28 19:20:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:20:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 19:20:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:20:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:20:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:20:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708671232001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708671232001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:20:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:20:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:20: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-28 19:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708671232001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:20:08] 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":709814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:20:08] local.INFO: GPS data processed {"connection_id":164985,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:20:08] local.INFO: Acknowledgment sent {"connection_id":164985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:20:30] local.INFO: TCP Data received {"connection_id":163975,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:20:30] local.INFO: Processing buffer {"connection_id":163975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:20:30] local.INFO: IMEI packet received {"connection_id":163975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 19:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":163975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:20:35] local.INFO: TCP Data received {"connection_id":166341,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048a1e2a0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048a1e2a0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:20:35] local.INFO: Processing buffer {"connection_id":166341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048a1e2a0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:20:35] local.INFO: Packet analysis {"connection_id":166341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048a1"} 
[2026-08-28 19:20:35] local.INFO: Extracted packet for processing {"connection_id":166341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048a1"} 
[2026-08-28 19:20:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:20:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708713728001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:20:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:20:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:20:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:20:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787924964000,"timestamp_ms":1787924964000,"timestamp_seconds":1787924964,"priority":1,"record_length":96,"hex_timestamp":"000001a048a1e2a0"} 
[2026-08-28 19:20:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:20:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 19:20:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:20:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:20:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:20:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:20:35] local.INFO: Teltonika packet parsed successfully {"connection_id":166341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:20:35] local.INFO: Passing IMEI to GPS processor {"connection_id":166341,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:20:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":166341,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:20:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:20:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:20:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:20:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708713728001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:20:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:20:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:20:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708713728001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:20:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:20:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:20:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:20:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:20:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708713728001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:20:35] local.INFO: DEBUG: GPS processor result {"connection_id":166341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709815,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:20:35] local.INFO: GPS data processed {"connection_id":166341,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:20:35] local.INFO: Acknowledgment sent {"connection_id":166341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:20:35] local.INFO: TCP Data received {"connection_id":163975,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:20:35] local.INFO: Processing buffer {"connection_id":163975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:20:35] local.INFO: IMEI packet received {"connection_id":163975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 19:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":163975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:20:37] local.INFO: TCP Data received {"connection_id":164986,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:20:37] local.INFO: Processing buffer {"connection_id":164986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:20:37] local.INFO: IMEI packet received {"connection_id":164986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 19:20:37] local.INFO: IMEI acknowledgment sent {"connection_id":164986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:20:37] local.INFO: TCP Data received {"connection_id":163975,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0489f5a30012d34c14006aa4840000b00e62a..."} 
[2026-08-28 19:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0489f5a30012d34c14006aa4840000b00e62a..."} 
[2026-08-28 19:20:37] local.INFO: Processing buffer {"connection_id":163975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0489f5a30012d34c14006aa4840000b00e62a..."} 
[2026-08-28 19:20:37] local.INFO: Packet analysis {"connection_id":163975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0489f"} 
[2026-08-28 19:20:37] local.INFO: Extracted packet for processing {"connection_id":163975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0489f"} 
[2026-08-28 19:20:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708671232001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787924798000,"timestamp_ms":1787924798000,"timestamp_seconds":1787924798,"priority":1,"record_length":96,"hex_timestamp":"000001a0489f5a30"} 
[2026-08-28 19:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 19:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708671232001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708671232001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:20:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:20:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:20: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-28 19:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708671232001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":163975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:20:37] local.INFO: GPS data processed {"connection_id":163975,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:20:37] local.INFO: Acknowledgment sent {"connection_id":163975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:20:56] local.INFO: TCP Data received {"connection_id":164987,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164987,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:20:56] local.INFO: Processing buffer {"connection_id":164987,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:20:56] local.INFO: IMEI packet received {"connection_id":164987,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 19:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":164987,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:21:01] local.INFO: TCP Data received {"connection_id":163702,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163702,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:21:01] local.INFO: Processing buffer {"connection_id":163702,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:21:01] local.INFO: IMEI packet received {"connection_id":163702,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 19:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":163702,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:21:01] local.INFO: TCP Data received {"connection_id":164987,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164987,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:21:01] local.INFO: Processing buffer {"connection_id":164987,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:21:01] local.INFO: IMEI packet received {"connection_id":164987,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 19:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":164987,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:21:02] local.INFO: TCP Data received {"connection_id":163702,"ip":"42.106.6.47","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-28 19:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163702,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-28 19:21:02] local.INFO: Processing buffer {"connection_id":163702,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-28 19:21:02] local.INFO: IMEI packet received {"connection_id":163702,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 19:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":163702,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:21:03] local.INFO: TCP Data received {"connection_id":164987,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048a1e2a0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048a1e2a0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:21:03] local.INFO: Processing buffer {"connection_id":164987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048a1e2a0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:21:03] local.INFO: Packet analysis {"connection_id":164987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048a1"} 
[2026-08-28 19:21:03] local.INFO: Extracted packet for processing {"connection_id":164987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048a1"} 
[2026-08-28 19:21:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708713728001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787924964000,"timestamp_ms":1787924964000,"timestamp_seconds":1787924964,"priority":1,"record_length":96,"hex_timestamp":"000001a048a1e2a0"} 
[2026-08-28 19:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:21:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 19:21:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:21:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":164987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":164987,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":164987,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708713728001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708713728001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:21:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:21:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708713728001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:21:03] 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":709817,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:21:03] local.INFO: GPS data processed {"connection_id":164987,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:21:03] local.INFO: Acknowledgment sent {"connection_id":164987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:21:09] local.INFO: TCP Data received {"connection_id":163975,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0489f5a30012d34c14006aa4840000b00e62a..."} 
[2026-08-28 19:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0489f5a30012d34c14006aa4840000b00e62a..."} 
[2026-08-28 19:21:09] local.INFO: Processing buffer {"connection_id":163975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0489f5a30012d34c14006aa4840000b00e62a..."} 
[2026-08-28 19:21:09] local.INFO: Packet analysis {"connection_id":163975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0489f"} 
[2026-08-28 19:21:09] local.INFO: Extracted packet for processing {"connection_id":163975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0489f"} 
[2026-08-28 19:21:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708671232001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:21:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787924798000,"timestamp_ms":1787924798000,"timestamp_seconds":1787924798,"priority":1,"record_length":96,"hex_timestamp":"000001a0489f5a30"} 
[2026-08-28 19:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 19:21:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:21:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:21:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708671232001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708671232001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:21:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:21:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:21: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-28 19:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708671232001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":163975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:21:09] local.INFO: GPS data processed {"connection_id":163975,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:21:09] local.INFO: Acknowledgment sent {"connection_id":163975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:21:29] local.INFO: TCP Data received {"connection_id":164988,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:21:29] local.INFO: Processing buffer {"connection_id":164988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:21:29] local.INFO: IMEI packet received {"connection_id":164988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 19:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":164988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:21:34] local.INFO: TCP Data received {"connection_id":164987,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048a1e2a0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048a1e2a0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:21:34] local.INFO: Processing buffer {"connection_id":164987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048a1e2a0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:21:34] local.INFO: Packet analysis {"connection_id":164987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048a1"} 
[2026-08-28 19:21:34] local.INFO: Extracted packet for processing {"connection_id":164987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048a1"} 
[2026-08-28 19:21:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708713728001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:21:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787924964000,"timestamp_ms":1787924964000,"timestamp_seconds":1787924964,"priority":1,"record_length":96,"hex_timestamp":"000001a048a1e2a0"} 
[2026-08-28 19:21:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:21:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 19:21:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:21:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:21:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":164987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":164987,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":164987,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:21:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708713728001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708713728001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:21:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:21:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708713728001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:21:35] 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":709819,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:21:35] local.INFO: GPS data processed {"connection_id":164987,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:21:35] local.INFO: Acknowledgment sent {"connection_id":164987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:21:35] local.INFO: TCP Data received {"connection_id":164988,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:21:35] local.INFO: Processing buffer {"connection_id":164988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:21:35] local.INFO: IMEI packet received {"connection_id":164988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 19:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":164988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:21:37] local.INFO: TCP Data received {"connection_id":164988,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0489f5a30012d34c14006aa4840000b00e62a..."} 
[2026-08-28 19:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0489f5a30012d34c14006aa4840000b00e62a..."} 
[2026-08-28 19:21:37] local.INFO: Processing buffer {"connection_id":164988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0489f5a30012d34c14006aa4840000b00e62a..."} 
[2026-08-28 19:21:37] local.INFO: Packet analysis {"connection_id":164988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0489f"} 
[2026-08-28 19:21:37] local.INFO: Extracted packet for processing {"connection_id":164988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0489f"} 
[2026-08-28 19:21:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19: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-28 19:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708671232001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787924798000,"timestamp_ms":1787924798000,"timestamp_seconds":1787924798,"priority":1,"record_length":96,"hex_timestamp":"000001a0489f5a30"} 
[2026-08-28 19: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-28 19:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 19:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19: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-28 19: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-28 19:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708671232001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708671232001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:21:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:21:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:21: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-28 19:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708671232001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":164988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:21:37] local.INFO: GPS data processed {"connection_id":164988,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:21:37] local.INFO: Acknowledgment sent {"connection_id":164988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:21:56] local.INFO: TCP Data received {"connection_id":163703,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163703,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:21:56] local.INFO: Processing buffer {"connection_id":163703,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:21:56] local.INFO: IMEI packet received {"connection_id":163703,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 19:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":163703,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:22:01] local.INFO: TCP Data received {"connection_id":163703,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163703,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:22:01] local.INFO: Processing buffer {"connection_id":163703,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:22:01] local.INFO: IMEI packet received {"connection_id":163703,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 19:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":163703,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:22:03] local.INFO: TCP Data received {"connection_id":163703,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048a1e2a0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048a1e2a0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:22:03] local.INFO: Processing buffer {"connection_id":163703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048a1e2a0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:22:03] local.INFO: Packet analysis {"connection_id":163703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048a1"} 
[2026-08-28 19:22:03] local.INFO: Extracted packet for processing {"connection_id":163703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048a1"} 
[2026-08-28 19:22:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708713728001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:22:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787924964000,"timestamp_ms":1787924964000,"timestamp_seconds":1787924964,"priority":1,"record_length":96,"hex_timestamp":"000001a048a1e2a0"} 
[2026-08-28 19:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:22:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 19:22:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:22:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163703,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163703,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:22:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708713728001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708713728001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:22:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:22:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708713728001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:22:04] 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":709821,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:22:04] local.INFO: GPS data processed {"connection_id":163703,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:22:04] local.INFO: Acknowledgment sent {"connection_id":163703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:22:08] local.INFO: TCP Data received {"connection_id":164988,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0489f5a30012d34c14006aa4840000b00e62a..."} 
[2026-08-28 19:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0489f5a30012d34c14006aa4840000b00e62a..."} 
[2026-08-28 19:22:08] local.INFO: Processing buffer {"connection_id":164988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0489f5a30012d34c14006aa4840000b00e62a..."} 
[2026-08-28 19:22:08] local.INFO: Packet analysis {"connection_id":164988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0489f"} 
[2026-08-28 19:22:08] local.INFO: Extracted packet for processing {"connection_id":164988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0489f"} 
[2026-08-28 19:22:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19: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-28 19:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708671232001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:22:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787924798000,"timestamp_ms":1787924798000,"timestamp_seconds":1787924798,"priority":1,"record_length":96,"hex_timestamp":"000001a0489f5a30"} 
[2026-08-28 19: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-28 19:22:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 19:22:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19: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-28 19: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-28 19:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:22:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708671232001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708671232001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:22:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:22:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:22: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-28 19:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708671232001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":164988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:22:08] local.INFO: GPS data processed {"connection_id":164988,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:22:08] local.INFO: Acknowledgment sent {"connection_id":164988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:22:35] local.INFO: TCP Data received {"connection_id":166343,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:22:35] local.INFO: Processing buffer {"connection_id":166343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:22:35] local.INFO: IMEI packet received {"connection_id":166343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 19:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":166343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:22:36] local.INFO: TCP Data received {"connection_id":163703,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048a1e2a0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048a1e2a0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:22:36] local.INFO: Processing buffer {"connection_id":163703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048a1e2a0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:22:36] local.INFO: Packet analysis {"connection_id":163703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048a1"} 
[2026-08-28 19:22:36] local.INFO: Extracted packet for processing {"connection_id":163703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048a1"} 
[2026-08-28 19:22:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708713728001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787924964000,"timestamp_ms":1787924964000,"timestamp_seconds":1787924964,"priority":1,"record_length":96,"hex_timestamp":"000001a048a1e2a0"} 
[2026-08-28 19:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:22:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 19:22:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:22:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163703,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163703,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:22:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708713728001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708713728001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:22:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:22:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708713728001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:22:36] 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":709823,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:22:36] local.INFO: GPS data processed {"connection_id":163703,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:22:36] local.INFO: Acknowledgment sent {"connection_id":163703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:22:40] local.INFO: TCP Data received {"connection_id":166343,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:22:40] local.INFO: Processing buffer {"connection_id":166343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:22:40] local.INFO: IMEI packet received {"connection_id":166343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 19:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":166343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:22:42] local.INFO: TCP Data received {"connection_id":166343,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048a3f1f8012d34c14006aa4840001300e62a..."} 
[2026-08-28 19:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048a3f1f8012d34c14006aa4840001300e62a..."} 
[2026-08-28 19:22:42] local.INFO: Processing buffer {"connection_id":166343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048a3f1f8012d34c14006aa4840001300e62a..."} 
[2026-08-28 19:22:42] local.INFO: Packet analysis {"connection_id":166343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048a3"} 
[2026-08-28 19:22:42] local.INFO: Extracted packet for processing {"connection_id":166343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048a3"} 
[2026-08-28 19:22:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":19,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 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-28 19:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708748288001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:22:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:22:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787925099000,"timestamp_ms":1787925099000,"timestamp_seconds":1787925099,"priority":1,"record_length":96,"hex_timestamp":"000001a048a3f1f8"} 
[2026-08-28 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-28 19:22:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 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":31,"data_length":795,"current_offset":136} 
[2026-08-28 19: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-28 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-28 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-28 19:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":166343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":166343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":166343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:22:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708748288001,"66":25201,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708748288001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:22:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:22:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 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-28 19:22:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708748288001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":166343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:22:42] local.INFO: GPS data processed {"connection_id":166343,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:22:42] local.INFO: Acknowledgment sent {"connection_id":166343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:22:46] local.INFO: TCP Data received {"connection_id":166343,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048a3f1f8012d34c14006aa4840001300e62a..."} 
[2026-08-28 19:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048a3f1f8012d34c14006aa4840001300e62a..."} 
[2026-08-28 19:22:46] local.INFO: Processing buffer {"connection_id":166343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048a3f1f8012d34c14006aa4840001300e62a..."} 
[2026-08-28 19:22:46] local.INFO: Packet analysis {"connection_id":166343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048a3"} 
[2026-08-28 19:22:46] local.INFO: Extracted packet for processing {"connection_id":166343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048a3"} 
[2026-08-28 19:22:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":19,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:22:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708748288001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:22:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:22:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:22:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:22:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787925099000,"timestamp_ms":1787925099000,"timestamp_seconds":1787925099,"priority":1,"record_length":96,"hex_timestamp":"000001a048a3f1f8"} 
[2026-08-28 19: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-28 19:22:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 19:22: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-28 19: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-28 19: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-28 19:22:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:22:46] local.INFO: Teltonika packet parsed successfully {"connection_id":166343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:22:46] local.INFO: Passing IMEI to GPS processor {"connection_id":166343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:22:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":166343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:22:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:22:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:22:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:22:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708748288001,"66":25201,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:22:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:22:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:22:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708748288001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:22:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:22:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:22: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-28 19:22:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:22:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708748288001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:22:46] local.INFO: DEBUG: GPS processor result {"connection_id":166343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:22:46] local.INFO: GPS data processed {"connection_id":166343,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:22:46] local.INFO: Acknowledgment sent {"connection_id":166343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:23:01] local.INFO: TCP Data received {"connection_id":166344,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166344,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:23:01] local.INFO: Processing buffer {"connection_id":166344,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:23:01] local.INFO: IMEI packet received {"connection_id":166344,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 19:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":166344,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:23:06] local.INFO: TCP Data received {"connection_id":166344,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166344,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:23:06] local.INFO: Processing buffer {"connection_id":166344,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:23:06] local.INFO: IMEI packet received {"connection_id":166344,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 19:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":166344,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:23:08] local.INFO: TCP Data received {"connection_id":166344,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048a1e2a0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048a1e2a0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:23:08] local.INFO: Processing buffer {"connection_id":166344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048a1e2a0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:23:08] local.INFO: Packet analysis {"connection_id":166344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048a1"} 
[2026-08-28 19:23:08] local.INFO: Extracted packet for processing {"connection_id":166344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048a1"} 
[2026-08-28 19:23:08] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708713728001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:23:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787924964000,"timestamp_ms":1787924964000,"timestamp_seconds":1787924964,"priority":1,"record_length":96,"hex_timestamp":"000001a048a1e2a0"} 
[2026-08-28 19:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:23:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 19:23:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:23:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":166344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":166344,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":166344,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:23:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708713728001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708713728001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:23:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:23:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708713728001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":166344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709826,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:23:08] local.INFO: GPS data processed {"connection_id":166344,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:23:08] local.INFO: Acknowledgment sent {"connection_id":166344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:23:12] local.INFO: TCP Data received {"connection_id":166344,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048a1e2a0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048a1e2a0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:23:12] local.INFO: Processing buffer {"connection_id":166344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048a1e2a0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:23:12] local.INFO: Packet analysis {"connection_id":166344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048a1"} 
[2026-08-28 19:23:12] local.INFO: Extracted packet for processing {"connection_id":166344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048a1"} 
[2026-08-28 19:23:12] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:23:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708713728001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:23:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:23:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:23:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:23:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787924964000,"timestamp_ms":1787924964000,"timestamp_seconds":1787924964,"priority":1,"record_length":96,"hex_timestamp":"000001a048a1e2a0"} 
[2026-08-28 19:23:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:23:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 19:23:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:23:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:23:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:23:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:23:12] local.INFO: Teltonika packet parsed successfully {"connection_id":166344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:23:12] local.INFO: Passing IMEI to GPS processor {"connection_id":166344,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:23:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":166344,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:23:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:23:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:23:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:23:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708713728001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:23:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:23:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:23:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708713728001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:23:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:23:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:23:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:23:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:23:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708713728001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:23:12] local.INFO: DEBUG: GPS processor result {"connection_id":166344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709827,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:23:12] local.INFO: GPS data processed {"connection_id":166344,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:23:12] local.INFO: Acknowledgment sent {"connection_id":166344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:23:30] local.INFO: TCP Data received {"connection_id":163704,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:23:30] local.INFO: Processing buffer {"connection_id":163704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:23:30] local.INFO: IMEI packet received {"connection_id":163704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 19:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":163704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:23:35] local.INFO: TCP Data received {"connection_id":163704,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:23:35] local.INFO: Processing buffer {"connection_id":163704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:23:35] local.INFO: IMEI packet received {"connection_id":163704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 19:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":163704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:23:37] local.INFO: TCP Data received {"connection_id":163704,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048a3f1f8012d34c14006aa4840001300e62a..."} 
[2026-08-28 19:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048a3f1f8012d34c14006aa4840001300e62a..."} 
[2026-08-28 19:23:37] local.INFO: Processing buffer {"connection_id":163704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048a3f1f8012d34c14006aa4840001300e62a..."} 
[2026-08-28 19:23:37] local.INFO: Packet analysis {"connection_id":163704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048a3"} 
[2026-08-28 19:23:37] local.INFO: Extracted packet for processing {"connection_id":163704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048a3"} 
[2026-08-28 19:23:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":19,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708748288001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787925099000,"timestamp_ms":1787925099000,"timestamp_seconds":1787925099,"priority":1,"record_length":96,"hex_timestamp":"000001a048a3f1f8"} 
[2026-08-28 19:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 19:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708748288001,"66":25201,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708748288001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:23:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:23:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:23: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-28 19:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708748288001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:23:37] 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":709828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:23:37] local.INFO: GPS data processed {"connection_id":163704,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:23:37] local.INFO: Acknowledgment sent {"connection_id":163704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:23:56] local.INFO: TCP Data received {"connection_id":166346,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166346,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:23:56] local.INFO: Processing buffer {"connection_id":166346,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:23:56] local.INFO: IMEI packet received {"connection_id":166346,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 19:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":166346,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:24:01] local.INFO: TCP Data received {"connection_id":166346,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166346,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:24:01] local.INFO: Processing buffer {"connection_id":166346,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:24:01] local.INFO: IMEI packet received {"connection_id":166346,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 19:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":166346,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:24:03] local.INFO: TCP Data received {"connection_id":166346,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048a1e2a0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048a1e2a0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:24:03] local.INFO: Processing buffer {"connection_id":166346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048a1e2a0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:24:03] local.INFO: Packet analysis {"connection_id":166346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048a1"} 
[2026-08-28 19:24:03] local.INFO: Extracted packet for processing {"connection_id":166346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048a1"} 
[2026-08-28 19:24:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708713728001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:24:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787924964000,"timestamp_ms":1787924964000,"timestamp_seconds":1787924964,"priority":1,"record_length":96,"hex_timestamp":"000001a048a1e2a0"} 
[2026-08-28 19:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:24:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 19:24:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:24:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":166346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":166346,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":166346,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708713728001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708713728001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:24:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:24:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708713728001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":166346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709829,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:24:03] local.INFO: GPS data processed {"connection_id":166346,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:24:03] local.INFO: Acknowledgment sent {"connection_id":166346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:24:09] local.INFO: TCP Data received {"connection_id":163704,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048a3f1f8012d34c14006aa4840001300e62a..."} 
[2026-08-28 19:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048a3f1f8012d34c14006aa4840001300e62a..."} 
[2026-08-28 19:24:09] local.INFO: Processing buffer {"connection_id":163704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048a3f1f8012d34c14006aa4840001300e62a..."} 
[2026-08-28 19:24:09] local.INFO: Packet analysis {"connection_id":163704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048a3"} 
[2026-08-28 19:24:09] local.INFO: Extracted packet for processing {"connection_id":163704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048a3"} 
[2026-08-28 19:24:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":19,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708748288001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:24:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:24:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787925099000,"timestamp_ms":1787925099000,"timestamp_seconds":1787925099,"priority":1,"record_length":96,"hex_timestamp":"000001a048a3f1f8"} 
[2026-08-28 19:24:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:24:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 19:24:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:24:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:24:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:24:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708748288001,"66":25201,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708748288001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:24:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:24:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:24: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-28 19:24:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708748288001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:24:09] 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":709830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:24:09] local.INFO: GPS data processed {"connection_id":163704,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:24:09] local.INFO: Acknowledgment sent {"connection_id":163704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:24:30] local.INFO: TCP Data received {"connection_id":166347,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:24:30] local.INFO: Processing buffer {"connection_id":166347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:24:30] local.INFO: IMEI packet received {"connection_id":166347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 19:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":166347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:24:35] local.INFO: TCP Data received {"connection_id":166347,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:24:35] local.INFO: Processing buffer {"connection_id":166347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:24:35] local.INFO: IMEI packet received {"connection_id":166347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 19:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":166347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:24:36] local.INFO: TCP Data received {"connection_id":166346,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048a1e2a0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048a1e2a0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:24:36] local.INFO: Processing buffer {"connection_id":166346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048a1e2a0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:24:36] local.INFO: Packet analysis {"connection_id":166346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048a1"} 
[2026-08-28 19:24:36] local.INFO: Extracted packet for processing {"connection_id":166346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048a1"} 
[2026-08-28 19:24:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19: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-28 19:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708713728001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787924964000,"timestamp_ms":1787924964000,"timestamp_seconds":1787924964,"priority":1,"record_length":96,"hex_timestamp":"000001a048a1e2a0"} 
[2026-08-28 19: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-28 19:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19: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":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 19:24:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19: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-28 19: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-28 19:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":166346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":166346,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":166346,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:24:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708713728001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708713728001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:24:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:24:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708713728001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":166346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709831,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:24:36] local.INFO: GPS data processed {"connection_id":166346,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:24:36] local.INFO: Acknowledgment sent {"connection_id":166346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:24:37] local.INFO: TCP Data received {"connection_id":166347,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048a3f1f8012d34c14006aa4840001300e62a..."} 
[2026-08-28 19:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048a3f1f8012d34c14006aa4840001300e62a..."} 
[2026-08-28 19:24:37] local.INFO: Processing buffer {"connection_id":166347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048a3f1f8012d34c14006aa4840001300e62a..."} 
[2026-08-28 19:24:37] local.INFO: Packet analysis {"connection_id":166347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048a3"} 
[2026-08-28 19:24:37] local.INFO: Extracted packet for processing {"connection_id":166347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048a3"} 
[2026-08-28 19:24:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":19,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708748288001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787925099000,"timestamp_ms":1787925099000,"timestamp_seconds":1787925099,"priority":1,"record_length":96,"hex_timestamp":"000001a048a3f1f8"} 
[2026-08-28 19:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 19:24:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":166347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":166347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":166347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708748288001,"66":25201,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708748288001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:24:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:24:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:24: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-28 19:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708748288001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":166347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:24:37] local.INFO: GPS data processed {"connection_id":166347,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:24:37] local.INFO: Acknowledgment sent {"connection_id":166347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:24:57] local.INFO: TCP Data received {"connection_id":163977,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163977,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:24:57] local.INFO: Processing buffer {"connection_id":163977,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:24:57] local.INFO: IMEI packet received {"connection_id":163977,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 19:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":163977,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:25:01] local.INFO: TCP Data received {"connection_id":163977,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163977,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:25:01] local.INFO: Processing buffer {"connection_id":163977,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:25:01] local.INFO: IMEI packet received {"connection_id":163977,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 19:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":163977,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:25:03] local.INFO: TCP Data received {"connection_id":163977,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048a1e2a0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048a1e2a0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:25:03] local.INFO: Processing buffer {"connection_id":163977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048a1e2a0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:25:03] local.INFO: Packet analysis {"connection_id":163977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048a1"} 
[2026-08-28 19:25:03] local.INFO: Extracted packet for processing {"connection_id":163977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048a1"} 
[2026-08-28 19:25:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708713728001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787924964000,"timestamp_ms":1787924964000,"timestamp_seconds":1787924964,"priority":1,"record_length":96,"hex_timestamp":"000001a048a1e2a0"} 
[2026-08-28 19:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:25:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 19:25:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:25:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163977,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163977,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708713728001,"66":25321,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708713728001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:25:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:25:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708713728001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":163977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709833,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:25:03] local.INFO: GPS data processed {"connection_id":163977,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:25:03] local.INFO: Acknowledgment sent {"connection_id":163977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:25:07] local.INFO: TCP Data received {"connection_id":166347,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048a3f1f8012d34c14006aa4840001300e62a..."} 
[2026-08-28 19:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048a3f1f8012d34c14006aa4840001300e62a..."} 
[2026-08-28 19:25:07] local.INFO: Processing buffer {"connection_id":166347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048a3f1f8012d34c14006aa4840001300e62a..."} 
[2026-08-28 19:25:07] local.INFO: Packet analysis {"connection_id":166347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048a3"} 
[2026-08-28 19:25:07] local.INFO: Extracted packet for processing {"connection_id":166347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048a3"} 
[2026-08-28 19:25:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":19,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708748288001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:25:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787925099000,"timestamp_ms":1787925099000,"timestamp_seconds":1787925099,"priority":1,"record_length":96,"hex_timestamp":"000001a048a3f1f8"} 
[2026-08-28 19:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 19:25:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:25:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":166347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":166347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":166347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708748288001,"66":25201,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708748288001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:25:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:25:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:25: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-28 19:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708748288001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":166347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:25:07] local.INFO: GPS data processed {"connection_id":166347,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:25:07] local.INFO: Acknowledgment sent {"connection_id":166347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:25:35] local.INFO: TCP Data received {"connection_id":163977,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048a67a68012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048a67a68012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:25:35] local.INFO: Processing buffer {"connection_id":163977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048a67a68012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:25:35] local.INFO: Packet analysis {"connection_id":163977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048a6"} 
[2026-08-28 19:25:35] local.INFO: Extracted packet for processing {"connection_id":163977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048a6"} 
[2026-08-28 19:25:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:25:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708790784001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:25:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:25:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:25:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:25:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787925265000,"timestamp_ms":1787925265000,"timestamp_seconds":1787925265,"priority":1,"record_length":96,"hex_timestamp":"000001a048a67a68"} 
[2026-08-28 19:25:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:25:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 19:25:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:25:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:25:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:25:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:25:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:25:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163977,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:25:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163977,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:25:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:25:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:25:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:25:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708790784001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:25:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:25:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:25:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708790784001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:25:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:25:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:25:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:25:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:25:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708790784001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:25:35] local.INFO: TCP Data received {"connection_id":163705,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:25:35] local.INFO: Processing buffer {"connection_id":163705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:25:35] local.INFO: IMEI packet received {"connection_id":163705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 19:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":163705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:25:35] local.INFO: DEBUG: GPS processor result {"connection_id":163977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709835,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:25:35] local.INFO: GPS data processed {"connection_id":163977,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:25:35] local.INFO: Acknowledgment sent {"connection_id":163977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:25:40] local.INFO: TCP Data received {"connection_id":163705,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:25:40] local.INFO: Processing buffer {"connection_id":163705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:25:40] local.INFO: IMEI packet received {"connection_id":163705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 19:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":163705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:25:42] local.INFO: TCP Data received {"connection_id":163705,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048a3f1f8012d34c14006aa4840001300e62a..."} 
[2026-08-28 19:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048a3f1f8012d34c14006aa4840001300e62a..."} 
[2026-08-28 19:25:42] local.INFO: Processing buffer {"connection_id":163705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048a3f1f8012d34c14006aa4840001300e62a..."} 
[2026-08-28 19:25:42] local.INFO: Packet analysis {"connection_id":163705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048a3"} 
[2026-08-28 19:25:42] local.INFO: Extracted packet for processing {"connection_id":163705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048a3"} 
[2026-08-28 19:25:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":19,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 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-28 19:25:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708748288001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:25:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:25:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:25:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:25:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787925099000,"timestamp_ms":1787925099000,"timestamp_seconds":1787925099,"priority":1,"record_length":96,"hex_timestamp":"000001a048a3f1f8"} 
[2026-08-28 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-28 19:25:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 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":31,"data_length":795,"current_offset":136} 
[2026-08-28 19: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-28 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-28 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-28 19:25:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:25:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:25:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:25:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:25:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:25:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:25:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:25:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708748288001,"66":25201,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:25:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:25:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:25:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708748288001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:25:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:25:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 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-28 19:25:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:25:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708748288001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:25:42] local.INFO: DEBUG: GPS processor result {"connection_id":163705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:25:42] local.INFO: GPS data processed {"connection_id":163705,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:25:42] local.INFO: Acknowledgment sent {"connection_id":163705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:25:45] local.INFO: TCP Data received {"connection_id":163705,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048a3f1f8012d34c14006aa4840001300e62a..."} 
[2026-08-28 19:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048a3f1f8012d34c14006aa4840001300e62a..."} 
[2026-08-28 19:25:45] local.INFO: Processing buffer {"connection_id":163705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048a3f1f8012d34c14006aa4840001300e62a..."} 
[2026-08-28 19:25:45] local.INFO: Packet analysis {"connection_id":163705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048a3"} 
[2026-08-28 19:25:45] local.INFO: Extracted packet for processing {"connection_id":163705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048a3"} 
[2026-08-28 19:25:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":19,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:25:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:25:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708748288001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:25:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:25:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:25:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:25:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787925099000,"timestamp_ms":1787925099000,"timestamp_seconds":1787925099,"priority":1,"record_length":96,"hex_timestamp":"000001a048a3f1f8"} 
[2026-08-28 19:25:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:25:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:25:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 19:25: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-28 19:25:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:25:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:25:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:25:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:25:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:25:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:25:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:25:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:25:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:25:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708748288001,"66":25201,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:25:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:25:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:25:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708748288001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:25:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:25:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:25: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-28 19:25:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:25:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708748288001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:25:45] local.INFO: DEBUG: GPS processor result {"connection_id":163705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:25:45] local.INFO: GPS data processed {"connection_id":163705,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:25:45] local.INFO: Acknowledgment sent {"connection_id":163705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:25:56] local.INFO: TCP Data received {"connection_id":163978,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163978,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:25:56] local.INFO: Processing buffer {"connection_id":163978,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:25:56] local.INFO: IMEI packet received {"connection_id":163978,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 19:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":163978,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:26:01] local.INFO: TCP Data received {"connection_id":163978,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163978,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:26:01] local.INFO: Processing buffer {"connection_id":163978,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:26:01] local.INFO: IMEI packet received {"connection_id":163978,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 19:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":163978,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:26:02] local.INFO: TCP Data received {"connection_id":164989,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164989,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:26:02] local.INFO: Processing buffer {"connection_id":164989,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:26:02] local.INFO: IMEI packet received {"connection_id":164989,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 19:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":164989,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:26:02] local.INFO: TCP Data received {"connection_id":163978,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048a67a68012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048a67a68012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:26:02] local.INFO: Processing buffer {"connection_id":163978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048a67a68012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:26:02] local.INFO: Packet analysis {"connection_id":163978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048a6"} 
[2026-08-28 19:26:02] local.INFO: Extracted packet for processing {"connection_id":163978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048a6"} 
[2026-08-28 19:26:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708790784001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:26:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787925265000,"timestamp_ms":1787925265000,"timestamp_seconds":1787925265,"priority":1,"record_length":96,"hex_timestamp":"000001a048a67a68"} 
[2026-08-28 19:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:26:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 19:26:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:26:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163978,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163978,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708790784001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708790784001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:26:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:26:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708790784001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":163978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709838,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:26:03] local.INFO: GPS data processed {"connection_id":163978,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:26:03] local.INFO: Acknowledgment sent {"connection_id":163978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:26:04] local.INFO: TCP Data received {"connection_id":164989,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048a74970012d18c440072143200040015f29..."} 
[2026-08-28 19:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048a74970012d18c440072143200040015f29..."} 
[2026-08-28 19:26:04] local.INFO: Processing buffer {"connection_id":164989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048a74970012d18c440072143200040015f29..."} 
[2026-08-28 19:26:04] local.INFO: Packet analysis {"connection_id":164989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048a7"} 
[2026-08-28 19:26:04] local.INFO: Extracted packet for processing {"connection_id":164989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048a7"} 
[2026-08-28 19:26:04] local.INFO: GPS Element Parsed {"raw_longitude":756597824,"raw_latitude":119620384,"longitude_deg":75.6597824,"latitude_deg":11.9620384,"altitude":64,"angle":351,"satellites":41,"speed":36,"hex_longitude":"2d18c440","hex_latitude":"07214320","is_valid_coordinates":true} 
[2026-08-28 19:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:26:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708880896001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:26:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16044924076032000,"note":"Value kept but may cause issues"} 
[2026-08-28 19:26:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785043964177166336,"note":"Value kept but may cause issues"} 
[2026-08-28 19:26:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:26:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787925318000,"timestamp_ms":1787925318000,"timestamp_seconds":1787925318,"priority":1,"record_length":96,"hex_timestamp":"000001a048a74970"} 
[2026-08-28 19:26:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:26:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-28 19:26:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:26:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:26:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:26:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:26:04] local.INFO: Teltonika packet parsed successfully {"connection_id":164989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:26:04] local.INFO: Passing IMEI to GPS processor {"connection_id":164989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:26:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":164989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:26:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:26:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:26:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:26:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708880896001,"66":13472,"106":206,"83":41984,"24":36,"16":16044924076032000,"45":1785043964177166336},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-28 19:26:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:26:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:26:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708880896001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:26:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:26:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:26:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16044924076032000,"km_value":16044924076032,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:26:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785043964177166336,"description":"Unknown IO ID 45"} 
[2026-08-28 19:26:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708880896001,"power":13472,"unknown_106":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1785043964177166336}} 
[2026-08-28 19:26:04] 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":709839,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:26:04] local.INFO: GPS data processed {"connection_id":164989,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:26:04] local.INFO: Acknowledgment sent {"connection_id":164989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:26:30] local.INFO: TCP Data received {"connection_id":163979,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:26:30] local.INFO: Processing buffer {"connection_id":163979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:26:30] local.INFO: IMEI packet received {"connection_id":163979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 19:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":163979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:26:34] local.INFO: TCP Data received {"connection_id":163978,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048a67a68012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048a67a68012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:26:34] local.INFO: Processing buffer {"connection_id":163978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048a67a68012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:26:34] local.INFO: Packet analysis {"connection_id":163978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048a6"} 
[2026-08-28 19:26:34] local.INFO: Extracted packet for processing {"connection_id":163978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048a6"} 
[2026-08-28 19:26:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:26:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708790784001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:26:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:26:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:26:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:26:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787925265000,"timestamp_ms":1787925265000,"timestamp_seconds":1787925265,"priority":1,"record_length":96,"hex_timestamp":"000001a048a67a68"} 
[2026-08-28 19:26:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:26:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 19:26:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:26:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:26:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:26:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:26:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:26:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163978,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:26:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163978,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:26:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:26:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:26:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:26:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708790784001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:26:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:26:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:26:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708790784001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:26:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:26:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:26:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:26:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:26:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708790784001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:26:34] local.INFO: DEBUG: GPS processor result {"connection_id":163978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709840,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:26:34] local.INFO: GPS data processed {"connection_id":163978,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:26:34] local.INFO: Acknowledgment sent {"connection_id":163978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:26:35] local.INFO: TCP Data received {"connection_id":163979,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:26:35] local.INFO: Processing buffer {"connection_id":163979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:26:35] local.INFO: IMEI packet received {"connection_id":163979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 19:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":163979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:26:36] local.INFO: TCP Data received {"connection_id":163979,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048a3f1f8012d34c14006aa4840001300e62a..."} 
[2026-08-28 19:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048a3f1f8012d34c14006aa4840001300e62a..."} 
[2026-08-28 19:26:36] local.INFO: Processing buffer {"connection_id":163979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048a3f1f8012d34c14006aa4840001300e62a..."} 
[2026-08-28 19:26:36] local.INFO: Packet analysis {"connection_id":163979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048a3"} 
[2026-08-28 19:26:36] local.INFO: Extracted packet for processing {"connection_id":163979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048a3"} 
[2026-08-28 19:26:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":19,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708748288001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787925099000,"timestamp_ms":1787925099000,"timestamp_seconds":1787925099,"priority":1,"record_length":96,"hex_timestamp":"000001a048a3f1f8"} 
[2026-08-28 19:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 19:26:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:26:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:26:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708748288001,"66":25201,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708748288001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:26:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:26:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708748288001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":163979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:26:36] local.INFO: GPS data processed {"connection_id":163979,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:26:36] local.INFO: Acknowledgment sent {"connection_id":163979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:26:40] local.INFO: TCP Data received {"connection_id":163980,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:26:40] local.INFO: Processing buffer {"connection_id":163980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:26:40] local.INFO: IMEI packet received {"connection_id":163980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 19:26:40] local.INFO: IMEI acknowledgment sent {"connection_id":163980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:26:43] local.INFO: TCP Data received {"connection_id":163980,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:26:43] local.INFO: Processing buffer {"connection_id":163980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:26:43] local.INFO: IMEI packet received {"connection_id":163980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 19:26:43] local.INFO: IMEI acknowledgment sent {"connection_id":163980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:26:44] local.INFO: TCP Data received {"connection_id":163980,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:26:44] local.INFO: Processing buffer {"connection_id":163980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:26:44] local.INFO: IMEI packet received {"connection_id":163980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 19:26:44] local.INFO: IMEI acknowledgment sent {"connection_id":163980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:26:45] local.INFO: TCP Data received {"connection_id":163980,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048a75910012d18c300072150c8004101542b..."} 
[2026-08-28 19:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048a75910012d18c300072150c8004101542b..."} 
[2026-08-28 19:26:45] local.INFO: Processing buffer {"connection_id":163980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048a75910012d18c300072150c8004101542b..."} 
[2026-08-28 19:26:45] local.INFO: Packet analysis {"connection_id":163980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048a7"} 
[2026-08-28 19:26:45] local.INFO: Extracted packet for processing {"connection_id":163980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048a7"} 
[2026-08-28 19:26:45] local.INFO: GPS Element Parsed {"raw_longitude":756597504,"raw_latitude":119623880,"longitude_deg":75.6597504,"latitude_deg":11.962388,"altitude":65,"angle":340,"satellites":43,"speed":33,"hex_longitude":"2d18c300","hex_latitude":"072150c8","is_valid_coordinates":true} 
[2026-08-28 19: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-28 19:26:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708881408001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:26:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16045095874723840,"note":"Value kept but may cause issues"} 
[2026-08-28 19:26:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784621751712555008,"note":"Value kept but may cause issues"} 
[2026-08-28 19:26:45] 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-28 19:26:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787925322000,"timestamp_ms":1787925322000,"timestamp_seconds":1787925322,"priority":1,"record_length":96,"hex_timestamp":"000001a048a75910"} 
[2026-08-28 19: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-28 19:26:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-28 19:26:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19: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-28 19: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-28 19:26:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:26:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:26:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:26:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:26:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:26:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:26:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:26:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708881408001,"66":13580,"106":206,"83":41984,"24":33,"16":16045095874723840,"45":1784621751712555008},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-28 19:26:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:26:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:26:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708881408001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:26:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:26:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:26:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16045095874723840,"km_value":16045095874723.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:26:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784621751712555008,"description":"Unknown IO ID 45"} 
[2026-08-28 19:26:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708881408001,"power":13580,"unknown_106":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1784621751712555008}} 
[2026-08-28 19:26:45] local.INFO: DEBUG: GPS processor result {"connection_id":163980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709842,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:26:45] local.INFO: GPS data processed {"connection_id":163980,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:26:45] local.INFO: Acknowledgment sent {"connection_id":163980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:26:48] local.INFO: TCP Data received {"connection_id":163980,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048a760e0012d18c00007215698004101462b..."} 
[2026-08-28 19:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048a760e0012d18c00007215698004101462b..."} 
[2026-08-28 19:26:48] local.INFO: Processing buffer {"connection_id":163980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048a760e0012d18c00007215698004101462b..."} 
[2026-08-28 19:26:48] local.INFO: Packet analysis {"connection_id":163980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048a7"} 
[2026-08-28 19:26:48] local.INFO: Extracted packet for processing {"connection_id":163980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048a7"} 
[2026-08-28 19:26:48] local.INFO: GPS Element Parsed {"raw_longitude":756596736,"raw_latitude":119625368,"longitude_deg":75.6596736,"latitude_deg":11.9625368,"altitude":65,"angle":326,"satellites":43,"speed":33,"hex_longitude":"2d18c000","hex_latitude":"07215698","is_valid_coordinates":true} 
[2026-08-28 19:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:26:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708882432001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:26:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16045177479102464,"note":"Value kept but may cause issues"} 
[2026-08-28 19:26:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784269907992561664,"note":"Value kept but may cause issues"} 
[2026-08-28 19:26:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:26:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787925324000,"timestamp_ms":1787925324000,"timestamp_seconds":1787925324,"priority":1,"record_length":96,"hex_timestamp":"000001a048a760e0"} 
[2026-08-28 19:26:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:26:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-28 19:26:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751528191,"note":"Value kept but may cause issues"} 
[2026-08-28 19:26:48] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-28 19:26:48] local.WARNING: Large IO value detected {"io_id":24,"raw_value":-2972367915737153478,"note":"Value kept but may cause issues"} 
[2026-08-28 19:26:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-28 19:26:48] local.WARNING: Large IO value detected {"io_id":1,"raw_value":5703809069798653962,"note":"Value kept but may cause issues"} 
[2026-08-28 19:26:48] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-28 19:26:48] local.WARNING: Large IO value detected {"io_id":72,"raw_value":2804559873,"note":"Value kept but may cause issues"} 
[2026-08-28 19:26:48] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634600390424679,"note":"Value kept but may cause issues"} 
[2026-08-28 19:26:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-08-28 19:26:48] local.WARNING: Large IO value detected {"io_id":18,"raw_value":3221302552,"note":"Value kept but may cause issues"} 
[2026-08-28 19:26:48] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-3818826567002304941,"note":"Value kept but may cause issues"} 
[2026-08-28 19:26:48] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-28 19:26:48] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755541175107825,"note":"Value kept but may cause issues"} 
[2026-08-28 19:26:48] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,106,83,24,241,157,16,160,73,45,64,67,41,10,66,65,192,60,63,40,53,128,1,240,227,72,33,4,113,205,31,18,209,184,43,239,52,103,2,57,7,59,34,164],"length":577,"final_offset":707,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-08-28 19:26:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4684117631104516096,"timestamp_seconds":4684117631104516.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 19:26:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:26:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:26:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:26:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:26:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:26:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:26:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:26:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:26:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708882432001,"66":12722,"106":206,"83":41984,"24":33,"16":16045177479102464,"45":1784269907992561664},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-28 19:26:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:26:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:26:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708882432001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:26:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:26:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:26:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16045177479102464,"km_value":16045177479102.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:26:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784269907992561664,"description":"Unknown IO ID 45"} 
[2026-08-28 19:26:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708882432001,"power":12722,"unknown_106":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1784269907992561664}} 
[2026-08-28 19:26:48] local.INFO: DEBUG: GPS processor result {"connection_id":163980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709843,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:26:48] local.INFO: GPS data processed {"connection_id":163980,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:26:48] local.INFO: Acknowledgment sent {"connection_id":163980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:27:02] local.INFO: TCP Data received {"connection_id":163706,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163706,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:27:02] local.INFO: Processing buffer {"connection_id":163706,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:27:02] local.INFO: IMEI packet received {"connection_id":163706,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 19:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":163706,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:27:06] local.INFO: TCP Data received {"connection_id":163706,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163706,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:27:06] local.INFO: Processing buffer {"connection_id":163706,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:27:06] local.INFO: IMEI packet received {"connection_id":163706,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 19:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":163706,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:27:08] local.INFO: TCP Data received {"connection_id":163706,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048a67a68012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048a67a68012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:27:08] local.INFO: Processing buffer {"connection_id":163706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048a67a68012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:27:08] local.INFO: Packet analysis {"connection_id":163706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048a6"} 
[2026-08-28 19:27:08] local.INFO: Extracted packet for processing {"connection_id":163706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048a6"} 
[2026-08-28 19:27:08] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708790784001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:27:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:27:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787925265000,"timestamp_ms":1787925265000,"timestamp_seconds":1787925265,"priority":1,"record_length":96,"hex_timestamp":"000001a048a67a68"} 
[2026-08-28 19:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:27:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 19:27:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:27:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163706,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163706,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:27:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708790784001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708790784001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:27:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:27:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:27:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:27:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708790784001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:27:08] 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":709844,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:27:08] local.INFO: GPS data processed {"connection_id":163706,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:27:08] local.INFO: Acknowledgment sent {"connection_id":163706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:27:09] local.INFO: TCP Data received {"connection_id":163979,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048a3f1f8012d34c14006aa4840001300e62a..."} 
[2026-08-28 19:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048a3f1f8012d34c14006aa4840001300e62a..."} 
[2026-08-28 19:27:09] local.INFO: Processing buffer {"connection_id":163979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048a3f1f8012d34c14006aa4840001300e62a..."} 
[2026-08-28 19:27:09] local.INFO: Packet analysis {"connection_id":163979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048a3"} 
[2026-08-28 19:27:09] local.INFO: Extracted packet for processing {"connection_id":163979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048a3"} 
[2026-08-28 19:27:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":19,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708748288001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:27:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:27:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787925099000,"timestamp_ms":1787925099000,"timestamp_seconds":1787925099,"priority":1,"record_length":96,"hex_timestamp":"000001a048a3f1f8"} 
[2026-08-28 19:27:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:27:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 19:27:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:27:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:27:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:27:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708748288001,"66":25201,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708748288001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:27:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:27:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:27: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-28 19:27:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708748288001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":163979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:27:09] local.INFO: GPS data processed {"connection_id":163979,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:27:09] local.INFO: Acknowledgment sent {"connection_id":163979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:27:13] local.INFO: TCP Data received {"connection_id":163706,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048a67a68012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048a67a68012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:27:13] local.INFO: Processing buffer {"connection_id":163706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048a67a68012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:27:13] local.INFO: Packet analysis {"connection_id":163706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048a6"} 
[2026-08-28 19:27:13] local.INFO: Extracted packet for processing {"connection_id":163706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048a6"} 
[2026-08-28 19:27:13] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 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-28 19:27:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708790784001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:27:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:27:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:27:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:27:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787925265000,"timestamp_ms":1787925265000,"timestamp_seconds":1787925265,"priority":1,"record_length":96,"hex_timestamp":"000001a048a67a68"} 
[2026-08-28 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-28 19:27:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 19:27: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-28 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-28 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-28 19:27:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:27:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:27:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163706,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:27:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163706,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:27:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:27:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:27:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:27:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708790784001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:27:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:27:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:27:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708790784001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:27:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:27:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:27:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:27:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:27:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708790784001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:27:13] 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":709846,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:27:13] local.INFO: GPS data processed {"connection_id":163706,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:27:13] local.INFO: Acknowledgment sent {"connection_id":163706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:27:19] local.INFO: TCP Data received {"connection_id":163980,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048a787f0012d18ad8007216fc00046013728..."} 
[2026-08-28 19:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048a787f0012d18ad8007216fc00046013728..."} 
[2026-08-28 19:27:19] local.INFO: Processing buffer {"connection_id":163980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048a787f0012d18ad8007216fc00046013728..."} 
[2026-08-28 19:27:19] local.INFO: Packet analysis {"connection_id":163980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048a7"} 
[2026-08-28 19:27:19] local.INFO: Extracted packet for processing {"connection_id":163980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048a7"} 
[2026-08-28 19:27:19] local.INFO: GPS Element Parsed {"raw_longitude":756592000,"raw_latitude":119631808,"longitude_deg":75.6592,"latitude_deg":11.9631808,"altitude":70,"angle":311,"satellites":40,"speed":29,"hex_longitude":"2d18ad80","hex_latitude":"07216fc0","is_valid_coordinates":true} 
[2026-08-28 19:27:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:27:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708882944001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:27:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16045564026159104,"note":"Value kept but may cause issues"} 
[2026-08-28 19:27:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783425483062810624,"note":"Value kept but may cause issues"} 
[2026-08-28 19:27:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:27:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787925334000,"timestamp_ms":1787925334000,"timestamp_seconds":1787925334,"priority":1,"record_length":96,"hex_timestamp":"000001a048a787f0"} 
[2026-08-28 19:27:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:27:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19:27:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-28 19:27:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:27:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:27:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:27:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:27:19] local.INFO: Teltonika packet parsed successfully {"connection_id":163980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:27:19] local.INFO: Passing IMEI to GPS processor {"connection_id":163980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:27:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":163980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:27:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:27:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:27:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:27:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708882944001,"66":13722,"106":206,"83":41984,"24":29,"16":16045564026159104,"45":1783425483062810624},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-28 19:27:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:27:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:27:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708882944001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:27:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:27:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:27:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16045564026159104,"km_value":16045564026159.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:27:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783425483062810624,"description":"Unknown IO ID 45"} 
[2026-08-28 19:27:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708882944001,"power":13722,"unknown_106":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1783425483062810624}} 
[2026-08-28 19:27:20] local.INFO: DEBUG: GPS processor result {"connection_id":163980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709847,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:27:20] local.INFO: GPS data processed {"connection_id":163980,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:27:20] local.INFO: Acknowledgment sent {"connection_id":163980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:27:29] local.INFO: TCP Data received {"connection_id":164990,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:27:29] local.INFO: Processing buffer {"connection_id":164990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:27:29] local.INFO: IMEI packet received {"connection_id":164990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 19:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":164990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:27:35] local.INFO: TCP Data received {"connection_id":164990,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:27:35] local.INFO: Processing buffer {"connection_id":164990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:27:35] local.INFO: IMEI packet received {"connection_id":164990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 19:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":164990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:27:36] local.INFO: TCP Data received {"connection_id":164990,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048a889c0012d34c14006aa4840000c00e62b..."} 
[2026-08-28 19:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048a889c0012d34c14006aa4840000c00e62b..."} 
[2026-08-28 19:27:36] local.INFO: Processing buffer {"connection_id":164990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048a889c0012d34c14006aa4840000c00e62b..."} 
[2026-08-28 19:27:36] local.INFO: Packet analysis {"connection_id":164990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048a8"} 
[2026-08-28 19:27:36] local.INFO: Extracted packet for processing {"connection_id":164990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048a8"} 
[2026-08-28 19:27:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708825344001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787925400000,"timestamp_ms":1787925400000,"timestamp_seconds":1787925400,"priority":1,"record_length":96,"hex_timestamp":"000001a048a889c0"} 
[2026-08-28 19:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-28 19:27:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:27:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":164990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":164990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":164990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708825344001,"66":24973,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708825344001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:27:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:27:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708825344001,"power":24973,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:27:36] 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":709848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:27:36] local.INFO: GPS data processed {"connection_id":164990,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:27:36] local.INFO: Acknowledgment sent {"connection_id":164990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:27:43] local.INFO: TCP Data received {"connection_id":166349,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166349,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:27:43] local.INFO: Processing buffer {"connection_id":166349,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:27:43] local.INFO: IMEI packet received {"connection_id":166349,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 19:27:43] local.INFO: IMEI acknowledgment sent {"connection_id":166349,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:27:46] local.INFO: TCP Data received {"connection_id":166349,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:27:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166349,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:27:46] local.INFO: Processing buffer {"connection_id":166349,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:27:46] local.INFO: IMEI packet received {"connection_id":166349,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 19:27:46] local.INFO: IMEI acknowledgment sent {"connection_id":166349,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:27:47] local.INFO: TCP Data received {"connection_id":166349,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048a889c0012d181b000721a3d8004a00d528..."} 
[2026-08-28 19:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048a889c0012d181b000721a3d8004a00d528..."} 
[2026-08-28 19:27:47] local.INFO: Processing buffer {"connection_id":166349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048a889c0012d181b000721a3d8004a00d528..."} 
[2026-08-28 19:27:47] local.INFO: Packet analysis {"connection_id":166349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048a8"} 
[2026-08-28 19:27:47] local.INFO: Extracted packet for processing {"connection_id":166349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048a8"} 
[2026-08-28 19:27:47] local.INFO: GPS Element Parsed {"raw_longitude":756554496,"raw_latitude":119645144,"longitude_deg":75.6554496,"latitude_deg":11.9645144,"altitude":74,"angle":213,"satellites":40,"speed":14,"hex_longitude":"2d181b00","hex_latitude":"0721a3d8","is_valid_coordinates":true} 
[2026-08-28 19:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:27:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708901888001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:27:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16047518236278784,"note":"Value kept but may cause issues"} 
[2026-08-28 19:27:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324375799808,"note":"Value kept but may cause issues"} 
[2026-08-28 19:27:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:27:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787925400000,"timestamp_ms":1787925400000,"timestamp_seconds":1787925400,"priority":1,"record_length":96,"hex_timestamp":"000001a048a889c0"} 
[2026-08-28 19:27:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:27:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-28 19:27: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-28 19:27:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:27:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:27:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:27:47] local.INFO: Teltonika packet parsed successfully {"connection_id":166349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:27:47] local.INFO: Passing IMEI to GPS processor {"connection_id":166349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:27:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":166349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:27:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:27:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:27:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:27:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708901888001,"66":13352,"107":206,"83":41984,"24":14,"16":16047518236278784,"45":1737404324375799808},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-28 19:27:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:27:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:27:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708901888001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:27:47] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-28 19:27:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:27:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16047518236278784,"km_value":16047518236278.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:27:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324375799808,"description":"Unknown IO ID 45"} 
[2026-08-28 19:27:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708901888001,"power":13352,"unknown_107":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1737404324375799808}} 
[2026-08-28 19:27:47] local.INFO: DEBUG: GPS processor result {"connection_id":166349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709849,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:27:47] local.INFO: GPS data processed {"connection_id":166349,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:27:47] local.INFO: Acknowledgment sent {"connection_id":166349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:27:56] local.INFO: TCP Data received {"connection_id":164991,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164991,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:27:56] local.INFO: Processing buffer {"connection_id":164991,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:27:56] local.INFO: IMEI packet received {"connection_id":164991,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 19:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":164991,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:28:01] local.INFO: TCP Data received {"connection_id":164991,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164991,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:28:01] local.INFO: Processing buffer {"connection_id":164991,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:28:01] local.INFO: IMEI packet received {"connection_id":164991,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 19:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":164991,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:28:03] local.INFO: TCP Data received {"connection_id":164991,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048a67a68012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048a67a68012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:28:03] local.INFO: Processing buffer {"connection_id":164991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048a67a68012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:28:03] local.INFO: Packet analysis {"connection_id":164991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048a6"} 
[2026-08-28 19:28:03] local.INFO: Extracted packet for processing {"connection_id":164991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048a6"} 
[2026-08-28 19:28:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708790784001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:28:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787925265000,"timestamp_ms":1787925265000,"timestamp_seconds":1787925265,"priority":1,"record_length":96,"hex_timestamp":"000001a048a67a68"} 
[2026-08-28 19:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:28:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 19:28:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:28:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":164991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":164991,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":164991,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:28:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708790784001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708790784001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:28:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:28:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708790784001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":164991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709850,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:28:03] local.INFO: GPS data processed {"connection_id":164991,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:28:03] local.INFO: Acknowledgment sent {"connection_id":164991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:28:07] local.INFO: TCP Data received {"connection_id":164990,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048a889c0012d34c14006aa4840000c00e62b..."} 
[2026-08-28 19:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048a889c0012d34c14006aa4840000c00e62b..."} 
[2026-08-28 19:28:07] local.INFO: Processing buffer {"connection_id":164990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048a889c0012d34c14006aa4840000c00e62b..."} 
[2026-08-28 19:28:07] local.INFO: Packet analysis {"connection_id":164990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048a8"} 
[2026-08-28 19:28:07] local.INFO: Extracted packet for processing {"connection_id":164990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048a8"} 
[2026-08-28 19:28:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708825344001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787925400000,"timestamp_ms":1787925400000,"timestamp_seconds":1787925400,"priority":1,"record_length":96,"hex_timestamp":"000001a048a889c0"} 
[2026-08-28 19:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:28:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-28 19:28:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:28:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":164990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":164990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":164990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:28:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708825344001,"66":24973,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708825344001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:28:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:28:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:28: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-28 19:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708825344001,"power":24973,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:28:07] 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":709851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:28:07] local.INFO: GPS data processed {"connection_id":164990,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:28:07] local.INFO: Acknowledgment sent {"connection_id":164990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:28:18] local.INFO: TCP Data received {"connection_id":166349,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048a8b0d0012d180b8007218e50004b00e12a..."} 
[2026-08-28 19:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048a8b0d0012d180b8007218e50004b00e12a..."} 
[2026-08-28 19:28:18] local.INFO: Processing buffer {"connection_id":166349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048a8b0d0012d180b8007218e50004b00e12a..."} 
[2026-08-28 19:28:18] local.INFO: Packet analysis {"connection_id":166349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048a8"} 
[2026-08-28 19:28:18] local.INFO: Extracted packet for processing {"connection_id":166349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048a8"} 
[2026-08-28 19:28:18] local.INFO: GPS Element Parsed {"raw_longitude":756550528,"raw_latitude":119639632,"longitude_deg":75.6550528,"latitude_deg":11.9639632,"altitude":75,"angle":225,"satellites":42,"speed":33,"hex_longitude":"2d180b80","hex_latitude":"07218e50","is_valid_coordinates":true} 
[2026-08-28 19:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:28:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708902400001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:28:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16047848948760576,"note":"Value kept but may cause issues"} 
[2026-08-28 19:28:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736982111910615040,"note":"Value kept but may cause issues"} 
[2026-08-28 19:28:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:28:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787925410000,"timestamp_ms":1787925410000,"timestamp_seconds":1787925410,"priority":1,"record_length":96,"hex_timestamp":"000001a048a8b0d0"} 
[2026-08-28 19:28:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:28:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-28 19:28:18] 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-28 19:28:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:28:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:28:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:28:18] local.INFO: Teltonika packet parsed successfully {"connection_id":166349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:28:18] local.INFO: Passing IMEI to GPS processor {"connection_id":166349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:28:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":166349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:28:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:28:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:28:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:28:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708902400001,"66":13417,"107":206,"83":41984,"24":33,"16":16047848948760576,"45":1736982111910615040},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-28 19:28:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:28:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:28:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708902400001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:28:18] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-28 19:28:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:28:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16047848948760576,"km_value":16047848948760.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:28:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736982111910615040,"description":"Unknown IO ID 45"} 
[2026-08-28 19:28:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708902400001,"power":13417,"unknown_107":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1736982111910615040}} 
[2026-08-28 19:28:18] local.INFO: DEBUG: GPS processor result {"connection_id":166349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709852,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:28:18] local.INFO: GPS data processed {"connection_id":166349,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:28:18] local.INFO: Acknowledgment sent {"connection_id":166349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:28:30] local.INFO: TCP Data received {"connection_id":164992,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:28:30] local.INFO: Processing buffer {"connection_id":164992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:28:30] local.INFO: IMEI packet received {"connection_id":164992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 19:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":164992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:28:34] local.INFO: TCP Data received {"connection_id":164991,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048a67a68012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048a67a68012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:28:34] local.INFO: Processing buffer {"connection_id":164991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048a67a68012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:28:34] local.INFO: Packet analysis {"connection_id":164991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048a6"} 
[2026-08-28 19:28:34] local.INFO: Extracted packet for processing {"connection_id":164991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048a6"} 
[2026-08-28 19:28:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708790784001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:28:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787925265000,"timestamp_ms":1787925265000,"timestamp_seconds":1787925265,"priority":1,"record_length":96,"hex_timestamp":"000001a048a67a68"} 
[2026-08-28 19:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:28:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 19:28:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:28:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":164991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":164991,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":164991,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:28:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708790784001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708790784001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:28:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:28:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:28:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708790784001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:28:35] local.INFO: DEBUG: GPS processor result {"connection_id":164991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709853,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:28:35] local.INFO: GPS data processed {"connection_id":164991,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:28:35] local.INFO: Acknowledgment sent {"connection_id":164991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:28:35] local.INFO: TCP Data received {"connection_id":164992,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:28:35] local.INFO: Processing buffer {"connection_id":164992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:28:35] local.INFO: IMEI packet received {"connection_id":164992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 19:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":164992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:28:36] local.INFO: TCP Data received {"connection_id":164992,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048a889c0012d34c14006aa4840000c00e62b..."} 
[2026-08-28 19:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048a889c0012d34c14006aa4840000c00e62b..."} 
[2026-08-28 19:28:36] local.INFO: Processing buffer {"connection_id":164992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048a889c0012d34c14006aa4840000c00e62b..."} 
[2026-08-28 19:28:36] local.INFO: Packet analysis {"connection_id":164992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048a8"} 
[2026-08-28 19:28:36] local.INFO: Extracted packet for processing {"connection_id":164992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048a8"} 
[2026-08-28 19:28:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708825344001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:28:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787925400000,"timestamp_ms":1787925400000,"timestamp_seconds":1787925400,"priority":1,"record_length":96,"hex_timestamp":"000001a048a889c0"} 
[2026-08-28 19:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:28:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-28 19:28:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:28:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":164992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":164992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":164992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:28:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708825344001,"66":24973,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708825344001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:28:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:28:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708825344001,"power":24973,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":164992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:28:36] local.INFO: GPS data processed {"connection_id":164992,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:28:36] local.INFO: Acknowledgment sent {"connection_id":164992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:28:43] local.INFO: TCP Data received {"connection_id":166350,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166350,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:28:43] local.INFO: Processing buffer {"connection_id":166350,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:28:43] local.INFO: IMEI packet received {"connection_id":166350,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 19:28:43] local.INFO: IMEI acknowledgment sent {"connection_id":166350,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:28:43] local.INFO: TCP Data received {"connection_id":166350,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166350,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:28:43] local.INFO: Processing buffer {"connection_id":166350,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:28:43] local.INFO: IMEI packet received {"connection_id":166350,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 19:28:43] local.INFO: IMEI acknowledgment sent {"connection_id":166350,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:28:48] local.INFO: TCP Data received {"connection_id":166350,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166350,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:28:48] local.INFO: Processing buffer {"connection_id":166350,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:28:48] local.INFO: IMEI packet received {"connection_id":166350,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 19:28:48] local.INFO: IMEI acknowledgment sent {"connection_id":166350,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:28:49] local.INFO: TCP Data received {"connection_id":166350,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048a8d3f8012d17f14007217638004a00db2c..."} 
[2026-08-28 19:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048a8d3f8012d17f14007217638004a00db2c..."} 
[2026-08-28 19:28:49] local.INFO: Processing buffer {"connection_id":166350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048a8d3f8012d17f14007217638004a00db2c..."} 
[2026-08-28 19:28:49] local.INFO: Packet analysis {"connection_id":166350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048a8"} 
[2026-08-28 19:28:49] local.INFO: Extracted packet for processing {"connection_id":166350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048a8"} 
[2026-08-28 19:28:49] local.INFO: GPS Element Parsed {"raw_longitude":756543808,"raw_latitude":119633464,"longitude_deg":75.6543808,"latitude_deg":11.9633464,"altitude":74,"angle":219,"satellites":44,"speed":42,"hex_longitude":"2d17f140","hex_latitude":"07217638","is_valid_coordinates":true} 
[2026-08-28 19: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-28 19:28:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708904960001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:28:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16048282740457472,"note":"Value kept but may cause issues"} 
[2026-08-28 19:28:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732619249770188800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:28:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:28:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787925419000,"timestamp_ms":1787925419000,"timestamp_seconds":1787925419,"priority":1,"record_length":96,"hex_timestamp":"000001a048a8d3f8"} 
[2026-08-28 19: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-28 19:28:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19: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":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-28 19:28:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19: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-28 19: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-28 19:28:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:28:49] local.INFO: Teltonika packet parsed successfully {"connection_id":166350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:28:49] local.INFO: Passing IMEI to GPS processor {"connection_id":166350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:28:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":166350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:28:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:28:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:28:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:28:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708904960001,"66":13559,"107":206,"83":41984,"24":42,"16":16048282740457472,"45":1732619249770188800},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-28 19:28:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:28:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:28:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708904960001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:28:49] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-28 19:28:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:28:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16048282740457472,"km_value":16048282740457.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:28:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732619249770188800,"description":"Unknown IO ID 45"} 
[2026-08-28 19:28:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708904960001,"power":13559,"unknown_107":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1732619249770188800}} 
[2026-08-28 19:28:49] local.INFO: DEBUG: GPS processor result {"connection_id":166350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709855,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:28:49] local.INFO: GPS data processed {"connection_id":166350,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:28:49] local.INFO: Acknowledgment sent {"connection_id":166350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:28:57] local.INFO: TCP Data received {"connection_id":164993,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164993,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:28:57] local.INFO: Processing buffer {"connection_id":164993,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:28:57] local.INFO: IMEI packet received {"connection_id":164993,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 19:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":164993,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:29:01] local.INFO: TCP Data received {"connection_id":164993,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164993,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:29:01] local.INFO: Processing buffer {"connection_id":164993,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:29:01] local.INFO: IMEI packet received {"connection_id":164993,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 19:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":164993,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:29:04] local.INFO: TCP Data received {"connection_id":164993,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048a67a68012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048a67a68012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:29:04] local.INFO: Processing buffer {"connection_id":164993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048a67a68012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:29:04] local.INFO: Packet analysis {"connection_id":164993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048a6"} 
[2026-08-28 19:29:04] local.INFO: Extracted packet for processing {"connection_id":164993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048a6"} 
[2026-08-28 19:29:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708790784001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:29:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787925265000,"timestamp_ms":1787925265000,"timestamp_seconds":1787925265,"priority":1,"record_length":96,"hex_timestamp":"000001a048a67a68"} 
[2026-08-28 19:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:29:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 19:29:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:29:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":164993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":164993,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":164993,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:29:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708790784001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708790784001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:29:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:29:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708790784001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":164993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709856,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:29:04] local.INFO: GPS data processed {"connection_id":164993,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:29:04] local.INFO: Acknowledgment sent {"connection_id":164993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:29:08] local.INFO: TCP Data received {"connection_id":164992,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048a889c0012d34c14006aa4840000c00e62b..."} 
[2026-08-28 19:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048a889c0012d34c14006aa4840000c00e62b..."} 
[2026-08-28 19:29:08] local.INFO: Processing buffer {"connection_id":164992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048a889c0012d34c14006aa4840000c00e62b..."} 
[2026-08-28 19:29:08] local.INFO: Packet analysis {"connection_id":164992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048a8"} 
[2026-08-28 19:29:08] local.INFO: Extracted packet for processing {"connection_id":164992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048a8"} 
[2026-08-28 19:29:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708825344001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:29:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787925400000,"timestamp_ms":1787925400000,"timestamp_seconds":1787925400,"priority":1,"record_length":96,"hex_timestamp":"000001a048a889c0"} 
[2026-08-28 19:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:29:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-28 19:29:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:29:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708825344001,"66":24973,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708825344001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:29:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:29:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:29: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-28 19:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708825344001,"power":24973,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":164992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:29:08] local.INFO: GPS data processed {"connection_id":164992,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:29:08] local.INFO: Acknowledgment sent {"connection_id":164992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:29:20] local.INFO: TCP Data received {"connection_id":166350,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048aa27d0012d16ca8007203e90002800df26..."} 
[2026-08-28 19:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048aa27d0012d16ca8007203e90002800df26..."} 
[2026-08-28 19:29:20] local.INFO: Processing buffer {"connection_id":166350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048aa27d0012d16ca8007203e90002800df26..."} 
[2026-08-28 19:29:20] local.INFO: Packet analysis {"connection_id":166350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048aa"} 
[2026-08-28 19:29:20] local.INFO: Extracted packet for processing {"connection_id":166350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048aa"} 
[2026-08-28 19:29:20] local.INFO: GPS Element Parsed {"raw_longitude":756468352,"raw_latitude":119553680,"longitude_deg":75.6468352,"latitude_deg":11.955368,"altitude":40,"angle":223,"satellites":38,"speed":52,"hex_longitude":"2d16ca80","hex_latitude":"07203e90","is_valid_coordinates":true} 
[2026-08-28 19: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-28 19:29:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708927744001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:29:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16053591320035328,"note":"Value kept but may cause issues"} 
[2026-08-28 19:29:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1649373025387825152,"note":"Value kept but may cause issues"} 
[2026-08-28 19:29:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:29:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787925506000,"timestamp_ms":1787925506000,"timestamp_seconds":1787925506,"priority":1,"record_length":96,"hex_timestamp":"000001a048aa27d0"} 
[2026-08-28 19: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-28 19:29:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19:29:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-28 19:29:20] 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-28 19: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-28 19: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-28 19:29:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:29:20] local.INFO: Teltonika packet parsed successfully {"connection_id":166350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:29:20] local.INFO: Passing IMEI to GPS processor {"connection_id":166350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:29:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":166350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:29:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:29:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:29:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:29:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708927744001,"66":13352,"85":206,"83":41984,"24":52,"16":16053591320035328,"45":1649373025387825152},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-08-28 19:29:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:29:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:29:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708927744001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:29:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-08-28 19:29:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:29:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16053591320035328,"km_value":16053591320035.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:29:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1649373025387825152,"description":"Unknown IO ID 45"} 
[2026-08-28 19:29:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708927744001,"power":13352,"unknown_85":206,"unknown_83":41984,"ignition":52,"odometer":null,"unknown_45":1649373025387825152}} 
[2026-08-28 19:29:20] local.INFO: DEBUG: GPS processor result {"connection_id":166350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709858,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:29:20] local.INFO: GPS data processed {"connection_id":166350,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:29:20] local.INFO: Acknowledgment sent {"connection_id":166350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:29:35] local.INFO: TCP Data received {"connection_id":166351,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:29:35] local.INFO: Processing buffer {"connection_id":166351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:29:35] local.INFO: IMEI packet received {"connection_id":166351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 19:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":166351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:29:36] local.INFO: TCP Data received {"connection_id":164993,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048a67a68012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048a67a68012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:29:36] local.INFO: Processing buffer {"connection_id":164993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048a67a68012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:29:36] local.INFO: Packet analysis {"connection_id":164993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048a6"} 
[2026-08-28 19:29:36] local.INFO: Extracted packet for processing {"connection_id":164993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048a6"} 
[2026-08-28 19:29:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708790784001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787925265000,"timestamp_ms":1787925265000,"timestamp_seconds":1787925265,"priority":1,"record_length":96,"hex_timestamp":"000001a048a67a68"} 
[2026-08-28 19:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 19:29:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:29:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":164993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":164993,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":164993,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:29:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708790784001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708790784001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:29:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:29:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708790784001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":164993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709859,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:29:36] local.INFO: GPS data processed {"connection_id":164993,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:29:36] local.INFO: Acknowledgment sent {"connection_id":164993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:29:40] local.INFO: TCP Data received {"connection_id":166351,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:29:40] local.INFO: Processing buffer {"connection_id":166351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:29:40] local.INFO: IMEI packet received {"connection_id":166351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 19:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":166351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:29:42] local.INFO: TCP Data received {"connection_id":166351,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048a889c0012d34c14006aa4840000c00e62b..."} 
[2026-08-28 19:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048a889c0012d34c14006aa4840000c00e62b..."} 
[2026-08-28 19:29:42] local.INFO: Processing buffer {"connection_id":166351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048a889c0012d34c14006aa4840000c00e62b..."} 
[2026-08-28 19:29:42] local.INFO: Packet analysis {"connection_id":166351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048a8"} 
[2026-08-28 19:29:42] local.INFO: Extracted packet for processing {"connection_id":166351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048a8"} 
[2026-08-28 19:29:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708825344001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:29:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:29:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787925400000,"timestamp_ms":1787925400000,"timestamp_seconds":1787925400,"priority":1,"record_length":96,"hex_timestamp":"000001a048a889c0"} 
[2026-08-28 19:29:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:29:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-28 19:29:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:29:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:29:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":166351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":166351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":166351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:29:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708825344001,"66":24973,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708825344001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:29:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:29:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19: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-28 19:29:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708825344001,"power":24973,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":166351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:29:42] local.INFO: GPS data processed {"connection_id":166351,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:29:42] local.INFO: Acknowledgment sent {"connection_id":166351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:29:42] local.INFO: TCP Data received {"connection_id":163981,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163981,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:29:42] local.INFO: Processing buffer {"connection_id":163981,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:29:42] local.INFO: IMEI packet received {"connection_id":163981,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 19:29:42] local.INFO: IMEI acknowledgment sent {"connection_id":163981,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:29:44] local.INFO: TCP Data received {"connection_id":163981,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163981,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:29:44] local.INFO: Processing buffer {"connection_id":163981,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:29:44] local.INFO: IMEI packet received {"connection_id":163981,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 19:29:44] local.INFO: IMEI acknowledgment sent {"connection_id":163981,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:29:46] local.INFO: TCP Data received {"connection_id":166351,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048a889c0012d34c14006aa4840000c00e62b..."} 
[2026-08-28 19:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048a889c0012d34c14006aa4840000c00e62b..."} 
[2026-08-28 19:29:46] local.INFO: Processing buffer {"connection_id":166351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048a889c0012d34c14006aa4840000c00e62b..."} 
[2026-08-28 19:29:46] local.INFO: Packet analysis {"connection_id":166351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048a8"} 
[2026-08-28 19:29:46] local.INFO: Extracted packet for processing {"connection_id":166351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048a8"} 
[2026-08-28 19:29:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19: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-28 19:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708825344001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:29:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:29:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:29:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:29:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787925400000,"timestamp_ms":1787925400000,"timestamp_seconds":1787925400,"priority":1,"record_length":96,"hex_timestamp":"000001a048a889c0"} 
[2026-08-28 19: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-28 19:29:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19: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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-28 19:29:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19: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-28 19: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-28 19:29:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:29:46] local.INFO: Teltonika packet parsed successfully {"connection_id":166351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:29:46] local.INFO: Passing IMEI to GPS processor {"connection_id":166351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:29:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":166351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:29:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:29:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:29:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:29:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708825344001,"66":24973,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:29:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:29:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:29:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708825344001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:29:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:29:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:29: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-28 19:29:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:29:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708825344001,"power":24973,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:29:46] local.INFO: DEBUG: GPS processor result {"connection_id":166351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:29:46] local.INFO: GPS data processed {"connection_id":166351,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:29:46] local.INFO: Acknowledgment sent {"connection_id":166351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:29:48] local.INFO: TCP Data received {"connection_id":163981,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163981,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:29:48] local.INFO: Processing buffer {"connection_id":163981,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:29:48] local.INFO: IMEI packet received {"connection_id":163981,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 19:29:48] local.INFO: IMEI acknowledgment sent {"connection_id":163981,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:29:49] local.INFO: TCP Data received {"connection_id":163981,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048aa4710012d16ae80072025a8002b00ec2b..."} 
[2026-08-28 19:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048aa4710012d16ae80072025a8002b00ec2b..."} 
[2026-08-28 19:29:49] local.INFO: Processing buffer {"connection_id":163981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048aa4710012d16ae80072025a8002b00ec2b..."} 
[2026-08-28 19:29:49] local.INFO: Packet analysis {"connection_id":163981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048aa"} 
[2026-08-28 19:29:49] local.INFO: Extracted packet for processing {"connection_id":163981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048aa"} 
[2026-08-28 19:29:49] local.INFO: GPS Element Parsed {"raw_longitude":756461184,"raw_latitude":119547304,"longitude_deg":75.6461184,"latitude_deg":11.9547304,"altitude":43,"angle":236,"satellites":43,"speed":44,"hex_longitude":"2d16ae80","hex_latitude":"072025a8","is_valid_coordinates":true} 
[2026-08-28 19: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-28 19:29:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708929536001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:29:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16054050881536000,"note":"Value kept but may cause issues"} 
[2026-08-28 19:29:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1642265782224064512,"note":"Value kept but may cause issues"} 
[2026-08-28 19:29:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:29:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787925514000,"timestamp_ms":1787925514000,"timestamp_seconds":1787925514,"priority":1,"record_length":96,"hex_timestamp":"000001a048aa4710"} 
[2026-08-28 19: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-28 19:29:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-28 19:29:49] 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-28 19: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-28 19: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-28 19:29:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:29:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:29:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:29:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:29:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:29:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:29:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:29:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708929536001,"66":13374,"85":206,"83":41984,"24":44,"16":16054050881536000,"45":1642265782224064512},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-08-28 19:29:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:29:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:29:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708929536001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:29:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-08-28 19:29:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:29:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16054050881536000,"km_value":16054050881536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:29:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1642265782224064512,"description":"Unknown IO ID 45"} 
[2026-08-28 19:29:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708929536001,"power":13374,"unknown_85":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1642265782224064512}} 
[2026-08-28 19:29:49] local.INFO: DEBUG: GPS processor result {"connection_id":163981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709862,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:29:49] local.INFO: GPS data processed {"connection_id":163981,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:29:49] local.INFO: Acknowledgment sent {"connection_id":163981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:29:56] local.INFO: TCP Data received {"connection_id":164994,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164994,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:29:56] local.INFO: Processing buffer {"connection_id":164994,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:29:56] local.INFO: IMEI packet received {"connection_id":164994,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 19:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":164994,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:30:01] local.INFO: TCP Data received {"connection_id":164994,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164994,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:30:01] local.INFO: Processing buffer {"connection_id":164994,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:30:01] local.INFO: IMEI packet received {"connection_id":164994,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 19:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":164994,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:30:03] local.INFO: TCP Data received {"connection_id":164994,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048a67a68012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048a67a68012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:30:03] local.INFO: Processing buffer {"connection_id":164994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048a67a68012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:30:03] local.INFO: Packet analysis {"connection_id":164994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048a6"} 
[2026-08-28 19:30:03] local.INFO: Extracted packet for processing {"connection_id":164994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048a6"} 
[2026-08-28 19:30:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708790784001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787925265000,"timestamp_ms":1787925265000,"timestamp_seconds":1787925265,"priority":1,"record_length":96,"hex_timestamp":"000001a048a67a68"} 
[2026-08-28 19:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:30:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 19:30:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:30:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":164994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":164994,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":164994,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708790784001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708790784001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:30:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:30:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708790784001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:30:03] 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":709863,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:30:03] local.INFO: GPS data processed {"connection_id":164994,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:30:03] local.INFO: Acknowledgment sent {"connection_id":164994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:30:23] local.INFO: TCP Data received {"connection_id":163981,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048aa4710012d16ae80072025a8002b00ec2b..."} 
[2026-08-28 19:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048aa4710012d16ae80072025a8002b00ec2b..."} 
[2026-08-28 19:30:23] local.INFO: Processing buffer {"connection_id":163981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048aa4710012d16ae80072025a8002b00ec2b..."} 
[2026-08-28 19:30:23] local.INFO: Packet analysis {"connection_id":163981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048aa"} 
[2026-08-28 19:30:23] local.INFO: Extracted packet for processing {"connection_id":163981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048aa"} 
[2026-08-28 19:30:23] local.INFO: GPS Element Parsed {"raw_longitude":756461184,"raw_latitude":119547304,"longitude_deg":75.6461184,"latitude_deg":11.9547304,"altitude":43,"angle":236,"satellites":43,"speed":44,"hex_longitude":"2d16ae80","hex_latitude":"072025a8","is_valid_coordinates":true} 
[2026-08-28 19: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-28 19:30:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708931584001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:30:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16054050881536000,"note":"Value kept but may cause issues"} 
[2026-08-28 19:30:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1634384482874533888,"note":"Value kept but may cause issues"} 
[2026-08-28 19:30:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:30:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787925514000,"timestamp_ms":1787925514000,"timestamp_seconds":1787925514,"priority":1,"record_length":96,"hex_timestamp":"000001a048aa4710"} 
[2026-08-28 19: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-28 19:30:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-28 19:30: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-28 19: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-28 19: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-28 19:30:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:30:23] local.INFO: Teltonika packet parsed successfully {"connection_id":163981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:30:23] local.INFO: Passing IMEI to GPS processor {"connection_id":163981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:30:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":163981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:30:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:30:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:30:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:30:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708931584001,"66":13374,"85":206,"83":41984,"24":44,"16":16054050881536000,"45":1634384482874533888},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-08-28 19:30:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:30:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:30:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708931584001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:30:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-08-28 19:30:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:30:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16054050881536000,"km_value":16054050881536,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:30:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1634384482874533888,"description":"Unknown IO ID 45"} 
[2026-08-28 19:30:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708931584001,"power":13374,"unknown_85":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1634384482874533888}} 
[2026-08-28 19:30:23] local.INFO: DEBUG: GPS processor result {"connection_id":163981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709864,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:30:23] local.INFO: GPS data processed {"connection_id":163981,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:30:23] local.INFO: Acknowledgment sent {"connection_id":163981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:30:30] local.INFO: TCP Data received {"connection_id":166352,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:30:30] local.INFO: Processing buffer {"connection_id":166352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:30:30] local.INFO: IMEI packet received {"connection_id":166352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 19:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":166352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:30:35] local.INFO: TCP Data received {"connection_id":166352,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:30:35] local.INFO: Processing buffer {"connection_id":166352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:30:35] local.INFO: IMEI packet received {"connection_id":166352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 19:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":166352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:30:35] local.INFO: TCP Data received {"connection_id":164994,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048ab1230012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048ab1230012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:30:35] local.INFO: Processing buffer {"connection_id":164994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048ab1230012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:30:35] local.INFO: Packet analysis {"connection_id":164994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ab"} 
[2026-08-28 19:30:35] local.INFO: Extracted packet for processing {"connection_id":164994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ab"} 
[2026-08-28 19:30:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708867840001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:30:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:30:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787925566000,"timestamp_ms":1787925566000,"timestamp_seconds":1787925566,"priority":1,"record_length":96,"hex_timestamp":"000001a048ab1230"} 
[2026-08-28 19:30:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:30:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 19:30:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:30:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:30:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":164994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":164994,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":164994,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:30:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:30:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708867840001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708867840001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:30:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:30:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:30:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708867840001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:30:35] 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":709865,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:30:35] local.INFO: GPS data processed {"connection_id":164994,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:30:35] local.INFO: Acknowledgment sent {"connection_id":164994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:30:37] local.INFO: TCP Data received {"connection_id":166352,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048a889c0012d34c14006aa4840000c00e62b..."} 
[2026-08-28 19:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048a889c0012d34c14006aa4840000c00e62b..."} 
[2026-08-28 19:30:37] local.INFO: Processing buffer {"connection_id":166352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048a889c0012d34c14006aa4840000c00e62b..."} 
[2026-08-28 19:30:37] local.INFO: Packet analysis {"connection_id":166352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048a8"} 
[2026-08-28 19:30:37] local.INFO: Extracted packet for processing {"connection_id":166352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048a8"} 
[2026-08-28 19:30:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708825344001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787925400000,"timestamp_ms":1787925400000,"timestamp_seconds":1787925400,"priority":1,"record_length":96,"hex_timestamp":"000001a048a889c0"} 
[2026-08-28 19:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-28 19:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":166352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":166352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":166352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708825344001,"66":24973,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708825344001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:30:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:30:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:30: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-28 19:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708825344001,"power":24973,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":166352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:30:37] local.INFO: GPS data processed {"connection_id":166352,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:30:37] local.INFO: Acknowledgment sent {"connection_id":166352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:30:42] local.INFO: TCP Data received {"connection_id":166353,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166353,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:30:42] local.INFO: Processing buffer {"connection_id":166353,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:30:42] local.INFO: IMEI packet received {"connection_id":166353,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 19:30:42] local.INFO: IMEI acknowledgment sent {"connection_id":166353,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:30:43] local.INFO: TCP Data received {"connection_id":166353,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166353,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:30:43] local.INFO: Processing buffer {"connection_id":166353,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:30:43] local.INFO: IMEI packet received {"connection_id":166353,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 19:30:43] local.INFO: IMEI acknowledgment sent {"connection_id":166353,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:30:47] local.INFO: TCP Data received {"connection_id":166353,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166353,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:30:47] local.INFO: Processing buffer {"connection_id":166353,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:30:47] local.INFO: IMEI packet received {"connection_id":166353,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 19:30:47] local.INFO: IMEI acknowledgment sent {"connection_id":166353,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:30:54] local.INFO: TCP Data received {"connection_id":166353,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048ab9318012d155000071fc5b00025011229..."} 
[2026-08-28 19:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048ab9318012d155000071fc5b00025011229..."} 
[2026-08-28 19:30:54] local.INFO: Processing buffer {"connection_id":166353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048ab9318012d155000071fc5b00025011229..."} 
[2026-08-28 19:30:54] local.INFO: Packet analysis {"connection_id":166353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ab"} 
[2026-08-28 19:30:54] local.INFO: Extracted packet for processing {"connection_id":166353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ab"} 
[2026-08-28 19:30:54] local.INFO: GPS Element Parsed {"raw_longitude":756371456,"raw_latitude":119522736,"longitude_deg":75.6371456,"latitude_deg":11.9522736,"altitude":37,"angle":274,"satellites":41,"speed":44,"hex_longitude":"2d155000","hex_latitude":"071fc5b0","is_valid_coordinates":true} 
[2026-08-28 19:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:30:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708951296001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:30:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16058543417327616,"note":"Value kept but may cause issues"} 
[2026-08-28 19:30:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1545860602692593664,"note":"Value kept but may cause issues"} 
[2026-08-28 19:30:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:30:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787925599000,"timestamp_ms":1787925599000,"timestamp_seconds":1787925599,"priority":1,"record_length":96,"hex_timestamp":"000001a048ab9318"} 
[2026-08-28 19:30:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:30:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-28 19:30:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:30:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:30:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:30:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:30:54] local.INFO: Teltonika packet parsed successfully {"connection_id":166353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:30:54] local.INFO: Passing IMEI to GPS processor {"connection_id":166353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:30:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":166353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:30:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:30:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:30:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:30:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708951296001,"66":13352,"12":206,"83":41984,"24":44,"16":16058543417327616,"45":1545860602692593664},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,45]} 
[2026-08-28 19:30:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:30:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:30:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708951296001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:30:54] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-28 19:30:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:30:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16058543417327616,"km_value":16058543417327.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:30:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1545860602692593664,"description":"Unknown IO ID 45"} 
[2026-08-28 19:30:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708951296001,"power":13352,"unknown_12":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1545860602692593664}} 
[2026-08-28 19:30:54] local.INFO: DEBUG: GPS processor result {"connection_id":166353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709867,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:30:54] local.INFO: GPS data processed {"connection_id":166353,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:30:54] local.INFO: Acknowledgment sent {"connection_id":166353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:30:56] local.INFO: TCP Data received {"connection_id":163982,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163982,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:30:56] local.INFO: Processing buffer {"connection_id":163982,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:30:56] local.INFO: IMEI packet received {"connection_id":163982,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 19:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":163982,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:31:01] local.INFO: TCP Data received {"connection_id":163982,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163982,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:31:01] local.INFO: Processing buffer {"connection_id":163982,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:31:01] local.INFO: IMEI packet received {"connection_id":163982,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 19:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":163982,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:31:03] local.INFO: TCP Data received {"connection_id":163982,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048ab1230012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048ab1230012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:31:03] local.INFO: Processing buffer {"connection_id":163982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048ab1230012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:31:03] local.INFO: Packet analysis {"connection_id":163982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ab"} 
[2026-08-28 19:31:03] local.INFO: Extracted packet for processing {"connection_id":163982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ab"} 
[2026-08-28 19:31:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708867840001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:31:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787925566000,"timestamp_ms":1787925566000,"timestamp_seconds":1787925566,"priority":1,"record_length":96,"hex_timestamp":"000001a048ab1230"} 
[2026-08-28 19:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:31:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 19:31:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:31:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163982,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163982,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:31:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708867840001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708867840001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:31:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:31:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708867840001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":163982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709868,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:31:03] local.INFO: GPS data processed {"connection_id":163982,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:31:03] local.INFO: Acknowledgment sent {"connection_id":163982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:31:06] local.INFO: TCP Data received {"connection_id":163982,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048ab1230012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048ab1230012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:31:06] local.INFO: Processing buffer {"connection_id":163982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048ab1230012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:31:06] local.INFO: Packet analysis {"connection_id":163982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ab"} 
[2026-08-28 19:31:06] local.INFO: Extracted packet for processing {"connection_id":163982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ab"} 
[2026-08-28 19:31:06] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708867840001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787925566000,"timestamp_ms":1787925566000,"timestamp_seconds":1787925566,"priority":1,"record_length":96,"hex_timestamp":"000001a048ab1230"} 
[2026-08-28 19:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 19:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":163982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":163982,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":163982,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708867840001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708867840001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:31:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:31:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708867840001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":163982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709869,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:31:07] local.INFO: GPS data processed {"connection_id":163982,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:31:07] local.INFO: Acknowledgment sent {"connection_id":163982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:31:09] local.INFO: TCP Data received {"connection_id":166352,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048a889c0012d34c14006aa4840000c00e62b..."} 
[2026-08-28 19:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048a889c0012d34c14006aa4840000c00e62b..."} 
[2026-08-28 19:31:09] local.INFO: Processing buffer {"connection_id":166352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048a889c0012d34c14006aa4840000c00e62b..."} 
[2026-08-28 19:31:09] local.INFO: Packet analysis {"connection_id":166352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048a8"} 
[2026-08-28 19:31:09] local.INFO: Extracted packet for processing {"connection_id":166352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048a8"} 
[2026-08-28 19:31:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708825344001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:31:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787925400000,"timestamp_ms":1787925400000,"timestamp_seconds":1787925400,"priority":1,"record_length":96,"hex_timestamp":"000001a048a889c0"} 
[2026-08-28 19:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-28 19:31:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:31:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":166352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":166352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":166352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:31:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708825344001,"66":24973,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708825344001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:31:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:31:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:31: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-28 19:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708825344001,"power":24973,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":166352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:31:09] local.INFO: GPS data processed {"connection_id":166352,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:31:09] local.INFO: Acknowledgment sent {"connection_id":166352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:31:26] local.INFO: TCP Data received {"connection_id":166353,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048aba2b8012d153e80071fc5580026010528..."} 
[2026-08-28 19:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048aba2b8012d153e80071fc5580026010528..."} 
[2026-08-28 19:31:26] local.INFO: Processing buffer {"connection_id":166353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048aba2b8012d153e80071fc5580026010528..."} 
[2026-08-28 19:31:26] local.INFO: Packet analysis {"connection_id":166353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ab"} 
[2026-08-28 19:31:26] local.INFO: Extracted packet for processing {"connection_id":166353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ab"} 
[2026-08-28 19:31:26] local.INFO: GPS Element Parsed {"raw_longitude":756366976,"raw_latitude":119522648,"longitude_deg":75.6366976,"latitude_deg":11.9522648,"altitude":38,"angle":261,"satellites":40,"speed":42,"hex_longitude":"2d153e80","hex_latitude":"071fc558","is_valid_coordinates":true} 
[2026-08-28 19:31:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:31:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708953344001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:31:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16058758165692416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:31:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1535727503531159552,"note":"Value kept but may cause issues"} 
[2026-08-28 19:31:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:31:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787925603000,"timestamp_ms":1787925603000,"timestamp_seconds":1787925603,"priority":1,"record_length":96,"hex_timestamp":"000001a048aba2b8"} 
[2026-08-28 19:31:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:31:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19:31:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-28 19:31:26] 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-28 19:31:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:31:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:31:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:31:26] local.INFO: Teltonika packet parsed successfully {"connection_id":166353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:31:26] local.INFO: Passing IMEI to GPS processor {"connection_id":166353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:31:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":166353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:31:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:31:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:31:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:31:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708953344001,"66":13493,"12":206,"83":41984,"24":42,"16":16058758165692416,"45":1535727503531159552},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,45]} 
[2026-08-28 19:31:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:31:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:31:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708953344001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:31:26] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-28 19:31:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:31:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16058758165692416,"km_value":16058758165692.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:31:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1535727503531159552,"description":"Unknown IO ID 45"} 
[2026-08-28 19:31:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708953344001,"power":13493,"unknown_12":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1535727503531159552}} 
[2026-08-28 19:31:26] local.INFO: DEBUG: GPS processor result {"connection_id":166353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709871,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:31:26] local.INFO: GPS data processed {"connection_id":166353,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:31:26] local.INFO: Acknowledgment sent {"connection_id":166353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:31:30] local.INFO: TCP Data received {"connection_id":164995,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:31:30] local.INFO: Processing buffer {"connection_id":164995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:31:30] local.INFO: IMEI packet received {"connection_id":164995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 19:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":164995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:31:35] local.INFO: TCP Data received {"connection_id":164995,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:31:35] local.INFO: Processing buffer {"connection_id":164995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:31:35] local.INFO: IMEI packet received {"connection_id":164995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 19:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":164995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:31:36] local.INFO: TCP Data received {"connection_id":164995,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048a889c0012d34c14006aa4840000c00e62b..."} 
[2026-08-28 19:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048a889c0012d34c14006aa4840000c00e62b..."} 
[2026-08-28 19:31:36] local.INFO: Processing buffer {"connection_id":164995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048a889c0012d34c14006aa4840000c00e62b..."} 
[2026-08-28 19:31:36] local.INFO: Packet analysis {"connection_id":164995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048a8"} 
[2026-08-28 19:31:36] local.INFO: Extracted packet for processing {"connection_id":164995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048a8"} 
[2026-08-28 19:31:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708825344001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:31:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:31:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787925400000,"timestamp_ms":1787925400000,"timestamp_seconds":1787925400,"priority":1,"record_length":96,"hex_timestamp":"000001a048a889c0"} 
[2026-08-28 19:31:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:31:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-28 19:31:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:31:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:31:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":164995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":164995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":164995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:31:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708825344001,"66":24973,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708825344001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:31:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:31:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:31:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708825344001,"power":24973,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:31:36] 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":709872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:31:36] local.INFO: GPS data processed {"connection_id":164995,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:31:36] local.INFO: Acknowledgment sent {"connection_id":164995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:31:40] local.INFO: TCP Data received {"connection_id":163982,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048ab1230012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048ab1230012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:31:40] local.INFO: Processing buffer {"connection_id":163982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048ab1230012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:31:40] local.INFO: Packet analysis {"connection_id":163982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ab"} 
[2026-08-28 19:31:40] local.INFO: Extracted packet for processing {"connection_id":163982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ab"} 
[2026-08-28 19:31:40] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:31:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708867840001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:31:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:31:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:31:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:31:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787925566000,"timestamp_ms":1787925566000,"timestamp_seconds":1787925566,"priority":1,"record_length":96,"hex_timestamp":"000001a048ab1230"} 
[2026-08-28 19:31:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:31:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 19:31:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:31:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:31:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:31:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:31:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:31:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163982,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:31:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163982,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:31:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:31:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:31:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:31:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708867840001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:31:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:31:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:31:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708867840001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:31:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:31:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:31:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:31:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:31:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708867840001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:31:40] local.INFO: DEBUG: GPS processor result {"connection_id":163982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709873,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:31:40] local.INFO: GPS data processed {"connection_id":163982,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:31:40] local.INFO: Acknowledgment sent {"connection_id":163982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:31:42] local.INFO: TCP Data received {"connection_id":164996,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164996,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:31:42] local.INFO: Processing buffer {"connection_id":164996,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:31:42] local.INFO: IMEI packet received {"connection_id":164996,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 19:31:42] local.INFO: IMEI acknowledgment sent {"connection_id":164996,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:31:47] local.INFO: TCP Data received {"connection_id":164996,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164996,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:31:47] local.INFO: Processing buffer {"connection_id":164996,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:31:47] local.INFO: IMEI packet received {"connection_id":164996,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 19:31:47] local.INFO: IMEI acknowledgment sent {"connection_id":164996,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:31:48] local.INFO: TCP Data received {"connection_id":164996,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048abae70012d153240071fc260002700fa2a..."} 
[2026-08-28 19:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048abae70012d153240071fc260002700fa2a..."} 
[2026-08-28 19:31:48] local.INFO: Processing buffer {"connection_id":164996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048abae70012d153240071fc260002700fa2a..."} 
[2026-08-28 19:31:48] local.INFO: Packet analysis {"connection_id":164996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ab"} 
[2026-08-28 19:31:48] local.INFO: Extracted packet for processing {"connection_id":164996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ab"} 
[2026-08-28 19:31:48] local.INFO: GPS Element Parsed {"raw_longitude":756363840,"raw_latitude":119521888,"longitude_deg":75.636384,"latitude_deg":11.9521888,"altitude":39,"angle":250,"satellites":42,"speed":42,"hex_longitude":"2d153240","hex_latitude":"071fc260","is_valid_coordinates":true} 
[2026-08-28 19: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-28 19:31:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708954368001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:31:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16058912784515072,"note":"Value kept but may cause issues"} 
[2026-08-28 19:31:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1530801691438700544,"note":"Value kept but may cause issues"} 
[2026-08-28 19:31:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:31:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787925606000,"timestamp_ms":1787925606000,"timestamp_seconds":1787925606,"priority":1,"record_length":96,"hex_timestamp":"000001a048abae70"} 
[2026-08-28 19: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-28 19:31:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-28 19:31:48] 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-28 19: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-28 19: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-28 19:31:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:31:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:31:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:31:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:31:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:31:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:31:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:31:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708954368001,"66":13450,"12":206,"83":41984,"24":42,"16":16058912784515072,"45":1530801691438700544},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,45]} 
[2026-08-28 19:31:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:31:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:31:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708954368001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:31:48] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-28 19:31:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:31:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16058912784515072,"km_value":16058912784515.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:31:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1530801691438700544,"description":"Unknown IO ID 45"} 
[2026-08-28 19:31:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708954368001,"power":13450,"unknown_12":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1530801691438700544}} 
[2026-08-28 19:31:48] 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":709874,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:31:48] local.INFO: GPS data processed {"connection_id":164996,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:31:48] local.INFO: Acknowledgment sent {"connection_id":164996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:31:56] local.INFO: TCP Data received {"connection_id":163707,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163707,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:31:56] local.INFO: Processing buffer {"connection_id":163707,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:31:56] local.INFO: IMEI packet received {"connection_id":163707,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 19:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":163707,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:32:01] local.INFO: TCP Data received {"connection_id":163707,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163707,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:32:01] local.INFO: Processing buffer {"connection_id":163707,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:32:01] local.INFO: IMEI packet received {"connection_id":163707,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 19:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":163707,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:32:04] local.INFO: TCP Data received {"connection_id":163707,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048ab1230012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048ab1230012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:32:04] local.INFO: Processing buffer {"connection_id":163707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048ab1230012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:32:04] local.INFO: Packet analysis {"connection_id":163707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ab"} 
[2026-08-28 19:32:04] local.INFO: Extracted packet for processing {"connection_id":163707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ab"} 
[2026-08-28 19:32:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708867840001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787925566000,"timestamp_ms":1787925566000,"timestamp_seconds":1787925566,"priority":1,"record_length":96,"hex_timestamp":"000001a048ab1230"} 
[2026-08-28 19:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 19:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":163707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":163707,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":163707,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708867840001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708867840001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:32:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:32:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708867840001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:32:04] 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":709875,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:32:04] local.INFO: GPS data processed {"connection_id":163707,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:32:04] local.INFO: Acknowledgment sent {"connection_id":163707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:32:09] local.INFO: TCP Data received {"connection_id":164995,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048a889c0012d34c14006aa4840000c00e62b..."} 
[2026-08-28 19:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048a889c0012d34c14006aa4840000c00e62b..."} 
[2026-08-28 19:32:09] local.INFO: Processing buffer {"connection_id":164995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048a889c0012d34c14006aa4840000c00e62b..."} 
[2026-08-28 19:32:09] local.INFO: Packet analysis {"connection_id":164995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048a8"} 
[2026-08-28 19:32:09] local.INFO: Extracted packet for processing {"connection_id":164995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048a8"} 
[2026-08-28 19:32:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19: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-28 19:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708825344001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:32:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:32:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787925400000,"timestamp_ms":1787925400000,"timestamp_seconds":1787925400,"priority":1,"record_length":96,"hex_timestamp":"000001a048a889c0"} 
[2026-08-28 19: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-28 19:32:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19: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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-28 19:32:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19: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-28 19: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-28 19:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:32:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708825344001,"66":24973,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708825344001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:32:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:32:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:32: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-28 19:32:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708825344001,"power":24973,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:32:09] 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":709876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:32:09] local.INFO: GPS data processed {"connection_id":164995,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:32:09] local.INFO: Acknowledgment sent {"connection_id":164995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:32:20] local.INFO: TCP Data received {"connection_id":164996,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048abba28012d152740071fbcf8002900ed2a..."} 
[2026-08-28 19:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048abba28012d152740071fbcf8002900ed2a..."} 
[2026-08-28 19:32:20] local.INFO: Processing buffer {"connection_id":164996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048abba28012d152740071fbcf8002900ed2a..."} 
[2026-08-28 19:32:20] local.INFO: Packet analysis {"connection_id":164996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ab"} 
[2026-08-28 19:32:20] local.INFO: Extracted packet for processing {"connection_id":164996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ab"} 
[2026-08-28 19:32:20] local.INFO: GPS Element Parsed {"raw_longitude":756361024,"raw_latitude":119520504,"longitude_deg":75.6361024,"latitude_deg":11.9520504,"altitude":41,"angle":237,"satellites":42,"speed":40,"hex_longitude":"2d152740","hex_latitude":"071fbcf8","is_valid_coordinates":true} 
[2026-08-28 19:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708955136001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16059063108370432,"note":"Value kept but may cause issues"} 
[2026-08-28 19:32:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1527353622973800448,"note":"Value kept but may cause issues"} 
[2026-08-28 19:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787925609000,"timestamp_ms":1787925609000,"timestamp_seconds":1787925609,"priority":1,"record_length":96,"hex_timestamp":"000001a048abba28"} 
[2026-08-28 19:32:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:32:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-28 19:32:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:32:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:32:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":164996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":164996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":164996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:32:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708955136001,"66":13439,"12":206,"83":41984,"24":40,"16":16059063108370432,"45":1527353622973800448},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,45]} 
[2026-08-28 19:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708955136001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:32:20] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-28 19:32:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16059063108370432,"km_value":16059063108370.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:32:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1527353622973800448,"description":"Unknown IO ID 45"} 
[2026-08-28 19:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708955136001,"power":13439,"unknown_12":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1527353622973800448}} 
[2026-08-28 19:32:20] 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":709877,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:32:20] local.INFO: GPS data processed {"connection_id":164996,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:32:20] local.INFO: Acknowledgment sent {"connection_id":164996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:32:30] local.INFO: TCP Data received {"connection_id":166354,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:32:30] local.INFO: Processing buffer {"connection_id":166354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:32:30] local.INFO: IMEI packet received {"connection_id":166354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 19:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":166354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:32:35] local.INFO: TCP Data received {"connection_id":166354,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:32:35] local.INFO: Processing buffer {"connection_id":166354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:32:35] local.INFO: IMEI packet received {"connection_id":166354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 19:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":166354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:32:36] local.INFO: TCP Data received {"connection_id":163707,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048ab1230012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048ab1230012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:32:36] local.INFO: Processing buffer {"connection_id":163707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048ab1230012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:32:36] local.INFO: Packet analysis {"connection_id":163707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ab"} 
[2026-08-28 19:32:36] local.INFO: Extracted packet for processing {"connection_id":163707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ab"} 
[2026-08-28 19:32:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708867840001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:32:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787925566000,"timestamp_ms":1787925566000,"timestamp_seconds":1787925566,"priority":1,"record_length":96,"hex_timestamp":"000001a048ab1230"} 
[2026-08-28 19:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 19:32:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:32:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163707,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163707,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:32:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708867840001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708867840001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:32:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:32:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708867840001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:32:36] local.INFO: TCP Data received {"connection_id":166354,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048ad2188012d34c14006aa4840000900e62b..."} 
[2026-08-28 19:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048ad2188012d34c14006aa4840000900e62b..."} 
[2026-08-28 19:32:36] local.INFO: Processing buffer {"connection_id":166354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048ad2188012d34c14006aa4840000900e62b..."} 
[2026-08-28 19:32:36] local.INFO: Packet analysis {"connection_id":166354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ad"} 
[2026-08-28 19:32:36] local.INFO: Extracted packet for processing {"connection_id":166354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ad"} 
[2026-08-28 19:32:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708902400001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:32:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787925701000,"timestamp_ms":1787925701000,"timestamp_seconds":1787925701,"priority":1,"record_length":96,"hex_timestamp":"000001a048ad2188"} 
[2026-08-28 19:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-28 19:32:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1952,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:32:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":166354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":166354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":166354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:32:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708902400001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708902400001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:32:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:32:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708902400001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":166354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:32:36] local.INFO: GPS data processed {"connection_id":166354,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:32:36] local.INFO: Acknowledgment sent {"connection_id":166354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:32:36] 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":709879,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:32:36] local.INFO: GPS data processed {"connection_id":163707,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:32:36] local.INFO: Acknowledgment sent {"connection_id":163707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:32:48] local.INFO: TCP Data received {"connection_id":164997,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164997,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:32:48] local.INFO: Processing buffer {"connection_id":164997,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:32:48] local.INFO: IMEI packet received {"connection_id":164997,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 19:32:48] local.INFO: IMEI acknowledgment sent {"connection_id":164997,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:32:53] local.INFO: TCP Data received {"connection_id":164997,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164997,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:32:53] local.INFO: Processing buffer {"connection_id":164997,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:32:53] local.INFO: IMEI packet received {"connection_id":164997,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 19:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":164997,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:32:53] local.INFO: TCP Data received {"connection_id":164997,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048ad2958012d13dcc0071f1e98002d00f929..."} 
[2026-08-28 19:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048ad2958012d13dcc0071f1e98002d00f929..."} 
[2026-08-28 19:32:53] local.INFO: Processing buffer {"connection_id":164997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048ad2958012d13dcc0071f1e98002d00f929..."} 
[2026-08-28 19:32:53] local.INFO: Packet analysis {"connection_id":164997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ad"} 
[2026-08-28 19:32:53] local.INFO: Extracted packet for processing {"connection_id":164997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ad"} 
[2026-08-28 19:32:53] local.INFO: GPS Element Parsed {"raw_longitude":756276416,"raw_latitude":119479960,"longitude_deg":75.6276416,"latitude_deg":11.947996,"altitude":45,"angle":249,"satellites":41,"speed":43,"hex_longitude":"2d13dcc0","hex_latitude":"071f1e98","is_valid_coordinates":true} 
[2026-08-28 19: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-28 19:32:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708977664001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:32:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16063581413965824,"note":"Value kept but may cause issues"} 
[2026-08-28 19:32:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1441222280090400768,"note":"Value kept but may cause issues"} 
[2026-08-28 19:32:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:32:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787925703000,"timestamp_ms":1787925703000,"timestamp_seconds":1787925703,"priority":1,"record_length":96,"hex_timestamp":"000001a048ad2958"} 
[2026-08-28 19: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-28 19:32:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 19:32:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19: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-28 19: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-28 19:32:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:32:53] local.INFO: Teltonika packet parsed successfully {"connection_id":164997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:32:53] local.INFO: Passing IMEI to GPS processor {"connection_id":164997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:32:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":164997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:32:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:32:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:32:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:32:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708977664001,"66":12145,"11":206,"83":41984,"24":43,"16":16063581413965824,"45":1441222280090400768},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-08-28 19:32:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:32:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:32:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708977664001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:32:53] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-28 19:32:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:32:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16063581413965824,"km_value":16063581413965.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:32:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1441222280090400768,"description":"Unknown IO ID 45"} 
[2026-08-28 19:32:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708977664001,"power":12145,"unknown_11":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1441222280090400768}} 
[2026-08-28 19:32:54] 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":709880,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:32:54] local.INFO: GPS data processed {"connection_id":164997,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:32:54] local.INFO: Acknowledgment sent {"connection_id":164997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:32:56] local.INFO: TCP Data received {"connection_id":166355,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166355,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:32:56] local.INFO: Processing buffer {"connection_id":166355,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:32:56] local.INFO: IMEI packet received {"connection_id":166355,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 19:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":166355,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:32:57] local.INFO: TCP Data received {"connection_id":164997,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048ad4c80012d13b980071f0f68002f00f327..."} 
[2026-08-28 19:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048ad4c80012d13b980071f0f68002f00f327..."} 
[2026-08-28 19:32:57] local.INFO: Processing buffer {"connection_id":164997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048ad4c80012d13b980071f0f68002f00f327..."} 
[2026-08-28 19:32:57] local.INFO: Packet analysis {"connection_id":164997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ad"} 
[2026-08-28 19:32:57] local.INFO: Extracted packet for processing {"connection_id":164997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ad"} 
[2026-08-28 19:32:57] local.INFO: GPS Element Parsed {"raw_longitude":756267392,"raw_latitude":119476072,"longitude_deg":75.6267392,"latitude_deg":11.9476072,"altitude":47,"angle":243,"satellites":39,"speed":43,"hex_longitude":"2d13b980","hex_latitude":"071f0f68","is_valid_coordinates":true} 
[2026-08-28 19:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:32:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708979968001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:32:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16064049565401088,"note":"Value kept but may cause issues"} 
[2026-08-28 19:32:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1431229918416377856,"note":"Value kept but may cause issues"} 
[2026-08-28 19:32:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:32:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787925712000,"timestamp_ms":1787925712000,"timestamp_seconds":1787925712,"priority":1,"record_length":96,"hex_timestamp":"000001a048ad4c80"} 
[2026-08-28 19:32:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:32:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-28 19:32:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1450,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:32:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:32:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:32:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:32:57] local.INFO: Teltonika packet parsed successfully {"connection_id":164997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:32:57] local.INFO: Passing IMEI to GPS processor {"connection_id":164997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:32:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":164997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:32:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:32:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:32:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:32:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708979968001,"66":13406,"11":206,"83":41984,"24":43,"16":16064049565401088,"45":1431229918416377856},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-08-28 19:32:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:32:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:32:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708979968001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:32:57] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-28 19:32:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:32:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16064049565401088,"km_value":16064049565401.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:32:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1431229918416377856,"description":"Unknown IO ID 45"} 
[2026-08-28 19:32:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708979968001,"power":13406,"unknown_11":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1431229918416377856}} 
[2026-08-28 19:32:57] 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":709881,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:32:57] local.INFO: GPS data processed {"connection_id":164997,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:32:57] local.INFO: Acknowledgment sent {"connection_id":164997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:33:01] local.INFO: TCP Data received {"connection_id":166355,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166355,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:33:01] local.INFO: Processing buffer {"connection_id":166355,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:33:01] local.INFO: IMEI packet received {"connection_id":166355,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 19:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":166355,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:33:04] local.INFO: TCP Data received {"connection_id":166355,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048ab1230012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048ab1230012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:33:04] local.INFO: Processing buffer {"connection_id":166355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048ab1230012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:33:04] local.INFO: Packet analysis {"connection_id":166355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ab"} 
[2026-08-28 19:33:04] local.INFO: Extracted packet for processing {"connection_id":166355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ab"} 
[2026-08-28 19:33:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708867840001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787925566000,"timestamp_ms":1787925566000,"timestamp_seconds":1787925566,"priority":1,"record_length":96,"hex_timestamp":"000001a048ab1230"} 
[2026-08-28 19:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:33:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 19:33:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:33:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":166355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":166355,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":166355,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708867840001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708867840001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:33:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:33:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708867840001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":166355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709882,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:33:05] local.INFO: GPS data processed {"connection_id":166355,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:33:05] local.INFO: Acknowledgment sent {"connection_id":166355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:33:08] local.INFO: TCP Data received {"connection_id":166354,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048ad2188012d34c14006aa4840000900e62b..."} 
[2026-08-28 19:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048ad2188012d34c14006aa4840000900e62b..."} 
[2026-08-28 19:33:08] local.INFO: Processing buffer {"connection_id":166354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048ad2188012d34c14006aa4840000900e62b..."} 
[2026-08-28 19:33:08] local.INFO: Packet analysis {"connection_id":166354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ad"} 
[2026-08-28 19:33:08] local.INFO: Extracted packet for processing {"connection_id":166354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ad"} 
[2026-08-28 19:33:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708902400001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:33:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787925701000,"timestamp_ms":1787925701000,"timestamp_seconds":1787925701,"priority":1,"record_length":96,"hex_timestamp":"000001a048ad2188"} 
[2026-08-28 19:33:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:33:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-28 19:33:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1952,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:33:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:33:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":166354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":166354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":166354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:33:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708902400001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708902400001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:33:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:33:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:33: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-28 19:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708902400001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":166354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:33:08] local.INFO: GPS data processed {"connection_id":166354,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:33:08] local.INFO: Acknowledgment sent {"connection_id":166354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:33:30] local.INFO: TCP Data received {"connection_id":163983,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:33:30] local.INFO: Processing buffer {"connection_id":163983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:33:30] local.INFO: IMEI packet received {"connection_id":163983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 19:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":163983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:33:35] local.INFO: TCP Data received {"connection_id":163983,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:33:35] local.INFO: Processing buffer {"connection_id":163983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:33:35] local.INFO: IMEI packet received {"connection_id":163983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 19:33:35] local.INFO: IMEI acknowledgment sent {"connection_id":163983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:33:36] local.INFO: TCP Data received {"connection_id":166355,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048ab1230012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048ab1230012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:33:36] local.INFO: Processing buffer {"connection_id":166355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048ab1230012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:33:36] local.INFO: Packet analysis {"connection_id":166355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ab"} 
[2026-08-28 19:33:36] local.INFO: Extracted packet for processing {"connection_id":166355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ab"} 
[2026-08-28 19:33:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708867840001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:33:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787925566000,"timestamp_ms":1787925566000,"timestamp_seconds":1787925566,"priority":1,"record_length":96,"hex_timestamp":"000001a048ab1230"} 
[2026-08-28 19:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:33:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 19:33:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:33:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":166355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":166355,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":166355,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:33:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708867840001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708867840001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:33:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:33:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708867840001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":166355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709884,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:33:36] local.INFO: GPS data processed {"connection_id":166355,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:33:36] local.INFO: Acknowledgment sent {"connection_id":166355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:33:36] local.INFO: TCP Data received {"connection_id":163983,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048ad2188012d34c14006aa4840000900e62b..."} 
[2026-08-28 19:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048ad2188012d34c14006aa4840000900e62b..."} 
[2026-08-28 19:33:36] local.INFO: Processing buffer {"connection_id":163983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048ad2188012d34c14006aa4840000900e62b..."} 
[2026-08-28 19:33:36] local.INFO: Packet analysis {"connection_id":163983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ad"} 
[2026-08-28 19:33:36] local.INFO: Extracted packet for processing {"connection_id":163983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ad"} 
[2026-08-28 19:33:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708902400001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:33:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787925701000,"timestamp_ms":1787925701000,"timestamp_seconds":1787925701,"priority":1,"record_length":96,"hex_timestamp":"000001a048ad2188"} 
[2026-08-28 19:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:33:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-28 19:33:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1952,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:33:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:33:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708902400001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708902400001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:33:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:33:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708902400001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":163983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:33:36] local.INFO: GPS data processed {"connection_id":163983,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:33:36] local.INFO: Acknowledgment sent {"connection_id":163983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:33:41] local.INFO: TCP Data received {"connection_id":164998,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164998,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:33:41] local.INFO: Processing buffer {"connection_id":164998,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:33:41] local.INFO: IMEI packet received {"connection_id":164998,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 19:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":164998,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:33:42] local.INFO: TCP Data received {"connection_id":164998,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164998,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:33:42] local.INFO: Processing buffer {"connection_id":164998,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:33:42] local.INFO: IMEI packet received {"connection_id":164998,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 19:33:42] local.INFO: IMEI acknowledgment sent {"connection_id":164998,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:33:42] local.INFO: TCP Data received {"connection_id":164998,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164998,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:33:42] local.INFO: Processing buffer {"connection_id":164998,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:33:42] local.INFO: IMEI packet received {"connection_id":164998,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 19:33:42] local.INFO: IMEI acknowledgment sent {"connection_id":164998,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:33:45] local.INFO: TCP Data received {"connection_id":164998,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164998,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:33:45] local.INFO: Processing buffer {"connection_id":164998,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:33:45] local.INFO: IMEI packet received {"connection_id":164998,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 19:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":164998,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:33:46] local.INFO: TCP Data received {"connection_id":164998,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048ad6fa8012d139a00071efef0002f00f426..."} 
[2026-08-28 19:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048ad6fa8012d139a00071efef0002f00f426..."} 
[2026-08-28 19:33:46] local.INFO: Processing buffer {"connection_id":164998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048ad6fa8012d139a00071efef0002f00f426..."} 
[2026-08-28 19:33:46] local.INFO: Packet analysis {"connection_id":164998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ad"} 
[2026-08-28 19:33:46] local.INFO: Extracted packet for processing {"connection_id":164998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ad"} 
[2026-08-28 19:33:46] local.INFO: GPS Element Parsed {"raw_longitude":756259328,"raw_latitude":119471856,"longitude_deg":75.6259328,"latitude_deg":11.9471856,"altitude":47,"angle":244,"satellites":38,"speed":34,"hex_longitude":"2d139a00","hex_latitude":"071efef0","is_valid_coordinates":true} 
[2026-08-28 19:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708982272001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:33:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16064483357097984,"note":"Value kept but may cause issues"} 
[2026-08-28 19:33:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1421307925486331904,"note":"Value kept but may cause issues"} 
[2026-08-28 19:33:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:33:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787925721000,"timestamp_ms":1787925721000,"timestamp_seconds":1787925721,"priority":1,"record_length":96,"hex_timestamp":"000001a048ad6fa8"} 
[2026-08-28 19:33:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:33:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-28 19:33:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:33: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-28 19:33:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:33:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:33:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:33:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:33:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:33:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:33:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:33:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:33:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708982272001,"66":13135,"185":206,"83":41984,"24":34,"16":16064483357097984,"45":1421307925486331904},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,83,24,16,45]} 
[2026-08-28 19:33:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:33:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:33:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708982272001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:33:46] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-28 19:33:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:33:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16064483357097984,"km_value":16064483357097.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:33:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1421307925486331904,"description":"Unknown IO ID 45"} 
[2026-08-28 19:33:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708982272001,"power":13135,"unknown_185":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1421307925486331904}} 
[2026-08-28 19:33:46] 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":709886,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:33:46] local.INFO: GPS data processed {"connection_id":164998,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:33:46] local.INFO: Acknowledgment sent {"connection_id":164998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:33:56] local.INFO: TCP Data received {"connection_id":163708,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163708,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:33:56] local.INFO: Processing buffer {"connection_id":163708,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:33:56] local.INFO: IMEI packet received {"connection_id":163708,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 19:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":163708,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:34:01] local.INFO: TCP Data received {"connection_id":163708,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163708,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:34:01] local.INFO: Processing buffer {"connection_id":163708,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:34:01] local.INFO: IMEI packet received {"connection_id":163708,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 19:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":163708,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:34:03] local.INFO: TCP Data received {"connection_id":163708,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048ab1230012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048ab1230012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:34:03] local.INFO: Processing buffer {"connection_id":163708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048ab1230012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:34:03] local.INFO: Packet analysis {"connection_id":163708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ab"} 
[2026-08-28 19:34:03] local.INFO: Extracted packet for processing {"connection_id":163708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ab"} 
[2026-08-28 19:34:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708867840001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787925566000,"timestamp_ms":1787925566000,"timestamp_seconds":1787925566,"priority":1,"record_length":96,"hex_timestamp":"000001a048ab1230"} 
[2026-08-28 19:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:34:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 19:34:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:34:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163708,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163708,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708867840001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708867840001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:34:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:34:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708867840001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:34:03] 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":709887,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:34:03] local.INFO: GPS data processed {"connection_id":163708,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:34:03] local.INFO: Acknowledgment sent {"connection_id":163708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:34:08] local.INFO: TCP Data received {"connection_id":163983,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048ad2188012d34c14006aa4840000900e62b..."} 
[2026-08-28 19:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048ad2188012d34c14006aa4840000900e62b..."} 
[2026-08-28 19:34:08] local.INFO: Processing buffer {"connection_id":163983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048ad2188012d34c14006aa4840000900e62b..."} 
[2026-08-28 19:34:08] local.INFO: Packet analysis {"connection_id":163983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ad"} 
[2026-08-28 19:34:08] local.INFO: Extracted packet for processing {"connection_id":163983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ad"} 
[2026-08-28 19:34:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708902400001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:34:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787925701000,"timestamp_ms":1787925701000,"timestamp_seconds":1787925701,"priority":1,"record_length":96,"hex_timestamp":"000001a048ad2188"} 
[2026-08-28 19:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:34:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-28 19:34:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1952,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:34:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:34:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708902400001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708902400001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:34:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:34:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:34: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-28 19:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708902400001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":163983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:34:08] local.INFO: GPS data processed {"connection_id":163983,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:34:08] local.INFO: Acknowledgment sent {"connection_id":163983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:34:17] local.INFO: TCP Data received {"connection_id":164998,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048aee2c0012d13c880071e85e0001c003f24..."} 
[2026-08-28 19:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048aee2c0012d13c880071e85e0001c003f24..."} 
[2026-08-28 19:34:17] local.INFO: Processing buffer {"connection_id":164998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048aee2c0012d13c880071e85e0001c003f24..."} 
[2026-08-28 19:34:17] local.INFO: Packet analysis {"connection_id":164998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ae"} 
[2026-08-28 19:34:17] local.INFO: Extracted packet for processing {"connection_id":164998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ae"} 
[2026-08-28 19:34:17] local.INFO: GPS Element Parsed {"raw_longitude":756271232,"raw_latitude":119440864,"longitude_deg":75.6271232,"latitude_deg":11.9440864,"altitude":28,"angle":63,"satellites":36,"speed":7,"hex_longitude":"2d13c880","hex_latitude":"071e85e0","is_valid_coordinates":true} 
[2026-08-28 19: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-28 19:34:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709008640001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:34:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16066961553227776,"note":"Value kept but may cause issues"} 
[2026-08-28 19:34:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1425318943895416832,"note":"Value kept but may cause issues"} 
[2026-08-28 19:34:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:34:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787925816000,"timestamp_ms":1787925816000,"timestamp_seconds":1787925816,"priority":1,"record_length":96,"hex_timestamp":"000001a048aee2c0"} 
[2026-08-28 19: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-28 19:34:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-28 19:34: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-28 19: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-28 19: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-28 19:34:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:34:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:34:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:34:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164998,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:34:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:34:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:34:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:34:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709008640001,"66":11602,"185":206,"83":41984,"24":7,"16":16066961553227776,"45":1425318943895416832},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,83,24,16,45]} 
[2026-08-28 19:34:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:34:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:34:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709008640001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:34:17] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-28 19:34:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:34:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16066961553227776,"km_value":16066961553227.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:34:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1425318943895416832,"description":"Unknown IO ID 45"} 
[2026-08-28 19:34:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709008640001,"power":11602,"unknown_185":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1425318943895416832}} 
[2026-08-28 19:34:17] 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":709889,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:34:17] local.INFO: GPS data processed {"connection_id":164998,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:34:17] local.INFO: Acknowledgment sent {"connection_id":164998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:34:30] local.INFO: TCP Data received {"connection_id":163709,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:34:30] local.INFO: Processing buffer {"connection_id":163709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:34:30] local.INFO: IMEI packet received {"connection_id":163709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 19:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":163709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:34:34] local.INFO: TCP Data received {"connection_id":163708,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048ab1230012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048ab1230012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:34:34] local.INFO: Processing buffer {"connection_id":163708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048ab1230012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:34:34] local.INFO: Packet analysis {"connection_id":163708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ab"} 
[2026-08-28 19:34:34] local.INFO: Extracted packet for processing {"connection_id":163708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ab"} 
[2026-08-28 19:34:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708867840001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:34:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:34:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787925566000,"timestamp_ms":1787925566000,"timestamp_seconds":1787925566,"priority":1,"record_length":96,"hex_timestamp":"000001a048ab1230"} 
[2026-08-28 19:34:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:34:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 19:34:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:34:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:34:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163708,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163708,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708867840001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708867840001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:34:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:34:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:34:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708867840001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:34:34] 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":709890,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:34:34] local.INFO: GPS data processed {"connection_id":163708,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:34:34] local.INFO: Acknowledgment sent {"connection_id":163708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:34:35] local.INFO: TCP Data received {"connection_id":163709,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:34:35] local.INFO: Processing buffer {"connection_id":163709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:34:35] local.INFO: IMEI packet received {"connection_id":163709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 19:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":163709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:34:36] local.INFO: TCP Data received {"connection_id":163709,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048ad2188012d34c14006aa4840000900e62b..."} 
[2026-08-28 19:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048ad2188012d34c14006aa4840000900e62b..."} 
[2026-08-28 19:34:36] local.INFO: Processing buffer {"connection_id":163709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048ad2188012d34c14006aa4840000900e62b..."} 
[2026-08-28 19:34:36] local.INFO: Packet analysis {"connection_id":163709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ad"} 
[2026-08-28 19:34:36] local.INFO: Extracted packet for processing {"connection_id":163709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ad"} 
[2026-08-28 19:34:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708902400001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:34:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:34:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787925701000,"timestamp_ms":1787925701000,"timestamp_seconds":1787925701,"priority":1,"record_length":96,"hex_timestamp":"000001a048ad2188"} 
[2026-08-28 19:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:34:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-28 19:34:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1952,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:34:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:34:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708902400001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708902400001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:34:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:34:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:34:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708902400001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:34:36] 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":709891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:34:36] local.INFO: GPS data processed {"connection_id":163709,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:34:36] local.INFO: Acknowledgment sent {"connection_id":163709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:34:44] local.INFO: TCP Data received {"connection_id":164999,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164999,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:34:44] local.INFO: Processing buffer {"connection_id":164999,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:34:44] local.INFO: IMEI packet received {"connection_id":164999,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 19:34:44] local.INFO: IMEI acknowledgment sent {"connection_id":164999,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:34:48] local.INFO: TCP Data received {"connection_id":164999,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164999,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:34:48] local.INFO: Processing buffer {"connection_id":164999,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:34:48] local.INFO: IMEI packet received {"connection_id":164999,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 19:34:48] local.INFO: IMEI acknowledgment sent {"connection_id":164999,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:34:48] local.INFO: TCP Data received {"connection_id":164999,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048aee6a8012d13c940071e85f8001c005324..."} 
[2026-08-28 19:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048aee6a8012d13c940071e85f8001c005324..."} 
[2026-08-28 19:34:48] local.INFO: Processing buffer {"connection_id":164999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048aee6a8012d13c940071e85f8001c005324..."} 
[2026-08-28 19:34:48] local.INFO: Packet analysis {"connection_id":164999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ae"} 
[2026-08-28 19:34:48] local.INFO: Extracted packet for processing {"connection_id":164999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ae"} 
[2026-08-28 19:34:48] local.INFO: GPS Element Parsed {"raw_longitude":756271424,"raw_latitude":119440888,"longitude_deg":75.6271424,"latitude_deg":11.9440888,"altitude":28,"angle":83,"satellites":36,"speed":8,"hex_longitude":"2d13c940","hex_latitude":"071e85f8","is_valid_coordinates":true} 
[2026-08-28 19:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:34:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709008896001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:34:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16066974438129664,"note":"Value kept but may cause issues"} 
[2026-08-28 19:34:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1425530050127978496,"note":"Value kept but may cause issues"} 
[2026-08-28 19:34:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:34:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787925817000,"timestamp_ms":1787925817000,"timestamp_seconds":1787925817,"priority":1,"record_length":96,"hex_timestamp":"000001a048aee6a8"} 
[2026-08-28 19:34:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:34:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-08-28 19:34:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1161,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:34:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:34:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:34:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:34:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:34:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:34:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:34:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:34:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:34:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:34:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709008896001,"66":11602,"185":206,"83":41984,"24":8,"16":16066974438129664,"45":1425530050127978496},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,83,24,16,45]} 
[2026-08-28 19:34:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:34:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:34:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709008896001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:34:48] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-28 19:34:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:34:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16066974438129664,"km_value":16066974438129.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:34:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1425530050127978496,"description":"Unknown IO ID 45"} 
[2026-08-28 19:34:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709008896001,"power":11602,"unknown_185":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1425530050127978496}} 
[2026-08-28 19:34:49] local.INFO: DEBUG: GPS processor result {"connection_id":164999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709892,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:34:49] local.INFO: GPS data processed {"connection_id":164999,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:34:49] local.INFO: Acknowledgment sent {"connection_id":164999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:34:56] local.INFO: TCP Data received {"connection_id":163710,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163710,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:34:56] local.INFO: Processing buffer {"connection_id":163710,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:34:56] local.INFO: IMEI packet received {"connection_id":163710,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 19:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":163710,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:35:01] local.INFO: TCP Data received {"connection_id":163710,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163710,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:35:01] local.INFO: Processing buffer {"connection_id":163710,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:35:01] local.INFO: IMEI packet received {"connection_id":163710,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 19:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":163710,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:35:03] local.INFO: TCP Data received {"connection_id":163710,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048ab1230012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048ab1230012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:35:03] local.INFO: Processing buffer {"connection_id":163710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048ab1230012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:35:03] local.INFO: Packet analysis {"connection_id":163710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ab"} 
[2026-08-28 19:35:03] local.INFO: Extracted packet for processing {"connection_id":163710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ab"} 
[2026-08-28 19:35:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708867840001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:35:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787925566000,"timestamp_ms":1787925566000,"timestamp_seconds":1787925566,"priority":1,"record_length":96,"hex_timestamp":"000001a048ab1230"} 
[2026-08-28 19:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:35:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 19:35:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:35:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163710,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163710,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:35:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708867840001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708867840001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:35:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:35:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708867840001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":163710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709893,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:35:03] local.INFO: GPS data processed {"connection_id":163710,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:35:03] local.INFO: Acknowledgment sent {"connection_id":163710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:35:08] local.INFO: TCP Data received {"connection_id":163709,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048ad2188012d34c14006aa4840000900e62b..."} 
[2026-08-28 19:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048ad2188012d34c14006aa4840000900e62b..."} 
[2026-08-28 19:35:08] local.INFO: Processing buffer {"connection_id":163709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048ad2188012d34c14006aa4840000900e62b..."} 
[2026-08-28 19:35:08] local.INFO: Packet analysis {"connection_id":163709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ad"} 
[2026-08-28 19:35:08] local.INFO: Extracted packet for processing {"connection_id":163709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ad"} 
[2026-08-28 19:35:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708902400001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:35:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:35:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787925701000,"timestamp_ms":1787925701000,"timestamp_seconds":1787925701,"priority":1,"record_length":96,"hex_timestamp":"000001a048ad2188"} 
[2026-08-28 19:35:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:35:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-28 19:35:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1952,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:35:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:35:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:35:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708902400001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708902400001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:35:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:35:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:35: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-28 19:35:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708902400001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:35:08] 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":709894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:35:08] local.INFO: GPS data processed {"connection_id":163709,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:35:08] local.INFO: Acknowledgment sent {"connection_id":163709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:35:19] local.INFO: TCP Data received {"connection_id":164999,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048aeea90012d13ca40071e85c0001c006a24..."} 
[2026-08-28 19:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048aeea90012d13ca40071e85c0001c006a24..."} 
[2026-08-28 19:35:19] local.INFO: Processing buffer {"connection_id":164999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048aeea90012d13ca40071e85c0001c006a24..."} 
[2026-08-28 19:35:19] local.INFO: Packet analysis {"connection_id":164999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ae"} 
[2026-08-28 19:35:19] local.INFO: Extracted packet for processing {"connection_id":164999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ae"} 
[2026-08-28 19:35:19] local.INFO: GPS Element Parsed {"raw_longitude":756271680,"raw_latitude":119440832,"longitude_deg":75.627168,"latitude_deg":11.9440832,"altitude":28,"angle":106,"satellites":36,"speed":9,"hex_longitude":"2d13ca40","hex_latitude":"071e85c0","is_valid_coordinates":true} 
[2026-08-28 19: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-28 19:35:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709009152001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:35:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16066983028064256,"note":"Value kept but may cause issues"} 
[2026-08-28 19:35:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1425741156360517632,"note":"Value kept but may cause issues"} 
[2026-08-28 19:35:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:35:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787925818000,"timestamp_ms":1787925818000,"timestamp_seconds":1787925818,"priority":1,"record_length":96,"hex_timestamp":"000001a048aeea90"} 
[2026-08-28 19: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-28 19:35:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19: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":45,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-08-28 19:35:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1161,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19: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-28 19: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-28 19:35:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:35:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:35:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:35:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:35:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:35:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:35:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:35:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709009152001,"66":12200,"185":206,"83":41984,"24":9,"16":16066983028064256,"45":1425741156360517632},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,83,24,16,45]} 
[2026-08-28 19:35:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:35:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:35:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709009152001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:35:19] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-28 19:35:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:35:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16066983028064256,"km_value":16066983028064.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:35:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1425741156360517632,"description":"Unknown IO ID 45"} 
[2026-08-28 19:35:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709009152001,"power":12200,"unknown_185":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1425741156360517632}} 
[2026-08-28 19:35:19] local.INFO: DEBUG: GPS processor result {"connection_id":164999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709895,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:35:19] local.INFO: GPS data processed {"connection_id":164999,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:35:19] local.INFO: Acknowledgment sent {"connection_id":164999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:35:30] local.INFO: TCP Data received {"connection_id":165000,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:35:30] local.INFO: Processing buffer {"connection_id":165000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:35:30] local.INFO: IMEI packet received {"connection_id":165000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 19:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":165000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:35:34] local.INFO: TCP Data received {"connection_id":163710,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048afa9f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048afa9f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:35:34] local.INFO: Processing buffer {"connection_id":163710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048afa9f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:35:34] local.INFO: Packet analysis {"connection_id":163710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048af"} 
[2026-08-28 19:35:34] local.INFO: Extracted packet for processing {"connection_id":163710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048af"} 
[2026-08-28 19:35:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708944896001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:35:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:35:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787925867000,"timestamp_ms":1787925867000,"timestamp_seconds":1787925867,"priority":1,"record_length":96,"hex_timestamp":"000001a048afa9f8"} 
[2026-08-28 19:35:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:35:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 19:35:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:35:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:35:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163710,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163710,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:35:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708944896001,"66":25234,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708944896001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:35:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:35:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:35:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708944896001,"power":25234,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":163710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709896,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:35:34] local.INFO: GPS data processed {"connection_id":163710,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:35:34] local.INFO: Acknowledgment sent {"connection_id":163710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:35:35] local.INFO: TCP Data received {"connection_id":165000,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:35:35] local.INFO: Processing buffer {"connection_id":165000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:35:35] local.INFO: IMEI packet received {"connection_id":165000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 19:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":165000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:35:37] local.INFO: TCP Data received {"connection_id":165000,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048ad2188012d34c14006aa4840000900e62b..."} 
[2026-08-28 19:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048ad2188012d34c14006aa4840000900e62b..."} 
[2026-08-28 19:35:37] local.INFO: Processing buffer {"connection_id":165000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048ad2188012d34c14006aa4840000900e62b..."} 
[2026-08-28 19:35:37] local.INFO: Packet analysis {"connection_id":165000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ad"} 
[2026-08-28 19:35:37] local.INFO: Extracted packet for processing {"connection_id":165000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ad"} 
[2026-08-28 19:35:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708902400001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787925701000,"timestamp_ms":1787925701000,"timestamp_seconds":1787925701,"priority":1,"record_length":96,"hex_timestamp":"000001a048ad2188"} 
[2026-08-28 19:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-28 19:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1952,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":165000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":165000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":165000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708902400001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708902400001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:35:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:35:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:35: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-28 19:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708902400001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":165000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:35:37] local.INFO: GPS data processed {"connection_id":165000,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:35:37] local.INFO: Acknowledgment sent {"connection_id":165000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:35:44] local.INFO: TCP Data received {"connection_id":163984,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163984,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:35:44] local.INFO: Processing buffer {"connection_id":163984,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:35:44] local.INFO: IMEI packet received {"connection_id":163984,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 19:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":163984,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:35:45] local.INFO: TCP Data received {"connection_id":163984,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163984,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:35:45] local.INFO: Processing buffer {"connection_id":163984,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:35:45] local.INFO: IMEI packet received {"connection_id":163984,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 19:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":163984,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:35:47] local.INFO: TCP Data received {"connection_id":163984,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163984,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:35:47] local.INFO: Processing buffer {"connection_id":163984,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:35:47] local.INFO: IMEI packet received {"connection_id":163984,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 19:35:47] local.INFO: IMEI acknowledgment sent {"connection_id":163984,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:35:47] local.INFO: TCP Data received {"connection_id":163984,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048af3c98012d13cc80071e8568001d006625..."} 
[2026-08-28 19:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048af3c98012d13cc80071e8568001d006625..."} 
[2026-08-28 19:35:47] local.INFO: Processing buffer {"connection_id":163984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048af3c98012d13cc80071e8568001d006625..."} 
[2026-08-28 19:35:47] local.INFO: Packet analysis {"connection_id":163984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048af"} 
[2026-08-28 19:35:47] local.INFO: Extracted packet for processing {"connection_id":163984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048af"} 
[2026-08-28 19:35:47] local.INFO: GPS Element Parsed {"raw_longitude":756272256,"raw_latitude":119440744,"longitude_deg":75.6272256,"latitude_deg":11.9440744,"altitude":29,"angle":102,"satellites":37,"speed":0,"hex_longitude":"2d13cc80","hex_latitude":"071e8568","is_valid_coordinates":true} 
[2026-08-28 19:35:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:35:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709009408001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:35:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16067017387802624,"note":"Value kept but may cause issues"} 
[2026-08-28 19:35:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1426022631337213952,"note":"Value kept but may cause issues"} 
[2026-08-28 19:35:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:35:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787925839000,"timestamp_ms":1787925839000,"timestamp_seconds":1787925839,"priority":1,"record_length":96,"hex_timestamp":"000001a048af3c98"} 
[2026-08-28 19:35:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:35:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19:35:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-08-28 19:35:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1945,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:35:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:35:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:35:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:35:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:35:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:35:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:35:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:35:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:35:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:35:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709009408001,"66":12613,"185":206,"83":41984,"24":0,"16":16067017387802624,"45":1426022631337213952},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,83,24,16,45]} 
[2026-08-28 19:35:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:35:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:35:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709009408001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:35:47] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-28 19:35:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:35:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16067017387802624,"km_value":16067017387802.623,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:35:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1426022631337213952,"description":"Unknown IO ID 45"} 
[2026-08-28 19:35:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709009408001,"power":12613,"unknown_185":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1426022631337213952}} 
[2026-08-28 19:35:47] local.INFO: DEBUG: GPS processor result {"connection_id":163984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709898,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:35:47] local.INFO: GPS data processed {"connection_id":163984,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:35:47] local.INFO: Acknowledgment sent {"connection_id":163984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:35:48] local.INFO: TCP Data received {"connection_id":163984,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048af8ea0012d13cc80071e8568001d006627..."} 
[2026-08-28 19:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048af8ea0012d13cc80071e8568001d006627..."} 
[2026-08-28 19:35:48] local.INFO: Processing buffer {"connection_id":163984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048af8ea0012d13cc80071e8568001d006627..."} 
[2026-08-28 19:35:48] local.INFO: Packet analysis {"connection_id":163984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048af"} 
[2026-08-28 19:35:48] local.INFO: Extracted packet for processing {"connection_id":163984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048af"} 
[2026-08-28 19:35:48] local.INFO: GPS Element Parsed {"raw_longitude":756272256,"raw_latitude":119440744,"longitude_deg":75.6272256,"latitude_deg":11.9440744,"altitude":29,"angle":102,"satellites":39,"speed":0,"hex_longitude":"2d13cc80","hex_latitude":"071e8568","is_valid_coordinates":true} 
[2026-08-28 19: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-28 19:35:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709014784001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:35:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16067017387802624,"note":"Value kept but may cause issues"} 
[2026-08-28 19:35:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1426655950034790400,"note":"Value kept but may cause issues"} 
[2026-08-28 19:35:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:35:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787925860000,"timestamp_ms":1787925860000,"timestamp_seconds":1787925860,"priority":1,"record_length":96,"hex_timestamp":"000001a048af8ea0"} 
[2026-08-28 19: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-28 19:35:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-28 19:35:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19: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-28 19: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-28 19:35:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:35:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:35:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:35:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:35:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:35:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:35:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:35:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709014784001,"66":12798,"185":206,"83":41984,"24":0,"16":16067017387802624,"45":1426655950034790400},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,83,24,16,45]} 
[2026-08-28 19:35:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:35:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:35:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709014784001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:35:48] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-28 19:35:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:35:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16067017387802624,"km_value":16067017387802.623,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:35:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1426655950034790400,"description":"Unknown IO ID 45"} 
[2026-08-28 19:35:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709014784001,"power":12798,"unknown_185":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1426655950034790400}} 
[2026-08-28 19:35:48] local.INFO: DEBUG: GPS processor result {"connection_id":163984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709899,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:35:48] local.INFO: GPS data processed {"connection_id":163984,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:35:48] local.INFO: Acknowledgment sent {"connection_id":163984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:35:56] local.INFO: TCP Data received {"connection_id":165001,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165001,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:35:56] local.INFO: Processing buffer {"connection_id":165001,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:35:56] local.INFO: IMEI packet received {"connection_id":165001,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 19:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":165001,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:36:01] local.INFO: TCP Data received {"connection_id":165001,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165001,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:36:01] local.INFO: Processing buffer {"connection_id":165001,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:36:01] local.INFO: IMEI packet received {"connection_id":165001,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 19:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":165001,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:36:02] local.INFO: TCP Data received {"connection_id":165001,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048afa9f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048afa9f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:36:02] local.INFO: Processing buffer {"connection_id":165001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048afa9f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:36:02] local.INFO: Packet analysis {"connection_id":165001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048af"} 
[2026-08-28 19:36:02] local.INFO: Extracted packet for processing {"connection_id":165001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048af"} 
[2026-08-28 19:36:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:36:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708944896001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:36:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:36:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:36:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:36:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787925867000,"timestamp_ms":1787925867000,"timestamp_seconds":1787925867,"priority":1,"record_length":96,"hex_timestamp":"000001a048afa9f8"} 
[2026-08-28 19:36:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:36:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 19:36:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:36:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:36:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:36:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:36:02] local.INFO: Teltonika packet parsed successfully {"connection_id":165001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:36:02] local.INFO: Passing IMEI to GPS processor {"connection_id":165001,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:36:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":165001,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:36:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:36:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:36:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:36:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708944896001,"66":25234,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:36:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:36:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:36:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708944896001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:36:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:36:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:36:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:36:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:36:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708944896001,"power":25234,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:36:02] 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":709900,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:36:02] local.INFO: GPS data processed {"connection_id":165001,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:36:02] local.INFO: Acknowledgment sent {"connection_id":165001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:36:08] local.INFO: TCP Data received {"connection_id":165000,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048ad2188012d34c14006aa4840000900e62b..."} 
[2026-08-28 19:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048ad2188012d34c14006aa4840000900e62b..."} 
[2026-08-28 19:36:08] local.INFO: Processing buffer {"connection_id":165000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048ad2188012d34c14006aa4840000900e62b..."} 
[2026-08-28 19:36:08] local.INFO: Packet analysis {"connection_id":165000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ad"} 
[2026-08-28 19:36:08] local.INFO: Extracted packet for processing {"connection_id":165000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ad"} 
[2026-08-28 19:36:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708902400001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:36:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787925701000,"timestamp_ms":1787925701000,"timestamp_seconds":1787925701,"priority":1,"record_length":96,"hex_timestamp":"000001a048ad2188"} 
[2026-08-28 19:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:36:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-28 19:36:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1952,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:36:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":165000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":165000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":165000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:36:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708902400001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708902400001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:36:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:36:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:36: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-28 19:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708902400001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":165000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:36:08] local.INFO: GPS data processed {"connection_id":165000,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:36:08] local.INFO: Acknowledgment sent {"connection_id":165000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:36:21] local.INFO: TCP Data received {"connection_id":163984,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048b0b780012d13bb00071e79e80023010229..."} 
[2026-08-28 19:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048b0b780012d13bb00071e79e80023010229..."} 
[2026-08-28 19:36:21] local.INFO: Processing buffer {"connection_id":163984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048b0b780012d13bb00071e79e80023010229..."} 
[2026-08-28 19:36:21] local.INFO: Packet analysis {"connection_id":163984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048b0"} 
[2026-08-28 19:36:21] local.INFO: Extracted packet for processing {"connection_id":163984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048b0"} 
[2026-08-28 19:36:21] local.INFO: GPS Element Parsed {"raw_longitude":756267776,"raw_latitude":119437800,"longitude_deg":75.6267776,"latitude_deg":11.94378,"altitude":35,"angle":258,"satellites":41,"speed":13,"hex_longitude":"2d13bb00","hex_latitude":"071e79e8","is_valid_coordinates":true} 
[2026-08-28 19:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709038848001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16067365280153600,"note":"Value kept but may cause issues"} 
[2026-08-28 19:36:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1422926406592583680,"note":"Value kept but may cause issues"} 
[2026-08-28 19:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787925936000,"timestamp_ms":1787925936000,"timestamp_seconds":1787925936,"priority":1,"record_length":96,"hex_timestamp":"000001a048b0b780"} 
[2026-08-28 19:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:36:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-28 19:36:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:36:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":163984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":163984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":163984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:36:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709038848001,"66":13417,"185":206,"83":41984,"24":13,"16":16067365280153600,"45":1422926406592583680},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,83,24,16,45]} 
[2026-08-28 19:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709038848001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:36:21] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-28 19:36:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16067365280153600,"km_value":16067365280153.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:36:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1422926406592583680,"description":"Unknown IO ID 45"} 
[2026-08-28 19:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709038848001,"power":13417,"unknown_185":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1422926406592583680}} 
[2026-08-28 19:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":163984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709902,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:36:21] local.INFO: GPS data processed {"connection_id":163984,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:36:21] local.INFO: Acknowledgment sent {"connection_id":163984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:36:29] local.INFO: TCP Data received {"connection_id":165002,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:36:29] local.INFO: Processing buffer {"connection_id":165002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:36:29] local.INFO: IMEI packet received {"connection_id":165002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 19:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":165002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:36:34] local.INFO: TCP Data received {"connection_id":165001,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048afa9f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048afa9f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:36:34] local.INFO: Processing buffer {"connection_id":165001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048afa9f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:36:34] local.INFO: Packet analysis {"connection_id":165001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048af"} 
[2026-08-28 19:36:34] local.INFO: Extracted packet for processing {"connection_id":165001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048af"} 
[2026-08-28 19:36:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708944896001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:36:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:36:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787925867000,"timestamp_ms":1787925867000,"timestamp_seconds":1787925867,"priority":1,"record_length":96,"hex_timestamp":"000001a048afa9f8"} 
[2026-08-28 19:36:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:36:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 19:36:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:36:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:36:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":165001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":165001,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":165001,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:36:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:36:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708944896001,"66":25234,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:36:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:36:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:36:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708944896001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:36:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:36:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:36:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:36:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:36:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708944896001,"power":25234,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:36:34] 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":709903,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:36:34] local.INFO: GPS data processed {"connection_id":165001,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:36:34] local.INFO: Acknowledgment sent {"connection_id":165001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:36:35] local.INFO: TCP Data received {"connection_id":165002,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:36:35] local.INFO: Processing buffer {"connection_id":165002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:36:35] local.INFO: IMEI packet received {"connection_id":165002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 19:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":165002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:36:36] local.INFO: TCP Data received {"connection_id":165002,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048ad2188012d34c14006aa4840000900e62b..."} 
[2026-08-28 19:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048ad2188012d34c14006aa4840000900e62b..."} 
[2026-08-28 19:36:36] local.INFO: Processing buffer {"connection_id":165002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048ad2188012d34c14006aa4840000900e62b..."} 
[2026-08-28 19:36:36] local.INFO: Packet analysis {"connection_id":165002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ad"} 
[2026-08-28 19:36:36] local.INFO: Extracted packet for processing {"connection_id":165002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ad"} 
[2026-08-28 19:36:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708902400001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787925701000,"timestamp_ms":1787925701000,"timestamp_seconds":1787925701,"priority":1,"record_length":96,"hex_timestamp":"000001a048ad2188"} 
[2026-08-28 19:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:36:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-28 19:36:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1952,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:36:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":165002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":165002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":165002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:36:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708902400001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708902400001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:36:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:36:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708902400001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:36:36] 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":709904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:36:36] local.INFO: GPS data processed {"connection_id":165002,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:36:36] local.INFO: Acknowledgment sent {"connection_id":165002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:36:42] local.INFO: TCP Data received {"connection_id":165003,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165003,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:36:42] local.INFO: Processing buffer {"connection_id":165003,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:36:42] local.INFO: IMEI packet received {"connection_id":165003,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 19:36:42] local.INFO: IMEI acknowledgment sent {"connection_id":165003,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:36:49] local.INFO: TCP Data received {"connection_id":165003,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165003,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:36:49] local.INFO: Processing buffer {"connection_id":165003,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:36:49] local.INFO: IMEI packet received {"connection_id":165003,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 19:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":165003,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:36:50] local.INFO: TCP Data received {"connection_id":165003,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048b0bb68012d13b9c0071e7930002300e529..."} 
[2026-08-28 19:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048b0bb68012d13b9c0071e7930002300e529..."} 
[2026-08-28 19:36:50] local.INFO: Processing buffer {"connection_id":165003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048b0bb68012d13b9c0071e7930002300e529..."} 
[2026-08-28 19:36:50] local.INFO: Packet analysis {"connection_id":165003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048b0"} 
[2026-08-28 19:36:50] local.INFO: Extracted packet for processing {"connection_id":165003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048b0"} 
[2026-08-28 19:36:50] local.INFO: GPS Element Parsed {"raw_longitude":756267456,"raw_latitude":119437616,"longitude_deg":75.6267456,"latitude_deg":11.9437616,"altitude":35,"angle":229,"satellites":41,"speed":13,"hex_longitude":"2d13b9c0","hex_latitude":"071e7930","is_valid_coordinates":true} 
[2026-08-28 19:36:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:36:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709039616001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:36:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16067382460022784,"note":"Value kept but may cause issues"} 
[2026-08-28 19:36:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1421730137941600256,"note":"Value kept but may cause issues"} 
[2026-08-28 19:36:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:36:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787925937000,"timestamp_ms":1787925937000,"timestamp_seconds":1787925937,"priority":1,"record_length":96,"hex_timestamp":"000001a048b0bb68"} 
[2026-08-28 19:36:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:36:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19:36:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-28 19:36:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:36:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:36:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:36:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:36:50] local.INFO: Teltonika packet parsed successfully {"connection_id":165003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:36:50] local.INFO: Passing IMEI to GPS processor {"connection_id":165003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:36:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":165003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:36:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:36:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:36:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:36:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709039616001,"66":13417,"185":206,"83":41984,"24":13,"16":16067382460022784,"45":1421730137941600256},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,83,24,16,45]} 
[2026-08-28 19:36:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:36:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:36:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709039616001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:36:50] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-28 19:36:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:36:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16067382460022784,"km_value":16067382460022.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:36:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1421730137941600256,"description":"Unknown IO ID 45"} 
[2026-08-28 19:36:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709039616001,"power":13417,"unknown_185":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1421730137941600256}} 
[2026-08-28 19:36:50] local.INFO: DEBUG: GPS processor result {"connection_id":165003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709905,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:36:50] local.INFO: GPS data processed {"connection_id":165003,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:36:50] local.INFO: Acknowledgment sent {"connection_id":165003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:36:56] local.INFO: TCP Data received {"connection_id":163711,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163711,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:36:56] local.INFO: Processing buffer {"connection_id":163711,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:36:56] local.INFO: IMEI packet received {"connection_id":163711,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 19:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":163711,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:37:01] local.INFO: TCP Data received {"connection_id":163711,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163711,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:37:01] local.INFO: Processing buffer {"connection_id":163711,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:37:01] local.INFO: IMEI packet received {"connection_id":163711,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 19:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":163711,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:37:04] local.INFO: TCP Data received {"connection_id":163711,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048afa9f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048afa9f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:37:04] local.INFO: Processing buffer {"connection_id":163711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048afa9f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:37:04] local.INFO: Packet analysis {"connection_id":163711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048af"} 
[2026-08-28 19:37:04] local.INFO: Extracted packet for processing {"connection_id":163711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048af"} 
[2026-08-28 19:37:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708944896001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:37:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787925867000,"timestamp_ms":1787925867000,"timestamp_seconds":1787925867,"priority":1,"record_length":96,"hex_timestamp":"000001a048afa9f8"} 
[2026-08-28 19:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:37:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 19:37:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:37:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":163711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":163711,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":163711,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:37:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708944896001,"66":25234,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708944896001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:37:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:37:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708944896001,"power":25234,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":163711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709906,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:37:04] local.INFO: GPS data processed {"connection_id":163711,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:37:04] local.INFO: Acknowledgment sent {"connection_id":163711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:37:08] local.INFO: TCP Data received {"connection_id":165002,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048ad2188012d34c14006aa4840000900e62b..."} 
[2026-08-28 19:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048ad2188012d34c14006aa4840000900e62b..."} 
[2026-08-28 19:37:08] local.INFO: Processing buffer {"connection_id":165002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048ad2188012d34c14006aa4840000900e62b..."} 
[2026-08-28 19:37:08] local.INFO: Packet analysis {"connection_id":165002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ad"} 
[2026-08-28 19:37:08] local.INFO: Extracted packet for processing {"connection_id":165002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ad"} 
[2026-08-28 19:37:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708902400001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:37:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787925701000,"timestamp_ms":1787925701000,"timestamp_seconds":1787925701,"priority":1,"record_length":96,"hex_timestamp":"000001a048ad2188"} 
[2026-08-28 19:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:37:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-28 19:37:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1952,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:37:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":165002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":165002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":165002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:37:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708902400001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708902400001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:37:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:37:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:37: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-28 19:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708902400001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:37:08] 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":709907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:37:08] local.INFO: GPS data processed {"connection_id":165002,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:37:08] local.INFO: Acknowledgment sent {"connection_id":165002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:37:21] local.INFO: TCP Data received {"connection_id":165003,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048b0bf50012d13b900071e7830002300d629..."} 
[2026-08-28 19:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048b0bf50012d13b900071e7830002300d629..."} 
[2026-08-28 19:37:21] local.INFO: Processing buffer {"connection_id":165003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048b0bf50012d13b900071e7830002300d629..."} 
[2026-08-28 19:37:21] local.INFO: Packet analysis {"connection_id":165003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048b0"} 
[2026-08-28 19:37:21] local.INFO: Extracted packet for processing {"connection_id":165003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048b0"} 
[2026-08-28 19:37:21] local.INFO: GPS Element Parsed {"raw_longitude":756267264,"raw_latitude":119437360,"longitude_deg":75.6267264,"latitude_deg":11.943736,"altitude":35,"angle":214,"satellites":41,"speed":13,"hex_longitude":"2d13b900","hex_latitude":"071e7830","is_valid_coordinates":true} 
[2026-08-28 19:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709039872001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16067399639891968,"note":"Value kept but may cause issues"} 
[2026-08-28 19:37:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1421378294220664832,"note":"Value kept but may cause issues"} 
[2026-08-28 19:37:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787925938000,"timestamp_ms":1787925938000,"timestamp_seconds":1787925938,"priority":1,"record_length":96,"hex_timestamp":"000001a048b0bf50"} 
[2026-08-28 19:37:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:37:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-28 19:37:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:37:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:37:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":165003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":165003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":165003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:37:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709039872001,"66":13396,"185":206,"83":41984,"24":13,"16":16067399639891968,"45":1421378294220664832},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,83,24,16,45]} 
[2026-08-28 19:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709039872001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:37:21] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-28 19:37:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16067399639891968,"km_value":16067399639891.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:37:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1421378294220664832,"description":"Unknown IO ID 45"} 
[2026-08-28 19:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709039872001,"power":13396,"unknown_185":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1421378294220664832}} 
[2026-08-28 19:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":165003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709908,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:37:21] local.INFO: GPS data processed {"connection_id":165003,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:37:21] local.INFO: Acknowledgment sent {"connection_id":165003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:37:35] local.INFO: TCP Data received {"connection_id":163712,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:37:35] local.INFO: Processing buffer {"connection_id":163712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:37:35] local.INFO: IMEI packet received {"connection_id":163712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 19:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":163712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:37:36] local.INFO: TCP Data received {"connection_id":163711,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048afa9f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048afa9f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:37:36] local.INFO: Processing buffer {"connection_id":163711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048afa9f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:37:36] local.INFO: Packet analysis {"connection_id":163711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048af"} 
[2026-08-28 19:37:36] local.INFO: Extracted packet for processing {"connection_id":163711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048af"} 
[2026-08-28 19:37:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708944896001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:37:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:37:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787925867000,"timestamp_ms":1787925867000,"timestamp_seconds":1787925867,"priority":1,"record_length":96,"hex_timestamp":"000001a048afa9f8"} 
[2026-08-28 19:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:37:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 19:37:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:37:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163711,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163711,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:37:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708944896001,"66":25234,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708944896001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:37:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:37:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:37:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708944896001,"power":25234,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":163711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709909,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:37:36] local.INFO: GPS data processed {"connection_id":163711,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:37:36] local.INFO: Acknowledgment sent {"connection_id":163711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:37:40] local.INFO: TCP Data received {"connection_id":163712,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:37:40] local.INFO: Processing buffer {"connection_id":163712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:37:40] local.INFO: IMEI packet received {"connection_id":163712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 19:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":163712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:37:42] local.INFO: TCP Data received {"connection_id":163712,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048b1b950012d34c14006aa4840000d00e62b..."} 
[2026-08-28 19:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048b1b950012d34c14006aa4840000d00e62b..."} 
[2026-08-28 19:37:42] local.INFO: Processing buffer {"connection_id":163712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048b1b950012d34c14006aa4840000d00e62b..."} 
[2026-08-28 19:37:42] local.INFO: Packet analysis {"connection_id":163712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048b1"} 
[2026-08-28 19:37:42] local.INFO: Extracted packet for processing {"connection_id":163712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048b1"} 
[2026-08-28 19:37:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19: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-28 19:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708979456001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:37:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:37:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787926002000,"timestamp_ms":1787926002000,"timestamp_seconds":1787926002,"priority":1,"record_length":96,"hex_timestamp":"000001a048b1b950"} 
[2026-08-28 19: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-28 19:37:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 19:37: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-28 19: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-28 19: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-28 19:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:37:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708979456001,"66":25397,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708979456001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:37:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:37:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19: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-28 19:37:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708979456001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":163712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:37:42] local.INFO: GPS data processed {"connection_id":163712,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:37:42] local.INFO: Acknowledgment sent {"connection_id":163712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:37:42] local.INFO: TCP Data received {"connection_id":163713,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163713,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:37:42] local.INFO: Processing buffer {"connection_id":163713,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:37:42] local.INFO: IMEI packet received {"connection_id":163713,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 19:37:42] local.INFO: IMEI acknowledgment sent {"connection_id":163713,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:37:45] local.INFO: TCP Data received {"connection_id":163712,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048b1b950012d34c14006aa4840000d00e62b..."} 
[2026-08-28 19:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048b1b950012d34c14006aa4840000d00e62b..."} 
[2026-08-28 19:37:45] local.INFO: Processing buffer {"connection_id":163712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048b1b950012d34c14006aa4840000d00e62b..."} 
[2026-08-28 19:37:45] local.INFO: Packet analysis {"connection_id":163712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048b1"} 
[2026-08-28 19:37:45] local.INFO: Extracted packet for processing {"connection_id":163712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048b1"} 
[2026-08-28 19:37:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19: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-28 19:37:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708979456001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:37:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:37:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:37:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:37:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787926002000,"timestamp_ms":1787926002000,"timestamp_seconds":1787926002,"priority":1,"record_length":96,"hex_timestamp":"000001a048b1b950"} 
[2026-08-28 19: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-28 19:37:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 19:37: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-28 19: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-28 19: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-28 19:37:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:37:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:37:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:37:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:37:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:37:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:37:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:37:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708979456001,"66":25397,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:37:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:37:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:37:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708979456001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:37:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:37:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19: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-28 19:37:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:37:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708979456001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:37:45] local.INFO: DEBUG: GPS processor result {"connection_id":163712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:37:45] local.INFO: GPS data processed {"connection_id":163712,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:37:45] local.INFO: Acknowledgment sent {"connection_id":163712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:37:47] local.INFO: TCP Data received {"connection_id":163713,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163713,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:37:47] local.INFO: Processing buffer {"connection_id":163713,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:37:47] local.INFO: IMEI packet received {"connection_id":163713,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 19:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":163713,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:37:47] local.INFO: TCP Data received {"connection_id":163713,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163713,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:37:47] local.INFO: Processing buffer {"connection_id":163713,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:37:47] local.INFO: IMEI packet received {"connection_id":163713,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 19:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":163713,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:37:48] local.INFO: TCP Data received {"connection_id":163713,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048b1c8f0012d138080071ef6a8002c002f2b..."} 
[2026-08-28 19:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048b1c8f0012d138080071ef6a8002c002f2b..."} 
[2026-08-28 19:37:48] local.INFO: Processing buffer {"connection_id":163713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048b1c8f0012d138080071ef6a8002c002f2b..."} 
[2026-08-28 19:37:48] local.INFO: Packet analysis {"connection_id":163713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048b1"} 
[2026-08-28 19:37:48] local.INFO: Extracted packet for processing {"connection_id":163713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048b1"} 
[2026-08-28 19:37:48] local.INFO: GPS Element Parsed {"raw_longitude":756252800,"raw_latitude":119469736,"longitude_deg":75.62528,"latitude_deg":11.9469736,"altitude":44,"angle":47,"satellites":43,"speed":14,"hex_longitude":"2d138080","hex_latitude":"071ef6a8","is_valid_coordinates":true} 
[2026-08-28 19: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-28 19:37:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709057280001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:37:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16069237885894656,"note":"Value kept but may cause issues"} 
[2026-08-28 19:37:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1405052745579612160,"note":"Value kept but may cause issues"} 
[2026-08-28 19:37:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:37:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787926006000,"timestamp_ms":1787926006000,"timestamp_seconds":1787926006,"priority":1,"record_length":96,"hex_timestamp":"000001a048b1c8f0"} 
[2026-08-28 19: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-28 19:37:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-28 19:37:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19: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-28 19: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-28 19:37:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:37:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:37:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:37:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:37:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:37:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:37:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:37:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709057280001,"66":13428,"11":206,"83":41984,"24":14,"16":16069237885894656,"45":1405052745579612160},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-08-28 19:37:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:37:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:37:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709057280001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:37:48] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-28 19:37:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:37:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16069237885894656,"km_value":16069237885894.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:37:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1405052745579612160,"description":"Unknown IO ID 45"} 
[2026-08-28 19:37:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709057280001,"power":13428,"unknown_11":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1405052745579612160}} 
[2026-08-28 19:37:48] 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":709912,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:37:48] local.INFO: GPS data processed {"connection_id":163713,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:37:48] local.INFO: Acknowledgment sent {"connection_id":163713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:37:56] local.INFO: TCP Data received {"connection_id":166356,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166356,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:37:56] local.INFO: Processing buffer {"connection_id":166356,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:37:56] local.INFO: IMEI packet received {"connection_id":166356,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 19:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":166356,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:38:01] local.INFO: TCP Data received {"connection_id":166356,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166356,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:38:01] local.INFO: Processing buffer {"connection_id":166356,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:38:01] local.INFO: IMEI packet received {"connection_id":166356,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 19:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":166356,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:38:03] local.INFO: TCP Data received {"connection_id":166356,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048afa9f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048afa9f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:38:03] local.INFO: Processing buffer {"connection_id":166356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048afa9f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:38:03] local.INFO: Packet analysis {"connection_id":166356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048af"} 
[2026-08-28 19:38:03] local.INFO: Extracted packet for processing {"connection_id":166356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048af"} 
[2026-08-28 19:38:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708944896001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:38:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787925867000,"timestamp_ms":1787925867000,"timestamp_seconds":1787925867,"priority":1,"record_length":96,"hex_timestamp":"000001a048afa9f8"} 
[2026-08-28 19:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:38:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 19:38:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:38:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":166356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":166356,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":166356,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:38:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708944896001,"66":25234,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708944896001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:38:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:38:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708944896001,"power":25234,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":166356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709913,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:38:03] local.INFO: GPS data processed {"connection_id":166356,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:38:03] local.INFO: Acknowledgment sent {"connection_id":166356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:38:19] local.INFO: TCP Data received {"connection_id":163713,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048b1d0c0012d138340071ef850002c00422b..."} 
[2026-08-28 19:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048b1d0c0012d138340071ef850002c00422b..."} 
[2026-08-28 19:38:19] local.INFO: Processing buffer {"connection_id":163713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048b1d0c0012d138340071ef850002c00422b..."} 
[2026-08-28 19:38:19] local.INFO: Packet analysis {"connection_id":163713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048b1"} 
[2026-08-28 19:38:19] local.INFO: Extracted packet for processing {"connection_id":163713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048b1"} 
[2026-08-28 19:38:19] local.INFO: GPS Element Parsed {"raw_longitude":756253504,"raw_latitude":119470160,"longitude_deg":75.6253504,"latitude_deg":11.947016,"altitude":44,"angle":66,"satellites":43,"speed":16,"hex_longitude":"2d138340","hex_latitude":"071ef850","is_valid_coordinates":true} 
[2026-08-28 19: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-28 19:38:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709057536001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:38:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16069276540600320,"note":"Value kept but may cause issues"} 
[2026-08-28 19:38:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1405263851812202496,"note":"Value kept but may cause issues"} 
[2026-08-28 19:38:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:38:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787926008000,"timestamp_ms":1787926008000,"timestamp_seconds":1787926008,"priority":1,"record_length":96,"hex_timestamp":"000001a048b1d0c0"} 
[2026-08-28 19: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-28 19:38:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19:38:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-28 19:38:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19: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-28 19: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-28 19:38:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:38:19] local.INFO: Teltonika packet parsed successfully {"connection_id":163713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:38:19] local.INFO: Passing IMEI to GPS processor {"connection_id":163713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:38:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":163713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:38:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:38:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:38:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:38:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709057536001,"66":13472,"11":206,"83":41984,"24":16,"16":16069276540600320,"45":1405263851812202496},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-08-28 19:38:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:38:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:38:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709057536001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:38:19] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-28 19:38:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:38:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16069276540600320,"km_value":16069276540600.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:38:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1405263851812202496,"description":"Unknown IO ID 45"} 
[2026-08-28 19:38:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709057536001,"power":13472,"unknown_11":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1405263851812202496}} 
[2026-08-28 19:38:19] 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":709914,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:38:19] local.INFO: GPS data processed {"connection_id":163713,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:38:19] local.INFO: Acknowledgment sent {"connection_id":163713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:38:30] local.INFO: TCP Data received {"connection_id":165004,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:38:30] local.INFO: Processing buffer {"connection_id":165004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:38:30] local.INFO: IMEI packet received {"connection_id":165004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 19:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":165004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:38:35] local.INFO: TCP Data received {"connection_id":166356,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048afa9f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048afa9f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:38:35] local.INFO: Processing buffer {"connection_id":166356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048afa9f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:38:35] local.INFO: Packet analysis {"connection_id":166356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048af"} 
[2026-08-28 19:38:35] local.INFO: Extracted packet for processing {"connection_id":166356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048af"} 
[2026-08-28 19:38:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708944896001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:38:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:38:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787925867000,"timestamp_ms":1787925867000,"timestamp_seconds":1787925867,"priority":1,"record_length":96,"hex_timestamp":"000001a048afa9f8"} 
[2026-08-28 19:38:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:38:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 19:38:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:38:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:38:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":166356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":166356,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":166356,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:38:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:38:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:38:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:38:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708944896001,"66":25234,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:38:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:38:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:38:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708944896001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:38:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:38:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:38:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:38:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:38:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708944896001,"power":25234,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:38:35] local.INFO: DEBUG: GPS processor result {"connection_id":166356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709915,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:38:35] local.INFO: GPS data processed {"connection_id":166356,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:38:35] local.INFO: Acknowledgment sent {"connection_id":166356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:38:35] local.INFO: TCP Data received {"connection_id":165004,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:38:35] local.INFO: Processing buffer {"connection_id":165004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:38:35] local.INFO: IMEI packet received {"connection_id":165004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 19:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":165004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:38:37] local.INFO: TCP Data received {"connection_id":165004,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048b1b950012d34c14006aa4840000d00e62b..."} 
[2026-08-28 19:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048b1b950012d34c14006aa4840000d00e62b..."} 
[2026-08-28 19:38:37] local.INFO: Processing buffer {"connection_id":165004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048b1b950012d34c14006aa4840000d00e62b..."} 
[2026-08-28 19:38:37] local.INFO: Packet analysis {"connection_id":165004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048b1"} 
[2026-08-28 19:38:37] local.INFO: Extracted packet for processing {"connection_id":165004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048b1"} 
[2026-08-28 19:38:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708979456001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787926002000,"timestamp_ms":1787926002000,"timestamp_seconds":1787926002,"priority":1,"record_length":96,"hex_timestamp":"000001a048b1b950"} 
[2026-08-28 19:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 19:38:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":165004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":165004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":165004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708979456001,"66":25397,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708979456001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:38:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:38:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:38: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-28 19:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708979456001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":165004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:38:37] local.INFO: GPS data processed {"connection_id":165004,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:38:37] local.INFO: Acknowledgment sent {"connection_id":165004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:38:47] local.INFO: TCP Data received {"connection_id":166357,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:38:47] local.INFO: Processing buffer {"connection_id":166357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:38:47] local.INFO: IMEI packet received {"connection_id":166357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 19:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":166357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:38:50] local.INFO: TCP Data received {"connection_id":166357,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:38:50] local.INFO: Processing buffer {"connection_id":166357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:38:50] local.INFO: IMEI packet received {"connection_id":166357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 19:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":166357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:38:51] local.INFO: TCP Data received {"connection_id":166357,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048b222c8012d139ec0071f0450002e003e29..."} 
[2026-08-28 19:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048b222c8012d139ec0071f0450002e003e29..."} 
[2026-08-28 19:38:51] local.INFO: Processing buffer {"connection_id":166357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048b222c8012d139ec0071f0450002e003e29..."} 
[2026-08-28 19:38:51] local.INFO: Packet analysis {"connection_id":166357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048b2"} 
[2026-08-28 19:38:51] local.INFO: Extracted packet for processing {"connection_id":166357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048b2"} 
[2026-08-28 19:38:51] local.INFO: GPS Element Parsed {"raw_longitude":756260544,"raw_latitude":119473232,"longitude_deg":75.6260544,"latitude_deg":11.9473232,"altitude":46,"angle":62,"satellites":41,"speed":0,"hex_longitude":"2d139ec0","hex_latitude":"071f0450","is_valid_coordinates":true} 
[2026-08-28 19: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-28 19:38:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709058048001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:38:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16069641612820480,"note":"Value kept but may cause issues"} 
[2026-08-28 19:38:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1406037907998265344,"note":"Value kept but may cause issues"} 
[2026-08-28 19:38:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:38:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787926029000,"timestamp_ms":1787926029000,"timestamp_seconds":1787926029,"priority":1,"record_length":96,"hex_timestamp":"000001a048b222c8"} 
[2026-08-28 19: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-28 19:38:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-28 19:38:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19: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-28 19: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-28 19:38:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:38:51] local.INFO: Teltonika packet parsed successfully {"connection_id":166357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:38:51] local.INFO: Passing IMEI to GPS processor {"connection_id":166357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:38:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":166357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:38:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:38:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:38:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:38:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709058048001,"66":13537,"11":206,"83":41984,"24":0,"16":16069641612820480,"45":1406037907998265344},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-08-28 19:38:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:38:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:38:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709058048001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:38:51] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-28 19:38:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:38:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16069641612820480,"km_value":16069641612820.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:38:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1406037907998265344,"description":"Unknown IO ID 45"} 
[2026-08-28 19:38:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709058048001,"power":13537,"unknown_11":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1406037907998265344}} 
[2026-08-28 19:38:51] local.INFO: DEBUG: GPS processor result {"connection_id":166357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709917,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:38:51] local.INFO: GPS data processed {"connection_id":166357,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:38:51] local.INFO: Acknowledgment sent {"connection_id":166357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:38:53] local.INFO: TCP Data received {"connection_id":166357,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048b274d0012d13be00071f13800030004028..."} 
[2026-08-28 19:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048b274d0012d13be00071f13800030004028..."} 
[2026-08-28 19:38:53] local.INFO: Processing buffer {"connection_id":166357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048b274d0012d13be00071f13800030004028..."} 
[2026-08-28 19:38:53] local.INFO: Packet analysis {"connection_id":166357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048b2"} 
[2026-08-28 19:38:53] local.INFO: Extracted packet for processing {"connection_id":166357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048b2"} 
[2026-08-28 19:38:53] local.INFO: GPS Element Parsed {"raw_longitude":756268544,"raw_latitude":119477120,"longitude_deg":75.6268544,"latitude_deg":11.947712,"altitude":48,"angle":64,"satellites":40,"speed":33,"hex_longitude":"2d13be00","hex_latitude":"071f1380","is_valid_coordinates":true} 
[2026-08-28 19:38:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:38:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709063424001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:38:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16070066814582784,"note":"Value kept but may cause issues"} 
[2026-08-28 19:38:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1413778469858594816,"note":"Value kept but may cause issues"} 
[2026-08-28 19:38:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:38:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787926050000,"timestamp_ms":1787926050000,"timestamp_seconds":1787926050,"priority":1,"record_length":96,"hex_timestamp":"000001a048b274d0"} 
[2026-08-28 19:38:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:38:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19:38:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-08-28 19:38:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:38:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:38:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:38:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:38:53] local.INFO: Teltonika packet parsed successfully {"connection_id":166357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:38:53] local.INFO: Passing IMEI to GPS processor {"connection_id":166357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:38:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":166357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:38:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:38:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:38:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:38:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709063424001,"66":13124,"11":206,"83":41984,"24":33,"16":16070066814582784,"45":1413778469858594816},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-08-28 19:38:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:38:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:38:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709063424001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:38:53] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-28 19:38:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:38:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16070066814582784,"km_value":16070066814582.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:38:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1413778469858594816,"description":"Unknown IO ID 45"} 
[2026-08-28 19:38:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709063424001,"power":13124,"unknown_11":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1413778469858594816}} 
[2026-08-28 19:38:53] local.INFO: DEBUG: GPS processor result {"connection_id":166357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709918,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:38:53] local.INFO: GPS data processed {"connection_id":166357,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:38:53] local.INFO: Acknowledgment sent {"connection_id":166357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:39:01] local.INFO: TCP Data received {"connection_id":165005,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165005,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:39:01] local.INFO: Processing buffer {"connection_id":165005,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:39:01] local.INFO: IMEI packet received {"connection_id":165005,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 19:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":165005,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:39:06] local.INFO: TCP Data received {"connection_id":165005,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165005,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:39:06] local.INFO: Processing buffer {"connection_id":165005,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:39:06] local.INFO: IMEI packet received {"connection_id":165005,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 19:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":165005,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:39:07] local.INFO: TCP Data received {"connection_id":165005,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048afa9f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048afa9f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:39:07] local.INFO: Processing buffer {"connection_id":165005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048afa9f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:39:07] local.INFO: Packet analysis {"connection_id":165005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048af"} 
[2026-08-28 19:39:07] local.INFO: Extracted packet for processing {"connection_id":165005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048af"} 
[2026-08-28 19:39:07] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708944896001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:39:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:39:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787925867000,"timestamp_ms":1787925867000,"timestamp_seconds":1787925867,"priority":1,"record_length":96,"hex_timestamp":"000001a048afa9f8"} 
[2026-08-28 19:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:39:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 19:39:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:39:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":165005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":165005,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":165005,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:39:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708944896001,"66":25234,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708944896001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:39:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:39:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:39:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708944896001,"power":25234,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":165005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709919,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:39:08] local.INFO: GPS data processed {"connection_id":165005,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:39:08] local.INFO: Acknowledgment sent {"connection_id":165005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:39:08] local.INFO: TCP Data received {"connection_id":165004,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048b1b950012d34c14006aa4840000d00e62b..."} 
[2026-08-28 19:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048b1b950012d34c14006aa4840000d00e62b..."} 
[2026-08-28 19:39:08] local.INFO: Processing buffer {"connection_id":165004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048b1b950012d34c14006aa4840000d00e62b..."} 
[2026-08-28 19:39:08] local.INFO: Packet analysis {"connection_id":165004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048b1"} 
[2026-08-28 19:39:08] local.INFO: Extracted packet for processing {"connection_id":165004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048b1"} 
[2026-08-28 19:39:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708979456001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:39:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787926002000,"timestamp_ms":1787926002000,"timestamp_seconds":1787926002,"priority":1,"record_length":96,"hex_timestamp":"000001a048b1b950"} 
[2026-08-28 19:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:39:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 19:39:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:39:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":165004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":165004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":165004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:39:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708979456001,"66":25397,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708979456001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:39:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:39:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:39: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-28 19:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708979456001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":165004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:39:08] local.INFO: GPS data processed {"connection_id":165004,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:39:08] local.INFO: Acknowledgment sent {"connection_id":165004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:39:13] local.INFO: TCP Data received {"connection_id":165005,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048afa9f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048afa9f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:39:13] local.INFO: Processing buffer {"connection_id":165005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048afa9f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:39:13] local.INFO: Packet analysis {"connection_id":165005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048af"} 
[2026-08-28 19:39:13] local.INFO: Extracted packet for processing {"connection_id":165005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048af"} 
[2026-08-28 19:39:13] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19: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-28 19:39:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708944896001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:39:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:39:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:39:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:39:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787925867000,"timestamp_ms":1787925867000,"timestamp_seconds":1787925867,"priority":1,"record_length":96,"hex_timestamp":"000001a048afa9f8"} 
[2026-08-28 19: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-28 19:39:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19: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":190,"data_length":795,"current_offset":136} 
[2026-08-28 19:39:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19: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-28 19: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-28 19:39:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:39:13] local.INFO: Teltonika packet parsed successfully {"connection_id":165005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:39:13] local.INFO: Passing IMEI to GPS processor {"connection_id":165005,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:39:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":165005,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:39:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:39:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:39:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:39:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708944896001,"66":25234,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:39:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:39:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:39:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708944896001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:39:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:39:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:39:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:39:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:39:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708944896001,"power":25234,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:39:13] local.INFO: DEBUG: GPS processor result {"connection_id":165005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709921,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:39:13] local.INFO: GPS data processed {"connection_id":165005,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:39:13] local.INFO: Acknowledgment sent {"connection_id":165005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:39:24] local.INFO: TCP Data received {"connection_id":166357,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048b29be0012d13e140071f21d8002e00462a..."} 
[2026-08-28 19:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048b29be0012d13e140071f21d8002e00462a..."} 
[2026-08-28 19:39:24] local.INFO: Processing buffer {"connection_id":166357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048b29be0012d13e140071f21d8002e00462a..."} 
[2026-08-28 19:39:24] local.INFO: Packet analysis {"connection_id":166357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048b2"} 
[2026-08-28 19:39:24] local.INFO: Extracted packet for processing {"connection_id":166357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048b2"} 
[2026-08-28 19:39:24] local.INFO: GPS Element Parsed {"raw_longitude":756277568,"raw_latitude":119480792,"longitude_deg":75.6277568,"latitude_deg":11.9480792,"altitude":46,"angle":70,"satellites":42,"speed":40,"hex_longitude":"2d13e140","hex_latitude":"071f21d8","is_valid_coordinates":true} 
[2026-08-28 19:39:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:39:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709068800001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:39:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16070530671050752,"note":"Value kept but may cause issues"} 
[2026-08-28 19:39:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1422574562881798144,"note":"Value kept but may cause issues"} 
[2026-08-28 19:39:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:39:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787926060000,"timestamp_ms":1787926060000,"timestamp_seconds":1787926060,"priority":1,"record_length":96,"hex_timestamp":"000001a048b29be0"} 
[2026-08-28 19:39:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:39:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19:39:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-28 19:39:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:39:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:39:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:39:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:39:24] local.INFO: Teltonika packet parsed successfully {"connection_id":166357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:39:24] local.INFO: Passing IMEI to GPS processor {"connection_id":166357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:39:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":166357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:39:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:39:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:39:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:39:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709068800001,"66":13406,"11":206,"83":41984,"24":40,"16":16070530671050752,"45":1422574562881798144},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-08-28 19:39:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:39:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:39:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709068800001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:39:24] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-28 19:39:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:39:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16070530671050752,"km_value":16070530671050.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:39:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1422574562881798144,"description":"Unknown IO ID 45"} 
[2026-08-28 19:39:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709068800001,"power":13406,"unknown_11":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1422574562881798144}} 
[2026-08-28 19:39:24] local.INFO: DEBUG: GPS processor result {"connection_id":166357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709922,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:39:24] local.INFO: GPS data processed {"connection_id":166357,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:39:24] local.INFO: Acknowledgment sent {"connection_id":166357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:39:29] local.INFO: TCP Data received {"connection_id":163985,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:39:29] local.INFO: Processing buffer {"connection_id":163985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:39:29] local.INFO: IMEI packet received {"connection_id":163985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 19:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":163985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:39:35] local.INFO: TCP Data received {"connection_id":163985,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:39:35] local.INFO: Processing buffer {"connection_id":163985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:39:35] local.INFO: IMEI packet received {"connection_id":163985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 19:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":163985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:39:36] local.INFO: TCP Data received {"connection_id":163985,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048b1b950012d34c14006aa4840000d00e62b..."} 
[2026-08-28 19:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048b1b950012d34c14006aa4840000d00e62b..."} 
[2026-08-28 19:39:36] local.INFO: Processing buffer {"connection_id":163985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048b1b950012d34c14006aa4840000d00e62b..."} 
[2026-08-28 19:39:36] local.INFO: Packet analysis {"connection_id":163985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048b1"} 
[2026-08-28 19:39:36] local.INFO: Extracted packet for processing {"connection_id":163985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048b1"} 
[2026-08-28 19:39:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708979456001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:39:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787926002000,"timestamp_ms":1787926002000,"timestamp_seconds":1787926002,"priority":1,"record_length":96,"hex_timestamp":"000001a048b1b950"} 
[2026-08-28 19:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:39:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 19:39:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:39:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:39:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708979456001,"66":25397,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708979456001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:39:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:39:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708979456001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":163985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:39:36] local.INFO: GPS data processed {"connection_id":163985,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:39:36] local.INFO: Acknowledgment sent {"connection_id":163985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:39:43] local.INFO: TCP Data received {"connection_id":163714,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163714,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:39:43] local.INFO: Processing buffer {"connection_id":163714,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:39:43] local.INFO: IMEI packet received {"connection_id":163714,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 19:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":163714,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:39:47] local.INFO: TCP Data received {"connection_id":163714,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163714,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:39:47] local.INFO: Processing buffer {"connection_id":163714,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:39:47] local.INFO: IMEI packet received {"connection_id":163714,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 19:39:47] local.INFO: IMEI acknowledgment sent {"connection_id":163714,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:39:48] local.INFO: TCP Data received {"connection_id":163714,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048b2c2f0012d140440071f2d88002c00472a..."} 
[2026-08-28 19:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048b2c2f0012d140440071f2d88002c00472a..."} 
[2026-08-28 19:39:48] local.INFO: Processing buffer {"connection_id":163714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048b2c2f0012d140440071f2d88002c00472a..."} 
[2026-08-28 19:39:48] local.INFO: Packet analysis {"connection_id":163714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048b2"} 
[2026-08-28 19:39:48] local.INFO: Extracted packet for processing {"connection_id":163714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048b2"} 
[2026-08-28 19:39:48] local.INFO: GPS Element Parsed {"raw_longitude":756286528,"raw_latitude":119483784,"longitude_deg":75.6286528,"latitude_deg":11.9483784,"altitude":44,"angle":71,"satellites":42,"speed":36,"hex_longitude":"2d140440","hex_latitude":"071f2d88","is_valid_coordinates":true} 
[2026-08-28 19:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:39:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709071360001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:39:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16070981642616832,"note":"Value kept but may cause issues"} 
[2026-08-28 19:39:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1432496555811788800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:39:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:39:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787926070000,"timestamp_ms":1787926070000,"timestamp_seconds":1787926070,"priority":1,"record_length":96,"hex_timestamp":"000001a048b2c2f0"} 
[2026-08-28 19:39:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:39:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-28 19:39:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:39:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:39:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:39:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:39:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:39:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:39:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:39:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:39:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:39:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:39:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709071360001,"66":13319,"11":206,"83":41984,"24":36,"16":16070981642616832,"45":1432496555811788800},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-08-28 19:39:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:39:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:39:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709071360001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:39:48] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-28 19:39:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:39:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16070981642616832,"km_value":16070981642616.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:39:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1432496555811788800,"description":"Unknown IO ID 45"} 
[2026-08-28 19:39:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709071360001,"power":13319,"unknown_11":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1432496555811788800}} 
[2026-08-28 19:39:48] local.INFO: DEBUG: GPS processor result {"connection_id":163714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709924,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:39:48] local.INFO: GPS data processed {"connection_id":163714,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:39:48] local.INFO: Acknowledgment sent {"connection_id":163714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:39:56] local.INFO: TCP Data received {"connection_id":166358,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166358,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:39:56] local.INFO: Processing buffer {"connection_id":166358,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:39:56] local.INFO: IMEI packet received {"connection_id":166358,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 19:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":166358,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:40:01] local.INFO: TCP Data received {"connection_id":166358,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166358,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:40:01] local.INFO: Processing buffer {"connection_id":166358,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:40:01] local.INFO: IMEI packet received {"connection_id":166358,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 19:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":166358,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:40:02] local.INFO: TCP Data received {"connection_id":166358,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048afa9f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048afa9f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:40:02] local.INFO: Processing buffer {"connection_id":166358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048afa9f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:40:02] local.INFO: Packet analysis {"connection_id":166358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048af"} 
[2026-08-28 19:40:02] local.INFO: Extracted packet for processing {"connection_id":166358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048af"} 
[2026-08-28 19:40:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708944896001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:40:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:40:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787925867000,"timestamp_ms":1787925867000,"timestamp_seconds":1787925867,"priority":1,"record_length":96,"hex_timestamp":"000001a048afa9f8"} 
[2026-08-28 19:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:40:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 19:40:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:40:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":166358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":166358,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":166358,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:40:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708944896001,"66":25234,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708944896001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:40:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:40:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:40:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708944896001,"power":25234,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":166358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709925,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:40:03] local.INFO: GPS data processed {"connection_id":166358,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:40:03] local.INFO: Acknowledgment sent {"connection_id":166358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:40:08] local.INFO: TCP Data received {"connection_id":163985,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048b1b950012d34c14006aa4840000d00e62b..."} 
[2026-08-28 19:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048b1b950012d34c14006aa4840000d00e62b..."} 
[2026-08-28 19:40:08] local.INFO: Processing buffer {"connection_id":163985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048b1b950012d34c14006aa4840000d00e62b..."} 
[2026-08-28 19:40:08] local.INFO: Packet analysis {"connection_id":163985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048b1"} 
[2026-08-28 19:40:08] local.INFO: Extracted packet for processing {"connection_id":163985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048b1"} 
[2026-08-28 19:40:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708979456001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:40:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787926002000,"timestamp_ms":1787926002000,"timestamp_seconds":1787926002,"priority":1,"record_length":96,"hex_timestamp":"000001a048b1b950"} 
[2026-08-28 19:40:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:40:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 19:40:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:40:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:40:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:40:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708979456001,"66":25397,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708979456001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:40:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:40:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:40: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-28 19:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708979456001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":163985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:40:08] local.INFO: GPS data processed {"connection_id":163985,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:40:08] local.INFO: Acknowledgment sent {"connection_id":163985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:40:19] local.INFO: TCP Data received {"connection_id":163714,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048b2ede8012d1428c0071f3920002b00472b..."} 
[2026-08-28 19:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048b2ede8012d1428c0071f3920002b00472b..."} 
[2026-08-28 19:40:19] local.INFO: Processing buffer {"connection_id":163714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048b2ede8012d1428c0071f3920002b00472b..."} 
[2026-08-28 19:40:19] local.INFO: Packet analysis {"connection_id":163714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048b2"} 
[2026-08-28 19:40:19] local.INFO: Extracted packet for processing {"connection_id":163714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048b2"} 
[2026-08-28 19:40:19] local.INFO: GPS Element Parsed {"raw_longitude":756295872,"raw_latitude":119486752,"longitude_deg":75.6295872,"latitude_deg":11.9486752,"altitude":43,"angle":71,"satellites":43,"speed":35,"hex_longitude":"2d1428c0","hex_latitude":"071f3920","is_valid_coordinates":true} 
[2026-08-28 19:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:40:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709073920001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:40:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16071445499084800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:40:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1442348179997427712,"note":"Value kept but may cause issues"} 
[2026-08-28 19:40:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:40:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787926081000,"timestamp_ms":1787926081000,"timestamp_seconds":1787926081,"priority":1,"record_length":96,"hex_timestamp":"000001a048b2ede8"} 
[2026-08-28 19:40:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:40:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-28 19:40:19] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-28 19:40:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-28 19:40:19] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-08-28 19:40:19] local.WARNING: Large IO value detected {"io_id":72,"raw_value":2983247873,"note":"Value kept but may cause issues"} 
[2026-08-28 19:40:19] local.WARNING: Large IO value detected {"io_id":30,"raw_value":-846676545261000448,"note":"Value kept but may cause issues"} 
[2026-08-28 19:40:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1711997134,"corrected_to":0} 
[2026-08-28 19:40:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4026608915,"corrected_to":0} 
[2026-08-28 19:40:19] local.WARNING: Large IO value detected {"io_id":128,"raw_value":2147950326,"note":"Value kept but may cause issues"} 
[2026-08-28 19:40:19] local.WARNING: Large IO value detected {"io_id":172,"raw_value":57814567669879716,"note":"Value kept but may cause issues"} 
[2026-08-28 19:40:19] local.WARNING: Large IO value detected {"io_id":177,"raw_value":-5093569885443801081,"note":"Value kept but may cause issues"} 
[2026-08-28 19:40:19] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,11,83,24,241,157,16,160,155,45,64,33,46,42,10,66,116,19,48,40,23,34,192,1,240,225,227,72,30,4,113,205,200,128,168,43,239,52,2,57,7,9,172,177],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1711997134,"validated":0},{"io_id":200,"original":4026608915,"validated":0}]} 
[2026-08-28 19:40:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3170612383385387008,"timestamp_seconds":3170612383385387.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 19:40:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:40:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:40:19] local.INFO: Teltonika packet parsed successfully {"connection_id":163714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:40:19] local.INFO: Passing IMEI to GPS processor {"connection_id":163714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:40:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":163714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:40:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:40:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:40:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:40:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709073920001,"66":13461,"11":206,"83":41984,"24":35,"16":16071445499084800,"45":1442348179997427712},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,83,24,16,45]} 
[2026-08-28 19:40:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:40:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:40:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709073920001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:40:19] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-28 19:40:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:40:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16071445499084800,"km_value":16071445499084.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:40:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1442348179997427712,"description":"Unknown IO ID 45"} 
[2026-08-28 19:40:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709073920001,"power":13461,"unknown_11":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1442348179997427712}} 
[2026-08-28 19:40:19] local.INFO: DEBUG: GPS processor result {"connection_id":163714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709927,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:40:19] local.INFO: GPS data processed {"connection_id":163714,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:40:19] local.INFO: Acknowledgment sent {"connection_id":163714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:40:34] local.INFO: TCP Data received {"connection_id":166358,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048b441c0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048b441c0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:40:34] local.INFO: Processing buffer {"connection_id":166358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048b441c0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:40:34] local.INFO: Packet analysis {"connection_id":166358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048b4"} 
[2026-08-28 19:40:34] local.INFO: Extracted packet for processing {"connection_id":166358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048b4"} 
[2026-08-28 19:40:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709021952001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:40:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787926168000,"timestamp_ms":1787926168000,"timestamp_seconds":1787926168,"priority":1,"record_length":96,"hex_timestamp":"000001a048b441c0"} 
[2026-08-28 19:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:40:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-28 19:40:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:40:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":166358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":166358,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":166358,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:40:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709021952001,"66":25245,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709021952001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:40:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:40:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709021952001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":166358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709928,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:40:34] local.INFO: GPS data processed {"connection_id":166358,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:40:34] local.INFO: Acknowledgment sent {"connection_id":166358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:40:35] local.INFO: TCP Data received {"connection_id":163986,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:40:35] local.INFO: Processing buffer {"connection_id":163986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:40:35] local.INFO: IMEI packet received {"connection_id":163986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 19:40:35] local.INFO: IMEI acknowledgment sent {"connection_id":163986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:40:40] local.INFO: TCP Data received {"connection_id":163986,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:40:40] local.INFO: Processing buffer {"connection_id":163986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:40:40] local.INFO: IMEI packet received {"connection_id":163986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 19:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":163986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:40:43] local.INFO: TCP Data received {"connection_id":165006,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165006,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:40:43] local.INFO: Processing buffer {"connection_id":165006,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:40:43] local.INFO: IMEI packet received {"connection_id":165006,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 19:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":165006,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:40:44] local.INFO: TCP Data received {"connection_id":165006,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165006,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:40:44] local.INFO: Processing buffer {"connection_id":165006,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:40:44] local.INFO: IMEI packet received {"connection_id":165006,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 19:40:44] local.INFO: IMEI acknowledgment sent {"connection_id":165006,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:40:45] local.INFO: TCP Data received {"connection_id":165006,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048b48040012d153580071fc558002a00492b..."} 
[2026-08-28 19:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048b48040012d153580071fc558002a00492b..."} 
[2026-08-28 19:40:45] local.INFO: Processing buffer {"connection_id":165006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048b48040012d153580071fc558002a00492b..."} 
[2026-08-28 19:40:45] local.INFO: Packet analysis {"connection_id":165006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048b4"} 
[2026-08-28 19:40:45] local.INFO: Extracted packet for processing {"connection_id":165006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048b4"} 
[2026-08-28 19:40:45] local.INFO: GPS Element Parsed {"raw_longitude":756364672,"raw_latitude":119522648,"longitude_deg":75.6364672,"latitude_deg":11.9522648,"altitude":42,"angle":73,"satellites":43,"speed":47,"hex_longitude":"2d153580","hex_latitude":"071fc558","is_valid_coordinates":true} 
[2026-08-28 19: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-28 19:40:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709102336001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:40:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16075186415599616,"note":"Value kept but may cause issues"} 
[2026-08-28 19:40:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1524679610694873088,"note":"Value kept but may cause issues"} 
[2026-08-28 19:40:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:40:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787926184000,"timestamp_ms":1787926184000,"timestamp_seconds":1787926184,"priority":1,"record_length":96,"hex_timestamp":"000001a048b48040"} 
[2026-08-28 19: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-28 19:40:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19: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":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-08-28 19:40:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19: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-28 19: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-28 19:40:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:40:45] local.INFO: Teltonika packet parsed successfully {"connection_id":165006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:40:45] local.INFO: Passing IMEI to GPS processor {"connection_id":165006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:40:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":165006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:40:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:40:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:40:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:40:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709102336001,"66":13135,"87":206,"83":41984,"24":47,"16":16075186415599616,"45":1524679610694873088},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-08-28 19:40:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:40:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:40:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709102336001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:40:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-28 19:40:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:40:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16075186415599616,"km_value":16075186415599.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:40:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1524679610694873088,"description":"Unknown IO ID 45"} 
[2026-08-28 19:40:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709102336001,"power":13135,"unknown_87":206,"unknown_83":41984,"ignition":47,"odometer":null,"unknown_45":1524679610694873088}} 
[2026-08-28 19:40:45] 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":709929,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:40:45] local.INFO: GPS data processed {"connection_id":165006,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:40:45] local.INFO: Acknowledgment sent {"connection_id":165006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:40:48] local.INFO: TCP Data received {"connection_id":163986,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048b1b950012d34c14006aa4840000d00e62b..."} 
[2026-08-28 19:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048b1b950012d34c14006aa4840000d00e62b..."} 
[2026-08-28 19:40:48] local.INFO: Processing buffer {"connection_id":163986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048b1b950012d34c14006aa4840000d00e62b..."} 
[2026-08-28 19:40:48] local.INFO: Packet analysis {"connection_id":163986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048b1"} 
[2026-08-28 19:40:48] local.INFO: Extracted packet for processing {"connection_id":163986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048b1"} 
[2026-08-28 19:40:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19: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-28 19:40:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708979456001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:40:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:40:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:40:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:40:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787926002000,"timestamp_ms":1787926002000,"timestamp_seconds":1787926002,"priority":1,"record_length":96,"hex_timestamp":"000001a048b1b950"} 
[2026-08-28 19: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-28 19:40:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 19:40: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-28 19: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-28 19: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-28 19:40:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:40:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:40:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:40:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:40:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:40:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:40:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:40:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708979456001,"66":25397,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:40:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:40:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:40:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708979456001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:40:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:40:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19: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-28 19:40:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:40:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708979456001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:40:48] local.INFO: DEBUG: GPS processor result {"connection_id":163986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:40:48] local.INFO: GPS data processed {"connection_id":163986,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:40:48] local.INFO: Acknowledgment sent {"connection_id":163986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:40:49] local.INFO: TCP Data received {"connection_id":163986,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048b1b950012d34c14006aa4840000d00e62b..."} 
[2026-08-28 19:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048b1b950012d34c14006aa4840000d00e62b..."} 
[2026-08-28 19:40:49] local.INFO: Processing buffer {"connection_id":163986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048b1b950012d34c14006aa4840000d00e62b..."} 
[2026-08-28 19:40:49] local.INFO: Packet analysis {"connection_id":163986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048b1"} 
[2026-08-28 19:40:49] local.INFO: Extracted packet for processing {"connection_id":163986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048b1"} 
[2026-08-28 19:40:49] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:40:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708979456001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:40:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:40:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:40:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:40:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787926002000,"timestamp_ms":1787926002000,"timestamp_seconds":1787926002,"priority":1,"record_length":96,"hex_timestamp":"000001a048b1b950"} 
[2026-08-28 19:40:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:40:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 19:40: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-28 19:40:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:40:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:40:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:40:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:40:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:40:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:40:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:40:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:40:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:40:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708979456001,"66":25397,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:40:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:40:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:40:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708979456001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:40:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:40:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19: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-28 19:40:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:40:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708979456001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:40:49] local.INFO: DEBUG: GPS processor result {"connection_id":163986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:40:49] local.INFO: GPS data processed {"connection_id":163986,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:40:49] local.INFO: Acknowledgment sent {"connection_id":163986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:40:56] local.INFO: TCP Data received {"connection_id":166359,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166359,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:40:56] local.INFO: Processing buffer {"connection_id":166359,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:40:56] local.INFO: IMEI packet received {"connection_id":166359,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 19:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":166359,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:41:01] local.INFO: TCP Data received {"connection_id":166359,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166359,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:41:01] local.INFO: Processing buffer {"connection_id":166359,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:41:01] local.INFO: IMEI packet received {"connection_id":166359,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 19:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":166359,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:41:02] local.INFO: TCP Data received {"connection_id":166359,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048b441c0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048b441c0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:41:02] local.INFO: Processing buffer {"connection_id":166359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048b441c0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:41:02] local.INFO: Packet analysis {"connection_id":166359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048b4"} 
[2026-08-28 19:41:02] local.INFO: Extracted packet for processing {"connection_id":166359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048b4"} 
[2026-08-28 19:41:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709021952001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:41:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:41:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787926168000,"timestamp_ms":1787926168000,"timestamp_seconds":1787926168,"priority":1,"record_length":96,"hex_timestamp":"000001a048b441c0"} 
[2026-08-28 19:41:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:41:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-28 19:41:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:41:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:41:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":166359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":166359,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":166359,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:41:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709021952001,"66":25245,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709021952001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:41:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:41:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:41:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:41:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709021952001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:41:02] local.INFO: DEBUG: GPS processor result {"connection_id":166359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709932,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:41:02] local.INFO: GPS data processed {"connection_id":166359,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:41:02] local.INFO: Acknowledgment sent {"connection_id":166359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:41:16] local.INFO: TCP Data received {"connection_id":165006,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048b48bf8012d1543c0071fc7a0002900562a..."} 
[2026-08-28 19:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048b48bf8012d1543c0071fc7a0002900562a..."} 
[2026-08-28 19:41:16] local.INFO: Processing buffer {"connection_id":165006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048b48bf8012d1543c0071fc7a0002900562a..."} 
[2026-08-28 19:41:16] local.INFO: Packet analysis {"connection_id":165006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048b4"} 
[2026-08-28 19:41:16] local.INFO: Extracted packet for processing {"connection_id":165006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048b4"} 
[2026-08-28 19:41:16] local.INFO: GPS Element Parsed {"raw_longitude":756368320,"raw_latitude":119523232,"longitude_deg":75.636832,"latitude_deg":11.9523232,"altitude":41,"angle":86,"satellites":42,"speed":48,"hex_longitude":"2d1543c0","hex_latitude":"071fc7a0","is_valid_coordinates":true} 
[2026-08-28 19:41:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:41:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709103104001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:41:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16075362509258752,"note":"Value kept but may cause issues"} 
[2026-08-28 19:41:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1528268416648304640,"note":"Value kept but may cause issues"} 
[2026-08-28 19:41:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:41:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787926187000,"timestamp_ms":1787926187000,"timestamp_seconds":1787926187,"priority":1,"record_length":96,"hex_timestamp":"000001a048b48bf8"} 
[2026-08-28 19:41:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:41:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19:41:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-28 19:41:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:41:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:41:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:41:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:41:16] local.INFO: Teltonika packet parsed successfully {"connection_id":165006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:41:16] local.INFO: Passing IMEI to GPS processor {"connection_id":165006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:41:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":165006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:41:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:41:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:41:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:41:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709103104001,"66":12689,"87":206,"83":41984,"24":48,"16":16075362509258752,"45":1528268416648304640},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-08-28 19:41:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:41:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:41:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709103104001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:41:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-28 19:41:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:41:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16075362509258752,"km_value":16075362509258.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:41:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1528268416648304640,"description":"Unknown IO ID 45"} 
[2026-08-28 19:41:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709103104001,"power":12689,"unknown_87":206,"unknown_83":41984,"ignition":48,"odometer":null,"unknown_45":1528268416648304640}} 
[2026-08-28 19:41:16] 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":709933,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:41:16] local.INFO: GPS data processed {"connection_id":165006,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:41:16] local.INFO: Acknowledgment sent {"connection_id":165006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:41:30] local.INFO: TCP Data received {"connection_id":166360,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:41:30] local.INFO: Processing buffer {"connection_id":166360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:41:30] local.INFO: IMEI packet received {"connection_id":166360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 19:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":166360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:41:35] local.INFO: TCP Data received {"connection_id":166360,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:41:35] local.INFO: Processing buffer {"connection_id":166360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:41:35] local.INFO: IMEI packet received {"connection_id":166360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 19:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":166360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:41:36] local.INFO: TCP Data received {"connection_id":166360,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048b1b950012d34c14006aa4840000d00e62b..."} 
[2026-08-28 19:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048b1b950012d34c14006aa4840000d00e62b..."} 
[2026-08-28 19:41:36] local.INFO: Processing buffer {"connection_id":166360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048b1b950012d34c14006aa4840000d00e62b..."} 
[2026-08-28 19:41:36] local.INFO: Packet analysis {"connection_id":166360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048b1"} 
[2026-08-28 19:41:36] local.INFO: Extracted packet for processing {"connection_id":166360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048b1"} 
[2026-08-28 19:41:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708979456001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787926002000,"timestamp_ms":1787926002000,"timestamp_seconds":1787926002,"priority":1,"record_length":96,"hex_timestamp":"000001a048b1b950"} 
[2026-08-28 19:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:41:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 19:41:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:41:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":166360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":166360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":166360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708979456001,"66":25397,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708979456001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:41:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:41:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708979456001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":166360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:41:36] local.INFO: GPS data processed {"connection_id":166360,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:41:36] local.INFO: Acknowledgment sent {"connection_id":166360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:41:36] local.INFO: TCP Data received {"connection_id":166359,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048b441c0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048b441c0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:41:36] local.INFO: Processing buffer {"connection_id":166359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048b441c0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:41:36] local.INFO: Packet analysis {"connection_id":166359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048b4"} 
[2026-08-28 19:41:36] local.INFO: Extracted packet for processing {"connection_id":166359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048b4"} 
[2026-08-28 19:41:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709021952001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787926168000,"timestamp_ms":1787926168000,"timestamp_seconds":1787926168,"priority":1,"record_length":96,"hex_timestamp":"000001a048b441c0"} 
[2026-08-28 19:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:41:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-28 19:41:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:41:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":166359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":166359,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":166359,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709021952001,"66":25245,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709021952001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:41:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:41:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709021952001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":166359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709935,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:41:37] local.INFO: GPS data processed {"connection_id":166359,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:41:37] local.INFO: Acknowledgment sent {"connection_id":166359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:41:43] local.INFO: TCP Data received {"connection_id":163987,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163987,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:41:43] local.INFO: Processing buffer {"connection_id":163987,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:41:43] local.INFO: IMEI packet received {"connection_id":163987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 19:41:43] local.INFO: IMEI acknowledgment sent {"connection_id":163987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:41:48] local.INFO: TCP Data received {"connection_id":163987,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163987,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:41:48] local.INFO: Processing buffer {"connection_id":163987,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:41:48] local.INFO: IMEI packet received {"connection_id":163987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 19:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":163987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:41:48] local.INFO: TCP Data received {"connection_id":163987,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048b4ab38012d156ac0071fc5600024005e29..."} 
[2026-08-28 19:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048b4ab38012d156ac0071fc5600024005e29..."} 
[2026-08-28 19:41:48] local.INFO: Processing buffer {"connection_id":163987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048b4ab38012d156ac0071fc5600024005e29..."} 
[2026-08-28 19:41:48] local.INFO: Packet analysis {"connection_id":163987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048b4"} 
[2026-08-28 19:41:48] local.INFO: Extracted packet for processing {"connection_id":163987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048b4"} 
[2026-08-28 19:41:48] local.INFO: GPS Element Parsed {"raw_longitude":756378304,"raw_latitude":119522656,"longitude_deg":75.6378304,"latitude_deg":11.9522656,"altitude":36,"angle":94,"satellites":41,"speed":48,"hex_longitude":"2d156ac0","hex_latitude":"071fc560","is_valid_coordinates":true} 
[2026-08-28 19:41:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:41:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709103872001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:41:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16075834955661312,"note":"Value kept but may cause issues"} 
[2026-08-28 19:41:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1532279435066580992,"note":"Value kept but may cause issues"} 
[2026-08-28 19:41:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:41:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787926195000,"timestamp_ms":1787926195000,"timestamp_seconds":1787926195,"priority":1,"record_length":96,"hex_timestamp":"000001a048b4ab38"} 
[2026-08-28 19:41:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:41:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19:41:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-28 19:41:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:41:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:41:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:41:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:41:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:41:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:41:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:41:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:41:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:41:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:41:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709103872001,"66":13504,"87":206,"83":41984,"24":48,"16":16075834955661312,"45":1532279435066580992},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-08-28 19:41:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:41:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:41:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709103872001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:41:48] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-28 19:41:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:41:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16075834955661312,"km_value":16075834955661.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:41:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1532279435066580992,"description":"Unknown IO ID 45"} 
[2026-08-28 19:41:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709103872001,"power":13504,"unknown_87":206,"unknown_83":41984,"ignition":48,"odometer":null,"unknown_45":1532279435066580992}} 
[2026-08-28 19:41:48] local.INFO: DEBUG: GPS processor result {"connection_id":163987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709936,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:41:48] local.INFO: GPS data processed {"connection_id":163987,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:41:48] local.INFO: Acknowledgment sent {"connection_id":163987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:42:01] local.INFO: TCP Data received {"connection_id":163715,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163715,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:42:01] local.INFO: Processing buffer {"connection_id":163715,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:42:01] local.INFO: IMEI packet received {"connection_id":163715,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 19:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":163715,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:42:06] local.INFO: TCP Data received {"connection_id":163715,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163715,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:42:06] local.INFO: Processing buffer {"connection_id":163715,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:42:06] local.INFO: IMEI packet received {"connection_id":163715,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 19:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":163715,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:42:08] local.INFO: TCP Data received {"connection_id":163715,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048b441c0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048b441c0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:42:08] local.INFO: Processing buffer {"connection_id":163715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048b441c0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:42:08] local.INFO: Packet analysis {"connection_id":163715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048b4"} 
[2026-08-28 19:42:08] local.INFO: Extracted packet for processing {"connection_id":163715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048b4"} 
[2026-08-28 19:42:08] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 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-28 19:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709021952001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:42:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787926168000,"timestamp_ms":1787926168000,"timestamp_seconds":1787926168,"priority":1,"record_length":96,"hex_timestamp":"000001a048b441c0"} 
[2026-08-28 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-28 19:42:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 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":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-28 19:42:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 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-28 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-28 19:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163715,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163715,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709021952001,"66":25245,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709021952001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:42:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:42:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709021952001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:42:08] 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":709937,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:42:08] local.INFO: GPS data processed {"connection_id":163715,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:42:08] local.INFO: Acknowledgment sent {"connection_id":163715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:42:13] local.INFO: TCP Data received {"connection_id":163715,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048b441c0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048b441c0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:42:13] local.INFO: Processing buffer {"connection_id":163715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048b441c0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:42:13] local.INFO: Packet analysis {"connection_id":163715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048b4"} 
[2026-08-28 19:42:13] local.INFO: Extracted packet for processing {"connection_id":163715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048b4"} 
[2026-08-28 19:42:13] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19: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-28 19:42:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709021952001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:42:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:42:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:42:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:42:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787926168000,"timestamp_ms":1787926168000,"timestamp_seconds":1787926168,"priority":1,"record_length":96,"hex_timestamp":"000001a048b441c0"} 
[2026-08-28 19: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-28 19:42:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19: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":146,"data_length":795,"current_offset":136} 
[2026-08-28 19:42:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19: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-28 19: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-28 19:42:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:42:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:42:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163715,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:42:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163715,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:42:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:42:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:42:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:42:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709021952001,"66":25245,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:42:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:42:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:42:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709021952001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:42:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:42:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:42:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:42:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:42:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709021952001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:42:13] 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":709938,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:42:13] local.INFO: GPS data processed {"connection_id":163715,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:42:13] local.INFO: Acknowledgment sent {"connection_id":163715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:42:13] local.INFO: TCP Data received {"connection_id":166360,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048b1b950012d34c14006aa4840000d00e62b..."} 
[2026-08-28 19:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048b1b950012d34c14006aa4840000d00e62b..."} 
[2026-08-28 19:42:13] local.INFO: Processing buffer {"connection_id":166360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048b1b950012d34c14006aa4840000d00e62b..."} 
[2026-08-28 19:42:13] local.INFO: Packet analysis {"connection_id":166360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048b1"} 
[2026-08-28 19:42:13] local.INFO: Extracted packet for processing {"connection_id":166360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048b1"} 
[2026-08-28 19:42:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19: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-28 19:42:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457708979456001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:42:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:42:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:42:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:42:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787926002000,"timestamp_ms":1787926002000,"timestamp_seconds":1787926002,"priority":1,"record_length":96,"hex_timestamp":"000001a048b1b950"} 
[2026-08-28 19: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-28 19:42:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19: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-28 19: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-28 19: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-28 19: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-28 19:42:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:42:13] local.INFO: Teltonika packet parsed successfully {"connection_id":166360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:42:13] local.INFO: Passing IMEI to GPS processor {"connection_id":166360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:42:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":166360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:42:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:42:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:42:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:42:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457708979456001,"66":25397,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:42:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:42:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:42:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457708979456001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:42:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:42:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19: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-28 19:42:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:42:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457708979456001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:42:13] local.INFO: DEBUG: GPS processor result {"connection_id":166360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:42:13] local.INFO: GPS data processed {"connection_id":166360,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:42:13] local.INFO: Acknowledgment sent {"connection_id":166360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:42:19] local.INFO: TCP Data received {"connection_id":163987,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048b4bad8012d157e40071fc620002300522a..."} 
[2026-08-28 19:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048b4bad8012d157e40071fc620002300522a..."} 
[2026-08-28 19:42:19] local.INFO: Processing buffer {"connection_id":163987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048b4bad8012d157e40071fc620002300522a..."} 
[2026-08-28 19:42:19] local.INFO: Packet analysis {"connection_id":163987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048b4"} 
[2026-08-28 19:42:19] local.INFO: Extracted packet for processing {"connection_id":163987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048b4"} 
[2026-08-28 19:42:19] local.INFO: GPS Element Parsed {"raw_longitude":756383296,"raw_latitude":119522848,"longitude_deg":75.6383296,"latitude_deg":11.9522848,"altitude":35,"angle":82,"satellites":42,"speed":48,"hex_longitude":"2d157e40","hex_latitude":"071fc620","is_valid_coordinates":true} 
[2026-08-28 19: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-28 19:42:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709105920001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:42:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16076071178862592,"note":"Value kept but may cause issues"} 
[2026-08-28 19:42:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1543256959158149120,"note":"Value kept but may cause issues"} 
[2026-08-28 19:42:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:42:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787926199000,"timestamp_ms":1787926199000,"timestamp_seconds":1787926199,"priority":1,"record_length":96,"hex_timestamp":"000001a048b4bad8"} 
[2026-08-28 19: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-28 19:42:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19:42:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-28 19:42:19] 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-28 19: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-28 19: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-28 19:42:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:42:19] local.INFO: Teltonika packet parsed successfully {"connection_id":163987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:42:19] local.INFO: Passing IMEI to GPS processor {"connection_id":163987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:42:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":163987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:42:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:42:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:42:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:42:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709105920001,"66":13417,"87":206,"83":41984,"24":48,"16":16076071178862592,"45":1543256959158149120},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-08-28 19:42:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:42:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:42:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709105920001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:42:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-28 19:42:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:42:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16076071178862592,"km_value":16076071178862.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:42:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1543256959158149120,"description":"Unknown IO ID 45"} 
[2026-08-28 19:42:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709105920001,"power":13417,"unknown_87":206,"unknown_83":41984,"ignition":48,"odometer":null,"unknown_45":1543256959158149120}} 
[2026-08-28 19:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":163987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709940,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:42:20] local.INFO: GPS data processed {"connection_id":163987,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:42:20] local.INFO: Acknowledgment sent {"connection_id":163987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:42:30] local.INFO: TCP Data received {"connection_id":163716,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:42:30] local.INFO: Processing buffer {"connection_id":163716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:42:30] local.INFO: IMEI packet received {"connection_id":163716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 19:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":163716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:42:35] local.INFO: TCP Data received {"connection_id":163716,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:42:35] local.INFO: Processing buffer {"connection_id":163716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:42:35] local.INFO: IMEI packet received {"connection_id":163716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 19:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":163716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:42:36] local.INFO: TCP Data received {"connection_id":163716,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048b65118012d34c14006aa4840000a00e62a..."} 
[2026-08-28 19:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048b65118012d34c14006aa4840000a00e62a..."} 
[2026-08-28 19:42:36] local.INFO: Processing buffer {"connection_id":163716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048b65118012d34c14006aa4840000a00e62a..."} 
[2026-08-28 19:42:36] local.INFO: Packet analysis {"connection_id":163716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048b6"} 
[2026-08-28 19:42:36] local.INFO: Extracted packet for processing {"connection_id":163716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048b6"} 
[2026-08-28 19:42:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709056512001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:42:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787926303000,"timestamp_ms":1787926303000,"timestamp_seconds":1787926303,"priority":1,"record_length":96,"hex_timestamp":"000001a048b65118"} 
[2026-08-28 19:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:42:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 19:42:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:42:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:42:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709056512001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709056512001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:42:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:42:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709056512001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":163716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:42:36] local.INFO: GPS data processed {"connection_id":163716,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:42:36] local.INFO: Acknowledgment sent {"connection_id":163716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:42:43] local.INFO: TCP Data received {"connection_id":165007,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165007,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:42:43] local.INFO: Processing buffer {"connection_id":165007,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:42:43] local.INFO: IMEI packet received {"connection_id":165007,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 19:42:43] local.INFO: IMEI acknowledgment sent {"connection_id":165007,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:42:48] local.INFO: TCP Data received {"connection_id":165007,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165007,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:42:48] local.INFO: Processing buffer {"connection_id":165007,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:42:48] local.INFO: IMEI packet received {"connection_id":165007,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 19:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":165007,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:42:49] local.INFO: TCP Data received {"connection_id":165007,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048b4da18012d15a280071fce980022004b2a..."} 
[2026-08-28 19:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048b4da18012d15a280071fce980022004b2a..."} 
[2026-08-28 19:42:49] local.INFO: Processing buffer {"connection_id":165007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048b4da18012d15a280071fce980022004b2a..."} 
[2026-08-28 19:42:49] local.INFO: Packet analysis {"connection_id":165007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048b4"} 
[2026-08-28 19:42:49] local.INFO: Extracted packet for processing {"connection_id":165007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048b4"} 
[2026-08-28 19:42:49] local.INFO: GPS Element Parsed {"raw_longitude":756392576,"raw_latitude":119525016,"longitude_deg":75.6392576,"latitude_deg":11.9525016,"altitude":34,"angle":75,"satellites":42,"speed":44,"hex_longitude":"2d15a280","hex_latitude":"071fce98","is_valid_coordinates":true} 
[2026-08-28 19: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-28 19:42:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709106944001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:42:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16076526445395968,"note":"Value kept but may cause issues"} 
[2026-08-28 19:42:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1548745721204056064,"note":"Value kept but may cause issues"} 
[2026-08-28 19:42:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:42:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787926207000,"timestamp_ms":1787926207000,"timestamp_seconds":1787926207,"priority":1,"record_length":96,"hex_timestamp":"000001a048b4da18"} 
[2026-08-28 19: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-28 19:42:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19: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":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-28 19:42:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19: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-28 19: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-28 19:42:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:42:49] local.INFO: Teltonika packet parsed successfully {"connection_id":165007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:42:49] local.INFO: Passing IMEI to GPS processor {"connection_id":165007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:42:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":165007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:42:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:42:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:42:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:42:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709106944001,"66":13352,"87":206,"83":41984,"24":44,"16":16076526445395968,"45":1548745721204056064},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-08-28 19:42:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:42:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:42:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709106944001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:42:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-28 19:42:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:42:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16076526445395968,"km_value":16076526445395.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:42:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1548745721204056064,"description":"Unknown IO ID 45"} 
[2026-08-28 19:42:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709106944001,"power":13352,"unknown_87":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1548745721204056064}} 
[2026-08-28 19:42:49] 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":709942,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:42:49] local.INFO: GPS data processed {"connection_id":165007,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:42:49] local.INFO: Acknowledgment sent {"connection_id":165007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:42:56] local.INFO: TCP Data received {"connection_id":163988,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163988,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:42:56] local.INFO: Processing buffer {"connection_id":163988,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:42:56] local.INFO: IMEI packet received {"connection_id":163988,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 19:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":163988,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:43:01] local.INFO: TCP Data received {"connection_id":163988,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163988,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:43:01] local.INFO: Processing buffer {"connection_id":163988,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:43:01] local.INFO: IMEI packet received {"connection_id":163988,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 19:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":163988,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:43:02] local.INFO: TCP Data received {"connection_id":163988,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048b441c0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048b441c0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:43:02] local.INFO: Processing buffer {"connection_id":163988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048b441c0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:43:02] local.INFO: Packet analysis {"connection_id":163988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048b4"} 
[2026-08-28 19:43:02] local.INFO: Extracted packet for processing {"connection_id":163988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048b4"} 
[2026-08-28 19:43:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709021952001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:43:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:43:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787926168000,"timestamp_ms":1787926168000,"timestamp_seconds":1787926168,"priority":1,"record_length":96,"hex_timestamp":"000001a048b441c0"} 
[2026-08-28 19:43:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:43:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-28 19:43:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:43:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:43:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163988,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163988,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:43:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709021952001,"66":25245,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709021952001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:43:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:43:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:43:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709021952001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:43:02] local.INFO: DEBUG: GPS processor result {"connection_id":163988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709943,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:43:02] local.INFO: GPS data processed {"connection_id":163988,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:43:02] local.INFO: Acknowledgment sent {"connection_id":163988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:43:08] local.INFO: TCP Data received {"connection_id":163716,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048b65118012d34c14006aa4840000a00e62a..."} 
[2026-08-28 19:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048b65118012d34c14006aa4840000a00e62a..."} 
[2026-08-28 19:43:08] local.INFO: Processing buffer {"connection_id":163716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048b65118012d34c14006aa4840000a00e62a..."} 
[2026-08-28 19:43:08] local.INFO: Packet analysis {"connection_id":163716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048b6"} 
[2026-08-28 19:43:08] local.INFO: Extracted packet for processing {"connection_id":163716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048b6"} 
[2026-08-28 19:43:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:43:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709056512001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:43:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:43:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:43:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:43:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787926303000,"timestamp_ms":1787926303000,"timestamp_seconds":1787926303,"priority":1,"record_length":96,"hex_timestamp":"000001a048b65118"} 
[2026-08-28 19:43:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:43:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 19:43:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:43:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:43:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:43:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:43:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:43:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:43:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:43:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:43:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:43:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:43:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709056512001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:43:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:43:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:43:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709056512001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:43:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:43:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:43: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-28 19:43:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:43:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709056512001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:43:08] local.INFO: DEBUG: GPS processor result {"connection_id":163716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:43:08] local.INFO: GPS data processed {"connection_id":163716,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:43:08] local.INFO: Acknowledgment sent {"connection_id":163716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:43:19] local.INFO: TCP Data received {"connection_id":165007,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048b71080012d164480071fd698002700972c..."} 
[2026-08-28 19:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048b71080012d164480071fd698002700972c..."} 
[2026-08-28 19:43:19] local.INFO: Processing buffer {"connection_id":165007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048b71080012d164480071fd698002700972c..."} 
[2026-08-28 19:43:19] local.INFO: Packet analysis {"connection_id":165007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048b7"} 
[2026-08-28 19:43:19] local.INFO: Extracted packet for processing {"connection_id":165007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048b7"} 
[2026-08-28 19:43:19] local.INFO: GPS Element Parsed {"raw_longitude":756434048,"raw_latitude":119527064,"longitude_deg":75.6434048,"latitude_deg":11.9527064,"altitude":39,"angle":151,"satellites":44,"speed":16,"hex_longitude":"2d164480","hex_latitude":"071fd698","is_valid_coordinates":true} 
[2026-08-28 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-28 19:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709145856001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:43:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16078828547866624,"note":"Value kept but may cause issues"} 
[2026-08-28 19:43:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1604266660361406464,"note":"Value kept but may cause issues"} 
[2026-08-28 19:43:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:43:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787926352000,"timestamp_ms":1787926352000,"timestamp_seconds":1787926352,"priority":1,"record_length":96,"hex_timestamp":"000001a048b71080"} 
[2026-08-28 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-28 19:43:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-28 19:43:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 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-28 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-28 19:43:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:43:19] local.INFO: Teltonika packet parsed successfully {"connection_id":165007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:43:19] local.INFO: Passing IMEI to GPS processor {"connection_id":165007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:43:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":165007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:43:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:43:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:43:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:43:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709145856001,"66":13059,"87":206,"83":41984,"24":16,"16":16078828547866624,"45":1604266660361406464},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-08-28 19:43:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:43:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:43:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709145856001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:43:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-28 19:43:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:43:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16078828547866624,"km_value":16078828547866.623,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:43:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1604266660361406464,"description":"Unknown IO ID 45"} 
[2026-08-28 19:43:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709145856001,"power":13059,"unknown_87":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1604266660361406464}} 
[2026-08-28 19:43:20] 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":709945,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:43:20] local.INFO: GPS data processed {"connection_id":165007,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:43:20] local.INFO: Acknowledgment sent {"connection_id":165007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:43:30] local.INFO: TCP Data received {"connection_id":163717,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:43:30] local.INFO: Processing buffer {"connection_id":163717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:43:30] local.INFO: IMEI packet received {"connection_id":163717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 19:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":163717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:43:34] local.INFO: TCP Data received {"connection_id":163988,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048b441c0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048b441c0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:43:34] local.INFO: Processing buffer {"connection_id":163988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048b441c0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:43:34] local.INFO: Packet analysis {"connection_id":163988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048b4"} 
[2026-08-28 19:43:34] local.INFO: Extracted packet for processing {"connection_id":163988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048b4"} 
[2026-08-28 19:43:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709021952001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:43:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787926168000,"timestamp_ms":1787926168000,"timestamp_seconds":1787926168,"priority":1,"record_length":96,"hex_timestamp":"000001a048b441c0"} 
[2026-08-28 19:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:43:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-28 19:43:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:43:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163988,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163988,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709021952001,"66":25245,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709021952001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:43:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:43:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709021952001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":163988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709946,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:43:34] local.INFO: GPS data processed {"connection_id":163988,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:43:34] local.INFO: Acknowledgment sent {"connection_id":163988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:43:35] local.INFO: TCP Data received {"connection_id":163717,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:43:35] local.INFO: Processing buffer {"connection_id":163717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:43:35] local.INFO: IMEI packet received {"connection_id":163717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 19:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":163717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:43:36] local.INFO: TCP Data received {"connection_id":163717,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048b65118012d34c14006aa4840000a00e62a..."} 
[2026-08-28 19:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048b65118012d34c14006aa4840000a00e62a..."} 
[2026-08-28 19:43:36] local.INFO: Processing buffer {"connection_id":163717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048b65118012d34c14006aa4840000a00e62a..."} 
[2026-08-28 19:43:36] local.INFO: Packet analysis {"connection_id":163717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048b6"} 
[2026-08-28 19:43:36] local.INFO: Extracted packet for processing {"connection_id":163717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048b6"} 
[2026-08-28 19:43:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709056512001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:43:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787926303000,"timestamp_ms":1787926303000,"timestamp_seconds":1787926303,"priority":1,"record_length":96,"hex_timestamp":"000001a048b65118"} 
[2026-08-28 19:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 19:43:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:43:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:43:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709056512001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709056512001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:43:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:43:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709056512001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:43:36] 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":709947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:43:36] local.INFO: GPS data processed {"connection_id":163717,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:43:36] local.INFO: Acknowledgment sent {"connection_id":163717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:43:41] local.INFO: TCP Data received {"connection_id":166361,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166361,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:43:41] local.INFO: Processing buffer {"connection_id":166361,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:43:41] local.INFO: IMEI packet received {"connection_id":166361,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 19:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":166361,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:43:42] local.INFO: TCP Data received {"connection_id":166361,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166361,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:43:42] local.INFO: Processing buffer {"connection_id":166361,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:43:42] local.INFO: IMEI packet received {"connection_id":166361,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 19:43:42] local.INFO: IMEI acknowledgment sent {"connection_id":166361,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:43:44] local.INFO: TCP Data received {"connection_id":166361,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166361,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:43:44] local.INFO: Processing buffer {"connection_id":166361,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:43:44] local.INFO: IMEI packet received {"connection_id":166361,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 19:43:44] local.INFO: IMEI acknowledgment sent {"connection_id":166361,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:43:48] local.INFO: TCP Data received {"connection_id":166361,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166361,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:43:48] local.INFO: Processing buffer {"connection_id":166361,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:43:48] local.INFO: IMEI packet received {"connection_id":166361,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 19:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":166361,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:43:48] local.INFO: TCP Data received {"connection_id":166361,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048b71850012d164540071fd3a8002600ad2c..."} 
[2026-08-28 19:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048b71850012d164540071fd3a8002600ad2c..."} 
[2026-08-28 19:43:48] local.INFO: Processing buffer {"connection_id":166361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048b71850012d164540071fd3a8002600ad2c..."} 
[2026-08-28 19:43:48] local.INFO: Packet analysis {"connection_id":166361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048b7"} 
[2026-08-28 19:43:48] local.INFO: Extracted packet for processing {"connection_id":166361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048b7"} 
[2026-08-28 19:43:48] local.INFO: GPS Element Parsed {"raw_longitude":756434240,"raw_latitude":119526312,"longitude_deg":75.643424,"latitude_deg":11.9526312,"altitude":38,"angle":173,"satellites":44,"speed":14,"hex_longitude":"2d164540","hex_latitude":"071fd3a8","is_valid_coordinates":true} 
[2026-08-28 19:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:43:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709146112001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:43:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16078867202572288,"note":"Value kept but may cause issues"} 
[2026-08-28 19:43:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1604548135338022912,"note":"Value kept but may cause issues"} 
[2026-08-28 19:43:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:43:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787926354000,"timestamp_ms":1787926354000,"timestamp_seconds":1787926354,"priority":1,"record_length":96,"hex_timestamp":"000001a048b71850"} 
[2026-08-28 19:43:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:43:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-28 19:43:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303174136155498,"note":"Value kept but may cause issues"} 
[2026-08-28 19:43:48] local.WARNING: Large IO value detected {"io_id":87,"raw_value":58075809043709964,"note":"Value kept but may cause issues"} 
[2026-08-28 19:43:48] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-28 19:43:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-28 19:43:48] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3731357735,"note":"Value kept but may cause issues"} 
[2026-08-28 19:43:48] local.WARNING: Large IO value detected {"io_id":72,"raw_value":3069007873,"note":"Value kept but may cause issues"} 
[2026-08-28 19:43:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1784086734,"corrected_to":0} 
[2026-08-28 19:43:48] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3221692383,"note":"Value kept but may cause issues"} 
[2026-08-28 19:43:48] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2768293226,"note":"Value kept but may cause issues"} 
[2026-08-28 19:43:48] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,87,83,24,241,157,16,31,160,12,45,128,216,39,44,10,66,245,64,220,192,1,240,154,227,72,4,113,205,9,233,56,88,239,53,2,57,7],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1784086734,"validated":0}]} 
[2026-08-28 19:43:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2810412382714593280,"timestamp_seconds":2810412382714593.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 19:43:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:43:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:43:48] local.INFO: Teltonika packet parsed successfully {"connection_id":166361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:43:48] local.INFO: Passing IMEI to GPS processor {"connection_id":166361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:43:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":166361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:43:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:43:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:43:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:43:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709146112001,"66":13417,"86":206,"83":41984,"24":14,"16":16078867202572288,"45":1604548135338022912},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,83,24,16,45]} 
[2026-08-28 19:43:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:43:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:43:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709146112001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:43:48] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-08-28 19:43:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:43:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16078867202572288,"km_value":16078867202572.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:43:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1604548135338022912,"description":"Unknown IO ID 45"} 
[2026-08-28 19:43:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709146112001,"power":13417,"unknown_86":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1604548135338022912}} 
[2026-08-28 19:43:49] local.INFO: DEBUG: GPS processor result {"connection_id":166361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709948,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:43:49] local.INFO: GPS data processed {"connection_id":166361,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:43:49] local.INFO: Acknowledgment sent {"connection_id":166361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:43:56] local.INFO: TCP Data received {"connection_id":165008,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165008,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:43:56] local.INFO: Processing buffer {"connection_id":165008,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:43:56] local.INFO: IMEI packet received {"connection_id":165008,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 19:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":165008,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:44:01] local.INFO: TCP Data received {"connection_id":165008,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165008,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:44:01] local.INFO: Processing buffer {"connection_id":165008,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:44:01] local.INFO: IMEI packet received {"connection_id":165008,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 19:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":165008,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:44:03] local.INFO: TCP Data received {"connection_id":165008,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048b441c0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048b441c0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:44:03] local.INFO: Processing buffer {"connection_id":165008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048b441c0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:44:03] local.INFO: Packet analysis {"connection_id":165008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048b4"} 
[2026-08-28 19:44:03] local.INFO: Extracted packet for processing {"connection_id":165008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048b4"} 
[2026-08-28 19:44:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709021952001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:44:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787926168000,"timestamp_ms":1787926168000,"timestamp_seconds":1787926168,"priority":1,"record_length":96,"hex_timestamp":"000001a048b441c0"} 
[2026-08-28 19:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:44:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-28 19:44:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:44:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":165008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":165008,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":165008,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709021952001,"66":25245,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709021952001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:44:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:44:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709021952001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":165008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709949,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:44:03] local.INFO: GPS data processed {"connection_id":165008,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:44:03] local.INFO: Acknowledgment sent {"connection_id":165008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:44:08] local.INFO: TCP Data received {"connection_id":163717,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048b65118012d34c14006aa4840000a00e62a..."} 
[2026-08-28 19:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048b65118012d34c14006aa4840000a00e62a..."} 
[2026-08-28 19:44:08] local.INFO: Processing buffer {"connection_id":163717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048b65118012d34c14006aa4840000a00e62a..."} 
[2026-08-28 19:44:08] local.INFO: Packet analysis {"connection_id":163717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048b6"} 
[2026-08-28 19:44:08] local.INFO: Extracted packet for processing {"connection_id":163717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048b6"} 
[2026-08-28 19:44:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709056512001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:44:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787926303000,"timestamp_ms":1787926303000,"timestamp_seconds":1787926303,"priority":1,"record_length":96,"hex_timestamp":"000001a048b65118"} 
[2026-08-28 19:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 19:44:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:44:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709056512001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709056512001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:44:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:44:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:44: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-28 19:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709056512001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:44:08] 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":709950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:44:08] local.INFO: GPS data processed {"connection_id":163717,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:44:08] local.INFO: Acknowledgment sent {"connection_id":163717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:44:20] local.INFO: TCP Data received {"connection_id":166361,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048b72bd8012d164580071fcc88002500be2c..."} 
[2026-08-28 19:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048b72bd8012d164580071fcc88002500be2c..."} 
[2026-08-28 19:44:20] local.INFO: Processing buffer {"connection_id":166361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048b72bd8012d164580071fcc88002500be2c..."} 
[2026-08-28 19:44:20] local.INFO: Packet analysis {"connection_id":166361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048b7"} 
[2026-08-28 19:44:20] local.INFO: Extracted packet for processing {"connection_id":166361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048b7"} 
[2026-08-28 19:44:20] local.INFO: GPS Element Parsed {"raw_longitude":756434304,"raw_latitude":119524488,"longitude_deg":75.6434304,"latitude_deg":11.9524488,"altitude":37,"angle":190,"satellites":44,"speed":8,"hex_longitude":"2d164580","hex_latitude":"071fcc88","is_valid_coordinates":true} 
[2026-08-28 19:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:44:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709146624001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:44:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16078953101918208,"note":"Value kept but may cause issues"} 
[2026-08-28 19:44:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1604759241570363392,"note":"Value kept but may cause issues"} 
[2026-08-28 19:44:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:44:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787926359000,"timestamp_ms":1787926359000,"timestamp_seconds":1787926359,"priority":1,"record_length":96,"hex_timestamp":"000001a048b72bd8"} 
[2026-08-28 19:44:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:44:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-28 19:44:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:44:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:44:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:44:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:44:20] local.INFO: Teltonika packet parsed successfully {"connection_id":166361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:44:20] local.INFO: Passing IMEI to GPS processor {"connection_id":166361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:44:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":166361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:44:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:44:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:44:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:44:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709146624001,"66":13417,"86":206,"83":41984,"24":8,"16":16078953101918208,"45":1604759241570363392},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,83,24,16,45]} 
[2026-08-28 19:44:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:44:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:44:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709146624001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:44:20] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-08-28 19:44:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:44:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16078953101918208,"km_value":16078953101918.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:44:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1604759241570363392,"description":"Unknown IO ID 45"} 
[2026-08-28 19:44:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709146624001,"power":13417,"unknown_86":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1604759241570363392}} 
[2026-08-28 19:44:20] local.INFO: DEBUG: GPS processor result {"connection_id":166361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709951,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:44:20] local.INFO: GPS data processed {"connection_id":166361,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:44:20] local.INFO: Acknowledgment sent {"connection_id":166361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:44:34] local.INFO: TCP Data received {"connection_id":165008,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048b441c0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048b441c0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:44:35] local.INFO: Processing buffer {"connection_id":165008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048b441c0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:44:35] local.INFO: Packet analysis {"connection_id":165008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048b4"} 
[2026-08-28 19:44:35] local.INFO: Extracted packet for processing {"connection_id":165008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048b4"} 
[2026-08-28 19:44:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709021952001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:44:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:44:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787926168000,"timestamp_ms":1787926168000,"timestamp_seconds":1787926168,"priority":1,"record_length":96,"hex_timestamp":"000001a048b441c0"} 
[2026-08-28 19:44:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:44:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-28 19:44:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:44:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:44:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":165008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":165008,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":165008,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:44:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709021952001,"66":25245,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709021952001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:44:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:44:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:44:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:44:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709021952001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":165008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709952,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:44:35] local.INFO: GPS data processed {"connection_id":165008,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:44:35] local.INFO: Acknowledgment sent {"connection_id":165008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:44:35] local.INFO: TCP Data received {"connection_id":166362,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:44:35] local.INFO: Processing buffer {"connection_id":166362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:44:35] local.INFO: IMEI packet received {"connection_id":166362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 19:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":166362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:44:40] local.INFO: TCP Data received {"connection_id":166362,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:44:40] local.INFO: Processing buffer {"connection_id":166362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:44:40] local.INFO: IMEI packet received {"connection_id":166362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 19:44:40] local.INFO: IMEI acknowledgment sent {"connection_id":166362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:44:41] local.INFO: TCP Data received {"connection_id":166362,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048b65118012d34c14006aa4840000a00e62a..."} 
[2026-08-28 19:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048b65118012d34c14006aa4840000a00e62a..."} 
[2026-08-28 19:44:41] local.INFO: Processing buffer {"connection_id":166362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048b65118012d34c14006aa4840000a00e62a..."} 
[2026-08-28 19:44:41] local.INFO: Packet analysis {"connection_id":166362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048b6"} 
[2026-08-28 19:44:41] local.INFO: Extracted packet for processing {"connection_id":166362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048b6"} 
[2026-08-28 19:44:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709056512001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:44:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:44:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787926303000,"timestamp_ms":1787926303000,"timestamp_seconds":1787926303,"priority":1,"record_length":96,"hex_timestamp":"000001a048b65118"} 
[2026-08-28 19:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:44:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 19:44: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-28 19:44:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":166362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":166362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":166362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:44:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709056512001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709056512001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:44:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:44:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:44: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-28 19:44:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709056512001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":166362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:44:41] local.INFO: GPS data processed {"connection_id":166362,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:44:41] local.INFO: Acknowledgment sent {"connection_id":166362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:44:42] local.INFO: TCP Data received {"connection_id":163718,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163718,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:44:42] local.INFO: Processing buffer {"connection_id":163718,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:44:42] local.INFO: IMEI packet received {"connection_id":163718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 19:44:42] local.INFO: IMEI acknowledgment sent {"connection_id":163718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:44:46] local.INFO: TCP Data received {"connection_id":166362,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048b65118012d34c14006aa4840000a00e62a..."} 
[2026-08-28 19:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048b65118012d34c14006aa4840000a00e62a..."} 
[2026-08-28 19:44:46] local.INFO: Processing buffer {"connection_id":166362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048b65118012d34c14006aa4840000a00e62a..."} 
[2026-08-28 19:44:46] local.INFO: Packet analysis {"connection_id":166362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048b6"} 
[2026-08-28 19:44:46] local.INFO: Extracted packet for processing {"connection_id":166362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048b6"} 
[2026-08-28 19:44:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709056512001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:44:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:44:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787926303000,"timestamp_ms":1787926303000,"timestamp_seconds":1787926303,"priority":1,"record_length":96,"hex_timestamp":"000001a048b65118"} 
[2026-08-28 19:44:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:44:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 19:44: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-28 19:44:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:44:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":166362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":166362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":166362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:44:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709056512001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709056512001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:44:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:44:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19: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-28 19:44:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709056512001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":166362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:44:46] local.INFO: GPS data processed {"connection_id":166362,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:44:46] local.INFO: Acknowledgment sent {"connection_id":166362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:44:48] local.INFO: TCP Data received {"connection_id":163718,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163718,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:44:48] local.INFO: Processing buffer {"connection_id":163718,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:44:48] local.INFO: IMEI packet received {"connection_id":163718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 19:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":163718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:44:48] local.INFO: TCP Data received {"connection_id":163718,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048b73f60012d164480071fca60002400d72c..."} 
[2026-08-28 19:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048b73f60012d164480071fca60002400d72c..."} 
[2026-08-28 19:44:48] local.INFO: Processing buffer {"connection_id":163718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048b73f60012d164480071fca60002400d72c..."} 
[2026-08-28 19:44:48] local.INFO: Packet analysis {"connection_id":163718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048b7"} 
[2026-08-28 19:44:48] local.INFO: Extracted packet for processing {"connection_id":163718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048b7"} 
[2026-08-28 19:44:48] local.INFO: GPS Element Parsed {"raw_longitude":756434048,"raw_latitude":119523936,"longitude_deg":75.6434048,"latitude_deg":11.9523936,"altitude":36,"angle":215,"satellites":44,"speed":5,"hex_longitude":"2d164480","hex_latitude":"071fca60","is_valid_coordinates":true} 
[2026-08-28 19: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-28 19:44:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709147904001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:44:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16078987461656576,"note":"Value kept but may cause issues"} 
[2026-08-28 19:44:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1604829610314074112,"note":"Value kept but may cause issues"} 
[2026-08-28 19:44:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:44:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787926364000,"timestamp_ms":1787926364000,"timestamp_seconds":1787926364,"priority":1,"record_length":96,"hex_timestamp":"000001a048b73f60"} 
[2026-08-28 19: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-28 19:44:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19: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":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-28 19:44:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19: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-28 19: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-28 19:44:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:44:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:44:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:44:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:44:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:44:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:44:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:44:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709147904001,"66":13428,"86":206,"83":41984,"24":5,"16":16078987461656576,"45":1604829610314074112},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,83,24,16,45]} 
[2026-08-28 19:44:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:44:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:44:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709147904001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:44:48] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-08-28 19:44:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:44:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16078987461656576,"km_value":16078987461656.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:44:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1604829610314074112,"description":"Unknown IO ID 45"} 
[2026-08-28 19:44:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709147904001,"power":13428,"unknown_86":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1604829610314074112}} 
[2026-08-28 19:44:49] 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":709955,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:44:49] local.INFO: GPS data processed {"connection_id":163718,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:44:49] local.INFO: Acknowledgment sent {"connection_id":163718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:44:56] local.INFO: TCP Data received {"connection_id":163989,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163989,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:44:56] local.INFO: Processing buffer {"connection_id":163989,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:44:56] local.INFO: IMEI packet received {"connection_id":163989,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 19:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":163989,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:45:01] local.INFO: TCP Data received {"connection_id":163989,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163989,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:45:01] local.INFO: Processing buffer {"connection_id":163989,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:45:01] local.INFO: IMEI packet received {"connection_id":163989,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 19:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":163989,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:45:02] local.INFO: TCP Data received {"connection_id":163989,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048b441c0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048b441c0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:45:02] local.INFO: Processing buffer {"connection_id":163989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048b441c0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:45:02] local.INFO: Packet analysis {"connection_id":163989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048b4"} 
[2026-08-28 19:45:02] local.INFO: Extracted packet for processing {"connection_id":163989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048b4"} 
[2026-08-28 19:45:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19: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-28 19:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709021952001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:45:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:45:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787926168000,"timestamp_ms":1787926168000,"timestamp_seconds":1787926168,"priority":1,"record_length":96,"hex_timestamp":"000001a048b441c0"} 
[2026-08-28 19: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-28 19:45:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-28 19:45:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19: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-28 19: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-28 19:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163989,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163989,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:45:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709021952001,"66":25245,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709021952001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:45:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:45:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:45:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:45:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:45:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709021952001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:45:02] local.INFO: DEBUG: GPS processor result {"connection_id":163989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709956,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:45:02] local.INFO: GPS data processed {"connection_id":163989,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:45:02] local.INFO: Acknowledgment sent {"connection_id":163989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:45:20] local.INFO: TCP Data received {"connection_id":163718,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048b76670012d163ac0071fbe38002300e326..."} 
[2026-08-28 19:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048b76670012d163ac0071fbe38002300e326..."} 
[2026-08-28 19:45:20] local.INFO: Processing buffer {"connection_id":163718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048b76670012d163ac0071fbe38002300e326..."} 
[2026-08-28 19:45:20] local.INFO: Packet analysis {"connection_id":163718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048b7"} 
[2026-08-28 19:45:20] local.INFO: Extracted packet for processing {"connection_id":163718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048b7"} 
[2026-08-28 19:45:20] local.INFO: GPS Element Parsed {"raw_longitude":756431552,"raw_latitude":119520824,"longitude_deg":75.6431552,"latitude_deg":11.9520824,"altitude":35,"angle":227,"satellites":38,"speed":20,"hex_longitude":"2d163ac0","hex_latitude":"071fbe38","is_valid_coordinates":true} 
[2026-08-28 19: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-28 19:45:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709149184001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:45:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16079176440217600,"note":"Value kept but may cause issues"} 
[2026-08-28 19:45:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1604548135337222144,"note":"Value kept but may cause issues"} 
[2026-08-28 19:45:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:45:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787926374000,"timestamp_ms":1787926374000,"timestamp_seconds":1787926374,"priority":1,"record_length":96,"hex_timestamp":"000001a048b76670"} 
[2026-08-28 19: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-28 19:45:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-28 19:45:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19: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-28 19: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-28 19:45:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:45:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:45:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:45:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:45:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:45:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:45:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:45:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709149184001,"66":13526,"86":206,"83":41984,"24":20,"16":16079176440217600,"45":1604548135337222144},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,83,24,16,45]} 
[2026-08-28 19:45:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:45:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:45:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709149184001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:45:20] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-08-28 19:45:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:45:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16079176440217600,"km_value":16079176440217.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:45:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1604548135337222144,"description":"Unknown IO ID 45"} 
[2026-08-28 19:45:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709149184001,"power":13526,"unknown_86":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1604548135337222144}} 
[2026-08-28 19:45:20] 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":709957,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:45:20] local.INFO: GPS data processed {"connection_id":163718,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:45:20] local.INFO: Acknowledgment sent {"connection_id":163718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:45:30] local.INFO: TCP Data received {"connection_id":166363,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:45:30] local.INFO: Processing buffer {"connection_id":166363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:45:30] local.INFO: IMEI packet received {"connection_id":166363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 19:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":166363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:45:34] local.INFO: TCP Data received {"connection_id":163989,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048b8d988012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048b8d988012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:45:34] local.INFO: Processing buffer {"connection_id":163989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048b8d988012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:45:34] local.INFO: Packet analysis {"connection_id":163989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048b8"} 
[2026-08-28 19:45:34] local.INFO: Extracted packet for processing {"connection_id":163989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048b8"} 
[2026-08-28 19:45:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:45:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709099008001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:45:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:45:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:45:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:45:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787926469000,"timestamp_ms":1787926469000,"timestamp_seconds":1787926469,"priority":1,"record_length":96,"hex_timestamp":"000001a048b8d988"} 
[2026-08-28 19:45:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:45:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-28 19:45:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:45:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:45:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:45:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:45:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:45:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163989,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:45:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163989,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:45:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:45:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:45:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:45:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709099008001,"66":25299,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:45:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:45:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:45:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709099008001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:45:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:45:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:45:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:45:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:45:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709099008001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:45:34] local.INFO: DEBUG: GPS processor result {"connection_id":163989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709958,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:45:34] local.INFO: GPS data processed {"connection_id":163989,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:45:34] local.INFO: Acknowledgment sent {"connection_id":163989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:45:35] local.INFO: TCP Data received {"connection_id":166363,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:45:35] local.INFO: Processing buffer {"connection_id":166363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:45:35] local.INFO: IMEI packet received {"connection_id":166363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 19:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":166363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:45:36] local.INFO: TCP Data received {"connection_id":166363,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048b65118012d34c14006aa4840000a00e62a..."} 
[2026-08-28 19:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048b65118012d34c14006aa4840000a00e62a..."} 
[2026-08-28 19:45:36] local.INFO: Processing buffer {"connection_id":166363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048b65118012d34c14006aa4840000a00e62a..."} 
[2026-08-28 19:45:36] local.INFO: Packet analysis {"connection_id":166363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048b6"} 
[2026-08-28 19:45:36] local.INFO: Extracted packet for processing {"connection_id":166363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048b6"} 
[2026-08-28 19:45:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19: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-28 19:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709056512001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:45:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787926303000,"timestamp_ms":1787926303000,"timestamp_seconds":1787926303,"priority":1,"record_length":96,"hex_timestamp":"000001a048b65118"} 
[2026-08-28 19: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-28 19:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 19:45:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19: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-28 19: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-28 19:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":166363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":166363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":166363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:45:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709056512001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709056512001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:45:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:45:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709056512001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":166363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:45:36] local.INFO: GPS data processed {"connection_id":166363,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:45:36] local.INFO: Acknowledgment sent {"connection_id":166363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:45:48] local.INFO: TCP Data received {"connection_id":163719,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163719,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:45:48] local.INFO: Processing buffer {"connection_id":163719,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:45:48] local.INFO: IMEI packet received {"connection_id":163719,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 19:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":163719,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:45:52] local.INFO: TCP Data received {"connection_id":163719,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163719,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:45:52] local.INFO: Processing buffer {"connection_id":163719,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:45:52] local.INFO: IMEI packet received {"connection_id":163719,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 19:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":163719,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:45:53] local.INFO: TCP Data received {"connection_id":163719,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048b785b0012d162f40071fb4a8002300d727..."} 
[2026-08-28 19:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048b785b0012d162f40071fb4a8002300d727..."} 
[2026-08-28 19:45:53] local.INFO: Processing buffer {"connection_id":163719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048b785b0012d162f40071fb4a8002300d727..."} 
[2026-08-28 19:45:53] local.INFO: Packet analysis {"connection_id":163719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048b7"} 
[2026-08-28 19:45:53] local.INFO: Extracted packet for processing {"connection_id":163719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048b7"} 
[2026-08-28 19:45:53] local.INFO: GPS Element Parsed {"raw_longitude":756428608,"raw_latitude":119518376,"longitude_deg":75.6428608,"latitude_deg":11.9518376,"altitude":35,"angle":215,"satellites":39,"speed":18,"hex_longitude":"2d162f40","hex_latitude":"071fb4a8","is_valid_coordinates":true} 
[2026-08-28 19:45:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:45:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709151744001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:45:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16079361123811328,"note":"Value kept but may cause issues"} 
[2026-08-28 19:45:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1601803754313496576,"note":"Value kept but may cause issues"} 
[2026-08-28 19:45:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:45:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787926382000,"timestamp_ms":1787926382000,"timestamp_seconds":1787926382,"priority":1,"record_length":96,"hex_timestamp":"000001a048b785b0"} 
[2026-08-28 19:45:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:45:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19:45:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-28 19:45:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:45:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:45:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:45:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:45:53] local.INFO: Teltonika packet parsed successfully {"connection_id":163719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:45:53] local.INFO: Passing IMEI to GPS processor {"connection_id":163719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:45:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":163719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:45:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:45:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:45:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:45:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709151744001,"66":12591,"86":206,"83":41984,"24":18,"16":16079361123811328,"45":1601803754313496576},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,83,24,16,45]} 
[2026-08-28 19:45:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:45:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:45:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709151744001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:45:53] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-08-28 19:45:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:45:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16079361123811328,"km_value":16079361123811.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:45:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1601803754313496576,"description":"Unknown IO ID 45"} 
[2026-08-28 19:45:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709151744001,"power":12591,"unknown_86":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1601803754313496576}} 
[2026-08-28 19:45:53] 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":709960,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:45:53] local.INFO: GPS data processed {"connection_id":163719,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:45:53] local.INFO: Acknowledgment sent {"connection_id":163719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:45:56] local.INFO: TCP Data received {"connection_id":163990,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163990,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:45:56] local.INFO: Processing buffer {"connection_id":163990,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:45:56] local.INFO: IMEI packet received {"connection_id":163990,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 19:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":163990,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:45:58] local.INFO: TCP Data received {"connection_id":163719,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048b78d80012d162dc0071fb198002300c927..."} 
[2026-08-28 19:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048b78d80012d162dc0071fb198002300c927..."} 
[2026-08-28 19:45:58] local.INFO: Processing buffer {"connection_id":163719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048b78d80012d162dc0071fb198002300c927..."} 
[2026-08-28 19:45:58] local.INFO: Packet analysis {"connection_id":163719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048b7"} 
[2026-08-28 19:45:58] local.INFO: Extracted packet for processing {"connection_id":163719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048b7"} 
[2026-08-28 19:45:58] local.INFO: GPS Element Parsed {"raw_longitude":756428224,"raw_latitude":119517592,"longitude_deg":75.6428224,"latitude_deg":11.9517592,"altitude":35,"angle":201,"satellites":39,"speed":15,"hex_longitude":"2d162dc0","hex_latitude":"071fb198","is_valid_coordinates":true} 
[2026-08-28 19:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:45:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709153792001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:45:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16079404073484288,"note":"Value kept but may cause issues"} 
[2026-08-28 19:45:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1598566792080697344,"note":"Value kept but may cause issues"} 
[2026-08-28 19:45:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:45:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787926384000,"timestamp_ms":1787926384000,"timestamp_seconds":1787926384,"priority":1,"record_length":96,"hex_timestamp":"000001a048b78d80"} 
[2026-08-28 19:45:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:45:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-28 19:45:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:45:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:45:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:45:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:45:58] local.INFO: Teltonika packet parsed successfully {"connection_id":163719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:45:58] local.INFO: Passing IMEI to GPS processor {"connection_id":163719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:45:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":163719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:45:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:45:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:45:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:45:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709153792001,"66":12298,"86":206,"83":41984,"24":15,"16":16079404073484288,"45":1598566792080697344},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,83,24,16,45]} 
[2026-08-28 19:45:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:45:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:45:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709153792001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:45:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-08-28 19:45:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:45:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16079404073484288,"km_value":16079404073484.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:45:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1598566792080697344,"description":"Unknown IO ID 45"} 
[2026-08-28 19:45:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709153792001,"power":12298,"unknown_86":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1598566792080697344}} 
[2026-08-28 19:45:58] 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":709961,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:45:58] local.INFO: GPS data processed {"connection_id":163719,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:45:58] local.INFO: Acknowledgment sent {"connection_id":163719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:46:01] local.INFO: TCP Data received {"connection_id":163990,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163990,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:46:01] local.INFO: Processing buffer {"connection_id":163990,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:46:01] local.INFO: IMEI packet received {"connection_id":163990,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 19:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":163990,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:46:02] local.INFO: TCP Data received {"connection_id":163990,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048b8d988012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048b8d988012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:46:02] local.INFO: Processing buffer {"connection_id":163990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048b8d988012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:46:02] local.INFO: Packet analysis {"connection_id":163990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048b8"} 
[2026-08-28 19:46:02] local.INFO: Extracted packet for processing {"connection_id":163990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048b8"} 
[2026-08-28 19:46:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19: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-28 19:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709099008001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:46:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:46:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787926469000,"timestamp_ms":1787926469000,"timestamp_seconds":1787926469,"priority":1,"record_length":96,"hex_timestamp":"000001a048b8d988"} 
[2026-08-28 19: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-28 19:46:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19: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":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-28 19:46:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19: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-28 19: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-28 19:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163990,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163990,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:46:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709099008001,"66":25299,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709099008001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:46:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:46:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:46:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709099008001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":163990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709962,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:46:02] local.INFO: GPS data processed {"connection_id":163990,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:46:02] local.INFO: Acknowledgment sent {"connection_id":163990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:46:08] local.INFO: TCP Data received {"connection_id":166363,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048b65118012d34c14006aa4840000a00e62a..."} 
[2026-08-28 19:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048b65118012d34c14006aa4840000a00e62a..."} 
[2026-08-28 19:46:08] local.INFO: Processing buffer {"connection_id":166363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048b65118012d34c14006aa4840000a00e62a..."} 
[2026-08-28 19:46:08] local.INFO: Packet analysis {"connection_id":166363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048b6"} 
[2026-08-28 19:46:08] local.INFO: Extracted packet for processing {"connection_id":166363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048b6"} 
[2026-08-28 19:46:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709056512001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787926303000,"timestamp_ms":1787926303000,"timestamp_seconds":1787926303,"priority":1,"record_length":96,"hex_timestamp":"000001a048b65118"} 
[2026-08-28 19:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:46:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 19:46:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:46:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":166363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":166363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":166363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:46:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709056512001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709056512001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:46:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:46:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:46: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-28 19:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709056512001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":166363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:46:08] local.INFO: GPS data processed {"connection_id":166363,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:46:08] local.INFO: Acknowledgment sent {"connection_id":166363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:46:30] local.INFO: TCP Data received {"connection_id":166364,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:46:30] local.INFO: Processing buffer {"connection_id":166364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:46:30] local.INFO: IMEI packet received {"connection_id":166364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 19:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":166364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:46:34] local.INFO: TCP Data received {"connection_id":163990,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048b8d988012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048b8d988012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:46:34] local.INFO: Processing buffer {"connection_id":163990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048b8d988012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:46:34] local.INFO: Packet analysis {"connection_id":163990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048b8"} 
[2026-08-28 19:46:34] local.INFO: Extracted packet for processing {"connection_id":163990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048b8"} 
[2026-08-28 19:46:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709099008001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:46:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:46:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787926469000,"timestamp_ms":1787926469000,"timestamp_seconds":1787926469,"priority":1,"record_length":96,"hex_timestamp":"000001a048b8d988"} 
[2026-08-28 19:46:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:46:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-28 19:46:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:46:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:46:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163990,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163990,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:46:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709099008001,"66":25299,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709099008001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:46:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:46:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:46:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709099008001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:46:34] local.INFO: DEBUG: GPS processor result {"connection_id":163990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709964,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:46:34] local.INFO: GPS data processed {"connection_id":163990,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:46:34] local.INFO: Acknowledgment sent {"connection_id":163990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:46:35] local.INFO: TCP Data received {"connection_id":166364,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:46:35] local.INFO: Processing buffer {"connection_id":166364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:46:35] local.INFO: IMEI packet received {"connection_id":166364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 19:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":166364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:46:37] local.INFO: TCP Data received {"connection_id":166364,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048b65118012d34c14006aa4840000a00e62a..."} 
[2026-08-28 19:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048b65118012d34c14006aa4840000a00e62a..."} 
[2026-08-28 19:46:37] local.INFO: Processing buffer {"connection_id":166364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048b65118012d34c14006aa4840000a00e62a..."} 
[2026-08-28 19:46:37] local.INFO: Packet analysis {"connection_id":166364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048b6"} 
[2026-08-28 19:46:37] local.INFO: Extracted packet for processing {"connection_id":166364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048b6"} 
[2026-08-28 19:46:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19: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-28 19:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709056512001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787926303000,"timestamp_ms":1787926303000,"timestamp_seconds":1787926303,"priority":1,"record_length":96,"hex_timestamp":"000001a048b65118"} 
[2026-08-28 19: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-28 19:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 19:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19: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-28 19: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-28 19:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":166364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":166364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":166364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709056512001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709056512001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:46:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:46:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:46: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-28 19:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709056512001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":166364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:46:37] local.INFO: GPS data processed {"connection_id":166364,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:46:37] local.INFO: Acknowledgment sent {"connection_id":166364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:46:39] local.INFO: TCP Data received {"connection_id":163991,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163991,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:46:39] local.INFO: Processing buffer {"connection_id":163991,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:46:39] local.INFO: IMEI packet received {"connection_id":163991,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 19:46:39] local.INFO: IMEI acknowledgment sent {"connection_id":163991,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:46:43] local.INFO: TCP Data received {"connection_id":163991,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163991,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:46:43] local.INFO: Processing buffer {"connection_id":163991,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:46:43] local.INFO: IMEI packet received {"connection_id":163991,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 19:46:43] local.INFO: IMEI acknowledgment sent {"connection_id":163991,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:46:48] local.INFO: TCP Data received {"connection_id":163991,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163991,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:46:48] local.INFO: Processing buffer {"connection_id":163991,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:46:48] local.INFO: IMEI packet received {"connection_id":163991,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 19:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":163991,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:46:51] local.INFO: TCP Data received {"connection_id":163991,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048b9a0c0012d162bc0071fae80001f00222a..."} 
[2026-08-28 19:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048b9a0c0012d162bc0071fae80001f00222a..."} 
[2026-08-28 19:46:51] local.INFO: Processing buffer {"connection_id":163991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048b9a0c0012d162bc0071fae80001f00222a..."} 
[2026-08-28 19:46:51] local.INFO: Packet analysis {"connection_id":163991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048b9"} 
[2026-08-28 19:46:51] local.INFO: Extracted packet for processing {"connection_id":163991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048b9"} 
[2026-08-28 19:46:51] local.INFO: GPS Element Parsed {"raw_longitude":756427712,"raw_latitude":119516800,"longitude_deg":75.6427712,"latitude_deg":11.95168,"altitude":31,"angle":34,"satellites":42,"speed":0,"hex_longitude":"2d162bc0","hex_latitude":"071fae80","is_valid_coordinates":true} 
[2026-08-28 19: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-28 19:46:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709183744001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:46:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16079618821849088,"note":"Value kept but may cause issues"} 
[2026-08-28 19:46:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1597581629661806592,"note":"Value kept but may cause issues"} 
[2026-08-28 19:46:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:46:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787926520000,"timestamp_ms":1787926520000,"timestamp_seconds":1787926520,"priority":1,"record_length":96,"hex_timestamp":"000001a048b9a0c0"} 
[2026-08-28 19: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-28 19:46:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 19:46:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19: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-28 19: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-28 19:46:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:46:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:46:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:46:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:46:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:46:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:46:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:46:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709183744001,"66":12319,"86":206,"83":41984,"24":0,"16":16079618821849088,"45":1597581629661806592},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,83,24,16,45]} 
[2026-08-28 19:46:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:46:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:46:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709183744001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:46:51] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-08-28 19:46:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:46:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16079618821849088,"km_value":16079618821849.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:46:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1597581629661806592,"description":"Unknown IO ID 45"} 
[2026-08-28 19:46:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709183744001,"power":12319,"unknown_86":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1597581629661806592}} 
[2026-08-28 19:46:51] local.INFO: DEBUG: GPS processor result {"connection_id":163991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709966,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:46:51] local.INFO: GPS data processed {"connection_id":163991,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:46:51] local.INFO: Acknowledgment sent {"connection_id":163991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:46:57] local.INFO: TCP Data received {"connection_id":165009,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165009,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:46:57] local.INFO: Processing buffer {"connection_id":165009,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:46:57] local.INFO: IMEI packet received {"connection_id":165009,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 19:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":165009,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:47:01] local.INFO: TCP Data received {"connection_id":165009,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165009,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:47:01] local.INFO: Processing buffer {"connection_id":165009,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:47:01] local.INFO: IMEI packet received {"connection_id":165009,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 19:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":165009,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:47:03] local.INFO: TCP Data received {"connection_id":165009,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048b8d988012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048b8d988012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:47:03] local.INFO: Processing buffer {"connection_id":165009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048b8d988012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:47:03] local.INFO: Packet analysis {"connection_id":165009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048b8"} 
[2026-08-28 19:47:03] local.INFO: Extracted packet for processing {"connection_id":165009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048b8"} 
[2026-08-28 19:47:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709099008001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787926469000,"timestamp_ms":1787926469000,"timestamp_seconds":1787926469,"priority":1,"record_length":96,"hex_timestamp":"000001a048b8d988"} 
[2026-08-28 19:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-28 19:47:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:47:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":165009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":165009,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":165009,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709099008001,"66":25299,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709099008001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:47:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:47:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709099008001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:47:03] 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":709967,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:47:03] local.INFO: GPS data processed {"connection_id":165009,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:47:03] local.INFO: Acknowledgment sent {"connection_id":165009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:47:09] local.INFO: TCP Data received {"connection_id":166364,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048b65118012d34c14006aa4840000a00e62a..."} 
[2026-08-28 19:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048b65118012d34c14006aa4840000a00e62a..."} 
[2026-08-28 19:47:09] local.INFO: Processing buffer {"connection_id":166364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048b65118012d34c14006aa4840000a00e62a..."} 
[2026-08-28 19:47:09] local.INFO: Packet analysis {"connection_id":166364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048b6"} 
[2026-08-28 19:47:09] local.INFO: Extracted packet for processing {"connection_id":166364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048b6"} 
[2026-08-28 19:47:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709056512001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787926303000,"timestamp_ms":1787926303000,"timestamp_seconds":1787926303,"priority":1,"record_length":96,"hex_timestamp":"000001a048b65118"} 
[2026-08-28 19:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 19:47:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:47:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":166364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":166364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":166364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:47:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709056512001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709056512001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:47:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:47:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:47: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-28 19:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709056512001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":166364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:47:09] local.INFO: GPS data processed {"connection_id":166364,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:47:09] local.INFO: Acknowledgment sent {"connection_id":166364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:47:25] local.INFO: TCP Data received {"connection_id":163991,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048b9f2c8012d162bc0071fae80001f002229..."} 
[2026-08-28 19:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048b9f2c8012d162bc0071fae80001f002229..."} 
[2026-08-28 19:47:25] local.INFO: Processing buffer {"connection_id":163991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048b9f2c8012d162bc0071fae80001f002229..."} 
[2026-08-28 19:47:25] local.INFO: Packet analysis {"connection_id":163991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048b9"} 
[2026-08-28 19:47:25] local.INFO: Extracted packet for processing {"connection_id":163991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048b9"} 
[2026-08-28 19:47:25] local.INFO: GPS Element Parsed {"raw_longitude":756427712,"raw_latitude":119516800,"longitude_deg":75.6427712,"latitude_deg":11.95168,"altitude":31,"angle":34,"satellites":41,"speed":0,"hex_longitude":"2d162bc0","hex_latitude":"071fae80","is_valid_coordinates":true} 
[2026-08-28 19:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:47:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709189120001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:47:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16079618821849088,"note":"Value kept but may cause issues"} 
[2026-08-28 19:47:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1597581629661806592,"note":"Value kept but may cause issues"} 
[2026-08-28 19:47:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:47:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787926541000,"timestamp_ms":1787926541000,"timestamp_seconds":1787926541,"priority":1,"record_length":96,"hex_timestamp":"000001a048b9f2c8"} 
[2026-08-28 19:47:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:47:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 19:47:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:47:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:47:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:47:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:47:25] local.INFO: Teltonika packet parsed successfully {"connection_id":163991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:47:25] local.INFO: Passing IMEI to GPS processor {"connection_id":163991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:47:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":163991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:47:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:47:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:47:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:47:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709189120001,"66":12341,"86":206,"83":41984,"24":0,"16":16079618821849088,"45":1597581629661806592},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,83,24,16,45]} 
[2026-08-28 19:47:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:47:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:47:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709189120001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:47:25] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-08-28 19:47:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:47:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16079618821849088,"km_value":16079618821849.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:47:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1597581629661806592,"description":"Unknown IO ID 45"} 
[2026-08-28 19:47:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709189120001,"power":12341,"unknown_86":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1597581629661806592}} 
[2026-08-28 19:47:25] local.INFO: DEBUG: GPS processor result {"connection_id":163991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709969,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:47:25] local.INFO: GPS data processed {"connection_id":163991,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:47:25] local.INFO: Acknowledgment sent {"connection_id":163991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:47:29] local.INFO: TCP Data received {"connection_id":163992,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:47:29] local.INFO: Processing buffer {"connection_id":163992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:47:29] local.INFO: IMEI packet received {"connection_id":163992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 19:47:29] local.INFO: IMEI acknowledgment sent {"connection_id":163992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:47:35] local.INFO: TCP Data received {"connection_id":165009,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048b8d988012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048b8d988012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:47:35] local.INFO: Processing buffer {"connection_id":165009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048b8d988012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:47:35] local.INFO: Packet analysis {"connection_id":165009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048b8"} 
[2026-08-28 19:47:35] local.INFO: Extracted packet for processing {"connection_id":165009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048b8"} 
[2026-08-28 19:47:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709099008001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787926469000,"timestamp_ms":1787926469000,"timestamp_seconds":1787926469,"priority":1,"record_length":96,"hex_timestamp":"000001a048b8d988"} 
[2026-08-28 19:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:47:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-28 19:47:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:47:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":165009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":165009,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":165009,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709099008001,"66":25299,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709099008001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:47:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:47:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709099008001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:47:35] local.INFO: TCP Data received {"connection_id":163992,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:47:35] local.INFO: Processing buffer {"connection_id":163992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:47:35] local.INFO: IMEI packet received {"connection_id":163992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 19:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":163992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:47:35] 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":709970,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:47:35] local.INFO: GPS data processed {"connection_id":165009,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:47:35] local.INFO: Acknowledgment sent {"connection_id":165009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:47:37] local.INFO: TCP Data received {"connection_id":163992,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048bae8e0012d34c14006aa4840000c00e62a..."} 
[2026-08-28 19:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048bae8e0012d34c14006aa4840000c00e62a..."} 
[2026-08-28 19:47:37] local.INFO: Processing buffer {"connection_id":163992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048bae8e0012d34c14006aa4840000c00e62a..."} 
[2026-08-28 19:47:37] local.INFO: Packet analysis {"connection_id":163992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ba"} 
[2026-08-28 19:47:37] local.INFO: Extracted packet for processing {"connection_id":163992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ba"} 
[2026-08-28 19:47:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709133568001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787926604000,"timestamp_ms":1787926604000,"timestamp_seconds":1787926604,"priority":1,"record_length":96,"hex_timestamp":"000001a048bae8e0"} 
[2026-08-28 19:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 19:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709133568001,"66":25397,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709133568001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:47:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:47:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:47: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-28 19:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709133568001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":163992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:47:37] local.INFO: GPS data processed {"connection_id":163992,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:47:37] local.INFO: Acknowledgment sent {"connection_id":163992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:47:43] local.INFO: TCP Data received {"connection_id":163993,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163993,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:47:43] local.INFO: Processing buffer {"connection_id":163993,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:47:43] local.INFO: IMEI packet received {"connection_id":163993,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 19:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":163993,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:47:43] local.INFO: TCP Data received {"connection_id":163993,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163993,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:47:43] local.INFO: Processing buffer {"connection_id":163993,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:47:43] local.INFO: IMEI packet received {"connection_id":163993,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 19:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":163993,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:47:48] local.INFO: TCP Data received {"connection_id":163993,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163993,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:47:48] local.INFO: Processing buffer {"connection_id":163993,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:47:48] local.INFO: IMEI packet received {"connection_id":163993,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 19:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":163993,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:47:48] local.INFO: TCP Data received {"connection_id":163993,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048ba44d0012d162bc0071fae80001f00222a..."} 
[2026-08-28 19:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048ba44d0012d162bc0071fae80001f00222a..."} 
[2026-08-28 19:47:48] local.INFO: Processing buffer {"connection_id":163993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048ba44d0012d162bc0071fae80001f00222a..."} 
[2026-08-28 19:47:48] local.INFO: Packet analysis {"connection_id":163993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ba"} 
[2026-08-28 19:47:48] local.INFO: Extracted packet for processing {"connection_id":163993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ba"} 
[2026-08-28 19:47:48] local.INFO: GPS Element Parsed {"raw_longitude":756427712,"raw_latitude":119516800,"longitude_deg":75.6427712,"latitude_deg":11.95168,"altitude":31,"angle":34,"satellites":42,"speed":0,"hex_longitude":"2d162bc0","hex_latitude":"071fae80","is_valid_coordinates":true} 
[2026-08-28 19:47:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:47:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709194496001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:47:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16079618821849088,"note":"Value kept but may cause issues"} 
[2026-08-28 19:47:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1597581629661806592,"note":"Value kept but may cause issues"} 
[2026-08-28 19:47:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:47:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787926562000,"timestamp_ms":1787926562000,"timestamp_seconds":1787926562,"priority":1,"record_length":96,"hex_timestamp":"000001a048ba44d0"} 
[2026-08-28 19:47:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:47:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19:47:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 19:47:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:47:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:47:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:47:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:47:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:47:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:47:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:47:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:47:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:47:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:47:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709194496001,"66":12319,"86":206,"83":41984,"24":0,"16":16079618821849088,"45":1597581629661806592},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,83,24,16,45]} 
[2026-08-28 19:47:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:47:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:47:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709194496001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:47:48] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-08-28 19:47:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:47:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16079618821849088,"km_value":16079618821849.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:47:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1597581629661806592,"description":"Unknown IO ID 45"} 
[2026-08-28 19:47:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709194496001,"power":12319,"unknown_86":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1597581629661806592}} 
[2026-08-28 19:47:49] local.INFO: DEBUG: GPS processor result {"connection_id":163993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709972,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:47:49] local.INFO: GPS data processed {"connection_id":163993,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:47:49] local.INFO: Acknowledgment sent {"connection_id":163993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:47:56] local.INFO: TCP Data received {"connection_id":166365,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166365,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:47:56] local.INFO: Processing buffer {"connection_id":166365,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:47:56] local.INFO: IMEI packet received {"connection_id":166365,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 19:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":166365,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:48:01] local.INFO: TCP Data received {"connection_id":166365,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166365,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:48:01] local.INFO: Processing buffer {"connection_id":166365,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:48:01] local.INFO: IMEI packet received {"connection_id":166365,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 19:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":166365,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:48:03] local.INFO: TCP Data received {"connection_id":166365,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048b8d988012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048b8d988012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:48:03] local.INFO: Processing buffer {"connection_id":166365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048b8d988012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:48:03] local.INFO: Packet analysis {"connection_id":166365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048b8"} 
[2026-08-28 19:48:03] local.INFO: Extracted packet for processing {"connection_id":166365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048b8"} 
[2026-08-28 19:48:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709099008001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:48:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787926469000,"timestamp_ms":1787926469000,"timestamp_seconds":1787926469,"priority":1,"record_length":96,"hex_timestamp":"000001a048b8d988"} 
[2026-08-28 19:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:48:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-28 19:48:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:48:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":166365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":166365,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":166365,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709099008001,"66":25299,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709099008001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:48:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:48:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709099008001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":166365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709973,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:48:03] local.INFO: GPS data processed {"connection_id":166365,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:48:03] local.INFO: Acknowledgment sent {"connection_id":166365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:48:08] local.INFO: TCP Data received {"connection_id":163992,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048bae8e0012d34c14006aa4840000c00e62a..."} 
[2026-08-28 19:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048bae8e0012d34c14006aa4840000c00e62a..."} 
[2026-08-28 19:48:08] local.INFO: Processing buffer {"connection_id":163992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048bae8e0012d34c14006aa4840000c00e62a..."} 
[2026-08-28 19:48:08] local.INFO: Packet analysis {"connection_id":163992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ba"} 
[2026-08-28 19:48:08] local.INFO: Extracted packet for processing {"connection_id":163992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ba"} 
[2026-08-28 19:48:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709133568001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:48:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787926604000,"timestamp_ms":1787926604000,"timestamp_seconds":1787926604,"priority":1,"record_length":96,"hex_timestamp":"000001a048bae8e0"} 
[2026-08-28 19:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:48:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 19:48:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:48:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709133568001,"66":25397,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709133568001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:48:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:48:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:48: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-28 19:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709133568001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":163992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:48:08] local.INFO: GPS data processed {"connection_id":163992,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:48:08] local.INFO: Acknowledgment sent {"connection_id":163992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:48:19] local.INFO: TCP Data received {"connection_id":163993,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048ba96d8012d162bc0071fae80001f00222a..."} 
[2026-08-28 19:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048ba96d8012d162bc0071fae80001f00222a..."} 
[2026-08-28 19:48:19] local.INFO: Processing buffer {"connection_id":163993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048ba96d8012d162bc0071fae80001f00222a..."} 
[2026-08-28 19:48:19] local.INFO: Packet analysis {"connection_id":163993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ba"} 
[2026-08-28 19:48:19] local.INFO: Extracted packet for processing {"connection_id":163993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ba"} 
[2026-08-28 19:48:19] local.INFO: GPS Element Parsed {"raw_longitude":756427712,"raw_latitude":119516800,"longitude_deg":75.6427712,"latitude_deg":11.95168,"altitude":31,"angle":34,"satellites":42,"speed":0,"hex_longitude":"2d162bc0","hex_latitude":"071fae80","is_valid_coordinates":true} 
[2026-08-28 19:48:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:48:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709199872001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:48:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16079618821849088,"note":"Value kept but may cause issues"} 
[2026-08-28 19:48:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1597581629661806592,"note":"Value kept but may cause issues"} 
[2026-08-28 19:48:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:48:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787926583000,"timestamp_ms":1787926583000,"timestamp_seconds":1787926583,"priority":1,"record_length":96,"hex_timestamp":"000001a048ba96d8"} 
[2026-08-28 19:48:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:48:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19:48:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 19:48:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:48:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:48:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:48:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:48:19] local.INFO: Teltonika packet parsed successfully {"connection_id":163993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:48:19] local.INFO: Passing IMEI to GPS processor {"connection_id":163993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:48:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":163993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:48:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:48:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:48:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:48:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709199872001,"66":12341,"86":206,"83":41984,"24":0,"16":16079618821849088,"45":1597581629661806592},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,83,24,16,45]} 
[2026-08-28 19:48:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:48:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:48:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709199872001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:48:19] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-08-28 19:48:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:48:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16079618821849088,"km_value":16079618821849.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:48:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1597581629661806592,"description":"Unknown IO ID 45"} 
[2026-08-28 19:48:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709199872001,"power":12341,"unknown_86":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1597581629661806592}} 
[2026-08-28 19:48:20] local.INFO: DEBUG: GPS processor result {"connection_id":163993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709975,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:48:20] local.INFO: GPS data processed {"connection_id":163993,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:48:20] local.INFO: Acknowledgment sent {"connection_id":163993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:48:34] local.INFO: TCP Data received {"connection_id":166365,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048b8d988012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048b8d988012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:48:34] local.INFO: Processing buffer {"connection_id":166365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048b8d988012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:48:34] local.INFO: Packet analysis {"connection_id":166365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048b8"} 
[2026-08-28 19:48:34] local.INFO: Extracted packet for processing {"connection_id":166365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048b8"} 
[2026-08-28 19:48:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709099008001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787926469000,"timestamp_ms":1787926469000,"timestamp_seconds":1787926469,"priority":1,"record_length":96,"hex_timestamp":"000001a048b8d988"} 
[2026-08-28 19:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:48:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-28 19:48:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:48:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":166365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":166365,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":166365,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709099008001,"66":25299,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709099008001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:48:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:48:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709099008001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":166365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709976,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:48:34] local.INFO: GPS data processed {"connection_id":166365,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:48:34] local.INFO: Acknowledgment sent {"connection_id":166365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:48:35] local.INFO: TCP Data received {"connection_id":166366,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:48:35] local.INFO: Processing buffer {"connection_id":166366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:48:35] local.INFO: IMEI packet received {"connection_id":166366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 19:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":166366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:48:40] local.INFO: TCP Data received {"connection_id":166366,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:48:40] local.INFO: Processing buffer {"connection_id":166366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:48:40] local.INFO: IMEI packet received {"connection_id":166366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 19:48:40] local.INFO: IMEI acknowledgment sent {"connection_id":166366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:48:41] local.INFO: TCP Data received {"connection_id":166366,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048bae8e0012d34c14006aa4840000c00e62a..."} 
[2026-08-28 19:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048bae8e0012d34c14006aa4840000c00e62a..."} 
[2026-08-28 19:48:41] local.INFO: Processing buffer {"connection_id":166366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048bae8e0012d34c14006aa4840000c00e62a..."} 
[2026-08-28 19:48:41] local.INFO: Packet analysis {"connection_id":166366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ba"} 
[2026-08-28 19:48:41] local.INFO: Extracted packet for processing {"connection_id":166366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ba"} 
[2026-08-28 19:48:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19: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-28 19:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709133568001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:48:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:48:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787926604000,"timestamp_ms":1787926604000,"timestamp_seconds":1787926604,"priority":1,"record_length":96,"hex_timestamp":"000001a048bae8e0"} 
[2026-08-28 19: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-28 19:48:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 19:48: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-28 19: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-28 19: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-28 19:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":166366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":166366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":166366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:48:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709133568001,"66":25397,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709133568001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:48:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:48:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19: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-28 19:48:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709133568001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":166366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:48:41] local.INFO: GPS data processed {"connection_id":166366,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:48:41] local.INFO: Acknowledgment sent {"connection_id":166366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:48:43] local.INFO: TCP Data received {"connection_id":165010,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165010,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:48:43] local.INFO: Processing buffer {"connection_id":165010,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:48:43] local.INFO: IMEI packet received {"connection_id":165010,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 19:48:43] local.INFO: IMEI acknowledgment sent {"connection_id":165010,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:48:46] local.INFO: TCP Data received {"connection_id":166366,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048bae8e0012d34c14006aa4840000c00e62a..."} 
[2026-08-28 19:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048bae8e0012d34c14006aa4840000c00e62a..."} 
[2026-08-28 19:48:46] local.INFO: Processing buffer {"connection_id":166366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048bae8e0012d34c14006aa4840000c00e62a..."} 
[2026-08-28 19:48:46] local.INFO: Packet analysis {"connection_id":166366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ba"} 
[2026-08-28 19:48:46] local.INFO: Extracted packet for processing {"connection_id":166366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ba"} 
[2026-08-28 19:48:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709133568001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:48:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:48:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787926604000,"timestamp_ms":1787926604000,"timestamp_seconds":1787926604,"priority":1,"record_length":96,"hex_timestamp":"000001a048bae8e0"} 
[2026-08-28 19:48:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:48:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 19:48: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-28 19:48:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:48:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":166366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":166366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":166366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:48:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709133568001,"66":25397,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709133568001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:48:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:48:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:48: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-28 19:48:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:48:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709133568001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:48:46] local.INFO: DEBUG: GPS processor result {"connection_id":166366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:48:46] local.INFO: GPS data processed {"connection_id":166366,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:48:46] local.INFO: Acknowledgment sent {"connection_id":166366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:48:46] local.INFO: TCP Data received {"connection_id":165010,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165010,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:48:46] local.INFO: Processing buffer {"connection_id":165010,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:48:46] local.INFO: IMEI packet received {"connection_id":165010,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 19:48:46] local.INFO: IMEI acknowledgment sent {"connection_id":165010,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:48:46] local.INFO: TCP Data received {"connection_id":165010,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048bae8e0012d162bc0071fae80001f00222b..."} 
[2026-08-28 19:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048bae8e0012d162bc0071fae80001f00222b..."} 
[2026-08-28 19:48:46] local.INFO: Processing buffer {"connection_id":165010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048bae8e0012d162bc0071fae80001f00222b..."} 
[2026-08-28 19:48:46] local.INFO: Packet analysis {"connection_id":165010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ba"} 
[2026-08-28 19:48:46] local.INFO: Extracted packet for processing {"connection_id":165010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ba"} 
[2026-08-28 19:48:46] local.INFO: GPS Element Parsed {"raw_longitude":756427712,"raw_latitude":119516800,"longitude_deg":75.6427712,"latitude_deg":11.95168,"altitude":31,"angle":34,"satellites":43,"speed":0,"hex_longitude":"2d162bc0","hex_latitude":"071fae80","is_valid_coordinates":true} 
[2026-08-28 19:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709205248001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16079618821849088,"note":"Value kept but may cause issues"} 
[2026-08-28 19:48:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1597581629661806592,"note":"Value kept but may cause issues"} 
[2026-08-28 19:48:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787926604000,"timestamp_ms":1787926604000,"timestamp_seconds":1787926604,"priority":1,"record_length":96,"hex_timestamp":"000001a048bae8e0"} 
[2026-08-28 19:48:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:48:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 19:48:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:48:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:48:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":165010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":165010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":165010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:48:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709205248001,"66":12298,"86":206,"83":41984,"24":0,"16":16079618821849088,"45":1597581629661806592},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,83,24,16,45]} 
[2026-08-28 19:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709205248001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:48:46] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-08-28 19:48:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:48:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16079618821849088,"km_value":16079618821849.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:48:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1597581629661806592,"description":"Unknown IO ID 45"} 
[2026-08-28 19:48:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709205248001,"power":12298,"unknown_86":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1597581629661806592}} 
[2026-08-28 19:48:47] local.INFO: DEBUG: GPS processor result {"connection_id":165010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709979,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:48:47] local.INFO: GPS data processed {"connection_id":165010,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:48:47] local.INFO: Acknowledgment sent {"connection_id":165010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:48:56] local.INFO: TCP Data received {"connection_id":163994,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163994,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:48:56] local.INFO: Processing buffer {"connection_id":163994,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:48:56] local.INFO: IMEI packet received {"connection_id":163994,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 19:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":163994,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:49:01] local.INFO: TCP Data received {"connection_id":163994,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163994,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:49:01] local.INFO: Processing buffer {"connection_id":163994,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:49:01] local.INFO: IMEI packet received {"connection_id":163994,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 19:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":163994,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:49:03] local.INFO: TCP Data received {"connection_id":163994,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048b8d988012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048b8d988012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:49:03] local.INFO: Processing buffer {"connection_id":163994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048b8d988012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:49:03] local.INFO: Packet analysis {"connection_id":163994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048b8"} 
[2026-08-28 19:49:03] local.INFO: Extracted packet for processing {"connection_id":163994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048b8"} 
[2026-08-28 19:49:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709099008001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:49:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787926469000,"timestamp_ms":1787926469000,"timestamp_seconds":1787926469,"priority":1,"record_length":96,"hex_timestamp":"000001a048b8d988"} 
[2026-08-28 19:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:49:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-28 19:49:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:49:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163994,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163994,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:49:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709099008001,"66":25299,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709099008001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:49:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:49:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709099008001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":163994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709980,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:49:03] local.INFO: GPS data processed {"connection_id":163994,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:49:03] local.INFO: Acknowledgment sent {"connection_id":163994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:49:17] local.INFO: TCP Data received {"connection_id":165010,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048bb3ae8012d162bc0071fae80001f00222b..."} 
[2026-08-28 19:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048bb3ae8012d162bc0071fae80001f00222b..."} 
[2026-08-28 19:49:17] local.INFO: Processing buffer {"connection_id":165010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048bb3ae8012d162bc0071fae80001f00222b..."} 
[2026-08-28 19:49:17] local.INFO: Packet analysis {"connection_id":165010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048bb"} 
[2026-08-28 19:49:17] local.INFO: Extracted packet for processing {"connection_id":165010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048bb"} 
[2026-08-28 19:49:17] local.INFO: GPS Element Parsed {"raw_longitude":756427712,"raw_latitude":119516800,"longitude_deg":75.6427712,"latitude_deg":11.95168,"altitude":31,"angle":34,"satellites":43,"speed":0,"hex_longitude":"2d162bc0","hex_latitude":"071fae80","is_valid_coordinates":true} 
[2026-08-28 19: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-28 19:49:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709210624001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:49:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16079618821849088,"note":"Value kept but may cause issues"} 
[2026-08-28 19:49:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1597581629661806592,"note":"Value kept but may cause issues"} 
[2026-08-28 19:49:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:49:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787926625000,"timestamp_ms":1787926625000,"timestamp_seconds":1787926625,"priority":1,"record_length":96,"hex_timestamp":"000001a048bb3ae8"} 
[2026-08-28 19: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-28 19:49:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-28 19:49:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-28 19:49:17] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-28 19:49:17] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185657,"note":"Value kept but may cause issues"} 
[2026-08-28 19:49:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-28 19:49:17] local.WARNING: Large IO value detected {"io_id":32,"raw_value":6052837899185946625,"note":"Value kept but may cause issues"} 
[2026-08-28 19:49:17] local.WARNING: Large IO value detected {"io_id":160,"raw_value":5240125804996531755,"note":"Value kept but may cause issues"} 
[2026-08-28 19:49:17] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513320747324604450,"note":"Value kept but may cause issues"} 
[2026-08-28 19:49:17] local.WARNING: Large IO value detected {"io_id":31,"raw_value":9619627231412224,"note":"Value kept but may cause issues"} 
[2026-08-28 19:49:17] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832603,"note":"Value kept but may cause issues"} 
[2026-08-28 19:49:17] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683569838522574,"note":"Value kept but may cause issues"} 
[2026-08-28 19:49:17] local.WARNING: Large IO value detected {"io_id":72,"raw_value":3114319873,"note":"Value kept but may cause issues"} 
[2026-08-28 19:49:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1784021198,"corrected_to":0} 
[2026-08-28 19:49:17] local.WARNING: Large IO value detected {"io_id":78,"raw_value":3087084822,"note":"Value kept but may cause issues"} 
[2026-08-28 19:49:17] local.WARNING: Large IO value detected {"io_id":43,"raw_value":3221692334,"note":"Value kept but may cause issues"} 
[2026-08-28 19:49:17] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,86,83,24,241,157,16,32,160,150,45,192,174,31,42,10,66,68,242,1,240,53,227,72,4,113,205,78,43,128,239,48,2,57,7,44],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1784021198,"validated":0}]} 
[2026-08-28 19:49:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2233822983254704128,"timestamp_seconds":2233822983254704.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 19: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-28 19:49:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:49:17] local.INFO: Teltonika packet parsed successfully {"connection_id":165010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:49:17] local.INFO: Passing IMEI to GPS processor {"connection_id":165010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:49:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":165010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:49:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:49:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:49:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:49:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709210624001,"66":12287,"86":206,"83":41984,"24":0,"16":16079618821849088,"45":1597581629661806592},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,83,24,16,45]} 
[2026-08-28 19:49:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:49:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:49:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709210624001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:49:17] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-08-28 19:49:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:49:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16079618821849088,"km_value":16079618821849.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:49:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1597581629661806592,"description":"Unknown IO ID 45"} 
[2026-08-28 19:49:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709210624001,"power":12287,"unknown_86":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1597581629661806592}} 
[2026-08-28 19:49:17] local.INFO: DEBUG: GPS processor result {"connection_id":165010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709981,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:49:17] local.INFO: GPS data processed {"connection_id":165010,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:49:17] local.INFO: Acknowledgment sent {"connection_id":165010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:49:30] local.INFO: TCP Data received {"connection_id":163720,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:49:30] local.INFO: Processing buffer {"connection_id":163720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:49:30] local.INFO: IMEI packet received {"connection_id":163720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 19:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":163720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:49:35] local.INFO: TCP Data received {"connection_id":163720,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:49:35] local.INFO: Processing buffer {"connection_id":163720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:49:35] local.INFO: IMEI packet received {"connection_id":163720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 19:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":163720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:49:35] local.INFO: TCP Data received {"connection_id":163994,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048b8d988012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048b8d988012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:49:35] local.INFO: Processing buffer {"connection_id":163994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048b8d988012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:49:35] local.INFO: Packet analysis {"connection_id":163994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048b8"} 
[2026-08-28 19:49:35] local.INFO: Extracted packet for processing {"connection_id":163994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048b8"} 
[2026-08-28 19:49:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:49:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709099008001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:49:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:49:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:49:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:49:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787926469000,"timestamp_ms":1787926469000,"timestamp_seconds":1787926469,"priority":1,"record_length":96,"hex_timestamp":"000001a048b8d988"} 
[2026-08-28 19:49:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:49:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-28 19:49:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:49:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:49:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:49:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:49:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:49:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163994,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:49:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163994,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:49:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:49:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:49:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:49:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709099008001,"66":25299,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:49:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:49:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:49:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709099008001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:49:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:49:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:49:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:49:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:49:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709099008001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:49:35] local.INFO: DEBUG: GPS processor result {"connection_id":163994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709982,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:49:35] local.INFO: GPS data processed {"connection_id":163994,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:49:35] local.INFO: Acknowledgment sent {"connection_id":163994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:49:36] local.INFO: TCP Data received {"connection_id":163720,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048bae8e0012d34c14006aa4840000c00e62a..."} 
[2026-08-28 19:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048bae8e0012d34c14006aa4840000c00e62a..."} 
[2026-08-28 19:49:36] local.INFO: Processing buffer {"connection_id":163720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048bae8e0012d34c14006aa4840000c00e62a..."} 
[2026-08-28 19:49:36] local.INFO: Packet analysis {"connection_id":163720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ba"} 
[2026-08-28 19:49:36] local.INFO: Extracted packet for processing {"connection_id":163720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ba"} 
[2026-08-28 19:49:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709133568001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787926604000,"timestamp_ms":1787926604000,"timestamp_seconds":1787926604,"priority":1,"record_length":96,"hex_timestamp":"000001a048bae8e0"} 
[2026-08-28 19:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 19:49:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:49:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:49:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709133568001,"66":25397,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709133568001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:49:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:49:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709133568001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:49:36] 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":709983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:49:36] local.INFO: GPS data processed {"connection_id":163720,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:49:36] local.INFO: Acknowledgment sent {"connection_id":163720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:49:41] local.INFO: TCP Data received {"connection_id":163720,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048bae8e0012d34c14006aa4840000c00e62a..."} 
[2026-08-28 19:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048bae8e0012d34c14006aa4840000c00e62a..."} 
[2026-08-28 19:49:41] local.INFO: Processing buffer {"connection_id":163720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048bae8e0012d34c14006aa4840000c00e62a..."} 
[2026-08-28 19:49:41] local.INFO: Packet analysis {"connection_id":163720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ba"} 
[2026-08-28 19:49:41] local.INFO: Extracted packet for processing {"connection_id":163720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ba"} 
[2026-08-28 19:49:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19: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-28 19:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709133568001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:49:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:49:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787926604000,"timestamp_ms":1787926604000,"timestamp_seconds":1787926604,"priority":1,"record_length":96,"hex_timestamp":"000001a048bae8e0"} 
[2026-08-28 19: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-28 19:49:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 19:49: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-28 19: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-28 19: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-28 19:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":163720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":163720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":163720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:49:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709133568001,"66":25397,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709133568001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:49:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:49:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19: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-28 19:49:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709133568001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:49:41] 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":709984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:49:41] local.INFO: GPS data processed {"connection_id":163720,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:49:41] local.INFO: Acknowledgment sent {"connection_id":163720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:49:41] local.INFO: TCP Data received {"connection_id":163721,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:49:41] local.INFO: Processing buffer {"connection_id":163721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:49:41] local.INFO: IMEI packet received {"connection_id":163721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 19:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":163721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:49:42] local.INFO: TCP Data received {"connection_id":163721,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:49:42] local.INFO: Processing buffer {"connection_id":163721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:49:42] local.INFO: IMEI packet received {"connection_id":163721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 19:49:42] local.INFO: IMEI acknowledgment sent {"connection_id":163721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:49:43] local.INFO: TCP Data received {"connection_id":163721,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:49:43] local.INFO: Processing buffer {"connection_id":163721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:49:43] local.INFO: IMEI packet received {"connection_id":163721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 19:49:43] local.INFO: IMEI acknowledgment sent {"connection_id":163721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:49:44] local.INFO: TCP Data received {"connection_id":163721,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:49:44] local.INFO: Processing buffer {"connection_id":163721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:49:44] local.INFO: IMEI packet received {"connection_id":163721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 19:49:44] local.INFO: IMEI acknowledgment sent {"connection_id":163721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:49:56] local.INFO: TCP Data received {"connection_id":163722,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163722,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:49:56] local.INFO: Processing buffer {"connection_id":163722,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:49:56] local.INFO: IMEI packet received {"connection_id":163722,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 19:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":163722,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:50:01] local.INFO: TCP Data received {"connection_id":163722,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163722,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:50:01] local.INFO: Processing buffer {"connection_id":163722,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:50:01] local.INFO: IMEI packet received {"connection_id":163722,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 19:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":163722,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:50:03] local.INFO: TCP Data received {"connection_id":163722,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048b8d988012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048b8d988012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:50:03] local.INFO: Processing buffer {"connection_id":163722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048b8d988012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:50:03] local.INFO: Packet analysis {"connection_id":163722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048b8"} 
[2026-08-28 19:50:03] local.INFO: Extracted packet for processing {"connection_id":163722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048b8"} 
[2026-08-28 19:50:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709099008001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:50:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787926469000,"timestamp_ms":1787926469000,"timestamp_seconds":1787926469,"priority":1,"record_length":96,"hex_timestamp":"000001a048b8d988"} 
[2026-08-28 19:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:50:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-28 19:50:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:50:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163722,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163722,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709099008001,"66":25299,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709099008001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:50:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:50:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709099008001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:50:03] 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":709985,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:50:03] local.INFO: GPS data processed {"connection_id":163722,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:50:03] local.INFO: Acknowledgment sent {"connection_id":163722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:50:12] local.INFO: TCP Data received {"connection_id":163720,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048bae8e0012d34c14006aa4840000c00e62a..."} 
[2026-08-28 19:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048bae8e0012d34c14006aa4840000c00e62a..."} 
[2026-08-28 19:50:12] local.INFO: Processing buffer {"connection_id":163720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048bae8e0012d34c14006aa4840000c00e62a..."} 
[2026-08-28 19:50:12] local.INFO: Packet analysis {"connection_id":163720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ba"} 
[2026-08-28 19:50:12] local.INFO: Extracted packet for processing {"connection_id":163720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ba"} 
[2026-08-28 19:50:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:50:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709133568001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:50:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:50:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:50:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:50:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787926604000,"timestamp_ms":1787926604000,"timestamp_seconds":1787926604,"priority":1,"record_length":96,"hex_timestamp":"000001a048bae8e0"} 
[2026-08-28 19:50:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:50:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 19:50:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:50:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:50:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:50:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:50:12] local.INFO: Teltonika packet parsed successfully {"connection_id":163720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:50:12] local.INFO: Passing IMEI to GPS processor {"connection_id":163720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:50:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":163720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:50:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:50:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:50:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:50:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709133568001,"66":25397,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:50:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:50:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:50:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709133568001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:50:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:50:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:50: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-28 19:50:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:50:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709133568001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:50:12] 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":709986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:50:12] local.INFO: GPS data processed {"connection_id":163720,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:50:12] local.INFO: Acknowledgment sent {"connection_id":163720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:50:30] local.INFO: TCP Data received {"connection_id":163995,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:50:30] local.INFO: Processing buffer {"connection_id":163995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:50:30] local.INFO: IMEI packet received {"connection_id":163995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 19:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":163995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:50:34] local.INFO: TCP Data received {"connection_id":163722,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048bd7150012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048bd7150012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:50:34] local.INFO: Processing buffer {"connection_id":163722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048bd7150012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:50:34] local.INFO: Packet analysis {"connection_id":163722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048bd"} 
[2026-08-28 19:50:34] local.INFO: Extracted packet for processing {"connection_id":163722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048bd"} 
[2026-08-28 19:50:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709176064001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:50:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:50:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787926770000,"timestamp_ms":1787926770000,"timestamp_seconds":1787926770,"priority":1,"record_length":96,"hex_timestamp":"000001a048bd7150"} 
[2026-08-28 19:50:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:50:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 19:50:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:50:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:50:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163722,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163722,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:50:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709176064001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709176064001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:50:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:50:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:50:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:50:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709176064001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:50:34] 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":709987,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:50:34] local.INFO: GPS data processed {"connection_id":163722,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:50:34] local.INFO: Acknowledgment sent {"connection_id":163722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:50:35] local.INFO: TCP Data received {"connection_id":163995,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:50:35] local.INFO: Processing buffer {"connection_id":163995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:50:35] local.INFO: IMEI packet received {"connection_id":163995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 19:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":163995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:50:37] local.INFO: TCP Data received {"connection_id":163995,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048bae8e0012d34c14006aa4840000c00e62a..."} 
[2026-08-28 19:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048bae8e0012d34c14006aa4840000c00e62a..."} 
[2026-08-28 19:50:37] local.INFO: Processing buffer {"connection_id":163995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048bae8e0012d34c14006aa4840000c00e62a..."} 
[2026-08-28 19:50:37] local.INFO: Packet analysis {"connection_id":163995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ba"} 
[2026-08-28 19:50:37] local.INFO: Extracted packet for processing {"connection_id":163995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ba"} 
[2026-08-28 19:50:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19: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-28 19:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709133568001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787926604000,"timestamp_ms":1787926604000,"timestamp_seconds":1787926604,"priority":1,"record_length":96,"hex_timestamp":"000001a048bae8e0"} 
[2026-08-28 19: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-28 19:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 19:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19: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-28 19: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-28 19:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709133568001,"66":25397,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709133568001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:50:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:50:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:50: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-28 19:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709133568001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":163995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:50:37] local.INFO: GPS data processed {"connection_id":163995,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:50:37] local.INFO: Acknowledgment sent {"connection_id":163995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:50:56] local.INFO: TCP Data received {"connection_id":163996,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163996,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:50:56] local.INFO: Processing buffer {"connection_id":163996,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:50:56] local.INFO: IMEI packet received {"connection_id":163996,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 19:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":163996,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:51:01] local.INFO: TCP Data received {"connection_id":163996,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163996,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:51:01] local.INFO: Processing buffer {"connection_id":163996,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:51:01] local.INFO: IMEI packet received {"connection_id":163996,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 19:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":163996,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:51:02] local.INFO: TCP Data received {"connection_id":163996,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048bd7150012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048bd7150012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:51:02] local.INFO: Processing buffer {"connection_id":163996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048bd7150012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:51:02] local.INFO: Packet analysis {"connection_id":163996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048bd"} 
[2026-08-28 19:51:02] local.INFO: Extracted packet for processing {"connection_id":163996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048bd"} 
[2026-08-28 19:51:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709176064001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:51:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:51:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787926770000,"timestamp_ms":1787926770000,"timestamp_seconds":1787926770,"priority":1,"record_length":96,"hex_timestamp":"000001a048bd7150"} 
[2026-08-28 19:51:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:51:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 19:51:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:51:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:51:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163996,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163996,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:51:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709176064001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709176064001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:51:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:51:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:51:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:51:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709176064001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":163996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709989,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:51:03] local.INFO: GPS data processed {"connection_id":163996,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:51:03] local.INFO: Acknowledgment sent {"connection_id":163996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:51:09] local.INFO: TCP Data received {"connection_id":163995,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048bae8e0012d34c14006aa4840000c00e62a..."} 
[2026-08-28 19:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048bae8e0012d34c14006aa4840000c00e62a..."} 
[2026-08-28 19:51:09] local.INFO: Processing buffer {"connection_id":163995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048bae8e0012d34c14006aa4840000c00e62a..."} 
[2026-08-28 19:51:09] local.INFO: Packet analysis {"connection_id":163995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ba"} 
[2026-08-28 19:51:09] local.INFO: Extracted packet for processing {"connection_id":163995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ba"} 
[2026-08-28 19:51:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709133568001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:51:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:51:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787926604000,"timestamp_ms":1787926604000,"timestamp_seconds":1787926604,"priority":1,"record_length":96,"hex_timestamp":"000001a048bae8e0"} 
[2026-08-28 19:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:51:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 19:51:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:51:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:51:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709133568001,"66":25397,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709133568001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:51:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:51:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:51: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-28 19:51:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709133568001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":163995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:51:09] local.INFO: GPS data processed {"connection_id":163995,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:51:09] local.INFO: Acknowledgment sent {"connection_id":163995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:51:29] local.INFO: TCP Data received {"connection_id":166367,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:51:29] local.INFO: Processing buffer {"connection_id":166367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:51:29] local.INFO: IMEI packet received {"connection_id":166367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 19:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":166367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:51:34] local.INFO: TCP Data received {"connection_id":163996,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048bd7150012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048bd7150012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:51:34] local.INFO: Processing buffer {"connection_id":163996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048bd7150012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:51:34] local.INFO: Packet analysis {"connection_id":163996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048bd"} 
[2026-08-28 19:51:34] local.INFO: Extracted packet for processing {"connection_id":163996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048bd"} 
[2026-08-28 19:51:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709176064001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:51:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787926770000,"timestamp_ms":1787926770000,"timestamp_seconds":1787926770,"priority":1,"record_length":96,"hex_timestamp":"000001a048bd7150"} 
[2026-08-28 19:51:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:51:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 19:51:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:51:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:51:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163996,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163996,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:51:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709176064001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709176064001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:51:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:51:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709176064001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":163996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709991,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:51:34] local.INFO: GPS data processed {"connection_id":163996,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:51:34] local.INFO: Acknowledgment sent {"connection_id":163996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:51:35] local.INFO: TCP Data received {"connection_id":166367,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:51:35] local.INFO: Processing buffer {"connection_id":166367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:51:35] local.INFO: IMEI packet received {"connection_id":166367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 19:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":166367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:51:36] local.INFO: TCP Data received {"connection_id":166367,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048bae8e0012d34c14006aa4840000c00e62a..."} 
[2026-08-28 19:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048bae8e0012d34c14006aa4840000c00e62a..."} 
[2026-08-28 19:51:36] local.INFO: Processing buffer {"connection_id":166367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048bae8e0012d34c14006aa4840000c00e62a..."} 
[2026-08-28 19:51:36] local.INFO: Packet analysis {"connection_id":166367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ba"} 
[2026-08-28 19:51:36] local.INFO: Extracted packet for processing {"connection_id":166367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ba"} 
[2026-08-28 19:51:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709133568001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787926604000,"timestamp_ms":1787926604000,"timestamp_seconds":1787926604,"priority":1,"record_length":96,"hex_timestamp":"000001a048bae8e0"} 
[2026-08-28 19:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 19:51:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:51:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":166367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":166367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":166367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709133568001,"66":25397,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709133568001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:51:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:51:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709133568001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":166367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:51:36] local.INFO: GPS data processed {"connection_id":166367,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:51:36] local.INFO: Acknowledgment sent {"connection_id":166367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:51:56] local.INFO: TCP Data received {"connection_id":163997,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163997,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:51:56] local.INFO: Processing buffer {"connection_id":163997,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:51:56] local.INFO: IMEI packet received {"connection_id":163997,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 19:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":163997,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:52:01] local.INFO: TCP Data received {"connection_id":163997,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163997,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:52:01] local.INFO: Processing buffer {"connection_id":163997,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:52:01] local.INFO: IMEI packet received {"connection_id":163997,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 19:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":163997,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:52:03] local.INFO: TCP Data received {"connection_id":163997,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048bd7150012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048bd7150012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:52:03] local.INFO: Processing buffer {"connection_id":163997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048bd7150012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:52:03] local.INFO: Packet analysis {"connection_id":163997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048bd"} 
[2026-08-28 19:52:03] local.INFO: Extracted packet for processing {"connection_id":163997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048bd"} 
[2026-08-28 19:52:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709176064001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:52:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787926770000,"timestamp_ms":1787926770000,"timestamp_seconds":1787926770,"priority":1,"record_length":96,"hex_timestamp":"000001a048bd7150"} 
[2026-08-28 19:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:52:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 19:52:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:52:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163997,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163997,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:52:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709176064001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709176064001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:52:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:52:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709176064001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":163997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709993,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:52:03] local.INFO: GPS data processed {"connection_id":163997,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:52:03] local.INFO: Acknowledgment sent {"connection_id":163997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:52:08] local.INFO: TCP Data received {"connection_id":166367,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048bae8e0012d34c14006aa4840000c00e62a..."} 
[2026-08-28 19:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048bae8e0012d34c14006aa4840000c00e62a..."} 
[2026-08-28 19:52:08] local.INFO: Processing buffer {"connection_id":166367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048bae8e0012d34c14006aa4840000c00e62a..."} 
[2026-08-28 19:52:08] local.INFO: Packet analysis {"connection_id":166367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ba"} 
[2026-08-28 19:52:08] local.INFO: Extracted packet for processing {"connection_id":166367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ba"} 
[2026-08-28 19:52:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709133568001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:52:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787926604000,"timestamp_ms":1787926604000,"timestamp_seconds":1787926604,"priority":1,"record_length":96,"hex_timestamp":"000001a048bae8e0"} 
[2026-08-28 19:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:52:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 19:52:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:52:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":166367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":166367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":166367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709133568001,"66":25397,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709133568001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:52:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:52:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:52: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-28 19:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709133568001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":166367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:52:08] local.INFO: GPS data processed {"connection_id":166367,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:52:08] local.INFO: Acknowledgment sent {"connection_id":166367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:52:29] local.INFO: TCP Data received {"connection_id":163998,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:52:29] local.INFO: Processing buffer {"connection_id":163998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:52:29] local.INFO: IMEI packet received {"connection_id":163998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 19:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":163998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:52:35] local.INFO: TCP Data received {"connection_id":163997,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048bd7150012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048bd7150012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:52:35] local.INFO: Processing buffer {"connection_id":163997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048bd7150012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:52:35] local.INFO: Packet analysis {"connection_id":163997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048bd"} 
[2026-08-28 19:52:35] local.INFO: Extracted packet for processing {"connection_id":163997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048bd"} 
[2026-08-28 19:52:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709176064001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:52:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:52:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787926770000,"timestamp_ms":1787926770000,"timestamp_seconds":1787926770,"priority":1,"record_length":96,"hex_timestamp":"000001a048bd7150"} 
[2026-08-28 19:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:52:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 19:52:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:52:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163997,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163997,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:52:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709176064001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709176064001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:52:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:52:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:52:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709176064001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":163997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709995,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:52:35] local.INFO: GPS data processed {"connection_id":163997,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:52:35] local.INFO: Acknowledgment sent {"connection_id":163997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:52:35] local.INFO: TCP Data received {"connection_id":163998,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:52:35] local.INFO: Processing buffer {"connection_id":163998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:52:35] local.INFO: IMEI packet received {"connection_id":163998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 19:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":163998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:52:37] local.INFO: TCP Data received {"connection_id":163998,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048bf80a8012d34c14006aa4840000c00e62c..."} 
[2026-08-28 19:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048bf80a8012d34c14006aa4840000c00e62c..."} 
[2026-08-28 19:52:37] local.INFO: Processing buffer {"connection_id":163998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048bf80a8012d34c14006aa4840000c00e62c..."} 
[2026-08-28 19:52:37] local.INFO: Packet analysis {"connection_id":163998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048bf"} 
[2026-08-28 19:52:37] local.INFO: Extracted packet for processing {"connection_id":163998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048bf"} 
[2026-08-28 19:52:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19: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-28 19:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709210624001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787926905000,"timestamp_ms":1787926905000,"timestamp_seconds":1787926905,"priority":1,"record_length":96,"hex_timestamp":"000001a048bf80a8"} 
[2026-08-28 19: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-28 19:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 19:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19: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-28 19: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-28 19:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709210624001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709210624001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:52:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:52:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:52: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-28 19:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709210624001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":163998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:52:37] local.INFO: GPS data processed {"connection_id":163998,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:52:37] local.INFO: Acknowledgment sent {"connection_id":163998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:53:01] local.INFO: TCP Data received {"connection_id":165012,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165012,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:53:01] local.INFO: Processing buffer {"connection_id":165012,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:53:01] local.INFO: IMEI packet received {"connection_id":165012,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 19:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":165012,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:53:06] local.INFO: TCP Data received {"connection_id":165012,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165012,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:53:06] local.INFO: Processing buffer {"connection_id":165012,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:53:06] local.INFO: IMEI packet received {"connection_id":165012,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 19:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":165012,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:53:07] local.INFO: TCP Data received {"connection_id":165012,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048bd7150012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048bd7150012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:53:07] local.INFO: Processing buffer {"connection_id":165012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048bd7150012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:53:07] local.INFO: Packet analysis {"connection_id":165012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048bd"} 
[2026-08-28 19:53:07] local.INFO: Extracted packet for processing {"connection_id":165012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048bd"} 
[2026-08-28 19:53:07] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709176064001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787926770000,"timestamp_ms":1787926770000,"timestamp_seconds":1787926770,"priority":1,"record_length":96,"hex_timestamp":"000001a048bd7150"} 
[2026-08-28 19:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 19:53:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:53:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":165012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":165012,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":165012,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709176064001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709176064001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:53:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:53:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709176064001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:53:08] 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":709997,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:53:08] local.INFO: GPS data processed {"connection_id":165012,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:53:08] local.INFO: Acknowledgment sent {"connection_id":165012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:53:09] local.INFO: TCP Data received {"connection_id":163998,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048bf80a8012d34c14006aa4840000c00e62c..."} 
[2026-08-28 19:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048bf80a8012d34c14006aa4840000c00e62c..."} 
[2026-08-28 19:53:09] local.INFO: Processing buffer {"connection_id":163998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048bf80a8012d34c14006aa4840000c00e62c..."} 
[2026-08-28 19:53:09] local.INFO: Packet analysis {"connection_id":163998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048bf"} 
[2026-08-28 19:53:09] local.INFO: Extracted packet for processing {"connection_id":163998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048bf"} 
[2026-08-28 19:53:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709210624001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:53:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:53:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787926905000,"timestamp_ms":1787926905000,"timestamp_seconds":1787926905,"priority":1,"record_length":96,"hex_timestamp":"000001a048bf80a8"} 
[2026-08-28 19:53:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:53:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 19:53:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:53:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:53:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:53:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709210624001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709210624001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:53:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:53:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:53: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-28 19:53:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709210624001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":163998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":709998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:53:09] local.INFO: GPS data processed {"connection_id":163998,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:53:09] local.INFO: Acknowledgment sent {"connection_id":163998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:53:12] local.INFO: TCP Data received {"connection_id":165012,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048bd7150012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048bd7150012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:53:12] local.INFO: Processing buffer {"connection_id":165012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048bd7150012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:53:12] local.INFO: Packet analysis {"connection_id":165012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048bd"} 
[2026-08-28 19:53:12] local.INFO: Extracted packet for processing {"connection_id":165012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048bd"} 
[2026-08-28 19:53:12] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709176064001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:53:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:53:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787926770000,"timestamp_ms":1787926770000,"timestamp_seconds":1787926770,"priority":1,"record_length":96,"hex_timestamp":"000001a048bd7150"} 
[2026-08-28 19:53:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:53:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 19:53:12] 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-28 19:53:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:53:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":165012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":165012,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":165012,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:53:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709176064001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709176064001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:53:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:53:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:53:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709176064001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:53:12] 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":709999,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:53:12] local.INFO: GPS data processed {"connection_id":165012,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:53:12] local.INFO: Acknowledgment sent {"connection_id":165012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:53:35] local.INFO: TCP Data received {"connection_id":163724,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:53:35] local.INFO: Processing buffer {"connection_id":163724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:53:35] local.INFO: IMEI packet received {"connection_id":163724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 19:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":163724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:53:40] local.INFO: TCP Data received {"connection_id":163724,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:53:40] local.INFO: Processing buffer {"connection_id":163724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:53:40] local.INFO: IMEI packet received {"connection_id":163724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 19:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":163724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:53:41] local.INFO: TCP Data received {"connection_id":163724,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048bf80a8012d34c14006aa4840000c00e62c..."} 
[2026-08-28 19:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048bf80a8012d34c14006aa4840000c00e62c..."} 
[2026-08-28 19:53:41] local.INFO: Processing buffer {"connection_id":163724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048bf80a8012d34c14006aa4840000c00e62c..."} 
[2026-08-28 19:53:41] local.INFO: Packet analysis {"connection_id":163724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048bf"} 
[2026-08-28 19:53:41] local.INFO: Extracted packet for processing {"connection_id":163724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048bf"} 
[2026-08-28 19:53:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19: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-28 19:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709210624001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:53:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:53:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787926905000,"timestamp_ms":1787926905000,"timestamp_seconds":1787926905,"priority":1,"record_length":96,"hex_timestamp":"000001a048bf80a8"} 
[2026-08-28 19: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-28 19:53:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 19:53: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-28 19: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-28 19: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-28 19:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":163724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":163724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":163724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:53:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:53:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709210624001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:53:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:53:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:53:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709210624001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:53:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:53:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19: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-28 19:53:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:53:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709210624001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:53:41] 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":710000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:53:41] local.INFO: GPS data processed {"connection_id":163724,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:53:41] local.INFO: Acknowledgment sent {"connection_id":163724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:53:46] local.INFO: TCP Data received {"connection_id":163724,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048bf80a8012d34c14006aa4840000c00e62c..."} 
[2026-08-28 19:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048bf80a8012d34c14006aa4840000c00e62c..."} 
[2026-08-28 19:53:46] local.INFO: Processing buffer {"connection_id":163724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048bf80a8012d34c14006aa4840000c00e62c..."} 
[2026-08-28 19:53:46] local.INFO: Packet analysis {"connection_id":163724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048bf"} 
[2026-08-28 19:53:46] local.INFO: Extracted packet for processing {"connection_id":163724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048bf"} 
[2026-08-28 19:53:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19: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-28 19:53:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709210624001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:53:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:53:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:53:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:53:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787926905000,"timestamp_ms":1787926905000,"timestamp_seconds":1787926905,"priority":1,"record_length":96,"hex_timestamp":"000001a048bf80a8"} 
[2026-08-28 19: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-28 19:53:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 19:53: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-28 19: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-28 19: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-28 19:53:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:53:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:53:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:53:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:53:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:53:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:53:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:53:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709210624001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:53:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:53:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:53:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709210624001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:53:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:53:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:53: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-28 19:53:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:53:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709210624001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:53:46] 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":710001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:53:46] local.INFO: GPS data processed {"connection_id":163724,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:53:46] local.INFO: Acknowledgment sent {"connection_id":163724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:53:56] local.INFO: TCP Data received {"connection_id":165014,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165014,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:53:56] local.INFO: Processing buffer {"connection_id":165014,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:53:56] local.INFO: IMEI packet received {"connection_id":165014,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 19:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":165014,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:54:01] local.INFO: TCP Data received {"connection_id":165014,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165014,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:54:01] local.INFO: Processing buffer {"connection_id":165014,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:54:01] local.INFO: IMEI packet received {"connection_id":165014,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 19:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":165014,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:54:04] local.INFO: TCP Data received {"connection_id":165014,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048bd7150012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048bd7150012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:54:04] local.INFO: Processing buffer {"connection_id":165014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048bd7150012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:54:04] local.INFO: Packet analysis {"connection_id":165014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048bd"} 
[2026-08-28 19:54:04] local.INFO: Extracted packet for processing {"connection_id":165014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048bd"} 
[2026-08-28 19:54:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709176064001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:54:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787926770000,"timestamp_ms":1787926770000,"timestamp_seconds":1787926770,"priority":1,"record_length":96,"hex_timestamp":"000001a048bd7150"} 
[2026-08-28 19:54:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:54:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 19:54:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:54:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:54:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":165014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":165014,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":165014,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:54:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709176064001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709176064001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:54:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:54:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709176064001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:54:04] 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":710002,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:54:04] local.INFO: GPS data processed {"connection_id":165014,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:54:04] local.INFO: Acknowledgment sent {"connection_id":165014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:54:30] local.INFO: TCP Data received {"connection_id":166369,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:54:30] local.INFO: Processing buffer {"connection_id":166369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:54:30] local.INFO: IMEI packet received {"connection_id":166369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 19:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":166369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:54:35] local.INFO: TCP Data received {"connection_id":166369,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:54:35] local.INFO: Processing buffer {"connection_id":166369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:54:35] local.INFO: IMEI packet received {"connection_id":166369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 19:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":166369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:54:36] local.INFO: TCP Data received {"connection_id":165014,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048bd7150012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048bd7150012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:54:36] local.INFO: Processing buffer {"connection_id":165014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048bd7150012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:54:36] local.INFO: Packet analysis {"connection_id":165014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048bd"} 
[2026-08-28 19:54:36] local.INFO: Extracted packet for processing {"connection_id":165014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048bd"} 
[2026-08-28 19:54:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709176064001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:54:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787926770000,"timestamp_ms":1787926770000,"timestamp_seconds":1787926770,"priority":1,"record_length":96,"hex_timestamp":"000001a048bd7150"} 
[2026-08-28 19:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 19:54:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:54:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":165014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":165014,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":165014,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:54:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709176064001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709176064001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:54:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:54:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709176064001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:54:36] 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":710003,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:54:36] local.INFO: GPS data processed {"connection_id":165014,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:54:36] local.INFO: Acknowledgment sent {"connection_id":165014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:54:36] local.INFO: TCP Data received {"connection_id":166369,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048bf80a8012d34c14006aa4840000c00e62c..."} 
[2026-08-28 19:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048bf80a8012d34c14006aa4840000c00e62c..."} 
[2026-08-28 19:54:36] local.INFO: Processing buffer {"connection_id":166369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048bf80a8012d34c14006aa4840000c00e62c..."} 
[2026-08-28 19:54:36] local.INFO: Packet analysis {"connection_id":166369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048bf"} 
[2026-08-28 19:54:36] local.INFO: Extracted packet for processing {"connection_id":166369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048bf"} 
[2026-08-28 19:54:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709210624001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:54:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787926905000,"timestamp_ms":1787926905000,"timestamp_seconds":1787926905,"priority":1,"record_length":96,"hex_timestamp":"000001a048bf80a8"} 
[2026-08-28 19:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 19:54:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:54:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":166369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":166369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":166369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:54:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709210624001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709210624001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:54:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:54:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709210624001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":166369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:54:36] local.INFO: GPS data processed {"connection_id":166369,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:54:36] local.INFO: Acknowledgment sent {"connection_id":166369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:54:56] local.INFO: TCP Data received {"connection_id":163999,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163999,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:54:56] local.INFO: Processing buffer {"connection_id":163999,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:54:56] local.INFO: IMEI packet received {"connection_id":163999,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 19:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":163999,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:54:56] local.INFO: TCP Data received {"connection_id":164000,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:54:56] local.INFO: Processing buffer {"connection_id":164000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:54:56] local.INFO: IMEI packet received {"connection_id":164000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 19:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":164000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:54:57] local.INFO: TCP Data received {"connection_id":164000,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:54:57] local.INFO: Processing buffer {"connection_id":164000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:54:57] local.INFO: IMEI packet received {"connection_id":164000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 19:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":164000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:54:58] local.INFO: TCP Data received {"connection_id":164000,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:54:59] local.INFO: Processing buffer {"connection_id":164000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:54:59] local.INFO: IMEI packet received {"connection_id":164000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 19:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":164000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:54:59] local.INFO: TCP Data received {"connection_id":164000,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:54:59] local.INFO: Processing buffer {"connection_id":164000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:54:59] local.INFO: IMEI packet received {"connection_id":164000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 19:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":164000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:55:00] local.INFO: TCP Data received {"connection_id":164000,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048c19000012d16908007206c50003600a622..."} 
[2026-08-28 19:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048c19000012d16908007206c50003600a622..."} 
[2026-08-28 19:55:00] local.INFO: Processing buffer {"connection_id":164000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048c19000012d16908007206c50003600a622..."} 
[2026-08-28 19:55:00] local.INFO: Packet analysis {"connection_id":164000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048c1"} 
[2026-08-28 19:55:00] local.INFO: Extracted packet for processing {"connection_id":164000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048c1"} 
[2026-08-28 19:55:00] local.INFO: GPS Element Parsed {"raw_longitude":756453504,"raw_latitude":119565392,"longitude_deg":75.6453504,"latitude_deg":11.9565392,"altitude":54,"angle":166,"satellites":34,"speed":0,"hex_longitude":"2d169080","hex_latitude":"07206c50","is_valid_coordinates":true} 
[2026-08-28 19:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:55:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709316864001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:55:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16082736968105984,"note":"Value kept but may cause issues"} 
[2026-08-28 19:55:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1625940233577844736,"note":"Value kept but may cause issues"} 
[2026-08-28 19:55:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:55:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787927040000,"timestamp_ms":1787927040000,"timestamp_seconds":1787927040,"priority":1,"record_length":96,"hex_timestamp":"000001a048c19000"} 
[2026-08-28 19:55:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:55:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-28 19:55:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:55:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:55:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:55:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:55:00] local.INFO: Teltonika packet parsed successfully {"connection_id":164000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:55:00] local.INFO: Passing IMEI to GPS processor {"connection_id":164000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:55:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":164000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:55:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:55:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:55:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:55:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709316864001,"66":13472,"107":206,"83":41984,"24":0,"16":16082736968105984,"45":1625940233577844736},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-28 19:55:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:55:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:55:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709316864001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:55:00] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-28 19:55:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:55:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16082736968105984,"km_value":16082736968105.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:55:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1625940233577844736,"description":"Unknown IO ID 45"} 
[2026-08-28 19:55:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709316864001,"power":13472,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1625940233577844736}} 
[2026-08-28 19:55:00] local.INFO: DEBUG: GPS processor result {"connection_id":164000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710005,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:55:00] local.INFO: GPS data processed {"connection_id":164000,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:55:00] local.INFO: Acknowledgment sent {"connection_id":164000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:55:01] local.INFO: TCP Data received {"connection_id":163999,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163999,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:55:01] local.INFO: Processing buffer {"connection_id":163999,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:55:01] local.INFO: IMEI packet received {"connection_id":163999,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 19:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":163999,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:55:04] local.INFO: TCP Data received {"connection_id":163999,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048bd7150012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048bd7150012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:55:04] local.INFO: Processing buffer {"connection_id":163999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048bd7150012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:55:04] local.INFO: Packet analysis {"connection_id":163999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048bd"} 
[2026-08-28 19:55:04] local.INFO: Extracted packet for processing {"connection_id":163999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048bd"} 
[2026-08-28 19:55:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709176064001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787926770000,"timestamp_ms":1787926770000,"timestamp_seconds":1787926770,"priority":1,"record_length":96,"hex_timestamp":"000001a048bd7150"} 
[2026-08-28 19:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 19:55:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:55:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":163999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":163999,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":163999,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709176064001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709176064001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:55:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:55:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709176064001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":163999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710006,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:55:04] local.INFO: GPS data processed {"connection_id":163999,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:55:04] local.INFO: Acknowledgment sent {"connection_id":163999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:55:08] local.INFO: TCP Data received {"connection_id":166369,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048bf80a8012d34c14006aa4840000c00e62c..."} 
[2026-08-28 19:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048bf80a8012d34c14006aa4840000c00e62c..."} 
[2026-08-28 19:55:08] local.INFO: Processing buffer {"connection_id":166369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048bf80a8012d34c14006aa4840000c00e62c..."} 
[2026-08-28 19:55:08] local.INFO: Packet analysis {"connection_id":166369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048bf"} 
[2026-08-28 19:55:08] local.INFO: Extracted packet for processing {"connection_id":166369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048bf"} 
[2026-08-28 19:55:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709210624001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:55:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:55:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787926905000,"timestamp_ms":1787926905000,"timestamp_seconds":1787926905,"priority":1,"record_length":96,"hex_timestamp":"000001a048bf80a8"} 
[2026-08-28 19:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:55:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 19:55:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:55:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":166369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":166369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":166369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:55:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709210624001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709210624001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:55:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:55:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:55: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-28 19:55:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709210624001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":166369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:55:08] local.INFO: GPS data processed {"connection_id":166369,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:55:08] local.INFO: Acknowledgment sent {"connection_id":166369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:55:29] local.INFO: TCP Data received {"connection_id":164001,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:55:29] local.INFO: Processing buffer {"connection_id":164001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:55:29] local.INFO: IMEI packet received {"connection_id":164001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 19:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":164001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:55:35] local.INFO: TCP Data received {"connection_id":164001,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:55:35] local.INFO: Processing buffer {"connection_id":164001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:55:35] local.INFO: IMEI packet received {"connection_id":164001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 19:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":164001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:55:36] local.INFO: TCP Data received {"connection_id":164001,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048bf80a8012d34c14006aa4840000c00e62c..."} 
[2026-08-28 19:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048bf80a8012d34c14006aa4840000c00e62c..."} 
[2026-08-28 19:55:36] local.INFO: Processing buffer {"connection_id":164001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048bf80a8012d34c14006aa4840000c00e62c..."} 
[2026-08-28 19:55:36] local.INFO: Packet analysis {"connection_id":164001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048bf"} 
[2026-08-28 19:55:36] local.INFO: Extracted packet for processing {"connection_id":164001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048bf"} 
[2026-08-28 19:55:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709210624001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787926905000,"timestamp_ms":1787926905000,"timestamp_seconds":1787926905,"priority":1,"record_length":96,"hex_timestamp":"000001a048bf80a8"} 
[2026-08-28 19:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 19:55:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:55:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":164001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":164001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":164001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:55:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709210624001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709210624001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:55:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:55:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709210624001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":164001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:55:36] local.INFO: GPS data processed {"connection_id":164001,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:55:36] local.INFO: Acknowledgment sent {"connection_id":164001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:55:36] local.INFO: TCP Data received {"connection_id":163999,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048c20918012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048c20918012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:55:36] local.INFO: Processing buffer {"connection_id":163999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048c20918012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:55:36] local.INFO: Packet analysis {"connection_id":163999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048c2"} 
[2026-08-28 19:55:36] local.INFO: Extracted packet for processing {"connection_id":163999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048c2"} 
[2026-08-28 19:55:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709253120001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787927071000,"timestamp_ms":1787927071000,"timestamp_seconds":1787927071,"priority":1,"record_length":96,"hex_timestamp":"000001a048c20918"} 
[2026-08-28 19:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 19:55:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:55:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163999,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163999,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:55:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709253120001,"66":25288,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709253120001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:55:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:55:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709253120001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":163999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710009,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:55:36] local.INFO: GPS data processed {"connection_id":163999,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:55:36] local.INFO: Acknowledgment sent {"connection_id":163999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:55:40] local.INFO: TCP Data received {"connection_id":166370,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166370,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:55:40] local.INFO: Processing buffer {"connection_id":166370,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:55:40] local.INFO: IMEI packet received {"connection_id":166370,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 19:55:40] local.INFO: IMEI acknowledgment sent {"connection_id":166370,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:55:42] local.INFO: TCP Data received {"connection_id":166370,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166370,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:55:42] local.INFO: Processing buffer {"connection_id":166370,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:55:42] local.INFO: IMEI packet received {"connection_id":166370,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 19:55:42] local.INFO: IMEI acknowledgment sent {"connection_id":166370,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:55:48] local.INFO: TCP Data received {"connection_id":166370,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166370,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:55:48] local.INFO: Processing buffer {"connection_id":166370,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:55:48] local.INFO: IMEI packet received {"connection_id":166370,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 19:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":166370,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:55:48] local.INFO: TCP Data received {"connection_id":166370,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048c197d0012d16908007206ec80036015621..."} 
[2026-08-28 19:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048c197d0012d16908007206ec80036015621..."} 
[2026-08-28 19:55:48] local.INFO: Processing buffer {"connection_id":166370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048c197d0012d16908007206ec80036015621..."} 
[2026-08-28 19:55:48] local.INFO: Packet analysis {"connection_id":166370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048c1"} 
[2026-08-28 19:55:48] local.INFO: Extracted packet for processing {"connection_id":166370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048c1"} 
[2026-08-28 19:55:48] local.INFO: GPS Element Parsed {"raw_longitude":756453504,"raw_latitude":119566024,"longitude_deg":75.6453504,"latitude_deg":11.9566024,"altitude":54,"angle":342,"satellites":33,"speed":2,"hex_longitude":"2d169080","hex_latitude":"07206ec8","is_valid_coordinates":true} 
[2026-08-28 19: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-28 19:55:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709322240001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:55:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16082767032877056,"note":"Value kept but may cause issues"} 
[2026-08-28 19:55:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1625940233577844736,"note":"Value kept but may cause issues"} 
[2026-08-28 19:55:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:55:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787927042000,"timestamp_ms":1787927042000,"timestamp_seconds":1787927042,"priority":1,"record_length":96,"hex_timestamp":"000001a048c197d0"} 
[2026-08-28 19: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-28 19:55:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19:55:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-28 19:55:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19: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-28 19: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-28 19:55:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:55:48] local.INFO: Teltonika packet parsed successfully {"connection_id":166370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:55:48] local.INFO: Passing IMEI to GPS processor {"connection_id":166370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:55:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":166370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:55:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:55:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:55:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:55:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709322240001,"66":13396,"107":206,"83":41984,"24":2,"16":16082767032877056,"45":1625940233577844736},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-28 19:55:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:55:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:55:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709322240001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:55:48] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-28 19:55:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:55:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16082767032877056,"km_value":16082767032877.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:55:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1625940233577844736,"description":"Unknown IO ID 45"} 
[2026-08-28 19:55:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709322240001,"power":13396,"unknown_107":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1625940233577844736}} 
[2026-08-28 19:55:48] local.INFO: DEBUG: GPS processor result {"connection_id":166370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710010,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:55:48] local.INFO: GPS data processed {"connection_id":166370,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:55:48] local.INFO: Acknowledgment sent {"connection_id":166370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:55:56] local.INFO: TCP Data received {"connection_id":166371,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166371,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:55:56] local.INFO: Processing buffer {"connection_id":166371,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:55:56] local.INFO: IMEI packet received {"connection_id":166371,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 19:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":166371,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:56:01] local.INFO: TCP Data received {"connection_id":166371,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166371,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:56:01] local.INFO: Processing buffer {"connection_id":166371,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:56:01] local.INFO: IMEI packet received {"connection_id":166371,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 19:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":166371,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:56:03] local.INFO: TCP Data received {"connection_id":166371,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048c20918012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048c20918012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:56:03] local.INFO: Processing buffer {"connection_id":166371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048c20918012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:56:03] local.INFO: Packet analysis {"connection_id":166371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048c2"} 
[2026-08-28 19:56:03] local.INFO: Extracted packet for processing {"connection_id":166371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048c2"} 
[2026-08-28 19:56:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709253120001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:56:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787927071000,"timestamp_ms":1787927071000,"timestamp_seconds":1787927071,"priority":1,"record_length":96,"hex_timestamp":"000001a048c20918"} 
[2026-08-28 19:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:56:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 19:56:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:56:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":166371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":166371,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":166371,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:56:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709253120001,"66":25288,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709253120001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:56:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:56:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709253120001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":166371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710011,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:56:03] local.INFO: GPS data processed {"connection_id":166371,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:56:03] local.INFO: Acknowledgment sent {"connection_id":166371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:56:09] local.INFO: TCP Data received {"connection_id":164001,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048bf80a8012d34c14006aa4840000c00e62c..."} 
[2026-08-28 19:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048bf80a8012d34c14006aa4840000c00e62c..."} 
[2026-08-28 19:56:09] local.INFO: Processing buffer {"connection_id":164001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048bf80a8012d34c14006aa4840000c00e62c..."} 
[2026-08-28 19:56:09] local.INFO: Packet analysis {"connection_id":164001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048bf"} 
[2026-08-28 19:56:09] local.INFO: Extracted packet for processing {"connection_id":164001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048bf"} 
[2026-08-28 19:56:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709210624001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:56:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:56:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787926905000,"timestamp_ms":1787926905000,"timestamp_seconds":1787926905,"priority":1,"record_length":96,"hex_timestamp":"000001a048bf80a8"} 
[2026-08-28 19:56:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:56:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 19:56:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:56:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:56:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:56:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709210624001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709210624001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:56:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:56:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:56: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-28 19:56:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709210624001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":164001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:56:09] local.INFO: GPS data processed {"connection_id":164001,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:56:09] local.INFO: Acknowledgment sent {"connection_id":164001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:56:19] local.INFO: TCP Data received {"connection_id":166370,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048c2c0b0012d1665c007202f60002c00c229..."} 
[2026-08-28 19:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048c2c0b0012d1665c007202f60002c00c229..."} 
[2026-08-28 19:56:19] local.INFO: Processing buffer {"connection_id":166370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048c2c0b0012d1665c007202f60002c00c229..."} 
[2026-08-28 19:56:19] local.INFO: Packet analysis {"connection_id":166370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048c2"} 
[2026-08-28 19:56:19] local.INFO: Extracted packet for processing {"connection_id":166370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048c2"} 
[2026-08-28 19:56:19] local.INFO: GPS Element Parsed {"raw_longitude":756442560,"raw_latitude":119549792,"longitude_deg":75.644256,"latitude_deg":11.9549792,"altitude":44,"angle":194,"satellites":41,"speed":20,"hex_longitude":"2d1665c0","hex_latitude":"07202f60","is_valid_coordinates":true} 
[2026-08-28 19:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:56:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709338368001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:56:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16083750580387840,"note":"Value kept but may cause issues"} 
[2026-08-28 19:56:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1616792296832294912,"note":"Value kept but may cause issues"} 
[2026-08-28 19:56:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:56:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787927118000,"timestamp_ms":1787927118000,"timestamp_seconds":1787927118,"priority":1,"record_length":96,"hex_timestamp":"000001a048c2c0b0"} 
[2026-08-28 19:56:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:56:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-28 19:56:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:56:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:56:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:56:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:56:19] local.INFO: Teltonika packet parsed successfully {"connection_id":166370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:56:19] local.INFO: Passing IMEI to GPS processor {"connection_id":166370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:56:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":166370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:56:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:56:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:56:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:56:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709338368001,"66":13515,"85":206,"83":41984,"24":20,"16":16083750580387840,"45":1616792296832294912},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-08-28 19:56:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:56:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:56:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709338368001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:56:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-08-28 19:56:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:56:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16083750580387840,"km_value":16083750580387.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:56:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1616792296832294912,"description":"Unknown IO ID 45"} 
[2026-08-28 19:56:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709338368001,"power":13515,"unknown_85":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1616792296832294912}} 
[2026-08-28 19:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":166370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710013,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:56:20] local.INFO: GPS data processed {"connection_id":166370,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:56:20] local.INFO: Acknowledgment sent {"connection_id":166370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:56:30] local.INFO: TCP Data received {"connection_id":163725,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:56:30] local.INFO: Processing buffer {"connection_id":163725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:56:30] local.INFO: IMEI packet received {"connection_id":163725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 19:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":163725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:56:34] local.INFO: TCP Data received {"connection_id":166371,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048c20918012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048c20918012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:56:34] local.INFO: Processing buffer {"connection_id":166371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048c20918012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:56:34] local.INFO: Packet analysis {"connection_id":166371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048c2"} 
[2026-08-28 19:56:34] local.INFO: Extracted packet for processing {"connection_id":166371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048c2"} 
[2026-08-28 19:56:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709253120001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:56:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:56:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787927071000,"timestamp_ms":1787927071000,"timestamp_seconds":1787927071,"priority":1,"record_length":96,"hex_timestamp":"000001a048c20918"} 
[2026-08-28 19:56:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:56:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 19:56:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:56:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:56:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":166371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":166371,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":166371,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:56:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709253120001,"66":25288,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709253120001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:56:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:56:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:56:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709253120001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":166371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710014,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:56:34] local.INFO: GPS data processed {"connection_id":166371,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:56:34] local.INFO: Acknowledgment sent {"connection_id":166371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:56:35] local.INFO: TCP Data received {"connection_id":163725,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:56:35] local.INFO: Processing buffer {"connection_id":163725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:56:35] local.INFO: IMEI packet received {"connection_id":163725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 19:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":163725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:56:36] local.INFO: TCP Data received {"connection_id":163725,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048bf80a8012d34c14006aa4840000c00e62c..."} 
[2026-08-28 19:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048bf80a8012d34c14006aa4840000c00e62c..."} 
[2026-08-28 19:56:36] local.INFO: Processing buffer {"connection_id":163725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048bf80a8012d34c14006aa4840000c00e62c..."} 
[2026-08-28 19:56:36] local.INFO: Packet analysis {"connection_id":163725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048bf"} 
[2026-08-28 19:56:36] local.INFO: Extracted packet for processing {"connection_id":163725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048bf"} 
[2026-08-28 19:56:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709210624001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787926905000,"timestamp_ms":1787926905000,"timestamp_seconds":1787926905,"priority":1,"record_length":96,"hex_timestamp":"000001a048bf80a8"} 
[2026-08-28 19:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:56:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 19:56:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:56:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:56:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709210624001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709210624001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:56:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:56:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709210624001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:56:36] 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":710015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:56:36] local.INFO: GPS data processed {"connection_id":163725,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:56:36] local.INFO: Acknowledgment sent {"connection_id":163725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:56:42] local.INFO: TCP Data received {"connection_id":165015,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165015,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:56:42] local.INFO: Processing buffer {"connection_id":165015,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:56:42] local.INFO: IMEI packet received {"connection_id":165015,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 19:56:42] local.INFO: IMEI acknowledgment sent {"connection_id":165015,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:56:48] local.INFO: TCP Data received {"connection_id":165015,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165015,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:56:48] local.INFO: Processing buffer {"connection_id":165015,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:56:48] local.INFO: IMEI packet received {"connection_id":165015,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 19:56:48] local.INFO: IMEI acknowledgment sent {"connection_id":165015,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:56:48] local.INFO: TCP Data received {"connection_id":165015,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048c2d438012d16644007202598002900b529..."} 
[2026-08-28 19:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048c2d438012d16644007202598002900b529..."} 
[2026-08-28 19:56:48] local.INFO: Processing buffer {"connection_id":165015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048c2d438012d16644007202598002900b529..."} 
[2026-08-28 19:56:48] local.INFO: Packet analysis {"connection_id":165015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048c2"} 
[2026-08-28 19:56:48] local.INFO: Extracted packet for processing {"connection_id":165015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048c2"} 
[2026-08-28 19:56:48] local.INFO: GPS Element Parsed {"raw_longitude":756442176,"raw_latitude":119547288,"longitude_deg":75.6442176,"latitude_deg":11.9547288,"altitude":41,"angle":181,"satellites":41,"speed":20,"hex_longitude":"2d166440","hex_latitude":"07202598","is_valid_coordinates":true} 
[2026-08-28 19:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:56:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709342208001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:56:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16083875134439424,"note":"Value kept but may cause issues"} 
[2026-08-28 19:56:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1613907178319470592,"note":"Value kept but may cause issues"} 
[2026-08-28 19:56:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:56:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787927123000,"timestamp_ms":1787927123000,"timestamp_seconds":1787927123,"priority":1,"record_length":96,"hex_timestamp":"000001a048c2d438"} 
[2026-08-28 19:56:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:56:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-28 19:56:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:56:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:56:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:56:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:56:48] local.INFO: Teltonika packet parsed successfully {"connection_id":165015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:56:48] local.INFO: Passing IMEI to GPS processor {"connection_id":165015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:56:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":165015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:56:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:56:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:56:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:56:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709342208001,"66":13559,"85":206,"83":41984,"24":20,"16":16083875134439424,"45":1613907178319470592},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-08-28 19:56:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:56:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:56:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709342208001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:56:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-08-28 19:56:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:56:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16083875134439424,"km_value":16083875134439.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:56:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1613907178319470592,"description":"Unknown IO ID 45"} 
[2026-08-28 19:56:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709342208001,"power":13559,"unknown_85":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1613907178319470592}} 
[2026-08-28 19:56:49] 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":710016,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:56:49] local.INFO: GPS data processed {"connection_id":165015,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:56:49] local.INFO: Acknowledgment sent {"connection_id":165015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:57:01] local.INFO: TCP Data received {"connection_id":164002,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164002,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:57:01] local.INFO: Processing buffer {"connection_id":164002,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:57:01] local.INFO: IMEI packet received {"connection_id":164002,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 19:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":164002,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:57:06] local.INFO: TCP Data received {"connection_id":164002,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164002,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:57:06] local.INFO: Processing buffer {"connection_id":164002,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:57:06] local.INFO: IMEI packet received {"connection_id":164002,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 19:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":164002,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:57:08] local.INFO: TCP Data received {"connection_id":164002,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048c20918012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048c20918012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:57:08] local.INFO: Processing buffer {"connection_id":164002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048c20918012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:57:08] local.INFO: Packet analysis {"connection_id":164002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048c2"} 
[2026-08-28 19:57:08] local.INFO: Extracted packet for processing {"connection_id":164002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048c2"} 
[2026-08-28 19:57:08] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709253120001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:57:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787927071000,"timestamp_ms":1787927071000,"timestamp_seconds":1787927071,"priority":1,"record_length":96,"hex_timestamp":"000001a048c20918"} 
[2026-08-28 19:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:57:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 19:57:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:57:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164002,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164002,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:57:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709253120001,"66":25288,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709253120001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:57:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:57:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709253120001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":164002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710017,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:57:08] local.INFO: GPS data processed {"connection_id":164002,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:57:08] local.INFO: Acknowledgment sent {"connection_id":164002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:57:08] local.INFO: TCP Data received {"connection_id":163725,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048bf80a8012d34c14006aa4840000c00e62c..."} 
[2026-08-28 19:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048bf80a8012d34c14006aa4840000c00e62c..."} 
[2026-08-28 19:57:08] local.INFO: Processing buffer {"connection_id":163725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048bf80a8012d34c14006aa4840000c00e62c..."} 
[2026-08-28 19:57:08] local.INFO: Packet analysis {"connection_id":163725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048bf"} 
[2026-08-28 19:57:08] local.INFO: Extracted packet for processing {"connection_id":163725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048bf"} 
[2026-08-28 19:57:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709210624001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:57:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787926905000,"timestamp_ms":1787926905000,"timestamp_seconds":1787926905,"priority":1,"record_length":96,"hex_timestamp":"000001a048bf80a8"} 
[2026-08-28 19:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:57:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 19:57:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:57:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:57:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709210624001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709210624001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:57:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:57:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:57: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-28 19:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709210624001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:57:08] 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":710018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:57:08] local.INFO: GPS data processed {"connection_id":163725,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:57:08] local.INFO: Acknowledgment sent {"connection_id":163725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:57:13] local.INFO: TCP Data received {"connection_id":164002,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048c20918012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048c20918012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:57:13] local.INFO: Processing buffer {"connection_id":164002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048c20918012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:57:13] local.INFO: Packet analysis {"connection_id":164002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048c2"} 
[2026-08-28 19:57:13] local.INFO: Extracted packet for processing {"connection_id":164002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048c2"} 
[2026-08-28 19:57:13] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 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-28 19:57:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709253120001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:57:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:57:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:57:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:57:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787927071000,"timestamp_ms":1787927071000,"timestamp_seconds":1787927071,"priority":1,"record_length":96,"hex_timestamp":"000001a048c20918"} 
[2026-08-28 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-28 19:57:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 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":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 19:57:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 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-28 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-28 19:57:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:57:13] local.INFO: Teltonika packet parsed successfully {"connection_id":164002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:57:13] local.INFO: Passing IMEI to GPS processor {"connection_id":164002,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:57:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":164002,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:57:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:57:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:57:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:57:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709253120001,"66":25288,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:57:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:57:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:57:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709253120001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:57:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:57:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:57:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:57:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:57:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709253120001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:57:13] local.INFO: DEBUG: GPS processor result {"connection_id":164002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710019,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:57:13] local.INFO: GPS data processed {"connection_id":164002,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:57:13] local.INFO: Acknowledgment sent {"connection_id":164002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:57:20] local.INFO: TCP Data received {"connection_id":165015,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048c312b8012d166540072008d8002200aa2b..."} 
[2026-08-28 19:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048c312b8012d166540072008d8002200aa2b..."} 
[2026-08-28 19:57:20] local.INFO: Processing buffer {"connection_id":165015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048c312b8012d166540072008d8002200aa2b..."} 
[2026-08-28 19:57:20] local.INFO: Packet analysis {"connection_id":165015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048c3"} 
[2026-08-28 19:57:20] local.INFO: Extracted packet for processing {"connection_id":165015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048c3"} 
[2026-08-28 19:57:20] local.INFO: GPS Element Parsed {"raw_longitude":756442432,"raw_latitude":119539928,"longitude_deg":75.6442432,"latitude_deg":11.9539928,"altitude":34,"angle":170,"satellites":43,"speed":10,"hex_longitude":"2d166540","hex_latitude":"072008d8","is_valid_coordinates":true} 
[2026-08-28 19:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:57:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709343488001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:57:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16084231616724992,"note":"Value kept but may cause issues"} 
[2026-08-28 19:57:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1613484965853763584,"note":"Value kept but may cause issues"} 
[2026-08-28 19:57:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:57:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787927139000,"timestamp_ms":1787927139000,"timestamp_seconds":1787927139,"priority":1,"record_length":96,"hex_timestamp":"000001a048c312b8"} 
[2026-08-28 19:57:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:57:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-28 19:57:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:57:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:57:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:57:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:57:20] local.INFO: Teltonika packet parsed successfully {"connection_id":165015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:57:20] local.INFO: Passing IMEI to GPS processor {"connection_id":165015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:57:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":165015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:57:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:57:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:57:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:57:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709343488001,"66":13374,"85":206,"83":41984,"24":10,"16":16084231616724992,"45":1613484965853763584},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-08-28 19:57:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:57:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:57:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709343488001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:57:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-08-28 19:57:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:57:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16084231616724992,"km_value":16084231616724.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:57:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1613484965853763584,"description":"Unknown IO ID 45"} 
[2026-08-28 19:57:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709343488001,"power":13374,"unknown_85":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1613484965853763584}} 
[2026-08-28 19:57:20] 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":710020,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:57:20] local.INFO: GPS data processed {"connection_id":165015,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:57:20] local.INFO: Acknowledgment sent {"connection_id":165015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:57:29] local.INFO: TCP Data received {"connection_id":166372,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:57:29] local.INFO: Processing buffer {"connection_id":166372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:57:29] local.INFO: IMEI packet received {"connection_id":166372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 19:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":166372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:57:35] local.INFO: TCP Data received {"connection_id":166372,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:57:35] local.INFO: Processing buffer {"connection_id":166372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:57:35] local.INFO: IMEI packet received {"connection_id":166372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 19:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":166372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:57:37] local.INFO: TCP Data received {"connection_id":166372,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048c41870012d34c14006aa4840000e00e62b..."} 
[2026-08-28 19:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048c41870012d34c14006aa4840000e00e62b..."} 
[2026-08-28 19:57:37] local.INFO: Processing buffer {"connection_id":166372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048c41870012d34c14006aa4840000e00e62b..."} 
[2026-08-28 19:57:37] local.INFO: Packet analysis {"connection_id":166372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048c4"} 
[2026-08-28 19:57:37] local.INFO: Extracted packet for processing {"connection_id":166372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048c4"} 
[2026-08-28 19:57:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709287680001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:57:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787927206000,"timestamp_ms":1787927206000,"timestamp_seconds":1787927206,"priority":1,"record_length":96,"hex_timestamp":"000001a048c41870"} 
[2026-08-28 19:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 19:57:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:57:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":166372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":166372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":166372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709287680001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709287680001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:57:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:57:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:57: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-28 19:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709287680001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":166372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:57:37] local.INFO: GPS data processed {"connection_id":166372,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:57:37] local.INFO: Acknowledgment sent {"connection_id":166372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:57:42] local.INFO: TCP Data received {"connection_id":164003,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164003,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:57:42] local.INFO: Processing buffer {"connection_id":164003,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:57:42] local.INFO: IMEI packet received {"connection_id":164003,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 19:57:42] local.INFO: IMEI acknowledgment sent {"connection_id":164003,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:57:43] local.INFO: TCP Data received {"connection_id":164003,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164003,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:57:43] local.INFO: Processing buffer {"connection_id":164003,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:57:43] local.INFO: IMEI packet received {"connection_id":164003,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 19:57:43] local.INFO: IMEI acknowledgment sent {"connection_id":164003,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:57:48] local.INFO: TCP Data received {"connection_id":164003,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164003,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:57:48] local.INFO: Processing buffer {"connection_id":164003,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:57:48] local.INFO: IMEI packet received {"connection_id":164003,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 19:57:48] local.INFO: IMEI acknowledgment sent {"connection_id":164003,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:57:49] local.INFO: TCP Data received {"connection_id":164003,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048c35cf0012d166500072002d8002400ee29..."} 
[2026-08-28 19:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048c35cf0012d166500072002d8002400ee29..."} 
[2026-08-28 19:57:49] local.INFO: Processing buffer {"connection_id":164003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048c35cf0012d166500072002d8002400ee29..."} 
[2026-08-28 19:57:49] local.INFO: Packet analysis {"connection_id":164003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048c3"} 
[2026-08-28 19:57:49] local.INFO: Extracted packet for processing {"connection_id":164003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048c3"} 
[2026-08-28 19:57:49] local.INFO: GPS Element Parsed {"raw_longitude":756442368,"raw_latitude":119538392,"longitude_deg":75.6442368,"latitude_deg":11.9538392,"altitude":36,"angle":238,"satellites":41,"speed":6,"hex_longitude":"2d166500","hex_latitude":"072002d8","is_valid_coordinates":true} 
[2026-08-28 19: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-28 19:57:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709347584001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:57:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16084317516070912,"note":"Value kept but may cause issues"} 
[2026-08-28 19:57:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1613766440828590080,"note":"Value kept but may cause issues"} 
[2026-08-28 19:57:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:57:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787927158000,"timestamp_ms":1787927158000,"timestamp_seconds":1787927158,"priority":1,"record_length":96,"hex_timestamp":"000001a048c35cf0"} 
[2026-08-28 19: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-28 19:57:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-28 19:57:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19: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-28 19: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-28 19:57:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:57:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:57:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:57:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:57:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:57:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:57:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:57:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709347584001,"66":13472,"87":206,"83":41984,"24":6,"16":16084317516070912,"45":1613766440828590080},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-08-28 19:57:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:57:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:57:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709347584001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:57:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-28 19:57:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:57:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16084317516070912,"km_value":16084317516070.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:57:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1613766440828590080,"description":"Unknown IO ID 45"} 
[2026-08-28 19:57:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709347584001,"power":13472,"unknown_87":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1613766440828590080}} 
[2026-08-28 19:57:49] local.INFO: DEBUG: GPS processor result {"connection_id":164003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710022,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:57:49] local.INFO: GPS data processed {"connection_id":164003,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:57:49] local.INFO: Acknowledgment sent {"connection_id":164003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:57:56] local.INFO: TCP Data received {"connection_id":165016,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165016,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:57:56] local.INFO: Processing buffer {"connection_id":165016,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:57:56] local.INFO: IMEI packet received {"connection_id":165016,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 19:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":165016,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:58:01] local.INFO: TCP Data received {"connection_id":165016,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165016,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:58:01] local.INFO: Processing buffer {"connection_id":165016,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:58:01] local.INFO: IMEI packet received {"connection_id":165016,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 19:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":165016,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:58:03] local.INFO: TCP Data received {"connection_id":165016,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048c20918012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048c20918012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:58:03] local.INFO: Processing buffer {"connection_id":165016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048c20918012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:58:03] local.INFO: Packet analysis {"connection_id":165016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048c2"} 
[2026-08-28 19:58:03] local.INFO: Extracted packet for processing {"connection_id":165016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048c2"} 
[2026-08-28 19:58:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709253120001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:58:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787927071000,"timestamp_ms":1787927071000,"timestamp_seconds":1787927071,"priority":1,"record_length":96,"hex_timestamp":"000001a048c20918"} 
[2026-08-28 19:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:58:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 19:58:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:58:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:58:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":165016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":165016,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":165016,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:58:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709253120001,"66":25288,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709253120001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:58:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:58:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709253120001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:58:04] 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":710023,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:58:04] local.INFO: GPS data processed {"connection_id":165016,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:58:04] local.INFO: Acknowledgment sent {"connection_id":165016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:58:09] local.INFO: TCP Data received {"connection_id":166372,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048c41870012d34c14006aa4840000e00e62b..."} 
[2026-08-28 19:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048c41870012d34c14006aa4840000e00e62b..."} 
[2026-08-28 19:58:09] local.INFO: Processing buffer {"connection_id":166372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048c41870012d34c14006aa4840000e00e62b..."} 
[2026-08-28 19:58:09] local.INFO: Packet analysis {"connection_id":166372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048c4"} 
[2026-08-28 19:58:09] local.INFO: Extracted packet for processing {"connection_id":166372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048c4"} 
[2026-08-28 19:58:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709287680001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:58:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:58:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:58:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:58:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787927206000,"timestamp_ms":1787927206000,"timestamp_seconds":1787927206,"priority":1,"record_length":96,"hex_timestamp":"000001a048c41870"} 
[2026-08-28 19:58:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:58:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 19:58:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:58:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:58:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:58:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:58:09] local.INFO: Teltonika packet parsed successfully {"connection_id":166372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:58:09] local.INFO: Passing IMEI to GPS processor {"connection_id":166372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:58:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":166372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:58:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:58:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:58:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:58:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709287680001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:58:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:58:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:58:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709287680001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:58:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:58:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:58: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-28 19:58:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:58:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709287680001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:58:09] local.INFO: DEBUG: GPS processor result {"connection_id":166372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:58:09] local.INFO: GPS data processed {"connection_id":166372,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:58:09] local.INFO: Acknowledgment sent {"connection_id":166372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:58:20] local.INFO: TCP Data received {"connection_id":164003,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048c3a340012d164380071ff208002400f32b..."} 
[2026-08-28 19:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048c3a340012d164380071ff208002400f32b..."} 
[2026-08-28 19:58:20] local.INFO: Processing buffer {"connection_id":164003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048c3a340012d164380071ff208002400f32b..."} 
[2026-08-28 19:58:20] local.INFO: Packet analysis {"connection_id":164003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048c3"} 
[2026-08-28 19:58:20] local.INFO: Extracted packet for processing {"connection_id":164003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048c3"} 
[2026-08-28 19:58:20] local.INFO: GPS Element Parsed {"raw_longitude":756433792,"raw_latitude":119534088,"longitude_deg":75.6433792,"latitude_deg":11.9534088,"altitude":36,"angle":243,"satellites":43,"speed":23,"hex_longitude":"2d164380","hex_latitude":"071ff208","is_valid_coordinates":true} 
[2026-08-28 19:58:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:58:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709352448001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:58:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16084772782604288,"note":"Value kept but may cause issues"} 
[2026-08-28 19:58:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1613696072084019200,"note":"Value kept but may cause issues"} 
[2026-08-28 19:58:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:58:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787927176000,"timestamp_ms":1787927176000,"timestamp_seconds":1787927176,"priority":1,"record_length":96,"hex_timestamp":"000001a048c3a340"} 
[2026-08-28 19:58:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:58:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19:58:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-28 19:58:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:58:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:58:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:58:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:58:20] local.INFO: Teltonika packet parsed successfully {"connection_id":164003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:58:20] local.INFO: Passing IMEI to GPS processor {"connection_id":164003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:58:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":164003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:58:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:58:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:58:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:58:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709352448001,"66":13243,"87":206,"83":41984,"24":23,"16":16084772782604288,"45":1613696072084019200},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-08-28 19:58:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:58:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:58:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709352448001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:58:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-28 19:58:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:58:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16084772782604288,"km_value":16084772782604.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:58:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1613696072084019200,"description":"Unknown IO ID 45"} 
[2026-08-28 19:58:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709352448001,"power":13243,"unknown_87":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1613696072084019200}} 
[2026-08-28 19:58:20] local.INFO: DEBUG: GPS processor result {"connection_id":164003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710025,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:58:20] local.INFO: GPS data processed {"connection_id":164003,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:58:20] local.INFO: Acknowledgment sent {"connection_id":164003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:58:30] local.INFO: TCP Data received {"connection_id":163726,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:58:30] local.INFO: Processing buffer {"connection_id":163726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:58:30] local.INFO: IMEI packet received {"connection_id":163726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 19:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":163726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:58:35] local.INFO: TCP Data received {"connection_id":163726,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:58:35] local.INFO: Processing buffer {"connection_id":163726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:58:35] local.INFO: IMEI packet received {"connection_id":163726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 19:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":163726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:58:36] local.INFO: TCP Data received {"connection_id":165016,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048c20918012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048c20918012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:58:36] local.INFO: Processing buffer {"connection_id":165016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048c20918012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:58:36] local.INFO: Packet analysis {"connection_id":165016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048c2"} 
[2026-08-28 19:58:36] local.INFO: Extracted packet for processing {"connection_id":165016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048c2"} 
[2026-08-28 19:58:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709253120001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787927071000,"timestamp_ms":1787927071000,"timestamp_seconds":1787927071,"priority":1,"record_length":96,"hex_timestamp":"000001a048c20918"} 
[2026-08-28 19:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:58:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 19:58:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:58:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":165016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":165016,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":165016,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709253120001,"66":25288,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709253120001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:58:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:58:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709253120001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:58:36] 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":710026,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:58:36] local.INFO: GPS data processed {"connection_id":165016,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:58:36] local.INFO: Acknowledgment sent {"connection_id":165016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:58:37] local.INFO: TCP Data received {"connection_id":163726,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048c41870012d34c14006aa4840000e00e62b..."} 
[2026-08-28 19:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048c41870012d34c14006aa4840000e00e62b..."} 
[2026-08-28 19:58:37] local.INFO: Processing buffer {"connection_id":163726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048c41870012d34c14006aa4840000e00e62b..."} 
[2026-08-28 19:58:37] local.INFO: Packet analysis {"connection_id":163726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048c4"} 
[2026-08-28 19:58:37] local.INFO: Extracted packet for processing {"connection_id":163726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048c4"} 
[2026-08-28 19:58:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709287680001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787927206000,"timestamp_ms":1787927206000,"timestamp_seconds":1787927206,"priority":1,"record_length":96,"hex_timestamp":"000001a048c41870"} 
[2026-08-28 19:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 19:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709287680001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709287680001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:58:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:58:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:58: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-28 19:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709287680001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":163726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:58:37] local.INFO: GPS data processed {"connection_id":163726,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:58:37] local.INFO: Acknowledgment sent {"connection_id":163726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:58:42] local.INFO: TCP Data received {"connection_id":166373,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166373,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:58:42] local.INFO: Processing buffer {"connection_id":166373,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:58:42] local.INFO: IMEI packet received {"connection_id":166373,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 19:58:42] local.INFO: IMEI acknowledgment sent {"connection_id":166373,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:58:48] local.INFO: TCP Data received {"connection_id":166373,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166373,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:58:48] local.INFO: Processing buffer {"connection_id":166373,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:58:48] local.INFO: IMEI packet received {"connection_id":166373,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 19:58:48] local.INFO: IMEI acknowledgment sent {"connection_id":166373,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:58:48] local.INFO: TCP Data received {"connection_id":166373,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048c4fee8012d1519c0071fb1b8002c00e029..."} 
[2026-08-28 19:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048c4fee8012d1519c0071fb1b8002c00e029..."} 
[2026-08-28 19:58:48] local.INFO: Processing buffer {"connection_id":166373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048c4fee8012d1519c0071fb1b8002c00e029..."} 
[2026-08-28 19:58:48] local.INFO: Packet analysis {"connection_id":166373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048c4"} 
[2026-08-28 19:58:48] local.INFO: Extracted packet for processing {"connection_id":166373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048c4"} 
[2026-08-28 19:58:48] local.INFO: GPS Element Parsed {"raw_longitude":756357568,"raw_latitude":119517624,"longitude_deg":75.6357568,"latitude_deg":11.9517624,"altitude":44,"angle":224,"satellites":41,"speed":35,"hex_longitude":"2d1519c0","hex_latitude":"071fb1b8","is_valid_coordinates":true} 
[2026-08-28 19: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-28 19:58:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709378560001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:58:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16088543763890176,"note":"Value kept but may cause issues"} 
[2026-08-28 19:58:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1524187029485428736,"note":"Value kept but may cause issues"} 
[2026-08-28 19:58:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:58:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787927265000,"timestamp_ms":1787927265000,"timestamp_seconds":1787927265,"priority":1,"record_length":96,"hex_timestamp":"000001a048c4fee8"} 
[2026-08-28 19: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-28 19:58:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19: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":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-28 19:58:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19: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-28 19: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-28 19:58:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:58:48] local.INFO: Teltonika packet parsed successfully {"connection_id":166373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:58:48] local.INFO: Passing IMEI to GPS processor {"connection_id":166373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:58:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":166373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:58:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:58:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:58:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:58:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709378560001,"66":13472,"9":206,"83":41984,"24":35,"16":16088543763890176,"45":1524187029485428736},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,83,24,16,45]} 
[2026-08-28 19:58:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:58:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:58:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709378560001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:58:48] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-08-28 19:58:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:58:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16088543763890176,"km_value":16088543763890.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:58:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1524187029485428736,"description":"Unknown IO ID 45"} 
[2026-08-28 19:58:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709378560001,"power":13472,"unknown_9":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1524187029485428736}} 
[2026-08-28 19:58:48] local.INFO: DEBUG: GPS processor result {"connection_id":166373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710028,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:58:48] local.INFO: GPS data processed {"connection_id":166373,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:58:48] local.INFO: Acknowledgment sent {"connection_id":166373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:58:56] local.INFO: TCP Data received {"connection_id":165017,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165017,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:58:56] local.INFO: Processing buffer {"connection_id":165017,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:58:57] local.INFO: IMEI packet received {"connection_id":165017,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 19:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":165017,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:59:01] local.INFO: TCP Data received {"connection_id":165017,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165017,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:59:01] local.INFO: Processing buffer {"connection_id":165017,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:59:01] local.INFO: IMEI packet received {"connection_id":165017,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 19:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":165017,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:59:04] local.INFO: TCP Data received {"connection_id":165017,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048c20918012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048c20918012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:59:04] local.INFO: Processing buffer {"connection_id":165017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048c20918012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:59:04] local.INFO: Packet analysis {"connection_id":165017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048c2"} 
[2026-08-28 19:59:04] local.INFO: Extracted packet for processing {"connection_id":165017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048c2"} 
[2026-08-28 19:59:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709253120001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:59:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787927071000,"timestamp_ms":1787927071000,"timestamp_seconds":1787927071,"priority":1,"record_length":96,"hex_timestamp":"000001a048c20918"} 
[2026-08-28 19:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:59:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 19:59:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:59:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":165017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":165017,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":165017,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709253120001,"66":25288,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709253120001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:59:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:59:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709253120001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:59:04] 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":710029,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:59:04] local.INFO: GPS data processed {"connection_id":165017,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:59:04] local.INFO: Acknowledgment sent {"connection_id":165017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:59:08] local.INFO: TCP Data received {"connection_id":163726,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048c41870012d34c14006aa4840000e00e62b..."} 
[2026-08-28 19:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048c41870012d34c14006aa4840000e00e62b..."} 
[2026-08-28 19:59:08] local.INFO: Processing buffer {"connection_id":163726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048c41870012d34c14006aa4840000e00e62b..."} 
[2026-08-28 19:59:08] local.INFO: Packet analysis {"connection_id":163726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048c4"} 
[2026-08-28 19:59:08] local.INFO: Extracted packet for processing {"connection_id":163726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048c4"} 
[2026-08-28 19:59:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709287680001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:59:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787927206000,"timestamp_ms":1787927206000,"timestamp_seconds":1787927206,"priority":1,"record_length":96,"hex_timestamp":"000001a048c41870"} 
[2026-08-28 19:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:59:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 19:59:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:59:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:59:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709287680001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709287680001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:59:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:59:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:59: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-28 19:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709287680001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":163726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:59:08] local.INFO: GPS data processed {"connection_id":163726,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:59:08] local.INFO: Acknowledgment sent {"connection_id":163726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:59:20] local.INFO: TCP Data received {"connection_id":166373,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048c52210012d150240071f9e70002f00ec2a..."} 
[2026-08-28 19:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048c52210012d150240071f9e70002f00ec2a..."} 
[2026-08-28 19:59:20] local.INFO: Processing buffer {"connection_id":166373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048c52210012d150240071f9e70002f00ec2a..."} 
[2026-08-28 19:59:20] local.INFO: Packet analysis {"connection_id":166373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048c5"} 
[2026-08-28 19:59:20] local.INFO: Extracted packet for processing {"connection_id":166373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048c5"} 
[2026-08-28 19:59:20] local.INFO: GPS Element Parsed {"raw_longitude":756351552,"raw_latitude":119512688,"longitude_deg":75.6351552,"latitude_deg":11.9512688,"altitude":47,"angle":236,"satellites":42,"speed":34,"hex_longitude":"2d150240","hex_latitude":"071f9e70","is_valid_coordinates":true} 
[2026-08-28 19:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709379840001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16088913131077632,"note":"Value kept but may cause issues"} 
[2026-08-28 19:59:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1520457486043297792,"note":"Value kept but may cause issues"} 
[2026-08-28 19:59:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787927274000,"timestamp_ms":1787927274000,"timestamp_seconds":1787927274,"priority":1,"record_length":96,"hex_timestamp":"000001a048c52210"} 
[2026-08-28 19:59:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:59:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-28 19:59:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:59:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:59:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":166373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":166373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":166373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:59:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709379840001,"66":13352,"12":206,"83":41984,"24":34,"16":16088913131077632,"45":1520457486043297792},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,45]} 
[2026-08-28 19:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709379840001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:59:20] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-28 19:59:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16088913131077632,"km_value":16088913131077.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:59:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1520457486043297792,"description":"Unknown IO ID 45"} 
[2026-08-28 19:59:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709379840001,"power":13352,"unknown_12":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1520457486043297792}} 
[2026-08-28 19:59:20] local.INFO: DEBUG: GPS processor result {"connection_id":166373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710031,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:59:20] local.INFO: GPS data processed {"connection_id":166373,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:59:20] local.INFO: Acknowledgment sent {"connection_id":166373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:59:31] local.INFO: TCP Data received {"connection_id":163727,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:59:31] local.INFO: Processing buffer {"connection_id":163727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:59:31] local.INFO: IMEI packet received {"connection_id":163727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 19:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":163727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:59:35] local.INFO: TCP Data received {"connection_id":163727,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:59:35] local.INFO: Processing buffer {"connection_id":163727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 19:59:35] local.INFO: IMEI packet received {"connection_id":163727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 19:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":163727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:59:36] local.INFO: TCP Data received {"connection_id":165017,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048c20918012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048c20918012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:59:36] local.INFO: Processing buffer {"connection_id":165017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048c20918012d34bcc006aa41e0000d000026..."} 
[2026-08-28 19:59:36] local.INFO: Packet analysis {"connection_id":165017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048c2"} 
[2026-08-28 19:59:36] local.INFO: Extracted packet for processing {"connection_id":165017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048c2"} 
[2026-08-28 19:59:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 19:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709253120001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 19:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 19:59:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787927071000,"timestamp_ms":1787927071000,"timestamp_seconds":1787927071,"priority":1,"record_length":96,"hex_timestamp":"000001a048c20918"} 
[2026-08-28 19:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:59:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 19:59:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:59:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":165017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":165017,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":165017,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 19:59:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 19:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 19:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709253120001,"66":25288,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 19:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 19:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709253120001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:59:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:59:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 19:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709253120001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 19:59:36] 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":710032,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:59:36] local.INFO: GPS data processed {"connection_id":165017,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:59:36] local.INFO: Acknowledgment sent {"connection_id":165017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:59:37] local.INFO: TCP Data received {"connection_id":163727,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048c41870012d34c14006aa4840000e00e62b..."} 
[2026-08-28 19:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048c41870012d34c14006aa4840000e00e62b..."} 
[2026-08-28 19:59:37] local.INFO: Processing buffer {"connection_id":163727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048c41870012d34c14006aa4840000e00e62b..."} 
[2026-08-28 19:59:37] local.INFO: Packet analysis {"connection_id":163727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048c4"} 
[2026-08-28 19:59:37] local.INFO: Extracted packet for processing {"connection_id":163727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048c4"} 
[2026-08-28 19:59:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 19:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 19:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709287680001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 19:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 19:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787927206000,"timestamp_ms":1787927206000,"timestamp_seconds":1787927206,"priority":1,"record_length":96,"hex_timestamp":"000001a048c41870"} 
[2026-08-28 19:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 19:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 19:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 19:59:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 19:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 19:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 19:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 19:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 19:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709287680001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 19:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 19:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 19:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709287680001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:59:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 19:59:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 19:59: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-28 19:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 19:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709287680001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 19:59:37] 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":710033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:59:37] local.INFO: GPS data processed {"connection_id":163727,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:59:37] local.INFO: Acknowledgment sent {"connection_id":163727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:59:45] local.INFO: TCP Data received {"connection_id":164004,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164004,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:59:46] local.INFO: Processing buffer {"connection_id":164004,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:59:46] local.INFO: IMEI packet received {"connection_id":164004,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 19:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":164004,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 19:59:48] local.INFO: TCP Data received {"connection_id":164004,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164004,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:59:48] local.INFO: Processing buffer {"connection_id":164004,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:59:48] local.INFO: IMEI packet received {"connection_id":164004,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 19:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":164004,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:59:53] local.INFO: TCP Data received {"connection_id":164004,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164004,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:59:53] local.INFO: Processing buffer {"connection_id":164004,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 19:59:53] local.INFO: IMEI packet received {"connection_id":164004,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 19:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":164004,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 19:59:53] local.INFO: TCP Data received {"connection_id":164004,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048c54150012d14e940071f91e8003100f829..."} 
[2026-08-28 19:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048c54150012d14e940071f91e8003100f829..."} 
[2026-08-28 19:59:53] local.INFO: Processing buffer {"connection_id":164004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048c54150012d14e940071f91e8003100f829..."} 
[2026-08-28 19:59:53] local.INFO: Packet analysis {"connection_id":164004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048c5"} 
[2026-08-28 19:59:53] local.INFO: Extracted packet for processing {"connection_id":164004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048c5"} 
[2026-08-28 19:59:53] local.INFO: GPS Element Parsed {"raw_longitude":756345152,"raw_latitude":119509480,"longitude_deg":75.6345152,"latitude_deg":11.950948,"altitude":49,"angle":248,"satellites":41,"speed":35,"hex_longitude":"2d14e940","hex_latitude":"071f91e8","is_valid_coordinates":true} 
[2026-08-28 19: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-28 19:59:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709382144001,"note":"Value kept but may cause issues"} 
[2026-08-28 19:59:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16089256728461312,"note":"Value kept but may cause issues"} 
[2026-08-28 19:59:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1513842824089333760,"note":"Value kept but may cause issues"} 
[2026-08-28 19:59:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 19:59:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787927282000,"timestamp_ms":1787927282000,"timestamp_seconds":1787927282,"priority":1,"record_length":96,"hex_timestamp":"000001a048c54150"} 
[2026-08-28 19: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-28 19:59:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 19: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-28 19:59:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 19: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-28 19: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-28 19:59:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 19:59:53] local.INFO: Teltonika packet parsed successfully {"connection_id":164004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 19:59:53] local.INFO: Passing IMEI to GPS processor {"connection_id":164004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:59:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":164004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 19:59:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 19:59:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 19:59:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 19:59:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709382144001,"66":12678,"12":206,"83":41984,"24":35,"16":16089256728461312,"45":1513842824089333760},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,45]} 
[2026-08-28 19:59:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 19:59:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 19:59:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709382144001,"description":"Unknown IO ID 0"} 
[2026-08-28 19:59:53] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-28 19:59:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 19:59:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16089256728461312,"km_value":16089256728461.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 19:59:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1513842824089333760,"description":"Unknown IO ID 45"} 
[2026-08-28 19:59:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709382144001,"power":12678,"unknown_12":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1513842824089333760}} 
[2026-08-28 19:59:54] local.INFO: DEBUG: GPS processor result {"connection_id":164004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710034,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 19:59:54] local.INFO: GPS data processed {"connection_id":164004,"processed":1,"errors":0,"total":1} 
[2026-08-28 19:59:54] local.INFO: Acknowledgment sent {"connection_id":164004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 19:59:56] local.INFO: TCP Data received {"connection_id":165018,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165018,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:59:56] local.INFO: Processing buffer {"connection_id":165018,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 19:59:56] local.INFO: IMEI packet received {"connection_id":165018,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 19:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":165018,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:00:01] local.INFO: TCP Data received {"connection_id":165018,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165018,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:00:01] local.INFO: Processing buffer {"connection_id":165018,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:00:01] local.INFO: IMEI packet received {"connection_id":165018,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 20:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":165018,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:00:04] local.INFO: TCP Data received {"connection_id":165018,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048c20918012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048c20918012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:00:04] local.INFO: Processing buffer {"connection_id":165018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048c20918012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:00:04] local.INFO: Packet analysis {"connection_id":165018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048c2"} 
[2026-08-28 20:00:04] local.INFO: Extracted packet for processing {"connection_id":165018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048c2"} 
[2026-08-28 20:00:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709253120001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:00:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:00:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787927071000,"timestamp_ms":1787927071000,"timestamp_seconds":1787927071,"priority":1,"record_length":96,"hex_timestamp":"000001a048c20918"} 
[2026-08-28 20:00:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:00:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:00:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 20:00:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:00:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:00:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":165018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":165018,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":165018,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:00:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709253120001,"66":25288,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709253120001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:00:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:00:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:00:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709253120001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:00:04] 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":710035,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:00:04] local.INFO: GPS data processed {"connection_id":165018,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:00:04] local.INFO: Acknowledgment sent {"connection_id":165018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:00:09] local.INFO: TCP Data received {"connection_id":163727,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048c41870012d34c14006aa4840000e00e62b..."} 
[2026-08-28 20:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048c41870012d34c14006aa4840000e00e62b..."} 
[2026-08-28 20:00:09] local.INFO: Processing buffer {"connection_id":163727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048c41870012d34c14006aa4840000e00e62b..."} 
[2026-08-28 20:00:09] local.INFO: Packet analysis {"connection_id":163727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048c4"} 
[2026-08-28 20:00:09] local.INFO: Extracted packet for processing {"connection_id":163727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048c4"} 
[2026-08-28 20:00:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:00:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709287680001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:00:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:00:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:00:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787927206000,"timestamp_ms":1787927206000,"timestamp_seconds":1787927206,"priority":1,"record_length":96,"hex_timestamp":"000001a048c41870"} 
[2026-08-28 20:00:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:00:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 20:00:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:00:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:00:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:00:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:00:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:00:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:00:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709287680001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:00:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:00:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:00:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709287680001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:00:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:00:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:00: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-28 20:00:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:00:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709287680001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:00:09] 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":710036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:00:09] local.INFO: GPS data processed {"connection_id":163727,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:00:09] local.INFO: Acknowledgment sent {"connection_id":163727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:00:25] local.INFO: TCP Data received {"connection_id":164004,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048c56860012d14c780071f8650002f00fb2a..."} 
[2026-08-28 20:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048c56860012d14c780071f8650002f00fb2a..."} 
[2026-08-28 20:00:25] local.INFO: Processing buffer {"connection_id":164004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048c56860012d14c780071f8650002f00fb2a..."} 
[2026-08-28 20:00:25] local.INFO: Packet analysis {"connection_id":164004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048c5"} 
[2026-08-28 20:00:25] local.INFO: Extracted packet for processing {"connection_id":164004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048c5"} 
[2026-08-28 20:00:25] local.INFO: GPS Element Parsed {"raw_longitude":756336512,"raw_latitude":119506512,"longitude_deg":75.6336512,"latitude_deg":11.9506512,"altitude":47,"angle":251,"satellites":42,"speed":33,"hex_longitude":"2d14c780","hex_latitude":"071f8650","is_valid_coordinates":true} 
[2026-08-28 20:00:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:00:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709384192001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:00:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16089690520158208,"note":"Value kept but may cause issues"} 
[2026-08-28 20:00:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1506805949670746112,"note":"Value kept but may cause issues"} 
[2026-08-28 20:00:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:00:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787927292000,"timestamp_ms":1787927292000,"timestamp_seconds":1787927292,"priority":1,"record_length":96,"hex_timestamp":"000001a048c56860"} 
[2026-08-28 20:00:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:00:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20:00:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-28 20:00:25] 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-28 20:00:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:00:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:00:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:00:25] local.INFO: Teltonika packet parsed successfully {"connection_id":164004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:00:25] local.INFO: Passing IMEI to GPS processor {"connection_id":164004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:00:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":164004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:00:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:00:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:00:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:00:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709384192001,"66":12461,"10":206,"83":41984,"24":33,"16":16089690520158208,"45":1506805949670746112},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,83,24,16,45]} 
[2026-08-28 20:00:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:00:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:00:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709384192001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:00:25] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-28 20:00:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 20:00:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16089690520158208,"km_value":16089690520158.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:00:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1506805949670746112,"description":"Unknown IO ID 45"} 
[2026-08-28 20:00:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709384192001,"power":12461,"unknown_10":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1506805949670746112}} 
[2026-08-28 20:00:25] local.INFO: DEBUG: GPS processor result {"connection_id":164004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710037,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:00:25] local.INFO: GPS data processed {"connection_id":164004,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:00:25] local.INFO: Acknowledgment sent {"connection_id":164004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:00:29] local.INFO: TCP Data received {"connection_id":165019,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:00:29] local.INFO: Processing buffer {"connection_id":165019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:00:29] local.INFO: IMEI packet received {"connection_id":165019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 20:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":165019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:00:35] local.INFO: TCP Data received {"connection_id":165019,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:00:35] local.INFO: Processing buffer {"connection_id":165019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:00:35] local.INFO: IMEI packet received {"connection_id":165019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 20:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":165019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:00:36] local.INFO: TCP Data received {"connection_id":165018,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048c6a0e0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048c6a0e0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:00:36] local.INFO: Processing buffer {"connection_id":165018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048c6a0e0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:00:36] local.INFO: Packet analysis {"connection_id":165018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048c6"} 
[2026-08-28 20:00:36] local.INFO: Extracted packet for processing {"connection_id":165018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048c6"} 
[2026-08-28 20:00:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709330176001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787927372000,"timestamp_ms":1787927372000,"timestamp_seconds":1787927372,"priority":1,"record_length":96,"hex_timestamp":"000001a048c6a0e0"} 
[2026-08-28 20:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 20:00:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:00:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":165018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":165018,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":165018,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709330176001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709330176001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:00:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:00:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709330176001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:00:36] 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":710038,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:00:36] local.INFO: GPS data processed {"connection_id":165018,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:00:36] local.INFO: Acknowledgment sent {"connection_id":165018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:00:36] local.INFO: TCP Data received {"connection_id":165019,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048c41870012d34c14006aa4840000e00e62b..."} 
[2026-08-28 20:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048c41870012d34c14006aa4840000e00e62b..."} 
[2026-08-28 20:00:36] local.INFO: Processing buffer {"connection_id":165019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048c41870012d34c14006aa4840000e00e62b..."} 
[2026-08-28 20:00:36] local.INFO: Packet analysis {"connection_id":165019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048c4"} 
[2026-08-28 20:00:36] local.INFO: Extracted packet for processing {"connection_id":165019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048c4"} 
[2026-08-28 20:00:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709287680001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787927206000,"timestamp_ms":1787927206000,"timestamp_seconds":1787927206,"priority":1,"record_length":96,"hex_timestamp":"000001a048c41870"} 
[2026-08-28 20:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 20:00:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:00:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":165019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":165019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":165019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709287680001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709287680001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:00:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:00:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709287680001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":165019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:00:36] local.INFO: GPS data processed {"connection_id":165019,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:00:36] local.INFO: Acknowledgment sent {"connection_id":165019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:00:47] local.INFO: TCP Data received {"connection_id":164005,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164005,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:00:47] local.INFO: Processing buffer {"connection_id":164005,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:00:47] local.INFO: IMEI packet received {"connection_id":164005,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 20:00:47] local.INFO: IMEI acknowledgment sent {"connection_id":164005,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:00:53] local.INFO: TCP Data received {"connection_id":164005,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164005,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:00:53] local.INFO: Processing buffer {"connection_id":164005,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:00:53] local.INFO: IMEI packet received {"connection_id":164005,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":164005,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:00:53] local.INFO: TCP Data received {"connection_id":164005,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048c6e730012d138640071ef8800029010129..."} 
[2026-08-28 20:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048c6e730012d138640071ef8800029010129..."} 
[2026-08-28 20:00:53] local.INFO: Processing buffer {"connection_id":164005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048c6e730012d138640071ef8800029010129..."} 
[2026-08-28 20:00:53] local.INFO: Packet analysis {"connection_id":164005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048c6"} 
[2026-08-28 20:00:53] local.INFO: Extracted packet for processing {"connection_id":164005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048c6"} 
[2026-08-28 20:00:53] local.INFO: GPS Element Parsed {"raw_longitude":756254272,"raw_latitude":119470208,"longitude_deg":75.6254272,"latitude_deg":11.9470208,"altitude":41,"angle":257,"satellites":41,"speed":45,"hex_longitude":"2d138640","hex_latitude":"071ef880","is_valid_coordinates":true} 
[2026-08-28 20: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-28 20:00:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709410560001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:00:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16093998372356096,"note":"Value kept but may cause issues"} 
[2026-08-28 20:00:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1412722938695616512,"note":"Value kept but may cause issues"} 
[2026-08-28 20:00:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:00:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787927390000,"timestamp_ms":1787927390000,"timestamp_seconds":1787927390,"priority":1,"record_length":96,"hex_timestamp":"000001a048c6e730"} 
[2026-08-28 20: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-28 20:00:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-28 20:00:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20: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-28 20: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-28 20:00:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:00:53] local.INFO: Teltonika packet parsed successfully {"connection_id":164005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:00:53] local.INFO: Passing IMEI to GPS processor {"connection_id":164005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:00:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":164005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:00:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:00:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:00:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:00:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709410560001,"66":13439,"145":206,"83":41984,"24":45,"16":16093998372356096,"45":1412722938695616512},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,83,24,16,45]} 
[2026-08-28 20:00:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:00:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:00:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709410560001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:00:53] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-28 20:00:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 20:00:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16093998372356096,"km_value":16093998372356.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:00:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1412722938695616512,"description":"Unknown IO ID 45"} 
[2026-08-28 20:00:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709410560001,"power":13439,"unknown_145":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":1412722938695616512}} 
[2026-08-28 20:00:54] local.INFO: DEBUG: GPS processor result {"connection_id":164005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710040,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:00:54] local.INFO: GPS data processed {"connection_id":164005,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:00:54] local.INFO: Acknowledgment sent {"connection_id":164005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:00:56] local.INFO: TCP Data received {"connection_id":165020,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165020,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:00:56] local.INFO: Processing buffer {"connection_id":165020,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:00:56] local.INFO: IMEI packet received {"connection_id":165020,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 20:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":165020,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:01:01] local.INFO: TCP Data received {"connection_id":165020,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165020,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:01:01] local.INFO: Processing buffer {"connection_id":165020,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:01:01] local.INFO: IMEI packet received {"connection_id":165020,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 20:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":165020,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:01:03] local.INFO: TCP Data received {"connection_id":165020,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048c6a0e0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048c6a0e0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:01:03] local.INFO: Processing buffer {"connection_id":165020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048c6a0e0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:01:03] local.INFO: Packet analysis {"connection_id":165020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048c6"} 
[2026-08-28 20:01:03] local.INFO: Extracted packet for processing {"connection_id":165020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048c6"} 
[2026-08-28 20:01:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709330176001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787927372000,"timestamp_ms":1787927372000,"timestamp_seconds":1787927372,"priority":1,"record_length":96,"hex_timestamp":"000001a048c6a0e0"} 
[2026-08-28 20:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:01:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 20:01:03] 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-28 20:01:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":165020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":165020,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":165020,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:01:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709330176001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709330176001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:01:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:01:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709330176001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:01:03] 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":710041,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:01:03] local.INFO: GPS data processed {"connection_id":165020,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:01:03] local.INFO: Acknowledgment sent {"connection_id":165020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:01:08] local.INFO: TCP Data received {"connection_id":165019,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048c41870012d34c14006aa4840000e00e62b..."} 
[2026-08-28 20:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048c41870012d34c14006aa4840000e00e62b..."} 
[2026-08-28 20:01:08] local.INFO: Processing buffer {"connection_id":165019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048c41870012d34c14006aa4840000e00e62b..."} 
[2026-08-28 20:01:08] local.INFO: Packet analysis {"connection_id":165019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048c4"} 
[2026-08-28 20:01:08] local.INFO: Extracted packet for processing {"connection_id":165019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048c4"} 
[2026-08-28 20:01:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709287680001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:01:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:01:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787927206000,"timestamp_ms":1787927206000,"timestamp_seconds":1787927206,"priority":1,"record_length":96,"hex_timestamp":"000001a048c41870"} 
[2026-08-28 20:01:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:01:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 20:01:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:01:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:01:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":165019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":165019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":165019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:01:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709287680001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709287680001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:01:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:01:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:01: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-28 20:01:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709287680001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":165019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:01:08] local.INFO: GPS data processed {"connection_id":165019,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:01:08] local.INFO: Acknowledgment sent {"connection_id":165019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:01:25] local.INFO: TCP Data received {"connection_id":164005,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048c6fea0012d136b40071ef570002a010f2a..."} 
[2026-08-28 20:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048c6fea0012d136b40071ef570002a010f2a..."} 
[2026-08-28 20:01:25] local.INFO: Processing buffer {"connection_id":164005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048c6fea0012d136b40071ef570002a010f2a..."} 
[2026-08-28 20:01:25] local.INFO: Packet analysis {"connection_id":164005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048c6"} 
[2026-08-28 20:01:25] local.INFO: Extracted packet for processing {"connection_id":164005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048c6"} 
[2026-08-28 20:01:25] local.INFO: GPS Element Parsed {"raw_longitude":756247360,"raw_latitude":119469424,"longitude_deg":75.624736,"latitude_deg":11.9469424,"altitude":42,"angle":271,"satellites":42,"speed":47,"hex_longitude":"2d136b40","hex_latitude":"071ef570","is_valid_coordinates":true} 
[2026-08-28 20:01:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:01:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709411840001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:01:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16094329084837888,"note":"Value kept but may cause issues"} 
[2026-08-28 20:01:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1406882332928409600,"note":"Value kept but may cause issues"} 
[2026-08-28 20:01:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:01:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787927396000,"timestamp_ms":1787927396000,"timestamp_seconds":1787927396,"priority":1,"record_length":96,"hex_timestamp":"000001a048c6fea0"} 
[2026-08-28 20:01:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:01:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20:01:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-28 20:01:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:01:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:01:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:01:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:01:25] local.INFO: Teltonika packet parsed successfully {"connection_id":164005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:01:25] local.INFO: Passing IMEI to GPS processor {"connection_id":164005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:01:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":164005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:01:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:01:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:01:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:01:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709411840001,"66":13472,"145":206,"83":41984,"24":47,"16":16094329084837888,"45":1406882332928409600},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,83,24,16,45]} 
[2026-08-28 20:01:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:01:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:01:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709411840001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:01:25] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-28 20:01:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 20:01:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16094329084837888,"km_value":16094329084837.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:01:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1406882332928409600,"description":"Unknown IO ID 45"} 
[2026-08-28 20:01:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709411840001,"power":13472,"unknown_145":206,"unknown_83":41984,"ignition":47,"odometer":null,"unknown_45":1406882332928409600}} 
[2026-08-28 20:01:25] local.INFO: DEBUG: GPS processor result {"connection_id":164005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710043,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:01:25] local.INFO: GPS data processed {"connection_id":164005,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:01:25] local.INFO: Acknowledgment sent {"connection_id":164005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:01:30] local.INFO: TCP Data received {"connection_id":166374,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:01:30] local.INFO: Processing buffer {"connection_id":166374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:01:30] local.INFO: IMEI packet received {"connection_id":166374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 20:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":166374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:01:34] local.INFO: TCP Data received {"connection_id":165020,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048c6a0e0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048c6a0e0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:01:34] local.INFO: Processing buffer {"connection_id":165020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048c6a0e0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:01:34] local.INFO: Packet analysis {"connection_id":165020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048c6"} 
[2026-08-28 20:01:34] local.INFO: Extracted packet for processing {"connection_id":165020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048c6"} 
[2026-08-28 20:01:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709330176001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:01:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:01:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787927372000,"timestamp_ms":1787927372000,"timestamp_seconds":1787927372,"priority":1,"record_length":96,"hex_timestamp":"000001a048c6a0e0"} 
[2026-08-28 20:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:01:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 20:01:34] 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-28 20:01:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":165020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":165020,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":165020,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:01:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709330176001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709330176001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:01:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:01:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709330176001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:01:35] 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":710044,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:01:35] local.INFO: GPS data processed {"connection_id":165020,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:01:35] local.INFO: Acknowledgment sent {"connection_id":165020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:01:35] local.INFO: TCP Data received {"connection_id":166374,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:01:35] local.INFO: Processing buffer {"connection_id":166374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:01:35] local.INFO: IMEI packet received {"connection_id":166374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 20:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":166374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:01:37] local.INFO: TCP Data received {"connection_id":166374,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048c41870012d34c14006aa4840000e00e62b..."} 
[2026-08-28 20:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048c41870012d34c14006aa4840000e00e62b..."} 
[2026-08-28 20:01:37] local.INFO: Processing buffer {"connection_id":166374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048c41870012d34c14006aa4840000e00e62b..."} 
[2026-08-28 20:01:37] local.INFO: Packet analysis {"connection_id":166374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048c4"} 
[2026-08-28 20:01:37] local.INFO: Extracted packet for processing {"connection_id":166374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048c4"} 
[2026-08-28 20:01:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709287680001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787927206000,"timestamp_ms":1787927206000,"timestamp_seconds":1787927206,"priority":1,"record_length":96,"hex_timestamp":"000001a048c41870"} 
[2026-08-28 20:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 20:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":166374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":166374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":166374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709287680001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709287680001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:01:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:01:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:01: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-28 20:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709287680001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":166374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:01:37] local.INFO: GPS data processed {"connection_id":166374,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:01:37] local.INFO: Acknowledgment sent {"connection_id":166374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:01:48] local.INFO: TCP Data received {"connection_id":163728,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163728,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:01:48] local.INFO: Processing buffer {"connection_id":163728,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:01:48] local.INFO: IMEI packet received {"connection_id":163728,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 20:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":163728,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:01:52] local.INFO: TCP Data received {"connection_id":163728,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163728,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:01:52] local.INFO: Processing buffer {"connection_id":163728,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:01:52] local.INFO: IMEI packet received {"connection_id":163728,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":163728,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:01:52] local.INFO: TCP Data received {"connection_id":163728,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048c71228012d135440071ef8080029011a2a..."} 
[2026-08-28 20:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048c71228012d135440071ef8080029011a2a..."} 
[2026-08-28 20:01:52] local.INFO: Processing buffer {"connection_id":163728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048c71228012d135440071ef8080029011a2a..."} 
[2026-08-28 20:01:52] local.INFO: Packet analysis {"connection_id":163728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048c7"} 
[2026-08-28 20:01:52] local.INFO: Extracted packet for processing {"connection_id":163728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048c7"} 
[2026-08-28 20:01:52] local.INFO: GPS Element Parsed {"raw_longitude":756241472,"raw_latitude":119470088,"longitude_deg":75.6241472,"latitude_deg":11.9470088,"altitude":41,"angle":282,"satellites":42,"speed":46,"hex_longitude":"2d135440","hex_latitude":"071ef808","is_valid_coordinates":true} 
[2026-08-28 20: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-28 20:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709413376001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16094612552679424,"note":"Value kept but may cause issues"} 
[2026-08-28 20:01:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1399282508557021184,"note":"Value kept but may cause issues"} 
[2026-08-28 20:01:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787927401000,"timestamp_ms":1787927401000,"timestamp_seconds":1787927401,"priority":1,"record_length":96,"hex_timestamp":"000001a048c71228"} 
[2026-08-28 20: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-28 20:01:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-28 20:01:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20: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-28 20: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-28 20:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:01:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709413376001,"66":13537,"145":206,"83":41984,"24":46,"16":16094612552679424,"45":1399282508557021184},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,83,24,16,45]} 
[2026-08-28 20:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709413376001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:01:52] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-28 20:01:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 20:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16094612552679424,"km_value":16094612552679.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:01:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1399282508557021184,"description":"Unknown IO ID 45"} 
[2026-08-28 20:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709413376001,"power":13537,"unknown_145":206,"unknown_83":41984,"ignition":46,"odometer":null,"unknown_45":1399282508557021184}} 
[2026-08-28 20:01:53] local.INFO: DEBUG: GPS processor result {"connection_id":163728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710046,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:01:53] local.INFO: GPS data processed {"connection_id":163728,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:01:53] local.INFO: Acknowledgment sent {"connection_id":163728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:01:53] local.INFO: TCP Data received {"connection_id":163728,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048c73168012d132f80071f01b00028011d2a..."} 
[2026-08-28 20:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048c73168012d132f80071f01b00028011d2a..."} 
[2026-08-28 20:01:53] local.INFO: Processing buffer {"connection_id":163728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048c73168012d132f80071f01b00028011d2a..."} 
[2026-08-28 20:01:53] local.INFO: Packet analysis {"connection_id":163728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048c7"} 
[2026-08-28 20:01:53] local.INFO: Extracted packet for processing {"connection_id":163728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048c7"} 
[2026-08-28 20:01:53] local.INFO: GPS Element Parsed {"raw_longitude":756232064,"raw_latitude":119472560,"longitude_deg":75.6232064,"latitude_deg":11.947256,"altitude":40,"angle":285,"satellites":42,"speed":47,"hex_longitude":"2d132f80","hex_latitude":"071f01b0","is_valid_coordinates":true} 
[2026-08-28 20: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-28 20:01:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709414656001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:01:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16095072114180096,"note":"Value kept but may cause issues"} 
[2026-08-28 20:01:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1392808584092846080,"note":"Value kept but may cause issues"} 
[2026-08-28 20:01:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:01:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787927409000,"timestamp_ms":1787927409000,"timestamp_seconds":1787927409,"priority":1,"record_length":96,"hex_timestamp":"000001a048c73168"} 
[2026-08-28 20: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-28 20:01:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20: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":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-08-28 20:01:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20: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-28 20: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-28 20:01:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:01:53] local.INFO: Teltonika packet parsed successfully {"connection_id":163728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:01:53] local.INFO: Passing IMEI to GPS processor {"connection_id":163728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:01:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":163728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:01:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:01:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:01:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:01:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709414656001,"66":13493,"31":206,"83":41984,"24":47,"16":16095072114180096,"45":1392808584092846080},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,45]} 
[2026-08-28 20:01:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:01:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:01:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709414656001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:01:53] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-28 20:01:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 20:01:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16095072114180096,"km_value":16095072114180.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:01:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1392808584092846080,"description":"Unknown IO ID 45"} 
[2026-08-28 20:01:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709414656001,"power":13493,"unknown_31":206,"unknown_83":41984,"ignition":47,"odometer":null,"unknown_45":1392808584092846080}} 
[2026-08-28 20:01:53] local.INFO: DEBUG: GPS processor result {"connection_id":163728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710047,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:01:53] local.INFO: GPS data processed {"connection_id":163728,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:01:53] local.INFO: Acknowledgment sent {"connection_id":163728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:01:56] local.INFO: TCP Data received {"connection_id":164006,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164006,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:01:56] local.INFO: Processing buffer {"connection_id":164006,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:01:56] local.INFO: IMEI packet received {"connection_id":164006,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 20:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":164006,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:02:01] local.INFO: TCP Data received {"connection_id":164006,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164006,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:02:01] local.INFO: Processing buffer {"connection_id":164006,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:02:01] local.INFO: IMEI packet received {"connection_id":164006,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 20:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":164006,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:02:02] local.INFO: TCP Data received {"connection_id":164006,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048c6a0e0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048c6a0e0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:02:02] local.INFO: Processing buffer {"connection_id":164006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048c6a0e0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:02:02] local.INFO: Packet analysis {"connection_id":164006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048c6"} 
[2026-08-28 20:02:02] local.INFO: Extracted packet for processing {"connection_id":164006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048c6"} 
[2026-08-28 20:02:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:02:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:02:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709330176001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:02:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:02:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:02:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:02:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787927372000,"timestamp_ms":1787927372000,"timestamp_seconds":1787927372,"priority":1,"record_length":96,"hex_timestamp":"000001a048c6a0e0"} 
[2026-08-28 20:02:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:02:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:02:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 20:02:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:02:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:02:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:02:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:02:02] local.INFO: Teltonika packet parsed successfully {"connection_id":164006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:02:02] local.INFO: Passing IMEI to GPS processor {"connection_id":164006,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:02:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":164006,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:02:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:02:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:02:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:02:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709330176001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:02:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:02:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:02:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709330176001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:02:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:02:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:02:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:02:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:02:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709330176001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:02:02] local.INFO: DEBUG: GPS processor result {"connection_id":164006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710048,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:02:02] local.INFO: GPS data processed {"connection_id":164006,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:02:02] local.INFO: Acknowledgment sent {"connection_id":164006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:02:08] local.INFO: TCP Data received {"connection_id":166374,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048c41870012d34c14006aa4840000e00e62b..."} 
[2026-08-28 20:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048c41870012d34c14006aa4840000e00e62b..."} 
[2026-08-28 20:02:08] local.INFO: Processing buffer {"connection_id":166374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048c41870012d34c14006aa4840000e00e62b..."} 
[2026-08-28 20:02:08] local.INFO: Packet analysis {"connection_id":166374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048c4"} 
[2026-08-28 20:02:08] local.INFO: Extracted packet for processing {"connection_id":166374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048c4"} 
[2026-08-28 20:02:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709287680001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:02:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787927206000,"timestamp_ms":1787927206000,"timestamp_seconds":1787927206,"priority":1,"record_length":96,"hex_timestamp":"000001a048c41870"} 
[2026-08-28 20:02:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:02:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 20:02:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:02:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:02:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":166374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":166374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":166374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:02:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709287680001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709287680001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:02:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:02:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:02: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-28 20:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709287680001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":166374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:02:08] local.INFO: GPS data processed {"connection_id":166374,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:02:08] local.INFO: Acknowledgment sent {"connection_id":166374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:02:24] local.INFO: TCP Data received {"connection_id":163728,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048c88d10012d11d280071f34c00032013029..."} 
[2026-08-28 20:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048c88d10012d11d280071f34c00032013029..."} 
[2026-08-28 20:02:24] local.INFO: Processing buffer {"connection_id":163728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048c88d10012d11d280071f34c00032013029..."} 
[2026-08-28 20:02:24] local.INFO: Packet analysis {"connection_id":163728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048c8"} 
[2026-08-28 20:02:24] local.INFO: Extracted packet for processing {"connection_id":163728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048c8"} 
[2026-08-28 20:02:24] local.INFO: GPS Element Parsed {"raw_longitude":756142720,"raw_latitude":119485632,"longitude_deg":75.614272,"latitude_deg":11.9485632,"altitude":50,"angle":304,"satellites":41,"speed":48,"hex_longitude":"2d11d280","hex_latitude":"071f34c0","is_valid_coordinates":true} 
[2026-08-28 20:02:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:02:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709438720001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:02:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16099422916050944,"note":"Value kept but may cause issues"} 
[2026-08-28 20:02:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1287818417783318528,"note":"Value kept but may cause issues"} 
[2026-08-28 20:02:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:02:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787927498000,"timestamp_ms":1787927498000,"timestamp_seconds":1787927498,"priority":1,"record_length":96,"hex_timestamp":"000001a048c88d10"} 
[2026-08-28 20:02:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:02:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20:02:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-28 20:02:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:02:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:02:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:02:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:02:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:02:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:02:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:02:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:02:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:02:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:02:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709438720001,"66":13515,"31":206,"83":41984,"24":48,"16":16099422916050944,"45":1287818417783318528},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,45]} 
[2026-08-28 20:02:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:02:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:02:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709438720001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:02:24] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-28 20:02:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 20:02:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16099422916050944,"km_value":16099422916050.943,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:02:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1287818417783318528,"description":"Unknown IO ID 45"} 
[2026-08-28 20:02:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709438720001,"power":13515,"unknown_31":206,"unknown_83":41984,"ignition":48,"odometer":null,"unknown_45":1287818417783318528}} 
[2026-08-28 20:02:24] local.INFO: DEBUG: GPS processor result {"connection_id":163728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710050,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:02:24] local.INFO: GPS data processed {"connection_id":163728,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:02:24] local.INFO: Acknowledgment sent {"connection_id":163728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:02:34] local.INFO: TCP Data received {"connection_id":164006,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048c6a0e0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048c6a0e0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:02:34] local.INFO: Processing buffer {"connection_id":164006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048c6a0e0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:02:34] local.INFO: Packet analysis {"connection_id":164006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048c6"} 
[2026-08-28 20:02:34] local.INFO: Extracted packet for processing {"connection_id":164006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048c6"} 
[2026-08-28 20:02:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709330176001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:02:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:02:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787927372000,"timestamp_ms":1787927372000,"timestamp_seconds":1787927372,"priority":1,"record_length":96,"hex_timestamp":"000001a048c6a0e0"} 
[2026-08-28 20:02:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:02:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 20:02:34] 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-28 20:02:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:02:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":164006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":164006,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":164006,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:02:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709330176001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709330176001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:02:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:02:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:02:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709330176001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":164006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710051,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:02:34] local.INFO: GPS data processed {"connection_id":164006,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:02:34] local.INFO: Acknowledgment sent {"connection_id":164006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:02:35] local.INFO: TCP Data received {"connection_id":165021,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:02:35] local.INFO: Processing buffer {"connection_id":165021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:02:35] local.INFO: IMEI packet received {"connection_id":165021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 20:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":165021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:02:38] local.INFO: TCP Data received {"connection_id":165022,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165022,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:02:38] local.INFO: Processing buffer {"connection_id":165022,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:02:38] local.INFO: IMEI packet received {"connection_id":165022,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 20:02:38] local.INFO: IMEI acknowledgment sent {"connection_id":165022,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:02:40] local.INFO: TCP Data received {"connection_id":165021,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:02:40] local.INFO: Processing buffer {"connection_id":165021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:02:40] local.INFO: IMEI packet received {"connection_id":165021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 20:02:40] local.INFO: IMEI acknowledgment sent {"connection_id":165021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:02:41] local.INFO: TCP Data received {"connection_id":165021,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048c8b038012d34c14006aa4840000b00e62b..."} 
[2026-08-28 20:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048c8b038012d34c14006aa4840000b00e62b..."} 
[2026-08-28 20:02:41] local.INFO: Processing buffer {"connection_id":165021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048c8b038012d34c14006aa4840000b00e62b..."} 
[2026-08-28 20:02:41] local.INFO: Packet analysis {"connection_id":165021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048c8"} 
[2026-08-28 20:02:41] local.INFO: Extracted packet for processing {"connection_id":165021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048c8"} 
[2026-08-28 20:02:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20: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-28 20:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709364736001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:02:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:02:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787927507000,"timestamp_ms":1787927507000,"timestamp_seconds":1787927507,"priority":1,"record_length":96,"hex_timestamp":"000001a048c8b038"} 
[2026-08-28 20: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-28 20:02:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 20:02: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-28 20: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-28 20: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-28 20:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":165021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":165021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":165021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:02:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709364736001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709364736001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:02:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:02:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20: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-28 20:02:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709364736001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:02:41] 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":710052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:02:41] local.INFO: GPS data processed {"connection_id":165021,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:02:41] local.INFO: Acknowledgment sent {"connection_id":165021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:02:43] local.INFO: TCP Data received {"connection_id":165022,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165022,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:02:43] local.INFO: Processing buffer {"connection_id":165022,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:02:43] local.INFO: IMEI packet received {"connection_id":165022,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:02:43] local.INFO: IMEI acknowledgment sent {"connection_id":165022,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:02:46] local.INFO: TCP Data received {"connection_id":165021,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048c8b038012d34c14006aa4840000b00e62b..."} 
[2026-08-28 20:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048c8b038012d34c14006aa4840000b00e62b..."} 
[2026-08-28 20:02:46] local.INFO: Processing buffer {"connection_id":165021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048c8b038012d34c14006aa4840000b00e62b..."} 
[2026-08-28 20:02:46] local.INFO: Packet analysis {"connection_id":165021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048c8"} 
[2026-08-28 20:02:46] local.INFO: Extracted packet for processing {"connection_id":165021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048c8"} 
[2026-08-28 20:02:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20: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-28 20:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709364736001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:02:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:02:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787927507000,"timestamp_ms":1787927507000,"timestamp_seconds":1787927507,"priority":1,"record_length":96,"hex_timestamp":"000001a048c8b038"} 
[2026-08-28 20: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-28 20:02:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 20:02: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-28 20: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-28 20: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-28 20:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":165021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":165021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":165021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:02:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709364736001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709364736001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:02:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:02:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:02: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-28 20:02:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709364736001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:02:46] 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":710053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:02:46] local.INFO: GPS data processed {"connection_id":165021,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:02:46] local.INFO: Acknowledgment sent {"connection_id":165021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:02:47] local.INFO: TCP Data received {"connection_id":165022,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165022,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:02:47] local.INFO: Processing buffer {"connection_id":165022,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:02:47] local.INFO: IMEI packet received {"connection_id":165022,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:02:47] local.INFO: IMEI acknowledgment sent {"connection_id":165022,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:02:48] local.INFO: TCP Data received {"connection_id":165022,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048c8ac50012d11b3c0071f48880035012227..."} 
[2026-08-28 20:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048c8ac50012d11b3c0071f48880035012227..."} 
[2026-08-28 20:02:48] local.INFO: Processing buffer {"connection_id":165022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048c8ac50012d11b3c0071f48880035012227..."} 
[2026-08-28 20:02:48] local.INFO: Packet analysis {"connection_id":165022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048c8"} 
[2026-08-28 20:02:48] local.INFO: Extracted packet for processing {"connection_id":165022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048c8"} 
[2026-08-28 20:02:48] local.INFO: GPS Element Parsed {"raw_longitude":756134848,"raw_latitude":119490696,"longitude_deg":75.6134848,"latitude_deg":11.9490696,"altitude":53,"angle":290,"satellites":39,"speed":44,"hex_longitude":"2d11b3c0","hex_latitude":"071f4888","is_valid_coordinates":true} 
[2026-08-28 20: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-28 20:02:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709439488001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:02:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16099873887617024,"note":"Value kept but may cause issues"} 
[2026-08-28 20:02:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1284229611830689792,"note":"Value kept but may cause issues"} 
[2026-08-28 20:02:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:02:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787927506000,"timestamp_ms":1787927506000,"timestamp_seconds":1787927506,"priority":1,"record_length":96,"hex_timestamp":"000001a048c8ac50"} 
[2026-08-28 20: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-28 20:02:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-28 20:02:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20: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-28 20: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-28 20:02:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:02:48] local.INFO: Teltonika packet parsed successfully {"connection_id":165022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:02:48] local.INFO: Passing IMEI to GPS processor {"connection_id":165022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:02:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":165022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:02:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:02:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:02:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:02:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709439488001,"66":13504,"31":206,"83":41984,"24":44,"16":16099873887617024,"45":1284229611830689792},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,45]} 
[2026-08-28 20:02:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:02:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:02:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709439488001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:02:48] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-28 20:02:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 20:02:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16099873887617024,"km_value":16099873887617.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:02:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1284229611830689792,"description":"Unknown IO ID 45"} 
[2026-08-28 20:02:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709439488001,"power":13504,"unknown_31":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1284229611830689792}} 
[2026-08-28 20:02:48] 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":710054,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:02:48] local.INFO: GPS data processed {"connection_id":165022,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:02:48] local.INFO: Acknowledgment sent {"connection_id":165022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:02:48] local.INFO: TCP Data received {"connection_id":165022,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048c8ac50012d11b3c0071f48880035012227..."} 
[2026-08-28 20:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048c8ac50012d11b3c0071f48880035012227..."} 
[2026-08-28 20:02:48] local.INFO: Processing buffer {"connection_id":165022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048c8ac50012d11b3c0071f48880035012227..."} 
[2026-08-28 20:02:48] local.INFO: Packet analysis {"connection_id":165022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048c8"} 
[2026-08-28 20:02:48] local.INFO: Extracted packet for processing {"connection_id":165022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048c8"} 
[2026-08-28 20:02:48] local.INFO: GPS Element Parsed {"raw_longitude":756134848,"raw_latitude":119490696,"longitude_deg":75.6134848,"latitude_deg":11.9490696,"altitude":53,"angle":290,"satellites":39,"speed":44,"hex_longitude":"2d11b3c0","hex_latitude":"071f4888","is_valid_coordinates":true} 
[2026-08-28 20: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-28 20:02:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709441536001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:02:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16099873887617024,"note":"Value kept but may cause issues"} 
[2026-08-28 20:02:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1275574256298133504,"note":"Value kept but may cause issues"} 
[2026-08-28 20:02:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:02:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787927506000,"timestamp_ms":1787927506000,"timestamp_seconds":1787927506,"priority":1,"record_length":96,"hex_timestamp":"000001a048c8ac50"} 
[2026-08-28 20: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-28 20:02:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20: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":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-28 20:02:48] 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-28 20: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-28 20: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-28 20:02:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:02:48] local.INFO: Teltonika packet parsed successfully {"connection_id":165022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:02:48] local.INFO: Passing IMEI to GPS processor {"connection_id":165022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:02:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":165022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:02:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:02:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:02:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:02:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709441536001,"66":13504,"31":206,"83":41984,"24":44,"16":16099873887617024,"45":1275574256298133504},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,45]} 
[2026-08-28 20:02:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:02:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:02:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709441536001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:02:48] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-28 20:02:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 20:02:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16099873887617024,"km_value":16099873887617.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:02:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1275574256298133504,"description":"Unknown IO ID 45"} 
[2026-08-28 20:02:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709441536001,"power":13504,"unknown_31":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1275574256298133504}} 
[2026-08-28 20:02:48] 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":710055,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:02:48] local.INFO: GPS data processed {"connection_id":165022,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:02:48] local.INFO: Acknowledgment sent {"connection_id":165022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:02:56] local.INFO: TCP Data received {"connection_id":163729,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163729,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:02:56] local.INFO: Processing buffer {"connection_id":163729,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:02:56] local.INFO: IMEI packet received {"connection_id":163729,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 20:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":163729,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:03:01] local.INFO: TCP Data received {"connection_id":163729,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163729,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:03:01] local.INFO: Processing buffer {"connection_id":163729,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:03:01] local.INFO: IMEI packet received {"connection_id":163729,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 20:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":163729,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:03:03] local.INFO: TCP Data received {"connection_id":163729,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048c6a0e0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048c6a0e0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:03:03] local.INFO: Processing buffer {"connection_id":163729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048c6a0e0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:03:03] local.INFO: Packet analysis {"connection_id":163729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048c6"} 
[2026-08-28 20:03:03] local.INFO: Extracted packet for processing {"connection_id":163729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048c6"} 
[2026-08-28 20:03:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709330176001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787927372000,"timestamp_ms":1787927372000,"timestamp_seconds":1787927372,"priority":1,"record_length":96,"hex_timestamp":"000001a048c6a0e0"} 
[2026-08-28 20:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:03:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 20:03:03] 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-28 20:03:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163729,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163729,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709330176001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709330176001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:03:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:03:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709330176001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:03:03] 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":710056,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:03:03] local.INFO: GPS data processed {"connection_id":163729,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:03:03] local.INFO: Acknowledgment sent {"connection_id":163729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:03:19] local.INFO: TCP Data received {"connection_id":165022,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048c8b808012d11a6c0071f4b880036011529..."} 
[2026-08-28 20:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048c8b808012d11a6c0071f4b880036011529..."} 
[2026-08-28 20:03:19] local.INFO: Processing buffer {"connection_id":165022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048c8b808012d11a6c0071f4b880036011529..."} 
[2026-08-28 20:03:19] local.INFO: Packet analysis {"connection_id":165022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048c8"} 
[2026-08-28 20:03:19] local.INFO: Extracted packet for processing {"connection_id":165022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048c8"} 
[2026-08-28 20:03:19] local.INFO: GPS Element Parsed {"raw_longitude":756131520,"raw_latitude":119491464,"longitude_deg":75.613152,"latitude_deg":11.9491464,"altitude":54,"angle":277,"satellites":41,"speed":44,"hex_longitude":"2d11a6c0","hex_latitude":"071f4b88","is_valid_coordinates":true} 
[2026-08-28 20:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709441536001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16100037096374272,"note":"Value kept but may cause issues"} 
[2026-08-28 20:03:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1275574256298133504,"note":"Value kept but may cause issues"} 
[2026-08-28 20:03:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787927509000,"timestamp_ms":1787927509000,"timestamp_seconds":1787927509,"priority":1,"record_length":96,"hex_timestamp":"000001a048c8b808"} 
[2026-08-28 20:03:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:03:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-28 20:03:19] 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-28 20:03:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:03:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:03:19] local.INFO: Teltonika packet parsed successfully {"connection_id":165022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:03:19] local.INFO: Passing IMEI to GPS processor {"connection_id":165022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:03:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":165022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:03:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:03:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709441536001,"66":13504,"31":206,"83":41984,"24":44,"16":16100037096374272,"45":1275574256298133504},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,83,24,16,45]} 
[2026-08-28 20:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:03:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:03:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709441536001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:03:19] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-08-28 20:03:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 20:03:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16100037096374272,"km_value":16100037096374.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:03:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1275574256298133504,"description":"Unknown IO ID 45"} 
[2026-08-28 20:03:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709441536001,"power":13504,"unknown_31":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1275574256298133504}} 
[2026-08-28 20:03:19] 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":710057,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:03:19] local.INFO: GPS data processed {"connection_id":165022,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:03:19] local.INFO: Acknowledgment sent {"connection_id":165022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:03:30] local.INFO: TCP Data received {"connection_id":164007,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:03:30] local.INFO: Processing buffer {"connection_id":164007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:03:30] local.INFO: IMEI packet received {"connection_id":164007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 20:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":164007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:03:35] local.INFO: TCP Data received {"connection_id":164007,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:03:35] local.INFO: Processing buffer {"connection_id":164007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:03:35] local.INFO: IMEI packet received {"connection_id":164007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 20:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":164007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:03:35] local.INFO: TCP Data received {"connection_id":163729,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048c6a0e0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048c6a0e0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:03:35] local.INFO: Processing buffer {"connection_id":163729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048c6a0e0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:03:35] local.INFO: Packet analysis {"connection_id":163729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048c6"} 
[2026-08-28 20:03:35] local.INFO: Extracted packet for processing {"connection_id":163729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048c6"} 
[2026-08-28 20:03:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709330176001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:03:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787927372000,"timestamp_ms":1787927372000,"timestamp_seconds":1787927372,"priority":1,"record_length":96,"hex_timestamp":"000001a048c6a0e0"} 
[2026-08-28 20:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:03:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 20:03:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:03:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163729,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163729,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709330176001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709330176001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:03:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:03:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:03:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709330176001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:03:36] 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":710058,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:03:36] local.INFO: GPS data processed {"connection_id":163729,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:03:36] local.INFO: Acknowledgment sent {"connection_id":163729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:03:37] local.INFO: TCP Data received {"connection_id":164007,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048c8b038012d34c14006aa4840000b00e62b..."} 
[2026-08-28 20:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048c8b038012d34c14006aa4840000b00e62b..."} 
[2026-08-28 20:03:37] local.INFO: Processing buffer {"connection_id":164007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048c8b038012d34c14006aa4840000b00e62b..."} 
[2026-08-28 20:03:37] local.INFO: Packet analysis {"connection_id":164007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048c8"} 
[2026-08-28 20:03:37] local.INFO: Extracted packet for processing {"connection_id":164007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048c8"} 
[2026-08-28 20:03:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709364736001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:03:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787927507000,"timestamp_ms":1787927507000,"timestamp_seconds":1787927507,"priority":1,"record_length":96,"hex_timestamp":"000001a048c8b038"} 
[2026-08-28 20:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 20:03:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:03:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709364736001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709364736001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:03:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:03:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:03: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-28 20:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709364736001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":164007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:03:37] local.INFO: GPS data processed {"connection_id":164007,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:03:37] local.INFO: Acknowledgment sent {"connection_id":164007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:03:43] local.INFO: TCP Data received {"connection_id":166375,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166375,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:03:43] local.INFO: Processing buffer {"connection_id":166375,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:03:43] local.INFO: IMEI packet received {"connection_id":166375,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 20:03:43] local.INFO: IMEI acknowledgment sent {"connection_id":166375,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:03:43] local.INFO: TCP Data received {"connection_id":166375,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166375,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:03:43] local.INFO: Processing buffer {"connection_id":166375,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:03:43] local.INFO: IMEI packet received {"connection_id":166375,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:03:43] local.INFO: IMEI acknowledgment sent {"connection_id":166375,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:03:48] local.INFO: TCP Data received {"connection_id":166375,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166375,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:03:48] local.INFO: Processing buffer {"connection_id":166375,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:03:48] local.INFO: IMEI packet received {"connection_id":166375,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":166375,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:03:48] local.INFO: TCP Data received {"connection_id":166375,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048c9a650012d10e600071ea950003600d02a..."} 
[2026-08-28 20:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048c9a650012d10e600071ea950003600d02a..."} 
[2026-08-28 20:03:48] local.INFO: Processing buffer {"connection_id":166375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048c9a650012d10e600071ea950003600d02a..."} 
[2026-08-28 20:03:48] local.INFO: Packet analysis {"connection_id":166375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048c9"} 
[2026-08-28 20:03:48] local.INFO: Extracted packet for processing {"connection_id":166375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048c9"} 
[2026-08-28 20:03:48] local.INFO: GPS Element Parsed {"raw_longitude":756082176,"raw_latitude":119449936,"longitude_deg":75.6082176,"latitude_deg":11.9449936,"altitude":54,"angle":208,"satellites":42,"speed":45,"hex_longitude":"2d10e600","hex_latitude":"071ea950","is_valid_coordinates":true} 
[2026-08-28 20:03:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:03:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709455872001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:03:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16103447300407296,"note":"Value kept but may cause issues"} 
[2026-08-28 20:03:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1223008804389003264,"note":"Value kept but may cause issues"} 
[2026-08-28 20:03:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:03:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787927570000,"timestamp_ms":1787927570000,"timestamp_seconds":1787927570,"priority":1,"record_length":96,"hex_timestamp":"000001a048c9a650"} 
[2026-08-28 20:03:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:03:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20:03:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-28 20:03:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:03:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:03:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:03:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:03:48] local.INFO: Teltonika packet parsed successfully {"connection_id":166375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:03:48] local.INFO: Passing IMEI to GPS processor {"connection_id":166375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:03:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":166375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:03:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:03:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:03:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:03:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709455872001,"66":13243,"32":206,"83":41984,"24":45,"16":16103447300407296,"45":1223008804389003264},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,83,24,16,45]} 
[2026-08-28 20:03:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:03:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:03:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709455872001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:03:48] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 20:03:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 20:03:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16103447300407296,"km_value":16103447300407.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:03:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1223008804389003264,"description":"Unknown IO ID 45"} 
[2026-08-28 20:03:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709455872001,"power":13243,"unknown_32":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":1223008804389003264}} 
[2026-08-28 20:03:48] local.INFO: DEBUG: GPS processor result {"connection_id":166375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710060,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:03:48] local.INFO: GPS data processed {"connection_id":166375,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:03:48] local.INFO: Acknowledgment sent {"connection_id":166375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:03:52] local.INFO: TCP Data received {"connection_id":166375,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048c9c590012d10d540071e8760003400ce2b..."} 
[2026-08-28 20:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048c9c590012d10d540071e8760003400ce2b..."} 
[2026-08-28 20:03:52] local.INFO: Processing buffer {"connection_id":166375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048c9c590012d10d540071e8760003400ce2b..."} 
[2026-08-28 20:03:52] local.INFO: Packet analysis {"connection_id":166375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048c9"} 
[2026-08-28 20:03:52] local.INFO: Extracted packet for processing {"connection_id":166375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048c9"} 
[2026-08-28 20:03:52] local.INFO: GPS Element Parsed {"raw_longitude":756077888,"raw_latitude":119441248,"longitude_deg":75.6077888,"latitude_deg":11.9441248,"altitude":52,"angle":206,"satellites":43,"speed":49,"hex_longitude":"2d10d540","hex_latitude":"071e8760","is_valid_coordinates":true} 
[2026-08-28 20:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:03:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709457920001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:03:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16103915451842560,"note":"Value kept but may cause issues"} 
[2026-08-28 20:03:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1217660779829481472,"note":"Value kept but may cause issues"} 
[2026-08-28 20:03:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:03:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787927578000,"timestamp_ms":1787927578000,"timestamp_seconds":1787927578,"priority":1,"record_length":96,"hex_timestamp":"000001a048c9c590"} 
[2026-08-28 20:03:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:03:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-28 20:03:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:03:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:03:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:03:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:03:52] local.INFO: Teltonika packet parsed successfully {"connection_id":166375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:03:52] local.INFO: Passing IMEI to GPS processor {"connection_id":166375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:03:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":166375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:03:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:03:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:03:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:03:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709457920001,"66":13493,"32":206,"83":41984,"24":49,"16":16103915451842560,"45":1217660779829481472},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,83,24,16,45]} 
[2026-08-28 20:03:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:03:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:03:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709457920001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:03:52] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-28 20:03:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 20:03:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16103915451842560,"km_value":16103915451842.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:03:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1217660779829481472,"description":"Unknown IO ID 45"} 
[2026-08-28 20:03:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709457920001,"power":13493,"unknown_32":206,"unknown_83":41984,"ignition":49,"odometer":null,"unknown_45":1217660779829481472}} 
[2026-08-28 20:03:52] local.INFO: DEBUG: GPS processor result {"connection_id":166375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710061,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:03:52] local.INFO: GPS data processed {"connection_id":166375,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:03:52] local.INFO: Acknowledgment sent {"connection_id":166375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:03:56] local.INFO: TCP Data received {"connection_id":163730,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163730,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:03:56] local.INFO: Processing buffer {"connection_id":163730,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:03:56] local.INFO: IMEI packet received {"connection_id":163730,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 20:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":163730,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:04:01] local.INFO: TCP Data received {"connection_id":163730,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163730,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:04:01] local.INFO: Processing buffer {"connection_id":163730,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:04:01] local.INFO: IMEI packet received {"connection_id":163730,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 20:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":163730,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:04:03] local.INFO: TCP Data received {"connection_id":163730,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048c6a0e0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048c6a0e0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:04:03] local.INFO: Processing buffer {"connection_id":163730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048c6a0e0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:04:03] local.INFO: Packet analysis {"connection_id":163730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048c6"} 
[2026-08-28 20:04:03] local.INFO: Extracted packet for processing {"connection_id":163730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048c6"} 
[2026-08-28 20:04:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709330176001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787927372000,"timestamp_ms":1787927372000,"timestamp_seconds":1787927372,"priority":1,"record_length":96,"hex_timestamp":"000001a048c6a0e0"} 
[2026-08-28 20:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:04:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 20:04:03] 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-28 20:04:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163730,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163730,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709330176001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709330176001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:04:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:04:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709330176001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:04:03] 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":710062,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:04:03] local.INFO: GPS data processed {"connection_id":163730,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:04:03] local.INFO: Acknowledgment sent {"connection_id":163730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:04:09] local.INFO: TCP Data received {"connection_id":164007,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048c8b038012d34c14006aa4840000b00e62b..."} 
[2026-08-28 20:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048c8b038012d34c14006aa4840000b00e62b..."} 
[2026-08-28 20:04:09] local.INFO: Processing buffer {"connection_id":164007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048c8b038012d34c14006aa4840000b00e62b..."} 
[2026-08-28 20:04:09] local.INFO: Packet analysis {"connection_id":164007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048c8"} 
[2026-08-28 20:04:09] local.INFO: Extracted packet for processing {"connection_id":164007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048c8"} 
[2026-08-28 20:04:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709364736001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:04:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:04:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787927507000,"timestamp_ms":1787927507000,"timestamp_seconds":1787927507,"priority":1,"record_length":96,"hex_timestamp":"000001a048c8b038"} 
[2026-08-28 20:04:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:04:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 20:04:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:04:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:04:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:04:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709364736001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709364736001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:04:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:04:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:04: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-28 20:04:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709364736001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":164007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:04:09] local.INFO: GPS data processed {"connection_id":164007,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:04:09] local.INFO: Acknowledgment sent {"connection_id":164007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:04:23] local.INFO: TCP Data received {"connection_id":166375,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048c9e4d0012d10c1c0071e6720003100d42b..."} 
[2026-08-28 20:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048c9e4d0012d10c1c0071e6720003100d42b..."} 
[2026-08-28 20:04:23] local.INFO: Processing buffer {"connection_id":166375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048c9e4d0012d10c1c0071e6720003100d42b..."} 
[2026-08-28 20:04:23] local.INFO: Packet analysis {"connection_id":166375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048c9"} 
[2026-08-28 20:04:23] local.INFO: Extracted packet for processing {"connection_id":166375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048c9"} 
[2026-08-28 20:04:23] local.INFO: GPS Element Parsed {"raw_longitude":756072896,"raw_latitude":119432992,"longitude_deg":75.6072896,"latitude_deg":11.9432992,"altitude":49,"angle":212,"satellites":43,"speed":47,"hex_longitude":"2d10c1c0","hex_latitude":"071e6720","is_valid_coordinates":true} 
[2026-08-28 20:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:04:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709459968001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:04:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16104379308310528,"note":"Value kept but may cause issues"} 
[2026-08-28 20:04:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1212946073967353856,"note":"Value kept but may cause issues"} 
[2026-08-28 20:04:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:04:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787927586000,"timestamp_ms":1787927586000,"timestamp_seconds":1787927586,"priority":1,"record_length":96,"hex_timestamp":"000001a048c9e4d0"} 
[2026-08-28 20:04:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:04:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-28 20:04:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:04:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:04:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:04:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:04:23] local.INFO: Teltonika packet parsed successfully {"connection_id":166375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:04:23] local.INFO: Passing IMEI to GPS processor {"connection_id":166375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:04:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":166375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:04:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:04:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:04:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:04:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709459968001,"66":13537,"235":206,"83":41984,"24":47,"16":16104379308310528,"45":1212946073967353856},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,83,24,16,45]} 
[2026-08-28 20:04:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:04:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:04:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709459968001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:04:23] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-28 20:04:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 20:04:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16104379308310528,"km_value":16104379308310.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:04:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1212946073967353856,"description":"Unknown IO ID 45"} 
[2026-08-28 20:04:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709459968001,"power":13537,"unknown_235":206,"unknown_83":41984,"ignition":47,"odometer":null,"unknown_45":1212946073967353856}} 
[2026-08-28 20:04:23] local.INFO: DEBUG: GPS processor result {"connection_id":166375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710064,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:04:23] local.INFO: GPS data processed {"connection_id":166375,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:04:23] local.INFO: Acknowledgment sent {"connection_id":166375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:04:29] local.INFO: TCP Data received {"connection_id":163731,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:04:29] local.INFO: Processing buffer {"connection_id":163731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:04:29] local.INFO: IMEI packet received {"connection_id":163731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 20:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":163731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:04:35] local.INFO: TCP Data received {"connection_id":163730,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048c6a0e0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048c6a0e0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:04:35] local.INFO: Processing buffer {"connection_id":163730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048c6a0e0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:04:35] local.INFO: Packet analysis {"connection_id":163730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048c6"} 
[2026-08-28 20:04:35] local.INFO: Extracted packet for processing {"connection_id":163730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048c6"} 
[2026-08-28 20:04:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709330176001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:04:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787927372000,"timestamp_ms":1787927372000,"timestamp_seconds":1787927372,"priority":1,"record_length":96,"hex_timestamp":"000001a048c6a0e0"} 
[2026-08-28 20:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:04:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 20:04:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:04:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163730,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163730,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709330176001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709330176001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:04:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:04:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709330176001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:04:35] 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":710065,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:04:35] local.INFO: GPS data processed {"connection_id":163730,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:04:35] local.INFO: Acknowledgment sent {"connection_id":163730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:04:35] local.INFO: TCP Data received {"connection_id":163731,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:04:35] local.INFO: Processing buffer {"connection_id":163731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:04:35] local.INFO: IMEI packet received {"connection_id":163731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 20:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":163731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:04:36] local.INFO: TCP Data received {"connection_id":163731,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048c8b038012d34c14006aa4840000b00e62b..."} 
[2026-08-28 20:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048c8b038012d34c14006aa4840000b00e62b..."} 
[2026-08-28 20:04:36] local.INFO: Processing buffer {"connection_id":163731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048c8b038012d34c14006aa4840000b00e62b..."} 
[2026-08-28 20:04:36] local.INFO: Packet analysis {"connection_id":163731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048c8"} 
[2026-08-28 20:04:36] local.INFO: Extracted packet for processing {"connection_id":163731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048c8"} 
[2026-08-28 20:04:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709364736001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:04:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787927507000,"timestamp_ms":1787927507000,"timestamp_seconds":1787927507,"priority":1,"record_length":96,"hex_timestamp":"000001a048c8b038"} 
[2026-08-28 20:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:04:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 20:04:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:04:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:04:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709364736001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709364736001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:04:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:04:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709364736001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:04:36] 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":710066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:04:36] local.INFO: GPS data processed {"connection_id":163731,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:04:36] local.INFO: Acknowledgment sent {"connection_id":163731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:04:42] local.INFO: TCP Data received {"connection_id":165023,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165023,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:04:42] local.INFO: Processing buffer {"connection_id":165023,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:04:42] local.INFO: IMEI packet received {"connection_id":165023,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 20:04:42] local.INFO: IMEI acknowledgment sent {"connection_id":165023,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:04:42] local.INFO: TCP Data received {"connection_id":165023,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165023,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:04:42] local.INFO: Processing buffer {"connection_id":165023,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:04:42] local.INFO: IMEI packet received {"connection_id":165023,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:04:42] local.INFO: IMEI acknowledgment sent {"connection_id":165023,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:04:43] local.INFO: TCP Data received {"connection_id":165023,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165023,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:04:43] local.INFO: Processing buffer {"connection_id":165023,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:04:43] local.INFO: IMEI packet received {"connection_id":165023,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:04:43] local.INFO: IMEI acknowledgment sent {"connection_id":165023,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:04:46] local.INFO: TCP Data received {"connection_id":165023,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165023,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:04:46] local.INFO: Processing buffer {"connection_id":165023,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:04:46] local.INFO: IMEI packet received {"connection_id":165023,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":165023,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:04:47] local.INFO: TCP Data received {"connection_id":165023,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048cac760012d1003c0071e4750002f011a29..."} 
[2026-08-28 20:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048cac760012d1003c0071e4750002f011a29..."} 
[2026-08-28 20:04:47] local.INFO: Processing buffer {"connection_id":165023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048cac760012d1003c0071e4750002f011a29..."} 
[2026-08-28 20:04:47] local.INFO: Packet analysis {"connection_id":165023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ca"} 
[2026-08-28 20:04:47] local.INFO: Extracted packet for processing {"connection_id":165023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ca"} 
[2026-08-28 20:04:47] local.INFO: GPS Element Parsed {"raw_longitude":756024256,"raw_latitude":119424848,"longitude_deg":75.6024256,"latitude_deg":11.9424848,"altitude":47,"angle":282,"satellites":41,"speed":33,"hex_longitude":"2d1003c0","hex_latitude":"071e4750","is_valid_coordinates":true} 
[2026-08-28 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-28 20:04:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709476352001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:04:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16107128087379968,"note":"Value kept but may cause issues"} 
[2026-08-28 20:04:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1155736284946585600,"note":"Value kept but may cause issues"} 
[2026-08-28 20:04:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:04:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787927644000,"timestamp_ms":1787927644000,"timestamp_seconds":1787927644,"priority":1,"record_length":96,"hex_timestamp":"000001a048cac760"} 
[2026-08-28 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-28 20:04:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-28 20:04:47] 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-28 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-28 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-28 20:04:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:04:47] local.INFO: Teltonika packet parsed successfully {"connection_id":165023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:04:47] local.INFO: Passing IMEI to GPS processor {"connection_id":165023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:04:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":165023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:04:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:04:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:04:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:04:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709476352001,"66":13439,"235":206,"83":41984,"24":33,"16":16107128087379968,"45":1155736284946585600},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,83,24,16,45]} 
[2026-08-28 20:04:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:04:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:04:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709476352001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:04:47] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-28 20:04:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 20:04:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16107128087379968,"km_value":16107128087379.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:04:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1155736284946585600,"description":"Unknown IO ID 45"} 
[2026-08-28 20:04:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709476352001,"power":13439,"unknown_235":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1155736284946585600}} 
[2026-08-28 20:04:47] 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":710067,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:04:47] local.INFO: GPS data processed {"connection_id":165023,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:04:47] local.INFO: Acknowledgment sent {"connection_id":165023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:05:01] local.INFO: TCP Data received {"connection_id":164008,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164008,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:05:01] local.INFO: Processing buffer {"connection_id":164008,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:05:01] local.INFO: IMEI packet received {"connection_id":164008,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 20:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":164008,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:05:06] local.INFO: TCP Data received {"connection_id":164008,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164008,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:05:06] local.INFO: Processing buffer {"connection_id":164008,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:05:06] local.INFO: IMEI packet received {"connection_id":164008,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 20:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":164008,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:05:08] local.INFO: TCP Data received {"connection_id":164008,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048c6a0e0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048c6a0e0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:05:08] local.INFO: Processing buffer {"connection_id":164008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048c6a0e0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:05:08] local.INFO: Packet analysis {"connection_id":164008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048c6"} 
[2026-08-28 20:05:08] local.INFO: Extracted packet for processing {"connection_id":164008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048c6"} 
[2026-08-28 20:05:08] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709330176001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:05:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787927372000,"timestamp_ms":1787927372000,"timestamp_seconds":1787927372,"priority":1,"record_length":96,"hex_timestamp":"000001a048c6a0e0"} 
[2026-08-28 20:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:05:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 20:05:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:05:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164008,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164008,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709330176001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709330176001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:05:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:05:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709330176001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:05:08] local.INFO: TCP Data received {"connection_id":163731,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048c8b038012d34c14006aa4840000b00e62b..."} 
[2026-08-28 20:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048c8b038012d34c14006aa4840000b00e62b..."} 
[2026-08-28 20:05:08] local.INFO: Processing buffer {"connection_id":163731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048c8b038012d34c14006aa4840000b00e62b..."} 
[2026-08-28 20:05:08] local.INFO: Packet analysis {"connection_id":163731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048c8"} 
[2026-08-28 20:05:08] local.INFO: Extracted packet for processing {"connection_id":163731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048c8"} 
[2026-08-28 20:05:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709364736001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:05:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787927507000,"timestamp_ms":1787927507000,"timestamp_seconds":1787927507,"priority":1,"record_length":96,"hex_timestamp":"000001a048c8b038"} 
[2026-08-28 20:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:05:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 20:05:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:05:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709364736001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709364736001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:05:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:05:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:05: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-28 20:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709364736001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":164008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710068,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:05:08] local.INFO: GPS data processed {"connection_id":164008,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:05:08] local.INFO: Acknowledgment sent {"connection_id":164008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:05:08] 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":710069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:05:08] local.INFO: GPS data processed {"connection_id":163731,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:05:08] local.INFO: Acknowledgment sent {"connection_id":163731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:05:12] local.INFO: TCP Data received {"connection_id":164008,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048c6a0e0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048c6a0e0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:05:12] local.INFO: Processing buffer {"connection_id":164008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048c6a0e0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:05:12] local.INFO: Packet analysis {"connection_id":164008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048c6"} 
[2026-08-28 20:05:12] local.INFO: Extracted packet for processing {"connection_id":164008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048c6"} 
[2026-08-28 20:05:12] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:05:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709330176001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:05:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:05:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:05:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:05:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787927372000,"timestamp_ms":1787927372000,"timestamp_seconds":1787927372,"priority":1,"record_length":96,"hex_timestamp":"000001a048c6a0e0"} 
[2026-08-28 20:05:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:05:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 20:05:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:05:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:05:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:05:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:05:12] local.INFO: Teltonika packet parsed successfully {"connection_id":164008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:05:12] local.INFO: Passing IMEI to GPS processor {"connection_id":164008,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:05:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":164008,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:05:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:05:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:05:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:05:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709330176001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:05:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:05:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:05:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709330176001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:05:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:05:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:05:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:05:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:05:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709330176001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:05:12] local.INFO: DEBUG: GPS processor result {"connection_id":164008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710070,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:05:12] local.INFO: GPS data processed {"connection_id":164008,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:05:12] local.INFO: Acknowledgment sent {"connection_id":164008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:05:18] local.INFO: TCP Data received {"connection_id":165023,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048cacf30012d0ffcc0071e4800002f010e29..."} 
[2026-08-28 20:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048cacf30012d0ffcc0071e4800002f010e29..."} 
[2026-08-28 20:05:18] local.INFO: Processing buffer {"connection_id":165023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048cacf30012d0ffcc0071e4800002f010e29..."} 
[2026-08-28 20:05:18] local.INFO: Packet analysis {"connection_id":165023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ca"} 
[2026-08-28 20:05:18] local.INFO: Extracted packet for processing {"connection_id":165023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ca"} 
[2026-08-28 20:05:18] local.INFO: GPS Element Parsed {"raw_longitude":756022464,"raw_latitude":119425024,"longitude_deg":75.6022464,"latitude_deg":11.9425024,"altitude":47,"angle":270,"satellites":41,"speed":36,"hex_longitude":"2d0ffcc0","hex_latitude":"071e4800","is_valid_coordinates":true} 
[2026-08-28 20:05:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:05:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709476864001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:05:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16107209691758592,"note":"Value kept but may cause issues"} 
[2026-08-28 20:05:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1153977066342273024,"note":"Value kept but may cause issues"} 
[2026-08-28 20:05:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:05:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787927646000,"timestamp_ms":1787927646000,"timestamp_seconds":1787927646,"priority":1,"record_length":96,"hex_timestamp":"000001a048cacf30"} 
[2026-08-28 20:05:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:05:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20:05:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-28 20:05:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:05:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:05:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:05:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:05:18] local.INFO: Teltonika packet parsed successfully {"connection_id":165023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:05:18] local.INFO: Passing IMEI to GPS processor {"connection_id":165023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:05:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":165023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:05:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:05:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:05:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:05:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709476864001,"66":13254,"235":206,"83":41984,"24":36,"16":16107209691758592,"45":1153977066342273024},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,83,24,16,45]} 
[2026-08-28 20:05:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:05:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:05:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709476864001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:05:18] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-28 20:05:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 20:05:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16107209691758592,"km_value":16107209691758.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:05:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1153977066342273024,"description":"Unknown IO ID 45"} 
[2026-08-28 20:05:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709476864001,"power":13254,"unknown_235":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1153977066342273024}} 
[2026-08-28 20:05:18] 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":710071,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:05:18] local.INFO: GPS data processed {"connection_id":165023,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:05:18] local.INFO: Acknowledgment sent {"connection_id":165023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:05:30] local.INFO: TCP Data received {"connection_id":166376,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:05:30] local.INFO: Processing buffer {"connection_id":166376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:05:30] local.INFO: IMEI packet received {"connection_id":166376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 20:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":166376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:05:35] local.INFO: TCP Data received {"connection_id":166376,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:05:35] local.INFO: Processing buffer {"connection_id":166376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:05:35] local.INFO: IMEI packet received {"connection_id":166376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 20:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":166376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:05:36] local.INFO: TCP Data received {"connection_id":166376,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048c8b038012d34c14006aa4840000b00e62b..."} 
[2026-08-28 20:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048c8b038012d34c14006aa4840000b00e62b..."} 
[2026-08-28 20:05:36] local.INFO: Processing buffer {"connection_id":166376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048c8b038012d34c14006aa4840000b00e62b..."} 
[2026-08-28 20:05:36] local.INFO: Packet analysis {"connection_id":166376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048c8"} 
[2026-08-28 20:05:36] local.INFO: Extracted packet for processing {"connection_id":166376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048c8"} 
[2026-08-28 20:05:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709364736001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787927507000,"timestamp_ms":1787927507000,"timestamp_seconds":1787927507,"priority":1,"record_length":96,"hex_timestamp":"000001a048c8b038"} 
[2026-08-28 20:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 20:05:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:05:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":166376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":166376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":166376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:05:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709364736001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709364736001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:05:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:05:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709364736001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":166376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:05:36] local.INFO: GPS data processed {"connection_id":166376,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:05:36] local.INFO: Acknowledgment sent {"connection_id":166376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:05:43] local.INFO: TCP Data received {"connection_id":165024,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165024,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:05:43] local.INFO: Processing buffer {"connection_id":165024,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:05:43] local.INFO: IMEI packet received {"connection_id":165024,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 20:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":165024,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:05:44] local.INFO: TCP Data received {"connection_id":165024,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165024,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:05:44] local.INFO: Processing buffer {"connection_id":165024,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:05:44] local.INFO: IMEI packet received {"connection_id":165024,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:05:44] local.INFO: IMEI acknowledgment sent {"connection_id":165024,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:05:48] local.INFO: TCP Data received {"connection_id":165024,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165024,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:05:48] local.INFO: Processing buffer {"connection_id":165024,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:05:48] local.INFO: IMEI packet received {"connection_id":165024,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":165024,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:05:49] local.INFO: TCP Data received {"connection_id":165024,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048cadae8012d0ff180071e4688002f010129..."} 
[2026-08-28 20:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048cadae8012d0ff180071e4688002f010129..."} 
[2026-08-28 20:05:49] local.INFO: Processing buffer {"connection_id":165024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048cadae8012d0ff180071e4688002f010129..."} 
[2026-08-28 20:05:49] local.INFO: Packet analysis {"connection_id":165024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ca"} 
[2026-08-28 20:05:49] local.INFO: Extracted packet for processing {"connection_id":165024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ca"} 
[2026-08-28 20:05:49] local.INFO: GPS Element Parsed {"raw_longitude":756019584,"raw_latitude":119424648,"longitude_deg":75.6019584,"latitude_deg":11.9424648,"altitude":47,"angle":257,"satellites":41,"speed":39,"hex_longitude":"2d0ff180","hex_latitude":"071e4688","is_valid_coordinates":true} 
[2026-08-28 20:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709477376001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16107351425679360,"note":"Value kept but may cause issues"} 
[2026-08-28 20:05:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1152006741505343488,"note":"Value kept but may cause issues"} 
[2026-08-28 20:05:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787927649000,"timestamp_ms":1787927649000,"timestamp_seconds":1787927649,"priority":1,"record_length":96,"hex_timestamp":"000001a048cadae8"} 
[2026-08-28 20:05:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:05:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-28 20:05:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:05:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:05:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":165024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":165024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":165024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:05:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709477376001,"66":13396,"235":206,"83":41984,"24":39,"16":16107351425679360,"45":1152006741505343488},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,83,24,16,45]} 
[2026-08-28 20:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709477376001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:05:49] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-28 20:05:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 20:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16107351425679360,"km_value":16107351425679.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:05:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1152006741505343488,"description":"Unknown IO ID 45"} 
[2026-08-28 20:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709477376001,"power":13396,"unknown_235":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1152006741505343488}} 
[2026-08-28 20:05:49] 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":710073,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:05:49] local.INFO: GPS data processed {"connection_id":165024,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:05:49] local.INFO: Acknowledgment sent {"connection_id":165024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:05:56] local.INFO: TCP Data received {"connection_id":164009,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164009,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:05:56] local.INFO: Processing buffer {"connection_id":164009,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:05:56] local.INFO: IMEI packet received {"connection_id":164009,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 20:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":164009,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:06:01] local.INFO: TCP Data received {"connection_id":164009,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164009,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:06:01] local.INFO: Processing buffer {"connection_id":164009,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:06:01] local.INFO: IMEI packet received {"connection_id":164009,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 20:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":164009,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:06:02] local.INFO: TCP Data received {"connection_id":164009,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048cb38a8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048cb38a8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:06:02] local.INFO: Processing buffer {"connection_id":164009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048cb38a8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:06:02] local.INFO: Packet analysis {"connection_id":164009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048cb"} 
[2026-08-28 20:06:02] local.INFO: Extracted packet for processing {"connection_id":164009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048cb"} 
[2026-08-28 20:06:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709407232001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:06:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787927673000,"timestamp_ms":1787927673000,"timestamp_seconds":1787927673,"priority":1,"record_length":96,"hex_timestamp":"000001a048cb38a8"} 
[2026-08-28 20:06:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:06:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 20:06:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:06:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:06:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":164009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":164009,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":164009,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:06:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709407232001,"66":25223,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709407232001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:06:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:06:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709407232001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":164009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710074,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:06:02] local.INFO: GPS data processed {"connection_id":164009,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:06:02] local.INFO: Acknowledgment sent {"connection_id":164009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:06:08] local.INFO: TCP Data received {"connection_id":166376,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048c8b038012d34c14006aa4840000b00e62b..."} 
[2026-08-28 20:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048c8b038012d34c14006aa4840000b00e62b..."} 
[2026-08-28 20:06:08] local.INFO: Processing buffer {"connection_id":166376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048c8b038012d34c14006aa4840000b00e62b..."} 
[2026-08-28 20:06:08] local.INFO: Packet analysis {"connection_id":166376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048c8"} 
[2026-08-28 20:06:08] local.INFO: Extracted packet for processing {"connection_id":166376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048c8"} 
[2026-08-28 20:06:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709364736001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:06:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:06:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:06:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:06:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787927507000,"timestamp_ms":1787927507000,"timestamp_seconds":1787927507,"priority":1,"record_length":96,"hex_timestamp":"000001a048c8b038"} 
[2026-08-28 20:06:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:06:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 20:06:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:06:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:06:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:06:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:06:08] local.INFO: Teltonika packet parsed successfully {"connection_id":166376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:06:08] local.INFO: Passing IMEI to GPS processor {"connection_id":166376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:06:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":166376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:06:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:06:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:06:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:06:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709364736001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:06:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:06:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:06:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709364736001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:06:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:06:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:06: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-28 20:06:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:06:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709364736001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:06:08] local.INFO: DEBUG: GPS processor result {"connection_id":166376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:06:08] local.INFO: GPS data processed {"connection_id":166376,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:06:08] local.INFO: Acknowledgment sent {"connection_id":166376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:06:20] local.INFO: TCP Data received {"connection_id":165024,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048cb01f8012d0fcf80071e3b70002f00fe28..."} 
[2026-08-28 20:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048cb01f8012d0fcf80071e3b70002f00fe28..."} 
[2026-08-28 20:06:20] local.INFO: Processing buffer {"connection_id":165024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048cb01f8012d0fcf80071e3b70002f00fe28..."} 
[2026-08-28 20:06:20] local.INFO: Packet analysis {"connection_id":165024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048cb"} 
[2026-08-28 20:06:20] local.INFO: Extracted packet for processing {"connection_id":165024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048cb"} 
[2026-08-28 20:06:20] local.INFO: GPS Element Parsed {"raw_longitude":756010880,"raw_latitude":119421808,"longitude_deg":75.601088,"latitude_deg":11.9421808,"altitude":47,"angle":254,"satellites":40,"speed":34,"hex_longitude":"2d0fcf80","hex_latitude":"071e3b70","is_valid_coordinates":true} 
[2026-08-28 20: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-28 20:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709478144001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16107785217376256,"note":"Value kept but may cause issues"} 
[2026-08-28 20:06:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1148840148017252352,"note":"Value kept but may cause issues"} 
[2026-08-28 20:06:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787927659000,"timestamp_ms":1787927659000,"timestamp_seconds":1787927659,"priority":1,"record_length":96,"hex_timestamp":"000001a048cb01f8"} 
[2026-08-28 20: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-28 20:06:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-28 20:06:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20: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-28 20: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-28 20:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":165024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":165024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":165024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:06:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709478144001,"66":13374,"235":206,"83":41984,"24":34,"16":16107785217376256,"45":1148840148017252352},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,83,24,16,45]} 
[2026-08-28 20:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709478144001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:06:20] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-28 20:06:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 20:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16107785217376256,"km_value":16107785217376.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:06:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1148840148017252352,"description":"Unknown IO ID 45"} 
[2026-08-28 20:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709478144001,"power":13374,"unknown_235":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1148840148017252352}} 
[2026-08-28 20:06:20] 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":710076,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:06:20] local.INFO: GPS data processed {"connection_id":165024,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:06:20] local.INFO: Acknowledgment sent {"connection_id":165024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:06:34] local.INFO: TCP Data received {"connection_id":164009,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048cb38a8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048cb38a8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:06:34] local.INFO: Processing buffer {"connection_id":164009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048cb38a8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:06:34] local.INFO: Packet analysis {"connection_id":164009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048cb"} 
[2026-08-28 20:06:34] local.INFO: Extracted packet for processing {"connection_id":164009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048cb"} 
[2026-08-28 20:06:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709407232001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:06:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:06:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787927673000,"timestamp_ms":1787927673000,"timestamp_seconds":1787927673,"priority":1,"record_length":96,"hex_timestamp":"000001a048cb38a8"} 
[2026-08-28 20:06:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:06:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 20:06:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:06:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:06:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":164009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":164009,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":164009,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:06:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709407232001,"66":25223,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709407232001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:06:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:06:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:06:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:06:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709407232001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:06:34] local.INFO: DEBUG: GPS processor result {"connection_id":164009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710077,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:06:34] local.INFO: GPS data processed {"connection_id":164009,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:06:34] local.INFO: Acknowledgment sent {"connection_id":164009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:06:35] local.INFO: TCP Data received {"connection_id":163732,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:06:35] local.INFO: Processing buffer {"connection_id":163732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:06:35] local.INFO: IMEI packet received {"connection_id":163732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 20:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":163732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:06:40] local.INFO: TCP Data received {"connection_id":163732,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:06:40] local.INFO: Processing buffer {"connection_id":163732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:06:40] local.INFO: IMEI packet received {"connection_id":163732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 20:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":163732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:06:41] local.INFO: TCP Data received {"connection_id":163732,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048c8b038012d34c14006aa4840000b00e62b..."} 
[2026-08-28 20:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048c8b038012d34c14006aa4840000b00e62b..."} 
[2026-08-28 20:06:41] local.INFO: Processing buffer {"connection_id":163732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048c8b038012d34c14006aa4840000b00e62b..."} 
[2026-08-28 20:06:41] local.INFO: Packet analysis {"connection_id":163732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048c8"} 
[2026-08-28 20:06:41] local.INFO: Extracted packet for processing {"connection_id":163732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048c8"} 
[2026-08-28 20:06:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709364736001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:06:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:06:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787927507000,"timestamp_ms":1787927507000,"timestamp_seconds":1787927507,"priority":1,"record_length":96,"hex_timestamp":"000001a048c8b038"} 
[2026-08-28 20:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:06:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 20:06: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-28 20:06:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":163732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":163732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":163732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:06:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709364736001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709364736001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:06:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:06:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:06: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-28 20:06:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709364736001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:06:41] 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":710078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:06:41] local.INFO: GPS data processed {"connection_id":163732,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:06:41] local.INFO: Acknowledgment sent {"connection_id":163732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:06:42] local.INFO: TCP Data received {"connection_id":164010,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164010,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:06:42] local.INFO: Processing buffer {"connection_id":164010,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:06:42] local.INFO: IMEI packet received {"connection_id":164010,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 20:06:42] local.INFO: IMEI acknowledgment sent {"connection_id":164010,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:06:47] local.INFO: TCP Data received {"connection_id":163732,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048c8b038012d34c14006aa4840000b00e62b..."} 
[2026-08-28 20:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048c8b038012d34c14006aa4840000b00e62b..."} 
[2026-08-28 20:06:47] local.INFO: Processing buffer {"connection_id":163732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048c8b038012d34c14006aa4840000b00e62b..."} 
[2026-08-28 20:06:47] local.INFO: Packet analysis {"connection_id":163732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048c8"} 
[2026-08-28 20:06:47] local.INFO: Extracted packet for processing {"connection_id":163732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048c8"} 
[2026-08-28 20:06:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:06:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709364736001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:06:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:06:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:06:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:06:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787927507000,"timestamp_ms":1787927507000,"timestamp_seconds":1787927507,"priority":1,"record_length":96,"hex_timestamp":"000001a048c8b038"} 
[2026-08-28 20:06:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:06:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 20:06: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-28 20:06:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:06:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:06:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:06:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:06:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:06:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:06:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:06:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:06:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:06:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709364736001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:06:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:06:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:06:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709364736001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:06:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:06:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:06: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-28 20:06:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:06:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709364736001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:06:47] 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":710079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:06:47] local.INFO: GPS data processed {"connection_id":163732,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:06:47] local.INFO: Acknowledgment sent {"connection_id":163732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:06:48] local.INFO: TCP Data received {"connection_id":164010,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164010,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:06:48] local.INFO: Processing buffer {"connection_id":164010,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:06:48] local.INFO: IMEI packet received {"connection_id":164010,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":164010,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:06:51] local.INFO: TCP Data received {"connection_id":164010,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048cc78f8012d0e9280071df6a8002000df23..."} 
[2026-08-28 20:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048cc78f8012d0e9280071df6a8002000df23..."} 
[2026-08-28 20:06:51] local.INFO: Processing buffer {"connection_id":164010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048cc78f8012d0e9280071df6a8002000df23..."} 
[2026-08-28 20:06:51] local.INFO: Packet analysis {"connection_id":164010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048cc"} 
[2026-08-28 20:06:51] local.INFO: Extracted packet for processing {"connection_id":164010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048cc"} 
[2026-08-28 20:06:51] local.INFO: GPS Element Parsed {"raw_longitude":755929728,"raw_latitude":119404200,"longitude_deg":75.5929728,"latitude_deg":11.94042,"altitude":32,"angle":223,"satellites":35,"speed":43,"hex_longitude":"2d0e9280","hex_latitude":"071df6a8","is_valid_coordinates":true} 
[2026-08-28 20:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:06:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709503232001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:06:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16111878321209344,"note":"Value kept but may cause issues"} 
[2026-08-28 20:06:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1056586724396812288,"note":"Value kept but may cause issues"} 
[2026-08-28 20:06:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:06:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787927755000,"timestamp_ms":1787927755000,"timestamp_seconds":1787927755,"priority":1,"record_length":96,"hex_timestamp":"000001a048cc78f8"} 
[2026-08-28 20:06:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:06:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-28 20:06:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:06: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-28 20:06:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:06:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:06:51] local.INFO: Teltonika packet parsed successfully {"connection_id":164010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:06:51] local.INFO: Passing IMEI to GPS processor {"connection_id":164010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:06:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":164010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:06:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:06:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:06:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:06:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709503232001,"66":12993,"237":206,"83":41984,"24":43,"16":16111878321209344,"45":1056586724396812288},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-28 20:06:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:06:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:06:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709503232001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:06:51] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-28 20:06:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 20:06:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16111878321209344,"km_value":16111878321209.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:06:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1056586724396812288,"description":"Unknown IO ID 45"} 
[2026-08-28 20:06:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709503232001,"power":12993,"unknown_237":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1056586724396812288}} 
[2026-08-28 20:06:51] local.INFO: DEBUG: GPS processor result {"connection_id":164010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710080,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:06:51] local.INFO: GPS data processed {"connection_id":164010,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:06:51] local.INFO: Acknowledgment sent {"connection_id":164010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:06:56] local.INFO: TCP Data received {"connection_id":164011,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164011,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:06:56] local.INFO: Processing buffer {"connection_id":164011,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:06:56] local.INFO: IMEI packet received {"connection_id":164011,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 20:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":164011,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:07:01] local.INFO: TCP Data received {"connection_id":164011,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164011,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:07:01] local.INFO: Processing buffer {"connection_id":164011,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:07:01] local.INFO: IMEI packet received {"connection_id":164011,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 20:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":164011,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:07:04] local.INFO: TCP Data received {"connection_id":164011,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048cb38a8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048cb38a8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:07:04] local.INFO: Processing buffer {"connection_id":164011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048cb38a8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:07:04] local.INFO: Packet analysis {"connection_id":164011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048cb"} 
[2026-08-28 20:07:04] local.INFO: Extracted packet for processing {"connection_id":164011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048cb"} 
[2026-08-28 20:07:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709407232001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787927673000,"timestamp_ms":1787927673000,"timestamp_seconds":1787927673,"priority":1,"record_length":96,"hex_timestamp":"000001a048cb38a8"} 
[2026-08-28 20:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:07:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 20:07:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:07:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":164011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":164011,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":164011,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:07:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709407232001,"66":25223,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709407232001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:07:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:07:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709407232001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":164011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710081,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:07:04] local.INFO: GPS data processed {"connection_id":164011,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:07:04] local.INFO: Acknowledgment sent {"connection_id":164011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:07:22] local.INFO: TCP Data received {"connection_id":164010,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a048cc8898012d0e8540071debe8001e00ef24..."} 
[2026-08-28 20:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048cc8898012d0e8540071debe8001e00ef24..."} 
[2026-08-28 20:07:22] local.INFO: Processing buffer {"connection_id":164010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048cc8898012d0e8540071debe8001e00ef24..."} 
[2026-08-28 20:07:22] local.INFO: Packet analysis {"connection_id":164010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048cc"} 
[2026-08-28 20:07:22] local.INFO: Extracted packet for processing {"connection_id":164010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048cc"} 
[2026-08-28 20:07:22] local.INFO: GPS Element Parsed {"raw_longitude":755926336,"raw_latitude":119401448,"longitude_deg":75.5926336,"latitude_deg":11.9401448,"altitude":30,"angle":239,"satellites":36,"speed":42,"hex_longitude":"2d0e8540","hex_latitude":"071debe8","is_valid_coordinates":true} 
[2026-08-28 20:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:07:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709505280001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:07:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16112088774606848,"note":"Value kept but may cause issues"} 
[2026-08-28 20:07:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1050042431186577408,"note":"Value kept but may cause issues"} 
[2026-08-28 20:07:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:07:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787927759000,"timestamp_ms":1787927759000,"timestamp_seconds":1787927759,"priority":1,"record_length":96,"hex_timestamp":"000001a048cc8898"} 
[2026-08-28 20:07:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:07:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-28 20:07:22] 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-28 20:07:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:07:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:07:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:07:22] local.INFO: Teltonika packet parsed successfully {"connection_id":164010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:07:22] local.INFO: Passing IMEI to GPS processor {"connection_id":164010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:07:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":164010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:07:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:07:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:07:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:07:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709505280001,"66":13515,"237":206,"83":41984,"24":42,"16":16112088774606848,"45":1050042431186577408},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-28 20:07:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:07:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:07:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709505280001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:07:22] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-28 20:07:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 20:07:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16112088774606848,"km_value":16112088774606.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:07:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1050042431186577408,"description":"Unknown IO ID 45"} 
[2026-08-28 20:07:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709505280001,"power":13515,"unknown_237":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1050042431186577408}} 
[2026-08-28 20:07:22] local.INFO: DEBUG: GPS processor result {"connection_id":164010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710082,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:07:22] local.INFO: GPS data processed {"connection_id":164010,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:07:22] local.INFO: Acknowledgment sent {"connection_id":164010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:07:29] local.INFO: TCP Data received {"connection_id":166377,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:07:29] local.INFO: Processing buffer {"connection_id":166377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:07:29] local.INFO: IMEI packet received {"connection_id":166377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 20:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":166377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:07:35] local.INFO: TCP Data received {"connection_id":166377,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:07:35] local.INFO: Processing buffer {"connection_id":166377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:07:35] local.INFO: IMEI packet received {"connection_id":166377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 20:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":166377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:07:36] local.INFO: TCP Data received {"connection_id":164011,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048cb38a8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048cb38a8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:07:36] local.INFO: Processing buffer {"connection_id":164011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048cb38a8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:07:36] local.INFO: Packet analysis {"connection_id":164011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048cb"} 
[2026-08-28 20:07:36] local.INFO: Extracted packet for processing {"connection_id":164011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048cb"} 
[2026-08-28 20:07:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709407232001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:07:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:07:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787927673000,"timestamp_ms":1787927673000,"timestamp_seconds":1787927673,"priority":1,"record_length":96,"hex_timestamp":"000001a048cb38a8"} 
[2026-08-28 20:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:07:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 20:07:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:07:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":164011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":164011,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":164011,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:07:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709407232001,"66":25223,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709407232001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:07:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:07:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:07:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709407232001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":164011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710083,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:07:36] local.INFO: GPS data processed {"connection_id":164011,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:07:36] local.INFO: Acknowledgment sent {"connection_id":164011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:07:37] local.INFO: TCP Data received {"connection_id":166377,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048cd4800012d34c14006aa4840001200e627..."} 
[2026-08-28 20:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048cd4800012d34c14006aa4840001200e627..."} 
[2026-08-28 20:07:37] local.INFO: Processing buffer {"connection_id":166377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048cd4800012d34c14006aa4840001200e627..."} 
[2026-08-28 20:07:37] local.INFO: Packet analysis {"connection_id":166377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048cd"} 
[2026-08-28 20:07:37] local.INFO: Extracted packet for processing {"connection_id":166377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048cd"} 
[2026-08-28 20:07:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709441792001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787927808000,"timestamp_ms":1787927808000,"timestamp_seconds":1787927808,"priority":1,"record_length":96,"hex_timestamp":"000001a048cd4800"} 
[2026-08-28 20:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 20:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":166377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":166377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":166377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709441792001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709441792001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:07:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:07:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:07: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-28 20:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709441792001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":166377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:07:37] local.INFO: GPS data processed {"connection_id":166377,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:07:37] local.INFO: Acknowledgment sent {"connection_id":166377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:07:42] local.INFO: TCP Data received {"connection_id":163733,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163733,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:07:42] local.INFO: Processing buffer {"connection_id":163733,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:07:42] local.INFO: IMEI packet received {"connection_id":163733,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 20:07:42] local.INFO: IMEI acknowledgment sent {"connection_id":163733,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:07:48] local.INFO: TCP Data received {"connection_id":163733,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163733,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:07:48] local.INFO: Processing buffer {"connection_id":163733,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:07:48] local.INFO: IMEI packet received {"connection_id":163733,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":163733,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:07:50] local.INFO: TCP Data received {"connection_id":163733,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a048ccb390012d0e6400071ddc18001b00f229..."} 
[2026-08-28 20:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048ccb390012d0e6400071ddc18001b00f229..."} 
[2026-08-28 20:07:50] local.INFO: Processing buffer {"connection_id":163733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048ccb390012d0e6400071ddc18001b00f229..."} 
[2026-08-28 20:07:50] local.INFO: Packet analysis {"connection_id":163733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048cc"} 
[2026-08-28 20:07:50] local.INFO: Extracted packet for processing {"connection_id":163733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048cc"} 
[2026-08-28 20:07:50] local.INFO: GPS Element Parsed {"raw_longitude":755917824,"raw_latitude":119397400,"longitude_deg":75.5917824,"latitude_deg":11.93974,"altitude":27,"angle":242,"satellites":41,"speed":31,"hex_longitude":"2d0e6400","hex_latitude":"071ddc18","is_valid_coordinates":true} 
[2026-08-28 20: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-28 20:07:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709506304001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:07:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16112539746172928,"note":"Value kept but may cause issues"} 
[2026-08-28 20:07:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1046312887744456704,"note":"Value kept but may cause issues"} 
[2026-08-28 20:07:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:07:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787927770000,"timestamp_ms":1787927770000,"timestamp_seconds":1787927770,"priority":1,"record_length":96,"hex_timestamp":"000001a048ccb390"} 
[2026-08-28 20: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-28 20:07:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-28 20:07:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20: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-28 20: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-28 20:07:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:07:50] local.INFO: Teltonika packet parsed successfully {"connection_id":163733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:07:50] local.INFO: Passing IMEI to GPS processor {"connection_id":163733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:07:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":163733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:07:50] 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-28 20:07:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:07:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:07:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709506304001,"66":13330,"237":206,"83":41984,"24":31,"16":16112539746172928,"45":1046312887744456704},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-28 20:07:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:07:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:07:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709506304001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:07:50] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-28 20:07:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 20:07:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16112539746172928,"km_value":16112539746172.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:07:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1046312887744456704,"description":"Unknown IO ID 45"} 
[2026-08-28 20:07:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709506304001,"power":13330,"unknown_237":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1046312887744456704}} 
[2026-08-28 20:07:50] 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":710085,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:07:50] local.INFO: GPS data processed {"connection_id":163733,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:07:50] local.INFO: Acknowledgment sent {"connection_id":163733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:07:56] local.INFO: TCP Data received {"connection_id":165025,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165025,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:07:56] local.INFO: Processing buffer {"connection_id":165025,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:07:56] local.INFO: IMEI packet received {"connection_id":165025,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 20:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":165025,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:08:01] local.INFO: TCP Data received {"connection_id":165025,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165025,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:08:01] local.INFO: Processing buffer {"connection_id":165025,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:08:01] local.INFO: IMEI packet received {"connection_id":165025,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 20:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":165025,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:08:03] local.INFO: TCP Data received {"connection_id":165025,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048cb38a8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048cb38a8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:08:03] local.INFO: Processing buffer {"connection_id":165025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048cb38a8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:08:03] local.INFO: Packet analysis {"connection_id":165025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048cb"} 
[2026-08-28 20:08:03] local.INFO: Extracted packet for processing {"connection_id":165025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048cb"} 
[2026-08-28 20:08:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709407232001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:08:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787927673000,"timestamp_ms":1787927673000,"timestamp_seconds":1787927673,"priority":1,"record_length":96,"hex_timestamp":"000001a048cb38a8"} 
[2026-08-28 20:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:08:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 20:08:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:08:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":165025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":165025,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":165025,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709407232001,"66":25223,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709407232001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:08:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:08:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709407232001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:08:04] 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":710086,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:08:04] local.INFO: GPS data processed {"connection_id":165025,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:08:04] local.INFO: Acknowledgment sent {"connection_id":165025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:08:08] local.INFO: TCP Data received {"connection_id":166377,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048cd4800012d34c14006aa4840001200e627..."} 
[2026-08-28 20:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048cd4800012d34c14006aa4840001200e627..."} 
[2026-08-28 20:08:08] local.INFO: Processing buffer {"connection_id":166377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048cd4800012d34c14006aa4840001200e627..."} 
[2026-08-28 20:08:08] local.INFO: Packet analysis {"connection_id":166377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048cd"} 
[2026-08-28 20:08:08] local.INFO: Extracted packet for processing {"connection_id":166377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048cd"} 
[2026-08-28 20:08:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709441792001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:08:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787927808000,"timestamp_ms":1787927808000,"timestamp_seconds":1787927808,"priority":1,"record_length":96,"hex_timestamp":"000001a048cd4800"} 
[2026-08-28 20:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:08:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 20:08:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:08:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":166377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":166377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":166377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709441792001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709441792001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:08:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:08:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:08: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-28 20:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709441792001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":166377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:08:08] local.INFO: GPS data processed {"connection_id":166377,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:08:08] local.INFO: Acknowledgment sent {"connection_id":166377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:08:22] local.INFO: TCP Data received {"connection_id":163733,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a048cce658012d0e4800071dcf38001b00f626..."} 
[2026-08-28 20:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048cce658012d0e4800071dcf38001b00f626..."} 
[2026-08-28 20:08:22] local.INFO: Processing buffer {"connection_id":163733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048cce658012d0e4800071dcf38001b00f626..."} 
[2026-08-28 20:08:22] local.INFO: Packet analysis {"connection_id":163733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048cc"} 
[2026-08-28 20:08:22] local.INFO: Extracted packet for processing {"connection_id":163733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048cc"} 
[2026-08-28 20:08:22] local.INFO: GPS Element Parsed {"raw_longitude":755910656,"raw_latitude":119394104,"longitude_deg":75.5910656,"latitude_deg":11.9394104,"altitude":27,"angle":246,"satellites":38,"speed":16,"hex_longitude":"2d0e4800","hex_latitude":"071dcf38","is_valid_coordinates":true} 
[2026-08-28 20:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:08:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709509120001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:08:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16112913408327680,"note":"Value kept but may cause issues"} 
[2026-08-28 20:08:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1036953844767791104,"note":"Value kept but may cause issues"} 
[2026-08-28 20:08:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:08:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787927783000,"timestamp_ms":1787927783000,"timestamp_seconds":1787927783,"priority":1,"record_length":96,"hex_timestamp":"000001a048cce658"} 
[2026-08-28 20: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-28 20:08:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20: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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-08-28 20:08:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-08-28 20:08:22] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-28 20:08:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-28 20:08:22] local.WARNING: Large IO value detected {"io_id":30,"raw_value":2902570135951123200,"note":"Value kept but may cause issues"} 
[2026-08-28 20:08:22] local.WARNING: Large IO value detected {"io_id":36,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-08-28 20:08:22] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":43008,"corrected_to":0} 
[2026-08-28 20:08:22] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3246850690116365832,"note":"Value kept but may cause issues"} 
[2026-08-28 20:08:22] local.WARNING: Large IO value detected {"io_id":72,"raw_value":3427663873,"note":"Value kept but may cause issues"} 
[2026-08-28 20:08:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1710031054,"corrected_to":0} 
[2026-08-28 20:08:22] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":57814438820860836,"corrected_to":0} 
[2026-08-28 20:08:22] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":553944047203221511,"corrected_to":0} 
[2026-08-28 20:08:22] local.WARNING: Large IO value detected {"io_id":101,"raw_value":-1368867428091553792,"note":"Value kept but may cause issues"} 
[2026-08-28 20:08:22] local.WARNING: Large IO value detected {"io_id":92,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-28 20:08:22] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,237,83,24,241,157,16,62,160,136,45,64,235,30,36,10,66,61,120,128,246,32,35,89,192,1,240,127,227,72,4,113,205,38,239,52,2,57,7,37,43,247,204,101,92],"length":626,"final_offset":756,"validated_count":45,"validation_warnings":[{"io_id":246,"original":43008,"validated":0},{"io_id":205,"original":1710031054,"validated":0},{"io_id":247,"original":57814438820860836,"validated":0},{"io_id":204,"original":553944047203221511,"validated":0}]} 
[2026-08-28 20:08:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1945821296933666816,"timestamp_seconds":1945821296933666.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 20: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-28 20:08:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:08:22] local.INFO: Teltonika packet parsed successfully {"connection_id":163733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:08:22] local.INFO: Passing IMEI to GPS processor {"connection_id":163733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:08:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":163733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:08: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-28 20:08:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:08:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:08:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709509120001,"66":13428,"12":206,"83":41984,"24":16,"16":16112913408327680,"45":1036953844767791104},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,45]} 
[2026-08-28 20:08:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:08:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:08:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709509120001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:08:22] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-28 20:08:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 20:08:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16112913408327680,"km_value":16112913408327.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:08:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1036953844767791104,"description":"Unknown IO ID 45"} 
[2026-08-28 20:08:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709509120001,"power":13428,"unknown_12":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1036953844767791104}} 
[2026-08-28 20:08:22] 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":710088,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:08:22] local.INFO: GPS data processed {"connection_id":163733,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:08:22] local.INFO: Acknowledgment sent {"connection_id":163733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:08:29] local.INFO: TCP Data received {"connection_id":164012,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:08:29] local.INFO: Processing buffer {"connection_id":164012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:08:29] local.INFO: IMEI packet received {"connection_id":164012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 20:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":164012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:08:35] local.INFO: TCP Data received {"connection_id":164012,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:08:35] local.INFO: Processing buffer {"connection_id":164012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:08:35] local.INFO: IMEI packet received {"connection_id":164012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 20:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":164012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:08:36] local.INFO: TCP Data received {"connection_id":164012,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048cd4800012d34c14006aa4840001200e627..."} 
[2026-08-28 20:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048cd4800012d34c14006aa4840001200e627..."} 
[2026-08-28 20:08:36] local.INFO: Processing buffer {"connection_id":164012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048cd4800012d34c14006aa4840001200e627..."} 
[2026-08-28 20:08:36] local.INFO: Packet analysis {"connection_id":164012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048cd"} 
[2026-08-28 20:08:36] local.INFO: Extracted packet for processing {"connection_id":164012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048cd"} 
[2026-08-28 20:08:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709441792001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787927808000,"timestamp_ms":1787927808000,"timestamp_seconds":1787927808,"priority":1,"record_length":96,"hex_timestamp":"000001a048cd4800"} 
[2026-08-28 20:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 20:08:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":164012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":164012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":164012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709441792001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709441792001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:08:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:08:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709441792001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:08:36] local.INFO: TCP Data received {"connection_id":165025,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048cb38a8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048cb38a8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:08:36] local.INFO: Processing buffer {"connection_id":165025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048cb38a8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:08:36] local.INFO: Packet analysis {"connection_id":165025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048cb"} 
[2026-08-28 20:08:36] local.INFO: Extracted packet for processing {"connection_id":165025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048cb"} 
[2026-08-28 20:08:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709407232001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787927673000,"timestamp_ms":1787927673000,"timestamp_seconds":1787927673,"priority":1,"record_length":96,"hex_timestamp":"000001a048cb38a8"} 
[2026-08-28 20:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 20:08:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":165025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":165025,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":165025,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709407232001,"66":25223,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709407232001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:08:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:08:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709407232001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":164012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:08:36] local.INFO: GPS data processed {"connection_id":164012,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:08:36] local.INFO: Acknowledgment sent {"connection_id":164012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:08:36] 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":710090,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:08:36] local.INFO: GPS data processed {"connection_id":165025,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:08:36] local.INFO: Acknowledgment sent {"connection_id":165025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:08:48] local.INFO: TCP Data received {"connection_id":164013,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:08:48] local.INFO: Processing buffer {"connection_id":164013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:08:48] local.INFO: IMEI packet received {"connection_id":164013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 20:08:48] local.INFO: IMEI acknowledgment sent {"connection_id":164013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:08:53] local.INFO: TCP Data received {"connection_id":164013,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:08:53] local.INFO: Processing buffer {"connection_id":164013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:08:53] local.INFO: IMEI packet received {"connection_id":164013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":164013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:08:53] local.INFO: TCP Data received {"connection_id":164013,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a048cce658012d0e4800071dcf38001b00f626..."} 
[2026-08-28 20:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048cce658012d0e4800071dcf38001b00f626..."} 
[2026-08-28 20:08:53] local.INFO: Processing buffer {"connection_id":164013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048cce658012d0e4800071dcf38001b00f626..."} 
[2026-08-28 20:08:53] local.INFO: Packet analysis {"connection_id":164013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048cc"} 
[2026-08-28 20:08:53] local.INFO: Extracted packet for processing {"connection_id":164013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048cc"} 
[2026-08-28 20:08:53] local.INFO: GPS Element Parsed {"raw_longitude":755910656,"raw_latitude":119394104,"longitude_deg":75.5910656,"latitude_deg":11.9394104,"altitude":27,"angle":246,"satellites":38,"speed":16,"hex_longitude":"2d0e4800","hex_latitude":"071dcf38","is_valid_coordinates":true} 
[2026-08-28 20:08:53] 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-28 20:08:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709512448001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:08:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16112913408327680,"note":"Value kept but may cause issues"} 
[2026-08-28 20:08:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1029072545419048960,"note":"Value kept but may cause issues"} 
[2026-08-28 20:08:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:08:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787927783000,"timestamp_ms":1787927783000,"timestamp_seconds":1787927783,"priority":1,"record_length":96,"hex_timestamp":"000001a048cce658"} 
[2026-08-28 20: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-28 20:08:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-28 20:08:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20: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-28 20: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-28 20:08:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:08:53] local.INFO: Teltonika packet parsed successfully {"connection_id":164013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:08:53] local.INFO: Passing IMEI to GPS processor {"connection_id":164013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:08:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":164013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:08: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-28 20:08:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:08:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:08:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709512448001,"66":13428,"12":206,"83":41984,"24":16,"16":16112913408327680,"45":1029072545419048960},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,45]} 
[2026-08-28 20:08:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:08:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:08:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709512448001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:08:53] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-28 20:08:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 20:08:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16112913408327680,"km_value":16112913408327.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:08:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1029072545419048960,"description":"Unknown IO ID 45"} 
[2026-08-28 20:08:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709512448001,"power":13428,"unknown_12":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1029072545419048960}} 
[2026-08-28 20:08:53] local.INFO: DEBUG: GPS processor result {"connection_id":164013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710091,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:08:53] local.INFO: GPS data processed {"connection_id":164013,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:08:53] local.INFO: Acknowledgment sent {"connection_id":164013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:08:58] local.INFO: TCP Data received {"connection_id":164013,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a048cce658012d0e4800071dcf38001b00f626..."} 
[2026-08-28 20:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048cce658012d0e4800071dcf38001b00f626..."} 
[2026-08-28 20:08:58] local.INFO: Processing buffer {"connection_id":164013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048cce658012d0e4800071dcf38001b00f626..."} 
[2026-08-28 20:08:58] local.INFO: Packet analysis {"connection_id":164013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048cc"} 
[2026-08-28 20:08:58] local.INFO: Extracted packet for processing {"connection_id":164013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048cc"} 
[2026-08-28 20:08:58] local.INFO: GPS Element Parsed {"raw_longitude":755910656,"raw_latitude":119394104,"longitude_deg":75.5910656,"latitude_deg":11.9394104,"altitude":27,"angle":246,"satellites":38,"speed":16,"hex_longitude":"2d0e4800","hex_latitude":"071dcf38","is_valid_coordinates":true} 
[2026-08-28 20:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:08:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709512448001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:08:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16112913408327680,"note":"Value kept but may cause issues"} 
[2026-08-28 20:08:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1029072545419048960,"note":"Value kept but may cause issues"} 
[2026-08-28 20:08:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:08:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787927783000,"timestamp_ms":1787927783000,"timestamp_seconds":1787927783,"priority":1,"record_length":96,"hex_timestamp":"000001a048cce658"} 
[2026-08-28 20:08:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:08:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-28 20:08:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:08:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:08:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:08:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:08:58] local.INFO: Teltonika packet parsed successfully {"connection_id":164013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:08:58] local.INFO: Passing IMEI to GPS processor {"connection_id":164013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:08:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":164013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:08:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:08:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:08:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:08:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709512448001,"66":13428,"12":206,"83":41984,"24":16,"16":16112913408327680,"45":1029072545419048960},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,45]} 
[2026-08-28 20:08:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:08:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:08:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709512448001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:08:58] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-28 20:08:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 20:08:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16112913408327680,"km_value":16112913408327.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:08:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1029072545419048960,"description":"Unknown IO ID 45"} 
[2026-08-28 20:08:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709512448001,"power":13428,"unknown_12":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1029072545419048960}} 
[2026-08-28 20:08:58] local.INFO: DEBUG: GPS processor result {"connection_id":164013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710092,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:08:58] local.INFO: GPS data processed {"connection_id":164013,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:08:58] local.INFO: Acknowledgment sent {"connection_id":164013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:09:01] local.INFO: TCP Data received {"connection_id":166378,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166378,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:09:01] local.INFO: Processing buffer {"connection_id":166378,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:09:01] local.INFO: IMEI packet received {"connection_id":166378,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 20:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":166378,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:09:06] local.INFO: TCP Data received {"connection_id":166378,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166378,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:09:06] local.INFO: Processing buffer {"connection_id":166378,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:09:06] local.INFO: IMEI packet received {"connection_id":166378,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 20:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":166378,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:09:08] local.INFO: TCP Data received {"connection_id":166378,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048cb38a8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048cb38a8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:09:08] local.INFO: Processing buffer {"connection_id":166378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048cb38a8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:09:08] local.INFO: Packet analysis {"connection_id":166378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048cb"} 
[2026-08-28 20:09:08] local.INFO: Extracted packet for processing {"connection_id":166378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048cb"} 
[2026-08-28 20:09:08] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709407232001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:09:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787927673000,"timestamp_ms":1787927673000,"timestamp_seconds":1787927673,"priority":1,"record_length":96,"hex_timestamp":"000001a048cb38a8"} 
[2026-08-28 20:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:09:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 20:09:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:09:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":166378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":166378,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":166378,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:09:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709407232001,"66":25223,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709407232001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:09:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:09:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709407232001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":166378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710093,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:09:08] local.INFO: GPS data processed {"connection_id":166378,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:09:08] local.INFO: Acknowledgment sent {"connection_id":166378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:09:09] local.INFO: TCP Data received {"connection_id":164012,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048cd4800012d34c14006aa4840001200e627..."} 
[2026-08-28 20:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048cd4800012d34c14006aa4840001200e627..."} 
[2026-08-28 20:09:09] local.INFO: Processing buffer {"connection_id":164012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048cd4800012d34c14006aa4840001200e627..."} 
[2026-08-28 20:09:09] local.INFO: Packet analysis {"connection_id":164012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048cd"} 
[2026-08-28 20:09:09] local.INFO: Extracted packet for processing {"connection_id":164012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048cd"} 
[2026-08-28 20:09:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709441792001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:09:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:09:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:09:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:09:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787927808000,"timestamp_ms":1787927808000,"timestamp_seconds":1787927808,"priority":1,"record_length":96,"hex_timestamp":"000001a048cd4800"} 
[2026-08-28 20:09:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:09:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 20:09:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:09:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:09:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:09:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:09:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:09:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:09:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:09:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:09:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:09:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:09:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709441792001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:09:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:09:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:09:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709441792001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:09:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:09:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:09: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-28 20:09:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:09:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709441792001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":164012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:09:09] local.INFO: GPS data processed {"connection_id":164012,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:09:09] local.INFO: Acknowledgment sent {"connection_id":164012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:09:12] local.INFO: TCP Data received {"connection_id":166378,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048cb38a8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048cb38a8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:09:12] local.INFO: Processing buffer {"connection_id":166378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048cb38a8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:09:12] local.INFO: Packet analysis {"connection_id":166378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048cb"} 
[2026-08-28 20:09:12] local.INFO: Extracted packet for processing {"connection_id":166378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048cb"} 
[2026-08-28 20:09:12] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709407232001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:09:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:09:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787927673000,"timestamp_ms":1787927673000,"timestamp_seconds":1787927673,"priority":1,"record_length":96,"hex_timestamp":"000001a048cb38a8"} 
[2026-08-28 20:09:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:09:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 20:09:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:09:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:09:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":166378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":166378,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":166378,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709407232001,"66":25223,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709407232001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:09:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:09:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:09:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709407232001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":166378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710095,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:09:12] local.INFO: GPS data processed {"connection_id":166378,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:09:12] local.INFO: Acknowledgment sent {"connection_id":166378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:09:35] local.INFO: TCP Data received {"connection_id":165026,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:09:35] local.INFO: Processing buffer {"connection_id":165026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:09:35] local.INFO: IMEI packet received {"connection_id":165026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 20:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":165026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:09:40] local.INFO: TCP Data received {"connection_id":165026,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:09:40] local.INFO: Processing buffer {"connection_id":165026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:09:40] local.INFO: IMEI packet received {"connection_id":165026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 20:09:40] local.INFO: IMEI acknowledgment sent {"connection_id":165026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:09:41] local.INFO: TCP Data received {"connection_id":165026,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048cd4800012d34c14006aa4840001200e627..."} 
[2026-08-28 20:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048cd4800012d34c14006aa4840001200e627..."} 
[2026-08-28 20:09:41] local.INFO: Processing buffer {"connection_id":165026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048cd4800012d34c14006aa4840001200e627..."} 
[2026-08-28 20:09:41] local.INFO: Packet analysis {"connection_id":165026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048cd"} 
[2026-08-28 20:09:41] local.INFO: Extracted packet for processing {"connection_id":165026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048cd"} 
[2026-08-28 20:09:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709441792001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:09:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:09:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787927808000,"timestamp_ms":1787927808000,"timestamp_seconds":1787927808,"priority":1,"record_length":96,"hex_timestamp":"000001a048cd4800"} 
[2026-08-28 20:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:09:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 20: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-28 20:09:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":165026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":165026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":165026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:09:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709441792001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709441792001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:09:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:09:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20: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-28 20:09:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709441792001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:09:41] 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":710096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:09:41] local.INFO: GPS data processed {"connection_id":165026,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:09:41] local.INFO: Acknowledgment sent {"connection_id":165026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:09:43] local.INFO: TCP Data received {"connection_id":164014,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164014,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:09:43] local.INFO: Processing buffer {"connection_id":164014,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:09:43] local.INFO: IMEI packet received {"connection_id":164014,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 20:09:43] local.INFO: IMEI acknowledgment sent {"connection_id":164014,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:09:45] local.INFO: TCP Data received {"connection_id":165026,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048cd4800012d34c14006aa4840001200e627..."} 
[2026-08-28 20:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048cd4800012d34c14006aa4840001200e627..."} 
[2026-08-28 20:09:45] local.INFO: Processing buffer {"connection_id":165026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048cd4800012d34c14006aa4840001200e627..."} 
[2026-08-28 20:09:45] local.INFO: Packet analysis {"connection_id":165026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048cd"} 
[2026-08-28 20:09:45] local.INFO: Extracted packet for processing {"connection_id":165026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048cd"} 
[2026-08-28 20:09:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20: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-28 20:09:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709441792001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:09:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:09:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:09:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:09:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787927808000,"timestamp_ms":1787927808000,"timestamp_seconds":1787927808,"priority":1,"record_length":96,"hex_timestamp":"000001a048cd4800"} 
[2026-08-28 20: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-28 20:09:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 20:09: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-28 20: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-28 20: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-28 20:09:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:09:45] local.INFO: Teltonika packet parsed successfully {"connection_id":165026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:09:45] local.INFO: Passing IMEI to GPS processor {"connection_id":165026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:09:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":165026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:09:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:09:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:09:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:09:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709441792001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:09:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:09:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:09:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709441792001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:09:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:09:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20: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-28 20:09:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:09:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709441792001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:09:45] 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":710097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:09:45] local.INFO: GPS data processed {"connection_id":165026,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:09:45] local.INFO: Acknowledgment sent {"connection_id":165026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:09:48] local.INFO: TCP Data received {"connection_id":164014,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164014,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:09:48] local.INFO: Processing buffer {"connection_id":164014,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:09:48] local.INFO: IMEI packet received {"connection_id":164014,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":164014,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:09:48] local.INFO: TCP Data received {"connection_id":164014,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a048cea790012d0e3f00071dc558001e00f320..."} 
[2026-08-28 20:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048cea790012d0e3f00071dc558001e00f320..."} 
[2026-08-28 20:09:48] local.INFO: Processing buffer {"connection_id":164014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048cea790012d0e3f00071dc558001e00f320..."} 
[2026-08-28 20:09:48] local.INFO: Packet analysis {"connection_id":164014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ce"} 
[2026-08-28 20:09:48] local.INFO: Extracted packet for processing {"connection_id":164014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ce"} 
[2026-08-28 20:09:48] local.INFO: GPS Element Parsed {"raw_longitude":755908352,"raw_latitude":119391576,"longitude_deg":75.5908352,"latitude_deg":11.9391576,"altitude":30,"angle":243,"satellites":32,"speed":0,"hex_longitude":"2d0e3f00","hex_latitude":"071dc558","is_valid_coordinates":true} 
[2026-08-28 20:09:48] 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-28 20:09:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709512448001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:09:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16112913408327680,"note":"Value kept but may cause issues"} 
[2026-08-28 20:09:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1029072545419048960,"note":"Value kept but may cause issues"} 
[2026-08-28 20:09:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:09:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787927898000,"timestamp_ms":1787927898000,"timestamp_seconds":1787927898,"priority":1,"record_length":96,"hex_timestamp":"000001a048cea790"} 
[2026-08-28 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-28 20:09:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-28 20:09:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 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-28 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-28 20:09:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:09:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:09:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:09:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:09:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:09:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:09:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:09:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709512448001,"66":2166,"12":206,"83":41984,"24":0,"16":16112913408327680,"45":1029072545419048960},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,45]} 
[2026-08-28 20:09:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:09:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:09:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709512448001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:09:48] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-28 20:09:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 20:09:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16112913408327680,"km_value":16112913408327.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:09:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1029072545419048960,"description":"Unknown IO ID 45"} 
[2026-08-28 20:09:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709512448001,"power":2166,"unknown_12":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1029072545419048960}} 
[2026-08-28 20:09:48] local.INFO: DEBUG: GPS processor result {"connection_id":164014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710098,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:09:48] local.INFO: GPS data processed {"connection_id":164014,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:09:48] local.INFO: Acknowledgment sent {"connection_id":164014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:09:56] local.INFO: TCP Data received {"connection_id":163734,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163734,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:09:56] local.INFO: Processing buffer {"connection_id":163734,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:09:56] local.INFO: IMEI packet received {"connection_id":163734,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 20:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":163734,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:10:01] local.INFO: TCP Data received {"connection_id":163734,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163734,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:10:01] local.INFO: Processing buffer {"connection_id":163734,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:10:01] local.INFO: IMEI packet received {"connection_id":163734,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 20:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":163734,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:10:04] local.INFO: TCP Data received {"connection_id":163734,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048cb38a8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048cb38a8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:10:04] local.INFO: Processing buffer {"connection_id":163734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048cb38a8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:10:04] local.INFO: Packet analysis {"connection_id":163734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048cb"} 
[2026-08-28 20:10:04] local.INFO: Extracted packet for processing {"connection_id":163734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048cb"} 
[2026-08-28 20:10:04] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709407232001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:10:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787927673000,"timestamp_ms":1787927673000,"timestamp_seconds":1787927673,"priority":1,"record_length":96,"hex_timestamp":"000001a048cb38a8"} 
[2026-08-28 20:10:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:10:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 20:10:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:10:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:10:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":163734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":163734,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":163734,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:10:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709407232001,"66":25223,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709407232001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:10:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:10:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709407232001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:10:04] 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":710099,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:10:04] local.INFO: GPS data processed {"connection_id":163734,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:10:04] local.INFO: Acknowledgment sent {"connection_id":163734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:10:20] local.INFO: TCP Data received {"connection_id":164014,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a048cea790012d0e3f00071dc558001e00f320..."} 
[2026-08-28 20:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048cea790012d0e3f00071dc558001e00f320..."} 
[2026-08-28 20:10:20] local.INFO: Processing buffer {"connection_id":164014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048cea790012d0e3f00071dc558001e00f320..."} 
[2026-08-28 20:10:20] local.INFO: Packet analysis {"connection_id":164014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ce"} 
[2026-08-28 20:10:20] local.INFO: Extracted packet for processing {"connection_id":164014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ce"} 
[2026-08-28 20:10:20] local.INFO: GPS Element Parsed {"raw_longitude":755908352,"raw_latitude":119391576,"longitude_deg":75.5908352,"latitude_deg":11.9391576,"altitude":30,"angle":243,"satellites":32,"speed":0,"hex_longitude":"2d0e3f00","hex_latitude":"071dc558","is_valid_coordinates":true} 
[2026-08-28 20:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709541888001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16112913408327680,"note":"Value kept but may cause issues"} 
[2026-08-28 20:10:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1026539270628005888,"note":"Value kept but may cause issues"} 
[2026-08-28 20:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787927898000,"timestamp_ms":1787927898000,"timestamp_seconds":1787927898,"priority":1,"record_length":96,"hex_timestamp":"000001a048cea790"} 
[2026-08-28 20: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-28 20:10:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 20:10:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20: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-28 20: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-28 20:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":164014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":164014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":164014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:10:20] 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-28 20:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709541888001,"66":2166,"12":206,"83":41984,"24":0,"16":16112913408327680,"45":1026539270628005888},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,45]} 
[2026-08-28 20:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709541888001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:10:20] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-28 20:10:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 20:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16112913408327680,"km_value":16112913408327.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:10:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1026539270628005888,"description":"Unknown IO ID 45"} 
[2026-08-28 20:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709541888001,"power":2166,"unknown_12":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1026539270628005888}} 
[2026-08-28 20:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":164014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710100,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:10:20] local.INFO: GPS data processed {"connection_id":164014,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:10:20] local.INFO: Acknowledgment sent {"connection_id":164014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:10:30] local.INFO: TCP Data received {"connection_id":165027,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:10:30] local.INFO: Processing buffer {"connection_id":165027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:10:30] local.INFO: IMEI packet received {"connection_id":165027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 20:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":165027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:10:35] local.INFO: TCP Data received {"connection_id":165027,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:10:35] local.INFO: Processing buffer {"connection_id":165027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:10:35] local.INFO: IMEI packet received {"connection_id":165027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 20:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":165027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:10:36] local.INFO: TCP Data received {"connection_id":163734,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048cfd070012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048cfd070012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:10:36] local.INFO: Processing buffer {"connection_id":163734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048cfd070012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:10:36] local.INFO: Packet analysis {"connection_id":163734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048cf"} 
[2026-08-28 20:10:36] local.INFO: Extracted packet for processing {"connection_id":163734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048cf"} 
[2026-08-28 20:10:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20: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-28 20:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709484288001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787927974000,"timestamp_ms":1787927974000,"timestamp_seconds":1787927974,"priority":1,"record_length":96,"hex_timestamp":"000001a048cfd070"} 
[2026-08-28 20: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-28 20:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 20:10:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20: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-28 20: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-28 20:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163734,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163734,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709484288001,"66":25288,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709484288001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:10:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:10:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709484288001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:10:36] 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":710101,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:10:36] local.INFO: GPS data processed {"connection_id":163734,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:10:36] local.INFO: Acknowledgment sent {"connection_id":163734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:10:36] local.INFO: TCP Data received {"connection_id":165027,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048cd4800012d34c14006aa4840001200e627..."} 
[2026-08-28 20:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048cd4800012d34c14006aa4840001200e627..."} 
[2026-08-28 20:10:36] local.INFO: Processing buffer {"connection_id":165027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048cd4800012d34c14006aa4840001200e627..."} 
[2026-08-28 20:10:36] local.INFO: Packet analysis {"connection_id":165027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048cd"} 
[2026-08-28 20:10:36] local.INFO: Extracted packet for processing {"connection_id":165027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048cd"} 
[2026-08-28 20:10:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20: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-28 20:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709441792001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787927808000,"timestamp_ms":1787927808000,"timestamp_seconds":1787927808,"priority":1,"record_length":96,"hex_timestamp":"000001a048cd4800"} 
[2026-08-28 20: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-28 20:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 20:10:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20: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-28 20: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-28 20:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":165027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":165027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":165027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709441792001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709441792001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:10:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:10:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709441792001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:10:36] 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":710102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:10:36] local.INFO: GPS data processed {"connection_id":165027,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:10:36] local.INFO: Acknowledgment sent {"connection_id":165027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:10:45] local.INFO: TCP Data received {"connection_id":166379,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166379,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:10:45] local.INFO: Processing buffer {"connection_id":166379,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:10:45] local.INFO: IMEI packet received {"connection_id":166379,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 20:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":166379,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:10:50] local.INFO: TCP Data received {"connection_id":166379,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166379,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:10:50] local.INFO: Processing buffer {"connection_id":166379,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:10:50] local.INFO: IMEI packet received {"connection_id":166379,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":166379,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:10:51] local.INFO: TCP Data received {"connection_id":166379,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a048cea790012d0e3f00071dc558001e00f320..."} 
[2026-08-28 20:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048cea790012d0e3f00071dc558001e00f320..."} 
[2026-08-28 20:10:51] local.INFO: Processing buffer {"connection_id":166379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048cea790012d0e3f00071dc558001e00f320..."} 
[2026-08-28 20:10:51] local.INFO: Packet analysis {"connection_id":166379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ce"} 
[2026-08-28 20:10:51] local.INFO: Extracted packet for processing {"connection_id":166379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ce"} 
[2026-08-28 20:10:51] local.INFO: GPS Element Parsed {"raw_longitude":755908352,"raw_latitude":119391576,"longitude_deg":75.5908352,"latitude_deg":11.9391576,"altitude":30,"angle":243,"satellites":32,"speed":0,"hex_longitude":"2d0e3f00","hex_latitude":"071dc558","is_valid_coordinates":true} 
[2026-08-28 20:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:10:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709541888001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:10:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16112913408327680,"note":"Value kept but may cause issues"} 
[2026-08-28 20:10:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1026539270628005888,"note":"Value kept but may cause issues"} 
[2026-08-28 20:10:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:10:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787927898000,"timestamp_ms":1787927898000,"timestamp_seconds":1787927898,"priority":1,"record_length":96,"hex_timestamp":"000001a048cea790"} 
[2026-08-28 20: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-28 20:10:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 20:10:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20: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-28 20: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-28 20:10:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:10:51] local.INFO: Teltonika packet parsed successfully {"connection_id":166379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:10:51] local.INFO: Passing IMEI to GPS processor {"connection_id":166379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:10:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":166379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:10: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-28 20:10:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:10:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:10:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709541888001,"66":2166,"12":206,"83":41984,"24":0,"16":16112913408327680,"45":1026539270628005888},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,45]} 
[2026-08-28 20:10:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:10:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:10:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709541888001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:10:51] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-28 20:10:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 20:10:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16112913408327680,"km_value":16112913408327.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:10:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1026539270628005888,"description":"Unknown IO ID 45"} 
[2026-08-28 20:10:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709541888001,"power":2166,"unknown_12":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1026539270628005888}} 
[2026-08-28 20:10:51] local.INFO: DEBUG: GPS processor result {"connection_id":166379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710103,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:10:51] local.INFO: GPS data processed {"connection_id":166379,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:10:51] local.INFO: Acknowledgment sent {"connection_id":166379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:10:55] local.INFO: TCP Data received {"connection_id":166379,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a048cefd80012d0e3e80071dc2a8001e00fa27..."} 
[2026-08-28 20:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048cefd80012d0e3e80071dc2a8001e00fa27..."} 
[2026-08-28 20:10:55] local.INFO: Processing buffer {"connection_id":166379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048cefd80012d0e3e80071dc2a8001e00fa27..."} 
[2026-08-28 20:10:55] local.INFO: Packet analysis {"connection_id":166379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ce"} 
[2026-08-28 20:10:55] local.INFO: Extracted packet for processing {"connection_id":166379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ce"} 
[2026-08-28 20:10:55] local.INFO: GPS Element Parsed {"raw_longitude":755908224,"raw_latitude":119390888,"longitude_deg":75.5908224,"latitude_deg":11.9390888,"altitude":30,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d0e3e80","hex_latitude":"071dc2a8","is_valid_coordinates":true} 
[2026-08-28 20:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709541888001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16112913408327680,"note":"Value kept but may cause issues"} 
[2026-08-28 20:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1026539270628005888,"note":"Value kept but may cause issues"} 
[2026-08-28 20:10:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787927920000,"timestamp_ms":1787927920000,"timestamp_seconds":1787927920,"priority":1,"record_length":96,"hex_timestamp":"000001a048cefd80"} 
[2026-08-28 20:10:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:10:55] 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-28 20:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 20:10:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:10:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:10:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":166379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":166379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":166379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:10:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709541888001,"66":13330,"12":206,"83":41984,"24":0,"16":16112913408327680,"45":1026539270628005888},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,45]} 
[2026-08-28 20:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709541888001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:10:55] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-28 20:10:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 20:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16112913408327680,"km_value":16112913408327.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1026539270628005888,"description":"Unknown IO ID 45"} 
[2026-08-28 20:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709541888001,"power":13330,"unknown_12":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1026539270628005888}} 
[2026-08-28 20:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":166379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710104,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:10:55] local.INFO: GPS data processed {"connection_id":166379,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:10:55] local.INFO: Acknowledgment sent {"connection_id":166379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:10:56] local.INFO: TCP Data received {"connection_id":166380,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166380,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:10:56] local.INFO: Processing buffer {"connection_id":166380,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:10:56] local.INFO: IMEI packet received {"connection_id":166380,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 20:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":166380,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:11:01] local.INFO: TCP Data received {"connection_id":166380,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166380,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:11:01] local.INFO: Processing buffer {"connection_id":166380,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:11:01] local.INFO: IMEI packet received {"connection_id":166380,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 20:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":166380,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:11:03] local.INFO: TCP Data received {"connection_id":166380,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048cfd070012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048cfd070012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:11:03] local.INFO: Processing buffer {"connection_id":166380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048cfd070012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:11:03] local.INFO: Packet analysis {"connection_id":166380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048cf"} 
[2026-08-28 20:11:03] local.INFO: Extracted packet for processing {"connection_id":166380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048cf"} 
[2026-08-28 20:11:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709484288001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787927974000,"timestamp_ms":1787927974000,"timestamp_seconds":1787927974,"priority":1,"record_length":96,"hex_timestamp":"000001a048cfd070"} 
[2026-08-28 20:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:11:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 20:11:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:11:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":166380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":166380,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":166380,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709484288001,"66":25288,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709484288001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:11:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:11:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709484288001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":166380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710105,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:11:03] local.INFO: GPS data processed {"connection_id":166380,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:11:03] local.INFO: Acknowledgment sent {"connection_id":166380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:11:09] local.INFO: TCP Data received {"connection_id":165027,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048cd4800012d34c14006aa4840001200e627..."} 
[2026-08-28 20:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048cd4800012d34c14006aa4840001200e627..."} 
[2026-08-28 20:11:09] local.INFO: Processing buffer {"connection_id":165027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048cd4800012d34c14006aa4840001200e627..."} 
[2026-08-28 20:11:09] local.INFO: Packet analysis {"connection_id":165027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048cd"} 
[2026-08-28 20:11:09] local.INFO: Extracted packet for processing {"connection_id":165027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048cd"} 
[2026-08-28 20:11:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709441792001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:11:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:11:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787927808000,"timestamp_ms":1787927808000,"timestamp_seconds":1787927808,"priority":1,"record_length":96,"hex_timestamp":"000001a048cd4800"} 
[2026-08-28 20:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:11:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 20:11:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:11:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":165027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":165027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":165027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:11:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709441792001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709441792001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:11:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:11:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:11: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-28 20:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709441792001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:11:09] 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":710106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:11:09] local.INFO: GPS data processed {"connection_id":165027,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:11:09] local.INFO: Acknowledgment sent {"connection_id":165027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:11:26] local.INFO: TCP Data received {"connection_id":166379,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a048d0ab30012d0e0840071dcce0001b015128..."} 
[2026-08-28 20:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048d0ab30012d0e0840071dcce0001b015128..."} 
[2026-08-28 20:11:26] local.INFO: Processing buffer {"connection_id":166379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048d0ab30012d0e0840071dcce0001b015128..."} 
[2026-08-28 20:11:26] local.INFO: Packet analysis {"connection_id":166379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048d0"} 
[2026-08-28 20:11:26] local.INFO: Extracted packet for processing {"connection_id":166379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048d0"} 
[2026-08-28 20:11:26] local.INFO: GPS Element Parsed {"raw_longitude":755894336,"raw_latitude":119393504,"longitude_deg":75.5894336,"latitude_deg":11.9393504,"altitude":27,"angle":337,"satellites":40,"speed":11,"hex_longitude":"2d0e0840","hex_latitude":"071dcce0","is_valid_coordinates":true} 
[2026-08-28 20:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:11:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709575424001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:11:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16113768106819584,"note":"Value kept but may cause issues"} 
[2026-08-28 20:11:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1011269253141884928,"note":"Value kept but may cause issues"} 
[2026-08-28 20:11:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:11:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787928030000,"timestamp_ms":1787928030000,"timestamp_seconds":1787928030,"priority":1,"record_length":96,"hex_timestamp":"000001a048d0ab30"} 
[2026-08-28 20:11:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:11:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-08-28 20:11:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:11:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:11:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:11:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:11:26] local.INFO: Teltonika packet parsed successfully {"connection_id":166379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:11:26] local.INFO: Passing IMEI to GPS processor {"connection_id":166379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:11:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":166379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:11:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:11:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:11:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:11:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709575424001,"66":12950,"12":206,"83":41984,"24":11,"16":16113768106819584,"45":1011269253141884928},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,45]} 
[2026-08-28 20:11:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:11:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:11:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709575424001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:11:26] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-28 20:11:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 20:11:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16113768106819584,"km_value":16113768106819.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:11:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1011269253141884928,"description":"Unknown IO ID 45"} 
[2026-08-28 20:11:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709575424001,"power":12950,"unknown_12":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1011269253141884928}} 
[2026-08-28 20:11:26] local.INFO: DEBUG: GPS processor result {"connection_id":166379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710107,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:11:26] local.INFO: GPS data processed {"connection_id":166379,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:11:26] local.INFO: Acknowledgment sent {"connection_id":166379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:11:29] local.INFO: TCP Data received {"connection_id":166381,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:11:29] local.INFO: Processing buffer {"connection_id":166381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:11:29] local.INFO: IMEI packet received {"connection_id":166381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 20:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":166381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:11:35] local.INFO: TCP Data received {"connection_id":166381,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:11:35] local.INFO: Processing buffer {"connection_id":166381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:11:35] local.INFO: IMEI packet received {"connection_id":166381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 20:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":166381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:11:36] local.INFO: TCP Data received {"connection_id":166381,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048cd4800012d34c14006aa4840001200e627..."} 
[2026-08-28 20:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048cd4800012d34c14006aa4840001200e627..."} 
[2026-08-28 20:11:36] local.INFO: Processing buffer {"connection_id":166381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048cd4800012d34c14006aa4840001200e627..."} 
[2026-08-28 20:11:36] local.INFO: Packet analysis {"connection_id":166381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048cd"} 
[2026-08-28 20:11:36] local.INFO: Extracted packet for processing {"connection_id":166381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048cd"} 
[2026-08-28 20:11:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709441792001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787927808000,"timestamp_ms":1787927808000,"timestamp_seconds":1787927808,"priority":1,"record_length":96,"hex_timestamp":"000001a048cd4800"} 
[2026-08-28 20:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 20:11:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:11:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":166381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":166381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":166381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709441792001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709441792001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:11:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:11:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709441792001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":166381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:11:36] local.INFO: GPS data processed {"connection_id":166381,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:11:36] local.INFO: Acknowledgment sent {"connection_id":166381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:11:39] local.INFO: TCP Data received {"connection_id":166380,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048cfd070012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048cfd070012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:11:39] local.INFO: Processing buffer {"connection_id":166380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048cfd070012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:11:39] local.INFO: Packet analysis {"connection_id":166380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048cf"} 
[2026-08-28 20:11:39] local.INFO: Extracted packet for processing {"connection_id":166380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048cf"} 
[2026-08-28 20:11:39] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709484288001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:11:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:11:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787927974000,"timestamp_ms":1787927974000,"timestamp_seconds":1787927974,"priority":1,"record_length":96,"hex_timestamp":"000001a048cfd070"} 
[2026-08-28 20:11:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:11:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 20:11:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:11:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:11:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":166380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":166380,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":166380,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:11:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709484288001,"66":25288,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709484288001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:11:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:11:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:11:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709484288001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:11:40] local.INFO: DEBUG: GPS processor result {"connection_id":166380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710109,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:11:40] local.INFO: GPS data processed {"connection_id":166380,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:11:40] local.INFO: Acknowledgment sent {"connection_id":166380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:11:42] local.INFO: TCP Data received {"connection_id":163735,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:11:42] local.INFO: Processing buffer {"connection_id":163735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:11:42] local.INFO: IMEI packet received {"connection_id":163735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 20:11:42] local.INFO: IMEI acknowledgment sent {"connection_id":163735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:11:48] local.INFO: TCP Data received {"connection_id":163735,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:11:48] local.INFO: Processing buffer {"connection_id":163735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:11:48] local.INFO: IMEI packet received {"connection_id":163735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":163735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:11:49] local.INFO: TCP Data received {"connection_id":163735,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a048d0b300012d0e0780071dced0001b015e29..."} 
[2026-08-28 20:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048d0b300012d0e0780071dced0001b015e29..."} 
[2026-08-28 20:11:49] local.INFO: Processing buffer {"connection_id":163735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048d0b300012d0e0780071dced0001b015e29..."} 
[2026-08-28 20:11:49] local.INFO: Packet analysis {"connection_id":163735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048d0"} 
[2026-08-28 20:11:49] local.INFO: Extracted packet for processing {"connection_id":163735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048d0"} 
[2026-08-28 20:11:49] local.INFO: GPS Element Parsed {"raw_longitude":755894144,"raw_latitude":119394000,"longitude_deg":75.5894144,"latitude_deg":11.9394,"altitude":27,"angle":350,"satellites":41,"speed":10,"hex_longitude":"2d0e0780","hex_latitude":"071dced0","is_valid_coordinates":true} 
[2026-08-28 20: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-28 20:11:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709575680001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:11:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16113793876623360,"note":"Value kept but may cause issues"} 
[2026-08-28 20:11:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1011128515653591040,"note":"Value kept but may cause issues"} 
[2026-08-28 20:11:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:11:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787928032000,"timestamp_ms":1787928032000,"timestamp_seconds":1787928032,"priority":1,"record_length":96,"hex_timestamp":"000001a048d0b300"} 
[2026-08-28 20: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-28 20:11:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-28 20:11:49] 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-28 20: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-28 20: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-28 20:11:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:11:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:11:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:11:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:11: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-28 20:11:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:11:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:11:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709575680001,"66":12461,"12":206,"83":41984,"24":10,"16":16113793876623360,"45":1011128515653591040},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,45]} 
[2026-08-28 20:11:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:11:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:11:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709575680001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:11:49] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-28 20:11:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 20:11:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16113793876623360,"km_value":16113793876623.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:11:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1011128515653591040,"description":"Unknown IO ID 45"} 
[2026-08-28 20:11:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709575680001,"power":12461,"unknown_12":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1011128515653591040}} 
[2026-08-28 20:11:49] 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":710110,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:11:49] local.INFO: GPS data processed {"connection_id":163735,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:11:49] local.INFO: Acknowledgment sent {"connection_id":163735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:12:01] local.INFO: TCP Data received {"connection_id":164015,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164015,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:12:01] local.INFO: Processing buffer {"connection_id":164015,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:12:01] local.INFO: IMEI packet received {"connection_id":164015,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 20:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":164015,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:12:06] local.INFO: TCP Data received {"connection_id":164015,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164015,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:12:06] local.INFO: Processing buffer {"connection_id":164015,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:12:06] local.INFO: IMEI packet received {"connection_id":164015,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 20:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":164015,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:12:08] local.INFO: TCP Data received {"connection_id":164015,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048cfd070012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048cfd070012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:12:08] local.INFO: Processing buffer {"connection_id":164015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048cfd070012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:12:08] local.INFO: Packet analysis {"connection_id":164015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048cf"} 
[2026-08-28 20:12:08] local.INFO: Extracted packet for processing {"connection_id":164015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048cf"} 
[2026-08-28 20:12:08] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709484288001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:12:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787927974000,"timestamp_ms":1787927974000,"timestamp_seconds":1787927974,"priority":1,"record_length":96,"hex_timestamp":"000001a048cfd070"} 
[2026-08-28 20:12:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:12:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 20:12:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:12:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:12:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164015,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164015,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:12:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709484288001,"66":25288,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709484288001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:12:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:12:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709484288001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":164015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710111,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:12:08] local.INFO: GPS data processed {"connection_id":164015,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:12:08] local.INFO: Acknowledgment sent {"connection_id":164015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:12:08] local.INFO: TCP Data received {"connection_id":166381,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048cd4800012d34c14006aa4840001200e627..."} 
[2026-08-28 20:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048cd4800012d34c14006aa4840001200e627..."} 
[2026-08-28 20:12:08] local.INFO: Processing buffer {"connection_id":166381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048cd4800012d34c14006aa4840001200e627..."} 
[2026-08-28 20:12:08] local.INFO: Packet analysis {"connection_id":166381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048cd"} 
[2026-08-28 20:12:08] local.INFO: Extracted packet for processing {"connection_id":166381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048cd"} 
[2026-08-28 20:12:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709441792001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:12:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787927808000,"timestamp_ms":1787927808000,"timestamp_seconds":1787927808,"priority":1,"record_length":96,"hex_timestamp":"000001a048cd4800"} 
[2026-08-28 20:12:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:12:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 20:12:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:12:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:12:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":166381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":166381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":166381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:12:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709441792001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709441792001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:12:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:12:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:12: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-28 20:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709441792001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":166381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:12:08] local.INFO: GPS data processed {"connection_id":166381,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:12:08] local.INFO: Acknowledgment sent {"connection_id":166381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:12:12] local.INFO: TCP Data received {"connection_id":164015,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048cfd070012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048cfd070012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:12:12] local.INFO: Processing buffer {"connection_id":164015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048cfd070012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:12:12] local.INFO: Packet analysis {"connection_id":164015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048cf"} 
[2026-08-28 20:12:12] local.INFO: Extracted packet for processing {"connection_id":164015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048cf"} 
[2026-08-28 20:12:12] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:12:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709484288001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:12:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:12:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:12:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:12:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787927974000,"timestamp_ms":1787927974000,"timestamp_seconds":1787927974,"priority":1,"record_length":96,"hex_timestamp":"000001a048cfd070"} 
[2026-08-28 20:12:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:12:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 20:12:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:12:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:12:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:12:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:12:12] local.INFO: Teltonika packet parsed successfully {"connection_id":164015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:12:12] local.INFO: Passing IMEI to GPS processor {"connection_id":164015,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:12:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":164015,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:12:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:12:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:12:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:12:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709484288001,"66":25288,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:12:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:12:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:12:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709484288001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:12:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:12:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:12:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:12:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:12:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709484288001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:12:12] local.INFO: DEBUG: GPS processor result {"connection_id":164015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710113,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:12:12] local.INFO: GPS data processed {"connection_id":164015,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:12:12] local.INFO: Acknowledgment sent {"connection_id":164015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:12:19] local.INFO: TCP Data received {"connection_id":163735,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a048d0beb8012d0e0740071dd168001a000329..."} 
[2026-08-28 20:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048d0beb8012d0e0740071dd168001a000329..."} 
[2026-08-28 20:12:19] local.INFO: Processing buffer {"connection_id":163735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048d0beb8012d0e0740071dd168001a000329..."} 
[2026-08-28 20:12:19] local.INFO: Packet analysis {"connection_id":163735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048d0"} 
[2026-08-28 20:12:19] local.INFO: Extracted packet for processing {"connection_id":163735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048d0"} 
[2026-08-28 20:12:19] local.INFO: GPS Element Parsed {"raw_longitude":755894080,"raw_latitude":119394664,"longitude_deg":75.589408,"latitude_deg":11.9394664,"altitude":26,"angle":3,"satellites":41,"speed":8,"hex_longitude":"2d0e0740","hex_latitude":"071dd168","is_valid_coordinates":true} 
[2026-08-28 20:12:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:12:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709576192001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:12:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16113828236361728,"note":"Value kept but may cause issues"} 
[2026-08-28 20:12:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1010917409421185024,"note":"Value kept but may cause issues"} 
[2026-08-28 20:12:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:12:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787928035000,"timestamp_ms":1787928035000,"timestamp_seconds":1787928035,"priority":1,"record_length":96,"hex_timestamp":"000001a048d0beb8"} 
[2026-08-28 20:12:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:12:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20:12:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 20:12:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:12:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:12:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:12:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:12:19] local.INFO: Teltonika packet parsed successfully {"connection_id":163735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:12:19] local.INFO: Passing IMEI to GPS processor {"connection_id":163735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:12:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":163735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:12:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:12:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:12:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:12:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709576192001,"66":12689,"12":206,"83":41984,"24":8,"16":16113828236361728,"45":1010917409421185024},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,83,24,16,45]} 
[2026-08-28 20:12:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:12:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:12:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709576192001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:12:19] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-28 20:12:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 20:12:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16113828236361728,"km_value":16113828236361.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:12:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1010917409421185024,"description":"Unknown IO ID 45"} 
[2026-08-28 20:12:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709576192001,"power":12689,"unknown_12":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1010917409421185024}} 
[2026-08-28 20:12:20] 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":710114,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:12:20] local.INFO: GPS data processed {"connection_id":163735,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:12:20] local.INFO: Acknowledgment sent {"connection_id":163735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:12:29] local.INFO: TCP Data received {"connection_id":165028,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:12:29] local.INFO: Processing buffer {"connection_id":165028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:12:29] local.INFO: IMEI packet received {"connection_id":165028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 20:12:29] local.INFO: IMEI acknowledgment sent {"connection_id":165028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:12:35] local.INFO: TCP Data received {"connection_id":165028,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:12:35] local.INFO: Processing buffer {"connection_id":165028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:12:35] local.INFO: IMEI packet received {"connection_id":165028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 20:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":165028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:12:36] local.INFO: TCP Data received {"connection_id":165028,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048d1dfc8012d34c14006aa4840000c00e62a..."} 
[2026-08-28 20:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048d1dfc8012d34c14006aa4840000c00e62a..."} 
[2026-08-28 20:12:36] local.INFO: Processing buffer {"connection_id":165028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048d1dfc8012d34c14006aa4840000c00e62a..."} 
[2026-08-28 20:12:36] local.INFO: Packet analysis {"connection_id":165028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048d1"} 
[2026-08-28 20:12:36] local.INFO: Extracted packet for processing {"connection_id":165028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048d1"} 
[2026-08-28 20:12:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709518848001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:12:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787928109000,"timestamp_ms":1787928109000,"timestamp_seconds":1787928109,"priority":1,"record_length":96,"hex_timestamp":"000001a048d1dfc8"} 
[2026-08-28 20:12:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:12:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 20:12:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:12:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:12:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":165028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":165028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":165028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:12:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709518848001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709518848001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:12:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:12:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:12:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709518848001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:12:36] 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":710115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:12:36] local.INFO: GPS data processed {"connection_id":165028,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:12:36] local.INFO: Acknowledgment sent {"connection_id":165028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:12:49] local.INFO: TCP Data received {"connection_id":166382,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166382,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:12:49] local.INFO: Processing buffer {"connection_id":166382,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:12:49] local.INFO: IMEI packet received {"connection_id":166382,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 20:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":166382,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:12:53] local.INFO: TCP Data received {"connection_id":166382,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166382,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:12:53] local.INFO: Processing buffer {"connection_id":166382,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:12:53] local.INFO: IMEI packet received {"connection_id":166382,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":166382,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:12:53] local.INFO: TCP Data received {"connection_id":166382,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a048d1ef68012d0df480071df760001b013d2c..."} 
[2026-08-28 20:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048d1ef68012d0df480071df760001b013d2c..."} 
[2026-08-28 20:12:53] local.INFO: Processing buffer {"connection_id":166382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048d1ef68012d0df480071df760001b013d2c..."} 
[2026-08-28 20:12:53] local.INFO: Packet analysis {"connection_id":166382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048d1"} 
[2026-08-28 20:12:53] local.INFO: Extracted packet for processing {"connection_id":166382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048d1"} 
[2026-08-28 20:12:53] local.INFO: GPS Element Parsed {"raw_longitude":755889280,"raw_latitude":119404384,"longitude_deg":75.588928,"latitude_deg":11.9404384,"altitude":27,"angle":317,"satellites":44,"speed":9,"hex_longitude":"2d0df480","hex_latitude":"071df760","is_valid_coordinates":true} 
[2026-08-28 20: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-28 20:12:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709596672001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:12:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16114463891521536,"note":"Value kept but may cause issues"} 
[2026-08-28 20:12:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1005710122354649088,"note":"Value kept but may cause issues"} 
[2026-08-28 20:12:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:12:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787928113000,"timestamp_ms":1787928113000,"timestamp_seconds":1787928113,"priority":1,"record_length":96,"hex_timestamp":"000001a048d1ef68"} 
[2026-08-28 20: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-28 20:12:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20: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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-08-28 20:12:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-08-28 20:12:53] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-28 20:12:53] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-28 20:12:53] local.WARNING: Large IO value detected {"io_id":63,"raw_value":3741319168,"note":"Value kept but may cause issues"} 
[2026-08-28 20:12:53] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3246540078081500464,"note":"Value kept but may cause issues"} 
[2026-08-28 20:12:53] local.WARNING: Large IO value detected {"io_id":29,"raw_value":-1177691203751040256,"note":"Value kept but may cause issues"} 
[2026-08-28 20:12:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1710031054,"corrected_to":0} 
[2026-08-28 20:12:53] local.WARNING: Large IO value detected {"io_id":3,"raw_value":3221691891,"note":"Value kept but may cause issues"} 
[2026-08-28 20:12:53] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3774926181,"note":"Value kept but may cause issues"} 
[2026-08-28 20:12:53] local.WARNING: Large IO value detected {"io_id":5,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-08-28 20:12:53] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":57814438820860836,"corrected_to":0} 
[2026-08-28 20:12:53] local.WARNING: Large IO value detected {"io_id":209,"raw_value":9088265341054042119,"note":"Value kept but may cause issues"} 
[2026-08-28 20:12:53] local.WARNING: Large IO value detected {"io_id":101,"raw_value":-1368867428091553792,"note":"Value kept but may cause issues"} 
[2026-08-28 20:12:53] local.WARNING: Large IO value detected {"io_id":90,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-28 20:12:53] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,237,83,24,241,157,16,64,160,215,45,245,25,44,10,66,63,192,43,169,1,240,227,72,29,4,113,205,7,153,3,239,52,2,57,23,5,203,209,101,90],"length":626,"final_offset":756,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1710031054,"validated":0},{"io_id":203,"original":57814438820860836,"validated":0}]} 
[2026-08-28 20:12:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1945888380026421248,"timestamp_seconds":1945888380026421.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 20: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-28 20:12:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:12:53] local.INFO: Teltonika packet parsed successfully {"connection_id":166382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:12:53] local.INFO: Passing IMEI to GPS processor {"connection_id":166382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:12:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":166382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:12: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-28 20:12:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:12:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:12:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709596672001,"66":13330,"237":206,"83":41984,"24":9,"16":16114463891521536,"45":1005710122354649088},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-28 20:12:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:12:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:12:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709596672001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:12:53] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-28 20:12:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 20:12:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16114463891521536,"km_value":16114463891521.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:12:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1005710122354649088,"description":"Unknown IO ID 45"} 
[2026-08-28 20:12:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709596672001,"power":13330,"unknown_237":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1005710122354649088}} 
[2026-08-28 20:12:53] local.INFO: DEBUG: GPS processor result {"connection_id":166382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710116,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:12:53] local.INFO: GPS data processed {"connection_id":166382,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:12:53] local.INFO: Acknowledgment sent {"connection_id":166382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:12:56] local.INFO: TCP Data received {"connection_id":164016,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164016,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:12:56] local.INFO: Processing buffer {"connection_id":164016,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:12:56] local.INFO: IMEI packet received {"connection_id":164016,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 20:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":164016,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:12:56] local.INFO: TCP Data received {"connection_id":166382,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a048d1f350012d0df400071df828001c01482c..."} 
[2026-08-28 20:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048d1f350012d0df400071df828001c01482c..."} 
[2026-08-28 20:12:56] local.INFO: Processing buffer {"connection_id":166382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048d1f350012d0df400071df828001c01482c..."} 
[2026-08-28 20:12:56] local.INFO: Packet analysis {"connection_id":166382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048d1"} 
[2026-08-28 20:12:56] local.INFO: Extracted packet for processing {"connection_id":166382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048d1"} 
[2026-08-28 20:12:56] local.INFO: GPS Element Parsed {"raw_longitude":755889152,"raw_latitude":119404584,"longitude_deg":75.5889152,"latitude_deg":11.9404584,"altitude":28,"angle":328,"satellites":44,"speed":8,"hex_longitude":"2d0df400","hex_latitude":"071df828","is_valid_coordinates":true} 
[2026-08-28 20:12:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:12:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709596928001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:12:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16114472481456128,"note":"Value kept but may cause issues"} 
[2026-08-28 20:12:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1005569384866340864,"note":"Value kept but may cause issues"} 
[2026-08-28 20:12:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:12:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787928114000,"timestamp_ms":1787928114000,"timestamp_seconds":1787928114,"priority":1,"record_length":96,"hex_timestamp":"000001a048d1f350"} 
[2026-08-28 20:12:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:12:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20:12:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-08-28 20:12:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-08-28 20:12:56] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-28 20:12:56] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-28 20:12:56] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":43008,"corrected_to":0} 
[2026-08-28 20:12:56] local.WARNING: Large IO value detected {"io_id":63,"raw_value":3925868544,"note":"Value kept but may cause issues"} 
[2026-08-28 20:12:56] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3246538153936154536,"note":"Value kept but may cause issues"} 
[2026-08-28 20:12:56] local.WARNING: Large IO value detected {"io_id":72,"raw_value":3517519873,"note":"Value kept but may cause issues"} 
[2026-08-28 20:12:56] local.WARNING: Large IO value detected {"io_id":29,"raw_value":-1177691203751040256,"note":"Value kept but may cause issues"} 
[2026-08-28 20:12:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1710031054,"corrected_to":0} 
[2026-08-28 20:12:56] local.WARNING: Large IO value detected {"io_id":225,"raw_value":57814438820860836,"note":"Value kept but may cause issues"} 
[2026-08-28 20:12:56] local.WARNING: Large IO value detected {"io_id":209,"raw_value":9088265341054042119,"note":"Value kept but may cause issues"} 
[2026-08-28 20:12:56] local.WARNING: Large IO value detected {"io_id":5,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-08-28 20:12:56] local.WARNING: Large IO value detected {"io_id":101,"raw_value":-1368867428091553792,"note":"Value kept but may cause issues"} 
[2026-08-28 20:12:56] local.WARNING: Large IO value detected {"io_id":91,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-28 20:12:56] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,237,83,24,241,157,16,64,160,235,45,246,27,44,10,66,215,245,25,63,192,1,240,69,227,72,29,4,113,205,9,161,2,40,239,49,57,7,23,6,225,209,5,101,91],"length":626,"final_offset":756,"validated_count":45,"validation_warnings":[{"io_id":246,"original":43008,"validated":0},{"io_id":205,"original":1710031054,"validated":0}]} 
[2026-08-28 20:12:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1945903773189210112,"timestamp_seconds":1945903773189210.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 20:12:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:12:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:12:56] local.INFO: Teltonika packet parsed successfully {"connection_id":166382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:12:56] local.INFO: Passing IMEI to GPS processor {"connection_id":166382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:12:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":166382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:12: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-28 20:12:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:12:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:12:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709596928001,"66":13406,"237":206,"83":41984,"24":8,"16":16114472481456128,"45":1005569384866340864},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-28 20:12:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:12:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:12:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709596928001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:12:56] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-28 20:12:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 20:12:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16114472481456128,"km_value":16114472481456.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:12:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1005569384866340864,"description":"Unknown IO ID 45"} 
[2026-08-28 20:12:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709596928001,"power":13406,"unknown_237":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1005569384866340864}} 
[2026-08-28 20:12:56] local.INFO: DEBUG: GPS processor result {"connection_id":166382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710117,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:12:56] local.INFO: GPS data processed {"connection_id":166382,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:12:56] local.INFO: Acknowledgment sent {"connection_id":166382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:13:01] local.INFO: TCP Data received {"connection_id":164016,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164016,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:13:01] local.INFO: Processing buffer {"connection_id":164016,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:13:01] local.INFO: IMEI packet received {"connection_id":164016,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 20:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":164016,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:13:03] local.INFO: TCP Data received {"connection_id":164016,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048cfd070012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048cfd070012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:13:03] local.INFO: Processing buffer {"connection_id":164016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048cfd070012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:13:03] local.INFO: Packet analysis {"connection_id":164016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048cf"} 
[2026-08-28 20:13:03] local.INFO: Extracted packet for processing {"connection_id":164016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048cf"} 
[2026-08-28 20:13:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709484288001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787927974000,"timestamp_ms":1787927974000,"timestamp_seconds":1787927974,"priority":1,"record_length":96,"hex_timestamp":"000001a048cfd070"} 
[2026-08-28 20:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:13:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 20:13:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:13:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":164016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":164016,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":164016,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709484288001,"66":25288,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709484288001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:13:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:13:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709484288001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":164016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710118,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:13:03] local.INFO: GPS data processed {"connection_id":164016,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:13:03] local.INFO: Acknowledgment sent {"connection_id":164016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:13:07] local.INFO: TCP Data received {"connection_id":165028,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048d1dfc8012d34c14006aa4840000c00e62a..."} 
[2026-08-28 20:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048d1dfc8012d34c14006aa4840000c00e62a..."} 
[2026-08-28 20:13:07] local.INFO: Processing buffer {"connection_id":165028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048d1dfc8012d34c14006aa4840000c00e62a..."} 
[2026-08-28 20:13:07] local.INFO: Packet analysis {"connection_id":165028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048d1"} 
[2026-08-28 20:13:07] local.INFO: Extracted packet for processing {"connection_id":165028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048d1"} 
[2026-08-28 20:13:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709518848001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787928109000,"timestamp_ms":1787928109000,"timestamp_seconds":1787928109,"priority":1,"record_length":96,"hex_timestamp":"000001a048d1dfc8"} 
[2026-08-28 20:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:13:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 20:13:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:13:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":165028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":165028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":165028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709518848001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709518848001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:13:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:13:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:13: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-28 20:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709518848001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:13:07] 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":710119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:13:07] local.INFO: GPS data processed {"connection_id":165028,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:13:07] local.INFO: Acknowledgment sent {"connection_id":165028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:13:27] local.INFO: TCP Data received {"connection_id":166382,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a048d1fb20012d0df340071df998001c01552c..."} 
[2026-08-28 20:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048d1fb20012d0df340071df998001c01552c..."} 
[2026-08-28 20:13:27] local.INFO: Processing buffer {"connection_id":166382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048d1fb20012d0df340071df998001c01552c..."} 
[2026-08-28 20:13:27] local.INFO: Packet analysis {"connection_id":166382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048d1"} 
[2026-08-28 20:13:27] local.INFO: Extracted packet for processing {"connection_id":166382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048d1"} 
[2026-08-28 20:13:27] local.INFO: GPS Element Parsed {"raw_longitude":755888960,"raw_latitude":119404952,"longitude_deg":75.588896,"latitude_deg":11.9404952,"altitude":28,"angle":341,"satellites":44,"speed":7,"hex_longitude":"2d0df340","hex_latitude":"071df998","is_valid_coordinates":true} 
[2026-08-28 20:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:13:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709597184001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:13:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16114493956292608,"note":"Value kept but may cause issues"} 
[2026-08-28 20:13:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1005428647378036736,"note":"Value kept but may cause issues"} 
[2026-08-28 20:13:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:13:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787928116000,"timestamp_ms":1787928116000,"timestamp_seconds":1787928116,"priority":1,"record_length":96,"hex_timestamp":"000001a048d1fb20"} 
[2026-08-28 20:13:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:13:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-28 20:13:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:13:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:13:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:13:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:13:27] local.INFO: Teltonika packet parsed successfully {"connection_id":166382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:13:27] local.INFO: Passing IMEI to GPS processor {"connection_id":166382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:13:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":166382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:13:27] 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-28 20:13:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:13:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:13:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709597184001,"66":13472,"237":206,"83":41984,"24":7,"16":16114493956292608,"45":1005428647378036736},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-28 20:13:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:13:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:13:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709597184001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:13:27] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-28 20:13:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 20:13:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16114493956292608,"km_value":16114493956292.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:13:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1005428647378036736,"description":"Unknown IO ID 45"} 
[2026-08-28 20:13:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709597184001,"power":13472,"unknown_237":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1005428647378036736}} 
[2026-08-28 20:13:28] local.INFO: DEBUG: GPS processor result {"connection_id":166382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710120,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:13:28] local.INFO: GPS data processed {"connection_id":166382,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:13:28] local.INFO: Acknowledgment sent {"connection_id":166382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:13:30] local.INFO: TCP Data received {"connection_id":163736,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:13:30] local.INFO: Processing buffer {"connection_id":163736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:13:30] local.INFO: IMEI packet received {"connection_id":163736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 20:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":163736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:13:35] local.INFO: TCP Data received {"connection_id":164016,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048cfd070012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048cfd070012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:13:35] local.INFO: Processing buffer {"connection_id":164016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048cfd070012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:13:35] local.INFO: Packet analysis {"connection_id":164016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048cf"} 
[2026-08-28 20:13:35] local.INFO: Extracted packet for processing {"connection_id":164016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048cf"} 
[2026-08-28 20:13:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709484288001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:13:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:13:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787927974000,"timestamp_ms":1787927974000,"timestamp_seconds":1787927974,"priority":1,"record_length":96,"hex_timestamp":"000001a048cfd070"} 
[2026-08-28 20:13:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:13:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 20:13:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:13:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:13:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":164016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":164016,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":164016,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:13:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709484288001,"66":25288,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709484288001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:13:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:13:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:13:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709484288001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:13:35] local.INFO: DEBUG: GPS processor result {"connection_id":164016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710121,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:13:35] local.INFO: GPS data processed {"connection_id":164016,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:13:35] local.INFO: Acknowledgment sent {"connection_id":164016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:13:35] local.INFO: TCP Data received {"connection_id":163736,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:13:35] local.INFO: Processing buffer {"connection_id":163736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:13:35] local.INFO: IMEI packet received {"connection_id":163736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 20:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":163736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:13:36] local.INFO: TCP Data received {"connection_id":163736,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048d1dfc8012d34c14006aa4840000c00e62a..."} 
[2026-08-28 20:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048d1dfc8012d34c14006aa4840000c00e62a..."} 
[2026-08-28 20:13:36] local.INFO: Processing buffer {"connection_id":163736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048d1dfc8012d34c14006aa4840000c00e62a..."} 
[2026-08-28 20:13:36] local.INFO: Packet analysis {"connection_id":163736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048d1"} 
[2026-08-28 20:13:36] local.INFO: Extracted packet for processing {"connection_id":163736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048d1"} 
[2026-08-28 20:13:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709518848001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:13:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787928109000,"timestamp_ms":1787928109000,"timestamp_seconds":1787928109,"priority":1,"record_length":96,"hex_timestamp":"000001a048d1dfc8"} 
[2026-08-28 20:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:13:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 20:13:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:13:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:13:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709518848001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709518848001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:13:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:13:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709518848001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:13:36] 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":710122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:13:36] local.INFO: GPS data processed {"connection_id":163736,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:13:36] local.INFO: Acknowledgment sent {"connection_id":163736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:13:42] local.INFO: TCP Data received {"connection_id":164017,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:13:42] local.INFO: Processing buffer {"connection_id":164017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:13:42] local.INFO: IMEI packet received {"connection_id":164017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 20:13:42] local.INFO: IMEI acknowledgment sent {"connection_id":164017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:13:48] local.INFO: TCP Data received {"connection_id":164017,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:13:48] local.INFO: Processing buffer {"connection_id":164017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:13:48] local.INFO: IMEI packet received {"connection_id":164017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":164017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:13:48] local.INFO: TCP Data received {"connection_id":164017,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a048d24d28012d0dee00071e08f8001f015129..."} 
[2026-08-28 20:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048d24d28012d0dee00071e08f8001f015129..."} 
[2026-08-28 20:13:48] local.INFO: Processing buffer {"connection_id":164017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048d24d28012d0dee00071e08f8001f015129..."} 
[2026-08-28 20:13:48] local.INFO: Packet analysis {"connection_id":164017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048d2"} 
[2026-08-28 20:13:48] local.INFO: Extracted packet for processing {"connection_id":164017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048d2"} 
[2026-08-28 20:13:48] local.INFO: GPS Element Parsed {"raw_longitude":755887616,"raw_latitude":119408888,"longitude_deg":75.5887616,"latitude_deg":11.9408888,"altitude":31,"angle":337,"satellites":41,"speed":4,"hex_longitude":"2d0dee00","hex_latitude":"071e08f8","is_valid_coordinates":true} 
[2026-08-28 20: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-28 20:13:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709597696001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:13:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16114695819755520,"note":"Value kept but may cause issues"} 
[2026-08-28 20:13:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1005217541145597952,"note":"Value kept but may cause issues"} 
[2026-08-28 20:13:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:13:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787928137000,"timestamp_ms":1787928137000,"timestamp_seconds":1787928137,"priority":1,"record_length":96,"hex_timestamp":"000001a048d24d28"} 
[2026-08-28 20: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-28 20:13:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-28 20:13:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20: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-28 20: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-28 20:13:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:13:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:13:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:13:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:13:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:13:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:13:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:13:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709597696001,"66":13450,"237":206,"83":41984,"24":4,"16":16114695819755520,"45":1005217541145597952},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-28 20:13:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:13:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:13:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709597696001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:13:48] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-28 20:13:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 20:13:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16114695819755520,"km_value":16114695819755.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:13:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1005217541145597952,"description":"Unknown IO ID 45"} 
[2026-08-28 20:13:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709597696001,"power":13450,"unknown_237":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1005217541145597952}} 
[2026-08-28 20:13:48] local.INFO: DEBUG: GPS processor result {"connection_id":164017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:13:48] local.INFO: GPS data processed {"connection_id":164017,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:13:48] local.INFO: Acknowledgment sent {"connection_id":164017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:13:56] local.INFO: TCP Data received {"connection_id":163737,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163737,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:13:56] local.INFO: Processing buffer {"connection_id":163737,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:13:56] local.INFO: IMEI packet received {"connection_id":163737,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 20:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":163737,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:14:01] local.INFO: TCP Data received {"connection_id":163737,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163737,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:14:01] local.INFO: Processing buffer {"connection_id":163737,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:14:01] local.INFO: IMEI packet received {"connection_id":163737,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 20:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":163737,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:14:03] local.INFO: TCP Data received {"connection_id":163737,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048cfd070012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048cfd070012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:14:03] local.INFO: Processing buffer {"connection_id":163737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048cfd070012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:14:03] local.INFO: Packet analysis {"connection_id":163737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048cf"} 
[2026-08-28 20:14:03] local.INFO: Extracted packet for processing {"connection_id":163737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048cf"} 
[2026-08-28 20:14:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709484288001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787927974000,"timestamp_ms":1787927974000,"timestamp_seconds":1787927974,"priority":1,"record_length":96,"hex_timestamp":"000001a048cfd070"} 
[2026-08-28 20:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:14:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 20:14:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:14:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163737,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163737,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709484288001,"66":25288,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709484288001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:14:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:14:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709484288001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:14:03] 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":710124,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:14:03] local.INFO: GPS data processed {"connection_id":163737,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:14:03] local.INFO: Acknowledgment sent {"connection_id":163737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:14:08] local.INFO: TCP Data received {"connection_id":163736,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048d1dfc8012d34c14006aa4840000c00e62a..."} 
[2026-08-28 20:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048d1dfc8012d34c14006aa4840000c00e62a..."} 
[2026-08-28 20:14:08] local.INFO: Processing buffer {"connection_id":163736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048d1dfc8012d34c14006aa4840000c00e62a..."} 
[2026-08-28 20:14:08] local.INFO: Packet analysis {"connection_id":163736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048d1"} 
[2026-08-28 20:14:08] local.INFO: Extracted packet for processing {"connection_id":163736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048d1"} 
[2026-08-28 20:14:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20: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-28 20:14:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709518848001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:14:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:14:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:14:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:14:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787928109000,"timestamp_ms":1787928109000,"timestamp_seconds":1787928109,"priority":1,"record_length":96,"hex_timestamp":"000001a048d1dfc8"} 
[2026-08-28 20: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-28 20:14:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 20:14:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20: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-28 20: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-28 20:14:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:14:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:14:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:14:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:14:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:14:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:14:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:14:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709518848001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:14:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:14:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:14:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709518848001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:14:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:14:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20: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-28 20:14:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:14:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709518848001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:14:08] 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":710125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:14:08] local.INFO: GPS data processed {"connection_id":163736,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:14:08] local.INFO: Acknowledgment sent {"connection_id":163736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:14:19] local.INFO: TCP Data received {"connection_id":164017,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a048d27438012d0debc0071e0ca80020014529..."} 
[2026-08-28 20:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048d27438012d0debc0071e0ca80020014529..."} 
[2026-08-28 20:14:19] local.INFO: Processing buffer {"connection_id":164017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048d27438012d0debc0071e0ca80020014529..."} 
[2026-08-28 20:14:19] local.INFO: Packet analysis {"connection_id":164017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048d2"} 
[2026-08-28 20:14:19] local.INFO: Extracted packet for processing {"connection_id":164017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048d2"} 
[2026-08-28 20:14:19] local.INFO: GPS Element Parsed {"raw_longitude":755887040,"raw_latitude":119409832,"longitude_deg":75.588704,"latitude_deg":11.9409832,"altitude":32,"angle":325,"satellites":41,"speed":3,"hex_longitude":"2d0debc0","hex_latitude":"071e0ca8","is_valid_coordinates":true} 
[2026-08-28 20: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-28 20:14:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709603072001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:14:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16114751654330368,"note":"Value kept but may cause issues"} 
[2026-08-28 20:14:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1003739797518874624,"note":"Value kept but may cause issues"} 
[2026-08-28 20:14:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:14:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787928147000,"timestamp_ms":1787928147000,"timestamp_seconds":1787928147,"priority":1,"record_length":96,"hex_timestamp":"000001a048d27438"} 
[2026-08-28 20: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-28 20:14:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-28 20:14:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20: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-28 20: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-28 20:14:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:14:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:14:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:14:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:14:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:14:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:14:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:14:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709603072001,"66":13472,"237":206,"83":41984,"24":3,"16":16114751654330368,"45":1003739797518874624},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-28 20:14:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:14:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:14:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709603072001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:14:19] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-28 20:14:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 20:14:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16114751654330368,"km_value":16114751654330.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:14:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1003739797518874624,"description":"Unknown IO ID 45"} 
[2026-08-28 20:14:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709603072001,"power":13472,"unknown_237":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1003739797518874624}} 
[2026-08-28 20:14:20] local.INFO: DEBUG: GPS processor result {"connection_id":164017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710126,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:14:20] local.INFO: GPS data processed {"connection_id":164017,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:14:20] local.INFO: Acknowledgment sent {"connection_id":164017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:14:30] local.INFO: TCP Data received {"connection_id":165029,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:14:30] local.INFO: Processing buffer {"connection_id":165029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:14:30] local.INFO: IMEI packet received {"connection_id":165029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 20:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":165029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:14:34] local.INFO: TCP Data received {"connection_id":163737,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048cfd070012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048cfd070012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:14:34] local.INFO: Processing buffer {"connection_id":163737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048cfd070012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:14:34] local.INFO: Packet analysis {"connection_id":163737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048cf"} 
[2026-08-28 20:14:34] local.INFO: Extracted packet for processing {"connection_id":163737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048cf"} 
[2026-08-28 20:14:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709484288001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:14:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787927974000,"timestamp_ms":1787927974000,"timestamp_seconds":1787927974,"priority":1,"record_length":96,"hex_timestamp":"000001a048cfd070"} 
[2026-08-28 20:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:14:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 20:14:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:14:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163737,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163737,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:14:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709484288001,"66":25288,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709484288001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:14:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:14:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709484288001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:14:34] 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":710127,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:14:34] local.INFO: GPS data processed {"connection_id":163737,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:14:34] local.INFO: Acknowledgment sent {"connection_id":163737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:14:35] local.INFO: TCP Data received {"connection_id":165029,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:14:35] local.INFO: Processing buffer {"connection_id":165029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:14:35] local.INFO: IMEI packet received {"connection_id":165029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 20:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":165029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:14:37] local.INFO: TCP Data received {"connection_id":165029,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048d1dfc8012d34c14006aa4840000c00e62a..."} 
[2026-08-28 20:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048d1dfc8012d34c14006aa4840000c00e62a..."} 
[2026-08-28 20:14:37] local.INFO: Processing buffer {"connection_id":165029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048d1dfc8012d34c14006aa4840000c00e62a..."} 
[2026-08-28 20:14:37] local.INFO: Packet analysis {"connection_id":165029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048d1"} 
[2026-08-28 20:14:37] local.INFO: Extracted packet for processing {"connection_id":165029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048d1"} 
[2026-08-28 20:14:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709518848001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787928109000,"timestamp_ms":1787928109000,"timestamp_seconds":1787928109,"priority":1,"record_length":96,"hex_timestamp":"000001a048d1dfc8"} 
[2026-08-28 20:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 20:14:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:14:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":165029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":165029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":165029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709518848001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709518848001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:14:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:14:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:14: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-28 20:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709518848001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:14:37] 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":710128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:14:37] local.INFO: GPS data processed {"connection_id":165029,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:14:37] local.INFO: Acknowledgment sent {"connection_id":165029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:14:40] local.INFO: TCP Data received {"connection_id":166383,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166383,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:14:40] local.INFO: Processing buffer {"connection_id":166383,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:14:40] local.INFO: IMEI packet received {"connection_id":166383,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 20:14:40] local.INFO: IMEI acknowledgment sent {"connection_id":166383,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:14:42] local.INFO: TCP Data received {"connection_id":166383,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166383,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:14:42] local.INFO: Processing buffer {"connection_id":166383,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:14:42] local.INFO: IMEI packet received {"connection_id":166383,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:14:42] local.INFO: IMEI acknowledgment sent {"connection_id":166383,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:14:45] local.INFO: TCP Data received {"connection_id":166383,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166383,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:14:45] local.INFO: Processing buffer {"connection_id":166383,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:14:45] local.INFO: IMEI packet received {"connection_id":166383,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":166383,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:14:45] local.INFO: TCP Data received {"connection_id":166383,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166383,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:14:45] local.INFO: Processing buffer {"connection_id":166383,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:14:45] local.INFO: IMEI packet received {"connection_id":166383,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:14:45] local.INFO: IMEI acknowledgment sent {"connection_id":166383,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:14:46] local.INFO: TCP Data received {"connection_id":166383,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a048d283d8012d0deb00071e0de0002001372a..."} 
[2026-08-28 20:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048d283d8012d0deb00071e0de0002001372a..."} 
[2026-08-28 20:14:46] local.INFO: Processing buffer {"connection_id":166383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048d283d8012d0deb00071e0de0002001372a..."} 
[2026-08-28 20:14:46] local.INFO: Packet analysis {"connection_id":166383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048d2"} 
[2026-08-28 20:14:46] local.INFO: Extracted packet for processing {"connection_id":166383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048d2"} 
[2026-08-28 20:14:46] local.INFO: GPS Element Parsed {"raw_longitude":755886848,"raw_latitude":119410144,"longitude_deg":75.5886848,"latitude_deg":11.9410144,"altitude":32,"angle":311,"satellites":42,"speed":5,"hex_longitude":"2d0deb00","hex_latitude":"071e0de0","is_valid_coordinates":true} 
[2026-08-28 20:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709605632001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16114768834199552,"note":"Value kept but may cause issues"} 
[2026-08-28 20:14:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1003106478821517312,"note":"Value kept but may cause issues"} 
[2026-08-28 20:14:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787928151000,"timestamp_ms":1787928151000,"timestamp_seconds":1787928151,"priority":1,"record_length":96,"hex_timestamp":"000001a048d283d8"} 
[2026-08-28 20:14:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:14:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-28 20:14:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:14:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:14:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":166383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":166383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":166383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:14: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-28 20:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709605632001,"66":13504,"237":206,"83":41984,"24":5,"16":16114768834199552,"45":1003106478821517312},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-28 20:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709605632001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:14:46] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-28 20:14:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 20:14:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16114768834199552,"km_value":16114768834199.553,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:14:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1003106478821517312,"description":"Unknown IO ID 45"} 
[2026-08-28 20:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709605632001,"power":13504,"unknown_237":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1003106478821517312}} 
[2026-08-28 20:14:46] local.INFO: DEBUG: GPS processor result {"connection_id":166383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710129,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:14:46] local.INFO: GPS data processed {"connection_id":166383,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:14:46] local.INFO: Acknowledgment sent {"connection_id":166383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:14:47] local.INFO: TCP Data received {"connection_id":166383,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a048d2aae8012d0de7c0071e10c80020012b2b..."} 
[2026-08-28 20:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048d2aae8012d0de7c0071e10c80020012b2b..."} 
[2026-08-28 20:14:47] local.INFO: Processing buffer {"connection_id":166383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048d2aae8012d0de7c0071e10c80020012b2b..."} 
[2026-08-28 20:14:47] local.INFO: Packet analysis {"connection_id":166383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048d2"} 
[2026-08-28 20:14:47] local.INFO: Extracted packet for processing {"connection_id":166383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048d2"} 
[2026-08-28 20:14:47] local.INFO: GPS Element Parsed {"raw_longitude":755886016,"raw_latitude":119410888,"longitude_deg":75.5886016,"latitude_deg":11.9410888,"altitude":32,"angle":299,"satellites":43,"speed":5,"hex_longitude":"2d0de7c0","hex_latitude":"071e10c8","is_valid_coordinates":true} 
[2026-08-28 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-28 20:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709606656001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:14:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16114824668774400,"note":"Value kept but may cause issues"} 
[2026-08-28 20:14:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1002895372589064192,"note":"Value kept but may cause issues"} 
[2026-08-28 20:14:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:14:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787928161000,"timestamp_ms":1787928161000,"timestamp_seconds":1787928161,"priority":1,"record_length":96,"hex_timestamp":"000001a048d2aae8"} 
[2026-08-28 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-28 20:14:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 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":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-28 20:14:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 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-28 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-28 20:14:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:14:47] local.INFO: Teltonika packet parsed successfully {"connection_id":166383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:14:47] local.INFO: Passing IMEI to GPS processor {"connection_id":166383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:14:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":166383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:14: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-28 20:14:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:14:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:14:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709606656001,"66":13493,"237":206,"83":41984,"24":5,"16":16114824668774400,"45":1002895372589064192},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,83,24,16,45]} 
[2026-08-28 20:14:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:14:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:14:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709606656001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:14:47] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-28 20:14:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 20:14:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16114824668774400,"km_value":16114824668774.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:14:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1002895372589064192,"description":"Unknown IO ID 45"} 
[2026-08-28 20:14:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709606656001,"power":13493,"unknown_237":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1002895372589064192}} 
[2026-08-28 20:14:48] local.INFO: DEBUG: GPS processor result {"connection_id":166383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710130,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:14:48] local.INFO: GPS data processed {"connection_id":166383,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:14:48] local.INFO: Acknowledgment sent {"connection_id":166383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:14:56] local.INFO: TCP Data received {"connection_id":166384,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166384,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:14:56] local.INFO: Processing buffer {"connection_id":166384,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:14:56] local.INFO: IMEI packet received {"connection_id":166384,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 20:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":166384,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:15:01] local.INFO: TCP Data received {"connection_id":166384,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166384,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:15:01] local.INFO: Processing buffer {"connection_id":166384,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:15:01] local.INFO: IMEI packet received {"connection_id":166384,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 20:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":166384,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:15:03] local.INFO: TCP Data received {"connection_id":166384,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048cfd070012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048cfd070012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:15:03] local.INFO: Processing buffer {"connection_id":166384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048cfd070012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:15:03] local.INFO: Packet analysis {"connection_id":166384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048cf"} 
[2026-08-28 20:15:03] local.INFO: Extracted packet for processing {"connection_id":166384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048cf"} 
[2026-08-28 20:15:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709484288001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787927974000,"timestamp_ms":1787927974000,"timestamp_seconds":1787927974,"priority":1,"record_length":96,"hex_timestamp":"000001a048cfd070"} 
[2026-08-28 20:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:15:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 20:15:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:15:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":166384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":166384,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":166384,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709484288001,"66":25288,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709484288001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:15:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:15:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709484288001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":166384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710131,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:15:03] local.INFO: GPS data processed {"connection_id":166384,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:15:03] local.INFO: Acknowledgment sent {"connection_id":166384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:15:08] local.INFO: TCP Data received {"connection_id":165029,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048d1dfc8012d34c14006aa4840000c00e62a..."} 
[2026-08-28 20:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048d1dfc8012d34c14006aa4840000c00e62a..."} 
[2026-08-28 20:15:08] local.INFO: Processing buffer {"connection_id":165029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048d1dfc8012d34c14006aa4840000c00e62a..."} 
[2026-08-28 20:15:08] local.INFO: Packet analysis {"connection_id":165029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048d1"} 
[2026-08-28 20:15:08] local.INFO: Extracted packet for processing {"connection_id":165029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048d1"} 
[2026-08-28 20:15:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20: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-28 20:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709518848001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:15:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:15:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787928109000,"timestamp_ms":1787928109000,"timestamp_seconds":1787928109,"priority":1,"record_length":96,"hex_timestamp":"000001a048d1dfc8"} 
[2026-08-28 20: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-28 20:15:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 20:15:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20: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-28 20: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-28 20:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":165029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":165029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":165029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:15:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709518848001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709518848001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:15:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:15:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:15: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-28 20:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709518848001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:15:08] 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":710132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:15:08] local.INFO: GPS data processed {"connection_id":165029,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:15:08] local.INFO: Acknowledgment sent {"connection_id":165029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:15:19] local.INFO: TCP Data received {"connection_id":166383,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a048d45898012d0da1c0071e4648002e013029..."} 
[2026-08-28 20:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048d45898012d0da1c0071e4648002e013029..."} 
[2026-08-28 20:15:19] local.INFO: Processing buffer {"connection_id":166383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048d45898012d0da1c0071e4648002e013029..."} 
[2026-08-28 20:15:19] local.INFO: Packet analysis {"connection_id":166383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048d4"} 
[2026-08-28 20:15:19] local.INFO: Extracted packet for processing {"connection_id":166383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048d4"} 
[2026-08-28 20:15:19] local.INFO: GPS Element Parsed {"raw_longitude":755868096,"raw_latitude":119424584,"longitude_deg":75.5868096,"latitude_deg":11.9424584,"altitude":46,"angle":304,"satellites":41,"speed":6,"hex_longitude":"2d0da1c0","hex_latitude":"071e4648","is_valid_coordinates":true} 
[2026-08-28 20:15:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:15:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709637120001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:15:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16115941360271360,"note":"Value kept but may cause issues"} 
[2026-08-28 20:15:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":982418068037027840,"note":"Value kept but may cause issues"} 
[2026-08-28 20:15:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:15:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787928271000,"timestamp_ms":1787928271000,"timestamp_seconds":1787928271,"priority":1,"record_length":96,"hex_timestamp":"000001a048d45898"} 
[2026-08-28 20:15:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:15:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20:15:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-28 20:15:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:15:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:15:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:15:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:15:19] local.INFO: Teltonika packet parsed successfully {"connection_id":166383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:15:19] local.INFO: Passing IMEI to GPS processor {"connection_id":166383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:15:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":166383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:15:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:15:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:15:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:15:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709637120001,"66":12613,"156":206,"83":41984,"24":6,"16":16115941360271360,"45":982418068037027840},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,83,24,16,45]} 
[2026-08-28 20:15:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:15:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:15:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709637120001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:15:19] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-28 20:15:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 20:15:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16115941360271360,"km_value":16115941360271.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:15:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":982418068037027840,"description":"Unknown IO ID 45"} 
[2026-08-28 20:15:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709637120001,"power":12613,"unknown_156":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":982418068037027840}} 
[2026-08-28 20:15:19] local.INFO: DEBUG: GPS processor result {"connection_id":166383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710133,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:15:19] local.INFO: GPS data processed {"connection_id":166383,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:15:19] local.INFO: Acknowledgment sent {"connection_id":166383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:15:30] local.INFO: TCP Data received {"connection_id":163738,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:15:30] local.INFO: Processing buffer {"connection_id":163738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:15:30] local.INFO: IMEI packet received {"connection_id":163738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 20:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":163738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:15:35] local.INFO: TCP Data received {"connection_id":163738,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:15:35] local.INFO: Processing buffer {"connection_id":163738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:15:35] local.INFO: IMEI packet received {"connection_id":163738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 20:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":163738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:15:35] local.INFO: TCP Data received {"connection_id":166384,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048d46838012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048d46838012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:15:35] local.INFO: Processing buffer {"connection_id":166384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048d46838012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:15:35] local.INFO: Packet analysis {"connection_id":166384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048d4"} 
[2026-08-28 20:15:35] local.INFO: Extracted packet for processing {"connection_id":166384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048d4"} 
[2026-08-28 20:15:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709561344001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:15:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:15:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787928275000,"timestamp_ms":1787928275000,"timestamp_seconds":1787928275,"priority":1,"record_length":96,"hex_timestamp":"000001a048d46838"} 
[2026-08-28 20:15:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:15:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 20:15:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:15:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:15:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":166384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":166384,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":166384,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:15:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709561344001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709561344001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:15:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:15:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:15:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:15:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709561344001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":166384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710134,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:15:35] local.INFO: GPS data processed {"connection_id":166384,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:15:35] local.INFO: Acknowledgment sent {"connection_id":166384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:15:37] local.INFO: TCP Data received {"connection_id":163738,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048d1dfc8012d34c14006aa4840000c00e62a..."} 
[2026-08-28 20:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048d1dfc8012d34c14006aa4840000c00e62a..."} 
[2026-08-28 20:15:37] local.INFO: Processing buffer {"connection_id":163738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048d1dfc8012d34c14006aa4840000c00e62a..."} 
[2026-08-28 20:15:37] local.INFO: Packet analysis {"connection_id":163738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048d1"} 
[2026-08-28 20:15:37] local.INFO: Extracted packet for processing {"connection_id":163738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048d1"} 
[2026-08-28 20:15:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20: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-28 20:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709518848001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787928109000,"timestamp_ms":1787928109000,"timestamp_seconds":1787928109,"priority":1,"record_length":96,"hex_timestamp":"000001a048d1dfc8"} 
[2026-08-28 20: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-28 20:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 20:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20: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-28 20: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-28 20:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709518848001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709518848001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:15:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:15:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:15: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-28 20:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709518848001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:15:37] 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":710135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:15:37] local.INFO: GPS data processed {"connection_id":163738,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:15:37] local.INFO: Acknowledgment sent {"connection_id":163738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:15:42] local.INFO: TCP Data received {"connection_id":166385,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166385,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:15:42] local.INFO: Processing buffer {"connection_id":166385,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:15:42] local.INFO: IMEI packet received {"connection_id":166385,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 20:15:42] local.INFO: IMEI acknowledgment sent {"connection_id":166385,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:15:47] local.INFO: TCP Data received {"connection_id":166385,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166385,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:15:47] local.INFO: Processing buffer {"connection_id":166385,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:15:47] local.INFO: IMEI packet received {"connection_id":166385,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:15:47] local.INFO: IMEI acknowledgment sent {"connection_id":166385,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:15:47] local.INFO: TCP Data received {"connection_id":166385,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a048d46c20012d0d9f40071e4688002f01102a..."} 
[2026-08-28 20:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048d46c20012d0d9f40071e4688002f01102a..."} 
[2026-08-28 20:15:47] local.INFO: Processing buffer {"connection_id":166385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048d46c20012d0d9f40071e4688002f01102a..."} 
[2026-08-28 20:15:47] local.INFO: Packet analysis {"connection_id":166385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048d4"} 
[2026-08-28 20:15:47] local.INFO: Extracted packet for processing {"connection_id":166385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048d4"} 
[2026-08-28 20:15:47] local.INFO: GPS Element Parsed {"raw_longitude":755867456,"raw_latitude":119424648,"longitude_deg":75.5867456,"latitude_deg":11.9424648,"altitude":47,"angle":272,"satellites":42,"speed":7,"hex_longitude":"2d0d9f40","hex_latitude":"071e4688","is_valid_coordinates":true} 
[2026-08-28 20: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-28 20:15:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709637376001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:15:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16115971425042432,"note":"Value kept but may cause issues"} 
[2026-08-28 20:15:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":982277330548705280,"note":"Value kept but may cause issues"} 
[2026-08-28 20:15:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:15:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787928276000,"timestamp_ms":1787928276000,"timestamp_seconds":1787928276,"priority":1,"record_length":96,"hex_timestamp":"000001a048d46c20"} 
[2026-08-28 20:15:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:15:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-28 20:15:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:15:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:15:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:15:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:15:47] local.INFO: Teltonika packet parsed successfully {"connection_id":166385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:15:47] local.INFO: Passing IMEI to GPS processor {"connection_id":166385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:15:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":166385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:15: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-28 20:15:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:15:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:15:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709637376001,"66":12558,"156":206,"83":41984,"24":7,"16":16115971425042432,"45":982277330548705280},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,83,24,16,45]} 
[2026-08-28 20:15:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:15:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:15:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709637376001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:15:47] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-28 20:15:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 20:15:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16115971425042432,"km_value":16115971425042.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:15:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":982277330548705280,"description":"Unknown IO ID 45"} 
[2026-08-28 20:15:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709637376001,"power":12558,"unknown_156":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":982277330548705280}} 
[2026-08-28 20:15:47] local.INFO: DEBUG: GPS processor result {"connection_id":166385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710136,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:15:47] local.INFO: GPS data processed {"connection_id":166385,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:15:47] local.INFO: Acknowledgment sent {"connection_id":166385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:15:56] local.INFO: TCP Data received {"connection_id":164018,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164018,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:15:56] local.INFO: Processing buffer {"connection_id":164018,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:15:56] local.INFO: IMEI packet received {"connection_id":164018,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 20:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":164018,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:16:01] local.INFO: TCP Data received {"connection_id":164018,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164018,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:16:01] local.INFO: Processing buffer {"connection_id":164018,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:16:01] local.INFO: IMEI packet received {"connection_id":164018,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 20:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":164018,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:16:03] local.INFO: TCP Data received {"connection_id":164018,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048d46838012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048d46838012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:16:03] local.INFO: Processing buffer {"connection_id":164018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048d46838012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:16:03] local.INFO: Packet analysis {"connection_id":164018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048d4"} 
[2026-08-28 20:16:03] local.INFO: Extracted packet for processing {"connection_id":164018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048d4"} 
[2026-08-28 20:16:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709561344001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:16:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787928275000,"timestamp_ms":1787928275000,"timestamp_seconds":1787928275,"priority":1,"record_length":96,"hex_timestamp":"000001a048d46838"} 
[2026-08-28 20:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:16:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 20:16:03] 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-28 20:16:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":164018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":164018,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":164018,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:16:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709561344001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709561344001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:16:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:16:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709561344001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":164018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710137,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:16:03] local.INFO: GPS data processed {"connection_id":164018,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:16:03] local.INFO: Acknowledgment sent {"connection_id":164018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:16:08] local.INFO: TCP Data received {"connection_id":163738,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048d1dfc8012d34c14006aa4840000c00e62a..."} 
[2026-08-28 20:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048d1dfc8012d34c14006aa4840000c00e62a..."} 
[2026-08-28 20:16:08] local.INFO: Processing buffer {"connection_id":163738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048d1dfc8012d34c14006aa4840000c00e62a..."} 
[2026-08-28 20:16:08] local.INFO: Packet analysis {"connection_id":163738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048d1"} 
[2026-08-28 20:16:08] local.INFO: Extracted packet for processing {"connection_id":163738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048d1"} 
[2026-08-28 20:16:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20: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-28 20:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709518848001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:16:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787928109000,"timestamp_ms":1787928109000,"timestamp_seconds":1787928109,"priority":1,"record_length":96,"hex_timestamp":"000001a048d1dfc8"} 
[2026-08-28 20:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:16:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 20:16:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:16:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709518848001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709518848001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:16:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:16:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:16: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-28 20:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709518848001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:16:09] 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":710138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:16:09] local.INFO: GPS data processed {"connection_id":163738,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:16:09] local.INFO: Acknowledgment sent {"connection_id":163738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:16:18] local.INFO: TCP Data received {"connection_id":166385,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a048d47bc0012d0d9b00071e4720002f011b2a..."} 
[2026-08-28 20:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048d47bc0012d0d9b00071e4720002f011b2a..."} 
[2026-08-28 20:16:18] local.INFO: Processing buffer {"connection_id":166385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048d47bc0012d0d9b00071e4720002f011b2a..."} 
[2026-08-28 20:16:18] local.INFO: Packet analysis {"connection_id":166385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048d4"} 
[2026-08-28 20:16:18] local.INFO: Extracted packet for processing {"connection_id":166385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048d4"} 
[2026-08-28 20:16:18] local.INFO: GPS Element Parsed {"raw_longitude":755866368,"raw_latitude":119424800,"longitude_deg":75.5866368,"latitude_deg":11.94248,"altitude":47,"angle":283,"satellites":42,"speed":12,"hex_longitude":"2d0d9b00","hex_latitude":"071e4720","is_valid_coordinates":true} 
[2026-08-28 20:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:16:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709638656001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:16:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16116022964649984,"note":"Value kept but may cause issues"} 
[2026-08-28 20:16:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":981573643106945024,"note":"Value kept but may cause issues"} 
[2026-08-28 20:16:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:16:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787928280000,"timestamp_ms":1787928280000,"timestamp_seconds":1787928280,"priority":1,"record_length":96,"hex_timestamp":"000001a048d47bc0"} 
[2026-08-28 20:16:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:16:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-28 20:16:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-28 20:16:18] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-28 20:16:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-28 20:16:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3246439747645486592,"note":"Value kept but may cause issues"} 
[2026-08-28 20:16:18] local.WARNING: Large IO value detected {"io_id":72,"raw_value":3560527873,"note":"Value kept but may cause issues"} 
[2026-08-28 20:16:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1930100942,"corrected_to":0} 
[2026-08-28 20:16:18] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3338718579,"note":"Value kept but may cause issues"} 
[2026-08-28 20:16:18] local.WARNING: Large IO value detected {"io_id":6,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-08-28 20:16:18] local.WARNING: Large IO value detected {"io_id":115,"raw_value":792860393046284288,"note":"Value kept but may cause issues"} 
[2026-08-28 20:16:18] local.WARNING: Large IO value detected {"io_id":91,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-28 20:16:18] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304408174594,"note":"Value kept but may cause issues"} 
[2026-08-28 20:16:18] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,156,83,24,241,157,16,65,160,88,45,192,70,46,41,10,66,84,64,69,47,42,76,128,1,240,238,227,72,30,4,113,205,167,43,239,49,11,2,57,7,6,115,91,206],"length":575,"final_offset":705,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1930100942,"validated":0}]} 
[2026-08-28 20:16:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3387006167334453248,"timestamp_seconds":3387006167334453.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 20:16:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:16:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:16:18] local.INFO: Teltonika packet parsed successfully {"connection_id":166385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:16:18] local.INFO: Passing IMEI to GPS processor {"connection_id":166385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:16:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":166385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:16: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-28 20:16:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:16:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:16:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709638656001,"66":12461,"156":206,"83":41984,"24":12,"16":16116022964649984,"45":981573643106945024},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,83,24,16,45]} 
[2026-08-28 20:16:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:16:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:16:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709638656001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:16:18] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-28 20:16:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 20:16:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16116022964649984,"km_value":16116022964649.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:16:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":981573643106945024,"description":"Unknown IO ID 45"} 
[2026-08-28 20:16:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709638656001,"power":12461,"unknown_156":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":981573643106945024}} 
[2026-08-28 20:16:18] local.INFO: DEBUG: GPS processor result {"connection_id":166385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710139,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:16:18] local.INFO: GPS data processed {"connection_id":166385,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:16:18] local.INFO: Acknowledgment sent {"connection_id":166385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:16:29] local.INFO: TCP Data received {"connection_id":166386,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:16:29] local.INFO: Processing buffer {"connection_id":166386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:16:29] local.INFO: IMEI packet received {"connection_id":166386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 20:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":166386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:16:34] local.INFO: TCP Data received {"connection_id":164018,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048d46838012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048d46838012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:16:34] local.INFO: Processing buffer {"connection_id":164018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048d46838012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:16:34] local.INFO: Packet analysis {"connection_id":164018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048d4"} 
[2026-08-28 20:16:34] local.INFO: Extracted packet for processing {"connection_id":164018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048d4"} 
[2026-08-28 20:16:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709561344001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:16:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:16:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787928275000,"timestamp_ms":1787928275000,"timestamp_seconds":1787928275,"priority":1,"record_length":96,"hex_timestamp":"000001a048d46838"} 
[2026-08-28 20:16:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:16:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 20:16:34] 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-28 20:16:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:16:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":164018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":164018,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":164018,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:16:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:16:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709561344001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:16:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:16:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:16:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709561344001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:16:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:16:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:16:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:16:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:16:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709561344001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:16:34] local.INFO: DEBUG: GPS processor result {"connection_id":164018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710140,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:16:34] local.INFO: GPS data processed {"connection_id":164018,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:16:34] local.INFO: Acknowledgment sent {"connection_id":164018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:16:35] local.INFO: TCP Data received {"connection_id":166386,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:16:35] local.INFO: Processing buffer {"connection_id":166386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:16:35] local.INFO: IMEI packet received {"connection_id":166386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 20:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":166386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:16:36] local.INFO: TCP Data received {"connection_id":166386,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048d1dfc8012d34c14006aa4840000c00e62a..."} 
[2026-08-28 20:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048d1dfc8012d34c14006aa4840000c00e62a..."} 
[2026-08-28 20:16:36] local.INFO: Processing buffer {"connection_id":166386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048d1dfc8012d34c14006aa4840000c00e62a..."} 
[2026-08-28 20:16:36] local.INFO: Packet analysis {"connection_id":166386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048d1"} 
[2026-08-28 20:16:36] local.INFO: Extracted packet for processing {"connection_id":166386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048d1"} 
[2026-08-28 20:16:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709518848001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787928109000,"timestamp_ms":1787928109000,"timestamp_seconds":1787928109,"priority":1,"record_length":96,"hex_timestamp":"000001a048d1dfc8"} 
[2026-08-28 20:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 20:16:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:16:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":166386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":166386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":166386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709518848001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709518848001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:16:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:16:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709518848001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":166386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:16:36] local.INFO: GPS data processed {"connection_id":166386,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:16:36] local.INFO: Acknowledgment sent {"connection_id":166386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:16:42] local.INFO: TCP Data received {"connection_id":163739,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163739,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:16:42] local.INFO: Processing buffer {"connection_id":163739,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:16:42] local.INFO: IMEI packet received {"connection_id":163739,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 20:16:42] local.INFO: IMEI acknowledgment sent {"connection_id":163739,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:16:46] local.INFO: TCP Data received {"connection_id":163739,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163739,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:16:46] local.INFO: Processing buffer {"connection_id":163739,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:16:46] local.INFO: IMEI packet received {"connection_id":163739,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":163739,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:16:47] local.INFO: TCP Data received {"connection_id":163739,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a048d4cdc8012d0d8000071e4cb8002f01162a..."} 
[2026-08-28 20:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048d4cdc8012d0d8000071e4cb8002f01162a..."} 
[2026-08-28 20:16:47] local.INFO: Processing buffer {"connection_id":163739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048d4cdc8012d0d8000071e4cb8002f01162a..."} 
[2026-08-28 20:16:47] local.INFO: Packet analysis {"connection_id":163739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048d4"} 
[2026-08-28 20:16:47] local.INFO: Extracted packet for processing {"connection_id":163739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048d4"} 
[2026-08-28 20:16:47] local.INFO: GPS Element Parsed {"raw_longitude":755859456,"raw_latitude":119426232,"longitude_deg":75.5859456,"latitude_deg":11.9426232,"altitude":47,"angle":278,"satellites":42,"speed":11,"hex_longitude":"2d0d8000","hex_latitude":"071e4cb8","is_valid_coordinates":true} 
[2026-08-28 20:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:16:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709639680001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:16:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16116362267066368,"note":"Value kept but may cause issues"} 
[2026-08-28 20:16:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":980377374455963648,"note":"Value kept but may cause issues"} 
[2026-08-28 20:16:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:16:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787928301000,"timestamp_ms":1787928301000,"timestamp_seconds":1787928301,"priority":1,"record_length":96,"hex_timestamp":"000001a048d4cdc8"} 
[2026-08-28 20:16:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:16:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 20:16:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:16:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:16:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:16:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:16:47] local.INFO: Teltonika packet parsed successfully {"connection_id":163739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:16:47] local.INFO: Passing IMEI to GPS processor {"connection_id":163739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:16:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":163739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:16: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-28 20:16:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:16:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:16:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709639680001,"66":13352,"156":206,"83":41984,"24":11,"16":16116362267066368,"45":980377374455963648},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,83,24,16,45]} 
[2026-08-28 20:16:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:16:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:16:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709639680001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:16:47] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-28 20:16:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 20:16:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16116362267066368,"km_value":16116362267066.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:16:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":980377374455963648,"description":"Unknown IO ID 45"} 
[2026-08-28 20:16:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709639680001,"power":13352,"unknown_156":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":980377374455963648}} 
[2026-08-28 20:16:47] 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":710142,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:16:47] local.INFO: GPS data processed {"connection_id":163739,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:16:47] local.INFO: Acknowledgment sent {"connection_id":163739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:16:56] local.INFO: TCP Data received {"connection_id":164019,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164019,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:16:56] local.INFO: Processing buffer {"connection_id":164019,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:16:56] local.INFO: IMEI packet received {"connection_id":164019,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 20:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":164019,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:17:01] local.INFO: TCP Data received {"connection_id":164019,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164019,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:17:01] local.INFO: Processing buffer {"connection_id":164019,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:17:01] local.INFO: IMEI packet received {"connection_id":164019,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 20:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":164019,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:17:03] local.INFO: TCP Data received {"connection_id":164019,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048d46838012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048d46838012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:17:03] local.INFO: Processing buffer {"connection_id":164019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048d46838012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:17:03] local.INFO: Packet analysis {"connection_id":164019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048d4"} 
[2026-08-28 20:17:03] local.INFO: Extracted packet for processing {"connection_id":164019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048d4"} 
[2026-08-28 20:17:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709561344001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787928275000,"timestamp_ms":1787928275000,"timestamp_seconds":1787928275,"priority":1,"record_length":96,"hex_timestamp":"000001a048d46838"} 
[2026-08-28 20:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:17:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 20:17:03] 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-28 20:17:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":164019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":164019,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":164019,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:17:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709561344001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709561344001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:17:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:17:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709561344001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":164019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710143,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:17:03] local.INFO: GPS data processed {"connection_id":164019,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:17:03] local.INFO: Acknowledgment sent {"connection_id":164019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:17:08] local.INFO: TCP Data received {"connection_id":166386,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048d1dfc8012d34c14006aa4840000c00e62a..."} 
[2026-08-28 20:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048d1dfc8012d34c14006aa4840000c00e62a..."} 
[2026-08-28 20:17:08] local.INFO: Processing buffer {"connection_id":166386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048d1dfc8012d34c14006aa4840000c00e62a..."} 
[2026-08-28 20:17:08] local.INFO: Packet analysis {"connection_id":166386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048d1"} 
[2026-08-28 20:17:08] local.INFO: Extracted packet for processing {"connection_id":166386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048d1"} 
[2026-08-28 20:17:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20: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-28 20:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709518848001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787928109000,"timestamp_ms":1787928109000,"timestamp_seconds":1787928109,"priority":1,"record_length":96,"hex_timestamp":"000001a048d1dfc8"} 
[2026-08-28 20: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-28 20:17:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 20:17:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20: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-28 20: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-28 20:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":166386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":166386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":166386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709518848001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709518848001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:17:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:17:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:17: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-28 20:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709518848001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":166386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:17:08] local.INFO: GPS data processed {"connection_id":166386,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:17:08] local.INFO: Acknowledgment sent {"connection_id":166386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:17:18] local.INFO: TCP Data received {"connection_id":163739,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a048d4ed08012d0d7440071e5038002c012329..."} 
[2026-08-28 20:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048d4ed08012d0d7440071e5038002c012329..."} 
[2026-08-28 20:17:18] local.INFO: Processing buffer {"connection_id":163739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048d4ed08012d0d7440071e5038002c012329..."} 
[2026-08-28 20:17:18] local.INFO: Packet analysis {"connection_id":163739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048d4"} 
[2026-08-28 20:17:18] local.INFO: Extracted packet for processing {"connection_id":163739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048d4"} 
[2026-08-28 20:17:18] local.INFO: GPS Element Parsed {"raw_longitude":755856448,"raw_latitude":119427128,"longitude_deg":75.5856448,"latitude_deg":11.9427128,"altitude":44,"angle":291,"satellites":41,"speed":17,"hex_longitude":"2d0d7440","hex_latitude":"071e5038","is_valid_coordinates":true} 
[2026-08-28 20:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:17:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709645056001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:17:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16116508295954432,"note":"Value kept but may cause issues"} 
[2026-08-28 20:17:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":972777550085142528,"note":"Value kept but may cause issues"} 
[2026-08-28 20:17:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:17:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787928309000,"timestamp_ms":1787928309000,"timestamp_seconds":1787928309,"priority":1,"record_length":96,"hex_timestamp":"000001a048d4ed08"} 
[2026-08-28 20:17:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:17:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-28 20:17:18] 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-28 20:17:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:17:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:17:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:17:18] local.INFO: Teltonika packet parsed successfully {"connection_id":163739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:17:18] local.INFO: Passing IMEI to GPS processor {"connection_id":163739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:17:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":163739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:17: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-28 20:17:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:17:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:17:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709645056001,"66":12580,"156":206,"83":41984,"24":17,"16":16116508295954432,"45":972777550085142528},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,83,24,16,45]} 
[2026-08-28 20:17:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:17:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:17:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709645056001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:17:18] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-28 20:17:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 20:17:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16116508295954432,"km_value":16116508295954.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:17:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":972777550085142528,"description":"Unknown IO ID 45"} 
[2026-08-28 20:17:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709645056001,"power":12580,"unknown_156":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":972777550085142528}} 
[2026-08-28 20:17:18] 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":710145,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:17:18] local.INFO: GPS data processed {"connection_id":163739,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:17:18] local.INFO: Acknowledgment sent {"connection_id":163739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:17:35] local.INFO: TCP Data received {"connection_id":164019,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048d46838012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048d46838012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:17:35] local.INFO: Processing buffer {"connection_id":164019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048d46838012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:17:35] local.INFO: Packet analysis {"connection_id":164019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048d4"} 
[2026-08-28 20:17:35] local.INFO: Extracted packet for processing {"connection_id":164019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048d4"} 
[2026-08-28 20:17:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:17:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709561344001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:17:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:17:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:17:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:17:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787928275000,"timestamp_ms":1787928275000,"timestamp_seconds":1787928275,"priority":1,"record_length":96,"hex_timestamp":"000001a048d46838"} 
[2026-08-28 20:17:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:17:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 20:17:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:17:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:17:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:17:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:17:35] local.INFO: Teltonika packet parsed successfully {"connection_id":164019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:17:35] local.INFO: Passing IMEI to GPS processor {"connection_id":164019,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:17:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":164019,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:17:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:17:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:17:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:17:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709561344001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:17:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:17:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:17:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709561344001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:17:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:17:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:17:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:17:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:17:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709561344001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:17:35] local.INFO: DEBUG: GPS processor result {"connection_id":164019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710146,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:17:35] local.INFO: GPS data processed {"connection_id":164019,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:17:35] local.INFO: Acknowledgment sent {"connection_id":164019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:17:35] local.INFO: TCP Data received {"connection_id":166387,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:17:35] local.INFO: Processing buffer {"connection_id":166387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:17:35] local.INFO: IMEI packet received {"connection_id":166387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 20:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":166387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:17:40] local.INFO: TCP Data received {"connection_id":166387,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:17:40] local.INFO: Processing buffer {"connection_id":166387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:17:40] local.INFO: IMEI packet received {"connection_id":166387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 20:17:40] local.INFO: IMEI acknowledgment sent {"connection_id":166387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:17:42] local.INFO: TCP Data received {"connection_id":166387,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048d67790012d34c14006aa4840000a00e62a..."} 
[2026-08-28 20:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048d67790012d34c14006aa4840000a00e62a..."} 
[2026-08-28 20:17:42] local.INFO: Processing buffer {"connection_id":166387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048d67790012d34c14006aa4840000a00e62a..."} 
[2026-08-28 20:17:42] local.INFO: Packet analysis {"connection_id":166387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048d6"} 
[2026-08-28 20:17:42] local.INFO: Extracted packet for processing {"connection_id":166387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048d6"} 
[2026-08-28 20:17:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20: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-28 20:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709595904001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:17:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787928410000,"timestamp_ms":1787928410000,"timestamp_seconds":1787928410,"priority":1,"record_length":96,"hex_timestamp":"000001a048d67790"} 
[2026-08-28 20: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-28 20:17:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 20:17: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-28 20: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-28 20: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-28 20:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":166387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":166387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":166387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:17:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709595904001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709595904001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:17:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:17:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20: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-28 20:17:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709595904001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":166387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:17:42] local.INFO: GPS data processed {"connection_id":166387,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:17:42] local.INFO: Acknowledgment sent {"connection_id":166387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:17:42] local.INFO: TCP Data received {"connection_id":165030,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165030,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:17:42] local.INFO: Processing buffer {"connection_id":165030,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:17:42] local.INFO: IMEI packet received {"connection_id":165030,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 20:17:42] local.INFO: IMEI acknowledgment sent {"connection_id":165030,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:17:45] local.INFO: TCP Data received {"connection_id":166387,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048d67790012d34c14006aa4840000a00e62a..."} 
[2026-08-28 20:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048d67790012d34c14006aa4840000a00e62a..."} 
[2026-08-28 20:17:45] local.INFO: Processing buffer {"connection_id":166387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048d67790012d34c14006aa4840000a00e62a..."} 
[2026-08-28 20:17:45] local.INFO: Packet analysis {"connection_id":166387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048d6"} 
[2026-08-28 20:17:45] local.INFO: Extracted packet for processing {"connection_id":166387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048d6"} 
[2026-08-28 20:17:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20: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-28 20:17:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709595904001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:17:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:17:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:17:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:17:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787928410000,"timestamp_ms":1787928410000,"timestamp_seconds":1787928410,"priority":1,"record_length":96,"hex_timestamp":"000001a048d67790"} 
[2026-08-28 20: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-28 20:17:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20: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":233,"data_length":795,"current_offset":136} 
[2026-08-28 20:17: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-28 20: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-28 20: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-28 20:17:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:17:45] local.INFO: Teltonika packet parsed successfully {"connection_id":166387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:17:45] local.INFO: Passing IMEI to GPS processor {"connection_id":166387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:17:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":166387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:17:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:17:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:17:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:17:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709595904001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:17:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:17:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:17:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709595904001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:17:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:17:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20: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-28 20:17:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:17:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709595904001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:17:45] local.INFO: DEBUG: GPS processor result {"connection_id":166387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:17:45] local.INFO: GPS data processed {"connection_id":166387,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:17:45] local.INFO: Acknowledgment sent {"connection_id":166387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:17:47] local.INFO: TCP Data received {"connection_id":165030,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165030,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:17:47] local.INFO: Processing buffer {"connection_id":165030,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:17:47] local.INFO: IMEI packet received {"connection_id":165030,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:17:47] local.INFO: IMEI acknowledgment sent {"connection_id":165030,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:17:48] local.INFO: TCP Data received {"connection_id":165030,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a048d50c48012d0d68c0071e56b00029013128..."} 
[2026-08-28 20:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048d50c48012d0d68c0071e56b00029013128..."} 
[2026-08-28 20:17:48] local.INFO: Processing buffer {"connection_id":165030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048d50c48012d0d68c0071e56b00029013128..."} 
[2026-08-28 20:17:48] local.INFO: Packet analysis {"connection_id":165030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048d5"} 
[2026-08-28 20:17:48] local.INFO: Extracted packet for processing {"connection_id":165030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048d5"} 
[2026-08-28 20:17:48] local.INFO: GPS Element Parsed {"raw_longitude":755853504,"raw_latitude":119428784,"longitude_deg":75.5853504,"latitude_deg":11.9428784,"altitude":41,"angle":305,"satellites":40,"speed":15,"hex_longitude":"2d0d68c0","hex_latitude":"071e56b0","is_valid_coordinates":true} 
[2026-08-28 20: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-28 20:17:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709647104001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:17:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16116671504711680,"note":"Value kept but may cause issues"} 
[2026-08-28 20:17:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":969470219109021696,"note":"Value kept but may cause issues"} 
[2026-08-28 20:17:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:17:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787928317000,"timestamp_ms":1787928317000,"timestamp_seconds":1787928317,"priority":1,"record_length":96,"hex_timestamp":"000001a048d50c48"} 
[2026-08-28 20: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-28 20:17:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20:17:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-08-28 20:17:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20: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-28 20: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-28 20:17:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:17:48] local.INFO: Teltonika packet parsed successfully {"connection_id":165030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:17:48] local.INFO: Passing IMEI to GPS processor {"connection_id":165030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:17:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":165030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:17:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:17:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:17:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:17:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709647104001,"66":12591,"156":206,"83":41984,"24":15,"16":16116671504711680,"45":969470219109021696},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,83,24,16,45]} 
[2026-08-28 20:17:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:17:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:17:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709647104001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:17:48] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-28 20:17:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 20:17:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16116671504711680,"km_value":16116671504711.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:17:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":969470219109021696,"description":"Unknown IO ID 45"} 
[2026-08-28 20:17:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709647104001,"power":12591,"unknown_156":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":969470219109021696}} 
[2026-08-28 20:17:48] 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":710149,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:17:48] local.INFO: GPS data processed {"connection_id":165030,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:17:48] local.INFO: Acknowledgment sent {"connection_id":165030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:17:56] local.INFO: TCP Data received {"connection_id":165031,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165031,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:17:56] local.INFO: Processing buffer {"connection_id":165031,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:17:56] local.INFO: IMEI packet received {"connection_id":165031,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 20:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":165031,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:18:01] local.INFO: TCP Data received {"connection_id":165031,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165031,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:18:01] local.INFO: Processing buffer {"connection_id":165031,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:18:01] local.INFO: IMEI packet received {"connection_id":165031,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 20:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":165031,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:18:03] local.INFO: TCP Data received {"connection_id":165031,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048d46838012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048d46838012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:18:03] local.INFO: Processing buffer {"connection_id":165031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048d46838012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:18:03] local.INFO: Packet analysis {"connection_id":165031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048d4"} 
[2026-08-28 20:18:03] local.INFO: Extracted packet for processing {"connection_id":165031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048d4"} 
[2026-08-28 20:18:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709561344001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:18:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787928275000,"timestamp_ms":1787928275000,"timestamp_seconds":1787928275,"priority":1,"record_length":96,"hex_timestamp":"000001a048d46838"} 
[2026-08-28 20:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:18:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 20:18:03] 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-28 20:18:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":165031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":165031,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":165031,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709561344001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709561344001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:18:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:18:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709561344001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:18:03] 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":710150,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:18:03] local.INFO: GPS data processed {"connection_id":165031,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:18:03] local.INFO: Acknowledgment sent {"connection_id":165031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:18:19] local.INFO: TCP Data received {"connection_id":165030,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a048d55e50012d0d5340071e66d80026013027..."} 
[2026-08-28 20:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048d55e50012d0d5340071e66d80026013027..."} 
[2026-08-28 20:18:19] local.INFO: Processing buffer {"connection_id":165030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048d55e50012d0d5340071e66d80026013027..."} 
[2026-08-28 20:18:19] local.INFO: Packet analysis {"connection_id":165030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048d5"} 
[2026-08-28 20:18:19] local.INFO: Extracted packet for processing {"connection_id":165030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048d5"} 
[2026-08-28 20:18:19] local.INFO: GPS Element Parsed {"raw_longitude":755848000,"raw_latitude":119432920,"longitude_deg":75.5848,"latitude_deg":11.943292,"altitude":38,"angle":304,"satellites":39,"speed":13,"hex_longitude":"2d0d5340","hex_latitude":"071e66d8","is_valid_coordinates":true} 
[2026-08-28 20: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-28 20:18:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709649152001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:18:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16117002217193472,"note":"Value kept but may cause issues"} 
[2026-08-28 20:18:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":966233256877273088,"note":"Value kept but may cause issues"} 
[2026-08-28 20:18:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:18:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787928338000,"timestamp_ms":1787928338000,"timestamp_seconds":1787928338,"priority":1,"record_length":96,"hex_timestamp":"000001a048d55e50"} 
[2026-08-28 20: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-28 20:18:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-28 20:18:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20: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-28 20: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-28 20:18:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:18:19] local.INFO: Teltonika packet parsed successfully {"connection_id":165030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:18:19] local.INFO: Passing IMEI to GPS processor {"connection_id":165030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:18:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":165030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:18:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:18:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:18:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:18:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709649152001,"66":13102,"156":206,"83":41984,"24":13,"16":16117002217193472,"45":966233256877273088},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,83,24,16,45]} 
[2026-08-28 20:18:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:18:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:18:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709649152001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:18:19] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-28 20:18:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 20:18:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16117002217193472,"km_value":16117002217193.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:18:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":966233256877273088,"description":"Unknown IO ID 45"} 
[2026-08-28 20:18:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709649152001,"power":13102,"unknown_156":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":966233256877273088}} 
[2026-08-28 20:18:19] 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":710151,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:18:19] local.INFO: GPS data processed {"connection_id":165030,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:18:19] local.INFO: Acknowledgment sent {"connection_id":165030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:18:29] local.INFO: TCP Data received {"connection_id":165032,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:18:29] local.INFO: Processing buffer {"connection_id":165032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:18:29] local.INFO: IMEI packet received {"connection_id":165032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 20:18:29] local.INFO: IMEI acknowledgment sent {"connection_id":165032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:18:34] local.INFO: TCP Data received {"connection_id":165031,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048d46838012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048d46838012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:18:34] local.INFO: Processing buffer {"connection_id":165031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048d46838012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:18:34] local.INFO: Packet analysis {"connection_id":165031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048d4"} 
[2026-08-28 20:18:34] local.INFO: Extracted packet for processing {"connection_id":165031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048d4"} 
[2026-08-28 20:18:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709561344001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:18:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:18:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787928275000,"timestamp_ms":1787928275000,"timestamp_seconds":1787928275,"priority":1,"record_length":96,"hex_timestamp":"000001a048d46838"} 
[2026-08-28 20:18:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:18:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 20:18:34] 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-28 20:18:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:18:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":165031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":165031,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":165031,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:18:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709561344001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709561344001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:18:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:18:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:18:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709561344001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:18:34] 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":710152,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:18:34] local.INFO: GPS data processed {"connection_id":165031,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:18:34] local.INFO: Acknowledgment sent {"connection_id":165031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:18:35] local.INFO: TCP Data received {"connection_id":165032,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:18:35] local.INFO: Processing buffer {"connection_id":165032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:18:35] local.INFO: IMEI packet received {"connection_id":165032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 20:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":165032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:18:36] local.INFO: TCP Data received {"connection_id":165032,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048d67790012d34c14006aa4840000a00e62a..."} 
[2026-08-28 20:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048d67790012d34c14006aa4840000a00e62a..."} 
[2026-08-28 20:18:36] local.INFO: Processing buffer {"connection_id":165032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048d67790012d34c14006aa4840000a00e62a..."} 
[2026-08-28 20:18:36] local.INFO: Packet analysis {"connection_id":165032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048d6"} 
[2026-08-28 20:18:36] local.INFO: Extracted packet for processing {"connection_id":165032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048d6"} 
[2026-08-28 20:18:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709595904001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787928410000,"timestamp_ms":1787928410000,"timestamp_seconds":1787928410,"priority":1,"record_length":96,"hex_timestamp":"000001a048d67790"} 
[2026-08-28 20:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 20:18:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:18:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":165032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":165032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":165032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709595904001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709595904001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:18:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:18:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709595904001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:18:36] 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":710153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:18:36] local.INFO: GPS data processed {"connection_id":165032,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:18:36] local.INFO: Acknowledgment sent {"connection_id":165032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:18:45] local.INFO: TCP Data received {"connection_id":164020,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164020,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:18:45] local.INFO: Processing buffer {"connection_id":164020,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:18:45] local.INFO: IMEI packet received {"connection_id":164020,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 20:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":164020,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:18:48] local.INFO: TCP Data received {"connection_id":164020,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164020,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:18:48] local.INFO: Processing buffer {"connection_id":164020,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:18:48] local.INFO: IMEI packet received {"connection_id":164020,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":164020,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:18:53] local.INFO: TCP Data received {"connection_id":164020,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164020,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:18:53] local.INFO: Processing buffer {"connection_id":164020,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:18:53] local.INFO: IMEI packet received {"connection_id":164020,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":164020,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:18:53] local.INFO: TCP Data received {"connection_id":164020,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a048d73ec8012d0cbd40071ea780002b00f729..."} 
[2026-08-28 20:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048d73ec8012d0cbd40071ea780002b00f729..."} 
[2026-08-28 20:18:53] local.INFO: Processing buffer {"connection_id":164020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048d73ec8012d0cbd40071ea780002b00f729..."} 
[2026-08-28 20:18:53] local.INFO: Packet analysis {"connection_id":164020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048d7"} 
[2026-08-28 20:18:53] local.INFO: Extracted packet for processing {"connection_id":164020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048d7"} 
[2026-08-28 20:18:53] local.INFO: GPS Element Parsed {"raw_longitude":755809600,"raw_latitude":119449472,"longitude_deg":75.58096,"latitude_deg":11.9449472,"altitude":43,"angle":247,"satellites":41,"speed":15,"hex_longitude":"2d0cbd40","hex_latitude":"071ea780","is_valid_coordinates":true} 
[2026-08-28 20: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-28 20:18:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709684480001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:18:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16119072391430144,"note":"Value kept but may cause issues"} 
[2026-08-28 20:18:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":919789885725612032,"note":"Value kept but may cause issues"} 
[2026-08-28 20:18:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:18:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787928461000,"timestamp_ms":1787928461000,"timestamp_seconds":1787928461,"priority":1,"record_length":96,"hex_timestamp":"000001a048d73ec8"} 
[2026-08-28 20: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-28 20:18:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20: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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-28 20:18:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20: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-28 20: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-28 20:18:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:18:53] local.INFO: Teltonika packet parsed successfully {"connection_id":164020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:18:53] local.INFO: Passing IMEI to GPS processor {"connection_id":164020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:18:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":164020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:18: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-28 20:18:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:18:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:18:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709684480001,"66":13472,"155":206,"83":41984,"24":15,"16":16119072391430144,"45":919789885725612032},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,83,24,16,45]} 
[2026-08-28 20:18:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:18:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:18:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709684480001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:18:53] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-28 20:18:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 20:18:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16119072391430144,"km_value":16119072391430.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:18:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":919789885725612032,"description":"Unknown IO ID 45"} 
[2026-08-28 20:18:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709684480001,"power":13472,"unknown_155":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":919789885725612032}} 
[2026-08-28 20:18:53] local.INFO: DEBUG: GPS processor result {"connection_id":164020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710154,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:18:53] local.INFO: GPS data processed {"connection_id":164020,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:18:53] local.INFO: Acknowledgment sent {"connection_id":164020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:18:56] local.INFO: TCP Data received {"connection_id":166388,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166388,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:18:56] local.INFO: Processing buffer {"connection_id":166388,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:18:56] local.INFO: IMEI packet received {"connection_id":166388,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 20:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":166388,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:18:58] local.INFO: TCP Data received {"connection_id":164020,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a048d74698012d0cba80071ea6b8002c010629..."} 
[2026-08-28 20:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048d74698012d0cba80071ea6b8002c010629..."} 
[2026-08-28 20:18:58] local.INFO: Processing buffer {"connection_id":164020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048d74698012d0cba80071ea6b8002c010629..."} 
[2026-08-28 20:18:58] local.INFO: Packet analysis {"connection_id":164020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048d7"} 
[2026-08-28 20:18:58] local.INFO: Extracted packet for processing {"connection_id":164020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048d7"} 
[2026-08-28 20:18:58] local.INFO: GPS Element Parsed {"raw_longitude":755808896,"raw_latitude":119449272,"longitude_deg":75.5808896,"latitude_deg":11.9449272,"altitude":44,"angle":262,"satellites":41,"speed":15,"hex_longitude":"2d0cba80","hex_latitude":"071ea6b8","is_valid_coordinates":true} 
[2026-08-28 20:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:18:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709686016001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:18:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16119111046135808,"note":"Value kept but may cause issues"} 
[2026-08-28 20:18:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":917960298376691712,"note":"Value kept but may cause issues"} 
[2026-08-28 20:18:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:18:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787928463000,"timestamp_ms":1787928463000,"timestamp_seconds":1787928463,"priority":1,"record_length":96,"hex_timestamp":"000001a048d74698"} 
[2026-08-28 20:18:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:18:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-28 20:18:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:18:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:18:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:18:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:18:58] local.INFO: Teltonika packet parsed successfully {"connection_id":164020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:18:58] local.INFO: Passing IMEI to GPS processor {"connection_id":164020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:18:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":164020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:18:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:18:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:18:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:18:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709686016001,"66":13406,"155":206,"83":41984,"24":15,"16":16119111046135808,"45":917960298376691712},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,83,24,16,45]} 
[2026-08-28 20:18:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:18:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:18:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709686016001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:18:58] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-28 20:18:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 20:18:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16119111046135808,"km_value":16119111046135.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:18:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":917960298376691712,"description":"Unknown IO ID 45"} 
[2026-08-28 20:18:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709686016001,"power":13406,"unknown_155":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":917960298376691712}} 
[2026-08-28 20:18:58] local.INFO: DEBUG: GPS processor result {"connection_id":164020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710155,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:18:58] local.INFO: GPS data processed {"connection_id":164020,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:18:58] local.INFO: Acknowledgment sent {"connection_id":164020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:19:01] local.INFO: TCP Data received {"connection_id":166388,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166388,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:19:01] local.INFO: Processing buffer {"connection_id":166388,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:19:01] local.INFO: IMEI packet received {"connection_id":166388,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 20:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":166388,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:19:02] local.INFO: TCP Data received {"connection_id":166388,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048d46838012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048d46838012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:19:02] local.INFO: Processing buffer {"connection_id":166388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048d46838012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:19:02] local.INFO: Packet analysis {"connection_id":166388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048d4"} 
[2026-08-28 20:19:02] local.INFO: Extracted packet for processing {"connection_id":166388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048d4"} 
[2026-08-28 20:19:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:19:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709561344001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:19:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:19:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:19:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:19:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787928275000,"timestamp_ms":1787928275000,"timestamp_seconds":1787928275,"priority":1,"record_length":96,"hex_timestamp":"000001a048d46838"} 
[2026-08-28 20:19:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:19:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 20:19:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:19:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:19:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:19:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:19:02] local.INFO: Teltonika packet parsed successfully {"connection_id":166388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:19:02] local.INFO: Passing IMEI to GPS processor {"connection_id":166388,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:19:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":166388,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:19:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:19:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:19:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:19:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709561344001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:19:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:19:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:19:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709561344001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:19:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:19:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:19:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:19:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:19:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709561344001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:19:02] local.INFO: DEBUG: GPS processor result {"connection_id":166388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710156,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:19:02] local.INFO: GPS data processed {"connection_id":166388,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:19:02] local.INFO: Acknowledgment sent {"connection_id":166388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:19:08] local.INFO: TCP Data received {"connection_id":165032,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048d67790012d34c14006aa4840000a00e62a..."} 
[2026-08-28 20:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048d67790012d34c14006aa4840000a00e62a..."} 
[2026-08-28 20:19:08] local.INFO: Processing buffer {"connection_id":165032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048d67790012d34c14006aa4840000a00e62a..."} 
[2026-08-28 20:19:08] local.INFO: Packet analysis {"connection_id":165032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048d6"} 
[2026-08-28 20:19:08] local.INFO: Extracted packet for processing {"connection_id":165032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048d6"} 
[2026-08-28 20:19:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709595904001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:19:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787928410000,"timestamp_ms":1787928410000,"timestamp_seconds":1787928410,"priority":1,"record_length":96,"hex_timestamp":"000001a048d67790"} 
[2026-08-28 20:19:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:19:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 20:19:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:19:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:19:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":165032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":165032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":165032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:19:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709595904001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709595904001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:19:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:19:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:19: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-28 20:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709595904001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:19:08] 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":710157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:19:08] local.INFO: GPS data processed {"connection_id":165032,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:19:08] local.INFO: Acknowledgment sent {"connection_id":165032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:19:29] local.INFO: TCP Data received {"connection_id":166389,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:19:29] local.INFO: Processing buffer {"connection_id":166389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:19:29] local.INFO: IMEI packet received {"connection_id":166389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 20:19:29] local.INFO: IMEI acknowledgment sent {"connection_id":166389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:19:34] local.INFO: TCP Data received {"connection_id":166388,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048d46838012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048d46838012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:19:34] local.INFO: Processing buffer {"connection_id":166388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048d46838012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:19:34] local.INFO: Packet analysis {"connection_id":166388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048d4"} 
[2026-08-28 20:19:34] local.INFO: Extracted packet for processing {"connection_id":166388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048d4"} 
[2026-08-28 20:19:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709561344001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:19:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:19:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787928275000,"timestamp_ms":1787928275000,"timestamp_seconds":1787928275,"priority":1,"record_length":96,"hex_timestamp":"000001a048d46838"} 
[2026-08-28 20:19:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:19:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 20:19:34] 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-28 20:19:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:19:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":166388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":166388,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":166388,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:19:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709561344001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709561344001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:19:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:19:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:19:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709561344001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:19:34] local.INFO: DEBUG: GPS processor result {"connection_id":166388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710158,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:19:34] local.INFO: GPS data processed {"connection_id":166388,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:19:34] local.INFO: Acknowledgment sent {"connection_id":166388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:19:35] local.INFO: TCP Data received {"connection_id":166389,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:19:35] local.INFO: Processing buffer {"connection_id":166389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:19:35] local.INFO: IMEI packet received {"connection_id":166389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 20:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":166389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:19:36] local.INFO: TCP Data received {"connection_id":166389,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048d67790012d34c14006aa4840000a00e62a..."} 
[2026-08-28 20:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048d67790012d34c14006aa4840000a00e62a..."} 
[2026-08-28 20:19:36] local.INFO: Processing buffer {"connection_id":166389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048d67790012d34c14006aa4840000a00e62a..."} 
[2026-08-28 20:19:36] local.INFO: Packet analysis {"connection_id":166389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048d6"} 
[2026-08-28 20:19:36] local.INFO: Extracted packet for processing {"connection_id":166389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048d6"} 
[2026-08-28 20:19:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709595904001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787928410000,"timestamp_ms":1787928410000,"timestamp_seconds":1787928410,"priority":1,"record_length":96,"hex_timestamp":"000001a048d67790"} 
[2026-08-28 20:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 20:19:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:19:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":166389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":166389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":166389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709595904001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709595904001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:19:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:19:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709595904001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":166389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:19:36] local.INFO: GPS data processed {"connection_id":166389,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:19:36] local.INFO: Acknowledgment sent {"connection_id":166389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:19:43] local.INFO: TCP Data received {"connection_id":163740,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:19:43] local.INFO: Processing buffer {"connection_id":163740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:19:43] local.INFO: IMEI packet received {"connection_id":163740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 20:19:43] local.INFO: IMEI acknowledgment sent {"connection_id":163740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:19:46] local.INFO: TCP Data received {"connection_id":163740,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:19:46] local.INFO: Processing buffer {"connection_id":163740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:19:46] local.INFO: IMEI packet received {"connection_id":163740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:19:46] local.INFO: IMEI acknowledgment sent {"connection_id":163740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:19:46] local.INFO: TCP Data received {"connection_id":163740,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a048d78ce8012d0c95c0071ea6d80032010e29..."} 
[2026-08-28 20:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048d78ce8012d0c95c0071ea6d80032010e29..."} 
[2026-08-28 20:19:46] local.INFO: Processing buffer {"connection_id":163740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048d78ce8012d0c95c0071ea6d80032010e29..."} 
[2026-08-28 20:19:46] local.INFO: Packet analysis {"connection_id":163740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048d7"} 
[2026-08-28 20:19:46] local.INFO: Extracted packet for processing {"connection_id":163740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048d7"} 
[2026-08-28 20:19:46] local.INFO: GPS Element Parsed {"raw_longitude":755799488,"raw_latitude":119449304,"longitude_deg":75.5799488,"latitude_deg":11.9449304,"altitude":50,"angle":270,"satellites":41,"speed":20,"hex_longitude":"2d0c95c0","hex_latitude":"071ea6d8","is_valid_coordinates":true} 
[2026-08-28 20:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709686528001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16119553427767296,"note":"Value kept but may cause issues"} 
[2026-08-28 20:19:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":917186242190686208,"note":"Value kept but may cause issues"} 
[2026-08-28 20:19:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787928481000,"timestamp_ms":1787928481000,"timestamp_seconds":1787928481,"priority":1,"record_length":96,"hex_timestamp":"000001a048d78ce8"} 
[2026-08-28 20:19:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:19:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-28 20:19:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:19:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:19:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:19: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-28 20:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709686528001,"66":13450,"155":206,"83":41984,"24":20,"16":16119553427767296,"45":917186242190686208},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,83,24,16,45]} 
[2026-08-28 20:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709686528001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:19:46] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-28 20:19:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 20:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16119553427767296,"km_value":16119553427767.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:19:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":917186242190686208,"description":"Unknown IO ID 45"} 
[2026-08-28 20:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709686528001,"power":13450,"unknown_155":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":917186242190686208}} 
[2026-08-28 20:19:47] local.INFO: DEBUG: GPS processor result {"connection_id":163740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710160,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:19:47] local.INFO: GPS data processed {"connection_id":163740,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:19:47] local.INFO: Acknowledgment sent {"connection_id":163740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:19:48] local.INFO: TCP Data received {"connection_id":163740,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a048d7a070012d0c8c40071ea6300032010328..."} 
[2026-08-28 20:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048d7a070012d0c8c40071ea6300032010328..."} 
[2026-08-28 20:19:48] local.INFO: Processing buffer {"connection_id":163740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048d7a070012d0c8c40071ea6300032010328..."} 
[2026-08-28 20:19:48] local.INFO: Packet analysis {"connection_id":163740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048d7"} 
[2026-08-28 20:19:48] local.INFO: Extracted packet for processing {"connection_id":163740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048d7"} 
[2026-08-28 20:19:48] local.INFO: GPS Element Parsed {"raw_longitude":755797056,"raw_latitude":119449136,"longitude_deg":75.5797056,"latitude_deg":11.9449136,"altitude":50,"angle":259,"satellites":40,"speed":15,"hex_longitude":"2d0c8c40","hex_latitude":"071ea630","is_valid_coordinates":true} 
[2026-08-28 20: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-28 20:19:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709691136001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:19:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16119669391884288,"note":"Value kept but may cause issues"} 
[2026-08-28 20:19:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":906842036796577792,"note":"Value kept but may cause issues"} 
[2026-08-28 20:19:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:19:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787928486000,"timestamp_ms":1787928486000,"timestamp_seconds":1787928486,"priority":1,"record_length":96,"hex_timestamp":"000001a048d7a070"} 
[2026-08-28 20: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-28 20:19:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-28 20:19:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20: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-28 20: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-28 20:19:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:19:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:19:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:19:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:19:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:19:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:19:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:19:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709691136001,"66":13341,"155":206,"83":41984,"24":15,"16":16119669391884288,"45":906842036796577792},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,83,24,16,45]} 
[2026-08-28 20:19:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:19:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:19:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709691136001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:19:48] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-28 20:19:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 20:19:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16119669391884288,"km_value":16119669391884.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:19:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":906842036796577792,"description":"Unknown IO ID 45"} 
[2026-08-28 20:19:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709691136001,"power":13341,"unknown_155":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":906842036796577792}} 
[2026-08-28 20:19:48] local.INFO: DEBUG: GPS processor result {"connection_id":163740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710161,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:19:48] local.INFO: GPS data processed {"connection_id":163740,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:19:48] local.INFO: Acknowledgment sent {"connection_id":163740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:20:01] local.INFO: TCP Data received {"connection_id":165033,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165033,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:20:01] local.INFO: Processing buffer {"connection_id":165033,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:20:01] local.INFO: IMEI packet received {"connection_id":165033,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 20:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":165033,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:20:06] local.INFO: TCP Data received {"connection_id":165033,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165033,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:20:06] local.INFO: Processing buffer {"connection_id":165033,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:20:06] local.INFO: IMEI packet received {"connection_id":165033,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 20:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":165033,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:20:08] local.INFO: TCP Data received {"connection_id":165033,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048d46838012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048d46838012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:20:08] local.INFO: Processing buffer {"connection_id":165033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048d46838012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:20:08] local.INFO: Packet analysis {"connection_id":165033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048d4"} 
[2026-08-28 20:20:08] local.INFO: Extracted packet for processing {"connection_id":165033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048d4"} 
[2026-08-28 20:20:08] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709561344001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:20:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787928275000,"timestamp_ms":1787928275000,"timestamp_seconds":1787928275,"priority":1,"record_length":96,"hex_timestamp":"000001a048d46838"} 
[2026-08-28 20:20:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:20:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 20:20:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:20:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:20:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":165033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":165033,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":165033,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:20:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709561344001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709561344001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:20:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:20:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709561344001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:20:08] local.INFO: TCP Data received {"connection_id":166389,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048d67790012d34c14006aa4840000a00e62a..."} 
[2026-08-28 20:20:08] 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":710162,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:20:08] local.INFO: GPS data processed {"connection_id":165033,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:20:08] local.INFO: Acknowledgment sent {"connection_id":165033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048d67790012d34c14006aa4840000a00e62a..."} 
[2026-08-28 20:20:08] local.INFO: Processing buffer {"connection_id":166389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048d67790012d34c14006aa4840000a00e62a..."} 
[2026-08-28 20:20:08] local.INFO: Packet analysis {"connection_id":166389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048d6"} 
[2026-08-28 20:20:08] local.INFO: Extracted packet for processing {"connection_id":166389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048d6"} 
[2026-08-28 20:20:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709595904001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:20:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787928410000,"timestamp_ms":1787928410000,"timestamp_seconds":1787928410,"priority":1,"record_length":96,"hex_timestamp":"000001a048d67790"} 
[2026-08-28 20:20:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:20:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 20:20:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:20:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:20:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":166389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":166389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":166389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:20:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709595904001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709595904001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:20:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:20:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:20: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-28 20:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709595904001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":166389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:20:08] local.INFO: GPS data processed {"connection_id":166389,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:20:08] local.INFO: Acknowledgment sent {"connection_id":166389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:20:12] local.INFO: TCP Data received {"connection_id":165033,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048d46838012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048d46838012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:20:12] local.INFO: Processing buffer {"connection_id":165033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048d46838012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:20:12] local.INFO: Packet analysis {"connection_id":165033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048d4"} 
[2026-08-28 20:20:12] local.INFO: Extracted packet for processing {"connection_id":165033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048d4"} 
[2026-08-28 20:20:12] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:20:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709561344001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:20:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:20:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:20:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:20:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787928275000,"timestamp_ms":1787928275000,"timestamp_seconds":1787928275,"priority":1,"record_length":96,"hex_timestamp":"000001a048d46838"} 
[2026-08-28 20:20:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:20:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 20:20:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:20:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:20:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:20:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:20:12] local.INFO: Teltonika packet parsed successfully {"connection_id":165033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:20:12] local.INFO: Passing IMEI to GPS processor {"connection_id":165033,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:20:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":165033,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:20:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:20:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:20:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:20:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709561344001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:20:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:20:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:20:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709561344001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:20:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:20:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:20:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:20:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:20:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709561344001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:20:12] 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":710164,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:20:12] local.INFO: GPS data processed {"connection_id":165033,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:20:12] local.INFO: Acknowledgment sent {"connection_id":165033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:20:19] local.INFO: TCP Data received {"connection_id":163740,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a048d8e890012d0c2080071ee0b0003101562a..."} 
[2026-08-28 20:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048d8e890012d0c2080071ee0b0003101562a..."} 
[2026-08-28 20:20:19] local.INFO: Processing buffer {"connection_id":163740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048d8e890012d0c2080071ee0b0003101562a..."} 
[2026-08-28 20:20:19] local.INFO: Packet analysis {"connection_id":163740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048d8"} 
[2026-08-28 20:20:19] local.INFO: Extracted packet for processing {"connection_id":163740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048d8"} 
[2026-08-28 20:20:19] local.INFO: GPS Element Parsed {"raw_longitude":755769472,"raw_latitude":119464112,"longitude_deg":75.5769472,"latitude_deg":11.9464112,"altitude":49,"angle":342,"satellites":42,"speed":35,"hex_longitude":"2d0c2080","hex_latitude":"071ee0b0","is_valid_coordinates":true} 
[2026-08-28 20:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:20:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709713920001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:20:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16121705206382592,"note":"Value kept but may cause issues"} 
[2026-08-28 20:20:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":873839095781044224,"note":"Value kept but may cause issues"} 
[2026-08-28 20:20:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:20:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787928570000,"timestamp_ms":1787928570000,"timestamp_seconds":1787928570,"priority":1,"record_length":96,"hex_timestamp":"000001a048d8e890"} 
[2026-08-28 20:20:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:20:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-28 20:20:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:20:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:20:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:20:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:20:19] local.INFO: Teltonika packet parsed successfully {"connection_id":163740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:20:19] local.INFO: Passing IMEI to GPS processor {"connection_id":163740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:20:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":163740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:20:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:20:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:20:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:20:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709713920001,"66":12428,"242":206,"83":41984,"24":35,"16":16121705206382592,"45":873839095781044224},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,83,24,16,45]} 
[2026-08-28 20:20:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:20:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:20:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709713920001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:20:19] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-08-28 20:20:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 20:20:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16121705206382592,"km_value":16121705206382.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:20:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":873839095781044224,"description":"Unknown IO ID 45"} 
[2026-08-28 20:20:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709713920001,"power":12428,"unknown_242":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":873839095781044224}} 
[2026-08-28 20:20:19] local.INFO: DEBUG: GPS processor result {"connection_id":163740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710165,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:20:19] local.INFO: GPS data processed {"connection_id":163740,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:20:19] local.INFO: Acknowledgment sent {"connection_id":163740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:20:35] local.INFO: TCP Data received {"connection_id":164021,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:20:35] local.INFO: Processing buffer {"connection_id":164021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:20:35] local.INFO: IMEI packet received {"connection_id":164021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 20:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":164021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:20:39] local.INFO: TCP Data received {"connection_id":164022,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164022,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:20:39] local.INFO: Processing buffer {"connection_id":164022,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:20:39] local.INFO: IMEI packet received {"connection_id":164022,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 20:20:39] local.INFO: IMEI acknowledgment sent {"connection_id":164022,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:20:40] local.INFO: TCP Data received {"connection_id":164021,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:20:40] local.INFO: Processing buffer {"connection_id":164021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:20:40] local.INFO: IMEI packet received {"connection_id":164021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 20:20:40] local.INFO: IMEI acknowledgment sent {"connection_id":164021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:20:41] local.INFO: TCP Data received {"connection_id":164021,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048d67790012d34c14006aa4840000a00e62a..."} 
[2026-08-28 20:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048d67790012d34c14006aa4840000a00e62a..."} 
[2026-08-28 20:20:41] local.INFO: Processing buffer {"connection_id":164021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048d67790012d34c14006aa4840000a00e62a..."} 
[2026-08-28 20:20:41] local.INFO: Packet analysis {"connection_id":164021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048d6"} 
[2026-08-28 20:20:41] local.INFO: Extracted packet for processing {"connection_id":164021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048d6"} 
[2026-08-28 20:20:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20: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-28 20:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709595904001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:20:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:20:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787928410000,"timestamp_ms":1787928410000,"timestamp_seconds":1787928410,"priority":1,"record_length":96,"hex_timestamp":"000001a048d67790"} 
[2026-08-28 20: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-28 20:20:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 20:20: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-28 20: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-28 20: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-28 20:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":164021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":164021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":164021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:20:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709595904001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709595904001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:20:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:20:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20: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-28 20:20:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:20:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709595904001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:20:41] local.INFO: DEBUG: GPS processor result {"connection_id":164021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:20:41] local.INFO: GPS data processed {"connection_id":164021,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:20:41] local.INFO: Acknowledgment sent {"connection_id":164021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:20:43] local.INFO: TCP Data received {"connection_id":164022,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164022,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:20:43] local.INFO: Processing buffer {"connection_id":164022,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:20:43] local.INFO: IMEI packet received {"connection_id":164022,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:20:43] local.INFO: IMEI acknowledgment sent {"connection_id":164022,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:20:45] local.INFO: TCP Data received {"connection_id":164022,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164022,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:20:45] local.INFO: Processing buffer {"connection_id":164022,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:20:45] local.INFO: IMEI packet received {"connection_id":164022,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":164022,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:20:46] local.INFO: TCP Data received {"connection_id":164021,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048d67790012d34c14006aa4840000a00e62a..."} 
[2026-08-28 20:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048d67790012d34c14006aa4840000a00e62a..."} 
[2026-08-28 20:20:46] local.INFO: Processing buffer {"connection_id":164021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048d67790012d34c14006aa4840000a00e62a..."} 
[2026-08-28 20:20:46] local.INFO: Packet analysis {"connection_id":164021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048d6"} 
[2026-08-28 20:20:46] local.INFO: Extracted packet for processing {"connection_id":164021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048d6"} 
[2026-08-28 20:20:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:20:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709595904001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:20:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:20:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:20:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:20:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787928410000,"timestamp_ms":1787928410000,"timestamp_seconds":1787928410,"priority":1,"record_length":96,"hex_timestamp":"000001a048d67790"} 
[2026-08-28 20:20:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:20:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 20:20: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-28 20:20:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:20:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:20:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:20:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:20:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:20:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:20:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:20:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:20:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:20:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709595904001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:20:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:20:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:20:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709595904001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:20:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:20:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:20: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-28 20:20:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:20:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709595904001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:20:46] local.INFO: DEBUG: GPS processor result {"connection_id":164021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:20:46] local.INFO: GPS data processed {"connection_id":164021,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:20:46] local.INFO: Acknowledgment sent {"connection_id":164021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:20:46] local.INFO: TCP Data received {"connection_id":164022,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a048d8ec78012d0c1f00071ee3f80031014b2a..."} 
[2026-08-28 20:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048d8ec78012d0c1f00071ee3f80031014b2a..."} 
[2026-08-28 20:20:46] local.INFO: Processing buffer {"connection_id":164022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048d8ec78012d0c1f00071ee3f80031014b2a..."} 
[2026-08-28 20:20:46] local.INFO: Packet analysis {"connection_id":164022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048d8"} 
[2026-08-28 20:20:46] local.INFO: Extracted packet for processing {"connection_id":164022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048d8"} 
[2026-08-28 20:20:46] local.INFO: GPS Element Parsed {"raw_longitude":755769088,"raw_latitude":119464952,"longitude_deg":75.5769088,"latitude_deg":11.9464952,"altitude":49,"angle":331,"satellites":42,"speed":35,"hex_longitude":"2d0c1f00","hex_latitude":"071ee3f8","is_valid_coordinates":true} 
[2026-08-28 20:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:20:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709713920001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:20:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16121748156055552,"note":"Value kept but may cause issues"} 
[2026-08-28 20:20:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":873839095781044224,"note":"Value kept but may cause issues"} 
[2026-08-28 20:20:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:20:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787928571000,"timestamp_ms":1787928571000,"timestamp_seconds":1787928571,"priority":1,"record_length":96,"hex_timestamp":"000001a048d8ec78"} 
[2026-08-28 20:20:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:20:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-28 20:20:46] 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-28 20:20:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:20:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:20:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:20:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:20:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:20:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:20: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-28 20:20:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:20:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:20:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709713920001,"66":12428,"242":206,"83":41984,"24":35,"16":16121748156055552,"45":873839095781044224},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,83,24,16,45]} 
[2026-08-28 20:20:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:20:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:20:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709713920001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:20:46] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-08-28 20:20:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 20:20:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16121748156055552,"km_value":16121748156055.553,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:20:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":873839095781044224,"description":"Unknown IO ID 45"} 
[2026-08-28 20:20:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709713920001,"power":12428,"unknown_242":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":873839095781044224}} 
[2026-08-28 20:20:46] local.INFO: DEBUG: GPS processor result {"connection_id":164022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710168,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:20:46] local.INFO: GPS data processed {"connection_id":164022,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:20:46] local.INFO: Acknowledgment sent {"connection_id":164022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:20:56] local.INFO: TCP Data received {"connection_id":165034,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165034,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:20:56] local.INFO: Processing buffer {"connection_id":165034,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:20:56] local.INFO: IMEI packet received {"connection_id":165034,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 20:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":165034,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:21:01] local.INFO: TCP Data received {"connection_id":165034,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165034,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:21:01] local.INFO: Processing buffer {"connection_id":165034,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:21:01] local.INFO: IMEI packet received {"connection_id":165034,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 20:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":165034,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:21:02] local.INFO: TCP Data received {"connection_id":165034,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048d90000012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048d90000012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:21:02] local.INFO: Processing buffer {"connection_id":165034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048d90000012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:21:02] local.INFO: Packet analysis {"connection_id":165034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048d9"} 
[2026-08-28 20:21:02] local.INFO: Extracted packet for processing {"connection_id":165034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048d9"} 
[2026-08-28 20:21:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709638400001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:21:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:21:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787928576000,"timestamp_ms":1787928576000,"timestamp_seconds":1787928576,"priority":1,"record_length":96,"hex_timestamp":"000001a048d90000"} 
[2026-08-28 20:21:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:21:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 20:21:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:21:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:21:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":165034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":165034,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":165034,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:21:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709638400001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709638400001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:21:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:21:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:21:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:21:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709638400001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:21:03] 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":710169,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:21:03] local.INFO: GPS data processed {"connection_id":165034,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:21:03] local.INFO: Acknowledgment sent {"connection_id":165034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:21:17] local.INFO: TCP Data received {"connection_id":164022,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a048d8f060012d0c1d00071ee6d80031013f2a..."} 
[2026-08-28 20:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048d8f060012d0c1d00071ee6d80031013f2a..."} 
[2026-08-28 20:21:17] local.INFO: Processing buffer {"connection_id":164022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048d8f060012d0c1d00071ee6d80031013f2a..."} 
[2026-08-28 20:21:17] local.INFO: Packet analysis {"connection_id":164022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048d8"} 
[2026-08-28 20:21:17] local.INFO: Extracted packet for processing {"connection_id":164022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048d8"} 
[2026-08-28 20:21:17] local.INFO: GPS Element Parsed {"raw_longitude":755768576,"raw_latitude":119465688,"longitude_deg":75.5768576,"latitude_deg":11.9465688,"altitude":49,"angle":319,"satellites":42,"speed":34,"hex_longitude":"2d0c1d00","hex_latitude":"071ee6d8","is_valid_coordinates":true} 
[2026-08-28 20: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-28 20:21:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709714176001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:21:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16121791105728512,"note":"Value kept but may cause issues"} 
[2026-08-28 20:21:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":873416883316193280,"note":"Value kept but may cause issues"} 
[2026-08-28 20:21:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:21:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787928572000,"timestamp_ms":1787928572000,"timestamp_seconds":1787928572,"priority":1,"record_length":96,"hex_timestamp":"000001a048d8f060"} 
[2026-08-28 20: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-28 20:21:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-28 20:21:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20: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-28 20: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-28 20:21:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:21:17] local.INFO: Teltonika packet parsed successfully {"connection_id":164022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:21:17] local.INFO: Passing IMEI to GPS processor {"connection_id":164022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:21:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":164022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:21: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-28 20:21:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:21:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:21:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709714176001,"66":12428,"242":206,"83":41984,"24":34,"16":16121791105728512,"45":873416883316193280},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,83,24,16,45]} 
[2026-08-28 20:21:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:21:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:21:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709714176001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:21:17] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-08-28 20:21:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 20:21:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16121791105728512,"km_value":16121791105728.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:21:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":873416883316193280,"description":"Unknown IO ID 45"} 
[2026-08-28 20:21:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709714176001,"power":12428,"unknown_242":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":873416883316193280}} 
[2026-08-28 20:21:17] local.INFO: DEBUG: GPS processor result {"connection_id":164022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710170,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:21:17] local.INFO: GPS data processed {"connection_id":164022,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:21:17] local.INFO: Acknowledgment sent {"connection_id":164022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:21:30] local.INFO: TCP Data received {"connection_id":163741,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:21:30] local.INFO: Processing buffer {"connection_id":163741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:21:30] local.INFO: IMEI packet received {"connection_id":163741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 20:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":163741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:21:35] local.INFO: TCP Data received {"connection_id":165034,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048d90000012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048d90000012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:21:35] local.INFO: Processing buffer {"connection_id":165034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048d90000012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:21:35] local.INFO: Packet analysis {"connection_id":165034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048d9"} 
[2026-08-28 20:21:35] local.INFO: Extracted packet for processing {"connection_id":165034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048d9"} 
[2026-08-28 20:21:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:21:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709638400001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:21:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:21:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:21:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:21:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787928576000,"timestamp_ms":1787928576000,"timestamp_seconds":1787928576,"priority":1,"record_length":96,"hex_timestamp":"000001a048d90000"} 
[2026-08-28 20:21:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:21:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 20:21:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:21:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:21:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:21:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:21:35] local.INFO: Teltonika packet parsed successfully {"connection_id":165034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:21:35] local.INFO: Passing IMEI to GPS processor {"connection_id":165034,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:21:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":165034,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:21:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:21:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:21:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:21:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709638400001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:21:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:21:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:21:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709638400001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:21:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:21:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:21:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:21:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:21:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709638400001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:21:35] 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":710171,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:21:35] local.INFO: GPS data processed {"connection_id":165034,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:21:35] local.INFO: Acknowledgment sent {"connection_id":165034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:21:35] local.INFO: TCP Data received {"connection_id":163741,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:21:35] local.INFO: Processing buffer {"connection_id":163741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:21:35] local.INFO: IMEI packet received {"connection_id":163741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 20:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":163741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:21:36] local.INFO: TCP Data received {"connection_id":163741,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048d67790012d34c14006aa4840000a00e62a..."} 
[2026-08-28 20:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048d67790012d34c14006aa4840000a00e62a..."} 
[2026-08-28 20:21:36] local.INFO: Processing buffer {"connection_id":163741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048d67790012d34c14006aa4840000a00e62a..."} 
[2026-08-28 20:21:36] local.INFO: Packet analysis {"connection_id":163741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048d6"} 
[2026-08-28 20:21:36] local.INFO: Extracted packet for processing {"connection_id":163741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048d6"} 
[2026-08-28 20:21:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709595904001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787928410000,"timestamp_ms":1787928410000,"timestamp_seconds":1787928410,"priority":1,"record_length":96,"hex_timestamp":"000001a048d67790"} 
[2026-08-28 20:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 20:21:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:21:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709595904001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709595904001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:21:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:21:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709595904001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:21:36] 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":710172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:21:36] local.INFO: GPS data processed {"connection_id":163741,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:21:36] local.INFO: Acknowledgment sent {"connection_id":163741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:21:43] local.INFO: TCP Data received {"connection_id":164023,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164023,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:21:43] local.INFO: Processing buffer {"connection_id":164023,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:21:43] local.INFO: IMEI packet received {"connection_id":164023,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 20:21:43] local.INFO: IMEI acknowledgment sent {"connection_id":164023,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:21:43] local.INFO: TCP Data received {"connection_id":164023,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164023,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:21:43] local.INFO: Processing buffer {"connection_id":164023,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:21:43] local.INFO: IMEI packet received {"connection_id":164023,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:21:43] local.INFO: IMEI acknowledgment sent {"connection_id":164023,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:21:49] local.INFO: TCP Data received {"connection_id":164023,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164023,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:21:49] local.INFO: Processing buffer {"connection_id":164023,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:21:49] local.INFO: IMEI packet received {"connection_id":164023,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":164023,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:21:56] local.INFO: TCP Data received {"connection_id":163742,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163742,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:21:56] local.INFO: Processing buffer {"connection_id":163742,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:21:56] local.INFO: IMEI packet received {"connection_id":163742,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 20:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":163742,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:22:01] local.INFO: TCP Data received {"connection_id":163742,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163742,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:22:01] local.INFO: Processing buffer {"connection_id":163742,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:22:01] local.INFO: IMEI packet received {"connection_id":163742,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 20:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":163742,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:22:02] local.INFO: TCP Data received {"connection_id":163742,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048d90000012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048d90000012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:22:02] local.INFO: Processing buffer {"connection_id":163742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048d90000012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:22:02] local.INFO: Packet analysis {"connection_id":163742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048d9"} 
[2026-08-28 20:22:02] local.INFO: Extracted packet for processing {"connection_id":163742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048d9"} 
[2026-08-28 20:22:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:22:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709638400001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:22:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:22:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:22:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:22:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787928576000,"timestamp_ms":1787928576000,"timestamp_seconds":1787928576,"priority":1,"record_length":96,"hex_timestamp":"000001a048d90000"} 
[2026-08-28 20:22:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:22:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 20:22:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:22:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:22:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:22:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:22:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:22:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163742,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:22:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163742,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:22:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:22:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:22:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:22:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709638400001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:22:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:22:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:22:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709638400001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:22:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:22:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:22:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:22:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:22:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709638400001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:22:03] 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":710173,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:22:03] local.INFO: GPS data processed {"connection_id":163742,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:22:03] local.INFO: Acknowledgment sent {"connection_id":163742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:22:08] local.INFO: TCP Data received {"connection_id":163741,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048d67790012d34c14006aa4840000a00e62a..."} 
[2026-08-28 20:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048d67790012d34c14006aa4840000a00e62a..."} 
[2026-08-28 20:22:08] local.INFO: Processing buffer {"connection_id":163741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048d67790012d34c14006aa4840000a00e62a..."} 
[2026-08-28 20:22:08] local.INFO: Packet analysis {"connection_id":163741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048d6"} 
[2026-08-28 20:22:08] local.INFO: Extracted packet for processing {"connection_id":163741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048d6"} 
[2026-08-28 20:22:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20: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-28 20:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709595904001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:22:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787928410000,"timestamp_ms":1787928410000,"timestamp_seconds":1787928410,"priority":1,"record_length":96,"hex_timestamp":"000001a048d67790"} 
[2026-08-28 20: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-28 20:22:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 20:22:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20: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-28 20: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-28 20:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:22:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709595904001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709595904001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:22:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:22:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:22: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-28 20:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709595904001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:22:08] 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":710174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:22:08] local.INFO: GPS data processed {"connection_id":163741,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:22:08] local.INFO: Acknowledgment sent {"connection_id":163741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:22:15] local.INFO: TCP Data received {"connection_id":164023,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a048da1d28012d0b6540071fb410001901292b..."} 
[2026-08-28 20:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048da1d28012d0b6540071fb410001901292b..."} 
[2026-08-28 20:22:15] local.INFO: Processing buffer {"connection_id":164023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048da1d28012d0b6540071fb410001901292b..."} 
[2026-08-28 20:22:15] local.INFO: Packet analysis {"connection_id":164023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048da"} 
[2026-08-28 20:22:15] local.INFO: Extracted packet for processing {"connection_id":164023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048da"} 
[2026-08-28 20:22:15] local.INFO: GPS Element Parsed {"raw_longitude":755721536,"raw_latitude":119518224,"longitude_deg":75.5721536,"latitude_deg":11.9518224,"altitude":25,"angle":297,"satellites":43,"speed":28,"hex_longitude":"2d0b6540","hex_latitude":"071fb410","is_valid_coordinates":true} 
[2026-08-28 20:22:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:22:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709732096001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:22:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16125334453747712,"note":"Value kept but may cause issues"} 
[2026-08-28 20:22:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":826129087241519104,"note":"Value kept but may cause issues"} 
[2026-08-28 20:22:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:22:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787928649000,"timestamp_ms":1787928649000,"timestamp_seconds":1787928649,"priority":1,"record_length":96,"hex_timestamp":"000001a048da1d28"} 
[2026-08-28 20:22:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:22:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20:22:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-28 20:22:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:22:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:22:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:22:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:22:15] local.INFO: Teltonika packet parsed successfully {"connection_id":164023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:22:15] local.INFO: Passing IMEI to GPS processor {"connection_id":164023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:22:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":164023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:22: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-28 20:22:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:22:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:22:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709732096001,"66":13396,"242":206,"83":41984,"24":28,"16":16125334453747712,"45":826129087241519104},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,83,24,16,45]} 
[2026-08-28 20:22:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:22:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:22:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709732096001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:22:15] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-08-28 20:22:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 20:22:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16125334453747712,"km_value":16125334453747.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:22:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":826129087241519104,"description":"Unknown IO ID 45"} 
[2026-08-28 20:22:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709732096001,"power":13396,"unknown_242":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":826129087241519104}} 
[2026-08-28 20:22:15] local.INFO: DEBUG: GPS processor result {"connection_id":164023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:22:15] local.INFO: GPS data processed {"connection_id":164023,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:22:15] local.INFO: Acknowledgment sent {"connection_id":164023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:22:28] local.INFO: TCP Data received {"connection_id":164024,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:22:28] local.INFO: Processing buffer {"connection_id":164024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:22:28] local.INFO: IMEI packet received {"connection_id":164024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 20:22:28] local.INFO: IMEI acknowledgment sent {"connection_id":164024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:22:29] local.INFO: TCP Data received {"connection_id":164024,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:22:29] local.INFO: Processing buffer {"connection_id":164024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:22:29] local.INFO: IMEI packet received {"connection_id":164024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 20:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":164024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:22:34] local.INFO: TCP Data received {"connection_id":163742,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048d90000012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048d90000012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:22:34] local.INFO: Processing buffer {"connection_id":163742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048d90000012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:22:34] local.INFO: Packet analysis {"connection_id":163742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048d9"} 
[2026-08-28 20:22:34] local.INFO: Extracted packet for processing {"connection_id":163742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048d9"} 
[2026-08-28 20:22:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:22:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709638400001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:22:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:22:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:22:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:22:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787928576000,"timestamp_ms":1787928576000,"timestamp_seconds":1787928576,"priority":1,"record_length":96,"hex_timestamp":"000001a048d90000"} 
[2026-08-28 20:22:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:22:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 20:22:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:22:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:22:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:22:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:22:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:22:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163742,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:22:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163742,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:22:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:22:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:22:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:22:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709638400001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:22:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:22:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:22:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709638400001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:22:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:22:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:22:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:22:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:22:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709638400001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:22:34] 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":710176,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:22:34] local.INFO: GPS data processed {"connection_id":163742,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:22:34] local.INFO: Acknowledgment sent {"connection_id":163742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:22:35] local.INFO: TCP Data received {"connection_id":164024,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:22:35] local.INFO: Processing buffer {"connection_id":164024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:22:35] local.INFO: IMEI packet received {"connection_id":164024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 20:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":164024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:22:36] local.INFO: TCP Data received {"connection_id":164024,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048db0f58012d34c14006aa4840000d00e62a..."} 
[2026-08-28 20:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048db0f58012d34c14006aa4840000d00e62a..."} 
[2026-08-28 20:22:36] local.INFO: Processing buffer {"connection_id":164024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048db0f58012d34c14006aa4840000d00e62a..."} 
[2026-08-28 20:22:36] local.INFO: Packet analysis {"connection_id":164024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048db"} 
[2026-08-28 20:22:36] local.INFO: Extracted packet for processing {"connection_id":164024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048db"} 
[2026-08-28 20:22:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709672960001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787928711000,"timestamp_ms":1787928711000,"timestamp_seconds":1787928711,"priority":1,"record_length":96,"hex_timestamp":"000001a048db0f58"} 
[2026-08-28 20:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:22:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 20:22:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:22:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":164024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":164024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":164024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:22:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709672960001,"66":25028,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709672960001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:22:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:22:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709672960001,"power":25028,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":164024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:22:36] local.INFO: GPS data processed {"connection_id":164024,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:22:36] local.INFO: Acknowledgment sent {"connection_id":164024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:22:43] local.INFO: TCP Data received {"connection_id":163743,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163743,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:22:43] local.INFO: Processing buffer {"connection_id":163743,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:22:43] local.INFO: IMEI packet received {"connection_id":163743,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 20:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":163743,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:22:49] local.INFO: TCP Data received {"connection_id":163743,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163743,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:22:49] local.INFO: Processing buffer {"connection_id":163743,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:22:49] local.INFO: IMEI packet received {"connection_id":163743,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":163743,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:22:50] local.INFO: TCP Data received {"connection_id":163743,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a048da3498012d0b5480071fba28001b011e2b..."} 
[2026-08-28 20:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048da3498012d0b5480071fba28001b011e2b..."} 
[2026-08-28 20:22:50] local.INFO: Processing buffer {"connection_id":163743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048da3498012d0b5480071fba28001b011e2b..."} 
[2026-08-28 20:22:50] local.INFO: Packet analysis {"connection_id":163743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048da"} 
[2026-08-28 20:22:50] local.INFO: Extracted packet for processing {"connection_id":163743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048da"} 
[2026-08-28 20:22:50] local.INFO: GPS Element Parsed {"raw_longitude":755717248,"raw_latitude":119519784,"longitude_deg":75.5717248,"latitude_deg":11.9519784,"altitude":27,"angle":286,"satellites":43,"speed":31,"hex_longitude":"2d0b5480","hex_latitude":"071fba28","is_valid_coordinates":true} 
[2026-08-28 20:22:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:22:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709734144001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:22:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16125549202112512,"note":"Value kept but may cause issues"} 
[2026-08-28 20:22:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":821132906405826560,"note":"Value kept but may cause issues"} 
[2026-08-28 20:22:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:22:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787928655000,"timestamp_ms":1787928655000,"timestamp_seconds":1787928655,"priority":1,"record_length":96,"hex_timestamp":"000001a048da3498"} 
[2026-08-28 20:22:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:22:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20:22:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-28 20:22:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:22:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:22:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:22:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:22:50] local.INFO: Teltonika packet parsed successfully {"connection_id":163743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:22:50] local.INFO: Passing IMEI to GPS processor {"connection_id":163743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:22:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":163743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:22: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-28 20:22:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:22:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:22:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709734144001,"66":13417,"243":206,"83":41984,"24":31,"16":16125549202112512,"45":821132906405826560},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,83,24,16,45]} 
[2026-08-28 20:22:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:22:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:22:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709734144001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:22:50] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-08-28 20:22:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-28 20:22:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16125549202112512,"km_value":16125549202112.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:22:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":821132906405826560,"description":"Unknown IO ID 45"} 
[2026-08-28 20:22:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709734144001,"power":13417,"unknown_243":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":821132906405826560}} 
[2026-08-28 20:22:50] 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":710178,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:22:50] local.INFO: GPS data processed {"connection_id":163743,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:22:50] local.INFO: Acknowledgment sent {"connection_id":163743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:22:56] local.INFO: TCP Data received {"connection_id":165035,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165035,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:22:56] local.INFO: Processing buffer {"connection_id":165035,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:22:56] local.INFO: IMEI packet received {"connection_id":165035,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 20:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":165035,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:23:01] local.INFO: TCP Data received {"connection_id":165035,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165035,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:23:01] local.INFO: Processing buffer {"connection_id":165035,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:23:01] local.INFO: IMEI packet received {"connection_id":165035,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 20:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":165035,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:23:02] local.INFO: TCP Data received {"connection_id":165035,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048d90000012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048d90000012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:23:02] local.INFO: Processing buffer {"connection_id":165035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048d90000012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:23:02] local.INFO: Packet analysis {"connection_id":165035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048d9"} 
[2026-08-28 20:23:02] local.INFO: Extracted packet for processing {"connection_id":165035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048d9"} 
[2026-08-28 20:23:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709638400001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:23:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:23:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:23:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:23:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787928576000,"timestamp_ms":1787928576000,"timestamp_seconds":1787928576,"priority":1,"record_length":96,"hex_timestamp":"000001a048d90000"} 
[2026-08-28 20:23:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:23:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 20:23:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:23:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:23:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:23:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:23:02] local.INFO: Teltonika packet parsed successfully {"connection_id":165035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:23:02] local.INFO: Passing IMEI to GPS processor {"connection_id":165035,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:23:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":165035,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:23:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:23:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:23:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:23:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709638400001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:23:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:23:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:23:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709638400001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:23:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:23:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:23:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:23:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:23:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709638400001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:23:02] 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":710179,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:23:02] local.INFO: GPS data processed {"connection_id":165035,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:23:02] local.INFO: Acknowledgment sent {"connection_id":165035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:23:08] local.INFO: TCP Data received {"connection_id":164024,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048db0f58012d34c14006aa4840000d00e62a..."} 
[2026-08-28 20:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048db0f58012d34c14006aa4840000d00e62a..."} 
[2026-08-28 20:23:08] local.INFO: Processing buffer {"connection_id":164024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048db0f58012d34c14006aa4840000d00e62a..."} 
[2026-08-28 20:23:08] local.INFO: Packet analysis {"connection_id":164024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048db"} 
[2026-08-28 20:23:08] local.INFO: Extracted packet for processing {"connection_id":164024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048db"} 
[2026-08-28 20:23:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709672960001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:23:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787928711000,"timestamp_ms":1787928711000,"timestamp_seconds":1787928711,"priority":1,"record_length":96,"hex_timestamp":"000001a048db0f58"} 
[2026-08-28 20:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:23:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 20:23:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:23:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:23:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709672960001,"66":25028,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709672960001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:23:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:23:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:23: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-28 20:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709672960001,"power":25028,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":164024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:23:08] local.INFO: GPS data processed {"connection_id":164024,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:23:08] local.INFO: Acknowledgment sent {"connection_id":164024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:23:34] local.INFO: TCP Data received {"connection_id":165035,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048d90000012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048d90000012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:23:34] local.INFO: Processing buffer {"connection_id":165035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048d90000012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:23:34] local.INFO: Packet analysis {"connection_id":165035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048d9"} 
[2026-08-28 20:23:34] local.INFO: Extracted packet for processing {"connection_id":165035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048d9"} 
[2026-08-28 20:23:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709638400001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:23:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:23:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787928576000,"timestamp_ms":1787928576000,"timestamp_seconds":1787928576,"priority":1,"record_length":96,"hex_timestamp":"000001a048d90000"} 
[2026-08-28 20:23:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:23:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 20:23:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:23:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:23:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":165035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":165035,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":165035,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:23:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709638400001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709638400001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:23:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:23:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:23:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709638400001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:23:34] 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":710181,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:23:34] local.INFO: GPS data processed {"connection_id":165035,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:23:34] local.INFO: Acknowledgment sent {"connection_id":165035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:23:35] local.INFO: TCP Data received {"connection_id":164025,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:23:35] local.INFO: Processing buffer {"connection_id":164025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:23:35] local.INFO: IMEI packet received {"connection_id":164025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 20:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":164025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:23:40] local.INFO: TCP Data received {"connection_id":164025,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:23:40] local.INFO: Processing buffer {"connection_id":164025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:23:40] local.INFO: IMEI packet received {"connection_id":164025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 20:23:40] local.INFO: IMEI acknowledgment sent {"connection_id":164025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:23:41] local.INFO: TCP Data received {"connection_id":164025,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048db0f58012d34c14006aa4840000d00e62a..."} 
[2026-08-28 20:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048db0f58012d34c14006aa4840000d00e62a..."} 
[2026-08-28 20:23:41] local.INFO: Processing buffer {"connection_id":164025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048db0f58012d34c14006aa4840000d00e62a..."} 
[2026-08-28 20:23:41] local.INFO: Packet analysis {"connection_id":164025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048db"} 
[2026-08-28 20:23:41] local.INFO: Extracted packet for processing {"connection_id":164025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048db"} 
[2026-08-28 20:23:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:23:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709672960001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:23:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:23:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:23:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787928711000,"timestamp_ms":1787928711000,"timestamp_seconds":1787928711,"priority":1,"record_length":96,"hex_timestamp":"000001a048db0f58"} 
[2026-08-28 20:23:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:23:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 20:23: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-28 20:23:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:23:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:23:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":164025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":164025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":164025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:23:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:23:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709672960001,"66":25028,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709672960001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:23:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:23:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:23: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-28 20:23:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709672960001,"power":25028,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":164025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:23:41] local.INFO: GPS data processed {"connection_id":164025,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:23:41] local.INFO: Acknowledgment sent {"connection_id":164025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:23:45] local.INFO: TCP Data received {"connection_id":164025,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048db0f58012d34c14006aa4840000d00e62a..."} 
[2026-08-28 20:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048db0f58012d34c14006aa4840000d00e62a..."} 
[2026-08-28 20:23:45] local.INFO: Processing buffer {"connection_id":164025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048db0f58012d34c14006aa4840000d00e62a..."} 
[2026-08-28 20:23:45] local.INFO: Packet analysis {"connection_id":164025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048db"} 
[2026-08-28 20:23:45] local.INFO: Extracted packet for processing {"connection_id":164025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048db"} 
[2026-08-28 20:23:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:23:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709672960001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:23:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:23:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:23:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:23:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787928711000,"timestamp_ms":1787928711000,"timestamp_seconds":1787928711,"priority":1,"record_length":96,"hex_timestamp":"000001a048db0f58"} 
[2026-08-28 20:23:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:23:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 20:23: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-28 20:23:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:23:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:23:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:23:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:23:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:23:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:23:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:23:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:23:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:23:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709672960001,"66":25028,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:23:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:23:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:23:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709672960001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:23:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:23:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:23: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-28 20:23:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:23:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709672960001,"power":25028,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":164025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:23:45] local.INFO: GPS data processed {"connection_id":164025,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:23:45] local.INFO: Acknowledgment sent {"connection_id":164025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:24:01] local.INFO: TCP Data received {"connection_id":166390,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166390,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:24:01] local.INFO: Processing buffer {"connection_id":166390,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:24:01] local.INFO: IMEI packet received {"connection_id":166390,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 20:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":166390,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:24:06] local.INFO: TCP Data received {"connection_id":166390,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166390,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:24:06] local.INFO: Processing buffer {"connection_id":166390,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:24:06] local.INFO: IMEI packet received {"connection_id":166390,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 20:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":166390,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:24:08] local.INFO: TCP Data received {"connection_id":166390,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048d90000012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048d90000012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:24:08] local.INFO: Processing buffer {"connection_id":166390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048d90000012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:24:08] local.INFO: Packet analysis {"connection_id":166390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048d9"} 
[2026-08-28 20:24:08] local.INFO: Extracted packet for processing {"connection_id":166390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048d9"} 
[2026-08-28 20:24:08] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709638400001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:24:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787928576000,"timestamp_ms":1787928576000,"timestamp_seconds":1787928576,"priority":1,"record_length":96,"hex_timestamp":"000001a048d90000"} 
[2026-08-28 20:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:24:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 20:24:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:24:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":166390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":166390,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":166390,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:24:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709638400001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709638400001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:24:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:24:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709638400001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":166390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710184,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:24:08] local.INFO: GPS data processed {"connection_id":166390,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:24:08] local.INFO: Acknowledgment sent {"connection_id":166390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:24:12] local.INFO: TCP Data received {"connection_id":166390,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048d90000012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048d90000012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:24:12] local.INFO: Processing buffer {"connection_id":166390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048d90000012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:24:12] local.INFO: Packet analysis {"connection_id":166390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048d9"} 
[2026-08-28 20:24:12] local.INFO: Extracted packet for processing {"connection_id":166390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048d9"} 
[2026-08-28 20:24:12] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709638400001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:24:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:24:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787928576000,"timestamp_ms":1787928576000,"timestamp_seconds":1787928576,"priority":1,"record_length":96,"hex_timestamp":"000001a048d90000"} 
[2026-08-28 20:24:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:24:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 20:24:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:24:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:24:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":166390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":166390,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":166390,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:24:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:24:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709638400001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:24:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:24:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:24:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709638400001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:24:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:24:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:24:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:24:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:24:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709638400001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":166390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710185,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:24:12] local.INFO: GPS data processed {"connection_id":166390,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:24:12] local.INFO: Acknowledgment sent {"connection_id":166390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:24:30] local.INFO: TCP Data received {"connection_id":163744,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:24:30] local.INFO: Processing buffer {"connection_id":163744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:24:30] local.INFO: IMEI packet received {"connection_id":163744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 20:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":163744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:24:35] local.INFO: TCP Data received {"connection_id":163744,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:24:35] local.INFO: Processing buffer {"connection_id":163744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:24:35] local.INFO: IMEI packet received {"connection_id":163744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 20:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":163744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:24:36] local.INFO: TCP Data received {"connection_id":163744,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048db0f58012d34c14006aa4840000d00e62a..."} 
[2026-08-28 20:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048db0f58012d34c14006aa4840000d00e62a..."} 
[2026-08-28 20:24:36] local.INFO: Processing buffer {"connection_id":163744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048db0f58012d34c14006aa4840000d00e62a..."} 
[2026-08-28 20:24:36] local.INFO: Packet analysis {"connection_id":163744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048db"} 
[2026-08-28 20:24:36] local.INFO: Extracted packet for processing {"connection_id":163744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048db"} 
[2026-08-28 20:24:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20: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-28 20:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709672960001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787928711000,"timestamp_ms":1787928711000,"timestamp_seconds":1787928711,"priority":1,"record_length":96,"hex_timestamp":"000001a048db0f58"} 
[2026-08-28 20: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-28 20:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 20:24:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20: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-28 20: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-28 20:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:24:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709672960001,"66":25028,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709672960001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:24:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:24:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709672960001,"power":25028,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:24:36] 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":710186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:24:36] local.INFO: GPS data processed {"connection_id":163744,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:24:36] local.INFO: Acknowledgment sent {"connection_id":163744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:24:56] local.INFO: TCP Data received {"connection_id":164026,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164026,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:24:56] local.INFO: Processing buffer {"connection_id":164026,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:24:56] local.INFO: IMEI packet received {"connection_id":164026,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 20:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":164026,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:25:01] local.INFO: TCP Data received {"connection_id":164026,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164026,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:25:01] local.INFO: Processing buffer {"connection_id":164026,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:25:01] local.INFO: IMEI packet received {"connection_id":164026,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 20:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":164026,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:25:02] local.INFO: TCP Data received {"connection_id":164026,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048d90000012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048d90000012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:25:02] local.INFO: Processing buffer {"connection_id":164026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048d90000012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:25:02] local.INFO: Packet analysis {"connection_id":164026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048d9"} 
[2026-08-28 20:25:02] local.INFO: Extracted packet for processing {"connection_id":164026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048d9"} 
[2026-08-28 20:25:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709638400001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:25:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:25:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787928576000,"timestamp_ms":1787928576000,"timestamp_seconds":1787928576,"priority":1,"record_length":96,"hex_timestamp":"000001a048d90000"} 
[2026-08-28 20:25:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:25:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 20:25:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:25:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:25:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":164026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":164026,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":164026,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:25:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709638400001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709638400001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:25:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:25:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:25:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:25:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709638400001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":164026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710187,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:25:02] local.INFO: GPS data processed {"connection_id":164026,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:25:02] local.INFO: Acknowledgment sent {"connection_id":164026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:25:08] local.INFO: TCP Data received {"connection_id":163744,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048db0f58012d34c14006aa4840000d00e62a..."} 
[2026-08-28 20:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048db0f58012d34c14006aa4840000d00e62a..."} 
[2026-08-28 20:25:08] local.INFO: Processing buffer {"connection_id":163744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048db0f58012d34c14006aa4840000d00e62a..."} 
[2026-08-28 20:25:08] local.INFO: Packet analysis {"connection_id":163744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048db"} 
[2026-08-28 20:25:08] local.INFO: Extracted packet for processing {"connection_id":163744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048db"} 
[2026-08-28 20:25:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20: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-28 20:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709672960001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:25:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787928711000,"timestamp_ms":1787928711000,"timestamp_seconds":1787928711,"priority":1,"record_length":96,"hex_timestamp":"000001a048db0f58"} 
[2026-08-28 20: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-28 20:25:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 20:25:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20: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-28 20: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-28 20:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709672960001,"66":25028,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709672960001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:25:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:25:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:25: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-28 20:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709672960001,"power":25028,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:25:08] 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":710188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:25:08] local.INFO: GPS data processed {"connection_id":163744,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:25:08] local.INFO: Acknowledgment sent {"connection_id":163744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:25:29] local.INFO: TCP Data received {"connection_id":166391,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:25:29] local.INFO: Processing buffer {"connection_id":166391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:25:29] local.INFO: IMEI packet received {"connection_id":166391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 20:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":166391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:25:34] local.INFO: TCP Data received {"connection_id":164026,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048dd97c8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048dd97c8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:25:34] local.INFO: Processing buffer {"connection_id":164026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048dd97c8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:25:34] local.INFO: Packet analysis {"connection_id":164026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048dd"} 
[2026-08-28 20:25:34] local.INFO: Extracted packet for processing {"connection_id":164026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048dd"} 
[2026-08-28 20:25:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709715456001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787928877000,"timestamp_ms":1787928877000,"timestamp_seconds":1787928877,"priority":1,"record_length":96,"hex_timestamp":"000001a048dd97c8"} 
[2026-08-28 20:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:25:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 20:25:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:25:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":164026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":164026,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":164026,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:25:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709715456001,"66":25288,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709715456001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:25:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:25:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709715456001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":164026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710189,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:25:34] local.INFO: GPS data processed {"connection_id":164026,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:25:34] local.INFO: Acknowledgment sent {"connection_id":164026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:25:34] local.INFO: TCP Data received {"connection_id":166391,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:25:34] local.INFO: Processing buffer {"connection_id":166391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:25:34] local.INFO: IMEI packet received {"connection_id":166391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 20:25:34] local.INFO: IMEI acknowledgment sent {"connection_id":166391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:25:36] local.INFO: TCP Data received {"connection_id":166391,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048db0f58012d34c14006aa4840000d00e62a..."} 
[2026-08-28 20:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048db0f58012d34c14006aa4840000d00e62a..."} 
[2026-08-28 20:25:36] local.INFO: Processing buffer {"connection_id":166391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048db0f58012d34c14006aa4840000d00e62a..."} 
[2026-08-28 20:25:36] local.INFO: Packet analysis {"connection_id":166391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048db"} 
[2026-08-28 20:25:36] local.INFO: Extracted packet for processing {"connection_id":166391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048db"} 
[2026-08-28 20:25:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709672960001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:25:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787928711000,"timestamp_ms":1787928711000,"timestamp_seconds":1787928711,"priority":1,"record_length":96,"hex_timestamp":"000001a048db0f58"} 
[2026-08-28 20:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:25:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 20:25:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:25:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":166391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":166391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":166391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709672960001,"66":25028,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709672960001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:25:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:25:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709672960001,"power":25028,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":166391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:25:36] local.INFO: GPS data processed {"connection_id":166391,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:25:36] local.INFO: Acknowledgment sent {"connection_id":166391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:25:56] local.INFO: TCP Data received {"connection_id":165036,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165036,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:25:56] local.INFO: Processing buffer {"connection_id":165036,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:25:56] local.INFO: IMEI packet received {"connection_id":165036,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 20:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":165036,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:26:01] local.INFO: TCP Data received {"connection_id":165036,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165036,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:26:01] local.INFO: Processing buffer {"connection_id":165036,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:26:01] local.INFO: IMEI packet received {"connection_id":165036,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 20:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":165036,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:26:02] local.INFO: TCP Data received {"connection_id":165036,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048dd97c8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048dd97c8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:26:02] local.INFO: Processing buffer {"connection_id":165036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048dd97c8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:26:02] local.INFO: Packet analysis {"connection_id":165036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048dd"} 
[2026-08-28 20:26:02] local.INFO: Extracted packet for processing {"connection_id":165036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048dd"} 
[2026-08-28 20:26:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709715456001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:26:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787928877000,"timestamp_ms":1787928877000,"timestamp_seconds":1787928877,"priority":1,"record_length":96,"hex_timestamp":"000001a048dd97c8"} 
[2026-08-28 20:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:26:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 20:26:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:26:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":165036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":165036,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":165036,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709715456001,"66":25288,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709715456001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:26:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:26:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709715456001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:26:03] 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":710191,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:26:03] local.INFO: GPS data processed {"connection_id":165036,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:26:03] local.INFO: Acknowledgment sent {"connection_id":165036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:26:07] local.INFO: TCP Data received {"connection_id":166391,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048db0f58012d34c14006aa4840000d00e62a..."} 
[2026-08-28 20:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048db0f58012d34c14006aa4840000d00e62a..."} 
[2026-08-28 20:26:07] local.INFO: Processing buffer {"connection_id":166391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048db0f58012d34c14006aa4840000d00e62a..."} 
[2026-08-28 20:26:07] local.INFO: Packet analysis {"connection_id":166391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048db"} 
[2026-08-28 20:26:07] local.INFO: Extracted packet for processing {"connection_id":166391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048db"} 
[2026-08-28 20:26:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709672960001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:26:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:26:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787928711000,"timestamp_ms":1787928711000,"timestamp_seconds":1787928711,"priority":1,"record_length":96,"hex_timestamp":"000001a048db0f58"} 
[2026-08-28 20:26:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:26:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 20:26:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:26:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:26:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":166391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":166391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":166391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:26:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709672960001,"66":25028,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709672960001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:26:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:26:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:26: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-28 20:26:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709672960001,"power":25028,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":166391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:26:07] local.INFO: GPS data processed {"connection_id":166391,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:26:07] local.INFO: Acknowledgment sent {"connection_id":166391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:26:29] local.INFO: TCP Data received {"connection_id":164027,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:26:29] local.INFO: Processing buffer {"connection_id":164027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:26:29] local.INFO: IMEI packet received {"connection_id":164027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 20:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":164027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:26:34] local.INFO: TCP Data received {"connection_id":165036,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048dd97c8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048dd97c8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:26:34] local.INFO: Processing buffer {"connection_id":165036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048dd97c8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:26:34] local.INFO: Packet analysis {"connection_id":165036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048dd"} 
[2026-08-28 20:26:34] local.INFO: Extracted packet for processing {"connection_id":165036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048dd"} 
[2026-08-28 20:26:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:26:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709715456001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:26:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:26:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:26:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:26:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787928877000,"timestamp_ms":1787928877000,"timestamp_seconds":1787928877,"priority":1,"record_length":96,"hex_timestamp":"000001a048dd97c8"} 
[2026-08-28 20:26:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:26:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 20:26:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:26:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:26:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:26:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:26:34] local.INFO: Teltonika packet parsed successfully {"connection_id":165036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:26:34] local.INFO: Passing IMEI to GPS processor {"connection_id":165036,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:26:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":165036,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:26:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:26:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:26:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:26:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709715456001,"66":25288,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:26:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:26:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:26:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709715456001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:26:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:26:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:26:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:26:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:26:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709715456001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:26:34] 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":710193,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:26:34] local.INFO: GPS data processed {"connection_id":165036,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:26:34] local.INFO: Acknowledgment sent {"connection_id":165036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:26:35] local.INFO: TCP Data received {"connection_id":164027,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:26:35] local.INFO: Processing buffer {"connection_id":164027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:26:35] local.INFO: IMEI packet received {"connection_id":164027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 20:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":164027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:26:36] local.INFO: TCP Data received {"connection_id":164027,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048db0f58012d34c14006aa4840000d00e62a..."} 
[2026-08-28 20:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048db0f58012d34c14006aa4840000d00e62a..."} 
[2026-08-28 20:26:36] local.INFO: Processing buffer {"connection_id":164027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048db0f58012d34c14006aa4840000d00e62a..."} 
[2026-08-28 20:26:36] local.INFO: Packet analysis {"connection_id":164027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048db"} 
[2026-08-28 20:26:36] local.INFO: Extracted packet for processing {"connection_id":164027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048db"} 
[2026-08-28 20:26:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709672960001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787928711000,"timestamp_ms":1787928711000,"timestamp_seconds":1787928711,"priority":1,"record_length":96,"hex_timestamp":"000001a048db0f58"} 
[2026-08-28 20:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 20:26:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:26:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":164027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":164027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":164027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:26:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709672960001,"66":25028,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709672960001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:26:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:26:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709672960001,"power":25028,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":164027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:26:36] local.INFO: GPS data processed {"connection_id":164027,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:26:36] local.INFO: Acknowledgment sent {"connection_id":164027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:26:56] local.INFO: TCP Data received {"connection_id":163745,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163745,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:26:56] local.INFO: Processing buffer {"connection_id":163745,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:26:56] local.INFO: IMEI packet received {"connection_id":163745,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 20:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":163745,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:27:01] local.INFO: TCP Data received {"connection_id":163745,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163745,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:27:01] local.INFO: Processing buffer {"connection_id":163745,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:27:01] local.INFO: IMEI packet received {"connection_id":163745,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 20:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":163745,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:27:02] local.INFO: TCP Data received {"connection_id":163745,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048dd97c8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048dd97c8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:27:02] local.INFO: Processing buffer {"connection_id":163745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048dd97c8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:27:02] local.INFO: Packet analysis {"connection_id":163745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048dd"} 
[2026-08-28 20:27:02] local.INFO: Extracted packet for processing {"connection_id":163745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048dd"} 
[2026-08-28 20:27:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:27:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709715456001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:27:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:27:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:27:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:27:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787928877000,"timestamp_ms":1787928877000,"timestamp_seconds":1787928877,"priority":1,"record_length":96,"hex_timestamp":"000001a048dd97c8"} 
[2026-08-28 20:27:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:27:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 20:27:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:27:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:27:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:27:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:27:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:27:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163745,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:27:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163745,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:27:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:27:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:27:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:27:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709715456001,"66":25288,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:27:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:27:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:27:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709715456001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:27:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:27:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:27:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:27:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:27:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709715456001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:27:02] 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":710195,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:27:02] local.INFO: GPS data processed {"connection_id":163745,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:27:02] local.INFO: Acknowledgment sent {"connection_id":163745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:27:08] local.INFO: TCP Data received {"connection_id":164027,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048db0f58012d34c14006aa4840000d00e62a..."} 
[2026-08-28 20:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048db0f58012d34c14006aa4840000d00e62a..."} 
[2026-08-28 20:27:08] local.INFO: Processing buffer {"connection_id":164027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048db0f58012d34c14006aa4840000d00e62a..."} 
[2026-08-28 20:27:08] local.INFO: Packet analysis {"connection_id":164027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048db"} 
[2026-08-28 20:27:08] local.INFO: Extracted packet for processing {"connection_id":164027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048db"} 
[2026-08-28 20:27:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709672960001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:27:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:27:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787928711000,"timestamp_ms":1787928711000,"timestamp_seconds":1787928711,"priority":1,"record_length":96,"hex_timestamp":"000001a048db0f58"} 
[2026-08-28 20:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:27:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 20:27:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:27:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:27:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709672960001,"66":25028,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709672960001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:27:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:27:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:27: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-28 20:27:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709672960001,"power":25028,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":164027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:27:08] local.INFO: GPS data processed {"connection_id":164027,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:27:08] local.INFO: Acknowledgment sent {"connection_id":164027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:27:34] local.INFO: TCP Data received {"connection_id":163745,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048dd97c8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048dd97c8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:27:34] local.INFO: Processing buffer {"connection_id":163745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048dd97c8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:27:34] local.INFO: Packet analysis {"connection_id":163745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048dd"} 
[2026-08-28 20:27:34] local.INFO: Extracted packet for processing {"connection_id":163745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048dd"} 
[2026-08-28 20:27:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:27:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709715456001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:27:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:27:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:27:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:27:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787928877000,"timestamp_ms":1787928877000,"timestamp_seconds":1787928877,"priority":1,"record_length":96,"hex_timestamp":"000001a048dd97c8"} 
[2026-08-28 20:27:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:27:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 20:27:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:27:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:27:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:27:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:27:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:27:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163745,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:27:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163745,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:27:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:27:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:27:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:27:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709715456001,"66":25288,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:27:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:27:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:27:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709715456001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:27:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:27:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:27:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:27:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:27:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709715456001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:27:34] 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":710197,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:27:34] local.INFO: GPS data processed {"connection_id":163745,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:27:34] local.INFO: Acknowledgment sent {"connection_id":163745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:27:35] local.INFO: TCP Data received {"connection_id":165037,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:27:35] local.INFO: Processing buffer {"connection_id":165037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:27:35] local.INFO: IMEI packet received {"connection_id":165037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 20:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":165037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:27:40] local.INFO: TCP Data received {"connection_id":165037,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:27:40] local.INFO: Processing buffer {"connection_id":165037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:27:40] local.INFO: IMEI packet received {"connection_id":165037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 20:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":165037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:27:41] local.INFO: TCP Data received {"connection_id":165037,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048dfa720012d34c14006aa4840001200e62b..."} 
[2026-08-28 20:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048dfa720012d34c14006aa4840001200e62b..."} 
[2026-08-28 20:27:41] local.INFO: Processing buffer {"connection_id":165037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048dfa720012d34c14006aa4840001200e62b..."} 
[2026-08-28 20:27:41] local.INFO: Packet analysis {"connection_id":165037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048df"} 
[2026-08-28 20:27:41] local.INFO: Extracted packet for processing {"connection_id":165037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048df"} 
[2026-08-28 20:27:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20: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-28 20:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709750016001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:27:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:27:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:27:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:27:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787929012000,"timestamp_ms":1787929012000,"timestamp_seconds":1787929012,"priority":1,"record_length":96,"hex_timestamp":"000001a048dfa720"} 
[2026-08-28 20: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-28 20:27:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-28 20:27:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20: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-28 20: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-28 20:27:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:27:41] local.INFO: Teltonika packet parsed successfully {"connection_id":165037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:27:41] local.INFO: Passing IMEI to GPS processor {"connection_id":165037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:27:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":165037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:27:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:27:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:27:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:27:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709750016001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:27:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:27:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:27:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709750016001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:27:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:27:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20: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-28 20:27:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:27:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709750016001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:27:41] 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":710198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:27:41] local.INFO: GPS data processed {"connection_id":165037,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:27:41] local.INFO: Acknowledgment sent {"connection_id":165037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:27:45] local.INFO: TCP Data received {"connection_id":165037,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048dfa720012d34c14006aa4840001200e62b..."} 
[2026-08-28 20:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048dfa720012d34c14006aa4840001200e62b..."} 
[2026-08-28 20:27:45] local.INFO: Processing buffer {"connection_id":165037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048dfa720012d34c14006aa4840001200e62b..."} 
[2026-08-28 20:27:45] local.INFO: Packet analysis {"connection_id":165037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048df"} 
[2026-08-28 20:27:45] local.INFO: Extracted packet for processing {"connection_id":165037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048df"} 
[2026-08-28 20:27:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:27:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:27:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709750016001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:27:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:27:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:27:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:27:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787929012000,"timestamp_ms":1787929012000,"timestamp_seconds":1787929012,"priority":1,"record_length":96,"hex_timestamp":"000001a048dfa720"} 
[2026-08-28 20:27:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:27:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:27:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-28 20:27:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:27:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:27:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:27:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:27:45] local.INFO: Teltonika packet parsed successfully {"connection_id":165037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:27:45] local.INFO: Passing IMEI to GPS processor {"connection_id":165037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:27:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":165037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:27:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:27:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:27:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:27:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709750016001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:27:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:27:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:27:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709750016001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:27:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:27:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:27: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-28 20:27:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:27:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709750016001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:27:45] 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":710199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:27:45] local.INFO: GPS data processed {"connection_id":165037,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:27:45] local.INFO: Acknowledgment sent {"connection_id":165037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:28:01] local.INFO: TCP Data received {"connection_id":163746,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163746,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:28:01] local.INFO: Processing buffer {"connection_id":163746,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:28:01] local.INFO: IMEI packet received {"connection_id":163746,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 20:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":163746,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:28:06] local.INFO: TCP Data received {"connection_id":163746,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163746,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:28:06] local.INFO: Processing buffer {"connection_id":163746,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:28:06] local.INFO: IMEI packet received {"connection_id":163746,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 20:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":163746,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:28:07] local.INFO: TCP Data received {"connection_id":163746,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048dd97c8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048dd97c8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:28:07] local.INFO: Processing buffer {"connection_id":163746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048dd97c8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:28:07] local.INFO: Packet analysis {"connection_id":163746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048dd"} 
[2026-08-28 20:28:07] local.INFO: Extracted packet for processing {"connection_id":163746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048dd"} 
[2026-08-28 20:28:07] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709715456001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787928877000,"timestamp_ms":1787928877000,"timestamp_seconds":1787928877,"priority":1,"record_length":96,"hex_timestamp":"000001a048dd97c8"} 
[2026-08-28 20:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:28:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 20:28:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:28:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":163746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":163746,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":163746,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:28:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709715456001,"66":25288,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709715456001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:28:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:28:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709715456001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:28:07] 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":710200,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:28:07] local.INFO: GPS data processed {"connection_id":163746,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:28:07] local.INFO: Acknowledgment sent {"connection_id":163746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:28:12] local.INFO: TCP Data received {"connection_id":163746,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048dd97c8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048dd97c8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:28:12] local.INFO: Processing buffer {"connection_id":163746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048dd97c8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:28:12] local.INFO: Packet analysis {"connection_id":163746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048dd"} 
[2026-08-28 20:28:12] local.INFO: Extracted packet for processing {"connection_id":163746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048dd"} 
[2026-08-28 20:28:12] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:28:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709715456001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:28:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:28:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:28:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:28:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787928877000,"timestamp_ms":1787928877000,"timestamp_seconds":1787928877,"priority":1,"record_length":96,"hex_timestamp":"000001a048dd97c8"} 
[2026-08-28 20:28:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:28:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 20:28:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:28:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:28:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:28:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:28:12] local.INFO: Teltonika packet parsed successfully {"connection_id":163746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:28:12] local.INFO: Passing IMEI to GPS processor {"connection_id":163746,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:28:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":163746,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:28:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:28:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:28:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:28:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709715456001,"66":25288,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:28:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:28:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:28:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709715456001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:28:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:28:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:28:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:28:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:28:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709715456001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:28:12] 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":710201,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:28:12] local.INFO: GPS data processed {"connection_id":163746,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:28:12] local.INFO: Acknowledgment sent {"connection_id":163746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:28:29] local.INFO: TCP Data received {"connection_id":165038,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:28:29] local.INFO: Processing buffer {"connection_id":165038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:28:29] local.INFO: IMEI packet received {"connection_id":165038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 20:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":165038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:28:35] local.INFO: TCP Data received {"connection_id":165038,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:28:35] local.INFO: Processing buffer {"connection_id":165038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:28:35] local.INFO: IMEI packet received {"connection_id":165038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 20:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":165038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:28:36] local.INFO: TCP Data received {"connection_id":165038,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048dfa720012d34c14006aa4840001200e62b..."} 
[2026-08-28 20:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048dfa720012d34c14006aa4840001200e62b..."} 
[2026-08-28 20:28:36] local.INFO: Processing buffer {"connection_id":165038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048dfa720012d34c14006aa4840001200e62b..."} 
[2026-08-28 20:28:36] local.INFO: Packet analysis {"connection_id":165038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048df"} 
[2026-08-28 20:28:36] local.INFO: Extracted packet for processing {"connection_id":165038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048df"} 
[2026-08-28 20:28:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709750016001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:28:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787929012000,"timestamp_ms":1787929012000,"timestamp_seconds":1787929012,"priority":1,"record_length":96,"hex_timestamp":"000001a048dfa720"} 
[2026-08-28 20:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:28:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-28 20:28:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:28:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":165038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":165038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":165038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:28:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709750016001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709750016001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:28:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:28:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709750016001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:28:36] 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":710202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:28:36] local.INFO: GPS data processed {"connection_id":165038,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:28:36] local.INFO: Acknowledgment sent {"connection_id":165038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:28:56] local.INFO: TCP Data received {"connection_id":166392,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166392,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:28:56] local.INFO: Processing buffer {"connection_id":166392,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:28:56] local.INFO: IMEI packet received {"connection_id":166392,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 20:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":166392,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:29:01] local.INFO: TCP Data received {"connection_id":166392,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166392,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:29:01] local.INFO: Processing buffer {"connection_id":166392,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:29:01] local.INFO: IMEI packet received {"connection_id":166392,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 20:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":166392,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:29:02] local.INFO: TCP Data received {"connection_id":166392,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048dd97c8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048dd97c8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:29:02] local.INFO: Processing buffer {"connection_id":166392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048dd97c8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:29:02] local.INFO: Packet analysis {"connection_id":166392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048dd"} 
[2026-08-28 20:29:02] local.INFO: Extracted packet for processing {"connection_id":166392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048dd"} 
[2026-08-28 20:29:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:29:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709715456001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:29:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:29:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787928877000,"timestamp_ms":1787928877000,"timestamp_seconds":1787928877,"priority":1,"record_length":96,"hex_timestamp":"000001a048dd97c8"} 
[2026-08-28 20:29:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:29:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:29:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 20:29:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:29:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:29:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":166392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":166392,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":166392,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:29:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709715456001,"66":25288,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709715456001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:29:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:29:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:29:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:29:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709715456001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:29:02] local.INFO: DEBUG: GPS processor result {"connection_id":166392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710203,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:29:02] local.INFO: GPS data processed {"connection_id":166392,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:29:02] local.INFO: Acknowledgment sent {"connection_id":166392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:29:05] local.INFO: TCP Data received {"connection_id":164028,"ip":"117.225.149.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164028,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:29:06] local.INFO: Processing buffer {"connection_id":164028,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:29:06] local.INFO: IMEI packet received {"connection_id":164028,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 20:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":164028,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:29:07] local.INFO: TCP Data received {"connection_id":164028,"ip":"117.225.149.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164028,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:29:07] local.INFO: Processing buffer {"connection_id":164028,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:29:07] local.INFO: IMEI packet received {"connection_id":164028,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":164028,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:29:08] local.INFO: TCP Data received {"connection_id":165038,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048dfa720012d34c14006aa4840001200e62b..."} 
[2026-08-28 20:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048dfa720012d34c14006aa4840001200e62b..."} 
[2026-08-28 20:29:08] local.INFO: Processing buffer {"connection_id":165038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048dfa720012d34c14006aa4840001200e62b..."} 
[2026-08-28 20:29:08] local.INFO: Packet analysis {"connection_id":165038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048df"} 
[2026-08-28 20:29:08] local.INFO: Extracted packet for processing {"connection_id":165038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048df"} 
[2026-08-28 20:29:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709750016001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:29:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787929012000,"timestamp_ms":1787929012000,"timestamp_seconds":1787929012,"priority":1,"record_length":96,"hex_timestamp":"000001a048dfa720"} 
[2026-08-28 20:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:29:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-28 20:29:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:29:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":165038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":165038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":165038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709750016001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709750016001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:29:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:29:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:29: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-28 20:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709750016001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:29:08] 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":710204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:29:08] local.INFO: GPS data processed {"connection_id":165038,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:29:08] local.INFO: Acknowledgment sent {"connection_id":165038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:29:08] local.INFO: TCP Data received {"connection_id":164028,"ip":"117.225.149.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164028,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:29:08] local.INFO: Processing buffer {"connection_id":164028,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:29:08] local.INFO: IMEI packet received {"connection_id":164028,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":164028,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:29:12] local.INFO: TCP Data received {"connection_id":164028,"ip":"117.225.149.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164028,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:29:12] local.INFO: Processing buffer {"connection_id":164028,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:29:12] local.INFO: IMEI packet received {"connection_id":164028,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:29:12] local.INFO: IMEI acknowledgment sent {"connection_id":164028,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:29:14] local.INFO: TCP Data received {"connection_id":164028,"ip":"117.225.149.51","data_length":795,"data_hex":"000000000000030f8e0a000001a048dff540012d0898c0072265c80015003325..."} 
[2026-08-28 20:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048dff540012d0898c0072265c80015003325..."} 
[2026-08-28 20:29:14] local.INFO: Processing buffer {"connection_id":164028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048dff540012d0898c0072265c80015003325..."} 
[2026-08-28 20:29:14] local.INFO: Packet analysis {"connection_id":164028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048df"} 
[2026-08-28 20:29:14] local.INFO: Extracted packet for processing {"connection_id":164028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048df"} 
[2026-08-28 20:29:14] local.INFO: GPS Element Parsed {"raw_longitude":755538112,"raw_latitude":119694792,"longitude_deg":75.5538112,"latitude_deg":11.9694792,"altitude":21,"angle":51,"satellites":37,"speed":36,"hex_longitude":"2d0898c0","hex_latitude":"072265c8","is_valid_coordinates":true} 
[2026-08-28 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-28 20:29:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709831680001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:29:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16140968134705152,"note":"Value kept but may cause issues"} 
[2026-08-28 20:29:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":617767235777306624,"note":"Value kept but may cause issues"} 
[2026-08-28 20:29:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:29:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787929032000,"timestamp_ms":1787929032000,"timestamp_seconds":1787929032,"priority":1,"record_length":96,"hex_timestamp":"000001a048dff540"} 
[2026-08-28 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-28 20:29:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-08-28 20:29:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-08-28 20:29:14] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2902464512,"note":"Value kept but may cause issues"} 
[2026-08-28 20:29:14] local.WARNING: Large IO value detected {"io_id":160,"raw_value":57791323306873773,"note":"Value kept but may cause issues"} 
[2026-08-28 20:29:14] local.WARNING: Large IO value detected {"io_id":92,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-28 20:29:14] local.WARNING: Large IO value detected {"io_id":87,"raw_value":2382364672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:29:14] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3244900156488947664,"note":"Value kept but may cause issues"} 
[2026-08-28 20:29:14] local.WARNING: Large IO value detected {"io_id":72,"raw_value":3753295873,"note":"Value kept but may cause issues"} 
[2026-08-28 20:29:14] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2443202866570012160,"note":"Value kept but may cause issues"} 
[2026-08-28 20:29:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1357316302,"corrected_to":0} 
[2026-08-28 20:29:14] local.WARNING: Large IO value detected {"io_id":174,"raw_value":4026608904,"note":"Value kept but may cause issues"} 
[2026-08-28 20:29:14] local.WARNING: Large IO value detected {"io_id":223,"raw_value":8383451999273238535,"note":"Value kept but may cause issues"} 
[2026-08-28 20:29:14] local.WARNING: Large IO value detected {"io_id":36,"raw_value":563985040539648,"note":"Value kept but may cause issues"} 
[2026-08-28 20:29:14] local.WARNING: Large IO value detected {"io_id":80,"raw_value":-1801212992168126464,"note":"Value kept but may cause issues"} 
[2026-08-28 20:29:14] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,255,83,24,241,16,88,160,221,45,92,19,38,10,66,87,198,192,18,37,231,190,128,1,240,105,72,34,4,113,205,39,174,90,104,35,239,52,2,57,7,17,40,223,36,80],"length":626,"final_offset":756,"validated_count":46,"validation_warnings":[{"io_id":205,"original":1357316302,"validated":0}]} 
[2026-08-28 20:29:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1441223503635480576,"timestamp_seconds":1441223503635480.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 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-28 20:29:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:29:14] local.INFO: Teltonika packet parsed successfully {"connection_id":164028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:29:14] local.INFO: Passing IMEI to GPS processor {"connection_id":164028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:29:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":164028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:29:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.149.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:29:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:29:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:29:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709831680001,"66":13450,"255":206,"83":41728,"24":36,"16":16140968134705152,"45":617767235777306624},"client_ip":"117.225.149.51","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,83,24,16,45]} 
[2026-08-28 20:29:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:29:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:29:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709831680001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:29:14] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-08-28 20:29:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41728,"description":"Unknown IO ID 83"} 
[2026-08-28 20:29:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16140968134705152,"km_value":16140968134705.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:29:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":617767235777306624,"description":"Unknown IO ID 45"} 
[2026-08-28 20:29:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709831680001,"power":13450,"unknown_255":206,"unknown_83":41728,"ignition":36,"odometer":null,"unknown_45":617767235777306624}} 
[2026-08-28 20:29:14] local.INFO: DEBUG: GPS processor result {"connection_id":164028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710205,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:29:14] local.INFO: GPS data processed {"connection_id":164028,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:29:14] local.INFO: Acknowledgment sent {"connection_id":164028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:29:29] local.INFO: TCP Data received {"connection_id":164029,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:29:29] local.INFO: Processing buffer {"connection_id":164029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:29:29] local.INFO: IMEI packet received {"connection_id":164029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 20:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":164029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:29:35] local.INFO: TCP Data received {"connection_id":164029,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:29:35] local.INFO: Processing buffer {"connection_id":164029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:29:35] local.INFO: IMEI packet received {"connection_id":164029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 20:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":164029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:29:36] local.INFO: TCP Data received {"connection_id":164029,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048dfa720012d34c14006aa4840001200e62b..."} 
[2026-08-28 20:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048dfa720012d34c14006aa4840001200e62b..."} 
[2026-08-28 20:29:36] local.INFO: Processing buffer {"connection_id":164029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048dfa720012d34c14006aa4840001200e62b..."} 
[2026-08-28 20:29:36] local.INFO: Packet analysis {"connection_id":164029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048df"} 
[2026-08-28 20:29:36] local.INFO: Extracted packet for processing {"connection_id":164029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048df"} 
[2026-08-28 20:29:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709750016001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787929012000,"timestamp_ms":1787929012000,"timestamp_seconds":1787929012,"priority":1,"record_length":96,"hex_timestamp":"000001a048dfa720"} 
[2026-08-28 20:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-28 20:29:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:29:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":164029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":164029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":164029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:29:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709750016001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709750016001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:29:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:29:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709750016001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":164029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:29:36] local.INFO: GPS data processed {"connection_id":164029,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:29:36] local.INFO: Acknowledgment sent {"connection_id":164029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:29:38] local.INFO: TCP Data received {"connection_id":166392,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048dd97c8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048dd97c8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:29:38] local.INFO: Processing buffer {"connection_id":166392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048dd97c8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:29:38] local.INFO: Packet analysis {"connection_id":166392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048dd"} 
[2026-08-28 20:29:38] local.INFO: Extracted packet for processing {"connection_id":166392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048dd"} 
[2026-08-28 20:29:38] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709715456001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:29:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:29:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:29:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787928877000,"timestamp_ms":1787928877000,"timestamp_seconds":1787928877,"priority":1,"record_length":96,"hex_timestamp":"000001a048dd97c8"} 
[2026-08-28 20:29:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:29:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 20:29:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:29:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:29:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:29:38] local.INFO: Teltonika packet parsed successfully {"connection_id":166392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:29:38] local.INFO: Passing IMEI to GPS processor {"connection_id":166392,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:29:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":166392,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:29:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:29:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:29:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:29:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709715456001,"66":25288,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:29:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:29:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:29:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709715456001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:29:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:29:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:29:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:29:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:29:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709715456001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:29:38] local.INFO: DEBUG: GPS processor result {"connection_id":166392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710207,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:29:38] local.INFO: GPS data processed {"connection_id":166392,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:29:38] local.INFO: Acknowledgment sent {"connection_id":166392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:29:45] local.INFO: TCP Data received {"connection_id":163747,"ip":"117.225.149.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:29:45] local.INFO: Processing buffer {"connection_id":163747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:29:45] local.INFO: IMEI packet received {"connection_id":163747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 20:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":163747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:29:47] local.INFO: TCP Data received {"connection_id":163747,"ip":"117.225.149.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:29:47] local.INFO: Processing buffer {"connection_id":163747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:29:47] local.INFO: IMEI packet received {"connection_id":163747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":163747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:29:47] local.INFO: TCP Data received {"connection_id":163747,"ip":"117.225.149.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:29:48] local.INFO: Processing buffer {"connection_id":163747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:29:48] local.INFO: IMEI packet received {"connection_id":163747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:29:48] local.INFO: IMEI acknowledgment sent {"connection_id":163747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:29:49] local.INFO: TCP Data received {"connection_id":163747,"ip":"117.225.149.51","data_length":795,"data_hex":"000000000000030f8e0a000001a048e1b678012d091f80072383c0001200002a..."} 
[2026-08-28 20:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048e1b678012d091f80072383c0001200002a..."} 
[2026-08-28 20:29:49] local.INFO: Processing buffer {"connection_id":163747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048e1b678012d091f80072383c0001200002a..."} 
[2026-08-28 20:29:49] local.INFO: Packet analysis {"connection_id":163747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048e1"} 
[2026-08-28 20:29:49] local.INFO: Extracted packet for processing {"connection_id":163747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048e1"} 
[2026-08-28 20:29:49] local.INFO: GPS Element Parsed {"raw_longitude":755572608,"raw_latitude":119768000,"longitude_deg":75.5572608,"latitude_deg":11.9768,"altitude":18,"angle":0,"satellites":42,"speed":24,"hex_longitude":"2d091f80","hex_latitude":"072383c0","is_valid_coordinates":true} 
[2026-08-28 20: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-28 20:29:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709861120001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:29:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16145172907687936,"note":"Value kept but may cause issues"} 
[2026-08-28 20:29:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":657173732535490560,"note":"Value kept but may cause issues"} 
[2026-08-28 20:29:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:29:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787929147000,"timestamp_ms":1787929147000,"timestamp_seconds":1787929147,"priority":1,"record_length":96,"hex_timestamp":"000001a048e1b678"} 
[2026-08-28 20: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-28 20:29:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-28 20:29:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20: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-28 20: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-28 20:29:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:29:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:29:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:29:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:29:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.149.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:29:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:29:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:29:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709861120001,"66":13417,"106":206,"28":26880,"24":24,"16":16145172907687936,"45":657173732535490560},"client_ip":"117.225.149.51","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:29:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:29:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:29:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709861120001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:29:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:29:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-08-28 20:29:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16145172907687936,"km_value":16145172907687.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:29:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":657173732535490560,"description":"Unknown IO ID 45"} 
[2026-08-28 20:29:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709861120001,"power":13417,"unknown_106":206,"unknown_28":26880,"ignition":24,"odometer":null,"unknown_45":657173732535490560}} 
[2026-08-28 20:29:49] 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":710208,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:29:49] local.INFO: GPS data processed {"connection_id":163747,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:29:49] local.INFO: Acknowledgment sent {"connection_id":163747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:29:56] local.INFO: TCP Data received {"connection_id":166393,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166393,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:29:56] local.INFO: Processing buffer {"connection_id":166393,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:29:56] local.INFO: IMEI packet received {"connection_id":166393,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 20:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":166393,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:30:01] local.INFO: TCP Data received {"connection_id":166393,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166393,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:30:01] local.INFO: Processing buffer {"connection_id":166393,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:30:01] local.INFO: IMEI packet received {"connection_id":166393,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 20:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":166393,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:30:02] local.INFO: TCP Data received {"connection_id":166393,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048dd97c8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048dd97c8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:30:02] local.INFO: Processing buffer {"connection_id":166393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048dd97c8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:30:02] local.INFO: Packet analysis {"connection_id":166393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048dd"} 
[2026-08-28 20:30:02] local.INFO: Extracted packet for processing {"connection_id":166393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048dd"} 
[2026-08-28 20:30:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:30:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709715456001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:30:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:30:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787928877000,"timestamp_ms":1787928877000,"timestamp_seconds":1787928877,"priority":1,"record_length":96,"hex_timestamp":"000001a048dd97c8"} 
[2026-08-28 20:30:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:30:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:30:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 20:30:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:30:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:30:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":166393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":166393,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":166393,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:30:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709715456001,"66":25288,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709715456001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:30:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:30:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:30:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709715456001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":166393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710209,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:30:02] local.INFO: GPS data processed {"connection_id":166393,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:30:02] local.INFO: Acknowledgment sent {"connection_id":166393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:30:07] local.INFO: TCP Data received {"connection_id":164029,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048dfa720012d34c14006aa4840001200e62b..."} 
[2026-08-28 20:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048dfa720012d34c14006aa4840001200e62b..."} 
[2026-08-28 20:30:07] local.INFO: Processing buffer {"connection_id":164029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048dfa720012d34c14006aa4840001200e62b..."} 
[2026-08-28 20:30:07] local.INFO: Packet analysis {"connection_id":164029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048df"} 
[2026-08-28 20:30:07] local.INFO: Extracted packet for processing {"connection_id":164029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048df"} 
[2026-08-28 20:30:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709750016001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:30:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787929012000,"timestamp_ms":1787929012000,"timestamp_seconds":1787929012,"priority":1,"record_length":96,"hex_timestamp":"000001a048dfa720"} 
[2026-08-28 20:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:30:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-28 20:30:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:30:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":164029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":164029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":164029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:30:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709750016001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709750016001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:30:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:30:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:30: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-28 20:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709750016001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":164029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:30:07] local.INFO: GPS data processed {"connection_id":164029,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:30:07] local.INFO: Acknowledgment sent {"connection_id":164029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:30:20] local.INFO: TCP Data received {"connection_id":163747,"ip":"117.225.149.51","data_length":795,"data_hex":"000000000000030f8e0a000001a048e1be48012d09204007238828001200192a..."} 
[2026-08-28 20:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048e1be48012d09204007238828001200192a..."} 
[2026-08-28 20:30:20] local.INFO: Processing buffer {"connection_id":163747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048e1be48012d09204007238828001200192a..."} 
[2026-08-28 20:30:20] local.INFO: Packet analysis {"connection_id":163747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048e1"} 
[2026-08-28 20:30:20] local.INFO: Extracted packet for processing {"connection_id":163747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048e1"} 
[2026-08-28 20:30:20] local.INFO: GPS Element Parsed {"raw_longitude":755572800,"raw_latitude":119769128,"longitude_deg":75.55728,"latitude_deg":11.9769128,"altitude":18,"angle":25,"satellites":42,"speed":21,"hex_longitude":"2d092040","hex_latitude":"07238828","is_valid_coordinates":true} 
[2026-08-28 20:30:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:30:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709861632001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:30:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16145228742262784,"note":"Value kept but may cause issues"} 
[2026-08-28 20:30:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":657384838768345088,"note":"Value kept but may cause issues"} 
[2026-08-28 20:30:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:30:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787929149000,"timestamp_ms":1787929149000,"timestamp_seconds":1787929149,"priority":1,"record_length":96,"hex_timestamp":"000001a048e1be48"} 
[2026-08-28 20:30:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:30:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20:30:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-28 20:30:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:30:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:30:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:30:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:30:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:30:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:30:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:30:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.149.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:30:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:30:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:30:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709861632001,"66":13559,"106":206,"28":26880,"24":21,"16":16145228742262784,"45":657384838768345088},"client_ip":"117.225.149.51","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:30:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:30:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:30:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709861632001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:30:20] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:30:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-08-28 20:30:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16145228742262784,"km_value":16145228742262.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:30:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":657384838768345088,"description":"Unknown IO ID 45"} 
[2026-08-28 20:30:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709861632001,"power":13559,"unknown_106":206,"unknown_28":26880,"ignition":21,"odometer":null,"unknown_45":657384838768345088}} 
[2026-08-28 20:30:20] 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":710211,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:30:20] local.INFO: GPS data processed {"connection_id":163747,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:30:20] local.INFO: Acknowledgment sent {"connection_id":163747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:30:34] local.INFO: TCP Data received {"connection_id":166393,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048e22f90012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048e22f90012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:30:34] local.INFO: Processing buffer {"connection_id":166393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048e22f90012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:30:34] local.INFO: Packet analysis {"connection_id":166393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048e2"} 
[2026-08-28 20:30:34] local.INFO: Extracted packet for processing {"connection_id":166393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048e2"} 
[2026-08-28 20:30:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709792512001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787929178000,"timestamp_ms":1787929178000,"timestamp_seconds":1787929178,"priority":1,"record_length":96,"hex_timestamp":"000001a048e22f90"} 
[2026-08-28 20:30:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:30:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 20:30:34] 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-28 20:30:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:30:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":166393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":166393,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":166393,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709792512001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709792512001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:30:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:30:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709792512001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":166393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710212,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:30:34] local.INFO: GPS data processed {"connection_id":166393,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:30:34] local.INFO: Acknowledgment sent {"connection_id":166393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:30:35] local.INFO: TCP Data received {"connection_id":165039,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:30:35] local.INFO: Processing buffer {"connection_id":165039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:30:35] local.INFO: IMEI packet received {"connection_id":165039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 20:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":165039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:30:39] local.INFO: TCP Data received {"connection_id":166394,"ip":"117.225.149.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166394,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:30:39] local.INFO: Processing buffer {"connection_id":166394,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:30:39] local.INFO: IMEI packet received {"connection_id":166394,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 20:30:39] local.INFO: IMEI acknowledgment sent {"connection_id":166394,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:30:40] local.INFO: TCP Data received {"connection_id":165039,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:30:40] local.INFO: Processing buffer {"connection_id":165039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:30:40] local.INFO: IMEI packet received {"connection_id":165039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 20:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":165039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:30:41] local.INFO: TCP Data received {"connection_id":165039,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048dfa720012d34c14006aa4840001200e62b..."} 
[2026-08-28 20:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048dfa720012d34c14006aa4840001200e62b..."} 
[2026-08-28 20:30:41] local.INFO: Processing buffer {"connection_id":165039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048dfa720012d34c14006aa4840001200e62b..."} 
[2026-08-28 20:30:41] local.INFO: Packet analysis {"connection_id":165039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048df"} 
[2026-08-28 20:30:41] local.INFO: Extracted packet for processing {"connection_id":165039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048df"} 
[2026-08-28 20:30:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709750016001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:30:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:30:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:30:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787929012000,"timestamp_ms":1787929012000,"timestamp_seconds":1787929012,"priority":1,"record_length":96,"hex_timestamp":"000001a048dfa720"} 
[2026-08-28 20:30:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:30:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-28 20:30:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:30:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:30:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":165039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":165039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":165039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:30:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:30:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:30:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:30:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709750016001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:30:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:30:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:30:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709750016001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:30:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:30:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:30: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-28 20:30:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:30:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709750016001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:30:41] 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":710213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:30:41] local.INFO: GPS data processed {"connection_id":165039,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:30:41] local.INFO: Acknowledgment sent {"connection_id":165039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:30:43] local.INFO: TCP Data received {"connection_id":166394,"ip":"117.225.149.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166394,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:30:43] local.INFO: Processing buffer {"connection_id":166394,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:30:43] local.INFO: IMEI packet received {"connection_id":166394,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:30:43] local.INFO: IMEI acknowledgment sent {"connection_id":166394,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:30:44] local.INFO: TCP Data received {"connection_id":166394,"ip":"117.225.149.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166394,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:30:44] local.INFO: Processing buffer {"connection_id":166394,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:30:44] local.INFO: IMEI packet received {"connection_id":166394,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:30:44] local.INFO: IMEI acknowledgment sent {"connection_id":166394,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:30:45] local.INFO: TCP Data received {"connection_id":166394,"ip":"117.225.149.51","data_length":795,"data_hex":"000000000000030f8e0a000001a048e252b8012d096e8007238d380006004728..."} 
[2026-08-28 20:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048e252b8012d096e8007238d380006004728..."} 
[2026-08-28 20:30:45] local.INFO: Processing buffer {"connection_id":166394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048e252b8012d096e8007238d380006004728..."} 
[2026-08-28 20:30:45] local.INFO: Packet analysis {"connection_id":166394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048e2"} 
[2026-08-28 20:30:45] local.INFO: Extracted packet for processing {"connection_id":166394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048e2"} 
[2026-08-28 20:30:45] local.INFO: GPS Element Parsed {"raw_longitude":755592832,"raw_latitude":119770424,"longitude_deg":75.5592832,"latitude_deg":11.9770424,"altitude":6,"angle":71,"satellites":40,"speed":22,"hex_longitude":"2d096e80","hex_latitude":"07238d38","is_valid_coordinates":true} 
[2026-08-28 20: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-28 20:30:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709871360001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:30:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16146255239446528,"note":"Value kept but may cause issues"} 
[2026-08-28 20:30:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":678495462022217728,"note":"Value kept but may cause issues"} 
[2026-08-28 20:30:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:30:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787929187000,"timestamp_ms":1787929187000,"timestamp_seconds":1787929187,"priority":1,"record_length":96,"hex_timestamp":"000001a048e252b8"} 
[2026-08-28 20: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-28 20:30:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20:30:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-28 20:30:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20: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-28 20: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-28 20:30:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:30:45] local.INFO: Teltonika packet parsed successfully {"connection_id":166394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:30:45] local.INFO: Passing IMEI to GPS processor {"connection_id":166394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:30:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":166394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:30:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.149.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:30:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:30:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:30:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709871360001,"66":13450,"106":206,"28":26880,"24":22,"16":16146255239446528,"45":678495462022217728},"client_ip":"117.225.149.51","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:30:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:30:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:30:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709871360001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:30:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:30:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-08-28 20:30:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16146255239446528,"km_value":16146255239446.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:30:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":678495462022217728,"description":"Unknown IO ID 45"} 
[2026-08-28 20:30:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709871360001,"power":13450,"unknown_106":206,"unknown_28":26880,"ignition":22,"odometer":null,"unknown_45":678495462022217728}} 
[2026-08-28 20:30:45] local.INFO: DEBUG: GPS processor result {"connection_id":166394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710214,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:30:45] local.INFO: GPS data processed {"connection_id":166394,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:30:45] local.INFO: Acknowledgment sent {"connection_id":166394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:30:46] local.INFO: TCP Data received {"connection_id":165039,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048dfa720012d34c14006aa4840001200e62b..."} 
[2026-08-28 20:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048dfa720012d34c14006aa4840001200e62b..."} 
[2026-08-28 20:30:46] local.INFO: Processing buffer {"connection_id":165039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048dfa720012d34c14006aa4840001200e62b..."} 
[2026-08-28 20:30:46] local.INFO: Packet analysis {"connection_id":165039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048df"} 
[2026-08-28 20:30:46] local.INFO: Extracted packet for processing {"connection_id":165039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048df"} 
[2026-08-28 20:30:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709750016001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:30:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:30:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787929012000,"timestamp_ms":1787929012000,"timestamp_seconds":1787929012,"priority":1,"record_length":96,"hex_timestamp":"000001a048dfa720"} 
[2026-08-28 20:30:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:30:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-28 20:30:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:30:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:30:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":165039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":165039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":165039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:30:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709750016001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709750016001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:30:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:30:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:30: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-28 20:30:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:30:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709750016001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:30:46] 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":710215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:30:46] local.INFO: GPS data processed {"connection_id":165039,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:30:46] local.INFO: Acknowledgment sent {"connection_id":165039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:30:46] local.INFO: TCP Data received {"connection_id":166394,"ip":"117.225.149.51","data_length":795,"data_hex":"000000000000030f8e0a000001a048e25a88012d097240072390080005003226..."} 
[2026-08-28 20:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048e25a88012d097240072390080005003226..."} 
[2026-08-28 20:30:46] local.INFO: Processing buffer {"connection_id":166394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048e25a88012d097240072390080005003226..."} 
[2026-08-28 20:30:46] local.INFO: Packet analysis {"connection_id":166394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048e2"} 
[2026-08-28 20:30:46] local.INFO: Extracted packet for processing {"connection_id":166394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048e2"} 
[2026-08-28 20:30:46] local.INFO: GPS Element Parsed {"raw_longitude":755593792,"raw_latitude":119771144,"longitude_deg":75.5593792,"latitude_deg":11.9771144,"altitude":5,"angle":50,"satellites":38,"speed":25,"hex_longitude":"2d097240","hex_latitude":"07239008","is_valid_coordinates":true} 
[2026-08-28 20:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709871872001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16146315368988672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:30:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":679621361929107456,"note":"Value kept but may cause issues"} 
[2026-08-28 20:30:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787929189000,"timestamp_ms":1787929189000,"timestamp_seconds":1787929189,"priority":1,"record_length":96,"hex_timestamp":"000001a048e25a88"} 
[2026-08-28 20:30:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:30:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-28 20:30:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:30:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:30:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":166394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":166394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":166394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:30:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.149.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709871872001,"66":13580,"106":206,"28":26880,"24":25,"16":16146315368988672,"45":679621361929107456},"client_ip":"117.225.149.51","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709871872001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:30:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:30:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-08-28 20:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16146315368988672,"km_value":16146315368988.672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:30:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":679621361929107456,"description":"Unknown IO ID 45"} 
[2026-08-28 20:30:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709871872001,"power":13580,"unknown_106":206,"unknown_28":26880,"ignition":25,"odometer":null,"unknown_45":679621361929107456}} 
[2026-08-28 20:30:47] local.INFO: DEBUG: GPS processor result {"connection_id":166394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710216,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:30:47] local.INFO: GPS data processed {"connection_id":166394,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:30:47] local.INFO: Acknowledgment sent {"connection_id":166394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:31:01] local.INFO: TCP Data received {"connection_id":163748,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163748,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:31:01] local.INFO: Processing buffer {"connection_id":163748,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:31:01] local.INFO: IMEI packet received {"connection_id":163748,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 20:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":163748,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:31:06] local.INFO: TCP Data received {"connection_id":163748,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163748,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:31:06] local.INFO: Processing buffer {"connection_id":163748,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:31:06] local.INFO: IMEI packet received {"connection_id":163748,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 20:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":163748,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:31:07] local.INFO: TCP Data received {"connection_id":163748,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048e22f90012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048e22f90012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:31:07] local.INFO: Processing buffer {"connection_id":163748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048e22f90012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:31:07] local.INFO: Packet analysis {"connection_id":163748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048e2"} 
[2026-08-28 20:31:07] local.INFO: Extracted packet for processing {"connection_id":163748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048e2"} 
[2026-08-28 20:31:07] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20: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-28 20:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709792512001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:31:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787929178000,"timestamp_ms":1787929178000,"timestamp_seconds":1787929178,"priority":1,"record_length":96,"hex_timestamp":"000001a048e22f90"} 
[2026-08-28 20:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:31:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 20:31:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:31:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":163748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":163748,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":163748,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709792512001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709792512001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:31:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:31:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709792512001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:31:07] 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":710217,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:31:07] local.INFO: GPS data processed {"connection_id":163748,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:31:07] local.INFO: Acknowledgment sent {"connection_id":163748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:31:12] local.INFO: TCP Data received {"connection_id":163748,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048e22f90012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048e22f90012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:31:12] local.INFO: Processing buffer {"connection_id":163748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048e22f90012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:31:12] local.INFO: Packet analysis {"connection_id":163748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048e2"} 
[2026-08-28 20:31:12] local.INFO: Extracted packet for processing {"connection_id":163748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048e2"} 
[2026-08-28 20:31:12] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:31:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709792512001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:31:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:31:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787929178000,"timestamp_ms":1787929178000,"timestamp_seconds":1787929178,"priority":1,"record_length":96,"hex_timestamp":"000001a048e22f90"} 
[2026-08-28 20:31:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:31:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 20:31:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:31:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:31:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":163748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":163748,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":163748,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:31:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709792512001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709792512001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:31:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:31:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:31:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:31:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709792512001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:31:12] 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":710218,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:31:12] local.INFO: GPS data processed {"connection_id":163748,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:31:12] local.INFO: Acknowledgment sent {"connection_id":163748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:31:19] local.INFO: TCP Data received {"connection_id":166394,"ip":"117.225.149.51","data_length":795,"data_hex":"000000000000030f8e0a000001a048e2fe98012d09ab400723ecc00010001c28..."} 
[2026-08-28 20:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048e2fe98012d09ab400723ecc00010001c28..."} 
[2026-08-28 20:31:19] local.INFO: Processing buffer {"connection_id":166394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048e2fe98012d09ab400723ecc00010001c28..."} 
[2026-08-28 20:31:19] local.INFO: Packet analysis {"connection_id":166394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048e2"} 
[2026-08-28 20:31:19] local.INFO: Extracted packet for processing {"connection_id":166394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048e2"} 
[2026-08-28 20:31:19] local.INFO: GPS Element Parsed {"raw_longitude":755608384,"raw_latitude":119794880,"longitude_deg":75.5608384,"latitude_deg":11.979488,"altitude":16,"angle":28,"satellites":40,"speed":35,"hex_longitude":"2d09ab40","hex_latitude":"0723ecc0","is_valid_coordinates":true} 
[2026-08-28 20:31:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:31:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709881856001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:31:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16147861557215232,"note":"Value kept but may cause issues"} 
[2026-08-28 20:31:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":694961748164851712,"note":"Value kept but may cause issues"} 
[2026-08-28 20:31:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:31:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787929231000,"timestamp_ms":1787929231000,"timestamp_seconds":1787929231,"priority":1,"record_length":96,"hex_timestamp":"000001a048e2fe98"} 
[2026-08-28 20:31:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:31:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20:31:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-28 20:31:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:31:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:31:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:31:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:31:19] local.INFO: Teltonika packet parsed successfully {"connection_id":166394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:31:19] local.INFO: Passing IMEI to GPS processor {"connection_id":166394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:31:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":166394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:31:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.149.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:31:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:31:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:31:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709881856001,"66":12678,"106":206,"28":26880,"24":35,"16":16147861557215232,"45":694961748164851712},"client_ip":"117.225.149.51","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:31:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:31:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:31:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709881856001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:31:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:31:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-08-28 20:31:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16147861557215232,"km_value":16147861557215.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:31:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":694961748164851712,"description":"Unknown IO ID 45"} 
[2026-08-28 20:31:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709881856001,"power":12678,"unknown_106":206,"unknown_28":26880,"ignition":35,"odometer":null,"unknown_45":694961748164851712}} 
[2026-08-28 20:31:19] local.INFO: DEBUG: GPS processor result {"connection_id":166394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710219,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:31:19] local.INFO: GPS data processed {"connection_id":166394,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:31:19] local.INFO: Acknowledgment sent {"connection_id":166394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:31:30] local.INFO: TCP Data received {"connection_id":163749,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:31:30] local.INFO: Processing buffer {"connection_id":163749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:31:30] local.INFO: IMEI packet received {"connection_id":163749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 20:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":163749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:31:35] local.INFO: TCP Data received {"connection_id":163749,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:31:35] local.INFO: Processing buffer {"connection_id":163749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:31:35] local.INFO: IMEI packet received {"connection_id":163749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 20:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":163749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:31:36] local.INFO: TCP Data received {"connection_id":163749,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048dfa720012d34c14006aa4840001200e62b..."} 
[2026-08-28 20:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048dfa720012d34c14006aa4840001200e62b..."} 
[2026-08-28 20:31:36] local.INFO: Processing buffer {"connection_id":163749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048dfa720012d34c14006aa4840001200e62b..."} 
[2026-08-28 20:31:36] local.INFO: Packet analysis {"connection_id":163749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048df"} 
[2026-08-28 20:31:36] local.INFO: Extracted packet for processing {"connection_id":163749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048df"} 
[2026-08-28 20:31:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709750016001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:31:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:31:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787929012000,"timestamp_ms":1787929012000,"timestamp_seconds":1787929012,"priority":1,"record_length":96,"hex_timestamp":"000001a048dfa720"} 
[2026-08-28 20:31:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:31:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-28 20:31:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:31:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:31:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:31:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709750016001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709750016001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:31:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:31:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:31:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709750016001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:31:36] 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":710220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:31:36] local.INFO: GPS data processed {"connection_id":163749,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:31:36] local.INFO: Acknowledgment sent {"connection_id":163749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:31:43] local.INFO: TCP Data received {"connection_id":164030,"ip":"117.225.149.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164030,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:31:43] local.INFO: Processing buffer {"connection_id":164030,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:31:43] local.INFO: IMEI packet received {"connection_id":164030,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 20:31:43] local.INFO: IMEI acknowledgment sent {"connection_id":164030,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:31:46] local.INFO: TCP Data received {"connection_id":164030,"ip":"117.225.149.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164030,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:31:46] local.INFO: Processing buffer {"connection_id":164030,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:31:46] local.INFO: IMEI packet received {"connection_id":164030,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:31:46] local.INFO: IMEI acknowledgment sent {"connection_id":164030,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:31:47] local.INFO: TCP Data received {"connection_id":164030,"ip":"117.225.149.51","data_length":93,"data_hex":"00000000000000518e01000001a048e30668012d09af400723f2100010002f28..."} 
[2026-08-28 20:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164030,"packet_length":93,"packet_hex":"00000000000000518e01000001a048e30668012d09af400723f2100010002f28..."} 
[2026-08-28 20:31:47] local.INFO: Processing buffer {"connection_id":164030,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a048e30668012d09af400723f2100010002f28..."} 
[2026-08-28 20:31:47] local.INFO: Packet analysis {"connection_id":164030,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a048e3"} 
[2026-08-28 20:31:47] local.INFO: Extracted packet for processing {"connection_id":164030,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a048e3"} 
[2026-08-28 20:31:47] local.INFO: GPS Element Parsed {"raw_longitude":755609408,"raw_latitude":119796240,"longitude_deg":75.5609408,"latitude_deg":11.979624,"altitude":16,"angle":47,"satellites":40,"speed":33,"hex_longitude":"2d09af40","hex_latitude":"0723f210","is_valid_coordinates":true} 
[2026-08-28 20:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-08-28 20:31:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:31:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:31:47] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:31:47] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-28 20:31:47] local.INFO: Teltonika packet parsed successfully {"connection_id":164030,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-28 20:31:47] local.INFO: Passing IMEI to GPS processor {"connection_id":164030,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-28 20:31:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":164030,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-28 20:31:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.149.51","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-28 20:31:47] local.WARNING: DEBUG: No valid data to process  
[2026-08-28 20:31:47] local.INFO: DEBUG: GPS processor result {"connection_id":164030,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-28 20:31:47] local.ERROR: GPS data processing failed {"connection_id":164030,"error":"No valid data to process"} 
[2026-08-28 20:31:47] local.INFO: Acknowledgment sent {"connection_id":164030,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-28 20:31:55] local.INFO: TCP Data received {"connection_id":165040,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165040,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:31:55] local.INFO: Processing buffer {"connection_id":165040,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:31:55] local.INFO: IMEI packet received {"connection_id":165040,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 20:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":165040,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:32:01] local.INFO: TCP Data received {"connection_id":165040,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165040,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:32:01] local.INFO: Processing buffer {"connection_id":165040,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:32:01] local.INFO: IMEI packet received {"connection_id":165040,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 20:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":165040,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:32:02] local.INFO: TCP Data received {"connection_id":165040,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048e22f90012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048e22f90012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:32:02] local.INFO: Processing buffer {"connection_id":165040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048e22f90012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:32:02] local.INFO: Packet analysis {"connection_id":165040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048e2"} 
[2026-08-28 20:32:02] local.INFO: Extracted packet for processing {"connection_id":165040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048e2"} 
[2026-08-28 20:32:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:32:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:32:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709792512001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:32:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:32:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:32:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:32:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787929178000,"timestamp_ms":1787929178000,"timestamp_seconds":1787929178,"priority":1,"record_length":96,"hex_timestamp":"000001a048e22f90"} 
[2026-08-28 20:32:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:32:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:32:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 20:32:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:32:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:32:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:32:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:32:02] local.INFO: Teltonika packet parsed successfully {"connection_id":165040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:32:02] local.INFO: Passing IMEI to GPS processor {"connection_id":165040,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:32:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":165040,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:32:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:32:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:32:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:32:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709792512001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:32:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:32:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:32:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709792512001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:32:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:32:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:32:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:32:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:32:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709792512001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:32:02] local.INFO: DEBUG: GPS processor result {"connection_id":165040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710221,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:32:02] local.INFO: GPS data processed {"connection_id":165040,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:32:02] local.INFO: Acknowledgment sent {"connection_id":165040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:32:08] local.INFO: TCP Data received {"connection_id":163749,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048dfa720012d34c14006aa4840001200e62b..."} 
[2026-08-28 20:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048dfa720012d34c14006aa4840001200e62b..."} 
[2026-08-28 20:32:08] local.INFO: Processing buffer {"connection_id":163749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048dfa720012d34c14006aa4840001200e62b..."} 
[2026-08-28 20:32:08] local.INFO: Packet analysis {"connection_id":163749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048df"} 
[2026-08-28 20:32:08] local.INFO: Extracted packet for processing {"connection_id":163749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048df"} 
[2026-08-28 20:32:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709750016001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:32:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787929012000,"timestamp_ms":1787929012000,"timestamp_seconds":1787929012,"priority":1,"record_length":96,"hex_timestamp":"000001a048dfa720"} 
[2026-08-28 20:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:32:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-28 20:32:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:32:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:32:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709750016001,"66":25375,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709750016001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:32:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:32:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:32: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-28 20:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709750016001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:32:08] 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":710222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:32:08] local.INFO: GPS data processed {"connection_id":163749,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:32:08] local.INFO: Acknowledgment sent {"connection_id":163749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:32:18] local.INFO: TCP Data received {"connection_id":164030,"ip":"117.225.149.51","data_length":795,"data_hex":"000000000000030f8e0a000001a048e3d570012d099d80072465d00010010728..."} 
[2026-08-28 20:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048e3d570012d099d80072465d00010010728..."} 
[2026-08-28 20:32:18] local.INFO: Processing buffer {"connection_id":164030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048e3d570012d099d80072465d00010010728..."} 
[2026-08-28 20:32:18] local.INFO: Packet analysis {"connection_id":164030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048e3"} 
[2026-08-28 20:32:18] local.INFO: Extracted packet for processing {"connection_id":164030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048e3"} 
[2026-08-28 20:32:18] local.INFO: GPS Element Parsed {"raw_longitude":755604864,"raw_latitude":119825872,"longitude_deg":75.5604864,"latitude_deg":11.9825872,"altitude":16,"angle":263,"satellites":40,"speed":12,"hex_longitude":"2d099d80","hex_latitude":"072465d0","is_valid_coordinates":true} 
[2026-08-28 20:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:32:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709896960001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:32:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16149674033414144,"note":"Value kept but may cause issues"} 
[2026-08-28 20:32:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":693202529569593344,"note":"Value kept but may cause issues"} 
[2026-08-28 20:32:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:32:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787929286000,"timestamp_ms":1787929286000,"timestamp_seconds":1787929286,"priority":1,"record_length":96,"hex_timestamp":"000001a048e3d570"} 
[2026-08-28 20:32:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:32:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-28 20:32:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:32:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:32:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:32:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:32:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:32:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:32:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:32:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.149.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:32:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:32:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:32:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709896960001,"66":13374,"236":206,"28":26880,"24":12,"16":16149674033414144,"45":693202529569593344},"client_ip":"117.225.149.51","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,28,24,16,45]} 
[2026-08-28 20:32:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:32:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:32:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709896960001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:32:18] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-08-28 20:32:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-08-28 20:32:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16149674033414144,"km_value":16149674033414.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:32:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":693202529569593344,"description":"Unknown IO ID 45"} 
[2026-08-28 20:32:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709896960001,"power":13374,"unknown_236":206,"unknown_28":26880,"ignition":12,"odometer":null,"unknown_45":693202529569593344}} 
[2026-08-28 20:32:19] local.INFO: DEBUG: GPS processor result {"connection_id":164030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710223,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:32:19] local.INFO: GPS data processed {"connection_id":164030,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:32:19] local.INFO: Acknowledgment sent {"connection_id":164030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:32:30] local.INFO: TCP Data received {"connection_id":166395,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:32:30] local.INFO: Processing buffer {"connection_id":166395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:32:30] local.INFO: IMEI packet received {"connection_id":166395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 20:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":166395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:32:31] local.INFO: TCP Data received {"connection_id":166395,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:32:31] local.INFO: Processing buffer {"connection_id":166395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:32:31] local.INFO: IMEI packet received {"connection_id":166395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 20:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":166395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:32:34] local.INFO: TCP Data received {"connection_id":165040,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048e22f90012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048e22f90012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:32:34] local.INFO: Processing buffer {"connection_id":165040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048e22f90012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:32:34] local.INFO: Packet analysis {"connection_id":165040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048e2"} 
[2026-08-28 20:32:34] local.INFO: Extracted packet for processing {"connection_id":165040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048e2"} 
[2026-08-28 20:32:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709792512001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:32:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:32:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:32:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:32:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787929178000,"timestamp_ms":1787929178000,"timestamp_seconds":1787929178,"priority":1,"record_length":96,"hex_timestamp":"000001a048e22f90"} 
[2026-08-28 20:32:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:32:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 20:32:34] 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-28 20:32:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:32:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:32:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:32:34] local.INFO: Teltonika packet parsed successfully {"connection_id":165040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:32:34] local.INFO: Passing IMEI to GPS processor {"connection_id":165040,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:32:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":165040,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:32:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:32:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:32:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:32:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709792512001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:32:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:32:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:32:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709792512001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:32:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:32:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:32:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:32:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:32:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709792512001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:32:34] local.INFO: DEBUG: GPS processor result {"connection_id":165040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710224,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:32:34] local.INFO: GPS data processed {"connection_id":165040,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:32:34] local.INFO: Acknowledgment sent {"connection_id":165040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:32:35] local.INFO: TCP Data received {"connection_id":166395,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:32:35] local.INFO: Processing buffer {"connection_id":166395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:32:35] local.INFO: IMEI packet received {"connection_id":166395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 20:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":166395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:32:36] local.INFO: TCP Data received {"connection_id":166395,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048e43ee8012d34c14006aa4840001200e62b..."} 
[2026-08-28 20:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048e43ee8012d34c14006aa4840001200e62b..."} 
[2026-08-28 20:32:36] local.INFO: Processing buffer {"connection_id":166395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048e43ee8012d34c14006aa4840001200e62b..."} 
[2026-08-28 20:32:36] local.INFO: Packet analysis {"connection_id":166395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048e4"} 
[2026-08-28 20:32:36] local.INFO: Extracted packet for processing {"connection_id":166395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048e4"} 
[2026-08-28 20:32:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709827072001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:32:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787929313000,"timestamp_ms":1787929313000,"timestamp_seconds":1787929313,"priority":1,"record_length":96,"hex_timestamp":"000001a048e43ee8"} 
[2026-08-28 20:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 20:32:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:32:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":166395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":166395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":166395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:32:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709827072001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709827072001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:32:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:32:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709827072001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":166395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:32:36] local.INFO: GPS data processed {"connection_id":166395,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:32:36] local.INFO: Acknowledgment sent {"connection_id":166395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:32:43] local.INFO: TCP Data received {"connection_id":165041,"ip":"117.225.149.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165041,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:32:43] local.INFO: Processing buffer {"connection_id":165041,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:32:43] local.INFO: IMEI packet received {"connection_id":165041,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 20:32:43] local.INFO: IMEI acknowledgment sent {"connection_id":165041,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:32:44] local.INFO: TCP Data received {"connection_id":165041,"ip":"117.225.149.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165041,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:32:44] local.INFO: Processing buffer {"connection_id":165041,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:32:44] local.INFO: IMEI packet received {"connection_id":165041,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:32:44] local.INFO: IMEI acknowledgment sent {"connection_id":165041,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:32:46] local.INFO: TCP Data received {"connection_id":165041,"ip":"117.225.149.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165041,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:32:46] local.INFO: Processing buffer {"connection_id":165041,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:32:46] local.INFO: IMEI packet received {"connection_id":165041,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":165041,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:32:47] local.INFO: TCP Data received {"connection_id":165041,"ip":"117.225.149.51","data_length":795,"data_hex":"000000000000030f8e0a000001a048e45658012d095c80072458b8000f00eb27..."} 
[2026-08-28 20:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048e45658012d095c80072458b8000f00eb27..."} 
[2026-08-28 20:32:47] local.INFO: Processing buffer {"connection_id":165041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048e45658012d095c80072458b8000f00eb27..."} 
[2026-08-28 20:32:47] local.INFO: Packet analysis {"connection_id":165041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048e4"} 
[2026-08-28 20:32:47] local.INFO: Extracted packet for processing {"connection_id":165041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048e4"} 
[2026-08-28 20:32:47] local.INFO: GPS Element Parsed {"raw_longitude":755588224,"raw_latitude":119822520,"longitude_deg":75.5588224,"latitude_deg":11.982252,"altitude":15,"angle":235,"satellites":39,"speed":25,"hex_longitude":"2d095c80","hex_latitude":"072458b8","is_valid_coordinates":true} 
[2026-08-28 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-28 20:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709905152001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16150614631251968,"note":"Value kept but may cause issues"} 
[2026-08-28 20:32:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":675539974780346368,"note":"Value kept but may cause issues"} 
[2026-08-28 20:32:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787929319000,"timestamp_ms":1787929319000,"timestamp_seconds":1787929319,"priority":1,"record_length":96,"hex_timestamp":"000001a048e45658"} 
[2026-08-28 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-28 20:32:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-28 20:32:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 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-28 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-28 20:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":165041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":165041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":165041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:32:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.149.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709905152001,"66":13537,"236":206,"28":26880,"24":25,"16":16150614631251968,"45":675539974780346368},"client_ip":"117.225.149.51","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,28,24,16,45]} 
[2026-08-28 20:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709905152001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:32:47] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-08-28 20:32:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-08-28 20:32:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16150614631251968,"km_value":16150614631251.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:32:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":675539974780346368,"description":"Unknown IO ID 45"} 
[2026-08-28 20:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709905152001,"power":13537,"unknown_236":206,"unknown_28":26880,"ignition":25,"odometer":null,"unknown_45":675539974780346368}} 
[2026-08-28 20:32: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":710226,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:32:47] local.INFO: GPS data processed {"connection_id":165041,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:32:47] local.INFO: Acknowledgment sent {"connection_id":165041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:32:56] local.INFO: TCP Data received {"connection_id":166396,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166396,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:32:56] local.INFO: Processing buffer {"connection_id":166396,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:32:56] local.INFO: IMEI packet received {"connection_id":166396,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 20:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":166396,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:33:01] local.INFO: TCP Data received {"connection_id":166396,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166396,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:33:01] local.INFO: Processing buffer {"connection_id":166396,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:33:01] local.INFO: IMEI packet received {"connection_id":166396,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 20:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":166396,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:33:02] local.INFO: TCP Data received {"connection_id":166396,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048e22f90012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048e22f90012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:33:02] local.INFO: Processing buffer {"connection_id":166396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048e22f90012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:33:02] local.INFO: Packet analysis {"connection_id":166396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048e2"} 
[2026-08-28 20:33:02] local.INFO: Extracted packet for processing {"connection_id":166396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048e2"} 
[2026-08-28 20:33:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:33:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709792512001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:33:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:33:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:33:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:33:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787929178000,"timestamp_ms":1787929178000,"timestamp_seconds":1787929178,"priority":1,"record_length":96,"hex_timestamp":"000001a048e22f90"} 
[2026-08-28 20:33:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:33:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 20:33:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:33:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:33:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:33:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:33:02] local.INFO: Teltonika packet parsed successfully {"connection_id":166396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:33:02] local.INFO: Passing IMEI to GPS processor {"connection_id":166396,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:33:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":166396,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:33:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:33:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:33:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:33:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709792512001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:33:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:33:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:33:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709792512001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:33:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:33:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:33:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:33:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:33:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709792512001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:33:02] local.INFO: DEBUG: GPS processor result {"connection_id":166396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710227,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:33:02] local.INFO: GPS data processed {"connection_id":166396,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:33:02] local.INFO: Acknowledgment sent {"connection_id":166396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:33:08] local.INFO: TCP Data received {"connection_id":166395,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048e43ee8012d34c14006aa4840001200e62b..."} 
[2026-08-28 20:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048e43ee8012d34c14006aa4840001200e62b..."} 
[2026-08-28 20:33:08] local.INFO: Processing buffer {"connection_id":166395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048e43ee8012d34c14006aa4840001200e62b..."} 
[2026-08-28 20:33:08] local.INFO: Packet analysis {"connection_id":166395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048e4"} 
[2026-08-28 20:33:08] local.INFO: Extracted packet for processing {"connection_id":166395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048e4"} 
[2026-08-28 20:33:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709827072001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:33:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787929313000,"timestamp_ms":1787929313000,"timestamp_seconds":1787929313,"priority":1,"record_length":96,"hex_timestamp":"000001a048e43ee8"} 
[2026-08-28 20:33:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:33:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 20:33:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:33:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:33:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":166395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":166395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":166395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:33:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709827072001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709827072001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:33:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:33:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:33: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-28 20:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709827072001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":166395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:33:08] local.INFO: GPS data processed {"connection_id":166395,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:33:08] local.INFO: Acknowledgment sent {"connection_id":166395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:33:18] local.INFO: TCP Data received {"connection_id":165041,"ip":"117.225.149.51","data_length":795,"data_hex":"000000000000030f8e0a000001a048e45e28012d0957c007245668000f00fb29..."} 
[2026-08-28 20:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048e45e28012d0957c007245668000f00fb29..."} 
[2026-08-28 20:33:18] local.INFO: Processing buffer {"connection_id":165041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048e45e28012d0957c007245668000f00fb29..."} 
[2026-08-28 20:33:18] local.INFO: Packet analysis {"connection_id":165041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048e4"} 
[2026-08-28 20:33:18] local.INFO: Extracted packet for processing {"connection_id":165041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048e4"} 
[2026-08-28 20:33:18] local.INFO: GPS Element Parsed {"raw_longitude":755587008,"raw_latitude":119821928,"longitude_deg":75.5587008,"latitude_deg":11.9821928,"altitude":15,"angle":251,"satellites":41,"speed":27,"hex_longitude":"2d0957c0","hex_latitude":"07245668","is_valid_coordinates":true} 
[2026-08-28 20:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:33:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709905664001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:33:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16150679055761408,"note":"Value kept but may cause issues"} 
[2026-08-28 20:33:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":674554812361652224,"note":"Value kept but may cause issues"} 
[2026-08-28 20:33:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:33:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787929321000,"timestamp_ms":1787929321000,"timestamp_seconds":1787929321,"priority":1,"record_length":96,"hex_timestamp":"000001a048e45e28"} 
[2026-08-28 20:33:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:33:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-08-28 20:33:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:33:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:33:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:33:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:33:18] local.INFO: Teltonika packet parsed successfully {"connection_id":165041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:33:18] local.INFO: Passing IMEI to GPS processor {"connection_id":165041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:33:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":165041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:33:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.149.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:33:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:33:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:33:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709905664001,"66":13537,"236":206,"28":26880,"24":27,"16":16150679055761408,"45":674554812361652224},"client_ip":"117.225.149.51","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,28,24,16,45]} 
[2026-08-28 20:33:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:33:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:33:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709905664001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:33:18] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-08-28 20:33:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-08-28 20:33:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16150679055761408,"km_value":16150679055761.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:33:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":674554812361652224,"description":"Unknown IO ID 45"} 
[2026-08-28 20:33:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709905664001,"power":13537,"unknown_236":206,"unknown_28":26880,"ignition":27,"odometer":null,"unknown_45":674554812361652224}} 
[2026-08-28 20:33:18] 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":710229,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:33:18] local.INFO: GPS data processed {"connection_id":165041,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:33:18] local.INFO: Acknowledgment sent {"connection_id":165041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:33:29] local.INFO: TCP Data received {"connection_id":163750,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:33:29] local.INFO: Processing buffer {"connection_id":163750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:33:29] local.INFO: IMEI packet received {"connection_id":163750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 20:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":163750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:33:34] local.INFO: TCP Data received {"connection_id":166396,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048e22f90012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048e22f90012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:33:34] local.INFO: Processing buffer {"connection_id":166396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048e22f90012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:33:34] local.INFO: Packet analysis {"connection_id":166396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048e2"} 
[2026-08-28 20:33:34] local.INFO: Extracted packet for processing {"connection_id":166396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048e2"} 
[2026-08-28 20:33:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709792512001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:33:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787929178000,"timestamp_ms":1787929178000,"timestamp_seconds":1787929178,"priority":1,"record_length":96,"hex_timestamp":"000001a048e22f90"} 
[2026-08-28 20:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:33:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 20:33:34] 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-28 20:33:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":166396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":166396,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":166396,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:33:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709792512001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709792512001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:33:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:33:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709792512001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":166396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710230,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:33:34] local.INFO: GPS data processed {"connection_id":166396,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:33:34] local.INFO: Acknowledgment sent {"connection_id":166396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:33:35] local.INFO: TCP Data received {"connection_id":163750,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:33:35] local.INFO: Processing buffer {"connection_id":163750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:33:35] local.INFO: IMEI packet received {"connection_id":163750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 20:33:35] local.INFO: IMEI acknowledgment sent {"connection_id":163750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:33:36] local.INFO: TCP Data received {"connection_id":163750,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048e43ee8012d34c14006aa4840001200e62b..."} 
[2026-08-28 20:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048e43ee8012d34c14006aa4840001200e62b..."} 
[2026-08-28 20:33:36] local.INFO: Processing buffer {"connection_id":163750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048e43ee8012d34c14006aa4840001200e62b..."} 
[2026-08-28 20:33:36] local.INFO: Packet analysis {"connection_id":163750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048e4"} 
[2026-08-28 20:33:36] local.INFO: Extracted packet for processing {"connection_id":163750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048e4"} 
[2026-08-28 20:33:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709827072001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:33:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787929313000,"timestamp_ms":1787929313000,"timestamp_seconds":1787929313,"priority":1,"record_length":96,"hex_timestamp":"000001a048e43ee8"} 
[2026-08-28 20:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:33:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 20:33:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:33:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:33:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709827072001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709827072001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:33:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:33:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709827072001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:33:36] 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":710231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:33:36] local.INFO: GPS data processed {"connection_id":163750,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:33:36] local.INFO: Acknowledgment sent {"connection_id":163750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:33:42] local.INFO: TCP Data received {"connection_id":164031,"ip":"117.225.149.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164031,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:33:42] local.INFO: Processing buffer {"connection_id":164031,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:33:42] local.INFO: IMEI packet received {"connection_id":164031,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 20:33:42] local.INFO: IMEI acknowledgment sent {"connection_id":164031,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:33:48] local.INFO: TCP Data received {"connection_id":164031,"ip":"117.225.149.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164031,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:33:48] local.INFO: Processing buffer {"connection_id":164031,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:33:48] local.INFO: IMEI packet received {"connection_id":164031,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":164031,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:33:49] local.INFO: TCP Data received {"connection_id":164031,"ip":"117.225.149.51","data_length":795,"data_hex":"000000000000030f8e0a000001a048e53118012d08cbc007247880001a010e29..."} 
[2026-08-28 20:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048e53118012d08cbc007247880001a010e29..."} 
[2026-08-28 20:33:49] local.INFO: Processing buffer {"connection_id":164031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048e53118012d08cbc007247880001a010e29..."} 
[2026-08-28 20:33:49] local.INFO: Packet analysis {"connection_id":164031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048e5"} 
[2026-08-28 20:33:49] local.INFO: Extracted packet for processing {"connection_id":164031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048e5"} 
[2026-08-28 20:33:49] local.INFO: GPS Element Parsed {"raw_longitude":755551168,"raw_latitude":119830656,"longitude_deg":75.5551168,"latitude_deg":11.9830656,"altitude":26,"angle":270,"satellites":41,"speed":28,"hex_longitude":"2d08cbc0","hex_latitude":"07247880","is_valid_coordinates":true} 
[2026-08-28 20: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-28 20:33:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709916928001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:33:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16152624675946496,"note":"Value kept but may cause issues"} 
[2026-08-28 20:33:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":643592564926050304,"note":"Value kept but may cause issues"} 
[2026-08-28 20:33:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:33:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787929375000,"timestamp_ms":1787929375000,"timestamp_seconds":1787929375,"priority":1,"record_length":96,"hex_timestamp":"000001a048e53118"} 
[2026-08-28 20: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-28 20:33:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-28 20:33:49] local.WARNING: Large IO value detected {"io_id":97,"raw_value":3070230528,"note":"Value kept but may cause issues"} 
[2026-08-28 20:33:49] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-28 20:33:49] local.WARNING: Large IO value detected {"io_id":72,"raw_value":3836751873,"note":"Value kept but may cause issues"} 
[2026-08-28 20:33:49] local.WARNING: Large IO value detected {"io_id":36,"raw_value":6246492751902353152,"note":"Value kept but may cause issues"} 
[2026-08-28 20:33:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1810628814,"corrected_to":0} 
[2026-08-28 20:33:49] local.WARNING: Large IO value detected {"io_id":138,"raw_value":57821031595646057,"note":"Value kept but may cause issues"} 
[2026-08-28 20:33:49] local.WARNING: Large IO value detected {"io_id":228,"raw_value":9036473945259442183,"note":"Value kept but may cause issues"} 
[2026-08-28 20:33:49] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,14,28,24,241,158,16,98,160,223,45,192,128,23,39,10,66,191,124,20,38,236,97,184,1,240,72,36,4,113,205,137,61,96,33,239,52,2,57,7,138,228],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1810628814,"validated":0}]} 
[2026-08-28 20:33:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1801728107680104448,"timestamp_seconds":1801728107680104.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 20: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-28 20:33:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:33:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:33:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:33:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:33:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.149.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:33:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:33:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:33:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709916928001,"66":13526,"14":206,"28":26880,"24":28,"16":16152624675946496,"45":643592564926050304},"client_ip":"117.225.149.51","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,28,24,16,45]} 
[2026-08-28 20:33:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:33:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:33:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709916928001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:33:49] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-28 20:33:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-08-28 20:33:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16152624675946496,"km_value":16152624675946.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:33:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":643592564926050304,"description":"Unknown IO ID 45"} 
[2026-08-28 20:33:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709916928001,"power":13526,"unknown_14":206,"unknown_28":26880,"ignition":28,"odometer":null,"unknown_45":643592564926050304}} 
[2026-08-28 20:33:49] local.INFO: DEBUG: GPS processor result {"connection_id":164031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710232,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:33:49] local.INFO: GPS data processed {"connection_id":164031,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:33:49] local.INFO: Acknowledgment sent {"connection_id":164031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:33:56] local.INFO: TCP Data received {"connection_id":165042,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165042,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:33:56] local.INFO: Processing buffer {"connection_id":165042,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:33:56] local.INFO: IMEI packet received {"connection_id":165042,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 20:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":165042,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:34:01] local.INFO: TCP Data received {"connection_id":165042,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165042,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:34:01] local.INFO: Processing buffer {"connection_id":165042,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:34:01] local.INFO: IMEI packet received {"connection_id":165042,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 20:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":165042,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:34:02] local.INFO: TCP Data received {"connection_id":165042,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048e22f90012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048e22f90012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:34:02] local.INFO: Processing buffer {"connection_id":165042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048e22f90012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:34:02] local.INFO: Packet analysis {"connection_id":165042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048e2"} 
[2026-08-28 20:34:02] local.INFO: Extracted packet for processing {"connection_id":165042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048e2"} 
[2026-08-28 20:34:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:34:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709792512001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:34:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:34:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:34:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:34:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787929178000,"timestamp_ms":1787929178000,"timestamp_seconds":1787929178,"priority":1,"record_length":96,"hex_timestamp":"000001a048e22f90"} 
[2026-08-28 20:34:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:34:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 20:34:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:34:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:34:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:34:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:34:02] local.INFO: Teltonika packet parsed successfully {"connection_id":165042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:34:02] local.INFO: Passing IMEI to GPS processor {"connection_id":165042,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:34:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":165042,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:34:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:34:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:34:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:34:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709792512001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:34:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:34:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:34:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709792512001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:34:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:34:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:34:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:34:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:34:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709792512001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:34:03] 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":710233,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:34:03] local.INFO: GPS data processed {"connection_id":165042,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:34:03] local.INFO: Acknowledgment sent {"connection_id":165042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:34:08] local.INFO: TCP Data received {"connection_id":163750,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048e43ee8012d34c14006aa4840001200e62b..."} 
[2026-08-28 20:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048e43ee8012d34c14006aa4840001200e62b..."} 
[2026-08-28 20:34:08] local.INFO: Processing buffer {"connection_id":163750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048e43ee8012d34c14006aa4840001200e62b..."} 
[2026-08-28 20:34:08] local.INFO: Packet analysis {"connection_id":163750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048e4"} 
[2026-08-28 20:34:08] local.INFO: Extracted packet for processing {"connection_id":163750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048e4"} 
[2026-08-28 20:34:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709827072001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:34:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787929313000,"timestamp_ms":1787929313000,"timestamp_seconds":1787929313,"priority":1,"record_length":96,"hex_timestamp":"000001a048e43ee8"} 
[2026-08-28 20:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:34:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 20:34:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:34:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:34:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709827072001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709827072001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:34:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:34:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:34: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-28 20:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709827072001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:34:08] 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":710234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:34:08] local.INFO: GPS data processed {"connection_id":163750,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:34:08] local.INFO: Acknowledgment sent {"connection_id":163750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:34:20] local.INFO: TCP Data received {"connection_id":164031,"ip":"117.225.149.51","data_length":795,"data_hex":"000000000000030f8e0a000001a048e538e8012d08c64007247950001a011c25..."} 
[2026-08-28 20:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048e538e8012d08c64007247950001a011c25..."} 
[2026-08-28 20:34:20] local.INFO: Processing buffer {"connection_id":164031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048e538e8012d08c64007247950001a011c25..."} 
[2026-08-28 20:34:20] local.INFO: Packet analysis {"connection_id":164031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048e5"} 
[2026-08-28 20:34:20] local.INFO: Extracted packet for processing {"connection_id":164031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048e5"} 
[2026-08-28 20:34:20] local.INFO: GPS Element Parsed {"raw_longitude":755549760,"raw_latitude":119830864,"longitude_deg":75.554976,"latitude_deg":11.9830864,"altitude":26,"angle":284,"satellites":37,"speed":27,"hex_longitude":"2d08c640","hex_latitude":"07247950","is_valid_coordinates":true} 
[2026-08-28 20:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709920000001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:34:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16152693395423232,"note":"Value kept but may cause issues"} 
[2026-08-28 20:34:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":633811309484867584,"note":"Value kept but may cause issues"} 
[2026-08-28 20:34:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:34:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787929377000,"timestamp_ms":1787929377000,"timestamp_seconds":1787929377,"priority":1,"record_length":96,"hex_timestamp":"000001a048e538e8"} 
[2026-08-28 20:34:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:34:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-28 20:34:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:34:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:34:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:34:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:34:20] local.INFO: Teltonika packet parsed successfully {"connection_id":164031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:34:20] local.INFO: Passing IMEI to GPS processor {"connection_id":164031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:34:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":164031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:34:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.149.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:34:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:34:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:34:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709920000001,"66":13515,"15":206,"28":26880,"24":27,"16":16152693395423232,"45":633811309484867584},"client_ip":"117.225.149.51","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,28,24,16,45]} 
[2026-08-28 20:34:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:34:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:34:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709920000001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:34:20] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-28 20:34:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-08-28 20:34:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16152693395423232,"km_value":16152693395423.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:34:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":633811309484867584,"description":"Unknown IO ID 45"} 
[2026-08-28 20:34:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709920000001,"power":13515,"unknown_15":206,"unknown_28":26880,"ignition":27,"odometer":null,"unknown_45":633811309484867584}} 
[2026-08-28 20:34:21] local.INFO: DEBUG: GPS processor result {"connection_id":164031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710235,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:34:21] local.INFO: GPS data processed {"connection_id":164031,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:34:21] local.INFO: Acknowledgment sent {"connection_id":164031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:34:34] local.INFO: TCP Data received {"connection_id":165042,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048e22f90012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048e22f90012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:34:34] local.INFO: Processing buffer {"connection_id":165042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048e22f90012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:34:34] local.INFO: Packet analysis {"connection_id":165042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048e2"} 
[2026-08-28 20:34:34] local.INFO: Extracted packet for processing {"connection_id":165042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048e2"} 
[2026-08-28 20:34:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709792512001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:34:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:34:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787929178000,"timestamp_ms":1787929178000,"timestamp_seconds":1787929178,"priority":1,"record_length":96,"hex_timestamp":"000001a048e22f90"} 
[2026-08-28 20:34:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:34:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 20:34:34] 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-28 20:34:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:34:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":165042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":165042,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":165042,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709792512001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709792512001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:34:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:34:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:34:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709792512001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:34:34] 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":710236,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:34:34] local.INFO: GPS data processed {"connection_id":165042,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:34:34] local.INFO: Acknowledgment sent {"connection_id":165042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:34:35] local.INFO: TCP Data received {"connection_id":164032,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:34:35] local.INFO: Processing buffer {"connection_id":164032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:34:35] local.INFO: IMEI packet received {"connection_id":164032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 20:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":164032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:34:40] local.INFO: TCP Data received {"connection_id":164032,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:34:40] local.INFO: Processing buffer {"connection_id":164032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:34:40] local.INFO: IMEI packet received {"connection_id":164032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 20:34:40] local.INFO: IMEI acknowledgment sent {"connection_id":164032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:34:41] local.INFO: TCP Data received {"connection_id":164032,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048e43ee8012d34c14006aa4840001200e62b..."} 
[2026-08-28 20:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048e43ee8012d34c14006aa4840001200e62b..."} 
[2026-08-28 20:34:41] local.INFO: Processing buffer {"connection_id":164032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048e43ee8012d34c14006aa4840001200e62b..."} 
[2026-08-28 20:34:41] local.INFO: Packet analysis {"connection_id":164032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048e4"} 
[2026-08-28 20:34:41] local.INFO: Extracted packet for processing {"connection_id":164032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048e4"} 
[2026-08-28 20:34:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709827072001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:34:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:34:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787929313000,"timestamp_ms":1787929313000,"timestamp_seconds":1787929313,"priority":1,"record_length":96,"hex_timestamp":"000001a048e43ee8"} 
[2026-08-28 20:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:34:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 20:34: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-28 20:34:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":164032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":164032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":164032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:34:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709827072001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709827072001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:34:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:34:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:34: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-28 20:34:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709827072001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":164032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:34:41] local.INFO: GPS data processed {"connection_id":164032,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:34:41] local.INFO: Acknowledgment sent {"connection_id":164032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:34:42] local.INFO: TCP Data received {"connection_id":165043,"ip":"117.225.149.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:34:42] local.INFO: Processing buffer {"connection_id":165043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:34:42] local.INFO: IMEI packet received {"connection_id":165043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 20:34:42] local.INFO: IMEI acknowledgment sent {"connection_id":165043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:34:45] local.INFO: TCP Data received {"connection_id":165043,"ip":"117.225.149.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:34:45] local.INFO: Processing buffer {"connection_id":165043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:34:45] local.INFO: IMEI packet received {"connection_id":165043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":165043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:34:46] local.INFO: TCP Data received {"connection_id":164032,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048e43ee8012d34c14006aa4840001200e62b..."} 
[2026-08-28 20:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048e43ee8012d34c14006aa4840001200e62b..."} 
[2026-08-28 20:34:46] local.INFO: Processing buffer {"connection_id":164032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048e43ee8012d34c14006aa4840001200e62b..."} 
[2026-08-28 20:34:46] local.INFO: Packet analysis {"connection_id":164032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048e4"} 
[2026-08-28 20:34:46] local.INFO: Extracted packet for processing {"connection_id":164032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048e4"} 
[2026-08-28 20:34:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20: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-28 20:34:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709827072001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:34:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:34:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:34:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:34:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787929313000,"timestamp_ms":1787929313000,"timestamp_seconds":1787929313,"priority":1,"record_length":96,"hex_timestamp":"000001a048e43ee8"} 
[2026-08-28 20: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-28 20:34:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20: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-28 20: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-28 20: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-28 20: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-28 20:34:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:34:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:34:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:34:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:34:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:34:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:34:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:34:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709827072001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:34:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:34:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:34:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709827072001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:34:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:34:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20: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-28 20:34:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:34:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709827072001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:34:46] local.INFO: DEBUG: GPS processor result {"connection_id":164032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:34:46] local.INFO: GPS data processed {"connection_id":164032,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:34:46] local.INFO: Acknowledgment sent {"connection_id":164032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:34:47] local.INFO: TCP Data received {"connection_id":165043,"ip":"117.225.149.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:34:47] local.INFO: Processing buffer {"connection_id":165043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:34:47] local.INFO: IMEI packet received {"connection_id":165043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:34:47] local.INFO: IMEI acknowledgment sent {"connection_id":165043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:34:48] local.INFO: TCP Data received {"connection_id":165043,"ip":"117.225.149.51","data_length":795,"data_hex":"000000000000030f8e0a000001a048e54888012d08bb4007247df8001a012c21..."} 
[2026-08-28 20:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048e54888012d08bb4007247df8001a012c21..."} 
[2026-08-28 20:34:48] local.INFO: Processing buffer {"connection_id":165043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048e54888012d08bb4007247df8001a012c21..."} 
[2026-08-28 20:34:48] local.INFO: Packet analysis {"connection_id":165043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048e5"} 
[2026-08-28 20:34:48] local.INFO: Extracted packet for processing {"connection_id":165043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048e5"} 
[2026-08-28 20:34:48] local.INFO: GPS Element Parsed {"raw_longitude":755546944,"raw_latitude":119832056,"longitude_deg":75.5546944,"latitude_deg":11.9832056,"altitude":26,"angle":300,"satellites":33,"speed":33,"hex_longitude":"2d08bb40","hex_latitude":"07247df8","is_valid_coordinates":true} 
[2026-08-28 20:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:34:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709920512001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:34:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16152839424311296,"note":"Value kept but may cause issues"} 
[2026-08-28 20:34:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":632263197113012224,"note":"Value kept but may cause issues"} 
[2026-08-28 20:34:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:34:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787929381000,"timestamp_ms":1787929381000,"timestamp_seconds":1787929381,"priority":1,"record_length":96,"hex_timestamp":"000001a048e54888"} 
[2026-08-28 20:34:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:34:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-28 20:34:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:34:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:34:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:34:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:34:48] local.INFO: Teltonika packet parsed successfully {"connection_id":165043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:34:48] local.INFO: Passing IMEI to GPS processor {"connection_id":165043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:34:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":165043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:34:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.149.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:34:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:34:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:34:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709920512001,"66":13493,"15":206,"28":26880,"24":33,"16":16152839424311296,"45":632263197113012224},"client_ip":"117.225.149.51","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,28,24,16,45]} 
[2026-08-28 20:34:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:34:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:34:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709920512001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:34:48] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-28 20:34:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-08-28 20:34:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16152839424311296,"km_value":16152839424311.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:34:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":632263197113012224,"description":"Unknown IO ID 45"} 
[2026-08-28 20:34:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709920512001,"power":13493,"unknown_15":206,"unknown_28":26880,"ignition":33,"odometer":null,"unknown_45":632263197113012224}} 
[2026-08-28 20:34:48] 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":710239,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:34:48] local.INFO: GPS data processed {"connection_id":165043,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:34:48] local.INFO: Acknowledgment sent {"connection_id":165043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:34:56] local.INFO: TCP Data received {"connection_id":166397,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166397,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:34:56] local.INFO: Processing buffer {"connection_id":166397,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:34:56] local.INFO: IMEI packet received {"connection_id":166397,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 20:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":166397,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:35:01] local.INFO: TCP Data received {"connection_id":166397,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166397,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:35:01] local.INFO: Processing buffer {"connection_id":166397,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:35:01] local.INFO: IMEI packet received {"connection_id":166397,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 20:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":166397,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:35:02] local.INFO: TCP Data received {"connection_id":166397,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048e22f90012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048e22f90012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:35:02] local.INFO: Processing buffer {"connection_id":166397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048e22f90012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:35:02] local.INFO: Packet analysis {"connection_id":166397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048e2"} 
[2026-08-28 20:35:02] local.INFO: Extracted packet for processing {"connection_id":166397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048e2"} 
[2026-08-28 20:35:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:35:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:35:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709792512001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:35:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:35:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:35:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:35:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787929178000,"timestamp_ms":1787929178000,"timestamp_seconds":1787929178,"priority":1,"record_length":96,"hex_timestamp":"000001a048e22f90"} 
[2026-08-28 20:35:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:35:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:35:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 20:35:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:35:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:35:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:35:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:35:02] local.INFO: Teltonika packet parsed successfully {"connection_id":166397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:35:02] local.INFO: Passing IMEI to GPS processor {"connection_id":166397,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:35:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":166397,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:35:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:35:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:35:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:35:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709792512001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:35:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:35:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:35:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709792512001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:35:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:35:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:35:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:35:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:35:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709792512001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:35:02] local.INFO: DEBUG: GPS processor result {"connection_id":166397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710240,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:35:02] local.INFO: GPS data processed {"connection_id":166397,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:35:02] local.INFO: Acknowledgment sent {"connection_id":166397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:35:23] local.INFO: TCP Data received {"connection_id":165043,"ip":"117.225.149.51","data_length":795,"data_hex":"000000000000030f8e0a000001a048e690a8012d0803800724fc08000c012622..."} 
[2026-08-28 20:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048e690a8012d0803800724fc08000c012622..."} 
[2026-08-28 20:35:23] local.INFO: Processing buffer {"connection_id":165043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048e690a8012d0803800724fc08000c012622..."} 
[2026-08-28 20:35:23] local.INFO: Packet analysis {"connection_id":165043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048e6"} 
[2026-08-28 20:35:23] local.INFO: Extracted packet for processing {"connection_id":165043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048e6"} 
[2026-08-28 20:35:23] local.INFO: GPS Element Parsed {"raw_longitude":755499904,"raw_latitude":119864328,"longitude_deg":75.5499904,"latitude_deg":11.9864328,"altitude":12,"angle":294,"satellites":34,"speed":25,"hex_longitude":"2d080380","hex_latitude":"0724fc08","is_valid_coordinates":true} 
[2026-08-28 20:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:35:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709942528001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:35:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16155712757432320,"note":"Value kept but may cause issues"} 
[2026-08-28 20:35:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":578853320290629632,"note":"Value kept but may cause issues"} 
[2026-08-28 20:35:23] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,28,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-28 20:35:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787929465000,"timestamp_ms":1787929465000,"timestamp_seconds":1787929465,"priority":1,"record_length":96,"hex_timestamp":"000001a048e690a8"} 
[2026-08-28 20:35:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:35:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-28 20:35:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:35:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:35:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:35:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:35:23] local.INFO: Teltonika packet parsed successfully {"connection_id":165043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:35:23] local.INFO: Passing IMEI to GPS processor {"connection_id":165043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:35:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":165043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:35:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.149.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:35:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:35:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:35:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709942528001,"66":13493,"16":16155712757432320,"28":26880,"24":25,"45":578853320290629632},"client_ip":"117.225.149.51","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,28,24,45]} 
[2026-08-28 20:35:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:35:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:35:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709942528001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:35:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16155712757432320,"km_value":16155712757432.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:35:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-08-28 20:35:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":578853320290629632,"description":"Unknown IO ID 45"} 
[2026-08-28 20:35:23] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457709942528001,"power":13493,"odometer":null,"unknown_28":26880,"ignition":25,"unknown_45":578853320290629632}} 
[2026-08-28 20:35:23] 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":710241,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:35:23] local.INFO: GPS data processed {"connection_id":165043,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:35:23] local.INFO: Acknowledgment sent {"connection_id":165043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:35:30] local.INFO: TCP Data received {"connection_id":164033,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:35:30] local.INFO: Processing buffer {"connection_id":164033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:35:30] local.INFO: IMEI packet received {"connection_id":164033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 20:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":164033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:35:34] local.INFO: TCP Data received {"connection_id":166397,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048e6c758012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048e6c758012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:35:34] local.INFO: Processing buffer {"connection_id":166397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048e6c758012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:35:34] local.INFO: Packet analysis {"connection_id":166397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048e6"} 
[2026-08-28 20:35:34] local.INFO: Extracted packet for processing {"connection_id":166397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048e6"} 
[2026-08-28 20:35:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709869568001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:35:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:35:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787929479000,"timestamp_ms":1787929479000,"timestamp_seconds":1787929479,"priority":1,"record_length":96,"hex_timestamp":"000001a048e6c758"} 
[2026-08-28 20:35:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:35:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 20:35:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:35:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:35:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":166397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":166397,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":166397,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:35:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709869568001,"66":25288,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709869568001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:35:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:35:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:35:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709869568001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":166397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710242,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:35:34] local.INFO: GPS data processed {"connection_id":166397,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:35:34] local.INFO: Acknowledgment sent {"connection_id":166397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:35:38] local.INFO: TCP Data received {"connection_id":164033,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:35:38] local.INFO: Processing buffer {"connection_id":164033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:35:38] local.INFO: IMEI packet received {"connection_id":164033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 20:35:38] local.INFO: IMEI acknowledgment sent {"connection_id":164033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:35:40] local.INFO: TCP Data received {"connection_id":164033,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048e43ee8012d34c14006aa4840001200e62b..."} 
[2026-08-28 20:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048e43ee8012d34c14006aa4840001200e62b..."} 
[2026-08-28 20:35:40] local.INFO: Processing buffer {"connection_id":164033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048e43ee8012d34c14006aa4840001200e62b..."} 
[2026-08-28 20:35:40] local.INFO: Packet analysis {"connection_id":164033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048e4"} 
[2026-08-28 20:35:40] local.INFO: Extracted packet for processing {"connection_id":164033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048e4"} 
[2026-08-28 20:35:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709827072001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:35:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:35:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787929313000,"timestamp_ms":1787929313000,"timestamp_seconds":1787929313,"priority":1,"record_length":96,"hex_timestamp":"000001a048e43ee8"} 
[2026-08-28 20:35:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:35:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 20:35:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:35:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:35:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":164033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":164033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":164033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:35:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709827072001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709827072001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:35:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:35:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:35: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-28 20:35:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709827072001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":164033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:35:40] local.INFO: GPS data processed {"connection_id":164033,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:35:40] local.INFO: Acknowledgment sent {"connection_id":164033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:35:50] local.INFO: TCP Data received {"connection_id":166398,"ip":"117.225.149.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166398,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:35:50] local.INFO: Processing buffer {"connection_id":166398,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:35:50] local.INFO: IMEI packet received {"connection_id":166398,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 20:35:50] local.INFO: IMEI acknowledgment sent {"connection_id":166398,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:35:55] local.INFO: TCP Data received {"connection_id":166398,"ip":"117.225.149.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166398,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:35:55] local.INFO: Processing buffer {"connection_id":166398,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:35:55] local.INFO: IMEI packet received {"connection_id":166398,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":166398,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:35:56] local.INFO: TCP Data received {"connection_id":163751,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163751,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:35:56] local.INFO: Processing buffer {"connection_id":163751,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:35:56] local.INFO: IMEI packet received {"connection_id":163751,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 20:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":163751,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:35:57] local.INFO: TCP Data received {"connection_id":166398,"ip":"117.225.149.51","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-28 20:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166398,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-28 20:35:57] local.INFO: Processing buffer {"connection_id":166398,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-28 20:35:57] local.INFO: IMEI packet received {"connection_id":166398,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":166398,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:36:01] local.INFO: TCP Data received {"connection_id":163751,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163751,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:36:01] local.INFO: Processing buffer {"connection_id":163751,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:36:01] local.INFO: IMEI packet received {"connection_id":163751,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 20:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":163751,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:36:02] local.INFO: TCP Data received {"connection_id":163751,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048e6c758012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048e6c758012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:36:02] local.INFO: Processing buffer {"connection_id":163751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048e6c758012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:36:02] local.INFO: Packet analysis {"connection_id":163751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048e6"} 
[2026-08-28 20:36:02] local.INFO: Extracted packet for processing {"connection_id":163751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048e6"} 
[2026-08-28 20:36:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:36:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709869568001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:36:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:36:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:36:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:36:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787929479000,"timestamp_ms":1787929479000,"timestamp_seconds":1787929479,"priority":1,"record_length":96,"hex_timestamp":"000001a048e6c758"} 
[2026-08-28 20:36:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:36:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 20:36:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:36:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:36:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:36:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:36:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:36:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163751,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:36:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163751,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:36:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:36:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:36:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:36:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709869568001,"66":25288,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:36:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:36:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:36:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709869568001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:36:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:36:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:36:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:36:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:36:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709869568001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:36:02] 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":710244,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:36:02] local.INFO: GPS data processed {"connection_id":163751,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:36:02] local.INFO: Acknowledgment sent {"connection_id":163751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:36:11] local.INFO: TCP Data received {"connection_id":164033,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048e43ee8012d34c14006aa4840001200e62b..."} 
[2026-08-28 20:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048e43ee8012d34c14006aa4840001200e62b..."} 
[2026-08-28 20:36:11] local.INFO: Processing buffer {"connection_id":164033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048e43ee8012d34c14006aa4840001200e62b..."} 
[2026-08-28 20:36:11] local.INFO: Packet analysis {"connection_id":164033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048e4"} 
[2026-08-28 20:36:11] local.INFO: Extracted packet for processing {"connection_id":164033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048e4"} 
[2026-08-28 20:36:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709827072001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:36:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:36:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787929313000,"timestamp_ms":1787929313000,"timestamp_seconds":1787929313,"priority":1,"record_length":96,"hex_timestamp":"000001a048e43ee8"} 
[2026-08-28 20:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:36:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 20:36:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:36:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":164033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":164033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":164033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:36:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709827072001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709827072001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:36:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:36:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:36: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-28 20:36:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709827072001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":164033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:36:11] local.INFO: GPS data processed {"connection_id":164033,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:36:11] local.INFO: Acknowledgment sent {"connection_id":164033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:36:29] local.INFO: TCP Data received {"connection_id":165044,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:36:29] local.INFO: Processing buffer {"connection_id":165044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:36:29] local.INFO: IMEI packet received {"connection_id":165044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 20:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":165044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:36:34] local.INFO: TCP Data received {"connection_id":163751,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048e6c758012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048e6c758012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:36:34] local.INFO: Processing buffer {"connection_id":163751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048e6c758012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:36:34] local.INFO: Packet analysis {"connection_id":163751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048e6"} 
[2026-08-28 20:36:34] local.INFO: Extracted packet for processing {"connection_id":163751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048e6"} 
[2026-08-28 20:36:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709869568001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:36:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:36:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787929479000,"timestamp_ms":1787929479000,"timestamp_seconds":1787929479,"priority":1,"record_length":96,"hex_timestamp":"000001a048e6c758"} 
[2026-08-28 20:36:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:36:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 20:36:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:36:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:36:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163751,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163751,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:36:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:36:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709869568001,"66":25288,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:36:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:36:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:36:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709869568001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:36:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:36:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:36:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:36:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:36:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709869568001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:36:34] 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":710246,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:36:34] local.INFO: GPS data processed {"connection_id":163751,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:36:34] local.INFO: Acknowledgment sent {"connection_id":163751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:36:35] local.INFO: TCP Data received {"connection_id":165044,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:36:35] local.INFO: Processing buffer {"connection_id":165044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:36:35] local.INFO: IMEI packet received {"connection_id":165044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 20:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":165044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:36:36] local.INFO: TCP Data received {"connection_id":165044,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048e43ee8012d34c14006aa4840001200e62b..."} 
[2026-08-28 20:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048e43ee8012d34c14006aa4840001200e62b..."} 
[2026-08-28 20:36:36] local.INFO: Processing buffer {"connection_id":165044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048e43ee8012d34c14006aa4840001200e62b..."} 
[2026-08-28 20:36:36] local.INFO: Packet analysis {"connection_id":165044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048e4"} 
[2026-08-28 20:36:36] local.INFO: Extracted packet for processing {"connection_id":165044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048e4"} 
[2026-08-28 20:36:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709827072001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787929313000,"timestamp_ms":1787929313000,"timestamp_seconds":1787929313,"priority":1,"record_length":96,"hex_timestamp":"000001a048e43ee8"} 
[2026-08-28 20:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:36:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 20:36:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:36:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":165044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":165044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":165044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:36:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709827072001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709827072001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:36:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:36:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709827072001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:36:36] 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":710247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:36:36] local.INFO: GPS data processed {"connection_id":165044,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:36:36] local.INFO: Acknowledgment sent {"connection_id":165044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:36:56] local.INFO: TCP Data received {"connection_id":166399,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166399,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:36:56] local.INFO: Processing buffer {"connection_id":166399,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:36:56] local.INFO: IMEI packet received {"connection_id":166399,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 20:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":166399,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:37:01] local.INFO: TCP Data received {"connection_id":166399,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166399,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:37:01] local.INFO: Processing buffer {"connection_id":166399,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:37:01] local.INFO: IMEI packet received {"connection_id":166399,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 20:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":166399,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:37:02] local.INFO: TCP Data received {"connection_id":166399,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048e6c758012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048e6c758012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:37:02] local.INFO: Processing buffer {"connection_id":166399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048e6c758012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:37:02] local.INFO: Packet analysis {"connection_id":166399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048e6"} 
[2026-08-28 20:37:02] local.INFO: Extracted packet for processing {"connection_id":166399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048e6"} 
[2026-08-28 20:37:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:37:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:37:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709869568001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:37:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:37:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:37:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:37:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787929479000,"timestamp_ms":1787929479000,"timestamp_seconds":1787929479,"priority":1,"record_length":96,"hex_timestamp":"000001a048e6c758"} 
[2026-08-28 20:37:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:37:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:37:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 20:37:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:37:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:37:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:37:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:37:02] local.INFO: Teltonika packet parsed successfully {"connection_id":166399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:37:02] local.INFO: Passing IMEI to GPS processor {"connection_id":166399,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:37:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":166399,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:37:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:37:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:37:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:37:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709869568001,"66":25288,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:37:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:37:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:37:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709869568001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:37:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:37:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:37:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:37:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:37:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709869568001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:37:02] local.INFO: DEBUG: GPS processor result {"connection_id":166399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710248,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:37:02] local.INFO: GPS data processed {"connection_id":166399,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:37:02] local.INFO: Acknowledgment sent {"connection_id":166399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:37:07] local.INFO: TCP Data received {"connection_id":166399,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048e6c758012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048e6c758012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:37:07] local.INFO: Processing buffer {"connection_id":166399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048e6c758012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:37:07] local.INFO: Packet analysis {"connection_id":166399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048e6"} 
[2026-08-28 20:37:07] local.INFO: Extracted packet for processing {"connection_id":166399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048e6"} 
[2026-08-28 20:37:07] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709869568001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787929479000,"timestamp_ms":1787929479000,"timestamp_seconds":1787929479,"priority":1,"record_length":96,"hex_timestamp":"000001a048e6c758"} 
[2026-08-28 20:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:37:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 20:37:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:37:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":166399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":166399,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":166399,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:37:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709869568001,"66":25288,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709869568001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:37:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:37:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709869568001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":166399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710249,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:37:07] local.INFO: GPS data processed {"connection_id":166399,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:37:07] local.INFO: Acknowledgment sent {"connection_id":166399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:37:08] local.INFO: TCP Data received {"connection_id":165044,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048e43ee8012d34c14006aa4840001200e62b..."} 
[2026-08-28 20:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048e43ee8012d34c14006aa4840001200e62b..."} 
[2026-08-28 20:37:08] local.INFO: Processing buffer {"connection_id":165044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048e43ee8012d34c14006aa4840001200e62b..."} 
[2026-08-28 20:37:08] local.INFO: Packet analysis {"connection_id":165044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048e4"} 
[2026-08-28 20:37:08] local.INFO: Extracted packet for processing {"connection_id":165044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048e4"} 
[2026-08-28 20:37:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709827072001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:37:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787929313000,"timestamp_ms":1787929313000,"timestamp_seconds":1787929313,"priority":1,"record_length":96,"hex_timestamp":"000001a048e43ee8"} 
[2026-08-28 20:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:37:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-28 20:37:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:37:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":165044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":165044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":165044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:37:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709827072001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709827072001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:37:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:37:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:37: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-28 20:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709827072001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:37:08] 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":710250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:37:08] local.INFO: GPS data processed {"connection_id":165044,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:37:08] local.INFO: Acknowledgment sent {"connection_id":165044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:37:29] local.INFO: TCP Data received {"connection_id":163752,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:37:29] local.INFO: Processing buffer {"connection_id":163752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:37:29] local.INFO: IMEI packet received {"connection_id":163752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 20:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":163752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:37:31] local.INFO: TCP Data received {"connection_id":163752,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:37:31] local.INFO: Processing buffer {"connection_id":163752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:37:31] local.INFO: IMEI packet received {"connection_id":163752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 20:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":163752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:37:35] local.INFO: TCP Data received {"connection_id":163752,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:37:35] local.INFO: Processing buffer {"connection_id":163752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:37:35] local.INFO: IMEI packet received {"connection_id":163752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 20:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":163752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:37:36] local.INFO: TCP Data received {"connection_id":163752,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048e8d6b0012d34c14006aa4840001400e62b..."} 
[2026-08-28 20:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048e8d6b0012d34c14006aa4840001400e62b..."} 
[2026-08-28 20:37:36] local.INFO: Processing buffer {"connection_id":163752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048e8d6b0012d34c14006aa4840001400e62b..."} 
[2026-08-28 20:37:36] local.INFO: Packet analysis {"connection_id":163752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048e8"} 
[2026-08-28 20:37:36] local.INFO: Extracted packet for processing {"connection_id":163752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048e8"} 
[2026-08-28 20:37:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":20,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709904128001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:37:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:37:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787929614000,"timestamp_ms":1787929614000,"timestamp_seconds":1787929614,"priority":1,"record_length":96,"hex_timestamp":"000001a048e8d6b0"} 
[2026-08-28 20:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:37:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 20:37:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:37:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:37:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709904128001,"66":25125,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709904128001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:37:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:37:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:37:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709904128001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:37:36] 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":710251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:37:36] local.INFO: GPS data processed {"connection_id":163752,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:37:36] local.INFO: Acknowledgment sent {"connection_id":163752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:37:38] local.INFO: TCP Data received {"connection_id":166399,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048e6c758012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048e6c758012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:37:38] local.INFO: Processing buffer {"connection_id":166399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048e6c758012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:37:38] local.INFO: Packet analysis {"connection_id":166399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048e6"} 
[2026-08-28 20:37:38] local.INFO: Extracted packet for processing {"connection_id":166399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048e6"} 
[2026-08-28 20:37:38] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709869568001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:37:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787929479000,"timestamp_ms":1787929479000,"timestamp_seconds":1787929479,"priority":1,"record_length":96,"hex_timestamp":"000001a048e6c758"} 
[2026-08-28 20:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:37:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 20:37:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:37:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":166399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":166399,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":166399,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:37:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709869568001,"66":25288,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709869568001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:37:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:37:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709869568001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":166399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710252,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:37:38] local.INFO: GPS data processed {"connection_id":166399,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:37:38] local.INFO: Acknowledgment sent {"connection_id":166399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:37:55] local.INFO: TCP Data received {"connection_id":163753,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163753,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:37:55] local.INFO: Processing buffer {"connection_id":163753,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:37:55] local.INFO: IMEI packet received {"connection_id":163753,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 20:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":163753,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:38:01] local.INFO: TCP Data received {"connection_id":163753,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163753,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:38:01] local.INFO: Processing buffer {"connection_id":163753,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:38:01] local.INFO: IMEI packet received {"connection_id":163753,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 20:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":163753,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:38:02] local.INFO: TCP Data received {"connection_id":163753,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048e6c758012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048e6c758012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:38:02] local.INFO: Processing buffer {"connection_id":163753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048e6c758012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:38:02] local.INFO: Packet analysis {"connection_id":163753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048e6"} 
[2026-08-28 20:38:02] local.INFO: Extracted packet for processing {"connection_id":163753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048e6"} 
[2026-08-28 20:38:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709869568001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:38:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:38:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787929479000,"timestamp_ms":1787929479000,"timestamp_seconds":1787929479,"priority":1,"record_length":96,"hex_timestamp":"000001a048e6c758"} 
[2026-08-28 20:38:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:38:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 20:38:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:38:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:38:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163753,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163753,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:38:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709869568001,"66":25288,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709869568001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:38:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:38:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:38:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709869568001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:38:02] 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":710253,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:38:02] local.INFO: GPS data processed {"connection_id":163753,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:38:02] local.INFO: Acknowledgment sent {"connection_id":163753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:38:08] local.INFO: TCP Data received {"connection_id":163752,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048e8d6b0012d34c14006aa4840001400e62b..."} 
[2026-08-28 20:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048e8d6b0012d34c14006aa4840001400e62b..."} 
[2026-08-28 20:38:08] local.INFO: Processing buffer {"connection_id":163752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048e8d6b0012d34c14006aa4840001400e62b..."} 
[2026-08-28 20:38:08] local.INFO: Packet analysis {"connection_id":163752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048e8"} 
[2026-08-28 20:38:08] local.INFO: Extracted packet for processing {"connection_id":163752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048e8"} 
[2026-08-28 20:38:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":20,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709904128001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:38:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787929614000,"timestamp_ms":1787929614000,"timestamp_seconds":1787929614,"priority":1,"record_length":96,"hex_timestamp":"000001a048e8d6b0"} 
[2026-08-28 20:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:38:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 20:38:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:38:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709904128001,"66":25125,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709904128001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:38:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:38:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:38: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-28 20:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709904128001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:38:08] 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":710254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:38:08] local.INFO: GPS data processed {"connection_id":163752,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:38:08] local.INFO: Acknowledgment sent {"connection_id":163752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:38:30] local.INFO: TCP Data received {"connection_id":165046,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:38:30] local.INFO: Processing buffer {"connection_id":165046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:38:30] local.INFO: IMEI packet received {"connection_id":165046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 20:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":165046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:38:34] local.INFO: TCP Data received {"connection_id":163753,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048e6c758012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048e6c758012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:38:34] local.INFO: Processing buffer {"connection_id":163753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048e6c758012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:38:34] local.INFO: Packet analysis {"connection_id":163753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048e6"} 
[2026-08-28 20:38:34] local.INFO: Extracted packet for processing {"connection_id":163753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048e6"} 
[2026-08-28 20:38:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709869568001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:38:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:38:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787929479000,"timestamp_ms":1787929479000,"timestamp_seconds":1787929479,"priority":1,"record_length":96,"hex_timestamp":"000001a048e6c758"} 
[2026-08-28 20:38:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:38:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 20:38:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:38:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:38:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163753,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163753,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:38:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709869568001,"66":25288,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709869568001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:38:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:38:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:38:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709869568001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:38:34] 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":710255,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:38:34] local.INFO: GPS data processed {"connection_id":163753,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:38:34] local.INFO: Acknowledgment sent {"connection_id":163753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:38:35] local.INFO: TCP Data received {"connection_id":165046,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:38:35] local.INFO: Processing buffer {"connection_id":165046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:38:35] local.INFO: IMEI packet received {"connection_id":165046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 20:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":165046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:38:36] local.INFO: TCP Data received {"connection_id":165046,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048e8d6b0012d34c14006aa4840001400e62b..."} 
[2026-08-28 20:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048e8d6b0012d34c14006aa4840001400e62b..."} 
[2026-08-28 20:38:36] local.INFO: Processing buffer {"connection_id":165046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048e8d6b0012d34c14006aa4840001400e62b..."} 
[2026-08-28 20:38:36] local.INFO: Packet analysis {"connection_id":165046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048e8"} 
[2026-08-28 20:38:36] local.INFO: Extracted packet for processing {"connection_id":165046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048e8"} 
[2026-08-28 20:38:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":20,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709904128001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:38:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787929614000,"timestamp_ms":1787929614000,"timestamp_seconds":1787929614,"priority":1,"record_length":96,"hex_timestamp":"000001a048e8d6b0"} 
[2026-08-28 20:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:38:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 20:38:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:38:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":165046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":165046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":165046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:38:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709904128001,"66":25125,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709904128001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:38:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:38:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709904128001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:38:36] 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":710256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:38:36] local.INFO: GPS data processed {"connection_id":165046,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:38:36] local.INFO: Acknowledgment sent {"connection_id":165046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:38:55] local.INFO: TCP Data received {"connection_id":163755,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163755,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:38:56] local.INFO: Processing buffer {"connection_id":163755,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:38:56] local.INFO: IMEI packet received {"connection_id":163755,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 20:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":163755,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:39:01] local.INFO: TCP Data received {"connection_id":163755,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163755,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:39:01] local.INFO: Processing buffer {"connection_id":163755,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:39:01] local.INFO: IMEI packet received {"connection_id":163755,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 20:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":163755,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:39:02] local.INFO: TCP Data received {"connection_id":163755,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048e6c758012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048e6c758012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:39:02] local.INFO: Processing buffer {"connection_id":163755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048e6c758012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:39:02] local.INFO: Packet analysis {"connection_id":163755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048e6"} 
[2026-08-28 20:39:02] local.INFO: Extracted packet for processing {"connection_id":163755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048e6"} 
[2026-08-28 20:39:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709869568001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:39:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:39:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787929479000,"timestamp_ms":1787929479000,"timestamp_seconds":1787929479,"priority":1,"record_length":96,"hex_timestamp":"000001a048e6c758"} 
[2026-08-28 20:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:39:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 20:39:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:39:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163755,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163755,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:39:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709869568001,"66":25288,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709869568001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:39:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:39:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:39:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709869568001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":163755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710257,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:39:02] local.INFO: GPS data processed {"connection_id":163755,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:39:02] local.INFO: Acknowledgment sent {"connection_id":163755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:39:08] local.INFO: TCP Data received {"connection_id":165046,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048e8d6b0012d34c14006aa4840001400e62b..."} 
[2026-08-28 20:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048e8d6b0012d34c14006aa4840001400e62b..."} 
[2026-08-28 20:39:08] local.INFO: Processing buffer {"connection_id":165046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048e8d6b0012d34c14006aa4840001400e62b..."} 
[2026-08-28 20:39:08] local.INFO: Packet analysis {"connection_id":165046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048e8"} 
[2026-08-28 20:39:08] local.INFO: Extracted packet for processing {"connection_id":165046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048e8"} 
[2026-08-28 20:39:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":20,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709904128001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:39:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787929614000,"timestamp_ms":1787929614000,"timestamp_seconds":1787929614,"priority":1,"record_length":96,"hex_timestamp":"000001a048e8d6b0"} 
[2026-08-28 20:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:39:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 20:39:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:39:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":165046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":165046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":165046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:39:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709904128001,"66":25125,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709904128001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:39:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:39:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:39: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-28 20:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709904128001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:39:08] 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":710258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:39:08] local.INFO: GPS data processed {"connection_id":165046,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:39:08] local.INFO: Acknowledgment sent {"connection_id":165046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:39:30] local.INFO: TCP Data received {"connection_id":163756,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:39:30] local.INFO: Processing buffer {"connection_id":163756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:39:30] local.INFO: IMEI packet received {"connection_id":163756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 20:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":163756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:39:34] local.INFO: TCP Data received {"connection_id":163755,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048e6c758012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048e6c758012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:39:34] local.INFO: Processing buffer {"connection_id":163755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048e6c758012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:39:34] local.INFO: Packet analysis {"connection_id":163755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048e6"} 
[2026-08-28 20:39:34] local.INFO: Extracted packet for processing {"connection_id":163755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048e6"} 
[2026-08-28 20:39:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709869568001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787929479000,"timestamp_ms":1787929479000,"timestamp_seconds":1787929479,"priority":1,"record_length":96,"hex_timestamp":"000001a048e6c758"} 
[2026-08-28 20:39:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:39:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 20:39:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:39:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:39:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163755,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163755,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709869568001,"66":25288,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709869568001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:39:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:39:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709869568001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":163755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710259,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:39:34] local.INFO: GPS data processed {"connection_id":163755,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:39:34] local.INFO: Acknowledgment sent {"connection_id":163755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:39:35] local.INFO: TCP Data received {"connection_id":163756,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:39:35] local.INFO: Processing buffer {"connection_id":163756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:39:35] local.INFO: IMEI packet received {"connection_id":163756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 20:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":163756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:39:36] local.INFO: TCP Data received {"connection_id":163756,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048e8d6b0012d34c14006aa4840001400e62b..."} 
[2026-08-28 20:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048e8d6b0012d34c14006aa4840001400e62b..."} 
[2026-08-28 20:39:36] local.INFO: Processing buffer {"connection_id":163756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048e8d6b0012d34c14006aa4840001400e62b..."} 
[2026-08-28 20:39:36] local.INFO: Packet analysis {"connection_id":163756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048e8"} 
[2026-08-28 20:39:36] local.INFO: Extracted packet for processing {"connection_id":163756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048e8"} 
[2026-08-28 20:39:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":20,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709904128001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:39:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787929614000,"timestamp_ms":1787929614000,"timestamp_seconds":1787929614,"priority":1,"record_length":96,"hex_timestamp":"000001a048e8d6b0"} 
[2026-08-28 20:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:39:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 20:39:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:39:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:39:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709904128001,"66":25125,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709904128001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:39:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:39:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709904128001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:39:36] 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":710260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:39:36] local.INFO: GPS data processed {"connection_id":163756,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:39:36] local.INFO: Acknowledgment sent {"connection_id":163756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:39:40] local.INFO: TCP Data received {"connection_id":163756,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048e8d6b0012d34c14006aa4840001400e62b..."} 
[2026-08-28 20:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048e8d6b0012d34c14006aa4840001400e62b..."} 
[2026-08-28 20:39:40] local.INFO: Processing buffer {"connection_id":163756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048e8d6b0012d34c14006aa4840001400e62b..."} 
[2026-08-28 20:39:40] local.INFO: Packet analysis {"connection_id":163756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048e8"} 
[2026-08-28 20:39:40] local.INFO: Extracted packet for processing {"connection_id":163756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048e8"} 
[2026-08-28 20:39:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":20,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709904128001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:39:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:39:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:39:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787929614000,"timestamp_ms":1787929614000,"timestamp_seconds":1787929614,"priority":1,"record_length":96,"hex_timestamp":"000001a048e8d6b0"} 
[2026-08-28 20:39:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:39:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 20:39: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-28 20:39:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:39:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:39:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:39:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:39:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:39:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709904128001,"66":25125,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:39:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:39:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:39:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709904128001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:39:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:39:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:39: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-28 20:39:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:39:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709904128001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:39:40] 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":710261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:39:40] local.INFO: GPS data processed {"connection_id":163756,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:39:40] local.INFO: Acknowledgment sent {"connection_id":163756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:39:55] local.INFO: TCP Data received {"connection_id":166401,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166401,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:39:55] local.INFO: Processing buffer {"connection_id":166401,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:39:55] local.INFO: IMEI packet received {"connection_id":166401,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 20:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":166401,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:40:01] local.INFO: TCP Data received {"connection_id":166401,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166401,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:40:01] local.INFO: Processing buffer {"connection_id":166401,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:40:01] local.INFO: IMEI packet received {"connection_id":166401,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 20:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":166401,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:40:02] local.INFO: TCP Data received {"connection_id":166401,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048e6c758012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048e6c758012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:40:02] local.INFO: Processing buffer {"connection_id":166401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048e6c758012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:40:02] local.INFO: Packet analysis {"connection_id":166401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048e6"} 
[2026-08-28 20:40:02] local.INFO: Extracted packet for processing {"connection_id":166401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048e6"} 
[2026-08-28 20:40:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709869568001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:40:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:40:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787929479000,"timestamp_ms":1787929479000,"timestamp_seconds":1787929479,"priority":1,"record_length":96,"hex_timestamp":"000001a048e6c758"} 
[2026-08-28 20:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:40:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 20:40:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:40:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":166401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":166401,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":166401,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:40:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709869568001,"66":25288,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709869568001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:40:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:40:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:40:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709869568001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":166401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710262,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:40:02] local.INFO: GPS data processed {"connection_id":166401,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:40:02] local.INFO: Acknowledgment sent {"connection_id":166401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:40:12] local.INFO: TCP Data received {"connection_id":163756,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048e8d6b0012d34c14006aa4840001400e62b..."} 
[2026-08-28 20:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048e8d6b0012d34c14006aa4840001400e62b..."} 
[2026-08-28 20:40:12] local.INFO: Processing buffer {"connection_id":163756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048e8d6b0012d34c14006aa4840001400e62b..."} 
[2026-08-28 20:40:12] local.INFO: Packet analysis {"connection_id":163756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048e8"} 
[2026-08-28 20:40:12] local.INFO: Extracted packet for processing {"connection_id":163756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048e8"} 
[2026-08-28 20:40:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":20,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709904128001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:40:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:40:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787929614000,"timestamp_ms":1787929614000,"timestamp_seconds":1787929614,"priority":1,"record_length":96,"hex_timestamp":"000001a048e8d6b0"} 
[2026-08-28 20:40:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:40:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 20:40: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-28 20:40:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:40:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":163756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":163756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":163756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:40:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:40:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709904128001,"66":25125,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:40:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:40:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:40:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709904128001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:40:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:40:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:40: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-28 20:40:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:40:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709904128001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:40:12] 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":710263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:40:12] local.INFO: GPS data processed {"connection_id":163756,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:40:12] local.INFO: Acknowledgment sent {"connection_id":163756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:40:29] local.INFO: TCP Data received {"connection_id":166402,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:40:29] local.INFO: Processing buffer {"connection_id":166402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:40:29] local.INFO: IMEI packet received {"connection_id":166402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 20:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":166402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:40:34] local.INFO: TCP Data received {"connection_id":166401,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048eb5f20012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048eb5f20012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:40:34] local.INFO: Processing buffer {"connection_id":166401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048eb5f20012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:40:34] local.INFO: Packet analysis {"connection_id":166401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048eb"} 
[2026-08-28 20:40:34] local.INFO: Extracted packet for processing {"connection_id":166401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048eb"} 
[2026-08-28 20:40:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709946624001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:40:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787929780000,"timestamp_ms":1787929780000,"timestamp_seconds":1787929780,"priority":1,"record_length":96,"hex_timestamp":"000001a048eb5f20"} 
[2026-08-28 20:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:40:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 20:40:34] 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-28 20:40:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":166401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":166401,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":166401,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:40:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709946624001,"66":25299,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709946624001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:40:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:40:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709946624001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":166401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710264,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:40:34] local.INFO: GPS data processed {"connection_id":166401,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:40:34] local.INFO: Acknowledgment sent {"connection_id":166401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:40:35] local.INFO: TCP Data received {"connection_id":166402,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:40:35] local.INFO: Processing buffer {"connection_id":166402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:40:35] local.INFO: IMEI packet received {"connection_id":166402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 20:40:35] local.INFO: IMEI acknowledgment sent {"connection_id":166402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:40:36] local.INFO: TCP Data received {"connection_id":166402,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048e8d6b0012d34c14006aa4840001400e62b..."} 
[2026-08-28 20:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048e8d6b0012d34c14006aa4840001400e62b..."} 
[2026-08-28 20:40:36] local.INFO: Processing buffer {"connection_id":166402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048e8d6b0012d34c14006aa4840001400e62b..."} 
[2026-08-28 20:40:36] local.INFO: Packet analysis {"connection_id":166402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048e8"} 
[2026-08-28 20:40:36] local.INFO: Extracted packet for processing {"connection_id":166402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048e8"} 
[2026-08-28 20:40:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":20,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:40:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709904128001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:40:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:40:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:40:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:40:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787929614000,"timestamp_ms":1787929614000,"timestamp_seconds":1787929614,"priority":1,"record_length":96,"hex_timestamp":"000001a048e8d6b0"} 
[2026-08-28 20:40:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:40:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 20:40:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:40:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:40:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:40:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:40:36] local.INFO: Teltonika packet parsed successfully {"connection_id":166402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:40:36] local.INFO: Passing IMEI to GPS processor {"connection_id":166402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:40:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":166402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:40:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:40:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:40:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:40:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709904128001,"66":25125,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:40:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:40:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:40:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709904128001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:40:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:40:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:40:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:40:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:40:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709904128001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:40:36] local.INFO: DEBUG: GPS processor result {"connection_id":166402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:40:36] local.INFO: GPS data processed {"connection_id":166402,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:40:36] local.INFO: Acknowledgment sent {"connection_id":166402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:40:56] local.INFO: TCP Data received {"connection_id":165047,"ip":"117.225.149.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165047,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:40:56] local.INFO: Processing buffer {"connection_id":165047,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:40:56] local.INFO: IMEI packet received {"connection_id":165047,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 20:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":165047,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:40:57] local.INFO: TCP Data received {"connection_id":165047,"ip":"117.225.149.51","data_length":795,"data_hex":"000000000000030f8e0a000001a048eb8630012d0761400725ca480017005a24..."} 
[2026-08-28 20:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048eb8630012d0761400725ca480017005a24..."} 
[2026-08-28 20:40:57] local.INFO: Processing buffer {"connection_id":165047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048eb8630012d0761400725ca480017005a24..."} 
[2026-08-28 20:40:57] local.INFO: Packet analysis {"connection_id":165047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048eb"} 
[2026-08-28 20:40:57] local.INFO: Extracted packet for processing {"connection_id":165047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048eb"} 
[2026-08-28 20:40:57] local.INFO: GPS Element Parsed {"raw_longitude":755458368,"raw_latitude":119917128,"longitude_deg":75.5458368,"latitude_deg":11.9917128,"altitude":23,"angle":90,"satellites":36,"speed":0,"hex_longitude":"2d076140","hex_latitude":"0725ca48","is_valid_coordinates":true} 
[2026-08-28 20:40:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:40:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710021120001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:40:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16159415019241472,"note":"Value kept but may cause issues"} 
[2026-08-28 20:40:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":531776630449391616,"note":"Value kept but may cause issues"} 
[2026-08-28 20:40:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:40:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787929790000,"timestamp_ms":1787929790000,"timestamp_seconds":1787929790,"priority":1,"record_length":96,"hex_timestamp":"000001a048eb8630"} 
[2026-08-28 20:40:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:40:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20:40:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-28 20:40:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:40:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:40:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:40:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:40:57] local.INFO: Teltonika packet parsed successfully {"connection_id":165047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:40:57] local.INFO: Passing IMEI to GPS processor {"connection_id":165047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:40:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":165047,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:40:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.149.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:40:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:40:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:40:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710021120001,"66":13863,"107":206,"28":26880,"24":0,"16":16159415019241472,"45":531776630449391616},"client_ip":"117.225.149.51","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,28,24,16,45]} 
[2026-08-28 20:40:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:40:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:40:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710021120001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:40:57] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-28 20:40:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-08-28 20:40:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16159415019241472,"km_value":16159415019241.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:40:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":531776630449391616,"description":"Unknown IO ID 45"} 
[2026-08-28 20:40:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710021120001,"power":13863,"unknown_107":206,"unknown_28":26880,"ignition":0,"odometer":null,"unknown_45":531776630449391616}} 
[2026-08-28 20:40:57] 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":710266,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:40:57] local.INFO: GPS data processed {"connection_id":165047,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:40:57] local.INFO: Acknowledgment sent {"connection_id":165047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:41:01] local.INFO: TCP Data received {"connection_id":165048,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165048,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:41:01] local.INFO: Processing buffer {"connection_id":165048,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:41:01] local.INFO: IMEI packet received {"connection_id":165048,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 20:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":165048,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:41:06] local.INFO: TCP Data received {"connection_id":165048,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165048,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:41:06] local.INFO: Processing buffer {"connection_id":165048,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:41:06] local.INFO: IMEI packet received {"connection_id":165048,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 20:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":165048,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:41:07] local.INFO: TCP Data received {"connection_id":165048,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048eb5f20012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048eb5f20012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:41:07] local.INFO: Processing buffer {"connection_id":165048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048eb5f20012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:41:07] local.INFO: Packet analysis {"connection_id":165048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048eb"} 
[2026-08-28 20:41:07] local.INFO: Extracted packet for processing {"connection_id":165048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048eb"} 
[2026-08-28 20:41:07] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709946624001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:41:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787929780000,"timestamp_ms":1787929780000,"timestamp_seconds":1787929780,"priority":1,"record_length":96,"hex_timestamp":"000001a048eb5f20"} 
[2026-08-28 20:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 20:41:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:41:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":165048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":165048,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":165048,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:41:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709946624001,"66":25299,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709946624001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:41:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:41:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709946624001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:41:07] 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":710267,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:41:07] local.INFO: GPS data processed {"connection_id":165048,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:41:07] local.INFO: Acknowledgment sent {"connection_id":165048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:41:12] local.INFO: TCP Data received {"connection_id":165048,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048eb5f20012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048eb5f20012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:41:12] local.INFO: Processing buffer {"connection_id":165048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048eb5f20012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:41:12] local.INFO: Packet analysis {"connection_id":165048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048eb"} 
[2026-08-28 20:41:12] local.INFO: Extracted packet for processing {"connection_id":165048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048eb"} 
[2026-08-28 20:41:12] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:41: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-28 20:41:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709946624001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:41:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:41:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:41:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:41:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787929780000,"timestamp_ms":1787929780000,"timestamp_seconds":1787929780,"priority":1,"record_length":96,"hex_timestamp":"000001a048eb5f20"} 
[2026-08-28 20:41:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:41:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 20:41:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:41: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-28 20:41:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:41:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:41:12] local.INFO: Teltonika packet parsed successfully {"connection_id":165048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:41:12] local.INFO: Passing IMEI to GPS processor {"connection_id":165048,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:41:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":165048,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:41:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:41:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:41:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:41:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709946624001,"66":25299,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:41:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:41:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:41:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709946624001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:41:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:41:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:41:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:41:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:41:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709946624001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:41:12] 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":710268,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:41:12] local.INFO: GPS data processed {"connection_id":165048,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:41:12] local.INFO: Acknowledgment sent {"connection_id":165048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:41:21] local.INFO: TCP Data received {"connection_id":166402,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048e8d6b0012d34c14006aa4840001400e62b..."} 
[2026-08-28 20:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048e8d6b0012d34c14006aa4840001400e62b..."} 
[2026-08-28 20:41:21] local.INFO: Processing buffer {"connection_id":166402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048e8d6b0012d34c14006aa4840001400e62b..."} 
[2026-08-28 20:41:21] local.INFO: Packet analysis {"connection_id":166402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048e8"} 
[2026-08-28 20:41:21] local.INFO: Extracted packet for processing {"connection_id":166402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048e8"} 
[2026-08-28 20:41:21] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":20,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:41: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-28 20:41:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709904128001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:41:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:41:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:41:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:41:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787929614000,"timestamp_ms":1787929614000,"timestamp_seconds":1787929614,"priority":1,"record_length":96,"hex_timestamp":"000001a048e8d6b0"} 
[2026-08-28 20:41:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:41:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:41: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":233,"data_length":795,"current_offset":136} 
[2026-08-28 20:41:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:41: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-28 20:41:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:41:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:41:21] local.INFO: Teltonika packet parsed successfully {"connection_id":166402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:41:21] local.INFO: Passing IMEI to GPS processor {"connection_id":166402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:41:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":166402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:41:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:41:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:41:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:41:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709904128001,"66":25125,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:41:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:41:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:41:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709904128001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:41:21] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:41:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:41: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-28 20:41:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:41:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709904128001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:41:21] local.INFO: DEBUG: GPS processor result {"connection_id":166402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:41:21] local.INFO: GPS data processed {"connection_id":166402,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:41:21] local.INFO: Acknowledgment sent {"connection_id":166402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:41:29] local.INFO: TCP Data received {"connection_id":165049,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:41:29] local.INFO: Processing buffer {"connection_id":165049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:41:29] local.INFO: IMEI packet received {"connection_id":165049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 20:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":165049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:41:35] local.INFO: TCP Data received {"connection_id":165049,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:41:35] local.INFO: Processing buffer {"connection_id":165049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:41:35] local.INFO: IMEI packet received {"connection_id":165049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 20:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":165049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:41:36] local.INFO: TCP Data received {"connection_id":165049,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048e8d6b0012d34c14006aa4840001400e62b..."} 
[2026-08-28 20:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048e8d6b0012d34c14006aa4840001400e62b..."} 
[2026-08-28 20:41:36] local.INFO: Processing buffer {"connection_id":165049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048e8d6b0012d34c14006aa4840001400e62b..."} 
[2026-08-28 20:41:36] local.INFO: Packet analysis {"connection_id":165049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048e8"} 
[2026-08-28 20:41:36] local.INFO: Extracted packet for processing {"connection_id":165049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048e8"} 
[2026-08-28 20:41:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":20,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709904128001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787929614000,"timestamp_ms":1787929614000,"timestamp_seconds":1787929614,"priority":1,"record_length":96,"hex_timestamp":"000001a048e8d6b0"} 
[2026-08-28 20:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:41:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 20:41:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:41:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":165049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":165049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":165049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709904128001,"66":25125,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709904128001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:41:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:41:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709904128001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:41:36] 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":710270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:41:36] local.INFO: GPS data processed {"connection_id":165049,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:41:36] local.INFO: Acknowledgment sent {"connection_id":165049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:41:43] local.INFO: TCP Data received {"connection_id":163757,"ip":"117.225.149.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:41:43] local.INFO: Processing buffer {"connection_id":163757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:41:43] local.INFO: IMEI packet received {"connection_id":163757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 20:41:43] local.INFO: IMEI acknowledgment sent {"connection_id":163757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:41:48] local.INFO: TCP Data received {"connection_id":163757,"ip":"117.225.149.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:41:48] local.INFO: Processing buffer {"connection_id":163757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:41:48] local.INFO: IMEI packet received {"connection_id":163757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":163757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:41:49] local.INFO: TCP Data received {"connection_id":163757,"ip":"117.225.149.51","data_length":795,"data_hex":"000000000000030f8e0a000001a048ec35f8012d0766000725b0b8001c00782e..."} 
[2026-08-28 20:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048ec35f8012d0766000725b0b8001c00782e..."} 
[2026-08-28 20:41:49] local.INFO: Processing buffer {"connection_id":163757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048ec35f8012d0766000725b0b8001c00782e..."} 
[2026-08-28 20:41:49] local.INFO: Packet analysis {"connection_id":163757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ec"} 
[2026-08-28 20:41:49] local.INFO: Extracted packet for processing {"connection_id":163757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ec"} 
[2026-08-28 20:41:49] local.INFO: GPS Element Parsed {"raw_longitude":755459584,"raw_latitude":119910584,"longitude_deg":75.5459584,"latitude_deg":11.9910584,"altitude":28,"angle":120,"satellites":46,"speed":6,"hex_longitude":"2d076600","hex_latitude":"0725b0b8","is_valid_coordinates":true} 
[2026-08-28 20: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-28 20:41:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710037248001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:41:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16159831631069184,"note":"Value kept but may cause issues"} 
[2026-08-28 20:41:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":532972899098787840,"note":"Value kept but may cause issues"} 
[2026-08-28 20:41:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:41:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787929835000,"timestamp_ms":1787929835000,"timestamp_seconds":1787929835,"priority":1,"record_length":96,"hex_timestamp":"000001a048ec35f8"} 
[2026-08-28 20: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-28 20:41:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-28 20:41:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20: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-28 20: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-28 20:41:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:41:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:41:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:41:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:41:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.149.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:41:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:41:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:41:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710037248001,"66":13439,"107":206,"28":26880,"24":6,"16":16159831631069184,"45":532972899098787840},"client_ip":"117.225.149.51","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,28,24,16,45]} 
[2026-08-28 20:41:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:41:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:41:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710037248001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:41:49] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-28 20:41:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-08-28 20:41:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16159831631069184,"km_value":16159831631069.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:41:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":532972899098787840,"description":"Unknown IO ID 45"} 
[2026-08-28 20:41:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710037248001,"power":13439,"unknown_107":206,"unknown_28":26880,"ignition":6,"odometer":null,"unknown_45":532972899098787840}} 
[2026-08-28 20:41:49] local.INFO: DEBUG: GPS processor result {"connection_id":163757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710271,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:41:49] local.INFO: GPS data processed {"connection_id":163757,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:41:49] local.INFO: Acknowledgment sent {"connection_id":163757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:41:53] local.INFO: TCP Data received {"connection_id":163757,"ip":"117.225.149.51","data_length":795,"data_hex":"000000000000030f8e0a000001a048ec39e0012d0766c00725b078001c00622e..."} 
[2026-08-28 20:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048ec39e0012d0766c00725b078001c00622e..."} 
[2026-08-28 20:41:53] local.INFO: Processing buffer {"connection_id":163757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048ec39e0012d0766c00725b078001c00622e..."} 
[2026-08-28 20:41:53] local.INFO: Packet analysis {"connection_id":163757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ec"} 
[2026-08-28 20:41:53] local.INFO: Extracted packet for processing {"connection_id":163757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ec"} 
[2026-08-28 20:41:53] local.INFO: GPS Element Parsed {"raw_longitude":755459776,"raw_latitude":119910520,"longitude_deg":75.5459776,"latitude_deg":11.991052,"altitude":28,"angle":98,"satellites":46,"speed":7,"hex_longitude":"2d0766c0","hex_latitude":"0725b078","is_valid_coordinates":true} 
[2026-08-28 20: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-28 20:41:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710037760001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:41:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16159840221003776,"note":"Value kept but may cause issues"} 
[2026-08-28 20:41:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":533113636587091968,"note":"Value kept but may cause issues"} 
[2026-08-28 20:41:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:41:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787929836000,"timestamp_ms":1787929836000,"timestamp_seconds":1787929836,"priority":1,"record_length":96,"hex_timestamp":"000001a048ec39e0"} 
[2026-08-28 20: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-28 20:41:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20: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":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-28 20:41:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20: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-28 20: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-28 20:41:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:41:53] local.INFO: Teltonika packet parsed successfully {"connection_id":163757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:41:53] local.INFO: Passing IMEI to GPS processor {"connection_id":163757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:41:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":163757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:41:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.149.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:41:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:41:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:41:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710037760001,"66":13439,"107":206,"28":26880,"24":7,"16":16159840221003776,"45":533113636587091968},"client_ip":"117.225.149.51","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,28,24,16,45]} 
[2026-08-28 20:41:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:41:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:41:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710037760001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:41:53] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-28 20:41:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-08-28 20:41:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16159840221003776,"km_value":16159840221003.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:41:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":533113636587091968,"description":"Unknown IO ID 45"} 
[2026-08-28 20:41:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710037760001,"power":13439,"unknown_107":206,"unknown_28":26880,"ignition":7,"odometer":null,"unknown_45":533113636587091968}} 
[2026-08-28 20:41:53] local.INFO: DEBUG: GPS processor result {"connection_id":163757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710272,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:41:53] local.INFO: GPS data processed {"connection_id":163757,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:41:53] local.INFO: Acknowledgment sent {"connection_id":163757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:41:56] local.INFO: TCP Data received {"connection_id":163758,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163758,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:41:56] local.INFO: Processing buffer {"connection_id":163758,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:41:56] local.INFO: IMEI packet received {"connection_id":163758,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 20:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":163758,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:42:01] local.INFO: TCP Data received {"connection_id":163758,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163758,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:42:01] local.INFO: Processing buffer {"connection_id":163758,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:42:01] local.INFO: IMEI packet received {"connection_id":163758,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 20:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":163758,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:42:03] local.INFO: TCP Data received {"connection_id":163758,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048eb5f20012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048eb5f20012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:42:03] local.INFO: Processing buffer {"connection_id":163758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048eb5f20012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:42:03] local.INFO: Packet analysis {"connection_id":163758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048eb"} 
[2026-08-28 20:42:03] local.INFO: Extracted packet for processing {"connection_id":163758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048eb"} 
[2026-08-28 20:42:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709946624001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:42:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787929780000,"timestamp_ms":1787929780000,"timestamp_seconds":1787929780,"priority":1,"record_length":96,"hex_timestamp":"000001a048eb5f20"} 
[2026-08-28 20:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:42:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 20:42:03] 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-28 20:42:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163758,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163758,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709946624001,"66":25299,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709946624001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:42:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:42:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709946624001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:42:03] 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":710273,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:42:03] local.INFO: GPS data processed {"connection_id":163758,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:42:03] local.INFO: Acknowledgment sent {"connection_id":163758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:42:08] local.INFO: TCP Data received {"connection_id":165049,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048e8d6b0012d34c14006aa4840001400e62b..."} 
[2026-08-28 20:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048e8d6b0012d34c14006aa4840001400e62b..."} 
[2026-08-28 20:42:08] local.INFO: Processing buffer {"connection_id":165049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048e8d6b0012d34c14006aa4840001400e62b..."} 
[2026-08-28 20:42:08] local.INFO: Packet analysis {"connection_id":165049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048e8"} 
[2026-08-28 20:42:08] local.INFO: Extracted packet for processing {"connection_id":165049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048e8"} 
[2026-08-28 20:42:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":20,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709904128001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:42:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787929614000,"timestamp_ms":1787929614000,"timestamp_seconds":1787929614,"priority":1,"record_length":96,"hex_timestamp":"000001a048e8d6b0"} 
[2026-08-28 20:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:42:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 20:42:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:42:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":165049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":165049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":165049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709904128001,"66":25125,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709904128001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:42:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:42:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20: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-28 20:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709904128001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:42:08] 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":710274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:42:08] local.INFO: GPS data processed {"connection_id":165049,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:42:08] local.INFO: Acknowledgment sent {"connection_id":165049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:42:25] local.INFO: TCP Data received {"connection_id":163757,"ip":"117.225.149.51","data_length":795,"data_hex":"000000000000030f8e0a000001a048ec3dc8012d0767800725b068001c00542e..."} 
[2026-08-28 20:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048ec3dc8012d0767800725b068001c00542e..."} 
[2026-08-28 20:42:25] local.INFO: Processing buffer {"connection_id":163757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048ec3dc8012d0767800725b068001c00542e..."} 
[2026-08-28 20:42:25] local.INFO: Packet analysis {"connection_id":163757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ec"} 
[2026-08-28 20:42:25] local.INFO: Extracted packet for processing {"connection_id":163757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ec"} 
[2026-08-28 20:42:25] local.INFO: GPS Element Parsed {"raw_longitude":755459968,"raw_latitude":119910504,"longitude_deg":75.5459968,"latitude_deg":11.9910504,"altitude":28,"angle":84,"satellites":46,"speed":9,"hex_longitude":"2d076780","hex_latitude":"0725b068","is_valid_coordinates":true} 
[2026-08-28 20:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:42:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710038016001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:42:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16159853105905664,"note":"Value kept but may cause issues"} 
[2026-08-28 20:42:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":533324742819608576,"note":"Value kept but may cause issues"} 
[2026-08-28 20:42:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:42:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787929837000,"timestamp_ms":1787929837000,"timestamp_seconds":1787929837,"priority":1,"record_length":96,"hex_timestamp":"000001a048ec3dc8"} 
[2026-08-28 20:42:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:42:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-28 20:42:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:42:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:42:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:42:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:42:25] local.INFO: Teltonika packet parsed successfully {"connection_id":163757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:42:25] local.INFO: Passing IMEI to GPS processor {"connection_id":163757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:42:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":163757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:42:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.149.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:42:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:42:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:42:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710038016001,"66":13928,"107":206,"28":26880,"24":9,"16":16159853105905664,"45":533324742819608576},"client_ip":"117.225.149.51","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,28,24,16,45]} 
[2026-08-28 20:42:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:42:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:42:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710038016001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:42:25] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-28 20:42:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-08-28 20:42:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16159853105905664,"km_value":16159853105905.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:42:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":533324742819608576,"description":"Unknown IO ID 45"} 
[2026-08-28 20:42:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710038016001,"power":13928,"unknown_107":206,"unknown_28":26880,"ignition":9,"odometer":null,"unknown_45":533324742819608576}} 
[2026-08-28 20:42:25] local.INFO: DEBUG: GPS processor result {"connection_id":163757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710275,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:42:25] local.INFO: GPS data processed {"connection_id":163757,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:42:25] local.INFO: Acknowledgment sent {"connection_id":163757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:42:34] local.INFO: TCP Data received {"connection_id":165050,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:42:34] local.INFO: Processing buffer {"connection_id":165050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:42:34] local.INFO: IMEI packet received {"connection_id":165050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 20:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":165050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:42:34] local.INFO: TCP Data received {"connection_id":165050,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:42:34] local.INFO: Processing buffer {"connection_id":165050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:42:34] local.INFO: IMEI packet received {"connection_id":165050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 20:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":165050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:42:36] local.INFO: TCP Data received {"connection_id":163758,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048eb5f20012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048eb5f20012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:42:36] local.INFO: Processing buffer {"connection_id":163758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048eb5f20012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:42:36] local.INFO: Packet analysis {"connection_id":163758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048eb"} 
[2026-08-28 20:42:36] local.INFO: Extracted packet for processing {"connection_id":163758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048eb"} 
[2026-08-28 20:42:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709946624001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:42:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787929780000,"timestamp_ms":1787929780000,"timestamp_seconds":1787929780,"priority":1,"record_length":96,"hex_timestamp":"000001a048eb5f20"} 
[2026-08-28 20:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:42:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 20:42:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:42:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163758,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163758,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:42:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709946624001,"66":25299,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709946624001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:42:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:42:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709946624001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:42:36] 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":710276,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:42:36] local.INFO: GPS data processed {"connection_id":163758,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:42:36] local.INFO: Acknowledgment sent {"connection_id":163758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:42:40] local.INFO: TCP Data received {"connection_id":165051,"ip":"117.225.149.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:42:40] local.INFO: Processing buffer {"connection_id":165051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:42:40] local.INFO: IMEI packet received {"connection_id":165051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 20:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":165051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:42:40] local.INFO: TCP Data received {"connection_id":165050,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:42:40] local.INFO: Processing buffer {"connection_id":165050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:42:40] local.INFO: IMEI packet received {"connection_id":165050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 20:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":165050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:42:41] local.INFO: TCP Data received {"connection_id":165050,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048ed6e78012d34c14006aa4840001500e62b..."} 
[2026-08-28 20:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048ed6e78012d34c14006aa4840001500e62b..."} 
[2026-08-28 20:42:41] local.INFO: Processing buffer {"connection_id":165050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048ed6e78012d34c14006aa4840001500e62b..."} 
[2026-08-28 20:42:41] local.INFO: Packet analysis {"connection_id":165050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ed"} 
[2026-08-28 20:42:41] local.INFO: Extracted packet for processing {"connection_id":165050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ed"} 
[2026-08-28 20:42:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":21,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20: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-28 20:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709981184001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:42:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:42:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787929915000,"timestamp_ms":1787929915000,"timestamp_seconds":1787929915,"priority":1,"record_length":96,"hex_timestamp":"000001a048ed6e78"} 
[2026-08-28 20: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-28 20:42:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20: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":37,"data_length":795,"current_offset":136} 
[2026-08-28 20:42:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20: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-28 20: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-28 20:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":165050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":165050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":165050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:42:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709981184001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709981184001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:42:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:42:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20: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-28 20:42:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709981184001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:42:41] 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":710277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:42:41] local.INFO: GPS data processed {"connection_id":165050,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:42:41] local.INFO: Acknowledgment sent {"connection_id":165050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:42:42] local.INFO: TCP Data received {"connection_id":165051,"ip":"117.225.149.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:42:42] local.INFO: Processing buffer {"connection_id":165051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:42:42] local.INFO: IMEI packet received {"connection_id":165051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:42:42] local.INFO: IMEI acknowledgment sent {"connection_id":165051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:42:42] local.INFO: TCP Data received {"connection_id":165051,"ip":"117.225.149.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:42:42] local.INFO: Processing buffer {"connection_id":165051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:42:42] local.INFO: IMEI packet received {"connection_id":165051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:42:42] local.INFO: IMEI acknowledgment sent {"connection_id":165051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:42:46] local.INFO: TCP Data received {"connection_id":165050,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048ed6e78012d34c14006aa4840001500e62b..."} 
[2026-08-28 20:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048ed6e78012d34c14006aa4840001500e62b..."} 
[2026-08-28 20:42:46] local.INFO: Processing buffer {"connection_id":165050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048ed6e78012d34c14006aa4840001500e62b..."} 
[2026-08-28 20:42:46] local.INFO: Packet analysis {"connection_id":165050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ed"} 
[2026-08-28 20:42:46] local.INFO: Extracted packet for processing {"connection_id":165050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ed"} 
[2026-08-28 20:42:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":21,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20: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-28 20:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709981184001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:42:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:42:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787929915000,"timestamp_ms":1787929915000,"timestamp_seconds":1787929915,"priority":1,"record_length":96,"hex_timestamp":"000001a048ed6e78"} 
[2026-08-28 20: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-28 20:42:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-28 20:42:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20: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-28 20: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-28 20:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":165050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":165050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":165050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:42:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:42:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709981184001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:42:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709981184001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:42:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:42:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:42: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-28 20:42:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:42:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709981184001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:42:46] 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":710278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:42:46] local.INFO: GPS data processed {"connection_id":165050,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:42:46] local.INFO: Acknowledgment sent {"connection_id":165050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:42:48] local.INFO: TCP Data received {"connection_id":165051,"ip":"117.225.149.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:42:48] local.INFO: Processing buffer {"connection_id":165051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:42:48] local.INFO: IMEI packet received {"connection_id":165051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":165051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:42:50] local.INFO: TCP Data received {"connection_id":165051,"ip":"117.225.149.51","data_length":795,"data_hex":"000000000000030f8e0a000001a048ec8fd0012d076a000725b068001b00552a..."} 
[2026-08-28 20:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048ec8fd0012d076a000725b068001b00552a..."} 
[2026-08-28 20:42:50] local.INFO: Processing buffer {"connection_id":165051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048ec8fd0012d076a000725b068001b00552a..."} 
[2026-08-28 20:42:50] local.INFO: Packet analysis {"connection_id":165051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ec"} 
[2026-08-28 20:42:50] local.INFO: Extracted packet for processing {"connection_id":165051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ec"} 
[2026-08-28 20:42:50] local.INFO: GPS Element Parsed {"raw_longitude":755460608,"raw_latitude":119910504,"longitude_deg":75.5460608,"latitude_deg":11.9910504,"altitude":27,"angle":85,"satellites":42,"speed":0,"hex_longitude":"2d076a00","hex_latitude":"0725b068","is_valid_coordinates":true} 
[2026-08-28 20: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-28 20:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710038272001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16159883170676736,"note":"Value kept but may cause issues"} 
[2026-08-28 20:42:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":533535849052137472,"note":"Value kept but may cause issues"} 
[2026-08-28 20:42:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787929858000,"timestamp_ms":1787929858000,"timestamp_seconds":1787929858,"priority":1,"record_length":96,"hex_timestamp":"000001a048ec8fd0"} 
[2026-08-28 20: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-28 20:42:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-28 20:42:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20: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-28 20: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-28 20:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":165051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":165051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":165051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:42:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.149.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:42:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710038272001,"66":13906,"107":206,"28":26880,"24":0,"16":16159883170676736,"45":533535849052137472},"client_ip":"117.225.149.51","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,28,24,16,45]} 
[2026-08-28 20:42:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:42:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710038272001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:42:50] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-28 20:42:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-08-28 20:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16159883170676736,"km_value":16159883170676.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:42:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":533535849052137472,"description":"Unknown IO ID 45"} 
[2026-08-28 20:42:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710038272001,"power":13906,"unknown_107":206,"unknown_28":26880,"ignition":0,"odometer":null,"unknown_45":533535849052137472}} 
[2026-08-28 20:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":165051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710279,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:42:50] local.INFO: GPS data processed {"connection_id":165051,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:42:50] local.INFO: Acknowledgment sent {"connection_id":165051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:42:56] local.INFO: TCP Data received {"connection_id":166403,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166403,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:42:56] local.INFO: Processing buffer {"connection_id":166403,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:42:56] local.INFO: IMEI packet received {"connection_id":166403,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 20:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":166403,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:43:01] local.INFO: TCP Data received {"connection_id":166403,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166403,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:43:01] local.INFO: Processing buffer {"connection_id":166403,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:43:01] local.INFO: IMEI packet received {"connection_id":166403,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 20:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":166403,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:43:02] local.INFO: TCP Data received {"connection_id":166403,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048eb5f20012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048eb5f20012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:43:02] local.INFO: Processing buffer {"connection_id":166403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048eb5f20012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:43:02] local.INFO: Packet analysis {"connection_id":166403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048eb"} 
[2026-08-28 20:43:02] local.INFO: Extracted packet for processing {"connection_id":166403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048eb"} 
[2026-08-28 20:43:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709946624001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:43:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:43:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787929780000,"timestamp_ms":1787929780000,"timestamp_seconds":1787929780,"priority":1,"record_length":96,"hex_timestamp":"000001a048eb5f20"} 
[2026-08-28 20:43:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:43:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 20:43:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:43:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:43:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":166403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":166403,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":166403,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:43:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709946624001,"66":25299,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709946624001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:43:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:43:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:43:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709946624001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:43:02] local.INFO: DEBUG: GPS processor result {"connection_id":166403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710280,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:43:02] local.INFO: GPS data processed {"connection_id":166403,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:43:02] local.INFO: Acknowledgment sent {"connection_id":166403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:43:22] local.INFO: TCP Data received {"connection_id":165051,"ip":"117.225.149.51","data_length":795,"data_hex":"000000000000030f8e0a000001a048ece1d8012d076a000725b068001b00552b..."} 
[2026-08-28 20:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048ece1d8012d076a000725b068001b00552b..."} 
[2026-08-28 20:43:22] local.INFO: Processing buffer {"connection_id":165051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048ece1d8012d076a000725b068001b00552b..."} 
[2026-08-28 20:43:22] local.INFO: Packet analysis {"connection_id":165051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ec"} 
[2026-08-28 20:43:22] local.INFO: Extracted packet for processing {"connection_id":165051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ec"} 
[2026-08-28 20:43:22] local.INFO: GPS Element Parsed {"raw_longitude":755460608,"raw_latitude":119910504,"longitude_deg":75.5460608,"latitude_deg":11.9910504,"altitude":27,"angle":85,"satellites":43,"speed":0,"hex_longitude":"2d076a00","hex_latitude":"0725b068","is_valid_coordinates":true} 
[2026-08-28 20: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-28 20:43:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710043648001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:43:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16159883170676736,"note":"Value kept but may cause issues"} 
[2026-08-28 20:43:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":534239536493914112,"note":"Value kept but may cause issues"} 
[2026-08-28 20:43:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:43:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787929879000,"timestamp_ms":1787929879000,"timestamp_seconds":1787929879,"priority":1,"record_length":96,"hex_timestamp":"000001a048ece1d8"} 
[2026-08-28 20: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-28 20:43:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-08-28 20:43:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20: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-28 20: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-28 20:43:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:43:22] local.INFO: Teltonika packet parsed successfully {"connection_id":165051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:43:22] local.INFO: Passing IMEI to GPS processor {"connection_id":165051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:43:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":165051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:43:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.149.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:43:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:43:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:43:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710043648001,"66":14113,"107":206,"28":26880,"24":0,"16":16159883170676736,"45":534239536493914112},"client_ip":"117.225.149.51","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,28,24,16,45]} 
[2026-08-28 20:43:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:43:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:43:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710043648001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:43:22] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-28 20:43:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-08-28 20:43:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16159883170676736,"km_value":16159883170676.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:43:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":534239536493914112,"description":"Unknown IO ID 45"} 
[2026-08-28 20:43:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710043648001,"power":14113,"unknown_107":206,"unknown_28":26880,"ignition":0,"odometer":null,"unknown_45":534239536493914112}} 
[2026-08-28 20:43:22] local.INFO: DEBUG: GPS processor result {"connection_id":165051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710281,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:43:22] local.INFO: GPS data processed {"connection_id":165051,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:43:22] local.INFO: Acknowledgment sent {"connection_id":165051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:43:29] local.INFO: TCP Data received {"connection_id":166404,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:43:29] local.INFO: Processing buffer {"connection_id":166404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:43:29] local.INFO: IMEI packet received {"connection_id":166404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 20:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":166404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:43:34] local.INFO: TCP Data received {"connection_id":166403,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048eb5f20012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048eb5f20012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:43:34] local.INFO: Processing buffer {"connection_id":166403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048eb5f20012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:43:34] local.INFO: Packet analysis {"connection_id":166403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048eb"} 
[2026-08-28 20:43:34] local.INFO: Extracted packet for processing {"connection_id":166403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048eb"} 
[2026-08-28 20:43:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709946624001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:43:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787929780000,"timestamp_ms":1787929780000,"timestamp_seconds":1787929780,"priority":1,"record_length":96,"hex_timestamp":"000001a048eb5f20"} 
[2026-08-28 20:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:43:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 20:43:34] 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-28 20:43:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":166403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":166403,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":166403,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709946624001,"66":25299,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709946624001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:43:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:43:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709946624001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":166403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710282,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:43:34] local.INFO: GPS data processed {"connection_id":166403,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:43:34] local.INFO: Acknowledgment sent {"connection_id":166403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:43:35] local.INFO: TCP Data received {"connection_id":166404,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:43:35] local.INFO: Processing buffer {"connection_id":166404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:43:35] local.INFO: IMEI packet received {"connection_id":166404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 20:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":166404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:43:39] local.INFO: TCP Data received {"connection_id":166404,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048ed6e78012d34c14006aa4840001500e62b..."} 
[2026-08-28 20:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048ed6e78012d34c14006aa4840001500e62b..."} 
[2026-08-28 20:43:39] local.INFO: Processing buffer {"connection_id":166404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048ed6e78012d34c14006aa4840001500e62b..."} 
[2026-08-28 20:43:39] local.INFO: Packet analysis {"connection_id":166404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ed"} 
[2026-08-28 20:43:39] local.INFO: Extracted packet for processing {"connection_id":166404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ed"} 
[2026-08-28 20:43:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":21,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709981184001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:43:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:43:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787929915000,"timestamp_ms":1787929915000,"timestamp_seconds":1787929915,"priority":1,"record_length":96,"hex_timestamp":"000001a048ed6e78"} 
[2026-08-28 20:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:43:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-28 20:43:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:43:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":166404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":166404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":166404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:43:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709981184001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709981184001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:43:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:43:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:43:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709981184001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":166404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:43:39] local.INFO: GPS data processed {"connection_id":166404,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:43:39] local.INFO: Acknowledgment sent {"connection_id":166404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:43:47] local.INFO: TCP Data received {"connection_id":165052,"ip":"117.225.149.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165052,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:43:47] local.INFO: Processing buffer {"connection_id":165052,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:43:47] local.INFO: IMEI packet received {"connection_id":165052,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 20:43:47] local.INFO: IMEI acknowledgment sent {"connection_id":165052,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:43:53] local.INFO: TCP Data received {"connection_id":165052,"ip":"117.225.149.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165052,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:43:53] local.INFO: Processing buffer {"connection_id":165052,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:43:53] local.INFO: IMEI packet received {"connection_id":165052,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":165052,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:43:54] local.INFO: TCP Data received {"connection_id":165052,"ip":"117.225.149.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165052,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:43:54] local.INFO: Processing buffer {"connection_id":165052,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:43:54] local.INFO: IMEI packet received {"connection_id":165052,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":165052,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:43:55] local.INFO: TCP Data received {"connection_id":165052,"ip":"117.225.149.51","data_length":795,"data_hex":"000000000000030f8e0a000001a048ee4d20012d07ba8007258df8001500ab2b..."} 
[2026-08-28 20:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048ee4d20012d07ba8007258df8001500ab2b..."} 
[2026-08-28 20:43:55] local.INFO: Processing buffer {"connection_id":165052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048ee4d20012d07ba8007258df8001500ab2b..."} 
[2026-08-28 20:43:55] local.INFO: Packet analysis {"connection_id":165052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ee"} 
[2026-08-28 20:43:55] local.INFO: Extracted packet for processing {"connection_id":165052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ee"} 
[2026-08-28 20:43:55] local.INFO: GPS Element Parsed {"raw_longitude":755481216,"raw_latitude":119901688,"longitude_deg":75.5481216,"latitude_deg":11.9901688,"altitude":21,"angle":171,"satellites":43,"speed":13,"hex_longitude":"2d07ba80","hex_latitude":"07258df8","is_valid_coordinates":true} 
[2026-08-28 20:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:43:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710072576001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:43:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16160961207468032,"note":"Value kept but may cause issues"} 
[2026-08-28 20:43:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":556757534628587520,"note":"Value kept but may cause issues"} 
[2026-08-28 20:43:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:43:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787929972000,"timestamp_ms":1787929972000,"timestamp_seconds":1787929972,"priority":1,"record_length":96,"hex_timestamp":"000001a048ee4d20"} 
[2026-08-28 20:43:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:43:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-28 20:43:55] 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-28 20:43:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:43:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:43:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:43:55] local.INFO: Teltonika packet parsed successfully {"connection_id":165052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:43:55] local.INFO: Passing IMEI to GPS processor {"connection_id":165052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:43:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":165052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:43:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.149.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:43:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:43:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:43:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710072576001,"66":14189,"108":206,"28":26880,"24":13,"16":16160961207468032,"45":556757534628587520},"client_ip":"117.225.149.51","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,28,24,16,45]} 
[2026-08-28 20:43:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:43:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:43:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710072576001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:43:55] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-28 20:43:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-08-28 20:43:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16160961207468032,"km_value":16160961207468.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:43:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":556757534628587520,"description":"Unknown IO ID 45"} 
[2026-08-28 20:43:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710072576001,"power":14189,"unknown_108":206,"unknown_28":26880,"ignition":13,"odometer":null,"unknown_45":556757534628587520}} 
[2026-08-28 20:43:55] 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":710284,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:43:55] local.INFO: GPS data processed {"connection_id":165052,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:43:55] local.INFO: Acknowledgment sent {"connection_id":165052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:43:56] local.INFO: TCP Data received {"connection_id":164035,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164035,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:43:56] local.INFO: Processing buffer {"connection_id":164035,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:43:56] local.INFO: IMEI packet received {"connection_id":164035,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 20:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":164035,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:43:56] local.INFO: TCP Data received {"connection_id":165052,"ip":"117.225.149.51","data_length":795,"data_hex":"000000000000030f8e0a000001a048ee58d8012d07bac007258928001500bf2b..."} 
[2026-08-28 20:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048ee58d8012d07bac007258928001500bf2b..."} 
[2026-08-28 20:43:56] local.INFO: Processing buffer {"connection_id":165052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048ee58d8012d07bac007258928001500bf2b..."} 
[2026-08-28 20:43:56] local.INFO: Packet analysis {"connection_id":165052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ee"} 
[2026-08-28 20:43:56] local.INFO: Extracted packet for processing {"connection_id":165052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ee"} 
[2026-08-28 20:43:56] local.INFO: GPS Element Parsed {"raw_longitude":755481280,"raw_latitude":119900456,"longitude_deg":75.548128,"latitude_deg":11.9900456,"altitude":21,"angle":191,"satellites":43,"speed":18,"hex_longitude":"2d07bac0","hex_latitude":"07258928","is_valid_coordinates":true} 
[2026-08-28 20:43:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:43:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710072832001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:43:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16161021337010176,"note":"Value kept but may cause issues"} 
[2026-08-28 20:43:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":556898272116865024,"note":"Value kept but may cause issues"} 
[2026-08-28 20:43:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:43:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787929975000,"timestamp_ms":1787929975000,"timestamp_seconds":1787929975,"priority":1,"record_length":96,"hex_timestamp":"000001a048ee58d8"} 
[2026-08-28 20:43:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:43:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20:43:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-28 20:43:56] 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-28 20:43:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:43:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:43:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:43:56] local.INFO: Teltonika packet parsed successfully {"connection_id":165052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:43:56] local.INFO: Passing IMEI to GPS processor {"connection_id":165052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:43:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":165052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:43:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.149.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:43:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:43:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:43:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710072832001,"66":14102,"108":206,"28":26880,"24":18,"16":16161021337010176,"45":556898272116865024},"client_ip":"117.225.149.51","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,28,24,16,45]} 
[2026-08-28 20:43:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:43:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:43:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710072832001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:43:56] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-28 20:43:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-08-28 20:43:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16161021337010176,"km_value":16161021337010.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:43:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":556898272116865024,"description":"Unknown IO ID 45"} 
[2026-08-28 20:43:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710072832001,"power":14102,"unknown_108":206,"unknown_28":26880,"ignition":18,"odometer":null,"unknown_45":556898272116865024}} 
[2026-08-28 20:43:56] 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":710285,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:43:56] local.INFO: GPS data processed {"connection_id":165052,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:43:56] local.INFO: Acknowledgment sent {"connection_id":165052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:44:01] local.INFO: TCP Data received {"connection_id":164035,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164035,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:44:01] local.INFO: Processing buffer {"connection_id":164035,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:44:01] local.INFO: IMEI packet received {"connection_id":164035,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 20:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":164035,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:44:02] local.INFO: TCP Data received {"connection_id":164035,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048eb5f20012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048eb5f20012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:44:02] local.INFO: Processing buffer {"connection_id":164035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048eb5f20012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:44:02] local.INFO: Packet analysis {"connection_id":164035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048eb"} 
[2026-08-28 20:44:02] local.INFO: Extracted packet for processing {"connection_id":164035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048eb"} 
[2026-08-28 20:44:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20: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-28 20:44:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709946624001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:44:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:44:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:44:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:44:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787929780000,"timestamp_ms":1787929780000,"timestamp_seconds":1787929780,"priority":1,"record_length":96,"hex_timestamp":"000001a048eb5f20"} 
[2026-08-28 20: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-28 20:44:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:44:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 20:44:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20: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-28 20: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-28 20:44:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:44:02] local.INFO: Teltonika packet parsed successfully {"connection_id":164035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:44:02] local.INFO: Passing IMEI to GPS processor {"connection_id":164035,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:44:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":164035,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:44:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:44:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:44:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:44:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709946624001,"66":25299,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:44:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:44:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:44:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709946624001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:44:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:44:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:44:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:44:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:44:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709946624001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:44:02] local.INFO: DEBUG: GPS processor result {"connection_id":164035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710286,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:44:02] local.INFO: GPS data processed {"connection_id":164035,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:44:02] local.INFO: Acknowledgment sent {"connection_id":164035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:44:11] local.INFO: TCP Data received {"connection_id":166404,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048ed6e78012d34c14006aa4840001500e62b..."} 
[2026-08-28 20:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048ed6e78012d34c14006aa4840001500e62b..."} 
[2026-08-28 20:44:11] local.INFO: Processing buffer {"connection_id":166404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048ed6e78012d34c14006aa4840001500e62b..."} 
[2026-08-28 20:44:11] local.INFO: Packet analysis {"connection_id":166404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ed"} 
[2026-08-28 20:44:11] local.INFO: Extracted packet for processing {"connection_id":166404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ed"} 
[2026-08-28 20:44:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":21,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709981184001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:44:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:44:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787929915000,"timestamp_ms":1787929915000,"timestamp_seconds":1787929915,"priority":1,"record_length":96,"hex_timestamp":"000001a048ed6e78"} 
[2026-08-28 20:44:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:44:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-28 20:44:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:44:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:44:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":166404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":166404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":166404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:44:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709981184001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709981184001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:44:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:44:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:44: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-28 20:44:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709981184001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":166404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:44:11] local.INFO: GPS data processed {"connection_id":166404,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:44:11] local.INFO: Acknowledgment sent {"connection_id":166404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:44:28] local.INFO: TCP Data received {"connection_id":165052,"ip":"117.225.149.51","data_length":795,"data_hex":"000000000000030f8e0a000001a048ee60a8012d07bb40072584c8001600af29..."} 
[2026-08-28 20:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048ee60a8012d07bb40072584c8001600af29..."} 
[2026-08-28 20:44:28] local.INFO: Processing buffer {"connection_id":165052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048ee60a8012d07bb40072584c8001600af29..."} 
[2026-08-28 20:44:28] local.INFO: Packet analysis {"connection_id":165052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ee"} 
[2026-08-28 20:44:28] local.INFO: Extracted packet for processing {"connection_id":165052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ee"} 
[2026-08-28 20:44:28] local.INFO: GPS Element Parsed {"raw_longitude":755481408,"raw_latitude":119899336,"longitude_deg":75.5481408,"latitude_deg":11.9899336,"altitude":22,"angle":175,"satellites":41,"speed":24,"hex_longitude":"2d07bb40","hex_latitude":"072584c8","is_valid_coordinates":true} 
[2026-08-28 20:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:44:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710073600001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:44:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16161077171585024,"note":"Value kept but may cause issues"} 
[2026-08-28 20:44:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":556968640860727296,"note":"Value kept but may cause issues"} 
[2026-08-28 20:44:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:44:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787929977000,"timestamp_ms":1787929977000,"timestamp_seconds":1787929977,"priority":1,"record_length":96,"hex_timestamp":"000001a048ee60a8"} 
[2026-08-28 20:44:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:44:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-28 20:44:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:44:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:44:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:44:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:44:28] local.INFO: Teltonika packet parsed successfully {"connection_id":165052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:44:28] local.INFO: Passing IMEI to GPS processor {"connection_id":165052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:44:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":165052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:44:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.149.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:44:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:44:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:44:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710073600001,"66":14135,"108":206,"28":26880,"24":24,"16":16161077171585024,"45":556968640860727296},"client_ip":"117.225.149.51","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,28,24,16,45]} 
[2026-08-28 20:44:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:44:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:44:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710073600001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:44:28] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-28 20:44:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-08-28 20:44:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16161077171585024,"km_value":16161077171585.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:44:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":556968640860727296,"description":"Unknown IO ID 45"} 
[2026-08-28 20:44:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710073600001,"power":14135,"unknown_108":206,"unknown_28":26880,"ignition":24,"odometer":null,"unknown_45":556968640860727296}} 
[2026-08-28 20:44:28] 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":710288,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:44:28] local.INFO: GPS data processed {"connection_id":165052,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:44:28] local.INFO: Acknowledgment sent {"connection_id":165052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:44:29] local.INFO: TCP Data received {"connection_id":166405,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:44:29] local.INFO: Processing buffer {"connection_id":166405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:44:29] local.INFO: IMEI packet received {"connection_id":166405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 20:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":166405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:44:34] local.INFO: TCP Data received {"connection_id":164035,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048eb5f20012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048eb5f20012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:44:34] local.INFO: Processing buffer {"connection_id":164035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048eb5f20012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:44:34] local.INFO: Packet analysis {"connection_id":164035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048eb"} 
[2026-08-28 20:44:34] local.INFO: Extracted packet for processing {"connection_id":164035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048eb"} 
[2026-08-28 20:44:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709946624001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:44:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:44:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787929780000,"timestamp_ms":1787929780000,"timestamp_seconds":1787929780,"priority":1,"record_length":96,"hex_timestamp":"000001a048eb5f20"} 
[2026-08-28 20:44:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:44:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 20:44:34] 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-28 20:44:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:44:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":164035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":164035,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":164035,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:44:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709946624001,"66":25299,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709946624001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:44:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:44:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:44:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:44:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709946624001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":164035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710289,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:44:34] local.INFO: GPS data processed {"connection_id":164035,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:44:34] local.INFO: Acknowledgment sent {"connection_id":164035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:44:35] local.INFO: TCP Data received {"connection_id":166405,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:44:35] local.INFO: Processing buffer {"connection_id":166405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:44:35] local.INFO: IMEI packet received {"connection_id":166405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 20:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":166405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:44:36] local.INFO: TCP Data received {"connection_id":166405,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048ed6e78012d34c14006aa4840001500e62b..."} 
[2026-08-28 20:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048ed6e78012d34c14006aa4840001500e62b..."} 
[2026-08-28 20:44:36] local.INFO: Processing buffer {"connection_id":166405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048ed6e78012d34c14006aa4840001500e62b..."} 
[2026-08-28 20:44:36] local.INFO: Packet analysis {"connection_id":166405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ed"} 
[2026-08-28 20:44:36] local.INFO: Extracted packet for processing {"connection_id":166405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ed"} 
[2026-08-28 20:44:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":21,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709981184001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:44:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:44:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787929915000,"timestamp_ms":1787929915000,"timestamp_seconds":1787929915,"priority":1,"record_length":96,"hex_timestamp":"000001a048ed6e78"} 
[2026-08-28 20:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:44:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-28 20:44:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:44:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":166405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":166405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":166405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:44:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709981184001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709981184001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:44:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:44:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:44:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709981184001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":166405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:44:36] local.INFO: GPS data processed {"connection_id":166405,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:44:36] local.INFO: Acknowledgment sent {"connection_id":166405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:44:42] local.INFO: TCP Data received {"connection_id":165053,"ip":"117.225.149.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:44:42] local.INFO: Processing buffer {"connection_id":165053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:44:42] local.INFO: IMEI packet received {"connection_id":165053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 20:44:42] local.INFO: IMEI acknowledgment sent {"connection_id":165053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:44:44] local.INFO: TCP Data received {"connection_id":165053,"ip":"117.225.149.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:44:44] local.INFO: Processing buffer {"connection_id":165053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:44:44] local.INFO: IMEI packet received {"connection_id":165053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:44:44] local.INFO: IMEI acknowledgment sent {"connection_id":165053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:44:47] local.INFO: TCP Data received {"connection_id":165053,"ip":"117.225.149.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:44:47] local.INFO: Processing buffer {"connection_id":165053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:44:47] local.INFO: IMEI packet received {"connection_id":165053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:44:47] local.INFO: IMEI acknowledgment sent {"connection_id":165053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:44:48] local.INFO: TCP Data received {"connection_id":165053,"ip":"117.225.149.51","data_length":795,"data_hex":"000000000000030f8e0a000001a048ee9758012d07bf4007256878001500a328..."} 
[2026-08-28 20:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048ee9758012d07bf4007256878001500a328..."} 
[2026-08-28 20:44:48] local.INFO: Processing buffer {"connection_id":165053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048ee9758012d07bf4007256878001500a328..."} 
[2026-08-28 20:44:48] local.INFO: Packet analysis {"connection_id":165053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ee"} 
[2026-08-28 20:44:48] local.INFO: Extracted packet for processing {"connection_id":165053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ee"} 
[2026-08-28 20:44:48] local.INFO: GPS Element Parsed {"raw_longitude":755482432,"raw_latitude":119892088,"longitude_deg":75.5482432,"latitude_deg":11.9892088,"altitude":21,"angle":163,"satellites":40,"speed":11,"hex_longitude":"2d07bf40","hex_latitude":"07256878","is_valid_coordinates":true} 
[2026-08-28 20: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-28 20:44:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710074112001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:44:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16161433653870592,"note":"Value kept but may cause issues"} 
[2026-08-28 20:44:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":557109378348795904,"note":"Value kept but may cause issues"} 
[2026-08-28 20:44:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:44:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787929991000,"timestamp_ms":1787929991000,"timestamp_seconds":1787929991,"priority":1,"record_length":96,"hex_timestamp":"000001a048ee9758"} 
[2026-08-28 20: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-28 20:44:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-28 20:44:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20: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-28 20: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-28 20:44:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:44:48] local.INFO: Teltonika packet parsed successfully {"connection_id":165053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:44:48] local.INFO: Passing IMEI to GPS processor {"connection_id":165053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:44:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":165053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:44:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.149.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:44:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:44:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:44:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710074112001,"66":14189,"108":206,"28":26880,"24":11,"16":16161433653870592,"45":557109378348795904},"client_ip":"117.225.149.51","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,28,24,16,45]} 
[2026-08-28 20:44:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:44:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:44:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710074112001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:44:48] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-28 20:44:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-08-28 20:44:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16161433653870592,"km_value":16161433653870.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:44:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":557109378348795904,"description":"Unknown IO ID 45"} 
[2026-08-28 20:44:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710074112001,"power":14189,"unknown_108":206,"unknown_28":26880,"ignition":11,"odometer":null,"unknown_45":557109378348795904}} 
[2026-08-28 20:44:48] 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":710291,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:44:48] local.INFO: GPS data processed {"connection_id":165053,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:44:48] local.INFO: Acknowledgment sent {"connection_id":165053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:44:55] local.INFO: TCP Data received {"connection_id":166406,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166406,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:44:55] local.INFO: Processing buffer {"connection_id":166406,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:44:55] local.INFO: IMEI packet received {"connection_id":166406,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 20:44:55] local.INFO: IMEI acknowledgment sent {"connection_id":166406,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:45:01] local.INFO: TCP Data received {"connection_id":166406,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166406,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:45:01] local.INFO: Processing buffer {"connection_id":166406,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:45:01] local.INFO: IMEI packet received {"connection_id":166406,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 20:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":166406,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:45:02] local.INFO: TCP Data received {"connection_id":166406,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048eb5f20012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048eb5f20012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:45:02] local.INFO: Processing buffer {"connection_id":166406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048eb5f20012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:45:02] local.INFO: Packet analysis {"connection_id":166406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048eb"} 
[2026-08-28 20:45:02] local.INFO: Extracted packet for processing {"connection_id":166406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048eb"} 
[2026-08-28 20:45:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20: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-28 20:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709946624001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:45:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:45:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787929780000,"timestamp_ms":1787929780000,"timestamp_seconds":1787929780,"priority":1,"record_length":96,"hex_timestamp":"000001a048eb5f20"} 
[2026-08-28 20: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-28 20:45:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 20:45:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20: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-28 20: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-28 20:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":166406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":166406,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":166406,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:45:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709946624001,"66":25299,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709946624001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:45:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:45:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:45:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:45:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:45:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709946624001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:45:02] local.INFO: DEBUG: GPS processor result {"connection_id":166406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710292,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:45:02] local.INFO: GPS data processed {"connection_id":166406,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:45:02] local.INFO: Acknowledgment sent {"connection_id":166406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:45:08] local.INFO: TCP Data received {"connection_id":166405,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048ed6e78012d34c14006aa4840001500e62b..."} 
[2026-08-28 20:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048ed6e78012d34c14006aa4840001500e62b..."} 
[2026-08-28 20:45:08] local.INFO: Processing buffer {"connection_id":166405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048ed6e78012d34c14006aa4840001500e62b..."} 
[2026-08-28 20:45:08] local.INFO: Packet analysis {"connection_id":166405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ed"} 
[2026-08-28 20:45:08] local.INFO: Extracted packet for processing {"connection_id":166405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ed"} 
[2026-08-28 20:45:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":21,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709981184001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:45:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787929915000,"timestamp_ms":1787929915000,"timestamp_seconds":1787929915,"priority":1,"record_length":96,"hex_timestamp":"000001a048ed6e78"} 
[2026-08-28 20:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:45:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-28 20:45:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:45:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":166405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":166405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":166405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:45:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709981184001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709981184001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:45:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:45:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:45: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-28 20:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709981184001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":166405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:45:08] local.INFO: GPS data processed {"connection_id":166405,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:45:08] local.INFO: Acknowledgment sent {"connection_id":166405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:45:19] local.INFO: TCP Data received {"connection_id":165053,"ip":"117.225.149.51","data_length":795,"data_hex":"000000000000030f8e0a000001a048efb868012d07d5c0072523e0001300652a..."} 
[2026-08-28 20:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048efb868012d07d5c0072523e0001300652a..."} 
[2026-08-28 20:45:19] local.INFO: Processing buffer {"connection_id":165053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048efb868012d07d5c0072523e0001300652a..."} 
[2026-08-28 20:45:19] local.INFO: Packet analysis {"connection_id":165053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ef"} 
[2026-08-28 20:45:19] local.INFO: Extracted packet for processing {"connection_id":165053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ef"} 
[2026-08-28 20:45:19] local.INFO: GPS Element Parsed {"raw_longitude":755488192,"raw_latitude":119874528,"longitude_deg":75.5488192,"latitude_deg":11.9874528,"altitude":19,"angle":101,"satellites":42,"speed":18,"hex_longitude":"2d07d5c0","hex_latitude":"072523e0","is_valid_coordinates":true} 
[2026-08-28 20:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:45:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710096384001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:45:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16162391431577600,"note":"Value kept but may cause issues"} 
[2026-08-28 20:45:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":564075884016066560,"note":"Value kept but may cause issues"} 
[2026-08-28 20:45:19] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,28,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-28 20:45:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787930065000,"timestamp_ms":1787930065000,"timestamp_seconds":1787930065,"priority":1,"record_length":96,"hex_timestamp":"000001a048efb868"} 
[2026-08-28 20:45:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:45:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-28 20:45:19] 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-28 20:45:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:45:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:45:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:45:19] local.INFO: Teltonika packet parsed successfully {"connection_id":165053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:45:19] local.INFO: Passing IMEI to GPS processor {"connection_id":165053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:45:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":165053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:45:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.149.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:45:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:45:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:45:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710096384001,"66":13363,"16":16162391431577600,"28":26880,"24":18,"45":564075884016066560},"client_ip":"117.225.149.51","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,28,24,45]} 
[2026-08-28 20:45:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:45:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:45:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710096384001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:45:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16162391431577600,"km_value":16162391431577.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:45:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-08-28 20:45:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":564075884016066560,"description":"Unknown IO ID 45"} 
[2026-08-28 20:45:19] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457710096384001,"power":13363,"odometer":null,"unknown_28":26880,"ignition":18,"unknown_45":564075884016066560}} 
[2026-08-28 20:45:19] 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":710294,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:45:19] local.INFO: GPS data processed {"connection_id":165053,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:45:19] local.INFO: Acknowledgment sent {"connection_id":165053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:45:33] local.INFO: TCP Data received {"connection_id":166406,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048eff6e8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048eff6e8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:45:33] local.INFO: Processing buffer {"connection_id":166406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048eff6e8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:45:33] local.INFO: Packet analysis {"connection_id":166406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ef"} 
[2026-08-28 20:45:33] local.INFO: Extracted packet for processing {"connection_id":166406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ef"} 
[2026-08-28 20:45:33] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710023680001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:45:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787930081000,"timestamp_ms":1787930081000,"timestamp_seconds":1787930081,"priority":1,"record_length":96,"hex_timestamp":"000001a048eff6e8"} 
[2026-08-28 20:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:45:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 20:45:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:45:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":166406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":166406,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":166406,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710023680001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710023680001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:45:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:45:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710023680001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:45:34] local.INFO: DEBUG: GPS processor result {"connection_id":166406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710295,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:45:34] local.INFO: GPS data processed {"connection_id":166406,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:45:34] local.INFO: Acknowledgment sent {"connection_id":166406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:45:35] local.INFO: TCP Data received {"connection_id":164036,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:45:35] local.INFO: Processing buffer {"connection_id":164036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:45:35] local.INFO: IMEI packet received {"connection_id":164036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 20:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":164036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:45:40] local.INFO: TCP Data received {"connection_id":164036,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:45:40] local.INFO: Processing buffer {"connection_id":164036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:45:40] local.INFO: IMEI packet received {"connection_id":164036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 20:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":164036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:45:41] local.INFO: TCP Data received {"connection_id":164036,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048ed6e78012d34c14006aa4840001500e62b..."} 
[2026-08-28 20:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048ed6e78012d34c14006aa4840001500e62b..."} 
[2026-08-28 20:45:41] local.INFO: Processing buffer {"connection_id":164036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048ed6e78012d34c14006aa4840001500e62b..."} 
[2026-08-28 20:45:41] local.INFO: Packet analysis {"connection_id":164036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ed"} 
[2026-08-28 20:45:41] local.INFO: Extracted packet for processing {"connection_id":164036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ed"} 
[2026-08-28 20:45:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":21,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20: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-28 20:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709981184001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:45:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:45:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787929915000,"timestamp_ms":1787929915000,"timestamp_seconds":1787929915,"priority":1,"record_length":96,"hex_timestamp":"000001a048ed6e78"} 
[2026-08-28 20: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-28 20:45:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20: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":37,"data_length":795,"current_offset":136} 
[2026-08-28 20:45:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20: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-28 20: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-28 20:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":164036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":164036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":164036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:45:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709981184001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709981184001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:45:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:45:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20: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-28 20:45:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709981184001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":164036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:45:41] local.INFO: GPS data processed {"connection_id":164036,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:45:41] local.INFO: Acknowledgment sent {"connection_id":164036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:45:42] local.INFO: TCP Data received {"connection_id":163759,"ip":"117.225.149.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163759,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:45:42] local.INFO: Processing buffer {"connection_id":163759,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:45:42] local.INFO: IMEI packet received {"connection_id":163759,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 20:45:42] local.INFO: IMEI acknowledgment sent {"connection_id":163759,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:45:46] local.INFO: TCP Data received {"connection_id":164036,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048ed6e78012d34c14006aa4840001500e62b..."} 
[2026-08-28 20:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048ed6e78012d34c14006aa4840001500e62b..."} 
[2026-08-28 20:45:46] local.INFO: Processing buffer {"connection_id":164036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048ed6e78012d34c14006aa4840001500e62b..."} 
[2026-08-28 20:45:46] local.INFO: Packet analysis {"connection_id":164036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ed"} 
[2026-08-28 20:45:46] local.INFO: Extracted packet for processing {"connection_id":164036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ed"} 
[2026-08-28 20:45:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":21,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20: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-28 20:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709981184001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:45:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:45:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787929915000,"timestamp_ms":1787929915000,"timestamp_seconds":1787929915,"priority":1,"record_length":96,"hex_timestamp":"000001a048ed6e78"} 
[2026-08-28 20: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-28 20:45:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-28 20:45:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20: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-28 20: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-28 20:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:45:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709981184001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709981184001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:45:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:45:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:45: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-28 20:45:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:45:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709981184001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":164036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:45:46] local.INFO: GPS data processed {"connection_id":164036,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:45:46] local.INFO: Acknowledgment sent {"connection_id":164036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:45:48] local.INFO: TCP Data received {"connection_id":163759,"ip":"117.225.149.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163759,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:45:48] local.INFO: Processing buffer {"connection_id":163759,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:45:48] local.INFO: IMEI packet received {"connection_id":163759,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":163759,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:45:49] local.INFO: TCP Data received {"connection_id":163759,"ip":"117.225.149.51","data_length":795,"data_hex":"000000000000030f8e0a000001a048efcfd8012d07e080072520c80013007a2a..."} 
[2026-08-28 20:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048efcfd8012d07e080072520c80013007a2a..."} 
[2026-08-28 20:45:49] local.INFO: Processing buffer {"connection_id":163759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048efcfd8012d07e080072520c80013007a2a..."} 
[2026-08-28 20:45:49] local.INFO: Packet analysis {"connection_id":163759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ef"} 
[2026-08-28 20:45:49] local.INFO: Extracted packet for processing {"connection_id":163759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ef"} 
[2026-08-28 20:45:49] local.INFO: GPS Element Parsed {"raw_longitude":755490944,"raw_latitude":119873736,"longitude_deg":75.5490944,"latitude_deg":11.9873736,"altitude":19,"angle":122,"satellites":42,"speed":18,"hex_longitude":"2d07e080","hex_latitude":"072520c8","is_valid_coordinates":true} 
[2026-08-28 20:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:45:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710096640001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:45:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16162528870531072,"note":"Value kept but may cause issues"} 
[2026-08-28 20:45:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":564568465225277440,"note":"Value kept but may cause issues"} 
[2026-08-28 20:45:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,28,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-28 20:45:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787930071000,"timestamp_ms":1787930071000,"timestamp_seconds":1787930071,"priority":1,"record_length":96,"hex_timestamp":"000001a048efcfd8"} 
[2026-08-28 20:45:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:45:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-28 20:45:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:45:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:45:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:45:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:45:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:45:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:45:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:45:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.149.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:45:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:45:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:45:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710096640001,"66":14157,"16":16162528870531072,"28":26880,"24":18,"45":564568465225277440},"client_ip":"117.225.149.51","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,28,24,45]} 
[2026-08-28 20:45:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:45:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:45:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710096640001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:45:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16162528870531072,"km_value":16162528870531.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:45:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-08-28 20:45:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":564568465225277440,"description":"Unknown IO ID 45"} 
[2026-08-28 20:45:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457710096640001,"power":14157,"odometer":null,"unknown_28":26880,"ignition":18,"unknown_45":564568465225277440}} 
[2026-08-28 20:45:49] local.INFO: DEBUG: GPS processor result {"connection_id":163759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710298,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:45:49] local.INFO: GPS data processed {"connection_id":163759,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:45:49] local.INFO: Acknowledgment sent {"connection_id":163759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:45:56] local.INFO: TCP Data received {"connection_id":166407,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166407,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:45:56] local.INFO: Processing buffer {"connection_id":166407,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:45:56] local.INFO: IMEI packet received {"connection_id":166407,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 20:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":166407,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:46:01] local.INFO: TCP Data received {"connection_id":166407,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166407,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:46:01] local.INFO: Processing buffer {"connection_id":166407,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:46:01] local.INFO: IMEI packet received {"connection_id":166407,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 20:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":166407,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:46:02] local.INFO: TCP Data received {"connection_id":166407,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048eff6e8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048eff6e8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:46:02] local.INFO: Processing buffer {"connection_id":166407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048eff6e8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:46:02] local.INFO: Packet analysis {"connection_id":166407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ef"} 
[2026-08-28 20:46:02] local.INFO: Extracted packet for processing {"connection_id":166407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ef"} 
[2026-08-28 20:46:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20: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-28 20:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710023680001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:46:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:46:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787930081000,"timestamp_ms":1787930081000,"timestamp_seconds":1787930081,"priority":1,"record_length":96,"hex_timestamp":"000001a048eff6e8"} 
[2026-08-28 20: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-28 20:46:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 20:46:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20: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-28 20: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-28 20:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":166407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":166407,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":166407,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:46:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710023680001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710023680001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:46:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:46:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:46:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710023680001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":166407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710299,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:46:02] local.INFO: GPS data processed {"connection_id":166407,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:46:02] local.INFO: Acknowledgment sent {"connection_id":166407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:46:21] local.INFO: TCP Data received {"connection_id":163759,"ip":"117.225.149.51","data_length":795,"data_hex":"000000000000030f8e0a000001a048f073e8012d0829800724fb000016009429..."} 
[2026-08-28 20:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048f073e8012d0829800724fb000016009429..."} 
[2026-08-28 20:46:21] local.INFO: Processing buffer {"connection_id":163759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048f073e8012d0829800724fb000016009429..."} 
[2026-08-28 20:46:21] local.INFO: Packet analysis {"connection_id":163759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048f0"} 
[2026-08-28 20:46:21] local.INFO: Extracted packet for processing {"connection_id":163759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048f0"} 
[2026-08-28 20:46:21] local.INFO: GPS Element Parsed {"raw_longitude":755509632,"raw_latitude":119864064,"longitude_deg":75.5509632,"latitude_deg":11.9864064,"altitude":22,"angle":148,"satellites":41,"speed":26,"hex_longitude":"2d082980","hex_latitude":"0724fb00","is_valid_coordinates":true} 
[2026-08-28 20:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:46:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710108672001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:46:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16163645562028032,"note":"Value kept but may cause issues"} 
[2026-08-28 20:46:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":587649413313013760,"note":"Value kept but may cause issues"} 
[2026-08-28 20:46:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:46:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787930113000,"timestamp_ms":1787930113000,"timestamp_seconds":1787930113,"priority":1,"record_length":96,"hex_timestamp":"000001a048f073e8"} 
[2026-08-28 20:46:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:46:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-08-28 20:46:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:46:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:46:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:46:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:46:21] local.INFO: Teltonika packet parsed successfully {"connection_id":163759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:46:21] local.INFO: Passing IMEI to GPS processor {"connection_id":163759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:46:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":163759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:46:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.149.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:46:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:46:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:46:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710108672001,"66":14211,"15":206,"28":26880,"24":26,"16":16163645562028032,"45":587649413313013760},"client_ip":"117.225.149.51","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,28,24,16,45]} 
[2026-08-28 20:46:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:46:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:46:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710108672001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:46:21] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-28 20:46:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-08-28 20:46:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16163645562028032,"km_value":16163645562028.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:46:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":587649413313013760,"description":"Unknown IO ID 45"} 
[2026-08-28 20:46:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710108672001,"power":14211,"unknown_15":206,"unknown_28":26880,"ignition":26,"odometer":null,"unknown_45":587649413313013760}} 
[2026-08-28 20:46:22] local.INFO: DEBUG: GPS processor result {"connection_id":163759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710300,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:46:22] local.INFO: GPS data processed {"connection_id":163759,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:46:22] local.INFO: Acknowledgment sent {"connection_id":163759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:46:30] local.INFO: TCP Data received {"connection_id":165054,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:46:30] local.INFO: Processing buffer {"connection_id":165054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:46:30] local.INFO: IMEI packet received {"connection_id":165054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 20:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":165054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:46:34] local.INFO: TCP Data received {"connection_id":166407,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048eff6e8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048eff6e8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:46:34] local.INFO: Processing buffer {"connection_id":166407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048eff6e8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:46:34] local.INFO: Packet analysis {"connection_id":166407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ef"} 
[2026-08-28 20:46:34] local.INFO: Extracted packet for processing {"connection_id":166407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ef"} 
[2026-08-28 20:46:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710023680001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:46:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:46:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787930081000,"timestamp_ms":1787930081000,"timestamp_seconds":1787930081,"priority":1,"record_length":96,"hex_timestamp":"000001a048eff6e8"} 
[2026-08-28 20:46:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:46:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 20:46:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:46:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:46:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":166407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":166407,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":166407,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:46:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710023680001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710023680001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:46:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:46:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:46:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710023680001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:46:34] local.INFO: DEBUG: GPS processor result {"connection_id":166407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710301,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:46:34] local.INFO: GPS data processed {"connection_id":166407,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:46:34] local.INFO: Acknowledgment sent {"connection_id":166407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:46:35] local.INFO: TCP Data received {"connection_id":165054,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:46:35] local.INFO: Processing buffer {"connection_id":165054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:46:35] local.INFO: IMEI packet received {"connection_id":165054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 20:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":165054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:46:36] local.INFO: TCP Data received {"connection_id":165054,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048ed6e78012d34c14006aa4840001500e62b..."} 
[2026-08-28 20:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048ed6e78012d34c14006aa4840001500e62b..."} 
[2026-08-28 20:46:36] local.INFO: Processing buffer {"connection_id":165054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048ed6e78012d34c14006aa4840001500e62b..."} 
[2026-08-28 20:46:36] local.INFO: Packet analysis {"connection_id":165054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ed"} 
[2026-08-28 20:46:36] local.INFO: Extracted packet for processing {"connection_id":165054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ed"} 
[2026-08-28 20:46:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":21,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709981184001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787929915000,"timestamp_ms":1787929915000,"timestamp_seconds":1787929915,"priority":1,"record_length":96,"hex_timestamp":"000001a048ed6e78"} 
[2026-08-28 20:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-28 20:46:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:46:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":165054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":165054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":165054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:46:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709981184001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709981184001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:46:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:46:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709981184001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:46:36] 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":710302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:46:36] local.INFO: GPS data processed {"connection_id":165054,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:46:36] local.INFO: Acknowledgment sent {"connection_id":165054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:46:48] local.INFO: TCP Data received {"connection_id":164037,"ip":"117.225.149.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164037,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:46:48] local.INFO: Processing buffer {"connection_id":164037,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:46:48] local.INFO: IMEI packet received {"connection_id":164037,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 20:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":164037,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:46:49] local.INFO: TCP Data received {"connection_id":164037,"ip":"117.225.149.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164037,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:46:49] local.INFO: Processing buffer {"connection_id":164037,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:46:49] local.INFO: IMEI packet received {"connection_id":164037,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:46:49] local.INFO: IMEI acknowledgment sent {"connection_id":164037,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:46:50] local.INFO: TCP Data received {"connection_id":164037,"ip":"117.225.149.51","data_length":795,"data_hex":"000000000000030f8e0a000001a048f08770012d0831400724f0680017008529..."} 
[2026-08-28 20:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048f08770012d0831400724f0680017008529..."} 
[2026-08-28 20:46:50] local.INFO: Processing buffer {"connection_id":164037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048f08770012d0831400724f0680017008529..."} 
[2026-08-28 20:46:50] local.INFO: Packet analysis {"connection_id":164037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048f0"} 
[2026-08-28 20:46:50] local.INFO: Extracted packet for processing {"connection_id":164037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048f0"} 
[2026-08-28 20:46:50] local.INFO: GPS Element Parsed {"raw_longitude":755511616,"raw_latitude":119861352,"longitude_deg":75.5511616,"latitude_deg":11.9861352,"altitude":23,"angle":133,"satellites":41,"speed":25,"hex_longitude":"2d083140","hex_latitude":"0724f068","is_valid_coordinates":true} 
[2026-08-28 20:46:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:46:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710108928001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:46:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16163804475817984,"note":"Value kept but may cause issues"} 
[2026-08-28 20:46:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":588141994522116096,"note":"Value kept but may cause issues"} 
[2026-08-28 20:46:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:46:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787930118000,"timestamp_ms":1787930118000,"timestamp_seconds":1787930118,"priority":1,"record_length":96,"hex_timestamp":"000001a048f08770"} 
[2026-08-28 20:46:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:46:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20:46:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-28 20:46:50] 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-28 20:46:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:46:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:46:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:46:50] local.INFO: Teltonika packet parsed successfully {"connection_id":164037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:46:50] local.INFO: Passing IMEI to GPS processor {"connection_id":164037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:46:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":164037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:46:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.149.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:46:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:46:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:46:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710108928001,"66":14233,"15":206,"28":26880,"24":25,"16":16163804475817984,"45":588141994522116096},"client_ip":"117.225.149.51","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,28,24,16,45]} 
[2026-08-28 20:46:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:46:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:46:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710108928001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:46:50] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-28 20:46:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-08-28 20:46:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16163804475817984,"km_value":16163804475817.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:46:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":588141994522116096,"description":"Unknown IO ID 45"} 
[2026-08-28 20:46:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710108928001,"power":14233,"unknown_15":206,"unknown_28":26880,"ignition":25,"odometer":null,"unknown_45":588141994522116096}} 
[2026-08-28 20:46:50] local.INFO: DEBUG: GPS processor result {"connection_id":164037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710303,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:46:50] local.INFO: GPS data processed {"connection_id":164037,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:46:50] local.INFO: Acknowledgment sent {"connection_id":164037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:46:53] local.INFO: TCP Data received {"connection_id":164037,"ip":"117.225.149.51","data_length":795,"data_hex":"000000000000030f8e0a000001a048f0ae80012d0845400724e250001500782a..."} 
[2026-08-28 20:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048f0ae80012d0845400724e250001500782a..."} 
[2026-08-28 20:46:53] local.INFO: Processing buffer {"connection_id":164037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048f0ae80012d0845400724e250001500782a..."} 
[2026-08-28 20:46:53] local.INFO: Packet analysis {"connection_id":164037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048f0"} 
[2026-08-28 20:46:53] local.INFO: Extracted packet for processing {"connection_id":164037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048f0"} 
[2026-08-28 20:46:53] local.INFO: GPS Element Parsed {"raw_longitude":755516736,"raw_latitude":119857744,"longitude_deg":75.5516736,"latitude_deg":11.9857744,"altitude":21,"angle":120,"satellites":42,"speed":24,"hex_longitude":"2d084540","hex_latitude":"0724e250","is_valid_coordinates":true} 
[2026-08-28 20:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:46:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710110208001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:46:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16164105123528704,"note":"Value kept but may cause issues"} 
[2026-08-28 20:46:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":590323425590929408,"note":"Value kept but may cause issues"} 
[2026-08-28 20:46:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:46:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787930128000,"timestamp_ms":1787930128000,"timestamp_seconds":1787930128,"priority":1,"record_length":96,"hex_timestamp":"000001a048f0ae80"} 
[2026-08-28 20:46:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:46:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-28 20:46:53] 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-28 20:46:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:46:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:46:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:46:53] local.INFO: Teltonika packet parsed successfully {"connection_id":164037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:46:53] local.INFO: Passing IMEI to GPS processor {"connection_id":164037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:46:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":164037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:46:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.149.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:46:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:46:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:46:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710110208001,"66":14265,"15":206,"28":26880,"24":24,"16":16164105123528704,"45":590323425590929408},"client_ip":"117.225.149.51","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,28,24,16,45]} 
[2026-08-28 20:46:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:46:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:46:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710110208001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:46:53] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-28 20:46:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-08-28 20:46:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16164105123528704,"km_value":16164105123528.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:46:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":590323425590929408,"description":"Unknown IO ID 45"} 
[2026-08-28 20:46:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710110208001,"power":14265,"unknown_15":206,"unknown_28":26880,"ignition":24,"odometer":null,"unknown_45":590323425590929408}} 
[2026-08-28 20:46:53] local.INFO: DEBUG: GPS processor result {"connection_id":164037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710304,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:46:53] local.INFO: GPS data processed {"connection_id":164037,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:46:53] local.INFO: Acknowledgment sent {"connection_id":164037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:46:56] local.INFO: TCP Data received {"connection_id":163760,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163760,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:46:56] local.INFO: Processing buffer {"connection_id":163760,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:46:56] local.INFO: IMEI packet received {"connection_id":163760,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 20:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":163760,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:47:01] local.INFO: TCP Data received {"connection_id":163760,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163760,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:47:01] local.INFO: Processing buffer {"connection_id":163760,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:47:01] local.INFO: IMEI packet received {"connection_id":163760,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 20:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":163760,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:47:02] local.INFO: TCP Data received {"connection_id":163760,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048eff6e8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048eff6e8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:47:02] local.INFO: Processing buffer {"connection_id":163760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048eff6e8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:47:02] local.INFO: Packet analysis {"connection_id":163760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ef"} 
[2026-08-28 20:47:02] local.INFO: Extracted packet for processing {"connection_id":163760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ef"} 
[2026-08-28 20:47:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:47:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:47:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710023680001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:47:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:47:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:47:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:47:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787930081000,"timestamp_ms":1787930081000,"timestamp_seconds":1787930081,"priority":1,"record_length":96,"hex_timestamp":"000001a048eff6e8"} 
[2026-08-28 20:47:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:47:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:47:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 20:47:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:47:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:47:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:47:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:47:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:47:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163760,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:47:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163760,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:47:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:47:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:47:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:47:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710023680001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:47:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:47:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:47:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710023680001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:47:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:47:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:47:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:47:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:47:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710023680001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:47:02] 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":710305,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:47:02] local.INFO: GPS data processed {"connection_id":163760,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:47:02] local.INFO: Acknowledgment sent {"connection_id":163760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:47:08] local.INFO: TCP Data received {"connection_id":165054,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048ed6e78012d34c14006aa4840001500e62b..."} 
[2026-08-28 20:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048ed6e78012d34c14006aa4840001500e62b..."} 
[2026-08-28 20:47:08] local.INFO: Processing buffer {"connection_id":165054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048ed6e78012d34c14006aa4840001500e62b..."} 
[2026-08-28 20:47:08] local.INFO: Packet analysis {"connection_id":165054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ed"} 
[2026-08-28 20:47:08] local.INFO: Extracted packet for processing {"connection_id":165054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ed"} 
[2026-08-28 20:47:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":21,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457709981184001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:47:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787929915000,"timestamp_ms":1787929915000,"timestamp_seconds":1787929915,"priority":1,"record_length":96,"hex_timestamp":"000001a048ed6e78"} 
[2026-08-28 20:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:47:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-28 20:47:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20: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-28 20:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":165054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":165054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":165054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:47:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457709981184001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457709981184001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:47:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:47:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:47: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-28 20:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457709981184001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:47:08] 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":710306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:47:08] local.INFO: GPS data processed {"connection_id":165054,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:47:08] local.INFO: Acknowledgment sent {"connection_id":165054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:47:24] local.INFO: TCP Data received {"connection_id":164037,"ip":"117.225.149.51","data_length":795,"data_hex":"000000000000030f8e0a000001a048f0ed00012d0863000724cf400012008228..."} 
[2026-08-28 20:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048f0ed00012d0863000724cf400012008228..."} 
[2026-08-28 20:47:24] local.INFO: Processing buffer {"connection_id":164037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048f0ed00012d0863000724cf400012008228..."} 
[2026-08-28 20:47:24] local.INFO: Packet analysis {"connection_id":164037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048f0"} 
[2026-08-28 20:47:24] local.INFO: Extracted packet for processing {"connection_id":164037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048f0"} 
[2026-08-28 20:47:24] local.INFO: GPS Element Parsed {"raw_longitude":755524352,"raw_latitude":119852864,"longitude_deg":75.5524352,"latitude_deg":11.9852864,"altitude":18,"angle":130,"satellites":40,"speed":15,"hex_longitude":"2d086300","hex_latitude":"0724cf40","is_valid_coordinates":true} 
[2026-08-28 20:47:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:47:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710112768001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:47:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16164538915225600,"note":"Value kept but may cause issues"} 
[2026-08-28 20:47:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":595952925124218880,"note":"Value kept but may cause issues"} 
[2026-08-28 20:47:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:47:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787930144000,"timestamp_ms":1787930144000,"timestamp_seconds":1787930144,"priority":1,"record_length":96,"hex_timestamp":"000001a048f0ed00"} 
[2026-08-28 20:47:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:47:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20:47:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-28 20:47:24] 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-28 20:47:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:47:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:47:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:47:24] local.INFO: Teltonika packet parsed successfully {"connection_id":164037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:47:24] local.INFO: Passing IMEI to GPS processor {"connection_id":164037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:47:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":164037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:47:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.149.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:47:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:47:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:47:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710112768001,"66":14157,"15":206,"28":26880,"24":15,"16":16164538915225600,"45":595952925124218880},"client_ip":"117.225.149.51","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,28,24,16,45]} 
[2026-08-28 20:47:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:47:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:47:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710112768001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:47:24] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-28 20:47:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-08-28 20:47:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16164538915225600,"km_value":16164538915225.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:47:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":595952925124218880,"description":"Unknown IO ID 45"} 
[2026-08-28 20:47:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710112768001,"power":14157,"unknown_15":206,"unknown_28":26880,"ignition":15,"odometer":null,"unknown_45":595952925124218880}} 
[2026-08-28 20:47:24] local.INFO: DEBUG: GPS processor result {"connection_id":164037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710307,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:47:24] local.INFO: GPS data processed {"connection_id":164037,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:47:24] local.INFO: Acknowledgment sent {"connection_id":164037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:47:29] local.INFO: TCP Data received {"connection_id":163761,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:47:29] local.INFO: Processing buffer {"connection_id":163761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:47:29] local.INFO: IMEI packet received {"connection_id":163761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 20:47:29] local.INFO: IMEI acknowledgment sent {"connection_id":163761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:47:34] local.INFO: TCP Data received {"connection_id":163761,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:47:34] local.INFO: Processing buffer {"connection_id":163761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:47:34] local.INFO: IMEI packet received {"connection_id":163761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 20:47:34] local.INFO: IMEI acknowledgment sent {"connection_id":163761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:47:34] local.INFO: TCP Data received {"connection_id":163760,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048eff6e8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048eff6e8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:47:34] local.INFO: Processing buffer {"connection_id":163760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048eff6e8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:47:34] local.INFO: Packet analysis {"connection_id":163760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ef"} 
[2026-08-28 20:47:34] local.INFO: Extracted packet for processing {"connection_id":163760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ef"} 
[2026-08-28 20:47:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710023680001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:47:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787930081000,"timestamp_ms":1787930081000,"timestamp_seconds":1787930081,"priority":1,"record_length":96,"hex_timestamp":"000001a048eff6e8"} 
[2026-08-28 20:47:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:47:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 20:47:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:47:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:47:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163760,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163760,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710023680001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710023680001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:47:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:47:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710023680001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:47:34] 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":710308,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:47:34] local.INFO: GPS data processed {"connection_id":163760,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:47:34] local.INFO: Acknowledgment sent {"connection_id":163760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:47:35] local.INFO: TCP Data received {"connection_id":163761,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048f20640012d34c14006aa4840000e00e62b..."} 
[2026-08-28 20:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048f20640012d34c14006aa4840000e00e62b..."} 
[2026-08-28 20:47:35] local.INFO: Processing buffer {"connection_id":163761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048f20640012d34c14006aa4840000e00e62b..."} 
[2026-08-28 20:47:35] local.INFO: Packet analysis {"connection_id":163761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048f2"} 
[2026-08-28 20:47:35] local.INFO: Extracted packet for processing {"connection_id":163761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048f2"} 
[2026-08-28 20:47:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710058240001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787930216000,"timestamp_ms":1787930216000,"timestamp_seconds":1787930216,"priority":1,"record_length":96,"hex_timestamp":"000001a048f20640"} 
[2026-08-28 20:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:47:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 20:47:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:47:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710058240001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710058240001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:47:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:47:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:47: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-28 20:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710058240001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:47:35] 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":710309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:47:35] local.INFO: GPS data processed {"connection_id":163761,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:47:35] local.INFO: Acknowledgment sent {"connection_id":163761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:47:45] local.INFO: TCP Data received {"connection_id":166408,"ip":"117.225.149.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166408,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:47:45] local.INFO: Processing buffer {"connection_id":166408,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:47:45] local.INFO: IMEI packet received {"connection_id":166408,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 20:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":166408,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:47:48] local.INFO: TCP Data received {"connection_id":166408,"ip":"117.225.149.51","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-28 20:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166408,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-28 20:47:48] local.INFO: Processing buffer {"connection_id":166408,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-28 20:47:48] local.INFO: IMEI packet received {"connection_id":166408,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":166408,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:47:49] local.INFO: TCP Data received {"connection_id":166408,"ip":"117.225.149.51","data_length":812,"data_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a048..."} 
[2026-08-28 20:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166408,"packet_length":812,"packet_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a048..."} 
[2026-08-28 20:47:49] local.INFO: Processing buffer {"connection_id":166408,"buffer_length":829,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-28 20:47:49] local.INFO: IMEI packet received {"connection_id":166408,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:47:49] local.INFO: IMEI acknowledgment sent {"connection_id":166408,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:47:53] local.INFO: TCP Data received {"connection_id":166408,"ip":"117.225.149.51","data_length":795,"data_hex":"000000000000030f8e0a000001a048f22580012d08f780072482c8002400592c..."} 
[2026-08-28 20:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048f22580012d08f780072482c8002400592c..."} 
[2026-08-28 20:47:53] local.INFO: Processing buffer {"connection_id":166408,"buffer_length":1607,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a048..."} 
[2026-08-28 20:47:53] local.INFO: IMEI packet received {"connection_id":166408,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":166408,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:47:56] local.INFO: TCP Data received {"connection_id":165055,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165055,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:47:56] local.INFO: Processing buffer {"connection_id":165055,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:47:56] local.INFO: IMEI packet received {"connection_id":165055,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 20:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":165055,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:47:59] local.INFO: TCP Data received {"connection_id":166408,"ip":"117.225.149.51","data_length":795,"data_hex":"000000000000030f8e0a000001a048f22580012d08f780072482c8002400592c..."} 
[2026-08-28 20:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048f22580012d08f780072482c8002400592c..."} 
[2026-08-28 20:47:59] local.INFO: Processing buffer {"connection_id":166408,"buffer_length":2385,"buffer_hex":"000000000000030f8e0a000001a048f1df30012d08d48007247a900023004b25..."} 
[2026-08-28 20:47:59] local.INFO: Packet analysis {"connection_id":166408,"data_field_length":783,"total_packet_length":795,"buffer_length":2385,"packet_hex_start":"000000000000030f8e0a000001a048f1"} 
[2026-08-28 20:47:59] local.INFO: Extracted packet for processing {"connection_id":166408,"packet_length":795,"remaining_buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a048f1"} 
[2026-08-28 20:47:59] local.INFO: GPS Element Parsed {"raw_longitude":755553408,"raw_latitude":119831184,"longitude_deg":75.5553408,"latitude_deg":11.9831184,"altitude":35,"angle":75,"satellites":37,"speed":32,"hex_longitude":"2d08d480","hex_latitude":"07247a90","is_valid_coordinates":true} 
[2026-08-28 20:47:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710132224001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16166364276326400,"note":"Value kept but may cause issues"} 
[2026-08-28 20:47:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":634374259438360576,"note":"Value kept but may cause issues"} 
[2026-08-28 20:47:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787930206000,"timestamp_ms":1787930206000,"timestamp_seconds":1787930206,"priority":1,"record_length":96,"hex_timestamp":"000001a048f1df30"} 
[2026-08-28 20:47:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:47:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20:47:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-08-28 20:47:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:47:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:47:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":166408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":166408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":166408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:47:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.149.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710132224001,"66":13689,"14":206,"28":26880,"24":32,"16":16166364276326400,"45":634374259438360576},"client_ip":"117.225.149.51","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,28,24,16,45]} 
[2026-08-28 20:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710132224001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:47:59] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-28 20:47:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-08-28 20:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16166364276326400,"km_value":16166364276326.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:47:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":634374259438360576,"description":"Unknown IO ID 45"} 
[2026-08-28 20:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710132224001,"power":13689,"unknown_14":206,"unknown_28":26880,"ignition":32,"odometer":null,"unknown_45":634374259438360576}} 
[2026-08-28 20:47:59] local.INFO: DEBUG: GPS processor result {"connection_id":166408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710310,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:47:59] local.INFO: GPS data processed {"connection_id":166408,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:47:59] local.INFO: Acknowledgment sent {"connection_id":166408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:47:59] local.INFO: Packet analysis {"connection_id":166408,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a048f2"} 
[2026-08-28 20:47:59] local.INFO: Extracted packet for processing {"connection_id":166408,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048f2"} 
[2026-08-28 20:47:59] local.INFO: GPS Element Parsed {"raw_longitude":755562368,"raw_latitude":119833288,"longitude_deg":75.5562368,"latitude_deg":11.9833288,"altitude":36,"angle":89,"satellites":44,"speed":12,"hex_longitude":"2d08f780","hex_latitude":"072482c8","is_valid_coordinates":true} 
[2026-08-28 20:47:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710132736001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16166802362990592,"note":"Value kept but may cause issues"} 
[2026-08-28 20:47:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":636274215531220992,"note":"Value kept but may cause issues"} 
[2026-08-28 20:47:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787930224000,"timestamp_ms":1787930224000,"timestamp_seconds":1787930224,"priority":1,"record_length":96,"hex_timestamp":"000001a048f22580"} 
[2026-08-28 20:47:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:47:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20:47:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-08-28 20:47:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:47:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:47:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":166408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":166408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":166408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:47:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.149.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710132736001,"66":13863,"14":206,"28":26880,"24":12,"16":16166802362990592,"45":636274215531220992},"client_ip":"117.225.149.51","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,28,24,16,45]} 
[2026-08-28 20:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710132736001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:47:59] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-28 20:47:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-08-28 20:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16166802362990592,"km_value":16166802362990.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:47:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":636274215531220992,"description":"Unknown IO ID 45"} 
[2026-08-28 20:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710132736001,"power":13863,"unknown_14":206,"unknown_28":26880,"ignition":12,"odometer":null,"unknown_45":636274215531220992}} 
[2026-08-28 20:47:59] local.INFO: DEBUG: GPS processor result {"connection_id":166408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710311,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:47:59] local.INFO: GPS data processed {"connection_id":166408,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:47:59] local.INFO: Acknowledgment sent {"connection_id":166408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:47:59] local.INFO: Packet analysis {"connection_id":166408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048f2"} 
[2026-08-28 20:47:59] local.INFO: Extracted packet for processing {"connection_id":166408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048f2"} 
[2026-08-28 20:47:59] local.INFO: GPS Element Parsed {"raw_longitude":755562368,"raw_latitude":119833288,"longitude_deg":75.5562368,"latitude_deg":11.9833288,"altitude":36,"angle":89,"satellites":44,"speed":12,"hex_longitude":"2d08f780","hex_latitude":"072482c8","is_valid_coordinates":true} 
[2026-08-28 20:47:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710137344001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16166802362990592,"note":"Value kept but may cause issues"} 
[2026-08-28 20:47:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":646125839716632576,"note":"Value kept but may cause issues"} 
[2026-08-28 20:47:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787930224000,"timestamp_ms":1787930224000,"timestamp_seconds":1787930224,"priority":1,"record_length":96,"hex_timestamp":"000001a048f22580"} 
[2026-08-28 20:47:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:47:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20:47:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-08-28 20:47:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":819,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:47:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:47:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":166408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":166408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":166408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:47:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.149.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710137344001,"66":13863,"14":206,"28":26880,"24":12,"16":16166802362990592,"45":646125839716632576},"client_ip":"117.225.149.51","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,28,24,16,45]} 
[2026-08-28 20:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710137344001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:47:59] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-08-28 20:47:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-08-28 20:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16166802362990592,"km_value":16166802362990.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:47:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":646125839716632576,"description":"Unknown IO ID 45"} 
[2026-08-28 20:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710137344001,"power":13863,"unknown_14":206,"unknown_28":26880,"ignition":12,"odometer":null,"unknown_45":646125839716632576}} 
[2026-08-28 20:47:59] local.INFO: DEBUG: GPS processor result {"connection_id":166408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710312,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:47:59] local.INFO: GPS data processed {"connection_id":166408,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:47:59] local.INFO: Acknowledgment sent {"connection_id":166408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:48:01] local.INFO: TCP Data received {"connection_id":165055,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165055,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:48:01] local.INFO: Processing buffer {"connection_id":165055,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:48:01] local.INFO: IMEI packet received {"connection_id":165055,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 20:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":165055,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:48:02] local.INFO: TCP Data received {"connection_id":165055,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048eff6e8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048eff6e8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:48:02] local.INFO: Processing buffer {"connection_id":165055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048eff6e8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:48:02] local.INFO: Packet analysis {"connection_id":165055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ef"} 
[2026-08-28 20:48:02] local.INFO: Extracted packet for processing {"connection_id":165055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ef"} 
[2026-08-28 20:48:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:48:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:48:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710023680001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:48:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:48:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:48:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:48:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787930081000,"timestamp_ms":1787930081000,"timestamp_seconds":1787930081,"priority":1,"record_length":96,"hex_timestamp":"000001a048eff6e8"} 
[2026-08-28 20:48:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:48:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:48:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 20:48:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:48:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:48:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:48:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:48:02] local.INFO: Teltonika packet parsed successfully {"connection_id":165055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:48:02] local.INFO: Passing IMEI to GPS processor {"connection_id":165055,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:48:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":165055,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:48:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:48:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:48:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:48:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710023680001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:48:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:48:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:48:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710023680001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:48:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:48:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:48:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:48:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:48:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710023680001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:48:02] local.INFO: DEBUG: GPS processor result {"connection_id":165055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710313,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:48:02] local.INFO: GPS data processed {"connection_id":165055,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:48:02] local.INFO: Acknowledgment sent {"connection_id":165055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:48:07] local.INFO: TCP Data received {"connection_id":163761,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048f20640012d34c14006aa4840000e00e62b..."} 
[2026-08-28 20:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048f20640012d34c14006aa4840000e00e62b..."} 
[2026-08-28 20:48:07] local.INFO: Processing buffer {"connection_id":163761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048f20640012d34c14006aa4840000e00e62b..."} 
[2026-08-28 20:48:07] local.INFO: Packet analysis {"connection_id":163761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048f2"} 
[2026-08-28 20:48:07] local.INFO: Extracted packet for processing {"connection_id":163761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048f2"} 
[2026-08-28 20:48:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710058240001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:48:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:48:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787930216000,"timestamp_ms":1787930216000,"timestamp_seconds":1787930216,"priority":1,"record_length":96,"hex_timestamp":"000001a048f20640"} 
[2026-08-28 20:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:48:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 20:48:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:48:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":163761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":163761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":163761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:48:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710058240001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710058240001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:48:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:48:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:48: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-28 20:48:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710058240001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:48:07] 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":710314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:48:07] local.INFO: GPS data processed {"connection_id":163761,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:48:07] local.INFO: Acknowledgment sent {"connection_id":163761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:48:34] local.INFO: TCP Data received {"connection_id":165055,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048eff6e8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048eff6e8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:48:34] local.INFO: Processing buffer {"connection_id":165055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048eff6e8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:48:34] local.INFO: Packet analysis {"connection_id":165055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ef"} 
[2026-08-28 20:48:34] local.INFO: Extracted packet for processing {"connection_id":165055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ef"} 
[2026-08-28 20:48:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710023680001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787930081000,"timestamp_ms":1787930081000,"timestamp_seconds":1787930081,"priority":1,"record_length":96,"hex_timestamp":"000001a048eff6e8"} 
[2026-08-28 20:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:48:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 20:48:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:48:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":165055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":165055,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":165055,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710023680001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710023680001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:48:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:48:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710023680001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":165055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710315,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:48:34] local.INFO: GPS data processed {"connection_id":165055,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:48:34] local.INFO: Acknowledgment sent {"connection_id":165055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:48:35] local.INFO: TCP Data received {"connection_id":164038,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:48:35] local.INFO: Processing buffer {"connection_id":164038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:48:35] local.INFO: IMEI packet received {"connection_id":164038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 20:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":164038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:48:40] local.INFO: TCP Data received {"connection_id":164038,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:48:40] local.INFO: Processing buffer {"connection_id":164038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:48:40] local.INFO: IMEI packet received {"connection_id":164038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 20:48:40] local.INFO: IMEI acknowledgment sent {"connection_id":164038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:48:41] local.INFO: TCP Data received {"connection_id":164038,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048f20640012d34c14006aa4840000e00e62b..."} 
[2026-08-28 20:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048f20640012d34c14006aa4840000e00e62b..."} 
[2026-08-28 20:48:41] local.INFO: Processing buffer {"connection_id":164038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048f20640012d34c14006aa4840000e00e62b..."} 
[2026-08-28 20:48:41] local.INFO: Packet analysis {"connection_id":164038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048f2"} 
[2026-08-28 20:48:41] local.INFO: Extracted packet for processing {"connection_id":164038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048f2"} 
[2026-08-28 20:48:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20: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-28 20:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710058240001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:48:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:48:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787930216000,"timestamp_ms":1787930216000,"timestamp_seconds":1787930216,"priority":1,"record_length":96,"hex_timestamp":"000001a048f20640"} 
[2026-08-28 20: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-28 20:48:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20: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-28 20: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-28 20: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-28 20: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-28 20:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":164038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":164038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":164038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:48:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710058240001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710058240001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:48:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:48:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20: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-28 20:48:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710058240001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":164038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:48:41] local.INFO: GPS data processed {"connection_id":164038,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:48:41] local.INFO: Acknowledgment sent {"connection_id":164038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:48:42] local.INFO: TCP Data received {"connection_id":166409,"ip":"117.225.149.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:48:42] local.INFO: Processing buffer {"connection_id":166409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:48:42] local.INFO: IMEI packet received {"connection_id":166409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 20:48:42] local.INFO: IMEI acknowledgment sent {"connection_id":166409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:48:44] local.INFO: TCP Data received {"connection_id":166409,"ip":"117.225.149.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:48:44] local.INFO: Processing buffer {"connection_id":166409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:48:44] local.INFO: IMEI packet received {"connection_id":166409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:48:44] local.INFO: IMEI acknowledgment sent {"connection_id":166409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:48:46] local.INFO: TCP Data received {"connection_id":164038,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048f20640012d34c14006aa4840000e00e62b..."} 
[2026-08-28 20:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048f20640012d34c14006aa4840000e00e62b..."} 
[2026-08-28 20:48:46] local.INFO: Processing buffer {"connection_id":164038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048f20640012d34c14006aa4840000e00e62b..."} 
[2026-08-28 20:48:46] local.INFO: Packet analysis {"connection_id":164038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048f2"} 
[2026-08-28 20:48:46] local.INFO: Extracted packet for processing {"connection_id":164038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048f2"} 
[2026-08-28 20:48:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710058240001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:48:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:48:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787930216000,"timestamp_ms":1787930216000,"timestamp_seconds":1787930216,"priority":1,"record_length":96,"hex_timestamp":"000001a048f20640"} 
[2026-08-28 20:48:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:48:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 20:48: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-28 20:48:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:48:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:48:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710058240001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710058240001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:48:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:48:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:48: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-28 20:48:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:48:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710058240001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:48:46] local.INFO: DEBUG: GPS processor result {"connection_id":164038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:48:46] local.INFO: GPS data processed {"connection_id":164038,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:48:46] local.INFO: Acknowledgment sent {"connection_id":164038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:48:46] local.INFO: TCP Data received {"connection_id":166409,"ip":"117.225.149.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:48:46] local.INFO: Processing buffer {"connection_id":166409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:48:46] local.INFO: IMEI packet received {"connection_id":166409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:48:46] local.INFO: IMEI acknowledgment sent {"connection_id":166409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:48:48] local.INFO: TCP Data received {"connection_id":166409,"ip":"117.225.149.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:48:48] local.INFO: Processing buffer {"connection_id":166409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:48:48] local.INFO: IMEI packet received {"connection_id":166409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":166409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:48:49] local.INFO: TCP Data received {"connection_id":166409,"ip":"117.225.149.51","data_length":795,"data_hex":"000000000000030f8e0a000001a048f2c1c0012d095b40072459f0001300352c..."} 
[2026-08-28 20:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048f2c1c0012d095b40072459f0001300352c..."} 
[2026-08-28 20:48:49] local.INFO: Processing buffer {"connection_id":166409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048f2c1c0012d095b40072459f0001300352c..."} 
[2026-08-28 20:48:49] local.INFO: Packet analysis {"connection_id":166409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048f2"} 
[2026-08-28 20:48:49] local.INFO: Extracted packet for processing {"connection_id":166409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048f2"} 
[2026-08-28 20:48:49] local.INFO: GPS Element Parsed {"raw_longitude":755587904,"raw_latitude":119822832,"longitude_deg":75.5587904,"latitude_deg":11.9822832,"altitude":19,"angle":53,"satellites":44,"speed":32,"hex_longitude":"2d095b40","hex_latitude":"072459f0","is_valid_coordinates":true} 
[2026-08-28 20: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-28 20:48:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710147072001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:48:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16168262651871232,"note":"Value kept but may cause issues"} 
[2026-08-28 20:48:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":672514118780366848,"note":"Value kept but may cause issues"} 
[2026-08-28 20:48:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:48:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787930264000,"timestamp_ms":1787930264000,"timestamp_seconds":1787930264,"priority":1,"record_length":96,"hex_timestamp":"000001a048f2c1c0"} 
[2026-08-28 20: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-28 20:48:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-08-28 20:48:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20: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-28 20: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-28 20:48:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:48:49] local.INFO: Teltonika packet parsed successfully {"connection_id":166409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:48:49] local.INFO: Passing IMEI to GPS processor {"connection_id":166409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:48:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":166409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:48:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.149.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:48:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:48:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:48:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710147072001,"66":12722,"236":206,"28":26880,"24":32,"16":16168262651871232,"45":672514118780366848},"client_ip":"117.225.149.51","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,28,24,16,45]} 
[2026-08-28 20:48:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:48:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:48:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710147072001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:48:49] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-08-28 20:48:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-08-28 20:48:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16168262651871232,"km_value":16168262651871.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:48:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":672514118780366848,"description":"Unknown IO ID 45"} 
[2026-08-28 20:48:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710147072001,"power":12722,"unknown_236":206,"unknown_28":26880,"ignition":32,"odometer":null,"unknown_45":672514118780366848}} 
[2026-08-28 20:48:49] local.INFO: DEBUG: GPS processor result {"connection_id":166409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710318,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:48:49] local.INFO: GPS data processed {"connection_id":166409,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:48:49] local.INFO: Acknowledgment sent {"connection_id":166409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:48:50] local.INFO: TCP Data received {"connection_id":166409,"ip":"117.225.149.51","data_length":795,"data_hex":"000000000000030f8e0a000001a048f2c990012d095f8007245e50001200222c..."} 
[2026-08-28 20:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048f2c990012d095f8007245e50001200222c..."} 
[2026-08-28 20:48:50] local.INFO: Processing buffer {"connection_id":166409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048f2c990012d095f8007245e50001200222c..."} 
[2026-08-28 20:48:50] local.INFO: Packet analysis {"connection_id":166409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048f2"} 
[2026-08-28 20:48:50] local.INFO: Extracted packet for processing {"connection_id":166409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048f2"} 
[2026-08-28 20:48:50] local.INFO: GPS Element Parsed {"raw_longitude":755588992,"raw_latitude":119823952,"longitude_deg":75.5588992,"latitude_deg":11.9823952,"altitude":18,"angle":34,"satellites":44,"speed":29,"hex_longitude":"2d095f80","hex_latitude":"07245e50","is_valid_coordinates":true} 
[2026-08-28 20:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:48:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710147584001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:48:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16168339961282560,"note":"Value kept but may cause issues"} 
[2026-08-28 20:48:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":674202968640843776,"note":"Value kept but may cause issues"} 
[2026-08-28 20:48:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:48:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787930266000,"timestamp_ms":1787930266000,"timestamp_seconds":1787930266,"priority":1,"record_length":96,"hex_timestamp":"000001a048f2c990"} 
[2026-08-28 20:48:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:48:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-28 20:48:50] 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-28 20:48:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:48:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:48:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:48:50] local.INFO: Teltonika packet parsed successfully {"connection_id":166409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:48:50] local.INFO: Passing IMEI to GPS processor {"connection_id":166409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:48:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":166409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:48:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.149.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:48:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:48:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:48:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710147584001,"66":13374,"236":206,"28":26880,"24":29,"16":16168339961282560,"45":674202968640843776},"client_ip":"117.225.149.51","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,28,24,16,45]} 
[2026-08-28 20:48:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:48:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:48:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710147584001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:48:50] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-08-28 20:48:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-08-28 20:48:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16168339961282560,"km_value":16168339961282.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:48:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":674202968640843776,"description":"Unknown IO ID 45"} 
[2026-08-28 20:48:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710147584001,"power":13374,"unknown_236":206,"unknown_28":26880,"ignition":29,"odometer":null,"unknown_45":674202968640843776}} 
[2026-08-28 20:48:50] local.INFO: DEBUG: GPS processor result {"connection_id":166409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710319,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:48:50] local.INFO: GPS data processed {"connection_id":166409,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:48:50] local.INFO: Acknowledgment sent {"connection_id":166409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:49:01] local.INFO: TCP Data received {"connection_id":164039,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164039,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:49:01] local.INFO: Processing buffer {"connection_id":164039,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:49:01] local.INFO: IMEI packet received {"connection_id":164039,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 20:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":164039,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:49:06] local.INFO: TCP Data received {"connection_id":164039,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164039,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:49:06] local.INFO: Processing buffer {"connection_id":164039,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:49:06] local.INFO: IMEI packet received {"connection_id":164039,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 20:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":164039,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:49:08] local.INFO: TCP Data received {"connection_id":164039,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048eff6e8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048eff6e8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:49:08] local.INFO: Processing buffer {"connection_id":164039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048eff6e8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:49:08] local.INFO: Packet analysis {"connection_id":164039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ef"} 
[2026-08-28 20:49:08] local.INFO: Extracted packet for processing {"connection_id":164039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ef"} 
[2026-08-28 20:49:08] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710023680001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:49:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:49:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:49:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:49:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787930081000,"timestamp_ms":1787930081000,"timestamp_seconds":1787930081,"priority":1,"record_length":96,"hex_timestamp":"000001a048eff6e8"} 
[2026-08-28 20:49:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:49:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 20:49:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:49:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:49:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:49:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:49:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:49:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164039,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:49:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164039,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:49:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:49:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:49:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:49:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710023680001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:49:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:49:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:49:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710023680001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:49:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:49:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:49:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:49:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:49:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710023680001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:49:08] local.INFO: DEBUG: GPS processor result {"connection_id":164039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710320,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:49:08] local.INFO: GPS data processed {"connection_id":164039,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:49:08] local.INFO: Acknowledgment sent {"connection_id":164039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:49:12] local.INFO: TCP Data received {"connection_id":164039,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048eff6e8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048eff6e8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:49:12] local.INFO: Processing buffer {"connection_id":164039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048eff6e8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:49:12] local.INFO: Packet analysis {"connection_id":164039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ef"} 
[2026-08-28 20:49:12] local.INFO: Extracted packet for processing {"connection_id":164039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ef"} 
[2026-08-28 20:49:12] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710023680001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:49:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:49:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787930081000,"timestamp_ms":1787930081000,"timestamp_seconds":1787930081,"priority":1,"record_length":96,"hex_timestamp":"000001a048eff6e8"} 
[2026-08-28 20:49:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:49:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 20:49:12] 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-28 20:49:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:49:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":164039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":164039,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":164039,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:49:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710023680001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710023680001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:49:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:49:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:49:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710023680001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":164039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710321,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:49:12] local.INFO: GPS data processed {"connection_id":164039,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:49:12] local.INFO: Acknowledgment sent {"connection_id":164039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:49:22] local.INFO: TCP Data received {"connection_id":166409,"ip":"117.225.149.51","data_length":795,"data_hex":"000000000000030f8e0a000001a048f35e00012d09a04007246810001500612c..."} 
[2026-08-28 20:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048f35e00012d09a04007246810001500612c..."} 
[2026-08-28 20:49:22] local.INFO: Processing buffer {"connection_id":166409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048f35e00012d09a04007246810001500612c..."} 
[2026-08-28 20:49:22] local.INFO: Packet analysis {"connection_id":166409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048f3"} 
[2026-08-28 20:49:22] local.INFO: Extracted packet for processing {"connection_id":166409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048f3"} 
[2026-08-28 20:49:22] local.INFO: GPS Element Parsed {"raw_longitude":755605568,"raw_latitude":119826448,"longitude_deg":75.5605568,"latitude_deg":11.9826448,"altitude":21,"angle":97,"satellites":44,"speed":5,"hex_longitude":"2d09a040","hex_latitude":"07246810","is_valid_coordinates":true} 
[2026-08-28 20:49: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-28 20:49:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710153984001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:49:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16169259084283904,"note":"Value kept but may cause issues"} 
[2026-08-28 20:49:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":687080448825608192,"note":"Value kept but may cause issues"} 
[2026-08-28 20:49:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:49:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787930304000,"timestamp_ms":1787930304000,"timestamp_seconds":1787930304,"priority":1,"record_length":96,"hex_timestamp":"000001a048f35e00"} 
[2026-08-28 20:49:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:49:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20:49:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-28 20:49:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:49: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-28 20:49:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:49:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:49:22] local.INFO: Teltonika packet parsed successfully {"connection_id":166409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:49:22] local.INFO: Passing IMEI to GPS processor {"connection_id":166409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:49:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":166409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:49:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.149.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:49:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:49:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:49:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710153984001,"66":13580,"236":206,"28":26880,"24":5,"16":16169259084283904,"45":687080448825608192},"client_ip":"117.225.149.51","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,28,24,16,45]} 
[2026-08-28 20:49:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:49:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:49:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710153984001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:49:22] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-08-28 20:49:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-08-28 20:49:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16169259084283904,"km_value":16169259084283.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:49:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":687080448825608192,"description":"Unknown IO ID 45"} 
[2026-08-28 20:49:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710153984001,"power":13580,"unknown_236":206,"unknown_28":26880,"ignition":5,"odometer":null,"unknown_45":687080448825608192}} 
[2026-08-28 20:49:22] local.INFO: DEBUG: GPS processor result {"connection_id":166409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710322,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:49:22] local.INFO: GPS data processed {"connection_id":166409,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:49:22] local.INFO: Acknowledgment sent {"connection_id":166409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:49:30] local.INFO: TCP Data received {"connection_id":163762,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:49:30] local.INFO: Processing buffer {"connection_id":163762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:49:30] local.INFO: IMEI packet received {"connection_id":163762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 20:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":163762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:49:35] local.INFO: TCP Data received {"connection_id":163762,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:49:35] local.INFO: Processing buffer {"connection_id":163762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:49:35] local.INFO: IMEI packet received {"connection_id":163762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 20:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":163762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:49:36] local.INFO: TCP Data received {"connection_id":163762,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048f20640012d34c14006aa4840000e00e62b..."} 
[2026-08-28 20:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048f20640012d34c14006aa4840000e00e62b..."} 
[2026-08-28 20:49:36] local.INFO: Processing buffer {"connection_id":163762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048f20640012d34c14006aa4840000e00e62b..."} 
[2026-08-28 20:49:36] local.INFO: Packet analysis {"connection_id":163762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048f2"} 
[2026-08-28 20:49:36] local.INFO: Extracted packet for processing {"connection_id":163762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048f2"} 
[2026-08-28 20:49:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710058240001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787930216000,"timestamp_ms":1787930216000,"timestamp_seconds":1787930216,"priority":1,"record_length":96,"hex_timestamp":"000001a048f20640"} 
[2026-08-28 20:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 20:49:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:49:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:49:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710058240001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710058240001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:49:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:49:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710058240001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:49:36] 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":710323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:49:36] local.INFO: GPS data processed {"connection_id":163762,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:49:36] local.INFO: Acknowledgment sent {"connection_id":163762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:49:43] local.INFO: TCP Data received {"connection_id":163763,"ip":"117.225.149.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:49:43] local.INFO: Processing buffer {"connection_id":163763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:49:43] local.INFO: IMEI packet received {"connection_id":163763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 20:49:43] local.INFO: IMEI acknowledgment sent {"connection_id":163763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:49:44] local.INFO: TCP Data received {"connection_id":163763,"ip":"117.225.149.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:49:44] local.INFO: Processing buffer {"connection_id":163763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:49:44] local.INFO: IMEI packet received {"connection_id":163763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:49:44] local.INFO: IMEI acknowledgment sent {"connection_id":163763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:49:45] local.INFO: TCP Data received {"connection_id":163763,"ip":"117.225.149.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:49:45] local.INFO: Processing buffer {"connection_id":163763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:49:45] local.INFO: IMEI packet received {"connection_id":163763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:49:45] local.INFO: IMEI acknowledgment sent {"connection_id":163763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:49:47] local.INFO: TCP Data received {"connection_id":163763,"ip":"117.225.149.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:49:47] local.INFO: Processing buffer {"connection_id":163763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:49:47] local.INFO: IMEI packet received {"connection_id":163763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:49:47] local.INFO: IMEI acknowledgment sent {"connection_id":163763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:49:48] local.INFO: TCP Data received {"connection_id":163763,"ip":"117.225.149.51","data_length":795,"data_hex":"000000000000030f8e0a000001a048f37570012d09a14007246778001500872b..."} 
[2026-08-28 20:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048f37570012d09a14007246778001500872b..."} 
[2026-08-28 20:49:48] local.INFO: Processing buffer {"connection_id":163763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048f37570012d09a14007246778001500872b..."} 
[2026-08-28 20:49:48] local.INFO: Packet analysis {"connection_id":163763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048f3"} 
[2026-08-28 20:49:48] local.INFO: Extracted packet for processing {"connection_id":163763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048f3"} 
[2026-08-28 20:49:48] local.INFO: GPS Element Parsed {"raw_longitude":755605824,"raw_latitude":119826296,"longitude_deg":75.5605824,"latitude_deg":11.9826296,"altitude":21,"angle":135,"satellites":43,"speed":8,"hex_longitude":"2d09a140","hex_latitude":"07246778","is_valid_coordinates":true} 
[2026-08-28 20: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-28 20:49:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710157824001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:49:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16169280559120384,"note":"Value kept but may cause issues"} 
[2026-08-28 20:49:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":693624742034804736,"note":"Value kept but may cause issues"} 
[2026-08-28 20:49:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:49:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787930310000,"timestamp_ms":1787930310000,"timestamp_seconds":1787930310,"priority":1,"record_length":96,"hex_timestamp":"000001a048f37570"} 
[2026-08-28 20: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-28 20:49:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-28 20:49:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44499434867800433,"note":"Value kept but may cause issues"} 
[2026-08-28 20:49:48] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-28 20:49:48] local.WARNING: Large IO value detected {"io_id":72,"raw_value":4075855873,"note":"Value kept but may cause issues"} 
[2026-08-28 20:49:48] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18637031341911020,"note":"Value kept but may cause issues"} 
[2026-08-28 20:49:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1810628814,"corrected_to":0} 
[2026-08-28 20:49:48] local.WARNING: Large IO value detected {"io_id":232,"raw_value":3489737993,"note":"Value kept but may cause issues"} 
[2026-08-28 20:49:48] local.WARNING: Large IO value detected {"io_id":108,"raw_value":2147951719,"note":"Value kept but may cause issues"} 
[2026-08-28 20:49:48] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-08-28 20:49:48] local.WARNING: Large IO value detected {"io_id":9,"raw_value":7512012031406899218,"note":"Value kept but may cause issues"} 
[2026-08-28 20:49:48] local.WARNING: Large IO value detected {"io_id":53,"raw_value":-288004512747041252,"note":"Value kept but may cause issues"} 
[2026-08-28 20:49:48] local.WARNING: Large IO value detected {"io_id":105,"raw_value":6755489635500273,"note":"Value kept but may cause issues"} 
[2026-08-28 20:49:48] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,236,28,24,241,158,16,113,160,35,45,93,22,42,10,66,27,64,92,43,19,192,1,240,214,72,36,4,205,232,108,44,239,54,2,57,7,18,21,9,53,105],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1810628814,"validated":0}]} 
[2026-08-28 20:49:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1513316316403269632,"timestamp_seconds":1513316316403269.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 20: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-28 20:49:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:49:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:49:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:49:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:49:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.149.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:49:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:49:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:49:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710157824001,"66":13602,"236":206,"28":26880,"24":8,"16":16169280559120384,"45":693624742034804736},"client_ip":"117.225.149.51","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,28,24,16,45]} 
[2026-08-28 20:49:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:49:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:49:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710157824001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:49:48] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-08-28 20:49:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-08-28 20:49:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16169280559120384,"km_value":16169280559120.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:49:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":693624742034804736,"description":"Unknown IO ID 45"} 
[2026-08-28 20:49:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710157824001,"power":13602,"unknown_236":206,"unknown_28":26880,"ignition":8,"odometer":null,"unknown_45":693624742034804736}} 
[2026-08-28 20:49:48] 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":710324,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:49:48] local.INFO: GPS data processed {"connection_id":163763,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:49:48] local.INFO: Acknowledgment sent {"connection_id":163763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:49:56] local.INFO: TCP Data received {"connection_id":165056,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165056,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:49:56] local.INFO: Processing buffer {"connection_id":165056,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:49:56] local.INFO: IMEI packet received {"connection_id":165056,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 20:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":165056,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:50:01] local.INFO: TCP Data received {"connection_id":165056,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165056,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:50:01] local.INFO: Processing buffer {"connection_id":165056,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:50:01] local.INFO: IMEI packet received {"connection_id":165056,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 20:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":165056,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:50:02] local.INFO: TCP Data received {"connection_id":165056,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048eff6e8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048eff6e8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:50:02] local.INFO: Processing buffer {"connection_id":165056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048eff6e8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:50:02] local.INFO: Packet analysis {"connection_id":165056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ef"} 
[2026-08-28 20:50:02] local.INFO: Extracted packet for processing {"connection_id":165056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ef"} 
[2026-08-28 20:50:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710023680001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:50:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:50:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787930081000,"timestamp_ms":1787930081000,"timestamp_seconds":1787930081,"priority":1,"record_length":96,"hex_timestamp":"000001a048eff6e8"} 
[2026-08-28 20:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:50:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 20:50:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:50:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":165056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":165056,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":165056,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:50:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710023680001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710023680001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:50:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:50:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:50:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710023680001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:50:02] 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":710325,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:50:02] local.INFO: GPS data processed {"connection_id":165056,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:50:02] local.INFO: Acknowledgment sent {"connection_id":165056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:50:08] local.INFO: TCP Data received {"connection_id":163762,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048f20640012d34c14006aa4840000e00e62b..."} 
[2026-08-28 20:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048f20640012d34c14006aa4840000e00e62b..."} 
[2026-08-28 20:50:08] local.INFO: Processing buffer {"connection_id":163762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048f20640012d34c14006aa4840000e00e62b..."} 
[2026-08-28 20:50:08] local.INFO: Packet analysis {"connection_id":163762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048f2"} 
[2026-08-28 20:50:08] local.INFO: Extracted packet for processing {"connection_id":163762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048f2"} 
[2026-08-28 20:50:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710058240001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:50:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787930216000,"timestamp_ms":1787930216000,"timestamp_seconds":1787930216,"priority":1,"record_length":96,"hex_timestamp":"000001a048f20640"} 
[2026-08-28 20:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:50:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 20:50:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20: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-28 20:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:50:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710058240001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710058240001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:50:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:50:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:50: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-28 20:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710058240001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:50:08] 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":710326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:50:08] local.INFO: GPS data processed {"connection_id":163762,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:50:08] local.INFO: Acknowledgment sent {"connection_id":163762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:50:20] local.INFO: TCP Data received {"connection_id":163763,"ip":"117.225.149.51","data_length":795,"data_hex":"000000000000030f8e0a000001a048f47f10012d0981800723bb70001a00ef2b..."} 
[2026-08-28 20:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048f47f10012d0981800723bb70001a00ef2b..."} 
[2026-08-28 20:50:20] local.INFO: Processing buffer {"connection_id":163763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048f47f10012d0981800723bb70001a00ef2b..."} 
[2026-08-28 20:50:20] local.INFO: Packet analysis {"connection_id":163763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048f4"} 
[2026-08-28 20:50:20] local.INFO: Extracted packet for processing {"connection_id":163763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048f4"} 
[2026-08-28 20:50:20] local.INFO: GPS Element Parsed {"raw_longitude":755597696,"raw_latitude":119782256,"longitude_deg":75.5597696,"latitude_deg":11.9782256,"altitude":26,"angle":239,"satellites":43,"speed":26,"hex_longitude":"2d098180","hex_latitude":"0723bb70","is_valid_coordinates":true} 
[2026-08-28 20: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-28 20:50:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710175232001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:50:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16171969208647680,"note":"Value kept but may cause issues"} 
[2026-08-28 20:50:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":690317411047409664,"note":"Value kept but may cause issues"} 
[2026-08-28 20:50:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:50:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787930378000,"timestamp_ms":1787930378000,"timestamp_seconds":1787930378,"priority":1,"record_length":96,"hex_timestamp":"000001a048f47f10"} 
[2026-08-28 20: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-28 20:50:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-28 20:50:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20: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-28 20: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-28 20:50:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:50:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:50:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:50:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:50:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.149.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:50:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:50:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:50:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710175232001,"66":13504,"106":206,"28":26880,"24":26,"16":16171969208647680,"45":690317411047409664},"client_ip":"117.225.149.51","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:50:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:50:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:50:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710175232001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:50:20] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:50:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-08-28 20:50:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16171969208647680,"km_value":16171969208647.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:50:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":690317411047409664,"description":"Unknown IO ID 45"} 
[2026-08-28 20:50:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710175232001,"power":13504,"unknown_106":206,"unknown_28":26880,"ignition":26,"odometer":null,"unknown_45":690317411047409664}} 
[2026-08-28 20:50:20] 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":710327,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:50:20] local.INFO: GPS data processed {"connection_id":163763,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:50:20] local.INFO: Acknowledgment sent {"connection_id":163763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:50:29] local.INFO: TCP Data received {"connection_id":164040,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:50:29] local.INFO: Processing buffer {"connection_id":164040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:50:29] local.INFO: IMEI packet received {"connection_id":164040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 20:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":164040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:50:35] local.INFO: TCP Data received {"connection_id":164040,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:50:35] local.INFO: Processing buffer {"connection_id":164040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:50:35] local.INFO: IMEI packet received {"connection_id":164040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 20:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":164040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:50:36] local.INFO: TCP Data received {"connection_id":164040,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048f20640012d34c14006aa4840000e00e62b..."} 
[2026-08-28 20:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048f20640012d34c14006aa4840000e00e62b..."} 
[2026-08-28 20:50:36] local.INFO: Processing buffer {"connection_id":164040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048f20640012d34c14006aa4840000e00e62b..."} 
[2026-08-28 20:50:36] local.INFO: Packet analysis {"connection_id":164040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048f2"} 
[2026-08-28 20:50:36] local.INFO: Extracted packet for processing {"connection_id":164040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048f2"} 
[2026-08-28 20:50:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710058240001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:50:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787930216000,"timestamp_ms":1787930216000,"timestamp_seconds":1787930216,"priority":1,"record_length":96,"hex_timestamp":"000001a048f20640"} 
[2026-08-28 20:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 20:50:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:50:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":164040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":164040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":164040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:50:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710058240001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710058240001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:50:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:50:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710058240001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":164040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:50:36] local.INFO: GPS data processed {"connection_id":164040,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:50:36] local.INFO: Acknowledgment sent {"connection_id":164040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:50:38] local.INFO: TCP Data received {"connection_id":165056,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048f48eb0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048f48eb0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:50:38] local.INFO: Processing buffer {"connection_id":165056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048f48eb0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:50:38] local.INFO: Packet analysis {"connection_id":165056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048f4"} 
[2026-08-28 20:50:38] local.INFO: Extracted packet for processing {"connection_id":165056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048f4"} 
[2026-08-28 20:50:38] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710100736001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787930382000,"timestamp_ms":1787930382000,"timestamp_seconds":1787930382,"priority":1,"record_length":96,"hex_timestamp":"000001a048f48eb0"} 
[2026-08-28 20:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 20:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:50:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":165056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":165056,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":165056,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710100736001,"66":25299,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710100736001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:50:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:50:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710100736001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:50:38] 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":710329,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:50:38] local.INFO: GPS data processed {"connection_id":165056,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:50:38] local.INFO: Acknowledgment sent {"connection_id":165056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:50:43] local.INFO: TCP Data received {"connection_id":166410,"ip":"117.225.149.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166410,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:50:43] local.INFO: Processing buffer {"connection_id":166410,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:50:43] local.INFO: IMEI packet received {"connection_id":166410,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 20:50:43] local.INFO: IMEI acknowledgment sent {"connection_id":166410,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:50:43] local.INFO: TCP Data received {"connection_id":166410,"ip":"117.225.149.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166410,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:50:43] local.INFO: Processing buffer {"connection_id":166410,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:50:43] local.INFO: IMEI packet received {"connection_id":166410,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:50:43] local.INFO: IMEI acknowledgment sent {"connection_id":166410,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:50:46] local.INFO: TCP Data received {"connection_id":166410,"ip":"117.225.149.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166410,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:50:46] local.INFO: Processing buffer {"connection_id":166410,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:50:46] local.INFO: IMEI packet received {"connection_id":166410,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":166410,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:50:47] local.INFO: TCP Data received {"connection_id":166410,"ip":"117.225.149.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166410,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:50:47] local.INFO: Processing buffer {"connection_id":166410,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:50:47] local.INFO: IMEI packet received {"connection_id":166410,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":166410,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:50:48] local.INFO: TCP Data received {"connection_id":166410,"ip":"117.225.149.51","data_length":795,"data_hex":"000000000000030f8e0a000001a048f4d8e8012d096a8007238be8001b010f29..."} 
[2026-08-28 20:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048f4d8e8012d096a8007238be8001b010f29..."} 
[2026-08-28 20:50:48] local.INFO: Processing buffer {"connection_id":166410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048f4d8e8012d096a8007238be8001b010f29..."} 
[2026-08-28 20:50:48] local.INFO: Packet analysis {"connection_id":166410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048f4"} 
[2026-08-28 20:50:48] local.INFO: Extracted packet for processing {"connection_id":166410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048f4"} 
[2026-08-28 20:50:48] local.INFO: GPS Element Parsed {"raw_longitude":755591808,"raw_latitude":119770088,"longitude_deg":75.5591808,"latitude_deg":11.9770088,"altitude":27,"angle":271,"satellites":41,"speed":20,"hex_longitude":"2d096a80","hex_latitude":"07238be8","is_valid_coordinates":true} 
[2026-08-28 20:50:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:50:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710182400001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:50:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16172725122891776,"note":"Value kept but may cause issues"} 
[2026-08-28 20:50:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":678917674487257088,"note":"Value kept but may cause issues"} 
[2026-08-28 20:50:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:50:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787930401000,"timestamp_ms":1787930401000,"timestamp_seconds":1787930401,"priority":1,"record_length":96,"hex_timestamp":"000001a048f4d8e8"} 
[2026-08-28 20:50:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:50:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20:50:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-28 20:50:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:50:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:50:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:50:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:50:48] local.INFO: Teltonika packet parsed successfully {"connection_id":166410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:50:48] local.INFO: Passing IMEI to GPS processor {"connection_id":166410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:50:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":166410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:50:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.149.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:50:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:50:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:50:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710182400001,"66":13580,"106":206,"28":26880,"24":20,"16":16172725122891776,"45":678917674487257088},"client_ip":"117.225.149.51","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:50:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:50:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:50:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710182400001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:50:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:50:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-08-28 20:50:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16172725122891776,"km_value":16172725122891.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:50:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":678917674487257088,"description":"Unknown IO ID 45"} 
[2026-08-28 20:50:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710182400001,"power":13580,"unknown_106":206,"unknown_28":26880,"ignition":20,"odometer":null,"unknown_45":678917674487257088}} 
[2026-08-28 20:50:48] local.INFO: DEBUG: GPS processor result {"connection_id":166410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710330,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:50:48] local.INFO: GPS data processed {"connection_id":166410,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:50:48] local.INFO: Acknowledgment sent {"connection_id":166410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:51:01] local.INFO: TCP Data received {"connection_id":165057,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165057,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:51:01] local.INFO: Processing buffer {"connection_id":165057,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:51:01] local.INFO: IMEI packet received {"connection_id":165057,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 20:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":165057,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:51:06] local.INFO: TCP Data received {"connection_id":165057,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165057,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:51:06] local.INFO: Processing buffer {"connection_id":165057,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:51:06] local.INFO: IMEI packet received {"connection_id":165057,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 20:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":165057,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:51:08] local.INFO: TCP Data received {"connection_id":165057,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048f48eb0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048f48eb0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:51:08] local.INFO: Processing buffer {"connection_id":165057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048f48eb0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:51:08] local.INFO: Packet analysis {"connection_id":165057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048f4"} 
[2026-08-28 20:51:08] local.INFO: Extracted packet for processing {"connection_id":165057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048f4"} 
[2026-08-28 20:51:08] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20: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-28 20:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710100736001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:51:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:51:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787930382000,"timestamp_ms":1787930382000,"timestamp_seconds":1787930382,"priority":1,"record_length":96,"hex_timestamp":"000001a048f48eb0"} 
[2026-08-28 20: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-28 20:51:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20: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":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 20:51:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20: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-28 20: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-28 20:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":165057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":165057,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":165057,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:51:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710100736001,"66":25299,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710100736001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:51:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:51:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:51:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710100736001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:51:08] local.INFO: TCP Data received {"connection_id":164040,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048f20640012d34c14006aa4840000e00e62b..."} 
[2026-08-28 20:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048f20640012d34c14006aa4840000e00e62b..."} 
[2026-08-28 20:51:08] 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":710331,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:51:08] local.INFO: GPS data processed {"connection_id":165057,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:51:08] local.INFO: Processing buffer {"connection_id":164040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048f20640012d34c14006aa4840000e00e62b..."} 
[2026-08-28 20:51:08] local.INFO: Acknowledgment sent {"connection_id":165057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:51:08] local.INFO: Packet analysis {"connection_id":164040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048f2"} 
[2026-08-28 20:51:08] local.INFO: Extracted packet for processing {"connection_id":164040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048f2"} 
[2026-08-28 20:51:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20: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-28 20:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710058240001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:51:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:51:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787930216000,"timestamp_ms":1787930216000,"timestamp_seconds":1787930216,"priority":1,"record_length":96,"hex_timestamp":"000001a048f20640"} 
[2026-08-28 20: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-28 20:51:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 20:51:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20: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-28 20: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-28 20:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:51:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710058240001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710058240001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:51:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:51:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:51: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-28 20:51:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710058240001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":164040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:51:08] local.INFO: GPS data processed {"connection_id":164040,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:51:08] local.INFO: Acknowledgment sent {"connection_id":164040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:51:12] local.INFO: TCP Data received {"connection_id":165057,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048f48eb0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048f48eb0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:51:12] local.INFO: Processing buffer {"connection_id":165057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048f48eb0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:51:12] local.INFO: Packet analysis {"connection_id":165057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048f4"} 
[2026-08-28 20:51:12] local.INFO: Extracted packet for processing {"connection_id":165057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048f4"} 
[2026-08-28 20:51:12] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710100736001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:51:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:51:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787930382000,"timestamp_ms":1787930382000,"timestamp_seconds":1787930382,"priority":1,"record_length":96,"hex_timestamp":"000001a048f48eb0"} 
[2026-08-28 20:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:51:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 20:51:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:51:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":165057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":165057,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":165057,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:51:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710100736001,"66":25299,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710100736001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:51:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:51:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:51:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710100736001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:51:12] 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":710333,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:51:12] local.INFO: GPS data processed {"connection_id":165057,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:51:12] local.INFO: Acknowledgment sent {"connection_id":165057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:51:19] local.INFO: TCP Data received {"connection_id":166410,"ip":"117.225.149.51","data_length":795,"data_hex":"000000000000030f8e0a000001a048f561a0012d091c4007237848001400df2a..."} 
[2026-08-28 20:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048f561a0012d091c4007237848001400df2a..."} 
[2026-08-28 20:51:19] local.INFO: Processing buffer {"connection_id":166410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048f561a0012d091c4007237848001400df2a..."} 
[2026-08-28 20:51:19] local.INFO: Packet analysis {"connection_id":166410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048f5"} 
[2026-08-28 20:51:19] local.INFO: Extracted packet for processing {"connection_id":166410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048f5"} 
[2026-08-28 20:51:19] local.INFO: GPS Element Parsed {"raw_longitude":755571776,"raw_latitude":119765064,"longitude_deg":75.5571776,"latitude_deg":11.9765064,"altitude":20,"angle":223,"satellites":42,"speed":31,"hex_longitude":"2d091c40","hex_latitude":"07237848","is_valid_coordinates":true} 
[2026-08-28 20:51:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:51:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710191360001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:51:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16173884764061696,"note":"Value kept but may cause issues"} 
[2026-08-28 20:51:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":656962626302681088,"note":"Value kept but may cause issues"} 
[2026-08-28 20:51:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:51:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787930436000,"timestamp_ms":1787930436000,"timestamp_seconds":1787930436,"priority":1,"record_length":96,"hex_timestamp":"000001a048f561a0"} 
[2026-08-28 20:51:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:51:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20:51:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-08-28 20:51:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:51:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:51:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:51:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:51:19] local.INFO: Teltonika packet parsed successfully {"connection_id":166410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:51:19] local.INFO: Passing IMEI to GPS processor {"connection_id":166410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:51:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":166410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:51:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.149.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:51:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:51:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:51:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710191360001,"66":12580,"106":206,"28":26880,"24":31,"16":16173884764061696,"45":656962626302681088},"client_ip":"117.225.149.51","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:51:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:51:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:51:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710191360001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:51:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:51:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-08-28 20:51:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16173884764061696,"km_value":16173884764061.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:51:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":656962626302681088,"description":"Unknown IO ID 45"} 
[2026-08-28 20:51:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710191360001,"power":12580,"unknown_106":206,"unknown_28":26880,"ignition":31,"odometer":null,"unknown_45":656962626302681088}} 
[2026-08-28 20:51:20] local.INFO: DEBUG: GPS processor result {"connection_id":166410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710334,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:51:20] local.INFO: GPS data processed {"connection_id":166410,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:51:20] local.INFO: Acknowledgment sent {"connection_id":166410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:51:29] local.INFO: TCP Data received {"connection_id":165058,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:51:29] local.INFO: Processing buffer {"connection_id":165058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:51:29] local.INFO: IMEI packet received {"connection_id":165058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 20:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":165058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:51:35] local.INFO: TCP Data received {"connection_id":165058,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:51:35] local.INFO: Processing buffer {"connection_id":165058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:51:35] local.INFO: IMEI packet received {"connection_id":165058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 20:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":165058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:51:36] local.INFO: TCP Data received {"connection_id":165058,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048f20640012d34c14006aa4840000e00e62b..."} 
[2026-08-28 20:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048f20640012d34c14006aa4840000e00e62b..."} 
[2026-08-28 20:51:36] local.INFO: Processing buffer {"connection_id":165058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048f20640012d34c14006aa4840000e00e62b..."} 
[2026-08-28 20:51:36] local.INFO: Packet analysis {"connection_id":165058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048f2"} 
[2026-08-28 20:51:36] local.INFO: Extracted packet for processing {"connection_id":165058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048f2"} 
[2026-08-28 20:51:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710058240001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787930216000,"timestamp_ms":1787930216000,"timestamp_seconds":1787930216,"priority":1,"record_length":96,"hex_timestamp":"000001a048f20640"} 
[2026-08-28 20:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 20:51:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:51:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":165058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":165058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":165058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710058240001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710058240001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:51:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:51:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710058240001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":165058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:51:36] local.INFO: GPS data processed {"connection_id":165058,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:51:36] local.INFO: Acknowledgment sent {"connection_id":165058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:51:48] local.INFO: TCP Data received {"connection_id":165059,"ip":"117.225.149.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165059,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:51:48] local.INFO: Processing buffer {"connection_id":165059,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:51:48] local.INFO: IMEI packet received {"connection_id":165059,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 20:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":165059,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:51:51] local.INFO: TCP Data received {"connection_id":165059,"ip":"117.225.149.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165059,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:51:51] local.INFO: Processing buffer {"connection_id":165059,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:51:51] local.INFO: IMEI packet received {"connection_id":165059,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:51:51] local.INFO: IMEI acknowledgment sent {"connection_id":165059,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:51:52] local.INFO: TCP Data received {"connection_id":165059,"ip":"117.225.149.51","data_length":795,"data_hex":"000000000000030f8e0a000001a048f56588012d09198007237698001400ef2a..."} 
[2026-08-28 20:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048f56588012d09198007237698001400ef2a..."} 
[2026-08-28 20:51:52] local.INFO: Processing buffer {"connection_id":165059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048f56588012d09198007237698001400ef2a..."} 
[2026-08-28 20:51:52] local.INFO: Packet analysis {"connection_id":165059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048f5"} 
[2026-08-28 20:51:52] local.INFO: Extracted packet for processing {"connection_id":165059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048f5"} 
[2026-08-28 20:51:52] local.INFO: GPS Element Parsed {"raw_longitude":755571072,"raw_latitude":119764632,"longitude_deg":75.5571072,"latitude_deg":11.9764632,"altitude":20,"angle":239,"satellites":42,"speed":31,"hex_longitude":"2d091980","hex_latitude":"07237698","is_valid_coordinates":true} 
[2026-08-28 20: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-28 20:51:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710191616001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:51:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16173923418767360,"note":"Value kept but may cause issues"} 
[2026-08-28 20:51:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":656470045093283840,"note":"Value kept but may cause issues"} 
[2026-08-28 20:51:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:51:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787930437000,"timestamp_ms":1787930437000,"timestamp_seconds":1787930437,"priority":1,"record_length":96,"hex_timestamp":"000001a048f56588"} 
[2026-08-28 20: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-28 20:51:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20: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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-08-28 20:51:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20: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-28 20: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-28 20:51:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:51:52] local.INFO: Teltonika packet parsed successfully {"connection_id":165059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:51:52] local.INFO: Passing IMEI to GPS processor {"connection_id":165059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:51:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":165059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:51:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.149.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:51:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:51:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:51:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710191616001,"66":13580,"106":206,"28":26880,"24":31,"16":16173923418767360,"45":656470045093283840},"client_ip":"117.225.149.51","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:51:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:51:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:51:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710191616001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:51:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:51:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-08-28 20:51:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16173923418767360,"km_value":16173923418767.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:51:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":656470045093283840,"description":"Unknown IO ID 45"} 
[2026-08-28 20:51:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710191616001,"power":13580,"unknown_106":206,"unknown_28":26880,"ignition":31,"odometer":null,"unknown_45":656470045093283840}} 
[2026-08-28 20:51:52] 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":710336,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:51:52] local.INFO: GPS data processed {"connection_id":165059,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:51:52] local.INFO: Acknowledgment sent {"connection_id":165059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:51:56] local.INFO: TCP Data received {"connection_id":164041,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164041,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:51:56] local.INFO: Processing buffer {"connection_id":164041,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:51:56] local.INFO: IMEI packet received {"connection_id":164041,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 20:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":164041,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:52:01] local.INFO: TCP Data received {"connection_id":164041,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164041,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:52:01] local.INFO: Processing buffer {"connection_id":164041,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:52:01] local.INFO: IMEI packet received {"connection_id":164041,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 20:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":164041,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:52:02] local.INFO: TCP Data received {"connection_id":164041,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048f48eb0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048f48eb0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:52:02] local.INFO: Processing buffer {"connection_id":164041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048f48eb0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:52:02] local.INFO: Packet analysis {"connection_id":164041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048f4"} 
[2026-08-28 20:52:02] local.INFO: Extracted packet for processing {"connection_id":164041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048f4"} 
[2026-08-28 20:52:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710100736001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:52:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:52:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787930382000,"timestamp_ms":1787930382000,"timestamp_seconds":1787930382,"priority":1,"record_length":96,"hex_timestamp":"000001a048f48eb0"} 
[2026-08-28 20:52:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:52:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 20:52:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:52:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:52:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":164041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":164041,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":164041,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:52:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710100736001,"66":25299,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710100736001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:52:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:52:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:52:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710100736001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":164041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710337,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:52:03] local.INFO: GPS data processed {"connection_id":164041,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:52:03] local.INFO: Acknowledgment sent {"connection_id":164041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:52:08] local.INFO: TCP Data received {"connection_id":165058,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048f20640012d34c14006aa4840000e00e62b..."} 
[2026-08-28 20:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048f20640012d34c14006aa4840000e00e62b..."} 
[2026-08-28 20:52:08] local.INFO: Processing buffer {"connection_id":165058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048f20640012d34c14006aa4840000e00e62b..."} 
[2026-08-28 20:52:08] local.INFO: Packet analysis {"connection_id":165058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048f2"} 
[2026-08-28 20:52:08] local.INFO: Extracted packet for processing {"connection_id":165058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048f2"} 
[2026-08-28 20:52:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710058240001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:52:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787930216000,"timestamp_ms":1787930216000,"timestamp_seconds":1787930216,"priority":1,"record_length":96,"hex_timestamp":"000001a048f20640"} 
[2026-08-28 20:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:52:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 20:52:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:52:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":165058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":165058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":165058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710058240001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710058240001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:52:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:52:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:52: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-28 20:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710058240001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":165058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:52:08] local.INFO: GPS data processed {"connection_id":165058,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:52:08] local.INFO: Acknowledgment sent {"connection_id":165058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:52:35] local.INFO: TCP Data received {"connection_id":164041,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048f48eb0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048f48eb0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:52:35] local.INFO: Processing buffer {"connection_id":164041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048f48eb0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:52:35] local.INFO: Packet analysis {"connection_id":164041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048f4"} 
[2026-08-28 20:52:35] local.INFO: Extracted packet for processing {"connection_id":164041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048f4"} 
[2026-08-28 20:52:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710100736001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:52:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:52:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787930382000,"timestamp_ms":1787930382000,"timestamp_seconds":1787930382,"priority":1,"record_length":96,"hex_timestamp":"000001a048f48eb0"} 
[2026-08-28 20:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:52:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 20:52:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:52:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":164041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":164041,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":164041,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:52:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710100736001,"66":25299,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710100736001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:52:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:52:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:52:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710100736001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":164041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710339,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:52:35] local.INFO: GPS data processed {"connection_id":164041,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:52:35] local.INFO: Acknowledgment sent {"connection_id":164041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:52:38] local.INFO: TCP Data received {"connection_id":166411,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:52:38] local.INFO: Processing buffer {"connection_id":166411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:52:38] local.INFO: IMEI packet received {"connection_id":166411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 20:52:38] local.INFO: IMEI acknowledgment sent {"connection_id":166411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:52:39] local.INFO: TCP Data received {"connection_id":166411,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:52:39] local.INFO: Processing buffer {"connection_id":166411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:52:39] local.INFO: IMEI packet received {"connection_id":166411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 20:52:39] local.INFO: IMEI acknowledgment sent {"connection_id":166411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:52:39] local.INFO: TCP Data received {"connection_id":166411,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:52:39] local.INFO: Processing buffer {"connection_id":166411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:52:39] local.INFO: IMEI packet received {"connection_id":166411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 20:52:39] local.INFO: IMEI acknowledgment sent {"connection_id":166411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:52:40] local.INFO: TCP Data received {"connection_id":165060,"ip":"117.225.149.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165060,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:52:40] local.INFO: Processing buffer {"connection_id":165060,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:52:40] local.INFO: IMEI packet received {"connection_id":165060,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 20:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":165060,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:52:41] local.INFO: TCP Data received {"connection_id":166411,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048f69e08012d34c14006aa4840000900e62b..."} 
[2026-08-28 20:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048f69e08012d34c14006aa4840000900e62b..."} 
[2026-08-28 20:52:41] local.INFO: Processing buffer {"connection_id":166411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048f69e08012d34c14006aa4840000900e62b..."} 
[2026-08-28 20:52:41] local.INFO: Packet analysis {"connection_id":166411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048f6"} 
[2026-08-28 20:52:41] local.INFO: Extracted packet for processing {"connection_id":166411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048f6"} 
[2026-08-28 20:52:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20: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-28 20:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710135296001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:52:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:52:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787930517000,"timestamp_ms":1787930517000,"timestamp_seconds":1787930517,"priority":1,"record_length":96,"hex_timestamp":"000001a048f69e08"} 
[2026-08-28 20: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-28 20:52:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 20:52: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-28 20: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-28 20: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-28 20:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":166411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":166411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":166411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:52:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710135296001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710135296001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:52:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:52:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20: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-28 20:52:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710135296001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":166411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:52:41] local.INFO: GPS data processed {"connection_id":166411,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:52:41] local.INFO: Acknowledgment sent {"connection_id":166411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:52:42] local.INFO: TCP Data received {"connection_id":165060,"ip":"117.225.149.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165060,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:52:42] local.INFO: Processing buffer {"connection_id":165060,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:52:42] local.INFO: IMEI packet received {"connection_id":165060,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:52:42] local.INFO: IMEI acknowledgment sent {"connection_id":165060,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:52:46] local.INFO: TCP Data received {"connection_id":166411,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048f69e08012d34c14006aa4840000900e62b..."} 
[2026-08-28 20:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048f69e08012d34c14006aa4840000900e62b..."} 
[2026-08-28 20:52:46] local.INFO: Processing buffer {"connection_id":166411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048f69e08012d34c14006aa4840000900e62b..."} 
[2026-08-28 20:52:46] local.INFO: Packet analysis {"connection_id":166411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048f6"} 
[2026-08-28 20:52:46] local.INFO: Extracted packet for processing {"connection_id":166411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048f6"} 
[2026-08-28 20:52:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:52:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710135296001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:52:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:52:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:52:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:52:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787930517000,"timestamp_ms":1787930517000,"timestamp_seconds":1787930517,"priority":1,"record_length":96,"hex_timestamp":"000001a048f69e08"} 
[2026-08-28 20:52:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:52:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 20:52: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-28 20:52:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:52:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:52:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:52:46] local.INFO: Teltonika packet parsed successfully {"connection_id":166411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:52:46] local.INFO: Passing IMEI to GPS processor {"connection_id":166411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:52:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":166411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:52:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:52:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:52:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:52:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710135296001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:52:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:52:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:52:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710135296001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:52:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:52:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:52: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-28 20:52:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:52:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710135296001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:52:46] local.INFO: DEBUG: GPS processor result {"connection_id":166411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:52:46] local.INFO: GPS data processed {"connection_id":166411,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:52:46] local.INFO: Acknowledgment sent {"connection_id":166411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:52:57] local.INFO: TCP Data received {"connection_id":166412,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166412,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:52:57] local.INFO: Processing buffer {"connection_id":166412,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:52:57] local.INFO: IMEI packet received {"connection_id":166412,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 20:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":166412,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:53:01] local.INFO: TCP Data received {"connection_id":166412,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166412,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:53:01] local.INFO: Processing buffer {"connection_id":166412,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:53:01] local.INFO: IMEI packet received {"connection_id":166412,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 20:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":166412,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:53:03] local.INFO: TCP Data received {"connection_id":166412,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048f48eb0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048f48eb0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:53:03] local.INFO: Processing buffer {"connection_id":166412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048f48eb0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:53:03] local.INFO: Packet analysis {"connection_id":166412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048f4"} 
[2026-08-28 20:53:03] local.INFO: Extracted packet for processing {"connection_id":166412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048f4"} 
[2026-08-28 20:53:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710100736001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787930382000,"timestamp_ms":1787930382000,"timestamp_seconds":1787930382,"priority":1,"record_length":96,"hex_timestamp":"000001a048f48eb0"} 
[2026-08-28 20:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:53:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 20:53:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:53:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":166412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":166412,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":166412,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710100736001,"66":25299,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710100736001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:53:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:53:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710100736001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":166412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710342,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:53:03] local.INFO: GPS data processed {"connection_id":166412,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:53:03] local.INFO: Acknowledgment sent {"connection_id":166412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:53:29] local.INFO: TCP Data received {"connection_id":166413,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:53:29] local.INFO: Processing buffer {"connection_id":166413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:53:29] local.INFO: IMEI packet received {"connection_id":166413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 20:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":166413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:53:35] local.INFO: TCP Data received {"connection_id":166413,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:53:35] local.INFO: Processing buffer {"connection_id":166413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:53:35] local.INFO: IMEI packet received {"connection_id":166413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 20:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":166413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:53:35] local.INFO: TCP Data received {"connection_id":166412,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048f48eb0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048f48eb0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:53:35] local.INFO: Processing buffer {"connection_id":166412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048f48eb0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:53:35] local.INFO: Packet analysis {"connection_id":166412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048f4"} 
[2026-08-28 20:53:35] local.INFO: Extracted packet for processing {"connection_id":166412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048f4"} 
[2026-08-28 20:53:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:53:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710100736001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:53:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:53:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:53:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:53:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787930382000,"timestamp_ms":1787930382000,"timestamp_seconds":1787930382,"priority":1,"record_length":96,"hex_timestamp":"000001a048f48eb0"} 
[2026-08-28 20:53:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:53:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 20:53:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:53:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:53:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:53:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:53:35] local.INFO: Teltonika packet parsed successfully {"connection_id":166412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:53:35] local.INFO: Passing IMEI to GPS processor {"connection_id":166412,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:53:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":166412,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:53:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:53:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:53:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:53:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710100736001,"66":25299,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:53:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:53:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:53:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710100736001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:53:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:53:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:53:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:53:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:53:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710100736001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:53:35] local.INFO: DEBUG: GPS processor result {"connection_id":166412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710343,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:53:35] local.INFO: GPS data processed {"connection_id":166412,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:53:35] local.INFO: Acknowledgment sent {"connection_id":166412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:53:36] local.INFO: TCP Data received {"connection_id":166413,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048f69e08012d34c14006aa4840000900e62b..."} 
[2026-08-28 20:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048f69e08012d34c14006aa4840000900e62b..."} 
[2026-08-28 20:53:36] local.INFO: Processing buffer {"connection_id":166413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048f69e08012d34c14006aa4840000900e62b..."} 
[2026-08-28 20:53:36] local.INFO: Packet analysis {"connection_id":166413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048f6"} 
[2026-08-28 20:53:36] local.INFO: Extracted packet for processing {"connection_id":166413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048f6"} 
[2026-08-28 20:53:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710135296001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787930517000,"timestamp_ms":1787930517000,"timestamp_seconds":1787930517,"priority":1,"record_length":96,"hex_timestamp":"000001a048f69e08"} 
[2026-08-28 20:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 20:53:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:53:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":166413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":166413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":166413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710135296001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710135296001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:53:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:53:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710135296001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":166413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:53:36] local.INFO: GPS data processed {"connection_id":166413,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:53:36] local.INFO: Acknowledgment sent {"connection_id":166413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:53:37] local.INFO: TCP Data received {"connection_id":165061,"ip":"117.224.197.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165061,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:53:37] local.INFO: Processing buffer {"connection_id":165061,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:53:37] local.INFO: IMEI packet received {"connection_id":165061,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 20:53:37] local.INFO: IMEI acknowledgment sent {"connection_id":165061,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:53:43] local.INFO: TCP Data received {"connection_id":165061,"ip":"117.224.197.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165061,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:53:44] local.INFO: Processing buffer {"connection_id":165061,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:53:44] local.INFO: IMEI packet received {"connection_id":165061,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:53:44] local.INFO: IMEI acknowledgment sent {"connection_id":165061,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:53:50] local.INFO: TCP Data received {"connection_id":165061,"ip":"117.224.197.200","data_length":795,"data_hex":"000000000000030f8e0a000001a048f71b08012d085e00072254e0001500ec29..."} 
[2026-08-28 20:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048f71b08012d085e00072254e0001500ec29..."} 
[2026-08-28 20:53:50] local.INFO: Processing buffer {"connection_id":165061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048f71b08012d085e00072254e0001500ec29..."} 
[2026-08-28 20:53:50] local.INFO: Packet analysis {"connection_id":165061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048f7"} 
[2026-08-28 20:53:50] local.INFO: Extracted packet for processing {"connection_id":165061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048f7"} 
[2026-08-28 20:53:50] local.INFO: GPS Element Parsed {"raw_longitude":755523072,"raw_latitude":119690464,"longitude_deg":75.5523072,"latitude_deg":11.9690464,"altitude":21,"angle":236,"satellites":41,"speed":43,"hex_longitude":"2d085e00","hex_latitude":"072254e0","is_valid_coordinates":true} 
[2026-08-28 20:53:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:53:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710219776001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:53:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16178716602269696,"note":"Value kept but may cause issues"} 
[2026-08-28 20:53:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":606015655499149312,"note":"Value kept but may cause issues"} 
[2026-08-28 20:53:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:53:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787930549000,"timestamp_ms":1787930549000,"timestamp_seconds":1787930549,"priority":1,"record_length":96,"hex_timestamp":"000001a048f71b08"} 
[2026-08-28 20:53:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:53:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20:53:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-28 20:53:50] 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-28 20:53:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:53:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:53:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:53:50] local.INFO: Teltonika packet parsed successfully {"connection_id":165061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:53:50] local.INFO: Passing IMEI to GPS processor {"connection_id":165061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:53:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":165061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:53:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:53:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:53:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:53:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710219776001,"66":13537,"82":206,"28":26368,"24":43,"16":16178716602269696,"45":606015655499149312},"client_ip":"117.224.197.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,28,24,16,45]} 
[2026-08-28 20:53:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:53:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:53:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710219776001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:53:50] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-28 20:53:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-08-28 20:53:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16178716602269696,"km_value":16178716602269.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:53:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":606015655499149312,"description":"Unknown IO ID 45"} 
[2026-08-28 20:53:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710219776001,"power":13537,"unknown_82":206,"unknown_28":26368,"ignition":43,"odometer":null,"unknown_45":606015655499149312}} 
[2026-08-28 20:53:50] local.INFO: DEBUG: GPS processor result {"connection_id":165061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710345,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:53:50] local.INFO: GPS data processed {"connection_id":165061,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:53:50] local.INFO: Acknowledgment sent {"connection_id":165061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:53:56] local.INFO: TCP Data received {"connection_id":164042,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164042,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:53:56] local.INFO: Processing buffer {"connection_id":164042,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:53:56] local.INFO: IMEI packet received {"connection_id":164042,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 20:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":164042,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:54:01] local.INFO: TCP Data received {"connection_id":164042,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164042,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:54:01] local.INFO: Processing buffer {"connection_id":164042,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:54:01] local.INFO: IMEI packet received {"connection_id":164042,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 20:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":164042,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:54:03] local.INFO: TCP Data received {"connection_id":164042,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048f48eb0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048f48eb0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:54:03] local.INFO: Processing buffer {"connection_id":164042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048f48eb0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:54:03] local.INFO: Packet analysis {"connection_id":164042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048f4"} 
[2026-08-28 20:54:03] local.INFO: Extracted packet for processing {"connection_id":164042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048f4"} 
[2026-08-28 20:54:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710100736001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787930382000,"timestamp_ms":1787930382000,"timestamp_seconds":1787930382,"priority":1,"record_length":96,"hex_timestamp":"000001a048f48eb0"} 
[2026-08-28 20:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:54:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 20:54:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:54:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":164042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":164042,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":164042,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:54:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710100736001,"66":25299,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710100736001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:54:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:54:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710100736001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":164042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710346,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:54:03] local.INFO: GPS data processed {"connection_id":164042,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:54:03] local.INFO: Acknowledgment sent {"connection_id":164042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:54:08] local.INFO: TCP Data received {"connection_id":166413,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048f69e08012d34c14006aa4840000900e62b..."} 
[2026-08-28 20:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048f69e08012d34c14006aa4840000900e62b..."} 
[2026-08-28 20:54:08] local.INFO: Processing buffer {"connection_id":166413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048f69e08012d34c14006aa4840000900e62b..."} 
[2026-08-28 20:54:08] local.INFO: Packet analysis {"connection_id":166413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048f6"} 
[2026-08-28 20:54:08] local.INFO: Extracted packet for processing {"connection_id":166413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048f6"} 
[2026-08-28 20:54:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710135296001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:54:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787930517000,"timestamp_ms":1787930517000,"timestamp_seconds":1787930517,"priority":1,"record_length":96,"hex_timestamp":"000001a048f69e08"} 
[2026-08-28 20:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:54:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 20:54:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:54:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":166413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":166413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":166413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:54:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710135296001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710135296001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:54:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:54:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:54: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-28 20:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710135296001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":166413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:54:08] local.INFO: GPS data processed {"connection_id":166413,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:54:08] local.INFO: Acknowledgment sent {"connection_id":166413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:54:22] local.INFO: TCP Data received {"connection_id":165061,"ip":"117.224.197.200","data_length":795,"data_hex":"000000000000030f8e0a000001a048f7edf8012d0897000721b4480010007a2b..."} 
[2026-08-28 20:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048f7edf8012d0897000721b4480010007a2b..."} 
[2026-08-28 20:54:22] local.INFO: Processing buffer {"connection_id":165061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048f7edf8012d0897000721b4480010007a2b..."} 
[2026-08-28 20:54:22] local.INFO: Packet analysis {"connection_id":165061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048f7"} 
[2026-08-28 20:54:22] local.INFO: Extracted packet for processing {"connection_id":165061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048f7"} 
[2026-08-28 20:54:22] local.INFO: GPS Element Parsed {"raw_longitude":755537664,"raw_latitude":119649352,"longitude_deg":75.5537664,"latitude_deg":11.9649352,"altitude":16,"angle":122,"satellites":43,"speed":41,"hex_longitude":"2d089700","hex_latitude":"0721b448","is_valid_coordinates":true} 
[2026-08-28 20:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:54:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710232832001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:54:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16181504036044800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:54:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":612700686185639936,"note":"Value kept but may cause issues"} 
[2026-08-28 20:54:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:54:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787930603000,"timestamp_ms":1787930603000,"timestamp_seconds":1787930603,"priority":1,"record_length":96,"hex_timestamp":"000001a048f7edf8"} 
[2026-08-28 20:54:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:54:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-28 20:54:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:54:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:54:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:54:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:54:22] local.INFO: Teltonika packet parsed successfully {"connection_id":165061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:54:22] local.INFO: Passing IMEI to GPS processor {"connection_id":165061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:54:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":165061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:54:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:54:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:54:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:54:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710232832001,"66":13472,"60":206,"28":31744,"24":41,"16":16181504036044800,"45":612700686185639936},"client_ip":"117.224.197.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,28,24,16,45]} 
[2026-08-28 20:54:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:54:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:54:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710232832001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:54:22] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-08-28 20:54:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 20:54:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16181504036044800,"km_value":16181504036044.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:54:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":612700686185639936,"description":"Unknown IO ID 45"} 
[2026-08-28 20:54:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710232832001,"power":13472,"unknown_60":206,"unknown_28":31744,"ignition":41,"odometer":null,"unknown_45":612700686185639936}} 
[2026-08-28 20:54:22] local.INFO: DEBUG: GPS processor result {"connection_id":165061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710348,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:54:22] local.INFO: GPS data processed {"connection_id":165061,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:54:22] local.INFO: Acknowledgment sent {"connection_id":165061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:54:29] local.INFO: TCP Data received {"connection_id":166414,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:54:29] local.INFO: Processing buffer {"connection_id":166414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:54:29] local.INFO: IMEI packet received {"connection_id":166414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 20:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":166414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:54:35] local.INFO: TCP Data received {"connection_id":166414,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:54:35] local.INFO: Processing buffer {"connection_id":166414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:54:35] local.INFO: IMEI packet received {"connection_id":166414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 20:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":166414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:54:35] local.INFO: TCP Data received {"connection_id":164042,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048f48eb0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048f48eb0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:54:35] local.INFO: Processing buffer {"connection_id":164042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048f48eb0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:54:35] local.INFO: Packet analysis {"connection_id":164042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048f4"} 
[2026-08-28 20:54:35] local.INFO: Extracted packet for processing {"connection_id":164042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048f4"} 
[2026-08-28 20:54:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710100736001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:54:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787930382000,"timestamp_ms":1787930382000,"timestamp_seconds":1787930382,"priority":1,"record_length":96,"hex_timestamp":"000001a048f48eb0"} 
[2026-08-28 20:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:54:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 20:54:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:54:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":164042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":164042,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":164042,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:54:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710100736001,"66":25299,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710100736001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:54:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:54:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:54:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710100736001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":164042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710349,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:54:35] local.INFO: GPS data processed {"connection_id":164042,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:54:35] local.INFO: Acknowledgment sent {"connection_id":164042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:54:36] local.INFO: TCP Data received {"connection_id":166414,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048f69e08012d34c14006aa4840000900e62b..."} 
[2026-08-28 20:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048f69e08012d34c14006aa4840000900e62b..."} 
[2026-08-28 20:54:36] local.INFO: Processing buffer {"connection_id":166414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048f69e08012d34c14006aa4840000900e62b..."} 
[2026-08-28 20:54:36] local.INFO: Packet analysis {"connection_id":166414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048f6"} 
[2026-08-28 20:54:36] local.INFO: Extracted packet for processing {"connection_id":166414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048f6"} 
[2026-08-28 20:54:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710135296001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:54:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787930517000,"timestamp_ms":1787930517000,"timestamp_seconds":1787930517,"priority":1,"record_length":96,"hex_timestamp":"000001a048f69e08"} 
[2026-08-28 20:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 20:54:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:54:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":166414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":166414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":166414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:54:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710135296001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710135296001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:54:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:54:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710135296001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":166414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:54:36] local.INFO: GPS data processed {"connection_id":166414,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:54:36] local.INFO: Acknowledgment sent {"connection_id":166414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:54:42] local.INFO: TCP Data received {"connection_id":163764,"ip":"117.224.197.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163764,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:54:42] local.INFO: Processing buffer {"connection_id":163764,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:54:42] local.INFO: IMEI packet received {"connection_id":163764,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 20:54:42] local.INFO: IMEI acknowledgment sent {"connection_id":163764,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:54:45] local.INFO: TCP Data received {"connection_id":163764,"ip":"117.224.197.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163764,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:54:45] local.INFO: Processing buffer {"connection_id":163764,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:54:45] local.INFO: IMEI packet received {"connection_id":163764,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":163764,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:54:47] local.INFO: TCP Data received {"connection_id":163764,"ip":"117.224.197.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163764,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:54:47] local.INFO: Processing buffer {"connection_id":163764,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:54:47] local.INFO: IMEI packet received {"connection_id":163764,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:54:47] local.INFO: IMEI acknowledgment sent {"connection_id":163764,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:54:48] local.INFO: TCP Data received {"connection_id":163764,"ip":"117.224.197.200","data_length":795,"data_hex":"000000000000030f8e0a000001a048f7f5c8012d089d400721af100011008a2c..."} 
[2026-08-28 20:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048f7f5c8012d089d400721af100011008a2c..."} 
[2026-08-28 20:54:48] local.INFO: Processing buffer {"connection_id":163764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048f7f5c8012d089d400721af100011008a2c..."} 
[2026-08-28 20:54:48] local.INFO: Packet analysis {"connection_id":163764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048f7"} 
[2026-08-28 20:54:48] local.INFO: Extracted packet for processing {"connection_id":163764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048f7"} 
[2026-08-28 20:54:48] local.INFO: GPS Element Parsed {"raw_longitude":755539264,"raw_latitude":119648016,"longitude_deg":75.5539264,"latitude_deg":11.9648016,"altitude":17,"angle":138,"satellites":44,"speed":41,"hex_longitude":"2d089d40","hex_latitude":"0721af10","is_valid_coordinates":true} 
[2026-08-28 20:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:54:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710234368001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:54:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16181602820292608,"note":"Value kept but may cause issues"} 
[2026-08-28 20:54:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":618963504416966656,"note":"Value kept but may cause issues"} 
[2026-08-28 20:54:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:54:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787930605000,"timestamp_ms":1787930605000,"timestamp_seconds":1787930605,"priority":1,"record_length":96,"hex_timestamp":"000001a048f7f5c8"} 
[2026-08-28 20:54:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:54:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-28 20:54:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:54:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:54:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:54:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:54:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:54:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:54:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:54:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:54:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:54:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:54:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710234368001,"66":13319,"60":206,"28":31744,"24":41,"16":16181602820292608,"45":618963504416966656},"client_ip":"117.224.197.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,28,24,16,45]} 
[2026-08-28 20:54:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:54:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:54:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710234368001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:54:48] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-08-28 20:54:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 20:54:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16181602820292608,"km_value":16181602820292.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:54:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":618963504416966656,"description":"Unknown IO ID 45"} 
[2026-08-28 20:54:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710234368001,"power":13319,"unknown_60":206,"unknown_28":31744,"ignition":41,"odometer":null,"unknown_45":618963504416966656}} 
[2026-08-28 20:54:48] local.INFO: DEBUG: GPS processor result {"connection_id":163764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710351,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:54:48] local.INFO: GPS data processed {"connection_id":163764,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:54:48] local.INFO: Acknowledgment sent {"connection_id":163764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:54:55] local.INFO: TCP Data received {"connection_id":164043,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164043,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:54:55] local.INFO: Processing buffer {"connection_id":164043,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:54:55] local.INFO: IMEI packet received {"connection_id":164043,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 20:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":164043,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:55:01] local.INFO: TCP Data received {"connection_id":164043,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164043,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:55:01] local.INFO: Processing buffer {"connection_id":164043,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:55:01] local.INFO: IMEI packet received {"connection_id":164043,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 20:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":164043,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:55:02] local.INFO: TCP Data received {"connection_id":164043,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048f48eb0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048f48eb0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:55:02] local.INFO: Processing buffer {"connection_id":164043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048f48eb0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:55:02] local.INFO: Packet analysis {"connection_id":164043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048f4"} 
[2026-08-28 20:55:02] local.INFO: Extracted packet for processing {"connection_id":164043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048f4"} 
[2026-08-28 20:55:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:55:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710100736001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:55:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:55:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:55:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:55:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787930382000,"timestamp_ms":1787930382000,"timestamp_seconds":1787930382,"priority":1,"record_length":96,"hex_timestamp":"000001a048f48eb0"} 
[2026-08-28 20:55:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:55:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 20:55:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:55:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:55:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:55:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:55:02] local.INFO: Teltonika packet parsed successfully {"connection_id":164043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:55:02] local.INFO: Passing IMEI to GPS processor {"connection_id":164043,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:55:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":164043,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:55:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:55:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:55:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:55:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710100736001,"66":25299,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:55:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:55:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:55:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710100736001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:55:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:55:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:55:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:55:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:55:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710100736001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:55:02] local.INFO: DEBUG: GPS processor result {"connection_id":164043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710352,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:55:02] local.INFO: GPS data processed {"connection_id":164043,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:55:02] local.INFO: Acknowledgment sent {"connection_id":164043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:55:08] local.INFO: TCP Data received {"connection_id":166414,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048f69e08012d34c14006aa4840000900e62b..."} 
[2026-08-28 20:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048f69e08012d34c14006aa4840000900e62b..."} 
[2026-08-28 20:55:08] local.INFO: Processing buffer {"connection_id":166414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048f69e08012d34c14006aa4840000900e62b..."} 
[2026-08-28 20:55:08] local.INFO: Packet analysis {"connection_id":166414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048f6"} 
[2026-08-28 20:55:08] local.INFO: Extracted packet for processing {"connection_id":166414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048f6"} 
[2026-08-28 20:55:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710135296001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:55:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:55:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787930517000,"timestamp_ms":1787930517000,"timestamp_seconds":1787930517,"priority":1,"record_length":96,"hex_timestamp":"000001a048f69e08"} 
[2026-08-28 20:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:55:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 20:55:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:55:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":166414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":166414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":166414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:55:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710135296001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710135296001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:55:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:55:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:55: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-28 20:55:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710135296001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":166414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:55:08] local.INFO: GPS data processed {"connection_id":166414,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:55:08] local.INFO: Acknowledgment sent {"connection_id":166414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:55:20] local.INFO: TCP Data received {"connection_id":163764,"ip":"117.224.197.200","data_length":795,"data_hex":"000000000000030f8e0a000001a048f8efc8012d095f40072125780016008b23..."} 
[2026-08-28 20:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048f8efc8012d095f40072125780016008b23..."} 
[2026-08-28 20:55:20] local.INFO: Processing buffer {"connection_id":163764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048f8efc8012d095f40072125780016008b23..."} 
[2026-08-28 20:55:20] local.INFO: Packet analysis {"connection_id":163764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048f8"} 
[2026-08-28 20:55:20] local.INFO: Extracted packet for processing {"connection_id":163764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048f8"} 
[2026-08-28 20:55:20] local.INFO: GPS Element Parsed {"raw_longitude":755588928,"raw_latitude":119612792,"longitude_deg":75.5588928,"latitude_deg":11.9612792,"altitude":22,"angle":139,"satellites":35,"speed":52,"hex_longitude":"2d095f40","hex_latitude":"07212578","is_valid_coordinates":true} 
[2026-08-28 20: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-28 20:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710250752001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16184828340731904,"note":"Value kept but may cause issues"} 
[2026-08-28 20:55:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":673217806169036800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:55:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787930669000,"timestamp_ms":1787930669000,"timestamp_seconds":1787930669,"priority":1,"record_length":96,"hex_timestamp":"000001a048f8efc8"} 
[2026-08-28 20: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-28 20:55:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-28 20:55:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20: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-28 20: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-28 20:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:55:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710250752001,"66":13439,"60":206,"28":31744,"24":52,"16":16184828340731904,"45":673217806169036800},"client_ip":"117.224.197.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,28,24,16,45]} 
[2026-08-28 20:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710250752001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:55:20] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-08-28 20:55:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 20:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16184828340731904,"km_value":16184828340731.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:55:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":673217806169036800,"description":"Unknown IO ID 45"} 
[2026-08-28 20:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710250752001,"power":13439,"unknown_60":206,"unknown_28":31744,"ignition":52,"odometer":null,"unknown_45":673217806169036800}} 
[2026-08-28 20:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":163764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710354,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:55:20] local.INFO: GPS data processed {"connection_id":163764,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:55:20] local.INFO: Acknowledgment sent {"connection_id":163764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:55:29] local.INFO: TCP Data received {"connection_id":164044,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:55:29] local.INFO: Processing buffer {"connection_id":164044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:55:29] local.INFO: IMEI packet received {"connection_id":164044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 20:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":164044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:55:34] local.INFO: TCP Data received {"connection_id":164043,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048f92678012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048f92678012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:55:34] local.INFO: Processing buffer {"connection_id":164043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048f92678012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:55:34] local.INFO: Packet analysis {"connection_id":164043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048f9"} 
[2026-08-28 20:55:34] local.INFO: Extracted packet for processing {"connection_id":164043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048f9"} 
[2026-08-28 20:55:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710177792001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:55:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:55:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787930683000,"timestamp_ms":1787930683000,"timestamp_seconds":1787930683,"priority":1,"record_length":96,"hex_timestamp":"000001a048f92678"} 
[2026-08-28 20:55:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:55:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 20:55:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:55:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:55:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":164043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":164043,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":164043,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:55:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710177792001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710177792001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:55:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:55:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:55:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:55:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710177792001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":164043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710355,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:55:34] local.INFO: GPS data processed {"connection_id":164043,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:55:34] local.INFO: Acknowledgment sent {"connection_id":164043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:55:35] local.INFO: TCP Data received {"connection_id":164044,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:55:35] local.INFO: Processing buffer {"connection_id":164044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:55:35] local.INFO: IMEI packet received {"connection_id":164044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 20:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":164044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:55:36] local.INFO: TCP Data received {"connection_id":164044,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048f69e08012d34c14006aa4840000900e62b..."} 
[2026-08-28 20:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048f69e08012d34c14006aa4840000900e62b..."} 
[2026-08-28 20:55:36] local.INFO: Processing buffer {"connection_id":164044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048f69e08012d34c14006aa4840000900e62b..."} 
[2026-08-28 20:55:36] local.INFO: Packet analysis {"connection_id":164044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048f6"} 
[2026-08-28 20:55:36] local.INFO: Extracted packet for processing {"connection_id":164044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048f6"} 
[2026-08-28 20:55:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710135296001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787930517000,"timestamp_ms":1787930517000,"timestamp_seconds":1787930517,"priority":1,"record_length":96,"hex_timestamp":"000001a048f69e08"} 
[2026-08-28 20:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 20:55:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:55:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":164044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":164044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":164044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:55:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710135296001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710135296001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:55:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:55:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710135296001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":164044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:55:36] local.INFO: GPS data processed {"connection_id":164044,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:55:36] local.INFO: Acknowledgment sent {"connection_id":164044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:55:47] local.INFO: TCP Data received {"connection_id":163765,"ip":"117.224.197.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:55:47] local.INFO: Processing buffer {"connection_id":163765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:55:47] local.INFO: IMEI packet received {"connection_id":163765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 20:55:47] local.INFO: IMEI acknowledgment sent {"connection_id":163765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:55:47] local.INFO: TCP Data received {"connection_id":163765,"ip":"117.224.197.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:55:47] local.INFO: Processing buffer {"connection_id":163765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:55:47] local.INFO: IMEI packet received {"connection_id":163765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:55:47] local.INFO: IMEI acknowledgment sent {"connection_id":163765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:55:53] local.INFO: TCP Data received {"connection_id":163765,"ip":"117.224.197.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:55:53] local.INFO: Processing buffer {"connection_id":163765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:55:53] local.INFO: IMEI packet received {"connection_id":163765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":163765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:55:55] local.INFO: TCP Data received {"connection_id":163765,"ip":"117.224.197.200","data_length":795,"data_hex":"000000000000030f8e0a000001a048f90b20012d0975c0072108d80015008b26..."} 
[2026-08-28 20:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048f90b20012d0975c0072108d80015008b26..."} 
[2026-08-28 20:55:55] local.INFO: Processing buffer {"connection_id":163765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048f90b20012d0975c0072108d80015008b26..."} 
[2026-08-28 20:55:55] local.INFO: Packet analysis {"connection_id":163765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048f9"} 
[2026-08-28 20:55:55] local.INFO: Extracted packet for processing {"connection_id":163765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048f9"} 
[2026-08-28 20:55:55] local.INFO: GPS Element Parsed {"raw_longitude":755594688,"raw_latitude":119605464,"longitude_deg":75.5594688,"latitude_deg":11.9605464,"altitude":21,"angle":139,"satellites":38,"speed":50,"hex_longitude":"2d0975c0","hex_latitude":"072108d8","is_valid_coordinates":true} 
[2026-08-28 20: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-28 20:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710251264001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:55:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16185279312297984,"note":"Value kept but may cause issues"} 
[2026-08-28 20:55:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":675328868493916160,"note":"Value kept but may cause issues"} 
[2026-08-28 20:55:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:55:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787930676000,"timestamp_ms":1787930676000,"timestamp_seconds":1787930676,"priority":1,"record_length":96,"hex_timestamp":"000001a048f90b20"} 
[2026-08-28 20: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-28 20:55:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20: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":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-28 20:55:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20: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-28 20: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-28 20:55:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:55:55] local.INFO: Teltonika packet parsed successfully {"connection_id":163765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:55:55] local.INFO: Passing IMEI to GPS processor {"connection_id":163765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:55:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":163765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:55:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:55:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:55:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710251264001,"66":13439,"60":206,"28":31744,"24":50,"16":16185279312297984,"45":675328868493916160},"client_ip":"117.224.197.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,28,24,16,45]} 
[2026-08-28 20:55:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:55:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:55:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710251264001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:55:55] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-08-28 20:55:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 20:55:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16185279312297984,"km_value":16185279312297.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:55:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":675328868493916160,"description":"Unknown IO ID 45"} 
[2026-08-28 20:55:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710251264001,"power":13439,"unknown_60":206,"unknown_28":31744,"ignition":50,"odometer":null,"unknown_45":675328868493916160}} 
[2026-08-28 20:55:55] 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":710357,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:55:55] local.INFO: GPS data processed {"connection_id":163765,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:55:55] local.INFO: Acknowledgment sent {"connection_id":163765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:55:55] local.INFO: TCP Data received {"connection_id":165062,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165062,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:55:55] local.INFO: Processing buffer {"connection_id":165062,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:55:55] local.INFO: IMEI packet received {"connection_id":165062,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 20:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":165062,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:56:01] local.INFO: TCP Data received {"connection_id":165062,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165062,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:56:01] local.INFO: Processing buffer {"connection_id":165062,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:56:01] local.INFO: IMEI packet received {"connection_id":165062,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 20:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":165062,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:56:02] local.INFO: TCP Data received {"connection_id":165062,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048f92678012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048f92678012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:56:02] local.INFO: Processing buffer {"connection_id":165062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048f92678012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:56:02] local.INFO: Packet analysis {"connection_id":165062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048f9"} 
[2026-08-28 20:56:02] local.INFO: Extracted packet for processing {"connection_id":165062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048f9"} 
[2026-08-28 20:56:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710177792001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:56:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787930683000,"timestamp_ms":1787930683000,"timestamp_seconds":1787930683,"priority":1,"record_length":96,"hex_timestamp":"000001a048f92678"} 
[2026-08-28 20:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:56:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 20:56:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:56:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":165062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":165062,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":165062,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:56:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710177792001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710177792001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:56:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:56:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710177792001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:56:02] 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":710358,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:56:02] local.INFO: GPS data processed {"connection_id":165062,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:56:02] local.INFO: Acknowledgment sent {"connection_id":165062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:56:08] local.INFO: TCP Data received {"connection_id":164044,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048f69e08012d34c14006aa4840000900e62b..."} 
[2026-08-28 20:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048f69e08012d34c14006aa4840000900e62b..."} 
[2026-08-28 20:56:08] local.INFO: Processing buffer {"connection_id":164044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048f69e08012d34c14006aa4840000900e62b..."} 
[2026-08-28 20:56:08] local.INFO: Packet analysis {"connection_id":164044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048f6"} 
[2026-08-28 20:56:08] local.INFO: Extracted packet for processing {"connection_id":164044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048f6"} 
[2026-08-28 20:56:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710135296001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:56:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787930517000,"timestamp_ms":1787930517000,"timestamp_seconds":1787930517,"priority":1,"record_length":96,"hex_timestamp":"000001a048f69e08"} 
[2026-08-28 20:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:56:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 20:56:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:56:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:56:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710135296001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710135296001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:56:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:56:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:56: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-28 20:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710135296001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":164044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:56:08] local.INFO: GPS data processed {"connection_id":164044,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:56:08] local.INFO: Acknowledgment sent {"connection_id":164044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:56:27] local.INFO: TCP Data received {"connection_id":163765,"ip":"117.224.197.200","data_length":795,"data_hex":"000000000000030f8e0a000001a048f9e5e0012d0a58c00720e290001b008a27..."} 
[2026-08-28 20:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048f9e5e0012d0a58c00720e290001b008a27..."} 
[2026-08-28 20:56:27] local.INFO: Processing buffer {"connection_id":163765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048f9e5e0012d0a58c00720e290001b008a27..."} 
[2026-08-28 20:56:27] local.INFO: Packet analysis {"connection_id":163765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048f9"} 
[2026-08-28 20:56:27] local.INFO: Extracted packet for processing {"connection_id":163765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048f9"} 
[2026-08-28 20:56:27] local.INFO: GPS Element Parsed {"raw_longitude":755652800,"raw_latitude":119595664,"longitude_deg":75.56528,"latitude_deg":11.9595664,"altitude":27,"angle":138,"satellites":39,"speed":37,"hex_longitude":"2d0a58c0","hex_latitude":"0720e290","is_valid_coordinates":true} 
[2026-08-28 20:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:56:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710265856001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:56:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16188212774961152,"note":"Value kept but may cause issues"} 
[2026-08-28 20:56:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":740982906808276992,"note":"Value kept but may cause issues"} 
[2026-08-28 20:56:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:56:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787930732000,"timestamp_ms":1787930732000,"timestamp_seconds":1787930732,"priority":1,"record_length":96,"hex_timestamp":"000001a048f9e5e0"} 
[2026-08-28 20:56:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:56:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-28 20:56:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:56:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:56:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:56:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:56:27] local.INFO: Teltonika packet parsed successfully {"connection_id":163765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:56:27] local.INFO: Passing IMEI to GPS processor {"connection_id":163765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:56:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":163765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:56:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:56:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:56:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:56:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710265856001,"66":13319,"59":206,"28":31744,"24":37,"16":16188212774961152,"45":740982906808276992},"client_ip":"117.224.197.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,28,24,16,45]} 
[2026-08-28 20:56:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:56:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:56:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710265856001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:56:27] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-08-28 20:56:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 20:56:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16188212774961152,"km_value":16188212774961.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:56:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":740982906808276992,"description":"Unknown IO ID 45"} 
[2026-08-28 20:56:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710265856001,"power":13319,"unknown_59":206,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":740982906808276992}} 
[2026-08-28 20:56:27] 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":710360,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:56:27] local.INFO: GPS data processed {"connection_id":163765,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:56:27] local.INFO: Acknowledgment sent {"connection_id":163765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:56:34] local.INFO: TCP Data received {"connection_id":165062,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048f92678012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048f92678012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:56:34] local.INFO: Processing buffer {"connection_id":165062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048f92678012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:56:34] local.INFO: Packet analysis {"connection_id":165062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048f9"} 
[2026-08-28 20:56:34] local.INFO: Extracted packet for processing {"connection_id":165062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048f9"} 
[2026-08-28 20:56:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710177792001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:56:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:56:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787930683000,"timestamp_ms":1787930683000,"timestamp_seconds":1787930683,"priority":1,"record_length":96,"hex_timestamp":"000001a048f92678"} 
[2026-08-28 20:56:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:56:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 20:56:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:56:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:56:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":165062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":165062,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":165062,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:56:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710177792001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710177792001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:56:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:56:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:56:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710177792001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:56:34] 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":710361,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:56:34] local.INFO: GPS data processed {"connection_id":165062,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:56:34] local.INFO: Acknowledgment sent {"connection_id":165062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:56:35] local.INFO: TCP Data received {"connection_id":166415,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:56:35] local.INFO: Processing buffer {"connection_id":166415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:56:35] local.INFO: IMEI packet received {"connection_id":166415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 20:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":166415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:56:40] local.INFO: TCP Data received {"connection_id":163766,"ip":"117.224.197.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:56:40] local.INFO: Processing buffer {"connection_id":163766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:56:40] local.INFO: IMEI packet received {"connection_id":163766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 20:56:40] local.INFO: IMEI acknowledgment sent {"connection_id":163766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:56:40] local.INFO: TCP Data received {"connection_id":166415,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:56:40] local.INFO: Processing buffer {"connection_id":166415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:56:40] local.INFO: IMEI packet received {"connection_id":166415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 20:56:40] local.INFO: IMEI acknowledgment sent {"connection_id":166415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:56:42] local.INFO: TCP Data received {"connection_id":166415,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048f69e08012d34c14006aa4840000900e62b..."} 
[2026-08-28 20:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048f69e08012d34c14006aa4840000900e62b..."} 
[2026-08-28 20:56:42] local.INFO: Processing buffer {"connection_id":166415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048f69e08012d34c14006aa4840000900e62b..."} 
[2026-08-28 20:56:42] local.INFO: Packet analysis {"connection_id":166415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048f6"} 
[2026-08-28 20:56:42] local.INFO: Extracted packet for processing {"connection_id":166415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048f6"} 
[2026-08-28 20:56:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20: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-28 20:56:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710135296001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:56:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:56:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:56:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:56:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787930517000,"timestamp_ms":1787930517000,"timestamp_seconds":1787930517,"priority":1,"record_length":96,"hex_timestamp":"000001a048f69e08"} 
[2026-08-28 20: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-28 20:56:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 20:56: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-28 20: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-28 20: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-28 20:56:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:56:42] local.INFO: Teltonika packet parsed successfully {"connection_id":166415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:56:42] local.INFO: Passing IMEI to GPS processor {"connection_id":166415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:56:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":166415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:56:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:56:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:56:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:56:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710135296001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:56:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:56:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:56:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710135296001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:56:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:56:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20: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-28 20:56:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:56:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710135296001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:56:42] local.INFO: DEBUG: GPS processor result {"connection_id":166415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:56:42] local.INFO: GPS data processed {"connection_id":166415,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:56:42] local.INFO: Acknowledgment sent {"connection_id":166415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:56:42] local.INFO: TCP Data received {"connection_id":163766,"ip":"117.224.197.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:56:42] local.INFO: Processing buffer {"connection_id":163766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:56:42] local.INFO: IMEI packet received {"connection_id":163766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:56:42] local.INFO: IMEI acknowledgment sent {"connection_id":163766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:56:46] local.INFO: TCP Data received {"connection_id":166415,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048f69e08012d34c14006aa4840000900e62b..."} 
[2026-08-28 20:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048f69e08012d34c14006aa4840000900e62b..."} 
[2026-08-28 20:56:46] local.INFO: Processing buffer {"connection_id":166415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048f69e08012d34c14006aa4840000900e62b..."} 
[2026-08-28 20:56:46] local.INFO: Packet analysis {"connection_id":166415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048f6"} 
[2026-08-28 20:56:46] local.INFO: Extracted packet for processing {"connection_id":166415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048f6"} 
[2026-08-28 20:56:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20: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-28 20:56:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710135296001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:56:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:56:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:56:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:56:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787930517000,"timestamp_ms":1787930517000,"timestamp_seconds":1787930517,"priority":1,"record_length":96,"hex_timestamp":"000001a048f69e08"} 
[2026-08-28 20: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-28 20:56:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 20:56: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-28 20: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-28 20: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-28 20:56:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:56:46] local.INFO: Teltonika packet parsed successfully {"connection_id":166415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:56:46] local.INFO: Passing IMEI to GPS processor {"connection_id":166415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:56:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":166415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:56:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:56:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:56:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:56:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710135296001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:56:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:56:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:56:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710135296001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:56:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:56:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:56: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-28 20:56:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:56:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710135296001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:56:46] local.INFO: DEBUG: GPS processor result {"connection_id":166415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:56:46] local.INFO: GPS data processed {"connection_id":166415,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:56:46] local.INFO: Acknowledgment sent {"connection_id":166415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:56:48] local.INFO: TCP Data received {"connection_id":163766,"ip":"117.224.197.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:56:48] local.INFO: Processing buffer {"connection_id":163766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:56:48] local.INFO: IMEI packet received {"connection_id":163766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:56:48] local.INFO: IMEI acknowledgment sent {"connection_id":163766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:56:49] local.INFO: TCP Data received {"connection_id":163766,"ip":"117.224.197.200","data_length":795,"data_hex":"000000000000030f8e0a000001a048f9f580012d0a61400720d608001d009629..."} 
[2026-08-28 20:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048f9f580012d0a61400720d608001d009629..."} 
[2026-08-28 20:56:49] local.INFO: Processing buffer {"connection_id":163766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048f9f580012d0a61400720d608001d009629..."} 
[2026-08-28 20:56:49] local.INFO: Packet analysis {"connection_id":163766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048f9"} 
[2026-08-28 20:56:49] local.INFO: Extracted packet for processing {"connection_id":163766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048f9"} 
[2026-08-28 20:56:49] local.INFO: GPS Element Parsed {"raw_longitude":755654976,"raw_latitude":119592456,"longitude_deg":75.5654976,"latitude_deg":11.9592456,"altitude":29,"angle":150,"satellites":41,"speed":38,"hex_longitude":"2d0a6140","hex_latitude":"0720d608","is_valid_coordinates":true} 
[2026-08-28 20:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:56:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710267392001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:56:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16188401753522176,"note":"Value kept but may cause issues"} 
[2026-08-28 20:56:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":745556875178840064,"note":"Value kept but may cause issues"} 
[2026-08-28 20:56:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:56:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787930736000,"timestamp_ms":1787930736000,"timestamp_seconds":1787930736,"priority":1,"record_length":96,"hex_timestamp":"000001a048f9f580"} 
[2026-08-28 20:56:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:56:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-28 20:56:49] local.WARNING: Large IO value detected {"io_id":130,"raw_value":3154116608,"note":"Value kept but may cause issues"} 
[2026-08-28 20:56:49] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":34817,"corrected_to":0} 
[2026-08-28 20:56:49] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-28 20:56:49] local.WARNING: Large IO value detected {"io_id":72,"raw_value":4188239873,"note":"Value kept but may cause issues"} 
[2026-08-28 20:56:49] local.WARNING: Large IO value detected {"io_id":32,"raw_value":-1114640813279270400,"note":"Value kept but may cause issues"} 
[2026-08-28 20:56:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3829137614,"corrected_to":0} 
[2026-08-28 20:56:49] local.WARNING: Large IO value detected {"io_id":57,"raw_value":2181890048,"note":"Value kept but may cause issues"} 
[2026-08-28 20:56:49] local.WARNING: Large IO value detected {"io_id":192,"raw_value":57953316588362876,"note":"Value kept but may cause issues"} 
[2026-08-28 20:56:49] local.WARNING: Large IO value detected {"io_id":249,"raw_value":5586716630701391879,"note":"Value kept but may cause issues"} 
[2026-08-28 20:56:49] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,59,28,24,241,158,16,131,160,206,45,128,26,39,10,66,130,202,243,194,64,1,240,116,72,32,4,113,205,38,136,120,40,239,52,60,2,57,7,22,51,192,249],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":202,"original":34817,"validated":0},{"io_id":205,"original":3829137614,"validated":0}]} 
[2026-08-28 20:56:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1945706939134836736,"timestamp_seconds":1945706939134836.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 20:56:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:56:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:56:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:56:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:56:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:56:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:56:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:56:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:56:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710267392001,"66":13450,"59":206,"28":31744,"24":38,"16":16188401753522176,"45":745556875178840064},"client_ip":"117.224.197.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,28,24,16,45]} 
[2026-08-28 20:56:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:56:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:56:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710267392001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:56:49] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-08-28 20:56:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 20:56:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16188401753522176,"km_value":16188401753522.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:56:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":745556875178840064,"description":"Unknown IO ID 45"} 
[2026-08-28 20:56:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710267392001,"power":13450,"unknown_59":206,"unknown_28":31744,"ignition":38,"odometer":null,"unknown_45":745556875178840064}} 
[2026-08-28 20:56:49] local.INFO: DEBUG: GPS processor result {"connection_id":163766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:56:49] local.INFO: GPS data processed {"connection_id":163766,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:56:49] local.INFO: Acknowledgment sent {"connection_id":163766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:56:56] local.INFO: TCP Data received {"connection_id":166416,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166416,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:56:56] local.INFO: Processing buffer {"connection_id":166416,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:56:56] local.INFO: IMEI packet received {"connection_id":166416,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 20:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":166416,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:57:01] local.INFO: TCP Data received {"connection_id":166416,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166416,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:57:01] local.INFO: Processing buffer {"connection_id":166416,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:57:01] local.INFO: IMEI packet received {"connection_id":166416,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 20:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":166416,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:57:02] local.INFO: TCP Data received {"connection_id":166416,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048f92678012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048f92678012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:57:02] local.INFO: Processing buffer {"connection_id":166416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048f92678012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:57:02] local.INFO: Packet analysis {"connection_id":166416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048f9"} 
[2026-08-28 20:57:02] local.INFO: Extracted packet for processing {"connection_id":166416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048f9"} 
[2026-08-28 20:57:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710177792001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:57:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:57:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787930683000,"timestamp_ms":1787930683000,"timestamp_seconds":1787930683,"priority":1,"record_length":96,"hex_timestamp":"000001a048f92678"} 
[2026-08-28 20:57:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:57:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 20:57:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:57:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:57:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:57:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":166416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":166416,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":166416,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:57:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710177792001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710177792001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:57:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:57:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:57:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:57:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710177792001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":166416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710365,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:57:02] local.INFO: GPS data processed {"connection_id":166416,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:57:02] local.INFO: Acknowledgment sent {"connection_id":166416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:57:21] local.INFO: TCP Data received {"connection_id":163766,"ip":"117.224.197.200","data_length":795,"data_hex":"000000000000030f8e0a000001a048fac0a0012d0ad840072035a8001700a02c..."} 
[2026-08-28 20:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048fac0a0012d0ad840072035a8001700a02c..."} 
[2026-08-28 20:57:21] local.INFO: Processing buffer {"connection_id":163766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048fac0a0012d0ad840072035a8001700a02c..."} 
[2026-08-28 20:57:21] local.INFO: Packet analysis {"connection_id":163766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048fa"} 
[2026-08-28 20:57:21] local.INFO: Extracted packet for processing {"connection_id":163766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048fa"} 
[2026-08-28 20:57:21] local.INFO: GPS Element Parsed {"raw_longitude":755685440,"raw_latitude":119551400,"longitude_deg":75.568544,"latitude_deg":11.95514,"altitude":23,"angle":160,"satellites":44,"speed":38,"hex_longitude":"2d0ad840","hex_latitude":"072035a8","is_valid_coordinates":true} 
[2026-08-28 20: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-28 20:57:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710280960001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:57:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16191034568474624,"note":"Value kept but may cause issues"} 
[2026-08-28 20:57:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":780741247257088000,"note":"Value kept but may cause issues"} 
[2026-08-28 20:57:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:57:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787930788000,"timestamp_ms":1787930788000,"timestamp_seconds":1787930788,"priority":1,"record_length":96,"hex_timestamp":"000001a048fac0a0"} 
[2026-08-28 20: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-28 20:57:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20:57:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-28 20:57:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20: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-28 20: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-28 20:57:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:57:21] local.INFO: Teltonika packet parsed successfully {"connection_id":163766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:57:21] local.INFO: Passing IMEI to GPS processor {"connection_id":163766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:57:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":163766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:57:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:57:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:57:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:57:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710280960001,"66":13059,"59":206,"28":31744,"24":38,"16":16191034568474624,"45":780741247257088000},"client_ip":"117.224.197.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,28,24,16,45]} 
[2026-08-28 20:57:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:57:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:57:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710280960001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:57:21] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-08-28 20:57:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 20:57:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16191034568474624,"km_value":16191034568474.623,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:57:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":780741247257088000,"description":"Unknown IO ID 45"} 
[2026-08-28 20:57:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710280960001,"power":13059,"unknown_59":206,"unknown_28":31744,"ignition":38,"odometer":null,"unknown_45":780741247257088000}} 
[2026-08-28 20:57:21] local.INFO: DEBUG: GPS processor result {"connection_id":163766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710366,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:57:21] local.INFO: GPS data processed {"connection_id":163766,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:57:21] local.INFO: Acknowledgment sent {"connection_id":163766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:57:30] local.INFO: TCP Data received {"connection_id":166417,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:57:30] local.INFO: Processing buffer {"connection_id":166417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:57:30] local.INFO: IMEI packet received {"connection_id":166417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 20:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":166417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:57:34] local.INFO: TCP Data received {"connection_id":166416,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048f92678012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048f92678012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:57:34] local.INFO: Processing buffer {"connection_id":166416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048f92678012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:57:34] local.INFO: Packet analysis {"connection_id":166416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048f9"} 
[2026-08-28 20:57:34] local.INFO: Extracted packet for processing {"connection_id":166416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048f9"} 
[2026-08-28 20:57:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710177792001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:57:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787930683000,"timestamp_ms":1787930683000,"timestamp_seconds":1787930683,"priority":1,"record_length":96,"hex_timestamp":"000001a048f92678"} 
[2026-08-28 20:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:57:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 20:57:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:57:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":166416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":166416,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":166416,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710177792001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710177792001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:57:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:57:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710177792001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":166416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710367,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:57:34] local.INFO: GPS data processed {"connection_id":166416,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:57:34] local.INFO: Acknowledgment sent {"connection_id":166416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:57:35] local.INFO: TCP Data received {"connection_id":166417,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:57:35] local.INFO: Processing buffer {"connection_id":166417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:57:35] local.INFO: IMEI packet received {"connection_id":166417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 20:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":166417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:57:37] local.INFO: TCP Data received {"connection_id":166417,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048f69e08012d34c14006aa4840000900e62b..."} 
[2026-08-28 20:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048f69e08012d34c14006aa4840000900e62b..."} 
[2026-08-28 20:57:37] local.INFO: Processing buffer {"connection_id":166417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048f69e08012d34c14006aa4840000900e62b..."} 
[2026-08-28 20:57:37] local.INFO: Packet analysis {"connection_id":166417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048f6"} 
[2026-08-28 20:57:37] local.INFO: Extracted packet for processing {"connection_id":166417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048f6"} 
[2026-08-28 20:57:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710135296001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:57:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787930517000,"timestamp_ms":1787930517000,"timestamp_seconds":1787930517,"priority":1,"record_length":96,"hex_timestamp":"000001a048f69e08"} 
[2026-08-28 20:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 20:57:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:57:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":166417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":166417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":166417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710135296001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710135296001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:57:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:57:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:57: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-28 20:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710135296001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":166417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:57:37] local.INFO: GPS data processed {"connection_id":166417,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:57:37] local.INFO: Acknowledgment sent {"connection_id":166417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:57:42] local.INFO: TCP Data received {"connection_id":164045,"ip":"117.224.197.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:57:42] local.INFO: Processing buffer {"connection_id":164045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:57:42] local.INFO: IMEI packet received {"connection_id":164045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 20:57:42] local.INFO: IMEI acknowledgment sent {"connection_id":164045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:57:45] local.INFO: TCP Data received {"connection_id":164045,"ip":"117.224.197.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:57:45] local.INFO: Processing buffer {"connection_id":164045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:57:45] local.INFO: IMEI packet received {"connection_id":164045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":164045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:57:46] local.INFO: TCP Data received {"connection_id":164045,"ip":"117.224.197.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:57:46] local.INFO: Processing buffer {"connection_id":164045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:57:46] local.INFO: IMEI packet received {"connection_id":164045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":164045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:57:46] local.INFO: TCP Data received {"connection_id":164045,"ip":"117.224.197.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:57:46] local.INFO: Processing buffer {"connection_id":164045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:57:46] local.INFO: IMEI packet received {"connection_id":164045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":164045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:57:48] local.INFO: TCP Data received {"connection_id":164045,"ip":"117.224.197.200","data_length":795,"data_hex":"000000000000030f8e0a000001a048facc58012d0add4007202b80001800942c..."} 
[2026-08-28 20:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048facc58012d0add4007202b80001800942c..."} 
[2026-08-28 20:57:48] local.INFO: Processing buffer {"connection_id":164045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048facc58012d0add4007202b80001800942c..."} 
[2026-08-28 20:57:48] local.INFO: Packet analysis {"connection_id":164045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048fa"} 
[2026-08-28 20:57:48] local.INFO: Extracted packet for processing {"connection_id":164045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048fa"} 
[2026-08-28 20:57:48] local.INFO: GPS Element Parsed {"raw_longitude":755686720,"raw_latitude":119548800,"longitude_deg":75.568672,"latitude_deg":11.95488,"altitude":24,"angle":148,"satellites":44,"speed":37,"hex_longitude":"2d0add40","hex_latitude":"07202b80","is_valid_coordinates":true} 
[2026-08-28 20:57:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:57:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710281728001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:57:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16191176302395392,"note":"Value kept but may cause issues"} 
[2026-08-28 20:57:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":781444934698117120,"note":"Value kept but may cause issues"} 
[2026-08-28 20:57:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:57:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787930791000,"timestamp_ms":1787930791000,"timestamp_seconds":1787930791,"priority":1,"record_length":96,"hex_timestamp":"000001a048facc58"} 
[2026-08-28 20:57:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:57:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20:57:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-28 20:57:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303157174390244,"note":"Value kept but may cause issues"} 
[2026-08-28 20:57:48] local.WARNING: Large IO value detected {"io_id":59,"raw_value":58015164105490473,"note":"Value kept but may cause issues"} 
[2026-08-28 20:57:48] local.WARNING: Large IO value detected {"io_id":72,"raw_value":4202831873,"note":"Value kept but may cause issues"} 
[2026-08-28 20:57:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3829072078,"corrected_to":0} 
[2026-08-28 20:57:48] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3036728804,"note":"Value kept but may cause issues"} 
[2026-08-28 20:57:48] local.WARNING: Large IO value detected {"io_id":57,"raw_value":2228027392,"note":"Value kept but may cause issues"} 
[2026-08-28 20:57:48] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,59,28,24,241,158,16,133,160,180,45,192,65,22,42,10,66,145,102,20,43,137,1,240,181,72,32,4,113,205,36,118,196,239,52,2,57,7,21,41],"length":486,"final_offset":616,"validated_count":40,"validation_warnings":[{"io_id":205,"original":3829072078,"validated":0}]} 
[2026-08-28 20:57:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1657500773713838080,"timestamp_seconds":1657500773713838.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 20:57:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:57:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:57:48] local.INFO: Teltonika packet parsed successfully {"connection_id":164045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:57:48] local.INFO: Passing IMEI to GPS processor {"connection_id":164045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:57:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":164045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:57:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:57:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:57:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:57:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710281728001,"66":13439,"59":206,"28":31744,"24":37,"16":16191176302395392,"45":781444934698117120},"client_ip":"117.224.197.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,28,24,16,45]} 
[2026-08-28 20:57:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:57:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:57:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710281728001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:57:48] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-08-28 20:57:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 20:57:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16191176302395392,"km_value":16191176302395.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:57:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":781444934698117120,"description":"Unknown IO ID 45"} 
[2026-08-28 20:57:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710281728001,"power":13439,"unknown_59":206,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":781444934698117120}} 
[2026-08-28 20:57:48] local.INFO: DEBUG: GPS processor result {"connection_id":164045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710369,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:57:48] local.INFO: GPS data processed {"connection_id":164045,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:57:48] local.INFO: Acknowledgment sent {"connection_id":164045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:57:49] local.INFO: TCP Data received {"connection_id":164045,"ip":"117.224.197.200","data_length":795,"data_hex":"000000000000030f8e0a000001a048fae7b0012d0ae980072015d8001a00a52c..."} 
[2026-08-28 20:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048fae7b0012d0ae980072015d8001a00a52c..."} 
[2026-08-28 20:57:49] local.INFO: Processing buffer {"connection_id":164045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048fae7b0012d0ae980072015d8001a00a52c..."} 
[2026-08-28 20:57:49] local.INFO: Packet analysis {"connection_id":164045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048fa"} 
[2026-08-28 20:57:49] local.INFO: Extracted packet for processing {"connection_id":164045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048fa"} 
[2026-08-28 20:57:49] local.INFO: GPS Element Parsed {"raw_longitude":755689856,"raw_latitude":119543256,"longitude_deg":75.5689856,"latitude_deg":11.9543256,"altitude":26,"angle":165,"satellites":44,"speed":34,"hex_longitude":"2d0ae980","hex_latitude":"072015d8","is_valid_coordinates":true} 
[2026-08-28 20: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-28 20:57:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710282496001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:57:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16191485540040704,"note":"Value kept but may cause issues"} 
[2026-08-28 20:57:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":782852309581004800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:57:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:57:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787930798000,"timestamp_ms":1787930798000,"timestamp_seconds":1787930798,"priority":1,"record_length":96,"hex_timestamp":"000001a048fae7b0"} 
[2026-08-28 20: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-28 20:57:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20: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":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-28 20:57:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20: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-28 20: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-28 20:57:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:57:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:57:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:57:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:57:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:57:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:57:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:57:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710282496001,"66":13439,"59":206,"28":31744,"24":34,"16":16191485540040704,"45":782852309581004800},"client_ip":"117.224.197.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,28,24,16,45]} 
[2026-08-28 20:57:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:57:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:57:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710282496001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:57:49] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-08-28 20:57:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 20:57:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16191485540040704,"km_value":16191485540040.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:57:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":782852309581004800,"description":"Unknown IO ID 45"} 
[2026-08-28 20:57:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710282496001,"power":13439,"unknown_59":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":782852309581004800}} 
[2026-08-28 20:57:49] local.INFO: DEBUG: GPS processor result {"connection_id":164045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710370,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:57:49] local.INFO: GPS data processed {"connection_id":164045,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:57:49] local.INFO: Acknowledgment sent {"connection_id":164045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:57:56] local.INFO: TCP Data received {"connection_id":166418,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166418,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:57:56] local.INFO: Processing buffer {"connection_id":166418,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:57:56] local.INFO: IMEI packet received {"connection_id":166418,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 20:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":166418,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:58:01] local.INFO: TCP Data received {"connection_id":166418,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166418,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:58:01] local.INFO: Processing buffer {"connection_id":166418,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:58:01] local.INFO: IMEI packet received {"connection_id":166418,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 20:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":166418,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:58:03] local.INFO: TCP Data received {"connection_id":166418,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048f92678012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048f92678012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:58:03] local.INFO: Processing buffer {"connection_id":166418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048f92678012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:58:03] local.INFO: Packet analysis {"connection_id":166418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048f9"} 
[2026-08-28 20:58:03] local.INFO: Extracted packet for processing {"connection_id":166418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048f9"} 
[2026-08-28 20:58:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710177792001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:58:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787930683000,"timestamp_ms":1787930683000,"timestamp_seconds":1787930683,"priority":1,"record_length":96,"hex_timestamp":"000001a048f92678"} 
[2026-08-28 20:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:58:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 20:58:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:58:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:58:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":166418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":166418,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":166418,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:58:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710177792001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710177792001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:58:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:58:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710177792001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":166418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710371,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:58:03] local.INFO: GPS data processed {"connection_id":166418,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:58:03] local.INFO: Acknowledgment sent {"connection_id":166418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:58:08] local.INFO: TCP Data received {"connection_id":166417,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048fb35d0012d34c14006aa4840000900e629..."} 
[2026-08-28 20:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048fb35d0012d34c14006aa4840000900e629..."} 
[2026-08-28 20:58:08] local.INFO: Processing buffer {"connection_id":166417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048fb35d0012d34c14006aa4840000900e629..."} 
[2026-08-28 20:58:08] local.INFO: Packet analysis {"connection_id":166417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048fb"} 
[2026-08-28 20:58:08] local.INFO: Extracted packet for processing {"connection_id":166417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048fb"} 
[2026-08-28 20:58:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710212352001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:58:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787930818000,"timestamp_ms":1787930818000,"timestamp_seconds":1787930818,"priority":1,"record_length":96,"hex_timestamp":"000001a048fb35d0"} 
[2026-08-28 20:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:58:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 20:58:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:58:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":166417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":166417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":166417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:58:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710212352001,"66":25212,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710212352001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:58:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:58:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:58: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-28 20:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710212352001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":166417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:58:08] local.INFO: GPS data processed {"connection_id":166417,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:58:08] local.INFO: Acknowledgment sent {"connection_id":166417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:58:20] local.INFO: TCP Data received {"connection_id":164045,"ip":"117.224.197.200","data_length":795,"data_hex":"000000000000030f8e0a000001a048fbaee8012d0b8800071f9ee0001b006c2a..."} 
[2026-08-28 20:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048fbaee8012d0b8800071f9ee0001b006c2a..."} 
[2026-08-28 20:58:20] local.INFO: Processing buffer {"connection_id":164045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048fbaee8012d0b8800071f9ee0001b006c2a..."} 
[2026-08-28 20:58:20] local.INFO: Packet analysis {"connection_id":164045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048fb"} 
[2026-08-28 20:58:20] local.INFO: Extracted packet for processing {"connection_id":164045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048fb"} 
[2026-08-28 20:58:20] local.INFO: GPS Element Parsed {"raw_longitude":755730432,"raw_latitude":119512800,"longitude_deg":75.5730432,"latitude_deg":11.95128,"altitude":27,"angle":108,"satellites":42,"speed":47,"hex_longitude":"2d0b8800","hex_latitude":"071f9ee0","is_valid_coordinates":true} 
[2026-08-28 20:58:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:58:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710296576001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:58:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16194049635516416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:58:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":827325355892416512,"note":"Value kept but may cause issues"} 
[2026-08-28 20:58:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:58:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787930849000,"timestamp_ms":1787930849000,"timestamp_seconds":1787930849,"priority":1,"record_length":96,"hex_timestamp":"000001a048fbaee8"} 
[2026-08-28 20:58:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:58:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20:58:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-28 20:58:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:58:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:58:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:58:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:58:20] local.INFO: Teltonika packet parsed successfully {"connection_id":164045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:58:20] local.INFO: Passing IMEI to GPS processor {"connection_id":164045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:58:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":164045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:58:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:58:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:58:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:58:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710296576001,"66":12950,"59":206,"28":31744,"24":47,"16":16194049635516416,"45":827325355892416512},"client_ip":"117.224.197.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,28,24,16,45]} 
[2026-08-28 20:58:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:58:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:58:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710296576001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:58:20] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-08-28 20:58:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 20:58:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16194049635516416,"km_value":16194049635516.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:58:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":827325355892416512,"description":"Unknown IO ID 45"} 
[2026-08-28 20:58:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710296576001,"power":12950,"unknown_59":206,"unknown_28":31744,"ignition":47,"odometer":null,"unknown_45":827325355892416512}} 
[2026-08-28 20:58:20] local.INFO: DEBUG: GPS processor result {"connection_id":164045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:58:20] local.INFO: GPS data processed {"connection_id":164045,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:58:20] local.INFO: Acknowledgment sent {"connection_id":164045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:58:30] local.INFO: TCP Data received {"connection_id":163767,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:58:30] local.INFO: Processing buffer {"connection_id":163767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:58:30] local.INFO: IMEI packet received {"connection_id":163767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 20:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":163767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:58:35] local.INFO: TCP Data received {"connection_id":163767,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:58:35] local.INFO: Processing buffer {"connection_id":163767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:58:35] local.INFO: IMEI packet received {"connection_id":163767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 20:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":163767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:58:36] local.INFO: TCP Data received {"connection_id":166418,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048f92678012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048f92678012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:58:36] local.INFO: Processing buffer {"connection_id":166418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048f92678012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:58:36] local.INFO: Packet analysis {"connection_id":166418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048f9"} 
[2026-08-28 20:58:36] local.INFO: Extracted packet for processing {"connection_id":166418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048f9"} 
[2026-08-28 20:58:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710177792001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787930683000,"timestamp_ms":1787930683000,"timestamp_seconds":1787930683,"priority":1,"record_length":96,"hex_timestamp":"000001a048f92678"} 
[2026-08-28 20:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:58:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 20:58:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:58:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":166418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":166418,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":166418,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710177792001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710177792001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:58:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:58:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710177792001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":166418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710374,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:58:36] local.INFO: GPS data processed {"connection_id":166418,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:58:36] local.INFO: Acknowledgment sent {"connection_id":166418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:58:37] local.INFO: TCP Data received {"connection_id":163767,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048fb35d0012d34c14006aa4840000900e629..."} 
[2026-08-28 20:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048fb35d0012d34c14006aa4840000900e629..."} 
[2026-08-28 20:58:37] local.INFO: Processing buffer {"connection_id":163767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048fb35d0012d34c14006aa4840000900e629..."} 
[2026-08-28 20:58:37] local.INFO: Packet analysis {"connection_id":163767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048fb"} 
[2026-08-28 20:58:37] local.INFO: Extracted packet for processing {"connection_id":163767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048fb"} 
[2026-08-28 20:58:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710212352001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787930818000,"timestamp_ms":1787930818000,"timestamp_seconds":1787930818,"priority":1,"record_length":96,"hex_timestamp":"000001a048fb35d0"} 
[2026-08-28 20:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 20:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710212352001,"66":25212,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710212352001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:58:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:58:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:58: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-28 20:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710212352001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:58:37] 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":710375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:58:37] local.INFO: GPS data processed {"connection_id":163767,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:58:37] local.INFO: Acknowledgment sent {"connection_id":163767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:58:42] local.INFO: TCP Data received {"connection_id":163768,"ip":"117.224.197.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:58:42] local.INFO: Processing buffer {"connection_id":163768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:58:42] local.INFO: IMEI packet received {"connection_id":163768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 20:58:42] local.INFO: IMEI acknowledgment sent {"connection_id":163768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:58:48] local.INFO: TCP Data received {"connection_id":163768,"ip":"117.224.197.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:58:48] local.INFO: Processing buffer {"connection_id":163768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:58:48] local.INFO: IMEI packet received {"connection_id":163768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:58:48] local.INFO: IMEI acknowledgment sent {"connection_id":163768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:58:49] local.INFO: TCP Data received {"connection_id":163768,"ip":"117.224.197.200","data_length":795,"data_hex":"000000000000030f8e0a000001a048fbbaa0012d0b94c0071f9900001b007d2b..."} 
[2026-08-28 20:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048fbbaa0012d0b94c0071f9900001b007d2b..."} 
[2026-08-28 20:58:49] local.INFO: Processing buffer {"connection_id":163768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048fbbaa0012d0b94c0071f9900001b007d2b..."} 
[2026-08-28 20:58:49] local.INFO: Packet analysis {"connection_id":163768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048fb"} 
[2026-08-28 20:58:49] local.INFO: Extracted packet for processing {"connection_id":163768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048fb"} 
[2026-08-28 20:58:49] local.INFO: GPS Element Parsed {"raw_longitude":755733696,"raw_latitude":119511296,"longitude_deg":75.5733696,"latitude_deg":11.9511296,"altitude":27,"angle":125,"satellites":43,"speed":48,"hex_longitude":"2d0b94c0","hex_latitude":"071f9900","is_valid_coordinates":true} 
[2026-08-28 20:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:58:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710297344001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:58:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16194221434208256,"note":"Value kept but may cause issues"} 
[2026-08-28 20:58:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":830914161845133312,"note":"Value kept but may cause issues"} 
[2026-08-28 20:58:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:58:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787930852000,"timestamp_ms":1787930852000,"timestamp_seconds":1787930852,"priority":1,"record_length":96,"hex_timestamp":"000001a048fbbaa0"} 
[2026-08-28 20:58:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:58:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-28 20:58:49] 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-28 20:58:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:58:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:58:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:58:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:58:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:58:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:58:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:58:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:58:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:58:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710297344001,"66":13352,"59":206,"28":31744,"24":48,"16":16194221434208256,"45":830914161845133312},"client_ip":"117.224.197.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,28,24,16,45]} 
[2026-08-28 20:58:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:58:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:58:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710297344001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:58:49] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-08-28 20:58:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 20:58:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16194221434208256,"km_value":16194221434208.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:58:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":830914161845133312,"description":"Unknown IO ID 45"} 
[2026-08-28 20:58:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710297344001,"power":13352,"unknown_59":206,"unknown_28":31744,"ignition":48,"odometer":null,"unknown_45":830914161845133312}} 
[2026-08-28 20:58:50] 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":710376,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:58:50] local.INFO: GPS data processed {"connection_id":163768,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:58:50] local.INFO: Acknowledgment sent {"connection_id":163768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:58:55] local.INFO: TCP Data received {"connection_id":163769,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163769,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:58:55] local.INFO: Processing buffer {"connection_id":163769,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:58:55] local.INFO: IMEI packet received {"connection_id":163769,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 20:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":163769,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:59:01] local.INFO: TCP Data received {"connection_id":163769,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163769,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:59:01] local.INFO: Processing buffer {"connection_id":163769,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:59:01] local.INFO: IMEI packet received {"connection_id":163769,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 20:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":163769,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:59:02] local.INFO: TCP Data received {"connection_id":163769,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048f92678012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048f92678012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:59:02] local.INFO: Processing buffer {"connection_id":163769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048f92678012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:59:02] local.INFO: Packet analysis {"connection_id":163769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048f9"} 
[2026-08-28 20:59:02] local.INFO: Extracted packet for processing {"connection_id":163769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048f9"} 
[2026-08-28 20:59:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710177792001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:59:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:59:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:59:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:59:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787930683000,"timestamp_ms":1787930683000,"timestamp_seconds":1787930683,"priority":1,"record_length":96,"hex_timestamp":"000001a048f92678"} 
[2026-08-28 20:59:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:59:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 20:59:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:59:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:59:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:59:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:59:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:59:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163769,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:59:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163769,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:59:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:59:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:59:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:59:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710177792001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:59:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:59:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:59:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710177792001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:59:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:59:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:59:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:59:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:59:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710177792001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:59:02] 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":710377,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:59:02] local.INFO: GPS data processed {"connection_id":163769,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:59:02] local.INFO: Acknowledgment sent {"connection_id":163769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:59:09] local.INFO: TCP Data received {"connection_id":163767,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048fb35d0012d34c14006aa4840000900e629..."} 
[2026-08-28 20:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048fb35d0012d34c14006aa4840000900e629..."} 
[2026-08-28 20:59:09] local.INFO: Processing buffer {"connection_id":163767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048fb35d0012d34c14006aa4840000900e629..."} 
[2026-08-28 20:59:09] local.INFO: Packet analysis {"connection_id":163767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048fb"} 
[2026-08-28 20:59:09] local.INFO: Extracted packet for processing {"connection_id":163767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048fb"} 
[2026-08-28 20:59:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20: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-28 20:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710212352001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:59:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787930818000,"timestamp_ms":1787930818000,"timestamp_seconds":1787930818,"priority":1,"record_length":96,"hex_timestamp":"000001a048fb35d0"} 
[2026-08-28 20: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-28 20:59:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 20:59:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20: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-28 20: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-28 20:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:59:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710212352001,"66":25212,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710212352001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:59:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:59:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20: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-28 20:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710212352001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:59:09] 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":710378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:59:09] local.INFO: GPS data processed {"connection_id":163767,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:59:09] local.INFO: Acknowledgment sent {"connection_id":163767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:59:28] local.INFO: TCP Data received {"connection_id":163768,"ip":"117.224.197.200","data_length":795,"data_hex":"000000000000030f8e0a000001a048fbd9e0012d0bb3c0071f82b00019007d2c..."} 
[2026-08-28 20:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048fbd9e0012d0bb3c0071f82b00019007d2c..."} 
[2026-08-28 20:59:28] local.INFO: Processing buffer {"connection_id":163768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048fbd9e0012d0bb3c0071f82b00019007d2c..."} 
[2026-08-28 20:59:28] local.INFO: Packet analysis {"connection_id":163768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048fb"} 
[2026-08-28 20:59:28] local.INFO: Extracted packet for processing {"connection_id":163768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048fb"} 
[2026-08-28 20:59:28] local.INFO: GPS Element Parsed {"raw_longitude":755741632,"raw_latitude":119505584,"longitude_deg":75.5741632,"latitude_deg":11.9505584,"altitude":25,"angle":125,"satellites":44,"speed":47,"hex_longitude":"2d0bb3c0","hex_latitude":"071f82b0","is_valid_coordinates":true} 
[2026-08-28 20:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:59:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710298112001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:59:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16194689585643520,"note":"Value kept but may cause issues"} 
[2026-08-28 20:59:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":834502967797809152,"note":"Value kept but may cause issues"} 
[2026-08-28 20:59:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:59:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787930860000,"timestamp_ms":1787930860000,"timestamp_seconds":1787930860,"priority":1,"record_length":96,"hex_timestamp":"000001a048fbd9e0"} 
[2026-08-28 20:59:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:59:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-28 20:59:28] 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-28 20:59:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:59:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:59:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:59:28] local.INFO: Teltonika packet parsed successfully {"connection_id":163768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:59:28] local.INFO: Passing IMEI to GPS processor {"connection_id":163768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:59:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":163768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:59:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:59:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:59:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:59:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710298112001,"66":13439,"59":206,"28":31744,"24":47,"16":16194689585643520,"45":834502967797809152},"client_ip":"117.224.197.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,28,24,16,45]} 
[2026-08-28 20:59:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:59:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:59:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710298112001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:59:28] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-08-28 20:59:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 20:59:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16194689585643520,"km_value":16194689585643.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:59:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":834502967797809152,"description":"Unknown IO ID 45"} 
[2026-08-28 20:59:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710298112001,"power":13439,"unknown_59":206,"unknown_28":31744,"ignition":47,"odometer":null,"unknown_45":834502967797809152}} 
[2026-08-28 20:59:28] 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":710379,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:59:28] local.INFO: GPS data processed {"connection_id":163768,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:59:28] local.INFO: Acknowledgment sent {"connection_id":163768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:59:29] local.INFO: TCP Data received {"connection_id":165063,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:59:29] local.INFO: Processing buffer {"connection_id":165063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:59:29] local.INFO: IMEI packet received {"connection_id":165063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 20:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":165063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:59:34] local.INFO: TCP Data received {"connection_id":163769,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048f92678012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048f92678012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:59:34] local.INFO: Processing buffer {"connection_id":163769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048f92678012d34bcc006aa41e0000d000026..."} 
[2026-08-28 20:59:34] local.INFO: Packet analysis {"connection_id":163769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048f9"} 
[2026-08-28 20:59:34] local.INFO: Extracted packet for processing {"connection_id":163769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048f9"} 
[2026-08-28 20:59:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 20:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710177792001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 20:59:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 20:59:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787930683000,"timestamp_ms":1787930683000,"timestamp_seconds":1787930683,"priority":1,"record_length":96,"hex_timestamp":"000001a048f92678"} 
[2026-08-28 20:59:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:59:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 20:59:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:59:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:59:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163769,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163769,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 20:59:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 20:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 20:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710177792001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 20:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 20:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710177792001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:59:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:59:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:59:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 20:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710177792001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 20:59:34] 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":710380,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:59:34] local.INFO: GPS data processed {"connection_id":163769,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:59:34] local.INFO: Acknowledgment sent {"connection_id":163769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:59:35] local.INFO: TCP Data received {"connection_id":165063,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:59:35] local.INFO: Processing buffer {"connection_id":165063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 20:59:35] local.INFO: IMEI packet received {"connection_id":165063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 20:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":165063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:59:36] local.INFO: TCP Data received {"connection_id":165063,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048fb35d0012d34c14006aa4840000900e629..."} 
[2026-08-28 20:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048fb35d0012d34c14006aa4840000900e629..."} 
[2026-08-28 20:59:36] local.INFO: Processing buffer {"connection_id":165063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048fb35d0012d34c14006aa4840000900e629..."} 
[2026-08-28 20:59:36] local.INFO: Packet analysis {"connection_id":165063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048fb"} 
[2026-08-28 20:59:36] local.INFO: Extracted packet for processing {"connection_id":165063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048fb"} 
[2026-08-28 20:59:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 20:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710212352001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 20:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 20:59:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787930818000,"timestamp_ms":1787930818000,"timestamp_seconds":1787930818,"priority":1,"record_length":96,"hex_timestamp":"000001a048fb35d0"} 
[2026-08-28 20:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:59:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 20:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 20:59:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:59:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":165063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":165063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":165063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 20:59:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 20:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 20:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710212352001,"66":25212,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 20:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 20:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 20:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710212352001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:59:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 20:59:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 20:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 20:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710212352001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 20:59:36] 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":710381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:59:36] local.INFO: GPS data processed {"connection_id":165063,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:59:36] local.INFO: Acknowledgment sent {"connection_id":165063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:59:48] local.INFO: TCP Data received {"connection_id":166419,"ip":"117.224.197.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166419,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:59:48] local.INFO: Processing buffer {"connection_id":166419,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:59:48] local.INFO: IMEI packet received {"connection_id":166419,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 20:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":166419,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 20:59:49] local.INFO: TCP Data received {"connection_id":166419,"ip":"117.224.197.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166419,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:59:49] local.INFO: Processing buffer {"connection_id":166419,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 20:59:49] local.INFO: IMEI packet received {"connection_id":166419,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 20:59:49] local.INFO: IMEI acknowledgment sent {"connection_id":166419,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 20:59:51] local.INFO: TCP Data received {"connection_id":166419,"ip":"117.224.197.200","data_length":795,"data_hex":"000000000000030f8e0a000001a048fcdbb0012d0c2200071eb538003600b629..."} 
[2026-08-28 20:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048fcdbb0012d0c2200071eb538003600b629..."} 
[2026-08-28 20:59:51] local.INFO: Processing buffer {"connection_id":166419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048fcdbb0012d0c2200071eb538003600b629..."} 
[2026-08-28 20:59:51] local.INFO: Packet analysis {"connection_id":166419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048fc"} 
[2026-08-28 20:59:51] local.INFO: Extracted packet for processing {"connection_id":166419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048fc"} 
[2026-08-28 20:59:51] local.INFO: GPS Element Parsed {"raw_longitude":755769856,"raw_latitude":119452984,"longitude_deg":75.5769856,"latitude_deg":11.9452984,"altitude":54,"angle":182,"satellites":41,"speed":29,"hex_longitude":"2d0c2200","hex_latitude":"071eb538","is_valid_coordinates":true} 
[2026-08-28 20: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-28 20:59:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710314240001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:59:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16197730422489088,"note":"Value kept but may cause issues"} 
[2026-08-28 20:59:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":874542783222247424,"note":"Value kept but may cause issues"} 
[2026-08-28 20:59:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:59:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787930926000,"timestamp_ms":1787930926000,"timestamp_seconds":1787930926,"priority":1,"record_length":96,"hex_timestamp":"000001a048fcdbb0"} 
[2026-08-28 20: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-28 20:59:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-28 20:59:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20: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-28 20: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-28 20:59:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:59:51] local.INFO: Teltonika packet parsed successfully {"connection_id":166419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:59:51] local.INFO: Passing IMEI to GPS processor {"connection_id":166419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:59:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":166419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:59:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:59:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:59:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:59:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710314240001,"66":13363,"68":206,"28":31744,"24":29,"16":16197730422489088,"45":874542783222247424},"client_ip":"117.224.197.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,28,24,16,45]} 
[2026-08-28 20:59:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710314240001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:59:51] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-08-28 20:59:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 20:59:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16197730422489088,"km_value":16197730422489.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:59:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":874542783222247424,"description":"Unknown IO ID 45"} 
[2026-08-28 20:59:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710314240001,"power":13363,"unknown_68":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":874542783222247424}} 
[2026-08-28 20:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":166419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710382,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:59:51] local.INFO: GPS data processed {"connection_id":166419,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:59:51] local.INFO: Acknowledgment sent {"connection_id":166419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:59:53] local.INFO: TCP Data received {"connection_id":166419,"ip":"117.224.197.200","data_length":795,"data_hex":"000000000000030f8e0a000001a048fcef38012d0c2200071eaab80038009f29..."} 
[2026-08-28 20:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048fcef38012d0c2200071eaab80038009f29..."} 
[2026-08-28 20:59:53] local.INFO: Processing buffer {"connection_id":166419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048fcef38012d0c2200071eaab80038009f29..."} 
[2026-08-28 20:59:53] local.INFO: Packet analysis {"connection_id":166419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048fc"} 
[2026-08-28 20:59:53] local.INFO: Extracted packet for processing {"connection_id":166419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048fc"} 
[2026-08-28 20:59:53] local.INFO: GPS Element Parsed {"raw_longitude":755769856,"raw_latitude":119450296,"longitude_deg":75.5769856,"latitude_deg":11.9450296,"altitude":56,"angle":159,"satellites":41,"speed":13,"hex_longitude":"2d0c2200","hex_latitude":"071eaab8","is_valid_coordinates":true} 
[2026-08-28 20:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 20:59:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710317056001,"note":"Value kept but may cause issues"} 
[2026-08-28 20:59:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16197859271507968,"note":"Value kept but may cause issues"} 
[2026-08-28 20:59:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":874261308243261440,"note":"Value kept but may cause issues"} 
[2026-08-28 20:59:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 20:59:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787930931000,"timestamp_ms":1787930931000,"timestamp_seconds":1787930931,"priority":1,"record_length":96,"hex_timestamp":"000001a048fcef38"} 
[2026-08-28 20:59:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 20:59:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 20:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-28 20:59:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 20:59:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 20:59:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 20:59:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 20:59:53] local.INFO: Teltonika packet parsed successfully {"connection_id":166419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 20:59:53] local.INFO: Passing IMEI to GPS processor {"connection_id":166419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:59:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":166419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 20:59:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 20:59:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 20:59:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 20:59:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710317056001,"66":13396,"68":206,"28":31744,"24":13,"16":16197859271507968,"45":874261308243261440},"client_ip":"117.224.197.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,28,24,16,45]} 
[2026-08-28 20:59:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 20:59:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 20:59:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710317056001,"description":"Unknown IO ID 0"} 
[2026-08-28 20:59:53] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-08-28 20:59:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 20:59:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16197859271507968,"km_value":16197859271507.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 20:59:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":874261308243261440,"description":"Unknown IO ID 45"} 
[2026-08-28 20:59:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710317056001,"power":13396,"unknown_68":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":874261308243261440}} 
[2026-08-28 20:59:54] local.INFO: DEBUG: GPS processor result {"connection_id":166419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710383,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 20:59:54] local.INFO: GPS data processed {"connection_id":166419,"processed":1,"errors":0,"total":1} 
[2026-08-28 20:59:54] local.INFO: Acknowledgment sent {"connection_id":166419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 20:59:55] local.INFO: TCP Data received {"connection_id":163770,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163770,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:59:55] local.INFO: Processing buffer {"connection_id":163770,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 20:59:55] local.INFO: IMEI packet received {"connection_id":163770,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 20:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":163770,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:00:01] local.INFO: TCP Data received {"connection_id":163770,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163770,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:00:01] local.INFO: Processing buffer {"connection_id":163770,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:00:01] local.INFO: IMEI packet received {"connection_id":163770,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 21:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":163770,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:00:03] local.INFO: TCP Data received {"connection_id":163770,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048f92678012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048f92678012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:00:03] local.INFO: Processing buffer {"connection_id":163770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048f92678012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:00:03] local.INFO: Packet analysis {"connection_id":163770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048f9"} 
[2026-08-28 21:00:03] local.INFO: Extracted packet for processing {"connection_id":163770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048f9"} 
[2026-08-28 21:00:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710177792001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:00:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787930683000,"timestamp_ms":1787930683000,"timestamp_seconds":1787930683,"priority":1,"record_length":96,"hex_timestamp":"000001a048f92678"} 
[2026-08-28 21:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:00:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 21:00:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:00:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163770,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163770,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:00:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710177792001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710177792001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:00:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:00:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710177792001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:00:03] 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":710384,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:00:03] local.INFO: GPS data processed {"connection_id":163770,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:00:03] local.INFO: Acknowledgment sent {"connection_id":163770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:00:08] local.INFO: TCP Data received {"connection_id":165063,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048fb35d0012d34c14006aa4840000900e629..."} 
[2026-08-28 21:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048fb35d0012d34c14006aa4840000900e629..."} 
[2026-08-28 21:00:08] local.INFO: Processing buffer {"connection_id":165063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048fb35d0012d34c14006aa4840000900e629..."} 
[2026-08-28 21:00:08] local.INFO: Packet analysis {"connection_id":165063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048fb"} 
[2026-08-28 21:00:08] local.INFO: Extracted packet for processing {"connection_id":165063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048fb"} 
[2026-08-28 21:00:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:00:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710212352001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:00:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:00:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:00:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:00:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787930818000,"timestamp_ms":1787930818000,"timestamp_seconds":1787930818,"priority":1,"record_length":96,"hex_timestamp":"000001a048fb35d0"} 
[2026-08-28 21:00:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:00:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:00:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 21:00:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:00:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:00:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:00:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:00:08] local.INFO: Teltonika packet parsed successfully {"connection_id":165063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:00:08] local.INFO: Passing IMEI to GPS processor {"connection_id":165063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:00:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":165063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:00:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:00:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:00:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:00:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710212352001,"66":25212,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:00:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:00:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:00:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710212352001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:00:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:00:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:00: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-28 21:00:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:00:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710212352001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:00:08] 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":710385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:00:08] local.INFO: GPS data processed {"connection_id":165063,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:00:08] local.INFO: Acknowledgment sent {"connection_id":165063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:00:25] local.INFO: TCP Data received {"connection_id":166419,"ip":"117.224.197.200","data_length":795,"data_hex":"000000000000030f8e0a000001a048fcf320012d0c22c0071ea9a00038008b28..."} 
[2026-08-28 21:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048fcf320012d0c22c0071ea9a00038008b28..."} 
[2026-08-28 21:00:25] local.INFO: Processing buffer {"connection_id":166419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048fcf320012d0c22c0071ea9a00038008b28..."} 
[2026-08-28 21:00:25] local.INFO: Packet analysis {"connection_id":166419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048fc"} 
[2026-08-28 21:00:25] local.INFO: Extracted packet for processing {"connection_id":166419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048fc"} 
[2026-08-28 21:00:25] local.INFO: GPS Element Parsed {"raw_longitude":755770048,"raw_latitude":119450016,"longitude_deg":75.5770048,"latitude_deg":11.9450016,"altitude":56,"angle":139,"satellites":40,"speed":12,"hex_longitude":"2d0c22c0","hex_latitude":"071ea9a0","is_valid_coordinates":true} 
[2026-08-28 21:00:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:00:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710318336001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:00:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16197876451377152,"note":"Value kept but may cause issues"} 
[2026-08-28 21:00:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":874261308242573312,"note":"Value kept but may cause issues"} 
[2026-08-28 21:00:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:00:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787930932000,"timestamp_ms":1787930932000,"timestamp_seconds":1787930932,"priority":1,"record_length":96,"hex_timestamp":"000001a048fcf320"} 
[2026-08-28 21:00:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:00:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21:00:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-28 21:00:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:00:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:00:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:00:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:00:25] local.INFO: Teltonika packet parsed successfully {"connection_id":166419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:00:25] local.INFO: Passing IMEI to GPS processor {"connection_id":166419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:00:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":166419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:00:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:00:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:00:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:00:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710318336001,"66":13396,"68":206,"28":31744,"24":12,"16":16197876451377152,"45":874261308242573312},"client_ip":"117.224.197.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,28,24,16,45]} 
[2026-08-28 21:00:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:00:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:00:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710318336001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:00:25] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-08-28 21:00:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:00:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16197876451377152,"km_value":16197876451377.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:00:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":874261308242573312,"description":"Unknown IO ID 45"} 
[2026-08-28 21:00:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710318336001,"power":13396,"unknown_68":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":874261308242573312}} 
[2026-08-28 21:00:26] local.INFO: DEBUG: GPS processor result {"connection_id":166419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710386,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:00:26] local.INFO: GPS data processed {"connection_id":166419,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:00:26] local.INFO: Acknowledgment sent {"connection_id":166419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:00:30] local.INFO: TCP Data received {"connection_id":164046,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:00:30] local.INFO: Processing buffer {"connection_id":164046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:00:30] local.INFO: IMEI packet received {"connection_id":164046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 21:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":164046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:00:35] local.INFO: TCP Data received {"connection_id":163770,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048fdbe40012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048fdbe40012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:00:35] local.INFO: Processing buffer {"connection_id":163770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048fdbe40012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:00:35] local.INFO: Packet analysis {"connection_id":163770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048fd"} 
[2026-08-28 21:00:35] local.INFO: Extracted packet for processing {"connection_id":163770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048fd"} 
[2026-08-28 21:00:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:00:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710254848001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:00:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:00:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:00:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:00:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787930984000,"timestamp_ms":1787930984000,"timestamp_seconds":1787930984,"priority":1,"record_length":96,"hex_timestamp":"000001a048fdbe40"} 
[2026-08-28 21:00:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:00:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:00:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:00:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:00:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:00:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:00:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:00:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163770,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:00:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163770,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:00:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:00:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:00:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:00:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710254848001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:00:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:00:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:00:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710254848001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:00:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:00:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:00:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:00:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:00:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710254848001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:00:35] 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":710387,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:00:35] local.INFO: GPS data processed {"connection_id":163770,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:00:35] local.INFO: Acknowledgment sent {"connection_id":163770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:00:35] local.INFO: TCP Data received {"connection_id":164046,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:00:35] local.INFO: Processing buffer {"connection_id":164046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:00:35] local.INFO: IMEI packet received {"connection_id":164046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 21:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":164046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:00:37] local.INFO: TCP Data received {"connection_id":164046,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048fb35d0012d34c14006aa4840000900e629..."} 
[2026-08-28 21:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048fb35d0012d34c14006aa4840000900e629..."} 
[2026-08-28 21:00:37] local.INFO: Processing buffer {"connection_id":164046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048fb35d0012d34c14006aa4840000900e629..."} 
[2026-08-28 21:00:37] local.INFO: Packet analysis {"connection_id":164046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048fb"} 
[2026-08-28 21:00:37] local.INFO: Extracted packet for processing {"connection_id":164046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048fb"} 
[2026-08-28 21:00:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710212352001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787930818000,"timestamp_ms":1787930818000,"timestamp_seconds":1787930818,"priority":1,"record_length":96,"hex_timestamp":"000001a048fb35d0"} 
[2026-08-28 21:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 21:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710212352001,"66":25212,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710212352001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:00:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:00:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:00: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-28 21:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710212352001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":164046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:00:37] local.INFO: GPS data processed {"connection_id":164046,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:00:37] local.INFO: Acknowledgment sent {"connection_id":164046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:00:43] local.INFO: TCP Data received {"connection_id":166420,"ip":"117.224.197.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166420,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:00:43] local.INFO: Processing buffer {"connection_id":166420,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:00:43] local.INFO: IMEI packet received {"connection_id":166420,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 21:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":166420,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:00:45] local.INFO: TCP Data received {"connection_id":166420,"ip":"117.224.197.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166420,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:00:45] local.INFO: Processing buffer {"connection_id":166420,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:00:45] local.INFO: IMEI packet received {"connection_id":166420,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 21:00:45] local.INFO: IMEI acknowledgment sent {"connection_id":166420,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:00:47] local.INFO: TCP Data received {"connection_id":166420,"ip":"117.224.197.200","data_length":795,"data_hex":"000000000000030f8e0a000001a048fcf708012d0c2400071ea8e00038007628..."} 
[2026-08-28 21:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048fcf708012d0c2400071ea8e00038007628..."} 
[2026-08-28 21:00:47] local.INFO: Processing buffer {"connection_id":166420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048fcf708012d0c2400071ea8e00038007628..."} 
[2026-08-28 21:00:47] local.INFO: Packet analysis {"connection_id":166420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048fc"} 
[2026-08-28 21:00:47] local.INFO: Extracted packet for processing {"connection_id":166420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048fc"} 
[2026-08-28 21:00:47] local.INFO: GPS Element Parsed {"raw_longitude":755770368,"raw_latitude":119449824,"longitude_deg":75.5770368,"latitude_deg":11.9449824,"altitude":56,"angle":118,"satellites":40,"speed":15,"hex_longitude":"2d0c2400","hex_latitude":"071ea8e0","is_valid_coordinates":true} 
[2026-08-28 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-28 21:00:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710318592001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:00:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16197893631246336,"note":"Value kept but may cause issues"} 
[2026-08-28 21:00:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":874472414475034624,"note":"Value kept but may cause issues"} 
[2026-08-28 21:00:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:00:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787930933000,"timestamp_ms":1787930933000,"timestamp_seconds":1787930933,"priority":1,"record_length":96,"hex_timestamp":"000001a048fcf708"} 
[2026-08-28 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-28 21:00:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-28 21:00:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 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-28 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-28 21:00:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:00:47] local.INFO: Teltonika packet parsed successfully {"connection_id":166420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:00:47] local.INFO: Passing IMEI to GPS processor {"connection_id":166420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:00:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":166420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:00:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:00:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:00:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:00:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710318592001,"66":13396,"68":206,"28":31744,"24":15,"16":16197893631246336,"45":874472414475034624},"client_ip":"117.224.197.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,28,24,16,45]} 
[2026-08-28 21:00:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:00:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:00:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710318592001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:00:47] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-08-28 21:00:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:00:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16197893631246336,"km_value":16197893631246.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:00:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":874472414475034624,"description":"Unknown IO ID 45"} 
[2026-08-28 21:00:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710318592001,"power":13396,"unknown_68":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":874472414475034624}} 
[2026-08-28 21:00:47] local.INFO: DEBUG: GPS processor result {"connection_id":166420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710389,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:00:47] local.INFO: GPS data processed {"connection_id":166420,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:00:47] local.INFO: Acknowledgment sent {"connection_id":166420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:00:56] local.INFO: TCP Data received {"connection_id":164047,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164047,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:00:56] local.INFO: Processing buffer {"connection_id":164047,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:00:56] local.INFO: IMEI packet received {"connection_id":164047,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 21:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":164047,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:01:01] local.INFO: TCP Data received {"connection_id":164047,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164047,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:01:01] local.INFO: Processing buffer {"connection_id":164047,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:01:01] local.INFO: IMEI packet received {"connection_id":164047,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 21:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":164047,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:01:02] local.INFO: TCP Data received {"connection_id":164047,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048fdbe40012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048fdbe40012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:01:02] local.INFO: Processing buffer {"connection_id":164047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048fdbe40012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:01:02] local.INFO: Packet analysis {"connection_id":164047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048fd"} 
[2026-08-28 21:01:02] local.INFO: Extracted packet for processing {"connection_id":164047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048fd"} 
[2026-08-28 21:01:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710254848001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:01:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:01:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787930984000,"timestamp_ms":1787930984000,"timestamp_seconds":1787930984,"priority":1,"record_length":96,"hex_timestamp":"000001a048fdbe40"} 
[2026-08-28 21:01:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:01:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:01:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:01:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:01:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":164047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":164047,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":164047,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:01:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710254848001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710254848001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:01:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:01:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:01:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710254848001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":164047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710390,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:01:02] local.INFO: GPS data processed {"connection_id":164047,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:01:02] local.INFO: Acknowledgment sent {"connection_id":164047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:01:09] local.INFO: TCP Data received {"connection_id":164046,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048fb35d0012d34c14006aa4840000900e629..."} 
[2026-08-28 21:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048fb35d0012d34c14006aa4840000900e629..."} 
[2026-08-28 21:01:09] local.INFO: Processing buffer {"connection_id":164046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048fb35d0012d34c14006aa4840000900e629..."} 
[2026-08-28 21:01:09] local.INFO: Packet analysis {"connection_id":164046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048fb"} 
[2026-08-28 21:01:09] local.INFO: Extracted packet for processing {"connection_id":164046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048fb"} 
[2026-08-28 21:01:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710212352001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:01:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787930818000,"timestamp_ms":1787930818000,"timestamp_seconds":1787930818,"priority":1,"record_length":96,"hex_timestamp":"000001a048fb35d0"} 
[2026-08-28 21:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:01:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 21:01:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:01:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:01:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710212352001,"66":25212,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710212352001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:01:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:01:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:01: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-28 21:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710212352001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":164046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:01:09] local.INFO: GPS data processed {"connection_id":164046,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:01:09] local.INFO: Acknowledgment sent {"connection_id":164046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:01:19] local.INFO: TCP Data received {"connection_id":166420,"ip":"117.224.197.200","data_length":795,"data_hex":"000000000000030f8e0a000001a048fe2f88012d0cc580071ead400029006629..."} 
[2026-08-28 21:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048fe2f88012d0cc580071ead400029006629..."} 
[2026-08-28 21:01:19] local.INFO: Processing buffer {"connection_id":166420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048fe2f88012d0cc580071ead400029006629..."} 
[2026-08-28 21:01:19] local.INFO: Packet analysis {"connection_id":166420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048fe"} 
[2026-08-28 21:01:19] local.INFO: Extracted packet for processing {"connection_id":166420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048fe"} 
[2026-08-28 21:01:19] local.INFO: GPS Element Parsed {"raw_longitude":755811712,"raw_latitude":119450944,"longitude_deg":75.5811712,"latitude_deg":11.9450944,"altitude":41,"angle":102,"satellites":41,"speed":7,"hex_longitude":"2d0cc580","hex_latitude":"071ead40","is_valid_coordinates":true} 
[2026-08-28 21:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:01:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710339072001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:01:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16199929445744640,"note":"Value kept but may cause issues"} 
[2026-08-28 21:01:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":920000991958224896,"note":"Value kept but may cause issues"} 
[2026-08-28 21:01:19] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,28,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-28 21:01:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787931013000,"timestamp_ms":1787931013000,"timestamp_seconds":1787931013,"priority":1,"record_length":96,"hex_timestamp":"000001a048fe2f88"} 
[2026-08-28 21:01:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:01:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-28 21:01:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1585267069002187776,"note":"Value kept but may cause issues"} 
[2026-08-28 21:01:19] local.WARNING: Large IO value detected {"io_id":141,"raw_value":2667577344,"note":"Value kept but may cause issues"} 
[2026-08-28 21:01:19] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-28 21:01:19] local.WARNING: Large IO value detected {"io_id":72,"raw_value":-174716790649361024,"note":"Value kept but may cause issues"} 
[2026-08-28 21:01:19] local.WARNING: Large IO value detected {"io_id":30,"raw_value":2822242348,"note":"Value kept but may cause issues"} 
[2026-08-28 21:01:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3863085262,"corrected_to":0} 
[2026-08-28 21:01:19] local.WARNING: Large IO value detected {"io_id":213,"raw_value":2952867084,"note":"Value kept but may cause issues"} 
[2026-08-28 21:01:19] local.WARNING: Large IO value detected {"io_id":150,"raw_value":3221692071,"note":"Value kept but may cause issues"} 
[2026-08-28 21:01:19] local.WARNING: Large IO value detected {"io_id":57,"raw_value":2369191936,"note":"Value kept but may cause issues"} 
[2026-08-28 21:01:19] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2205761063645888811,"note":"Value kept but may cause issues"} 
[2026-08-28 21:01:19] local.WARNING: Large IO value detected {"io_id":52,"raw_value":9151540831683923484,"note":"Value kept but may cause issues"} 
[2026-08-28 21:01:19] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755506815369457,"note":"Value kept but may cause issues"} 
[2026-08-28 21:01:19] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,66,28,24,241,158,16,141,160,39,45,64,173,42,41,10,128,169,43,20,1,240,12,72,30,4,113,205,19,213,150,239,50,68,2,57,7,51,25,52,124],"length":535,"final_offset":665,"validated_count":41,"validation_warnings":[{"io_id":205,"original":3863085262,"validated":0}]} 
[2026-08-28 21:01:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3026515882710597632,"timestamp_seconds":3026515882710597.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 21:01:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:01:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:01:19] local.INFO: Teltonika packet parsed successfully {"connection_id":166420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:01:19] local.INFO: Passing IMEI to GPS processor {"connection_id":166420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:01:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":166420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:01:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:01:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:01:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:01:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710339072001,"66":206,"28":31744,"24":7,"16":16199929445744640,"45":920000991958224896},"client_ip":"117.224.197.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,24,16,45]} 
[2026-08-28 21:01:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:01:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:01:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710339072001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:01:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:01:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16199929445744640,"km_value":16199929445744.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:01:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":920000991958224896,"description":"Unknown IO ID 45"} 
[2026-08-28 21:01:19] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457710339072001,"power":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":920000991958224896}} 
[2026-08-28 21:01:19] local.INFO: DEBUG: GPS processor result {"connection_id":166420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710392,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:01:19] local.INFO: GPS data processed {"connection_id":166420,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:01:19] local.INFO: Acknowledgment sent {"connection_id":166420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:01:34] local.INFO: TCP Data received {"connection_id":164047,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048fdbe40012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048fdbe40012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:01:34] local.INFO: Processing buffer {"connection_id":164047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048fdbe40012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:01:34] local.INFO: Packet analysis {"connection_id":164047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048fd"} 
[2026-08-28 21:01:34] local.INFO: Extracted packet for processing {"connection_id":164047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048fd"} 
[2026-08-28 21:01:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710254848001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:01:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:01:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787930984000,"timestamp_ms":1787930984000,"timestamp_seconds":1787930984,"priority":1,"record_length":96,"hex_timestamp":"000001a048fdbe40"} 
[2026-08-28 21:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:01:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:01:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:01:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":164047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":164047,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":164047,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:01:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710254848001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710254848001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:01:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:01:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710254848001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":164047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710393,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:01:34] local.INFO: GPS data processed {"connection_id":164047,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:01:34] local.INFO: Acknowledgment sent {"connection_id":164047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:01:35] local.INFO: TCP Data received {"connection_id":163771,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:01:35] local.INFO: Processing buffer {"connection_id":163771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:01:35] local.INFO: IMEI packet received {"connection_id":163771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 21:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":163771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:01:40] local.INFO: TCP Data received {"connection_id":163771,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:01:40] local.INFO: Processing buffer {"connection_id":163771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:01:40] local.INFO: IMEI packet received {"connection_id":163771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 21:01:40] local.INFO: IMEI acknowledgment sent {"connection_id":163771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:01:42] local.INFO: TCP Data received {"connection_id":163771,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048fb35d0012d34c14006aa4840000900e629..."} 
[2026-08-28 21:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048fb35d0012d34c14006aa4840000900e629..."} 
[2026-08-28 21:01:42] local.INFO: Processing buffer {"connection_id":163771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048fb35d0012d34c14006aa4840000900e629..."} 
[2026-08-28 21:01:42] local.INFO: Packet analysis {"connection_id":163771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048fb"} 
[2026-08-28 21:01:42] local.INFO: Extracted packet for processing {"connection_id":163771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048fb"} 
[2026-08-28 21:01:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 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-28 21:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710212352001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:01:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:01:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787930818000,"timestamp_ms":1787930818000,"timestamp_seconds":1787930818,"priority":1,"record_length":96,"hex_timestamp":"000001a048fb35d0"} 
[2026-08-28 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-28 21:01:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 21: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-28 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-28 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-28 21:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:01:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710212352001,"66":25212,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710212352001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:01:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:01:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 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-28 21:01:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710212352001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:01: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":710394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:01:42] local.INFO: GPS data processed {"connection_id":163771,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:01:42] local.INFO: Acknowledgment sent {"connection_id":163771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:01:42] local.INFO: TCP Data received {"connection_id":164048,"ip":"117.224.197.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164048,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:01:42] local.INFO: Processing buffer {"connection_id":164048,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:01:42] local.INFO: IMEI packet received {"connection_id":164048,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 21:01:42] local.INFO: IMEI acknowledgment sent {"connection_id":164048,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:01:46] local.INFO: TCP Data received {"connection_id":163771,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048fb35d0012d34c14006aa4840000900e629..."} 
[2026-08-28 21:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048fb35d0012d34c14006aa4840000900e629..."} 
[2026-08-28 21:01:46] local.INFO: Processing buffer {"connection_id":163771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048fb35d0012d34c14006aa4840000900e629..."} 
[2026-08-28 21:01:46] local.INFO: Packet analysis {"connection_id":163771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048fb"} 
[2026-08-28 21:01:46] local.INFO: Extracted packet for processing {"connection_id":163771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048fb"} 
[2026-08-28 21:01:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21: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-28 21:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710212352001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:01:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:01:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:01:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:01:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787930818000,"timestamp_ms":1787930818000,"timestamp_seconds":1787930818,"priority":1,"record_length":96,"hex_timestamp":"000001a048fb35d0"} 
[2026-08-28 21: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-28 21:01:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 21:01: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-28 21:01:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21: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-28 21:01:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:01:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:01:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:01:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:01:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:01:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:01:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:01:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710212352001,"66":25212,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:01:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:01:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:01:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710212352001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:01:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:01:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:01: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-28 21:01:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:01:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710212352001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:01:46] 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":710395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:01:46] local.INFO: GPS data processed {"connection_id":163771,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:01:46] local.INFO: Acknowledgment sent {"connection_id":163771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:01:48] local.INFO: TCP Data received {"connection_id":164048,"ip":"117.224.197.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164048,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:01:48] local.INFO: Processing buffer {"connection_id":164048,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:01:48] local.INFO: IMEI packet received {"connection_id":164048,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 21:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":164048,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:01:49] local.INFO: TCP Data received {"connection_id":164048,"ip":"117.224.197.200","data_length":795,"data_hex":"000000000000030f8e0a000001a048fe5a80012d0cd480071ea8580027007329..."} 
[2026-08-28 21:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048fe5a80012d0cd480071ea8580027007329..."} 
[2026-08-28 21:01:49] local.INFO: Processing buffer {"connection_id":164048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048fe5a80012d0cd480071ea8580027007329..."} 
[2026-08-28 21:01:49] local.INFO: Packet analysis {"connection_id":164048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048fe"} 
[2026-08-28 21:01:49] local.INFO: Extracted packet for processing {"connection_id":164048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048fe"} 
[2026-08-28 21:01:49] local.INFO: GPS Element Parsed {"raw_longitude":755815552,"raw_latitude":119449688,"longitude_deg":75.5815552,"latitude_deg":11.9449688,"altitude":39,"angle":115,"satellites":41,"speed":20,"hex_longitude":"2d0cd480","hex_latitude":"071ea858","is_valid_coordinates":true} 
[2026-08-28 21: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-28 21:01:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710339328001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:01:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16200122719272960,"note":"Value kept but may cause issues"} 
[2026-08-28 21:01:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":920282466934931456,"note":"Value kept but may cause issues"} 
[2026-08-28 21:01:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,28,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-28 21:01:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787931024000,"timestamp_ms":1787931024000,"timestamp_seconds":1787931024,"priority":1,"record_length":96,"hex_timestamp":"000001a048fe5a80"} 
[2026-08-28 21: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-28 21:01:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-28 21:01:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21: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-28 21: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-28 21:01:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:01:49] local.INFO: Teltonika packet parsed successfully {"connection_id":164048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:01:49] local.INFO: Passing IMEI to GPS processor {"connection_id":164048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:01:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":164048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:01:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:01:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:01:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:01:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710339328001,"66":206,"28":31744,"24":20,"16":16200122719272960,"45":920282466934931456},"client_ip":"117.224.197.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,24,16,45]} 
[2026-08-28 21:01:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:01:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:01:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710339328001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:01:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:01:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16200122719272960,"km_value":16200122719272.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:01:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":920282466934931456,"description":"Unknown IO ID 45"} 
[2026-08-28 21:01:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457710339328001,"power":206,"unknown_28":31744,"ignition":20,"odometer":null,"unknown_45":920282466934931456}} 
[2026-08-28 21:01:49] local.INFO: DEBUG: GPS processor result {"connection_id":164048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710396,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:01:49] local.INFO: GPS data processed {"connection_id":164048,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:01:49] local.INFO: Acknowledgment sent {"connection_id":164048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:01:56] local.INFO: TCP Data received {"connection_id":164049,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164049,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:01:56] local.INFO: Processing buffer {"connection_id":164049,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:01:56] local.INFO: IMEI packet received {"connection_id":164049,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 21:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":164049,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:02:01] local.INFO: TCP Data received {"connection_id":164049,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164049,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:02:01] local.INFO: Processing buffer {"connection_id":164049,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:02:01] local.INFO: IMEI packet received {"connection_id":164049,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 21:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":164049,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:02:02] local.INFO: TCP Data received {"connection_id":164049,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048fdbe40012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048fdbe40012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:02:02] local.INFO: Processing buffer {"connection_id":164049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048fdbe40012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:02:02] local.INFO: Packet analysis {"connection_id":164049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048fd"} 
[2026-08-28 21:02:02] local.INFO: Extracted packet for processing {"connection_id":164049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048fd"} 
[2026-08-28 21:02:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:02:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:02:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710254848001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:02:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:02:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:02:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:02:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787930984000,"timestamp_ms":1787930984000,"timestamp_seconds":1787930984,"priority":1,"record_length":96,"hex_timestamp":"000001a048fdbe40"} 
[2026-08-28 21:02:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:02:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:02:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:02:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:02:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:02:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:02:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:02:02] local.INFO: Teltonika packet parsed successfully {"connection_id":164049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:02:02] local.INFO: Passing IMEI to GPS processor {"connection_id":164049,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:02:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":164049,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:02:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:02:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:02:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:02:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710254848001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:02:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:02:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:02:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710254848001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:02:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:02:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:02:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:02:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:02:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710254848001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:02:02] local.INFO: DEBUG: GPS processor result {"connection_id":164049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710397,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:02:02] local.INFO: GPS data processed {"connection_id":164049,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:02:02] local.INFO: Acknowledgment sent {"connection_id":164049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:02:21] local.INFO: TCP Data received {"connection_id":164048,"ip":"117.224.197.200","data_length":795,"data_hex":"000000000000030f8e0a000001a048fe9518012d0ce4c0071ea058002600832b..."} 
[2026-08-28 21:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048fe9518012d0ce4c0071ea058002600832b..."} 
[2026-08-28 21:02:21] local.INFO: Processing buffer {"connection_id":164048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048fe9518012d0ce4c0071ea058002600832b..."} 
[2026-08-28 21:02:21] local.INFO: Packet analysis {"connection_id":164048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048fe"} 
[2026-08-28 21:02:21] local.INFO: Extracted packet for processing {"connection_id":164048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048fe"} 
[2026-08-28 21:02:21] local.INFO: GPS Element Parsed {"raw_longitude":755819712,"raw_latitude":119447640,"longitude_deg":75.5819712,"latitude_deg":11.944764,"altitude":38,"angle":131,"satellites":43,"speed":14,"hex_longitude":"2d0ce4c0","hex_latitude":"071ea058","is_valid_coordinates":true} 
[2026-08-28 21: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-28 21:02:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710342144001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:02:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16200346057572352,"note":"Value kept but may cause issues"} 
[2026-08-28 21:02:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":924504591585269760,"note":"Value kept but may cause issues"} 
[2026-08-28 21:02:21] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,28,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-28 21:02:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787931039000,"timestamp_ms":1787931039000,"timestamp_seconds":1787931039,"priority":1,"record_length":96,"hex_timestamp":"000001a048fe9518"} 
[2026-08-28 21: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-28 21:02:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-28 21:02:21] 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-28 21: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-28 21: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-28 21:02:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:02:21] local.INFO: Teltonika packet parsed successfully {"connection_id":164048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:02:21] local.INFO: Passing IMEI to GPS processor {"connection_id":164048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:02:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":164048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:02:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:02:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:02:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:02:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710342144001,"66":206,"28":31744,"24":14,"16":16200346057572352,"45":924504591585269760},"client_ip":"117.224.197.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,24,16,45]} 
[2026-08-28 21:02:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:02:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:02:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710342144001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:02:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:02:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16200346057572352,"km_value":16200346057572.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:02:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":924504591585269760,"description":"Unknown IO ID 45"} 
[2026-08-28 21:02:21] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457710342144001,"power":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":924504591585269760}} 
[2026-08-28 21:02:21] local.INFO: DEBUG: GPS processor result {"connection_id":164048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710398,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:02:21] local.INFO: GPS data processed {"connection_id":164048,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:02:21] local.INFO: Acknowledgment sent {"connection_id":164048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:02:30] local.INFO: TCP Data received {"connection_id":165064,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:02:30] local.INFO: Processing buffer {"connection_id":165064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:02:30] local.INFO: IMEI packet received {"connection_id":165064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 21:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":165064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:02:35] local.INFO: TCP Data received {"connection_id":164049,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048fdbe40012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048fdbe40012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:02:35] local.INFO: Processing buffer {"connection_id":164049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048fdbe40012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:02:35] local.INFO: Packet analysis {"connection_id":164049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048fd"} 
[2026-08-28 21:02:35] local.INFO: Extracted packet for processing {"connection_id":164049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048fd"} 
[2026-08-28 21:02:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710254848001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787930984000,"timestamp_ms":1787930984000,"timestamp_seconds":1787930984,"priority":1,"record_length":96,"hex_timestamp":"000001a048fdbe40"} 
[2026-08-28 21:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:02:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:02:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:02:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":164049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":164049,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":164049,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710254848001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710254848001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:02:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:02:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710254848001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":164049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710399,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:02:35] local.INFO: GPS data processed {"connection_id":164049,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:02:35] local.INFO: Acknowledgment sent {"connection_id":164049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:02:35] local.INFO: TCP Data received {"connection_id":165064,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:02:35] local.INFO: Processing buffer {"connection_id":165064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:02:35] local.INFO: IMEI packet received {"connection_id":165064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 21:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":165064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:02:37] local.INFO: TCP Data received {"connection_id":165064,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048fb35d0012d34c14006aa4840000900e629..."} 
[2026-08-28 21:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048fb35d0012d34c14006aa4840000900e629..."} 
[2026-08-28 21:02:37] local.INFO: Processing buffer {"connection_id":165064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048fb35d0012d34c14006aa4840000900e629..."} 
[2026-08-28 21:02:37] local.INFO: Packet analysis {"connection_id":165064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048fb"} 
[2026-08-28 21:02:37] local.INFO: Extracted packet for processing {"connection_id":165064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048fb"} 
[2026-08-28 21:02:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710212352001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787930818000,"timestamp_ms":1787930818000,"timestamp_seconds":1787930818,"priority":1,"record_length":96,"hex_timestamp":"000001a048fb35d0"} 
[2026-08-28 21:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 21:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":165064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":165064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":165064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710212352001,"66":25212,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710212352001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:02:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:02:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:02: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-28 21:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710212352001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:02:38] 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":710400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:02:38] local.INFO: GPS data processed {"connection_id":165064,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:02:38] local.INFO: Acknowledgment sent {"connection_id":165064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:02:52] local.INFO: TCP Data received {"connection_id":166421,"ip":"117.224.197.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166421,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:02:52] local.INFO: Processing buffer {"connection_id":166421,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:02:52] local.INFO: IMEI packet received {"connection_id":166421,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 21:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":166421,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:02:54] local.INFO: TCP Data received {"connection_id":166421,"ip":"117.224.197.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166421,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:02:54] local.INFO: Processing buffer {"connection_id":166421,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:02:54] local.INFO: IMEI packet received {"connection_id":166421,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 21:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":166421,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:02:56] local.INFO: TCP Data received {"connection_id":163772,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163772,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:02:56] local.INFO: Processing buffer {"connection_id":163772,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:02:56] local.INFO: IMEI packet received {"connection_id":163772,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 21:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":163772,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:03:01] local.INFO: TCP Data received {"connection_id":163772,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163772,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:03:01] local.INFO: Processing buffer {"connection_id":163772,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:03:01] local.INFO: IMEI packet received {"connection_id":163772,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 21:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":163772,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:03:01] local.INFO: TCP Data received {"connection_id":166421,"ip":"117.224.197.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166421,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:03:01] local.INFO: Processing buffer {"connection_id":166421,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:03:01] local.INFO: IMEI packet received {"connection_id":166421,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 21:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":166421,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:03:03] local.INFO: TCP Data received {"connection_id":166421,"ip":"117.224.197.200","data_length":795,"data_hex":"000000000000030f8e0a000001a048fea0d0012d0ce980071e9d40002500772b..."} 
[2026-08-28 21:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048fea0d0012d0ce980071e9d40002500772b..."} 
[2026-08-28 21:03:03] local.INFO: Processing buffer {"connection_id":166421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048fea0d0012d0ce980071e9d40002500772b..."} 
[2026-08-28 21:03:03] local.INFO: Packet analysis {"connection_id":166421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048fe"} 
[2026-08-28 21:03:03] local.INFO: Extracted packet for processing {"connection_id":166421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048fe"} 
[2026-08-28 21:03:03] local.INFO: GPS Element Parsed {"raw_longitude":755820928,"raw_latitude":119446848,"longitude_deg":75.5820928,"latitude_deg":11.9446848,"altitude":37,"angle":119,"satellites":43,"speed":22,"hex_longitude":"2d0ce980","hex_latitude":"071e9d40","is_valid_coordinates":true} 
[2026-08-28 21:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710345984001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16200414777049088,"note":"Value kept but may cause issues"} 
[2026-08-28 21:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":929078559956293632,"note":"Value kept but may cause issues"} 
[2026-08-28 21:03:03] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,28,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-28 21:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787931042000,"timestamp_ms":1787931042000,"timestamp_seconds":1787931042,"priority":1,"record_length":96,"hex_timestamp":"000001a048fea0d0"} 
[2026-08-28 21:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:03:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-08-28 21:03:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:03:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":166421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":166421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":166421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710345984001,"66":206,"28":31744,"24":22,"16":16200414777049088,"45":929078559956293632},"client_ip":"117.224.197.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,24,16,45]} 
[2026-08-28 21:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710345984001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:03:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16200414777049088,"km_value":16200414777049.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":929078559956293632,"description":"Unknown IO ID 45"} 
[2026-08-28 21:03:03] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457710345984001,"power":206,"unknown_28":31744,"ignition":22,"odometer":null,"unknown_45":929078559956293632}} 
[2026-08-28 21:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":166421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710401,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:03:03] local.INFO: GPS data processed {"connection_id":166421,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:03:03] local.INFO: Acknowledgment sent {"connection_id":166421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:03:03] local.INFO: TCP Data received {"connection_id":163772,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048fdbe40012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048fdbe40012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:03:03] local.INFO: Processing buffer {"connection_id":163772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048fdbe40012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:03:03] local.INFO: Packet analysis {"connection_id":163772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048fd"} 
[2026-08-28 21:03:03] local.INFO: Extracted packet for processing {"connection_id":163772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048fd"} 
[2026-08-28 21:03:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710254848001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787930984000,"timestamp_ms":1787930984000,"timestamp_seconds":1787930984,"priority":1,"record_length":96,"hex_timestamp":"000001a048fdbe40"} 
[2026-08-28 21:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:03:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:03:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:03:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163772,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163772,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710254848001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710254848001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:03:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:03:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710254848001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:03:03] 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":710402,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:03:03] local.INFO: GPS data processed {"connection_id":163772,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:03:03] local.INFO: Acknowledgment sent {"connection_id":163772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:03:09] local.INFO: TCP Data received {"connection_id":165064,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048ffcd98012d34c14006aa4840000b00e629..."} 
[2026-08-28 21:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048ffcd98012d34c14006aa4840000b00e629..."} 
[2026-08-28 21:03:09] local.INFO: Processing buffer {"connection_id":165064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048ffcd98012d34c14006aa4840000b00e629..."} 
[2026-08-28 21:03:09] local.INFO: Packet analysis {"connection_id":165064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ff"} 
[2026-08-28 21:03:09] local.INFO: Extracted packet for processing {"connection_id":165064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ff"} 
[2026-08-28 21:03:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710289408001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:03:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:03:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787931119000,"timestamp_ms":1787931119000,"timestamp_seconds":1787931119,"priority":1,"record_length":96,"hex_timestamp":"000001a048ffcd98"} 
[2026-08-28 21:03:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:03:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 21:03:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:03:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:03:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":165064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":165064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":165064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:03:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710289408001,"66":25288,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710289408001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:03:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:03:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:03: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-28 21:03:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710289408001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:03:09] 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":710403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:03:09] local.INFO: GPS data processed {"connection_id":165064,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:03:09] local.INFO: Acknowledgment sent {"connection_id":165064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:03:30] local.INFO: TCP Data received {"connection_id":165065,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:03:30] local.INFO: Processing buffer {"connection_id":165065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:03:30] local.INFO: IMEI packet received {"connection_id":165065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 21:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":165065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:03:35] local.INFO: TCP Data received {"connection_id":163772,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048fdbe40012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048fdbe40012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:03:35] local.INFO: Processing buffer {"connection_id":163772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048fdbe40012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:03:35] local.INFO: Packet analysis {"connection_id":163772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048fd"} 
[2026-08-28 21:03:35] local.INFO: Extracted packet for processing {"connection_id":163772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048fd"} 
[2026-08-28 21:03:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710254848001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:03:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787930984000,"timestamp_ms":1787930984000,"timestamp_seconds":1787930984,"priority":1,"record_length":96,"hex_timestamp":"000001a048fdbe40"} 
[2026-08-28 21:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:03:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:03:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:03:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163772,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163772,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710254848001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710254848001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:03:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:03:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:03:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710254848001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:03:35] 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":710404,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:03:35] local.INFO: GPS data processed {"connection_id":163772,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:03:35] local.INFO: Acknowledgment sent {"connection_id":163772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:03:35] local.INFO: TCP Data received {"connection_id":165065,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:03:35] local.INFO: Processing buffer {"connection_id":165065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:03:35] local.INFO: IMEI packet received {"connection_id":165065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 21:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":165065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:03:38] local.INFO: TCP Data received {"connection_id":165065,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048ffcd98012d34c14006aa4840000b00e629..."} 
[2026-08-28 21:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048ffcd98012d34c14006aa4840000b00e629..."} 
[2026-08-28 21:03:38] local.INFO: Processing buffer {"connection_id":165065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048ffcd98012d34c14006aa4840000b00e629..."} 
[2026-08-28 21:03:38] local.INFO: Packet analysis {"connection_id":165065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ff"} 
[2026-08-28 21:03:38] local.INFO: Extracted packet for processing {"connection_id":165065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ff"} 
[2026-08-28 21:03:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710289408001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:03:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787931119000,"timestamp_ms":1787931119000,"timestamp_seconds":1787931119,"priority":1,"record_length":96,"hex_timestamp":"000001a048ffcd98"} 
[2026-08-28 21:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 21:03:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:03:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":165065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":165065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":165065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:03:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710289408001,"66":25288,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710289408001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:03:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:03:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:03: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-28 21:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710289408001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:03:38] 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":710405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:03:38] local.INFO: GPS data processed {"connection_id":165065,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:03:38] local.INFO: Acknowledgment sent {"connection_id":165065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:03:47] local.INFO: TCP Data received {"connection_id":166422,"ip":"117.224.197.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166422,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:03:47] local.INFO: Processing buffer {"connection_id":166422,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:03:47] local.INFO: IMEI packet received {"connection_id":166422,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 21:03:47] local.INFO: IMEI acknowledgment sent {"connection_id":166422,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:03:53] local.INFO: TCP Data received {"connection_id":166422,"ip":"117.224.197.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166422,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:03:53] local.INFO: Processing buffer {"connection_id":166422,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:03:53] local.INFO: IMEI packet received {"connection_id":166422,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 21:03:53] local.INFO: IMEI acknowledgment sent {"connection_id":166422,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:03:54] local.INFO: TCP Data received {"connection_id":166422,"ip":"117.224.197.200","data_length":795,"data_hex":"000000000000030f8e0a000001a048fecfb0012d0d0200071e91e80021006b2b..."} 
[2026-08-28 21:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048fecfb0012d0d0200071e91e80021006b2b..."} 
[2026-08-28 21:03:54] local.INFO: Processing buffer {"connection_id":166422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048fecfb0012d0d0200071e91e80021006b2b..."} 
[2026-08-28 21:03:54] local.INFO: Packet analysis {"connection_id":166422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048fe"} 
[2026-08-28 21:03:54] local.INFO: Extracted packet for processing {"connection_id":166422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048fe"} 
[2026-08-28 21:03:54] local.INFO: GPS Element Parsed {"raw_longitude":755827200,"raw_latitude":119443944,"longitude_deg":75.58272,"latitude_deg":11.9443944,"altitude":33,"angle":107,"satellites":43,"speed":11,"hex_longitude":"2d0d0200","hex_latitude":"071e91e8","is_valid_coordinates":true} 
[2026-08-28 21: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-28 21:03:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710346752001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:03:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16200741194563584,"note":"Value kept but may cause issues"} 
[2026-08-28 21:03:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":930415566095466496,"note":"Value kept but may cause issues"} 
[2026-08-28 21:03:54] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,28,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-28 21:03:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787931054000,"timestamp_ms":1787931054000,"timestamp_seconds":1787931054,"priority":1,"record_length":96,"hex_timestamp":"000001a048fecfb0"} 
[2026-08-28 21:03:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:03:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-28 21:03:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:03:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:03:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:03:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:03:54] local.INFO: Teltonika packet parsed successfully {"connection_id":166422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:03:54] local.INFO: Passing IMEI to GPS processor {"connection_id":166422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:03:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":166422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:03:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:03:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:03:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:03:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710346752001,"66":206,"28":31744,"24":11,"16":16200741194563584,"45":930415566095466496},"client_ip":"117.224.197.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,24,16,45]} 
[2026-08-28 21:03:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:03:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:03:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710346752001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:03:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:03:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16200741194563584,"km_value":16200741194563.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:03:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":930415566095466496,"description":"Unknown IO ID 45"} 
[2026-08-28 21:03:54] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457710346752001,"power":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":930415566095466496}} 
[2026-08-28 21:03:54] local.INFO: DEBUG: GPS processor result {"connection_id":166422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710406,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:03:54] local.INFO: GPS data processed {"connection_id":166422,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:03:54] local.INFO: Acknowledgment sent {"connection_id":166422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:03:55] local.INFO: TCP Data received {"connection_id":166422,"ip":"117.224.197.200","data_length":795,"data_hex":"000000000000030f8e0a000001a048ff21b8012d0d0400071e90f00020007029..."} 
[2026-08-28 21:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048ff21b8012d0d0400071e90f00020007029..."} 
[2026-08-28 21:03:55] local.INFO: Processing buffer {"connection_id":166422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048ff21b8012d0d0400071e90f00020007029..."} 
[2026-08-28 21:03:55] local.INFO: Packet analysis {"connection_id":166422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ff"} 
[2026-08-28 21:03:55] local.INFO: Extracted packet for processing {"connection_id":166422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ff"} 
[2026-08-28 21:03:55] local.INFO: GPS Element Parsed {"raw_longitude":755827712,"raw_latitude":119443696,"longitude_deg":75.5827712,"latitude_deg":11.9443696,"altitude":32,"angle":112,"satellites":41,"speed":0,"hex_longitude":"2d0d0400","hex_latitude":"071e90f0","is_valid_coordinates":true} 
[2026-08-28 21:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:03:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710349824001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:03:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16200775554301952,"note":"Value kept but may cause issues"} 
[2026-08-28 21:03:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":937311703024134144,"note":"Value kept but may cause issues"} 
[2026-08-28 21:03:55] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,28,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-28 21:03:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787931075000,"timestamp_ms":1787931075000,"timestamp_seconds":1787931075,"priority":1,"record_length":96,"hex_timestamp":"000001a048ff21b8"} 
[2026-08-28 21:03:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:03:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-28 21:03:55] 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-28 21:03:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:03:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:03:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:03:55] local.INFO: Teltonika packet parsed successfully {"connection_id":166422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:03:55] local.INFO: Passing IMEI to GPS processor {"connection_id":166422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:03:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":166422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:03:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:03:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:03:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:03:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710349824001,"66":206,"28":31744,"24":0,"16":16200775554301952,"45":937311703024134144},"client_ip":"117.224.197.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,24,16,45]} 
[2026-08-28 21:03:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:03:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:03:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710349824001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:03:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:03:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16200775554301952,"km_value":16200775554301.951,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:03:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":937311703024134144,"description":"Unknown IO ID 45"} 
[2026-08-28 21:03:55] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457710349824001,"power":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":937311703024134144}} 
[2026-08-28 21:03:55] local.INFO: DEBUG: GPS processor result {"connection_id":166422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710407,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:03:55] local.INFO: GPS data processed {"connection_id":166422,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:03:55] local.INFO: Acknowledgment sent {"connection_id":166422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:03:56] local.INFO: TCP Data received {"connection_id":164050,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164050,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:03:56] local.INFO: Processing buffer {"connection_id":164050,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:03:56] local.INFO: IMEI packet received {"connection_id":164050,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 21:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":164050,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:04:01] local.INFO: TCP Data received {"connection_id":164050,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164050,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:04:01] local.INFO: Processing buffer {"connection_id":164050,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:04:01] local.INFO: IMEI packet received {"connection_id":164050,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 21:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":164050,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:04:03] local.INFO: TCP Data received {"connection_id":164050,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048fdbe40012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048fdbe40012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:04:03] local.INFO: Processing buffer {"connection_id":164050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048fdbe40012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:04:03] local.INFO: Packet analysis {"connection_id":164050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048fd"} 
[2026-08-28 21:04:03] local.INFO: Extracted packet for processing {"connection_id":164050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048fd"} 
[2026-08-28 21:04:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710254848001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787930984000,"timestamp_ms":1787930984000,"timestamp_seconds":1787930984,"priority":1,"record_length":96,"hex_timestamp":"000001a048fdbe40"} 
[2026-08-28 21:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:04:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:04:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:04:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":164050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":164050,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":164050,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710254848001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710254848001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:04:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:04:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710254848001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":164050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710408,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:04:03] local.INFO: GPS data processed {"connection_id":164050,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:04:03] local.INFO: Acknowledgment sent {"connection_id":164050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:04:09] local.INFO: TCP Data received {"connection_id":165065,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048ffcd98012d34c14006aa4840000b00e629..."} 
[2026-08-28 21:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048ffcd98012d34c14006aa4840000b00e629..."} 
[2026-08-28 21:04:09] local.INFO: Processing buffer {"connection_id":165065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048ffcd98012d34c14006aa4840000b00e629..."} 
[2026-08-28 21:04:09] local.INFO: Packet analysis {"connection_id":165065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ff"} 
[2026-08-28 21:04:09] local.INFO: Extracted packet for processing {"connection_id":165065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ff"} 
[2026-08-28 21:04:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710289408001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:04:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:04:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787931119000,"timestamp_ms":1787931119000,"timestamp_seconds":1787931119,"priority":1,"record_length":96,"hex_timestamp":"000001a048ffcd98"} 
[2026-08-28 21:04:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:04:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 21:04:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:04:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:04:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":165065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":165065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":165065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:04:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710289408001,"66":25288,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710289408001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:04:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:04:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:04: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-28 21:04:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710289408001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:04:09] 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":710409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:04:09] local.INFO: GPS data processed {"connection_id":165065,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:04:09] local.INFO: Acknowledgment sent {"connection_id":165065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:04:27] local.INFO: TCP Data received {"connection_id":166422,"ip":"117.224.197.200","data_length":795,"data_hex":"000000000000030f8e0a000001a049015c08012d0da980071e38f8003200972b..."} 
[2026-08-28 21:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049015c08012d0da980071e38f8003200972b..."} 
[2026-08-28 21:04:27] local.INFO: Processing buffer {"connection_id":166422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049015c08012d0da980071e38f8003200972b..."} 
[2026-08-28 21:04:27] local.INFO: Packet analysis {"connection_id":166422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04901"} 
[2026-08-28 21:04:27] local.INFO: Extracted packet for processing {"connection_id":166422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04901"} 
[2026-08-28 21:04:27] local.INFO: GPS Element Parsed {"raw_longitude":755870080,"raw_latitude":119421176,"longitude_deg":75.587008,"latitude_deg":11.9421176,"altitude":50,"angle":151,"satellites":43,"speed":8,"hex_longitude":"2d0da980","hex_latitude":"071e38f8","is_valid_coordinates":true} 
[2026-08-28 21:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:04:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710388992001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:04:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16203129196380160,"note":"Value kept but may cause issues"} 
[2026-08-28 21:04:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":983403230454956032,"note":"Value kept but may cause issues"} 
[2026-08-28 21:04:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:04:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787931221000,"timestamp_ms":1787931221000,"timestamp_seconds":1787931221,"priority":1,"record_length":96,"hex_timestamp":"000001a049015c08"} 
[2026-08-28 21:04:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:04:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-28 21:04:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:04:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:04:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:04:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:04:27] local.INFO: Teltonika packet parsed successfully {"connection_id":166422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:04:27] local.INFO: Passing IMEI to GPS processor {"connection_id":166422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:04:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":166422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:04:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:04:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:04:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:04:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710388992001,"66":12613,"46":206,"28":31744,"24":8,"16":16203129196380160,"45":983403230454956032},"client_ip":"117.224.197.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,28,24,16,45]} 
[2026-08-28 21:04:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:04:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:04:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710388992001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:04:27] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-08-28 21:04:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:04:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16203129196380160,"km_value":16203129196380.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:04:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":983403230454956032,"description":"Unknown IO ID 45"} 
[2026-08-28 21:04:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710388992001,"power":12613,"unknown_46":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":983403230454956032}} 
[2026-08-28 21:04:27] local.INFO: DEBUG: GPS processor result {"connection_id":166422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710410,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:04:27] local.INFO: GPS data processed {"connection_id":166422,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:04:27] local.INFO: Acknowledgment sent {"connection_id":166422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:04:35] local.INFO: TCP Data received {"connection_id":164050,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048fdbe40012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048fdbe40012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:04:35] local.INFO: Processing buffer {"connection_id":164050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048fdbe40012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:04:35] local.INFO: Packet analysis {"connection_id":164050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048fd"} 
[2026-08-28 21:04:35] local.INFO: Extracted packet for processing {"connection_id":164050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048fd"} 
[2026-08-28 21:04:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710254848001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:04:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787930984000,"timestamp_ms":1787930984000,"timestamp_seconds":1787930984,"priority":1,"record_length":96,"hex_timestamp":"000001a048fdbe40"} 
[2026-08-28 21:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:04:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:04:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:04:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":164050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":164050,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":164050,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710254848001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710254848001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:04:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:04:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710254848001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":164050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710411,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:04:35] local.INFO: GPS data processed {"connection_id":164050,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:04:35] local.INFO: Acknowledgment sent {"connection_id":164050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:04:35] local.INFO: TCP Data received {"connection_id":163773,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:04:35] local.INFO: Processing buffer {"connection_id":163773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:04:35] local.INFO: IMEI packet received {"connection_id":163773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 21:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":163773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:04:40] local.INFO: TCP Data received {"connection_id":163773,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:04:40] local.INFO: Processing buffer {"connection_id":163773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:04:40] local.INFO: IMEI packet received {"connection_id":163773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 21:04:40] local.INFO: IMEI acknowledgment sent {"connection_id":163773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:04:41] local.INFO: TCP Data received {"connection_id":163773,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048ffcd98012d34c14006aa4840000b00e629..."} 
[2026-08-28 21:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048ffcd98012d34c14006aa4840000b00e629..."} 
[2026-08-28 21:04:41] local.INFO: Processing buffer {"connection_id":163773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048ffcd98012d34c14006aa4840000b00e629..."} 
[2026-08-28 21:04:41] local.INFO: Packet analysis {"connection_id":163773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ff"} 
[2026-08-28 21:04:41] local.INFO: Extracted packet for processing {"connection_id":163773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ff"} 
[2026-08-28 21:04:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710289408001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:04:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:04:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787931119000,"timestamp_ms":1787931119000,"timestamp_seconds":1787931119,"priority":1,"record_length":96,"hex_timestamp":"000001a048ffcd98"} 
[2026-08-28 21:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 21:04: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-28 21:04:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":163773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":163773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":163773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:04:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710289408001,"66":25288,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710289408001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:04:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:04:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21: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-28 21:04:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710289408001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:04:41] 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":710412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:04:41] local.INFO: GPS data processed {"connection_id":163773,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:04:41] local.INFO: Acknowledgment sent {"connection_id":163773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:04:43] local.INFO: TCP Data received {"connection_id":166423,"ip":"117.224.197.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166423,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:04:43] local.INFO: Processing buffer {"connection_id":166423,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:04:43] local.INFO: IMEI packet received {"connection_id":166423,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 21:04:43] local.INFO: IMEI acknowledgment sent {"connection_id":166423,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:04:46] local.INFO: TCP Data received {"connection_id":163773,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048ffcd98012d34c14006aa4840000b00e629..."} 
[2026-08-28 21:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048ffcd98012d34c14006aa4840000b00e629..."} 
[2026-08-28 21:04:46] local.INFO: Processing buffer {"connection_id":163773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048ffcd98012d34c14006aa4840000b00e629..."} 
[2026-08-28 21:04:46] local.INFO: Packet analysis {"connection_id":163773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ff"} 
[2026-08-28 21:04:46] local.INFO: Extracted packet for processing {"connection_id":163773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ff"} 
[2026-08-28 21:04:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:04:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710289408001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:04:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:04:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:04:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:04:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787931119000,"timestamp_ms":1787931119000,"timestamp_seconds":1787931119,"priority":1,"record_length":96,"hex_timestamp":"000001a048ffcd98"} 
[2026-08-28 21:04:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:04:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 21:04:46] 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-28 21:04:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:04:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:04:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:04:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:04:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:04:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:04:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:04:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:04:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:04:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710289408001,"66":25288,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:04:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:04:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:04:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710289408001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:04:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:04:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21: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-28 21:04:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:04:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710289408001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:04:46] 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":710413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:04:46] local.INFO: GPS data processed {"connection_id":163773,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:04:46] local.INFO: Acknowledgment sent {"connection_id":163773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:04:46] local.INFO: TCP Data received {"connection_id":166423,"ip":"117.224.197.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166423,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:04:46] local.INFO: Processing buffer {"connection_id":166423,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:04:46] local.INFO: IMEI packet received {"connection_id":166423,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 21:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":166423,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:04:47] local.INFO: TCP Data received {"connection_id":166423,"ip":"117.224.197.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0490163d8012d0daa80071e37380032008a2b..."} 
[2026-08-28 21:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0490163d8012d0daa80071e37380032008a2b..."} 
[2026-08-28 21:04:47] local.INFO: Processing buffer {"connection_id":166423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0490163d8012d0daa80071e37380032008a2b..."} 
[2026-08-28 21:04:47] local.INFO: Packet analysis {"connection_id":166423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04901"} 
[2026-08-28 21:04:47] local.INFO: Extracted packet for processing {"connection_id":166423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04901"} 
[2026-08-28 21:04:47] local.INFO: GPS Element Parsed {"raw_longitude":755870336,"raw_latitude":119420728,"longitude_deg":75.5870336,"latitude_deg":11.9420728,"altitude":50,"angle":138,"satellites":43,"speed":13,"hex_longitude":"2d0daa80","hex_latitude":"071e3738","is_valid_coordinates":true} 
[2026-08-28 21: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-28 21:04:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710392576001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:04:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16203154966183936,"note":"Value kept but may cause issues"} 
[2026-08-28 21:04:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":984458761617340416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:04:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:04:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787931223000,"timestamp_ms":1787931223000,"timestamp_seconds":1787931223,"priority":1,"record_length":96,"hex_timestamp":"000001a0490163d8"} 
[2026-08-28 21: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-28 21:04:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-28 21:04:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21: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-28 21: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-28 21:04:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:04:47] local.INFO: Teltonika packet parsed successfully {"connection_id":166423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:04:47] local.INFO: Passing IMEI to GPS processor {"connection_id":166423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:04:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":166423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:04:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:04:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:04:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:04:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710392576001,"66":12765,"46":206,"28":31744,"24":13,"16":16203154966183936,"45":984458761617340416},"client_ip":"117.224.197.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,28,24,16,45]} 
[2026-08-28 21:04:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:04:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:04:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710392576001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:04:47] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-08-28 21:04:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:04:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16203154966183936,"km_value":16203154966183.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:04:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":984458761617340416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:04:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710392576001,"power":12765,"unknown_46":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":984458761617340416}} 
[2026-08-28 21:04:47] local.INFO: DEBUG: GPS processor result {"connection_id":166423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710414,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:04:47] local.INFO: GPS data processed {"connection_id":166423,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:04:47] local.INFO: Acknowledgment sent {"connection_id":166423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:04:48] local.INFO: TCP Data received {"connection_id":166423,"ip":"117.224.197.200","data_length":795,"data_hex":"000000000000030f8e0a000001a049017378012d0dae40071e34400031007b2b..."} 
[2026-08-28 21:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049017378012d0dae40071e34400031007b2b..."} 
[2026-08-28 21:04:48] local.INFO: Processing buffer {"connection_id":166423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049017378012d0dae40071e34400031007b2b..."} 
[2026-08-28 21:04:48] local.INFO: Packet analysis {"connection_id":166423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04901"} 
[2026-08-28 21:04:48] local.INFO: Extracted packet for processing {"connection_id":166423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04901"} 
[2026-08-28 21:04:48] local.INFO: GPS Element Parsed {"raw_longitude":755871296,"raw_latitude":119419968,"longitude_deg":75.5871296,"latitude_deg":11.9419968,"altitude":49,"angle":123,"satellites":43,"speed":12,"hex_longitude":"2d0dae40","hex_latitude":"071e3440","is_valid_coordinates":true} 
[2026-08-28 21: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-28 21:04:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710393088001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:04:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16203215095726080,"note":"Value kept but may cause issues"} 
[2026-08-28 21:04:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":984740236593936384,"note":"Value kept but may cause issues"} 
[2026-08-28 21:04:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:04:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787931227000,"timestamp_ms":1787931227000,"timestamp_seconds":1787931227,"priority":1,"record_length":96,"hex_timestamp":"000001a049017378"} 
[2026-08-28 21: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-28 21:04:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-28 21:04:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21: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-28 21: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-28 21:04:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:04:48] local.INFO: Teltonika packet parsed successfully {"connection_id":166423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:04:48] local.INFO: Passing IMEI to GPS processor {"connection_id":166423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:04:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":166423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:04:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:04:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:04:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:04:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710393088001,"66":12678,"46":206,"28":31744,"24":12,"16":16203215095726080,"45":984740236593936384},"client_ip":"117.224.197.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,28,24,16,45]} 
[2026-08-28 21:04:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:04:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:04:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710393088001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:04:48] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-08-28 21:04:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:04:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16203215095726080,"km_value":16203215095726.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:04:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":984740236593936384,"description":"Unknown IO ID 45"} 
[2026-08-28 21:04:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710393088001,"power":12678,"unknown_46":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":984740236593936384}} 
[2026-08-28 21:04:48] local.INFO: DEBUG: GPS processor result {"connection_id":166423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710415,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:04:48] local.INFO: GPS data processed {"connection_id":166423,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:04:48] local.INFO: Acknowledgment sent {"connection_id":166423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:05:01] local.INFO: TCP Data received {"connection_id":165066,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165066,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:05:01] local.INFO: Processing buffer {"connection_id":165066,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:05:01] local.INFO: IMEI packet received {"connection_id":165066,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 21:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":165066,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:05:06] local.INFO: TCP Data received {"connection_id":165066,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165066,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:05:06] local.INFO: Processing buffer {"connection_id":165066,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:05:06] local.INFO: IMEI packet received {"connection_id":165066,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 21:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":165066,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:05:08] local.INFO: TCP Data received {"connection_id":165066,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048fdbe40012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048fdbe40012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:05:08] local.INFO: Processing buffer {"connection_id":165066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048fdbe40012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:05:08] local.INFO: Packet analysis {"connection_id":165066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048fd"} 
[2026-08-28 21:05:08] local.INFO: Extracted packet for processing {"connection_id":165066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048fd"} 
[2026-08-28 21:05:08] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710254848001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:05:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787930984000,"timestamp_ms":1787930984000,"timestamp_seconds":1787930984,"priority":1,"record_length":96,"hex_timestamp":"000001a048fdbe40"} 
[2026-08-28 21:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:05:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:05:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:05:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":165066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":165066,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":165066,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710254848001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710254848001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:05:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:05:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710254848001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:05:08] 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":710416,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:05:08] local.INFO: GPS data processed {"connection_id":165066,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:05:08] local.INFO: Acknowledgment sent {"connection_id":165066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:05:12] local.INFO: TCP Data received {"connection_id":165066,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a048fdbe40012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048fdbe40012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:05:12] local.INFO: Processing buffer {"connection_id":165066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048fdbe40012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:05:12] local.INFO: Packet analysis {"connection_id":165066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048fd"} 
[2026-08-28 21:05:12] local.INFO: Extracted packet for processing {"connection_id":165066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048fd"} 
[2026-08-28 21:05:12] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:05:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710254848001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:05:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:05:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:05:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:05:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787930984000,"timestamp_ms":1787930984000,"timestamp_seconds":1787930984,"priority":1,"record_length":96,"hex_timestamp":"000001a048fdbe40"} 
[2026-08-28 21:05:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:05:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:05:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:05:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:05:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:05:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:05:12] local.INFO: Teltonika packet parsed successfully {"connection_id":165066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:05:12] local.INFO: Passing IMEI to GPS processor {"connection_id":165066,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:05:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":165066,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:05:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:05:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:05:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:05:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710254848001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:05:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:05:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:05:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710254848001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:05:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:05:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:05:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:05:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:05:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710254848001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:05:12] 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":710417,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:05:12] local.INFO: GPS data processed {"connection_id":165066,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:05:12] local.INFO: Acknowledgment sent {"connection_id":165066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:05:19] local.INFO: TCP Data received {"connection_id":166423,"ip":"117.224.197.200","data_length":795,"data_hex":"000000000000030f8e0a000001a04901c198012d0dc700071e23000029008a29..."} 
[2026-08-28 21:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04901c198012d0dc700071e23000029008a29..."} 
[2026-08-28 21:05:19] local.INFO: Processing buffer {"connection_id":166423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04901c198012d0dc700071e23000029008a29..."} 
[2026-08-28 21:05:19] local.INFO: Packet analysis {"connection_id":166423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04901"} 
[2026-08-28 21:05:19] local.INFO: Extracted packet for processing {"connection_id":166423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04901"} 
[2026-08-28 21:05:19] local.INFO: GPS Element Parsed {"raw_longitude":755877632,"raw_latitude":119415552,"longitude_deg":75.5877632,"latitude_deg":11.9415552,"altitude":41,"angle":138,"satellites":41,"speed":13,"hex_longitude":"2d0dc700","hex_latitude":"071e2300","is_valid_coordinates":true} 
[2026-08-28 21:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:05:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710394112001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:05:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16203584462913536,"note":"Value kept but may cause issues"} 
[2026-08-28 21:05:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":985795767756406784,"note":"Value kept but may cause issues"} 
[2026-08-28 21:05:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:05:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787931247000,"timestamp_ms":1787931247000,"timestamp_seconds":1787931247,"priority":1,"record_length":96,"hex_timestamp":"000001a04901c198"} 
[2026-08-28 21:05:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:05:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-28 21:05:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:05:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:05:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:05:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:05:19] local.INFO: Teltonika packet parsed successfully {"connection_id":166423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:05:19] local.INFO: Passing IMEI to GPS processor {"connection_id":166423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:05:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":166423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:05:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:05:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:05:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:05:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710394112001,"66":13439,"46":206,"28":31744,"24":13,"16":16203584462913536,"45":985795767756406784},"client_ip":"117.224.197.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,28,24,16,45]} 
[2026-08-28 21:05:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:05:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:05:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710394112001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:05:19] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-08-28 21:05:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:05:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16203584462913536,"km_value":16203584462913.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:05:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":985795767756406784,"description":"Unknown IO ID 45"} 
[2026-08-28 21:05:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710394112001,"power":13439,"unknown_46":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":985795767756406784}} 
[2026-08-28 21:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":166423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710418,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:05:20] local.INFO: GPS data processed {"connection_id":166423,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:05:20] local.INFO: Acknowledgment sent {"connection_id":166423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:05:30] local.INFO: TCP Data received {"connection_id":163774,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:05:30] local.INFO: Processing buffer {"connection_id":163774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:05:30] local.INFO: IMEI packet received {"connection_id":163774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 21:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":163774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:05:35] local.INFO: TCP Data received {"connection_id":163774,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:05:35] local.INFO: Processing buffer {"connection_id":163774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:05:35] local.INFO: IMEI packet received {"connection_id":163774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 21:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":163774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:05:37] local.INFO: TCP Data received {"connection_id":163774,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048ffcd98012d34c14006aa4840000b00e629..."} 
[2026-08-28 21:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048ffcd98012d34c14006aa4840000b00e629..."} 
[2026-08-28 21:05:37] local.INFO: Processing buffer {"connection_id":163774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048ffcd98012d34c14006aa4840000b00e629..."} 
[2026-08-28 21:05:37] local.INFO: Packet analysis {"connection_id":163774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ff"} 
[2026-08-28 21:05:37] local.INFO: Extracted packet for processing {"connection_id":163774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ff"} 
[2026-08-28 21:05:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710289408001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787931119000,"timestamp_ms":1787931119000,"timestamp_seconds":1787931119,"priority":1,"record_length":96,"hex_timestamp":"000001a048ffcd98"} 
[2026-08-28 21:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 21:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710289408001,"66":25288,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710289408001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:05:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:05:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:05: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-28 21:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710289408001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:05:37] 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":710419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:05:37] local.INFO: GPS data processed {"connection_id":163774,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:05:37] local.INFO: Acknowledgment sent {"connection_id":163774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:05:43] local.INFO: TCP Data received {"connection_id":164051,"ip":"117.224.197.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:05:43] local.INFO: Processing buffer {"connection_id":164051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:05:43] local.INFO: IMEI packet received {"connection_id":164051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 21:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":164051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:05:43] local.INFO: TCP Data received {"connection_id":164051,"ip":"117.224.197.200","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-28 21:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164051,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-28 21:05:43] local.INFO: Processing buffer {"connection_id":164051,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-28 21:05:43] local.INFO: IMEI packet received {"connection_id":164051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 21:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":164051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:05:48] local.INFO: TCP Data received {"connection_id":164051,"ip":"117.224.197.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:05:48] local.INFO: Processing buffer {"connection_id":164051,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-28 21:05:48] local.INFO: IMEI packet received {"connection_id":164051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 21:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":164051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:05:49] local.INFO: TCP Data received {"connection_id":164051,"ip":"117.224.197.200","data_length":795,"data_hex":"000000000000030f8e0a000001a04901d138012d0dcc00071e1ec80027007e2a..."} 
[2026-08-28 21:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04901d138012d0dcc00071e1ec80027007e2a..."} 
[2026-08-28 21:05:49] local.INFO: Processing buffer {"connection_id":164051,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a049..."} 
[2026-08-28 21:05:49] local.INFO: IMEI packet received {"connection_id":164051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 21:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":164051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:05:53] local.INFO: TCP Data received {"connection_id":164051,"ip":"117.224.197.200","data_length":795,"data_hex":"000000000000030f8e0a000001a04901f460012d0dd840071e17880025006d28..."} 
[2026-08-28 21:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04901f460012d0dd840071e17880025006d28..."} 
[2026-08-28 21:05:53] local.INFO: Processing buffer {"connection_id":164051,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a04901d138012d0dcc00071e1ec80027007e2a..."} 
[2026-08-28 21:05:53] local.INFO: Packet analysis {"connection_id":164051,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a04901"} 
[2026-08-28 21:05:53] local.INFO: Extracted packet for processing {"connection_id":164051,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04901"} 
[2026-08-28 21:05:53] local.INFO: GPS Element Parsed {"raw_longitude":755878912,"raw_latitude":119414472,"longitude_deg":75.5878912,"latitude_deg":11.9414472,"altitude":39,"angle":126,"satellites":42,"speed":16,"hex_longitude":"2d0dcc00","hex_latitude":"071e1ec8","is_valid_coordinates":true} 
[2026-08-28 21:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:05:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710399232001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:05:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16203666067292160,"note":"Value kept but may cause issues"} 
[2026-08-28 21:05:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":992762273428865024,"note":"Value kept but may cause issues"} 
[2026-08-28 21:05:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:05:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787931251000,"timestamp_ms":1787931251000,"timestamp_seconds":1787931251,"priority":1,"record_length":96,"hex_timestamp":"000001a04901d138"} 
[2026-08-28 21:05:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:05:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-28 21:05:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:05:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:05:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:05:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:05:53] local.INFO: Teltonika packet parsed successfully {"connection_id":164051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:05:53] local.INFO: Passing IMEI to GPS processor {"connection_id":164051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:05:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":164051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:05:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:05:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:05:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:05:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710399232001,"66":11993,"46":206,"28":31744,"24":16,"16":16203666067292160,"45":992762273428865024},"client_ip":"117.224.197.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,28,24,16,45]} 
[2026-08-28 21:05:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:05:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:05:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710399232001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:05:53] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-08-28 21:05:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:05:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16203666067292160,"km_value":16203666067292.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:05:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":992762273428865024,"description":"Unknown IO ID 45"} 
[2026-08-28 21:05:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710399232001,"power":11993,"unknown_46":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":992762273428865024}} 
[2026-08-28 21:05:53] local.INFO: DEBUG: GPS processor result {"connection_id":164051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710420,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:05:53] local.INFO: GPS data processed {"connection_id":164051,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:05:53] local.INFO: Acknowledgment sent {"connection_id":164051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:05:53] local.INFO: Packet analysis {"connection_id":164051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04901"} 
[2026-08-28 21:05:53] local.INFO: Extracted packet for processing {"connection_id":164051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04901"} 
[2026-08-28 21:05:53] local.INFO: GPS Element Parsed {"raw_longitude":755882048,"raw_latitude":119412616,"longitude_deg":75.5882048,"latitude_deg":11.9412616,"altitude":37,"angle":109,"satellites":40,"speed":12,"hex_longitude":"2d0dd840","hex_latitude":"071e1788","is_valid_coordinates":true} 
[2026-08-28 21:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:05:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710400256001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:05:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16203837865984000,"note":"Value kept but may cause issues"} 
[2026-08-28 21:05:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":994169648312141824,"note":"Value kept but may cause issues"} 
[2026-08-28 21:05:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:05:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787931260000,"timestamp_ms":1787931260000,"timestamp_seconds":1787931260,"priority":1,"record_length":96,"hex_timestamp":"000001a04901f460"} 
[2026-08-28 21:05:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:05:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-28 21:05:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2381,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:05:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:05:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:05:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:05:53] local.INFO: Teltonika packet parsed successfully {"connection_id":164051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:05:53] local.INFO: Passing IMEI to GPS processor {"connection_id":164051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:05:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":164051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:05:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:05:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:05:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:05:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710400256001,"66":13656,"46":206,"28":31744,"24":12,"16":16203837865984000,"45":994169648312141824},"client_ip":"117.224.197.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,28,24,16,45]} 
[2026-08-28 21:05:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:05:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:05:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710400256001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:05:53] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-08-28 21:05:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:05:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16203837865984000,"km_value":16203837865984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:05:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":994169648312141824,"description":"Unknown IO ID 45"} 
[2026-08-28 21:05:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710400256001,"power":13656,"unknown_46":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":994169648312141824}} 
[2026-08-28 21:05:54] local.INFO: DEBUG: GPS processor result {"connection_id":164051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710421,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:05:54] local.INFO: GPS data processed {"connection_id":164051,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:05:54] local.INFO: Acknowledgment sent {"connection_id":164051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:05:55] local.INFO: TCP Data received {"connection_id":163775,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163775,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:05:55] local.INFO: Processing buffer {"connection_id":163775,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:05:55] local.INFO: IMEI packet received {"connection_id":163775,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 21:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":163775,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:06:01] local.INFO: TCP Data received {"connection_id":163775,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163775,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:06:01] local.INFO: Processing buffer {"connection_id":163775,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:06:01] local.INFO: IMEI packet received {"connection_id":163775,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 21:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":163775,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:06:02] local.INFO: TCP Data received {"connection_id":163775,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049025608012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049025608012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:06:02] local.INFO: Processing buffer {"connection_id":163775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049025608012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:06:02] local.INFO: Packet analysis {"connection_id":163775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04902"} 
[2026-08-28 21:06:02] local.INFO: Extracted packet for processing {"connection_id":163775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04902"} 
[2026-08-28 21:06:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710331904001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:06:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787931285000,"timestamp_ms":1787931285000,"timestamp_seconds":1787931285,"priority":1,"record_length":96,"hex_timestamp":"000001a049025608"} 
[2026-08-28 21:06:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:06:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:06:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:06:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:06:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163775,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163775,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:06:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710331904001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710331904001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:06:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:06:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710331904001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:06:02] 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":710422,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:06:02] local.INFO: GPS data processed {"connection_id":163775,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:06:02] local.INFO: Acknowledgment sent {"connection_id":163775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:06:08] local.INFO: TCP Data received {"connection_id":163774,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048ffcd98012d34c14006aa4840000b00e629..."} 
[2026-08-28 21:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048ffcd98012d34c14006aa4840000b00e629..."} 
[2026-08-28 21:06:08] local.INFO: Processing buffer {"connection_id":163774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048ffcd98012d34c14006aa4840000b00e629..."} 
[2026-08-28 21:06:08] local.INFO: Packet analysis {"connection_id":163774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ff"} 
[2026-08-28 21:06:08] local.INFO: Extracted packet for processing {"connection_id":163774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ff"} 
[2026-08-28 21:06:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710289408001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:06:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:06:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:06:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:06:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787931119000,"timestamp_ms":1787931119000,"timestamp_seconds":1787931119,"priority":1,"record_length":96,"hex_timestamp":"000001a048ffcd98"} 
[2026-08-28 21:06:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:06:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 21:06:08] 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-28 21:06:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:06:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:06:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:06:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:06:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:06:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:06:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:06:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:06:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:06:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710289408001,"66":25288,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:06:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:06:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:06:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710289408001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:06:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:06:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:06: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-28 21:06:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:06:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710289408001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:06:08] 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":710423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:06:08] local.INFO: GPS data processed {"connection_id":163774,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:06:08] local.INFO: Acknowledgment sent {"connection_id":163774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:06:25] local.INFO: TCP Data received {"connection_id":164051,"ip":"117.224.197.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0490328f8012d0e0280071df630002200862c..."} 
[2026-08-28 21:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0490328f8012d0e0280071df630002200862c..."} 
[2026-08-28 21:06:25] local.INFO: Processing buffer {"connection_id":164051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0490328f8012d0e0280071df630002200862c..."} 
[2026-08-28 21:06:25] local.INFO: Packet analysis {"connection_id":164051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04903"} 
[2026-08-28 21:06:25] local.INFO: Extracted packet for processing {"connection_id":164051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04903"} 
[2026-08-28 21:06:25] local.INFO: GPS Element Parsed {"raw_longitude":755892864,"raw_latitude":119404080,"longitude_deg":75.5892864,"latitude_deg":11.940408,"altitude":34,"angle":134,"satellites":44,"speed":12,"hex_longitude":"2d0e0280","hex_latitude":"071df630","is_valid_coordinates":true} 
[2026-08-28 21:06:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:06:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710422528001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:06:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16204576600358912,"note":"Value kept but may cause issues"} 
[2026-08-28 21:06:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1009158190819373056,"note":"Value kept but may cause issues"} 
[2026-08-28 21:06:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:06:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787931339000,"timestamp_ms":1787931339000,"timestamp_seconds":1787931339,"priority":1,"record_length":96,"hex_timestamp":"000001a0490328f8"} 
[2026-08-28 21:06:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:06:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21:06:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-28 21:06:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:06:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:06:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:06:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:06:25] local.INFO: Teltonika packet parsed successfully {"connection_id":164051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:06:25] local.INFO: Passing IMEI to GPS processor {"connection_id":164051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:06:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":164051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:06:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:06:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:06:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:06:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710422528001,"66":12841,"46":206,"28":31744,"24":12,"16":16204576600358912,"45":1009158190819373056},"client_ip":"117.224.197.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,28,24,16,45]} 
[2026-08-28 21:06:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:06:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:06:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710422528001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:06:25] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-08-28 21:06:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:06:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16204576600358912,"km_value":16204576600358.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:06:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1009158190819373056,"description":"Unknown IO ID 45"} 
[2026-08-28 21:06:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710422528001,"power":12841,"unknown_46":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1009158190819373056}} 
[2026-08-28 21:06:25] local.INFO: DEBUG: GPS processor result {"connection_id":164051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710424,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:06:25] local.INFO: GPS data processed {"connection_id":164051,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:06:25] local.INFO: Acknowledgment sent {"connection_id":164051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:06:29] local.INFO: TCP Data received {"connection_id":165067,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:06:29] local.INFO: Processing buffer {"connection_id":165067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:06:29] local.INFO: IMEI packet received {"connection_id":165067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 21:06:29] local.INFO: IMEI acknowledgment sent {"connection_id":165067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:06:34] local.INFO: TCP Data received {"connection_id":163775,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049025608012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049025608012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:06:34] local.INFO: Processing buffer {"connection_id":163775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049025608012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:06:34] local.INFO: Packet analysis {"connection_id":163775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04902"} 
[2026-08-28 21:06:34] local.INFO: Extracted packet for processing {"connection_id":163775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04902"} 
[2026-08-28 21:06:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710331904001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:06:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:06:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787931285000,"timestamp_ms":1787931285000,"timestamp_seconds":1787931285,"priority":1,"record_length":96,"hex_timestamp":"000001a049025608"} 
[2026-08-28 21:06:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:06:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:06:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:06:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:06:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163775,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163775,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:06:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710331904001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710331904001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:06:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:06:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:06:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:06:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710331904001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:06:34] 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":710425,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:06:34] local.INFO: GPS data processed {"connection_id":163775,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:06:34] local.INFO: Acknowledgment sent {"connection_id":163775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:06:35] local.INFO: TCP Data received {"connection_id":165067,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:06:35] local.INFO: Processing buffer {"connection_id":165067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:06:35] local.INFO: IMEI packet received {"connection_id":165067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 21:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":165067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:06:37] local.INFO: TCP Data received {"connection_id":165067,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048ffcd98012d34c14006aa4840000b00e629..."} 
[2026-08-28 21:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048ffcd98012d34c14006aa4840000b00e629..."} 
[2026-08-28 21:06:37] local.INFO: Processing buffer {"connection_id":165067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048ffcd98012d34c14006aa4840000b00e629..."} 
[2026-08-28 21:06:37] local.INFO: Packet analysis {"connection_id":165067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ff"} 
[2026-08-28 21:06:37] local.INFO: Extracted packet for processing {"connection_id":165067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ff"} 
[2026-08-28 21:06:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710289408001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787931119000,"timestamp_ms":1787931119000,"timestamp_seconds":1787931119,"priority":1,"record_length":96,"hex_timestamp":"000001a048ffcd98"} 
[2026-08-28 21:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 21:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":165067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":165067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":165067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710289408001,"66":25288,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710289408001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:06:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:06:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:06: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-28 21:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710289408001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:06:37] 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":710426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:06:37] local.INFO: GPS data processed {"connection_id":165067,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:06:37] local.INFO: Acknowledgment sent {"connection_id":165067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:06:43] local.INFO: TCP Data received {"connection_id":163776,"ip":"117.224.197.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163776,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:06:43] local.INFO: Processing buffer {"connection_id":163776,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:06:43] local.INFO: IMEI packet received {"connection_id":163776,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 21:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":163776,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:06:48] local.INFO: TCP Data received {"connection_id":163776,"ip":"117.224.197.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163776,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:06:48] local.INFO: Processing buffer {"connection_id":163776,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:06:48] local.INFO: IMEI packet received {"connection_id":163776,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 21:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":163776,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:06:49] local.INFO: TCP Data received {"connection_id":163776,"ip":"117.224.197.200","data_length":795,"data_hex":"000000000000030f8e0a000001a049032ce0012d0e0380071df538002200922b..."} 
[2026-08-28 21:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049032ce0012d0e0380071df538002200922b..."} 
[2026-08-28 21:06:49] local.INFO: Processing buffer {"connection_id":163776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049032ce0012d0e0380071df538002200922b..."} 
[2026-08-28 21:06:49] local.INFO: Packet analysis {"connection_id":163776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04903"} 
[2026-08-28 21:06:49] local.INFO: Extracted packet for processing {"connection_id":163776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04903"} 
[2026-08-28 21:06:49] local.INFO: GPS Element Parsed {"raw_longitude":755893120,"raw_latitude":119403832,"longitude_deg":75.589312,"latitude_deg":11.9403832,"altitude":34,"angle":146,"satellites":43,"speed":12,"hex_longitude":"2d0e0380","hex_latitude":"071df538","is_valid_coordinates":true} 
[2026-08-28 21:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:06:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710422784001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:06:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16204593780228096,"note":"Value kept but may cause issues"} 
[2026-08-28 21:06:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1009510034540212224,"note":"Value kept but may cause issues"} 
[2026-08-28 21:06:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:06:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787931340000,"timestamp_ms":1787931340000,"timestamp_seconds":1787931340,"priority":1,"record_length":96,"hex_timestamp":"000001a049032ce0"} 
[2026-08-28 21:06:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:06:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-28 21:06:49] 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-28 21:06: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-28 21:06:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:06:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:06:49] local.INFO: Teltonika packet parsed successfully {"connection_id":163776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:06:49] local.INFO: Passing IMEI to GPS processor {"connection_id":163776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:06:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":163776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:06:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:06:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:06:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:06:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710422784001,"66":12841,"46":206,"28":31744,"24":12,"16":16204593780228096,"45":1009510034540212224},"client_ip":"117.224.197.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,28,24,16,45]} 
[2026-08-28 21:06:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:06:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:06:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710422784001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:06:49] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-08-28 21:06:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:06:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16204593780228096,"km_value":16204593780228.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:06:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1009510034540212224,"description":"Unknown IO ID 45"} 
[2026-08-28 21:06:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710422784001,"power":12841,"unknown_46":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1009510034540212224}} 
[2026-08-28 21:06:49] 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":710427,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:06:49] local.INFO: GPS data processed {"connection_id":163776,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:06:49] local.INFO: Acknowledgment sent {"connection_id":163776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:06:56] local.INFO: TCP Data received {"connection_id":166424,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166424,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:06:56] local.INFO: Processing buffer {"connection_id":166424,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:06:56] local.INFO: IMEI packet received {"connection_id":166424,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 21:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":166424,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:07:01] local.INFO: TCP Data received {"connection_id":166424,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166424,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:07:01] local.INFO: Processing buffer {"connection_id":166424,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:07:01] local.INFO: IMEI packet received {"connection_id":166424,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 21:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":166424,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:07:03] local.INFO: TCP Data received {"connection_id":166424,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049025608012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049025608012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:07:03] local.INFO: Processing buffer {"connection_id":166424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049025608012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:07:03] local.INFO: Packet analysis {"connection_id":166424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04902"} 
[2026-08-28 21:07:03] local.INFO: Extracted packet for processing {"connection_id":166424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04902"} 
[2026-08-28 21:07:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710331904001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787931285000,"timestamp_ms":1787931285000,"timestamp_seconds":1787931285,"priority":1,"record_length":96,"hex_timestamp":"000001a049025608"} 
[2026-08-28 21:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:07:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:07:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:07:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":166424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":166424,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":166424,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710331904001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710331904001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:07:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:07:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710331904001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":166424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710428,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:07:03] local.INFO: GPS data processed {"connection_id":166424,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:07:03] local.INFO: Acknowledgment sent {"connection_id":166424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:07:08] local.INFO: TCP Data received {"connection_id":165067,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048ffcd98012d34c14006aa4840000b00e629..."} 
[2026-08-28 21:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048ffcd98012d34c14006aa4840000b00e629..."} 
[2026-08-28 21:07:08] local.INFO: Processing buffer {"connection_id":165067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048ffcd98012d34c14006aa4840000b00e629..."} 
[2026-08-28 21:07:08] local.INFO: Packet analysis {"connection_id":165067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ff"} 
[2026-08-28 21:07:08] local.INFO: Extracted packet for processing {"connection_id":165067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ff"} 
[2026-08-28 21:07:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710289408001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:07:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787931119000,"timestamp_ms":1787931119000,"timestamp_seconds":1787931119,"priority":1,"record_length":96,"hex_timestamp":"000001a048ffcd98"} 
[2026-08-28 21:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:07:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 21:07:08] 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-28 21:07:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":165067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":165067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":165067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:07:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710289408001,"66":25288,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710289408001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:07:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:07:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:07: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-28 21:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710289408001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:07:08] 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":710429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:07:08] local.INFO: GPS data processed {"connection_id":165067,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:07:08] local.INFO: Acknowledgment sent {"connection_id":165067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:07:21] local.INFO: TCP Data received {"connection_id":163776,"ip":"117.224.197.200","data_length":795,"data_hex":"000000000000030f8e0a000001a0490334b0012d0e0440071df300002200a32c..."} 
[2026-08-28 21:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0490334b0012d0e0440071df300002200a32c..."} 
[2026-08-28 21:07:21] local.INFO: Processing buffer {"connection_id":163776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0490334b0012d0e0440071df300002200a32c..."} 
[2026-08-28 21:07:21] local.INFO: Packet analysis {"connection_id":163776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04903"} 
[2026-08-28 21:07:21] local.INFO: Extracted packet for processing {"connection_id":163776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04903"} 
[2026-08-28 21:07:21] local.INFO: GPS Element Parsed {"raw_longitude":755893312,"raw_latitude":119403264,"longitude_deg":75.5893312,"latitude_deg":11.9403264,"altitude":34,"angle":163,"satellites":44,"speed":10,"hex_longitude":"2d0e0440","hex_latitude":"071df300","is_valid_coordinates":true} 
[2026-08-28 21:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710423040001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16204619550031872,"note":"Value kept but may cause issues"} 
[2026-08-28 21:07:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1009791509516859392,"note":"Value kept but may cause issues"} 
[2026-08-28 21:07:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787931342000,"timestamp_ms":1787931342000,"timestamp_seconds":1787931342,"priority":1,"record_length":96,"hex_timestamp":"000001a0490334b0"} 
[2026-08-28 21:07:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:07:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-28 21:07:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:07:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:07:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":163776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":163776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":163776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:07:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710423040001,"66":13472,"46":206,"28":31744,"24":10,"16":16204619550031872,"45":1009791509516859392},"client_ip":"117.224.197.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,28,24,16,45]} 
[2026-08-28 21:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710423040001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:07:21] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-08-28 21:07:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16204619550031872,"km_value":16204619550031.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:07:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1009791509516859392,"description":"Unknown IO ID 45"} 
[2026-08-28 21:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710423040001,"power":13472,"unknown_46":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1009791509516859392}} 
[2026-08-28 21:07:21] 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":710430,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:07:21] local.INFO: GPS data processed {"connection_id":163776,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:07:21] local.INFO: Acknowledgment sent {"connection_id":163776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:07:29] local.INFO: TCP Data received {"connection_id":164052,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:07:29] local.INFO: Processing buffer {"connection_id":164052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:07:29] local.INFO: IMEI packet received {"connection_id":164052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 21:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":164052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:07:35] local.INFO: TCP Data received {"connection_id":166424,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049025608012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049025608012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:07:35] local.INFO: Processing buffer {"connection_id":166424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049025608012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:07:35] local.INFO: Packet analysis {"connection_id":166424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04902"} 
[2026-08-28 21:07:35] local.INFO: Extracted packet for processing {"connection_id":166424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04902"} 
[2026-08-28 21:07:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710331904001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:07:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:07:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787931285000,"timestamp_ms":1787931285000,"timestamp_seconds":1787931285,"priority":1,"record_length":96,"hex_timestamp":"000001a049025608"} 
[2026-08-28 21:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:07:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:07:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:07:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":166424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":166424,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":166424,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:07:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710331904001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710331904001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:07:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:07:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:07:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710331904001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:07:35] local.INFO: TCP Data received {"connection_id":164052,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:07:35] local.INFO: Processing buffer {"connection_id":164052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:07:35] local.INFO: IMEI packet received {"connection_id":164052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 21:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":164052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":166424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710431,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:07:35] local.INFO: GPS data processed {"connection_id":166424,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:07:35] local.INFO: Acknowledgment sent {"connection_id":166424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:07:38] local.INFO: TCP Data received {"connection_id":164052,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a048ffcd98012d34c14006aa4840000b00e629..."} 
[2026-08-28 21:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a048ffcd98012d34c14006aa4840000b00e629..."} 
[2026-08-28 21:07:38] local.INFO: Processing buffer {"connection_id":164052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a048ffcd98012d34c14006aa4840000b00e629..."} 
[2026-08-28 21:07:38] local.INFO: Packet analysis {"connection_id":164052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a048ff"} 
[2026-08-28 21:07:38] local.INFO: Extracted packet for processing {"connection_id":164052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a048ff"} 
[2026-08-28 21:07:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710289408001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:07:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787931119000,"timestamp_ms":1787931119000,"timestamp_seconds":1787931119,"priority":1,"record_length":96,"hex_timestamp":"000001a048ffcd98"} 
[2026-08-28 21:07:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:07:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 21:07:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:07:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:07:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:07:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710289408001,"66":25288,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710289408001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:07:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:07:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:07: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-28 21:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710289408001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":164052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:07:38] local.INFO: GPS data processed {"connection_id":164052,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:07:38] local.INFO: Acknowledgment sent {"connection_id":164052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:07:42] local.INFO: TCP Data received {"connection_id":166425,"ip":"117.224.197.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166425,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:07:42] local.INFO: Processing buffer {"connection_id":166425,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:07:42] local.INFO: IMEI packet received {"connection_id":166425,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 21:07:42] local.INFO: IMEI acknowledgment sent {"connection_id":166425,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:07:46] local.INFO: TCP Data received {"connection_id":166425,"ip":"117.224.197.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166425,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:07:46] local.INFO: Processing buffer {"connection_id":166425,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:07:46] local.INFO: IMEI packet received {"connection_id":166425,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 21:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":166425,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:07:47] local.INFO: TCP Data received {"connection_id":166425,"ip":"117.224.197.200","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166425,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:07:47] local.INFO: Processing buffer {"connection_id":166425,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:07:47] local.INFO: IMEI packet received {"connection_id":166425,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 21:07:47] local.INFO: IMEI acknowledgment sent {"connection_id":166425,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:07:49] local.INFO: TCP Data received {"connection_id":166425,"ip":"117.224.197.200","data_length":795,"data_hex":"000000000000030f8e0a000001a049036390012d0e0700071dea90002200af2b..."} 
[2026-08-28 21:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049036390012d0e0700071dea90002200af2b..."} 
[2026-08-28 21:07:49] local.INFO: Processing buffer {"connection_id":166425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049036390012d0e0700071dea90002200af2b..."} 
[2026-08-28 21:07:49] local.INFO: Packet analysis {"connection_id":166425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04903"} 
[2026-08-28 21:07:49] local.INFO: Extracted packet for processing {"connection_id":166425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04903"} 
[2026-08-28 21:07:49] local.INFO: GPS Element Parsed {"raw_longitude":755894016,"raw_latitude":119401104,"longitude_deg":75.5894016,"latitude_deg":11.9401104,"altitude":34,"angle":175,"satellites":43,"speed":8,"hex_longitude":"2d0e0700","hex_latitude":"071dea90","is_valid_coordinates":true} 
[2026-08-28 21:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:07:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710423552001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:07:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16204731219181568,"note":"Value kept but may cause issues"} 
[2026-08-28 21:07:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1010002615749246976,"note":"Value kept but may cause issues"} 
[2026-08-28 21:07:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:07:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787931354000,"timestamp_ms":1787931354000,"timestamp_seconds":1787931354,"priority":1,"record_length":96,"hex_timestamp":"000001a049036390"} 
[2026-08-28 21:07:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:07:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-28 21:07:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:07:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:07:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:07:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:07:49] local.INFO: Teltonika packet parsed successfully {"connection_id":166425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:07:49] local.INFO: Passing IMEI to GPS processor {"connection_id":166425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:07:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":166425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:07:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:07:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:07:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:07:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710423552001,"66":12461,"44":206,"28":31744,"24":8,"16":16204731219181568,"45":1010002615749246976},"client_ip":"117.224.197.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,28,24,16,45]} 
[2026-08-28 21:07:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:07:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:07:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710423552001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:07:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-28 21:07:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:07:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16204731219181568,"km_value":16204731219181.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:07:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1010002615749246976,"description":"Unknown IO ID 45"} 
[2026-08-28 21:07:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710423552001,"power":12461,"unknown_44":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1010002615749246976}} 
[2026-08-28 21:07:49] local.INFO: DEBUG: GPS processor result {"connection_id":166425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710433,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:07:49] local.INFO: GPS data processed {"connection_id":166425,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:07:49] local.INFO: Acknowledgment sent {"connection_id":166425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:07:53] local.INFO: TCP Data received {"connection_id":166425,"ip":"117.224.197.200","data_length":795,"data_hex":"000000000000030f8e0a000001a04903a210012d0e0780071dd7a0002400bb2b..."} 
[2026-08-28 21:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04903a210012d0e0780071dd7a0002400bb2b..."} 
[2026-08-28 21:07:53] local.INFO: Processing buffer {"connection_id":166425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04903a210012d0e0780071dd7a0002400bb2b..."} 
[2026-08-28 21:07:53] local.INFO: Packet analysis {"connection_id":166425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04903"} 
[2026-08-28 21:07:53] local.INFO: Extracted packet for processing {"connection_id":166425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04903"} 
[2026-08-28 21:07:53] local.INFO: GPS Element Parsed {"raw_longitude":755894144,"raw_latitude":119396256,"longitude_deg":75.5894144,"latitude_deg":11.9396256,"altitude":36,"angle":187,"satellites":43,"speed":16,"hex_longitude":"2d0e0780","hex_latitude":"071dd7a0","is_valid_coordinates":true} 
[2026-08-28 21:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:07:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710426624001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:07:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16204971737350144,"note":"Value kept but may cause issues"} 
[2026-08-28 21:07:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1010776671934648320,"note":"Value kept but may cause issues"} 
[2026-08-28 21:07:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:07:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787931370000,"timestamp_ms":1787931370000,"timestamp_seconds":1787931370,"priority":1,"record_length":96,"hex_timestamp":"000001a04903a210"} 
[2026-08-28 21:07:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:07:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-28 21:07:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:07:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:07:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:07:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:07:53] local.INFO: Teltonika packet parsed successfully {"connection_id":166425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:07:53] local.INFO: Passing IMEI to GPS processor {"connection_id":166425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:07:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":166425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:07:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.197.200","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:07:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:07:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:07:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710426624001,"66":12406,"44":206,"28":31744,"24":16,"16":16204971737350144,"45":1010776671934648320},"client_ip":"117.224.197.200","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,28,24,16,45]} 
[2026-08-28 21:07:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:07:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:07:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710426624001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:07:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-28 21:07:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:07:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16204971737350144,"km_value":16204971737350.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:07:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1010776671934648320,"description":"Unknown IO ID 45"} 
[2026-08-28 21:07:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710426624001,"power":12406,"unknown_44":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1010776671934648320}} 
[2026-08-28 21:07:53] local.INFO: DEBUG: GPS processor result {"connection_id":166425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710434,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:07:53] local.INFO: GPS data processed {"connection_id":166425,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:07:53] local.INFO: Acknowledgment sent {"connection_id":166425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:08:01] local.INFO: TCP Data received {"connection_id":165068,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165068,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:08:01] local.INFO: Processing buffer {"connection_id":165068,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:08:01] local.INFO: IMEI packet received {"connection_id":165068,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 21:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":165068,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:08:06] local.INFO: TCP Data received {"connection_id":165068,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165068,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:08:06] local.INFO: Processing buffer {"connection_id":165068,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:08:06] local.INFO: IMEI packet received {"connection_id":165068,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 21:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":165068,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:08:08] local.INFO: TCP Data received {"connection_id":165068,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049025608012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049025608012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:08:08] local.INFO: Processing buffer {"connection_id":165068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049025608012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:08:08] local.INFO: Packet analysis {"connection_id":165068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04902"} 
[2026-08-28 21:08:08] local.INFO: Extracted packet for processing {"connection_id":165068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04902"} 
[2026-08-28 21:08:08] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710331904001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:08:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787931285000,"timestamp_ms":1787931285000,"timestamp_seconds":1787931285,"priority":1,"record_length":96,"hex_timestamp":"000001a049025608"} 
[2026-08-28 21:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:08:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:08:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:08:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":165068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":165068,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":165068,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710331904001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710331904001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:08:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:08:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710331904001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":165068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710435,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:08:08] local.INFO: GPS data processed {"connection_id":165068,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:08:08] local.INFO: Acknowledgment sent {"connection_id":165068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:08:09] local.INFO: TCP Data received {"connection_id":164052,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049046560012d34c14006aa4840001000e62b..."} 
[2026-08-28 21:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049046560012d34c14006aa4840001000e62b..."} 
[2026-08-28 21:08:09] local.INFO: Processing buffer {"connection_id":164052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049046560012d34c14006aa4840001000e62b..."} 
[2026-08-28 21:08:09] local.INFO: Packet analysis {"connection_id":164052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04904"} 
[2026-08-28 21:08:09] local.INFO: Extracted packet for processing {"connection_id":164052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04904"} 
[2026-08-28 21:08:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710366464001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:08:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:08:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787931420000,"timestamp_ms":1787931420000,"timestamp_seconds":1787931420,"priority":1,"record_length":96,"hex_timestamp":"000001a049046560"} 
[2026-08-28 21:08:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:08:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 21:08:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:08:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:08:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:08:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710366464001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710366464001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:08:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:08:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:08: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-28 21:08:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710366464001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:08:09] local.INFO: DEBUG: GPS processor result {"connection_id":164052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:08:09] local.INFO: GPS data processed {"connection_id":164052,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:08:09] local.INFO: Acknowledgment sent {"connection_id":164052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:08:12] local.INFO: TCP Data received {"connection_id":165068,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049025608012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049025608012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:08:12] local.INFO: Processing buffer {"connection_id":165068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049025608012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:08:12] local.INFO: Packet analysis {"connection_id":165068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04902"} 
[2026-08-28 21:08:12] local.INFO: Extracted packet for processing {"connection_id":165068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04902"} 
[2026-08-28 21:08:12] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:08:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710331904001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:08:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:08:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:08:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:08:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787931285000,"timestamp_ms":1787931285000,"timestamp_seconds":1787931285,"priority":1,"record_length":96,"hex_timestamp":"000001a049025608"} 
[2026-08-28 21:08:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:08:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:08:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:08:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:08:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:08:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:08:12] local.INFO: Teltonika packet parsed successfully {"connection_id":165068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:08:12] local.INFO: Passing IMEI to GPS processor {"connection_id":165068,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:08:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":165068,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:08:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:08:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:08:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:08:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710331904001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:08:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:08:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:08:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710331904001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:08:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:08:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:08:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:08:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:08:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710331904001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:08:12] local.INFO: DEBUG: GPS processor result {"connection_id":165068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710437,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:08:12] local.INFO: GPS data processed {"connection_id":165068,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:08:12] local.INFO: Acknowledgment sent {"connection_id":165068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:08:30] local.INFO: TCP Data received {"connection_id":163777,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:08:30] local.INFO: Processing buffer {"connection_id":163777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:08:30] local.INFO: IMEI packet received {"connection_id":163777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 21:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":163777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:08:35] local.INFO: TCP Data received {"connection_id":163777,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:08:35] local.INFO: Processing buffer {"connection_id":163777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:08:35] local.INFO: IMEI packet received {"connection_id":163777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 21:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":163777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:08:36] local.INFO: TCP Data received {"connection_id":163777,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049046560012d34c14006aa4840001000e62b..."} 
[2026-08-28 21:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049046560012d34c14006aa4840001000e62b..."} 
[2026-08-28 21:08:36] local.INFO: Processing buffer {"connection_id":163777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049046560012d34c14006aa4840001000e62b..."} 
[2026-08-28 21:08:36] local.INFO: Packet analysis {"connection_id":163777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04904"} 
[2026-08-28 21:08:36] local.INFO: Extracted packet for processing {"connection_id":163777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04904"} 
[2026-08-28 21:08:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710366464001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787931420000,"timestamp_ms":1787931420000,"timestamp_seconds":1787931420,"priority":1,"record_length":96,"hex_timestamp":"000001a049046560"} 
[2026-08-28 21:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 21:08:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710366464001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710366464001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:08:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:08:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710366464001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:08:36] 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":710438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:08:36] local.INFO: GPS data processed {"connection_id":163777,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:08:36] local.INFO: Acknowledgment sent {"connection_id":163777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:08:56] local.INFO: TCP Data received {"connection_id":164053,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164053,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:08:56] local.INFO: Processing buffer {"connection_id":164053,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:08:56] local.INFO: IMEI packet received {"connection_id":164053,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 21:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":164053,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:09:01] local.INFO: TCP Data received {"connection_id":164053,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164053,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:09:01] local.INFO: Processing buffer {"connection_id":164053,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:09:01] local.INFO: IMEI packet received {"connection_id":164053,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 21:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":164053,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:09:02] local.INFO: TCP Data received {"connection_id":164053,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049025608012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049025608012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:09:02] local.INFO: Processing buffer {"connection_id":164053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049025608012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:09:02] local.INFO: Packet analysis {"connection_id":164053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04902"} 
[2026-08-28 21:09:02] local.INFO: Extracted packet for processing {"connection_id":164053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04902"} 
[2026-08-28 21:09:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:09:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710331904001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:09:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:09:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:09:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:09:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787931285000,"timestamp_ms":1787931285000,"timestamp_seconds":1787931285,"priority":1,"record_length":96,"hex_timestamp":"000001a049025608"} 
[2026-08-28 21:09:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:09:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:09:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:09:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:09:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:09:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:09:02] local.INFO: Teltonika packet parsed successfully {"connection_id":164053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:09:02] local.INFO: Passing IMEI to GPS processor {"connection_id":164053,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:09:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":164053,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:09:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:09:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:09:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:09:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710331904001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:09:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:09:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:09:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710331904001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:09:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:09:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:09:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:09:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:09:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710331904001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":164053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710439,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:09:03] local.INFO: GPS data processed {"connection_id":164053,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:09:03] local.INFO: Acknowledgment sent {"connection_id":164053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:09:07] local.INFO: TCP Data received {"connection_id":164053,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049025608012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049025608012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:09:07] local.INFO: Processing buffer {"connection_id":164053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049025608012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:09:07] local.INFO: Packet analysis {"connection_id":164053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04902"} 
[2026-08-28 21:09:07] local.INFO: Extracted packet for processing {"connection_id":164053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04902"} 
[2026-08-28 21:09:07] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21: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-28 21:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710331904001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:09:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787931285000,"timestamp_ms":1787931285000,"timestamp_seconds":1787931285,"priority":1,"record_length":96,"hex_timestamp":"000001a049025608"} 
[2026-08-28 21: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-28 21:09:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21: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":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:09:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21: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-28 21: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-28 21:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":164053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":164053,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":164053,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:09:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710331904001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710331904001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:09:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:09:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710331904001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":164053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710440,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:09:07] local.INFO: GPS data processed {"connection_id":164053,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:09:07] local.INFO: Acknowledgment sent {"connection_id":164053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:09:12] local.INFO: TCP Data received {"connection_id":163777,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049046560012d34c14006aa4840001000e62b..."} 
[2026-08-28 21:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049046560012d34c14006aa4840001000e62b..."} 
[2026-08-28 21:09:12] local.INFO: Processing buffer {"connection_id":163777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049046560012d34c14006aa4840001000e62b..."} 
[2026-08-28 21:09:12] local.INFO: Packet analysis {"connection_id":163777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04904"} 
[2026-08-28 21:09:12] local.INFO: Extracted packet for processing {"connection_id":163777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04904"} 
[2026-08-28 21:09:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710366464001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:09:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:09:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787931420000,"timestamp_ms":1787931420000,"timestamp_seconds":1787931420,"priority":1,"record_length":96,"hex_timestamp":"000001a049046560"} 
[2026-08-28 21:09:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:09:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 21:09:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:09:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:09:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":163777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":163777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":163777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710366464001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710366464001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:09:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:09:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:09: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-28 21:09:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710366464001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:09:12] 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":710441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:09:12] local.INFO: GPS data processed {"connection_id":163777,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:09:12] local.INFO: Acknowledgment sent {"connection_id":163777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:09:29] local.INFO: TCP Data received {"connection_id":166426,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:09:29] local.INFO: Processing buffer {"connection_id":166426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:09:29] local.INFO: IMEI packet received {"connection_id":166426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 21:09:29] local.INFO: IMEI acknowledgment sent {"connection_id":166426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:09:35] local.INFO: TCP Data received {"connection_id":166426,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:09:35] local.INFO: Processing buffer {"connection_id":166426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:09:35] local.INFO: IMEI packet received {"connection_id":166426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 21:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":166426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:09:38] local.INFO: TCP Data received {"connection_id":166426,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049046560012d34c14006aa4840001000e62b..."} 
[2026-08-28 21:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049046560012d34c14006aa4840001000e62b..."} 
[2026-08-28 21:09:38] local.INFO: Processing buffer {"connection_id":166426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049046560012d34c14006aa4840001000e62b..."} 
[2026-08-28 21:09:38] local.INFO: Packet analysis {"connection_id":166426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04904"} 
[2026-08-28 21:09:38] local.INFO: Extracted packet for processing {"connection_id":166426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04904"} 
[2026-08-28 21:09:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710366464001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787931420000,"timestamp_ms":1787931420000,"timestamp_seconds":1787931420,"priority":1,"record_length":96,"hex_timestamp":"000001a049046560"} 
[2026-08-28 21:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 21:09:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:09:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":166426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":166426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":166426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710366464001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710366464001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:09:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:09:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:09: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-28 21:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710366464001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":166426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:09:38] local.INFO: GPS data processed {"connection_id":166426,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:09:38] local.INFO: Acknowledgment sent {"connection_id":166426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:09:39] local.INFO: TCP Data received {"connection_id":164053,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049025608012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049025608012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:09:39] local.INFO: Processing buffer {"connection_id":164053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049025608012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:09:39] local.INFO: Packet analysis {"connection_id":164053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04902"} 
[2026-08-28 21:09:39] local.INFO: Extracted packet for processing {"connection_id":164053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04902"} 
[2026-08-28 21:09:39] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:09:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710331904001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:09:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:09:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:09:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:09:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787931285000,"timestamp_ms":1787931285000,"timestamp_seconds":1787931285,"priority":1,"record_length":96,"hex_timestamp":"000001a049025608"} 
[2026-08-28 21:09:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:09:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:09:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:09:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:09:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:09:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:09:39] local.INFO: Teltonika packet parsed successfully {"connection_id":164053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:09:39] local.INFO: Passing IMEI to GPS processor {"connection_id":164053,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:09:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":164053,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:09:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:09:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:09:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:09:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710331904001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:09:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:09:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:09:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710331904001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:09:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:09:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:09:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:09:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:09:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710331904001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:09:39] local.INFO: DEBUG: GPS processor result {"connection_id":164053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710443,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:09:39] local.INFO: GPS data processed {"connection_id":164053,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:09:39] local.INFO: Acknowledgment sent {"connection_id":164053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:09:55] local.INFO: TCP Data received {"connection_id":166427,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166427,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:09:55] local.INFO: Processing buffer {"connection_id":166427,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:09:55] local.INFO: IMEI packet received {"connection_id":166427,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 21:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":166427,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:10:01] local.INFO: TCP Data received {"connection_id":166427,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166427,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:10:01] local.INFO: Processing buffer {"connection_id":166427,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:10:01] local.INFO: IMEI packet received {"connection_id":166427,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 21:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":166427,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:10:02] local.INFO: TCP Data received {"connection_id":166427,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049025608012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049025608012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:10:02] local.INFO: Processing buffer {"connection_id":166427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049025608012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:10:02] local.INFO: Packet analysis {"connection_id":166427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04902"} 
[2026-08-28 21:10:02] local.INFO: Extracted packet for processing {"connection_id":166427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04902"} 
[2026-08-28 21:10:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710331904001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:10:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:10:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787931285000,"timestamp_ms":1787931285000,"timestamp_seconds":1787931285,"priority":1,"record_length":96,"hex_timestamp":"000001a049025608"} 
[2026-08-28 21:10:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:10:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:10:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:10:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:10:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":166427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":166427,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":166427,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:10:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710331904001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710331904001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:10:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:10:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:10:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:10:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:10:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710331904001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":166427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710444,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:10:02] local.INFO: GPS data processed {"connection_id":166427,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:10:02] local.INFO: Acknowledgment sent {"connection_id":166427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:10:10] local.INFO: TCP Data received {"connection_id":166426,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049046560012d34c14006aa4840001000e62b..."} 
[2026-08-28 21:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049046560012d34c14006aa4840001000e62b..."} 
[2026-08-28 21:10:10] local.INFO: Processing buffer {"connection_id":166426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049046560012d34c14006aa4840001000e62b..."} 
[2026-08-28 21:10:10] local.INFO: Packet analysis {"connection_id":166426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04904"} 
[2026-08-28 21:10:10] local.INFO: Extracted packet for processing {"connection_id":166426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04904"} 
[2026-08-28 21:10:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710366464001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:10:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:10:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787931420000,"timestamp_ms":1787931420000,"timestamp_seconds":1787931420,"priority":1,"record_length":96,"hex_timestamp":"000001a049046560"} 
[2026-08-28 21:10:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:10:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 21:10:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:10:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:10:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":166426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":166426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":166426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:10:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710366464001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710366464001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:10:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:10:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:10:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710366464001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":166426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:10:10] local.INFO: GPS data processed {"connection_id":166426,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:10:10] local.INFO: Acknowledgment sent {"connection_id":166426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:10:29] local.INFO: TCP Data received {"connection_id":165069,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:10:29] local.INFO: Processing buffer {"connection_id":165069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:10:29] local.INFO: IMEI packet received {"connection_id":165069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 21:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":165069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:10:34] local.INFO: TCP Data received {"connection_id":166427,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04906edd0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04906edd0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:10:34] local.INFO: Processing buffer {"connection_id":166427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04906edd0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:10:34] local.INFO: Packet analysis {"connection_id":166427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04906"} 
[2026-08-28 21:10:34] local.INFO: Extracted packet for processing {"connection_id":166427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04906"} 
[2026-08-28 21:10:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710408960001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:10:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:10:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787931586000,"timestamp_ms":1787931586000,"timestamp_seconds":1787931586,"priority":1,"record_length":96,"hex_timestamp":"000001a04906edd0"} 
[2026-08-28 21:10:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:10:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:10:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:10:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:10:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":166427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":166427,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":166427,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:10:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710408960001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710408960001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:10:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:10:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:10:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710408960001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":166427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710446,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:10:35] local.INFO: GPS data processed {"connection_id":166427,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:10:35] local.INFO: Acknowledgment sent {"connection_id":166427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:10:35] local.INFO: TCP Data received {"connection_id":165069,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:10:35] local.INFO: Processing buffer {"connection_id":165069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:10:35] local.INFO: IMEI packet received {"connection_id":165069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 21:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":165069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:10:37] local.INFO: TCP Data received {"connection_id":165069,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049046560012d34c14006aa4840001000e62b..."} 
[2026-08-28 21:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049046560012d34c14006aa4840001000e62b..."} 
[2026-08-28 21:10:37] local.INFO: Processing buffer {"connection_id":165069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049046560012d34c14006aa4840001000e62b..."} 
[2026-08-28 21:10:37] local.INFO: Packet analysis {"connection_id":165069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04904"} 
[2026-08-28 21:10:37] local.INFO: Extracted packet for processing {"connection_id":165069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04904"} 
[2026-08-28 21:10:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710366464001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787931420000,"timestamp_ms":1787931420000,"timestamp_seconds":1787931420,"priority":1,"record_length":96,"hex_timestamp":"000001a049046560"} 
[2026-08-28 21:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 21:10:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":165069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":165069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":165069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710366464001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710366464001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:10:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:10:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:10: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-28 21:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710366464001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:10:37] 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":710447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:10:37] local.INFO: GPS data processed {"connection_id":165069,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:10:37] local.INFO: Acknowledgment sent {"connection_id":165069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:11:01] local.INFO: TCP Data received {"connection_id":166428,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166428,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:11:01] local.INFO: Processing buffer {"connection_id":166428,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:11:01] local.INFO: IMEI packet received {"connection_id":166428,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 21:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":166428,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:11:06] local.INFO: TCP Data received {"connection_id":166428,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166428,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:11:06] local.INFO: Processing buffer {"connection_id":166428,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:11:06] local.INFO: IMEI packet received {"connection_id":166428,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 21:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":166428,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:11:07] local.INFO: TCP Data received {"connection_id":166428,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04906edd0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04906edd0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:11:07] local.INFO: Processing buffer {"connection_id":166428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04906edd0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:11:07] local.INFO: Packet analysis {"connection_id":166428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04906"} 
[2026-08-28 21:11:07] local.INFO: Extracted packet for processing {"connection_id":166428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04906"} 
[2026-08-28 21:11:07] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21: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-28 21:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710408960001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:11:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787931586000,"timestamp_ms":1787931586000,"timestamp_seconds":1787931586,"priority":1,"record_length":96,"hex_timestamp":"000001a04906edd0"} 
[2026-08-28 21: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-28 21:11:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21: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":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:11:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21: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-28 21: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-28 21:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":166428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":166428,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":166428,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:11:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710408960001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710408960001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:11:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:11:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710408960001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":166428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710448,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:11:07] local.INFO: GPS data processed {"connection_id":166428,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:11:07] local.INFO: Acknowledgment sent {"connection_id":166428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:11:09] local.INFO: TCP Data received {"connection_id":165069,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049046560012d34c14006aa4840001000e62b..."} 
[2026-08-28 21:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049046560012d34c14006aa4840001000e62b..."} 
[2026-08-28 21:11:09] local.INFO: Processing buffer {"connection_id":165069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049046560012d34c14006aa4840001000e62b..."} 
[2026-08-28 21:11:09] local.INFO: Packet analysis {"connection_id":165069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04904"} 
[2026-08-28 21:11:09] local.INFO: Extracted packet for processing {"connection_id":165069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04904"} 
[2026-08-28 21:11:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710366464001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:11:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:11:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787931420000,"timestamp_ms":1787931420000,"timestamp_seconds":1787931420,"priority":1,"record_length":96,"hex_timestamp":"000001a049046560"} 
[2026-08-28 21:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:11:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 21:11:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:11:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":165069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":165069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":165069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:11:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710366464001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710366464001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:11:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:11:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:11: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-28 21:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710366464001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:11:09] 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":710449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:11:09] local.INFO: GPS data processed {"connection_id":165069,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:11:09] local.INFO: Acknowledgment sent {"connection_id":165069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:11:12] local.INFO: TCP Data received {"connection_id":166428,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04906edd0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04906edd0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:11:12] local.INFO: Processing buffer {"connection_id":166428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04906edd0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:11:12] local.INFO: Packet analysis {"connection_id":166428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04906"} 
[2026-08-28 21:11:12] local.INFO: Extracted packet for processing {"connection_id":166428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04906"} 
[2026-08-28 21:11:12] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:11:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710408960001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:11:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:11:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:11:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:11:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787931586000,"timestamp_ms":1787931586000,"timestamp_seconds":1787931586,"priority":1,"record_length":96,"hex_timestamp":"000001a04906edd0"} 
[2026-08-28 21:11:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:11:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:11:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:11:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:11:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:11:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:11:12] local.INFO: Teltonika packet parsed successfully {"connection_id":166428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:11:12] local.INFO: Passing IMEI to GPS processor {"connection_id":166428,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:11:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":166428,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:11:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:11:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:11:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:11:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710408960001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:11:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:11:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:11:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710408960001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:11:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:11:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:11:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:11:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:11:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710408960001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:11:12] local.INFO: DEBUG: GPS processor result {"connection_id":166428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710450,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:11:12] local.INFO: GPS data processed {"connection_id":166428,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:11:12] local.INFO: Acknowledgment sent {"connection_id":166428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:11:34] local.INFO: TCP Data received {"connection_id":165070,"ip":"117.224.198.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165070,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:11:34] local.INFO: Processing buffer {"connection_id":165070,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:11:34] local.INFO: IMEI packet received {"connection_id":165070,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 21:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":165070,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:11:35] local.INFO: TCP Data received {"connection_id":164054,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:11:35] local.INFO: Processing buffer {"connection_id":164054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:11:35] local.INFO: IMEI packet received {"connection_id":164054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 21:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":164054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:11:36] local.INFO: TCP Data received {"connection_id":165070,"ip":"117.224.198.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165070,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:11:36] local.INFO: Processing buffer {"connection_id":165070,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:11:36] local.INFO: IMEI packet received {"connection_id":165070,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 21:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":165070,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:11:40] local.INFO: TCP Data received {"connection_id":165070,"ip":"117.224.198.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165070,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:11:40] local.INFO: Processing buffer {"connection_id":165070,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:11:40] local.INFO: IMEI packet received {"connection_id":165070,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 21:11:40] local.INFO: IMEI acknowledgment sent {"connection_id":165070,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:11:40] local.INFO: TCP Data received {"connection_id":164054,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:11:40] local.INFO: Processing buffer {"connection_id":164054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:11:40] local.INFO: IMEI packet received {"connection_id":164054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 21:11:40] local.INFO: IMEI acknowledgment sent {"connection_id":164054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:11:41] local.INFO: TCP Data received {"connection_id":165070,"ip":"117.224.198.100","data_length":795,"data_hex":"000000000000030f8e0a000001a049080710012d0e88c0071deeb0002600382c..."} 
[2026-08-28 21:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049080710012d0e88c0071deeb0002600382c..."} 
[2026-08-28 21:11:41] local.INFO: Processing buffer {"connection_id":165070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049080710012d0e88c0071deeb0002600382c..."} 
[2026-08-28 21:11:41] local.INFO: Packet analysis {"connection_id":165070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04908"} 
[2026-08-28 21:11:41] local.INFO: Extracted packet for processing {"connection_id":165070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04908"} 
[2026-08-28 21:11:41] local.INFO: GPS Element Parsed {"raw_longitude":755927232,"raw_latitude":119402160,"longitude_deg":75.5927232,"latitude_deg":11.940216,"altitude":38,"angle":56,"satellites":44,"speed":39,"hex_longitude":"2d0e88c0","hex_latitude":"071deeb0","is_valid_coordinates":true} 
[2026-08-28 21: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-28 21:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710501888001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16206762738712576,"note":"Value kept but may cause issues"} 
[2026-08-28 21:11:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1038009375930572800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:11:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787931658000,"timestamp_ms":1787931658000,"timestamp_seconds":1787931658,"priority":1,"record_length":96,"hex_timestamp":"000001a049080710"} 
[2026-08-28 21: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-28 21:11:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-28 21:11:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21: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-28 21: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-28 21:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":165070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":165070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":165070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:11:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710501888001,"66":12993,"44":206,"28":31744,"24":39,"16":16206762738712576,"45":1038009375930572800},"client_ip":"117.224.198.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,28,24,16,45]} 
[2026-08-28 21:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710501888001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:11:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-28 21:11:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16206762738712576,"km_value":16206762738712.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:11:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1038009375930572800,"description":"Unknown IO ID 45"} 
[2026-08-28 21:11:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710501888001,"power":12993,"unknown_44":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1038009375930572800}} 
[2026-08-28 21:11:41] 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":710451,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:11:41] local.INFO: GPS data processed {"connection_id":165070,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:11:41] local.INFO: Acknowledgment sent {"connection_id":165070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:11:41] local.INFO: TCP Data received {"connection_id":164054,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049046560012d34c14006aa4840001000e62b..."} 
[2026-08-28 21:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049046560012d34c14006aa4840001000e62b..."} 
[2026-08-28 21:11:41] local.INFO: Processing buffer {"connection_id":164054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049046560012d34c14006aa4840001000e62b..."} 
[2026-08-28 21:11:41] local.INFO: Packet analysis {"connection_id":164054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04904"} 
[2026-08-28 21:11:41] local.INFO: Extracted packet for processing {"connection_id":164054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04904"} 
[2026-08-28 21:11:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21: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-28 21:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710366464001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:11:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:11:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787931420000,"timestamp_ms":1787931420000,"timestamp_seconds":1787931420,"priority":1,"record_length":96,"hex_timestamp":"000001a049046560"} 
[2026-08-28 21: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-28 21:11:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 21:11:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21: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-28 21: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-28 21:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":164054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":164054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":164054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:11:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710366464001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710366464001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:11:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:11:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21: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-28 21:11:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:11:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710366464001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":164054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:11:41] local.INFO: GPS data processed {"connection_id":164054,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:11:41] local.INFO: Acknowledgment sent {"connection_id":164054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:11:45] local.INFO: TCP Data received {"connection_id":164054,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049046560012d34c14006aa4840001000e62b..."} 
[2026-08-28 21:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049046560012d34c14006aa4840001000e62b..."} 
[2026-08-28 21:11:45] local.INFO: Processing buffer {"connection_id":164054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049046560012d34c14006aa4840001000e62b..."} 
[2026-08-28 21:11:45] local.INFO: Packet analysis {"connection_id":164054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04904"} 
[2026-08-28 21:11:45] local.INFO: Extracted packet for processing {"connection_id":164054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04904"} 
[2026-08-28 21:11:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21: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-28 21:11:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710366464001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:11:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:11:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:11:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:11:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787931420000,"timestamp_ms":1787931420000,"timestamp_seconds":1787931420,"priority":1,"record_length":96,"hex_timestamp":"000001a049046560"} 
[2026-08-28 21: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-28 21:11:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 21:11:45] 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-28 21: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-28 21: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-28 21:11:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:11:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:11:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:11:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:11:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:11:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:11:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:11:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710366464001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:11:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:11:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:11:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710366464001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:11:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:11:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21: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-28 21:11:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:11:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710366464001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:11:46] local.INFO: DEBUG: GPS processor result {"connection_id":164054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:11:46] local.INFO: GPS data processed {"connection_id":164054,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:11:46] local.INFO: Acknowledgment sent {"connection_id":164054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:11:55] local.INFO: TCP Data received {"connection_id":164055,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164055,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:11:55] local.INFO: Processing buffer {"connection_id":164055,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:11:55] local.INFO: IMEI packet received {"connection_id":164055,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 21:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":164055,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:12:01] local.INFO: TCP Data received {"connection_id":164055,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164055,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:12:01] local.INFO: Processing buffer {"connection_id":164055,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:12:01] local.INFO: IMEI packet received {"connection_id":164055,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 21:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":164055,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:12:02] local.INFO: TCP Data received {"connection_id":164055,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04906edd0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04906edd0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:12:02] local.INFO: Processing buffer {"connection_id":164055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04906edd0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:12:02] local.INFO: Packet analysis {"connection_id":164055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04906"} 
[2026-08-28 21:12:02] local.INFO: Extracted packet for processing {"connection_id":164055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04906"} 
[2026-08-28 21:12:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:12:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710408960001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:12:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:12:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787931586000,"timestamp_ms":1787931586000,"timestamp_seconds":1787931586,"priority":1,"record_length":96,"hex_timestamp":"000001a04906edd0"} 
[2026-08-28 21:12:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:12:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:12:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:12:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:12:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:12:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":164055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":164055,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":164055,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:12:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710408960001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710408960001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:12:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:12:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:12:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:12:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:12:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710408960001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":164055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710454,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:12:02] local.INFO: GPS data processed {"connection_id":164055,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:12:02] local.INFO: Acknowledgment sent {"connection_id":164055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:12:17] local.INFO: TCP Data received {"connection_id":165070,"ip":"117.224.198.100","data_length":795,"data_hex":"000000000000030f8e0a000001a0490812c8012d0e9180071df6480027002c2d..."} 
[2026-08-28 21:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0490812c8012d0e9180071df6480027002c2d..."} 
[2026-08-28 21:12:17] local.INFO: Processing buffer {"connection_id":165070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0490812c8012d0e9180071df6480027002c2d..."} 
[2026-08-28 21:12:17] local.INFO: Packet analysis {"connection_id":165070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04908"} 
[2026-08-28 21:12:17] local.INFO: Extracted packet for processing {"connection_id":165070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04908"} 
[2026-08-28 21:12:17] local.INFO: GPS Element Parsed {"raw_longitude":755929472,"raw_latitude":119404104,"longitude_deg":75.5929472,"latitude_deg":11.9404104,"altitude":39,"angle":44,"satellites":45,"speed":39,"hex_longitude":"2d0e9180","hex_latitude":"071df648","is_valid_coordinates":true} 
[2026-08-28 21:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:12:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710504448001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:12:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16206908767600640,"note":"Value kept but may cause issues"} 
[2026-08-28 21:12:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1047298050163126272,"note":"Value kept but may cause issues"} 
[2026-08-28 21:12:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:12:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787931661000,"timestamp_ms":1787931661000,"timestamp_seconds":1787931661,"priority":1,"record_length":96,"hex_timestamp":"000001a0490812c8"} 
[2026-08-28 21:12:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:12:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-28 21:12:17] 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-28 21:12:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:12:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:12:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:12:17] local.INFO: Teltonika packet parsed successfully {"connection_id":165070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:12:17] local.INFO: Passing IMEI to GPS processor {"connection_id":165070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:12:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":165070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:12:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:12:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:12:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:12:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710504448001,"66":13450,"44":206,"28":31744,"24":39,"16":16206908767600640,"45":1047298050163126272},"client_ip":"117.224.198.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,28,24,16,45]} 
[2026-08-28 21:12:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:12:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:12:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710504448001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:12:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-28 21:12:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:12:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16206908767600640,"km_value":16206908767600.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:12:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1047298050163126272,"description":"Unknown IO ID 45"} 
[2026-08-28 21:12:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710504448001,"power":13450,"unknown_44":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1047298050163126272}} 
[2026-08-28 21:12:17] 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":710455,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:12:17] local.INFO: GPS data processed {"connection_id":165070,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:12:17] local.INFO: Acknowledgment sent {"connection_id":165070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:12:30] local.INFO: TCP Data received {"connection_id":165071,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:12:30] local.INFO: Processing buffer {"connection_id":165071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:12:30] local.INFO: IMEI packet received {"connection_id":165071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 21:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":165071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:12:34] local.INFO: TCP Data received {"connection_id":164055,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04906edd0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04906edd0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:12:34] local.INFO: Processing buffer {"connection_id":164055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04906edd0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:12:34] local.INFO: Packet analysis {"connection_id":164055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04906"} 
[2026-08-28 21:12:34] local.INFO: Extracted packet for processing {"connection_id":164055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04906"} 
[2026-08-28 21:12:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710408960001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:12:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:12:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787931586000,"timestamp_ms":1787931586000,"timestamp_seconds":1787931586,"priority":1,"record_length":96,"hex_timestamp":"000001a04906edd0"} 
[2026-08-28 21:12:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:12:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:12:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:12:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:12:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":164055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":164055,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":164055,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:12:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710408960001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710408960001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:12:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:12:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:12:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710408960001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":164055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710456,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:12:34] local.INFO: GPS data processed {"connection_id":164055,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:12:34] local.INFO: Acknowledgment sent {"connection_id":164055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:12:35] local.INFO: TCP Data received {"connection_id":165071,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:12:35] local.INFO: Processing buffer {"connection_id":165071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:12:35] local.INFO: IMEI packet received {"connection_id":165071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 21:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":165071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:12:37] local.INFO: TCP Data received {"connection_id":165071,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049046560012d34c14006aa4840001000e62b..."} 
[2026-08-28 21:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049046560012d34c14006aa4840001000e62b..."} 
[2026-08-28 21:12:37] local.INFO: Processing buffer {"connection_id":165071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049046560012d34c14006aa4840001000e62b..."} 
[2026-08-28 21:12:37] local.INFO: Packet analysis {"connection_id":165071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04904"} 
[2026-08-28 21:12:37] local.INFO: Extracted packet for processing {"connection_id":165071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04904"} 
[2026-08-28 21:12:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710366464001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787931420000,"timestamp_ms":1787931420000,"timestamp_seconds":1787931420,"priority":1,"record_length":96,"hex_timestamp":"000001a049046560"} 
[2026-08-28 21:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 21:12:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:12:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":165071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":165071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":165071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710366464001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710366464001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:12:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:12:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:12: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-28 21:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710366464001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:12:37] 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":710457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:12:37] local.INFO: GPS data processed {"connection_id":165071,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:12:37] local.INFO: Acknowledgment sent {"connection_id":165071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:12:49] local.INFO: TCP Data received {"connection_id":165070,"ip":"117.224.198.100","data_length":795,"data_hex":"000000000000030f8e0a000001a0490835f0012d0eaa80071e1328002a002c2d..."} 
[2026-08-28 21:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0490835f0012d0eaa80071e1328002a002c2d..."} 
[2026-08-28 21:12:49] local.INFO: Processing buffer {"connection_id":165070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0490835f0012d0eaa80071e1328002a002c2d..."} 
[2026-08-28 21:12:49] local.INFO: Packet analysis {"connection_id":165070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04908"} 
[2026-08-28 21:12:49] local.INFO: Extracted packet for processing {"connection_id":165070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04908"} 
[2026-08-28 21:12:49] local.INFO: GPS Element Parsed {"raw_longitude":755935872,"raw_latitude":119411496,"longitude_deg":75.5935872,"latitude_deg":11.9411496,"altitude":42,"angle":44,"satellites":45,"speed":44,"hex_longitude":"2d0eaa80","hex_latitude":"071e1328","is_valid_coordinates":true} 
[2026-08-28 21: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-28 21:12:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710505216001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:12:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16207376919035904,"note":"Value kept but may cause issues"} 
[2026-08-28 21:12:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1049760956209842176,"note":"Value kept but may cause issues"} 
[2026-08-28 21:12:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:12:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787931670000,"timestamp_ms":1787931670000,"timestamp_seconds":1787931670,"priority":1,"record_length":96,"hex_timestamp":"000001a0490835f0"} 
[2026-08-28 21: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-28 21:12:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-28 21:12:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21: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-28 21: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-28 21:12:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:12:49] local.INFO: Teltonika packet parsed successfully {"connection_id":165070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:12:49] local.INFO: Passing IMEI to GPS processor {"connection_id":165070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:12:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":165070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:12:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:12:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:12:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:12:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710505216001,"66":13406,"44":206,"28":31744,"24":44,"16":16207376919035904,"45":1049760956209842176},"client_ip":"117.224.198.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,28,24,16,45]} 
[2026-08-28 21:12:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:12:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:12:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710505216001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:12:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-28 21:12:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:12:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16207376919035904,"km_value":16207376919035.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:12:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1049760956209842176,"description":"Unknown IO ID 45"} 
[2026-08-28 21:12:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710505216001,"power":13406,"unknown_44":206,"unknown_28":31744,"ignition":44,"odometer":null,"unknown_45":1049760956209842176}} 
[2026-08-28 21:12:49] 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":710458,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:12:49] local.INFO: GPS data processed {"connection_id":165070,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:12:49] local.INFO: Acknowledgment sent {"connection_id":165070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:12:56] local.INFO: TCP Data received {"connection_id":163778,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163778,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:12:56] local.INFO: Processing buffer {"connection_id":163778,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:12:56] local.INFO: IMEI packet received {"connection_id":163778,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 21:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":163778,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:13:01] local.INFO: TCP Data received {"connection_id":163778,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163778,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:13:01] local.INFO: Processing buffer {"connection_id":163778,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:13:01] local.INFO: IMEI packet received {"connection_id":163778,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 21:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":163778,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:13:08] local.INFO: TCP Data received {"connection_id":163778,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04906edd0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04906edd0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:13:08] local.INFO: Processing buffer {"connection_id":163778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04906edd0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:13:08] local.INFO: Packet analysis {"connection_id":163778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04906"} 
[2026-08-28 21:13:08] local.INFO: Extracted packet for processing {"connection_id":163778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04906"} 
[2026-08-28 21:13:08] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710408960001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:13:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:13:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787931586000,"timestamp_ms":1787931586000,"timestamp_seconds":1787931586,"priority":1,"record_length":96,"hex_timestamp":"000001a04906edd0"} 
[2026-08-28 21:13:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:13:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:13:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:13:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:13:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163778,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163778,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:13:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710408960001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710408960001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:13:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:13:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:13:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:13:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710408960001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:13:08] 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":710459,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:13:08] local.INFO: GPS data processed {"connection_id":163778,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:13:08] local.INFO: Acknowledgment sent {"connection_id":163778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:13:10] local.INFO: TCP Data received {"connection_id":165071,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04908fd28012d34c14006aa4840000a00e62b..."} 
[2026-08-28 21:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04908fd28012d34c14006aa4840000a00e62b..."} 
[2026-08-28 21:13:10] local.INFO: Processing buffer {"connection_id":165071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04908fd28012d34c14006aa4840000a00e62b..."} 
[2026-08-28 21:13:10] local.INFO: Packet analysis {"connection_id":165071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04908"} 
[2026-08-28 21:13:10] local.INFO: Extracted packet for processing {"connection_id":165071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04908"} 
[2026-08-28 21:13:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710443520001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:13:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:13:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787931721000,"timestamp_ms":1787931721000,"timestamp_seconds":1787931721,"priority":1,"record_length":96,"hex_timestamp":"000001a04908fd28"} 
[2026-08-28 21:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:13:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 21:13:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:13:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":165071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":165071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":165071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:13:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710443520001,"66":25223,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710443520001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:13:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:13:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:13:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710443520001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:13:10] 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":710460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:13:10] local.INFO: GPS data processed {"connection_id":165071,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:13:10] local.INFO: Acknowledgment sent {"connection_id":165071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:13:21] local.INFO: TCP Data received {"connection_id":165070,"ip":"117.224.198.100","data_length":795,"data_hex":"000000000000030f8e0a000001a0490989c8012d1002c0071e49c8003300602a..."} 
[2026-08-28 21:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0490989c8012d1002c0071e49c8003300602a..."} 
[2026-08-28 21:13:21] local.INFO: Processing buffer {"connection_id":165070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0490989c8012d1002c0071e49c8003300602a..."} 
[2026-08-28 21:13:21] local.INFO: Packet analysis {"connection_id":165070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04909"} 
[2026-08-28 21:13:21] local.INFO: Extracted packet for processing {"connection_id":165070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04909"} 
[2026-08-28 21:13:21] local.INFO: GPS Element Parsed {"raw_longitude":756024000,"raw_latitude":119425480,"longitude_deg":75.6024,"latitude_deg":11.942548,"altitude":51,"angle":96,"satellites":42,"speed":38,"hex_longitude":"2d1002c0","hex_latitude":"071e49c8","is_valid_coordinates":true} 
[2026-08-28 21: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-28 21:13:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710529280001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:13:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16211676181299200,"note":"Value kept but may cause issues"} 
[2026-08-28 21:13:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1151514160296228864,"note":"Value kept but may cause issues"} 
[2026-08-28 21:13:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:13:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787931757000,"timestamp_ms":1787931757000,"timestamp_seconds":1787931757,"priority":1,"record_length":96,"hex_timestamp":"000001a0490989c8"} 
[2026-08-28 21: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-28 21:13:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-28 21:13:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21: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-28 21: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-28 21:13:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:13:21] local.INFO: Teltonika packet parsed successfully {"connection_id":165070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:13:21] local.INFO: Passing IMEI to GPS processor {"connection_id":165070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:13:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":165070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:13:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:13:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:13:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:13:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710529280001,"66":13341,"5":206,"28":31744,"24":38,"16":16211676181299200,"45":1151514160296228864},"client_ip":"117.224.198.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,28,24,16,45]} 
[2026-08-28 21:13:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:13:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:13:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710529280001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:13:21] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-08-28 21:13:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:13:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16211676181299200,"km_value":16211676181299.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:13:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1151514160296228864,"description":"Unknown IO ID 45"} 
[2026-08-28 21:13:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710529280001,"power":13341,"unknown_5":206,"unknown_28":31744,"ignition":38,"odometer":null,"unknown_45":1151514160296228864}} 
[2026-08-28 21:13:21] 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":710461,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:13:21] local.INFO: GPS data processed {"connection_id":165070,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:13:21] local.INFO: Acknowledgment sent {"connection_id":165070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:13:29] local.INFO: TCP Data received {"connection_id":164056,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:13:29] local.INFO: Processing buffer {"connection_id":164056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:13:29] local.INFO: IMEI packet received {"connection_id":164056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 21:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":164056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:13:35] local.INFO: TCP Data received {"connection_id":164056,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:13:35] local.INFO: Processing buffer {"connection_id":164056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:13:35] local.INFO: IMEI packet received {"connection_id":164056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 21:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":164056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:13:37] local.INFO: TCP Data received {"connection_id":164056,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04908fd28012d34c14006aa4840000a00e62b..."} 
[2026-08-28 21:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04908fd28012d34c14006aa4840000a00e62b..."} 
[2026-08-28 21:13:37] local.INFO: Processing buffer {"connection_id":164056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04908fd28012d34c14006aa4840000a00e62b..."} 
[2026-08-28 21:13:37] local.INFO: Packet analysis {"connection_id":164056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04908"} 
[2026-08-28 21:13:37] local.INFO: Extracted packet for processing {"connection_id":164056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04908"} 
[2026-08-28 21:13:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710443520001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787931721000,"timestamp_ms":1787931721000,"timestamp_seconds":1787931721,"priority":1,"record_length":96,"hex_timestamp":"000001a04908fd28"} 
[2026-08-28 21:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 21:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710443520001,"66":25223,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710443520001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:13:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:13:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:13: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-28 21:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710443520001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":164056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:13:37] local.INFO: GPS data processed {"connection_id":164056,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:13:37] local.INFO: Acknowledgment sent {"connection_id":164056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:13:40] local.INFO: TCP Data received {"connection_id":163778,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04906edd0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04906edd0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:13:40] local.INFO: Processing buffer {"connection_id":163778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04906edd0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:13:40] local.INFO: Packet analysis {"connection_id":163778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04906"} 
[2026-08-28 21:13:40] local.INFO: Extracted packet for processing {"connection_id":163778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04906"} 
[2026-08-28 21:13:40] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710408960001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:13:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:13:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787931586000,"timestamp_ms":1787931586000,"timestamp_seconds":1787931586,"priority":1,"record_length":96,"hex_timestamp":"000001a04906edd0"} 
[2026-08-28 21:13:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:13:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:13:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:13:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:13:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":163778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":163778,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":163778,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:13:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710408960001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710408960001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:13:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:13:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:13:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710408960001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:13:40] 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":710463,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:13:40] local.INFO: GPS data processed {"connection_id":163778,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:13:40] local.INFO: Acknowledgment sent {"connection_id":163778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:13:56] local.INFO: TCP Data received {"connection_id":165072,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165072,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:13:56] local.INFO: Processing buffer {"connection_id":165072,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:13:56] local.INFO: IMEI packet received {"connection_id":165072,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 21:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":165072,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:13:56] local.INFO: TCP Data received {"connection_id":165070,"ip":"117.224.198.100","data_length":795,"data_hex":"000000000000030f8e0a000001a049099198012d100a40071e47e80034006e2a..."} 
[2026-08-28 21:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049099198012d100a40071e47e80034006e2a..."} 
[2026-08-28 21:13:56] local.INFO: Processing buffer {"connection_id":165070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049099198012d100a40071e47e80034006e2a..."} 
[2026-08-28 21:13:56] local.INFO: Packet analysis {"connection_id":165070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04909"} 
[2026-08-28 21:13:56] local.INFO: Extracted packet for processing {"connection_id":165070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04909"} 
[2026-08-28 21:13:56] local.INFO: GPS Element Parsed {"raw_longitude":756025920,"raw_latitude":119425000,"longitude_deg":75.602592,"latitude_deg":11.9425,"altitude":52,"angle":110,"satellites":42,"speed":41,"hex_longitude":"2d100a40","hex_latitude":"071e47e8","is_valid_coordinates":true} 
[2026-08-28 21:13:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:13:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710529792001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:13:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16211766375612416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:13:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1153695591365724160,"note":"Value kept but may cause issues"} 
[2026-08-28 21:13:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:13:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787931759000,"timestamp_ms":1787931759000,"timestamp_seconds":1787931759,"priority":1,"record_length":96,"hex_timestamp":"000001a049099198"} 
[2026-08-28 21:13:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:13:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21:13:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-28 21:13:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:13:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:13:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:13:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:13:56] local.INFO: Teltonika packet parsed successfully {"connection_id":165070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:13:56] local.INFO: Passing IMEI to GPS processor {"connection_id":165070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:13:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":165070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:13:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:13:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:13:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:13:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710529792001,"66":13526,"5":206,"28":31744,"24":41,"16":16211766375612416,"45":1153695591365724160},"client_ip":"117.224.198.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,28,24,16,45]} 
[2026-08-28 21:13:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:13:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:13:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710529792001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:13:56] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-08-28 21:13:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:13:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16211766375612416,"km_value":16211766375612.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:13:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1153695591365724160,"description":"Unknown IO ID 45"} 
[2026-08-28 21:13:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710529792001,"power":13526,"unknown_5":206,"unknown_28":31744,"ignition":41,"odometer":null,"unknown_45":1153695591365724160}} 
[2026-08-28 21:13:56] 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":710464,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:13:56] local.INFO: GPS data processed {"connection_id":165070,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:13:56] local.INFO: Acknowledgment sent {"connection_id":165070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:14:01] local.INFO: TCP Data received {"connection_id":165072,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165072,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:14:01] local.INFO: Processing buffer {"connection_id":165072,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:14:01] local.INFO: IMEI packet received {"connection_id":165072,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 21:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":165072,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:14:03] local.INFO: TCP Data received {"connection_id":165072,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04906edd0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04906edd0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:14:03] local.INFO: Processing buffer {"connection_id":165072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04906edd0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:14:03] local.INFO: Packet analysis {"connection_id":165072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04906"} 
[2026-08-28 21:14:03] local.INFO: Extracted packet for processing {"connection_id":165072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04906"} 
[2026-08-28 21:14:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710408960001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787931586000,"timestamp_ms":1787931586000,"timestamp_seconds":1787931586,"priority":1,"record_length":96,"hex_timestamp":"000001a04906edd0"} 
[2026-08-28 21:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:14:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:14:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:14:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":165072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":165072,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":165072,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710408960001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710408960001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:14:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:14:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710408960001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:14:03] 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":710465,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:14:03] local.INFO: GPS data processed {"connection_id":165072,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:14:03] local.INFO: Acknowledgment sent {"connection_id":165072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:14:09] local.INFO: TCP Data received {"connection_id":164056,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04908fd28012d34c14006aa4840000a00e62b..."} 
[2026-08-28 21:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04908fd28012d34c14006aa4840000a00e62b..."} 
[2026-08-28 21:14:09] local.INFO: Processing buffer {"connection_id":164056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04908fd28012d34c14006aa4840000a00e62b..."} 
[2026-08-28 21:14:09] local.INFO: Packet analysis {"connection_id":164056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04908"} 
[2026-08-28 21:14:09] local.INFO: Extracted packet for processing {"connection_id":164056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04908"} 
[2026-08-28 21:14:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710443520001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:14:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787931721000,"timestamp_ms":1787931721000,"timestamp_seconds":1787931721,"priority":1,"record_length":96,"hex_timestamp":"000001a04908fd28"} 
[2026-08-28 21:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 21:14:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:14:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:14:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710443520001,"66":25223,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710443520001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:14:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:14:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:14: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-28 21:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710443520001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":164056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:14:09] local.INFO: GPS data processed {"connection_id":164056,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:14:09] local.INFO: Acknowledgment sent {"connection_id":164056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:14:28] local.INFO: TCP Data received {"connection_id":165070,"ip":"117.224.198.100","data_length":795,"data_hex":"000000000000030f8e0a000001a049099968012d101180071e44500034007a2a..."} 
[2026-08-28 21:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049099968012d101180071e44500034007a2a..."} 
[2026-08-28 21:14:28] local.INFO: Processing buffer {"connection_id":165070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049099968012d101180071e44500034007a2a..."} 
[2026-08-28 21:14:28] local.INFO: Packet analysis {"connection_id":165070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04909"} 
[2026-08-28 21:14:28] local.INFO: Extracted packet for processing {"connection_id":165070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04909"} 
[2026-08-28 21:14:28] local.INFO: GPS Element Parsed {"raw_longitude":756027776,"raw_latitude":119424080,"longitude_deg":75.6027776,"latitude_deg":11.942408,"altitude":52,"angle":122,"satellites":42,"speed":40,"hex_longitude":"2d101180","hex_latitude":"071e4450","is_valid_coordinates":true} 
[2026-08-28 21:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:14:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710530304001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:14:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16211865159860224,"note":"Value kept but may cause issues"} 
[2026-08-28 21:14:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1155806653690931200,"note":"Value kept but may cause issues"} 
[2026-08-28 21:14:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:14:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787931761000,"timestamp_ms":1787931761000,"timestamp_seconds":1787931761,"priority":1,"record_length":96,"hex_timestamp":"000001a049099968"} 
[2026-08-28 21:14:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:14:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-28 21:14:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:14:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:14:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:14:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:14:28] local.INFO: Teltonika packet parsed successfully {"connection_id":165070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:14:28] local.INFO: Passing IMEI to GPS processor {"connection_id":165070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:14:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":165070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:14:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:14:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:14:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:14:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710530304001,"66":12743,"5":206,"28":31744,"24":40,"16":16211865159860224,"45":1155806653690931200},"client_ip":"117.224.198.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,28,24,16,45]} 
[2026-08-28 21:14:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:14:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:14:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710530304001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:14:28] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-08-28 21:14:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:14:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16211865159860224,"km_value":16211865159860.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:14:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1155806653690931200,"description":"Unknown IO ID 45"} 
[2026-08-28 21:14:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710530304001,"power":12743,"unknown_5":206,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":1155806653690931200}} 
[2026-08-28 21:14:28] 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":710467,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:14:28] local.INFO: GPS data processed {"connection_id":165070,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:14:28] local.INFO: Acknowledgment sent {"connection_id":165070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:14:29] local.INFO: TCP Data received {"connection_id":166429,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:14:29] local.INFO: Processing buffer {"connection_id":166429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:14:29] local.INFO: IMEI packet received {"connection_id":166429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 21:14:29] local.INFO: IMEI acknowledgment sent {"connection_id":166429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:14:35] local.INFO: TCP Data received {"connection_id":166429,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:14:35] local.INFO: Processing buffer {"connection_id":166429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:14:35] local.INFO: IMEI packet received {"connection_id":166429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 21:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":166429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:14:36] local.INFO: TCP Data received {"connection_id":165072,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04906edd0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04906edd0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:14:36] local.INFO: Processing buffer {"connection_id":165072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04906edd0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:14:36] local.INFO: Packet analysis {"connection_id":165072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04906"} 
[2026-08-28 21:14:36] local.INFO: Extracted packet for processing {"connection_id":165072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04906"} 
[2026-08-28 21:14:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710408960001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:14:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787931586000,"timestamp_ms":1787931586000,"timestamp_seconds":1787931586,"priority":1,"record_length":96,"hex_timestamp":"000001a04906edd0"} 
[2026-08-28 21:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:14:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:14:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:14:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":165072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":165072,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":165072,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:14:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710408960001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710408960001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:14:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:14:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710408960001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:14:36] 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":710468,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:14:36] local.INFO: GPS data processed {"connection_id":165072,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:14:36] local.INFO: Acknowledgment sent {"connection_id":165072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:14:37] local.INFO: TCP Data received {"connection_id":166429,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04908fd28012d34c14006aa4840000a00e62b..."} 
[2026-08-28 21:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04908fd28012d34c14006aa4840000a00e62b..."} 
[2026-08-28 21:14:37] local.INFO: Processing buffer {"connection_id":166429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04908fd28012d34c14006aa4840000a00e62b..."} 
[2026-08-28 21:14:37] local.INFO: Packet analysis {"connection_id":166429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04908"} 
[2026-08-28 21:14:37] local.INFO: Extracted packet for processing {"connection_id":166429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04908"} 
[2026-08-28 21:14:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21: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-28 21:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710443520001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787931721000,"timestamp_ms":1787931721000,"timestamp_seconds":1787931721,"priority":1,"record_length":96,"hex_timestamp":"000001a04908fd28"} 
[2026-08-28 21: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-28 21:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 21:14:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21: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-28 21: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-28 21:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":166429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":166429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":166429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710443520001,"66":25223,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710443520001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:14:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:14:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:14: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-28 21:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710443520001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":166429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:14:37] local.INFO: GPS data processed {"connection_id":166429,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:14:37] local.INFO: Acknowledgment sent {"connection_id":166429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:14:55] local.INFO: TCP Data received {"connection_id":164057,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164057,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:14:55] local.INFO: Processing buffer {"connection_id":164057,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:14:55] local.INFO: IMEI packet received {"connection_id":164057,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 21:14:55] local.INFO: IMEI acknowledgment sent {"connection_id":164057,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:15:00] local.INFO: TCP Data received {"connection_id":165070,"ip":"117.224.198.100","data_length":795,"data_hex":"000000000000030f8e0a000001a0490ad5d0012d110480071eda88003700232a..."} 
[2026-08-28 21:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0490ad5d0012d110480071eda88003700232a..."} 
[2026-08-28 21:15:00] local.INFO: Processing buffer {"connection_id":165070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0490ad5d0012d110480071eda88003700232a..."} 
[2026-08-28 21:15:00] local.INFO: Packet analysis {"connection_id":165070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0490a"} 
[2026-08-28 21:15:00] local.INFO: Extracted packet for processing {"connection_id":165070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0490a"} 
[2026-08-28 21:15:00] local.INFO: GPS Element Parsed {"raw_longitude":756089984,"raw_latitude":119462536,"longitude_deg":75.6089984,"latitude_deg":11.9462536,"altitude":55,"angle":35,"satellites":42,"speed":42,"hex_longitude":"2d110480","hex_latitude":"071eda88","is_valid_coordinates":true} 
[2026-08-28 21:15:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:15:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710549248001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:15:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16216052752973824,"note":"Value kept but may cause issues"} 
[2026-08-28 21:15:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1220405160853665792,"note":"Value kept but may cause issues"} 
[2026-08-28 21:15:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:15:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787931842000,"timestamp_ms":1787931842000,"timestamp_seconds":1787931842,"priority":1,"record_length":96,"hex_timestamp":"000001a0490ad5d0"} 
[2026-08-28 21:15:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:15:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21:15:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-08-28 21:15:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:15:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:15:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:15:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:15:00] local.INFO: Teltonika packet parsed successfully {"connection_id":165070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:15:00] local.INFO: Passing IMEI to GPS processor {"connection_id":165070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:15:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":165070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:15:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:15:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:15:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:15:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710549248001,"66":13493,"202":206,"28":31744,"24":42,"16":16216052752973824,"45":1220405160853665792},"client_ip":"117.224.198.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,28,24,16,45]} 
[2026-08-28 21:15:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:15:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:15:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710549248001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:15:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:15:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16216052752973824,"km_value":16216052752973.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:15:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1220405160853665792,"description":"Unknown IO ID 45"} 
[2026-08-28 21:15:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710549248001,"power":13493,"mcc":206,"unknown_28":31744,"ignition":42,"odometer":null,"unknown_45":1220405160853665792}} 
[2026-08-28 21:15:00] 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":710470,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:15:00] local.INFO: GPS data processed {"connection_id":165070,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:15:00] local.INFO: Acknowledgment sent {"connection_id":165070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:15:01] local.INFO: TCP Data received {"connection_id":164057,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164057,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:15:01] local.INFO: Processing buffer {"connection_id":164057,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:15:01] local.INFO: IMEI packet received {"connection_id":164057,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 21:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":164057,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:15:02] local.INFO: TCP Data received {"connection_id":164057,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04906edd0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04906edd0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:15:02] local.INFO: Processing buffer {"connection_id":164057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04906edd0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:15:02] local.INFO: Packet analysis {"connection_id":164057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04906"} 
[2026-08-28 21:15:02] local.INFO: Extracted packet for processing {"connection_id":164057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04906"} 
[2026-08-28 21:15:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:15:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:15:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710408960001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:15:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:15:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:15:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:15:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787931586000,"timestamp_ms":1787931586000,"timestamp_seconds":1787931586,"priority":1,"record_length":96,"hex_timestamp":"000001a04906edd0"} 
[2026-08-28 21:15:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:15:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:15:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:15:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:15:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:15:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:15:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:15:02] local.INFO: Teltonika packet parsed successfully {"connection_id":164057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:15:02] local.INFO: Passing IMEI to GPS processor {"connection_id":164057,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:15:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":164057,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:15:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:15:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:15:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:15:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710408960001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:15:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:15:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:15:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710408960001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:15:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:15:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:15:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:15:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:15:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710408960001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":164057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710471,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:15:03] local.INFO: GPS data processed {"connection_id":164057,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:15:03] local.INFO: Acknowledgment sent {"connection_id":164057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:15:09] local.INFO: TCP Data received {"connection_id":166429,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04908fd28012d34c14006aa4840000a00e62b..."} 
[2026-08-28 21:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04908fd28012d34c14006aa4840000a00e62b..."} 
[2026-08-28 21:15:09] local.INFO: Processing buffer {"connection_id":166429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04908fd28012d34c14006aa4840000a00e62b..."} 
[2026-08-28 21:15:09] local.INFO: Packet analysis {"connection_id":166429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04908"} 
[2026-08-28 21:15:09] local.INFO: Extracted packet for processing {"connection_id":166429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04908"} 
[2026-08-28 21:15:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710443520001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:15:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:15:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787931721000,"timestamp_ms":1787931721000,"timestamp_seconds":1787931721,"priority":1,"record_length":96,"hex_timestamp":"000001a04908fd28"} 
[2026-08-28 21:15:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:15:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 21:15:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:15:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:15:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":166429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":166429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":166429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:15:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710443520001,"66":25223,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710443520001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:15:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:15:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:15: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-28 21:15:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710443520001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":166429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:15:09] local.INFO: GPS data processed {"connection_id":166429,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:15:09] local.INFO: Acknowledgment sent {"connection_id":166429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:15:31] local.INFO: TCP Data received {"connection_id":165070,"ip":"117.224.198.100","data_length":795,"data_hex":"000000000000030f8e0a000001a0490aed40012d111100071eefc8003600162a..."} 
[2026-08-28 21:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0490aed40012d111100071eefc8003600162a..."} 
[2026-08-28 21:15:31] local.INFO: Processing buffer {"connection_id":165070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0490aed40012d111100071eefc8003600162a..."} 
[2026-08-28 21:15:31] local.INFO: Packet analysis {"connection_id":165070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0490a"} 
[2026-08-28 21:15:31] local.INFO: Extracted packet for processing {"connection_id":165070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0490a"} 
[2026-08-28 21:15:31] local.INFO: GPS Element Parsed {"raw_longitude":756093184,"raw_latitude":119467976,"longitude_deg":75.6093184,"latitude_deg":11.9467976,"altitude":54,"angle":22,"satellites":42,"speed":40,"hex_longitude":"2d111100","hex_latitude":"071eefc8","is_valid_coordinates":true} 
[2026-08-28 21:15:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:15:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710551552001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:15:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16216357695651840,"note":"Value kept but may cause issues"} 
[2026-08-28 21:15:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1226245766622382080,"note":"Value kept but may cause issues"} 
[2026-08-28 21:15:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:15:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787931848000,"timestamp_ms":1787931848000,"timestamp_seconds":1787931848,"priority":1,"record_length":96,"hex_timestamp":"000001a0490aed40"} 
[2026-08-28 21:15:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:15:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21:15:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-28 21:15:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:15:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:15:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:15:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:15:31] local.INFO: Teltonika packet parsed successfully {"connection_id":165070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:15:31] local.INFO: Passing IMEI to GPS processor {"connection_id":165070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:15:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":165070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:15:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:15:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:15:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:15:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710551552001,"66":13580,"202":206,"28":31744,"24":40,"16":16216357695651840,"45":1226245766622382080},"client_ip":"117.224.198.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,28,24,16,45]} 
[2026-08-28 21:15:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:15:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:15:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710551552001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:15:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:15:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16216357695651840,"km_value":16216357695651.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:15:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1226245766622382080,"description":"Unknown IO ID 45"} 
[2026-08-28 21:15:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710551552001,"power":13580,"mcc":206,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":1226245766622382080}} 
[2026-08-28 21:15:31] 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":710473,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:15:31] local.INFO: GPS data processed {"connection_id":165070,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:15:31] local.INFO: Acknowledgment sent {"connection_id":165070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:15:34] local.INFO: TCP Data received {"connection_id":164057,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0490b8598012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0490b8598012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:15:34] local.INFO: Processing buffer {"connection_id":164057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0490b8598012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:15:34] local.INFO: Packet analysis {"connection_id":164057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0490b"} 
[2026-08-28 21:15:34] local.INFO: Extracted packet for processing {"connection_id":164057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0490b"} 
[2026-08-28 21:15:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710486016001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:15:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:15:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787931887000,"timestamp_ms":1787931887000,"timestamp_seconds":1787931887,"priority":1,"record_length":96,"hex_timestamp":"000001a0490b8598"} 
[2026-08-28 21:15:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:15:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 21:15:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:15:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:15:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":164057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":164057,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":164057,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:15:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710486016001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710486016001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:15:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:15:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:15:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710486016001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":164057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710474,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:15:34] local.INFO: GPS data processed {"connection_id":164057,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:15:34] local.INFO: Acknowledgment sent {"connection_id":164057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:15:35] local.INFO: TCP Data received {"connection_id":164058,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:15:35] local.INFO: Processing buffer {"connection_id":164058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:15:35] local.INFO: IMEI packet received {"connection_id":164058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 21:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":164058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:15:40] local.INFO: TCP Data received {"connection_id":164058,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:15:40] local.INFO: Processing buffer {"connection_id":164058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:15:40] local.INFO: IMEI packet received {"connection_id":164058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 21:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":164058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:15:42] local.INFO: TCP Data received {"connection_id":164058,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04908fd28012d34c14006aa4840000a00e62b..."} 
[2026-08-28 21:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04908fd28012d34c14006aa4840000a00e62b..."} 
[2026-08-28 21:15:42] local.INFO: Processing buffer {"connection_id":164058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04908fd28012d34c14006aa4840000a00e62b..."} 
[2026-08-28 21:15:42] local.INFO: Packet analysis {"connection_id":164058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04908"} 
[2026-08-28 21:15:42] local.INFO: Extracted packet for processing {"connection_id":164058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04908"} 
[2026-08-28 21:15:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21: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-28 21:15:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710443520001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:15:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:15:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:15:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:15:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787931721000,"timestamp_ms":1787931721000,"timestamp_seconds":1787931721,"priority":1,"record_length":96,"hex_timestamp":"000001a04908fd28"} 
[2026-08-28 21: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-28 21:15:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 21:15: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-28 21: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-28 21: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-28 21:15:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":164058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":164058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":164058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:15:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:15:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:15:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:15:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710443520001,"66":25223,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:15:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:15:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:15:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710443520001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:15:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:15:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21: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-28 21:15:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:15:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710443520001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":164058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:15:42] local.INFO: GPS data processed {"connection_id":164058,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:15:42] local.INFO: Acknowledgment sent {"connection_id":164058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:15:46] local.INFO: TCP Data received {"connection_id":164058,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04908fd28012d34c14006aa4840000a00e62b..."} 
[2026-08-28 21:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04908fd28012d34c14006aa4840000a00e62b..."} 
[2026-08-28 21:15:46] local.INFO: Processing buffer {"connection_id":164058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04908fd28012d34c14006aa4840000a00e62b..."} 
[2026-08-28 21:15:46] local.INFO: Packet analysis {"connection_id":164058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04908"} 
[2026-08-28 21:15:46] local.INFO: Extracted packet for processing {"connection_id":164058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04908"} 
[2026-08-28 21:15:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21: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-28 21:15:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710443520001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:15:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:15:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:15:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:15:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787931721000,"timestamp_ms":1787931721000,"timestamp_seconds":1787931721,"priority":1,"record_length":96,"hex_timestamp":"000001a04908fd28"} 
[2026-08-28 21: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-28 21:15:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 21:15: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-28 21: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-28 21: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-28 21:15:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:15:46] local.INFO: Teltonika packet parsed successfully {"connection_id":164058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:15:46] local.INFO: Passing IMEI to GPS processor {"connection_id":164058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:15:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":164058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:15:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:15:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:15:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:15:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710443520001,"66":25223,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:15:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:15:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:15:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710443520001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:15:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:15:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21: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-28 21:15:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:15:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710443520001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:15:46] local.INFO: DEBUG: GPS processor result {"connection_id":164058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:15:46] local.INFO: GPS data processed {"connection_id":164058,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:15:46] local.INFO: Acknowledgment sent {"connection_id":164058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:15:56] local.INFO: TCP Data received {"connection_id":166430,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166430,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:15:56] local.INFO: Processing buffer {"connection_id":166430,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:15:56] local.INFO: IMEI packet received {"connection_id":166430,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 21:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":166430,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:16:01] local.INFO: TCP Data received {"connection_id":166430,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166430,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:16:01] local.INFO: Processing buffer {"connection_id":166430,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:16:01] local.INFO: IMEI packet received {"connection_id":166430,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 21:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":166430,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:16:03] local.INFO: TCP Data received {"connection_id":166430,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0490b8598012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0490b8598012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:16:03] local.INFO: Processing buffer {"connection_id":166430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0490b8598012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:16:03] local.INFO: Packet analysis {"connection_id":166430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0490b"} 
[2026-08-28 21:16:03] local.INFO: Extracted packet for processing {"connection_id":166430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0490b"} 
[2026-08-28 21:16:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710486016001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:16:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787931887000,"timestamp_ms":1787931887000,"timestamp_seconds":1787931887,"priority":1,"record_length":96,"hex_timestamp":"000001a0490b8598"} 
[2026-08-28 21:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:16:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 21:16:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:16:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":166430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":166430,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":166430,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:16:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710486016001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710486016001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:16:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:16:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710486016001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":166430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710477,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:16:03] local.INFO: GPS data processed {"connection_id":166430,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:16:03] local.INFO: Acknowledgment sent {"connection_id":166430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:16:14] local.INFO: TCP Data received {"connection_id":164059,"ip":"117.224.198.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164059,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:16:14] local.INFO: Processing buffer {"connection_id":164059,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:16:14] local.INFO: IMEI packet received {"connection_id":164059,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 21:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":164059,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:16:17] local.INFO: TCP Data received {"connection_id":164059,"ip":"117.224.198.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164059,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:16:17] local.INFO: Processing buffer {"connection_id":164059,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:16:17] local.INFO: IMEI packet received {"connection_id":164059,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 21:16:17] local.INFO: IMEI acknowledgment sent {"connection_id":164059,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:16:19] local.INFO: TCP Data received {"connection_id":164059,"ip":"117.224.198.100","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164059,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:16:19] local.INFO: Processing buffer {"connection_id":164059,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:16:19] local.INFO: IMEI packet received {"connection_id":164059,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 21:16:19] local.INFO: IMEI acknowledgment sent {"connection_id":164059,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:16:19] local.INFO: TCP Data received {"connection_id":164059,"ip":"117.224.198.100","data_length":795,"data_hex":"000000000000030f8e0a000001a0490be358012d11e0c0071f2f680037006e29..."} 
[2026-08-28 21:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0490be358012d11e0c0071f2f680037006e29..."} 
[2026-08-28 21:16:19] local.INFO: Processing buffer {"connection_id":164059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0490be358012d11e0c0071f2f680037006e29..."} 
[2026-08-28 21:16:19] local.INFO: Packet analysis {"connection_id":164059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0490b"} 
[2026-08-28 21:16:19] local.INFO: Extracted packet for processing {"connection_id":164059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0490b"} 
[2026-08-28 21:16:19] local.INFO: GPS Element Parsed {"raw_longitude":756146368,"raw_latitude":119484264,"longitude_deg":75.6146368,"latitude_deg":11.9484264,"altitude":55,"angle":110,"satellites":41,"speed":47,"hex_longitude":"2d11e0c0","hex_latitude":"071f2f68","is_valid_coordinates":true} 
[2026-08-28 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-28 21:16:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710567168001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:16:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 21:16:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16219578921123840,"note":"Value kept but may cause issues"} 
[2026-08-28 21:16:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1279514905971783680,"note":"Value kept but may cause issues"} 
[2026-08-28 21:16:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 21:16:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787931911000,"timestamp_ms":1787931911000,"timestamp_seconds":1787931911,"priority":1,"record_length":96,"hex_timestamp":"000001a0490be358"} 
[2026-08-28 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-28 21:16:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-28 21:16:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 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-28 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-28 21:16:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:16:19] local.INFO: Teltonika packet parsed successfully {"connection_id":164059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:16:19] local.INFO: Passing IMEI to GPS processor {"connection_id":164059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:16:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":164059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:16:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:16:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:16:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:16:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710567168001,"66":12798,"200":0,"28":31744,"24":47,"16":16219578921123840,"45":1279514905971783680},"client_ip":"117.224.198.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,28,24,16,45]} 
[2026-08-28 21:16:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:16:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:16:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710567168001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:16:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:16:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16219578921123840,"km_value":16219578921123.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:16:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1279514905971783680,"description":"Unknown IO ID 45"} 
[2026-08-28 21:16:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710567168001,"power":12798,"gsm_signal":0,"unknown_28":31744,"ignition":47,"odometer":null,"unknown_45":1279514905971783680}} 
[2026-08-28 21:16:20] local.INFO: DEBUG: GPS processor result {"connection_id":164059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710478,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:16:20] local.INFO: GPS data processed {"connection_id":164059,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:16:20] local.INFO: Acknowledgment sent {"connection_id":164059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:16:30] local.INFO: TCP Data received {"connection_id":165073,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:16:30] local.INFO: Processing buffer {"connection_id":165073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:16:30] local.INFO: IMEI packet received {"connection_id":165073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 21:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":165073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:16:34] local.INFO: TCP Data received {"connection_id":166430,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0490b8598012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0490b8598012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:16:34] local.INFO: Processing buffer {"connection_id":166430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0490b8598012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:16:34] local.INFO: Packet analysis {"connection_id":166430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0490b"} 
[2026-08-28 21:16:34] local.INFO: Extracted packet for processing {"connection_id":166430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0490b"} 
[2026-08-28 21:16:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710486016001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:16:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:16:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787931887000,"timestamp_ms":1787931887000,"timestamp_seconds":1787931887,"priority":1,"record_length":96,"hex_timestamp":"000001a0490b8598"} 
[2026-08-28 21:16:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:16:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 21:16:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:16:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:16:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":166430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":166430,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":166430,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:16:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:16:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710486016001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:16:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:16:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:16:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710486016001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:16:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:16:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:16:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:16:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:16:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710486016001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:16:34] local.INFO: DEBUG: GPS processor result {"connection_id":166430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710479,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:16:34] local.INFO: GPS data processed {"connection_id":166430,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:16:34] local.INFO: Acknowledgment sent {"connection_id":166430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:16:35] local.INFO: TCP Data received {"connection_id":165073,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:16:35] local.INFO: Processing buffer {"connection_id":165073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:16:35] local.INFO: IMEI packet received {"connection_id":165073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 21:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":165073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:16:36] local.INFO: TCP Data received {"connection_id":165073,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04908fd28012d34c14006aa4840000a00e62b..."} 
[2026-08-28 21:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04908fd28012d34c14006aa4840000a00e62b..."} 
[2026-08-28 21:16:36] local.INFO: Processing buffer {"connection_id":165073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04908fd28012d34c14006aa4840000a00e62b..."} 
[2026-08-28 21:16:36] local.INFO: Packet analysis {"connection_id":165073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04908"} 
[2026-08-28 21:16:36] local.INFO: Extracted packet for processing {"connection_id":165073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04908"} 
[2026-08-28 21:16:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710443520001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787931721000,"timestamp_ms":1787931721000,"timestamp_seconds":1787931721,"priority":1,"record_length":96,"hex_timestamp":"000001a04908fd28"} 
[2026-08-28 21:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 21:16:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:16:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":165073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":165073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":165073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710443520001,"66":25223,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710443520001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:16:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:16:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710443520001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:16:36] 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":710480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:16:36] local.INFO: GPS data processed {"connection_id":165073,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:16:36] local.INFO: Acknowledgment sent {"connection_id":165073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:16:51] local.INFO: TCP Data received {"connection_id":164059,"ip":"117.224.198.100","data_length":795,"data_hex":"000000000000030f8e0a000001a0490be358012d11e0c0071f2f680037006e29..."} 
[2026-08-28 21:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0490be358012d11e0c0071f2f680037006e29..."} 
[2026-08-28 21:16:51] local.INFO: Processing buffer {"connection_id":164059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0490be358012d11e0c0071f2f680037006e29..."} 
[2026-08-28 21:16:51] local.INFO: Packet analysis {"connection_id":164059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0490b"} 
[2026-08-28 21:16:51] local.INFO: Extracted packet for processing {"connection_id":164059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0490b"} 
[2026-08-28 21:16:51] local.INFO: GPS Element Parsed {"raw_longitude":756146368,"raw_latitude":119484264,"longitude_deg":75.6146368,"latitude_deg":11.9484264,"altitude":55,"angle":110,"satellites":41,"speed":47,"hex_longitude":"2d11e0c0","hex_latitude":"071f2f68","is_valid_coordinates":true} 
[2026-08-28 21:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:16:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710569216001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:16:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-28 21:16:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16219578921123840,"note":"Value kept but may cause issues"} 
[2026-08-28 21:16:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1288240630248466432,"note":"Value kept but may cause issues"} 
[2026-08-28 21:16:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-28 21:16:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787931911000,"timestamp_ms":1787931911000,"timestamp_seconds":1787931911,"priority":1,"record_length":96,"hex_timestamp":"000001a0490be358"} 
[2026-08-28 21:16:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:16:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-28 21:16:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:16:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:16:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:16:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:16:51] local.INFO: Teltonika packet parsed successfully {"connection_id":164059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:16:51] local.INFO: Passing IMEI to GPS processor {"connection_id":164059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:16:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":164059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:16:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:16:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:16:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:16:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710569216001,"66":12798,"200":0,"28":31744,"24":47,"16":16219578921123840,"45":1288240630248466432},"client_ip":"117.224.198.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,28,24,16,45]} 
[2026-08-28 21:16:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:16:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:16:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710569216001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:16:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:16:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16219578921123840,"km_value":16219578921123.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:16:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1288240630248466432,"description":"Unknown IO ID 45"} 
[2026-08-28 21:16:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710569216001,"power":12798,"gsm_signal":0,"unknown_28":31744,"ignition":47,"odometer":null,"unknown_45":1288240630248466432}} 
[2026-08-28 21:16:51] local.INFO: DEBUG: GPS processor result {"connection_id":164059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710481,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:16:51] local.INFO: GPS data processed {"connection_id":164059,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:16:51] local.INFO: Acknowledgment sent {"connection_id":164059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:16:55] local.INFO: TCP Data received {"connection_id":164060,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164060,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:16:55] local.INFO: Processing buffer {"connection_id":164060,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:16:55] local.INFO: IMEI packet received {"connection_id":164060,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 21:16:55] local.INFO: IMEI acknowledgment sent {"connection_id":164060,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:17:01] local.INFO: TCP Data received {"connection_id":164060,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164060,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:17:01] local.INFO: Processing buffer {"connection_id":164060,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:17:01] local.INFO: IMEI packet received {"connection_id":164060,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 21:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":164060,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:17:02] local.INFO: TCP Data received {"connection_id":164060,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0490b8598012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0490b8598012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:17:02] local.INFO: Processing buffer {"connection_id":164060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0490b8598012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:17:02] local.INFO: Packet analysis {"connection_id":164060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0490b"} 
[2026-08-28 21:17:02] local.INFO: Extracted packet for processing {"connection_id":164060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0490b"} 
[2026-08-28 21:17:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:17:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:17:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710486016001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:17:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:17:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:17:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:17:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787931887000,"timestamp_ms":1787931887000,"timestamp_seconds":1787931887,"priority":1,"record_length":96,"hex_timestamp":"000001a0490b8598"} 
[2026-08-28 21:17:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:17:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:17:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 21:17:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:17:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:17:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:17:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:17:02] local.INFO: Teltonika packet parsed successfully {"connection_id":164060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:17:02] local.INFO: Passing IMEI to GPS processor {"connection_id":164060,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:17:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":164060,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:17:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:17:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:17:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:17:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710486016001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:17:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:17:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:17:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710486016001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:17:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:17:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:17:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:17:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:17:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710486016001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":164060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710482,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:17:02] local.INFO: GPS data processed {"connection_id":164060,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:17:02] local.INFO: Acknowledgment sent {"connection_id":164060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:17:08] local.INFO: TCP Data received {"connection_id":165073,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04908fd28012d34c14006aa4840000a00e62b..."} 
[2026-08-28 21:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04908fd28012d34c14006aa4840000a00e62b..."} 
[2026-08-28 21:17:08] local.INFO: Processing buffer {"connection_id":165073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04908fd28012d34c14006aa4840000a00e62b..."} 
[2026-08-28 21:17:08] local.INFO: Packet analysis {"connection_id":165073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04908"} 
[2026-08-28 21:17:08] local.INFO: Extracted packet for processing {"connection_id":165073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04908"} 
[2026-08-28 21:17:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710443520001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787931721000,"timestamp_ms":1787931721000,"timestamp_seconds":1787931721,"priority":1,"record_length":96,"hex_timestamp":"000001a04908fd28"} 
[2026-08-28 21:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:17:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 21:17:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:17:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":165073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":165073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":165073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710443520001,"66":25223,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710443520001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:17:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:17:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:17: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-28 21:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710443520001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:17:08] 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":710483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:17:08] local.INFO: GPS data processed {"connection_id":165073,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:17:08] local.INFO: Acknowledgment sent {"connection_id":165073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:17:23] local.INFO: TCP Data received {"connection_id":164059,"ip":"117.224.198.100","data_length":795,"data_hex":"000000000000030f8e0a000001a0490d3730012d136780071ef778002f005b2a..."} 
[2026-08-28 21:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0490d3730012d136780071ef778002f005b2a..."} 
[2026-08-28 21:17:23] local.INFO: Processing buffer {"connection_id":164059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0490d3730012d136780071ef778002f005b2a..."} 
[2026-08-28 21:17:23] local.INFO: Packet analysis {"connection_id":164059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0490d"} 
[2026-08-28 21:17:23] local.INFO: Extracted packet for processing {"connection_id":164059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0490d"} 
[2026-08-28 21:17:23] local.INFO: GPS Element Parsed {"raw_longitude":756246400,"raw_latitude":119469944,"longitude_deg":75.62464,"latitude_deg":11.9469944,"altitude":47,"angle":91,"satellites":42,"speed":44,"hex_longitude":"2d136780","hex_latitude":"071ef778","is_valid_coordinates":true} 
[2026-08-28 21:17: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-28 21:17:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710589440001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:17:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16224436529135616,"note":"Value kept but may cause issues"} 
[2026-08-28 21:17:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1388375353210064896,"note":"Value kept but may cause issues"} 
[2026-08-28 21:17:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:17:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787931998000,"timestamp_ms":1787931998000,"timestamp_seconds":1787931998,"priority":1,"record_length":96,"hex_timestamp":"000001a0490d3730"} 
[2026-08-28 21:17:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:17:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-28 21:17:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44499434867800480,"note":"Value kept but may cause issues"} 
[2026-08-28 21:17:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":13507708,"corrected_to":0} 
[2026-08-28 21:17:23] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-28 21:17:23] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":13494216,"corrected_to":0} 
[2026-08-28 21:17:23] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635583937963976,"note":"Value kept but may cause issues"} 
[2026-08-28 21:17:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3888644302,"corrected_to":0} 
[2026-08-28 21:17:23] local.WARNING: Large IO value detected {"io_id":52,"raw_value":8358907303776275996,"note":"Value kept but may cause issues"} 
[2026-08-28 21:17:23] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-08-28 21:17:23] local.WARNING: Large IO value detected {"io_id":57,"raw_value":2714501120,"note":"Value kept but may cause issues"} 
[2026-08-28 21:17:23] local.WARNING: Large IO value detected {"io_id":18,"raw_value":6611292083241615423,"note":"Value kept but may cause issues"} 
[2026-08-28 21:17:23] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755588419748081,"note":"Value kept but may cause issues"} 
[2026-08-28 21:17:23] local.INFO: IO Element Parsed {"io_data_count":47,"io_data_keys":[0,50,28,24,241,158,16,163,160,244,45,192,9,43,38,10,66,209,64,20,42,39,200,162,178,128,1,240,247,73,31,4,113,205,53,139,164,36,239,52,2,57,7,58,48,18,124],"length":577,"final_offset":707,"validated_count":47,"validation_warnings":[{"io_id":200,"original":13507708,"validated":0},{"io_id":247,"original":13494216,"validated":0},{"io_id":205,"original":3888644302,"validated":0}]} 
[2026-08-28 21:17:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3314766041483902976,"timestamp_seconds":3314766041483903.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 21:17:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:17:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:17:23] local.INFO: Teltonika packet parsed successfully {"connection_id":164059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:17:23] local.INFO: Passing IMEI to GPS processor {"connection_id":164059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:17:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":164059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:17:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:17:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:17:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:17:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710589440001,"66":13537,"50":206,"28":31744,"24":44,"16":16224436529135616,"45":1388375353210064896},"client_ip":"117.224.198.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,28,24,16,45]} 
[2026-08-28 21:17:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:17:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:17:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710589440001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:17:23] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-28 21:17:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:17:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16224436529135616,"km_value":16224436529135.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:17:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1388375353210064896,"description":"Unknown IO ID 45"} 
[2026-08-28 21:17:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710589440001,"power":13537,"unknown_50":206,"unknown_28":31744,"ignition":44,"odometer":null,"unknown_45":1388375353210064896}} 
[2026-08-28 21:17:23] local.INFO: DEBUG: GPS processor result {"connection_id":164059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710484,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:17:23] local.INFO: GPS data processed {"connection_id":164059,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:17:23] local.INFO: Acknowledgment sent {"connection_id":164059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:17:29] local.INFO: TCP Data received {"connection_id":163779,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:17:29] local.INFO: Processing buffer {"connection_id":163779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:17:29] local.INFO: IMEI packet received {"connection_id":163779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 21:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":163779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:17:34] local.INFO: TCP Data received {"connection_id":164060,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0490b8598012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0490b8598012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:17:34] local.INFO: Processing buffer {"connection_id":164060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0490b8598012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:17:34] local.INFO: Packet analysis {"connection_id":164060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0490b"} 
[2026-08-28 21:17:34] local.INFO: Extracted packet for processing {"connection_id":164060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0490b"} 
[2026-08-28 21:17:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710486016001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:17:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787931887000,"timestamp_ms":1787931887000,"timestamp_seconds":1787931887,"priority":1,"record_length":96,"hex_timestamp":"000001a0490b8598"} 
[2026-08-28 21:17:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:17:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 21:17:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:17:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:17:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":164060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":164060,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":164060,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:17:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710486016001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710486016001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:17:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:17:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710486016001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":164060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710485,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:17:34] local.INFO: GPS data processed {"connection_id":164060,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:17:34] local.INFO: Acknowledgment sent {"connection_id":164060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:17:35] local.INFO: TCP Data received {"connection_id":163779,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:17:35] local.INFO: Processing buffer {"connection_id":163779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:17:35] local.INFO: IMEI packet received {"connection_id":163779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 21:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":163779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:17:37] local.INFO: TCP Data received {"connection_id":163779,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04908fd28012d34c14006aa4840000a00e62b..."} 
[2026-08-28 21:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04908fd28012d34c14006aa4840000a00e62b..."} 
[2026-08-28 21:17:37] local.INFO: Processing buffer {"connection_id":163779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04908fd28012d34c14006aa4840000a00e62b..."} 
[2026-08-28 21:17:37] local.INFO: Packet analysis {"connection_id":163779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04908"} 
[2026-08-28 21:17:37] local.INFO: Extracted packet for processing {"connection_id":163779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04908"} 
[2026-08-28 21:17:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710443520001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787931721000,"timestamp_ms":1787931721000,"timestamp_seconds":1787931721,"priority":1,"record_length":96,"hex_timestamp":"000001a04908fd28"} 
[2026-08-28 21:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 21:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710443520001,"66":25223,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710443520001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:17:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:17:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:17: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-28 21:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710443520001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:17:37] 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":710486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:17:37] local.INFO: GPS data processed {"connection_id":163779,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:17:37] local.INFO: Acknowledgment sent {"connection_id":163779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:17:55] local.INFO: TCP Data received {"connection_id":165074,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165074,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:17:55] local.INFO: Processing buffer {"connection_id":165074,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:17:55] local.INFO: IMEI packet received {"connection_id":165074,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 21:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":165074,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:18:01] local.INFO: TCP Data received {"connection_id":165074,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165074,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:18:01] local.INFO: Processing buffer {"connection_id":165074,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:18:01] local.INFO: IMEI packet received {"connection_id":165074,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 21:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":165074,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:18:02] local.INFO: TCP Data received {"connection_id":165074,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0490b8598012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0490b8598012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:18:02] local.INFO: Processing buffer {"connection_id":165074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0490b8598012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:18:02] local.INFO: Packet analysis {"connection_id":165074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0490b"} 
[2026-08-28 21:18:02] local.INFO: Extracted packet for processing {"connection_id":165074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0490b"} 
[2026-08-28 21:18:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:18:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:18:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710486016001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:18:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:18:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:18:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:18:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787931887000,"timestamp_ms":1787931887000,"timestamp_seconds":1787931887,"priority":1,"record_length":96,"hex_timestamp":"000001a0490b8598"} 
[2026-08-28 21:18:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:18:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:18:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 21:18:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:18:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:18:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:18:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:18:02] local.INFO: Teltonika packet parsed successfully {"connection_id":165074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:18:02] local.INFO: Passing IMEI to GPS processor {"connection_id":165074,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:18:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":165074,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:18:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:18:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:18:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:18:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710486016001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:18:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:18:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:18:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710486016001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:18:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:18:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:18:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:18:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:18:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710486016001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:18:02] 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":710487,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:18:02] local.INFO: GPS data processed {"connection_id":165074,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:18:02] local.INFO: Acknowledgment sent {"connection_id":165074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:18:09] local.INFO: TCP Data received {"connection_id":163779,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0490d94f0012d34c14006aa4840000500e62b..."} 
[2026-08-28 21:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0490d94f0012d34c14006aa4840000500e62b..."} 
[2026-08-28 21:18:09] local.INFO: Processing buffer {"connection_id":163779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0490d94f0012d34c14006aa4840000500e62b..."} 
[2026-08-28 21:18:09] local.INFO: Packet analysis {"connection_id":163779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0490d"} 
[2026-08-28 21:18:09] local.INFO: Extracted packet for processing {"connection_id":163779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0490d"} 
[2026-08-28 21:18:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:18:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710520576001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:18:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:18:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:18:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:18:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787932022000,"timestamp_ms":1787932022000,"timestamp_seconds":1787932022,"priority":1,"record_length":96,"hex_timestamp":"000001a0490d94f0"} 
[2026-08-28 21:18:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:18:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 21:18:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:18:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:18:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:18:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:18:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:18:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:18:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:18:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:18:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:18:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:18:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710520576001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:18:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:18:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:18:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710520576001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:18:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:18:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:18: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-28 21:18:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:18:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710520576001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:18:09] 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":710488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:18:09] local.INFO: GPS data processed {"connection_id":163779,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:18:09] local.INFO: Acknowledgment sent {"connection_id":163779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:18:09] local.INFO: TCP Data received {"connection_id":164059,"ip":"117.224.198.100","data_length":795,"data_hex":"000000000000030f8e0a000001a0490d3730012d136780071ef778002f005b2a..."} 
[2026-08-28 21:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0490d3730012d136780071ef778002f005b2a..."} 
[2026-08-28 21:18:09] local.INFO: Processing buffer {"connection_id":164059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0490d3730012d136780071ef778002f005b2a..."} 
[2026-08-28 21:18:09] local.INFO: Packet analysis {"connection_id":164059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0490d"} 
[2026-08-28 21:18:09] local.INFO: Extracted packet for processing {"connection_id":164059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0490d"} 
[2026-08-28 21:18:09] local.INFO: GPS Element Parsed {"raw_longitude":756246400,"raw_latitude":119469944,"longitude_deg":75.62464,"latitude_deg":11.9469944,"altitude":47,"angle":91,"satellites":42,"speed":44,"hex_longitude":"2d136780","hex_latitude":"071ef778","is_valid_coordinates":true} 
[2026-08-28 21:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:18:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710591488001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:18:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16224436529135616,"note":"Value kept but may cause issues"} 
[2026-08-28 21:18:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1398226977394489344,"note":"Value kept but may cause issues"} 
[2026-08-28 21:18:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:18:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787931998000,"timestamp_ms":1787931998000,"timestamp_seconds":1787931998,"priority":1,"record_length":96,"hex_timestamp":"000001a0490d3730"} 
[2026-08-28 21:18:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:18:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-08-28 21:18:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:18:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:18:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:18:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:18:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:18:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:18:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:18:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.198.100","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:18:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:18:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:18:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710591488001,"66":13537,"50":206,"28":31744,"24":44,"16":16224436529135616,"45":1398226977394489344},"client_ip":"117.224.198.100","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,28,24,16,45]} 
[2026-08-28 21:18:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:18:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:18:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710591488001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:18:09] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-28 21:18:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:18:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16224436529135616,"km_value":16224436529135.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:18:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1398226977394489344,"description":"Unknown IO ID 45"} 
[2026-08-28 21:18:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710591488001,"power":13537,"unknown_50":206,"unknown_28":31744,"ignition":44,"odometer":null,"unknown_45":1398226977394489344}} 
[2026-08-28 21:18:09] local.INFO: DEBUG: GPS processor result {"connection_id":164059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710489,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:18:09] local.INFO: GPS data processed {"connection_id":164059,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:18:09] local.INFO: Acknowledgment sent {"connection_id":164059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:18:34] local.INFO: TCP Data received {"connection_id":165074,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0490b8598012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0490b8598012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:18:34] local.INFO: Processing buffer {"connection_id":165074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0490b8598012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:18:34] local.INFO: Packet analysis {"connection_id":165074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0490b"} 
[2026-08-28 21:18:34] local.INFO: Extracted packet for processing {"connection_id":165074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0490b"} 
[2026-08-28 21:18:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710486016001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:18:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:18:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787931887000,"timestamp_ms":1787931887000,"timestamp_seconds":1787931887,"priority":1,"record_length":96,"hex_timestamp":"000001a0490b8598"} 
[2026-08-28 21:18:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:18:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 21:18:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:18:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:18:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":165074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":165074,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":165074,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:18:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710486016001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710486016001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:18:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:18:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:18:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710486016001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:18:34] local.INFO: TCP Data received {"connection_id":166431,"ip":"117.224.86.212","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166431,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:18:34] local.INFO: Processing buffer {"connection_id":166431,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:18:34] local.INFO: IMEI packet received {"connection_id":166431,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 21:18:34] local.INFO: IMEI acknowledgment sent {"connection_id":166431,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:18:34] 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":710490,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:18:34] local.INFO: GPS data processed {"connection_id":165074,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:18:34] local.INFO: Acknowledgment sent {"connection_id":165074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:18:35] local.INFO: TCP Data received {"connection_id":164061,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:18:35] local.INFO: Processing buffer {"connection_id":164061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:18:35] local.INFO: IMEI packet received {"connection_id":164061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 21:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":164061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:18:36] local.INFO: TCP Data received {"connection_id":166431,"ip":"117.224.86.212","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166431,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:18:36] local.INFO: Processing buffer {"connection_id":166431,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:18:36] local.INFO: IMEI packet received {"connection_id":166431,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 21:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":166431,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:18:40] local.INFO: TCP Data received {"connection_id":166431,"ip":"117.224.86.212","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166431,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:18:40] local.INFO: Processing buffer {"connection_id":166431,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:18:40] local.INFO: IMEI packet received {"connection_id":166431,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 21:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":166431,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:18:40] local.INFO: TCP Data received {"connection_id":164061,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:18:40] local.INFO: Processing buffer {"connection_id":164061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:18:40] local.INFO: IMEI packet received {"connection_id":164061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 21:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":164061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:18:41] local.INFO: TCP Data received {"connection_id":166431,"ip":"117.224.86.212","data_length":795,"data_hex":"000000000000030f8e0a000001a0490d4ab8012d137d00071ef890002f00502a..."} 
[2026-08-28 21:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0490d4ab8012d137d00071ef890002f00502a..."} 
[2026-08-28 21:18:41] local.INFO: Processing buffer {"connection_id":166431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0490d4ab8012d137d00071ef890002f00502a..."} 
[2026-08-28 21:18:41] local.INFO: Packet analysis {"connection_id":166431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0490d"} 
[2026-08-28 21:18:41] local.INFO: Extracted packet for processing {"connection_id":166431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0490d"} 
[2026-08-28 21:18:41] local.INFO: GPS Element Parsed {"raw_longitude":756251904,"raw_latitude":119470224,"longitude_deg":75.6251904,"latitude_deg":11.9470224,"altitude":47,"angle":80,"satellites":42,"speed":42,"hex_longitude":"2d137d00","hex_latitude":"071ef890","is_valid_coordinates":true} 
[2026-08-28 21:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710591488001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16224694227173376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:18:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1398226977394489344,"note":"Value kept but may cause issues"} 
[2026-08-28 21:18:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787932003000,"timestamp_ms":1787932003000,"timestamp_seconds":1787932003,"priority":1,"record_length":96,"hex_timestamp":"000001a0490d4ab8"} 
[2026-08-28 21:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:18:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-08-28 21:18:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:18:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":166431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":166431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":166431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:18:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.86.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710591488001,"66":13493,"50":206,"28":31744,"24":42,"16":16224694227173376,"45":1398226977394489344},"client_ip":"117.224.86.212","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,28,24,16,45]} 
[2026-08-28 21:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710591488001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:18:41] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-28 21:18:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16224694227173376,"km_value":16224694227173.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:18:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1398226977394489344,"description":"Unknown IO ID 45"} 
[2026-08-28 21:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710591488001,"power":13493,"unknown_50":206,"unknown_28":31744,"ignition":42,"odometer":null,"unknown_45":1398226977394489344}} 
[2026-08-28 21:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":166431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710491,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:18:41] local.INFO: GPS data processed {"connection_id":166431,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:18:41] local.INFO: Acknowledgment sent {"connection_id":166431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:18:41] local.INFO: TCP Data received {"connection_id":164061,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0490d94f0012d34c14006aa4840000500e62b..."} 
[2026-08-28 21:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0490d94f0012d34c14006aa4840000500e62b..."} 
[2026-08-28 21:18:41] local.INFO: Processing buffer {"connection_id":164061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0490d94f0012d34c14006aa4840000500e62b..."} 
[2026-08-28 21:18:41] local.INFO: Packet analysis {"connection_id":164061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0490d"} 
[2026-08-28 21:18:41] local.INFO: Extracted packet for processing {"connection_id":164061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0490d"} 
[2026-08-28 21:18:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710520576001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:18:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:18:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787932022000,"timestamp_ms":1787932022000,"timestamp_seconds":1787932022,"priority":1,"record_length":96,"hex_timestamp":"000001a0490d94f0"} 
[2026-08-28 21:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:18:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 21:18:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:18:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":164061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":164061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":164061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:18:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710520576001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710520576001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:18:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:18:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:18: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-28 21:18:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710520576001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":164061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:18:41] local.INFO: GPS data processed {"connection_id":164061,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:18:41] local.INFO: Acknowledgment sent {"connection_id":164061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:18:45] local.INFO: TCP Data received {"connection_id":166431,"ip":"117.224.86.212","data_length":795,"data_hex":"000000000000030f8e0a000001a0490d5e40012d139180071efdd00031004529..."} 
[2026-08-28 21:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0490d5e40012d139180071efdd00031004529..."} 
[2026-08-28 21:18:45] local.INFO: Processing buffer {"connection_id":166431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0490d5e40012d139180071efdd00031004529..."} 
[2026-08-28 21:18:45] local.INFO: Packet analysis {"connection_id":166431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0490d"} 
[2026-08-28 21:18:45] local.INFO: Extracted packet for processing {"connection_id":166431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0490d"} 
[2026-08-28 21:18:45] local.INFO: GPS Element Parsed {"raw_longitude":756257152,"raw_latitude":119471568,"longitude_deg":75.6257152,"latitude_deg":11.9471568,"altitude":49,"angle":69,"satellites":41,"speed":43,"hex_longitude":"2d139180","hex_latitude":"071efdd0","is_valid_coordinates":true} 
[2026-08-28 21: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-28 21:18:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710592768001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:18:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16224951925211136,"note":"Value kept but may cause issues"} 
[2026-08-28 21:18:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1404278689393840128,"note":"Value kept but may cause issues"} 
[2026-08-28 21:18:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:18:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787932008000,"timestamp_ms":1787932008000,"timestamp_seconds":1787932008,"priority":1,"record_length":96,"hex_timestamp":"000001a0490d5e40"} 
[2026-08-28 21: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-28 21:18:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-28 21:18:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21: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-28 21: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-28 21:18:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:18:45] local.INFO: Teltonika packet parsed successfully {"connection_id":166431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:18:45] local.INFO: Passing IMEI to GPS processor {"connection_id":166431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:18:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":166431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:18:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.86.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:18:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:18:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:18:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710592768001,"66":12667,"50":206,"28":31744,"24":43,"16":16224951925211136,"45":1404278689393840128},"client_ip":"117.224.86.212","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,28,24,16,45]} 
[2026-08-28 21:18:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:18:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:18:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710592768001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:18:45] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-28 21:18:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:18:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16224951925211136,"km_value":16224951925211.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:18:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1404278689393840128,"description":"Unknown IO ID 45"} 
[2026-08-28 21:18:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710592768001,"power":12667,"unknown_50":206,"unknown_28":31744,"ignition":43,"odometer":null,"unknown_45":1404278689393840128}} 
[2026-08-28 21:18:45] local.INFO: DEBUG: GPS processor result {"connection_id":166431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710493,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:18:45] local.INFO: GPS data processed {"connection_id":166431,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:18:45] local.INFO: Acknowledgment sent {"connection_id":166431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:18:50] local.INFO: TCP Data received {"connection_id":164061,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0490d94f0012d34c14006aa4840000500e62b..."} 
[2026-08-28 21:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0490d94f0012d34c14006aa4840000500e62b..."} 
[2026-08-28 21:18:50] local.INFO: Processing buffer {"connection_id":164061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0490d94f0012d34c14006aa4840000500e62b..."} 
[2026-08-28 21:18:50] local.INFO: Packet analysis {"connection_id":164061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0490d"} 
[2026-08-28 21:18:50] local.INFO: Extracted packet for processing {"connection_id":164061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0490d"} 
[2026-08-28 21:18:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:18:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:18:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710520576001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:18:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:18:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:18:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:18:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787932022000,"timestamp_ms":1787932022000,"timestamp_seconds":1787932022,"priority":1,"record_length":96,"hex_timestamp":"000001a0490d94f0"} 
[2026-08-28 21:18:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:18:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:18:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 21:18:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:18:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:18:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:18:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:18:50] local.INFO: Teltonika packet parsed successfully {"connection_id":164061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:18:50] local.INFO: Passing IMEI to GPS processor {"connection_id":164061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:18:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":164061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:18:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:18:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:18:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:18:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710520576001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:18:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:18:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:18:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710520576001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:18:50] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:18:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:18: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-28 21:18:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:18:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710520576001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:18:51] local.INFO: DEBUG: GPS processor result {"connection_id":164061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:18:51] local.INFO: GPS data processed {"connection_id":164061,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:18:51] local.INFO: Acknowledgment sent {"connection_id":164061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:18:55] local.INFO: TCP Data received {"connection_id":163780,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163780,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:18:55] local.INFO: Processing buffer {"connection_id":163780,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:18:55] local.INFO: IMEI packet received {"connection_id":163780,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 21:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":163780,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:19:01] local.INFO: TCP Data received {"connection_id":163780,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163780,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:19:01] local.INFO: Processing buffer {"connection_id":163780,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:19:01] local.INFO: IMEI packet received {"connection_id":163780,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 21:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":163780,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:19:02] local.INFO: TCP Data received {"connection_id":163780,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0490b8598012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0490b8598012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:19:02] local.INFO: Processing buffer {"connection_id":163780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0490b8598012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:19:02] local.INFO: Packet analysis {"connection_id":163780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0490b"} 
[2026-08-28 21:19:02] local.INFO: Extracted packet for processing {"connection_id":163780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0490b"} 
[2026-08-28 21:19:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:19:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710486016001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:19:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:19:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:19:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:19:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787931887000,"timestamp_ms":1787931887000,"timestamp_seconds":1787931887,"priority":1,"record_length":96,"hex_timestamp":"000001a0490b8598"} 
[2026-08-28 21:19:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:19:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 21:19:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:19:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:19:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:19:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:19:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:19:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163780,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:19:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163780,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:19:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:19:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:19:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:19:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710486016001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:19:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:19:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:19:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710486016001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:19:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:19:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:19:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:19:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:19:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710486016001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:19:02] local.INFO: DEBUG: GPS processor result {"connection_id":163780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710495,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:19:02] local.INFO: GPS data processed {"connection_id":163780,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:19:02] local.INFO: Acknowledgment sent {"connection_id":163780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:19:14] local.INFO: TCP Data received {"connection_id":163781,"ip":"117.224.86.212","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163781,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:19:14] local.INFO: Processing buffer {"connection_id":163781,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:19:14] local.INFO: IMEI packet received {"connection_id":163781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 21:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":163781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:19:15] local.INFO: TCP Data received {"connection_id":163781,"ip":"117.224.86.212","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163781,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:19:15] local.INFO: Processing buffer {"connection_id":163781,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:19:15] local.INFO: IMEI packet received {"connection_id":163781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 21:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":163781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:19:19] local.INFO: TCP Data received {"connection_id":163781,"ip":"117.224.86.212","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163781,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:19:19] local.INFO: Processing buffer {"connection_id":163781,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:19:19] local.INFO: IMEI packet received {"connection_id":163781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 21:19:19] local.INFO: IMEI acknowledgment sent {"connection_id":163781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:19:19] local.INFO: TCP Data received {"connection_id":163781,"ip":"117.224.86.212","data_length":795,"data_hex":"000000000000030f8e0a000001a0490eb9e8012d14f700071f99b80036003c2a..."} 
[2026-08-28 21:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0490eb9e8012d14f700071f99b80036003c2a..."} 
[2026-08-28 21:19:19] local.INFO: Processing buffer {"connection_id":163781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0490eb9e8012d14f700071f99b80036003c2a..."} 
[2026-08-28 21:19:19] local.INFO: Packet analysis {"connection_id":163781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0490e"} 
[2026-08-28 21:19:19] local.INFO: Extracted packet for processing {"connection_id":163781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0490e"} 
[2026-08-28 21:19:19] local.INFO: GPS Element Parsed {"raw_longitude":756348672,"raw_latitude":119511480,"longitude_deg":75.6348672,"latitude_deg":11.951148,"altitude":54,"angle":60,"satellites":42,"speed":45,"hex_longitude":"2d14f700","hex_latitude":"071f99b8","is_valid_coordinates":true} 
[2026-08-28 21: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-28 21:19:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710614528001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:19:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16229736518778880,"note":"Value kept but may cause issues"} 
[2026-08-28 21:19:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1501035712647841792,"note":"Value kept but may cause issues"} 
[2026-08-28 21:19:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:19:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787932097000,"timestamp_ms":1787932097000,"timestamp_seconds":1787932097,"priority":1,"record_length":96,"hex_timestamp":"000001a0490eb9e8"} 
[2026-08-28 21: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-28 21:19:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-28 21:19:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-08-28 21:19:19] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503847221002240,"note":"Value kept but may cause issues"} 
[2026-08-28 21:19:19] local.WARNING: Large IO value detected {"io_id":168,"raw_value":14074045825823488,"note":"Value kept but may cause issues"} 
[2026-08-28 21:19:19] local.WARNING: Large IO value detected {"io_id":57,"raw_value":2794323968,"note":"Value kept but may cause issues"} 
[2026-08-28 21:19:19] local.WARNING: Large IO value detected {"io_id":192,"raw_value":84745772465594141,"note":"Value kept but may cause issues"} 
[2026-08-28 21:19:19] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-28 21:19:19] local.WARNING: Large IO value detected {"io_id":73,"raw_value":988566511538140800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:19:19] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6701620132617453824,"note":"Value kept but may cause issues"} 
[2026-08-28 21:19:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-1787365216871514088,"corrected_to":0} 
[2026-08-28 21:19:19] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":2550213908,"corrected_to":0} 
[2026-08-28 21:19:19] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182238299554048,"note":"Value kept but may cause issues"} 
[2026-08-28 21:19:19] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3221278183,"note":"Value kept but may cause issues"} 
[2026-08-28 21:19:19] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2245413850939672361,"note":"Value kept but may cause issues"} 
[2026-08-28 21:19:19] local.WARNING: Large IO value detected {"io_id":53,"raw_value":4035451658984017436,"note":"Value kept but may cause issues"} 
[2026-08-28 21:19:19] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755597009682673,"note":"Value kept but may cause issues"} 
[2026-08-28 21:19:19] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195211776,"note":"Value kept but may cause issues"} 
[2026-08-28 21:19:19] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,133,28,24,241,158,16,168,160,111,45,128,127,57,43,10,66,76,64,108,54,42,167,41,192,1,240,73,31,4,113,205,246,61,120,239,52,50,2,7,46,53,124,40,69],"length":625,"final_offset":755,"validated_count":45,"validation_warnings":[{"io_id":205,"original":-1787365216871514088,"validated":0},{"io_id":246,"original":2550213908,"validated":0}]} 
[2026-08-28 21:19:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4107362205390143488,"timestamp_seconds":4107362205390143.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 21: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-28 21:19:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:19:19] local.INFO: Teltonika packet parsed successfully {"connection_id":163781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:19:19] local.INFO: Passing IMEI to GPS processor {"connection_id":163781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:19:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":163781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:19:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.86.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:19:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:19:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:19:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710614528001,"66":13276,"133":206,"28":31744,"24":45,"16":16229736518778880,"45":1501035712647841792},"client_ip":"117.224.86.212","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,28,24,16,45]} 
[2026-08-28 21:19:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:19:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:19:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710614528001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:19:19] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-28 21:19:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:19:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16229736518778880,"km_value":16229736518778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:19:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1501035712647841792,"description":"Unknown IO ID 45"} 
[2026-08-28 21:19:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710614528001,"power":13276,"unknown_133":206,"unknown_28":31744,"ignition":45,"odometer":null,"unknown_45":1501035712647841792}} 
[2026-08-28 21:19:20] 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":710496,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:19:20] local.INFO: GPS data processed {"connection_id":163781,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:19:20] local.INFO: Acknowledgment sent {"connection_id":163781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:19:30] local.INFO: TCP Data received {"connection_id":166432,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:19:30] local.INFO: Processing buffer {"connection_id":166432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:19:30] local.INFO: IMEI packet received {"connection_id":166432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 21:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":166432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:19:34] local.INFO: TCP Data received {"connection_id":163780,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0490b8598012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0490b8598012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:19:34] local.INFO: Processing buffer {"connection_id":163780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0490b8598012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:19:34] local.INFO: Packet analysis {"connection_id":163780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0490b"} 
[2026-08-28 21:19:34] local.INFO: Extracted packet for processing {"connection_id":163780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0490b"} 
[2026-08-28 21:19:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710486016001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:19:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:19:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787931887000,"timestamp_ms":1787931887000,"timestamp_seconds":1787931887,"priority":1,"record_length":96,"hex_timestamp":"000001a0490b8598"} 
[2026-08-28 21:19:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:19:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 21:19:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:19:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:19:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163780,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163780,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:19:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710486016001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710486016001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:19:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:19:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:19:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710486016001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:19:34] local.INFO: DEBUG: GPS processor result {"connection_id":163780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710497,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:19:34] local.INFO: GPS data processed {"connection_id":163780,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:19:34] local.INFO: Acknowledgment sent {"connection_id":163780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:19:35] local.INFO: TCP Data received {"connection_id":166432,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:19:35] local.INFO: Processing buffer {"connection_id":166432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:19:35] local.INFO: IMEI packet received {"connection_id":166432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 21:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":166432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:19:38] local.INFO: TCP Data received {"connection_id":166432,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0490d94f0012d34c14006aa4840000500e62b..."} 
[2026-08-28 21:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0490d94f0012d34c14006aa4840000500e62b..."} 
[2026-08-28 21:19:38] local.INFO: Processing buffer {"connection_id":166432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0490d94f0012d34c14006aa4840000500e62b..."} 
[2026-08-28 21:19:38] local.INFO: Packet analysis {"connection_id":166432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0490d"} 
[2026-08-28 21:19:38] local.INFO: Extracted packet for processing {"connection_id":166432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0490d"} 
[2026-08-28 21:19:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710520576001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:19:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787932022000,"timestamp_ms":1787932022000,"timestamp_seconds":1787932022,"priority":1,"record_length":96,"hex_timestamp":"000001a0490d94f0"} 
[2026-08-28 21:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:19:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 21:19:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:19:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":166432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":166432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":166432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:19:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710520576001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710520576001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:19:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:19:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:19: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-28 21:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710520576001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":166432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:19:38] local.INFO: GPS data processed {"connection_id":166432,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:19:38] local.INFO: Acknowledgment sent {"connection_id":166432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:19:51] local.INFO: TCP Data received {"connection_id":163781,"ip":"117.224.86.212","data_length":795,"data_hex":"000000000000030f8e0a000001a0490eb9e8012d14f700071f99b80036003c2a..."} 
[2026-08-28 21:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0490eb9e8012d14f700071f99b80036003c2a..."} 
[2026-08-28 21:19:51] local.INFO: Processing buffer {"connection_id":163781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0490eb9e8012d14f700071f99b80036003c2a..."} 
[2026-08-28 21:19:51] local.INFO: Packet analysis {"connection_id":163781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0490e"} 
[2026-08-28 21:19:51] local.INFO: Extracted packet for processing {"connection_id":163781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0490e"} 
[2026-08-28 21:19:51] local.INFO: GPS Element Parsed {"raw_longitude":756348672,"raw_latitude":119511480,"longitude_deg":75.6348672,"latitude_deg":11.951148,"altitude":54,"angle":60,"satellites":42,"speed":45,"hex_longitude":"2d14f700","hex_latitude":"071f99b8","is_valid_coordinates":true} 
[2026-08-28 21:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:19:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710616832001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:19:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16229736518778880,"note":"Value kept but may cause issues"} 
[2026-08-28 21:19:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1510676230601029632,"note":"Value kept but may cause issues"} 
[2026-08-28 21:19:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:19:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787932097000,"timestamp_ms":1787932097000,"timestamp_seconds":1787932097,"priority":1,"record_length":96,"hex_timestamp":"000001a0490eb9e8"} 
[2026-08-28 21:19:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:19:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-28 21:19:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:19:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:19:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:19:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:19:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:19:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:19:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:19:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.86.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:19:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:19:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:19:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710616832001,"66":13276,"133":206,"28":31744,"24":45,"16":16229736518778880,"45":1510676230601029632},"client_ip":"117.224.86.212","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,28,24,16,45]} 
[2026-08-28 21:19:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:19:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:19:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710616832001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:19:51] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-08-28 21:19:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:19:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16229736518778880,"km_value":16229736518778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:19:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1510676230601029632,"description":"Unknown IO ID 45"} 
[2026-08-28 21:19:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710616832001,"power":13276,"unknown_133":206,"unknown_28":31744,"ignition":45,"odometer":null,"unknown_45":1510676230601029632}} 
[2026-08-28 21:19:51] 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":710499,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:19:51] local.INFO: GPS data processed {"connection_id":163781,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:19:51] local.INFO: Acknowledgment sent {"connection_id":163781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:20:01] local.INFO: TCP Data received {"connection_id":163782,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163782,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:20:01] local.INFO: Processing buffer {"connection_id":163782,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:20:01] local.INFO: IMEI packet received {"connection_id":163782,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 21:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":163782,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:20:06] local.INFO: TCP Data received {"connection_id":163782,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163782,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:20:06] local.INFO: Processing buffer {"connection_id":163782,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:20:06] local.INFO: IMEI packet received {"connection_id":163782,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 21:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":163782,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:20:08] local.INFO: TCP Data received {"connection_id":163782,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0490b8598012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0490b8598012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:20:08] local.INFO: Processing buffer {"connection_id":163782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0490b8598012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:20:08] local.INFO: Packet analysis {"connection_id":163782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0490b"} 
[2026-08-28 21:20:08] local.INFO: Extracted packet for processing {"connection_id":163782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0490b"} 
[2026-08-28 21:20:08] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710486016001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:20:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787931887000,"timestamp_ms":1787931887000,"timestamp_seconds":1787931887,"priority":1,"record_length":96,"hex_timestamp":"000001a0490b8598"} 
[2026-08-28 21:20:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:20:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 21:20:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:20:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:20:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163782,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163782,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:20:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710486016001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710486016001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:20:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:20:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710486016001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:20:08] 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":710500,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:20:08] local.INFO: GPS data processed {"connection_id":163782,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:20:08] local.INFO: Acknowledgment sent {"connection_id":163782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:20:10] local.INFO: TCP Data received {"connection_id":166432,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0490d94f0012d34c14006aa4840000500e62b..."} 
[2026-08-28 21:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0490d94f0012d34c14006aa4840000500e62b..."} 
[2026-08-28 21:20:10] local.INFO: Processing buffer {"connection_id":166432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0490d94f0012d34c14006aa4840000500e62b..."} 
[2026-08-28 21:20:10] local.INFO: Packet analysis {"connection_id":166432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0490d"} 
[2026-08-28 21:20:10] local.INFO: Extracted packet for processing {"connection_id":166432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0490d"} 
[2026-08-28 21:20:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710520576001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:20:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:20:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787932022000,"timestamp_ms":1787932022000,"timestamp_seconds":1787932022,"priority":1,"record_length":96,"hex_timestamp":"000001a0490d94f0"} 
[2026-08-28 21:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:20:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 21:20:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:20:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":166432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":166432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":166432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:20:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710520576001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710520576001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:20:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:20:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:20:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710520576001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":166432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:20:10] local.INFO: GPS data processed {"connection_id":166432,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:20:10] local.INFO: Acknowledgment sent {"connection_id":166432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:20:12] local.INFO: TCP Data received {"connection_id":163782,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0490b8598012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0490b8598012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:20:12] local.INFO: Processing buffer {"connection_id":163782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0490b8598012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:20:12] local.INFO: Packet analysis {"connection_id":163782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0490b"} 
[2026-08-28 21:20:12] local.INFO: Extracted packet for processing {"connection_id":163782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0490b"} 
[2026-08-28 21:20:12] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:20:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710486016001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:20:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:20:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:20:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:20:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787931887000,"timestamp_ms":1787931887000,"timestamp_seconds":1787931887,"priority":1,"record_length":96,"hex_timestamp":"000001a0490b8598"} 
[2026-08-28 21:20:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:20:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 21:20:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:20:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:20:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:20:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:20:12] local.INFO: Teltonika packet parsed successfully {"connection_id":163782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:20:12] local.INFO: Passing IMEI to GPS processor {"connection_id":163782,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:20:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":163782,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:20:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:20:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:20:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:20:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710486016001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:20:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:20:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:20:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710486016001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:20:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:20:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:20:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:20:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:20:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710486016001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:20:12] 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":710502,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:20:12] local.INFO: GPS data processed {"connection_id":163782,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:20:12] local.INFO: Acknowledgment sent {"connection_id":163782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:20:14] local.INFO: TCP Data received {"connection_id":163783,"ip":"117.224.86.212","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163783,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:20:14] local.INFO: Processing buffer {"connection_id":163783,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:20:14] local.INFO: IMEI packet received {"connection_id":163783,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 21:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":163783,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:20:17] local.INFO: TCP Data received {"connection_id":163783,"ip":"117.224.86.212","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163783,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:20:17] local.INFO: Processing buffer {"connection_id":163783,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:20:17] local.INFO: IMEI packet received {"connection_id":163783,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 21:20:17] local.INFO: IMEI acknowledgment sent {"connection_id":163783,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:20:19] local.INFO: TCP Data received {"connection_id":163783,"ip":"117.224.86.212","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163783,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:20:19] local.INFO: Processing buffer {"connection_id":163783,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:20:19] local.INFO: IMEI packet received {"connection_id":163783,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 21:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":163783,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:20:20] local.INFO: TCP Data received {"connection_id":163783,"ip":"117.224.86.212","data_length":795,"data_hex":"000000000000030f8e0a000001a0490fcb58012d162100071fe3900026004e2a..."} 
[2026-08-28 21:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0490fcb58012d162100071fe3900026004e2a..."} 
[2026-08-28 21:20:20] local.INFO: Processing buffer {"connection_id":163783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0490fcb58012d162100071fe3900026004e2a..."} 
[2026-08-28 21:20:20] local.INFO: Packet analysis {"connection_id":163783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0490f"} 
[2026-08-28 21:20:20] local.INFO: Extracted packet for processing {"connection_id":163783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0490f"} 
[2026-08-28 21:20:20] local.INFO: GPS Element Parsed {"raw_longitude":756424960,"raw_latitude":119530384,"longitude_deg":75.642496,"latitude_deg":11.9530384,"altitude":38,"angle":78,"satellites":42,"speed":42,"hex_longitude":"2d162100","hex_latitude":"071fe390","is_valid_coordinates":true} 
[2026-08-28 21:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710632448001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16233576219541504,"note":"Value kept but may cause issues"} 
[2026-08-28 21:20:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1584352305759598592,"note":"Value kept but may cause issues"} 
[2026-08-28 21:20:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787932167000,"timestamp_ms":1787932167000,"timestamp_seconds":1787932167,"priority":1,"record_length":96,"hex_timestamp":"000001a0490fcb58"} 
[2026-08-28 21:20:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:20:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-28 21:20:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:20:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:20:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:20:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.86.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710632448001,"66":13624,"131":206,"28":31744,"24":42,"16":16233576219541504,"45":1584352305759598592},"client_ip":"117.224.86.212","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-28 21:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710632448001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:20:20] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-28 21:20:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16233576219541504,"km_value":16233576219541.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:20:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1584352305759598592,"description":"Unknown IO ID 45"} 
[2026-08-28 21:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710632448001,"power":13624,"unknown_131":206,"unknown_28":31744,"ignition":42,"odometer":null,"unknown_45":1584352305759598592}} 
[2026-08-28 21:20:20] 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":710503,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:20:20] local.INFO: GPS data processed {"connection_id":163783,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:20:20] local.INFO: Acknowledgment sent {"connection_id":163783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:20:29] local.INFO: TCP Data received {"connection_id":166433,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:20:29] local.INFO: Processing buffer {"connection_id":166433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:20:29] local.INFO: IMEI packet received {"connection_id":166433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 21:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":166433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:20:35] local.INFO: TCP Data received {"connection_id":166433,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:20:35] local.INFO: Processing buffer {"connection_id":166433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:20:35] local.INFO: IMEI packet received {"connection_id":166433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 21:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":166433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:20:37] local.INFO: TCP Data received {"connection_id":166433,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0490d94f0012d34c14006aa4840000500e62b..."} 
[2026-08-28 21:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0490d94f0012d34c14006aa4840000500e62b..."} 
[2026-08-28 21:20:37] local.INFO: Processing buffer {"connection_id":166433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0490d94f0012d34c14006aa4840000500e62b..."} 
[2026-08-28 21:20:37] local.INFO: Packet analysis {"connection_id":166433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0490d"} 
[2026-08-28 21:20:37] local.INFO: Extracted packet for processing {"connection_id":166433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0490d"} 
[2026-08-28 21:20:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710520576001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787932022000,"timestamp_ms":1787932022000,"timestamp_seconds":1787932022,"priority":1,"record_length":96,"hex_timestamp":"000001a0490d94f0"} 
[2026-08-28 21:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 21:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":166433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":166433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":166433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710520576001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710520576001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:20:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:20:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:20: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-28 21:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710520576001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":166433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:20:37] local.INFO: GPS data processed {"connection_id":166433,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:20:37] local.INFO: Acknowledgment sent {"connection_id":166433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:20:51] local.INFO: TCP Data received {"connection_id":163783,"ip":"117.224.86.212","data_length":795,"data_hex":"000000000000030f8e0a000001a0490fd710012d162c80071fe720002600422a..."} 
[2026-08-28 21:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0490fd710012d162c80071fe720002600422a..."} 
[2026-08-28 21:20:51] local.INFO: Processing buffer {"connection_id":163783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0490fd710012d162c80071fe720002600422a..."} 
[2026-08-28 21:20:51] local.INFO: Packet analysis {"connection_id":163783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0490f"} 
[2026-08-28 21:20:51] local.INFO: Extracted packet for processing {"connection_id":163783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0490f"} 
[2026-08-28 21:20:51] local.INFO: GPS Element Parsed {"raw_longitude":756427904,"raw_latitude":119531296,"longitude_deg":75.6427904,"latitude_deg":11.9531296,"altitude":38,"angle":66,"satellites":42,"speed":39,"hex_longitude":"2d162c80","hex_latitude":"071fe720","is_valid_coordinates":true} 
[2026-08-28 21:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710634752001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16233726543396864,"note":"Value kept but may cause issues"} 
[2026-08-28 21:20:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1594555773665644544,"note":"Value kept but may cause issues"} 
[2026-08-28 21:20:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:20:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787932170000,"timestamp_ms":1787932170000,"timestamp_seconds":1787932170,"priority":1,"record_length":96,"hex_timestamp":"000001a0490fd710"} 
[2026-08-28 21:20:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:20:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-28 21:20:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:20:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:20:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:20:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.86.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:20:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:20:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:20:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710634752001,"66":13439,"131":206,"28":31744,"24":39,"16":16233726543396864,"45":1594555773665644544},"client_ip":"117.224.86.212","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-28 21:20:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:20:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:20:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710634752001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:20:51] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-28 21:20:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:20:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16233726543396864,"km_value":16233726543396.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:20:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1594555773665644544,"description":"Unknown IO ID 45"} 
[2026-08-28 21:20:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710634752001,"power":13439,"unknown_131":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1594555773665644544}} 
[2026-08-28 21:20:51] 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":710505,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:20:51] local.INFO: GPS data processed {"connection_id":163783,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:20:51] local.INFO: Acknowledgment sent {"connection_id":163783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:20:57] local.INFO: TCP Data received {"connection_id":164062,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164062,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:20:57] local.INFO: Processing buffer {"connection_id":164062,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:20:57] local.INFO: IMEI packet received {"connection_id":164062,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 21:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":164062,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:21:01] local.INFO: TCP Data received {"connection_id":164062,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164062,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:21:01] local.INFO: Processing buffer {"connection_id":164062,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:21:01] local.INFO: IMEI packet received {"connection_id":164062,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 21:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":164062,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:21:03] local.INFO: TCP Data received {"connection_id":164062,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049101d60012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049101d60012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:21:03] local.INFO: Processing buffer {"connection_id":164062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049101d60012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:21:03] local.INFO: Packet analysis {"connection_id":164062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04910"} 
[2026-08-28 21:21:03] local.INFO: Extracted packet for processing {"connection_id":164062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04910"} 
[2026-08-28 21:21:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710563072001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787932188000,"timestamp_ms":1787932188000,"timestamp_seconds":1787932188,"priority":1,"record_length":96,"hex_timestamp":"000001a049101d60"} 
[2026-08-28 21:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:21:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:21:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:21:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":164062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":164062,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":164062,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710563072001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710563072001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:21:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:21:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710563072001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":164062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710506,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:21:03] local.INFO: GPS data processed {"connection_id":164062,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:21:03] local.INFO: Acknowledgment sent {"connection_id":164062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:21:09] local.INFO: TCP Data received {"connection_id":166433,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0490d94f0012d34c14006aa4840000500e62b..."} 
[2026-08-28 21:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0490d94f0012d34c14006aa4840000500e62b..."} 
[2026-08-28 21:21:09] local.INFO: Processing buffer {"connection_id":166433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0490d94f0012d34c14006aa4840000500e62b..."} 
[2026-08-28 21:21:09] local.INFO: Packet analysis {"connection_id":166433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0490d"} 
[2026-08-28 21:21:09] local.INFO: Extracted packet for processing {"connection_id":166433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0490d"} 
[2026-08-28 21:21:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710520576001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:21:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787932022000,"timestamp_ms":1787932022000,"timestamp_seconds":1787932022,"priority":1,"record_length":96,"hex_timestamp":"000001a0490d94f0"} 
[2026-08-28 21:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 21:21:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:21:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":166433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":166433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":166433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:21:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710520576001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710520576001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:21:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:21:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:21: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-28 21:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710520576001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":166433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:21:09] local.INFO: GPS data processed {"connection_id":166433,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:21:09] local.INFO: Acknowledgment sent {"connection_id":166433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:21:17] local.INFO: TCP Data received {"connection_id":166434,"ip":"117.224.86.212","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166434,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:21:17] local.INFO: Processing buffer {"connection_id":166434,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:21:17] local.INFO: IMEI packet received {"connection_id":166434,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 21:21:17] local.INFO: IMEI acknowledgment sent {"connection_id":166434,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:21:19] local.INFO: TCP Data received {"connection_id":166434,"ip":"117.224.86.212","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166434,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:21:19] local.INFO: Processing buffer {"connection_id":166434,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:21:19] local.INFO: IMEI packet received {"connection_id":166434,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 21:21:19] local.INFO: IMEI acknowledgment sent {"connection_id":166434,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:21:24] local.INFO: TCP Data received {"connection_id":166434,"ip":"117.224.86.212","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166434,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:21:24] local.INFO: Processing buffer {"connection_id":166434,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:21:24] local.INFO: IMEI packet received {"connection_id":166434,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 21:21:24] local.INFO: IMEI acknowledgment sent {"connection_id":166434,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:21:26] local.INFO: TCP Data received {"connection_id":166434,"ip":"117.224.86.212","data_length":795,"data_hex":"000000000000030f8e0a000001a0490ffa38012d164d00071ff648002a004029..."} 
[2026-08-28 21:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0490ffa38012d164d00071ff648002a004029..."} 
[2026-08-28 21:21:26] local.INFO: Processing buffer {"connection_id":166434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0490ffa38012d164d00071ff648002a004029..."} 
[2026-08-28 21:21:26] local.INFO: Packet analysis {"connection_id":166434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0490f"} 
[2026-08-28 21:21:26] local.INFO: Extracted packet for processing {"connection_id":166434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0490f"} 
[2026-08-28 21:21:26] local.INFO: GPS Element Parsed {"raw_longitude":756436224,"raw_latitude":119535176,"longitude_deg":75.6436224,"latitude_deg":11.9535176,"altitude":42,"angle":64,"satellites":41,"speed":40,"hex_longitude":"2d164d00","hex_latitude":"071ff648","is_valid_coordinates":true} 
[2026-08-28 21:21:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:21:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710635520001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:21:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16234164630061056,"note":"Value kept but may cause issues"} 
[2026-08-28 21:21:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1597792735898050560,"note":"Value kept but may cause issues"} 
[2026-08-28 21:21:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:21:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787932179000,"timestamp_ms":1787932179000,"timestamp_seconds":1787932179,"priority":1,"record_length":96,"hex_timestamp":"000001a0490ffa38"} 
[2026-08-28 21:21:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:21:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21:21:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-28 21:21:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:21:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:21:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:21:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:21:26] local.INFO: Teltonika packet parsed successfully {"connection_id":166434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:21:26] local.INFO: Passing IMEI to GPS processor {"connection_id":166434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:21:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":166434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:21:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.86.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:21:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:21:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:21:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710635520001,"66":13526,"131":206,"28":31744,"24":40,"16":16234164630061056,"45":1597792735898050560},"client_ip":"117.224.86.212","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-28 21:21:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:21:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:21:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710635520001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:21:26] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-28 21:21:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:21:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16234164630061056,"km_value":16234164630061.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:21:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1597792735898050560,"description":"Unknown IO ID 45"} 
[2026-08-28 21:21:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710635520001,"power":13526,"unknown_131":206,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":1597792735898050560}} 
[2026-08-28 21:21:26] local.INFO: DEBUG: GPS processor result {"connection_id":166434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710508,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:21:26] local.INFO: GPS data processed {"connection_id":166434,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:21:26] local.INFO: Acknowledgment sent {"connection_id":166434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:21:27] local.INFO: TCP Data received {"connection_id":166434,"ip":"117.224.86.212","data_length":795,"data_hex":"000000000000030f8e0a000001a049101d60012d166f0007200630002d003f2a..."} 
[2026-08-28 21:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049101d60012d166f0007200630002d003f2a..."} 
[2026-08-28 21:21:27] local.INFO: Processing buffer {"connection_id":166434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049101d60012d166f0007200630002d003f2a..."} 
[2026-08-28 21:21:27] local.INFO: Packet analysis {"connection_id":166434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04910"} 
[2026-08-28 21:21:27] local.INFO: Extracted packet for processing {"connection_id":166434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04910"} 
[2026-08-28 21:21:27] local.INFO: GPS Element Parsed {"raw_longitude":756444928,"raw_latitude":119539248,"longitude_deg":75.6444928,"latitude_deg":11.9539248,"altitude":45,"angle":63,"satellites":42,"speed":44,"hex_longitude":"2d166f00","hex_latitude":"07200630","is_valid_coordinates":true} 
[2026-08-28 21:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:21:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710637824001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:21:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16234619896594432,"note":"Value kept but may cause issues"} 
[2026-08-28 21:21:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1606940672642140160,"note":"Value kept but may cause issues"} 
[2026-08-28 21:21:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:21:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787932188000,"timestamp_ms":1787932188000,"timestamp_seconds":1787932188,"priority":1,"record_length":96,"hex_timestamp":"000001a049101d60"} 
[2026-08-28 21:21:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:21:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-28 21:21:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:21:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:21:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:21:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:21:27] local.INFO: Teltonika packet parsed successfully {"connection_id":166434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:21:27] local.INFO: Passing IMEI to GPS processor {"connection_id":166434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:21:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":166434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:21:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.86.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:21:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:21:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:21:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710637824001,"66":13580,"131":206,"28":31744,"24":44,"16":16234619896594432,"45":1606940672642140160},"client_ip":"117.224.86.212","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-28 21:21:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:21:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:21:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710637824001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:21:27] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-28 21:21:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:21:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16234619896594432,"km_value":16234619896594.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:21:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1606940672642140160,"description":"Unknown IO ID 45"} 
[2026-08-28 21:21:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710637824001,"power":13580,"unknown_131":206,"unknown_28":31744,"ignition":44,"odometer":null,"unknown_45":1606940672642140160}} 
[2026-08-28 21:21:27] local.INFO: DEBUG: GPS processor result {"connection_id":166434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710509,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:21:27] local.INFO: GPS data processed {"connection_id":166434,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:21:27] local.INFO: Acknowledgment sent {"connection_id":166434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:21:29] local.INFO: TCP Data received {"connection_id":164063,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:21:29] local.INFO: Processing buffer {"connection_id":164063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:21:29] local.INFO: IMEI packet received {"connection_id":164063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 21:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":164063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:21:35] local.INFO: TCP Data received {"connection_id":164063,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:21:35] local.INFO: Processing buffer {"connection_id":164063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:21:35] local.INFO: IMEI packet received {"connection_id":164063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 21:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":164063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:21:36] local.INFO: TCP Data received {"connection_id":164062,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049101d60012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049101d60012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:21:36] local.INFO: Processing buffer {"connection_id":164062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049101d60012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:21:36] local.INFO: Packet analysis {"connection_id":164062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04910"} 
[2026-08-28 21:21:36] local.INFO: Extracted packet for processing {"connection_id":164062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04910"} 
[2026-08-28 21:21:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710563072001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787932188000,"timestamp_ms":1787932188000,"timestamp_seconds":1787932188,"priority":1,"record_length":96,"hex_timestamp":"000001a049101d60"} 
[2026-08-28 21:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:21:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:21:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":164062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":164062,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":164062,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710563072001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710563072001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:21:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:21:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710563072001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":164062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710510,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:21:36] local.INFO: GPS data processed {"connection_id":164062,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:21:36] local.INFO: Acknowledgment sent {"connection_id":164062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:21:37] local.INFO: TCP Data received {"connection_id":164063,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0490d94f0012d34c14006aa4840000500e62b..."} 
[2026-08-28 21:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0490d94f0012d34c14006aa4840000500e62b..."} 
[2026-08-28 21:21:37] local.INFO: Processing buffer {"connection_id":164063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0490d94f0012d34c14006aa4840000500e62b..."} 
[2026-08-28 21:21:37] local.INFO: Packet analysis {"connection_id":164063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0490d"} 
[2026-08-28 21:21:37] local.INFO: Extracted packet for processing {"connection_id":164063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0490d"} 
[2026-08-28 21:21:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21: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-28 21:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710520576001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787932022000,"timestamp_ms":1787932022000,"timestamp_seconds":1787932022,"priority":1,"record_length":96,"hex_timestamp":"000001a0490d94f0"} 
[2026-08-28 21: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-28 21:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 21:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21: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-28 21: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-28 21:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710520576001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710520576001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:21:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:21:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:21: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-28 21:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710520576001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":164063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:21:37] local.INFO: GPS data processed {"connection_id":164063,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:21:37] local.INFO: Acknowledgment sent {"connection_id":164063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:21:56] local.INFO: TCP Data received {"connection_id":166435,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166435,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:21:56] local.INFO: Processing buffer {"connection_id":166435,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:21:56] local.INFO: IMEI packet received {"connection_id":166435,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 21:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":166435,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:21:58] local.INFO: TCP Data received {"connection_id":166434,"ip":"117.224.86.212","data_length":795,"data_hex":"000000000000030f8e0a000001a049103ca0012d168f40072015a8002f003f2b..."} 
[2026-08-28 21:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049103ca0012d168f40072015a8002f003f2b..."} 
[2026-08-28 21:21:58] local.INFO: Processing buffer {"connection_id":166434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049103ca0012d168f40072015a8002f003f2b..."} 
[2026-08-28 21:21:58] local.INFO: Packet analysis {"connection_id":166434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04910"} 
[2026-08-28 21:21:58] local.INFO: Extracted packet for processing {"connection_id":166434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04910"} 
[2026-08-28 21:21:58] local.INFO: GPS Element Parsed {"raw_longitude":756453184,"raw_latitude":119543208,"longitude_deg":75.6453184,"latitude_deg":11.9543208,"altitude":47,"angle":63,"satellites":43,"speed":43,"hex_longitude":"2d168f40","hex_latitude":"072015a8","is_valid_coordinates":true} 
[2026-08-28 21:21:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:21:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710640128001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:21:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16235057983258624,"note":"Value kept but may cause issues"} 
[2026-08-28 21:21:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1616510821851344896,"note":"Value kept but may cause issues"} 
[2026-08-28 21:21:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:21:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787932196000,"timestamp_ms":1787932196000,"timestamp_seconds":1787932196,"priority":1,"record_length":96,"hex_timestamp":"000001a049103ca0"} 
[2026-08-28 21:21:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:21:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21:21:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-28 21:21:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44499434867800490,"note":"Value kept but may cause issues"} 
[2026-08-28 21:21:58] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":18432,"corrected_to":0} 
[2026-08-28 21:21:58] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":22529,"corrected_to":0} 
[2026-08-28 21:21:58] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-28 21:21:58] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3744989219,"note":"Value kept but may cause issues"} 
[2026-08-28 21:21:58] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635583937963907,"note":"Value kept but may cause issues"} 
[2026-08-28 21:21:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3884122318,"corrected_to":0} 
[2026-08-28 21:21:58] local.WARNING: Large IO value detected {"io_id":216,"raw_value":3221692378,"note":"Value kept but may cause issues"} 
[2026-08-28 21:21:58] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-08-28 21:21:58] local.WARNING: Large IO value detected {"io_id":57,"raw_value":2878144512,"note":"Value kept but may cause issues"} 
[2026-08-28 21:21:58] local.WARNING: Large IO value detected {"io_id":21,"raw_value":-8142500293175672795,"note":"Value kept but may cause issues"} 
[2026-08-28 21:21:58] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-2233559020923204068,"note":"Value kept but may cause issues"} 
[2026-08-28 21:21:58] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755605599617265,"note":"Value kept but may cause issues"} 
[2026-08-28 21:21:58] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,131,28,24,241,158,16,173,160,250,45,246,42,41,10,66,172,215,128,231,38,203,1,240,56,73,31,4,113,205,35,129,216,112,43,239,53,2,57,7,44,21,52,124],"length":577,"final_offset":707,"validated_count":44,"validation_warnings":[{"io_id":246,"original":18432,"validated":0},{"io_id":203,"original":22529,"validated":0},{"io_id":205,"original":3884122318,"validated":0}]} 
[2026-08-28 21:21:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3242661181330817024,"timestamp_seconds":3242661181330817.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 21:21:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:21:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:21:58] local.INFO: Teltonika packet parsed successfully {"connection_id":166434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:21:58] local.INFO: Passing IMEI to GPS processor {"connection_id":166434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:21:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":166434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:21:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.86.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:21:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:21:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:21:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710640128001,"66":13580,"131":206,"28":31744,"24":43,"16":16235057983258624,"45":1616510821851344896},"client_ip":"117.224.86.212","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-08-28 21:21:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:21:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:21:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710640128001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:21:58] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-28 21:21:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:21:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16235057983258624,"km_value":16235057983258.623,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:21:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1616510821851344896,"description":"Unknown IO ID 45"} 
[2026-08-28 21:21:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710640128001,"power":13580,"unknown_131":206,"unknown_28":31744,"ignition":43,"odometer":null,"unknown_45":1616510821851344896}} 
[2026-08-28 21:21:58] local.INFO: DEBUG: GPS processor result {"connection_id":166434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710512,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:21:58] local.INFO: GPS data processed {"connection_id":166434,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:21:58] local.INFO: Acknowledgment sent {"connection_id":166434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:22:01] local.INFO: TCP Data received {"connection_id":166435,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166435,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:22:01] local.INFO: Processing buffer {"connection_id":166435,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:22:01] local.INFO: IMEI packet received {"connection_id":166435,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 21:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":166435,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:22:02] local.INFO: TCP Data received {"connection_id":166435,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049101d60012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049101d60012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:22:02] local.INFO: Processing buffer {"connection_id":166435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049101d60012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:22:02] local.INFO: Packet analysis {"connection_id":166435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04910"} 
[2026-08-28 21:22:02] local.INFO: Extracted packet for processing {"connection_id":166435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04910"} 
[2026-08-28 21:22:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:22:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710563072001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:22:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:22:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:22:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:22:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787932188000,"timestamp_ms":1787932188000,"timestamp_seconds":1787932188,"priority":1,"record_length":96,"hex_timestamp":"000001a049101d60"} 
[2026-08-28 21:22:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:22:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:22:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:22:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:22:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:22:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:22:02] local.INFO: Teltonika packet parsed successfully {"connection_id":166435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:22:02] local.INFO: Passing IMEI to GPS processor {"connection_id":166435,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:22:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":166435,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:22:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:22:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:22:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:22:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710563072001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:22:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:22:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:22:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710563072001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:22:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:22:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:22:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:22:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:22:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710563072001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:22:02] local.INFO: DEBUG: GPS processor result {"connection_id":166435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710513,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:22:02] local.INFO: GPS data processed {"connection_id":166435,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:22:02] local.INFO: Acknowledgment sent {"connection_id":166435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:22:09] local.INFO: TCP Data received {"connection_id":164063,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0490d94f0012d34c14006aa4840000500e62b..."} 
[2026-08-28 21:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0490d94f0012d34c14006aa4840000500e62b..."} 
[2026-08-28 21:22:09] local.INFO: Processing buffer {"connection_id":164063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0490d94f0012d34c14006aa4840000500e62b..."} 
[2026-08-28 21:22:09] local.INFO: Packet analysis {"connection_id":164063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0490d"} 
[2026-08-28 21:22:09] local.INFO: Extracted packet for processing {"connection_id":164063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0490d"} 
[2026-08-28 21:22:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710520576001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:22:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:22:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787932022000,"timestamp_ms":1787932022000,"timestamp_seconds":1787932022,"priority":1,"record_length":96,"hex_timestamp":"000001a0490d94f0"} 
[2026-08-28 21:22:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:22:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 21:22:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:22:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:22:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:22:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710520576001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710520576001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:22:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:22:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:22: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-28 21:22:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710520576001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":164063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:22:09] local.INFO: GPS data processed {"connection_id":164063,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:22:09] local.INFO: Acknowledgment sent {"connection_id":164063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:22:14] local.INFO: TCP Data received {"connection_id":164064,"ip":"117.224.86.212","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164064,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:22:14] local.INFO: Processing buffer {"connection_id":164064,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:22:14] local.INFO: IMEI packet received {"connection_id":164064,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 21:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":164064,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:22:19] local.INFO: TCP Data received {"connection_id":164064,"ip":"117.224.86.212","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164064,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:22:19] local.INFO: Processing buffer {"connection_id":164064,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:22:19] local.INFO: IMEI packet received {"connection_id":164064,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 21:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":164064,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:22:20] local.INFO: TCP Data received {"connection_id":164064,"ip":"117.224.86.212","data_length":795,"data_hex":"000000000000030f8e0a000001a049107738012d16afc007202770002c00322a..."} 
[2026-08-28 21:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049107738012d16afc007202770002c00322a..."} 
[2026-08-28 21:22:20] local.INFO: Processing buffer {"connection_id":164064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049107738012d16afc007202770002c00322a..."} 
[2026-08-28 21:22:20] local.INFO: Packet analysis {"connection_id":164064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04910"} 
[2026-08-28 21:22:20] local.INFO: Extracted packet for processing {"connection_id":164064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04910"} 
[2026-08-28 21:22:20] local.INFO: GPS Element Parsed {"raw_longitude":756461504,"raw_latitude":119547760,"longitude_deg":75.6461504,"latitude_deg":11.954776,"altitude":44,"angle":50,"satellites":42,"speed":28,"hex_longitude":"2d16afc0","hex_latitude":"07202770","is_valid_coordinates":true} 
[2026-08-28 21: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-28 21:22:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710642176001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:22:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16235508954824704,"note":"Value kept but may cause issues"} 
[2026-08-28 21:22:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1625588389851277312,"note":"Value kept but may cause issues"} 
[2026-08-28 21:22:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:22:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787932211000,"timestamp_ms":1787932211000,"timestamp_seconds":1787932211,"priority":1,"record_length":96,"hex_timestamp":"000001a049107738"} 
[2026-08-28 21: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-28 21:22:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-28 21:22:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44499434867800491,"note":"Value kept but may cause issues"} 
[2026-08-28 21:22:20] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":18432,"corrected_to":0} 
[2026-08-28 21:22:20] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-28 21:22:20] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3817865254,"note":"Value kept but may cause issues"} 
[2026-08-28 21:22:20] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635674132277123,"note":"Value kept but may cause issues"} 
[2026-08-28 21:22:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3884122318,"corrected_to":0} 
[2026-08-28 21:22:20] local.WARNING: Large IO value detected {"io_id":252,"raw_value":3221692383,"note":"Value kept but may cause issues"} 
[2026-08-28 21:22:20] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-648291952122343908,"note":"Value kept but may cause issues"} 
[2026-08-28 21:22:20] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-08-28 21:22:20] local.WARNING: Large IO value detected {"io_id":57,"raw_value":2884894720,"note":"Value kept but may cause issues"} 
[2026-08-28 21:22:20] local.WARNING: Large IO value detected {"io_id":21,"raw_value":-5620484501694578653,"note":"Value kept but may cause issues"} 
[2026-08-28 21:22:20] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755588419748081,"note":"Value kept but may cause issues"} 
[2026-08-28 21:22:20] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,131,28,24,241,158,16,173,160,29,45,6,42,10,66,250,246,41,172,215,128,1,240,127,73,31,4,113,205,168,252,56,239,52,2,57,7,33,21,124],"length":577,"final_offset":707,"validated_count":40,"validation_warnings":[{"io_id":246,"original":18432,"validated":0},{"io_id":205,"original":3884122318,"validated":0}]} 
[2026-08-28 21:22:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3386776373701574656,"timestamp_seconds":3386776373701574.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 21: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-28 21:22:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:22:20] local.INFO: Teltonika packet parsed successfully {"connection_id":164064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:22:20] local.INFO: Passing IMEI to GPS processor {"connection_id":164064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:22:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":164064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:22:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.86.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:22:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:22:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:22:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710642176001,"66":13526,"122":206,"28":31744,"24":28,"16":16235508954824704,"45":1625588389851277312},"client_ip":"117.224.86.212","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-28 21:22:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:22:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:22:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710642176001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:22:20] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-28 21:22:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:22:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16235508954824704,"km_value":16235508954824.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:22:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1625588389851277312,"description":"Unknown IO ID 45"} 
[2026-08-28 21:22:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710642176001,"power":13526,"unknown_122":206,"unknown_28":31744,"ignition":28,"odometer":null,"unknown_45":1625588389851277312}} 
[2026-08-28 21:22:20] local.INFO: DEBUG: GPS processor result {"connection_id":164064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710515,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:22:20] local.INFO: GPS data processed {"connection_id":164064,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:22:20] local.INFO: Acknowledgment sent {"connection_id":164064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:22:22] local.INFO: TCP Data received {"connection_id":164064,"ip":"117.224.86.212","data_length":795,"data_hex":"000000000000030f8e0a000001a049107738012d16afc007202770002c00322a..."} 
[2026-08-28 21:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049107738012d16afc007202770002c00322a..."} 
[2026-08-28 21:22:22] local.INFO: Processing buffer {"connection_id":164064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049107738012d16afc007202770002c00322a..."} 
[2026-08-28 21:22:22] local.INFO: Packet analysis {"connection_id":164064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04910"} 
[2026-08-28 21:22:22] local.INFO: Extracted packet for processing {"connection_id":164064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04910"} 
[2026-08-28 21:22:22] local.INFO: GPS Element Parsed {"raw_longitude":756461504,"raw_latitude":119547760,"longitude_deg":75.6461504,"latitude_deg":11.954776,"altitude":44,"angle":50,"satellites":42,"speed":28,"hex_longitude":"2d16afc0","hex_latitude":"07202770","is_valid_coordinates":true} 
[2026-08-28 21:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:22:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710646016001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:22:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16235508954824704,"note":"Value kept but may cause issues"} 
[2026-08-28 21:22:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1634736326595538944,"note":"Value kept but may cause issues"} 
[2026-08-28 21:22:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:22:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787932211000,"timestamp_ms":1787932211000,"timestamp_seconds":1787932211,"priority":1,"record_length":96,"hex_timestamp":"000001a049107738"} 
[2026-08-28 21:22:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:22:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-28 21:22:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:22:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:22:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:22:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:22:22] local.INFO: Teltonika packet parsed successfully {"connection_id":164064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:22:22] local.INFO: Passing IMEI to GPS processor {"connection_id":164064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:22:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":164064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:22:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.86.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:22:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:22:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:22:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710646016001,"66":13526,"122":206,"28":31744,"24":28,"16":16235508954824704,"45":1634736326595538944},"client_ip":"117.224.86.212","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-08-28 21:22:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:22:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:22:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710646016001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:22:22] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-08-28 21:22:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:22:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16235508954824704,"km_value":16235508954824.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:22:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1634736326595538944,"description":"Unknown IO ID 45"} 
[2026-08-28 21:22:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710646016001,"power":13526,"unknown_122":206,"unknown_28":31744,"ignition":28,"odometer":null,"unknown_45":1634736326595538944}} 
[2026-08-28 21:22:22] local.INFO: DEBUG: GPS processor result {"connection_id":164064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710516,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:22:22] local.INFO: GPS data processed {"connection_id":164064,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:22:22] local.INFO: Acknowledgment sent {"connection_id":164064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:22:29] local.INFO: TCP Data received {"connection_id":163784,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:22:29] local.INFO: Processing buffer {"connection_id":163784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:22:29] local.INFO: IMEI packet received {"connection_id":163784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 21:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":163784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:22:34] local.INFO: TCP Data received {"connection_id":166435,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049101d60012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049101d60012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:22:34] local.INFO: Processing buffer {"connection_id":166435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049101d60012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:22:34] local.INFO: Packet analysis {"connection_id":166435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04910"} 
[2026-08-28 21:22:34] local.INFO: Extracted packet for processing {"connection_id":166435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04910"} 
[2026-08-28 21:22:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:22:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710563072001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:22:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:22:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:22:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:22:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787932188000,"timestamp_ms":1787932188000,"timestamp_seconds":1787932188,"priority":1,"record_length":96,"hex_timestamp":"000001a049101d60"} 
[2026-08-28 21:22:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:22:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:22:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:22:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:22:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:22:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:22:34] local.INFO: Teltonika packet parsed successfully {"connection_id":166435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:22:34] local.INFO: Passing IMEI to GPS processor {"connection_id":166435,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:22:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":166435,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:22:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:22:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:22:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:22:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710563072001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:22:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:22:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:22:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710563072001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:22:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:22:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:22:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:22:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:22:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710563072001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:22:34] local.INFO: DEBUG: GPS processor result {"connection_id":166435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710517,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:22:34] local.INFO: GPS data processed {"connection_id":166435,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:22:34] local.INFO: Acknowledgment sent {"connection_id":166435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:22:35] local.INFO: TCP Data received {"connection_id":163784,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:22:35] local.INFO: Processing buffer {"connection_id":163784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:22:35] local.INFO: IMEI packet received {"connection_id":163784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 21:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":163784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:22:37] local.INFO: TCP Data received {"connection_id":163784,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0490d94f0012d34c14006aa4840000500e62b..."} 
[2026-08-28 21:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0490d94f0012d34c14006aa4840000500e62b..."} 
[2026-08-28 21:22:37] local.INFO: Processing buffer {"connection_id":163784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0490d94f0012d34c14006aa4840000500e62b..."} 
[2026-08-28 21:22:37] local.INFO: Packet analysis {"connection_id":163784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0490d"} 
[2026-08-28 21:22:37] local.INFO: Extracted packet for processing {"connection_id":163784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0490d"} 
[2026-08-28 21:22:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":5,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710520576001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787932022000,"timestamp_ms":1787932022000,"timestamp_seconds":1787932022,"priority":1,"record_length":96,"hex_timestamp":"000001a0490d94f0"} 
[2026-08-28 21:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 21:22:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:22:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710520576001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710520576001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:22:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:22:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:22: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-28 21:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710520576001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":163784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:22:37] local.INFO: GPS data processed {"connection_id":163784,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:22:37] local.INFO: Acknowledgment sent {"connection_id":163784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:22:53] local.INFO: TCP Data received {"connection_id":164064,"ip":"117.224.86.212","data_length":795,"data_hex":"000000000000030f8e0a000001a0491228d0012d17ee00072175e0004700262d..."} 
[2026-08-28 21:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0491228d0012d17ee00072175e0004700262d..."} 
[2026-08-28 21:22:53] local.INFO: Processing buffer {"connection_id":164064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0491228d0012d17ee00072175e0004700262d..."} 
[2026-08-28 21:22:53] local.INFO: Packet analysis {"connection_id":164064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04912"} 
[2026-08-28 21:22:53] local.INFO: Extracted packet for processing {"connection_id":164064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04912"} 
[2026-08-28 21:22:53] local.INFO: GPS Element Parsed {"raw_longitude":756542976,"raw_latitude":119633376,"longitude_deg":75.6542976,"latitude_deg":11.9633376,"altitude":71,"angle":38,"satellites":45,"speed":38,"hex_longitude":"2d17ee00","hex_latitude":"072175e0","is_valid_coordinates":true} 
[2026-08-28 21: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-28 21:22:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710671872001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:22:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16241225556295680,"note":"Value kept but may cause issues"} 
[2026-08-28 21:22:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1718826975907661824,"note":"Value kept but may cause issues"} 
[2026-08-28 21:22:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:22:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787932322000,"timestamp_ms":1787932322000,"timestamp_seconds":1787932322,"priority":1,"record_length":96,"hex_timestamp":"000001a0491228d0"} 
[2026-08-28 21: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-28 21:22:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-28 21:22:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21: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-28 21: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-28 21:22:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:22:53] local.INFO: Teltonika packet parsed successfully {"connection_id":164064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:22:53] local.INFO: Passing IMEI to GPS processor {"connection_id":164064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:22:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":164064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:22:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.86.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:22:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:22:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:22:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710671872001,"66":12667,"120":206,"28":31744,"24":38,"16":16241225556295680,"45":1718826975907661824},"client_ip":"117.224.86.212","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 21:22:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:22:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:22:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710671872001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:22:53] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 21:22:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:22:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16241225556295680,"km_value":16241225556295.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:22:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1718826975907661824,"description":"Unknown IO ID 45"} 
[2026-08-28 21:22:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710671872001,"power":12667,"unknown_120":206,"unknown_28":31744,"ignition":38,"odometer":null,"unknown_45":1718826975907661824}} 
[2026-08-28 21:22:53] local.INFO: DEBUG: GPS processor result {"connection_id":164064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710519,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:22:53] local.INFO: GPS data processed {"connection_id":164064,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:22:53] local.INFO: Acknowledgment sent {"connection_id":164064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:22:56] local.INFO: TCP Data received {"connection_id":165075,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165075,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:22:56] local.INFO: Processing buffer {"connection_id":165075,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:22:56] local.INFO: IMEI packet received {"connection_id":165075,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 21:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":165075,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:23:01] local.INFO: TCP Data received {"connection_id":165075,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165075,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:23:01] local.INFO: Processing buffer {"connection_id":165075,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:23:01] local.INFO: IMEI packet received {"connection_id":165075,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 21:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":165075,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:23:03] local.INFO: TCP Data received {"connection_id":165075,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049101d60012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049101d60012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:23:03] local.INFO: Processing buffer {"connection_id":165075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049101d60012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:23:03] local.INFO: Packet analysis {"connection_id":165075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04910"} 
[2026-08-28 21:23:03] local.INFO: Extracted packet for processing {"connection_id":165075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04910"} 
[2026-08-28 21:23:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710563072001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787932188000,"timestamp_ms":1787932188000,"timestamp_seconds":1787932188,"priority":1,"record_length":96,"hex_timestamp":"000001a049101d60"} 
[2026-08-28 21:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:23:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:23:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:23:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":165075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":165075,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":165075,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710563072001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710563072001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:23:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:23:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710563072001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":165075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710520,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:23:03] local.INFO: GPS data processed {"connection_id":165075,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:23:03] local.INFO: Acknowledgment sent {"connection_id":165075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:23:09] local.INFO: TCP Data received {"connection_id":163784,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049122cb8012d34c14006aa4840000d00e629..."} 
[2026-08-28 21:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049122cb8012d34c14006aa4840000d00e629..."} 
[2026-08-28 21:23:09] local.INFO: Processing buffer {"connection_id":163784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049122cb8012d34c14006aa4840000d00e629..."} 
[2026-08-28 21:23:09] local.INFO: Packet analysis {"connection_id":163784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04912"} 
[2026-08-28 21:23:09] local.INFO: Extracted packet for processing {"connection_id":163784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04912"} 
[2026-08-28 21:23:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710597632001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:23:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:23:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787932323000,"timestamp_ms":1787932323000,"timestamp_seconds":1787932323,"priority":1,"record_length":96,"hex_timestamp":"000001a049122cb8"} 
[2026-08-28 21:23:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:23:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 21:23:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:23:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:23:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:23:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710597632001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710597632001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:23:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:23:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:23: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-28 21:23:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710597632001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":163784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:23:09] local.INFO: GPS data processed {"connection_id":163784,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:23:09] local.INFO: Acknowledgment sent {"connection_id":163784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:23:14] local.INFO: TCP Data received {"connection_id":165076,"ip":"117.224.86.212","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165076,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:23:14] local.INFO: Processing buffer {"connection_id":165076,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:23:14] local.INFO: IMEI packet received {"connection_id":165076,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 21:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":165076,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:23:16] local.INFO: TCP Data received {"connection_id":165076,"ip":"117.224.86.212","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165076,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:23:16] local.INFO: Processing buffer {"connection_id":165076,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:23:16] local.INFO: IMEI packet received {"connection_id":165076,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 21:23:16] local.INFO: IMEI acknowledgment sent {"connection_id":165076,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:23:17] local.INFO: TCP Data received {"connection_id":165076,"ip":"117.224.86.212","data_length":795,"data_hex":"000000000000030f8e0a000001a049123c58012d17fc0007218378004800322c..."} 
[2026-08-28 21:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049123c58012d17fc0007218378004800322c..."} 
[2026-08-28 21:23:17] local.INFO: Processing buffer {"connection_id":165076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049123c58012d17fc0007218378004800322c..."} 
[2026-08-28 21:23:17] local.INFO: Packet analysis {"connection_id":165076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04912"} 
[2026-08-28 21:23:17] local.INFO: Extracted packet for processing {"connection_id":165076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04912"} 
[2026-08-28 21:23:17] local.INFO: GPS Element Parsed {"raw_longitude":756546560,"raw_latitude":119636856,"longitude_deg":75.654656,"latitude_deg":11.9636856,"altitude":72,"angle":50,"satellites":44,"speed":40,"hex_longitude":"2d17fc00","hex_latitude":"07218378","is_valid_coordinates":true} 
[2026-08-28 21:23:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:23:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710674432001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:23:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16241466074464256,"note":"Value kept but may cause issues"} 
[2026-08-28 21:23:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1724315737955622912,"note":"Value kept but may cause issues"} 
[2026-08-28 21:23:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:23:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787932327000,"timestamp_ms":1787932327000,"timestamp_seconds":1787932327,"priority":1,"record_length":96,"hex_timestamp":"000001a049123c58"} 
[2026-08-28 21: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-28 21:23:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-28 21:23: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-28 21: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-28 21: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-28 21:23:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:23:17] local.INFO: Teltonika packet parsed successfully {"connection_id":165076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:23:17] local.INFO: Passing IMEI to GPS processor {"connection_id":165076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:23:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":165076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:23:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.86.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:23:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:23:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:23:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710674432001,"66":12667,"120":206,"28":31744,"24":40,"16":16241466074464256,"45":1724315737955622912},"client_ip":"117.224.86.212","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 21:23:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:23:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:23:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710674432001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:23:17] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 21:23:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:23:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16241466074464256,"km_value":16241466074464.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:23:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1724315737955622912,"description":"Unknown IO ID 45"} 
[2026-08-28 21:23:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710674432001,"power":12667,"unknown_120":206,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":1724315737955622912}} 
[2026-08-28 21:23:17] 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":710522,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:23:17] local.INFO: GPS data processed {"connection_id":165076,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:23:17] local.INFO: Acknowledgment sent {"connection_id":165076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:23:30] local.INFO: TCP Data received {"connection_id":164065,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:23:30] local.INFO: Processing buffer {"connection_id":164065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:23:30] local.INFO: IMEI packet received {"connection_id":164065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 21:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":164065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:23:35] local.INFO: TCP Data received {"connection_id":164065,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:23:35] local.INFO: Processing buffer {"connection_id":164065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:23:35] local.INFO: IMEI packet received {"connection_id":164065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 21:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":164065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:23:35] local.INFO: TCP Data received {"connection_id":165075,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049101d60012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049101d60012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:23:35] local.INFO: Processing buffer {"connection_id":165075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049101d60012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:23:35] local.INFO: Packet analysis {"connection_id":165075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04910"} 
[2026-08-28 21:23:35] local.INFO: Extracted packet for processing {"connection_id":165075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04910"} 
[2026-08-28 21:23:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:23:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710563072001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:23:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:23:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:23:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:23:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787932188000,"timestamp_ms":1787932188000,"timestamp_seconds":1787932188,"priority":1,"record_length":96,"hex_timestamp":"000001a049101d60"} 
[2026-08-28 21:23:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:23:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:23:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:23:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:23:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:23:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:23:35] local.INFO: Teltonika packet parsed successfully {"connection_id":165075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:23:35] local.INFO: Passing IMEI to GPS processor {"connection_id":165075,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:23:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":165075,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:23:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:23:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:23:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:23:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710563072001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:23:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:23:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:23:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710563072001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:23:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:23:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:23:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:23:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:23:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710563072001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":165075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710523,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:23:36] local.INFO: GPS data processed {"connection_id":165075,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:23:36] local.INFO: Acknowledgment sent {"connection_id":165075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:23:37] local.INFO: TCP Data received {"connection_id":164065,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049122cb8012d34c14006aa4840000d00e629..."} 
[2026-08-28 21:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049122cb8012d34c14006aa4840000d00e629..."} 
[2026-08-28 21:23:37] local.INFO: Processing buffer {"connection_id":164065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049122cb8012d34c14006aa4840000d00e629..."} 
[2026-08-28 21:23:37] local.INFO: Packet analysis {"connection_id":164065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04912"} 
[2026-08-28 21:23:37] local.INFO: Extracted packet for processing {"connection_id":164065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04912"} 
[2026-08-28 21:23:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21: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-28 21:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710597632001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787932323000,"timestamp_ms":1787932323000,"timestamp_seconds":1787932323,"priority":1,"record_length":96,"hex_timestamp":"000001a049122cb8"} 
[2026-08-28 21: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-28 21:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 21:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21: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-28 21: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-28 21:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710597632001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710597632001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:23:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:23:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:23: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-28 21:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710597632001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":164065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:23:37] local.INFO: GPS data processed {"connection_id":164065,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:23:37] local.INFO: Acknowledgment sent {"connection_id":164065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:23:48] local.INFO: TCP Data received {"connection_id":165076,"ip":"117.224.86.212","data_length":795,"data_hex":"000000000000030f8e0a000001a0491253c8012d180dc0072193d0004900262d..."} 
[2026-08-28 21:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0491253c8012d180dc0072193d0004900262d..."} 
[2026-08-28 21:23:48] local.INFO: Processing buffer {"connection_id":165076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0491253c8012d180dc0072193d0004900262d..."} 
[2026-08-28 21:23:48] local.INFO: Packet analysis {"connection_id":165076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04912"} 
[2026-08-28 21:23:48] local.INFO: Extracted packet for processing {"connection_id":165076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04912"} 
[2026-08-28 21:23:48] local.INFO: GPS Element Parsed {"raw_longitude":756551104,"raw_latitude":119641040,"longitude_deg":75.6551104,"latitude_deg":11.964104,"altitude":73,"angle":38,"satellites":45,"speed":40,"hex_longitude":"2d180dc0","hex_latitude":"072193d0","is_valid_coordinates":true} 
[2026-08-28 21: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-28 21:23:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710675712001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:23:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16241762427207680,"note":"Value kept but may cause issues"} 
[2026-08-28 21:23:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1728256387630462976,"note":"Value kept but may cause issues"} 
[2026-08-28 21:23:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:23:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787932333000,"timestamp_ms":1787932333000,"timestamp_seconds":1787932333,"priority":1,"record_length":96,"hex_timestamp":"000001a0491253c8"} 
[2026-08-28 21: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-28 21:23:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-28 21:23:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21: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-28 21: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-28 21:23:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:23:48] local.INFO: Teltonika packet parsed successfully {"connection_id":165076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:23:48] local.INFO: Passing IMEI to GPS processor {"connection_id":165076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:23:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":165076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:23:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.86.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:23:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:23:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:23:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710675712001,"66":12645,"120":206,"28":31744,"24":40,"16":16241762427207680,"45":1728256387630462976},"client_ip":"117.224.86.212","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 21:23:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:23:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:23:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710675712001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:23:48] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 21:23:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:23:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16241762427207680,"km_value":16241762427207.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:23:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1728256387630462976,"description":"Unknown IO ID 45"} 
[2026-08-28 21:23:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710675712001,"power":12645,"unknown_120":206,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":1728256387630462976}} 
[2026-08-28 21:23:49] 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":710525,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:23:49] local.INFO: GPS data processed {"connection_id":165076,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:23:49] local.INFO: Acknowledgment sent {"connection_id":165076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:24:01] local.INFO: TCP Data received {"connection_id":165077,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165077,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:24:01] local.INFO: Processing buffer {"connection_id":165077,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:24:01] local.INFO: IMEI packet received {"connection_id":165077,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 21:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":165077,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:24:06] local.INFO: TCP Data received {"connection_id":165077,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165077,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:24:06] local.INFO: Processing buffer {"connection_id":165077,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:24:06] local.INFO: IMEI packet received {"connection_id":165077,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 21:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":165077,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:24:07] local.INFO: TCP Data received {"connection_id":165077,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049101d60012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049101d60012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:24:07] local.INFO: Processing buffer {"connection_id":165077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049101d60012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:24:07] local.INFO: Packet analysis {"connection_id":165077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04910"} 
[2026-08-28 21:24:07] local.INFO: Extracted packet for processing {"connection_id":165077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04910"} 
[2026-08-28 21:24:07] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710563072001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:24:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787932188000,"timestamp_ms":1787932188000,"timestamp_seconds":1787932188,"priority":1,"record_length":96,"hex_timestamp":"000001a049101d60"} 
[2026-08-28 21:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:24:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:24:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:24:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":165077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":165077,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":165077,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:24:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710563072001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710563072001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:24:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:24:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710563072001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:24:08] 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":710526,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:24:08] local.INFO: GPS data processed {"connection_id":165077,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:24:08] local.INFO: Acknowledgment sent {"connection_id":165077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:24:09] local.INFO: TCP Data received {"connection_id":164065,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049122cb8012d34c14006aa4840000d00e629..."} 
[2026-08-28 21:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049122cb8012d34c14006aa4840000d00e629..."} 
[2026-08-28 21:24:09] local.INFO: Processing buffer {"connection_id":164065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049122cb8012d34c14006aa4840000d00e629..."} 
[2026-08-28 21:24:09] local.INFO: Packet analysis {"connection_id":164065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04912"} 
[2026-08-28 21:24:09] local.INFO: Extracted packet for processing {"connection_id":164065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04912"} 
[2026-08-28 21:24:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710597632001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:24:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:24:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787932323000,"timestamp_ms":1787932323000,"timestamp_seconds":1787932323,"priority":1,"record_length":96,"hex_timestamp":"000001a049122cb8"} 
[2026-08-28 21:24:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:24:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 21:24:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:24:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:24:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:24:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710597632001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710597632001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:24:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:24:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:24: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-28 21:24:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710597632001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":164065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:24:09] local.INFO: GPS data processed {"connection_id":164065,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:24:09] local.INFO: Acknowledgment sent {"connection_id":164065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:24:12] local.INFO: TCP Data received {"connection_id":165077,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049101d60012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049101d60012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:24:12] local.INFO: Processing buffer {"connection_id":165077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049101d60012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:24:12] local.INFO: Packet analysis {"connection_id":165077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04910"} 
[2026-08-28 21:24:12] local.INFO: Extracted packet for processing {"connection_id":165077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04910"} 
[2026-08-28 21:24:12] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710563072001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:24:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:24:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787932188000,"timestamp_ms":1787932188000,"timestamp_seconds":1787932188,"priority":1,"record_length":96,"hex_timestamp":"000001a049101d60"} 
[2026-08-28 21:24:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:24:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:24:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:24:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:24:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":165077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":165077,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":165077,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:24:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:24:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710563072001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:24:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:24:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:24:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710563072001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:24:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:24:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:24:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:24:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:24:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710563072001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:24:12] 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":710528,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:24:12] local.INFO: GPS data processed {"connection_id":165077,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:24:12] local.INFO: Acknowledgment sent {"connection_id":165077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:24:15] local.INFO: TCP Data received {"connection_id":163785,"ip":"117.224.86.212","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163785,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:24:15] local.INFO: Processing buffer {"connection_id":163785,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:24:15] local.INFO: IMEI packet received {"connection_id":163785,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 21:24:15] local.INFO: IMEI acknowledgment sent {"connection_id":163785,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:24:19] local.INFO: TCP Data received {"connection_id":163785,"ip":"117.224.86.212","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163785,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:24:19] local.INFO: Processing buffer {"connection_id":163785,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:24:19] local.INFO: IMEI packet received {"connection_id":163785,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 21:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":163785,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:24:20] local.INFO: TCP Data received {"connection_id":163785,"ip":"117.224.86.212","data_length":795,"data_hex":"000000000000030f8e0a000001a049126368012d1816000721a0480049001a2d..."} 
[2026-08-28 21:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049126368012d1816000721a0480049001a2d..."} 
[2026-08-28 21:24:20] local.INFO: Processing buffer {"connection_id":163785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049126368012d1816000721a0480049001a2d..."} 
[2026-08-28 21:24:20] local.INFO: Packet analysis {"connection_id":163785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04912"} 
[2026-08-28 21:24:20] local.INFO: Extracted packet for processing {"connection_id":163785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04912"} 
[2026-08-28 21:24:20] local.INFO: GPS Element Parsed {"raw_longitude":756553216,"raw_latitude":119644232,"longitude_deg":75.6553216,"latitude_deg":11.9644232,"altitude":73,"angle":26,"satellites":45,"speed":30,"hex_longitude":"2d181600","hex_latitude":"0721a048","is_valid_coordinates":true} 
[2026-08-28 21:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:24:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710677248001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:24:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16241947110801408,"note":"Value kept but may cause issues"} 
[2026-08-28 21:24:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733252568468148224,"note":"Value kept but may cause issues"} 
[2026-08-28 21:24:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:24:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787932337000,"timestamp_ms":1787932337000,"timestamp_seconds":1787932337,"priority":1,"record_length":96,"hex_timestamp":"000001a049126368"} 
[2026-08-28 21:24:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:24:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-28 21:24:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:24:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:24:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:24:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:24:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:24:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:24:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:24:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.86.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:24:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:24:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:24:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710677248001,"66":11700,"120":206,"28":31744,"24":30,"16":16241947110801408,"45":1733252568468148224},"client_ip":"117.224.86.212","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 21:24:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:24:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:24:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710677248001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:24:20] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 21:24:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:24:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16241947110801408,"km_value":16241947110801.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:24:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733252568468148224,"description":"Unknown IO ID 45"} 
[2026-08-28 21:24:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710677248001,"power":11700,"unknown_120":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1733252568468148224}} 
[2026-08-28 21:24:21] 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":710529,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:24:21] local.INFO: GPS data processed {"connection_id":163785,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:24:21] local.INFO: Acknowledgment sent {"connection_id":163785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:24:29] local.INFO: TCP Data received {"connection_id":165078,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:24:29] local.INFO: Processing buffer {"connection_id":165078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:24:29] local.INFO: IMEI packet received {"connection_id":165078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 21:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":165078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:24:35] local.INFO: TCP Data received {"connection_id":165078,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:24:35] local.INFO: Processing buffer {"connection_id":165078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:24:35] local.INFO: IMEI packet received {"connection_id":165078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 21:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":165078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:24:36] local.INFO: TCP Data received {"connection_id":165078,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049122cb8012d34c14006aa4840000d00e629..."} 
[2026-08-28 21:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049122cb8012d34c14006aa4840000d00e629..."} 
[2026-08-28 21:24:36] local.INFO: Processing buffer {"connection_id":165078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049122cb8012d34c14006aa4840000d00e629..."} 
[2026-08-28 21:24:36] local.INFO: Packet analysis {"connection_id":165078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04912"} 
[2026-08-28 21:24:36] local.INFO: Extracted packet for processing {"connection_id":165078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04912"} 
[2026-08-28 21:24:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21: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-28 21:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710597632001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787932323000,"timestamp_ms":1787932323000,"timestamp_seconds":1787932323,"priority":1,"record_length":96,"hex_timestamp":"000001a049122cb8"} 
[2026-08-28 21: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-28 21:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 21:24:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21: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-28 21: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-28 21:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":165078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":165078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":165078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:24:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710597632001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710597632001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:24:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:24:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710597632001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:24:36] 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":710530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:24:36] local.INFO: GPS data processed {"connection_id":165078,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:24:36] local.INFO: Acknowledgment sent {"connection_id":165078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:24:52] local.INFO: TCP Data received {"connection_id":163785,"ip":"117.224.86.212","data_length":795,"data_hex":"000000000000030f8e0a000001a04912b570012d181ac00721a908004b00222a..."} 
[2026-08-28 21:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04912b570012d181ac00721a908004b00222a..."} 
[2026-08-28 21:24:52] local.INFO: Processing buffer {"connection_id":163785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04912b570012d181ac00721a908004b00222a..."} 
[2026-08-28 21:24:52] local.INFO: Packet analysis {"connection_id":163785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04912"} 
[2026-08-28 21:24:52] local.INFO: Extracted packet for processing {"connection_id":163785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04912"} 
[2026-08-28 21:24:52] local.INFO: GPS Element Parsed {"raw_longitude":756554432,"raw_latitude":119646472,"longitude_deg":75.6554432,"latitude_deg":11.9646472,"altitude":75,"angle":34,"satellites":42,"speed":0,"hex_longitude":"2d181ac0","hex_latitude":"0721a908","is_valid_coordinates":true} 
[2026-08-28 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-28 21:24:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710678272001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:24:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16242075959820288,"note":"Value kept but may cause issues"} 
[2026-08-28 21:24:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1735574737026828288,"note":"Value kept but may cause issues"} 
[2026-08-28 21:24:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:24:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787932358000,"timestamp_ms":1787932358000,"timestamp_seconds":1787932358,"priority":1,"record_length":96,"hex_timestamp":"000001a04912b570"} 
[2026-08-28 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-28 21:24:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 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":45,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-28 21:24:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2043,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 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-28 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-28 21:24:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:24:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:24:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:24:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:24:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.86.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:24:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:24:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:24:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710678272001,"66":12374,"120":206,"28":31744,"24":0,"16":16242075959820288,"45":1735574737026828288},"client_ip":"117.224.86.212","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 21:24:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:24:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:24:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710678272001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:24:52] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 21:24:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:24:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16242075959820288,"km_value":16242075959820.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:24:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1735574737026828288,"description":"Unknown IO ID 45"} 
[2026-08-28 21:24:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710678272001,"power":12374,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1735574737026828288}} 
[2026-08-28 21:24:52] 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":710531,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:24:52] local.INFO: GPS data processed {"connection_id":163785,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:24:52] local.INFO: Acknowledgment sent {"connection_id":163785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:24:56] local.INFO: TCP Data received {"connection_id":166436,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166436,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:24:56] local.INFO: Processing buffer {"connection_id":166436,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:24:56] local.INFO: IMEI packet received {"connection_id":166436,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 21:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":166436,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:25:01] local.INFO: TCP Data received {"connection_id":166436,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166436,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:25:01] local.INFO: Processing buffer {"connection_id":166436,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:25:01] local.INFO: IMEI packet received {"connection_id":166436,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 21:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":166436,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:25:02] local.INFO: TCP Data received {"connection_id":166436,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049101d60012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049101d60012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:25:02] local.INFO: Processing buffer {"connection_id":166436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049101d60012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:25:02] local.INFO: Packet analysis {"connection_id":166436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04910"} 
[2026-08-28 21:25:02] local.INFO: Extracted packet for processing {"connection_id":166436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04910"} 
[2026-08-28 21:25:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710563072001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:25:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:25:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787932188000,"timestamp_ms":1787932188000,"timestamp_seconds":1787932188,"priority":1,"record_length":96,"hex_timestamp":"000001a049101d60"} 
[2026-08-28 21:25:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:25:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:25:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:25:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:25:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":166436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":166436,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":166436,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:25:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710563072001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710563072001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:25:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:25:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:25:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:25:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710563072001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":166436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710532,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:25:02] local.INFO: GPS data processed {"connection_id":166436,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:25:02] local.INFO: Acknowledgment sent {"connection_id":166436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:25:08] local.INFO: TCP Data received {"connection_id":165078,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049122cb8012d34c14006aa4840000d00e629..."} 
[2026-08-28 21:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049122cb8012d34c14006aa4840000d00e629..."} 
[2026-08-28 21:25:08] local.INFO: Processing buffer {"connection_id":165078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049122cb8012d34c14006aa4840000d00e629..."} 
[2026-08-28 21:25:08] local.INFO: Packet analysis {"connection_id":165078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04912"} 
[2026-08-28 21:25:08] local.INFO: Extracted packet for processing {"connection_id":165078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04912"} 
[2026-08-28 21:25:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710597632001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:25:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787932323000,"timestamp_ms":1787932323000,"timestamp_seconds":1787932323,"priority":1,"record_length":96,"hex_timestamp":"000001a049122cb8"} 
[2026-08-28 21:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:25:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 21:25:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:25:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":165078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":165078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":165078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710597632001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710597632001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:25:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:25:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:25: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-28 21:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710597632001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:25:08] 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":710533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:25:08] local.INFO: GPS data processed {"connection_id":165078,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:25:08] local.INFO: Acknowledgment sent {"connection_id":165078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:25:12] local.INFO: TCP Data received {"connection_id":164066,"ip":"117.224.86.212","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164066,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:25:12] local.INFO: Processing buffer {"connection_id":164066,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:25:12] local.INFO: IMEI packet received {"connection_id":164066,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 21:25:12] local.INFO: IMEI acknowledgment sent {"connection_id":164066,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:25:14] local.INFO: TCP Data received {"connection_id":164066,"ip":"117.224.86.212","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164066,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:25:14] local.INFO: Processing buffer {"connection_id":164066,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:25:14] local.INFO: IMEI packet received {"connection_id":164066,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 21:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":164066,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:25:19] local.INFO: TCP Data received {"connection_id":164066,"ip":"117.224.86.212","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164066,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:25:19] local.INFO: Processing buffer {"connection_id":164066,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:25:19] local.INFO: IMEI packet received {"connection_id":164066,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 21:25:19] local.INFO: IMEI acknowledgment sent {"connection_id":164066,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:25:21] local.INFO: TCP Data received {"connection_id":164066,"ip":"117.224.86.212","data_length":795,"data_hex":"000000000000030f8e0a000001a049130778012d181ac00721a908004b00222b..."} 
[2026-08-28 21:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049130778012d181ac00721a908004b00222b..."} 
[2026-08-28 21:25:21] local.INFO: Processing buffer {"connection_id":164066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049130778012d181ac00721a908004b00222b..."} 
[2026-08-28 21:25:21] local.INFO: Packet analysis {"connection_id":164066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04913"} 
[2026-08-28 21:25:21] local.INFO: Extracted packet for processing {"connection_id":164066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04913"} 
[2026-08-28 21:25:21] local.INFO: GPS Element Parsed {"raw_longitude":756554432,"raw_latitude":119646472,"longitude_deg":75.6554432,"latitude_deg":11.9646472,"altitude":75,"angle":34,"satellites":43,"speed":0,"hex_longitude":"2d181ac0","hex_latitude":"0721a908","is_valid_coordinates":true} 
[2026-08-28 21:25:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:25:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710683648001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:25:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16242075959820288,"note":"Value kept but may cause issues"} 
[2026-08-28 21:25:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736911743166777344,"note":"Value kept but may cause issues"} 
[2026-08-28 21:25:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:25:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787932379000,"timestamp_ms":1787932379000,"timestamp_seconds":1787932379,"priority":1,"record_length":96,"hex_timestamp":"000001a049130778"} 
[2026-08-28 21:25:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:25:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21:25:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-28 21:25:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:25:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:25:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:25:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:25:21] local.INFO: Teltonika packet parsed successfully {"connection_id":164066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:25:21] local.INFO: Passing IMEI to GPS processor {"connection_id":164066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:25:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":164066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:25:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.86.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:25:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:25:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:25:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710683648001,"66":13439,"120":206,"28":31744,"24":0,"16":16242075959820288,"45":1736911743166777344},"client_ip":"117.224.86.212","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 21:25:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:25:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:25:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710683648001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:25:21] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 21:25:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:25:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16242075959820288,"km_value":16242075959820.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:25:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736911743166777344,"description":"Unknown IO ID 45"} 
[2026-08-28 21:25:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710683648001,"power":13439,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1736911743166777344}} 
[2026-08-28 21:25:21] local.INFO: DEBUG: GPS processor result {"connection_id":164066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710534,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:25:21] local.INFO: GPS data processed {"connection_id":164066,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:25:21] local.INFO: Acknowledgment sent {"connection_id":164066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:25:29] local.INFO: TCP Data received {"connection_id":164067,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:25:29] local.INFO: Processing buffer {"connection_id":164067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:25:29] local.INFO: IMEI packet received {"connection_id":164067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 21:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":164067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:25:35] local.INFO: TCP Data received {"connection_id":166436,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04914b528012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04914b528012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:25:35] local.INFO: Processing buffer {"connection_id":166436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04914b528012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:25:35] local.INFO: Packet analysis {"connection_id":166436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04914"} 
[2026-08-28 21:25:35] local.INFO: Extracted packet for processing {"connection_id":166436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04914"} 
[2026-08-28 21:25:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:25:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710640128001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:25:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:25:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:25:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:25:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787932489000,"timestamp_ms":1787932489000,"timestamp_seconds":1787932489,"priority":1,"record_length":96,"hex_timestamp":"000001a04914b528"} 
[2026-08-28 21:25:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:25:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:25:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:25:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:25:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:25:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:25:35] local.INFO: Teltonika packet parsed successfully {"connection_id":166436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:25:35] local.INFO: Passing IMEI to GPS processor {"connection_id":166436,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:25:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":166436,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:25:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:25:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:25:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:25:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710640128001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:25:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:25:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:25:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710640128001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:25:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:25:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:25:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:25:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:25:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710640128001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:25:35] local.INFO: DEBUG: GPS processor result {"connection_id":166436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710535,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:25:35] local.INFO: GPS data processed {"connection_id":166436,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:25:35] local.INFO: Acknowledgment sent {"connection_id":166436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:25:35] local.INFO: TCP Data received {"connection_id":164067,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:25:35] local.INFO: Processing buffer {"connection_id":164067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:25:35] local.INFO: IMEI packet received {"connection_id":164067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 21:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":164067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:25:37] local.INFO: TCP Data received {"connection_id":164067,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049122cb8012d34c14006aa4840000d00e629..."} 
[2026-08-28 21:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049122cb8012d34c14006aa4840000d00e629..."} 
[2026-08-28 21:25:37] local.INFO: Processing buffer {"connection_id":164067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049122cb8012d34c14006aa4840000d00e629..."} 
[2026-08-28 21:25:37] local.INFO: Packet analysis {"connection_id":164067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04912"} 
[2026-08-28 21:25:37] local.INFO: Extracted packet for processing {"connection_id":164067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04912"} 
[2026-08-28 21:25:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710597632001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787932323000,"timestamp_ms":1787932323000,"timestamp_seconds":1787932323,"priority":1,"record_length":96,"hex_timestamp":"000001a049122cb8"} 
[2026-08-28 21:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 21:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710597632001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710597632001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:25:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:25:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:25: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-28 21:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710597632001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":164067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:25:37] local.INFO: GPS data processed {"connection_id":164067,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:25:37] local.INFO: Acknowledgment sent {"connection_id":164067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:25:52] local.INFO: TCP Data received {"connection_id":164066,"ip":"117.224.86.212","data_length":795,"data_hex":"000000000000030f8e0a000001a049131b00012d181c400721aa98004d00302b..."} 
[2026-08-28 21:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049131b00012d181c400721aa98004d00302b..."} 
[2026-08-28 21:25:52] local.INFO: Processing buffer {"connection_id":164066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049131b00012d181c400721aa98004d00302b..."} 
[2026-08-28 21:25:52] local.INFO: Packet analysis {"connection_id":164066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04913"} 
[2026-08-28 21:25:52] local.INFO: Extracted packet for processing {"connection_id":164066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04913"} 
[2026-08-28 21:25:52] local.INFO: GPS Element Parsed {"raw_longitude":756554816,"raw_latitude":119646872,"longitude_deg":75.6554816,"latitude_deg":11.9646872,"altitude":77,"angle":48,"satellites":43,"speed":6,"hex_longitude":"2d181c40","hex_latitude":"0721aa98","is_valid_coordinates":true} 
[2026-08-28 21: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-28 21:25:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710689024001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:25:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16242101729624064,"note":"Value kept but may cause issues"} 
[2026-08-28 21:25:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736911743166777344,"note":"Value kept but may cause issues"} 
[2026-08-28 21:25:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:25:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787932384000,"timestamp_ms":1787932384000,"timestamp_seconds":1787932384,"priority":1,"record_length":96,"hex_timestamp":"000001a049131b00"} 
[2026-08-28 21: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-28 21:25:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21: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":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-08-28 21:25:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1601,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21: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-28 21: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-28 21:25:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:25:52] local.INFO: Teltonika packet parsed successfully {"connection_id":164066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:25:52] local.INFO: Passing IMEI to GPS processor {"connection_id":164066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:25:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":164066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:25:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.86.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:25:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:25:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:25:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710689024001,"66":13493,"120":206,"28":31744,"24":6,"16":16242101729624064,"45":1736911743166777344},"client_ip":"117.224.86.212","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 21:25:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:25:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:25:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710689024001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:25:52] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 21:25:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:25:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16242101729624064,"km_value":16242101729624.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:25:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736911743166777344,"description":"Unknown IO ID 45"} 
[2026-08-28 21:25:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710689024001,"power":13493,"unknown_120":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1736911743166777344}} 
[2026-08-28 21:25:52] local.INFO: DEBUG: GPS processor result {"connection_id":164066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710537,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:25:52] local.INFO: GPS data processed {"connection_id":164066,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:25:52] local.INFO: Acknowledgment sent {"connection_id":164066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:25:55] local.INFO: TCP Data received {"connection_id":163786,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163786,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:25:55] local.INFO: Processing buffer {"connection_id":163786,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:25:55] local.INFO: IMEI packet received {"connection_id":163786,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 21:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":163786,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:26:01] local.INFO: TCP Data received {"connection_id":163786,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163786,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:26:01] local.INFO: Processing buffer {"connection_id":163786,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:26:01] local.INFO: IMEI packet received {"connection_id":163786,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 21:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":163786,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:26:02] local.INFO: TCP Data received {"connection_id":163786,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04914b528012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04914b528012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:26:02] local.INFO: Processing buffer {"connection_id":163786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04914b528012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:26:02] local.INFO: Packet analysis {"connection_id":163786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04914"} 
[2026-08-28 21:26:02] local.INFO: Extracted packet for processing {"connection_id":163786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04914"} 
[2026-08-28 21:26:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710640128001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:26:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787932489000,"timestamp_ms":1787932489000,"timestamp_seconds":1787932489,"priority":1,"record_length":96,"hex_timestamp":"000001a04914b528"} 
[2026-08-28 21:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:26:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:26:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:26:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163786,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163786,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710640128001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710640128001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:26:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:26:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710640128001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":163786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710538,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:26:02] local.INFO: GPS data processed {"connection_id":163786,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:26:02] local.INFO: Acknowledgment sent {"connection_id":163786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:26:08] local.INFO: TCP Data received {"connection_id":164067,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049122cb8012d34c14006aa4840000d00e629..."} 
[2026-08-28 21:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049122cb8012d34c14006aa4840000d00e629..."} 
[2026-08-28 21:26:08] local.INFO: Processing buffer {"connection_id":164067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049122cb8012d34c14006aa4840000d00e629..."} 
[2026-08-28 21:26:08] local.INFO: Packet analysis {"connection_id":164067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04912"} 
[2026-08-28 21:26:08] local.INFO: Extracted packet for processing {"connection_id":164067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04912"} 
[2026-08-28 21:26:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710597632001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:26:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787932323000,"timestamp_ms":1787932323000,"timestamp_seconds":1787932323,"priority":1,"record_length":96,"hex_timestamp":"000001a049122cb8"} 
[2026-08-28 21:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:26:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 21:26:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:26:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:26:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710597632001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710597632001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:26:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:26:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:26: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-28 21:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710597632001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":164067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:26:08] local.INFO: GPS data processed {"connection_id":164067,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:26:08] local.INFO: Acknowledgment sent {"connection_id":164067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:26:14] local.INFO: TCP Data received {"connection_id":163787,"ip":"117.224.86.212","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:26:14] local.INFO: Processing buffer {"connection_id":163787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:26:14] local.INFO: IMEI packet received {"connection_id":163787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 21:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":163787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:26:15] local.INFO: TCP Data received {"connection_id":163787,"ip":"117.224.86.212","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:26:15] local.INFO: Processing buffer {"connection_id":163787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:26:15] local.INFO: IMEI packet received {"connection_id":163787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 21:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":163787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:26:19] local.INFO: TCP Data received {"connection_id":163787,"ip":"117.224.86.212","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:26:19] local.INFO: Processing buffer {"connection_id":163787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:26:19] local.INFO: IMEI packet received {"connection_id":163787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 21:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":163787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:26:20] local.INFO: TCP Data received {"connection_id":163787,"ip":"117.224.86.212","data_length":795,"data_hex":"000000000000030f8e0a000001a049132e88012d181ec00721ad28004d00132c..."} 
[2026-08-28 21:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049132e88012d181ec00721ad28004d00132c..."} 
[2026-08-28 21:26:20] local.INFO: Processing buffer {"connection_id":163787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049132e88012d181ec00721ad28004d00132c..."} 
[2026-08-28 21:26:20] local.INFO: Packet analysis {"connection_id":163787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04913"} 
[2026-08-28 21:26:20] local.INFO: Extracted packet for processing {"connection_id":163787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04913"} 
[2026-08-28 21:26:20] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119647528,"longitude_deg":75.6555456,"latitude_deg":11.9647528,"altitude":77,"angle":19,"satellites":44,"speed":8,"hex_longitude":"2d181ec0","hex_latitude":"0721ad28","is_valid_coordinates":true} 
[2026-08-28 21:26:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:26:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710690304001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:26:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16242148974264320,"note":"Value kept but may cause issues"} 
[2026-08-28 21:26:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737333955631945728,"note":"Value kept but may cause issues"} 
[2026-08-28 21:26:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:26:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787932389000,"timestamp_ms":1787932389000,"timestamp_seconds":1787932389,"priority":1,"record_length":96,"hex_timestamp":"000001a049132e88"} 
[2026-08-28 21:26:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:26:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21:26:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-28 21:26:20] 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-28 21:26:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:26:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:26:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:26:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:26:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:26:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:26:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.86.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:26:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:26:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:26:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710690304001,"66":13493,"120":206,"28":31744,"24":8,"16":16242148974264320,"45":1737333955631945728},"client_ip":"117.224.86.212","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 21:26:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:26:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:26:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710690304001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:26:20] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 21:26:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:26:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16242148974264320,"km_value":16242148974264.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:26:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737333955631945728,"description":"Unknown IO ID 45"} 
[2026-08-28 21:26:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710690304001,"power":13493,"unknown_120":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1737333955631945728}} 
[2026-08-28 21:26:20] 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":710540,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:26:20] local.INFO: GPS data processed {"connection_id":163787,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:26:20] local.INFO: Acknowledgment sent {"connection_id":163787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:26:34] local.INFO: TCP Data received {"connection_id":163786,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04914b528012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04914b528012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:26:34] local.INFO: Processing buffer {"connection_id":163786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04914b528012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:26:34] local.INFO: Packet analysis {"connection_id":163786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04914"} 
[2026-08-28 21:26:34] local.INFO: Extracted packet for processing {"connection_id":163786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04914"} 
[2026-08-28 21:26:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:26:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710640128001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:26:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:26:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:26:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:26:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787932489000,"timestamp_ms":1787932489000,"timestamp_seconds":1787932489,"priority":1,"record_length":96,"hex_timestamp":"000001a04914b528"} 
[2026-08-28 21:26:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:26:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:26:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:26:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:26:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:26:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:26:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:26:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163786,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:26:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163786,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:26:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:26:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:26:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:26:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710640128001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:26:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:26:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:26:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710640128001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:26:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:26:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:26:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:26:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:26:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710640128001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:26:34] local.INFO: DEBUG: GPS processor result {"connection_id":163786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710541,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:26:34] local.INFO: GPS data processed {"connection_id":163786,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:26:34] local.INFO: Acknowledgment sent {"connection_id":163786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:26:35] local.INFO: TCP Data received {"connection_id":163788,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:26:35] local.INFO: Processing buffer {"connection_id":163788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:26:35] local.INFO: IMEI packet received {"connection_id":163788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 21:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":163788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:26:40] local.INFO: TCP Data received {"connection_id":163788,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:26:40] local.INFO: Processing buffer {"connection_id":163788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:26:40] local.INFO: IMEI packet received {"connection_id":163788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 21:26:40] local.INFO: IMEI acknowledgment sent {"connection_id":163788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:26:41] local.INFO: TCP Data received {"connection_id":163788,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049122cb8012d34c14006aa4840000d00e629..."} 
[2026-08-28 21:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049122cb8012d34c14006aa4840000d00e629..."} 
[2026-08-28 21:26:41] local.INFO: Processing buffer {"connection_id":163788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049122cb8012d34c14006aa4840000d00e629..."} 
[2026-08-28 21:26:41] local.INFO: Packet analysis {"connection_id":163788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04912"} 
[2026-08-28 21:26:41] local.INFO: Extracted packet for processing {"connection_id":163788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04912"} 
[2026-08-28 21:26:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710597632001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:26:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:26:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787932323000,"timestamp_ms":1787932323000,"timestamp_seconds":1787932323,"priority":1,"record_length":96,"hex_timestamp":"000001a049122cb8"} 
[2026-08-28 21:26:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:26:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 21:26: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-28 21:26:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:26:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":163788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":163788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":163788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:26:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710597632001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710597632001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:26:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:26:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21: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-28 21:26:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710597632001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:26:41] 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":710542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:26:41] local.INFO: GPS data processed {"connection_id":163788,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:26:41] local.INFO: Acknowledgment sent {"connection_id":163788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:26:45] local.INFO: TCP Data received {"connection_id":163788,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049122cb8012d34c14006aa4840000d00e629..."} 
[2026-08-28 21:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049122cb8012d34c14006aa4840000d00e629..."} 
[2026-08-28 21:26:45] local.INFO: Processing buffer {"connection_id":163788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049122cb8012d34c14006aa4840000d00e629..."} 
[2026-08-28 21:26:45] local.INFO: Packet analysis {"connection_id":163788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04912"} 
[2026-08-28 21:26:45] local.INFO: Extracted packet for processing {"connection_id":163788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04912"} 
[2026-08-28 21:26:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21: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-28 21:26:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710597632001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:26:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:26:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:26:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:26:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787932323000,"timestamp_ms":1787932323000,"timestamp_seconds":1787932323,"priority":1,"record_length":96,"hex_timestamp":"000001a049122cb8"} 
[2026-08-28 21: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-28 21:26:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 21:26: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-28 21: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-28 21: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-28 21:26:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:26:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:26:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:26:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:26:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:26:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:26:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:26:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710597632001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:26:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:26:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:26:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710597632001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:26:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:26:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21: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-28 21:26:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:26:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710597632001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:26:46] 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":710543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:26:46] local.INFO: GPS data processed {"connection_id":163788,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:26:46] local.INFO: Acknowledgment sent {"connection_id":163788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:26:52] local.INFO: TCP Data received {"connection_id":163787,"ip":"117.224.86.212","data_length":795,"data_hex":"000000000000030f8e0a000001a049133270012d181ec00721ae00004d01652c..."} 
[2026-08-28 21:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049133270012d181ec00721ae00004d01652c..."} 
[2026-08-28 21:26:52] local.INFO: Processing buffer {"connection_id":163787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049133270012d181ec00721ae00004d01652c..."} 
[2026-08-28 21:26:52] local.INFO: Packet analysis {"connection_id":163787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04913"} 
[2026-08-28 21:26:52] local.INFO: Extracted packet for processing {"connection_id":163787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04913"} 
[2026-08-28 21:26:52] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119647744,"longitude_deg":75.6555456,"latitude_deg":11.9647744,"altitude":77,"angle":357,"satellites":44,"speed":7,"hex_longitude":"2d181ec0","hex_latitude":"0721ae00","is_valid_coordinates":true} 
[2026-08-28 21: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-28 21:26:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710691584001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:26:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16242157564198912,"note":"Value kept but may cause issues"} 
[2026-08-28 21:26:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643073890304,"note":"Value kept but may cause issues"} 
[2026-08-28 21:26:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:26:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787932390000,"timestamp_ms":1787932390000,"timestamp_seconds":1787932390,"priority":1,"record_length":96,"hex_timestamp":"000001a049133270"} 
[2026-08-28 21: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-28 21:26:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-28 21:26:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21: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-28 21: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-28 21:26:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:26:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:26:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:26:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:26:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.86.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:26:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:26:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:26:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710691584001,"66":13493,"120":206,"28":31744,"24":7,"16":16242157564198912,"45":1738037643073890304},"client_ip":"117.224.86.212","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 21:26:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:26:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:26:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710691584001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:26:52] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 21:26:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:26:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16242157564198912,"km_value":16242157564198.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:26:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643073890304,"description":"Unknown IO ID 45"} 
[2026-08-28 21:26:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710691584001,"power":13493,"unknown_120":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1738037643073890304}} 
[2026-08-28 21:26:52] 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":710544,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:26:52] local.INFO: GPS data processed {"connection_id":163787,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:26:52] local.INFO: Acknowledgment sent {"connection_id":163787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:26:56] local.INFO: TCP Data received {"connection_id":166437,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166437,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:26:56] local.INFO: Processing buffer {"connection_id":166437,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:26:56] local.INFO: IMEI packet received {"connection_id":166437,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 21:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":166437,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:27:01] local.INFO: TCP Data received {"connection_id":166437,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166437,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:27:01] local.INFO: Processing buffer {"connection_id":166437,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:27:01] local.INFO: IMEI packet received {"connection_id":166437,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 21:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":166437,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:27:02] local.INFO: TCP Data received {"connection_id":166437,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04914b528012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04914b528012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:27:02] local.INFO: Processing buffer {"connection_id":166437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04914b528012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:27:02] local.INFO: Packet analysis {"connection_id":166437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04914"} 
[2026-08-28 21:27:02] local.INFO: Extracted packet for processing {"connection_id":166437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04914"} 
[2026-08-28 21:27:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:27:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710640128001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:27:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:27:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:27:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:27:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787932489000,"timestamp_ms":1787932489000,"timestamp_seconds":1787932489,"priority":1,"record_length":96,"hex_timestamp":"000001a04914b528"} 
[2026-08-28 21:27:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:27:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:27:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:27:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:27:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:27:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:27:02] local.INFO: Teltonika packet parsed successfully {"connection_id":166437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:27:02] local.INFO: Passing IMEI to GPS processor {"connection_id":166437,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:27:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":166437,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:27:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:27:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:27:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:27:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710640128001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:27:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:27:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:27:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710640128001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:27:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:27:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:27:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:27:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:27:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710640128001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:27:02] local.INFO: DEBUG: GPS processor result {"connection_id":166437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710545,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:27:02] local.INFO: GPS data processed {"connection_id":166437,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:27:02] local.INFO: Acknowledgment sent {"connection_id":166437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:27:14] local.INFO: TCP Data received {"connection_id":163789,"ip":"117.224.86.212","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:27:14] local.INFO: Processing buffer {"connection_id":163789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:27:14] local.INFO: IMEI packet received {"connection_id":163789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 21:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":163789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:27:18] local.INFO: TCP Data received {"connection_id":163789,"ip":"117.224.86.212","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:27:18] local.INFO: Processing buffer {"connection_id":163789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:27:18] local.INFO: IMEI packet received {"connection_id":163789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 21:27:18] local.INFO: IMEI acknowledgment sent {"connection_id":163789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:27:19] local.INFO: TCP Data received {"connection_id":163789,"ip":"117.224.86.212","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:27:19] local.INFO: Processing buffer {"connection_id":163789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:27:19] local.INFO: IMEI packet received {"connection_id":163789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 21:27:19] local.INFO: IMEI acknowledgment sent {"connection_id":163789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:27:20] local.INFO: TCP Data received {"connection_id":163789,"ip":"117.224.86.212","data_length":795,"data_hex":"000000000000030f8e0a000001a049138478012d181e800721aef8004d01652c..."} 
[2026-08-28 21:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049138478012d181e800721aef8004d01652c..."} 
[2026-08-28 21:27:20] local.INFO: Processing buffer {"connection_id":163789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049138478012d181e800721aef8004d01652c..."} 
[2026-08-28 21:27:20] local.INFO: Packet analysis {"connection_id":163789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04913"} 
[2026-08-28 21:27:20] local.INFO: Extracted packet for processing {"connection_id":163789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04913"} 
[2026-08-28 21:27:20] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119647992,"longitude_deg":75.6555392,"latitude_deg":11.9647992,"altitude":77,"angle":357,"satellites":44,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721aef8","is_valid_coordinates":true} 
[2026-08-28 21:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:27:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710691840001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:27:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16242170449100800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:27:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643073945600,"note":"Value kept but may cause issues"} 
[2026-08-28 21:27:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:27:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787932411000,"timestamp_ms":1787932411000,"timestamp_seconds":1787932411,"priority":1,"record_length":96,"hex_timestamp":"000001a049138478"} 
[2026-08-28 21:27:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:27:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-28 21:27:20] 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-28 21:27:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:27:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:27:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:27:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:27:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:27:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:27:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.86.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:27:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:27:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:27:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710691840001,"66":13537,"120":206,"28":31744,"24":0,"16":16242170449100800,"45":1738037643073945600},"client_ip":"117.224.86.212","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 21:27:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:27:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:27:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710691840001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:27:20] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 21:27:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:27:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16242170449100800,"km_value":16242170449100.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:27:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643073945600,"description":"Unknown IO ID 45"} 
[2026-08-28 21:27:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710691840001,"power":13537,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643073945600}} 
[2026-08-28 21:27:20] 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":710546,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:27:20] local.INFO: GPS data processed {"connection_id":163789,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:27:20] local.INFO: Acknowledgment sent {"connection_id":163789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:27:25] local.INFO: TCP Data received {"connection_id":163789,"ip":"117.224.86.212","data_length":795,"data_hex":"000000000000030f8e0a000001a04913d680012d181e800721aef8004d01652d..."} 
[2026-08-28 21:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04913d680012d181e800721aef8004d01652d..."} 
[2026-08-28 21:27:25] local.INFO: Processing buffer {"connection_id":163789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04913d680012d181e800721aef8004d01652d..."} 
[2026-08-28 21:27:25] local.INFO: Packet analysis {"connection_id":163789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04913"} 
[2026-08-28 21:27:25] local.INFO: Extracted packet for processing {"connection_id":163789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04913"} 
[2026-08-28 21:27:25] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119647992,"longitude_deg":75.6555392,"latitude_deg":11.9647992,"altitude":77,"angle":357,"satellites":45,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721aef8","is_valid_coordinates":true} 
[2026-08-28 21:27:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:27:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710697216001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:27:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16242170449100800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:27:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329831424,"note":"Value kept but may cause issues"} 
[2026-08-28 21:27:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:27:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787932432000,"timestamp_ms":1787932432000,"timestamp_seconds":1787932432,"priority":1,"record_length":96,"hex_timestamp":"000001a04913d680"} 
[2026-08-28 21:27:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:27:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21:27:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-08-28 21:27:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:27:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:27:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:27:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:27:25] local.INFO: Teltonika packet parsed successfully {"connection_id":163789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:27:25] local.INFO: Passing IMEI to GPS processor {"connection_id":163789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:27:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":163789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:27:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.86.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:27:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:27:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:27:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710697216001,"66":13906,"120":206,"28":31744,"24":0,"16":16242170449100800,"45":1737967274329831424},"client_ip":"117.224.86.212","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 21:27:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:27:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:27:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710697216001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:27:25] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 21:27:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:27:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16242170449100800,"km_value":16242170449100.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:27:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329831424,"description":"Unknown IO ID 45"} 
[2026-08-28 21:27:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710697216001,"power":13906,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737967274329831424}} 
[2026-08-28 21:27:25] 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":710547,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:27:25] local.INFO: GPS data processed {"connection_id":163789,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:27:25] local.INFO: Acknowledgment sent {"connection_id":163789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:27:30] local.INFO: TCP Data received {"connection_id":164068,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:27:30] local.INFO: Processing buffer {"connection_id":164068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:27:30] local.INFO: IMEI packet received {"connection_id":164068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 21:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":164068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:27:34] local.INFO: TCP Data received {"connection_id":166437,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04914b528012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04914b528012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:27:34] local.INFO: Processing buffer {"connection_id":166437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04914b528012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:27:34] local.INFO: Packet analysis {"connection_id":166437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04914"} 
[2026-08-28 21:27:34] local.INFO: Extracted packet for processing {"connection_id":166437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04914"} 
[2026-08-28 21:27:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:27:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710640128001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:27:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:27:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:27:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:27:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787932489000,"timestamp_ms":1787932489000,"timestamp_seconds":1787932489,"priority":1,"record_length":96,"hex_timestamp":"000001a04914b528"} 
[2026-08-28 21:27:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:27:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:27:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:27:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:27:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:27:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:27:34] local.INFO: Teltonika packet parsed successfully {"connection_id":166437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:27:34] local.INFO: Passing IMEI to GPS processor {"connection_id":166437,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:27:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":166437,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:27:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:27:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:27:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:27:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710640128001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:27:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:27:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:27:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710640128001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:27:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:27:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:27:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:27:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:27:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710640128001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:27:34] local.INFO: DEBUG: GPS processor result {"connection_id":166437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710548,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:27:34] local.INFO: GPS data processed {"connection_id":166437,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:27:34] local.INFO: Acknowledgment sent {"connection_id":166437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:27:35] local.INFO: TCP Data received {"connection_id":164068,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:27:35] local.INFO: Processing buffer {"connection_id":164068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:27:35] local.INFO: IMEI packet received {"connection_id":164068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 21:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":164068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:27:36] local.INFO: TCP Data received {"connection_id":164068,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049122cb8012d34c14006aa4840000d00e629..."} 
[2026-08-28 21:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049122cb8012d34c14006aa4840000d00e629..."} 
[2026-08-28 21:27:36] local.INFO: Processing buffer {"connection_id":164068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049122cb8012d34c14006aa4840000d00e629..."} 
[2026-08-28 21:27:36] local.INFO: Packet analysis {"connection_id":164068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04912"} 
[2026-08-28 21:27:36] local.INFO: Extracted packet for processing {"connection_id":164068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04912"} 
[2026-08-28 21:27:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710597632001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787932323000,"timestamp_ms":1787932323000,"timestamp_seconds":1787932323,"priority":1,"record_length":96,"hex_timestamp":"000001a049122cb8"} 
[2026-08-28 21:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 21:27:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:27:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":164068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":164068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":164068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710597632001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710597632001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:27:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:27:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710597632001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":164068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:27:36] local.INFO: GPS data processed {"connection_id":164068,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:27:36] local.INFO: Acknowledgment sent {"connection_id":164068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:27:55] local.INFO: TCP Data received {"connection_id":165079,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165079,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:27:55] local.INFO: Processing buffer {"connection_id":165079,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:27:55] local.INFO: IMEI packet received {"connection_id":165079,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 21:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":165079,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:27:56] local.INFO: TCP Data received {"connection_id":163789,"ip":"117.224.86.212","data_length":795,"data_hex":"000000000000030f8e0a000001a049142888012d181e800721aef8004d01652c..."} 
[2026-08-28 21:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049142888012d181e800721aef8004d01652c..."} 
[2026-08-28 21:27:56] local.INFO: Processing buffer {"connection_id":163789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049142888012d181e800721aef8004d01652c..."} 
[2026-08-28 21:27:56] local.INFO: Packet analysis {"connection_id":163789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04914"} 
[2026-08-28 21:27:56] local.INFO: Extracted packet for processing {"connection_id":163789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04914"} 
[2026-08-28 21:27:56] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119647992,"longitude_deg":75.6555392,"latitude_deg":11.9647992,"altitude":77,"angle":357,"satellites":44,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721aef8","is_valid_coordinates":true} 
[2026-08-28 21:27:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:27:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710702592001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:27:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16242170449100800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:27:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329831424,"note":"Value kept but may cause issues"} 
[2026-08-28 21:27:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:27:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787932453000,"timestamp_ms":1787932453000,"timestamp_seconds":1787932453,"priority":1,"record_length":96,"hex_timestamp":"000001a049142888"} 
[2026-08-28 21:27:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:27:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21:27:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-08-28 21:27:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:27:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:27:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:27:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:27:56] local.INFO: Teltonika packet parsed successfully {"connection_id":163789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:27:56] local.INFO: Passing IMEI to GPS processor {"connection_id":163789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:27:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":163789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:27:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.86.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:27:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:27:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:27:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710702592001,"66":12972,"120":206,"28":31744,"24":0,"16":16242170449100800,"45":1737967274329831424},"client_ip":"117.224.86.212","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 21:27:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:27:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:27:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710702592001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:27:56] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 21:27:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:27:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16242170449100800,"km_value":16242170449100.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:27:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329831424,"description":"Unknown IO ID 45"} 
[2026-08-28 21:27:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710702592001,"power":12972,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737967274329831424}} 
[2026-08-28 21:27:57] 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":710550,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:27:57] local.INFO: GPS data processed {"connection_id":163789,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:27:57] local.INFO: Acknowledgment sent {"connection_id":163789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:28:01] local.INFO: TCP Data received {"connection_id":165079,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165079,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:28:01] local.INFO: Processing buffer {"connection_id":165079,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:28:01] local.INFO: IMEI packet received {"connection_id":165079,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 21:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":165079,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:28:02] local.INFO: TCP Data received {"connection_id":165079,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04914b528012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04914b528012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:28:02] local.INFO: Processing buffer {"connection_id":165079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04914b528012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:28:02] local.INFO: Packet analysis {"connection_id":165079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04914"} 
[2026-08-28 21:28:02] local.INFO: Extracted packet for processing {"connection_id":165079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04914"} 
[2026-08-28 21:28:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710640128001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:28:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:28:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787932489000,"timestamp_ms":1787932489000,"timestamp_seconds":1787932489,"priority":1,"record_length":96,"hex_timestamp":"000001a04914b528"} 
[2026-08-28 21:28:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:28:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:28:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:28:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:28:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":165079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":165079,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":165079,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:28:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710640128001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710640128001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:28:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:28:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:28:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:28:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:28:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710640128001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:28:02] 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":710551,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:28:02] local.INFO: GPS data processed {"connection_id":165079,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:28:02] local.INFO: Acknowledgment sent {"connection_id":165079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:28:09] local.INFO: TCP Data received {"connection_id":164068,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04916c098012d34c14006aa4840000a00e62b..."} 
[2026-08-28 21:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04916c098012d34c14006aa4840000a00e62b..."} 
[2026-08-28 21:28:09] local.INFO: Processing buffer {"connection_id":164068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04916c098012d34c14006aa4840000a00e62b..."} 
[2026-08-28 21:28:09] local.INFO: Packet analysis {"connection_id":164068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04916"} 
[2026-08-28 21:28:09] local.INFO: Extracted packet for processing {"connection_id":164068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04916"} 
[2026-08-28 21:28:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710674688001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787932623000,"timestamp_ms":1787932623000,"timestamp_seconds":1787932623,"priority":1,"record_length":96,"hex_timestamp":"000001a04916c098"} 
[2026-08-28 21:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 21:28:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:28:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:28:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710674688001,"66":25299,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710674688001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:28:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:28:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:28: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-28 21:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710674688001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":164068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:28:09] local.INFO: GPS data processed {"connection_id":164068,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:28:09] local.INFO: Acknowledgment sent {"connection_id":164068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:28:19] local.INFO: TCP Data received {"connection_id":163790,"ip":"117.224.86.212","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:28:19] local.INFO: Processing buffer {"connection_id":163790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:28:19] local.INFO: IMEI packet received {"connection_id":163790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 21:28:19] local.INFO: IMEI acknowledgment sent {"connection_id":163790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:28:21] local.INFO: TCP Data received {"connection_id":163790,"ip":"117.224.86.212","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:28:21] local.INFO: Processing buffer {"connection_id":163790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:28:21] local.INFO: IMEI packet received {"connection_id":163790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 21:28:21] local.INFO: IMEI acknowledgment sent {"connection_id":163790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:28:22] local.INFO: TCP Data received {"connection_id":163790,"ip":"117.224.86.212","data_length":795,"data_hex":"000000000000030f8e0a000001a049147a90012d181d400721abb8004d01652c..."} 
[2026-08-28 21:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049147a90012d181d400721abb8004d01652c..."} 
[2026-08-28 21:28:22] local.INFO: Processing buffer {"connection_id":163790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049147a90012d181d400721abb8004d01652c..."} 
[2026-08-28 21:28:22] local.INFO: Packet analysis {"connection_id":163790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04914"} 
[2026-08-28 21:28:22] local.INFO: Extracted packet for processing {"connection_id":163790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04914"} 
[2026-08-28 21:28:22] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647160,"longitude_deg":75.6555072,"latitude_deg":11.964716,"altitude":77,"angle":357,"satellites":44,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721abb8","is_valid_coordinates":true} 
[2026-08-28 21:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:28:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710707968001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:28:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16242217693741056,"note":"Value kept but may cause issues"} 
[2026-08-28 21:28:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329831424,"note":"Value kept but may cause issues"} 
[2026-08-28 21:28:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:28:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787932474000,"timestamp_ms":1787932474000,"timestamp_seconds":1787932474,"priority":1,"record_length":96,"hex_timestamp":"000001a049147a90"} 
[2026-08-28 21:28:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:28:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-28 21:28:22] 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-28 21:28:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:28:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:28:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:28:22] local.INFO: Teltonika packet parsed successfully {"connection_id":163790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:28:22] local.INFO: Passing IMEI to GPS processor {"connection_id":163790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:28:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":163790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:28:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.86.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:28:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:28:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:28:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710707968001,"66":13004,"120":206,"28":31744,"24":0,"16":16242217693741056,"45":1737967274329831424},"client_ip":"117.224.86.212","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 21:28:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:28:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:28:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710707968001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:28:22] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 21:28:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:28:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16242217693741056,"km_value":16242217693741.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:28:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329831424,"description":"Unknown IO ID 45"} 
[2026-08-28 21:28:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710707968001,"power":13004,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737967274329831424}} 
[2026-08-28 21:28:22] 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":710553,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:28:22] local.INFO: GPS data processed {"connection_id":163790,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:28:22] local.INFO: Acknowledgment sent {"connection_id":163790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:28:24] local.INFO: TCP Data received {"connection_id":163790,"ip":"117.224.86.212","data_length":795,"data_hex":"000000000000030f8e0a000001a04914cc98012d181d400721abb8004d01652c..."} 
[2026-08-28 21:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04914cc98012d181d400721abb8004d01652c..."} 
[2026-08-28 21:28:24] local.INFO: Processing buffer {"connection_id":163790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04914cc98012d181d400721abb8004d01652c..."} 
[2026-08-28 21:28:24] local.INFO: Packet analysis {"connection_id":163790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04914"} 
[2026-08-28 21:28:24] local.INFO: Extracted packet for processing {"connection_id":163790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04914"} 
[2026-08-28 21:28:24] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647160,"longitude_deg":75.6555072,"latitude_deg":11.964716,"altitude":77,"angle":357,"satellites":44,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721abb8","is_valid_coordinates":true} 
[2026-08-28 21:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:28:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710713344001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:28:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16242217693741056,"note":"Value kept but may cause issues"} 
[2026-08-28 21:28:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608730112,"note":"Value kept but may cause issues"} 
[2026-08-28 21:28:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:28:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787932495000,"timestamp_ms":1787932495000,"timestamp_seconds":1787932495,"priority":1,"record_length":96,"hex_timestamp":"000001a04914cc98"} 
[2026-08-28 21:28:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:28:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-28 21:28:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:28:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:28:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:28:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:28:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:28:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:28:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:28:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.86.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:28:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:28:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:28:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710713344001,"66":13004,"120":206,"28":31744,"24":0,"16":16242217693741056,"45":1737615430608730112},"client_ip":"117.224.86.212","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 21:28:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:28:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:28:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710713344001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:28:24] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 21:28:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:28:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16242217693741056,"km_value":16242217693741.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:28:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608730112,"description":"Unknown IO ID 45"} 
[2026-08-28 21:28:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710713344001,"power":13004,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608730112}} 
[2026-08-28 21:28:24] 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":710554,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:28:24] local.INFO: GPS data processed {"connection_id":163790,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:28:24] local.INFO: Acknowledgment sent {"connection_id":163790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:28:29] local.INFO: TCP Data received {"connection_id":164069,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:28:29] local.INFO: Processing buffer {"connection_id":164069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:28:29] local.INFO: IMEI packet received {"connection_id":164069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 21:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":164069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:28:34] local.INFO: TCP Data received {"connection_id":165079,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04914b528012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04914b528012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:28:34] local.INFO: Processing buffer {"connection_id":165079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04914b528012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:28:34] local.INFO: Packet analysis {"connection_id":165079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04914"} 
[2026-08-28 21:28:34] local.INFO: Extracted packet for processing {"connection_id":165079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04914"} 
[2026-08-28 21:28:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710640128001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:28:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787932489000,"timestamp_ms":1787932489000,"timestamp_seconds":1787932489,"priority":1,"record_length":96,"hex_timestamp":"000001a04914b528"} 
[2026-08-28 21:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:28:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:28:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:28:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":165079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":165079,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":165079,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:28:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710640128001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710640128001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:28:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:28:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:28:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710640128001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:28:34] 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":710555,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:28:34] local.INFO: GPS data processed {"connection_id":165079,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:28:34] local.INFO: Acknowledgment sent {"connection_id":165079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:28:35] local.INFO: TCP Data received {"connection_id":164069,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:28:35] local.INFO: Processing buffer {"connection_id":164069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:28:35] local.INFO: IMEI packet received {"connection_id":164069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 21:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":164069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:28:37] local.INFO: TCP Data received {"connection_id":164069,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04916c098012d34c14006aa4840000a00e62b..."} 
[2026-08-28 21:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04916c098012d34c14006aa4840000a00e62b..."} 
[2026-08-28 21:28:37] local.INFO: Processing buffer {"connection_id":164069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04916c098012d34c14006aa4840000a00e62b..."} 
[2026-08-28 21:28:37] local.INFO: Packet analysis {"connection_id":164069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04916"} 
[2026-08-28 21:28:37] local.INFO: Extracted packet for processing {"connection_id":164069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04916"} 
[2026-08-28 21:28:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710674688001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787932623000,"timestamp_ms":1787932623000,"timestamp_seconds":1787932623,"priority":1,"record_length":96,"hex_timestamp":"000001a04916c098"} 
[2026-08-28 21:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:28:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 21:28:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:28:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710674688001,"66":25299,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710674688001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:28:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:28:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:28: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-28 21:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710674688001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":164069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:28:37] local.INFO: GPS data processed {"connection_id":164069,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:28:37] local.INFO: Acknowledgment sent {"connection_id":164069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:28:56] local.INFO: TCP Data received {"connection_id":163790,"ip":"117.224.86.212","data_length":795,"data_hex":"000000000000030f8e0a000001a049151ea0012d181d400721abb8004d01652c..."} 
[2026-08-28 21:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049151ea0012d181d400721abb8004d01652c..."} 
[2026-08-28 21:28:56] local.INFO: Processing buffer {"connection_id":163790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049151ea0012d181d400721abb8004d01652c..."} 
[2026-08-28 21:28:56] local.INFO: Packet analysis {"connection_id":163790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04915"} 
[2026-08-28 21:28:56] local.INFO: Extracted packet for processing {"connection_id":163790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04915"} 
[2026-08-28 21:28:56] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647160,"longitude_deg":75.6555072,"latitude_deg":11.964716,"altitude":77,"angle":357,"satellites":44,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721abb8","is_valid_coordinates":true} 
[2026-08-28 21:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:28:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710718720001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:28:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16242217693741056,"note":"Value kept but may cause issues"} 
[2026-08-28 21:28:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608730112,"note":"Value kept but may cause issues"} 
[2026-08-28 21:28:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:28:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787932516000,"timestamp_ms":1787932516000,"timestamp_seconds":1787932516,"priority":1,"record_length":96,"hex_timestamp":"000001a049151ea0"} 
[2026-08-28 21:28:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:28:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-28 21:28:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:28:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:28:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:28:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:28:56] local.INFO: Teltonika packet parsed successfully {"connection_id":163790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:28:56] local.INFO: Passing IMEI to GPS processor {"connection_id":163790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:28:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":163790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:28:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.86.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:28:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:28:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:28:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710718720001,"66":12841,"120":206,"28":31744,"24":0,"16":16242217693741056,"45":1737615430608730112},"client_ip":"117.224.86.212","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 21:28:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:28:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:28:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710718720001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:28:56] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 21:28:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:28:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16242217693741056,"km_value":16242217693741.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:28:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608730112,"description":"Unknown IO ID 45"} 
[2026-08-28 21:28:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710718720001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608730112}} 
[2026-08-28 21:28:56] 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":710557,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:28:56] local.INFO: GPS data processed {"connection_id":163790,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:28:56] local.INFO: Acknowledgment sent {"connection_id":163790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:29:01] local.INFO: TCP Data received {"connection_id":163791,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163791,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:29:01] local.INFO: Processing buffer {"connection_id":163791,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:29:01] local.INFO: IMEI packet received {"connection_id":163791,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 21:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":163791,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:29:06] local.INFO: TCP Data received {"connection_id":163791,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163791,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:29:06] local.INFO: Processing buffer {"connection_id":163791,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:29:06] local.INFO: IMEI packet received {"connection_id":163791,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 21:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":163791,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:29:08] local.INFO: TCP Data received {"connection_id":163791,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04914b528012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04914b528012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:29:08] local.INFO: Processing buffer {"connection_id":163791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04914b528012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:29:08] local.INFO: Packet analysis {"connection_id":163791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04914"} 
[2026-08-28 21:29:08] local.INFO: Extracted packet for processing {"connection_id":163791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04914"} 
[2026-08-28 21:29:08] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710640128001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:29:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787932489000,"timestamp_ms":1787932489000,"timestamp_seconds":1787932489,"priority":1,"record_length":96,"hex_timestamp":"000001a04914b528"} 
[2026-08-28 21:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:29:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:29:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:29:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163791,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163791,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710640128001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710640128001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:29:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:29:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710640128001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:29:08] 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":710558,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:29:08] local.INFO: GPS data processed {"connection_id":163791,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:29:08] local.INFO: Acknowledgment sent {"connection_id":163791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:29:12] local.INFO: TCP Data received {"connection_id":163791,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04914b528012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04914b528012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:29:12] local.INFO: Processing buffer {"connection_id":163791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04914b528012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:29:12] local.INFO: Packet analysis {"connection_id":163791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04914"} 
[2026-08-28 21:29:12] local.INFO: Extracted packet for processing {"connection_id":163791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04914"} 
[2026-08-28 21:29:12] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:29:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710640128001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:29:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:29:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:29:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:29:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787932489000,"timestamp_ms":1787932489000,"timestamp_seconds":1787932489,"priority":1,"record_length":96,"hex_timestamp":"000001a04914b528"} 
[2026-08-28 21:29:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:29:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:29:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:29:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:29:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:29:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:29:12] local.INFO: Teltonika packet parsed successfully {"connection_id":163791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:29:12] local.INFO: Passing IMEI to GPS processor {"connection_id":163791,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:29:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":163791,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:29:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:29:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:29:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:29:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710640128001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:29:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:29:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:29:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710640128001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:29:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:29:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:29:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:29:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:29:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710640128001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:29:12] 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":710559,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:29:12] local.INFO: GPS data processed {"connection_id":163791,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:29:12] local.INFO: Acknowledgment sent {"connection_id":163791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:29:14] local.INFO: TCP Data received {"connection_id":164069,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04916c098012d34c14006aa4840000a00e62b..."} 
[2026-08-28 21:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04916c098012d34c14006aa4840000a00e62b..."} 
[2026-08-28 21:29:14] local.INFO: Processing buffer {"connection_id":164069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04916c098012d34c14006aa4840000a00e62b..."} 
[2026-08-28 21:29:14] local.INFO: Packet analysis {"connection_id":164069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04916"} 
[2026-08-28 21:29:14] local.INFO: Extracted packet for processing {"connection_id":164069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04916"} 
[2026-08-28 21:29:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21: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-28 21:29:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710674688001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:29:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:29:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:29:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:29:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787932623000,"timestamp_ms":1787932623000,"timestamp_seconds":1787932623,"priority":1,"record_length":96,"hex_timestamp":"000001a04916c098"} 
[2026-08-28 21: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-28 21:29:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 21:29: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-28 21: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-28 21: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-28 21:29:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:29:14] local.INFO: Teltonika packet parsed successfully {"connection_id":164069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:29:14] local.INFO: Passing IMEI to GPS processor {"connection_id":164069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:29:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":164069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:29:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:29:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:29:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:29:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710674688001,"66":25299,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:29:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:29:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:29:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710674688001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:29:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:29:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21: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-28 21:29:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:29:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710674688001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:29:14] local.INFO: DEBUG: GPS processor result {"connection_id":164069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:29:14] local.INFO: GPS data processed {"connection_id":164069,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:29:14] local.INFO: Acknowledgment sent {"connection_id":164069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:29:14] local.INFO: TCP Data received {"connection_id":163792,"ip":"117.224.86.212","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163792,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:29:14] local.INFO: Processing buffer {"connection_id":163792,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:29:14] local.INFO: IMEI packet received {"connection_id":163792,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 21:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":163792,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:29:19] local.INFO: TCP Data received {"connection_id":163792,"ip":"117.224.86.212","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163792,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:29:19] local.INFO: Processing buffer {"connection_id":163792,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:29:19] local.INFO: IMEI packet received {"connection_id":163792,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 21:29:19] local.INFO: IMEI acknowledgment sent {"connection_id":163792,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:29:21] local.INFO: TCP Data received {"connection_id":163792,"ip":"117.224.86.212","data_length":795,"data_hex":"000000000000030f8e0a000001a0491570a8012d181d400721abb8004d01652b..."} 
[2026-08-28 21:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0491570a8012d181d400721abb8004d01652b..."} 
[2026-08-28 21:29:21] local.INFO: Processing buffer {"connection_id":163792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0491570a8012d181d400721abb8004d01652b..."} 
[2026-08-28 21:29:21] local.INFO: Packet analysis {"connection_id":163792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04915"} 
[2026-08-28 21:29:21] local.INFO: Extracted packet for processing {"connection_id":163792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04915"} 
[2026-08-28 21:29:21] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647160,"longitude_deg":75.6555072,"latitude_deg":11.964716,"altitude":77,"angle":357,"satellites":43,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721abb8","is_valid_coordinates":true} 
[2026-08-28 21:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:29:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710724096001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:29:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16242217693741056,"note":"Value kept but may cause issues"} 
[2026-08-28 21:29:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608730112,"note":"Value kept but may cause issues"} 
[2026-08-28 21:29:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:29:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787932537000,"timestamp_ms":1787932537000,"timestamp_seconds":1787932537,"priority":1,"record_length":96,"hex_timestamp":"000001a0491570a8"} 
[2026-08-28 21:29:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:29:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-28 21:29:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:29:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:29:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:29:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:29:21] local.INFO: Teltonika packet parsed successfully {"connection_id":163792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:29:21] local.INFO: Passing IMEI to GPS processor {"connection_id":163792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:29:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":163792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:29:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.86.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:29:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:29:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:29:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710724096001,"66":12939,"120":206,"28":31744,"24":0,"16":16242217693741056,"45":1737615430608730112},"client_ip":"117.224.86.212","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 21:29:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:29:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:29:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710724096001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:29:21] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 21:29:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:29:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16242217693741056,"km_value":16242217693741.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:29:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608730112,"description":"Unknown IO ID 45"} 
[2026-08-28 21:29:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710724096001,"power":12939,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608730112}} 
[2026-08-28 21:29:21] 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":710561,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:29:21] local.INFO: GPS data processed {"connection_id":163792,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:29:21] local.INFO: Acknowledgment sent {"connection_id":163792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:29:35] local.INFO: TCP Data received {"connection_id":166438,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:29:35] local.INFO: Processing buffer {"connection_id":166438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:29:35] local.INFO: IMEI packet received {"connection_id":166438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 21:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":166438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:29:40] local.INFO: TCP Data received {"connection_id":166438,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:29:40] local.INFO: Processing buffer {"connection_id":166438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:29:40] local.INFO: IMEI packet received {"connection_id":166438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 21:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":166438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:29:41] local.INFO: TCP Data received {"connection_id":166438,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04916c098012d34c14006aa4840000a00e62b..."} 
[2026-08-28 21:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04916c098012d34c14006aa4840000a00e62b..."} 
[2026-08-28 21:29:41] local.INFO: Processing buffer {"connection_id":166438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04916c098012d34c14006aa4840000a00e62b..."} 
[2026-08-28 21:29:41] local.INFO: Packet analysis {"connection_id":166438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04916"} 
[2026-08-28 21:29:41] local.INFO: Extracted packet for processing {"connection_id":166438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04916"} 
[2026-08-28 21:29:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710674688001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:29:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:29:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787932623000,"timestamp_ms":1787932623000,"timestamp_seconds":1787932623,"priority":1,"record_length":96,"hex_timestamp":"000001a04916c098"} 
[2026-08-28 21:29:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:29:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 21:29: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-28 21:29:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:29:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":166438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":166438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":166438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:29:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710674688001,"66":25299,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710674688001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:29:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:29:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:29: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-28 21:29:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710674688001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":166438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:29:41] local.INFO: GPS data processed {"connection_id":166438,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:29:41] local.INFO: Acknowledgment sent {"connection_id":166438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:29:45] local.INFO: TCP Data received {"connection_id":166438,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04916c098012d34c14006aa4840000a00e62b..."} 
[2026-08-28 21:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04916c098012d34c14006aa4840000a00e62b..."} 
[2026-08-28 21:29:45] local.INFO: Processing buffer {"connection_id":166438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04916c098012d34c14006aa4840000a00e62b..."} 
[2026-08-28 21:29:45] local.INFO: Packet analysis {"connection_id":166438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04916"} 
[2026-08-28 21:29:45] local.INFO: Extracted packet for processing {"connection_id":166438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04916"} 
[2026-08-28 21:29:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21: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-28 21:29:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710674688001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:29:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:29:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:29:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:29:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787932623000,"timestamp_ms":1787932623000,"timestamp_seconds":1787932623,"priority":1,"record_length":96,"hex_timestamp":"000001a04916c098"} 
[2026-08-28 21: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-28 21:29:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21: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-28 21: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-28 21: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-28 21: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-28 21:29:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:29:45] local.INFO: Teltonika packet parsed successfully {"connection_id":166438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:29:45] local.INFO: Passing IMEI to GPS processor {"connection_id":166438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:29:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":166438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:29:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:29:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:29:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:29:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710674688001,"66":25299,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:29:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:29:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:29:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710674688001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:29:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:29:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21: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-28 21:29:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:29:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710674688001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:29:45] local.INFO: DEBUG: GPS processor result {"connection_id":166438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:29:45] local.INFO: GPS data processed {"connection_id":166438,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:29:45] local.INFO: Acknowledgment sent {"connection_id":166438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:29:53] local.INFO: TCP Data received {"connection_id":163792,"ip":"117.224.86.212","data_length":795,"data_hex":"000000000000030f8e0a000001a04915c2b0012d181d400721abb8004d01652d..."} 
[2026-08-28 21:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04915c2b0012d181d400721abb8004d01652d..."} 
[2026-08-28 21:29:53] local.INFO: Processing buffer {"connection_id":163792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04915c2b0012d181d400721abb8004d01652d..."} 
[2026-08-28 21:29:53] local.INFO: Packet analysis {"connection_id":163792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04915"} 
[2026-08-28 21:29:53] local.INFO: Extracted packet for processing {"connection_id":163792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04915"} 
[2026-08-28 21:29:53] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647160,"longitude_deg":75.6555072,"latitude_deg":11.964716,"altitude":77,"angle":357,"satellites":45,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721abb8","is_valid_coordinates":true} 
[2026-08-28 21: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-28 21:29:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710729472001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:29:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16242217693741056,"note":"Value kept but may cause issues"} 
[2026-08-28 21:29:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608730112,"note":"Value kept but may cause issues"} 
[2026-08-28 21:29:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:29:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787932558000,"timestamp_ms":1787932558000,"timestamp_seconds":1787932558,"priority":1,"record_length":96,"hex_timestamp":"000001a04915c2b0"} 
[2026-08-28 21: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-28 21:29:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-28 21:29:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21: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-28 21: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-28 21:29:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:29:53] local.INFO: Teltonika packet parsed successfully {"connection_id":163792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:29:53] local.INFO: Passing IMEI to GPS processor {"connection_id":163792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:29:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":163792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:29:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.86.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:29:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:29:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:29:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710729472001,"66":12950,"120":206,"28":31744,"24":0,"16":16242217693741056,"45":1737615430608730112},"client_ip":"117.224.86.212","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 21:29:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:29:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:29:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710729472001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:29:53] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 21:29:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:29:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16242217693741056,"km_value":16242217693741.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:29:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608730112,"description":"Unknown IO ID 45"} 
[2026-08-28 21:29:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710729472001,"power":12950,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608730112}} 
[2026-08-28 21:29:53] 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":710564,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:29:53] local.INFO: GPS data processed {"connection_id":163792,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:29:53] local.INFO: Acknowledgment sent {"connection_id":163792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:29:55] local.INFO: TCP Data received {"connection_id":163793,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163793,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:29:55] local.INFO: Processing buffer {"connection_id":163793,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:29:55] local.INFO: IMEI packet received {"connection_id":163793,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 21:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":163793,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:30:01] local.INFO: TCP Data received {"connection_id":163793,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163793,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:30:01] local.INFO: Processing buffer {"connection_id":163793,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:30:01] local.INFO: IMEI packet received {"connection_id":163793,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 21:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":163793,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:30:02] local.INFO: TCP Data received {"connection_id":163793,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04914b528012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04914b528012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:30:02] local.INFO: Processing buffer {"connection_id":163793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04914b528012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:30:02] local.INFO: Packet analysis {"connection_id":163793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04914"} 
[2026-08-28 21:30:02] local.INFO: Extracted packet for processing {"connection_id":163793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04914"} 
[2026-08-28 21:30:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:30:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710640128001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:30:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:30:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787932489000,"timestamp_ms":1787932489000,"timestamp_seconds":1787932489,"priority":1,"record_length":96,"hex_timestamp":"000001a04914b528"} 
[2026-08-28 21:30:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:30:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:30:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:30:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:30:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:30:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163793,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163793,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:30:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710640128001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710640128001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:30:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:30:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:30:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710640128001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:30:03] 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":710565,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:30:03] local.INFO: GPS data processed {"connection_id":163793,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:30:03] local.INFO: Acknowledgment sent {"connection_id":163793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:30:14] local.INFO: TCP Data received {"connection_id":165080,"ip":"117.224.86.212","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:30:14] local.INFO: Processing buffer {"connection_id":165080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:30:14] local.INFO: IMEI packet received {"connection_id":165080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 21:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":165080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:30:19] local.INFO: TCP Data received {"connection_id":165080,"ip":"117.224.86.212","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:30:19] local.INFO: Processing buffer {"connection_id":165080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:30:19] local.INFO: IMEI packet received {"connection_id":165080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 21:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":165080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:30:20] local.INFO: TCP Data received {"connection_id":165080,"ip":"117.224.86.212","data_length":795,"data_hex":"000000000000030f8e0a000001a0491614b8012d181d400721abb8004d01652e..."} 
[2026-08-28 21:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0491614b8012d181d400721abb8004d01652e..."} 
[2026-08-28 21:30:20] local.INFO: Processing buffer {"connection_id":165080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0491614b8012d181d400721abb8004d01652e..."} 
[2026-08-28 21:30:20] local.INFO: Packet analysis {"connection_id":165080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04916"} 
[2026-08-28 21:30:20] local.INFO: Extracted packet for processing {"connection_id":165080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04916"} 
[2026-08-28 21:30:20] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647160,"longitude_deg":75.6555072,"latitude_deg":11.964716,"altitude":77,"angle":357,"satellites":46,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721abb8","is_valid_coordinates":true} 
[2026-08-28 21:30:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:30:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710734848001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:30:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16242217693741056,"note":"Value kept but may cause issues"} 
[2026-08-28 21:30:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608730112,"note":"Value kept but may cause issues"} 
[2026-08-28 21:30:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:30:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787932579000,"timestamp_ms":1787932579000,"timestamp_seconds":1787932579,"priority":1,"record_length":96,"hex_timestamp":"000001a0491614b8"} 
[2026-08-28 21:30:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:30:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21:30:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-28 21:30:20] 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-28 21:30:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:30:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:30:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:30:20] local.INFO: Teltonika packet parsed successfully {"connection_id":165080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:30:20] local.INFO: Passing IMEI to GPS processor {"connection_id":165080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:30:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":165080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:30:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.86.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:30:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:30:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:30:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710734848001,"66":12885,"120":206,"28":31744,"24":0,"16":16242217693741056,"45":1737615430608730112},"client_ip":"117.224.86.212","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 21:30:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:30:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:30:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710734848001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:30:20] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 21:30:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:30:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16242217693741056,"km_value":16242217693741.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:30:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608730112,"description":"Unknown IO ID 45"} 
[2026-08-28 21:30:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710734848001,"power":12885,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608730112}} 
[2026-08-28 21:30:20] 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":710566,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:30:20] local.INFO: GPS data processed {"connection_id":165080,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:30:20] local.INFO: Acknowledgment sent {"connection_id":165080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:30:30] local.INFO: TCP Data received {"connection_id":164070,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:30:30] local.INFO: Processing buffer {"connection_id":164070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:30:30] local.INFO: IMEI packet received {"connection_id":164070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 21:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":164070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:30:34] local.INFO: TCP Data received {"connection_id":163793,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049194cf0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049194cf0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:30:34] local.INFO: Processing buffer {"connection_id":163793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049194cf0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:30:34] local.INFO: Packet analysis {"connection_id":163793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04919"} 
[2026-08-28 21:30:34] local.INFO: Extracted packet for processing {"connection_id":163793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04919"} 
[2026-08-28 21:30:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710717184001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787932790000,"timestamp_ms":1787932790000,"timestamp_seconds":1787932790,"priority":1,"record_length":96,"hex_timestamp":"000001a049194cf0"} 
[2026-08-28 21:30:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:30:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:30:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:30:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:30:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163793,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163793,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710717184001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710717184001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:30:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:30:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710717184001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:30:34] 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":710567,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:30:34] local.INFO: GPS data processed {"connection_id":163793,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:30:34] local.INFO: Acknowledgment sent {"connection_id":163793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:30:35] local.INFO: TCP Data received {"connection_id":164070,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:30:35] local.INFO: Processing buffer {"connection_id":164070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:30:35] local.INFO: IMEI packet received {"connection_id":164070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 21:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":164070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:30:37] local.INFO: TCP Data received {"connection_id":164070,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04916c098012d34c14006aa4840000a00e62b..."} 
[2026-08-28 21:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04916c098012d34c14006aa4840000a00e62b..."} 
[2026-08-28 21:30:37] local.INFO: Processing buffer {"connection_id":164070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04916c098012d34c14006aa4840000a00e62b..."} 
[2026-08-28 21:30:37] local.INFO: Packet analysis {"connection_id":164070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04916"} 
[2026-08-28 21:30:37] local.INFO: Extracted packet for processing {"connection_id":164070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04916"} 
[2026-08-28 21:30:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710674688001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787932623000,"timestamp_ms":1787932623000,"timestamp_seconds":1787932623,"priority":1,"record_length":96,"hex_timestamp":"000001a04916c098"} 
[2026-08-28 21:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 21:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710674688001,"66":25299,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710674688001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:30:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:30:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:30: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-28 21:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710674688001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":164070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:30:37] local.INFO: GPS data processed {"connection_id":164070,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:30:37] local.INFO: Acknowledgment sent {"connection_id":164070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:30:52] local.INFO: TCP Data received {"connection_id":165080,"ip":"117.224.86.212","data_length":795,"data_hex":"000000000000030f8e0a000001a0491666c0012d181d400721abb8004d01652f..."} 
[2026-08-28 21:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0491666c0012d181d400721abb8004d01652f..."} 
[2026-08-28 21:30:52] local.INFO: Processing buffer {"connection_id":165080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0491666c0012d181d400721abb8004d01652f..."} 
[2026-08-28 21:30:52] local.INFO: Packet analysis {"connection_id":165080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04916"} 
[2026-08-28 21:30:52] local.INFO: Extracted packet for processing {"connection_id":165080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04916"} 
[2026-08-28 21:30:52] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647160,"longitude_deg":75.6555072,"latitude_deg":11.964716,"altitude":77,"angle":357,"satellites":47,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721abb8","is_valid_coordinates":true} 
[2026-08-28 21:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710740224001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16242217693741056,"note":"Value kept but may cause issues"} 
[2026-08-28 21:30:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608730112,"note":"Value kept but may cause issues"} 
[2026-08-28 21:30:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787932600000,"timestamp_ms":1787932600000,"timestamp_seconds":1787932600,"priority":1,"record_length":96,"hex_timestamp":"000001a0491666c0"} 
[2026-08-28 21:30:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:30:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-28 21:30:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:30:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:30:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":165080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":165080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":165080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:30:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.86.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710740224001,"66":12917,"120":206,"28":31744,"24":0,"16":16242217693741056,"45":1737615430608730112},"client_ip":"117.224.86.212","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 21:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710740224001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:30:52] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 21:30:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16242217693741056,"km_value":16242217693741.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:30:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608730112,"description":"Unknown IO ID 45"} 
[2026-08-28 21:30:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710740224001,"power":12917,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608730112}} 
[2026-08-28 21:30:52] 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":710569,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:30:52] local.INFO: GPS data processed {"connection_id":165080,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:30:52] local.INFO: Acknowledgment sent {"connection_id":165080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:30:56] local.INFO: TCP Data received {"connection_id":166439,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166439,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:30:56] local.INFO: Processing buffer {"connection_id":166439,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:30:56] local.INFO: IMEI packet received {"connection_id":166439,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 21:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":166439,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:31:01] local.INFO: TCP Data received {"connection_id":166439,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166439,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:31:01] local.INFO: Processing buffer {"connection_id":166439,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:31:01] local.INFO: IMEI packet received {"connection_id":166439,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 21:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":166439,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:31:02] local.INFO: TCP Data received {"connection_id":166439,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049194cf0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049194cf0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:31:02] local.INFO: Processing buffer {"connection_id":166439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049194cf0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:31:02] local.INFO: Packet analysis {"connection_id":166439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04919"} 
[2026-08-28 21:31:02] local.INFO: Extracted packet for processing {"connection_id":166439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04919"} 
[2026-08-28 21:31:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:31:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710717184001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:31:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:31:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:31:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:31:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787932790000,"timestamp_ms":1787932790000,"timestamp_seconds":1787932790,"priority":1,"record_length":96,"hex_timestamp":"000001a049194cf0"} 
[2026-08-28 21:31:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:31:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:31:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:31:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:31:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:31:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:31:02] local.INFO: Teltonika packet parsed successfully {"connection_id":166439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:31:02] local.INFO: Passing IMEI to GPS processor {"connection_id":166439,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:31:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":166439,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:31:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:31:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:31:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:31:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710717184001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:31:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:31:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:31:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710717184001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:31:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:31:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:31:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:31:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:31:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710717184001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:31:02] local.INFO: DEBUG: GPS processor result {"connection_id":166439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710570,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:31:02] local.INFO: GPS data processed {"connection_id":166439,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:31:02] local.INFO: Acknowledgment sent {"connection_id":166439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:31:08] local.INFO: TCP Data received {"connection_id":164070,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04916c098012d34c14006aa4840000a00e62b..."} 
[2026-08-28 21:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04916c098012d34c14006aa4840000a00e62b..."} 
[2026-08-28 21:31:08] local.INFO: Processing buffer {"connection_id":164070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04916c098012d34c14006aa4840000a00e62b..."} 
[2026-08-28 21:31:08] local.INFO: Packet analysis {"connection_id":164070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04916"} 
[2026-08-28 21:31:08] local.INFO: Extracted packet for processing {"connection_id":164070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04916"} 
[2026-08-28 21:31:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21: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-28 21:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710674688001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:31:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787932623000,"timestamp_ms":1787932623000,"timestamp_seconds":1787932623,"priority":1,"record_length":96,"hex_timestamp":"000001a04916c098"} 
[2026-08-28 21: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-28 21:31:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 21:31:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21: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-28 21: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-28 21:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710674688001,"66":25299,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710674688001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:31:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:31:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21: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-28 21:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710674688001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":164070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:31:08] local.INFO: GPS data processed {"connection_id":164070,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:31:08] local.INFO: Acknowledgment sent {"connection_id":164070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:31:15] local.INFO: TCP Data received {"connection_id":166440,"ip":"117.224.86.212","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166440,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:31:15] local.INFO: Processing buffer {"connection_id":166440,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:31:15] local.INFO: IMEI packet received {"connection_id":166440,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 21:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":166440,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:31:19] local.INFO: TCP Data received {"connection_id":166440,"ip":"117.224.86.212","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166440,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:31:19] local.INFO: Processing buffer {"connection_id":166440,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:31:19] local.INFO: IMEI packet received {"connection_id":166440,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 21:31:19] local.INFO: IMEI acknowledgment sent {"connection_id":166440,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:31:20] local.INFO: TCP Data received {"connection_id":166440,"ip":"117.224.86.212","data_length":795,"data_hex":"000000000000030f8e0a000001a04916b8c8012d181d400721abb8004d01652e..."} 
[2026-08-28 21:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04916b8c8012d181d400721abb8004d01652e..."} 
[2026-08-28 21:31:20] local.INFO: Processing buffer {"connection_id":166440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04916b8c8012d181d400721abb8004d01652e..."} 
[2026-08-28 21:31:20] local.INFO: Packet analysis {"connection_id":166440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04916"} 
[2026-08-28 21:31:20] local.INFO: Extracted packet for processing {"connection_id":166440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04916"} 
[2026-08-28 21:31:20] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647160,"longitude_deg":75.6555072,"latitude_deg":11.964716,"altitude":77,"angle":357,"satellites":46,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721abb8","is_valid_coordinates":true} 
[2026-08-28 21: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-28 21:31:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710745600001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:31:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16242217693741056,"note":"Value kept but may cause issues"} 
[2026-08-28 21:31:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608730112,"note":"Value kept but may cause issues"} 
[2026-08-28 21:31:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:31:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787932621000,"timestamp_ms":1787932621000,"timestamp_seconds":1787932621,"priority":1,"record_length":96,"hex_timestamp":"000001a04916b8c8"} 
[2026-08-28 21: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-28 21:31:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-28 21:31:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21: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-28 21: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-28 21:31:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:31:20] local.INFO: Teltonika packet parsed successfully {"connection_id":166440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:31:20] local.INFO: Passing IMEI to GPS processor {"connection_id":166440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:31:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":166440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:31:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.86.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:31:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:31:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:31:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710745600001,"66":12885,"120":206,"28":31744,"24":0,"16":16242217693741056,"45":1737615430608730112},"client_ip":"117.224.86.212","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 21:31:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:31:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:31:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710745600001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:31:20] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 21:31:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:31:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16242217693741056,"km_value":16242217693741.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:31:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608730112,"description":"Unknown IO ID 45"} 
[2026-08-28 21:31:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710745600001,"power":12885,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608730112}} 
[2026-08-28 21:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":166440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710572,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:31:20] local.INFO: GPS data processed {"connection_id":166440,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:31:20] local.INFO: Acknowledgment sent {"connection_id":166440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:31:29] local.INFO: TCP Data received {"connection_id":166441,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:31:29] local.INFO: Processing buffer {"connection_id":166441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:31:29] local.INFO: IMEI packet received {"connection_id":166441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 21:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":166441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:31:34] local.INFO: TCP Data received {"connection_id":166439,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049194cf0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049194cf0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:31:34] local.INFO: Processing buffer {"connection_id":166439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049194cf0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:31:34] local.INFO: Packet analysis {"connection_id":166439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04919"} 
[2026-08-28 21:31:34] local.INFO: Extracted packet for processing {"connection_id":166439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04919"} 
[2026-08-28 21:31:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710717184001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:31:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787932790000,"timestamp_ms":1787932790000,"timestamp_seconds":1787932790,"priority":1,"record_length":96,"hex_timestamp":"000001a049194cf0"} 
[2026-08-28 21:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:31:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:31:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:31:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":166439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":166439,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":166439,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:31:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710717184001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710717184001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:31:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:31:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710717184001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":166439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710573,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:31:35] local.INFO: GPS data processed {"connection_id":166439,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:31:35] local.INFO: Acknowledgment sent {"connection_id":166439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:31:35] local.INFO: TCP Data received {"connection_id":166441,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:31:35] local.INFO: Processing buffer {"connection_id":166441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:31:35] local.INFO: IMEI packet received {"connection_id":166441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 21:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":166441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:31:37] local.INFO: TCP Data received {"connection_id":166441,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04916c098012d34c14006aa4840000a00e62b..."} 
[2026-08-28 21:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04916c098012d34c14006aa4840000a00e62b..."} 
[2026-08-28 21:31:37] local.INFO: Processing buffer {"connection_id":166441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04916c098012d34c14006aa4840000a00e62b..."} 
[2026-08-28 21:31:37] local.INFO: Packet analysis {"connection_id":166441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04916"} 
[2026-08-28 21:31:37] local.INFO: Extracted packet for processing {"connection_id":166441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04916"} 
[2026-08-28 21:31:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710674688001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:31:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787932623000,"timestamp_ms":1787932623000,"timestamp_seconds":1787932623,"priority":1,"record_length":96,"hex_timestamp":"000001a04916c098"} 
[2026-08-28 21:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:31:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 21:31:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:31:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":166441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":166441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":166441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:31:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710674688001,"66":25299,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710674688001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:31:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:31:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:31: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-28 21:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710674688001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":166441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:31:37] local.INFO: GPS data processed {"connection_id":166441,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:31:37] local.INFO: Acknowledgment sent {"connection_id":166441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:31:52] local.INFO: TCP Data received {"connection_id":166440,"ip":"117.224.86.212","data_length":795,"data_hex":"000000000000030f8e0a000001a049170ad0012d181d400721abb8004d01652e..."} 
[2026-08-28 21:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049170ad0012d181d400721abb8004d01652e..."} 
[2026-08-28 21:31:52] local.INFO: Processing buffer {"connection_id":166440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049170ad0012d181d400721abb8004d01652e..."} 
[2026-08-28 21:31:52] local.INFO: Packet analysis {"connection_id":166440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04917"} 
[2026-08-28 21:31:52] local.INFO: Extracted packet for processing {"connection_id":166440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04917"} 
[2026-08-28 21:31:52] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647160,"longitude_deg":75.6555072,"latitude_deg":11.964716,"altitude":77,"angle":357,"satellites":46,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721abb8","is_valid_coordinates":true} 
[2026-08-28 21: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-28 21:31:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710750976001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:31:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16242217693741056,"note":"Value kept but may cause issues"} 
[2026-08-28 21:31:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608730112,"note":"Value kept but may cause issues"} 
[2026-08-28 21:31:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:31:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787932642000,"timestamp_ms":1787932642000,"timestamp_seconds":1787932642,"priority":1,"record_length":96,"hex_timestamp":"000001a049170ad0"} 
[2026-08-28 21: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-28 21:31:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21:31:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-28 21:31:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21: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-28 21: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-28 21:31:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:31:52] local.INFO: Teltonika packet parsed successfully {"connection_id":166440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:31:52] local.INFO: Passing IMEI to GPS processor {"connection_id":166440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:31:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":166440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:31:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.86.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:31:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:31:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:31:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710750976001,"66":12863,"120":206,"28":31744,"24":0,"16":16242217693741056,"45":1737615430608730112},"client_ip":"117.224.86.212","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 21:31:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:31:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:31:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710750976001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:31:52] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 21:31:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:31:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16242217693741056,"km_value":16242217693741.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:31:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608730112,"description":"Unknown IO ID 45"} 
[2026-08-28 21:31:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710750976001,"power":12863,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608730112}} 
[2026-08-28 21:31:52] local.INFO: DEBUG: GPS processor result {"connection_id":166440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710575,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:31:52] local.INFO: GPS data processed {"connection_id":166440,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:31:52] local.INFO: Acknowledgment sent {"connection_id":166440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:31:55] local.INFO: TCP Data received {"connection_id":163794,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163794,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:31:55] local.INFO: Processing buffer {"connection_id":163794,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:31:55] local.INFO: IMEI packet received {"connection_id":163794,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 21:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":163794,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:32:01] local.INFO: TCP Data received {"connection_id":163794,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163794,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:32:01] local.INFO: Processing buffer {"connection_id":163794,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:32:01] local.INFO: IMEI packet received {"connection_id":163794,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 21:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":163794,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:32:02] local.INFO: TCP Data received {"connection_id":163794,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049194cf0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049194cf0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:32:02] local.INFO: Processing buffer {"connection_id":163794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049194cf0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:32:02] local.INFO: Packet analysis {"connection_id":163794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04919"} 
[2026-08-28 21:32:02] local.INFO: Extracted packet for processing {"connection_id":163794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04919"} 
[2026-08-28 21:32:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:32:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:32:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710717184001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:32:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:32:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:32:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:32:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787932790000,"timestamp_ms":1787932790000,"timestamp_seconds":1787932790,"priority":1,"record_length":96,"hex_timestamp":"000001a049194cf0"} 
[2026-08-28 21:32:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:32:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:32:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:32:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:32:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:32:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:32:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:32:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:32:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163794,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:32:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163794,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:32:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:32:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:32:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:32:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710717184001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:32:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:32:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:32:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710717184001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:32:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:32:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:32:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:32:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:32:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710717184001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:32:02] 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":710576,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:32:02] local.INFO: GPS data processed {"connection_id":163794,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:32:02] local.INFO: Acknowledgment sent {"connection_id":163794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:32:08] local.INFO: TCP Data received {"connection_id":166441,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04916c098012d34c14006aa4840000a00e62b..."} 
[2026-08-28 21:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04916c098012d34c14006aa4840000a00e62b..."} 
[2026-08-28 21:32:08] local.INFO: Processing buffer {"connection_id":166441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04916c098012d34c14006aa4840000a00e62b..."} 
[2026-08-28 21:32:08] local.INFO: Packet analysis {"connection_id":166441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04916"} 
[2026-08-28 21:32:08] local.INFO: Extracted packet for processing {"connection_id":166441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04916"} 
[2026-08-28 21:32:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710674688001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:32:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787932623000,"timestamp_ms":1787932623000,"timestamp_seconds":1787932623,"priority":1,"record_length":96,"hex_timestamp":"000001a04916c098"} 
[2026-08-28 21:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:32:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 21:32:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:32:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":166441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":166441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":166441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:32:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710674688001,"66":25299,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710674688001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:32:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:32:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:32: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-28 21:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710674688001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":166441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:32:08] local.INFO: GPS data processed {"connection_id":166441,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:32:08] local.INFO: Acknowledgment sent {"connection_id":166441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:32:14] local.INFO: TCP Data received {"connection_id":164071,"ip":"117.224.86.212","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:32:14] local.INFO: Processing buffer {"connection_id":164071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:32:14] local.INFO: IMEI packet received {"connection_id":164071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 21:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":164071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:32:19] local.INFO: TCP Data received {"connection_id":164071,"ip":"117.224.86.212","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:32:19] local.INFO: Processing buffer {"connection_id":164071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:32:19] local.INFO: IMEI packet received {"connection_id":164071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 21:32:19] local.INFO: IMEI acknowledgment sent {"connection_id":164071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:32:20] local.INFO: TCP Data received {"connection_id":164071,"ip":"117.224.86.212","data_length":795,"data_hex":"000000000000030f8e0a000001a049175cd8012d181d400721abb8004d01652e..."} 
[2026-08-28 21:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049175cd8012d181d400721abb8004d01652e..."} 
[2026-08-28 21:32:20] local.INFO: Processing buffer {"connection_id":164071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049175cd8012d181d400721abb8004d01652e..."} 
[2026-08-28 21:32:20] local.INFO: Packet analysis {"connection_id":164071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04917"} 
[2026-08-28 21:32:20] local.INFO: Extracted packet for processing {"connection_id":164071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04917"} 
[2026-08-28 21:32:20] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647160,"longitude_deg":75.6555072,"latitude_deg":11.964716,"altitude":77,"angle":357,"satellites":46,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721abb8","is_valid_coordinates":true} 
[2026-08-28 21: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-28 21:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710756352001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16242217693741056,"note":"Value kept but may cause issues"} 
[2026-08-28 21:32:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608730112,"note":"Value kept but may cause issues"} 
[2026-08-28 21:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787932663000,"timestamp_ms":1787932663000,"timestamp_seconds":1787932663,"priority":1,"record_length":96,"hex_timestamp":"000001a049175cd8"} 
[2026-08-28 21: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-28 21:32:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-28 21:32:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21: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-28 21: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-28 21:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":164071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":164071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":164071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:32:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.86.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710756352001,"66":12852,"120":206,"28":31744,"24":0,"16":16242217693741056,"45":1737615430608730112},"client_ip":"117.224.86.212","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 21:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710756352001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:32:20] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 21:32:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16242217693741056,"km_value":16242217693741.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:32:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608730112,"description":"Unknown IO ID 45"} 
[2026-08-28 21:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710756352001,"power":12852,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608730112}} 
[2026-08-28 21:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":164071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710578,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:32:20] local.INFO: GPS data processed {"connection_id":164071,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:32:20] local.INFO: Acknowledgment sent {"connection_id":164071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:32:29] local.INFO: TCP Data received {"connection_id":165081,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:32:29] local.INFO: Processing buffer {"connection_id":165081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:32:29] local.INFO: IMEI packet received {"connection_id":165081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 21:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":165081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:32:33] local.INFO: TCP Data received {"connection_id":163794,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049194cf0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049194cf0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:32:33] local.INFO: Processing buffer {"connection_id":163794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049194cf0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:32:33] local.INFO: Packet analysis {"connection_id":163794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04919"} 
[2026-08-28 21:32:33] local.INFO: Extracted packet for processing {"connection_id":163794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04919"} 
[2026-08-28 21:32:33] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:32:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710717184001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:32:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787932790000,"timestamp_ms":1787932790000,"timestamp_seconds":1787932790,"priority":1,"record_length":96,"hex_timestamp":"000001a049194cf0"} 
[2026-08-28 21:32:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:32:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:32:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:32:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:32:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:32:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":163794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":163794,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":163794,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:32:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710717184001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710717184001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:32:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:32:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710717184001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:32:34] 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":710579,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:32:34] local.INFO: GPS data processed {"connection_id":163794,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:32:34] local.INFO: Acknowledgment sent {"connection_id":163794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:32:35] local.INFO: TCP Data received {"connection_id":165081,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:32:35] local.INFO: Processing buffer {"connection_id":165081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:32:35] local.INFO: IMEI packet received {"connection_id":165081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 21:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":165081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:32:36] local.INFO: TCP Data received {"connection_id":165081,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04916c098012d34c14006aa4840000a00e62b..."} 
[2026-08-28 21:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04916c098012d34c14006aa4840000a00e62b..."} 
[2026-08-28 21:32:36] local.INFO: Processing buffer {"connection_id":165081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04916c098012d34c14006aa4840000a00e62b..."} 
[2026-08-28 21:32:36] local.INFO: Packet analysis {"connection_id":165081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04916"} 
[2026-08-28 21:32:36] local.INFO: Extracted packet for processing {"connection_id":165081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04916"} 
[2026-08-28 21:32:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710674688001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:32:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787932623000,"timestamp_ms":1787932623000,"timestamp_seconds":1787932623,"priority":1,"record_length":96,"hex_timestamp":"000001a04916c098"} 
[2026-08-28 21:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 21:32:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:32:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":165081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":165081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":165081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:32:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710674688001,"66":25299,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710674688001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:32:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:32:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710674688001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":165081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:32:36] local.INFO: GPS data processed {"connection_id":165081,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:32:36] local.INFO: Acknowledgment sent {"connection_id":165081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:32:52] local.INFO: TCP Data received {"connection_id":164071,"ip":"117.224.86.212","data_length":795,"data_hex":"000000000000030f8e0a000001a04917aee0012d181d400721abb8004d01652d..."} 
[2026-08-28 21:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04917aee0012d181d400721abb8004d01652d..."} 
[2026-08-28 21:32:52] local.INFO: Processing buffer {"connection_id":164071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04917aee0012d181d400721abb8004d01652d..."} 
[2026-08-28 21:32:52] local.INFO: Packet analysis {"connection_id":164071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04917"} 
[2026-08-28 21:32:52] local.INFO: Extracted packet for processing {"connection_id":164071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04917"} 
[2026-08-28 21:32:52] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647160,"longitude_deg":75.6555072,"latitude_deg":11.964716,"altitude":77,"angle":357,"satellites":45,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721abb8","is_valid_coordinates":true} 
[2026-08-28 21: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-28 21:32:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710761728001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:32:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16242217693741056,"note":"Value kept but may cause issues"} 
[2026-08-28 21:32:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608730112,"note":"Value kept but may cause issues"} 
[2026-08-28 21:32:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:32:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787932684000,"timestamp_ms":1787932684000,"timestamp_seconds":1787932684,"priority":1,"record_length":96,"hex_timestamp":"000001a04917aee0"} 
[2026-08-28 21: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-28 21:32:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21: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":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-28 21:32:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21: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-28 21: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-28 21:32:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:32:52] local.INFO: Teltonika packet parsed successfully {"connection_id":164071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:32:52] local.INFO: Passing IMEI to GPS processor {"connection_id":164071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:32:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":164071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:32:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.86.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:32:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:32:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:32:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710761728001,"66":12841,"120":206,"28":31744,"24":0,"16":16242217693741056,"45":1737615430608730112},"client_ip":"117.224.86.212","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 21:32:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:32:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:32:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710761728001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:32:52] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 21:32:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:32:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16242217693741056,"km_value":16242217693741.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:32:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608730112,"description":"Unknown IO ID 45"} 
[2026-08-28 21:32:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710761728001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608730112}} 
[2026-08-28 21:32:52] local.INFO: DEBUG: GPS processor result {"connection_id":164071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710581,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:32:52] local.INFO: GPS data processed {"connection_id":164071,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:32:52] local.INFO: Acknowledgment sent {"connection_id":164071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:32:55] local.INFO: TCP Data received {"connection_id":166442,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166442,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:32:55] local.INFO: Processing buffer {"connection_id":166442,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:32:55] local.INFO: IMEI packet received {"connection_id":166442,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 21:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":166442,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:33:01] local.INFO: TCP Data received {"connection_id":166442,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166442,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:33:01] local.INFO: Processing buffer {"connection_id":166442,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:33:01] local.INFO: IMEI packet received {"connection_id":166442,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 21:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":166442,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:33:03] local.INFO: TCP Data received {"connection_id":166442,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049194cf0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049194cf0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:33:03] local.INFO: Processing buffer {"connection_id":166442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049194cf0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:33:03] local.INFO: Packet analysis {"connection_id":166442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04919"} 
[2026-08-28 21:33:03] local.INFO: Extracted packet for processing {"connection_id":166442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04919"} 
[2026-08-28 21:33:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710717184001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:33:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787932790000,"timestamp_ms":1787932790000,"timestamp_seconds":1787932790,"priority":1,"record_length":96,"hex_timestamp":"000001a049194cf0"} 
[2026-08-28 21:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:33:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:33:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:33:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":166442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":166442,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":166442,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710717184001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710717184001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:33:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:33:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710717184001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":166442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710582,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:33:03] local.INFO: GPS data processed {"connection_id":166442,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:33:03] local.INFO: Acknowledgment sent {"connection_id":166442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:33:08] local.INFO: TCP Data received {"connection_id":165081,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0491b5860012d34c14006aa4840001200e62a..."} 
[2026-08-28 21:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0491b5860012d34c14006aa4840001200e62a..."} 
[2026-08-28 21:33:08] local.INFO: Processing buffer {"connection_id":165081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0491b5860012d34c14006aa4840001200e62a..."} 
[2026-08-28 21:33:08] local.INFO: Packet analysis {"connection_id":165081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0491b"} 
[2026-08-28 21:33:08] local.INFO: Extracted packet for processing {"connection_id":165081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0491b"} 
[2026-08-28 21:33:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710751488001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:33:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787932924000,"timestamp_ms":1787932924000,"timestamp_seconds":1787932924,"priority":1,"record_length":96,"hex_timestamp":"000001a0491b5860"} 
[2026-08-28 21:33:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:33:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 21:33:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:33:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:33:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":165081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":165081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":165081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:33:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710751488001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710751488001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:33:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:33:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:33: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-28 21:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710751488001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":165081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:33:08] local.INFO: GPS data processed {"connection_id":165081,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:33:08] local.INFO: Acknowledgment sent {"connection_id":165081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:33:14] local.INFO: TCP Data received {"connection_id":163795,"ip":"117.224.86.212","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163795,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:33:14] local.INFO: Processing buffer {"connection_id":163795,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:33:14] local.INFO: IMEI packet received {"connection_id":163795,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 21:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":163795,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:33:15] local.INFO: TCP Data received {"connection_id":163795,"ip":"117.224.86.212","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163795,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:33:15] local.INFO: Processing buffer {"connection_id":163795,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:33:15] local.INFO: IMEI packet received {"connection_id":163795,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 21:33:15] local.INFO: IMEI acknowledgment sent {"connection_id":163795,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:33:19] local.INFO: TCP Data received {"connection_id":163795,"ip":"117.224.86.212","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163795,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:33:19] local.INFO: Processing buffer {"connection_id":163795,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:33:19] local.INFO: IMEI packet received {"connection_id":163795,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 21:33:19] local.INFO: IMEI acknowledgment sent {"connection_id":163795,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:33:20] local.INFO: TCP Data received {"connection_id":163795,"ip":"117.224.86.212","data_length":795,"data_hex":"000000000000030f8e0a000001a0491b3538012d181d400721abb8004d01652e..."} 
[2026-08-28 21:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0491b3538012d181d400721abb8004d01652e..."} 
[2026-08-28 21:33:20] local.INFO: Processing buffer {"connection_id":163795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0491b3538012d181d400721abb8004d01652e..."} 
[2026-08-28 21:33:20] local.INFO: Packet analysis {"connection_id":163795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0491b"} 
[2026-08-28 21:33:20] local.INFO: Extracted packet for processing {"connection_id":163795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0491b"} 
[2026-08-28 21:33:20] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647160,"longitude_deg":75.6555072,"latitude_deg":11.964716,"altitude":77,"angle":357,"satellites":46,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721abb8","is_valid_coordinates":true} 
[2026-08-28 21:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:33:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710820864001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:33:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16242217693741056,"note":"Value kept but may cause issues"} 
[2026-08-28 21:33:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608730112,"note":"Value kept but may cause issues"} 
[2026-08-28 21:33:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:33:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787932915000,"timestamp_ms":1787932915000,"timestamp_seconds":1787932915,"priority":1,"record_length":96,"hex_timestamp":"000001a0491b3538"} 
[2026-08-28 21:33:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:33:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-28 21:33:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:33:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:33:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:33:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:33:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:33:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:33:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:33:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.86.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:33:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:33:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:33:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710820864001,"66":12689,"120":206,"28":31744,"24":0,"16":16242217693741056,"45":1737615430608730112},"client_ip":"117.224.86.212","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 21:33:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:33:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:33:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710820864001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:33:20] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 21:33:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:33:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16242217693741056,"km_value":16242217693741.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:33:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608730112,"description":"Unknown IO ID 45"} 
[2026-08-28 21:33:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710820864001,"power":12689,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608730112}} 
[2026-08-28 21:33:20] 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":710584,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:33:20] local.INFO: GPS data processed {"connection_id":163795,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:33:20] local.INFO: Acknowledgment sent {"connection_id":163795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:33:29] local.INFO: TCP Data received {"connection_id":164072,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:33:29] local.INFO: Processing buffer {"connection_id":164072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:33:29] local.INFO: IMEI packet received {"connection_id":164072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 21:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":164072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:33:35] local.INFO: TCP Data received {"connection_id":164072,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:33:35] local.INFO: Processing buffer {"connection_id":164072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:33:35] local.INFO: IMEI packet received {"connection_id":164072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 21:33:35] local.INFO: IMEI acknowledgment sent {"connection_id":164072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:33:35] local.INFO: TCP Data received {"connection_id":166442,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049194cf0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049194cf0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:33:35] local.INFO: Processing buffer {"connection_id":166442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049194cf0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:33:35] local.INFO: Packet analysis {"connection_id":166442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04919"} 
[2026-08-28 21:33:35] local.INFO: Extracted packet for processing {"connection_id":166442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04919"} 
[2026-08-28 21:33:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710717184001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:33:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787932790000,"timestamp_ms":1787932790000,"timestamp_seconds":1787932790,"priority":1,"record_length":96,"hex_timestamp":"000001a049194cf0"} 
[2026-08-28 21:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:33:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:33:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:33:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":166442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":166442,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":166442,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:33:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710717184001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710717184001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:33:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:33:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710717184001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:33:35] local.INFO: DEBUG: GPS processor result {"connection_id":166442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710585,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:33:35] local.INFO: GPS data processed {"connection_id":166442,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:33:35] local.INFO: Acknowledgment sent {"connection_id":166442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:33:36] local.INFO: TCP Data received {"connection_id":164072,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0491b5860012d34c14006aa4840001200e62a..."} 
[2026-08-28 21:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0491b5860012d34c14006aa4840001200e62a..."} 
[2026-08-28 21:33:36] local.INFO: Processing buffer {"connection_id":164072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0491b5860012d34c14006aa4840001200e62a..."} 
[2026-08-28 21:33:36] local.INFO: Packet analysis {"connection_id":164072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0491b"} 
[2026-08-28 21:33:36] local.INFO: Extracted packet for processing {"connection_id":164072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0491b"} 
[2026-08-28 21:33:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710751488001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:33:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787932924000,"timestamp_ms":1787932924000,"timestamp_seconds":1787932924,"priority":1,"record_length":96,"hex_timestamp":"000001a0491b5860"} 
[2026-08-28 21:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:33:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 21:33:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:33:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":164072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":164072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":164072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:33:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710751488001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710751488001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:33:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:33:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710751488001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":164072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:33:36] local.INFO: GPS data processed {"connection_id":164072,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:33:36] local.INFO: Acknowledgment sent {"connection_id":164072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:33:52] local.INFO: TCP Data received {"connection_id":163795,"ip":"117.224.86.212","data_length":795,"data_hex":"000000000000030f8e0a000001a0491b8740012d181d400721abb8004d01652d..."} 
[2026-08-28 21:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0491b8740012d181d400721abb8004d01652d..."} 
[2026-08-28 21:33:52] local.INFO: Processing buffer {"connection_id":163795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0491b8740012d181d400721abb8004d01652d..."} 
[2026-08-28 21:33:52] local.INFO: Packet analysis {"connection_id":163795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0491b"} 
[2026-08-28 21:33:52] local.INFO: Extracted packet for processing {"connection_id":163795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0491b"} 
[2026-08-28 21:33:52] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647160,"longitude_deg":75.6555072,"latitude_deg":11.964716,"altitude":77,"angle":357,"satellites":45,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721abb8","is_valid_coordinates":true} 
[2026-08-28 21: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-28 21:33:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710826240001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:33:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16242217693741056,"note":"Value kept but may cause issues"} 
[2026-08-28 21:33:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608730112,"note":"Value kept but may cause issues"} 
[2026-08-28 21:33:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:33:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787932936000,"timestamp_ms":1787932936000,"timestamp_seconds":1787932936,"priority":1,"record_length":96,"hex_timestamp":"000001a0491b8740"} 
[2026-08-28 21: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-28 21:33:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-28 21:33:52] 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-28 21: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-28 21: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-28 21:33:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:33:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:33:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:33:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:33:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.86.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:33:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:33:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:33:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710826240001,"66":12439,"120":206,"28":31744,"24":0,"16":16242217693741056,"45":1737615430608730112},"client_ip":"117.224.86.212","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 21:33:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:33:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:33:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710826240001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:33:52] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 21:33:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:33:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16242217693741056,"km_value":16242217693741.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:33:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608730112,"description":"Unknown IO ID 45"} 
[2026-08-28 21:33:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710826240001,"power":12439,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608730112}} 
[2026-08-28 21:33:53] 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":710587,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:33:53] local.INFO: GPS data processed {"connection_id":163795,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:33:53] local.INFO: Acknowledgment sent {"connection_id":163795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:33:55] local.INFO: TCP Data received {"connection_id":163796,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163796,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:33:55] local.INFO: Processing buffer {"connection_id":163796,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:33:55] local.INFO: IMEI packet received {"connection_id":163796,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 21:33:55] local.INFO: IMEI acknowledgment sent {"connection_id":163796,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:34:01] local.INFO: TCP Data received {"connection_id":163796,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163796,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:34:01] local.INFO: Processing buffer {"connection_id":163796,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:34:01] local.INFO: IMEI packet received {"connection_id":163796,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 21:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":163796,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:34:02] local.INFO: TCP Data received {"connection_id":163796,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049194cf0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049194cf0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:34:02] local.INFO: Processing buffer {"connection_id":163796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049194cf0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:34:02] local.INFO: Packet analysis {"connection_id":163796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04919"} 
[2026-08-28 21:34:02] local.INFO: Extracted packet for processing {"connection_id":163796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04919"} 
[2026-08-28 21:34:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:34:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710717184001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:34:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:34:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:34:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:34:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787932790000,"timestamp_ms":1787932790000,"timestamp_seconds":1787932790,"priority":1,"record_length":96,"hex_timestamp":"000001a049194cf0"} 
[2026-08-28 21:34:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:34:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:34:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:34:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:34:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:34:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:34:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:34:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163796,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:34:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163796,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:34:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:34:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:34:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:34:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710717184001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:34:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:34:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:34:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710717184001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:34:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:34:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:34:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:34:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:34:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710717184001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:34:02] local.INFO: DEBUG: GPS processor result {"connection_id":163796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710588,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:34:02] local.INFO: GPS data processed {"connection_id":163796,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:34:02] local.INFO: Acknowledgment sent {"connection_id":163796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:34:08] local.INFO: TCP Data received {"connection_id":164072,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0491b5860012d34c14006aa4840001200e62a..."} 
[2026-08-28 21:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0491b5860012d34c14006aa4840001200e62a..."} 
[2026-08-28 21:34:08] local.INFO: Processing buffer {"connection_id":164072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0491b5860012d34c14006aa4840001200e62a..."} 
[2026-08-28 21:34:08] local.INFO: Packet analysis {"connection_id":164072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0491b"} 
[2026-08-28 21:34:08] local.INFO: Extracted packet for processing {"connection_id":164072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0491b"} 
[2026-08-28 21:34:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710751488001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:34:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787932924000,"timestamp_ms":1787932924000,"timestamp_seconds":1787932924,"priority":1,"record_length":96,"hex_timestamp":"000001a0491b5860"} 
[2026-08-28 21:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:34:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 21:34:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:34:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:34:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710751488001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710751488001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:34:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:34:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:34: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-28 21:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710751488001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":164072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:34:08] local.INFO: GPS data processed {"connection_id":164072,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:34:08] local.INFO: Acknowledgment sent {"connection_id":164072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:34:14] local.INFO: TCP Data received {"connection_id":166443,"ip":"117.224.86.212","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166443,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:34:14] local.INFO: Processing buffer {"connection_id":166443,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:34:14] local.INFO: IMEI packet received {"connection_id":166443,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 21:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":166443,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:34:18] local.INFO: TCP Data received {"connection_id":166443,"ip":"117.224.86.212","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166443,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:34:18] local.INFO: Processing buffer {"connection_id":166443,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:34:18] local.INFO: IMEI packet received {"connection_id":166443,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 21:34:18] local.INFO: IMEI acknowledgment sent {"connection_id":166443,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:34:19] local.INFO: TCP Data received {"connection_id":166443,"ip":"117.224.86.212","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166443,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:34:19] local.INFO: Processing buffer {"connection_id":166443,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:34:19] local.INFO: IMEI packet received {"connection_id":166443,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 21:34:19] local.INFO: IMEI acknowledgment sent {"connection_id":166443,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:34:20] local.INFO: TCP Data received {"connection_id":166443,"ip":"117.224.86.212","data_length":795,"data_hex":"000000000000030f8e0a000001a0491bd948012d181d400721abb8004d01652d..."} 
[2026-08-28 21:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0491bd948012d181d400721abb8004d01652d..."} 
[2026-08-28 21:34:20] local.INFO: Processing buffer {"connection_id":166443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0491bd948012d181d400721abb8004d01652d..."} 
[2026-08-28 21:34:20] local.INFO: Packet analysis {"connection_id":166443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0491b"} 
[2026-08-28 21:34:20] local.INFO: Extracted packet for processing {"connection_id":166443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0491b"} 
[2026-08-28 21:34:20] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647160,"longitude_deg":75.6555072,"latitude_deg":11.964716,"altitude":77,"angle":357,"satellites":45,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721abb8","is_valid_coordinates":true} 
[2026-08-28 21:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710831616001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:34:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16242217693741056,"note":"Value kept but may cause issues"} 
[2026-08-28 21:34:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608730112,"note":"Value kept but may cause issues"} 
[2026-08-28 21:34:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:34:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787932957000,"timestamp_ms":1787932957000,"timestamp_seconds":1787932957,"priority":1,"record_length":96,"hex_timestamp":"000001a0491bd948"} 
[2026-08-28 21:34:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:34:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-28 21:34:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:34:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:34:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:34:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:34:20] local.INFO: Teltonika packet parsed successfully {"connection_id":166443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:34:20] local.INFO: Passing IMEI to GPS processor {"connection_id":166443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:34:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":166443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:34:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.86.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:34:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:34:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:34:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710831616001,"66":12580,"120":206,"28":31744,"24":0,"16":16242217693741056,"45":1737615430608730112},"client_ip":"117.224.86.212","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 21:34:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:34:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:34:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710831616001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:34:20] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 21:34:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:34:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16242217693741056,"km_value":16242217693741.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:34:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608730112,"description":"Unknown IO ID 45"} 
[2026-08-28 21:34:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710831616001,"power":12580,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608730112}} 
[2026-08-28 21:34:20] local.INFO: DEBUG: GPS processor result {"connection_id":166443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710590,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:34:20] local.INFO: GPS data processed {"connection_id":166443,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:34:20] local.INFO: Acknowledgment sent {"connection_id":166443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:34:25] local.INFO: TCP Data received {"connection_id":166443,"ip":"117.224.86.212","data_length":795,"data_hex":"000000000000030f8e0a000001a0491c2b50012d181d400721abb8004d01652c..."} 
[2026-08-28 21:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0491c2b50012d181d400721abb8004d01652c..."} 
[2026-08-28 21:34:25] local.INFO: Processing buffer {"connection_id":166443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0491c2b50012d181d400721abb8004d01652c..."} 
[2026-08-28 21:34:25] local.INFO: Packet analysis {"connection_id":166443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0491c"} 
[2026-08-28 21:34:25] local.INFO: Extracted packet for processing {"connection_id":166443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0491c"} 
[2026-08-28 21:34:25] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647160,"longitude_deg":75.6555072,"latitude_deg":11.964716,"altitude":77,"angle":357,"satellites":44,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721abb8","is_valid_coordinates":true} 
[2026-08-28 21:34:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:34:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710836992001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:34:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16242217693741056,"note":"Value kept but may cause issues"} 
[2026-08-28 21:34:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608730112,"note":"Value kept but may cause issues"} 
[2026-08-28 21:34:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:34:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787932978000,"timestamp_ms":1787932978000,"timestamp_seconds":1787932978,"priority":1,"record_length":96,"hex_timestamp":"000001a0491c2b50"} 
[2026-08-28 21:34:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:34:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21:34:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-08-28 21:34:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:34:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:34:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:34:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:34:25] local.INFO: Teltonika packet parsed successfully {"connection_id":166443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:34:25] local.INFO: Passing IMEI to GPS processor {"connection_id":166443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:34:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":166443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:34:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.86.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:34:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:34:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:34:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710836992001,"66":12667,"120":206,"28":31744,"24":0,"16":16242217693741056,"45":1737615430608730112},"client_ip":"117.224.86.212","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 21:34:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:34:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:34:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710836992001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:34:25] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 21:34:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:34:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16242217693741056,"km_value":16242217693741.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:34:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608730112,"description":"Unknown IO ID 45"} 
[2026-08-28 21:34:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710836992001,"power":12667,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608730112}} 
[2026-08-28 21:34:25] local.INFO: DEBUG: GPS processor result {"connection_id":166443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710591,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:34:25] local.INFO: GPS data processed {"connection_id":166443,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:34:25] local.INFO: Acknowledgment sent {"connection_id":166443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:34:30] local.INFO: TCP Data received {"connection_id":166444,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:34:30] local.INFO: Processing buffer {"connection_id":166444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:34:30] local.INFO: IMEI packet received {"connection_id":166444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 21:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":166444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:34:34] local.INFO: TCP Data received {"connection_id":163796,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049194cf0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049194cf0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:34:34] local.INFO: Processing buffer {"connection_id":163796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049194cf0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:34:34] local.INFO: Packet analysis {"connection_id":163796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04919"} 
[2026-08-28 21:34:34] local.INFO: Extracted packet for processing {"connection_id":163796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04919"} 
[2026-08-28 21:34:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710717184001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:34:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:34:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787932790000,"timestamp_ms":1787932790000,"timestamp_seconds":1787932790,"priority":1,"record_length":96,"hex_timestamp":"000001a049194cf0"} 
[2026-08-28 21:34:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:34:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:34:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:34:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:34:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163796,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163796,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710717184001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710717184001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:34:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:34:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:34:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710717184001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":163796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710592,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:34:34] local.INFO: GPS data processed {"connection_id":163796,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:34:34] local.INFO: Acknowledgment sent {"connection_id":163796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:34:35] local.INFO: TCP Data received {"connection_id":166444,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:34:35] local.INFO: Processing buffer {"connection_id":166444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:34:35] local.INFO: IMEI packet received {"connection_id":166444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 21:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":166444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:34:36] local.INFO: TCP Data received {"connection_id":166444,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0491b5860012d34c14006aa4840001200e62a..."} 
[2026-08-28 21:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0491b5860012d34c14006aa4840001200e62a..."} 
[2026-08-28 21:34:36] local.INFO: Processing buffer {"connection_id":166444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0491b5860012d34c14006aa4840001200e62a..."} 
[2026-08-28 21:34:36] local.INFO: Packet analysis {"connection_id":166444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0491b"} 
[2026-08-28 21:34:36] local.INFO: Extracted packet for processing {"connection_id":166444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0491b"} 
[2026-08-28 21:34:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710751488001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:34:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:34:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787932924000,"timestamp_ms":1787932924000,"timestamp_seconds":1787932924,"priority":1,"record_length":96,"hex_timestamp":"000001a0491b5860"} 
[2026-08-28 21:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:34:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 21:34:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:34:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":166444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":166444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":166444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:34:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710751488001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710751488001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:34:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:34:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:34:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710751488001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":166444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:34:36] local.INFO: GPS data processed {"connection_id":166444,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:34:36] local.INFO: Acknowledgment sent {"connection_id":166444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:34:57] local.INFO: TCP Data received {"connection_id":166443,"ip":"117.224.86.212","data_length":795,"data_hex":"000000000000030f8e0a000001a0491c7d58012d181d400721abb8004d01652e..."} 
[2026-08-28 21:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0491c7d58012d181d400721abb8004d01652e..."} 
[2026-08-28 21:34:57] local.INFO: Processing buffer {"connection_id":166443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0491c7d58012d181d400721abb8004d01652e..."} 
[2026-08-28 21:34:57] local.INFO: Packet analysis {"connection_id":166443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0491c"} 
[2026-08-28 21:34:57] local.INFO: Extracted packet for processing {"connection_id":166443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0491c"} 
[2026-08-28 21:34:57] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647160,"longitude_deg":75.6555072,"latitude_deg":11.964716,"altitude":77,"angle":357,"satellites":46,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721abb8","is_valid_coordinates":true} 
[2026-08-28 21:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:34:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710842368001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:34:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16242217693741056,"note":"Value kept but may cause issues"} 
[2026-08-28 21:34:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608730112,"note":"Value kept but may cause issues"} 
[2026-08-28 21:34:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:34:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787932999000,"timestamp_ms":1787932999000,"timestamp_seconds":1787932999,"priority":1,"record_length":96,"hex_timestamp":"000001a0491c7d58"} 
[2026-08-28 21:34:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:34:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-28 21:34:57] 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-28 21:34:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:34:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:34:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:34:57] local.INFO: Teltonika packet parsed successfully {"connection_id":166443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:34:57] local.INFO: Passing IMEI to GPS processor {"connection_id":166443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:34:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":166443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:34:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.86.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:34:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:34:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:34:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710842368001,"66":12667,"120":206,"28":31744,"24":0,"16":16242217693741056,"45":1737615430608730112},"client_ip":"117.224.86.212","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 21:34:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:34:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:34:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710842368001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:34:57] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 21:34:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:34:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16242217693741056,"km_value":16242217693741.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:34:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608730112,"description":"Unknown IO ID 45"} 
[2026-08-28 21:34:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710842368001,"power":12667,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608730112}} 
[2026-08-28 21:34:57] local.INFO: DEBUG: GPS processor result {"connection_id":166443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710594,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:34:57] local.INFO: GPS data processed {"connection_id":166443,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:34:57] local.INFO: Acknowledgment sent {"connection_id":166443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:35:01] local.INFO: TCP Data received {"connection_id":164073,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164073,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:35:01] local.INFO: Processing buffer {"connection_id":164073,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:35:01] local.INFO: IMEI packet received {"connection_id":164073,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 21:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":164073,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:35:06] local.INFO: TCP Data received {"connection_id":164073,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164073,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:35:06] local.INFO: Processing buffer {"connection_id":164073,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:35:06] local.INFO: IMEI packet received {"connection_id":164073,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 21:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":164073,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:35:08] local.INFO: TCP Data received {"connection_id":166444,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0491b5860012d34c14006aa4840001200e62a..."} 
[2026-08-28 21:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0491b5860012d34c14006aa4840001200e62a..."} 
[2026-08-28 21:35:08] local.INFO: Processing buffer {"connection_id":166444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0491b5860012d34c14006aa4840001200e62a..."} 
[2026-08-28 21:35:08] local.INFO: Packet analysis {"connection_id":166444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0491b"} 
[2026-08-28 21:35:08] local.INFO: Extracted packet for processing {"connection_id":166444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0491b"} 
[2026-08-28 21:35:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710751488001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:35:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:35:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787932924000,"timestamp_ms":1787932924000,"timestamp_seconds":1787932924,"priority":1,"record_length":96,"hex_timestamp":"000001a0491b5860"} 
[2026-08-28 21:35:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:35:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 21:35:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:35:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:35:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":166444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":166444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":166444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:35:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710751488001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710751488001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:35:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:35:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:35: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-28 21:35:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710751488001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":166444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:35:08] local.INFO: GPS data processed {"connection_id":166444,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:35:08] local.INFO: Acknowledgment sent {"connection_id":166444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:35:08] local.INFO: TCP Data received {"connection_id":164073,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049194cf0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049194cf0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:35:08] local.INFO: Processing buffer {"connection_id":164073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049194cf0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:35:08] local.INFO: Packet analysis {"connection_id":164073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04919"} 
[2026-08-28 21:35:08] local.INFO: Extracted packet for processing {"connection_id":164073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04919"} 
[2026-08-28 21:35:08] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710717184001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:35:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:35:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787932790000,"timestamp_ms":1787932790000,"timestamp_seconds":1787932790,"priority":1,"record_length":96,"hex_timestamp":"000001a049194cf0"} 
[2026-08-28 21:35:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:35:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:35:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:35:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:35:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164073,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164073,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:35:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710717184001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710717184001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:35:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:35:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:35:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:35:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710717184001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":164073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710596,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:35:08] local.INFO: GPS data processed {"connection_id":164073,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:35:08] local.INFO: Acknowledgment sent {"connection_id":164073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:35:16] local.INFO: TCP Data received {"connection_id":163797,"ip":"117.224.86.212","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163797,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:35:16] local.INFO: Processing buffer {"connection_id":163797,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:35:16] local.INFO: IMEI packet received {"connection_id":163797,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 21:35:16] local.INFO: IMEI acknowledgment sent {"connection_id":163797,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:35:18] local.INFO: TCP Data received {"connection_id":163797,"ip":"117.224.86.212","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163797,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:35:18] local.INFO: Processing buffer {"connection_id":163797,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:35:18] local.INFO: IMEI packet received {"connection_id":163797,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 21:35:18] local.INFO: IMEI acknowledgment sent {"connection_id":163797,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:35:19] local.INFO: TCP Data received {"connection_id":163797,"ip":"117.224.86.212","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163797,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:35:19] local.INFO: Processing buffer {"connection_id":163797,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:35:19] local.INFO: IMEI packet received {"connection_id":163797,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 21:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":163797,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:35:24] local.INFO: TCP Data received {"connection_id":163797,"ip":"117.224.86.212","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163797,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:35:24] local.INFO: Processing buffer {"connection_id":163797,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:35:24] local.INFO: IMEI packet received {"connection_id":163797,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 21:35:24] local.INFO: IMEI acknowledgment sent {"connection_id":163797,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:35:26] local.INFO: TCP Data received {"connection_id":163797,"ip":"117.224.86.212","data_length":795,"data_hex":"000000000000030f8e0a000001a0491ccf60012d181d400721abb8004d01652d..."} 
[2026-08-28 21:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0491ccf60012d181d400721abb8004d01652d..."} 
[2026-08-28 21:35:26] local.INFO: Processing buffer {"connection_id":163797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0491ccf60012d181d400721abb8004d01652d..."} 
[2026-08-28 21:35:26] local.INFO: Packet analysis {"connection_id":163797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0491c"} 
[2026-08-28 21:35:26] local.INFO: Extracted packet for processing {"connection_id":163797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0491c"} 
[2026-08-28 21:35:26] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647160,"longitude_deg":75.6555072,"latitude_deg":11.964716,"altitude":77,"angle":357,"satellites":45,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721abb8","is_valid_coordinates":true} 
[2026-08-28 21:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:35:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710847744001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:35:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16242217693741056,"note":"Value kept but may cause issues"} 
[2026-08-28 21:35:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608730112,"note":"Value kept but may cause issues"} 
[2026-08-28 21:35:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:35:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787933020000,"timestamp_ms":1787933020000,"timestamp_seconds":1787933020,"priority":1,"record_length":96,"hex_timestamp":"000001a0491ccf60"} 
[2026-08-28 21:35:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:35:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-28 21:35:26] 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-28 21:35:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:35:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:35:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:35:26] local.INFO: Teltonika packet parsed successfully {"connection_id":163797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:35:26] local.INFO: Passing IMEI to GPS processor {"connection_id":163797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:35:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":163797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:35:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.86.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:35:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:35:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:35:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710847744001,"66":12591,"120":206,"28":31744,"24":0,"16":16242217693741056,"45":1737615430608730112},"client_ip":"117.224.86.212","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 21:35:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:35:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:35:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710847744001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:35:26] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 21:35:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:35:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16242217693741056,"km_value":16242217693741.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:35:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608730112,"description":"Unknown IO ID 45"} 
[2026-08-28 21:35:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710847744001,"power":12591,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608730112}} 
[2026-08-28 21:35:26] 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":710597,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:35:26] local.INFO: GPS data processed {"connection_id":163797,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:35:26] local.INFO: Acknowledgment sent {"connection_id":163797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:35:29] local.INFO: TCP Data received {"connection_id":164074,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:35:29] local.INFO: Processing buffer {"connection_id":164074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:35:29] local.INFO: IMEI packet received {"connection_id":164074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 21:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":164074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:35:35] local.INFO: TCP Data received {"connection_id":164074,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:35:35] local.INFO: Processing buffer {"connection_id":164074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:35:35] local.INFO: IMEI packet received {"connection_id":164074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 21:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":164074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:35:37] local.INFO: TCP Data received {"connection_id":164074,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0491b5860012d34c14006aa4840001200e62a..."} 
[2026-08-28 21:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0491b5860012d34c14006aa4840001200e62a..."} 
[2026-08-28 21:35:37] local.INFO: Processing buffer {"connection_id":164074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0491b5860012d34c14006aa4840001200e62a..."} 
[2026-08-28 21:35:37] local.INFO: Packet analysis {"connection_id":164074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0491b"} 
[2026-08-28 21:35:37] local.INFO: Extracted packet for processing {"connection_id":164074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0491b"} 
[2026-08-28 21:35:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710751488001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787932924000,"timestamp_ms":1787932924000,"timestamp_seconds":1787932924,"priority":1,"record_length":96,"hex_timestamp":"000001a0491b5860"} 
[2026-08-28 21:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 21:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710751488001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710751488001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:35:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:35:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:35: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-28 21:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710751488001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":164074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:35:37] local.INFO: GPS data processed {"connection_id":164074,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:35:37] local.INFO: Acknowledgment sent {"connection_id":164074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:35:40] local.INFO: TCP Data received {"connection_id":164073,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0491de4b8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0491de4b8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:35:40] local.INFO: Processing buffer {"connection_id":164073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0491de4b8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:35:40] local.INFO: Packet analysis {"connection_id":164073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0491d"} 
[2026-08-28 21:35:40] local.INFO: Extracted packet for processing {"connection_id":164073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0491d"} 
[2026-08-28 21:35:40] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710794240001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:35:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:35:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787933091000,"timestamp_ms":1787933091000,"timestamp_seconds":1787933091,"priority":1,"record_length":96,"hex_timestamp":"000001a0491de4b8"} 
[2026-08-28 21:35:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:35:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:35:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:35:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:35:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":164073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":164073,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":164073,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:35:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710794240001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710794240001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:35:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:35:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:35:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710794240001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":164073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710599,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:35:40] local.INFO: GPS data processed {"connection_id":164073,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:35:40] local.INFO: Acknowledgment sent {"connection_id":164073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:35:55] local.INFO: TCP Data received {"connection_id":165082,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165082,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:35:55] local.INFO: Processing buffer {"connection_id":165082,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:35:55] local.INFO: IMEI packet received {"connection_id":165082,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 21:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":165082,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:35:57] local.INFO: TCP Data received {"connection_id":163797,"ip":"117.224.86.212","data_length":795,"data_hex":"000000000000030f8e0a000001a0491d2168012d181d400721abb8004d01652e..."} 
[2026-08-28 21:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0491d2168012d181d400721abb8004d01652e..."} 
[2026-08-28 21:35:57] local.INFO: Processing buffer {"connection_id":163797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0491d2168012d181d400721abb8004d01652e..."} 
[2026-08-28 21:35:57] local.INFO: Packet analysis {"connection_id":163797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0491d"} 
[2026-08-28 21:35:57] local.INFO: Extracted packet for processing {"connection_id":163797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0491d"} 
[2026-08-28 21:35:57] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647160,"longitude_deg":75.6555072,"latitude_deg":11.964716,"altitude":77,"angle":357,"satellites":46,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721abb8","is_valid_coordinates":true} 
[2026-08-28 21:35:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:35:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710853120001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:35:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16242217693741056,"note":"Value kept but may cause issues"} 
[2026-08-28 21:35:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608730112,"note":"Value kept but may cause issues"} 
[2026-08-28 21:35:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:35:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787933041000,"timestamp_ms":1787933041000,"timestamp_seconds":1787933041,"priority":1,"record_length":96,"hex_timestamp":"000001a0491d2168"} 
[2026-08-28 21:35:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:35:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21:35:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-28 21:35:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:35:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:35:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:35:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:35:57] local.INFO: Teltonika packet parsed successfully {"connection_id":163797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:35:57] local.INFO: Passing IMEI to GPS processor {"connection_id":163797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:35:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":163797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:35:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.86.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:35:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:35:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:35:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710853120001,"66":12102,"120":206,"28":31744,"24":0,"16":16242217693741056,"45":1737615430608730112},"client_ip":"117.224.86.212","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 21:35:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:35:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:35:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710853120001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:35:57] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 21:35:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:35:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16242217693741056,"km_value":16242217693741.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:35:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608730112,"description":"Unknown IO ID 45"} 
[2026-08-28 21:35:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710853120001,"power":12102,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608730112}} 
[2026-08-28 21:35:57] 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":710600,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:35:57] local.INFO: GPS data processed {"connection_id":163797,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:35:57] local.INFO: Acknowledgment sent {"connection_id":163797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:36:00] local.INFO: TCP Data received {"connection_id":165082,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165082,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:36:00] local.INFO: Processing buffer {"connection_id":165082,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:36:00] local.INFO: IMEI packet received {"connection_id":165082,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 21:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":165082,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:36:01] local.INFO: TCP Data received {"connection_id":165082,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0491de4b8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0491de4b8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:36:01] local.INFO: Processing buffer {"connection_id":165082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0491de4b8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:36:01] local.INFO: Packet analysis {"connection_id":165082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0491d"} 
[2026-08-28 21:36:01] local.INFO: Extracted packet for processing {"connection_id":165082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0491d"} 
[2026-08-28 21:36:01] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21: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-28 21:36:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710794240001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:36:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:36:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:36:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:36:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787933091000,"timestamp_ms":1787933091000,"timestamp_seconds":1787933091,"priority":1,"record_length":96,"hex_timestamp":"000001a0491de4b8"} 
[2026-08-28 21: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-28 21:36:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21: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":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:36:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21: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-28 21: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-28 21:36:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:36:01] local.INFO: Teltonika packet parsed successfully {"connection_id":165082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:36:01] local.INFO: Passing IMEI to GPS processor {"connection_id":165082,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:36:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":165082,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:36:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:36:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:36:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:36:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710794240001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:36:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:36:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:36:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710794240001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:36:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:36:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:36:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:36:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:36:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710794240001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:36:01] 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":710601,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:36:01] local.INFO: GPS data processed {"connection_id":165082,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:36:01] local.INFO: Acknowledgment sent {"connection_id":165082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:36:08] local.INFO: TCP Data received {"connection_id":164074,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0491b5860012d34c14006aa4840001200e62a..."} 
[2026-08-28 21:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0491b5860012d34c14006aa4840001200e62a..."} 
[2026-08-28 21:36:08] local.INFO: Processing buffer {"connection_id":164074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0491b5860012d34c14006aa4840001200e62a..."} 
[2026-08-28 21:36:08] local.INFO: Packet analysis {"connection_id":164074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0491b"} 
[2026-08-28 21:36:08] local.INFO: Extracted packet for processing {"connection_id":164074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0491b"} 
[2026-08-28 21:36:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710751488001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:36:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787932924000,"timestamp_ms":1787932924000,"timestamp_seconds":1787932924,"priority":1,"record_length":96,"hex_timestamp":"000001a0491b5860"} 
[2026-08-28 21:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:36:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 21:36:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:36:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:36:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710751488001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710751488001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:36:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:36:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:36: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-28 21:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710751488001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":164074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:36:08] local.INFO: GPS data processed {"connection_id":164074,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:36:08] local.INFO: Acknowledgment sent {"connection_id":164074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:36:11] local.INFO: TCP Data received {"connection_id":165083,"ip":"117.224.86.212","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165083,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:36:11] local.INFO: Processing buffer {"connection_id":165083,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:36:11] local.INFO: IMEI packet received {"connection_id":165083,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 21:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":165083,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:36:15] local.INFO: TCP Data received {"connection_id":165083,"ip":"117.224.86.212","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165083,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:36:15] local.INFO: Processing buffer {"connection_id":165083,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:36:15] local.INFO: IMEI packet received {"connection_id":165083,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 21:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":165083,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:36:20] local.INFO: TCP Data received {"connection_id":165083,"ip":"117.224.86.212","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165083,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:36:20] local.INFO: Processing buffer {"connection_id":165083,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:36:20] local.INFO: IMEI packet received {"connection_id":165083,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 21:36:20] local.INFO: IMEI acknowledgment sent {"connection_id":165083,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:36:21] local.INFO: TCP Data received {"connection_id":165083,"ip":"117.224.86.212","data_length":795,"data_hex":"000000000000030f8e0a000001a0491d7370012d181d400721abb8004d01652e..."} 
[2026-08-28 21:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0491d7370012d181d400721abb8004d01652e..."} 
[2026-08-28 21:36:21] local.INFO: Processing buffer {"connection_id":165083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0491d7370012d181d400721abb8004d01652e..."} 
[2026-08-28 21:36:21] local.INFO: Packet analysis {"connection_id":165083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0491d"} 
[2026-08-28 21:36:21] local.INFO: Extracted packet for processing {"connection_id":165083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0491d"} 
[2026-08-28 21:36:21] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647160,"longitude_deg":75.6555072,"latitude_deg":11.964716,"altitude":77,"angle":357,"satellites":46,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721abb8","is_valid_coordinates":true} 
[2026-08-28 21:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710858496001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16242217693741056,"note":"Value kept but may cause issues"} 
[2026-08-28 21:36:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608730112,"note":"Value kept but may cause issues"} 
[2026-08-28 21:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787933062000,"timestamp_ms":1787933062000,"timestamp_seconds":1787933062,"priority":1,"record_length":96,"hex_timestamp":"000001a0491d7370"} 
[2026-08-28 21:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:36:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-28 21:36:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1063,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:36:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":165083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":165083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":165083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:36:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.86.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710858496001,"66":12341,"120":206,"28":31744,"24":0,"16":16242217693741056,"45":1737615430608730112},"client_ip":"117.224.86.212","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 21:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710858496001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:36:21] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 21:36:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16242217693741056,"km_value":16242217693741.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:36:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608730112,"description":"Unknown IO ID 45"} 
[2026-08-28 21:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710858496001,"power":12341,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737615430608730112}} 
[2026-08-28 21:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":165083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710603,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:36:21] local.INFO: GPS data processed {"connection_id":165083,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:36:21] local.INFO: Acknowledgment sent {"connection_id":165083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:36:29] local.INFO: TCP Data received {"connection_id":163798,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:36:29] local.INFO: Processing buffer {"connection_id":163798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:36:29] local.INFO: IMEI packet received {"connection_id":163798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 21:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":163798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:36:33] local.INFO: TCP Data received {"connection_id":165082,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0491de4b8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0491de4b8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:36:33] local.INFO: Processing buffer {"connection_id":165082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0491de4b8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:36:33] local.INFO: Packet analysis {"connection_id":165082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0491d"} 
[2026-08-28 21:36:33] local.INFO: Extracted packet for processing {"connection_id":165082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0491d"} 
[2026-08-28 21:36:33] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:36:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710794240001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:36:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787933091000,"timestamp_ms":1787933091000,"timestamp_seconds":1787933091,"priority":1,"record_length":96,"hex_timestamp":"000001a0491de4b8"} 
[2026-08-28 21:36:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:36:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:36:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:36:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:36:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:36:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":165082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":165082,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":165082,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:36:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710794240001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710794240001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:36:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:36:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710794240001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:36:33] 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":710604,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:36:33] local.INFO: GPS data processed {"connection_id":165082,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:36:33] local.INFO: Acknowledgment sent {"connection_id":165082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:36:35] local.INFO: TCP Data received {"connection_id":163798,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:36:35] local.INFO: Processing buffer {"connection_id":163798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:36:35] local.INFO: IMEI packet received {"connection_id":163798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 21:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":163798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:36:36] local.INFO: TCP Data received {"connection_id":163798,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0491b5860012d34c14006aa4840001200e62a..."} 
[2026-08-28 21:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0491b5860012d34c14006aa4840001200e62a..."} 
[2026-08-28 21:36:36] local.INFO: Processing buffer {"connection_id":163798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0491b5860012d34c14006aa4840001200e62a..."} 
[2026-08-28 21:36:36] local.INFO: Packet analysis {"connection_id":163798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0491b"} 
[2026-08-28 21:36:36] local.INFO: Extracted packet for processing {"connection_id":163798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0491b"} 
[2026-08-28 21:36:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710751488001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787932924000,"timestamp_ms":1787932924000,"timestamp_seconds":1787932924,"priority":1,"record_length":96,"hex_timestamp":"000001a0491b5860"} 
[2026-08-28 21:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:36:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 21:36:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:36:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:36:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710751488001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710751488001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:36:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:36:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710751488001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":163798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:36:36] local.INFO: GPS data processed {"connection_id":163798,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:36:36] local.INFO: Acknowledgment sent {"connection_id":163798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:36:53] local.INFO: TCP Data received {"connection_id":165083,"ip":"117.224.86.212","data_length":795,"data_hex":"000000000000030f8e0a000001a0491db1f0012d181d400721ac50005100c52e..."} 
[2026-08-28 21:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0491db1f0012d181d400721ac50005100c52e..."} 
[2026-08-28 21:36:53] local.INFO: Processing buffer {"connection_id":165083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0491db1f0012d181d400721ac50005100c52e..."} 
[2026-08-28 21:36:53] local.INFO: Packet analysis {"connection_id":165083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0491d"} 
[2026-08-28 21:36:53] local.INFO: Extracted packet for processing {"connection_id":165083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0491d"} 
[2026-08-28 21:36:53] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647312,"longitude_deg":75.6555072,"latitude_deg":11.9647312,"altitude":81,"angle":197,"satellites":46,"speed":3,"hex_longitude":"2d181d40","hex_latitude":"0721ac50","is_valid_coordinates":true} 
[2026-08-28 21:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:36:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710863872001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:36:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16242226283675648,"note":"Value kept but may cause issues"} 
[2026-08-28 21:36:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608730112,"note":"Value kept but may cause issues"} 
[2026-08-28 21:36:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:36:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787933078000,"timestamp_ms":1787933078000,"timestamp_seconds":1787933078,"priority":1,"record_length":96,"hex_timestamp":"000001a0491db1f0"} 
[2026-08-28 21:36:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:36:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-28 21:36:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:36:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:36:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:36:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:36:53] local.INFO: Teltonika packet parsed successfully {"connection_id":165083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:36:53] local.INFO: Passing IMEI to GPS processor {"connection_id":165083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:36:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":165083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:36:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.86.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:36:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:36:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:36:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710863872001,"66":12211,"120":206,"28":31744,"24":3,"16":16242226283675648,"45":1737615430608730112},"client_ip":"117.224.86.212","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-08-28 21:36:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:36:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:36:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710863872001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:36:53] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-28 21:36:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:36:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16242226283675648,"km_value":16242226283675.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:36:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608730112,"description":"Unknown IO ID 45"} 
[2026-08-28 21:36:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710863872001,"power":12211,"unknown_120":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1737615430608730112}} 
[2026-08-28 21:36:53] local.INFO: DEBUG: GPS processor result {"connection_id":165083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710606,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:36:53] local.INFO: GPS data processed {"connection_id":165083,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:36:53] local.INFO: Acknowledgment sent {"connection_id":165083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:36:55] local.INFO: TCP Data received {"connection_id":164075,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164075,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:36:55] local.INFO: Processing buffer {"connection_id":164075,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:36:55] local.INFO: IMEI packet received {"connection_id":164075,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 21:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":164075,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:37:01] local.INFO: TCP Data received {"connection_id":164075,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164075,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:37:01] local.INFO: Processing buffer {"connection_id":164075,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:37:01] local.INFO: IMEI packet received {"connection_id":164075,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 21:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":164075,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:37:03] local.INFO: TCP Data received {"connection_id":164075,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0491de4b8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0491de4b8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:37:03] local.INFO: Processing buffer {"connection_id":164075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0491de4b8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:37:03] local.INFO: Packet analysis {"connection_id":164075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0491d"} 
[2026-08-28 21:37:03] local.INFO: Extracted packet for processing {"connection_id":164075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0491d"} 
[2026-08-28 21:37:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710794240001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787933091000,"timestamp_ms":1787933091000,"timestamp_seconds":1787933091,"priority":1,"record_length":96,"hex_timestamp":"000001a0491de4b8"} 
[2026-08-28 21:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:37:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:37:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":164075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":164075,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":164075,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710794240001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710794240001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:37:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:37:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710794240001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":164075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710607,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:37:03] local.INFO: GPS data processed {"connection_id":164075,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:37:03] local.INFO: Acknowledgment sent {"connection_id":164075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:37:07] local.INFO: TCP Data received {"connection_id":163798,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0491b5860012d34c14006aa4840001200e62a..."} 
[2026-08-28 21:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0491b5860012d34c14006aa4840001200e62a..."} 
[2026-08-28 21:37:07] local.INFO: Processing buffer {"connection_id":163798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0491b5860012d34c14006aa4840001200e62a..."} 
[2026-08-28 21:37:07] local.INFO: Packet analysis {"connection_id":163798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0491b"} 
[2026-08-28 21:37:07] local.INFO: Extracted packet for processing {"connection_id":163798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0491b"} 
[2026-08-28 21:37:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710751488001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787932924000,"timestamp_ms":1787932924000,"timestamp_seconds":1787932924,"priority":1,"record_length":96,"hex_timestamp":"000001a0491b5860"} 
[2026-08-28 21:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:37:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 21:37:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:37:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":163798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":163798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":163798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:37:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710751488001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710751488001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:37:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:37:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:37: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-28 21:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710751488001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":163798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:37:07] local.INFO: GPS data processed {"connection_id":163798,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:37:07] local.INFO: Acknowledgment sent {"connection_id":163798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:37:13] local.INFO: TCP Data received {"connection_id":164076,"ip":"117.224.86.212","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164076,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:37:13] local.INFO: Processing buffer {"connection_id":164076,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:37:13] local.INFO: IMEI packet received {"connection_id":164076,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 21:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":164076,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:37:14] local.INFO: TCP Data received {"connection_id":164076,"ip":"117.224.86.212","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164076,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:37:14] local.INFO: Processing buffer {"connection_id":164076,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:37:14] local.INFO: IMEI packet received {"connection_id":164076,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 21:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":164076,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:37:19] local.INFO: TCP Data received {"connection_id":164076,"ip":"117.224.86.212","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164076,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:37:19] local.INFO: Processing buffer {"connection_id":164076,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:37:19] local.INFO: IMEI packet received {"connection_id":164076,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 21:37:19] local.INFO: IMEI acknowledgment sent {"connection_id":164076,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:37:21] local.INFO: TCP Data received {"connection_id":164076,"ip":"117.224.86.212","data_length":795,"data_hex":"000000000000030f8e0a000001a0491f30c0012d18534007218a400050007329..."} 
[2026-08-28 21:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0491f30c0012d18534007218a400050007329..."} 
[2026-08-28 21:37:21] local.INFO: Processing buffer {"connection_id":164076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0491f30c0012d18534007218a400050007329..."} 
[2026-08-28 21:37:21] local.INFO: Packet analysis {"connection_id":164076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0491f"} 
[2026-08-28 21:37:21] local.INFO: Extracted packet for processing {"connection_id":164076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0491f"} 
[2026-08-28 21:37:21] local.INFO: GPS Element Parsed {"raw_longitude":756568896,"raw_latitude":119638592,"longitude_deg":75.6568896,"latitude_deg":11.9638592,"altitude":80,"angle":115,"satellites":41,"speed":32,"hex_longitude":"2d185340","hex_latitude":"07218a40","is_valid_coordinates":true} 
[2026-08-28 21:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710889728001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16243042327461888,"note":"Value kept but may cause issues"} 
[2026-08-28 21:37:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1743456036374228992,"note":"Value kept but may cause issues"} 
[2026-08-28 21:37:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787933176000,"timestamp_ms":1787933176000,"timestamp_seconds":1787933176,"priority":1,"record_length":96,"hex_timestamp":"000001a0491f30c0"} 
[2026-08-28 21:37:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:37:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-08-28 21:37:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:37:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:37:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":164076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":164076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":164076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:37:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.86.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710889728001,"66":13537,"121":206,"28":31744,"24":32,"16":16243042327461888,"45":1743456036374228992},"client_ip":"117.224.86.212","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 21:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710889728001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:37:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 21:37:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16243042327461888,"km_value":16243042327461.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:37:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1743456036374228992,"description":"Unknown IO ID 45"} 
[2026-08-28 21:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710889728001,"power":13537,"unknown_121":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1743456036374228992}} 
[2026-08-28 21:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":164076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710609,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:37:21] local.INFO: GPS data processed {"connection_id":164076,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:37:21] local.INFO: Acknowledgment sent {"connection_id":164076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:37:34] local.INFO: TCP Data received {"connection_id":164075,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0491de4b8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0491de4b8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:37:34] local.INFO: Processing buffer {"connection_id":164075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0491de4b8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:37:34] local.INFO: Packet analysis {"connection_id":164075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0491d"} 
[2026-08-28 21:37:34] local.INFO: Extracted packet for processing {"connection_id":164075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0491d"} 
[2026-08-28 21:37:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710794240001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787933091000,"timestamp_ms":1787933091000,"timestamp_seconds":1787933091,"priority":1,"record_length":96,"hex_timestamp":"000001a0491de4b8"} 
[2026-08-28 21:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:37:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:37:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:37:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":164075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":164075,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":164075,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710794240001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710794240001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:37:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:37:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710794240001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":164075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710610,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:37:35] local.INFO: GPS data processed {"connection_id":164075,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:37:35] local.INFO: Acknowledgment sent {"connection_id":164075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:37:35] local.INFO: TCP Data received {"connection_id":165084,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:37:35] local.INFO: Processing buffer {"connection_id":165084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:37:35] local.INFO: IMEI packet received {"connection_id":165084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 21:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":165084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:37:40] local.INFO: TCP Data received {"connection_id":165084,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:37:40] local.INFO: Processing buffer {"connection_id":165084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:37:40] local.INFO: IMEI packet received {"connection_id":165084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 21:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":165084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:37:41] local.INFO: TCP Data received {"connection_id":165084,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0491b5860012d34c14006aa4840001200e62a..."} 
[2026-08-28 21:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0491b5860012d34c14006aa4840001200e62a..."} 
[2026-08-28 21:37:41] local.INFO: Processing buffer {"connection_id":165084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0491b5860012d34c14006aa4840001200e62a..."} 
[2026-08-28 21:37:41] local.INFO: Packet analysis {"connection_id":165084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0491b"} 
[2026-08-28 21:37:41] local.INFO: Extracted packet for processing {"connection_id":165084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0491b"} 
[2026-08-28 21:37:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":18,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21: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-28 21:37:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710751488001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:37:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:37:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:37:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:37:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787932924000,"timestamp_ms":1787932924000,"timestamp_seconds":1787932924,"priority":1,"record_length":96,"hex_timestamp":"000001a0491b5860"} 
[2026-08-28 21: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-28 21:37:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21: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":211,"data_length":795,"current_offset":136} 
[2026-08-28 21:37: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-28 21: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-28 21: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-28 21:37:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:37:41] local.INFO: Teltonika packet parsed successfully {"connection_id":165084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:37:41] local.INFO: Passing IMEI to GPS processor {"connection_id":165084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:37:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":165084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:37:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:37:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:37:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:37:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710751488001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:37:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:37:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:37:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710751488001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:37:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:37:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21: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-28 21:37:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:37:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710751488001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:37:41] 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":710611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:37:41] local.INFO: GPS data processed {"connection_id":165084,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:37:41] local.INFO: Acknowledgment sent {"connection_id":165084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:37:45] local.INFO: TCP Data received {"connection_id":165084,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0491ff028012d34c14006aa4840001000e62a..."} 
[2026-08-28 21:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0491ff028012d34c14006aa4840001000e62a..."} 
[2026-08-28 21:37:45] local.INFO: Processing buffer {"connection_id":165084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0491ff028012d34c14006aa4840001000e62a..."} 
[2026-08-28 21:37:45] local.INFO: Packet analysis {"connection_id":165084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0491f"} 
[2026-08-28 21:37:45] local.INFO: Extracted packet for processing {"connection_id":165084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0491f"} 
[2026-08-28 21:37:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21: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-28 21:37:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710828544001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:37:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:37:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:37:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:37:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787933225000,"timestamp_ms":1787933225000,"timestamp_seconds":1787933225,"priority":1,"record_length":96,"hex_timestamp":"000001a0491ff028"} 
[2026-08-28 21: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-28 21:37:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 21:37: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-28 21: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-28 21: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-28 21:37:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:37:45] local.INFO: Teltonika packet parsed successfully {"connection_id":165084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:37:45] local.INFO: Passing IMEI to GPS processor {"connection_id":165084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:37:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":165084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:37:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:37:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:37:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:37:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710828544001,"66":25299,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:37:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:37:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:37:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710828544001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:37:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:37:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21: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-28 21:37:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:37:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710828544001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:37:45] 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":710612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:37:45] local.INFO: GPS data processed {"connection_id":165084,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:37:45] local.INFO: Acknowledgment sent {"connection_id":165084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:37:52] local.INFO: TCP Data received {"connection_id":164076,"ip":"117.224.86.212","data_length":795,"data_hex":"000000000000030f8e0a000001a0491f4c18012d18678007218230004f00642a..."} 
[2026-08-28 21:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0491f4c18012d18678007218230004f00642a..."} 
[2026-08-28 21:37:52] local.INFO: Processing buffer {"connection_id":164076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0491f4c18012d18678007218230004f00642a..."} 
[2026-08-28 21:37:52] local.INFO: Packet analysis {"connection_id":164076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0491f"} 
[2026-08-28 21:37:52] local.INFO: Extracted packet for processing {"connection_id":164076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0491f"} 
[2026-08-28 21:37:52] local.INFO: GPS Element Parsed {"raw_longitude":756574080,"raw_latitude":119636528,"longitude_deg":75.657408,"latitude_deg":11.9636528,"altitude":79,"angle":100,"satellites":42,"speed":31,"hex_longitude":"2d186780","hex_latitude":"07218230","is_valid_coordinates":true} 
[2026-08-28 21: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-28 21:37:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710893056001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:37:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16243308615434240,"note":"Value kept but may cause issues"} 
[2026-08-28 21:37:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1752815079348912128,"note":"Value kept but may cause issues"} 
[2026-08-28 21:37:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:37:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787933183000,"timestamp_ms":1787933183000,"timestamp_seconds":1787933183,"priority":1,"record_length":96,"hex_timestamp":"000001a0491f4c18"} 
[2026-08-28 21: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-28 21:37:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-08-28 21:37:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21: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-28 21: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-28 21:37:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:37:52] local.INFO: Teltonika packet parsed successfully {"connection_id":164076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:37:52] local.INFO: Passing IMEI to GPS processor {"connection_id":164076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:37:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":164076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:37:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.86.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:37:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:37:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:37:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710893056001,"66":12972,"121":206,"28":31744,"24":31,"16":16243308615434240,"45":1752815079348912128},"client_ip":"117.224.86.212","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 21:37:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:37:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:37:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710893056001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:37:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 21:37:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:37:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16243308615434240,"km_value":16243308615434.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:37:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1752815079348912128,"description":"Unknown IO ID 45"} 
[2026-08-28 21:37:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710893056001,"power":12972,"unknown_121":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1752815079348912128}} 
[2026-08-28 21:37:52] local.INFO: DEBUG: GPS processor result {"connection_id":164076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710613,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:37:52] local.INFO: GPS data processed {"connection_id":164076,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:37:52] local.INFO: Acknowledgment sent {"connection_id":164076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:37:55] local.INFO: TCP Data received {"connection_id":163799,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163799,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:37:55] local.INFO: Processing buffer {"connection_id":163799,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:37:55] local.INFO: IMEI packet received {"connection_id":163799,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 21:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":163799,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:38:01] local.INFO: TCP Data received {"connection_id":163799,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163799,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:38:01] local.INFO: Processing buffer {"connection_id":163799,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:38:01] local.INFO: IMEI packet received {"connection_id":163799,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 21:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":163799,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:38:02] local.INFO: TCP Data received {"connection_id":163799,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0491de4b8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0491de4b8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:38:02] local.INFO: Processing buffer {"connection_id":163799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0491de4b8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:38:02] local.INFO: Packet analysis {"connection_id":163799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0491d"} 
[2026-08-28 21:38:02] local.INFO: Extracted packet for processing {"connection_id":163799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0491d"} 
[2026-08-28 21:38:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710794240001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:38:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:38:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787933091000,"timestamp_ms":1787933091000,"timestamp_seconds":1787933091,"priority":1,"record_length":96,"hex_timestamp":"000001a0491de4b8"} 
[2026-08-28 21:38:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:38:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:38:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:38:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:38:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163799,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163799,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:38:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710794240001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710794240001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:38:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:38:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:38:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710794240001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":163799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710614,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:38:02] local.INFO: GPS data processed {"connection_id":163799,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:38:02] local.INFO: Acknowledgment sent {"connection_id":163799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:38:14] local.INFO: TCP Data received {"connection_id":164077,"ip":"117.224.86.212","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:38:14] local.INFO: Processing buffer {"connection_id":164077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:38:14] local.INFO: IMEI packet received {"connection_id":164077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 21:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":164077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:38:16] local.INFO: TCP Data received {"connection_id":164077,"ip":"117.224.86.212","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:38:16] local.INFO: Processing buffer {"connection_id":164077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:38:16] local.INFO: IMEI packet received {"connection_id":164077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 21:38:16] local.INFO: IMEI acknowledgment sent {"connection_id":164077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:38:19] local.INFO: TCP Data received {"connection_id":164077,"ip":"117.224.86.212","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:38:20] local.INFO: Processing buffer {"connection_id":164077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:38:20] local.INFO: IMEI packet received {"connection_id":164077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 21:38:20] local.INFO: IMEI acknowledgment sent {"connection_id":164077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:38:21] local.INFO: TCP Data received {"connection_id":164077,"ip":"117.224.86.212","data_length":795,"data_hex":"000000000000030f8e0a000001a049200f68012d18d20007212810004700a228..."} 
[2026-08-28 21:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049200f68012d18d20007212810004700a228..."} 
[2026-08-28 21:38:21] local.INFO: Processing buffer {"connection_id":164077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049200f68012d18d20007212810004700a228..."} 
[2026-08-28 21:38:21] local.INFO: Packet analysis {"connection_id":164077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04920"} 
[2026-08-28 21:38:21] local.INFO: Extracted packet for processing {"connection_id":164077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04920"} 
[2026-08-28 21:38:21] local.INFO: GPS Element Parsed {"raw_longitude":756601344,"raw_latitude":119613456,"longitude_deg":75.6601344,"latitude_deg":11.9613456,"altitude":71,"angle":162,"satellites":40,"speed":33,"hex_longitude":"2d18d200","hex_latitude":"07212810","is_valid_coordinates":true} 
[2026-08-28 21:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:38:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710906368001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:38:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16245232760782848,"note":"Value kept but may cause issues"} 
[2026-08-28 21:38:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786240232827791360,"note":"Value kept but may cause issues"} 
[2026-08-28 21:38:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:38:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787933233000,"timestamp_ms":1787933233000,"timestamp_seconds":1787933233,"priority":1,"record_length":96,"hex_timestamp":"000001a049200f68"} 
[2026-08-28 21:38:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:38:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-08-28 21:38:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:38:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:38:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:38:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:38:21] local.INFO: Teltonika packet parsed successfully {"connection_id":164077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:38:21] local.INFO: Passing IMEI to GPS processor {"connection_id":164077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:38:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":164077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:38:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.86.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:38:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:38:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:38:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710906368001,"66":13526,"121":206,"28":31744,"24":33,"16":16245232760782848,"45":1786240232827791360},"client_ip":"117.224.86.212","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 21:38:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:38:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:38:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710906368001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:38:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 21:38:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:38:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16245232760782848,"km_value":16245232760782.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:38:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786240232827791360,"description":"Unknown IO ID 45"} 
[2026-08-28 21:38:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710906368001,"power":13526,"unknown_121":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1786240232827791360}} 
[2026-08-28 21:38:21] local.INFO: DEBUG: GPS processor result {"connection_id":164077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710615,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:38:21] local.INFO: GPS data processed {"connection_id":164077,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:38:21] local.INFO: Acknowledgment sent {"connection_id":164077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:38:29] local.INFO: TCP Data received {"connection_id":163800,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:38:29] local.INFO: Processing buffer {"connection_id":163800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:38:29] local.INFO: IMEI packet received {"connection_id":163800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 21:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":163800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:38:34] local.INFO: TCP Data received {"connection_id":163799,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0491de4b8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0491de4b8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:38:34] local.INFO: Processing buffer {"connection_id":163799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0491de4b8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:38:34] local.INFO: Packet analysis {"connection_id":163799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0491d"} 
[2026-08-28 21:38:34] local.INFO: Extracted packet for processing {"connection_id":163799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0491d"} 
[2026-08-28 21:38:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710794240001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:38:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:38:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787933091000,"timestamp_ms":1787933091000,"timestamp_seconds":1787933091,"priority":1,"record_length":96,"hex_timestamp":"000001a0491de4b8"} 
[2026-08-28 21:38:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:38:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:38:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:38:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:38:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163799,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163799,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:38:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710794240001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710794240001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:38:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:38:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:38:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710794240001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":163799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710616,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:38:34] local.INFO: GPS data processed {"connection_id":163799,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:38:34] local.INFO: Acknowledgment sent {"connection_id":163799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:38:35] local.INFO: TCP Data received {"connection_id":163800,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:38:35] local.INFO: Processing buffer {"connection_id":163800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:38:35] local.INFO: IMEI packet received {"connection_id":163800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 21:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":163800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:38:36] local.INFO: TCP Data received {"connection_id":163800,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0491ff028012d34c14006aa4840001000e62a..."} 
[2026-08-28 21:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0491ff028012d34c14006aa4840001000e62a..."} 
[2026-08-28 21:38:36] local.INFO: Processing buffer {"connection_id":163800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0491ff028012d34c14006aa4840001000e62a..."} 
[2026-08-28 21:38:36] local.INFO: Packet analysis {"connection_id":163800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0491f"} 
[2026-08-28 21:38:36] local.INFO: Extracted packet for processing {"connection_id":163800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0491f"} 
[2026-08-28 21:38:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710828544001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:38:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787933225000,"timestamp_ms":1787933225000,"timestamp_seconds":1787933225,"priority":1,"record_length":96,"hex_timestamp":"000001a0491ff028"} 
[2026-08-28 21:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:38:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 21:38:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:38:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:38:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710828544001,"66":25299,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710828544001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:38:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:38:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710828544001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:38:36] 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":710617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:38:36] local.INFO: GPS data processed {"connection_id":163800,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:38:36] local.INFO: Acknowledgment sent {"connection_id":163800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:38:52] local.INFO: TCP Data received {"connection_id":164077,"ip":"117.224.86.212","data_length":795,"data_hex":"000000000000030f8e0a000001a04920ced0012d1953400720aac80035006124..."} 
[2026-08-28 21:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04920ced0012d1953400720aac80035006124..."} 
[2026-08-28 21:38:52] local.INFO: Processing buffer {"connection_id":164077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04920ced0012d1953400720aac80035006124..."} 
[2026-08-28 21:38:52] local.INFO: Packet analysis {"connection_id":164077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04920"} 
[2026-08-28 21:38:52] local.INFO: Extracted packet for processing {"connection_id":164077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04920"} 
[2026-08-28 21:38:52] local.INFO: GPS Element Parsed {"raw_longitude":756634432,"raw_latitude":119581384,"longitude_deg":75.6634432,"latitude_deg":11.9581384,"altitude":53,"angle":97,"satellites":36,"speed":34,"hex_longitude":"2d195340","hex_latitude":"0720aac8","is_valid_coordinates":true} 
[2026-08-28 21:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:38:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710919168001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:38:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16247633647501312,"note":"Value kept but may cause issues"} 
[2026-08-28 21:38:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1820791286210148352,"note":"Value kept but may cause issues"} 
[2026-08-28 21:38:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:38:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787933282000,"timestamp_ms":1787933282000,"timestamp_seconds":1787933282,"priority":1,"record_length":96,"hex_timestamp":"000001a04920ced0"} 
[2026-08-28 21:38:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:38:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-28 21:38:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:38:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:38:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:38:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:38:52] local.INFO: Teltonika packet parsed successfully {"connection_id":164077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:38:52] local.INFO: Passing IMEI to GPS processor {"connection_id":164077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:38:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":164077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:38:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.86.212","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:38:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:38:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:38:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710919168001,"66":12809,"121":206,"28":31744,"24":34,"16":16247633647501312,"45":1820791286210148352},"client_ip":"117.224.86.212","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 21:38:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:38:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:38:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710919168001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:38:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 21:38:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:38:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16247633647501312,"km_value":16247633647501.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:38:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1820791286210148352,"description":"Unknown IO ID 45"} 
[2026-08-28 21:38:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710919168001,"power":12809,"unknown_121":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1820791286210148352}} 
[2026-08-28 21:38:52] local.INFO: DEBUG: GPS processor result {"connection_id":164077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710618,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:38:52] local.INFO: GPS data processed {"connection_id":164077,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:38:52] local.INFO: Acknowledgment sent {"connection_id":164077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:39:01] local.INFO: TCP Data received {"connection_id":163801,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163801,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:39:01] local.INFO: Processing buffer {"connection_id":163801,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:39:01] local.INFO: IMEI packet received {"connection_id":163801,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 21:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":163801,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:39:06] local.INFO: TCP Data received {"connection_id":163801,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163801,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:39:06] local.INFO: Processing buffer {"connection_id":163801,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:39:06] local.INFO: IMEI packet received {"connection_id":163801,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 21:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":163801,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:39:08] local.INFO: TCP Data received {"connection_id":163800,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0491ff028012d34c14006aa4840001000e62a..."} 
[2026-08-28 21:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0491ff028012d34c14006aa4840001000e62a..."} 
[2026-08-28 21:39:08] local.INFO: Processing buffer {"connection_id":163800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0491ff028012d34c14006aa4840001000e62a..."} 
[2026-08-28 21:39:08] local.INFO: Packet analysis {"connection_id":163800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0491f"} 
[2026-08-28 21:39:08] local.INFO: Extracted packet for processing {"connection_id":163800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0491f"} 
[2026-08-28 21:39:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710828544001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:39:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787933225000,"timestamp_ms":1787933225000,"timestamp_seconds":1787933225,"priority":1,"record_length":96,"hex_timestamp":"000001a0491ff028"} 
[2026-08-28 21:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:39:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 21:39:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:39:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:39:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710828544001,"66":25299,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710828544001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:39:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:39:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:39: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-28 21:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710828544001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:39:08] 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":710619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:39:08] local.INFO: GPS data processed {"connection_id":163800,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:39:08] local.INFO: Acknowledgment sent {"connection_id":163800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:39:08] local.INFO: TCP Data received {"connection_id":163801,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0491de4b8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0491de4b8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:39:08] local.INFO: Processing buffer {"connection_id":163801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0491de4b8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:39:08] local.INFO: Packet analysis {"connection_id":163801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0491d"} 
[2026-08-28 21:39:08] local.INFO: Extracted packet for processing {"connection_id":163801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0491d"} 
[2026-08-28 21:39:08] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710794240001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:39:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787933091000,"timestamp_ms":1787933091000,"timestamp_seconds":1787933091,"priority":1,"record_length":96,"hex_timestamp":"000001a0491de4b8"} 
[2026-08-28 21:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:39:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:39:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:39:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163801,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163801,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:39:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710794240001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710794240001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:39:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:39:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710794240001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:39:08] 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":710620,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:39:08] local.INFO: GPS data processed {"connection_id":163801,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:39:08] local.INFO: Acknowledgment sent {"connection_id":163801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:39:11] local.INFO: TCP Data received {"connection_id":163801,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0491de4b8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0491de4b8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:39:11] local.INFO: Processing buffer {"connection_id":163801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0491de4b8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:39:11] local.INFO: Packet analysis {"connection_id":163801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0491d"} 
[2026-08-28 21:39:11] local.INFO: Extracted packet for processing {"connection_id":163801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0491d"} 
[2026-08-28 21:39:11] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710794240001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:39:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787933091000,"timestamp_ms":1787933091000,"timestamp_seconds":1787933091,"priority":1,"record_length":96,"hex_timestamp":"000001a0491de4b8"} 
[2026-08-28 21:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:39:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:39:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:39:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":163801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":163801,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":163801,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710794240001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710794240001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:39:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:39:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710794240001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:39:11] 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":710621,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:39:11] local.INFO: GPS data processed {"connection_id":163801,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:39:11] local.INFO: Acknowledgment sent {"connection_id":163801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:39:14] local.INFO: TCP Data received {"connection_id":164078,"ip":"117.224.86.212","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164078,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:39:14] local.INFO: Processing buffer {"connection_id":164078,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:39:14] local.INFO: IMEI packet received {"connection_id":164078,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 21:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":164078,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:39:14] local.INFO: TCP Data received {"connection_id":164078,"ip":"117.224.86.212","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164078,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:39:14] local.INFO: Processing buffer {"connection_id":164078,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:39:14] local.INFO: IMEI packet received {"connection_id":164078,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 21:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":164078,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:39:15] local.INFO: TCP Data received {"connection_id":164078,"ip":"117.224.86.212","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164078,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:39:15] local.INFO: Processing buffer {"connection_id":164078,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:39:15] local.INFO: IMEI packet received {"connection_id":164078,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 21:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":164078,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:39:16] local.INFO: TCP Data received {"connection_id":164078,"ip":"117.224.86.212","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164078,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:39:16] local.INFO: Processing buffer {"connection_id":164078,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:39:16] local.INFO: IMEI packet received {"connection_id":164078,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 21:39:16] local.INFO: IMEI acknowledgment sent {"connection_id":164078,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:39:29] local.INFO: TCP Data received {"connection_id":163802,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:39:29] local.INFO: Processing buffer {"connection_id":163802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:39:29] local.INFO: IMEI packet received {"connection_id":163802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 21:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":163802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:39:35] local.INFO: TCP Data received {"connection_id":163802,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:39:35] local.INFO: Processing buffer {"connection_id":163802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:39:35] local.INFO: IMEI packet received {"connection_id":163802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 21:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":163802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:39:37] local.INFO: TCP Data received {"connection_id":163802,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0491ff028012d34c14006aa4840001000e62a..."} 
[2026-08-28 21:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0491ff028012d34c14006aa4840001000e62a..."} 
[2026-08-28 21:39:37] local.INFO: Processing buffer {"connection_id":163802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0491ff028012d34c14006aa4840001000e62a..."} 
[2026-08-28 21:39:37] local.INFO: Packet analysis {"connection_id":163802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0491f"} 
[2026-08-28 21:39:37] local.INFO: Extracted packet for processing {"connection_id":163802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0491f"} 
[2026-08-28 21:39:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710828544001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787933225000,"timestamp_ms":1787933225000,"timestamp_seconds":1787933225,"priority":1,"record_length":96,"hex_timestamp":"000001a0491ff028"} 
[2026-08-28 21:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 21:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710828544001,"66":25299,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710828544001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:39:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:39:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:39: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-28 21:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710828544001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:39:37] 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":710622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:39:37] local.INFO: GPS data processed {"connection_id":163802,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:39:37] local.INFO: Acknowledgment sent {"connection_id":163802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:39:55] local.INFO: TCP Data received {"connection_id":164079,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164079,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:39:55] local.INFO: Processing buffer {"connection_id":164079,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:39:55] local.INFO: IMEI packet received {"connection_id":164079,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 21:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":164079,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:40:01] local.INFO: TCP Data received {"connection_id":164079,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164079,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:40:01] local.INFO: Processing buffer {"connection_id":164079,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:40:01] local.INFO: IMEI packet received {"connection_id":164079,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 21:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":164079,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:40:03] local.INFO: TCP Data received {"connection_id":164079,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0491de4b8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0491de4b8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:40:03] local.INFO: Processing buffer {"connection_id":164079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0491de4b8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:40:03] local.INFO: Packet analysis {"connection_id":164079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0491d"} 
[2026-08-28 21:40:03] local.INFO: Extracted packet for processing {"connection_id":164079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0491d"} 
[2026-08-28 21:40:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710794240001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787933091000,"timestamp_ms":1787933091000,"timestamp_seconds":1787933091,"priority":1,"record_length":96,"hex_timestamp":"000001a0491de4b8"} 
[2026-08-28 21:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:40:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:40:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:40:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":164079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":164079,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":164079,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710794240001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710794240001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:40:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:40:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710794240001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":164079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710623,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:40:03] local.INFO: GPS data processed {"connection_id":164079,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:40:03] local.INFO: Acknowledgment sent {"connection_id":164079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:40:08] local.INFO: TCP Data received {"connection_id":163802,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0491ff028012d34c14006aa4840001000e62a..."} 
[2026-08-28 21:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0491ff028012d34c14006aa4840001000e62a..."} 
[2026-08-28 21:40:08] local.INFO: Processing buffer {"connection_id":163802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0491ff028012d34c14006aa4840001000e62a..."} 
[2026-08-28 21:40:08] local.INFO: Packet analysis {"connection_id":163802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0491f"} 
[2026-08-28 21:40:08] local.INFO: Extracted packet for processing {"connection_id":163802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0491f"} 
[2026-08-28 21:40:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710828544001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:40:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787933225000,"timestamp_ms":1787933225000,"timestamp_seconds":1787933225,"priority":1,"record_length":96,"hex_timestamp":"000001a0491ff028"} 
[2026-08-28 21:40:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:40:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 21:40:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:40:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:40:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:40:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710828544001,"66":25299,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710828544001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:40:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:40:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:40: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-28 21:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710828544001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:40:08] 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":710624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:40:08] local.INFO: GPS data processed {"connection_id":163802,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:40:08] local.INFO: Acknowledgment sent {"connection_id":163802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:40:34] local.INFO: TCP Data received {"connection_id":164079,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049227c80012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049227c80012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:40:34] local.INFO: Processing buffer {"connection_id":164079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049227c80012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:40:34] local.INFO: Packet analysis {"connection_id":164079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04922"} 
[2026-08-28 21:40:34] local.INFO: Extracted packet for processing {"connection_id":164079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04922"} 
[2026-08-28 21:40:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710871296001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:40:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787933392000,"timestamp_ms":1787933392000,"timestamp_seconds":1787933392,"priority":1,"record_length":96,"hex_timestamp":"000001a049227c80"} 
[2026-08-28 21:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:40:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:40:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:40:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":164079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":164079,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":164079,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:40:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710871296001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710871296001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:40:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:40:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710871296001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":164079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710625,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:40:34] local.INFO: GPS data processed {"connection_id":164079,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:40:34] local.INFO: Acknowledgment sent {"connection_id":164079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:40:35] local.INFO: TCP Data received {"connection_id":166445,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:40:35] local.INFO: Processing buffer {"connection_id":166445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:40:35] local.INFO: IMEI packet received {"connection_id":166445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 21:40:35] local.INFO: IMEI acknowledgment sent {"connection_id":166445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:40:40] local.INFO: TCP Data received {"connection_id":166445,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:40:40] local.INFO: Processing buffer {"connection_id":166445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:40:40] local.INFO: IMEI packet received {"connection_id":166445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 21:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":166445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:40:41] local.INFO: TCP Data received {"connection_id":166445,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0491ff028012d34c14006aa4840001000e62a..."} 
[2026-08-28 21:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0491ff028012d34c14006aa4840001000e62a..."} 
[2026-08-28 21:40:41] local.INFO: Processing buffer {"connection_id":166445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0491ff028012d34c14006aa4840001000e62a..."} 
[2026-08-28 21:40:41] local.INFO: Packet analysis {"connection_id":166445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0491f"} 
[2026-08-28 21:40:41] local.INFO: Extracted packet for processing {"connection_id":166445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0491f"} 
[2026-08-28 21:40:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21: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-28 21:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710828544001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:40:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:40:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787933225000,"timestamp_ms":1787933225000,"timestamp_seconds":1787933225,"priority":1,"record_length":96,"hex_timestamp":"000001a0491ff028"} 
[2026-08-28 21: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-28 21:40:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 21:40: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-28 21: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-28 21: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-28 21:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":166445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":166445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":166445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:40:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710828544001,"66":25299,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710828544001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:40:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:40:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21: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-28 21:40:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710828544001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":166445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:40:41] local.INFO: GPS data processed {"connection_id":166445,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:40:41] local.INFO: Acknowledgment sent {"connection_id":166445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:40:45] local.INFO: TCP Data received {"connection_id":166445,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0491ff028012d34c14006aa4840001000e62a..."} 
[2026-08-28 21:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0491ff028012d34c14006aa4840001000e62a..."} 
[2026-08-28 21:40:45] local.INFO: Processing buffer {"connection_id":166445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0491ff028012d34c14006aa4840001000e62a..."} 
[2026-08-28 21:40:45] local.INFO: Packet analysis {"connection_id":166445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0491f"} 
[2026-08-28 21:40:45] local.INFO: Extracted packet for processing {"connection_id":166445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0491f"} 
[2026-08-28 21:40:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21: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-28 21:40:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710828544001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:40:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:40:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:40:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:40:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787933225000,"timestamp_ms":1787933225000,"timestamp_seconds":1787933225,"priority":1,"record_length":96,"hex_timestamp":"000001a0491ff028"} 
[2026-08-28 21: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-28 21:40:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 21:40: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-28 21: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-28 21: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-28 21:40:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:40:45] local.INFO: Teltonika packet parsed successfully {"connection_id":166445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:40:45] local.INFO: Passing IMEI to GPS processor {"connection_id":166445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:40:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":166445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:40:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:40:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:40:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:40:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710828544001,"66":25299,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:40:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:40:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:40:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710828544001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:40:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:40:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21: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-28 21:40:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:40:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710828544001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:40:45] local.INFO: DEBUG: GPS processor result {"connection_id":166445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:40:45] local.INFO: GPS data processed {"connection_id":166445,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:40:45] local.INFO: Acknowledgment sent {"connection_id":166445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:40:55] local.INFO: TCP Data received {"connection_id":166446,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166446,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:40:55] local.INFO: Processing buffer {"connection_id":166446,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:40:55] local.INFO: IMEI packet received {"connection_id":166446,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 21:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":166446,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:41:01] local.INFO: TCP Data received {"connection_id":166446,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166446,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:41:01] local.INFO: Processing buffer {"connection_id":166446,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:41:01] local.INFO: IMEI packet received {"connection_id":166446,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 21:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":166446,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:41:02] local.INFO: TCP Data received {"connection_id":166446,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049227c80012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049227c80012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:41:02] local.INFO: Processing buffer {"connection_id":166446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049227c80012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:41:02] local.INFO: Packet analysis {"connection_id":166446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04922"} 
[2026-08-28 21:41:02] local.INFO: Extracted packet for processing {"connection_id":166446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04922"} 
[2026-08-28 21:41:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710871296001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:41:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:41:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787933392000,"timestamp_ms":1787933392000,"timestamp_seconds":1787933392,"priority":1,"record_length":96,"hex_timestamp":"000001a049227c80"} 
[2026-08-28 21:41:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:41:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:41:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:41:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:41:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":166446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":166446,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":166446,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:41:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710871296001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710871296001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:41:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:41:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:41:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:41:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710871296001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:41:02] local.INFO: DEBUG: GPS processor result {"connection_id":166446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710628,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:41:02] local.INFO: GPS data processed {"connection_id":166446,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:41:02] local.INFO: Acknowledgment sent {"connection_id":166446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:41:30] local.INFO: TCP Data received {"connection_id":165086,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:41:30] local.INFO: Processing buffer {"connection_id":165086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:41:30] local.INFO: IMEI packet received {"connection_id":165086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 21:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":165086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:41:34] local.INFO: TCP Data received {"connection_id":166446,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049227c80012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049227c80012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:41:34] local.INFO: Processing buffer {"connection_id":166446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049227c80012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:41:34] local.INFO: Packet analysis {"connection_id":166446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04922"} 
[2026-08-28 21:41:34] local.INFO: Extracted packet for processing {"connection_id":166446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04922"} 
[2026-08-28 21:41:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:41:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710871296001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:41:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:41:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:41:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:41:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787933392000,"timestamp_ms":1787933392000,"timestamp_seconds":1787933392,"priority":1,"record_length":96,"hex_timestamp":"000001a049227c80"} 
[2026-08-28 21:41:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:41:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:41:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:41:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:41:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:41:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:41:34] local.INFO: Teltonika packet parsed successfully {"connection_id":166446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:41:34] local.INFO: Passing IMEI to GPS processor {"connection_id":166446,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:41:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":166446,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:41:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:41:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:41:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:41:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710871296001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:41:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:41:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:41:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710871296001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:41:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:41:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:41:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:41:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:41:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710871296001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:41:34] local.INFO: DEBUG: GPS processor result {"connection_id":166446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710629,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:41:34] local.INFO: GPS data processed {"connection_id":166446,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:41:34] local.INFO: Acknowledgment sent {"connection_id":166446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:41:35] local.INFO: TCP Data received {"connection_id":165086,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:41:35] local.INFO: Processing buffer {"connection_id":165086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:41:35] local.INFO: IMEI packet received {"connection_id":165086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 21:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":165086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:41:36] local.INFO: TCP Data received {"connection_id":165086,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0491ff028012d34c14006aa4840001000e62a..."} 
[2026-08-28 21:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0491ff028012d34c14006aa4840001000e62a..."} 
[2026-08-28 21:41:36] local.INFO: Processing buffer {"connection_id":165086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0491ff028012d34c14006aa4840001000e62a..."} 
[2026-08-28 21:41:36] local.INFO: Packet analysis {"connection_id":165086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0491f"} 
[2026-08-28 21:41:36] local.INFO: Extracted packet for processing {"connection_id":165086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0491f"} 
[2026-08-28 21:41:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710828544001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787933225000,"timestamp_ms":1787933225000,"timestamp_seconds":1787933225,"priority":1,"record_length":96,"hex_timestamp":"000001a0491ff028"} 
[2026-08-28 21:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:41:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 21:41:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:41:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":165086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":165086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":165086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710828544001,"66":25299,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710828544001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:41:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:41:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710828544001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:41:36] 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":710630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:41:36] local.INFO: GPS data processed {"connection_id":165086,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:41:36] local.INFO: Acknowledgment sent {"connection_id":165086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:41:56] local.INFO: TCP Data received {"connection_id":166447,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166447,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:41:56] local.INFO: Processing buffer {"connection_id":166447,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:41:56] local.INFO: IMEI packet received {"connection_id":166447,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 21:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":166447,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:42:01] local.INFO: TCP Data received {"connection_id":166447,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166447,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:42:01] local.INFO: Processing buffer {"connection_id":166447,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:42:01] local.INFO: IMEI packet received {"connection_id":166447,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 21:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":166447,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:42:03] local.INFO: TCP Data received {"connection_id":166447,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049227c80012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049227c80012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:42:03] local.INFO: Processing buffer {"connection_id":166447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049227c80012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:42:03] local.INFO: Packet analysis {"connection_id":166447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04922"} 
[2026-08-28 21:42:03] local.INFO: Extracted packet for processing {"connection_id":166447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04922"} 
[2026-08-28 21:42:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710871296001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:42:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787933392000,"timestamp_ms":1787933392000,"timestamp_seconds":1787933392,"priority":1,"record_length":96,"hex_timestamp":"000001a049227c80"} 
[2026-08-28 21:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:42:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:42:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:42:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":166447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":166447,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":166447,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710871296001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710871296001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:42:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:42:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710871296001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":166447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710631,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:42:03] local.INFO: GPS data processed {"connection_id":166447,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:42:03] local.INFO: Acknowledgment sent {"connection_id":166447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:42:08] local.INFO: TCP Data received {"connection_id":165086,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0491ff028012d34c14006aa4840001000e62a..."} 
[2026-08-28 21:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0491ff028012d34c14006aa4840001000e62a..."} 
[2026-08-28 21:42:08] local.INFO: Processing buffer {"connection_id":165086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0491ff028012d34c14006aa4840001000e62a..."} 
[2026-08-28 21:42:08] local.INFO: Packet analysis {"connection_id":165086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0491f"} 
[2026-08-28 21:42:08] local.INFO: Extracted packet for processing {"connection_id":165086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0491f"} 
[2026-08-28 21:42:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710828544001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:42:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787933225000,"timestamp_ms":1787933225000,"timestamp_seconds":1787933225,"priority":1,"record_length":96,"hex_timestamp":"000001a0491ff028"} 
[2026-08-28 21:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:42:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 21:42:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:42:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":165086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":165086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":165086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710828544001,"66":25299,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710828544001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:42:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:42:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21: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-28 21:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710828544001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:42:08] 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":710632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:42:08] local.INFO: GPS data processed {"connection_id":165086,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:42:08] local.INFO: Acknowledgment sent {"connection_id":165086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:42:30] local.INFO: TCP Data received {"connection_id":166448,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:42:30] local.INFO: Processing buffer {"connection_id":166448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:42:30] local.INFO: IMEI packet received {"connection_id":166448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 21:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":166448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:42:35] local.INFO: TCP Data received {"connection_id":166448,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:42:35] local.INFO: Processing buffer {"connection_id":166448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:42:35] local.INFO: IMEI packet received {"connection_id":166448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 21:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":166448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:42:35] local.INFO: TCP Data received {"connection_id":166447,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049227c80012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049227c80012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:42:35] local.INFO: Processing buffer {"connection_id":166447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049227c80012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:42:35] local.INFO: Packet analysis {"connection_id":166447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04922"} 
[2026-08-28 21:42:35] local.INFO: Extracted packet for processing {"connection_id":166447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04922"} 
[2026-08-28 21:42:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710871296001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787933392000,"timestamp_ms":1787933392000,"timestamp_seconds":1787933392,"priority":1,"record_length":96,"hex_timestamp":"000001a049227c80"} 
[2026-08-28 21:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:42:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:42:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:42:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":166447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":166447,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":166447,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710871296001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710871296001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:42:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:42:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710871296001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":166447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710633,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:42:35] local.INFO: GPS data processed {"connection_id":166447,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:42:35] local.INFO: Acknowledgment sent {"connection_id":166447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:42:36] local.INFO: TCP Data received {"connection_id":166448,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0491ff028012d34c14006aa4840001000e62a..."} 
[2026-08-28 21:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0491ff028012d34c14006aa4840001000e62a..."} 
[2026-08-28 21:42:36] local.INFO: Processing buffer {"connection_id":166448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0491ff028012d34c14006aa4840001000e62a..."} 
[2026-08-28 21:42:36] local.INFO: Packet analysis {"connection_id":166448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0491f"} 
[2026-08-28 21:42:36] local.INFO: Extracted packet for processing {"connection_id":166448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0491f"} 
[2026-08-28 21:42:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":16,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710828544001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:42:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787933225000,"timestamp_ms":1787933225000,"timestamp_seconds":1787933225,"priority":1,"record_length":96,"hex_timestamp":"000001a0491ff028"} 
[2026-08-28 21:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:42:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 21:42:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:42:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":166448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":166448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":166448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:42:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710828544001,"66":25299,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710828544001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:42:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:42:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710828544001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":166448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:42:36] local.INFO: GPS data processed {"connection_id":166448,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:42:36] local.INFO: Acknowledgment sent {"connection_id":166448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:42:55] local.INFO: TCP Data received {"connection_id":165088,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165088,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:42:55] local.INFO: Processing buffer {"connection_id":165088,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:42:55] local.INFO: IMEI packet received {"connection_id":165088,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 21:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":165088,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:43:01] local.INFO: TCP Data received {"connection_id":165088,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165088,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:43:01] local.INFO: Processing buffer {"connection_id":165088,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:43:01] local.INFO: IMEI packet received {"connection_id":165088,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 21:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":165088,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:43:02] local.INFO: TCP Data received {"connection_id":165088,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049227c80012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049227c80012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:43:02] local.INFO: Processing buffer {"connection_id":165088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049227c80012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:43:02] local.INFO: Packet analysis {"connection_id":165088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04922"} 
[2026-08-28 21:43:02] local.INFO: Extracted packet for processing {"connection_id":165088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04922"} 
[2026-08-28 21:43:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710871296001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:43:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:43:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787933392000,"timestamp_ms":1787933392000,"timestamp_seconds":1787933392,"priority":1,"record_length":96,"hex_timestamp":"000001a049227c80"} 
[2026-08-28 21:43:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:43:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:43:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:43:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:43:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":165088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":165088,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":165088,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:43:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710871296001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710871296001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:43:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:43:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:43:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710871296001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:43:02] local.INFO: DEBUG: GPS processor result {"connection_id":165088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710635,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:43:02] local.INFO: GPS data processed {"connection_id":165088,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:43:02] local.INFO: Acknowledgment sent {"connection_id":165088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:43:08] local.INFO: TCP Data received {"connection_id":166448,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0492487f0012d34c14006aa4840000e00e62d..."} 
[2026-08-28 21:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0492487f0012d34c14006aa4840000e00e62d..."} 
[2026-08-28 21:43:08] local.INFO: Processing buffer {"connection_id":166448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0492487f0012d34c14006aa4840000e00e62d..."} 
[2026-08-28 21:43:08] local.INFO: Packet analysis {"connection_id":166448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04924"} 
[2026-08-28 21:43:08] local.INFO: Extracted packet for processing {"connection_id":166448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04924"} 
[2026-08-28 21:43:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:43:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710905600001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:43:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:43:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:43:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:43:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787933526000,"timestamp_ms":1787933526000,"timestamp_seconds":1787933526,"priority":1,"record_length":96,"hex_timestamp":"000001a0492487f0"} 
[2026-08-28 21:43:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:43:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 21:43:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:43:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:43:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:43:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:43:08] local.INFO: Teltonika packet parsed successfully {"connection_id":166448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:43:08] local.INFO: Passing IMEI to GPS processor {"connection_id":166448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:43:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":166448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:43:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:43:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:43:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:43:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710905600001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:43:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:43:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:43:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710905600001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:43:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:43:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:43: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-28 21:43:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:43:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710905600001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:43:08] local.INFO: DEBUG: GPS processor result {"connection_id":166448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:43:08] local.INFO: GPS data processed {"connection_id":166448,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:43:08] local.INFO: Acknowledgment sent {"connection_id":166448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:43:29] local.INFO: TCP Data received {"connection_id":165089,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:43:29] local.INFO: Processing buffer {"connection_id":165089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:43:29] local.INFO: IMEI packet received {"connection_id":165089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 21:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":165089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:43:34] local.INFO: TCP Data received {"connection_id":165088,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049227c80012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049227c80012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:43:34] local.INFO: Processing buffer {"connection_id":165088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049227c80012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:43:34] local.INFO: Packet analysis {"connection_id":165088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04922"} 
[2026-08-28 21:43:34] local.INFO: Extracted packet for processing {"connection_id":165088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04922"} 
[2026-08-28 21:43:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710871296001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:43:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787933392000,"timestamp_ms":1787933392000,"timestamp_seconds":1787933392,"priority":1,"record_length":96,"hex_timestamp":"000001a049227c80"} 
[2026-08-28 21:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:43:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:43:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:43:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":165088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":165088,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":165088,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710871296001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710871296001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:43:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:43:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710871296001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":165088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710637,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:43:34] local.INFO: GPS data processed {"connection_id":165088,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:43:34] local.INFO: Acknowledgment sent {"connection_id":165088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:43:35] local.INFO: TCP Data received {"connection_id":165089,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:43:35] local.INFO: Processing buffer {"connection_id":165089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:43:35] local.INFO: IMEI packet received {"connection_id":165089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 21:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":165089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:43:37] local.INFO: TCP Data received {"connection_id":165089,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0492487f0012d34c14006aa4840000e00e62d..."} 
[2026-08-28 21:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0492487f0012d34c14006aa4840000e00e62d..."} 
[2026-08-28 21:43:37] local.INFO: Processing buffer {"connection_id":165089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0492487f0012d34c14006aa4840000e00e62d..."} 
[2026-08-28 21:43:37] local.INFO: Packet analysis {"connection_id":165089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04924"} 
[2026-08-28 21:43:37] local.INFO: Extracted packet for processing {"connection_id":165089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04924"} 
[2026-08-28 21:43:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710905600001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787933526000,"timestamp_ms":1787933526000,"timestamp_seconds":1787933526,"priority":1,"record_length":96,"hex_timestamp":"000001a0492487f0"} 
[2026-08-28 21:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 21:43:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":165089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":165089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":165089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710905600001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710905600001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:43:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:43:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:43: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-28 21:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710905600001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:43:37] 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":710638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:43:37] local.INFO: GPS data processed {"connection_id":165089,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:43:37] local.INFO: Acknowledgment sent {"connection_id":165089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:43:55] local.INFO: TCP Data received {"connection_id":166449,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166449,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:43:55] local.INFO: Processing buffer {"connection_id":166449,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:43:55] local.INFO: IMEI packet received {"connection_id":166449,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 21:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":166449,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:44:01] local.INFO: TCP Data received {"connection_id":166449,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166449,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:44:01] local.INFO: Processing buffer {"connection_id":166449,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:44:01] local.INFO: IMEI packet received {"connection_id":166449,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 21:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":166449,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:44:03] local.INFO: TCP Data received {"connection_id":166449,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049227c80012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049227c80012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:44:03] local.INFO: Processing buffer {"connection_id":166449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049227c80012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:44:03] local.INFO: Packet analysis {"connection_id":166449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04922"} 
[2026-08-28 21:44:03] local.INFO: Extracted packet for processing {"connection_id":166449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04922"} 
[2026-08-28 21:44:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710871296001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:44:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787933392000,"timestamp_ms":1787933392000,"timestamp_seconds":1787933392,"priority":1,"record_length":96,"hex_timestamp":"000001a049227c80"} 
[2026-08-28 21:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:44:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:44:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:44:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":166449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":166449,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":166449,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710871296001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710871296001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:44:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:44:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710871296001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":166449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710639,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:44:03] local.INFO: GPS data processed {"connection_id":166449,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:44:03] local.INFO: Acknowledgment sent {"connection_id":166449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:44:09] local.INFO: TCP Data received {"connection_id":165089,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0492487f0012d34c14006aa4840000e00e62d..."} 
[2026-08-28 21:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0492487f0012d34c14006aa4840000e00e62d..."} 
[2026-08-28 21:44:09] local.INFO: Processing buffer {"connection_id":165089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0492487f0012d34c14006aa4840000e00e62d..."} 
[2026-08-28 21:44:09] local.INFO: Packet analysis {"connection_id":165089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04924"} 
[2026-08-28 21:44:09] local.INFO: Extracted packet for processing {"connection_id":165089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04924"} 
[2026-08-28 21:44:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:44:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710905600001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:44:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787933526000,"timestamp_ms":1787933526000,"timestamp_seconds":1787933526,"priority":1,"record_length":96,"hex_timestamp":"000001a0492487f0"} 
[2026-08-28 21:44:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:44:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:44:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 21:44:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:44:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:44:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":165089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":165089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":165089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:44:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710905600001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710905600001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:44:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:44:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:44: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-28 21:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710905600001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:44:09] 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":710640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:44:09] local.INFO: GPS data processed {"connection_id":165089,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:44:09] local.INFO: Acknowledgment sent {"connection_id":165089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:44:34] local.INFO: TCP Data received {"connection_id":166449,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049227c80012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049227c80012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:44:34] local.INFO: Processing buffer {"connection_id":166449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049227c80012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:44:34] local.INFO: Packet analysis {"connection_id":166449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04922"} 
[2026-08-28 21:44:34] local.INFO: Extracted packet for processing {"connection_id":166449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04922"} 
[2026-08-28 21:44:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710871296001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:44:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:44:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787933392000,"timestamp_ms":1787933392000,"timestamp_seconds":1787933392,"priority":1,"record_length":96,"hex_timestamp":"000001a049227c80"} 
[2026-08-28 21:44:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:44:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:44:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:44:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:44:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":166449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":166449,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":166449,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:44:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710871296001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710871296001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:44:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:44:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:44:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:44:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710871296001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":166449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710641,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:44:34] local.INFO: GPS data processed {"connection_id":166449,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:44:34] local.INFO: Acknowledgment sent {"connection_id":166449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:44:35] local.INFO: TCP Data received {"connection_id":166450,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:44:35] local.INFO: Processing buffer {"connection_id":166450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:44:35] local.INFO: IMEI packet received {"connection_id":166450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 21:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":166450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:44:40] local.INFO: TCP Data received {"connection_id":166450,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:44:40] local.INFO: Processing buffer {"connection_id":166450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:44:40] local.INFO: IMEI packet received {"connection_id":166450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 21:44:40] local.INFO: IMEI acknowledgment sent {"connection_id":166450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:44:41] local.INFO: TCP Data received {"connection_id":166450,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0492487f0012d34c14006aa4840000e00e62d..."} 
[2026-08-28 21:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0492487f0012d34c14006aa4840000e00e62d..."} 
[2026-08-28 21:44:41] local.INFO: Processing buffer {"connection_id":166450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0492487f0012d34c14006aa4840000e00e62d..."} 
[2026-08-28 21:44:41] local.INFO: Packet analysis {"connection_id":166450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04924"} 
[2026-08-28 21:44:41] local.INFO: Extracted packet for processing {"connection_id":166450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04924"} 
[2026-08-28 21:44:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710905600001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:44:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:44:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787933526000,"timestamp_ms":1787933526000,"timestamp_seconds":1787933526,"priority":1,"record_length":96,"hex_timestamp":"000001a0492487f0"} 
[2026-08-28 21:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:44:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 21:44: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-28 21:44:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":166450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":166450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":166450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:44:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710905600001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710905600001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:44:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:44:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:44: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-28 21:44:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710905600001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":166450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:44:41] local.INFO: GPS data processed {"connection_id":166450,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:44:41] local.INFO: Acknowledgment sent {"connection_id":166450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:44:46] local.INFO: TCP Data received {"connection_id":166450,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0492487f0012d34c14006aa4840000e00e62d..."} 
[2026-08-28 21:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0492487f0012d34c14006aa4840000e00e62d..."} 
[2026-08-28 21:44:46] local.INFO: Processing buffer {"connection_id":166450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0492487f0012d34c14006aa4840000e00e62d..."} 
[2026-08-28 21:44:46] local.INFO: Packet analysis {"connection_id":166450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04924"} 
[2026-08-28 21:44:46] local.INFO: Extracted packet for processing {"connection_id":166450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04924"} 
[2026-08-28 21:44:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21: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-28 21:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710905600001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:44:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:44:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787933526000,"timestamp_ms":1787933526000,"timestamp_seconds":1787933526,"priority":1,"record_length":96,"hex_timestamp":"000001a0492487f0"} 
[2026-08-28 21: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-28 21:44:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21: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":211,"data_length":795,"current_offset":136} 
[2026-08-28 21:44:46] 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-28 21: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-28 21: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-28 21:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":166450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":166450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":166450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:44:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710905600001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710905600001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:44:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:44:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21: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-28 21:44:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710905600001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":166450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:44:46] local.INFO: GPS data processed {"connection_id":166450,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:44:46] local.INFO: Acknowledgment sent {"connection_id":166450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:45:01] local.INFO: TCP Data received {"connection_id":164081,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164081,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:45:01] local.INFO: Processing buffer {"connection_id":164081,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:45:01] local.INFO: IMEI packet received {"connection_id":164081,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 21:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":164081,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:45:06] local.INFO: TCP Data received {"connection_id":164081,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164081,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:45:06] local.INFO: Processing buffer {"connection_id":164081,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:45:06] local.INFO: IMEI packet received {"connection_id":164081,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 21:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":164081,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:45:08] local.INFO: TCP Data received {"connection_id":164081,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049227c80012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049227c80012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:45:08] local.INFO: Processing buffer {"connection_id":164081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049227c80012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:45:08] local.INFO: Packet analysis {"connection_id":164081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04922"} 
[2026-08-28 21:45:08] local.INFO: Extracted packet for processing {"connection_id":164081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04922"} 
[2026-08-28 21:45:08] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710871296001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:45:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787933392000,"timestamp_ms":1787933392000,"timestamp_seconds":1787933392,"priority":1,"record_length":96,"hex_timestamp":"000001a049227c80"} 
[2026-08-28 21:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:45:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:45:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:45:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164081,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164081,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:45:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710871296001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710871296001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:45:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:45:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710871296001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":164081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710644,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:45:08] local.INFO: GPS data processed {"connection_id":164081,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:45:08] local.INFO: Acknowledgment sent {"connection_id":164081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:45:11] local.INFO: TCP Data received {"connection_id":164081,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049227c80012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049227c80012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:45:11] local.INFO: Processing buffer {"connection_id":164081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049227c80012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:45:11] local.INFO: Packet analysis {"connection_id":164081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04922"} 
[2026-08-28 21:45:11] local.INFO: Extracted packet for processing {"connection_id":164081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04922"} 
[2026-08-28 21:45:11] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710871296001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:45:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:45:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:45:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:45:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787933392000,"timestamp_ms":1787933392000,"timestamp_seconds":1787933392,"priority":1,"record_length":96,"hex_timestamp":"000001a049227c80"} 
[2026-08-28 21:45:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:45:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:45:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:45:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:45:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:45:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:45:11] local.INFO: Teltonika packet parsed successfully {"connection_id":164081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:45:11] local.INFO: Passing IMEI to GPS processor {"connection_id":164081,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:45:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":164081,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:45:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:45:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:45:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:45:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710871296001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:45:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:45:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:45:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710871296001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:45:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:45:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:45:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:45:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:45:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710871296001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:45:11] local.INFO: DEBUG: GPS processor result {"connection_id":164081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710645,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:45:11] local.INFO: GPS data processed {"connection_id":164081,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:45:12] local.INFO: Acknowledgment sent {"connection_id":164081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:45:30] local.INFO: TCP Data received {"connection_id":164082,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:45:30] local.INFO: Processing buffer {"connection_id":164082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:45:30] local.INFO: IMEI packet received {"connection_id":164082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 21:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":164082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:45:35] local.INFO: TCP Data received {"connection_id":164082,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:45:35] local.INFO: Processing buffer {"connection_id":164082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:45:35] local.INFO: IMEI packet received {"connection_id":164082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 21:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":164082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:45:36] local.INFO: TCP Data received {"connection_id":164082,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0492487f0012d34c14006aa4840000e00e62d..."} 
[2026-08-28 21:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0492487f0012d34c14006aa4840000e00e62d..."} 
[2026-08-28 21:45:36] local.INFO: Processing buffer {"connection_id":164082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0492487f0012d34c14006aa4840000e00e62d..."} 
[2026-08-28 21:45:36] local.INFO: Packet analysis {"connection_id":164082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04924"} 
[2026-08-28 21:45:36] local.INFO: Extracted packet for processing {"connection_id":164082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04924"} 
[2026-08-28 21:45:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21: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-28 21:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710905600001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:45:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787933526000,"timestamp_ms":1787933526000,"timestamp_seconds":1787933526,"priority":1,"record_length":96,"hex_timestamp":"000001a0492487f0"} 
[2026-08-28 21: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-28 21:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 21:45:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21: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-28 21: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-28 21:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":164082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":164082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":164082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:45:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710905600001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710905600001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:45:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:45:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710905600001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":164082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:45:36] local.INFO: GPS data processed {"connection_id":164082,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:45:36] local.INFO: Acknowledgment sent {"connection_id":164082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:45:55] local.INFO: TCP Data received {"connection_id":164083,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164083,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:45:55] local.INFO: Processing buffer {"connection_id":164083,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:45:55] local.INFO: IMEI packet received {"connection_id":164083,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 21:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":164083,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:46:01] local.INFO: TCP Data received {"connection_id":164083,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164083,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:46:01] local.INFO: Processing buffer {"connection_id":164083,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:46:01] local.INFO: IMEI packet received {"connection_id":164083,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 21:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":164083,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:46:02] local.INFO: TCP Data received {"connection_id":164083,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049271448012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049271448012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:46:02] local.INFO: Processing buffer {"connection_id":164083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049271448012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:46:02] local.INFO: Packet analysis {"connection_id":164083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04927"} 
[2026-08-28 21:46:02] local.INFO: Extracted packet for processing {"connection_id":164083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04927"} 
[2026-08-28 21:46:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21: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-28 21:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710948352001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:46:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:46:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787933693000,"timestamp_ms":1787933693000,"timestamp_seconds":1787933693,"priority":1,"record_length":96,"hex_timestamp":"000001a049271448"} 
[2026-08-28 21: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-28 21:46:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21: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":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:46:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21: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-28 21: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-28 21:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":164083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":164083,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":164083,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:46:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710948352001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710948352001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:46:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:46:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:46:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710948352001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":164083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710647,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:46:02] local.INFO: GPS data processed {"connection_id":164083,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:46:02] local.INFO: Acknowledgment sent {"connection_id":164083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:46:08] local.INFO: TCP Data received {"connection_id":164082,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0492487f0012d34c14006aa4840000e00e62d..."} 
[2026-08-28 21:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0492487f0012d34c14006aa4840000e00e62d..."} 
[2026-08-28 21:46:08] local.INFO: Processing buffer {"connection_id":164082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0492487f0012d34c14006aa4840000e00e62d..."} 
[2026-08-28 21:46:08] local.INFO: Packet analysis {"connection_id":164082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04924"} 
[2026-08-28 21:46:08] local.INFO: Extracted packet for processing {"connection_id":164082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04924"} 
[2026-08-28 21:46:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710905600001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787933526000,"timestamp_ms":1787933526000,"timestamp_seconds":1787933526,"priority":1,"record_length":96,"hex_timestamp":"000001a0492487f0"} 
[2026-08-28 21:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:46:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 21:46:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:46:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:46:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710905600001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710905600001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:46:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:46:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:46: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-28 21:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710905600001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":164082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:46:08] local.INFO: GPS data processed {"connection_id":164082,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:46:08] local.INFO: Acknowledgment sent {"connection_id":164082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:46:29] local.INFO: TCP Data received {"connection_id":164084,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:46:29] local.INFO: Processing buffer {"connection_id":164084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:46:29] local.INFO: IMEI packet received {"connection_id":164084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 21:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":164084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:46:34] local.INFO: TCP Data received {"connection_id":164083,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049271448012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049271448012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:46:34] local.INFO: Processing buffer {"connection_id":164083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049271448012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:46:34] local.INFO: Packet analysis {"connection_id":164083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04927"} 
[2026-08-28 21:46:34] local.INFO: Extracted packet for processing {"connection_id":164083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04927"} 
[2026-08-28 21:46:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710948352001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:46:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:46:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787933693000,"timestamp_ms":1787933693000,"timestamp_seconds":1787933693,"priority":1,"record_length":96,"hex_timestamp":"000001a049271448"} 
[2026-08-28 21:46:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:46:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:46:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:46:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:46:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":164083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":164083,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":164083,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:46:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710948352001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710948352001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:46:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:46:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:46:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710948352001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:46:34] local.INFO: DEBUG: GPS processor result {"connection_id":164083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710649,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:46:34] local.INFO: GPS data processed {"connection_id":164083,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:46:34] local.INFO: Acknowledgment sent {"connection_id":164083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:46:38] local.INFO: TCP Data received {"connection_id":164084,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:46:38] local.INFO: Processing buffer {"connection_id":164084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:46:38] local.INFO: IMEI packet received {"connection_id":164084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 21:46:38] local.INFO: IMEI acknowledgment sent {"connection_id":164084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:46:39] local.INFO: TCP Data received {"connection_id":164084,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0492487f0012d34c14006aa4840000e00e62d..."} 
[2026-08-28 21:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0492487f0012d34c14006aa4840000e00e62d..."} 
[2026-08-28 21:46:39] local.INFO: Processing buffer {"connection_id":164084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0492487f0012d34c14006aa4840000e00e62d..."} 
[2026-08-28 21:46:39] local.INFO: Packet analysis {"connection_id":164084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04924"} 
[2026-08-28 21:46:39] local.INFO: Extracted packet for processing {"connection_id":164084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04924"} 
[2026-08-28 21:46:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710905600001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787933526000,"timestamp_ms":1787933526000,"timestamp_seconds":1787933526,"priority":1,"record_length":96,"hex_timestamp":"000001a0492487f0"} 
[2026-08-28 21:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:46:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 21:46:39] 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-28 21:46:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":164084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":164084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":164084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710905600001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710905600001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:46:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:46:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710905600001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":164084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:46:39] local.INFO: GPS data processed {"connection_id":164084,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:46:39] local.INFO: Acknowledgment sent {"connection_id":164084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:46:55] local.INFO: TCP Data received {"connection_id":165090,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165090,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:46:55] local.INFO: Processing buffer {"connection_id":165090,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:46:55] local.INFO: IMEI packet received {"connection_id":165090,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 21:46:55] local.INFO: IMEI acknowledgment sent {"connection_id":165090,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:47:01] local.INFO: TCP Data received {"connection_id":165090,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165090,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:47:01] local.INFO: Processing buffer {"connection_id":165090,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:47:01] local.INFO: IMEI packet received {"connection_id":165090,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 21:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":165090,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:47:02] local.INFO: TCP Data received {"connection_id":165090,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049271448012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049271448012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:47:02] local.INFO: Processing buffer {"connection_id":165090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049271448012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:47:02] local.INFO: Packet analysis {"connection_id":165090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04927"} 
[2026-08-28 21:47:02] local.INFO: Extracted packet for processing {"connection_id":165090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04927"} 
[2026-08-28 21:47:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:47:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:47:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710948352001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:47:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:47:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:47:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:47:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787933693000,"timestamp_ms":1787933693000,"timestamp_seconds":1787933693,"priority":1,"record_length":96,"hex_timestamp":"000001a049271448"} 
[2026-08-28 21:47:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:47:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:47:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:47:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:47:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:47:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:47:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:47:02] local.INFO: Teltonika packet parsed successfully {"connection_id":165090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:47:02] local.INFO: Passing IMEI to GPS processor {"connection_id":165090,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:47:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":165090,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:47:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:47:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:47:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:47:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710948352001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:47:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:47:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:47:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710948352001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:47:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:47:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:47:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:47:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:47:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710948352001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:47:02] 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":710651,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:47:02] local.INFO: GPS data processed {"connection_id":165090,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:47:02] local.INFO: Acknowledgment sent {"connection_id":165090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:47:10] local.INFO: TCP Data received {"connection_id":164084,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0492487f0012d34c14006aa4840000e00e62d..."} 
[2026-08-28 21:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0492487f0012d34c14006aa4840000e00e62d..."} 
[2026-08-28 21:47:10] local.INFO: Processing buffer {"connection_id":164084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0492487f0012d34c14006aa4840000e00e62d..."} 
[2026-08-28 21:47:10] local.INFO: Packet analysis {"connection_id":164084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04924"} 
[2026-08-28 21:47:10] local.INFO: Extracted packet for processing {"connection_id":164084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04924"} 
[2026-08-28 21:47:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710905600001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:47:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:47:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787933526000,"timestamp_ms":1787933526000,"timestamp_seconds":1787933526,"priority":1,"record_length":96,"hex_timestamp":"000001a0492487f0"} 
[2026-08-28 21:47:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:47:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 21:47:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:47:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:47:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":164084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":164084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":164084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:47:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710905600001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710905600001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:47:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:47:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:47:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:47:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:47:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710905600001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:47:10] local.INFO: DEBUG: GPS processor result {"connection_id":164084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:47:10] local.INFO: GPS data processed {"connection_id":164084,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:47:10] local.INFO: Acknowledgment sent {"connection_id":164084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:47:29] local.INFO: TCP Data received {"connection_id":166451,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:47:29] local.INFO: Processing buffer {"connection_id":166451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:47:29] local.INFO: IMEI packet received {"connection_id":166451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 21:47:29] local.INFO: IMEI acknowledgment sent {"connection_id":166451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:47:33] local.INFO: TCP Data received {"connection_id":165090,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049271448012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049271448012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:47:33] local.INFO: Processing buffer {"connection_id":165090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049271448012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:47:33] local.INFO: Packet analysis {"connection_id":165090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04927"} 
[2026-08-28 21:47:33] local.INFO: Extracted packet for processing {"connection_id":165090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04927"} 
[2026-08-28 21:47:33] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710948352001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:47:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787933693000,"timestamp_ms":1787933693000,"timestamp_seconds":1787933693,"priority":1,"record_length":96,"hex_timestamp":"000001a049271448"} 
[2026-08-28 21:47:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:47:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:47:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:47:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:47:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":165090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":165090,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":165090,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:47:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710948352001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710948352001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:47:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:47:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:47:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710948352001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:47:34] 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":710653,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:47:34] local.INFO: GPS data processed {"connection_id":165090,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:47:34] local.INFO: Acknowledgment sent {"connection_id":165090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:47:35] local.INFO: TCP Data received {"connection_id":166451,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:47:35] local.INFO: Processing buffer {"connection_id":166451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:47:35] local.INFO: IMEI packet received {"connection_id":166451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 21:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":166451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:47:36] local.INFO: TCP Data received {"connection_id":166451,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0492487f0012d34c14006aa4840000e00e62d..."} 
[2026-08-28 21:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0492487f0012d34c14006aa4840000e00e62d..."} 
[2026-08-28 21:47:36] local.INFO: Processing buffer {"connection_id":166451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0492487f0012d34c14006aa4840000e00e62d..."} 
[2026-08-28 21:47:36] local.INFO: Packet analysis {"connection_id":166451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04924"} 
[2026-08-28 21:47:36] local.INFO: Extracted packet for processing {"connection_id":166451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04924"} 
[2026-08-28 21:47:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710905600001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:47:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787933526000,"timestamp_ms":1787933526000,"timestamp_seconds":1787933526,"priority":1,"record_length":96,"hex_timestamp":"000001a0492487f0"} 
[2026-08-28 21:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:47:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:47:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 21:47:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:47:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":166451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":166451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":166451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:47:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710905600001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710905600001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:47:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:47:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:47: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-28 21:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710905600001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":166451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:47:37] local.INFO: GPS data processed {"connection_id":166451,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:47:37] local.INFO: Acknowledgment sent {"connection_id":166451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:47:55] local.INFO: TCP Data received {"connection_id":163803,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163803,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:47:55] local.INFO: Processing buffer {"connection_id":163803,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:47:55] local.INFO: IMEI packet received {"connection_id":163803,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 21:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":163803,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:48:01] local.INFO: TCP Data received {"connection_id":163803,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163803,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:48:01] local.INFO: Processing buffer {"connection_id":163803,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:48:01] local.INFO: IMEI packet received {"connection_id":163803,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 21:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":163803,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:48:02] local.INFO: TCP Data received {"connection_id":163803,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049271448012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049271448012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:48:02] local.INFO: Processing buffer {"connection_id":163803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049271448012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:48:02] local.INFO: Packet analysis {"connection_id":163803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04927"} 
[2026-08-28 21:48:02] local.INFO: Extracted packet for processing {"connection_id":163803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04927"} 
[2026-08-28 21:48:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:48:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:48:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710948352001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:48:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:48:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:48:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:48:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787933693000,"timestamp_ms":1787933693000,"timestamp_seconds":1787933693,"priority":1,"record_length":96,"hex_timestamp":"000001a049271448"} 
[2026-08-28 21:48:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:48:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:48:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:48:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:48:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:48:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:48:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:48:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:48:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163803,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:48:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163803,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:48:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:48:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:48:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:48:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710948352001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:48:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:48:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:48:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710948352001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:48:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:48:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:48:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:48:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:48:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710948352001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:48:02] 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":710655,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:48:02] local.INFO: GPS data processed {"connection_id":163803,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:48:02] local.INFO: Acknowledgment sent {"connection_id":163803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:48:08] local.INFO: TCP Data received {"connection_id":166451,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049291fb8012d34c14006aa4840000700e62c..."} 
[2026-08-28 21:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049291fb8012d34c14006aa4840000700e62c..."} 
[2026-08-28 21:48:08] local.INFO: Processing buffer {"connection_id":166451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049291fb8012d34c14006aa4840000700e62c..."} 
[2026-08-28 21:48:08] local.INFO: Packet analysis {"connection_id":166451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04929"} 
[2026-08-28 21:48:08] local.INFO: Extracted packet for processing {"connection_id":166451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04929"} 
[2026-08-28 21:48:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":7,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710982656001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:48:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787933827000,"timestamp_ms":1787933827000,"timestamp_seconds":1787933827,"priority":1,"record_length":96,"hex_timestamp":"000001a049291fb8"} 
[2026-08-28 21:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:48:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 21:48:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:48:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":166451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":166451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":166451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710982656001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710982656001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:48:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:48:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:48: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-28 21:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710982656001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":166451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:48:08] local.INFO: GPS data processed {"connection_id":166451,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:48:08] local.INFO: Acknowledgment sent {"connection_id":166451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:48:19] local.INFO: TCP Data received {"connection_id":164085,"ip":"117.225.165.207","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164085,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:48:19] local.INFO: Processing buffer {"connection_id":164085,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:48:19] local.INFO: IMEI packet received {"connection_id":164085,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 21:48:19] local.INFO: IMEI acknowledgment sent {"connection_id":164085,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:48:24] local.INFO: TCP Data received {"connection_id":164085,"ip":"117.225.165.207","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164085,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:48:24] local.INFO: Processing buffer {"connection_id":164085,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:48:24] local.INFO: IMEI packet received {"connection_id":164085,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 21:48:24] local.INFO: IMEI acknowledgment sent {"connection_id":164085,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:48:30] local.INFO: TCP Data received {"connection_id":165091,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:48:30] local.INFO: Processing buffer {"connection_id":165091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:48:30] local.INFO: IMEI packet received {"connection_id":165091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 21:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":165091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:48:31] local.INFO: TCP Data received {"connection_id":164085,"ip":"117.225.165.207","data_length":795,"data_hex":"000000000000030f8e0a000001a04923b500012d198400071fefd0004000f12d..."} 
[2026-08-28 21:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04923b500012d198400071fefd0004000f12d..."} 
[2026-08-28 21:48:31] local.INFO: Processing buffer {"connection_id":164085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04923b500012d198400071fefd0004000f12d..."} 
[2026-08-28 21:48:31] local.INFO: Packet analysis {"connection_id":164085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04923"} 
[2026-08-28 21:48:31] local.INFO: Extracted packet for processing {"connection_id":164085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04923"} 
[2026-08-28 21:48:31] local.INFO: GPS Element Parsed {"raw_longitude":756646912,"raw_latitude":119533520,"longitude_deg":75.6646912,"latitude_deg":11.953352,"altitude":64,"angle":241,"satellites":45,"speed":19,"hex_longitude":"2d198400","hex_latitude":"071fefd0","is_valid_coordinates":true} 
[2026-08-28 21:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:48:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710968576001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:48:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252396766232576,"note":"Value kept but may cause issues"} 
[2026-08-28 21:48:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839087159683876864,"note":"Value kept but may cause issues"} 
[2026-08-28 21:48:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:48:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787933472000,"timestamp_ms":1787933472000,"timestamp_seconds":1787933472,"priority":1,"record_length":96,"hex_timestamp":"000001a04923b500"} 
[2026-08-28 21:48:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:48:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-28 21:48:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:48:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:48:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:48:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:48:31] local.INFO: Teltonika packet parsed successfully {"connection_id":164085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:48:31] local.INFO: Passing IMEI to GPS processor {"connection_id":164085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:48:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":164085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:48:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.165.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:48:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:48:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:48:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710968576001,"66":13428,"121":206,"28":31744,"24":19,"16":16252396766232576,"45":1839087159683876864},"client_ip":"117.225.165.207","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 21:48:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:48:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:48:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710968576001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:48:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 21:48:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:48:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252396766232576,"km_value":16252396766232.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:48:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839087159683876864,"description":"Unknown IO ID 45"} 
[2026-08-28 21:48:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710968576001,"power":13428,"unknown_121":206,"unknown_28":31744,"ignition":19,"odometer":null,"unknown_45":1839087159683876864}} 
[2026-08-28 21:48:31] local.INFO: DEBUG: GPS processor result {"connection_id":164085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710657,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:48:31] local.INFO: GPS data processed {"connection_id":164085,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:48:31] local.INFO: Acknowledgment sent {"connection_id":164085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:48:33] local.INFO: TCP Data received {"connection_id":164085,"ip":"117.225.165.207","data_length":795,"data_hex":"000000000000030f8e0a000001a04923bcd0012d198080071fed70003f00e42b..."} 
[2026-08-28 21:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04923bcd0012d198080071fed70003f00e42b..."} 
[2026-08-28 21:48:33] local.INFO: Processing buffer {"connection_id":164085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04923bcd0012d198080071fed70003f00e42b..."} 
[2026-08-28 21:48:33] local.INFO: Packet analysis {"connection_id":164085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04923"} 
[2026-08-28 21:48:33] local.INFO: Extracted packet for processing {"connection_id":164085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04923"} 
[2026-08-28 21:48:33] local.INFO: GPS Element Parsed {"raw_longitude":756646016,"raw_latitude":119532912,"longitude_deg":75.6646016,"latitude_deg":11.9532912,"altitude":63,"angle":228,"satellites":43,"speed":22,"hex_longitude":"2d198080","hex_latitude":"071fed70","is_valid_coordinates":true} 
[2026-08-28 21:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710968832001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252444010872832,"note":"Value kept but may cause issues"} 
[2026-08-28 21:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838594578474586112,"note":"Value kept but may cause issues"} 
[2026-08-28 21:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787933474000,"timestamp_ms":1787933474000,"timestamp_seconds":1787933474,"priority":1,"record_length":96,"hex_timestamp":"000001a04923bcd0"} 
[2026-08-28 21:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:48:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-28 21:48:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:48:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":164085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":164085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":164085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.165.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710968832001,"66":13319,"121":206,"28":31744,"24":22,"16":16252444010872832,"45":1838594578474586112},"client_ip":"117.225.165.207","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 21:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710968832001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:48:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 21:48:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252444010872832,"km_value":16252444010872.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838594578474586112,"description":"Unknown IO ID 45"} 
[2026-08-28 21:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710968832001,"power":13319,"unknown_121":206,"unknown_28":31744,"ignition":22,"odometer":null,"unknown_45":1838594578474586112}} 
[2026-08-28 21:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":164085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710658,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:48:33] local.INFO: GPS data processed {"connection_id":164085,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:48:33] local.INFO: Acknowledgment sent {"connection_id":164085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:48:33] local.INFO: TCP Data received {"connection_id":163803,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049271448012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049271448012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:48:33] local.INFO: Processing buffer {"connection_id":163803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049271448012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:48:33] local.INFO: Packet analysis {"connection_id":163803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04927"} 
[2026-08-28 21:48:33] local.INFO: Extracted packet for processing {"connection_id":163803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04927"} 
[2026-08-28 21:48:33] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710948352001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787933693000,"timestamp_ms":1787933693000,"timestamp_seconds":1787933693,"priority":1,"record_length":96,"hex_timestamp":"000001a049271448"} 
[2026-08-28 21:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:48:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:48:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:48:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":163803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":163803,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":163803,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710948352001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710948352001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:48:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:48:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710948352001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:48:34] 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":710659,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:48:34] local.INFO: GPS data processed {"connection_id":163803,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:48:34] local.INFO: Acknowledgment sent {"connection_id":163803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:48:35] local.INFO: TCP Data received {"connection_id":165091,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:48:35] local.INFO: Processing buffer {"connection_id":165091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:48:35] local.INFO: IMEI packet received {"connection_id":165091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 21:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":165091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:48:36] local.INFO: TCP Data received {"connection_id":165091,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049291fb8012d34c14006aa4840000700e62c..."} 
[2026-08-28 21:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049291fb8012d34c14006aa4840000700e62c..."} 
[2026-08-28 21:48:36] local.INFO: Processing buffer {"connection_id":165091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049291fb8012d34c14006aa4840000700e62c..."} 
[2026-08-28 21:48:36] local.INFO: Packet analysis {"connection_id":165091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04929"} 
[2026-08-28 21:48:36] local.INFO: Extracted packet for processing {"connection_id":165091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04929"} 
[2026-08-28 21:48:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":7,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710982656001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:48:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:48:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787933827000,"timestamp_ms":1787933827000,"timestamp_seconds":1787933827,"priority":1,"record_length":96,"hex_timestamp":"000001a049291fb8"} 
[2026-08-28 21:48:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:48:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 21:48:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:48:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:48:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":165091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":165091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":165091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:48:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:48:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710982656001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:48:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:48:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:48:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710982656001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:48:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:48:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:48:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:48:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:48:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710982656001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:48:36] 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":710660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:48:36] local.INFO: GPS data processed {"connection_id":165091,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:48:36] local.INFO: Acknowledgment sent {"connection_id":165091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:49:01] local.INFO: TCP Data received {"connection_id":164086,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164086,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:49:01] local.INFO: Processing buffer {"connection_id":164086,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:49:01] local.INFO: IMEI packet received {"connection_id":164086,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 21:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":164086,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:49:06] local.INFO: TCP Data received {"connection_id":164086,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164086,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:49:06] local.INFO: Processing buffer {"connection_id":164086,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:49:06] local.INFO: IMEI packet received {"connection_id":164086,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 21:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":164086,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:49:08] local.INFO: TCP Data received {"connection_id":165091,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049291fb8012d34c14006aa4840000700e62c..."} 
[2026-08-28 21:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049291fb8012d34c14006aa4840000700e62c..."} 
[2026-08-28 21:49:08] local.INFO: Processing buffer {"connection_id":165091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049291fb8012d34c14006aa4840000700e62c..."} 
[2026-08-28 21:49:08] local.INFO: Packet analysis {"connection_id":165091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04929"} 
[2026-08-28 21:49:08] local.INFO: Extracted packet for processing {"connection_id":165091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04929"} 
[2026-08-28 21:49:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":7,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710982656001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:49:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:49:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:49:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:49:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787933827000,"timestamp_ms":1787933827000,"timestamp_seconds":1787933827,"priority":1,"record_length":96,"hex_timestamp":"000001a049291fb8"} 
[2026-08-28 21:49:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:49:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 21:49:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:49:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:49:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:49:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:49:08] local.INFO: Teltonika packet parsed successfully {"connection_id":165091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:49:08] local.INFO: Passing IMEI to GPS processor {"connection_id":165091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:49:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":165091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:49:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:49:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:49:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:49:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710982656001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:49:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:49:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:49:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710982656001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:49:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:49:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:49: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-28 21:49:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:49:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710982656001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:49:08] 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":710661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:49:08] local.INFO: GPS data processed {"connection_id":165091,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:49:08] local.INFO: Acknowledgment sent {"connection_id":165091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:49:09] local.INFO: TCP Data received {"connection_id":164086,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049271448012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049271448012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:49:09] local.INFO: Processing buffer {"connection_id":164086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049271448012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:49:09] local.INFO: Packet analysis {"connection_id":164086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04927"} 
[2026-08-28 21:49:09] local.INFO: Extracted packet for processing {"connection_id":164086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04927"} 
[2026-08-28 21:49:09] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710948352001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:49:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787933693000,"timestamp_ms":1787933693000,"timestamp_seconds":1787933693,"priority":1,"record_length":96,"hex_timestamp":"000001a049271448"} 
[2026-08-28 21:49:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:49:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:49:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:49:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:49:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164086,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164086,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:49:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710948352001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710948352001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:49:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:49:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710948352001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":164086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710662,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:49:09] local.INFO: GPS data processed {"connection_id":164086,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:49:09] local.INFO: Acknowledgment sent {"connection_id":164086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:49:12] local.INFO: TCP Data received {"connection_id":164086,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049271448012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049271448012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:49:12] local.INFO: Processing buffer {"connection_id":164086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049271448012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:49:12] local.INFO: Packet analysis {"connection_id":164086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04927"} 
[2026-08-28 21:49:12] local.INFO: Extracted packet for processing {"connection_id":164086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04927"} 
[2026-08-28 21:49:12] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710948352001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:49:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:49:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787933693000,"timestamp_ms":1787933693000,"timestamp_seconds":1787933693,"priority":1,"record_length":96,"hex_timestamp":"000001a049271448"} 
[2026-08-28 21:49:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:49:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:49:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:49:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:49:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":164086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":164086,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":164086,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:49:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710948352001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710948352001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:49:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:49:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:49:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710948352001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":164086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710663,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:49:12] local.INFO: GPS data processed {"connection_id":164086,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:49:12] local.INFO: Acknowledgment sent {"connection_id":164086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:49:14] local.INFO: TCP Data received {"connection_id":164087,"ip":"117.225.165.207","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164087,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:49:14] local.INFO: Processing buffer {"connection_id":164087,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:49:14] local.INFO: IMEI packet received {"connection_id":164087,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 21:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":164087,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:49:19] local.INFO: TCP Data received {"connection_id":164087,"ip":"117.225.165.207","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164087,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:49:19] local.INFO: Processing buffer {"connection_id":164087,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:49:19] local.INFO: IMEI packet received {"connection_id":164087,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 21:49:19] local.INFO: IMEI acknowledgment sent {"connection_id":164087,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:49:24] local.INFO: TCP Data received {"connection_id":164087,"ip":"117.225.165.207","data_length":795,"data_hex":"000000000000030f8e0a000001a04923c4a0012d197d40071feb38003d00f32c..."} 
[2026-08-28 21:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04923c4a0012d197d40071feb38003d00f32c..."} 
[2026-08-28 21:49:24] local.INFO: Processing buffer {"connection_id":164087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04923c4a0012d197d40071feb38003d00f32c..."} 
[2026-08-28 21:49:24] local.INFO: Packet analysis {"connection_id":164087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04923"} 
[2026-08-28 21:49:24] local.INFO: Extracted packet for processing {"connection_id":164087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04923"} 
[2026-08-28 21:49:24] local.INFO: GPS Element Parsed {"raw_longitude":756645184,"raw_latitude":119532344,"longitude_deg":75.6645184,"latitude_deg":11.9532344,"altitude":61,"angle":243,"satellites":44,"speed":19,"hex_longitude":"2d197d40","hex_latitude":"071feb38","is_valid_coordinates":true} 
[2026-08-28 21:49:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:49:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710969344001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:49:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252495550480384,"note":"Value kept but may cause issues"} 
[2026-08-28 21:49:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837609416055943168,"note":"Value kept but may cause issues"} 
[2026-08-28 21:49:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:49:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787933476000,"timestamp_ms":1787933476000,"timestamp_seconds":1787933476,"priority":1,"record_length":96,"hex_timestamp":"000001a04923c4a0"} 
[2026-08-28 21:49:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:49:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21:49:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-28 21:49:24] local.WARNING: Large IO value detected {"io_id":160,"raw_value":57956877116251260,"note":"Value kept but may cause issues"} 
[2026-08-28 21:49:24] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-28 21:49:24] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-1139410465188271872,"note":"Value kept but may cause issues"} 
[2026-08-28 21:49:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-08-28 21:49:24] local.WARNING: Large IO value detected {"io_id":106,"raw_value":3355520281,"note":"Value kept but may cause issues"} 
[2026-08-28 21:49:24] local.WARNING: Large IO value detected {"io_id":163,"raw_value":3221692401,"note":"Value kept but may cause issues"} 
[2026-08-28 21:49:24] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3036728807,"note":"Value kept but may cause issues"} 
[2026-08-28 21:49:24] local.WARNING: Large IO value detected {"io_id":57,"raw_value":3172728832,"note":"Value kept but may cause issues"} 
[2026-08-28 21:49:24] local.WARNING: Large IO value detected {"io_id":35,"raw_value":5724076419603988487,"note":"Value kept but may cause issues"} 
[2026-08-28 21:49:24] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,121,28,24,241,158,16,189,160,181,45,239,64,10,66,177,192,240,65,122,1,123,73,31,4,113,205,13,106,163,144,43,52,2,57,7,60,11,35],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-08-28 21:49:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539879297725628416,"timestamp_seconds":4539879297725628.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-28 21:49:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:49:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:49:24] local.INFO: Teltonika packet parsed successfully {"connection_id":164087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:49:24] local.INFO: Passing IMEI to GPS processor {"connection_id":164087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:49:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":164087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:49:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.165.207","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:49:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:49:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:49:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710969344001,"66":13352,"121":206,"28":31744,"24":19,"16":16252495550480384,"45":1837609416055943168},"client_ip":"117.225.165.207","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 21:49:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:49:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:49:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710969344001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:49:24] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 21:49:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:49:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252495550480384,"km_value":16252495550480.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:49:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837609416055943168,"description":"Unknown IO ID 45"} 
[2026-08-28 21:49:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710969344001,"power":13352,"unknown_121":206,"unknown_28":31744,"ignition":19,"odometer":null,"unknown_45":1837609416055943168}} 
[2026-08-28 21:49:24] local.INFO: DEBUG: GPS processor result {"connection_id":164087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710664,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:49:24] local.INFO: GPS data processed {"connection_id":164087,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:49:24] local.INFO: Acknowledgment sent {"connection_id":164087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:49:30] local.INFO: TCP Data received {"connection_id":163804,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:49:30] local.INFO: Processing buffer {"connection_id":163804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:49:30] local.INFO: IMEI packet received {"connection_id":163804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 21:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":163804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:49:35] local.INFO: TCP Data received {"connection_id":163804,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:49:35] local.INFO: Processing buffer {"connection_id":163804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:49:35] local.INFO: IMEI packet received {"connection_id":163804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 21:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":163804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:49:37] local.INFO: TCP Data received {"connection_id":163804,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049291fb8012d34c14006aa4840000700e62c..."} 
[2026-08-28 21:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049291fb8012d34c14006aa4840000700e62c..."} 
[2026-08-28 21:49:37] local.INFO: Processing buffer {"connection_id":163804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049291fb8012d34c14006aa4840000700e62c..."} 
[2026-08-28 21:49:37] local.INFO: Packet analysis {"connection_id":163804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04929"} 
[2026-08-28 21:49:37] local.INFO: Extracted packet for processing {"connection_id":163804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04929"} 
[2026-08-28 21:49:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":7,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710982656001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787933827000,"timestamp_ms":1787933827000,"timestamp_seconds":1787933827,"priority":1,"record_length":96,"hex_timestamp":"000001a049291fb8"} 
[2026-08-28 21:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 21:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:49:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710982656001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710982656001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:49:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:49:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:49: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-28 21:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710982656001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":163804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:49:37] local.INFO: GPS data processed {"connection_id":163804,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:49:37] local.INFO: Acknowledgment sent {"connection_id":163804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:49:55] local.INFO: TCP Data received {"connection_id":165092,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165092,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:49:55] local.INFO: Processing buffer {"connection_id":165092,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:49:55] local.INFO: IMEI packet received {"connection_id":165092,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 21:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":165092,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:50:01] local.INFO: TCP Data received {"connection_id":165092,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165092,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:50:01] local.INFO: Processing buffer {"connection_id":165092,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:50:01] local.INFO: IMEI packet received {"connection_id":165092,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 21:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":165092,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:50:03] local.INFO: TCP Data received {"connection_id":165092,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049271448012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049271448012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:50:03] local.INFO: Processing buffer {"connection_id":165092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049271448012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:50:03] local.INFO: Packet analysis {"connection_id":165092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04927"} 
[2026-08-28 21:50:03] local.INFO: Extracted packet for processing {"connection_id":165092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04927"} 
[2026-08-28 21:50:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710948352001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:50:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787933693000,"timestamp_ms":1787933693000,"timestamp_seconds":1787933693,"priority":1,"record_length":96,"hex_timestamp":"000001a049271448"} 
[2026-08-28 21:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:50:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:50:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:50:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":165092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":165092,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":165092,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710948352001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710948352001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:50:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:50:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710948352001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:50:03] 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":710666,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:50:03] local.INFO: GPS data processed {"connection_id":165092,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:50:03] local.INFO: Acknowledgment sent {"connection_id":165092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:50:08] local.INFO: TCP Data received {"connection_id":163804,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049291fb8012d34c14006aa4840000700e62c..."} 
[2026-08-28 21:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049291fb8012d34c14006aa4840000700e62c..."} 
[2026-08-28 21:50:08] local.INFO: Processing buffer {"connection_id":163804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049291fb8012d34c14006aa4840000700e62c..."} 
[2026-08-28 21:50:08] local.INFO: Packet analysis {"connection_id":163804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04929"} 
[2026-08-28 21:50:08] local.INFO: Extracted packet for processing {"connection_id":163804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04929"} 
[2026-08-28 21:50:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":7,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710982656001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:50:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787933827000,"timestamp_ms":1787933827000,"timestamp_seconds":1787933827,"priority":1,"record_length":96,"hex_timestamp":"000001a049291fb8"} 
[2026-08-28 21:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:50:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 21:50:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:50:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:50:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710982656001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710982656001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:50:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:50:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:50: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-28 21:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710982656001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":163804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:50:08] local.INFO: GPS data processed {"connection_id":163804,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:50:08] local.INFO: Acknowledgment sent {"connection_id":163804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:50:29] local.INFO: TCP Data received {"connection_id":166452,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:50:29] local.INFO: Processing buffer {"connection_id":166452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:50:29] local.INFO: IMEI packet received {"connection_id":166452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 21:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":166452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:50:35] local.INFO: TCP Data received {"connection_id":165092,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0492bac10012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0492bac10012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:50:35] local.INFO: Processing buffer {"connection_id":165092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0492bac10012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:50:35] local.INFO: Packet analysis {"connection_id":165092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0492b"} 
[2026-08-28 21:50:35] local.INFO: Extracted packet for processing {"connection_id":165092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0492b"} 
[2026-08-28 21:50:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711025408001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:50:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787933994000,"timestamp_ms":1787933994000,"timestamp_seconds":1787933994,"priority":1,"record_length":96,"hex_timestamp":"000001a0492bac10"} 
[2026-08-28 21:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:50:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:50:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:50:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":165092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":165092,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":165092,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711025408001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711025408001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:50:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:50:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:50:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711025408001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:50:35] 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":710668,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:50:35] local.INFO: GPS data processed {"connection_id":165092,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:50:35] local.INFO: Acknowledgment sent {"connection_id":165092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:50:35] local.INFO: TCP Data received {"connection_id":166452,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:50:35] local.INFO: Processing buffer {"connection_id":166452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:50:35] local.INFO: IMEI packet received {"connection_id":166452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 21:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":166452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:50:37] local.INFO: TCP Data received {"connection_id":166452,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049291fb8012d34c14006aa4840000700e62c..."} 
[2026-08-28 21:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049291fb8012d34c14006aa4840000700e62c..."} 
[2026-08-28 21:50:37] local.INFO: Processing buffer {"connection_id":166452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049291fb8012d34c14006aa4840000700e62c..."} 
[2026-08-28 21:50:37] local.INFO: Packet analysis {"connection_id":166452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04929"} 
[2026-08-28 21:50:37] local.INFO: Extracted packet for processing {"connection_id":166452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04929"} 
[2026-08-28 21:50:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":7,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21: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-28 21:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710982656001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787933827000,"timestamp_ms":1787933827000,"timestamp_seconds":1787933827,"priority":1,"record_length":96,"hex_timestamp":"000001a049291fb8"} 
[2026-08-28 21: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-28 21:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 21:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21: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-28 21: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-28 21:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":166452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":166452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":166452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710982656001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710982656001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:50:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:50:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:50: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-28 21:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710982656001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":166452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:50:37] local.INFO: GPS data processed {"connection_id":166452,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:50:37] local.INFO: Acknowledgment sent {"connection_id":166452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:50:55] local.INFO: TCP Data received {"connection_id":165093,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165093,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:50:55] local.INFO: Processing buffer {"connection_id":165093,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:50:55] local.INFO: IMEI packet received {"connection_id":165093,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 21:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":165093,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:51:01] local.INFO: TCP Data received {"connection_id":165093,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165093,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:51:01] local.INFO: Processing buffer {"connection_id":165093,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:51:01] local.INFO: IMEI packet received {"connection_id":165093,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 21:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":165093,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:51:02] local.INFO: TCP Data received {"connection_id":165093,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0492bac10012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0492bac10012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:51:02] local.INFO: Processing buffer {"connection_id":165093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0492bac10012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:51:02] local.INFO: Packet analysis {"connection_id":165093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0492b"} 
[2026-08-28 21:51:02] local.INFO: Extracted packet for processing {"connection_id":165093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0492b"} 
[2026-08-28 21:51:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711025408001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:51:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:51:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787933994000,"timestamp_ms":1787933994000,"timestamp_seconds":1787933994,"priority":1,"record_length":96,"hex_timestamp":"000001a0492bac10"} 
[2026-08-28 21:51:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:51:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:51:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:51:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:51:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":165093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":165093,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":165093,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:51:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711025408001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711025408001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:51:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:51:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:51:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:51:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711025408001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:51:02] 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":710670,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:51:02] local.INFO: GPS data processed {"connection_id":165093,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:51:02] local.INFO: Acknowledgment sent {"connection_id":165093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:51:08] local.INFO: TCP Data received {"connection_id":166452,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049291fb8012d34c14006aa4840000700e62c..."} 
[2026-08-28 21:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049291fb8012d34c14006aa4840000700e62c..."} 
[2026-08-28 21:51:08] local.INFO: Processing buffer {"connection_id":166452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049291fb8012d34c14006aa4840000700e62c..."} 
[2026-08-28 21:51:08] local.INFO: Packet analysis {"connection_id":166452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04929"} 
[2026-08-28 21:51:08] local.INFO: Extracted packet for processing {"connection_id":166452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04929"} 
[2026-08-28 21:51:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":7,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21: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-28 21:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710982656001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:51:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:51:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787933827000,"timestamp_ms":1787933827000,"timestamp_seconds":1787933827,"priority":1,"record_length":96,"hex_timestamp":"000001a049291fb8"} 
[2026-08-28 21: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-28 21:51:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 21:51:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21: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-28 21: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-28 21:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":166452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":166452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":166452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:51:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710982656001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710982656001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:51:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:51:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:51: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-28 21:51:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710982656001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":166452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:51:08] local.INFO: GPS data processed {"connection_id":166452,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:51:08] local.INFO: Acknowledgment sent {"connection_id":166452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:51:29] local.INFO: TCP Data received {"connection_id":164088,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:51:29] local.INFO: Processing buffer {"connection_id":164088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:51:29] local.INFO: IMEI packet received {"connection_id":164088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 21:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":164088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:51:34] local.INFO: TCP Data received {"connection_id":165093,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0492bac10012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0492bac10012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:51:34] local.INFO: Processing buffer {"connection_id":165093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0492bac10012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:51:34] local.INFO: Packet analysis {"connection_id":165093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0492b"} 
[2026-08-28 21:51:34] local.INFO: Extracted packet for processing {"connection_id":165093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0492b"} 
[2026-08-28 21:51:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711025408001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:51:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787933994000,"timestamp_ms":1787933994000,"timestamp_seconds":1787933994,"priority":1,"record_length":96,"hex_timestamp":"000001a0492bac10"} 
[2026-08-28 21:51:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:51:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:51:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:51:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:51:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":165093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":165093,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":165093,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:51:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711025408001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711025408001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:51:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:51:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711025408001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:51:34] 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":710672,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:51:34] local.INFO: GPS data processed {"connection_id":165093,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:51:34] local.INFO: Acknowledgment sent {"connection_id":165093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:51:34] local.INFO: TCP Data received {"connection_id":164088,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:51:34] local.INFO: Processing buffer {"connection_id":164088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:51:34] local.INFO: IMEI packet received {"connection_id":164088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 21:51:34] local.INFO: IMEI acknowledgment sent {"connection_id":164088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:51:37] local.INFO: TCP Data received {"connection_id":164088,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049291fb8012d34c14006aa4840000700e62c..."} 
[2026-08-28 21:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049291fb8012d34c14006aa4840000700e62c..."} 
[2026-08-28 21:51:37] local.INFO: Processing buffer {"connection_id":164088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049291fb8012d34c14006aa4840000700e62c..."} 
[2026-08-28 21:51:37] local.INFO: Packet analysis {"connection_id":164088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04929"} 
[2026-08-28 21:51:37] local.INFO: Extracted packet for processing {"connection_id":164088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04929"} 
[2026-08-28 21:51:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":7,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21: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-28 21:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710982656001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787933827000,"timestamp_ms":1787933827000,"timestamp_seconds":1787933827,"priority":1,"record_length":96,"hex_timestamp":"000001a049291fb8"} 
[2026-08-28 21: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-28 21:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 21:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21: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-28 21: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-28 21:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710982656001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710982656001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:51:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:51:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:51: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-28 21:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710982656001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":164088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:51:37] local.INFO: GPS data processed {"connection_id":164088,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:51:37] local.INFO: Acknowledgment sent {"connection_id":164088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:51:39] local.INFO: TCP Data received {"connection_id":166453,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166453,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:51:39] local.INFO: Processing buffer {"connection_id":166453,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:51:39] local.INFO: IMEI packet received {"connection_id":166453,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 21:51:39] local.INFO: IMEI acknowledgment sent {"connection_id":166453,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:51:44] local.INFO: TCP Data received {"connection_id":166453,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166453,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:51:44] local.INFO: Processing buffer {"connection_id":166453,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:51:44] local.INFO: IMEI packet received {"connection_id":166453,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 21:51:44] local.INFO: IMEI acknowledgment sent {"connection_id":166453,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:51:45] local.INFO: TCP Data received {"connection_id":166453,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a04923d440012d1976c0071fea90003b01082d..."} 
[2026-08-28 21:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04923d440012d1976c0071fea90003b01082d..."} 
[2026-08-28 21:51:45] local.INFO: Processing buffer {"connection_id":166453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04923d440012d1976c0071fea90003b01082d..."} 
[2026-08-28 21:51:45] local.INFO: Packet analysis {"connection_id":166453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04923"} 
[2026-08-28 21:51:45] local.INFO: Extracted packet for processing {"connection_id":166453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04923"} 
[2026-08-28 21:51:45] local.INFO: GPS Element Parsed {"raw_longitude":756643520,"raw_latitude":119532176,"longitude_deg":75.664352,"latitude_deg":11.9532176,"altitude":59,"angle":264,"satellites":45,"speed":19,"hex_longitude":"2d1976c0","hex_latitude":"071fea90","is_valid_coordinates":true} 
[2026-08-28 21:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710969856001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252577154859008,"note":"Value kept but may cause issues"} 
[2026-08-28 21:51:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836694622381488128,"note":"Value kept but may cause issues"} 
[2026-08-28 21:51:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787933480000,"timestamp_ms":1787933480000,"timestamp_seconds":1787933480,"priority":1,"record_length":96,"hex_timestamp":"000001a04923d440"} 
[2026-08-28 21:51:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:51:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-28 21:51:45] 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-28 21:51:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:51:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":166453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":166453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":166453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:51:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710969856001,"66":13450,"121":206,"28":31744,"24":19,"16":16252577154859008,"45":1836694622381488128},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 21:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710969856001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:51:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 21:51:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252577154859008,"km_value":16252577154859.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:51:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836694622381488128,"description":"Unknown IO ID 45"} 
[2026-08-28 21:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710969856001,"power":13450,"unknown_121":206,"unknown_28":31744,"ignition":19,"odometer":null,"unknown_45":1836694622381488128}} 
[2026-08-28 21:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":166453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710674,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:51:45] local.INFO: GPS data processed {"connection_id":166453,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:51:45] local.INFO: Acknowledgment sent {"connection_id":166453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:51:50] local.INFO: TCP Data received {"connection_id":166453,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a04923ff38012d196900071fec78003a011c2d..."} 
[2026-08-28 21:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04923ff38012d196900071fec78003a011c2d..."} 
[2026-08-28 21:51:50] local.INFO: Processing buffer {"connection_id":166453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04923ff38012d196900071fec78003a011c2d..."} 
[2026-08-28 21:51:50] local.INFO: Packet analysis {"connection_id":166453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04923"} 
[2026-08-28 21:51:50] local.INFO: Extracted packet for processing {"connection_id":166453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04923"} 
[2026-08-28 21:51:50] local.INFO: GPS Element Parsed {"raw_longitude":756640000,"raw_latitude":119532664,"longitude_deg":75.664,"latitude_deg":11.9532664,"altitude":58,"angle":284,"satellites":45,"speed":7,"hex_longitude":"2d196900","hex_latitude":"071fec78","is_valid_coordinates":true} 
[2026-08-28 21: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-28 21:51:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710970880001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:51:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252744658583552,"note":"Value kept but may cause issues"} 
[2026-08-28 21:51:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834865035032825856,"note":"Value kept but may cause issues"} 
[2026-08-28 21:51:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:51:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787933491000,"timestamp_ms":1787933491000,"timestamp_seconds":1787933491,"priority":1,"record_length":96,"hex_timestamp":"000001a04923ff38"} 
[2026-08-28 21: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-28 21:51:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-28 21:51:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21: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-28 21: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-28 21:51:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:51:50] local.INFO: Teltonika packet parsed successfully {"connection_id":166453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:51:50] local.INFO: Passing IMEI to GPS processor {"connection_id":166453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:51:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":166453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:51:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:51:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:51:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:51:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710970880001,"66":13526,"121":206,"28":31744,"24":7,"16":16252744658583552,"45":1834865035032825856},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 21:51:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:51:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:51:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710970880001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:51:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 21:51:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:51:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252744658583552,"km_value":16252744658583.553,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:51:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834865035032825856,"description":"Unknown IO ID 45"} 
[2026-08-28 21:51:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710970880001,"power":13526,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1834865035032825856}} 
[2026-08-28 21:51:50] local.INFO: DEBUG: GPS processor result {"connection_id":166453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710675,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:51:50] local.INFO: GPS data processed {"connection_id":166453,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:51:50] local.INFO: Acknowledgment sent {"connection_id":166453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:52:01] local.INFO: TCP Data received {"connection_id":164089,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164089,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:52:01] local.INFO: Processing buffer {"connection_id":164089,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:52:01] local.INFO: IMEI packet received {"connection_id":164089,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 21:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":164089,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:52:06] local.INFO: TCP Data received {"connection_id":164089,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164089,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:52:06] local.INFO: Processing buffer {"connection_id":164089,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:52:06] local.INFO: IMEI packet received {"connection_id":164089,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 21:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":164089,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:52:07] local.INFO: TCP Data received {"connection_id":164089,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0492bac10012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0492bac10012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:52:07] local.INFO: Processing buffer {"connection_id":164089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0492bac10012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:52:07] local.INFO: Packet analysis {"connection_id":164089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0492b"} 
[2026-08-28 21:52:07] local.INFO: Extracted packet for processing {"connection_id":164089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0492b"} 
[2026-08-28 21:52:07] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711025408001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:52:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:52:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787933994000,"timestamp_ms":1787933994000,"timestamp_seconds":1787933994,"priority":1,"record_length":96,"hex_timestamp":"000001a0492bac10"} 
[2026-08-28 21:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:52:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:52:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:52:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":164089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":164089,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":164089,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:52:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711025408001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711025408001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:52:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:52:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:52:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711025408001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":164089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710676,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:52:07] local.INFO: GPS data processed {"connection_id":164089,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:52:07] local.INFO: Acknowledgment sent {"connection_id":164089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:52:09] local.INFO: TCP Data received {"connection_id":164088,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049291fb8012d34c14006aa4840000700e62c..."} 
[2026-08-28 21:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049291fb8012d34c14006aa4840000700e62c..."} 
[2026-08-28 21:52:09] local.INFO: Processing buffer {"connection_id":164088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049291fb8012d34c14006aa4840000700e62c..."} 
[2026-08-28 21:52:09] local.INFO: Packet analysis {"connection_id":164088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04929"} 
[2026-08-28 21:52:09] local.INFO: Extracted packet for processing {"connection_id":164088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04929"} 
[2026-08-28 21:52:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":7,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710982656001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:52:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:52:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787933827000,"timestamp_ms":1787933827000,"timestamp_seconds":1787933827,"priority":1,"record_length":96,"hex_timestamp":"000001a049291fb8"} 
[2026-08-28 21:52:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:52:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 21:52:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:52:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:52:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:52:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710982656001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710982656001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:52:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:52:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:52: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-28 21:52:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710982656001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":164088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:52:09] local.INFO: GPS data processed {"connection_id":164088,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:52:09] local.INFO: Acknowledgment sent {"connection_id":164088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:52:11] local.INFO: TCP Data received {"connection_id":164089,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0492bac10012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0492bac10012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:52:11] local.INFO: Processing buffer {"connection_id":164089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0492bac10012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:52:11] local.INFO: Packet analysis {"connection_id":164089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0492b"} 
[2026-08-28 21:52:11] local.INFO: Extracted packet for processing {"connection_id":164089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0492b"} 
[2026-08-28 21:52:11] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711025408001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:52:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:52:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787933994000,"timestamp_ms":1787933994000,"timestamp_seconds":1787933994,"priority":1,"record_length":96,"hex_timestamp":"000001a0492bac10"} 
[2026-08-28 21:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:52:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:52:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:52:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":164089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":164089,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":164089,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:52:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711025408001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711025408001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:52:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:52:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:52:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711025408001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":164089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710678,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:52:12] local.INFO: GPS data processed {"connection_id":164089,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:52:12] local.INFO: Acknowledgment sent {"connection_id":164089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:52:14] local.INFO: TCP Data received {"connection_id":163805,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163805,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:52:14] local.INFO: Processing buffer {"connection_id":163805,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:52:14] local.INFO: IMEI packet received {"connection_id":163805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 21:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":163805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:52:19] local.INFO: TCP Data received {"connection_id":163805,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163805,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:52:19] local.INFO: Processing buffer {"connection_id":163805,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:52:19] local.INFO: IMEI packet received {"connection_id":163805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 21:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":163805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:52:20] local.INFO: TCP Data received {"connection_id":163805,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049240320012d1968c0071fece0003a01392d..."} 
[2026-08-28 21:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049240320012d1968c0071fece0003a01392d..."} 
[2026-08-28 21:52:20] local.INFO: Processing buffer {"connection_id":163805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049240320012d1968c0071fece0003a01392d..."} 
[2026-08-28 21:52:20] local.INFO: Packet analysis {"connection_id":163805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04924"} 
[2026-08-28 21:52:20] local.INFO: Extracted packet for processing {"connection_id":163805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04924"} 
[2026-08-28 21:52:20] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532768,"longitude_deg":75.6639936,"latitude_deg":11.9532768,"altitude":58,"angle":313,"satellites":45,"speed":6,"hex_longitude":"2d1968c0","hex_latitude":"071fece0","is_valid_coordinates":true} 
[2026-08-28 21: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-28 21:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710973696001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252748953550848,"note":"Value kept but may cause issues"} 
[2026-08-28 21:52:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830994754103179264,"note":"Value kept but may cause issues"} 
[2026-08-28 21:52:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787933492000,"timestamp_ms":1787933492000,"timestamp_seconds":1787933492,"priority":1,"record_length":96,"hex_timestamp":"000001a049240320"} 
[2026-08-28 21: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-28 21:52:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21:52:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-28 21:52:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21: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-28 21: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-28 21:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:52:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710973696001,"66":13526,"121":206,"28":31744,"24":6,"16":16252748953550848,"45":1830994754103179264},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 21:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710973696001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:52:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 21:52:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252748953550848,"km_value":16252748953550.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:52:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830994754103179264,"description":"Unknown IO ID 45"} 
[2026-08-28 21:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710973696001,"power":13526,"unknown_121":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1830994754103179264}} 
[2026-08-28 21:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":163805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710679,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:52:20] local.INFO: GPS data processed {"connection_id":163805,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:52:20] local.INFO: Acknowledgment sent {"connection_id":163805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:52:35] local.INFO: TCP Data received {"connection_id":165094,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:52:35] local.INFO: Processing buffer {"connection_id":165094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:52:35] local.INFO: IMEI packet received {"connection_id":165094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 21:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":165094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:52:40] local.INFO: TCP Data received {"connection_id":165094,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:52:40] local.INFO: Processing buffer {"connection_id":165094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:52:40] local.INFO: IMEI packet received {"connection_id":165094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 21:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":165094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:52:41] local.INFO: TCP Data received {"connection_id":165094,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049291fb8012d34c14006aa4840000700e62c..."} 
[2026-08-28 21:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049291fb8012d34c14006aa4840000700e62c..."} 
[2026-08-28 21:52:41] local.INFO: Processing buffer {"connection_id":165094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049291fb8012d34c14006aa4840000700e62c..."} 
[2026-08-28 21:52:41] local.INFO: Packet analysis {"connection_id":165094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04929"} 
[2026-08-28 21:52:41] local.INFO: Extracted packet for processing {"connection_id":165094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04929"} 
[2026-08-28 21:52:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":7,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21: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-28 21:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710982656001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:52:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:52:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787933827000,"timestamp_ms":1787933827000,"timestamp_seconds":1787933827,"priority":1,"record_length":96,"hex_timestamp":"000001a049291fb8"} 
[2026-08-28 21: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-28 21:52:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 21:52: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-28 21: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-28 21: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-28 21:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":165094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":165094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":165094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:52:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710982656001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710982656001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:52:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:52:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21: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-28 21:52:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710982656001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:52:41] 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":710680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:52:41] local.INFO: GPS data processed {"connection_id":165094,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:52:41] local.INFO: Acknowledgment sent {"connection_id":165094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:52:48] local.INFO: TCP Data received {"connection_id":165094,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049291fb8012d34c14006aa4840000700e62c..."} 
[2026-08-28 21:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049291fb8012d34c14006aa4840000700e62c..."} 
[2026-08-28 21:52:48] local.INFO: Processing buffer {"connection_id":165094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049291fb8012d34c14006aa4840000700e62c..."} 
[2026-08-28 21:52:48] local.INFO: Packet analysis {"connection_id":165094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04929"} 
[2026-08-28 21:52:48] local.INFO: Extracted packet for processing {"connection_id":165094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04929"} 
[2026-08-28 21:52:48] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":7,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21: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-28 21:52:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710982656001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:52:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:52:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:52:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:52:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787933827000,"timestamp_ms":1787933827000,"timestamp_seconds":1787933827,"priority":1,"record_length":96,"hex_timestamp":"000001a049291fb8"} 
[2026-08-28 21: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-28 21:52:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 21:52: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-28 21: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-28 21: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-28 21:52:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:52:48] local.INFO: Teltonika packet parsed successfully {"connection_id":165094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:52:48] local.INFO: Passing IMEI to GPS processor {"connection_id":165094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:52:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":165094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:52:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:52:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:52:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:52:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710982656001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:52:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:52:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:52:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710982656001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:52:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:52:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21: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-28 21:52:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:52:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710982656001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:52:48] 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":710681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:52:48] local.INFO: GPS data processed {"connection_id":165094,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:52:48] local.INFO: Acknowledgment sent {"connection_id":165094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:52:51] local.INFO: TCP Data received {"connection_id":163805,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049245528012d196880071fedc0003b01392b..."} 
[2026-08-28 21:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049245528012d196880071fedc0003b01392b..."} 
[2026-08-28 21:52:51] local.INFO: Processing buffer {"connection_id":163805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049245528012d196880071fedc0003b01392b..."} 
[2026-08-28 21:52:51] local.INFO: Packet analysis {"connection_id":163805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04924"} 
[2026-08-28 21:52:51] local.INFO: Extracted packet for processing {"connection_id":163805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04924"} 
[2026-08-28 21:52:51] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532992,"longitude_deg":75.6639872,"latitude_deg":11.9532992,"altitude":59,"angle":313,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fedc0","is_valid_coordinates":true} 
[2026-08-28 21: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-28 21:52:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710973952001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:52:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 21:52:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385359028224,"note":"Value kept but may cause issues"} 
[2026-08-28 21:52:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:52:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787933513000,"timestamp_ms":1787933513000,"timestamp_seconds":1787933513,"priority":1,"record_length":96,"hex_timestamp":"000001a049245528"} 
[2026-08-28 21: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-28 21:52:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-28 21:52:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21: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-28 21: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-28 21:52:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:52:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:52:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:52:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:52:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:52:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:52:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:52:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710973952001,"66":12504,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830924385359028224},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 21:52:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:52:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:52:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710973952001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:52:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 21:52:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:52:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:52:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385359028224,"description":"Unknown IO ID 45"} 
[2026-08-28 21:52:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710973952001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830924385359028224}} 
[2026-08-28 21:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":163805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710682,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:52:51] local.INFO: GPS data processed {"connection_id":163805,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:52:51] local.INFO: Acknowledgment sent {"connection_id":163805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:52:56] local.INFO: TCP Data received {"connection_id":166454,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166454,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:52:56] local.INFO: Processing buffer {"connection_id":166454,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:52:56] local.INFO: IMEI packet received {"connection_id":166454,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 21:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":166454,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:53:01] local.INFO: TCP Data received {"connection_id":166454,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166454,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:53:01] local.INFO: Processing buffer {"connection_id":166454,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:53:01] local.INFO: IMEI packet received {"connection_id":166454,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 21:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":166454,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:53:03] local.INFO: TCP Data received {"connection_id":166454,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0492bac10012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0492bac10012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:53:03] local.INFO: Processing buffer {"connection_id":166454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0492bac10012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:53:03] local.INFO: Packet analysis {"connection_id":166454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0492b"} 
[2026-08-28 21:53:03] local.INFO: Extracted packet for processing {"connection_id":166454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0492b"} 
[2026-08-28 21:53:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711025408001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787933994000,"timestamp_ms":1787933994000,"timestamp_seconds":1787933994,"priority":1,"record_length":96,"hex_timestamp":"000001a0492bac10"} 
[2026-08-28 21:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:53:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:53:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:53:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":166454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":166454,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":166454,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711025408001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711025408001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:53:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:53:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711025408001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":166454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710683,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:53:03] local.INFO: GPS data processed {"connection_id":166454,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:53:03] local.INFO: Acknowledgment sent {"connection_id":166454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:53:15] local.INFO: TCP Data received {"connection_id":165095,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165095,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:53:15] local.INFO: Processing buffer {"connection_id":165095,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:53:15] local.INFO: IMEI packet received {"connection_id":165095,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 21:53:15] local.INFO: IMEI acknowledgment sent {"connection_id":165095,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:53:19] local.INFO: TCP Data received {"connection_id":165095,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165095,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:53:19] local.INFO: Processing buffer {"connection_id":165095,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:53:19] local.INFO: IMEI packet received {"connection_id":165095,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 21:53:19] local.INFO: IMEI acknowledgment sent {"connection_id":165095,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:53:20] local.INFO: TCP Data received {"connection_id":165095,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049245528012d196880071fedc0003b01392b..."} 
[2026-08-28 21:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049245528012d196880071fedc0003b01392b..."} 
[2026-08-28 21:53:20] local.INFO: Processing buffer {"connection_id":165095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049245528012d196880071fedc0003b01392b..."} 
[2026-08-28 21:53:20] local.INFO: Packet analysis {"connection_id":165095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04924"} 
[2026-08-28 21:53:20] local.INFO: Extracted packet for processing {"connection_id":165095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04924"} 
[2026-08-28 21:53:20] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532992,"longitude_deg":75.6639872,"latitude_deg":11.9532992,"altitude":59,"angle":313,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fedc0","is_valid_coordinates":true} 
[2026-08-28 21:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:53:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710979328001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:53:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 21:53:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614907904,"note":"Value kept but may cause issues"} 
[2026-08-28 21:53:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:53:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787933513000,"timestamp_ms":1787933513000,"timestamp_seconds":1787933513,"priority":1,"record_length":96,"hex_timestamp":"000001a049245528"} 
[2026-08-28 21:53:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:53:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-28 21:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-28 21:53:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:53:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:53:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:53:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:53:20] local.INFO: Teltonika packet parsed successfully {"connection_id":165095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:53:20] local.INFO: Passing IMEI to GPS processor {"connection_id":165095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:53:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":165095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:53:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:53:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:53:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:53:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710979328001,"66":12504,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830854016614907904},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 21:53:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:53:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:53:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710979328001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:53:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 21:53:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:53:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:53:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614907904,"description":"Unknown IO ID 45"} 
[2026-08-28 21:53:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710979328001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614907904}} 
[2026-08-28 21:53:20] 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":710684,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:53:20] local.INFO: GPS data processed {"connection_id":165095,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:53:20] local.INFO: Acknowledgment sent {"connection_id":165095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:53:29] local.INFO: TCP Data received {"connection_id":164090,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:53:29] local.INFO: Processing buffer {"connection_id":164090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:53:29] local.INFO: IMEI packet received {"connection_id":164090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 21:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":164090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:53:35] local.INFO: TCP Data received {"connection_id":164090,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:53:35] local.INFO: Processing buffer {"connection_id":164090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:53:35] local.INFO: IMEI packet received {"connection_id":164090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 21:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":164090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:53:35] local.INFO: TCP Data received {"connection_id":166454,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0492bac10012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0492bac10012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:53:35] local.INFO: Processing buffer {"connection_id":166454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0492bac10012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:53:35] local.INFO: Packet analysis {"connection_id":166454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0492b"} 
[2026-08-28 21:53:35] local.INFO: Extracted packet for processing {"connection_id":166454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0492b"} 
[2026-08-28 21:53:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:53:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711025408001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:53:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:53:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:53:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:53:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787933994000,"timestamp_ms":1787933994000,"timestamp_seconds":1787933994,"priority":1,"record_length":96,"hex_timestamp":"000001a0492bac10"} 
[2026-08-28 21:53:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:53:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:53:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:53:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:53:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:53:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:53:35] local.INFO: Teltonika packet parsed successfully {"connection_id":166454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:53:35] local.INFO: Passing IMEI to GPS processor {"connection_id":166454,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:53:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":166454,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:53:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:53:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:53:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:53:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711025408001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:53:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:53:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:53:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711025408001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:53:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:53:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:53:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:53:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:53:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711025408001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":166454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710685,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:53:36] local.INFO: GPS data processed {"connection_id":166454,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:53:36] local.INFO: Acknowledgment sent {"connection_id":166454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:53:37] local.INFO: TCP Data received {"connection_id":164090,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0492db780012d34c14006aa4840000d00e62c..."} 
[2026-08-28 21:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0492db780012d34c14006aa4840000d00e62c..."} 
[2026-08-28 21:53:37] local.INFO: Processing buffer {"connection_id":164090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0492db780012d34c14006aa4840000d00e62c..."} 
[2026-08-28 21:53:37] local.INFO: Packet analysis {"connection_id":164090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0492d"} 
[2026-08-28 21:53:37] local.INFO: Extracted packet for processing {"connection_id":164090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0492d"} 
[2026-08-28 21:53:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711059712001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787934128000,"timestamp_ms":1787934128000,"timestamp_seconds":1787934128,"priority":1,"record_length":96,"hex_timestamp":"000001a0492db780"} 
[2026-08-28 21:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 21:53:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711059712001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711059712001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:53:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:53:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:53: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-28 21:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711059712001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":164090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:53:37] local.INFO: GPS data processed {"connection_id":164090,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:53:37] local.INFO: Acknowledgment sent {"connection_id":164090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:53:52] local.INFO: TCP Data received {"connection_id":165095,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049245528012d196880071fedc0003b01392b..."} 
[2026-08-28 21:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049245528012d196880071fedc0003b01392b..."} 
[2026-08-28 21:53:52] local.INFO: Processing buffer {"connection_id":165095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049245528012d196880071fedc0003b01392b..."} 
[2026-08-28 21:53:52] local.INFO: Packet analysis {"connection_id":165095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04924"} 
[2026-08-28 21:53:52] local.INFO: Extracted packet for processing {"connection_id":165095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04924"} 
[2026-08-28 21:53:52] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532992,"longitude_deg":75.6639872,"latitude_deg":11.9532992,"altitude":59,"angle":313,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fedc0","is_valid_coordinates":true} 
[2026-08-28 21:53:52] 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-28 21:53:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710979328001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:53:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 21:53:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614907904,"note":"Value kept but may cause issues"} 
[2026-08-28 21:53:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:53:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787933513000,"timestamp_ms":1787933513000,"timestamp_seconds":1787933513,"priority":1,"record_length":96,"hex_timestamp":"000001a049245528"} 
[2026-08-28 21: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-28 21:53:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-28 21:53:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21: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-28 21: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-28 21:53:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:53:52] local.INFO: Teltonika packet parsed successfully {"connection_id":165095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:53:52] local.INFO: Passing IMEI to GPS processor {"connection_id":165095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:53:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":165095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:53:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:53:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:53:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:53:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710979328001,"66":12504,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830854016614907904},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 21:53:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:53:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:53:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710979328001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:53:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 21:53:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:53:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:53:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614907904,"description":"Unknown IO ID 45"} 
[2026-08-28 21:53:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710979328001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614907904}} 
[2026-08-28 21:53:52] 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":710687,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:53:52] local.INFO: GPS data processed {"connection_id":165095,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:53:52] local.INFO: Acknowledgment sent {"connection_id":165095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:53:55] local.INFO: TCP Data received {"connection_id":165096,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165096,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:53:55] local.INFO: Processing buffer {"connection_id":165096,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:53:55] local.INFO: IMEI packet received {"connection_id":165096,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 21:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":165096,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:54:01] local.INFO: TCP Data received {"connection_id":165096,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165096,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:54:01] local.INFO: Processing buffer {"connection_id":165096,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:54:01] local.INFO: IMEI packet received {"connection_id":165096,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 21:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":165096,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:54:02] local.INFO: TCP Data received {"connection_id":165096,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0492bac10012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0492bac10012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:54:02] local.INFO: Processing buffer {"connection_id":165096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0492bac10012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:54:02] local.INFO: Packet analysis {"connection_id":165096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0492b"} 
[2026-08-28 21:54:02] local.INFO: Extracted packet for processing {"connection_id":165096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0492b"} 
[2026-08-28 21:54:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711025408001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:54:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:54:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787933994000,"timestamp_ms":1787933994000,"timestamp_seconds":1787933994,"priority":1,"record_length":96,"hex_timestamp":"000001a0492bac10"} 
[2026-08-28 21:54:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:54:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:54:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:54:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:54:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":165096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":165096,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":165096,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:54:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711025408001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711025408001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:54:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:54:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:54:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711025408001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:54:02] 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":710688,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:54:02] local.INFO: GPS data processed {"connection_id":165096,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:54:02] local.INFO: Acknowledgment sent {"connection_id":165096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:54:08] local.INFO: TCP Data received {"connection_id":164090,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0492db780012d34c14006aa4840000d00e62c..."} 
[2026-08-28 21:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0492db780012d34c14006aa4840000d00e62c..."} 
[2026-08-28 21:54:08] local.INFO: Processing buffer {"connection_id":164090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0492db780012d34c14006aa4840000d00e62c..."} 
[2026-08-28 21:54:08] local.INFO: Packet analysis {"connection_id":164090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0492d"} 
[2026-08-28 21:54:08] local.INFO: Extracted packet for processing {"connection_id":164090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0492d"} 
[2026-08-28 21:54:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711059712001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:54:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787934128000,"timestamp_ms":1787934128000,"timestamp_seconds":1787934128,"priority":1,"record_length":96,"hex_timestamp":"000001a0492db780"} 
[2026-08-28 21:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:54:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 21:54:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:54:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:54:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711059712001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711059712001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:54:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:54:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:54: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-28 21:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711059712001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":164090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:54:08] local.INFO: GPS data processed {"connection_id":164090,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:54:08] local.INFO: Acknowledgment sent {"connection_id":164090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:54:14] local.INFO: TCP Data received {"connection_id":163806,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163806,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:54:14] local.INFO: Processing buffer {"connection_id":163806,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:54:14] local.INFO: IMEI packet received {"connection_id":163806,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 21:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":163806,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:54:19] local.INFO: TCP Data received {"connection_id":163806,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163806,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:54:19] local.INFO: Processing buffer {"connection_id":163806,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:54:19] local.INFO: IMEI packet received {"connection_id":163806,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 21:54:19] local.INFO: IMEI acknowledgment sent {"connection_id":163806,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:54:21] local.INFO: TCP Data received {"connection_id":163806,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049245528012d196880071fedc0003b01392b..."} 
[2026-08-28 21:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049245528012d196880071fedc0003b01392b..."} 
[2026-08-28 21:54:21] local.INFO: Processing buffer {"connection_id":163806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049245528012d196880071fedc0003b01392b..."} 
[2026-08-28 21:54:21] local.INFO: Packet analysis {"connection_id":163806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04924"} 
[2026-08-28 21:54:21] local.INFO: Extracted packet for processing {"connection_id":163806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04924"} 
[2026-08-28 21:54:21] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532992,"longitude_deg":75.6639872,"latitude_deg":11.9532992,"altitude":59,"angle":313,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fedc0","is_valid_coordinates":true} 
[2026-08-28 21:54:21] 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-28 21:54:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710979328001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:54:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 21:54:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614907904,"note":"Value kept but may cause issues"} 
[2026-08-28 21:54:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:54:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787933513000,"timestamp_ms":1787933513000,"timestamp_seconds":1787933513,"priority":1,"record_length":96,"hex_timestamp":"000001a049245528"} 
[2026-08-28 21:54:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:54:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-28 21:54:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:54:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:54:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:54:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:54:21] local.INFO: Teltonika packet parsed successfully {"connection_id":163806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:54:21] local.INFO: Passing IMEI to GPS processor {"connection_id":163806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:54:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":163806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:54:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:54:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:54:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:54:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710979328001,"66":12504,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830854016614907904},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 21:54:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:54:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:54:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710979328001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:54:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 21:54:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:54:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:54:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614907904,"description":"Unknown IO ID 45"} 
[2026-08-28 21:54:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710979328001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614907904}} 
[2026-08-28 21:54:21] local.INFO: DEBUG: GPS processor result {"connection_id":163806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710690,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:54:21] local.INFO: GPS data processed {"connection_id":163806,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:54:21] local.INFO: Acknowledgment sent {"connection_id":163806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:54:29] local.INFO: TCP Data received {"connection_id":165097,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:54:29] local.INFO: Processing buffer {"connection_id":165097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:54:29] local.INFO: IMEI packet received {"connection_id":165097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 21:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":165097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:54:34] local.INFO: TCP Data received {"connection_id":165096,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0492bac10012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0492bac10012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:54:34] local.INFO: Processing buffer {"connection_id":165096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0492bac10012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:54:34] local.INFO: Packet analysis {"connection_id":165096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0492b"} 
[2026-08-28 21:54:34] local.INFO: Extracted packet for processing {"connection_id":165096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0492b"} 
[2026-08-28 21:54:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711025408001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:54:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:54:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787933994000,"timestamp_ms":1787933994000,"timestamp_seconds":1787933994,"priority":1,"record_length":96,"hex_timestamp":"000001a0492bac10"} 
[2026-08-28 21:54:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:54:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:54:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:54:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:54:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":165096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":165096,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":165096,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:54:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711025408001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711025408001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:54:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:54:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:54:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711025408001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:54:35] 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":710691,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:54:35] local.INFO: GPS data processed {"connection_id":165096,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:54:35] local.INFO: Acknowledgment sent {"connection_id":165096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:54:35] local.INFO: TCP Data received {"connection_id":165097,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:54:35] local.INFO: Processing buffer {"connection_id":165097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:54:35] local.INFO: IMEI packet received {"connection_id":165097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 21:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":165097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:54:37] local.INFO: TCP Data received {"connection_id":165097,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0492db780012d34c14006aa4840000d00e62c..."} 
[2026-08-28 21:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0492db780012d34c14006aa4840000d00e62c..."} 
[2026-08-28 21:54:37] local.INFO: Processing buffer {"connection_id":165097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0492db780012d34c14006aa4840000d00e62c..."} 
[2026-08-28 21:54:37] local.INFO: Packet analysis {"connection_id":165097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0492d"} 
[2026-08-28 21:54:37] local.INFO: Extracted packet for processing {"connection_id":165097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0492d"} 
[2026-08-28 21:54:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711059712001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787934128000,"timestamp_ms":1787934128000,"timestamp_seconds":1787934128,"priority":1,"record_length":96,"hex_timestamp":"000001a0492db780"} 
[2026-08-28 21:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 21:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:54:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":165097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":165097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":165097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711059712001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711059712001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:54:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:54:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:54: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-28 21:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711059712001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:54:37] 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":710692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:54:37] local.INFO: GPS data processed {"connection_id":165097,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:54:37] local.INFO: Acknowledgment sent {"connection_id":165097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:54:52] local.INFO: TCP Data received {"connection_id":163806,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049245528012d196880071fedc0003b01392b..."} 
[2026-08-28 21:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049245528012d196880071fedc0003b01392b..."} 
[2026-08-28 21:54:52] local.INFO: Processing buffer {"connection_id":163806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049245528012d196880071fedc0003b01392b..."} 
[2026-08-28 21:54:52] local.INFO: Packet analysis {"connection_id":163806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04924"} 
[2026-08-28 21:54:52] local.INFO: Extracted packet for processing {"connection_id":163806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04924"} 
[2026-08-28 21:54:52] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532992,"longitude_deg":75.6639872,"latitude_deg":11.9532992,"altitude":59,"angle":313,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fedc0","is_valid_coordinates":true} 
[2026-08-28 21:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:54:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710979328001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:54:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 21:54:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614907904,"note":"Value kept but may cause issues"} 
[2026-08-28 21:54:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:54:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787933513000,"timestamp_ms":1787933513000,"timestamp_seconds":1787933513,"priority":1,"record_length":96,"hex_timestamp":"000001a049245528"} 
[2026-08-28 21:54:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:54:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-28 21:54:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:54:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:54:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:54:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:54:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:54:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:54:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:54:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:54:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:54:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:54:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710979328001,"66":12504,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830854016614907904},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 21:54:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:54:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:54:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710979328001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:54:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 21:54:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:54:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:54:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614907904,"description":"Unknown IO ID 45"} 
[2026-08-28 21:54:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710979328001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614907904}} 
[2026-08-28 21:54:52] local.INFO: DEBUG: GPS processor result {"connection_id":163806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710693,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:54:52] local.INFO: GPS data processed {"connection_id":163806,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:54:52] local.INFO: Acknowledgment sent {"connection_id":163806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:54:55] local.INFO: TCP Data received {"connection_id":163807,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163807,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:54:55] local.INFO: Processing buffer {"connection_id":163807,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:54:55] local.INFO: IMEI packet received {"connection_id":163807,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 21:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":163807,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:55:01] local.INFO: TCP Data received {"connection_id":163807,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163807,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:55:01] local.INFO: Processing buffer {"connection_id":163807,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:55:01] local.INFO: IMEI packet received {"connection_id":163807,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 21:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":163807,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:55:02] local.INFO: TCP Data received {"connection_id":163807,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0492bac10012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0492bac10012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:55:02] local.INFO: Processing buffer {"connection_id":163807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0492bac10012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:55:02] local.INFO: Packet analysis {"connection_id":163807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0492b"} 
[2026-08-28 21:55:02] local.INFO: Extracted packet for processing {"connection_id":163807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0492b"} 
[2026-08-28 21:55:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:55:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711025408001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:55:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:55:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:55:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:55:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787933994000,"timestamp_ms":1787933994000,"timestamp_seconds":1787933994,"priority":1,"record_length":96,"hex_timestamp":"000001a0492bac10"} 
[2026-08-28 21:55:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:55:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:55:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:55:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:55:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:55:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:55:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:55:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163807,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:55:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163807,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:55:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:55:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:55:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:55:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711025408001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:55:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:55:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:55:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711025408001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:55:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:55:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:55:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:55:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:55:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711025408001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:55:02] local.INFO: DEBUG: GPS processor result {"connection_id":163807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710694,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:55:02] local.INFO: GPS data processed {"connection_id":163807,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:55:02] local.INFO: Acknowledgment sent {"connection_id":163807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:55:08] local.INFO: TCP Data received {"connection_id":165097,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0492db780012d34c14006aa4840000d00e62c..."} 
[2026-08-28 21:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0492db780012d34c14006aa4840000d00e62c..."} 
[2026-08-28 21:55:08] local.INFO: Processing buffer {"connection_id":165097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0492db780012d34c14006aa4840000d00e62c..."} 
[2026-08-28 21:55:08] local.INFO: Packet analysis {"connection_id":165097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0492d"} 
[2026-08-28 21:55:08] local.INFO: Extracted packet for processing {"connection_id":165097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0492d"} 
[2026-08-28 21:55:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711059712001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:55:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:55:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787934128000,"timestamp_ms":1787934128000,"timestamp_seconds":1787934128,"priority":1,"record_length":96,"hex_timestamp":"000001a0492db780"} 
[2026-08-28 21:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:55:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 21:55:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:55:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":165097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":165097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":165097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:55:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711059712001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711059712001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:55:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:55:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:55: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-28 21:55:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711059712001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:55:08] 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":710695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:55:08] local.INFO: GPS data processed {"connection_id":165097,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:55:08] local.INFO: Acknowledgment sent {"connection_id":165097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:55:19] local.INFO: TCP Data received {"connection_id":164091,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164091,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:55:19] local.INFO: Processing buffer {"connection_id":164091,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:55:19] local.INFO: IMEI packet received {"connection_id":164091,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 21:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":164091,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:55:24] local.INFO: TCP Data received {"connection_id":164091,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164091,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:55:24] local.INFO: Processing buffer {"connection_id":164091,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:55:24] local.INFO: IMEI packet received {"connection_id":164091,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 21:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":164091,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:55:26] local.INFO: TCP Data received {"connection_id":164091,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0492faf68012d196580071ff008003d01392a..."} 
[2026-08-28 21:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0492faf68012d196580071ff008003d01392a..."} 
[2026-08-28 21:55:26] local.INFO: Processing buffer {"connection_id":164091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0492faf68012d196580071ff008003d01392a..."} 
[2026-08-28 21:55:26] local.INFO: Packet analysis {"connection_id":164091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0492f"} 
[2026-08-28 21:55:26] local.INFO: Extracted packet for processing {"connection_id":164091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0492f"} 
[2026-08-28 21:55:26] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 21:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:55:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710979328001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:55:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 21:55:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614907904,"note":"Value kept but may cause issues"} 
[2026-08-28 21:55:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:55:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787934257000,"timestamp_ms":1787934257000,"timestamp_seconds":1787934257,"priority":1,"record_length":96,"hex_timestamp":"000001a0492faf68"} 
[2026-08-28 21:55:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:55:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-28 21:55:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:55:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:55:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:55:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:55:26] local.INFO: Teltonika packet parsed successfully {"connection_id":164091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:55:26] local.INFO: Passing IMEI to GPS processor {"connection_id":164091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:55:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":164091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:55:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:55:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:55:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:55:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710979328001,"66":2166,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830854016614907904},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 21:55:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:55:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:55:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710979328001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:55:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 21:55:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:55:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:55:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614907904,"description":"Unknown IO ID 45"} 
[2026-08-28 21:55:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710979328001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614907904}} 
[2026-08-28 21:55:26] local.INFO: DEBUG: GPS processor result {"connection_id":164091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710696,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:55:26] local.INFO: GPS data processed {"connection_id":164091,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:55:26] local.INFO: Acknowledgment sent {"connection_id":164091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:55:29] local.INFO: TCP Data received {"connection_id":166455,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:55:29] local.INFO: Processing buffer {"connection_id":166455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:55:29] local.INFO: IMEI packet received {"connection_id":166455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 21:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":166455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:55:31] local.INFO: TCP Data received {"connection_id":164091,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0492faf68012d196580071ff008003d01392a..."} 
[2026-08-28 21:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0492faf68012d196580071ff008003d01392a..."} 
[2026-08-28 21:55:31] local.INFO: Processing buffer {"connection_id":164091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0492faf68012d196580071ff008003d01392a..."} 
[2026-08-28 21:55:31] local.INFO: Packet analysis {"connection_id":164091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0492f"} 
[2026-08-28 21:55:31] local.INFO: Extracted packet for processing {"connection_id":164091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0492f"} 
[2026-08-28 21:55:31] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 21:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710979328001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 21:55:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614907904,"note":"Value kept but may cause issues"} 
[2026-08-28 21:55:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787934257000,"timestamp_ms":1787934257000,"timestamp_seconds":1787934257,"priority":1,"record_length":96,"hex_timestamp":"000001a0492faf68"} 
[2026-08-28 21:55:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:55:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-28 21:55:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:55:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:55:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":164091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":164091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":164091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:55:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710979328001,"66":2166,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830854016614907904},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 21:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710979328001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:55:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 21:55:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:55:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:55:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614907904,"description":"Unknown IO ID 45"} 
[2026-08-28 21:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710979328001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614907904}} 
[2026-08-28 21:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":164091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710697,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:55:31] local.INFO: GPS data processed {"connection_id":164091,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:55:31] local.INFO: Acknowledgment sent {"connection_id":164091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:55:34] local.INFO: TCP Data received {"connection_id":163807,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0493043d8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0493043d8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:55:34] local.INFO: Processing buffer {"connection_id":163807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0493043d8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:55:34] local.INFO: Packet analysis {"connection_id":163807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04930"} 
[2026-08-28 21:55:34] local.INFO: Extracted packet for processing {"connection_id":163807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04930"} 
[2026-08-28 21:55:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711102464001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:55:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:55:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787934295000,"timestamp_ms":1787934295000,"timestamp_seconds":1787934295,"priority":1,"record_length":96,"hex_timestamp":"000001a0493043d8"} 
[2026-08-28 21:55:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:55:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:55:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:55:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:55:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163807,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163807,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:55:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711102464001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711102464001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:55:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:55:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:55:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:55:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711102464001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":163807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710698,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:55:34] local.INFO: GPS data processed {"connection_id":163807,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:55:34] local.INFO: Acknowledgment sent {"connection_id":163807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:55:35] local.INFO: TCP Data received {"connection_id":166455,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:55:35] local.INFO: Processing buffer {"connection_id":166455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:55:35] local.INFO: IMEI packet received {"connection_id":166455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 21:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":166455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:55:37] local.INFO: TCP Data received {"connection_id":166455,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0492db780012d34c14006aa4840000d00e62c..."} 
[2026-08-28 21:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0492db780012d34c14006aa4840000d00e62c..."} 
[2026-08-28 21:55:37] local.INFO: Processing buffer {"connection_id":166455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0492db780012d34c14006aa4840000d00e62c..."} 
[2026-08-28 21:55:37] local.INFO: Packet analysis {"connection_id":166455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0492d"} 
[2026-08-28 21:55:37] local.INFO: Extracted packet for processing {"connection_id":166455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0492d"} 
[2026-08-28 21:55:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711059712001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787934128000,"timestamp_ms":1787934128000,"timestamp_seconds":1787934128,"priority":1,"record_length":96,"hex_timestamp":"000001a0492db780"} 
[2026-08-28 21:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 21:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":166455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":166455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":166455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711059712001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711059712001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:55:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:55:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:55: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-28 21:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711059712001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":166455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:55:37] local.INFO: GPS data processed {"connection_id":166455,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:55:37] local.INFO: Acknowledgment sent {"connection_id":166455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:56:01] local.INFO: TCP Data received {"connection_id":163808,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163808,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:56:01] local.INFO: Processing buffer {"connection_id":163808,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:56:01] local.INFO: IMEI packet received {"connection_id":163808,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 21:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":163808,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:56:06] local.INFO: TCP Data received {"connection_id":163808,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163808,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:56:06] local.INFO: Processing buffer {"connection_id":163808,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:56:06] local.INFO: IMEI packet received {"connection_id":163808,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 21:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":163808,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:56:07] local.INFO: TCP Data received {"connection_id":163808,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0493043d8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0493043d8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:56:07] local.INFO: Processing buffer {"connection_id":163808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0493043d8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:56:07] local.INFO: Packet analysis {"connection_id":163808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04930"} 
[2026-08-28 21:56:07] local.INFO: Extracted packet for processing {"connection_id":163808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04930"} 
[2026-08-28 21:56:07] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21: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-28 21:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711102464001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:56:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787934295000,"timestamp_ms":1787934295000,"timestamp_seconds":1787934295,"priority":1,"record_length":96,"hex_timestamp":"000001a0493043d8"} 
[2026-08-28 21: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-28 21:56:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:56:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21: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-28 21: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-28 21:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":163808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":163808,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":163808,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:56:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711102464001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711102464001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:56:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:56:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711102464001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":163808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710700,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:56:07] local.INFO: GPS data processed {"connection_id":163808,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:56:07] local.INFO: Acknowledgment sent {"connection_id":163808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:56:08] local.INFO: TCP Data received {"connection_id":166455,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0492db780012d34c14006aa4840000d00e62c..."} 
[2026-08-28 21:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0492db780012d34c14006aa4840000d00e62c..."} 
[2026-08-28 21:56:08] local.INFO: Processing buffer {"connection_id":166455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0492db780012d34c14006aa4840000d00e62c..."} 
[2026-08-28 21:56:08] local.INFO: Packet analysis {"connection_id":166455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0492d"} 
[2026-08-28 21:56:08] local.INFO: Extracted packet for processing {"connection_id":166455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0492d"} 
[2026-08-28 21:56:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711059712001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:56:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787934128000,"timestamp_ms":1787934128000,"timestamp_seconds":1787934128,"priority":1,"record_length":96,"hex_timestamp":"000001a0492db780"} 
[2026-08-28 21:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:56:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 21:56:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:56:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":166455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":166455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":166455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:56:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711059712001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711059712001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:56:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:56:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:56: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-28 21:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711059712001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":166455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:56:08] local.INFO: GPS data processed {"connection_id":166455,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:56:08] local.INFO: Acknowledgment sent {"connection_id":166455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:56:12] local.INFO: TCP Data received {"connection_id":163808,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0493043d8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0493043d8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:56:12] local.INFO: Processing buffer {"connection_id":163808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0493043d8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:56:12] local.INFO: Packet analysis {"connection_id":163808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04930"} 
[2026-08-28 21:56:12] local.INFO: Extracted packet for processing {"connection_id":163808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04930"} 
[2026-08-28 21:56:12] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21: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-28 21:56:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711102464001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:56:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:56:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:56:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:56:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787934295000,"timestamp_ms":1787934295000,"timestamp_seconds":1787934295,"priority":1,"record_length":96,"hex_timestamp":"000001a0493043d8"} 
[2026-08-28 21: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-28 21:56:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21: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":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:56:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21: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-28 21: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-28 21:56:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:56:12] local.INFO: Teltonika packet parsed successfully {"connection_id":163808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:56:12] local.INFO: Passing IMEI to GPS processor {"connection_id":163808,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:56:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":163808,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:56:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:56:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:56:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:56:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711102464001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:56:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:56:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:56:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711102464001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:56:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:56:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:56:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:56:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:56:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711102464001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:56:12] local.INFO: DEBUG: GPS processor result {"connection_id":163808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710702,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:56:12] local.INFO: GPS data processed {"connection_id":163808,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:56:12] local.INFO: Acknowledgment sent {"connection_id":163808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:56:14] local.INFO: TCP Data received {"connection_id":165098,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165098,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:56:14] local.INFO: Processing buffer {"connection_id":165098,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:56:14] local.INFO: IMEI packet received {"connection_id":165098,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 21:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":165098,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:56:19] local.INFO: TCP Data received {"connection_id":165098,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165098,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:56:19] local.INFO: Processing buffer {"connection_id":165098,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:56:19] local.INFO: IMEI packet received {"connection_id":165098,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 21:56:19] local.INFO: IMEI acknowledgment sent {"connection_id":165098,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:56:20] local.INFO: TCP Data received {"connection_id":165098,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0492faf68012d196580071ff008003d01392a..."} 
[2026-08-28 21:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0492faf68012d196580071ff008003d01392a..."} 
[2026-08-28 21:56:20] local.INFO: Processing buffer {"connection_id":165098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0492faf68012d196580071ff008003d01392a..."} 
[2026-08-28 21:56:20] local.INFO: Packet analysis {"connection_id":165098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0492f"} 
[2026-08-28 21:56:20] local.INFO: Extracted packet for processing {"connection_id":165098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0492f"} 
[2026-08-28 21:56:20] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 21: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-28 21:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710979328001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 21:56:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614907904,"note":"Value kept but may cause issues"} 
[2026-08-28 21:56:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787934257000,"timestamp_ms":1787934257000,"timestamp_seconds":1787934257,"priority":1,"record_length":96,"hex_timestamp":"000001a0492faf68"} 
[2026-08-28 21: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-28 21:56:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-28 21:56:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21: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-28 21: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-28 21:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":165098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":165098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":165098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:56:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710979328001,"66":2166,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830854016614907904},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 21:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710979328001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:56:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 21:56:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:56:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614907904,"description":"Unknown IO ID 45"} 
[2026-08-28 21:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710979328001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614907904}} 
[2026-08-28 21:56:20] 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":710703,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:56:20] local.INFO: GPS data processed {"connection_id":165098,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:56:20] local.INFO: Acknowledgment sent {"connection_id":165098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:56:35] local.INFO: TCP Data received {"connection_id":166456,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:56:35] local.INFO: Processing buffer {"connection_id":166456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:56:35] local.INFO: IMEI packet received {"connection_id":166456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 21:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":166456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:56:40] local.INFO: TCP Data received {"connection_id":166456,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:56:40] local.INFO: Processing buffer {"connection_id":166456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:56:40] local.INFO: IMEI packet received {"connection_id":166456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 21:56:40] local.INFO: IMEI acknowledgment sent {"connection_id":166456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:56:41] local.INFO: TCP Data received {"connection_id":166456,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0492db780012d34c14006aa4840000d00e62c..."} 
[2026-08-28 21:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0492db780012d34c14006aa4840000d00e62c..."} 
[2026-08-28 21:56:41] local.INFO: Processing buffer {"connection_id":166456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0492db780012d34c14006aa4840000d00e62c..."} 
[2026-08-28 21:56:41] local.INFO: Packet analysis {"connection_id":166456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0492d"} 
[2026-08-28 21:56:41] local.INFO: Extracted packet for processing {"connection_id":166456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0492d"} 
[2026-08-28 21:56:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711059712001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:56:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:56:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787934128000,"timestamp_ms":1787934128000,"timestamp_seconds":1787934128,"priority":1,"record_length":96,"hex_timestamp":"000001a0492db780"} 
[2026-08-28 21:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:56:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 21: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-28 21:56:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":166456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":166456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":166456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:56:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711059712001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711059712001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:56:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:56:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21: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-28 21:56:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711059712001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":166456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:56:41] local.INFO: GPS data processed {"connection_id":166456,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:56:41] local.INFO: Acknowledgment sent {"connection_id":166456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:56:46] local.INFO: TCP Data received {"connection_id":166456,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0492db780012d34c14006aa4840000d00e62c..."} 
[2026-08-28 21:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0492db780012d34c14006aa4840000d00e62c..."} 
[2026-08-28 21:56:46] local.INFO: Processing buffer {"connection_id":166456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0492db780012d34c14006aa4840000d00e62c..."} 
[2026-08-28 21:56:46] local.INFO: Packet analysis {"connection_id":166456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0492d"} 
[2026-08-28 21:56:46] local.INFO: Extracted packet for processing {"connection_id":166456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0492d"} 
[2026-08-28 21:56:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21: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-28 21:56:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711059712001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:56:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:56:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:56:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:56:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787934128000,"timestamp_ms":1787934128000,"timestamp_seconds":1787934128,"priority":1,"record_length":96,"hex_timestamp":"000001a0492db780"} 
[2026-08-28 21: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-28 21:56:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 21:56: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-28 21: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-28 21: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-28 21:56:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:56:46] local.INFO: Teltonika packet parsed successfully {"connection_id":166456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:56:46] local.INFO: Passing IMEI to GPS processor {"connection_id":166456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:56:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":166456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:56:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:56:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:56:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:56:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711059712001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:56:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:56:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:56:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711059712001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:56:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:56:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:56: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-28 21:56:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:56:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711059712001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:56:46] local.INFO: DEBUG: GPS processor result {"connection_id":166456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:56:46] local.INFO: GPS data processed {"connection_id":166456,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:56:46] local.INFO: Acknowledgment sent {"connection_id":166456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:56:52] local.INFO: TCP Data received {"connection_id":165098,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0492faf68012d196580071ff008003d01392a..."} 
[2026-08-28 21:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0492faf68012d196580071ff008003d01392a..."} 
[2026-08-28 21:56:52] local.INFO: Processing buffer {"connection_id":165098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0492faf68012d196580071ff008003d01392a..."} 
[2026-08-28 21:56:52] local.INFO: Packet analysis {"connection_id":165098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0492f"} 
[2026-08-28 21:56:52] local.INFO: Extracted packet for processing {"connection_id":165098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0492f"} 
[2026-08-28 21:56:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 21: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-28 21:56:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710979328001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:56:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 21:56:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614907904,"note":"Value kept but may cause issues"} 
[2026-08-28 21:56:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:56:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787934257000,"timestamp_ms":1787934257000,"timestamp_seconds":1787934257,"priority":1,"record_length":96,"hex_timestamp":"000001a0492faf68"} 
[2026-08-28 21: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-28 21:56:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-28 21:56:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21: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-28 21: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-28 21:56:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:56:52] local.INFO: Teltonika packet parsed successfully {"connection_id":165098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:56:52] local.INFO: Passing IMEI to GPS processor {"connection_id":165098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:56:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":165098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:56:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:56:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:56:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:56:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710979328001,"66":2166,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830854016614907904},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 21:56:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:56:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:56:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710979328001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:56:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 21:56:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:56:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:56:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614907904,"description":"Unknown IO ID 45"} 
[2026-08-28 21:56:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710979328001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614907904}} 
[2026-08-28 21:56:52] 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":710706,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:56:52] local.INFO: GPS data processed {"connection_id":165098,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:56:52] local.INFO: Acknowledgment sent {"connection_id":165098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:56:56] local.INFO: TCP Data received {"connection_id":166457,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166457,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:56:56] local.INFO: Processing buffer {"connection_id":166457,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:56:56] local.INFO: IMEI packet received {"connection_id":166457,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 21:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":166457,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:57:01] local.INFO: TCP Data received {"connection_id":166457,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166457,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:57:01] local.INFO: Processing buffer {"connection_id":166457,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:57:01] local.INFO: IMEI packet received {"connection_id":166457,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 21:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":166457,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:57:02] local.INFO: TCP Data received {"connection_id":166457,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0493043d8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0493043d8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:57:02] local.INFO: Processing buffer {"connection_id":166457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0493043d8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:57:02] local.INFO: Packet analysis {"connection_id":166457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04930"} 
[2026-08-28 21:57:02] local.INFO: Extracted packet for processing {"connection_id":166457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04930"} 
[2026-08-28 21:57:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711102464001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:57:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:57:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787934295000,"timestamp_ms":1787934295000,"timestamp_seconds":1787934295,"priority":1,"record_length":96,"hex_timestamp":"000001a0493043d8"} 
[2026-08-28 21:57:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:57:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:57:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:57:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:57:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:57:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":166457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":166457,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":166457,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:57:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711102464001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711102464001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:57:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:57:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:57:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:57:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711102464001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":166457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710707,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:57:02] local.INFO: GPS data processed {"connection_id":166457,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:57:02] local.INFO: Acknowledgment sent {"connection_id":166457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:57:14] local.INFO: TCP Data received {"connection_id":166458,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166458,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:57:14] local.INFO: Processing buffer {"connection_id":166458,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:57:14] local.INFO: IMEI packet received {"connection_id":166458,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 21:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":166458,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:57:19] local.INFO: TCP Data received {"connection_id":166458,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166458,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:57:19] local.INFO: Processing buffer {"connection_id":166458,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:57:19] local.INFO: IMEI packet received {"connection_id":166458,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 21:57:19] local.INFO: IMEI acknowledgment sent {"connection_id":166458,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:57:20] local.INFO: TCP Data received {"connection_id":166458,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0492faf68012d196580071ff008003d01392a..."} 
[2026-08-28 21:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0492faf68012d196580071ff008003d01392a..."} 
[2026-08-28 21:57:20] local.INFO: Processing buffer {"connection_id":166458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0492faf68012d196580071ff008003d01392a..."} 
[2026-08-28 21:57:20] local.INFO: Packet analysis {"connection_id":166458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0492f"} 
[2026-08-28 21:57:20] local.INFO: Extracted packet for processing {"connection_id":166458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0492f"} 
[2026-08-28 21:57:20] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 21:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:57:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710979328001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:57:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 21:57:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614907904,"note":"Value kept but may cause issues"} 
[2026-08-28 21:57:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:57:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787934257000,"timestamp_ms":1787934257000,"timestamp_seconds":1787934257,"priority":1,"record_length":96,"hex_timestamp":"000001a0492faf68"} 
[2026-08-28 21:57:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:57:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-28 21:57:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:57:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:57:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:57:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:57:20] local.INFO: Teltonika packet parsed successfully {"connection_id":166458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:57:20] local.INFO: Passing IMEI to GPS processor {"connection_id":166458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:57:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":166458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:57:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:57:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:57:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:57:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710979328001,"66":2166,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830854016614907904},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 21:57:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:57:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:57:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710979328001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:57:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 21:57:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:57:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:57:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614907904,"description":"Unknown IO ID 45"} 
[2026-08-28 21:57:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710979328001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614907904}} 
[2026-08-28 21:57:21] local.INFO: DEBUG: GPS processor result {"connection_id":166458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710708,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:57:21] local.INFO: GPS data processed {"connection_id":166458,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:57:21] local.INFO: Acknowledgment sent {"connection_id":166458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:57:30] local.INFO: TCP Data received {"connection_id":164092,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:57:30] local.INFO: Processing buffer {"connection_id":164092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:57:30] local.INFO: IMEI packet received {"connection_id":164092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 21:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":164092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:57:34] local.INFO: TCP Data received {"connection_id":166457,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0493043d8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0493043d8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:57:34] local.INFO: Processing buffer {"connection_id":166457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0493043d8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:57:34] local.INFO: Packet analysis {"connection_id":166457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04930"} 
[2026-08-28 21:57:34] local.INFO: Extracted packet for processing {"connection_id":166457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04930"} 
[2026-08-28 21:57:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711102464001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:57:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787934295000,"timestamp_ms":1787934295000,"timestamp_seconds":1787934295,"priority":1,"record_length":96,"hex_timestamp":"000001a0493043d8"} 
[2026-08-28 21:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:57:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:57:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:57:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":166457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":166457,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":166457,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711102464001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711102464001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:57:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:57:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711102464001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":166457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710709,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:57:34] local.INFO: GPS data processed {"connection_id":166457,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:57:34] local.INFO: Acknowledgment sent {"connection_id":166457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:57:35] local.INFO: TCP Data received {"connection_id":164092,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:57:35] local.INFO: Processing buffer {"connection_id":164092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:57:35] local.INFO: IMEI packet received {"connection_id":164092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 21:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":164092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:57:37] local.INFO: TCP Data received {"connection_id":164092,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0492db780012d34c14006aa4840000d00e62c..."} 
[2026-08-28 21:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0492db780012d34c14006aa4840000d00e62c..."} 
[2026-08-28 21:57:37] local.INFO: Processing buffer {"connection_id":164092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0492db780012d34c14006aa4840000d00e62c..."} 
[2026-08-28 21:57:37] local.INFO: Packet analysis {"connection_id":164092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0492d"} 
[2026-08-28 21:57:37] local.INFO: Extracted packet for processing {"connection_id":164092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0492d"} 
[2026-08-28 21:57:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711059712001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:57:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787934128000,"timestamp_ms":1787934128000,"timestamp_seconds":1787934128,"priority":1,"record_length":96,"hex_timestamp":"000001a0492db780"} 
[2026-08-28 21:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:57:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 21:57:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:57:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711059712001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711059712001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:57:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:57:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:57: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-28 21:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711059712001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":164092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:57:37] local.INFO: GPS data processed {"connection_id":164092,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:57:37] local.INFO: Acknowledgment sent {"connection_id":164092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:57:52] local.INFO: TCP Data received {"connection_id":166458,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0492faf68012d196580071ff008003d01392a..."} 
[2026-08-28 21:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0492faf68012d196580071ff008003d01392a..."} 
[2026-08-28 21:57:52] local.INFO: Processing buffer {"connection_id":166458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0492faf68012d196580071ff008003d01392a..."} 
[2026-08-28 21:57:52] local.INFO: Packet analysis {"connection_id":166458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0492f"} 
[2026-08-28 21:57:52] local.INFO: Extracted packet for processing {"connection_id":166458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0492f"} 
[2026-08-28 21:57:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 21: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-28 21:57:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710979328001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:57:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 21:57:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614907904,"note":"Value kept but may cause issues"} 
[2026-08-28 21:57:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:57:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787934257000,"timestamp_ms":1787934257000,"timestamp_seconds":1787934257,"priority":1,"record_length":96,"hex_timestamp":"000001a0492faf68"} 
[2026-08-28 21: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-28 21:57:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-28 21:57:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21: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-28 21: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-28 21:57:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:57:52] local.INFO: Teltonika packet parsed successfully {"connection_id":166458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:57:52] local.INFO: Passing IMEI to GPS processor {"connection_id":166458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:57:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":166458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:57:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:57:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:57:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:57:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710979328001,"66":2166,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830854016614907904},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 21:57:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:57:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:57:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710979328001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:57:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 21:57:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:57:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:57:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614907904,"description":"Unknown IO ID 45"} 
[2026-08-28 21:57:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710979328001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614907904}} 
[2026-08-28 21:57:52] local.INFO: DEBUG: GPS processor result {"connection_id":166458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710711,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:57:52] local.INFO: GPS data processed {"connection_id":166458,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:57:52] local.INFO: Acknowledgment sent {"connection_id":166458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:57:55] local.INFO: TCP Data received {"connection_id":165099,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165099,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:57:55] local.INFO: Processing buffer {"connection_id":165099,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:57:55] local.INFO: IMEI packet received {"connection_id":165099,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 21:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":165099,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:58:01] local.INFO: TCP Data received {"connection_id":165099,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165099,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:58:01] local.INFO: Processing buffer {"connection_id":165099,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:58:01] local.INFO: IMEI packet received {"connection_id":165099,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 21:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":165099,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:58:02] local.INFO: TCP Data received {"connection_id":165099,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0493043d8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0493043d8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:58:02] local.INFO: Processing buffer {"connection_id":165099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0493043d8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:58:02] local.INFO: Packet analysis {"connection_id":165099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04930"} 
[2026-08-28 21:58:02] local.INFO: Extracted packet for processing {"connection_id":165099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04930"} 
[2026-08-28 21:58:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711102464001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:58:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:58:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787934295000,"timestamp_ms":1787934295000,"timestamp_seconds":1787934295,"priority":1,"record_length":96,"hex_timestamp":"000001a0493043d8"} 
[2026-08-28 21:58:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:58:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:58:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:58:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:58:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":165099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":165099,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":165099,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:58:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711102464001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711102464001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:58:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:58:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:58:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711102464001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:58:02] 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":710712,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:58:02] local.INFO: GPS data processed {"connection_id":165099,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:58:02] local.INFO: Acknowledgment sent {"connection_id":165099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:58:08] local.INFO: TCP Data received {"connection_id":164092,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049324f48012d34c14006aa4840000700e62a..."} 
[2026-08-28 21:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049324f48012d34c14006aa4840000700e62a..."} 
[2026-08-28 21:58:08] local.INFO: Processing buffer {"connection_id":164092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049324f48012d34c14006aa4840000700e62a..."} 
[2026-08-28 21:58:08] local.INFO: Packet analysis {"connection_id":164092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04932"} 
[2026-08-28 21:58:08] local.INFO: Extracted packet for processing {"connection_id":164092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04932"} 
[2026-08-28 21:58:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":7,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711136768001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:58:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787934429000,"timestamp_ms":1787934429000,"timestamp_seconds":1787934429,"priority":1,"record_length":96,"hex_timestamp":"000001a049324f48"} 
[2026-08-28 21:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:58:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 21:58:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:58:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:58:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711136768001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711136768001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:58:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:58:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:58: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-28 21:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711136768001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":164092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:58:08] local.INFO: GPS data processed {"connection_id":164092,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:58:08] local.INFO: Acknowledgment sent {"connection_id":164092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:58:14] local.INFO: TCP Data received {"connection_id":166459,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166459,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:58:14] local.INFO: Processing buffer {"connection_id":166459,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:58:14] local.INFO: IMEI packet received {"connection_id":166459,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 21:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":166459,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:58:19] local.INFO: TCP Data received {"connection_id":166459,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166459,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:58:19] local.INFO: Processing buffer {"connection_id":166459,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:58:19] local.INFO: IMEI packet received {"connection_id":166459,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 21:58:19] local.INFO: IMEI acknowledgment sent {"connection_id":166459,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:58:21] local.INFO: TCP Data received {"connection_id":166459,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0492faf68012d196580071ff008003d01392a..."} 
[2026-08-28 21:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0492faf68012d196580071ff008003d01392a..."} 
[2026-08-28 21:58:21] local.INFO: Processing buffer {"connection_id":166459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0492faf68012d196580071ff008003d01392a..."} 
[2026-08-28 21:58:21] local.INFO: Packet analysis {"connection_id":166459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0492f"} 
[2026-08-28 21:58:21] local.INFO: Extracted packet for processing {"connection_id":166459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0492f"} 
[2026-08-28 21:58:21] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 21:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:58:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710979328001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:58:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 21:58:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614907904,"note":"Value kept but may cause issues"} 
[2026-08-28 21:58:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:58:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787934257000,"timestamp_ms":1787934257000,"timestamp_seconds":1787934257,"priority":1,"record_length":96,"hex_timestamp":"000001a0492faf68"} 
[2026-08-28 21:58:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:58:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-28 21:58:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:58:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:58:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:58:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:58:21] local.INFO: Teltonika packet parsed successfully {"connection_id":166459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:58:21] local.INFO: Passing IMEI to GPS processor {"connection_id":166459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:58:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":166459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:58:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:58:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:58:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:58:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710979328001,"66":2166,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830854016614907904},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 21:58:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:58:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:58:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710979328001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:58:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 21:58:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:58:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:58:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614907904,"description":"Unknown IO ID 45"} 
[2026-08-28 21:58:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710979328001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614907904}} 
[2026-08-28 21:58:21] local.INFO: DEBUG: GPS processor result {"connection_id":166459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710714,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:58:21] local.INFO: GPS data processed {"connection_id":166459,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:58:21] local.INFO: Acknowledgment sent {"connection_id":166459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:58:29] local.INFO: TCP Data received {"connection_id":164093,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:58:29] local.INFO: Processing buffer {"connection_id":164093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:58:29] local.INFO: IMEI packet received {"connection_id":164093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 21:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":164093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:58:33] local.INFO: TCP Data received {"connection_id":165099,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0493043d8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0493043d8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:58:33] local.INFO: Processing buffer {"connection_id":165099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0493043d8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:58:33] local.INFO: Packet analysis {"connection_id":165099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04930"} 
[2026-08-28 21:58:33] local.INFO: Extracted packet for processing {"connection_id":165099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04930"} 
[2026-08-28 21:58:33] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711102464001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:58:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787934295000,"timestamp_ms":1787934295000,"timestamp_seconds":1787934295,"priority":1,"record_length":96,"hex_timestamp":"000001a0493043d8"} 
[2026-08-28 21:58:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:58:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:58:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:58:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:58:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":165099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":165099,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":165099,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711102464001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711102464001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:58:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:58:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711102464001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:58:34] 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":710715,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:58:34] local.INFO: GPS data processed {"connection_id":165099,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:58:34] local.INFO: Acknowledgment sent {"connection_id":165099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:58:35] local.INFO: TCP Data received {"connection_id":164093,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:58:35] local.INFO: Processing buffer {"connection_id":164093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:58:35] local.INFO: IMEI packet received {"connection_id":164093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 21:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":164093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:58:36] local.INFO: TCP Data received {"connection_id":164093,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049324f48012d34c14006aa4840000700e62a..."} 
[2026-08-28 21:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049324f48012d34c14006aa4840000700e62a..."} 
[2026-08-28 21:58:36] local.INFO: Processing buffer {"connection_id":164093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049324f48012d34c14006aa4840000700e62a..."} 
[2026-08-28 21:58:36] local.INFO: Packet analysis {"connection_id":164093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04932"} 
[2026-08-28 21:58:36] local.INFO: Extracted packet for processing {"connection_id":164093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04932"} 
[2026-08-28 21:58:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":7,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711136768001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787934429000,"timestamp_ms":1787934429000,"timestamp_seconds":1787934429,"priority":1,"record_length":96,"hex_timestamp":"000001a049324f48"} 
[2026-08-28 21:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:58:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 21:58:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:58:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":164093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":164093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":164093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711136768001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711136768001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:58:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:58:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711136768001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":164093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:58:36] local.INFO: GPS data processed {"connection_id":164093,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:58:36] local.INFO: Acknowledgment sent {"connection_id":164093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:58:52] local.INFO: TCP Data received {"connection_id":166459,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0492faf68012d196580071ff008003d01392a..."} 
[2026-08-28 21:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0492faf68012d196580071ff008003d01392a..."} 
[2026-08-28 21:58:52] local.INFO: Processing buffer {"connection_id":166459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0492faf68012d196580071ff008003d01392a..."} 
[2026-08-28 21:58:52] local.INFO: Packet analysis {"connection_id":166459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0492f"} 
[2026-08-28 21:58:52] local.INFO: Extracted packet for processing {"connection_id":166459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0492f"} 
[2026-08-28 21:58:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 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-28 21:58:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710979328001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:58:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 21:58:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614907904,"note":"Value kept but may cause issues"} 
[2026-08-28 21:58:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:58:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787934257000,"timestamp_ms":1787934257000,"timestamp_seconds":1787934257,"priority":1,"record_length":96,"hex_timestamp":"000001a0492faf68"} 
[2026-08-28 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-28 21:58:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-28 21:58:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 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-28 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-28 21:58:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:58:52] local.INFO: Teltonika packet parsed successfully {"connection_id":166459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:58:52] local.INFO: Passing IMEI to GPS processor {"connection_id":166459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:58:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":166459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:58:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:58:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:58:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:58:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710979328001,"66":2166,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830854016614907904},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 21:58:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:58:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:58:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710979328001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:58:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 21:58:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:58:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:58:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614907904,"description":"Unknown IO ID 45"} 
[2026-08-28 21:58:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710979328001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614907904}} 
[2026-08-28 21:58:52] local.INFO: DEBUG: GPS processor result {"connection_id":166459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710717,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:58:52] local.INFO: GPS data processed {"connection_id":166459,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:58:52] local.INFO: Acknowledgment sent {"connection_id":166459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:58:55] local.INFO: TCP Data received {"connection_id":163809,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163809,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:58:55] local.INFO: Processing buffer {"connection_id":163809,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:58:55] local.INFO: IMEI packet received {"connection_id":163809,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 21:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":163809,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:59:01] local.INFO: TCP Data received {"connection_id":163809,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163809,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:59:01] local.INFO: Processing buffer {"connection_id":163809,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:59:01] local.INFO: IMEI packet received {"connection_id":163809,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 21:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":163809,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:59:02] local.INFO: TCP Data received {"connection_id":163809,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0493043d8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0493043d8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:59:02] local.INFO: Processing buffer {"connection_id":163809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0493043d8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:59:02] local.INFO: Packet analysis {"connection_id":163809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04930"} 
[2026-08-28 21:59:02] local.INFO: Extracted packet for processing {"connection_id":163809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04930"} 
[2026-08-28 21:59:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711102464001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:59:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:59:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:59:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:59:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787934295000,"timestamp_ms":1787934295000,"timestamp_seconds":1787934295,"priority":1,"record_length":96,"hex_timestamp":"000001a0493043d8"} 
[2026-08-28 21:59:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:59:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:59:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:59:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:59:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:59:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:59:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:59:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163809,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:59:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163809,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:59:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:59:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:59:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:59:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711102464001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:59:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:59:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:59:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711102464001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:59:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:59:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:59:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:59:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:59:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711102464001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:59:02] local.INFO: DEBUG: GPS processor result {"connection_id":163809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710718,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:59:02] local.INFO: GPS data processed {"connection_id":163809,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:59:02] local.INFO: Acknowledgment sent {"connection_id":163809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:59:08] local.INFO: TCP Data received {"connection_id":164093,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049324f48012d34c14006aa4840000700e62a..."} 
[2026-08-28 21:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049324f48012d34c14006aa4840000700e62a..."} 
[2026-08-28 21:59:08] local.INFO: Processing buffer {"connection_id":164093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049324f48012d34c14006aa4840000700e62a..."} 
[2026-08-28 21:59:08] local.INFO: Packet analysis {"connection_id":164093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04932"} 
[2026-08-28 21:59:08] local.INFO: Extracted packet for processing {"connection_id":164093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04932"} 
[2026-08-28 21:59:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":7,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711136768001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:59:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787934429000,"timestamp_ms":1787934429000,"timestamp_seconds":1787934429,"priority":1,"record_length":96,"hex_timestamp":"000001a049324f48"} 
[2026-08-28 21:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:59:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 21:59:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:59:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:59:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711136768001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711136768001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:59:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:59:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:59: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-28 21:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711136768001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":164093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:59:08] local.INFO: GPS data processed {"connection_id":164093,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:59:08] local.INFO: Acknowledgment sent {"connection_id":164093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:59:14] local.INFO: TCP Data received {"connection_id":163810,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163810,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:59:14] local.INFO: Processing buffer {"connection_id":163810,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:59:14] local.INFO: IMEI packet received {"connection_id":163810,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 21:59:14] local.INFO: IMEI acknowledgment sent {"connection_id":163810,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:59:19] local.INFO: TCP Data received {"connection_id":163810,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163810,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:59:19] local.INFO: Processing buffer {"connection_id":163810,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 21:59:19] local.INFO: IMEI packet received {"connection_id":163810,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 21:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":163810,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:59:20] local.INFO: TCP Data received {"connection_id":163810,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0492faf68012d196580071ff008003d01392a..."} 
[2026-08-28 21:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0492faf68012d196580071ff008003d01392a..."} 
[2026-08-28 21:59:20] local.INFO: Processing buffer {"connection_id":163810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0492faf68012d196580071ff008003d01392a..."} 
[2026-08-28 21:59:20] local.INFO: Packet analysis {"connection_id":163810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0492f"} 
[2026-08-28 21:59:20] local.INFO: Extracted packet for processing {"connection_id":163810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0492f"} 
[2026-08-28 21:59:20] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 21:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710979328001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 21:59:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614907904,"note":"Value kept but may cause issues"} 
[2026-08-28 21:59:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787934257000,"timestamp_ms":1787934257000,"timestamp_seconds":1787934257,"priority":1,"record_length":96,"hex_timestamp":"000001a0492faf68"} 
[2026-08-28 21:59:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:59:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-28 21:59:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:59:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:59:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:59:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710979328001,"66":2166,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830854016614907904},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 21:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710979328001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:59:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 21:59:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:59:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614907904,"description":"Unknown IO ID 45"} 
[2026-08-28 21:59:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710979328001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614907904}} 
[2026-08-28 21:59:20] local.INFO: DEBUG: GPS processor result {"connection_id":163810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710720,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:59:20] local.INFO: GPS data processed {"connection_id":163810,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:59:20] local.INFO: Acknowledgment sent {"connection_id":163810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:59:35] local.INFO: TCP Data received {"connection_id":166460,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:59:35] local.INFO: Processing buffer {"connection_id":166460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:59:35] local.INFO: IMEI packet received {"connection_id":166460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 21:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":166460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 21:59:35] local.INFO: TCP Data received {"connection_id":163809,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0493043d8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0493043d8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:59:35] local.INFO: Processing buffer {"connection_id":163809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0493043d8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 21:59:35] local.INFO: Packet analysis {"connection_id":163809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04930"} 
[2026-08-28 21:59:35] local.INFO: Extracted packet for processing {"connection_id":163809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04930"} 
[2026-08-28 21:59:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 21:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711102464001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 21:59:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 21:59:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787934295000,"timestamp_ms":1787934295000,"timestamp_seconds":1787934295,"priority":1,"record_length":96,"hex_timestamp":"000001a0493043d8"} 
[2026-08-28 21:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:59:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 21:59:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:59:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163809,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163809,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 21:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 21:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 21:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711102464001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 21:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 21:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711102464001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:59:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:59:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:59:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 21:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711102464001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 21:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":163809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710721,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:59:35] local.INFO: GPS data processed {"connection_id":163809,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:59:35] local.INFO: Acknowledgment sent {"connection_id":163809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:59:40] local.INFO: TCP Data received {"connection_id":166460,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:59:40] local.INFO: Processing buffer {"connection_id":166460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 21:59:40] local.INFO: IMEI packet received {"connection_id":166460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 21:59:40] local.INFO: IMEI acknowledgment sent {"connection_id":166460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 21:59:42] local.INFO: TCP Data received {"connection_id":166460,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049324f48012d34c14006aa4840000700e62a..."} 
[2026-08-28 21:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049324f48012d34c14006aa4840000700e62a..."} 
[2026-08-28 21:59:42] local.INFO: Processing buffer {"connection_id":166460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049324f48012d34c14006aa4840000700e62a..."} 
[2026-08-28 21:59:42] local.INFO: Packet analysis {"connection_id":166460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04932"} 
[2026-08-28 21:59:42] local.INFO: Extracted packet for processing {"connection_id":166460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04932"} 
[2026-08-28 21:59:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":7,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 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-28 21:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711136768001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:59:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:59:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787934429000,"timestamp_ms":1787934429000,"timestamp_seconds":1787934429,"priority":1,"record_length":96,"hex_timestamp":"000001a049324f48"} 
[2026-08-28 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-28 21:59:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 21:59: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-28 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-28 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-28 21:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":166460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":166460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":166460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:59:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711136768001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711136768001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:59:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:59:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 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-28 21:59:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711136768001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:59:42] local.INFO: DEBUG: GPS processor result {"connection_id":166460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:59:42] local.INFO: GPS data processed {"connection_id":166460,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:59:42] local.INFO: Acknowledgment sent {"connection_id":166460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:59:45] local.INFO: TCP Data received {"connection_id":166460,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049324f48012d34c14006aa4840000700e62a..."} 
[2026-08-28 21:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049324f48012d34c14006aa4840000700e62a..."} 
[2026-08-28 21:59:45] local.INFO: Processing buffer {"connection_id":166460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049324f48012d34c14006aa4840000700e62a..."} 
[2026-08-28 21:59:45] local.INFO: Packet analysis {"connection_id":166460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04932"} 
[2026-08-28 21:59:45] local.INFO: Extracted packet for processing {"connection_id":166460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04932"} 
[2026-08-28 21:59:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":7,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 21: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-28 21:59:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711136768001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:59:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 21:59:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 21:59:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:59:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787934429000,"timestamp_ms":1787934429000,"timestamp_seconds":1787934429,"priority":1,"record_length":96,"hex_timestamp":"000001a049324f48"} 
[2026-08-28 21: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-28 21:59:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 21:59: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-28 21: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-28 21: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-28 21:59:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:59:45] local.INFO: Teltonika packet parsed successfully {"connection_id":166460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:59:45] local.INFO: Passing IMEI to GPS processor {"connection_id":166460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:59:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":166460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 21:59:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:59:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 21:59:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 21:59:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711136768001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 21:59:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 21:59:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 21:59:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711136768001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:59:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 21:59:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 21: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-28 21:59:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 21:59:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711136768001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 21:59:45] local.INFO: DEBUG: GPS processor result {"connection_id":166460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:59:45] local.INFO: GPS data processed {"connection_id":166460,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:59:45] local.INFO: Acknowledgment sent {"connection_id":166460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:59:52] local.INFO: TCP Data received {"connection_id":163810,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0492faf68012d196580071ff008003d01392a..."} 
[2026-08-28 21:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0492faf68012d196580071ff008003d01392a..."} 
[2026-08-28 21:59:52] local.INFO: Processing buffer {"connection_id":163810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0492faf68012d196580071ff008003d01392a..."} 
[2026-08-28 21:59:52] local.INFO: Packet analysis {"connection_id":163810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0492f"} 
[2026-08-28 21:59:52] local.INFO: Extracted packet for processing {"connection_id":163810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0492f"} 
[2026-08-28 21:59:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 21:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 21:59:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457710979328001,"note":"Value kept but may cause issues"} 
[2026-08-28 21:59:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 21:59:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614907904,"note":"Value kept but may cause issues"} 
[2026-08-28 21:59:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 21:59:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787934257000,"timestamp_ms":1787934257000,"timestamp_seconds":1787934257,"priority":1,"record_length":96,"hex_timestamp":"000001a0492faf68"} 
[2026-08-28 21:59:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 21:59:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 21:59:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-28 21:59:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 21:59:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 21:59:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 21:59:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 21:59:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 21:59:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:59:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 21:59:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 21:59:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 21:59:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 21:59:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457710979328001,"66":2166,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830854016614907904},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 21:59:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 21:59:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 21:59:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457710979328001,"description":"Unknown IO ID 0"} 
[2026-08-28 21:59:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 21:59:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 21:59:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 21:59:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614907904,"description":"Unknown IO ID 45"} 
[2026-08-28 21:59:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457710979328001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614907904}} 
[2026-08-28 21:59:52] local.INFO: DEBUG: GPS processor result {"connection_id":163810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710724,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 21:59:52] local.INFO: GPS data processed {"connection_id":163810,"processed":1,"errors":0,"total":1} 
[2026-08-28 21:59:52] local.INFO: Acknowledgment sent {"connection_id":163810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 21:59:55] local.INFO: TCP Data received {"connection_id":166461,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166461,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:59:55] local.INFO: Processing buffer {"connection_id":166461,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 21:59:55] local.INFO: IMEI packet received {"connection_id":166461,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 21:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":166461,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:00:01] local.INFO: TCP Data received {"connection_id":166461,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166461,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:00:01] local.INFO: Processing buffer {"connection_id":166461,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:00:01] local.INFO: IMEI packet received {"connection_id":166461,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 22:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":166461,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:00:02] local.INFO: TCP Data received {"connection_id":166461,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0493043d8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0493043d8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:00:02] local.INFO: Processing buffer {"connection_id":166461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0493043d8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:00:02] local.INFO: Packet analysis {"connection_id":166461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04930"} 
[2026-08-28 22:00:02] local.INFO: Extracted packet for processing {"connection_id":166461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04930"} 
[2026-08-28 22:00:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:00:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:00:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711102464001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:00:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:00:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:00:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:00:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787934295000,"timestamp_ms":1787934295000,"timestamp_seconds":1787934295,"priority":1,"record_length":96,"hex_timestamp":"000001a0493043d8"} 
[2026-08-28 22:00:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:00:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:00:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 22:00:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:00:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:00:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:00:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:00:02] local.INFO: Teltonika packet parsed successfully {"connection_id":166461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:00:02] local.INFO: Passing IMEI to GPS processor {"connection_id":166461,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:00:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":166461,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:00:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:00:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:00:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:00:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711102464001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:00:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:00:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:00:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711102464001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:00:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:00:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:00:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:00:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:00:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711102464001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:00:02] local.INFO: DEBUG: GPS processor result {"connection_id":166461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710725,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:00:02] local.INFO: GPS data processed {"connection_id":166461,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:00:02] local.INFO: Acknowledgment sent {"connection_id":166461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:00:14] local.INFO: TCP Data received {"connection_id":165100,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165100,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:00:14] local.INFO: Processing buffer {"connection_id":165100,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:00:14] local.INFO: IMEI packet received {"connection_id":165100,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 22:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":165100,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:00:24] local.INFO: TCP Data received {"connection_id":165100,"ip":"117.224.27.64","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-28 22:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165100,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-28 22:00:24] local.INFO: Processing buffer {"connection_id":165100,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-28 22:00:24] local.INFO: IMEI packet received {"connection_id":165100,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 22:00:24] local.INFO: IMEI acknowledgment sent {"connection_id":165100,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:00:29] local.INFO: TCP Data received {"connection_id":165100,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165100,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:00:29] local.INFO: Processing buffer {"connection_id":165100,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-28 22:00:29] local.INFO: IMEI packet received {"connection_id":165100,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 22:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":165100,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:00:30] local.INFO: TCP Data received {"connection_id":164094,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:00:30] local.INFO: Processing buffer {"connection_id":164094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:00:30] local.INFO: IMEI packet received {"connection_id":164094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 22:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":164094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:00:31] local.INFO: TCP Data received {"connection_id":165100,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049344730012d196580071ff008003d013926..."} 
[2026-08-28 22:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049344730012d196580071ff008003d013926..."} 
[2026-08-28 22:00:31] local.INFO: Processing buffer {"connection_id":165100,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a049..."} 
[2026-08-28 22:00:31] local.INFO: IMEI packet received {"connection_id":165100,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 22:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":165100,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:00:34] local.INFO: TCP Data received {"connection_id":166461,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0493043d8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0493043d8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:00:34] local.INFO: Processing buffer {"connection_id":166461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0493043d8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:00:34] local.INFO: Packet analysis {"connection_id":166461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04930"} 
[2026-08-28 22:00:34] local.INFO: Extracted packet for processing {"connection_id":166461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04930"} 
[2026-08-28 22:00:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711102464001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787934295000,"timestamp_ms":1787934295000,"timestamp_seconds":1787934295,"priority":1,"record_length":96,"hex_timestamp":"000001a0493043d8"} 
[2026-08-28 22:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:00:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 22:00:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:00:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":166461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":166461,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":166461,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711102464001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711102464001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:00:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:00:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711102464001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":166461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710726,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:00:34] local.INFO: GPS data processed {"connection_id":166461,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:00:34] local.INFO: Acknowledgment sent {"connection_id":166461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:00:34] local.INFO: TCP Data received {"connection_id":165100,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049344730012d196580071ff008003d013926..."} 
[2026-08-28 22:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049344730012d196580071ff008003d013926..."} 
[2026-08-28 22:00:34] local.INFO: Processing buffer {"connection_id":165100,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a049344730012d196580071ff008003d013926..."} 
[2026-08-28 22:00:34] local.INFO: Packet analysis {"connection_id":165100,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a04934"} 
[2026-08-28 22:00:34] local.INFO: Extracted packet for processing {"connection_id":165100,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04934"} 
[2026-08-28 22:00:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711169792001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787934558000,"timestamp_ms":1787934558000,"timestamp_seconds":1787934558,"priority":1,"record_length":96,"hex_timestamp":"000001a049344730"} 
[2026-08-28 22:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:00:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:00:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:00:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":165100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":165100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":165100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711169792001,"66":2166,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 22:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711169792001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:00:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 22:00:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711169792001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:00:34] 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":710727,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:00:34] local.INFO: GPS data processed {"connection_id":165100,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:00:34] local.INFO: Acknowledgment sent {"connection_id":165100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:00:34] local.INFO: Packet analysis {"connection_id":165100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04934"} 
[2026-08-28 22:00:34] local.INFO: Extracted packet for processing {"connection_id":165100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04934"} 
[2026-08-28 22:00:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711169792001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787934558000,"timestamp_ms":1787934558000,"timestamp_seconds":1787934558,"priority":1,"record_length":96,"hex_timestamp":"000001a049344730"} 
[2026-08-28 22:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:00:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:00:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:00:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":165100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":165100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":165100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711169792001,"66":2166,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 22:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711169792001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:00:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 22:00:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711169792001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:00:34] 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":710728,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:00:34] local.INFO: GPS data processed {"connection_id":165100,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:00:34] local.INFO: Acknowledgment sent {"connection_id":165100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:00:35] local.INFO: TCP Data received {"connection_id":164094,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:00:35] local.INFO: Processing buffer {"connection_id":164094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:00:35] local.INFO: IMEI packet received {"connection_id":164094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 22:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":164094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:00:37] local.INFO: TCP Data received {"connection_id":164094,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049324f48012d34c14006aa4840000700e62a..."} 
[2026-08-28 22:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049324f48012d34c14006aa4840000700e62a..."} 
[2026-08-28 22:00:37] local.INFO: Processing buffer {"connection_id":164094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049324f48012d34c14006aa4840000700e62a..."} 
[2026-08-28 22:00:37] local.INFO: Packet analysis {"connection_id":164094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04932"} 
[2026-08-28 22:00:37] local.INFO: Extracted packet for processing {"connection_id":164094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04932"} 
[2026-08-28 22:00:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":7,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711136768001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787934429000,"timestamp_ms":1787934429000,"timestamp_seconds":1787934429,"priority":1,"record_length":96,"hex_timestamp":"000001a049324f48"} 
[2026-08-28 22:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 22:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711136768001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711136768001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:00:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:00:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:00: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-28 22:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711136768001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":164094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:00:37] local.INFO: GPS data processed {"connection_id":164094,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:00:37] local.INFO: Acknowledgment sent {"connection_id":164094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:00:40] local.INFO: TCP Data received {"connection_id":165100,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049344730012d196580071ff008003d013926..."} 
[2026-08-28 22:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049344730012d196580071ff008003d013926..."} 
[2026-08-28 22:00:40] local.INFO: Processing buffer {"connection_id":165100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049344730012d196580071ff008003d013926..."} 
[2026-08-28 22:00:40] local.INFO: Packet analysis {"connection_id":165100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04934"} 
[2026-08-28 22:00:40] local.INFO: Extracted packet for processing {"connection_id":165100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04934"} 
[2026-08-28 22:00:40] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:00:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:00:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711169792001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:00:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:00:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:00:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:00:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787934558000,"timestamp_ms":1787934558000,"timestamp_seconds":1787934558,"priority":1,"record_length":96,"hex_timestamp":"000001a049344730"} 
[2026-08-28 22:00:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:00:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:00:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:00:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:00:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:00:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:00:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:00:40] local.INFO: Teltonika packet parsed successfully {"connection_id":165100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:00:40] local.INFO: Passing IMEI to GPS processor {"connection_id":165100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:00:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":165100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:00:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:00:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:00:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:00:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711169792001,"66":2166,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 22:00:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:00:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:00:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711169792001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:00:40] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 22:00:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:00:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:00:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:00:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711169792001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:00:40] 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":710730,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:00:40] local.INFO: GPS data processed {"connection_id":165100,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:00:40] local.INFO: Acknowledgment sent {"connection_id":165100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:01:01] local.INFO: TCP Data received {"connection_id":163811,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163811,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:01:01] local.INFO: Processing buffer {"connection_id":163811,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:01:01] local.INFO: IMEI packet received {"connection_id":163811,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 22:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":163811,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:01:06] local.INFO: TCP Data received {"connection_id":163811,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163811,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:01:06] local.INFO: Processing buffer {"connection_id":163811,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:01:06] local.INFO: IMEI packet received {"connection_id":163811,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 22:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":163811,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:01:07] local.INFO: TCP Data received {"connection_id":163811,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04934dba0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04934dba0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:01:07] local.INFO: Processing buffer {"connection_id":163811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04934dba0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:01:07] local.INFO: Packet analysis {"connection_id":163811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04934"} 
[2026-08-28 22:01:07] local.INFO: Extracted packet for processing {"connection_id":163811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04934"} 
[2026-08-28 22:01:07] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711179520001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:01:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787934596000,"timestamp_ms":1787934596000,"timestamp_seconds":1787934596,"priority":1,"record_length":96,"hex_timestamp":"000001a04934dba0"} 
[2026-08-28 22:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:01:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 22:01:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:01:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":163811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":163811,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":163811,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:01:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711179520001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711179520001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:01:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:01:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711179520001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":163811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710731,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:01:07] local.INFO: GPS data processed {"connection_id":163811,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:01:07] local.INFO: Acknowledgment sent {"connection_id":163811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:01:08] local.INFO: TCP Data received {"connection_id":164094,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049324f48012d34c14006aa4840000700e62a..."} 
[2026-08-28 22:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049324f48012d34c14006aa4840000700e62a..."} 
[2026-08-28 22:01:08] local.INFO: Processing buffer {"connection_id":164094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049324f48012d34c14006aa4840000700e62a..."} 
[2026-08-28 22:01:08] local.INFO: Packet analysis {"connection_id":164094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04932"} 
[2026-08-28 22:01:08] local.INFO: Extracted packet for processing {"connection_id":164094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04932"} 
[2026-08-28 22:01:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":7,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711136768001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:01:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:01:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787934429000,"timestamp_ms":1787934429000,"timestamp_seconds":1787934429,"priority":1,"record_length":96,"hex_timestamp":"000001a049324f48"} 
[2026-08-28 22:01:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:01:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 22:01:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:01:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:01:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:01:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711136768001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711136768001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:01:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:01:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:01: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-28 22:01:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711136768001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":164094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:01:08] local.INFO: GPS data processed {"connection_id":164094,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:01:08] local.INFO: Acknowledgment sent {"connection_id":164094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:01:14] local.INFO: TCP Data received {"connection_id":163812,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:01:14] local.INFO: Processing buffer {"connection_id":163812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:01:14] local.INFO: IMEI packet received {"connection_id":163812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 22:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":163812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:01:19] local.INFO: TCP Data received {"connection_id":163812,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:01:19] local.INFO: Processing buffer {"connection_id":163812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:01:19] local.INFO: IMEI packet received {"connection_id":163812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 22:01:19] local.INFO: IMEI acknowledgment sent {"connection_id":163812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:01:20] local.INFO: TCP Data received {"connection_id":163812,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049344730012d196580071ff008003d013926..."} 
[2026-08-28 22:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049344730012d196580071ff008003d013926..."} 
[2026-08-28 22:01:20] local.INFO: Processing buffer {"connection_id":163812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049344730012d196580071ff008003d013926..."} 
[2026-08-28 22:01:20] local.INFO: Packet analysis {"connection_id":163812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04934"} 
[2026-08-28 22:01:20] local.INFO: Extracted packet for processing {"connection_id":163812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04934"} 
[2026-08-28 22:01:20] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:01:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711169792001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:01:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:01:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:01:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:01:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787934558000,"timestamp_ms":1787934558000,"timestamp_seconds":1787934558,"priority":1,"record_length":96,"hex_timestamp":"000001a049344730"} 
[2026-08-28 22:01:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:01:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:01:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:01:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:01:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:01:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:01:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:01:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:01:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:01:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:01:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:01:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:01:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711169792001,"66":2166,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 22:01:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:01:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:01:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711169792001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:01:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 22:01:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:01:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:01:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:01:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711169792001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:01:20] local.INFO: DEBUG: GPS processor result {"connection_id":163812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710733,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:01:20] local.INFO: GPS data processed {"connection_id":163812,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:01:20] local.INFO: Acknowledgment sent {"connection_id":163812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:01:29] local.INFO: TCP Data received {"connection_id":163813,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:01:29] local.INFO: Processing buffer {"connection_id":163813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:01:29] local.INFO: IMEI packet received {"connection_id":163813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 22:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":163813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:01:35] local.INFO: TCP Data received {"connection_id":163813,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:01:35] local.INFO: Processing buffer {"connection_id":163813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:01:35] local.INFO: IMEI packet received {"connection_id":163813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 22:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":163813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:01:37] local.INFO: TCP Data received {"connection_id":163813,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049324f48012d34c14006aa4840000700e62a..."} 
[2026-08-28 22:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049324f48012d34c14006aa4840000700e62a..."} 
[2026-08-28 22:01:37] local.INFO: Processing buffer {"connection_id":163813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049324f48012d34c14006aa4840000700e62a..."} 
[2026-08-28 22:01:37] local.INFO: Packet analysis {"connection_id":163813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04932"} 
[2026-08-28 22:01:37] local.INFO: Extracted packet for processing {"connection_id":163813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04932"} 
[2026-08-28 22:01:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":7,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711136768001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787934429000,"timestamp_ms":1787934429000,"timestamp_seconds":1787934429,"priority":1,"record_length":96,"hex_timestamp":"000001a049324f48"} 
[2026-08-28 22:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 22:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711136768001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711136768001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:01:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:01:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:01: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-28 22:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711136768001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":163813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:01:37] local.INFO: GPS data processed {"connection_id":163813,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:01:37] local.INFO: Acknowledgment sent {"connection_id":163813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:01:43] local.INFO: TCP Data received {"connection_id":163811,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04934dba0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04934dba0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:01:43] local.INFO: Processing buffer {"connection_id":163811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04934dba0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:01:43] local.INFO: Packet analysis {"connection_id":163811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04934"} 
[2026-08-28 22:01:43] local.INFO: Extracted packet for processing {"connection_id":163811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04934"} 
[2026-08-28 22:01:43] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:01:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711179520001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:01:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:01:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:01:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:01:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787934596000,"timestamp_ms":1787934596000,"timestamp_seconds":1787934596,"priority":1,"record_length":96,"hex_timestamp":"000001a04934dba0"} 
[2026-08-28 22: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-28 22:01:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22: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":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 22:01:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22: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-28 22: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-28 22:01:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:01:43] local.INFO: Teltonika packet parsed successfully {"connection_id":163811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:01:43] local.INFO: Passing IMEI to GPS processor {"connection_id":163811,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:01:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":163811,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:01:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:01:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:01:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:01:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711179520001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:01:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:01:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:01:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711179520001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:01:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:01:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:01:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:01:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:01:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711179520001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:01:43] local.INFO: DEBUG: GPS processor result {"connection_id":163811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710735,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:01:43] local.INFO: GPS data processed {"connection_id":163811,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:01:43] local.INFO: Acknowledgment sent {"connection_id":163811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:01:52] local.INFO: TCP Data received {"connection_id":163812,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049344730012d196580071ff008003d013926..."} 
[2026-08-28 22:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049344730012d196580071ff008003d013926..."} 
[2026-08-28 22:01:52] local.INFO: Processing buffer {"connection_id":163812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049344730012d196580071ff008003d013926..."} 
[2026-08-28 22:01:52] local.INFO: Packet analysis {"connection_id":163812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04934"} 
[2026-08-28 22:01:52] local.INFO: Extracted packet for processing {"connection_id":163812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04934"} 
[2026-08-28 22:01:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711169792001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:01:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:01:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787934558000,"timestamp_ms":1787934558000,"timestamp_seconds":1787934558,"priority":1,"record_length":96,"hex_timestamp":"000001a049344730"} 
[2026-08-28 22: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-28 22:01:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:01:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22: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-28 22: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-28 22:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:01:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711169792001,"66":2166,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 22:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711169792001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:01:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 22:01:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:01:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711169792001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":163812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710736,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:01:52] local.INFO: GPS data processed {"connection_id":163812,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:01:52] local.INFO: Acknowledgment sent {"connection_id":163812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:01:55] local.INFO: TCP Data received {"connection_id":164095,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164095,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:01:55] local.INFO: Processing buffer {"connection_id":164095,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:01:55] local.INFO: IMEI packet received {"connection_id":164095,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 22:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":164095,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:02:01] local.INFO: TCP Data received {"connection_id":164095,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164095,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:02:01] local.INFO: Processing buffer {"connection_id":164095,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:02:01] local.INFO: IMEI packet received {"connection_id":164095,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 22:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":164095,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:02:02] local.INFO: TCP Data received {"connection_id":164095,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04934dba0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04934dba0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:02:02] local.INFO: Processing buffer {"connection_id":164095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04934dba0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:02:02] local.INFO: Packet analysis {"connection_id":164095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04934"} 
[2026-08-28 22:02:02] local.INFO: Extracted packet for processing {"connection_id":164095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04934"} 
[2026-08-28 22:02:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:02:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:02:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711179520001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:02:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:02:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:02:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:02:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787934596000,"timestamp_ms":1787934596000,"timestamp_seconds":1787934596,"priority":1,"record_length":96,"hex_timestamp":"000001a04934dba0"} 
[2026-08-28 22:02:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:02:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:02:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 22:02:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:02:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:02:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:02:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:02:02] local.INFO: Teltonika packet parsed successfully {"connection_id":164095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:02:02] local.INFO: Passing IMEI to GPS processor {"connection_id":164095,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:02:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":164095,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:02:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:02:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:02:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:02:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711179520001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:02:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:02:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:02:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711179520001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:02:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:02:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:02:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:02:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:02:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711179520001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":164095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710737,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:02:03] local.INFO: GPS data processed {"connection_id":164095,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:02:03] local.INFO: Acknowledgment sent {"connection_id":164095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:02:09] local.INFO: TCP Data received {"connection_id":163813,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049324f48012d34c14006aa4840000700e62a..."} 
[2026-08-28 22:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049324f48012d34c14006aa4840000700e62a..."} 
[2026-08-28 22:02:09] local.INFO: Processing buffer {"connection_id":163813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049324f48012d34c14006aa4840000700e62a..."} 
[2026-08-28 22:02:09] local.INFO: Packet analysis {"connection_id":163813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04932"} 
[2026-08-28 22:02:09] local.INFO: Extracted packet for processing {"connection_id":163813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04932"} 
[2026-08-28 22:02:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":7,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711136768001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:02:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:02:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787934429000,"timestamp_ms":1787934429000,"timestamp_seconds":1787934429,"priority":1,"record_length":96,"hex_timestamp":"000001a049324f48"} 
[2026-08-28 22: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-28 22:02:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 22:02:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22: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-28 22: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-28 22:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:02:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711136768001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711136768001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:02:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:02:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22: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-28 22:02:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711136768001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":163813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:02:09] local.INFO: GPS data processed {"connection_id":163813,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:02:09] local.INFO: Acknowledgment sent {"connection_id":163813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:02:14] local.INFO: TCP Data received {"connection_id":164096,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164096,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:02:14] local.INFO: Processing buffer {"connection_id":164096,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:02:14] local.INFO: IMEI packet received {"connection_id":164096,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 22:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":164096,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:02:19] local.INFO: TCP Data received {"connection_id":164096,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164096,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:02:19] local.INFO: Processing buffer {"connection_id":164096,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:02:19] local.INFO: IMEI packet received {"connection_id":164096,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 22:02:19] local.INFO: IMEI acknowledgment sent {"connection_id":164096,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:02:21] local.INFO: TCP Data received {"connection_id":164096,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049344730012d196580071ff008003d013926..."} 
[2026-08-28 22:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049344730012d196580071ff008003d013926..."} 
[2026-08-28 22:02:21] local.INFO: Processing buffer {"connection_id":164096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049344730012d196580071ff008003d013926..."} 
[2026-08-28 22:02:21] local.INFO: Packet analysis {"connection_id":164096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04934"} 
[2026-08-28 22:02:21] local.INFO: Extracted packet for processing {"connection_id":164096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04934"} 
[2026-08-28 22:02:21] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:02:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711169792001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:02:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:02:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:02:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:02:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787934558000,"timestamp_ms":1787934558000,"timestamp_seconds":1787934558,"priority":1,"record_length":96,"hex_timestamp":"000001a049344730"} 
[2026-08-28 22: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-28 22:02:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:02:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22: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-28 22: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-28 22:02:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:02:21] local.INFO: Teltonika packet parsed successfully {"connection_id":164096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:02:21] local.INFO: Passing IMEI to GPS processor {"connection_id":164096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:02:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":164096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:02:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:02:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:02:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:02:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711169792001,"66":2166,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 22:02:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:02:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:02:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711169792001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:02:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 22:02:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:02:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:02:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:02:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711169792001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:02:21] local.INFO: DEBUG: GPS processor result {"connection_id":164096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710739,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:02:21] local.INFO: GPS data processed {"connection_id":164096,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:02:21] local.INFO: Acknowledgment sent {"connection_id":164096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:02:29] local.INFO: TCP Data received {"connection_id":163814,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:02:29] local.INFO: Processing buffer {"connection_id":163814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:02:29] local.INFO: IMEI packet received {"connection_id":163814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 22:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":163814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:02:34] local.INFO: TCP Data received {"connection_id":164095,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04934dba0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04934dba0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:02:34] local.INFO: Processing buffer {"connection_id":164095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04934dba0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:02:34] local.INFO: Packet analysis {"connection_id":164095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04934"} 
[2026-08-28 22:02:34] local.INFO: Extracted packet for processing {"connection_id":164095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04934"} 
[2026-08-28 22:02:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711179520001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:02:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:02:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787934596000,"timestamp_ms":1787934596000,"timestamp_seconds":1787934596,"priority":1,"record_length":96,"hex_timestamp":"000001a04934dba0"} 
[2026-08-28 22:02:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:02:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 22:02:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:02:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:02:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":164095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":164095,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":164095,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:02:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711179520001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711179520001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:02:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:02:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:02:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711179520001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":164095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710740,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:02:34] local.INFO: GPS data processed {"connection_id":164095,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:02:34] local.INFO: Acknowledgment sent {"connection_id":164095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:02:35] local.INFO: TCP Data received {"connection_id":163814,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:02:35] local.INFO: Processing buffer {"connection_id":163814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:02:35] local.INFO: IMEI packet received {"connection_id":163814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 22:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":163814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:02:37] local.INFO: TCP Data received {"connection_id":163814,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049324f48012d34c14006aa4840000700e62a..."} 
[2026-08-28 22:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049324f48012d34c14006aa4840000700e62a..."} 
[2026-08-28 22:02:37] local.INFO: Processing buffer {"connection_id":163814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049324f48012d34c14006aa4840000700e62a..."} 
[2026-08-28 22:02:37] local.INFO: Packet analysis {"connection_id":163814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04932"} 
[2026-08-28 22:02:37] local.INFO: Extracted packet for processing {"connection_id":163814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04932"} 
[2026-08-28 22:02:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":7,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711136768001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787934429000,"timestamp_ms":1787934429000,"timestamp_seconds":1787934429,"priority":1,"record_length":96,"hex_timestamp":"000001a049324f48"} 
[2026-08-28 22:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 22:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711136768001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711136768001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:02:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:02:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:02: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-28 22:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711136768001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":163814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:02:37] local.INFO: GPS data processed {"connection_id":163814,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:02:37] local.INFO: Acknowledgment sent {"connection_id":163814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:02:53] local.INFO: TCP Data received {"connection_id":164096,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049344730012d196580071ff008003d013926..."} 
[2026-08-28 22:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049344730012d196580071ff008003d013926..."} 
[2026-08-28 22:02:53] local.INFO: Processing buffer {"connection_id":164096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049344730012d196580071ff008003d013926..."} 
[2026-08-28 22:02:53] local.INFO: Packet analysis {"connection_id":164096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04934"} 
[2026-08-28 22:02:53] local.INFO: Extracted packet for processing {"connection_id":164096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04934"} 
[2026-08-28 22:02:53] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:02:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711169792001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:02:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:02:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:02:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:02:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787934558000,"timestamp_ms":1787934558000,"timestamp_seconds":1787934558,"priority":1,"record_length":96,"hex_timestamp":"000001a049344730"} 
[2026-08-28 22: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-28 22:02:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:02:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22: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-28 22: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-28 22:02:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:02:53] local.INFO: Teltonika packet parsed successfully {"connection_id":164096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:02:53] local.INFO: Passing IMEI to GPS processor {"connection_id":164096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:02:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":164096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:02:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:02:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:02:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:02:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711169792001,"66":2166,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 22:02:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:02:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:02:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711169792001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:02:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 22:02:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:02:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:02:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:02:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711169792001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:02:53] local.INFO: DEBUG: GPS processor result {"connection_id":164096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710742,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:02:53] local.INFO: GPS data processed {"connection_id":164096,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:02:53] local.INFO: Acknowledgment sent {"connection_id":164096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:02:55] local.INFO: TCP Data received {"connection_id":163815,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163815,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:02:55] local.INFO: Processing buffer {"connection_id":163815,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:02:55] local.INFO: IMEI packet received {"connection_id":163815,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 22:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":163815,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:03:01] local.INFO: TCP Data received {"connection_id":163815,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163815,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:03:01] local.INFO: Processing buffer {"connection_id":163815,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:03:01] local.INFO: IMEI packet received {"connection_id":163815,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 22:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":163815,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:03:02] local.INFO: TCP Data received {"connection_id":163815,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04934dba0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04934dba0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:03:02] local.INFO: Processing buffer {"connection_id":163815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04934dba0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:03:02] local.INFO: Packet analysis {"connection_id":163815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04934"} 
[2026-08-28 22:03:02] local.INFO: Extracted packet for processing {"connection_id":163815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04934"} 
[2026-08-28 22:03:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:03:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711179520001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:03:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:03:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:03:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:03:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787934596000,"timestamp_ms":1787934596000,"timestamp_seconds":1787934596,"priority":1,"record_length":96,"hex_timestamp":"000001a04934dba0"} 
[2026-08-28 22:03:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:03:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 22:03:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:03:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:03:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:03:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:03:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:03:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163815,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:03:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163815,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:03:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:03:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:03:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:03:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711179520001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:03:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:03:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:03:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711179520001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:03:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:03:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:03:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:03:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:03:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711179520001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:03:02] local.INFO: DEBUG: GPS processor result {"connection_id":163815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710743,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:03:02] local.INFO: GPS data processed {"connection_id":163815,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:03:02] local.INFO: Acknowledgment sent {"connection_id":163815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:03:09] local.INFO: TCP Data received {"connection_id":163814,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04936e710012d34c14006aa4840000700e62b..."} 
[2026-08-28 22:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04936e710012d34c14006aa4840000700e62b..."} 
[2026-08-28 22:03:09] local.INFO: Processing buffer {"connection_id":163814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04936e710012d34c14006aa4840000700e62b..."} 
[2026-08-28 22:03:09] local.INFO: Packet analysis {"connection_id":163814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04936"} 
[2026-08-28 22:03:09] local.INFO: Extracted packet for processing {"connection_id":163814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04936"} 
[2026-08-28 22:03:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711213824001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:03:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:03:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787934730000,"timestamp_ms":1787934730000,"timestamp_seconds":1787934730,"priority":1,"record_length":96,"hex_timestamp":"000001a04936e710"} 
[2026-08-28 22:03:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:03:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 22:03:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:03:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:03:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:03:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711213824001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711213824001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:03:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:03:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:03: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-28 22:03:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711213824001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":163814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:03:09] local.INFO: GPS data processed {"connection_id":163814,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:03:09] local.INFO: Acknowledgment sent {"connection_id":163814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:03:19] local.INFO: TCP Data received {"connection_id":165101,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165101,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:03:19] local.INFO: Processing buffer {"connection_id":165101,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:03:19] local.INFO: IMEI packet received {"connection_id":165101,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 22:03:19] local.INFO: IMEI acknowledgment sent {"connection_id":165101,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:03:24] local.INFO: TCP Data received {"connection_id":165101,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165101,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:03:24] local.INFO: Processing buffer {"connection_id":165101,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:03:24] local.INFO: IMEI packet received {"connection_id":165101,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 22:03:24] local.INFO: IMEI acknowledgment sent {"connection_id":165101,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:03:25] local.INFO: TCP Data received {"connection_id":165101,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049344730012d196580071ff008003d013926..."} 
[2026-08-28 22:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049344730012d196580071ff008003d013926..."} 
[2026-08-28 22:03:25] local.INFO: Processing buffer {"connection_id":165101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049344730012d196580071ff008003d013926..."} 
[2026-08-28 22:03:25] local.INFO: Packet analysis {"connection_id":165101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04934"} 
[2026-08-28 22:03:25] local.INFO: Extracted packet for processing {"connection_id":165101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04934"} 
[2026-08-28 22:03:25] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:03:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:03:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711169792001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:03:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:03:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:03:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:03:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787934558000,"timestamp_ms":1787934558000,"timestamp_seconds":1787934558,"priority":1,"record_length":96,"hex_timestamp":"000001a049344730"} 
[2026-08-28 22:03:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:03:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:03:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:03:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:03:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:03:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:03:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:03:25] local.INFO: Teltonika packet parsed successfully {"connection_id":165101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:03:25] local.INFO: Passing IMEI to GPS processor {"connection_id":165101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:03:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":165101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:03:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:03:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:03:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:03:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711169792001,"66":2166,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 22:03:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:03:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:03:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711169792001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:03:25] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 22:03:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:03:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:03:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:03:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711169792001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:03:26] local.INFO: DEBUG: GPS processor result {"connection_id":165101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710745,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:03:26] local.INFO: GPS data processed {"connection_id":165101,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:03:26] local.INFO: Acknowledgment sent {"connection_id":165101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:03:30] local.INFO: TCP Data received {"connection_id":165102,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:03:30] local.INFO: Processing buffer {"connection_id":165102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:03:30] local.INFO: IMEI packet received {"connection_id":165102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 22:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":165102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:03:34] local.INFO: TCP Data received {"connection_id":163815,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04934dba0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04934dba0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:03:34] local.INFO: Processing buffer {"connection_id":163815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04934dba0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:03:34] local.INFO: Packet analysis {"connection_id":163815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04934"} 
[2026-08-28 22:03:34] local.INFO: Extracted packet for processing {"connection_id":163815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04934"} 
[2026-08-28 22:03:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:03:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711179520001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:03:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:03:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:03:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:03:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787934596000,"timestamp_ms":1787934596000,"timestamp_seconds":1787934596,"priority":1,"record_length":96,"hex_timestamp":"000001a04934dba0"} 
[2026-08-28 22:03:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:03:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 22:03:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:03:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:03:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:03:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:03:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:03:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163815,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:03:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163815,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:03:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:03:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:03:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:03:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711179520001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:03:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:03:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:03:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711179520001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:03:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:03:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:03:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:03:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:03:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711179520001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:03:34] local.INFO: DEBUG: GPS processor result {"connection_id":163815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710746,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:03:34] local.INFO: GPS data processed {"connection_id":163815,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:03:34] local.INFO: Acknowledgment sent {"connection_id":163815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:03:35] local.INFO: TCP Data received {"connection_id":165102,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:03:35] local.INFO: Processing buffer {"connection_id":165102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:03:35] local.INFO: IMEI packet received {"connection_id":165102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 22:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":165102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:03:37] local.INFO: TCP Data received {"connection_id":165102,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04936e710012d34c14006aa4840000700e62b..."} 
[2026-08-28 22:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04936e710012d34c14006aa4840000700e62b..."} 
[2026-08-28 22:03:37] local.INFO: Processing buffer {"connection_id":165102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04936e710012d34c14006aa4840000700e62b..."} 
[2026-08-28 22:03:37] local.INFO: Packet analysis {"connection_id":165102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04936"} 
[2026-08-28 22:03:37] local.INFO: Extracted packet for processing {"connection_id":165102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04936"} 
[2026-08-28 22:03:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711213824001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:03:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787934730000,"timestamp_ms":1787934730000,"timestamp_seconds":1787934730,"priority":1,"record_length":96,"hex_timestamp":"000001a04936e710"} 
[2026-08-28 22:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 22:03:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":165102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":165102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":165102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:03:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711213824001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711213824001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:03:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:03:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:03: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-28 22:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711213824001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:03:37] 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":710747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:03:37] local.INFO: GPS data processed {"connection_id":165102,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:03:37] local.INFO: Acknowledgment sent {"connection_id":165102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:03:40] local.INFO: TCP Data received {"connection_id":165102,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04936e710012d34c14006aa4840000700e62b..."} 
[2026-08-28 22:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04936e710012d34c14006aa4840000700e62b..."} 
[2026-08-28 22:03:40] local.INFO: Processing buffer {"connection_id":165102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04936e710012d34c14006aa4840000700e62b..."} 
[2026-08-28 22:03:40] local.INFO: Packet analysis {"connection_id":165102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04936"} 
[2026-08-28 22:03:40] local.INFO: Extracted packet for processing {"connection_id":165102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04936"} 
[2026-08-28 22:03:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711213824001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:03:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:03:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787934730000,"timestamp_ms":1787934730000,"timestamp_seconds":1787934730,"priority":1,"record_length":96,"hex_timestamp":"000001a04936e710"} 
[2026-08-28 22:03:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:03:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 22:03:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:03:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:03:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":165102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":165102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":165102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:03:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711213824001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711213824001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:03:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:03:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:03: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-28 22:03:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711213824001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:03:40] 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":710748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:03:40] local.INFO: GPS data processed {"connection_id":165102,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:03:40] local.INFO: Acknowledgment sent {"connection_id":165102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:03:55] local.INFO: TCP Data received {"connection_id":164097,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164097,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:03:55] local.INFO: Processing buffer {"connection_id":164097,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:03:55] local.INFO: IMEI packet received {"connection_id":164097,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 22:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":164097,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:03:57] local.INFO: TCP Data received {"connection_id":165101,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049344730012d196580071ff008003d013926..."} 
[2026-08-28 22:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049344730012d196580071ff008003d013926..."} 
[2026-08-28 22:03:57] local.INFO: Processing buffer {"connection_id":165101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049344730012d196580071ff008003d013926..."} 
[2026-08-28 22:03:57] local.INFO: Packet analysis {"connection_id":165101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04934"} 
[2026-08-28 22:03:57] local.INFO: Extracted packet for processing {"connection_id":165101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04934"} 
[2026-08-28 22:03:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:03:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:03:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711169792001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:03:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:03:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:03:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:03:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787934558000,"timestamp_ms":1787934558000,"timestamp_seconds":1787934558,"priority":1,"record_length":96,"hex_timestamp":"000001a049344730"} 
[2026-08-28 22:03:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:03:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:03:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:03:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:03:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:03:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:03:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:03:57] local.INFO: Teltonika packet parsed successfully {"connection_id":165101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:03:57] local.INFO: Passing IMEI to GPS processor {"connection_id":165101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:03:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":165101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:03:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:03:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:03:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:03:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711169792001,"66":2166,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 22:03:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:03:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:03:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711169792001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:03:57] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 22:03:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:03:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:03:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:03:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711169792001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:03:58] local.INFO: DEBUG: GPS processor result {"connection_id":165101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710749,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:03:58] local.INFO: GPS data processed {"connection_id":165101,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:03:58] local.INFO: Acknowledgment sent {"connection_id":165101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:04:01] local.INFO: TCP Data received {"connection_id":164097,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164097,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:04:01] local.INFO: Processing buffer {"connection_id":164097,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:04:01] local.INFO: IMEI packet received {"connection_id":164097,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 22:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":164097,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:04:02] local.INFO: TCP Data received {"connection_id":164097,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04934dba0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04934dba0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:04:02] local.INFO: Processing buffer {"connection_id":164097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04934dba0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:04:02] local.INFO: Packet analysis {"connection_id":164097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04934"} 
[2026-08-28 22:04:02] local.INFO: Extracted packet for processing {"connection_id":164097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04934"} 
[2026-08-28 22:04:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:04:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:04:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711179520001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:04:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:04:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:04:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:04:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787934596000,"timestamp_ms":1787934596000,"timestamp_seconds":1787934596,"priority":1,"record_length":96,"hex_timestamp":"000001a04934dba0"} 
[2026-08-28 22:04:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:04:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:04:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 22:04:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:04:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:04:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:04:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:04:02] local.INFO: Teltonika packet parsed successfully {"connection_id":164097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:04:02] local.INFO: Passing IMEI to GPS processor {"connection_id":164097,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:04:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":164097,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:04:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:04:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:04:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:04:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711179520001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:04:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:04:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:04:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711179520001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:04:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:04:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:04:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:04:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:04:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711179520001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:04:02] local.INFO: DEBUG: GPS processor result {"connection_id":164097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710750,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:04:02] local.INFO: GPS data processed {"connection_id":164097,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:04:02] local.INFO: Acknowledgment sent {"connection_id":164097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:04:13] local.INFO: TCP Data received {"connection_id":165102,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04936e710012d34c14006aa4840000700e62b..."} 
[2026-08-28 22:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04936e710012d34c14006aa4840000700e62b..."} 
[2026-08-28 22:04:13] local.INFO: Processing buffer {"connection_id":165102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04936e710012d34c14006aa4840000700e62b..."} 
[2026-08-28 22:04:13] local.INFO: Packet analysis {"connection_id":165102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04936"} 
[2026-08-28 22:04:13] local.INFO: Extracted packet for processing {"connection_id":165102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04936"} 
[2026-08-28 22:04:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:04:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711213824001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:04:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:04:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:04:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:04:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787934730000,"timestamp_ms":1787934730000,"timestamp_seconds":1787934730,"priority":1,"record_length":96,"hex_timestamp":"000001a04936e710"} 
[2026-08-28 22: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-28 22:04:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 22:04: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-28 22: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-28 22: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-28 22:04:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:04:13] local.INFO: Teltonika packet parsed successfully {"connection_id":165102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:04:13] local.INFO: Passing IMEI to GPS processor {"connection_id":165102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:04:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":165102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:04:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:04:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:04:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:04:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711213824001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:04:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:04:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:04:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711213824001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:04:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:04:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22: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-28 22:04:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:04:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711213824001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:04:13] 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":710751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:04:13] local.INFO: GPS data processed {"connection_id":165102,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:04:13] local.INFO: Acknowledgment sent {"connection_id":165102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:04:14] local.INFO: TCP Data received {"connection_id":166462,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166462,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:04:14] local.INFO: Processing buffer {"connection_id":166462,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:04:14] local.INFO: IMEI packet received {"connection_id":166462,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 22:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":166462,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:04:19] local.INFO: TCP Data received {"connection_id":166462,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166462,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:04:19] local.INFO: Processing buffer {"connection_id":166462,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:04:19] local.INFO: IMEI packet received {"connection_id":166462,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 22:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":166462,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:04:20] local.INFO: TCP Data received {"connection_id":166462,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049344730012d196580071ff008003d013926..."} 
[2026-08-28 22:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049344730012d196580071ff008003d013926..."} 
[2026-08-28 22:04:20] local.INFO: Processing buffer {"connection_id":166462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049344730012d196580071ff008003d013926..."} 
[2026-08-28 22:04:20] local.INFO: Packet analysis {"connection_id":166462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04934"} 
[2026-08-28 22:04:20] local.INFO: Extracted packet for processing {"connection_id":166462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04934"} 
[2026-08-28 22:04:20] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:04:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711169792001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:04:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:04:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:04:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:04:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787934558000,"timestamp_ms":1787934558000,"timestamp_seconds":1787934558,"priority":1,"record_length":96,"hex_timestamp":"000001a049344730"} 
[2026-08-28 22: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-28 22:04:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:04:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22: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-28 22: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-28 22:04:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:04:20] local.INFO: Teltonika packet parsed successfully {"connection_id":166462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:04:20] local.INFO: Passing IMEI to GPS processor {"connection_id":166462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:04:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":166462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:04:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:04:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:04:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:04:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711169792001,"66":2166,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 22:04:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:04:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:04:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711169792001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:04:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 22:04:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:04:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:04:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:04:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711169792001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:04:20] local.INFO: DEBUG: GPS processor result {"connection_id":166462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710752,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:04:20] local.INFO: GPS data processed {"connection_id":166462,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:04:20] local.INFO: Acknowledgment sent {"connection_id":166462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:04:29] local.INFO: TCP Data received {"connection_id":165103,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:04:29] local.INFO: Processing buffer {"connection_id":165103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:04:29] local.INFO: IMEI packet received {"connection_id":165103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 22:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":165103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:04:34] local.INFO: TCP Data received {"connection_id":164097,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04934dba0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04934dba0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:04:34] local.INFO: Processing buffer {"connection_id":164097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04934dba0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:04:34] local.INFO: Packet analysis {"connection_id":164097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04934"} 
[2026-08-28 22:04:34] local.INFO: Extracted packet for processing {"connection_id":164097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04934"} 
[2026-08-28 22:04:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:04:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711179520001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:04:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:04:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:04:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:04:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787934596000,"timestamp_ms":1787934596000,"timestamp_seconds":1787934596,"priority":1,"record_length":96,"hex_timestamp":"000001a04934dba0"} 
[2026-08-28 22:04:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:04:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 22:04:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:04:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:04:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:04:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:04:34] local.INFO: Teltonika packet parsed successfully {"connection_id":164097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:04:34] local.INFO: Passing IMEI to GPS processor {"connection_id":164097,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:04:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":164097,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:04:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:04:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:04:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:04:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711179520001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:04:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:04:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:04:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711179520001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:04:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:04:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:04:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:04:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:04:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711179520001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:04:34] local.INFO: DEBUG: GPS processor result {"connection_id":164097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710753,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:04:34] local.INFO: GPS data processed {"connection_id":164097,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:04:34] local.INFO: Acknowledgment sent {"connection_id":164097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:04:35] local.INFO: TCP Data received {"connection_id":165103,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:04:35] local.INFO: Processing buffer {"connection_id":165103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:04:35] local.INFO: IMEI packet received {"connection_id":165103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 22:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":165103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:04:37] local.INFO: TCP Data received {"connection_id":165103,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04936e710012d34c14006aa4840000700e62b..."} 
[2026-08-28 22:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04936e710012d34c14006aa4840000700e62b..."} 
[2026-08-28 22:04:37] local.INFO: Processing buffer {"connection_id":165103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04936e710012d34c14006aa4840000700e62b..."} 
[2026-08-28 22:04:37] local.INFO: Packet analysis {"connection_id":165103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04936"} 
[2026-08-28 22:04:37] local.INFO: Extracted packet for processing {"connection_id":165103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04936"} 
[2026-08-28 22:04:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711213824001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787934730000,"timestamp_ms":1787934730000,"timestamp_seconds":1787934730,"priority":1,"record_length":96,"hex_timestamp":"000001a04936e710"} 
[2026-08-28 22:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 22:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":165103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":165103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":165103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711213824001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711213824001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:04:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:04:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:04: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-28 22:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711213824001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:04:37] 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":710754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:04:37] local.INFO: GPS data processed {"connection_id":165103,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:04:37] local.INFO: Acknowledgment sent {"connection_id":165103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:04:52] local.INFO: TCP Data received {"connection_id":166462,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049344730012d196580071ff008003d013926..."} 
[2026-08-28 22:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049344730012d196580071ff008003d013926..."} 
[2026-08-28 22:04:52] local.INFO: Processing buffer {"connection_id":166462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049344730012d196580071ff008003d013926..."} 
[2026-08-28 22:04:52] local.INFO: Packet analysis {"connection_id":166462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04934"} 
[2026-08-28 22:04:52] local.INFO: Extracted packet for processing {"connection_id":166462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04934"} 
[2026-08-28 22:04:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:04:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711169792001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:04:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:04:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:04:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:04:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787934558000,"timestamp_ms":1787934558000,"timestamp_seconds":1787934558,"priority":1,"record_length":96,"hex_timestamp":"000001a049344730"} 
[2026-08-28 22: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-28 22:04:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:04:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:04:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22: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-28 22: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-28 22:04:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:04:52] local.INFO: Teltonika packet parsed successfully {"connection_id":166462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:04:52] local.INFO: Passing IMEI to GPS processor {"connection_id":166462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:04:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":166462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:04:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:04:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:04:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:04:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711169792001,"66":2166,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 22:04:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:04:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:04:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711169792001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:04:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 22:04:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:04:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:04:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:04:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711169792001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:04:52] local.INFO: DEBUG: GPS processor result {"connection_id":166462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710755,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:04:52] local.INFO: GPS data processed {"connection_id":166462,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:04:52] local.INFO: Acknowledgment sent {"connection_id":166462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:05:01] local.INFO: TCP Data received {"connection_id":163816,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163816,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:05:01] local.INFO: Processing buffer {"connection_id":163816,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:05:01] local.INFO: IMEI packet received {"connection_id":163816,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 22:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":163816,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:05:06] local.INFO: TCP Data received {"connection_id":163816,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163816,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:05:06] local.INFO: Processing buffer {"connection_id":163816,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:05:06] local.INFO: IMEI packet received {"connection_id":163816,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 22:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":163816,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:05:07] local.INFO: TCP Data received {"connection_id":163816,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04934dba0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04934dba0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:05:07] local.INFO: Processing buffer {"connection_id":163816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04934dba0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:05:07] local.INFO: Packet analysis {"connection_id":163816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04934"} 
[2026-08-28 22:05:07] local.INFO: Extracted packet for processing {"connection_id":163816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04934"} 
[2026-08-28 22:05:07] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711179520001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:05:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787934596000,"timestamp_ms":1787934596000,"timestamp_seconds":1787934596,"priority":1,"record_length":96,"hex_timestamp":"000001a04934dba0"} 
[2026-08-28 22:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:05:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 22:05:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:05:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":163816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":163816,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":163816,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711179520001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711179520001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:05:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:05:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711179520001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":163816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710756,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:05:07] local.INFO: GPS data processed {"connection_id":163816,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:05:07] local.INFO: Acknowledgment sent {"connection_id":163816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:05:08] local.INFO: TCP Data received {"connection_id":165103,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04936e710012d34c14006aa4840000700e62b..."} 
[2026-08-28 22:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04936e710012d34c14006aa4840000700e62b..."} 
[2026-08-28 22:05:08] local.INFO: Processing buffer {"connection_id":165103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04936e710012d34c14006aa4840000700e62b..."} 
[2026-08-28 22:05:08] local.INFO: Packet analysis {"connection_id":165103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04936"} 
[2026-08-28 22:05:08] local.INFO: Extracted packet for processing {"connection_id":165103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04936"} 
[2026-08-28 22:05:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711213824001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:05:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787934730000,"timestamp_ms":1787934730000,"timestamp_seconds":1787934730,"priority":1,"record_length":96,"hex_timestamp":"000001a04936e710"} 
[2026-08-28 22:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:05:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 22:05:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:05:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":165103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":165103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":165103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711213824001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711213824001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:05:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:05:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:05: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-28 22:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711213824001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:05:08] 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":710757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:05:08] local.INFO: GPS data processed {"connection_id":165103,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:05:08] local.INFO: Acknowledgment sent {"connection_id":165103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:05:12] local.INFO: TCP Data received {"connection_id":163816,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04934dba0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04934dba0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:05:12] local.INFO: Processing buffer {"connection_id":163816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04934dba0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:05:12] local.INFO: Packet analysis {"connection_id":163816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04934"} 
[2026-08-28 22:05:12] local.INFO: Extracted packet for processing {"connection_id":163816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04934"} 
[2026-08-28 22:05:12] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:05:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711179520001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:05:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:05:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:05:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:05:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787934596000,"timestamp_ms":1787934596000,"timestamp_seconds":1787934596,"priority":1,"record_length":96,"hex_timestamp":"000001a04934dba0"} 
[2026-08-28 22:05:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:05:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 22:05:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:05:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:05:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:05:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:05:12] local.INFO: Teltonika packet parsed successfully {"connection_id":163816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:05:12] local.INFO: Passing IMEI to GPS processor {"connection_id":163816,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:05:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":163816,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:05:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:05:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:05:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:05:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711179520001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:05:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:05:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:05:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711179520001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:05:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:05:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:05:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:05:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:05:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711179520001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:05:12] local.INFO: DEBUG: GPS processor result {"connection_id":163816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710758,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:05:12] local.INFO: GPS data processed {"connection_id":163816,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:05:12] local.INFO: Acknowledgment sent {"connection_id":163816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:05:14] local.INFO: TCP Data received {"connection_id":166463,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166463,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:05:14] local.INFO: Processing buffer {"connection_id":166463,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:05:14] local.INFO: IMEI packet received {"connection_id":166463,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 22:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":166463,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:05:19] local.INFO: TCP Data received {"connection_id":166463,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166463,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:05:19] local.INFO: Processing buffer {"connection_id":166463,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:05:19] local.INFO: IMEI packet received {"connection_id":166463,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 22:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":166463,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:05:20] local.INFO: TCP Data received {"connection_id":166463,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a04938def8012d196580071ff008003d01392b..."} 
[2026-08-28 22:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04938def8012d196580071ff008003d01392b..."} 
[2026-08-28 22:05:20] local.INFO: Processing buffer {"connection_id":166463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04938def8012d196580071ff008003d01392b..."} 
[2026-08-28 22:05:20] local.INFO: Packet analysis {"connection_id":166463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04938"} 
[2026-08-28 22:05:20] local.INFO: Extracted packet for processing {"connection_id":166463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04938"} 
[2026-08-28 22:05:20] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711246848001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:05:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787934859000,"timestamp_ms":1787934859000,"timestamp_seconds":1787934859,"priority":1,"record_length":96,"hex_timestamp":"000001a04938def8"} 
[2026-08-28 22:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22: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-28 22:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:05:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:05:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":166463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":166463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":166463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:05:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711246848001,"66":2155,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 22:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711246848001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:05:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 22:05:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:05:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711246848001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":166463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710759,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:05:20] local.INFO: GPS data processed {"connection_id":166463,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:05:20] local.INFO: Acknowledgment sent {"connection_id":166463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:05:29] local.INFO: TCP Data received {"connection_id":163817,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:05:29] local.INFO: Processing buffer {"connection_id":163817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:05:29] local.INFO: IMEI packet received {"connection_id":163817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 22:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":163817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:05:35] local.INFO: TCP Data received {"connection_id":163817,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:05:35] local.INFO: Processing buffer {"connection_id":163817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:05:35] local.INFO: IMEI packet received {"connection_id":163817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 22:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":163817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:05:38] local.INFO: TCP Data received {"connection_id":163817,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04936e710012d34c14006aa4840000700e62b..."} 
[2026-08-28 22:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04936e710012d34c14006aa4840000700e62b..."} 
[2026-08-28 22:05:38] local.INFO: Processing buffer {"connection_id":163817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04936e710012d34c14006aa4840000700e62b..."} 
[2026-08-28 22:05:38] local.INFO: Packet analysis {"connection_id":163817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04936"} 
[2026-08-28 22:05:38] local.INFO: Extracted packet for processing {"connection_id":163817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04936"} 
[2026-08-28 22:05:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711213824001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:05:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787934730000,"timestamp_ms":1787934730000,"timestamp_seconds":1787934730,"priority":1,"record_length":96,"hex_timestamp":"000001a04936e710"} 
[2026-08-28 22:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:05:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 22:05:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:05:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:05:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711213824001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711213824001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:05:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:05:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:05: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-28 22:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711213824001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":163817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:05:38] local.INFO: GPS data processed {"connection_id":163817,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:05:38] local.INFO: Acknowledgment sent {"connection_id":163817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:05:52] local.INFO: TCP Data received {"connection_id":166463,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a04938def8012d196580071ff008003d01392b..."} 
[2026-08-28 22:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04938def8012d196580071ff008003d01392b..."} 
[2026-08-28 22:05:52] local.INFO: Processing buffer {"connection_id":166463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04938def8012d196580071ff008003d01392b..."} 
[2026-08-28 22:05:52] local.INFO: Packet analysis {"connection_id":166463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04938"} 
[2026-08-28 22:05:52] local.INFO: Extracted packet for processing {"connection_id":166463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04938"} 
[2026-08-28 22:05:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711246848001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:05:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:05:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:05:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:05:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787934859000,"timestamp_ms":1787934859000,"timestamp_seconds":1787934859,"priority":1,"record_length":96,"hex_timestamp":"000001a04938def8"} 
[2026-08-28 22: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-28 22: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-28 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:05:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22: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-28 22: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-28 22:05:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:05:52] local.INFO: Teltonika packet parsed successfully {"connection_id":166463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:05:52] local.INFO: Passing IMEI to GPS processor {"connection_id":166463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:05:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":166463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:05:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:05:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:05:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:05:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711246848001,"66":2155,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 22:05:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:05:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:05:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711246848001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:05:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 22:05:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:05:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:05:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:05:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711246848001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:05:52] local.INFO: DEBUG: GPS processor result {"connection_id":166463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710761,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:05:52] local.INFO: GPS data processed {"connection_id":166463,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:05:52] local.INFO: Acknowledgment sent {"connection_id":166463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:05:55] local.INFO: TCP Data received {"connection_id":166464,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166464,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:05:55] local.INFO: Processing buffer {"connection_id":166464,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:05:55] local.INFO: IMEI packet received {"connection_id":166464,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 22:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":166464,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:06:01] local.INFO: TCP Data received {"connection_id":166464,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166464,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:06:01] local.INFO: Processing buffer {"connection_id":166464,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:06:01] local.INFO: IMEI packet received {"connection_id":166464,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 22:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":166464,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:06:02] local.INFO: TCP Data received {"connection_id":166464,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049397368012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049397368012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:06:02] local.INFO: Processing buffer {"connection_id":166464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049397368012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:06:02] local.INFO: Packet analysis {"connection_id":166464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04939"} 
[2026-08-28 22:06:02] local.INFO: Extracted packet for processing {"connection_id":166464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04939"} 
[2026-08-28 22:06:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711256576001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:06:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787934897000,"timestamp_ms":1787934897000,"timestamp_seconds":1787934897,"priority":1,"record_length":96,"hex_timestamp":"000001a049397368"} 
[2026-08-28 22:06:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:06:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 22:06:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:06:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:06:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":166464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":166464,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":166464,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:06:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711256576001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711256576001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:06:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:06:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711256576001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":166464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710762,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:06:02] local.INFO: GPS data processed {"connection_id":166464,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:06:02] local.INFO: Acknowledgment sent {"connection_id":166464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:06:09] local.INFO: TCP Data received {"connection_id":163817,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04936e710012d34c14006aa4840000700e62b..."} 
[2026-08-28 22:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04936e710012d34c14006aa4840000700e62b..."} 
[2026-08-28 22:06:09] local.INFO: Processing buffer {"connection_id":163817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04936e710012d34c14006aa4840000700e62b..."} 
[2026-08-28 22:06:09] local.INFO: Packet analysis {"connection_id":163817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04936"} 
[2026-08-28 22:06:09] local.INFO: Extracted packet for processing {"connection_id":163817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04936"} 
[2026-08-28 22:06:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711213824001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:06:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:06:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787934730000,"timestamp_ms":1787934730000,"timestamp_seconds":1787934730,"priority":1,"record_length":96,"hex_timestamp":"000001a04936e710"} 
[2026-08-28 22:06:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:06:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 22:06:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:06:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:06:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:06:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711213824001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711213824001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:06:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:06:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:06: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-28 22:06:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711213824001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:06:09] local.INFO: DEBUG: GPS processor result {"connection_id":163817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:06:09] local.INFO: GPS data processed {"connection_id":163817,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:06:09] local.INFO: Acknowledgment sent {"connection_id":163817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:06:19] local.INFO: TCP Data received {"connection_id":165104,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165104,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:06:19] local.INFO: Processing buffer {"connection_id":165104,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:06:19] local.INFO: IMEI packet received {"connection_id":165104,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 22:06:19] local.INFO: IMEI acknowledgment sent {"connection_id":165104,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:06:24] local.INFO: TCP Data received {"connection_id":165104,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165104,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:06:24] local.INFO: Processing buffer {"connection_id":165104,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:06:24] local.INFO: IMEI packet received {"connection_id":165104,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 22:06:24] local.INFO: IMEI acknowledgment sent {"connection_id":165104,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:06:25] local.INFO: TCP Data received {"connection_id":165104,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a04938def8012d196580071ff008003d01392b..."} 
[2026-08-28 22:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04938def8012d196580071ff008003d01392b..."} 
[2026-08-28 22:06:25] local.INFO: Processing buffer {"connection_id":165104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04938def8012d196580071ff008003d01392b..."} 
[2026-08-28 22:06:25] local.INFO: Packet analysis {"connection_id":165104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04938"} 
[2026-08-28 22:06:25] local.INFO: Extracted packet for processing {"connection_id":165104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04938"} 
[2026-08-28 22:06:25] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:06:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:06:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711246848001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:06:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:06:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:06:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:06:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787934859000,"timestamp_ms":1787934859000,"timestamp_seconds":1787934859,"priority":1,"record_length":96,"hex_timestamp":"000001a04938def8"} 
[2026-08-28 22:06:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:06:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:06:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:06:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:06:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:06:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:06:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:06:25] local.INFO: Teltonika packet parsed successfully {"connection_id":165104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:06:25] local.INFO: Passing IMEI to GPS processor {"connection_id":165104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:06:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":165104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:06:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:06:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:06:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:06:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711246848001,"66":2155,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 22:06:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:06:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:06:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711246848001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:06:25] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 22:06:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:06:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:06:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:06:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711246848001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:06:25] 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":710764,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:06:25] local.INFO: GPS data processed {"connection_id":165104,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:06:25] local.INFO: Acknowledgment sent {"connection_id":165104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:06:29] local.INFO: TCP Data received {"connection_id":163818,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:06:29] local.INFO: Processing buffer {"connection_id":163818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:06:29] local.INFO: IMEI packet received {"connection_id":163818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 22:06:29] local.INFO: IMEI acknowledgment sent {"connection_id":163818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:06:30] local.INFO: TCP Data received {"connection_id":165104,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a04938def8012d196580071ff008003d01392b..."} 
[2026-08-28 22:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04938def8012d196580071ff008003d01392b..."} 
[2026-08-28 22:06:30] local.INFO: Processing buffer {"connection_id":165104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04938def8012d196580071ff008003d01392b..."} 
[2026-08-28 22:06:30] local.INFO: Packet analysis {"connection_id":165104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04938"} 
[2026-08-28 22:06:30] local.INFO: Extracted packet for processing {"connection_id":165104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04938"} 
[2026-08-28 22:06:30] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711246848001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:06:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:06:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787934859000,"timestamp_ms":1787934859000,"timestamp_seconds":1787934859,"priority":1,"record_length":96,"hex_timestamp":"000001a04938def8"} 
[2026-08-28 22:06:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:06:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:06:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:06:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:06:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":165104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":165104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":165104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:06:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711246848001,"66":2155,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 22:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711246848001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:06:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 22:06:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:06:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711246848001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:06:30] 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":710765,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:06:30] local.INFO: GPS data processed {"connection_id":165104,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:06:30] local.INFO: Acknowledgment sent {"connection_id":165104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:06:34] local.INFO: TCP Data received {"connection_id":166464,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049397368012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049397368012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:06:34] local.INFO: Processing buffer {"connection_id":166464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049397368012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:06:34] local.INFO: Packet analysis {"connection_id":166464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04939"} 
[2026-08-28 22:06:34] local.INFO: Extracted packet for processing {"connection_id":166464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04939"} 
[2026-08-28 22:06:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711256576001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:06:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:06:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787934897000,"timestamp_ms":1787934897000,"timestamp_seconds":1787934897,"priority":1,"record_length":96,"hex_timestamp":"000001a049397368"} 
[2026-08-28 22:06:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:06:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 22:06:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:06:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:06:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":166464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":166464,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":166464,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:06:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711256576001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711256576001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:06:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:06:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:06:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:06:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711256576001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:06:34] local.INFO: DEBUG: GPS processor result {"connection_id":166464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710766,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:06:34] local.INFO: GPS data processed {"connection_id":166464,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:06:34] local.INFO: Acknowledgment sent {"connection_id":166464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:06:35] local.INFO: TCP Data received {"connection_id":163818,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:06:35] local.INFO: Processing buffer {"connection_id":163818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:06:35] local.INFO: IMEI packet received {"connection_id":163818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 22:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":163818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:06:37] local.INFO: TCP Data received {"connection_id":163818,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04936e710012d34c14006aa4840000700e62b..."} 
[2026-08-28 22:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04936e710012d34c14006aa4840000700e62b..."} 
[2026-08-28 22:06:37] local.INFO: Processing buffer {"connection_id":163818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04936e710012d34c14006aa4840000700e62b..."} 
[2026-08-28 22:06:37] local.INFO: Packet analysis {"connection_id":163818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04936"} 
[2026-08-28 22:06:37] local.INFO: Extracted packet for processing {"connection_id":163818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04936"} 
[2026-08-28 22:06:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711213824001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787934730000,"timestamp_ms":1787934730000,"timestamp_seconds":1787934730,"priority":1,"record_length":96,"hex_timestamp":"000001a04936e710"} 
[2026-08-28 22:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 22:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711213824001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711213824001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:06:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:06:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:06: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-28 22:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711213824001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":163818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:06:37] local.INFO: GPS data processed {"connection_id":163818,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:06:37] local.INFO: Acknowledgment sent {"connection_id":163818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:06:55] local.INFO: TCP Data received {"connection_id":166465,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166465,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:06:55] local.INFO: Processing buffer {"connection_id":166465,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:06:55] local.INFO: IMEI packet received {"connection_id":166465,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 22:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":166465,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:07:01] local.INFO: TCP Data received {"connection_id":166465,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166465,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:07:01] local.INFO: Processing buffer {"connection_id":166465,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:07:01] local.INFO: IMEI packet received {"connection_id":166465,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 22:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":166465,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:07:02] local.INFO: TCP Data received {"connection_id":166465,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049397368012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049397368012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:07:02] local.INFO: Processing buffer {"connection_id":166465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049397368012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:07:02] local.INFO: Packet analysis {"connection_id":166465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04939"} 
[2026-08-28 22:07:02] local.INFO: Extracted packet for processing {"connection_id":166465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04939"} 
[2026-08-28 22:07:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:07:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:07:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711256576001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:07:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:07:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:07:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:07:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787934897000,"timestamp_ms":1787934897000,"timestamp_seconds":1787934897,"priority":1,"record_length":96,"hex_timestamp":"000001a049397368"} 
[2026-08-28 22:07:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:07:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:07:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 22:07:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:07:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:07:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:07:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:07:02] local.INFO: Teltonika packet parsed successfully {"connection_id":166465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:07:02] local.INFO: Passing IMEI to GPS processor {"connection_id":166465,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:07:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":166465,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:07:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:07:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:07:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:07:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711256576001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:07:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:07:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:07:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711256576001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:07:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:07:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:07:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:07:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:07:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711256576001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:07:02] local.INFO: DEBUG: GPS processor result {"connection_id":166465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710768,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:07:02] local.INFO: GPS data processed {"connection_id":166465,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:07:02] local.INFO: Acknowledgment sent {"connection_id":166465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:07:09] local.INFO: TCP Data received {"connection_id":163818,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04936e710012d34c14006aa4840000700e62b..."} 
[2026-08-28 22:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04936e710012d34c14006aa4840000700e62b..."} 
[2026-08-28 22:07:09] local.INFO: Processing buffer {"connection_id":163818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04936e710012d34c14006aa4840000700e62b..."} 
[2026-08-28 22:07:09] local.INFO: Packet analysis {"connection_id":163818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04936"} 
[2026-08-28 22:07:09] local.INFO: Extracted packet for processing {"connection_id":163818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04936"} 
[2026-08-28 22:07:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711213824001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:07:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787934730000,"timestamp_ms":1787934730000,"timestamp_seconds":1787934730,"priority":1,"record_length":96,"hex_timestamp":"000001a04936e710"} 
[2026-08-28 22: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-28 22:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 22:07:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22: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-28 22: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-28 22:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:07:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711213824001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711213824001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:07:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:07:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:07: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-28 22:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711213824001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":163818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:07:09] local.INFO: GPS data processed {"connection_id":163818,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:07:09] local.INFO: Acknowledgment sent {"connection_id":163818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:07:14] local.INFO: TCP Data received {"connection_id":165105,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165105,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:07:14] local.INFO: Processing buffer {"connection_id":165105,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:07:14] local.INFO: IMEI packet received {"connection_id":165105,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 22:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":165105,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:07:19] local.INFO: TCP Data received {"connection_id":165105,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165105,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:07:19] local.INFO: Processing buffer {"connection_id":165105,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:07:19] local.INFO: IMEI packet received {"connection_id":165105,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 22:07:19] local.INFO: IMEI acknowledgment sent {"connection_id":165105,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:07:21] local.INFO: TCP Data received {"connection_id":165105,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a04938def8012d196580071ff008003d01392b..."} 
[2026-08-28 22:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04938def8012d196580071ff008003d01392b..."} 
[2026-08-28 22:07:21] local.INFO: Processing buffer {"connection_id":165105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04938def8012d196580071ff008003d01392b..."} 
[2026-08-28 22:07:21] local.INFO: Packet analysis {"connection_id":165105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04938"} 
[2026-08-28 22:07:21] local.INFO: Extracted packet for processing {"connection_id":165105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04938"} 
[2026-08-28 22:07:21] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711246848001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:07:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:07:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787934859000,"timestamp_ms":1787934859000,"timestamp_seconds":1787934859,"priority":1,"record_length":96,"hex_timestamp":"000001a04938def8"} 
[2026-08-28 22:07:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:07: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-28 22:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:07:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:07:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:07:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":165105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":165105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":165105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:07:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711246848001,"66":2155,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 22:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711246848001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:07:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 22:07:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:07:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711246848001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:07:21] 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":710770,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:07:21] local.INFO: GPS data processed {"connection_id":165105,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:07:21] local.INFO: Acknowledgment sent {"connection_id":165105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:07:34] local.INFO: TCP Data received {"connection_id":166465,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049397368012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049397368012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:07:34] local.INFO: Processing buffer {"connection_id":166465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049397368012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:07:34] local.INFO: Packet analysis {"connection_id":166465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04939"} 
[2026-08-28 22:07:34] local.INFO: Extracted packet for processing {"connection_id":166465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04939"} 
[2026-08-28 22:07:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:07:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711256576001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:07:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:07:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:07:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:07:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787934897000,"timestamp_ms":1787934897000,"timestamp_seconds":1787934897,"priority":1,"record_length":96,"hex_timestamp":"000001a049397368"} 
[2026-08-28 22:07:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:07:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 22:07:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:07:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:07:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:07:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:07:34] local.INFO: Teltonika packet parsed successfully {"connection_id":166465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:07:34] local.INFO: Passing IMEI to GPS processor {"connection_id":166465,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:07:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":166465,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:07:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:07:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:07:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:07:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711256576001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:07:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:07:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:07:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711256576001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:07:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:07:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:07:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:07:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:07:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711256576001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:07:34] local.INFO: DEBUG: GPS processor result {"connection_id":166465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710771,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:07:34] local.INFO: GPS data processed {"connection_id":166465,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:07:34] local.INFO: Acknowledgment sent {"connection_id":166465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:07:35] local.INFO: TCP Data received {"connection_id":164098,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:07:35] local.INFO: Processing buffer {"connection_id":164098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:07:35] local.INFO: IMEI packet received {"connection_id":164098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 22:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":164098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:07:40] local.INFO: TCP Data received {"connection_id":164098,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:07:40] local.INFO: Processing buffer {"connection_id":164098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:07:40] local.INFO: IMEI packet received {"connection_id":164098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 22:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":164098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:07:42] local.INFO: TCP Data received {"connection_id":164098,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04936e710012d34c14006aa4840000700e62b..."} 
[2026-08-28 22:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04936e710012d34c14006aa4840000700e62b..."} 
[2026-08-28 22:07:42] local.INFO: Processing buffer {"connection_id":164098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04936e710012d34c14006aa4840000700e62b..."} 
[2026-08-28 22:07:42] local.INFO: Packet analysis {"connection_id":164098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04936"} 
[2026-08-28 22:07:42] local.INFO: Extracted packet for processing {"connection_id":164098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04936"} 
[2026-08-28 22:07:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711213824001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:07:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:07:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787934730000,"timestamp_ms":1787934730000,"timestamp_seconds":1787934730,"priority":1,"record_length":96,"hex_timestamp":"000001a04936e710"} 
[2026-08-28 22: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-28 22:07:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22: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-28 22: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-28 22: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-28 22:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":164098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":164098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":164098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:07:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711213824001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711213824001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:07:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:07:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22: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-28 22:07:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711213824001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":164098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:07:42] local.INFO: GPS data processed {"connection_id":164098,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:07:42] local.INFO: Acknowledgment sent {"connection_id":164098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:07:45] local.INFO: TCP Data received {"connection_id":164098,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04936e710012d34c14006aa4840000700e62b..."} 
[2026-08-28 22:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04936e710012d34c14006aa4840000700e62b..."} 
[2026-08-28 22:07:45] local.INFO: Processing buffer {"connection_id":164098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04936e710012d34c14006aa4840000700e62b..."} 
[2026-08-28 22:07:45] local.INFO: Packet analysis {"connection_id":164098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04936"} 
[2026-08-28 22:07:45] local.INFO: Extracted packet for processing {"connection_id":164098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04936"} 
[2026-08-28 22:07:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":7,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:07:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711213824001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:07:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:07:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:07:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:07:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787934730000,"timestamp_ms":1787934730000,"timestamp_seconds":1787934730,"priority":1,"record_length":96,"hex_timestamp":"000001a04936e710"} 
[2026-08-28 22: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-28 22:07:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 22:07: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-28 22: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-28 22: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-28 22:07:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:07:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:07:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:07:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:07:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:07:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:07:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:07:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711213824001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:07:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:07:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:07:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711213824001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:07:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:07:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22: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-28 22:07:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:07:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711213824001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:07:45] local.INFO: DEBUG: GPS processor result {"connection_id":164098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:07:45] local.INFO: GPS data processed {"connection_id":164098,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:07:45] local.INFO: Acknowledgment sent {"connection_id":164098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:07:53] local.INFO: TCP Data received {"connection_id":165105,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a04938def8012d196580071ff008003d01392b..."} 
[2026-08-28 22:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04938def8012d196580071ff008003d01392b..."} 
[2026-08-28 22:07:53] local.INFO: Processing buffer {"connection_id":165105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04938def8012d196580071ff008003d01392b..."} 
[2026-08-28 22:07:53] local.INFO: Packet analysis {"connection_id":165105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04938"} 
[2026-08-28 22:07:53] local.INFO: Extracted packet for processing {"connection_id":165105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04938"} 
[2026-08-28 22:07:53] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:07:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711246848001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:07:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:07:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:07:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:07:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787934859000,"timestamp_ms":1787934859000,"timestamp_seconds":1787934859,"priority":1,"record_length":96,"hex_timestamp":"000001a04938def8"} 
[2026-08-28 22:07:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:07: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-28 22:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:07:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:07:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:07:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:07:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:07:53] local.INFO: Teltonika packet parsed successfully {"connection_id":165105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:07:53] local.INFO: Passing IMEI to GPS processor {"connection_id":165105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:07:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":165105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:07:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:07:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:07:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:07:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711246848001,"66":2155,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 22:07:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:07:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:07:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711246848001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:07:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 22:07:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:07:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:07:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:07:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711246848001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:07:53] 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":710774,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:07:53] local.INFO: GPS data processed {"connection_id":165105,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:07:53] local.INFO: Acknowledgment sent {"connection_id":165105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:07:55] local.INFO: TCP Data received {"connection_id":163819,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163819,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:07:55] local.INFO: Processing buffer {"connection_id":163819,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:07:55] local.INFO: IMEI packet received {"connection_id":163819,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 22:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":163819,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:08:01] local.INFO: TCP Data received {"connection_id":163819,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163819,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:08:01] local.INFO: Processing buffer {"connection_id":163819,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:08:01] local.INFO: IMEI packet received {"connection_id":163819,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 22:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":163819,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:08:02] local.INFO: TCP Data received {"connection_id":163819,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049397368012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049397368012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:08:02] local.INFO: Processing buffer {"connection_id":163819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049397368012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:08:02] local.INFO: Packet analysis {"connection_id":163819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04939"} 
[2026-08-28 22:08:02] local.INFO: Extracted packet for processing {"connection_id":163819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04939"} 
[2026-08-28 22:08:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:08:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:08:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711256576001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:08:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:08:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:08:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:08:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787934897000,"timestamp_ms":1787934897000,"timestamp_seconds":1787934897,"priority":1,"record_length":96,"hex_timestamp":"000001a049397368"} 
[2026-08-28 22:08:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:08:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:08:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 22:08:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:08:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:08:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:08:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:08:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:08:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163819,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:08:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163819,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:08:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:08:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:08:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:08:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711256576001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:08:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:08:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:08:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711256576001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:08:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:08:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:08:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:08:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:08:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711256576001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":163819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710775,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:08:03] local.INFO: GPS data processed {"connection_id":163819,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:08:03] local.INFO: Acknowledgment sent {"connection_id":163819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:08:14] local.INFO: TCP Data received {"connection_id":166466,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166466,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:08:14] local.INFO: Processing buffer {"connection_id":166466,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:08:14] local.INFO: IMEI packet received {"connection_id":166466,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 22:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":166466,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:08:19] local.INFO: TCP Data received {"connection_id":166466,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166466,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:08:19] local.INFO: Processing buffer {"connection_id":166466,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:08:19] local.INFO: IMEI packet received {"connection_id":166466,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 22:08:19] local.INFO: IMEI acknowledgment sent {"connection_id":166466,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:08:20] local.INFO: TCP Data received {"connection_id":166466,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a04938def8012d196580071ff008003d01392b..."} 
[2026-08-28 22:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04938def8012d196580071ff008003d01392b..."} 
[2026-08-28 22:08:20] local.INFO: Processing buffer {"connection_id":166466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04938def8012d196580071ff008003d01392b..."} 
[2026-08-28 22:08:20] local.INFO: Packet analysis {"connection_id":166466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04938"} 
[2026-08-28 22:08:20] local.INFO: Extracted packet for processing {"connection_id":166466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04938"} 
[2026-08-28 22:08:20] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:08:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711246848001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:08:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:08:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:08:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:08:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787934859000,"timestamp_ms":1787934859000,"timestamp_seconds":1787934859,"priority":1,"record_length":96,"hex_timestamp":"000001a04938def8"} 
[2026-08-28 22:08:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:08: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-28 22:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:08:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:08:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:08:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:08:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:08:20] local.INFO: Teltonika packet parsed successfully {"connection_id":166466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:08:20] local.INFO: Passing IMEI to GPS processor {"connection_id":166466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:08:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":166466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:08:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:08:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:08:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:08:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711246848001,"66":2155,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 22:08:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:08:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:08:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711246848001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:08:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 22:08:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:08:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:08:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:08:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711246848001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:08:20] local.INFO: DEBUG: GPS processor result {"connection_id":166466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710776,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:08:20] local.INFO: GPS data processed {"connection_id":166466,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:08:20] local.INFO: Acknowledgment sent {"connection_id":166466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:08:29] local.INFO: TCP Data received {"connection_id":166467,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:08:29] local.INFO: Processing buffer {"connection_id":166467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:08:29] local.INFO: IMEI packet received {"connection_id":166467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 22:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":166467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:08:34] local.INFO: TCP Data received {"connection_id":163819,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049397368012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049397368012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:08:34] local.INFO: Processing buffer {"connection_id":163819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049397368012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:08:34] local.INFO: Packet analysis {"connection_id":163819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04939"} 
[2026-08-28 22:08:34] local.INFO: Extracted packet for processing {"connection_id":163819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04939"} 
[2026-08-28 22:08:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:08:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711256576001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:08:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:08:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:08:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:08:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787934897000,"timestamp_ms":1787934897000,"timestamp_seconds":1787934897,"priority":1,"record_length":96,"hex_timestamp":"000001a049397368"} 
[2026-08-28 22:08:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:08:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 22:08:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:08:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:08:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:08:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:08:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:08:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163819,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:08:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163819,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:08:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:08:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:08:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:08:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711256576001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:08:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:08:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:08:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711256576001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:08:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:08:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:08:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:08:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:08:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711256576001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:08:35] local.INFO: DEBUG: GPS processor result {"connection_id":163819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710777,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:08:35] local.INFO: GPS data processed {"connection_id":163819,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:08:35] local.INFO: Acknowledgment sent {"connection_id":163819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:08:35] local.INFO: TCP Data received {"connection_id":166467,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:08:35] local.INFO: Processing buffer {"connection_id":166467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:08:35] local.INFO: IMEI packet received {"connection_id":166467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 22:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":166467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:08:38] local.INFO: TCP Data received {"connection_id":166467,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0493b7ed8012d34c14006aa4840000d00e629..."} 
[2026-08-28 22:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0493b7ed8012d34c14006aa4840000d00e629..."} 
[2026-08-28 22:08:38] local.INFO: Processing buffer {"connection_id":166467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0493b7ed8012d34c14006aa4840000d00e629..."} 
[2026-08-28 22:08:38] local.INFO: Packet analysis {"connection_id":166467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0493b"} 
[2026-08-28 22:08:38] local.INFO: Extracted packet for processing {"connection_id":166467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0493b"} 
[2026-08-28 22:08:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711290880001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787935031000,"timestamp_ms":1787935031000,"timestamp_seconds":1787935031,"priority":1,"record_length":96,"hex_timestamp":"000001a0493b7ed8"} 
[2026-08-28 22:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 22:08:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":166467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":166467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":166467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711290880001,"66":25278,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711290880001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:08:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:08:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:08: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-28 22:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711290880001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":166467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:08:38] local.INFO: GPS data processed {"connection_id":166467,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:08:38] local.INFO: Acknowledgment sent {"connection_id":166467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:08:52] local.INFO: TCP Data received {"connection_id":166466,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a04938def8012d196580071ff008003d01392b..."} 
[2026-08-28 22:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04938def8012d196580071ff008003d01392b..."} 
[2026-08-28 22:08:52] local.INFO: Processing buffer {"connection_id":166466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04938def8012d196580071ff008003d01392b..."} 
[2026-08-28 22:08:52] local.INFO: Packet analysis {"connection_id":166466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04938"} 
[2026-08-28 22:08:52] local.INFO: Extracted packet for processing {"connection_id":166466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04938"} 
[2026-08-28 22:08:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:08:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711246848001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:08:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:08:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:08:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:08:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787934859000,"timestamp_ms":1787934859000,"timestamp_seconds":1787934859,"priority":1,"record_length":96,"hex_timestamp":"000001a04938def8"} 
[2026-08-28 22: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-28 22: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-28 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:08:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22: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-28 22: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-28 22:08:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:08:52] local.INFO: Teltonika packet parsed successfully {"connection_id":166466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:08:52] local.INFO: Passing IMEI to GPS processor {"connection_id":166466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:08:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":166466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:08:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:08:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:08:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:08:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711246848001,"66":2155,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 22:08:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:08:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:08:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711246848001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:08:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 22:08:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:08:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:08:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:08:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711246848001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:08:52] local.INFO: DEBUG: GPS processor result {"connection_id":166466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710779,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:08:52] local.INFO: GPS data processed {"connection_id":166466,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:08:52] local.INFO: Acknowledgment sent {"connection_id":166466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:08:55] local.INFO: TCP Data received {"connection_id":163820,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163820,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:08:55] local.INFO: Processing buffer {"connection_id":163820,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:08:55] local.INFO: IMEI packet received {"connection_id":163820,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 22:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":163820,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:09:01] local.INFO: TCP Data received {"connection_id":163820,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163820,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:09:01] local.INFO: Processing buffer {"connection_id":163820,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:09:01] local.INFO: IMEI packet received {"connection_id":163820,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 22:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":163820,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:09:02] local.INFO: TCP Data received {"connection_id":163820,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049397368012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049397368012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:09:02] local.INFO: Processing buffer {"connection_id":163820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049397368012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:09:02] local.INFO: Packet analysis {"connection_id":163820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04939"} 
[2026-08-28 22:09:02] local.INFO: Extracted packet for processing {"connection_id":163820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04939"} 
[2026-08-28 22:09:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:09:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711256576001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:09:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:09:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:09:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:09:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787934897000,"timestamp_ms":1787934897000,"timestamp_seconds":1787934897,"priority":1,"record_length":96,"hex_timestamp":"000001a049397368"} 
[2026-08-28 22:09:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:09:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 22:09:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:09:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:09:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:09:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:09:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:09:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163820,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:09:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163820,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:09:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:09:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:09:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:09:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711256576001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:09:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:09:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:09:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711256576001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:09:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:09:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:09:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:09:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:09:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711256576001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":163820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710780,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:09:03] local.INFO: GPS data processed {"connection_id":163820,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:09:03] local.INFO: Acknowledgment sent {"connection_id":163820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:09:09] local.INFO: TCP Data received {"connection_id":166467,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0493b7ed8012d34c14006aa4840000d00e629..."} 
[2026-08-28 22:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0493b7ed8012d34c14006aa4840000d00e629..."} 
[2026-08-28 22:09:09] local.INFO: Processing buffer {"connection_id":166467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0493b7ed8012d34c14006aa4840000d00e629..."} 
[2026-08-28 22:09:09] local.INFO: Packet analysis {"connection_id":166467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0493b"} 
[2026-08-28 22:09:09] local.INFO: Extracted packet for processing {"connection_id":166467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0493b"} 
[2026-08-28 22:09:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711290880001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:09:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:09:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:09:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:09:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787935031000,"timestamp_ms":1787935031000,"timestamp_seconds":1787935031,"priority":1,"record_length":96,"hex_timestamp":"000001a0493b7ed8"} 
[2026-08-28 22:09:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:09:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 22:09:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:09:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:09:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:09:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:09:09] local.INFO: Teltonika packet parsed successfully {"connection_id":166467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:09:09] local.INFO: Passing IMEI to GPS processor {"connection_id":166467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:09:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":166467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:09:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:09:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:09:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:09:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711290880001,"66":25278,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:09:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:09:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:09:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711290880001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:09:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:09:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:09: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-28 22:09:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:09:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711290880001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":166467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:09:09] local.INFO: GPS data processed {"connection_id":166467,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:09:09] local.INFO: Acknowledgment sent {"connection_id":166467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:09:14] local.INFO: TCP Data received {"connection_id":163821,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:09:14] local.INFO: Processing buffer {"connection_id":163821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:09:14] local.INFO: IMEI packet received {"connection_id":163821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 22:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":163821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:09:19] local.INFO: TCP Data received {"connection_id":163821,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:09:19] local.INFO: Processing buffer {"connection_id":163821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:09:19] local.INFO: IMEI packet received {"connection_id":163821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 22:09:19] local.INFO: IMEI acknowledgment sent {"connection_id":163821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:09:20] local.INFO: TCP Data received {"connection_id":163821,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a04938def8012d196580071ff008003d01392b..."} 
[2026-08-28 22:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04938def8012d196580071ff008003d01392b..."} 
[2026-08-28 22:09:20] local.INFO: Processing buffer {"connection_id":163821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04938def8012d196580071ff008003d01392b..."} 
[2026-08-28 22:09:20] local.INFO: Packet analysis {"connection_id":163821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04938"} 
[2026-08-28 22:09:20] local.INFO: Extracted packet for processing {"connection_id":163821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04938"} 
[2026-08-28 22:09:20] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:09:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711246848001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:09:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:09:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:09:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:09:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787934859000,"timestamp_ms":1787934859000,"timestamp_seconds":1787934859,"priority":1,"record_length":96,"hex_timestamp":"000001a04938def8"} 
[2026-08-28 22: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-28 22:09: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-28 22:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:09:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22: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-28 22: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-28 22:09:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:09:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:09:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:09:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:09:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:09:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:09:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:09:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711246848001,"66":2155,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 22:09:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:09:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:09:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711246848001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:09:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 22:09:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:09:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:09:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:09:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711246848001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:09:20] local.INFO: DEBUG: GPS processor result {"connection_id":163821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710782,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:09:20] local.INFO: GPS data processed {"connection_id":163821,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:09:20] local.INFO: Acknowledgment sent {"connection_id":163821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:09:29] local.INFO: TCP Data received {"connection_id":164099,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:09:29] local.INFO: Processing buffer {"connection_id":164099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:09:29] local.INFO: IMEI packet received {"connection_id":164099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 22:09:29] local.INFO: IMEI acknowledgment sent {"connection_id":164099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:09:34] local.INFO: TCP Data received {"connection_id":163820,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049397368012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049397368012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:09:34] local.INFO: Processing buffer {"connection_id":163820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049397368012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:09:34] local.INFO: Packet analysis {"connection_id":163820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04939"} 
[2026-08-28 22:09:34] local.INFO: Extracted packet for processing {"connection_id":163820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04939"} 
[2026-08-28 22:09:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711256576001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787934897000,"timestamp_ms":1787934897000,"timestamp_seconds":1787934897,"priority":1,"record_length":96,"hex_timestamp":"000001a049397368"} 
[2026-08-28 22:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:09:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 22:09:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:09:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163820,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163820,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711256576001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711256576001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:09:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:09:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711256576001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":163820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710783,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:09:34] local.INFO: GPS data processed {"connection_id":163820,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:09:34] local.INFO: Acknowledgment sent {"connection_id":163820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:09:35] local.INFO: TCP Data received {"connection_id":164099,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:09:35] local.INFO: Processing buffer {"connection_id":164099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:09:35] local.INFO: IMEI packet received {"connection_id":164099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 22:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":164099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:09:38] local.INFO: TCP Data received {"connection_id":164099,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0493b7ed8012d34c14006aa4840000d00e629..."} 
[2026-08-28 22:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0493b7ed8012d34c14006aa4840000d00e629..."} 
[2026-08-28 22:09:38] local.INFO: Processing buffer {"connection_id":164099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0493b7ed8012d34c14006aa4840000d00e629..."} 
[2026-08-28 22:09:38] local.INFO: Packet analysis {"connection_id":164099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0493b"} 
[2026-08-28 22:09:38] local.INFO: Extracted packet for processing {"connection_id":164099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0493b"} 
[2026-08-28 22:09:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711290880001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787935031000,"timestamp_ms":1787935031000,"timestamp_seconds":1787935031,"priority":1,"record_length":96,"hex_timestamp":"000001a0493b7ed8"} 
[2026-08-28 22:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 22:09:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:09:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711290880001,"66":25278,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711290880001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:09:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:09:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:09: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-28 22:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711290880001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":164099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:09:38] local.INFO: GPS data processed {"connection_id":164099,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:09:38] local.INFO: Acknowledgment sent {"connection_id":164099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:09:52] local.INFO: TCP Data received {"connection_id":163821,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a04938def8012d196580071ff008003d01392b..."} 
[2026-08-28 22:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04938def8012d196580071ff008003d01392b..."} 
[2026-08-28 22:09:52] local.INFO: Processing buffer {"connection_id":163821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04938def8012d196580071ff008003d01392b..."} 
[2026-08-28 22:09:52] local.INFO: Packet analysis {"connection_id":163821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04938"} 
[2026-08-28 22:09:52] local.INFO: Extracted packet for processing {"connection_id":163821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04938"} 
[2026-08-28 22:09:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":43,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:09:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711246848001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:09:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:09:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:09:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:09:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787934859000,"timestamp_ms":1787934859000,"timestamp_seconds":1787934859,"priority":1,"record_length":96,"hex_timestamp":"000001a04938def8"} 
[2026-08-28 22: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-28 22:09: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-28 22:09:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:09:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22: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-28 22: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-28 22:09:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:09:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:09:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:09:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:09:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:09:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:09:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:09:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711246848001,"66":2155,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 22:09:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:09:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:09:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711246848001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:09:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 22:09:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:09:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:09:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:09:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711246848001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:09:52] local.INFO: DEBUG: GPS processor result {"connection_id":163821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710785,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:09:52] local.INFO: GPS data processed {"connection_id":163821,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:09:52] local.INFO: Acknowledgment sent {"connection_id":163821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:09:55] local.INFO: TCP Data received {"connection_id":166468,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166468,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:09:55] local.INFO: Processing buffer {"connection_id":166468,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:09:55] local.INFO: IMEI packet received {"connection_id":166468,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 22:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":166468,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:10:01] local.INFO: TCP Data received {"connection_id":166468,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166468,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:10:01] local.INFO: Processing buffer {"connection_id":166468,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:10:01] local.INFO: IMEI packet received {"connection_id":166468,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 22:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":166468,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:10:03] local.INFO: TCP Data received {"connection_id":166468,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049397368012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049397368012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:10:03] local.INFO: Processing buffer {"connection_id":166468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049397368012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:10:03] local.INFO: Packet analysis {"connection_id":166468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04939"} 
[2026-08-28 22:10:03] local.INFO: Extracted packet for processing {"connection_id":166468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04939"} 
[2026-08-28 22:10:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711256576001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:10:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787934897000,"timestamp_ms":1787934897000,"timestamp_seconds":1787934897,"priority":1,"record_length":96,"hex_timestamp":"000001a049397368"} 
[2026-08-28 22:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:10:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 22:10:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:10:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":166468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":166468,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":166468,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711256576001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711256576001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:10:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:10:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711256576001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":166468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710786,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:10:03] local.INFO: GPS data processed {"connection_id":166468,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:10:03] local.INFO: Acknowledgment sent {"connection_id":166468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:10:10] local.INFO: TCP Data received {"connection_id":164099,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0493b7ed8012d34c14006aa4840000d00e629..."} 
[2026-08-28 22:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0493b7ed8012d34c14006aa4840000d00e629..."} 
[2026-08-28 22:10:10] local.INFO: Processing buffer {"connection_id":164099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0493b7ed8012d34c14006aa4840000d00e629..."} 
[2026-08-28 22:10:10] local.INFO: Packet analysis {"connection_id":164099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0493b"} 
[2026-08-28 22:10:10] local.INFO: Extracted packet for processing {"connection_id":164099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0493b"} 
[2026-08-28 22:10:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711290880001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:10:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:10:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787935031000,"timestamp_ms":1787935031000,"timestamp_seconds":1787935031,"priority":1,"record_length":96,"hex_timestamp":"000001a0493b7ed8"} 
[2026-08-28 22:10:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:10:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 22:10:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:10:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:10:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":164099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":164099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":164099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:10:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711290880001,"66":25278,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711290880001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:10:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:10:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:10:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711290880001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":164099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:10:10] local.INFO: GPS data processed {"connection_id":164099,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:10:10] local.INFO: Acknowledgment sent {"connection_id":164099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:10:14] local.INFO: TCP Data received {"connection_id":166469,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166469,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:10:14] local.INFO: Processing buffer {"connection_id":166469,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:10:14] local.INFO: IMEI packet received {"connection_id":166469,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 22:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":166469,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:10:19] local.INFO: TCP Data received {"connection_id":166469,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166469,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:10:19] local.INFO: Processing buffer {"connection_id":166469,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:10:19] local.INFO: IMEI packet received {"connection_id":166469,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 22:10:19] local.INFO: IMEI acknowledgment sent {"connection_id":166469,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:10:20] local.INFO: TCP Data received {"connection_id":166469,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0493d76c0012d196580071ff008003d01392a..."} 
[2026-08-28 22:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0493d76c0012d196580071ff008003d01392a..."} 
[2026-08-28 22:10:20] local.INFO: Processing buffer {"connection_id":166469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0493d76c0012d196580071ff008003d01392a..."} 
[2026-08-28 22:10:20] local.INFO: Packet analysis {"connection_id":166469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0493d"} 
[2026-08-28 22:10:20] local.INFO: Extracted packet for processing {"connection_id":166469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0493d"} 
[2026-08-28 22:10:20] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711323904001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:10:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787935160000,"timestamp_ms":1787935160000,"timestamp_seconds":1787935160,"priority":1,"record_length":96,"hex_timestamp":"000001a0493d76c0"} 
[2026-08-28 22:10:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:10:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-28 22:10:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:10:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:10:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":166469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":166469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":166469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:10:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711323904001,"66":2166,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 22:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711323904001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:10:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 22:10:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:10:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711323904001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":166469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710788,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:10:20] local.INFO: GPS data processed {"connection_id":166469,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:10:20] local.INFO: Acknowledgment sent {"connection_id":166469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:10:34] local.INFO: TCP Data received {"connection_id":166468,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049397368012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049397368012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:10:34] local.INFO: Processing buffer {"connection_id":166468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049397368012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:10:34] local.INFO: Packet analysis {"connection_id":166468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04939"} 
[2026-08-28 22:10:34] local.INFO: Extracted packet for processing {"connection_id":166468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04939"} 
[2026-08-28 22:10:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711256576001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:10:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:10:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787934897000,"timestamp_ms":1787934897000,"timestamp_seconds":1787934897,"priority":1,"record_length":96,"hex_timestamp":"000001a049397368"} 
[2026-08-28 22:10:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:10:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 22:10:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:10:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:10:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":166468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":166468,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":166468,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:10:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711256576001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711256576001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:10:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:10:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:10:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711256576001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":166468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710789,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:10:35] local.INFO: GPS data processed {"connection_id":166468,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:10:35] local.INFO: Acknowledgment sent {"connection_id":166468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:10:35] local.INFO: TCP Data received {"connection_id":165106,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:10:35] local.INFO: Processing buffer {"connection_id":165106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:10:35] local.INFO: IMEI packet received {"connection_id":165106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 22:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":165106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:10:40] local.INFO: TCP Data received {"connection_id":165106,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:10:40] local.INFO: Processing buffer {"connection_id":165106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:10:40] local.INFO: IMEI packet received {"connection_id":165106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 22:10:40] local.INFO: IMEI acknowledgment sent {"connection_id":165106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:10:42] local.INFO: TCP Data received {"connection_id":165106,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0493b7ed8012d34c14006aa4840000d00e629..."} 
[2026-08-28 22:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0493b7ed8012d34c14006aa4840000d00e629..."} 
[2026-08-28 22:10:42] local.INFO: Processing buffer {"connection_id":165106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0493b7ed8012d34c14006aa4840000d00e629..."} 
[2026-08-28 22:10:42] local.INFO: Packet analysis {"connection_id":165106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0493b"} 
[2026-08-28 22:10:42] local.INFO: Extracted packet for processing {"connection_id":165106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0493b"} 
[2026-08-28 22:10:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711290880001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:10:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:10:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787935031000,"timestamp_ms":1787935031000,"timestamp_seconds":1787935031,"priority":1,"record_length":96,"hex_timestamp":"000001a0493b7ed8"} 
[2026-08-28 22:10:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:10:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 22:10: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-28 22:10:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:10:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:10:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711290880001,"66":25278,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711290880001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:10:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:10:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22: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-28 22:10:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711290880001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:10: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":710790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:10:42] local.INFO: GPS data processed {"connection_id":165106,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:10:42] local.INFO: Acknowledgment sent {"connection_id":165106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:10:46] local.INFO: TCP Data received {"connection_id":165106,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0493b7ed8012d34c14006aa4840000d00e629..."} 
[2026-08-28 22:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0493b7ed8012d34c14006aa4840000d00e629..."} 
[2026-08-28 22:10:46] local.INFO: Processing buffer {"connection_id":165106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0493b7ed8012d34c14006aa4840000d00e629..."} 
[2026-08-28 22:10:46] local.INFO: Packet analysis {"connection_id":165106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0493b"} 
[2026-08-28 22:10:46] local.INFO: Extracted packet for processing {"connection_id":165106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0493b"} 
[2026-08-28 22:10:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:10:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711290880001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:10:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:10:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:10:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:10:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787935031000,"timestamp_ms":1787935031000,"timestamp_seconds":1787935031,"priority":1,"record_length":96,"hex_timestamp":"000001a0493b7ed8"} 
[2026-08-28 22: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-28 22:10:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 22:10: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-28 22: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-28 22: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-28 22:10:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:10:46] local.INFO: Teltonika packet parsed successfully {"connection_id":165106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:10:46] local.INFO: Passing IMEI to GPS processor {"connection_id":165106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:10:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":165106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:10:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:10:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:10:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:10:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711290880001,"66":25278,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:10:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:10:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:10:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711290880001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:10:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:10:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:10: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-28 22:10:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:10:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711290880001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:10:46] 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":710791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:10:46] local.INFO: GPS data processed {"connection_id":165106,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:10:46] local.INFO: Acknowledgment sent {"connection_id":165106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:10:52] local.INFO: TCP Data received {"connection_id":166469,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0493d76c0012d196580071ff008003d01392a..."} 
[2026-08-28 22:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0493d76c0012d196580071ff008003d01392a..."} 
[2026-08-28 22:10:52] local.INFO: Processing buffer {"connection_id":166469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0493d76c0012d196580071ff008003d01392a..."} 
[2026-08-28 22:10:52] local.INFO: Packet analysis {"connection_id":166469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0493d"} 
[2026-08-28 22:10:52] local.INFO: Extracted packet for processing {"connection_id":166469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0493d"} 
[2026-08-28 22:10:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:10:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711323904001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:10:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:10:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:10:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:10:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787935160000,"timestamp_ms":1787935160000,"timestamp_seconds":1787935160,"priority":1,"record_length":96,"hex_timestamp":"000001a0493d76c0"} 
[2026-08-28 22: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-28 22:10:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-28 22:10:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22: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-28 22: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-28 22:10:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:10:52] local.INFO: Teltonika packet parsed successfully {"connection_id":166469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:10:52] local.INFO: Passing IMEI to GPS processor {"connection_id":166469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:10:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":166469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:10:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:10:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:10:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:10:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711323904001,"66":2166,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 22:10:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:10:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:10:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711323904001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:10:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 22:10:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:10:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:10:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:10:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711323904001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:10:52] local.INFO: DEBUG: GPS processor result {"connection_id":166469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710792,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:10:52] local.INFO: GPS data processed {"connection_id":166469,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:10:52] local.INFO: Acknowledgment sent {"connection_id":166469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:10:56] local.INFO: TCP Data received {"connection_id":163822,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163822,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:10:56] local.INFO: Processing buffer {"connection_id":163822,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:10:56] local.INFO: IMEI packet received {"connection_id":163822,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 22:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":163822,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:11:01] local.INFO: TCP Data received {"connection_id":163822,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163822,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:11:01] local.INFO: Processing buffer {"connection_id":163822,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:11:01] local.INFO: IMEI packet received {"connection_id":163822,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 22:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":163822,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:11:02] local.INFO: TCP Data received {"connection_id":163822,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0493e0b30012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0493e0b30012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:11:02] local.INFO: Processing buffer {"connection_id":163822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0493e0b30012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:11:02] local.INFO: Packet analysis {"connection_id":163822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0493e"} 
[2026-08-28 22:11:02] local.INFO: Extracted packet for processing {"connection_id":163822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0493e"} 
[2026-08-28 22:11:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711333632001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:11:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:11:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787935198000,"timestamp_ms":1787935198000,"timestamp_seconds":1787935198,"priority":1,"record_length":96,"hex_timestamp":"000001a0493e0b30"} 
[2026-08-28 22:11:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:11:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 22:11:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:11:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:11:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163822,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163822,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:11:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711333632001,"66":24854,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711333632001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:11:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:11:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:11:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:11:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:11:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711333632001,"power":24854,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":163822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710793,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:11:02] local.INFO: GPS data processed {"connection_id":163822,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:11:02] local.INFO: Acknowledgment sent {"connection_id":163822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:11:14] local.INFO: TCP Data received {"connection_id":166470,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166470,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:11:14] local.INFO: Processing buffer {"connection_id":166470,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:11:14] local.INFO: IMEI packet received {"connection_id":166470,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 22:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":166470,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:11:19] local.INFO: TCP Data received {"connection_id":166470,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166470,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:11:19] local.INFO: Processing buffer {"connection_id":166470,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:11:19] local.INFO: IMEI packet received {"connection_id":166470,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 22:11:19] local.INFO: IMEI acknowledgment sent {"connection_id":166470,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:11:21] local.INFO: TCP Data received {"connection_id":166470,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0493d76c0012d196580071ff008003d01392a..."} 
[2026-08-28 22:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0493d76c0012d196580071ff008003d01392a..."} 
[2026-08-28 22:11:21] local.INFO: Processing buffer {"connection_id":166470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0493d76c0012d196580071ff008003d01392a..."} 
[2026-08-28 22:11:21] local.INFO: Packet analysis {"connection_id":166470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0493d"} 
[2026-08-28 22:11:21] local.INFO: Extracted packet for processing {"connection_id":166470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0493d"} 
[2026-08-28 22:11:21] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:11:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:11:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711323904001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:11:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:11:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:11:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:11:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787935160000,"timestamp_ms":1787935160000,"timestamp_seconds":1787935160,"priority":1,"record_length":96,"hex_timestamp":"000001a0493d76c0"} 
[2026-08-28 22:11:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:11:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:11:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-28 22:11:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:11:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:11:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:11:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:11:21] local.INFO: Teltonika packet parsed successfully {"connection_id":166470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:11:21] local.INFO: Passing IMEI to GPS processor {"connection_id":166470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:11:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":166470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:11:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:11:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:11:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:11:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711323904001,"66":2166,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 22:11:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:11:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:11:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711323904001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:11:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 22:11:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:11:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:11:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:11:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711323904001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:11:21] local.INFO: DEBUG: GPS processor result {"connection_id":166470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710794,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:11:21] local.INFO: GPS data processed {"connection_id":166470,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:11:21] local.INFO: Acknowledgment sent {"connection_id":166470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:11:30] local.INFO: TCP Data received {"connection_id":166471,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:11:30] local.INFO: Processing buffer {"connection_id":166471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:11:30] local.INFO: IMEI packet received {"connection_id":166471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 22:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":166471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:11:34] local.INFO: TCP Data received {"connection_id":163822,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0493e0b30012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0493e0b30012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:11:34] local.INFO: Processing buffer {"connection_id":163822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0493e0b30012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:11:34] local.INFO: Packet analysis {"connection_id":163822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0493e"} 
[2026-08-28 22:11:34] local.INFO: Extracted packet for processing {"connection_id":163822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0493e"} 
[2026-08-28 22:11:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711333632001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:11:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:11:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787935198000,"timestamp_ms":1787935198000,"timestamp_seconds":1787935198,"priority":1,"record_length":96,"hex_timestamp":"000001a0493e0b30"} 
[2026-08-28 22:11:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:11:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 22:11:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:11:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:11:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163822,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163822,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:11:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711333632001,"66":24854,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711333632001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:11:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:11:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:11:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711333632001,"power":24854,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":163822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710795,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:11:34] local.INFO: GPS data processed {"connection_id":163822,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:11:34] local.INFO: Acknowledgment sent {"connection_id":163822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:11:35] local.INFO: TCP Data received {"connection_id":166471,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:11:35] local.INFO: Processing buffer {"connection_id":166471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:11:35] local.INFO: IMEI packet received {"connection_id":166471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 22:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":166471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:11:37] local.INFO: TCP Data received {"connection_id":166471,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0493b7ed8012d34c14006aa4840000d00e629..."} 
[2026-08-28 22:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0493b7ed8012d34c14006aa4840000d00e629..."} 
[2026-08-28 22:11:37] local.INFO: Processing buffer {"connection_id":166471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0493b7ed8012d34c14006aa4840000d00e629..."} 
[2026-08-28 22:11:37] local.INFO: Packet analysis {"connection_id":166471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0493b"} 
[2026-08-28 22:11:37] local.INFO: Extracted packet for processing {"connection_id":166471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0493b"} 
[2026-08-28 22:11:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711290880001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787935031000,"timestamp_ms":1787935031000,"timestamp_seconds":1787935031,"priority":1,"record_length":96,"hex_timestamp":"000001a0493b7ed8"} 
[2026-08-28 22: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-28 22:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 22:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22: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-28 22: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-28 22:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":166471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":166471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":166471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711290880001,"66":25278,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711290880001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:11:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:11:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:11: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-28 22:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711290880001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":166471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:11:37] local.INFO: GPS data processed {"connection_id":166471,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:11:37] local.INFO: Acknowledgment sent {"connection_id":166471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:11:53] local.INFO: TCP Data received {"connection_id":166470,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0493d76c0012d196580071ff008003d01392a..."} 
[2026-08-28 22:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0493d76c0012d196580071ff008003d01392a..."} 
[2026-08-28 22:11:53] local.INFO: Processing buffer {"connection_id":166470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0493d76c0012d196580071ff008003d01392a..."} 
[2026-08-28 22:11:53] local.INFO: Packet analysis {"connection_id":166470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0493d"} 
[2026-08-28 22:11:53] local.INFO: Extracted packet for processing {"connection_id":166470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0493d"} 
[2026-08-28 22:11:53] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:11:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711323904001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:11:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:11:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:11:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:11:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787935160000,"timestamp_ms":1787935160000,"timestamp_seconds":1787935160,"priority":1,"record_length":96,"hex_timestamp":"000001a0493d76c0"} 
[2026-08-28 22: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-28 22:11:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-28 22:11:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22: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-28 22: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-28 22:11:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:11:53] local.INFO: Teltonika packet parsed successfully {"connection_id":166470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:11:53] local.INFO: Passing IMEI to GPS processor {"connection_id":166470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:11:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":166470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:11:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:11:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:11:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:11:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711323904001,"66":2166,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 22:11:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:11:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:11:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711323904001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:11:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 22:11:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:11:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:11:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:11:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711323904001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:11:53] local.INFO: DEBUG: GPS processor result {"connection_id":166470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710797,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:11:53] local.INFO: GPS data processed {"connection_id":166470,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:11:53] local.INFO: Acknowledgment sent {"connection_id":166470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:11:55] local.INFO: TCP Data received {"connection_id":164100,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164100,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:11:55] local.INFO: Processing buffer {"connection_id":164100,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:11:55] local.INFO: IMEI packet received {"connection_id":164100,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 22:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":164100,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:12:01] local.INFO: TCP Data received {"connection_id":164100,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164100,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:12:01] local.INFO: Processing buffer {"connection_id":164100,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:12:01] local.INFO: IMEI packet received {"connection_id":164100,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 22:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":164100,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:12:02] local.INFO: TCP Data received {"connection_id":164100,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0493e0b30012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0493e0b30012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:12:02] local.INFO: Processing buffer {"connection_id":164100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0493e0b30012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:12:02] local.INFO: Packet analysis {"connection_id":164100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0493e"} 
[2026-08-28 22:12:02] local.INFO: Extracted packet for processing {"connection_id":164100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0493e"} 
[2026-08-28 22:12:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:12:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711333632001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:12:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:12:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787935198000,"timestamp_ms":1787935198000,"timestamp_seconds":1787935198,"priority":1,"record_length":96,"hex_timestamp":"000001a0493e0b30"} 
[2026-08-28 22:12:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:12:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:12:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 22:12:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:12:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:12:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":164100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":164100,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":164100,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:12:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711333632001,"66":24854,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711333632001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:12:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:12:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:12:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:12:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:12:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711333632001,"power":24854,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":164100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710798,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:12:02] local.INFO: GPS data processed {"connection_id":164100,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:12:02] local.INFO: Acknowledgment sent {"connection_id":164100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:12:09] local.INFO: TCP Data received {"connection_id":166471,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0493b7ed8012d34c14006aa4840000d00e629..."} 
[2026-08-28 22:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0493b7ed8012d34c14006aa4840000d00e629..."} 
[2026-08-28 22:12:09] local.INFO: Processing buffer {"connection_id":166471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0493b7ed8012d34c14006aa4840000d00e629..."} 
[2026-08-28 22:12:09] local.INFO: Packet analysis {"connection_id":166471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0493b"} 
[2026-08-28 22:12:09] local.INFO: Extracted packet for processing {"connection_id":166471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0493b"} 
[2026-08-28 22:12:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711290880001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:12:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787935031000,"timestamp_ms":1787935031000,"timestamp_seconds":1787935031,"priority":1,"record_length":96,"hex_timestamp":"000001a0493b7ed8"} 
[2026-08-28 22: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-28 22:12:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 22:12:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22: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-28 22: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-28 22:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":166471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":166471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":166471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:12:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711290880001,"66":25278,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711290880001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:12:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:12:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:12: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-28 22:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711290880001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":166471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:12:09] local.INFO: GPS data processed {"connection_id":166471,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:12:09] local.INFO: Acknowledgment sent {"connection_id":166471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:12:14] local.INFO: TCP Data received {"connection_id":164101,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164101,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:12:14] local.INFO: Processing buffer {"connection_id":164101,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:12:14] local.INFO: IMEI packet received {"connection_id":164101,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 22:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":164101,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:12:19] local.INFO: TCP Data received {"connection_id":164101,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164101,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:12:19] local.INFO: Processing buffer {"connection_id":164101,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:12:19] local.INFO: IMEI packet received {"connection_id":164101,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 22:12:19] local.INFO: IMEI acknowledgment sent {"connection_id":164101,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:12:20] local.INFO: TCP Data received {"connection_id":164101,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0493d76c0012d196580071ff008003d01392a..."} 
[2026-08-28 22:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0493d76c0012d196580071ff008003d01392a..."} 
[2026-08-28 22:12:20] local.INFO: Processing buffer {"connection_id":164101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0493d76c0012d196580071ff008003d01392a..."} 
[2026-08-28 22:12:20] local.INFO: Packet analysis {"connection_id":164101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0493d"} 
[2026-08-28 22:12:20] local.INFO: Extracted packet for processing {"connection_id":164101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0493d"} 
[2026-08-28 22:12:20] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:12:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711323904001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:12:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:12:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:12:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:12:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787935160000,"timestamp_ms":1787935160000,"timestamp_seconds":1787935160,"priority":1,"record_length":96,"hex_timestamp":"000001a0493d76c0"} 
[2026-08-28 22:12:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:12:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-28 22:12:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:12:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:12:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:12:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:12:20] local.INFO: Teltonika packet parsed successfully {"connection_id":164101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:12:20] local.INFO: Passing IMEI to GPS processor {"connection_id":164101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:12:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":164101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:12:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:12:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:12:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:12:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711323904001,"66":2166,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 22:12:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:12:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:12:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711323904001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:12:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 22:12:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:12:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:12:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:12:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711323904001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:12:20] local.INFO: DEBUG: GPS processor result {"connection_id":164101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710800,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:12:20] local.INFO: GPS data processed {"connection_id":164101,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:12:20] local.INFO: Acknowledgment sent {"connection_id":164101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:12:30] local.INFO: TCP Data received {"connection_id":164102,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:12:30] local.INFO: Processing buffer {"connection_id":164102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:12:30] local.INFO: IMEI packet received {"connection_id":164102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 22:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":164102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:12:34] local.INFO: TCP Data received {"connection_id":164100,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0493e0b30012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0493e0b30012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:12:34] local.INFO: Processing buffer {"connection_id":164100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0493e0b30012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:12:34] local.INFO: Packet analysis {"connection_id":164100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0493e"} 
[2026-08-28 22:12:34] local.INFO: Extracted packet for processing {"connection_id":164100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0493e"} 
[2026-08-28 22:12:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711333632001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:12:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:12:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787935198000,"timestamp_ms":1787935198000,"timestamp_seconds":1787935198,"priority":1,"record_length":96,"hex_timestamp":"000001a0493e0b30"} 
[2026-08-28 22:12:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:12:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 22:12:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:12:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:12:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":164100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":164100,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":164100,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:12:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711333632001,"66":24854,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711333632001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:12:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:12:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:12:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711333632001,"power":24854,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":164100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710801,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:12:34] local.INFO: GPS data processed {"connection_id":164100,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:12:34] local.INFO: Acknowledgment sent {"connection_id":164100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:12:35] local.INFO: TCP Data received {"connection_id":164102,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:12:35] local.INFO: Processing buffer {"connection_id":164102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:12:35] local.INFO: IMEI packet received {"connection_id":164102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 22:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":164102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:12:36] local.INFO: TCP Data received {"connection_id":164102,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0493b7ed8012d34c14006aa4840000d00e629..."} 
[2026-08-28 22:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0493b7ed8012d34c14006aa4840000d00e629..."} 
[2026-08-28 22:12:36] local.INFO: Processing buffer {"connection_id":164102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0493b7ed8012d34c14006aa4840000d00e629..."} 
[2026-08-28 22:12:36] local.INFO: Packet analysis {"connection_id":164102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0493b"} 
[2026-08-28 22:12:36] local.INFO: Extracted packet for processing {"connection_id":164102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0493b"} 
[2026-08-28 22:12:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711290880001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:12:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787935031000,"timestamp_ms":1787935031000,"timestamp_seconds":1787935031,"priority":1,"record_length":96,"hex_timestamp":"000001a0493b7ed8"} 
[2026-08-28 22:12:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:12:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 22:12:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:12:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:12:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":164102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":164102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":164102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:12:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711290880001,"66":25278,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711290880001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:12:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:12:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:12:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711290880001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":164102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:12:36] local.INFO: GPS data processed {"connection_id":164102,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:12:36] local.INFO: Acknowledgment sent {"connection_id":164102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:12:52] local.INFO: TCP Data received {"connection_id":164101,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0493d76c0012d196580071ff008003d01392a..."} 
[2026-08-28 22:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0493d76c0012d196580071ff008003d01392a..."} 
[2026-08-28 22:12:52] local.INFO: Processing buffer {"connection_id":164101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0493d76c0012d196580071ff008003d01392a..."} 
[2026-08-28 22:12:52] local.INFO: Packet analysis {"connection_id":164101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0493d"} 
[2026-08-28 22:12:52] local.INFO: Extracted packet for processing {"connection_id":164101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0493d"} 
[2026-08-28 22:12:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:12:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711323904001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:12:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:12:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:12:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:12:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787935160000,"timestamp_ms":1787935160000,"timestamp_seconds":1787935160,"priority":1,"record_length":96,"hex_timestamp":"000001a0493d76c0"} 
[2026-08-28 22:12:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:12:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-28 22:12:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:12:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:12:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:12:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:12:52] local.INFO: Teltonika packet parsed successfully {"connection_id":164101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:12:52] local.INFO: Passing IMEI to GPS processor {"connection_id":164101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:12:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":164101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:12:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:12:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:12:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:12:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711323904001,"66":2166,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 22:12:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:12:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:12:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711323904001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:12:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 22:12:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:12:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:12:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:12:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711323904001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:12:52] local.INFO: DEBUG: GPS processor result {"connection_id":164101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710803,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:12:52] local.INFO: GPS data processed {"connection_id":164101,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:12:52] local.INFO: Acknowledgment sent {"connection_id":164101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:13:01] local.INFO: TCP Data received {"connection_id":165107,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165107,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:13:01] local.INFO: Processing buffer {"connection_id":165107,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:13:01] local.INFO: IMEI packet received {"connection_id":165107,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 22:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":165107,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:13:06] local.INFO: TCP Data received {"connection_id":165107,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165107,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:13:06] local.INFO: Processing buffer {"connection_id":165107,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:13:06] local.INFO: IMEI packet received {"connection_id":165107,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 22:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":165107,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:13:07] local.INFO: TCP Data received {"connection_id":165107,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0493e0b30012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0493e0b30012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:13:07] local.INFO: Processing buffer {"connection_id":165107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0493e0b30012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:13:07] local.INFO: Packet analysis {"connection_id":165107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0493e"} 
[2026-08-28 22:13:07] local.INFO: Extracted packet for processing {"connection_id":165107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0493e"} 
[2026-08-28 22:13:07] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711333632001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787935198000,"timestamp_ms":1787935198000,"timestamp_seconds":1787935198,"priority":1,"record_length":96,"hex_timestamp":"000001a0493e0b30"} 
[2026-08-28 22:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:13:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 22:13:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:13:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":165107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":165107,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":165107,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711333632001,"66":24854,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711333632001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:13:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:13:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711333632001,"power":24854,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":165107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710804,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:13:07] local.INFO: GPS data processed {"connection_id":165107,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:13:07] local.INFO: Acknowledgment sent {"connection_id":165107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:13:08] local.INFO: TCP Data received {"connection_id":164102,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0494016a0012d34c14006aa4840000b00e62a..."} 
[2026-08-28 22:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0494016a0012d34c14006aa4840000b00e62a..."} 
[2026-08-28 22:13:08] local.INFO: Processing buffer {"connection_id":164102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0494016a0012d34c14006aa4840000b00e62a..."} 
[2026-08-28 22:13:08] local.INFO: Packet analysis {"connection_id":164102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04940"} 
[2026-08-28 22:13:08] local.INFO: Extracted packet for processing {"connection_id":164102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04940"} 
[2026-08-28 22:13:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711367936001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:13:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:13:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787935332000,"timestamp_ms":1787935332000,"timestamp_seconds":1787935332,"priority":1,"record_length":96,"hex_timestamp":"000001a0494016a0"} 
[2026-08-28 22:13:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:13:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 22:13:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:13:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:13:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:13:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711367936001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711367936001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:13:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:13:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:13: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-28 22:13:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711367936001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":164102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:13:08] local.INFO: GPS data processed {"connection_id":164102,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:13:08] local.INFO: Acknowledgment sent {"connection_id":164102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:13:12] local.INFO: TCP Data received {"connection_id":165107,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0493e0b30012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0493e0b30012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:13:12] local.INFO: Processing buffer {"connection_id":165107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0493e0b30012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:13:12] local.INFO: Packet analysis {"connection_id":165107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0493e"} 
[2026-08-28 22:13:12] local.INFO: Extracted packet for processing {"connection_id":165107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0493e"} 
[2026-08-28 22:13:12] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711333632001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:13:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:13:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787935198000,"timestamp_ms":1787935198000,"timestamp_seconds":1787935198,"priority":1,"record_length":96,"hex_timestamp":"000001a0493e0b30"} 
[2026-08-28 22:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:13:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 22:13:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:13:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":165107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":165107,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":165107,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:13:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711333632001,"66":24854,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711333632001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:13:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:13:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:13:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711333632001,"power":24854,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":165107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710806,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:13:12] local.INFO: GPS data processed {"connection_id":165107,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:13:12] local.INFO: Acknowledgment sent {"connection_id":165107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:13:14] local.INFO: TCP Data received {"connection_id":165108,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165108,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:13:14] local.INFO: Processing buffer {"connection_id":165108,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:13:14] local.INFO: IMEI packet received {"connection_id":165108,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 22:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":165108,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:13:19] local.INFO: TCP Data received {"connection_id":165108,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165108,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:13:19] local.INFO: Processing buffer {"connection_id":165108,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:13:19] local.INFO: IMEI packet received {"connection_id":165108,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 22:13:19] local.INFO: IMEI acknowledgment sent {"connection_id":165108,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:13:21] local.INFO: TCP Data received {"connection_id":165108,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0493d76c0012d196580071ff008003d01392a..."} 
[2026-08-28 22:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0493d76c0012d196580071ff008003d01392a..."} 
[2026-08-28 22:13:21] local.INFO: Processing buffer {"connection_id":165108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0493d76c0012d196580071ff008003d01392a..."} 
[2026-08-28 22:13:21] local.INFO: Packet analysis {"connection_id":165108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0493d"} 
[2026-08-28 22:13:21] local.INFO: Extracted packet for processing {"connection_id":165108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0493d"} 
[2026-08-28 22:13:21] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:13:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711323904001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:13:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:13:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:13:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:13:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787935160000,"timestamp_ms":1787935160000,"timestamp_seconds":1787935160,"priority":1,"record_length":96,"hex_timestamp":"000001a0493d76c0"} 
[2026-08-28 22: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-28 22:13:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-28 22:13:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22: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-28 22: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-28 22:13:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:13:21] local.INFO: Teltonika packet parsed successfully {"connection_id":165108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:13:21] local.INFO: Passing IMEI to GPS processor {"connection_id":165108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:13:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":165108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:13:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:13:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:13:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:13:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711323904001,"66":2166,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 22:13:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:13:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:13:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711323904001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:13:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 22:13:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:13:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:13:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:13:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711323904001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:13:21] 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":710807,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:13:21] local.INFO: GPS data processed {"connection_id":165108,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:13:21] local.INFO: Acknowledgment sent {"connection_id":165108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:13:35] local.INFO: TCP Data received {"connection_id":166472,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:13:35] local.INFO: Processing buffer {"connection_id":166472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:13:35] local.INFO: IMEI packet received {"connection_id":166472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 22:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":166472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:13:40] local.INFO: TCP Data received {"connection_id":166472,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:13:40] local.INFO: Processing buffer {"connection_id":166472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:13:40] local.INFO: IMEI packet received {"connection_id":166472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 22:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":166472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:13:41] local.INFO: TCP Data received {"connection_id":166472,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0494016a0012d34c14006aa4840000b00e62a..."} 
[2026-08-28 22:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0494016a0012d34c14006aa4840000b00e62a..."} 
[2026-08-28 22:13:41] local.INFO: Processing buffer {"connection_id":166472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0494016a0012d34c14006aa4840000b00e62a..."} 
[2026-08-28 22:13:41] local.INFO: Packet analysis {"connection_id":166472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04940"} 
[2026-08-28 22:13:41] local.INFO: Extracted packet for processing {"connection_id":166472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04940"} 
[2026-08-28 22:13:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:13:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711367936001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:13:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:13:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:13:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:13:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787935332000,"timestamp_ms":1787935332000,"timestamp_seconds":1787935332,"priority":1,"record_length":96,"hex_timestamp":"000001a0494016a0"} 
[2026-08-28 22:13:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:13:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 22:13:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:13:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:13:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:13:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:13:41] local.INFO: Teltonika packet parsed successfully {"connection_id":166472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:13:41] local.INFO: Passing IMEI to GPS processor {"connection_id":166472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:13:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":166472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:13:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:13:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:13:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:13:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711367936001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:13:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:13:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:13:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711367936001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:13:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:13:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:13: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-28 22:13:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:13:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711367936001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:13:41] local.INFO: DEBUG: GPS processor result {"connection_id":166472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:13:41] local.INFO: GPS data processed {"connection_id":166472,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:13:41] local.INFO: Acknowledgment sent {"connection_id":166472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:13:46] local.INFO: TCP Data received {"connection_id":166472,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0494016a0012d34c14006aa4840000b00e62a..."} 
[2026-08-28 22:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0494016a0012d34c14006aa4840000b00e62a..."} 
[2026-08-28 22:13:46] local.INFO: Processing buffer {"connection_id":166472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0494016a0012d34c14006aa4840000b00e62a..."} 
[2026-08-28 22:13:46] local.INFO: Packet analysis {"connection_id":166472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04940"} 
[2026-08-28 22:13:46] local.INFO: Extracted packet for processing {"connection_id":166472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04940"} 
[2026-08-28 22:13:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:13:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711367936001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:13:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:13:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:13:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:13:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787935332000,"timestamp_ms":1787935332000,"timestamp_seconds":1787935332,"priority":1,"record_length":96,"hex_timestamp":"000001a0494016a0"} 
[2026-08-28 22: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-28 22:13:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22: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":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 22:13:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22: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-28 22: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-28 22:13:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:13:46] local.INFO: Teltonika packet parsed successfully {"connection_id":166472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:13:46] local.INFO: Passing IMEI to GPS processor {"connection_id":166472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:13:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":166472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:13:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:13:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:13:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:13:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711367936001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:13:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:13:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:13:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711367936001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:13:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:13:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22: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-28 22:13:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:13:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711367936001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:13:46] local.INFO: DEBUG: GPS processor result {"connection_id":166472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:13:46] local.INFO: GPS data processed {"connection_id":166472,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:13:46] local.INFO: Acknowledgment sent {"connection_id":166472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:13:52] local.INFO: TCP Data received {"connection_id":165108,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0493d76c0012d196580071ff008003d01392a..."} 
[2026-08-28 22:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0493d76c0012d196580071ff008003d01392a..."} 
[2026-08-28 22:13:52] local.INFO: Processing buffer {"connection_id":165108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0493d76c0012d196580071ff008003d01392a..."} 
[2026-08-28 22:13:52] local.INFO: Packet analysis {"connection_id":165108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0493d"} 
[2026-08-28 22:13:52] local.INFO: Extracted packet for processing {"connection_id":165108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0493d"} 
[2026-08-28 22:13:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:13:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711323904001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:13:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:13:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:13:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:13:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787935160000,"timestamp_ms":1787935160000,"timestamp_seconds":1787935160,"priority":1,"record_length":96,"hex_timestamp":"000001a0493d76c0"} 
[2026-08-28 22: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-28 22:13:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-28 22:13:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22: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-28 22: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-28 22:13:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:13:52] local.INFO: Teltonika packet parsed successfully {"connection_id":165108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:13:52] local.INFO: Passing IMEI to GPS processor {"connection_id":165108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:13:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":165108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:13:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:13:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:13:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:13:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711323904001,"66":2166,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 22:13:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:13:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:13:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711323904001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:13:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 22:13:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:13:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:13:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:13:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711323904001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:13:53] 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":710810,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:13:53] local.INFO: GPS data processed {"connection_id":165108,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:13:53] local.INFO: Acknowledgment sent {"connection_id":165108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:13:55] local.INFO: TCP Data received {"connection_id":164103,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164103,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:13:55] local.INFO: Processing buffer {"connection_id":164103,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:13:55] local.INFO: IMEI packet received {"connection_id":164103,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 22:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":164103,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:14:01] local.INFO: TCP Data received {"connection_id":164103,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164103,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:14:01] local.INFO: Processing buffer {"connection_id":164103,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:14:01] local.INFO: IMEI packet received {"connection_id":164103,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 22:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":164103,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:14:02] local.INFO: TCP Data received {"connection_id":164103,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0493e0b30012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0493e0b30012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:14:02] local.INFO: Processing buffer {"connection_id":164103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0493e0b30012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:14:02] local.INFO: Packet analysis {"connection_id":164103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0493e"} 
[2026-08-28 22:14:02] local.INFO: Extracted packet for processing {"connection_id":164103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0493e"} 
[2026-08-28 22:14:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711333632001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:14:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:14:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787935198000,"timestamp_ms":1787935198000,"timestamp_seconds":1787935198,"priority":1,"record_length":96,"hex_timestamp":"000001a0493e0b30"} 
[2026-08-28 22:14:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:14:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 22:14:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:14:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:14:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":164103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":164103,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":164103,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:14:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711333632001,"66":24854,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711333632001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:14:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:14:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:14:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711333632001,"power":24854,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":164103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710811,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:14:02] local.INFO: GPS data processed {"connection_id":164103,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:14:02] local.INFO: Acknowledgment sent {"connection_id":164103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:14:19] local.INFO: TCP Data received {"connection_id":164104,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164104,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:14:19] local.INFO: Processing buffer {"connection_id":164104,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:14:19] local.INFO: IMEI packet received {"connection_id":164104,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 22:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":164104,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:14:24] local.INFO: TCP Data received {"connection_id":164104,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164104,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:14:24] local.INFO: Processing buffer {"connection_id":164104,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:14:24] local.INFO: IMEI packet received {"connection_id":164104,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 22:14:24] local.INFO: IMEI acknowledgment sent {"connection_id":164104,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:14:25] local.INFO: TCP Data received {"connection_id":164104,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0493d76c0012d196580071ff008003d01392a..."} 
[2026-08-28 22:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0493d76c0012d196580071ff008003d01392a..."} 
[2026-08-28 22:14:25] local.INFO: Processing buffer {"connection_id":164104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0493d76c0012d196580071ff008003d01392a..."} 
[2026-08-28 22:14:25] local.INFO: Packet analysis {"connection_id":164104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0493d"} 
[2026-08-28 22:14:25] local.INFO: Extracted packet for processing {"connection_id":164104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0493d"} 
[2026-08-28 22:14:25] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:14:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:14:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711323904001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:14:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:14:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:14:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:14:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787935160000,"timestamp_ms":1787935160000,"timestamp_seconds":1787935160,"priority":1,"record_length":96,"hex_timestamp":"000001a0493d76c0"} 
[2026-08-28 22:14:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:14:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:14:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-28 22:14:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:14:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:14:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:14:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:14:25] local.INFO: Teltonika packet parsed successfully {"connection_id":164104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:14:25] local.INFO: Passing IMEI to GPS processor {"connection_id":164104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:14:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":164104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:14:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:14:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:14:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:14:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711323904001,"66":2166,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 22:14:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:14:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:14:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711323904001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:14:25] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 22:14:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:14:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:14:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:14:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711323904001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:14:25] local.INFO: DEBUG: GPS processor result {"connection_id":164104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710812,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:14:25] local.INFO: GPS data processed {"connection_id":164104,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:14:25] local.INFO: Acknowledgment sent {"connection_id":164104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:14:29] local.INFO: TCP Data received {"connection_id":164104,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0493d76c0012d196580071ff008003d01392a..."} 
[2026-08-28 22:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0493d76c0012d196580071ff008003d01392a..."} 
[2026-08-28 22:14:29] local.INFO: Processing buffer {"connection_id":164104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0493d76c0012d196580071ff008003d01392a..."} 
[2026-08-28 22:14:29] local.INFO: Packet analysis {"connection_id":164104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0493d"} 
[2026-08-28 22:14:29] local.INFO: Extracted packet for processing {"connection_id":164104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0493d"} 
[2026-08-28 22:14:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":42,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:14:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:14:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711323904001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:14:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:14:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:14:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:14:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787935160000,"timestamp_ms":1787935160000,"timestamp_seconds":1787935160,"priority":1,"record_length":96,"hex_timestamp":"000001a0493d76c0"} 
[2026-08-28 22:14:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:14:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:14:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-28 22:14:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:14:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:14:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:14:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:14:29] local.INFO: Teltonika packet parsed successfully {"connection_id":164104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:14:29] local.INFO: Passing IMEI to GPS processor {"connection_id":164104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:14:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":164104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:14:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:14:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:14:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:14:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711323904001,"66":2166,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 22:14:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:14:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:14:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711323904001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:14:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 22:14:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:14:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:14:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:14:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711323904001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:14:29] local.INFO: DEBUG: GPS processor result {"connection_id":164104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710813,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:14:29] local.INFO: GPS data processed {"connection_id":164104,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:14:29] local.INFO: Acknowledgment sent {"connection_id":164104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:14:30] local.INFO: TCP Data received {"connection_id":166473,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:14:30] local.INFO: Processing buffer {"connection_id":166473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:14:30] local.INFO: IMEI packet received {"connection_id":166473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 22:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":166473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:14:33] local.INFO: TCP Data received {"connection_id":164103,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0493e0b30012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0493e0b30012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:14:33] local.INFO: Processing buffer {"connection_id":164103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0493e0b30012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:14:33] local.INFO: Packet analysis {"connection_id":164103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0493e"} 
[2026-08-28 22:14:33] local.INFO: Extracted packet for processing {"connection_id":164103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0493e"} 
[2026-08-28 22:14:33] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711333632001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:14:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787935198000,"timestamp_ms":1787935198000,"timestamp_seconds":1787935198,"priority":1,"record_length":96,"hex_timestamp":"000001a0493e0b30"} 
[2026-08-28 22:14:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:14:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 22:14:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:14:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:14:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":164103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":164103,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":164103,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:14:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711333632001,"66":24854,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711333632001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:14:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:14:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711333632001,"power":24854,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":164103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710814,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:14:34] local.INFO: GPS data processed {"connection_id":164103,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:14:34] local.INFO: Acknowledgment sent {"connection_id":164103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:14:35] local.INFO: TCP Data received {"connection_id":166473,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:14:35] local.INFO: Processing buffer {"connection_id":166473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:14:35] local.INFO: IMEI packet received {"connection_id":166473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 22:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":166473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:14:36] local.INFO: TCP Data received {"connection_id":166473,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0494016a0012d34c14006aa4840000b00e62a..."} 
[2026-08-28 22:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0494016a0012d34c14006aa4840000b00e62a..."} 
[2026-08-28 22:14:36] local.INFO: Processing buffer {"connection_id":166473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0494016a0012d34c14006aa4840000b00e62a..."} 
[2026-08-28 22:14:36] local.INFO: Packet analysis {"connection_id":166473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04940"} 
[2026-08-28 22:14:36] local.INFO: Extracted packet for processing {"connection_id":166473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04940"} 
[2026-08-28 22:14:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711367936001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:14:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787935332000,"timestamp_ms":1787935332000,"timestamp_seconds":1787935332,"priority":1,"record_length":96,"hex_timestamp":"000001a0494016a0"} 
[2026-08-28 22:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:14:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 22:14:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:14:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":166473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":166473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":166473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:14:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711367936001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711367936001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:14:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:14:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711367936001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":166473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:14:36] local.INFO: GPS data processed {"connection_id":166473,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:14:36] local.INFO: Acknowledgment sent {"connection_id":166473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:14:41] local.INFO: TCP Data received {"connection_id":166473,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0494016a0012d34c14006aa4840000b00e62a..."} 
[2026-08-28 22:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0494016a0012d34c14006aa4840000b00e62a..."} 
[2026-08-28 22:14:41] local.INFO: Processing buffer {"connection_id":166473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0494016a0012d34c14006aa4840000b00e62a..."} 
[2026-08-28 22:14:41] local.INFO: Packet analysis {"connection_id":166473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04940"} 
[2026-08-28 22:14:41] local.INFO: Extracted packet for processing {"connection_id":166473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04940"} 
[2026-08-28 22:14:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711367936001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:14:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:14:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787935332000,"timestamp_ms":1787935332000,"timestamp_seconds":1787935332,"priority":1,"record_length":96,"hex_timestamp":"000001a0494016a0"} 
[2026-08-28 22:14:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:14:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 22:14:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:14:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:14:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":166473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":166473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":166473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:14:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711367936001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711367936001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:14:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:14:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:14: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-28 22:14:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711367936001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":166473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:14:41] local.INFO: GPS data processed {"connection_id":166473,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:14:41] local.INFO: Acknowledgment sent {"connection_id":166473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:14:56] local.INFO: TCP Data received {"connection_id":165109,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165109,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:14:56] local.INFO: Processing buffer {"connection_id":165109,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:14:56] local.INFO: IMEI packet received {"connection_id":165109,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 22:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":165109,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:15:01] local.INFO: TCP Data received {"connection_id":165109,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165109,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:15:01] local.INFO: Processing buffer {"connection_id":165109,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:15:01] local.INFO: IMEI packet received {"connection_id":165109,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 22:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":165109,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:15:02] local.INFO: TCP Data received {"connection_id":165109,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0493e0b30012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0493e0b30012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:15:02] local.INFO: Processing buffer {"connection_id":165109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0493e0b30012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:15:02] local.INFO: Packet analysis {"connection_id":165109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0493e"} 
[2026-08-28 22:15:02] local.INFO: Extracted packet for processing {"connection_id":165109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0493e"} 
[2026-08-28 22:15:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:15:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:15:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711333632001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:15:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:15:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:15:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:15:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787935198000,"timestamp_ms":1787935198000,"timestamp_seconds":1787935198,"priority":1,"record_length":96,"hex_timestamp":"000001a0493e0b30"} 
[2026-08-28 22:15:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:15:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:15:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 22:15:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:15:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:15:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:15:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:15:02] local.INFO: Teltonika packet parsed successfully {"connection_id":165109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:15:02] local.INFO: Passing IMEI to GPS processor {"connection_id":165109,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:15:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":165109,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:15:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:15:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:15:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:15:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711333632001,"66":24854,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:15:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:15:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:15:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711333632001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:15:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:15:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:15:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:15:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:15:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711333632001,"power":24854,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:15:02] 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":710817,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:15:02] local.INFO: GPS data processed {"connection_id":165109,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:15:02] local.INFO: Acknowledgment sent {"connection_id":165109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:15:12] local.INFO: TCP Data received {"connection_id":166473,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0494016a0012d34c14006aa4840000b00e62a..."} 
[2026-08-28 22:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0494016a0012d34c14006aa4840000b00e62a..."} 
[2026-08-28 22:15:12] local.INFO: Processing buffer {"connection_id":166473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0494016a0012d34c14006aa4840000b00e62a..."} 
[2026-08-28 22:15:12] local.INFO: Packet analysis {"connection_id":166473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04940"} 
[2026-08-28 22:15:12] local.INFO: Extracted packet for processing {"connection_id":166473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04940"} 
[2026-08-28 22:15:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:15:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711367936001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:15:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:15:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:15:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:15:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787935332000,"timestamp_ms":1787935332000,"timestamp_seconds":1787935332,"priority":1,"record_length":96,"hex_timestamp":"000001a0494016a0"} 
[2026-08-28 22:15:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:15:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 22:15:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:15:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:15:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:15:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:15:12] local.INFO: Teltonika packet parsed successfully {"connection_id":166473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:15:12] local.INFO: Passing IMEI to GPS processor {"connection_id":166473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:15:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":166473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:15:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:15:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:15:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:15:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711367936001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:15:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:15:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:15:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711367936001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:15:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:15:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:15: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-28 22:15:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:15:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711367936001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:15:12] local.INFO: DEBUG: GPS processor result {"connection_id":166473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:15:12] local.INFO: GPS data processed {"connection_id":166473,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:15:12] local.INFO: Acknowledgment sent {"connection_id":166473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:15:14] local.INFO: TCP Data received {"connection_id":163823,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163823,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:15:14] local.INFO: Processing buffer {"connection_id":163823,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:15:14] local.INFO: IMEI packet received {"connection_id":163823,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 22:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":163823,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:15:19] local.INFO: TCP Data received {"connection_id":163823,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163823,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:15:19] local.INFO: Processing buffer {"connection_id":163823,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:15:19] local.INFO: IMEI packet received {"connection_id":163823,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 22:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":163823,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:15:20] local.INFO: TCP Data received {"connection_id":163823,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049420e88012d196580071ff008003d013928..."} 
[2026-08-28 22:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049420e88012d196580071ff008003d013928..."} 
[2026-08-28 22:15:20] local.INFO: Processing buffer {"connection_id":163823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049420e88012d196580071ff008003d013928..."} 
[2026-08-28 22:15:20] local.INFO: Packet analysis {"connection_id":163823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04942"} 
[2026-08-28 22:15:20] local.INFO: Extracted packet for processing {"connection_id":163823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04942"} 
[2026-08-28 22:15:20] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:15:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711400960001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:15:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:15:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:15:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:15:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787935461000,"timestamp_ms":1787935461000,"timestamp_seconds":1787935461,"priority":1,"record_length":96,"hex_timestamp":"000001a049420e88"} 
[2026-08-28 22:15:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:15:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:15:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:15:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:15:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:15:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:15:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:15:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:15:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:15:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:15:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:15:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:15:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711400960001,"66":2166,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 22:15:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:15:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:15:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711400960001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:15:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 22:15:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:15:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:15:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:15:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711400960001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":163823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710819,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:15:20] local.INFO: GPS data processed {"connection_id":163823,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:15:20] local.INFO: Acknowledgment sent {"connection_id":163823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:15:30] local.INFO: TCP Data received {"connection_id":163824,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:15:30] local.INFO: Processing buffer {"connection_id":163824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:15:30] local.INFO: IMEI packet received {"connection_id":163824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 22:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":163824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:15:34] local.INFO: TCP Data received {"connection_id":165109,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0493e0b30012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0493e0b30012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:15:34] local.INFO: Processing buffer {"connection_id":165109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0493e0b30012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:15:34] local.INFO: Packet analysis {"connection_id":165109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0493e"} 
[2026-08-28 22:15:34] local.INFO: Extracted packet for processing {"connection_id":165109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0493e"} 
[2026-08-28 22:15:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711333632001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:15:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:15:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787935198000,"timestamp_ms":1787935198000,"timestamp_seconds":1787935198,"priority":1,"record_length":96,"hex_timestamp":"000001a0493e0b30"} 
[2026-08-28 22:15:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:15:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 22:15:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:15:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:15:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":165109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":165109,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":165109,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:15:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711333632001,"66":24854,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711333632001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:15:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:15:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:15:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711333632001,"power":24854,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:15:34] 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":710820,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:15:34] local.INFO: GPS data processed {"connection_id":165109,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:15:34] local.INFO: Acknowledgment sent {"connection_id":165109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:15:35] local.INFO: TCP Data received {"connection_id":163824,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:15:35] local.INFO: Processing buffer {"connection_id":163824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:15:35] local.INFO: IMEI packet received {"connection_id":163824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 22:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":163824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:15:37] local.INFO: TCP Data received {"connection_id":163824,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0494016a0012d34c14006aa4840000b00e62a..."} 
[2026-08-28 22:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0494016a0012d34c14006aa4840000b00e62a..."} 
[2026-08-28 22:15:37] local.INFO: Processing buffer {"connection_id":163824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0494016a0012d34c14006aa4840000b00e62a..."} 
[2026-08-28 22:15:37] local.INFO: Packet analysis {"connection_id":163824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04940"} 
[2026-08-28 22:15:37] local.INFO: Extracted packet for processing {"connection_id":163824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04940"} 
[2026-08-28 22:15:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711367936001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787935332000,"timestamp_ms":1787935332000,"timestamp_seconds":1787935332,"priority":1,"record_length":96,"hex_timestamp":"000001a0494016a0"} 
[2026-08-28 22: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-28 22:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 22:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22: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-28 22: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-28 22:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711367936001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711367936001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:15:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:15:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:15: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-28 22:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711367936001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":163824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:15:37] local.INFO: GPS data processed {"connection_id":163824,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:15:37] local.INFO: Acknowledgment sent {"connection_id":163824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:15:52] local.INFO: TCP Data received {"connection_id":163823,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049420e88012d196580071ff008003d013928..."} 
[2026-08-28 22:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049420e88012d196580071ff008003d013928..."} 
[2026-08-28 22:15:52] local.INFO: Processing buffer {"connection_id":163823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049420e88012d196580071ff008003d013928..."} 
[2026-08-28 22:15:52] local.INFO: Packet analysis {"connection_id":163823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04942"} 
[2026-08-28 22:15:52] local.INFO: Extracted packet for processing {"connection_id":163823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04942"} 
[2026-08-28 22:15:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:15:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711400960001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:15:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:15:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:15:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:15:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787935461000,"timestamp_ms":1787935461000,"timestamp_seconds":1787935461,"priority":1,"record_length":96,"hex_timestamp":"000001a049420e88"} 
[2026-08-28 22: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-28 22:15:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:15:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:15:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22: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-28 22: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-28 22:15:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:15:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:15:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:15:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:15:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:15:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:15:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:15:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711400960001,"66":2166,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 22:15:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:15:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:15:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711400960001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:15:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 22:15:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:15:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:15:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:15:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711400960001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:15:52] local.INFO: DEBUG: GPS processor result {"connection_id":163823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710822,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:15:52] local.INFO: GPS data processed {"connection_id":163823,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:15:52] local.INFO: Acknowledgment sent {"connection_id":163823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:15:55] local.INFO: TCP Data received {"connection_id":164105,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164105,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:15:55] local.INFO: Processing buffer {"connection_id":164105,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:15:55] local.INFO: IMEI packet received {"connection_id":164105,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 22:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":164105,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:16:01] local.INFO: TCP Data received {"connection_id":164105,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164105,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:16:01] local.INFO: Processing buffer {"connection_id":164105,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:16:01] local.INFO: IMEI packet received {"connection_id":164105,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 22:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":164105,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:16:02] local.INFO: TCP Data received {"connection_id":164105,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04942a2f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04942a2f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:16:02] local.INFO: Processing buffer {"connection_id":164105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04942a2f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:16:02] local.INFO: Packet analysis {"connection_id":164105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04942"} 
[2026-08-28 22:16:02] local.INFO: Extracted packet for processing {"connection_id":164105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04942"} 
[2026-08-28 22:16:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:16:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711410688001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:16:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:16:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:16:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:16:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787935499000,"timestamp_ms":1787935499000,"timestamp_seconds":1787935499,"priority":1,"record_length":96,"hex_timestamp":"000001a04942a2f8"} 
[2026-08-28 22:16:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:16:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-28 22:16:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:16:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:16:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:16:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:16:02] local.INFO: Teltonika packet parsed successfully {"connection_id":164105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:16:02] local.INFO: Passing IMEI to GPS processor {"connection_id":164105,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:16:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":164105,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:16:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:16:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:16:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:16:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711410688001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:16:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:16:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:16:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711410688001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:16:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:16:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:16:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:16:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:16:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711410688001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":164105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710823,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:16:03] local.INFO: GPS data processed {"connection_id":164105,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:16:03] local.INFO: Acknowledgment sent {"connection_id":164105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:16:08] local.INFO: TCP Data received {"connection_id":163824,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0494016a0012d34c14006aa4840000b00e62a..."} 
[2026-08-28 22:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0494016a0012d34c14006aa4840000b00e62a..."} 
[2026-08-28 22:16:08] local.INFO: Processing buffer {"connection_id":163824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0494016a0012d34c14006aa4840000b00e62a..."} 
[2026-08-28 22:16:08] local.INFO: Packet analysis {"connection_id":163824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04940"} 
[2026-08-28 22:16:08] local.INFO: Extracted packet for processing {"connection_id":163824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04940"} 
[2026-08-28 22:16:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711367936001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:16:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787935332000,"timestamp_ms":1787935332000,"timestamp_seconds":1787935332,"priority":1,"record_length":96,"hex_timestamp":"000001a0494016a0"} 
[2026-08-28 22:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:16:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 22:16:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:16:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:16:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711367936001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711367936001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:16:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:16:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:16: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-28 22:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711367936001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":163824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:16:08] local.INFO: GPS data processed {"connection_id":163824,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:16:08] local.INFO: Acknowledgment sent {"connection_id":163824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:16:14] local.INFO: TCP Data received {"connection_id":166474,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166474,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:16:14] local.INFO: Processing buffer {"connection_id":166474,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:16:14] local.INFO: IMEI packet received {"connection_id":166474,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 22:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":166474,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:16:19] local.INFO: TCP Data received {"connection_id":166474,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166474,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:16:19] local.INFO: Processing buffer {"connection_id":166474,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:16:19] local.INFO: IMEI packet received {"connection_id":166474,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 22:16:19] local.INFO: IMEI acknowledgment sent {"connection_id":166474,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:16:21] local.INFO: TCP Data received {"connection_id":166474,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049420e88012d196580071ff008003d013928..."} 
[2026-08-28 22:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049420e88012d196580071ff008003d013928..."} 
[2026-08-28 22:16:21] local.INFO: Processing buffer {"connection_id":166474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049420e88012d196580071ff008003d013928..."} 
[2026-08-28 22:16:21] local.INFO: Packet analysis {"connection_id":166474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04942"} 
[2026-08-28 22:16:21] local.INFO: Extracted packet for processing {"connection_id":166474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04942"} 
[2026-08-28 22:16:21] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:16:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:16:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711400960001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:16:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:16:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:16:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:16:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787935461000,"timestamp_ms":1787935461000,"timestamp_seconds":1787935461,"priority":1,"record_length":96,"hex_timestamp":"000001a049420e88"} 
[2026-08-28 22:16:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:16:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:16:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:16:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:16:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:16:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:16:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:16:21] local.INFO: Teltonika packet parsed successfully {"connection_id":166474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:16:21] local.INFO: Passing IMEI to GPS processor {"connection_id":166474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:16:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":166474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:16:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:16:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:16:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:16:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711400960001,"66":2166,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 22:16:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:16:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:16:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711400960001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:16:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 22:16:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:16:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:16:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:16:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711400960001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:16:21] local.INFO: DEBUG: GPS processor result {"connection_id":166474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710825,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:16:21] local.INFO: GPS data processed {"connection_id":166474,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:16:21] local.INFO: Acknowledgment sent {"connection_id":166474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:16:29] local.INFO: TCP Data received {"connection_id":164106,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:16:29] local.INFO: Processing buffer {"connection_id":164106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:16:29] local.INFO: IMEI packet received {"connection_id":164106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 22:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":164106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:16:34] local.INFO: TCP Data received {"connection_id":164105,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04942a2f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04942a2f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:16:34] local.INFO: Processing buffer {"connection_id":164105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04942a2f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:16:34] local.INFO: Packet analysis {"connection_id":164105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04942"} 
[2026-08-28 22:16:34] local.INFO: Extracted packet for processing {"connection_id":164105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04942"} 
[2026-08-28 22:16:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711410688001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:16:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:16:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787935499000,"timestamp_ms":1787935499000,"timestamp_seconds":1787935499,"priority":1,"record_length":96,"hex_timestamp":"000001a04942a2f8"} 
[2026-08-28 22:16:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:16:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-28 22:16:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:16:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:16:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":164105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":164105,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":164105,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:16:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:16:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711410688001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:16:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:16:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:16:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711410688001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:16:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:16:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:16:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:16:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:16:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711410688001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:16:34] local.INFO: DEBUG: GPS processor result {"connection_id":164105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710826,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:16:34] local.INFO: GPS data processed {"connection_id":164105,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:16:34] local.INFO: Acknowledgment sent {"connection_id":164105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:16:35] local.INFO: TCP Data received {"connection_id":164106,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:16:35] local.INFO: Processing buffer {"connection_id":164106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:16:35] local.INFO: IMEI packet received {"connection_id":164106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 22:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":164106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:16:37] local.INFO: TCP Data received {"connection_id":164106,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0494016a0012d34c14006aa4840000b00e62a..."} 
[2026-08-28 22:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0494016a0012d34c14006aa4840000b00e62a..."} 
[2026-08-28 22:16:37] local.INFO: Processing buffer {"connection_id":164106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0494016a0012d34c14006aa4840000b00e62a..."} 
[2026-08-28 22:16:37] local.INFO: Packet analysis {"connection_id":164106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04940"} 
[2026-08-28 22:16:37] local.INFO: Extracted packet for processing {"connection_id":164106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04940"} 
[2026-08-28 22:16:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711367936001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787935332000,"timestamp_ms":1787935332000,"timestamp_seconds":1787935332,"priority":1,"record_length":96,"hex_timestamp":"000001a0494016a0"} 
[2026-08-28 22:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 22:16:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:16:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711367936001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711367936001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:16:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:16:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:16: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-28 22:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711367936001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":164106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:16:37] local.INFO: GPS data processed {"connection_id":164106,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:16:37] local.INFO: Acknowledgment sent {"connection_id":164106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:16:53] local.INFO: TCP Data received {"connection_id":166474,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049420e88012d196580071ff008003d013928..."} 
[2026-08-28 22:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049420e88012d196580071ff008003d013928..."} 
[2026-08-28 22:16:53] local.INFO: Processing buffer {"connection_id":166474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049420e88012d196580071ff008003d013928..."} 
[2026-08-28 22:16:53] local.INFO: Packet analysis {"connection_id":166474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04942"} 
[2026-08-28 22:16:53] local.INFO: Extracted packet for processing {"connection_id":166474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04942"} 
[2026-08-28 22:16:53] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:16:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711400960001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:16:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:16:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:16:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:16:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787935461000,"timestamp_ms":1787935461000,"timestamp_seconds":1787935461,"priority":1,"record_length":96,"hex_timestamp":"000001a049420e88"} 
[2026-08-28 22:16:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:16:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:16:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:16:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:16:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:16:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:16:53] local.INFO: Teltonika packet parsed successfully {"connection_id":166474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:16:53] local.INFO: Passing IMEI to GPS processor {"connection_id":166474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:16:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":166474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:16:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:16:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:16:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:16:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711400960001,"66":2166,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 22:16:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:16:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:16:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711400960001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:16:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 22:16:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:16:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:16:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:16:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711400960001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:16:53] local.INFO: DEBUG: GPS processor result {"connection_id":166474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710828,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:16:53] local.INFO: GPS data processed {"connection_id":166474,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:16:53] local.INFO: Acknowledgment sent {"connection_id":166474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:17:01] local.INFO: TCP Data received {"connection_id":166475,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166475,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:17:01] local.INFO: Processing buffer {"connection_id":166475,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:17:01] local.INFO: IMEI packet received {"connection_id":166475,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 22:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":166475,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:17:06] local.INFO: TCP Data received {"connection_id":166475,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166475,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:17:06] local.INFO: Processing buffer {"connection_id":166475,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:17:06] local.INFO: IMEI packet received {"connection_id":166475,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 22:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":166475,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:17:07] local.INFO: TCP Data received {"connection_id":166475,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04942a2f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04942a2f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:17:07] local.INFO: Processing buffer {"connection_id":166475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04942a2f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:17:07] local.INFO: Packet analysis {"connection_id":166475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04942"} 
[2026-08-28 22:17:07] local.INFO: Extracted packet for processing {"connection_id":166475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04942"} 
[2026-08-28 22:17:07] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711410688001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787935499000,"timestamp_ms":1787935499000,"timestamp_seconds":1787935499,"priority":1,"record_length":96,"hex_timestamp":"000001a04942a2f8"} 
[2026-08-28 22:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:17:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-28 22:17:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:17:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":166475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":166475,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":166475,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711410688001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711410688001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:17:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:17:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711410688001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":166475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710829,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:17:07] local.INFO: GPS data processed {"connection_id":166475,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:17:07] local.INFO: Acknowledgment sent {"connection_id":166475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:17:08] local.INFO: TCP Data received {"connection_id":164106,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0494016a0012d34c14006aa4840000b00e62a..."} 
[2026-08-28 22:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0494016a0012d34c14006aa4840000b00e62a..."} 
[2026-08-28 22:17:08] local.INFO: Processing buffer {"connection_id":164106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0494016a0012d34c14006aa4840000b00e62a..."} 
[2026-08-28 22:17:08] local.INFO: Packet analysis {"connection_id":164106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04940"} 
[2026-08-28 22:17:08] local.INFO: Extracted packet for processing {"connection_id":164106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04940"} 
[2026-08-28 22:17:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711367936001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787935332000,"timestamp_ms":1787935332000,"timestamp_seconds":1787935332,"priority":1,"record_length":96,"hex_timestamp":"000001a0494016a0"} 
[2026-08-28 22:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:17:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 22:17:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:17:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711367936001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711367936001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:17:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:17:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:17: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-28 22:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711367936001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":164106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:17:08] local.INFO: GPS data processed {"connection_id":164106,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:17:08] local.INFO: Acknowledgment sent {"connection_id":164106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:17:11] local.INFO: TCP Data received {"connection_id":166475,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04942a2f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04942a2f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:17:11] local.INFO: Processing buffer {"connection_id":166475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04942a2f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:17:11] local.INFO: Packet analysis {"connection_id":166475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04942"} 
[2026-08-28 22:17:11] local.INFO: Extracted packet for processing {"connection_id":166475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04942"} 
[2026-08-28 22:17:11] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711410688001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:17:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:17:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787935499000,"timestamp_ms":1787935499000,"timestamp_seconds":1787935499,"priority":1,"record_length":96,"hex_timestamp":"000001a04942a2f8"} 
[2026-08-28 22:17:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:17:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-28 22:17:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:17:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:17:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":166475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":166475,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":166475,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:17:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711410688001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711410688001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:17:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:17:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:17:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711410688001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":166475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710831,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:17:11] local.INFO: GPS data processed {"connection_id":166475,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:17:11] local.INFO: Acknowledgment sent {"connection_id":166475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:17:14] local.INFO: TCP Data received {"connection_id":166476,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:17:14] local.INFO: Processing buffer {"connection_id":166476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:17:14] local.INFO: IMEI packet received {"connection_id":166476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 22:17:14] local.INFO: IMEI acknowledgment sent {"connection_id":166476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:17:19] local.INFO: TCP Data received {"connection_id":166476,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:17:19] local.INFO: Processing buffer {"connection_id":166476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:17:19] local.INFO: IMEI packet received {"connection_id":166476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 22:17:19] local.INFO: IMEI acknowledgment sent {"connection_id":166476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:17:21] local.INFO: TCP Data received {"connection_id":166476,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049420e88012d196580071ff008003d013928..."} 
[2026-08-28 22:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049420e88012d196580071ff008003d013928..."} 
[2026-08-28 22:17:21] local.INFO: Processing buffer {"connection_id":166476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049420e88012d196580071ff008003d013928..."} 
[2026-08-28 22:17:21] local.INFO: Packet analysis {"connection_id":166476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04942"} 
[2026-08-28 22:17:21] local.INFO: Extracted packet for processing {"connection_id":166476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04942"} 
[2026-08-28 22:17:21] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711400960001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:17:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:17:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787935461000,"timestamp_ms":1787935461000,"timestamp_seconds":1787935461,"priority":1,"record_length":96,"hex_timestamp":"000001a049420e88"} 
[2026-08-28 22: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-28 22:17:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:17:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22: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-28 22: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-28 22:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":166476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":166476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":166476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:17:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711400960001,"66":2166,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 22:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711400960001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:17:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 22:17:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:17:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711400960001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":166476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710832,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:17:21] local.INFO: GPS data processed {"connection_id":166476,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:17:21] local.INFO: Acknowledgment sent {"connection_id":166476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:17:29] local.INFO: TCP Data received {"connection_id":163825,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:17:29] local.INFO: Processing buffer {"connection_id":163825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:17:29] local.INFO: IMEI packet received {"connection_id":163825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 22:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":163825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:17:35] local.INFO: TCP Data received {"connection_id":163825,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:17:35] local.INFO: Processing buffer {"connection_id":163825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:17:35] local.INFO: IMEI packet received {"connection_id":163825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 22:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":163825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:17:37] local.INFO: TCP Data received {"connection_id":163825,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0494016a0012d34c14006aa4840000b00e62a..."} 
[2026-08-28 22:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0494016a0012d34c14006aa4840000b00e62a..."} 
[2026-08-28 22:17:37] local.INFO: Processing buffer {"connection_id":163825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0494016a0012d34c14006aa4840000b00e62a..."} 
[2026-08-28 22:17:37] local.INFO: Packet analysis {"connection_id":163825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04940"} 
[2026-08-28 22:17:37] local.INFO: Extracted packet for processing {"connection_id":163825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04940"} 
[2026-08-28 22:17:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711367936001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787935332000,"timestamp_ms":1787935332000,"timestamp_seconds":1787935332,"priority":1,"record_length":96,"hex_timestamp":"000001a0494016a0"} 
[2026-08-28 22:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 22:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711367936001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711367936001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:17:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:17:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:17: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-28 22:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711367936001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":163825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:17:37] local.INFO: GPS data processed {"connection_id":163825,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:17:37] local.INFO: Acknowledgment sent {"connection_id":163825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:17:53] local.INFO: TCP Data received {"connection_id":166476,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049420e88012d196580071ff008003d013928..."} 
[2026-08-28 22:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049420e88012d196580071ff008003d013928..."} 
[2026-08-28 22:17:53] local.INFO: Processing buffer {"connection_id":166476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049420e88012d196580071ff008003d013928..."} 
[2026-08-28 22:17:53] local.INFO: Packet analysis {"connection_id":166476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04942"} 
[2026-08-28 22:17:53] local.INFO: Extracted packet for processing {"connection_id":166476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04942"} 
[2026-08-28 22:17:53] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:17:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:17:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711400960001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:17:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:17:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:17:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:17:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787935461000,"timestamp_ms":1787935461000,"timestamp_seconds":1787935461,"priority":1,"record_length":96,"hex_timestamp":"000001a049420e88"} 
[2026-08-28 22:17:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:17:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:17:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:17:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:17:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:17:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:17:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:17:53] local.INFO: Teltonika packet parsed successfully {"connection_id":166476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:17:53] local.INFO: Passing IMEI to GPS processor {"connection_id":166476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:17:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":166476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:17:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:17:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:17:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:17:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711400960001,"66":2166,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 22:17:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:17:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:17:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711400960001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:17:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 22:17:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:17:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:17:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:17:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711400960001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:17:53] local.INFO: DEBUG: GPS processor result {"connection_id":166476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710834,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:17:53] local.INFO: GPS data processed {"connection_id":166476,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:17:53] local.INFO: Acknowledgment sent {"connection_id":166476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:17:57] local.INFO: TCP Data received {"connection_id":163826,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163826,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:17:57] local.INFO: Processing buffer {"connection_id":163826,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:17:57] local.INFO: IMEI packet received {"connection_id":163826,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 22:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":163826,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:18:00] local.INFO: TCP Data received {"connection_id":163826,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163826,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:18:00] local.INFO: Processing buffer {"connection_id":163826,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:18:00] local.INFO: IMEI packet received {"connection_id":163826,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 22:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":163826,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:18:01] local.INFO: TCP Data received {"connection_id":163826,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04942a2f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04942a2f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:18:01] local.INFO: Processing buffer {"connection_id":163826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04942a2f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:18:01] local.INFO: Packet analysis {"connection_id":163826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04942"} 
[2026-08-28 22:18:01] local.INFO: Extracted packet for processing {"connection_id":163826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04942"} 
[2026-08-28 22:18:01] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711410688001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:18:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:18:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787935499000,"timestamp_ms":1787935499000,"timestamp_seconds":1787935499,"priority":1,"record_length":96,"hex_timestamp":"000001a04942a2f8"} 
[2026-08-28 22:18:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:18:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-28 22:18:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:18:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:18:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":163826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":163826,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":163826,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:18:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711410688001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711410688001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:18:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:18:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:18:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711410688001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":163826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710835,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:18:01] local.INFO: GPS data processed {"connection_id":163826,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:18:01] local.INFO: Acknowledgment sent {"connection_id":163826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:18:07] local.INFO: TCP Data received {"connection_id":163826,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04942a2f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04942a2f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:18:07] local.INFO: Processing buffer {"connection_id":163826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04942a2f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:18:07] local.INFO: Packet analysis {"connection_id":163826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04942"} 
[2026-08-28 22:18:07] local.INFO: Extracted packet for processing {"connection_id":163826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04942"} 
[2026-08-28 22:18:07] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711410688001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:18:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787935499000,"timestamp_ms":1787935499000,"timestamp_seconds":1787935499,"priority":1,"record_length":96,"hex_timestamp":"000001a04942a2f8"} 
[2026-08-28 22:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:18:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-28 22:18:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:18:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":163826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":163826,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":163826,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711410688001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711410688001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:18:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:18:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711410688001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":163826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710836,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:18:07] local.INFO: GPS data processed {"connection_id":163826,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:18:07] local.INFO: Acknowledgment sent {"connection_id":163826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:18:09] local.INFO: TCP Data received {"connection_id":163825,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04944ae68012d34c14006aa4840000c00e62b..."} 
[2026-08-28 22:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04944ae68012d34c14006aa4840000c00e62b..."} 
[2026-08-28 22:18:09] local.INFO: Processing buffer {"connection_id":163825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04944ae68012d34c14006aa4840000c00e62b..."} 
[2026-08-28 22:18:09] local.INFO: Packet analysis {"connection_id":163825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04944"} 
[2026-08-28 22:18:09] local.INFO: Extracted packet for processing {"connection_id":163825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04944"} 
[2026-08-28 22:18:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:18:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711444992001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:18:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:18:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:18:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:18:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787935633000,"timestamp_ms":1787935633000,"timestamp_seconds":1787935633,"priority":1,"record_length":96,"hex_timestamp":"000001a04944ae68"} 
[2026-08-28 22:18:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:18:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 22:18:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:18:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:18:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:18:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:18:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:18:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:18:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:18:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:18:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:18:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:18:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711444992001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:18:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:18:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:18:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711444992001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:18:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:18:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:18: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-28 22:18:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:18:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711444992001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:18:09] local.INFO: DEBUG: GPS processor result {"connection_id":163825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:18:09] local.INFO: GPS data processed {"connection_id":163825,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:18:09] local.INFO: Acknowledgment sent {"connection_id":163825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:18:14] local.INFO: TCP Data received {"connection_id":164107,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164107,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:18:14] local.INFO: Processing buffer {"connection_id":164107,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:18:14] local.INFO: IMEI packet received {"connection_id":164107,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 22:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":164107,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:18:19] local.INFO: TCP Data received {"connection_id":164107,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164107,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:18:19] local.INFO: Processing buffer {"connection_id":164107,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:18:19] local.INFO: IMEI packet received {"connection_id":164107,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 22:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":164107,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:18:21] local.INFO: TCP Data received {"connection_id":164107,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049420e88012d196580071ff008003d013928..."} 
[2026-08-28 22:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049420e88012d196580071ff008003d013928..."} 
[2026-08-28 22:18:21] local.INFO: Processing buffer {"connection_id":164107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049420e88012d196580071ff008003d013928..."} 
[2026-08-28 22:18:21] local.INFO: Packet analysis {"connection_id":164107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04942"} 
[2026-08-28 22:18:21] local.INFO: Extracted packet for processing {"connection_id":164107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04942"} 
[2026-08-28 22:18:21] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:18:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711400960001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:18:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:18:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:18:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:18:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787935461000,"timestamp_ms":1787935461000,"timestamp_seconds":1787935461,"priority":1,"record_length":96,"hex_timestamp":"000001a049420e88"} 
[2026-08-28 22:18:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:18:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:18:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:18:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:18:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:18:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:18:21] local.INFO: Teltonika packet parsed successfully {"connection_id":164107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:18:21] local.INFO: Passing IMEI to GPS processor {"connection_id":164107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:18:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":164107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:18:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:18:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:18:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:18:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711400960001,"66":2166,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 22:18:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:18:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:18:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711400960001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:18:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 22:18:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:18:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:18:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:18:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711400960001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:18:21] local.INFO: DEBUG: GPS processor result {"connection_id":164107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710838,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:18:21] local.INFO: GPS data processed {"connection_id":164107,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:18:21] local.INFO: Acknowledgment sent {"connection_id":164107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:18:30] local.INFO: TCP Data received {"connection_id":164108,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:18:30] local.INFO: Processing buffer {"connection_id":164108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:18:30] local.INFO: IMEI packet received {"connection_id":164108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 22:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":164108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:18:35] local.INFO: TCP Data received {"connection_id":164108,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:18:35] local.INFO: Processing buffer {"connection_id":164108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:18:35] local.INFO: IMEI packet received {"connection_id":164108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 22:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":164108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:18:36] local.INFO: TCP Data received {"connection_id":164108,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04944ae68012d34c14006aa4840000c00e62b..."} 
[2026-08-28 22:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04944ae68012d34c14006aa4840000c00e62b..."} 
[2026-08-28 22:18:36] local.INFO: Processing buffer {"connection_id":164108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04944ae68012d34c14006aa4840000c00e62b..."} 
[2026-08-28 22:18:36] local.INFO: Packet analysis {"connection_id":164108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04944"} 
[2026-08-28 22:18:36] local.INFO: Extracted packet for processing {"connection_id":164108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04944"} 
[2026-08-28 22:18:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711444992001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787935633000,"timestamp_ms":1787935633000,"timestamp_seconds":1787935633,"priority":1,"record_length":96,"hex_timestamp":"000001a04944ae68"} 
[2026-08-28 22:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 22:18:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:18:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":164108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":164108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":164108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711444992001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711444992001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:18:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:18:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711444992001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":164108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:18:36] local.INFO: GPS data processed {"connection_id":164108,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:18:36] local.INFO: Acknowledgment sent {"connection_id":164108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:18:38] local.INFO: TCP Data received {"connection_id":163826,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04942a2f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04942a2f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:18:38] local.INFO: Processing buffer {"connection_id":163826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04942a2f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:18:38] local.INFO: Packet analysis {"connection_id":163826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04942"} 
[2026-08-28 22:18:38] local.INFO: Extracted packet for processing {"connection_id":163826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04942"} 
[2026-08-28 22:18:38] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:18:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711410688001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:18:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:18:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:18:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:18:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787935499000,"timestamp_ms":1787935499000,"timestamp_seconds":1787935499,"priority":1,"record_length":96,"hex_timestamp":"000001a04942a2f8"} 
[2026-08-28 22:18:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:18:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-28 22:18:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:18:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:18:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:18:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:18:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:18:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163826,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:18:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163826,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:18:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:18:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:18:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:18:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711410688001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:18:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:18:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:18:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711410688001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:18:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:18:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:18:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:18:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:18:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711410688001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:18:38] local.INFO: DEBUG: GPS processor result {"connection_id":163826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710840,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:18:38] local.INFO: GPS data processed {"connection_id":163826,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:18:38] local.INFO: Acknowledgment sent {"connection_id":163826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:18:53] local.INFO: TCP Data received {"connection_id":164107,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049420e88012d196580071ff008003d013928..."} 
[2026-08-28 22:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049420e88012d196580071ff008003d013928..."} 
[2026-08-28 22:18:53] local.INFO: Processing buffer {"connection_id":164107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049420e88012d196580071ff008003d013928..."} 
[2026-08-28 22:18:53] local.INFO: Packet analysis {"connection_id":164107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04942"} 
[2026-08-28 22:18:53] local.INFO: Extracted packet for processing {"connection_id":164107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04942"} 
[2026-08-28 22:18:53] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:18:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711400960001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:18:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:18:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:18:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:18:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787935461000,"timestamp_ms":1787935461000,"timestamp_seconds":1787935461,"priority":1,"record_length":96,"hex_timestamp":"000001a049420e88"} 
[2026-08-28 22: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-28 22:18:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:18:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22: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-28 22: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-28 22:18:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:18:53] local.INFO: Teltonika packet parsed successfully {"connection_id":164107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:18:53] local.INFO: Passing IMEI to GPS processor {"connection_id":164107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:18:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":164107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:18:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:18:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:18:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:18:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711400960001,"66":2166,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 22:18:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:18:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:18:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711400960001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:18:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 22:18:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:18:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:18:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:18:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711400960001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:18:53] local.INFO: DEBUG: GPS processor result {"connection_id":164107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710841,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:18:53] local.INFO: GPS data processed {"connection_id":164107,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:18:53] local.INFO: Acknowledgment sent {"connection_id":164107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:18:56] local.INFO: TCP Data received {"connection_id":165110,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165110,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:18:56] local.INFO: Processing buffer {"connection_id":165110,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:18:56] local.INFO: IMEI packet received {"connection_id":165110,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 22:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":165110,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:19:00] local.INFO: TCP Data received {"connection_id":165110,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165110,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:19:00] local.INFO: Processing buffer {"connection_id":165110,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:19:00] local.INFO: IMEI packet received {"connection_id":165110,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 22:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":165110,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:19:01] local.INFO: TCP Data received {"connection_id":165110,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04942a2f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04942a2f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:19:01] local.INFO: Processing buffer {"connection_id":165110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04942a2f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:19:01] local.INFO: Packet analysis {"connection_id":165110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04942"} 
[2026-08-28 22:19:01] local.INFO: Extracted packet for processing {"connection_id":165110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04942"} 
[2026-08-28 22:19:01] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:19:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711410688001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:19:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:19:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:19:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:19:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787935499000,"timestamp_ms":1787935499000,"timestamp_seconds":1787935499,"priority":1,"record_length":96,"hex_timestamp":"000001a04942a2f8"} 
[2026-08-28 22:19:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:19:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-28 22:19:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:19:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:19:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:19:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:19:01] local.INFO: Teltonika packet parsed successfully {"connection_id":165110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:19:01] local.INFO: Passing IMEI to GPS processor {"connection_id":165110,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:19:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":165110,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:19:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:19:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:19:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:19:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711410688001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:19:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:19:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:19:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711410688001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:19:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:19:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:19:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:19:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:19:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711410688001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:19:01] 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":710842,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:19:01] local.INFO: GPS data processed {"connection_id":165110,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:19:01] local.INFO: Acknowledgment sent {"connection_id":165110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:19:08] local.INFO: TCP Data received {"connection_id":164108,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04944ae68012d34c14006aa4840000c00e62b..."} 
[2026-08-28 22:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04944ae68012d34c14006aa4840000c00e62b..."} 
[2026-08-28 22:19:08] local.INFO: Processing buffer {"connection_id":164108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04944ae68012d34c14006aa4840000c00e62b..."} 
[2026-08-28 22:19:08] local.INFO: Packet analysis {"connection_id":164108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04944"} 
[2026-08-28 22:19:08] local.INFO: Extracted packet for processing {"connection_id":164108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04944"} 
[2026-08-28 22:19:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711444992001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:19:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787935633000,"timestamp_ms":1787935633000,"timestamp_seconds":1787935633,"priority":1,"record_length":96,"hex_timestamp":"000001a04944ae68"} 
[2026-08-28 22:19:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:19:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 22:19:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:19:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:19:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:19:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711444992001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711444992001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:19:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:19:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:19: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-28 22:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711444992001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":164108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:19:08] local.INFO: GPS data processed {"connection_id":164108,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:19:08] local.INFO: Acknowledgment sent {"connection_id":164108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:19:19] local.INFO: TCP Data received {"connection_id":166477,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166477,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:19:19] local.INFO: Processing buffer {"connection_id":166477,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:19:19] local.INFO: IMEI packet received {"connection_id":166477,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 22:19:19] local.INFO: IMEI acknowledgment sent {"connection_id":166477,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:19:24] local.INFO: TCP Data received {"connection_id":166477,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166477,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:19:24] local.INFO: Processing buffer {"connection_id":166477,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:19:24] local.INFO: IMEI packet received {"connection_id":166477,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 22:19:24] local.INFO: IMEI acknowledgment sent {"connection_id":166477,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:19:26] local.INFO: TCP Data received {"connection_id":166477,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049420e88012d196580071ff008003d013928..."} 
[2026-08-28 22:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049420e88012d196580071ff008003d013928..."} 
[2026-08-28 22:19:26] local.INFO: Processing buffer {"connection_id":166477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049420e88012d196580071ff008003d013928..."} 
[2026-08-28 22:19:26] local.INFO: Packet analysis {"connection_id":166477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04942"} 
[2026-08-28 22:19:26] local.INFO: Extracted packet for processing {"connection_id":166477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04942"} 
[2026-08-28 22:19:26] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:19:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711400960001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:19:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:19:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:19:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:19:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787935461000,"timestamp_ms":1787935461000,"timestamp_seconds":1787935461,"priority":1,"record_length":96,"hex_timestamp":"000001a049420e88"} 
[2026-08-28 22:19:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:19:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:19:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:19:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:19:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:19:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:19:26] local.INFO: Teltonika packet parsed successfully {"connection_id":166477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:19:26] local.INFO: Passing IMEI to GPS processor {"connection_id":166477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:19:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":166477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:19:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:19:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:19:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:19:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711400960001,"66":2166,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 22:19:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:19:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:19:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711400960001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:19:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 22:19:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:19:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:19:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:19:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711400960001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:19:26] local.INFO: DEBUG: GPS processor result {"connection_id":166477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710844,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:19:26] local.INFO: GPS data processed {"connection_id":166477,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:19:26] local.INFO: Acknowledgment sent {"connection_id":166477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:19:29] local.INFO: TCP Data received {"connection_id":166478,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:19:29] local.INFO: Processing buffer {"connection_id":166478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:19:29] local.INFO: IMEI packet received {"connection_id":166478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 22:19:29] local.INFO: IMEI acknowledgment sent {"connection_id":166478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:19:29] local.INFO: TCP Data received {"connection_id":166477,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049420e88012d196580071ff008003d013928..."} 
[2026-08-28 22:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049420e88012d196580071ff008003d013928..."} 
[2026-08-28 22:19:29] local.INFO: Processing buffer {"connection_id":166477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049420e88012d196580071ff008003d013928..."} 
[2026-08-28 22:19:29] local.INFO: Packet analysis {"connection_id":166477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04942"} 
[2026-08-28 22:19:29] local.INFO: Extracted packet for processing {"connection_id":166477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04942"} 
[2026-08-28 22:19:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:19:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:19:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711400960001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:19:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:19:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:19:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:19:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787935461000,"timestamp_ms":1787935461000,"timestamp_seconds":1787935461,"priority":1,"record_length":96,"hex_timestamp":"000001a049420e88"} 
[2026-08-28 22:19:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:19:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:19:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:19:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:19:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:19:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:19:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:19:29] local.INFO: Teltonika packet parsed successfully {"connection_id":166477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:19:29] local.INFO: Passing IMEI to GPS processor {"connection_id":166477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:19:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":166477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:19:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:19:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:19:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:19:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711400960001,"66":2166,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 22:19:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:19:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:19:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711400960001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:19:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 22:19:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:19:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:19:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:19:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711400960001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:19:29] local.INFO: DEBUG: GPS processor result {"connection_id":166477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710845,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:19:29] local.INFO: GPS data processed {"connection_id":166477,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:19:29] local.INFO: Acknowledgment sent {"connection_id":166477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:19:33] local.INFO: TCP Data received {"connection_id":165110,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04942a2f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04942a2f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:19:33] local.INFO: Processing buffer {"connection_id":165110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04942a2f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:19:33] local.INFO: Packet analysis {"connection_id":165110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04942"} 
[2026-08-28 22:19:33] local.INFO: Extracted packet for processing {"connection_id":165110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04942"} 
[2026-08-28 22:19:33] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:19:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711410688001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:19:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787935499000,"timestamp_ms":1787935499000,"timestamp_seconds":1787935499,"priority":1,"record_length":96,"hex_timestamp":"000001a04942a2f8"} 
[2026-08-28 22:19:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:19:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:19:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-28 22:19:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:19:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:19:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":165110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":165110,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":165110,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:19:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711410688001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711410688001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:19:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:19:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711410688001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:19:33] 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":710846,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:19:33] local.INFO: GPS data processed {"connection_id":165110,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:19:33] local.INFO: Acknowledgment sent {"connection_id":165110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:19:36] local.INFO: TCP Data received {"connection_id":166478,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:19:36] local.INFO: Processing buffer {"connection_id":166478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:19:36] local.INFO: IMEI packet received {"connection_id":166478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 22:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":166478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:19:38] local.INFO: TCP Data received {"connection_id":166478,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04944ae68012d34c14006aa4840000c00e62b..."} 
[2026-08-28 22:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04944ae68012d34c14006aa4840000c00e62b..."} 
[2026-08-28 22:19:38] local.INFO: Processing buffer {"connection_id":166478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04944ae68012d34c14006aa4840000c00e62b..."} 
[2026-08-28 22:19:38] local.INFO: Packet analysis {"connection_id":166478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04944"} 
[2026-08-28 22:19:38] local.INFO: Extracted packet for processing {"connection_id":166478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04944"} 
[2026-08-28 22:19:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711444992001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:19:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787935633000,"timestamp_ms":1787935633000,"timestamp_seconds":1787935633,"priority":1,"record_length":96,"hex_timestamp":"000001a04944ae68"} 
[2026-08-28 22:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:19:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 22:19:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:19:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":166478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":166478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":166478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:19:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711444992001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711444992001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:19:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:19:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:19: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-28 22:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711444992001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":166478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:19:38] local.INFO: GPS data processed {"connection_id":166478,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:19:38] local.INFO: Acknowledgment sent {"connection_id":166478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:19:55] local.INFO: TCP Data received {"connection_id":165111,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165111,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:19:55] local.INFO: Processing buffer {"connection_id":165111,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:19:55] local.INFO: IMEI packet received {"connection_id":165111,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 22:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":165111,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:20:01] local.INFO: TCP Data received {"connection_id":165111,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165111,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:20:01] local.INFO: Processing buffer {"connection_id":165111,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:20:01] local.INFO: IMEI packet received {"connection_id":165111,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 22:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":165111,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:20:02] local.INFO: TCP Data received {"connection_id":165111,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04942a2f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04942a2f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:20:02] local.INFO: Processing buffer {"connection_id":165111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04942a2f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:20:02] local.INFO: Packet analysis {"connection_id":165111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04942"} 
[2026-08-28 22:20:02] local.INFO: Extracted packet for processing {"connection_id":165111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04942"} 
[2026-08-28 22:20:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:20:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:20:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711410688001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:20:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:20:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:20:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:20:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787935499000,"timestamp_ms":1787935499000,"timestamp_seconds":1787935499,"priority":1,"record_length":96,"hex_timestamp":"000001a04942a2f8"} 
[2026-08-28 22:20:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:20:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:20:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-28 22:20:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:20:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:20:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:20:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:20:02] local.INFO: Teltonika packet parsed successfully {"connection_id":165111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:20:02] local.INFO: Passing IMEI to GPS processor {"connection_id":165111,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:20:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":165111,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:20:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:20:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:20:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:20:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711410688001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:20:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:20:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:20:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711410688001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:20:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:20:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:20:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:20:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:20:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711410688001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:20:02] local.INFO: DEBUG: GPS processor result {"connection_id":165111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710848,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:20:02] local.INFO: GPS data processed {"connection_id":165111,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:20:02] local.INFO: Acknowledgment sent {"connection_id":165111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:20:09] local.INFO: TCP Data received {"connection_id":166478,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04944ae68012d34c14006aa4840000c00e62b..."} 
[2026-08-28 22:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04944ae68012d34c14006aa4840000c00e62b..."} 
[2026-08-28 22:20:09] local.INFO: Processing buffer {"connection_id":166478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04944ae68012d34c14006aa4840000c00e62b..."} 
[2026-08-28 22:20:09] local.INFO: Packet analysis {"connection_id":166478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04944"} 
[2026-08-28 22:20:09] local.INFO: Extracted packet for processing {"connection_id":166478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04944"} 
[2026-08-28 22:20:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711444992001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:20:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787935633000,"timestamp_ms":1787935633000,"timestamp_seconds":1787935633,"priority":1,"record_length":96,"hex_timestamp":"000001a04944ae68"} 
[2026-08-28 22:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 22:20:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:20:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":166478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":166478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":166478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:20:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711444992001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711444992001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:20:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:20:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:20: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-28 22:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711444992001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":166478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:20:09] local.INFO: GPS data processed {"connection_id":166478,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:20:09] local.INFO: Acknowledgment sent {"connection_id":166478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:20:14] local.INFO: TCP Data received {"connection_id":163827,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163827,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:20:14] local.INFO: Processing buffer {"connection_id":163827,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:20:14] local.INFO: IMEI packet received {"connection_id":163827,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 22:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":163827,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:20:19] local.INFO: TCP Data received {"connection_id":163827,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163827,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:20:19] local.INFO: Processing buffer {"connection_id":163827,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:20:19] local.INFO: IMEI packet received {"connection_id":163827,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 22:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":163827,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:20:20] local.INFO: TCP Data received {"connection_id":163827,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a04946a650012d196580071ff008003d013928..."} 
[2026-08-28 22:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04946a650012d196580071ff008003d013928..."} 
[2026-08-28 22:20:20] local.INFO: Processing buffer {"connection_id":163827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04946a650012d196580071ff008003d013928..."} 
[2026-08-28 22:20:20] local.INFO: Packet analysis {"connection_id":163827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04946"} 
[2026-08-28 22:20:20] local.INFO: Extracted packet for processing {"connection_id":163827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04946"} 
[2026-08-28 22:20:20] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711478016001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:20:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:20:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787935762000,"timestamp_ms":1787935762000,"timestamp_seconds":1787935762,"priority":1,"record_length":96,"hex_timestamp":"000001a04946a650"} 
[2026-08-28 22:20:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:20:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:20:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:20:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:20:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:20:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711478016001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 22:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711478016001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:20:20] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 22:20:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:20:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711478016001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":163827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710850,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:20:20] local.INFO: GPS data processed {"connection_id":163827,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:20:20] local.INFO: Acknowledgment sent {"connection_id":163827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:20:29] local.INFO: TCP Data received {"connection_id":165112,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:20:29] local.INFO: Processing buffer {"connection_id":165112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:20:29] local.INFO: IMEI packet received {"connection_id":165112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 22:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":165112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:20:34] local.INFO: TCP Data received {"connection_id":165111,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04942a2f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04942a2f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:20:34] local.INFO: Processing buffer {"connection_id":165111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04942a2f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:20:34] local.INFO: Packet analysis {"connection_id":165111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04942"} 
[2026-08-28 22:20:34] local.INFO: Extracted packet for processing {"connection_id":165111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04942"} 
[2026-08-28 22:20:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711410688001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:20:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787935499000,"timestamp_ms":1787935499000,"timestamp_seconds":1787935499,"priority":1,"record_length":96,"hex_timestamp":"000001a04942a2f8"} 
[2026-08-28 22:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:20:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-28 22:20:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:20:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":165111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":165111,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":165111,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711410688001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711410688001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:20:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:20:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711410688001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":165111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710851,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:20:34] local.INFO: GPS data processed {"connection_id":165111,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:20:34] local.INFO: Acknowledgment sent {"connection_id":165111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:20:35] local.INFO: TCP Data received {"connection_id":165112,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:20:35] local.INFO: Processing buffer {"connection_id":165112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:20:35] local.INFO: IMEI packet received {"connection_id":165112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 22:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":165112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:20:37] local.INFO: TCP Data received {"connection_id":165112,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04944ae68012d34c14006aa4840000c00e62b..."} 
[2026-08-28 22:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04944ae68012d34c14006aa4840000c00e62b..."} 
[2026-08-28 22:20:37] local.INFO: Processing buffer {"connection_id":165112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04944ae68012d34c14006aa4840000c00e62b..."} 
[2026-08-28 22:20:37] local.INFO: Packet analysis {"connection_id":165112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04944"} 
[2026-08-28 22:20:37] local.INFO: Extracted packet for processing {"connection_id":165112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04944"} 
[2026-08-28 22:20:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711444992001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787935633000,"timestamp_ms":1787935633000,"timestamp_seconds":1787935633,"priority":1,"record_length":96,"hex_timestamp":"000001a04944ae68"} 
[2026-08-28 22:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 22:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":165112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":165112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":165112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711444992001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711444992001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:20:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:20:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:20: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-28 22:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711444992001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:20:37] 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":710852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:20:37] local.INFO: GPS data processed {"connection_id":165112,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:20:37] local.INFO: Acknowledgment sent {"connection_id":165112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:20:55] local.INFO: TCP Data received {"connection_id":163827,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a04946a650012d196580071ff008003d013928..."} 
[2026-08-28 22:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04946a650012d196580071ff008003d013928..."} 
[2026-08-28 22:20:55] local.INFO: Processing buffer {"connection_id":163827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04946a650012d196580071ff008003d013928..."} 
[2026-08-28 22:20:55] local.INFO: Packet analysis {"connection_id":163827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04946"} 
[2026-08-28 22:20:55] local.INFO: Extracted packet for processing {"connection_id":163827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04946"} 
[2026-08-28 22:20:55] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:20:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711478016001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:20:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:20:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:20:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:20:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787935762000,"timestamp_ms":1787935762000,"timestamp_seconds":1787935762,"priority":1,"record_length":96,"hex_timestamp":"000001a04946a650"} 
[2026-08-28 22:20:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:20:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:20:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:20:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:20:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:20:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:20:55] local.INFO: Teltonika packet parsed successfully {"connection_id":163827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:20:55] local.INFO: Passing IMEI to GPS processor {"connection_id":163827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:20:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":163827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:20:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:20:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:20:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:20:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711478016001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 22:20:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:20:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:20:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711478016001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:20:55] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 22:20:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:20:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:20:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:20:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711478016001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":163827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710853,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:20:55] local.INFO: GPS data processed {"connection_id":163827,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:20:55] local.INFO: Acknowledgment sent {"connection_id":163827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:20:55] local.INFO: TCP Data received {"connection_id":166479,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166479,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:20:55] local.INFO: Processing buffer {"connection_id":166479,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:20:55] local.INFO: IMEI packet received {"connection_id":166479,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 22:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":166479,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:21:01] local.INFO: TCP Data received {"connection_id":166479,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166479,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:21:01] local.INFO: Processing buffer {"connection_id":166479,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:21:01] local.INFO: IMEI packet received {"connection_id":166479,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 22:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":166479,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:21:02] local.INFO: TCP Data received {"connection_id":166479,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0494736d8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0494736d8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:21:02] local.INFO: Processing buffer {"connection_id":166479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0494736d8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:21:02] local.INFO: Packet analysis {"connection_id":166479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04947"} 
[2026-08-28 22:21:02] local.INFO: Extracted packet for processing {"connection_id":166479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04947"} 
[2026-08-28 22:21:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711487744001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:21:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:21:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787935799000,"timestamp_ms":1787935799000,"timestamp_seconds":1787935799,"priority":1,"record_length":96,"hex_timestamp":"000001a0494736d8"} 
[2026-08-28 22:21:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:21:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 22:21:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:21:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:21:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":166479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":166479,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":166479,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:21:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711487744001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711487744001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:21:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:21:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:21:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:21:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711487744001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":166479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710854,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:21:02] local.INFO: GPS data processed {"connection_id":166479,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:21:02] local.INFO: Acknowledgment sent {"connection_id":166479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:21:08] local.INFO: TCP Data received {"connection_id":165112,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04944ae68012d34c14006aa4840000c00e62b..."} 
[2026-08-28 22:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04944ae68012d34c14006aa4840000c00e62b..."} 
[2026-08-28 22:21:08] local.INFO: Processing buffer {"connection_id":165112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04944ae68012d34c14006aa4840000c00e62b..."} 
[2026-08-28 22:21:08] local.INFO: Packet analysis {"connection_id":165112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04944"} 
[2026-08-28 22:21:08] local.INFO: Extracted packet for processing {"connection_id":165112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04944"} 
[2026-08-28 22:21:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:21:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711444992001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:21:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:21:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787935633000,"timestamp_ms":1787935633000,"timestamp_seconds":1787935633,"priority":1,"record_length":96,"hex_timestamp":"000001a04944ae68"} 
[2026-08-28 22:21:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:21:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 22:21:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:21:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:21:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":165112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":165112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":165112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:21:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711444992001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711444992001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:21:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:21:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:21: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-28 22:21:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711444992001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:21:08] 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":710855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:21:08] local.INFO: GPS data processed {"connection_id":165112,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:21:08] local.INFO: Acknowledgment sent {"connection_id":165112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:21:14] local.INFO: TCP Data received {"connection_id":164109,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:21:14] local.INFO: Processing buffer {"connection_id":164109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:21:14] local.INFO: IMEI packet received {"connection_id":164109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 22:21:14] local.INFO: IMEI acknowledgment sent {"connection_id":164109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:21:19] local.INFO: TCP Data received {"connection_id":164109,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:21:19] local.INFO: Processing buffer {"connection_id":164109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:21:19] local.INFO: IMEI packet received {"connection_id":164109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 22:21:19] local.INFO: IMEI acknowledgment sent {"connection_id":164109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:21:20] local.INFO: TCP Data received {"connection_id":164109,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a04946a650012d196580071ff008003d013928..."} 
[2026-08-28 22:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04946a650012d196580071ff008003d013928..."} 
[2026-08-28 22:21:20] local.INFO: Processing buffer {"connection_id":164109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04946a650012d196580071ff008003d013928..."} 
[2026-08-28 22:21:20] local.INFO: Packet analysis {"connection_id":164109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04946"} 
[2026-08-28 22:21:20] local.INFO: Extracted packet for processing {"connection_id":164109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04946"} 
[2026-08-28 22:21:20] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:21:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711478016001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:21:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:21:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:21:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:21:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787935762000,"timestamp_ms":1787935762000,"timestamp_seconds":1787935762,"priority":1,"record_length":96,"hex_timestamp":"000001a04946a650"} 
[2026-08-28 22: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-28 22:21:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:21:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22: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-28 22: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-28 22:21:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:21:20] local.INFO: Teltonika packet parsed successfully {"connection_id":164109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:21:20] local.INFO: Passing IMEI to GPS processor {"connection_id":164109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:21:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":164109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:21:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:21:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:21:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:21:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711478016001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 22:21:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:21:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:21:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711478016001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:21:20] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 22:21:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:21:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:21:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:21:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711478016001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:21:20] local.INFO: DEBUG: GPS processor result {"connection_id":164109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710856,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:21:20] local.INFO: GPS data processed {"connection_id":164109,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:21:20] local.INFO: Acknowledgment sent {"connection_id":164109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:21:29] local.INFO: TCP Data received {"connection_id":165113,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:21:29] local.INFO: Processing buffer {"connection_id":165113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:21:29] local.INFO: IMEI packet received {"connection_id":165113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 22:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":165113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:21:34] local.INFO: TCP Data received {"connection_id":166479,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0494736d8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0494736d8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:21:34] local.INFO: Processing buffer {"connection_id":166479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0494736d8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:21:34] local.INFO: Packet analysis {"connection_id":166479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04947"} 
[2026-08-28 22:21:34] local.INFO: Extracted packet for processing {"connection_id":166479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04947"} 
[2026-08-28 22:21:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711487744001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:21:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787935799000,"timestamp_ms":1787935799000,"timestamp_seconds":1787935799,"priority":1,"record_length":96,"hex_timestamp":"000001a0494736d8"} 
[2026-08-28 22:21:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:21:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 22:21:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:21:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:21:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":166479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":166479,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":166479,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:21:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711487744001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711487744001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:21:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:21:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711487744001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":166479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710857,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:21:34] local.INFO: GPS data processed {"connection_id":166479,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:21:34] local.INFO: Acknowledgment sent {"connection_id":166479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:21:35] local.INFO: TCP Data received {"connection_id":165113,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:21:35] local.INFO: Processing buffer {"connection_id":165113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:21:35] local.INFO: IMEI packet received {"connection_id":165113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 22:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":165113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:21:38] local.INFO: TCP Data received {"connection_id":165113,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04944ae68012d34c14006aa4840000c00e62b..."} 
[2026-08-28 22:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04944ae68012d34c14006aa4840000c00e62b..."} 
[2026-08-28 22:21:38] local.INFO: Processing buffer {"connection_id":165113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04944ae68012d34c14006aa4840000c00e62b..."} 
[2026-08-28 22:21:38] local.INFO: Packet analysis {"connection_id":165113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04944"} 
[2026-08-28 22:21:38] local.INFO: Extracted packet for processing {"connection_id":165113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04944"} 
[2026-08-28 22:21:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711444992001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787935633000,"timestamp_ms":1787935633000,"timestamp_seconds":1787935633,"priority":1,"record_length":96,"hex_timestamp":"000001a04944ae68"} 
[2026-08-28 22:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 22:21:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":165113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":165113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":165113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711444992001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711444992001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:21:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:21:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:21: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-28 22:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711444992001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":165113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:21:38] local.INFO: GPS data processed {"connection_id":165113,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:21:38] local.INFO: Acknowledgment sent {"connection_id":165113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:21:52] local.INFO: TCP Data received {"connection_id":164109,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a04946a650012d196580071ff008003d013928..."} 
[2026-08-28 22:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04946a650012d196580071ff008003d013928..."} 
[2026-08-28 22:21:52] local.INFO: Processing buffer {"connection_id":164109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04946a650012d196580071ff008003d013928..."} 
[2026-08-28 22:21:52] local.INFO: Packet analysis {"connection_id":164109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04946"} 
[2026-08-28 22:21:52] local.INFO: Extracted packet for processing {"connection_id":164109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04946"} 
[2026-08-28 22:21:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:21:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711478016001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:21:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:21:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:21:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:21:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787935762000,"timestamp_ms":1787935762000,"timestamp_seconds":1787935762,"priority":1,"record_length":96,"hex_timestamp":"000001a04946a650"} 
[2026-08-28 22: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-28 22:21:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:21:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22: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-28 22: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-28 22:21:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:21:52] local.INFO: Teltonika packet parsed successfully {"connection_id":164109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:21:52] local.INFO: Passing IMEI to GPS processor {"connection_id":164109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:21:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":164109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:21:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:21:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:21:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:21:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711478016001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 22:21:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:21:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:21:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711478016001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:21:52] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 22:21:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:21:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:21:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:21:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711478016001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:21:52] local.INFO: DEBUG: GPS processor result {"connection_id":164109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710859,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:21:52] local.INFO: GPS data processed {"connection_id":164109,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:21:52] local.INFO: Acknowledgment sent {"connection_id":164109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:21:55] local.INFO: TCP Data received {"connection_id":164110,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164110,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:21:55] local.INFO: Processing buffer {"connection_id":164110,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:21:55] local.INFO: IMEI packet received {"connection_id":164110,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 22:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":164110,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:22:01] local.INFO: TCP Data received {"connection_id":164110,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164110,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:22:01] local.INFO: Processing buffer {"connection_id":164110,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:22:01] local.INFO: IMEI packet received {"connection_id":164110,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 22:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":164110,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:22:02] local.INFO: TCP Data received {"connection_id":164110,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0494736d8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0494736d8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:22:02] local.INFO: Processing buffer {"connection_id":164110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0494736d8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:22:02] local.INFO: Packet analysis {"connection_id":164110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04947"} 
[2026-08-28 22:22:02] local.INFO: Extracted packet for processing {"connection_id":164110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04947"} 
[2026-08-28 22:22:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:22:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711487744001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:22:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:22:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:22:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:22:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787935799000,"timestamp_ms":1787935799000,"timestamp_seconds":1787935799,"priority":1,"record_length":96,"hex_timestamp":"000001a0494736d8"} 
[2026-08-28 22:22:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:22:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 22:22:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:22:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:22:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:22:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:22:02] local.INFO: Teltonika packet parsed successfully {"connection_id":164110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:22:02] local.INFO: Passing IMEI to GPS processor {"connection_id":164110,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:22:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":164110,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:22:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:22:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:22:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:22:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711487744001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:22:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:22:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:22:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711487744001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:22:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:22:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:22:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:22:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:22:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711487744001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:22:02] local.INFO: DEBUG: GPS processor result {"connection_id":164110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710860,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:22:02] local.INFO: GPS data processed {"connection_id":164110,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:22:02] local.INFO: Acknowledgment sent {"connection_id":164110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:22:10] local.INFO: TCP Data received {"connection_id":165113,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04944ae68012d34c14006aa4840000c00e62b..."} 
[2026-08-28 22:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04944ae68012d34c14006aa4840000c00e62b..."} 
[2026-08-28 22:22:10] local.INFO: Processing buffer {"connection_id":165113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04944ae68012d34c14006aa4840000c00e62b..."} 
[2026-08-28 22:22:10] local.INFO: Packet analysis {"connection_id":165113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04944"} 
[2026-08-28 22:22:10] local.INFO: Extracted packet for processing {"connection_id":165113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04944"} 
[2026-08-28 22:22:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711444992001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:22:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787935633000,"timestamp_ms":1787935633000,"timestamp_seconds":1787935633,"priority":1,"record_length":96,"hex_timestamp":"000001a04944ae68"} 
[2026-08-28 22:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:22:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 22:22:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":165113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":165113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":165113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711444992001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711444992001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:22:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:22:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711444992001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":165113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:22:10] local.INFO: GPS data processed {"connection_id":165113,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:22:10] local.INFO: Acknowledgment sent {"connection_id":165113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:22:20] local.INFO: TCP Data received {"connection_id":163828,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163828,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:22:20] local.INFO: Processing buffer {"connection_id":163828,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:22:20] local.INFO: IMEI packet received {"connection_id":163828,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 22:22:20] local.INFO: IMEI acknowledgment sent {"connection_id":163828,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:22:24] local.INFO: TCP Data received {"connection_id":163828,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163828,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:22:24] local.INFO: Processing buffer {"connection_id":163828,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:22:24] local.INFO: IMEI packet received {"connection_id":163828,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 22:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":163828,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:22:26] local.INFO: TCP Data received {"connection_id":163828,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a04946a650012d196580071ff008003d013928..."} 
[2026-08-28 22:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04946a650012d196580071ff008003d013928..."} 
[2026-08-28 22:22:26] local.INFO: Processing buffer {"connection_id":163828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04946a650012d196580071ff008003d013928..."} 
[2026-08-28 22:22:26] local.INFO: Packet analysis {"connection_id":163828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04946"} 
[2026-08-28 22:22:26] local.INFO: Extracted packet for processing {"connection_id":163828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04946"} 
[2026-08-28 22:22:26] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:22:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711478016001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:22:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:22:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:22:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:22:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787935762000,"timestamp_ms":1787935762000,"timestamp_seconds":1787935762,"priority":1,"record_length":96,"hex_timestamp":"000001a04946a650"} 
[2026-08-28 22:22:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:22:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:22:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:22:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:22:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:22:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:22:26] local.INFO: Teltonika packet parsed successfully {"connection_id":163828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:22:26] local.INFO: Passing IMEI to GPS processor {"connection_id":163828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:22:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":163828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:22:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:22:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:22:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:22:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711478016001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 22:22:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:22:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:22:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711478016001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:22:26] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 22:22:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:22:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:22:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:22:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711478016001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:22:26] local.INFO: DEBUG: GPS processor result {"connection_id":163828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710862,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:22:26] local.INFO: GPS data processed {"connection_id":163828,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:22:26] local.INFO: Acknowledgment sent {"connection_id":163828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:22:30] local.INFO: TCP Data received {"connection_id":163828,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a04946a650012d196580071ff008003d013928..."} 
[2026-08-28 22:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04946a650012d196580071ff008003d013928..."} 
[2026-08-28 22:22:30] local.INFO: Processing buffer {"connection_id":163828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04946a650012d196580071ff008003d013928..."} 
[2026-08-28 22:22:30] local.INFO: Packet analysis {"connection_id":163828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04946"} 
[2026-08-28 22:22:30] local.INFO: Extracted packet for processing {"connection_id":163828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04946"} 
[2026-08-28 22:22:30] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711478016001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:22:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:22:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787935762000,"timestamp_ms":1787935762000,"timestamp_seconds":1787935762,"priority":1,"record_length":96,"hex_timestamp":"000001a04946a650"} 
[2026-08-28 22:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:22:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:22:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:22:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":163828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":163828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":163828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:22:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711478016001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 22:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711478016001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:22:30] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 22:22:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:22:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711478016001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":163828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710863,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:22:31] local.INFO: GPS data processed {"connection_id":163828,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:22:31] local.INFO: Acknowledgment sent {"connection_id":163828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:22:33] local.INFO: TCP Data received {"connection_id":164110,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0494736d8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0494736d8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:22:33] local.INFO: Processing buffer {"connection_id":164110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0494736d8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:22:33] local.INFO: Packet analysis {"connection_id":164110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04947"} 
[2026-08-28 22:22:33] local.INFO: Extracted packet for processing {"connection_id":164110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04947"} 
[2026-08-28 22:22:33] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711487744001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:22:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787935799000,"timestamp_ms":1787935799000,"timestamp_seconds":1787935799,"priority":1,"record_length":96,"hex_timestamp":"000001a0494736d8"} 
[2026-08-28 22:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:22:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 22:22:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:22:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":164110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":164110,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":164110,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:22:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711487744001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711487744001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:22:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:22:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711487744001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:22:34] local.INFO: DEBUG: GPS processor result {"connection_id":164110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710864,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:22:34] local.INFO: GPS data processed {"connection_id":164110,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:22:34] local.INFO: Acknowledgment sent {"connection_id":164110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:22:35] local.INFO: TCP Data received {"connection_id":165114,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:22:35] local.INFO: Processing buffer {"connection_id":165114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:22:35] local.INFO: IMEI packet received {"connection_id":165114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 22:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":165114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:22:40] local.INFO: TCP Data received {"connection_id":165114,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:22:40] local.INFO: Processing buffer {"connection_id":165114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:22:40] local.INFO: IMEI packet received {"connection_id":165114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 22:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":165114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:22:42] local.INFO: TCP Data received {"connection_id":165114,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04944ae68012d34c14006aa4840000c00e62b..."} 
[2026-08-28 22:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04944ae68012d34c14006aa4840000c00e62b..."} 
[2026-08-28 22:22:42] local.INFO: Processing buffer {"connection_id":165114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04944ae68012d34c14006aa4840000c00e62b..."} 
[2026-08-28 22:22:42] local.INFO: Packet analysis {"connection_id":165114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04944"} 
[2026-08-28 22:22:42] local.INFO: Extracted packet for processing {"connection_id":165114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04944"} 
[2026-08-28 22:22:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 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-28 22:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711444992001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:22:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:22:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787935633000,"timestamp_ms":1787935633000,"timestamp_seconds":1787935633,"priority":1,"record_length":96,"hex_timestamp":"000001a04944ae68"} 
[2026-08-28 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-28 22:22:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 22:22: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-28 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-28 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-28 22:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":165114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":165114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":165114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:22:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711444992001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711444992001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:22:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:22:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 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-28 22:22:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711444992001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:22: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":710865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:22:42] local.INFO: GPS data processed {"connection_id":165114,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:22:42] local.INFO: Acknowledgment sent {"connection_id":165114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:22:44] local.INFO: TCP Data received {"connection_id":165114,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04944ae68012d34c14006aa4840000c00e62b..."} 
[2026-08-28 22:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04944ae68012d34c14006aa4840000c00e62b..."} 
[2026-08-28 22:22:44] local.INFO: Processing buffer {"connection_id":165114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04944ae68012d34c14006aa4840000c00e62b..."} 
[2026-08-28 22:22:44] local.INFO: Packet analysis {"connection_id":165114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04944"} 
[2026-08-28 22:22:44] local.INFO: Extracted packet for processing {"connection_id":165114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04944"} 
[2026-08-28 22:22:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:22:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711444992001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:22:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:22:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:22:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:22:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787935633000,"timestamp_ms":1787935633000,"timestamp_seconds":1787935633,"priority":1,"record_length":96,"hex_timestamp":"000001a04944ae68"} 
[2026-08-28 22:22:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:22:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 22: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-28 22:22:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:22:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:22:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:22:44] local.INFO: Teltonika packet parsed successfully {"connection_id":165114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:22:44] local.INFO: Passing IMEI to GPS processor {"connection_id":165114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:22:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":165114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:22:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:22:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:22:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:22:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711444992001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:22:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:22:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:22:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711444992001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:22:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:22:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22: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-28 22:22:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:22:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711444992001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:22:44] 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":710866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:22:44] local.INFO: GPS data processed {"connection_id":165114,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:22:44] local.INFO: Acknowledgment sent {"connection_id":165114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:23:01] local.INFO: TCP Data received {"connection_id":163829,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163829,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:23:01] local.INFO: Processing buffer {"connection_id":163829,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:23:01] local.INFO: IMEI packet received {"connection_id":163829,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 22:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":163829,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:23:06] local.INFO: TCP Data received {"connection_id":163829,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163829,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:23:06] local.INFO: Processing buffer {"connection_id":163829,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:23:06] local.INFO: IMEI packet received {"connection_id":163829,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 22:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":163829,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:23:07] local.INFO: TCP Data received {"connection_id":163829,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0494736d8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0494736d8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:23:07] local.INFO: Processing buffer {"connection_id":163829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0494736d8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:23:07] local.INFO: Packet analysis {"connection_id":163829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04947"} 
[2026-08-28 22:23:07] local.INFO: Extracted packet for processing {"connection_id":163829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04947"} 
[2026-08-28 22:23:07] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711487744001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:23:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787935799000,"timestamp_ms":1787935799000,"timestamp_seconds":1787935799,"priority":1,"record_length":96,"hex_timestamp":"000001a0494736d8"} 
[2026-08-28 22:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:23:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 22:23:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:23:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":163829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":163829,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":163829,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:23:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711487744001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711487744001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:23:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:23:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711487744001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":163829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710867,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:23:07] local.INFO: GPS data processed {"connection_id":163829,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:23:07] local.INFO: Acknowledgment sent {"connection_id":163829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:23:14] local.INFO: TCP Data received {"connection_id":165115,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:23:14] local.INFO: Processing buffer {"connection_id":165115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:23:14] local.INFO: IMEI packet received {"connection_id":165115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 22:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":165115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:23:19] local.INFO: TCP Data received {"connection_id":165115,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:23:19] local.INFO: Processing buffer {"connection_id":165115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:23:19] local.INFO: IMEI packet received {"connection_id":165115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 22:23:19] local.INFO: IMEI acknowledgment sent {"connection_id":165115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:23:20] local.INFO: TCP Data received {"connection_id":165115,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a04946a650012d196580071ff008003d013928..."} 
[2026-08-28 22:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04946a650012d196580071ff008003d013928..."} 
[2026-08-28 22:23:20] local.INFO: Processing buffer {"connection_id":165115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04946a650012d196580071ff008003d013928..."} 
[2026-08-28 22:23:20] local.INFO: Packet analysis {"connection_id":165115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04946"} 
[2026-08-28 22:23:20] local.INFO: Extracted packet for processing {"connection_id":165115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04946"} 
[2026-08-28 22:23:20] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:23:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:23:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711478016001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:23:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:23:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:23:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:23:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787935762000,"timestamp_ms":1787935762000,"timestamp_seconds":1787935762,"priority":1,"record_length":96,"hex_timestamp":"000001a04946a650"} 
[2026-08-28 22:23:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:23:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:23:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:23:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:23:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:23:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:23:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:23:20] local.INFO: Teltonika packet parsed successfully {"connection_id":165115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:23:20] local.INFO: Passing IMEI to GPS processor {"connection_id":165115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:23:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":165115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:23:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:23:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:23:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:23:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711478016001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 22:23:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:23:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:23:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711478016001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:23:20] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 22:23:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:23:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:23:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:23:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711478016001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:23:21] 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":710868,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:23:21] local.INFO: GPS data processed {"connection_id":165115,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:23:21] local.INFO: Acknowledgment sent {"connection_id":165115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:23:29] local.INFO: TCP Data received {"connection_id":163830,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:23:29] local.INFO: Processing buffer {"connection_id":163830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:23:29] local.INFO: IMEI packet received {"connection_id":163830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 22:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":163830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:23:35] local.INFO: TCP Data received {"connection_id":163830,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:23:35] local.INFO: Processing buffer {"connection_id":163830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:23:35] local.INFO: IMEI packet received {"connection_id":163830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 22:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":163830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:23:37] local.INFO: TCP Data received {"connection_id":163830,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049494630012d34c14006aa4840000600e62a..."} 
[2026-08-28 22:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049494630012d34c14006aa4840000600e62a..."} 
[2026-08-28 22:23:37] local.INFO: Processing buffer {"connection_id":163830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049494630012d34c14006aa4840000600e62a..."} 
[2026-08-28 22:23:37] local.INFO: Packet analysis {"connection_id":163830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04949"} 
[2026-08-28 22:23:37] local.INFO: Extracted packet for processing {"connection_id":163830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04949"} 
[2026-08-28 22:23:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":6,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711522048001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787935934000,"timestamp_ms":1787935934000,"timestamp_seconds":1787935934,"priority":1,"record_length":96,"hex_timestamp":"000001a049494630"} 
[2026-08-28 22:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 22:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711522048001,"66":25299,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711522048001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:23:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:23:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:23: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-28 22:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711522048001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":163830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:23:37] local.INFO: GPS data processed {"connection_id":163830,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:23:37] local.INFO: Acknowledgment sent {"connection_id":163830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:23:39] local.INFO: TCP Data received {"connection_id":163829,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0494736d8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0494736d8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:23:39] local.INFO: Processing buffer {"connection_id":163829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0494736d8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:23:39] local.INFO: Packet analysis {"connection_id":163829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04947"} 
[2026-08-28 22:23:39] local.INFO: Extracted packet for processing {"connection_id":163829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04947"} 
[2026-08-28 22:23:39] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711487744001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:23:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:23:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787935799000,"timestamp_ms":1787935799000,"timestamp_seconds":1787935799,"priority":1,"record_length":96,"hex_timestamp":"000001a0494736d8"} 
[2026-08-28 22:23:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:23:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 22:23:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:23:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:23:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":163829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":163829,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":163829,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:23:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711487744001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711487744001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:23:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:23:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:23:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711487744001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":163829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710870,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:23:39] local.INFO: GPS data processed {"connection_id":163829,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:23:39] local.INFO: Acknowledgment sent {"connection_id":163829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:23:52] local.INFO: TCP Data received {"connection_id":165115,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a04946a650012d196580071ff008003d013928..."} 
[2026-08-28 22:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04946a650012d196580071ff008003d013928..."} 
[2026-08-28 22:23:52] local.INFO: Processing buffer {"connection_id":165115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04946a650012d196580071ff008003d013928..."} 
[2026-08-28 22:23:52] local.INFO: Packet analysis {"connection_id":165115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04946"} 
[2026-08-28 22:23:52] local.INFO: Extracted packet for processing {"connection_id":165115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04946"} 
[2026-08-28 22:23:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:23:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711478016001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:23:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:23:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:23:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:23:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787935762000,"timestamp_ms":1787935762000,"timestamp_seconds":1787935762,"priority":1,"record_length":96,"hex_timestamp":"000001a04946a650"} 
[2026-08-28 22: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-28 22:23:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:23:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22: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-28 22: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-28 22:23:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:23:52] local.INFO: Teltonika packet parsed successfully {"connection_id":165115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:23:52] local.INFO: Passing IMEI to GPS processor {"connection_id":165115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:23:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":165115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:23:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:23:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:23:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:23:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711478016001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 22:23:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:23:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:23:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711478016001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:23:52] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 22:23:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:23:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:23:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:23:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711478016001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:23:52] 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":710871,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:23:52] local.INFO: GPS data processed {"connection_id":165115,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:23:52] local.INFO: Acknowledgment sent {"connection_id":165115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:23:55] local.INFO: TCP Data received {"connection_id":166480,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166480,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:23:55] local.INFO: Processing buffer {"connection_id":166480,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:23:55] local.INFO: IMEI packet received {"connection_id":166480,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 22:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":166480,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:24:01] local.INFO: TCP Data received {"connection_id":166480,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166480,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:24:01] local.INFO: Processing buffer {"connection_id":166480,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:24:01] local.INFO: IMEI packet received {"connection_id":166480,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 22:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":166480,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:24:02] local.INFO: TCP Data received {"connection_id":166480,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0494736d8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0494736d8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:24:02] local.INFO: Processing buffer {"connection_id":166480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0494736d8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:24:02] local.INFO: Packet analysis {"connection_id":166480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04947"} 
[2026-08-28 22:24:02] local.INFO: Extracted packet for processing {"connection_id":166480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04947"} 
[2026-08-28 22:24:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:24:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:24:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711487744001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:24:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:24:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:24:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:24:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787935799000,"timestamp_ms":1787935799000,"timestamp_seconds":1787935799,"priority":1,"record_length":96,"hex_timestamp":"000001a0494736d8"} 
[2026-08-28 22:24:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:24:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:24:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 22:24:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:24:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:24:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:24:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:24:02] local.INFO: Teltonika packet parsed successfully {"connection_id":166480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:24:02] local.INFO: Passing IMEI to GPS processor {"connection_id":166480,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:24:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":166480,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:24:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:24:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:24:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:24:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711487744001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:24:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:24:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:24:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711487744001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:24:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:24:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:24:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:24:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:24:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711487744001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:24:02] local.INFO: DEBUG: GPS processor result {"connection_id":166480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710872,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:24:02] local.INFO: GPS data processed {"connection_id":166480,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:24:02] local.INFO: Acknowledgment sent {"connection_id":166480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:24:09] local.INFO: TCP Data received {"connection_id":163830,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049494630012d34c14006aa4840000600e62a..."} 
[2026-08-28 22:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049494630012d34c14006aa4840000600e62a..."} 
[2026-08-28 22:24:09] local.INFO: Processing buffer {"connection_id":163830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049494630012d34c14006aa4840000600e62a..."} 
[2026-08-28 22:24:09] local.INFO: Packet analysis {"connection_id":163830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04949"} 
[2026-08-28 22:24:09] local.INFO: Extracted packet for processing {"connection_id":163830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04949"} 
[2026-08-28 22:24:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":6,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711522048001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:24:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:24:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787935934000,"timestamp_ms":1787935934000,"timestamp_seconds":1787935934,"priority":1,"record_length":96,"hex_timestamp":"000001a049494630"} 
[2026-08-28 22:24:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:24:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 22:24:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:24:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:24:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:24:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711522048001,"66":25299,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711522048001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:24:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:24:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:24: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-28 22:24:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711522048001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":163830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:24:09] local.INFO: GPS data processed {"connection_id":163830,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:24:09] local.INFO: Acknowledgment sent {"connection_id":163830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:24:14] local.INFO: TCP Data received {"connection_id":163831,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163831,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:24:14] local.INFO: Processing buffer {"connection_id":163831,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:24:14] local.INFO: IMEI packet received {"connection_id":163831,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 22:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":163831,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:24:19] local.INFO: TCP Data received {"connection_id":163831,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163831,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:24:19] local.INFO: Processing buffer {"connection_id":163831,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:24:19] local.INFO: IMEI packet received {"connection_id":163831,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 22:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":163831,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:24:20] local.INFO: TCP Data received {"connection_id":163831,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a04946a650012d196580071ff008003d013928..."} 
[2026-08-28 22:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04946a650012d196580071ff008003d013928..."} 
[2026-08-28 22:24:20] local.INFO: Processing buffer {"connection_id":163831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04946a650012d196580071ff008003d013928..."} 
[2026-08-28 22:24:20] local.INFO: Packet analysis {"connection_id":163831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04946"} 
[2026-08-28 22:24:20] local.INFO: Extracted packet for processing {"connection_id":163831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04946"} 
[2026-08-28 22:24:20] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:24:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711478016001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:24:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:24:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:24:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:24:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787935762000,"timestamp_ms":1787935762000,"timestamp_seconds":1787935762,"priority":1,"record_length":96,"hex_timestamp":"000001a04946a650"} 
[2026-08-28 22: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-28 22:24:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:24:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22: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-28 22: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-28 22:24:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:24:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:24:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:24:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:24:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:24:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:24:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:24:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711478016001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 22:24:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:24:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:24:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711478016001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:24:20] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 22:24:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:24:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:24:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:24:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711478016001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:24:20] local.INFO: DEBUG: GPS processor result {"connection_id":163831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710874,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:24:20] local.INFO: GPS data processed {"connection_id":163831,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:24:20] local.INFO: Acknowledgment sent {"connection_id":163831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:24:29] local.INFO: TCP Data received {"connection_id":164111,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:24:29] local.INFO: Processing buffer {"connection_id":164111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:24:29] local.INFO: IMEI packet received {"connection_id":164111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 22:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":164111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:24:33] local.INFO: TCP Data received {"connection_id":166480,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0494736d8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0494736d8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:24:33] local.INFO: Processing buffer {"connection_id":166480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0494736d8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:24:33] local.INFO: Packet analysis {"connection_id":166480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04947"} 
[2026-08-28 22:24:33] local.INFO: Extracted packet for processing {"connection_id":166480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04947"} 
[2026-08-28 22:24:33] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711487744001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:24:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787935799000,"timestamp_ms":1787935799000,"timestamp_seconds":1787935799,"priority":1,"record_length":96,"hex_timestamp":"000001a0494736d8"} 
[2026-08-28 22:24:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:24:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 22:24:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:24:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:24:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":166480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":166480,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":166480,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:24:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711487744001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711487744001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:24:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:24:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711487744001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":166480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710875,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:24:34] local.INFO: GPS data processed {"connection_id":166480,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:24:34] local.INFO: Acknowledgment sent {"connection_id":166480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:24:35] local.INFO: TCP Data received {"connection_id":164111,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:24:35] local.INFO: Processing buffer {"connection_id":164111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:24:35] local.INFO: IMEI packet received {"connection_id":164111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 22:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":164111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:24:37] local.INFO: TCP Data received {"connection_id":164111,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049494630012d34c14006aa4840000600e62a..."} 
[2026-08-28 22:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049494630012d34c14006aa4840000600e62a..."} 
[2026-08-28 22:24:37] local.INFO: Processing buffer {"connection_id":164111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049494630012d34c14006aa4840000600e62a..."} 
[2026-08-28 22:24:37] local.INFO: Packet analysis {"connection_id":164111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04949"} 
[2026-08-28 22:24:37] local.INFO: Extracted packet for processing {"connection_id":164111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04949"} 
[2026-08-28 22:24:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":6,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711522048001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787935934000,"timestamp_ms":1787935934000,"timestamp_seconds":1787935934,"priority":1,"record_length":96,"hex_timestamp":"000001a049494630"} 
[2026-08-28 22:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 22:24:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711522048001,"66":25299,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711522048001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:24:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:24:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:24: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-28 22:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711522048001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":164111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:24:37] local.INFO: GPS data processed {"connection_id":164111,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:24:37] local.INFO: Acknowledgment sent {"connection_id":164111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:24:52] local.INFO: TCP Data received {"connection_id":163831,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a04946a650012d196580071ff008003d013928..."} 
[2026-08-28 22:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04946a650012d196580071ff008003d013928..."} 
[2026-08-28 22:24:52] local.INFO: Processing buffer {"connection_id":163831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04946a650012d196580071ff008003d013928..."} 
[2026-08-28 22:24:52] local.INFO: Packet analysis {"connection_id":163831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04946"} 
[2026-08-28 22:24:52] local.INFO: Extracted packet for processing {"connection_id":163831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04946"} 
[2026-08-28 22:24:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:24:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711478016001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:24:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:24:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:24:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:24:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787935762000,"timestamp_ms":1787935762000,"timestamp_seconds":1787935762,"priority":1,"record_length":96,"hex_timestamp":"000001a04946a650"} 
[2026-08-28 22: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-28 22:24:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:24:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22: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-28 22: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-28 22:24:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:24:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:24:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:24:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:24:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:24:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:24:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:24:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711478016001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 22:24:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:24:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:24:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711478016001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:24:52] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 22:24:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:24:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:24:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:24:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711478016001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:24:52] local.INFO: DEBUG: GPS processor result {"connection_id":163831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710877,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:24:52] local.INFO: GPS data processed {"connection_id":163831,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:24:52] local.INFO: Acknowledgment sent {"connection_id":163831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:24:55] local.INFO: TCP Data received {"connection_id":166481,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166481,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:24:55] local.INFO: Processing buffer {"connection_id":166481,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:24:55] local.INFO: IMEI packet received {"connection_id":166481,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 22:24:55] local.INFO: IMEI acknowledgment sent {"connection_id":166481,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:25:01] local.INFO: TCP Data received {"connection_id":166481,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166481,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:25:01] local.INFO: Processing buffer {"connection_id":166481,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:25:01] local.INFO: IMEI packet received {"connection_id":166481,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 22:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":166481,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:25:02] local.INFO: TCP Data received {"connection_id":166481,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0494736d8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0494736d8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:25:02] local.INFO: Processing buffer {"connection_id":166481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0494736d8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:25:02] local.INFO: Packet analysis {"connection_id":166481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04947"} 
[2026-08-28 22:25:02] local.INFO: Extracted packet for processing {"connection_id":166481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04947"} 
[2026-08-28 22:25:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711487744001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:25:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:25:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787935799000,"timestamp_ms":1787935799000,"timestamp_seconds":1787935799,"priority":1,"record_length":96,"hex_timestamp":"000001a0494736d8"} 
[2026-08-28 22:25:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:25:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 22:25:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:25:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:25:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":166481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":166481,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":166481,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:25:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711487744001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711487744001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:25:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:25:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:25:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:25:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711487744001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":166481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710878,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:25:02] local.INFO: GPS data processed {"connection_id":166481,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:25:02] local.INFO: Acknowledgment sent {"connection_id":166481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:25:09] local.INFO: TCP Data received {"connection_id":164111,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049494630012d34c14006aa4840000600e62a..."} 
[2026-08-28 22:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049494630012d34c14006aa4840000600e62a..."} 
[2026-08-28 22:25:09] local.INFO: Processing buffer {"connection_id":164111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049494630012d34c14006aa4840000600e62a..."} 
[2026-08-28 22:25:09] local.INFO: Packet analysis {"connection_id":164111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04949"} 
[2026-08-28 22:25:09] local.INFO: Extracted packet for processing {"connection_id":164111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04949"} 
[2026-08-28 22:25:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":6,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:25:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711522048001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:25:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:25:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:25:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:25:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787935934000,"timestamp_ms":1787935934000,"timestamp_seconds":1787935934,"priority":1,"record_length":96,"hex_timestamp":"000001a049494630"} 
[2026-08-28 22:25:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:25:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 22:25:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:25:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:25:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:25:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:25:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:25:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:25:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:25:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711522048001,"66":25299,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:25:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:25:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:25:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711522048001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:25:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:25:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:25: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-28 22:25:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:25:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711522048001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:25:09] local.INFO: DEBUG: GPS processor result {"connection_id":164111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:25:09] local.INFO: GPS data processed {"connection_id":164111,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:25:09] local.INFO: Acknowledgment sent {"connection_id":164111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:25:19] local.INFO: TCP Data received {"connection_id":165116,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165116,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:25:19] local.INFO: Processing buffer {"connection_id":165116,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:25:19] local.INFO: IMEI packet received {"connection_id":165116,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 22:25:19] local.INFO: IMEI acknowledgment sent {"connection_id":165116,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:25:24] local.INFO: TCP Data received {"connection_id":165116,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165116,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:25:24] local.INFO: Processing buffer {"connection_id":165116,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:25:24] local.INFO: IMEI packet received {"connection_id":165116,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 22:25:24] local.INFO: IMEI acknowledgment sent {"connection_id":165116,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:25:25] local.INFO: TCP Data received {"connection_id":165116,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0494b3e18012d196580071ff008003d013927..."} 
[2026-08-28 22:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0494b3e18012d196580071ff008003d013927..."} 
[2026-08-28 22:25:25] local.INFO: Processing buffer {"connection_id":165116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0494b3e18012d196580071ff008003d013927..."} 
[2026-08-28 22:25:25] local.INFO: Packet analysis {"connection_id":165116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0494b"} 
[2026-08-28 22:25:25] local.INFO: Extracted packet for processing {"connection_id":165116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0494b"} 
[2026-08-28 22:25:25] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:25:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:25:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711555072001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:25:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:25:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:25:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:25:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787936063000,"timestamp_ms":1787936063000,"timestamp_seconds":1787936063,"priority":1,"record_length":96,"hex_timestamp":"000001a0494b3e18"} 
[2026-08-28 22:25:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:25:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:25:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:25:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:25:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:25:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:25:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:25:25] local.INFO: Teltonika packet parsed successfully {"connection_id":165116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:25:25] local.INFO: Passing IMEI to GPS processor {"connection_id":165116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:25:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":165116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:25:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:25:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:25:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:25:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711555072001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 22:25:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:25:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:25:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711555072001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:25:25] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 22:25:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:25:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:25:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:25:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711555072001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:25:25] 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":710880,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:25:25] local.INFO: GPS data processed {"connection_id":165116,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:25:25] local.INFO: Acknowledgment sent {"connection_id":165116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:25:30] local.INFO: TCP Data received {"connection_id":164112,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:25:30] local.INFO: Processing buffer {"connection_id":164112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:25:30] local.INFO: IMEI packet received {"connection_id":164112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 22:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":164112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:25:34] local.INFO: TCP Data received {"connection_id":166481,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0494736d8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0494736d8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:25:34] local.INFO: Processing buffer {"connection_id":166481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0494736d8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:25:34] local.INFO: Packet analysis {"connection_id":166481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04947"} 
[2026-08-28 22:25:34] local.INFO: Extracted packet for processing {"connection_id":166481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04947"} 
[2026-08-28 22:25:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711487744001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787935799000,"timestamp_ms":1787935799000,"timestamp_seconds":1787935799,"priority":1,"record_length":96,"hex_timestamp":"000001a0494736d8"} 
[2026-08-28 22:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:25:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 22:25:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:25:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:25:35] local.INFO: Teltonika packet parsed successfully {"connection_id":166481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:25:35] local.INFO: Passing IMEI to GPS processor {"connection_id":166481,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:25:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":166481,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:25:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:25:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:25:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:25:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711487744001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:25:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:25:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:25:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711487744001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:25:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:25:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:25:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:25:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:25:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711487744001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:25:35] local.INFO: DEBUG: GPS processor result {"connection_id":166481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710881,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:25:35] local.INFO: GPS data processed {"connection_id":166481,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:25:35] local.INFO: Acknowledgment sent {"connection_id":166481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:25:35] local.INFO: TCP Data received {"connection_id":164112,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:25:35] local.INFO: Processing buffer {"connection_id":164112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:25:35] local.INFO: IMEI packet received {"connection_id":164112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 22:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":164112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:25:38] local.INFO: TCP Data received {"connection_id":164112,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049494630012d34c14006aa4840000600e62a..."} 
[2026-08-28 22:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049494630012d34c14006aa4840000600e62a..."} 
[2026-08-28 22:25:38] local.INFO: Processing buffer {"connection_id":164112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049494630012d34c14006aa4840000600e62a..."} 
[2026-08-28 22:25:38] local.INFO: Packet analysis {"connection_id":164112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04949"} 
[2026-08-28 22:25:38] local.INFO: Extracted packet for processing {"connection_id":164112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04949"} 
[2026-08-28 22:25:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":6,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711522048001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:25:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787935934000,"timestamp_ms":1787935934000,"timestamp_seconds":1787935934,"priority":1,"record_length":96,"hex_timestamp":"000001a049494630"} 
[2026-08-28 22:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:25:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 22:25:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:25:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":164112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":164112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":164112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:25:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711522048001,"66":25299,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711522048001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:25:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:25:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:25: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-28 22:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711522048001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":164112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:25:38] local.INFO: GPS data processed {"connection_id":164112,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:25:38] local.INFO: Acknowledgment sent {"connection_id":164112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:25:41] local.INFO: TCP Data received {"connection_id":164112,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049494630012d34c14006aa4840000600e62a..."} 
[2026-08-28 22:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049494630012d34c14006aa4840000600e62a..."} 
[2026-08-28 22:25:41] local.INFO: Processing buffer {"connection_id":164112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049494630012d34c14006aa4840000600e62a..."} 
[2026-08-28 22:25:41] local.INFO: Packet analysis {"connection_id":164112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04949"} 
[2026-08-28 22:25:41] local.INFO: Extracted packet for processing {"connection_id":164112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04949"} 
[2026-08-28 22:25:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":6,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711522048001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:25:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:25:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787935934000,"timestamp_ms":1787935934000,"timestamp_seconds":1787935934,"priority":1,"record_length":96,"hex_timestamp":"000001a049494630"} 
[2026-08-28 22:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:25:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 22:25: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-28 22:25:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":164112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":164112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":164112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:25:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711522048001,"66":25299,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711522048001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:25:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:25:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:25: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-28 22:25:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711522048001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":164112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:25:41] local.INFO: GPS data processed {"connection_id":164112,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:25:41] local.INFO: Acknowledgment sent {"connection_id":164112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:25:57] local.INFO: TCP Data received {"connection_id":165116,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0494b3e18012d196580071ff008003d013927..."} 
[2026-08-28 22:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0494b3e18012d196580071ff008003d013927..."} 
[2026-08-28 22:25:57] local.INFO: Processing buffer {"connection_id":165116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0494b3e18012d196580071ff008003d013927..."} 
[2026-08-28 22:25:57] local.INFO: Packet analysis {"connection_id":165116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0494b"} 
[2026-08-28 22:25:57] local.INFO: Extracted packet for processing {"connection_id":165116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0494b"} 
[2026-08-28 22:25:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:25:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:25:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711555072001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:25:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:25:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:25:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:25:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787936063000,"timestamp_ms":1787936063000,"timestamp_seconds":1787936063,"priority":1,"record_length":96,"hex_timestamp":"000001a0494b3e18"} 
[2026-08-28 22:25:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:25:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:25:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:25:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:25:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:25:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:25:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:25:57] local.INFO: Teltonika packet parsed successfully {"connection_id":165116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:25:57] local.INFO: Passing IMEI to GPS processor {"connection_id":165116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:25:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":165116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:25:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:25:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:25:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:25:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711555072001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 22:25:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:25:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:25:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711555072001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:25:57] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 22:25:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:25:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:25:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:25:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711555072001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:25:57] 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":710884,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:25:57] local.INFO: GPS data processed {"connection_id":165116,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:25:57] local.INFO: Acknowledgment sent {"connection_id":165116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:26:01] local.INFO: TCP Data received {"connection_id":164113,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164113,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:26:01] local.INFO: Processing buffer {"connection_id":164113,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:26:01] local.INFO: IMEI packet received {"connection_id":164113,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 22:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":164113,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:26:06] local.INFO: TCP Data received {"connection_id":164113,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164113,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:26:06] local.INFO: Processing buffer {"connection_id":164113,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:26:06] local.INFO: IMEI packet received {"connection_id":164113,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 22:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":164113,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:26:07] local.INFO: TCP Data received {"connection_id":164113,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0494bcea0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0494bcea0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:26:07] local.INFO: Processing buffer {"connection_id":164113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0494bcea0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:26:07] local.INFO: Packet analysis {"connection_id":164113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0494b"} 
[2026-08-28 22:26:07] local.INFO: Extracted packet for processing {"connection_id":164113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0494b"} 
[2026-08-28 22:26:07] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711564544001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:26:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:26:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787936100000,"timestamp_ms":1787936100000,"timestamp_seconds":1787936100,"priority":1,"record_length":96,"hex_timestamp":"000001a0494bcea0"} 
[2026-08-28 22:26:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:26:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 22:26:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:26:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:26:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":164113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":164113,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":164113,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:26:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711564544001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711564544001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:26:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:26:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:26:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711564544001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":164113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710885,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:26:07] local.INFO: GPS data processed {"connection_id":164113,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:26:07] local.INFO: Acknowledgment sent {"connection_id":164113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:26:11] local.INFO: TCP Data received {"connection_id":164113,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0494bcea0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0494bcea0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:26:11] local.INFO: Processing buffer {"connection_id":164113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0494bcea0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:26:11] local.INFO: Packet analysis {"connection_id":164113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0494b"} 
[2026-08-28 22:26:11] local.INFO: Extracted packet for processing {"connection_id":164113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0494b"} 
[2026-08-28 22:26:11] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711564544001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787936100000,"timestamp_ms":1787936100000,"timestamp_seconds":1787936100,"priority":1,"record_length":96,"hex_timestamp":"000001a0494bcea0"} 
[2026-08-28 22:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 22:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:26:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":164113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":164113,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":164113,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711564544001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711564544001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:26:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:26:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711564544001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":164113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710886,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:26:11] local.INFO: GPS data processed {"connection_id":164113,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:26:11] local.INFO: Acknowledgment sent {"connection_id":164113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:26:13] local.INFO: TCP Data received {"connection_id":164112,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049494630012d34c14006aa4840000600e62a..."} 
[2026-08-28 22:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049494630012d34c14006aa4840000600e62a..."} 
[2026-08-28 22:26:13] local.INFO: Processing buffer {"connection_id":164112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049494630012d34c14006aa4840000600e62a..."} 
[2026-08-28 22:26:13] local.INFO: Packet analysis {"connection_id":164112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04949"} 
[2026-08-28 22:26:13] local.INFO: Extracted packet for processing {"connection_id":164112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04949"} 
[2026-08-28 22:26:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":6,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:26:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711522048001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:26:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:26:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:26:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:26:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787935934000,"timestamp_ms":1787935934000,"timestamp_seconds":1787935934,"priority":1,"record_length":96,"hex_timestamp":"000001a049494630"} 
[2026-08-28 22: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-28 22:26:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22: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-28 22: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-28 22: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-28 22:26:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:26:13] local.INFO: Teltonika packet parsed successfully {"connection_id":164112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:26:13] local.INFO: Passing IMEI to GPS processor {"connection_id":164112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:26:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":164112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:26:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:26:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:26:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:26:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711522048001,"66":25299,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:26:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:26:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:26:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711522048001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:26:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:26:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22: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-28 22:26:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:26:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711522048001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:26:13] local.INFO: DEBUG: GPS processor result {"connection_id":164112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:26:13] local.INFO: GPS data processed {"connection_id":164112,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:26:13] local.INFO: Acknowledgment sent {"connection_id":164112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:26:19] local.INFO: TCP Data received {"connection_id":163832,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:26:19] local.INFO: Processing buffer {"connection_id":163832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:26:19] local.INFO: IMEI packet received {"connection_id":163832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 22:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":163832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:26:24] local.INFO: TCP Data received {"connection_id":163832,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:26:24] local.INFO: Processing buffer {"connection_id":163832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:26:24] local.INFO: IMEI packet received {"connection_id":163832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 22:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":163832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:26:25] local.INFO: TCP Data received {"connection_id":163832,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0494b3e18012d196580071ff008003d013927..."} 
[2026-08-28 22:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0494b3e18012d196580071ff008003d013927..."} 
[2026-08-28 22:26:25] local.INFO: Processing buffer {"connection_id":163832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0494b3e18012d196580071ff008003d013927..."} 
[2026-08-28 22:26:25] local.INFO: Packet analysis {"connection_id":163832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0494b"} 
[2026-08-28 22:26:25] local.INFO: Extracted packet for processing {"connection_id":163832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0494b"} 
[2026-08-28 22:26:25] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:26:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:26:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711555072001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:26:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:26:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:26:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:26:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787936063000,"timestamp_ms":1787936063000,"timestamp_seconds":1787936063,"priority":1,"record_length":96,"hex_timestamp":"000001a0494b3e18"} 
[2026-08-28 22:26:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:26:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:26:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:26:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:26:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:26:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:26:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:26:25] local.INFO: Teltonika packet parsed successfully {"connection_id":163832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:26:25] local.INFO: Passing IMEI to GPS processor {"connection_id":163832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:26:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":163832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:26:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:26:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:26:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:26:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711555072001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 22:26:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:26:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:26:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711555072001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:26:25] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 22:26:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:26:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:26:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:26:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711555072001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:26:26] local.INFO: DEBUG: GPS processor result {"connection_id":163832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710888,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:26:26] local.INFO: GPS data processed {"connection_id":163832,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:26:26] local.INFO: Acknowledgment sent {"connection_id":163832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:26:30] local.INFO: TCP Data received {"connection_id":163832,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0494b3e18012d196580071ff008003d013927..."} 
[2026-08-28 22:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0494b3e18012d196580071ff008003d013927..."} 
[2026-08-28 22:26:30] local.INFO: Processing buffer {"connection_id":163832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0494b3e18012d196580071ff008003d013927..."} 
[2026-08-28 22:26:30] local.INFO: Packet analysis {"connection_id":163832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0494b"} 
[2026-08-28 22:26:30] local.INFO: Extracted packet for processing {"connection_id":163832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0494b"} 
[2026-08-28 22:26:30] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711555072001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:26:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:26:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787936063000,"timestamp_ms":1787936063000,"timestamp_seconds":1787936063,"priority":1,"record_length":96,"hex_timestamp":"000001a0494b3e18"} 
[2026-08-28 22:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:26:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:26:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:26:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":163832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":163832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":163832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:26:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711555072001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 22:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711555072001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:26:30] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 22:26:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:26:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711555072001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":163832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710889,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:26:30] local.INFO: GPS data processed {"connection_id":163832,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:26:30] local.INFO: Acknowledgment sent {"connection_id":163832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:26:30] local.INFO: TCP Data received {"connection_id":165117,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:26:30] local.INFO: Processing buffer {"connection_id":165117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:26:30] local.INFO: IMEI packet received {"connection_id":165117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 22:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":165117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:26:35] local.INFO: TCP Data received {"connection_id":165117,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:26:35] local.INFO: Processing buffer {"connection_id":165117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:26:35] local.INFO: IMEI packet received {"connection_id":165117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 22:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":165117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:26:36] local.INFO: TCP Data received {"connection_id":165117,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049494630012d34c14006aa4840000600e62a..."} 
[2026-08-28 22:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049494630012d34c14006aa4840000600e62a..."} 
[2026-08-28 22:26:36] local.INFO: Processing buffer {"connection_id":165117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049494630012d34c14006aa4840000600e62a..."} 
[2026-08-28 22:26:36] local.INFO: Packet analysis {"connection_id":165117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04949"} 
[2026-08-28 22:26:36] local.INFO: Extracted packet for processing {"connection_id":165117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04949"} 
[2026-08-28 22:26:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":6,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711522048001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787935934000,"timestamp_ms":1787935934000,"timestamp_seconds":1787935934,"priority":1,"record_length":96,"hex_timestamp":"000001a049494630"} 
[2026-08-28 22:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 22:26:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:26:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":165117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":165117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":165117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:26:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711522048001,"66":25299,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711522048001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:26:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:26:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711522048001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":165117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:26:36] local.INFO: GPS data processed {"connection_id":165117,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:26:36] local.INFO: Acknowledgment sent {"connection_id":165117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:26:56] local.INFO: TCP Data received {"connection_id":164114,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164114,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:26:56] local.INFO: Processing buffer {"connection_id":164114,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:26:56] local.INFO: IMEI packet received {"connection_id":164114,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 22:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":164114,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:27:01] local.INFO: TCP Data received {"connection_id":164114,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164114,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:27:01] local.INFO: Processing buffer {"connection_id":164114,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:27:01] local.INFO: IMEI packet received {"connection_id":164114,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 22:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":164114,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:27:02] local.INFO: TCP Data received {"connection_id":164114,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0494bcea0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0494bcea0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:27:02] local.INFO: Processing buffer {"connection_id":164114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0494bcea0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:27:02] local.INFO: Packet analysis {"connection_id":164114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0494b"} 
[2026-08-28 22:27:02] local.INFO: Extracted packet for processing {"connection_id":164114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0494b"} 
[2026-08-28 22:27:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:27:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711564544001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:27:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:27:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:27:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:27:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787936100000,"timestamp_ms":1787936100000,"timestamp_seconds":1787936100,"priority":1,"record_length":96,"hex_timestamp":"000001a0494bcea0"} 
[2026-08-28 22:27:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:27:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 22:27:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:27:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:27:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:27:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:27:02] local.INFO: Teltonika packet parsed successfully {"connection_id":164114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:27:02] local.INFO: Passing IMEI to GPS processor {"connection_id":164114,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:27:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":164114,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:27:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:27:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:27:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:27:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711564544001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:27:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:27:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:27:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711564544001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:27:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:27:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:27:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:27:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:27:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711564544001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:27:02] local.INFO: DEBUG: GPS processor result {"connection_id":164114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710891,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:27:02] local.INFO: GPS data processed {"connection_id":164114,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:27:02] local.INFO: Acknowledgment sent {"connection_id":164114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:27:09] local.INFO: TCP Data received {"connection_id":165117,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049494630012d34c14006aa4840000600e62a..."} 
[2026-08-28 22:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049494630012d34c14006aa4840000600e62a..."} 
[2026-08-28 22:27:09] local.INFO: Processing buffer {"connection_id":165117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049494630012d34c14006aa4840000600e62a..."} 
[2026-08-28 22:27:09] local.INFO: Packet analysis {"connection_id":165117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04949"} 
[2026-08-28 22:27:09] local.INFO: Extracted packet for processing {"connection_id":165117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04949"} 
[2026-08-28 22:27:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":6,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711522048001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:27:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:27:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787935934000,"timestamp_ms":1787935934000,"timestamp_seconds":1787935934,"priority":1,"record_length":96,"hex_timestamp":"000001a049494630"} 
[2026-08-28 22:27:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:27:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:27:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 22:27:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:27:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:27:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":165117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":165117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":165117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:27:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711522048001,"66":25299,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711522048001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:27:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:27:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:27: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-28 22:27:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711522048001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":165117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:27:09] local.INFO: GPS data processed {"connection_id":165117,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:27:09] local.INFO: Acknowledgment sent {"connection_id":165117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:27:14] local.INFO: TCP Data received {"connection_id":163833,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163833,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:27:14] local.INFO: Processing buffer {"connection_id":163833,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:27:14] local.INFO: IMEI packet received {"connection_id":163833,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 22:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":163833,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:27:19] local.INFO: TCP Data received {"connection_id":163833,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163833,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:27:19] local.INFO: Processing buffer {"connection_id":163833,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:27:19] local.INFO: IMEI packet received {"connection_id":163833,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 22:27:19] local.INFO: IMEI acknowledgment sent {"connection_id":163833,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:27:20] local.INFO: TCP Data received {"connection_id":163833,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0494b3e18012d196580071ff008003d013927..."} 
[2026-08-28 22:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0494b3e18012d196580071ff008003d013927..."} 
[2026-08-28 22:27:20] local.INFO: Processing buffer {"connection_id":163833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0494b3e18012d196580071ff008003d013927..."} 
[2026-08-28 22:27:20] local.INFO: Packet analysis {"connection_id":163833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0494b"} 
[2026-08-28 22:27:20] local.INFO: Extracted packet for processing {"connection_id":163833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0494b"} 
[2026-08-28 22:27:20] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:27:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711555072001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:27:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:27:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:27:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:27:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787936063000,"timestamp_ms":1787936063000,"timestamp_seconds":1787936063,"priority":1,"record_length":96,"hex_timestamp":"000001a0494b3e18"} 
[2026-08-28 22:27:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:27:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:27:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:27:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:27:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:27:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:27:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:27:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:27:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:27:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:27:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:27:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:27:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711555072001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 22:27:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:27:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:27:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711555072001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:27:20] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 22:27:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:27:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:27:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:27:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711555072001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:27:20] local.INFO: DEBUG: GPS processor result {"connection_id":163833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710893,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:27:20] local.INFO: GPS data processed {"connection_id":163833,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:27:20] local.INFO: Acknowledgment sent {"connection_id":163833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:27:29] local.INFO: TCP Data received {"connection_id":164115,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:27:29] local.INFO: Processing buffer {"connection_id":164115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:27:29] local.INFO: IMEI packet received {"connection_id":164115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 22:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":164115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:27:34] local.INFO: TCP Data received {"connection_id":164114,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0494bcea0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0494bcea0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:27:34] local.INFO: Processing buffer {"connection_id":164114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0494bcea0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:27:34] local.INFO: Packet analysis {"connection_id":164114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0494b"} 
[2026-08-28 22:27:34] local.INFO: Extracted packet for processing {"connection_id":164114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0494b"} 
[2026-08-28 22:27:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:27:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711564544001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:27:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:27:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:27:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:27:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787936100000,"timestamp_ms":1787936100000,"timestamp_seconds":1787936100,"priority":1,"record_length":96,"hex_timestamp":"000001a0494bcea0"} 
[2026-08-28 22:27:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:27:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 22:27:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:27:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:27:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:27:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:27:34] local.INFO: Teltonika packet parsed successfully {"connection_id":164114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:27:34] local.INFO: Passing IMEI to GPS processor {"connection_id":164114,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:27:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":164114,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:27:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:27:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:27:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:27:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711564544001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:27:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:27:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:27:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711564544001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:27:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:27:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:27:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:27:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:27:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711564544001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:27:34] local.INFO: DEBUG: GPS processor result {"connection_id":164114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710894,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:27:34] local.INFO: GPS data processed {"connection_id":164114,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:27:34] local.INFO: Acknowledgment sent {"connection_id":164114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:27:39] local.INFO: TCP Data received {"connection_id":164115,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:27:39] local.INFO: Processing buffer {"connection_id":164115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:27:39] local.INFO: IMEI packet received {"connection_id":164115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 22:27:39] local.INFO: IMEI acknowledgment sent {"connection_id":164115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:27:42] local.INFO: TCP Data received {"connection_id":164115,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049494630012d34c14006aa4840000600e62a..."} 
[2026-08-28 22:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049494630012d34c14006aa4840000600e62a..."} 
[2026-08-28 22:27:42] local.INFO: Processing buffer {"connection_id":164115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049494630012d34c14006aa4840000600e62a..."} 
[2026-08-28 22:27:42] local.INFO: Packet analysis {"connection_id":164115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04949"} 
[2026-08-28 22:27:42] local.INFO: Extracted packet for processing {"connection_id":164115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04949"} 
[2026-08-28 22:27:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":6,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 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-28 22:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711522048001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:27:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787935934000,"timestamp_ms":1787935934000,"timestamp_seconds":1787935934,"priority":1,"record_length":96,"hex_timestamp":"000001a049494630"} 
[2026-08-28 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-28 22:27:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 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-28 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-28 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-28 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-28 22:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":164115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":164115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":164115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711522048001,"66":25299,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711522048001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:27:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:27:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 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-28 22:27:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711522048001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":164115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:27:42] local.INFO: GPS data processed {"connection_id":164115,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:27:42] local.INFO: Acknowledgment sent {"connection_id":164115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:27:52] local.INFO: TCP Data received {"connection_id":163833,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0494b3e18012d196580071ff008003d013927..."} 
[2026-08-28 22:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0494b3e18012d196580071ff008003d013927..."} 
[2026-08-28 22:27:52] local.INFO: Processing buffer {"connection_id":163833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0494b3e18012d196580071ff008003d013927..."} 
[2026-08-28 22:27:52] local.INFO: Packet analysis {"connection_id":163833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0494b"} 
[2026-08-28 22:27:52] local.INFO: Extracted packet for processing {"connection_id":163833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0494b"} 
[2026-08-28 22:27:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:27:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:27:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711555072001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:27:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:27:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:27:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:27:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787936063000,"timestamp_ms":1787936063000,"timestamp_seconds":1787936063,"priority":1,"record_length":96,"hex_timestamp":"000001a0494b3e18"} 
[2026-08-28 22:27:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:27:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:27:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:27:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:27:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:27:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:27:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:27:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:27:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:27:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:27:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:27:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:27:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:27:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711555072001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 22:27:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:27:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:27:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711555072001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:27:52] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 22:27:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:27:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:27:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:27:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711555072001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:27:52] local.INFO: DEBUG: GPS processor result {"connection_id":163833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710896,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:27:52] local.INFO: GPS data processed {"connection_id":163833,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:27:52] local.INFO: Acknowledgment sent {"connection_id":163833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:27:55] local.INFO: TCP Data received {"connection_id":165118,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165118,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:27:55] local.INFO: Processing buffer {"connection_id":165118,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:27:55] local.INFO: IMEI packet received {"connection_id":165118,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 22:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":165118,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:28:01] local.INFO: TCP Data received {"connection_id":165118,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165118,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:28:01] local.INFO: Processing buffer {"connection_id":165118,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:28:01] local.INFO: IMEI packet received {"connection_id":165118,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 22:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":165118,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:28:02] local.INFO: TCP Data received {"connection_id":165118,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0494bcea0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0494bcea0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:28:02] local.INFO: Processing buffer {"connection_id":165118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0494bcea0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:28:02] local.INFO: Packet analysis {"connection_id":165118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0494b"} 
[2026-08-28 22:28:02] local.INFO: Extracted packet for processing {"connection_id":165118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0494b"} 
[2026-08-28 22:28:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711564544001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:28:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:28:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787936100000,"timestamp_ms":1787936100000,"timestamp_seconds":1787936100,"priority":1,"record_length":96,"hex_timestamp":"000001a0494bcea0"} 
[2026-08-28 22:28:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:28:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 22:28:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:28:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:28:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":165118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":165118,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":165118,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:28:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711564544001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711564544001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:28:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:28:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:28:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:28:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:28:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711564544001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:28:02] 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":710897,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:28:02] local.INFO: GPS data processed {"connection_id":165118,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:28:02] local.INFO: Acknowledgment sent {"connection_id":165118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:28:12] local.INFO: TCP Data received {"connection_id":164115,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0494dddf8012d34c14006aa4840000b00e62b..."} 
[2026-08-28 22:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0494dddf8012d34c14006aa4840000b00e62b..."} 
[2026-08-28 22:28:12] local.INFO: Processing buffer {"connection_id":164115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0494dddf8012d34c14006aa4840000b00e62b..."} 
[2026-08-28 22:28:12] local.INFO: Packet analysis {"connection_id":164115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0494d"} 
[2026-08-28 22:28:12] local.INFO: Extracted packet for processing {"connection_id":164115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0494d"} 
[2026-08-28 22:28:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:28:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711599104001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:28:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:28:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:28:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:28:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787936235000,"timestamp_ms":1787936235000,"timestamp_seconds":1787936235,"priority":1,"record_length":96,"hex_timestamp":"000001a0494dddf8"} 
[2026-08-28 22:28:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:28:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 22:28:12] 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-28 22:28:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:28:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:28:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:28:12] local.INFO: Teltonika packet parsed successfully {"connection_id":164115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:28:12] local.INFO: Passing IMEI to GPS processor {"connection_id":164115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:28:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":164115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:28:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:28:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:28:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:28:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711599104001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:28:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:28:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:28:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711599104001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:28:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:28:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:28: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-28 22:28:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:28:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711599104001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":164115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:28:12] local.INFO: GPS data processed {"connection_id":164115,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:28:12] local.INFO: Acknowledgment sent {"connection_id":164115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:28:14] local.INFO: TCP Data received {"connection_id":163834,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163834,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:28:14] local.INFO: Processing buffer {"connection_id":163834,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:28:14] local.INFO: IMEI packet received {"connection_id":163834,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 22:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":163834,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:28:19] local.INFO: TCP Data received {"connection_id":163834,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163834,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:28:19] local.INFO: Processing buffer {"connection_id":163834,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:28:19] local.INFO: IMEI packet received {"connection_id":163834,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 22:28:19] local.INFO: IMEI acknowledgment sent {"connection_id":163834,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:28:20] local.INFO: TCP Data received {"connection_id":163834,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0494b3e18012d196580071ff008003d013927..."} 
[2026-08-28 22:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0494b3e18012d196580071ff008003d013927..."} 
[2026-08-28 22:28:20] local.INFO: Processing buffer {"connection_id":163834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0494b3e18012d196580071ff008003d013927..."} 
[2026-08-28 22:28:20] local.INFO: Packet analysis {"connection_id":163834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0494b"} 
[2026-08-28 22:28:20] local.INFO: Extracted packet for processing {"connection_id":163834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0494b"} 
[2026-08-28 22:28:20] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711555072001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:28:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787936063000,"timestamp_ms":1787936063000,"timestamp_seconds":1787936063,"priority":1,"record_length":96,"hex_timestamp":"000001a0494b3e18"} 
[2026-08-28 22:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:28:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:28:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:28:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:28:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711555072001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 22:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711555072001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:28:20] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 22:28:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:28:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711555072001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":163834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710899,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:28:20] local.INFO: GPS data processed {"connection_id":163834,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:28:20] local.INFO: Acknowledgment sent {"connection_id":163834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:28:34] local.INFO: TCP Data received {"connection_id":165118,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0494bcea0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0494bcea0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:28:34] local.INFO: Processing buffer {"connection_id":165118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0494bcea0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:28:34] local.INFO: Packet analysis {"connection_id":165118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0494b"} 
[2026-08-28 22:28:34] local.INFO: Extracted packet for processing {"connection_id":165118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0494b"} 
[2026-08-28 22:28:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711564544001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:28:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787936100000,"timestamp_ms":1787936100000,"timestamp_seconds":1787936100,"priority":1,"record_length":96,"hex_timestamp":"000001a0494bcea0"} 
[2026-08-28 22:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:28:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 22:28:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:28:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":165118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":165118,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":165118,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:28:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711564544001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711564544001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:28:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:28:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:28:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711564544001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:28:34] 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":710900,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:28:34] local.INFO: GPS data processed {"connection_id":165118,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:28:34] local.INFO: Acknowledgment sent {"connection_id":165118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:28:35] local.INFO: TCP Data received {"connection_id":166482,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:28:35] local.INFO: Processing buffer {"connection_id":166482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:28:35] local.INFO: IMEI packet received {"connection_id":166482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 22:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":166482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:28:40] local.INFO: TCP Data received {"connection_id":166482,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:28:40] local.INFO: Processing buffer {"connection_id":166482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:28:40] local.INFO: IMEI packet received {"connection_id":166482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 22:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":166482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:28:41] local.INFO: TCP Data received {"connection_id":166482,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0494dddf8012d34c14006aa4840000b00e62b..."} 
[2026-08-28 22:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0494dddf8012d34c14006aa4840000b00e62b..."} 
[2026-08-28 22:28:41] local.INFO: Processing buffer {"connection_id":166482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0494dddf8012d34c14006aa4840000b00e62b..."} 
[2026-08-28 22:28:41] local.INFO: Packet analysis {"connection_id":166482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0494d"} 
[2026-08-28 22:28:41] local.INFO: Extracted packet for processing {"connection_id":166482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0494d"} 
[2026-08-28 22:28:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711599104001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:28:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:28:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787936235000,"timestamp_ms":1787936235000,"timestamp_seconds":1787936235,"priority":1,"record_length":96,"hex_timestamp":"000001a0494dddf8"} 
[2026-08-28 22:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:28:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 22:28: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-28 22:28:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":166482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":166482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":166482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:28:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711599104001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711599104001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:28:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:28:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:28: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-28 22:28:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711599104001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":166482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:28:41] local.INFO: GPS data processed {"connection_id":166482,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:28:41] local.INFO: Acknowledgment sent {"connection_id":166482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:28:45] local.INFO: TCP Data received {"connection_id":166482,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0494dddf8012d34c14006aa4840000b00e62b..."} 
[2026-08-28 22:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0494dddf8012d34c14006aa4840000b00e62b..."} 
[2026-08-28 22:28:45] local.INFO: Processing buffer {"connection_id":166482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0494dddf8012d34c14006aa4840000b00e62b..."} 
[2026-08-28 22:28:45] local.INFO: Packet analysis {"connection_id":166482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0494d"} 
[2026-08-28 22:28:45] local.INFO: Extracted packet for processing {"connection_id":166482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0494d"} 
[2026-08-28 22:28:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:28:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711599104001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:28:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:28:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:28:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:28:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787936235000,"timestamp_ms":1787936235000,"timestamp_seconds":1787936235,"priority":1,"record_length":96,"hex_timestamp":"000001a0494dddf8"} 
[2026-08-28 22: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-28 22:28:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22: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":211,"data_length":795,"current_offset":136} 
[2026-08-28 22:28:45] 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-28 22: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-28 22: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-28 22:28:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:28:45] local.INFO: Teltonika packet parsed successfully {"connection_id":166482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:28:45] local.INFO: Passing IMEI to GPS processor {"connection_id":166482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:28:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":166482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:28:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:28:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:28:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:28:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711599104001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:28:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:28:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:28:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711599104001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:28:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:28:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22: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-28 22:28:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:28:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711599104001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:28:45] local.INFO: DEBUG: GPS processor result {"connection_id":166482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:28:45] local.INFO: GPS data processed {"connection_id":166482,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:28:45] local.INFO: Acknowledgment sent {"connection_id":166482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:28:52] local.INFO: TCP Data received {"connection_id":163834,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0494b3e18012d196580071ff008003d013927..."} 
[2026-08-28 22:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0494b3e18012d196580071ff008003d013927..."} 
[2026-08-28 22:28:52] local.INFO: Processing buffer {"connection_id":163834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0494b3e18012d196580071ff008003d013927..."} 
[2026-08-28 22:28:52] local.INFO: Packet analysis {"connection_id":163834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0494b"} 
[2026-08-28 22:28:52] local.INFO: Extracted packet for processing {"connection_id":163834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0494b"} 
[2026-08-28 22:28:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:28:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711555072001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:28:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:28:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:28:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:28:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787936063000,"timestamp_ms":1787936063000,"timestamp_seconds":1787936063,"priority":1,"record_length":96,"hex_timestamp":"000001a0494b3e18"} 
[2026-08-28 22: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-28 22:28:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:28:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22: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-28 22: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-28 22:28:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:28:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:28:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:28:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:28:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:28:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:28:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:28:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711555072001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 22:28:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:28:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:28:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711555072001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:28:52] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 22:28:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:28:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:28:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:28:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711555072001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:28:52] local.INFO: DEBUG: GPS processor result {"connection_id":163834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710903,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:28:52] local.INFO: GPS data processed {"connection_id":163834,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:28:52] local.INFO: Acknowledgment sent {"connection_id":163834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:28:55] local.INFO: TCP Data received {"connection_id":165119,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165119,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:28:55] local.INFO: Processing buffer {"connection_id":165119,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:28:55] local.INFO: IMEI packet received {"connection_id":165119,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 22:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":165119,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:29:01] local.INFO: TCP Data received {"connection_id":165119,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165119,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:29:01] local.INFO: Processing buffer {"connection_id":165119,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:29:01] local.INFO: IMEI packet received {"connection_id":165119,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 22:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":165119,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:29:02] local.INFO: TCP Data received {"connection_id":165119,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0494bcea0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0494bcea0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:29:02] local.INFO: Processing buffer {"connection_id":165119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0494bcea0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:29:02] local.INFO: Packet analysis {"connection_id":165119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0494b"} 
[2026-08-28 22:29:02] local.INFO: Extracted packet for processing {"connection_id":165119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0494b"} 
[2026-08-28 22:29:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:29:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711564544001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:29:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:29:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787936100000,"timestamp_ms":1787936100000,"timestamp_seconds":1787936100,"priority":1,"record_length":96,"hex_timestamp":"000001a0494bcea0"} 
[2026-08-28 22:29:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:29:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:29:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 22:29:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:29:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:29:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":165119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":165119,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":165119,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:29:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711564544001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711564544001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:29:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:29:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:29:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:29:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711564544001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:29:02] 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":710904,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:29:02] local.INFO: GPS data processed {"connection_id":165119,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:29:02] local.INFO: Acknowledgment sent {"connection_id":165119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:29:14] local.INFO: TCP Data received {"connection_id":163835,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:29:14] local.INFO: Processing buffer {"connection_id":163835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:29:14] local.INFO: IMEI packet received {"connection_id":163835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 22:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":163835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:29:19] local.INFO: TCP Data received {"connection_id":163835,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:29:19] local.INFO: Processing buffer {"connection_id":163835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:29:19] local.INFO: IMEI packet received {"connection_id":163835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 22:29:19] local.INFO: IMEI acknowledgment sent {"connection_id":163835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:29:20] local.INFO: TCP Data received {"connection_id":163835,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0494b3e18012d196580071ff008003d013927..."} 
[2026-08-28 22:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0494b3e18012d196580071ff008003d013927..."} 
[2026-08-28 22:29:20] local.INFO: Processing buffer {"connection_id":163835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0494b3e18012d196580071ff008003d013927..."} 
[2026-08-28 22:29:20] local.INFO: Packet analysis {"connection_id":163835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0494b"} 
[2026-08-28 22:29:20] local.INFO: Extracted packet for processing {"connection_id":163835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0494b"} 
[2026-08-28 22:29:20] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:29:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711555072001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:29:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:29:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:29:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:29:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787936063000,"timestamp_ms":1787936063000,"timestamp_seconds":1787936063,"priority":1,"record_length":96,"hex_timestamp":"000001a0494b3e18"} 
[2026-08-28 22: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-28 22:29:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:29:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:29:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22: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-28 22: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-28 22:29:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:29:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:29:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:29:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:29:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:29:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:29:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:29:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711555072001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 22:29:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:29:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:29:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711555072001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:29:20] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 22:29:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:29:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:29:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:29:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711555072001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:29:20] local.INFO: DEBUG: GPS processor result {"connection_id":163835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710905,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:29:20] local.INFO: GPS data processed {"connection_id":163835,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:29:20] local.INFO: Acknowledgment sent {"connection_id":163835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:29:30] local.INFO: TCP Data received {"connection_id":164116,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:29:30] local.INFO: Processing buffer {"connection_id":164116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:29:30] local.INFO: IMEI packet received {"connection_id":164116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 22:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":164116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:29:34] local.INFO: TCP Data received {"connection_id":165119,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0494bcea0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0494bcea0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:29:34] local.INFO: Processing buffer {"connection_id":165119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0494bcea0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:29:34] local.INFO: Packet analysis {"connection_id":165119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0494b"} 
[2026-08-28 22:29:34] local.INFO: Extracted packet for processing {"connection_id":165119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0494b"} 
[2026-08-28 22:29:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711564544001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:29:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787936100000,"timestamp_ms":1787936100000,"timestamp_seconds":1787936100,"priority":1,"record_length":96,"hex_timestamp":"000001a0494bcea0"} 
[2026-08-28 22:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:29:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 22:29:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:29:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":165119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":165119,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":165119,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711564544001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711564544001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:29:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:29:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711564544001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:29:34] 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":710906,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:29:34] local.INFO: GPS data processed {"connection_id":165119,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:29:34] local.INFO: Acknowledgment sent {"connection_id":165119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:29:35] local.INFO: TCP Data received {"connection_id":164116,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:29:35] local.INFO: Processing buffer {"connection_id":164116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:29:35] local.INFO: IMEI packet received {"connection_id":164116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 22:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":164116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:29:37] local.INFO: TCP Data received {"connection_id":164116,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0494dddf8012d34c14006aa4840000b00e62b..."} 
[2026-08-28 22:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0494dddf8012d34c14006aa4840000b00e62b..."} 
[2026-08-28 22:29:37] local.INFO: Processing buffer {"connection_id":164116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0494dddf8012d34c14006aa4840000b00e62b..."} 
[2026-08-28 22:29:37] local.INFO: Packet analysis {"connection_id":164116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0494d"} 
[2026-08-28 22:29:37] local.INFO: Extracted packet for processing {"connection_id":164116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0494d"} 
[2026-08-28 22:29:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711599104001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787936235000,"timestamp_ms":1787936235000,"timestamp_seconds":1787936235,"priority":1,"record_length":96,"hex_timestamp":"000001a0494dddf8"} 
[2026-08-28 22:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 22:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711599104001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711599104001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:29:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:29:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:29: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-28 22:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711599104001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":164116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:29:37] local.INFO: GPS data processed {"connection_id":164116,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:29:37] local.INFO: Acknowledgment sent {"connection_id":164116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:29:52] local.INFO: TCP Data received {"connection_id":163835,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0494b3e18012d196580071ff008003d013927..."} 
[2026-08-28 22:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0494b3e18012d196580071ff008003d013927..."} 
[2026-08-28 22:29:52] local.INFO: Processing buffer {"connection_id":163835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0494b3e18012d196580071ff008003d013927..."} 
[2026-08-28 22:29:52] local.INFO: Packet analysis {"connection_id":163835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0494b"} 
[2026-08-28 22:29:52] local.INFO: Extracted packet for processing {"connection_id":163835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0494b"} 
[2026-08-28 22:29:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:29:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711555072001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:29:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:29:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:29:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:29:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787936063000,"timestamp_ms":1787936063000,"timestamp_seconds":1787936063,"priority":1,"record_length":96,"hex_timestamp":"000001a0494b3e18"} 
[2026-08-28 22:29:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:29:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:29:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:29:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:29:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:29:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:29:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:29:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:29:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:29:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:29:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:29:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:29:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711555072001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 22:29:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:29:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:29:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711555072001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:29:52] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 22:29:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:29:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:29:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:29:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711555072001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:29:52] local.INFO: DEBUG: GPS processor result {"connection_id":163835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710908,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:29:52] local.INFO: GPS data processed {"connection_id":163835,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:29:52] local.INFO: Acknowledgment sent {"connection_id":163835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:29:55] local.INFO: TCP Data received {"connection_id":164117,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164117,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:29:55] local.INFO: Processing buffer {"connection_id":164117,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:29:55] local.INFO: IMEI packet received {"connection_id":164117,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 22:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":164117,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:30:01] local.INFO: TCP Data received {"connection_id":164117,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164117,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:30:01] local.INFO: Processing buffer {"connection_id":164117,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:30:01] local.INFO: IMEI packet received {"connection_id":164117,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 22:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":164117,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:30:03] local.INFO: TCP Data received {"connection_id":164117,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0494bcea0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0494bcea0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:30:03] local.INFO: Processing buffer {"connection_id":164117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0494bcea0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:30:03] local.INFO: Packet analysis {"connection_id":164117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0494b"} 
[2026-08-28 22:30:03] local.INFO: Extracted packet for processing {"connection_id":164117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0494b"} 
[2026-08-28 22:30:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711564544001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787936100000,"timestamp_ms":1787936100000,"timestamp_seconds":1787936100,"priority":1,"record_length":96,"hex_timestamp":"000001a0494bcea0"} 
[2026-08-28 22:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:30:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 22:30:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:30:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":164117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":164117,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":164117,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711564544001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711564544001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:30:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:30:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711564544001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":164117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710909,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:30:03] local.INFO: GPS data processed {"connection_id":164117,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:30:03] local.INFO: Acknowledgment sent {"connection_id":164117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:30:09] local.INFO: TCP Data received {"connection_id":164116,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0494dddf8012d34c14006aa4840000b00e62b..."} 
[2026-08-28 22:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0494dddf8012d34c14006aa4840000b00e62b..."} 
[2026-08-28 22:30:09] local.INFO: Processing buffer {"connection_id":164116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0494dddf8012d34c14006aa4840000b00e62b..."} 
[2026-08-28 22:30:09] local.INFO: Packet analysis {"connection_id":164116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0494d"} 
[2026-08-28 22:30:09] local.INFO: Extracted packet for processing {"connection_id":164116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0494d"} 
[2026-08-28 22:30:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711599104001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:30:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:30:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:30:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:30:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787936235000,"timestamp_ms":1787936235000,"timestamp_seconds":1787936235,"priority":1,"record_length":96,"hex_timestamp":"000001a0494dddf8"} 
[2026-08-28 22:30:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:30:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 22:30:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:30:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:30:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:30:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:30:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:30:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:30:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:30:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:30:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:30:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711599104001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711599104001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:30:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:30:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:30: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-28 22:30:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:30:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711599104001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:30:09] local.INFO: DEBUG: GPS processor result {"connection_id":164116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:30:09] local.INFO: GPS data processed {"connection_id":164116,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:30:09] local.INFO: Acknowledgment sent {"connection_id":164116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:30:19] local.INFO: TCP Data received {"connection_id":164118,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:30:19] local.INFO: Processing buffer {"connection_id":164118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:30:19] local.INFO: IMEI packet received {"connection_id":164118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 22:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":164118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:30:24] local.INFO: TCP Data received {"connection_id":164118,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:30:24] local.INFO: Processing buffer {"connection_id":164118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:30:24] local.INFO: IMEI packet received {"connection_id":164118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 22:30:24] local.INFO: IMEI acknowledgment sent {"connection_id":164118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:30:26] local.INFO: TCP Data received {"connection_id":164118,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0494fd5e0012d196580071ff008003d013928..."} 
[2026-08-28 22:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0494fd5e0012d196580071ff008003d013928..."} 
[2026-08-28 22:30:26] local.INFO: Processing buffer {"connection_id":164118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0494fd5e0012d196580071ff008003d013928..."} 
[2026-08-28 22:30:26] local.INFO: Packet analysis {"connection_id":164118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0494f"} 
[2026-08-28 22:30:26] local.INFO: Extracted packet for processing {"connection_id":164118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0494f"} 
[2026-08-28 22:30:26] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:30:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:30:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711632128001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:30:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:30:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:30:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:30:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787936364000,"timestamp_ms":1787936364000,"timestamp_seconds":1787936364,"priority":1,"record_length":96,"hex_timestamp":"000001a0494fd5e0"} 
[2026-08-28 22:30:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:30:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:30:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:30:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:30:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:30:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:30:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:30:26] local.INFO: Teltonika packet parsed successfully {"connection_id":164118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:30:26] local.INFO: Passing IMEI to GPS processor {"connection_id":164118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:30:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":164118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:30:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:30:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:30:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:30:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711632128001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 22:30:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:30:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:30:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711632128001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:30:26] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 22:30:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:30:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:30:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:30:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711632128001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:30:26] local.INFO: DEBUG: GPS processor result {"connection_id":164118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710911,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:30:26] local.INFO: GPS data processed {"connection_id":164118,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:30:26] local.INFO: Acknowledgment sent {"connection_id":164118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:30:29] local.INFO: TCP Data received {"connection_id":165120,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:30:29] local.INFO: Processing buffer {"connection_id":165120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:30:29] local.INFO: IMEI packet received {"connection_id":165120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 22:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":165120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:30:34] local.INFO: TCP Data received {"connection_id":164117,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0494bcea0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0494bcea0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:30:34] local.INFO: Processing buffer {"connection_id":164117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0494bcea0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:30:34] local.INFO: Packet analysis {"connection_id":164117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0494b"} 
[2026-08-28 22:30:34] local.INFO: Extracted packet for processing {"connection_id":164117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0494b"} 
[2026-08-28 22:30:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711564544001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787936100000,"timestamp_ms":1787936100000,"timestamp_seconds":1787936100,"priority":1,"record_length":96,"hex_timestamp":"000001a0494bcea0"} 
[2026-08-28 22:30:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:30:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 22:30:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:30:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:30:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":164117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":164117,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":164117,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711564544001,"66":25278,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711564544001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:30:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:30:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711564544001,"power":25278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":164117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710912,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:30:35] local.INFO: GPS data processed {"connection_id":164117,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:30:35] local.INFO: Acknowledgment sent {"connection_id":164117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:30:35] local.INFO: TCP Data received {"connection_id":165120,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:30:35] local.INFO: Processing buffer {"connection_id":165120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:30:35] local.INFO: IMEI packet received {"connection_id":165120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 22:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":165120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:30:35] local.INFO: TCP Data received {"connection_id":164118,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0494fd5e0012d196580071ff008003d013928..."} 
[2026-08-28 22:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0494fd5e0012d196580071ff008003d013928..."} 
[2026-08-28 22:30:35] local.INFO: Processing buffer {"connection_id":164118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0494fd5e0012d196580071ff008003d013928..."} 
[2026-08-28 22:30:35] local.INFO: Packet analysis {"connection_id":164118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0494f"} 
[2026-08-28 22:30:35] local.INFO: Extracted packet for processing {"connection_id":164118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0494f"} 
[2026-08-28 22:30:35] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711632128001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:30:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:30:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787936364000,"timestamp_ms":1787936364000,"timestamp_seconds":1787936364,"priority":1,"record_length":96,"hex_timestamp":"000001a0494fd5e0"} 
[2026-08-28 22:30:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:30:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:30:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:30:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:30:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":164118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":164118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":164118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:30:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:30:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711632128001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 22:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711632128001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:30:35] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 22:30:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:30:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711632128001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":164118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710913,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:30:35] local.INFO: GPS data processed {"connection_id":164118,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:30:35] local.INFO: Acknowledgment sent {"connection_id":164118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:30:36] local.INFO: TCP Data received {"connection_id":165120,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0494dddf8012d34c14006aa4840000b00e62b..."} 
[2026-08-28 22:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0494dddf8012d34c14006aa4840000b00e62b..."} 
[2026-08-28 22:30:36] local.INFO: Processing buffer {"connection_id":165120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0494dddf8012d34c14006aa4840000b00e62b..."} 
[2026-08-28 22:30:36] local.INFO: Packet analysis {"connection_id":165120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0494d"} 
[2026-08-28 22:30:36] local.INFO: Extracted packet for processing {"connection_id":165120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0494d"} 
[2026-08-28 22:30:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711599104001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:30:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787936235000,"timestamp_ms":1787936235000,"timestamp_seconds":1787936235,"priority":1,"record_length":96,"hex_timestamp":"000001a0494dddf8"} 
[2026-08-28 22:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:30:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 22:30:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:30:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":165120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":165120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":165120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:30:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711599104001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711599104001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:30:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:30:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711599104001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:30:36] 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":710914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:30:36] local.INFO: GPS data processed {"connection_id":165120,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:30:36] local.INFO: Acknowledgment sent {"connection_id":165120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:31:01] local.INFO: TCP Data received {"connection_id":164119,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164119,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:31:01] local.INFO: Processing buffer {"connection_id":164119,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:31:01] local.INFO: IMEI packet received {"connection_id":164119,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 22:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":164119,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:31:06] local.INFO: TCP Data received {"connection_id":164119,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164119,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:31:06] local.INFO: Processing buffer {"connection_id":164119,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:31:06] local.INFO: IMEI packet received {"connection_id":164119,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 22:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":164119,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:31:07] local.INFO: TCP Data received {"connection_id":164119,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049506a50012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049506a50012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:31:07] local.INFO: Processing buffer {"connection_id":164119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049506a50012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:31:07] local.INFO: Packet analysis {"connection_id":164119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04950"} 
[2026-08-28 22:31:07] local.INFO: Extracted packet for processing {"connection_id":164119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04950"} 
[2026-08-28 22:31:07] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711641600001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:31:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787936402000,"timestamp_ms":1787936402000,"timestamp_seconds":1787936402,"priority":1,"record_length":96,"hex_timestamp":"000001a049506a50"} 
[2026-08-28 22:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:31:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 22:31:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:31:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":164119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":164119,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":164119,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711641600001,"66":25267,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 22:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711641600001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:31:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 22:31:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711641600001,"power":25267,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":164119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710915,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:31:07] local.INFO: GPS data processed {"connection_id":164119,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:31:07] local.INFO: Acknowledgment sent {"connection_id":164119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:31:08] local.INFO: TCP Data received {"connection_id":165120,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0494dddf8012d34c14006aa4840000b00e62b..."} 
[2026-08-28 22:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0494dddf8012d34c14006aa4840000b00e62b..."} 
[2026-08-28 22:31:08] local.INFO: Processing buffer {"connection_id":165120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0494dddf8012d34c14006aa4840000b00e62b..."} 
[2026-08-28 22:31:08] local.INFO: Packet analysis {"connection_id":165120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0494d"} 
[2026-08-28 22:31:08] local.INFO: Extracted packet for processing {"connection_id":165120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0494d"} 
[2026-08-28 22:31:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711599104001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:31:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787936235000,"timestamp_ms":1787936235000,"timestamp_seconds":1787936235,"priority":1,"record_length":96,"hex_timestamp":"000001a0494dddf8"} 
[2026-08-28 22: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-28 22:31:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 22:31:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22: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-28 22: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-28 22:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":165120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":165120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":165120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711599104001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711599104001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:31:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:31:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22: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-28 22:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711599104001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:31:08] 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":710916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:31:08] local.INFO: GPS data processed {"connection_id":165120,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:31:08] local.INFO: Acknowledgment sent {"connection_id":165120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:31:11] local.INFO: TCP Data received {"connection_id":164119,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049506a50012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049506a50012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:31:11] local.INFO: Processing buffer {"connection_id":164119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049506a50012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:31:11] local.INFO: Packet analysis {"connection_id":164119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04950"} 
[2026-08-28 22:31:11] local.INFO: Extracted packet for processing {"connection_id":164119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04950"} 
[2026-08-28 22:31:11] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711641600001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:31:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787936402000,"timestamp_ms":1787936402000,"timestamp_seconds":1787936402,"priority":1,"record_length":96,"hex_timestamp":"000001a049506a50"} 
[2026-08-28 22: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-28 22:31:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22: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":190,"data_length":795,"current_offset":136} 
[2026-08-28 22:31:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22: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-28 22: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-28 22:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":164119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":164119,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":164119,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:31:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711641600001,"66":25267,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 22:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711641600001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:31:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 22:31:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711641600001,"power":25267,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":164119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710917,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:31:11] local.INFO: GPS data processed {"connection_id":164119,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:31:11] local.INFO: Acknowledgment sent {"connection_id":164119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:31:14] local.INFO: TCP Data received {"connection_id":165121,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165121,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:31:14] local.INFO: Processing buffer {"connection_id":165121,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:31:14] local.INFO: IMEI packet received {"connection_id":165121,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 22:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":165121,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:31:19] local.INFO: TCP Data received {"connection_id":165121,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165121,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:31:19] local.INFO: Processing buffer {"connection_id":165121,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:31:19] local.INFO: IMEI packet received {"connection_id":165121,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 22:31:19] local.INFO: IMEI acknowledgment sent {"connection_id":165121,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:31:20] local.INFO: TCP Data received {"connection_id":165121,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0494fd5e0012d196580071ff008003d013928..."} 
[2026-08-28 22:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0494fd5e0012d196580071ff008003d013928..."} 
[2026-08-28 22:31:20] local.INFO: Processing buffer {"connection_id":165121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0494fd5e0012d196580071ff008003d013928..."} 
[2026-08-28 22:31:20] local.INFO: Packet analysis {"connection_id":165121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0494f"} 
[2026-08-28 22:31:20] local.INFO: Extracted packet for processing {"connection_id":165121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0494f"} 
[2026-08-28 22:31:20] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:31:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711632128001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:31:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:31:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:31:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:31:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787936364000,"timestamp_ms":1787936364000,"timestamp_seconds":1787936364,"priority":1,"record_length":96,"hex_timestamp":"000001a0494fd5e0"} 
[2026-08-28 22: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-28 22:31:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:31:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22: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-28 22: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-28 22:31:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:31:20] local.INFO: Teltonika packet parsed successfully {"connection_id":165121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:31:20] local.INFO: Passing IMEI to GPS processor {"connection_id":165121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:31:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":165121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:31:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:31:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:31:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:31:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711632128001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 22:31:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:31:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:31:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711632128001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:31:20] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 22:31:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:31:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:31:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:31:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711632128001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:31:20] 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":710918,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:31:20] local.INFO: GPS data processed {"connection_id":165121,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:31:20] local.INFO: Acknowledgment sent {"connection_id":165121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:31:29] local.INFO: TCP Data received {"connection_id":164120,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:31:29] local.INFO: Processing buffer {"connection_id":164120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:31:29] local.INFO: IMEI packet received {"connection_id":164120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 22:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":164120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:31:35] local.INFO: TCP Data received {"connection_id":164120,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:31:35] local.INFO: Processing buffer {"connection_id":164120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:31:35] local.INFO: IMEI packet received {"connection_id":164120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 22:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":164120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:31:37] local.INFO: TCP Data received {"connection_id":164120,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0494dddf8012d34c14006aa4840000b00e62b..."} 
[2026-08-28 22:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0494dddf8012d34c14006aa4840000b00e62b..."} 
[2026-08-28 22:31:37] local.INFO: Processing buffer {"connection_id":164120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0494dddf8012d34c14006aa4840000b00e62b..."} 
[2026-08-28 22:31:37] local.INFO: Packet analysis {"connection_id":164120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0494d"} 
[2026-08-28 22:31:37] local.INFO: Extracted packet for processing {"connection_id":164120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0494d"} 
[2026-08-28 22:31:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711599104001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:31:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787936235000,"timestamp_ms":1787936235000,"timestamp_seconds":1787936235,"priority":1,"record_length":96,"hex_timestamp":"000001a0494dddf8"} 
[2026-08-28 22:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:31:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 22:31:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:31:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:31:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711599104001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711599104001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:31:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:31:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:31: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-28 22:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711599104001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":164120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:31:37] local.INFO: GPS data processed {"connection_id":164120,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:31:37] local.INFO: Acknowledgment sent {"connection_id":164120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:31:52] local.INFO: TCP Data received {"connection_id":165121,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0494fd5e0012d196580071ff008003d013928..."} 
[2026-08-28 22:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0494fd5e0012d196580071ff008003d013928..."} 
[2026-08-28 22:31:52] local.INFO: Processing buffer {"connection_id":165121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0494fd5e0012d196580071ff008003d013928..."} 
[2026-08-28 22:31:52] local.INFO: Packet analysis {"connection_id":165121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0494f"} 
[2026-08-28 22:31:52] local.INFO: Extracted packet for processing {"connection_id":165121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0494f"} 
[2026-08-28 22:31:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:31:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711632128001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:31:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:31:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:31:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:31:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787936364000,"timestamp_ms":1787936364000,"timestamp_seconds":1787936364,"priority":1,"record_length":96,"hex_timestamp":"000001a0494fd5e0"} 
[2026-08-28 22: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-28 22:31:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:31:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22: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-28 22: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-28 22:31:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:31:52] local.INFO: Teltonika packet parsed successfully {"connection_id":165121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:31:52] local.INFO: Passing IMEI to GPS processor {"connection_id":165121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:31:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":165121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:31:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:31:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:31:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:31:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711632128001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 22:31:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:31:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:31:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711632128001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:31:52] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 22:31:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:31:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:31:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:31:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711632128001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:31:52] 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":710920,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:31:52] local.INFO: GPS data processed {"connection_id":165121,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:31:52] local.INFO: Acknowledgment sent {"connection_id":165121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:31:55] local.INFO: TCP Data received {"connection_id":163836,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163836,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:31:55] local.INFO: Processing buffer {"connection_id":163836,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:31:55] local.INFO: IMEI packet received {"connection_id":163836,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 22:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":163836,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:32:01] local.INFO: TCP Data received {"connection_id":163836,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163836,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:32:01] local.INFO: Processing buffer {"connection_id":163836,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:32:01] local.INFO: IMEI packet received {"connection_id":163836,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 22:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":163836,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:32:03] local.INFO: TCP Data received {"connection_id":163836,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049506a50012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049506a50012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:32:03] local.INFO: Processing buffer {"connection_id":163836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049506a50012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:32:03] local.INFO: Packet analysis {"connection_id":163836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04950"} 
[2026-08-28 22:32:03] local.INFO: Extracted packet for processing {"connection_id":163836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04950"} 
[2026-08-28 22:32:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711641600001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:32:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787936402000,"timestamp_ms":1787936402000,"timestamp_seconds":1787936402,"priority":1,"record_length":96,"hex_timestamp":"000001a049506a50"} 
[2026-08-28 22:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:32:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 22:32:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:32:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163836,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163836,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:32:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711641600001,"66":25267,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 22:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711641600001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:32:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 22:32:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:32:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711641600001,"power":25267,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":163836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710921,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:32:03] local.INFO: GPS data processed {"connection_id":163836,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:32:03] local.INFO: Acknowledgment sent {"connection_id":163836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:32:08] local.INFO: TCP Data received {"connection_id":164120,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0494dddf8012d34c14006aa4840000b00e62b..."} 
[2026-08-28 22:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0494dddf8012d34c14006aa4840000b00e62b..."} 
[2026-08-28 22:32:08] local.INFO: Processing buffer {"connection_id":164120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0494dddf8012d34c14006aa4840000b00e62b..."} 
[2026-08-28 22:32:08] local.INFO: Packet analysis {"connection_id":164120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0494d"} 
[2026-08-28 22:32:08] local.INFO: Extracted packet for processing {"connection_id":164120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0494d"} 
[2026-08-28 22:32:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711599104001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:32:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787936235000,"timestamp_ms":1787936235000,"timestamp_seconds":1787936235,"priority":1,"record_length":96,"hex_timestamp":"000001a0494dddf8"} 
[2026-08-28 22:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:32:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 22:32:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:32:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:32:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711599104001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711599104001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:32:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:32:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:32: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-28 22:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711599104001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":164120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:32:08] local.INFO: GPS data processed {"connection_id":164120,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:32:08] local.INFO: Acknowledgment sent {"connection_id":164120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:32:14] local.INFO: TCP Data received {"connection_id":166483,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:32:14] local.INFO: Processing buffer {"connection_id":166483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:32:14] local.INFO: IMEI packet received {"connection_id":166483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 22:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":166483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:32:19] local.INFO: TCP Data received {"connection_id":166483,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:32:19] local.INFO: Processing buffer {"connection_id":166483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:32:19] local.INFO: IMEI packet received {"connection_id":166483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 22:32:19] local.INFO: IMEI acknowledgment sent {"connection_id":166483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:32:20] local.INFO: TCP Data received {"connection_id":166483,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0494fd5e0012d196580071ff008003d013928..."} 
[2026-08-28 22:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0494fd5e0012d196580071ff008003d013928..."} 
[2026-08-28 22:32:20] local.INFO: Processing buffer {"connection_id":166483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0494fd5e0012d196580071ff008003d013928..."} 
[2026-08-28 22:32:20] local.INFO: Packet analysis {"connection_id":166483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0494f"} 
[2026-08-28 22:32:20] local.INFO: Extracted packet for processing {"connection_id":166483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0494f"} 
[2026-08-28 22:32:20] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711632128001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:32:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787936364000,"timestamp_ms":1787936364000,"timestamp_seconds":1787936364,"priority":1,"record_length":96,"hex_timestamp":"000001a0494fd5e0"} 
[2026-08-28 22: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-28 22:32:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:32:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22: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-28 22: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-28 22:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":166483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":166483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":166483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:32:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711632128001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 22:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711632128001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:32:20] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 22:32:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:32:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711632128001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":166483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710923,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:32:20] local.INFO: GPS data processed {"connection_id":166483,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:32:20] local.INFO: Acknowledgment sent {"connection_id":166483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:32:29] local.INFO: TCP Data received {"connection_id":165122,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:32:29] local.INFO: Processing buffer {"connection_id":165122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:32:29] local.INFO: IMEI packet received {"connection_id":165122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 22:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":165122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:32:35] local.INFO: TCP Data received {"connection_id":165122,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:32:35] local.INFO: Processing buffer {"connection_id":165122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:32:35] local.INFO: IMEI packet received {"connection_id":165122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 22:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":165122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:32:35] local.INFO: TCP Data received {"connection_id":163836,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049506a50012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049506a50012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:32:35] local.INFO: Processing buffer {"connection_id":163836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049506a50012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:32:35] local.INFO: Packet analysis {"connection_id":163836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04950"} 
[2026-08-28 22:32:35] local.INFO: Extracted packet for processing {"connection_id":163836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04950"} 
[2026-08-28 22:32:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711641600001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787936402000,"timestamp_ms":1787936402000,"timestamp_seconds":1787936402,"priority":1,"record_length":96,"hex_timestamp":"000001a049506a50"} 
[2026-08-28 22:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:32:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 22:32:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:32:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163836,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163836,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711641600001,"66":25267,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 22:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711641600001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:32:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 22:32:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711641600001,"power":25267,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":163836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710924,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:32:35] local.INFO: GPS data processed {"connection_id":163836,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:32:35] local.INFO: Acknowledgment sent {"connection_id":163836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:32:37] local.INFO: TCP Data received {"connection_id":165122,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0494dddf8012d34c14006aa4840000b00e62b..."} 
[2026-08-28 22:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0494dddf8012d34c14006aa4840000b00e62b..."} 
[2026-08-28 22:32:37] local.INFO: Processing buffer {"connection_id":165122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0494dddf8012d34c14006aa4840000b00e62b..."} 
[2026-08-28 22:32:37] local.INFO: Packet analysis {"connection_id":165122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0494d"} 
[2026-08-28 22:32:37] local.INFO: Extracted packet for processing {"connection_id":165122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0494d"} 
[2026-08-28 22:32:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711599104001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787936235000,"timestamp_ms":1787936235000,"timestamp_seconds":1787936235,"priority":1,"record_length":96,"hex_timestamp":"000001a0494dddf8"} 
[2026-08-28 22: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-28 22:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-28 22:32:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22: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-28 22: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-28 22:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":165122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":165122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":165122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711599104001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711599104001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:32:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:32:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:32: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-28 22:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711599104001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:32:37] 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":710925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:32:37] local.INFO: GPS data processed {"connection_id":165122,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:32:37] local.INFO: Acknowledgment sent {"connection_id":165122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:32:52] local.INFO: TCP Data received {"connection_id":166483,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0494fd5e0012d196580071ff008003d013928..."} 
[2026-08-28 22:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0494fd5e0012d196580071ff008003d013928..."} 
[2026-08-28 22:32:52] local.INFO: Processing buffer {"connection_id":166483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0494fd5e0012d196580071ff008003d013928..."} 
[2026-08-28 22:32:52] local.INFO: Packet analysis {"connection_id":166483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0494f"} 
[2026-08-28 22:32:52] local.INFO: Extracted packet for processing {"connection_id":166483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0494f"} 
[2026-08-28 22:32:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:32:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711632128001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:32:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:32:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:32:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:32:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787936364000,"timestamp_ms":1787936364000,"timestamp_seconds":1787936364,"priority":1,"record_length":96,"hex_timestamp":"000001a0494fd5e0"} 
[2026-08-28 22: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-28 22:32:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:32:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22: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-28 22: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-28 22:32:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:32:52] local.INFO: Teltonika packet parsed successfully {"connection_id":166483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:32:52] local.INFO: Passing IMEI to GPS processor {"connection_id":166483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:32:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":166483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:32:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:32:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:32:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:32:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711632128001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 22:32:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:32:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:32:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711632128001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:32:52] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 22:32:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:32:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:32:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:32:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711632128001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:32:52] local.INFO: DEBUG: GPS processor result {"connection_id":166483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710926,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:32:52] local.INFO: GPS data processed {"connection_id":166483,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:32:52] local.INFO: Acknowledgment sent {"connection_id":166483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:33:00] local.INFO: TCP Data received {"connection_id":164121,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164121,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:33:00] local.INFO: Processing buffer {"connection_id":164121,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:33:00] local.INFO: IMEI packet received {"connection_id":164121,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 22:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":164121,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:33:06] local.INFO: TCP Data received {"connection_id":164121,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164121,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:33:06] local.INFO: Processing buffer {"connection_id":164121,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:33:06] local.INFO: IMEI packet received {"connection_id":164121,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 22:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":164121,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:33:07] local.INFO: TCP Data received {"connection_id":164121,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049506a50012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049506a50012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:33:07] local.INFO: Processing buffer {"connection_id":164121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049506a50012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:33:07] local.INFO: Packet analysis {"connection_id":164121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04950"} 
[2026-08-28 22:33:07] local.INFO: Extracted packet for processing {"connection_id":164121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04950"} 
[2026-08-28 22:33:07] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711641600001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:33:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787936402000,"timestamp_ms":1787936402000,"timestamp_seconds":1787936402,"priority":1,"record_length":96,"hex_timestamp":"000001a049506a50"} 
[2026-08-28 22:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:33:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 22:33:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:33:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":164121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":164121,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":164121,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711641600001,"66":25267,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 22:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711641600001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:33:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 22:33:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711641600001,"power":25267,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":164121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710927,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:33:07] local.INFO: GPS data processed {"connection_id":164121,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:33:07] local.INFO: Acknowledgment sent {"connection_id":164121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:33:08] local.INFO: TCP Data received {"connection_id":165122,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0495275c0012d34c14006aa4840000d00e629..."} 
[2026-08-28 22:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0495275c0012d34c14006aa4840000d00e629..."} 
[2026-08-28 22:33:08] local.INFO: Processing buffer {"connection_id":165122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0495275c0012d34c14006aa4840000d00e629..."} 
[2026-08-28 22:33:08] local.INFO: Packet analysis {"connection_id":165122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04952"} 
[2026-08-28 22:33:08] local.INFO: Extracted packet for processing {"connection_id":165122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04952"} 
[2026-08-28 22:33:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711676160001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:33:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787936536000,"timestamp_ms":1787936536000,"timestamp_seconds":1787936536,"priority":1,"record_length":96,"hex_timestamp":"000001a0495275c0"} 
[2026-08-28 22:33:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:33:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 22:33:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:33:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:33:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":165122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":165122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":165122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:33:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711676160001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711676160001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:33:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:33:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:33: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-28 22:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711676160001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:33:08] 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":710928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:33:08] local.INFO: GPS data processed {"connection_id":165122,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:33:08] local.INFO: Acknowledgment sent {"connection_id":165122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:33:14] local.INFO: TCP Data received {"connection_id":166484,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166484,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:33:14] local.INFO: Processing buffer {"connection_id":166484,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:33:14] local.INFO: IMEI packet received {"connection_id":166484,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 22:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":166484,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:33:19] local.INFO: TCP Data received {"connection_id":166484,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166484,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:33:19] local.INFO: Processing buffer {"connection_id":166484,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:33:19] local.INFO: IMEI packet received {"connection_id":166484,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 22:33:19] local.INFO: IMEI acknowledgment sent {"connection_id":166484,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:33:20] local.INFO: TCP Data received {"connection_id":166484,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0494fd5e0012d196580071ff008003d013928..."} 
[2026-08-28 22:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0494fd5e0012d196580071ff008003d013928..."} 
[2026-08-28 22:33:20] local.INFO: Processing buffer {"connection_id":166484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0494fd5e0012d196580071ff008003d013928..."} 
[2026-08-28 22:33:20] local.INFO: Packet analysis {"connection_id":166484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0494f"} 
[2026-08-28 22:33:20] local.INFO: Extracted packet for processing {"connection_id":166484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0494f"} 
[2026-08-28 22:33:20] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:33:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711632128001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:33:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:33:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:33:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:33:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787936364000,"timestamp_ms":1787936364000,"timestamp_seconds":1787936364,"priority":1,"record_length":96,"hex_timestamp":"000001a0494fd5e0"} 
[2026-08-28 22:33:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:33:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:33:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:33:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:33:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:33:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:33:20] local.INFO: Teltonika packet parsed successfully {"connection_id":166484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:33:20] local.INFO: Passing IMEI to GPS processor {"connection_id":166484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:33:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":166484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:33:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:33:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:33:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:33:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711632128001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 22:33:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:33:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:33:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711632128001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:33:20] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 22:33:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:33:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:33:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:33:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711632128001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:33:20] local.INFO: DEBUG: GPS processor result {"connection_id":166484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710929,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:33:20] local.INFO: GPS data processed {"connection_id":166484,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:33:20] local.INFO: Acknowledgment sent {"connection_id":166484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:33:30] local.INFO: TCP Data received {"connection_id":163837,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:33:30] local.INFO: Processing buffer {"connection_id":163837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:33:30] local.INFO: IMEI packet received {"connection_id":163837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 22:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":163837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:33:35] local.INFO: TCP Data received {"connection_id":163837,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:33:35] local.INFO: Processing buffer {"connection_id":163837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:33:35] local.INFO: IMEI packet received {"connection_id":163837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 22:33:35] local.INFO: IMEI acknowledgment sent {"connection_id":163837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:33:37] local.INFO: TCP Data received {"connection_id":163837,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0495275c0012d34c14006aa4840000d00e629..."} 
[2026-08-28 22:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0495275c0012d34c14006aa4840000d00e629..."} 
[2026-08-28 22:33:37] local.INFO: Processing buffer {"connection_id":163837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0495275c0012d34c14006aa4840000d00e629..."} 
[2026-08-28 22:33:37] local.INFO: Packet analysis {"connection_id":163837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04952"} 
[2026-08-28 22:33:37] local.INFO: Extracted packet for processing {"connection_id":163837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04952"} 
[2026-08-28 22:33:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711676160001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787936536000,"timestamp_ms":1787936536000,"timestamp_seconds":1787936536,"priority":1,"record_length":96,"hex_timestamp":"000001a0495275c0"} 
[2026-08-28 22:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:33:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 22:33:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:33:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711676160001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711676160001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:33:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:33:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:33: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-28 22:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711676160001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":163837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:33:37] local.INFO: GPS data processed {"connection_id":163837,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:33:37] local.INFO: Acknowledgment sent {"connection_id":163837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:33:39] local.INFO: TCP Data received {"connection_id":164121,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049506a50012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049506a50012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:33:39] local.INFO: Processing buffer {"connection_id":164121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049506a50012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:33:39] local.INFO: Packet analysis {"connection_id":164121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04950"} 
[2026-08-28 22:33:39] local.INFO: Extracted packet for processing {"connection_id":164121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04950"} 
[2026-08-28 22:33:39] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711641600001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:33:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:33:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:33:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:33:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787936402000,"timestamp_ms":1787936402000,"timestamp_seconds":1787936402,"priority":1,"record_length":96,"hex_timestamp":"000001a049506a50"} 
[2026-08-28 22:33:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:33:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 22:33:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:33:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:33:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:33:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:33:39] local.INFO: Teltonika packet parsed successfully {"connection_id":164121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:33:39] local.INFO: Passing IMEI to GPS processor {"connection_id":164121,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:33:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":164121,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:33:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:33:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:33:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:33:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711641600001,"66":25267,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 22:33:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:33:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:33:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711641600001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:33:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 22:33:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:33:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:33:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:33:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711641600001,"power":25267,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:33:39] local.INFO: DEBUG: GPS processor result {"connection_id":164121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710931,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:33:39] local.INFO: GPS data processed {"connection_id":164121,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:33:39] local.INFO: Acknowledgment sent {"connection_id":164121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:33:52] local.INFO: TCP Data received {"connection_id":166484,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0494fd5e0012d196580071ff008003d013928..."} 
[2026-08-28 22:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0494fd5e0012d196580071ff008003d013928..."} 
[2026-08-28 22:33:52] local.INFO: Processing buffer {"connection_id":166484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0494fd5e0012d196580071ff008003d013928..."} 
[2026-08-28 22:33:52] local.INFO: Packet analysis {"connection_id":166484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0494f"} 
[2026-08-28 22:33:52] local.INFO: Extracted packet for processing {"connection_id":166484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0494f"} 
[2026-08-28 22:33:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 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-28 22:33:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711632128001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:33:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:33:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:33:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:33:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787936364000,"timestamp_ms":1787936364000,"timestamp_seconds":1787936364,"priority":1,"record_length":96,"hex_timestamp":"000001a0494fd5e0"} 
[2026-08-28 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-28 22:33:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:33:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 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-28 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-28 22:33:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:33:52] local.INFO: Teltonika packet parsed successfully {"connection_id":166484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:33:52] local.INFO: Passing IMEI to GPS processor {"connection_id":166484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:33:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":166484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:33:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:33:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:33:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:33:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711632128001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 22:33:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:33:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:33:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711632128001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:33:52] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 22:33:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:33:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:33:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:33:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711632128001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:33:52] local.INFO: DEBUG: GPS processor result {"connection_id":166484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710932,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:33:52] local.INFO: GPS data processed {"connection_id":166484,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:33:52] local.INFO: Acknowledgment sent {"connection_id":166484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:33:55] local.INFO: TCP Data received {"connection_id":164122,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164122,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:33:55] local.INFO: Processing buffer {"connection_id":164122,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:33:55] local.INFO: IMEI packet received {"connection_id":164122,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 22:33:55] local.INFO: IMEI acknowledgment sent {"connection_id":164122,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:34:01] local.INFO: TCP Data received {"connection_id":164122,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164122,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:34:01] local.INFO: Processing buffer {"connection_id":164122,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:34:01] local.INFO: IMEI packet received {"connection_id":164122,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 22:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":164122,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:34:02] local.INFO: TCP Data received {"connection_id":164122,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049506a50012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049506a50012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:34:02] local.INFO: Processing buffer {"connection_id":164122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049506a50012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:34:02] local.INFO: Packet analysis {"connection_id":164122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04950"} 
[2026-08-28 22:34:02] local.INFO: Extracted packet for processing {"connection_id":164122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04950"} 
[2026-08-28 22:34:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:34:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711641600001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:34:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:34:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:34:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:34:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787936402000,"timestamp_ms":1787936402000,"timestamp_seconds":1787936402,"priority":1,"record_length":96,"hex_timestamp":"000001a049506a50"} 
[2026-08-28 22:34:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:34:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 22:34:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:34:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:34:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:34:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:34:02] local.INFO: Teltonika packet parsed successfully {"connection_id":164122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:34:02] local.INFO: Passing IMEI to GPS processor {"connection_id":164122,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:34:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":164122,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:34:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:34:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:34:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:34:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711641600001,"66":25267,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 22:34:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:34:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:34:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711641600001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:34:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 22:34:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:34:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:34:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:34:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711641600001,"power":25267,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:34:02] local.INFO: DEBUG: GPS processor result {"connection_id":164122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710933,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:34:02] local.INFO: GPS data processed {"connection_id":164122,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:34:02] local.INFO: Acknowledgment sent {"connection_id":164122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:34:08] local.INFO: TCP Data received {"connection_id":163837,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0495275c0012d34c14006aa4840000d00e629..."} 
[2026-08-28 22:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0495275c0012d34c14006aa4840000d00e629..."} 
[2026-08-28 22:34:08] local.INFO: Processing buffer {"connection_id":163837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0495275c0012d34c14006aa4840000d00e629..."} 
[2026-08-28 22:34:08] local.INFO: Packet analysis {"connection_id":163837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04952"} 
[2026-08-28 22:34:08] local.INFO: Extracted packet for processing {"connection_id":163837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04952"} 
[2026-08-28 22:34:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711676160001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:34:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787936536000,"timestamp_ms":1787936536000,"timestamp_seconds":1787936536,"priority":1,"record_length":96,"hex_timestamp":"000001a0495275c0"} 
[2026-08-28 22:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:34:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 22:34:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:34:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:34:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711676160001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711676160001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:34:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:34:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:34: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-28 22:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711676160001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":163837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:34:08] local.INFO: GPS data processed {"connection_id":163837,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:34:08] local.INFO: Acknowledgment sent {"connection_id":163837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:34:19] local.INFO: TCP Data received {"connection_id":166485,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166485,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:34:19] local.INFO: Processing buffer {"connection_id":166485,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:34:19] local.INFO: IMEI packet received {"connection_id":166485,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 22:34:19] local.INFO: IMEI acknowledgment sent {"connection_id":166485,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:34:24] local.INFO: TCP Data received {"connection_id":166485,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166485,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:34:24] local.INFO: Processing buffer {"connection_id":166485,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:34:24] local.INFO: IMEI packet received {"connection_id":166485,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 22:34:24] local.INFO: IMEI acknowledgment sent {"connection_id":166485,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:34:25] local.INFO: TCP Data received {"connection_id":166485,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0494fd5e0012d196580071ff008003d013928..."} 
[2026-08-28 22:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0494fd5e0012d196580071ff008003d013928..."} 
[2026-08-28 22:34:25] local.INFO: Processing buffer {"connection_id":166485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0494fd5e0012d196580071ff008003d013928..."} 
[2026-08-28 22:34:25] local.INFO: Packet analysis {"connection_id":166485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0494f"} 
[2026-08-28 22:34:25] local.INFO: Extracted packet for processing {"connection_id":166485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0494f"} 
[2026-08-28 22:34:25] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:34:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:34:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711632128001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:34:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:34:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:34:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:34:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787936364000,"timestamp_ms":1787936364000,"timestamp_seconds":1787936364,"priority":1,"record_length":96,"hex_timestamp":"000001a0494fd5e0"} 
[2026-08-28 22:34:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:34:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:34:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:34:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:34:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:34:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:34:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:34:25] local.INFO: Teltonika packet parsed successfully {"connection_id":166485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:34:25] local.INFO: Passing IMEI to GPS processor {"connection_id":166485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:34:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":166485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:34:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:34:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:34:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:34:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711632128001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 22:34:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:34:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:34:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711632128001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:34:25] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 22:34:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:34:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:34:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:34:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711632128001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:34:25] local.INFO: DEBUG: GPS processor result {"connection_id":166485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710935,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:34:25] local.INFO: GPS data processed {"connection_id":166485,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:34:25] local.INFO: Acknowledgment sent {"connection_id":166485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:34:29] local.INFO: TCP Data received {"connection_id":163838,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:34:29] local.INFO: Processing buffer {"connection_id":163838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:34:29] local.INFO: IMEI packet received {"connection_id":163838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 22:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":163838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:34:30] local.INFO: TCP Data received {"connection_id":166485,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0494fd5e0012d196580071ff008003d013928..."} 
[2026-08-28 22:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0494fd5e0012d196580071ff008003d013928..."} 
[2026-08-28 22:34:30] local.INFO: Processing buffer {"connection_id":166485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0494fd5e0012d196580071ff008003d013928..."} 
[2026-08-28 22:34:30] local.INFO: Packet analysis {"connection_id":166485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0494f"} 
[2026-08-28 22:34:30] local.INFO: Extracted packet for processing {"connection_id":166485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0494f"} 
[2026-08-28 22:34:30] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711632128001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:34:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:34:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787936364000,"timestamp_ms":1787936364000,"timestamp_seconds":1787936364,"priority":1,"record_length":96,"hex_timestamp":"000001a0494fd5e0"} 
[2026-08-28 22:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:34:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:34:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:34:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":166485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":166485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":166485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:34:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711632128001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 22:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711632128001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:34:30] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 22:34:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:34:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711632128001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":166485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710936,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:34:30] local.INFO: GPS data processed {"connection_id":166485,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:34:30] local.INFO: Acknowledgment sent {"connection_id":166485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:34:34] local.INFO: TCP Data received {"connection_id":164122,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049506a50012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049506a50012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:34:34] local.INFO: Processing buffer {"connection_id":164122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049506a50012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:34:34] local.INFO: Packet analysis {"connection_id":164122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04950"} 
[2026-08-28 22:34:34] local.INFO: Extracted packet for processing {"connection_id":164122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04950"} 
[2026-08-28 22:34:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711641600001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:34:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:34:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787936402000,"timestamp_ms":1787936402000,"timestamp_seconds":1787936402,"priority":1,"record_length":96,"hex_timestamp":"000001a049506a50"} 
[2026-08-28 22:34:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:34:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 22:34:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:34:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:34:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":164122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":164122,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":164122,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711641600001,"66":25267,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 22:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711641600001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:34:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 22:34:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:34:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711641600001,"power":25267,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":164122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710937,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:34:34] local.INFO: GPS data processed {"connection_id":164122,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:34:34] local.INFO: Acknowledgment sent {"connection_id":164122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:34:34] local.INFO: TCP Data received {"connection_id":163838,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:34:34] local.INFO: Processing buffer {"connection_id":163838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:34:34] local.INFO: IMEI packet received {"connection_id":163838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 22:34:34] local.INFO: IMEI acknowledgment sent {"connection_id":163838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:34:36] local.INFO: TCP Data received {"connection_id":163838,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0495275c0012d34c14006aa4840000d00e629..."} 
[2026-08-28 22:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0495275c0012d34c14006aa4840000d00e629..."} 
[2026-08-28 22:34:36] local.INFO: Processing buffer {"connection_id":163838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0495275c0012d34c14006aa4840000d00e629..."} 
[2026-08-28 22:34:36] local.INFO: Packet analysis {"connection_id":163838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04952"} 
[2026-08-28 22:34:36] local.INFO: Extracted packet for processing {"connection_id":163838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04952"} 
[2026-08-28 22:34:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711676160001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:34:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:34:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787936536000,"timestamp_ms":1787936536000,"timestamp_seconds":1787936536,"priority":1,"record_length":96,"hex_timestamp":"000001a0495275c0"} 
[2026-08-28 22:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:34:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 22:34:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:34:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:34:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711676160001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711676160001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:34:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:34:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:34:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711676160001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":163838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:34:36] local.INFO: GPS data processed {"connection_id":163838,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:34:36] local.INFO: Acknowledgment sent {"connection_id":163838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:34:55] local.INFO: TCP Data received {"connection_id":166486,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166486,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:34:55] local.INFO: Processing buffer {"connection_id":166486,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:34:55] local.INFO: IMEI packet received {"connection_id":166486,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 22:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":166486,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:35:01] local.INFO: TCP Data received {"connection_id":166486,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166486,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:35:01] local.INFO: Processing buffer {"connection_id":166486,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:35:01] local.INFO: IMEI packet received {"connection_id":166486,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 22:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":166486,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:35:02] local.INFO: TCP Data received {"connection_id":166486,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049506a50012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049506a50012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:35:02] local.INFO: Processing buffer {"connection_id":166486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049506a50012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:35:02] local.INFO: Packet analysis {"connection_id":166486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04950"} 
[2026-08-28 22:35:02] local.INFO: Extracted packet for processing {"connection_id":166486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04950"} 
[2026-08-28 22:35:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:35:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:35:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711641600001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:35:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:35:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:35:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:35:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787936402000,"timestamp_ms":1787936402000,"timestamp_seconds":1787936402,"priority":1,"record_length":96,"hex_timestamp":"000001a049506a50"} 
[2026-08-28 22:35:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:35:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:35:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 22:35:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:35:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:35:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:35:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:35:02] local.INFO: Teltonika packet parsed successfully {"connection_id":166486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:35:02] local.INFO: Passing IMEI to GPS processor {"connection_id":166486,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:35:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":166486,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:35:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:35:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:35:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:35:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711641600001,"66":25267,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 22:35:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:35:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:35:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711641600001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:35:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 22:35:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:35:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:35:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:35:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711641600001,"power":25267,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:35:02] local.INFO: DEBUG: GPS processor result {"connection_id":166486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710939,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:35:02] local.INFO: GPS data processed {"connection_id":166486,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:35:02] local.INFO: Acknowledgment sent {"connection_id":166486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:35:07] local.INFO: TCP Data received {"connection_id":163838,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0495275c0012d34c14006aa4840000d00e629..."} 
[2026-08-28 22:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0495275c0012d34c14006aa4840000d00e629..."} 
[2026-08-28 22:35:07] local.INFO: Processing buffer {"connection_id":163838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0495275c0012d34c14006aa4840000d00e629..."} 
[2026-08-28 22:35:07] local.INFO: Packet analysis {"connection_id":163838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04952"} 
[2026-08-28 22:35:07] local.INFO: Extracted packet for processing {"connection_id":163838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04952"} 
[2026-08-28 22:35:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711676160001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:35:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:35:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787936536000,"timestamp_ms":1787936536000,"timestamp_seconds":1787936536,"priority":1,"record_length":96,"hex_timestamp":"000001a0495275c0"} 
[2026-08-28 22:35:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:35:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 22:35:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:35:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:35:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":163838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":163838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":163838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:35:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711676160001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711676160001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:35:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:35:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:35: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-28 22:35:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711676160001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":163838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:35:07] local.INFO: GPS data processed {"connection_id":163838,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:35:07] local.INFO: Acknowledgment sent {"connection_id":163838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:35:14] local.INFO: TCP Data received {"connection_id":164123,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164123,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:35:14] local.INFO: Processing buffer {"connection_id":164123,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:35:14] local.INFO: IMEI packet received {"connection_id":164123,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 22:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":164123,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:35:19] local.INFO: TCP Data received {"connection_id":164123,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164123,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:35:19] local.INFO: Processing buffer {"connection_id":164123,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:35:19] local.INFO: IMEI packet received {"connection_id":164123,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 22:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":164123,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:35:20] local.INFO: TCP Data received {"connection_id":164123,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049546da8012d196580071ff008003d013925..."} 
[2026-08-28 22:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049546da8012d196580071ff008003d013925..."} 
[2026-08-28 22:35:20] local.INFO: Processing buffer {"connection_id":164123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049546da8012d196580071ff008003d013925..."} 
[2026-08-28 22:35:20] local.INFO: Packet analysis {"connection_id":164123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04954"} 
[2026-08-28 22:35:20] local.INFO: Extracted packet for processing {"connection_id":164123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04954"} 
[2026-08-28 22:35:20] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711709184001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:35:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:35:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787936665000,"timestamp_ms":1787936665000,"timestamp_seconds":1787936665,"priority":1,"record_length":96,"hex_timestamp":"000001a049546da8"} 
[2026-08-28 22:35:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:35:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:35:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:35:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:35:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":164123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":164123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":164123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:35:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711709184001,"66":2144,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 22:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711709184001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:35:20] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 22:35:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:35:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711709184001,"power":2144,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":164123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710941,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:35:20] local.INFO: GPS data processed {"connection_id":164123,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:35:20] local.INFO: Acknowledgment sent {"connection_id":164123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:35:29] local.INFO: TCP Data received {"connection_id":166487,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:35:29] local.INFO: Processing buffer {"connection_id":166487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:35:29] local.INFO: IMEI packet received {"connection_id":166487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 22:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":166487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:35:34] local.INFO: TCP Data received {"connection_id":166486,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049506a50012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049506a50012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:35:34] local.INFO: Processing buffer {"connection_id":166486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049506a50012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:35:34] local.INFO: Packet analysis {"connection_id":166486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04950"} 
[2026-08-28 22:35:34] local.INFO: Extracted packet for processing {"connection_id":166486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04950"} 
[2026-08-28 22:35:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711641600001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:35:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:35:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787936402000,"timestamp_ms":1787936402000,"timestamp_seconds":1787936402,"priority":1,"record_length":96,"hex_timestamp":"000001a049506a50"} 
[2026-08-28 22:35:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:35:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-08-28 22:35:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:35:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:35:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":166486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":166486,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":166486,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:35:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711641600001,"66":25267,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 22:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711641600001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:35:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 22:35:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:35:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711641600001,"power":25267,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":166486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710942,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:35:34] local.INFO: GPS data processed {"connection_id":166486,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:35:34] local.INFO: Acknowledgment sent {"connection_id":166486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:35:35] local.INFO: TCP Data received {"connection_id":166487,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:35:35] local.INFO: Processing buffer {"connection_id":166487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:35:35] local.INFO: IMEI packet received {"connection_id":166487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 22:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":166487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:35:38] local.INFO: TCP Data received {"connection_id":166487,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0495275c0012d34c14006aa4840000d00e629..."} 
[2026-08-28 22:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0495275c0012d34c14006aa4840000d00e629..."} 
[2026-08-28 22:35:38] local.INFO: Processing buffer {"connection_id":166487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0495275c0012d34c14006aa4840000d00e629..."} 
[2026-08-28 22:35:38] local.INFO: Packet analysis {"connection_id":166487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04952"} 
[2026-08-28 22:35:38] local.INFO: Extracted packet for processing {"connection_id":166487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04952"} 
[2026-08-28 22:35:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711676160001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:35:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787936536000,"timestamp_ms":1787936536000,"timestamp_seconds":1787936536,"priority":1,"record_length":96,"hex_timestamp":"000001a0495275c0"} 
[2026-08-28 22:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:35:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 22:35:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:35:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":166487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":166487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":166487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:35:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711676160001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711676160001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:35:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:35:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:35: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-28 22:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711676160001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":166487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:35:38] local.INFO: GPS data processed {"connection_id":166487,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:35:38] local.INFO: Acknowledgment sent {"connection_id":166487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:35:52] local.INFO: TCP Data received {"connection_id":164123,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049546da8012d196580071ff008003d013925..."} 
[2026-08-28 22:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049546da8012d196580071ff008003d013925..."} 
[2026-08-28 22:35:52] local.INFO: Processing buffer {"connection_id":164123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049546da8012d196580071ff008003d013925..."} 
[2026-08-28 22:35:52] local.INFO: Packet analysis {"connection_id":164123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04954"} 
[2026-08-28 22:35:52] local.INFO: Extracted packet for processing {"connection_id":164123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04954"} 
[2026-08-28 22:35:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:35:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711709184001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:35:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:35:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:35:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:35:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787936665000,"timestamp_ms":1787936665000,"timestamp_seconds":1787936665,"priority":1,"record_length":96,"hex_timestamp":"000001a049546da8"} 
[2026-08-28 22: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-28 22:35:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:35:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22: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-28 22: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-28 22:35:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:35:52] local.INFO: Teltonika packet parsed successfully {"connection_id":164123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:35:52] local.INFO: Passing IMEI to GPS processor {"connection_id":164123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:35:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":164123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:35:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:35:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:35:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:35:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711709184001,"66":2144,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 22:35:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:35:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:35:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711709184001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:35:52] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 22:35:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:35:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:35:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:35:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711709184001,"power":2144,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:35:52] local.INFO: DEBUG: GPS processor result {"connection_id":164123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710944,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:35:52] local.INFO: GPS data processed {"connection_id":164123,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:35:52] local.INFO: Acknowledgment sent {"connection_id":164123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:36:01] local.INFO: TCP Data received {"connection_id":163839,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163839,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:36:01] local.INFO: Processing buffer {"connection_id":163839,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:36:01] local.INFO: IMEI packet received {"connection_id":163839,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 22:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":163839,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:36:06] local.INFO: TCP Data received {"connection_id":163839,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163839,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:36:06] local.INFO: Processing buffer {"connection_id":163839,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:36:06] local.INFO: IMEI packet received {"connection_id":163839,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 22:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":163839,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:36:07] local.INFO: TCP Data received {"connection_id":163839,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04954fe30012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04954fe30012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:36:07] local.INFO: Processing buffer {"connection_id":163839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04954fe30012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:36:07] local.INFO: Packet analysis {"connection_id":163839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04954"} 
[2026-08-28 22:36:07] local.INFO: Extracted packet for processing {"connection_id":163839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04954"} 
[2026-08-28 22:36:07] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711718912001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:36:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787936702000,"timestamp_ms":1787936702000,"timestamp_seconds":1787936702,"priority":1,"record_length":96,"hex_timestamp":"000001a04954fe30"} 
[2026-08-28 22:36:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:36:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 22:36:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:36:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:36:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":163839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":163839,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":163839,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:36:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711718912001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711718912001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:36:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:36:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711718912001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":163839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710945,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:36:07] local.INFO: GPS data processed {"connection_id":163839,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:36:07] local.INFO: Acknowledgment sent {"connection_id":163839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:36:10] local.INFO: TCP Data received {"connection_id":166487,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0495275c0012d34c14006aa4840000d00e629..."} 
[2026-08-28 22:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0495275c0012d34c14006aa4840000d00e629..."} 
[2026-08-28 22:36:10] local.INFO: Processing buffer {"connection_id":166487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0495275c0012d34c14006aa4840000d00e629..."} 
[2026-08-28 22:36:10] local.INFO: Packet analysis {"connection_id":166487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04952"} 
[2026-08-28 22:36:10] local.INFO: Extracted packet for processing {"connection_id":166487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04952"} 
[2026-08-28 22:36:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711676160001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:36:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787936536000,"timestamp_ms":1787936536000,"timestamp_seconds":1787936536,"priority":1,"record_length":96,"hex_timestamp":"000001a0495275c0"} 
[2026-08-28 22:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:36:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 22:36:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:36:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":166487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":166487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":166487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:36:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711676160001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711676160001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:36:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:36:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711676160001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":166487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:36:10] local.INFO: GPS data processed {"connection_id":166487,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:36:10] local.INFO: Acknowledgment sent {"connection_id":166487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:36:13] local.INFO: TCP Data received {"connection_id":166488,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166488,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:36:14] local.INFO: Processing buffer {"connection_id":166488,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:36:14] local.INFO: IMEI packet received {"connection_id":166488,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 22:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":166488,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:36:19] local.INFO: TCP Data received {"connection_id":166488,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166488,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:36:19] local.INFO: Processing buffer {"connection_id":166488,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:36:19] local.INFO: IMEI packet received {"connection_id":166488,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 22:36:19] local.INFO: IMEI acknowledgment sent {"connection_id":166488,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:36:21] local.INFO: TCP Data received {"connection_id":166488,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049546da8012d196580071ff008003d013925..."} 
[2026-08-28 22:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049546da8012d196580071ff008003d013925..."} 
[2026-08-28 22:36:21] local.INFO: Processing buffer {"connection_id":166488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049546da8012d196580071ff008003d013925..."} 
[2026-08-28 22:36:21] local.INFO: Packet analysis {"connection_id":166488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04954"} 
[2026-08-28 22:36:21] local.INFO: Extracted packet for processing {"connection_id":166488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04954"} 
[2026-08-28 22:36:21] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711709184001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:36:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787936665000,"timestamp_ms":1787936665000,"timestamp_seconds":1787936665,"priority":1,"record_length":96,"hex_timestamp":"000001a049546da8"} 
[2026-08-28 22:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:36:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:36:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:36:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":166488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":166488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":166488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:36:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711709184001,"66":2144,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 22:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711709184001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:36:21] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 22:36:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:36:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711709184001,"power":2144,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":166488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710947,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:36:21] local.INFO: GPS data processed {"connection_id":166488,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:36:21] local.INFO: Acknowledgment sent {"connection_id":166488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:36:29] local.INFO: TCP Data received {"connection_id":164124,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:36:29] local.INFO: Processing buffer {"connection_id":164124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:36:29] local.INFO: IMEI packet received {"connection_id":164124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 22:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":164124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:36:35] local.INFO: TCP Data received {"connection_id":164124,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:36:35] local.INFO: Processing buffer {"connection_id":164124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:36:35] local.INFO: IMEI packet received {"connection_id":164124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 22:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":164124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:36:36] local.INFO: TCP Data received {"connection_id":164124,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0495275c0012d34c14006aa4840000d00e629..."} 
[2026-08-28 22:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0495275c0012d34c14006aa4840000d00e629..."} 
[2026-08-28 22:36:36] local.INFO: Processing buffer {"connection_id":164124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0495275c0012d34c14006aa4840000d00e629..."} 
[2026-08-28 22:36:36] local.INFO: Packet analysis {"connection_id":164124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04952"} 
[2026-08-28 22:36:36] local.INFO: Extracted packet for processing {"connection_id":164124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04952"} 
[2026-08-28 22:36:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711676160001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787936536000,"timestamp_ms":1787936536000,"timestamp_seconds":1787936536,"priority":1,"record_length":96,"hex_timestamp":"000001a0495275c0"} 
[2026-08-28 22:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:36:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 22:36:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:36:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":164124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":164124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":164124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:36:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711676160001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711676160001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:36:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:36:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711676160001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":164124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:36:36] local.INFO: GPS data processed {"connection_id":164124,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:36:36] local.INFO: Acknowledgment sent {"connection_id":164124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:36:39] local.INFO: TCP Data received {"connection_id":163839,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04954fe30012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04954fe30012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:36:39] local.INFO: Processing buffer {"connection_id":163839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04954fe30012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:36:39] local.INFO: Packet analysis {"connection_id":163839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04954"} 
[2026-08-28 22:36:39] local.INFO: Extracted packet for processing {"connection_id":163839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04954"} 
[2026-08-28 22:36:39] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:36:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711718912001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:36:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:36:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:36:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:36:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787936702000,"timestamp_ms":1787936702000,"timestamp_seconds":1787936702,"priority":1,"record_length":96,"hex_timestamp":"000001a04954fe30"} 
[2026-08-28 22:36:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:36:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 22:36:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:36:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:36:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:36:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:36:39] local.INFO: Teltonika packet parsed successfully {"connection_id":163839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:36:39] local.INFO: Passing IMEI to GPS processor {"connection_id":163839,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:36:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":163839,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:36:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:36:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:36:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:36:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711718912001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:36:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:36:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:36:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711718912001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:36:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:36:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:36:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:36:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:36:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711718912001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:36:39] local.INFO: DEBUG: GPS processor result {"connection_id":163839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710949,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:36:39] local.INFO: GPS data processed {"connection_id":163839,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:36:39] local.INFO: Acknowledgment sent {"connection_id":163839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:36:53] local.INFO: TCP Data received {"connection_id":166488,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049546da8012d196580071ff008003d013925..."} 
[2026-08-28 22:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049546da8012d196580071ff008003d013925..."} 
[2026-08-28 22:36:53] local.INFO: Processing buffer {"connection_id":166488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049546da8012d196580071ff008003d013925..."} 
[2026-08-28 22:36:53] local.INFO: Packet analysis {"connection_id":166488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04954"} 
[2026-08-28 22:36:53] local.INFO: Extracted packet for processing {"connection_id":166488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04954"} 
[2026-08-28 22:36:53] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:36:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711709184001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:36:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:36:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:36:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:36:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787936665000,"timestamp_ms":1787936665000,"timestamp_seconds":1787936665,"priority":1,"record_length":96,"hex_timestamp":"000001a049546da8"} 
[2026-08-28 22: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-28 22:36:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:36:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22: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-28 22: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-28 22:36:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:36:53] local.INFO: Teltonika packet parsed successfully {"connection_id":166488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:36:53] local.INFO: Passing IMEI to GPS processor {"connection_id":166488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:36:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":166488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:36:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:36:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:36:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:36:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711709184001,"66":2144,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 22:36:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:36:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:36:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711709184001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:36:53] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 22:36:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:36:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:36:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:36:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711709184001,"power":2144,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:36:54] local.INFO: DEBUG: GPS processor result {"connection_id":166488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710950,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:36:54] local.INFO: GPS data processed {"connection_id":166488,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:36:54] local.INFO: Acknowledgment sent {"connection_id":166488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:36:55] local.INFO: TCP Data received {"connection_id":165123,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165123,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:36:55] local.INFO: Processing buffer {"connection_id":165123,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:36:55] local.INFO: IMEI packet received {"connection_id":165123,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 22:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":165123,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:37:01] local.INFO: TCP Data received {"connection_id":165123,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165123,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:37:01] local.INFO: Processing buffer {"connection_id":165123,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:37:01] local.INFO: IMEI packet received {"connection_id":165123,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 22:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":165123,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:37:02] local.INFO: TCP Data received {"connection_id":165123,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04954fe30012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04954fe30012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:37:02] local.INFO: Processing buffer {"connection_id":165123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04954fe30012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:37:02] local.INFO: Packet analysis {"connection_id":165123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04954"} 
[2026-08-28 22:37:02] local.INFO: Extracted packet for processing {"connection_id":165123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04954"} 
[2026-08-28 22:37:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:37:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:37:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711718912001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:37:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:37:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:37:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:37:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787936702000,"timestamp_ms":1787936702000,"timestamp_seconds":1787936702,"priority":1,"record_length":96,"hex_timestamp":"000001a04954fe30"} 
[2026-08-28 22:37:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:37:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:37:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 22:37:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:37:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:37:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:37:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:37:02] local.INFO: Teltonika packet parsed successfully {"connection_id":165123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:37:02] local.INFO: Passing IMEI to GPS processor {"connection_id":165123,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:37:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":165123,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:37:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:37:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:37:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:37:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711718912001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:37:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:37:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:37:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711718912001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:37:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:37:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:37:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:37:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:37:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711718912001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:37:02] 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":710951,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:37:02] local.INFO: GPS data processed {"connection_id":165123,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:37:02] local.INFO: Acknowledgment sent {"connection_id":165123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:37:08] local.INFO: TCP Data received {"connection_id":164124,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0495275c0012d34c14006aa4840000d00e629..."} 
[2026-08-28 22:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0495275c0012d34c14006aa4840000d00e629..."} 
[2026-08-28 22:37:08] local.INFO: Processing buffer {"connection_id":164124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0495275c0012d34c14006aa4840000d00e629..."} 
[2026-08-28 22:37:08] local.INFO: Packet analysis {"connection_id":164124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04952"} 
[2026-08-28 22:37:08] local.INFO: Extracted packet for processing {"connection_id":164124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04952"} 
[2026-08-28 22:37:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711676160001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:37:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787936536000,"timestamp_ms":1787936536000,"timestamp_seconds":1787936536,"priority":1,"record_length":96,"hex_timestamp":"000001a0495275c0"} 
[2026-08-28 22:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:37:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 22:37:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:37:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:37:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711676160001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711676160001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:37:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:37:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:37: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-28 22:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711676160001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":164124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:37:08] local.INFO: GPS data processed {"connection_id":164124,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:37:08] local.INFO: Acknowledgment sent {"connection_id":164124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:37:13] local.INFO: TCP Data received {"connection_id":164125,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164125,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:37:14] local.INFO: Processing buffer {"connection_id":164125,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:37:14] local.INFO: IMEI packet received {"connection_id":164125,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 22:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":164125,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:37:19] local.INFO: TCP Data received {"connection_id":164125,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164125,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:37:19] local.INFO: Processing buffer {"connection_id":164125,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:37:19] local.INFO: IMEI packet received {"connection_id":164125,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 22:37:19] local.INFO: IMEI acknowledgment sent {"connection_id":164125,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:37:20] local.INFO: TCP Data received {"connection_id":164125,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049546da8012d196580071ff008003d013925..."} 
[2026-08-28 22:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049546da8012d196580071ff008003d013925..."} 
[2026-08-28 22:37:20] local.INFO: Processing buffer {"connection_id":164125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049546da8012d196580071ff008003d013925..."} 
[2026-08-28 22:37:20] local.INFO: Packet analysis {"connection_id":164125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04954"} 
[2026-08-28 22:37:20] local.INFO: Extracted packet for processing {"connection_id":164125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04954"} 
[2026-08-28 22:37:20] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:37:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711709184001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:37:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:37:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:37:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:37:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787936665000,"timestamp_ms":1787936665000,"timestamp_seconds":1787936665,"priority":1,"record_length":96,"hex_timestamp":"000001a049546da8"} 
[2026-08-28 22:37:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:37:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:37:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:37:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:37:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:37:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:37:20] local.INFO: Teltonika packet parsed successfully {"connection_id":164125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:37:20] local.INFO: Passing IMEI to GPS processor {"connection_id":164125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:37:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":164125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:37:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:37:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:37:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:37:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711709184001,"66":2144,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 22:37:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:37:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:37:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711709184001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:37:20] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 22:37:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:37:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:37:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:37:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711709184001,"power":2144,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:37:20] local.INFO: DEBUG: GPS processor result {"connection_id":164125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710953,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:37:20] local.INFO: GPS data processed {"connection_id":164125,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:37:20] local.INFO: Acknowledgment sent {"connection_id":164125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:37:34] local.INFO: TCP Data received {"connection_id":165123,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04954fe30012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04954fe30012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:37:34] local.INFO: Processing buffer {"connection_id":165123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04954fe30012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:37:34] local.INFO: Packet analysis {"connection_id":165123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04954"} 
[2026-08-28 22:37:34] local.INFO: Extracted packet for processing {"connection_id":165123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04954"} 
[2026-08-28 22:37:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711718912001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787936702000,"timestamp_ms":1787936702000,"timestamp_seconds":1787936702,"priority":1,"record_length":96,"hex_timestamp":"000001a04954fe30"} 
[2026-08-28 22:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:37:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 22:37:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:37:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":165123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":165123,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":165123,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711718912001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711718912001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:37:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:37:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711718912001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:37:34] 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":710954,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:37:34] local.INFO: GPS data processed {"connection_id":165123,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:37:34] local.INFO: Acknowledgment sent {"connection_id":165123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:37:35] local.INFO: TCP Data received {"connection_id":163840,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:37:35] local.INFO: Processing buffer {"connection_id":163840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:37:35] local.INFO: IMEI packet received {"connection_id":163840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 22:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":163840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:37:40] local.INFO: TCP Data received {"connection_id":163840,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:37:40] local.INFO: Processing buffer {"connection_id":163840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:37:40] local.INFO: IMEI packet received {"connection_id":163840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 22:37:40] local.INFO: IMEI acknowledgment sent {"connection_id":163840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:37:42] local.INFO: TCP Data received {"connection_id":163840,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0495275c0012d34c14006aa4840000d00e629..."} 
[2026-08-28 22:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0495275c0012d34c14006aa4840000d00e629..."} 
[2026-08-28 22:37:42] local.INFO: Processing buffer {"connection_id":163840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0495275c0012d34c14006aa4840000d00e629..."} 
[2026-08-28 22:37:42] local.INFO: Packet analysis {"connection_id":163840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04952"} 
[2026-08-28 22:37:42] local.INFO: Extracted packet for processing {"connection_id":163840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04952"} 
[2026-08-28 22:37:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711676160001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:37:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:37:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787936536000,"timestamp_ms":1787936536000,"timestamp_seconds":1787936536,"priority":1,"record_length":96,"hex_timestamp":"000001a0495275c0"} 
[2026-08-28 22: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-28 22:37:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 22:37: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-28 22: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-28 22: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-28 22:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:37:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711676160001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711676160001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:37:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:37:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22: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-28 22:37:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711676160001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":163840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:37:42] local.INFO: GPS data processed {"connection_id":163840,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:37:42] local.INFO: Acknowledgment sent {"connection_id":163840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:37:45] local.INFO: TCP Data received {"connection_id":163840,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0495275c0012d34c14006aa4840000d00e629..."} 
[2026-08-28 22:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0495275c0012d34c14006aa4840000d00e629..."} 
[2026-08-28 22:37:45] local.INFO: Processing buffer {"connection_id":163840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0495275c0012d34c14006aa4840000d00e629..."} 
[2026-08-28 22:37:45] local.INFO: Packet analysis {"connection_id":163840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04952"} 
[2026-08-28 22:37:45] local.INFO: Extracted packet for processing {"connection_id":163840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04952"} 
[2026-08-28 22:37:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":13,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:37:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711676160001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:37:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:37:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:37:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:37:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787936536000,"timestamp_ms":1787936536000,"timestamp_seconds":1787936536,"priority":1,"record_length":96,"hex_timestamp":"000001a0495275c0"} 
[2026-08-28 22: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-28 22:37:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 22:37: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-28 22: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-28 22: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-28 22:37:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:37:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:37:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:37:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:37:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:37:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:37:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:37:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711676160001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:37:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:37:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:37:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711676160001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:37:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:37:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22: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-28 22:37:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:37:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711676160001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:37:45] local.INFO: DEBUG: GPS processor result {"connection_id":163840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:37:45] local.INFO: GPS data processed {"connection_id":163840,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:37:45] local.INFO: Acknowledgment sent {"connection_id":163840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:37:52] local.INFO: TCP Data received {"connection_id":164125,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049546da8012d196580071ff008003d013925..."} 
[2026-08-28 22:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049546da8012d196580071ff008003d013925..."} 
[2026-08-28 22:37:52] local.INFO: Processing buffer {"connection_id":164125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049546da8012d196580071ff008003d013925..."} 
[2026-08-28 22:37:52] local.INFO: Packet analysis {"connection_id":164125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04954"} 
[2026-08-28 22:37:52] local.INFO: Extracted packet for processing {"connection_id":164125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04954"} 
[2026-08-28 22:37:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:37:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711709184001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:37:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:37:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:37:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:37:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787936665000,"timestamp_ms":1787936665000,"timestamp_seconds":1787936665,"priority":1,"record_length":96,"hex_timestamp":"000001a049546da8"} 
[2026-08-28 22: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-28 22:37:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:37:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22: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-28 22: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-28 22:37:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:37:52] local.INFO: Teltonika packet parsed successfully {"connection_id":164125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:37:52] local.INFO: Passing IMEI to GPS processor {"connection_id":164125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:37:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":164125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:37:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:37:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:37:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:37:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711709184001,"66":2144,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 22:37:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:37:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:37:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711709184001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:37:52] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 22:37:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:37:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:37:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:37:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711709184001,"power":2144,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:37:52] local.INFO: DEBUG: GPS processor result {"connection_id":164125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710957,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:37:52] local.INFO: GPS data processed {"connection_id":164125,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:37:52] local.INFO: Acknowledgment sent {"connection_id":164125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:37:55] local.INFO: TCP Data received {"connection_id":163841,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163841,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:37:55] local.INFO: Processing buffer {"connection_id":163841,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:37:55] local.INFO: IMEI packet received {"connection_id":163841,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 22:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":163841,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:38:01] local.INFO: TCP Data received {"connection_id":163841,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163841,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:38:01] local.INFO: Processing buffer {"connection_id":163841,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:38:01] local.INFO: IMEI packet received {"connection_id":163841,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 22:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":163841,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:38:02] local.INFO: TCP Data received {"connection_id":163841,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04954fe30012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04954fe30012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:38:02] local.INFO: Processing buffer {"connection_id":163841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04954fe30012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:38:02] local.INFO: Packet analysis {"connection_id":163841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04954"} 
[2026-08-28 22:38:02] local.INFO: Extracted packet for processing {"connection_id":163841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04954"} 
[2026-08-28 22:38:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711718912001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:38:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:38:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787936702000,"timestamp_ms":1787936702000,"timestamp_seconds":1787936702,"priority":1,"record_length":96,"hex_timestamp":"000001a04954fe30"} 
[2026-08-28 22:38:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:38:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 22:38:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:38:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:38:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163841,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163841,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:38:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711718912001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711718912001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:38:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:38:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:38:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711718912001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":163841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710958,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:38:02] local.INFO: GPS data processed {"connection_id":163841,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:38:02] local.INFO: Acknowledgment sent {"connection_id":163841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:38:19] local.INFO: TCP Data received {"connection_id":163842,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163842,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:38:19] local.INFO: Processing buffer {"connection_id":163842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:38:19] local.INFO: IMEI packet received {"connection_id":163842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 22:38:19] local.INFO: IMEI acknowledgment sent {"connection_id":163842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:38:24] local.INFO: TCP Data received {"connection_id":163842,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163842,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:38:24] local.INFO: Processing buffer {"connection_id":163842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:38:24] local.INFO: IMEI packet received {"connection_id":163842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 22:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":163842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:38:25] local.INFO: TCP Data received {"connection_id":163842,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049546da8012d196580071ff008003d013925..."} 
[2026-08-28 22:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049546da8012d196580071ff008003d013925..."} 
[2026-08-28 22:38:25] local.INFO: Processing buffer {"connection_id":163842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049546da8012d196580071ff008003d013925..."} 
[2026-08-28 22:38:25] local.INFO: Packet analysis {"connection_id":163842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04954"} 
[2026-08-28 22:38:25] local.INFO: Extracted packet for processing {"connection_id":163842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04954"} 
[2026-08-28 22:38:25] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711709184001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:38:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:38:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787936665000,"timestamp_ms":1787936665000,"timestamp_seconds":1787936665,"priority":1,"record_length":96,"hex_timestamp":"000001a049546da8"} 
[2026-08-28 22:38:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:38:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:38:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:38:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:38:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":163842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":163842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":163842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:38:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711709184001,"66":2144,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 22:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711709184001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:38:25] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 22:38:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:38:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711709184001,"power":2144,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:38:26] local.INFO: DEBUG: GPS processor result {"connection_id":163842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710959,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:38:26] local.INFO: GPS data processed {"connection_id":163842,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:38:26] local.INFO: Acknowledgment sent {"connection_id":163842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:38:29] local.INFO: TCP Data received {"connection_id":166489,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:38:29] local.INFO: Processing buffer {"connection_id":166489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:38:29] local.INFO: IMEI packet received {"connection_id":166489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 22:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":166489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:38:30] local.INFO: TCP Data received {"connection_id":163842,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049546da8012d196580071ff008003d013925..."} 
[2026-08-28 22:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049546da8012d196580071ff008003d013925..."} 
[2026-08-28 22:38:30] local.INFO: Processing buffer {"connection_id":163842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049546da8012d196580071ff008003d013925..."} 
[2026-08-28 22:38:30] local.INFO: Packet analysis {"connection_id":163842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04954"} 
[2026-08-28 22:38:30] local.INFO: Extracted packet for processing {"connection_id":163842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04954"} 
[2026-08-28 22:38:30] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711709184001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:38:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:38:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787936665000,"timestamp_ms":1787936665000,"timestamp_seconds":1787936665,"priority":1,"record_length":96,"hex_timestamp":"000001a049546da8"} 
[2026-08-28 22:38:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:38:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:38:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:38:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:38:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":163842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":163842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":163842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:38:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711709184001,"66":2144,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 22:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711709184001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:38:30] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 22:38:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:38:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711709184001,"power":2144,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":163842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710960,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:38:30] local.INFO: GPS data processed {"connection_id":163842,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:38:30] local.INFO: Acknowledgment sent {"connection_id":163842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:38:33] local.INFO: TCP Data received {"connection_id":163841,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04954fe30012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04954fe30012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:38:33] local.INFO: Processing buffer {"connection_id":163841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04954fe30012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:38:33] local.INFO: Packet analysis {"connection_id":163841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04954"} 
[2026-08-28 22:38:33] local.INFO: Extracted packet for processing {"connection_id":163841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04954"} 
[2026-08-28 22:38:33] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:38:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711718912001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:38:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787936702000,"timestamp_ms":1787936702000,"timestamp_seconds":1787936702,"priority":1,"record_length":96,"hex_timestamp":"000001a04954fe30"} 
[2026-08-28 22:38:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:38:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:38:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 22:38:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:38:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:38:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":163841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":163841,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":163841,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:38:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711718912001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711718912001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:38:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:38:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711718912001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":163841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710961,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:38:34] local.INFO: GPS data processed {"connection_id":163841,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:38:34] local.INFO: Acknowledgment sent {"connection_id":163841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:38:35] local.INFO: TCP Data received {"connection_id":166489,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:38:35] local.INFO: Processing buffer {"connection_id":166489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:38:35] local.INFO: IMEI packet received {"connection_id":166489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 22:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":166489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:38:37] local.INFO: TCP Data received {"connection_id":166489,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049570d88012d34c14006aa4840000b00e629..."} 
[2026-08-28 22:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049570d88012d34c14006aa4840000b00e629..."} 
[2026-08-28 22:38:37] local.INFO: Processing buffer {"connection_id":166489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049570d88012d34c14006aa4840000b00e629..."} 
[2026-08-28 22:38:37] local.INFO: Packet analysis {"connection_id":166489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04957"} 
[2026-08-28 22:38:37] local.INFO: Extracted packet for processing {"connection_id":166489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04957"} 
[2026-08-28 22:38:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711753216001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787936837000,"timestamp_ms":1787936837000,"timestamp_seconds":1787936837,"priority":1,"record_length":96,"hex_timestamp":"000001a049570d88"} 
[2026-08-28 22:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 22:38:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":166489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":166489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":166489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711753216001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711753216001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:38:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:38:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:38: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-28 22:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711753216001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":166489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:38:37] local.INFO: GPS data processed {"connection_id":166489,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:38:37] local.INFO: Acknowledgment sent {"connection_id":166489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:38:55] local.INFO: TCP Data received {"connection_id":164126,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164126,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:38:55] local.INFO: Processing buffer {"connection_id":164126,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:38:55] local.INFO: IMEI packet received {"connection_id":164126,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 22:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":164126,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:39:01] local.INFO: TCP Data received {"connection_id":164126,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164126,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:39:01] local.INFO: Processing buffer {"connection_id":164126,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:39:01] local.INFO: IMEI packet received {"connection_id":164126,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 22:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":164126,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:39:02] local.INFO: TCP Data received {"connection_id":164126,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04954fe30012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04954fe30012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:39:02] local.INFO: Processing buffer {"connection_id":164126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04954fe30012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:39:02] local.INFO: Packet analysis {"connection_id":164126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04954"} 
[2026-08-28 22:39:02] local.INFO: Extracted packet for processing {"connection_id":164126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04954"} 
[2026-08-28 22:39:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711718912001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:39:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:39:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787936702000,"timestamp_ms":1787936702000,"timestamp_seconds":1787936702,"priority":1,"record_length":96,"hex_timestamp":"000001a04954fe30"} 
[2026-08-28 22:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:39:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 22:39:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:39:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":164126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":164126,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":164126,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:39:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711718912001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711718912001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:39:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:39:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:39:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711718912001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":164126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710963,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:39:02] local.INFO: GPS data processed {"connection_id":164126,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:39:02] local.INFO: Acknowledgment sent {"connection_id":164126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:39:08] local.INFO: TCP Data received {"connection_id":166489,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049570d88012d34c14006aa4840000b00e629..."} 
[2026-08-28 22:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049570d88012d34c14006aa4840000b00e629..."} 
[2026-08-28 22:39:08] local.INFO: Processing buffer {"connection_id":166489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049570d88012d34c14006aa4840000b00e629..."} 
[2026-08-28 22:39:08] local.INFO: Packet analysis {"connection_id":166489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04957"} 
[2026-08-28 22:39:08] local.INFO: Extracted packet for processing {"connection_id":166489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04957"} 
[2026-08-28 22:39:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711753216001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:39:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787936837000,"timestamp_ms":1787936837000,"timestamp_seconds":1787936837,"priority":1,"record_length":96,"hex_timestamp":"000001a049570d88"} 
[2026-08-28 22:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:39:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 22:39:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:39:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":166489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":166489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":166489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:39:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711753216001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711753216001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:39:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:39:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:39: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-28 22:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711753216001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":166489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:39:08] local.INFO: GPS data processed {"connection_id":166489,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:39:08] local.INFO: Acknowledgment sent {"connection_id":166489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:39:14] local.INFO: TCP Data received {"connection_id":163843,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163843,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:39:14] local.INFO: Processing buffer {"connection_id":163843,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:39:14] local.INFO: IMEI packet received {"connection_id":163843,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 22:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":163843,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:39:19] local.INFO: TCP Data received {"connection_id":163843,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163843,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:39:19] local.INFO: Processing buffer {"connection_id":163843,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:39:19] local.INFO: IMEI packet received {"connection_id":163843,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 22:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":163843,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:39:20] local.INFO: TCP Data received {"connection_id":163843,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049546da8012d196580071ff008003d013925..."} 
[2026-08-28 22:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049546da8012d196580071ff008003d013925..."} 
[2026-08-28 22:39:20] local.INFO: Processing buffer {"connection_id":163843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049546da8012d196580071ff008003d013925..."} 
[2026-08-28 22:39:20] local.INFO: Packet analysis {"connection_id":163843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04954"} 
[2026-08-28 22:39:20] local.INFO: Extracted packet for processing {"connection_id":163843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04954"} 
[2026-08-28 22:39:20] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:39:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:39:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711709184001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:39:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:39:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:39:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:39:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787936665000,"timestamp_ms":1787936665000,"timestamp_seconds":1787936665,"priority":1,"record_length":96,"hex_timestamp":"000001a049546da8"} 
[2026-08-28 22:39:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:39:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:39:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:39:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:39:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:39:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:39:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:39:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:39:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:39:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:39:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:39:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:39:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:39:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711709184001,"66":2144,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 22:39:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:39:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:39:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711709184001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:39:20] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 22:39:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:39:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:39:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:39:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711709184001,"power":2144,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":163843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710965,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:39:21] local.INFO: GPS data processed {"connection_id":163843,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:39:21] local.INFO: Acknowledgment sent {"connection_id":163843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:39:29] local.INFO: TCP Data received {"connection_id":164127,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:39:29] local.INFO: Processing buffer {"connection_id":164127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:39:29] local.INFO: IMEI packet received {"connection_id":164127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 22:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":164127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:39:34] local.INFO: TCP Data received {"connection_id":164126,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04954fe30012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04954fe30012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:39:34] local.INFO: Processing buffer {"connection_id":164126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04954fe30012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:39:34] local.INFO: Packet analysis {"connection_id":164126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04954"} 
[2026-08-28 22:39:34] local.INFO: Extracted packet for processing {"connection_id":164126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04954"} 
[2026-08-28 22:39:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711718912001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787936702000,"timestamp_ms":1787936702000,"timestamp_seconds":1787936702,"priority":1,"record_length":96,"hex_timestamp":"000001a04954fe30"} 
[2026-08-28 22:39:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:39:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 22:39:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:39:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:39:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":164126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":164126,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":164126,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711718912001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711718912001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:39:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:39:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711718912001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":164126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710966,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:39:34] local.INFO: GPS data processed {"connection_id":164126,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:39:34] local.INFO: Acknowledgment sent {"connection_id":164126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:39:35] local.INFO: TCP Data received {"connection_id":164127,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:39:35] local.INFO: Processing buffer {"connection_id":164127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:39:35] local.INFO: IMEI packet received {"connection_id":164127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 22:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":164127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:39:37] local.INFO: TCP Data received {"connection_id":164127,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049570d88012d34c14006aa4840000b00e629..."} 
[2026-08-28 22:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049570d88012d34c14006aa4840000b00e629..."} 
[2026-08-28 22:39:37] local.INFO: Processing buffer {"connection_id":164127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049570d88012d34c14006aa4840000b00e629..."} 
[2026-08-28 22:39:37] local.INFO: Packet analysis {"connection_id":164127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04957"} 
[2026-08-28 22:39:37] local.INFO: Extracted packet for processing {"connection_id":164127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04957"} 
[2026-08-28 22:39:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711753216001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787936837000,"timestamp_ms":1787936837000,"timestamp_seconds":1787936837,"priority":1,"record_length":96,"hex_timestamp":"000001a049570d88"} 
[2026-08-28 22:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 22:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711753216001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711753216001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:39:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:39:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:39: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-28 22:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711753216001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":164127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:39:37] local.INFO: GPS data processed {"connection_id":164127,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:39:37] local.INFO: Acknowledgment sent {"connection_id":164127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:39:52] local.INFO: TCP Data received {"connection_id":163843,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049546da8012d196580071ff008003d013925..."} 
[2026-08-28 22:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049546da8012d196580071ff008003d013925..."} 
[2026-08-28 22:39:52] local.INFO: Processing buffer {"connection_id":163843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049546da8012d196580071ff008003d013925..."} 
[2026-08-28 22:39:52] local.INFO: Packet analysis {"connection_id":163843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04954"} 
[2026-08-28 22:39:52] local.INFO: Extracted packet for processing {"connection_id":163843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04954"} 
[2026-08-28 22:39:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:39:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711709184001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:39:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:39:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:39:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:39:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787936665000,"timestamp_ms":1787936665000,"timestamp_seconds":1787936665,"priority":1,"record_length":96,"hex_timestamp":"000001a049546da8"} 
[2026-08-28 22:39:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:39:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:39:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:39:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:39:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:39:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:39:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:39:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:39:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:39:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:39:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:39:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:39:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711709184001,"66":2144,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 22:39:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:39:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:39:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711709184001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:39:52] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 22:39:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:39:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:39:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:39:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711709184001,"power":2144,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:39:52] local.INFO: DEBUG: GPS processor result {"connection_id":163843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710968,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:39:52] local.INFO: GPS data processed {"connection_id":163843,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:39:52] local.INFO: Acknowledgment sent {"connection_id":163843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:40:01] local.INFO: TCP Data received {"connection_id":164128,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164128,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:40:01] local.INFO: Processing buffer {"connection_id":164128,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:40:01] local.INFO: IMEI packet received {"connection_id":164128,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 22:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":164128,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:40:06] local.INFO: TCP Data received {"connection_id":164128,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164128,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:40:06] local.INFO: Processing buffer {"connection_id":164128,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:40:06] local.INFO: IMEI packet received {"connection_id":164128,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 22:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":164128,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:40:07] local.INFO: TCP Data received {"connection_id":164128,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04954fe30012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04954fe30012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:40:07] local.INFO: Processing buffer {"connection_id":164128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04954fe30012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:40:07] local.INFO: Packet analysis {"connection_id":164128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04954"} 
[2026-08-28 22:40:07] local.INFO: Extracted packet for processing {"connection_id":164128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04954"} 
[2026-08-28 22:40:07] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711718912001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:40:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:40:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787936702000,"timestamp_ms":1787936702000,"timestamp_seconds":1787936702,"priority":1,"record_length":96,"hex_timestamp":"000001a04954fe30"} 
[2026-08-28 22:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:40:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 22:40:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:40:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":164128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":164128,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":164128,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:40:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711718912001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711718912001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:40:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:40:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:40:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711718912001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":164128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710969,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:40:07] local.INFO: GPS data processed {"connection_id":164128,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:40:07] local.INFO: Acknowledgment sent {"connection_id":164128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:40:09] local.INFO: TCP Data received {"connection_id":164127,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049570d88012d34c14006aa4840000b00e629..."} 
[2026-08-28 22:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049570d88012d34c14006aa4840000b00e629..."} 
[2026-08-28 22:40:09] local.INFO: Processing buffer {"connection_id":164127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049570d88012d34c14006aa4840000b00e629..."} 
[2026-08-28 22:40:09] local.INFO: Packet analysis {"connection_id":164127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04957"} 
[2026-08-28 22:40:09] local.INFO: Extracted packet for processing {"connection_id":164127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04957"} 
[2026-08-28 22:40:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711753216001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:40:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787936837000,"timestamp_ms":1787936837000,"timestamp_seconds":1787936837,"priority":1,"record_length":96,"hex_timestamp":"000001a049570d88"} 
[2026-08-28 22:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:40:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 22:40:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:40:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:40:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711753216001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711753216001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:40:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:40:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:40: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-28 22:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711753216001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":164127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:40:09] local.INFO: GPS data processed {"connection_id":164127,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:40:09] local.INFO: Acknowledgment sent {"connection_id":164127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:40:11] local.INFO: TCP Data received {"connection_id":164128,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04954fe30012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04954fe30012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:40:11] local.INFO: Processing buffer {"connection_id":164128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04954fe30012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:40:11] local.INFO: Packet analysis {"connection_id":164128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04954"} 
[2026-08-28 22:40:11] local.INFO: Extracted packet for processing {"connection_id":164128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04954"} 
[2026-08-28 22:40:11] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711718912001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:40:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:40:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787936702000,"timestamp_ms":1787936702000,"timestamp_seconds":1787936702,"priority":1,"record_length":96,"hex_timestamp":"000001a04954fe30"} 
[2026-08-28 22:40:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:40:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 22:40:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:40:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:40:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":164128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":164128,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":164128,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:40:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711718912001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711718912001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:40:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:40:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:40:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711718912001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":164128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710971,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:40:12] local.INFO: GPS data processed {"connection_id":164128,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:40:12] local.INFO: Acknowledgment sent {"connection_id":164128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:40:14] local.INFO: TCP Data received {"connection_id":165124,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:40:14] local.INFO: Processing buffer {"connection_id":165124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:40:14] local.INFO: IMEI packet received {"connection_id":165124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 22:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":165124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:40:19] local.INFO: TCP Data received {"connection_id":165124,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:40:19] local.INFO: Processing buffer {"connection_id":165124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:40:19] local.INFO: IMEI packet received {"connection_id":165124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 22:40:19] local.INFO: IMEI acknowledgment sent {"connection_id":165124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:40:25] local.INFO: TCP Data received {"connection_id":165124,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049590570012d196580071ff008003d013927..."} 
[2026-08-28 22:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049590570012d196580071ff008003d013927..."} 
[2026-08-28 22:40:25] local.INFO: Processing buffer {"connection_id":165124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049590570012d196580071ff008003d013927..."} 
[2026-08-28 22:40:25] local.INFO: Packet analysis {"connection_id":165124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04959"} 
[2026-08-28 22:40:25] local.INFO: Extracted packet for processing {"connection_id":165124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04959"} 
[2026-08-28 22:40:25] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:40:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:40:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711786240001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:40:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:40:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:40:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:40:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787936966000,"timestamp_ms":1787936966000,"timestamp_seconds":1787936966,"priority":1,"record_length":96,"hex_timestamp":"000001a049590570"} 
[2026-08-28 22:40:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:40:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:40:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-28 22:40:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:40:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:40:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:40:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:40:25] local.INFO: Teltonika packet parsed successfully {"connection_id":165124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:40:25] local.INFO: Passing IMEI to GPS processor {"connection_id":165124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:40:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":165124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:40:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:40:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:40:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:40:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711786240001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 22:40:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:40:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:40:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711786240001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:40:25] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 22:40:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:40:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:40:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:40:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711786240001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:40:25] local.INFO: DEBUG: GPS processor result {"connection_id":165124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710972,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:40:25] local.INFO: GPS data processed {"connection_id":165124,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:40:25] local.INFO: Acknowledgment sent {"connection_id":165124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:40:35] local.INFO: TCP Data received {"connection_id":163844,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:40:35] local.INFO: Processing buffer {"connection_id":163844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:40:35] local.INFO: IMEI packet received {"connection_id":163844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 22:40:35] local.INFO: IMEI acknowledgment sent {"connection_id":163844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:40:40] local.INFO: TCP Data received {"connection_id":163844,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:40:40] local.INFO: Processing buffer {"connection_id":163844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:40:40] local.INFO: IMEI packet received {"connection_id":163844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 22:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":163844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:40:42] local.INFO: TCP Data received {"connection_id":163844,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049570d88012d34c14006aa4840000b00e629..."} 
[2026-08-28 22:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049570d88012d34c14006aa4840000b00e629..."} 
[2026-08-28 22:40:42] local.INFO: Processing buffer {"connection_id":163844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049570d88012d34c14006aa4840000b00e629..."} 
[2026-08-28 22:40:42] local.INFO: Packet analysis {"connection_id":163844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04957"} 
[2026-08-28 22:40:42] local.INFO: Extracted packet for processing {"connection_id":163844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04957"} 
[2026-08-28 22:40:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711753216001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:40:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:40:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787936837000,"timestamp_ms":1787936837000,"timestamp_seconds":1787936837,"priority":1,"record_length":96,"hex_timestamp":"000001a049570d88"} 
[2026-08-28 22: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-28 22:40:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 22:40: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-28 22: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-28 22: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-28 22:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":163844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":163844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":163844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:40:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711753216001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711753216001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:40:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:40:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22: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-28 22:40:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711753216001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":163844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:40:42] local.INFO: GPS data processed {"connection_id":163844,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:40:42] local.INFO: Acknowledgment sent {"connection_id":163844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:40:45] local.INFO: TCP Data received {"connection_id":163844,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049570d88012d34c14006aa4840000b00e629..."} 
[2026-08-28 22:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049570d88012d34c14006aa4840000b00e629..."} 
[2026-08-28 22:40:45] local.INFO: Processing buffer {"connection_id":163844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049570d88012d34c14006aa4840000b00e629..."} 
[2026-08-28 22:40:45] local.INFO: Packet analysis {"connection_id":163844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04957"} 
[2026-08-28 22:40:45] local.INFO: Extracted packet for processing {"connection_id":163844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04957"} 
[2026-08-28 22:40:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:40:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711753216001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:40:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:40:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:40:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:40:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787936837000,"timestamp_ms":1787936837000,"timestamp_seconds":1787936837,"priority":1,"record_length":96,"hex_timestamp":"000001a049570d88"} 
[2026-08-28 22: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-28 22:40:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 22:40: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-28 22: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-28 22: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-28 22:40:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:40:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:40:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:40:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:40:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:40:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:40:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:40:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711753216001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:40:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:40:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:40:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711753216001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:40:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:40:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22: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-28 22:40:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:40:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711753216001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:40:45] local.INFO: DEBUG: GPS processor result {"connection_id":163844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:40:45] local.INFO: GPS data processed {"connection_id":163844,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:40:45] local.INFO: Acknowledgment sent {"connection_id":163844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:40:56] local.INFO: TCP Data received {"connection_id":164129,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164129,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:40:56] local.INFO: Processing buffer {"connection_id":164129,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:40:56] local.INFO: IMEI packet received {"connection_id":164129,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 22:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":164129,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:40:57] local.INFO: TCP Data received {"connection_id":165124,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049590570012d196580071ff008003d013927..."} 
[2026-08-28 22:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049590570012d196580071ff008003d013927..."} 
[2026-08-28 22:40:57] local.INFO: Processing buffer {"connection_id":165124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049590570012d196580071ff008003d013927..."} 
[2026-08-28 22:40:57] local.INFO: Packet analysis {"connection_id":165124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04959"} 
[2026-08-28 22:40:57] local.INFO: Extracted packet for processing {"connection_id":165124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04959"} 
[2026-08-28 22:40:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:40:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:40:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711786240001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:40:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:40:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:40:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:40:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787936966000,"timestamp_ms":1787936966000,"timestamp_seconds":1787936966,"priority":1,"record_length":96,"hex_timestamp":"000001a049590570"} 
[2026-08-28 22:40:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:40:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:40:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-28 22:40:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:40:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:40:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:40:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:40:57] local.INFO: Teltonika packet parsed successfully {"connection_id":165124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:40:57] local.INFO: Passing IMEI to GPS processor {"connection_id":165124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:40:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":165124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:40:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:40:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:40:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:40:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711786240001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 22:40:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:40:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:40:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711786240001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:40:57] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 22:40:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:40:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:40:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:40:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711786240001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:40:57] local.INFO: DEBUG: GPS processor result {"connection_id":165124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710975,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:40:57] local.INFO: GPS data processed {"connection_id":165124,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:40:57] local.INFO: Acknowledgment sent {"connection_id":165124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:41:01] local.INFO: TCP Data received {"connection_id":164129,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164129,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:41:01] local.INFO: Processing buffer {"connection_id":164129,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:41:01] local.INFO: IMEI packet received {"connection_id":164129,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 22:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":164129,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:41:02] local.INFO: TCP Data received {"connection_id":164129,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0495995f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0495995f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:41:02] local.INFO: Processing buffer {"connection_id":164129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0495995f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:41:02] local.INFO: Packet analysis {"connection_id":164129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04959"} 
[2026-08-28 22:41:02] local.INFO: Extracted packet for processing {"connection_id":164129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04959"} 
[2026-08-28 22:41:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711795712001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:41:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:41:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787937003000,"timestamp_ms":1787937003000,"timestamp_seconds":1787937003,"priority":1,"record_length":96,"hex_timestamp":"000001a0495995f8"} 
[2026-08-28 22:41:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:41:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 22:41:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:41:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:41:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":164129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":164129,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":164129,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:41:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711795712001,"66":25245,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711795712001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:41:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:41:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:41:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:41:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711795712001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:41:02] local.INFO: DEBUG: GPS processor result {"connection_id":164129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710976,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:41:02] local.INFO: GPS data processed {"connection_id":164129,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:41:02] local.INFO: Acknowledgment sent {"connection_id":164129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:41:19] local.INFO: TCP Data received {"connection_id":166490,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:41:19] local.INFO: Processing buffer {"connection_id":166490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:41:19] local.INFO: IMEI packet received {"connection_id":166490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 22:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":166490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:41:24] local.INFO: TCP Data received {"connection_id":166490,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:41:24] local.INFO: Processing buffer {"connection_id":166490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:41:24] local.INFO: IMEI packet received {"connection_id":166490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 22:41:24] local.INFO: IMEI acknowledgment sent {"connection_id":166490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:41:25] local.INFO: TCP Data received {"connection_id":166490,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049590570012d196580071ff008003d013927..."} 
[2026-08-28 22:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049590570012d196580071ff008003d013927..."} 
[2026-08-28 22:41:25] local.INFO: Processing buffer {"connection_id":166490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049590570012d196580071ff008003d013927..."} 
[2026-08-28 22:41:25] local.INFO: Packet analysis {"connection_id":166490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04959"} 
[2026-08-28 22:41:25] local.INFO: Extracted packet for processing {"connection_id":166490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04959"} 
[2026-08-28 22:41:25] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:41:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:41:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711786240001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:41:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:41:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:41:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:41:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787936966000,"timestamp_ms":1787936966000,"timestamp_seconds":1787936966,"priority":1,"record_length":96,"hex_timestamp":"000001a049590570"} 
[2026-08-28 22:41:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:41:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:41:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-28 22:41:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:41:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:41:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:41:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:41:25] local.INFO: Teltonika packet parsed successfully {"connection_id":166490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:41:25] local.INFO: Passing IMEI to GPS processor {"connection_id":166490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:41:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":166490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:41:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:41:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:41:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:41:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711786240001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 22:41:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:41:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:41:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711786240001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:41:25] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 22:41:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:41:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:41:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:41:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711786240001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:41:25] local.INFO: DEBUG: GPS processor result {"connection_id":166490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710977,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:41:25] local.INFO: GPS data processed {"connection_id":166490,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:41:25] local.INFO: Acknowledgment sent {"connection_id":166490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:41:29] local.INFO: TCP Data received {"connection_id":166490,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049590570012d196580071ff008003d013927..."} 
[2026-08-28 22:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049590570012d196580071ff008003d013927..."} 
[2026-08-28 22:41:29] local.INFO: Processing buffer {"connection_id":166490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049590570012d196580071ff008003d013927..."} 
[2026-08-28 22:41:29] local.INFO: Packet analysis {"connection_id":166490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04959"} 
[2026-08-28 22:41:29] local.INFO: Extracted packet for processing {"connection_id":166490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04959"} 
[2026-08-28 22:41:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:41:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:41:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711786240001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:41:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:41:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:41:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:41:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787936966000,"timestamp_ms":1787936966000,"timestamp_seconds":1787936966,"priority":1,"record_length":96,"hex_timestamp":"000001a049590570"} 
[2026-08-28 22:41:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:41:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:41:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-28 22:41:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:41:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:41:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:41:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:41:29] local.INFO: Teltonika packet parsed successfully {"connection_id":166490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:41:29] local.INFO: Passing IMEI to GPS processor {"connection_id":166490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:41:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":166490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:41:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:41:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:41:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:41:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711786240001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 22:41:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:41:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:41:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711786240001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:41:29] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 22:41:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:41:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:41:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:41:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711786240001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:41:29] local.INFO: DEBUG: GPS processor result {"connection_id":166490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710978,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:41:29] local.INFO: GPS data processed {"connection_id":166490,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:41:29] local.INFO: Acknowledgment sent {"connection_id":166490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:41:30] local.INFO: TCP Data received {"connection_id":165125,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:41:30] local.INFO: Processing buffer {"connection_id":165125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:41:30] local.INFO: IMEI packet received {"connection_id":165125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 22:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":165125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:41:35] local.INFO: TCP Data received {"connection_id":164129,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0495995f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0495995f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:41:35] local.INFO: Processing buffer {"connection_id":164129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0495995f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:41:35] local.INFO: Packet analysis {"connection_id":164129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04959"} 
[2026-08-28 22:41:35] local.INFO: Extracted packet for processing {"connection_id":164129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04959"} 
[2026-08-28 22:41:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711795712001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:41:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:41:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:41:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:41:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787937003000,"timestamp_ms":1787937003000,"timestamp_seconds":1787937003,"priority":1,"record_length":96,"hex_timestamp":"000001a0495995f8"} 
[2026-08-28 22:41:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:41:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 22:41:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:41:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:41:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:41:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:41:35] local.INFO: Teltonika packet parsed successfully {"connection_id":164129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:41:35] local.INFO: Passing IMEI to GPS processor {"connection_id":164129,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:41:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":164129,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:41:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:41:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:41:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:41:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711795712001,"66":25245,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:41:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:41:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:41:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711795712001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:41:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:41:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:41:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:41:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:41:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711795712001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:41:35] local.INFO: DEBUG: GPS processor result {"connection_id":164129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710979,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:41:35] local.INFO: GPS data processed {"connection_id":164129,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:41:35] local.INFO: Acknowledgment sent {"connection_id":164129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:41:35] local.INFO: TCP Data received {"connection_id":165125,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:41:35] local.INFO: Processing buffer {"connection_id":165125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:41:35] local.INFO: IMEI packet received {"connection_id":165125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 22:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":165125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:41:38] local.INFO: TCP Data received {"connection_id":165125,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049570d88012d34c14006aa4840000b00e629..."} 
[2026-08-28 22:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049570d88012d34c14006aa4840000b00e629..."} 
[2026-08-28 22:41:38] local.INFO: Processing buffer {"connection_id":165125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049570d88012d34c14006aa4840000b00e629..."} 
[2026-08-28 22:41:38] local.INFO: Packet analysis {"connection_id":165125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04957"} 
[2026-08-28 22:41:38] local.INFO: Extracted packet for processing {"connection_id":165125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04957"} 
[2026-08-28 22:41:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711753216001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:41:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787936837000,"timestamp_ms":1787936837000,"timestamp_seconds":1787936837,"priority":1,"record_length":96,"hex_timestamp":"000001a049570d88"} 
[2026-08-28 22:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 22:41:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:41:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":165125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":165125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":165125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711753216001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711753216001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:41:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:41:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:41: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-28 22:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711753216001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:41:38] 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":710980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:41:38] local.INFO: GPS data processed {"connection_id":165125,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:41:38] local.INFO: Acknowledgment sent {"connection_id":165125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:41:41] local.INFO: TCP Data received {"connection_id":165125,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049570d88012d34c14006aa4840000b00e629..."} 
[2026-08-28 22:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049570d88012d34c14006aa4840000b00e629..."} 
[2026-08-28 22:41:41] local.INFO: Processing buffer {"connection_id":165125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049570d88012d34c14006aa4840000b00e629..."} 
[2026-08-28 22:41:41] local.INFO: Packet analysis {"connection_id":165125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04957"} 
[2026-08-28 22:41:41] local.INFO: Extracted packet for processing {"connection_id":165125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04957"} 
[2026-08-28 22:41:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711753216001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:41:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:41:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787936837000,"timestamp_ms":1787936837000,"timestamp_seconds":1787936837,"priority":1,"record_length":96,"hex_timestamp":"000001a049570d88"} 
[2026-08-28 22:41:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:41:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 22:41: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-28 22:41:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:41:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":165125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":165125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":165125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:41:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711753216001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711753216001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:41:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:41:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22: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-28 22:41:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:41:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711753216001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:41:41] 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":710981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:41:41] local.INFO: GPS data processed {"connection_id":165125,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:41:41] local.INFO: Acknowledgment sent {"connection_id":165125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:41:55] local.INFO: TCP Data received {"connection_id":164130,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164130,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:41:55] local.INFO: Processing buffer {"connection_id":164130,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:41:55] local.INFO: IMEI packet received {"connection_id":164130,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 22:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":164130,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:42:01] local.INFO: TCP Data received {"connection_id":164130,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164130,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:42:01] local.INFO: Processing buffer {"connection_id":164130,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:42:01] local.INFO: IMEI packet received {"connection_id":164130,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 22:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":164130,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:42:02] local.INFO: TCP Data received {"connection_id":164130,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0495995f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0495995f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:42:02] local.INFO: Processing buffer {"connection_id":164130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0495995f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:42:02] local.INFO: Packet analysis {"connection_id":164130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04959"} 
[2026-08-28 22:42:02] local.INFO: Extracted packet for processing {"connection_id":164130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04959"} 
[2026-08-28 22:42:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:42:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711795712001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:42:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:42:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:42:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:42:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787937003000,"timestamp_ms":1787937003000,"timestamp_seconds":1787937003,"priority":1,"record_length":96,"hex_timestamp":"000001a0495995f8"} 
[2026-08-28 22:42:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:42:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:42:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 22:42:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:42:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:42:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:42:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:42:02] local.INFO: Teltonika packet parsed successfully {"connection_id":164130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:42:02] local.INFO: Passing IMEI to GPS processor {"connection_id":164130,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:42:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":164130,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:42:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:42:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:42:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:42:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711795712001,"66":25245,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:42:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:42:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:42:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711795712001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:42:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:42:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:42:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:42:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:42:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711795712001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:42:02] local.INFO: DEBUG: GPS processor result {"connection_id":164130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710982,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:42:02] local.INFO: GPS data processed {"connection_id":164130,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:42:02] local.INFO: Acknowledgment sent {"connection_id":164130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:42:13] local.INFO: TCP Data received {"connection_id":165125,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049570d88012d34c14006aa4840000b00e629..."} 
[2026-08-28 22:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049570d88012d34c14006aa4840000b00e629..."} 
[2026-08-28 22:42:13] local.INFO: Processing buffer {"connection_id":165125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049570d88012d34c14006aa4840000b00e629..."} 
[2026-08-28 22:42:13] local.INFO: Packet analysis {"connection_id":165125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04957"} 
[2026-08-28 22:42:13] local.INFO: Extracted packet for processing {"connection_id":165125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04957"} 
[2026-08-28 22:42:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:42:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:42:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711753216001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:42:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:42:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:42:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:42:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787936837000,"timestamp_ms":1787936837000,"timestamp_seconds":1787936837,"priority":1,"record_length":96,"hex_timestamp":"000001a049570d88"} 
[2026-08-28 22:42:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:42:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:42:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 22:42: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-28 22:42:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:42:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:42:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:42:13] local.INFO: Teltonika packet parsed successfully {"connection_id":165125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:42:13] local.INFO: Passing IMEI to GPS processor {"connection_id":165125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:42:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":165125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:42:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:42:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:42:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:42:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711753216001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:42:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:42:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:42:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711753216001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:42:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:42:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22: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-28 22:42:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:42:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711753216001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:42: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":710983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:42:13] local.INFO: GPS data processed {"connection_id":165125,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:42:13] local.INFO: Acknowledgment sent {"connection_id":165125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:42:14] local.INFO: TCP Data received {"connection_id":163845,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163845,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:42:14] local.INFO: Processing buffer {"connection_id":163845,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:42:14] local.INFO: IMEI packet received {"connection_id":163845,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 22:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":163845,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:42:19] local.INFO: TCP Data received {"connection_id":163845,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163845,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:42:19] local.INFO: Processing buffer {"connection_id":163845,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:42:19] local.INFO: IMEI packet received {"connection_id":163845,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 22:42:19] local.INFO: IMEI acknowledgment sent {"connection_id":163845,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:42:20] local.INFO: TCP Data received {"connection_id":163845,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049590570012d196580071ff008003d013927..."} 
[2026-08-28 22:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049590570012d196580071ff008003d013927..."} 
[2026-08-28 22:42:20] local.INFO: Processing buffer {"connection_id":163845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049590570012d196580071ff008003d013927..."} 
[2026-08-28 22:42:20] local.INFO: Packet analysis {"connection_id":163845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04959"} 
[2026-08-28 22:42:20] local.INFO: Extracted packet for processing {"connection_id":163845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04959"} 
[2026-08-28 22:42:20] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711786240001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:42:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:42:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787936966000,"timestamp_ms":1787936966000,"timestamp_seconds":1787936966,"priority":1,"record_length":96,"hex_timestamp":"000001a049590570"} 
[2026-08-28 22: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-28 22:42:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-28 22:42:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22: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-28 22: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-28 22:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:42:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711786240001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 22:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711786240001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:42:20] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 22:42:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:42:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:42:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711786240001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":163845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710984,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:42:20] local.INFO: GPS data processed {"connection_id":163845,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:42:20] local.INFO: Acknowledgment sent {"connection_id":163845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:42:30] local.INFO: TCP Data received {"connection_id":164131,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:42:30] local.INFO: Processing buffer {"connection_id":164131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:42:30] local.INFO: IMEI packet received {"connection_id":164131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 22:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":164131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:42:35] local.INFO: TCP Data received {"connection_id":164131,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:42:35] local.INFO: Processing buffer {"connection_id":164131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:42:35] local.INFO: IMEI packet received {"connection_id":164131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 22:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":164131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:42:35] local.INFO: TCP Data received {"connection_id":164130,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0495995f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0495995f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:42:35] local.INFO: Processing buffer {"connection_id":164130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0495995f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:42:35] local.INFO: Packet analysis {"connection_id":164130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04959"} 
[2026-08-28 22:42:35] local.INFO: Extracted packet for processing {"connection_id":164130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04959"} 
[2026-08-28 22:42:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711795712001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787937003000,"timestamp_ms":1787937003000,"timestamp_seconds":1787937003,"priority":1,"record_length":96,"hex_timestamp":"000001a0495995f8"} 
[2026-08-28 22:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:42:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 22:42:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:42:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":164130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":164130,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":164130,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711795712001,"66":25245,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711795712001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:42:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:42:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711795712001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":164130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710985,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:42:35] local.INFO: GPS data processed {"connection_id":164130,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:42:35] local.INFO: Acknowledgment sent {"connection_id":164130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:42:37] local.INFO: TCP Data received {"connection_id":164131,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049570d88012d34c14006aa4840000b00e629..."} 
[2026-08-28 22:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049570d88012d34c14006aa4840000b00e629..."} 
[2026-08-28 22:42:37] local.INFO: Processing buffer {"connection_id":164131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049570d88012d34c14006aa4840000b00e629..."} 
[2026-08-28 22:42:37] local.INFO: Packet analysis {"connection_id":164131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04957"} 
[2026-08-28 22:42:37] local.INFO: Extracted packet for processing {"connection_id":164131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04957"} 
[2026-08-28 22:42:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711753216001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787936837000,"timestamp_ms":1787936837000,"timestamp_seconds":1787936837,"priority":1,"record_length":96,"hex_timestamp":"000001a049570d88"} 
[2026-08-28 22:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 22:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711753216001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711753216001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:42:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:42:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:42: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-28 22:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711753216001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":164131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:42:37] local.INFO: GPS data processed {"connection_id":164131,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:42:37] local.INFO: Acknowledgment sent {"connection_id":164131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:42:52] local.INFO: TCP Data received {"connection_id":163845,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049590570012d196580071ff008003d013927..."} 
[2026-08-28 22:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049590570012d196580071ff008003d013927..."} 
[2026-08-28 22:42:52] local.INFO: Processing buffer {"connection_id":163845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049590570012d196580071ff008003d013927..."} 
[2026-08-28 22:42:52] local.INFO: Packet analysis {"connection_id":163845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04959"} 
[2026-08-28 22:42:52] local.INFO: Extracted packet for processing {"connection_id":163845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04959"} 
[2026-08-28 22:42:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:42:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:42:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711786240001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:42:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:42:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:42:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:42:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787936966000,"timestamp_ms":1787936966000,"timestamp_seconds":1787936966,"priority":1,"record_length":96,"hex_timestamp":"000001a049590570"} 
[2026-08-28 22:42:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:42:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:42:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-28 22:42:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:42:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:42:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:42:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:42:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:42:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:42:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163845,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:42:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:42:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:42:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:42:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711786240001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 22:42:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:42:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:42:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711786240001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:42:52] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 22:42:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:42:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:42:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:42:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711786240001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:42:52] local.INFO: DEBUG: GPS processor result {"connection_id":163845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710987,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:42:52] local.INFO: GPS data processed {"connection_id":163845,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:42:52] local.INFO: Acknowledgment sent {"connection_id":163845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:42:55] local.INFO: TCP Data received {"connection_id":165126,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165126,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:42:55] local.INFO: Processing buffer {"connection_id":165126,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:42:55] local.INFO: IMEI packet received {"connection_id":165126,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 22:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":165126,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:43:01] local.INFO: TCP Data received {"connection_id":165126,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165126,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:43:01] local.INFO: Processing buffer {"connection_id":165126,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:43:01] local.INFO: IMEI packet received {"connection_id":165126,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 22:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":165126,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:43:02] local.INFO: TCP Data received {"connection_id":165126,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0495995f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0495995f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:43:02] local.INFO: Processing buffer {"connection_id":165126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0495995f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:43:02] local.INFO: Packet analysis {"connection_id":165126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04959"} 
[2026-08-28 22:43:02] local.INFO: Extracted packet for processing {"connection_id":165126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04959"} 
[2026-08-28 22:43:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711795712001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:43:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:43:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787937003000,"timestamp_ms":1787937003000,"timestamp_seconds":1787937003,"priority":1,"record_length":96,"hex_timestamp":"000001a0495995f8"} 
[2026-08-28 22:43:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:43:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 22:43:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:43:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:43:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":165126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":165126,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":165126,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:43:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711795712001,"66":25245,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711795712001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:43:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:43:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:43:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711795712001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:43:02] 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":710988,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:43:02] local.INFO: GPS data processed {"connection_id":165126,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:43:02] local.INFO: Acknowledgment sent {"connection_id":165126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:43:10] local.INFO: TCP Data received {"connection_id":164131,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0495ba550012d34c14006aa4840000a00e628..."} 
[2026-08-28 22:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0495ba550012d34c14006aa4840000a00e628..."} 
[2026-08-28 22:43:10] local.INFO: Processing buffer {"connection_id":164131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0495ba550012d34c14006aa4840000a00e628..."} 
[2026-08-28 22:43:10] local.INFO: Packet analysis {"connection_id":164131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0495b"} 
[2026-08-28 22:43:10] local.INFO: Extracted packet for processing {"connection_id":164131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0495b"} 
[2026-08-28 22:43:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711830272001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787937138000,"timestamp_ms":1787937138000,"timestamp_seconds":1787937138,"priority":1,"record_length":96,"hex_timestamp":"000001a0495ba550"} 
[2026-08-28 22:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:43:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 22:43:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:43:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":164131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":164131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":164131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711830272001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711830272001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:43:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:43:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:43:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711830272001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":164131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:43:10] local.INFO: GPS data processed {"connection_id":164131,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:43:10] local.INFO: Acknowledgment sent {"connection_id":164131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:43:14] local.INFO: TCP Data received {"connection_id":163846,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:43:14] local.INFO: Processing buffer {"connection_id":163846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:43:14] local.INFO: IMEI packet received {"connection_id":163846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 22:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":163846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:43:19] local.INFO: TCP Data received {"connection_id":163846,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:43:19] local.INFO: Processing buffer {"connection_id":163846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:43:19] local.INFO: IMEI packet received {"connection_id":163846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 22:43:19] local.INFO: IMEI acknowledgment sent {"connection_id":163846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:43:20] local.INFO: TCP Data received {"connection_id":163846,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049590570012d196580071ff008003d013927..."} 
[2026-08-28 22:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049590570012d196580071ff008003d013927..."} 
[2026-08-28 22:43:20] local.INFO: Processing buffer {"connection_id":163846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049590570012d196580071ff008003d013927..."} 
[2026-08-28 22:43:20] local.INFO: Packet analysis {"connection_id":163846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04959"} 
[2026-08-28 22:43:20] local.INFO: Extracted packet for processing {"connection_id":163846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04959"} 
[2026-08-28 22:43:20] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711786240001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:43:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:43:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787936966000,"timestamp_ms":1787936966000,"timestamp_seconds":1787936966,"priority":1,"record_length":96,"hex_timestamp":"000001a049590570"} 
[2026-08-28 22:43:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:43:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-28 22:43:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:43:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:43:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:43:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711786240001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 22:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711786240001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:43:20] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 22:43:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:43:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:43:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711786240001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":163846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710990,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:43:20] local.INFO: GPS data processed {"connection_id":163846,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:43:20] local.INFO: Acknowledgment sent {"connection_id":163846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:43:29] local.INFO: TCP Data received {"connection_id":164132,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:43:29] local.INFO: Processing buffer {"connection_id":164132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:43:29] local.INFO: IMEI packet received {"connection_id":164132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 22:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":164132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:43:34] local.INFO: TCP Data received {"connection_id":165126,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0495995f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0495995f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:43:34] local.INFO: Processing buffer {"connection_id":165126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0495995f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:43:34] local.INFO: Packet analysis {"connection_id":165126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04959"} 
[2026-08-28 22:43:34] local.INFO: Extracted packet for processing {"connection_id":165126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04959"} 
[2026-08-28 22:43:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711795712001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:43:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787937003000,"timestamp_ms":1787937003000,"timestamp_seconds":1787937003,"priority":1,"record_length":96,"hex_timestamp":"000001a0495995f8"} 
[2026-08-28 22:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:43:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 22:43:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:43:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":165126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":165126,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":165126,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711795712001,"66":25245,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711795712001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:43:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:43:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711795712001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:43:34] 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":710991,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:43:34] local.INFO: GPS data processed {"connection_id":165126,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:43:34] local.INFO: Acknowledgment sent {"connection_id":165126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:43:35] local.INFO: TCP Data received {"connection_id":164132,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:43:35] local.INFO: Processing buffer {"connection_id":164132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:43:35] local.INFO: IMEI packet received {"connection_id":164132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 22:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":164132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:43:37] local.INFO: TCP Data received {"connection_id":164132,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0495ba550012d34c14006aa4840000a00e628..."} 
[2026-08-28 22:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0495ba550012d34c14006aa4840000a00e628..."} 
[2026-08-28 22:43:37] local.INFO: Processing buffer {"connection_id":164132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0495ba550012d34c14006aa4840000a00e628..."} 
[2026-08-28 22:43:37] local.INFO: Packet analysis {"connection_id":164132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0495b"} 
[2026-08-28 22:43:37] local.INFO: Extracted packet for processing {"connection_id":164132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0495b"} 
[2026-08-28 22:43:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711830272001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787937138000,"timestamp_ms":1787937138000,"timestamp_seconds":1787937138,"priority":1,"record_length":96,"hex_timestamp":"000001a0495ba550"} 
[2026-08-28 22:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 22:43:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711830272001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711830272001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:43:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:43:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:43: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-28 22:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711830272001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":164132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:43:37] local.INFO: GPS data processed {"connection_id":164132,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:43:37] local.INFO: Acknowledgment sent {"connection_id":164132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:43:52] local.INFO: TCP Data received {"connection_id":163846,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049590570012d196580071ff008003d013927..."} 
[2026-08-28 22:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049590570012d196580071ff008003d013927..."} 
[2026-08-28 22:43:52] local.INFO: Processing buffer {"connection_id":163846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049590570012d196580071ff008003d013927..."} 
[2026-08-28 22:43:52] local.INFO: Packet analysis {"connection_id":163846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04959"} 
[2026-08-28 22:43:52] local.INFO: Extracted packet for processing {"connection_id":163846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04959"} 
[2026-08-28 22:43:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:43:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:43:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711786240001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:43:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:43:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:43:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:43:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787936966000,"timestamp_ms":1787936966000,"timestamp_seconds":1787936966,"priority":1,"record_length":96,"hex_timestamp":"000001a049590570"} 
[2026-08-28 22:43:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:43:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:43:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-28 22:43:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:43:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:43:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:43:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:43:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:43:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:43:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:43:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:43:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:43:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:43:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711786240001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 22:43:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:43:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:43:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711786240001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:43:52] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 22:43:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:43:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:43:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:43:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711786240001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:43:52] local.INFO: DEBUG: GPS processor result {"connection_id":163846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710993,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:43:52] local.INFO: GPS data processed {"connection_id":163846,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:43:52] local.INFO: Acknowledgment sent {"connection_id":163846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:43:55] local.INFO: TCP Data received {"connection_id":163847,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163847,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:43:55] local.INFO: Processing buffer {"connection_id":163847,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:43:55] local.INFO: IMEI packet received {"connection_id":163847,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 22:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":163847,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:44:01] local.INFO: TCP Data received {"connection_id":163847,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163847,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:44:01] local.INFO: Processing buffer {"connection_id":163847,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:44:01] local.INFO: IMEI packet received {"connection_id":163847,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 22:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":163847,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:44:02] local.INFO: TCP Data received {"connection_id":163847,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0495995f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0495995f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:44:02] local.INFO: Processing buffer {"connection_id":163847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0495995f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:44:02] local.INFO: Packet analysis {"connection_id":163847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04959"} 
[2026-08-28 22:44:02] local.INFO: Extracted packet for processing {"connection_id":163847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04959"} 
[2026-08-28 22:44:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:44:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711795712001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:44:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:44:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:44:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:44:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787937003000,"timestamp_ms":1787937003000,"timestamp_seconds":1787937003,"priority":1,"record_length":96,"hex_timestamp":"000001a0495995f8"} 
[2026-08-28 22: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-28 22:44:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:44:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 22:44:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22: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-28 22: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-28 22:44:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:44:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:44:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163847,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:44:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163847,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:44:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:44:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:44:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:44:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711795712001,"66":25245,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:44:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:44:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:44:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711795712001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:44:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:44:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:44:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:44:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:44:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711795712001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:44:02] local.INFO: DEBUG: GPS processor result {"connection_id":163847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710994,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:44:02] local.INFO: GPS data processed {"connection_id":163847,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:44:02] local.INFO: Acknowledgment sent {"connection_id":163847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:44:09] local.INFO: TCP Data received {"connection_id":164132,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0495ba550012d34c14006aa4840000a00e628..."} 
[2026-08-28 22:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0495ba550012d34c14006aa4840000a00e628..."} 
[2026-08-28 22:44:09] local.INFO: Processing buffer {"connection_id":164132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0495ba550012d34c14006aa4840000a00e628..."} 
[2026-08-28 22:44:09] local.INFO: Packet analysis {"connection_id":164132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0495b"} 
[2026-08-28 22:44:09] local.INFO: Extracted packet for processing {"connection_id":164132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0495b"} 
[2026-08-28 22:44:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:44:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711830272001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:44:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787937138000,"timestamp_ms":1787937138000,"timestamp_seconds":1787937138,"priority":1,"record_length":96,"hex_timestamp":"000001a0495ba550"} 
[2026-08-28 22:44:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:44:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:44:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 22:44:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:44:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:44:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:44:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711830272001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711830272001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:44:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:44:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:44: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-28 22:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711830272001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":164132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:44:09] local.INFO: GPS data processed {"connection_id":164132,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:44:09] local.INFO: Acknowledgment sent {"connection_id":164132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:44:13] local.INFO: TCP Data received {"connection_id":164133,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164133,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:44:13] local.INFO: Processing buffer {"connection_id":164133,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:44:13] local.INFO: IMEI packet received {"connection_id":164133,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 22:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":164133,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:44:19] local.INFO: TCP Data received {"connection_id":164133,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164133,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:44:19] local.INFO: Processing buffer {"connection_id":164133,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:44:19] local.INFO: IMEI packet received {"connection_id":164133,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 22:44:19] local.INFO: IMEI acknowledgment sent {"connection_id":164133,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:44:20] local.INFO: TCP Data received {"connection_id":164133,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049590570012d196580071ff008003d013927..."} 
[2026-08-28 22:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049590570012d196580071ff008003d013927..."} 
[2026-08-28 22:44:20] local.INFO: Processing buffer {"connection_id":164133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049590570012d196580071ff008003d013927..."} 
[2026-08-28 22:44:20] local.INFO: Packet analysis {"connection_id":164133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04959"} 
[2026-08-28 22:44:20] local.INFO: Extracted packet for processing {"connection_id":164133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04959"} 
[2026-08-28 22:44:20] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:44:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711786240001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:44:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:44:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:44:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:44:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787936966000,"timestamp_ms":1787936966000,"timestamp_seconds":1787936966,"priority":1,"record_length":96,"hex_timestamp":"000001a049590570"} 
[2026-08-28 22:44:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:44:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-28 22:44:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:44:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:44:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:44:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:44:20] local.INFO: Teltonika packet parsed successfully {"connection_id":164133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:44:20] local.INFO: Passing IMEI to GPS processor {"connection_id":164133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:44:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":164133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:44:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:44:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:44:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:44:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711786240001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 22:44:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:44:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:44:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711786240001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:44:20] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 22:44:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:44:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:44:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:44:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711786240001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:44:20] local.INFO: DEBUG: GPS processor result {"connection_id":164133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710996,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:44:20] local.INFO: GPS data processed {"connection_id":164133,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:44:20] local.INFO: Acknowledgment sent {"connection_id":164133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:44:29] local.INFO: TCP Data received {"connection_id":163848,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:44:29] local.INFO: Processing buffer {"connection_id":163848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:44:29] local.INFO: IMEI packet received {"connection_id":163848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 22:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":163848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:44:35] local.INFO: TCP Data received {"connection_id":163847,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0495995f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0495995f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:44:35] local.INFO: Processing buffer {"connection_id":163847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0495995f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:44:35] local.INFO: Packet analysis {"connection_id":163847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04959"} 
[2026-08-28 22:44:35] local.INFO: Extracted packet for processing {"connection_id":163847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04959"} 
[2026-08-28 22:44:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711795712001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:44:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:44:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787937003000,"timestamp_ms":1787937003000,"timestamp_seconds":1787937003,"priority":1,"record_length":96,"hex_timestamp":"000001a0495995f8"} 
[2026-08-28 22:44:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:44:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 22:44:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:44:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:44:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163847,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163847,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:44:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711795712001,"66":25245,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711795712001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:44:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:44:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:44:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:44:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711795712001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":163847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710997,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:44:35] local.INFO: GPS data processed {"connection_id":163847,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:44:35] local.INFO: Acknowledgment sent {"connection_id":163847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:44:35] local.INFO: TCP Data received {"connection_id":163848,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:44:35] local.INFO: Processing buffer {"connection_id":163848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:44:35] local.INFO: IMEI packet received {"connection_id":163848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 22:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":163848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:44:37] local.INFO: TCP Data received {"connection_id":163848,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0495ba550012d34c14006aa4840000a00e628..."} 
[2026-08-28 22:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0495ba550012d34c14006aa4840000a00e628..."} 
[2026-08-28 22:44:37] local.INFO: Processing buffer {"connection_id":163848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0495ba550012d34c14006aa4840000a00e628..."} 
[2026-08-28 22:44:37] local.INFO: Packet analysis {"connection_id":163848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0495b"} 
[2026-08-28 22:44:37] local.INFO: Extracted packet for processing {"connection_id":163848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0495b"} 
[2026-08-28 22:44:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711830272001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787937138000,"timestamp_ms":1787937138000,"timestamp_seconds":1787937138,"priority":1,"record_length":96,"hex_timestamp":"000001a0495ba550"} 
[2026-08-28 22:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 22:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:44:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:44:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711830272001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711830272001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:44:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:44:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:44: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-28 22:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711830272001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":163848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:44:37] local.INFO: GPS data processed {"connection_id":163848,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:44:37] local.INFO: Acknowledgment sent {"connection_id":163848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:44:55] local.INFO: TCP Data received {"connection_id":164133,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049590570012d196580071ff008003d013927..."} 
[2026-08-28 22:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049590570012d196580071ff008003d013927..."} 
[2026-08-28 22:44:55] local.INFO: Processing buffer {"connection_id":164133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049590570012d196580071ff008003d013927..."} 
[2026-08-28 22:44:55] local.INFO: Packet analysis {"connection_id":164133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04959"} 
[2026-08-28 22:44:55] local.INFO: Extracted packet for processing {"connection_id":164133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04959"} 
[2026-08-28 22:44:55] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:44:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711786240001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:44:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:44:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:44:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:44:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787936966000,"timestamp_ms":1787936966000,"timestamp_seconds":1787936966,"priority":1,"record_length":96,"hex_timestamp":"000001a049590570"} 
[2026-08-28 22:44:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:44:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-28 22:44:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:44:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:44:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:44:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:44:55] local.INFO: Teltonika packet parsed successfully {"connection_id":164133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:44:55] local.INFO: Passing IMEI to GPS processor {"connection_id":164133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:44:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":164133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:44:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:44:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:44:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:44:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711786240001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 22:44:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:44:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:44:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711786240001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:44:55] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 22:44:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:44:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:44:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:44:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711786240001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:44:55] local.INFO: DEBUG: GPS processor result {"connection_id":164133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":710999,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:44:55] local.INFO: GPS data processed {"connection_id":164133,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:44:55] local.INFO: Acknowledgment sent {"connection_id":164133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:45:01] local.INFO: TCP Data received {"connection_id":164134,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164134,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:45:01] local.INFO: Processing buffer {"connection_id":164134,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:45:01] local.INFO: IMEI packet received {"connection_id":164134,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 22:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":164134,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:45:06] local.INFO: TCP Data received {"connection_id":164134,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164134,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:45:06] local.INFO: Processing buffer {"connection_id":164134,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:45:06] local.INFO: IMEI packet received {"connection_id":164134,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 22:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":164134,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:45:07] local.INFO: TCP Data received {"connection_id":164134,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0495995f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0495995f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:45:07] local.INFO: Processing buffer {"connection_id":164134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0495995f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:45:07] local.INFO: Packet analysis {"connection_id":164134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04959"} 
[2026-08-28 22:45:07] local.INFO: Extracted packet for processing {"connection_id":164134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04959"} 
[2026-08-28 22:45:07] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711795712001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:45:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787937003000,"timestamp_ms":1787937003000,"timestamp_seconds":1787937003,"priority":1,"record_length":96,"hex_timestamp":"000001a0495995f8"} 
[2026-08-28 22:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:45:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 22:45:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:45:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":164134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":164134,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":164134,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711795712001,"66":25245,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711795712001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:45:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:45:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711795712001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":164134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711000,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:45:07] local.INFO: GPS data processed {"connection_id":164134,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:45:07] local.INFO: Acknowledgment sent {"connection_id":164134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:45:09] local.INFO: TCP Data received {"connection_id":163848,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0495ba550012d34c14006aa4840000a00e628..."} 
[2026-08-28 22:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0495ba550012d34c14006aa4840000a00e628..."} 
[2026-08-28 22:45:09] local.INFO: Processing buffer {"connection_id":163848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0495ba550012d34c14006aa4840000a00e628..."} 
[2026-08-28 22:45:09] local.INFO: Packet analysis {"connection_id":163848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0495b"} 
[2026-08-28 22:45:09] local.INFO: Extracted packet for processing {"connection_id":163848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0495b"} 
[2026-08-28 22:45:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711830272001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:45:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787937138000,"timestamp_ms":1787937138000,"timestamp_seconds":1787937138,"priority":1,"record_length":96,"hex_timestamp":"000001a0495ba550"} 
[2026-08-28 22:45:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:45:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 22:45:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:45:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:45:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:45:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711830272001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711830272001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:45:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:45:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:45: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-28 22:45:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711830272001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":163848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:45:09] local.INFO: GPS data processed {"connection_id":163848,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:45:09] local.INFO: Acknowledgment sent {"connection_id":163848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:45:12] local.INFO: TCP Data received {"connection_id":164134,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0495995f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0495995f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:45:12] local.INFO: Processing buffer {"connection_id":164134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0495995f8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:45:12] local.INFO: Packet analysis {"connection_id":164134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04959"} 
[2026-08-28 22:45:12] local.INFO: Extracted packet for processing {"connection_id":164134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04959"} 
[2026-08-28 22:45:12] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711795712001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:45:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787937003000,"timestamp_ms":1787937003000,"timestamp_seconds":1787937003,"priority":1,"record_length":96,"hex_timestamp":"000001a0495995f8"} 
[2026-08-28 22:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:45:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 22:45:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:45:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":164134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":164134,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":164134,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711795712001,"66":25245,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711795712001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:45:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:45:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:45:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711795712001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:45:13] local.INFO: DEBUG: GPS processor result {"connection_id":164134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711002,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:45:13] local.INFO: GPS data processed {"connection_id":164134,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:45:13] local.INFO: Acknowledgment sent {"connection_id":164134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:45:13] local.INFO: TCP Data received {"connection_id":164135,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164135,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:45:14] local.INFO: Processing buffer {"connection_id":164135,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:45:14] local.INFO: IMEI packet received {"connection_id":164135,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 22:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":164135,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:45:19] local.INFO: TCP Data received {"connection_id":164135,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164135,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:45:19] local.INFO: Processing buffer {"connection_id":164135,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:45:19] local.INFO: IMEI packet received {"connection_id":164135,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 22:45:19] local.INFO: IMEI acknowledgment sent {"connection_id":164135,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:45:20] local.INFO: TCP Data received {"connection_id":164135,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0495d9d38012d196580071ff008003d013927..."} 
[2026-08-28 22:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0495d9d38012d196580071ff008003d013927..."} 
[2026-08-28 22:45:20] local.INFO: Processing buffer {"connection_id":164135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0495d9d38012d196580071ff008003d013927..."} 
[2026-08-28 22:45:20] local.INFO: Packet analysis {"connection_id":164135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0495d"} 
[2026-08-28 22:45:20] local.INFO: Extracted packet for processing {"connection_id":164135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0495d"} 
[2026-08-28 22:45:20] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:45:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711863296001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:45:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:45:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:45:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:45:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787937267000,"timestamp_ms":1787937267000,"timestamp_seconds":1787937267,"priority":1,"record_length":96,"hex_timestamp":"000001a0495d9d38"} 
[2026-08-28 22: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-28 22:45:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:45:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22: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-28 22: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-28 22:45:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:45:20] local.INFO: Teltonika packet parsed successfully {"connection_id":164135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:45:20] local.INFO: Passing IMEI to GPS processor {"connection_id":164135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:45:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":164135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:45:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:45:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:45:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:45:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711863296001,"66":2155,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 22:45:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:45:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:45:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711863296001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:45:20] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 22:45:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:45:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:45:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:45:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711863296001,"power":2155,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:45:21] local.INFO: DEBUG: GPS processor result {"connection_id":164135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711003,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:45:21] local.INFO: GPS data processed {"connection_id":164135,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:45:21] local.INFO: Acknowledgment sent {"connection_id":164135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:45:35] local.INFO: TCP Data received {"connection_id":163849,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:45:35] local.INFO: Processing buffer {"connection_id":163849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:45:35] local.INFO: IMEI packet received {"connection_id":163849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 22:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":163849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:45:40] local.INFO: TCP Data received {"connection_id":163849,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:45:40] local.INFO: Processing buffer {"connection_id":163849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:45:40] local.INFO: IMEI packet received {"connection_id":163849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 22:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":163849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:45:41] local.INFO: TCP Data received {"connection_id":163849,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0495ba550012d34c14006aa4840000a00e628..."} 
[2026-08-28 22:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0495ba550012d34c14006aa4840000a00e628..."} 
[2026-08-28 22:45:41] local.INFO: Processing buffer {"connection_id":163849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0495ba550012d34c14006aa4840000a00e628..."} 
[2026-08-28 22:45:41] local.INFO: Packet analysis {"connection_id":163849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0495b"} 
[2026-08-28 22:45:41] local.INFO: Extracted packet for processing {"connection_id":163849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0495b"} 
[2026-08-28 22:45:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711830272001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:45:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:45:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787937138000,"timestamp_ms":1787937138000,"timestamp_seconds":1787937138,"priority":1,"record_length":96,"hex_timestamp":"000001a0495ba550"} 
[2026-08-28 22:45:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:45:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 22: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-28 22:45:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:45:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":163849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":163849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":163849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:45:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711830272001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711830272001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:45:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:45:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22: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-28 22:45:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711830272001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":163849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:45:41] local.INFO: GPS data processed {"connection_id":163849,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:45:41] local.INFO: Acknowledgment sent {"connection_id":163849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:45:46] local.INFO: TCP Data received {"connection_id":163849,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0495ba550012d34c14006aa4840000a00e628..."} 
[2026-08-28 22:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0495ba550012d34c14006aa4840000a00e628..."} 
[2026-08-28 22:45:46] local.INFO: Processing buffer {"connection_id":163849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0495ba550012d34c14006aa4840000a00e628..."} 
[2026-08-28 22:45:46] local.INFO: Packet analysis {"connection_id":163849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0495b"} 
[2026-08-28 22:45:46] local.INFO: Extracted packet for processing {"connection_id":163849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0495b"} 
[2026-08-28 22:45:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711830272001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:45:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:45:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787937138000,"timestamp_ms":1787937138000,"timestamp_seconds":1787937138,"priority":1,"record_length":96,"hex_timestamp":"000001a0495ba550"} 
[2026-08-28 22: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-28 22:45:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 22:45: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-28 22: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-28 22: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-28 22:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:45:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711830272001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711830272001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:45:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:45:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:45: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-28 22:45:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:45:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711830272001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":163849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:45:46] local.INFO: GPS data processed {"connection_id":163849,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:45:46] local.INFO: Acknowledgment sent {"connection_id":163849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:45:52] local.INFO: TCP Data received {"connection_id":164135,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0495d9d38012d196580071ff008003d013927..."} 
[2026-08-28 22:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0495d9d38012d196580071ff008003d013927..."} 
[2026-08-28 22:45:52] local.INFO: Processing buffer {"connection_id":164135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0495d9d38012d196580071ff008003d013927..."} 
[2026-08-28 22:45:52] local.INFO: Packet analysis {"connection_id":164135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0495d"} 
[2026-08-28 22:45:52] local.INFO: Extracted packet for processing {"connection_id":164135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0495d"} 
[2026-08-28 22:45:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:45:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711863296001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:45:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:45:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:45:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:45:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787937267000,"timestamp_ms":1787937267000,"timestamp_seconds":1787937267,"priority":1,"record_length":96,"hex_timestamp":"000001a0495d9d38"} 
[2026-08-28 22:45:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:45:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:45:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:45:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:45:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:45:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:45:52] local.INFO: Teltonika packet parsed successfully {"connection_id":164135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:45:52] local.INFO: Passing IMEI to GPS processor {"connection_id":164135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:45:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":164135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:45:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:45:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:45:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:45:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711863296001,"66":2155,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 22:45:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:45:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:45:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711863296001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:45:52] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 22:45:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:45:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:45:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:45:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711863296001,"power":2155,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:45:52] local.INFO: DEBUG: GPS processor result {"connection_id":164135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711006,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:45:52] local.INFO: GPS data processed {"connection_id":164135,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:45:52] local.INFO: Acknowledgment sent {"connection_id":164135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:45:55] local.INFO: TCP Data received {"connection_id":164136,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164136,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:45:55] local.INFO: Processing buffer {"connection_id":164136,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:45:55] local.INFO: IMEI packet received {"connection_id":164136,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 22:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":164136,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:46:01] local.INFO: TCP Data received {"connection_id":164136,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164136,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:46:01] local.INFO: Processing buffer {"connection_id":164136,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:46:01] local.INFO: IMEI packet received {"connection_id":164136,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 22:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":164136,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:46:02] local.INFO: TCP Data received {"connection_id":164136,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0495e2dc0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0495e2dc0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:46:02] local.INFO: Processing buffer {"connection_id":164136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0495e2dc0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:46:02] local.INFO: Packet analysis {"connection_id":164136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0495e"} 
[2026-08-28 22:46:02] local.INFO: Extracted packet for processing {"connection_id":164136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0495e"} 
[2026-08-28 22:46:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711872768001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:46:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:46:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787937304000,"timestamp_ms":1787937304000,"timestamp_seconds":1787937304,"priority":1,"record_length":96,"hex_timestamp":"000001a0495e2dc0"} 
[2026-08-28 22: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-28 22:46:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22: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":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-28 22:46:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22: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-28 22: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-28 22:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":164136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":164136,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":164136,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:46:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711872768001,"66":25223,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711872768001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:46:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:46:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:46:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711872768001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":164136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711007,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:46:02] local.INFO: GPS data processed {"connection_id":164136,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:46:02] local.INFO: Acknowledgment sent {"connection_id":164136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:46:14] local.INFO: TCP Data received {"connection_id":164137,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164137,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:46:14] local.INFO: Processing buffer {"connection_id":164137,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:46:14] local.INFO: IMEI packet received {"connection_id":164137,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 22:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":164137,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:46:19] local.INFO: TCP Data received {"connection_id":164137,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164137,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:46:19] local.INFO: Processing buffer {"connection_id":164137,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:46:19] local.INFO: IMEI packet received {"connection_id":164137,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 22:46:19] local.INFO: IMEI acknowledgment sent {"connection_id":164137,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:46:21] local.INFO: TCP Data received {"connection_id":164137,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0495d9d38012d196580071ff008003d013927..."} 
[2026-08-28 22:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0495d9d38012d196580071ff008003d013927..."} 
[2026-08-28 22:46:21] local.INFO: Processing buffer {"connection_id":164137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0495d9d38012d196580071ff008003d013927..."} 
[2026-08-28 22:46:21] local.INFO: Packet analysis {"connection_id":164137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0495d"} 
[2026-08-28 22:46:21] local.INFO: Extracted packet for processing {"connection_id":164137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0495d"} 
[2026-08-28 22:46:21] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:46:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711863296001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:46:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:46:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:46:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:46:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787937267000,"timestamp_ms":1787937267000,"timestamp_seconds":1787937267,"priority":1,"record_length":96,"hex_timestamp":"000001a0495d9d38"} 
[2026-08-28 22:46:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:46:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:46:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:46:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:46:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:46:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:46:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:46:21] local.INFO: Teltonika packet parsed successfully {"connection_id":164137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:46:21] local.INFO: Passing IMEI to GPS processor {"connection_id":164137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:46:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":164137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:46:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:46:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:46:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:46:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711863296001,"66":2155,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 22:46:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:46:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:46:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711863296001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:46:21] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 22:46:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:46:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:46:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:46:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711863296001,"power":2155,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:46:21] local.INFO: DEBUG: GPS processor result {"connection_id":164137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711008,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:46:21] local.INFO: GPS data processed {"connection_id":164137,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:46:21] local.INFO: Acknowledgment sent {"connection_id":164137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:46:30] local.INFO: TCP Data received {"connection_id":163850,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:46:30] local.INFO: Processing buffer {"connection_id":163850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:46:30] local.INFO: IMEI packet received {"connection_id":163850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 22:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":163850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:46:33] local.INFO: TCP Data received {"connection_id":164136,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0495e2dc0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0495e2dc0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:46:33] local.INFO: Processing buffer {"connection_id":164136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0495e2dc0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:46:33] local.INFO: Packet analysis {"connection_id":164136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0495e"} 
[2026-08-28 22:46:33] local.INFO: Extracted packet for processing {"connection_id":164136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0495e"} 
[2026-08-28 22:46:33] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711872768001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:46:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787937304000,"timestamp_ms":1787937304000,"timestamp_seconds":1787937304,"priority":1,"record_length":96,"hex_timestamp":"000001a0495e2dc0"} 
[2026-08-28 22:46:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:46:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-28 22:46:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:46:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:46:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":164136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":164136,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":164136,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:46:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711872768001,"66":25223,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711872768001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:46:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:46:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711872768001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":164136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711009,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:46:33] local.INFO: GPS data processed {"connection_id":164136,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:46:33] local.INFO: Acknowledgment sent {"connection_id":164136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:46:35] local.INFO: TCP Data received {"connection_id":163850,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:46:35] local.INFO: Processing buffer {"connection_id":163850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:46:35] local.INFO: IMEI packet received {"connection_id":163850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 22:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":163850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:46:36] local.INFO: TCP Data received {"connection_id":163850,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0495ba550012d34c14006aa4840000a00e628..."} 
[2026-08-28 22:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0495ba550012d34c14006aa4840000a00e628..."} 
[2026-08-28 22:46:36] local.INFO: Processing buffer {"connection_id":163850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0495ba550012d34c14006aa4840000a00e628..."} 
[2026-08-28 22:46:36] local.INFO: Packet analysis {"connection_id":163850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0495b"} 
[2026-08-28 22:46:36] local.INFO: Extracted packet for processing {"connection_id":163850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0495b"} 
[2026-08-28 22:46:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711830272001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787937138000,"timestamp_ms":1787937138000,"timestamp_seconds":1787937138,"priority":1,"record_length":96,"hex_timestamp":"000001a0495ba550"} 
[2026-08-28 22:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 22:46:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:46:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:46:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711830272001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711830272001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:46:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:46:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711830272001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":163850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:46:36] local.INFO: GPS data processed {"connection_id":163850,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:46:36] local.INFO: Acknowledgment sent {"connection_id":163850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:46:53] local.INFO: TCP Data received {"connection_id":164137,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0495d9d38012d196580071ff008003d013927..."} 
[2026-08-28 22:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0495d9d38012d196580071ff008003d013927..."} 
[2026-08-28 22:46:53] local.INFO: Processing buffer {"connection_id":164137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0495d9d38012d196580071ff008003d013927..."} 
[2026-08-28 22:46:53] local.INFO: Packet analysis {"connection_id":164137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0495d"} 
[2026-08-28 22:46:53] local.INFO: Extracted packet for processing {"connection_id":164137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0495d"} 
[2026-08-28 22:46:53] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:46:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711863296001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:46:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:46:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:46:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:46:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787937267000,"timestamp_ms":1787937267000,"timestamp_seconds":1787937267,"priority":1,"record_length":96,"hex_timestamp":"000001a0495d9d38"} 
[2026-08-28 22: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-28 22:46:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:46:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22: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-28 22: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-28 22:46:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:46:53] local.INFO: Teltonika packet parsed successfully {"connection_id":164137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:46:53] local.INFO: Passing IMEI to GPS processor {"connection_id":164137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:46:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":164137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:46:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:46:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:46:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:46:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711863296001,"66":2155,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 22:46:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:46:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:46:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711863296001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:46:53] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 22:46:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:46:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:46:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:46:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711863296001,"power":2155,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:46:53] local.INFO: DEBUG: GPS processor result {"connection_id":164137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711011,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:46:53] local.INFO: GPS data processed {"connection_id":164137,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:46:53] local.INFO: Acknowledgment sent {"connection_id":164137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:46:55] local.INFO: TCP Data received {"connection_id":166491,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166491,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:46:55] local.INFO: Processing buffer {"connection_id":166491,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:46:55] local.INFO: IMEI packet received {"connection_id":166491,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 22:46:55] local.INFO: IMEI acknowledgment sent {"connection_id":166491,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:47:01] local.INFO: TCP Data received {"connection_id":166491,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166491,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:47:01] local.INFO: Processing buffer {"connection_id":166491,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:47:01] local.INFO: IMEI packet received {"connection_id":166491,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 22:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":166491,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:47:02] local.INFO: TCP Data received {"connection_id":166491,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0495e2dc0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0495e2dc0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:47:02] local.INFO: Processing buffer {"connection_id":166491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0495e2dc0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:47:02] local.INFO: Packet analysis {"connection_id":166491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0495e"} 
[2026-08-28 22:47:02] local.INFO: Extracted packet for processing {"connection_id":166491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0495e"} 
[2026-08-28 22:47:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:47:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:47:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711872768001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:47:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:47:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:47:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:47:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787937304000,"timestamp_ms":1787937304000,"timestamp_seconds":1787937304,"priority":1,"record_length":96,"hex_timestamp":"000001a0495e2dc0"} 
[2026-08-28 22:47:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:47:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:47:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-28 22:47:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:47:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:47:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:47:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:47:02] local.INFO: Teltonika packet parsed successfully {"connection_id":166491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:47:02] local.INFO: Passing IMEI to GPS processor {"connection_id":166491,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:47:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":166491,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:47:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:47:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:47:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:47:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711872768001,"66":25223,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:47:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:47:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:47:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711872768001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:47:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:47:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:47:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:47:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:47:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711872768001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:47:02] local.INFO: DEBUG: GPS processor result {"connection_id":166491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711012,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:47:02] local.INFO: GPS data processed {"connection_id":166491,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:47:02] local.INFO: Acknowledgment sent {"connection_id":166491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:47:08] local.INFO: TCP Data received {"connection_id":163850,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0495ba550012d34c14006aa4840000a00e628..."} 
[2026-08-28 22:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0495ba550012d34c14006aa4840000a00e628..."} 
[2026-08-28 22:47:08] local.INFO: Processing buffer {"connection_id":163850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0495ba550012d34c14006aa4840000a00e628..."} 
[2026-08-28 22:47:08] local.INFO: Packet analysis {"connection_id":163850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0495b"} 
[2026-08-28 22:47:08] local.INFO: Extracted packet for processing {"connection_id":163850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0495b"} 
[2026-08-28 22:47:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711830272001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:47:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787937138000,"timestamp_ms":1787937138000,"timestamp_seconds":1787937138,"priority":1,"record_length":96,"hex_timestamp":"000001a0495ba550"} 
[2026-08-28 22: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-28 22:47:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 22:47:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22: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-28 22: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-28 22:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:47:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711830272001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711830272001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:47:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:47:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:47: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-28 22:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711830272001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":163850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:47:08] local.INFO: GPS data processed {"connection_id":163850,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:47:08] local.INFO: Acknowledgment sent {"connection_id":163850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:47:13] local.INFO: TCP Data received {"connection_id":165127,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165127,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:47:13] local.INFO: Processing buffer {"connection_id":165127,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:47:13] local.INFO: IMEI packet received {"connection_id":165127,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 22:47:13] local.INFO: IMEI acknowledgment sent {"connection_id":165127,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:47:19] local.INFO: TCP Data received {"connection_id":165127,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165127,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:47:19] local.INFO: Processing buffer {"connection_id":165127,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:47:19] local.INFO: IMEI packet received {"connection_id":165127,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 22:47:19] local.INFO: IMEI acknowledgment sent {"connection_id":165127,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:47:21] local.INFO: TCP Data received {"connection_id":165127,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0495d9d38012d196580071ff008003d013927..."} 
[2026-08-28 22:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0495d9d38012d196580071ff008003d013927..."} 
[2026-08-28 22:47:21] local.INFO: Processing buffer {"connection_id":165127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0495d9d38012d196580071ff008003d013927..."} 
[2026-08-28 22:47:21] local.INFO: Packet analysis {"connection_id":165127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0495d"} 
[2026-08-28 22:47:21] local.INFO: Extracted packet for processing {"connection_id":165127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0495d"} 
[2026-08-28 22:47:21] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:47:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711863296001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:47:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:47:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:47:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:47:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787937267000,"timestamp_ms":1787937267000,"timestamp_seconds":1787937267,"priority":1,"record_length":96,"hex_timestamp":"000001a0495d9d38"} 
[2026-08-28 22: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-28 22:47:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:47:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22: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-28 22: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-28 22:47:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:47:21] local.INFO: Teltonika packet parsed successfully {"connection_id":165127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:47:21] local.INFO: Passing IMEI to GPS processor {"connection_id":165127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:47:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":165127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:47:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:47:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:47:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:47:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711863296001,"66":2155,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 22:47:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:47:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:47:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711863296001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:47:21] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 22:47:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:47:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:47:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:47:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711863296001,"power":2155,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:47:21] local.INFO: DEBUG: GPS processor result {"connection_id":165127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711014,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:47:21] local.INFO: GPS data processed {"connection_id":165127,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:47:21] local.INFO: Acknowledgment sent {"connection_id":165127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:47:29] local.INFO: TCP Data received {"connection_id":165128,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:47:29] local.INFO: Processing buffer {"connection_id":165128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:47:29] local.INFO: IMEI packet received {"connection_id":165128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 22:47:29] local.INFO: IMEI acknowledgment sent {"connection_id":165128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:47:33] local.INFO: TCP Data received {"connection_id":166491,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0495e2dc0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0495e2dc0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:47:33] local.INFO: Processing buffer {"connection_id":166491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0495e2dc0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:47:33] local.INFO: Packet analysis {"connection_id":166491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0495e"} 
[2026-08-28 22:47:33] local.INFO: Extracted packet for processing {"connection_id":166491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0495e"} 
[2026-08-28 22:47:33] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711872768001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:47:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787937304000,"timestamp_ms":1787937304000,"timestamp_seconds":1787937304,"priority":1,"record_length":96,"hex_timestamp":"000001a0495e2dc0"} 
[2026-08-28 22:47:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:47:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-28 22:47:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:47:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:47:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":166491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":166491,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":166491,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:47:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711872768001,"66":25223,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711872768001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:47:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:47:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:47:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711872768001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":166491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711015,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:47:34] local.INFO: GPS data processed {"connection_id":166491,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:47:34] local.INFO: Acknowledgment sent {"connection_id":166491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:47:35] local.INFO: TCP Data received {"connection_id":165128,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:47:35] local.INFO: Processing buffer {"connection_id":165128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:47:35] local.INFO: IMEI packet received {"connection_id":165128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 22:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":165128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:47:38] local.INFO: TCP Data received {"connection_id":165128,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0495ba550012d34c14006aa4840000a00e628..."} 
[2026-08-28 22:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0495ba550012d34c14006aa4840000a00e628..."} 
[2026-08-28 22:47:38] local.INFO: Processing buffer {"connection_id":165128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0495ba550012d34c14006aa4840000a00e628..."} 
[2026-08-28 22:47:38] local.INFO: Packet analysis {"connection_id":165128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0495b"} 
[2026-08-28 22:47:38] local.INFO: Extracted packet for processing {"connection_id":165128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0495b"} 
[2026-08-28 22:47:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":10,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711830272001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787937138000,"timestamp_ms":1787937138000,"timestamp_seconds":1787937138,"priority":1,"record_length":96,"hex_timestamp":"000001a0495ba550"} 
[2026-08-28 22:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 22:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:47:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":165128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":165128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":165128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711830272001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711830272001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:47:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:47:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:47: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-28 22:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711830272001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:47:38] 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":711016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:47:38] local.INFO: GPS data processed {"connection_id":165128,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:47:38] local.INFO: Acknowledgment sent {"connection_id":165128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:47:53] local.INFO: TCP Data received {"connection_id":165127,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0495d9d38012d196580071ff008003d013927..."} 
[2026-08-28 22:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0495d9d38012d196580071ff008003d013927..."} 
[2026-08-28 22:47:53] local.INFO: Processing buffer {"connection_id":165127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0495d9d38012d196580071ff008003d013927..."} 
[2026-08-28 22:47:53] local.INFO: Packet analysis {"connection_id":165127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0495d"} 
[2026-08-28 22:47:53] local.INFO: Extracted packet for processing {"connection_id":165127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0495d"} 
[2026-08-28 22:47:53] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:47:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711863296001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:47:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:47:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:47:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:47:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787937267000,"timestamp_ms":1787937267000,"timestamp_seconds":1787937267,"priority":1,"record_length":96,"hex_timestamp":"000001a0495d9d38"} 
[2026-08-28 22:47:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:47:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:47:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:47:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:47:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:47:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:47:53] local.INFO: Teltonika packet parsed successfully {"connection_id":165127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:47:53] local.INFO: Passing IMEI to GPS processor {"connection_id":165127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:47:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":165127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:47:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:47:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:47:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:47:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711863296001,"66":2155,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 22:47:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:47:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:47:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711863296001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:47:53] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 22:47:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:47:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:47:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:47:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711863296001,"power":2155,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:47:53] local.INFO: DEBUG: GPS processor result {"connection_id":165127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711017,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:47:53] local.INFO: GPS data processed {"connection_id":165127,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:47:53] local.INFO: Acknowledgment sent {"connection_id":165127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:47:55] local.INFO: TCP Data received {"connection_id":164138,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164138,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:47:55] local.INFO: Processing buffer {"connection_id":164138,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:47:55] local.INFO: IMEI packet received {"connection_id":164138,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 22:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":164138,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:48:01] local.INFO: TCP Data received {"connection_id":164138,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164138,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:48:01] local.INFO: Processing buffer {"connection_id":164138,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:48:01] local.INFO: IMEI packet received {"connection_id":164138,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 22:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":164138,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:48:02] local.INFO: TCP Data received {"connection_id":164138,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0495e2dc0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0495e2dc0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:48:02] local.INFO: Processing buffer {"connection_id":164138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0495e2dc0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:48:02] local.INFO: Packet analysis {"connection_id":164138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0495e"} 
[2026-08-28 22:48:02] local.INFO: Extracted packet for processing {"connection_id":164138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0495e"} 
[2026-08-28 22:48:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:48:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:48:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711872768001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:48:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:48:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:48:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:48:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787937304000,"timestamp_ms":1787937304000,"timestamp_seconds":1787937304,"priority":1,"record_length":96,"hex_timestamp":"000001a0495e2dc0"} 
[2026-08-28 22:48:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:48:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:48:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-28 22:48:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:48:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:48:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:48:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:48:02] local.INFO: Teltonika packet parsed successfully {"connection_id":164138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:48:02] local.INFO: Passing IMEI to GPS processor {"connection_id":164138,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:48:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":164138,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:48:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:48:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:48:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:48:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711872768001,"66":25223,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:48:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:48:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:48:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711872768001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:48:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:48:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:48:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:48:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:48:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711872768001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:48:02] local.INFO: DEBUG: GPS processor result {"connection_id":164138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711018,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:48:02] local.INFO: GPS data processed {"connection_id":164138,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:48:02] local.INFO: Acknowledgment sent {"connection_id":164138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:48:09] local.INFO: TCP Data received {"connection_id":165128,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049603d18012d34c14006aa4840000c00e629..."} 
[2026-08-28 22:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049603d18012d34c14006aa4840000c00e629..."} 
[2026-08-28 22:48:09] local.INFO: Processing buffer {"connection_id":165128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049603d18012d34c14006aa4840000c00e629..."} 
[2026-08-28 22:48:09] local.INFO: Packet analysis {"connection_id":165128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04960"} 
[2026-08-28 22:48:09] local.INFO: Extracted packet for processing {"connection_id":165128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04960"} 
[2026-08-28 22:48:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711907328001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:48:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:48:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787937439000,"timestamp_ms":1787937439000,"timestamp_seconds":1787937439,"priority":1,"record_length":96,"hex_timestamp":"000001a049603d18"} 
[2026-08-28 22:48:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:48:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 22:48:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:48:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:48:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":165128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":165128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":165128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:48:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711907328001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711907328001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:48:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:48:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:48: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-28 22:48:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711907328001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:48:09] 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":711019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:48:09] local.INFO: GPS data processed {"connection_id":165128,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:48:09] local.INFO: Acknowledgment sent {"connection_id":165128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:48:19] local.INFO: TCP Data received {"connection_id":165129,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165129,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:48:19] local.INFO: Processing buffer {"connection_id":165129,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:48:19] local.INFO: IMEI packet received {"connection_id":165129,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 22:48:19] local.INFO: IMEI acknowledgment sent {"connection_id":165129,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:48:20] local.INFO: TCP Data received {"connection_id":165129,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0495d9d38012d196580071ff008003d013927..."} 
[2026-08-28 22:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0495d9d38012d196580071ff008003d013927..."} 
[2026-08-28 22:48:20] local.INFO: Processing buffer {"connection_id":165129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0495d9d38012d196580071ff008003d013927..."} 
[2026-08-28 22:48:20] local.INFO: Packet analysis {"connection_id":165129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0495d"} 
[2026-08-28 22:48:20] local.INFO: Extracted packet for processing {"connection_id":165129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0495d"} 
[2026-08-28 22:48:20] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711863296001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:48:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:48:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787937267000,"timestamp_ms":1787937267000,"timestamp_seconds":1787937267,"priority":1,"record_length":96,"hex_timestamp":"000001a0495d9d38"} 
[2026-08-28 22:48:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:48:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:48:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:48:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:48:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":165129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":165129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":165129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:48:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711863296001,"66":2155,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 22:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711863296001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:48:20] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 22:48:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:48:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:48:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711863296001,"power":2155,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:48:20] 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":711020,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:48:20] local.INFO: GPS data processed {"connection_id":165129,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:48:20] local.INFO: Acknowledgment sent {"connection_id":165129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:48:34] local.INFO: TCP Data received {"connection_id":164138,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0495e2dc0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0495e2dc0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:48:34] local.INFO: Processing buffer {"connection_id":164138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0495e2dc0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:48:34] local.INFO: Packet analysis {"connection_id":164138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0495e"} 
[2026-08-28 22:48:34] local.INFO: Extracted packet for processing {"connection_id":164138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0495e"} 
[2026-08-28 22:48:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711872768001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787937304000,"timestamp_ms":1787937304000,"timestamp_seconds":1787937304,"priority":1,"record_length":96,"hex_timestamp":"000001a0495e2dc0"} 
[2026-08-28 22:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:48:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-28 22:48:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:48:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":164138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":164138,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":164138,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711872768001,"66":25223,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711872768001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:48:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:48:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711872768001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":164138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711021,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:48:34] local.INFO: GPS data processed {"connection_id":164138,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:48:34] local.INFO: Acknowledgment sent {"connection_id":164138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:48:35] local.INFO: TCP Data received {"connection_id":164139,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:48:35] local.INFO: Processing buffer {"connection_id":164139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:48:35] local.INFO: IMEI packet received {"connection_id":164139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 22:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":164139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:48:40] local.INFO: TCP Data received {"connection_id":164139,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:48:40] local.INFO: Processing buffer {"connection_id":164139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:48:40] local.INFO: IMEI packet received {"connection_id":164139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 22:48:40] local.INFO: IMEI acknowledgment sent {"connection_id":164139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:48:41] local.INFO: TCP Data received {"connection_id":164139,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049603d18012d34c14006aa4840000c00e629..."} 
[2026-08-28 22:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049603d18012d34c14006aa4840000c00e629..."} 
[2026-08-28 22:48:41] local.INFO: Processing buffer {"connection_id":164139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049603d18012d34c14006aa4840000c00e629..."} 
[2026-08-28 22:48:41] local.INFO: Packet analysis {"connection_id":164139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04960"} 
[2026-08-28 22:48:41] local.INFO: Extracted packet for processing {"connection_id":164139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04960"} 
[2026-08-28 22:48:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711907328001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:48:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:48:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787937439000,"timestamp_ms":1787937439000,"timestamp_seconds":1787937439,"priority":1,"record_length":96,"hex_timestamp":"000001a049603d18"} 
[2026-08-28 22: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-28 22:48:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22: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":233,"data_length":795,"current_offset":136} 
[2026-08-28 22:48: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-28 22: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-28 22: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-28 22:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":164139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":164139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":164139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:48:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711907328001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711907328001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:48:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:48:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22: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-28 22:48:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711907328001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":164139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:48:41] local.INFO: GPS data processed {"connection_id":164139,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:48:41] local.INFO: Acknowledgment sent {"connection_id":164139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:48:45] local.INFO: TCP Data received {"connection_id":164139,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049603d18012d34c14006aa4840000c00e629..."} 
[2026-08-28 22:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049603d18012d34c14006aa4840000c00e629..."} 
[2026-08-28 22:48:45] local.INFO: Processing buffer {"connection_id":164139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049603d18012d34c14006aa4840000c00e629..."} 
[2026-08-28 22:48:45] local.INFO: Packet analysis {"connection_id":164139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04960"} 
[2026-08-28 22:48:45] local.INFO: Extracted packet for processing {"connection_id":164139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04960"} 
[2026-08-28 22:48:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:48:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:48:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711907328001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:48:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:48:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:48:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:48:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787937439000,"timestamp_ms":1787937439000,"timestamp_seconds":1787937439,"priority":1,"record_length":96,"hex_timestamp":"000001a049603d18"} 
[2026-08-28 22:48:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:48:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:48:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 22:48: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-28 22:48:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:48:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:48:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:48:45] local.INFO: Teltonika packet parsed successfully {"connection_id":164139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:48:45] local.INFO: Passing IMEI to GPS processor {"connection_id":164139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:48:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":164139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:48:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:48:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:48:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:48:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711907328001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:48:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:48:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:48:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711907328001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:48:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:48:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:48: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-28 22:48:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:48:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711907328001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:48:45] local.INFO: DEBUG: GPS processor result {"connection_id":164139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:48:45] local.INFO: GPS data processed {"connection_id":164139,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:48:45] local.INFO: Acknowledgment sent {"connection_id":164139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:48:52] local.INFO: TCP Data received {"connection_id":165129,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0495d9d38012d196580071ff008003d013927..."} 
[2026-08-28 22:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0495d9d38012d196580071ff008003d013927..."} 
[2026-08-28 22:48:52] local.INFO: Processing buffer {"connection_id":165129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0495d9d38012d196580071ff008003d013927..."} 
[2026-08-28 22:48:52] local.INFO: Packet analysis {"connection_id":165129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0495d"} 
[2026-08-28 22:48:52] local.INFO: Extracted packet for processing {"connection_id":165129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0495d"} 
[2026-08-28 22:48:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:48:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711863296001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:48:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:48:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:48:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:48:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787937267000,"timestamp_ms":1787937267000,"timestamp_seconds":1787937267,"priority":1,"record_length":96,"hex_timestamp":"000001a0495d9d38"} 
[2026-08-28 22: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-28 22:48:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:48:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22: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-28 22: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-28 22:48:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:48:52] local.INFO: Teltonika packet parsed successfully {"connection_id":165129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:48:52] local.INFO: Passing IMEI to GPS processor {"connection_id":165129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:48:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":165129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:48:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:48:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:48:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:48:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711863296001,"66":2155,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 22:48:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:48:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:48:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711863296001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:48:52] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 22:48:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:48:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:48:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:48:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711863296001,"power":2155,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:48:52] 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":711024,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:48:52] local.INFO: GPS data processed {"connection_id":165129,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:48:52] local.INFO: Acknowledgment sent {"connection_id":165129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:49:01] local.INFO: TCP Data received {"connection_id":166492,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166492,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:49:01] local.INFO: Processing buffer {"connection_id":166492,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:49:01] local.INFO: IMEI packet received {"connection_id":166492,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 22:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":166492,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:49:06] local.INFO: TCP Data received {"connection_id":166492,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166492,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:49:06] local.INFO: Processing buffer {"connection_id":166492,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:49:06] local.INFO: IMEI packet received {"connection_id":166492,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 22:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":166492,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:49:07] local.INFO: TCP Data received {"connection_id":166492,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0495e2dc0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0495e2dc0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:49:07] local.INFO: Processing buffer {"connection_id":166492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0495e2dc0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:49:07] local.INFO: Packet analysis {"connection_id":166492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0495e"} 
[2026-08-28 22:49:07] local.INFO: Extracted packet for processing {"connection_id":166492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0495e"} 
[2026-08-28 22:49:07] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711872768001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:49:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:49:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787937304000,"timestamp_ms":1787937304000,"timestamp_seconds":1787937304,"priority":1,"record_length":96,"hex_timestamp":"000001a0495e2dc0"} 
[2026-08-28 22:49:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:49:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-28 22:49:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22: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-28 22:49:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":166492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":166492,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":166492,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:49:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711872768001,"66":25223,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711872768001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:49:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:49:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:49:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711872768001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":166492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711025,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:49:07] local.INFO: GPS data processed {"connection_id":166492,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:49:07] local.INFO: Acknowledgment sent {"connection_id":166492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:49:11] local.INFO: TCP Data received {"connection_id":166492,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0495e2dc0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0495e2dc0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:49:11] local.INFO: Processing buffer {"connection_id":166492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0495e2dc0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:49:11] local.INFO: Packet analysis {"connection_id":166492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0495e"} 
[2026-08-28 22:49:11] local.INFO: Extracted packet for processing {"connection_id":166492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0495e"} 
[2026-08-28 22:49:11] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711872768001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:49:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:49:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787937304000,"timestamp_ms":1787937304000,"timestamp_seconds":1787937304,"priority":1,"record_length":96,"hex_timestamp":"000001a0495e2dc0"} 
[2026-08-28 22:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:49:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-28 22:49:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:49:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":166492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":166492,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":166492,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:49:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711872768001,"66":25223,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711872768001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:49:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:49:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711872768001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":166492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711026,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:49:11] local.INFO: GPS data processed {"connection_id":166492,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:49:11] local.INFO: Acknowledgment sent {"connection_id":166492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:49:22] local.INFO: TCP Data received {"connection_id":164140,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164140,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:49:22] local.INFO: Processing buffer {"connection_id":164140,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:49:22] local.INFO: IMEI packet received {"connection_id":164140,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 22:49:22] local.INFO: IMEI acknowledgment sent {"connection_id":164140,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:49:23] local.INFO: TCP Data received {"connection_id":164140,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164140,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:49:23] local.INFO: Processing buffer {"connection_id":164140,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:49:23] local.INFO: IMEI packet received {"connection_id":164140,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 22:49:23] local.INFO: IMEI acknowledgment sent {"connection_id":164140,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:49:25] local.INFO: TCP Data received {"connection_id":164140,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0495d9d38012d196580071ff008003d013927..."} 
[2026-08-28 22:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0495d9d38012d196580071ff008003d013927..."} 
[2026-08-28 22:49:25] local.INFO: Processing buffer {"connection_id":164140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0495d9d38012d196580071ff008003d013927..."} 
[2026-08-28 22:49:25] local.INFO: Packet analysis {"connection_id":164140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0495d"} 
[2026-08-28 22:49:25] local.INFO: Extracted packet for processing {"connection_id":164140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0495d"} 
[2026-08-28 22:49:25] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:49:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:49:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711863296001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:49:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:49:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:49:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:49:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787937267000,"timestamp_ms":1787937267000,"timestamp_seconds":1787937267,"priority":1,"record_length":96,"hex_timestamp":"000001a0495d9d38"} 
[2026-08-28 22:49:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:49:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:49:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:49:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:49:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:49:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:49:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:49:25] local.INFO: Teltonika packet parsed successfully {"connection_id":164140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:49:25] local.INFO: Passing IMEI to GPS processor {"connection_id":164140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:49:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":164140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:49:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:49:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:49:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:49:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711863296001,"66":2155,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 22:49:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:49:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:49:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711863296001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:49:25] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 22:49:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:49:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:49:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:49:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711863296001,"power":2155,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:49:25] local.INFO: DEBUG: GPS processor result {"connection_id":164140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711027,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:49:25] local.INFO: GPS data processed {"connection_id":164140,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:49:25] local.INFO: Acknowledgment sent {"connection_id":164140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:49:30] local.INFO: TCP Data received {"connection_id":164140,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0495d9d38012d196580071ff008003d013927..."} 
[2026-08-28 22:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0495d9d38012d196580071ff008003d013927..."} 
[2026-08-28 22:49:30] local.INFO: Processing buffer {"connection_id":164140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0495d9d38012d196580071ff008003d013927..."} 
[2026-08-28 22:49:30] local.INFO: Packet analysis {"connection_id":164140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0495d"} 
[2026-08-28 22:49:30] local.INFO: Extracted packet for processing {"connection_id":164140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0495d"} 
[2026-08-28 22:49:30] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:49:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711863296001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:49:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:49:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:49:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:49:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787937267000,"timestamp_ms":1787937267000,"timestamp_seconds":1787937267,"priority":1,"record_length":96,"hex_timestamp":"000001a0495d9d38"} 
[2026-08-28 22:49:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:49:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:49:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:49:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:49:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:49:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:49:30] local.INFO: Teltonika packet parsed successfully {"connection_id":164140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:49:30] local.INFO: Passing IMEI to GPS processor {"connection_id":164140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:49:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":164140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:49:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:49:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:49:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:49:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711863296001,"66":2155,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 22:49:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:49:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:49:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711863296001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:49:30] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 22:49:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:49:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:49:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:49:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711863296001,"power":2155,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:49:30] local.INFO: TCP Data received {"connection_id":166493,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:49:30] local.INFO: Processing buffer {"connection_id":166493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:49:30] local.INFO: IMEI packet received {"connection_id":166493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 22:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":166493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":164140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711028,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:49:30] local.INFO: GPS data processed {"connection_id":164140,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:49:30] local.INFO: Acknowledgment sent {"connection_id":164140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:49:35] local.INFO: TCP Data received {"connection_id":166493,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:49:35] local.INFO: Processing buffer {"connection_id":166493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:49:35] local.INFO: IMEI packet received {"connection_id":166493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 22:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":166493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:49:36] local.INFO: TCP Data received {"connection_id":166493,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049603d18012d34c14006aa4840000c00e629..."} 
[2026-08-28 22:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049603d18012d34c14006aa4840000c00e629..."} 
[2026-08-28 22:49:36] local.INFO: Processing buffer {"connection_id":166493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049603d18012d34c14006aa4840000c00e629..."} 
[2026-08-28 22:49:36] local.INFO: Packet analysis {"connection_id":166493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04960"} 
[2026-08-28 22:49:36] local.INFO: Extracted packet for processing {"connection_id":166493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04960"} 
[2026-08-28 22:49:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711907328001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787937439000,"timestamp_ms":1787937439000,"timestamp_seconds":1787937439,"priority":1,"record_length":96,"hex_timestamp":"000001a049603d18"} 
[2026-08-28 22:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 22:49:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:49:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":166493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":166493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":166493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:49:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711907328001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711907328001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:49:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:49:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711907328001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":166493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:49:36] local.INFO: GPS data processed {"connection_id":166493,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:49:36] local.INFO: Acknowledgment sent {"connection_id":166493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:49:55] local.INFO: TCP Data received {"connection_id":164141,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164141,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:49:55] local.INFO: Processing buffer {"connection_id":164141,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:49:55] local.INFO: IMEI packet received {"connection_id":164141,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 22:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":164141,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:50:01] local.INFO: TCP Data received {"connection_id":164141,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164141,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:50:01] local.INFO: Processing buffer {"connection_id":164141,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:50:01] local.INFO: IMEI packet received {"connection_id":164141,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 22:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":164141,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:50:02] local.INFO: TCP Data received {"connection_id":164141,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0495e2dc0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0495e2dc0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:50:02] local.INFO: Processing buffer {"connection_id":164141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0495e2dc0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:50:02] local.INFO: Packet analysis {"connection_id":164141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0495e"} 
[2026-08-28 22:50:02] local.INFO: Extracted packet for processing {"connection_id":164141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0495e"} 
[2026-08-28 22:50:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711872768001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:50:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:50:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787937304000,"timestamp_ms":1787937304000,"timestamp_seconds":1787937304,"priority":1,"record_length":96,"hex_timestamp":"000001a0495e2dc0"} 
[2026-08-28 22:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:50:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-28 22:50:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:50:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":164141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":164141,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":164141,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:50:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711872768001,"66":25223,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711872768001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:50:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:50:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:50:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711872768001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":164141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711030,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:50:02] local.INFO: GPS data processed {"connection_id":164141,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:50:02] local.INFO: Acknowledgment sent {"connection_id":164141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:50:08] local.INFO: TCP Data received {"connection_id":166493,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049603d18012d34c14006aa4840000c00e629..."} 
[2026-08-28 22:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049603d18012d34c14006aa4840000c00e629..."} 
[2026-08-28 22:50:08] local.INFO: Processing buffer {"connection_id":166493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049603d18012d34c14006aa4840000c00e629..."} 
[2026-08-28 22:50:08] local.INFO: Packet analysis {"connection_id":166493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04960"} 
[2026-08-28 22:50:08] local.INFO: Extracted packet for processing {"connection_id":166493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04960"} 
[2026-08-28 22:50:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711907328001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:50:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787937439000,"timestamp_ms":1787937439000,"timestamp_seconds":1787937439,"priority":1,"record_length":96,"hex_timestamp":"000001a049603d18"} 
[2026-08-28 22: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-28 22:50:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 22:50:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22: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-28 22: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-28 22:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":166493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":166493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":166493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:50:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711907328001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711907328001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:50:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:50:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:50: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-28 22:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711907328001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":166493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:50:08] local.INFO: GPS data processed {"connection_id":166493,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:50:08] local.INFO: Acknowledgment sent {"connection_id":166493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:50:17] local.INFO: TCP Data received {"connection_id":164142,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164142,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:50:17] local.INFO: Processing buffer {"connection_id":164142,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:50:17] local.INFO: IMEI packet received {"connection_id":164142,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 22:50:17] local.INFO: IMEI acknowledgment sent {"connection_id":164142,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:50:18] local.INFO: TCP Data received {"connection_id":164142,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164142,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:50:18] local.INFO: Processing buffer {"connection_id":164142,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:50:18] local.INFO: IMEI packet received {"connection_id":164142,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 22:50:18] local.INFO: IMEI acknowledgment sent {"connection_id":164142,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:50:20] local.INFO: TCP Data received {"connection_id":164142,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049623500012d196580071ff008003d013925..."} 
[2026-08-28 22:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049623500012d196580071ff008003d013925..."} 
[2026-08-28 22:50:20] local.INFO: Processing buffer {"connection_id":164142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049623500012d196580071ff008003d013925..."} 
[2026-08-28 22:50:20] local.INFO: Packet analysis {"connection_id":164142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04962"} 
[2026-08-28 22:50:20] local.INFO: Extracted packet for processing {"connection_id":164142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04962"} 
[2026-08-28 22:50:20] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:50:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711940352001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:50:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:50:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:50:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:50:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787937568000,"timestamp_ms":1787937568000,"timestamp_seconds":1787937568,"priority":1,"record_length":96,"hex_timestamp":"000001a049623500"} 
[2026-08-28 22: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-28 22:50:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:50:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-28 22:50:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22: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-28 22: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-28 22:50:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:50:20] local.INFO: Teltonika packet parsed successfully {"connection_id":164142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:50:20] local.INFO: Passing IMEI to GPS processor {"connection_id":164142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:50:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":164142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:50:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:50:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:50:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:50:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711940352001,"66":2166,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 22:50:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:50:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:50:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711940352001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:50:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 22:50:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:50:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:50:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:50:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711940352001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:50:20] local.INFO: DEBUG: GPS processor result {"connection_id":164142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711032,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:50:20] local.INFO: GPS data processed {"connection_id":164142,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:50:20] local.INFO: Acknowledgment sent {"connection_id":164142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:50:24] local.INFO: TCP Data received {"connection_id":164142,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049623500012d196580071ff008003d013925..."} 
[2026-08-28 22:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049623500012d196580071ff008003d013925..."} 
[2026-08-28 22:50:24] local.INFO: Processing buffer {"connection_id":164142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049623500012d196580071ff008003d013925..."} 
[2026-08-28 22:50:24] local.INFO: Packet analysis {"connection_id":164142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04962"} 
[2026-08-28 22:50:24] local.INFO: Extracted packet for processing {"connection_id":164142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04962"} 
[2026-08-28 22:50:24] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:50:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711940352001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:50:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:50:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:50:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:50:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787937568000,"timestamp_ms":1787937568000,"timestamp_seconds":1787937568,"priority":1,"record_length":96,"hex_timestamp":"000001a049623500"} 
[2026-08-28 22:50:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:50:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-28 22:50:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:50:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:50:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:50:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:50:24] local.INFO: Teltonika packet parsed successfully {"connection_id":164142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:50:24] local.INFO: Passing IMEI to GPS processor {"connection_id":164142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:50:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":164142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:50:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:50:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:50:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:50:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711940352001,"66":2166,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 22:50:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:50:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:50:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711940352001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:50:24] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 22:50:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:50:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:50:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:50:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711940352001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:50:24] local.INFO: DEBUG: GPS processor result {"connection_id":164142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711033,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:50:24] local.INFO: GPS data processed {"connection_id":164142,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:50:24] local.INFO: Acknowledgment sent {"connection_id":164142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:50:30] local.INFO: TCP Data received {"connection_id":165130,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:50:30] local.INFO: Processing buffer {"connection_id":165130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:50:30] local.INFO: IMEI packet received {"connection_id":165130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 22:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":165130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:50:34] local.INFO: TCP Data received {"connection_id":164141,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0495e2dc0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0495e2dc0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:50:34] local.INFO: Processing buffer {"connection_id":164141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0495e2dc0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:50:34] local.INFO: Packet analysis {"connection_id":164141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0495e"} 
[2026-08-28 22:50:34] local.INFO: Extracted packet for processing {"connection_id":164141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0495e"} 
[2026-08-28 22:50:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711872768001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:50:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:50:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787937304000,"timestamp_ms":1787937304000,"timestamp_seconds":1787937304,"priority":1,"record_length":96,"hex_timestamp":"000001a0495e2dc0"} 
[2026-08-28 22:50:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:50:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-28 22:50:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:50:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:50:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":164141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":164141,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":164141,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:50:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711872768001,"66":25223,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711872768001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:50:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:50:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:50:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:50:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711872768001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":164141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711034,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:50:34] local.INFO: GPS data processed {"connection_id":164141,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:50:34] local.INFO: Acknowledgment sent {"connection_id":164141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:50:35] local.INFO: TCP Data received {"connection_id":165130,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:50:35] local.INFO: Processing buffer {"connection_id":165130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:50:35] local.INFO: IMEI packet received {"connection_id":165130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 22:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":165130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:50:37] local.INFO: TCP Data received {"connection_id":165130,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049603d18012d34c14006aa4840000c00e629..."} 
[2026-08-28 22:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049603d18012d34c14006aa4840000c00e629..."} 
[2026-08-28 22:50:37] local.INFO: Processing buffer {"connection_id":165130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049603d18012d34c14006aa4840000c00e629..."} 
[2026-08-28 22:50:37] local.INFO: Packet analysis {"connection_id":165130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04960"} 
[2026-08-28 22:50:37] local.INFO: Extracted packet for processing {"connection_id":165130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04960"} 
[2026-08-28 22:50:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711907328001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787937439000,"timestamp_ms":1787937439000,"timestamp_seconds":1787937439,"priority":1,"record_length":96,"hex_timestamp":"000001a049603d18"} 
[2026-08-28 22: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-28 22:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 22:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22: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-28 22: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-28 22:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":165130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":165130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":165130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711907328001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711907328001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:50:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:50:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:50: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-28 22:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711907328001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:50:37] 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":711035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:50:37] local.INFO: GPS data processed {"connection_id":165130,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:50:37] local.INFO: Acknowledgment sent {"connection_id":165130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:50:55] local.INFO: TCP Data received {"connection_id":166494,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166494,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:50:55] local.INFO: Processing buffer {"connection_id":166494,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:50:55] local.INFO: IMEI packet received {"connection_id":166494,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 22:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":166494,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:50:56] local.INFO: TCP Data received {"connection_id":164142,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049623500012d196580071ff008003d013925..."} 
[2026-08-28 22:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049623500012d196580071ff008003d013925..."} 
[2026-08-28 22:50:56] local.INFO: Processing buffer {"connection_id":164142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049623500012d196580071ff008003d013925..."} 
[2026-08-28 22:50:56] local.INFO: Packet analysis {"connection_id":164142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04962"} 
[2026-08-28 22:50:56] local.INFO: Extracted packet for processing {"connection_id":164142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04962"} 
[2026-08-28 22:50:56] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:50:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:50:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711940352001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:50:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:50:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:50:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:50:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787937568000,"timestamp_ms":1787937568000,"timestamp_seconds":1787937568,"priority":1,"record_length":96,"hex_timestamp":"000001a049623500"} 
[2026-08-28 22:50:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:50:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:50:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-28 22:50: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-28 22:50:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:50:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:50:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:50:56] local.INFO: Teltonika packet parsed successfully {"connection_id":164142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:50:56] local.INFO: Passing IMEI to GPS processor {"connection_id":164142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:50:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":164142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:50:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:50:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:50:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:50:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711940352001,"66":2166,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 22:50:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:50:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:50:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711940352001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:50:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 22:50:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:50:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:50:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:50:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711940352001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:50:56] local.INFO: DEBUG: GPS processor result {"connection_id":164142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711036,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:50:56] local.INFO: GPS data processed {"connection_id":164142,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:50:56] local.INFO: Acknowledgment sent {"connection_id":164142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:51:00] local.INFO: TCP Data received {"connection_id":166494,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166494,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:51:00] local.INFO: Processing buffer {"connection_id":166494,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:51:00] local.INFO: IMEI packet received {"connection_id":166494,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 22:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":166494,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:51:01] local.INFO: TCP Data received {"connection_id":166494,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04962c588012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04962c588012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:51:01] local.INFO: Processing buffer {"connection_id":166494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04962c588012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:51:01] local.INFO: Packet analysis {"connection_id":166494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04962"} 
[2026-08-28 22:51:01] local.INFO: Extracted packet for processing {"connection_id":166494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04962"} 
[2026-08-28 22:51:01] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:51:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:51:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711949824001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:51:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:51:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:51:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:51:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787937605000,"timestamp_ms":1787937605000,"timestamp_seconds":1787937605,"priority":1,"record_length":96,"hex_timestamp":"000001a04962c588"} 
[2026-08-28 22:51:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:51:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:51:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 22:51:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:51:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:51:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:51:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:51:01] local.INFO: Teltonika packet parsed successfully {"connection_id":166494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:51:01] local.INFO: Passing IMEI to GPS processor {"connection_id":166494,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:51:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":166494,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:51:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:51:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:51:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:51:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711949824001,"66":25245,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:51:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:51:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:51:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711949824001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:51:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:51:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:51:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:51:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:51:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711949824001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:51:01] local.INFO: DEBUG: GPS processor result {"connection_id":166494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711037,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:51:01] local.INFO: GPS data processed {"connection_id":166494,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:51:01] local.INFO: Acknowledgment sent {"connection_id":166494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:51:09] local.INFO: TCP Data received {"connection_id":165130,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049603d18012d34c14006aa4840000c00e629..."} 
[2026-08-28 22:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049603d18012d34c14006aa4840000c00e629..."} 
[2026-08-28 22:51:09] local.INFO: Processing buffer {"connection_id":165130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049603d18012d34c14006aa4840000c00e629..."} 
[2026-08-28 22:51:09] local.INFO: Packet analysis {"connection_id":165130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04960"} 
[2026-08-28 22:51:09] local.INFO: Extracted packet for processing {"connection_id":165130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04960"} 
[2026-08-28 22:51:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711907328001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:51:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:51:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787937439000,"timestamp_ms":1787937439000,"timestamp_seconds":1787937439,"priority":1,"record_length":96,"hex_timestamp":"000001a049603d18"} 
[2026-08-28 22:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:51:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 22:51:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:51:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":165130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":165130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":165130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:51:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711907328001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711907328001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:51:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:51:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:51: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-28 22:51:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711907328001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:51:09] 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":711038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:51:09] local.INFO: GPS data processed {"connection_id":165130,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:51:09] local.INFO: Acknowledgment sent {"connection_id":165130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:51:14] local.INFO: TCP Data received {"connection_id":164143,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164143,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:51:14] local.INFO: Processing buffer {"connection_id":164143,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:51:14] local.INFO: IMEI packet received {"connection_id":164143,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 22:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":164143,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:51:19] local.INFO: TCP Data received {"connection_id":164143,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164143,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:51:19] local.INFO: Processing buffer {"connection_id":164143,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:51:19] local.INFO: IMEI packet received {"connection_id":164143,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 22:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":164143,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:51:20] local.INFO: TCP Data received {"connection_id":164143,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049623500012d196580071ff008003d013925..."} 
[2026-08-28 22:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049623500012d196580071ff008003d013925..."} 
[2026-08-28 22:51:20] local.INFO: Processing buffer {"connection_id":164143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049623500012d196580071ff008003d013925..."} 
[2026-08-28 22:51:20] local.INFO: Packet analysis {"connection_id":164143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04962"} 
[2026-08-28 22:51:20] local.INFO: Extracted packet for processing {"connection_id":164143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04962"} 
[2026-08-28 22:51:20] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:51:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:51:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711940352001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:51:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:51:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:51:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:51:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787937568000,"timestamp_ms":1787937568000,"timestamp_seconds":1787937568,"priority":1,"record_length":96,"hex_timestamp":"000001a049623500"} 
[2026-08-28 22:51:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:51:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:51:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-28 22:51:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:51:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:51:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:51:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:51:20] local.INFO: Teltonika packet parsed successfully {"connection_id":164143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:51:20] local.INFO: Passing IMEI to GPS processor {"connection_id":164143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:51:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":164143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:51:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:51:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:51:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:51:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711940352001,"66":2166,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 22:51:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:51:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:51:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711940352001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:51:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 22:51:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:51:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:51:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:51:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711940352001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:51:20] local.INFO: DEBUG: GPS processor result {"connection_id":164143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711039,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:51:20] local.INFO: GPS data processed {"connection_id":164143,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:51:20] local.INFO: Acknowledgment sent {"connection_id":164143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:51:29] local.INFO: TCP Data received {"connection_id":165131,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:51:29] local.INFO: Processing buffer {"connection_id":165131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:51:29] local.INFO: IMEI packet received {"connection_id":165131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 22:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":165131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:51:33] local.INFO: TCP Data received {"connection_id":166494,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04962c588012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04962c588012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:51:33] local.INFO: Processing buffer {"connection_id":166494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04962c588012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:51:33] local.INFO: Packet analysis {"connection_id":166494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04962"} 
[2026-08-28 22:51:33] local.INFO: Extracted packet for processing {"connection_id":166494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04962"} 
[2026-08-28 22:51:33] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:51:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711949824001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:51:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:51:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787937605000,"timestamp_ms":1787937605000,"timestamp_seconds":1787937605,"priority":1,"record_length":96,"hex_timestamp":"000001a04962c588"} 
[2026-08-28 22:51:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:51:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:51:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 22:51:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:51:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:51:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":166494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":166494,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":166494,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:51:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711949824001,"66":25245,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711949824001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:51:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:51:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:51:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:51:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711949824001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":166494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711040,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:51:33] local.INFO: GPS data processed {"connection_id":166494,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:51:33] local.INFO: Acknowledgment sent {"connection_id":166494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:51:35] local.INFO: TCP Data received {"connection_id":165131,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:51:35] local.INFO: Processing buffer {"connection_id":165131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:51:35] local.INFO: IMEI packet received {"connection_id":165131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 22:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":165131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:51:37] local.INFO: TCP Data received {"connection_id":165131,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049603d18012d34c14006aa4840000c00e629..."} 
[2026-08-28 22:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049603d18012d34c14006aa4840000c00e629..."} 
[2026-08-28 22:51:37] local.INFO: Processing buffer {"connection_id":165131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049603d18012d34c14006aa4840000c00e629..."} 
[2026-08-28 22:51:37] local.INFO: Packet analysis {"connection_id":165131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04960"} 
[2026-08-28 22:51:37] local.INFO: Extracted packet for processing {"connection_id":165131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04960"} 
[2026-08-28 22:51:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711907328001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787937439000,"timestamp_ms":1787937439000,"timestamp_seconds":1787937439,"priority":1,"record_length":96,"hex_timestamp":"000001a049603d18"} 
[2026-08-28 22: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-28 22:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 22:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22: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-28 22: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-28 22:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":165131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":165131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":165131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711907328001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711907328001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:51:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:51:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:51: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-28 22:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711907328001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:51:37] 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":711041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:51:37] local.INFO: GPS data processed {"connection_id":165131,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:51:37] local.INFO: Acknowledgment sent {"connection_id":165131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:51:52] local.INFO: TCP Data received {"connection_id":164143,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049623500012d196580071ff008003d013925..."} 
[2026-08-28 22:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049623500012d196580071ff008003d013925..."} 
[2026-08-28 22:51:52] local.INFO: Processing buffer {"connection_id":164143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049623500012d196580071ff008003d013925..."} 
[2026-08-28 22:51:52] local.INFO: Packet analysis {"connection_id":164143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04962"} 
[2026-08-28 22:51:52] local.INFO: Extracted packet for processing {"connection_id":164143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04962"} 
[2026-08-28 22:51:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:51:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711940352001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:51:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:51:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:51:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:51:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787937568000,"timestamp_ms":1787937568000,"timestamp_seconds":1787937568,"priority":1,"record_length":96,"hex_timestamp":"000001a049623500"} 
[2026-08-28 22: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-28 22:51:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-28 22:51:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22: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-28 22: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-28 22:51:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:51:52] local.INFO: Teltonika packet parsed successfully {"connection_id":164143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:51:52] local.INFO: Passing IMEI to GPS processor {"connection_id":164143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:51:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":164143,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:51:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:51:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:51:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:51:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711940352001,"66":2166,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 22:51:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:51:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:51:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711940352001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:51:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 22:51:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:51:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:51:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:51:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711940352001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:51:52] local.INFO: DEBUG: GPS processor result {"connection_id":164143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711042,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:51:52] local.INFO: GPS data processed {"connection_id":164143,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:51:52] local.INFO: Acknowledgment sent {"connection_id":164143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:51:55] local.INFO: TCP Data received {"connection_id":163851,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163851,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:51:55] local.INFO: Processing buffer {"connection_id":163851,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:51:55] local.INFO: IMEI packet received {"connection_id":163851,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 22:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":163851,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:52:01] local.INFO: TCP Data received {"connection_id":163851,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163851,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:52:01] local.INFO: Processing buffer {"connection_id":163851,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:52:01] local.INFO: IMEI packet received {"connection_id":163851,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 22:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":163851,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:52:02] local.INFO: TCP Data received {"connection_id":163851,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04962c588012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04962c588012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:52:02] local.INFO: Processing buffer {"connection_id":163851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04962c588012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:52:02] local.INFO: Packet analysis {"connection_id":163851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04962"} 
[2026-08-28 22:52:02] local.INFO: Extracted packet for processing {"connection_id":163851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04962"} 
[2026-08-28 22:52:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711949824001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:52:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:52:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787937605000,"timestamp_ms":1787937605000,"timestamp_seconds":1787937605,"priority":1,"record_length":96,"hex_timestamp":"000001a04962c588"} 
[2026-08-28 22:52:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:52:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 22:52:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:52:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:52:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163851,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163851,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:52:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711949824001,"66":25245,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711949824001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:52:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:52:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:52:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711949824001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":163851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711043,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:52:02] local.INFO: GPS data processed {"connection_id":163851,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:52:02] local.INFO: Acknowledgment sent {"connection_id":163851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:52:10] local.INFO: TCP Data received {"connection_id":165131,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049603d18012d34c14006aa4840000c00e629..."} 
[2026-08-28 22:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049603d18012d34c14006aa4840000c00e629..."} 
[2026-08-28 22:52:10] local.INFO: Processing buffer {"connection_id":165131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049603d18012d34c14006aa4840000c00e629..."} 
[2026-08-28 22:52:10] local.INFO: Packet analysis {"connection_id":165131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04960"} 
[2026-08-28 22:52:10] local.INFO: Extracted packet for processing {"connection_id":165131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04960"} 
[2026-08-28 22:52:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711907328001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:52:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:52:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787937439000,"timestamp_ms":1787937439000,"timestamp_seconds":1787937439,"priority":1,"record_length":96,"hex_timestamp":"000001a049603d18"} 
[2026-08-28 22:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:52:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 22:52:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:52:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":165131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":165131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":165131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:52:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711907328001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711907328001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:52:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:52:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:52:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711907328001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:52:10] 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":711044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:52:10] local.INFO: GPS data processed {"connection_id":165131,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:52:10] local.INFO: Acknowledgment sent {"connection_id":165131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:52:19] local.INFO: TCP Data received {"connection_id":164144,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:52:19] local.INFO: Processing buffer {"connection_id":164144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:52:19] local.INFO: IMEI packet received {"connection_id":164144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 22:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":164144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:52:24] local.INFO: TCP Data received {"connection_id":164144,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:52:24] local.INFO: Processing buffer {"connection_id":164144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:52:24] local.INFO: IMEI packet received {"connection_id":164144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 22:52:24] local.INFO: IMEI acknowledgment sent {"connection_id":164144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:52:25] local.INFO: TCP Data received {"connection_id":164144,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049623500012d196580071ff008003d013925..."} 
[2026-08-28 22:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049623500012d196580071ff008003d013925..."} 
[2026-08-28 22:52:25] local.INFO: Processing buffer {"connection_id":164144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049623500012d196580071ff008003d013925..."} 
[2026-08-28 22:52:25] local.INFO: Packet analysis {"connection_id":164144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04962"} 
[2026-08-28 22:52:25] local.INFO: Extracted packet for processing {"connection_id":164144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04962"} 
[2026-08-28 22:52:25] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:52:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:52:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711940352001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:52:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:52:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:52:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:52:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787937568000,"timestamp_ms":1787937568000,"timestamp_seconds":1787937568,"priority":1,"record_length":96,"hex_timestamp":"000001a049623500"} 
[2026-08-28 22:52:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:52:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:52:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-28 22:52:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:52:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:52:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:52:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:52:25] local.INFO: Teltonika packet parsed successfully {"connection_id":164144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:52:25] local.INFO: Passing IMEI to GPS processor {"connection_id":164144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:52:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":164144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:52:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:52:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:52:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:52:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711940352001,"66":2166,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 22:52:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:52:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:52:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711940352001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:52:25] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 22:52:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:52:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:52:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:52:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711940352001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:52:25] local.INFO: DEBUG: GPS processor result {"connection_id":164144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711045,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:52:25] local.INFO: GPS data processed {"connection_id":164144,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:52:25] local.INFO: Acknowledgment sent {"connection_id":164144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:52:29] local.INFO: TCP Data received {"connection_id":166495,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:52:29] local.INFO: Processing buffer {"connection_id":166495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:52:29] local.INFO: IMEI packet received {"connection_id":166495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 22:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":166495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:52:30] local.INFO: TCP Data received {"connection_id":164144,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049623500012d196580071ff008003d013925..."} 
[2026-08-28 22:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049623500012d196580071ff008003d013925..."} 
[2026-08-28 22:52:30] local.INFO: Processing buffer {"connection_id":164144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049623500012d196580071ff008003d013925..."} 
[2026-08-28 22:52:30] local.INFO: Packet analysis {"connection_id":164144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04962"} 
[2026-08-28 22:52:30] local.INFO: Extracted packet for processing {"connection_id":164144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04962"} 
[2026-08-28 22:52:30] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:52:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711940352001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:52:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:52:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:52:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:52:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787937568000,"timestamp_ms":1787937568000,"timestamp_seconds":1787937568,"priority":1,"record_length":96,"hex_timestamp":"000001a049623500"} 
[2026-08-28 22:52:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:52:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-28 22:52:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:52:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:52:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:52:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:52:30] local.INFO: Teltonika packet parsed successfully {"connection_id":164144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:52:30] local.INFO: Passing IMEI to GPS processor {"connection_id":164144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:52:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":164144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:52:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:52:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:52:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:52:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711940352001,"66":2166,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 22:52:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:52:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:52:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711940352001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:52:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 22:52:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:52:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:52:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:52:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711940352001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:52:30] local.INFO: DEBUG: GPS processor result {"connection_id":164144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711046,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:52:30] local.INFO: GPS data processed {"connection_id":164144,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:52:30] local.INFO: Acknowledgment sent {"connection_id":164144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:52:33] local.INFO: TCP Data received {"connection_id":163851,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04962c588012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04962c588012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:52:33] local.INFO: Processing buffer {"connection_id":163851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04962c588012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:52:33] local.INFO: Packet analysis {"connection_id":163851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04962"} 
[2026-08-28 22:52:33] local.INFO: Extracted packet for processing {"connection_id":163851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04962"} 
[2026-08-28 22:52:33] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711949824001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787937605000,"timestamp_ms":1787937605000,"timestamp_seconds":1787937605,"priority":1,"record_length":96,"hex_timestamp":"000001a04962c588"} 
[2026-08-28 22:52:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:52:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 22:52:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:52:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:52:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":163851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":163851,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":163851,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:52:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711949824001,"66":25245,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711949824001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:52:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:52:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711949824001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:52:34] local.INFO: DEBUG: GPS processor result {"connection_id":163851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711047,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:52:34] local.INFO: GPS data processed {"connection_id":163851,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:52:34] local.INFO: Acknowledgment sent {"connection_id":163851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:52:35] local.INFO: TCP Data received {"connection_id":166495,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:52:35] local.INFO: Processing buffer {"connection_id":166495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:52:35] local.INFO: IMEI packet received {"connection_id":166495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 22:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":166495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:52:37] local.INFO: TCP Data received {"connection_id":166495,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049603d18012d34c14006aa4840000c00e629..."} 
[2026-08-28 22:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049603d18012d34c14006aa4840000c00e629..."} 
[2026-08-28 22:52:37] local.INFO: Processing buffer {"connection_id":166495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049603d18012d34c14006aa4840000c00e629..."} 
[2026-08-28 22:52:37] local.INFO: Packet analysis {"connection_id":166495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04960"} 
[2026-08-28 22:52:37] local.INFO: Extracted packet for processing {"connection_id":166495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04960"} 
[2026-08-28 22:52:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711907328001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787937439000,"timestamp_ms":1787937439000,"timestamp_seconds":1787937439,"priority":1,"record_length":96,"hex_timestamp":"000001a049603d18"} 
[2026-08-28 22: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-28 22:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 22:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22: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-28 22: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-28 22:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":166495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":166495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":166495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711907328001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711907328001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:52:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:52:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:52: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-28 22:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711907328001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":166495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:52:37] local.INFO: GPS data processed {"connection_id":166495,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:52:37] local.INFO: Acknowledgment sent {"connection_id":166495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:53:01] local.INFO: TCP Data received {"connection_id":163852,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163852,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:53:01] local.INFO: Processing buffer {"connection_id":163852,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:53:01] local.INFO: IMEI packet received {"connection_id":163852,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 22:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":163852,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:53:06] local.INFO: TCP Data received {"connection_id":163852,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163852,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:53:06] local.INFO: Processing buffer {"connection_id":163852,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:53:06] local.INFO: IMEI packet received {"connection_id":163852,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 22:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":163852,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:53:07] local.INFO: TCP Data received {"connection_id":163852,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04962c588012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04962c588012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:53:07] local.INFO: Processing buffer {"connection_id":163852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04962c588012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:53:07] local.INFO: Packet analysis {"connection_id":163852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04962"} 
[2026-08-28 22:53:07] local.INFO: Extracted packet for processing {"connection_id":163852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04962"} 
[2026-08-28 22:53:07] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711949824001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787937605000,"timestamp_ms":1787937605000,"timestamp_seconds":1787937605,"priority":1,"record_length":96,"hex_timestamp":"000001a04962c588"} 
[2026-08-28 22:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 22:53:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:53:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":163852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":163852,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":163852,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711949824001,"66":25245,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711949824001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:53:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:53:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711949824001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":163852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711049,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:53:07] local.INFO: GPS data processed {"connection_id":163852,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:53:07] local.INFO: Acknowledgment sent {"connection_id":163852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:53:08] local.INFO: TCP Data received {"connection_id":166495,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04964d4e0012d34c14006aa4840000e00e629..."} 
[2026-08-28 22:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04964d4e0012d34c14006aa4840000e00e629..."} 
[2026-08-28 22:53:08] local.INFO: Processing buffer {"connection_id":166495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04964d4e0012d34c14006aa4840000e00e629..."} 
[2026-08-28 22:53:08] local.INFO: Packet analysis {"connection_id":166495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04964"} 
[2026-08-28 22:53:08] local.INFO: Extracted packet for processing {"connection_id":166495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04964"} 
[2026-08-28 22:53:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:53:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711984384001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:53:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:53:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:53:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:53:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787937740000,"timestamp_ms":1787937740000,"timestamp_seconds":1787937740,"priority":1,"record_length":96,"hex_timestamp":"000001a04964d4e0"} 
[2026-08-28 22: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-28 22:53:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 22:53:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22: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-28 22: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-28 22:53:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:53:08] local.INFO: Teltonika packet parsed successfully {"connection_id":166495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:53:08] local.INFO: Passing IMEI to GPS processor {"connection_id":166495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:53:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":166495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:53:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:53:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:53:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:53:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711984384001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:53:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:53:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:53:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711984384001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:53:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:53:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:53: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-28 22:53:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:53:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711984384001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:53:08] local.INFO: DEBUG: GPS processor result {"connection_id":166495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:53:08] local.INFO: GPS data processed {"connection_id":166495,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:53:08] local.INFO: Acknowledgment sent {"connection_id":166495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:53:14] local.INFO: TCP Data received {"connection_id":163853,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:53:14] local.INFO: Processing buffer {"connection_id":163853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:53:14] local.INFO: IMEI packet received {"connection_id":163853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 22:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":163853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:53:19] local.INFO: TCP Data received {"connection_id":163853,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:53:19] local.INFO: Processing buffer {"connection_id":163853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:53:19] local.INFO: IMEI packet received {"connection_id":163853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 22:53:19] local.INFO: IMEI acknowledgment sent {"connection_id":163853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:53:20] local.INFO: TCP Data received {"connection_id":163853,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049623500012d196580071ff008003d013925..."} 
[2026-08-28 22:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049623500012d196580071ff008003d013925..."} 
[2026-08-28 22:53:20] local.INFO: Processing buffer {"connection_id":163853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049623500012d196580071ff008003d013925..."} 
[2026-08-28 22:53:20] local.INFO: Packet analysis {"connection_id":163853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04962"} 
[2026-08-28 22:53:20] local.INFO: Extracted packet for processing {"connection_id":163853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04962"} 
[2026-08-28 22:53:20] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:53:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711940352001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:53:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:53:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:53:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:53:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787937568000,"timestamp_ms":1787937568000,"timestamp_seconds":1787937568,"priority":1,"record_length":96,"hex_timestamp":"000001a049623500"} 
[2026-08-28 22:53:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:53:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-28 22:53:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:53:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:53:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:53:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:53:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:53:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:53:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:53:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:53:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:53:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:53:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711940352001,"66":2166,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 22:53:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:53:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:53:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711940352001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:53:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 22:53:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:53:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:53:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:53:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711940352001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:53:20] local.INFO: DEBUG: GPS processor result {"connection_id":163853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711051,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:53:20] local.INFO: GPS data processed {"connection_id":163853,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:53:20] local.INFO: Acknowledgment sent {"connection_id":163853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:53:30] local.INFO: TCP Data received {"connection_id":164145,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:53:30] local.INFO: Processing buffer {"connection_id":164145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:53:30] local.INFO: IMEI packet received {"connection_id":164145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 22:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":164145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:53:34] local.INFO: TCP Data received {"connection_id":164145,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:53:34] local.INFO: Processing buffer {"connection_id":164145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:53:34] local.INFO: IMEI packet received {"connection_id":164145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 22:53:34] local.INFO: IMEI acknowledgment sent {"connection_id":164145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:53:36] local.INFO: TCP Data received {"connection_id":164145,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04964d4e0012d34c14006aa4840000e00e629..."} 
[2026-08-28 22:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04964d4e0012d34c14006aa4840000e00e629..."} 
[2026-08-28 22:53:36] local.INFO: Processing buffer {"connection_id":164145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04964d4e0012d34c14006aa4840000e00e629..."} 
[2026-08-28 22:53:36] local.INFO: Packet analysis {"connection_id":164145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04964"} 
[2026-08-28 22:53:36] local.INFO: Extracted packet for processing {"connection_id":164145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04964"} 
[2026-08-28 22:53:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711984384001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787937740000,"timestamp_ms":1787937740000,"timestamp_seconds":1787937740,"priority":1,"record_length":96,"hex_timestamp":"000001a04964d4e0"} 
[2026-08-28 22:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 22:53:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:53:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":164145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":164145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":164145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711984384001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711984384001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:53:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:53:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711984384001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":164145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:53:36] local.INFO: GPS data processed {"connection_id":164145,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:53:36] local.INFO: Acknowledgment sent {"connection_id":164145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:53:38] local.INFO: TCP Data received {"connection_id":163852,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04962c588012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04962c588012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:53:38] local.INFO: Processing buffer {"connection_id":163852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04962c588012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:53:38] local.INFO: Packet analysis {"connection_id":163852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04962"} 
[2026-08-28 22:53:38] local.INFO: Extracted packet for processing {"connection_id":163852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04962"} 
[2026-08-28 22:53:38] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711949824001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787937605000,"timestamp_ms":1787937605000,"timestamp_seconds":1787937605,"priority":1,"record_length":96,"hex_timestamp":"000001a04962c588"} 
[2026-08-28 22:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 22:53:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:53:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":163852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":163852,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":163852,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711949824001,"66":25245,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711949824001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:53:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:53:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711949824001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:53:39] local.INFO: DEBUG: GPS processor result {"connection_id":163852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711053,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:53:39] local.INFO: GPS data processed {"connection_id":163852,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:53:39] local.INFO: Acknowledgment sent {"connection_id":163852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:53:41] local.INFO: TCP Data received {"connection_id":164145,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04964d4e0012d34c14006aa4840000e00e629..."} 
[2026-08-28 22:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04964d4e0012d34c14006aa4840000e00e629..."} 
[2026-08-28 22:53:41] local.INFO: Processing buffer {"connection_id":164145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04964d4e0012d34c14006aa4840000e00e629..."} 
[2026-08-28 22:53:41] local.INFO: Packet analysis {"connection_id":164145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04964"} 
[2026-08-28 22:53:41] local.INFO: Extracted packet for processing {"connection_id":164145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04964"} 
[2026-08-28 22:53:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711984384001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:53:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:53:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787937740000,"timestamp_ms":1787937740000,"timestamp_seconds":1787937740,"priority":1,"record_length":96,"hex_timestamp":"000001a04964d4e0"} 
[2026-08-28 22: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-28 22:53:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22: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-28 22: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-28 22: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-28 22:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":164145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":164145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":164145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:53:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:53:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711984384001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:53:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:53:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:53:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711984384001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:53:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:53:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22: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-28 22:53:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:53:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711984384001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:53:41] local.INFO: DEBUG: GPS processor result {"connection_id":164145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:53:41] local.INFO: GPS data processed {"connection_id":164145,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:53:41] local.INFO: Acknowledgment sent {"connection_id":164145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:53:52] local.INFO: TCP Data received {"connection_id":163853,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049623500012d196580071ff008003d013925..."} 
[2026-08-28 22:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049623500012d196580071ff008003d013925..."} 
[2026-08-28 22:53:52] local.INFO: Processing buffer {"connection_id":163853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049623500012d196580071ff008003d013925..."} 
[2026-08-28 22:53:52] local.INFO: Packet analysis {"connection_id":163853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04962"} 
[2026-08-28 22:53:52] local.INFO: Extracted packet for processing {"connection_id":163853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04962"} 
[2026-08-28 22:53:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:53:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711940352001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:53:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:53:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:53:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:53:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787937568000,"timestamp_ms":1787937568000,"timestamp_seconds":1787937568,"priority":1,"record_length":96,"hex_timestamp":"000001a049623500"} 
[2026-08-28 22:53:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:53:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-28 22:53:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:53:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:53:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:53:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:53:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:53:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:53:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:53:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:53:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:53:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:53:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711940352001,"66":2166,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 22:53:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:53:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:53:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711940352001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:53:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 22:53:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:53:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:53:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:53:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711940352001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:53:52] local.INFO: DEBUG: GPS processor result {"connection_id":163853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711055,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:53:52] local.INFO: GPS data processed {"connection_id":163853,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:53:52] local.INFO: Acknowledgment sent {"connection_id":163853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:53:55] local.INFO: TCP Data received {"connection_id":165132,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165132,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:53:55] local.INFO: Processing buffer {"connection_id":165132,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:53:55] local.INFO: IMEI packet received {"connection_id":165132,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 22:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":165132,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:54:01] local.INFO: TCP Data received {"connection_id":165132,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165132,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:54:01] local.INFO: Processing buffer {"connection_id":165132,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:54:01] local.INFO: IMEI packet received {"connection_id":165132,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 22:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":165132,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:54:02] local.INFO: TCP Data received {"connection_id":165132,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04962c588012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04962c588012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:54:02] local.INFO: Processing buffer {"connection_id":165132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04962c588012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:54:02] local.INFO: Packet analysis {"connection_id":165132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04962"} 
[2026-08-28 22:54:02] local.INFO: Extracted packet for processing {"connection_id":165132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04962"} 
[2026-08-28 22:54:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711949824001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:54:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:54:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787937605000,"timestamp_ms":1787937605000,"timestamp_seconds":1787937605,"priority":1,"record_length":96,"hex_timestamp":"000001a04962c588"} 
[2026-08-28 22:54:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:54:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 22:54:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:54:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:54:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":165132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":165132,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":165132,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:54:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711949824001,"66":25245,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711949824001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:54:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:54:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:54:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711949824001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:54:02] 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":711056,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:54:02] local.INFO: GPS data processed {"connection_id":165132,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:54:02] local.INFO: Acknowledgment sent {"connection_id":165132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:54:12] local.INFO: TCP Data received {"connection_id":164145,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04964d4e0012d34c14006aa4840000e00e629..."} 
[2026-08-28 22:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04964d4e0012d34c14006aa4840000e00e629..."} 
[2026-08-28 22:54:12] local.INFO: Processing buffer {"connection_id":164145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04964d4e0012d34c14006aa4840000e00e629..."} 
[2026-08-28 22:54:12] local.INFO: Packet analysis {"connection_id":164145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04964"} 
[2026-08-28 22:54:12] local.INFO: Extracted packet for processing {"connection_id":164145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04964"} 
[2026-08-28 22:54:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:54:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711984384001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:54:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:54:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:54:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:54:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787937740000,"timestamp_ms":1787937740000,"timestamp_seconds":1787937740,"priority":1,"record_length":96,"hex_timestamp":"000001a04964d4e0"} 
[2026-08-28 22:54:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:54:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 22:54:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:54:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:54:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:54:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:54:12] local.INFO: Teltonika packet parsed successfully {"connection_id":164145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:54:12] local.INFO: Passing IMEI to GPS processor {"connection_id":164145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:54:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":164145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:54:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:54:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:54:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:54:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711984384001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:54:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:54:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:54:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711984384001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:54:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:54:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:54: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-28 22:54:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:54:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711984384001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:54:12] local.INFO: DEBUG: GPS processor result {"connection_id":164145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:54:12] local.INFO: GPS data processed {"connection_id":164145,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:54:12] local.INFO: Acknowledgment sent {"connection_id":164145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:54:14] local.INFO: TCP Data received {"connection_id":164146,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164146,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:54:14] local.INFO: Processing buffer {"connection_id":164146,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:54:14] local.INFO: IMEI packet received {"connection_id":164146,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 22:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":164146,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:54:19] local.INFO: TCP Data received {"connection_id":164146,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164146,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:54:19] local.INFO: Processing buffer {"connection_id":164146,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:54:19] local.INFO: IMEI packet received {"connection_id":164146,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 22:54:19] local.INFO: IMEI acknowledgment sent {"connection_id":164146,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:54:20] local.INFO: TCP Data received {"connection_id":164146,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049623500012d196580071ff008003d013925..."} 
[2026-08-28 22:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049623500012d196580071ff008003d013925..."} 
[2026-08-28 22:54:20] local.INFO: Processing buffer {"connection_id":164146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049623500012d196580071ff008003d013925..."} 
[2026-08-28 22:54:20] local.INFO: Packet analysis {"connection_id":164146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04962"} 
[2026-08-28 22:54:20] local.INFO: Extracted packet for processing {"connection_id":164146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04962"} 
[2026-08-28 22:54:20] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:54:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711940352001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:54:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:54:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:54:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:54:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787937568000,"timestamp_ms":1787937568000,"timestamp_seconds":1787937568,"priority":1,"record_length":96,"hex_timestamp":"000001a049623500"} 
[2026-08-28 22:54:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:54:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-28 22:54:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:54:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:54:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:54:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:54:20] local.INFO: Teltonika packet parsed successfully {"connection_id":164146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:54:20] local.INFO: Passing IMEI to GPS processor {"connection_id":164146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:54:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":164146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:54:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:54:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:54:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:54:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711940352001,"66":2166,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 22:54:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:54:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:54:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711940352001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:54:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 22:54:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:54:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:54:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:54:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711940352001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:54:20] local.INFO: DEBUG: GPS processor result {"connection_id":164146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711058,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:54:20] local.INFO: GPS data processed {"connection_id":164146,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:54:20] local.INFO: Acknowledgment sent {"connection_id":164146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:54:30] local.INFO: TCP Data received {"connection_id":163854,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:54:30] local.INFO: Processing buffer {"connection_id":163854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:54:30] local.INFO: IMEI packet received {"connection_id":163854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 22:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":163854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:54:34] local.INFO: TCP Data received {"connection_id":165132,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04962c588012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04962c588012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:54:34] local.INFO: Processing buffer {"connection_id":165132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04962c588012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:54:34] local.INFO: Packet analysis {"connection_id":165132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04962"} 
[2026-08-28 22:54:34] local.INFO: Extracted packet for processing {"connection_id":165132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04962"} 
[2026-08-28 22:54:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711949824001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:54:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:54:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787937605000,"timestamp_ms":1787937605000,"timestamp_seconds":1787937605,"priority":1,"record_length":96,"hex_timestamp":"000001a04962c588"} 
[2026-08-28 22:54:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:54:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 22:54:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:54:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:54:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":165132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":165132,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":165132,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:54:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711949824001,"66":25245,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711949824001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:54:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:54:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:54:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711949824001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:54:34] 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":711059,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:54:34] local.INFO: GPS data processed {"connection_id":165132,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:54:34] local.INFO: Acknowledgment sent {"connection_id":165132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:54:35] local.INFO: TCP Data received {"connection_id":163854,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:54:35] local.INFO: Processing buffer {"connection_id":163854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:54:35] local.INFO: IMEI packet received {"connection_id":163854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 22:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":163854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:54:37] local.INFO: TCP Data received {"connection_id":163854,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04964d4e0012d34c14006aa4840000e00e629..."} 
[2026-08-28 22:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04964d4e0012d34c14006aa4840000e00e629..."} 
[2026-08-28 22:54:37] local.INFO: Processing buffer {"connection_id":163854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04964d4e0012d34c14006aa4840000e00e629..."} 
[2026-08-28 22:54:37] local.INFO: Packet analysis {"connection_id":163854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04964"} 
[2026-08-28 22:54:37] local.INFO: Extracted packet for processing {"connection_id":163854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04964"} 
[2026-08-28 22:54:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711984384001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787937740000,"timestamp_ms":1787937740000,"timestamp_seconds":1787937740,"priority":1,"record_length":96,"hex_timestamp":"000001a04964d4e0"} 
[2026-08-28 22:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 22:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:54:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711984384001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711984384001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:54:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:54:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:54: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-28 22:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711984384001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":163854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:54:37] local.INFO: GPS data processed {"connection_id":163854,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:54:37] local.INFO: Acknowledgment sent {"connection_id":163854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:54:52] local.INFO: TCP Data received {"connection_id":164146,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049623500012d196580071ff008003d013925..."} 
[2026-08-28 22:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049623500012d196580071ff008003d013925..."} 
[2026-08-28 22:54:52] local.INFO: Processing buffer {"connection_id":164146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049623500012d196580071ff008003d013925..."} 
[2026-08-28 22:54:52] local.INFO: Packet analysis {"connection_id":164146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04962"} 
[2026-08-28 22:54:52] local.INFO: Extracted packet for processing {"connection_id":164146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04962"} 
[2026-08-28 22:54:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:54:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711940352001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:54:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:54:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:54:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:54:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787937568000,"timestamp_ms":1787937568000,"timestamp_seconds":1787937568,"priority":1,"record_length":96,"hex_timestamp":"000001a049623500"} 
[2026-08-28 22:54:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:54:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-28 22:54:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:54:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:54:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:54:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:54:52] local.INFO: Teltonika packet parsed successfully {"connection_id":164146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:54:52] local.INFO: Passing IMEI to GPS processor {"connection_id":164146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:54:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":164146,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:54:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:54:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:54:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:54:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711940352001,"66":2166,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 22:54:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:54:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:54:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711940352001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:54:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 22:54:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:54:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:54:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:54:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711940352001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:54:52] local.INFO: DEBUG: GPS processor result {"connection_id":164146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711061,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:54:52] local.INFO: GPS data processed {"connection_id":164146,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:54:52] local.INFO: Acknowledgment sent {"connection_id":164146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:54:55] local.INFO: TCP Data received {"connection_id":164147,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164147,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:54:55] local.INFO: Processing buffer {"connection_id":164147,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:54:55] local.INFO: IMEI packet received {"connection_id":164147,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 22:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":164147,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:55:01] local.INFO: TCP Data received {"connection_id":164147,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164147,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:55:01] local.INFO: Processing buffer {"connection_id":164147,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:55:01] local.INFO: IMEI packet received {"connection_id":164147,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 22:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":164147,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:55:02] local.INFO: TCP Data received {"connection_id":164147,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04962c588012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04962c588012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:55:02] local.INFO: Processing buffer {"connection_id":164147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04962c588012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:55:02] local.INFO: Packet analysis {"connection_id":164147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04962"} 
[2026-08-28 22:55:02] local.INFO: Extracted packet for processing {"connection_id":164147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04962"} 
[2026-08-28 22:55:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:55:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711949824001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:55:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:55:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:55:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:55:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787937605000,"timestamp_ms":1787937605000,"timestamp_seconds":1787937605,"priority":1,"record_length":96,"hex_timestamp":"000001a04962c588"} 
[2026-08-28 22:55:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:55:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 22:55:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:55:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:55:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:55:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:55:02] local.INFO: Teltonika packet parsed successfully {"connection_id":164147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:55:02] local.INFO: Passing IMEI to GPS processor {"connection_id":164147,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:55:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":164147,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:55:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:55:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:55:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:55:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711949824001,"66":25245,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:55:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:55:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:55:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711949824001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:55:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:55:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:55:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:55:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:55:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711949824001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:55:02] local.INFO: DEBUG: GPS processor result {"connection_id":164147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711062,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:55:02] local.INFO: GPS data processed {"connection_id":164147,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:55:02] local.INFO: Acknowledgment sent {"connection_id":164147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:55:09] local.INFO: TCP Data received {"connection_id":163854,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04964d4e0012d34c14006aa4840000e00e629..."} 
[2026-08-28 22:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04964d4e0012d34c14006aa4840000e00e629..."} 
[2026-08-28 22:55:09] local.INFO: Processing buffer {"connection_id":163854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04964d4e0012d34c14006aa4840000e00e629..."} 
[2026-08-28 22:55:09] local.INFO: Packet analysis {"connection_id":163854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04964"} 
[2026-08-28 22:55:09] local.INFO: Extracted packet for processing {"connection_id":163854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04964"} 
[2026-08-28 22:55:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:55:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711984384001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:55:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:55:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787937740000,"timestamp_ms":1787937740000,"timestamp_seconds":1787937740,"priority":1,"record_length":96,"hex_timestamp":"000001a04964d4e0"} 
[2026-08-28 22:55:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:55:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:55:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 22:55:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:55:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:55:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:55:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711984384001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711984384001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:55:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:55:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:55: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-28 22:55:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711984384001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:55:09] local.INFO: DEBUG: GPS processor result {"connection_id":163854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:55:09] local.INFO: GPS data processed {"connection_id":163854,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:55:09] local.INFO: Acknowledgment sent {"connection_id":163854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:55:13] local.INFO: TCP Data received {"connection_id":163855,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:55:13] local.INFO: Processing buffer {"connection_id":163855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:55:13] local.INFO: IMEI packet received {"connection_id":163855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 22:55:13] local.INFO: IMEI acknowledgment sent {"connection_id":163855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:55:19] local.INFO: TCP Data received {"connection_id":163855,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:55:19] local.INFO: Processing buffer {"connection_id":163855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:55:19] local.INFO: IMEI packet received {"connection_id":163855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 22:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":163855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:55:21] local.INFO: TCP Data received {"connection_id":163855,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a04966ccc8012d196580071ff008003d013927..."} 
[2026-08-28 22:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04966ccc8012d196580071ff008003d013927..."} 
[2026-08-28 22:55:21] local.INFO: Processing buffer {"connection_id":163855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04966ccc8012d196580071ff008003d013927..."} 
[2026-08-28 22:55:21] local.INFO: Packet analysis {"connection_id":163855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04966"} 
[2026-08-28 22:55:21] local.INFO: Extracted packet for processing {"connection_id":163855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04966"} 
[2026-08-28 22:55:21] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:55:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712017408001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:55:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:55:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:55:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:55:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787937869000,"timestamp_ms":1787937869000,"timestamp_seconds":1787937869,"priority":1,"record_length":96,"hex_timestamp":"000001a04966ccc8"} 
[2026-08-28 22:55:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:55:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:55:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:55:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:55:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:55:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:55:21] local.INFO: Teltonika packet parsed successfully {"connection_id":163855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:55:21] local.INFO: Passing IMEI to GPS processor {"connection_id":163855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:55:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":163855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:55:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:55:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:55:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:55:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712017408001,"66":2166,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 22:55:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:55:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:55:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712017408001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:55:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 22:55:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:55:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:55:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:55:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712017408001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:55:21] local.INFO: DEBUG: GPS processor result {"connection_id":163855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711064,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:55:21] local.INFO: GPS data processed {"connection_id":163855,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:55:21] local.INFO: Acknowledgment sent {"connection_id":163855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:55:29] local.INFO: TCP Data received {"connection_id":163856,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:55:29] local.INFO: Processing buffer {"connection_id":163856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:55:29] local.INFO: IMEI packet received {"connection_id":163856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 22:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":163856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:55:34] local.INFO: TCP Data received {"connection_id":164147,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04962c588012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04962c588012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:55:34] local.INFO: Processing buffer {"connection_id":164147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04962c588012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:55:34] local.INFO: Packet analysis {"connection_id":164147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04962"} 
[2026-08-28 22:55:34] local.INFO: Extracted packet for processing {"connection_id":164147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04962"} 
[2026-08-28 22:55:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711949824001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:55:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:55:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787937605000,"timestamp_ms":1787937605000,"timestamp_seconds":1787937605,"priority":1,"record_length":96,"hex_timestamp":"000001a04962c588"} 
[2026-08-28 22:55:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:55:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 22:55:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:55:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:55:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":164147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":164147,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":164147,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:55:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711949824001,"66":25245,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711949824001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:55:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:55:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:55:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:55:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711949824001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":164147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711065,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:55:34] local.INFO: GPS data processed {"connection_id":164147,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:55:34] local.INFO: Acknowledgment sent {"connection_id":164147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:55:34] local.INFO: TCP Data received {"connection_id":163856,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:55:34] local.INFO: Processing buffer {"connection_id":163856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:55:34] local.INFO: IMEI packet received {"connection_id":163856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 22:55:34] local.INFO: IMEI acknowledgment sent {"connection_id":163856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:55:37] local.INFO: TCP Data received {"connection_id":163856,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04964d4e0012d34c14006aa4840000e00e629..."} 
[2026-08-28 22:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04964d4e0012d34c14006aa4840000e00e629..."} 
[2026-08-28 22:55:37] local.INFO: Processing buffer {"connection_id":163856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04964d4e0012d34c14006aa4840000e00e629..."} 
[2026-08-28 22:55:37] local.INFO: Packet analysis {"connection_id":163856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04964"} 
[2026-08-28 22:55:37] local.INFO: Extracted packet for processing {"connection_id":163856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04964"} 
[2026-08-28 22:55:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711984384001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787937740000,"timestamp_ms":1787937740000,"timestamp_seconds":1787937740,"priority":1,"record_length":96,"hex_timestamp":"000001a04964d4e0"} 
[2026-08-28 22:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 22:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711984384001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711984384001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:55:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:55:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:55: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-28 22:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711984384001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":163856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:55:37] local.INFO: GPS data processed {"connection_id":163856,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:55:37] local.INFO: Acknowledgment sent {"connection_id":163856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:55:53] local.INFO: TCP Data received {"connection_id":163855,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a04966ccc8012d196580071ff008003d013927..."} 
[2026-08-28 22:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04966ccc8012d196580071ff008003d013927..."} 
[2026-08-28 22:55:53] local.INFO: Processing buffer {"connection_id":163855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04966ccc8012d196580071ff008003d013927..."} 
[2026-08-28 22:55:53] local.INFO: Packet analysis {"connection_id":163855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04966"} 
[2026-08-28 22:55:53] local.INFO: Extracted packet for processing {"connection_id":163855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04966"} 
[2026-08-28 22:55:53] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:55:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712017408001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:55:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:55:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:55:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:55:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787937869000,"timestamp_ms":1787937869000,"timestamp_seconds":1787937869,"priority":1,"record_length":96,"hex_timestamp":"000001a04966ccc8"} 
[2026-08-28 22: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-28 22:55:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:55:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22: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-28 22: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-28 22:55:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:55:53] local.INFO: Teltonika packet parsed successfully {"connection_id":163855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:55:53] local.INFO: Passing IMEI to GPS processor {"connection_id":163855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:55:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":163855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:55:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:55:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:55:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:55:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712017408001,"66":2166,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 22:55:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:55:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:55:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712017408001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:55:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 22:55:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:55:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:55:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:55:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712017408001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:55:53] local.INFO: DEBUG: GPS processor result {"connection_id":163855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711067,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:55:53] local.INFO: GPS data processed {"connection_id":163855,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:55:53] local.INFO: Acknowledgment sent {"connection_id":163855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:55:55] local.INFO: TCP Data received {"connection_id":166496,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166496,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:55:55] local.INFO: Processing buffer {"connection_id":166496,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:55:55] local.INFO: IMEI packet received {"connection_id":166496,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 22:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":166496,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:56:00] local.INFO: TCP Data received {"connection_id":166496,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166496,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:56:00] local.INFO: Processing buffer {"connection_id":166496,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:56:00] local.INFO: IMEI packet received {"connection_id":166496,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 22:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":166496,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:56:01] local.INFO: TCP Data received {"connection_id":166496,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049675d50012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049675d50012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:56:01] local.INFO: Processing buffer {"connection_id":166496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049675d50012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:56:01] local.INFO: Packet analysis {"connection_id":166496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04967"} 
[2026-08-28 22:56:01] local.INFO: Extracted packet for processing {"connection_id":166496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04967"} 
[2026-08-28 22:56:01] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:56:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:56:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712026880001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:56:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:56:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:56:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:56:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787937906000,"timestamp_ms":1787937906000,"timestamp_seconds":1787937906,"priority":1,"record_length":96,"hex_timestamp":"000001a049675d50"} 
[2026-08-28 22:56:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:56:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:56:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-28 22:56:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:56:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:56:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:56:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:56:01] local.INFO: Teltonika packet parsed successfully {"connection_id":166496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:56:01] local.INFO: Passing IMEI to GPS processor {"connection_id":166496,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:56:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":166496,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:56:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:56:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:56:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:56:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712026880001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:56:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:56:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:56:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712026880001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:56:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:56:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:56:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:56:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:56:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712026880001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:56:01] local.INFO: DEBUG: GPS processor result {"connection_id":166496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711068,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:56:01] local.INFO: GPS data processed {"connection_id":166496,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:56:01] local.INFO: Acknowledgment sent {"connection_id":166496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:56:08] local.INFO: TCP Data received {"connection_id":163856,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04964d4e0012d34c14006aa4840000e00e629..."} 
[2026-08-28 22:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04964d4e0012d34c14006aa4840000e00e629..."} 
[2026-08-28 22:56:08] local.INFO: Processing buffer {"connection_id":163856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04964d4e0012d34c14006aa4840000e00e629..."} 
[2026-08-28 22:56:08] local.INFO: Packet analysis {"connection_id":163856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04964"} 
[2026-08-28 22:56:08] local.INFO: Extracted packet for processing {"connection_id":163856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04964"} 
[2026-08-28 22:56:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711984384001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:56:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787937740000,"timestamp_ms":1787937740000,"timestamp_seconds":1787937740,"priority":1,"record_length":96,"hex_timestamp":"000001a04964d4e0"} 
[2026-08-28 22:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:56:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 22:56:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:56:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:56:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711984384001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711984384001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:56:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:56:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:56: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-28 22:56:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711984384001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":163856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:56:09] local.INFO: GPS data processed {"connection_id":163856,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:56:09] local.INFO: Acknowledgment sent {"connection_id":163856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:56:13] local.INFO: TCP Data received {"connection_id":164148,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164148,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:56:13] local.INFO: Processing buffer {"connection_id":164148,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:56:13] local.INFO: IMEI packet received {"connection_id":164148,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 22:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":164148,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:56:20] local.INFO: TCP Data received {"connection_id":164148,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164148,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:56:20] local.INFO: Processing buffer {"connection_id":164148,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:56:20] local.INFO: IMEI packet received {"connection_id":164148,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 22:56:20] local.INFO: IMEI acknowledgment sent {"connection_id":164148,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:56:22] local.INFO: TCP Data received {"connection_id":164148,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a04966ccc8012d196580071ff008003d013927..."} 
[2026-08-28 22:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04966ccc8012d196580071ff008003d013927..."} 
[2026-08-28 22:56:22] local.INFO: Processing buffer {"connection_id":164148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04966ccc8012d196580071ff008003d013927..."} 
[2026-08-28 22:56:22] local.INFO: Packet analysis {"connection_id":164148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04966"} 
[2026-08-28 22:56:22] local.INFO: Extracted packet for processing {"connection_id":164148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04966"} 
[2026-08-28 22:56:22] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:56: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-28 22:56:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712017408001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:56:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:56:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:56:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:56:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787937869000,"timestamp_ms":1787937869000,"timestamp_seconds":1787937869,"priority":1,"record_length":96,"hex_timestamp":"000001a04966ccc8"} 
[2026-08-28 22:56:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:56:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:56:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:56:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:56: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-28 22:56:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:56:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:56:22] local.INFO: Teltonika packet parsed successfully {"connection_id":164148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:56:22] local.INFO: Passing IMEI to GPS processor {"connection_id":164148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:56:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":164148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:56:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:56:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:56:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:56:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712017408001,"66":2166,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 22:56:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:56:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:56:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712017408001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:56:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 22:56:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:56:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:56:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:56:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712017408001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:56:22] local.INFO: DEBUG: GPS processor result {"connection_id":164148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711070,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:56:22] local.INFO: GPS data processed {"connection_id":164148,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:56:22] local.INFO: Acknowledgment sent {"connection_id":164148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:56:29] local.INFO: TCP Data received {"connection_id":163857,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:56:29] local.INFO: Processing buffer {"connection_id":163857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:56:29] local.INFO: IMEI packet received {"connection_id":163857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 22:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":163857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:56:34] local.INFO: TCP Data received {"connection_id":166496,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049675d50012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049675d50012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:56:34] local.INFO: Processing buffer {"connection_id":166496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049675d50012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:56:34] local.INFO: Packet analysis {"connection_id":166496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04967"} 
[2026-08-28 22:56:34] local.INFO: Extracted packet for processing {"connection_id":166496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04967"} 
[2026-08-28 22:56:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712026880001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:56:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:56:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787937906000,"timestamp_ms":1787937906000,"timestamp_seconds":1787937906,"priority":1,"record_length":96,"hex_timestamp":"000001a049675d50"} 
[2026-08-28 22:56:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:56:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-28 22:56:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:56:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:56:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":166496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":166496,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":166496,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:56:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712026880001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712026880001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:56:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:56:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:56:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712026880001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":166496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711071,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:56:34] local.INFO: GPS data processed {"connection_id":166496,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:56:34] local.INFO: Acknowledgment sent {"connection_id":166496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:56:35] local.INFO: TCP Data received {"connection_id":163857,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:56:35] local.INFO: Processing buffer {"connection_id":163857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:56:35] local.INFO: IMEI packet received {"connection_id":163857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 22:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":163857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:56:37] local.INFO: TCP Data received {"connection_id":163857,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04964d4e0012d34c14006aa4840000e00e629..."} 
[2026-08-28 22:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04964d4e0012d34c14006aa4840000e00e629..."} 
[2026-08-28 22:56:37] local.INFO: Processing buffer {"connection_id":163857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04964d4e0012d34c14006aa4840000e00e629..."} 
[2026-08-28 22:56:37] local.INFO: Packet analysis {"connection_id":163857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04964"} 
[2026-08-28 22:56:37] local.INFO: Extracted packet for processing {"connection_id":163857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04964"} 
[2026-08-28 22:56:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711984384001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787937740000,"timestamp_ms":1787937740000,"timestamp_seconds":1787937740,"priority":1,"record_length":96,"hex_timestamp":"000001a04964d4e0"} 
[2026-08-28 22:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 22:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711984384001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711984384001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:56:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:56:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:56: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-28 22:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711984384001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":163857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:56:37] local.INFO: GPS data processed {"connection_id":163857,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:56:37] local.INFO: Acknowledgment sent {"connection_id":163857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:56:56] local.INFO: TCP Data received {"connection_id":164149,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164149,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:56:56] local.INFO: Processing buffer {"connection_id":164149,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:56:56] local.INFO: IMEI packet received {"connection_id":164149,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 22:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":164149,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:57:01] local.INFO: TCP Data received {"connection_id":164149,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164149,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:57:01] local.INFO: Processing buffer {"connection_id":164149,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:57:01] local.INFO: IMEI packet received {"connection_id":164149,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 22:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":164149,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:57:02] local.INFO: TCP Data received {"connection_id":164149,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049675d50012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049675d50012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:57:02] local.INFO: Processing buffer {"connection_id":164149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049675d50012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:57:02] local.INFO: Packet analysis {"connection_id":164149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04967"} 
[2026-08-28 22:57:02] local.INFO: Extracted packet for processing {"connection_id":164149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04967"} 
[2026-08-28 22:57:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712026880001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:57:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:57:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787937906000,"timestamp_ms":1787937906000,"timestamp_seconds":1787937906,"priority":1,"record_length":96,"hex_timestamp":"000001a049675d50"} 
[2026-08-28 22:57:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:57:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-28 22:57:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:57:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:57:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:57:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":164149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":164149,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":164149,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:57:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712026880001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712026880001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:57:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:57:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:57:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:57:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712026880001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":164149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711073,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:57:02] local.INFO: GPS data processed {"connection_id":164149,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:57:02] local.INFO: Acknowledgment sent {"connection_id":164149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:57:09] local.INFO: TCP Data received {"connection_id":163857,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04964d4e0012d34c14006aa4840000e00e629..."} 
[2026-08-28 22:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04964d4e0012d34c14006aa4840000e00e629..."} 
[2026-08-28 22:57:09] local.INFO: Processing buffer {"connection_id":163857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04964d4e0012d34c14006aa4840000e00e629..."} 
[2026-08-28 22:57:09] local.INFO: Packet analysis {"connection_id":163857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04964"} 
[2026-08-28 22:57:09] local.INFO: Extracted packet for processing {"connection_id":163857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04964"} 
[2026-08-28 22:57:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711984384001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:57:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:57:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787937740000,"timestamp_ms":1787937740000,"timestamp_seconds":1787937740,"priority":1,"record_length":96,"hex_timestamp":"000001a04964d4e0"} 
[2026-08-28 22:57:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:57:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 22:57:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:57:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:57:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:57:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711984384001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711984384001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:57:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:57:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:57: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-28 22:57:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711984384001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":163857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:57:09] local.INFO: GPS data processed {"connection_id":163857,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:57:09] local.INFO: Acknowledgment sent {"connection_id":163857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:57:22] local.INFO: TCP Data received {"connection_id":164150,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164150,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:57:22] local.INFO: Processing buffer {"connection_id":164150,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:57:22] local.INFO: IMEI packet received {"connection_id":164150,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 22:57:22] local.INFO: IMEI acknowledgment sent {"connection_id":164150,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:57:23] local.INFO: TCP Data received {"connection_id":164150,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164150,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:57:23] local.INFO: Processing buffer {"connection_id":164150,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:57:23] local.INFO: IMEI packet received {"connection_id":164150,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 22:57:23] local.INFO: IMEI acknowledgment sent {"connection_id":164150,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:57:25] local.INFO: TCP Data received {"connection_id":164150,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a04966ccc8012d196580071ff008003d013927..."} 
[2026-08-28 22:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04966ccc8012d196580071ff008003d013927..."} 
[2026-08-28 22:57:25] local.INFO: Processing buffer {"connection_id":164150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04966ccc8012d196580071ff008003d013927..."} 
[2026-08-28 22:57:25] local.INFO: Packet analysis {"connection_id":164150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04966"} 
[2026-08-28 22:57:25] local.INFO: Extracted packet for processing {"connection_id":164150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04966"} 
[2026-08-28 22:57:25] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:57:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712017408001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:57:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:57:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:57:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:57:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787937869000,"timestamp_ms":1787937869000,"timestamp_seconds":1787937869,"priority":1,"record_length":96,"hex_timestamp":"000001a04966ccc8"} 
[2026-08-28 22:57:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:57:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:57:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:57:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:57:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:57:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:57:25] local.INFO: Teltonika packet parsed successfully {"connection_id":164150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:57:25] local.INFO: Passing IMEI to GPS processor {"connection_id":164150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:57:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":164150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:57:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:57:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:57:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:57:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712017408001,"66":2166,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 22:57:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:57:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:57:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712017408001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:57:25] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 22:57:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:57:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:57:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:57:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712017408001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:57:25] local.INFO: DEBUG: GPS processor result {"connection_id":164150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711075,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:57:25] local.INFO: GPS data processed {"connection_id":164150,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:57:25] local.INFO: Acknowledgment sent {"connection_id":164150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:57:30] local.INFO: TCP Data received {"connection_id":164150,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a04966ccc8012d196580071ff008003d013927..."} 
[2026-08-28 22:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04966ccc8012d196580071ff008003d013927..."} 
[2026-08-28 22:57:30] local.INFO: Processing buffer {"connection_id":164150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04966ccc8012d196580071ff008003d013927..."} 
[2026-08-28 22:57:30] local.INFO: Packet analysis {"connection_id":164150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04966"} 
[2026-08-28 22:57:30] local.INFO: Extracted packet for processing {"connection_id":164150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04966"} 
[2026-08-28 22:57:30] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:57:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712017408001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:57:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:57:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787937869000,"timestamp_ms":1787937869000,"timestamp_seconds":1787937869,"priority":1,"record_length":96,"hex_timestamp":"000001a04966ccc8"} 
[2026-08-28 22:57:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:57:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:57:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:57:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:57:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:57:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":164150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":164150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":164150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:57:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712017408001,"66":2166,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 22:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712017408001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:57:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 22:57:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:57:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712017408001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:57:30] local.INFO: DEBUG: GPS processor result {"connection_id":164150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711076,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:57:30] local.INFO: GPS data processed {"connection_id":164150,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:57:30] local.INFO: Acknowledgment sent {"connection_id":164150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:57:34] local.INFO: TCP Data received {"connection_id":164149,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049675d50012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049675d50012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:57:34] local.INFO: Processing buffer {"connection_id":164149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049675d50012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:57:34] local.INFO: Packet analysis {"connection_id":164149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04967"} 
[2026-08-28 22:57:34] local.INFO: Extracted packet for processing {"connection_id":164149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04967"} 
[2026-08-28 22:57:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712026880001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:57:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787937906000,"timestamp_ms":1787937906000,"timestamp_seconds":1787937906,"priority":1,"record_length":96,"hex_timestamp":"000001a049675d50"} 
[2026-08-28 22:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:57:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-28 22:57:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:57:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":164149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":164149,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":164149,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712026880001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712026880001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:57:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:57:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712026880001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":164149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711077,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:57:34] local.INFO: GPS data processed {"connection_id":164149,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:57:34] local.INFO: Acknowledgment sent {"connection_id":164149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:57:34] local.INFO: TCP Data received {"connection_id":166497,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:57:34] local.INFO: Processing buffer {"connection_id":166497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:57:34] local.INFO: IMEI packet received {"connection_id":166497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 22:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":166497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:57:40] local.INFO: TCP Data received {"connection_id":166497,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:57:40] local.INFO: Processing buffer {"connection_id":166497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:57:40] local.INFO: IMEI packet received {"connection_id":166497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 22:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":166497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:57:41] local.INFO: TCP Data received {"connection_id":166497,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04964d4e0012d34c14006aa4840000e00e629..."} 
[2026-08-28 22:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04964d4e0012d34c14006aa4840000e00e629..."} 
[2026-08-28 22:57:41] local.INFO: Processing buffer {"connection_id":166497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04964d4e0012d34c14006aa4840000e00e629..."} 
[2026-08-28 22:57:41] local.INFO: Packet analysis {"connection_id":166497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04964"} 
[2026-08-28 22:57:41] local.INFO: Extracted packet for processing {"connection_id":166497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04964"} 
[2026-08-28 22:57:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:57:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711984384001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:57:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:57:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:57:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:57:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787937740000,"timestamp_ms":1787937740000,"timestamp_seconds":1787937740,"priority":1,"record_length":96,"hex_timestamp":"000001a04964d4e0"} 
[2026-08-28 22: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-28 22:57:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 22:57: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-28 22: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-28 22: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-28 22:57:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:57:41] local.INFO: Teltonika packet parsed successfully {"connection_id":166497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:57:41] local.INFO: Passing IMEI to GPS processor {"connection_id":166497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:57:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":166497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:57:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:57:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:57:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:57:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711984384001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:57:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:57:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:57:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711984384001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:57:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:57:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22: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-28 22:57:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:57:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711984384001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:57:41] local.INFO: DEBUG: GPS processor result {"connection_id":166497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:57:41] local.INFO: GPS data processed {"connection_id":166497,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:57:41] local.INFO: Acknowledgment sent {"connection_id":166497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:57:46] local.INFO: TCP Data received {"connection_id":166497,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a04964d4e0012d34c14006aa4840000e00e629..."} 
[2026-08-28 22:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04964d4e0012d34c14006aa4840000e00e629..."} 
[2026-08-28 22:57:46] local.INFO: Processing buffer {"connection_id":166497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04964d4e0012d34c14006aa4840000e00e629..."} 
[2026-08-28 22:57:46] local.INFO: Packet analysis {"connection_id":166497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04964"} 
[2026-08-28 22:57:46] local.INFO: Extracted packet for processing {"connection_id":166497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04964"} 
[2026-08-28 22:57:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":14,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457711984384001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:57:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:57:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787937740000,"timestamp_ms":1787937740000,"timestamp_seconds":1787937740,"priority":1,"record_length":96,"hex_timestamp":"000001a04964d4e0"} 
[2026-08-28 22: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-28 22:57:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 22:57: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-28 22: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-28 22: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-28 22:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":166497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":166497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":166497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:57:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457711984384001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457711984384001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:57:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:57:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:57: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-28 22:57:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457711984384001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":166497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:57:46] local.INFO: GPS data processed {"connection_id":166497,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:57:46] local.INFO: Acknowledgment sent {"connection_id":166497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:57:55] local.INFO: TCP Data received {"connection_id":165133,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165133,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:57:55] local.INFO: Processing buffer {"connection_id":165133,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:57:55] local.INFO: IMEI packet received {"connection_id":165133,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 22:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":165133,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:58:01] local.INFO: TCP Data received {"connection_id":165133,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165133,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:58:01] local.INFO: Processing buffer {"connection_id":165133,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:58:01] local.INFO: IMEI packet received {"connection_id":165133,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 22:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":165133,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:58:02] local.INFO: TCP Data received {"connection_id":165133,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049675d50012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049675d50012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:58:02] local.INFO: Processing buffer {"connection_id":165133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049675d50012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:58:02] local.INFO: Packet analysis {"connection_id":165133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04967"} 
[2026-08-28 22:58:02] local.INFO: Extracted packet for processing {"connection_id":165133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04967"} 
[2026-08-28 22:58:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712026880001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:58:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:58:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787937906000,"timestamp_ms":1787937906000,"timestamp_seconds":1787937906,"priority":1,"record_length":96,"hex_timestamp":"000001a049675d50"} 
[2026-08-28 22:58:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:58:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-28 22:58:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:58:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:58:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":165133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":165133,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":165133,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:58:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712026880001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712026880001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:58:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:58:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:58:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712026880001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:58:02] 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":711080,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:58:02] local.INFO: GPS data processed {"connection_id":165133,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:58:02] local.INFO: Acknowledgment sent {"connection_id":165133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:58:14] local.INFO: TCP Data received {"connection_id":165134,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165134,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:58:14] local.INFO: Processing buffer {"connection_id":165134,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:58:14] local.INFO: IMEI packet received {"connection_id":165134,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 22:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":165134,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:58:19] local.INFO: TCP Data received {"connection_id":165134,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165134,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:58:19] local.INFO: Processing buffer {"connection_id":165134,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:58:19] local.INFO: IMEI packet received {"connection_id":165134,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 22:58:19] local.INFO: IMEI acknowledgment sent {"connection_id":165134,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:58:20] local.INFO: TCP Data received {"connection_id":165134,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a04966ccc8012d196580071ff008003d013927..."} 
[2026-08-28 22:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04966ccc8012d196580071ff008003d013927..."} 
[2026-08-28 22:58:20] local.INFO: Processing buffer {"connection_id":165134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04966ccc8012d196580071ff008003d013927..."} 
[2026-08-28 22:58:20] local.INFO: Packet analysis {"connection_id":165134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04966"} 
[2026-08-28 22:58:20] local.INFO: Extracted packet for processing {"connection_id":165134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04966"} 
[2026-08-28 22:58:20] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:58:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:58:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712017408001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:58:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:58:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:58:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:58:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787937869000,"timestamp_ms":1787937869000,"timestamp_seconds":1787937869,"priority":1,"record_length":96,"hex_timestamp":"000001a04966ccc8"} 
[2026-08-28 22:58:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:58:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:58:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:58:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:58:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:58:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:58:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:58:20] local.INFO: Teltonika packet parsed successfully {"connection_id":165134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:58:20] local.INFO: Passing IMEI to GPS processor {"connection_id":165134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:58:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":165134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:58:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:58:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:58:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:58:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712017408001,"66":2166,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 22:58:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:58:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:58:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712017408001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:58:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 22:58:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:58:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:58:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:58:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712017408001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:58:20] 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":711081,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:58:20] local.INFO: GPS data processed {"connection_id":165134,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:58:20] local.INFO: Acknowledgment sent {"connection_id":165134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:58:30] local.INFO: TCP Data received {"connection_id":166498,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:58:30] local.INFO: Processing buffer {"connection_id":166498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:58:30] local.INFO: IMEI packet received {"connection_id":166498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 22:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":166498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:58:35] local.INFO: TCP Data received {"connection_id":166498,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:58:35] local.INFO: Processing buffer {"connection_id":166498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:58:35] local.INFO: IMEI packet received {"connection_id":166498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 22:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":166498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:58:35] local.INFO: TCP Data received {"connection_id":165133,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049675d50012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049675d50012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:58:35] local.INFO: Processing buffer {"connection_id":165133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049675d50012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:58:35] local.INFO: Packet analysis {"connection_id":165133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04967"} 
[2026-08-28 22:58:35] local.INFO: Extracted packet for processing {"connection_id":165133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04967"} 
[2026-08-28 22:58:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712026880001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:58:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:58:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787937906000,"timestamp_ms":1787937906000,"timestamp_seconds":1787937906,"priority":1,"record_length":96,"hex_timestamp":"000001a049675d50"} 
[2026-08-28 22:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:58:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-28 22:58:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:58:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":165133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":165133,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":165133,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:58:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712026880001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712026880001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:58:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:58:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:58:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712026880001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:58:36] 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":711082,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:58:36] local.INFO: GPS data processed {"connection_id":165133,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:58:36] local.INFO: Acknowledgment sent {"connection_id":165133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:58:37] local.INFO: TCP Data received {"connection_id":166498,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049696ca8012d34c14006aa4840001100e62a..."} 
[2026-08-28 22:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049696ca8012d34c14006aa4840001100e62a..."} 
[2026-08-28 22:58:37] local.INFO: Processing buffer {"connection_id":166498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049696ca8012d34c14006aa4840001100e62a..."} 
[2026-08-28 22:58:37] local.INFO: Packet analysis {"connection_id":166498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04969"} 
[2026-08-28 22:58:37] local.INFO: Extracted packet for processing {"connection_id":166498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04969"} 
[2026-08-28 22:58:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712061440001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787938041000,"timestamp_ms":1787938041000,"timestamp_seconds":1787938041,"priority":1,"record_length":96,"hex_timestamp":"000001a049696ca8"} 
[2026-08-28 22:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 22:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":166498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":166498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":166498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712061440001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712061440001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:58:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:58:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:58: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-28 22:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712061440001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":166498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:58:37] local.INFO: GPS data processed {"connection_id":166498,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:58:37] local.INFO: Acknowledgment sent {"connection_id":166498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:58:52] local.INFO: TCP Data received {"connection_id":165134,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a04966ccc8012d196580071ff008003d013927..."} 
[2026-08-28 22:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04966ccc8012d196580071ff008003d013927..."} 
[2026-08-28 22:58:52] local.INFO: Processing buffer {"connection_id":165134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04966ccc8012d196580071ff008003d013927..."} 
[2026-08-28 22:58:52] local.INFO: Packet analysis {"connection_id":165134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04966"} 
[2026-08-28 22:58:52] local.INFO: Extracted packet for processing {"connection_id":165134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04966"} 
[2026-08-28 22:58:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:58:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712017408001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:58:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:58:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:58:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:58:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787937869000,"timestamp_ms":1787937869000,"timestamp_seconds":1787937869,"priority":1,"record_length":96,"hex_timestamp":"000001a04966ccc8"} 
[2026-08-28 22: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-28 22:58:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:58:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22: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-28 22: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-28 22:58:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:58:52] local.INFO: Teltonika packet parsed successfully {"connection_id":165134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:58:52] local.INFO: Passing IMEI to GPS processor {"connection_id":165134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:58:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":165134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:58:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:58:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:58:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:58:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712017408001,"66":2166,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 22:58:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:58:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:58:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712017408001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:58:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 22:58:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:58:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:58:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:58:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712017408001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:58:52] 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":711084,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:58:52] local.INFO: GPS data processed {"connection_id":165134,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:58:52] local.INFO: Acknowledgment sent {"connection_id":165134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:58:55] local.INFO: TCP Data received {"connection_id":166499,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166499,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:58:55] local.INFO: Processing buffer {"connection_id":166499,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:58:55] local.INFO: IMEI packet received {"connection_id":166499,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 22:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":166499,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:59:01] local.INFO: TCP Data received {"connection_id":166499,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166499,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:59:01] local.INFO: Processing buffer {"connection_id":166499,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:59:01] local.INFO: IMEI packet received {"connection_id":166499,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 22:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":166499,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:59:02] local.INFO: TCP Data received {"connection_id":166499,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049675d50012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049675d50012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:59:02] local.INFO: Processing buffer {"connection_id":166499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049675d50012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:59:02] local.INFO: Packet analysis {"connection_id":166499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04967"} 
[2026-08-28 22:59:02] local.INFO: Extracted packet for processing {"connection_id":166499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04967"} 
[2026-08-28 22:59:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712026880001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:59:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:59:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:59:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:59:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787937906000,"timestamp_ms":1787937906000,"timestamp_seconds":1787937906,"priority":1,"record_length":96,"hex_timestamp":"000001a049675d50"} 
[2026-08-28 22:59:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:59:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-28 22:59:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:59:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:59:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:59:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:59:02] local.INFO: Teltonika packet parsed successfully {"connection_id":166499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:59:02] local.INFO: Passing IMEI to GPS processor {"connection_id":166499,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:59:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":166499,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:59:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:59:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:59:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:59:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712026880001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:59:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:59:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:59:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712026880001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:59:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:59:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:59:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:59:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:59:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712026880001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:59:02] local.INFO: DEBUG: GPS processor result {"connection_id":166499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711085,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:59:02] local.INFO: GPS data processed {"connection_id":166499,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:59:02] local.INFO: Acknowledgment sent {"connection_id":166499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:59:09] local.INFO: TCP Data received {"connection_id":166498,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049696ca8012d34c14006aa4840001100e62a..."} 
[2026-08-28 22:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049696ca8012d34c14006aa4840001100e62a..."} 
[2026-08-28 22:59:09] local.INFO: Processing buffer {"connection_id":166498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049696ca8012d34c14006aa4840001100e62a..."} 
[2026-08-28 22:59:09] local.INFO: Packet analysis {"connection_id":166498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04969"} 
[2026-08-28 22:59:09] local.INFO: Extracted packet for processing {"connection_id":166498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04969"} 
[2026-08-28 22:59:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712061440001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:59:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787938041000,"timestamp_ms":1787938041000,"timestamp_seconds":1787938041,"priority":1,"record_length":96,"hex_timestamp":"000001a049696ca8"} 
[2026-08-28 22: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-28 22:59:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 22:59:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22: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-28 22: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-28 22:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":166498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":166498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":166498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:59:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712061440001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712061440001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:59:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:59:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22: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-28 22:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712061440001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":166498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:59:09] local.INFO: GPS data processed {"connection_id":166498,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:59:09] local.INFO: Acknowledgment sent {"connection_id":166498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:59:13] local.INFO: TCP Data received {"connection_id":163858,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:59:13] local.INFO: Processing buffer {"connection_id":163858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:59:13] local.INFO: IMEI packet received {"connection_id":163858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 22:59:13] local.INFO: IMEI acknowledgment sent {"connection_id":163858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:59:19] local.INFO: TCP Data received {"connection_id":163858,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:59:19] local.INFO: Processing buffer {"connection_id":163858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 22:59:19] local.INFO: IMEI packet received {"connection_id":163858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 22:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":163858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:59:21] local.INFO: TCP Data received {"connection_id":163858,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a04966ccc8012d196580071ff008003d013927..."} 
[2026-08-28 22:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04966ccc8012d196580071ff008003d013927..."} 
[2026-08-28 22:59:21] local.INFO: Processing buffer {"connection_id":163858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04966ccc8012d196580071ff008003d013927..."} 
[2026-08-28 22:59:21] local.INFO: Packet analysis {"connection_id":163858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04966"} 
[2026-08-28 22:59:21] local.INFO: Extracted packet for processing {"connection_id":163858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04966"} 
[2026-08-28 22:59:21] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:59:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712017408001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:59:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:59:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:59:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:59:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787937869000,"timestamp_ms":1787937869000,"timestamp_seconds":1787937869,"priority":1,"record_length":96,"hex_timestamp":"000001a04966ccc8"} 
[2026-08-28 22:59:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:59:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:59:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:59:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:59:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:59:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:59:21] local.INFO: Teltonika packet parsed successfully {"connection_id":163858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:59:21] local.INFO: Passing IMEI to GPS processor {"connection_id":163858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:59:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":163858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:59:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:59:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:59:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:59:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712017408001,"66":2166,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 22:59:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:59:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:59:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712017408001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:59:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 22:59:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:59:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:59:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:59:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712017408001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:59:21] local.INFO: DEBUG: GPS processor result {"connection_id":163858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711087,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:59:21] local.INFO: GPS data processed {"connection_id":163858,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:59:21] local.INFO: Acknowledgment sent {"connection_id":163858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:59:29] local.INFO: TCP Data received {"connection_id":165135,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:59:29] local.INFO: Processing buffer {"connection_id":165135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:59:29] local.INFO: IMEI packet received {"connection_id":165135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 22:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":165135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 22:59:34] local.INFO: TCP Data received {"connection_id":165135,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:59:34] local.INFO: Processing buffer {"connection_id":165135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 22:59:34] local.INFO: IMEI packet received {"connection_id":165135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 22:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":165135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 22:59:35] local.INFO: TCP Data received {"connection_id":166499,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049675d50012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049675d50012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:59:35] local.INFO: Processing buffer {"connection_id":166499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049675d50012d34bcc006aa41e0000d000026..."} 
[2026-08-28 22:59:35] local.INFO: Packet analysis {"connection_id":166499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04967"} 
[2026-08-28 22:59:35] local.INFO: Extracted packet for processing {"connection_id":166499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04967"} 
[2026-08-28 22:59:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 22:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712026880001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 22:59:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 22:59:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787937906000,"timestamp_ms":1787937906000,"timestamp_seconds":1787937906,"priority":1,"record_length":96,"hex_timestamp":"000001a049675d50"} 
[2026-08-28 22:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:59:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-28 22:59:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:59:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":166499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":166499,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":166499,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 22:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 22:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 22:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712026880001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 22:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 22:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712026880001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:59:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:59:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:59:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 22:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712026880001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 22:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":166499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711088,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:59:35] local.INFO: GPS data processed {"connection_id":166499,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:59:35] local.INFO: Acknowledgment sent {"connection_id":166499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:59:37] local.INFO: TCP Data received {"connection_id":165135,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049696ca8012d34c14006aa4840001100e62a..."} 
[2026-08-28 22:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049696ca8012d34c14006aa4840001100e62a..."} 
[2026-08-28 22:59:37] local.INFO: Processing buffer {"connection_id":165135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049696ca8012d34c14006aa4840001100e62a..."} 
[2026-08-28 22:59:37] local.INFO: Packet analysis {"connection_id":165135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04969"} 
[2026-08-28 22:59:37] local.INFO: Extracted packet for processing {"connection_id":165135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04969"} 
[2026-08-28 22:59:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 22:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 22:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712061440001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 22:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 22:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787938041000,"timestamp_ms":1787938041000,"timestamp_seconds":1787938041,"priority":1,"record_length":96,"hex_timestamp":"000001a049696ca8"} 
[2026-08-28 22:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 22:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 22:59:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 22:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 22:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":165135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":165135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":165135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 22:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 22:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 22:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712061440001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 22:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 22:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 22:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712061440001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:59:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 22:59:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 22:59: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-28 22:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 22:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712061440001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 22:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":165135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:59:37] local.INFO: GPS data processed {"connection_id":165135,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:59:37] local.INFO: Acknowledgment sent {"connection_id":165135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:59:53] local.INFO: TCP Data received {"connection_id":163858,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a04966ccc8012d196580071ff008003d013927..."} 
[2026-08-28 22:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04966ccc8012d196580071ff008003d013927..."} 
[2026-08-28 22:59:53] local.INFO: Processing buffer {"connection_id":163858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04966ccc8012d196580071ff008003d013927..."} 
[2026-08-28 22:59:53] local.INFO: Packet analysis {"connection_id":163858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04966"} 
[2026-08-28 22:59:53] local.INFO: Extracted packet for processing {"connection_id":163858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04966"} 
[2026-08-28 22:59:53] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 22: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-28 22:59:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712017408001,"note":"Value kept but may cause issues"} 
[2026-08-28 22:59:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 22:59:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 22:59:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 22:59:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787937869000,"timestamp_ms":1787937869000,"timestamp_seconds":1787937869,"priority":1,"record_length":96,"hex_timestamp":"000001a04966ccc8"} 
[2026-08-28 22: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-28 22:59:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 22:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 22:59:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 22: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-28 22: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-28 22:59:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 22:59:53] local.INFO: Teltonika packet parsed successfully {"connection_id":163858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 22:59:53] local.INFO: Passing IMEI to GPS processor {"connection_id":163858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:59:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":163858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 22:59:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 22:59:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 22:59:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 22:59:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712017408001,"66":2166,"121":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-08-28 22:59:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 22:59:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 22:59:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712017408001,"description":"Unknown IO ID 0"} 
[2026-08-28 22:59:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-28 22:59:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 22:59:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 22:59:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 22:59:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712017408001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 22:59:54] local.INFO: DEBUG: GPS processor result {"connection_id":163858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711090,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 22:59:54] local.INFO: GPS data processed {"connection_id":163858,"processed":1,"errors":0,"total":1} 
[2026-08-28 22:59:54] local.INFO: Acknowledgment sent {"connection_id":163858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 22:59:55] local.INFO: TCP Data received {"connection_id":165136,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165136,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:59:55] local.INFO: Processing buffer {"connection_id":165136,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 22:59:55] local.INFO: IMEI packet received {"connection_id":165136,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 22:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":165136,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:00:01] local.INFO: TCP Data received {"connection_id":165136,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165136,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:00:01] local.INFO: Processing buffer {"connection_id":165136,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:00:01] local.INFO: IMEI packet received {"connection_id":165136,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 23:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":165136,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:00:02] local.INFO: TCP Data received {"connection_id":165136,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049675d50012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049675d50012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:00:02] local.INFO: Processing buffer {"connection_id":165136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049675d50012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:00:02] local.INFO: Packet analysis {"connection_id":165136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04967"} 
[2026-08-28 23:00:02] local.INFO: Extracted packet for processing {"connection_id":165136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04967"} 
[2026-08-28 23:00:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:00:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:00:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712026880001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:00:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:00:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:00:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:00:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787937906000,"timestamp_ms":1787937906000,"timestamp_seconds":1787937906,"priority":1,"record_length":96,"hex_timestamp":"000001a049675d50"} 
[2026-08-28 23:00:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:00:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:00:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-28 23:00:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:00:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:00:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:00:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:00:02] local.INFO: Teltonika packet parsed successfully {"connection_id":165136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:00:02] local.INFO: Passing IMEI to GPS processor {"connection_id":165136,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:00:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":165136,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:00:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:00:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:00:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:00:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712026880001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:00:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:00:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:00:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712026880001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:00:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:00:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:00:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:00:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:00:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712026880001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:00:02] 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":711091,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:00:02] local.INFO: GPS data processed {"connection_id":165136,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:00:02] local.INFO: Acknowledgment sent {"connection_id":165136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:00:09] local.INFO: TCP Data received {"connection_id":165135,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049696ca8012d34c14006aa4840001100e62a..."} 
[2026-08-28 23:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049696ca8012d34c14006aa4840001100e62a..."} 
[2026-08-28 23:00:09] local.INFO: Processing buffer {"connection_id":165135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049696ca8012d34c14006aa4840001100e62a..."} 
[2026-08-28 23:00:09] local.INFO: Packet analysis {"connection_id":165135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04969"} 
[2026-08-28 23:00:09] local.INFO: Extracted packet for processing {"connection_id":165135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04969"} 
[2026-08-28 23:00:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 23:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:00:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712061440001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:00:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 23:00:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:00:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787938041000,"timestamp_ms":1787938041000,"timestamp_seconds":1787938041,"priority":1,"record_length":96,"hex_timestamp":"000001a049696ca8"} 
[2026-08-28 23:00:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:00:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 23:00:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:00:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:00:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":165135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":165135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":165135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:00:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:00:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:00:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:00:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712061440001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:00:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:00:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:00:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712061440001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:00:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:00:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:00: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-28 23:00:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 23:00:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712061440001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 23:00:09] local.INFO: DEBUG: GPS processor result {"connection_id":165135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:00:09] local.INFO: GPS data processed {"connection_id":165135,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:00:09] local.INFO: Acknowledgment sent {"connection_id":165135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:00:13] local.INFO: TCP Data received {"connection_id":164151,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164151,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:00:13] local.INFO: Processing buffer {"connection_id":164151,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:00:13] local.INFO: IMEI packet received {"connection_id":164151,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 23:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":164151,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:00:19] local.INFO: TCP Data received {"connection_id":164151,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164151,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:00:19] local.INFO: Processing buffer {"connection_id":164151,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:00:19] local.INFO: IMEI packet received {"connection_id":164151,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 23:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":164151,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:00:20] local.INFO: TCP Data received {"connection_id":164151,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0496b6490012d196580071ff008003d013925..."} 
[2026-08-28 23:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0496b6490012d196580071ff008003d013925..."} 
[2026-08-28 23:00:20] local.INFO: Processing buffer {"connection_id":164151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0496b6490012d196580071ff008003d013925..."} 
[2026-08-28 23:00:20] local.INFO: Packet analysis {"connection_id":164151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0496b"} 
[2026-08-28 23:00:20] local.INFO: Extracted packet for processing {"connection_id":164151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0496b"} 
[2026-08-28 23:00:20] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23: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-28 23:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712094464001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:00:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:00:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787938170000,"timestamp_ms":1787938170000,"timestamp_seconds":1787938170,"priority":1,"record_length":96,"hex_timestamp":"000001a0496b6490"} 
[2026-08-28 23: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-28 23:00:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 23:00:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23: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-28 23: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-28 23:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":164151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":164151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":164151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:00:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712094464001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712094464001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:00:20] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:00:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:00:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712094464001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":164151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711093,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:00:20] local.INFO: GPS data processed {"connection_id":164151,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:00:20] local.INFO: Acknowledgment sent {"connection_id":164151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:00:29] local.INFO: TCP Data received {"connection_id":164152,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:00:29] local.INFO: Processing buffer {"connection_id":164152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:00:29] local.INFO: IMEI packet received {"connection_id":164152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 23:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":164152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:00:34] local.INFO: TCP Data received {"connection_id":165136,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049675d50012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049675d50012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:00:34] local.INFO: Processing buffer {"connection_id":165136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049675d50012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:00:34] local.INFO: Packet analysis {"connection_id":165136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04967"} 
[2026-08-28 23:00:34] local.INFO: Extracted packet for processing {"connection_id":165136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04967"} 
[2026-08-28 23:00:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712026880001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787937906000,"timestamp_ms":1787937906000,"timestamp_seconds":1787937906,"priority":1,"record_length":96,"hex_timestamp":"000001a049675d50"} 
[2026-08-28 23:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:00:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-28 23:00:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:00:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":165136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":165136,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":165136,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712026880001,"66":25267,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712026880001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:00:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:00:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712026880001,"power":25267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:00:34] 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":711094,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:00:34] local.INFO: GPS data processed {"connection_id":165136,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:00:34] local.INFO: Acknowledgment sent {"connection_id":165136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:00:35] local.INFO: TCP Data received {"connection_id":164152,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:00:35] local.INFO: Processing buffer {"connection_id":164152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:00:35] local.INFO: IMEI packet received {"connection_id":164152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 23:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":164152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:00:37] local.INFO: TCP Data received {"connection_id":164152,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049696ca8012d34c14006aa4840001100e62a..."} 
[2026-08-28 23:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049696ca8012d34c14006aa4840001100e62a..."} 
[2026-08-28 23:00:37] local.INFO: Processing buffer {"connection_id":164152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049696ca8012d34c14006aa4840001100e62a..."} 
[2026-08-28 23:00:37] local.INFO: Packet analysis {"connection_id":164152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04969"} 
[2026-08-28 23:00:37] local.INFO: Extracted packet for processing {"connection_id":164152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04969"} 
[2026-08-28 23:00:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 23:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712061440001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 23:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787938041000,"timestamp_ms":1787938041000,"timestamp_seconds":1787938041,"priority":1,"record_length":96,"hex_timestamp":"000001a049696ca8"} 
[2026-08-28 23:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 23:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712061440001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712061440001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:00:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:00:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:00: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-28 23:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 23:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712061440001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 23:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":164152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:00:37] local.INFO: GPS data processed {"connection_id":164152,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:00:37] local.INFO: Acknowledgment sent {"connection_id":164152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:00:52] local.INFO: TCP Data received {"connection_id":164151,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0496b6490012d196580071ff008003d013925..."} 
[2026-08-28 23:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0496b6490012d196580071ff008003d013925..."} 
[2026-08-28 23:00:52] local.INFO: Processing buffer {"connection_id":164151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0496b6490012d196580071ff008003d013925..."} 
[2026-08-28 23:00:52] local.INFO: Packet analysis {"connection_id":164151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0496b"} 
[2026-08-28 23:00:52] local.INFO: Extracted packet for processing {"connection_id":164151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0496b"} 
[2026-08-28 23:00:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23: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-28 23:00:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712094464001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:00:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:00:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:00:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:00:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787938170000,"timestamp_ms":1787938170000,"timestamp_seconds":1787938170,"priority":1,"record_length":96,"hex_timestamp":"000001a0496b6490"} 
[2026-08-28 23: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-28 23:00:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:00:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 23:00:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23: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-28 23: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-28 23:00:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:00:52] local.INFO: Teltonika packet parsed successfully {"connection_id":164151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:00:52] local.INFO: Passing IMEI to GPS processor {"connection_id":164151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:00:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":164151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:00:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:00:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:00:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:00:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712094464001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:00:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:00:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:00:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712094464001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:00:52] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:00:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:00:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:00:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:00:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712094464001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:00:52] local.INFO: DEBUG: GPS processor result {"connection_id":164151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711096,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:00:52] local.INFO: GPS data processed {"connection_id":164151,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:00:52] local.INFO: Acknowledgment sent {"connection_id":164151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:01:01] local.INFO: TCP Data received {"connection_id":166500,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166500,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:01:01] local.INFO: Processing buffer {"connection_id":166500,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:01:01] local.INFO: IMEI packet received {"connection_id":166500,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 23:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":166500,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:01:06] local.INFO: TCP Data received {"connection_id":166500,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166500,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:01:06] local.INFO: Processing buffer {"connection_id":166500,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:01:06] local.INFO: IMEI packet received {"connection_id":166500,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 23:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":166500,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:01:07] local.INFO: TCP Data received {"connection_id":166500,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0496bf518012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0496bf518012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:01:07] local.INFO: Processing buffer {"connection_id":166500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0496bf518012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:01:07] local.INFO: Packet analysis {"connection_id":166500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0496b"} 
[2026-08-28 23:01:07] local.INFO: Extracted packet for processing {"connection_id":166500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0496b"} 
[2026-08-28 23:01:07] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712103936001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:01:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787938207000,"timestamp_ms":1787938207000,"timestamp_seconds":1787938207,"priority":1,"record_length":96,"hex_timestamp":"000001a0496bf518"} 
[2026-08-28 23:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:01:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 23:01:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:01:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":166500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":166500,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":166500,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:01:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712103936001,"66":25245,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712103936001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:01:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:01:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712103936001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":166500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711097,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:01:07] local.INFO: GPS data processed {"connection_id":166500,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:01:07] local.INFO: Acknowledgment sent {"connection_id":166500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:01:08] local.INFO: TCP Data received {"connection_id":164152,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049696ca8012d34c14006aa4840001100e62a..."} 
[2026-08-28 23:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049696ca8012d34c14006aa4840001100e62a..."} 
[2026-08-28 23:01:08] local.INFO: Processing buffer {"connection_id":164152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049696ca8012d34c14006aa4840001100e62a..."} 
[2026-08-28 23:01:08] local.INFO: Packet analysis {"connection_id":164152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04969"} 
[2026-08-28 23:01:08] local.INFO: Extracted packet for processing {"connection_id":164152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04969"} 
[2026-08-28 23:01:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 23:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712061440001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:01:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 23:01:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787938041000,"timestamp_ms":1787938041000,"timestamp_seconds":1787938041,"priority":1,"record_length":96,"hex_timestamp":"000001a049696ca8"} 
[2026-08-28 23:01:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:01:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 23:01:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:01:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:01:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:01:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712061440001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712061440001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:01:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:01:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:01: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-28 23:01:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 23:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712061440001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 23:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":164152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:01:08] local.INFO: GPS data processed {"connection_id":164152,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:01:08] local.INFO: Acknowledgment sent {"connection_id":164152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:01:11] local.INFO: TCP Data received {"connection_id":166500,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0496bf518012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0496bf518012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:01:11] local.INFO: Processing buffer {"connection_id":166500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0496bf518012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:01:11] local.INFO: Packet analysis {"connection_id":166500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0496b"} 
[2026-08-28 23:01:11] local.INFO: Extracted packet for processing {"connection_id":166500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0496b"} 
[2026-08-28 23:01:11] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712103936001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:01:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:01:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787938207000,"timestamp_ms":1787938207000,"timestamp_seconds":1787938207,"priority":1,"record_length":96,"hex_timestamp":"000001a0496bf518"} 
[2026-08-28 23:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:01:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 23:01:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:01:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":166500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":166500,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":166500,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:01:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712103936001,"66":25245,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712103936001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:01:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:01:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:01:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712103936001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:01:12] local.INFO: DEBUG: GPS processor result {"connection_id":166500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711099,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:01:12] local.INFO: GPS data processed {"connection_id":166500,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:01:12] local.INFO: Acknowledgment sent {"connection_id":166500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:01:14] local.INFO: TCP Data received {"connection_id":165137,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165137,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:01:14] local.INFO: Processing buffer {"connection_id":165137,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:01:14] local.INFO: IMEI packet received {"connection_id":165137,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 23:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":165137,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:01:19] local.INFO: TCP Data received {"connection_id":165137,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165137,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:01:19] local.INFO: Processing buffer {"connection_id":165137,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:01:19] local.INFO: IMEI packet received {"connection_id":165137,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 23:01:19] local.INFO: IMEI acknowledgment sent {"connection_id":165137,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:01:20] local.INFO: TCP Data received {"connection_id":165137,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0496b6490012d196580071ff008003d013925..."} 
[2026-08-28 23:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0496b6490012d196580071ff008003d013925..."} 
[2026-08-28 23:01:20] local.INFO: Processing buffer {"connection_id":165137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0496b6490012d196580071ff008003d013925..."} 
[2026-08-28 23:01:20] local.INFO: Packet analysis {"connection_id":165137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0496b"} 
[2026-08-28 23:01:20] local.INFO: Extracted packet for processing {"connection_id":165137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0496b"} 
[2026-08-28 23:01:20] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:01:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712094464001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:01:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:01:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:01:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:01:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787938170000,"timestamp_ms":1787938170000,"timestamp_seconds":1787938170,"priority":1,"record_length":96,"hex_timestamp":"000001a0496b6490"} 
[2026-08-28 23:01:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:01:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 23:01:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:01:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:01:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:01:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:01:20] local.INFO: Teltonika packet parsed successfully {"connection_id":165137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:01:20] local.INFO: Passing IMEI to GPS processor {"connection_id":165137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:01:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":165137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:01:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:01:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:01:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:01:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712094464001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:01:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:01:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:01:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712094464001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:01:20] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:01:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:01:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:01:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:01:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712094464001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:01:20] 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":711100,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:01:20] local.INFO: GPS data processed {"connection_id":165137,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:01:20] local.INFO: Acknowledgment sent {"connection_id":165137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:01:35] local.INFO: TCP Data received {"connection_id":166501,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:01:35] local.INFO: Processing buffer {"connection_id":166501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:01:35] local.INFO: IMEI packet received {"connection_id":166501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 23:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":166501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:01:40] local.INFO: TCP Data received {"connection_id":166501,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:01:40] local.INFO: Processing buffer {"connection_id":166501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:01:40] local.INFO: IMEI packet received {"connection_id":166501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 23:01:40] local.INFO: IMEI acknowledgment sent {"connection_id":166501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:01:41] local.INFO: TCP Data received {"connection_id":166501,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049696ca8012d34c14006aa4840001100e62a..."} 
[2026-08-28 23:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049696ca8012d34c14006aa4840001100e62a..."} 
[2026-08-28 23:01:41] local.INFO: Processing buffer {"connection_id":166501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049696ca8012d34c14006aa4840001100e62a..."} 
[2026-08-28 23:01:41] local.INFO: Packet analysis {"connection_id":166501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04969"} 
[2026-08-28 23:01:41] local.INFO: Extracted packet for processing {"connection_id":166501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04969"} 
[2026-08-28 23:01:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 23:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712061440001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:01:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 23:01:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787938041000,"timestamp_ms":1787938041000,"timestamp_seconds":1787938041,"priority":1,"record_length":96,"hex_timestamp":"000001a049696ca8"} 
[2026-08-28 23:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:01:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 23:01: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-28 23:01:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":166501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":166501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":166501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:01:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712061440001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712061440001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:01:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:01:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:01: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-28 23:01:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 23:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712061440001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 23:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":166501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:01:41] local.INFO: GPS data processed {"connection_id":166501,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:01:41] local.INFO: Acknowledgment sent {"connection_id":166501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:01:45] local.INFO: TCP Data received {"connection_id":166501,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049696ca8012d34c14006aa4840001100e62a..."} 
[2026-08-28 23:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049696ca8012d34c14006aa4840001100e62a..."} 
[2026-08-28 23:01:45] local.INFO: Processing buffer {"connection_id":166501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049696ca8012d34c14006aa4840001100e62a..."} 
[2026-08-28 23:01:45] local.INFO: Packet analysis {"connection_id":166501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04969"} 
[2026-08-28 23:01:45] local.INFO: Extracted packet for processing {"connection_id":166501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04969"} 
[2026-08-28 23:01:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 23: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-28 23:01:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712061440001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:01:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:01:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 23:01:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:01:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787938041000,"timestamp_ms":1787938041000,"timestamp_seconds":1787938041,"priority":1,"record_length":96,"hex_timestamp":"000001a049696ca8"} 
[2026-08-28 23: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-28 23:01:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 23:01: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-28 23: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-28 23: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-28 23:01:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:01:45] local.INFO: Teltonika packet parsed successfully {"connection_id":166501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:01:45] local.INFO: Passing IMEI to GPS processor {"connection_id":166501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:01:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":166501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:01:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:01:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:01:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:01:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712061440001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:01:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:01:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:01:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712061440001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:01:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:01:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23: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-28 23:01:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 23:01:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712061440001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 23:01:45] local.INFO: DEBUG: GPS processor result {"connection_id":166501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:01:45] local.INFO: GPS data processed {"connection_id":166501,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:01:45] local.INFO: Acknowledgment sent {"connection_id":166501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:01:52] local.INFO: TCP Data received {"connection_id":165137,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0496b6490012d196580071ff008003d013925..."} 
[2026-08-28 23:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0496b6490012d196580071ff008003d013925..."} 
[2026-08-28 23:01:52] local.INFO: Processing buffer {"connection_id":165137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0496b6490012d196580071ff008003d013925..."} 
[2026-08-28 23:01:52] local.INFO: Packet analysis {"connection_id":165137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0496b"} 
[2026-08-28 23:01:52] local.INFO: Extracted packet for processing {"connection_id":165137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0496b"} 
[2026-08-28 23:01:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23: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-28 23:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712094464001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:01:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:01:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787938170000,"timestamp_ms":1787938170000,"timestamp_seconds":1787938170,"priority":1,"record_length":96,"hex_timestamp":"000001a0496b6490"} 
[2026-08-28 23: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-28 23:01:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 23:01:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23: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-28 23: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-28 23:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":165137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":165137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":165137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:01:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712094464001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712094464001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:01:52] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:01:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:01:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712094464001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:01:52] 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":711103,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:01:52] local.INFO: GPS data processed {"connection_id":165137,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:01:52] local.INFO: Acknowledgment sent {"connection_id":165137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:01:55] local.INFO: TCP Data received {"connection_id":164153,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164153,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:01:55] local.INFO: Processing buffer {"connection_id":164153,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:01:55] local.INFO: IMEI packet received {"connection_id":164153,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 23:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":164153,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:02:00] local.INFO: TCP Data received {"connection_id":164153,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164153,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:02:00] local.INFO: Processing buffer {"connection_id":164153,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:02:00] local.INFO: IMEI packet received {"connection_id":164153,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 23:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":164153,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:02:01] local.INFO: TCP Data received {"connection_id":164153,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0496bf518012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0496bf518012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:02:01] local.INFO: Processing buffer {"connection_id":164153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0496bf518012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:02:01] local.INFO: Packet analysis {"connection_id":164153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0496b"} 
[2026-08-28 23:02:01] local.INFO: Extracted packet for processing {"connection_id":164153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0496b"} 
[2026-08-28 23:02:01] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:02:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:02:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712103936001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:02:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:02:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:02:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:02:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787938207000,"timestamp_ms":1787938207000,"timestamp_seconds":1787938207,"priority":1,"record_length":96,"hex_timestamp":"000001a0496bf518"} 
[2026-08-28 23:02:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:02:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:02:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 23:02:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:02:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:02:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:02:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:02:01] local.INFO: Teltonika packet parsed successfully {"connection_id":164153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:02:01] local.INFO: Passing IMEI to GPS processor {"connection_id":164153,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:02:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":164153,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:02:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:02:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:02:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:02:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712103936001,"66":25245,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:02:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:02:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:02:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712103936001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:02:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:02:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:02:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:02:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:02:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712103936001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:02:01] local.INFO: DEBUG: GPS processor result {"connection_id":164153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711104,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:02:01] local.INFO: GPS data processed {"connection_id":164153,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:02:01] local.INFO: Acknowledgment sent {"connection_id":164153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:02:13] local.INFO: TCP Data received {"connection_id":165138,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165138,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:02:13] local.INFO: Processing buffer {"connection_id":165138,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:02:13] local.INFO: IMEI packet received {"connection_id":165138,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 23:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":165138,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:02:19] local.INFO: TCP Data received {"connection_id":165138,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165138,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:02:19] local.INFO: Processing buffer {"connection_id":165138,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:02:19] local.INFO: IMEI packet received {"connection_id":165138,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 23:02:19] local.INFO: IMEI acknowledgment sent {"connection_id":165138,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:02:21] local.INFO: TCP Data received {"connection_id":165138,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0496b6490012d196580071ff008003d013925..."} 
[2026-08-28 23:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0496b6490012d196580071ff008003d013925..."} 
[2026-08-28 23:02:21] local.INFO: Processing buffer {"connection_id":165138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0496b6490012d196580071ff008003d013925..."} 
[2026-08-28 23:02:21] local.INFO: Packet analysis {"connection_id":165138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0496b"} 
[2026-08-28 23:02:21] local.INFO: Extracted packet for processing {"connection_id":165138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0496b"} 
[2026-08-28 23:02:21] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23: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-28 23:02:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712094464001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:02:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:02:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:02:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:02:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787938170000,"timestamp_ms":1787938170000,"timestamp_seconds":1787938170,"priority":1,"record_length":96,"hex_timestamp":"000001a0496b6490"} 
[2026-08-28 23: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-28 23:02:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 23:02:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23: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-28 23: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-28 23:02:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:02:21] local.INFO: Teltonika packet parsed successfully {"connection_id":165138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:02:21] local.INFO: Passing IMEI to GPS processor {"connection_id":165138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:02:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":165138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:02:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:02:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:02:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:02:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712094464001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:02:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:02:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:02:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712094464001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:02:21] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:02:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:02:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:02:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:02:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712094464001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:02:21] 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":711105,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:02:21] local.INFO: GPS data processed {"connection_id":165138,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:02:21] local.INFO: Acknowledgment sent {"connection_id":165138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:02:30] local.INFO: TCP Data received {"connection_id":163859,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:02:30] local.INFO: Processing buffer {"connection_id":163859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:02:30] local.INFO: IMEI packet received {"connection_id":163859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 23:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":163859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:02:33] local.INFO: TCP Data received {"connection_id":164153,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0496bf518012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0496bf518012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:02:33] local.INFO: Processing buffer {"connection_id":164153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0496bf518012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:02:33] local.INFO: Packet analysis {"connection_id":164153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0496b"} 
[2026-08-28 23:02:33] local.INFO: Extracted packet for processing {"connection_id":164153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0496b"} 
[2026-08-28 23:02:33] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712103936001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:02:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787938207000,"timestamp_ms":1787938207000,"timestamp_seconds":1787938207,"priority":1,"record_length":96,"hex_timestamp":"000001a0496bf518"} 
[2026-08-28 23:02:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:02:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 23:02:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:02:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:02:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":164153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":164153,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":164153,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:02:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712103936001,"66":25245,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712103936001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:02:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:02:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712103936001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":164153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711106,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:02:34] local.INFO: GPS data processed {"connection_id":164153,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:02:34] local.INFO: Acknowledgment sent {"connection_id":164153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:02:35] local.INFO: TCP Data received {"connection_id":163859,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:02:35] local.INFO: Processing buffer {"connection_id":163859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:02:35] local.INFO: IMEI packet received {"connection_id":163859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 23:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":163859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:02:37] local.INFO: TCP Data received {"connection_id":163859,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049696ca8012d34c14006aa4840001100e62a..."} 
[2026-08-28 23:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049696ca8012d34c14006aa4840001100e62a..."} 
[2026-08-28 23:02:37] local.INFO: Processing buffer {"connection_id":163859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049696ca8012d34c14006aa4840001100e62a..."} 
[2026-08-28 23:02:37] local.INFO: Packet analysis {"connection_id":163859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04969"} 
[2026-08-28 23:02:37] local.INFO: Extracted packet for processing {"connection_id":163859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04969"} 
[2026-08-28 23:02:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":17,"angle":230,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 23:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712061440001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 23:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787938041000,"timestamp_ms":1787938041000,"timestamp_seconds":1787938041,"priority":1,"record_length":96,"hex_timestamp":"000001a049696ca8"} 
[2026-08-28 23:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 23:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712061440001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712061440001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:02:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:02:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:02: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-28 23:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 23:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712061440001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 23:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":163859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:02:37] local.INFO: GPS data processed {"connection_id":163859,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:02:37] local.INFO: Acknowledgment sent {"connection_id":163859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:02:52] local.INFO: TCP Data received {"connection_id":165138,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0496b6490012d196580071ff008003d013925..."} 
[2026-08-28 23:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0496b6490012d196580071ff008003d013925..."} 
[2026-08-28 23:02:52] local.INFO: Processing buffer {"connection_id":165138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0496b6490012d196580071ff008003d013925..."} 
[2026-08-28 23:02:52] local.INFO: Packet analysis {"connection_id":165138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0496b"} 
[2026-08-28 23:02:52] local.INFO: Extracted packet for processing {"connection_id":165138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0496b"} 
[2026-08-28 23:02:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:02:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:02:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712094464001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:02:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:02:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:02:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:02:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787938170000,"timestamp_ms":1787938170000,"timestamp_seconds":1787938170,"priority":1,"record_length":96,"hex_timestamp":"000001a0496b6490"} 
[2026-08-28 23:02:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:02:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:02:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 23:02:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:02:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:02:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:02:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:02:52] local.INFO: Teltonika packet parsed successfully {"connection_id":165138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:02:52] local.INFO: Passing IMEI to GPS processor {"connection_id":165138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:02:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":165138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:02:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:02:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:02:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:02:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712094464001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:02:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:02:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:02:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712094464001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:02:52] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:02:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:02:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:02:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:02:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712094464001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:02:53] 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":711108,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:02:53] local.INFO: GPS data processed {"connection_id":165138,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:02:53] local.INFO: Acknowledgment sent {"connection_id":165138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:02:55] local.INFO: TCP Data received {"connection_id":164154,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164154,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:02:55] local.INFO: Processing buffer {"connection_id":164154,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:02:55] local.INFO: IMEI packet received {"connection_id":164154,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 23:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":164154,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:03:01] local.INFO: TCP Data received {"connection_id":164154,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164154,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:03:01] local.INFO: Processing buffer {"connection_id":164154,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:03:01] local.INFO: IMEI packet received {"connection_id":164154,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 23:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":164154,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:03:02] local.INFO: TCP Data received {"connection_id":164154,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0496bf518012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0496bf518012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:03:02] local.INFO: Processing buffer {"connection_id":164154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0496bf518012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:03:02] local.INFO: Packet analysis {"connection_id":164154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0496b"} 
[2026-08-28 23:03:02] local.INFO: Extracted packet for processing {"connection_id":164154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0496b"} 
[2026-08-28 23:03:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:03:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712103936001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:03:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:03:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:03:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:03:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787938207000,"timestamp_ms":1787938207000,"timestamp_seconds":1787938207,"priority":1,"record_length":96,"hex_timestamp":"000001a0496bf518"} 
[2026-08-28 23:03:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:03:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 23:03:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:03:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:03:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:03:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:03:02] local.INFO: Teltonika packet parsed successfully {"connection_id":164154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:03:02] local.INFO: Passing IMEI to GPS processor {"connection_id":164154,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:03:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":164154,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:03:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:03:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:03:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:03:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712103936001,"66":25245,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:03:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:03:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:03:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712103936001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:03:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:03:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:03:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:03:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:03:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712103936001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:03:02] local.INFO: DEBUG: GPS processor result {"connection_id":164154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711109,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:03:02] local.INFO: GPS data processed {"connection_id":164154,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:03:02] local.INFO: Acknowledgment sent {"connection_id":164154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:03:08] local.INFO: TCP Data received {"connection_id":163859,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0496e0470012d34c14006aa4840000b00e628..."} 
[2026-08-28 23:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0496e0470012d34c14006aa4840000b00e628..."} 
[2026-08-28 23:03:08] local.INFO: Processing buffer {"connection_id":163859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0496e0470012d34c14006aa4840000b00e628..."} 
[2026-08-28 23:03:08] local.INFO: Packet analysis {"connection_id":163859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0496e"} 
[2026-08-28 23:03:08] local.INFO: Extracted packet for processing {"connection_id":163859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0496e"} 
[2026-08-28 23:03:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 23:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712138496001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 23:03:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787938342000,"timestamp_ms":1787938342000,"timestamp_seconds":1787938342,"priority":1,"record_length":96,"hex_timestamp":"000001a0496e0470"} 
[2026-08-28 23:03:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:03:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 23:03:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:03:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:03:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:03:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712138496001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712138496001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:03:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:03:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:03: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-28 23:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 23:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712138496001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 23:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":163859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:03:08] local.INFO: GPS data processed {"connection_id":163859,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:03:08] local.INFO: Acknowledgment sent {"connection_id":163859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:03:13] local.INFO: TCP Data received {"connection_id":164155,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164155,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:03:13] local.INFO: Processing buffer {"connection_id":164155,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:03:13] local.INFO: IMEI packet received {"connection_id":164155,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 23:03:13] local.INFO: IMEI acknowledgment sent {"connection_id":164155,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:03:19] local.INFO: TCP Data received {"connection_id":164155,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164155,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:03:19] local.INFO: Processing buffer {"connection_id":164155,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:03:19] local.INFO: IMEI packet received {"connection_id":164155,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 23:03:19] local.INFO: IMEI acknowledgment sent {"connection_id":164155,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:03:20] local.INFO: TCP Data received {"connection_id":164155,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0496b6490012d196580071ff008003d013925..."} 
[2026-08-28 23:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0496b6490012d196580071ff008003d013925..."} 
[2026-08-28 23:03:20] local.INFO: Processing buffer {"connection_id":164155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0496b6490012d196580071ff008003d013925..."} 
[2026-08-28 23:03:20] local.INFO: Packet analysis {"connection_id":164155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0496b"} 
[2026-08-28 23:03:20] local.INFO: Extracted packet for processing {"connection_id":164155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0496b"} 
[2026-08-28 23:03:20] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23: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-28 23:03:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712094464001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:03:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:03:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:03:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:03:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787938170000,"timestamp_ms":1787938170000,"timestamp_seconds":1787938170,"priority":1,"record_length":96,"hex_timestamp":"000001a0496b6490"} 
[2026-08-28 23: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-28 23:03:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 23:03:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23: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-28 23: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-28 23:03:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:03:20] local.INFO: Teltonika packet parsed successfully {"connection_id":164155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:03:20] local.INFO: Passing IMEI to GPS processor {"connection_id":164155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:03:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":164155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:03:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:03:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:03:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:03:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712094464001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:03:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:03:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:03:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712094464001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:03:20] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:03:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:03:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:03:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:03:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712094464001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:03:20] local.INFO: DEBUG: GPS processor result {"connection_id":164155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711111,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:03:20] local.INFO: GPS data processed {"connection_id":164155,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:03:20] local.INFO: Acknowledgment sent {"connection_id":164155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:03:30] local.INFO: TCP Data received {"connection_id":164156,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:03:30] local.INFO: Processing buffer {"connection_id":164156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:03:30] local.INFO: IMEI packet received {"connection_id":164156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 23:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":164156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:03:33] local.INFO: TCP Data received {"connection_id":164154,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0496bf518012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0496bf518012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:03:33] local.INFO: Processing buffer {"connection_id":164154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0496bf518012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:03:33] local.INFO: Packet analysis {"connection_id":164154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0496b"} 
[2026-08-28 23:03:33] local.INFO: Extracted packet for processing {"connection_id":164154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0496b"} 
[2026-08-28 23:03:33] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712103936001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:03:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787938207000,"timestamp_ms":1787938207000,"timestamp_seconds":1787938207,"priority":1,"record_length":96,"hex_timestamp":"000001a0496bf518"} 
[2026-08-28 23:03:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:03:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 23:03:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:03:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:03:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":164154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":164154,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":164154,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:03:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712103936001,"66":25245,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712103936001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:03:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:03:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712103936001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":164154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711112,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:03:33] local.INFO: GPS data processed {"connection_id":164154,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:03:33] local.INFO: Acknowledgment sent {"connection_id":164154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:03:34] local.INFO: TCP Data received {"connection_id":164156,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:03:34] local.INFO: Processing buffer {"connection_id":164156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:03:34] local.INFO: IMEI packet received {"connection_id":164156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 23:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":164156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:03:39] local.INFO: TCP Data received {"connection_id":164156,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0496e0470012d34c14006aa4840000b00e628..."} 
[2026-08-28 23:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0496e0470012d34c14006aa4840000b00e628..."} 
[2026-08-28 23:03:39] local.INFO: Processing buffer {"connection_id":164156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0496e0470012d34c14006aa4840000b00e628..."} 
[2026-08-28 23:03:39] local.INFO: Packet analysis {"connection_id":164156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0496e"} 
[2026-08-28 23:03:39] local.INFO: Extracted packet for processing {"connection_id":164156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0496e"} 
[2026-08-28 23:03:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 23:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:03:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712138496001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:03:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:03:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 23:03:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:03:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787938342000,"timestamp_ms":1787938342000,"timestamp_seconds":1787938342,"priority":1,"record_length":96,"hex_timestamp":"000001a0496e0470"} 
[2026-08-28 23:03:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:03:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 23:03:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:03:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:03:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:03:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:03:39] local.INFO: Teltonika packet parsed successfully {"connection_id":164156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:03:39] local.INFO: Passing IMEI to GPS processor {"connection_id":164156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:03:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":164156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:03:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:03:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:03:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:03:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712138496001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:03:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:03:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:03:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712138496001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:03:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:03:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:03:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:03:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 23:03:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712138496001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 23:03:39] local.INFO: DEBUG: GPS processor result {"connection_id":164156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:03:39] local.INFO: GPS data processed {"connection_id":164156,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:03:39] local.INFO: Acknowledgment sent {"connection_id":164156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:03:52] local.INFO: TCP Data received {"connection_id":164155,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0496b6490012d196580071ff008003d013925..."} 
[2026-08-28 23:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0496b6490012d196580071ff008003d013925..."} 
[2026-08-28 23:03:52] local.INFO: Processing buffer {"connection_id":164155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0496b6490012d196580071ff008003d013925..."} 
[2026-08-28 23:03:52] local.INFO: Packet analysis {"connection_id":164155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0496b"} 
[2026-08-28 23:03:52] local.INFO: Extracted packet for processing {"connection_id":164155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0496b"} 
[2026-08-28 23:03:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:03:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712094464001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:03:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:03:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:03:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:03:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787938170000,"timestamp_ms":1787938170000,"timestamp_seconds":1787938170,"priority":1,"record_length":96,"hex_timestamp":"000001a0496b6490"} 
[2026-08-28 23:03:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:03:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:03:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 23:03:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:03:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:03:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:03:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:03:52] local.INFO: Teltonika packet parsed successfully {"connection_id":164155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:03:52] local.INFO: Passing IMEI to GPS processor {"connection_id":164155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:03:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":164155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:03:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:03:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:03:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:03:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712094464001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:03:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:03:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:03:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712094464001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:03:52] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:03:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:03:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:03:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:03:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712094464001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:03:52] local.INFO: DEBUG: GPS processor result {"connection_id":164155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711114,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:03:52] local.INFO: GPS data processed {"connection_id":164155,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:03:52] local.INFO: Acknowledgment sent {"connection_id":164155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:03:55] local.INFO: TCP Data received {"connection_id":165139,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165139,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:03:55] local.INFO: Processing buffer {"connection_id":165139,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:03:55] local.INFO: IMEI packet received {"connection_id":165139,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 23:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":165139,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:04:01] local.INFO: TCP Data received {"connection_id":165139,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165139,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:04:01] local.INFO: Processing buffer {"connection_id":165139,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:04:01] local.INFO: IMEI packet received {"connection_id":165139,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 23:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":165139,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:04:02] local.INFO: TCP Data received {"connection_id":165139,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0496bf518012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0496bf518012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:04:02] local.INFO: Processing buffer {"connection_id":165139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0496bf518012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:04:02] local.INFO: Packet analysis {"connection_id":165139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0496b"} 
[2026-08-28 23:04:02] local.INFO: Extracted packet for processing {"connection_id":165139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0496b"} 
[2026-08-28 23:04:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:04:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:04:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712103936001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:04:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:04:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:04:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:04:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787938207000,"timestamp_ms":1787938207000,"timestamp_seconds":1787938207,"priority":1,"record_length":96,"hex_timestamp":"000001a0496bf518"} 
[2026-08-28 23:04:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:04:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:04:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 23:04:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:04:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:04:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:04:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:04:02] local.INFO: Teltonika packet parsed successfully {"connection_id":165139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:04:02] local.INFO: Passing IMEI to GPS processor {"connection_id":165139,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:04:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":165139,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:04:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:04:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:04:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:04:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712103936001,"66":25245,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:04:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:04:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:04:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712103936001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:04:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:04:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:04:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:04:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:04:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712103936001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:04:02] local.INFO: DEBUG: GPS processor result {"connection_id":165139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711115,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:04:02] local.INFO: GPS data processed {"connection_id":165139,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:04:02] local.INFO: Acknowledgment sent {"connection_id":165139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:04:11] local.INFO: TCP Data received {"connection_id":164156,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0496e0470012d34c14006aa4840000b00e628..."} 
[2026-08-28 23:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0496e0470012d34c14006aa4840000b00e628..."} 
[2026-08-28 23:04:11] local.INFO: Processing buffer {"connection_id":164156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0496e0470012d34c14006aa4840000b00e628..."} 
[2026-08-28 23:04:11] local.INFO: Packet analysis {"connection_id":164156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0496e"} 
[2026-08-28 23:04:11] local.INFO: Extracted packet for processing {"connection_id":164156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0496e"} 
[2026-08-28 23:04:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 23:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712138496001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:04:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 23:04:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787938342000,"timestamp_ms":1787938342000,"timestamp_seconds":1787938342,"priority":1,"record_length":96,"hex_timestamp":"000001a0496e0470"} 
[2026-08-28 23:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:04:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 23:04: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-28 23:04:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":164156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":164156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":164156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:04:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712138496001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712138496001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:04:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:04:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:04: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-28 23:04:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 23:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712138496001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 23:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":164156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:04:11] local.INFO: GPS data processed {"connection_id":164156,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:04:11] local.INFO: Acknowledgment sent {"connection_id":164156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:04:19] local.INFO: TCP Data received {"connection_id":163860,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163860,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:04:19] local.INFO: Processing buffer {"connection_id":163860,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:04:19] local.INFO: IMEI packet received {"connection_id":163860,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 23:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":163860,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:04:24] local.INFO: TCP Data received {"connection_id":163860,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163860,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:04:24] local.INFO: Processing buffer {"connection_id":163860,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:04:24] local.INFO: IMEI packet received {"connection_id":163860,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 23:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":163860,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:04:25] local.INFO: TCP Data received {"connection_id":163860,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0496b6490012d196580071ff008003d013925..."} 
[2026-08-28 23:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0496b6490012d196580071ff008003d013925..."} 
[2026-08-28 23:04:25] local.INFO: Processing buffer {"connection_id":163860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0496b6490012d196580071ff008003d013925..."} 
[2026-08-28 23:04:25] local.INFO: Packet analysis {"connection_id":163860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0496b"} 
[2026-08-28 23:04:25] local.INFO: Extracted packet for processing {"connection_id":163860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0496b"} 
[2026-08-28 23:04:25] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:04:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:04:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712094464001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:04:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:04:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:04:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:04:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787938170000,"timestamp_ms":1787938170000,"timestamp_seconds":1787938170,"priority":1,"record_length":96,"hex_timestamp":"000001a0496b6490"} 
[2026-08-28 23:04:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:04:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:04:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 23:04:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:04:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:04:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:04:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:04:25] local.INFO: Teltonika packet parsed successfully {"connection_id":163860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:04:25] local.INFO: Passing IMEI to GPS processor {"connection_id":163860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:04:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":163860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:04:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:04:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:04:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:04:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712094464001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:04:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:04:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:04:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712094464001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:04:25] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:04:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:04:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:04:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:04:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712094464001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:04:25] local.INFO: DEBUG: GPS processor result {"connection_id":163860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711117,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:04:25] local.INFO: GPS data processed {"connection_id":163860,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:04:25] local.INFO: Acknowledgment sent {"connection_id":163860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:04:29] local.INFO: TCP Data received {"connection_id":163861,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:04:29] local.INFO: Processing buffer {"connection_id":163861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:04:29] local.INFO: IMEI packet received {"connection_id":163861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 23:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":163861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:04:30] local.INFO: TCP Data received {"connection_id":163860,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0496b6490012d196580071ff008003d013925..."} 
[2026-08-28 23:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0496b6490012d196580071ff008003d013925..."} 
[2026-08-28 23:04:30] local.INFO: Processing buffer {"connection_id":163860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0496b6490012d196580071ff008003d013925..."} 
[2026-08-28 23:04:30] local.INFO: Packet analysis {"connection_id":163860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0496b"} 
[2026-08-28 23:04:30] local.INFO: Extracted packet for processing {"connection_id":163860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0496b"} 
[2026-08-28 23:04:30] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":37,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:04:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:04:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712094464001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:04:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:04:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:04:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:04:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787938170000,"timestamp_ms":1787938170000,"timestamp_seconds":1787938170,"priority":1,"record_length":96,"hex_timestamp":"000001a0496b6490"} 
[2026-08-28 23:04:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:04:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:04:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 23:04:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:04:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:04:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:04:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:04:30] local.INFO: Teltonika packet parsed successfully {"connection_id":163860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:04:30] local.INFO: Passing IMEI to GPS processor {"connection_id":163860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:04:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":163860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:04:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:04:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:04:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:04:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712094464001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:04:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:04:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:04:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712094464001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:04:30] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:04:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:04:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:04:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:04:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712094464001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:04:30] local.INFO: DEBUG: GPS processor result {"connection_id":163860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711118,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:04:30] local.INFO: GPS data processed {"connection_id":163860,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:04:30] local.INFO: Acknowledgment sent {"connection_id":163860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:04:34] local.INFO: TCP Data received {"connection_id":165139,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0496bf518012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0496bf518012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:04:34] local.INFO: Processing buffer {"connection_id":165139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0496bf518012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:04:34] local.INFO: Packet analysis {"connection_id":165139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0496b"} 
[2026-08-28 23:04:34] local.INFO: Extracted packet for processing {"connection_id":165139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0496b"} 
[2026-08-28 23:04:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:04:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712103936001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:04:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:04:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:04:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:04:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787938207000,"timestamp_ms":1787938207000,"timestamp_seconds":1787938207,"priority":1,"record_length":96,"hex_timestamp":"000001a0496bf518"} 
[2026-08-28 23:04:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:04:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 23:04:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:04:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:04:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:04:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:04:34] local.INFO: Teltonika packet parsed successfully {"connection_id":165139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:04:34] local.INFO: Passing IMEI to GPS processor {"connection_id":165139,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:04:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":165139,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:04:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:04:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:04:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:04:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712103936001,"66":25245,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:04:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:04:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:04:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712103936001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:04:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:04:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:04:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:04:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:04:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712103936001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:04:34] local.INFO: DEBUG: GPS processor result {"connection_id":165139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711119,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:04:34] local.INFO: GPS data processed {"connection_id":165139,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:04:34] local.INFO: Acknowledgment sent {"connection_id":165139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:04:35] local.INFO: TCP Data received {"connection_id":163861,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:04:35] local.INFO: Processing buffer {"connection_id":163861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:04:35] local.INFO: IMEI packet received {"connection_id":163861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 23:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":163861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:04:37] local.INFO: TCP Data received {"connection_id":163861,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0496e0470012d34c14006aa4840000b00e628..."} 
[2026-08-28 23:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0496e0470012d34c14006aa4840000b00e628..."} 
[2026-08-28 23:04:37] local.INFO: Processing buffer {"connection_id":163861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0496e0470012d34c14006aa4840000b00e628..."} 
[2026-08-28 23:04:37] local.INFO: Packet analysis {"connection_id":163861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0496e"} 
[2026-08-28 23:04:37] local.INFO: Extracted packet for processing {"connection_id":163861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0496e"} 
[2026-08-28 23:04:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 23:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712138496001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 23:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787938342000,"timestamp_ms":1787938342000,"timestamp_seconds":1787938342,"priority":1,"record_length":96,"hex_timestamp":"000001a0496e0470"} 
[2026-08-28 23:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 23:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712138496001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712138496001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:04:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:04:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:04: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-28 23:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 23:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712138496001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 23:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":163861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:04:37] local.INFO: GPS data processed {"connection_id":163861,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:04:37] local.INFO: Acknowledgment sent {"connection_id":163861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:05:01] local.INFO: TCP Data received {"connection_id":166502,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166502,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:05:01] local.INFO: Processing buffer {"connection_id":166502,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:05:01] local.INFO: IMEI packet received {"connection_id":166502,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 23:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":166502,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:05:06] local.INFO: TCP Data received {"connection_id":166502,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166502,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:05:06] local.INFO: Processing buffer {"connection_id":166502,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:05:06] local.INFO: IMEI packet received {"connection_id":166502,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 23:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":166502,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:05:07] local.INFO: TCP Data received {"connection_id":166502,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0496bf518012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0496bf518012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:05:07] local.INFO: Processing buffer {"connection_id":166502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0496bf518012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:05:07] local.INFO: Packet analysis {"connection_id":166502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0496b"} 
[2026-08-28 23:05:07] local.INFO: Extracted packet for processing {"connection_id":166502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0496b"} 
[2026-08-28 23:05:07] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712103936001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:05:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787938207000,"timestamp_ms":1787938207000,"timestamp_seconds":1787938207,"priority":1,"record_length":96,"hex_timestamp":"000001a0496bf518"} 
[2026-08-28 23:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:05:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 23:05:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:05:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":166502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":166502,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":166502,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712103936001,"66":25245,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712103936001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:05:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:05:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712103936001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":166502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711121,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:05:07] local.INFO: GPS data processed {"connection_id":166502,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:05:07] local.INFO: Acknowledgment sent {"connection_id":166502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:05:08] local.INFO: TCP Data received {"connection_id":163861,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0496e0470012d34c14006aa4840000b00e628..."} 
[2026-08-28 23:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0496e0470012d34c14006aa4840000b00e628..."} 
[2026-08-28 23:05:08] local.INFO: Processing buffer {"connection_id":163861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0496e0470012d34c14006aa4840000b00e628..."} 
[2026-08-28 23:05:08] local.INFO: Packet analysis {"connection_id":163861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0496e"} 
[2026-08-28 23:05:08] local.INFO: Extracted packet for processing {"connection_id":163861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0496e"} 
[2026-08-28 23:05:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 23:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712138496001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 23:05:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787938342000,"timestamp_ms":1787938342000,"timestamp_seconds":1787938342,"priority":1,"record_length":96,"hex_timestamp":"000001a0496e0470"} 
[2026-08-28 23:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:05:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 23:05:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:05:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712138496001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712138496001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:05:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:05:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:05: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-28 23:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 23:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712138496001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 23:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":163861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:05:08] local.INFO: GPS data processed {"connection_id":163861,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:05:08] local.INFO: Acknowledgment sent {"connection_id":163861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:05:12] local.INFO: TCP Data received {"connection_id":166502,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0496bf518012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0496bf518012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:05:12] local.INFO: Processing buffer {"connection_id":166502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0496bf518012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:05:12] local.INFO: Packet analysis {"connection_id":166502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0496b"} 
[2026-08-28 23:05:12] local.INFO: Extracted packet for processing {"connection_id":166502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0496b"} 
[2026-08-28 23:05:12] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:05:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712103936001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:05:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:05:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:05:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:05:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787938207000,"timestamp_ms":1787938207000,"timestamp_seconds":1787938207,"priority":1,"record_length":96,"hex_timestamp":"000001a0496bf518"} 
[2026-08-28 23:05:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:05:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 23:05:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:05:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:05:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:05:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:05:12] local.INFO: Teltonika packet parsed successfully {"connection_id":166502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:05:12] local.INFO: Passing IMEI to GPS processor {"connection_id":166502,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:05:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":166502,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:05:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:05:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:05:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:05:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712103936001,"66":25245,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:05:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:05:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:05:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712103936001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:05:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:05:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:05:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:05:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:05:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712103936001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:05:12] local.INFO: DEBUG: GPS processor result {"connection_id":166502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711123,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:05:12] local.INFO: GPS data processed {"connection_id":166502,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:05:12] local.INFO: Acknowledgment sent {"connection_id":166502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:05:14] local.INFO: TCP Data received {"connection_id":166503,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166503,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:05:14] local.INFO: Processing buffer {"connection_id":166503,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:05:14] local.INFO: IMEI packet received {"connection_id":166503,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 23:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":166503,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:05:19] local.INFO: TCP Data received {"connection_id":166503,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166503,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:05:19] local.INFO: Processing buffer {"connection_id":166503,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:05:19] local.INFO: IMEI packet received {"connection_id":166503,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 23:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":166503,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:05:21] local.INFO: TCP Data received {"connection_id":166503,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0496ffc58012d196580071ff008003d013926..."} 
[2026-08-28 23:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0496ffc58012d196580071ff008003d013926..."} 
[2026-08-28 23:05:21] local.INFO: Processing buffer {"connection_id":166503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0496ffc58012d196580071ff008003d013926..."} 
[2026-08-28 23:05:21] local.INFO: Packet analysis {"connection_id":166503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0496f"} 
[2026-08-28 23:05:21] local.INFO: Extracted packet for processing {"connection_id":166503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0496f"} 
[2026-08-28 23:05:21] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712171520001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:05:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:05:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787938471000,"timestamp_ms":1787938471000,"timestamp_seconds":1787938471,"priority":1,"record_length":96,"hex_timestamp":"000001a0496ffc58"} 
[2026-08-28 23:05:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:05:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 23:05:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:05:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:05:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":166503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":166503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":166503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:05:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712171520001,"66":2144,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712171520001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:05:21] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:05:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:05:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:05:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712171520001,"power":2144,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":166503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711124,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:05:21] local.INFO: GPS data processed {"connection_id":166503,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:05:21] local.INFO: Acknowledgment sent {"connection_id":166503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:05:29] local.INFO: TCP Data received {"connection_id":166504,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:05:29] local.INFO: Processing buffer {"connection_id":166504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:05:29] local.INFO: IMEI packet received {"connection_id":166504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 23:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":166504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:05:34] local.INFO: TCP Data received {"connection_id":166504,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:05:34] local.INFO: Processing buffer {"connection_id":166504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:05:34] local.INFO: IMEI packet received {"connection_id":166504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 23:05:34] local.INFO: IMEI acknowledgment sent {"connection_id":166504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:05:36] local.INFO: TCP Data received {"connection_id":166504,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0496e0470012d34c14006aa4840000b00e628..."} 
[2026-08-28 23:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0496e0470012d34c14006aa4840000b00e628..."} 
[2026-08-28 23:05:36] local.INFO: Processing buffer {"connection_id":166504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0496e0470012d34c14006aa4840000b00e628..."} 
[2026-08-28 23:05:36] local.INFO: Packet analysis {"connection_id":166504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0496e"} 
[2026-08-28 23:05:36] local.INFO: Extracted packet for processing {"connection_id":166504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0496e"} 
[2026-08-28 23:05:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 23:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712138496001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 23:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787938342000,"timestamp_ms":1787938342000,"timestamp_seconds":1787938342,"priority":1,"record_length":96,"hex_timestamp":"000001a0496e0470"} 
[2026-08-28 23:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 23:05:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:05:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":166504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":166504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":166504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:05:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712138496001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712138496001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:05:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:05:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 23:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712138496001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 23:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":166504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:05:36] local.INFO: GPS data processed {"connection_id":166504,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:05:36] local.INFO: Acknowledgment sent {"connection_id":166504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:05:53] local.INFO: TCP Data received {"connection_id":166503,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0496ffc58012d196580071ff008003d013926..."} 
[2026-08-28 23:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0496ffc58012d196580071ff008003d013926..."} 
[2026-08-28 23:05:53] local.INFO: Processing buffer {"connection_id":166503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0496ffc58012d196580071ff008003d013926..."} 
[2026-08-28 23:05:53] local.INFO: Packet analysis {"connection_id":166503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0496f"} 
[2026-08-28 23:05:53] local.INFO: Extracted packet for processing {"connection_id":166503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0496f"} 
[2026-08-28 23:05:53] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:05:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712171520001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:05:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:05:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:05:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:05:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787938471000,"timestamp_ms":1787938471000,"timestamp_seconds":1787938471,"priority":1,"record_length":96,"hex_timestamp":"000001a0496ffc58"} 
[2026-08-28 23:05:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:05:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 23:05:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:05:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:05:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:05:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:05:53] local.INFO: Teltonika packet parsed successfully {"connection_id":166503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:05:53] local.INFO: Passing IMEI to GPS processor {"connection_id":166503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:05:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":166503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:05:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:05:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:05:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:05:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712171520001,"66":2144,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:05:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:05:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:05:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712171520001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:05:53] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:05:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:05:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:05:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:05:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712171520001,"power":2144,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:05:53] local.INFO: DEBUG: GPS processor result {"connection_id":166503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711126,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:05:53] local.INFO: GPS data processed {"connection_id":166503,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:05:53] local.INFO: Acknowledgment sent {"connection_id":166503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:05:55] local.INFO: TCP Data received {"connection_id":165140,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165140,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:05:55] local.INFO: Processing buffer {"connection_id":165140,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:05:55] local.INFO: IMEI packet received {"connection_id":165140,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 23:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":165140,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:06:01] local.INFO: TCP Data received {"connection_id":165140,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165140,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:06:01] local.INFO: Processing buffer {"connection_id":165140,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:06:01] local.INFO: IMEI packet received {"connection_id":165140,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 23:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":165140,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:06:02] local.INFO: TCP Data received {"connection_id":165140,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049708ce0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049708ce0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:06:02] local.INFO: Processing buffer {"connection_id":165140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049708ce0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:06:02] local.INFO: Packet analysis {"connection_id":165140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04970"} 
[2026-08-28 23:06:02] local.INFO: Extracted packet for processing {"connection_id":165140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04970"} 
[2026-08-28 23:06:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712180992001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:06:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787938508000,"timestamp_ms":1787938508000,"timestamp_seconds":1787938508,"priority":1,"record_length":96,"hex_timestamp":"000001a049708ce0"} 
[2026-08-28 23:06:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:06:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-28 23:06:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:06:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:06:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":165140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":165140,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":165140,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:06:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712180992001,"66":25234,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712180992001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:06:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:06:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712180992001,"power":25234,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:06:02] 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":711127,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:06:02] local.INFO: GPS data processed {"connection_id":165140,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:06:02] local.INFO: Acknowledgment sent {"connection_id":165140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:06:08] local.INFO: TCP Data received {"connection_id":166504,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0496e0470012d34c14006aa4840000b00e628..."} 
[2026-08-28 23:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0496e0470012d34c14006aa4840000b00e628..."} 
[2026-08-28 23:06:08] local.INFO: Processing buffer {"connection_id":166504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0496e0470012d34c14006aa4840000b00e628..."} 
[2026-08-28 23:06:08] local.INFO: Packet analysis {"connection_id":166504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0496e"} 
[2026-08-28 23:06:08] local.INFO: Extracted packet for processing {"connection_id":166504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0496e"} 
[2026-08-28 23:06:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 23:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712138496001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:06:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:06:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 23:06:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:06:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787938342000,"timestamp_ms":1787938342000,"timestamp_seconds":1787938342,"priority":1,"record_length":96,"hex_timestamp":"000001a0496e0470"} 
[2026-08-28 23:06:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:06:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 23:06:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:06:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:06:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:06:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:06:08] local.INFO: Teltonika packet parsed successfully {"connection_id":166504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:06:08] local.INFO: Passing IMEI to GPS processor {"connection_id":166504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:06:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":166504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:06:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:06:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:06:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:06:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712138496001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:06:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:06:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:06:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712138496001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:06:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:06:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:06: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-28 23:06:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 23:06:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712138496001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 23:06:08] local.INFO: DEBUG: GPS processor result {"connection_id":166504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:06:08] local.INFO: GPS data processed {"connection_id":166504,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:06:08] local.INFO: Acknowledgment sent {"connection_id":166504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:06:13] local.INFO: TCP Data received {"connection_id":164157,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164157,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:06:13] local.INFO: Processing buffer {"connection_id":164157,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:06:13] local.INFO: IMEI packet received {"connection_id":164157,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 23:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":164157,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:06:19] local.INFO: TCP Data received {"connection_id":164157,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164157,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:06:19] local.INFO: Processing buffer {"connection_id":164157,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:06:19] local.INFO: IMEI packet received {"connection_id":164157,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 23:06:19] local.INFO: IMEI acknowledgment sent {"connection_id":164157,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:06:21] local.INFO: TCP Data received {"connection_id":164157,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0496ffc58012d196580071ff008003d013926..."} 
[2026-08-28 23:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0496ffc58012d196580071ff008003d013926..."} 
[2026-08-28 23:06:21] local.INFO: Processing buffer {"connection_id":164157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0496ffc58012d196580071ff008003d013926..."} 
[2026-08-28 23:06:21] local.INFO: Packet analysis {"connection_id":164157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0496f"} 
[2026-08-28 23:06:21] local.INFO: Extracted packet for processing {"connection_id":164157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0496f"} 
[2026-08-28 23:06:21] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:06:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712171520001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:06:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:06:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:06:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:06:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787938471000,"timestamp_ms":1787938471000,"timestamp_seconds":1787938471,"priority":1,"record_length":96,"hex_timestamp":"000001a0496ffc58"} 
[2026-08-28 23:06:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:06:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 23:06:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:06:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:06:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:06:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:06:21] local.INFO: Teltonika packet parsed successfully {"connection_id":164157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:06:21] local.INFO: Passing IMEI to GPS processor {"connection_id":164157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:06:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":164157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:06:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:06:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:06:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:06:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712171520001,"66":2144,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:06:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:06:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:06:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712171520001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:06:21] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:06:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:06:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:06:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:06:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712171520001,"power":2144,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:06:21] local.INFO: DEBUG: GPS processor result {"connection_id":164157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711129,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:06:21] local.INFO: GPS data processed {"connection_id":164157,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:06:21] local.INFO: Acknowledgment sent {"connection_id":164157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:06:34] local.INFO: TCP Data received {"connection_id":165140,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049708ce0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049708ce0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:06:34] local.INFO: Processing buffer {"connection_id":165140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049708ce0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:06:34] local.INFO: Packet analysis {"connection_id":165140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04970"} 
[2026-08-28 23:06:34] local.INFO: Extracted packet for processing {"connection_id":165140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04970"} 
[2026-08-28 23:06:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712180992001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:06:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:06:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787938508000,"timestamp_ms":1787938508000,"timestamp_seconds":1787938508,"priority":1,"record_length":96,"hex_timestamp":"000001a049708ce0"} 
[2026-08-28 23:06:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:06:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-28 23:06:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:06:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:06:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":165140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":165140,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":165140,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:06:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712180992001,"66":25234,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712180992001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:06:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:06:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:06:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:06:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712180992001,"power":25234,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:06:34] 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":711130,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:06:34] local.INFO: GPS data processed {"connection_id":165140,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:06:34] local.INFO: Acknowledgment sent {"connection_id":165140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:06:35] local.INFO: TCP Data received {"connection_id":163862,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:06:35] local.INFO: Processing buffer {"connection_id":163862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:06:35] local.INFO: IMEI packet received {"connection_id":163862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 23:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":163862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:06:40] local.INFO: TCP Data received {"connection_id":163862,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:06:40] local.INFO: Processing buffer {"connection_id":163862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:06:40] local.INFO: IMEI packet received {"connection_id":163862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 23:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":163862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:06:41] local.INFO: TCP Data received {"connection_id":163862,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0496e0470012d34c14006aa4840000b00e628..."} 
[2026-08-28 23:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0496e0470012d34c14006aa4840000b00e628..."} 
[2026-08-28 23:06:41] local.INFO: Processing buffer {"connection_id":163862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0496e0470012d34c14006aa4840000b00e628..."} 
[2026-08-28 23:06:41] local.INFO: Packet analysis {"connection_id":163862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0496e"} 
[2026-08-28 23:06:41] local.INFO: Extracted packet for processing {"connection_id":163862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0496e"} 
[2026-08-28 23:06:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 23:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712138496001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:06:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 23:06:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787938342000,"timestamp_ms":1787938342000,"timestamp_seconds":1787938342,"priority":1,"record_length":96,"hex_timestamp":"000001a0496e0470"} 
[2026-08-28 23:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:06:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 23:06: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-28 23:06:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":163862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":163862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":163862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:06:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712138496001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712138496001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:06:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:06:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:06: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-28 23:06:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 23:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712138496001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 23:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":163862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:06:41] local.INFO: GPS data processed {"connection_id":163862,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:06:41] local.INFO: Acknowledgment sent {"connection_id":163862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:06:46] local.INFO: TCP Data received {"connection_id":163862,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0496e0470012d34c14006aa4840000b00e628..."} 
[2026-08-28 23:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0496e0470012d34c14006aa4840000b00e628..."} 
[2026-08-28 23:06:46] local.INFO: Processing buffer {"connection_id":163862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0496e0470012d34c14006aa4840000b00e628..."} 
[2026-08-28 23:06:46] local.INFO: Packet analysis {"connection_id":163862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0496e"} 
[2026-08-28 23:06:46] local.INFO: Extracted packet for processing {"connection_id":163862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0496e"} 
[2026-08-28 23:06:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 23:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:06:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712138496001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:06:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:06:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 23:06:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:06:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787938342000,"timestamp_ms":1787938342000,"timestamp_seconds":1787938342,"priority":1,"record_length":96,"hex_timestamp":"000001a0496e0470"} 
[2026-08-28 23:06:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:06:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 23:06: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-28 23:06:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:06:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:06:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:06:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:06:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:06:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:06:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:06:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:06:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:06:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712138496001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:06:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:06:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:06:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712138496001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:06:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:06:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:06: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-28 23:06:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 23:06:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712138496001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 23:06:46] local.INFO: DEBUG: GPS processor result {"connection_id":163862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:06:46] local.INFO: GPS data processed {"connection_id":163862,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:06:46] local.INFO: Acknowledgment sent {"connection_id":163862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:06:53] local.INFO: TCP Data received {"connection_id":164157,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0496ffc58012d196580071ff008003d013926..."} 
[2026-08-28 23:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0496ffc58012d196580071ff008003d013926..."} 
[2026-08-28 23:06:53] local.INFO: Processing buffer {"connection_id":164157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0496ffc58012d196580071ff008003d013926..."} 
[2026-08-28 23:06:53] local.INFO: Packet analysis {"connection_id":164157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0496f"} 
[2026-08-28 23:06:53] local.INFO: Extracted packet for processing {"connection_id":164157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0496f"} 
[2026-08-28 23:06:53] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:06:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712171520001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:06:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:06:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:06:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:06:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787938471000,"timestamp_ms":1787938471000,"timestamp_seconds":1787938471,"priority":1,"record_length":96,"hex_timestamp":"000001a0496ffc58"} 
[2026-08-28 23:06:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:06:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 23:06:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:06:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:06:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:06:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:06:53] local.INFO: Teltonika packet parsed successfully {"connection_id":164157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:06:53] local.INFO: Passing IMEI to GPS processor {"connection_id":164157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:06:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":164157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:06:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:06:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:06:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:06:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712171520001,"66":2144,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:06:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:06:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:06:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712171520001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:06:53] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:06:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:06:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:06:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:06:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712171520001,"power":2144,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:06:53] local.INFO: DEBUG: GPS processor result {"connection_id":164157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711133,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:06:53] local.INFO: GPS data processed {"connection_id":164157,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:06:53] local.INFO: Acknowledgment sent {"connection_id":164157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:06:55] local.INFO: TCP Data received {"connection_id":163863,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163863,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:06:55] local.INFO: Processing buffer {"connection_id":163863,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:06:55] local.INFO: IMEI packet received {"connection_id":163863,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 23:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":163863,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:07:01] local.INFO: TCP Data received {"connection_id":163863,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163863,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:07:01] local.INFO: Processing buffer {"connection_id":163863,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:07:01] local.INFO: IMEI packet received {"connection_id":163863,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 23:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":163863,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:07:02] local.INFO: TCP Data received {"connection_id":163863,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049708ce0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049708ce0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:07:02] local.INFO: Processing buffer {"connection_id":163863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049708ce0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:07:02] local.INFO: Packet analysis {"connection_id":163863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04970"} 
[2026-08-28 23:07:02] local.INFO: Extracted packet for processing {"connection_id":163863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04970"} 
[2026-08-28 23:07:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:07:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:07:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712180992001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:07:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:07:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:07:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:07:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787938508000,"timestamp_ms":1787938508000,"timestamp_seconds":1787938508,"priority":1,"record_length":96,"hex_timestamp":"000001a049708ce0"} 
[2026-08-28 23:07:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:07:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:07:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-28 23:07:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:07:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:07:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:07:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:07:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:07:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163863,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:07:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163863,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:07:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:07:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:07:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:07:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712180992001,"66":25234,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:07:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:07:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:07:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712180992001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:07:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:07:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:07:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:07:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:07:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712180992001,"power":25234,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:07:02] local.INFO: DEBUG: GPS processor result {"connection_id":163863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711134,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:07:02] local.INFO: GPS data processed {"connection_id":163863,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:07:02] local.INFO: Acknowledgment sent {"connection_id":163863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:07:13] local.INFO: TCP Data received {"connection_id":166505,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166505,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:07:13] local.INFO: Processing buffer {"connection_id":166505,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:07:13] local.INFO: IMEI packet received {"connection_id":166505,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 23:07:13] local.INFO: IMEI acknowledgment sent {"connection_id":166505,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:07:19] local.INFO: TCP Data received {"connection_id":166505,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166505,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:07:19] local.INFO: Processing buffer {"connection_id":166505,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:07:19] local.INFO: IMEI packet received {"connection_id":166505,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 23:07:19] local.INFO: IMEI acknowledgment sent {"connection_id":166505,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:07:21] local.INFO: TCP Data received {"connection_id":166505,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0496ffc58012d196580071ff008003d013926..."} 
[2026-08-28 23:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0496ffc58012d196580071ff008003d013926..."} 
[2026-08-28 23:07:21] local.INFO: Processing buffer {"connection_id":166505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0496ffc58012d196580071ff008003d013926..."} 
[2026-08-28 23:07:21] local.INFO: Packet analysis {"connection_id":166505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0496f"} 
[2026-08-28 23:07:21] local.INFO: Extracted packet for processing {"connection_id":166505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0496f"} 
[2026-08-28 23:07:21] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712171520001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:07:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:07:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787938471000,"timestamp_ms":1787938471000,"timestamp_seconds":1787938471,"priority":1,"record_length":96,"hex_timestamp":"000001a0496ffc58"} 
[2026-08-28 23:07:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:07:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 23:07:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:07:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:07:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":166505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":166505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":166505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:07:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712171520001,"66":2144,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712171520001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:07:21] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:07:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:07:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712171520001,"power":2144,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":166505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711135,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:07:21] local.INFO: GPS data processed {"connection_id":166505,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:07:21] local.INFO: Acknowledgment sent {"connection_id":166505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:07:30] local.INFO: TCP Data received {"connection_id":164158,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:07:30] local.INFO: Processing buffer {"connection_id":164158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:07:30] local.INFO: IMEI packet received {"connection_id":164158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 23:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":164158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:07:33] local.INFO: TCP Data received {"connection_id":163863,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049708ce0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049708ce0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:07:33] local.INFO: Processing buffer {"connection_id":163863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049708ce0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:07:33] local.INFO: Packet analysis {"connection_id":163863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04970"} 
[2026-08-28 23:07:33] local.INFO: Extracted packet for processing {"connection_id":163863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04970"} 
[2026-08-28 23:07:33] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712180992001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:07:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787938508000,"timestamp_ms":1787938508000,"timestamp_seconds":1787938508,"priority":1,"record_length":96,"hex_timestamp":"000001a049708ce0"} 
[2026-08-28 23:07:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:07:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-28 23:07:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:07:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:07:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":163863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":163863,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":163863,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712180992001,"66":25234,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712180992001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:07:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:07:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712180992001,"power":25234,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:07:34] local.INFO: DEBUG: GPS processor result {"connection_id":163863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711136,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:07:34] local.INFO: GPS data processed {"connection_id":163863,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:07:34] local.INFO: Acknowledgment sent {"connection_id":163863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:07:35] local.INFO: TCP Data received {"connection_id":164158,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:07:35] local.INFO: Processing buffer {"connection_id":164158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:07:35] local.INFO: IMEI packet received {"connection_id":164158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 23:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":164158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:07:37] local.INFO: TCP Data received {"connection_id":164158,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0496e0470012d34c14006aa4840000b00e628..."} 
[2026-08-28 23:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0496e0470012d34c14006aa4840000b00e628..."} 
[2026-08-28 23:07:37] local.INFO: Processing buffer {"connection_id":164158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0496e0470012d34c14006aa4840000b00e628..."} 
[2026-08-28 23:07:37] local.INFO: Packet analysis {"connection_id":164158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0496e"} 
[2026-08-28 23:07:37] local.INFO: Extracted packet for processing {"connection_id":164158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0496e"} 
[2026-08-28 23:07:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":11,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 23:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712138496001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 23:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787938342000,"timestamp_ms":1787938342000,"timestamp_seconds":1787938342,"priority":1,"record_length":96,"hex_timestamp":"000001a0496e0470"} 
[2026-08-28 23:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 23:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712138496001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712138496001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:07:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:07:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:07: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-28 23:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 23:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712138496001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 23:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":164158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:07:37] local.INFO: GPS data processed {"connection_id":164158,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:07:37] local.INFO: Acknowledgment sent {"connection_id":164158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:07:53] local.INFO: TCP Data received {"connection_id":166505,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0496ffc58012d196580071ff008003d013926..."} 
[2026-08-28 23:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0496ffc58012d196580071ff008003d013926..."} 
[2026-08-28 23:07:53] local.INFO: Processing buffer {"connection_id":166505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0496ffc58012d196580071ff008003d013926..."} 
[2026-08-28 23:07:53] local.INFO: Packet analysis {"connection_id":166505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0496f"} 
[2026-08-28 23:07:53] local.INFO: Extracted packet for processing {"connection_id":166505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0496f"} 
[2026-08-28 23:07:53] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:07:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712171520001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:07:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:07:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:07:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:07:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787938471000,"timestamp_ms":1787938471000,"timestamp_seconds":1787938471,"priority":1,"record_length":96,"hex_timestamp":"000001a0496ffc58"} 
[2026-08-28 23:07:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:07:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 23:07:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:07:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:07:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:07:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:07:53] local.INFO: Teltonika packet parsed successfully {"connection_id":166505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:07:53] local.INFO: Passing IMEI to GPS processor {"connection_id":166505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:07:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":166505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:07:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:07:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:07:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:07:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712171520001,"66":2144,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:07:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:07:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:07:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712171520001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:07:53] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:07:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:07:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:07:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:07:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712171520001,"power":2144,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:07:53] local.INFO: DEBUG: GPS processor result {"connection_id":166505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711138,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:07:53] local.INFO: GPS data processed {"connection_id":166505,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:07:53] local.INFO: Acknowledgment sent {"connection_id":166505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:07:55] local.INFO: TCP Data received {"connection_id":165141,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165141,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:07:55] local.INFO: Processing buffer {"connection_id":165141,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:07:55] local.INFO: IMEI packet received {"connection_id":165141,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 23:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":165141,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:08:01] local.INFO: TCP Data received {"connection_id":165141,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165141,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:08:01] local.INFO: Processing buffer {"connection_id":165141,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:08:01] local.INFO: IMEI packet received {"connection_id":165141,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 23:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":165141,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:08:02] local.INFO: TCP Data received {"connection_id":165141,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049708ce0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049708ce0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:08:02] local.INFO: Processing buffer {"connection_id":165141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049708ce0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:08:02] local.INFO: Packet analysis {"connection_id":165141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04970"} 
[2026-08-28 23:08:02] local.INFO: Extracted packet for processing {"connection_id":165141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04970"} 
[2026-08-28 23:08:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:08:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:08:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712180992001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:08:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:08:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:08:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:08:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787938508000,"timestamp_ms":1787938508000,"timestamp_seconds":1787938508,"priority":1,"record_length":96,"hex_timestamp":"000001a049708ce0"} 
[2026-08-28 23:08:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:08:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:08:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-28 23:08:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:08:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:08:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:08:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:08:02] local.INFO: Teltonika packet parsed successfully {"connection_id":165141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:08:02] local.INFO: Passing IMEI to GPS processor {"connection_id":165141,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:08:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":165141,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:08:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:08:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:08:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:08:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712180992001,"66":25234,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:08:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:08:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:08:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712180992001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:08:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:08:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:08:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:08:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:08:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712180992001,"power":25234,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:08:02] 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":711139,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:08:02] local.INFO: GPS data processed {"connection_id":165141,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:08:02] local.INFO: Acknowledgment sent {"connection_id":165141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:08:09] local.INFO: TCP Data received {"connection_id":164158,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049729c38012d34c14006aa4840000c00e629..."} 
[2026-08-28 23:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049729c38012d34c14006aa4840000c00e629..."} 
[2026-08-28 23:08:09] local.INFO: Processing buffer {"connection_id":164158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049729c38012d34c14006aa4840000c00e629..."} 
[2026-08-28 23:08:09] local.INFO: Packet analysis {"connection_id":164158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04972"} 
[2026-08-28 23:08:09] local.INFO: Extracted packet for processing {"connection_id":164158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04972"} 
[2026-08-28 23:08:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 23:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712215552001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:08:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 23:08:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787938643000,"timestamp_ms":1787938643000,"timestamp_seconds":1787938643,"priority":1,"record_length":96,"hex_timestamp":"000001a049729c38"} 
[2026-08-28 23:08:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:08:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 23:08:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:08:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:08:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":164158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":164158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":164158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:08:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712215552001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712215552001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:08:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:08:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:08: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-28 23:08:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 23:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712215552001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 23:08:09] local.INFO: DEBUG: GPS processor result {"connection_id":164158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:08:09] local.INFO: GPS data processed {"connection_id":164158,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:08:09] local.INFO: Acknowledgment sent {"connection_id":164158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:08:19] local.INFO: TCP Data received {"connection_id":165142,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165142,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:08:19] local.INFO: Processing buffer {"connection_id":165142,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:08:19] local.INFO: IMEI packet received {"connection_id":165142,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 23:08:19] local.INFO: IMEI acknowledgment sent {"connection_id":165142,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:08:24] local.INFO: TCP Data received {"connection_id":165142,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165142,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:08:24] local.INFO: Processing buffer {"connection_id":165142,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:08:24] local.INFO: IMEI packet received {"connection_id":165142,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 23:08:24] local.INFO: IMEI acknowledgment sent {"connection_id":165142,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:08:26] local.INFO: TCP Data received {"connection_id":165142,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0496ffc58012d196580071ff008003d013926..."} 
[2026-08-28 23:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0496ffc58012d196580071ff008003d013926..."} 
[2026-08-28 23:08:26] local.INFO: Processing buffer {"connection_id":165142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0496ffc58012d196580071ff008003d013926..."} 
[2026-08-28 23:08:26] local.INFO: Packet analysis {"connection_id":165142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0496f"} 
[2026-08-28 23:08:26] local.INFO: Extracted packet for processing {"connection_id":165142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0496f"} 
[2026-08-28 23:08:26] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:08:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:08:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712171520001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:08:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:08:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:08:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:08:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787938471000,"timestamp_ms":1787938471000,"timestamp_seconds":1787938471,"priority":1,"record_length":96,"hex_timestamp":"000001a0496ffc58"} 
[2026-08-28 23:08:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:08:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:08:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 23:08:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:08:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:08:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:08:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:08:26] local.INFO: Teltonika packet parsed successfully {"connection_id":165142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:08:26] local.INFO: Passing IMEI to GPS processor {"connection_id":165142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:08:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":165142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:08:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:08:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:08:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:08:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712171520001,"66":2144,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:08:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:08:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:08:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712171520001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:08:26] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:08:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:08:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:08:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:08:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712171520001,"power":2144,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:08:26] 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":711141,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:08:26] local.INFO: GPS data processed {"connection_id":165142,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:08:26] local.INFO: Acknowledgment sent {"connection_id":165142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:08:29] local.INFO: TCP Data received {"connection_id":165143,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:08:29] local.INFO: Processing buffer {"connection_id":165143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:08:29] local.INFO: IMEI packet received {"connection_id":165143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 23:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":165143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:08:30] local.INFO: TCP Data received {"connection_id":165142,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0496ffc58012d196580071ff008003d013926..."} 
[2026-08-28 23:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0496ffc58012d196580071ff008003d013926..."} 
[2026-08-28 23:08:30] local.INFO: Processing buffer {"connection_id":165142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0496ffc58012d196580071ff008003d013926..."} 
[2026-08-28 23:08:30] local.INFO: Packet analysis {"connection_id":165142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0496f"} 
[2026-08-28 23:08:30] local.INFO: Extracted packet for processing {"connection_id":165142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0496f"} 
[2026-08-28 23:08:30] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712171520001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:08:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:08:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787938471000,"timestamp_ms":1787938471000,"timestamp_seconds":1787938471,"priority":1,"record_length":96,"hex_timestamp":"000001a0496ffc58"} 
[2026-08-28 23:08:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:08:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 23:08:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:08:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:08:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":165142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":165142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":165142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:08:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712171520001,"66":2144,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712171520001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:08:30] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:08:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:08:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712171520001,"power":2144,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:08:30] 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":711142,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:08:30] local.INFO: GPS data processed {"connection_id":165142,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:08:30] local.INFO: Acknowledgment sent {"connection_id":165142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:08:34] local.INFO: TCP Data received {"connection_id":165141,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049708ce0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049708ce0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:08:34] local.INFO: Processing buffer {"connection_id":165141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049708ce0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:08:34] local.INFO: Packet analysis {"connection_id":165141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04970"} 
[2026-08-28 23:08:34] local.INFO: Extracted packet for processing {"connection_id":165141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04970"} 
[2026-08-28 23:08:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:08:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712180992001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:08:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:08:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:08:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:08:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787938508000,"timestamp_ms":1787938508000,"timestamp_seconds":1787938508,"priority":1,"record_length":96,"hex_timestamp":"000001a049708ce0"} 
[2026-08-28 23:08:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:08:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-28 23:08:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:08:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:08:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:08:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:08:34] local.INFO: Teltonika packet parsed successfully {"connection_id":165141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:08:34] local.INFO: Passing IMEI to GPS processor {"connection_id":165141,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:08:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":165141,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:08:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:08:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:08:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:08:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712180992001,"66":25234,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:08:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:08:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:08:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712180992001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:08:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:08:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:08:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:08:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:08:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712180992001,"power":25234,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:08:34] 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":711143,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:08:34] local.INFO: GPS data processed {"connection_id":165141,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:08:34] local.INFO: Acknowledgment sent {"connection_id":165141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:08:35] local.INFO: TCP Data received {"connection_id":165143,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:08:35] local.INFO: Processing buffer {"connection_id":165143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:08:35] local.INFO: IMEI packet received {"connection_id":165143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 23:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":165143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:08:37] local.INFO: TCP Data received {"connection_id":165143,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049729c38012d34c14006aa4840000c00e629..."} 
[2026-08-28 23:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049729c38012d34c14006aa4840000c00e629..."} 
[2026-08-28 23:08:37] local.INFO: Processing buffer {"connection_id":165143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049729c38012d34c14006aa4840000c00e629..."} 
[2026-08-28 23:08:37] local.INFO: Packet analysis {"connection_id":165143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04972"} 
[2026-08-28 23:08:37] local.INFO: Extracted packet for processing {"connection_id":165143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04972"} 
[2026-08-28 23:08:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 23: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-28 23:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712215552001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 23:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787938643000,"timestamp_ms":1787938643000,"timestamp_seconds":1787938643,"priority":1,"record_length":96,"hex_timestamp":"000001a049729c38"} 
[2026-08-28 23: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-28 23:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 23:08:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23: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-28 23: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-28 23:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":165143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":165143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":165143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:08:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712215552001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712215552001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:08:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:08:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:08: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-28 23:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 23:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712215552001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 23:08:37] 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":711144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:08:37] local.INFO: GPS data processed {"connection_id":165143,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:08:37] local.INFO: Acknowledgment sent {"connection_id":165143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:09:01] local.INFO: TCP Data received {"connection_id":164159,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164159,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:09:01] local.INFO: Processing buffer {"connection_id":164159,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:09:01] local.INFO: IMEI packet received {"connection_id":164159,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 23:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":164159,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:09:06] local.INFO: TCP Data received {"connection_id":164159,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164159,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:09:06] local.INFO: Processing buffer {"connection_id":164159,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:09:06] local.INFO: IMEI packet received {"connection_id":164159,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 23:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":164159,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:09:07] local.INFO: TCP Data received {"connection_id":164159,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049708ce0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049708ce0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:09:07] local.INFO: Processing buffer {"connection_id":164159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049708ce0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:09:07] local.INFO: Packet analysis {"connection_id":164159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04970"} 
[2026-08-28 23:09:07] local.INFO: Extracted packet for processing {"connection_id":164159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04970"} 
[2026-08-28 23:09:07] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23: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-28 23:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712180992001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:09:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787938508000,"timestamp_ms":1787938508000,"timestamp_seconds":1787938508,"priority":1,"record_length":96,"hex_timestamp":"000001a049708ce0"} 
[2026-08-28 23: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-28 23:09:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23: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":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-28 23:09:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23: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-28 23: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-28 23:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":164159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":164159,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":164159,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:09:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712180992001,"66":25234,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712180992001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:09:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:09:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712180992001,"power":25234,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":164159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711145,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:09:07] local.INFO: GPS data processed {"connection_id":164159,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:09:07] local.INFO: Acknowledgment sent {"connection_id":164159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:09:08] local.INFO: TCP Data received {"connection_id":165143,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049729c38012d34c14006aa4840000c00e629..."} 
[2026-08-28 23:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049729c38012d34c14006aa4840000c00e629..."} 
[2026-08-28 23:09:08] local.INFO: Processing buffer {"connection_id":165143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049729c38012d34c14006aa4840000c00e629..."} 
[2026-08-28 23:09:08] local.INFO: Packet analysis {"connection_id":165143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04972"} 
[2026-08-28 23:09:08] local.INFO: Extracted packet for processing {"connection_id":165143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04972"} 
[2026-08-28 23:09:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 23:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712215552001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 23:09:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787938643000,"timestamp_ms":1787938643000,"timestamp_seconds":1787938643,"priority":1,"record_length":96,"hex_timestamp":"000001a049729c38"} 
[2026-08-28 23:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:09:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 23:09:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:09:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":165143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":165143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":165143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:09:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712215552001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712215552001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:09:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:09:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:09: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-28 23:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 23:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712215552001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 23:09:08] 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":711146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:09:08] local.INFO: GPS data processed {"connection_id":165143,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:09:08] local.INFO: Acknowledgment sent {"connection_id":165143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:09:12] local.INFO: TCP Data received {"connection_id":164159,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049708ce0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049708ce0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:09:12] local.INFO: Processing buffer {"connection_id":164159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049708ce0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:09:12] local.INFO: Packet analysis {"connection_id":164159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04970"} 
[2026-08-28 23:09:12] local.INFO: Extracted packet for processing {"connection_id":164159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04970"} 
[2026-08-28 23:09:12] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712180992001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:09:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:09:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787938508000,"timestamp_ms":1787938508000,"timestamp_seconds":1787938508,"priority":1,"record_length":96,"hex_timestamp":"000001a049708ce0"} 
[2026-08-28 23:09:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:09:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-28 23:09:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:09:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:09:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":164159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":164159,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":164159,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712180992001,"66":25234,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712180992001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:09:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:09:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:09:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712180992001,"power":25234,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":164159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711147,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:09:12] local.INFO: GPS data processed {"connection_id":164159,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:09:12] local.INFO: Acknowledgment sent {"connection_id":164159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:09:17] local.INFO: TCP Data received {"connection_id":165144,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:09:17] local.INFO: Processing buffer {"connection_id":165144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:09:17] local.INFO: IMEI packet received {"connection_id":165144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 23:09:17] local.INFO: IMEI acknowledgment sent {"connection_id":165144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:09:18] local.INFO: TCP Data received {"connection_id":165144,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:09:18] local.INFO: Processing buffer {"connection_id":165144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:09:18] local.INFO: IMEI packet received {"connection_id":165144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 23:09:18] local.INFO: IMEI acknowledgment sent {"connection_id":165144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:09:20] local.INFO: TCP Data received {"connection_id":165144,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0496ffc58012d196580071ff008003d013926..."} 
[2026-08-28 23:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0496ffc58012d196580071ff008003d013926..."} 
[2026-08-28 23:09:20] local.INFO: Processing buffer {"connection_id":165144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0496ffc58012d196580071ff008003d013926..."} 
[2026-08-28 23:09:20] local.INFO: Packet analysis {"connection_id":165144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0496f"} 
[2026-08-28 23:09:20] local.INFO: Extracted packet for processing {"connection_id":165144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0496f"} 
[2026-08-28 23:09:20] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23: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-28 23:09:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712171520001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:09:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:09:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:09:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:09:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787938471000,"timestamp_ms":1787938471000,"timestamp_seconds":1787938471,"priority":1,"record_length":96,"hex_timestamp":"000001a0496ffc58"} 
[2026-08-28 23: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-28 23:09:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 23:09:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23: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-28 23: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-28 23:09:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:09:20] local.INFO: Teltonika packet parsed successfully {"connection_id":165144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:09:20] local.INFO: Passing IMEI to GPS processor {"connection_id":165144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:09:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":165144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:09:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:09:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:09:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:09:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712171520001,"66":2144,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:09:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:09:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:09:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712171520001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:09:20] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:09:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:09:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:09:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:09:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712171520001,"power":2144,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:09:20] 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":711148,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:09:20] local.INFO: GPS data processed {"connection_id":165144,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:09:20] local.INFO: Acknowledgment sent {"connection_id":165144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:09:28] local.INFO: TCP Data received {"connection_id":165144,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0496ffc58012d196580071ff008003d013926..."} 
[2026-08-28 23:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0496ffc58012d196580071ff008003d013926..."} 
[2026-08-28 23:09:28] local.INFO: Processing buffer {"connection_id":165144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0496ffc58012d196580071ff008003d013926..."} 
[2026-08-28 23:09:28] local.INFO: Packet analysis {"connection_id":165144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0496f"} 
[2026-08-28 23:09:28] local.INFO: Extracted packet for processing {"connection_id":165144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0496f"} 
[2026-08-28 23:09:28] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:09:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:09:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712171520001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:09:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:09:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:09:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:09:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787938471000,"timestamp_ms":1787938471000,"timestamp_seconds":1787938471,"priority":1,"record_length":96,"hex_timestamp":"000001a0496ffc58"} 
[2026-08-28 23:09:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:09:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:09:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 23:09:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:09:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:09:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:09:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:09:28] local.INFO: Teltonika packet parsed successfully {"connection_id":165144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:09:28] local.INFO: Passing IMEI to GPS processor {"connection_id":165144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:09:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":165144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:09:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:09:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:09:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:09:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712171520001,"66":2144,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:09:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:09:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:09:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712171520001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:09:28] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:09:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:09:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:09:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:09:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712171520001,"power":2144,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:09:28] 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":711149,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:09:28] local.INFO: GPS data processed {"connection_id":165144,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:09:28] local.INFO: Acknowledgment sent {"connection_id":165144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:09:29] local.INFO: TCP Data received {"connection_id":163864,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:09:29] local.INFO: Processing buffer {"connection_id":163864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:09:29] local.INFO: IMEI packet received {"connection_id":163864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 23:09:29] local.INFO: IMEI acknowledgment sent {"connection_id":163864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:09:34] local.INFO: TCP Data received {"connection_id":163864,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:09:34] local.INFO: Processing buffer {"connection_id":163864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:09:34] local.INFO: IMEI packet received {"connection_id":163864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 23:09:34] local.INFO: IMEI acknowledgment sent {"connection_id":163864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:09:37] local.INFO: TCP Data received {"connection_id":163864,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049729c38012d34c14006aa4840000c00e629..."} 
[2026-08-28 23:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049729c38012d34c14006aa4840000c00e629..."} 
[2026-08-28 23:09:37] local.INFO: Processing buffer {"connection_id":163864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049729c38012d34c14006aa4840000c00e629..."} 
[2026-08-28 23:09:37] local.INFO: Packet analysis {"connection_id":163864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04972"} 
[2026-08-28 23:09:37] local.INFO: Extracted packet for processing {"connection_id":163864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04972"} 
[2026-08-28 23:09:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 23:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712215552001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 23:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787938643000,"timestamp_ms":1787938643000,"timestamp_seconds":1787938643,"priority":1,"record_length":96,"hex_timestamp":"000001a049729c38"} 
[2026-08-28 23:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 23:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712215552001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712215552001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:09:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:09:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:09: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-28 23:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 23:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712215552001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 23:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":163864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:09:37] local.INFO: GPS data processed {"connection_id":163864,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:09:37] local.INFO: Acknowledgment sent {"connection_id":163864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:09:55] local.INFO: TCP Data received {"connection_id":165145,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165145,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:09:55] local.INFO: Processing buffer {"connection_id":165145,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:09:55] local.INFO: IMEI packet received {"connection_id":165145,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 23:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":165145,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:10:01] local.INFO: TCP Data received {"connection_id":165145,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165145,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:10:01] local.INFO: Processing buffer {"connection_id":165145,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:10:01] local.INFO: IMEI packet received {"connection_id":165145,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 23:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":165145,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:10:02] local.INFO: TCP Data received {"connection_id":165145,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049708ce0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049708ce0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:10:02] local.INFO: Processing buffer {"connection_id":165145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049708ce0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:10:02] local.INFO: Packet analysis {"connection_id":165145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04970"} 
[2026-08-28 23:10:02] local.INFO: Extracted packet for processing {"connection_id":165145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04970"} 
[2026-08-28 23:10:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712180992001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:10:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:10:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787938508000,"timestamp_ms":1787938508000,"timestamp_seconds":1787938508,"priority":1,"record_length":96,"hex_timestamp":"000001a049708ce0"} 
[2026-08-28 23:10:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:10:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-28 23:10:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:10:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:10:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":165145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":165145,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":165145,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:10:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712180992001,"66":25234,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712180992001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:10:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:10:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:10:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:10:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:10:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712180992001,"power":25234,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":165145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711151,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:10:02] local.INFO: GPS data processed {"connection_id":165145,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:10:02] local.INFO: Acknowledgment sent {"connection_id":165145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:10:09] local.INFO: TCP Data received {"connection_id":163864,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049729c38012d34c14006aa4840000c00e629..."} 
[2026-08-28 23:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049729c38012d34c14006aa4840000c00e629..."} 
[2026-08-28 23:10:09] local.INFO: Processing buffer {"connection_id":163864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049729c38012d34c14006aa4840000c00e629..."} 
[2026-08-28 23:10:09] local.INFO: Packet analysis {"connection_id":163864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04972"} 
[2026-08-28 23:10:09] local.INFO: Extracted packet for processing {"connection_id":163864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04972"} 
[2026-08-28 23:10:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 23:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712215552001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:10:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 23:10:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787938643000,"timestamp_ms":1787938643000,"timestamp_seconds":1787938643,"priority":1,"record_length":96,"hex_timestamp":"000001a049729c38"} 
[2026-08-28 23:10:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:10:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 23:10:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:10:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:10:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:10:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712215552001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712215552001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:10:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:10:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:10: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-28 23:10:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 23:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712215552001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 23:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":163864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:10:09] local.INFO: GPS data processed {"connection_id":163864,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:10:09] local.INFO: Acknowledgment sent {"connection_id":163864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:10:13] local.INFO: TCP Data received {"connection_id":164160,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164160,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:10:13] local.INFO: Processing buffer {"connection_id":164160,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:10:13] local.INFO: IMEI packet received {"connection_id":164160,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 23:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":164160,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:10:19] local.INFO: TCP Data received {"connection_id":164160,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164160,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:10:19] local.INFO: Processing buffer {"connection_id":164160,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:10:19] local.INFO: IMEI packet received {"connection_id":164160,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 23:10:19] local.INFO: IMEI acknowledgment sent {"connection_id":164160,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:10:21] local.INFO: TCP Data received {"connection_id":164160,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049749420012d196580071ff008003d013926..."} 
[2026-08-28 23:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049749420012d196580071ff008003d013926..."} 
[2026-08-28 23:10:21] local.INFO: Processing buffer {"connection_id":164160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049749420012d196580071ff008003d013926..."} 
[2026-08-28 23:10:21] local.INFO: Packet analysis {"connection_id":164160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04974"} 
[2026-08-28 23:10:21] local.INFO: Extracted packet for processing {"connection_id":164160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04974"} 
[2026-08-28 23:10:21] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:10:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:10:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712248576001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:10:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:10:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:10:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:10:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787938772000,"timestamp_ms":1787938772000,"timestamp_seconds":1787938772,"priority":1,"record_length":96,"hex_timestamp":"000001a049749420"} 
[2026-08-28 23:10:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:10:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:10:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-28 23:10:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:10:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:10:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:10:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:10:21] local.INFO: Teltonika packet parsed successfully {"connection_id":164160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:10:21] local.INFO: Passing IMEI to GPS processor {"connection_id":164160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:10:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":164160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:10:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:10:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:10:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:10:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712248576001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:10:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:10:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:10:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712248576001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:10:21] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:10:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:10:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:10:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:10:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712248576001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:10:21] local.INFO: DEBUG: GPS processor result {"connection_id":164160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711153,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:10:21] local.INFO: GPS data processed {"connection_id":164160,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:10:21] local.INFO: Acknowledgment sent {"connection_id":164160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:10:34] local.INFO: TCP Data received {"connection_id":165145,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049708ce0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049708ce0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:10:34] local.INFO: Processing buffer {"connection_id":165145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049708ce0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:10:34] local.INFO: Packet analysis {"connection_id":165145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04970"} 
[2026-08-28 23:10:34] local.INFO: Extracted packet for processing {"connection_id":165145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04970"} 
[2026-08-28 23:10:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712180992001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:10:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:10:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787938508000,"timestamp_ms":1787938508000,"timestamp_seconds":1787938508,"priority":1,"record_length":96,"hex_timestamp":"000001a049708ce0"} 
[2026-08-28 23:10:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:10:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-28 23:10:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:10:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:10:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":165145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":165145,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":165145,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:10:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712180992001,"66":25234,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712180992001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:10:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:10:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:10:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712180992001,"power":25234,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":165145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711154,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:10:34] local.INFO: GPS data processed {"connection_id":165145,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:10:34] local.INFO: Acknowledgment sent {"connection_id":165145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:10:35] local.INFO: TCP Data received {"connection_id":163865,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:10:35] local.INFO: Processing buffer {"connection_id":163865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:10:35] local.INFO: IMEI packet received {"connection_id":163865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 23:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":163865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:10:40] local.INFO: TCP Data received {"connection_id":163865,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:10:40] local.INFO: Processing buffer {"connection_id":163865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:10:40] local.INFO: IMEI packet received {"connection_id":163865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 23:10:40] local.INFO: IMEI acknowledgment sent {"connection_id":163865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:10:41] local.INFO: TCP Data received {"connection_id":163865,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049729c38012d34c14006aa4840000c00e629..."} 
[2026-08-28 23:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049729c38012d34c14006aa4840000c00e629..."} 
[2026-08-28 23:10:41] local.INFO: Processing buffer {"connection_id":163865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049729c38012d34c14006aa4840000c00e629..."} 
[2026-08-28 23:10:41] local.INFO: Packet analysis {"connection_id":163865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04972"} 
[2026-08-28 23:10:41] local.INFO: Extracted packet for processing {"connection_id":163865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04972"} 
[2026-08-28 23:10:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 23:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712215552001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:10:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 23:10:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:10:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787938643000,"timestamp_ms":1787938643000,"timestamp_seconds":1787938643,"priority":1,"record_length":96,"hex_timestamp":"000001a049729c38"} 
[2026-08-28 23:10:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:10:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 23:10: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-28 23:10:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:10:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":163865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":163865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":163865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:10:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:10:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:10:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:10:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712215552001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:10:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:10:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:10:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712215552001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:10:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:10:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23: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-28 23:10:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 23:10:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712215552001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 23:10:41] local.INFO: DEBUG: GPS processor result {"connection_id":163865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:10:41] local.INFO: GPS data processed {"connection_id":163865,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:10:41] local.INFO: Acknowledgment sent {"connection_id":163865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:10:45] local.INFO: TCP Data received {"connection_id":163865,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049729c38012d34c14006aa4840000c00e629..."} 
[2026-08-28 23:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049729c38012d34c14006aa4840000c00e629..."} 
[2026-08-28 23:10:45] local.INFO: Processing buffer {"connection_id":163865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049729c38012d34c14006aa4840000c00e629..."} 
[2026-08-28 23:10:45] local.INFO: Packet analysis {"connection_id":163865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04972"} 
[2026-08-28 23:10:45] local.INFO: Extracted packet for processing {"connection_id":163865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04972"} 
[2026-08-28 23:10:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 23: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-28 23:10:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712215552001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:10:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:10:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 23:10:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:10:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787938643000,"timestamp_ms":1787938643000,"timestamp_seconds":1787938643,"priority":1,"record_length":96,"hex_timestamp":"000001a049729c38"} 
[2026-08-28 23: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-28 23:10:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 23:10: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-28 23: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-28 23: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-28 23:10:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:10:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:10:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:10:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:10:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:10:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:10:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:10:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712215552001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:10:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:10:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:10:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712215552001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:10:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:10:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23: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-28 23:10:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 23:10:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712215552001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 23:10:45] local.INFO: DEBUG: GPS processor result {"connection_id":163865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:10:45] local.INFO: GPS data processed {"connection_id":163865,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:10:45] local.INFO: Acknowledgment sent {"connection_id":163865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:10:53] local.INFO: TCP Data received {"connection_id":164160,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049749420012d196580071ff008003d013926..."} 
[2026-08-28 23:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049749420012d196580071ff008003d013926..."} 
[2026-08-28 23:10:53] local.INFO: Processing buffer {"connection_id":164160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049749420012d196580071ff008003d013926..."} 
[2026-08-28 23:10:53] local.INFO: Packet analysis {"connection_id":164160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04974"} 
[2026-08-28 23:10:53] local.INFO: Extracted packet for processing {"connection_id":164160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04974"} 
[2026-08-28 23:10:53] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:10:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712248576001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:10:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:10:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:10:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:10:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787938772000,"timestamp_ms":1787938772000,"timestamp_seconds":1787938772,"priority":1,"record_length":96,"hex_timestamp":"000001a049749420"} 
[2026-08-28 23:10:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:10:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-28 23:10:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:10:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:10:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:10:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:10:53] local.INFO: Teltonika packet parsed successfully {"connection_id":164160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:10:53] local.INFO: Passing IMEI to GPS processor {"connection_id":164160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:10:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":164160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:10:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:10:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:10:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:10:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712248576001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:10:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:10:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:10:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712248576001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:10:53] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:10:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:10:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:10:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:10:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712248576001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:10:53] local.INFO: DEBUG: GPS processor result {"connection_id":164160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711157,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:10:53] local.INFO: GPS data processed {"connection_id":164160,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:10:53] local.INFO: Acknowledgment sent {"connection_id":164160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:10:56] local.INFO: TCP Data received {"connection_id":165146,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165146,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:10:56] local.INFO: Processing buffer {"connection_id":165146,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:10:56] local.INFO: IMEI packet received {"connection_id":165146,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 23:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":165146,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:11:01] local.INFO: TCP Data received {"connection_id":165146,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165146,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:11:01] local.INFO: Processing buffer {"connection_id":165146,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:11:01] local.INFO: IMEI packet received {"connection_id":165146,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 23:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":165146,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:11:03] local.INFO: TCP Data received {"connection_id":165146,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0497524a8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0497524a8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:11:03] local.INFO: Processing buffer {"connection_id":165146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0497524a8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:11:03] local.INFO: Packet analysis {"connection_id":165146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04975"} 
[2026-08-28 23:11:03] local.INFO: Extracted packet for processing {"connection_id":165146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04975"} 
[2026-08-28 23:11:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712258048001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787938809000,"timestamp_ms":1787938809000,"timestamp_seconds":1787938809,"priority":1,"record_length":96,"hex_timestamp":"000001a0497524a8"} 
[2026-08-28 23:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:11:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-28 23:11:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:11:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":165146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":165146,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":165146,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712258048001,"66":25245,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712258048001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:11:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:11:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712258048001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:11:03] 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":711158,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:11:03] local.INFO: GPS data processed {"connection_id":165146,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:11:03] local.INFO: Acknowledgment sent {"connection_id":165146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:11:19] local.INFO: TCP Data received {"connection_id":164161,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164161,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:11:19] local.INFO: Processing buffer {"connection_id":164161,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:11:19] local.INFO: IMEI packet received {"connection_id":164161,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 23:11:19] local.INFO: IMEI acknowledgment sent {"connection_id":164161,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:11:24] local.INFO: TCP Data received {"connection_id":164161,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164161,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:11:24] local.INFO: Processing buffer {"connection_id":164161,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:11:24] local.INFO: IMEI packet received {"connection_id":164161,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 23:11:24] local.INFO: IMEI acknowledgment sent {"connection_id":164161,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:11:26] local.INFO: TCP Data received {"connection_id":164161,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049749420012d196580071ff008003d013926..."} 
[2026-08-28 23:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049749420012d196580071ff008003d013926..."} 
[2026-08-28 23:11:26] local.INFO: Processing buffer {"connection_id":164161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049749420012d196580071ff008003d013926..."} 
[2026-08-28 23:11:26] local.INFO: Packet analysis {"connection_id":164161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04974"} 
[2026-08-28 23:11:26] local.INFO: Extracted packet for processing {"connection_id":164161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04974"} 
[2026-08-28 23:11:26] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:11:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712248576001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:11:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:11:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:11:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:11:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787938772000,"timestamp_ms":1787938772000,"timestamp_seconds":1787938772,"priority":1,"record_length":96,"hex_timestamp":"000001a049749420"} 
[2026-08-28 23:11:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:11:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-28 23:11:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:11:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:11:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:11:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:11:26] local.INFO: Teltonika packet parsed successfully {"connection_id":164161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:11:26] local.INFO: Passing IMEI to GPS processor {"connection_id":164161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:11:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":164161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:11:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:11:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:11:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:11:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712248576001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:11:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:11:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:11:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712248576001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:11:26] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:11:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:11:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:11:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:11:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712248576001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:11:26] local.INFO: DEBUG: GPS processor result {"connection_id":164161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711159,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:11:26] local.INFO: GPS data processed {"connection_id":164161,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:11:26] local.INFO: Acknowledgment sent {"connection_id":164161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:11:30] local.INFO: TCP Data received {"connection_id":166506,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:11:30] local.INFO: Processing buffer {"connection_id":166506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:11:30] local.INFO: IMEI packet received {"connection_id":166506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 23:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":166506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:11:35] local.INFO: TCP Data received {"connection_id":166506,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:11:35] local.INFO: Processing buffer {"connection_id":166506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:11:35] local.INFO: IMEI packet received {"connection_id":166506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 23:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":166506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:11:35] local.INFO: TCP Data received {"connection_id":165146,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0497524a8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0497524a8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:11:35] local.INFO: Processing buffer {"connection_id":165146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0497524a8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:11:35] local.INFO: Packet analysis {"connection_id":165146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04975"} 
[2026-08-28 23:11:35] local.INFO: Extracted packet for processing {"connection_id":165146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04975"} 
[2026-08-28 23:11:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712258048001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787938809000,"timestamp_ms":1787938809000,"timestamp_seconds":1787938809,"priority":1,"record_length":96,"hex_timestamp":"000001a0497524a8"} 
[2026-08-28 23:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:11:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-28 23:11:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:11:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":165146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":165146,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":165146,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712258048001,"66":25245,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712258048001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:11:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:11:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712258048001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:11:35] 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":711160,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:11:35] local.INFO: GPS data processed {"connection_id":165146,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:11:35] local.INFO: Acknowledgment sent {"connection_id":165146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:11:36] local.INFO: TCP Data received {"connection_id":166506,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049729c38012d34c14006aa4840000c00e629..."} 
[2026-08-28 23:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049729c38012d34c14006aa4840000c00e629..."} 
[2026-08-28 23:11:36] local.INFO: Processing buffer {"connection_id":166506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049729c38012d34c14006aa4840000c00e629..."} 
[2026-08-28 23:11:36] local.INFO: Packet analysis {"connection_id":166506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04972"} 
[2026-08-28 23:11:36] local.INFO: Extracted packet for processing {"connection_id":166506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04972"} 
[2026-08-28 23:11:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 23:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712215552001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 23:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787938643000,"timestamp_ms":1787938643000,"timestamp_seconds":1787938643,"priority":1,"record_length":96,"hex_timestamp":"000001a049729c38"} 
[2026-08-28 23:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 23:11:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:11:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":166506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":166506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":166506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712215552001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712215552001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:11:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:11:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 23:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712215552001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 23:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":166506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:11:36] local.INFO: GPS data processed {"connection_id":166506,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:11:36] local.INFO: Acknowledgment sent {"connection_id":166506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:11:55] local.INFO: TCP Data received {"connection_id":163866,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163866,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:11:55] local.INFO: Processing buffer {"connection_id":163866,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:11:55] local.INFO: IMEI packet received {"connection_id":163866,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 23:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":163866,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:11:58] local.INFO: TCP Data received {"connection_id":164161,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049749420012d196580071ff008003d013926..."} 
[2026-08-28 23:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049749420012d196580071ff008003d013926..."} 
[2026-08-28 23:11:58] local.INFO: Processing buffer {"connection_id":164161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049749420012d196580071ff008003d013926..."} 
[2026-08-28 23:11:58] local.INFO: Packet analysis {"connection_id":164161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04974"} 
[2026-08-28 23:11:58] local.INFO: Extracted packet for processing {"connection_id":164161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04974"} 
[2026-08-28 23:11:58] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:11:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:11:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712248576001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:11:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:11:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:11:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:11:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787938772000,"timestamp_ms":1787938772000,"timestamp_seconds":1787938772,"priority":1,"record_length":96,"hex_timestamp":"000001a049749420"} 
[2026-08-28 23:11:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:11:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:11:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-28 23:11:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:11:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:11:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:11:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:11:58] local.INFO: Teltonika packet parsed successfully {"connection_id":164161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:11:58] local.INFO: Passing IMEI to GPS processor {"connection_id":164161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:11:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":164161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:11:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:11:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:11:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:11:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712248576001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:11:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:11:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:11:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712248576001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:11:58] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:11:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:11:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:11:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:11:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712248576001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:11:58] local.INFO: DEBUG: GPS processor result {"connection_id":164161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711162,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:11:58] local.INFO: GPS data processed {"connection_id":164161,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:11:58] local.INFO: Acknowledgment sent {"connection_id":164161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:12:01] local.INFO: TCP Data received {"connection_id":163866,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163866,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:12:01] local.INFO: Processing buffer {"connection_id":163866,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:12:01] local.INFO: IMEI packet received {"connection_id":163866,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 23:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":163866,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:12:02] local.INFO: TCP Data received {"connection_id":163866,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0497524a8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0497524a8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:12:02] local.INFO: Processing buffer {"connection_id":163866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0497524a8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:12:02] local.INFO: Packet analysis {"connection_id":163866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04975"} 
[2026-08-28 23:12:02] local.INFO: Extracted packet for processing {"connection_id":163866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04975"} 
[2026-08-28 23:12:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:12:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712258048001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:12:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:12:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787938809000,"timestamp_ms":1787938809000,"timestamp_seconds":1787938809,"priority":1,"record_length":96,"hex_timestamp":"000001a0497524a8"} 
[2026-08-28 23:12:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:12:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:12:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-28 23:12:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:12:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:12:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163866,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163866,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:12:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712258048001,"66":25245,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712258048001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:12:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:12:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:12:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:12:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:12:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712258048001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":163866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711163,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:12:02] local.INFO: GPS data processed {"connection_id":163866,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:12:02] local.INFO: Acknowledgment sent {"connection_id":163866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:12:09] local.INFO: TCP Data received {"connection_id":166506,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049729c38012d34c14006aa4840000c00e629..."} 
[2026-08-28 23:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049729c38012d34c14006aa4840000c00e629..."} 
[2026-08-28 23:12:09] local.INFO: Processing buffer {"connection_id":166506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049729c38012d34c14006aa4840000c00e629..."} 
[2026-08-28 23:12:09] local.INFO: Packet analysis {"connection_id":166506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04972"} 
[2026-08-28 23:12:09] local.INFO: Extracted packet for processing {"connection_id":166506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04972"} 
[2026-08-28 23:12:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 23: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-28 23:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712215552001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 23:12:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787938643000,"timestamp_ms":1787938643000,"timestamp_seconds":1787938643,"priority":1,"record_length":96,"hex_timestamp":"000001a049729c38"} 
[2026-08-28 23: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-28 23:12:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 23:12:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23: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-28 23: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-28 23:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":166506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":166506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":166506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:12:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712215552001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712215552001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:12:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:12:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:12: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-28 23:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 23:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712215552001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 23:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":166506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:12:09] local.INFO: GPS data processed {"connection_id":166506,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:12:09] local.INFO: Acknowledgment sent {"connection_id":166506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:12:14] local.INFO: TCP Data received {"connection_id":163867,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163867,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:12:14] local.INFO: Processing buffer {"connection_id":163867,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:12:14] local.INFO: IMEI packet received {"connection_id":163867,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 23:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":163867,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:12:19] local.INFO: TCP Data received {"connection_id":163867,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163867,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:12:19] local.INFO: Processing buffer {"connection_id":163867,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:12:19] local.INFO: IMEI packet received {"connection_id":163867,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 23:12:19] local.INFO: IMEI acknowledgment sent {"connection_id":163867,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:12:20] local.INFO: TCP Data received {"connection_id":163867,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049749420012d196580071ff008003d013926..."} 
[2026-08-28 23:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049749420012d196580071ff008003d013926..."} 
[2026-08-28 23:12:20] local.INFO: Processing buffer {"connection_id":163867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049749420012d196580071ff008003d013926..."} 
[2026-08-28 23:12:20] local.INFO: Packet analysis {"connection_id":163867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04974"} 
[2026-08-28 23:12:20] local.INFO: Extracted packet for processing {"connection_id":163867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04974"} 
[2026-08-28 23:12:20] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:12:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712248576001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:12:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:12:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:12:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:12:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787938772000,"timestamp_ms":1787938772000,"timestamp_seconds":1787938772,"priority":1,"record_length":96,"hex_timestamp":"000001a049749420"} 
[2026-08-28 23:12:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:12:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-28 23:12:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:12:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:12:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:12:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:12:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:12:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:12:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:12:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:12:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:12:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:12:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712248576001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:12:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:12:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:12:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712248576001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:12:20] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:12:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:12:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:12:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:12:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712248576001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:12:20] local.INFO: DEBUG: GPS processor result {"connection_id":163867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711165,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:12:20] local.INFO: GPS data processed {"connection_id":163867,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:12:20] local.INFO: Acknowledgment sent {"connection_id":163867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:12:29] local.INFO: TCP Data received {"connection_id":164162,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:12:29] local.INFO: Processing buffer {"connection_id":164162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:12:29] local.INFO: IMEI packet received {"connection_id":164162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 23:12:29] local.INFO: IMEI acknowledgment sent {"connection_id":164162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:12:35] local.INFO: TCP Data received {"connection_id":164162,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:12:35] local.INFO: Processing buffer {"connection_id":164162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:12:35] local.INFO: IMEI packet received {"connection_id":164162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 23:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":164162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:12:35] local.INFO: TCP Data received {"connection_id":163866,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0497524a8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0497524a8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:12:35] local.INFO: Processing buffer {"connection_id":163866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0497524a8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:12:35] local.INFO: Packet analysis {"connection_id":163866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04975"} 
[2026-08-28 23:12:35] local.INFO: Extracted packet for processing {"connection_id":163866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04975"} 
[2026-08-28 23:12:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712258048001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:12:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:12:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787938809000,"timestamp_ms":1787938809000,"timestamp_seconds":1787938809,"priority":1,"record_length":96,"hex_timestamp":"000001a0497524a8"} 
[2026-08-28 23:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:12:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-28 23:12:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:12:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163866,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163866,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712258048001,"66":25245,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712258048001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:12:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:12:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:12:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712258048001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":163866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711166,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:12:35] local.INFO: GPS data processed {"connection_id":163866,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:12:35] local.INFO: Acknowledgment sent {"connection_id":163866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:12:36] local.INFO: TCP Data received {"connection_id":164162,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049729c38012d34c14006aa4840000c00e629..."} 
[2026-08-28 23:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049729c38012d34c14006aa4840000c00e629..."} 
[2026-08-28 23:12:36] local.INFO: Processing buffer {"connection_id":164162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049729c38012d34c14006aa4840000c00e629..."} 
[2026-08-28 23:12:36] local.INFO: Packet analysis {"connection_id":164162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04972"} 
[2026-08-28 23:12:36] local.INFO: Extracted packet for processing {"connection_id":164162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04972"} 
[2026-08-28 23:12:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 23:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712215552001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 23:12:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787938643000,"timestamp_ms":1787938643000,"timestamp_seconds":1787938643,"priority":1,"record_length":96,"hex_timestamp":"000001a049729c38"} 
[2026-08-28 23:12:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:12:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 23:12:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:12:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:12:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":164162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":164162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":164162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:12:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712215552001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712215552001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:12:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:12:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:12:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 23:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712215552001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 23:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":164162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:12:36] local.INFO: GPS data processed {"connection_id":164162,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:12:36] local.INFO: Acknowledgment sent {"connection_id":164162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:12:52] local.INFO: TCP Data received {"connection_id":163867,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049749420012d196580071ff008003d013926..."} 
[2026-08-28 23:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049749420012d196580071ff008003d013926..."} 
[2026-08-28 23:12:52] local.INFO: Processing buffer {"connection_id":163867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049749420012d196580071ff008003d013926..."} 
[2026-08-28 23:12:52] local.INFO: Packet analysis {"connection_id":163867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04974"} 
[2026-08-28 23:12:52] local.INFO: Extracted packet for processing {"connection_id":163867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04974"} 
[2026-08-28 23:12:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:12:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712248576001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:12:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:12:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:12:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:12:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787938772000,"timestamp_ms":1787938772000,"timestamp_seconds":1787938772,"priority":1,"record_length":96,"hex_timestamp":"000001a049749420"} 
[2026-08-28 23:12:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:12:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:12:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-28 23:12:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:12:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:12:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:12:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:12:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:12:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:12:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:12:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:12:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:12:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:12:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712248576001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:12:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:12:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:12:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712248576001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:12:52] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:12:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:12:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:12:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:12:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712248576001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:12:52] local.INFO: DEBUG: GPS processor result {"connection_id":163867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711168,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:12:52] local.INFO: GPS data processed {"connection_id":163867,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:12:52] local.INFO: Acknowledgment sent {"connection_id":163867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:13:01] local.INFO: TCP Data received {"connection_id":166507,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166507,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:13:01] local.INFO: Processing buffer {"connection_id":166507,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:13:01] local.INFO: IMEI packet received {"connection_id":166507,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 23:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":166507,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:13:06] local.INFO: TCP Data received {"connection_id":166507,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166507,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:13:06] local.INFO: Processing buffer {"connection_id":166507,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:13:06] local.INFO: IMEI packet received {"connection_id":166507,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 23:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":166507,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:13:07] local.INFO: TCP Data received {"connection_id":164162,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049773400012d34c14006aa4840000700e629..."} 
[2026-08-28 23:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049773400012d34c14006aa4840000700e629..."} 
[2026-08-28 23:13:07] local.INFO: Processing buffer {"connection_id":164162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049773400012d34c14006aa4840000700e629..."} 
[2026-08-28 23:13:07] local.INFO: Packet analysis {"connection_id":164162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04977"} 
[2026-08-28 23:13:07] local.INFO: Extracted packet for processing {"connection_id":164162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04977"} 
[2026-08-28 23:13:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":7,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 23:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712292608001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 23:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787938944000,"timestamp_ms":1787938944000,"timestamp_seconds":1787938944,"priority":1,"record_length":96,"hex_timestamp":"000001a049773400"} 
[2026-08-28 23:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:13:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 23:13:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:13:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":164162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":164162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":164162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712292608001,"66":25288,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712292608001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:13:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:13:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:13: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-28 23:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 23:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712292608001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 23:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":164162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:13:07] local.INFO: GPS data processed {"connection_id":164162,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:13:07] local.INFO: Acknowledgment sent {"connection_id":164162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:13:08] local.INFO: TCP Data received {"connection_id":166507,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0497524a8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0497524a8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:13:08] local.INFO: Processing buffer {"connection_id":166507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0497524a8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:13:08] local.INFO: Packet analysis {"connection_id":166507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04975"} 
[2026-08-28 23:13:08] local.INFO: Extracted packet for processing {"connection_id":166507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04975"} 
[2026-08-28 23:13:08] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712258048001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:13:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:13:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787938809000,"timestamp_ms":1787938809000,"timestamp_seconds":1787938809,"priority":1,"record_length":96,"hex_timestamp":"000001a0497524a8"} 
[2026-08-28 23:13:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:13:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-28 23:13:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:13:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:13:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":166507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":166507,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":166507,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:13:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712258048001,"66":25245,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712258048001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:13:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:13:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:13:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:13:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712258048001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":166507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711170,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:13:08] local.INFO: GPS data processed {"connection_id":166507,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:13:08] local.INFO: Acknowledgment sent {"connection_id":166507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:13:13] local.INFO: TCP Data received {"connection_id":166507,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0497524a8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0497524a8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:13:13] local.INFO: Processing buffer {"connection_id":166507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0497524a8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:13:13] local.INFO: Packet analysis {"connection_id":166507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04975"} 
[2026-08-28 23:13:13] local.INFO: Extracted packet for processing {"connection_id":166507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04975"} 
[2026-08-28 23:13:13] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23: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-28 23:13:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712258048001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:13:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:13:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:13:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:13:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787938809000,"timestamp_ms":1787938809000,"timestamp_seconds":1787938809,"priority":1,"record_length":96,"hex_timestamp":"000001a0497524a8"} 
[2026-08-28 23: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-28 23:13:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23: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":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-28 23:13:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23: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-28 23: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-28 23:13:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:13:13] local.INFO: Teltonika packet parsed successfully {"connection_id":166507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:13:13] local.INFO: Passing IMEI to GPS processor {"connection_id":166507,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:13:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":166507,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:13:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:13:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:13:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:13:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712258048001,"66":25245,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:13:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:13:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:13:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712258048001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:13:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:13:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:13:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:13:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:13:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712258048001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:13:13] local.INFO: DEBUG: GPS processor result {"connection_id":166507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711171,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:13:13] local.INFO: GPS data processed {"connection_id":166507,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:13:13] local.INFO: Acknowledgment sent {"connection_id":166507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:13:14] local.INFO: TCP Data received {"connection_id":163868,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163868,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:13:14] local.INFO: Processing buffer {"connection_id":163868,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:13:14] local.INFO: IMEI packet received {"connection_id":163868,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 23:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":163868,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:13:19] local.INFO: TCP Data received {"connection_id":163868,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163868,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:13:19] local.INFO: Processing buffer {"connection_id":163868,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:13:19] local.INFO: IMEI packet received {"connection_id":163868,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 23:13:19] local.INFO: IMEI acknowledgment sent {"connection_id":163868,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:13:20] local.INFO: TCP Data received {"connection_id":163868,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049749420012d196580071ff008003d013926..."} 
[2026-08-28 23:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049749420012d196580071ff008003d013926..."} 
[2026-08-28 23:13:20] local.INFO: Processing buffer {"connection_id":163868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049749420012d196580071ff008003d013926..."} 
[2026-08-28 23:13:20] local.INFO: Packet analysis {"connection_id":163868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04974"} 
[2026-08-28 23:13:20] local.INFO: Extracted packet for processing {"connection_id":163868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04974"} 
[2026-08-28 23:13:20] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:13:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:13:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712248576001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:13:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:13:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:13:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:13:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787938772000,"timestamp_ms":1787938772000,"timestamp_seconds":1787938772,"priority":1,"record_length":96,"hex_timestamp":"000001a049749420"} 
[2026-08-28 23:13:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:13:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:13:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-28 23:13:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:13:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:13:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:13:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:13:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:13:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:13:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:13:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:13:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:13:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:13:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712248576001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:13:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:13:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:13:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712248576001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:13:20] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:13:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:13:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:13:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:13:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712248576001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:13:20] local.INFO: DEBUG: GPS processor result {"connection_id":163868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711172,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:13:20] local.INFO: GPS data processed {"connection_id":163868,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:13:20] local.INFO: Acknowledgment sent {"connection_id":163868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:13:29] local.INFO: TCP Data received {"connection_id":163869,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:13:29] local.INFO: Processing buffer {"connection_id":163869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:13:29] local.INFO: IMEI packet received {"connection_id":163869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 23:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":163869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:13:34] local.INFO: TCP Data received {"connection_id":163869,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:13:34] local.INFO: Processing buffer {"connection_id":163869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:13:34] local.INFO: IMEI packet received {"connection_id":163869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 23:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":163869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:13:35] local.INFO: TCP Data received {"connection_id":163869,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049773400012d34c14006aa4840000700e629..."} 
[2026-08-28 23:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049773400012d34c14006aa4840000700e629..."} 
[2026-08-28 23:13:35] local.INFO: Processing buffer {"connection_id":163869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049773400012d34c14006aa4840000700e629..."} 
[2026-08-28 23:13:35] local.INFO: Packet analysis {"connection_id":163869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04977"} 
[2026-08-28 23:13:35] local.INFO: Extracted packet for processing {"connection_id":163869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04977"} 
[2026-08-28 23:13:35] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":7,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 23:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712292608001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:13:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 23:13:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787938944000,"timestamp_ms":1787938944000,"timestamp_seconds":1787938944,"priority":1,"record_length":96,"hex_timestamp":"000001a049773400"} 
[2026-08-28 23:13:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:13:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 23:13:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:13:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:13:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:13:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712292608001,"66":25288,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712292608001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:13:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:13:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:13: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-28 23:13:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 23:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712292608001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 23:13:35] local.INFO: DEBUG: GPS processor result {"connection_id":163869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:13:35] local.INFO: GPS data processed {"connection_id":163869,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:13:35] local.INFO: Acknowledgment sent {"connection_id":163869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:13:52] local.INFO: TCP Data received {"connection_id":163868,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049749420012d196580071ff008003d013926..."} 
[2026-08-28 23:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049749420012d196580071ff008003d013926..."} 
[2026-08-28 23:13:52] local.INFO: Processing buffer {"connection_id":163868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049749420012d196580071ff008003d013926..."} 
[2026-08-28 23:13:52] local.INFO: Packet analysis {"connection_id":163868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04974"} 
[2026-08-28 23:13:52] local.INFO: Extracted packet for processing {"connection_id":163868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04974"} 
[2026-08-28 23:13:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23: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-28 23:13:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712248576001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:13:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:13:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:13:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:13:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787938772000,"timestamp_ms":1787938772000,"timestamp_seconds":1787938772,"priority":1,"record_length":96,"hex_timestamp":"000001a049749420"} 
[2026-08-28 23: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-28 23:13:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-28 23:13:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23: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-28 23: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-28 23:13:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:13:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:13:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:13:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:13:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:13:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:13:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:13:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712248576001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:13:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:13:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:13:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712248576001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:13:52] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:13:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:13:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:13:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:13:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712248576001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:13:52] local.INFO: DEBUG: GPS processor result {"connection_id":163868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711174,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:13:52] local.INFO: GPS data processed {"connection_id":163868,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:13:52] local.INFO: Acknowledgment sent {"connection_id":163868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:13:55] local.INFO: TCP Data received {"connection_id":164163,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164163,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:13:55] local.INFO: Processing buffer {"connection_id":164163,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:13:55] local.INFO: IMEI packet received {"connection_id":164163,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 23:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":164163,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:14:01] local.INFO: TCP Data received {"connection_id":164163,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164163,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:14:01] local.INFO: Processing buffer {"connection_id":164163,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:14:01] local.INFO: IMEI packet received {"connection_id":164163,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 23:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":164163,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:14:02] local.INFO: TCP Data received {"connection_id":164163,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0497524a8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0497524a8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:14:02] local.INFO: Processing buffer {"connection_id":164163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0497524a8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:14:02] local.INFO: Packet analysis {"connection_id":164163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04975"} 
[2026-08-28 23:14:02] local.INFO: Extracted packet for processing {"connection_id":164163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04975"} 
[2026-08-28 23:14:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712258048001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:14:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:14:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787938809000,"timestamp_ms":1787938809000,"timestamp_seconds":1787938809,"priority":1,"record_length":96,"hex_timestamp":"000001a0497524a8"} 
[2026-08-28 23:14:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:14:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-28 23:14:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:14:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:14:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":164163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":164163,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":164163,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:14:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712258048001,"66":25245,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712258048001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:14:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:14:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:14:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712258048001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":164163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711175,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:14:02] local.INFO: GPS data processed {"connection_id":164163,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:14:02] local.INFO: Acknowledgment sent {"connection_id":164163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:14:07] local.INFO: TCP Data received {"connection_id":163869,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049773400012d34c14006aa4840000700e629..."} 
[2026-08-28 23:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049773400012d34c14006aa4840000700e629..."} 
[2026-08-28 23:14:07] local.INFO: Processing buffer {"connection_id":163869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049773400012d34c14006aa4840000700e629..."} 
[2026-08-28 23:14:07] local.INFO: Packet analysis {"connection_id":163869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04977"} 
[2026-08-28 23:14:07] local.INFO: Extracted packet for processing {"connection_id":163869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04977"} 
[2026-08-28 23:14:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":7,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 23:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712292608001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 23:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787938944000,"timestamp_ms":1787938944000,"timestamp_seconds":1787938944,"priority":1,"record_length":96,"hex_timestamp":"000001a049773400"} 
[2026-08-28 23:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:14:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 23:14:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:14:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":163869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":163869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":163869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:14:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712292608001,"66":25288,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712292608001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:14:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:14:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:14: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-28 23:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 23:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712292608001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 23:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":163869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:14:07] local.INFO: GPS data processed {"connection_id":163869,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:14:07] local.INFO: Acknowledgment sent {"connection_id":163869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:14:13] local.INFO: TCP Data received {"connection_id":164164,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:14:13] local.INFO: Processing buffer {"connection_id":164164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:14:13] local.INFO: IMEI packet received {"connection_id":164164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 23:14:13] local.INFO: IMEI acknowledgment sent {"connection_id":164164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:14:19] local.INFO: TCP Data received {"connection_id":164164,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:14:19] local.INFO: Processing buffer {"connection_id":164164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:14:19] local.INFO: IMEI packet received {"connection_id":164164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 23:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":164164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:14:20] local.INFO: TCP Data received {"connection_id":164164,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049749420012d196580071ff008003d013926..."} 
[2026-08-28 23:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049749420012d196580071ff008003d013926..."} 
[2026-08-28 23:14:20] local.INFO: Processing buffer {"connection_id":164164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049749420012d196580071ff008003d013926..."} 
[2026-08-28 23:14:20] local.INFO: Packet analysis {"connection_id":164164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04974"} 
[2026-08-28 23:14:20] local.INFO: Extracted packet for processing {"connection_id":164164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04974"} 
[2026-08-28 23:14:20] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:14:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712248576001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:14:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:14:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:14:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:14:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787938772000,"timestamp_ms":1787938772000,"timestamp_seconds":1787938772,"priority":1,"record_length":96,"hex_timestamp":"000001a049749420"} 
[2026-08-28 23:14:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:14:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-28 23:14:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:14:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:14:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:14:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:14:20] local.INFO: Teltonika packet parsed successfully {"connection_id":164164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:14:20] local.INFO: Passing IMEI to GPS processor {"connection_id":164164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:14:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":164164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:14:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:14:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:14:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:14:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712248576001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:14:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:14:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:14:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712248576001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:14:20] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:14:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:14:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:14:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:14:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712248576001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:14:20] local.INFO: DEBUG: GPS processor result {"connection_id":164164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711177,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:14:20] local.INFO: GPS data processed {"connection_id":164164,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:14:20] local.INFO: Acknowledgment sent {"connection_id":164164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:14:35] local.INFO: TCP Data received {"connection_id":164163,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0497524a8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0497524a8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:14:35] local.INFO: Processing buffer {"connection_id":164163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0497524a8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:14:35] local.INFO: Packet analysis {"connection_id":164163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04975"} 
[2026-08-28 23:14:35] local.INFO: Extracted packet for processing {"connection_id":164163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04975"} 
[2026-08-28 23:14:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712258048001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:14:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787938809000,"timestamp_ms":1787938809000,"timestamp_seconds":1787938809,"priority":1,"record_length":96,"hex_timestamp":"000001a0497524a8"} 
[2026-08-28 23:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:14:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-28 23:14:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:14:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":164163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":164163,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":164163,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:14:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712258048001,"66":25245,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712258048001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:14:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:14:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712258048001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":164163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711178,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:14:35] local.INFO: GPS data processed {"connection_id":164163,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:14:35] local.INFO: Acknowledgment sent {"connection_id":164163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:14:44] local.INFO: TCP Data received {"connection_id":164165,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:14:44] local.INFO: Processing buffer {"connection_id":164165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:14:44] local.INFO: IMEI packet received {"connection_id":164165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 23:14:44] local.INFO: IMEI acknowledgment sent {"connection_id":164165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:14:49] local.INFO: TCP Data received {"connection_id":164165,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:14:49] local.INFO: Processing buffer {"connection_id":164165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:14:49] local.INFO: IMEI packet received {"connection_id":164165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 23:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":164165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:14:50] local.INFO: TCP Data received {"connection_id":164165,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049773400012d34c14006aa4840000700e629..."} 
[2026-08-28 23:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049773400012d34c14006aa4840000700e629..."} 
[2026-08-28 23:14:50] local.INFO: Processing buffer {"connection_id":164165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049773400012d34c14006aa4840000700e629..."} 
[2026-08-28 23:14:50] local.INFO: Packet analysis {"connection_id":164165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04977"} 
[2026-08-28 23:14:50] local.INFO: Extracted packet for processing {"connection_id":164165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04977"} 
[2026-08-28 23:14:50] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":7,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 23:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:14:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712292608001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:14:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:14:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 23:14:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:14:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787938944000,"timestamp_ms":1787938944000,"timestamp_seconds":1787938944,"priority":1,"record_length":96,"hex_timestamp":"000001a049773400"} 
[2026-08-28 23:14:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:14:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 23:14: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-28 23:14:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:14:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:14:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:14:50] local.INFO: Teltonika packet parsed successfully {"connection_id":164165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:14:50] local.INFO: Passing IMEI to GPS processor {"connection_id":164165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:14:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":164165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:14:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:14:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:14:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:14:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712292608001,"66":25288,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:14:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:14:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:14:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712292608001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:14:50] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:14:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:14: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-28 23:14:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 23:14:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712292608001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 23:14:50] local.INFO: DEBUG: GPS processor result {"connection_id":164165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:14:50] local.INFO: GPS data processed {"connection_id":164165,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:14:50] local.INFO: Acknowledgment sent {"connection_id":164165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:14:55] local.INFO: TCP Data received {"connection_id":164165,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049773400012d34c14006aa4840000700e629..."} 
[2026-08-28 23:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049773400012d34c14006aa4840000700e629..."} 
[2026-08-28 23:14:55] local.INFO: Processing buffer {"connection_id":164165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049773400012d34c14006aa4840000700e629..."} 
[2026-08-28 23:14:55] local.INFO: Packet analysis {"connection_id":164165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04977"} 
[2026-08-28 23:14:55] local.INFO: Extracted packet for processing {"connection_id":164165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04977"} 
[2026-08-28 23:14:55] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":7,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 23:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712292608001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:14:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 23:14:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787938944000,"timestamp_ms":1787938944000,"timestamp_seconds":1787938944,"priority":1,"record_length":96,"hex_timestamp":"000001a049773400"} 
[2026-08-28 23:14:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:14:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 23:14:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:14:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:14:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":164165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":164165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":164165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:14:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712292608001,"66":25288,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712292608001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:14:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:14:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:14: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-28 23:14:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 23:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712292608001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 23:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":164165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:14:55] local.INFO: GPS data processed {"connection_id":164165,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:14:55] local.INFO: Acknowledgment sent {"connection_id":164165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:14:55] local.INFO: TCP Data received {"connection_id":163870,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163870,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:14:55] local.INFO: Processing buffer {"connection_id":163870,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:14:55] local.INFO: IMEI packet received {"connection_id":163870,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 23:14:55] local.INFO: IMEI acknowledgment sent {"connection_id":163870,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:14:56] local.INFO: TCP Data received {"connection_id":164164,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049749420012d196580071ff008003d013926..."} 
[2026-08-28 23:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049749420012d196580071ff008003d013926..."} 
[2026-08-28 23:14:56] local.INFO: Processing buffer {"connection_id":164164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049749420012d196580071ff008003d013926..."} 
[2026-08-28 23:14:56] local.INFO: Packet analysis {"connection_id":164164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04974"} 
[2026-08-28 23:14:56] local.INFO: Extracted packet for processing {"connection_id":164164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04974"} 
[2026-08-28 23:14:56] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:14:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712248576001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:14:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:14:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:14:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:14:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787938772000,"timestamp_ms":1787938772000,"timestamp_seconds":1787938772,"priority":1,"record_length":96,"hex_timestamp":"000001a049749420"} 
[2026-08-28 23:14:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:14:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-28 23:14:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:14:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:14:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:14:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:14:56] local.INFO: Teltonika packet parsed successfully {"connection_id":164164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:14:56] local.INFO: Passing IMEI to GPS processor {"connection_id":164164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:14:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":164164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:14:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:14:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:14:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:14:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712248576001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:14:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:14:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:14:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712248576001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:14:56] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:14:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:14:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:14:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:14:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712248576001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:14:56] local.INFO: DEBUG: GPS processor result {"connection_id":164164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711181,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:14:56] local.INFO: GPS data processed {"connection_id":164164,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:14:56] local.INFO: Acknowledgment sent {"connection_id":164164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:15:01] local.INFO: TCP Data received {"connection_id":163870,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163870,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:15:01] local.INFO: Processing buffer {"connection_id":163870,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:15:01] local.INFO: IMEI packet received {"connection_id":163870,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 23:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":163870,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:15:03] local.INFO: TCP Data received {"connection_id":163870,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0497524a8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0497524a8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:15:03] local.INFO: Processing buffer {"connection_id":163870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0497524a8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:15:03] local.INFO: Packet analysis {"connection_id":163870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04975"} 
[2026-08-28 23:15:03] local.INFO: Extracted packet for processing {"connection_id":163870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04975"} 
[2026-08-28 23:15:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712258048001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787938809000,"timestamp_ms":1787938809000,"timestamp_seconds":1787938809,"priority":1,"record_length":96,"hex_timestamp":"000001a0497524a8"} 
[2026-08-28 23:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:15:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-28 23:15:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:15:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163870,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163870,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712258048001,"66":25245,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712258048001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:15:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:15:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712258048001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":163870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711182,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:15:03] local.INFO: GPS data processed {"connection_id":163870,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:15:03] local.INFO: Acknowledgment sent {"connection_id":163870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:15:19] local.INFO: TCP Data received {"connection_id":164166,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164166,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:15:19] local.INFO: Processing buffer {"connection_id":164166,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:15:19] local.INFO: IMEI packet received {"connection_id":164166,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 23:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":164166,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:15:25] local.INFO: TCP Data received {"connection_id":164166,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164166,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:15:25] local.INFO: Processing buffer {"connection_id":164166,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:15:25] local.INFO: IMEI packet received {"connection_id":164166,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 23:15:25] local.INFO: IMEI acknowledgment sent {"connection_id":164166,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:15:30] local.INFO: TCP Data received {"connection_id":166508,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:15:30] local.INFO: Processing buffer {"connection_id":166508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:15:30] local.INFO: IMEI packet received {"connection_id":166508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 23:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":166508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:15:33] local.INFO: TCP Data received {"connection_id":164166,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049792be8012d196580071ff008003d013927..."} 
[2026-08-28 23:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049792be8012d196580071ff008003d013927..."} 
[2026-08-28 23:15:33] local.INFO: Processing buffer {"connection_id":164166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049792be8012d196580071ff008003d013927..."} 
[2026-08-28 23:15:33] local.INFO: Packet analysis {"connection_id":164166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04979"} 
[2026-08-28 23:15:33] local.INFO: Extracted packet for processing {"connection_id":164166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04979"} 
[2026-08-28 23:15:33] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23: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-28 23:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712325632001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:15:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787939073000,"timestamp_ms":1787939073000,"timestamp_seconds":1787939073,"priority":1,"record_length":96,"hex_timestamp":"000001a049792be8"} 
[2026-08-28 23: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-28 23:15:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 23:15:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23: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-28 23: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-28 23:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":164166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":164166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":164166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:15:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712325632001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712325632001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:15:33] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:15:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712325632001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":164166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711183,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:15:33] local.INFO: GPS data processed {"connection_id":164166,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:15:33] local.INFO: Acknowledgment sent {"connection_id":164166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:15:34] local.INFO: TCP Data received {"connection_id":164166,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049792be8012d196580071ff008003d013927..."} 
[2026-08-28 23:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049792be8012d196580071ff008003d013927..."} 
[2026-08-28 23:15:34] local.INFO: Processing buffer {"connection_id":164166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049792be8012d196580071ff008003d013927..."} 
[2026-08-28 23:15:34] local.INFO: Packet analysis {"connection_id":164166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04979"} 
[2026-08-28 23:15:34] local.INFO: Extracted packet for processing {"connection_id":164166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04979"} 
[2026-08-28 23:15:34] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712325632001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:15:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:15:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787939073000,"timestamp_ms":1787939073000,"timestamp_seconds":1787939073,"priority":1,"record_length":96,"hex_timestamp":"000001a049792be8"} 
[2026-08-28 23:15:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:15:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 23:15:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:15:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:15:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":164166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":164166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":164166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:15:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712325632001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712325632001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:15:34] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:15:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:15:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712325632001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":164166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711184,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:15:34] local.INFO: GPS data processed {"connection_id":164166,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:15:34] local.INFO: Acknowledgment sent {"connection_id":164166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:15:35] local.INFO: TCP Data received {"connection_id":163870,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0497524a8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0497524a8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:15:35] local.INFO: Processing buffer {"connection_id":163870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0497524a8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:15:35] local.INFO: Packet analysis {"connection_id":163870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04975"} 
[2026-08-28 23:15:35] local.INFO: Extracted packet for processing {"connection_id":163870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04975"} 
[2026-08-28 23:15:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712258048001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:15:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:15:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787938809000,"timestamp_ms":1787938809000,"timestamp_seconds":1787938809,"priority":1,"record_length":96,"hex_timestamp":"000001a0497524a8"} 
[2026-08-28 23:15:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:15:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-28 23:15:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:15:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:15:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":163870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":163870,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":163870,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:15:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712258048001,"66":25245,"106":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712258048001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:15:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:15:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:15:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:15:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712258048001,"power":25245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":163870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711185,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:15:35] local.INFO: GPS data processed {"connection_id":163870,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:15:35] local.INFO: Acknowledgment sent {"connection_id":163870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:15:35] local.INFO: TCP Data received {"connection_id":166508,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:15:35] local.INFO: Processing buffer {"connection_id":166508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:15:35] local.INFO: IMEI packet received {"connection_id":166508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 23:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":166508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:15:36] local.INFO: TCP Data received {"connection_id":166508,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049773400012d34c14006aa4840000700e629..."} 
[2026-08-28 23:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049773400012d34c14006aa4840000700e629..."} 
[2026-08-28 23:15:36] local.INFO: Processing buffer {"connection_id":166508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049773400012d34c14006aa4840000700e629..."} 
[2026-08-28 23:15:36] local.INFO: Packet analysis {"connection_id":166508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04977"} 
[2026-08-28 23:15:36] local.INFO: Extracted packet for processing {"connection_id":166508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04977"} 
[2026-08-28 23:15:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":7,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 23:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712292608001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 23:15:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787938944000,"timestamp_ms":1787938944000,"timestamp_seconds":1787938944,"priority":1,"record_length":96,"hex_timestamp":"000001a049773400"} 
[2026-08-28 23:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 23:15:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:15:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":166508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":166508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":166508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712292608001,"66":25288,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712292608001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:15:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:15:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 23:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712292608001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 23:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":166508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:15:36] local.INFO: GPS data processed {"connection_id":166508,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:15:36] local.INFO: Acknowledgment sent {"connection_id":166508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:15:55] local.INFO: TCP Data received {"connection_id":164167,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164167,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:15:55] local.INFO: Processing buffer {"connection_id":164167,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:15:55] local.INFO: IMEI packet received {"connection_id":164167,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 23:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":164167,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:16:01] local.INFO: TCP Data received {"connection_id":164167,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164167,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:16:01] local.INFO: Processing buffer {"connection_id":164167,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:16:01] local.INFO: IMEI packet received {"connection_id":164167,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 23:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":164167,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:16:03] local.INFO: TCP Data received {"connection_id":164167,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04979bc70012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04979bc70012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:16:03] local.INFO: Processing buffer {"connection_id":164167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04979bc70012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:16:03] local.INFO: Packet analysis {"connection_id":164167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04979"} 
[2026-08-28 23:16:03] local.INFO: Extracted packet for processing {"connection_id":164167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04979"} 
[2026-08-28 23:16:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712335104001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:16:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787939110000,"timestamp_ms":1787939110000,"timestamp_seconds":1787939110,"priority":1,"record_length":96,"hex_timestamp":"000001a04979bc70"} 
[2026-08-28 23:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:16:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-28 23:16:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:16:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":164167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":164167,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":164167,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:16:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712335104001,"66":25267,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712335104001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:16:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:16:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712335104001,"power":25267,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":164167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711187,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:16:03] local.INFO: GPS data processed {"connection_id":164167,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:16:03] local.INFO: Acknowledgment sent {"connection_id":164167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:16:08] local.INFO: TCP Data received {"connection_id":166508,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049773400012d34c14006aa4840000700e629..."} 
[2026-08-28 23:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049773400012d34c14006aa4840000700e629..."} 
[2026-08-28 23:16:08] local.INFO: Processing buffer {"connection_id":166508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049773400012d34c14006aa4840000700e629..."} 
[2026-08-28 23:16:08] local.INFO: Packet analysis {"connection_id":166508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04977"} 
[2026-08-28 23:16:08] local.INFO: Extracted packet for processing {"connection_id":166508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04977"} 
[2026-08-28 23:16:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":7,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 23: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-28 23:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712292608001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 23:16:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787938944000,"timestamp_ms":1787938944000,"timestamp_seconds":1787938944,"priority":1,"record_length":96,"hex_timestamp":"000001a049773400"} 
[2026-08-28 23: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-28 23:16:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 23:16:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23: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-28 23: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-28 23:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":166508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":166508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":166508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:16:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712292608001,"66":25288,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712292608001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:16:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:16:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:16: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-28 23:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 23:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712292608001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 23:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":166508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:16:08] local.INFO: GPS data processed {"connection_id":166508,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:16:08] local.INFO: Acknowledgment sent {"connection_id":166508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:16:13] local.INFO: TCP Data received {"connection_id":163871,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163871,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:16:13] local.INFO: Processing buffer {"connection_id":163871,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:16:13] local.INFO: IMEI packet received {"connection_id":163871,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 23:16:13] local.INFO: IMEI acknowledgment sent {"connection_id":163871,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:16:19] local.INFO: TCP Data received {"connection_id":163871,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163871,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:16:19] local.INFO: Processing buffer {"connection_id":163871,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:16:19] local.INFO: IMEI packet received {"connection_id":163871,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 23:16:19] local.INFO: IMEI acknowledgment sent {"connection_id":163871,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:16:21] local.INFO: TCP Data received {"connection_id":163871,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049792be8012d196580071ff008003d013927..."} 
[2026-08-28 23:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049792be8012d196580071ff008003d013927..."} 
[2026-08-28 23:16:21] local.INFO: Processing buffer {"connection_id":163871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049792be8012d196580071ff008003d013927..."} 
[2026-08-28 23:16:21] local.INFO: Packet analysis {"connection_id":163871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04979"} 
[2026-08-28 23:16:21] local.INFO: Extracted packet for processing {"connection_id":163871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04979"} 
[2026-08-28 23:16:21] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:16:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:16:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712325632001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:16:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:16:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:16:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:16:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787939073000,"timestamp_ms":1787939073000,"timestamp_seconds":1787939073,"priority":1,"record_length":96,"hex_timestamp":"000001a049792be8"} 
[2026-08-28 23:16:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:16:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:16:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 23:16:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:16:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:16:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:16:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:16:21] local.INFO: Teltonika packet parsed successfully {"connection_id":163871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:16:21] local.INFO: Passing IMEI to GPS processor {"connection_id":163871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:16:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":163871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:16:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:16:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:16:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:16:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712325632001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:16:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:16:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:16:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712325632001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:16:21] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:16:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:16:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:16:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:16:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712325632001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:16:22] local.INFO: DEBUG: GPS processor result {"connection_id":163871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711189,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:16:22] local.INFO: GPS data processed {"connection_id":163871,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:16:22] local.INFO: Acknowledgment sent {"connection_id":163871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:16:30] local.INFO: TCP Data received {"connection_id":163872,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:16:30] local.INFO: Processing buffer {"connection_id":163872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:16:30] local.INFO: IMEI packet received {"connection_id":163872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 23:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":163872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:16:35] local.INFO: TCP Data received {"connection_id":163872,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:16:35] local.INFO: Processing buffer {"connection_id":163872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:16:35] local.INFO: IMEI packet received {"connection_id":163872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 23:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":163872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:16:36] local.INFO: TCP Data received {"connection_id":163872,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049773400012d34c14006aa4840000700e629..."} 
[2026-08-28 23:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049773400012d34c14006aa4840000700e629..."} 
[2026-08-28 23:16:36] local.INFO: Processing buffer {"connection_id":163872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049773400012d34c14006aa4840000700e629..."} 
[2026-08-28 23:16:36] local.INFO: Packet analysis {"connection_id":163872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04977"} 
[2026-08-28 23:16:36] local.INFO: Extracted packet for processing {"connection_id":163872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04977"} 
[2026-08-28 23:16:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":7,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 23:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712292608001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 23:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787938944000,"timestamp_ms":1787938944000,"timestamp_seconds":1787938944,"priority":1,"record_length":96,"hex_timestamp":"000001a049773400"} 
[2026-08-28 23:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 23:16:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:16:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712292608001,"66":25288,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712292608001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:16:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:16:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 23:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712292608001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 23:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":163872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:16:36] local.INFO: GPS data processed {"connection_id":163872,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:16:36] local.INFO: Acknowledgment sent {"connection_id":163872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:16:37] local.INFO: TCP Data received {"connection_id":164167,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04979bc70012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04979bc70012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:16:37] local.INFO: Processing buffer {"connection_id":164167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04979bc70012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:16:37] local.INFO: Packet analysis {"connection_id":164167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04979"} 
[2026-08-28 23:16:37] local.INFO: Extracted packet for processing {"connection_id":164167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04979"} 
[2026-08-28 23:16:37] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23: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-28 23:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712335104001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787939110000,"timestamp_ms":1787939110000,"timestamp_seconds":1787939110,"priority":1,"record_length":96,"hex_timestamp":"000001a04979bc70"} 
[2026-08-28 23: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-28 23:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-28 23:16:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:16:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23: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-28 23:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":164167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":164167,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":164167,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712335104001,"66":25267,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712335104001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:16:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:16:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712335104001,"power":25267,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":164167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711191,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:16:37] local.INFO: GPS data processed {"connection_id":164167,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:16:37] local.INFO: Acknowledgment sent {"connection_id":164167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:16:54] local.INFO: TCP Data received {"connection_id":163871,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049792be8012d196580071ff008003d013927..."} 
[2026-08-28 23:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049792be8012d196580071ff008003d013927..."} 
[2026-08-28 23:16:54] local.INFO: Processing buffer {"connection_id":163871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049792be8012d196580071ff008003d013927..."} 
[2026-08-28 23:16:54] local.INFO: Packet analysis {"connection_id":163871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04979"} 
[2026-08-28 23:16:54] local.INFO: Extracted packet for processing {"connection_id":163871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04979"} 
[2026-08-28 23:16:54] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:16:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712325632001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:16:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:16:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:16:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:16:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787939073000,"timestamp_ms":1787939073000,"timestamp_seconds":1787939073,"priority":1,"record_length":96,"hex_timestamp":"000001a049792be8"} 
[2026-08-28 23:16:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:16:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 23:16:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:16:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:16:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:16:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:16:54] local.INFO: Teltonika packet parsed successfully {"connection_id":163871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:16:54] local.INFO: Passing IMEI to GPS processor {"connection_id":163871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:16:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":163871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:16:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:16:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:16:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:16:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712325632001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:16:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:16:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:16:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712325632001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:16:54] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:16:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:16:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:16:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:16:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712325632001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:16:54] local.INFO: DEBUG: GPS processor result {"connection_id":163871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711192,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:16:54] local.INFO: GPS data processed {"connection_id":163871,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:16:54] local.INFO: Acknowledgment sent {"connection_id":163871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:17:01] local.INFO: TCP Data received {"connection_id":165147,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165147,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:17:01] local.INFO: Processing buffer {"connection_id":165147,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:17:01] local.INFO: IMEI packet received {"connection_id":165147,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 23:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":165147,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:17:06] local.INFO: TCP Data received {"connection_id":165147,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165147,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:17:06] local.INFO: Processing buffer {"connection_id":165147,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:17:06] local.INFO: IMEI packet received {"connection_id":165147,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 23:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":165147,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:17:07] local.INFO: TCP Data received {"connection_id":163872,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049773400012d34c14006aa4840000700e629..."} 
[2026-08-28 23:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049773400012d34c14006aa4840000700e629..."} 
[2026-08-28 23:17:07] local.INFO: Processing buffer {"connection_id":163872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049773400012d34c14006aa4840000700e629..."} 
[2026-08-28 23:17:07] local.INFO: Packet analysis {"connection_id":163872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04977"} 
[2026-08-28 23:17:07] local.INFO: Extracted packet for processing {"connection_id":163872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04977"} 
[2026-08-28 23:17:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":7,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 23:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712292608001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 23:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787938944000,"timestamp_ms":1787938944000,"timestamp_seconds":1787938944,"priority":1,"record_length":96,"hex_timestamp":"000001a049773400"} 
[2026-08-28 23:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:17:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 23:17:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:17:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":163872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":163872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":163872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712292608001,"66":25288,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712292608001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:17:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:17:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:17: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-28 23:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 23:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712292608001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 23:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":163872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:17:07] local.INFO: GPS data processed {"connection_id":163872,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:17:07] local.INFO: Acknowledgment sent {"connection_id":163872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:17:08] local.INFO: TCP Data received {"connection_id":165147,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04979bc70012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04979bc70012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:17:08] local.INFO: Processing buffer {"connection_id":165147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04979bc70012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:17:08] local.INFO: Packet analysis {"connection_id":165147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04979"} 
[2026-08-28 23:17:08] local.INFO: Extracted packet for processing {"connection_id":165147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04979"} 
[2026-08-28 23:17:08] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712335104001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787939110000,"timestamp_ms":1787939110000,"timestamp_seconds":1787939110,"priority":1,"record_length":96,"hex_timestamp":"000001a04979bc70"} 
[2026-08-28 23:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:17:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-28 23:17:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:17:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":165147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":165147,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":165147,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712335104001,"66":25267,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712335104001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:17:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:17:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712335104001,"power":25267,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:17:08] 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":711194,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:17:08] local.INFO: GPS data processed {"connection_id":165147,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:17:08] local.INFO: Acknowledgment sent {"connection_id":165147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:17:12] local.INFO: TCP Data received {"connection_id":165147,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04979bc70012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04979bc70012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:17:12] local.INFO: Processing buffer {"connection_id":165147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04979bc70012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:17:12] local.INFO: Packet analysis {"connection_id":165147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04979"} 
[2026-08-28 23:17:12] local.INFO: Extracted packet for processing {"connection_id":165147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04979"} 
[2026-08-28 23:17:12] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712335104001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:17:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:17:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787939110000,"timestamp_ms":1787939110000,"timestamp_seconds":1787939110,"priority":1,"record_length":96,"hex_timestamp":"000001a04979bc70"} 
[2026-08-28 23:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:17:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-28 23:17:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:17:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":165147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":165147,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":165147,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:17:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712335104001,"66":25267,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712335104001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:17:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:17:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:17:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712335104001,"power":25267,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:17:12] 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":711195,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:17:12] local.INFO: GPS data processed {"connection_id":165147,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:17:12] local.INFO: Acknowledgment sent {"connection_id":165147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:17:19] local.INFO: TCP Data received {"connection_id":165148,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165148,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:17:19] local.INFO: Processing buffer {"connection_id":165148,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:17:19] local.INFO: IMEI packet received {"connection_id":165148,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 23:17:19] local.INFO: IMEI acknowledgment sent {"connection_id":165148,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:17:24] local.INFO: TCP Data received {"connection_id":165148,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165148,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:17:24] local.INFO: Processing buffer {"connection_id":165148,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:17:24] local.INFO: IMEI packet received {"connection_id":165148,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 23:17:24] local.INFO: IMEI acknowledgment sent {"connection_id":165148,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:17:25] local.INFO: TCP Data received {"connection_id":165148,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049792be8012d196580071ff008003d013927..."} 
[2026-08-28 23:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049792be8012d196580071ff008003d013927..."} 
[2026-08-28 23:17:25] local.INFO: Processing buffer {"connection_id":165148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049792be8012d196580071ff008003d013927..."} 
[2026-08-28 23:17:25] local.INFO: Packet analysis {"connection_id":165148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04979"} 
[2026-08-28 23:17:25] local.INFO: Extracted packet for processing {"connection_id":165148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04979"} 
[2026-08-28 23:17:25] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:17:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:17:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712325632001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:17:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:17:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:17:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:17:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787939073000,"timestamp_ms":1787939073000,"timestamp_seconds":1787939073,"priority":1,"record_length":96,"hex_timestamp":"000001a049792be8"} 
[2026-08-28 23:17:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:17:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:17:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 23:17:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:17:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:17:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:17:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:17:25] local.INFO: Teltonika packet parsed successfully {"connection_id":165148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:17:25] local.INFO: Passing IMEI to GPS processor {"connection_id":165148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:17:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":165148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:17:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:17:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:17:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:17:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712325632001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:17:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:17:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:17:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712325632001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:17:25] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:17:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:17:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:17:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:17:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712325632001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:17:25] 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":711196,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:17:25] local.INFO: GPS data processed {"connection_id":165148,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:17:25] local.INFO: Acknowledgment sent {"connection_id":165148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:17:29] local.INFO: TCP Data received {"connection_id":163873,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:17:29] local.INFO: Processing buffer {"connection_id":163873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:17:29] local.INFO: IMEI packet received {"connection_id":163873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 23:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":163873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:17:30] local.INFO: TCP Data received {"connection_id":165148,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049792be8012d196580071ff008003d013927..."} 
[2026-08-28 23:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049792be8012d196580071ff008003d013927..."} 
[2026-08-28 23:17:30] local.INFO: Processing buffer {"connection_id":165148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049792be8012d196580071ff008003d013927..."} 
[2026-08-28 23:17:30] local.INFO: Packet analysis {"connection_id":165148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04979"} 
[2026-08-28 23:17:30] local.INFO: Extracted packet for processing {"connection_id":165148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04979"} 
[2026-08-28 23:17:30] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712325632001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:17:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:17:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787939073000,"timestamp_ms":1787939073000,"timestamp_seconds":1787939073,"priority":1,"record_length":96,"hex_timestamp":"000001a049792be8"} 
[2026-08-28 23:17:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:17:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 23:17:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:17:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:17:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":165148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":165148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":165148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:17:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712325632001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712325632001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:17:30] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:17:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:17:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712325632001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:17:30] 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":711197,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:17:30] local.INFO: GPS data processed {"connection_id":165148,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:17:30] local.INFO: Acknowledgment sent {"connection_id":165148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:17:35] local.INFO: TCP Data received {"connection_id":163873,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:17:35] local.INFO: Processing buffer {"connection_id":163873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:17:35] local.INFO: IMEI packet received {"connection_id":163873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 23:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":163873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:17:36] local.INFO: TCP Data received {"connection_id":163873,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049773400012d34c14006aa4840000700e629..."} 
[2026-08-28 23:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049773400012d34c14006aa4840000700e629..."} 
[2026-08-28 23:17:36] local.INFO: Processing buffer {"connection_id":163873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049773400012d34c14006aa4840000700e629..."} 
[2026-08-28 23:17:36] local.INFO: Packet analysis {"connection_id":163873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04977"} 
[2026-08-28 23:17:36] local.INFO: Extracted packet for processing {"connection_id":163873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04977"} 
[2026-08-28 23:17:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":7,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 23:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712292608001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 23:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787938944000,"timestamp_ms":1787938944000,"timestamp_seconds":1787938944,"priority":1,"record_length":96,"hex_timestamp":"000001a049773400"} 
[2026-08-28 23:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 23:17:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:17:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:17:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712292608001,"66":25288,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712292608001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:17:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:17:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 23:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712292608001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 23:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":163873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:17:36] local.INFO: GPS data processed {"connection_id":163873,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:17:36] local.INFO: Acknowledgment sent {"connection_id":163873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:17:55] local.INFO: TCP Data received {"connection_id":166509,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166509,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:17:55] local.INFO: Processing buffer {"connection_id":166509,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:17:55] local.INFO: IMEI packet received {"connection_id":166509,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 23:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":166509,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:18:01] local.INFO: TCP Data received {"connection_id":166509,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166509,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:18:01] local.INFO: Processing buffer {"connection_id":166509,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:18:01] local.INFO: IMEI packet received {"connection_id":166509,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 23:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":166509,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:18:02] local.INFO: TCP Data received {"connection_id":166509,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04979bc70012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04979bc70012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:18:02] local.INFO: Processing buffer {"connection_id":166509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04979bc70012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:18:02] local.INFO: Packet analysis {"connection_id":166509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04979"} 
[2026-08-28 23:18:02] local.INFO: Extracted packet for processing {"connection_id":166509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04979"} 
[2026-08-28 23:18:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:18:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:18:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712335104001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:18:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:18:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:18:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:18:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787939110000,"timestamp_ms":1787939110000,"timestamp_seconds":1787939110,"priority":1,"record_length":96,"hex_timestamp":"000001a04979bc70"} 
[2026-08-28 23:18:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:18:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:18:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-28 23:18:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:18:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:18:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:18:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:18:02] local.INFO: Teltonika packet parsed successfully {"connection_id":166509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:18:02] local.INFO: Passing IMEI to GPS processor {"connection_id":166509,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:18:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":166509,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:18:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:18:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:18:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:18:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712335104001,"66":25267,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:18:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:18:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:18:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712335104001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:18:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:18:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:18:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:18:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:18:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712335104001,"power":25267,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:18:02] local.INFO: DEBUG: GPS processor result {"connection_id":166509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711199,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:18:02] local.INFO: GPS data processed {"connection_id":166509,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:18:02] local.INFO: Acknowledgment sent {"connection_id":166509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:18:08] local.INFO: TCP Data received {"connection_id":163873,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0497bcbc8012d34c14006aa4840000c00e629..."} 
[2026-08-28 23:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0497bcbc8012d34c14006aa4840000c00e629..."} 
[2026-08-28 23:18:08] local.INFO: Processing buffer {"connection_id":163873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0497bcbc8012d34c14006aa4840000c00e629..."} 
[2026-08-28 23:18:08] local.INFO: Packet analysis {"connection_id":163873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0497b"} 
[2026-08-28 23:18:08] local.INFO: Extracted packet for processing {"connection_id":163873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0497b"} 
[2026-08-28 23:18:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 23:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712369664001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 23:18:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787939245000,"timestamp_ms":1787939245000,"timestamp_seconds":1787939245,"priority":1,"record_length":96,"hex_timestamp":"000001a0497bcbc8"} 
[2026-08-28 23:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:18:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 23:18:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:18:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:18:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712369664001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712369664001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:18:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:18:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:18: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-28 23:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 23:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712369664001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 23:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":163873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:18:08] local.INFO: GPS data processed {"connection_id":163873,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:18:08] local.INFO: Acknowledgment sent {"connection_id":163873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:18:14] local.INFO: TCP Data received {"connection_id":164168,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164168,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:18:14] local.INFO: Processing buffer {"connection_id":164168,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:18:14] local.INFO: IMEI packet received {"connection_id":164168,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 23:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":164168,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:18:19] local.INFO: TCP Data received {"connection_id":164168,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164168,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:18:19] local.INFO: Processing buffer {"connection_id":164168,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:18:19] local.INFO: IMEI packet received {"connection_id":164168,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 23:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":164168,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:18:21] local.INFO: TCP Data received {"connection_id":164168,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049792be8012d196580071ff008003d013927..."} 
[2026-08-28 23:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049792be8012d196580071ff008003d013927..."} 
[2026-08-28 23:18:21] local.INFO: Processing buffer {"connection_id":164168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049792be8012d196580071ff008003d013927..."} 
[2026-08-28 23:18:21] local.INFO: Packet analysis {"connection_id":164168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04979"} 
[2026-08-28 23:18:21] local.INFO: Extracted packet for processing {"connection_id":164168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04979"} 
[2026-08-28 23:18:21] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:18:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712325632001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:18:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:18:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:18:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:18:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787939073000,"timestamp_ms":1787939073000,"timestamp_seconds":1787939073,"priority":1,"record_length":96,"hex_timestamp":"000001a049792be8"} 
[2026-08-28 23:18:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:18:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 23:18:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:18:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:18:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:18:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:18:21] local.INFO: Teltonika packet parsed successfully {"connection_id":164168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:18:21] local.INFO: Passing IMEI to GPS processor {"connection_id":164168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:18:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":164168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:18:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:18:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:18:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:18:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712325632001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:18:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:18:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:18:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712325632001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:18:21] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:18:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:18:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:18:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:18:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712325632001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:18:21] local.INFO: DEBUG: GPS processor result {"connection_id":164168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711201,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:18:21] local.INFO: GPS data processed {"connection_id":164168,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:18:21] local.INFO: Acknowledgment sent {"connection_id":164168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:18:35] local.INFO: TCP Data received {"connection_id":166510,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:18:35] local.INFO: Processing buffer {"connection_id":166510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:18:35] local.INFO: IMEI packet received {"connection_id":166510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 23:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":166510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:18:35] local.INFO: TCP Data received {"connection_id":166509,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04979bc70012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04979bc70012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:18:35] local.INFO: Processing buffer {"connection_id":166509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04979bc70012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:18:35] local.INFO: Packet analysis {"connection_id":166509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04979"} 
[2026-08-28 23:18:35] local.INFO: Extracted packet for processing {"connection_id":166509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04979"} 
[2026-08-28 23:18:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:18:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712335104001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:18:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:18:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:18:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:18:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787939110000,"timestamp_ms":1787939110000,"timestamp_seconds":1787939110,"priority":1,"record_length":96,"hex_timestamp":"000001a04979bc70"} 
[2026-08-28 23:18:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:18:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-28 23:18:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:18:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:18:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:18:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:18:35] local.INFO: Teltonika packet parsed successfully {"connection_id":166509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:18:35] local.INFO: Passing IMEI to GPS processor {"connection_id":166509,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:18:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":166509,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:18:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:18:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:18:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:18:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712335104001,"66":25267,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:18:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:18:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:18:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712335104001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:18:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:18:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:18:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:18:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:18:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712335104001,"power":25267,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:18:35] local.INFO: DEBUG: GPS processor result {"connection_id":166509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711202,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:18:35] local.INFO: GPS data processed {"connection_id":166509,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:18:35] local.INFO: Acknowledgment sent {"connection_id":166509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:18:40] local.INFO: TCP Data received {"connection_id":166510,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:18:40] local.INFO: Processing buffer {"connection_id":166510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:18:40] local.INFO: IMEI packet received {"connection_id":166510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 23:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":166510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:18:40] local.INFO: TCP Data received {"connection_id":166510,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0497bcbc8012d34c14006aa4840000c00e629..."} 
[2026-08-28 23:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0497bcbc8012d34c14006aa4840000c00e629..."} 
[2026-08-28 23:18:40] local.INFO: Processing buffer {"connection_id":166510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0497bcbc8012d34c14006aa4840000c00e629..."} 
[2026-08-28 23:18:40] local.INFO: Packet analysis {"connection_id":166510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0497b"} 
[2026-08-28 23:18:40] local.INFO: Extracted packet for processing {"connection_id":166510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0497b"} 
[2026-08-28 23:18:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 23:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:18:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712369664001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:18:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:18:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 23:18:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:18:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787939245000,"timestamp_ms":1787939245000,"timestamp_seconds":1787939245,"priority":1,"record_length":96,"hex_timestamp":"000001a0497bcbc8"} 
[2026-08-28 23:18:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:18:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 23:18:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:18:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:18:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:18:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:18:40] local.INFO: Teltonika packet parsed successfully {"connection_id":166510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:18:40] local.INFO: Passing IMEI to GPS processor {"connection_id":166510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:18:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":166510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:18:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:18:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:18:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:18:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712369664001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:18:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:18:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:18:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712369664001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:18:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:18:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:18: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-28 23:18:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 23:18:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712369664001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 23:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":166510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:18:41] local.INFO: GPS data processed {"connection_id":166510,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:18:41] local.INFO: Acknowledgment sent {"connection_id":166510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:18:52] local.INFO: TCP Data received {"connection_id":164168,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049792be8012d196580071ff008003d013927..."} 
[2026-08-28 23:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049792be8012d196580071ff008003d013927..."} 
[2026-08-28 23:18:52] local.INFO: Processing buffer {"connection_id":164168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049792be8012d196580071ff008003d013927..."} 
[2026-08-28 23:18:52] local.INFO: Packet analysis {"connection_id":164168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04979"} 
[2026-08-28 23:18:52] local.INFO: Extracted packet for processing {"connection_id":164168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04979"} 
[2026-08-28 23:18:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:18:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712325632001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:18:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:18:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:18:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:18:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787939073000,"timestamp_ms":1787939073000,"timestamp_seconds":1787939073,"priority":1,"record_length":96,"hex_timestamp":"000001a049792be8"} 
[2026-08-28 23:18:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:18:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 23:18:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:18:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:18:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:18:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:18:52] local.INFO: Teltonika packet parsed successfully {"connection_id":164168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:18:52] local.INFO: Passing IMEI to GPS processor {"connection_id":164168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:18:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":164168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:18:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:18:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:18:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:18:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712325632001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:18:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:18:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:18:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712325632001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:18:52] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:18:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:18:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:18:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:18:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712325632001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:18:52] local.INFO: DEBUG: GPS processor result {"connection_id":164168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711204,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:18:52] local.INFO: GPS data processed {"connection_id":164168,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:18:52] local.INFO: Acknowledgment sent {"connection_id":164168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:18:55] local.INFO: TCP Data received {"connection_id":165149,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165149,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:18:55] local.INFO: Processing buffer {"connection_id":165149,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:18:55] local.INFO: IMEI packet received {"connection_id":165149,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 23:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":165149,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:19:01] local.INFO: TCP Data received {"connection_id":165149,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165149,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:19:01] local.INFO: Processing buffer {"connection_id":165149,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:19:01] local.INFO: IMEI packet received {"connection_id":165149,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 23:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":165149,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:19:02] local.INFO: TCP Data received {"connection_id":165149,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04979bc70012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04979bc70012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:19:02] local.INFO: Processing buffer {"connection_id":165149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04979bc70012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:19:02] local.INFO: Packet analysis {"connection_id":165149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04979"} 
[2026-08-28 23:19:02] local.INFO: Extracted packet for processing {"connection_id":165149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04979"} 
[2026-08-28 23:19:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:19:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712335104001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:19:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:19:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:19:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:19:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787939110000,"timestamp_ms":1787939110000,"timestamp_seconds":1787939110,"priority":1,"record_length":96,"hex_timestamp":"000001a04979bc70"} 
[2026-08-28 23:19:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:19:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-28 23:19:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:19:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:19:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:19:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:19:02] local.INFO: Teltonika packet parsed successfully {"connection_id":165149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:19:02] local.INFO: Passing IMEI to GPS processor {"connection_id":165149,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:19:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":165149,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:19:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:19:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:19:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:19:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712335104001,"66":25267,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:19:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:19:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:19:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712335104001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:19:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:19:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:19:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:19:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:19:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712335104001,"power":25267,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:19:02] 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":711205,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:19:02] local.INFO: GPS data processed {"connection_id":165149,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:19:02] local.INFO: Acknowledgment sent {"connection_id":165149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:19:12] local.INFO: TCP Data received {"connection_id":166510,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0497bcbc8012d34c14006aa4840000c00e629..."} 
[2026-08-28 23:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0497bcbc8012d34c14006aa4840000c00e629..."} 
[2026-08-28 23:19:12] local.INFO: Processing buffer {"connection_id":166510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0497bcbc8012d34c14006aa4840000c00e629..."} 
[2026-08-28 23:19:12] local.INFO: Packet analysis {"connection_id":166510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0497b"} 
[2026-08-28 23:19:12] local.INFO: Extracted packet for processing {"connection_id":166510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0497b"} 
[2026-08-28 23:19:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 23:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712369664001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:19:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 23:19:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787939245000,"timestamp_ms":1787939245000,"timestamp_seconds":1787939245,"priority":1,"record_length":96,"hex_timestamp":"000001a0497bcbc8"} 
[2026-08-28 23:19:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:19:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 23:19:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:19:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:19:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":166510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":166510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":166510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:19:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712369664001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712369664001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:19:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:19:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:19: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-28 23:19:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 23:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712369664001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 23:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":166510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:19:12] local.INFO: GPS data processed {"connection_id":166510,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:19:12] local.INFO: Acknowledgment sent {"connection_id":166510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:19:19] local.INFO: TCP Data received {"connection_id":163874,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163874,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:19:19] local.INFO: Processing buffer {"connection_id":163874,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:19:19] local.INFO: IMEI packet received {"connection_id":163874,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 23:19:19] local.INFO: IMEI acknowledgment sent {"connection_id":163874,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:19:24] local.INFO: TCP Data received {"connection_id":163874,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163874,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:19:24] local.INFO: Processing buffer {"connection_id":163874,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:19:24] local.INFO: IMEI packet received {"connection_id":163874,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 23:19:24] local.INFO: IMEI acknowledgment sent {"connection_id":163874,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:19:25] local.INFO: TCP Data received {"connection_id":163874,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049792be8012d196580071ff008003d013927..."} 
[2026-08-28 23:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049792be8012d196580071ff008003d013927..."} 
[2026-08-28 23:19:25] local.INFO: Processing buffer {"connection_id":163874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049792be8012d196580071ff008003d013927..."} 
[2026-08-28 23:19:25] local.INFO: Packet analysis {"connection_id":163874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04979"} 
[2026-08-28 23:19:25] local.INFO: Extracted packet for processing {"connection_id":163874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04979"} 
[2026-08-28 23:19:25] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:19:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712325632001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:19:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:19:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:19:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:19:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787939073000,"timestamp_ms":1787939073000,"timestamp_seconds":1787939073,"priority":1,"record_length":96,"hex_timestamp":"000001a049792be8"} 
[2026-08-28 23:19:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:19:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 23:19:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:19:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:19:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:19:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:19:25] local.INFO: Teltonika packet parsed successfully {"connection_id":163874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:19:25] local.INFO: Passing IMEI to GPS processor {"connection_id":163874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:19:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":163874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:19:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:19:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:19:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:19:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712325632001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:19:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:19:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:19:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712325632001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:19:25] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:19:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:19:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:19:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:19:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712325632001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:19:25] local.INFO: DEBUG: GPS processor result {"connection_id":163874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711207,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:19:25] local.INFO: GPS data processed {"connection_id":163874,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:19:25] local.INFO: Acknowledgment sent {"connection_id":163874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:19:29] local.INFO: TCP Data received {"connection_id":163875,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:19:29] local.INFO: Processing buffer {"connection_id":163875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:19:29] local.INFO: IMEI packet received {"connection_id":163875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 23:19:29] local.INFO: IMEI acknowledgment sent {"connection_id":163875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:19:30] local.INFO: TCP Data received {"connection_id":163874,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049792be8012d196580071ff008003d013927..."} 
[2026-08-28 23:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049792be8012d196580071ff008003d013927..."} 
[2026-08-28 23:19:30] local.INFO: Processing buffer {"connection_id":163874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049792be8012d196580071ff008003d013927..."} 
[2026-08-28 23:19:30] local.INFO: Packet analysis {"connection_id":163874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04979"} 
[2026-08-28 23:19:30] local.INFO: Extracted packet for processing {"connection_id":163874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04979"} 
[2026-08-28 23:19:30] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":39,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:19:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712325632001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:19:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:19:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:19:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:19:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787939073000,"timestamp_ms":1787939073000,"timestamp_seconds":1787939073,"priority":1,"record_length":96,"hex_timestamp":"000001a049792be8"} 
[2026-08-28 23:19:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:19:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 23:19:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:19:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:19:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:19:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:19:30] local.INFO: Teltonika packet parsed successfully {"connection_id":163874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:19:30] local.INFO: Passing IMEI to GPS processor {"connection_id":163874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:19:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":163874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:19:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:19:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:19:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:19:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712325632001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:19:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:19:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:19:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712325632001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:19:30] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:19:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:19:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:19:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:19:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712325632001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:19:30] local.INFO: DEBUG: GPS processor result {"connection_id":163874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711208,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:19:30] local.INFO: GPS data processed {"connection_id":163874,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:19:30] local.INFO: Acknowledgment sent {"connection_id":163874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:19:35] local.INFO: TCP Data received {"connection_id":163875,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:19:35] local.INFO: Processing buffer {"connection_id":163875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:19:35] local.INFO: IMEI packet received {"connection_id":163875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 23:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":163875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:19:35] local.INFO: TCP Data received {"connection_id":165149,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04979bc70012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04979bc70012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:19:35] local.INFO: Processing buffer {"connection_id":165149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04979bc70012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:19:35] local.INFO: Packet analysis {"connection_id":165149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04979"} 
[2026-08-28 23:19:35] local.INFO: Extracted packet for processing {"connection_id":165149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04979"} 
[2026-08-28 23:19:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712335104001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:19:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:19:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787939110000,"timestamp_ms":1787939110000,"timestamp_seconds":1787939110,"priority":1,"record_length":96,"hex_timestamp":"000001a04979bc70"} 
[2026-08-28 23:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:19:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-28 23:19:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:19:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":165149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":165149,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":165149,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:19:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712335104001,"66":25267,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712335104001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:19:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:19:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:19:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712335104001,"power":25267,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:19:35] 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":711209,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:19:35] local.INFO: GPS data processed {"connection_id":165149,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:19:35] local.INFO: Acknowledgment sent {"connection_id":165149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:19:37] local.INFO: TCP Data received {"connection_id":163875,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0497bcbc8012d34c14006aa4840000c00e629..."} 
[2026-08-28 23:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0497bcbc8012d34c14006aa4840000c00e629..."} 
[2026-08-28 23:19:37] local.INFO: Processing buffer {"connection_id":163875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0497bcbc8012d34c14006aa4840000c00e629..."} 
[2026-08-28 23:19:37] local.INFO: Packet analysis {"connection_id":163875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0497b"} 
[2026-08-28 23:19:37] local.INFO: Extracted packet for processing {"connection_id":163875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0497b"} 
[2026-08-28 23:19:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 23:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712369664001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 23:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787939245000,"timestamp_ms":1787939245000,"timestamp_seconds":1787939245,"priority":1,"record_length":96,"hex_timestamp":"000001a0497bcbc8"} 
[2026-08-28 23:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 23:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":163875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":163875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":163875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712369664001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712369664001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:19:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:19:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:19: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-28 23:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 23:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712369664001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 23:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":163875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:19:37] local.INFO: GPS data processed {"connection_id":163875,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:19:37] local.INFO: Acknowledgment sent {"connection_id":163875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:19:55] local.INFO: TCP Data received {"connection_id":164169,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164169,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:19:55] local.INFO: Processing buffer {"connection_id":164169,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:19:55] local.INFO: IMEI packet received {"connection_id":164169,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 23:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":164169,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:20:01] local.INFO: TCP Data received {"connection_id":164169,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164169,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:20:01] local.INFO: Processing buffer {"connection_id":164169,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:20:01] local.INFO: IMEI packet received {"connection_id":164169,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 23:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":164169,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:20:03] local.INFO: TCP Data received {"connection_id":164169,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04979bc70012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04979bc70012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:20:03] local.INFO: Processing buffer {"connection_id":164169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04979bc70012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:20:03] local.INFO: Packet analysis {"connection_id":164169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04979"} 
[2026-08-28 23:20:03] local.INFO: Extracted packet for processing {"connection_id":164169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04979"} 
[2026-08-28 23:20:03] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712335104001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:20:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787939110000,"timestamp_ms":1787939110000,"timestamp_seconds":1787939110,"priority":1,"record_length":96,"hex_timestamp":"000001a04979bc70"} 
[2026-08-28 23:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:20:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-28 23:20:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:20:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":164169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":164169,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":164169,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712335104001,"66":25267,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712335104001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:20:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:20:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712335104001,"power":25267,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":164169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711211,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:20:03] local.INFO: GPS data processed {"connection_id":164169,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:20:03] local.INFO: Acknowledgment sent {"connection_id":164169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:20:08] local.INFO: TCP Data received {"connection_id":163875,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0497bcbc8012d34c14006aa4840000c00e629..."} 
[2026-08-28 23:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0497bcbc8012d34c14006aa4840000c00e629..."} 
[2026-08-28 23:20:08] local.INFO: Processing buffer {"connection_id":163875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0497bcbc8012d34c14006aa4840000c00e629..."} 
[2026-08-28 23:20:08] local.INFO: Packet analysis {"connection_id":163875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0497b"} 
[2026-08-28 23:20:08] local.INFO: Extracted packet for processing {"connection_id":163875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0497b"} 
[2026-08-28 23:20:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 23:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712369664001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 23:20:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787939245000,"timestamp_ms":1787939245000,"timestamp_seconds":1787939245,"priority":1,"record_length":96,"hex_timestamp":"000001a0497bcbc8"} 
[2026-08-28 23:20:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:20:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 23:20:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:20:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:20:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:20:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712369664001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712369664001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:20:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:20:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:20: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-28 23:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 23:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712369664001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 23:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":163875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:20:08] local.INFO: GPS data processed {"connection_id":163875,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:20:08] local.INFO: Acknowledgment sent {"connection_id":163875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:20:11] local.INFO: TCP Data received {"connection_id":166511,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166511,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:20:11] local.INFO: Processing buffer {"connection_id":166511,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:20:11] local.INFO: IMEI packet received {"connection_id":166511,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 23:20:11] local.INFO: IMEI acknowledgment sent {"connection_id":166511,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:20:13] local.INFO: TCP Data received {"connection_id":166511,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166511,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:20:13] local.INFO: Processing buffer {"connection_id":166511,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:20:13] local.INFO: IMEI packet received {"connection_id":166511,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 23:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":166511,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:20:19] local.INFO: TCP Data received {"connection_id":166511,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166511,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:20:19] local.INFO: Processing buffer {"connection_id":166511,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:20:19] local.INFO: IMEI packet received {"connection_id":166511,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 23:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":166511,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:20:21] local.INFO: TCP Data received {"connection_id":166511,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0497dc3b0012d196580071ff008003d013928..."} 
[2026-08-28 23:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0497dc3b0012d196580071ff008003d013928..."} 
[2026-08-28 23:20:21] local.INFO: Processing buffer {"connection_id":166511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0497dc3b0012d196580071ff008003d013928..."} 
[2026-08-28 23:20:21] local.INFO: Packet analysis {"connection_id":166511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0497d"} 
[2026-08-28 23:20:21] local.INFO: Extracted packet for processing {"connection_id":166511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0497d"} 
[2026-08-28 23:20:21] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:20:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712402688001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:20:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:20:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:20:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:20:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787939374000,"timestamp_ms":1787939374000,"timestamp_seconds":1787939374,"priority":1,"record_length":96,"hex_timestamp":"000001a0497dc3b0"} 
[2026-08-28 23:20:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:20:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 23:20:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:20:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:20:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:20:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:20:21] local.INFO: Teltonika packet parsed successfully {"connection_id":166511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:20:21] local.INFO: Passing IMEI to GPS processor {"connection_id":166511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:20:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":166511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:20:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:20:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:20:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:20:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712402688001,"66":2144,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:20:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:20:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:20:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712402688001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:20:21] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:20:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:20:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:20:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:20:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712402688001,"power":2144,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:20:21] local.INFO: DEBUG: GPS processor result {"connection_id":166511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711213,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:20:21] local.INFO: GPS data processed {"connection_id":166511,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:20:21] local.INFO: Acknowledgment sent {"connection_id":166511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:20:29] local.INFO: TCP Data received {"connection_id":165150,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:20:29] local.INFO: Processing buffer {"connection_id":165150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:20:29] local.INFO: IMEI packet received {"connection_id":165150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 23:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":165150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:20:35] local.INFO: TCP Data received {"connection_id":165150,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:20:35] local.INFO: Processing buffer {"connection_id":165150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:20:35] local.INFO: IMEI packet received {"connection_id":165150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 23:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":165150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:20:36] local.INFO: TCP Data received {"connection_id":164169,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04979bc70012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04979bc70012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:20:36] local.INFO: Processing buffer {"connection_id":164169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04979bc70012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:20:36] local.INFO: Packet analysis {"connection_id":164169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04979"} 
[2026-08-28 23:20:36] local.INFO: Extracted packet for processing {"connection_id":164169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04979"} 
[2026-08-28 23:20:36] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712335104001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:20:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:20:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787939110000,"timestamp_ms":1787939110000,"timestamp_seconds":1787939110,"priority":1,"record_length":96,"hex_timestamp":"000001a04979bc70"} 
[2026-08-28 23:20:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:20:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-28 23:20:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2101,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:20:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:20:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":164169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":164169,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":164169,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:20:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712335104001,"66":25267,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712335104001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:20:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:20:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:20:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712335104001,"power":25267,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":164169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711214,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:20:36] local.INFO: GPS data processed {"connection_id":164169,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:20:36] local.INFO: Acknowledgment sent {"connection_id":164169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:20:36] local.INFO: TCP Data received {"connection_id":165150,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0497bcbc8012d34c14006aa4840000c00e629..."} 
[2026-08-28 23:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0497bcbc8012d34c14006aa4840000c00e629..."} 
[2026-08-28 23:20:36] local.INFO: Processing buffer {"connection_id":165150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0497bcbc8012d34c14006aa4840000c00e629..."} 
[2026-08-28 23:20:36] local.INFO: Packet analysis {"connection_id":165150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0497b"} 
[2026-08-28 23:20:36] local.INFO: Extracted packet for processing {"connection_id":165150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0497b"} 
[2026-08-28 23:20:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 23:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712369664001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:20:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 23:20:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787939245000,"timestamp_ms":1787939245000,"timestamp_seconds":1787939245,"priority":1,"record_length":96,"hex_timestamp":"000001a0497bcbc8"} 
[2026-08-28 23:20:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:20:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 23:20:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:20:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:20:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":165150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":165150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":165150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:20:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712369664001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712369664001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:20:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:20:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:20:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 23:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712369664001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 23:20:36] 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":711215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:20:36] local.INFO: GPS data processed {"connection_id":165150,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:20:36] local.INFO: Acknowledgment sent {"connection_id":165150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:20:52] local.INFO: TCP Data received {"connection_id":166511,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0497dc3b0012d196580071ff008003d013928..."} 
[2026-08-28 23:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0497dc3b0012d196580071ff008003d013928..."} 
[2026-08-28 23:20:52] local.INFO: Processing buffer {"connection_id":166511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0497dc3b0012d196580071ff008003d013928..."} 
[2026-08-28 23:20:52] local.INFO: Packet analysis {"connection_id":166511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0497d"} 
[2026-08-28 23:20:52] local.INFO: Extracted packet for processing {"connection_id":166511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0497d"} 
[2026-08-28 23:20:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23: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-28 23:20:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712402688001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:20:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:20:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:20:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:20:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787939374000,"timestamp_ms":1787939374000,"timestamp_seconds":1787939374,"priority":1,"record_length":96,"hex_timestamp":"000001a0497dc3b0"} 
[2026-08-28 23: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-28 23:20:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 23:20:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23: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-28 23: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-28 23:20:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:20:52] local.INFO: Teltonika packet parsed successfully {"connection_id":166511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:20:52] local.INFO: Passing IMEI to GPS processor {"connection_id":166511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:20:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":166511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:20:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:20:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:20:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:20:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712402688001,"66":2144,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:20:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:20:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:20:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712402688001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:20:52] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:20:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:20:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:20:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:20:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712402688001,"power":2144,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:20:52] local.INFO: DEBUG: GPS processor result {"connection_id":166511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711216,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:20:52] local.INFO: GPS data processed {"connection_id":166511,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:20:52] local.INFO: Acknowledgment sent {"connection_id":166511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:21:01] local.INFO: TCP Data received {"connection_id":163876,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163876,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:21:01] local.INFO: Processing buffer {"connection_id":163876,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:21:01] local.INFO: IMEI packet received {"connection_id":163876,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 23:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":163876,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:21:06] local.INFO: TCP Data received {"connection_id":163876,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163876,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:21:06] local.INFO: Processing buffer {"connection_id":163876,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:21:06] local.INFO: IMEI packet received {"connection_id":163876,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 23:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":163876,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:21:08] local.INFO: TCP Data received {"connection_id":165150,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0497bcbc8012d34c14006aa4840000c00e629..."} 
[2026-08-28 23:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0497bcbc8012d34c14006aa4840000c00e629..."} 
[2026-08-28 23:21:08] local.INFO: Processing buffer {"connection_id":165150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0497bcbc8012d34c14006aa4840000c00e629..."} 
[2026-08-28 23:21:08] local.INFO: Packet analysis {"connection_id":165150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0497b"} 
[2026-08-28 23:21:08] local.INFO: Extracted packet for processing {"connection_id":165150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0497b"} 
[2026-08-28 23:21:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 23:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:21:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712369664001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:21:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 23:21:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787939245000,"timestamp_ms":1787939245000,"timestamp_seconds":1787939245,"priority":1,"record_length":96,"hex_timestamp":"000001a0497bcbc8"} 
[2026-08-28 23:21:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:21:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 23:21:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:21:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:21:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":165150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":165150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":165150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:21:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712369664001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712369664001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:21:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:21:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:21: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-28 23:21:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 23:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712369664001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 23:21:08] 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":711217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:21:08] local.INFO: GPS data processed {"connection_id":165150,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:21:08] local.INFO: Acknowledgment sent {"connection_id":165150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:21:09] local.INFO: TCP Data received {"connection_id":163876,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0497e5438012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0497e5438012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:21:09] local.INFO: Processing buffer {"connection_id":163876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0497e5438012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:21:09] local.INFO: Packet analysis {"connection_id":163876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0497e"} 
[2026-08-28 23:21:09] local.INFO: Extracted packet for processing {"connection_id":163876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0497e"} 
[2026-08-28 23:21:09] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712412160001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:21:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787939411000,"timestamp_ms":1787939411000,"timestamp_seconds":1787939411,"priority":1,"record_length":96,"hex_timestamp":"000001a0497e5438"} 
[2026-08-28 23:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 23:21:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:21:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163876,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163876,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:21:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712412160001,"66":25234,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712412160001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:21:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:21:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712412160001,"power":25234,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":163876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711218,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:21:09] local.INFO: GPS data processed {"connection_id":163876,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:21:09] local.INFO: Acknowledgment sent {"connection_id":163876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:21:13] local.INFO: TCP Data received {"connection_id":163876,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0497e5438012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0497e5438012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:21:13] local.INFO: Processing buffer {"connection_id":163876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0497e5438012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:21:13] local.INFO: Packet analysis {"connection_id":163876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0497e"} 
[2026-08-28 23:21:13] local.INFO: Extracted packet for processing {"connection_id":163876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0497e"} 
[2026-08-28 23:21:13] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23: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-28 23:21:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712412160001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:21:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:21:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:21:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:21:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787939411000,"timestamp_ms":1787939411000,"timestamp_seconds":1787939411,"priority":1,"record_length":96,"hex_timestamp":"000001a0497e5438"} 
[2026-08-28 23: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-28 23:21:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23: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":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 23:21:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23: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-28 23: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-28 23:21:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:21:13] local.INFO: Teltonika packet parsed successfully {"connection_id":163876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:21:13] local.INFO: Passing IMEI to GPS processor {"connection_id":163876,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:21:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":163876,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:21:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:21:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:21:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:21:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712412160001,"66":25234,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:21:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:21:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:21:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712412160001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:21:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:21:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:21:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:21:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:21:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712412160001,"power":25234,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:21:13] local.INFO: DEBUG: GPS processor result {"connection_id":163876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711219,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:21:13] local.INFO: GPS data processed {"connection_id":163876,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:21:13] local.INFO: Acknowledgment sent {"connection_id":163876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:21:13] local.INFO: TCP Data received {"connection_id":165151,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165151,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:21:13] local.INFO: Processing buffer {"connection_id":165151,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:21:13] local.INFO: IMEI packet received {"connection_id":165151,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 23:21:13] local.INFO: IMEI acknowledgment sent {"connection_id":165151,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:21:25] local.INFO: TCP Data received {"connection_id":165151,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165151,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:21:25] local.INFO: Processing buffer {"connection_id":165151,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:21:25] local.INFO: IMEI packet received {"connection_id":165151,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 23:21:25] local.INFO: IMEI acknowledgment sent {"connection_id":165151,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:21:26] local.INFO: TCP Data received {"connection_id":165151,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0497dc3b0012d196580071ff008003d013928..."} 
[2026-08-28 23:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0497dc3b0012d196580071ff008003d013928..."} 
[2026-08-28 23:21:26] local.INFO: Processing buffer {"connection_id":165151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0497dc3b0012d196580071ff008003d013928..."} 
[2026-08-28 23:21:26] local.INFO: Packet analysis {"connection_id":165151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0497d"} 
[2026-08-28 23:21:26] local.INFO: Extracted packet for processing {"connection_id":165151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0497d"} 
[2026-08-28 23:21:26] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:21:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:21:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712402688001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:21:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:21:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:21:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:21:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787939374000,"timestamp_ms":1787939374000,"timestamp_seconds":1787939374,"priority":1,"record_length":96,"hex_timestamp":"000001a0497dc3b0"} 
[2026-08-28 23:21:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:21:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:21:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 23:21:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:21:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:21:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:21:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:21:26] local.INFO: Teltonika packet parsed successfully {"connection_id":165151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:21:26] local.INFO: Passing IMEI to GPS processor {"connection_id":165151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:21:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":165151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:21:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:21:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:21:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:21:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712402688001,"66":2144,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:21:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:21:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:21:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712402688001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:21:26] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:21:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:21:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:21:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:21:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712402688001,"power":2144,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:21:26] 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":711220,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:21:26] local.INFO: GPS data processed {"connection_id":165151,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:21:26] local.INFO: Acknowledgment sent {"connection_id":165151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:21:29] local.INFO: TCP Data received {"connection_id":165152,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:21:29] local.INFO: Processing buffer {"connection_id":165152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:21:29] local.INFO: IMEI packet received {"connection_id":165152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 23:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":165152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:21:34] local.INFO: TCP Data received {"connection_id":165152,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:21:34] local.INFO: Processing buffer {"connection_id":165152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:21:34] local.INFO: IMEI packet received {"connection_id":165152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 23:21:34] local.INFO: IMEI acknowledgment sent {"connection_id":165152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:21:36] local.INFO: TCP Data received {"connection_id":165152,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0497bcbc8012d34c14006aa4840000c00e629..."} 
[2026-08-28 23:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0497bcbc8012d34c14006aa4840000c00e629..."} 
[2026-08-28 23:21:36] local.INFO: Processing buffer {"connection_id":165152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0497bcbc8012d34c14006aa4840000c00e629..."} 
[2026-08-28 23:21:36] local.INFO: Packet analysis {"connection_id":165152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0497b"} 
[2026-08-28 23:21:36] local.INFO: Extracted packet for processing {"connection_id":165152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0497b"} 
[2026-08-28 23:21:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 23:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712369664001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 23:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787939245000,"timestamp_ms":1787939245000,"timestamp_seconds":1787939245,"priority":1,"record_length":96,"hex_timestamp":"000001a0497bcbc8"} 
[2026-08-28 23:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 23:21:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:21:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":165152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":165152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":165152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712369664001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712369664001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:21:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:21:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 23:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712369664001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 23:21:36] 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":711221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:21:36] local.INFO: GPS data processed {"connection_id":165152,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:21:36] local.INFO: Acknowledgment sent {"connection_id":165152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:21:56] local.INFO: TCP Data received {"connection_id":165153,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165153,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:21:56] local.INFO: Processing buffer {"connection_id":165153,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:21:56] local.INFO: IMEI packet received {"connection_id":165153,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 23:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":165153,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:22:01] local.INFO: TCP Data received {"connection_id":165153,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165153,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:22:01] local.INFO: Processing buffer {"connection_id":165153,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:22:01] local.INFO: IMEI packet received {"connection_id":165153,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 23:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":165153,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:22:02] local.INFO: TCP Data received {"connection_id":165153,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0497e5438012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0497e5438012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:22:02] local.INFO: Processing buffer {"connection_id":165153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0497e5438012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:22:02] local.INFO: Packet analysis {"connection_id":165153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0497e"} 
[2026-08-28 23:22:02] local.INFO: Extracted packet for processing {"connection_id":165153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0497e"} 
[2026-08-28 23:22:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:22:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712412160001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:22:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:22:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:22:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:22:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787939411000,"timestamp_ms":1787939411000,"timestamp_seconds":1787939411,"priority":1,"record_length":96,"hex_timestamp":"000001a0497e5438"} 
[2026-08-28 23:22:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:22:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 23:22:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:22:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:22:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:22:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:22:02] local.INFO: Teltonika packet parsed successfully {"connection_id":165153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:22:02] local.INFO: Passing IMEI to GPS processor {"connection_id":165153,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:22:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":165153,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:22:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:22:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:22:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:22:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712412160001,"66":25234,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:22:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:22:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:22:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712412160001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:22:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:22:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:22:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:22:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:22:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712412160001,"power":25234,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:22:02] 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":711222,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:22:02] local.INFO: GPS data processed {"connection_id":165153,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:22:02] local.INFO: Acknowledgment sent {"connection_id":165153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:22:04] local.INFO: TCP Data received {"connection_id":165151,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0497dc3b0012d196580071ff008003d013928..."} 
[2026-08-28 23:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0497dc3b0012d196580071ff008003d013928..."} 
[2026-08-28 23:22:04] local.INFO: Processing buffer {"connection_id":165151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0497dc3b0012d196580071ff008003d013928..."} 
[2026-08-28 23:22:04] local.INFO: Packet analysis {"connection_id":165151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0497d"} 
[2026-08-28 23:22:04] local.INFO: Extracted packet for processing {"connection_id":165151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0497d"} 
[2026-08-28 23:22:04] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712402688001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:22:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787939374000,"timestamp_ms":1787939374000,"timestamp_seconds":1787939374,"priority":1,"record_length":96,"hex_timestamp":"000001a0497dc3b0"} 
[2026-08-28 23:22:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:22:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 23:22:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:22:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":165151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":165151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":165151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:22:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712402688001,"66":2144,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712402688001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:22:04] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:22:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712402688001,"power":2144,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:22:04] 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":711223,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:22:04] local.INFO: GPS data processed {"connection_id":165151,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:22:04] local.INFO: Acknowledgment sent {"connection_id":165151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:22:07] local.INFO: TCP Data received {"connection_id":165152,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0497bcbc8012d34c14006aa4840000c00e629..."} 
[2026-08-28 23:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0497bcbc8012d34c14006aa4840000c00e629..."} 
[2026-08-28 23:22:07] local.INFO: Processing buffer {"connection_id":165152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0497bcbc8012d34c14006aa4840000c00e629..."} 
[2026-08-28 23:22:07] local.INFO: Packet analysis {"connection_id":165152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0497b"} 
[2026-08-28 23:22:07] local.INFO: Extracted packet for processing {"connection_id":165152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0497b"} 
[2026-08-28 23:22:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 23:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712369664001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 23:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787939245000,"timestamp_ms":1787939245000,"timestamp_seconds":1787939245,"priority":1,"record_length":96,"hex_timestamp":"000001a0497bcbc8"} 
[2026-08-28 23:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 23:22:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:22:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":165152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":165152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":165152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712369664001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712369664001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:22:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:22:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:22: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-28 23:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 23:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712369664001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 23:22:07] 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":711224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:22:07] local.INFO: GPS data processed {"connection_id":165152,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:22:07] local.INFO: Acknowledgment sent {"connection_id":165152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:22:19] local.INFO: TCP Data received {"connection_id":163877,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163877,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:22:19] local.INFO: Processing buffer {"connection_id":163877,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:22:19] local.INFO: IMEI packet received {"connection_id":163877,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 23:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":163877,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:22:24] local.INFO: TCP Data received {"connection_id":163877,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163877,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:22:24] local.INFO: Processing buffer {"connection_id":163877,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:22:24] local.INFO: IMEI packet received {"connection_id":163877,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 23:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":163877,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:22:25] local.INFO: TCP Data received {"connection_id":163877,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0497dc3b0012d196580071ff008003d013928..."} 
[2026-08-28 23:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0497dc3b0012d196580071ff008003d013928..."} 
[2026-08-28 23:22:25] local.INFO: Processing buffer {"connection_id":163877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0497dc3b0012d196580071ff008003d013928..."} 
[2026-08-28 23:22:25] local.INFO: Packet analysis {"connection_id":163877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0497d"} 
[2026-08-28 23:22:25] local.INFO: Extracted packet for processing {"connection_id":163877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0497d"} 
[2026-08-28 23:22:25] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:22:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:22:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712402688001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:22:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:22:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:22:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:22:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787939374000,"timestamp_ms":1787939374000,"timestamp_seconds":1787939374,"priority":1,"record_length":96,"hex_timestamp":"000001a0497dc3b0"} 
[2026-08-28 23:22:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:22:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:22:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 23:22:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:22:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:22:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:22:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:22:25] local.INFO: Teltonika packet parsed successfully {"connection_id":163877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:22:25] local.INFO: Passing IMEI to GPS processor {"connection_id":163877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:22:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":163877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:22:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:22:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:22:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:22:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712402688001,"66":2144,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:22:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:22:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:22:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712402688001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:22:25] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:22:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:22:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:22:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:22:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712402688001,"power":2144,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:22:25] local.INFO: DEBUG: GPS processor result {"connection_id":163877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711225,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:22:25] local.INFO: GPS data processed {"connection_id":163877,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:22:25] local.INFO: Acknowledgment sent {"connection_id":163877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:22:30] local.INFO: TCP Data received {"connection_id":163877,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0497dc3b0012d196580071ff008003d013928..."} 
[2026-08-28 23:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0497dc3b0012d196580071ff008003d013928..."} 
[2026-08-28 23:22:30] local.INFO: Processing buffer {"connection_id":163877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0497dc3b0012d196580071ff008003d013928..."} 
[2026-08-28 23:22:30] local.INFO: Packet analysis {"connection_id":163877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0497d"} 
[2026-08-28 23:22:30] local.INFO: Extracted packet for processing {"connection_id":163877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0497d"} 
[2026-08-28 23:22:30] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712402688001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:22:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:22:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787939374000,"timestamp_ms":1787939374000,"timestamp_seconds":1787939374,"priority":1,"record_length":96,"hex_timestamp":"000001a0497dc3b0"} 
[2026-08-28 23:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:22:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 23:22:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:22:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":163877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":163877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":163877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:22:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712402688001,"66":2144,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712402688001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:22:30] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:22:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:22:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712402688001,"power":2144,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":163877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711226,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:22:30] local.INFO: GPS data processed {"connection_id":163877,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:22:30] local.INFO: Acknowledgment sent {"connection_id":163877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:22:34] local.INFO: TCP Data received {"connection_id":163878,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:22:34] local.INFO: Processing buffer {"connection_id":163878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:22:34] local.INFO: IMEI packet received {"connection_id":163878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 23:22:34] local.INFO: IMEI acknowledgment sent {"connection_id":163878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:22:35] local.INFO: TCP Data received {"connection_id":165153,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0497e5438012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0497e5438012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:22:35] local.INFO: Processing buffer {"connection_id":165153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0497e5438012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:22:35] local.INFO: Packet analysis {"connection_id":165153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0497e"} 
[2026-08-28 23:22:35] local.INFO: Extracted packet for processing {"connection_id":165153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0497e"} 
[2026-08-28 23:22:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712412160001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:22:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:22:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:22:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:22:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787939411000,"timestamp_ms":1787939411000,"timestamp_seconds":1787939411,"priority":1,"record_length":96,"hex_timestamp":"000001a0497e5438"} 
[2026-08-28 23:22:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:22:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 23:22:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:22:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:22:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:22:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:22:35] local.INFO: Teltonika packet parsed successfully {"connection_id":165153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:22:35] local.INFO: Passing IMEI to GPS processor {"connection_id":165153,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:22:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":165153,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:22:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:22:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:22:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:22:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712412160001,"66":25234,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:22:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:22:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:22:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712412160001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:22:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:22:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:22:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:22:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:22:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712412160001,"power":25234,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:22:36] 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":711227,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:22:36] local.INFO: GPS data processed {"connection_id":165153,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:22:36] local.INFO: Acknowledgment sent {"connection_id":165153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:22:40] local.INFO: TCP Data received {"connection_id":163878,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:22:40] local.INFO: Processing buffer {"connection_id":163878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:22:40] local.INFO: IMEI packet received {"connection_id":163878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 23:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":163878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:22:41] local.INFO: TCP Data received {"connection_id":163878,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0497bcbc8012d34c14006aa4840000c00e629..."} 
[2026-08-28 23:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0497bcbc8012d34c14006aa4840000c00e629..."} 
[2026-08-28 23:22:41] local.INFO: Processing buffer {"connection_id":163878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0497bcbc8012d34c14006aa4840000c00e629..."} 
[2026-08-28 23:22:41] local.INFO: Packet analysis {"connection_id":163878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0497b"} 
[2026-08-28 23:22:41] local.INFO: Extracted packet for processing {"connection_id":163878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0497b"} 
[2026-08-28 23:22:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 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-28 23:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712369664001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:22:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 23:22:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787939245000,"timestamp_ms":1787939245000,"timestamp_seconds":1787939245,"priority":1,"record_length":96,"hex_timestamp":"000001a0497bcbc8"} 
[2026-08-28 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-28 23:22:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 23:22:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 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-28 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-28 23:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":163878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":163878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":163878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:22:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712369664001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712369664001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:22:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:22:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:22: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-28 23:22:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 23:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712369664001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 23:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":163878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:22:41] local.INFO: GPS data processed {"connection_id":163878,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:22:41] local.INFO: Acknowledgment sent {"connection_id":163878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:22:46] local.INFO: TCP Data received {"connection_id":163878,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0497bcbc8012d34c14006aa4840000c00e629..."} 
[2026-08-28 23:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0497bcbc8012d34c14006aa4840000c00e629..."} 
[2026-08-28 23:22:46] local.INFO: Processing buffer {"connection_id":163878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0497bcbc8012d34c14006aa4840000c00e629..."} 
[2026-08-28 23:22:46] local.INFO: Packet analysis {"connection_id":163878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0497b"} 
[2026-08-28 23:22:46] local.INFO: Extracted packet for processing {"connection_id":163878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0497b"} 
[2026-08-28 23:22:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 23:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:22:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712369664001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:22:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:22:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 23:22:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:22:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787939245000,"timestamp_ms":1787939245000,"timestamp_seconds":1787939245,"priority":1,"record_length":96,"hex_timestamp":"000001a0497bcbc8"} 
[2026-08-28 23: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-28 23:22:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 23:22:46] 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-28 23: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-28 23: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-28 23:22:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:22:46] local.INFO: Teltonika packet parsed successfully {"connection_id":163878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:22:46] local.INFO: Passing IMEI to GPS processor {"connection_id":163878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:22:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":163878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:22:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:22:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:22:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:22:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712369664001,"66":25343,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:22:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:22:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:22:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712369664001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:22:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:22:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:22: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-28 23:22:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 23:22:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712369664001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 23:22:46] local.INFO: DEBUG: GPS processor result {"connection_id":163878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:22:46] local.INFO: GPS data processed {"connection_id":163878,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:22:46] local.INFO: Acknowledgment sent {"connection_id":163878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:22:55] local.INFO: TCP Data received {"connection_id":166512,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166512,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:22:55] local.INFO: Processing buffer {"connection_id":166512,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:22:55] local.INFO: IMEI packet received {"connection_id":166512,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 23:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":166512,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:23:01] local.INFO: TCP Data received {"connection_id":166512,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166512,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:23:01] local.INFO: Processing buffer {"connection_id":166512,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:23:01] local.INFO: IMEI packet received {"connection_id":166512,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 23:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":166512,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:23:02] local.INFO: TCP Data received {"connection_id":166512,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0497e5438012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0497e5438012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:23:02] local.INFO: Processing buffer {"connection_id":166512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0497e5438012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:23:02] local.INFO: Packet analysis {"connection_id":166512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0497e"} 
[2026-08-28 23:23:02] local.INFO: Extracted packet for processing {"connection_id":166512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0497e"} 
[2026-08-28 23:23:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712412160001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:23:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:23:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:23:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:23:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787939411000,"timestamp_ms":1787939411000,"timestamp_seconds":1787939411,"priority":1,"record_length":96,"hex_timestamp":"000001a0497e5438"} 
[2026-08-28 23:23:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:23:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 23:23:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:23:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:23:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:23:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:23:02] local.INFO: Teltonika packet parsed successfully {"connection_id":166512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:23:02] local.INFO: Passing IMEI to GPS processor {"connection_id":166512,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:23:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":166512,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:23:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:23:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:23:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:23:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712412160001,"66":25234,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:23:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:23:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:23:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712412160001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:23:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:23:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:23:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:23:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:23:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712412160001,"power":25234,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:23:02] local.INFO: DEBUG: GPS processor result {"connection_id":166512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711230,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:23:02] local.INFO: GPS data processed {"connection_id":166512,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:23:02] local.INFO: Acknowledgment sent {"connection_id":166512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:23:14] local.INFO: TCP Data received {"connection_id":165154,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165154,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:23:14] local.INFO: Processing buffer {"connection_id":165154,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:23:14] local.INFO: IMEI packet received {"connection_id":165154,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 23:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":165154,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:23:19] local.INFO: TCP Data received {"connection_id":165154,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165154,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:23:19] local.INFO: Processing buffer {"connection_id":165154,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:23:19] local.INFO: IMEI packet received {"connection_id":165154,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 23:23:19] local.INFO: IMEI acknowledgment sent {"connection_id":165154,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:23:21] local.INFO: TCP Data received {"connection_id":165154,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0497dc3b0012d196580071ff008003d013928..."} 
[2026-08-28 23:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0497dc3b0012d196580071ff008003d013928..."} 
[2026-08-28 23:23:21] local.INFO: Processing buffer {"connection_id":165154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0497dc3b0012d196580071ff008003d013928..."} 
[2026-08-28 23:23:21] local.INFO: Packet analysis {"connection_id":165154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0497d"} 
[2026-08-28 23:23:21] local.INFO: Extracted packet for processing {"connection_id":165154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0497d"} 
[2026-08-28 23:23:21] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:23:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712402688001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:23:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:23:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:23:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:23:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787939374000,"timestamp_ms":1787939374000,"timestamp_seconds":1787939374,"priority":1,"record_length":96,"hex_timestamp":"000001a0497dc3b0"} 
[2026-08-28 23:23:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:23:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 23:23:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:23:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:23:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:23:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:23:21] local.INFO: Teltonika packet parsed successfully {"connection_id":165154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:23:21] local.INFO: Passing IMEI to GPS processor {"connection_id":165154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:23:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":165154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:23:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:23:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:23:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:23:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712402688001,"66":2144,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:23:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:23:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:23:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712402688001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:23:21] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:23:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:23:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:23:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:23:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712402688001,"power":2144,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:23:21] 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":711231,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:23:21] local.INFO: GPS data processed {"connection_id":165154,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:23:21] local.INFO: Acknowledgment sent {"connection_id":165154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:23:30] local.INFO: TCP Data received {"connection_id":165155,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:23:30] local.INFO: Processing buffer {"connection_id":165155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:23:30] local.INFO: IMEI packet received {"connection_id":165155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 23:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":165155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:23:34] local.INFO: TCP Data received {"connection_id":165155,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:23:34] local.INFO: Processing buffer {"connection_id":165155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:23:34] local.INFO: IMEI packet received {"connection_id":165155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 23:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":165155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:23:35] local.INFO: TCP Data received {"connection_id":166512,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0497e5438012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0497e5438012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:23:35] local.INFO: Processing buffer {"connection_id":166512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0497e5438012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:23:35] local.INFO: Packet analysis {"connection_id":166512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0497e"} 
[2026-08-28 23:23:35] local.INFO: Extracted packet for processing {"connection_id":166512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0497e"} 
[2026-08-28 23:23:35] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:23:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712412160001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:23:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:23:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:23:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:23:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787939411000,"timestamp_ms":1787939411000,"timestamp_seconds":1787939411,"priority":1,"record_length":96,"hex_timestamp":"000001a0497e5438"} 
[2026-08-28 23:23:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:23:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 23:23:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:23:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:23:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:23:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:23:35] local.INFO: Teltonika packet parsed successfully {"connection_id":166512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:23:35] local.INFO: Passing IMEI to GPS processor {"connection_id":166512,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:23:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":166512,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:23:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:23:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:23:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:23:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712412160001,"66":25234,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:23:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:23:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:23:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712412160001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:23:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:23:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:23:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:23:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:23:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712412160001,"power":25234,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:23:35] local.INFO: DEBUG: GPS processor result {"connection_id":166512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711232,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:23:35] local.INFO: GPS data processed {"connection_id":166512,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:23:35] local.INFO: Acknowledgment sent {"connection_id":166512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:23:36] local.INFO: TCP Data received {"connection_id":165155,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049806390012d34c14006aa4840000900e629..."} 
[2026-08-28 23:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049806390012d34c14006aa4840000900e629..."} 
[2026-08-28 23:23:36] local.INFO: Processing buffer {"connection_id":165155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049806390012d34c14006aa4840000900e629..."} 
[2026-08-28 23:23:36] local.INFO: Packet analysis {"connection_id":165155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04980"} 
[2026-08-28 23:23:36] local.INFO: Extracted packet for processing {"connection_id":165155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04980"} 
[2026-08-28 23:23:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 23:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712446720001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 23:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787939546000,"timestamp_ms":1787939546000,"timestamp_seconds":1787939546,"priority":1,"record_length":96,"hex_timestamp":"000001a049806390"} 
[2026-08-28 23:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 23:23:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:23:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":165155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":165155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":165155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:23:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712446720001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712446720001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:23:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:23:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 23:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712446720001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 23:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":165155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:23:36] local.INFO: GPS data processed {"connection_id":165155,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:23:36] local.INFO: Acknowledgment sent {"connection_id":165155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:23:53] local.INFO: TCP Data received {"connection_id":165154,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0497dc3b0012d196580071ff008003d013928..."} 
[2026-08-28 23:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0497dc3b0012d196580071ff008003d013928..."} 
[2026-08-28 23:23:53] local.INFO: Processing buffer {"connection_id":165154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0497dc3b0012d196580071ff008003d013928..."} 
[2026-08-28 23:23:53] local.INFO: Packet analysis {"connection_id":165154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0497d"} 
[2026-08-28 23:23:53] local.INFO: Extracted packet for processing {"connection_id":165154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0497d"} 
[2026-08-28 23:23:53] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23: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-28 23:23:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712402688001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:23:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:23:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:23:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:23:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787939374000,"timestamp_ms":1787939374000,"timestamp_seconds":1787939374,"priority":1,"record_length":96,"hex_timestamp":"000001a0497dc3b0"} 
[2026-08-28 23: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-28 23:23:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 23:23:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23: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-28 23: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-28 23:23:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:23:53] local.INFO: Teltonika packet parsed successfully {"connection_id":165154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:23:53] local.INFO: Passing IMEI to GPS processor {"connection_id":165154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:23:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":165154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:23:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:23:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:23:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:23:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712402688001,"66":2144,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:23:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:23:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:23:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712402688001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:23:53] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:23:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:23:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:23:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:23:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712402688001,"power":2144,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:23:53] 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":711234,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:23:53] local.INFO: GPS data processed {"connection_id":165154,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:23:53] local.INFO: Acknowledgment sent {"connection_id":165154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:24:01] local.INFO: TCP Data received {"connection_id":163879,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163879,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:24:01] local.INFO: Processing buffer {"connection_id":163879,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:24:01] local.INFO: IMEI packet received {"connection_id":163879,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 23:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":163879,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:24:06] local.INFO: TCP Data received {"connection_id":163879,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163879,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:24:06] local.INFO: Processing buffer {"connection_id":163879,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:24:06] local.INFO: IMEI packet received {"connection_id":163879,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 23:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":163879,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:24:08] local.INFO: TCP Data received {"connection_id":165155,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049806390012d34c14006aa4840000900e629..."} 
[2026-08-28 23:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049806390012d34c14006aa4840000900e629..."} 
[2026-08-28 23:24:08] local.INFO: Processing buffer {"connection_id":165155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049806390012d34c14006aa4840000900e629..."} 
[2026-08-28 23:24:08] local.INFO: Packet analysis {"connection_id":165155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04980"} 
[2026-08-28 23:24:08] local.INFO: Extracted packet for processing {"connection_id":165155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04980"} 
[2026-08-28 23:24:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 23: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-28 23:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712446720001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 23:24:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787939546000,"timestamp_ms":1787939546000,"timestamp_seconds":1787939546,"priority":1,"record_length":96,"hex_timestamp":"000001a049806390"} 
[2026-08-28 23: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-28 23:24:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 23:24:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23: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-28 23: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-28 23:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":165155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":165155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":165155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:24:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712446720001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712446720001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:24:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:24:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:24: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-28 23:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 23:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712446720001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 23:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":165155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:24:08] local.INFO: GPS data processed {"connection_id":165155,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:24:08] local.INFO: Acknowledgment sent {"connection_id":165155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:24:09] local.INFO: TCP Data received {"connection_id":163879,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0497e5438012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0497e5438012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:24:09] local.INFO: Processing buffer {"connection_id":163879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0497e5438012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:24:09] local.INFO: Packet analysis {"connection_id":163879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0497e"} 
[2026-08-28 23:24:09] local.INFO: Extracted packet for processing {"connection_id":163879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0497e"} 
[2026-08-28 23:24:09] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712412160001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:24:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:24:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787939411000,"timestamp_ms":1787939411000,"timestamp_seconds":1787939411,"priority":1,"record_length":96,"hex_timestamp":"000001a0497e5438"} 
[2026-08-28 23:24:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:24:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 23:24:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:24:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:24:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":163879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":163879,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":163879,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:24:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712412160001,"66":25234,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712412160001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:24:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:24:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:24:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:24:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712412160001,"power":25234,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":163879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711236,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:24:09] local.INFO: GPS data processed {"connection_id":163879,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:24:09] local.INFO: Acknowledgment sent {"connection_id":163879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:24:12] local.INFO: TCP Data received {"connection_id":163879,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0497e5438012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0497e5438012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:24:12] local.INFO: Processing buffer {"connection_id":163879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0497e5438012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:24:12] local.INFO: Packet analysis {"connection_id":163879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0497e"} 
[2026-08-28 23:24:12] local.INFO: Extracted packet for processing {"connection_id":163879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0497e"} 
[2026-08-28 23:24:12] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712412160001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:24:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:24:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787939411000,"timestamp_ms":1787939411000,"timestamp_seconds":1787939411,"priority":1,"record_length":96,"hex_timestamp":"000001a0497e5438"} 
[2026-08-28 23:24:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:24:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 23:24:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:24:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:24:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":163879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":163879,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":163879,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:24:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:24:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712412160001,"66":25234,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:24:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:24:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:24:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712412160001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:24:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:24:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:24:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:24:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:24:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712412160001,"power":25234,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:24:13] local.INFO: DEBUG: GPS processor result {"connection_id":163879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711237,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:24:13] local.INFO: GPS data processed {"connection_id":163879,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:24:13] local.INFO: Acknowledgment sent {"connection_id":163879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:24:13] local.INFO: TCP Data received {"connection_id":165156,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:24:13] local.INFO: Processing buffer {"connection_id":165156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:24:13] local.INFO: IMEI packet received {"connection_id":165156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 23:24:13] local.INFO: IMEI acknowledgment sent {"connection_id":165156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:24:19] local.INFO: TCP Data received {"connection_id":165156,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:24:19] local.INFO: Processing buffer {"connection_id":165156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:24:19] local.INFO: IMEI packet received {"connection_id":165156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 23:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":165156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:24:26] local.INFO: TCP Data received {"connection_id":165156,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0497dc3b0012d196580071ff008003d013928..."} 
[2026-08-28 23:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0497dc3b0012d196580071ff008003d013928..."} 
[2026-08-28 23:24:26] local.INFO: Processing buffer {"connection_id":165156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0497dc3b0012d196580071ff008003d013928..."} 
[2026-08-28 23:24:26] local.INFO: Packet analysis {"connection_id":165156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0497d"} 
[2026-08-28 23:24:26] local.INFO: Extracted packet for processing {"connection_id":165156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0497d"} 
[2026-08-28 23:24:26] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:24:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712402688001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:24:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:24:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:24:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:24:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787939374000,"timestamp_ms":1787939374000,"timestamp_seconds":1787939374,"priority":1,"record_length":96,"hex_timestamp":"000001a0497dc3b0"} 
[2026-08-28 23:24:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:24:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 23:24:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:24:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:24:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:24:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:24:26] local.INFO: Teltonika packet parsed successfully {"connection_id":165156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:24:26] local.INFO: Passing IMEI to GPS processor {"connection_id":165156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:24:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":165156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:24:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:24:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:24:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:24:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712402688001,"66":2144,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:24:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:24:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:24:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712402688001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:24:26] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:24:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:24:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:24:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:24:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712402688001,"power":2144,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:24:26] 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":711238,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:24:26] local.INFO: GPS data processed {"connection_id":165156,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:24:26] local.INFO: Acknowledgment sent {"connection_id":165156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:24:29] local.INFO: TCP Data received {"connection_id":164170,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:24:29] local.INFO: Processing buffer {"connection_id":164170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:24:29] local.INFO: IMEI packet received {"connection_id":164170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 23:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":164170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:24:35] local.INFO: TCP Data received {"connection_id":164170,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:24:35] local.INFO: Processing buffer {"connection_id":164170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:24:35] local.INFO: IMEI packet received {"connection_id":164170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 23:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":164170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:24:36] local.INFO: TCP Data received {"connection_id":164170,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049806390012d34c14006aa4840000900e629..."} 
[2026-08-28 23:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049806390012d34c14006aa4840000900e629..."} 
[2026-08-28 23:24:36] local.INFO: Processing buffer {"connection_id":164170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049806390012d34c14006aa4840000900e629..."} 
[2026-08-28 23:24:36] local.INFO: Packet analysis {"connection_id":164170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04980"} 
[2026-08-28 23:24:36] local.INFO: Extracted packet for processing {"connection_id":164170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04980"} 
[2026-08-28 23:24:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 23:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712446720001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 23:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787939546000,"timestamp_ms":1787939546000,"timestamp_seconds":1787939546,"priority":1,"record_length":96,"hex_timestamp":"000001a049806390"} 
[2026-08-28 23:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 23:24:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:24:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":164170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":164170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":164170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:24:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712446720001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712446720001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:24:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:24:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 23:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712446720001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 23:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":164170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:24:36] local.INFO: GPS data processed {"connection_id":164170,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:24:36] local.INFO: Acknowledgment sent {"connection_id":164170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:24:56] local.INFO: TCP Data received {"connection_id":164171,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164171,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:24:56] local.INFO: Processing buffer {"connection_id":164171,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:24:56] local.INFO: IMEI packet received {"connection_id":164171,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 23:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":164171,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:25:01] local.INFO: TCP Data received {"connection_id":164171,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164171,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:25:01] local.INFO: Processing buffer {"connection_id":164171,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:25:01] local.INFO: IMEI packet received {"connection_id":164171,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 23:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":164171,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:25:01] local.INFO: TCP Data received {"connection_id":165156,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0497dc3b0012d196580071ff008003d013928..."} 
[2026-08-28 23:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0497dc3b0012d196580071ff008003d013928..."} 
[2026-08-28 23:25:01] local.INFO: Processing buffer {"connection_id":165156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0497dc3b0012d196580071ff008003d013928..."} 
[2026-08-28 23:25:01] local.INFO: Packet analysis {"connection_id":165156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0497d"} 
[2026-08-28 23:25:01] local.INFO: Extracted packet for processing {"connection_id":165156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0497d"} 
[2026-08-28 23:25:01] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:25:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:25:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712402688001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:25:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:25:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:25:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:25:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787939374000,"timestamp_ms":1787939374000,"timestamp_seconds":1787939374,"priority":1,"record_length":96,"hex_timestamp":"000001a0497dc3b0"} 
[2026-08-28 23:25:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:25:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:25:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 23:25:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:25:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:25:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:25:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:25:01] local.INFO: Teltonika packet parsed successfully {"connection_id":165156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:25:01] local.INFO: Passing IMEI to GPS processor {"connection_id":165156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:25:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":165156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:25:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:25:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:25:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:25:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712402688001,"66":2144,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:25:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:25:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:25:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712402688001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:25:01] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:25:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:25:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:25:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:25:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712402688001,"power":2144,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:25:01] 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":711240,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:25:01] local.INFO: GPS data processed {"connection_id":165156,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:25:01] local.INFO: Acknowledgment sent {"connection_id":165156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:25:02] local.INFO: TCP Data received {"connection_id":164171,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0497e5438012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0497e5438012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:25:02] local.INFO: Processing buffer {"connection_id":164171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0497e5438012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:25:02] local.INFO: Packet analysis {"connection_id":164171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0497e"} 
[2026-08-28 23:25:02] local.INFO: Extracted packet for processing {"connection_id":164171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0497e"} 
[2026-08-28 23:25:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712412160001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:25:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:25:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787939411000,"timestamp_ms":1787939411000,"timestamp_seconds":1787939411,"priority":1,"record_length":96,"hex_timestamp":"000001a0497e5438"} 
[2026-08-28 23:25:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:25:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 23:25:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:25:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:25:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":164171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":164171,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":164171,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:25:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712412160001,"66":25234,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712412160001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:25:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:25:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:25:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:25:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712412160001,"power":25234,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":164171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711241,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:25:02] local.INFO: GPS data processed {"connection_id":164171,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:25:02] local.INFO: Acknowledgment sent {"connection_id":164171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:25:08] local.INFO: TCP Data received {"connection_id":164170,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049806390012d34c14006aa4840000900e629..."} 
[2026-08-28 23:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049806390012d34c14006aa4840000900e629..."} 
[2026-08-28 23:25:08] local.INFO: Processing buffer {"connection_id":164170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049806390012d34c14006aa4840000900e629..."} 
[2026-08-28 23:25:08] local.INFO: Packet analysis {"connection_id":164170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04980"} 
[2026-08-28 23:25:08] local.INFO: Extracted packet for processing {"connection_id":164170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04980"} 
[2026-08-28 23:25:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 23:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712446720001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 23:25:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787939546000,"timestamp_ms":1787939546000,"timestamp_seconds":1787939546,"priority":1,"record_length":96,"hex_timestamp":"000001a049806390"} 
[2026-08-28 23:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:25:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 23:25:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:25:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":164170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":164170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":164170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712446720001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712446720001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:25:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:25:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:25: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-28 23:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 23:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712446720001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 23:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":164170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:25:08] local.INFO: GPS data processed {"connection_id":164170,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:25:08] local.INFO: Acknowledgment sent {"connection_id":164170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:25:12] local.INFO: TCP Data received {"connection_id":166513,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166513,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:25:12] local.INFO: Processing buffer {"connection_id":166513,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:25:12] local.INFO: IMEI packet received {"connection_id":166513,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 23:25:12] local.INFO: IMEI acknowledgment sent {"connection_id":166513,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:25:13] local.INFO: TCP Data received {"connection_id":166513,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166513,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:25:13] local.INFO: Processing buffer {"connection_id":166513,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:25:13] local.INFO: IMEI packet received {"connection_id":166513,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 23:25:13] local.INFO: IMEI acknowledgment sent {"connection_id":166513,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:25:19] local.INFO: TCP Data received {"connection_id":166513,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166513,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:25:19] local.INFO: Processing buffer {"connection_id":166513,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:25:19] local.INFO: IMEI packet received {"connection_id":166513,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 23:25:19] local.INFO: IMEI acknowledgment sent {"connection_id":166513,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:25:20] local.INFO: TCP Data received {"connection_id":166513,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049825b78012d196580071ff008003d013928..."} 
[2026-08-28 23:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049825b78012d196580071ff008003d013928..."} 
[2026-08-28 23:25:20] local.INFO: Processing buffer {"connection_id":166513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049825b78012d196580071ff008003d013928..."} 
[2026-08-28 23:25:20] local.INFO: Packet analysis {"connection_id":166513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04982"} 
[2026-08-28 23:25:20] local.INFO: Extracted packet for processing {"connection_id":166513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04982"} 
[2026-08-28 23:25:20] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:25:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712479744001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:25:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:25:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:25:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:25:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787939675000,"timestamp_ms":1787939675000,"timestamp_seconds":1787939675,"priority":1,"record_length":96,"hex_timestamp":"000001a049825b78"} 
[2026-08-28 23:25:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:25:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-28 23:25:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:25:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:25:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:25:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:25:20] local.INFO: Teltonika packet parsed successfully {"connection_id":166513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:25:20] local.INFO: Passing IMEI to GPS processor {"connection_id":166513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:25:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":166513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:25:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:25:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:25:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:25:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712479744001,"66":2144,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:25:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:25:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:25:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712479744001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:25:20] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:25:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:25:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:25:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:25:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712479744001,"power":2144,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:25:20] local.INFO: DEBUG: GPS processor result {"connection_id":166513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711243,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:25:20] local.INFO: GPS data processed {"connection_id":166513,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:25:20] local.INFO: Acknowledgment sent {"connection_id":166513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:25:34] local.INFO: TCP Data received {"connection_id":164171,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0497e5438012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0497e5438012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:25:34] local.INFO: Processing buffer {"connection_id":164171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0497e5438012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:25:34] local.INFO: Packet analysis {"connection_id":164171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0497e"} 
[2026-08-28 23:25:34] local.INFO: Extracted packet for processing {"connection_id":164171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0497e"} 
[2026-08-28 23:25:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712412160001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787939411000,"timestamp_ms":1787939411000,"timestamp_seconds":1787939411,"priority":1,"record_length":96,"hex_timestamp":"000001a0497e5438"} 
[2026-08-28 23:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:25:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 23:25:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:25:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":164171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":164171,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":164171,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:25:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712412160001,"66":25234,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712412160001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:25:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:25:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712412160001,"power":25234,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":164171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711244,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:25:34] local.INFO: GPS data processed {"connection_id":164171,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:25:34] local.INFO: Acknowledgment sent {"connection_id":164171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:25:35] local.INFO: TCP Data received {"connection_id":163880,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:25:35] local.INFO: Processing buffer {"connection_id":163880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:25:35] local.INFO: IMEI packet received {"connection_id":163880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 23:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":163880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:25:40] local.INFO: TCP Data received {"connection_id":163880,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:25:40] local.INFO: Processing buffer {"connection_id":163880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:25:40] local.INFO: IMEI packet received {"connection_id":163880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 23:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":163880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:25:41] local.INFO: TCP Data received {"connection_id":163880,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049806390012d34c14006aa4840000900e629..."} 
[2026-08-28 23:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049806390012d34c14006aa4840000900e629..."} 
[2026-08-28 23:25:41] local.INFO: Processing buffer {"connection_id":163880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049806390012d34c14006aa4840000900e629..."} 
[2026-08-28 23:25:41] local.INFO: Packet analysis {"connection_id":163880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04980"} 
[2026-08-28 23:25:41] local.INFO: Extracted packet for processing {"connection_id":163880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04980"} 
[2026-08-28 23:25:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 23:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712446720001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:25:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 23:25:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787939546000,"timestamp_ms":1787939546000,"timestamp_seconds":1787939546,"priority":1,"record_length":96,"hex_timestamp":"000001a049806390"} 
[2026-08-28 23:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:25:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 23:25: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-28 23:25:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":163880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":163880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":163880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:25:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712446720001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712446720001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:25:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:25:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:25: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-28 23:25:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 23:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712446720001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 23:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":163880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:25:41] local.INFO: GPS data processed {"connection_id":163880,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:25:41] local.INFO: Acknowledgment sent {"connection_id":163880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:25:45] local.INFO: TCP Data received {"connection_id":163880,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049806390012d34c14006aa4840000900e629..."} 
[2026-08-28 23:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049806390012d34c14006aa4840000900e629..."} 
[2026-08-28 23:25:45] local.INFO: Processing buffer {"connection_id":163880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049806390012d34c14006aa4840000900e629..."} 
[2026-08-28 23:25:45] local.INFO: Packet analysis {"connection_id":163880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04980"} 
[2026-08-28 23:25:45] local.INFO: Extracted packet for processing {"connection_id":163880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04980"} 
[2026-08-28 23:25:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 23:25:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:25:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712446720001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:25:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:25:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 23:25:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:25:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787939546000,"timestamp_ms":1787939546000,"timestamp_seconds":1787939546,"priority":1,"record_length":96,"hex_timestamp":"000001a049806390"} 
[2026-08-28 23:25:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:25:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:25:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 23:25: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-28 23:25:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:25:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:25:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:25:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:25:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:25:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:25:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:25:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:25:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:25:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712446720001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:25:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:25:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:25:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712446720001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:25:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:25:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:25: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-28 23:25:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 23:25:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712446720001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 23:25:45] local.INFO: DEBUG: GPS processor result {"connection_id":163880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:25:45] local.INFO: GPS data processed {"connection_id":163880,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:25:45] local.INFO: Acknowledgment sent {"connection_id":163880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:25:52] local.INFO: TCP Data received {"connection_id":166513,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049825b78012d196580071ff008003d013928..."} 
[2026-08-28 23:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049825b78012d196580071ff008003d013928..."} 
[2026-08-28 23:25:52] local.INFO: Processing buffer {"connection_id":166513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049825b78012d196580071ff008003d013928..."} 
[2026-08-28 23:25:52] local.INFO: Packet analysis {"connection_id":166513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04982"} 
[2026-08-28 23:25:52] local.INFO: Extracted packet for processing {"connection_id":166513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04982"} 
[2026-08-28 23:25:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23: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-28 23:25:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712479744001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:25:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:25:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:25:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:25:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787939675000,"timestamp_ms":1787939675000,"timestamp_seconds":1787939675,"priority":1,"record_length":96,"hex_timestamp":"000001a049825b78"} 
[2026-08-28 23: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-28 23:25:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-28 23:25:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23: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-28 23: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-28 23:25:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:25:52] local.INFO: Teltonika packet parsed successfully {"connection_id":166513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:25:52] local.INFO: Passing IMEI to GPS processor {"connection_id":166513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:25:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":166513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:25:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:25:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:25:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:25:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712479744001,"66":2144,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:25:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:25:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:25:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712479744001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:25:52] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:25:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:25:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:25:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:25:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712479744001,"power":2144,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:25:52] local.INFO: DEBUG: GPS processor result {"connection_id":166513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711247,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:25:52] local.INFO: GPS data processed {"connection_id":166513,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:25:52] local.INFO: Acknowledgment sent {"connection_id":166513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:25:55] local.INFO: TCP Data received {"connection_id":164172,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164172,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:25:55] local.INFO: Processing buffer {"connection_id":164172,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:25:55] local.INFO: IMEI packet received {"connection_id":164172,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 23:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":164172,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:26:01] local.INFO: TCP Data received {"connection_id":164172,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164172,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:26:01] local.INFO: Processing buffer {"connection_id":164172,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:26:01] local.INFO: IMEI packet received {"connection_id":164172,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 23:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":164172,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:26:02] local.INFO: TCP Data received {"connection_id":164172,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04982ec00012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04982ec00012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:26:02] local.INFO: Processing buffer {"connection_id":164172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04982ec00012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:26:02] local.INFO: Packet analysis {"connection_id":164172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04982"} 
[2026-08-28 23:26:02] local.INFO: Extracted packet for processing {"connection_id":164172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04982"} 
[2026-08-28 23:26:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712489216001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:26:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787939712000,"timestamp_ms":1787939712000,"timestamp_seconds":1787939712,"priority":1,"record_length":96,"hex_timestamp":"000001a04982ec00"} 
[2026-08-28 23:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:26:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-28 23:26:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:26:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":164172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":164172,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":164172,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712489216001,"66":25267,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712489216001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:26:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:26:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712489216001,"power":25267,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":164172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711248,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:26:02] local.INFO: GPS data processed {"connection_id":164172,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:26:02] local.INFO: Acknowledgment sent {"connection_id":164172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:26:15] local.INFO: TCP Data received {"connection_id":164173,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164173,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:26:15] local.INFO: Processing buffer {"connection_id":164173,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:26:15] local.INFO: IMEI packet received {"connection_id":164173,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 23:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":164173,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:26:20] local.INFO: TCP Data received {"connection_id":164173,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164173,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:26:20] local.INFO: Processing buffer {"connection_id":164173,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:26:20] local.INFO: IMEI packet received {"connection_id":164173,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 23:26:20] local.INFO: IMEI acknowledgment sent {"connection_id":164173,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:26:22] local.INFO: TCP Data received {"connection_id":164173,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049825b78012d196580071ff008003d013928..."} 
[2026-08-28 23:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049825b78012d196580071ff008003d013928..."} 
[2026-08-28 23:26:22] local.INFO: Processing buffer {"connection_id":164173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049825b78012d196580071ff008003d013928..."} 
[2026-08-28 23:26:22] local.INFO: Packet analysis {"connection_id":164173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04982"} 
[2026-08-28 23:26:22] local.INFO: Extracted packet for processing {"connection_id":164173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04982"} 
[2026-08-28 23:26:22] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23: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-28 23:26:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712479744001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:26:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:26:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:26:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:26:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787939675000,"timestamp_ms":1787939675000,"timestamp_seconds":1787939675,"priority":1,"record_length":96,"hex_timestamp":"000001a049825b78"} 
[2026-08-28 23: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-28 23:26:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-28 23:26:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23: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-28 23: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-28 23:26:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:26:22] local.INFO: Teltonika packet parsed successfully {"connection_id":164173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:26:22] local.INFO: Passing IMEI to GPS processor {"connection_id":164173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:26:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":164173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:26:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:26:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:26:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:26:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712479744001,"66":2144,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:26:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:26:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:26:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712479744001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:26:22] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:26:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:26:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:26:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:26:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712479744001,"power":2144,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:26:22] local.INFO: DEBUG: GPS processor result {"connection_id":164173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711249,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:26:22] local.INFO: GPS data processed {"connection_id":164173,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:26:22] local.INFO: Acknowledgment sent {"connection_id":164173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:26:30] local.INFO: TCP Data received {"connection_id":163881,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:26:30] local.INFO: Processing buffer {"connection_id":163881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:26:30] local.INFO: IMEI packet received {"connection_id":163881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 23:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":163881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:26:34] local.INFO: TCP Data received {"connection_id":164172,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04982ec00012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04982ec00012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:26:34] local.INFO: Processing buffer {"connection_id":164172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04982ec00012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:26:34] local.INFO: Packet analysis {"connection_id":164172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04982"} 
[2026-08-28 23:26:34] local.INFO: Extracted packet for processing {"connection_id":164172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04982"} 
[2026-08-28 23:26:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:26:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712489216001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:26:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:26:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:26:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:26:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787939712000,"timestamp_ms":1787939712000,"timestamp_seconds":1787939712,"priority":1,"record_length":96,"hex_timestamp":"000001a04982ec00"} 
[2026-08-28 23:26:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:26:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-28 23:26:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:26:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:26:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:26:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:26:34] local.INFO: Teltonika packet parsed successfully {"connection_id":164172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:26:34] local.INFO: Passing IMEI to GPS processor {"connection_id":164172,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:26:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":164172,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:26:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:26:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:26:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:26:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712489216001,"66":25267,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:26:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:26:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:26:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712489216001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:26:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:26:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:26:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:26:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:26:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712489216001,"power":25267,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:26:34] local.INFO: DEBUG: GPS processor result {"connection_id":164172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711250,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:26:34] local.INFO: GPS data processed {"connection_id":164172,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:26:34] local.INFO: Acknowledgment sent {"connection_id":164172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:26:35] local.INFO: TCP Data received {"connection_id":163881,"ip":"117.224.172.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:26:35] local.INFO: Processing buffer {"connection_id":163881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:26:35] local.INFO: IMEI packet received {"connection_id":163881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 23:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":163881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:26:36] local.INFO: TCP Data received {"connection_id":163881,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049806390012d34c14006aa4840000900e629..."} 
[2026-08-28 23:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049806390012d34c14006aa4840000900e629..."} 
[2026-08-28 23:26:36] local.INFO: Processing buffer {"connection_id":163881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049806390012d34c14006aa4840000900e629..."} 
[2026-08-28 23:26:36] local.INFO: Packet analysis {"connection_id":163881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04980"} 
[2026-08-28 23:26:36] local.INFO: Extracted packet for processing {"connection_id":163881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04980"} 
[2026-08-28 23:26:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 23:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712446720001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 23:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787939546000,"timestamp_ms":1787939546000,"timestamp_seconds":1787939546,"priority":1,"record_length":96,"hex_timestamp":"000001a049806390"} 
[2026-08-28 23:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 23:26:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:26:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":163881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":163881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":163881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:26:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712446720001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712446720001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:26:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:26:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 23:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712446720001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 23:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":163881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:26:36] local.INFO: GPS data processed {"connection_id":163881,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:26:36] local.INFO: Acknowledgment sent {"connection_id":163881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:26:53] local.INFO: TCP Data received {"connection_id":164173,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049825b78012d196580071ff008003d013928..."} 
[2026-08-28 23:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049825b78012d196580071ff008003d013928..."} 
[2026-08-28 23:26:53] local.INFO: Processing buffer {"connection_id":164173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049825b78012d196580071ff008003d013928..."} 
[2026-08-28 23:26:53] local.INFO: Packet analysis {"connection_id":164173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04982"} 
[2026-08-28 23:26:53] local.INFO: Extracted packet for processing {"connection_id":164173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04982"} 
[2026-08-28 23:26:53] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23: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-28 23:26:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712479744001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:26:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:26:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:26:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:26:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787939675000,"timestamp_ms":1787939675000,"timestamp_seconds":1787939675,"priority":1,"record_length":96,"hex_timestamp":"000001a049825b78"} 
[2026-08-28 23: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-28 23:26:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-28 23:26:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23: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-28 23: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-28 23:26:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:26:53] local.INFO: Teltonika packet parsed successfully {"connection_id":164173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:26:53] local.INFO: Passing IMEI to GPS processor {"connection_id":164173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:26:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":164173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:26:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:26:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:26:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:26:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712479744001,"66":2144,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:26:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:26:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:26:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712479744001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:26:53] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:26:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:26:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:26:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:26:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712479744001,"power":2144,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:26:53] local.INFO: DEBUG: GPS processor result {"connection_id":164173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711252,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:26:53] local.INFO: GPS data processed {"connection_id":164173,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:26:53] local.INFO: Acknowledgment sent {"connection_id":164173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:26:55] local.INFO: TCP Data received {"connection_id":166514,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166514,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:26:55] local.INFO: Processing buffer {"connection_id":166514,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:26:55] local.INFO: IMEI packet received {"connection_id":166514,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 23:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":166514,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:27:01] local.INFO: TCP Data received {"connection_id":166514,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166514,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:27:01] local.INFO: Processing buffer {"connection_id":166514,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:27:01] local.INFO: IMEI packet received {"connection_id":166514,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 23:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":166514,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:27:02] local.INFO: TCP Data received {"connection_id":166514,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04982ec00012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04982ec00012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:27:02] local.INFO: Processing buffer {"connection_id":166514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04982ec00012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:27:02] local.INFO: Packet analysis {"connection_id":166514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04982"} 
[2026-08-28 23:27:02] local.INFO: Extracted packet for processing {"connection_id":166514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04982"} 
[2026-08-28 23:27:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:27:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712489216001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:27:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:27:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:27:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:27:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787939712000,"timestamp_ms":1787939712000,"timestamp_seconds":1787939712,"priority":1,"record_length":96,"hex_timestamp":"000001a04982ec00"} 
[2026-08-28 23:27:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:27:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-28 23:27:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:27:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:27:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:27:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:27:02] local.INFO: Teltonika packet parsed successfully {"connection_id":166514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:27:02] local.INFO: Passing IMEI to GPS processor {"connection_id":166514,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:27:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":166514,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:27:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:27:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:27:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:27:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712489216001,"66":25267,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:27:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:27:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:27:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712489216001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:27:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:27:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:27:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:27:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:27:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712489216001,"power":25267,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:27:02] local.INFO: DEBUG: GPS processor result {"connection_id":166514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711253,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:27:02] local.INFO: GPS data processed {"connection_id":166514,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:27:02] local.INFO: Acknowledgment sent {"connection_id":166514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:27:08] local.INFO: TCP Data received {"connection_id":163881,"ip":"117.224.172.42","data_length":795,"data_hex":"000000000000030f8e0a000001a049806390012d34c14006aa4840000900e629..."} 
[2026-08-28 23:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049806390012d34c14006aa4840000900e629..."} 
[2026-08-28 23:27:08] local.INFO: Processing buffer {"connection_id":163881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049806390012d34c14006aa4840000900e629..."} 
[2026-08-28 23:27:08] local.INFO: Packet analysis {"connection_id":163881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04980"} 
[2026-08-28 23:27:08] local.INFO: Extracted packet for processing {"connection_id":163881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04980"} 
[2026-08-28 23:27:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111822912,"longitude_deg":75.8432064,"latitude_deg":11.1822912,"altitude":9,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4840","is_valid_coordinates":true} 
[2026-08-28 23:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712446720001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:27:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957848252416,"note":"Value kept but may cause issues"} 
[2026-08-28 23:27:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787939546000,"timestamp_ms":1787939546000,"timestamp_seconds":1787939546,"priority":1,"record_length":96,"hex_timestamp":"000001a049806390"} 
[2026-08-28 23:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:27:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-28 23:27:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:27:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":163881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":163881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":163881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:27:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.172.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712446720001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3801389957848252416},"client_ip":"117.224.172.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712446720001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:27:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:27:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:27: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-28 23:27:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957848252416,"description":"Unknown IO ID 45"} 
[2026-08-28 23:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712446720001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801389957848252416}} 
[2026-08-28 23:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":163881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:27:08] local.INFO: GPS data processed {"connection_id":163881,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:27:08] local.INFO: Acknowledgment sent {"connection_id":163881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:27:13] local.INFO: TCP Data received {"connection_id":166515,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:27:13] local.INFO: Processing buffer {"connection_id":166515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:27:13] local.INFO: IMEI packet received {"connection_id":166515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 23:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":166515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:27:19] local.INFO: TCP Data received {"connection_id":166515,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:27:19] local.INFO: Processing buffer {"connection_id":166515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:27:19] local.INFO: IMEI packet received {"connection_id":166515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 23:27:19] local.INFO: IMEI acknowledgment sent {"connection_id":166515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:27:21] local.INFO: TCP Data received {"connection_id":166515,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049825b78012d196580071ff008003d013928..."} 
[2026-08-28 23:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049825b78012d196580071ff008003d013928..."} 
[2026-08-28 23:27:21] local.INFO: Processing buffer {"connection_id":166515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049825b78012d196580071ff008003d013928..."} 
[2026-08-28 23:27:21] local.INFO: Packet analysis {"connection_id":166515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04982"} 
[2026-08-28 23:27:21] local.INFO: Extracted packet for processing {"connection_id":166515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04982"} 
[2026-08-28 23:27:21] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23: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-28 23:27:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712479744001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:27:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:27:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:27:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:27:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787939675000,"timestamp_ms":1787939675000,"timestamp_seconds":1787939675,"priority":1,"record_length":96,"hex_timestamp":"000001a049825b78"} 
[2026-08-28 23: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-28 23:27:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-28 23:27:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23: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-28 23: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-28 23:27:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:27:21] local.INFO: Teltonika packet parsed successfully {"connection_id":166515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:27:21] local.INFO: Passing IMEI to GPS processor {"connection_id":166515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:27:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":166515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:27:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:27:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:27:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:27:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712479744001,"66":2144,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:27:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:27:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:27:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712479744001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:27:21] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:27:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:27:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:27:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:27:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712479744001,"power":2144,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:27:21] local.INFO: DEBUG: GPS processor result {"connection_id":166515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711255,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:27:21] local.INFO: GPS data processed {"connection_id":166515,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:27:21] local.INFO: Acknowledgment sent {"connection_id":166515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:27:34] local.INFO: TCP Data received {"connection_id":166514,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04982ec00012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04982ec00012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:27:34] local.INFO: Processing buffer {"connection_id":166514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04982ec00012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:27:34] local.INFO: Packet analysis {"connection_id":166514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04982"} 
[2026-08-28 23:27:34] local.INFO: Extracted packet for processing {"connection_id":166514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04982"} 
[2026-08-28 23:27:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:27:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712489216001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:27:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:27:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:27:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:27:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787939712000,"timestamp_ms":1787939712000,"timestamp_seconds":1787939712,"priority":1,"record_length":96,"hex_timestamp":"000001a04982ec00"} 
[2026-08-28 23:27:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:27:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-28 23:27:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:27:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:27:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:27:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:27:34] local.INFO: Teltonika packet parsed successfully {"connection_id":166514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:27:34] local.INFO: Passing IMEI to GPS processor {"connection_id":166514,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:27:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":166514,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:27:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:27:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:27:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:27:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712489216001,"66":25267,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:27:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:27:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:27:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712489216001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:27:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:27:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:27:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:27:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:27:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712489216001,"power":25267,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:27:34] local.INFO: DEBUG: GPS processor result {"connection_id":166514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711256,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:27:34] local.INFO: GPS data processed {"connection_id":166514,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:27:34] local.INFO: Acknowledgment sent {"connection_id":166514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:27:53] local.INFO: TCP Data received {"connection_id":166515,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049825b78012d196580071ff008003d013928..."} 
[2026-08-28 23:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049825b78012d196580071ff008003d013928..."} 
[2026-08-28 23:27:53] local.INFO: Processing buffer {"connection_id":166515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049825b78012d196580071ff008003d013928..."} 
[2026-08-28 23:27:53] local.INFO: Packet analysis {"connection_id":166515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04982"} 
[2026-08-28 23:27:53] local.INFO: Extracted packet for processing {"connection_id":166515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04982"} 
[2026-08-28 23:27:53] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:27:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712479744001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:27:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:27:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:27:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:27:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787939675000,"timestamp_ms":1787939675000,"timestamp_seconds":1787939675,"priority":1,"record_length":96,"hex_timestamp":"000001a049825b78"} 
[2026-08-28 23:27:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:27:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-28 23:27:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:27:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:27:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:27:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:27:53] local.INFO: Teltonika packet parsed successfully {"connection_id":166515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:27:53] local.INFO: Passing IMEI to GPS processor {"connection_id":166515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:27:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":166515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:27:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:27:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:27:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:27:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712479744001,"66":2144,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:27:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:27:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:27:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712479744001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:27:53] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:27:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:27:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:27:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:27:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712479744001,"power":2144,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:27:53] local.INFO: DEBUG: GPS processor result {"connection_id":166515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711257,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:27:53] local.INFO: GPS data processed {"connection_id":166515,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:27:53] local.INFO: Acknowledgment sent {"connection_id":166515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:27:55] local.INFO: TCP Data received {"connection_id":164174,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164174,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:27:55] local.INFO: Processing buffer {"connection_id":164174,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:27:55] local.INFO: IMEI packet received {"connection_id":164174,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 23:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":164174,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:28:01] local.INFO: TCP Data received {"connection_id":164174,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164174,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:28:01] local.INFO: Processing buffer {"connection_id":164174,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:28:01] local.INFO: IMEI packet received {"connection_id":164174,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 23:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":164174,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:28:02] local.INFO: TCP Data received {"connection_id":164174,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04982ec00012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04982ec00012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:28:02] local.INFO: Processing buffer {"connection_id":164174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04982ec00012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:28:02] local.INFO: Packet analysis {"connection_id":164174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04982"} 
[2026-08-28 23:28:02] local.INFO: Extracted packet for processing {"connection_id":164174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04982"} 
[2026-08-28 23:28:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712489216001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:28:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:28:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787939712000,"timestamp_ms":1787939712000,"timestamp_seconds":1787939712,"priority":1,"record_length":96,"hex_timestamp":"000001a04982ec00"} 
[2026-08-28 23:28:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:28:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-28 23:28:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:28:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:28:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":164174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":164174,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":164174,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:28:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712489216001,"66":25267,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712489216001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:28:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:28:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:28:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:28:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:28:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712489216001,"power":25267,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:28:02] local.INFO: DEBUG: GPS processor result {"connection_id":164174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711258,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:28:02] local.INFO: GPS data processed {"connection_id":164174,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:28:02] local.INFO: Acknowledgment sent {"connection_id":164174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:28:07] local.INFO: TCP Data received {"connection_id":163882,"ip":"117.224.209.167","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:28:07] local.INFO: Processing buffer {"connection_id":163882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:28:07] local.INFO: IMEI packet received {"connection_id":163882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 23:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":163882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:28:12] local.INFO: TCP Data received {"connection_id":163882,"ip":"117.224.209.167","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:28:12] local.INFO: Processing buffer {"connection_id":163882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:28:12] local.INFO: IMEI packet received {"connection_id":163882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 23:28:12] local.INFO: IMEI acknowledgment sent {"connection_id":163882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:28:13] local.INFO: TCP Data received {"connection_id":165157,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165157,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:28:13] local.INFO: Processing buffer {"connection_id":165157,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:28:13] local.INFO: IMEI packet received {"connection_id":165157,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 23:28:13] local.INFO: IMEI acknowledgment sent {"connection_id":165157,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:28:14] local.INFO: TCP Data received {"connection_id":163882,"ip":"117.224.209.167","data_length":795,"data_hex":"000000000000030f8e0a000001a047e9dd400100000000000000000000000000..."} 
[2026-08-28 23:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047e9dd400100000000000000000000000000..."} 
[2026-08-28 23:28:14] local.INFO: Processing buffer {"connection_id":163882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047e9dd400100000000000000000000000000..."} 
[2026-08-28 23:28:14] local.INFO: Packet analysis {"connection_id":163882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047e9"} 
[2026-08-28 23:28:14] local.INFO: Extracted packet for processing {"connection_id":163882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047e9"} 
[2026-08-28 23:28: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-28 23:28:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:28:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:28:14] 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-28 23:28:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787912904000,"timestamp_ms":1787912904000,"timestamp_seconds":1787912904,"priority":1,"record_length":96,"hex_timestamp":"000001a047e9dd40"} 
[2026-08-28 23: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-28 23:28:14] 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-28 23: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":200,"data_length":795,"current_offset":136} 
[2026-08-28 23:28:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23: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-28 23: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-28 23:28:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:28:14] local.INFO: Teltonika packet parsed successfully {"connection_id":163882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:28:14] local.INFO: Passing IMEI to GPS processor {"connection_id":163882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:28:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":163882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:28:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.209.167","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:28:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:28:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:28:14] local.INFO: DEBUG: GPS processor result {"connection_id":163882,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-28 23:28:14] local.INFO: GPS data processed {"connection_id":163882,"processed":0,"errors":0,"total":1} 
[2026-08-28 23:28:14] local.INFO: Acknowledgment sent {"connection_id":163882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:28:19] local.INFO: TCP Data received {"connection_id":165157,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165157,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:28:19] local.INFO: Processing buffer {"connection_id":165157,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:28:19] local.INFO: IMEI packet received {"connection_id":165157,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 23:28:19] local.INFO: IMEI acknowledgment sent {"connection_id":165157,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:28:21] local.INFO: TCP Data received {"connection_id":165157,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049825b78012d196580071ff008003d013928..."} 
[2026-08-28 23:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049825b78012d196580071ff008003d013928..."} 
[2026-08-28 23:28:21] local.INFO: Processing buffer {"connection_id":165157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049825b78012d196580071ff008003d013928..."} 
[2026-08-28 23:28:21] local.INFO: Packet analysis {"connection_id":165157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04982"} 
[2026-08-28 23:28:21] local.INFO: Extracted packet for processing {"connection_id":165157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04982"} 
[2026-08-28 23:28:21] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23: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-28 23:28:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712479744001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:28:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:28:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:28:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:28:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787939675000,"timestamp_ms":1787939675000,"timestamp_seconds":1787939675,"priority":1,"record_length":96,"hex_timestamp":"000001a049825b78"} 
[2026-08-28 23: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-28 23:28:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-28 23:28:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23: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-28 23: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-28 23:28:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:28:21] local.INFO: Teltonika packet parsed successfully {"connection_id":165157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:28:21] local.INFO: Passing IMEI to GPS processor {"connection_id":165157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:28:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":165157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:28:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:28:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:28:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:28:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712479744001,"66":2144,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:28:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:28:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:28:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712479744001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:28:21] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:28:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:28:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:28:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:28:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712479744001,"power":2144,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:28:21] 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":711259,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:28:21] local.INFO: GPS data processed {"connection_id":165157,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:28:21] local.INFO: Acknowledgment sent {"connection_id":165157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:28:34] local.INFO: TCP Data received {"connection_id":164174,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04982ec00012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04982ec00012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:28:34] local.INFO: Processing buffer {"connection_id":164174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04982ec00012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:28:34] local.INFO: Packet analysis {"connection_id":164174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04982"} 
[2026-08-28 23:28:34] local.INFO: Extracted packet for processing {"connection_id":164174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04982"} 
[2026-08-28 23:28:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712489216001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:28:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787939712000,"timestamp_ms":1787939712000,"timestamp_seconds":1787939712,"priority":1,"record_length":96,"hex_timestamp":"000001a04982ec00"} 
[2026-08-28 23:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:28:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-28 23:28:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:28:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":164174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":164174,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":164174,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:28:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712489216001,"66":25267,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712489216001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:28:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:28:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:28:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712489216001,"power":25267,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":164174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711260,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:28:34] local.INFO: GPS data processed {"connection_id":164174,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:28:34] local.INFO: Acknowledgment sent {"connection_id":164174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:28:45] local.INFO: TCP Data received {"connection_id":163882,"ip":"117.224.209.167","data_length":795,"data_hex":"000000000000030f8e0a000001a047e9dd400100000000000000000000000000..."} 
[2026-08-28 23:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047e9dd400100000000000000000000000000..."} 
[2026-08-28 23:28:45] local.INFO: Processing buffer {"connection_id":163882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047e9dd400100000000000000000000000000..."} 
[2026-08-28 23:28:45] local.INFO: Packet analysis {"connection_id":163882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047e9"} 
[2026-08-28 23:28:45] local.INFO: Extracted packet for processing {"connection_id":163882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047e9"} 
[2026-08-28 23:28: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-28 23:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:28:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:28:45] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,66,24,16],"length":72,"final_offset":106,"validated_count":4,"validation_warnings":[]} 
[2026-08-28 23:28:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787912904000,"timestamp_ms":1787912904000,"timestamp_seconds":1787912904,"priority":1,"record_length":96,"hex_timestamp":"000001a047e9dd40"} 
[2026-08-28 23: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-28 23:28:45] 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-28 23: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":200,"data_length":795,"current_offset":136} 
[2026-08-28 23:28:45] 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-28 23: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-28 23: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-28 23:28:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:28:45] local.INFO: Teltonika packet parsed successfully {"connection_id":163882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:28:45] local.INFO: Passing IMEI to GPS processor {"connection_id":163882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:28:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":163882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:28:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.209.167","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:28:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:28:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:28:45] local.INFO: DEBUG: GPS processor result {"connection_id":163882,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-28 23:28:45] local.INFO: GPS data processed {"connection_id":163882,"processed":0,"errors":0,"total":1} 
[2026-08-28 23:28:45] local.INFO: Acknowledgment sent {"connection_id":163882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:28:56] local.INFO: TCP Data received {"connection_id":165157,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049825b78012d196580071ff008003d013928..."} 
[2026-08-28 23:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049825b78012d196580071ff008003d013928..."} 
[2026-08-28 23:28:56] local.INFO: Processing buffer {"connection_id":165157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049825b78012d196580071ff008003d013928..."} 
[2026-08-28 23:28:56] local.INFO: Packet analysis {"connection_id":165157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04982"} 
[2026-08-28 23:28:56] local.INFO: Extracted packet for processing {"connection_id":165157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04982"} 
[2026-08-28 23:28:56] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23: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-28 23:28:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712479744001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:28:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:28:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:28:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:28:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787939675000,"timestamp_ms":1787939675000,"timestamp_seconds":1787939675,"priority":1,"record_length":96,"hex_timestamp":"000001a049825b78"} 
[2026-08-28 23: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-28 23:28:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23: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":96,"data_length":795,"current_offset":136} 
[2026-08-28 23:28:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23: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-28 23: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-28 23:28:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:28:56] local.INFO: Teltonika packet parsed successfully {"connection_id":165157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:28:56] local.INFO: Passing IMEI to GPS processor {"connection_id":165157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:28:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":165157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:28:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:28:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:28:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:28:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712479744001,"66":2144,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:28:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:28:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:28:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712479744001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:28:56] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:28:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:28:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:28:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:28:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712479744001,"power":2144,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:28:56] 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":711261,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:28:56] local.INFO: GPS data processed {"connection_id":165157,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:28:56] local.INFO: Acknowledgment sent {"connection_id":165157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:29:01] local.INFO: TCP Data received {"connection_id":165158,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165158,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:29:01] local.INFO: Processing buffer {"connection_id":165158,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:29:01] local.INFO: IMEI packet received {"connection_id":165158,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 23:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":165158,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:29:06] local.INFO: TCP Data received {"connection_id":165158,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165158,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:29:06] local.INFO: Processing buffer {"connection_id":165158,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:29:06] local.INFO: IMEI packet received {"connection_id":165158,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 23:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":165158,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:29:08] local.INFO: TCP Data received {"connection_id":165158,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04982ec00012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04982ec00012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:29:08] local.INFO: Processing buffer {"connection_id":165158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04982ec00012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:29:08] local.INFO: Packet analysis {"connection_id":165158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04982"} 
[2026-08-28 23:29:08] local.INFO: Extracted packet for processing {"connection_id":165158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04982"} 
[2026-08-28 23:29:08] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712489216001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:29:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787939712000,"timestamp_ms":1787939712000,"timestamp_seconds":1787939712,"priority":1,"record_length":96,"hex_timestamp":"000001a04982ec00"} 
[2026-08-28 23:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:29:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-28 23:29:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:29:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":165158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":165158,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":165158,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712489216001,"66":25267,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712489216001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:29:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:29:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712489216001,"power":25267,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:29:08] 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":711262,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:29:08] local.INFO: GPS data processed {"connection_id":165158,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:29:08] local.INFO: Acknowledgment sent {"connection_id":165158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:29:12] local.INFO: TCP Data received {"connection_id":165158,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04982ec00012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04982ec00012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:29:12] local.INFO: Processing buffer {"connection_id":165158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04982ec00012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:29:12] local.INFO: Packet analysis {"connection_id":165158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04982"} 
[2026-08-28 23:29:12] local.INFO: Extracted packet for processing {"connection_id":165158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04982"} 
[2026-08-28 23:29:12] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:29:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712489216001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:29:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:29:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:29:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:29:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787939712000,"timestamp_ms":1787939712000,"timestamp_seconds":1787939712,"priority":1,"record_length":96,"hex_timestamp":"000001a04982ec00"} 
[2026-08-28 23:29:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:29:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-28 23:29:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:29:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:29:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:29:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:29:12] local.INFO: Teltonika packet parsed successfully {"connection_id":165158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:29:12] local.INFO: Passing IMEI to GPS processor {"connection_id":165158,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:29:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":165158,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:29:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:29:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:29:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:29:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712489216001,"66":25267,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:29:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:29:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:29:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712489216001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:29:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:29:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:29:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:29:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:29:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712489216001,"power":25267,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:29:12] 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":711263,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:29:12] local.INFO: GPS data processed {"connection_id":165158,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:29:12] local.INFO: Acknowledgment sent {"connection_id":165158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:29:16] local.INFO: TCP Data received {"connection_id":163882,"ip":"117.224.209.167","data_length":795,"data_hex":"000000000000030f8e0a000001a047e9dd400100000000000000000000000000..."} 
[2026-08-28 23:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047e9dd400100000000000000000000000000..."} 
[2026-08-28 23:29:16] local.INFO: Processing buffer {"connection_id":163882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047e9dd400100000000000000000000000000..."} 
[2026-08-28 23:29:16] local.INFO: Packet analysis {"connection_id":163882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047e9"} 
[2026-08-28 23:29:16] local.INFO: Extracted packet for processing {"connection_id":163882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047e9"} 
[2026-08-28 23:29:16] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-28 23:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:29:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:29:16] 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-28 23:29:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787912904000,"timestamp_ms":1787912904000,"timestamp_seconds":1787912904,"priority":1,"record_length":96,"hex_timestamp":"000001a047e9dd40"} 
[2026-08-28 23: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-28 23:29:16] 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-28 23: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 23:29:16] 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-28 23: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-28 23: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-28 23:29:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:29:16] local.INFO: Teltonika packet parsed successfully {"connection_id":163882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:29:16] local.INFO: Passing IMEI to GPS processor {"connection_id":163882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:29:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":163882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:29:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.209.167","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:29:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:29:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:29:16] local.INFO: DEBUG: GPS processor result {"connection_id":163882,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-28 23:29:16] local.INFO: GPS data processed {"connection_id":163882,"processed":0,"errors":0,"total":1} 
[2026-08-28 23:29:16] local.INFO: Acknowledgment sent {"connection_id":163882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:29:19] local.INFO: TCP Data received {"connection_id":164175,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164175,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:29:19] local.INFO: Processing buffer {"connection_id":164175,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:29:19] local.INFO: IMEI packet received {"connection_id":164175,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 23:29:19] local.INFO: IMEI acknowledgment sent {"connection_id":164175,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:29:24] local.INFO: TCP Data received {"connection_id":164175,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164175,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:29:24] local.INFO: Processing buffer {"connection_id":164175,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:29:24] local.INFO: IMEI packet received {"connection_id":164175,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 23:29:24] local.INFO: IMEI acknowledgment sent {"connection_id":164175,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:29:26] local.INFO: TCP Data received {"connection_id":164175,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049825b78012d196580071ff008003d013928..."} 
[2026-08-28 23:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049825b78012d196580071ff008003d013928..."} 
[2026-08-28 23:29:26] local.INFO: Processing buffer {"connection_id":164175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049825b78012d196580071ff008003d013928..."} 
[2026-08-28 23:29:26] local.INFO: Packet analysis {"connection_id":164175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04982"} 
[2026-08-28 23:29:26] local.INFO: Extracted packet for processing {"connection_id":164175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04982"} 
[2026-08-28 23:29:26] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:29:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:29:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712479744001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:29:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:29:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:29:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:29:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787939675000,"timestamp_ms":1787939675000,"timestamp_seconds":1787939675,"priority":1,"record_length":96,"hex_timestamp":"000001a049825b78"} 
[2026-08-28 23:29:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:29:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:29:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-28 23:29:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:29:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:29:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:29:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:29:26] local.INFO: Teltonika packet parsed successfully {"connection_id":164175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:29:26] local.INFO: Passing IMEI to GPS processor {"connection_id":164175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:29:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":164175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:29:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:29:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:29:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:29:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712479744001,"66":2144,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:29:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:29:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:29:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712479744001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:29:26] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:29:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:29:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:29:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:29:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712479744001,"power":2144,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:29:26] local.INFO: DEBUG: GPS processor result {"connection_id":164175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711264,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:29:26] local.INFO: GPS data processed {"connection_id":164175,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:29:26] local.INFO: Acknowledgment sent {"connection_id":164175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:29:29] local.INFO: TCP Data received {"connection_id":164175,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049825b78012d196580071ff008003d013928..."} 
[2026-08-28 23:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049825b78012d196580071ff008003d013928..."} 
[2026-08-28 23:29:29] local.INFO: Processing buffer {"connection_id":164175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049825b78012d196580071ff008003d013928..."} 
[2026-08-28 23:29:29] local.INFO: Packet analysis {"connection_id":164175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04982"} 
[2026-08-28 23:29:29] local.INFO: Extracted packet for processing {"connection_id":164175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04982"} 
[2026-08-28 23:29:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:29:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:29:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712479744001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:29:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:29:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:29:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:29:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787939675000,"timestamp_ms":1787939675000,"timestamp_seconds":1787939675,"priority":1,"record_length":96,"hex_timestamp":"000001a049825b78"} 
[2026-08-28 23:29:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:29:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:29:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-28 23:29:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:29:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:29:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:29:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:29:29] local.INFO: Teltonika packet parsed successfully {"connection_id":164175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:29:29] local.INFO: Passing IMEI to GPS processor {"connection_id":164175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:29:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":164175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:29:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:29:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:29:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:29:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712479744001,"66":2144,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:29:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:29:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:29:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712479744001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:29:29] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:29:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:29:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:29:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:29:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712479744001,"power":2144,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":164175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711265,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:29:30] local.INFO: GPS data processed {"connection_id":164175,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:29:30] local.INFO: Acknowledgment sent {"connection_id":164175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:29:48] local.INFO: TCP Data received {"connection_id":163882,"ip":"117.224.209.167","data_length":795,"data_hex":"000000000000030f8e0a000001a047e9dd400100000000000000000000000000..."} 
[2026-08-28 23:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047e9dd400100000000000000000000000000..."} 
[2026-08-28 23:29:48] local.INFO: Processing buffer {"connection_id":163882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047e9dd400100000000000000000000000000..."} 
[2026-08-28 23:29:48] local.INFO: Packet analysis {"connection_id":163882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047e9"} 
[2026-08-28 23:29:48] local.INFO: Extracted packet for processing {"connection_id":163882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047e9"} 
[2026-08-28 23:29:48] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-28 23:29:48] 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-28 23:29:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:29:48] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,66,24,16],"length":72,"final_offset":106,"validated_count":4,"validation_warnings":[]} 
[2026-08-28 23:29:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787912904000,"timestamp_ms":1787912904000,"timestamp_seconds":1787912904,"priority":1,"record_length":96,"hex_timestamp":"000001a047e9dd40"} 
[2026-08-28 23: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-28 23:29: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-28 23: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 23:29:48] 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-28 23: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-28 23: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-28 23:29:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:29:48] local.INFO: Teltonika packet parsed successfully {"connection_id":163882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:29:48] local.INFO: Passing IMEI to GPS processor {"connection_id":163882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:29:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":163882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:29:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.209.167","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:29:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:29:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:29:48] local.INFO: DEBUG: GPS processor result {"connection_id":163882,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-28 23:29:48] local.INFO: GPS data processed {"connection_id":163882,"processed":0,"errors":0,"total":1} 
[2026-08-28 23:29:48] local.INFO: Acknowledgment sent {"connection_id":163882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:29:55] local.INFO: TCP Data received {"connection_id":163883,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163883,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:29:55] local.INFO: Processing buffer {"connection_id":163883,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:29:55] local.INFO: IMEI packet received {"connection_id":163883,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 23:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":163883,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:30:01] local.INFO: TCP Data received {"connection_id":163883,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163883,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:30:01] local.INFO: Processing buffer {"connection_id":163883,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:30:01] local.INFO: IMEI packet received {"connection_id":163883,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 23:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":163883,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:30:02] local.INFO: TCP Data received {"connection_id":163883,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04982ec00012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04982ec00012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:30:02] local.INFO: Processing buffer {"connection_id":163883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04982ec00012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:30:02] local.INFO: Packet analysis {"connection_id":163883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04982"} 
[2026-08-28 23:30:02] local.INFO: Extracted packet for processing {"connection_id":163883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04982"} 
[2026-08-28 23:30:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:30:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712489216001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:30:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:30:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787939712000,"timestamp_ms":1787939712000,"timestamp_seconds":1787939712,"priority":1,"record_length":96,"hex_timestamp":"000001a04982ec00"} 
[2026-08-28 23:30:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:30:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:30:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-28 23:30:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:30:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:30:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163883,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163883,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:30:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712489216001,"66":25267,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712489216001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:30:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:30:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:30:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712489216001,"power":25267,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":163883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711266,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:30:02] local.INFO: GPS data processed {"connection_id":163883,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:30:02] local.INFO: Acknowledgment sent {"connection_id":163883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:30:14] local.INFO: TCP Data received {"connection_id":165159,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165159,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:30:14] local.INFO: Processing buffer {"connection_id":165159,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:30:14] local.INFO: IMEI packet received {"connection_id":165159,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 23:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":165159,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:30:15] local.INFO: TCP Data received {"connection_id":165159,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165159,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:30:15] local.INFO: Processing buffer {"connection_id":165159,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:30:15] local.INFO: IMEI packet received {"connection_id":165159,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 23:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":165159,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:30:19] local.INFO: TCP Data received {"connection_id":165159,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165159,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:30:19] local.INFO: Processing buffer {"connection_id":165159,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:30:19] local.INFO: IMEI packet received {"connection_id":165159,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 23:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":165159,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:30:19] local.INFO: TCP Data received {"connection_id":163882,"ip":"117.224.209.167","data_length":795,"data_hex":"000000000000030f8e0a000001a047e9dd400100000000000000000000000000..."} 
[2026-08-28 23:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047e9dd400100000000000000000000000000..."} 
[2026-08-28 23:30:19] local.INFO: Processing buffer {"connection_id":163882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047e9dd400100000000000000000000000000..."} 
[2026-08-28 23:30:19] local.INFO: Packet analysis {"connection_id":163882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047e9"} 
[2026-08-28 23:30:19] local.INFO: Extracted packet for processing {"connection_id":163882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047e9"} 
[2026-08-28 23:30:19] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-28 23:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:30:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:30:19] 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-28 23:30:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787912904000,"timestamp_ms":1787912904000,"timestamp_seconds":1787912904,"priority":1,"record_length":96,"hex_timestamp":"000001a047e9dd40"} 
[2026-08-28 23:30:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:30:19] 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-28 23:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 23:30:19] 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-28 23:30:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:30:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:30:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:30:19] local.INFO: Teltonika packet parsed successfully {"connection_id":163882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:30:19] local.INFO: Passing IMEI to GPS processor {"connection_id":163882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:30:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":163882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:30:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.209.167","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:30:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:30:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:30:19] local.INFO: DEBUG: GPS processor result {"connection_id":163882,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-28 23:30:19] local.INFO: GPS data processed {"connection_id":163882,"processed":0,"errors":0,"total":1} 
[2026-08-28 23:30:19] local.INFO: Acknowledgment sent {"connection_id":163882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:30:20] local.INFO: TCP Data received {"connection_id":165159,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a04986f340012d196580071ff008003d013928..."} 
[2026-08-28 23:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04986f340012d196580071ff008003d013928..."} 
[2026-08-28 23:30:20] local.INFO: Processing buffer {"connection_id":165159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04986f340012d196580071ff008003d013928..."} 
[2026-08-28 23:30:20] local.INFO: Packet analysis {"connection_id":165159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04986"} 
[2026-08-28 23:30:20] local.INFO: Extracted packet for processing {"connection_id":165159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04986"} 
[2026-08-28 23:30:20] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:30:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:30:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712556800001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:30:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:30:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:30:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:30:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787939976000,"timestamp_ms":1787939976000,"timestamp_seconds":1787939976,"priority":1,"record_length":96,"hex_timestamp":"000001a04986f340"} 
[2026-08-28 23:30:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:30:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:30:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-28 23:30:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:30:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:30:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:30:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:30:20] local.INFO: Teltonika packet parsed successfully {"connection_id":165159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:30:20] local.INFO: Passing IMEI to GPS processor {"connection_id":165159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:30:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":165159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:30:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:30:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:30:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:30:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712556800001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:30:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:30:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:30:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712556800001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:30:20] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:30:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:30:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:30:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:30:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712556800001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:30:20] 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":711267,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:30:20] local.INFO: GPS data processed {"connection_id":165159,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:30:20] local.INFO: Acknowledgment sent {"connection_id":165159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:30:34] local.INFO: TCP Data received {"connection_id":163883,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04982ec00012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04982ec00012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:30:34] local.INFO: Processing buffer {"connection_id":163883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04982ec00012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:30:34] local.INFO: Packet analysis {"connection_id":163883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04982"} 
[2026-08-28 23:30:34] local.INFO: Extracted packet for processing {"connection_id":163883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04982"} 
[2026-08-28 23:30:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712489216001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787939712000,"timestamp_ms":1787939712000,"timestamp_seconds":1787939712,"priority":1,"record_length":96,"hex_timestamp":"000001a04982ec00"} 
[2026-08-28 23:30:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:30:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-28 23:30:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:30:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:30:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163883,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163883,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712489216001,"66":25267,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712489216001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:30:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:30:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712489216001,"power":25267,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":163883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711268,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:30:34] local.INFO: GPS data processed {"connection_id":163883,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:30:34] local.INFO: Acknowledgment sent {"connection_id":163883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:30:51] local.INFO: TCP Data received {"connection_id":163882,"ip":"117.224.209.167","data_length":795,"data_hex":"000000000000030f8e0a000001a047e9dd400100000000000000000000000000..."} 
[2026-08-28 23:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047e9dd400100000000000000000000000000..."} 
[2026-08-28 23:30:51] local.INFO: Processing buffer {"connection_id":163882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047e9dd400100000000000000000000000000..."} 
[2026-08-28 23:30:51] local.INFO: Packet analysis {"connection_id":163882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047e9"} 
[2026-08-28 23:30:51] local.INFO: Extracted packet for processing {"connection_id":163882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047e9"} 
[2026-08-28 23:30:51] 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-28 23:30:51] 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-28 23:30:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:30:51] 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-28 23:30:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787912904000,"timestamp_ms":1787912904000,"timestamp_seconds":1787912904,"priority":1,"record_length":96,"hex_timestamp":"000001a047e9dd40"} 
[2026-08-28 23:30:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:30: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 23:30: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-28 23:30:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:30:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:30:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:30:51] local.INFO: Teltonika packet parsed successfully {"connection_id":163882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:30:51] local.INFO: Passing IMEI to GPS processor {"connection_id":163882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:30:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":163882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:30:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.209.167","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:30:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:30:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:30:51] local.INFO: DEBUG: GPS processor result {"connection_id":163882,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-28 23:30:51] local.INFO: GPS data processed {"connection_id":163882,"processed":0,"errors":0,"total":1} 
[2026-08-28 23:30:51] local.INFO: Acknowledgment sent {"connection_id":163882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:30:52] local.INFO: TCP Data received {"connection_id":165159,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a04986f340012d196580071ff008003d013928..."} 
[2026-08-28 23:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04986f340012d196580071ff008003d013928..."} 
[2026-08-28 23:30:52] local.INFO: Processing buffer {"connection_id":165159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04986f340012d196580071ff008003d013928..."} 
[2026-08-28 23:30:52] local.INFO: Packet analysis {"connection_id":165159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04986"} 
[2026-08-28 23:30:52] local.INFO: Extracted packet for processing {"connection_id":165159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04986"} 
[2026-08-28 23:30:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712556800001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:30:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:30:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787939976000,"timestamp_ms":1787939976000,"timestamp_seconds":1787939976,"priority":1,"record_length":96,"hex_timestamp":"000001a04986f340"} 
[2026-08-28 23:30:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:30:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-28 23:30:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:30:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:30:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":165159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":165159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":165159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:30:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712556800001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712556800001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:30:52] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:30:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:30:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:30:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712556800001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:30:52] 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":711269,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:30:52] local.INFO: GPS data processed {"connection_id":165159,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:30:52] local.INFO: Acknowledgment sent {"connection_id":165159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:30:55] local.INFO: TCP Data received {"connection_id":164176,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164176,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:30:55] local.INFO: Processing buffer {"connection_id":164176,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:30:55] local.INFO: IMEI packet received {"connection_id":164176,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 23:30:55] local.INFO: IMEI acknowledgment sent {"connection_id":164176,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:31:01] local.INFO: TCP Data received {"connection_id":164176,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164176,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:31:01] local.INFO: Processing buffer {"connection_id":164176,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:31:01] local.INFO: IMEI packet received {"connection_id":164176,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 23:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":164176,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:31:02] local.INFO: TCP Data received {"connection_id":164176,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0498783c8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0498783c8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:31:02] local.INFO: Processing buffer {"connection_id":164176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0498783c8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:31:02] local.INFO: Packet analysis {"connection_id":164176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04987"} 
[2026-08-28 23:31:02] local.INFO: Extracted packet for processing {"connection_id":164176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04987"} 
[2026-08-28 23:31:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:31:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712566272001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:31:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:31:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:31:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:31:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787940013000,"timestamp_ms":1787940013000,"timestamp_seconds":1787940013,"priority":1,"record_length":96,"hex_timestamp":"000001a0498783c8"} 
[2026-08-28 23:31:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:31:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 23:31:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:31:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:31:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:31:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:31:02] local.INFO: Teltonika packet parsed successfully {"connection_id":164176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:31:02] local.INFO: Passing IMEI to GPS processor {"connection_id":164176,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:31:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":164176,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:31:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:31:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:31:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:31:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712566272001,"66":25267,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:31:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:31:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:31:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712566272001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:31:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:31:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:31:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:31:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:31:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712566272001,"power":25267,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:31:02] local.INFO: DEBUG: GPS processor result {"connection_id":164176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711270,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:31:02] local.INFO: GPS data processed {"connection_id":164176,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:31:02] local.INFO: Acknowledgment sent {"connection_id":164176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:31:13] local.INFO: TCP Data received {"connection_id":166516,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166516,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:31:13] local.INFO: Processing buffer {"connection_id":166516,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:31:13] local.INFO: IMEI packet received {"connection_id":166516,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 23:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":166516,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:31:19] local.INFO: TCP Data received {"connection_id":166516,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166516,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:31:19] local.INFO: Processing buffer {"connection_id":166516,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:31:19] local.INFO: IMEI packet received {"connection_id":166516,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 23:31:19] local.INFO: IMEI acknowledgment sent {"connection_id":166516,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:31:20] local.INFO: TCP Data received {"connection_id":166516,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a04986f340012d196580071ff008003d013928..."} 
[2026-08-28 23:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04986f340012d196580071ff008003d013928..."} 
[2026-08-28 23:31:20] local.INFO: Processing buffer {"connection_id":166516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04986f340012d196580071ff008003d013928..."} 
[2026-08-28 23:31:20] local.INFO: Packet analysis {"connection_id":166516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04986"} 
[2026-08-28 23:31:20] local.INFO: Extracted packet for processing {"connection_id":166516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04986"} 
[2026-08-28 23:31:20] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23: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-28 23:31:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712556800001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:31:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:31:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:31:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:31:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787939976000,"timestamp_ms":1787939976000,"timestamp_seconds":1787939976,"priority":1,"record_length":96,"hex_timestamp":"000001a04986f340"} 
[2026-08-28 23: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-28 23:31:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-28 23:31:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23: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-28 23: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-28 23:31:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:31:20] local.INFO: Teltonika packet parsed successfully {"connection_id":166516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:31:20] local.INFO: Passing IMEI to GPS processor {"connection_id":166516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:31:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":166516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:31:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:31:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:31:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:31:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712556800001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:31:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:31:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:31:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712556800001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:31:20] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:31:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:31:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:31:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:31:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712556800001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":166516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711271,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:31:20] local.INFO: GPS data processed {"connection_id":166516,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:31:20] local.INFO: Acknowledgment sent {"connection_id":166516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:31:24] local.INFO: TCP Data received {"connection_id":163882,"ip":"117.224.209.167","data_length":795,"data_hex":"000000000000030f8e0a000001a047e9dd400100000000000000000000000000..."} 
[2026-08-28 23:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047e9dd400100000000000000000000000000..."} 
[2026-08-28 23:31:24] local.INFO: Processing buffer {"connection_id":163882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047e9dd400100000000000000000000000000..."} 
[2026-08-28 23:31:24] local.INFO: Packet analysis {"connection_id":163882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047e9"} 
[2026-08-28 23:31:24] local.INFO: Extracted packet for processing {"connection_id":163882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047e9"} 
[2026-08-28 23:31:24] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-28 23:31:24] 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-28 23:31:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:31:24] 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-28 23:31:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787912904000,"timestamp_ms":1787912904000,"timestamp_seconds":1787912904,"priority":1,"record_length":96,"hex_timestamp":"000001a047e9dd40"} 
[2026-08-28 23:31:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:31:24] 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-28 23:31:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 23:31:24] 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-28 23:31:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:31:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:31:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:31:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:31:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:31:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:31:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.209.167","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:31:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:31:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:31:24] local.INFO: DEBUG: GPS processor result {"connection_id":163882,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-28 23:31:24] local.INFO: GPS data processed {"connection_id":163882,"processed":0,"errors":0,"total":1} 
[2026-08-28 23:31:24] local.INFO: Acknowledgment sent {"connection_id":163882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:31:34] local.INFO: TCP Data received {"connection_id":164176,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0498783c8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0498783c8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:31:34] local.INFO: Processing buffer {"connection_id":164176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0498783c8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:31:34] local.INFO: Packet analysis {"connection_id":164176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04987"} 
[2026-08-28 23:31:34] local.INFO: Extracted packet for processing {"connection_id":164176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04987"} 
[2026-08-28 23:31:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712566272001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:31:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787940013000,"timestamp_ms":1787940013000,"timestamp_seconds":1787940013,"priority":1,"record_length":96,"hex_timestamp":"000001a0498783c8"} 
[2026-08-28 23:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:31:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 23:31:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:31:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":164176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":164176,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":164176,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:31:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712566272001,"66":25267,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712566272001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:31:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:31:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712566272001,"power":25267,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":164176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711272,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:31:34] local.INFO: GPS data processed {"connection_id":164176,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:31:34] local.INFO: Acknowledgment sent {"connection_id":164176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:31:52] local.INFO: TCP Data received {"connection_id":166516,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a04986f340012d196580071ff008003d013928..."} 
[2026-08-28 23:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04986f340012d196580071ff008003d013928..."} 
[2026-08-28 23:31:52] local.INFO: Processing buffer {"connection_id":166516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04986f340012d196580071ff008003d013928..."} 
[2026-08-28 23:31:52] local.INFO: Packet analysis {"connection_id":166516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04986"} 
[2026-08-28 23:31:52] local.INFO: Extracted packet for processing {"connection_id":166516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04986"} 
[2026-08-28 23:31:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23: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-28 23:31:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712556800001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:31:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:31:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:31:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:31:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787939976000,"timestamp_ms":1787939976000,"timestamp_seconds":1787939976,"priority":1,"record_length":96,"hex_timestamp":"000001a04986f340"} 
[2026-08-28 23: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-28 23:31:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-28 23:31:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23: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-28 23: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-28 23:31:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:31:52] local.INFO: Teltonika packet parsed successfully {"connection_id":166516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:31:52] local.INFO: Passing IMEI to GPS processor {"connection_id":166516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:31:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":166516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:31:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:31:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:31:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:31:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712556800001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:31:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:31:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:31:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712556800001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:31:52] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:31:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:31:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:31:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:31:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712556800001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:31:52] local.INFO: DEBUG: GPS processor result {"connection_id":166516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711273,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:31:52] local.INFO: GPS data processed {"connection_id":166516,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:31:52] local.INFO: Acknowledgment sent {"connection_id":166516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:31:55] local.INFO: TCP Data received {"connection_id":166517,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166517,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:31:55] local.INFO: Processing buffer {"connection_id":166517,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:31:55] local.INFO: IMEI packet received {"connection_id":166517,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 23:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":166517,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:31:57] local.INFO: TCP Data received {"connection_id":163882,"ip":"117.224.209.167","data_length":795,"data_hex":"000000000000030f8e0a000001a047e9dd400100000000000000000000000000..."} 
[2026-08-28 23:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047e9dd400100000000000000000000000000..."} 
[2026-08-28 23:31:57] local.INFO: Processing buffer {"connection_id":163882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047e9dd400100000000000000000000000000..."} 
[2026-08-28 23:31:57] local.INFO: Packet analysis {"connection_id":163882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047e9"} 
[2026-08-28 23:31:57] local.INFO: Extracted packet for processing {"connection_id":163882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047e9"} 
[2026-08-28 23:31:57] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-28 23:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:31:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:31:57] 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-28 23:31:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787912904000,"timestamp_ms":1787912904000,"timestamp_seconds":1787912904,"priority":1,"record_length":96,"hex_timestamp":"000001a047e9dd40"} 
[2026-08-28 23:31:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:31:57] 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-28 23:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 23:31:57] 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-28 23:31:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:31:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:31:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:31:57] local.INFO: Teltonika packet parsed successfully {"connection_id":163882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:31:57] local.INFO: Passing IMEI to GPS processor {"connection_id":163882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:31:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":163882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:31:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.209.167","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:31:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:31:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:31:57] local.INFO: DEBUG: GPS processor result {"connection_id":163882,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-28 23:31:57] local.INFO: GPS data processed {"connection_id":163882,"processed":0,"errors":0,"total":1} 
[2026-08-28 23:31:57] local.INFO: Acknowledgment sent {"connection_id":163882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:32:01] local.INFO: TCP Data received {"connection_id":166517,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166517,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:32:01] local.INFO: Processing buffer {"connection_id":166517,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:32:01] local.INFO: IMEI packet received {"connection_id":166517,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 23:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":166517,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:32:02] local.INFO: TCP Data received {"connection_id":166517,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0498783c8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0498783c8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:32:02] local.INFO: Processing buffer {"connection_id":166517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0498783c8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:32:02] local.INFO: Packet analysis {"connection_id":166517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04987"} 
[2026-08-28 23:32:02] local.INFO: Extracted packet for processing {"connection_id":166517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04987"} 
[2026-08-28 23:32:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:32:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:32:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712566272001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:32:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:32:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:32:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:32:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787940013000,"timestamp_ms":1787940013000,"timestamp_seconds":1787940013,"priority":1,"record_length":96,"hex_timestamp":"000001a0498783c8"} 
[2026-08-28 23:32:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:32:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:32:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 23:32:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:32:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:32:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:32:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:32:02] local.INFO: Teltonika packet parsed successfully {"connection_id":166517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:32:02] local.INFO: Passing IMEI to GPS processor {"connection_id":166517,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:32:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":166517,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:32:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:32:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:32:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:32:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712566272001,"66":25267,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:32:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:32:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:32:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712566272001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:32:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:32:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:32:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:32:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:32:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712566272001,"power":25267,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:32:02] local.INFO: DEBUG: GPS processor result {"connection_id":166517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711274,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:32:02] local.INFO: GPS data processed {"connection_id":166517,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:32:02] local.INFO: Acknowledgment sent {"connection_id":166517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:32:19] local.INFO: TCP Data received {"connection_id":165160,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165160,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:32:19] local.INFO: Processing buffer {"connection_id":165160,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:32:19] local.INFO: IMEI packet received {"connection_id":165160,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 23:32:19] local.INFO: IMEI acknowledgment sent {"connection_id":165160,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:32:24] local.INFO: TCP Data received {"connection_id":165160,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165160,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:32:24] local.INFO: Processing buffer {"connection_id":165160,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:32:24] local.INFO: IMEI packet received {"connection_id":165160,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 23:32:24] local.INFO: IMEI acknowledgment sent {"connection_id":165160,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:32:25] local.INFO: TCP Data received {"connection_id":165160,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a04986f340012d196580071ff008003d013928..."} 
[2026-08-28 23:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04986f340012d196580071ff008003d013928..."} 
[2026-08-28 23:32:25] local.INFO: Processing buffer {"connection_id":165160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04986f340012d196580071ff008003d013928..."} 
[2026-08-28 23:32:25] local.INFO: Packet analysis {"connection_id":165160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04986"} 
[2026-08-28 23:32:25] local.INFO: Extracted packet for processing {"connection_id":165160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04986"} 
[2026-08-28 23:32:25] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:32:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:32:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712556800001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:32:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:32:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:32:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:32:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787939976000,"timestamp_ms":1787939976000,"timestamp_seconds":1787939976,"priority":1,"record_length":96,"hex_timestamp":"000001a04986f340"} 
[2026-08-28 23:32:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:32:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:32:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-28 23:32:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:32:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:32:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:32:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:32:25] local.INFO: Teltonika packet parsed successfully {"connection_id":165160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:32:25] local.INFO: Passing IMEI to GPS processor {"connection_id":165160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:32:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":165160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:32:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:32:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:32:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:32:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712556800001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:32:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:32:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:32:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712556800001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:32:25] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:32:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:32:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:32:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:32:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712556800001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:32:25] 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":711275,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:32:25] local.INFO: GPS data processed {"connection_id":165160,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:32:25] local.INFO: Acknowledgment sent {"connection_id":165160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:32:29] local.INFO: TCP Data received {"connection_id":163882,"ip":"117.224.209.167","data_length":795,"data_hex":"000000000000030f8e0a000001a047e9dd400100000000000000000000000000..."} 
[2026-08-28 23:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a047e9dd400100000000000000000000000000..."} 
[2026-08-28 23:32:29] local.INFO: Processing buffer {"connection_id":163882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a047e9dd400100000000000000000000000000..."} 
[2026-08-28 23:32:29] local.INFO: Packet analysis {"connection_id":163882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a047e9"} 
[2026-08-28 23:32:29] local.INFO: Extracted packet for processing {"connection_id":163882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a047e9"} 
[2026-08-28 23:32:29] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-28 23:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:32:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:32:29] 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-28 23:32:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787912904000,"timestamp_ms":1787912904000,"timestamp_seconds":1787912904,"priority":1,"record_length":96,"hex_timestamp":"000001a047e9dd40"} 
[2026-08-28 23:32:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:32:29] 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-28 23:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 23:32:29] 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-28 23:32:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:32:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:32:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:32:29] local.INFO: Teltonika packet parsed successfully {"connection_id":163882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:32:29] local.INFO: Passing IMEI to GPS processor {"connection_id":163882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:32:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":163882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:32:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.209.167","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:32:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:32:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:32:29] local.INFO: DEBUG: GPS processor result {"connection_id":163882,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-28 23:32:29] local.INFO: GPS data processed {"connection_id":163882,"processed":0,"errors":0,"total":1} 
[2026-08-28 23:32:29] local.INFO: Acknowledgment sent {"connection_id":163882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:32:30] local.INFO: TCP Data received {"connection_id":165160,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a04986f340012d196580071ff008003d013928..."} 
[2026-08-28 23:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04986f340012d196580071ff008003d013928..."} 
[2026-08-28 23:32:30] local.INFO: Processing buffer {"connection_id":165160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04986f340012d196580071ff008003d013928..."} 
[2026-08-28 23:32:30] local.INFO: Packet analysis {"connection_id":165160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04986"} 
[2026-08-28 23:32:30] local.INFO: Extracted packet for processing {"connection_id":165160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04986"} 
[2026-08-28 23:32:30] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:32:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712556800001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:32:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:32:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:32:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:32:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787939976000,"timestamp_ms":1787939976000,"timestamp_seconds":1787939976,"priority":1,"record_length":96,"hex_timestamp":"000001a04986f340"} 
[2026-08-28 23:32:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:32:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-28 23:32:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:32:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:32:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:32:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:32:30] local.INFO: Teltonika packet parsed successfully {"connection_id":165160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:32:30] local.INFO: Passing IMEI to GPS processor {"connection_id":165160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:32:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":165160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:32:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:32:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:32:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712556800001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:32:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:32:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:32:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712556800001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:32:30] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:32:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:32:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:32:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:32:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712556800001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:32:30] 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":711276,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:32:30] local.INFO: GPS data processed {"connection_id":165160,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:32:30] local.INFO: Acknowledgment sent {"connection_id":165160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:32:34] local.INFO: TCP Data received {"connection_id":166517,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0498783c8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0498783c8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:32:34] local.INFO: Processing buffer {"connection_id":166517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0498783c8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:32:34] local.INFO: Packet analysis {"connection_id":166517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04987"} 
[2026-08-28 23:32:34] local.INFO: Extracted packet for processing {"connection_id":166517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04987"} 
[2026-08-28 23:32:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712566272001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:32:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:32:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:32:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:32:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787940013000,"timestamp_ms":1787940013000,"timestamp_seconds":1787940013,"priority":1,"record_length":96,"hex_timestamp":"000001a0498783c8"} 
[2026-08-28 23:32:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:32:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 23:32:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:32:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:32:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:32:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:32:34] local.INFO: Teltonika packet parsed successfully {"connection_id":166517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:32:34] local.INFO: Passing IMEI to GPS processor {"connection_id":166517,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:32:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":166517,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:32:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:32:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:32:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:32:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712566272001,"66":25267,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:32:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:32:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:32:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712566272001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:32:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:32:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:32:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:32:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:32:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712566272001,"power":25267,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:32:34] local.INFO: DEBUG: GPS processor result {"connection_id":166517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711277,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:32:34] local.INFO: GPS data processed {"connection_id":166517,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:32:34] local.INFO: Acknowledgment sent {"connection_id":166517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:33:00] local.INFO: TCP Data received {"connection_id":163882,"ip":"117.224.209.167","data_length":795,"data_hex":"000000000000030f8e0a000001a049894cd0012d34bdc006aa4910000f00e62b..."} 
[2026-08-28 23:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049894cd0012d34bdc006aa4910000f00e62b..."} 
[2026-08-28 23:33:00] local.INFO: Processing buffer {"connection_id":163882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049894cd0012d34bdc006aa4910000f00e62b..."} 
[2026-08-28 23:33:00] local.INFO: Packet analysis {"connection_id":163882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04989"} 
[2026-08-28 23:33:00] local.INFO: Extracted packet for processing {"connection_id":163882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04989"} 
[2026-08-28 23:33:00] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111823120,"longitude_deg":75.8431168,"latitude_deg":11.182312,"altitude":15,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 23:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:33:00] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,106,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-28 23:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787940130000,"timestamp_ms":1787940130000,"timestamp_seconds":1787940130,"priority":1,"record_length":96,"hex_timestamp":"000001a049894cd0"} 
[2026-08-28 23:33:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:33:00] 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-28 23:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 23:33:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:33:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:33:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":163882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":163882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":163882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:33:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.209.167","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":25201,"106":206,"28":21760,"24":0,"16":391081146240204800},"client_ip":"117.224.209.167","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16]} 
[2026-08-28 23:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-28 23:33:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:33:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:33: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-28 23:33:00] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null}} 
[2026-08-28 23:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":163882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:33:00] local.INFO: GPS data processed {"connection_id":163882,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:33:00] local.INFO: Acknowledgment sent {"connection_id":163882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:33:01] local.INFO: TCP Data received {"connection_id":164177,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164177,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:33:01] local.INFO: Processing buffer {"connection_id":164177,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:33:01] local.INFO: IMEI packet received {"connection_id":164177,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 23:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":164177,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:33:06] local.INFO: TCP Data received {"connection_id":164177,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164177,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:33:06] local.INFO: Processing buffer {"connection_id":164177,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:33:06] local.INFO: IMEI packet received {"connection_id":164177,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 23:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":164177,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:33:07] local.INFO: TCP Data received {"connection_id":164177,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0498783c8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0498783c8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:33:07] local.INFO: Processing buffer {"connection_id":164177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0498783c8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:33:07] local.INFO: Packet analysis {"connection_id":164177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04987"} 
[2026-08-28 23:33:07] local.INFO: Extracted packet for processing {"connection_id":164177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04987"} 
[2026-08-28 23:33:07] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712566272001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:33:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787940013000,"timestamp_ms":1787940013000,"timestamp_seconds":1787940013,"priority":1,"record_length":96,"hex_timestamp":"000001a0498783c8"} 
[2026-08-28 23:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:33:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 23:33:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:33:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":164177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":164177,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":164177,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712566272001,"66":25267,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712566272001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:33:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:33:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712566272001,"power":25267,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":164177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711279,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:33:07] local.INFO: GPS data processed {"connection_id":164177,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:33:07] local.INFO: Acknowledgment sent {"connection_id":164177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:33:12] local.INFO: TCP Data received {"connection_id":164177,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0498783c8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0498783c8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:33:12] local.INFO: Processing buffer {"connection_id":164177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0498783c8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:33:12] local.INFO: Packet analysis {"connection_id":164177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04987"} 
[2026-08-28 23:33:12] local.INFO: Extracted packet for processing {"connection_id":164177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04987"} 
[2026-08-28 23:33:12] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:33:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712566272001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:33:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:33:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:33:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:33:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787940013000,"timestamp_ms":1787940013000,"timestamp_seconds":1787940013,"priority":1,"record_length":96,"hex_timestamp":"000001a0498783c8"} 
[2026-08-28 23:33:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:33:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 23:33:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:33:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:33:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:33:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:33:12] local.INFO: Teltonika packet parsed successfully {"connection_id":164177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:33:12] local.INFO: Passing IMEI to GPS processor {"connection_id":164177,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:33:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":164177,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:33:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:33:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:33:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:33:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712566272001,"66":25267,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:33:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:33:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:33:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712566272001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:33:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:33:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:33:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:33:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:33:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712566272001,"power":25267,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:33:12] local.INFO: DEBUG: GPS processor result {"connection_id":164177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711280,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:33:12] local.INFO: GPS data processed {"connection_id":164177,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:33:12] local.INFO: Acknowledgment sent {"connection_id":164177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:33:14] local.INFO: TCP Data received {"connection_id":163884,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163884,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:33:14] local.INFO: Processing buffer {"connection_id":163884,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:33:14] local.INFO: IMEI packet received {"connection_id":163884,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 23:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":163884,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:33:19] local.INFO: TCP Data received {"connection_id":163884,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163884,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:33:19] local.INFO: Processing buffer {"connection_id":163884,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:33:19] local.INFO: IMEI packet received {"connection_id":163884,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 23:33:19] local.INFO: IMEI acknowledgment sent {"connection_id":163884,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:33:20] local.INFO: TCP Data received {"connection_id":163884,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a04986f340012d196580071ff008003d013928..."} 
[2026-08-28 23:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04986f340012d196580071ff008003d013928..."} 
[2026-08-28 23:33:20] local.INFO: Processing buffer {"connection_id":163884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04986f340012d196580071ff008003d013928..."} 
[2026-08-28 23:33:20] local.INFO: Packet analysis {"connection_id":163884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04986"} 
[2026-08-28 23:33:20] local.INFO: Extracted packet for processing {"connection_id":163884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04986"} 
[2026-08-28 23:33:20] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:33:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712556800001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:33:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:33:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:33:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:33:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787939976000,"timestamp_ms":1787939976000,"timestamp_seconds":1787939976,"priority":1,"record_length":96,"hex_timestamp":"000001a04986f340"} 
[2026-08-28 23:33:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:33:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-28 23:33:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:33:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:33:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:33:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:33:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:33:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:33:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:33:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:33:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:33:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:33:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712556800001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:33:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:33:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:33:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712556800001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:33:20] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:33:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:33:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:33:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:33:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712556800001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:33:20] local.INFO: DEBUG: GPS processor result {"connection_id":163884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711281,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:33:20] local.INFO: GPS data processed {"connection_id":163884,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:33:20] local.INFO: Acknowledgment sent {"connection_id":163884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:33:32] local.INFO: TCP Data received {"connection_id":163882,"ip":"117.224.209.167","data_length":795,"data_hex":"000000000000030f8e0a000001a049894cd0012d34bdc006aa4910000f00e62b..."} 
[2026-08-28 23:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049894cd0012d34bdc006aa4910000f00e62b..."} 
[2026-08-28 23:33:32] local.INFO: Processing buffer {"connection_id":163882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049894cd0012d34bdc006aa4910000f00e62b..."} 
[2026-08-28 23:33:32] local.INFO: Packet analysis {"connection_id":163882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04989"} 
[2026-08-28 23:33:32] local.INFO: Extracted packet for processing {"connection_id":163882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04989"} 
[2026-08-28 23:33:32] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111823120,"longitude_deg":75.8431168,"latitude_deg":11.182312,"altitude":15,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 23:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:33:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,106,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-28 23:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787940130000,"timestamp_ms":1787940130000,"timestamp_seconds":1787940130,"priority":1,"record_length":96,"hex_timestamp":"000001a049894cd0"} 
[2026-08-28 23:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:33:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 23:33: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-28 23:33:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":163882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":163882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":163882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.209.167","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":25201,"106":206,"28":21760,"24":0,"16":391081146240204800},"client_ip":"117.224.209.167","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16]} 
[2026-08-28 23:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-28 23:33:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:33:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:33: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-28 23:33:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null}} 
[2026-08-28 23:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":163882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:33:32] local.INFO: GPS data processed {"connection_id":163882,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:33:32] local.INFO: Acknowledgment sent {"connection_id":163882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:33:55] local.INFO: TCP Data received {"connection_id":164178,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164178,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:33:55] local.INFO: Processing buffer {"connection_id":164178,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:33:55] local.INFO: IMEI packet received {"connection_id":164178,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 23:33:55] local.INFO: IMEI acknowledgment sent {"connection_id":164178,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:33:56] local.INFO: TCP Data received {"connection_id":163884,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a04986f340012d196580071ff008003d013928..."} 
[2026-08-28 23:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04986f340012d196580071ff008003d013928..."} 
[2026-08-28 23:33:56] local.INFO: Processing buffer {"connection_id":163884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04986f340012d196580071ff008003d013928..."} 
[2026-08-28 23:33:56] local.INFO: Packet analysis {"connection_id":163884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04986"} 
[2026-08-28 23:33:56] local.INFO: Extracted packet for processing {"connection_id":163884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04986"} 
[2026-08-28 23:33:56] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:33:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:33:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712556800001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:33:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:33:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:33:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:33:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787939976000,"timestamp_ms":1787939976000,"timestamp_seconds":1787939976,"priority":1,"record_length":96,"hex_timestamp":"000001a04986f340"} 
[2026-08-28 23:33:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:33:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:33:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-28 23:33:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:33:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:33:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:33:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:33:56] local.INFO: Teltonika packet parsed successfully {"connection_id":163884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:33:56] local.INFO: Passing IMEI to GPS processor {"connection_id":163884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:33:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":163884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:33:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:33:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:33:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:33:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712556800001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:33:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:33:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:33:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712556800001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:33:56] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:33:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:33:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:33:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:33:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712556800001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:33:56] local.INFO: DEBUG: GPS processor result {"connection_id":163884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711283,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:33:56] local.INFO: GPS data processed {"connection_id":163884,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:33:56] local.INFO: Acknowledgment sent {"connection_id":163884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:34:01] local.INFO: TCP Data received {"connection_id":164178,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164178,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:34:01] local.INFO: Processing buffer {"connection_id":164178,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:34:01] local.INFO: IMEI packet received {"connection_id":164178,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 23:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":164178,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:34:02] local.INFO: TCP Data received {"connection_id":164178,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0498783c8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0498783c8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:34:02] local.INFO: Processing buffer {"connection_id":164178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0498783c8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:34:02] local.INFO: Packet analysis {"connection_id":164178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04987"} 
[2026-08-28 23:34:02] local.INFO: Extracted packet for processing {"connection_id":164178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04987"} 
[2026-08-28 23:34:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:34:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712566272001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:34:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:34:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:34:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:34:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787940013000,"timestamp_ms":1787940013000,"timestamp_seconds":1787940013,"priority":1,"record_length":96,"hex_timestamp":"000001a0498783c8"} 
[2026-08-28 23:34:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:34:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 23:34:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:34:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:34:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:34:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:34:02] local.INFO: Teltonika packet parsed successfully {"connection_id":164178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:34:02] local.INFO: Passing IMEI to GPS processor {"connection_id":164178,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:34:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":164178,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:34:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:34:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:34:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:34:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712566272001,"66":25267,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:34:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:34:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:34:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712566272001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:34:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:34:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:34:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:34:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:34:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712566272001,"power":25267,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:34:02] local.INFO: DEBUG: GPS processor result {"connection_id":164178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711284,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:34:02] local.INFO: GPS data processed {"connection_id":164178,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:34:02] local.INFO: Acknowledgment sent {"connection_id":164178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:34:04] local.INFO: TCP Data received {"connection_id":163882,"ip":"117.224.209.167","data_length":795,"data_hex":"000000000000030f8e0a000001a049894cd0012d34bdc006aa4910000f00e62b..."} 
[2026-08-28 23:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049894cd0012d34bdc006aa4910000f00e62b..."} 
[2026-08-28 23:34:04] local.INFO: Processing buffer {"connection_id":163882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049894cd0012d34bdc006aa4910000f00e62b..."} 
[2026-08-28 23:34:04] local.INFO: Packet analysis {"connection_id":163882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04989"} 
[2026-08-28 23:34:04] local.INFO: Extracted packet for processing {"connection_id":163882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04989"} 
[2026-08-28 23:34:04] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111823120,"longitude_deg":75.8431168,"latitude_deg":11.182312,"altitude":15,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 23:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:34:04] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,106,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-28 23:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787940130000,"timestamp_ms":1787940130000,"timestamp_seconds":1787940130,"priority":1,"record_length":96,"hex_timestamp":"000001a049894cd0"} 
[2026-08-28 23:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:34:04] 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-28 23:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 23:34:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:34:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":163882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":163882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":163882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.209.167","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":25201,"106":206,"28":21760,"24":0,"16":391081146240204800},"client_ip":"117.224.209.167","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16]} 
[2026-08-28 23:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-28 23:34:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:34:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:34: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-28 23:34:04] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null}} 
[2026-08-28 23:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":163882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:34:04] local.INFO: GPS data processed {"connection_id":163882,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:34:04] local.INFO: Acknowledgment sent {"connection_id":163882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:34:13] local.INFO: TCP Data received {"connection_id":166518,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:34:13] local.INFO: Processing buffer {"connection_id":166518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:34:13] local.INFO: IMEI packet received {"connection_id":166518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 23:34:13] local.INFO: IMEI acknowledgment sent {"connection_id":166518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:34:19] local.INFO: TCP Data received {"connection_id":166518,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:34:19] local.INFO: Processing buffer {"connection_id":166518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:34:19] local.INFO: IMEI packet received {"connection_id":166518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 23:34:19] local.INFO: IMEI acknowledgment sent {"connection_id":166518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:34:20] local.INFO: TCP Data received {"connection_id":166518,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a04986f340012d196580071ff008003d013928..."} 
[2026-08-28 23:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04986f340012d196580071ff008003d013928..."} 
[2026-08-28 23:34:20] local.INFO: Processing buffer {"connection_id":166518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04986f340012d196580071ff008003d013928..."} 
[2026-08-28 23:34:20] local.INFO: Packet analysis {"connection_id":166518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04986"} 
[2026-08-28 23:34:20] local.INFO: Extracted packet for processing {"connection_id":166518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04986"} 
[2026-08-28 23:34:20] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712556800001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:34:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:34:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:34:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:34:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787939976000,"timestamp_ms":1787939976000,"timestamp_seconds":1787939976,"priority":1,"record_length":96,"hex_timestamp":"000001a04986f340"} 
[2026-08-28 23:34:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:34:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:34:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-28 23:34:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:34:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:34:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:34:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:34:20] local.INFO: Teltonika packet parsed successfully {"connection_id":166518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:34:20] local.INFO: Passing IMEI to GPS processor {"connection_id":166518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:34:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":166518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:34:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:34:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:34:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:34:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712556800001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:34:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:34:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:34:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712556800001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:34:20] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:34:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:34:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:34:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:34:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712556800001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:34:20] local.INFO: DEBUG: GPS processor result {"connection_id":166518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711286,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:34:20] local.INFO: GPS data processed {"connection_id":166518,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:34:20] local.INFO: Acknowledgment sent {"connection_id":166518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:34:34] local.INFO: TCP Data received {"connection_id":164178,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0498783c8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0498783c8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:34:34] local.INFO: Processing buffer {"connection_id":164178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0498783c8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:34:34] local.INFO: Packet analysis {"connection_id":164178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04987"} 
[2026-08-28 23:34:34] local.INFO: Extracted packet for processing {"connection_id":164178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04987"} 
[2026-08-28 23:34:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712566272001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:34:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:34:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787940013000,"timestamp_ms":1787940013000,"timestamp_seconds":1787940013,"priority":1,"record_length":96,"hex_timestamp":"000001a0498783c8"} 
[2026-08-28 23:34:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:34:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 23:34:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:34:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:34:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":164178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":164178,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":164178,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712566272001,"66":25267,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712566272001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:34:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:34:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:34:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712566272001,"power":25267,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":164178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711287,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:34:34] local.INFO: GPS data processed {"connection_id":164178,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:34:34] local.INFO: Acknowledgment sent {"connection_id":164178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:34:46] local.INFO: TCP Data received {"connection_id":165161,"ip":"117.224.209.167","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:34:46] local.INFO: Processing buffer {"connection_id":165161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:34:46] local.INFO: IMEI packet received {"connection_id":165161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 23:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":165161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:34:52] local.INFO: TCP Data received {"connection_id":165161,"ip":"117.224.209.167","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:34:52] local.INFO: Processing buffer {"connection_id":165161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:34:52] local.INFO: IMEI packet received {"connection_id":165161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 23:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":165161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:34:52] local.INFO: TCP Data received {"connection_id":166518,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a04986f340012d196580071ff008003d013928..."} 
[2026-08-28 23:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04986f340012d196580071ff008003d013928..."} 
[2026-08-28 23:34:52] local.INFO: Processing buffer {"connection_id":166518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04986f340012d196580071ff008003d013928..."} 
[2026-08-28 23:34:52] local.INFO: Packet analysis {"connection_id":166518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04986"} 
[2026-08-28 23:34:52] local.INFO: Extracted packet for processing {"connection_id":166518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04986"} 
[2026-08-28 23:34:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":40,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:34:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712556800001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:34:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:34:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:34:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:34:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787939976000,"timestamp_ms":1787939976000,"timestamp_seconds":1787939976,"priority":1,"record_length":96,"hex_timestamp":"000001a04986f340"} 
[2026-08-28 23:34:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:34:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-28 23:34:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:34:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:34:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:34:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:34:52] local.INFO: Teltonika packet parsed successfully {"connection_id":166518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:34:52] local.INFO: Passing IMEI to GPS processor {"connection_id":166518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:34:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":166518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:34:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:34:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:34:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:34:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712556800001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:34:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:34:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:34:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712556800001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:34:52] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:34:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:34:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:34:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:34:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712556800001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:34:52] local.INFO: DEBUG: GPS processor result {"connection_id":166518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711288,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:34:52] local.INFO: GPS data processed {"connection_id":166518,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:34:52] local.INFO: Acknowledgment sent {"connection_id":166518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:34:53] local.INFO: TCP Data received {"connection_id":165161,"ip":"117.224.209.167","data_length":795,"data_hex":"000000000000030f8e0a000001a049894cd0012d34bdc006aa4910000f00e62b..."} 
[2026-08-28 23:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049894cd0012d34bdc006aa4910000f00e62b..."} 
[2026-08-28 23:34:53] local.INFO: Processing buffer {"connection_id":165161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049894cd0012d34bdc006aa4910000f00e62b..."} 
[2026-08-28 23:34:53] local.INFO: Packet analysis {"connection_id":165161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04989"} 
[2026-08-28 23:34:53] local.INFO: Extracted packet for processing {"connection_id":165161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04989"} 
[2026-08-28 23:34:53] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111823120,"longitude_deg":75.8431168,"latitude_deg":11.182312,"altitude":15,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 23: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-28 23:34:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:34:53] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,106,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-28 23:34:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787940130000,"timestamp_ms":1787940130000,"timestamp_seconds":1787940130,"priority":1,"record_length":96,"hex_timestamp":"000001a049894cd0"} 
[2026-08-28 23: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-28 23:34: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 23:34:53] 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-28 23: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-28 23: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-28 23:34:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:34:53] local.INFO: Teltonika packet parsed successfully {"connection_id":165161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:34:53] local.INFO: Passing IMEI to GPS processor {"connection_id":165161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:34:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":165161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:34:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.209.167","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:34:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:34:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:34:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":25201,"106":206,"28":21760,"24":0,"16":391081146240204800},"client_ip":"117.224.209.167","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16]} 
[2026-08-28 23:34:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:34:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:34:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-28 23:34:53] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:34:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23: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-28 23:34:53] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null}} 
[2026-08-28 23:34:53] 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":711289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:34:53] local.INFO: GPS data processed {"connection_id":165161,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:34:53] local.INFO: Acknowledgment sent {"connection_id":165161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:34:55] local.INFO: TCP Data received {"connection_id":164179,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164179,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:34:55] local.INFO: Processing buffer {"connection_id":164179,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:34:55] local.INFO: IMEI packet received {"connection_id":164179,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 23:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":164179,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:35:01] local.INFO: TCP Data received {"connection_id":164179,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164179,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:35:01] local.INFO: Processing buffer {"connection_id":164179,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:35:01] local.INFO: IMEI packet received {"connection_id":164179,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 23:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":164179,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:35:02] local.INFO: TCP Data received {"connection_id":164179,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0498783c8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0498783c8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:35:02] local.INFO: Processing buffer {"connection_id":164179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0498783c8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:35:02] local.INFO: Packet analysis {"connection_id":164179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04987"} 
[2026-08-28 23:35:02] local.INFO: Extracted packet for processing {"connection_id":164179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04987"} 
[2026-08-28 23:35:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:35:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:35:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712566272001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:35:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:35:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:35:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:35:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787940013000,"timestamp_ms":1787940013000,"timestamp_seconds":1787940013,"priority":1,"record_length":96,"hex_timestamp":"000001a0498783c8"} 
[2026-08-28 23:35:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:35:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:35:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 23:35:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:35:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:35:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:35:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:35:02] local.INFO: Teltonika packet parsed successfully {"connection_id":164179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:35:02] local.INFO: Passing IMEI to GPS processor {"connection_id":164179,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:35:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":164179,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:35:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:35:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:35:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:35:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712566272001,"66":25267,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:35:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:35:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:35:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712566272001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:35:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:35:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:35:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:35:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:35:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712566272001,"power":25267,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:35:02] local.INFO: DEBUG: GPS processor result {"connection_id":164179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711290,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:35:02] local.INFO: GPS data processed {"connection_id":164179,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:35:02] local.INFO: Acknowledgment sent {"connection_id":164179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:35:13] local.INFO: TCP Data received {"connection_id":163885,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163885,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:35:13] local.INFO: Processing buffer {"connection_id":163885,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:35:13] local.INFO: IMEI packet received {"connection_id":163885,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 23:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":163885,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:35:14] local.INFO: TCP Data received {"connection_id":163885,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163885,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:35:14] local.INFO: Processing buffer {"connection_id":163885,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:35:14] local.INFO: IMEI packet received {"connection_id":163885,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 23:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":163885,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:35:18] local.INFO: TCP Data received {"connection_id":163885,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163885,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:35:19] local.INFO: Processing buffer {"connection_id":163885,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:35:19] local.INFO: IMEI packet received {"connection_id":163885,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 23:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":163885,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:35:24] local.INFO: TCP Data received {"connection_id":163885,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0498b8b08012d196580071ff008003d013926..."} 
[2026-08-28 23:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0498b8b08012d196580071ff008003d013926..."} 
[2026-08-28 23:35:24] local.INFO: Processing buffer {"connection_id":163885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0498b8b08012d196580071ff008003d013926..."} 
[2026-08-28 23:35:24] local.INFO: Packet analysis {"connection_id":163885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0498b"} 
[2026-08-28 23:35:24] local.INFO: Extracted packet for processing {"connection_id":163885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0498b"} 
[2026-08-28 23:35:24] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:35:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712633856001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:35:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:35:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:35:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:35:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787940277000,"timestamp_ms":1787940277000,"timestamp_seconds":1787940277,"priority":1,"record_length":96,"hex_timestamp":"000001a0498b8b08"} 
[2026-08-28 23:35:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:35:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 23:35:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:35:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:35:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:35:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:35:24] local.INFO: Teltonika packet parsed successfully {"connection_id":163885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:35:24] local.INFO: Passing IMEI to GPS processor {"connection_id":163885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:35:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":163885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:35:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:35:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:35:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:35:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712633856001,"66":2144,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:35:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:35:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:35:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712633856001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:35:24] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:35:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:35:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:35:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:35:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712633856001,"power":2144,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:35:24] local.INFO: DEBUG: GPS processor result {"connection_id":163885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711291,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:35:24] local.INFO: GPS data processed {"connection_id":163885,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:35:24] local.INFO: Acknowledgment sent {"connection_id":163885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:35:25] local.INFO: TCP Data received {"connection_id":165161,"ip":"117.224.209.167","data_length":795,"data_hex":"000000000000030f8e0a000001a049894cd0012d34bdc006aa4910000f00e62b..."} 
[2026-08-28 23:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049894cd0012d34bdc006aa4910000f00e62b..."} 
[2026-08-28 23:35:25] local.INFO: Processing buffer {"connection_id":165161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049894cd0012d34bdc006aa4910000f00e62b..."} 
[2026-08-28 23:35:25] local.INFO: Packet analysis {"connection_id":165161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04989"} 
[2026-08-28 23:35:25] local.INFO: Extracted packet for processing {"connection_id":165161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04989"} 
[2026-08-28 23:35:25] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111823120,"longitude_deg":75.8431168,"latitude_deg":11.182312,"altitude":15,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 23:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:35:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:35:25] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,106,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-28 23:35:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787940130000,"timestamp_ms":1787940130000,"timestamp_seconds":1787940130,"priority":1,"record_length":96,"hex_timestamp":"000001a049894cd0"} 
[2026-08-28 23:35:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:35:25] 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-28 23:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 23:35: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-28 23:35:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:35:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:35:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:35:25] local.INFO: Teltonika packet parsed successfully {"connection_id":165161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:35:25] local.INFO: Passing IMEI to GPS processor {"connection_id":165161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:35:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":165161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:35:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.209.167","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:35:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:35:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:35:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":25201,"106":206,"28":21760,"24":0,"16":391081146240204800},"client_ip":"117.224.209.167","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16]} 
[2026-08-28 23:35:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:35:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:35:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-28 23:35:25] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:35:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:35: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-28 23:35:25] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null}} 
[2026-08-28 23:35:25] 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":711292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:35:25] local.INFO: GPS data processed {"connection_id":165161,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:35:25] local.INFO: Acknowledgment sent {"connection_id":165161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:35:34] local.INFO: TCP Data received {"connection_id":164179,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0498783c8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0498783c8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:35:34] local.INFO: Processing buffer {"connection_id":164179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0498783c8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:35:34] local.INFO: Packet analysis {"connection_id":164179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04987"} 
[2026-08-28 23:35:34] local.INFO: Extracted packet for processing {"connection_id":164179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04987"} 
[2026-08-28 23:35:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712566272001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:35:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:35:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787940013000,"timestamp_ms":1787940013000,"timestamp_seconds":1787940013,"priority":1,"record_length":96,"hex_timestamp":"000001a0498783c8"} 
[2026-08-28 23:35:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:35:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 23:35:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:35:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:35:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":164179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":164179,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":164179,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:35:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712566272001,"66":25267,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712566272001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:35:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:35:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:35:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712566272001,"power":25267,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":164179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711293,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:35:34] local.INFO: GPS data processed {"connection_id":164179,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:35:34] local.INFO: Acknowledgment sent {"connection_id":164179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:35:52] local.INFO: TCP Data received {"connection_id":165162,"ip":"117.224.209.167","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:35:52] local.INFO: Processing buffer {"connection_id":165162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:35:52] local.INFO: IMEI packet received {"connection_id":165162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 23:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":165162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:35:55] local.INFO: TCP Data received {"connection_id":163886,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163886,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:35:55] local.INFO: Processing buffer {"connection_id":163886,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:35:55] local.INFO: IMEI packet received {"connection_id":163886,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 23:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":163886,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:35:57] local.INFO: TCP Data received {"connection_id":165162,"ip":"117.224.209.167","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:35:57] local.INFO: Processing buffer {"connection_id":165162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:35:57] local.INFO: IMEI packet received {"connection_id":165162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 23:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":165162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:35:57] local.INFO: TCP Data received {"connection_id":163885,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0498b8b08012d196580071ff008003d013926..."} 
[2026-08-28 23:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0498b8b08012d196580071ff008003d013926..."} 
[2026-08-28 23:35:57] local.INFO: Processing buffer {"connection_id":163885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0498b8b08012d196580071ff008003d013926..."} 
[2026-08-28 23:35:57] local.INFO: Packet analysis {"connection_id":163885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0498b"} 
[2026-08-28 23:35:57] local.INFO: Extracted packet for processing {"connection_id":163885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0498b"} 
[2026-08-28 23:35:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:35:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:35:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712633856001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:35:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:35:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:35:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:35:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787940277000,"timestamp_ms":1787940277000,"timestamp_seconds":1787940277,"priority":1,"record_length":96,"hex_timestamp":"000001a0498b8b08"} 
[2026-08-28 23:35:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:35:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:35:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 23:35:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:35:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:35:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:35:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:35:57] local.INFO: Teltonika packet parsed successfully {"connection_id":163885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:35:57] local.INFO: Passing IMEI to GPS processor {"connection_id":163885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:35:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":163885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:35:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:35:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:35:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:35:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712633856001,"66":2144,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:35:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:35:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:35:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712633856001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:35:57] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:35:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:35:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:35:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:35:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712633856001,"power":2144,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:35:58] local.INFO: DEBUG: GPS processor result {"connection_id":163885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711294,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:35:58] local.INFO: GPS data processed {"connection_id":163885,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:35:58] local.INFO: Acknowledgment sent {"connection_id":163885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:35:58] local.INFO: TCP Data received {"connection_id":165162,"ip":"117.224.209.167","data_length":795,"data_hex":"000000000000030f8e0a000001a049894cd0012d34bdc006aa4910000f00e62b..."} 
[2026-08-28 23:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049894cd0012d34bdc006aa4910000f00e62b..."} 
[2026-08-28 23:35:58] local.INFO: Processing buffer {"connection_id":165162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049894cd0012d34bdc006aa4910000f00e62b..."} 
[2026-08-28 23:35:58] local.INFO: Packet analysis {"connection_id":165162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04989"} 
[2026-08-28 23:35:58] local.INFO: Extracted packet for processing {"connection_id":165162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04989"} 
[2026-08-28 23:35:58] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111823120,"longitude_deg":75.8431168,"latitude_deg":11.182312,"altitude":15,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 23:35:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:35:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:35:58] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,106,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-28 23:35:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787940130000,"timestamp_ms":1787940130000,"timestamp_seconds":1787940130,"priority":1,"record_length":96,"hex_timestamp":"000001a049894cd0"} 
[2026-08-28 23:35:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:35:58] 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-28 23:35:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 23:35:58] 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-28 23:35:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:35:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:35:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:35:58] local.INFO: Teltonika packet parsed successfully {"connection_id":165162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:35:58] local.INFO: Passing IMEI to GPS processor {"connection_id":165162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:35:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":165162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:35:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.209.167","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:35:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:35:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:35:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":25201,"106":206,"28":21760,"24":0,"16":391081146240204800},"client_ip":"117.224.209.167","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16]} 
[2026-08-28 23:35:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:35:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:35:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-28 23:35:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:35:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:35: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-28 23:35:58] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null}} 
[2026-08-28 23:35:58] 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":711295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:35:58] local.INFO: GPS data processed {"connection_id":165162,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:35:58] local.INFO: Acknowledgment sent {"connection_id":165162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:36:00] local.INFO: TCP Data received {"connection_id":163886,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163886,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:36:00] local.INFO: Processing buffer {"connection_id":163886,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:36:00] local.INFO: IMEI packet received {"connection_id":163886,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 23:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":163886,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:36:01] local.INFO: TCP Data received {"connection_id":163886,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0498c1b90012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0498c1b90012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:36:01] local.INFO: Processing buffer {"connection_id":163886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0498c1b90012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:36:01] local.INFO: Packet analysis {"connection_id":163886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0498c"} 
[2026-08-28 23:36:01] local.INFO: Extracted packet for processing {"connection_id":163886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0498c"} 
[2026-08-28 23:36:01] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23: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-28 23:36:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712643328001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:36:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:36:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:36:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:36:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787940314000,"timestamp_ms":1787940314000,"timestamp_seconds":1787940314,"priority":1,"record_length":96,"hex_timestamp":"000001a0498c1b90"} 
[2026-08-28 23: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-28 23:36:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23: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":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 23:36:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23: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-28 23: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-28 23:36:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:36:01] local.INFO: Teltonika packet parsed successfully {"connection_id":163886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:36:01] local.INFO: Passing IMEI to GPS processor {"connection_id":163886,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:36:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":163886,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:36:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:36:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:36:01] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:36:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712643328001,"66":25267,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:36:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:36:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:36:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712643328001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:36:01] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:36:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:36:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:36:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:36:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712643328001,"power":25267,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:36:01] local.INFO: DEBUG: GPS processor result {"connection_id":163886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711296,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:36:01] local.INFO: GPS data processed {"connection_id":163886,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:36:01] local.INFO: Acknowledgment sent {"connection_id":163886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:36:02] local.INFO: TCP Data received {"connection_id":165162,"ip":"117.224.209.167","data_length":795,"data_hex":"000000000000030f8e0a000001a049894cd0012d34bdc006aa4910000f00e62b..."} 
[2026-08-28 23:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049894cd0012d34bdc006aa4910000f00e62b..."} 
[2026-08-28 23:36:02] local.INFO: Processing buffer {"connection_id":165162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049894cd0012d34bdc006aa4910000f00e62b..."} 
[2026-08-28 23:36:02] local.INFO: Packet analysis {"connection_id":165162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04989"} 
[2026-08-28 23:36:02] local.INFO: Extracted packet for processing {"connection_id":165162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04989"} 
[2026-08-28 23:36:02] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111823120,"longitude_deg":75.8431168,"latitude_deg":11.182312,"altitude":15,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 23:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:36:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:36:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,106,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-28 23:36:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787940130000,"timestamp_ms":1787940130000,"timestamp_seconds":1787940130,"priority":1,"record_length":96,"hex_timestamp":"000001a049894cd0"} 
[2026-08-28 23:36:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:36:02] 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-28 23:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 23:36:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:36:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:36:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:36:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:36:02] local.INFO: Teltonika packet parsed successfully {"connection_id":165162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:36:02] local.INFO: Passing IMEI to GPS processor {"connection_id":165162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:36:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":165162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:36:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.209.167","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:36:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:36:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:36:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":25201,"106":206,"28":21760,"24":0,"16":391081146240204800},"client_ip":"117.224.209.167","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16]} 
[2026-08-28 23:36:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:36:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:36:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-28 23:36:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:36:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:36: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-28 23:36:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null}} 
[2026-08-28 23:36:03] 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":711297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:36:03] local.INFO: GPS data processed {"connection_id":165162,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:36:03] local.INFO: Acknowledgment sent {"connection_id":165162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:36:14] local.INFO: TCP Data received {"connection_id":166519,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:36:14] local.INFO: Processing buffer {"connection_id":166519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:36:14] local.INFO: IMEI packet received {"connection_id":166519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 23:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":166519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:36:19] local.INFO: TCP Data received {"connection_id":166519,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:36:19] local.INFO: Processing buffer {"connection_id":166519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:36:19] local.INFO: IMEI packet received {"connection_id":166519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 23:36:19] local.INFO: IMEI acknowledgment sent {"connection_id":166519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:36:33] local.INFO: TCP Data received {"connection_id":163886,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0498c1b90012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0498c1b90012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:36:33] local.INFO: Processing buffer {"connection_id":163886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0498c1b90012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:36:33] local.INFO: Packet analysis {"connection_id":163886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0498c"} 
[2026-08-28 23:36:33] local.INFO: Extracted packet for processing {"connection_id":163886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0498c"} 
[2026-08-28 23:36:33] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:36:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712643328001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:36:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787940314000,"timestamp_ms":1787940314000,"timestamp_seconds":1787940314,"priority":1,"record_length":96,"hex_timestamp":"000001a0498c1b90"} 
[2026-08-28 23:36:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:36:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:36:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 23:36:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:36:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:36:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":163886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":163886,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":163886,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:36:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712643328001,"66":25267,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712643328001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:36:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:36:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712643328001,"power":25267,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":163886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711298,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:36:33] local.INFO: GPS data processed {"connection_id":163886,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:36:33] local.INFO: Acknowledgment sent {"connection_id":163886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:36:36] local.INFO: TCP Data received {"connection_id":166519,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0498b8b08012d196580071ff008003d013926..."} 
[2026-08-28 23:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0498b8b08012d196580071ff008003d013926..."} 
[2026-08-28 23:36:36] local.INFO: Processing buffer {"connection_id":166519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0498b8b08012d196580071ff008003d013926..."} 
[2026-08-28 23:36:36] local.INFO: Packet analysis {"connection_id":166519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0498b"} 
[2026-08-28 23:36:36] local.INFO: Extracted packet for processing {"connection_id":166519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0498b"} 
[2026-08-28 23:36:36] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712633856001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787940277000,"timestamp_ms":1787940277000,"timestamp_seconds":1787940277,"priority":1,"record_length":96,"hex_timestamp":"000001a0498b8b08"} 
[2026-08-28 23:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:36:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 23:36:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:36:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":166519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":166519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":166519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:36:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712633856001,"66":2144,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712633856001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:36:36] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:36:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712633856001,"power":2144,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":166519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711299,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:36:36] local.INFO: GPS data processed {"connection_id":166519,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:36:36] local.INFO: Acknowledgment sent {"connection_id":166519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:36:47] local.INFO: TCP Data received {"connection_id":163887,"ip":"117.224.209.167","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:36:47] local.INFO: Processing buffer {"connection_id":163887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:36:47] local.INFO: IMEI packet received {"connection_id":163887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 23:36:47] local.INFO: IMEI acknowledgment sent {"connection_id":163887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:36:52] local.INFO: TCP Data received {"connection_id":163887,"ip":"117.224.209.167","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:36:52] local.INFO: Processing buffer {"connection_id":163887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:36:52] local.INFO: IMEI packet received {"connection_id":163887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 23:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":163887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:36:54] local.INFO: TCP Data received {"connection_id":163887,"ip":"117.224.209.167","data_length":795,"data_hex":"000000000000030f8e0a000001a049894cd0012d34bdc006aa4910000f00e62b..."} 
[2026-08-28 23:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049894cd0012d34bdc006aa4910000f00e62b..."} 
[2026-08-28 23:36:54] local.INFO: Processing buffer {"connection_id":163887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049894cd0012d34bdc006aa4910000f00e62b..."} 
[2026-08-28 23:36:54] local.INFO: Packet analysis {"connection_id":163887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04989"} 
[2026-08-28 23:36:54] local.INFO: Extracted packet for processing {"connection_id":163887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04989"} 
[2026-08-28 23:36:54] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111823120,"longitude_deg":75.8431168,"latitude_deg":11.182312,"altitude":15,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 23:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:36:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:36:54] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,106,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-28 23:36:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787940130000,"timestamp_ms":1787940130000,"timestamp_seconds":1787940130,"priority":1,"record_length":96,"hex_timestamp":"000001a049894cd0"} 
[2026-08-28 23:36:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:36:54] 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-28 23:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 23:36:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:36:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:36:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:36:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:36:54] local.INFO: Teltonika packet parsed successfully {"connection_id":163887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:36:54] local.INFO: Passing IMEI to GPS processor {"connection_id":163887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:36:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":163887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:36:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.209.167","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:36:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:36:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:36:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":25201,"106":206,"28":21760,"24":0,"16":391081146240204800},"client_ip":"117.224.209.167","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16]} 
[2026-08-28 23:36:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:36:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:36:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-28 23:36:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:36:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23: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-28 23:36:54] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null}} 
[2026-08-28 23:36:54] local.INFO: DEBUG: GPS processor result {"connection_id":163887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:36:54] local.INFO: GPS data processed {"connection_id":163887,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:36:54] local.INFO: Acknowledgment sent {"connection_id":163887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:37:01] local.INFO: TCP Data received {"connection_id":166520,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166520,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:37:01] local.INFO: Processing buffer {"connection_id":166520,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:37:01] local.INFO: IMEI packet received {"connection_id":166520,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 23:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":166520,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:37:06] local.INFO: TCP Data received {"connection_id":166520,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166520,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:37:06] local.INFO: Processing buffer {"connection_id":166520,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:37:06] local.INFO: IMEI packet received {"connection_id":166520,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 23:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":166520,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:37:07] local.INFO: TCP Data received {"connection_id":166520,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0498c1b90012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0498c1b90012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:37:07] local.INFO: Processing buffer {"connection_id":166520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0498c1b90012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:37:07] local.INFO: Packet analysis {"connection_id":166520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0498c"} 
[2026-08-28 23:37:07] local.INFO: Extracted packet for processing {"connection_id":166520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0498c"} 
[2026-08-28 23:37:07] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712643328001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787940314000,"timestamp_ms":1787940314000,"timestamp_seconds":1787940314,"priority":1,"record_length":96,"hex_timestamp":"000001a0498c1b90"} 
[2026-08-28 23:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:37:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 23:37:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:37:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":166520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":166520,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":166520,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:37:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712643328001,"66":25267,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712643328001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:37:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:37:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712643328001,"power":25267,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":166520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711301,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:37:07] local.INFO: GPS data processed {"connection_id":166520,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:37:07] local.INFO: Acknowledgment sent {"connection_id":166520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:37:11] local.INFO: TCP Data received {"connection_id":166520,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0498c1b90012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0498c1b90012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:37:11] local.INFO: Processing buffer {"connection_id":166520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0498c1b90012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:37:11] local.INFO: Packet analysis {"connection_id":166520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0498c"} 
[2026-08-28 23:37:11] local.INFO: Extracted packet for processing {"connection_id":166520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0498c"} 
[2026-08-28 23:37:11] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712643328001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:37:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:37:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787940314000,"timestamp_ms":1787940314000,"timestamp_seconds":1787940314,"priority":1,"record_length":96,"hex_timestamp":"000001a0498c1b90"} 
[2026-08-28 23:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:37:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 23:37:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:37:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":166520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":166520,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":166520,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:37:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712643328001,"66":25267,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712643328001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:37:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:37:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:37:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712643328001,"power":25267,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":166520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711302,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:37:11] local.INFO: GPS data processed {"connection_id":166520,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:37:11] local.INFO: Acknowledgment sent {"connection_id":166520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:37:14] local.INFO: TCP Data received {"connection_id":164180,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164180,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:37:14] local.INFO: Processing buffer {"connection_id":164180,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:37:14] local.INFO: IMEI packet received {"connection_id":164180,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 23:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":164180,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:37:19] local.INFO: TCP Data received {"connection_id":164180,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164180,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:37:19] local.INFO: Processing buffer {"connection_id":164180,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:37:19] local.INFO: IMEI packet received {"connection_id":164180,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 23:37:19] local.INFO: IMEI acknowledgment sent {"connection_id":164180,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:37:20] local.INFO: TCP Data received {"connection_id":164180,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0498b8b08012d196580071ff008003d013926..."} 
[2026-08-28 23:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0498b8b08012d196580071ff008003d013926..."} 
[2026-08-28 23:37:20] local.INFO: Processing buffer {"connection_id":164180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0498b8b08012d196580071ff008003d013926..."} 
[2026-08-28 23:37:20] local.INFO: Packet analysis {"connection_id":164180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0498b"} 
[2026-08-28 23:37:20] local.INFO: Extracted packet for processing {"connection_id":164180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0498b"} 
[2026-08-28 23:37:20] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:37:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712633856001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:37:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:37:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:37:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:37:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787940277000,"timestamp_ms":1787940277000,"timestamp_seconds":1787940277,"priority":1,"record_length":96,"hex_timestamp":"000001a0498b8b08"} 
[2026-08-28 23:37:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:37:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:37:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 23:37:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:37:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:37:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:37:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:37:20] local.INFO: Teltonika packet parsed successfully {"connection_id":164180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:37:20] local.INFO: Passing IMEI to GPS processor {"connection_id":164180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:37:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":164180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:37:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:37:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:37:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:37:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712633856001,"66":2144,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:37:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:37:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:37:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712633856001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:37:20] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:37:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:37:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:37:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:37:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712633856001,"power":2144,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:37:20] local.INFO: DEBUG: GPS processor result {"connection_id":164180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711303,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:37:20] local.INFO: GPS data processed {"connection_id":164180,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:37:20] local.INFO: Acknowledgment sent {"connection_id":164180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:37:25] local.INFO: TCP Data received {"connection_id":163887,"ip":"117.224.209.167","data_length":795,"data_hex":"000000000000030f8e0a000001a049894cd0012d34bdc006aa4910000f00e62b..."} 
[2026-08-28 23:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049894cd0012d34bdc006aa4910000f00e62b..."} 
[2026-08-28 23:37:25] local.INFO: Processing buffer {"connection_id":163887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049894cd0012d34bdc006aa4910000f00e62b..."} 
[2026-08-28 23:37:25] local.INFO: Packet analysis {"connection_id":163887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04989"} 
[2026-08-28 23:37:25] local.INFO: Extracted packet for processing {"connection_id":163887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04989"} 
[2026-08-28 23:37:25] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111823120,"longitude_deg":75.8431168,"latitude_deg":11.182312,"altitude":15,"angle":230,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 23:37:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:37:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:37:25] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,106,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-28 23:37:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787940130000,"timestamp_ms":1787940130000,"timestamp_seconds":1787940130,"priority":1,"record_length":96,"hex_timestamp":"000001a049894cd0"} 
[2026-08-28 23:37:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:37:25] 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-28 23:37:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-28 23:37: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-28 23:37:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:37:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:37:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:37:25] local.INFO: Teltonika packet parsed successfully {"connection_id":163887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:37:25] local.INFO: Passing IMEI to GPS processor {"connection_id":163887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:37:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":163887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:37:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.209.167","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:37:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:37:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:37:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":25201,"106":206,"28":21760,"24":0,"16":391081146240204800},"client_ip":"117.224.209.167","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16]} 
[2026-08-28 23:37:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:37:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:37:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-28 23:37:25] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:37:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:37: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-28 23:37:25] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null}} 
[2026-08-28 23:37:25] local.INFO: DEBUG: GPS processor result {"connection_id":163887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:37:25] local.INFO: GPS data processed {"connection_id":163887,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:37:25] local.INFO: Acknowledgment sent {"connection_id":163887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:37:46] local.INFO: TCP Data received {"connection_id":165163,"ip":"117.224.209.167","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:37:46] local.INFO: Processing buffer {"connection_id":165163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:37:46] local.INFO: IMEI packet received {"connection_id":165163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 23:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":165163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:37:48] local.INFO: TCP Data received {"connection_id":165163,"ip":"117.224.209.167","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:37:48] local.INFO: Processing buffer {"connection_id":165163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:37:48] local.INFO: IMEI packet received {"connection_id":165163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 23:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":165163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:37:52] local.INFO: TCP Data received {"connection_id":164180,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0498b8b08012d196580071ff008003d013926..."} 
[2026-08-28 23:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0498b8b08012d196580071ff008003d013926..."} 
[2026-08-28 23:37:52] local.INFO: Processing buffer {"connection_id":164180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0498b8b08012d196580071ff008003d013926..."} 
[2026-08-28 23:37:52] local.INFO: Packet analysis {"connection_id":164180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0498b"} 
[2026-08-28 23:37:52] local.INFO: Extracted packet for processing {"connection_id":164180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0498b"} 
[2026-08-28 23:37:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23: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-28 23:37:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712633856001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:37:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:37:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:37:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:37:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787940277000,"timestamp_ms":1787940277000,"timestamp_seconds":1787940277,"priority":1,"record_length":96,"hex_timestamp":"000001a0498b8b08"} 
[2026-08-28 23: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-28 23:37:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 23:37:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23: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-28 23: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-28 23:37:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:37:52] local.INFO: Teltonika packet parsed successfully {"connection_id":164180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:37:52] local.INFO: Passing IMEI to GPS processor {"connection_id":164180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:37:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":164180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:37:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:37:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:37:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:37:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712633856001,"66":2144,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:37:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:37:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:37:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712633856001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:37:52] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:37:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:37:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:37:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:37:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712633856001,"power":2144,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:37:52] local.INFO: DEBUG: GPS processor result {"connection_id":164180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711305,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:37:52] local.INFO: GPS data processed {"connection_id":164180,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:37:52] local.INFO: Acknowledgment sent {"connection_id":164180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:37:53] local.INFO: TCP Data received {"connection_id":165163,"ip":"117.224.209.167","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:37:53] local.INFO: Processing buffer {"connection_id":165163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:37:53] local.INFO: IMEI packet received {"connection_id":165163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 23:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":165163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:37:54] local.INFO: TCP Data received {"connection_id":165163,"ip":"117.224.209.167","data_length":795,"data_hex":"000000000000030f8e0a000001a0498de498012d34bdc006aa4910000e00e62c..."} 
[2026-08-28 23:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0498de498012d34bdc006aa4910000e00e62c..."} 
[2026-08-28 23:37:54] local.INFO: Processing buffer {"connection_id":165163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0498de498012d34bdc006aa4910000e00e62c..."} 
[2026-08-28 23:37:54] local.INFO: Packet analysis {"connection_id":165163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0498d"} 
[2026-08-28 23:37:54] local.INFO: Extracted packet for processing {"connection_id":165163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0498d"} 
[2026-08-28 23:37:54] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111823120,"longitude_deg":75.8431168,"latitude_deg":11.182312,"altitude":14,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 23:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:37:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712673280001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:37:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:37:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429818368,"note":"Value kept but may cause issues"} 
[2026-08-28 23:37:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:37:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787940431000,"timestamp_ms":1787940431000,"timestamp_seconds":1787940431,"priority":1,"record_length":96,"hex_timestamp":"000001a0498de498"} 
[2026-08-28 23:37:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:37:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:37:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-28 23:37:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:37:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:37:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:37:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:37:54] local.INFO: Teltonika packet parsed successfully {"connection_id":165163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:37:54] local.INFO: Passing IMEI to GPS processor {"connection_id":165163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:37:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":165163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:37:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.209.167","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:37:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:37:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:37:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712673280001,"66":25212,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3800404795429818368},"client_ip":"117.224.209.167","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:37:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:37:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:37:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712673280001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:37:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:37:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:37: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-28 23:37:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429818368,"description":"Unknown IO ID 45"} 
[2026-08-28 23:37:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712673280001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800404795429818368}} 
[2026-08-28 23:37:54] 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":711306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:37:54] local.INFO: GPS data processed {"connection_id":165163,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:37:54] local.INFO: Acknowledgment sent {"connection_id":165163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:37:55] local.INFO: TCP Data received {"connection_id":166521,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166521,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:37:55] local.INFO: Processing buffer {"connection_id":166521,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:37:55] local.INFO: IMEI packet received {"connection_id":166521,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 23:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":166521,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:38:01] local.INFO: TCP Data received {"connection_id":166521,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166521,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:38:01] local.INFO: Processing buffer {"connection_id":166521,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:38:01] local.INFO: IMEI packet received {"connection_id":166521,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 23:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":166521,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:38:02] local.INFO: TCP Data received {"connection_id":166521,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0498c1b90012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0498c1b90012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:38:02] local.INFO: Processing buffer {"connection_id":166521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0498c1b90012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:38:02] local.INFO: Packet analysis {"connection_id":166521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0498c"} 
[2026-08-28 23:38:02] local.INFO: Extracted packet for processing {"connection_id":166521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0498c"} 
[2026-08-28 23:38:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712643328001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:38:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:38:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787940314000,"timestamp_ms":1787940314000,"timestamp_seconds":1787940314,"priority":1,"record_length":96,"hex_timestamp":"000001a0498c1b90"} 
[2026-08-28 23:38:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:38:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 23:38:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:38:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:38:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":166521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":166521,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":166521,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:38:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712643328001,"66":25267,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712643328001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:38:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:38:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:38:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712643328001,"power":25267,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":166521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711307,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:38:02] local.INFO: GPS data processed {"connection_id":166521,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:38:02] local.INFO: Acknowledgment sent {"connection_id":166521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:38:13] local.INFO: TCP Data received {"connection_id":164181,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164181,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:38:13] local.INFO: Processing buffer {"connection_id":164181,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:38:13] local.INFO: IMEI packet received {"connection_id":164181,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 23:38:13] local.INFO: IMEI acknowledgment sent {"connection_id":164181,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:38:19] local.INFO: TCP Data received {"connection_id":164181,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164181,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:38:19] local.INFO: Processing buffer {"connection_id":164181,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:38:19] local.INFO: IMEI packet received {"connection_id":164181,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 23:38:19] local.INFO: IMEI acknowledgment sent {"connection_id":164181,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:38:20] local.INFO: TCP Data received {"connection_id":164181,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0498b8b08012d196580071ff008003d013926..."} 
[2026-08-28 23:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0498b8b08012d196580071ff008003d013926..."} 
[2026-08-28 23:38:20] local.INFO: Processing buffer {"connection_id":164181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0498b8b08012d196580071ff008003d013926..."} 
[2026-08-28 23:38:20] local.INFO: Packet analysis {"connection_id":164181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0498b"} 
[2026-08-28 23:38:20] local.INFO: Extracted packet for processing {"connection_id":164181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0498b"} 
[2026-08-28 23:38:20] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23: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-28 23:38:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712633856001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:38:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:38:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:38:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:38:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787940277000,"timestamp_ms":1787940277000,"timestamp_seconds":1787940277,"priority":1,"record_length":96,"hex_timestamp":"000001a0498b8b08"} 
[2026-08-28 23: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-28 23:38:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 23:38:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23: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-28 23: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-28 23:38:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:38:20] local.INFO: Teltonika packet parsed successfully {"connection_id":164181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:38:20] local.INFO: Passing IMEI to GPS processor {"connection_id":164181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:38:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":164181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:38:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:38:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:38:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:38:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712633856001,"66":2144,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:38:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:38:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:38:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712633856001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:38:20] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:38:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:38:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:38:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:38:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712633856001,"power":2144,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:38:20] local.INFO: DEBUG: GPS processor result {"connection_id":164181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711308,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:38:20] local.INFO: GPS data processed {"connection_id":164181,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:38:20] local.INFO: Acknowledgment sent {"connection_id":164181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:38:25] local.INFO: TCP Data received {"connection_id":165163,"ip":"117.224.209.167","data_length":795,"data_hex":"000000000000030f8e0a000001a0498de498012d34bdc006aa4910000e00e62c..."} 
[2026-08-28 23:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0498de498012d34bdc006aa4910000e00e62c..."} 
[2026-08-28 23:38:25] local.INFO: Processing buffer {"connection_id":165163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0498de498012d34bdc006aa4910000e00e62c..."} 
[2026-08-28 23:38:25] local.INFO: Packet analysis {"connection_id":165163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0498d"} 
[2026-08-28 23:38:25] local.INFO: Extracted packet for processing {"connection_id":165163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0498d"} 
[2026-08-28 23:38:25] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111823120,"longitude_deg":75.8431168,"latitude_deg":11.182312,"altitude":14,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 23:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712673280001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:38:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429818368,"note":"Value kept but may cause issues"} 
[2026-08-28 23:38:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787940431000,"timestamp_ms":1787940431000,"timestamp_seconds":1787940431,"priority":1,"record_length":96,"hex_timestamp":"000001a0498de498"} 
[2026-08-28 23:38:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:38:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-28 23:38:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:38:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:38:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":165163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":165163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":165163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:38:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.209.167","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712673280001,"66":25212,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3800404795429818368},"client_ip":"117.224.209.167","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712673280001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:38:25] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:38:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:38: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-28 23:38:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429818368,"description":"Unknown IO ID 45"} 
[2026-08-28 23:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712673280001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800404795429818368}} 
[2026-08-28 23:38:25] 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":711309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:38:25] local.INFO: GPS data processed {"connection_id":165163,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:38:25] local.INFO: Acknowledgment sent {"connection_id":165163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:38:34] local.INFO: TCP Data received {"connection_id":166521,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0498c1b90012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0498c1b90012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:38:34] local.INFO: Processing buffer {"connection_id":166521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0498c1b90012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:38:34] local.INFO: Packet analysis {"connection_id":166521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0498c"} 
[2026-08-28 23:38:34] local.INFO: Extracted packet for processing {"connection_id":166521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0498c"} 
[2026-08-28 23:38:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712643328001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:38:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:38:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787940314000,"timestamp_ms":1787940314000,"timestamp_seconds":1787940314,"priority":1,"record_length":96,"hex_timestamp":"000001a0498c1b90"} 
[2026-08-28 23:38:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:38:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 23:38:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:38:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:38:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":166521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":166521,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":166521,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:38:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712643328001,"66":25267,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712643328001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:38:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:38:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:38:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712643328001,"power":25267,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":166521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711310,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:38:34] local.INFO: GPS data processed {"connection_id":166521,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:38:34] local.INFO: Acknowledgment sent {"connection_id":166521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:38:46] local.INFO: TCP Data received {"connection_id":166522,"ip":"117.224.209.167","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:38:46] local.INFO: Processing buffer {"connection_id":166522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:38:46] local.INFO: IMEI packet received {"connection_id":166522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 23:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":166522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:38:52] local.INFO: TCP Data received {"connection_id":166522,"ip":"117.224.209.167","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:38:52] local.INFO: Processing buffer {"connection_id":166522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:38:52] local.INFO: IMEI packet received {"connection_id":166522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 23:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":166522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:38:53] local.INFO: TCP Data received {"connection_id":164181,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0498b8b08012d196580071ff008003d013926..."} 
[2026-08-28 23:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0498b8b08012d196580071ff008003d013926..."} 
[2026-08-28 23:38:53] local.INFO: Processing buffer {"connection_id":164181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0498b8b08012d196580071ff008003d013926..."} 
[2026-08-28 23:38:53] local.INFO: Packet analysis {"connection_id":164181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0498b"} 
[2026-08-28 23:38:53] local.INFO: Extracted packet for processing {"connection_id":164181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0498b"} 
[2026-08-28 23:38:53] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:38:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:38:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712633856001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:38:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:38:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:38:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:38:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787940277000,"timestamp_ms":1787940277000,"timestamp_seconds":1787940277,"priority":1,"record_length":96,"hex_timestamp":"000001a0498b8b08"} 
[2026-08-28 23:38:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:38:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:38:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 23:38:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:38:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:38:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:38:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:38:53] local.INFO: Teltonika packet parsed successfully {"connection_id":164181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:38:53] local.INFO: Passing IMEI to GPS processor {"connection_id":164181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:38:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":164181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:38:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:38:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:38:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:38:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712633856001,"66":2144,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:38:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:38:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:38:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712633856001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:38:53] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:38:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:38:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:38:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:38:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712633856001,"power":2144,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:38:53] local.INFO: DEBUG: GPS processor result {"connection_id":164181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711311,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:38:53] local.INFO: GPS data processed {"connection_id":164181,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:38:53] local.INFO: Acknowledgment sent {"connection_id":164181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:38:54] local.INFO: TCP Data received {"connection_id":166522,"ip":"117.224.209.167","data_length":795,"data_hex":"000000000000030f8e0a000001a0498de498012d34bdc006aa4910000e00e62c..."} 
[2026-08-28 23:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0498de498012d34bdc006aa4910000e00e62c..."} 
[2026-08-28 23:38:54] local.INFO: Processing buffer {"connection_id":166522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0498de498012d34bdc006aa4910000e00e62c..."} 
[2026-08-28 23:38:54] local.INFO: Packet analysis {"connection_id":166522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0498d"} 
[2026-08-28 23:38:54] local.INFO: Extracted packet for processing {"connection_id":166522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0498d"} 
[2026-08-28 23:38:54] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111823120,"longitude_deg":75.8431168,"latitude_deg":11.182312,"altitude":14,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 23:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:38:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712673280001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:38:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:38:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429818368,"note":"Value kept but may cause issues"} 
[2026-08-28 23:38:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:38:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787940431000,"timestamp_ms":1787940431000,"timestamp_seconds":1787940431,"priority":1,"record_length":96,"hex_timestamp":"000001a0498de498"} 
[2026-08-28 23:38:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:38:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-28 23:38:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:38:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:38:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:38:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:38:54] local.INFO: Teltonika packet parsed successfully {"connection_id":166522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:38:54] local.INFO: Passing IMEI to GPS processor {"connection_id":166522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:38:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":166522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:38:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.209.167","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:38:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:38:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:38:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712673280001,"66":25212,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3800404795429818368},"client_ip":"117.224.209.167","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:38:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:38:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:38:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712673280001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:38:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:38:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23: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-28 23:38:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429818368,"description":"Unknown IO ID 45"} 
[2026-08-28 23:38:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712673280001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800404795429818368}} 
[2026-08-28 23:38:54] local.INFO: DEBUG: GPS processor result {"connection_id":166522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:38:54] local.INFO: GPS data processed {"connection_id":166522,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:38:54] local.INFO: Acknowledgment sent {"connection_id":166522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:38:55] local.INFO: TCP Data received {"connection_id":163888,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163888,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:38:55] local.INFO: Processing buffer {"connection_id":163888,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:38:55] local.INFO: IMEI packet received {"connection_id":163888,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 23:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":163888,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:39:01] local.INFO: TCP Data received {"connection_id":163888,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163888,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:39:01] local.INFO: Processing buffer {"connection_id":163888,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:39:01] local.INFO: IMEI packet received {"connection_id":163888,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 23:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":163888,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:39:02] local.INFO: TCP Data received {"connection_id":163888,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0498c1b90012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0498c1b90012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:39:02] local.INFO: Processing buffer {"connection_id":163888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0498c1b90012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:39:02] local.INFO: Packet analysis {"connection_id":163888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0498c"} 
[2026-08-28 23:39:02] local.INFO: Extracted packet for processing {"connection_id":163888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0498c"} 
[2026-08-28 23:39:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712643328001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:39:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:39:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787940314000,"timestamp_ms":1787940314000,"timestamp_seconds":1787940314,"priority":1,"record_length":96,"hex_timestamp":"000001a0498c1b90"} 
[2026-08-28 23:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:39:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 23:39:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:39:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163888,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163888,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:39:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712643328001,"66":25267,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712643328001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:39:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:39:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:39:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712643328001,"power":25267,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":163888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711313,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:39:03] local.INFO: GPS data processed {"connection_id":163888,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:39:03] local.INFO: Acknowledgment sent {"connection_id":163888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:39:19] local.INFO: TCP Data received {"connection_id":164182,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164182,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:39:19] local.INFO: Processing buffer {"connection_id":164182,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:39:19] local.INFO: IMEI packet received {"connection_id":164182,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 23:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":164182,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:39:24] local.INFO: TCP Data received {"connection_id":164182,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164182,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:39:24] local.INFO: Processing buffer {"connection_id":164182,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:39:24] local.INFO: IMEI packet received {"connection_id":164182,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 23:39:24] local.INFO: IMEI acknowledgment sent {"connection_id":164182,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:39:25] local.INFO: TCP Data received {"connection_id":164182,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0498b8b08012d196580071ff008003d013926..."} 
[2026-08-28 23:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0498b8b08012d196580071ff008003d013926..."} 
[2026-08-28 23:39:25] local.INFO: Processing buffer {"connection_id":164182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0498b8b08012d196580071ff008003d013926..."} 
[2026-08-28 23:39:25] local.INFO: Packet analysis {"connection_id":164182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0498b"} 
[2026-08-28 23:39:25] local.INFO: Extracted packet for processing {"connection_id":164182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0498b"} 
[2026-08-28 23:39:25] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:39:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712633856001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:39:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:39:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:39:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:39:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787940277000,"timestamp_ms":1787940277000,"timestamp_seconds":1787940277,"priority":1,"record_length":96,"hex_timestamp":"000001a0498b8b08"} 
[2026-08-28 23:39:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:39:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 23:39:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:39:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:39:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:39:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:39:25] local.INFO: Teltonika packet parsed successfully {"connection_id":164182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:39:25] local.INFO: Passing IMEI to GPS processor {"connection_id":164182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:39:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":164182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:39:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:39:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:39:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:39:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712633856001,"66":2144,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:39:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:39:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:39:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712633856001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:39:25] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:39:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:39:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:39:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:39:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712633856001,"power":2144,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:39:26] local.INFO: DEBUG: GPS processor result {"connection_id":164182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711314,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:39:26] local.INFO: GPS data processed {"connection_id":164182,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:39:26] local.INFO: Acknowledgment sent {"connection_id":164182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:39:26] local.INFO: TCP Data received {"connection_id":166522,"ip":"117.224.209.167","data_length":795,"data_hex":"000000000000030f8e0a000001a0498de498012d34bdc006aa4910000e00e62c..."} 
[2026-08-28 23:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0498de498012d34bdc006aa4910000e00e62c..."} 
[2026-08-28 23:39:26] local.INFO: Processing buffer {"connection_id":166522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0498de498012d34bdc006aa4910000e00e62c..."} 
[2026-08-28 23:39:26] local.INFO: Packet analysis {"connection_id":166522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0498d"} 
[2026-08-28 23:39:26] local.INFO: Extracted packet for processing {"connection_id":166522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0498d"} 
[2026-08-28 23:39:26] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111823120,"longitude_deg":75.8431168,"latitude_deg":11.182312,"altitude":14,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 23:39:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:39:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712673280001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:39:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:39:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429818368,"note":"Value kept but may cause issues"} 
[2026-08-28 23:39:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:39:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787940431000,"timestamp_ms":1787940431000,"timestamp_seconds":1787940431,"priority":1,"record_length":96,"hex_timestamp":"000001a0498de498"} 
[2026-08-28 23:39:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:39:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:39:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-28 23:39:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:39:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:39:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:39:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:39:26] local.INFO: Teltonika packet parsed successfully {"connection_id":166522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:39:26] local.INFO: Passing IMEI to GPS processor {"connection_id":166522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:39:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":166522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:39:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.209.167","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:39:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:39:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:39:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712673280001,"66":25212,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3800404795429818368},"client_ip":"117.224.209.167","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:39:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:39:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:39:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712673280001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:39:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:39:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:39:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:39:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429818368,"description":"Unknown IO ID 45"} 
[2026-08-28 23:39:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712673280001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800404795429818368}} 
[2026-08-28 23:39:26] local.INFO: DEBUG: GPS processor result {"connection_id":166522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:39:26] local.INFO: GPS data processed {"connection_id":166522,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:39:26] local.INFO: Acknowledgment sent {"connection_id":166522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:39:34] local.INFO: TCP Data received {"connection_id":163888,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0498c1b90012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0498c1b90012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:39:34] local.INFO: Processing buffer {"connection_id":163888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0498c1b90012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:39:34] local.INFO: Packet analysis {"connection_id":163888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0498c"} 
[2026-08-28 23:39:34] local.INFO: Extracted packet for processing {"connection_id":163888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0498c"} 
[2026-08-28 23:39:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712643328001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787940314000,"timestamp_ms":1787940314000,"timestamp_seconds":1787940314,"priority":1,"record_length":96,"hex_timestamp":"000001a0498c1b90"} 
[2026-08-28 23:39:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:39:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 23:39:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:39:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:39:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163888,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163888,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712643328001,"66":25267,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712643328001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:39:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:39:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712643328001,"power":25267,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":163888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711316,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:39:34] local.INFO: GPS data processed {"connection_id":163888,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:39:34] local.INFO: Acknowledgment sent {"connection_id":163888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:39:52] local.INFO: TCP Data received {"connection_id":163889,"ip":"117.224.209.167","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:39:52] local.INFO: Processing buffer {"connection_id":163889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:39:52] local.INFO: IMEI packet received {"connection_id":163889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 23:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":163889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:39:55] local.INFO: TCP Data received {"connection_id":164183,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164183,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:39:55] local.INFO: Processing buffer {"connection_id":164183,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:39:55] local.INFO: IMEI packet received {"connection_id":164183,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 23:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":164183,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:39:57] local.INFO: TCP Data received {"connection_id":163889,"ip":"117.224.209.167","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:39:57] local.INFO: Processing buffer {"connection_id":163889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:39:57] local.INFO: IMEI packet received {"connection_id":163889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 23:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":163889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:39:58] local.INFO: TCP Data received {"connection_id":163889,"ip":"117.224.209.167","data_length":795,"data_hex":"000000000000030f8e0a000001a0498de498012d34bdc006aa4910000e00e62c..."} 
[2026-08-28 23:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0498de498012d34bdc006aa4910000e00e62c..."} 
[2026-08-28 23:39:58] local.INFO: Processing buffer {"connection_id":163889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0498de498012d34bdc006aa4910000e00e62c..."} 
[2026-08-28 23:39:58] local.INFO: Packet analysis {"connection_id":163889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0498d"} 
[2026-08-28 23:39:58] local.INFO: Extracted packet for processing {"connection_id":163889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0498d"} 
[2026-08-28 23:39:58] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111823120,"longitude_deg":75.8431168,"latitude_deg":11.182312,"altitude":14,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 23:39:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:39:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712673280001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:39:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:39:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429818368,"note":"Value kept but may cause issues"} 
[2026-08-28 23:39:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:39:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787940431000,"timestamp_ms":1787940431000,"timestamp_seconds":1787940431,"priority":1,"record_length":96,"hex_timestamp":"000001a0498de498"} 
[2026-08-28 23:39:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:39:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:39:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-28 23:39:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:39:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:39:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:39:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:39:58] local.INFO: Teltonika packet parsed successfully {"connection_id":163889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:39:58] local.INFO: Passing IMEI to GPS processor {"connection_id":163889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:39:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":163889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:39:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.209.167","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:39:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:39:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:39:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712673280001,"66":25212,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3800404795429818368},"client_ip":"117.224.209.167","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:39:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:39:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:39:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712673280001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:39:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:39:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:39: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-28 23:39:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429818368,"description":"Unknown IO ID 45"} 
[2026-08-28 23:39:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712673280001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800404795429818368}} 
[2026-08-28 23:39:58] local.INFO: DEBUG: GPS processor result {"connection_id":163889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:39:58] local.INFO: GPS data processed {"connection_id":163889,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:39:58] local.INFO: Acknowledgment sent {"connection_id":163889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:40:01] local.INFO: TCP Data received {"connection_id":164183,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164183,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:40:01] local.INFO: Processing buffer {"connection_id":164183,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:40:01] local.INFO: IMEI packet received {"connection_id":164183,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 23:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":164183,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:40:02] local.INFO: TCP Data received {"connection_id":164182,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0498b8b08012d196580071ff008003d013926..."} 
[2026-08-28 23:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0498b8b08012d196580071ff008003d013926..."} 
[2026-08-28 23:40:02] local.INFO: Processing buffer {"connection_id":164182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0498b8b08012d196580071ff008003d013926..."} 
[2026-08-28 23:40:02] local.INFO: Packet analysis {"connection_id":164182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0498b"} 
[2026-08-28 23:40:02] local.INFO: Extracted packet for processing {"connection_id":164182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0498b"} 
[2026-08-28 23:40:02] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712633856001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:40:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:40:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787940277000,"timestamp_ms":1787940277000,"timestamp_seconds":1787940277,"priority":1,"record_length":96,"hex_timestamp":"000001a0498b8b08"} 
[2026-08-28 23:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:40:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 23:40:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:40:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":164182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":164182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":164182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:40:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712633856001,"66":2144,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712633856001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:40:02] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:40:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:40:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712633856001,"power":2144,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":164182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711318,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:40:02] local.INFO: GPS data processed {"connection_id":164182,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:40:02] local.INFO: Acknowledgment sent {"connection_id":164182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:40:02] local.INFO: TCP Data received {"connection_id":164183,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0498c1b90012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0498c1b90012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:40:02] local.INFO: Processing buffer {"connection_id":164183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0498c1b90012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:40:02] local.INFO: Packet analysis {"connection_id":164183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0498c"} 
[2026-08-28 23:40:02] local.INFO: Extracted packet for processing {"connection_id":164183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0498c"} 
[2026-08-28 23:40:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712643328001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:40:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:40:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787940314000,"timestamp_ms":1787940314000,"timestamp_seconds":1787940314,"priority":1,"record_length":96,"hex_timestamp":"000001a0498c1b90"} 
[2026-08-28 23:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:40:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 23:40:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:40:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":164183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":164183,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":164183,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:40:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712643328001,"66":25267,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712643328001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:40:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:40:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:40:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712643328001,"power":25267,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":164183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711319,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:40:02] local.INFO: GPS data processed {"connection_id":164183,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:40:02] local.INFO: Acknowledgment sent {"connection_id":164183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:40:03] local.INFO: TCP Data received {"connection_id":163889,"ip":"117.224.209.167","data_length":795,"data_hex":"000000000000030f8e0a000001a0498de498012d34bdc006aa4910000e00e62c..."} 
[2026-08-28 23:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0498de498012d34bdc006aa4910000e00e62c..."} 
[2026-08-28 23:40:03] local.INFO: Processing buffer {"connection_id":163889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0498de498012d34bdc006aa4910000e00e62c..."} 
[2026-08-28 23:40:03] local.INFO: Packet analysis {"connection_id":163889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0498d"} 
[2026-08-28 23:40:03] local.INFO: Extracted packet for processing {"connection_id":163889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0498d"} 
[2026-08-28 23:40:03] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111823120,"longitude_deg":75.8431168,"latitude_deg":11.182312,"altitude":14,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 23:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712673280001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429818368,"note":"Value kept but may cause issues"} 
[2026-08-28 23:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787940431000,"timestamp_ms":1787940431000,"timestamp_seconds":1787940431,"priority":1,"record_length":96,"hex_timestamp":"000001a0498de498"} 
[2026-08-28 23:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:40:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-28 23:40:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:40:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.209.167","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712673280001,"66":25212,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3800404795429818368},"client_ip":"117.224.209.167","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712673280001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:40:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:40:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429818368,"description":"Unknown IO ID 45"} 
[2026-08-28 23:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712673280001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800404795429818368}} 
[2026-08-28 23:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":163889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:40:03] local.INFO: GPS data processed {"connection_id":163889,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:40:03] local.INFO: Acknowledgment sent {"connection_id":163889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:40:13] local.INFO: TCP Data received {"connection_id":163890,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163890,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:40:13] local.INFO: Processing buffer {"connection_id":163890,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:40:13] local.INFO: IMEI packet received {"connection_id":163890,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 23:40:13] local.INFO: IMEI acknowledgment sent {"connection_id":163890,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:40:15] local.INFO: TCP Data received {"connection_id":163890,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163890,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:40:15] local.INFO: Processing buffer {"connection_id":163890,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:40:15] local.INFO: IMEI packet received {"connection_id":163890,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 23:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":163890,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:40:19] local.INFO: TCP Data received {"connection_id":163890,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163890,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:40:19] local.INFO: Processing buffer {"connection_id":163890,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:40:19] local.INFO: IMEI packet received {"connection_id":163890,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 23:40:19] local.INFO: IMEI acknowledgment sent {"connection_id":163890,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:40:21] local.INFO: TCP Data received {"connection_id":163890,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0499022d0012d196580071ff008003d013926..."} 
[2026-08-28 23:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0499022d0012d196580071ff008003d013926..."} 
[2026-08-28 23:40:21] local.INFO: Processing buffer {"connection_id":163890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0499022d0012d196580071ff008003d013926..."} 
[2026-08-28 23:40:21] local.INFO: Packet analysis {"connection_id":163890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04990"} 
[2026-08-28 23:40:21] local.INFO: Extracted packet for processing {"connection_id":163890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04990"} 
[2026-08-28 23:40:21] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:40:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712710912001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:40:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:40:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:40:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:40:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787940578000,"timestamp_ms":1787940578000,"timestamp_seconds":1787940578,"priority":1,"record_length":96,"hex_timestamp":"000001a0499022d0"} 
[2026-08-28 23:40:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:40:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-28 23:40:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:40:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:40:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:40:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:40:21] local.INFO: Teltonika packet parsed successfully {"connection_id":163890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:40:21] local.INFO: Passing IMEI to GPS processor {"connection_id":163890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:40:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":163890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:40:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:40:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:40:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:40:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712710912001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:40:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:40:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:40:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712710912001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:40:21] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:40:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:40:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:40:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:40:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712710912001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:40:21] local.INFO: DEBUG: GPS processor result {"connection_id":163890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711321,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:40:21] local.INFO: GPS data processed {"connection_id":163890,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:40:21] local.INFO: Acknowledgment sent {"connection_id":163890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:40:33] local.INFO: TCP Data received {"connection_id":164183,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0498c1b90012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0498c1b90012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:40:33] local.INFO: Processing buffer {"connection_id":164183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0498c1b90012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:40:33] local.INFO: Packet analysis {"connection_id":164183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0498c"} 
[2026-08-28 23:40:33] local.INFO: Extracted packet for processing {"connection_id":164183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0498c"} 
[2026-08-28 23:40:33] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712643328001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787940314000,"timestamp_ms":1787940314000,"timestamp_seconds":1787940314,"priority":1,"record_length":96,"hex_timestamp":"000001a0498c1b90"} 
[2026-08-28 23:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:40:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 23:40:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:40:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":164183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":164183,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":164183,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712643328001,"66":25267,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712643328001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:40:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:40:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712643328001,"power":25267,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":164183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711322,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:40:33] local.INFO: GPS data processed {"connection_id":164183,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:40:33] local.INFO: Acknowledgment sent {"connection_id":164183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:40:47] local.INFO: TCP Data received {"connection_id":166523,"ip":"117.224.209.167","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:40:47] local.INFO: Processing buffer {"connection_id":166523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:40:47] local.INFO: IMEI packet received {"connection_id":166523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 23:40:47] local.INFO: IMEI acknowledgment sent {"connection_id":166523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:40:52] local.INFO: TCP Data received {"connection_id":166523,"ip":"117.224.209.167","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:40:52] local.INFO: Processing buffer {"connection_id":166523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:40:52] local.INFO: IMEI packet received {"connection_id":166523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 23:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":166523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:40:53] local.INFO: TCP Data received {"connection_id":163890,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0499022d0012d196580071ff008003d013926..."} 
[2026-08-28 23:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0499022d0012d196580071ff008003d013926..."} 
[2026-08-28 23:40:53] local.INFO: Processing buffer {"connection_id":163890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0499022d0012d196580071ff008003d013926..."} 
[2026-08-28 23:40:53] local.INFO: Packet analysis {"connection_id":163890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04990"} 
[2026-08-28 23:40:53] local.INFO: Extracted packet for processing {"connection_id":163890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04990"} 
[2026-08-28 23:40:53] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:40:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:40:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712710912001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:40:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:40:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:40:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:40:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787940578000,"timestamp_ms":1787940578000,"timestamp_seconds":1787940578,"priority":1,"record_length":96,"hex_timestamp":"000001a0499022d0"} 
[2026-08-28 23:40:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:40:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:40:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-28 23:40:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:40:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:40:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:40:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:40:53] local.INFO: Teltonika packet parsed successfully {"connection_id":163890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:40:53] local.INFO: Passing IMEI to GPS processor {"connection_id":163890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:40:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":163890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:40:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:40:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:40:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:40:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712710912001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:40:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:40:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:40:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712710912001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:40:53] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:40:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:40:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:40:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:40:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712710912001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:40:53] local.INFO: DEBUG: GPS processor result {"connection_id":163890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711323,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:40:53] local.INFO: GPS data processed {"connection_id":163890,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:40:53] local.INFO: Acknowledgment sent {"connection_id":163890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:40:53] local.INFO: TCP Data received {"connection_id":166523,"ip":"117.224.209.167","data_length":795,"data_hex":"000000000000030f8e0a000001a0498de498012d34bdc006aa4910000e00e62c..."} 
[2026-08-28 23:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0498de498012d34bdc006aa4910000e00e62c..."} 
[2026-08-28 23:40:53] local.INFO: Processing buffer {"connection_id":166523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0498de498012d34bdc006aa4910000e00e62c..."} 
[2026-08-28 23:40:53] local.INFO: Packet analysis {"connection_id":166523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0498d"} 
[2026-08-28 23:40:53] local.INFO: Extracted packet for processing {"connection_id":166523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0498d"} 
[2026-08-28 23:40:53] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111823120,"longitude_deg":75.8431168,"latitude_deg":11.182312,"altitude":14,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 23:40:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:40:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712673280001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:40:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:40:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429818368,"note":"Value kept but may cause issues"} 
[2026-08-28 23:40:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:40:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787940431000,"timestamp_ms":1787940431000,"timestamp_seconds":1787940431,"priority":1,"record_length":96,"hex_timestamp":"000001a0498de498"} 
[2026-08-28 23:40:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:40:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:40:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-28 23:40:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:40:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:40:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:40:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:40:53] local.INFO: Teltonika packet parsed successfully {"connection_id":166523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:40:53] local.INFO: Passing IMEI to GPS processor {"connection_id":166523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:40:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":166523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:40:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.209.167","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:40:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:40:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:40:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712673280001,"66":25212,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3800404795429818368},"client_ip":"117.224.209.167","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:40:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:40:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:40:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712673280001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:40:53] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:40:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23: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-28 23:40:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429818368,"description":"Unknown IO ID 45"} 
[2026-08-28 23:40:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712673280001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800404795429818368}} 
[2026-08-28 23:40:53] local.INFO: DEBUG: GPS processor result {"connection_id":166523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:40:53] local.INFO: GPS data processed {"connection_id":166523,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:40:53] local.INFO: Acknowledgment sent {"connection_id":166523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:40:55] local.INFO: TCP Data received {"connection_id":165164,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165164,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:40:55] local.INFO: Processing buffer {"connection_id":165164,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:40:55] local.INFO: IMEI packet received {"connection_id":165164,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 23:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":165164,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:41:01] local.INFO: TCP Data received {"connection_id":165164,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165164,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:41:01] local.INFO: Processing buffer {"connection_id":165164,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:41:01] local.INFO: IMEI packet received {"connection_id":165164,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 23:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":165164,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:41:02] local.INFO: TCP Data received {"connection_id":165164,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04990b358012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04990b358012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:41:02] local.INFO: Processing buffer {"connection_id":165164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04990b358012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:41:02] local.INFO: Packet analysis {"connection_id":165164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04990"} 
[2026-08-28 23:41:02] local.INFO: Extracted packet for processing {"connection_id":165164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04990"} 
[2026-08-28 23:41:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712720384001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:41:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:41:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787940615000,"timestamp_ms":1787940615000,"timestamp_seconds":1787940615,"priority":1,"record_length":96,"hex_timestamp":"000001a04990b358"} 
[2026-08-28 23:41:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:41:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 23:41:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:41:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:41:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":165164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":165164,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":165164,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:41:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712720384001,"66":25267,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712720384001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:41:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:41:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:41:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:41:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712720384001,"power":25267,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:41:02] 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":711325,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:41:02] local.INFO: GPS data processed {"connection_id":165164,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:41:02] local.INFO: Acknowledgment sent {"connection_id":165164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:41:13] local.INFO: TCP Data received {"connection_id":163891,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163891,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:41:13] local.INFO: Processing buffer {"connection_id":163891,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:41:13] local.INFO: IMEI packet received {"connection_id":163891,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 23:41:13] local.INFO: IMEI acknowledgment sent {"connection_id":163891,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:41:19] local.INFO: TCP Data received {"connection_id":163891,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163891,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:41:19] local.INFO: Processing buffer {"connection_id":163891,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:41:19] local.INFO: IMEI packet received {"connection_id":163891,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 23:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":163891,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:41:20] local.INFO: TCP Data received {"connection_id":163891,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0499022d0012d196580071ff008003d013926..."} 
[2026-08-28 23:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0499022d0012d196580071ff008003d013926..."} 
[2026-08-28 23:41:20] local.INFO: Processing buffer {"connection_id":163891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0499022d0012d196580071ff008003d013926..."} 
[2026-08-28 23:41:20] local.INFO: Packet analysis {"connection_id":163891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04990"} 
[2026-08-28 23:41:20] local.INFO: Extracted packet for processing {"connection_id":163891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04990"} 
[2026-08-28 23:41:20] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:41:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712710912001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:41:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:41:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:41:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:41:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787940578000,"timestamp_ms":1787940578000,"timestamp_seconds":1787940578,"priority":1,"record_length":96,"hex_timestamp":"000001a0499022d0"} 
[2026-08-28 23:41:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:41:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-28 23:41:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:41:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:41:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:41:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:41:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:41:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:41:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:41:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:41:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:41:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:41:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712710912001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:41:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:41:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:41:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712710912001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:41:20] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:41:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:41:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:41:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:41:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712710912001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:41:20] local.INFO: DEBUG: GPS processor result {"connection_id":163891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711326,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:41:20] local.INFO: GPS data processed {"connection_id":163891,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:41:20] local.INFO: Acknowledgment sent {"connection_id":163891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:41:26] local.INFO: TCP Data received {"connection_id":166523,"ip":"117.224.209.167","data_length":795,"data_hex":"000000000000030f8e0a000001a0498de498012d34bdc006aa4910000e00e62c..."} 
[2026-08-28 23:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0498de498012d34bdc006aa4910000e00e62c..."} 
[2026-08-28 23:41:26] local.INFO: Processing buffer {"connection_id":166523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0498de498012d34bdc006aa4910000e00e62c..."} 
[2026-08-28 23:41:26] local.INFO: Packet analysis {"connection_id":166523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0498d"} 
[2026-08-28 23:41:26] local.INFO: Extracted packet for processing {"connection_id":166523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0498d"} 
[2026-08-28 23:41:26] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111823120,"longitude_deg":75.8431168,"latitude_deg":11.182312,"altitude":14,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 23:41:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:41:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712673280001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:41:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:41:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429818368,"note":"Value kept but may cause issues"} 
[2026-08-28 23:41:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:41:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787940431000,"timestamp_ms":1787940431000,"timestamp_seconds":1787940431,"priority":1,"record_length":96,"hex_timestamp":"000001a0498de498"} 
[2026-08-28 23:41:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:41:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:41:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-28 23:41:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:41:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:41:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:41:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:41:26] local.INFO: Teltonika packet parsed successfully {"connection_id":166523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:41:26] local.INFO: Passing IMEI to GPS processor {"connection_id":166523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:41:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":166523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:41:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.209.167","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:41:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:41:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:41:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712673280001,"66":25212,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3800404795429818368},"client_ip":"117.224.209.167","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:41:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:41:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:41:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712673280001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:41:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:41:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:41:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:41:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429818368,"description":"Unknown IO ID 45"} 
[2026-08-28 23:41:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712673280001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800404795429818368}} 
[2026-08-28 23:41:26] local.INFO: DEBUG: GPS processor result {"connection_id":166523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:41:26] local.INFO: GPS data processed {"connection_id":166523,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:41:26] local.INFO: Acknowledgment sent {"connection_id":166523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:41:33] local.INFO: TCP Data received {"connection_id":165164,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04990b358012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04990b358012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:41:33] local.INFO: Processing buffer {"connection_id":165164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04990b358012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:41:33] local.INFO: Packet analysis {"connection_id":165164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04990"} 
[2026-08-28 23:41:33] local.INFO: Extracted packet for processing {"connection_id":165164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04990"} 
[2026-08-28 23:41:33] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712720384001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787940615000,"timestamp_ms":1787940615000,"timestamp_seconds":1787940615,"priority":1,"record_length":96,"hex_timestamp":"000001a04990b358"} 
[2026-08-28 23:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:41:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 23:41:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:41:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":165164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":165164,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":165164,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712720384001,"66":25267,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712720384001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:41:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:41:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712720384001,"power":25267,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:41:34] 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":711328,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:41:34] local.INFO: GPS data processed {"connection_id":165164,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:41:34] local.INFO: Acknowledgment sent {"connection_id":165164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:41:46] local.INFO: TCP Data received {"connection_id":164184,"ip":"117.224.209.167","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:41:46] local.INFO: Processing buffer {"connection_id":164184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:41:46] local.INFO: IMEI packet received {"connection_id":164184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 23:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":164184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:41:52] local.INFO: TCP Data received {"connection_id":164184,"ip":"117.224.209.167","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:41:52] local.INFO: Processing buffer {"connection_id":164184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:41:52] local.INFO: IMEI packet received {"connection_id":164184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 23:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":164184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:41:53] local.INFO: TCP Data received {"connection_id":164184,"ip":"117.224.209.167","data_length":795,"data_hex":"000000000000030f8e0a000001a0498de498012d34bdc006aa4910000e00e62c..."} 
[2026-08-28 23:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0498de498012d34bdc006aa4910000e00e62c..."} 
[2026-08-28 23:41:53] local.INFO: Processing buffer {"connection_id":164184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0498de498012d34bdc006aa4910000e00e62c..."} 
[2026-08-28 23:41:53] local.INFO: Packet analysis {"connection_id":164184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0498d"} 
[2026-08-28 23:41:53] local.INFO: Extracted packet for processing {"connection_id":164184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0498d"} 
[2026-08-28 23:41:53] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111823120,"longitude_deg":75.8431168,"latitude_deg":11.182312,"altitude":14,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 23: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-28 23:41:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712673280001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:41:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:41:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429818368,"note":"Value kept but may cause issues"} 
[2026-08-28 23:41:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:41:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787940431000,"timestamp_ms":1787940431000,"timestamp_seconds":1787940431,"priority":1,"record_length":96,"hex_timestamp":"000001a0498de498"} 
[2026-08-28 23: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-28 23:41:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23: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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-28 23:41:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23: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-28 23: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-28 23:41:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:41:53] local.INFO: Teltonika packet parsed successfully {"connection_id":164184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:41:53] local.INFO: Passing IMEI to GPS processor {"connection_id":164184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:41:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":164184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:41:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.209.167","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:41:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:41:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:41:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712673280001,"66":25212,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3800404795429818368},"client_ip":"117.224.209.167","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:41:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:41:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:41:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712673280001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:41:53] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:41:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23: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-28 23:41:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429818368,"description":"Unknown IO ID 45"} 
[2026-08-28 23:41:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712673280001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800404795429818368}} 
[2026-08-28 23:41:53] local.INFO: DEBUG: GPS processor result {"connection_id":164184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:41:53] local.INFO: GPS data processed {"connection_id":164184,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:41:53] local.INFO: Acknowledgment sent {"connection_id":164184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:41:55] local.INFO: TCP Data received {"connection_id":165165,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165165,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:41:55] local.INFO: Processing buffer {"connection_id":165165,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:41:55] local.INFO: IMEI packet received {"connection_id":165165,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 23:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":165165,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:41:57] local.INFO: TCP Data received {"connection_id":163891,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0499022d0012d196580071ff008003d013926..."} 
[2026-08-28 23:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0499022d0012d196580071ff008003d013926..."} 
[2026-08-28 23:41:57] local.INFO: Processing buffer {"connection_id":163891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0499022d0012d196580071ff008003d013926..."} 
[2026-08-28 23:41:57] local.INFO: Packet analysis {"connection_id":163891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04990"} 
[2026-08-28 23:41:57] local.INFO: Extracted packet for processing {"connection_id":163891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04990"} 
[2026-08-28 23:41:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:41:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:41:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712710912001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:41:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:41:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:41:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:41:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787940578000,"timestamp_ms":1787940578000,"timestamp_seconds":1787940578,"priority":1,"record_length":96,"hex_timestamp":"000001a0499022d0"} 
[2026-08-28 23:41:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:41:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:41:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-28 23:41:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:41:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:41:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:41:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:41:57] local.INFO: Teltonika packet parsed successfully {"connection_id":163891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:41:57] local.INFO: Passing IMEI to GPS processor {"connection_id":163891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:41:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":163891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:41:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:41:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:41:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:41:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712710912001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:41:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:41:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:41:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712710912001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:41:57] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:41:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:41:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:41:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:41:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712710912001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:41:57] local.INFO: DEBUG: GPS processor result {"connection_id":163891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711330,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:41:57] local.INFO: GPS data processed {"connection_id":163891,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:41:57] local.INFO: Acknowledgment sent {"connection_id":163891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:42:01] local.INFO: TCP Data received {"connection_id":165165,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165165,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:42:01] local.INFO: Processing buffer {"connection_id":165165,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:42:01] local.INFO: IMEI packet received {"connection_id":165165,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 23:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":165165,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:42:02] local.INFO: TCP Data received {"connection_id":165165,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04990b358012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04990b358012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:42:02] local.INFO: Processing buffer {"connection_id":165165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04990b358012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:42:02] local.INFO: Packet analysis {"connection_id":165165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04990"} 
[2026-08-28 23:42:02] local.INFO: Extracted packet for processing {"connection_id":165165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04990"} 
[2026-08-28 23:42:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:42:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712720384001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:42:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:42:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:42:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:42:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787940615000,"timestamp_ms":1787940615000,"timestamp_seconds":1787940615,"priority":1,"record_length":96,"hex_timestamp":"000001a04990b358"} 
[2026-08-28 23:42:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:42:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:42:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 23:42:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:42:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:42:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:42:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:42:02] local.INFO: Teltonika packet parsed successfully {"connection_id":165165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:42:02] local.INFO: Passing IMEI to GPS processor {"connection_id":165165,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:42:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":165165,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:42:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:42:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:42:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:42:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712720384001,"66":25267,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:42:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:42:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:42:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712720384001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:42:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:42:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:42:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:42:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:42:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712720384001,"power":25267,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:42:02] 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":711331,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:42:02] local.INFO: GPS data processed {"connection_id":165165,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:42:02] local.INFO: Acknowledgment sent {"connection_id":165165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:42:14] local.INFO: TCP Data received {"connection_id":166524,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166524,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:42:14] local.INFO: Processing buffer {"connection_id":166524,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:42:14] local.INFO: IMEI packet received {"connection_id":166524,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 23:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":166524,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:42:18] local.INFO: TCP Data received {"connection_id":166524,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166524,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:42:18] local.INFO: Processing buffer {"connection_id":166524,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:42:18] local.INFO: IMEI packet received {"connection_id":166524,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 23:42:18] local.INFO: IMEI acknowledgment sent {"connection_id":166524,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:42:20] local.INFO: TCP Data received {"connection_id":166524,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0499022d0012d196580071ff008003d013926..."} 
[2026-08-28 23:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0499022d0012d196580071ff008003d013926..."} 
[2026-08-28 23:42:20] local.INFO: Processing buffer {"connection_id":166524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0499022d0012d196580071ff008003d013926..."} 
[2026-08-28 23:42:20] local.INFO: Packet analysis {"connection_id":166524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04990"} 
[2026-08-28 23:42:20] local.INFO: Extracted packet for processing {"connection_id":166524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04990"} 
[2026-08-28 23:42:20] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23: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-28 23:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712710912001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:42:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:42:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787940578000,"timestamp_ms":1787940578000,"timestamp_seconds":1787940578,"priority":1,"record_length":96,"hex_timestamp":"000001a0499022d0"} 
[2026-08-28 23: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-28 23:42:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-28 23:42:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23: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-28 23: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-28 23:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":166524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":166524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":166524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:42:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712710912001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712710912001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:42:20] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:42:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:42:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:42:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712710912001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":166524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711332,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:42:20] local.INFO: GPS data processed {"connection_id":166524,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:42:20] local.INFO: Acknowledgment sent {"connection_id":166524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:42:25] local.INFO: TCP Data received {"connection_id":164184,"ip":"117.224.209.167","data_length":795,"data_hex":"000000000000030f8e0a000001a0498de498012d34bdc006aa4910000e00e62c..."} 
[2026-08-28 23:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0498de498012d34bdc006aa4910000e00e62c..."} 
[2026-08-28 23:42:25] local.INFO: Processing buffer {"connection_id":164184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0498de498012d34bdc006aa4910000e00e62c..."} 
[2026-08-28 23:42:25] local.INFO: Packet analysis {"connection_id":164184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0498d"} 
[2026-08-28 23:42:25] local.INFO: Extracted packet for processing {"connection_id":164184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0498d"} 
[2026-08-28 23:42:25] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111823120,"longitude_deg":75.8431168,"latitude_deg":11.182312,"altitude":14,"angle":230,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 23:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:42:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712673280001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:42:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:42:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429818368,"note":"Value kept but may cause issues"} 
[2026-08-28 23:42:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:42:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787940431000,"timestamp_ms":1787940431000,"timestamp_seconds":1787940431,"priority":1,"record_length":96,"hex_timestamp":"000001a0498de498"} 
[2026-08-28 23:42:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:42:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-28 23:42:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:42:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:42:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:42:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:42:25] local.INFO: Teltonika packet parsed successfully {"connection_id":164184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:42:25] local.INFO: Passing IMEI to GPS processor {"connection_id":164184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:42:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":164184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:42:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.209.167","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:42:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:42:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:42:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712673280001,"66":25212,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3800404795429818368},"client_ip":"117.224.209.167","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:42:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:42:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:42:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712673280001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:42:25] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:42:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:42: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-28 23:42:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429818368,"description":"Unknown IO ID 45"} 
[2026-08-28 23:42:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712673280001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800404795429818368}} 
[2026-08-28 23:42:25] local.INFO: DEBUG: GPS processor result {"connection_id":164184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:42:25] local.INFO: GPS data processed {"connection_id":164184,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:42:25] local.INFO: Acknowledgment sent {"connection_id":164184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:42:34] local.INFO: TCP Data received {"connection_id":165165,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04990b358012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04990b358012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:42:34] local.INFO: Processing buffer {"connection_id":165165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04990b358012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:42:34] local.INFO: Packet analysis {"connection_id":165165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04990"} 
[2026-08-28 23:42:34] local.INFO: Extracted packet for processing {"connection_id":165165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04990"} 
[2026-08-28 23:42:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:42:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:42:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712720384001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:42:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:42:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:42:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:42:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787940615000,"timestamp_ms":1787940615000,"timestamp_seconds":1787940615,"priority":1,"record_length":96,"hex_timestamp":"000001a04990b358"} 
[2026-08-28 23:42:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:42:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:42:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 23:42:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:42:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:42:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:42:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:42:34] local.INFO: Teltonika packet parsed successfully {"connection_id":165165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:42:34] local.INFO: Passing IMEI to GPS processor {"connection_id":165165,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:42:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":165165,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:42:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:42:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:42:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:42:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712720384001,"66":25267,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:42:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:42:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:42:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712720384001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:42:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:42:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:42:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:42:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:42:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712720384001,"power":25267,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:42:34] 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":711334,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:42:34] local.INFO: GPS data processed {"connection_id":165165,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:42:34] local.INFO: Acknowledgment sent {"connection_id":165165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:42:46] local.INFO: TCP Data received {"connection_id":165166,"ip":"117.224.209.167","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:42:46] local.INFO: Processing buffer {"connection_id":165166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:42:46] local.INFO: IMEI packet received {"connection_id":165166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 23:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":165166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:42:50] local.INFO: TCP Data received {"connection_id":165166,"ip":"117.224.209.167","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:42:50] local.INFO: Processing buffer {"connection_id":165166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:42:50] local.INFO: IMEI packet received {"connection_id":165166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 23:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":165166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:42:51] local.INFO: TCP Data received {"connection_id":165166,"ip":"117.224.209.167","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:42:51] local.INFO: Processing buffer {"connection_id":165166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:42:51] local.INFO: IMEI packet received {"connection_id":165166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 23:42:51] local.INFO: IMEI acknowledgment sent {"connection_id":165166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:42:52] local.INFO: TCP Data received {"connection_id":165166,"ip":"117.224.209.167","data_length":795,"data_hex":"000000000000030f8e0a000001a049927c60012d34bdc006aa4910000c00e629..."} 
[2026-08-28 23:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049927c60012d34bdc006aa4910000c00e629..."} 
[2026-08-28 23:42:52] local.INFO: Processing buffer {"connection_id":165166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049927c60012d34bdc006aa4910000c00e629..."} 
[2026-08-28 23:42:52] local.INFO: Packet analysis {"connection_id":165166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04992"} 
[2026-08-28 23:42:52] local.INFO: Extracted packet for processing {"connection_id":165166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04992"} 
[2026-08-28 23:42:52] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111823120,"longitude_deg":75.8431168,"latitude_deg":11.182312,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 23:42:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:42:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712750336001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:42:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:42:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429818368,"note":"Value kept but may cause issues"} 
[2026-08-28 23:42:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:42:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787940732000,"timestamp_ms":1787940732000,"timestamp_seconds":1787940732,"priority":1,"record_length":96,"hex_timestamp":"000001a049927c60"} 
[2026-08-28 23:42:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:42:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:42:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 23:42:52] 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-28 23:42:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:42:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:42:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:42:52] local.INFO: Teltonika packet parsed successfully {"connection_id":165166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:42:52] local.INFO: Passing IMEI to GPS processor {"connection_id":165166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:42:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":165166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:42:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.209.167","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:42:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:42:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:42:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712750336001,"66":25212,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3800404795429818368},"client_ip":"117.224.209.167","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:42:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:42:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:42:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712750336001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:42:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:42:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:42: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-28 23:42:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429818368,"description":"Unknown IO ID 45"} 
[2026-08-28 23:42:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712750336001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800404795429818368}} 
[2026-08-28 23:42:52] 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":711335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:42:52] local.INFO: GPS data processed {"connection_id":165166,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:42:52] local.INFO: Acknowledgment sent {"connection_id":165166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:42:54] local.INFO: TCP Data received {"connection_id":166524,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0499022d0012d196580071ff008003d013926..."} 
[2026-08-28 23:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0499022d0012d196580071ff008003d013926..."} 
[2026-08-28 23:42:54] local.INFO: Processing buffer {"connection_id":166524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0499022d0012d196580071ff008003d013926..."} 
[2026-08-28 23:42:54] local.INFO: Packet analysis {"connection_id":166524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04990"} 
[2026-08-28 23:42:54] local.INFO: Extracted packet for processing {"connection_id":166524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04990"} 
[2026-08-28 23:42:54] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23: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-28 23:42:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712710912001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:42:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:42:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:42:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:42:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787940578000,"timestamp_ms":1787940578000,"timestamp_seconds":1787940578,"priority":1,"record_length":96,"hex_timestamp":"000001a0499022d0"} 
[2026-08-28 23: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-28 23:42:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-28 23:42:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23: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-28 23: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-28 23:42:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:42:54] local.INFO: Teltonika packet parsed successfully {"connection_id":166524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:42:54] local.INFO: Passing IMEI to GPS processor {"connection_id":166524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:42:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":166524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:42:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:42:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:42:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:42:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712710912001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:42:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:42:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:42:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712710912001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:42:54] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:42:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:42:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:42:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:42:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712710912001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:42:54] local.INFO: DEBUG: GPS processor result {"connection_id":166524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711336,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:42:54] local.INFO: GPS data processed {"connection_id":166524,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:42:54] local.INFO: Acknowledgment sent {"connection_id":166524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:42:55] local.INFO: TCP Data received {"connection_id":164185,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164185,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:42:55] local.INFO: Processing buffer {"connection_id":164185,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:42:55] local.INFO: IMEI packet received {"connection_id":164185,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 23:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":164185,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:43:01] local.INFO: TCP Data received {"connection_id":164185,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164185,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:43:01] local.INFO: Processing buffer {"connection_id":164185,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:43:01] local.INFO: IMEI packet received {"connection_id":164185,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 23:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":164185,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:43:02] local.INFO: TCP Data received {"connection_id":164185,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04990b358012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04990b358012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:43:02] local.INFO: Processing buffer {"connection_id":164185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04990b358012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:43:02] local.INFO: Packet analysis {"connection_id":164185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04990"} 
[2026-08-28 23:43:02] local.INFO: Extracted packet for processing {"connection_id":164185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04990"} 
[2026-08-28 23:43:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712720384001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:43:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:43:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787940615000,"timestamp_ms":1787940615000,"timestamp_seconds":1787940615,"priority":1,"record_length":96,"hex_timestamp":"000001a04990b358"} 
[2026-08-28 23:43:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:43:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 23:43:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:43:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:43:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":164185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":164185,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":164185,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:43:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712720384001,"66":25267,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712720384001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:43:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:43:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:43:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712720384001,"power":25267,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:43:02] local.INFO: DEBUG: GPS processor result {"connection_id":164185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711337,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:43:02] local.INFO: GPS data processed {"connection_id":164185,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:43:02] local.INFO: Acknowledgment sent {"connection_id":164185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:43:19] local.INFO: TCP Data received {"connection_id":164186,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164186,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:43:19] local.INFO: Processing buffer {"connection_id":164186,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:43:19] local.INFO: IMEI packet received {"connection_id":164186,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 23:43:19] local.INFO: IMEI acknowledgment sent {"connection_id":164186,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:43:24] local.INFO: TCP Data received {"connection_id":164186,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164186,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:43:24] local.INFO: Processing buffer {"connection_id":164186,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:43:24] local.INFO: IMEI packet received {"connection_id":164186,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 23:43:24] local.INFO: IMEI acknowledgment sent {"connection_id":164186,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:43:24] local.INFO: TCP Data received {"connection_id":165166,"ip":"117.224.209.167","data_length":795,"data_hex":"000000000000030f8e0a000001a049927c60012d34bdc006aa4910000c00e629..."} 
[2026-08-28 23:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049927c60012d34bdc006aa4910000c00e629..."} 
[2026-08-28 23:43:24] local.INFO: Processing buffer {"connection_id":165166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049927c60012d34bdc006aa4910000c00e629..."} 
[2026-08-28 23:43:24] local.INFO: Packet analysis {"connection_id":165166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04992"} 
[2026-08-28 23:43:24] local.INFO: Extracted packet for processing {"connection_id":165166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04992"} 
[2026-08-28 23:43:24] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111823120,"longitude_deg":75.8431168,"latitude_deg":11.182312,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 23:43:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:43:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712750336001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:43:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:43:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429818368,"note":"Value kept but may cause issues"} 
[2026-08-28 23:43:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:43:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787940732000,"timestamp_ms":1787940732000,"timestamp_seconds":1787940732,"priority":1,"record_length":96,"hex_timestamp":"000001a049927c60"} 
[2026-08-28 23:43:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:43:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:43:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 23:43:24] 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-28 23:43:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:43:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:43:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:43:24] local.INFO: Teltonika packet parsed successfully {"connection_id":165166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:43:24] local.INFO: Passing IMEI to GPS processor {"connection_id":165166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:43:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":165166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:43:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.209.167","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:43:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:43:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:43:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712750336001,"66":25212,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3800404795429818368},"client_ip":"117.224.209.167","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:43:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:43:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:43:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712750336001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:43:24] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:43:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:43: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-28 23:43:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429818368,"description":"Unknown IO ID 45"} 
[2026-08-28 23:43:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712750336001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800404795429818368}} 
[2026-08-28 23:43:24] 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":711338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:43:24] local.INFO: GPS data processed {"connection_id":165166,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:43:24] local.INFO: Acknowledgment sent {"connection_id":165166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:43:26] local.INFO: TCP Data received {"connection_id":164186,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0499022d0012d196580071ff008003d013926..."} 
[2026-08-28 23:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0499022d0012d196580071ff008003d013926..."} 
[2026-08-28 23:43:26] local.INFO: Processing buffer {"connection_id":164186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0499022d0012d196580071ff008003d013926..."} 
[2026-08-28 23:43:26] local.INFO: Packet analysis {"connection_id":164186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04990"} 
[2026-08-28 23:43:26] local.INFO: Extracted packet for processing {"connection_id":164186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04990"} 
[2026-08-28 23:43:26] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:43:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712710912001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:43:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:43:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:43:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:43:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787940578000,"timestamp_ms":1787940578000,"timestamp_seconds":1787940578,"priority":1,"record_length":96,"hex_timestamp":"000001a0499022d0"} 
[2026-08-28 23:43:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:43:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-28 23:43:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:43:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:43:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:43:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:43:26] local.INFO: Teltonika packet parsed successfully {"connection_id":164186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:43:26] local.INFO: Passing IMEI to GPS processor {"connection_id":164186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:43:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":164186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:43:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:43:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:43:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:43:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712710912001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:43:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:43:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:43:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712710912001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:43:26] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:43:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:43:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:43:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:43:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712710912001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:43:26] local.INFO: DEBUG: GPS processor result {"connection_id":164186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711339,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:43:26] local.INFO: GPS data processed {"connection_id":164186,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:43:26] local.INFO: Acknowledgment sent {"connection_id":164186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:43:33] local.INFO: TCP Data received {"connection_id":164185,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04990b358012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04990b358012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:43:33] local.INFO: Processing buffer {"connection_id":164185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04990b358012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:43:33] local.INFO: Packet analysis {"connection_id":164185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04990"} 
[2026-08-28 23:43:33] local.INFO: Extracted packet for processing {"connection_id":164185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04990"} 
[2026-08-28 23:43:33] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712720384001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:43:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787940615000,"timestamp_ms":1787940615000,"timestamp_seconds":1787940615,"priority":1,"record_length":96,"hex_timestamp":"000001a04990b358"} 
[2026-08-28 23:43:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:43:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 23:43:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:43:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:43:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":164185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":164185,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":164185,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:43:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712720384001,"66":25267,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712720384001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:43:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:43:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712720384001,"power":25267,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":164185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711340,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:43:34] local.INFO: GPS data processed {"connection_id":164185,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:43:34] local.INFO: Acknowledgment sent {"connection_id":164185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:43:52] local.INFO: TCP Data received {"connection_id":163892,"ip":"117.224.209.167","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:43:52] local.INFO: Processing buffer {"connection_id":163892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:43:52] local.INFO: IMEI packet received {"connection_id":163892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 23:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":163892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:43:55] local.INFO: TCP Data received {"connection_id":165167,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165167,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:43:55] local.INFO: Processing buffer {"connection_id":165167,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:43:55] local.INFO: IMEI packet received {"connection_id":165167,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 23:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":165167,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:43:57] local.INFO: TCP Data received {"connection_id":163892,"ip":"117.224.209.167","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:43:57] local.INFO: Processing buffer {"connection_id":163892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:43:57] local.INFO: IMEI packet received {"connection_id":163892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 23:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":163892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:43:57] local.INFO: TCP Data received {"connection_id":164186,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0499022d0012d196580071ff008003d013926..."} 
[2026-08-28 23:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0499022d0012d196580071ff008003d013926..."} 
[2026-08-28 23:43:57] local.INFO: Processing buffer {"connection_id":164186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0499022d0012d196580071ff008003d013926..."} 
[2026-08-28 23:43:57] local.INFO: Packet analysis {"connection_id":164186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04990"} 
[2026-08-28 23:43:57] local.INFO: Extracted packet for processing {"connection_id":164186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04990"} 
[2026-08-28 23:43:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23: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-28 23:43:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712710912001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:43:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:43:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:43:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:43:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787940578000,"timestamp_ms":1787940578000,"timestamp_seconds":1787940578,"priority":1,"record_length":96,"hex_timestamp":"000001a0499022d0"} 
[2026-08-28 23: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-28 23:43:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-28 23:43:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23: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-28 23: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-28 23:43:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:43:57] local.INFO: Teltonika packet parsed successfully {"connection_id":164186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:43:57] local.INFO: Passing IMEI to GPS processor {"connection_id":164186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:43:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":164186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:43:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:43:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:43:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:43:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712710912001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:43:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:43:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:43:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712710912001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:43:57] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:43:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:43:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:43:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:43:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712710912001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:43:57] local.INFO: DEBUG: GPS processor result {"connection_id":164186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711341,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:43:57] local.INFO: GPS data processed {"connection_id":164186,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:43:57] local.INFO: Acknowledgment sent {"connection_id":164186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:43:58] local.INFO: TCP Data received {"connection_id":163892,"ip":"117.224.209.167","data_length":795,"data_hex":"000000000000030f8e0a000001a049927c60012d34bdc006aa4910000c00e629..."} 
[2026-08-28 23:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049927c60012d34bdc006aa4910000c00e629..."} 
[2026-08-28 23:43:58] local.INFO: Processing buffer {"connection_id":163892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049927c60012d34bdc006aa4910000c00e629..."} 
[2026-08-28 23:43:58] local.INFO: Packet analysis {"connection_id":163892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04992"} 
[2026-08-28 23:43:58] local.INFO: Extracted packet for processing {"connection_id":163892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04992"} 
[2026-08-28 23:43:58] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111823120,"longitude_deg":75.8431168,"latitude_deg":11.182312,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 23:43:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:43:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712750336001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:43:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:43:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429818368,"note":"Value kept but may cause issues"} 
[2026-08-28 23:43:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:43:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787940732000,"timestamp_ms":1787940732000,"timestamp_seconds":1787940732,"priority":1,"record_length":96,"hex_timestamp":"000001a049927c60"} 
[2026-08-28 23:43:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:43:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:43:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 23:43:58] 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-28 23:43:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:43:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:43:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:43:58] local.INFO: Teltonika packet parsed successfully {"connection_id":163892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:43:58] local.INFO: Passing IMEI to GPS processor {"connection_id":163892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:43:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":163892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:43:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.209.167","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:43:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:43:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:43:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712750336001,"66":25212,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3800404795429818368},"client_ip":"117.224.209.167","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:43:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:43:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:43:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712750336001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:43:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:43:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:43: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-28 23:43:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429818368,"description":"Unknown IO ID 45"} 
[2026-08-28 23:43:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712750336001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800404795429818368}} 
[2026-08-28 23:43:58] local.INFO: DEBUG: GPS processor result {"connection_id":163892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:43:58] local.INFO: GPS data processed {"connection_id":163892,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:43:58] local.INFO: Acknowledgment sent {"connection_id":163892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:44:01] local.INFO: TCP Data received {"connection_id":165167,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165167,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:44:01] local.INFO: Processing buffer {"connection_id":165167,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:44:01] local.INFO: IMEI packet received {"connection_id":165167,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 23:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":165167,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:44:02] local.INFO: TCP Data received {"connection_id":165167,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04990b358012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04990b358012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:44:02] local.INFO: Processing buffer {"connection_id":165167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04990b358012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:44:02] local.INFO: Packet analysis {"connection_id":165167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04990"} 
[2026-08-28 23:44:02] local.INFO: Extracted packet for processing {"connection_id":165167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04990"} 
[2026-08-28 23:44:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:44:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:44:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712720384001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:44:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:44:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:44:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:44:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787940615000,"timestamp_ms":1787940615000,"timestamp_seconds":1787940615,"priority":1,"record_length":96,"hex_timestamp":"000001a04990b358"} 
[2026-08-28 23:44:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:44:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:44:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 23:44:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:44:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:44:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:44:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:44:02] local.INFO: Teltonika packet parsed successfully {"connection_id":165167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:44:02] local.INFO: Passing IMEI to GPS processor {"connection_id":165167,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:44:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":165167,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:44:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:44:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:44:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:44:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712720384001,"66":25267,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:44:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:44:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:44:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712720384001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:44:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:44:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:44:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:44:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:44:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712720384001,"power":25267,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:44:02] local.INFO: DEBUG: GPS processor result {"connection_id":165167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711343,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:44:02] local.INFO: GPS data processed {"connection_id":165167,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:44:02] local.INFO: Acknowledgment sent {"connection_id":165167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:44:03] local.INFO: TCP Data received {"connection_id":163892,"ip":"117.224.209.167","data_length":795,"data_hex":"000000000000030f8e0a000001a049927c60012d34bdc006aa4910000c00e629..."} 
[2026-08-28 23:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049927c60012d34bdc006aa4910000c00e629..."} 
[2026-08-28 23:44:03] local.INFO: Processing buffer {"connection_id":163892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049927c60012d34bdc006aa4910000c00e629..."} 
[2026-08-28 23:44:03] local.INFO: Packet analysis {"connection_id":163892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04992"} 
[2026-08-28 23:44:03] local.INFO: Extracted packet for processing {"connection_id":163892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04992"} 
[2026-08-28 23:44:03] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111823120,"longitude_deg":75.8431168,"latitude_deg":11.182312,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 23:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712750336001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429818368,"note":"Value kept but may cause issues"} 
[2026-08-28 23:44:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787940732000,"timestamp_ms":1787940732000,"timestamp_seconds":1787940732,"priority":1,"record_length":96,"hex_timestamp":"000001a049927c60"} 
[2026-08-28 23:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:44:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 23:44:03] 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-28 23:44:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":163892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":163892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":163892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.209.167","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712750336001,"66":25212,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3800404795429818368},"client_ip":"117.224.209.167","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712750336001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:44:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:44:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429818368,"description":"Unknown IO ID 45"} 
[2026-08-28 23:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712750336001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800404795429818368}} 
[2026-08-28 23:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":163892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:44:03] local.INFO: GPS data processed {"connection_id":163892,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:44:03] local.INFO: Acknowledgment sent {"connection_id":163892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:44:14] local.INFO: TCP Data received {"connection_id":164187,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164187,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:44:14] local.INFO: Processing buffer {"connection_id":164187,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:44:14] local.INFO: IMEI packet received {"connection_id":164187,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 23:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":164187,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:44:19] local.INFO: TCP Data received {"connection_id":164187,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164187,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:44:19] local.INFO: Processing buffer {"connection_id":164187,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:44:19] local.INFO: IMEI packet received {"connection_id":164187,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 23:44:19] local.INFO: IMEI acknowledgment sent {"connection_id":164187,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:44:20] local.INFO: TCP Data received {"connection_id":164187,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0499022d0012d196580071ff008003d013926..."} 
[2026-08-28 23:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0499022d0012d196580071ff008003d013926..."} 
[2026-08-28 23:44:20] local.INFO: Processing buffer {"connection_id":164187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0499022d0012d196580071ff008003d013926..."} 
[2026-08-28 23:44:20] local.INFO: Packet analysis {"connection_id":164187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04990"} 
[2026-08-28 23:44:20] local.INFO: Extracted packet for processing {"connection_id":164187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04990"} 
[2026-08-28 23:44:20] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:44:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712710912001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:44:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:44:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:44:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:44:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787940578000,"timestamp_ms":1787940578000,"timestamp_seconds":1787940578,"priority":1,"record_length":96,"hex_timestamp":"000001a0499022d0"} 
[2026-08-28 23:44:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:44:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-28 23:44:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:44:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:44:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:44:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:44:20] local.INFO: Teltonika packet parsed successfully {"connection_id":164187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:44:20] local.INFO: Passing IMEI to GPS processor {"connection_id":164187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:44:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":164187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:44:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:44:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:44:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:44:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712710912001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:44:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:44:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:44:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712710912001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:44:20] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:44:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:44:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:44:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:44:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712710912001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:44:20] local.INFO: DEBUG: GPS processor result {"connection_id":164187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711345,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:44:20] local.INFO: GPS data processed {"connection_id":164187,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:44:20] local.INFO: Acknowledgment sent {"connection_id":164187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:44:34] local.INFO: TCP Data received {"connection_id":165167,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04990b358012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04990b358012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:44:34] local.INFO: Processing buffer {"connection_id":165167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04990b358012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:44:34] local.INFO: Packet analysis {"connection_id":165167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04990"} 
[2026-08-28 23:44:34] local.INFO: Extracted packet for processing {"connection_id":165167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04990"} 
[2026-08-28 23:44:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712720384001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:44:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:44:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787940615000,"timestamp_ms":1787940615000,"timestamp_seconds":1787940615,"priority":1,"record_length":96,"hex_timestamp":"000001a04990b358"} 
[2026-08-28 23:44:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:44:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 23:44:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:44:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:44:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":165167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":165167,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":165167,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:44:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712720384001,"66":25267,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712720384001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:44:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:44:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:44:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:44:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712720384001,"power":25267,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":165167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711346,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:44:34] local.INFO: GPS data processed {"connection_id":165167,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:44:34] local.INFO: Acknowledgment sent {"connection_id":165167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:44:47] local.INFO: TCP Data received {"connection_id":165168,"ip":"117.224.209.167","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:44:47] local.INFO: Processing buffer {"connection_id":165168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:44:47] local.INFO: IMEI packet received {"connection_id":165168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 23:44:47] local.INFO: IMEI acknowledgment sent {"connection_id":165168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:44:52] local.INFO: TCP Data received {"connection_id":165168,"ip":"117.224.209.167","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:44:52] local.INFO: Processing buffer {"connection_id":165168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:44:52] local.INFO: IMEI packet received {"connection_id":165168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 23:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":165168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:44:53] local.INFO: TCP Data received {"connection_id":165168,"ip":"117.224.209.167","data_length":795,"data_hex":"000000000000030f8e0a000001a049927c60012d34bdc006aa4910000c00e629..."} 
[2026-08-28 23:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049927c60012d34bdc006aa4910000c00e629..."} 
[2026-08-28 23:44:53] local.INFO: Processing buffer {"connection_id":165168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049927c60012d34bdc006aa4910000c00e629..."} 
[2026-08-28 23:44:53] local.INFO: Packet analysis {"connection_id":165168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04992"} 
[2026-08-28 23:44:53] local.INFO: Extracted packet for processing {"connection_id":165168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04992"} 
[2026-08-28 23:44:53] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111823120,"longitude_deg":75.8431168,"latitude_deg":11.182312,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 23:44:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:44:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712750336001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:44:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:44:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429818368,"note":"Value kept but may cause issues"} 
[2026-08-28 23:44:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:44:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787940732000,"timestamp_ms":1787940732000,"timestamp_seconds":1787940732,"priority":1,"record_length":96,"hex_timestamp":"000001a049927c60"} 
[2026-08-28 23:44:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:44:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:44:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 23:44:53] 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-28 23:44:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:44:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:44:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:44:53] local.INFO: Teltonika packet parsed successfully {"connection_id":165168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:44:53] local.INFO: Passing IMEI to GPS processor {"connection_id":165168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:44:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":165168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:44:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.209.167","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:44:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:44:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:44:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712750336001,"66":25212,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3800404795429818368},"client_ip":"117.224.209.167","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:44:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:44:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:44:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712750336001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:44:53] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:44:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23: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-28 23:44:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429818368,"description":"Unknown IO ID 45"} 
[2026-08-28 23:44:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712750336001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800404795429818368}} 
[2026-08-28 23:44:53] 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":711347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:44:53] local.INFO: GPS data processed {"connection_id":165168,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:44:53] local.INFO: Acknowledgment sent {"connection_id":165168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:44:55] local.INFO: TCP Data received {"connection_id":164187,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0499022d0012d196580071ff008003d013926..."} 
[2026-08-28 23:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0499022d0012d196580071ff008003d013926..."} 
[2026-08-28 23:44:55] local.INFO: Processing buffer {"connection_id":164187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0499022d0012d196580071ff008003d013926..."} 
[2026-08-28 23:44:55] local.INFO: Packet analysis {"connection_id":164187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04990"} 
[2026-08-28 23:44:55] local.INFO: Extracted packet for processing {"connection_id":164187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04990"} 
[2026-08-28 23:44:55] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:44:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712710912001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:44:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:44:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:44:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:44:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787940578000,"timestamp_ms":1787940578000,"timestamp_seconds":1787940578,"priority":1,"record_length":96,"hex_timestamp":"000001a0499022d0"} 
[2026-08-28 23:44:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:44:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-28 23:44:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:44:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:44:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:44:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:44:55] local.INFO: Teltonika packet parsed successfully {"connection_id":164187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:44:55] local.INFO: Passing IMEI to GPS processor {"connection_id":164187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:44:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":164187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:44:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:44:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:44:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:44:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712710912001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:44:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:44:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:44:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712710912001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:44:55] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:44:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:44:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:44:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:44:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712710912001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:44:55] local.INFO: DEBUG: GPS processor result {"connection_id":164187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711348,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:44:55] local.INFO: GPS data processed {"connection_id":164187,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:44:55] local.INFO: Acknowledgment sent {"connection_id":164187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:44:55] local.INFO: TCP Data received {"connection_id":166525,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166525,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:44:55] local.INFO: Processing buffer {"connection_id":166525,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:44:55] local.INFO: IMEI packet received {"connection_id":166525,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 23:44:55] local.INFO: IMEI acknowledgment sent {"connection_id":166525,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:45:01] local.INFO: TCP Data received {"connection_id":166525,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166525,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:45:01] local.INFO: Processing buffer {"connection_id":166525,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:45:01] local.INFO: IMEI packet received {"connection_id":166525,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 23:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":166525,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:45:02] local.INFO: TCP Data received {"connection_id":166525,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04990b358012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04990b358012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:45:02] local.INFO: Processing buffer {"connection_id":166525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04990b358012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:45:02] local.INFO: Packet analysis {"connection_id":166525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04990"} 
[2026-08-28 23:45:02] local.INFO: Extracted packet for processing {"connection_id":166525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04990"} 
[2026-08-28 23:45:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23: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-28 23:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712720384001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:45:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:45:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787940615000,"timestamp_ms":1787940615000,"timestamp_seconds":1787940615,"priority":1,"record_length":96,"hex_timestamp":"000001a04990b358"} 
[2026-08-28 23: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-28 23:45:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 23:45:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23: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-28 23: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-28 23:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":166525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":166525,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":166525,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:45:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712720384001,"66":25267,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712720384001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:45:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:45:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:45:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:45:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:45:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712720384001,"power":25267,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:45:02] local.INFO: DEBUG: GPS processor result {"connection_id":166525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711349,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:45:02] local.INFO: GPS data processed {"connection_id":166525,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:45:02] local.INFO: Acknowledgment sent {"connection_id":166525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:45:13] local.INFO: TCP Data received {"connection_id":164188,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164188,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:45:13] local.INFO: Processing buffer {"connection_id":164188,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:45:13] local.INFO: IMEI packet received {"connection_id":164188,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 23:45:13] local.INFO: IMEI acknowledgment sent {"connection_id":164188,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:45:17] local.INFO: TCP Data received {"connection_id":164188,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164188,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:45:17] local.INFO: Processing buffer {"connection_id":164188,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:45:17] local.INFO: IMEI packet received {"connection_id":164188,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 23:45:17] local.INFO: IMEI acknowledgment sent {"connection_id":164188,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:45:18] local.INFO: TCP Data received {"connection_id":164188,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a04994ba98012d196580071ff008003d013923..."} 
[2026-08-28 23:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04994ba98012d196580071ff008003d013923..."} 
[2026-08-28 23:45:18] local.INFO: Processing buffer {"connection_id":164188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04994ba98012d196580071ff008003d013923..."} 
[2026-08-28 23:45:18] local.INFO: Packet analysis {"connection_id":164188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04994"} 
[2026-08-28 23:45:18] local.INFO: Extracted packet for processing {"connection_id":164188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04994"} 
[2026-08-28 23:45:18] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:45:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712787968001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:45:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:45:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:45:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:45:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787940879000,"timestamp_ms":1787940879000,"timestamp_seconds":1787940879,"priority":1,"record_length":96,"hex_timestamp":"000001a04994ba98"} 
[2026-08-28 23:45:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:45:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 23:45:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:45:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:45:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:45:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:45:18] local.INFO: Teltonika packet parsed successfully {"connection_id":164188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:45:18] local.INFO: Passing IMEI to GPS processor {"connection_id":164188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:45:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":164188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:45:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:45:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:45:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:45:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712787968001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:45:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:45:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:45:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712787968001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:45:18] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:45:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:45:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:45:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:45:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712787968001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:45:18] local.INFO: DEBUG: GPS processor result {"connection_id":164188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711350,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:45:18] local.INFO: GPS data processed {"connection_id":164188,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:45:18] local.INFO: Acknowledgment sent {"connection_id":164188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:45:24] local.INFO: TCP Data received {"connection_id":165168,"ip":"117.224.209.167","data_length":795,"data_hex":"000000000000030f8e0a000001a049927c60012d34bdc006aa4910000c00e629..."} 
[2026-08-28 23:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049927c60012d34bdc006aa4910000c00e629..."} 
[2026-08-28 23:45:24] local.INFO: Processing buffer {"connection_id":165168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049927c60012d34bdc006aa4910000c00e629..."} 
[2026-08-28 23:45:24] local.INFO: Packet analysis {"connection_id":165168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04992"} 
[2026-08-28 23:45:24] local.INFO: Extracted packet for processing {"connection_id":165168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04992"} 
[2026-08-28 23:45:24] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111823120,"longitude_deg":75.8431168,"latitude_deg":11.182312,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 23:45:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:45:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712750336001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:45:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:45:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429818368,"note":"Value kept but may cause issues"} 
[2026-08-28 23:45:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:45:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787940732000,"timestamp_ms":1787940732000,"timestamp_seconds":1787940732,"priority":1,"record_length":96,"hex_timestamp":"000001a049927c60"} 
[2026-08-28 23:45:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:45:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:45:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 23:45:24] 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-28 23:45:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:45:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:45:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:45:24] local.INFO: Teltonika packet parsed successfully {"connection_id":165168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:45:24] local.INFO: Passing IMEI to GPS processor {"connection_id":165168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:45:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":165168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:45:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.209.167","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:45:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:45:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:45:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712750336001,"66":25212,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3800404795429818368},"client_ip":"117.224.209.167","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:45:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:45:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:45:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712750336001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:45:24] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:45:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:45: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-28 23:45:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429818368,"description":"Unknown IO ID 45"} 
[2026-08-28 23:45:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712750336001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800404795429818368}} 
[2026-08-28 23:45:24] 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":711351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:45:24] local.INFO: GPS data processed {"connection_id":165168,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:45:24] local.INFO: Acknowledgment sent {"connection_id":165168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:45:33] local.INFO: TCP Data received {"connection_id":166525,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04990b358012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04990b358012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:45:33] local.INFO: Processing buffer {"connection_id":166525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04990b358012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:45:33] local.INFO: Packet analysis {"connection_id":166525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04990"} 
[2026-08-28 23:45:33] local.INFO: Extracted packet for processing {"connection_id":166525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04990"} 
[2026-08-28 23:45:33] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712720384001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:45:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787940615000,"timestamp_ms":1787940615000,"timestamp_seconds":1787940615,"priority":1,"record_length":96,"hex_timestamp":"000001a04990b358"} 
[2026-08-28 23:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:45:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 23:45:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:45:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":166525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":166525,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":166525,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712720384001,"66":25267,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712720384001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:45:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:45:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712720384001,"power":25267,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:45:34] local.INFO: DEBUG: GPS processor result {"connection_id":166525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711352,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:45:34] local.INFO: GPS data processed {"connection_id":166525,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:45:34] local.INFO: Acknowledgment sent {"connection_id":166525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:45:46] local.INFO: TCP Data received {"connection_id":166526,"ip":"117.224.209.167","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:45:46] local.INFO: Processing buffer {"connection_id":166526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:45:46] local.INFO: IMEI packet received {"connection_id":166526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 23:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":166526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:45:50] local.INFO: TCP Data received {"connection_id":164188,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a04994ba98012d196580071ff008003d013923..."} 
[2026-08-28 23:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04994ba98012d196580071ff008003d013923..."} 
[2026-08-28 23:45:50] local.INFO: Processing buffer {"connection_id":164188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04994ba98012d196580071ff008003d013923..."} 
[2026-08-28 23:45:50] local.INFO: Packet analysis {"connection_id":164188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04994"} 
[2026-08-28 23:45:50] local.INFO: Extracted packet for processing {"connection_id":164188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04994"} 
[2026-08-28 23:45:50] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:45:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:45:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712787968001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:45:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:45:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:45:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:45:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787940879000,"timestamp_ms":1787940879000,"timestamp_seconds":1787940879,"priority":1,"record_length":96,"hex_timestamp":"000001a04994ba98"} 
[2026-08-28 23:45:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:45:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:45:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 23:45:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:45:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:45:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:45:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:45:50] local.INFO: Teltonika packet parsed successfully {"connection_id":164188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:45:50] local.INFO: Passing IMEI to GPS processor {"connection_id":164188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:45:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":164188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:45:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:45:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:45:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:45:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712787968001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:45:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:45:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:45:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712787968001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:45:50] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:45:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:45:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:45:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:45:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712787968001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:45:50] local.INFO: DEBUG: GPS processor result {"connection_id":164188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711353,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:45:50] local.INFO: GPS data processed {"connection_id":164188,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:45:50] local.INFO: Acknowledgment sent {"connection_id":164188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:45:52] local.INFO: TCP Data received {"connection_id":166526,"ip":"117.224.209.167","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:45:52] local.INFO: Processing buffer {"connection_id":166526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:45:52] local.INFO: IMEI packet received {"connection_id":166526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 23:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":166526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:45:53] local.INFO: TCP Data received {"connection_id":166526,"ip":"117.224.209.167","data_length":795,"data_hex":"000000000000030f8e0a000001a049927c60012d34bdc006aa4910000c00e629..."} 
[2026-08-28 23:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049927c60012d34bdc006aa4910000c00e629..."} 
[2026-08-28 23:45:53] local.INFO: Processing buffer {"connection_id":166526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049927c60012d34bdc006aa4910000c00e629..."} 
[2026-08-28 23:45:53] local.INFO: Packet analysis {"connection_id":166526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04992"} 
[2026-08-28 23:45:53] local.INFO: Extracted packet for processing {"connection_id":166526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04992"} 
[2026-08-28 23:45:53] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111823120,"longitude_deg":75.8431168,"latitude_deg":11.182312,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 23: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-28 23:45:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712750336001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:45:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:45:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429818368,"note":"Value kept but may cause issues"} 
[2026-08-28 23:45:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:45:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787940732000,"timestamp_ms":1787940732000,"timestamp_seconds":1787940732,"priority":1,"record_length":96,"hex_timestamp":"000001a049927c60"} 
[2026-08-28 23: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-28 23:45:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 23:45:53] 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-28 23: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-28 23: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-28 23:45:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:45:53] local.INFO: Teltonika packet parsed successfully {"connection_id":166526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:45:53] local.INFO: Passing IMEI to GPS processor {"connection_id":166526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:45:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":166526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:45:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.209.167","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:45:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:45:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:45:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712750336001,"66":25212,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3800404795429818368},"client_ip":"117.224.209.167","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:45:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:45:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:45:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712750336001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:45:53] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:45:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23: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-28 23:45:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429818368,"description":"Unknown IO ID 45"} 
[2026-08-28 23:45:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712750336001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800404795429818368}} 
[2026-08-28 23:45:53] local.INFO: DEBUG: GPS processor result {"connection_id":166526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:45:53] local.INFO: GPS data processed {"connection_id":166526,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:45:53] local.INFO: Acknowledgment sent {"connection_id":166526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:46:01] local.INFO: TCP Data received {"connection_id":164189,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164189,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:46:01] local.INFO: Processing buffer {"connection_id":164189,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:46:01] local.INFO: IMEI packet received {"connection_id":164189,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 23:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":164189,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:46:06] local.INFO: TCP Data received {"connection_id":164189,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164189,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:46:06] local.INFO: Processing buffer {"connection_id":164189,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:46:06] local.INFO: IMEI packet received {"connection_id":164189,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 23:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":164189,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:46:07] local.INFO: TCP Data received {"connection_id":164189,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049954b20012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049954b20012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:46:07] local.INFO: Processing buffer {"connection_id":164189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049954b20012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:46:07] local.INFO: Packet analysis {"connection_id":164189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04995"} 
[2026-08-28 23:46:07] local.INFO: Extracted packet for processing {"connection_id":164189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04995"} 
[2026-08-28 23:46:07] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23: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-28 23:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712797440001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:46:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:46:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787940916000,"timestamp_ms":1787940916000,"timestamp_seconds":1787940916,"priority":1,"record_length":96,"hex_timestamp":"000001a049954b20"} 
[2026-08-28 23: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-28 23:46:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 23:46:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:46:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23: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-28 23:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":164189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":164189,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":164189,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:46:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:46:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712797440001,"66":25201,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:46:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:46:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:46:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712797440001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:46:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:46:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:46:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:46:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:46:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712797440001,"power":25201,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":164189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711355,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:46:07] local.INFO: GPS data processed {"connection_id":164189,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:46:07] local.INFO: Acknowledgment sent {"connection_id":164189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:46:12] local.INFO: TCP Data received {"connection_id":164189,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049954b20012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049954b20012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:46:12] local.INFO: Processing buffer {"connection_id":164189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049954b20012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:46:12] local.INFO: Packet analysis {"connection_id":164189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04995"} 
[2026-08-28 23:46:12] local.INFO: Extracted packet for processing {"connection_id":164189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04995"} 
[2026-08-28 23:46:12] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:46:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712797440001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:46:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:46:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:46:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:46:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787940916000,"timestamp_ms":1787940916000,"timestamp_seconds":1787940916,"priority":1,"record_length":96,"hex_timestamp":"000001a049954b20"} 
[2026-08-28 23:46:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:46:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 23:46:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:46:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:46:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:46:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:46:12] local.INFO: Teltonika packet parsed successfully {"connection_id":164189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:46:12] local.INFO: Passing IMEI to GPS processor {"connection_id":164189,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:46:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":164189,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:46:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:46:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:46:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:46:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712797440001,"66":25201,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:46:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:46:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:46:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712797440001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:46:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:46:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:46:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:46:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:46:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712797440001,"power":25201,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:46:12] local.INFO: DEBUG: GPS processor result {"connection_id":164189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711356,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:46:12] local.INFO: GPS data processed {"connection_id":164189,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:46:12] local.INFO: Acknowledgment sent {"connection_id":164189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:46:19] local.INFO: TCP Data received {"connection_id":164190,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164190,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:46:19] local.INFO: Processing buffer {"connection_id":164190,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:46:19] local.INFO: IMEI packet received {"connection_id":164190,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 23:46:19] local.INFO: IMEI acknowledgment sent {"connection_id":164190,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:46:24] local.INFO: TCP Data received {"connection_id":164190,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164190,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:46:24] local.INFO: Processing buffer {"connection_id":164190,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:46:24] local.INFO: IMEI packet received {"connection_id":164190,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 23:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":164190,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:46:25] local.INFO: TCP Data received {"connection_id":166526,"ip":"117.224.209.167","data_length":795,"data_hex":"000000000000030f8e0a000001a049927c60012d34bdc006aa4910000c00e629..."} 
[2026-08-28 23:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049927c60012d34bdc006aa4910000c00e629..."} 
[2026-08-28 23:46:25] local.INFO: Processing buffer {"connection_id":166526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049927c60012d34bdc006aa4910000c00e629..."} 
[2026-08-28 23:46:25] local.INFO: Packet analysis {"connection_id":166526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04992"} 
[2026-08-28 23:46:25] local.INFO: Extracted packet for processing {"connection_id":166526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04992"} 
[2026-08-28 23:46:25] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111823120,"longitude_deg":75.8431168,"latitude_deg":11.182312,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 23:46:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:46:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712750336001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:46:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:46:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429818368,"note":"Value kept but may cause issues"} 
[2026-08-28 23:46:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:46:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787940732000,"timestamp_ms":1787940732000,"timestamp_seconds":1787940732,"priority":1,"record_length":96,"hex_timestamp":"000001a049927c60"} 
[2026-08-28 23:46:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:46:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:46:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 23:46:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:46:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:46:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:46:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:46:25] local.INFO: Teltonika packet parsed successfully {"connection_id":166526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:46:25] local.INFO: Passing IMEI to GPS processor {"connection_id":166526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:46:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":166526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:46:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.209.167","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:46:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:46:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:46:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712750336001,"66":25212,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3800404795429818368},"client_ip":"117.224.209.167","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:46:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:46:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:46:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712750336001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:46:25] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:46:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:46: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-28 23:46:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429818368,"description":"Unknown IO ID 45"} 
[2026-08-28 23:46:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712750336001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800404795429818368}} 
[2026-08-28 23:46:25] local.INFO: DEBUG: GPS processor result {"connection_id":166526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:46:25] local.INFO: GPS data processed {"connection_id":166526,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:46:25] local.INFO: Acknowledgment sent {"connection_id":166526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:46:25] local.INFO: TCP Data received {"connection_id":164190,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a04994ba98012d196580071ff008003d013923..."} 
[2026-08-28 23:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04994ba98012d196580071ff008003d013923..."} 
[2026-08-28 23:46:25] local.INFO: Processing buffer {"connection_id":164190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04994ba98012d196580071ff008003d013923..."} 
[2026-08-28 23:46:25] local.INFO: Packet analysis {"connection_id":164190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04994"} 
[2026-08-28 23:46:25] local.INFO: Extracted packet for processing {"connection_id":164190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04994"} 
[2026-08-28 23:46:25] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:46:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:46:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712787968001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:46:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:46:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:46:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:46:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787940879000,"timestamp_ms":1787940879000,"timestamp_seconds":1787940879,"priority":1,"record_length":96,"hex_timestamp":"000001a04994ba98"} 
[2026-08-28 23:46:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:46:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:46:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 23:46:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:46:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:46:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:46:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:46:25] local.INFO: Teltonika packet parsed successfully {"connection_id":164190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:46:25] local.INFO: Passing IMEI to GPS processor {"connection_id":164190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:46:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":164190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:46:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:46:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:46:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:46:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712787968001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:46:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:46:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:46:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712787968001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:46:25] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:46:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:46:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:46:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:46:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712787968001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:46:25] local.INFO: DEBUG: GPS processor result {"connection_id":164190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711358,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:46:25] local.INFO: GPS data processed {"connection_id":164190,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:46:25] local.INFO: Acknowledgment sent {"connection_id":164190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:46:30] local.INFO: TCP Data received {"connection_id":164190,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a04994ba98012d196580071ff008003d013923..."} 
[2026-08-28 23:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04994ba98012d196580071ff008003d013923..."} 
[2026-08-28 23:46:30] local.INFO: Processing buffer {"connection_id":164190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04994ba98012d196580071ff008003d013923..."} 
[2026-08-28 23:46:30] local.INFO: Packet analysis {"connection_id":164190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04994"} 
[2026-08-28 23:46:30] local.INFO: Extracted packet for processing {"connection_id":164190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04994"} 
[2026-08-28 23:46:30] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712787968001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:46:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:46:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787940879000,"timestamp_ms":1787940879000,"timestamp_seconds":1787940879,"priority":1,"record_length":96,"hex_timestamp":"000001a04994ba98"} 
[2026-08-28 23:46:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:46:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 23:46:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:46:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:46:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":164190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":164190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":164190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:46:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712787968001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712787968001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:46:30] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:46:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:46:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712787968001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":164190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711359,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:46:30] local.INFO: GPS data processed {"connection_id":164190,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:46:30] local.INFO: Acknowledgment sent {"connection_id":164190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:46:46] local.INFO: TCP Data received {"connection_id":163893,"ip":"117.224.209.167","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:46:46] local.INFO: Processing buffer {"connection_id":163893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:46:46] local.INFO: IMEI packet received {"connection_id":163893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 23:46:46] local.INFO: IMEI acknowledgment sent {"connection_id":163893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:46:52] local.INFO: TCP Data received {"connection_id":163893,"ip":"117.224.209.167","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:46:52] local.INFO: Processing buffer {"connection_id":163893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:46:52] local.INFO: IMEI packet received {"connection_id":163893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 23:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":163893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:46:53] local.INFO: TCP Data received {"connection_id":163893,"ip":"117.224.209.167","data_length":795,"data_hex":"000000000000030f8e0a000001a049927c60012d34bdc006aa4910000c00e629..."} 
[2026-08-28 23:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049927c60012d34bdc006aa4910000c00e629..."} 
[2026-08-28 23:46:53] local.INFO: Processing buffer {"connection_id":163893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049927c60012d34bdc006aa4910000c00e629..."} 
[2026-08-28 23:46:53] local.INFO: Packet analysis {"connection_id":163893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04992"} 
[2026-08-28 23:46:53] local.INFO: Extracted packet for processing {"connection_id":163893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04992"} 
[2026-08-28 23:46:53] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111823120,"longitude_deg":75.8431168,"latitude_deg":11.182312,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 23:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:46:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712750336001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:46:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:46:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429818368,"note":"Value kept but may cause issues"} 
[2026-08-28 23:46:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:46:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787940732000,"timestamp_ms":1787940732000,"timestamp_seconds":1787940732,"priority":1,"record_length":96,"hex_timestamp":"000001a049927c60"} 
[2026-08-28 23:46:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:46:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 23:46:53] 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-28 23:46:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:46:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:46:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:46:53] local.INFO: Teltonika packet parsed successfully {"connection_id":163893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:46:53] local.INFO: Passing IMEI to GPS processor {"connection_id":163893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:46:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":163893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:46:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.209.167","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:46:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:46:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:46:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712750336001,"66":25212,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3800404795429818368},"client_ip":"117.224.209.167","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:46:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:46:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:46:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712750336001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:46:53] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:46:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23: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-28 23:46:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429818368,"description":"Unknown IO ID 45"} 
[2026-08-28 23:46:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712750336001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800404795429818368}} 
[2026-08-28 23:46:53] local.INFO: DEBUG: GPS processor result {"connection_id":163893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:46:53] local.INFO: GPS data processed {"connection_id":163893,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:46:53] local.INFO: Acknowledgment sent {"connection_id":163893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:46:55] local.INFO: TCP Data received {"connection_id":163894,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163894,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:46:55] local.INFO: Processing buffer {"connection_id":163894,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:46:55] local.INFO: IMEI packet received {"connection_id":163894,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 23:46:55] local.INFO: IMEI acknowledgment sent {"connection_id":163894,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:47:01] local.INFO: TCP Data received {"connection_id":163894,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163894,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:47:01] local.INFO: Processing buffer {"connection_id":163894,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:47:01] local.INFO: IMEI packet received {"connection_id":163894,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 23:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":163894,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:47:02] local.INFO: TCP Data received {"connection_id":163894,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049954b20012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049954b20012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:47:02] local.INFO: Processing buffer {"connection_id":163894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049954b20012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:47:02] local.INFO: Packet analysis {"connection_id":163894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04995"} 
[2026-08-28 23:47:02] local.INFO: Extracted packet for processing {"connection_id":163894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04995"} 
[2026-08-28 23:47:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:47:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:47:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712797440001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:47:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:47:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:47:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:47:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787940916000,"timestamp_ms":1787940916000,"timestamp_seconds":1787940916,"priority":1,"record_length":96,"hex_timestamp":"000001a049954b20"} 
[2026-08-28 23:47:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:47:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:47:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 23:47:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:47:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:47:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:47:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:47:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:47:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163894,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:47:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163894,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:47:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:47:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:47:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:47:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712797440001,"66":25201,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:47:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:47:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:47:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712797440001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:47:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:47:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:47:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:47:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:47:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712797440001,"power":25201,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:47:02] local.INFO: DEBUG: GPS processor result {"connection_id":163894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711361,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:47:02] local.INFO: GPS data processed {"connection_id":163894,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:47:02] local.INFO: Acknowledgment sent {"connection_id":163894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:47:14] local.INFO: TCP Data received {"connection_id":165169,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165169,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:47:14] local.INFO: Processing buffer {"connection_id":165169,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:47:14] local.INFO: IMEI packet received {"connection_id":165169,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 23:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":165169,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:47:19] local.INFO: TCP Data received {"connection_id":165169,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165169,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:47:19] local.INFO: Processing buffer {"connection_id":165169,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:47:19] local.INFO: IMEI packet received {"connection_id":165169,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 23:47:19] local.INFO: IMEI acknowledgment sent {"connection_id":165169,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:47:21] local.INFO: TCP Data received {"connection_id":165169,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a04994ba98012d196580071ff008003d013923..."} 
[2026-08-28 23:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04994ba98012d196580071ff008003d013923..."} 
[2026-08-28 23:47:21] local.INFO: Processing buffer {"connection_id":165169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04994ba98012d196580071ff008003d013923..."} 
[2026-08-28 23:47:21] local.INFO: Packet analysis {"connection_id":165169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04994"} 
[2026-08-28 23:47:21] local.INFO: Extracted packet for processing {"connection_id":165169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04994"} 
[2026-08-28 23:47:21] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23: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-28 23:47:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712787968001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:47:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:47:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:47:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:47:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787940879000,"timestamp_ms":1787940879000,"timestamp_seconds":1787940879,"priority":1,"record_length":96,"hex_timestamp":"000001a04994ba98"} 
[2026-08-28 23: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-28 23:47:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 23:47:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23: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-28 23: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-28 23:47:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:47:21] local.INFO: Teltonika packet parsed successfully {"connection_id":165169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:47:21] local.INFO: Passing IMEI to GPS processor {"connection_id":165169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:47:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":165169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:47:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:47:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:47:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:47:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712787968001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:47:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:47:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:47:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712787968001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:47:21] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:47:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:47:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:47:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:47:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712787968001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:47:21] local.INFO: DEBUG: GPS processor result {"connection_id":165169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711362,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:47:21] local.INFO: GPS data processed {"connection_id":165169,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:47:21] local.INFO: Acknowledgment sent {"connection_id":165169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:47:25] local.INFO: TCP Data received {"connection_id":163893,"ip":"117.224.209.167","data_length":795,"data_hex":"000000000000030f8e0a000001a049927c60012d34bdc006aa4910000c00e629..."} 
[2026-08-28 23:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049927c60012d34bdc006aa4910000c00e629..."} 
[2026-08-28 23:47:25] local.INFO: Processing buffer {"connection_id":163893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049927c60012d34bdc006aa4910000c00e629..."} 
[2026-08-28 23:47:25] local.INFO: Packet analysis {"connection_id":163893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04992"} 
[2026-08-28 23:47:25] local.INFO: Extracted packet for processing {"connection_id":163893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04992"} 
[2026-08-28 23:47:25] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111823120,"longitude_deg":75.8431168,"latitude_deg":11.182312,"altitude":12,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 23:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:47:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712750336001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:47:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:47:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429818368,"note":"Value kept but may cause issues"} 
[2026-08-28 23:47:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:47:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787940732000,"timestamp_ms":1787940732000,"timestamp_seconds":1787940732,"priority":1,"record_length":96,"hex_timestamp":"000001a049927c60"} 
[2026-08-28 23:47:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:47:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 23:47:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:47:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:47:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:47:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:47:25] local.INFO: Teltonika packet parsed successfully {"connection_id":163893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:47:25] local.INFO: Passing IMEI to GPS processor {"connection_id":163893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:47:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":163893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:47:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.209.167","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:47:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:47:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:47:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712750336001,"66":25212,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3800404795429818368},"client_ip":"117.224.209.167","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:47:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:47:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:47:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712750336001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:47:25] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:47:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:47: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-28 23:47:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429818368,"description":"Unknown IO ID 45"} 
[2026-08-28 23:47:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712750336001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800404795429818368}} 
[2026-08-28 23:47:25] local.INFO: DEBUG: GPS processor result {"connection_id":163893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:47:25] local.INFO: GPS data processed {"connection_id":163893,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:47:25] local.INFO: Acknowledgment sent {"connection_id":163893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:47:34] local.INFO: TCP Data received {"connection_id":163894,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049954b20012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049954b20012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:47:34] local.INFO: Processing buffer {"connection_id":163894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049954b20012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:47:34] local.INFO: Packet analysis {"connection_id":163894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04995"} 
[2026-08-28 23:47:34] local.INFO: Extracted packet for processing {"connection_id":163894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04995"} 
[2026-08-28 23:47:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712797440001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:47:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787940916000,"timestamp_ms":1787940916000,"timestamp_seconds":1787940916,"priority":1,"record_length":96,"hex_timestamp":"000001a049954b20"} 
[2026-08-28 23:47:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:47:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 23:47:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:47:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:47:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163894,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163894,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712797440001,"66":25201,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712797440001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:47:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:47:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712797440001,"power":25201,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":163894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711364,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:47:34] local.INFO: GPS data processed {"connection_id":163894,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:47:34] local.INFO: Acknowledgment sent {"connection_id":163894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:47:51] local.INFO: TCP Data received {"connection_id":163895,"ip":"117.224.209.167","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:47:51] local.INFO: Processing buffer {"connection_id":163895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:47:51] local.INFO: IMEI packet received {"connection_id":163895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 23:47:51] local.INFO: IMEI acknowledgment sent {"connection_id":163895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:47:52] local.INFO: TCP Data received {"connection_id":163895,"ip":"117.224.209.167","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:47:52] local.INFO: Processing buffer {"connection_id":163895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:47:52] local.INFO: IMEI packet received {"connection_id":163895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 23:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":163895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:47:52] local.INFO: TCP Data received {"connection_id":165169,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a04994ba98012d196580071ff008003d013923..."} 
[2026-08-28 23:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04994ba98012d196580071ff008003d013923..."} 
[2026-08-28 23:47:52] local.INFO: Processing buffer {"connection_id":165169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04994ba98012d196580071ff008003d013923..."} 
[2026-08-28 23:47:52] local.INFO: Packet analysis {"connection_id":165169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04994"} 
[2026-08-28 23:47:52] local.INFO: Extracted packet for processing {"connection_id":165169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04994"} 
[2026-08-28 23:47:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23: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-28 23:47:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712787968001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:47:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:47:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:47:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:47:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787940879000,"timestamp_ms":1787940879000,"timestamp_seconds":1787940879,"priority":1,"record_length":96,"hex_timestamp":"000001a04994ba98"} 
[2026-08-28 23: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-28 23:47:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 23:47:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23: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-28 23: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-28 23:47:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:47:52] local.INFO: Teltonika packet parsed successfully {"connection_id":165169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:47:52] local.INFO: Passing IMEI to GPS processor {"connection_id":165169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:47:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":165169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:47:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:47:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:47:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:47:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712787968001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:47:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:47:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:47:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712787968001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:47:52] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:47:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:47:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:47:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:47:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712787968001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:47:53] local.INFO: DEBUG: GPS processor result {"connection_id":165169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711365,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:47:53] local.INFO: GPS data processed {"connection_id":165169,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:47:53] local.INFO: Acknowledgment sent {"connection_id":165169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:47:55] local.INFO: TCP Data received {"connection_id":164191,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164191,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:47:55] local.INFO: Processing buffer {"connection_id":164191,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:47:55] local.INFO: IMEI packet received {"connection_id":164191,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 23:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":164191,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:47:57] local.INFO: TCP Data received {"connection_id":163895,"ip":"117.224.209.167","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:47:57] local.INFO: Processing buffer {"connection_id":163895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:47:57] local.INFO: IMEI packet received {"connection_id":163895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 23:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":163895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:47:58] local.INFO: TCP Data received {"connection_id":163895,"ip":"117.224.209.167","data_length":795,"data_hex":"000000000000030f8e0a000001a049971428012d34bdc006aa4910001100e628..."} 
[2026-08-28 23:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049971428012d34bdc006aa4910001100e628..."} 
[2026-08-28 23:47:58] local.INFO: Processing buffer {"connection_id":163895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049971428012d34bdc006aa4910001100e628..."} 
[2026-08-28 23:47:58] local.INFO: Packet analysis {"connection_id":163895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04997"} 
[2026-08-28 23:47:58] local.INFO: Extracted packet for processing {"connection_id":163895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04997"} 
[2026-08-28 23:47:58] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111823120,"longitude_deg":75.8431168,"latitude_deg":11.182312,"altitude":17,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 23:47:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:47:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712827392001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:47:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:47:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429818368,"note":"Value kept but may cause issues"} 
[2026-08-28 23:47:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:47:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787941033000,"timestamp_ms":1787941033000,"timestamp_seconds":1787941033,"priority":1,"record_length":96,"hex_timestamp":"000001a049971428"} 
[2026-08-28 23:47:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:47:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:47:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 23:47:58] 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-28 23:47:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:47:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:47:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:47:58] local.INFO: Teltonika packet parsed successfully {"connection_id":163895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:47:58] local.INFO: Passing IMEI to GPS processor {"connection_id":163895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:47:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":163895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:47:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.209.167","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:47:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:47:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:47:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712827392001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3800404795429818368},"client_ip":"117.224.209.167","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:47:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:47:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:47:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712827392001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:47:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:47:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:47: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-28 23:47:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429818368,"description":"Unknown IO ID 45"} 
[2026-08-28 23:47:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712827392001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800404795429818368}} 
[2026-08-28 23:47:58] local.INFO: DEBUG: GPS processor result {"connection_id":163895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:47:58] local.INFO: GPS data processed {"connection_id":163895,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:47:58] local.INFO: Acknowledgment sent {"connection_id":163895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:48:01] local.INFO: TCP Data received {"connection_id":164191,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164191,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:48:01] local.INFO: Processing buffer {"connection_id":164191,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:48:01] local.INFO: IMEI packet received {"connection_id":164191,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 23:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":164191,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:48:02] local.INFO: TCP Data received {"connection_id":164191,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049954b20012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049954b20012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:48:02] local.INFO: Processing buffer {"connection_id":164191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049954b20012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:48:02] local.INFO: Packet analysis {"connection_id":164191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04995"} 
[2026-08-28 23:48:02] local.INFO: Extracted packet for processing {"connection_id":164191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04995"} 
[2026-08-28 23:48:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:48:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:48:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712797440001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:48:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:48:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:48:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:48:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787940916000,"timestamp_ms":1787940916000,"timestamp_seconds":1787940916,"priority":1,"record_length":96,"hex_timestamp":"000001a049954b20"} 
[2026-08-28 23:48:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:48:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:48:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 23:48:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:48:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:48:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:48:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:48:02] local.INFO: Teltonika packet parsed successfully {"connection_id":164191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:48:02] local.INFO: Passing IMEI to GPS processor {"connection_id":164191,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:48:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":164191,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:48:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:48:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:48:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:48:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712797440001,"66":25201,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:48:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:48:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:48:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712797440001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:48:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:48:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:48:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:48:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:48:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712797440001,"power":25201,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:48:02] local.INFO: DEBUG: GPS processor result {"connection_id":164191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711367,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:48:02] local.INFO: GPS data processed {"connection_id":164191,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:48:02] local.INFO: Acknowledgment sent {"connection_id":164191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:48:02] local.INFO: TCP Data received {"connection_id":163895,"ip":"117.224.209.167","data_length":795,"data_hex":"000000000000030f8e0a000001a049971428012d34bdc006aa4910001100e628..."} 
[2026-08-28 23:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049971428012d34bdc006aa4910001100e628..."} 
[2026-08-28 23:48:02] local.INFO: Processing buffer {"connection_id":163895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049971428012d34bdc006aa4910001100e628..."} 
[2026-08-28 23:48:02] local.INFO: Packet analysis {"connection_id":163895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04997"} 
[2026-08-28 23:48:02] local.INFO: Extracted packet for processing {"connection_id":163895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04997"} 
[2026-08-28 23:48:02] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111823120,"longitude_deg":75.8431168,"latitude_deg":11.182312,"altitude":17,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 23:48:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:48:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712827392001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:48:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:48:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429818368,"note":"Value kept but may cause issues"} 
[2026-08-28 23:48:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:48:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787941033000,"timestamp_ms":1787941033000,"timestamp_seconds":1787941033,"priority":1,"record_length":96,"hex_timestamp":"000001a049971428"} 
[2026-08-28 23:48:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:48:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:48:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 23:48:02] 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-28 23:48:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:48:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:48:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:48:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:48:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:48:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:48:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.209.167","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:48:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:48:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:48:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712827392001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3800404795429818368},"client_ip":"117.224.209.167","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:48:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:48:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:48:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712827392001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:48:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:48:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:48: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-28 23:48:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429818368,"description":"Unknown IO ID 45"} 
[2026-08-28 23:48:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712827392001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800404795429818368}} 
[2026-08-28 23:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":163895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:48:03] local.INFO: GPS data processed {"connection_id":163895,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:48:03] local.INFO: Acknowledgment sent {"connection_id":163895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:48:14] local.INFO: TCP Data received {"connection_id":163896,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163896,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:48:14] local.INFO: Processing buffer {"connection_id":163896,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:48:14] local.INFO: IMEI packet received {"connection_id":163896,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 23:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":163896,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:48:19] local.INFO: TCP Data received {"connection_id":163896,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163896,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:48:19] local.INFO: Processing buffer {"connection_id":163896,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:48:19] local.INFO: IMEI packet received {"connection_id":163896,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 23:48:19] local.INFO: IMEI acknowledgment sent {"connection_id":163896,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:48:20] local.INFO: TCP Data received {"connection_id":163896,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a04994ba98012d196580071ff008003d013923..."} 
[2026-08-28 23:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04994ba98012d196580071ff008003d013923..."} 
[2026-08-28 23:48:20] local.INFO: Processing buffer {"connection_id":163896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04994ba98012d196580071ff008003d013923..."} 
[2026-08-28 23:48:20] local.INFO: Packet analysis {"connection_id":163896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04994"} 
[2026-08-28 23:48:20] local.INFO: Extracted packet for processing {"connection_id":163896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04994"} 
[2026-08-28 23:48:20] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712787968001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:48:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:48:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787940879000,"timestamp_ms":1787940879000,"timestamp_seconds":1787940879,"priority":1,"record_length":96,"hex_timestamp":"000001a04994ba98"} 
[2026-08-28 23:48:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:48:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 23:48:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:48:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:48:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:48:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712787968001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712787968001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:48:20] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:48:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:48:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:48:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712787968001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:48:20] local.INFO: DEBUG: GPS processor result {"connection_id":163896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711369,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:48:20] local.INFO: GPS data processed {"connection_id":163896,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:48:20] local.INFO: Acknowledgment sent {"connection_id":163896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:48:34] local.INFO: TCP Data received {"connection_id":164191,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049954b20012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049954b20012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:48:34] local.INFO: Processing buffer {"connection_id":164191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049954b20012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:48:34] local.INFO: Packet analysis {"connection_id":164191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04995"} 
[2026-08-28 23:48:34] local.INFO: Extracted packet for processing {"connection_id":164191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04995"} 
[2026-08-28 23:48:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712797440001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787940916000,"timestamp_ms":1787940916000,"timestamp_seconds":1787940916,"priority":1,"record_length":96,"hex_timestamp":"000001a049954b20"} 
[2026-08-28 23:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:48:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 23:48:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:48:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":164191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":164191,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":164191,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712797440001,"66":25201,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712797440001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:48:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:48:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712797440001,"power":25201,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":164191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711370,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:48:34] local.INFO: GPS data processed {"connection_id":164191,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:48:34] local.INFO: Acknowledgment sent {"connection_id":164191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:48:46] local.INFO: TCP Data received {"connection_id":163897,"ip":"117.224.209.167","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:48:46] local.INFO: Processing buffer {"connection_id":163897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:48:46] local.INFO: IMEI packet received {"connection_id":163897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 23:48:46] local.INFO: IMEI acknowledgment sent {"connection_id":163897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:48:52] local.INFO: TCP Data received {"connection_id":163897,"ip":"117.224.209.167","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:48:52] local.INFO: Processing buffer {"connection_id":163897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:48:52] local.INFO: IMEI packet received {"connection_id":163897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 23:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":163897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:48:52] local.INFO: TCP Data received {"connection_id":163896,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a04994ba98012d196580071ff008003d013923..."} 
[2026-08-28 23:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04994ba98012d196580071ff008003d013923..."} 
[2026-08-28 23:48:52] local.INFO: Processing buffer {"connection_id":163896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04994ba98012d196580071ff008003d013923..."} 
[2026-08-28 23:48:52] local.INFO: Packet analysis {"connection_id":163896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04994"} 
[2026-08-28 23:48:52] local.INFO: Extracted packet for processing {"connection_id":163896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04994"} 
[2026-08-28 23:48:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23: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-28 23:48:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712787968001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:48:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:48:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:48:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:48:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787940879000,"timestamp_ms":1787940879000,"timestamp_seconds":1787940879,"priority":1,"record_length":96,"hex_timestamp":"000001a04994ba98"} 
[2026-08-28 23: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-28 23:48:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 23:48:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23: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-28 23: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-28 23:48:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:48:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:48:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:48:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:48:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:48:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:48:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:48:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712787968001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:48:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:48:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:48:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712787968001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:48:52] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:48:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:48:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:48:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:48:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712787968001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:48:52] local.INFO: DEBUG: GPS processor result {"connection_id":163896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711371,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:48:52] local.INFO: GPS data processed {"connection_id":163896,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:48:52] local.INFO: Acknowledgment sent {"connection_id":163896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:48:53] local.INFO: TCP Data received {"connection_id":163897,"ip":"117.224.209.167","data_length":795,"data_hex":"000000000000030f8e0a000001a049971428012d34bdc006aa4910001100e628..."} 
[2026-08-28 23:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049971428012d34bdc006aa4910001100e628..."} 
[2026-08-28 23:48:53] local.INFO: Processing buffer {"connection_id":163897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049971428012d34bdc006aa4910001100e628..."} 
[2026-08-28 23:48:53] local.INFO: Packet analysis {"connection_id":163897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04997"} 
[2026-08-28 23:48:53] local.INFO: Extracted packet for processing {"connection_id":163897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04997"} 
[2026-08-28 23:48:53] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111823120,"longitude_deg":75.8431168,"latitude_deg":11.182312,"altitude":17,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 23:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:48:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712827392001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:48:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:48:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429818368,"note":"Value kept but may cause issues"} 
[2026-08-28 23:48:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:48:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787941033000,"timestamp_ms":1787941033000,"timestamp_seconds":1787941033,"priority":1,"record_length":96,"hex_timestamp":"000001a049971428"} 
[2026-08-28 23:48:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:48:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 23:48:53] 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-28 23:48:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:48:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:48:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:48:53] local.INFO: Teltonika packet parsed successfully {"connection_id":163897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:48:53] local.INFO: Passing IMEI to GPS processor {"connection_id":163897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:48:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":163897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:48:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.209.167","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:48:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:48:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:48:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712827392001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3800404795429818368},"client_ip":"117.224.209.167","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:48:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:48:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:48:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712827392001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:48:53] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:48:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:48: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-28 23:48:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429818368,"description":"Unknown IO ID 45"} 
[2026-08-28 23:48:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712827392001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800404795429818368}} 
[2026-08-28 23:48:53] local.INFO: DEBUG: GPS processor result {"connection_id":163897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:48:53] local.INFO: GPS data processed {"connection_id":163897,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:48:53] local.INFO: Acknowledgment sent {"connection_id":163897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:48:55] local.INFO: TCP Data received {"connection_id":165170,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165170,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:48:55] local.INFO: Processing buffer {"connection_id":165170,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:48:55] local.INFO: IMEI packet received {"connection_id":165170,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 23:48:55] local.INFO: IMEI acknowledgment sent {"connection_id":165170,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:49:01] local.INFO: TCP Data received {"connection_id":165170,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165170,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:49:01] local.INFO: Processing buffer {"connection_id":165170,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:49:01] local.INFO: IMEI packet received {"connection_id":165170,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 23:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":165170,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:49:02] local.INFO: TCP Data received {"connection_id":165170,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049954b20012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049954b20012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:49:02] local.INFO: Processing buffer {"connection_id":165170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049954b20012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:49:02] local.INFO: Packet analysis {"connection_id":165170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04995"} 
[2026-08-28 23:49:02] local.INFO: Extracted packet for processing {"connection_id":165170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04995"} 
[2026-08-28 23:49:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:49:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712797440001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:49:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:49:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:49:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:49:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787940916000,"timestamp_ms":1787940916000,"timestamp_seconds":1787940916,"priority":1,"record_length":96,"hex_timestamp":"000001a049954b20"} 
[2026-08-28 23:49:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:49:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 23:49:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:49:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:49:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:49:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:49:02] local.INFO: Teltonika packet parsed successfully {"connection_id":165170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:49:02] local.INFO: Passing IMEI to GPS processor {"connection_id":165170,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:49:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":165170,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:49:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:49:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:49:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:49:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712797440001,"66":25201,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:49:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:49:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:49:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712797440001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:49:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:49:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:49:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:49:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:49:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712797440001,"power":25201,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:49:02] local.INFO: DEBUG: GPS processor result {"connection_id":165170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711373,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:49:02] local.INFO: GPS data processed {"connection_id":165170,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:49:02] local.INFO: Acknowledgment sent {"connection_id":165170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:49:14] local.INFO: TCP Data received {"connection_id":165171,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165171,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:49:14] local.INFO: Processing buffer {"connection_id":165171,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:49:14] local.INFO: IMEI packet received {"connection_id":165171,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 23:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":165171,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:49:22] local.INFO: TCP Data received {"connection_id":165171,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165171,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:49:22] local.INFO: Processing buffer {"connection_id":165171,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:49:22] local.INFO: IMEI packet received {"connection_id":165171,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 23:49:22] local.INFO: IMEI acknowledgment sent {"connection_id":165171,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:49:25] local.INFO: TCP Data received {"connection_id":163897,"ip":"117.224.209.167","data_length":795,"data_hex":"000000000000030f8e0a000001a049971428012d34bdc006aa4910001100e628..."} 
[2026-08-28 23:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049971428012d34bdc006aa4910001100e628..."} 
[2026-08-28 23:49:25] local.INFO: Processing buffer {"connection_id":163897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049971428012d34bdc006aa4910001100e628..."} 
[2026-08-28 23:49:25] local.INFO: Packet analysis {"connection_id":163897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04997"} 
[2026-08-28 23:49:25] local.INFO: Extracted packet for processing {"connection_id":163897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04997"} 
[2026-08-28 23:49:25] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111823120,"longitude_deg":75.8431168,"latitude_deg":11.182312,"altitude":17,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 23:49:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:49:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712827392001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:49:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:49:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429818368,"note":"Value kept but may cause issues"} 
[2026-08-28 23:49:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:49:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787941033000,"timestamp_ms":1787941033000,"timestamp_seconds":1787941033,"priority":1,"record_length":96,"hex_timestamp":"000001a049971428"} 
[2026-08-28 23:49:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:49:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:49:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 23:49:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:49:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:49:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:49:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:49:25] local.INFO: Teltonika packet parsed successfully {"connection_id":163897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:49:25] local.INFO: Passing IMEI to GPS processor {"connection_id":163897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:49:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":163897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:49:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.209.167","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:49:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:49:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:49:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712827392001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3800404795429818368},"client_ip":"117.224.209.167","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:49:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:49:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:49:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712827392001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:49:25] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:49:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:49: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-28 23:49:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429818368,"description":"Unknown IO ID 45"} 
[2026-08-28 23:49:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712827392001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800404795429818368}} 
[2026-08-28 23:49:25] local.INFO: DEBUG: GPS processor result {"connection_id":163897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:49:25] local.INFO: GPS data processed {"connection_id":163897,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:49:25] local.INFO: Acknowledgment sent {"connection_id":163897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:49:27] local.INFO: TCP Data received {"connection_id":165171,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a04994ba98012d196580071ff008003d013923..."} 
[2026-08-28 23:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04994ba98012d196580071ff008003d013923..."} 
[2026-08-28 23:49:27] local.INFO: Processing buffer {"connection_id":165171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04994ba98012d196580071ff008003d013923..."} 
[2026-08-28 23:49:27] local.INFO: Packet analysis {"connection_id":165171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04994"} 
[2026-08-28 23:49:27] local.INFO: Extracted packet for processing {"connection_id":165171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04994"} 
[2026-08-28 23:49:27] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:49:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712787968001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:49:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:49:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:49:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:49:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787940879000,"timestamp_ms":1787940879000,"timestamp_seconds":1787940879,"priority":1,"record_length":96,"hex_timestamp":"000001a04994ba98"} 
[2026-08-28 23:49:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:49:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 23:49:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:49:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:49:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":165171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":165171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":165171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:49:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712787968001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712787968001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:49:27] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:49:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:49:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:49:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712787968001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:49:27] local.INFO: DEBUG: GPS processor result {"connection_id":165171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711375,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:49:27] local.INFO: GPS data processed {"connection_id":165171,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:49:27] local.INFO: Acknowledgment sent {"connection_id":165171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:49:34] local.INFO: TCP Data received {"connection_id":165170,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049954b20012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049954b20012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:49:34] local.INFO: Processing buffer {"connection_id":165170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049954b20012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:49:34] local.INFO: Packet analysis {"connection_id":165170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04995"} 
[2026-08-28 23:49:34] local.INFO: Extracted packet for processing {"connection_id":165170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04995"} 
[2026-08-28 23:49:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712797440001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:49:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:49:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787940916000,"timestamp_ms":1787940916000,"timestamp_seconds":1787940916,"priority":1,"record_length":96,"hex_timestamp":"000001a049954b20"} 
[2026-08-28 23:49:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:49:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 23:49:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:49:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:49:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":165170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":165170,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":165170,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:49:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712797440001,"66":25201,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712797440001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:49:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:49:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:49:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712797440001,"power":25201,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":165170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711376,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:49:34] local.INFO: GPS data processed {"connection_id":165170,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:49:34] local.INFO: Acknowledgment sent {"connection_id":165170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:49:46] local.INFO: TCP Data received {"connection_id":164192,"ip":"117.224.209.167","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:49:46] local.INFO: Processing buffer {"connection_id":164192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:49:46] local.INFO: IMEI packet received {"connection_id":164192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 23:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":164192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:49:52] local.INFO: TCP Data received {"connection_id":164192,"ip":"117.224.209.167","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:49:52] local.INFO: Processing buffer {"connection_id":164192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:49:52] local.INFO: IMEI packet received {"connection_id":164192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 23:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":164192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:49:53] local.INFO: TCP Data received {"connection_id":164192,"ip":"117.224.209.167","data_length":795,"data_hex":"000000000000030f8e0a000001a049971428012d34bdc006aa4910001100e628..."} 
[2026-08-28 23:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049971428012d34bdc006aa4910001100e628..."} 
[2026-08-28 23:49:53] local.INFO: Processing buffer {"connection_id":164192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049971428012d34bdc006aa4910001100e628..."} 
[2026-08-28 23:49:53] local.INFO: Packet analysis {"connection_id":164192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04997"} 
[2026-08-28 23:49:53] local.INFO: Extracted packet for processing {"connection_id":164192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04997"} 
[2026-08-28 23:49:53] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111823120,"longitude_deg":75.8431168,"latitude_deg":11.182312,"altitude":17,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 23: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-28 23:49:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712827392001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:49:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:49:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429818368,"note":"Value kept but may cause issues"} 
[2026-08-28 23:49:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:49:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787941033000,"timestamp_ms":1787941033000,"timestamp_seconds":1787941033,"priority":1,"record_length":96,"hex_timestamp":"000001a049971428"} 
[2026-08-28 23: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-28 23:49:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 23:49:53] 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-28 23: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-28 23: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-28 23:49:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:49:53] local.INFO: Teltonika packet parsed successfully {"connection_id":164192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:49:53] local.INFO: Passing IMEI to GPS processor {"connection_id":164192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:49:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":164192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:49:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.209.167","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:49:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:49:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:49:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712827392001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3800404795429818368},"client_ip":"117.224.209.167","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:49:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:49:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:49:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712827392001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:49:53] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:49:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23: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-28 23:49:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429818368,"description":"Unknown IO ID 45"} 
[2026-08-28 23:49:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712827392001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800404795429818368}} 
[2026-08-28 23:49:53] local.INFO: DEBUG: GPS processor result {"connection_id":164192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:49:53] local.INFO: GPS data processed {"connection_id":164192,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:49:53] local.INFO: Acknowledgment sent {"connection_id":164192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:49:55] local.INFO: TCP Data received {"connection_id":163898,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163898,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:49:55] local.INFO: Processing buffer {"connection_id":163898,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:49:55] local.INFO: IMEI packet received {"connection_id":163898,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 23:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":163898,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:49:59] local.INFO: TCP Data received {"connection_id":165171,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a04994ba98012d196580071ff008003d013923..."} 
[2026-08-28 23:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04994ba98012d196580071ff008003d013923..."} 
[2026-08-28 23:49:59] local.INFO: Processing buffer {"connection_id":165171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04994ba98012d196580071ff008003d013923..."} 
[2026-08-28 23:49:59] local.INFO: Packet analysis {"connection_id":165171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04994"} 
[2026-08-28 23:49:59] local.INFO: Extracted packet for processing {"connection_id":165171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04994"} 
[2026-08-28 23:49:59] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712787968001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:49:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787940879000,"timestamp_ms":1787940879000,"timestamp_seconds":1787940879,"priority":1,"record_length":96,"hex_timestamp":"000001a04994ba98"} 
[2026-08-28 23:49:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:49:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 23:49:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:49:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:49:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":165171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":165171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":165171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:49:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712787968001,"66":2166,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712787968001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:49:59] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:49:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712787968001,"power":2166,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":165171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711378,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:49:59] local.INFO: GPS data processed {"connection_id":165171,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:49:59] local.INFO: Acknowledgment sent {"connection_id":165171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:50:01] local.INFO: TCP Data received {"connection_id":163898,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163898,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:50:01] local.INFO: Processing buffer {"connection_id":163898,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:50:01] local.INFO: IMEI packet received {"connection_id":163898,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 23:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":163898,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:50:02] local.INFO: TCP Data received {"connection_id":163898,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049954b20012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049954b20012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:50:02] local.INFO: Processing buffer {"connection_id":163898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049954b20012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:50:02] local.INFO: Packet analysis {"connection_id":163898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04995"} 
[2026-08-28 23:50:02] local.INFO: Extracted packet for processing {"connection_id":163898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04995"} 
[2026-08-28 23:50:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712797440001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:50:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:50:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787940916000,"timestamp_ms":1787940916000,"timestamp_seconds":1787940916,"priority":1,"record_length":96,"hex_timestamp":"000001a049954b20"} 
[2026-08-28 23:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:50:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 23:50:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:50:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163898,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163898,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:50:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712797440001,"66":25201,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712797440001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:50:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:50:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:50:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712797440001,"power":25201,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":163898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711379,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:50:02] local.INFO: GPS data processed {"connection_id":163898,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:50:02] local.INFO: Acknowledgment sent {"connection_id":163898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:50:13] local.INFO: TCP Data received {"connection_id":163899,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163899,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:50:13] local.INFO: Processing buffer {"connection_id":163899,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:50:13] local.INFO: IMEI packet received {"connection_id":163899,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 23:50:13] local.INFO: IMEI acknowledgment sent {"connection_id":163899,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:50:18] local.INFO: TCP Data received {"connection_id":163899,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163899,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:50:18] local.INFO: Processing buffer {"connection_id":163899,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:50:18] local.INFO: IMEI packet received {"connection_id":163899,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 23:50:18] local.INFO: IMEI acknowledgment sent {"connection_id":163899,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:50:18] local.INFO: TCP Data received {"connection_id":163899,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163899,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:50:18] local.INFO: Processing buffer {"connection_id":163899,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:50:18] local.INFO: IMEI packet received {"connection_id":163899,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 23:50:18] local.INFO: IMEI acknowledgment sent {"connection_id":163899,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:50:20] local.INFO: TCP Data received {"connection_id":163899,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049995260012d196580071ff008003d013926..."} 
[2026-08-28 23:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049995260012d196580071ff008003d013926..."} 
[2026-08-28 23:50:20] local.INFO: Processing buffer {"connection_id":163899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049995260012d196580071ff008003d013926..."} 
[2026-08-28 23:50:20] local.INFO: Packet analysis {"connection_id":163899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04999"} 
[2026-08-28 23:50:20] local.INFO: Extracted packet for processing {"connection_id":163899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04999"} 
[2026-08-28 23:50:20] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23: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-28 23:50:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712865024001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:50:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:50:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:50:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:50:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787941180000,"timestamp_ms":1787941180000,"timestamp_seconds":1787941180,"priority":1,"record_length":96,"hex_timestamp":"000001a049995260"} 
[2026-08-28 23: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-28 23:50:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:50:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 23:50:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23: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-28 23: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-28 23:50:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:50:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:50:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:50:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:50:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:50:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:50:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:50:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712865024001,"66":2144,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:50:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:50:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:50:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712865024001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:50:20] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:50:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:50:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:50:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:50:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712865024001,"power":2144,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:50:20] local.INFO: DEBUG: GPS processor result {"connection_id":163899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711380,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:50:20] local.INFO: GPS data processed {"connection_id":163899,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:50:20] local.INFO: Acknowledgment sent {"connection_id":163899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:50:25] local.INFO: TCP Data received {"connection_id":164192,"ip":"117.224.209.167","data_length":795,"data_hex":"000000000000030f8e0a000001a049971428012d34bdc006aa4910001100e628..."} 
[2026-08-28 23:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049971428012d34bdc006aa4910001100e628..."} 
[2026-08-28 23:50:25] local.INFO: Processing buffer {"connection_id":164192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049971428012d34bdc006aa4910001100e628..."} 
[2026-08-28 23:50:25] local.INFO: Packet analysis {"connection_id":164192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04997"} 
[2026-08-28 23:50:25] local.INFO: Extracted packet for processing {"connection_id":164192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04997"} 
[2026-08-28 23:50:25] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111823120,"longitude_deg":75.8431168,"latitude_deg":11.182312,"altitude":17,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 23:50:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:50:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712827392001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:50:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:50:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429818368,"note":"Value kept but may cause issues"} 
[2026-08-28 23:50:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:50:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787941033000,"timestamp_ms":1787941033000,"timestamp_seconds":1787941033,"priority":1,"record_length":96,"hex_timestamp":"000001a049971428"} 
[2026-08-28 23:50:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:50:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:50:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 23:50:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:50:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:50:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:50:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:50:25] local.INFO: Teltonika packet parsed successfully {"connection_id":164192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:50:25] local.INFO: Passing IMEI to GPS processor {"connection_id":164192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:50:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":164192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:50:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.209.167","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:50:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:50:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:50:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712827392001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3800404795429818368},"client_ip":"117.224.209.167","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:50:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:50:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:50:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712827392001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:50:25] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:50:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:50: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-28 23:50:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429818368,"description":"Unknown IO ID 45"} 
[2026-08-28 23:50:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712827392001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800404795429818368}} 
[2026-08-28 23:50:25] local.INFO: DEBUG: GPS processor result {"connection_id":164192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:50:25] local.INFO: GPS data processed {"connection_id":164192,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:50:25] local.INFO: Acknowledgment sent {"connection_id":164192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:50:25] local.INFO: TCP Data received {"connection_id":163899,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049995260012d196580071ff008003d013926..."} 
[2026-08-28 23:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049995260012d196580071ff008003d013926..."} 
[2026-08-28 23:50:25] local.INFO: Processing buffer {"connection_id":163899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049995260012d196580071ff008003d013926..."} 
[2026-08-28 23:50:25] local.INFO: Packet analysis {"connection_id":163899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04999"} 
[2026-08-28 23:50:25] local.INFO: Extracted packet for processing {"connection_id":163899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04999"} 
[2026-08-28 23:50:25] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:50:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:50:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712865024001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:50:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:50:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:50:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:50:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787941180000,"timestamp_ms":1787941180000,"timestamp_seconds":1787941180,"priority":1,"record_length":96,"hex_timestamp":"000001a049995260"} 
[2026-08-28 23:50:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:50:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:50:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 23:50:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:50:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:50:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:50:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:50:25] local.INFO: Teltonika packet parsed successfully {"connection_id":163899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:50:25] local.INFO: Passing IMEI to GPS processor {"connection_id":163899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:50:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":163899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:50:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:50:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:50:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:50:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712865024001,"66":2144,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:50:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:50:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:50:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712865024001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:50:25] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:50:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:50:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:50:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:50:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712865024001,"power":2144,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:50:25] local.INFO: DEBUG: GPS processor result {"connection_id":163899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711382,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:50:25] local.INFO: GPS data processed {"connection_id":163899,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:50:25] local.INFO: Acknowledgment sent {"connection_id":163899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:50:34] local.INFO: TCP Data received {"connection_id":163898,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a049954b20012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049954b20012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:50:34] local.INFO: Processing buffer {"connection_id":163898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049954b20012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:50:34] local.INFO: Packet analysis {"connection_id":163898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04995"} 
[2026-08-28 23:50:34] local.INFO: Extracted packet for processing {"connection_id":163898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04995"} 
[2026-08-28 23:50:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712797440001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:50:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:50:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787940916000,"timestamp_ms":1787940916000,"timestamp_seconds":1787940916,"priority":1,"record_length":96,"hex_timestamp":"000001a049954b20"} 
[2026-08-28 23:50:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:50:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-28 23:50:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2299,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:50:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:50:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163898,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163898,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:50:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712797440001,"66":25201,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712797440001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:50:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:50:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:50:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:50:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712797440001,"power":25201,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":163898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711383,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:50:34] local.INFO: GPS data processed {"connection_id":163898,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:50:34] local.INFO: Acknowledgment sent {"connection_id":163898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:50:46] local.INFO: TCP Data received {"connection_id":163900,"ip":"117.224.209.167","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:50:46] local.INFO: Processing buffer {"connection_id":163900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:50:46] local.INFO: IMEI packet received {"connection_id":163900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 23:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":163900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:50:52] local.INFO: TCP Data received {"connection_id":163900,"ip":"117.224.209.167","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:50:52] local.INFO: Processing buffer {"connection_id":163900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:50:52] local.INFO: IMEI packet received {"connection_id":163900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 23:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":163900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:50:53] local.INFO: TCP Data received {"connection_id":163900,"ip":"117.224.209.167","data_length":795,"data_hex":"000000000000030f8e0a000001a049971428012d34bdc006aa4910001100e628..."} 
[2026-08-28 23:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049971428012d34bdc006aa4910001100e628..."} 
[2026-08-28 23:50:53] local.INFO: Processing buffer {"connection_id":163900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049971428012d34bdc006aa4910001100e628..."} 
[2026-08-28 23:50:53] local.INFO: Packet analysis {"connection_id":163900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04997"} 
[2026-08-28 23:50:53] local.INFO: Extracted packet for processing {"connection_id":163900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04997"} 
[2026-08-28 23:50:53] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111823120,"longitude_deg":75.8431168,"latitude_deg":11.182312,"altitude":17,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 23:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:50:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712827392001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:50:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:50:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429818368,"note":"Value kept but may cause issues"} 
[2026-08-28 23:50:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:50:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787941033000,"timestamp_ms":1787941033000,"timestamp_seconds":1787941033,"priority":1,"record_length":96,"hex_timestamp":"000001a049971428"} 
[2026-08-28 23:50:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:50:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 23:50:53] 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-28 23:50:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:50:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:50:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:50:53] local.INFO: Teltonika packet parsed successfully {"connection_id":163900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:50:53] local.INFO: Passing IMEI to GPS processor {"connection_id":163900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:50:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":163900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:50:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.209.167","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:50:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:50:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:50:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712827392001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3800404795429818368},"client_ip":"117.224.209.167","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:50:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:50:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:50:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712827392001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:50:53] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:50:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:50: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-28 23:50:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429818368,"description":"Unknown IO ID 45"} 
[2026-08-28 23:50:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712827392001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800404795429818368}} 
[2026-08-28 23:50:53] local.INFO: DEBUG: GPS processor result {"connection_id":163900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:50:53] local.INFO: GPS data processed {"connection_id":163900,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:50:53] local.INFO: Acknowledgment sent {"connection_id":163900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:50:55] local.INFO: TCP Data received {"connection_id":164193,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164193,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:50:55] local.INFO: Processing buffer {"connection_id":164193,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:50:55] local.INFO: IMEI packet received {"connection_id":164193,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 23:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":164193,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:50:56] local.INFO: TCP Data received {"connection_id":164193,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164193,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:50:56] local.INFO: Processing buffer {"connection_id":164193,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:50:56] local.INFO: IMEI packet received {"connection_id":164193,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 23:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":164193,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:50:57] local.INFO: TCP Data received {"connection_id":163899,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049995260012d196580071ff008003d013926..."} 
[2026-08-28 23:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049995260012d196580071ff008003d013926..."} 
[2026-08-28 23:50:57] local.INFO: Processing buffer {"connection_id":163899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049995260012d196580071ff008003d013926..."} 
[2026-08-28 23:50:57] local.INFO: Packet analysis {"connection_id":163899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04999"} 
[2026-08-28 23:50:57] local.INFO: Extracted packet for processing {"connection_id":163899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04999"} 
[2026-08-28 23:50:57] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:50:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:50:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712865024001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:50:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:50:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:50:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:50:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787941180000,"timestamp_ms":1787941180000,"timestamp_seconds":1787941180,"priority":1,"record_length":96,"hex_timestamp":"000001a049995260"} 
[2026-08-28 23:50:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:50:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:50:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 23:50:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:50:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:50:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:50:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:50:57] local.INFO: Teltonika packet parsed successfully {"connection_id":163899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:50:57] local.INFO: Passing IMEI to GPS processor {"connection_id":163899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:50:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":163899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:50:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:50:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:50:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:50:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712865024001,"66":2144,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:50:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:50:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:50:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712865024001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:50:57] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:50:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:50:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:50:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:50:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712865024001,"power":2144,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:50:57] local.INFO: DEBUG: GPS processor result {"connection_id":163899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711385,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:50:57] local.INFO: GPS data processed {"connection_id":163899,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:50:57] local.INFO: Acknowledgment sent {"connection_id":163899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:51:01] local.INFO: TCP Data received {"connection_id":164193,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164193,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:51:01] local.INFO: Processing buffer {"connection_id":164193,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:51:01] local.INFO: IMEI packet received {"connection_id":164193,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 23:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":164193,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:51:02] local.INFO: TCP Data received {"connection_id":164193,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04999e2e8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04999e2e8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:51:02] local.INFO: Processing buffer {"connection_id":164193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04999e2e8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:51:02] local.INFO: Packet analysis {"connection_id":164193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04999"} 
[2026-08-28 23:51:02] local.INFO: Extracted packet for processing {"connection_id":164193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04999"} 
[2026-08-28 23:51:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712874496001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:51:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:51:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787941217000,"timestamp_ms":1787941217000,"timestamp_seconds":1787941217,"priority":1,"record_length":96,"hex_timestamp":"000001a04999e2e8"} 
[2026-08-28 23:51:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:51:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-28 23:51:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:51:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:51:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":164193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":164193,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":164193,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:51:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712874496001,"66":25223,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712874496001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:51:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:51:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:51:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:51:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712874496001,"power":25223,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:51:02] local.INFO: DEBUG: GPS processor result {"connection_id":164193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711386,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:51:02] local.INFO: GPS data processed {"connection_id":164193,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:51:02] local.INFO: Acknowledgment sent {"connection_id":164193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:51:14] local.INFO: TCP Data received {"connection_id":163901,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163901,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:51:14] local.INFO: Processing buffer {"connection_id":163901,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:51:14] local.INFO: IMEI packet received {"connection_id":163901,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 23:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":163901,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:51:19] local.INFO: TCP Data received {"connection_id":163901,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163901,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:51:19] local.INFO: Processing buffer {"connection_id":163901,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:51:19] local.INFO: IMEI packet received {"connection_id":163901,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 23:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":163901,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:51:20] local.INFO: TCP Data received {"connection_id":163901,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049995260012d196580071ff008003d013926..."} 
[2026-08-28 23:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049995260012d196580071ff008003d013926..."} 
[2026-08-28 23:51:20] local.INFO: Processing buffer {"connection_id":163901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049995260012d196580071ff008003d013926..."} 
[2026-08-28 23:51:20] local.INFO: Packet analysis {"connection_id":163901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04999"} 
[2026-08-28 23:51:20] local.INFO: Extracted packet for processing {"connection_id":163901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04999"} 
[2026-08-28 23:51:20] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:51:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:51:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712865024001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:51:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:51:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:51:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:51:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787941180000,"timestamp_ms":1787941180000,"timestamp_seconds":1787941180,"priority":1,"record_length":96,"hex_timestamp":"000001a049995260"} 
[2026-08-28 23:51:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:51:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:51:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 23:51:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:51:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:51:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:51:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:51:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:51:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:51:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:51:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:51:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:51:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:51:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712865024001,"66":2144,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:51:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:51:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:51:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712865024001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:51:20] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:51:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:51:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:51:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:51:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712865024001,"power":2144,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:51:20] local.INFO: DEBUG: GPS processor result {"connection_id":163901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711387,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:51:20] local.INFO: GPS data processed {"connection_id":163901,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:51:20] local.INFO: Acknowledgment sent {"connection_id":163901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:51:25] local.INFO: TCP Data received {"connection_id":163900,"ip":"117.224.209.167","data_length":795,"data_hex":"000000000000030f8e0a000001a049971428012d34bdc006aa4910001100e628..."} 
[2026-08-28 23:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049971428012d34bdc006aa4910001100e628..."} 
[2026-08-28 23:51:25] local.INFO: Processing buffer {"connection_id":163900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049971428012d34bdc006aa4910001100e628..."} 
[2026-08-28 23:51:25] local.INFO: Packet analysis {"connection_id":163900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04997"} 
[2026-08-28 23:51:25] local.INFO: Extracted packet for processing {"connection_id":163900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04997"} 
[2026-08-28 23:51:25] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111823120,"longitude_deg":75.8431168,"latitude_deg":11.182312,"altitude":17,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 23:51:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:51:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712827392001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:51:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:51:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429818368,"note":"Value kept but may cause issues"} 
[2026-08-28 23:51:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:51:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787941033000,"timestamp_ms":1787941033000,"timestamp_seconds":1787941033,"priority":1,"record_length":96,"hex_timestamp":"000001a049971428"} 
[2026-08-28 23:51:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:51:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:51:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 23:51:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:51:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:51:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:51:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:51:25] local.INFO: Teltonika packet parsed successfully {"connection_id":163900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:51:25] local.INFO: Passing IMEI to GPS processor {"connection_id":163900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:51:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":163900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:51:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.209.167","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:51:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:51:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:51:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712827392001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3800404795429818368},"client_ip":"117.224.209.167","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:51:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:51:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:51:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712827392001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:51:25] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:51:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:51: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-28 23:51:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429818368,"description":"Unknown IO ID 45"} 
[2026-08-28 23:51:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712827392001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800404795429818368}} 
[2026-08-28 23:51:25] local.INFO: DEBUG: GPS processor result {"connection_id":163900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:51:25] local.INFO: GPS data processed {"connection_id":163900,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:51:25] local.INFO: Acknowledgment sent {"connection_id":163900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:51:33] local.INFO: TCP Data received {"connection_id":164193,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04999e2e8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04999e2e8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:51:33] local.INFO: Processing buffer {"connection_id":164193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04999e2e8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:51:33] local.INFO: Packet analysis {"connection_id":164193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04999"} 
[2026-08-28 23:51:33] local.INFO: Extracted packet for processing {"connection_id":164193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04999"} 
[2026-08-28 23:51:33] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:51:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712874496001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:51:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:51:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787941217000,"timestamp_ms":1787941217000,"timestamp_seconds":1787941217,"priority":1,"record_length":96,"hex_timestamp":"000001a04999e2e8"} 
[2026-08-28 23:51:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:51:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:51:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-28 23:51:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:51:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:51:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":164193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":164193,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":164193,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:51:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712874496001,"66":25223,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712874496001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:51:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:51:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712874496001,"power":25223,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":164193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711389,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:51:34] local.INFO: GPS data processed {"connection_id":164193,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:51:34] local.INFO: Acknowledgment sent {"connection_id":164193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:51:52] local.INFO: TCP Data received {"connection_id":165172,"ip":"117.224.209.167","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:51:52] local.INFO: Processing buffer {"connection_id":165172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:51:52] local.INFO: IMEI packet received {"connection_id":165172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 23:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":165172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:51:52] local.INFO: TCP Data received {"connection_id":163901,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049995260012d196580071ff008003d013926..."} 
[2026-08-28 23:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049995260012d196580071ff008003d013926..."} 
[2026-08-28 23:51:52] local.INFO: Processing buffer {"connection_id":163901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049995260012d196580071ff008003d013926..."} 
[2026-08-28 23:51:52] local.INFO: Packet analysis {"connection_id":163901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04999"} 
[2026-08-28 23:51:52] local.INFO: Extracted packet for processing {"connection_id":163901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04999"} 
[2026-08-28 23:51:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23: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-28 23:51:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712865024001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:51:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:51:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:51:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:51:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787941180000,"timestamp_ms":1787941180000,"timestamp_seconds":1787941180,"priority":1,"record_length":96,"hex_timestamp":"000001a049995260"} 
[2026-08-28 23: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-28 23:51:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 23:51:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23: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-28 23: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-28 23:51:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:51:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:51:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:51:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:51:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:51:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:51:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:51:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712865024001,"66":2144,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:51:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:51:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:51:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712865024001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:51:52] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:51:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:51:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:51:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:51:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712865024001,"power":2144,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:51:52] local.INFO: DEBUG: GPS processor result {"connection_id":163901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711390,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:51:52] local.INFO: GPS data processed {"connection_id":163901,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:51:52] local.INFO: Acknowledgment sent {"connection_id":163901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:51:57] local.INFO: TCP Data received {"connection_id":165172,"ip":"117.224.209.167","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:51:57] local.INFO: Processing buffer {"connection_id":165172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:51:57] local.INFO: IMEI packet received {"connection_id":165172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 23:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":165172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:51:58] local.INFO: TCP Data received {"connection_id":165172,"ip":"117.224.209.167","data_length":795,"data_hex":"000000000000030f8e0a000001a049971428012d34bdc006aa4910001100e628..."} 
[2026-08-28 23:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049971428012d34bdc006aa4910001100e628..."} 
[2026-08-28 23:51:58] local.INFO: Processing buffer {"connection_id":165172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049971428012d34bdc006aa4910001100e628..."} 
[2026-08-28 23:51:58] local.INFO: Packet analysis {"connection_id":165172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04997"} 
[2026-08-28 23:51:58] local.INFO: Extracted packet for processing {"connection_id":165172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04997"} 
[2026-08-28 23:51:58] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111823120,"longitude_deg":75.8431168,"latitude_deg":11.182312,"altitude":17,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 23: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-28 23:51:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712827392001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:51:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:51:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429818368,"note":"Value kept but may cause issues"} 
[2026-08-28 23:51:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:51:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787941033000,"timestamp_ms":1787941033000,"timestamp_seconds":1787941033,"priority":1,"record_length":96,"hex_timestamp":"000001a049971428"} 
[2026-08-28 23: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-28 23:51:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 23:51:58] 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-28 23: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-28 23: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-28 23:51:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:51:58] local.INFO: Teltonika packet parsed successfully {"connection_id":165172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:51:58] local.INFO: Passing IMEI to GPS processor {"connection_id":165172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:51:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":165172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:51:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.209.167","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:51:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:51:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:51:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712827392001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3800404795429818368},"client_ip":"117.224.209.167","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:51:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:51:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:51:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712827392001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:51:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:51:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23: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-28 23:51:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429818368,"description":"Unknown IO ID 45"} 
[2026-08-28 23:51:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712827392001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800404795429818368}} 
[2026-08-28 23:51:58] local.INFO: DEBUG: GPS processor result {"connection_id":165172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:51:58] local.INFO: GPS data processed {"connection_id":165172,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:51:58] local.INFO: Acknowledgment sent {"connection_id":165172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:52:01] local.INFO: TCP Data received {"connection_id":164194,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164194,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:52:01] local.INFO: Processing buffer {"connection_id":164194,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:52:01] local.INFO: IMEI packet received {"connection_id":164194,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 23:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":164194,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:52:03] local.INFO: TCP Data received {"connection_id":165172,"ip":"117.224.209.167","data_length":795,"data_hex":"000000000000030f8e0a000001a049971428012d34bdc006aa4910001100e628..."} 
[2026-08-28 23:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049971428012d34bdc006aa4910001100e628..."} 
[2026-08-28 23:52:03] local.INFO: Processing buffer {"connection_id":165172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049971428012d34bdc006aa4910001100e628..."} 
[2026-08-28 23:52:03] local.INFO: Packet analysis {"connection_id":165172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04997"} 
[2026-08-28 23:52:03] local.INFO: Extracted packet for processing {"connection_id":165172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04997"} 
[2026-08-28 23:52:03] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111823120,"longitude_deg":75.8431168,"latitude_deg":11.182312,"altitude":17,"angle":230,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 23:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712827392001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429818368,"note":"Value kept but may cause issues"} 
[2026-08-28 23:52:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787941033000,"timestamp_ms":1787941033000,"timestamp_seconds":1787941033,"priority":1,"record_length":96,"hex_timestamp":"000001a049971428"} 
[2026-08-28 23:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:52:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-28 23:52:03] 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-28 23:52:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":165172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":165172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":165172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:52:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.209.167","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712827392001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3800404795429818368},"client_ip":"117.224.209.167","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712827392001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:52:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:52:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429818368,"description":"Unknown IO ID 45"} 
[2026-08-28 23:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712827392001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800404795429818368}} 
[2026-08-28 23:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":165172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:52:03] local.INFO: GPS data processed {"connection_id":165172,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:52:03] local.INFO: Acknowledgment sent {"connection_id":165172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:52:06] local.INFO: TCP Data received {"connection_id":164194,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164194,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:52:06] local.INFO: Processing buffer {"connection_id":164194,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:52:06] local.INFO: IMEI packet received {"connection_id":164194,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 23:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":164194,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:52:07] local.INFO: TCP Data received {"connection_id":164194,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04999e2e8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04999e2e8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:52:07] local.INFO: Processing buffer {"connection_id":164194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04999e2e8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:52:07] local.INFO: Packet analysis {"connection_id":164194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04999"} 
[2026-08-28 23:52:07] local.INFO: Extracted packet for processing {"connection_id":164194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04999"} 
[2026-08-28 23:52:07] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712874496001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:52:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:52:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787941217000,"timestamp_ms":1787941217000,"timestamp_seconds":1787941217,"priority":1,"record_length":96,"hex_timestamp":"000001a04999e2e8"} 
[2026-08-28 23:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:52:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-28 23:52:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:52:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":164194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":164194,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":164194,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:52:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712874496001,"66":25223,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712874496001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:52:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:52:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:52:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712874496001,"power":25223,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":164194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711393,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:52:07] local.INFO: GPS data processed {"connection_id":164194,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:52:07] local.INFO: Acknowledgment sent {"connection_id":164194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:52:11] local.INFO: TCP Data received {"connection_id":164194,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04999e2e8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04999e2e8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:52:11] local.INFO: Processing buffer {"connection_id":164194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04999e2e8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:52:11] local.INFO: Packet analysis {"connection_id":164194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04999"} 
[2026-08-28 23:52:11] local.INFO: Extracted packet for processing {"connection_id":164194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04999"} 
[2026-08-28 23:52:11] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712874496001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:52:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:52:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787941217000,"timestamp_ms":1787941217000,"timestamp_seconds":1787941217,"priority":1,"record_length":96,"hex_timestamp":"000001a04999e2e8"} 
[2026-08-28 23:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:52:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-28 23:52:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:52:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":164194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":164194,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":164194,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:52:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712874496001,"66":25223,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712874496001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:52:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:52:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:52:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712874496001,"power":25223,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":164194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711394,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:52:11] local.INFO: GPS data processed {"connection_id":164194,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:52:11] local.INFO: Acknowledgment sent {"connection_id":164194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:52:13] local.INFO: TCP Data received {"connection_id":163902,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163902,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:52:13] local.INFO: Processing buffer {"connection_id":163902,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:52:13] local.INFO: IMEI packet received {"connection_id":163902,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 23:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":163902,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:52:19] local.INFO: TCP Data received {"connection_id":163902,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163902,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:52:19] local.INFO: Processing buffer {"connection_id":163902,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:52:19] local.INFO: IMEI packet received {"connection_id":163902,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 23:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":163902,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:52:20] local.INFO: TCP Data received {"connection_id":163902,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049995260012d196580071ff008003d013926..."} 
[2026-08-28 23:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049995260012d196580071ff008003d013926..."} 
[2026-08-28 23:52:20] local.INFO: Processing buffer {"connection_id":163902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049995260012d196580071ff008003d013926..."} 
[2026-08-28 23:52:20] local.INFO: Packet analysis {"connection_id":163902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04999"} 
[2026-08-28 23:52:20] local.INFO: Extracted packet for processing {"connection_id":163902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04999"} 
[2026-08-28 23:52:20] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23: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-28 23:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712865024001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:52:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:52:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787941180000,"timestamp_ms":1787941180000,"timestamp_seconds":1787941180,"priority":1,"record_length":96,"hex_timestamp":"000001a049995260"} 
[2026-08-28 23: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-28 23:52:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 23:52:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23: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-28 23: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-28 23:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":163902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":163902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":163902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:52:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712865024001,"66":2144,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712865024001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:52:20] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:52:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:52:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712865024001,"power":2144,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":163902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711395,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:52:20] local.INFO: GPS data processed {"connection_id":163902,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:52:20] local.INFO: Acknowledgment sent {"connection_id":163902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:52:47] local.INFO: TCP Data received {"connection_id":165173,"ip":"117.224.209.167","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:52:47] local.INFO: Processing buffer {"connection_id":165173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:52:47] local.INFO: IMEI packet received {"connection_id":165173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 23:52:47] local.INFO: IMEI acknowledgment sent {"connection_id":165173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:52:52] local.INFO: TCP Data received {"connection_id":165173,"ip":"117.224.209.167","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:52:52] local.INFO: Processing buffer {"connection_id":165173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:52:52] local.INFO: IMEI packet received {"connection_id":165173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 23:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":165173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:52:52] local.INFO: TCP Data received {"connection_id":163902,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049995260012d196580071ff008003d013926..."} 
[2026-08-28 23:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049995260012d196580071ff008003d013926..."} 
[2026-08-28 23:52:52] local.INFO: Processing buffer {"connection_id":163902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049995260012d196580071ff008003d013926..."} 
[2026-08-28 23:52:52] local.INFO: Packet analysis {"connection_id":163902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04999"} 
[2026-08-28 23:52:52] local.INFO: Extracted packet for processing {"connection_id":163902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04999"} 
[2026-08-28 23:52:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23: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-28 23:52:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712865024001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:52:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:52:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787941180000,"timestamp_ms":1787941180000,"timestamp_seconds":1787941180,"priority":1,"record_length":96,"hex_timestamp":"000001a049995260"} 
[2026-08-28 23: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-28 23:52:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 23:52:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23: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-28 23: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-28 23:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":163902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":163902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":163902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:52:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:52:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712865024001,"66":2144,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:52:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:52:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:52:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712865024001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:52:52] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:52:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:52:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:52:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:52:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712865024001,"power":2144,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:52:52] local.INFO: DEBUG: GPS processor result {"connection_id":163902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711396,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:52:52] local.INFO: GPS data processed {"connection_id":163902,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:52:52] local.INFO: Acknowledgment sent {"connection_id":163902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:52:54] local.INFO: TCP Data received {"connection_id":165173,"ip":"117.224.209.167","data_length":795,"data_hex":"000000000000030f8e0a000001a0499babf0012d34bdc006aa4910000b00e629..."} 
[2026-08-28 23:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0499babf0012d34bdc006aa4910000b00e629..."} 
[2026-08-28 23:52:54] local.INFO: Processing buffer {"connection_id":165173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0499babf0012d34bdc006aa4910000b00e629..."} 
[2026-08-28 23:52:54] local.INFO: Packet analysis {"connection_id":165173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0499b"} 
[2026-08-28 23:52:54] local.INFO: Extracted packet for processing {"connection_id":165173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0499b"} 
[2026-08-28 23:52:54] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111823120,"longitude_deg":75.8431168,"latitude_deg":11.182312,"altitude":11,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 23:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:52:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712904448001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:52:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:52:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429818368,"note":"Value kept but may cause issues"} 
[2026-08-28 23:52:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:52:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787941334000,"timestamp_ms":1787941334000,"timestamp_seconds":1787941334,"priority":1,"record_length":96,"hex_timestamp":"000001a0499babf0"} 
[2026-08-28 23:52:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:52:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 23:52: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-28 23:52:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:52:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:52:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:52:54] local.INFO: Teltonika packet parsed successfully {"connection_id":165173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:52:54] local.INFO: Passing IMEI to GPS processor {"connection_id":165173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:52:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":165173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:52:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.209.167","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:52:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:52:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:52:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712904448001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3800404795429818368},"client_ip":"117.224.209.167","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:52:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:52:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:52:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712904448001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:52:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:52:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23: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-28 23:52:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429818368,"description":"Unknown IO ID 45"} 
[2026-08-28 23:52:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712904448001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800404795429818368}} 
[2026-08-28 23:52:54] local.INFO: DEBUG: GPS processor result {"connection_id":165173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:52:54] local.INFO: GPS data processed {"connection_id":165173,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:52:54] local.INFO: Acknowledgment sent {"connection_id":165173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:52:56] local.INFO: TCP Data received {"connection_id":165174,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165174,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:52:56] local.INFO: Processing buffer {"connection_id":165174,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:52:56] local.INFO: IMEI packet received {"connection_id":165174,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 23:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":165174,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:53:01] local.INFO: TCP Data received {"connection_id":165174,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165174,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:53:01] local.INFO: Processing buffer {"connection_id":165174,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:53:01] local.INFO: IMEI packet received {"connection_id":165174,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 23:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":165174,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:53:02] local.INFO: TCP Data received {"connection_id":165174,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04999e2e8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04999e2e8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:53:02] local.INFO: Processing buffer {"connection_id":165174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04999e2e8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:53:02] local.INFO: Packet analysis {"connection_id":165174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04999"} 
[2026-08-28 23:53:02] local.INFO: Extracted packet for processing {"connection_id":165174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04999"} 
[2026-08-28 23:53:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712874496001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:53:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:53:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787941217000,"timestamp_ms":1787941217000,"timestamp_seconds":1787941217,"priority":1,"record_length":96,"hex_timestamp":"000001a04999e2e8"} 
[2026-08-28 23:53:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:53:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-28 23:53:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:53:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:53:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":165174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":165174,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":165174,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:53:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712874496001,"66":25223,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712874496001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:53:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:53:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:53:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712874496001,"power":25223,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":165174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711398,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:53:03] local.INFO: GPS data processed {"connection_id":165174,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:53:03] local.INFO: Acknowledgment sent {"connection_id":165174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:53:19] local.INFO: TCP Data received {"connection_id":164195,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164195,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:53:19] local.INFO: Processing buffer {"connection_id":164195,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:53:19] local.INFO: IMEI packet received {"connection_id":164195,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 23:53:19] local.INFO: IMEI acknowledgment sent {"connection_id":164195,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:53:26] local.INFO: TCP Data received {"connection_id":165173,"ip":"117.224.209.167","data_length":795,"data_hex":"000000000000030f8e0a000001a0499babf0012d34bdc006aa4910000b00e629..."} 
[2026-08-28 23:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0499babf0012d34bdc006aa4910000b00e629..."} 
[2026-08-28 23:53:26] local.INFO: Processing buffer {"connection_id":165173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0499babf0012d34bdc006aa4910000b00e629..."} 
[2026-08-28 23:53:26] local.INFO: Packet analysis {"connection_id":165173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0499b"} 
[2026-08-28 23:53:26] local.INFO: Extracted packet for processing {"connection_id":165173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0499b"} 
[2026-08-28 23:53:26] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111823120,"longitude_deg":75.8431168,"latitude_deg":11.182312,"altitude":11,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 23:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712904448001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:53:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429818368,"note":"Value kept but may cause issues"} 
[2026-08-28 23:53:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787941334000,"timestamp_ms":1787941334000,"timestamp_seconds":1787941334,"priority":1,"record_length":96,"hex_timestamp":"000001a0499babf0"} 
[2026-08-28 23:53:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:53:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 23:53:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:53:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:53:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":165173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":165173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":165173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:53:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.209.167","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712904448001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3800404795429818368},"client_ip":"117.224.209.167","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712904448001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:53:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:53:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:53:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429818368,"description":"Unknown IO ID 45"} 
[2026-08-28 23:53:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712904448001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800404795429818368}} 
[2026-08-28 23:53:26] local.INFO: DEBUG: GPS processor result {"connection_id":165173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:53:26] local.INFO: GPS data processed {"connection_id":165173,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:53:26] local.INFO: Acknowledgment sent {"connection_id":165173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:53:29] local.INFO: TCP Data received {"connection_id":164195,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164195,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:53:29] local.INFO: Processing buffer {"connection_id":164195,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:53:29] local.INFO: IMEI packet received {"connection_id":164195,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 23:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":164195,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:53:31] local.INFO: TCP Data received {"connection_id":164195,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049995260012d196580071ff008003d013926..."} 
[2026-08-28 23:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049995260012d196580071ff008003d013926..."} 
[2026-08-28 23:53:31] local.INFO: Processing buffer {"connection_id":164195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049995260012d196580071ff008003d013926..."} 
[2026-08-28 23:53:31] local.INFO: Packet analysis {"connection_id":164195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04999"} 
[2026-08-28 23:53:31] local.INFO: Extracted packet for processing {"connection_id":164195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04999"} 
[2026-08-28 23:53:31] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:53:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:53:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712865024001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:53:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:53:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:53:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:53:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787941180000,"timestamp_ms":1787941180000,"timestamp_seconds":1787941180,"priority":1,"record_length":96,"hex_timestamp":"000001a049995260"} 
[2026-08-28 23:53:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:53:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:53:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 23:53:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:53:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:53:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:53:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:53:31] local.INFO: Teltonika packet parsed successfully {"connection_id":164195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:53:31] local.INFO: Passing IMEI to GPS processor {"connection_id":164195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:53:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":164195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:53:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:53:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:53:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:53:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712865024001,"66":2144,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:53:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:53:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:53:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712865024001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:53:31] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:53:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:53:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:53:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:53:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712865024001,"power":2144,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:53:31] local.INFO: DEBUG: GPS processor result {"connection_id":164195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711400,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:53:31] local.INFO: GPS data processed {"connection_id":164195,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:53:31] local.INFO: Acknowledgment sent {"connection_id":164195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:53:32] local.INFO: TCP Data received {"connection_id":164195,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049995260012d196580071ff008003d013926..."} 
[2026-08-28 23:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049995260012d196580071ff008003d013926..."} 
[2026-08-28 23:53:32] local.INFO: Processing buffer {"connection_id":164195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049995260012d196580071ff008003d013926..."} 
[2026-08-28 23:53:32] local.INFO: Packet analysis {"connection_id":164195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04999"} 
[2026-08-28 23:53:32] local.INFO: Extracted packet for processing {"connection_id":164195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04999"} 
[2026-08-28 23:53:32] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712865024001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:53:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787941180000,"timestamp_ms":1787941180000,"timestamp_seconds":1787941180,"priority":1,"record_length":96,"hex_timestamp":"000001a049995260"} 
[2026-08-28 23:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:53:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 23:53:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:53:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":164195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":164195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":164195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:53:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712865024001,"66":2144,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712865024001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:53:32] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:53:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712865024001,"power":2144,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":164195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711401,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:53:32] local.INFO: GPS data processed {"connection_id":164195,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:53:32] local.INFO: Acknowledgment sent {"connection_id":164195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:53:34] local.INFO: TCP Data received {"connection_id":165174,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04999e2e8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04999e2e8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:53:34] local.INFO: Processing buffer {"connection_id":165174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04999e2e8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:53:34] local.INFO: Packet analysis {"connection_id":165174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04999"} 
[2026-08-28 23:53:34] local.INFO: Extracted packet for processing {"connection_id":165174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04999"} 
[2026-08-28 23:53:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712874496001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787941217000,"timestamp_ms":1787941217000,"timestamp_seconds":1787941217,"priority":1,"record_length":96,"hex_timestamp":"000001a04999e2e8"} 
[2026-08-28 23:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:53:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-28 23:53:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:53:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":165174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":165174,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":165174,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712874496001,"66":25223,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712874496001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:53:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:53:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712874496001,"power":25223,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":165174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711402,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:53:34] local.INFO: GPS data processed {"connection_id":165174,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:53:34] local.INFO: Acknowledgment sent {"connection_id":165174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:53:46] local.INFO: TCP Data received {"connection_id":166527,"ip":"117.224.209.167","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:53:46] local.INFO: Processing buffer {"connection_id":166527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:53:46] local.INFO: IMEI packet received {"connection_id":166527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 23:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":166527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:53:52] local.INFO: TCP Data received {"connection_id":166527,"ip":"117.224.209.167","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:53:52] local.INFO: Processing buffer {"connection_id":166527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:53:52] local.INFO: IMEI packet received {"connection_id":166527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 23:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":166527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:53:53] local.INFO: TCP Data received {"connection_id":166527,"ip":"117.224.209.167","data_length":795,"data_hex":"000000000000030f8e0a000001a0499babf0012d34bdc006aa4910000b00e629..."} 
[2026-08-28 23:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0499babf0012d34bdc006aa4910000b00e629..."} 
[2026-08-28 23:53:53] local.INFO: Processing buffer {"connection_id":166527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0499babf0012d34bdc006aa4910000b00e629..."} 
[2026-08-28 23:53:53] local.INFO: Packet analysis {"connection_id":166527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0499b"} 
[2026-08-28 23:53:53] local.INFO: Extracted packet for processing {"connection_id":166527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0499b"} 
[2026-08-28 23:53:53] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111823120,"longitude_deg":75.8431168,"latitude_deg":11.182312,"altitude":11,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 23: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-28 23:53:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712904448001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:53:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:53:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429818368,"note":"Value kept but may cause issues"} 
[2026-08-28 23:53:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:53:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787941334000,"timestamp_ms":1787941334000,"timestamp_seconds":1787941334,"priority":1,"record_length":96,"hex_timestamp":"000001a0499babf0"} 
[2026-08-28 23: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-28 23:53:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 23:53: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-28 23: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-28 23: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-28 23:53:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:53:53] local.INFO: Teltonika packet parsed successfully {"connection_id":166527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:53:53] local.INFO: Passing IMEI to GPS processor {"connection_id":166527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:53:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":166527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:53:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.209.167","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:53:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:53:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:53:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712904448001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3800404795429818368},"client_ip":"117.224.209.167","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:53:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:53:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:53:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712904448001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:53:53] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:53:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23: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-28 23:53:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429818368,"description":"Unknown IO ID 45"} 
[2026-08-28 23:53:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712904448001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800404795429818368}} 
[2026-08-28 23:53:53] local.INFO: DEBUG: GPS processor result {"connection_id":166527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:53:53] local.INFO: GPS data processed {"connection_id":166527,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:53:53] local.INFO: Acknowledgment sent {"connection_id":166527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:53:55] local.INFO: TCP Data received {"connection_id":164196,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164196,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:53:55] local.INFO: Processing buffer {"connection_id":164196,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:53:55] local.INFO: IMEI packet received {"connection_id":164196,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 23:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":164196,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:54:01] local.INFO: TCP Data received {"connection_id":164196,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164196,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:54:01] local.INFO: Processing buffer {"connection_id":164196,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:54:01] local.INFO: IMEI packet received {"connection_id":164196,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 23:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":164196,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:54:02] local.INFO: TCP Data received {"connection_id":164196,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04999e2e8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04999e2e8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:54:02] local.INFO: Processing buffer {"connection_id":164196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04999e2e8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:54:02] local.INFO: Packet analysis {"connection_id":164196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04999"} 
[2026-08-28 23:54:02] local.INFO: Extracted packet for processing {"connection_id":164196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04999"} 
[2026-08-28 23:54:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712874496001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:54:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:54:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787941217000,"timestamp_ms":1787941217000,"timestamp_seconds":1787941217,"priority":1,"record_length":96,"hex_timestamp":"000001a04999e2e8"} 
[2026-08-28 23:54:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:54:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-28 23:54:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:54:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:54:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":164196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":164196,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":164196,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:54:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712874496001,"66":25223,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712874496001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:54:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:54:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:54:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712874496001,"power":25223,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:54:02] local.INFO: DEBUG: GPS processor result {"connection_id":164196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711404,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:54:02] local.INFO: GPS data processed {"connection_id":164196,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:54:02] local.INFO: Acknowledgment sent {"connection_id":164196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:54:14] local.INFO: TCP Data received {"connection_id":164197,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164197,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:54:14] local.INFO: Processing buffer {"connection_id":164197,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:54:14] local.INFO: IMEI packet received {"connection_id":164197,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 23:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":164197,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:54:19] local.INFO: TCP Data received {"connection_id":164197,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164197,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:54:19] local.INFO: Processing buffer {"connection_id":164197,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:54:19] local.INFO: IMEI packet received {"connection_id":164197,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 23:54:19] local.INFO: IMEI acknowledgment sent {"connection_id":164197,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:54:20] local.INFO: TCP Data received {"connection_id":164197,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049995260012d196580071ff008003d013926..."} 
[2026-08-28 23:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049995260012d196580071ff008003d013926..."} 
[2026-08-28 23:54:20] local.INFO: Processing buffer {"connection_id":164197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049995260012d196580071ff008003d013926..."} 
[2026-08-28 23:54:20] local.INFO: Packet analysis {"connection_id":164197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04999"} 
[2026-08-28 23:54:20] local.INFO: Extracted packet for processing {"connection_id":164197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04999"} 
[2026-08-28 23:54:20] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:54:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712865024001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:54:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:54:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:54:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:54:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787941180000,"timestamp_ms":1787941180000,"timestamp_seconds":1787941180,"priority":1,"record_length":96,"hex_timestamp":"000001a049995260"} 
[2026-08-28 23:54:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:54:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 23:54:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:54:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:54:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:54:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:54:20] local.INFO: Teltonika packet parsed successfully {"connection_id":164197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:54:20] local.INFO: Passing IMEI to GPS processor {"connection_id":164197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:54:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":164197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:54:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:54:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:54:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:54:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712865024001,"66":2144,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:54:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:54:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:54:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712865024001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:54:20] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:54:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:54:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:54:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:54:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712865024001,"power":2144,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:54:20] local.INFO: DEBUG: GPS processor result {"connection_id":164197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711405,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:54:20] local.INFO: GPS data processed {"connection_id":164197,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:54:20] local.INFO: Acknowledgment sent {"connection_id":164197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:54:25] local.INFO: TCP Data received {"connection_id":166527,"ip":"117.224.209.167","data_length":795,"data_hex":"000000000000030f8e0a000001a0499babf0012d34bdc006aa4910000b00e629..."} 
[2026-08-28 23:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0499babf0012d34bdc006aa4910000b00e629..."} 
[2026-08-28 23:54:25] local.INFO: Processing buffer {"connection_id":166527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0499babf0012d34bdc006aa4910000b00e629..."} 
[2026-08-28 23:54:25] local.INFO: Packet analysis {"connection_id":166527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0499b"} 
[2026-08-28 23:54:25] local.INFO: Extracted packet for processing {"connection_id":166527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0499b"} 
[2026-08-28 23:54:25] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111823120,"longitude_deg":75.8431168,"latitude_deg":11.182312,"altitude":11,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 23:54:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:54:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712904448001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:54:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:54:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429818368,"note":"Value kept but may cause issues"} 
[2026-08-28 23:54:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:54:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787941334000,"timestamp_ms":1787941334000,"timestamp_seconds":1787941334,"priority":1,"record_length":96,"hex_timestamp":"000001a0499babf0"} 
[2026-08-28 23:54:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:54:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:54:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 23:54:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:54:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:54:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:54:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:54:25] local.INFO: Teltonika packet parsed successfully {"connection_id":166527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:54:25] local.INFO: Passing IMEI to GPS processor {"connection_id":166527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:54:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":166527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:54:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.209.167","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:54:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:54:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:54:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712904448001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3800404795429818368},"client_ip":"117.224.209.167","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:54:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:54:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:54:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712904448001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:54:25] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:54:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:54: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-28 23:54:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429818368,"description":"Unknown IO ID 45"} 
[2026-08-28 23:54:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712904448001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800404795429818368}} 
[2026-08-28 23:54:25] local.INFO: DEBUG: GPS processor result {"connection_id":166527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:54:25] local.INFO: GPS data processed {"connection_id":166527,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:54:25] local.INFO: Acknowledgment sent {"connection_id":166527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:54:34] local.INFO: TCP Data received {"connection_id":164196,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04999e2e8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04999e2e8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:54:34] local.INFO: Processing buffer {"connection_id":164196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04999e2e8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:54:34] local.INFO: Packet analysis {"connection_id":164196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04999"} 
[2026-08-28 23:54:34] local.INFO: Extracted packet for processing {"connection_id":164196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04999"} 
[2026-08-28 23:54:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712874496001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:54:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:54:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787941217000,"timestamp_ms":1787941217000,"timestamp_seconds":1787941217,"priority":1,"record_length":96,"hex_timestamp":"000001a04999e2e8"} 
[2026-08-28 23:54:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:54:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-28 23:54:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:54:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:54:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":164196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":164196,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":164196,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:54:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712874496001,"66":25223,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712874496001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:54:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:54:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:54:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712874496001,"power":25223,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":164196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711407,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:54:34] local.INFO: GPS data processed {"connection_id":164196,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:54:34] local.INFO: Acknowledgment sent {"connection_id":164196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:54:52] local.INFO: TCP Data received {"connection_id":165175,"ip":"117.224.209.167","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:54:52] local.INFO: Processing buffer {"connection_id":165175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:54:52] local.INFO: IMEI packet received {"connection_id":165175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 23:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":165175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:54:52] local.INFO: TCP Data received {"connection_id":164197,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a049995260012d196580071ff008003d013926..."} 
[2026-08-28 23:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049995260012d196580071ff008003d013926..."} 
[2026-08-28 23:54:52] local.INFO: Processing buffer {"connection_id":164197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049995260012d196580071ff008003d013926..."} 
[2026-08-28 23:54:52] local.INFO: Packet analysis {"connection_id":164197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04999"} 
[2026-08-28 23:54:52] local.INFO: Extracted packet for processing {"connection_id":164197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04999"} 
[2026-08-28 23:54:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":38,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:54:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712865024001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:54:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:54:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:54:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:54:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787941180000,"timestamp_ms":1787941180000,"timestamp_seconds":1787941180,"priority":1,"record_length":96,"hex_timestamp":"000001a049995260"} 
[2026-08-28 23:54:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:54:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-28 23:54:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:54:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:54:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:54:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:54:52] local.INFO: Teltonika packet parsed successfully {"connection_id":164197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:54:52] local.INFO: Passing IMEI to GPS processor {"connection_id":164197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:54:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":164197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:54:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:54:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:54:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:54:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712865024001,"66":2144,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:54:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:54:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:54:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712865024001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:54:52] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:54:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:54:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:54:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:54:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712865024001,"power":2144,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:54:52] local.INFO: DEBUG: GPS processor result {"connection_id":164197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711408,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:54:52] local.INFO: GPS data processed {"connection_id":164197,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:54:52] local.INFO: Acknowledgment sent {"connection_id":164197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:54:55] local.INFO: TCP Data received {"connection_id":163903,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163903,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:54:55] local.INFO: Processing buffer {"connection_id":163903,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:54:55] local.INFO: IMEI packet received {"connection_id":163903,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 23:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":163903,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:54:57] local.INFO: TCP Data received {"connection_id":165175,"ip":"117.224.209.167","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:54:57] local.INFO: Processing buffer {"connection_id":165175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:54:57] local.INFO: IMEI packet received {"connection_id":165175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 23:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":165175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:54:58] local.INFO: TCP Data received {"connection_id":165175,"ip":"117.224.209.167","data_length":795,"data_hex":"000000000000030f8e0a000001a0499babf0012d34bdc006aa4910000b00e629..."} 
[2026-08-28 23:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0499babf0012d34bdc006aa4910000b00e629..."} 
[2026-08-28 23:54:58] local.INFO: Processing buffer {"connection_id":165175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0499babf0012d34bdc006aa4910000b00e629..."} 
[2026-08-28 23:54:58] local.INFO: Packet analysis {"connection_id":165175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0499b"} 
[2026-08-28 23:54:58] local.INFO: Extracted packet for processing {"connection_id":165175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0499b"} 
[2026-08-28 23:54:58] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111823120,"longitude_deg":75.8431168,"latitude_deg":11.182312,"altitude":11,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 23:54:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:54:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712904448001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:54:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:54:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429818368,"note":"Value kept but may cause issues"} 
[2026-08-28 23:54:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:54:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787941334000,"timestamp_ms":1787941334000,"timestamp_seconds":1787941334,"priority":1,"record_length":96,"hex_timestamp":"000001a0499babf0"} 
[2026-08-28 23:54:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:54:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:54:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 23:54:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:54:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:54:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:54:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:54:58] local.INFO: Teltonika packet parsed successfully {"connection_id":165175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:54:58] local.INFO: Passing IMEI to GPS processor {"connection_id":165175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:54:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":165175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:54:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.209.167","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:54:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:54:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:54:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712904448001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3800404795429818368},"client_ip":"117.224.209.167","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:54:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:54:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:54:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712904448001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:54:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:54:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:54: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-28 23:54:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429818368,"description":"Unknown IO ID 45"} 
[2026-08-28 23:54:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712904448001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800404795429818368}} 
[2026-08-28 23:54:58] local.INFO: DEBUG: GPS processor result {"connection_id":165175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:54:58] local.INFO: GPS data processed {"connection_id":165175,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:54:58] local.INFO: Acknowledgment sent {"connection_id":165175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:55:01] local.INFO: TCP Data received {"connection_id":163903,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163903,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:55:01] local.INFO: Processing buffer {"connection_id":163903,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:55:01] local.INFO: IMEI packet received {"connection_id":163903,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 23:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":163903,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:55:02] local.INFO: TCP Data received {"connection_id":163903,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04999e2e8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04999e2e8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:55:02] local.INFO: Processing buffer {"connection_id":163903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04999e2e8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:55:02] local.INFO: Packet analysis {"connection_id":163903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04999"} 
[2026-08-28 23:55:02] local.INFO: Extracted packet for processing {"connection_id":163903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04999"} 
[2026-08-28 23:55:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:55:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712874496001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:55:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:55:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:55:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:55:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787941217000,"timestamp_ms":1787941217000,"timestamp_seconds":1787941217,"priority":1,"record_length":96,"hex_timestamp":"000001a04999e2e8"} 
[2026-08-28 23:55:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:55:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:55:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-28 23:55:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:55:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:55:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:55:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:55:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:55:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163903,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:55:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163903,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:55:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:55:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:55:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:55:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712874496001,"66":25223,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:55:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:55:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:55:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712874496001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:55:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:55:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:55:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:55:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:55:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712874496001,"power":25223,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:55:02] local.INFO: DEBUG: GPS processor result {"connection_id":163903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711410,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:55:02] local.INFO: GPS data processed {"connection_id":163903,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:55:02] local.INFO: Acknowledgment sent {"connection_id":163903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:55:03] local.INFO: TCP Data received {"connection_id":165175,"ip":"117.224.209.167","data_length":795,"data_hex":"000000000000030f8e0a000001a0499babf0012d34bdc006aa4910000b00e629..."} 
[2026-08-28 23:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0499babf0012d34bdc006aa4910000b00e629..."} 
[2026-08-28 23:55:03] local.INFO: Processing buffer {"connection_id":165175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0499babf0012d34bdc006aa4910000b00e629..."} 
[2026-08-28 23:55:03] local.INFO: Packet analysis {"connection_id":165175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0499b"} 
[2026-08-28 23:55:03] local.INFO: Extracted packet for processing {"connection_id":165175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0499b"} 
[2026-08-28 23:55:03] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111823120,"longitude_deg":75.8431168,"latitude_deg":11.182312,"altitude":11,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 23:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712904448001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:55:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429818368,"note":"Value kept but may cause issues"} 
[2026-08-28 23:55:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787941334000,"timestamp_ms":1787941334000,"timestamp_seconds":1787941334,"priority":1,"record_length":96,"hex_timestamp":"000001a0499babf0"} 
[2026-08-28 23:55:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:55:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 23:55:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:55:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:55:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":165175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":165175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":165175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:55:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.209.167","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712904448001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3800404795429818368},"client_ip":"117.224.209.167","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712904448001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:55:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:55:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:55:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:55:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429818368,"description":"Unknown IO ID 45"} 
[2026-08-28 23:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712904448001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800404795429818368}} 
[2026-08-28 23:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":165175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:55:03] local.INFO: GPS data processed {"connection_id":165175,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:55:03] local.INFO: Acknowledgment sent {"connection_id":165175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:55:13] local.INFO: TCP Data received {"connection_id":166528,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166528,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:55:13] local.INFO: Processing buffer {"connection_id":166528,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:55:13] local.INFO: IMEI packet received {"connection_id":166528,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 23:55:13] local.INFO: IMEI acknowledgment sent {"connection_id":166528,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:55:19] local.INFO: TCP Data received {"connection_id":166528,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166528,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:55:19] local.INFO: Processing buffer {"connection_id":166528,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:55:19] local.INFO: IMEI packet received {"connection_id":166528,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 23:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":166528,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:55:20] local.INFO: TCP Data received {"connection_id":166528,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0499de640012d196580071ff008003d013923..."} 
[2026-08-28 23:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0499de640012d196580071ff008003d013923..."} 
[2026-08-28 23:55:20] local.INFO: Processing buffer {"connection_id":166528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0499de640012d196580071ff008003d013923..."} 
[2026-08-28 23:55:20] local.INFO: Packet analysis {"connection_id":166528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0499d"} 
[2026-08-28 23:55:20] local.INFO: Extracted packet for processing {"connection_id":166528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0499d"} 
[2026-08-28 23:55:20] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23: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-28 23:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712942080001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:55:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:55:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787941480000,"timestamp_ms":1787941480000,"timestamp_seconds":1787941480,"priority":1,"record_length":96,"hex_timestamp":"000001a0499de640"} 
[2026-08-28 23: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-28 23:55:20] 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-28 23:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-28 23:55:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23: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-28 23: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-28 23:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":166528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":166528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":166528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:55:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712942080001,"66":2155,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712942080001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:55:20] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:55:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:55:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712942080001,"power":2155,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":166528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711412,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:55:20] local.INFO: GPS data processed {"connection_id":166528,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:55:20] local.INFO: Acknowledgment sent {"connection_id":166528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:55:34] local.INFO: TCP Data received {"connection_id":163903,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a04999e2e8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a04999e2e8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:55:34] local.INFO: Processing buffer {"connection_id":163903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a04999e2e8012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:55:34] local.INFO: Packet analysis {"connection_id":163903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a04999"} 
[2026-08-28 23:55:34] local.INFO: Extracted packet for processing {"connection_id":163903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a04999"} 
[2026-08-28 23:55:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712874496001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:55:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:55:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787941217000,"timestamp_ms":1787941217000,"timestamp_seconds":1787941217,"priority":1,"record_length":96,"hex_timestamp":"000001a04999e2e8"} 
[2026-08-28 23:55:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:55:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-28 23:55:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:55:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:55:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":163903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":163903,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":163903,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:55:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712874496001,"66":25223,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712874496001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:55:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:55:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:55:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:55:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712874496001,"power":25223,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":163903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711413,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:55:34] local.INFO: GPS data processed {"connection_id":163903,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:55:34] local.INFO: Acknowledgment sent {"connection_id":163903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:55:47] local.INFO: TCP Data received {"connection_id":164198,"ip":"117.224.209.167","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:55:47] local.INFO: Processing buffer {"connection_id":164198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:55:47] local.INFO: IMEI packet received {"connection_id":164198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 23:55:47] local.INFO: IMEI acknowledgment sent {"connection_id":164198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:55:52] local.INFO: TCP Data received {"connection_id":164198,"ip":"117.224.209.167","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:55:52] local.INFO: Processing buffer {"connection_id":164198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:55:52] local.INFO: IMEI packet received {"connection_id":164198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 23:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":164198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:55:52] local.INFO: TCP Data received {"connection_id":166528,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0499de640012d196580071ff008003d013923..."} 
[2026-08-28 23:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0499de640012d196580071ff008003d013923..."} 
[2026-08-28 23:55:52] local.INFO: Processing buffer {"connection_id":166528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0499de640012d196580071ff008003d013923..."} 
[2026-08-28 23:55:52] local.INFO: Packet analysis {"connection_id":166528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0499d"} 
[2026-08-28 23:55:52] local.INFO: Extracted packet for processing {"connection_id":166528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0499d"} 
[2026-08-28 23:55:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:55:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:55:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712942080001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:55:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:55:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:55:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:55:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787941480000,"timestamp_ms":1787941480000,"timestamp_seconds":1787941480,"priority":1,"record_length":96,"hex_timestamp":"000001a0499de640"} 
[2026-08-28 23:55:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:55:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:55:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-28 23:55:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:55: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-28 23:55:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:55:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:55:52] local.INFO: Teltonika packet parsed successfully {"connection_id":166528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:55:52] local.INFO: Passing IMEI to GPS processor {"connection_id":166528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:55:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":166528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:55:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:55:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:55:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:55:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712942080001,"66":2155,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:55:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:55:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:55:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712942080001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:55:52] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:55:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:55:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:55:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:55:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712942080001,"power":2155,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:55:52] local.INFO: DEBUG: GPS processor result {"connection_id":166528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711414,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:55:52] local.INFO: GPS data processed {"connection_id":166528,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:55:52] local.INFO: Acknowledgment sent {"connection_id":166528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:55:53] local.INFO: TCP Data received {"connection_id":164198,"ip":"117.224.209.167","data_length":795,"data_hex":"000000000000030f8e0a000001a0499babf0012d34bdc006aa4910000b00e629..."} 
[2026-08-28 23:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0499babf0012d34bdc006aa4910000b00e629..."} 
[2026-08-28 23:55:53] local.INFO: Processing buffer {"connection_id":164198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0499babf0012d34bdc006aa4910000b00e629..."} 
[2026-08-28 23:55:53] local.INFO: Packet analysis {"connection_id":164198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0499b"} 
[2026-08-28 23:55:53] local.INFO: Extracted packet for processing {"connection_id":164198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0499b"} 
[2026-08-28 23:55:53] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111823120,"longitude_deg":75.8431168,"latitude_deg":11.182312,"altitude":11,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 23: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-28 23:55:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712904448001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:55:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:55:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429818368,"note":"Value kept but may cause issues"} 
[2026-08-28 23:55:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:55:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787941334000,"timestamp_ms":1787941334000,"timestamp_seconds":1787941334,"priority":1,"record_length":96,"hex_timestamp":"000001a0499babf0"} 
[2026-08-28 23: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-28 23:55:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 23:55: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-28 23: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-28 23: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-28 23:55:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:55:53] local.INFO: Teltonika packet parsed successfully {"connection_id":164198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:55:53] local.INFO: Passing IMEI to GPS processor {"connection_id":164198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:55:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":164198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:55:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.209.167","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:55:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:55:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:55:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712904448001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3800404795429818368},"client_ip":"117.224.209.167","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:55:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:55:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:55:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712904448001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:55:53] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:55:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23: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-28 23:55:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429818368,"description":"Unknown IO ID 45"} 
[2026-08-28 23:55:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712904448001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800404795429818368}} 
[2026-08-28 23:55:53] local.INFO: DEBUG: GPS processor result {"connection_id":164198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:55:53] local.INFO: GPS data processed {"connection_id":164198,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:55:53] local.INFO: Acknowledgment sent {"connection_id":164198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:55:55] local.INFO: TCP Data received {"connection_id":163904,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163904,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:55:55] local.INFO: Processing buffer {"connection_id":163904,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:55:55] local.INFO: IMEI packet received {"connection_id":163904,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 23:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":163904,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:55:56] local.INFO: TCP Data received {"connection_id":163904,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163904,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:55:56] local.INFO: Processing buffer {"connection_id":163904,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:55:56] local.INFO: IMEI packet received {"connection_id":163904,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 23:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":163904,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:56:01] local.INFO: TCP Data received {"connection_id":163904,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163904,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:56:01] local.INFO: Processing buffer {"connection_id":163904,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:56:01] local.INFO: IMEI packet received {"connection_id":163904,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 23:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":163904,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:56:02] local.INFO: TCP Data received {"connection_id":163904,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0499e7ab0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0499e7ab0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:56:02] local.INFO: Processing buffer {"connection_id":163904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0499e7ab0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:56:02] local.INFO: Packet analysis {"connection_id":163904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0499e"} 
[2026-08-28 23:56:02] local.INFO: Extracted packet for processing {"connection_id":163904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0499e"} 
[2026-08-28 23:56:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712951552001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:56:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787941518000,"timestamp_ms":1787941518000,"timestamp_seconds":1787941518,"priority":1,"record_length":96,"hex_timestamp":"000001a0499e7ab0"} 
[2026-08-28 23:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:56:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 23:56:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:56:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":163904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":163904,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":163904,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:56:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712951552001,"66":25223,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712951552001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:56:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:56:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712951552001,"power":25223,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":163904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711416,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:56:02] local.INFO: GPS data processed {"connection_id":163904,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:56:02] local.INFO: Acknowledgment sent {"connection_id":163904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:56:19] local.INFO: TCP Data received {"connection_id":166529,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:56:19] local.INFO: Processing buffer {"connection_id":166529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:56:19] local.INFO: IMEI packet received {"connection_id":166529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 23:56:19] local.INFO: IMEI acknowledgment sent {"connection_id":166529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:56:24] local.INFO: TCP Data received {"connection_id":166529,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:56:24] local.INFO: Processing buffer {"connection_id":166529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:56:24] local.INFO: IMEI packet received {"connection_id":166529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 23:56:24] local.INFO: IMEI acknowledgment sent {"connection_id":166529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:56:25] local.INFO: TCP Data received {"connection_id":164198,"ip":"117.224.209.167","data_length":795,"data_hex":"000000000000030f8e0a000001a0499babf0012d34bdc006aa4910000b00e629..."} 
[2026-08-28 23:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0499babf0012d34bdc006aa4910000b00e629..."} 
[2026-08-28 23:56:25] local.INFO: Processing buffer {"connection_id":164198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0499babf0012d34bdc006aa4910000b00e629..."} 
[2026-08-28 23:56:25] local.INFO: Packet analysis {"connection_id":164198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0499b"} 
[2026-08-28 23:56:25] local.INFO: Extracted packet for processing {"connection_id":164198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0499b"} 
[2026-08-28 23:56:25] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111823120,"longitude_deg":75.8431168,"latitude_deg":11.182312,"altitude":11,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 23:56:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:56:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712904448001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:56:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:56:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429818368,"note":"Value kept but may cause issues"} 
[2026-08-28 23:56:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:56:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787941334000,"timestamp_ms":1787941334000,"timestamp_seconds":1787941334,"priority":1,"record_length":96,"hex_timestamp":"000001a0499babf0"} 
[2026-08-28 23:56:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:56:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:56:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 23:56:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:56:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:56:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:56:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:56:25] local.INFO: Teltonika packet parsed successfully {"connection_id":164198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:56:25] local.INFO: Passing IMEI to GPS processor {"connection_id":164198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:56:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":164198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:56:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.209.167","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:56:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:56:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:56:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712904448001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3800404795429818368},"client_ip":"117.224.209.167","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:56:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:56:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:56:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712904448001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:56:25] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:56:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:56: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-28 23:56:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429818368,"description":"Unknown IO ID 45"} 
[2026-08-28 23:56:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712904448001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800404795429818368}} 
[2026-08-28 23:56:25] local.INFO: DEBUG: GPS processor result {"connection_id":164198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:56:25] local.INFO: GPS data processed {"connection_id":164198,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:56:25] local.INFO: Acknowledgment sent {"connection_id":164198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:56:25] local.INFO: TCP Data received {"connection_id":166529,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0499de640012d196580071ff008003d013923..."} 
[2026-08-28 23:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0499de640012d196580071ff008003d013923..."} 
[2026-08-28 23:56:25] local.INFO: Processing buffer {"connection_id":166529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0499de640012d196580071ff008003d013923..."} 
[2026-08-28 23:56:25] local.INFO: Packet analysis {"connection_id":166529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0499d"} 
[2026-08-28 23:56:25] local.INFO: Extracted packet for processing {"connection_id":166529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0499d"} 
[2026-08-28 23:56:25] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:56:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:56:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712942080001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:56:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:56:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:56:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:56:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787941480000,"timestamp_ms":1787941480000,"timestamp_seconds":1787941480,"priority":1,"record_length":96,"hex_timestamp":"000001a0499de640"} 
[2026-08-28 23:56:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:56:25] 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-28 23:56:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-28 23:56:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:56:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:56:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:56:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:56:25] local.INFO: Teltonika packet parsed successfully {"connection_id":166529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:56:25] local.INFO: Passing IMEI to GPS processor {"connection_id":166529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:56:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":166529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:56:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:56:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:56:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:56:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712942080001,"66":2155,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:56:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:56:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:56:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712942080001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:56:25] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:56:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:56:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:56:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:56:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712942080001,"power":2155,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:56:25] local.INFO: DEBUG: GPS processor result {"connection_id":166529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711418,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:56:25] local.INFO: GPS data processed {"connection_id":166529,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:56:25] local.INFO: Acknowledgment sent {"connection_id":166529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:56:29] local.INFO: TCP Data received {"connection_id":166529,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0499de640012d196580071ff008003d013923..."} 
[2026-08-28 23:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0499de640012d196580071ff008003d013923..."} 
[2026-08-28 23:56:29] local.INFO: Processing buffer {"connection_id":166529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0499de640012d196580071ff008003d013923..."} 
[2026-08-28 23:56:29] local.INFO: Packet analysis {"connection_id":166529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0499d"} 
[2026-08-28 23:56:29] local.INFO: Extracted packet for processing {"connection_id":166529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0499d"} 
[2026-08-28 23:56:29] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:56:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:56:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712942080001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:56:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:56:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:56:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:56:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787941480000,"timestamp_ms":1787941480000,"timestamp_seconds":1787941480,"priority":1,"record_length":96,"hex_timestamp":"000001a0499de640"} 
[2026-08-28 23:56:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:56:29] 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-28 23:56:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-28 23:56:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:56:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:56:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:56:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:56:29] local.INFO: Teltonika packet parsed successfully {"connection_id":166529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:56:29] local.INFO: Passing IMEI to GPS processor {"connection_id":166529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:56:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":166529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:56:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:56:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:56:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:56:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712942080001,"66":2155,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:56:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:56:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:56:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712942080001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:56:29] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:56:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:56:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:56:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:56:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712942080001,"power":2155,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:56:30] local.INFO: DEBUG: GPS processor result {"connection_id":166529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711419,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:56:30] local.INFO: GPS data processed {"connection_id":166529,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:56:30] local.INFO: Acknowledgment sent {"connection_id":166529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:56:33] local.INFO: TCP Data received {"connection_id":163904,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0499e7ab0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":163904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0499e7ab0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:56:33] local.INFO: Processing buffer {"connection_id":163904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0499e7ab0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:56:33] local.INFO: Packet analysis {"connection_id":163904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0499e"} 
[2026-08-28 23:56:33] local.INFO: Extracted packet for processing {"connection_id":163904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0499e"} 
[2026-08-28 23:56:33] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:56:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712951552001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:56:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787941518000,"timestamp_ms":1787941518000,"timestamp_seconds":1787941518,"priority":1,"record_length":96,"hex_timestamp":"000001a0499e7ab0"} 
[2026-08-28 23:56:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:56:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:56:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 23:56:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:56:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:56:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":163904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":163904,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":163904,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:56:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712951552001,"66":25223,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712951552001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:56:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:56:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712951552001,"power":25223,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":163904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711420,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:56:34] local.INFO: GPS data processed {"connection_id":163904,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:56:34] local.INFO: Acknowledgment sent {"connection_id":163904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:56:47] local.INFO: TCP Data received {"connection_id":166530,"ip":"117.224.209.167","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:56:47] local.INFO: Processing buffer {"connection_id":166530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:56:47] local.INFO: IMEI packet received {"connection_id":166530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 23:56:47] local.INFO: IMEI acknowledgment sent {"connection_id":166530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:56:52] local.INFO: TCP Data received {"connection_id":166530,"ip":"117.224.209.167","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:56:52] local.INFO: Processing buffer {"connection_id":166530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:56:52] local.INFO: IMEI packet received {"connection_id":166530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 23:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":166530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:56:53] local.INFO: TCP Data received {"connection_id":166530,"ip":"117.224.209.167","data_length":795,"data_hex":"000000000000030f8e0a000001a0499babf0012d34bdc006aa4910000b00e629..."} 
[2026-08-28 23:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0499babf0012d34bdc006aa4910000b00e629..."} 
[2026-08-28 23:56:53] local.INFO: Processing buffer {"connection_id":166530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0499babf0012d34bdc006aa4910000b00e629..."} 
[2026-08-28 23:56:53] local.INFO: Packet analysis {"connection_id":166530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0499b"} 
[2026-08-28 23:56:53] local.INFO: Extracted packet for processing {"connection_id":166530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0499b"} 
[2026-08-28 23:56:53] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111823120,"longitude_deg":75.8431168,"latitude_deg":11.182312,"altitude":11,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 23:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:56:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712904448001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:56:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:56:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429818368,"note":"Value kept but may cause issues"} 
[2026-08-28 23:56:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:56:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787941334000,"timestamp_ms":1787941334000,"timestamp_seconds":1787941334,"priority":1,"record_length":96,"hex_timestamp":"000001a0499babf0"} 
[2026-08-28 23:56:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:56:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 23:56: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-28 23:56:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:56:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:56:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:56:53] local.INFO: Teltonika packet parsed successfully {"connection_id":166530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:56:53] local.INFO: Passing IMEI to GPS processor {"connection_id":166530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:56:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":166530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:56:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.209.167","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:56:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:56:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:56:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712904448001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3800404795429818368},"client_ip":"117.224.209.167","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:56:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:56:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:56:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712904448001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:56:53] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:56:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:56: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-28 23:56:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429818368,"description":"Unknown IO ID 45"} 
[2026-08-28 23:56:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712904448001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800404795429818368}} 
[2026-08-28 23:56:53] local.INFO: DEBUG: GPS processor result {"connection_id":166530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:56:53] local.INFO: GPS data processed {"connection_id":166530,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:56:53] local.INFO: Acknowledgment sent {"connection_id":166530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:56:56] local.INFO: TCP Data received {"connection_id":164199,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164199,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:56:56] local.INFO: Processing buffer {"connection_id":164199,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:56:56] local.INFO: IMEI packet received {"connection_id":164199,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 23:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":164199,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:57:01] local.INFO: TCP Data received {"connection_id":164199,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164199,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:57:01] local.INFO: Processing buffer {"connection_id":164199,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:57:01] local.INFO: IMEI packet received {"connection_id":164199,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 23:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":164199,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:57:02] local.INFO: TCP Data received {"connection_id":164199,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0499e7ab0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0499e7ab0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:57:02] local.INFO: Processing buffer {"connection_id":164199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0499e7ab0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:57:02] local.INFO: Packet analysis {"connection_id":164199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0499e"} 
[2026-08-28 23:57:02] local.INFO: Extracted packet for processing {"connection_id":164199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0499e"} 
[2026-08-28 23:57:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712951552001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:57:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:57:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787941518000,"timestamp_ms":1787941518000,"timestamp_seconds":1787941518,"priority":1,"record_length":96,"hex_timestamp":"000001a0499e7ab0"} 
[2026-08-28 23:57:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:57:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 23:57:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:57:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:57:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:57:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":164199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":164199,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":164199,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:57:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712951552001,"66":25223,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712951552001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:57:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:57:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:57:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:57:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712951552001,"power":25223,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":164199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711422,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:57:02] local.INFO: GPS data processed {"connection_id":164199,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:57:02] local.INFO: Acknowledgment sent {"connection_id":164199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:57:14] local.INFO: TCP Data received {"connection_id":165176,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165176,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:57:14] local.INFO: Processing buffer {"connection_id":165176,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:57:14] local.INFO: IMEI packet received {"connection_id":165176,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 23:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":165176,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:57:19] local.INFO: TCP Data received {"connection_id":165176,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165176,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:57:19] local.INFO: Processing buffer {"connection_id":165176,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:57:19] local.INFO: IMEI packet received {"connection_id":165176,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 23:57:19] local.INFO: IMEI acknowledgment sent {"connection_id":165176,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:57:20] local.INFO: TCP Data received {"connection_id":165176,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0499de640012d196580071ff008003d013923..."} 
[2026-08-28 23:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0499de640012d196580071ff008003d013923..."} 
[2026-08-28 23:57:20] local.INFO: Processing buffer {"connection_id":165176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0499de640012d196580071ff008003d013923..."} 
[2026-08-28 23:57:20] local.INFO: Packet analysis {"connection_id":165176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0499d"} 
[2026-08-28 23:57:20] local.INFO: Extracted packet for processing {"connection_id":165176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0499d"} 
[2026-08-28 23:57:20] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:57:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712942080001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:57:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:57:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:57:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:57:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787941480000,"timestamp_ms":1787941480000,"timestamp_seconds":1787941480,"priority":1,"record_length":96,"hex_timestamp":"000001a0499de640"} 
[2026-08-28 23:57:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:57:20] 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-28 23:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-28 23:57:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:57:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:57:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:57:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:57:20] local.INFO: Teltonika packet parsed successfully {"connection_id":165176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:57:20] local.INFO: Passing IMEI to GPS processor {"connection_id":165176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:57:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":165176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:57:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:57:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:57:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:57:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712942080001,"66":2155,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:57:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:57:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:57:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712942080001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:57:20] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:57:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:57:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:57:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:57:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712942080001,"power":2155,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:57:20] local.INFO: DEBUG: GPS processor result {"connection_id":165176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711423,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:57:20] local.INFO: GPS data processed {"connection_id":165176,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:57:20] local.INFO: Acknowledgment sent {"connection_id":165176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:57:25] local.INFO: TCP Data received {"connection_id":166530,"ip":"117.224.209.167","data_length":795,"data_hex":"000000000000030f8e0a000001a0499babf0012d34bdc006aa4910000b00e629..."} 
[2026-08-28 23:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0499babf0012d34bdc006aa4910000b00e629..."} 
[2026-08-28 23:57:25] local.INFO: Processing buffer {"connection_id":166530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0499babf0012d34bdc006aa4910000b00e629..."} 
[2026-08-28 23:57:25] local.INFO: Packet analysis {"connection_id":166530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0499b"} 
[2026-08-28 23:57:25] local.INFO: Extracted packet for processing {"connection_id":166530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0499b"} 
[2026-08-28 23:57:25] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111823120,"longitude_deg":75.8431168,"latitude_deg":11.182312,"altitude":11,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 23:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:57:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712904448001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:57:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:57:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429818368,"note":"Value kept but may cause issues"} 
[2026-08-28 23:57:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:57:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787941334000,"timestamp_ms":1787941334000,"timestamp_seconds":1787941334,"priority":1,"record_length":96,"hex_timestamp":"000001a0499babf0"} 
[2026-08-28 23:57:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:57:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 23:57:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:57:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:57:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:57:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:57:25] local.INFO: Teltonika packet parsed successfully {"connection_id":166530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:57:25] local.INFO: Passing IMEI to GPS processor {"connection_id":166530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:57:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":166530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:57:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.209.167","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:57:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:57:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:57:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712904448001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3800404795429818368},"client_ip":"117.224.209.167","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:57:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:57:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:57:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712904448001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:57:25] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:57:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:57: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-28 23:57:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429818368,"description":"Unknown IO ID 45"} 
[2026-08-28 23:57:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712904448001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800404795429818368}} 
[2026-08-28 23:57:25] local.INFO: DEBUG: GPS processor result {"connection_id":166530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:57:25] local.INFO: GPS data processed {"connection_id":166530,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:57:25] local.INFO: Acknowledgment sent {"connection_id":166530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:57:33] local.INFO: TCP Data received {"connection_id":164199,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0499e7ab0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0499e7ab0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:57:33] local.INFO: Processing buffer {"connection_id":164199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0499e7ab0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:57:33] local.INFO: Packet analysis {"connection_id":164199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0499e"} 
[2026-08-28 23:57:33] local.INFO: Extracted packet for processing {"connection_id":164199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0499e"} 
[2026-08-28 23:57:33] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712951552001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:57:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787941518000,"timestamp_ms":1787941518000,"timestamp_seconds":1787941518,"priority":1,"record_length":96,"hex_timestamp":"000001a0499e7ab0"} 
[2026-08-28 23:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:57:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 23:57:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:57:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":164199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":164199,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":164199,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:57:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712951552001,"66":25223,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712951552001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:57:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:57:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712951552001,"power":25223,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":164199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711425,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:57:34] local.INFO: GPS data processed {"connection_id":164199,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:57:34] local.INFO: Acknowledgment sent {"connection_id":164199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:57:46] local.INFO: TCP Data received {"connection_id":165177,"ip":"117.224.209.167","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:57:46] local.INFO: Processing buffer {"connection_id":165177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:57:46] local.INFO: IMEI packet received {"connection_id":165177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 23:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":165177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:57:52] local.INFO: TCP Data received {"connection_id":165176,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0499de640012d196580071ff008003d013923..."} 
[2026-08-28 23:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0499de640012d196580071ff008003d013923..."} 
[2026-08-28 23:57:52] local.INFO: Processing buffer {"connection_id":165176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0499de640012d196580071ff008003d013923..."} 
[2026-08-28 23:57:52] local.INFO: Packet analysis {"connection_id":165176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0499d"} 
[2026-08-28 23:57:52] local.INFO: Extracted packet for processing {"connection_id":165176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0499d"} 
[2026-08-28 23:57:52] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:57:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712942080001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:57:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:57:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:57:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:57:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787941480000,"timestamp_ms":1787941480000,"timestamp_seconds":1787941480,"priority":1,"record_length":96,"hex_timestamp":"000001a0499de640"} 
[2026-08-28 23:57:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:57:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-28 23:57:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:57:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:57:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:57:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:57:52] local.INFO: Teltonika packet parsed successfully {"connection_id":165176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:57:52] local.INFO: Passing IMEI to GPS processor {"connection_id":165176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:57:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":165176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:57:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:57:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:57:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:57:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712942080001,"66":2155,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:57:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:57:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:57:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712942080001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:57:52] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:57:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:57:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:57:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:57:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712942080001,"power":2155,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:57:52] local.INFO: DEBUG: GPS processor result {"connection_id":165176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711426,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:57:52] local.INFO: GPS data processed {"connection_id":165176,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:57:52] local.INFO: Acknowledgment sent {"connection_id":165176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:57:52] local.INFO: TCP Data received {"connection_id":165177,"ip":"117.224.209.167","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:57:52] local.INFO: Processing buffer {"connection_id":165177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:57:52] local.INFO: IMEI packet received {"connection_id":165177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 23:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":165177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:57:53] local.INFO: TCP Data received {"connection_id":165177,"ip":"117.224.209.167","data_length":795,"data_hex":"000000000000030f8e0a000001a049a043b8012d34bdc006aa4910001300e627..."} 
[2026-08-28 23:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049a043b8012d34bdc006aa4910001300e627..."} 
[2026-08-28 23:57:53] local.INFO: Processing buffer {"connection_id":165177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049a043b8012d34bdc006aa4910001300e627..."} 
[2026-08-28 23:57:53] local.INFO: Packet analysis {"connection_id":165177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a049a0"} 
[2026-08-28 23:57:53] local.INFO: Extracted packet for processing {"connection_id":165177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a049a0"} 
[2026-08-28 23:57:53] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111823120,"longitude_deg":75.8431168,"latitude_deg":11.182312,"altitude":19,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 23: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-28 23:57:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712981504001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:57:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:57:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429818368,"note":"Value kept but may cause issues"} 
[2026-08-28 23:57:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:57:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787941635000,"timestamp_ms":1787941635000,"timestamp_seconds":1787941635,"priority":1,"record_length":96,"hex_timestamp":"000001a049a043b8"} 
[2026-08-28 23: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-28 23:57:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 23:57: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-28 23: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-28 23: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-28 23:57:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:57:53] local.INFO: Teltonika packet parsed successfully {"connection_id":165177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:57:53] local.INFO: Passing IMEI to GPS processor {"connection_id":165177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:57:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":165177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:57:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.209.167","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:57:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:57:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:57:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712981504001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3800404795429818368},"client_ip":"117.224.209.167","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:57:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:57:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:57:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712981504001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:57:53] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:57:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23: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-28 23:57:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429818368,"description":"Unknown IO ID 45"} 
[2026-08-28 23:57:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712981504001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800404795429818368}} 
[2026-08-28 23:57:53] local.INFO: DEBUG: GPS processor result {"connection_id":165177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:57:53] local.INFO: GPS data processed {"connection_id":165177,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:57:53] local.INFO: Acknowledgment sent {"connection_id":165177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:57:55] local.INFO: TCP Data received {"connection_id":165178,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165178,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:57:55] local.INFO: Processing buffer {"connection_id":165178,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:57:55] local.INFO: IMEI packet received {"connection_id":165178,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 23:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":165178,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:58:01] local.INFO: TCP Data received {"connection_id":165178,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165178,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:58:01] local.INFO: Processing buffer {"connection_id":165178,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:58:01] local.INFO: IMEI packet received {"connection_id":165178,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 23:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":165178,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:58:02] local.INFO: TCP Data received {"connection_id":165178,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0499e7ab0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0499e7ab0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:58:02] local.INFO: Processing buffer {"connection_id":165178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0499e7ab0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:58:02] local.INFO: Packet analysis {"connection_id":165178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0499e"} 
[2026-08-28 23:58:02] local.INFO: Extracted packet for processing {"connection_id":165178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0499e"} 
[2026-08-28 23:58:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712951552001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:58:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:58:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787941518000,"timestamp_ms":1787941518000,"timestamp_seconds":1787941518,"priority":1,"record_length":96,"hex_timestamp":"000001a0499e7ab0"} 
[2026-08-28 23:58:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:58:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 23:58:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:58:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:58:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":165178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":165178,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":165178,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:58:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712951552001,"66":25223,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712951552001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:58:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:58:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:58:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712951552001,"power":25223,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:58:02] local.INFO: DEBUG: GPS processor result {"connection_id":165178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711428,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:58:02] local.INFO: GPS data processed {"connection_id":165178,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:58:02] local.INFO: Acknowledgment sent {"connection_id":165178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:58:14] local.INFO: TCP Data received {"connection_id":166531,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166531,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:58:14] local.INFO: Processing buffer {"connection_id":166531,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:58:14] local.INFO: IMEI packet received {"connection_id":166531,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 23:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":166531,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:58:19] local.INFO: TCP Data received {"connection_id":166531,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166531,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:58:19] local.INFO: Processing buffer {"connection_id":166531,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:58:19] local.INFO: IMEI packet received {"connection_id":166531,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 23:58:19] local.INFO: IMEI acknowledgment sent {"connection_id":166531,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:58:21] local.INFO: TCP Data received {"connection_id":166531,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0499de640012d196580071ff008003d013923..."} 
[2026-08-28 23:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0499de640012d196580071ff008003d013923..."} 
[2026-08-28 23:58:21] local.INFO: Processing buffer {"connection_id":166531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0499de640012d196580071ff008003d013923..."} 
[2026-08-28 23:58:21] local.INFO: Packet analysis {"connection_id":166531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0499d"} 
[2026-08-28 23:58:21] local.INFO: Extracted packet for processing {"connection_id":166531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0499d"} 
[2026-08-28 23:58:21] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:58:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712942080001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:58:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:58:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:58:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:58:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787941480000,"timestamp_ms":1787941480000,"timestamp_seconds":1787941480,"priority":1,"record_length":96,"hex_timestamp":"000001a0499de640"} 
[2026-08-28 23:58:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:58:21] 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-28 23:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-28 23:58:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:58:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:58:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:58:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:58:21] local.INFO: Teltonika packet parsed successfully {"connection_id":166531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:58:21] local.INFO: Passing IMEI to GPS processor {"connection_id":166531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:58:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":166531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:58:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:58:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:58:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:58:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712942080001,"66":2155,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:58:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:58:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:58:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712942080001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:58:21] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:58:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:58:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:58:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:58:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712942080001,"power":2155,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:58:21] local.INFO: DEBUG: GPS processor result {"connection_id":166531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711429,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:58:21] local.INFO: GPS data processed {"connection_id":166531,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:58:21] local.INFO: Acknowledgment sent {"connection_id":166531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:58:26] local.INFO: TCP Data received {"connection_id":165177,"ip":"117.224.209.167","data_length":795,"data_hex":"000000000000030f8e0a000001a049a043b8012d34bdc006aa4910001300e627..."} 
[2026-08-28 23:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049a043b8012d34bdc006aa4910001300e627..."} 
[2026-08-28 23:58:26] local.INFO: Processing buffer {"connection_id":165177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049a043b8012d34bdc006aa4910001300e627..."} 
[2026-08-28 23:58:26] local.INFO: Packet analysis {"connection_id":165177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a049a0"} 
[2026-08-28 23:58:26] local.INFO: Extracted packet for processing {"connection_id":165177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a049a0"} 
[2026-08-28 23:58:26] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111823120,"longitude_deg":75.8431168,"latitude_deg":11.182312,"altitude":19,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 23:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:58:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712981504001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:58:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:58:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429818368,"note":"Value kept but may cause issues"} 
[2026-08-28 23:58:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:58:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787941635000,"timestamp_ms":1787941635000,"timestamp_seconds":1787941635,"priority":1,"record_length":96,"hex_timestamp":"000001a049a043b8"} 
[2026-08-28 23:58:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:58:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 23:58:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:58:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:58:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:58:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:58:26] local.INFO: Teltonika packet parsed successfully {"connection_id":165177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:58:26] local.INFO: Passing IMEI to GPS processor {"connection_id":165177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:58:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":165177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:58:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.209.167","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:58:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:58:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:58:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712981504001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3800404795429818368},"client_ip":"117.224.209.167","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:58:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:58:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:58:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712981504001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:58:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:58:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:58:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":391081146240204800,"km_value":391081146240204.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:58:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429818368,"description":"Unknown IO ID 45"} 
[2026-08-28 23:58:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712981504001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800404795429818368}} 
[2026-08-28 23:58:26] local.INFO: DEBUG: GPS processor result {"connection_id":165177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:58:26] local.INFO: GPS data processed {"connection_id":165177,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:58:26] local.INFO: Acknowledgment sent {"connection_id":165177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:58:34] local.INFO: TCP Data received {"connection_id":165178,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0499e7ab0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0499e7ab0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:58:34] local.INFO: Processing buffer {"connection_id":165178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0499e7ab0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:58:34] local.INFO: Packet analysis {"connection_id":165178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0499e"} 
[2026-08-28 23:58:34] local.INFO: Extracted packet for processing {"connection_id":165178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0499e"} 
[2026-08-28 23:58:34] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712951552001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:58:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:58:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787941518000,"timestamp_ms":1787941518000,"timestamp_seconds":1787941518,"priority":1,"record_length":96,"hex_timestamp":"000001a0499e7ab0"} 
[2026-08-28 23:58:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:58:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 23:58:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:58:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:58:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":165178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":165178,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":165178,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:58:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712951552001,"66":25223,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712951552001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:58:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:58:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:58:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712951552001,"power":25223,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":165178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711431,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:58:34] local.INFO: GPS data processed {"connection_id":165178,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:58:34] local.INFO: Acknowledgment sent {"connection_id":165178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:58:47] local.INFO: TCP Data received {"connection_id":165179,"ip":"117.224.209.167","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:58:47] local.INFO: Processing buffer {"connection_id":165179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:58:47] local.INFO: IMEI packet received {"connection_id":165179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 23:58:47] local.INFO: IMEI acknowledgment sent {"connection_id":165179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:58:52] local.INFO: TCP Data received {"connection_id":165179,"ip":"117.224.209.167","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:58:52] local.INFO: Processing buffer {"connection_id":165179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:58:52] local.INFO: IMEI packet received {"connection_id":165179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 23:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":165179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:58:53] local.INFO: TCP Data received {"connection_id":165179,"ip":"117.224.209.167","data_length":795,"data_hex":"000000000000030f8e0a000001a049a043b8012d34bdc006aa4910001300e627..."} 
[2026-08-28 23:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049a043b8012d34bdc006aa4910001300e627..."} 
[2026-08-28 23:58:53] local.INFO: Processing buffer {"connection_id":165179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049a043b8012d34bdc006aa4910001300e627..."} 
[2026-08-28 23:58:53] local.INFO: Packet analysis {"connection_id":165179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a049a0"} 
[2026-08-28 23:58:53] local.INFO: Extracted packet for processing {"connection_id":165179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a049a0"} 
[2026-08-28 23:58:53] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111823120,"longitude_deg":75.8431168,"latitude_deg":11.182312,"altitude":19,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 23: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-28 23:58:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712981504001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:58:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:58:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429818368,"note":"Value kept but may cause issues"} 
[2026-08-28 23:58:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:58:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787941635000,"timestamp_ms":1787941635000,"timestamp_seconds":1787941635,"priority":1,"record_length":96,"hex_timestamp":"000001a049a043b8"} 
[2026-08-28 23: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-28 23:58:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 23:58: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-28 23: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-28 23: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-28 23:58:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:58:53] local.INFO: Teltonika packet parsed successfully {"connection_id":165179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:58:53] local.INFO: Passing IMEI to GPS processor {"connection_id":165179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:58:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":165179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:58:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.209.167","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:58:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:58:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:58:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712981504001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3800404795429818368},"client_ip":"117.224.209.167","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:58:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:58:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:58:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712981504001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:58:53] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:58:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23: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-28 23:58:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429818368,"description":"Unknown IO ID 45"} 
[2026-08-28 23:58:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712981504001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800404795429818368}} 
[2026-08-28 23:58:53] local.INFO: DEBUG: GPS processor result {"connection_id":165179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:58:53] local.INFO: GPS data processed {"connection_id":165179,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:58:53] local.INFO: Acknowledgment sent {"connection_id":165179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:58:55] local.INFO: TCP Data received {"connection_id":164200,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164200,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:58:55] local.INFO: Processing buffer {"connection_id":164200,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:58:55] local.INFO: IMEI packet received {"connection_id":164200,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 23:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":164200,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:58:56] local.INFO: TCP Data received {"connection_id":166531,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0499de640012d196580071ff008003d013923..."} 
[2026-08-28 23:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0499de640012d196580071ff008003d013923..."} 
[2026-08-28 23:58:56] local.INFO: Processing buffer {"connection_id":166531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0499de640012d196580071ff008003d013923..."} 
[2026-08-28 23:58:56] local.INFO: Packet analysis {"connection_id":166531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0499d"} 
[2026-08-28 23:58:56] local.INFO: Extracted packet for processing {"connection_id":166531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0499d"} 
[2026-08-28 23:58:56] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23: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-28 23:58:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712942080001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:58:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:58:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:58:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:58:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787941480000,"timestamp_ms":1787941480000,"timestamp_seconds":1787941480,"priority":1,"record_length":96,"hex_timestamp":"000001a0499de640"} 
[2026-08-28 23: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-28 23:58: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-28 23:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-28 23:58:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23: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-28 23: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-28 23:58:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:58:56] local.INFO: Teltonika packet parsed successfully {"connection_id":166531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:58:56] local.INFO: Passing IMEI to GPS processor {"connection_id":166531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:58:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":166531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:58:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:58:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:58:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:58:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712942080001,"66":2155,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:58:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:58:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:58:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712942080001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:58:56] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:58:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:58:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:58:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:58:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712942080001,"power":2155,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:58:56] local.INFO: DEBUG: GPS processor result {"connection_id":166531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711433,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:58:56] local.INFO: GPS data processed {"connection_id":166531,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:58:56] local.INFO: Acknowledgment sent {"connection_id":166531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:59:01] local.INFO: TCP Data received {"connection_id":164200,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164200,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:59:01] local.INFO: Processing buffer {"connection_id":164200,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:59:01] local.INFO: IMEI packet received {"connection_id":164200,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-08-28 23:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":164200,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:59:02] local.INFO: TCP Data received {"connection_id":164200,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0499e7ab0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0499e7ab0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:59:02] local.INFO: Processing buffer {"connection_id":164200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0499e7ab0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:59:02] local.INFO: Packet analysis {"connection_id":164200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0499e"} 
[2026-08-28 23:59:02] local.INFO: Extracted packet for processing {"connection_id":164200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0499e"} 
[2026-08-28 23:59:02] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712951552001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:59:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:59:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:59:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:59:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787941518000,"timestamp_ms":1787941518000,"timestamp_seconds":1787941518,"priority":1,"record_length":96,"hex_timestamp":"000001a0499e7ab0"} 
[2026-08-28 23:59:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:59:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 23:59:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:59:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:59:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:59:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:59:02] local.INFO: Teltonika packet parsed successfully {"connection_id":164200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:59:02] local.INFO: Passing IMEI to GPS processor {"connection_id":164200,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:59:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":164200,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:59:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:59:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:59:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:59:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712951552001,"66":25223,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:59:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:59:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:59:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712951552001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:59:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:59:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:59:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:59:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:59:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712951552001,"power":25223,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:59:02] local.INFO: DEBUG: GPS processor result {"connection_id":164200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711434,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:59:02] local.INFO: GPS data processed {"connection_id":164200,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:59:02] local.INFO: Acknowledgment sent {"connection_id":164200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:59:13] local.INFO: TCP Data received {"connection_id":165180,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165180,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:59:13] local.INFO: Processing buffer {"connection_id":165180,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:59:13] local.INFO: IMEI packet received {"connection_id":165180,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-28 23:59:13] local.INFO: IMEI acknowledgment sent {"connection_id":165180,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:59:19] local.INFO: TCP Data received {"connection_id":165180,"ip":"117.224.27.64","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165180,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:59:19] local.INFO: Processing buffer {"connection_id":165180,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-28 23:59:19] local.INFO: IMEI packet received {"connection_id":165180,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-28 23:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":165180,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:59:24] local.INFO: TCP Data received {"connection_id":165179,"ip":"117.224.209.167","data_length":795,"data_hex":"000000000000030f8e0a000001a049a043b8012d34bdc006aa4910001300e627..."} 
[2026-08-28 23:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049a043b8012d34bdc006aa4910001300e627..."} 
[2026-08-28 23:59:24] local.INFO: Processing buffer {"connection_id":165179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049a043b8012d34bdc006aa4910001300e627..."} 
[2026-08-28 23:59:24] local.INFO: Packet analysis {"connection_id":165179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a049a0"} 
[2026-08-28 23:59:24] local.INFO: Extracted packet for processing {"connection_id":165179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a049a0"} 
[2026-08-28 23:59:24] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111823120,"longitude_deg":75.8431168,"latitude_deg":11.182312,"altitude":19,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 23:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712981504001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:59:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429818368,"note":"Value kept but may cause issues"} 
[2026-08-28 23:59:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787941635000,"timestamp_ms":1787941635000,"timestamp_seconds":1787941635,"priority":1,"record_length":96,"hex_timestamp":"000001a049a043b8"} 
[2026-08-28 23:59:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:59:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 23:59:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:59:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:59:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":165179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":165179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":165179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:59:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.209.167","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712981504001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3800404795429818368},"client_ip":"117.224.209.167","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712981504001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:59:24] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:59:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:59: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-28 23:59:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429818368,"description":"Unknown IO ID 45"} 
[2026-08-28 23:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712981504001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800404795429818368}} 
[2026-08-28 23:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":165179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:59:24] local.INFO: GPS data processed {"connection_id":165179,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:59:24] local.INFO: Acknowledgment sent {"connection_id":165179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:59:27] local.INFO: TCP Data received {"connection_id":165180,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0499de640012d196580071ff008003d013923..."} 
[2026-08-28 23:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0499de640012d196580071ff008003d013923..."} 
[2026-08-28 23:59:27] local.INFO: Processing buffer {"connection_id":165180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0499de640012d196580071ff008003d013923..."} 
[2026-08-28 23:59:27] local.INFO: Packet analysis {"connection_id":165180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0499d"} 
[2026-08-28 23:59:27] local.INFO: Extracted packet for processing {"connection_id":165180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0499d"} 
[2026-08-28 23:59:27] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712942080001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:59:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:59:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:59:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787941480000,"timestamp_ms":1787941480000,"timestamp_seconds":1787941480,"priority":1,"record_length":96,"hex_timestamp":"000001a0499de640"} 
[2026-08-28 23:59:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:59:27] 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-28 23:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-28 23:59:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:59:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:59:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:59:27] local.INFO: Teltonika packet parsed successfully {"connection_id":165180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:59:27] local.INFO: Passing IMEI to GPS processor {"connection_id":165180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:59:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":165180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:59:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:59:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:59:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:59:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712942080001,"66":2155,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:59:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:59:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:59:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712942080001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:59:27] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:59:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:59:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:59:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:59:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712942080001,"power":2155,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:59:27] local.INFO: DEBUG: GPS processor result {"connection_id":165180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711436,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:59:27] local.INFO: GPS data processed {"connection_id":165180,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:59:27] local.INFO: Acknowledgment sent {"connection_id":165180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:59:33] local.INFO: TCP Data received {"connection_id":164200,"ip":"117.224.227.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0499e7ab0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":164200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0499e7ab0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:59:33] local.INFO: Processing buffer {"connection_id":164200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0499e7ab0012d34bcc006aa41e0000d000026..."} 
[2026-08-28 23:59:33] local.INFO: Packet analysis {"connection_id":164200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0499e"} 
[2026-08-28 23:59:33] local.INFO: Extracted packet for processing {"connection_id":164200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0499e"} 
[2026-08-28 23:59:33] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111821280,"longitude_deg":75.8430912,"latitude_deg":11.182128,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa41e0","is_valid_coordinates":true} 
[2026-08-28 23:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712951552001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":144336670949376,"note":"Value kept but may cause issues"} 
[2026-08-28 23:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320452636672,"note":"Value kept but may cause issues"} 
[2026-08-28 23:59:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787941518000,"timestamp_ms":1787941518000,"timestamp_seconds":1787941518,"priority":1,"record_length":96,"hex_timestamp":"000001a0499e7ab0"} 
[2026-08-28 23:59:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:59:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-28 23:59:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:59:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:59:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":164200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":164200,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":164200,"device_imei":"862567071632322","avl_records_count":1} 
[2026-08-28 23:59:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.227.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-08-28 23:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-08-28 23:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712951552001,"66":25223,"105":206,"28":21760,"24":0,"16":144336670949376,"45":3800123320452636672},"client_ip":"117.224.227.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-08-28 23:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-08-28 23:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-08-28 23:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712951552001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:59:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-28 23:59:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23:59:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":144336670949376,"km_value":144336670949.376,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320452636672,"description":"Unknown IO ID 45"} 
[2026-08-28 23:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712951552001,"power":25223,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320452636672}} 
[2026-08-28 23:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":164200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711437,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:59:34] local.INFO: GPS data processed {"connection_id":164200,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:59:34] local.INFO: Acknowledgment sent {"connection_id":164200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:59:47] local.INFO: TCP Data received {"connection_id":165181,"ip":"117.224.209.167","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:59:47] local.INFO: Processing buffer {"connection_id":165181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:59:47] local.INFO: IMEI packet received {"connection_id":165181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-28 23:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":165181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:59:52] local.INFO: TCP Data received {"connection_id":165181,"ip":"117.224.209.167","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:59:52] local.INFO: Processing buffer {"connection_id":165181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-28 23:59:52] local.INFO: IMEI packet received {"connection_id":165181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-28 23:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":165181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-28 23:59:53] local.INFO: TCP Data received {"connection_id":165181,"ip":"117.224.209.167","data_length":795,"data_hex":"000000000000030f8e0a000001a049a043b8012d34bdc006aa4910001300e627..."} 
[2026-08-28 23:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a049a043b8012d34bdc006aa4910001300e627..."} 
[2026-08-28 23:59:53] local.INFO: Processing buffer {"connection_id":165181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a049a043b8012d34bdc006aa4910001300e627..."} 
[2026-08-28 23:59:53] local.INFO: Packet analysis {"connection_id":165181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a049a0"} 
[2026-08-28 23:59:53] local.INFO: Extracted packet for processing {"connection_id":165181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a049a0"} 
[2026-08-28 23:59:53] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111823120,"longitude_deg":75.8431168,"latitude_deg":11.182312,"altitude":19,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa4910","is_valid_coordinates":true} 
[2026-08-28 23: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-28 23:59:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712981504001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:59:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":391081146240204800,"note":"Value kept but may cause issues"} 
[2026-08-28 23:59:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429818368,"note":"Value kept but may cause issues"} 
[2026-08-28 23:59:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:59:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787941635000,"timestamp_ms":1787941635000,"timestamp_seconds":1787941635,"priority":1,"record_length":96,"hex_timestamp":"000001a049a043b8"} 
[2026-08-28 23: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-28 23:59:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-28 23: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-28 23:59: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-28 23: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-28 23: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-28 23:59:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:59:53] local.INFO: Teltonika packet parsed successfully {"connection_id":165181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:59:53] local.INFO: Passing IMEI to GPS processor {"connection_id":165181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:59:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":165181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-28 23:59:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.209.167","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:59:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-28 23:59:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-28 23:59:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712981504001,"66":25321,"106":206,"28":21760,"24":0,"16":391081146240204800,"45":3800404795429818368},"client_ip":"117.224.209.167","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-08-28 23:59:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-28 23:59:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-28 23:59:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712981504001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:59:53] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-28 23:59:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-08-28 23: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-28 23:59:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429818368,"description":"Unknown IO ID 45"} 
[2026-08-28 23:59:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712981504001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800404795429818368}} 
[2026-08-28 23:59:53] local.INFO: DEBUG: GPS processor result {"connection_id":165181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:59:53] local.INFO: GPS data processed {"connection_id":165181,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:59:53] local.INFO: Acknowledgment sent {"connection_id":165181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-28 23:59:55] local.INFO: TCP Data received {"connection_id":166532,"ip":"117.224.227.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":166532,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:59:55] local.INFO: Processing buffer {"connection_id":166532,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-08-28 23:59:55] local.INFO: IMEI packet received {"connection_id":166532,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-08-28 23:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":166532,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-28 23:59:59] local.INFO: TCP Data received {"connection_id":165180,"ip":"117.224.27.64","data_length":795,"data_hex":"000000000000030f8e0a000001a0499de640012d196580071ff008003d013923..."} 
[2026-08-28 23:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":165180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0499de640012d196580071ff008003d013923..."} 
[2026-08-28 23:59:59] local.INFO: Processing buffer {"connection_id":165180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0499de640012d196580071ff008003d013923..."} 
[2026-08-28 23:59:59] local.INFO: Packet analysis {"connection_id":165180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0499d"} 
[2026-08-28 23:59:59] local.INFO: Extracted packet for processing {"connection_id":165180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0499d"} 
[2026-08-28 23:59:59] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533576,"longitude_deg":75.6639104,"latitude_deg":11.9533576,"altitude":61,"angle":313,"satellites":35,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-08-28 23:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-28 23:59:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457712942080001,"note":"Value kept but may cause issues"} 
[2026-08-28 23:59:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":16252761838452736,"note":"Value kept but may cause issues"} 
[2026-08-28 23:59:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684925440,"note":"Value kept but may cause issues"} 
[2026-08-28 23:59:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-28 23:59:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787941480000,"timestamp_ms":1787941480000,"timestamp_seconds":1787941480,"priority":1,"record_length":96,"hex_timestamp":"000001a0499de640"} 
[2026-08-28 23:59:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-28 23:59:59] 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-28 23:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-28 23:59:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-28 23:59:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-28 23:59:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-28 23:59:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-28 23:59:59] local.INFO: Teltonika packet parsed successfully {"connection_id":165180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-28 23:59:59] local.INFO: Passing IMEI to GPS processor {"connection_id":165180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:59:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":165180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-28 23:59:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.27.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-28 23:59:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-28 23:59:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-28 23:59:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457712942080001,"66":2155,"70":206,"28":31744,"24":0,"16":16252761838452736,"45":1830009591684925440},"client_ip":"117.224.27.64","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-08-28 23:59:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-28 23:59:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-28 23:59:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457712942080001,"description":"Unknown IO ID 0"} 
[2026-08-28 23:59:59] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-28 23:59:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-08-28 23:59:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":16252761838452736,"km_value":16252761838452.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-28 23:59:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684925440,"description":"Unknown IO ID 45"} 
[2026-08-28 23:59:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457712942080001,"power":2155,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684925440}} 
[2026-08-28 23:59:59] local.INFO: DEBUG: GPS processor result {"connection_id":165180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":711439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-28 23:59:59] local.INFO: GPS data processed {"connection_id":165180,"processed":1,"errors":0,"total":1} 
[2026-08-28 23:59:59] local.INFO: Acknowledgment sent {"connection_id":165180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
